From 4b0ca55eb79e963523eb6c8197825e9e8ae904e2 Mon Sep 17 00:00:00 2001
From: Wu Cheng-Han
Date: Mon, 4 May 2015 15:53:29 +0800
Subject: First commit, version 0.2.7
---
Procfile | 1 +
README.md | 9 +
app.js | 253 +
config.js | 50 +
lib/auth.js | 49 +
lib/db.js | 146 +
lib/note.js | 60 +
lib/realtime.js | 392 +
lib/response.js | 211 +
lib/user.js | 83 +
package.json | 45 +
public/GFM.md | 45 +
public/apple-touch-icon.png | Bin 0 -> 50171 bytes
public/css/bootstrap-social.css | 101 +
public/css/center.css | 13 +
public/css/cover.css | 278 +
public/css/extra.css | 47 +
public/css/gist.css | 647 +
public/css/github-cdn.css | 3 +
public/css/github-code-cdn.css | 1 +
public/css/github-code-unminify.css | 12935 +++++++++++++++++
public/css/github-emoji-unminify.css | 13772 +++++++++++++++++++
public/css/github-emoji.css | 3 +
public/css/github-extract.css | 345 +
public/css/github-markdown.css | 625 +
public/css/github-unminify.css | 10670 ++++++++++++++
public/css/github.css | 277 +
public/css/index.css | 108 +
public/css/markdown.css | 89 +
public/css/site.css | 15 +
public/default.md | 3 +
public/favicon.png | Bin 0 -> 1163 bytes
public/features.md | 332 +
public/index.html | 194 +
public/js/cover.js | 311 +
public/js/extra.js | 278 +
public/js/ga.js | 14 +
public/js/history.js | 256 +
public/js/index.js | 940 ++
public/js/unused.js | 45 +
public/vendor/FileSaver.min.js | 2 +
public/vendor/bootstrap/css/bootstrap-theme.css | 476 +
.../vendor/bootstrap/css/bootstrap-theme.css.map | 1 +
.../vendor/bootstrap/css/bootstrap-theme.min.css | 5 +
public/vendor/bootstrap/css/bootstrap.css | 6566 +++++++++
public/vendor/bootstrap/css/bootstrap.css.map | 1 +
public/vendor/bootstrap/css/bootstrap.min.css | 5 +
.../fonts/glyphicons-halflings-regular.eot | Bin 0 -> 20127 bytes
.../fonts/glyphicons-halflings-regular.svg | 288 +
.../fonts/glyphicons-halflings-regular.ttf | Bin 0 -> 45404 bytes
.../fonts/glyphicons-halflings-regular.woff | Bin 0 -> 23424 bytes
.../fonts/glyphicons-halflings-regular.woff2 | Bin 0 -> 18028 bytes
public/vendor/bootstrap/js/bootstrap.js | 2306 ++++
public/vendor/bootstrap/js/bootstrap.min.js | 7 +
public/vendor/bootstrap/js/npm.js | 13 +
public/vendor/codemirror/addon/comment/comment.js | 183 +
.../codemirror/addon/comment/continuecomment.js | 85 +
public/vendor/codemirror/addon/dialog/dialog.css | 32 +
public/vendor/codemirror/addon/dialog/dialog.js | 157 +
.../vendor/codemirror/addon/display/fullscreen.css | 6 +
.../vendor/codemirror/addon/display/fullscreen.js | 41 +
public/vendor/codemirror/addon/display/panel.js | 112 +
.../vendor/codemirror/addon/display/placeholder.js | 58 +
public/vendor/codemirror/addon/display/rulers.js | 64 +
.../vendor/codemirror/addon/edit/closebrackets.js | 184 +
public/vendor/codemirror/addon/edit/closetag.js | 166 +
.../vendor/codemirror/addon/edit/continuelist.js | 52 +
.../vendor/codemirror/addon/edit/matchbrackets.js | 120 +
public/vendor/codemirror/addon/edit/matchtags.js | 66 +
.../vendor/codemirror/addon/edit/trailingspace.js | 27 +
public/vendor/codemirror/addon/fold/brace-fold.js | 105 +
.../vendor/codemirror/addon/fold/comment-fold.js | 57 +
public/vendor/codemirror/addon/fold/foldcode.js | 149 +
public/vendor/codemirror/addon/fold/foldgutter.css | 20 +
public/vendor/codemirror/addon/fold/foldgutter.js | 146 +
public/vendor/codemirror/addon/fold/indent-fold.js | 44 +
.../vendor/codemirror/addon/fold/markdown-fold.js | 49 +
public/vendor/codemirror/addon/fold/xml-fold.js | 182 +
.../vendor/codemirror/addon/hint/anyword-hint.js | 41 +
public/vendor/codemirror/addon/hint/css-hint.js | 60 +
public/vendor/codemirror/addon/hint/html-hint.js | 348 +
.../codemirror/addon/hint/javascript-hint.js | 146 +
public/vendor/codemirror/addon/hint/show-hint.css | 38 +
public/vendor/codemirror/addon/hint/show-hint.js | 392 +
public/vendor/codemirror/addon/hint/sql-hint.js | 245 +
public/vendor/codemirror/addon/hint/xml-hint.js | 110 +
.../codemirror/addon/lint/coffeescript-lint.js | 41 +
public/vendor/codemirror/addon/lint/css-lint.js | 35 +
.../codemirror/addon/lint/javascript-lint.js | 136 +
public/vendor/codemirror/addon/lint/json-lint.js | 31 +
public/vendor/codemirror/addon/lint/lint.css | 73 +
public/vendor/codemirror/addon/lint/lint.js | 207 +
public/vendor/codemirror/addon/lint/yaml-lint.js | 28 +
public/vendor/codemirror/addon/merge/merge.css | 112 +
public/vendor/codemirror/addon/merge/merge.js | 775 ++
public/vendor/codemirror/addon/mode/loadmode.js | 64 +
public/vendor/codemirror/addon/mode/multiplex.js | 123 +
.../vendor/codemirror/addon/mode/multiplex_test.js | 33 +
public/vendor/codemirror/addon/mode/overlay.js | 85 +
public/vendor/codemirror/addon/mode/simple.js | 213 +
public/vendor/codemirror/addon/runmode/colorize.js | 40 +
.../codemirror/addon/runmode/runmode-standalone.js | 157 +
public/vendor/codemirror/addon/runmode/runmode.js | 72 +
.../codemirror/addon/runmode/runmode.node.js | 120 +
.../codemirror/addon/scroll/annotatescrollbar.js | 115 +
.../codemirror/addon/scroll/scrollpastend.js | 46 +
.../codemirror/addon/scroll/simplescrollbars.css | 66 +
.../codemirror/addon/scroll/simplescrollbars.js | 147 +
.../codemirror/addon/search/match-highlighter.js | 128 +
.../codemirror/addon/search/matchesonscrollbar.css | 8 +
.../codemirror/addon/search/matchesonscrollbar.js | 97 +
public/vendor/codemirror/addon/search/search.js | 167 +
.../vendor/codemirror/addon/search/searchcursor.js | 189 +
.../codemirror/addon/selection/active-line.js | 71 +
.../codemirror/addon/selection/mark-selection.js | 118 +
.../addon/selection/selection-pointer.js | 98 +
public/vendor/codemirror/addon/tern/tern.css | 86 +
public/vendor/codemirror/addon/tern/tern.js | 697 +
public/vendor/codemirror/addon/tern/worker.js | 44 +
public/vendor/codemirror/addon/wrap/hardwrap.js | 139 +
public/vendor/codemirror/codemirror.min.js | 12 +
public/vendor/codemirror/compress.sh | 22 +
public/vendor/codemirror/keymap/emacs.js | 412 +
public/vendor/codemirror/keymap/sublime.js | 553 +
public/vendor/codemirror/keymap/vim.js | 5042 +++++++
public/vendor/codemirror/lib/codemirror.css | 325 +
public/vendor/codemirror/lib/codemirror.js | 8745 ++++++++++++
public/vendor/codemirror/mode/apl/apl.js | 175 +
public/vendor/codemirror/mode/apl/index.html | 72 +
.../codemirror/mode/asciiarmor/asciiarmor.js | 73 +
.../vendor/codemirror/mode/asciiarmor/index.html | 46 +
public/vendor/codemirror/mode/asterisk/asterisk.js | 198 +
public/vendor/codemirror/mode/asterisk/index.html | 154 +
public/vendor/codemirror/mode/clike/clike.js | 494 +
public/vendor/codemirror/mode/clike/index.html | 251 +
public/vendor/codemirror/mode/clike/scala.html | 767 ++
public/vendor/codemirror/mode/clojure/clojure.js | 244 +
public/vendor/codemirror/mode/clojure/index.html | 88 +
public/vendor/codemirror/mode/cmake/cmake.js | 97 +
public/vendor/codemirror/mode/cmake/index.html | 129 +
public/vendor/codemirror/mode/cobol/cobol.js | 255 +
public/vendor/codemirror/mode/cobol/index.html | 210 +
.../codemirror/mode/coffeescript/coffeescript.js | 369 +
.../vendor/codemirror/mode/coffeescript/index.html | 740 +
.../codemirror/mode/commonlisp/commonlisp.js | 123 +
.../vendor/codemirror/mode/commonlisp/index.html | 177 +
public/vendor/codemirror/mode/css/css.js | 769 ++
public/vendor/codemirror/mode/css/index.html | 75 +
public/vendor/codemirror/mode/css/less.html | 152 +
public/vendor/codemirror/mode/css/less_test.js | 54 +
public/vendor/codemirror/mode/css/scss.html | 157 +
public/vendor/codemirror/mode/css/scss_test.js | 110 +
public/vendor/codemirror/mode/css/test.js | 195 +
public/vendor/codemirror/mode/cypher/cypher.js | 146 +
public/vendor/codemirror/mode/cypher/index.html | 63 +
public/vendor/codemirror/mode/d/d.js | 218 +
public/vendor/codemirror/mode/d/index.html | 273 +
public/vendor/codemirror/mode/dart/dart.js | 50 +
public/vendor/codemirror/mode/dart/index.html | 71 +
public/vendor/codemirror/mode/diff/diff.js | 47 +
public/vendor/codemirror/mode/diff/index.html | 117 +
public/vendor/codemirror/mode/django/django.js | 350 +
public/vendor/codemirror/mode/django/index.html | 73 +
.../codemirror/mode/dockerfile/dockerfile.js | 76 +
.../vendor/codemirror/mode/dockerfile/index.html | 73 +
public/vendor/codemirror/mode/dtd/dtd.js | 142 +
public/vendor/codemirror/mode/dtd/index.html | 89 +
public/vendor/codemirror/mode/dylan/dylan.js | 299 +
public/vendor/codemirror/mode/dylan/index.html | 407 +
public/vendor/codemirror/mode/ebnf/ebnf.js | 195 +
public/vendor/codemirror/mode/ebnf/index.html | 102 +
public/vendor/codemirror/mode/ecl/ecl.js | 207 +
public/vendor/codemirror/mode/ecl/index.html | 52 +
public/vendor/codemirror/mode/eiffel/eiffel.js | 162 +
public/vendor/codemirror/mode/eiffel/index.html | 429 +
public/vendor/codemirror/mode/erlang/erlang.js | 622 +
public/vendor/codemirror/mode/erlang/index.html | 76 +
public/vendor/codemirror/mode/forth/forth.js | 180 +
public/vendor/codemirror/mode/forth/index.html | 75 +
public/vendor/codemirror/mode/fortran/fortran.js | 188 +
public/vendor/codemirror/mode/fortran/index.html | 81 +
public/vendor/codemirror/mode/gas/gas.js | 345 +
public/vendor/codemirror/mode/gas/index.html | 68 +
public/vendor/codemirror/mode/gfm/gfm.js | 123 +
public/vendor/codemirror/mode/gfm/index.html | 93 +
public/vendor/codemirror/mode/gfm/test.js | 213 +
public/vendor/codemirror/mode/gherkin/gherkin.js | 178 +
public/vendor/codemirror/mode/gherkin/index.html | 48 +
public/vendor/codemirror/mode/go/go.js | 185 +
public/vendor/codemirror/mode/go/index.html | 85 +
public/vendor/codemirror/mode/groovy/groovy.js | 227 +
public/vendor/codemirror/mode/groovy/index.html | 84 +
public/vendor/codemirror/mode/haml/haml.js | 159 +
public/vendor/codemirror/mode/haml/index.html | 79 +
public/vendor/codemirror/mode/haml/test.js | 97 +
.../codemirror/mode/handlebars/handlebars.js | 53 +
.../vendor/codemirror/mode/handlebars/index.html | 83 +
public/vendor/codemirror/mode/haskell/haskell.js | 267 +
public/vendor/codemirror/mode/haskell/index.html | 73 +
public/vendor/codemirror/mode/haxe/haxe.js | 518 +
public/vendor/codemirror/mode/haxe/index.html | 124 +
.../codemirror/mode/htmlembedded/htmlembedded.js | 28 +
.../vendor/codemirror/mode/htmlembedded/index.html | 59 +
.../vendor/codemirror/mode/htmlmixed/htmlmixed.js | 121 +
public/vendor/codemirror/mode/htmlmixed/index.html | 89 +
public/vendor/codemirror/mode/http/http.js | 113 +
public/vendor/codemirror/mode/http/index.html | 45 +
public/vendor/codemirror/mode/idl/idl.js | 290 +
public/vendor/codemirror/mode/idl/index.html | 64 +
public/vendor/codemirror/mode/index.html | 137 +
public/vendor/codemirror/mode/jade/index.html | 70 +
public/vendor/codemirror/mode/jade/jade.js | 590 +
.../vendor/codemirror/mode/javascript/index.html | 114 +
.../codemirror/mode/javascript/javascript.js | 701 +
.../vendor/codemirror/mode/javascript/json-ld.html | 72 +
public/vendor/codemirror/mode/javascript/test.js | 200 +
.../codemirror/mode/javascript/typescript.html | 61 +
public/vendor/codemirror/mode/jinja2/index.html | 54 +
public/vendor/codemirror/mode/jinja2/jinja2.js | 142 +
public/vendor/codemirror/mode/julia/index.html | 195 +
public/vendor/codemirror/mode/julia/julia.js | 301 +
public/vendor/codemirror/mode/kotlin/index.html | 89 +
public/vendor/codemirror/mode/kotlin/kotlin.js | 281 +
.../vendor/codemirror/mode/livescript/index.html | 459 +
.../codemirror/mode/livescript/livescript.js | 280 +
public/vendor/codemirror/mode/lua/index.html | 85 +
public/vendor/codemirror/mode/lua/lua.js | 159 +
public/vendor/codemirror/mode/markdown/index.html | 359 +
public/vendor/codemirror/mode/markdown/markdown.js | 767 ++
public/vendor/codemirror/mode/markdown/test.js | 754 +
public/vendor/codemirror/mode/meta.js | 180 +
public/vendor/codemirror/mode/mirc/index.html | 160 +
public/vendor/codemirror/mode/mirc/mirc.js | 193 +
public/vendor/codemirror/mode/mllike/index.html | 179 +
public/vendor/codemirror/mode/mllike/mllike.js | 205 +
public/vendor/codemirror/mode/modelica/index.html | 67 +
public/vendor/codemirror/mode/modelica/modelica.js | 245 +
public/vendor/codemirror/mode/mumps/index.html | 85 +
public/vendor/codemirror/mode/mumps/mumps.js | 148 +
public/vendor/codemirror/mode/nginx/index.html | 181 +
public/vendor/codemirror/mode/nginx/nginx.js | 178 +
public/vendor/codemirror/mode/ntriples/index.html | 45 +
public/vendor/codemirror/mode/ntriples/ntriples.js | 186 +
public/vendor/codemirror/mode/octave/index.html | 83 +
public/vendor/codemirror/mode/octave/octave.js | 135 +
public/vendor/codemirror/mode/pascal/index.html | 61 +
public/vendor/codemirror/mode/pascal/pascal.js | 109 +
public/vendor/codemirror/mode/pegjs/index.html | 66 +
public/vendor/codemirror/mode/pegjs/pegjs.js | 114 +
public/vendor/codemirror/mode/perl/index.html | 75 +
public/vendor/codemirror/mode/perl/perl.js | 837 ++
public/vendor/codemirror/mode/php/index.html | 64 +
public/vendor/codemirror/mode/php/php.js | 226 +
public/vendor/codemirror/mode/php/test.js | 154 +
public/vendor/codemirror/mode/pig/index.html | 55 +
public/vendor/codemirror/mode/pig/pig.js | 188 +
.../vendor/codemirror/mode/properties/index.html | 53 +
.../codemirror/mode/properties/properties.js | 78 +
public/vendor/codemirror/mode/puppet/index.html | 121 +
public/vendor/codemirror/mode/puppet/puppet.js | 220 +
public/vendor/codemirror/mode/python/index.html | 198 +
public/vendor/codemirror/mode/python/python.js | 358 +
public/vendor/codemirror/mode/q/index.html | 144 +
public/vendor/codemirror/mode/q/q.js | 139 +
public/vendor/codemirror/mode/r/index.html | 85 +
public/vendor/codemirror/mode/r/r.js | 162 +
.../vendor/codemirror/mode/rpm/changes/index.html | 66 +
public/vendor/codemirror/mode/rpm/index.html | 149 +
public/vendor/codemirror/mode/rpm/rpm.js | 101 +
public/vendor/codemirror/mode/rst/index.html | 535 +
public/vendor/codemirror/mode/rst/rst.js | 557 +
public/vendor/codemirror/mode/ruby/index.html | 183 +
public/vendor/codemirror/mode/ruby/ruby.js | 285 +
public/vendor/codemirror/mode/ruby/test.js | 14 +
public/vendor/codemirror/mode/rust/index.html | 60 +
public/vendor/codemirror/mode/rust/rust.js | 451 +
public/vendor/codemirror/mode/sass/index.html | 66 +
public/vendor/codemirror/mode/sass/sass.js | 414 +
public/vendor/codemirror/mode/scheme/index.html | 77 +
public/vendor/codemirror/mode/scheme/scheme.js | 249 +
public/vendor/codemirror/mode/shell/index.html | 66 +
public/vendor/codemirror/mode/shell/shell.js | 139 +
public/vendor/codemirror/mode/shell/test.js | 58 +
public/vendor/codemirror/mode/sieve/index.html | 93 +
public/vendor/codemirror/mode/sieve/sieve.js | 193 +
public/vendor/codemirror/mode/slim/index.html | 96 +
public/vendor/codemirror/mode/slim/slim.js | 575 +
public/vendor/codemirror/mode/slim/test.js | 96 +
public/vendor/codemirror/mode/smalltalk/index.html | 68 +
.../vendor/codemirror/mode/smalltalk/smalltalk.js | 168 +
public/vendor/codemirror/mode/smarty/index.html | 138 +
public/vendor/codemirror/mode/smarty/smarty.js | 225 +
public/vendor/codemirror/mode/solr/index.html | 57 +
public/vendor/codemirror/mode/solr/solr.js | 104 +
public/vendor/codemirror/mode/soy/index.html | 68 +
public/vendor/codemirror/mode/soy/soy.js | 198 +
public/vendor/codemirror/mode/sparql/index.html | 61 +
public/vendor/codemirror/mode/sparql/sparql.js | 174 +
.../vendor/codemirror/mode/spreadsheet/index.html | 42 +
.../codemirror/mode/spreadsheet/spreadsheet.js | 109 +
public/vendor/codemirror/mode/sql/index.html | 84 +
public/vendor/codemirror/mode/sql/sql.js | 391 +
public/vendor/codemirror/mode/stex/index.html | 110 +
public/vendor/codemirror/mode/stex/stex.js | 251 +
public/vendor/codemirror/mode/stex/test.js | 123 +
public/vendor/codemirror/mode/stylus/index.html | 106 +
public/vendor/codemirror/mode/stylus/stylus.js | 768 ++
public/vendor/codemirror/mode/tcl/index.html | 142 +
public/vendor/codemirror/mode/tcl/tcl.js | 147 +
public/vendor/codemirror/mode/textile/index.html | 191 +
public/vendor/codemirror/mode/textile/test.js | 417 +
public/vendor/codemirror/mode/textile/textile.js | 469 +
.../vendor/codemirror/mode/tiddlywiki/index.html | 154 +
.../codemirror/mode/tiddlywiki/tiddlywiki.css | 14 +
.../codemirror/mode/tiddlywiki/tiddlywiki.js | 369 +
public/vendor/codemirror/mode/tiki/index.html | 95 +
public/vendor/codemirror/mode/tiki/tiki.css | 26 +
public/vendor/codemirror/mode/tiki/tiki.js | 323 +
public/vendor/codemirror/mode/toml/index.html | 73 +
public/vendor/codemirror/mode/toml/toml.js | 88 +
public/vendor/codemirror/mode/tornado/index.html | 63 +
public/vendor/codemirror/mode/tornado/tornado.js | 68 +
public/vendor/codemirror/mode/troff/index.html | 146 +
public/vendor/codemirror/mode/troff/troff.js | 82 +
public/vendor/codemirror/mode/turtle/index.html | 50 +
public/vendor/codemirror/mode/turtle/turtle.js | 162 +
public/vendor/codemirror/mode/vb/index.html | 102 +
public/vendor/codemirror/mode/vb/vb.js | 275 +
public/vendor/codemirror/mode/vbscript/index.html | 55 +
public/vendor/codemirror/mode/vbscript/vbscript.js | 350 +
public/vendor/codemirror/mode/velocity/index.html | 118 +
public/vendor/codemirror/mode/velocity/velocity.js | 201 +
public/vendor/codemirror/mode/verilog/index.html | 120 +
public/vendor/codemirror/mode/verilog/test.js | 273 +
public/vendor/codemirror/mode/verilog/verilog.js | 537 +
public/vendor/codemirror/mode/xml/index.html | 57 +
public/vendor/codemirror/mode/xml/test.js | 51 +
public/vendor/codemirror/mode/xml/xml.js | 384 +
public/vendor/codemirror/mode/xquery/index.html | 210 +
public/vendor/codemirror/mode/xquery/test.js | 67 +
public/vendor/codemirror/mode/xquery/xquery.js | 447 +
public/vendor/codemirror/mode/yaml/index.html | 80 +
public/vendor/codemirror/mode/yaml/yaml.js | 117 +
public/vendor/codemirror/mode/z80/index.html | 53 +
public/vendor/codemirror/mode/z80/z80.js | 116 +
public/vendor/codemirror/theme/3024-day.css | 40 +
public/vendor/codemirror/theme/3024-night.css | 39 +
public/vendor/codemirror/theme/ambiance-mobile.css | 5 +
public/vendor/codemirror/theme/ambiance.css | 75 +
public/vendor/codemirror/theme/base16-dark.css | 38 +
public/vendor/codemirror/theme/base16-light.css | 38 +
public/vendor/codemirror/theme/blackboard.css | 32 +
public/vendor/codemirror/theme/cobalt.css | 25 +
public/vendor/codemirror/theme/colorforth.css | 33 +
public/vendor/codemirror/theme/eclipse.css | 23 +
public/vendor/codemirror/theme/elegant.css | 13 +
public/vendor/codemirror/theme/erlang-dark.css | 34 +
public/vendor/codemirror/theme/lesser-dark.css | 47 +
public/vendor/codemirror/theme/liquibyte.css | 95 +
public/vendor/codemirror/theme/mbo.css | 37 +
public/vendor/codemirror/theme/mdn-like.css | 46 +
public/vendor/codemirror/theme/midnight.css | 47 +
public/vendor/codemirror/theme/monokai.css | 33 +
public/vendor/codemirror/theme/neat.css | 12 +
public/vendor/codemirror/theme/neo.css | 43 +
public/vendor/codemirror/theme/night.css | 28 +
public/vendor/codemirror/theme/paraiso-dark.css | 38 +
public/vendor/codemirror/theme/paraiso-light.css | 38 +
public/vendor/codemirror/theme/pastel-on-dark.css | 53 +
public/vendor/codemirror/theme/rubyblue.css | 25 +
public/vendor/codemirror/theme/solarized.css | 165 +
public/vendor/codemirror/theme/the-matrix.css | 30 +
.../codemirror/theme/tomorrow-night-bright.css | 35 +
.../codemirror/theme/tomorrow-night-eighties.css | 38 +
public/vendor/codemirror/theme/twilight.css | 32 +
public/vendor/codemirror/theme/vibrant-ink.css | 34 +
public/vendor/codemirror/theme/xq-dark.css | 53 +
public/vendor/codemirror/theme/xq-light.css | 43 +
public/vendor/codemirror/theme/zenburn.css | 37 +
public/vendor/emojify/css/emojify.css | 6 +
public/vendor/emojify/css/emojify.min.css | 1 +
public/vendor/emojify/images/+1.png | Bin 0 -> 5075 bytes
public/vendor/emojify/images/-1.png | Bin 0 -> 5070 bytes
public/vendor/emojify/images/100.png | Bin 0 -> 3251 bytes
public/vendor/emojify/images/109.png | Bin 0 -> 3698 bytes
public/vendor/emojify/images/1234.png | Bin 0 -> 4751 bytes
public/vendor/emojify/images/8ball.png | Bin 0 -> 4141 bytes
public/vendor/emojify/images/a.png | Bin 0 -> 3154 bytes
public/vendor/emojify/images/ab.png | Bin 0 -> 3859 bytes
public/vendor/emojify/images/abc.png | Bin 0 -> 4247 bytes
public/vendor/emojify/images/abcd.png | Bin 0 -> 4471 bytes
public/vendor/emojify/images/accept.png | Bin 0 -> 4729 bytes
public/vendor/emojify/images/aerial_tramway.png | Bin 0 -> 3489 bytes
public/vendor/emojify/images/airplane.png | Bin 0 -> 4740 bytes
public/vendor/emojify/images/alarm_clock.png | Bin 0 -> 7062 bytes
public/vendor/emojify/images/alien.png | Bin 0 -> 5457 bytes
public/vendor/emojify/images/ambulance.png | Bin 0 -> 3708 bytes
public/vendor/emojify/images/anchor.png | Bin 0 -> 4479 bytes
public/vendor/emojify/images/angel.png | Bin 0 -> 6672 bytes
public/vendor/emojify/images/anger.png | Bin 0 -> 3079 bytes
public/vendor/emojify/images/angry.png | Bin 0 -> 5037 bytes
public/vendor/emojify/images/anguished.png | Bin 0 -> 5091 bytes
public/vendor/emojify/images/ant.png | Bin 0 -> 2851 bytes
public/vendor/emojify/images/apple.png | Bin 0 -> 5630 bytes
public/vendor/emojify/images/aquarius.png | Bin 0 -> 5096 bytes
public/vendor/emojify/images/aries.png | Bin 0 -> 4343 bytes
public/vendor/emojify/images/arrow_backward.png | Bin 0 -> 3180 bytes
public/vendor/emojify/images/arrow_double_down.png | Bin 0 -> 3179 bytes
public/vendor/emojify/images/arrow_double_up.png | Bin 0 -> 3611 bytes
public/vendor/emojify/images/arrow_down.png | Bin 0 -> 3006 bytes
public/vendor/emojify/images/arrow_down_small.png | Bin 0 -> 2889 bytes
public/vendor/emojify/images/arrow_forward.png | Bin 0 -> 3201 bytes
.../vendor/emojify/images/arrow_heading_down.png | Bin 0 -> 3521 bytes
public/vendor/emojify/images/arrow_heading_up.png | Bin 0 -> 3520 bytes
public/vendor/emojify/images/arrow_left.png | Bin 0 -> 3041 bytes
public/vendor/emojify/images/arrow_lower_left.png | Bin 0 -> 3342 bytes
public/vendor/emojify/images/arrow_lower_right.png | Bin 0 -> 3334 bytes
public/vendor/emojify/images/arrow_right.png | Bin 0 -> 3022 bytes
public/vendor/emojify/images/arrow_right_hook.png | Bin 0 -> 3712 bytes
public/vendor/emojify/images/arrow_up.png | Bin 0 -> 3073 bytes
public/vendor/emojify/images/arrow_up_down.png | Bin 0 -> 3542 bytes
public/vendor/emojify/images/arrow_up_small.png | Bin 0 -> 3185 bytes
public/vendor/emojify/images/arrow_upper_left.png | Bin 0 -> 3227 bytes
public/vendor/emojify/images/arrow_upper_right.png | Bin 0 -> 3235 bytes
public/vendor/emojify/images/arrows_clockwise.png | Bin 0 -> 1399 bytes
.../emojify/images/arrows_counterclockwise.png | Bin 0 -> 4816 bytes
public/vendor/emojify/images/art.png | Bin 0 -> 6744 bytes
public/vendor/emojify/images/articulated_lorry.png | Bin 0 -> 2938 bytes
public/vendor/emojify/images/astonished.png | Bin 0 -> 6043 bytes
public/vendor/emojify/images/atm.png | Bin 0 -> 4072 bytes
public/vendor/emojify/images/b.png | Bin 0 -> 3025 bytes
public/vendor/emojify/images/baby.png | Bin 0 -> 5921 bytes
public/vendor/emojify/images/baby_bottle.png | Bin 0 -> 4461 bytes
public/vendor/emojify/images/baby_chick.png | Bin 0 -> 3961 bytes
public/vendor/emojify/images/baby_symbol.png | Bin 0 -> 2967 bytes
public/vendor/emojify/images/back.png | Bin 0 -> 5434 bytes
public/vendor/emojify/images/baggage_claim.png | Bin 0 -> 3502 bytes
public/vendor/emojify/images/balloon.png | Bin 0 -> 2300 bytes
.../emojify/images/ballot_box_with_check.png | Bin 0 -> 1829 bytes
public/vendor/emojify/images/bamboo.png | Bin 0 -> 4672 bytes
public/vendor/emojify/images/banana.png | Bin 0 -> 3915 bytes
public/vendor/emojify/images/bangbang.png | Bin 0 -> 1387 bytes
public/vendor/emojify/images/bank.png | Bin 0 -> 5583 bytes
public/vendor/emojify/images/bar_chart.png | Bin 0 -> 2449 bytes
public/vendor/emojify/images/barber.png | Bin 0 -> 4252 bytes
public/vendor/emojify/images/baseball.png | Bin 0 -> 6032 bytes
public/vendor/emojify/images/basketball.png | Bin 0 -> 6386 bytes
public/vendor/emojify/images/bath.png | Bin 0 -> 3210 bytes
public/vendor/emojify/images/bathtub.png | Bin 0 -> 2784 bytes
public/vendor/emojify/images/battery.png | Bin 0 -> 3812 bytes
public/vendor/emojify/images/bear.png | Bin 0 -> 5561 bytes
public/vendor/emojify/images/bee.png | Bin 0 -> 5851 bytes
public/vendor/emojify/images/beer.png | Bin 0 -> 6097 bytes
public/vendor/emojify/images/beers.png | Bin 0 -> 6591 bytes
public/vendor/emojify/images/beetle.png | Bin 0 -> 5255 bytes
public/vendor/emojify/images/beginner.png | Bin 0 -> 2761 bytes
public/vendor/emojify/images/bell.png | Bin 0 -> 4859 bytes
public/vendor/emojify/images/bento.png | Bin 0 -> 5730 bytes
public/vendor/emojify/images/bicyclist.png | Bin 0 -> 6472 bytes
public/vendor/emojify/images/bike.png | Bin 0 -> 4722 bytes
public/vendor/emojify/images/bikini.png | Bin 0 -> 3890 bytes
public/vendor/emojify/images/bird.png | Bin 0 -> 4878 bytes
public/vendor/emojify/images/birthday.png | Bin 0 -> 5404 bytes
public/vendor/emojify/images/black_circle.png | Bin 0 -> 2369 bytes
public/vendor/emojify/images/black_joker.png | Bin 0 -> 3877 bytes
.../emojify/images/black_medium_small_square.png | Bin 0 -> 3495 bytes
.../vendor/emojify/images/black_medium_square.png | Bin 0 -> 4035 bytes
public/vendor/emojify/images/black_nib.png | Bin 0 -> 2352 bytes
.../vendor/emojify/images/black_small_square.png | Bin 0 -> 3061 bytes
public/vendor/emojify/images/black_square.png | Bin 0 -> 1332 bytes
.../vendor/emojify/images/black_square_button.png | Bin 0 -> 1337 bytes
public/vendor/emojify/images/blossom.png | Bin 0 -> 4232 bytes
public/vendor/emojify/images/blowfish.png | Bin 0 -> 3737 bytes
public/vendor/emojify/images/blue_book.png | Bin 0 -> 5092 bytes
public/vendor/emojify/images/blue_car.png | Bin 0 -> 4081 bytes
public/vendor/emojify/images/blue_heart.png | Bin 0 -> 4094 bytes
public/vendor/emojify/images/blush.png | Bin 0 -> 5188 bytes
public/vendor/emojify/images/boar.png | Bin 0 -> 4840 bytes
public/vendor/emojify/images/boat.png | Bin 0 -> 3833 bytes
public/vendor/emojify/images/bomb.png | Bin 0 -> 5208 bytes
public/vendor/emojify/images/book.png | Bin 0 -> 6050 bytes
public/vendor/emojify/images/bookmark.png | Bin 0 -> 4649 bytes
public/vendor/emojify/images/bookmark_tabs.png | Bin 0 -> 3150 bytes
public/vendor/emojify/images/books.png | Bin 0 -> 6539 bytes
public/vendor/emojify/images/boom.png | Bin 0 -> 3772 bytes
public/vendor/emojify/images/boot.png | Bin 0 -> 3327 bytes
public/vendor/emojify/images/bouquet.png | Bin 0 -> 6915 bytes
public/vendor/emojify/images/bow.png | Bin 0 -> 5143 bytes
public/vendor/emojify/images/bowling.png | Bin 0 -> 4184 bytes
public/vendor/emojify/images/bowtie.png | Bin 0 -> 6478 bytes
public/vendor/emojify/images/boy.png | Bin 0 -> 5946 bytes
public/vendor/emojify/images/bread.png | Bin 0 -> 6214 bytes
public/vendor/emojify/images/bride_with_veil.png | Bin 0 -> 8515 bytes
public/vendor/emojify/images/bridge_at_night.png | Bin 0 -> 5137 bytes
public/vendor/emojify/images/briefcase.png | Bin 0 -> 2698 bytes
public/vendor/emojify/images/broken_heart.png | Bin 0 -> 4118 bytes
public/vendor/emojify/images/bug.png | Bin 0 -> 5945 bytes
public/vendor/emojify/images/bulb.png | Bin 0 -> 4490 bytes
public/vendor/emojify/images/bullettrain_front.png | Bin 0 -> 4992 bytes
public/vendor/emojify/images/bullettrain_side.png | Bin 0 -> 3842 bytes
public/vendor/emojify/images/bus.png | Bin 0 -> 4065 bytes
public/vendor/emojify/images/busstop.png | Bin 0 -> 1676 bytes
.../vendor/emojify/images/bust_in_silhouette.png | Bin 0 -> 2005 bytes
.../vendor/emojify/images/busts_in_silhouette.png | Bin 0 -> 3021 bytes
public/vendor/emojify/images/cactus.png | Bin 0 -> 4509 bytes
public/vendor/emojify/images/cake.png | Bin 0 -> 6129 bytes
public/vendor/emojify/images/calendar.png | Bin 0 -> 2920 bytes
public/vendor/emojify/images/calling.png | Bin 0 -> 4037 bytes
public/vendor/emojify/images/camel.png | Bin 0 -> 4485 bytes
public/vendor/emojify/images/camera.png | Bin 0 -> 4661 bytes
public/vendor/emojify/images/cancer.png | Bin 0 -> 5384 bytes
public/vendor/emojify/images/candy.png | Bin 0 -> 4502 bytes
public/vendor/emojify/images/capital_abcd.png | Bin 0 -> 5136 bytes
public/vendor/emojify/images/capricorn.png | Bin 0 -> 4670 bytes
public/vendor/emojify/images/car.png | Bin 0 -> 4278 bytes
public/vendor/emojify/images/card_index.png | Bin 0 -> 3749 bytes
public/vendor/emojify/images/carousel_horse.png | Bin 0 -> 5893 bytes
public/vendor/emojify/images/cat.png | Bin 0 -> 5987 bytes
public/vendor/emojify/images/cat2.png | Bin 0 -> 5644 bytes
public/vendor/emojify/images/cd.png | Bin 0 -> 6718 bytes
public/vendor/emojify/images/chart.png | Bin 0 -> 4331 bytes
.../emojify/images/chart_with_downwards_trend.png | Bin 0 -> 2897 bytes
.../emojify/images/chart_with_upwards_trend.png | Bin 0 -> 2930 bytes
public/vendor/emojify/images/checkered_flag.png | Bin 0 -> 1675 bytes
public/vendor/emojify/images/cherries.png | Bin 0 -> 5604 bytes
public/vendor/emojify/images/cherry_blossom.png | Bin 0 -> 7174 bytes
public/vendor/emojify/images/chestnut.png | Bin 0 -> 5875 bytes
public/vendor/emojify/images/chicken.png | Bin 0 -> 3988 bytes
public/vendor/emojify/images/children_crossing.png | Bin 0 -> 3460 bytes
public/vendor/emojify/images/chocolate_bar.png | Bin 0 -> 5249 bytes
public/vendor/emojify/images/christmas_tree.png | Bin 0 -> 4721 bytes
public/vendor/emojify/images/church.png | Bin 0 -> 4653 bytes
public/vendor/emojify/images/cinema.png | Bin 0 -> 3573 bytes
public/vendor/emojify/images/circus_tent.png | Bin 0 -> 4683 bytes
public/vendor/emojify/images/city_sunrise.png | Bin 0 -> 4312 bytes
public/vendor/emojify/images/city_sunset.png | Bin 0 -> 3841 bytes
public/vendor/emojify/images/cl.png | Bin 0 -> 3493 bytes
public/vendor/emojify/images/clap.png | Bin 0 -> 7110 bytes
public/vendor/emojify/images/clapper.png | Bin 0 -> 4192 bytes
public/vendor/emojify/images/clipboard.png | Bin 0 -> 4663 bytes
public/vendor/emojify/images/clock1.png | Bin 0 -> 2590 bytes
public/vendor/emojify/images/clock10.png | Bin 0 -> 2590 bytes
public/vendor/emojify/images/clock1030.png | Bin 0 -> 2817 bytes
public/vendor/emojify/images/clock11.png | Bin 0 -> 2587 bytes
public/vendor/emojify/images/clock1130.png | Bin 0 -> 2854 bytes
public/vendor/emojify/images/clock12.png | Bin 0 -> 2504 bytes
public/vendor/emojify/images/clock1230.png | Bin 0 -> 2797 bytes
public/vendor/emojify/images/clock130.png | Bin 0 -> 2837 bytes
public/vendor/emojify/images/clock2.png | Bin 0 -> 2595 bytes
public/vendor/emojify/images/clock230.png | Bin 0 -> 2853 bytes
public/vendor/emojify/images/clock3.png | Bin 0 -> 2492 bytes
public/vendor/emojify/images/clock330.png | Bin 0 -> 2739 bytes
public/vendor/emojify/images/clock4.png | Bin 0 -> 2619 bytes
public/vendor/emojify/images/clock430.png | Bin 0 -> 2803 bytes
public/vendor/emojify/images/clock5.png | Bin 0 -> 2624 bytes
public/vendor/emojify/images/clock530.png | Bin 0 -> 2832 bytes
public/vendor/emojify/images/clock6.png | Bin 0 -> 2577 bytes
public/vendor/emojify/images/clock630.png | Bin 0 -> 2730 bytes
public/vendor/emojify/images/clock7.png | Bin 0 -> 2615 bytes
public/vendor/emojify/images/clock730.png | Bin 0 -> 2794 bytes
public/vendor/emojify/images/clock8.png | Bin 0 -> 2603 bytes
public/vendor/emojify/images/clock830.png | Bin 0 -> 2792 bytes
public/vendor/emojify/images/clock9.png | Bin 0 -> 2486 bytes
public/vendor/emojify/images/clock930.png | Bin 0 -> 2746 bytes
public/vendor/emojify/images/closed_book.png | Bin 0 -> 4847 bytes
.../vendor/emojify/images/closed_lock_with_key.png | Bin 0 -> 5701 bytes
public/vendor/emojify/images/closed_umbrella.png | Bin 0 -> 3868 bytes
public/vendor/emojify/images/cloud.png | Bin 0 -> 3860 bytes
public/vendor/emojify/images/clubs.png | Bin 0 -> 1685 bytes
public/vendor/emojify/images/cn.png | Bin 0 -> 3634 bytes
public/vendor/emojify/images/cocktail.png | Bin 0 -> 2949 bytes
public/vendor/emojify/images/coffee.png | Bin 0 -> 4306 bytes
public/vendor/emojify/images/cold_sweat.png | Bin 0 -> 5972 bytes
public/vendor/emojify/images/collision.png | Bin 0 -> 3772 bytes
public/vendor/emojify/images/computer.png | Bin 0 -> 1705 bytes
public/vendor/emojify/images/confetti_ball.png | Bin 0 -> 5521 bytes
public/vendor/emojify/images/confounded.png | Bin 0 -> 5857 bytes
public/vendor/emojify/images/confused.png | Bin 0 -> 4633 bytes
public/vendor/emojify/images/congratulations.png | Bin 0 -> 4881 bytes
public/vendor/emojify/images/construction.png | Bin 0 -> 3700 bytes
.../vendor/emojify/images/construction_worker.png | Bin 0 -> 6193 bytes
public/vendor/emojify/images/convenience_store.png | Bin 0 -> 4073 bytes
public/vendor/emojify/images/cookie.png | Bin 0 -> 8149 bytes
public/vendor/emojify/images/cool.png | Bin 0 -> 4182 bytes
public/vendor/emojify/images/cop.png | Bin 0 -> 7141 bytes
public/vendor/emojify/images/copyright.png | Bin 0 -> 1579 bytes
public/vendor/emojify/images/corn.png | Bin 0 -> 6694 bytes
public/vendor/emojify/images/couple.png | Bin 0 -> 7615 bytes
public/vendor/emojify/images/couple_with_heart.png | Bin 0 -> 7370 bytes
public/vendor/emojify/images/couplekiss.png | Bin 0 -> 7219 bytes
public/vendor/emojify/images/cow.png | Bin 0 -> 5745 bytes
public/vendor/emojify/images/cow2.png | Bin 0 -> 5303 bytes
public/vendor/emojify/images/credit_card.png | Bin 0 -> 2648 bytes
public/vendor/emojify/images/crocodile.png | Bin 0 -> 6125 bytes
public/vendor/emojify/images/crossed_flags.png | Bin 0 -> 4015 bytes
public/vendor/emojify/images/crown.png | Bin 0 -> 5655 bytes
public/vendor/emojify/images/cry.png | Bin 0 -> 5699 bytes
public/vendor/emojify/images/crying_cat_face.png | Bin 0 -> 6682 bytes
public/vendor/emojify/images/crystal_ball.png | Bin 0 -> 6236 bytes
public/vendor/emojify/images/cupid.png | Bin 0 -> 5413 bytes
public/vendor/emojify/images/curly_loop.png | Bin 0 -> 1129 bytes
public/vendor/emojify/images/currency_exchange.png | Bin 0 -> 1959 bytes
public/vendor/emojify/images/curry.png | Bin 0 -> 5336 bytes
public/vendor/emojify/images/custard.png | Bin 0 -> 5810 bytes
public/vendor/emojify/images/customs.png | Bin 0 -> 3899 bytes
public/vendor/emojify/images/cyclone.png | Bin 0 -> 4890 bytes
public/vendor/emojify/images/dancer.png | Bin 0 -> 3726 bytes
public/vendor/emojify/images/dancers.png | Bin 0 -> 7918 bytes
public/vendor/emojify/images/dango.png | Bin 0 -> 4449 bytes
public/vendor/emojify/images/dart.png | Bin 0 -> 5437 bytes
public/vendor/emojify/images/dash.png | Bin 0 -> 5448 bytes
public/vendor/emojify/images/date.png | Bin 0 -> 2977 bytes
public/vendor/emojify/images/de.png | Bin 0 -> 2640 bytes
public/vendor/emojify/images/deciduous_tree.png | Bin 0 -> 7263 bytes
public/vendor/emojify/images/department_store.png | Bin 0 -> 5159 bytes
.../images/diamond_shape_with_a_dot_inside.png | Bin 0 -> 5698 bytes
public/vendor/emojify/images/diamonds.png | Bin 0 -> 2785 bytes
public/vendor/emojify/images/disappointed.png | Bin 0 -> 4764 bytes
.../emojify/images/disappointed_relieved.png | Bin 0 -> 5648 bytes
public/vendor/emojify/images/dizzy.png | Bin 0 -> 2990 bytes
public/vendor/emojify/images/dizzy_face.png | Bin 0 -> 6278 bytes
public/vendor/emojify/images/do_not_litter.png | Bin 0 -> 5277 bytes
public/vendor/emojify/images/dog.png | Bin 0 -> 5945 bytes
public/vendor/emojify/images/dog2.png | Bin 0 -> 5931 bytes
public/vendor/emojify/images/dollar.png | Bin 0 -> 4622 bytes
public/vendor/emojify/images/dolls.png | Bin 0 -> 7138 bytes
public/vendor/emojify/images/dolphin.png | Bin 0 -> 4343 bytes
public/vendor/emojify/images/donut.png | Bin 0 -> 5209 bytes
public/vendor/emojify/images/door.png | Bin 0 -> 3310 bytes
public/vendor/emojify/images/doughnut.png | Bin 0 -> 5209 bytes
public/vendor/emojify/images/dragon.png | Bin 0 -> 7749 bytes
public/vendor/emojify/images/dragon_face.png | Bin 0 -> 6737 bytes
public/vendor/emojify/images/dress.png | Bin 0 -> 3631 bytes
public/vendor/emojify/images/dromedary_camel.png | Bin 0 -> 5139 bytes
public/vendor/emojify/images/droplet.png | Bin 0 -> 3139 bytes
public/vendor/emojify/images/dvd.png | Bin 0 -> 6993 bytes
public/vendor/emojify/images/e-mail.png | Bin 0 -> 2128 bytes
public/vendor/emojify/images/ear.png | Bin 0 -> 4335 bytes
public/vendor/emojify/images/ear_of_rice.png | Bin 0 -> 4758 bytes
public/vendor/emojify/images/earth_africa.png | Bin 0 -> 7164 bytes
public/vendor/emojify/images/earth_americas.png | Bin 0 -> 7039 bytes
public/vendor/emojify/images/earth_asia.png | Bin 0 -> 7303 bytes
public/vendor/emojify/images/egg.png | Bin 0 -> 5211 bytes
public/vendor/emojify/images/eggplant.png | Bin 0 -> 4672 bytes
public/vendor/emojify/images/eight.png | Bin 0 -> 3844 bytes
.../emojify/images/eight_pointed_black_star.png | Bin 0 -> 3271 bytes
.../emojify/images/eight_spoked_asterisk.png | Bin 0 -> 4012 bytes
public/vendor/emojify/images/electric_plug.png | Bin 0 -> 2758 bytes
public/vendor/emojify/images/elephant.png | Bin 0 -> 5086 bytes
public/vendor/emojify/images/email.png | Bin 0 -> 2697 bytes
public/vendor/emojify/images/end.png | Bin 0 -> 1134 bytes
public/vendor/emojify/images/envelope.png | Bin 0 -> 1655 bytes
public/vendor/emojify/images/es.png | Bin 0 -> 4302 bytes
public/vendor/emojify/images/euro.png | Bin 0 -> 3942 bytes
public/vendor/emojify/images/european_castle.png | Bin 0 -> 5427 bytes
.../vendor/emojify/images/european_post_office.png | Bin 0 -> 4816 bytes
public/vendor/emojify/images/evergreen_tree.png | Bin 0 -> 4924 bytes
public/vendor/emojify/images/exclamation.png | Bin 0 -> 1175 bytes
public/vendor/emojify/images/expressionless.png | Bin 0 -> 4022 bytes
public/vendor/emojify/images/eyeglasses.png | Bin 0 -> 4929 bytes
public/vendor/emojify/images/eyes.png | Bin 0 -> 4367 bytes
public/vendor/emojify/images/facepunch.png | Bin 0 -> 4833 bytes
public/vendor/emojify/images/factory.png | Bin 0 -> 5558 bytes
public/vendor/emojify/images/fallen_leaf.png | Bin 0 -> 4890 bytes
public/vendor/emojify/images/family.png | Bin 0 -> 7211 bytes
public/vendor/emojify/images/fast_forward.png | Bin 0 -> 3105 bytes
public/vendor/emojify/images/fax.png | Bin 0 -> 4650 bytes
public/vendor/emojify/images/fearful.png | Bin 0 -> 5600 bytes
public/vendor/emojify/images/feelsgood.png | Bin 0 -> 1150 bytes
public/vendor/emojify/images/feet.png | Bin 0 -> 1529 bytes
public/vendor/emojify/images/ferris_wheel.png | Bin 0 -> 6213 bytes
public/vendor/emojify/images/file_folder.png | Bin 0 -> 4013 bytes
public/vendor/emojify/images/finnadie.png | Bin 0 -> 1186 bytes
public/vendor/emojify/images/fire.png | Bin 0 -> 3886 bytes
public/vendor/emojify/images/fire_engine.png | Bin 0 -> 4862 bytes
public/vendor/emojify/images/fireworks.png | Bin 0 -> 6269 bytes
.../vendor/emojify/images/first_quarter_moon.png | Bin 0 -> 5967 bytes
.../images/first_quarter_moon_with_face.png | Bin 0 -> 4280 bytes
public/vendor/emojify/images/fish.png | Bin 0 -> 4721 bytes
public/vendor/emojify/images/fish_cake.png | Bin 0 -> 5818 bytes
.../emojify/images/fishing_pole_and_fish.png | Bin 0 -> 4470 bytes
public/vendor/emojify/images/fist.png | Bin 0 -> 5880 bytes
public/vendor/emojify/images/five.png | Bin 0 -> 3593 bytes
public/vendor/emojify/images/flags.png | Bin 0 -> 6124 bytes
public/vendor/emojify/images/flashlight.png | Bin 0 -> 5024 bytes
public/vendor/emojify/images/floppy_disk.png | Bin 0 -> 3215 bytes
.../vendor/emojify/images/flower_playing_cards.png | Bin 0 -> 3434 bytes
public/vendor/emojify/images/flushed.png | Bin 0 -> 5845 bytes
public/vendor/emojify/images/foggy.png | Bin 0 -> 4623 bytes
public/vendor/emojify/images/football.png | Bin 0 -> 6712 bytes
public/vendor/emojify/images/fork_and_knife.png | Bin 0 -> 3608 bytes
public/vendor/emojify/images/fountain.png | Bin 0 -> 5087 bytes
public/vendor/emojify/images/four.png | Bin 0 -> 3176 bytes
public/vendor/emojify/images/four_leaf_clover.png | Bin 0 -> 5995 bytes
public/vendor/emojify/images/fr.png | Bin 0 -> 3398 bytes
public/vendor/emojify/images/free.png | Bin 0 -> 3605 bytes
public/vendor/emojify/images/fried_shrimp.png | Bin 0 -> 7550 bytes
public/vendor/emojify/images/fries.png | Bin 0 -> 6405 bytes
public/vendor/emojify/images/frog.png | Bin 0 -> 4823 bytes
public/vendor/emojify/images/frowning.png | Bin 0 -> 4733 bytes
public/vendor/emojify/images/fu.png | Bin 0 -> 4687 bytes
public/vendor/emojify/images/fuelpump.png | Bin 0 -> 4296 bytes
public/vendor/emojify/images/full_moon.png | Bin 0 -> 6458 bytes
.../vendor/emojify/images/full_moon_with_face.png | Bin 0 -> 7165 bytes
public/vendor/emojify/images/game_die.png | Bin 0 -> 2956 bytes
public/vendor/emojify/images/gb.png | Bin 0 -> 5894 bytes
public/vendor/emojify/images/gem.png | Bin 0 -> 4855 bytes
public/vendor/emojify/images/gemini.png | Bin 0 -> 4296 bytes
public/vendor/emojify/images/ghost.png | Bin 0 -> 4513 bytes
public/vendor/emojify/images/gift.png | Bin 0 -> 6712 bytes
public/vendor/emojify/images/gift_heart.png | Bin 0 -> 6013 bytes
public/vendor/emojify/images/girl.png | Bin 0 -> 6314 bytes
.../vendor/emojify/images/globe_with_meridians.png | Bin 0 -> 5837 bytes
public/vendor/emojify/images/goat.png | Bin 0 -> 4889 bytes
public/vendor/emojify/images/goberserk.png | Bin 0 -> 1334 bytes
public/vendor/emojify/images/godmode.png | Bin 0 -> 1042 bytes
public/vendor/emojify/images/golf.png | Bin 0 -> 3548 bytes
public/vendor/emojify/images/grapes.png | Bin 0 -> 5423 bytes
public/vendor/emojify/images/green_apple.png | Bin 0 -> 6205 bytes
public/vendor/emojify/images/green_book.png | Bin 0 -> 5090 bytes
public/vendor/emojify/images/green_heart.png | Bin 0 -> 4432 bytes
public/vendor/emojify/images/grey_exclamation.png | Bin 0 -> 790 bytes
public/vendor/emojify/images/grey_question.png | Bin 0 -> 1057 bytes
public/vendor/emojify/images/grimacing.png | Bin 0 -> 5327 bytes
public/vendor/emojify/images/grin.png | Bin 0 -> 5721 bytes
public/vendor/emojify/images/grinning.png | Bin 0 -> 5550 bytes
public/vendor/emojify/images/guardsman.png | Bin 0 -> 3587 bytes
public/vendor/emojify/images/guitar.png | Bin 0 -> 4382 bytes
public/vendor/emojify/images/gun.png | Bin 0 -> 3161 bytes
public/vendor/emojify/images/haircut.png | Bin 0 -> 7100 bytes
public/vendor/emojify/images/hamburger.png | Bin 0 -> 5706 bytes
public/vendor/emojify/images/hammer.png | Bin 0 -> 3670 bytes
public/vendor/emojify/images/hamster.png | Bin 0 -> 7221 bytes
public/vendor/emojify/images/hand.png | Bin 0 -> 4161 bytes
public/vendor/emojify/images/handbag.png | Bin 0 -> 5449 bytes
public/vendor/emojify/images/hankey.png | Bin 0 -> 4754 bytes
public/vendor/emojify/images/hash.png | Bin 0 -> 3742 bytes
public/vendor/emojify/images/hatched_chick.png | Bin 0 -> 5646 bytes
public/vendor/emojify/images/hatching_chick.png | Bin 0 -> 5928 bytes
public/vendor/emojify/images/headphones.png | Bin 0 -> 1910 bytes
public/vendor/emojify/images/hear_no_evil.png | Bin 0 -> 6550 bytes
public/vendor/emojify/images/heart.png | Bin 0 -> 3302 bytes
public/vendor/emojify/images/heart_decoration.png | Bin 0 -> 3507 bytes
public/vendor/emojify/images/heart_eyes.png | Bin 0 -> 5758 bytes
public/vendor/emojify/images/heart_eyes_cat.png | Bin 0 -> 6176 bytes
public/vendor/emojify/images/heartbeat.png | Bin 0 -> 4052 bytes
public/vendor/emojify/images/heartpulse.png | Bin 0 -> 6269 bytes
public/vendor/emojify/images/hearts.png | Bin 0 -> 2925 bytes
public/vendor/emojify/images/heavy_check_mark.png | Bin 0 -> 924 bytes
.../vendor/emojify/images/heavy_division_sign.png | Bin 0 -> 264 bytes
public/vendor/emojify/images/heavy_dollar_sign.png | Bin 0 -> 1150 bytes
.../emojify/images/heavy_exclamation_mark.png | Bin 0 -> 1315 bytes
public/vendor/emojify/images/heavy_minus_sign.png | Bin 0 -> 176 bytes
.../emojify/images/heavy_multiplication_x.png | Bin 0 -> 591 bytes
public/vendor/emojify/images/heavy_plus_sign.png | Bin 0 -> 264 bytes
public/vendor/emojify/images/helicopter.png | Bin 0 -> 4100 bytes
public/vendor/emojify/images/herb.png | Bin 0 -> 5889 bytes
public/vendor/emojify/images/hibiscus.png | Bin 0 -> 8322 bytes
public/vendor/emojify/images/high_brightness.png | Bin 0 -> 4060 bytes
public/vendor/emojify/images/high_heel.png | Bin 0 -> 4557 bytes
public/vendor/emojify/images/hocho.png | Bin 0 -> 2455 bytes
public/vendor/emojify/images/honey_pot.png | Bin 0 -> 5830 bytes
public/vendor/emojify/images/honeybee.png | Bin 0 -> 5851 bytes
public/vendor/emojify/images/horse.png | Bin 0 -> 4582 bytes
public/vendor/emojify/images/horse_racing.png | Bin 0 -> 5905 bytes
public/vendor/emojify/images/hospital.png | Bin 0 -> 4887 bytes
public/vendor/emojify/images/hotel.png | Bin 0 -> 5123 bytes
public/vendor/emojify/images/hotsprings.png | Bin 0 -> 3538 bytes
public/vendor/emojify/images/hourglass.png | Bin 0 -> 4492 bytes
.../emojify/images/hourglass_flowing_sand.png | Bin 0 -> 4291 bytes
public/vendor/emojify/images/house.png | Bin 0 -> 3510 bytes
public/vendor/emojify/images/house_with_garden.png | Bin 0 -> 6089 bytes
public/vendor/emojify/images/hurtrealbad.png | Bin 0 -> 1456 bytes
public/vendor/emojify/images/hushed.png | Bin 0 -> 4941 bytes
public/vendor/emojify/images/ice_cream.png | Bin 0 -> 5469 bytes
public/vendor/emojify/images/icecream.png | Bin 0 -> 4603 bytes
public/vendor/emojify/images/id.png | Bin 0 -> 3905 bytes
.../vendor/emojify/images/ideograph_advantage.png | Bin 0 -> 3088 bytes
public/vendor/emojify/images/imp.png | Bin 0 -> 6621 bytes
public/vendor/emojify/images/inbox_tray.png | Bin 0 -> 3700 bytes
public/vendor/emojify/images/incoming_envelope.png | Bin 0 -> 2206 bytes
.../emojify/images/information_desk_person.png | Bin 0 -> 6605 bytes
.../vendor/emojify/images/information_source.png | Bin 0 -> 3670 bytes
public/vendor/emojify/images/innocent.png | Bin 0 -> 7000 bytes
public/vendor/emojify/images/interrobang.png | Bin 0 -> 2875 bytes
public/vendor/emojify/images/iphone.png | Bin 0 -> 3499 bytes
public/vendor/emojify/images/it.png | Bin 0 -> 3495 bytes
public/vendor/emojify/images/izakaya_lantern.png | Bin 0 -> 4064 bytes
public/vendor/emojify/images/jack_o_lantern.png | Bin 0 -> 5633 bytes
public/vendor/emojify/images/japan.png | Bin 0 -> 4085 bytes
public/vendor/emojify/images/japanese_castle.png | Bin 0 -> 4939 bytes
public/vendor/emojify/images/japanese_goblin.png | Bin 0 -> 5159 bytes
public/vendor/emojify/images/japanese_ogre.png | Bin 0 -> 7147 bytes
public/vendor/emojify/images/jeans.png | Bin 0 -> 3470 bytes
public/vendor/emojify/images/joy.png | Bin 0 -> 6339 bytes
public/vendor/emojify/images/joy_cat.png | Bin 0 -> 7190 bytes
public/vendor/emojify/images/jp.png | Bin 0 -> 2827 bytes
public/vendor/emojify/images/key.png | Bin 0 -> 3452 bytes
public/vendor/emojify/images/keycap_ten.png | Bin 0 -> 4095 bytes
public/vendor/emojify/images/kimono.png | Bin 0 -> 4938 bytes
public/vendor/emojify/images/kiss.png | Bin 0 -> 6276 bytes
public/vendor/emojify/images/kissing.png | Bin 0 -> 4790 bytes
public/vendor/emojify/images/kissing_cat.png | Bin 0 -> 6801 bytes
.../vendor/emojify/images/kissing_closed_eyes.png | Bin 0 -> 5563 bytes
public/vendor/emojify/images/kissing_face.png | Bin 0 -> 5563 bytes
public/vendor/emojify/images/kissing_heart.png | Bin 0 -> 5767 bytes
.../vendor/emojify/images/kissing_smiling_eyes.png | Bin 0 -> 4999 bytes
public/vendor/emojify/images/koala.png | Bin 0 -> 5687 bytes
public/vendor/emojify/images/koko.png | Bin 0 -> 2854 bytes
public/vendor/emojify/images/kr.png | Bin 0 -> 5105 bytes
public/vendor/emojify/images/large_blue_circle.png | Bin 0 -> 4637 bytes
.../vendor/emojify/images/large_blue_diamond.png | Bin 0 -> 3790 bytes
.../vendor/emojify/images/large_orange_diamond.png | Bin 0 -> 3849 bytes
public/vendor/emojify/images/last_quarter_moon.png | Bin 0 -> 6149 bytes
.../emojify/images/last_quarter_moon_with_face.png | Bin 0 -> 4328 bytes
public/vendor/emojify/images/laughing.png | Bin 0 -> 6347 bytes
public/vendor/emojify/images/leaves.png | Bin 0 -> 5571 bytes
public/vendor/emojify/images/ledger.png | Bin 0 -> 5921 bytes
public/vendor/emojify/images/left_luggage.png | Bin 0 -> 4025 bytes
public/vendor/emojify/images/left_right_arrow.png | Bin 0 -> 3413 bytes
.../emojify/images/leftwards_arrow_with_hook.png | Bin 0 -> 3775 bytes
public/vendor/emojify/images/lemon.png | Bin 0 -> 6055 bytes
public/vendor/emojify/images/leo.png | Bin 0 -> 4913 bytes
public/vendor/emojify/images/leopard.png | Bin 0 -> 5348 bytes
public/vendor/emojify/images/libra.png | Bin 0 -> 4218 bytes
public/vendor/emojify/images/light_rail.png | Bin 0 -> 3792 bytes
public/vendor/emojify/images/link.png | Bin 0 -> 2619 bytes
public/vendor/emojify/images/lips.png | Bin 0 -> 3738 bytes
public/vendor/emojify/images/lipstick.png | Bin 0 -> 3384 bytes
public/vendor/emojify/images/lock.png | Bin 0 -> 3676 bytes
public/vendor/emojify/images/lock_with_ink_pen.png | Bin 0 -> 4967 bytes
public/vendor/emojify/images/lollipop.png | Bin 0 -> 5771 bytes
public/vendor/emojify/images/loop.png | Bin 0 -> 3417 bytes
public/vendor/emojify/images/loudspeaker.png | Bin 0 -> 6001 bytes
public/vendor/emojify/images/love_hotel.png | Bin 0 -> 5941 bytes
public/vendor/emojify/images/love_letter.png | Bin 0 -> 2467 bytes
public/vendor/emojify/images/low_brightness.png | Bin 0 -> 2498 bytes
public/vendor/emojify/images/m.png | Bin 0 -> 4734 bytes
public/vendor/emojify/images/mag.png | Bin 0 -> 3040 bytes
public/vendor/emojify/images/mag_right.png | Bin 0 -> 3629 bytes
public/vendor/emojify/images/mahjong.png | Bin 0 -> 3309 bytes
public/vendor/emojify/images/mailbox.png | Bin 0 -> 4196 bytes
public/vendor/emojify/images/mailbox_closed.png | Bin 0 -> 4360 bytes
public/vendor/emojify/images/mailbox_with_mail.png | Bin 0 -> 4581 bytes
.../vendor/emojify/images/mailbox_with_no_mail.png | Bin 0 -> 3101 bytes
public/vendor/emojify/images/man.png | Bin 0 -> 6023 bytes
.../vendor/emojify/images/man_with_gua_pi_mao.png | Bin 0 -> 5324 bytes
public/vendor/emojify/images/man_with_turban.png | Bin 0 -> 6528 bytes
public/vendor/emojify/images/mans_shoe.png | Bin 0 -> 4749 bytes
public/vendor/emojify/images/maple_leaf.png | Bin 0 -> 4450 bytes
public/vendor/emojify/images/mask.png | Bin 0 -> 5235 bytes
public/vendor/emojify/images/massage.png | Bin 0 -> 6036 bytes
public/vendor/emojify/images/meat_on_bone.png | Bin 0 -> 5425 bytes
public/vendor/emojify/images/mega.png | Bin 0 -> 4680 bytes
public/vendor/emojify/images/melon.png | Bin 0 -> 8233 bytes
public/vendor/emojify/images/memo.png | Bin 0 -> 4945 bytes
public/vendor/emojify/images/mens.png | Bin 0 -> 3368 bytes
public/vendor/emojify/images/metal.png | Bin 0 -> 3098 bytes
public/vendor/emojify/images/metro.png | Bin 0 -> 3402 bytes
public/vendor/emojify/images/microphone.png | Bin 0 -> 3680 bytes
public/vendor/emojify/images/microscope.png | Bin 0 -> 4130 bytes
public/vendor/emojify/images/milky_way.png | Bin 0 -> 5878 bytes
public/vendor/emojify/images/minibus.png | Bin 0 -> 3113 bytes
public/vendor/emojify/images/minidisc.png | Bin 0 -> 5594 bytes
public/vendor/emojify/images/mobile_phone_off.png | Bin 0 -> 3521 bytes
public/vendor/emojify/images/money_with_wings.png | Bin 0 -> 7584 bytes
public/vendor/emojify/images/moneybag.png | Bin 0 -> 5500 bytes
public/vendor/emojify/images/monkey.png | Bin 0 -> 4973 bytes
public/vendor/emojify/images/monkey_face.png | Bin 0 -> 5348 bytes
public/vendor/emojify/images/monorail.png | Bin 0 -> 4311 bytes
public/vendor/emojify/images/moon.png | Bin 0 -> 3541 bytes
public/vendor/emojify/images/mortar_board.png | Bin 0 -> 4164 bytes
public/vendor/emojify/images/mount_fuji.png | Bin 0 -> 5004 bytes
.../vendor/emojify/images/mountain_bicyclist.png | Bin 0 -> 9511 bytes
public/vendor/emojify/images/mountain_cableway.png | Bin 0 -> 4405 bytes
public/vendor/emojify/images/mountain_railway.png | Bin 0 -> 7448 bytes
public/vendor/emojify/images/mouse.png | Bin 0 -> 6625 bytes
public/vendor/emojify/images/mouse2.png | Bin 0 -> 4087 bytes
public/vendor/emojify/images/movie_camera.png | Bin 0 -> 4081 bytes
public/vendor/emojify/images/moyai.png | Bin 0 -> 2166 bytes
public/vendor/emojify/images/muscle.png | Bin 0 -> 4672 bytes
public/vendor/emojify/images/mushroom.png | Bin 0 -> 4887 bytes
public/vendor/emojify/images/musical_keyboard.png | Bin 0 -> 1944 bytes
public/vendor/emojify/images/musical_note.png | Bin 0 -> 3188 bytes
public/vendor/emojify/images/musical_score.png | Bin 0 -> 1497 bytes
public/vendor/emojify/images/mute.png | Bin 0 -> 6635 bytes
public/vendor/emojify/images/nail_care.png | Bin 0 -> 5814 bytes
public/vendor/emojify/images/name_badge.png | Bin 0 -> 3985 bytes
public/vendor/emojify/images/neckbeard.png | Bin 0 -> 6247 bytes
public/vendor/emojify/images/necktie.png | Bin 0 -> 6116 bytes
.../emojify/images/negative_squared_cross_mark.png | Bin 0 -> 3853 bytes
public/vendor/emojify/images/neutral_face.png | Bin 0 -> 4843 bytes
public/vendor/emojify/images/new.png | Bin 0 -> 3927 bytes
public/vendor/emojify/images/new_moon.png | Bin 0 -> 5276 bytes
.../vendor/emojify/images/new_moon_with_face.png | Bin 0 -> 6708 bytes
public/vendor/emojify/images/newspaper.png | Bin 0 -> 5180 bytes
public/vendor/emojify/images/ng.png | Bin 0 -> 4201 bytes
public/vendor/emojify/images/nine.png | Bin 0 -> 3776 bytes
public/vendor/emojify/images/no_bell.png | Bin 0 -> 5944 bytes
public/vendor/emojify/images/no_bicycles.png | Bin 0 -> 5661 bytes
public/vendor/emojify/images/no_entry.png | Bin 0 -> 3514 bytes
public/vendor/emojify/images/no_entry_sign.png | Bin 0 -> 3287 bytes
public/vendor/emojify/images/no_good.png | Bin 0 -> 7034 bytes
public/vendor/emojify/images/no_mobile_phones.png | Bin 0 -> 5083 bytes
public/vendor/emojify/images/no_mouth.png | Bin 0 -> 4632 bytes
public/vendor/emojify/images/no_pedestrians.png | Bin 0 -> 5485 bytes
public/vendor/emojify/images/no_smoking.png | Bin 0 -> 4212 bytes
public/vendor/emojify/images/non-potable_water.png | Bin 0 -> 5202 bytes
public/vendor/emojify/images/nose.png | Bin 0 -> 3703 bytes
public/vendor/emojify/images/notebook.png | Bin 0 -> 6001 bytes
.../images/notebook_with_decorative_cover.png | Bin 0 -> 5329 bytes
public/vendor/emojify/images/notes.png | Bin 0 -> 1536 bytes
public/vendor/emojify/images/nut_and_bolt.png | Bin 0 -> 2169 bytes
public/vendor/emojify/images/o.png | Bin 0 -> 2538 bytes
public/vendor/emojify/images/o2.png | Bin 0 -> 3498 bytes
public/vendor/emojify/images/ocean.png | Bin 0 -> 5777 bytes
public/vendor/emojify/images/octocat.png | Bin 0 -> 3738 bytes
public/vendor/emojify/images/octopus.png | Bin 0 -> 5779 bytes
public/vendor/emojify/images/oden.png | Bin 0 -> 5543 bytes
public/vendor/emojify/images/office.png | Bin 0 -> 5156 bytes
public/vendor/emojify/images/ok.png | Bin 0 -> 4158 bytes
public/vendor/emojify/images/ok_hand.png | Bin 0 -> 4598 bytes
public/vendor/emojify/images/ok_woman.png | Bin 0 -> 7527 bytes
public/vendor/emojify/images/older_man.png | Bin 0 -> 6733 bytes
public/vendor/emojify/images/older_woman.png | Bin 0 -> 5977 bytes
public/vendor/emojify/images/on.png | Bin 0 -> 1472 bytes
.../vendor/emojify/images/oncoming_automobile.png | Bin 0 -> 7469 bytes
public/vendor/emojify/images/oncoming_bus.png | Bin 0 -> 5305 bytes
.../vendor/emojify/images/oncoming_police_car.png | Bin 0 -> 5683 bytes
public/vendor/emojify/images/oncoming_taxi.png | Bin 0 -> 6287 bytes
public/vendor/emojify/images/one.png | Bin 0 -> 2825 bytes
public/vendor/emojify/images/open_file_folder.png | Bin 0 -> 4292 bytes
public/vendor/emojify/images/open_hands.png | Bin 0 -> 4950 bytes
public/vendor/emojify/images/open_mouth.png | Bin 0 -> 4519 bytes
public/vendor/emojify/images/ophiuchus.png | Bin 0 -> 4434 bytes
public/vendor/emojify/images/orange_book.png | Bin 0 -> 5085 bytes
public/vendor/emojify/images/outbox_tray.png | Bin 0 -> 3683 bytes
public/vendor/emojify/images/ox.png | Bin 0 -> 5935 bytes
public/vendor/emojify/images/package.png | Bin 0 -> 8449 bytes
public/vendor/emojify/images/page_facing_up.png | Bin 0 -> 2178 bytes
public/vendor/emojify/images/page_with_curl.png | Bin 0 -> 3715 bytes
public/vendor/emojify/images/pager.png | Bin 0 -> 4022 bytes
public/vendor/emojify/images/palm_tree.png | Bin 0 -> 3663 bytes
public/vendor/emojify/images/panda_face.png | Bin 0 -> 4814 bytes
public/vendor/emojify/images/paperclip.png | Bin 0 -> 2478 bytes
public/vendor/emojify/images/parking.png | Bin 0 -> 3083 bytes
.../emojify/images/part_alternation_mark.png | Bin 0 -> 2681 bytes
public/vendor/emojify/images/partly_sunny.png | Bin 0 -> 5169 bytes
public/vendor/emojify/images/passport_control.png | Bin 0 -> 4018 bytes
public/vendor/emojify/images/paw_prints.png | Bin 0 -> 2471 bytes
public/vendor/emojify/images/peach.png | Bin 0 -> 5920 bytes
public/vendor/emojify/images/pear.png | Bin 0 -> 6936 bytes
public/vendor/emojify/images/pencil.png | Bin 0 -> 4945 bytes
public/vendor/emojify/images/pencil2.png | Bin 0 -> 4348 bytes
public/vendor/emojify/images/penguin.png | Bin 0 -> 4746 bytes
public/vendor/emojify/images/pensive.png | Bin 0 -> 5062 bytes
public/vendor/emojify/images/performing_arts.png | Bin 0 -> 6287 bytes
public/vendor/emojify/images/persevere.png | Bin 0 -> 5519 bytes
public/vendor/emojify/images/person_frowning.png | Bin 0 -> 4826 bytes
.../emojify/images/person_with_blond_hair.png | Bin 0 -> 6622 bytes
.../emojify/images/person_with_pouting_face.png | Bin 0 -> 5428 bytes
public/vendor/emojify/images/phone.png | Bin 0 -> 5495 bytes
public/vendor/emojify/images/pig.png | Bin 0 -> 5996 bytes
public/vendor/emojify/images/pig2.png | Bin 0 -> 4797 bytes
public/vendor/emojify/images/pig_nose.png | Bin 0 -> 4761 bytes
public/vendor/emojify/images/pill.png | Bin 0 -> 5022 bytes
public/vendor/emojify/images/pineapple.png | Bin 0 -> 5634 bytes
public/vendor/emojify/images/pisces.png | Bin 0 -> 4441 bytes
public/vendor/emojify/images/pizza.png | Bin 0 -> 5273 bytes
public/vendor/emojify/images/plus1.png | Bin 0 -> 5075 bytes
public/vendor/emojify/images/point_down.png | Bin 0 -> 3225 bytes
public/vendor/emojify/images/point_left.png | Bin 0 -> 3085 bytes
public/vendor/emojify/images/point_right.png | Bin 0 -> 3079 bytes
public/vendor/emojify/images/point_up.png | Bin 0 -> 3431 bytes
public/vendor/emojify/images/point_up_2.png | Bin 0 -> 3181 bytes
public/vendor/emojify/images/police_car.png | Bin 0 -> 3349 bytes
public/vendor/emojify/images/poodle.png | Bin 0 -> 6852 bytes
public/vendor/emojify/images/poop.png | Bin 0 -> 4754 bytes
public/vendor/emojify/images/post_office.png | Bin 0 -> 5136 bytes
public/vendor/emojify/images/postal_horn.png | Bin 0 -> 4735 bytes
public/vendor/emojify/images/postbox.png | Bin 0 -> 3388 bytes
public/vendor/emojify/images/potable_water.png | Bin 0 -> 3934 bytes
public/vendor/emojify/images/pouch.png | Bin 0 -> 4642 bytes
public/vendor/emojify/images/poultry_leg.png | Bin 0 -> 4200 bytes
public/vendor/emojify/images/pound.png | Bin 0 -> 4235 bytes
public/vendor/emojify/images/pouting_cat.png | Bin 0 -> 4918 bytes
public/vendor/emojify/images/pray.png | Bin 0 -> 6203 bytes
public/vendor/emojify/images/princess.png | Bin 0 -> 7920 bytes
public/vendor/emojify/images/punch.png | Bin 0 -> 4833 bytes
public/vendor/emojify/images/purple_heart.png | Bin 0 -> 4295 bytes
public/vendor/emojify/images/purse.png | Bin 0 -> 5033 bytes
public/vendor/emojify/images/pushpin.png | Bin 0 -> 3793 bytes
.../emojify/images/put_litter_in_its_place.png | Bin 0 -> 4091 bytes
public/vendor/emojify/images/question.png | Bin 0 -> 1711 bytes
public/vendor/emojify/images/rabbit.png | Bin 0 -> 5677 bytes
public/vendor/emojify/images/rabbit2.png | Bin 0 -> 4425 bytes
public/vendor/emojify/images/racehorse.png | Bin 0 -> 4735 bytes
public/vendor/emojify/images/radio.png | Bin 0 -> 6150 bytes
public/vendor/emojify/images/radio_button.png | Bin 0 -> 2198 bytes
public/vendor/emojify/images/rage.png | Bin 0 -> 5410 bytes
public/vendor/emojify/images/rage1.png | Bin 0 -> 1086 bytes
public/vendor/emojify/images/rage2.png | Bin 0 -> 1098 bytes
public/vendor/emojify/images/rage3.png | Bin 0 -> 1119 bytes
public/vendor/emojify/images/rage4.png | Bin 0 -> 1270 bytes
public/vendor/emojify/images/railway_car.png | Bin 0 -> 3648 bytes
public/vendor/emojify/images/rainbow.png | Bin 0 -> 5314 bytes
public/vendor/emojify/images/raised_hand.png | Bin 0 -> 4161 bytes
public/vendor/emojify/images/raised_hands.png | Bin 0 -> 5375 bytes
public/vendor/emojify/images/raising_hand.png | Bin 0 -> 6177 bytes
public/vendor/emojify/images/ram.png | Bin 0 -> 6531 bytes
public/vendor/emojify/images/ramen.png | Bin 0 -> 6574 bytes
public/vendor/emojify/images/rat.png | Bin 0 -> 5434 bytes
public/vendor/emojify/images/recycle.png | Bin 0 -> 3704 bytes
public/vendor/emojify/images/red_car.png | Bin 0 -> 4278 bytes
public/vendor/emojify/images/red_circle.png | Bin 0 -> 3946 bytes
public/vendor/emojify/images/registered.png | Bin 0 -> 1613 bytes
public/vendor/emojify/images/relaxed.png | Bin 0 -> 5455 bytes
public/vendor/emojify/images/relieved.png | Bin 0 -> 5364 bytes
public/vendor/emojify/images/repeat.png | Bin 0 -> 4009 bytes
public/vendor/emojify/images/repeat_one.png | Bin 0 -> 4287 bytes
public/vendor/emojify/images/restroom.png | Bin 0 -> 4142 bytes
public/vendor/emojify/images/revolving_hearts.png | Bin 0 -> 5472 bytes
public/vendor/emojify/images/rewind.png | Bin 0 -> 3056 bytes
public/vendor/emojify/images/ribbon.png | Bin 0 -> 5581 bytes
public/vendor/emojify/images/rice.png | Bin 0 -> 4645 bytes
public/vendor/emojify/images/rice_ball.png | Bin 0 -> 5371 bytes
public/vendor/emojify/images/rice_cracker.png | Bin 0 -> 7787 bytes
public/vendor/emojify/images/rice_scene.png | Bin 0 -> 6261 bytes
public/vendor/emojify/images/ring.png | Bin 0 -> 5232 bytes
public/vendor/emojify/images/rocket.png | Bin 0 -> 5388 bytes
public/vendor/emojify/images/roller_coaster.png | Bin 0 -> 5148 bytes
public/vendor/emojify/images/rooster.png | Bin 0 -> 6168 bytes
public/vendor/emojify/images/rose.png | Bin 0 -> 4202 bytes
public/vendor/emojify/images/rotating_light.png | Bin 0 -> 6620 bytes
public/vendor/emojify/images/round_pushpin.png | Bin 0 -> 1936 bytes
public/vendor/emojify/images/rowboat.png | Bin 0 -> 5357 bytes
public/vendor/emojify/images/ru.png | Bin 0 -> 3920 bytes
public/vendor/emojify/images/rugby_football.png | Bin 0 -> 7781 bytes
public/vendor/emojify/images/runner.png | Bin 0 -> 3137 bytes
public/vendor/emojify/images/running.png | Bin 0 -> 3137 bytes
.../emojify/images/running_shirt_with_sash.png | Bin 0 -> 5701 bytes
public/vendor/emojify/images/sa.png | Bin 0 -> 3556 bytes
public/vendor/emojify/images/sagittarius.png | Bin 0 -> 4505 bytes
public/vendor/emojify/images/sailboat.png | Bin 0 -> 3833 bytes
public/vendor/emojify/images/sake.png | Bin 0 -> 5073 bytes
public/vendor/emojify/images/sandal.png | Bin 0 -> 3974 bytes
public/vendor/emojify/images/santa.png | Bin 0 -> 6271 bytes
public/vendor/emojify/images/satellite.png | Bin 0 -> 4867 bytes
public/vendor/emojify/images/satisfied.png | Bin 0 -> 6347 bytes
public/vendor/emojify/images/saxophone.png | Bin 0 -> 4252 bytes
public/vendor/emojify/images/school.png | Bin 0 -> 5446 bytes
public/vendor/emojify/images/school_satchel.png | Bin 0 -> 5741 bytes
public/vendor/emojify/images/scissors.png | Bin 0 -> 3837 bytes
public/vendor/emojify/images/scorpius.png | Bin 0 -> 4566 bytes
public/vendor/emojify/images/scream.png | Bin 0 -> 6482 bytes
public/vendor/emojify/images/scream_cat.png | Bin 0 -> 6844 bytes
public/vendor/emojify/images/scroll.png | Bin 0 -> 6749 bytes
public/vendor/emojify/images/seat.png | Bin 0 -> 6059 bytes
public/vendor/emojify/images/secret.png | Bin 0 -> 5364 bytes
public/vendor/emojify/images/see_no_evil.png | Bin 0 -> 6828 bytes
public/vendor/emojify/images/seedling.png | Bin 0 -> 2190 bytes
public/vendor/emojify/images/seven.png | Bin 0 -> 3055 bytes
public/vendor/emojify/images/shaved_ice.png | Bin 0 -> 5908 bytes
public/vendor/emojify/images/sheep.png | Bin 0 -> 4732 bytes
public/vendor/emojify/images/shell.png | Bin 0 -> 5115 bytes
public/vendor/emojify/images/ship.png | Bin 0 -> 4233 bytes
public/vendor/emojify/images/shipit.png | Bin 0 -> 9351 bytes
public/vendor/emojify/images/shirt.png | Bin 0 -> 4676 bytes
public/vendor/emojify/images/shit.png | Bin 0 -> 4754 bytes
public/vendor/emojify/images/shoe.png | Bin 0 -> 4799 bytes
public/vendor/emojify/images/shower.png | Bin 0 -> 7520 bytes
public/vendor/emojify/images/signal_strength.png | Bin 0 -> 3231 bytes
public/vendor/emojify/images/six.png | Bin 0 -> 3791 bytes
public/vendor/emojify/images/six_pointed_star.png | Bin 0 -> 4854 bytes
public/vendor/emojify/images/ski.png | Bin 0 -> 4167 bytes
public/vendor/emojify/images/skull.png | Bin 0 -> 2428 bytes
public/vendor/emojify/images/sleeping.png | Bin 0 -> 5409 bytes
public/vendor/emojify/images/sleepy.png | Bin 0 -> 5837 bytes
public/vendor/emojify/images/slot_machine.png | Bin 0 -> 4605 bytes
.../vendor/emojify/images/small_blue_diamond.png | Bin 0 -> 1817 bytes
.../vendor/emojify/images/small_orange_diamond.png | Bin 0 -> 1944 bytes
.../vendor/emojify/images/small_red_triangle.png | Bin 0 -> 2054 bytes
.../emojify/images/small_red_triangle_down.png | Bin 0 -> 2157 bytes
public/vendor/emojify/images/smile.png | Bin 0 -> 5890 bytes
public/vendor/emojify/images/smile_cat.png | Bin 0 -> 6117 bytes
public/vendor/emojify/images/smiley.png | Bin 0 -> 5794 bytes
public/vendor/emojify/images/smiley_cat.png | Bin 0 -> 6083 bytes
public/vendor/emojify/images/smiling_imp.png | Bin 0 -> 7189 bytes
public/vendor/emojify/images/smirk.png | Bin 0 -> 5307 bytes
public/vendor/emojify/images/smirk_cat.png | Bin 0 -> 6062 bytes
public/vendor/emojify/images/smoking.png | Bin 0 -> 2875 bytes
public/vendor/emojify/images/snail.png | Bin 0 -> 6657 bytes
public/vendor/emojify/images/snake.png | Bin 0 -> 4069 bytes
public/vendor/emojify/images/snowboarder.png | Bin 0 -> 5356 bytes
public/vendor/emojify/images/snowflake.png | Bin 0 -> 5637 bytes
public/vendor/emojify/images/snowman.png | Bin 0 -> 4658 bytes
public/vendor/emojify/images/sob.png | Bin 0 -> 5709 bytes
public/vendor/emojify/images/soccer.png | Bin 0 -> 4878 bytes
public/vendor/emojify/images/soon.png | Bin 0 -> 1551 bytes
public/vendor/emojify/images/sos.png | Bin 0 -> 4262 bytes
public/vendor/emojify/images/sound.png | Bin 0 -> 5024 bytes
public/vendor/emojify/images/space_invader.png | Bin 0 -> 4353 bytes
public/vendor/emojify/images/spades.png | Bin 0 -> 1719 bytes
public/vendor/emojify/images/spaghetti.png | Bin 0 -> 6955 bytes
public/vendor/emojify/images/sparkle.png | Bin 0 -> 8904 bytes
public/vendor/emojify/images/sparkler.png | Bin 0 -> 5696 bytes
public/vendor/emojify/images/sparkles.png | Bin 0 -> 2209 bytes
public/vendor/emojify/images/sparkling_heart.png | Bin 0 -> 5357 bytes
public/vendor/emojify/images/speak_no_evil.png | Bin 0 -> 5977 bytes
public/vendor/emojify/images/speaker.png | Bin 0 -> 5173 bytes
public/vendor/emojify/images/speech_balloon.png | Bin 0 -> 2130 bytes
public/vendor/emojify/images/speedboat.png | Bin 0 -> 3512 bytes
public/vendor/emojify/images/squirrel.png | Bin 0 -> 9351 bytes
public/vendor/emojify/images/star.png | Bin 0 -> 3628 bytes
public/vendor/emojify/images/star2.png | Bin 0 -> 4068 bytes
public/vendor/emojify/images/stars.png | Bin 0 -> 4366 bytes
public/vendor/emojify/images/station.png | Bin 0 -> 4836 bytes
public/vendor/emojify/images/statue_of_liberty.png | Bin 0 -> 6075 bytes
public/vendor/emojify/images/steam_locomotive.png | Bin 0 -> 5159 bytes
public/vendor/emojify/images/stew.png | Bin 0 -> 5365 bytes
public/vendor/emojify/images/straight_ruler.png | Bin 0 -> 3797 bytes
public/vendor/emojify/images/strawberry.png | Bin 0 -> 5477 bytes
public/vendor/emojify/images/stuck_out_tongue.png | Bin 0 -> 5215 bytes
.../images/stuck_out_tongue_closed_eyes.png | Bin 0 -> 5785 bytes
.../images/stuck_out_tongue_winking_eye.png | Bin 0 -> 6007 bytes
public/vendor/emojify/images/sun_with_face.png | Bin 0 -> 7958 bytes
public/vendor/emojify/images/sunflower.png | Bin 0 -> 6567 bytes
public/vendor/emojify/images/sunglasses.png | Bin 0 -> 5730 bytes
public/vendor/emojify/images/sunny.png | Bin 0 -> 3802 bytes
public/vendor/emojify/images/sunrise.png | Bin 0 -> 3914 bytes
.../emojify/images/sunrise_over_mountains.png | Bin 0 -> 6594 bytes
public/vendor/emojify/images/surfer.png | Bin 0 -> 6259 bytes
public/vendor/emojify/images/sushi.png | Bin 0 -> 5257 bytes
public/vendor/emojify/images/suspect.png | Bin 0 -> 1016 bytes
.../vendor/emojify/images/suspension_railway.png | Bin 0 -> 3937 bytes
public/vendor/emojify/images/sweat.png | Bin 0 -> 5576 bytes
public/vendor/emojify/images/sweat_drops.png | Bin 0 -> 4782 bytes
public/vendor/emojify/images/sweat_smile.png | Bin 0 -> 6519 bytes
public/vendor/emojify/images/sweet_potato.png | Bin 0 -> 5551 bytes
public/vendor/emojify/images/swimmer.png | Bin 0 -> 4378 bytes
public/vendor/emojify/images/symbols.png | Bin 0 -> 5434 bytes
public/vendor/emojify/images/syringe.png | Bin 0 -> 3027 bytes
public/vendor/emojify/images/tada.png | Bin 0 -> 5945 bytes
public/vendor/emojify/images/tanabata_tree.png | Bin 0 -> 4296 bytes
public/vendor/emojify/images/tangerine.png | Bin 0 -> 6645 bytes
public/vendor/emojify/images/taurus.png | Bin 0 -> 4733 bytes
public/vendor/emojify/images/taxi.png | Bin 0 -> 3744 bytes
public/vendor/emojify/images/tea.png | Bin 0 -> 5954 bytes
public/vendor/emojify/images/telephone.png | Bin 0 -> 5495 bytes
.../vendor/emojify/images/telephone_receiver.png | Bin 0 -> 2001 bytes
public/vendor/emojify/images/telescope.png | Bin 0 -> 3252 bytes
public/vendor/emojify/images/tennis.png | Bin 0 -> 5976 bytes
public/vendor/emojify/images/tent.png | Bin 0 -> 4482 bytes
public/vendor/emojify/images/thought_balloon.png | Bin 0 -> 2521 bytes
public/vendor/emojify/images/three.png | Bin 0 -> 3758 bytes
public/vendor/emojify/images/thumbsdown.png | Bin 0 -> 5070 bytes
public/vendor/emojify/images/thumbsup.png | Bin 0 -> 5075 bytes
public/vendor/emojify/images/ticket.png | Bin 0 -> 3091 bytes
public/vendor/emojify/images/tiger.png | Bin 0 -> 6051 bytes
public/vendor/emojify/images/tiger2.png | Bin 0 -> 5744 bytes
public/vendor/emojify/images/tired_face.png | Bin 0 -> 6174 bytes
public/vendor/emojify/images/tm.png | Bin 0 -> 842 bytes
public/vendor/emojify/images/toilet.png | Bin 0 -> 1733 bytes
public/vendor/emojify/images/tokyo_tower.png | Bin 0 -> 4802 bytes
public/vendor/emojify/images/tomato.png | Bin 0 -> 5748 bytes
public/vendor/emojify/images/tongue.png | Bin 0 -> 3662 bytes
public/vendor/emojify/images/top.png | Bin 0 -> 3785 bytes
public/vendor/emojify/images/tophat.png | Bin 0 -> 3009 bytes
public/vendor/emojify/images/tractor.png | Bin 0 -> 5671 bytes
public/vendor/emojify/images/traffic_light.png | Bin 0 -> 3535 bytes
public/vendor/emojify/images/train.png | Bin 0 -> 3905 bytes
public/vendor/emojify/images/train2.png | Bin 0 -> 4817 bytes
public/vendor/emojify/images/tram.png | Bin 0 -> 4869 bytes
.../emojify/images/triangular_flag_on_post.png | Bin 0 -> 1399 bytes
public/vendor/emojify/images/triangular_ruler.png | Bin 0 -> 2706 bytes
public/vendor/emojify/images/trident.png | Bin 0 -> 4833 bytes
public/vendor/emojify/images/triumph.png | Bin 0 -> 6164 bytes
public/vendor/emojify/images/trolleybus.png | Bin 0 -> 4431 bytes
public/vendor/emojify/images/trollface.png | Bin 0 -> 4901 bytes
public/vendor/emojify/images/trophy.png | Bin 0 -> 5520 bytes
public/vendor/emojify/images/tropical_drink.png | Bin 0 -> 4189 bytes
public/vendor/emojify/images/tropical_fish.png | Bin 0 -> 5846 bytes
public/vendor/emojify/images/truck.png | Bin 0 -> 3721 bytes
public/vendor/emojify/images/trumpet.png | Bin 0 -> 4373 bytes
public/vendor/emojify/images/tshirt.png | Bin 0 -> 4676 bytes
public/vendor/emojify/images/tulip.png | Bin 0 -> 6065 bytes
public/vendor/emojify/images/turtle.png | Bin 0 -> 5336 bytes
public/vendor/emojify/images/tv.png | Bin 0 -> 5242 bytes
.../emojify/images/twisted_rightwards_arrows.png | Bin 0 -> 4313 bytes
public/vendor/emojify/images/two.png | Bin 0 -> 3518 bytes
public/vendor/emojify/images/two_hearts.png | Bin 0 -> 3565 bytes
.../emojify/images/two_men_holding_hands.png | Bin 0 -> 6994 bytes
.../emojify/images/two_women_holding_hands.png | Bin 0 -> 7633 bytes
public/vendor/emojify/images/u5272.png | Bin 0 -> 4533 bytes
public/vendor/emojify/images/u5408.png | Bin 0 -> 3890 bytes
public/vendor/emojify/images/u55b6.png | Bin 0 -> 3411 bytes
public/vendor/emojify/images/u6307.png | Bin 0 -> 4103 bytes
public/vendor/emojify/images/u6708.png | Bin 0 -> 3011 bytes
public/vendor/emojify/images/u6709.png | Bin 0 -> 3198 bytes
public/vendor/emojify/images/u6e80.png | Bin 0 -> 4419 bytes
public/vendor/emojify/images/u7121.png | Bin 0 -> 3942 bytes
public/vendor/emojify/images/u7533.png | Bin 0 -> 3048 bytes
public/vendor/emojify/images/u7981.png | Bin 0 -> 5175 bytes
public/vendor/emojify/images/u7a7a.png | Bin 0 -> 4180 bytes
public/vendor/emojify/images/uk.png | Bin 0 -> 5894 bytes
public/vendor/emojify/images/umbrella.png | Bin 0 -> 4745 bytes
public/vendor/emojify/images/unamused.png | Bin 0 -> 5315 bytes
public/vendor/emojify/images/underage.png | Bin 0 -> 5722 bytes
public/vendor/emojify/images/unlock.png | Bin 0 -> 3551 bytes
public/vendor/emojify/images/up.png | Bin 0 -> 3721 bytes
public/vendor/emojify/images/us.png | Bin 0 -> 6285 bytes
public/vendor/emojify/images/v.png | Bin 0 -> 4669 bytes
.../emojify/images/vertical_traffic_light.png | Bin 0 -> 3422 bytes
public/vendor/emojify/images/vhs.png | Bin 0 -> 3145 bytes
public/vendor/emojify/images/vibration_mode.png | Bin 0 -> 3906 bytes
public/vendor/emojify/images/video_camera.png | Bin 0 -> 5090 bytes
public/vendor/emojify/images/video_game.png | Bin 0 -> 4947 bytes
public/vendor/emojify/images/violin.png | Bin 0 -> 4915 bytes
public/vendor/emojify/images/virgo.png | Bin 0 -> 4869 bytes
public/vendor/emojify/images/volcano.png | Bin 0 -> 6167 bytes
public/vendor/emojify/images/vs.png | Bin 0 -> 3424 bytes
public/vendor/emojify/images/walking.png | Bin 0 -> 2468 bytes
.../vendor/emojify/images/waning_crescent_moon.png | Bin 0 -> 5885 bytes
.../vendor/emojify/images/waning_gibbous_moon.png | Bin 0 -> 6443 bytes
public/vendor/emojify/images/warning.png | Bin 0 -> 3173 bytes
public/vendor/emojify/images/watch.png | Bin 0 -> 5189 bytes
public/vendor/emojify/images/water_buffalo.png | Bin 0 -> 4774 bytes
public/vendor/emojify/images/watermelon.png | Bin 0 -> 5501 bytes
public/vendor/emojify/images/wave.png | Bin 0 -> 5046 bytes
public/vendor/emojify/images/wavy_dash.png | Bin 0 -> 696 bytes
.../vendor/emojify/images/waxing_crescent_moon.png | Bin 0 -> 6198 bytes
.../vendor/emojify/images/waxing_gibbous_moon.png | Bin 0 -> 6357 bytes
public/vendor/emojify/images/wc.png | Bin 0 -> 4088 bytes
public/vendor/emojify/images/weary.png | Bin 0 -> 6279 bytes
public/vendor/emojify/images/wedding.png | Bin 0 -> 5847 bytes
public/vendor/emojify/images/whale.png | Bin 0 -> 4940 bytes
public/vendor/emojify/images/whale2.png | Bin 0 -> 5944 bytes
public/vendor/emojify/images/wheelchair.png | Bin 0 -> 4224 bytes
public/vendor/emojify/images/white_check_mark.png | Bin 0 -> 3445 bytes
public/vendor/emojify/images/white_circle.png | Bin 0 -> 2477 bytes
public/vendor/emojify/images/white_flower.png | Bin 0 -> 4391 bytes
.../vendor/emojify/images/white_large_square.png | Bin 0 -> 1411 bytes
.../emojify/images/white_medium_small_square.png | Bin 0 -> 3598 bytes
.../vendor/emojify/images/white_medium_square.png | Bin 0 -> 4192 bytes
.../vendor/emojify/images/white_small_square.png | Bin 0 -> 3068 bytes
public/vendor/emojify/images/white_square.png | Bin 0 -> 1411 bytes
.../vendor/emojify/images/white_square_button.png | Bin 0 -> 1725 bytes
public/vendor/emojify/images/wind_chime.png | Bin 0 -> 3487 bytes
public/vendor/emojify/images/wine_glass.png | Bin 0 -> 3151 bytes
public/vendor/emojify/images/wink.png | Bin 0 -> 5253 bytes
public/vendor/emojify/images/wink2.png | Bin 0 -> 6007 bytes
public/vendor/emojify/images/wolf.png | Bin 0 -> 4845 bytes
public/vendor/emojify/images/woman.png | Bin 0 -> 6895 bytes
public/vendor/emojify/images/womans_clothes.png | Bin 0 -> 4075 bytes
public/vendor/emojify/images/womans_hat.png | Bin 0 -> 8101 bytes
public/vendor/emojify/images/womens.png | Bin 0 -> 3892 bytes
public/vendor/emojify/images/worried.png | Bin 0 -> 5152 bytes
public/vendor/emojify/images/wrench.png | Bin 0 -> 2775 bytes
public/vendor/emojify/images/x.png | Bin 0 -> 2044 bytes
public/vendor/emojify/images/yellow_heart.png | Bin 0 -> 4414 bytes
public/vendor/emojify/images/yen.png | Bin 0 -> 4989 bytes
public/vendor/emojify/images/yum.png | Bin 0 -> 5886 bytes
public/vendor/emojify/images/zap.png | Bin 0 -> 2233 bytes
public/vendor/emojify/images/zero.png | Bin 0 -> 3590 bytes
public/vendor/emojify/images/zzz.png | Bin 0 -> 2027 bytes
public/vendor/emojify/js/emojify.js | 380 +
public/vendor/emojify/js/emojify.min.js | 4 +
public/vendor/flowchart/flowchart-1.4.0.js | 1423 ++
public/vendor/flowchart/flowchart-1.4.0.min.js | 5 +
public/vendor/font-awesome/css/font-awesome.css | 1801 +++
.../vendor/font-awesome/css/font-awesome.min.css | 4 +
public/vendor/font-awesome/fonts/FontAwesome.otf | Bin 0 -> 93888 bytes
.../font-awesome/fonts/fontawesome-webfont.eot | Bin 0 -> 60767 bytes
.../font-awesome/fonts/fontawesome-webfont.svg | 565 +
.../font-awesome/fonts/fontawesome-webfont.ttf | Bin 0 -> 122092 bytes
.../font-awesome/fonts/fontawesome-webfont.woff | Bin 0 -> 71508 bytes
.../font-awesome/fonts/fontawesome-webfont.woff2 | Bin 0 -> 56780 bytes
public/vendor/font-awesome/less/animated.less | 34 +
.../vendor/font-awesome/less/bordered-pulled.less | 16 +
public/vendor/font-awesome/less/core.less | 13 +
public/vendor/font-awesome/less/fixed-width.less | 6 +
public/vendor/font-awesome/less/font-awesome.less | 17 +
public/vendor/font-awesome/less/icons.less | 596 +
public/vendor/font-awesome/less/larger.less | 13 +
public/vendor/font-awesome/less/list.less | 19 +
public/vendor/font-awesome/less/mixins.less | 27 +
public/vendor/font-awesome/less/path.less | 15 +
.../vendor/font-awesome/less/rotated-flipped.less | 20 +
public/vendor/font-awesome/less/stacked.less | 20 +
public/vendor/font-awesome/less/variables.less | 606 +
public/vendor/font-awesome/scss/_animated.scss | 34 +
.../vendor/font-awesome/scss/_bordered-pulled.scss | 16 +
public/vendor/font-awesome/scss/_core.scss | 13 +
public/vendor/font-awesome/scss/_fixed-width.scss | 6 +
public/vendor/font-awesome/scss/_icons.scss | 596 +
public/vendor/font-awesome/scss/_larger.scss | 13 +
public/vendor/font-awesome/scss/_list.scss | 19 +
public/vendor/font-awesome/scss/_mixins.scss | 27 +
public/vendor/font-awesome/scss/_path.scss | 15 +
.../vendor/font-awesome/scss/_rotated-flipped.scss | 20 +
public/vendor/font-awesome/scss/_stacked.scss | 20 +
public/vendor/font-awesome/scss/_variables.scss | 606 +
public/vendor/font-awesome/scss/font-awesome.scss | 17 +
public/vendor/gist-embed.js | 179 +
public/vendor/handlebars-v3.0.0.js | 3746 +++++
public/vendor/highlight-js/github.min.css | 1 +
public/vendor/highlight-js/highlight.min.js | 2 +
public/vendor/jquery-1.11.2.min.js | 4 +
public/vendor/jquery.cookie-1.4.1.min.js | 2 +
public/vendor/list.min.js | 1 +
public/vendor/lz-string.min.js | 1 +
public/vendor/marked.js | 1272 ++
public/vendor/marked.min.js | 6 +
public/vendor/moment-with-locales.js | 9792 +++++++++++++
public/vendor/raphael-min.js | 11 +
public/vendor/remarkable-regex.js | 83 +
public/vendor/remarkable.js | 9444 +++++++++++++
public/vendor/remarkable.min.js | 4 +
public/vendor/select2/css/select2.css | 421 +
public/vendor/select2/css/select2.min.css | 1 +
public/vendor/select2/js/i18n/az.js | 1 +
public/vendor/select2/js/i18n/bg.js | 1 +
public/vendor/select2/js/i18n/ca.js | 1 +
public/vendor/select2/js/i18n/cs.js | 1 +
public/vendor/select2/js/i18n/da.js | 1 +
public/vendor/select2/js/i18n/de.js | 1 +
public/vendor/select2/js/i18n/en.js | 1 +
public/vendor/select2/js/i18n/es.js | 1 +
public/vendor/select2/js/i18n/et.js | 1 +
public/vendor/select2/js/i18n/eu.js | 1 +
public/vendor/select2/js/i18n/fi.js | 1 +
public/vendor/select2/js/i18n/fr.js | 1 +
public/vendor/select2/js/i18n/gl.js | 1 +
public/vendor/select2/js/i18n/hi.js | 1 +
public/vendor/select2/js/i18n/hr.js | 1 +
public/vendor/select2/js/i18n/hu.js | 1 +
public/vendor/select2/js/i18n/id.js | 1 +
public/vendor/select2/js/i18n/is.js | 1 +
public/vendor/select2/js/i18n/it.js | 1 +
public/vendor/select2/js/i18n/lt.js | 1 +
public/vendor/select2/js/i18n/lv.js | 1 +
public/vendor/select2/js/i18n/mk.js | 1 +
public/vendor/select2/js/i18n/nb.js | 1 +
public/vendor/select2/js/i18n/nl.js | 1 +
public/vendor/select2/js/i18n/pl.js | 1 +
public/vendor/select2/js/i18n/pt-BR.js | 1 +
public/vendor/select2/js/i18n/pt.js | 1 +
public/vendor/select2/js/i18n/ro.js | 1 +
public/vendor/select2/js/i18n/ru.js | 1 +
public/vendor/select2/js/i18n/sk.js | 1 +
public/vendor/select2/js/i18n/sr.js | 1 +
public/vendor/select2/js/i18n/sv.js | 1 +
public/vendor/select2/js/i18n/th.js | 1 +
public/vendor/select2/js/i18n/tr.js | 1 +
public/vendor/select2/js/i18n/uk.js | 1 +
public/vendor/select2/js/i18n/vi.js | 1 +
public/vendor/select2/js/i18n/zh-CN.js | 1 +
public/vendor/select2/js/i18n/zh-TW.js | 1 +
public/vendor/select2/js/select2.amd.full.js | 5326 +++++++
public/vendor/select2/js/select2.amd.js | 4766 +++++++
public/vendor/select2/js/select2.full.js | 5765 ++++++++
public/vendor/select2/js/select2.full.min.js | 3 +
public/vendor/select2/js/select2.js | 5205 +++++++
public/vendor/select2/js/select2.min.js | 2 +
.../sequence-diagrams/sequence-diagram-min.js | 7 +
.../sequence-diagrams/sequence-diagram-min.js.map | 1 +
public/vendor/socket.io-1.3.5.js | 3 +
public/vendor/spin.min.js | 2 +
public/vendor/string.min.js | 3 +
public/vendor/to-markdown.js | 691 +
public/vendor/underscore-min.js | 5 +
public/views/body.ejs | 27 +
public/views/error.ejs | 20 +
public/views/foot.ejs | 30 +
public/views/footer.ejs | 0
public/views/head.ejs | 33 +
public/views/header.ejs | 105 +
public/views/index.ejs | 15 +
public/views/pretty.ejs | 58 +
1379 files changed, 173000 insertions(+)
create mode 100644 Procfile
create mode 100644 README.md
create mode 100644 app.js
create mode 100644 config.js
create mode 100644 lib/auth.js
create mode 100644 lib/db.js
create mode 100644 lib/note.js
create mode 100644 lib/realtime.js
create mode 100644 lib/response.js
create mode 100644 lib/user.js
create mode 100644 package.json
create mode 100644 public/GFM.md
create mode 100644 public/apple-touch-icon.png
create mode 100755 public/css/bootstrap-social.css
create mode 100644 public/css/center.css
create mode 100644 public/css/cover.css
create mode 100644 public/css/extra.css
create mode 100644 public/css/gist.css
create mode 100644 public/css/github-cdn.css
create mode 100644 public/css/github-code-cdn.css
create mode 100644 public/css/github-code-unminify.css
create mode 100644 public/css/github-emoji-unminify.css
create mode 100644 public/css/github-emoji.css
create mode 100644 public/css/github-extract.css
create mode 100755 public/css/github-markdown.css
create mode 100644 public/css/github-unminify.css
create mode 100644 public/css/github.css
create mode 100644 public/css/index.css
create mode 100644 public/css/markdown.css
create mode 100644 public/css/site.css
create mode 100644 public/default.md
create mode 100644 public/favicon.png
create mode 100644 public/features.md
create mode 100644 public/index.html
create mode 100644 public/js/cover.js
create mode 100644 public/js/extra.js
create mode 100644 public/js/ga.js
create mode 100644 public/js/history.js
create mode 100644 public/js/index.js
create mode 100644 public/js/unused.js
create mode 100644 public/vendor/FileSaver.min.js
create mode 100644 public/vendor/bootstrap/css/bootstrap-theme.css
create mode 100644 public/vendor/bootstrap/css/bootstrap-theme.css.map
create mode 100644 public/vendor/bootstrap/css/bootstrap-theme.min.css
create mode 100644 public/vendor/bootstrap/css/bootstrap.css
create mode 100644 public/vendor/bootstrap/css/bootstrap.css.map
create mode 100644 public/vendor/bootstrap/css/bootstrap.min.css
create mode 100644 public/vendor/bootstrap/fonts/glyphicons-halflings-regular.eot
create mode 100644 public/vendor/bootstrap/fonts/glyphicons-halflings-regular.svg
create mode 100644 public/vendor/bootstrap/fonts/glyphicons-halflings-regular.ttf
create mode 100644 public/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff
create mode 100644 public/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff2
create mode 100644 public/vendor/bootstrap/js/bootstrap.js
create mode 100644 public/vendor/bootstrap/js/bootstrap.min.js
create mode 100644 public/vendor/bootstrap/js/npm.js
create mode 100755 public/vendor/codemirror/addon/comment/comment.js
create mode 100755 public/vendor/codemirror/addon/comment/continuecomment.js
create mode 100755 public/vendor/codemirror/addon/dialog/dialog.css
create mode 100755 public/vendor/codemirror/addon/dialog/dialog.js
create mode 100755 public/vendor/codemirror/addon/display/fullscreen.css
create mode 100755 public/vendor/codemirror/addon/display/fullscreen.js
create mode 100755 public/vendor/codemirror/addon/display/panel.js
create mode 100755 public/vendor/codemirror/addon/display/placeholder.js
create mode 100755 public/vendor/codemirror/addon/display/rulers.js
create mode 100755 public/vendor/codemirror/addon/edit/closebrackets.js
create mode 100755 public/vendor/codemirror/addon/edit/closetag.js
create mode 100755 public/vendor/codemirror/addon/edit/continuelist.js
create mode 100755 public/vendor/codemirror/addon/edit/matchbrackets.js
create mode 100755 public/vendor/codemirror/addon/edit/matchtags.js
create mode 100755 public/vendor/codemirror/addon/edit/trailingspace.js
create mode 100755 public/vendor/codemirror/addon/fold/brace-fold.js
create mode 100755 public/vendor/codemirror/addon/fold/comment-fold.js
create mode 100755 public/vendor/codemirror/addon/fold/foldcode.js
create mode 100755 public/vendor/codemirror/addon/fold/foldgutter.css
create mode 100755 public/vendor/codemirror/addon/fold/foldgutter.js
create mode 100755 public/vendor/codemirror/addon/fold/indent-fold.js
create mode 100755 public/vendor/codemirror/addon/fold/markdown-fold.js
create mode 100755 public/vendor/codemirror/addon/fold/xml-fold.js
create mode 100755 public/vendor/codemirror/addon/hint/anyword-hint.js
create mode 100755 public/vendor/codemirror/addon/hint/css-hint.js
create mode 100755 public/vendor/codemirror/addon/hint/html-hint.js
create mode 100755 public/vendor/codemirror/addon/hint/javascript-hint.js
create mode 100755 public/vendor/codemirror/addon/hint/show-hint.css
create mode 100755 public/vendor/codemirror/addon/hint/show-hint.js
create mode 100755 public/vendor/codemirror/addon/hint/sql-hint.js
create mode 100755 public/vendor/codemirror/addon/hint/xml-hint.js
create mode 100755 public/vendor/codemirror/addon/lint/coffeescript-lint.js
create mode 100755 public/vendor/codemirror/addon/lint/css-lint.js
create mode 100755 public/vendor/codemirror/addon/lint/javascript-lint.js
create mode 100755 public/vendor/codemirror/addon/lint/json-lint.js
create mode 100755 public/vendor/codemirror/addon/lint/lint.css
create mode 100755 public/vendor/codemirror/addon/lint/lint.js
create mode 100755 public/vendor/codemirror/addon/lint/yaml-lint.js
create mode 100755 public/vendor/codemirror/addon/merge/merge.css
create mode 100755 public/vendor/codemirror/addon/merge/merge.js
create mode 100755 public/vendor/codemirror/addon/mode/loadmode.js
create mode 100755 public/vendor/codemirror/addon/mode/multiplex.js
create mode 100755 public/vendor/codemirror/addon/mode/multiplex_test.js
create mode 100755 public/vendor/codemirror/addon/mode/overlay.js
create mode 100755 public/vendor/codemirror/addon/mode/simple.js
create mode 100755 public/vendor/codemirror/addon/runmode/colorize.js
create mode 100755 public/vendor/codemirror/addon/runmode/runmode-standalone.js
create mode 100755 public/vendor/codemirror/addon/runmode/runmode.js
create mode 100755 public/vendor/codemirror/addon/runmode/runmode.node.js
create mode 100755 public/vendor/codemirror/addon/scroll/annotatescrollbar.js
create mode 100755 public/vendor/codemirror/addon/scroll/scrollpastend.js
create mode 100755 public/vendor/codemirror/addon/scroll/simplescrollbars.css
create mode 100755 public/vendor/codemirror/addon/scroll/simplescrollbars.js
create mode 100755 public/vendor/codemirror/addon/search/match-highlighter.js
create mode 100755 public/vendor/codemirror/addon/search/matchesonscrollbar.css
create mode 100755 public/vendor/codemirror/addon/search/matchesonscrollbar.js
create mode 100755 public/vendor/codemirror/addon/search/search.js
create mode 100755 public/vendor/codemirror/addon/search/searchcursor.js
create mode 100755 public/vendor/codemirror/addon/selection/active-line.js
create mode 100755 public/vendor/codemirror/addon/selection/mark-selection.js
create mode 100755 public/vendor/codemirror/addon/selection/selection-pointer.js
create mode 100755 public/vendor/codemirror/addon/tern/tern.css
create mode 100755 public/vendor/codemirror/addon/tern/tern.js
create mode 100755 public/vendor/codemirror/addon/tern/worker.js
create mode 100755 public/vendor/codemirror/addon/wrap/hardwrap.js
create mode 100644 public/vendor/codemirror/codemirror.min.js
create mode 100644 public/vendor/codemirror/compress.sh
create mode 100755 public/vendor/codemirror/keymap/emacs.js
create mode 100755 public/vendor/codemirror/keymap/sublime.js
create mode 100755 public/vendor/codemirror/keymap/vim.js
create mode 100755 public/vendor/codemirror/lib/codemirror.css
create mode 100755 public/vendor/codemirror/lib/codemirror.js
create mode 100755 public/vendor/codemirror/mode/apl/apl.js
create mode 100755 public/vendor/codemirror/mode/apl/index.html
create mode 100755 public/vendor/codemirror/mode/asciiarmor/asciiarmor.js
create mode 100755 public/vendor/codemirror/mode/asciiarmor/index.html
create mode 100755 public/vendor/codemirror/mode/asterisk/asterisk.js
create mode 100755 public/vendor/codemirror/mode/asterisk/index.html
create mode 100755 public/vendor/codemirror/mode/clike/clike.js
create mode 100755 public/vendor/codemirror/mode/clike/index.html
create mode 100755 public/vendor/codemirror/mode/clike/scala.html
create mode 100755 public/vendor/codemirror/mode/clojure/clojure.js
create mode 100755 public/vendor/codemirror/mode/clojure/index.html
create mode 100755 public/vendor/codemirror/mode/cmake/cmake.js
create mode 100755 public/vendor/codemirror/mode/cmake/index.html
create mode 100755 public/vendor/codemirror/mode/cobol/cobol.js
create mode 100755 public/vendor/codemirror/mode/cobol/index.html
create mode 100755 public/vendor/codemirror/mode/coffeescript/coffeescript.js
create mode 100755 public/vendor/codemirror/mode/coffeescript/index.html
create mode 100755 public/vendor/codemirror/mode/commonlisp/commonlisp.js
create mode 100755 public/vendor/codemirror/mode/commonlisp/index.html
create mode 100755 public/vendor/codemirror/mode/css/css.js
create mode 100755 public/vendor/codemirror/mode/css/index.html
create mode 100755 public/vendor/codemirror/mode/css/less.html
create mode 100755 public/vendor/codemirror/mode/css/less_test.js
create mode 100755 public/vendor/codemirror/mode/css/scss.html
create mode 100755 public/vendor/codemirror/mode/css/scss_test.js
create mode 100755 public/vendor/codemirror/mode/css/test.js
create mode 100755 public/vendor/codemirror/mode/cypher/cypher.js
create mode 100755 public/vendor/codemirror/mode/cypher/index.html
create mode 100755 public/vendor/codemirror/mode/d/d.js
create mode 100755 public/vendor/codemirror/mode/d/index.html
create mode 100755 public/vendor/codemirror/mode/dart/dart.js
create mode 100755 public/vendor/codemirror/mode/dart/index.html
create mode 100755 public/vendor/codemirror/mode/diff/diff.js
create mode 100755 public/vendor/codemirror/mode/diff/index.html
create mode 100755 public/vendor/codemirror/mode/django/django.js
create mode 100755 public/vendor/codemirror/mode/django/index.html
create mode 100755 public/vendor/codemirror/mode/dockerfile/dockerfile.js
create mode 100755 public/vendor/codemirror/mode/dockerfile/index.html
create mode 100755 public/vendor/codemirror/mode/dtd/dtd.js
create mode 100755 public/vendor/codemirror/mode/dtd/index.html
create mode 100755 public/vendor/codemirror/mode/dylan/dylan.js
create mode 100755 public/vendor/codemirror/mode/dylan/index.html
create mode 100755 public/vendor/codemirror/mode/ebnf/ebnf.js
create mode 100755 public/vendor/codemirror/mode/ebnf/index.html
create mode 100755 public/vendor/codemirror/mode/ecl/ecl.js
create mode 100755 public/vendor/codemirror/mode/ecl/index.html
create mode 100755 public/vendor/codemirror/mode/eiffel/eiffel.js
create mode 100755 public/vendor/codemirror/mode/eiffel/index.html
create mode 100755 public/vendor/codemirror/mode/erlang/erlang.js
create mode 100755 public/vendor/codemirror/mode/erlang/index.html
create mode 100755 public/vendor/codemirror/mode/forth/forth.js
create mode 100755 public/vendor/codemirror/mode/forth/index.html
create mode 100755 public/vendor/codemirror/mode/fortran/fortran.js
create mode 100755 public/vendor/codemirror/mode/fortran/index.html
create mode 100755 public/vendor/codemirror/mode/gas/gas.js
create mode 100755 public/vendor/codemirror/mode/gas/index.html
create mode 100755 public/vendor/codemirror/mode/gfm/gfm.js
create mode 100755 public/vendor/codemirror/mode/gfm/index.html
create mode 100755 public/vendor/codemirror/mode/gfm/test.js
create mode 100755 public/vendor/codemirror/mode/gherkin/gherkin.js
create mode 100755 public/vendor/codemirror/mode/gherkin/index.html
create mode 100755 public/vendor/codemirror/mode/go/go.js
create mode 100755 public/vendor/codemirror/mode/go/index.html
create mode 100755 public/vendor/codemirror/mode/groovy/groovy.js
create mode 100755 public/vendor/codemirror/mode/groovy/index.html
create mode 100755 public/vendor/codemirror/mode/haml/haml.js
create mode 100755 public/vendor/codemirror/mode/haml/index.html
create mode 100755 public/vendor/codemirror/mode/haml/test.js
create mode 100755 public/vendor/codemirror/mode/handlebars/handlebars.js
create mode 100755 public/vendor/codemirror/mode/handlebars/index.html
create mode 100755 public/vendor/codemirror/mode/haskell/haskell.js
create mode 100755 public/vendor/codemirror/mode/haskell/index.html
create mode 100755 public/vendor/codemirror/mode/haxe/haxe.js
create mode 100755 public/vendor/codemirror/mode/haxe/index.html
create mode 100755 public/vendor/codemirror/mode/htmlembedded/htmlembedded.js
create mode 100755 public/vendor/codemirror/mode/htmlembedded/index.html
create mode 100755 public/vendor/codemirror/mode/htmlmixed/htmlmixed.js
create mode 100755 public/vendor/codemirror/mode/htmlmixed/index.html
create mode 100755 public/vendor/codemirror/mode/http/http.js
create mode 100755 public/vendor/codemirror/mode/http/index.html
create mode 100755 public/vendor/codemirror/mode/idl/idl.js
create mode 100755 public/vendor/codemirror/mode/idl/index.html
create mode 100755 public/vendor/codemirror/mode/index.html
create mode 100755 public/vendor/codemirror/mode/jade/index.html
create mode 100755 public/vendor/codemirror/mode/jade/jade.js
create mode 100755 public/vendor/codemirror/mode/javascript/index.html
create mode 100755 public/vendor/codemirror/mode/javascript/javascript.js
create mode 100755 public/vendor/codemirror/mode/javascript/json-ld.html
create mode 100755 public/vendor/codemirror/mode/javascript/test.js
create mode 100755 public/vendor/codemirror/mode/javascript/typescript.html
create mode 100755 public/vendor/codemirror/mode/jinja2/index.html
create mode 100755 public/vendor/codemirror/mode/jinja2/jinja2.js
create mode 100755 public/vendor/codemirror/mode/julia/index.html
create mode 100755 public/vendor/codemirror/mode/julia/julia.js
create mode 100755 public/vendor/codemirror/mode/kotlin/index.html
create mode 100755 public/vendor/codemirror/mode/kotlin/kotlin.js
create mode 100755 public/vendor/codemirror/mode/livescript/index.html
create mode 100755 public/vendor/codemirror/mode/livescript/livescript.js
create mode 100755 public/vendor/codemirror/mode/lua/index.html
create mode 100755 public/vendor/codemirror/mode/lua/lua.js
create mode 100755 public/vendor/codemirror/mode/markdown/index.html
create mode 100755 public/vendor/codemirror/mode/markdown/markdown.js
create mode 100755 public/vendor/codemirror/mode/markdown/test.js
create mode 100755 public/vendor/codemirror/mode/meta.js
create mode 100755 public/vendor/codemirror/mode/mirc/index.html
create mode 100755 public/vendor/codemirror/mode/mirc/mirc.js
create mode 100755 public/vendor/codemirror/mode/mllike/index.html
create mode 100755 public/vendor/codemirror/mode/mllike/mllike.js
create mode 100755 public/vendor/codemirror/mode/modelica/index.html
create mode 100755 public/vendor/codemirror/mode/modelica/modelica.js
create mode 100755 public/vendor/codemirror/mode/mumps/index.html
create mode 100755 public/vendor/codemirror/mode/mumps/mumps.js
create mode 100755 public/vendor/codemirror/mode/nginx/index.html
create mode 100755 public/vendor/codemirror/mode/nginx/nginx.js
create mode 100755 public/vendor/codemirror/mode/ntriples/index.html
create mode 100755 public/vendor/codemirror/mode/ntriples/ntriples.js
create mode 100755 public/vendor/codemirror/mode/octave/index.html
create mode 100755 public/vendor/codemirror/mode/octave/octave.js
create mode 100755 public/vendor/codemirror/mode/pascal/index.html
create mode 100755 public/vendor/codemirror/mode/pascal/pascal.js
create mode 100755 public/vendor/codemirror/mode/pegjs/index.html
create mode 100755 public/vendor/codemirror/mode/pegjs/pegjs.js
create mode 100755 public/vendor/codemirror/mode/perl/index.html
create mode 100755 public/vendor/codemirror/mode/perl/perl.js
create mode 100755 public/vendor/codemirror/mode/php/index.html
create mode 100755 public/vendor/codemirror/mode/php/php.js
create mode 100755 public/vendor/codemirror/mode/php/test.js
create mode 100755 public/vendor/codemirror/mode/pig/index.html
create mode 100755 public/vendor/codemirror/mode/pig/pig.js
create mode 100755 public/vendor/codemirror/mode/properties/index.html
create mode 100755 public/vendor/codemirror/mode/properties/properties.js
create mode 100755 public/vendor/codemirror/mode/puppet/index.html
create mode 100755 public/vendor/codemirror/mode/puppet/puppet.js
create mode 100755 public/vendor/codemirror/mode/python/index.html
create mode 100755 public/vendor/codemirror/mode/python/python.js
create mode 100755 public/vendor/codemirror/mode/q/index.html
create mode 100755 public/vendor/codemirror/mode/q/q.js
create mode 100755 public/vendor/codemirror/mode/r/index.html
create mode 100755 public/vendor/codemirror/mode/r/r.js
create mode 100755 public/vendor/codemirror/mode/rpm/changes/index.html
create mode 100755 public/vendor/codemirror/mode/rpm/index.html
create mode 100755 public/vendor/codemirror/mode/rpm/rpm.js
create mode 100755 public/vendor/codemirror/mode/rst/index.html
create mode 100755 public/vendor/codemirror/mode/rst/rst.js
create mode 100755 public/vendor/codemirror/mode/ruby/index.html
create mode 100755 public/vendor/codemirror/mode/ruby/ruby.js
create mode 100755 public/vendor/codemirror/mode/ruby/test.js
create mode 100755 public/vendor/codemirror/mode/rust/index.html
create mode 100755 public/vendor/codemirror/mode/rust/rust.js
create mode 100755 public/vendor/codemirror/mode/sass/index.html
create mode 100755 public/vendor/codemirror/mode/sass/sass.js
create mode 100755 public/vendor/codemirror/mode/scheme/index.html
create mode 100755 public/vendor/codemirror/mode/scheme/scheme.js
create mode 100755 public/vendor/codemirror/mode/shell/index.html
create mode 100755 public/vendor/codemirror/mode/shell/shell.js
create mode 100755 public/vendor/codemirror/mode/shell/test.js
create mode 100755 public/vendor/codemirror/mode/sieve/index.html
create mode 100755 public/vendor/codemirror/mode/sieve/sieve.js
create mode 100755 public/vendor/codemirror/mode/slim/index.html
create mode 100755 public/vendor/codemirror/mode/slim/slim.js
create mode 100755 public/vendor/codemirror/mode/slim/test.js
create mode 100755 public/vendor/codemirror/mode/smalltalk/index.html
create mode 100755 public/vendor/codemirror/mode/smalltalk/smalltalk.js
create mode 100755 public/vendor/codemirror/mode/smarty/index.html
create mode 100755 public/vendor/codemirror/mode/smarty/smarty.js
create mode 100755 public/vendor/codemirror/mode/solr/index.html
create mode 100755 public/vendor/codemirror/mode/solr/solr.js
create mode 100755 public/vendor/codemirror/mode/soy/index.html
create mode 100755 public/vendor/codemirror/mode/soy/soy.js
create mode 100755 public/vendor/codemirror/mode/sparql/index.html
create mode 100755 public/vendor/codemirror/mode/sparql/sparql.js
create mode 100755 public/vendor/codemirror/mode/spreadsheet/index.html
create mode 100755 public/vendor/codemirror/mode/spreadsheet/spreadsheet.js
create mode 100755 public/vendor/codemirror/mode/sql/index.html
create mode 100755 public/vendor/codemirror/mode/sql/sql.js
create mode 100755 public/vendor/codemirror/mode/stex/index.html
create mode 100755 public/vendor/codemirror/mode/stex/stex.js
create mode 100755 public/vendor/codemirror/mode/stex/test.js
create mode 100755 public/vendor/codemirror/mode/stylus/index.html
create mode 100755 public/vendor/codemirror/mode/stylus/stylus.js
create mode 100755 public/vendor/codemirror/mode/tcl/index.html
create mode 100755 public/vendor/codemirror/mode/tcl/tcl.js
create mode 100755 public/vendor/codemirror/mode/textile/index.html
create mode 100755 public/vendor/codemirror/mode/textile/test.js
create mode 100755 public/vendor/codemirror/mode/textile/textile.js
create mode 100755 public/vendor/codemirror/mode/tiddlywiki/index.html
create mode 100755 public/vendor/codemirror/mode/tiddlywiki/tiddlywiki.css
create mode 100755 public/vendor/codemirror/mode/tiddlywiki/tiddlywiki.js
create mode 100755 public/vendor/codemirror/mode/tiki/index.html
create mode 100755 public/vendor/codemirror/mode/tiki/tiki.css
create mode 100755 public/vendor/codemirror/mode/tiki/tiki.js
create mode 100755 public/vendor/codemirror/mode/toml/index.html
create mode 100755 public/vendor/codemirror/mode/toml/toml.js
create mode 100755 public/vendor/codemirror/mode/tornado/index.html
create mode 100755 public/vendor/codemirror/mode/tornado/tornado.js
create mode 100755 public/vendor/codemirror/mode/troff/index.html
create mode 100755 public/vendor/codemirror/mode/troff/troff.js
create mode 100755 public/vendor/codemirror/mode/turtle/index.html
create mode 100755 public/vendor/codemirror/mode/turtle/turtle.js
create mode 100755 public/vendor/codemirror/mode/vb/index.html
create mode 100755 public/vendor/codemirror/mode/vb/vb.js
create mode 100755 public/vendor/codemirror/mode/vbscript/index.html
create mode 100755 public/vendor/codemirror/mode/vbscript/vbscript.js
create mode 100755 public/vendor/codemirror/mode/velocity/index.html
create mode 100755 public/vendor/codemirror/mode/velocity/velocity.js
create mode 100755 public/vendor/codemirror/mode/verilog/index.html
create mode 100755 public/vendor/codemirror/mode/verilog/test.js
create mode 100755 public/vendor/codemirror/mode/verilog/verilog.js
create mode 100755 public/vendor/codemirror/mode/xml/index.html
create mode 100755 public/vendor/codemirror/mode/xml/test.js
create mode 100755 public/vendor/codemirror/mode/xml/xml.js
create mode 100755 public/vendor/codemirror/mode/xquery/index.html
create mode 100755 public/vendor/codemirror/mode/xquery/test.js
create mode 100755 public/vendor/codemirror/mode/xquery/xquery.js
create mode 100755 public/vendor/codemirror/mode/yaml/index.html
create mode 100755 public/vendor/codemirror/mode/yaml/yaml.js
create mode 100755 public/vendor/codemirror/mode/z80/index.html
create mode 100755 public/vendor/codemirror/mode/z80/z80.js
create mode 100755 public/vendor/codemirror/theme/3024-day.css
create mode 100755 public/vendor/codemirror/theme/3024-night.css
create mode 100755 public/vendor/codemirror/theme/ambiance-mobile.css
create mode 100755 public/vendor/codemirror/theme/ambiance.css
create mode 100755 public/vendor/codemirror/theme/base16-dark.css
create mode 100755 public/vendor/codemirror/theme/base16-light.css
create mode 100755 public/vendor/codemirror/theme/blackboard.css
create mode 100755 public/vendor/codemirror/theme/cobalt.css
create mode 100755 public/vendor/codemirror/theme/colorforth.css
create mode 100755 public/vendor/codemirror/theme/eclipse.css
create mode 100755 public/vendor/codemirror/theme/elegant.css
create mode 100755 public/vendor/codemirror/theme/erlang-dark.css
create mode 100755 public/vendor/codemirror/theme/lesser-dark.css
create mode 100755 public/vendor/codemirror/theme/liquibyte.css
create mode 100755 public/vendor/codemirror/theme/mbo.css
create mode 100755 public/vendor/codemirror/theme/mdn-like.css
create mode 100755 public/vendor/codemirror/theme/midnight.css
create mode 100755 public/vendor/codemirror/theme/monokai.css
create mode 100755 public/vendor/codemirror/theme/neat.css
create mode 100755 public/vendor/codemirror/theme/neo.css
create mode 100755 public/vendor/codemirror/theme/night.css
create mode 100755 public/vendor/codemirror/theme/paraiso-dark.css
create mode 100755 public/vendor/codemirror/theme/paraiso-light.css
create mode 100755 public/vendor/codemirror/theme/pastel-on-dark.css
create mode 100755 public/vendor/codemirror/theme/rubyblue.css
create mode 100755 public/vendor/codemirror/theme/solarized.css
create mode 100755 public/vendor/codemirror/theme/the-matrix.css
create mode 100755 public/vendor/codemirror/theme/tomorrow-night-bright.css
create mode 100755 public/vendor/codemirror/theme/tomorrow-night-eighties.css
create mode 100755 public/vendor/codemirror/theme/twilight.css
create mode 100755 public/vendor/codemirror/theme/vibrant-ink.css
create mode 100755 public/vendor/codemirror/theme/xq-dark.css
create mode 100755 public/vendor/codemirror/theme/xq-light.css
create mode 100755 public/vendor/codemirror/theme/zenburn.css
create mode 100755 public/vendor/emojify/css/emojify.css
create mode 100755 public/vendor/emojify/css/emojify.min.css
create mode 100755 public/vendor/emojify/images/+1.png
create mode 100755 public/vendor/emojify/images/-1.png
create mode 100755 public/vendor/emojify/images/100.png
create mode 100755 public/vendor/emojify/images/109.png
create mode 100755 public/vendor/emojify/images/1234.png
create mode 100755 public/vendor/emojify/images/8ball.png
create mode 100755 public/vendor/emojify/images/a.png
create mode 100755 public/vendor/emojify/images/ab.png
create mode 100755 public/vendor/emojify/images/abc.png
create mode 100755 public/vendor/emojify/images/abcd.png
create mode 100755 public/vendor/emojify/images/accept.png
create mode 100755 public/vendor/emojify/images/aerial_tramway.png
create mode 100755 public/vendor/emojify/images/airplane.png
create mode 100755 public/vendor/emojify/images/alarm_clock.png
create mode 100755 public/vendor/emojify/images/alien.png
create mode 100755 public/vendor/emojify/images/ambulance.png
create mode 100755 public/vendor/emojify/images/anchor.png
create mode 100755 public/vendor/emojify/images/angel.png
create mode 100755 public/vendor/emojify/images/anger.png
create mode 100755 public/vendor/emojify/images/angry.png
create mode 100755 public/vendor/emojify/images/anguished.png
create mode 100755 public/vendor/emojify/images/ant.png
create mode 100755 public/vendor/emojify/images/apple.png
create mode 100755 public/vendor/emojify/images/aquarius.png
create mode 100755 public/vendor/emojify/images/aries.png
create mode 100755 public/vendor/emojify/images/arrow_backward.png
create mode 100755 public/vendor/emojify/images/arrow_double_down.png
create mode 100755 public/vendor/emojify/images/arrow_double_up.png
create mode 100755 public/vendor/emojify/images/arrow_down.png
create mode 100755 public/vendor/emojify/images/arrow_down_small.png
create mode 100755 public/vendor/emojify/images/arrow_forward.png
create mode 100755 public/vendor/emojify/images/arrow_heading_down.png
create mode 100755 public/vendor/emojify/images/arrow_heading_up.png
create mode 100755 public/vendor/emojify/images/arrow_left.png
create mode 100755 public/vendor/emojify/images/arrow_lower_left.png
create mode 100755 public/vendor/emojify/images/arrow_lower_right.png
create mode 100755 public/vendor/emojify/images/arrow_right.png
create mode 100755 public/vendor/emojify/images/arrow_right_hook.png
create mode 100755 public/vendor/emojify/images/arrow_up.png
create mode 100755 public/vendor/emojify/images/arrow_up_down.png
create mode 100755 public/vendor/emojify/images/arrow_up_small.png
create mode 100755 public/vendor/emojify/images/arrow_upper_left.png
create mode 100755 public/vendor/emojify/images/arrow_upper_right.png
create mode 100755 public/vendor/emojify/images/arrows_clockwise.png
create mode 100755 public/vendor/emojify/images/arrows_counterclockwise.png
create mode 100755 public/vendor/emojify/images/art.png
create mode 100755 public/vendor/emojify/images/articulated_lorry.png
create mode 100755 public/vendor/emojify/images/astonished.png
create mode 100755 public/vendor/emojify/images/atm.png
create mode 100755 public/vendor/emojify/images/b.png
create mode 100755 public/vendor/emojify/images/baby.png
create mode 100755 public/vendor/emojify/images/baby_bottle.png
create mode 100755 public/vendor/emojify/images/baby_chick.png
create mode 100755 public/vendor/emojify/images/baby_symbol.png
create mode 100755 public/vendor/emojify/images/back.png
create mode 100755 public/vendor/emojify/images/baggage_claim.png
create mode 100755 public/vendor/emojify/images/balloon.png
create mode 100755 public/vendor/emojify/images/ballot_box_with_check.png
create mode 100755 public/vendor/emojify/images/bamboo.png
create mode 100755 public/vendor/emojify/images/banana.png
create mode 100755 public/vendor/emojify/images/bangbang.png
create mode 100755 public/vendor/emojify/images/bank.png
create mode 100755 public/vendor/emojify/images/bar_chart.png
create mode 100755 public/vendor/emojify/images/barber.png
create mode 100755 public/vendor/emojify/images/baseball.png
create mode 100755 public/vendor/emojify/images/basketball.png
create mode 100755 public/vendor/emojify/images/bath.png
create mode 100755 public/vendor/emojify/images/bathtub.png
create mode 100755 public/vendor/emojify/images/battery.png
create mode 100755 public/vendor/emojify/images/bear.png
create mode 100755 public/vendor/emojify/images/bee.png
create mode 100755 public/vendor/emojify/images/beer.png
create mode 100755 public/vendor/emojify/images/beers.png
create mode 100755 public/vendor/emojify/images/beetle.png
create mode 100755 public/vendor/emojify/images/beginner.png
create mode 100755 public/vendor/emojify/images/bell.png
create mode 100755 public/vendor/emojify/images/bento.png
create mode 100755 public/vendor/emojify/images/bicyclist.png
create mode 100755 public/vendor/emojify/images/bike.png
create mode 100755 public/vendor/emojify/images/bikini.png
create mode 100755 public/vendor/emojify/images/bird.png
create mode 100755 public/vendor/emojify/images/birthday.png
create mode 100755 public/vendor/emojify/images/black_circle.png
create mode 100755 public/vendor/emojify/images/black_joker.png
create mode 100755 public/vendor/emojify/images/black_medium_small_square.png
create mode 100755 public/vendor/emojify/images/black_medium_square.png
create mode 100755 public/vendor/emojify/images/black_nib.png
create mode 100755 public/vendor/emojify/images/black_small_square.png
create mode 100755 public/vendor/emojify/images/black_square.png
create mode 100755 public/vendor/emojify/images/black_square_button.png
create mode 100755 public/vendor/emojify/images/blossom.png
create mode 100755 public/vendor/emojify/images/blowfish.png
create mode 100755 public/vendor/emojify/images/blue_book.png
create mode 100755 public/vendor/emojify/images/blue_car.png
create mode 100755 public/vendor/emojify/images/blue_heart.png
create mode 100755 public/vendor/emojify/images/blush.png
create mode 100755 public/vendor/emojify/images/boar.png
create mode 100755 public/vendor/emojify/images/boat.png
create mode 100755 public/vendor/emojify/images/bomb.png
create mode 100755 public/vendor/emojify/images/book.png
create mode 100755 public/vendor/emojify/images/bookmark.png
create mode 100755 public/vendor/emojify/images/bookmark_tabs.png
create mode 100755 public/vendor/emojify/images/books.png
create mode 100755 public/vendor/emojify/images/boom.png
create mode 100755 public/vendor/emojify/images/boot.png
create mode 100755 public/vendor/emojify/images/bouquet.png
create mode 100755 public/vendor/emojify/images/bow.png
create mode 100755 public/vendor/emojify/images/bowling.png
create mode 100755 public/vendor/emojify/images/bowtie.png
create mode 100755 public/vendor/emojify/images/boy.png
create mode 100755 public/vendor/emojify/images/bread.png
create mode 100755 public/vendor/emojify/images/bride_with_veil.png
create mode 100755 public/vendor/emojify/images/bridge_at_night.png
create mode 100755 public/vendor/emojify/images/briefcase.png
create mode 100755 public/vendor/emojify/images/broken_heart.png
create mode 100755 public/vendor/emojify/images/bug.png
create mode 100755 public/vendor/emojify/images/bulb.png
create mode 100755 public/vendor/emojify/images/bullettrain_front.png
create mode 100755 public/vendor/emojify/images/bullettrain_side.png
create mode 100755 public/vendor/emojify/images/bus.png
create mode 100755 public/vendor/emojify/images/busstop.png
create mode 100755 public/vendor/emojify/images/bust_in_silhouette.png
create mode 100755 public/vendor/emojify/images/busts_in_silhouette.png
create mode 100755 public/vendor/emojify/images/cactus.png
create mode 100755 public/vendor/emojify/images/cake.png
create mode 100755 public/vendor/emojify/images/calendar.png
create mode 100755 public/vendor/emojify/images/calling.png
create mode 100755 public/vendor/emojify/images/camel.png
create mode 100755 public/vendor/emojify/images/camera.png
create mode 100755 public/vendor/emojify/images/cancer.png
create mode 100755 public/vendor/emojify/images/candy.png
create mode 100755 public/vendor/emojify/images/capital_abcd.png
create mode 100755 public/vendor/emojify/images/capricorn.png
create mode 100755 public/vendor/emojify/images/car.png
create mode 100755 public/vendor/emojify/images/card_index.png
create mode 100755 public/vendor/emojify/images/carousel_horse.png
create mode 100755 public/vendor/emojify/images/cat.png
create mode 100755 public/vendor/emojify/images/cat2.png
create mode 100755 public/vendor/emojify/images/cd.png
create mode 100755 public/vendor/emojify/images/chart.png
create mode 100755 public/vendor/emojify/images/chart_with_downwards_trend.png
create mode 100755 public/vendor/emojify/images/chart_with_upwards_trend.png
create mode 100755 public/vendor/emojify/images/checkered_flag.png
create mode 100755 public/vendor/emojify/images/cherries.png
create mode 100755 public/vendor/emojify/images/cherry_blossom.png
create mode 100755 public/vendor/emojify/images/chestnut.png
create mode 100755 public/vendor/emojify/images/chicken.png
create mode 100755 public/vendor/emojify/images/children_crossing.png
create mode 100755 public/vendor/emojify/images/chocolate_bar.png
create mode 100755 public/vendor/emojify/images/christmas_tree.png
create mode 100755 public/vendor/emojify/images/church.png
create mode 100755 public/vendor/emojify/images/cinema.png
create mode 100755 public/vendor/emojify/images/circus_tent.png
create mode 100755 public/vendor/emojify/images/city_sunrise.png
create mode 100755 public/vendor/emojify/images/city_sunset.png
create mode 100755 public/vendor/emojify/images/cl.png
create mode 100755 public/vendor/emojify/images/clap.png
create mode 100755 public/vendor/emojify/images/clapper.png
create mode 100755 public/vendor/emojify/images/clipboard.png
create mode 100755 public/vendor/emojify/images/clock1.png
create mode 100755 public/vendor/emojify/images/clock10.png
create mode 100755 public/vendor/emojify/images/clock1030.png
create mode 100755 public/vendor/emojify/images/clock11.png
create mode 100755 public/vendor/emojify/images/clock1130.png
create mode 100755 public/vendor/emojify/images/clock12.png
create mode 100755 public/vendor/emojify/images/clock1230.png
create mode 100755 public/vendor/emojify/images/clock130.png
create mode 100755 public/vendor/emojify/images/clock2.png
create mode 100755 public/vendor/emojify/images/clock230.png
create mode 100755 public/vendor/emojify/images/clock3.png
create mode 100755 public/vendor/emojify/images/clock330.png
create mode 100755 public/vendor/emojify/images/clock4.png
create mode 100755 public/vendor/emojify/images/clock430.png
create mode 100755 public/vendor/emojify/images/clock5.png
create mode 100755 public/vendor/emojify/images/clock530.png
create mode 100755 public/vendor/emojify/images/clock6.png
create mode 100755 public/vendor/emojify/images/clock630.png
create mode 100755 public/vendor/emojify/images/clock7.png
create mode 100755 public/vendor/emojify/images/clock730.png
create mode 100755 public/vendor/emojify/images/clock8.png
create mode 100755 public/vendor/emojify/images/clock830.png
create mode 100755 public/vendor/emojify/images/clock9.png
create mode 100755 public/vendor/emojify/images/clock930.png
create mode 100755 public/vendor/emojify/images/closed_book.png
create mode 100755 public/vendor/emojify/images/closed_lock_with_key.png
create mode 100755 public/vendor/emojify/images/closed_umbrella.png
create mode 100755 public/vendor/emojify/images/cloud.png
create mode 100755 public/vendor/emojify/images/clubs.png
create mode 100755 public/vendor/emojify/images/cn.png
create mode 100755 public/vendor/emojify/images/cocktail.png
create mode 100755 public/vendor/emojify/images/coffee.png
create mode 100755 public/vendor/emojify/images/cold_sweat.png
create mode 100755 public/vendor/emojify/images/collision.png
create mode 100755 public/vendor/emojify/images/computer.png
create mode 100755 public/vendor/emojify/images/confetti_ball.png
create mode 100755 public/vendor/emojify/images/confounded.png
create mode 100755 public/vendor/emojify/images/confused.png
create mode 100755 public/vendor/emojify/images/congratulations.png
create mode 100755 public/vendor/emojify/images/construction.png
create mode 100755 public/vendor/emojify/images/construction_worker.png
create mode 100755 public/vendor/emojify/images/convenience_store.png
create mode 100755 public/vendor/emojify/images/cookie.png
create mode 100755 public/vendor/emojify/images/cool.png
create mode 100755 public/vendor/emojify/images/cop.png
create mode 100755 public/vendor/emojify/images/copyright.png
create mode 100755 public/vendor/emojify/images/corn.png
create mode 100755 public/vendor/emojify/images/couple.png
create mode 100755 public/vendor/emojify/images/couple_with_heart.png
create mode 100755 public/vendor/emojify/images/couplekiss.png
create mode 100755 public/vendor/emojify/images/cow.png
create mode 100755 public/vendor/emojify/images/cow2.png
create mode 100755 public/vendor/emojify/images/credit_card.png
create mode 100755 public/vendor/emojify/images/crocodile.png
create mode 100755 public/vendor/emojify/images/crossed_flags.png
create mode 100755 public/vendor/emojify/images/crown.png
create mode 100755 public/vendor/emojify/images/cry.png
create mode 100755 public/vendor/emojify/images/crying_cat_face.png
create mode 100755 public/vendor/emojify/images/crystal_ball.png
create mode 100755 public/vendor/emojify/images/cupid.png
create mode 100755 public/vendor/emojify/images/curly_loop.png
create mode 100755 public/vendor/emojify/images/currency_exchange.png
create mode 100755 public/vendor/emojify/images/curry.png
create mode 100755 public/vendor/emojify/images/custard.png
create mode 100755 public/vendor/emojify/images/customs.png
create mode 100755 public/vendor/emojify/images/cyclone.png
create mode 100755 public/vendor/emojify/images/dancer.png
create mode 100755 public/vendor/emojify/images/dancers.png
create mode 100755 public/vendor/emojify/images/dango.png
create mode 100755 public/vendor/emojify/images/dart.png
create mode 100755 public/vendor/emojify/images/dash.png
create mode 100755 public/vendor/emojify/images/date.png
create mode 100755 public/vendor/emojify/images/de.png
create mode 100755 public/vendor/emojify/images/deciduous_tree.png
create mode 100755 public/vendor/emojify/images/department_store.png
create mode 100755 public/vendor/emojify/images/diamond_shape_with_a_dot_inside.png
create mode 100755 public/vendor/emojify/images/diamonds.png
create mode 100755 public/vendor/emojify/images/disappointed.png
create mode 100755 public/vendor/emojify/images/disappointed_relieved.png
create mode 100755 public/vendor/emojify/images/dizzy.png
create mode 100755 public/vendor/emojify/images/dizzy_face.png
create mode 100755 public/vendor/emojify/images/do_not_litter.png
create mode 100755 public/vendor/emojify/images/dog.png
create mode 100755 public/vendor/emojify/images/dog2.png
create mode 100755 public/vendor/emojify/images/dollar.png
create mode 100755 public/vendor/emojify/images/dolls.png
create mode 100755 public/vendor/emojify/images/dolphin.png
create mode 100755 public/vendor/emojify/images/donut.png
create mode 100755 public/vendor/emojify/images/door.png
create mode 100755 public/vendor/emojify/images/doughnut.png
create mode 100755 public/vendor/emojify/images/dragon.png
create mode 100755 public/vendor/emojify/images/dragon_face.png
create mode 100755 public/vendor/emojify/images/dress.png
create mode 100755 public/vendor/emojify/images/dromedary_camel.png
create mode 100755 public/vendor/emojify/images/droplet.png
create mode 100755 public/vendor/emojify/images/dvd.png
create mode 100755 public/vendor/emojify/images/e-mail.png
create mode 100755 public/vendor/emojify/images/ear.png
create mode 100755 public/vendor/emojify/images/ear_of_rice.png
create mode 100755 public/vendor/emojify/images/earth_africa.png
create mode 100755 public/vendor/emojify/images/earth_americas.png
create mode 100755 public/vendor/emojify/images/earth_asia.png
create mode 100755 public/vendor/emojify/images/egg.png
create mode 100755 public/vendor/emojify/images/eggplant.png
create mode 100755 public/vendor/emojify/images/eight.png
create mode 100755 public/vendor/emojify/images/eight_pointed_black_star.png
create mode 100755 public/vendor/emojify/images/eight_spoked_asterisk.png
create mode 100755 public/vendor/emojify/images/electric_plug.png
create mode 100755 public/vendor/emojify/images/elephant.png
create mode 100755 public/vendor/emojify/images/email.png
create mode 100755 public/vendor/emojify/images/end.png
create mode 100755 public/vendor/emojify/images/envelope.png
create mode 100755 public/vendor/emojify/images/es.png
create mode 100755 public/vendor/emojify/images/euro.png
create mode 100755 public/vendor/emojify/images/european_castle.png
create mode 100755 public/vendor/emojify/images/european_post_office.png
create mode 100755 public/vendor/emojify/images/evergreen_tree.png
create mode 100755 public/vendor/emojify/images/exclamation.png
create mode 100755 public/vendor/emojify/images/expressionless.png
create mode 100755 public/vendor/emojify/images/eyeglasses.png
create mode 100755 public/vendor/emojify/images/eyes.png
create mode 100755 public/vendor/emojify/images/facepunch.png
create mode 100755 public/vendor/emojify/images/factory.png
create mode 100755 public/vendor/emojify/images/fallen_leaf.png
create mode 100755 public/vendor/emojify/images/family.png
create mode 100755 public/vendor/emojify/images/fast_forward.png
create mode 100755 public/vendor/emojify/images/fax.png
create mode 100755 public/vendor/emojify/images/fearful.png
create mode 100755 public/vendor/emojify/images/feelsgood.png
create mode 100755 public/vendor/emojify/images/feet.png
create mode 100755 public/vendor/emojify/images/ferris_wheel.png
create mode 100755 public/vendor/emojify/images/file_folder.png
create mode 100755 public/vendor/emojify/images/finnadie.png
create mode 100755 public/vendor/emojify/images/fire.png
create mode 100755 public/vendor/emojify/images/fire_engine.png
create mode 100755 public/vendor/emojify/images/fireworks.png
create mode 100755 public/vendor/emojify/images/first_quarter_moon.png
create mode 100755 public/vendor/emojify/images/first_quarter_moon_with_face.png
create mode 100755 public/vendor/emojify/images/fish.png
create mode 100755 public/vendor/emojify/images/fish_cake.png
create mode 100755 public/vendor/emojify/images/fishing_pole_and_fish.png
create mode 100755 public/vendor/emojify/images/fist.png
create mode 100755 public/vendor/emojify/images/five.png
create mode 100755 public/vendor/emojify/images/flags.png
create mode 100755 public/vendor/emojify/images/flashlight.png
create mode 100755 public/vendor/emojify/images/floppy_disk.png
create mode 100755 public/vendor/emojify/images/flower_playing_cards.png
create mode 100755 public/vendor/emojify/images/flushed.png
create mode 100755 public/vendor/emojify/images/foggy.png
create mode 100755 public/vendor/emojify/images/football.png
create mode 100755 public/vendor/emojify/images/fork_and_knife.png
create mode 100755 public/vendor/emojify/images/fountain.png
create mode 100755 public/vendor/emojify/images/four.png
create mode 100755 public/vendor/emojify/images/four_leaf_clover.png
create mode 100755 public/vendor/emojify/images/fr.png
create mode 100755 public/vendor/emojify/images/free.png
create mode 100755 public/vendor/emojify/images/fried_shrimp.png
create mode 100755 public/vendor/emojify/images/fries.png
create mode 100755 public/vendor/emojify/images/frog.png
create mode 100755 public/vendor/emojify/images/frowning.png
create mode 100755 public/vendor/emojify/images/fu.png
create mode 100755 public/vendor/emojify/images/fuelpump.png
create mode 100755 public/vendor/emojify/images/full_moon.png
create mode 100755 public/vendor/emojify/images/full_moon_with_face.png
create mode 100755 public/vendor/emojify/images/game_die.png
create mode 100755 public/vendor/emojify/images/gb.png
create mode 100755 public/vendor/emojify/images/gem.png
create mode 100755 public/vendor/emojify/images/gemini.png
create mode 100755 public/vendor/emojify/images/ghost.png
create mode 100755 public/vendor/emojify/images/gift.png
create mode 100755 public/vendor/emojify/images/gift_heart.png
create mode 100755 public/vendor/emojify/images/girl.png
create mode 100755 public/vendor/emojify/images/globe_with_meridians.png
create mode 100755 public/vendor/emojify/images/goat.png
create mode 100755 public/vendor/emojify/images/goberserk.png
create mode 100755 public/vendor/emojify/images/godmode.png
create mode 100755 public/vendor/emojify/images/golf.png
create mode 100755 public/vendor/emojify/images/grapes.png
create mode 100755 public/vendor/emojify/images/green_apple.png
create mode 100755 public/vendor/emojify/images/green_book.png
create mode 100755 public/vendor/emojify/images/green_heart.png
create mode 100755 public/vendor/emojify/images/grey_exclamation.png
create mode 100755 public/vendor/emojify/images/grey_question.png
create mode 100755 public/vendor/emojify/images/grimacing.png
create mode 100755 public/vendor/emojify/images/grin.png
create mode 100755 public/vendor/emojify/images/grinning.png
create mode 100755 public/vendor/emojify/images/guardsman.png
create mode 100755 public/vendor/emojify/images/guitar.png
create mode 100755 public/vendor/emojify/images/gun.png
create mode 100755 public/vendor/emojify/images/haircut.png
create mode 100755 public/vendor/emojify/images/hamburger.png
create mode 100755 public/vendor/emojify/images/hammer.png
create mode 100755 public/vendor/emojify/images/hamster.png
create mode 100755 public/vendor/emojify/images/hand.png
create mode 100755 public/vendor/emojify/images/handbag.png
create mode 100755 public/vendor/emojify/images/hankey.png
create mode 100755 public/vendor/emojify/images/hash.png
create mode 100755 public/vendor/emojify/images/hatched_chick.png
create mode 100755 public/vendor/emojify/images/hatching_chick.png
create mode 100755 public/vendor/emojify/images/headphones.png
create mode 100755 public/vendor/emojify/images/hear_no_evil.png
create mode 100755 public/vendor/emojify/images/heart.png
create mode 100755 public/vendor/emojify/images/heart_decoration.png
create mode 100755 public/vendor/emojify/images/heart_eyes.png
create mode 100755 public/vendor/emojify/images/heart_eyes_cat.png
create mode 100755 public/vendor/emojify/images/heartbeat.png
create mode 100755 public/vendor/emojify/images/heartpulse.png
create mode 100755 public/vendor/emojify/images/hearts.png
create mode 100755 public/vendor/emojify/images/heavy_check_mark.png
create mode 100755 public/vendor/emojify/images/heavy_division_sign.png
create mode 100755 public/vendor/emojify/images/heavy_dollar_sign.png
create mode 100755 public/vendor/emojify/images/heavy_exclamation_mark.png
create mode 100755 public/vendor/emojify/images/heavy_minus_sign.png
create mode 100755 public/vendor/emojify/images/heavy_multiplication_x.png
create mode 100755 public/vendor/emojify/images/heavy_plus_sign.png
create mode 100755 public/vendor/emojify/images/helicopter.png
create mode 100755 public/vendor/emojify/images/herb.png
create mode 100755 public/vendor/emojify/images/hibiscus.png
create mode 100755 public/vendor/emojify/images/high_brightness.png
create mode 100755 public/vendor/emojify/images/high_heel.png
create mode 100755 public/vendor/emojify/images/hocho.png
create mode 100755 public/vendor/emojify/images/honey_pot.png
create mode 100755 public/vendor/emojify/images/honeybee.png
create mode 100755 public/vendor/emojify/images/horse.png
create mode 100755 public/vendor/emojify/images/horse_racing.png
create mode 100755 public/vendor/emojify/images/hospital.png
create mode 100755 public/vendor/emojify/images/hotel.png
create mode 100755 public/vendor/emojify/images/hotsprings.png
create mode 100755 public/vendor/emojify/images/hourglass.png
create mode 100755 public/vendor/emojify/images/hourglass_flowing_sand.png
create mode 100755 public/vendor/emojify/images/house.png
create mode 100755 public/vendor/emojify/images/house_with_garden.png
create mode 100755 public/vendor/emojify/images/hurtrealbad.png
create mode 100755 public/vendor/emojify/images/hushed.png
create mode 100755 public/vendor/emojify/images/ice_cream.png
create mode 100755 public/vendor/emojify/images/icecream.png
create mode 100755 public/vendor/emojify/images/id.png
create mode 100755 public/vendor/emojify/images/ideograph_advantage.png
create mode 100755 public/vendor/emojify/images/imp.png
create mode 100755 public/vendor/emojify/images/inbox_tray.png
create mode 100755 public/vendor/emojify/images/incoming_envelope.png
create mode 100755 public/vendor/emojify/images/information_desk_person.png
create mode 100755 public/vendor/emojify/images/information_source.png
create mode 100755 public/vendor/emojify/images/innocent.png
create mode 100755 public/vendor/emojify/images/interrobang.png
create mode 100755 public/vendor/emojify/images/iphone.png
create mode 100755 public/vendor/emojify/images/it.png
create mode 100755 public/vendor/emojify/images/izakaya_lantern.png
create mode 100755 public/vendor/emojify/images/jack_o_lantern.png
create mode 100755 public/vendor/emojify/images/japan.png
create mode 100755 public/vendor/emojify/images/japanese_castle.png
create mode 100755 public/vendor/emojify/images/japanese_goblin.png
create mode 100755 public/vendor/emojify/images/japanese_ogre.png
create mode 100755 public/vendor/emojify/images/jeans.png
create mode 100755 public/vendor/emojify/images/joy.png
create mode 100755 public/vendor/emojify/images/joy_cat.png
create mode 100755 public/vendor/emojify/images/jp.png
create mode 100755 public/vendor/emojify/images/key.png
create mode 100755 public/vendor/emojify/images/keycap_ten.png
create mode 100755 public/vendor/emojify/images/kimono.png
create mode 100755 public/vendor/emojify/images/kiss.png
create mode 100755 public/vendor/emojify/images/kissing.png
create mode 100755 public/vendor/emojify/images/kissing_cat.png
create mode 100755 public/vendor/emojify/images/kissing_closed_eyes.png
create mode 100755 public/vendor/emojify/images/kissing_face.png
create mode 100755 public/vendor/emojify/images/kissing_heart.png
create mode 100755 public/vendor/emojify/images/kissing_smiling_eyes.png
create mode 100755 public/vendor/emojify/images/koala.png
create mode 100755 public/vendor/emojify/images/koko.png
create mode 100755 public/vendor/emojify/images/kr.png
create mode 100755 public/vendor/emojify/images/large_blue_circle.png
create mode 100755 public/vendor/emojify/images/large_blue_diamond.png
create mode 100755 public/vendor/emojify/images/large_orange_diamond.png
create mode 100755 public/vendor/emojify/images/last_quarter_moon.png
create mode 100755 public/vendor/emojify/images/last_quarter_moon_with_face.png
create mode 100755 public/vendor/emojify/images/laughing.png
create mode 100755 public/vendor/emojify/images/leaves.png
create mode 100755 public/vendor/emojify/images/ledger.png
create mode 100755 public/vendor/emojify/images/left_luggage.png
create mode 100755 public/vendor/emojify/images/left_right_arrow.png
create mode 100755 public/vendor/emojify/images/leftwards_arrow_with_hook.png
create mode 100755 public/vendor/emojify/images/lemon.png
create mode 100755 public/vendor/emojify/images/leo.png
create mode 100755 public/vendor/emojify/images/leopard.png
create mode 100755 public/vendor/emojify/images/libra.png
create mode 100755 public/vendor/emojify/images/light_rail.png
create mode 100755 public/vendor/emojify/images/link.png
create mode 100755 public/vendor/emojify/images/lips.png
create mode 100755 public/vendor/emojify/images/lipstick.png
create mode 100755 public/vendor/emojify/images/lock.png
create mode 100755 public/vendor/emojify/images/lock_with_ink_pen.png
create mode 100755 public/vendor/emojify/images/lollipop.png
create mode 100755 public/vendor/emojify/images/loop.png
create mode 100755 public/vendor/emojify/images/loudspeaker.png
create mode 100755 public/vendor/emojify/images/love_hotel.png
create mode 100755 public/vendor/emojify/images/love_letter.png
create mode 100755 public/vendor/emojify/images/low_brightness.png
create mode 100755 public/vendor/emojify/images/m.png
create mode 100755 public/vendor/emojify/images/mag.png
create mode 100755 public/vendor/emojify/images/mag_right.png
create mode 100755 public/vendor/emojify/images/mahjong.png
create mode 100755 public/vendor/emojify/images/mailbox.png
create mode 100755 public/vendor/emojify/images/mailbox_closed.png
create mode 100755 public/vendor/emojify/images/mailbox_with_mail.png
create mode 100755 public/vendor/emojify/images/mailbox_with_no_mail.png
create mode 100755 public/vendor/emojify/images/man.png
create mode 100755 public/vendor/emojify/images/man_with_gua_pi_mao.png
create mode 100755 public/vendor/emojify/images/man_with_turban.png
create mode 100755 public/vendor/emojify/images/mans_shoe.png
create mode 100755 public/vendor/emojify/images/maple_leaf.png
create mode 100755 public/vendor/emojify/images/mask.png
create mode 100755 public/vendor/emojify/images/massage.png
create mode 100755 public/vendor/emojify/images/meat_on_bone.png
create mode 100755 public/vendor/emojify/images/mega.png
create mode 100755 public/vendor/emojify/images/melon.png
create mode 100755 public/vendor/emojify/images/memo.png
create mode 100755 public/vendor/emojify/images/mens.png
create mode 100755 public/vendor/emojify/images/metal.png
create mode 100755 public/vendor/emojify/images/metro.png
create mode 100755 public/vendor/emojify/images/microphone.png
create mode 100755 public/vendor/emojify/images/microscope.png
create mode 100755 public/vendor/emojify/images/milky_way.png
create mode 100755 public/vendor/emojify/images/minibus.png
create mode 100755 public/vendor/emojify/images/minidisc.png
create mode 100755 public/vendor/emojify/images/mobile_phone_off.png
create mode 100755 public/vendor/emojify/images/money_with_wings.png
create mode 100755 public/vendor/emojify/images/moneybag.png
create mode 100755 public/vendor/emojify/images/monkey.png
create mode 100755 public/vendor/emojify/images/monkey_face.png
create mode 100755 public/vendor/emojify/images/monorail.png
create mode 100755 public/vendor/emojify/images/moon.png
create mode 100755 public/vendor/emojify/images/mortar_board.png
create mode 100755 public/vendor/emojify/images/mount_fuji.png
create mode 100755 public/vendor/emojify/images/mountain_bicyclist.png
create mode 100755 public/vendor/emojify/images/mountain_cableway.png
create mode 100755 public/vendor/emojify/images/mountain_railway.png
create mode 100755 public/vendor/emojify/images/mouse.png
create mode 100755 public/vendor/emojify/images/mouse2.png
create mode 100755 public/vendor/emojify/images/movie_camera.png
create mode 100755 public/vendor/emojify/images/moyai.png
create mode 100755 public/vendor/emojify/images/muscle.png
create mode 100755 public/vendor/emojify/images/mushroom.png
create mode 100755 public/vendor/emojify/images/musical_keyboard.png
create mode 100755 public/vendor/emojify/images/musical_note.png
create mode 100755 public/vendor/emojify/images/musical_score.png
create mode 100755 public/vendor/emojify/images/mute.png
create mode 100755 public/vendor/emojify/images/nail_care.png
create mode 100755 public/vendor/emojify/images/name_badge.png
create mode 100755 public/vendor/emojify/images/neckbeard.png
create mode 100755 public/vendor/emojify/images/necktie.png
create mode 100755 public/vendor/emojify/images/negative_squared_cross_mark.png
create mode 100755 public/vendor/emojify/images/neutral_face.png
create mode 100755 public/vendor/emojify/images/new.png
create mode 100755 public/vendor/emojify/images/new_moon.png
create mode 100755 public/vendor/emojify/images/new_moon_with_face.png
create mode 100755 public/vendor/emojify/images/newspaper.png
create mode 100755 public/vendor/emojify/images/ng.png
create mode 100755 public/vendor/emojify/images/nine.png
create mode 100755 public/vendor/emojify/images/no_bell.png
create mode 100755 public/vendor/emojify/images/no_bicycles.png
create mode 100755 public/vendor/emojify/images/no_entry.png
create mode 100755 public/vendor/emojify/images/no_entry_sign.png
create mode 100755 public/vendor/emojify/images/no_good.png
create mode 100755 public/vendor/emojify/images/no_mobile_phones.png
create mode 100755 public/vendor/emojify/images/no_mouth.png
create mode 100755 public/vendor/emojify/images/no_pedestrians.png
create mode 100755 public/vendor/emojify/images/no_smoking.png
create mode 100755 public/vendor/emojify/images/non-potable_water.png
create mode 100755 public/vendor/emojify/images/nose.png
create mode 100755 public/vendor/emojify/images/notebook.png
create mode 100755 public/vendor/emojify/images/notebook_with_decorative_cover.png
create mode 100755 public/vendor/emojify/images/notes.png
create mode 100755 public/vendor/emojify/images/nut_and_bolt.png
create mode 100755 public/vendor/emojify/images/o.png
create mode 100755 public/vendor/emojify/images/o2.png
create mode 100755 public/vendor/emojify/images/ocean.png
create mode 100755 public/vendor/emojify/images/octocat.png
create mode 100755 public/vendor/emojify/images/octopus.png
create mode 100755 public/vendor/emojify/images/oden.png
create mode 100755 public/vendor/emojify/images/office.png
create mode 100755 public/vendor/emojify/images/ok.png
create mode 100755 public/vendor/emojify/images/ok_hand.png
create mode 100755 public/vendor/emojify/images/ok_woman.png
create mode 100755 public/vendor/emojify/images/older_man.png
create mode 100755 public/vendor/emojify/images/older_woman.png
create mode 100755 public/vendor/emojify/images/on.png
create mode 100755 public/vendor/emojify/images/oncoming_automobile.png
create mode 100755 public/vendor/emojify/images/oncoming_bus.png
create mode 100755 public/vendor/emojify/images/oncoming_police_car.png
create mode 100755 public/vendor/emojify/images/oncoming_taxi.png
create mode 100755 public/vendor/emojify/images/one.png
create mode 100755 public/vendor/emojify/images/open_file_folder.png
create mode 100755 public/vendor/emojify/images/open_hands.png
create mode 100755 public/vendor/emojify/images/open_mouth.png
create mode 100755 public/vendor/emojify/images/ophiuchus.png
create mode 100755 public/vendor/emojify/images/orange_book.png
create mode 100755 public/vendor/emojify/images/outbox_tray.png
create mode 100755 public/vendor/emojify/images/ox.png
create mode 100755 public/vendor/emojify/images/package.png
create mode 100755 public/vendor/emojify/images/page_facing_up.png
create mode 100755 public/vendor/emojify/images/page_with_curl.png
create mode 100755 public/vendor/emojify/images/pager.png
create mode 100755 public/vendor/emojify/images/palm_tree.png
create mode 100755 public/vendor/emojify/images/panda_face.png
create mode 100755 public/vendor/emojify/images/paperclip.png
create mode 100755 public/vendor/emojify/images/parking.png
create mode 100755 public/vendor/emojify/images/part_alternation_mark.png
create mode 100755 public/vendor/emojify/images/partly_sunny.png
create mode 100755 public/vendor/emojify/images/passport_control.png
create mode 100755 public/vendor/emojify/images/paw_prints.png
create mode 100755 public/vendor/emojify/images/peach.png
create mode 100755 public/vendor/emojify/images/pear.png
create mode 100755 public/vendor/emojify/images/pencil.png
create mode 100755 public/vendor/emojify/images/pencil2.png
create mode 100755 public/vendor/emojify/images/penguin.png
create mode 100755 public/vendor/emojify/images/pensive.png
create mode 100755 public/vendor/emojify/images/performing_arts.png
create mode 100755 public/vendor/emojify/images/persevere.png
create mode 100755 public/vendor/emojify/images/person_frowning.png
create mode 100755 public/vendor/emojify/images/person_with_blond_hair.png
create mode 100755 public/vendor/emojify/images/person_with_pouting_face.png
create mode 100755 public/vendor/emojify/images/phone.png
create mode 100755 public/vendor/emojify/images/pig.png
create mode 100755 public/vendor/emojify/images/pig2.png
create mode 100755 public/vendor/emojify/images/pig_nose.png
create mode 100755 public/vendor/emojify/images/pill.png
create mode 100755 public/vendor/emojify/images/pineapple.png
create mode 100755 public/vendor/emojify/images/pisces.png
create mode 100755 public/vendor/emojify/images/pizza.png
create mode 100755 public/vendor/emojify/images/plus1.png
create mode 100755 public/vendor/emojify/images/point_down.png
create mode 100755 public/vendor/emojify/images/point_left.png
create mode 100755 public/vendor/emojify/images/point_right.png
create mode 100755 public/vendor/emojify/images/point_up.png
create mode 100755 public/vendor/emojify/images/point_up_2.png
create mode 100755 public/vendor/emojify/images/police_car.png
create mode 100755 public/vendor/emojify/images/poodle.png
create mode 100755 public/vendor/emojify/images/poop.png
create mode 100755 public/vendor/emojify/images/post_office.png
create mode 100755 public/vendor/emojify/images/postal_horn.png
create mode 100755 public/vendor/emojify/images/postbox.png
create mode 100755 public/vendor/emojify/images/potable_water.png
create mode 100755 public/vendor/emojify/images/pouch.png
create mode 100755 public/vendor/emojify/images/poultry_leg.png
create mode 100755 public/vendor/emojify/images/pound.png
create mode 100755 public/vendor/emojify/images/pouting_cat.png
create mode 100755 public/vendor/emojify/images/pray.png
create mode 100755 public/vendor/emojify/images/princess.png
create mode 100755 public/vendor/emojify/images/punch.png
create mode 100755 public/vendor/emojify/images/purple_heart.png
create mode 100755 public/vendor/emojify/images/purse.png
create mode 100755 public/vendor/emojify/images/pushpin.png
create mode 100755 public/vendor/emojify/images/put_litter_in_its_place.png
create mode 100755 public/vendor/emojify/images/question.png
create mode 100755 public/vendor/emojify/images/rabbit.png
create mode 100755 public/vendor/emojify/images/rabbit2.png
create mode 100755 public/vendor/emojify/images/racehorse.png
create mode 100755 public/vendor/emojify/images/radio.png
create mode 100755 public/vendor/emojify/images/radio_button.png
create mode 100755 public/vendor/emojify/images/rage.png
create mode 100755 public/vendor/emojify/images/rage1.png
create mode 100755 public/vendor/emojify/images/rage2.png
create mode 100755 public/vendor/emojify/images/rage3.png
create mode 100755 public/vendor/emojify/images/rage4.png
create mode 100755 public/vendor/emojify/images/railway_car.png
create mode 100755 public/vendor/emojify/images/rainbow.png
create mode 100755 public/vendor/emojify/images/raised_hand.png
create mode 100755 public/vendor/emojify/images/raised_hands.png
create mode 100755 public/vendor/emojify/images/raising_hand.png
create mode 100755 public/vendor/emojify/images/ram.png
create mode 100755 public/vendor/emojify/images/ramen.png
create mode 100755 public/vendor/emojify/images/rat.png
create mode 100755 public/vendor/emojify/images/recycle.png
create mode 100755 public/vendor/emojify/images/red_car.png
create mode 100755 public/vendor/emojify/images/red_circle.png
create mode 100755 public/vendor/emojify/images/registered.png
create mode 100755 public/vendor/emojify/images/relaxed.png
create mode 100755 public/vendor/emojify/images/relieved.png
create mode 100755 public/vendor/emojify/images/repeat.png
create mode 100755 public/vendor/emojify/images/repeat_one.png
create mode 100755 public/vendor/emojify/images/restroom.png
create mode 100755 public/vendor/emojify/images/revolving_hearts.png
create mode 100755 public/vendor/emojify/images/rewind.png
create mode 100755 public/vendor/emojify/images/ribbon.png
create mode 100755 public/vendor/emojify/images/rice.png
create mode 100755 public/vendor/emojify/images/rice_ball.png
create mode 100755 public/vendor/emojify/images/rice_cracker.png
create mode 100755 public/vendor/emojify/images/rice_scene.png
create mode 100755 public/vendor/emojify/images/ring.png
create mode 100755 public/vendor/emojify/images/rocket.png
create mode 100755 public/vendor/emojify/images/roller_coaster.png
create mode 100755 public/vendor/emojify/images/rooster.png
create mode 100755 public/vendor/emojify/images/rose.png
create mode 100755 public/vendor/emojify/images/rotating_light.png
create mode 100755 public/vendor/emojify/images/round_pushpin.png
create mode 100755 public/vendor/emojify/images/rowboat.png
create mode 100755 public/vendor/emojify/images/ru.png
create mode 100755 public/vendor/emojify/images/rugby_football.png
create mode 100755 public/vendor/emojify/images/runner.png
create mode 100755 public/vendor/emojify/images/running.png
create mode 100755 public/vendor/emojify/images/running_shirt_with_sash.png
create mode 100755 public/vendor/emojify/images/sa.png
create mode 100755 public/vendor/emojify/images/sagittarius.png
create mode 100755 public/vendor/emojify/images/sailboat.png
create mode 100755 public/vendor/emojify/images/sake.png
create mode 100755 public/vendor/emojify/images/sandal.png
create mode 100755 public/vendor/emojify/images/santa.png
create mode 100755 public/vendor/emojify/images/satellite.png
create mode 100755 public/vendor/emojify/images/satisfied.png
create mode 100755 public/vendor/emojify/images/saxophone.png
create mode 100755 public/vendor/emojify/images/school.png
create mode 100755 public/vendor/emojify/images/school_satchel.png
create mode 100755 public/vendor/emojify/images/scissors.png
create mode 100755 public/vendor/emojify/images/scorpius.png
create mode 100755 public/vendor/emojify/images/scream.png
create mode 100755 public/vendor/emojify/images/scream_cat.png
create mode 100755 public/vendor/emojify/images/scroll.png
create mode 100755 public/vendor/emojify/images/seat.png
create mode 100755 public/vendor/emojify/images/secret.png
create mode 100755 public/vendor/emojify/images/see_no_evil.png
create mode 100755 public/vendor/emojify/images/seedling.png
create mode 100755 public/vendor/emojify/images/seven.png
create mode 100755 public/vendor/emojify/images/shaved_ice.png
create mode 100755 public/vendor/emojify/images/sheep.png
create mode 100755 public/vendor/emojify/images/shell.png
create mode 100755 public/vendor/emojify/images/ship.png
create mode 100755 public/vendor/emojify/images/shipit.png
create mode 100755 public/vendor/emojify/images/shirt.png
create mode 100755 public/vendor/emojify/images/shit.png
create mode 100755 public/vendor/emojify/images/shoe.png
create mode 100755 public/vendor/emojify/images/shower.png
create mode 100755 public/vendor/emojify/images/signal_strength.png
create mode 100755 public/vendor/emojify/images/six.png
create mode 100755 public/vendor/emojify/images/six_pointed_star.png
create mode 100755 public/vendor/emojify/images/ski.png
create mode 100755 public/vendor/emojify/images/skull.png
create mode 100755 public/vendor/emojify/images/sleeping.png
create mode 100755 public/vendor/emojify/images/sleepy.png
create mode 100755 public/vendor/emojify/images/slot_machine.png
create mode 100755 public/vendor/emojify/images/small_blue_diamond.png
create mode 100755 public/vendor/emojify/images/small_orange_diamond.png
create mode 100755 public/vendor/emojify/images/small_red_triangle.png
create mode 100755 public/vendor/emojify/images/small_red_triangle_down.png
create mode 100755 public/vendor/emojify/images/smile.png
create mode 100755 public/vendor/emojify/images/smile_cat.png
create mode 100755 public/vendor/emojify/images/smiley.png
create mode 100755 public/vendor/emojify/images/smiley_cat.png
create mode 100755 public/vendor/emojify/images/smiling_imp.png
create mode 100755 public/vendor/emojify/images/smirk.png
create mode 100755 public/vendor/emojify/images/smirk_cat.png
create mode 100755 public/vendor/emojify/images/smoking.png
create mode 100755 public/vendor/emojify/images/snail.png
create mode 100755 public/vendor/emojify/images/snake.png
create mode 100755 public/vendor/emojify/images/snowboarder.png
create mode 100755 public/vendor/emojify/images/snowflake.png
create mode 100755 public/vendor/emojify/images/snowman.png
create mode 100755 public/vendor/emojify/images/sob.png
create mode 100755 public/vendor/emojify/images/soccer.png
create mode 100755 public/vendor/emojify/images/soon.png
create mode 100755 public/vendor/emojify/images/sos.png
create mode 100755 public/vendor/emojify/images/sound.png
create mode 100755 public/vendor/emojify/images/space_invader.png
create mode 100755 public/vendor/emojify/images/spades.png
create mode 100755 public/vendor/emojify/images/spaghetti.png
create mode 100755 public/vendor/emojify/images/sparkle.png
create mode 100755 public/vendor/emojify/images/sparkler.png
create mode 100755 public/vendor/emojify/images/sparkles.png
create mode 100755 public/vendor/emojify/images/sparkling_heart.png
create mode 100755 public/vendor/emojify/images/speak_no_evil.png
create mode 100755 public/vendor/emojify/images/speaker.png
create mode 100755 public/vendor/emojify/images/speech_balloon.png
create mode 100755 public/vendor/emojify/images/speedboat.png
create mode 100755 public/vendor/emojify/images/squirrel.png
create mode 100755 public/vendor/emojify/images/star.png
create mode 100755 public/vendor/emojify/images/star2.png
create mode 100755 public/vendor/emojify/images/stars.png
create mode 100755 public/vendor/emojify/images/station.png
create mode 100755 public/vendor/emojify/images/statue_of_liberty.png
create mode 100755 public/vendor/emojify/images/steam_locomotive.png
create mode 100755 public/vendor/emojify/images/stew.png
create mode 100755 public/vendor/emojify/images/straight_ruler.png
create mode 100755 public/vendor/emojify/images/strawberry.png
create mode 100755 public/vendor/emojify/images/stuck_out_tongue.png
create mode 100755 public/vendor/emojify/images/stuck_out_tongue_closed_eyes.png
create mode 100755 public/vendor/emojify/images/stuck_out_tongue_winking_eye.png
create mode 100755 public/vendor/emojify/images/sun_with_face.png
create mode 100755 public/vendor/emojify/images/sunflower.png
create mode 100755 public/vendor/emojify/images/sunglasses.png
create mode 100755 public/vendor/emojify/images/sunny.png
create mode 100755 public/vendor/emojify/images/sunrise.png
create mode 100755 public/vendor/emojify/images/sunrise_over_mountains.png
create mode 100755 public/vendor/emojify/images/surfer.png
create mode 100755 public/vendor/emojify/images/sushi.png
create mode 100755 public/vendor/emojify/images/suspect.png
create mode 100755 public/vendor/emojify/images/suspension_railway.png
create mode 100755 public/vendor/emojify/images/sweat.png
create mode 100755 public/vendor/emojify/images/sweat_drops.png
create mode 100755 public/vendor/emojify/images/sweat_smile.png
create mode 100755 public/vendor/emojify/images/sweet_potato.png
create mode 100755 public/vendor/emojify/images/swimmer.png
create mode 100755 public/vendor/emojify/images/symbols.png
create mode 100755 public/vendor/emojify/images/syringe.png
create mode 100755 public/vendor/emojify/images/tada.png
create mode 100755 public/vendor/emojify/images/tanabata_tree.png
create mode 100755 public/vendor/emojify/images/tangerine.png
create mode 100755 public/vendor/emojify/images/taurus.png
create mode 100755 public/vendor/emojify/images/taxi.png
create mode 100755 public/vendor/emojify/images/tea.png
create mode 100755 public/vendor/emojify/images/telephone.png
create mode 100755 public/vendor/emojify/images/telephone_receiver.png
create mode 100755 public/vendor/emojify/images/telescope.png
create mode 100755 public/vendor/emojify/images/tennis.png
create mode 100755 public/vendor/emojify/images/tent.png
create mode 100755 public/vendor/emojify/images/thought_balloon.png
create mode 100755 public/vendor/emojify/images/three.png
create mode 100755 public/vendor/emojify/images/thumbsdown.png
create mode 100755 public/vendor/emojify/images/thumbsup.png
create mode 100755 public/vendor/emojify/images/ticket.png
create mode 100755 public/vendor/emojify/images/tiger.png
create mode 100755 public/vendor/emojify/images/tiger2.png
create mode 100755 public/vendor/emojify/images/tired_face.png
create mode 100755 public/vendor/emojify/images/tm.png
create mode 100755 public/vendor/emojify/images/toilet.png
create mode 100755 public/vendor/emojify/images/tokyo_tower.png
create mode 100755 public/vendor/emojify/images/tomato.png
create mode 100755 public/vendor/emojify/images/tongue.png
create mode 100755 public/vendor/emojify/images/top.png
create mode 100755 public/vendor/emojify/images/tophat.png
create mode 100755 public/vendor/emojify/images/tractor.png
create mode 100755 public/vendor/emojify/images/traffic_light.png
create mode 100755 public/vendor/emojify/images/train.png
create mode 100755 public/vendor/emojify/images/train2.png
create mode 100755 public/vendor/emojify/images/tram.png
create mode 100755 public/vendor/emojify/images/triangular_flag_on_post.png
create mode 100755 public/vendor/emojify/images/triangular_ruler.png
create mode 100755 public/vendor/emojify/images/trident.png
create mode 100755 public/vendor/emojify/images/triumph.png
create mode 100755 public/vendor/emojify/images/trolleybus.png
create mode 100755 public/vendor/emojify/images/trollface.png
create mode 100755 public/vendor/emojify/images/trophy.png
create mode 100755 public/vendor/emojify/images/tropical_drink.png
create mode 100755 public/vendor/emojify/images/tropical_fish.png
create mode 100755 public/vendor/emojify/images/truck.png
create mode 100755 public/vendor/emojify/images/trumpet.png
create mode 100755 public/vendor/emojify/images/tshirt.png
create mode 100755 public/vendor/emojify/images/tulip.png
create mode 100755 public/vendor/emojify/images/turtle.png
create mode 100755 public/vendor/emojify/images/tv.png
create mode 100755 public/vendor/emojify/images/twisted_rightwards_arrows.png
create mode 100755 public/vendor/emojify/images/two.png
create mode 100755 public/vendor/emojify/images/two_hearts.png
create mode 100755 public/vendor/emojify/images/two_men_holding_hands.png
create mode 100755 public/vendor/emojify/images/two_women_holding_hands.png
create mode 100755 public/vendor/emojify/images/u5272.png
create mode 100755 public/vendor/emojify/images/u5408.png
create mode 100755 public/vendor/emojify/images/u55b6.png
create mode 100755 public/vendor/emojify/images/u6307.png
create mode 100755 public/vendor/emojify/images/u6708.png
create mode 100755 public/vendor/emojify/images/u6709.png
create mode 100755 public/vendor/emojify/images/u6e80.png
create mode 100755 public/vendor/emojify/images/u7121.png
create mode 100755 public/vendor/emojify/images/u7533.png
create mode 100755 public/vendor/emojify/images/u7981.png
create mode 100755 public/vendor/emojify/images/u7a7a.png
create mode 100755 public/vendor/emojify/images/uk.png
create mode 100755 public/vendor/emojify/images/umbrella.png
create mode 100755 public/vendor/emojify/images/unamused.png
create mode 100755 public/vendor/emojify/images/underage.png
create mode 100755 public/vendor/emojify/images/unlock.png
create mode 100755 public/vendor/emojify/images/up.png
create mode 100755 public/vendor/emojify/images/us.png
create mode 100755 public/vendor/emojify/images/v.png
create mode 100755 public/vendor/emojify/images/vertical_traffic_light.png
create mode 100755 public/vendor/emojify/images/vhs.png
create mode 100755 public/vendor/emojify/images/vibration_mode.png
create mode 100755 public/vendor/emojify/images/video_camera.png
create mode 100755 public/vendor/emojify/images/video_game.png
create mode 100755 public/vendor/emojify/images/violin.png
create mode 100755 public/vendor/emojify/images/virgo.png
create mode 100755 public/vendor/emojify/images/volcano.png
create mode 100755 public/vendor/emojify/images/vs.png
create mode 100755 public/vendor/emojify/images/walking.png
create mode 100755 public/vendor/emojify/images/waning_crescent_moon.png
create mode 100755 public/vendor/emojify/images/waning_gibbous_moon.png
create mode 100755 public/vendor/emojify/images/warning.png
create mode 100755 public/vendor/emojify/images/watch.png
create mode 100755 public/vendor/emojify/images/water_buffalo.png
create mode 100755 public/vendor/emojify/images/watermelon.png
create mode 100755 public/vendor/emojify/images/wave.png
create mode 100755 public/vendor/emojify/images/wavy_dash.png
create mode 100755 public/vendor/emojify/images/waxing_crescent_moon.png
create mode 100755 public/vendor/emojify/images/waxing_gibbous_moon.png
create mode 100755 public/vendor/emojify/images/wc.png
create mode 100755 public/vendor/emojify/images/weary.png
create mode 100755 public/vendor/emojify/images/wedding.png
create mode 100755 public/vendor/emojify/images/whale.png
create mode 100755 public/vendor/emojify/images/whale2.png
create mode 100755 public/vendor/emojify/images/wheelchair.png
create mode 100755 public/vendor/emojify/images/white_check_mark.png
create mode 100755 public/vendor/emojify/images/white_circle.png
create mode 100755 public/vendor/emojify/images/white_flower.png
create mode 100755 public/vendor/emojify/images/white_large_square.png
create mode 100755 public/vendor/emojify/images/white_medium_small_square.png
create mode 100755 public/vendor/emojify/images/white_medium_square.png
create mode 100755 public/vendor/emojify/images/white_small_square.png
create mode 100755 public/vendor/emojify/images/white_square.png
create mode 100755 public/vendor/emojify/images/white_square_button.png
create mode 100755 public/vendor/emojify/images/wind_chime.png
create mode 100755 public/vendor/emojify/images/wine_glass.png
create mode 100755 public/vendor/emojify/images/wink.png
create mode 100755 public/vendor/emojify/images/wink2.png
create mode 100755 public/vendor/emojify/images/wolf.png
create mode 100755 public/vendor/emojify/images/woman.png
create mode 100755 public/vendor/emojify/images/womans_clothes.png
create mode 100755 public/vendor/emojify/images/womans_hat.png
create mode 100755 public/vendor/emojify/images/womens.png
create mode 100755 public/vendor/emojify/images/worried.png
create mode 100755 public/vendor/emojify/images/wrench.png
create mode 100755 public/vendor/emojify/images/x.png
create mode 100755 public/vendor/emojify/images/yellow_heart.png
create mode 100755 public/vendor/emojify/images/yen.png
create mode 100755 public/vendor/emojify/images/yum.png
create mode 100755 public/vendor/emojify/images/zap.png
create mode 100755 public/vendor/emojify/images/zero.png
create mode 100755 public/vendor/emojify/images/zzz.png
create mode 100755 public/vendor/emojify/js/emojify.js
create mode 100755 public/vendor/emojify/js/emojify.min.js
create mode 100644 public/vendor/flowchart/flowchart-1.4.0.js
create mode 100644 public/vendor/flowchart/flowchart-1.4.0.min.js
create mode 100644 public/vendor/font-awesome/css/font-awesome.css
create mode 100644 public/vendor/font-awesome/css/font-awesome.min.css
create mode 100644 public/vendor/font-awesome/fonts/FontAwesome.otf
create mode 100644 public/vendor/font-awesome/fonts/fontawesome-webfont.eot
create mode 100644 public/vendor/font-awesome/fonts/fontawesome-webfont.svg
create mode 100644 public/vendor/font-awesome/fonts/fontawesome-webfont.ttf
create mode 100644 public/vendor/font-awesome/fonts/fontawesome-webfont.woff
create mode 100644 public/vendor/font-awesome/fonts/fontawesome-webfont.woff2
create mode 100644 public/vendor/font-awesome/less/animated.less
create mode 100644 public/vendor/font-awesome/less/bordered-pulled.less
create mode 100644 public/vendor/font-awesome/less/core.less
create mode 100644 public/vendor/font-awesome/less/fixed-width.less
create mode 100644 public/vendor/font-awesome/less/font-awesome.less
create mode 100644 public/vendor/font-awesome/less/icons.less
create mode 100644 public/vendor/font-awesome/less/larger.less
create mode 100644 public/vendor/font-awesome/less/list.less
create mode 100644 public/vendor/font-awesome/less/mixins.less
create mode 100644 public/vendor/font-awesome/less/path.less
create mode 100644 public/vendor/font-awesome/less/rotated-flipped.less
create mode 100644 public/vendor/font-awesome/less/stacked.less
create mode 100644 public/vendor/font-awesome/less/variables.less
create mode 100644 public/vendor/font-awesome/scss/_animated.scss
create mode 100644 public/vendor/font-awesome/scss/_bordered-pulled.scss
create mode 100644 public/vendor/font-awesome/scss/_core.scss
create mode 100644 public/vendor/font-awesome/scss/_fixed-width.scss
create mode 100644 public/vendor/font-awesome/scss/_icons.scss
create mode 100644 public/vendor/font-awesome/scss/_larger.scss
create mode 100644 public/vendor/font-awesome/scss/_list.scss
create mode 100644 public/vendor/font-awesome/scss/_mixins.scss
create mode 100644 public/vendor/font-awesome/scss/_path.scss
create mode 100644 public/vendor/font-awesome/scss/_rotated-flipped.scss
create mode 100644 public/vendor/font-awesome/scss/_stacked.scss
create mode 100644 public/vendor/font-awesome/scss/_variables.scss
create mode 100644 public/vendor/font-awesome/scss/font-awesome.scss
create mode 100644 public/vendor/gist-embed.js
create mode 100644 public/vendor/handlebars-v3.0.0.js
create mode 100644 public/vendor/highlight-js/github.min.css
create mode 100644 public/vendor/highlight-js/highlight.min.js
create mode 100644 public/vendor/jquery-1.11.2.min.js
create mode 100644 public/vendor/jquery.cookie-1.4.1.min.js
create mode 100644 public/vendor/list.min.js
create mode 100755 public/vendor/lz-string.min.js
create mode 100755 public/vendor/marked.js
create mode 100755 public/vendor/marked.min.js
create mode 100644 public/vendor/moment-with-locales.js
create mode 100644 public/vendor/raphael-min.js
create mode 100644 public/vendor/remarkable-regex.js
create mode 100755 public/vendor/remarkable.js
create mode 100755 public/vendor/remarkable.min.js
create mode 100755 public/vendor/select2/css/select2.css
create mode 100755 public/vendor/select2/css/select2.min.css
create mode 100755 public/vendor/select2/js/i18n/az.js
create mode 100755 public/vendor/select2/js/i18n/bg.js
create mode 100755 public/vendor/select2/js/i18n/ca.js
create mode 100755 public/vendor/select2/js/i18n/cs.js
create mode 100755 public/vendor/select2/js/i18n/da.js
create mode 100755 public/vendor/select2/js/i18n/de.js
create mode 100755 public/vendor/select2/js/i18n/en.js
create mode 100755 public/vendor/select2/js/i18n/es.js
create mode 100755 public/vendor/select2/js/i18n/et.js
create mode 100755 public/vendor/select2/js/i18n/eu.js
create mode 100755 public/vendor/select2/js/i18n/fi.js
create mode 100755 public/vendor/select2/js/i18n/fr.js
create mode 100755 public/vendor/select2/js/i18n/gl.js
create mode 100755 public/vendor/select2/js/i18n/hi.js
create mode 100755 public/vendor/select2/js/i18n/hr.js
create mode 100755 public/vendor/select2/js/i18n/hu.js
create mode 100755 public/vendor/select2/js/i18n/id.js
create mode 100755 public/vendor/select2/js/i18n/is.js
create mode 100755 public/vendor/select2/js/i18n/it.js
create mode 100755 public/vendor/select2/js/i18n/lt.js
create mode 100755 public/vendor/select2/js/i18n/lv.js
create mode 100755 public/vendor/select2/js/i18n/mk.js
create mode 100755 public/vendor/select2/js/i18n/nb.js
create mode 100755 public/vendor/select2/js/i18n/nl.js
create mode 100755 public/vendor/select2/js/i18n/pl.js
create mode 100755 public/vendor/select2/js/i18n/pt-BR.js
create mode 100755 public/vendor/select2/js/i18n/pt.js
create mode 100755 public/vendor/select2/js/i18n/ro.js
create mode 100755 public/vendor/select2/js/i18n/ru.js
create mode 100755 public/vendor/select2/js/i18n/sk.js
create mode 100755 public/vendor/select2/js/i18n/sr.js
create mode 100755 public/vendor/select2/js/i18n/sv.js
create mode 100755 public/vendor/select2/js/i18n/th.js
create mode 100755 public/vendor/select2/js/i18n/tr.js
create mode 100755 public/vendor/select2/js/i18n/uk.js
create mode 100755 public/vendor/select2/js/i18n/vi.js
create mode 100755 public/vendor/select2/js/i18n/zh-CN.js
create mode 100755 public/vendor/select2/js/i18n/zh-TW.js
create mode 100755 public/vendor/select2/js/select2.amd.full.js
create mode 100755 public/vendor/select2/js/select2.amd.js
create mode 100755 public/vendor/select2/js/select2.full.js
create mode 100755 public/vendor/select2/js/select2.full.min.js
create mode 100755 public/vendor/select2/js/select2.js
create mode 100755 public/vendor/select2/js/select2.min.js
create mode 100644 public/vendor/sequence-diagrams/sequence-diagram-min.js
create mode 100644 public/vendor/sequence-diagrams/sequence-diagram-min.js.map
create mode 100644 public/vendor/socket.io-1.3.5.js
create mode 100644 public/vendor/spin.min.js
create mode 100755 public/vendor/string.min.js
create mode 100644 public/vendor/to-markdown.js
create mode 100644 public/vendor/underscore-min.js
create mode 100644 public/views/body.ejs
create mode 100644 public/views/error.ejs
create mode 100644 public/views/foot.ejs
create mode 100644 public/views/footer.ejs
create mode 100644 public/views/head.ejs
create mode 100644 public/views/header.ejs
create mode 100644 public/views/index.ejs
create mode 100644 public/views/pretty.ejs
diff --git a/Procfile b/Procfile
new file mode 100644
index 00000000..e1d4131b
--- /dev/null
+++ b/Procfile
@@ -0,0 +1 @@
+web: node app.js
diff --git a/README.md b/README.md
new file mode 100644
index 00000000..4e6b120c
--- /dev/null
+++ b/README.md
@@ -0,0 +1,9 @@
+HackMD 0.2.7
+===
+
+This is a realtime collaborative markdown notes on all platforms.
+But still in early stage, feel free to fork or contribute to it.
+
+Thanks for your using.
+
+License under MIT.
\ No newline at end of file
diff --git a/app.js b/app.js
new file mode 100644
index 00000000..3f66b32c
--- /dev/null
+++ b/app.js
@@ -0,0 +1,253 @@
+//app
+//external modules
+var connect = require('connect');
+var express = require('express');
+var toobusy = require('toobusy-js');
+var ejs = require('ejs');
+var passport = require('passport');
+var methodOverride = require('method-override');
+var bodyParser = require('body-parser');
+var mongoose = require('mongoose');
+var compression = require('compression')
+var session = require('express-session');
+var MongoStore = require('connect-mongo')(session);
+
+//core
+var config = require("./config.js");
+var User = require("./lib/user.js");
+var auth = require("./lib/auth.js");
+var response = require("./lib/response.js");
+
+//server setup
+var app = express();
+var server = require('http').createServer(app);
+var io = require('socket.io').listen(server);
+var port = process.env.PORT || config.testport;
+
+// connect to the mongodb
+if (config.debug)
+ mongoose.connect(config.mongodbstring);
+else
+ mongoose.connect(process.env.MONGOLAB_URI);
+
+//others
+var db = require("./lib/db.js");
+var realtime = require("./lib/realtime.js");
+
+//methodOverride
+app.use(methodOverride('_method'));
+
+// create application/json parser
+var jsonParser = bodyParser.json();
+
+// create application/x-www-form-urlencoded parser
+var urlencodedParser = bodyParser.urlencoded({
+ extended: false
+});
+
+//compression
+app.use(compression());
+
+//session
+app.use(session({
+ name: config.sessionname,
+ secret: config.sessionsecret,
+ resave: false, //don't save session if unmodified
+ saveUninitialized: true, //don't create session until something stored
+ cookie: {
+ maxAge: new Date(Date.now() + config.sessionlife),
+ expires: new Date(Date.now() + config.sessionlife),
+ },
+ maxAge: new Date(Date.now() + config.sessionlife),
+ store: new MongoStore({
+ mongooseConnection: mongoose.connection,
+ touchAfter: config.sessiontouch
+ },
+ function (err) {
+ console.log(err);
+ })
+}));
+
+//middleware which blocks requests when we're too busy
+app.use(function (req, res, next) {
+ if (toobusy()) {
+ response.errorServiceUnavailable(res);
+ } else {
+ next();
+ }
+});
+
+//passport
+app.use(passport.initialize());
+app.use(passport.session());
+
+//serialize and deserialize
+passport.serializeUser(function (user, done) {
+ //console.log('serializeUser: ' + user._id);
+ done(null, user._id);
+});
+passport.deserializeUser(function (id, done) {
+ User.model.findById(id, function (err, user) {
+ //console.log(user)
+ if (!err) done(null, user);
+ else done(err, null);
+ })
+});
+
+//routes
+//static files
+app.use('/', express.static(__dirname + '/public'));
+//template files
+app.set('views', __dirname + '/public');
+//set render engine
+app.engine('html', ejs.renderFile);
+//get index
+app.get("/", function (req, res, next) {
+ res.render("index.html");
+});
+//get status
+app.get("/status", function (req, res, next) {
+ realtime.getStatus(function (data) {
+ res.end(JSON.stringify(data));
+ });
+});
+//facebook auth
+app.get('/auth/facebook',
+ passport.authenticate('facebook'),
+ function (req, res) {});
+//facebook auth callback
+app.get('/auth/facebook/callback',
+ passport.authenticate('facebook', {
+ failureRedirect: '/'
+ }),
+ function (req, res) {
+ res.redirect('/');
+ });
+//twitter auth
+app.get('/auth/twitter',
+ passport.authenticate('twitter'),
+ function (req, res) {});
+//twitter auth callback
+app.get('/auth/twitter/callback',
+ passport.authenticate('twitter', {
+ failureRedirect: '/'
+ }),
+ function (req, res) {
+ res.redirect('/');
+ });
+//github auth
+app.get('/auth/github',
+ passport.authenticate('github'),
+ function (req, res) {});
+//github auth callback
+app.get('/auth/github/callback',
+ passport.authenticate('github', {
+ failureRedirect: '/'
+ }),
+ function (req, res) {
+ res.redirect('/');
+ });
+//dropbox auth
+app.get('/auth/dropbox',
+ passport.authenticate('dropbox-oauth2'),
+ function (req, res) {});
+//dropbox auth callback
+app.get('/auth/dropbox/callback',
+ passport.authenticate('dropbox-oauth2', {
+ failureRedirect: '/'
+ }),
+ function (req, res) {
+ res.redirect('/');
+ });
+//logout
+app.get('/logout', function (req, res) {
+ if (config.debug && req.session.passport.user)
+ console.log('user logout: ' + req.session.passport.user);
+ req.logout();
+ res.redirect('/');
+});
+//get history
+app.get('/history', function (req, res) {
+ if (req.isAuthenticated()) {
+ User.model.findById(req.session.passport.user, function (err, user) {
+ if (err) {
+ console.log('read history failed: ' + err);
+ } else {
+ var history = [];
+ if (user.history)
+ history = JSON.parse(user.history);
+ res.send({
+ history: history
+ });
+ }
+ });
+ } else {
+ response.errorForbidden(res);
+ }
+});
+//post history
+app.post('/history', urlencodedParser, function (req, res) {
+ if (req.isAuthenticated()) {
+ if (config.debug)
+ console.log('SERVER received history from [' + req.session.passport.user + ']: ' + req.body.history);
+ User.model.findById(req.session.passport.user, function (err, user) {
+ if (err) {
+ console.log('write history failed: ' + err);
+ } else {
+ user.history = req.body.history;
+ user.save(function (err) {
+ if (err) {
+ console.log('write user history failed: ' + err);
+ } else {
+ if (config.debug)
+ console.log("write user history success: " + user._id);
+ };
+ });
+ }
+ });
+ res.end();
+ } else {
+ response.errorForbidden(res);
+ }
+});
+//get me info
+app.get('/me', function (req, res) {
+ if (req.isAuthenticated()) {
+ User.model.findById(req.session.passport.user, function (err, user) {
+ if (err) {
+ console.log('read me failed: ' + err);
+ } else {
+ var profile = JSON.parse(user.profile);
+ res.send({
+ status: 'ok',
+ name: profile.displayName || profile.username
+ });
+ }
+ });
+ } else {
+ res.send({
+ status: 'forbidden'
+ });
+ }
+});
+//get new note
+app.get("/new", response.newNote);
+//get features
+app.get("/features", response.showFeatures);
+//get note by id
+app.get("/:noteId", response.showNote);
+//note actions
+app.get("/:noteId/:action", response.noteActions);
+
+//socket.io secure
+io.use(realtime.secure);
+//socket.io heartbeat
+io.set('heartbeat interval', config.heartbeatinterval);
+io.set('heartbeat timeout', config.heartbeattimeout);
+//socket.io connection
+io.sockets.on('connection', realtime.connection);
+
+//listen
+server.listen(port, function () {
+ console.log('Server listening at port %d', port);
+});
\ No newline at end of file
diff --git a/config.js b/config.js
new file mode 100644
index 00000000..3a5c764c
--- /dev/null
+++ b/config.js
@@ -0,0 +1,50 @@
+//config
+var path = require('path');
+
+var config = {
+ debug: true,
+ version: '0.2.7',
+ domain: 'http://localhost:3000',
+ testport: '3000',
+ //path
+ tmppath: "./tmp/",
+ defaultnotepath: path.join(__dirname, '/public', "default.md"),
+ defaultfeaturespath: path.join(__dirname, '/public', "features.md"),
+ hackmdpath: path.join(__dirname, '/public/views', "index.ejs"),
+ errorpath: path.join(__dirname, '/public/views', "error.ejs"),
+ prettypath: path.join(__dirname, '/public/views', 'pretty.ejs'),
+ //db string
+ postgresqlstring: "postgresql://localhost:5432/hackmd",
+ mongodbstring: "mongodb://localhost/hackmd",
+ //constants
+ featuresnotename: "features",
+ sessionname: 'please set this',
+ sessionsecret: 'please set this',
+ sessionlife: 14 * 24 * 60 * 60 * 1000, //14 days
+ sessiontouch: 1 * 3600, //1 hour
+ heartbeatinterval: 5000,
+ heartbeattimeout: 10000,
+ //auth
+ facebook: {
+ clientID: 'get yourself one',
+ clientSecret: 'get yourself one',
+ callbackPath: '/auth/facebook/callback'
+ },
+ twitter: {
+ consumerKey: 'get yourself one',
+ consumerSecret: 'get yourself one',
+ callbackPath: '/auth/twitter/callback'
+ },
+ github: {
+ clientID: 'get yourself one',
+ clientSecret: 'get yourself one',
+ callbackPath: '/auth/github/callback'
+ },
+ dropbox: {
+ clientID: 'get yourself one',
+ clientSecret: 'get yourself one',
+ callbackPath: '/auth/dropbox/callback'
+ }
+};
+
+module.exports = config;
\ No newline at end of file
diff --git a/lib/auth.js b/lib/auth.js
new file mode 100644
index 00000000..e7b0dc7c
--- /dev/null
+++ b/lib/auth.js
@@ -0,0 +1,49 @@
+//auth
+//external modules
+var passport = require('passport');
+var FacebookStrategy = require('passport-facebook').Strategy;
+var TwitterStrategy = require('passport-twitter').Strategy;
+var GithubStrategy = require('passport-github').Strategy;
+var DropboxStrategy = require('passport-dropbox-oauth2').Strategy;
+
+//core
+var User = require('./user.js')
+var config = require('../config.js')
+
+function callback(accessToken, refreshToken, profile, done) {
+ //console.log(profile.displayName || profile.username);
+ User.findOrNewUser(profile.id, profile, function (err, user) {
+ if (err || user == null) {
+ console.log('auth callback failed: ' + err);
+ } else {
+ if(config.debug && user)
+ console.log('user login: ' + user._id);
+ done(null, user);
+ }
+ });
+}
+
+//facebook
+module.exports = passport.use(new FacebookStrategy({
+ clientID: config.facebook.clientID,
+ clientSecret: config.facebook.clientSecret,
+ callbackURL: config.domain + config.facebook.callbackPath
+}, callback));
+//twitter
+passport.use(new TwitterStrategy({
+ consumerKey: config.twitter.consumerKey,
+ consumerSecret: config.twitter.consumerSecret,
+ callbackURL: config.domain + config.twitter.callbackPath
+}, callback));
+//github
+passport.use(new GithubStrategy({
+ clientID: config.github.clientID,
+ clientSecret: config.github.clientSecret,
+ callbackURL: config.domain + config.github.callbackPath
+}, callback));
+//dropbox
+passport.use(new DropboxStrategy({
+ clientID: config.dropbox.clientID,
+ clientSecret: config.dropbox.clientSecret,
+ callbackURL: config.domain + config.dropbox.callbackPath
+}, callback));
\ No newline at end of file
diff --git a/lib/db.js b/lib/db.js
new file mode 100644
index 00000000..d763eb83
--- /dev/null
+++ b/lib/db.js
@@ -0,0 +1,146 @@
+//db
+//external modules
+var pg = require('pg');
+var fs = require('fs');
+var util = require('util');
+
+//core
+var config = require("../config.js");
+
+//public
+var db = {
+ readFromFile: readFromDB,
+ saveToFile: saveToFile,
+ newToDB: newToDB,
+ readFromDB: readFromDB,
+ saveToDB: saveToDB,
+ countFromDB: countFromDB
+};
+
+function getDBClient() {
+ if (config.debug)
+ return new pg.Client(config.postgresqlstring);
+ else
+ return new pg.Client(process.env.DATABASE_URL);
+}
+
+function readFromFile(callback) {
+ fs.readFile('hackmd', 'utf8', function (err, data) {
+ if (err) throw err;
+ callback(data);
+ });
+}
+
+function saveToFile(doc) {
+ fs.writeFile('hackmd', doc, function (err) {
+ if (err) throw err;
+ });
+}
+
+var updatequery = "UPDATE notes SET title='%s', content='%s', update_time=NOW() WHERE id='%s';";
+var insertquery = "INSERT INTO notes (id, owner, content) VALUES ('%s', '%s', '%s');";
+var insertifnotexistquery = "INSERT INTO notes (id, owner, content) \
+SELECT '%s', '%s', '%s' \
+WHERE NOT EXISTS (SELECT 1 FROM notes WHERE id='%s') RETURNING *;";
+var selectquery = "SELECT * FROM notes WHERE id='%s';";
+var countquery = "SELECT count(*) FROM notes;";
+
+function newToDB(id, owner, body, callback) {
+ var client = getDBClient();
+ client.connect(function (err) {
+ if (err) {
+ callback(err, null);
+ return console.error('could not connect to postgres', err);
+ }
+ var newnotequery = util.format(insertquery, id, owner, body);
+ //console.log(newnotequery);
+ client.query(newnotequery, function (err, result) {
+ if (err) {
+ callback(err, null);
+ return console.error("new note to db failed: " + err);
+ } else {
+ if (config.debug)
+ console.log("new note to db success");
+ callback(null, result);
+ client.end();
+ }
+ });
+ });
+}
+
+function readFromDB(id, callback) {
+ var client = getDBClient();
+ client.connect(function (err) {
+ if (err) {
+ callback(err, null);
+ return console.error('could not connect to postgres', err);
+ }
+ var readquery = util.format(selectquery, id);
+ //console.log(readquery);
+ client.query(readquery, function (err, result) {
+ if (err) {
+ callback(err, null);
+ return console.error("read from db failed: " + err);
+ } else {
+ //console.log(result.rows);
+ if (result.rows.length <= 0) {
+ callback("not found note in db", null);
+ } else {
+ console.log("read from db success");
+ callback(null, result);
+ client.end();
+ }
+ }
+ });
+ });
+}
+
+function saveToDB(id, title, data, callback) {
+ var client = getDBClient();
+ client.connect(function (err) {
+ if (err) {
+ callback(err, null);
+ return console.error('could not connect to postgres', err);
+ }
+ var savequery = util.format(updatequery, title, data, id);
+ //console.log(savequery);
+ client.query(savequery, function (err, result) {
+ if (err) {
+ callback(err, null);
+ return console.error("save to db failed: " + err);
+ } else {
+ if (config.debug)
+ console.log("save to db success");
+ callback(null, result);
+ client.end();
+ }
+ });
+ });
+}
+
+function countFromDB(callback) {
+ var client = getDBClient();
+ client.connect(function (err) {
+ if (err) {
+ callback(err, null);
+ return console.error('could not connect to postgres', err);
+ }
+ client.query(countquery, function (err, result) {
+ if (err) {
+ callback(err, null);
+ return console.error("count from db failed: " + err);
+ } else {
+ //console.log(result.rows);
+ if (result.rows.length <= 0) {
+ callback("not found note in db", null);
+ } else {
+ console.log("count from db success");
+ callback(null, result);
+ client.end();
+ }
+ }
+ });
+ });
+}
+
+module.exports = db;
\ No newline at end of file
diff --git a/lib/note.js b/lib/note.js
new file mode 100644
index 00000000..1212e1a6
--- /dev/null
+++ b/lib/note.js
@@ -0,0 +1,60 @@
+//note
+//external modules
+var LZString = require('lz-string');
+var marked = require('marked');
+var cheerio = require('cheerio');
+
+//others
+var db = require("./db.js");
+
+//public
+var note = {
+ checkNoteIdValid: checkNoteIdValid,
+ checkNoteExist: checkNoteExist,
+ getNoteTitle: getNoteTitle
+};
+
+function checkNoteIdValid(noteId) {
+ try {
+ //console.log(noteId);
+ var id = LZString.decompressFromBase64(noteId);
+ if (!id) return false;
+ var uuidRegex = /^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;
+ var result = id.match(uuidRegex);
+ if (result && result.length == 1)
+ return true;
+ else
+ return false;
+ } catch (err) {
+ console.error(err);
+ return false;
+ }
+}
+
+function checkNoteExist(noteId) {
+ try {
+ //console.log(noteId);
+ var id = LZString.decompressFromBase64(noteId);
+ db.readFromDB(id, function (err, result) {
+ if (err) return false;
+ return true;
+ });
+ } catch (err) {
+ console.error(err);
+ return false;
+ }
+}
+
+//get title
+function getNoteTitle(body) {
+ var $ = cheerio.load(marked(body));
+ var h1s = $("h1");
+ var title = "";
+ if (h1s.length > 0)
+ title = h1s.first().text();
+ else
+ title = "Untitled";
+ return title;
+}
+
+module.exports = note;
\ No newline at end of file
diff --git a/lib/realtime.js b/lib/realtime.js
new file mode 100644
index 00000000..303eb6a6
--- /dev/null
+++ b/lib/realtime.js
@@ -0,0 +1,392 @@
+//realtime
+//external modules
+var cookie = require('cookie');
+var cookieParser = require('cookie-parser');
+var url = require('url');
+var async = require('async');
+var LZString = require('lz-string');
+var shortId = require('shortid');
+var randomcolor = require("randomcolor");
+
+//core
+var config = require("../config.js");
+
+//others
+var db = require("./db.js");
+var Note = require("./note.js");
+var User = require("./user.js");
+
+//public
+var realtime = {
+ secure: secure,
+ connection: connection,
+ getStatus: getStatus
+};
+
+function secure(socket, next) {
+ try {
+ var handshakeData = socket.request;
+ if (handshakeData.headers.cookie) {
+ handshakeData.cookie = cookie.parse(handshakeData.headers.cookie);
+ handshakeData.sessionID = cookieParser.signedCookie(handshakeData.cookie[config.sessionname], config.sessionsecret);
+ if (handshakeData.cookie[config.sessionname] == handshakeData.sessionID) {
+ next(new Error('AUTH failed: Cookie is invalid.'));
+ }
+ } else {
+ next(new Error('AUTH failed: No cookie transmitted.'));
+ }
+ if (config.debug)
+ console.log("AUTH success cookie: " + handshakeData.sessionID);
+
+ next();
+ } catch (ex) {
+ next(new Error("AUTH failed:" + JSON.stringify(ex)));
+ }
+}
+
+//actions
+var users = {};
+var notes = {};
+var updater = setInterval(function () {
+ async.each(Object.keys(notes), function (key, callback) {
+ var note = notes[key];
+ if (note.isDirty) {
+ if (config.debug)
+ console.log("updater found dirty note: " + key);
+ var title = Note.getNoteTitle(LZString.decompressFromBase64(note.body));
+ db.saveToDB(key, title, note.body,
+ function (err, result) {});
+ note.isDirty = false;
+ }
+ callback();
+ }, function (err) {
+ if (err) return console.error('updater error', err);
+ });
+}, 5000);
+
+function getStatus(callback) {
+ db.countFromDB(function (err, data) {
+ if (err) return console.log(err);
+ var regusers = 0;
+ var distinctregusers = 0;
+ var distinctaddresses = [];
+ Object.keys(users).forEach(function (key) {
+ var value = users[key];
+ if(value.login)
+ regusers++;
+ var found = false;
+ for (var i = 0; i < distinctaddresses.length; i++) {
+ if (value.address == distinctaddresses[i]) {
+ found = true;
+ break;
+ }
+ }
+ if (!found)
+ distinctaddresses.push(value.address);
+ if(!found && value.login)
+ distinctregusers++;
+ });
+ User.getUserCount(function (err, regcount) {
+ if (err) {
+ console.log('get status failed: ' + err);
+ return;
+ }
+ if (callback)
+ callback({
+ onlineNotes: Object.keys(notes).length,
+ onlineUsers: Object.keys(users).length,
+ distinctOnlineUsers: distinctaddresses.length,
+ notesCount: data.rows[0].count,
+ registeredUsers: regcount,
+ onlineRegisteredUsers: regusers,
+ distinctOnlineRegisteredUsers: distinctregusers
+ });
+ });
+ });
+}
+
+function getNotenameFromSocket(socket) {
+ var hostUrl = url.parse(socket.handshake.headers.referer);
+ var notename = hostUrl.pathname.split('/')[1];
+ if (notename == config.featuresnotename) {
+ return notename;
+ }
+ if (!Note.checkNoteIdValid(notename)) {
+ socket.emit('info', {
+ code: 404
+ });
+ return socket.disconnect();
+ }
+ notename = LZString.decompressFromBase64(notename);
+ return notename;
+}
+
+function emitOnlineUsers(socket) {
+ var notename = getNotenameFromSocket(socket);
+ if (!notename || !notes[notename]) return;
+ var users = [];
+ Object.keys(notes[notename].users).forEach(function (key) {
+ var user = notes[notename].users[key];
+ if (user)
+ users.push({
+ id: user.id,
+ color: user.color,
+ cursor: user.cursor
+ });
+ });
+ notes[notename].socks.forEach(function (sock) {
+ sock.emit('online users', {
+ count: notes[notename].socks.length,
+ users: users
+ });
+ });
+}
+
+var isConnectionBusy = false;
+var connectionSocketQueue = [];
+var isDisconnectBusy = false;
+var disconnectSocketQueue = [];
+
+function finishConnection(socket, notename) {
+ notes[notename].users[socket.id] = users[socket.id];
+ notes[notename].socks.push(socket);
+ emitOnlineUsers(socket);
+ socket.emit('refresh', {
+ body: notes[notename].body
+ });
+
+ //clear finished socket in queue
+ for (var i = 0; i < connectionSocketQueue.length; i++) {
+ if (connectionSocketQueue[i].id == socket.id)
+ connectionSocketQueue.splice(i, 1);
+ }
+ //seek for next socket
+ isConnectionBusy = false;
+ if (connectionSocketQueue.length > 0)
+ startConnection(connectionSocketQueue[0]);
+
+ if (config.debug) {
+ console.log('SERVER connected a client to [' + notename + ']:');
+ console.log(JSON.stringify(users[socket.id]));
+ //console.log(notes);
+ getStatus(function (data) {
+ console.log(JSON.stringify(data));
+ });
+ }
+}
+
+function startConnection(socket) {
+ if (isConnectionBusy) return;
+ isConnectionBusy = true;
+
+ var notename = getNotenameFromSocket(socket);
+ if (!notename) return;
+
+ if (!notes[notename]) {
+ db.readFromDB(notename, function (err, data) {
+ if (err) {
+ socket.emit('info', {
+ code: 404
+ });
+ socket.disconnect();
+ //clear err socket in queue
+ for (var i = 0; i < connectionSocketQueue.length; i++) {
+ if (connectionSocketQueue[i].id == socket.id)
+ connectionSocketQueue.splice(i, 1);
+ }
+ isConnectionBusy = false;
+ return console.error(err);
+ }
+ var body = data.rows[0].content;
+ notes[notename] = {
+ socks: [],
+ body: body,
+ isDirty: false,
+ users: {}
+ };
+ finishConnection(socket, notename);
+ });
+ } else {
+ finishConnection(socket, notename);
+ }
+}
+
+function disconnect(socket) {
+ if (isDisconnectBusy) return;
+ isDisconnectBusy = true;
+
+ if (config.debug) {
+ console.log("SERVER disconnected a client");
+ console.log(JSON.stringify(users[socket.id]));
+ }
+ var notename = getNotenameFromSocket(socket);
+ if (!notename) return;
+ if (users[socket.id]) {
+ delete users[socket.id];
+ }
+ if (notes[notename]) {
+ delete notes[notename].users[socket.id];
+ var index = notes[notename].socks.indexOf(socket);
+ if (index > -1) {
+ notes[notename].socks.splice(index, 1);
+ }
+ if (Object.keys(notes[notename].users).length <= 0) {
+ var title = Note.getNoteTitle(LZString.decompressFromBase64(notes[notename].body));
+ db.saveToDB(notename, title, notes[notename].body,
+ function (err, result) {
+ delete notes[notename];
+ if (config.debug) {
+ //console.log(notes);
+ getStatus(function (data) {
+ console.log(JSON.stringify(data));
+ });
+ }
+ });
+ }
+ }
+ emitOnlineUsers(socket);
+
+ //clear finished socket in queue
+ for (var i = 0; i < disconnectSocketQueue.length; i++) {
+ if (disconnectSocketQueue[i].id == socket.id)
+ disconnectSocketQueue.splice(i, 1);
+ }
+ //seek for next socket
+ isDisconnectBusy = false;
+ if (disconnectSocketQueue.length > 0)
+ disconnect(disconnectSocketQueue[0]);
+
+ if (config.debug) {
+ //console.log(notes);
+ getStatus(function (data) {
+ console.log(JSON.stringify(data));
+ });
+ }
+}
+
+
+function connection(socket) {
+ users[socket.id] = {
+ id: socket.id,
+ address: socket.handshake.address,
+ 'user-agent': socket.handshake.headers['user-agent'],
+ otk: shortId.generate(),
+ color: randomcolor({
+ luminosity: 'light'
+ }),
+ cursor: null,
+ login: false
+ };
+
+ connectionSocketQueue.push(socket);
+ startConnection(socket);
+
+ //when a new client coming or received a client refresh request
+ socket.on('refresh', function (body_) {
+ var notename = getNotenameFromSocket(socket);
+ if (!notename) return;
+ if (config.debug)
+ console.log('SERVER received [' + notename + '] data updated: ' + socket.id);
+ if (notes[notename].body != body_) {
+ notes[notename].body = body_;
+ notes[notename].isDirty = true;
+ }
+ });
+
+ socket.on('user status', function (data) {
+ if(data)
+ users[socket.id].login = data.login;
+ });
+
+ socket.on('online users', function () {
+ emitOnlineUsers(socket);
+ });
+
+ socket.on('version', function () {
+ socket.emit('version', config.version);
+ });
+
+ socket.on('cursor focus', function (data) {
+ var notename = getNotenameFromSocket(socket);
+ if (!notename || !notes[notename]) return;
+ users[socket.id].cursor = data;
+ notes[notename].socks.forEach(function (sock) {
+ if (sock != socket) {
+ var out = {
+ id: socket.id,
+ color: users[socket.id].color,
+ cursor: data
+ };
+ sock.emit('cursor focus', out);
+ }
+ });
+ });
+
+ socket.on('cursor activity', function (data) {
+ var notename = getNotenameFromSocket(socket);
+ if (!notename || !notes[notename]) return;
+ users[socket.id].cursor = data;
+ notes[notename].socks.forEach(function (sock) {
+ if (sock != socket) {
+ var out = {
+ id: socket.id,
+ color: users[socket.id].color,
+ cursor: data
+ };
+ sock.emit('cursor activity', out);
+ }
+ });
+ });
+
+ socket.on('cursor blur', function () {
+ var notename = getNotenameFromSocket(socket);
+ if (!notename || !notes[notename]) return;
+ users[socket.id].cursor = null;
+ notes[notename].socks.forEach(function (sock) {
+ if (sock != socket) {
+ var out = {
+ id: socket.id
+ };
+ if (sock != socket) {
+ sock.emit('cursor blur', out);
+ }
+ }
+ });
+ });
+
+ //when a new client disconnect
+ socket.on('disconnect', function () {
+ disconnectSocketQueue.push(socket);
+ disconnect(socket);
+ });
+
+ //when received client change data request
+ socket.on('change', function (op) {
+ var notename = getNotenameFromSocket(socket);
+ if (!notename) return;
+ op = LZString.decompressFromBase64(op);
+ if (op)
+ op = JSON.parse(op);
+ if (config.debug)
+ console.log('SERVER received [' + notename + '] data changed: ' + socket.id + ', op:' + JSON.stringify(op));
+ switch (op.origin) {
+ case '+input':
+ case '+delete':
+ case 'paste':
+ case 'cut':
+ case 'undo':
+ case 'redo':
+ case 'drag':
+ notes[notename].socks.forEach(function (sock) {
+ if (sock != socket) {
+ if (config.debug)
+ console.log('SERVER emit sync data out [' + notename + ']: ' + sock.id + ', op:' + JSON.stringify(op));
+ sock.emit('change', LZString.compressToBase64(JSON.stringify(op)));
+ }
+ });
+ break;
+ }
+ });
+}
+
+module.exports = realtime;
\ No newline at end of file
diff --git a/lib/response.js b/lib/response.js
new file mode 100644
index 00000000..458ed01f
--- /dev/null
+++ b/lib/response.js
@@ -0,0 +1,211 @@
+//response
+//external modules
+var ejs = require('ejs');
+var fs = require('fs');
+var path = require('path');
+var uuid = require('node-uuid');
+var markdownpdf = require("markdown-pdf");
+var LZString = require('lz-string');
+
+//core
+var config = require("../config.js");
+
+//others
+var db = require("./db.js");
+var Note = require("./note.js");
+
+//public
+var response = {
+ errorForbidden: function (res) {
+ res.status(403).send("Forbidden, oh no.")
+ },
+ errorNotFound: function (res) {
+ responseError(res, "404", "Not Found", "oops.")
+ },
+ errorInternalError: function (res) {
+ responseError(res, "500", "Internal Error", "wtf.")
+ },
+ errorServiceUnavailable: function (res) {
+ res.status(503).send("I'm busy right now, try again later.")
+ },
+ newNote: newNote,
+ showFeatures: showFeatures,
+ showNote: showNote,
+ noteActions: noteActions
+};
+
+function responseError(res, code, detail, msg) {
+ res.writeHead(code, {
+ 'Content-Type': 'text/html'
+ });
+ var content = ejs.render(fs.readFileSync(config.errorpath, 'utf8'), {
+ cache: !config.debug,
+ filename: config.errorpath,
+ code: code,
+ detail: detail,
+ msg: msg
+ });
+ res.write(content);
+ res.end();
+}
+
+function responseHackMD(res) {
+ res.writeHead(200, {
+ 'Content-Type': 'text/html'
+ });
+ var content = ejs.render(fs.readFileSync(config.hackmdpath, 'utf8'), {
+ cache: !config.debug,
+ filename: config.hackmdpath
+ });
+ res.write(content);
+ res.end();
+}
+
+function newNote(req, res, next) {
+ var newId = uuid.v4();
+ var body = fs.readFileSync(config.defaultnotepath, 'utf8');
+ body = LZString.compressToBase64(body);
+ var owner = null;
+ if (req.isAuthenticated()) {
+ owner = req.session.passport.user;
+ }
+ db.newToDB(newId, owner, body, function (err, result) {
+ if (err) {
+ responseError(res, "500", "Internal Error", "wtf.");
+ return;
+ }
+ res.redirect("/" + LZString.compressToBase64(newId));
+ });
+}
+
+function showFeatures(req, res, next) {
+ db.readFromDB(config.featuresnotename, function (err, data) {
+ if (err) {
+ var body = fs.readFileSync(config.defaultfeaturespath, 'utf8');
+ body = LZString.compressToBase64(body);
+ db.newToDB(config.featuresnotename, null, body, function (err, result) {
+ if (err) {
+ responseError(res, "500", "Internal Error", "wtf.");
+ return;
+ }
+ responseHackMD(res);
+ });
+ } else {
+ responseHackMD(res);
+ }
+ });
+}
+
+function showNote(req, res, next) {
+ var noteId = req.params.noteId;
+ if (!Note.checkNoteIdValid(noteId)) {
+ responseError(res, "404", "Not Found", "oops.");
+ return;
+ }
+ responseHackMD(res);
+}
+
+function actionPretty(req, res, noteId) {
+ db.readFromDB(noteId, function (err, data) {
+ if (err) {
+ responseError(res, "404", "Not Found", "oops.");
+ return;
+ }
+ var body = data.rows[0].content;
+ var template = config.prettypath;
+ var compiled = ejs.compile(fs.readFileSync(template, 'utf8'));
+ var origin = "//" + req.headers.host;
+ var html = compiled({
+ url: origin,
+ body: body
+ });
+ var buf = html;
+ res.writeHead(200, {
+ 'Content-Type': 'text/html; charset=UTF-8',
+ 'Cache-Control': 'private',
+ 'Content-Length': buf.length
+ });
+ res.end(buf);
+ });
+}
+
+function actionDownload(req, res, noteId) {
+ db.readFromDB(noteId, function (err, data) {
+ if (err) {
+ responseError(res, "404", "Not Found", "oops.");
+ return;
+ }
+ var body = LZString.decompressFromBase64(data.rows[0].content);
+ var title = Note.getNoteTitle(body);
+ res.writeHead(200, {
+ 'Content-Type': 'text/markdown; charset=UTF-8',
+ 'Cache-Control': 'private',
+ 'Content-disposition': 'attachment; filename=' + title + '.md',
+ 'Content-Length': body.length
+ });
+ res.end(body);
+ });
+}
+
+function actionPDF(req, res, noteId) {
+ db.readFromDB(noteId, function (err, data) {
+ if (err) {
+ responseError(res, "404", "Not Found", "oops.");
+ return;
+ }
+ var body = LZString.decompressFromBase64(data.rows[0].content);
+ var title = Note.getNoteTitle(body);
+
+ if (!fs.existsSync(config.tmppath)) {
+ fs.mkdirSync(config.tmppath);
+ }
+ var path = config.tmppath + Date.now() + '.pdf';
+ markdownpdf().from.string(body).to(path, function () {
+ var stream = fs.createReadStream(path);
+ var filename = title;
+ // Be careful of special characters
+ filename = encodeURIComponent(filename);
+ // Ideally this should strip them
+ res.setHeader('Content-disposition', 'attachment; filename="' + filename + '.pdf"');
+ res.setHeader('Cache-Control', 'private');
+ res.setHeader('Content-Type', 'application/pdf; charset=UTF-8');
+ stream.pipe(res);
+ fs.unlink(path);
+ });
+ });
+}
+
+function noteActions(req, res, next) {
+ var noteId = req.params.noteId;
+ if (noteId != config.featuresnotename) {
+ if (!Note.checkNoteIdValid(noteId)) {
+ responseError(res, "404", "Not Found", "oops.");
+ return;
+ }
+ noteId = LZString.decompressFromBase64(noteId);
+ if (!noteId) {
+ responseError(res, "404", "Not Found", "oops.");
+ return;
+ }
+ }
+ var action = req.params.action;
+ switch (action) {
+ case "pretty":
+ actionPretty(req, res, noteId);
+ break;
+ case "download":
+ actionDownload(req, res, noteId);
+ break;
+ case "pdf":
+ actionPDF(req, res, noteId);
+ break;
+ default:
+ if (noteId != config.featuresnotename)
+ res.redirect('/' + LZString.compressToBase64(noteId));
+ else
+ res.redirect('/' + noteId);
+ break;
+ }
+}
+
+module.exports = response;
\ No newline at end of file
diff --git a/lib/user.js b/lib/user.js
new file mode 100644
index 00000000..1d7f11d2
--- /dev/null
+++ b/lib/user.js
@@ -0,0 +1,83 @@
+//user
+//external modules
+var mongoose = require('mongoose');
+
+//core
+var config = require("../config.js");
+
+// create a user model
+var model = mongoose.model('user', {
+ id: String,
+ profile: String,
+ history: String,
+ created: Date
+});
+
+//public
+var user = {
+ model: model,
+ findUser: findUser,
+ newUser: newUser,
+ findOrNewUser: findOrNewUser,
+ getUserCount: getUserCount
+};
+
+function getUserCount(callback) {
+ model.count(function(err, count){
+ if(err) callback(err, null);
+ else callback(null, count);
+ });
+}
+
+function findUser(id, callback) {
+ model.findOne({
+ id: id
+ }, function (err, user) {
+ if (err) {
+ console.log('find user failed: ' + err);
+ callback(err, null);
+ }
+ if (!err && user != null) {
+ callback(null, user);
+ } else {
+ console.log('find user failed: ' + err);
+ callback(err, null);
+ };
+ });
+}
+
+function newUser(id, profile, callback) {
+ var user = new model({
+ id: id,
+ profile: JSON.stringify(profile),
+ created: Date.now()
+ });
+ user.save(function (err) {
+ if (err) {
+ console.log('new user failed: ' + err);
+ callback(err, null);
+ } else {
+ console.log("new user success: " + user.id);
+ callback(null, user);
+ };
+ });
+}
+
+function findOrNewUser(id, profile, callback) {
+ findUser(id, function(err, user) {
+ if(err || user == null) {
+ newUser(id, profile, function(err, user) {
+ if(err) {
+ console.log('find or new user failed: ' + err);
+ callback(err, null);
+ } else {
+ callback(null, user);
+ }
+ });
+ } else {
+ callback(null, user);
+ }
+ });
+}
+
+module.exports = user;
\ No newline at end of file
diff --git a/package.json b/package.json
new file mode 100644
index 00000000..7c38fec6
--- /dev/null
+++ b/package.json
@@ -0,0 +1,45 @@
+{
+ "name": "hackmd",
+ "version": "0.2.7",
+ "description": "Realtime collaborative markdown notes on all platforms.",
+ "main": "server.js",
+ "author": "jackymaxj",
+ "private": true,
+ "license": "MIT",
+ "dependencies": {
+ "async": "^0.9.0",
+ "body-parser": "^1.12.3",
+ "cheerio": "^0.19.0",
+ "compression": "^1.4.3",
+ "connect": "3.x",
+ "connect-mongo": "^0.8.1",
+ "cookie": "0.1.2",
+ "cookie-parser": "1.3.3",
+ "ejs": "^1.0.0",
+ "emojify.js": "^1.0.1",
+ "express": "4.x",
+ "express-session": "^1.11.1",
+ "highlight.js": "^8.4.0",
+ "html": "0.0.7",
+ "jsdom-nogyp": "^0.8.3",
+ "lz-string": "1.3.6",
+ "markdown-pdf": "^5.2.0",
+ "marked": "^0.3.3",
+ "method-override": "^2.3.2",
+ "mongoose": "^4.0.2",
+ "node-uuid": "^1.4.3",
+ "passport": "^0.2.1",
+ "passport-dropbox-oauth2": "^0.1.6",
+ "passport-facebook": "^2.0.0",
+ "passport-github": "^0.1.5",
+ "passport-twitter": "^1.0.3",
+ "pg": "4.x",
+ "randomcolor": "^0.2.0",
+ "shortid": "2.1.3",
+ "socket.io": "1.3.5",
+ "toobusy-js": "^0.4.1"
+ },
+ "engines": {
+ "node": "0.10.x"
+ }
+}
diff --git a/public/GFM.md b/public/GFM.md
new file mode 100644
index 00000000..895bb1c1
--- /dev/null
+++ b/public/GFM.md
@@ -0,0 +1,45 @@
+GitHub Flavored Markdown
+========================
+
+Everything from markdown plus GFM features:
+
+## URL autolinking
+
+Underscores_are_allowed_between_words.
+asdasdasd
+
+## Strikethrough text
+
+GFM adds syntax to strikethrough text, which is missing from standard Markdown.
+
+~~Mistaken text.~~
+~~**works with other fomatting**~~
+
+~~spans across
+lines~~
+
+## Fenced code blocks (and syntax highlighting)
+
+```javascript
+for (var i = 0; i < items.length; i++) {
+ console.log(items[i], i); // log them
+}
+```
+
+## Task Lists
+
+- [ ] Incomplete task list item
+- [x] **Completed** task list item
+
+## A bit of GitHub spice
+
+* SHA: be6a8cc1c1ecfe9489fb51e4869af15a13fc2cd2
+* User@SHA ref: mojombo@be6a8cc1c1ecfe9489fb51e4869af15a13fc2cd2
+* User/Project@SHA: mojombo/god@be6a8cc1c1ecfe9489fb51e4869af15a13fc2cd2
+* \#Num: #1
+* User/#Num: mojombo#1
+* User/Project#Num: mojombo/god#1
+
+See http://github.github.com/github-flavored-markdown/.
+
+
diff --git a/public/apple-touch-icon.png b/public/apple-touch-icon.png
new file mode 100644
index 00000000..2f4e0264
Binary files /dev/null and b/public/apple-touch-icon.png differ
diff --git a/public/css/bootstrap-social.css b/public/css/bootstrap-social.css
new file mode 100755
index 00000000..7f364aa2
--- /dev/null
+++ b/public/css/bootstrap-social.css
@@ -0,0 +1,101 @@
+/*
+ * Social Buttons for Bootstrap
+ *
+ * Copyright 2013-2014 Panayiotis Lipiridis
+ * Licensed under the MIT License
+ *
+ * https://github.com/lipis/bootstrap-social
+ */
+
+.btn-social{position:relative;padding-left:44px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.btn-social>:first-child{position:absolute;left:0;top:0;bottom:0;width:32px;line-height:34px;font-size:1.6em;text-align:center;border-right:1px solid rgba(0,0,0,0.2)}
+.btn-social.btn-lg{padding-left:61px}.btn-social.btn-lg :first-child{line-height:45px;width:45px;font-size:1.8em}
+.btn-social.btn-sm{padding-left:38px}.btn-social.btn-sm :first-child{line-height:28px;width:28px;font-size:1.4em}
+.btn-social.btn-xs{padding-left:30px}.btn-social.btn-xs :first-child{line-height:20px;width:20px;font-size:1.2em}
+.btn-social-icon{position:relative;padding-left:44px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;height:34px;width:34px;padding:0}.btn-social-icon>:first-child{position:absolute;left:0;top:0;bottom:0;width:32px;line-height:34px;font-size:1.6em;text-align:center;border-right:1px solid rgba(0,0,0,0.2)}
+.btn-social-icon.btn-lg{padding-left:61px}.btn-social-icon.btn-lg :first-child{line-height:45px;width:45px;font-size:1.8em}
+.btn-social-icon.btn-sm{padding-left:38px}.btn-social-icon.btn-sm :first-child{line-height:28px;width:28px;font-size:1.4em}
+.btn-social-icon.btn-xs{padding-left:30px}.btn-social-icon.btn-xs :first-child{line-height:20px;width:20px;font-size:1.2em}
+.btn-social-icon :first-child{border:none;text-align:center;width:100% !important}
+.btn-social-icon.btn-lg{height:45px;width:45px;padding-left:0;padding-right:0}
+.btn-social-icon.btn-sm{height:30px;width:30px;padding-left:0;padding-right:0}
+.btn-social-icon.btn-xs{height:22px;width:22px;padding-left:0;padding-right:0}
+.btn-adn{color:#fff;background-color:#d87a68;border-color:rgba(0,0,0,0.2)}.btn-adn:hover,.btn-adn:focus,.btn-adn:active,.btn-adn.active,.open>.dropdown-toggle.btn-adn{color:#fff;background-color:#ce563f;border-color:rgba(0,0,0,0.2)}
+.btn-adn:active,.btn-adn.active,.open>.dropdown-toggle.btn-adn{background-image:none}
+.btn-adn.disabled,.btn-adn[disabled],fieldset[disabled] .btn-adn,.btn-adn.disabled:hover,.btn-adn[disabled]:hover,fieldset[disabled] .btn-adn:hover,.btn-adn.disabled:focus,.btn-adn[disabled]:focus,fieldset[disabled] .btn-adn:focus,.btn-adn.disabled:active,.btn-adn[disabled]:active,fieldset[disabled] .btn-adn:active,.btn-adn.disabled.active,.btn-adn[disabled].active,fieldset[disabled] .btn-adn.active{background-color:#d87a68;border-color:rgba(0,0,0,0.2)}
+.btn-adn .badge{color:#d87a68;background-color:#fff}
+.btn-bitbucket{color:#fff;background-color:#205081;border-color:rgba(0,0,0,0.2)}.btn-bitbucket:hover,.btn-bitbucket:focus,.btn-bitbucket:active,.btn-bitbucket.active,.open>.dropdown-toggle.btn-bitbucket{color:#fff;background-color:#163758;border-color:rgba(0,0,0,0.2)}
+.btn-bitbucket:active,.btn-bitbucket.active,.open>.dropdown-toggle.btn-bitbucket{background-image:none}
+.btn-bitbucket.disabled,.btn-bitbucket[disabled],fieldset[disabled] .btn-bitbucket,.btn-bitbucket.disabled:hover,.btn-bitbucket[disabled]:hover,fieldset[disabled] .btn-bitbucket:hover,.btn-bitbucket.disabled:focus,.btn-bitbucket[disabled]:focus,fieldset[disabled] .btn-bitbucket:focus,.btn-bitbucket.disabled:active,.btn-bitbucket[disabled]:active,fieldset[disabled] .btn-bitbucket:active,.btn-bitbucket.disabled.active,.btn-bitbucket[disabled].active,fieldset[disabled] .btn-bitbucket.active{background-color:#205081;border-color:rgba(0,0,0,0.2)}
+.btn-bitbucket .badge{color:#205081;background-color:#fff}
+.btn-dropbox{color:#fff;background-color:#1087dd;border-color:rgba(0,0,0,0.2)}.btn-dropbox:hover,.btn-dropbox:focus,.btn-dropbox:active,.btn-dropbox.active,.open>.dropdown-toggle.btn-dropbox{color:#fff;background-color:#0d6aad;border-color:rgba(0,0,0,0.2)}
+.btn-dropbox:active,.btn-dropbox.active,.open>.dropdown-toggle.btn-dropbox{background-image:none}
+.btn-dropbox.disabled,.btn-dropbox[disabled],fieldset[disabled] .btn-dropbox,.btn-dropbox.disabled:hover,.btn-dropbox[disabled]:hover,fieldset[disabled] .btn-dropbox:hover,.btn-dropbox.disabled:focus,.btn-dropbox[disabled]:focus,fieldset[disabled] .btn-dropbox:focus,.btn-dropbox.disabled:active,.btn-dropbox[disabled]:active,fieldset[disabled] .btn-dropbox:active,.btn-dropbox.disabled.active,.btn-dropbox[disabled].active,fieldset[disabled] .btn-dropbox.active{background-color:#1087dd;border-color:rgba(0,0,0,0.2)}
+.btn-dropbox .badge{color:#1087dd;background-color:#fff}
+.btn-facebook{color:#fff;background-color:#3b5998;border-color:rgba(0,0,0,0.2)}.btn-facebook:hover,.btn-facebook:focus,.btn-facebook:active,.btn-facebook.active,.open>.dropdown-toggle.btn-facebook{color:#fff;background-color:#2d4373;border-color:rgba(0,0,0,0.2)}
+.btn-facebook:active,.btn-facebook.active,.open>.dropdown-toggle.btn-facebook{background-image:none}
+.btn-facebook.disabled,.btn-facebook[disabled],fieldset[disabled] .btn-facebook,.btn-facebook.disabled:hover,.btn-facebook[disabled]:hover,fieldset[disabled] .btn-facebook:hover,.btn-facebook.disabled:focus,.btn-facebook[disabled]:focus,fieldset[disabled] .btn-facebook:focus,.btn-facebook.disabled:active,.btn-facebook[disabled]:active,fieldset[disabled] .btn-facebook:active,.btn-facebook.disabled.active,.btn-facebook[disabled].active,fieldset[disabled] .btn-facebook.active{background-color:#3b5998;border-color:rgba(0,0,0,0.2)}
+.btn-facebook .badge{color:#3b5998;background-color:#fff}
+.btn-flickr{color:#fff;background-color:#ff0084;border-color:rgba(0,0,0,0.2)}.btn-flickr:hover,.btn-flickr:focus,.btn-flickr:active,.btn-flickr.active,.open>.dropdown-toggle.btn-flickr{color:#fff;background-color:#cc006a;border-color:rgba(0,0,0,0.2)}
+.btn-flickr:active,.btn-flickr.active,.open>.dropdown-toggle.btn-flickr{background-image:none}
+.btn-flickr.disabled,.btn-flickr[disabled],fieldset[disabled] .btn-flickr,.btn-flickr.disabled:hover,.btn-flickr[disabled]:hover,fieldset[disabled] .btn-flickr:hover,.btn-flickr.disabled:focus,.btn-flickr[disabled]:focus,fieldset[disabled] .btn-flickr:focus,.btn-flickr.disabled:active,.btn-flickr[disabled]:active,fieldset[disabled] .btn-flickr:active,.btn-flickr.disabled.active,.btn-flickr[disabled].active,fieldset[disabled] .btn-flickr.active{background-color:#ff0084;border-color:rgba(0,0,0,0.2)}
+.btn-flickr .badge{color:#ff0084;background-color:#fff}
+.btn-foursquare{color:#fff;background-color:#f94877;border-color:rgba(0,0,0,0.2)}.btn-foursquare:hover,.btn-foursquare:focus,.btn-foursquare:active,.btn-foursquare.active,.open>.dropdown-toggle.btn-foursquare{color:#fff;background-color:#f71752;border-color:rgba(0,0,0,0.2)}
+.btn-foursquare:active,.btn-foursquare.active,.open>.dropdown-toggle.btn-foursquare{background-image:none}
+.btn-foursquare.disabled,.btn-foursquare[disabled],fieldset[disabled] .btn-foursquare,.btn-foursquare.disabled:hover,.btn-foursquare[disabled]:hover,fieldset[disabled] .btn-foursquare:hover,.btn-foursquare.disabled:focus,.btn-foursquare[disabled]:focus,fieldset[disabled] .btn-foursquare:focus,.btn-foursquare.disabled:active,.btn-foursquare[disabled]:active,fieldset[disabled] .btn-foursquare:active,.btn-foursquare.disabled.active,.btn-foursquare[disabled].active,fieldset[disabled] .btn-foursquare.active{background-color:#f94877;border-color:rgba(0,0,0,0.2)}
+.btn-foursquare .badge{color:#f94877;background-color:#fff}
+.btn-github{color:#fff;background-color:#444;border-color:rgba(0,0,0,0.2)}.btn-github:hover,.btn-github:focus,.btn-github:active,.btn-github.active,.open>.dropdown-toggle.btn-github{color:#fff;background-color:#2b2b2b;border-color:rgba(0,0,0,0.2)}
+.btn-github:active,.btn-github.active,.open>.dropdown-toggle.btn-github{background-image:none}
+.btn-github.disabled,.btn-github[disabled],fieldset[disabled] .btn-github,.btn-github.disabled:hover,.btn-github[disabled]:hover,fieldset[disabled] .btn-github:hover,.btn-github.disabled:focus,.btn-github[disabled]:focus,fieldset[disabled] .btn-github:focus,.btn-github.disabled:active,.btn-github[disabled]:active,fieldset[disabled] .btn-github:active,.btn-github.disabled.active,.btn-github[disabled].active,fieldset[disabled] .btn-github.active{background-color:#444;border-color:rgba(0,0,0,0.2)}
+.btn-github .badge{color:#444;background-color:#fff}
+.btn-google{color:#fff;background-color:#dd4b39;border-color:rgba(0,0,0,0.2)}.btn-google:hover,.btn-google:focus,.btn-google:active,.btn-google.active,.open>.dropdown-toggle.btn-google{color:#fff;background-color:#c23321;border-color:rgba(0,0,0,0.2)}
+.btn-google:active,.btn-google.active,.open>.dropdown-toggle.btn-google{background-image:none}
+.btn-google.disabled,.btn-google[disabled],fieldset[disabled] .btn-google,.btn-google.disabled:hover,.btn-google[disabled]:hover,fieldset[disabled] .btn-google:hover,.btn-google.disabled:focus,.btn-google[disabled]:focus,fieldset[disabled] .btn-google:focus,.btn-google.disabled:active,.btn-google[disabled]:active,fieldset[disabled] .btn-google:active,.btn-google.disabled.active,.btn-google[disabled].active,fieldset[disabled] .btn-google.active{background-color:#dd4b39;border-color:rgba(0,0,0,0.2)}
+.btn-google .badge{color:#dd4b39;background-color:#fff}
+.btn-instagram{color:#fff;background-color:#3f729b;border-color:rgba(0,0,0,0.2)}.btn-instagram:hover,.btn-instagram:focus,.btn-instagram:active,.btn-instagram.active,.open>.dropdown-toggle.btn-instagram{color:#fff;background-color:#305777;border-color:rgba(0,0,0,0.2)}
+.btn-instagram:active,.btn-instagram.active,.open>.dropdown-toggle.btn-instagram{background-image:none}
+.btn-instagram.disabled,.btn-instagram[disabled],fieldset[disabled] .btn-instagram,.btn-instagram.disabled:hover,.btn-instagram[disabled]:hover,fieldset[disabled] .btn-instagram:hover,.btn-instagram.disabled:focus,.btn-instagram[disabled]:focus,fieldset[disabled] .btn-instagram:focus,.btn-instagram.disabled:active,.btn-instagram[disabled]:active,fieldset[disabled] .btn-instagram:active,.btn-instagram.disabled.active,.btn-instagram[disabled].active,fieldset[disabled] .btn-instagram.active{background-color:#3f729b;border-color:rgba(0,0,0,0.2)}
+.btn-instagram .badge{color:#3f729b;background-color:#fff}
+.btn-linkedin{color:#fff;background-color:#007bb6;border-color:rgba(0,0,0,0.2)}.btn-linkedin:hover,.btn-linkedin:focus,.btn-linkedin:active,.btn-linkedin.active,.open>.dropdown-toggle.btn-linkedin{color:#fff;background-color:#005983;border-color:rgba(0,0,0,0.2)}
+.btn-linkedin:active,.btn-linkedin.active,.open>.dropdown-toggle.btn-linkedin{background-image:none}
+.btn-linkedin.disabled,.btn-linkedin[disabled],fieldset[disabled] .btn-linkedin,.btn-linkedin.disabled:hover,.btn-linkedin[disabled]:hover,fieldset[disabled] .btn-linkedin:hover,.btn-linkedin.disabled:focus,.btn-linkedin[disabled]:focus,fieldset[disabled] .btn-linkedin:focus,.btn-linkedin.disabled:active,.btn-linkedin[disabled]:active,fieldset[disabled] .btn-linkedin:active,.btn-linkedin.disabled.active,.btn-linkedin[disabled].active,fieldset[disabled] .btn-linkedin.active{background-color:#007bb6;border-color:rgba(0,0,0,0.2)}
+.btn-linkedin .badge{color:#007bb6;background-color:#fff}
+.btn-microsoft{color:#fff;background-color:#2672ec;border-color:rgba(0,0,0,0.2)}.btn-microsoft:hover,.btn-microsoft:focus,.btn-microsoft:active,.btn-microsoft.active,.open>.dropdown-toggle.btn-microsoft{color:#fff;background-color:#125acd;border-color:rgba(0,0,0,0.2)}
+.btn-microsoft:active,.btn-microsoft.active,.open>.dropdown-toggle.btn-microsoft{background-image:none}
+.btn-microsoft.disabled,.btn-microsoft[disabled],fieldset[disabled] .btn-microsoft,.btn-microsoft.disabled:hover,.btn-microsoft[disabled]:hover,fieldset[disabled] .btn-microsoft:hover,.btn-microsoft.disabled:focus,.btn-microsoft[disabled]:focus,fieldset[disabled] .btn-microsoft:focus,.btn-microsoft.disabled:active,.btn-microsoft[disabled]:active,fieldset[disabled] .btn-microsoft:active,.btn-microsoft.disabled.active,.btn-microsoft[disabled].active,fieldset[disabled] .btn-microsoft.active{background-color:#2672ec;border-color:rgba(0,0,0,0.2)}
+.btn-microsoft .badge{color:#2672ec;background-color:#fff}
+.btn-openid{color:#fff;background-color:#f7931e;border-color:rgba(0,0,0,0.2)}.btn-openid:hover,.btn-openid:focus,.btn-openid:active,.btn-openid.active,.open>.dropdown-toggle.btn-openid{color:#fff;background-color:#da7908;border-color:rgba(0,0,0,0.2)}
+.btn-openid:active,.btn-openid.active,.open>.dropdown-toggle.btn-openid{background-image:none}
+.btn-openid.disabled,.btn-openid[disabled],fieldset[disabled] .btn-openid,.btn-openid.disabled:hover,.btn-openid[disabled]:hover,fieldset[disabled] .btn-openid:hover,.btn-openid.disabled:focus,.btn-openid[disabled]:focus,fieldset[disabled] .btn-openid:focus,.btn-openid.disabled:active,.btn-openid[disabled]:active,fieldset[disabled] .btn-openid:active,.btn-openid.disabled.active,.btn-openid[disabled].active,fieldset[disabled] .btn-openid.active{background-color:#f7931e;border-color:rgba(0,0,0,0.2)}
+.btn-openid .badge{color:#f7931e;background-color:#fff}
+.btn-pinterest{color:#fff;background-color:#cb2027;border-color:rgba(0,0,0,0.2)}.btn-pinterest:hover,.btn-pinterest:focus,.btn-pinterest:active,.btn-pinterest.active,.open>.dropdown-toggle.btn-pinterest{color:#fff;background-color:#9f191f;border-color:rgba(0,0,0,0.2)}
+.btn-pinterest:active,.btn-pinterest.active,.open>.dropdown-toggle.btn-pinterest{background-image:none}
+.btn-pinterest.disabled,.btn-pinterest[disabled],fieldset[disabled] .btn-pinterest,.btn-pinterest.disabled:hover,.btn-pinterest[disabled]:hover,fieldset[disabled] .btn-pinterest:hover,.btn-pinterest.disabled:focus,.btn-pinterest[disabled]:focus,fieldset[disabled] .btn-pinterest:focus,.btn-pinterest.disabled:active,.btn-pinterest[disabled]:active,fieldset[disabled] .btn-pinterest:active,.btn-pinterest.disabled.active,.btn-pinterest[disabled].active,fieldset[disabled] .btn-pinterest.active{background-color:#cb2027;border-color:rgba(0,0,0,0.2)}
+.btn-pinterest .badge{color:#cb2027;background-color:#fff}
+.btn-reddit{color:#000;background-color:#eff7ff;border-color:rgba(0,0,0,0.2)}.btn-reddit:hover,.btn-reddit:focus,.btn-reddit:active,.btn-reddit.active,.open>.dropdown-toggle.btn-reddit{color:#000;background-color:#bcddff;border-color:rgba(0,0,0,0.2)}
+.btn-reddit:active,.btn-reddit.active,.open>.dropdown-toggle.btn-reddit{background-image:none}
+.btn-reddit.disabled,.btn-reddit[disabled],fieldset[disabled] .btn-reddit,.btn-reddit.disabled:hover,.btn-reddit[disabled]:hover,fieldset[disabled] .btn-reddit:hover,.btn-reddit.disabled:focus,.btn-reddit[disabled]:focus,fieldset[disabled] .btn-reddit:focus,.btn-reddit.disabled:active,.btn-reddit[disabled]:active,fieldset[disabled] .btn-reddit:active,.btn-reddit.disabled.active,.btn-reddit[disabled].active,fieldset[disabled] .btn-reddit.active{background-color:#eff7ff;border-color:rgba(0,0,0,0.2)}
+.btn-reddit .badge{color:#eff7ff;background-color:#000}
+.btn-soundcloud{color:#fff;background-color:#f50;border-color:rgba(0,0,0,0.2)}.btn-soundcloud:hover,.btn-soundcloud:focus,.btn-soundcloud:active,.btn-soundcloud.active,.open>.dropdown-toggle.btn-soundcloud{color:#fff;background-color:#c40;border-color:rgba(0,0,0,0.2)}
+.btn-soundcloud:active,.btn-soundcloud.active,.open>.dropdown-toggle.btn-soundcloud{background-image:none}
+.btn-soundcloud.disabled,.btn-soundcloud[disabled],fieldset[disabled] .btn-soundcloud,.btn-soundcloud.disabled:hover,.btn-soundcloud[disabled]:hover,fieldset[disabled] .btn-soundcloud:hover,.btn-soundcloud.disabled:focus,.btn-soundcloud[disabled]:focus,fieldset[disabled] .btn-soundcloud:focus,.btn-soundcloud.disabled:active,.btn-soundcloud[disabled]:active,fieldset[disabled] .btn-soundcloud:active,.btn-soundcloud.disabled.active,.btn-soundcloud[disabled].active,fieldset[disabled] .btn-soundcloud.active{background-color:#f50;border-color:rgba(0,0,0,0.2)}
+.btn-soundcloud .badge{color:#f50;background-color:#fff}
+.btn-tumblr{color:#fff;background-color:#2c4762;border-color:rgba(0,0,0,0.2)}.btn-tumblr:hover,.btn-tumblr:focus,.btn-tumblr:active,.btn-tumblr.active,.open>.dropdown-toggle.btn-tumblr{color:#fff;background-color:#1c2d3f;border-color:rgba(0,0,0,0.2)}
+.btn-tumblr:active,.btn-tumblr.active,.open>.dropdown-toggle.btn-tumblr{background-image:none}
+.btn-tumblr.disabled,.btn-tumblr[disabled],fieldset[disabled] .btn-tumblr,.btn-tumblr.disabled:hover,.btn-tumblr[disabled]:hover,fieldset[disabled] .btn-tumblr:hover,.btn-tumblr.disabled:focus,.btn-tumblr[disabled]:focus,fieldset[disabled] .btn-tumblr:focus,.btn-tumblr.disabled:active,.btn-tumblr[disabled]:active,fieldset[disabled] .btn-tumblr:active,.btn-tumblr.disabled.active,.btn-tumblr[disabled].active,fieldset[disabled] .btn-tumblr.active{background-color:#2c4762;border-color:rgba(0,0,0,0.2)}
+.btn-tumblr .badge{color:#2c4762;background-color:#fff}
+.btn-twitter{color:#fff;background-color:#55acee;border-color:rgba(0,0,0,0.2)}.btn-twitter:hover,.btn-twitter:focus,.btn-twitter:active,.btn-twitter.active,.open>.dropdown-toggle.btn-twitter{color:#fff;background-color:#2795e9;border-color:rgba(0,0,0,0.2)}
+.btn-twitter:active,.btn-twitter.active,.open>.dropdown-toggle.btn-twitter{background-image:none}
+.btn-twitter.disabled,.btn-twitter[disabled],fieldset[disabled] .btn-twitter,.btn-twitter.disabled:hover,.btn-twitter[disabled]:hover,fieldset[disabled] .btn-twitter:hover,.btn-twitter.disabled:focus,.btn-twitter[disabled]:focus,fieldset[disabled] .btn-twitter:focus,.btn-twitter.disabled:active,.btn-twitter[disabled]:active,fieldset[disabled] .btn-twitter:active,.btn-twitter.disabled.active,.btn-twitter[disabled].active,fieldset[disabled] .btn-twitter.active{background-color:#55acee;border-color:rgba(0,0,0,0.2)}
+.btn-twitter .badge{color:#55acee;background-color:#fff}
+.btn-vimeo{color:#fff;background-color:#1ab7ea;border-color:rgba(0,0,0,0.2)}.btn-vimeo:hover,.btn-vimeo:focus,.btn-vimeo:active,.btn-vimeo.active,.open>.dropdown-toggle.btn-vimeo{color:#fff;background-color:#1295bf;border-color:rgba(0,0,0,0.2)}
+.btn-vimeo:active,.btn-vimeo.active,.open>.dropdown-toggle.btn-vimeo{background-image:none}
+.btn-vimeo.disabled,.btn-vimeo[disabled],fieldset[disabled] .btn-vimeo,.btn-vimeo.disabled:hover,.btn-vimeo[disabled]:hover,fieldset[disabled] .btn-vimeo:hover,.btn-vimeo.disabled:focus,.btn-vimeo[disabled]:focus,fieldset[disabled] .btn-vimeo:focus,.btn-vimeo.disabled:active,.btn-vimeo[disabled]:active,fieldset[disabled] .btn-vimeo:active,.btn-vimeo.disabled.active,.btn-vimeo[disabled].active,fieldset[disabled] .btn-vimeo.active{background-color:#1ab7ea;border-color:rgba(0,0,0,0.2)}
+.btn-vimeo .badge{color:#1ab7ea;background-color:#fff}
+.btn-vk{color:#fff;background-color:#587ea3;border-color:rgba(0,0,0,0.2)}.btn-vk:hover,.btn-vk:focus,.btn-vk:active,.btn-vk.active,.open>.dropdown-toggle.btn-vk{color:#fff;background-color:#466482;border-color:rgba(0,0,0,0.2)}
+.btn-vk:active,.btn-vk.active,.open>.dropdown-toggle.btn-vk{background-image:none}
+.btn-vk.disabled,.btn-vk[disabled],fieldset[disabled] .btn-vk,.btn-vk.disabled:hover,.btn-vk[disabled]:hover,fieldset[disabled] .btn-vk:hover,.btn-vk.disabled:focus,.btn-vk[disabled]:focus,fieldset[disabled] .btn-vk:focus,.btn-vk.disabled:active,.btn-vk[disabled]:active,fieldset[disabled] .btn-vk:active,.btn-vk.disabled.active,.btn-vk[disabled].active,fieldset[disabled] .btn-vk.active{background-color:#587ea3;border-color:rgba(0,0,0,0.2)}
+.btn-vk .badge{color:#587ea3;background-color:#fff}
+.btn-yahoo{color:#fff;background-color:#720e9e;border-color:rgba(0,0,0,0.2)}.btn-yahoo:hover,.btn-yahoo:focus,.btn-yahoo:active,.btn-yahoo.active,.open>.dropdown-toggle.btn-yahoo{color:#fff;background-color:#500a6f;border-color:rgba(0,0,0,0.2)}
+.btn-yahoo:active,.btn-yahoo.active,.open>.dropdown-toggle.btn-yahoo{background-image:none}
+.btn-yahoo.disabled,.btn-yahoo[disabled],fieldset[disabled] .btn-yahoo,.btn-yahoo.disabled:hover,.btn-yahoo[disabled]:hover,fieldset[disabled] .btn-yahoo:hover,.btn-yahoo.disabled:focus,.btn-yahoo[disabled]:focus,fieldset[disabled] .btn-yahoo:focus,.btn-yahoo.disabled:active,.btn-yahoo[disabled]:active,fieldset[disabled] .btn-yahoo:active,.btn-yahoo.disabled.active,.btn-yahoo[disabled].active,fieldset[disabled] .btn-yahoo.active{background-color:#720e9e;border-color:rgba(0,0,0,0.2)}
+.btn-yahoo .badge{color:#720e9e;background-color:#fff}
diff --git a/public/css/center.css b/public/css/center.css
new file mode 100644
index 00000000..61d3bc57
--- /dev/null
+++ b/public/css/center.css
@@ -0,0 +1,13 @@
+html,
+body,
+.container-fluid {
+ height: 98%;
+}
+.container-fluid {
+ display: table;
+ vertical-align: middle;
+}
+.vertical-center-row {
+ display: table-cell;
+ vertical-align: middle;
+}
\ No newline at end of file
diff --git a/public/css/cover.css b/public/css/cover.css
new file mode 100644
index 00000000..da4207b8
--- /dev/null
+++ b/public/css/cover.css
@@ -0,0 +1,278 @@
+/*
+ * Globals
+ */
+
+/* Links */
+
+a,
+a:focus,
+a:hover {
+ color: #fff;
+}
+/* Custom default button */
+
+.btn-default,
+.btn-default:hover,
+.btn-default:focus {
+ color: #333;
+ text-shadow: none;
+ /* Prevent inheritence from `body` */
+ background-color: #fff;
+ border: 1px solid #fff;
+}
+/*
+ * Base structure
+ */
+
+html,
+body {
+ height: 100%;
+ background-color: #333;
+}
+body {
+ color: #fff;
+ text-align: center;
+ text-shadow: 0 1px 3px rgba(0, 0, 0, .5);
+}
+/* Extra markup and styles for table-esque vertical and horizontal centering */
+
+.site-wrapper {
+ padding: 10px;
+ display: table;
+ width: 100%;
+ height: 100%;
+ /* For at least Firefox */
+ min-height: 100%;
+ -webkit-box-shadow: inset 0 0 100px rgba(0, 0, 0, .5);
+ box-shadow: inset 0 0 100px rgba(0, 0, 0, .5);
+}
+.site-wrapper-inner {
+ display: table-cell;
+ vertical-align: middle;
+}
+.cover-container {
+ margin-right: auto;
+ margin-left: auto;
+}
+/* Padding for spacing */
+
+.inner {
+ padding: 10px;
+}
+/*
+ * Header
+ */
+
+.masthead-brand {
+ margin-top: 10px;
+ margin-bottom: 10px;
+}
+.masthead-nav > li {
+ display: inline-block;
+}
+.masthead-nav > li + li {
+ margin-left: 20px;
+}
+.masthead-nav > li > a {
+ padding-right: 0;
+ padding-left: 0;
+ font-size: 16px;
+ font-weight: bold;
+ color: #fff;
+ /* IE8 proofing */
+ color: rgba(255, 255, 255, .75);
+ border-bottom: 2px solid transparent;
+}
+.masthead-nav > li > a:hover,
+.masthead-nav > li > a:focus {
+ background-color: transparent;
+ border-bottom-color: #a9a9a9;
+ border-bottom-color: rgba(255, 255, 255, .25);
+}
+.masthead-nav > .active > a,
+.masthead-nav > .active > a:hover,
+.masthead-nav > .active > a:focus {
+ color: #fff;
+ border-bottom-color: #fff;
+}
+@media (min-width: 768px) {
+ .masthead-brand {
+ float: left;
+ }
+ .masthead-nav {
+ float: none;
+ }
+ .inner {
+ padding: 30px;
+ }
+}
+/*
+ * Cover
+ */
+
+.cover {
+ padding: 0 20px;
+}
+.cover .btn-lg {
+ padding: 10px 20px;
+ font-weight: bold;
+}
+/*
+ * Footer
+ */
+
+.mastfoot {
+ color: #999;
+ /* IE8 proofing */
+ color: rgba(255, 255, 255, .5);
+}
+/*
+ * Affix and center
+ */
+
+@media (min-width: 768px) {
+ /* Pull out the header and footer */
+ .masthead {
+ position: relative;
+ top: 0;
+ }
+ .mastfoot {
+ position: fixed;
+ bottom: 0;
+ }
+ /* Start the vertical centering */
+ .site-wrapper-inner {
+ vertical-align: middle;
+ }
+ /* Handle the widths */
+ .masthead,
+ .mastfoot,
+ .cover-container {
+ width: 100%;
+ /* Must be percentage or pixels for horizontal alignment */
+ }
+}
+@media (min-width: 992px) {
+ .masthead,
+ .mastfoot,
+ .cover-container {
+ width: 700px;
+ }
+}
+.section ul {
+ list-style: none;
+}
+/* custom */
+
+html,
+body {
+ overflow-x: hidden;
+}
+.select2-selection,
+.select2-search__field {
+ outline: 0;
+}
+.select2-search__field:hover {
+ border: 1px solid #b9b9b9 !important;
+ border-top-color: #a0a0a0 !important;
+}
+.select2-search__field:focus {
+ border: 1px solid #4d90fe !important;
+}
+input {
+ color: black;
+}
+.mastfoot {
+ position: relative;
+}
+.select2 {
+ width: 100% !important;
+ max-width: 400px;
+}
+.select2-selection {
+ height: 32px !important;
+}
+.select2-selection__rendered {
+ line-height: 32px !important;
+}
+.select2-selection__arrow {
+ height: 30px !important;
+}
+.select2-selection__rendered,
+.select2-selection__placeholder,
+.select2-results__option {
+ color: #000;
+ text-shadow: none;
+}
+.list {
+ width: 100%;
+ padding-left: 0;
+ display: -webkit-inline-flex;
+ display: -moz-inline-flex;
+ display: -ms-inline-flex;
+ display: -o-inline-flex;
+ display: inline-flex;
+ -webkit-flex-direction: row;
+ -moz-flex-direction: row;
+ -ms-flex-direction: row;
+ flex-direction: row;
+ -webkit-flex-flow: row wrap;
+ -moz-flex-flow: row wrap;
+ -ms-flex-flow: row wrap;
+ flex-flow: row wrap;
+ -webkit-justify-content: flex-start;
+ -moz-justify-content: flex-start;
+ -ms-justify-content: flex-start;
+ justify-content: flex-start;
+}
+.list {
+ margin: 20px 0;
+}
+.list li {
+ padding: 0 10px;
+}
+.list li * {
+ word-break: break-all;
+ word-wrap: break-word;
+}
+.list li a {
+ text-decoration: none;
+}
+.list li p {
+ color: gray;
+}
+.list li .item {
+ padding: 5px 25px;
+ margin: 10px 0;
+ background: white;
+ border-radius: 5px;
+ color: black;
+ text-shadow: none;
+}
+.list li .item .tags {
+ line-height: 25px;
+}
+.form-inline {
+ padding: 0 10px;
+}
+.sort.asc {
+ text-decoration: overline;
+}
+.sort.desc {
+ text-decoration: underline;
+}
+.ui-history-close {
+ position: absolute;
+ right: 14px;
+ top: 15px;
+ font-size: 16px;
+ opacity: 0.5;
+}
+.ui-history-close:hover {
+ opacity: 1;
+}
+
+.modal-title {
+ text-align: left;
+ color: black;
+}
\ No newline at end of file
diff --git a/public/css/extra.css b/public/css/extra.css
new file mode 100644
index 00000000..8b7eb884
--- /dev/null
+++ b/public/css/extra.css
@@ -0,0 +1,47 @@
+/* for extra features should include this */
+
+.vimeo,
+.youtube {
+ cursor: pointer;
+ display: table;
+ max-width: 540px;
+ text-align: center;
+ background-position: center center;
+ background-repeat: no-repeat;
+ background-size: contain;
+ background-color: black;
+}
+.vimeo .icon,
+.youtube .icon {
+ opacity: 0.5;
+ display: table-cell;
+ vertical-align: middle;
+ height: inherit;
+ margin: 0 auto;
+}
+.vimeo:hover .icon,
+.youtube:hover .icon {
+ opacity: 0.6;
+}
+h1:hover .header-link,
+h2:hover .header-link,
+h3:hover .header-link,
+h4:hover .header-link,
+h5:hover .header-link,
+h6:hover .header-link {
+ opacity: 1;
+ -webkit-transition: opacity 0.2s ease-in-out 0.1s;
+ -moz-transition: opacity 0.2s ease-in-out 0.1s;
+ -o-transition: opacity 0.2s ease-in-out 0.1s;
+ transition: opacity 0.2s ease-in-out 0.1s;
+}
+.header-link {
+ position: relative;
+ left: 0.5em;
+ opacity: 0;
+ font-size: 0.8em;
+ -webkit-transition: opacity 0.2s ease-in-out 0.1s;
+ -moz-transition: opacity 0.2s ease-in-out 0.1s;
+ -o-transition: opacity 0.2s ease-in-out 0.1s;
+ transition: opacity 0.2s ease-in-out 0.1s;
+}
\ No newline at end of file
diff --git a/public/css/gist.css b/public/css/gist.css
new file mode 100644
index 00000000..45127d0f
--- /dev/null
+++ b/public/css/gist.css
@@ -0,0 +1,647 @@
+.gist {
+ color: #333;
+ font-size: 16px
+}
+
+.gist .markdown-body {
+ overflow: hidden;
+ font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif;
+ font-size: 16px;
+ line-height: 1.6;
+ word-wrap: break-word
+}
+
+.gist .markdown-body>*:first-child {
+ margin-top: 0 !important
+}
+
+.gist .markdown-body>*:last-child {
+ margin-bottom: 0 !important
+}
+
+.gist .markdown-body .absent {
+ color: #c00
+}
+
+.gist .markdown-body .anchor {
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ left: 0;
+ display: block;
+ padding-right: 6px;
+ padding-left: 30px;
+ margin-left: -30px
+}
+
+.gist .markdown-body .anchor:focus {
+ outline: none
+}
+
+.gist .markdown-body h1,
+.gist .markdown-body h2,
+.gist .markdown-body h3,
+.gist .markdown-body h4,
+.gist .markdown-body h5,
+.gist .markdown-body h6 {
+ position: relative;
+ margin-top: 1em;
+ margin-bottom: 16px;
+ font-weight: bold;
+ line-height: 1.4
+}
+
+.gist .markdown-body h1 .octicon-link,
+.gist .markdown-body h2 .octicon-link,
+.gist .markdown-body h3 .octicon-link,
+.gist .markdown-body h4 .octicon-link,
+.gist .markdown-body h5 .octicon-link,
+.gist .markdown-body h6 .octicon-link {
+ display: none;
+ color: #000;
+ vertical-align: middle
+}
+
+.gist .markdown-body h1:hover .anchor,
+.gist .markdown-body h2:hover .anchor,
+.gist .markdown-body h3:hover .anchor,
+.gist .markdown-body h4:hover .anchor,
+.gist .markdown-body h5:hover .anchor,
+.gist .markdown-body h6:hover .anchor {
+ padding-left: 8px;
+ margin-left: -30px;
+ line-height: 1;
+ text-decoration: none
+}
+
+.gist .markdown-body h1:hover .anchor .octicon-link,
+.gist .markdown-body h2:hover .anchor .octicon-link,
+.gist .markdown-body h3:hover .anchor .octicon-link,
+.gist .markdown-body h4:hover .anchor .octicon-link,
+.gist .markdown-body h5:hover .anchor .octicon-link,
+.gist .markdown-body h6:hover .anchor .octicon-link {
+ display: inline-block
+}
+
+.gist .markdown-body h1 tt,
+.gist .markdown-body h1 code,
+.gist .markdown-body h2 tt,
+.gist .markdown-body h2 code,
+.gist .markdown-body h3 tt,
+.gist .markdown-body h3 code,
+.gist .markdown-body h4 tt,
+.gist .markdown-body h4 code,
+.gist .markdown-body h5 tt,
+.gist .markdown-body h5 code,
+.gist .markdown-body h6 tt,
+.gist .markdown-body h6 code {
+ font-size: inherit
+}
+
+.gist .markdown-body h1 {
+ padding-bottom: 0.3em;
+ font-size: 2.25em;
+ line-height: 1.2;
+ border-bottom: 1px solid #eee
+}
+
+.gist .markdown-body h2 {
+ padding-bottom: 0.3em;
+ font-size: 1.75em;
+ line-height: 1.225;
+ border-bottom: 1px solid #eee
+}
+
+.gist .markdown-body h3 {
+ font-size: 1.5em;
+ line-height: 1.43
+}
+
+.gist .markdown-body h4 {
+ font-size: 1.25em
+}
+
+.gist .markdown-body h5 {
+ font-size: 1em
+}
+
+.gist .markdown-body h6 {
+ font-size: 1em;
+ color: #777
+}
+
+.gist .markdown-body p,
+.gist .markdown-body blockquote,
+.gist .markdown-body ul,
+.gist .markdown-body ol,
+.gist .markdown-body dl,
+.gist .markdown-body table,
+.gist .markdown-body pre {
+ margin-top: 0;
+ margin-bottom: 16px
+}
+
+.gist .markdown-body hr {
+ height: 4px;
+ padding: 0;
+ margin: 16px 0;
+ background-color: #e7e7e7;
+ border: 0 none
+}
+
+.gist .markdown-body ul,
+.gist .markdown-body ol {
+ padding-left: 2em
+}
+
+.gist .markdown-body ul.no-list,
+.gist .markdown-body ol.no-list {
+ padding: 0;
+ list-style-type: none
+}
+
+.gist .markdown-body ul ul,
+.gist .markdown-body ul ol,
+.gist .markdown-body ol ol,
+.gist .markdown-body ol ul {
+ margin-top: 0;
+ margin-bottom: 0
+}
+
+.gist .markdown-body li>p {
+ margin-top: 16px
+}
+
+.gist .markdown-body dl {
+ padding: 0
+}
+
+.gist .markdown-body dl dt {
+ padding: 0;
+ margin-top: 16px;
+ font-size: 1em;
+ font-style: italic;
+ font-weight: bold
+}
+
+.gist .markdown-body dl dd {
+ padding: 0 16px;
+ margin-bottom: 16px
+}
+
+.gist .markdown-body blockquote {
+ padding: 0 15px;
+ color: #777;
+ border-left: 4px solid #ddd
+}
+
+.gist .markdown-body blockquote>:first-child {
+ margin-top: 0
+}
+
+.gist .markdown-body blockquote>:last-child {
+ margin-bottom: 0
+}
+
+.gist .markdown-body table {
+ display: block;
+ width: 100%;
+ overflow: auto;
+ word-break: normal;
+ word-break: keep-all
+}
+
+.gist .markdown-body table th {
+ font-weight: bold
+}
+
+.gist .markdown-body table th,
+.gist .markdown-body table td {
+ padding: 6px 13px;
+ border: 1px solid #ddd
+}
+
+.gist .markdown-body table tr {
+ background-color: #fff;
+ border-top: 1px solid #ccc
+}
+
+.gist .markdown-body table tr:nth-child(2n) {
+ background-color: #f8f8f8
+}
+
+.gist .markdown-body img {
+ max-width: 100%;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ box-sizing: border-box
+}
+
+.gist .markdown-body span.frame {
+ display: block;
+ overflow: hidden
+}
+
+.gist .markdown-body span.frame>span {
+ display: block;
+ float: left;
+ width: auto;
+ padding: 7px;
+ margin: 13px 0 0;
+ overflow: hidden;
+ border: 1px solid #ddd
+}
+
+.gist .markdown-body span.frame span img {
+ display: block;
+ float: left
+}
+
+.gist .markdown-body span.frame span span {
+ display: block;
+ padding: 5px 0 0;
+ clear: both;
+ color: #333
+}
+
+.gist .markdown-body span.align-center {
+ display: block;
+ overflow: hidden;
+ clear: both
+}
+
+.gist .markdown-body span.align-center>span {
+ display: block;
+ margin: 13px auto 0;
+ overflow: hidden;
+ text-align: center
+}
+
+.gist .markdown-body span.align-center span img {
+ margin: 0 auto;
+ text-align: center
+}
+
+.gist .markdown-body span.align-right {
+ display: block;
+ overflow: hidden;
+ clear: both
+}
+
+.gist .markdown-body span.align-right>span {
+ display: block;
+ margin: 13px 0 0;
+ overflow: hidden;
+ text-align: right
+}
+
+.gist .markdown-body span.align-right span img {
+ margin: 0;
+ text-align: right
+}
+
+.gist .markdown-body span.float-left {
+ display: block;
+ float: left;
+ margin-right: 13px;
+ overflow: hidden
+}
+
+.gist .markdown-body span.float-left span {
+ margin: 13px 0 0
+}
+
+.gist .markdown-body span.float-right {
+ display: block;
+ float: right;
+ margin-left: 13px;
+ overflow: hidden
+}
+
+.gist .markdown-body span.float-right>span {
+ display: block;
+ margin: 13px auto 0;
+ overflow: hidden;
+ text-align: right
+}
+
+.gist .markdown-body code,
+.gist .markdown-body tt {
+ padding: 0;
+ padding-top: 0.2em;
+ padding-bottom: 0.2em;
+ margin: 0;
+ font-size: 85%;
+ background-color: rgba(0, 0, 0, 0.04);
+ border-radius: 3px
+}
+
+.gist .markdown-body code:before,
+.gist .markdown-body code:after,
+.gist .markdown-body tt:before,
+.gist .markdown-body tt:after {
+ letter-spacing: -0.2em;
+ content: "\00a0"
+}
+
+.gist .markdown-body code br,
+.gist .markdown-body tt br {
+ display: none
+}
+
+.gist .markdown-body del code {
+ text-decoration: inherit
+}
+
+.gist .markdown-body pre>code {
+ padding: 0;
+ margin: 0;
+ font-size: 100%;
+ word-break: normal;
+ white-space: pre;
+ background: transparent;
+ border: 0
+}
+
+.gist .markdown-body .highlight {
+ margin-bottom: 16px
+}
+
+.gist .markdown-body .highlight pre,
+.gist .markdown-body pre {
+ padding: 16px;
+ overflow: auto;
+ font-size: 85%;
+ line-height: 1.45;
+ background-color: #f7f7f7;
+ border-radius: 3px
+}
+
+.gist .markdown-body .highlight pre {
+ margin-bottom: 0;
+ word-break: normal
+}
+
+.gist .markdown-body pre {
+ word-wrap: normal
+}
+
+.gist .markdown-body pre code,
+.gist .markdown-body pre tt {
+ display: inline;
+ max-width: initial;
+ padding: 0;
+ margin: 0;
+ overflow: initial;
+ line-height: inherit;
+ word-wrap: normal;
+ background-color: transparent;
+ border: 0
+}
+
+.gist .markdown-body pre code:before,
+.gist .markdown-body pre code:after,
+.gist .markdown-body pre tt:before,
+.gist .markdown-body pre tt:after {
+ content: normal
+}
+
+.gist .markdown-body kbd {
+ display: inline-block;
+ padding: 3px 5px;
+ font-size: 11px;
+ line-height: 10px;
+ color: #555;
+ vertical-align: middle;
+ background-color: #fcfcfc;
+ border: solid 1px #ccc;
+ border-bottom-color: #bbb;
+ border-radius: 3px;
+ -webkit-box-shadow: inset 0 -1px 0 #bbb;
+ box-shadow: inset 0 -1px 0 #bbb
+}
+
+.gist .highlight {
+ font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
+ font-size: 12px;
+ font-weight: normal;
+ line-height: 1.4;
+ margin: 0;
+ padding: 0;
+ background: #fff;
+ color: #333
+}
+
+.gist .pl-c {
+ color: #969896
+}
+
+.gist .pl-c1,
+.gist .pl-mdh,
+.gist .pl-mm,
+.gist .pl-mp,
+.gist .pl-mr,
+.gist .pl-s1 .pl-v,
+.gist .pl-s3,
+.gist .pl-sc,
+.gist .pl-sv {
+ color: #0086b3
+}
+
+.gist .pl-e,
+.gist .pl-en {
+ color: #795da3
+}
+
+.gist .pl-s1 .pl-s2,
+.gist .pl-smi,
+.gist .pl-smp,
+.gist .pl-stj,
+.gist .pl-vo,
+.gist .pl-vpf {
+ color: #333
+}
+
+.gist .pl-ent {
+ color: #63a35c
+}
+
+.gist .pl-k,
+.gist .pl-s,
+.gist .pl-st {
+ color: #a71d5d
+}
+
+.gist .pl-pds,
+.gist .pl-s1,
+.gist .pl-s1 .pl-pse .pl-s2,
+.gist .pl-sr,
+.gist .pl-sr .pl-cce,
+.gist .pl-sr .pl-sra,
+.gist .pl-sr .pl-sre,
+.gist .pl-src {
+ color: #df5000
+}
+
+.gist .pl-mo,
+.gist .pl-v {
+ color: #1d3e81
+}
+
+.gist .pl-id {
+ color: #b52a1d
+}
+
+.gist .pl-ii {
+ background-color: #b52a1d;
+ color: #f8f8f8
+}
+
+.gist .pl-sr .pl-cce {
+ color: #63a35c;
+ font-weight: bold
+}
+
+.gist .pl-ml {
+ color: #693a17
+}
+
+.gist .pl-mh,
+.gist .pl-mh .pl-en,
+.gist .pl-ms {
+ color: #1d3e81;
+ font-weight: bold
+}
+
+.gist .pl-mq {
+ color: #008080
+}
+
+.gist .pl-mi {
+ color: #333;
+ font-style: italic
+}
+
+.gist .pl-mb {
+ color: #333;
+ font-weight: bold
+}
+
+.gist .pl-md,
+.gist .pl-mdhf {
+ background-color: #ffecec;
+ color: #bd2c00
+}
+
+.gist .pl-mdht,
+.gist .pl-mi1 {
+ background-color: #eaffea;
+ color: #55a532
+}
+
+.gist .pl-mdr {
+ color: #795da3;
+ font-weight: bold
+}
+
+.gist .render-viewer-error,
+.gist .render-viewer-fatal,
+.gist .octospinner {
+ display: none
+}
+
+.gist .gist-render iframe {
+ width: 100%
+}
+
+.gist pre,
+.gist code {
+ font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important;
+ white-space: pre
+}
+
+.gist .gist-file {
+ margin-bottom: 1em;
+ font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
+ border: 1px solid #ddd;
+ border-bottom: 1px solid #ccc;
+ border-radius: 3px
+}
+
+.gist .gist-file.gist-render {
+ border: 0
+}
+
+.gist .gist-meta {
+ padding: 10px;
+ overflow: hidden;
+ font: 12px Helvetica, arial, freesans, clean, sans-serif;
+ color: #999;
+ background-color: #f7f7f7
+}
+
+.gist .gist-meta a {
+ font-weight: bold;
+ color: #666;
+ text-decoration: none
+}
+
+.gist .gist-data {
+ overflow: auto;
+ word-wrap: normal;
+ background-color: #fff;
+ border-bottom: 1px solid #ddd
+}
+
+.gist .file-data {
+ font-size: 12px;
+ line-height: 1.4
+}
+
+.gist .gist-file.scroll .gist-data {
+ position: absolute;
+ top: 0;
+ right: 0;
+ bottom: 30px;
+ left: 0;
+ overflow: scroll
+}
+
+.gist .gist-file.scroll .gist-meta {
+ position: absolute;
+ right: 0;
+ bottom: 0;
+ left: 0
+}
+
+.gist .line-data {
+ padding: .5em !important
+}
+
+.gist .line-pre {
+ padding: 0 !important;
+ margin: 0 !important;
+ font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important;
+ font-size: 100% !important;
+ line-height: inherit !important;
+ background: transparent !important;
+ border: 0 !important
+}
+
+.gist .gist-highlight {
+ background: transparent !important
+}
+
+.gist .line-numbers {
+ padding: .5em;
+ color: #aaa;
+ text-align: right;
+ background-color: #fff;
+ border-right: 1px solid #eee;
+ line-height: 1.4
+}
+
+.gist .line-number {
+ display: block;
+ clear: right
+}
\ No newline at end of file
diff --git a/public/css/github-cdn.css b/public/css/github-cdn.css
new file mode 100644
index 00000000..9e1f1764
--- /dev/null
+++ b/public/css/github-cdn.css
@@ -0,0 +1,3 @@
+/*! normalize.css v3.0.1 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}*{-moz-box-sizing:border-box;box-sizing:border-box}input,select,textarea,button{font:13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol"}body{min-width:1020px;font:13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";color:#333;background-color:#fff}a{color:#4183c4;text-decoration:none}a:hover,a:focus,a:active{text-decoration:underline}hr,.rule{height:0;margin:15px 0;overflow:hidden;background:transparent;border:0;border-bottom:1px solid #ddd}hr:before,.rule:before{display:table;content:""}hr:after,.rule:after{display:table;clear:both;content:""}h1,h2,h3,h4,h5,h6{margin-top:15px;margin-bottom:15px;line-height:1.1}h1{font-size:30px}h2{font-size:21px}h3{font-size:16px}h4{font-size:14px}h5{font-size:12px}h6{font-size:11px}small{font-size:90%}blockquote{margin:0}.lead{margin-bottom:30px;font-size:20px;font-weight:300;color:#555}.text-muted{color:#999}.text-danger{color:#bd2c00}.text-emphasized{font-weight:bold;color:#333}ul,ol{padding:0;margin-top:0;margin-bottom:0}ol ol,ul ol{list-style-type:lower-roman}ul ul ol,ul ol ol,ol ul ol,ol ol ol{list-style-type:lower-alpha}dd{margin-left:0}tt,code{font:12px Consolas, "Liberation Mono", Menlo, Courier, monospace}pre{margin-top:0;margin-bottom:0;font:12px Consolas, "Liberation Mono", Menlo, Courier, monospace}.container{width:980px;margin-right:auto;margin-left:auto}.container:before{display:table;content:""}.container:after{display:table;clear:both;content:""}.columns{margin-right:-10px;margin-left:-10px}.columns:before{display:table;content:""}.columns:after{display:table;clear:both;content:""}.column{float:left;padding-right:10px;padding-left:10px}.one-third{width:33%}.two-thirds{width:67%}.one-fourth{width:25%}.one-half{width:50%}.three-fourths{width:75%}.one-fifth{width:20%}.four-fifths{width:80%}.single-column{padding-right:10px;padding-left:10px}.table-column{display:table-cell;width:1%;padding-right:10px;padding-left:10px;vertical-align:top}fieldset{padding:0;margin:0;border:0}label{font-size:13px;font-weight:bold}.form-control,input[type="text"],input[type="password"],input[type="email"],input[type="number"],input[type="tel"],input[type="url"],textarea{min-height:34px;padding:7px 8px;font-size:13px;color:#333;vertical-align:middle;background-color:#fff;background-repeat:no-repeat;background-position:right center;border:1px solid #ccc;border-radius:3px;outline:none;box-shadow:inset 0 1px 2px rgba(0,0,0,0.075)}.form-control.focus,.form-control:focus,input[type="text"].focus,input[type="text"]:focus,.focused .drag-and-drop,input[type="password"].focus,input[type="password"]:focus,input[type="email"].focus,input[type="email"]:focus,input[type="number"].focus,input[type="number"]:focus,input[type="tel"].focus,input[type="tel"]:focus,input[type="url"].focus,input[type="url"]:focus,textarea.focus,textarea:focus{border-color:#51a7e8;box-shadow:inset 0 1px 2px rgba(0,0,0,0.075),0 0 5px rgba(81,167,232,0.5)}input.input-contrast,.input-contrast{background-color:#fafafa}input.input-contrast:focus,.input-contrast:focus{background-color:#fff}::-webkit-input-placeholder,:-moz-placeholder{color:#aaa}::-webkit-validation-bubble-message{font-size:12px;color:#fff;background:#9c2400;border:0;border-radius:3px;-webkit-box-shadow:1px 1px 1px rgba(0,0,0,0.1)}input::-webkit-validation-bubble-icon{display:none}::-webkit-validation-bubble-arrow{background-color:#9c2400;border:solid 1px #9c2400;-webkit-box-shadow:1px 1px 1px rgba(0,0,0,0.1)}input.input-mini{min-height:26px;padding-top:4px;padding-bottom:4px;font-size:12px}input.input-large{padding:6px 10px;font-size:16px}.input-block{display:block;width:100%}.input-monospace{font-family:Consolas, "Liberation Mono", Menlo, Courier, monospace}dl.form{margin:15px 0}dl.form input[type="text"],dl.form input[type="password"],dl.form input[type="email"],dl.form input[type="url"],dl.form textarea{background-color:#fafafa}dl.form input[type="text"]:focus,dl.form .focused .drag-and-drop,.focused dl.form .drag-and-drop,dl.form input[type="password"]:focus,dl.form input[type="email"]:focus,dl.form input[type="url"]:focus,dl.form textarea:focus{background-color:#fff}dl.form>dt{margin:0 0 6px}dl.form>dt label{position:relative}dl.form.flattened>dt{float:left;margin:0;line-height:32px}dl.form.flattened>dd{line-height:32px}dl.form>dd input[type="text"],dl.form>dd input[type="password"],dl.form>dd input[type="email"],dl.form>dd input[type="url"]{width:440px;max-width:100%;margin-right:5px;background-position-x:98%}dl.form>dd input.shorter{width:130px}dl.form>dd input.short{width:250px}dl.form>dd input.long{width:100%}dl.form>dd textarea{width:100%;height:200px;min-height:200px}dl.form>dd textarea.short{height:50px;min-height:50px}dl.form>dd h4{margin:4px 0 0}dl.form>dd h4.is-error{color:#bd2c00}dl.form>dd h4.is-success{color:#6cc644}dl.form>dd h4+p.note{margin-top:0}dl.form.required>dt>label:after{padding-left:5px;color:#9f1006;content:"*"}.note{min-height:17px;margin:4px 0 2px;font-size:12px;color:#777}.note .spinner{margin-right:3px;vertical-align:middle}.form-checkbox{padding-left:20px;margin:15px 0;vertical-align:middle}.form-checkbox label em.highlight{position:relative;left:-4px;padding:2px 4px;font-style:normal;background:#fffbdc;border-radius:3px}.form-checkbox input[type=checkbox],.form-checkbox input[type=radio]{float:left;margin:2px 0 0 -20px;vertical-align:middle}.form-checkbox .note{display:block;margin:0;font-size:12px;font-weight:normal;color:#666}dl.form .success,dl.form .error,dl.form .indicator{display:none;font-size:12px;font-weight:bold}dl.form.loading{opacity:0.5}dl.form.loading .indicator{display:inline}dl.form.loading .spinner{display:inline-block;vertical-align:middle}dl.form.successful .success{display:inline;color:#390}dl.form.errored>dt label{color:#900}dl.form.errored .error{display:inline;color:#900}dl.form.errored dd.error,dl.form.errored dd.warning{display:inline-block;padding:5px;font-size:11px;color:#494620;background:#f7ea57;border:1px solid #c0b536;border-top-color:#fff;border-bottom-right-radius:3px;border-bottom-left-radius:3px}dl.form.warn .warning{display:inline;color:#900}dl.form.warn dd.warning{display:inline-block;padding:5px;font-size:11px;color:#494620;background:#f7ea57;border:1px solid #c0b536;border-top-color:#fff;border-bottom-right-radius:3px;border-bottom-left-radius:3px}dl.form .form-note{display:inline-block;padding:5px;margin-top:-1px;font-size:11px;color:#494620;background:#f7ea57;border:1px solid #c0b536;border-top-color:#fff;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.hfields{margin:15px 0}.hfields:before{display:table;content:""}.hfields:after{display:table;clear:both;content:""}.hfields dl.form{float:left;margin:0 30px 0 0}.hfields dl.form>dt label{display:inline-block;margin:5px 0 0;color:#666}.hfields dl.form>dt label img{position:relative;top:-2px}.hfields .button{float:left;margin:28px 25px 0 -20px}.hfields select{margin-top:5px}html.no-dnd-uploads .drag-and-drop{min-height:32px}html.no-dnd-uploads .drag-and-drop .default{display:none}html.no-dnd-uploads .upload-enabled textarea{border-bottom:1px solid #ddd}.drag-and-drop{padding:7px 10px;margin:0;font-size:13px;line-height:16px;color:#aaa;background-color:#fafafa;border:1px solid #ccc;border-top:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.drag-and-drop .default,.drag-and-drop .loading,.drag-and-drop .error{display:none}.drag-and-drop .error{color:#bd2c00}.drag-and-drop img{vertical-align:top}.is-default .drag-and-drop .default{display:inline-block}.is-uploading .drag-and-drop .loading{display:inline-block}.is-bad-file .drag-and-drop .bad-file{display:inline-block}.is-too-big .drag-and-drop .too-big{display:inline-block}.is-empty .drag-and-drop .empty{display:inline-block}.is-bad-browser .drag-and-drop .bad-browser{display:inline-block}.drag-and-drop-error-info{font-weight:normal;color:#aaa}.drag-and-drop-error-info a{color:#4183c4}.is-failed .drag-and-drop .failed-request{display:inline-block}.manual-file-chooser{position:absolute;width:240px;padding:5px;margin-left:-80px;cursor:pointer;opacity:0.0001}.manual-file-chooser:hover+.manual-file-chooser-text{text-decoration:underline}.button .manual-file-chooser{top:0;padding:0;line-height:34px}.upload-enabled textarea{display:block;border-bottom:1px dashed #ddd;border-bottom-right-radius:0;border-bottom-left-radius:0}.focused .drag-and-drop{box-shadow:rgba(81,167,232,0.5) 0 0 3px}.dragover textarea,.dragover .drag-and-drop{box-shadow:#c9ff00 0 0 3px}.previewable-comment-form{position:relative}.previewable-comment-form .tabnav{position:relative;padding:10px 10px 0}.previewable-comment-form .comment{border:1px solid #cacaca}.previewable-comment-form .comment-header .comment-header-actions{display:none}.previewable-comment-form .comment-form-error{margin-bottom:10px}.previewable-comment-form .write-content,.previewable-comment-form .preview-content{display:none;padding:0 10px 10px}.previewable-comment-form.write-selected .write-content,.previewable-comment-form.preview-selected .preview-content{display:block}.previewable-comment-form textarea{display:block;width:100%;min-height:100px;max-height:500px;padding:10px;resize:vertical}.previewable-comment-form textarea.fullscreen-contents:focus{border:0;box-shadow:none}div.composer{margin-top:0;border:0}.composer .comment-form-textarea{height:200px;min-height:200px}.composer-infobar{height:35px;padding:0 10px;margin-bottom:10px;border-bottom:1px solid #eee}.composer .tabnav{margin:0 0 10px}.infobar-widget.milestone{position:relative;float:right}.infobar-widget.milestone .select-menu-modal-holder{right:0}.infobar-widget.assignee{float:left}.infobar-widget.assignee .css-truncate-target{max-width:110px}.infobar-widget .text,.infobar-widget .avatar,.infobar-widget .select-menu{display:inline-block;vertical-align:top}.infobar-widget .text{margin-top:3px}.infobar-widget .text a{font-weight:bold;color:#333}.infobar-widget .progress-bar{width:200px;overflow:hidden;line-height:18px}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}.input-group{display:table}.input-group input{position:relative;width:100%}.input-group input:focus{z-index:2}.input-group input[type="text"]+.minibutton{margin-left:0}.input-group.inline{display:inline-table}.input-group input,.input-group-button{display:table-cell}.input-group-button{width:1%;vertical-align:middle}.input-group input:first-child,.input-group-button:first-child .button,.input-group-button:first-child .minibutton{border-top-right-radius:0;border-bottom-right-radius:0}.input-group-button:first-child .button,.input-group-button:first-child .minibutton{margin-right:-1px}.input-group input:last-child,.input-group-button:last-child .button,.input-group-button:last-child .minibutton{border-top-left-radius:0;border-bottom-left-radius:0}.input-group-button:last-child .button,.input-group-button:last-child .minibutton{margin-left:-1px}h2.account{margin:15px 0 0;font-size:18px;font-weight:normal;color:#666}p.explain{position:relative;font-size:12px;color:#666}p.explain strong{color:#333}p.explain .octicon{margin-right:5px;color:#bbb}p.explain .minibutton{top:-4px;float:right}.options-content p.explain{padding:10px 10px 0;margin-top:0;border-top:1px solid #ddd}.form-actions{padding-bottom:5px;text-align:right}.form-actions .cancel{float:left;margin-top:5px}.form-actions .button.cancel{margin-top:0;margin-left:2px}.form-actions .minibutton.cancel{margin-top:0}.form-actions .optional{float:left;padding-top:8px;margin-right:15px}.form-actions .optional span.text{padding:0 3px}.form-actions .optional input{position:relative;top:-1px}.form-warning{padding:8px 10px;margin:10px 0;font-size:14px;color:#333;background:#ffffe2;border:1px solid #e7e4c2;border-radius:4px}.form-warning p{margin:0;line-height:1.5}.form-warning strong{color:#000}.form-warning a{font-weight:bold}.status-indicator{font:normal normal 16px/1 "octicons";display:inline-block;text-decoration:none;-webkit-font-smoothing:antialiased;margin-left:5px}.status-indicator-success:before{color:#6cc644;content:"\f03a"}.status-indicator-failed:before{color:#bd2c00;content:"\f02d"}.clearfix:before{display:table;content:""}.clearfix:after{display:table;clear:both;content:""}.right{float:right}.left{float:left}.text-right{text-align:right}.text-left{text-align:left}.danger{color:#c00}.mute{color:#000}.text-diff-added{color:#55a532}.text-diff-deleted{color:#bd2c00}.text-open,.text-success{color:#6cc644}.text-closed{color:#bd2c00}.text-reverted{color:#bd2c00}.text-merged{color:#6e5494}.text-renamed{color:#fffa5d}.text-pending{color:#cea61b}.text-failure{color:#bd2c00}.hidden{display:none}.warning{padding:0.5em;margin-bottom:0.8em;font-weight:bold;background-color:#fffccc}.error_box{padding:1em;font-weight:bold;background-color:#ffebe8;border:1px solid #dd3c10}.menu{margin-bottom:15px;list-style:none;background-color:#fff;border:1px solid #d8d8d8;border-radius:3px}.menu-item{position:relative;display:block;padding:8px 10px;text-shadow:0 1px 0 #fff;border-bottom:1px solid #eee}.menu-item:first-child{border-top:0;border-top-right-radius:2px;border-top-left-radius:2px}.menu-item:first-child:before{border-top-left-radius:2px}.menu-item:last-child{border-bottom:0;border-bottom-right-radius:2px;border-bottom-left-radius:2px}.menu-item:last-child:before{border-bottom-left-radius:2px}.menu-item:hover{text-decoration:none;background-color:#f9f9f9}.menu-item.selected{font-weight:bold;color:#222;cursor:default;background-color:#fff}.menu-item.selected:before{position:absolute;top:0;left:0;bottom:0;width:2px;content:"";background-color:#d26911}.menu-item .octicon{margin-right:5px;width:16px;color:#333;text-align:center}.menu-item .counter{float:right;margin-left:5px}.menu-item .menu-warning{float:right;color:#d26911}.menu-item .avatar{float:left;margin-right:5px}.menu-item.alert .counter{color:#bd2c00}.menu-heading{display:block;padding:8px 10px;margin-top:0;margin-bottom:0;font-size:13px;font-weight:bold;line-height:20px;color:#555;background-color:#f7f7f7;border-bottom:1px solid #eee}.menu-heading:hover{text-decoration:none}.menu-heading:first-child{border-top-right-radius:2px;border-top-left-radius:2px}.menu-heading:last-child{border-bottom-right-radius:2px;border-bottom-left-radius:2px;border-bottom:0}.sunken-menu{position:relative;padding-top:15px;padding-bottom:15px;background-image:-webkit-linear-gradient(left, #f6f6f6 0%, #fff 8px);background-image:linear-gradient(to right, #f6f6f6 0%, #fff 8px);box-shadow:inset 1px 0 0 #eee}.sunken-menu:before,.sunken-menu:after{position:absolute;left:0;width:100%;height:15px;content:"";background-color:transparent}.sunken-menu:before{top:0;background-color:transparent;background-image:-webkit-linear-gradient(#fff, rgba(255,255,255,0));background-image:linear-gradient(#fff, rgba(255,255,255,0))}.sunken-menu:after{bottom:0;background-color:transparent;background-image:-webkit-linear-gradient(rgba(255,255,255,0), #fff);background-image:linear-gradient(rgba(255,255,255,0), #fff)}.sunken-menu-separator{position:relative;height:5px;margin:8px 0 6px 1px;background-image:-webkit-radial-gradient(farthest-side at left top, #f4f4f4, rgba(244,244,244,0));background-image:radial-gradient(farthest-side at left top, #f4f4f4, rgba(244,244,244,0))}.sunken-menu-separator:before{position:absolute;top:0;width:100%;height:1px;content:"";background-image:-webkit-linear-gradient(left, #eee 70%, #fff 100%);background-image:linear-gradient(to right, #eee 70%, #fff 100%);border-top:1px solid #eee\9}.sunken-menu-group{list-style-type:none}.sunken-menu-item{display:block;padding:8px 10px;margin-top:5px;margin-bottom:5px;border:1px solid transparent;outline:0}.sunken-menu-item .counter{position:absolute;top:8px;right:10px}.sunken-menu-item .octicon{left:-1px;width:16px;color:#999;text-align:center}.sunken-menu-item .mini-loader{position:absolute;top:9px;left:11px;display:none}.sunken-menu-item:focus,.sunken-menu-item:hover{text-decoration:none;box-shadow:inset 2px 0 0 #ccc}.sunken-menu-item:focus .octicon,.sunken-menu-item:hover .octicon{color:#333}.sunken-menu-item.selected{font-weight:bold;color:#333;background-color:#fff;border-color:#eee #eee #eee transparent;border-radius:0 3px 3px 0;box-shadow:1px 1px 3px rgba(0,0,0,0.05)}.sunken-menu-item.selected:after{position:absolute;top:0;right:0;bottom:0;width:3px;content:"";background-color:#d26911;border-radius:0 3px 3px 0}.sunken-menu-item.selected .octicon{color:#333}.sunken-menu-item.is-loading .mini-loader{display:inline-block;-webkit-animation:mini-nav-loader, 0.4s, forwards;animation:mini-nav-loader, 0.4s, forwards}.sunken-menu-item.is-loading .octicon{color:#fff}@-webkit-keyframes mini-nav-loader{0%,
+ 90%{opacity:0}100%{opacity:1}}@keyframes mini-nav-loader{0%,
+ 90%{opacity:0}100%{opacity:1}}.tabnav{margin:0 0 15px;border-bottom:1px solid #ddd}.tabnav .counter{margin-left:5px}.tabnav-tabs{display:inline-block}.tabnav-tabs>li{display:inline-block;margin-bottom:-1px}.tabnav-tab{display:inline-block;padding:8px 12px 7px;font-size:14px;line-height:20px;color:#666;text-decoration:none;border:1px solid transparent;border-bottom:0}.tabnav-tab.selected{color:#333;background-color:#fff;border-color:#ddd;border-radius:3px 3px 0 0}.tabnav-tab:hover{text-decoration:none}.tabnav-right{position:relative;float:right}.tabnav-widget{display:inline-block;vertical-align:top}.tabnav-widget+.tabnav-tabs{margin-left:10px}.tabnav-widget.search .spinner{position:absolute;top:7px;left:-22px;margin-right:8px;vertical-align:middle}.tabnav-widget.search .search-link{display:inline-block;height:26px;padding-right:5px;font-size:13px;font-weight:200;line-height:26px;color:#666;vertical-align:top}.tabnav-widget.search .fieldwrap{display:inline-block;height:26px;border-radius:4px}.tabnav-widget.search .fieldwrap>input,.tabnav-widget.search .fieldwrap>button{display:inline-block}.tabnav-widget.search input{min-height:26px;padding:0 4px;font-size:12px;vertical-align:top;border-radius:3px 0 0 3px}.tabnav-widget.search .minibutton{position:relative;height:24px;padding:0 8px;margin-left:0;vertical-align:top;border-left:0;border-radius:0 3px 3px 0}.tabnav-widget.search .minibutton:hover{color:#fff}.tabnav-widget.text{margin-top:12px;font-size:11px;color:#666}.tabnav-extras{display:inline-block;margin-left:10px}.tabnav-extras .octicon{float:left;margin-top:-1px;margin-right:5px}.tabnav-extras:hover{color:#4183c4;text-decoration:none}.filter-list{list-style-type:none}.filter-list.small .filter-item{padding:4px 10px;margin:0 0 2px;font-size:12px}.filter-list.pjax-active .filter-item{color:#777;background-color:transparent}.filter-list.pjax-active .filter-item.pjax-active{color:#fff;background-color:#4183c4}.filter-item{position:relative;display:block;padding:8px 10px;margin-bottom:5px;overflow:hidden;font-size:14px;color:#777;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;border-radius:3px}.filter-item:hover{text-decoration:none;background-color:#eee}.filter-item.selected{color:#fff;background-color:#4183c4}.filter-item.selected .octicon-remove-close{float:right;opacity:0.8}.filter-item .count{float:right;font-weight:bold}.filter-item .bar{position:absolute;top:2px;right:0;bottom:2px;z-index:-1;display:inline-block;background-color:#f1f1f1}.flash-messages{margin-top:15px;margin-bottom:15px}.flash,.flash-global{position:relative;font-size:14px;line-height:1.6;color:#246;background-color:#e2eef9;border:solid 1px #bac6d3}.flash.flash-warn,.flash-global.flash-warn{color:#4c4a42;background-color:#fff9ea;border-color:#dfd8c2}.flash.flash-error,.flash-global.flash-error{color:#911;background-color:#fcdede;border-color:#d2b2b2}.flash .flash-close,.flash-global .flash-close{float:right;padding:17px;margin-top:-15px;margin-right:-15px;margin-left:20px;color:inherit;text-decoration:none;cursor:pointer;opacity:0.6}.flash .flash-close:hover,.flash-global .flash-close:hover{opacity:1}.flash p:last-child,.flash-global p:last-child{margin-bottom:0}.flash .flash-action,.flash-global .flash-action{float:right;margin-top:-4px;margin-left:20px}.flash a,.flash-global a{font-weight:bold}.flash{padding:15px;border-radius:3px}.flash+.flash{margin-top:5px}.flash-with-icon{padding-left:40px}.flash-with-icon>.octicon{float:left;margin-top:3px;margin-left:-25px}.flash-global{padding:10px;border-width:0 0 1px}.flash-global h2,.flash-global p{margin-top:0;margin-bottom:0;font-size:14px;line-height:1.4}.flash-global .flash-action{margin-top:5px}.flash-title{margin-top:0;margin-bottom:5px}.css-truncate.css-truncate-target,.css-truncate .css-truncate-target{display:inline-block;max-width:125px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:top}.css-truncate.expandable.zeroclipboard-is-hover .css-truncate-target,.css-truncate.expandable.zeroclipboard-is-hover.css-truncate-target,.css-truncate.expandable:hover .css-truncate-target,.css-truncate.expandable:hover.css-truncate-target{max-width:10000px !important}.button,.minibutton{position:relative;display:inline-block;padding:7px 12px;font-size:13px;font-weight:bold;color:#333;text-shadow:0 1px 0 rgba(255,255,255,0.9);white-space:nowrap;vertical-align:middle;cursor:pointer;background-color:#eee;background-image:-webkit-linear-gradient(#fcfcfc, #eee);background-image:linear-gradient(#fcfcfc, #eee);background-repeat:repeat-x;border:1px solid #d5d5d5;border-radius:3px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:none}.button i,.minibutton i{font-style:normal;font-weight:500;opacity:0.6}.button:focus,.minibutton:focus{text-decoration:none;border-color:#51a7e8;outline:none;box-shadow:0 0 5px rgba(81,167,232,0.5)}.button:hover,.button:active,.button.zeroclipboard-is-hover,.button.zeroclipboard-is-active,.minibutton:hover,.minibutton:active,.minibutton.zeroclipboard-is-hover,.minibutton.zeroclipboard-is-active{text-decoration:none;background-color:#ddd;background-image:-webkit-linear-gradient(#eee, #ddd);background-image:linear-gradient(#eee, #ddd);background-repeat:repeat-x;border-color:#ccc}.button:active,.button.selected,.button.selected:hover,.button.zeroclipboard-is-active,.minibutton:active,.minibutton.selected,.minibutton.selected:hover,.minibutton.zeroclipboard-is-active{background-color:#dcdcdc;background-image:none;border-color:#b5b5b5;box-shadow:inset 0 2px 4px rgba(0,0,0,0.15)}.button:disabled,.button:disabled:hover,.button.disabled,.button.disabled:hover,.minibutton:disabled,.minibutton:disabled:hover,.minibutton.disabled,.minibutton.disabled:hover{color:rgba(102,102,102,0.5);text-shadow:0 1px 0 rgba(255,255,255,0.9);cursor:default;background-color:rgba(229,229,229,0.5);background-image:none;border-color:rgba(197,197,197,0.5);box-shadow:none}.button.primary,.minibutton.primary{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#60b044;background-image:-webkit-linear-gradient(#8add6d, #60b044);background-image:linear-gradient(#8add6d, #60b044);background-repeat:repeat-x;border-color:#5ca941}.button.primary:hover,.minibutton.primary:hover{color:#fff;background-color:#569e3d;background-image:-webkit-linear-gradient(#79d858, #569e3d);background-image:linear-gradient(#79d858, #569e3d);background-repeat:repeat-x;border-color:#4a993e}.button.primary:active,.button.primary.selected,.minibutton.primary:active,.minibutton.primary.selected{background-color:#569e3d;background-image:none;border-color:#418737}.button.primary:disabled,.button.primary:disabled:hover,.button.primary.disabled,.button.primary.disabled:hover,.minibutton.primary:disabled,.minibutton.primary:disabled:hover,.minibutton.primary.disabled,.minibutton.primary.disabled:hover{color:#fefefe;text-shadow:0 -1px 0 rgba(39,39,39,0.25);background-color:#add39f;background-image:-webkit-linear-gradient(#c3ecb4, #add39f);background-image:linear-gradient(#c3ecb4, #add39f);background-repeat:repeat-x;border-color:#b9dcac #b9dcac #a7c89b}.button.danger,.minibutton.danger{color:#900}.button.danger:hover,.minibutton.danger:hover{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.3);background-color:#b33630;background-image:-webkit-linear-gradient(#dc5f59, #b33630);background-image:linear-gradient(#dc5f59, #b33630);background-repeat:repeat-x;border-color:#cd504a}.button.danger:active,.button.danger.selected,.minibutton.danger:active,.minibutton.danger.selected{color:#fff;background-color:#b33630;background-image:none;border-color:#9f312c}.button.danger:disabled,.button.danger:disabled:hover,.button.danger.disabled,.button.danger.disabled:hover,.minibutton.danger:disabled,.minibutton.danger:disabled:hover,.minibutton.danger.disabled,.minibutton.danger.disabled:hover{color:#cb7f7f;text-shadow:0 1px 0 rgba(255,255,255,0.9);background-color:#efefef;background-image:-webkit-linear-gradient(#fefefe, #efefef);background-image:linear-gradient(#fefefe, #efefef);background-repeat:repeat-x;border-color:#e1e1e1}.button.with-count,.minibutton.with-count{float:left;border-top-right-radius:0;border-bottom-right-radius:0}.button>.octicon,.minibutton>.octicon{vertical-align:-1px}.button>.octicon-arrow-right,.minibutton>.octicon-arrow-right{float:right;margin-left:5px}.minibutton>.octicon-arrow-right{margin-top:4px}.minibutton{padding:0 10px;line-height:24px}.hidden-text-expander{display:block}.hidden-text-expander.inline{position:relative;top:-1px;display:inline-block;margin-left:5px;line-height:0}.hidden-text-expander a{display:inline-block;height:12px;padding:0 5px;font-size:12px;font-weight:bold;line-height:6px;color:#555;text-decoration:none;vertical-align:middle;background:#ddd;border-radius:1px}.hidden-text-expander a:hover{text-decoration:none;background-color:#ccc}.hidden-text-expander a:active{color:#fff;background-color:#4183c4}.social-count{float:left;padding:0 7px;font-size:11px;font-weight:bold;line-height:24px;color:#333;vertical-align:middle;background-color:#fff;border:1px solid #ddd;border-left:0;border-top-right-radius:3px;border-bottom-right-radius:3px}.social-count:hover{color:#4183c4;text-decoration:none;cursor:pointer}.button-block{display:block;width:100%;text-align:center}.button-group{display:inline-block;vertical-align:middle}.button-group:before{display:table;content:""}.button-group:after{display:table;clear:both;content:""}.button-group .button,.button-group .minibutton,.button-group .button-outline{position:relative;float:left;border-radius:0}.button-group .button:first-child,.button-group .minibutton:first-child,.button-group .button-outline:first-child{border-top-left-radius:3px;border-bottom-left-radius:3px}.button-group .button:last-child,.button-group .minibutton:last-child,.button-group .button-outline:last-child{border-top-right-radius:3px;border-bottom-right-radius:3px}.button-group .button:hover,.button-group .button:focus,.button-group .button:active,.button-group .button.selected,.button-group .minibutton:hover,.button-group .minibutton:focus,.button-group .minibutton:active,.button-group .minibutton.selected,.button-group .button-outline:hover,.button-group .button-outline:focus,.button-group .button-outline:active,.button-group .button-outline.selected{z-index:2}.button-group .button+.button,.button-group .minibutton+.minibutton{margin-left:-1px;box-shadow:inset 1px 0 0 rgba(255,255,255,0.2)}.button-group .button+.button:hover,.button-group .minibutton+.minibutton:hover{box-shadow:none}.button-group .button+.button:active,.button-group .button+.button.selected,.button-group .minibutton+.minibutton:active,.button-group .minibutton+.minibutton.selected{box-shadow:inset 0 3px 5px rgba(0,0,0,0.15)}.button-group .button-outline+.button-outline,.button-group .button_to+.button_to{margin-left:-1px}.button-group .button_to{float:left}.button-group .button_to .button,.button-group .button_to .minibutton,.button-group .button_to .button-outline{border-radius:0}.button-group .button_to:first-child .button,.button-group .button_to:first-child .minibutton,.button-group .button_to:first-child .button-outline{border-top-left-radius:3px;border-bottom-left-radius:3px}.button-group .button_to:last-child .button,.button-group .button_to:last-child .minibutton,.button-group .button_to:last-child .button-outline{border-top-right-radius:3px;border-bottom-right-radius:3px}.button-group+.button-group,.button-group+.button,.button-group+.minibutton{margin-left:5px}.button-link{display:inline;padding:0;font-size:inherit;color:#4183c4;white-space:nowrap;cursor:pointer;background-color:transparent;border:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:none}.button-link:hover,.button-link:focus{text-decoration:underline}.button-link:focus{outline:none}.button-outline{display:inline-block;padding:7px 12px;font-size:13px;font-weight:bold;color:#4183c4;white-space:nowrap;vertical-align:middle;cursor:pointer;background:#fff;border:1px solid #e5e5e5;border-radius:3px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:none}.button-outline:hover,.button-outline.zeroclipboard-is-hover{color:#fff;text-decoration:none;background-color:#4183c4;border-color:#4183c4}.button-outline:disabled,.button-outline.disabled,.button-outline:disabled:hover,.button-outline.disabled:hover{color:#777;cursor:default;background-color:#f5f5f5;border-color:#e5e5e5}.counter{display:inline-block;padding:2px 5px;font-size:11px;font-weight:bold;line-height:1;color:#777;background-color:#eee;border-radius:20px}.tooltipped{position:relative}.tooltipped:after{position:absolute;z-index:1000000;display:none;padding:5px 8px;font:normal normal 11px/1.5 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";color:#fff;text-align:center;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-wrap:break-word;white-space:pre;pointer-events:none;content:attr(aria-label);background:rgba(0,0,0,0.8);border-radius:3px;-webkit-font-smoothing:subpixel-antialiased}.tooltipped:before{position:absolute;z-index:1000001;display:none;width:0;height:0;color:rgba(0,0,0,0.8);pointer-events:none;content:"";border:5px solid transparent}.tooltipped:hover:before,.tooltipped:hover:after,.tooltipped:active:before,.tooltipped:active:after,.tooltipped:focus:before,.tooltipped:focus:after{display:inline-block;text-decoration:none}.tooltipped-multiline:hover:after,.tooltipped-multiline:active:after,.tooltipped-multiline:focus:after{display:table-cell}.tooltipped-s:after,.tooltipped-se:after,.tooltipped-sw:after{top:100%;right:50%;margin-top:5px}.tooltipped-s:before,.tooltipped-se:before,.tooltipped-sw:before{top:auto;right:50%;bottom:-5px;margin-right:-5px;border-bottom-color:rgba(0,0,0,0.8)}.tooltipped-se:after{right:auto;left:50%;margin-left:-15px}.tooltipped-sw:after{margin-right:-15px}.tooltipped-n:after,.tooltipped-ne:after,.tooltipped-nw:after{right:50%;bottom:100%;margin-bottom:5px}.tooltipped-n:before,.tooltipped-ne:before,.tooltipped-nw:before{top:-5px;right:50%;bottom:auto;margin-right:-5px;border-top-color:rgba(0,0,0,0.8)}.tooltipped-ne:after{right:auto;left:50%;margin-left:-15px}.tooltipped-nw:after{margin-right:-15px}.tooltipped-s:after,.tooltipped-n:after{-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%)}.tooltipped-w:after{right:100%;bottom:50%;margin-right:5px;-webkit-transform:translateY(50%);-ms-transform:translateY(50%);transform:translateY(50%)}.tooltipped-w:before{top:50%;bottom:50%;left:-5px;margin-top:-5px;border-left-color:rgba(0,0,0,0.8)}.tooltipped-e:after{bottom:50%;left:100%;margin-left:5px;-webkit-transform:translateY(50%);-ms-transform:translateY(50%);transform:translateY(50%)}.tooltipped-e:before{top:50%;right:-5px;bottom:50%;margin-top:-5px;border-right-color:rgba(0,0,0,0.8)}.tooltipped-multiline:after{width:-moz-max-content;width:-webkit-max-content;max-width:250px;word-break:break-word;word-wrap:normal;white-space:pre-line;border-collapse:separate}.tooltipped-multiline.tooltipped-s:after,.tooltipped-multiline.tooltipped-n:after{right:auto;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.tooltipped-multiline.tooltipped-w:after,.tooltipped-multiline.tooltipped-e:after{right:100%}@media screen and (min-width: 0\0){.tooltipped-multiline:after{width:250px}}.tooltipped-sticky:before,.tooltipped-sticky:after{display:inline-block}.tooltipped-sticky.tooltipped-multiline:after{display:table-cell}.fullscreen-overlay-enabled.dark-theme .tooltipped:after{color:#000;background:rgba(255,255,255,0.8)}.fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-s:before,.fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-se:before,.fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-sw:before{border-bottom-color:rgba(255,255,255,0.8)}.fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-n:before,.fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-ne:before,.fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-nw:before{border-top-color:rgba(255,255,255,0.8)}.fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-e:before{border-right-color:rgba(255,255,255,0.8)}.fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-w:before{border-left-color:rgba(255,255,255,0.8)}@font-face{font-family:'octicons';src:url(/assets/octicons/octicons/octicons-50f7c541d70d63b9d9e905389ae12f4f9f6e3e632b4c7e0655c9ef955ff0b092.eot?#iefix) format("embedded-opentype"),url(/assets/octicons/octicons/octicons-192e5fbb927be7cdb8bdfa0ecb98d3574bd395e58f9d00e5dcdfce5bc9660ac0.woff) format("woff"),url(/assets/octicons/octicons/octicons-1b8fabf8a76f5d60ef9999b3fcf5e06b9f563148d6215465df8952fdbb9aa3ec.ttf) format("truetype"),url(/assets/octicons/octicons/octicons-7f0c4ab57d5e4fce26440514dd399d7e5c356485584baf201b4ac751055b6e32.svg#octicons) format("svg");font-weight:normal;font-style:normal}.octicon{font:normal normal 16px octicons;line-height:1;display:inline-block;text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mega-octicon{font:normal normal 32px octicons;line-height:1;display:inline-block;text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.octicon-alert:before{content:'\f02d'}.octicon-alignment-align:before{content:'\f08a'}.octicon-alignment-aligned-to:before{content:'\f08e'}.octicon-alignment-unalign:before{content:'\f08b'}.octicon-arrow-down:before{content:'\f03f'}.octicon-arrow-left:before{content:'\f040'}.octicon-arrow-right:before{content:'\f03e'}.octicon-arrow-small-down:before{content:'\f0a0'}.octicon-arrow-small-left:before{content:'\f0a1'}.octicon-arrow-small-right:before{content:'\f071'}.octicon-arrow-small-up:before{content:'\f09f'}.octicon-arrow-up:before{content:'\f03d'}.octicon-beer:before{content:'\f069'}.octicon-book:before{content:'\f007'}.octicon-bookmark:before{content:'\f07b'}.octicon-briefcase:before{content:'\f0d3'}.octicon-broadcast:before{content:'\f048'}.octicon-browser:before{content:'\f0c5'}.octicon-bug:before{content:'\f091'}.octicon-calendar:before{content:'\f068'}.octicon-check:before{content:'\f03a'}.octicon-checklist:before{content:'\f076'}.octicon-chevron-down:before{content:'\f0a3'}.octicon-chevron-left:before{content:'\f0a4'}.octicon-chevron-right:before{content:'\f078'}.octicon-chevron-up:before{content:'\f0a2'}.octicon-circle-slash:before{content:'\f084'}.octicon-circuit-board:before{content:'\f0d6'}.octicon-clippy:before{content:'\f035'}.octicon-clock:before{content:'\f046'}.octicon-cloud-download:before{content:'\f00b'}.octicon-cloud-upload:before{content:'\f00c'}.octicon-code:before{content:'\f05f'}.octicon-color-mode:before{content:'\f065'}.octicon-comment-add:before,.octicon-comment:before{content:'\f02b'}.octicon-comment-discussion:before{content:'\f04f'}.octicon-credit-card:before{content:'\f045'}.octicon-dash:before{content:'\f0ca'}.octicon-dashboard:before{content:'\f07d'}.octicon-database:before{content:'\f096'}.octicon-device-camera:before{content:'\f056'}.octicon-device-camera-video:before{content:'\f057'}.octicon-device-desktop:before{content:'\f27c'}.octicon-device-mobile:before{content:'\f038'}.octicon-diff:before{content:'\f04d'}.octicon-diff-added:before{content:'\f06b'}.octicon-diff-ignored:before{content:'\f099'}.octicon-diff-modified:before{content:'\f06d'}.octicon-diff-removed:before{content:'\f06c'}.octicon-diff-renamed:before{content:'\f06e'}.octicon-ellipsis:before{content:'\f09a'}.octicon-eye-unwatch:before,.octicon-eye-watch:before,.octicon-eye:before{content:'\f04e'}.octicon-file-binary:before{content:'\f094'}.octicon-file-code:before{content:'\f010'}.octicon-file-directory:before{content:'\f016'}.octicon-file-media:before{content:'\f012'}.octicon-file-pdf:before{content:'\f014'}.octicon-file-submodule:before{content:'\f017'}.octicon-file-symlink-directory:before{content:'\f0b1'}.octicon-file-symlink-file:before{content:'\f0b0'}.octicon-file-text:before{content:'\f011'}.octicon-file-zip:before{content:'\f013'}.octicon-flame:before{content:'\f0d2'}.octicon-fold:before{content:'\f0cc'}.octicon-gear:before{content:'\f02f'}.octicon-gift:before{content:'\f042'}.octicon-gist:before{content:'\f00e'}.octicon-gist-secret:before{content:'\f08c'}.octicon-git-branch-create:before,.octicon-git-branch-delete:before,.octicon-git-branch:before{content:'\f020'}.octicon-git-commit:before{content:'\f01f'}.octicon-git-compare:before{content:'\f0ac'}.octicon-git-merge:before{content:'\f023'}.octicon-git-pull-request-abandoned:before,.octicon-git-pull-request:before{content:'\f009'}.octicon-globe:before{content:'\f0b6'}.octicon-graph:before{content:'\f043'}.octicon-heart:before{content:'\2665'}.octicon-history:before{content:'\f07e'}.octicon-home:before{content:'\f08d'}.octicon-horizontal-rule:before{content:'\f070'}.octicon-hourglass:before{content:'\f09e'}.octicon-hubot:before{content:'\f09d'}.octicon-inbox:before{content:'\f0cf'}.octicon-info:before{content:'\f059'}.octicon-issue-closed:before{content:'\f028'}.octicon-issue-opened:before{content:'\f026'}.octicon-issue-reopened:before{content:'\f027'}.octicon-jersey:before{content:'\f019'}.octicon-jump-down:before{content:'\f072'}.octicon-jump-left:before{content:'\f0a5'}.octicon-jump-right:before{content:'\f0a6'}.octicon-jump-up:before{content:'\f073'}.octicon-key:before{content:'\f049'}.octicon-keyboard:before{content:'\f00d'}.octicon-law:before{content:'\f0d8'}.octicon-light-bulb:before{content:'\f000'}.octicon-link:before{content:'\f05c'}.octicon-link-external:before{content:'\f07f'}.octicon-list-ordered:before{content:'\f062'}.octicon-list-unordered:before{content:'\f061'}.octicon-location:before{content:'\f060'}.octicon-gist-private:before,.octicon-mirror-private:before,.octicon-git-fork-private:before,.octicon-lock:before{content:'\f06a'}.octicon-logo-github:before{content:'\f092'}.octicon-mail:before{content:'\f03b'}.octicon-mail-read:before{content:'\f03c'}.octicon-mail-reply:before{content:'\f051'}.octicon-mark-github:before{content:'\f00a'}.octicon-markdown:before{content:'\f0c9'}.octicon-megaphone:before{content:'\f077'}.octicon-mention:before{content:'\f0be'}.octicon-microscope:before{content:'\f089'}.octicon-milestone:before{content:'\f075'}.octicon-mirror-public:before,.octicon-mirror:before{content:'\f024'}.octicon-mortar-board:before{content:'\f0d7'}.octicon-move-down:before{content:'\f0a8'}.octicon-move-left:before{content:'\f074'}.octicon-move-right:before{content:'\f0a9'}.octicon-move-up:before{content:'\f0a7'}.octicon-mute:before{content:'\f080'}.octicon-no-newline:before{content:'\f09c'}.octicon-octoface:before{content:'\f008'}.octicon-organization:before{content:'\f037'}.octicon-package:before{content:'\f0c4'}.octicon-paintcan:before{content:'\f0d1'}.octicon-pencil:before{content:'\f058'}.octicon-person-add:before,.octicon-person-follow:before,.octicon-person:before{content:'\f018'}.octicon-pin:before{content:'\f041'}.octicon-playback-fast-forward:before{content:'\f0bd'}.octicon-playback-pause:before{content:'\f0bb'}.octicon-playback-play:before{content:'\f0bf'}.octicon-playback-rewind:before{content:'\f0bc'}.octicon-plug:before{content:'\f0d4'}.octicon-repo-create:before,.octicon-gist-new:before,.octicon-file-directory-create:before,.octicon-file-add:before,.octicon-plus:before{content:'\f05d'}.octicon-podium:before{content:'\f0af'}.octicon-primitive-dot:before{content:'\f052'}.octicon-primitive-square:before{content:'\f053'}.octicon-pulse:before{content:'\f085'}.octicon-puzzle:before{content:'\f0c0'}.octicon-question:before{content:'\f02c'}.octicon-quote:before{content:'\f063'}.octicon-radio-tower:before{content:'\f030'}.octicon-repo-delete:before,.octicon-repo:before{content:'\f001'}.octicon-repo-clone:before{content:'\f04c'}.octicon-repo-force-push:before{content:'\f04a'}.octicon-gist-fork:before,.octicon-repo-forked:before{content:'\f002'}.octicon-repo-pull:before{content:'\f006'}.octicon-repo-push:before{content:'\f005'}.octicon-rocket:before{content:'\f033'}.octicon-rss:before{content:'\f034'}.octicon-ruby:before{content:'\f047'}.octicon-screen-full:before{content:'\f066'}.octicon-screen-normal:before{content:'\f067'}.octicon-search-save:before,.octicon-search:before{content:'\f02e'}.octicon-server:before{content:'\f097'}.octicon-settings:before{content:'\f07c'}.octicon-log-in:before,.octicon-sign-in:before{content:'\f036'}.octicon-log-out:before,.octicon-sign-out:before{content:'\f032'}.octicon-split:before{content:'\f0c6'}.octicon-squirrel:before{content:'\f0b2'}.octicon-star-add:before,.octicon-star-delete:before,.octicon-star:before{content:'\f02a'}.octicon-steps:before{content:'\f0c7'}.octicon-stop:before{content:'\f08f'}.octicon-repo-sync:before,.octicon-sync:before{content:'\f087'}.octicon-tag-remove:before,.octicon-tag-add:before,.octicon-tag:before{content:'\f015'}.octicon-telescope:before{content:'\f088'}.octicon-terminal:before{content:'\f0c8'}.octicon-three-bars:before{content:'\f05e'}.octicon-tools:before{content:'\f031'}.octicon-trashcan:before{content:'\f0d0'}.octicon-triangle-down:before{content:'\f05b'}.octicon-triangle-left:before{content:'\f044'}.octicon-triangle-right:before{content:'\f05a'}.octicon-triangle-up:before{content:'\f0aa'}.octicon-unfold:before{content:'\f039'}.octicon-unmute:before{content:'\f0ba'}.octicon-versions:before{content:'\f064'}.octicon-remove-close:before,.octicon-x:before{content:'\f081'}.octicon-zap:before{content:'\26A1'}.date_selector{width:225px;text-align:left;text-decoration:none;z-index:9;display:none}.date_selector .month_nav,.date_selector .year_nav{margin-top:5px;margin-bottom:5px;padding:0;display:block;position:relative;text-align:center;line-height:20px}.date_selector .month_nav{float:left;width:55%}.date_selector .year_nav{float:right;width:35%}.date_selector .date-button{position:absolute;top:0;width:18px;height:18px;padding:4px;color:#4183c4;font-size:12px;cursor:pointer;line-height:12px}.date_selector .prev{left:0}.date_selector .next{right:0}.date_selector table{width:100%;clear:both}.date_selector tr{font-size:0}.date_selector th,.date_selector td{width:32px;height:32px;line-height:28px;padding:0;text-align:center;font-weight:normal;display:inline-block;font-size:12px;margin-top:-1px;margin-left:-1px}.date_selector td{border:1px solid #ccc;color:#4183c4;background:#fff;cursor:default}.date_selector td.today{background:#eee}.date_selector td.selected,.date_selector td.selectable_day:hover{background:#4183c4;color:#fff;border-color:#3269a0;z-index:10;position:relative;cursor:pointer}.date_selector td.unselected_month{color:#ccc}.jcrop-holder{direction:ltr;text-align:left;-ms-touch-action:none}.jcrop-vline,.jcrop-hline{background:#fff url(/assets/spinners/Jcrop-752309673bbd9d9b2ba0bd58d0a7071a2c59c30e2824d85bcd2a3bc0a07ef1f1.gif);font-size:0;position:absolute}.jcrop-vline{height:100%;width:1px !important}.jcrop-vline.right{right:0}.jcrop-hline{height:1px !important;width:100%}.jcrop-hline.bottom{bottom:0}.jcrop-tracker{height:100%;width:100%;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none}.jcrop-handle{background-color:#333;border:1px #eee solid;width:7px;height:7px;font-size:1px}.jcrop-handle.ord-n{left:50%;margin-left:-4px;margin-top:-4px;top:0}.jcrop-handle.ord-s{bottom:0;left:50%;margin-bottom:-4px;margin-left:-4px}.jcrop-handle.ord-e{margin-right:-4px;margin-top:-4px;right:0;top:50%}.jcrop-handle.ord-w{left:0;margin-left:-4px;margin-top:-4px;top:50%}.jcrop-handle.ord-nw{left:0;margin-left:-4px;margin-top:-4px;top:0}.jcrop-handle.ord-ne{margin-right:-4px;margin-top:-4px;right:0;top:0}.jcrop-handle.ord-se{bottom:0;margin-bottom:-4px;margin-right:-4px;right:0}.jcrop-handle.ord-sw{bottom:0;left:0;margin-bottom:-4px;margin-left:-4px}.jcrop-dragbar.ord-n,.jcrop-dragbar.ord-s{height:7px;width:100%}.jcrop-dragbar.ord-e,.jcrop-dragbar.ord-w{height:100%;width:7px}.jcrop-dragbar.ord-n{margin-top:-4px}.jcrop-dragbar.ord-s{bottom:0;margin-bottom:-4px}.jcrop-dragbar.ord-e{margin-right:-4px;right:0}.jcrop-dragbar.ord-w{margin-left:-4px}.jcrop-light .jcrop-vline,.jcrop-light .jcrop-hline{background:#fff;filter:alpha(opacity=70) !important;opacity:0.7 !important}.jcrop-light .jcrop-handle{-moz-border-radius:3px;-webkit-border-radius:3px;background-color:#000;border-color:#fff;border-radius:3px}.jcrop-dark .jcrop-vline,.jcrop-dark .jcrop-hline{background:#000;filter:alpha(opacity=70) !important;opacity:0.7 !important}.jcrop-dark .jcrop-handle{-moz-border-radius:3px;-webkit-border-radius:3px;background-color:#fff;border-color:#000;border-radius:3px}.jcrop-holder img,img.jcrop-preview{max-width:none}.code-frequency .addition{fill-opacity:1;fill:#6cc644}.code-frequency .deletion{fill-opacity:1;fill:#bd2c00}.cadd{font-weight:bold;color:#6cc644}.cdel{font-weight:bold;color:#bd2c00}.commit-activity-graphs .dots{display:none}#commit-activity-master{margin-top:20px}.is-graph-loading #commit-activity-master{display:none}rect{shape-rendering:crispedges}rect.max{fill:#ffc644}g.bar{fill:#1db34f}g.mini{fill:#f17f49}g.active rect{fill:#bd380f}circle.focus{fill:#555}.dot text{stroke:none;fill:#555}.tint-box{border-radius:6px;background:#f3f3f3;position:relative;margin-bottom:10px}.tint-box.transparent{background:#fff}.tint-box .activity{margin-top:0;padding-top:100px}.contrib-data{margin:0 0 10px;list-style:none;padding:0}#contributors .capped-card .avatar{float:left;width:32px;height:32px;margin-right:5px}#contributors .capped-card h3{font-weight:normal}#contributors .capped-card .ameta{display:block;font-size:12px;color:#ccc}#contributors .capped-card .rank{float:right;color:#999;font-size:13px}#contributors .capped-card .cmt{color:#999}#contributors .capped-card path{fill:#f17f49}#contributors .capped-card .midlabel{fill:#ccc}.d{color:#bd2c00}.a{color:#6cc644}.axis{fill:#aaa;font-size:10px}.axis line{shape-rendering:crispedges;stroke:#eee}.axis path{display:none}.axis .zero line{stroke-width:1.5;stroke:#4183c4;stroke-dasharray:3 3}.graphs .is-graph-loading{min-height:500px}.graphs.wheader h2{padding:1px}.graphs .area{fill:#1db34f;fill-opacity:0.5}.graphs .path{stroke:#1db34f;stroke-width:2px;stroke-opacity:1;fill:none}.graphs .dot{fill:#1db34f;stroke:#16873c;stroke-width:2px}.graphs .dot.padded{stroke:#fff;stroke-width:1px}.graphs .dot.padded circle:hover{fill:#4183c4}.graphs .d3-tip{fill:#333}.graphs .d3-tip text{fill:#fff;font-size:11px}.graphs .dir{font-size:12px;font-weight:normal;color:#555;line-height:100%;padding-top:5px;float:right}.graphs .selection rect{fill:#333;fill-opacity:0.1;stroke:#333;stroke-width:1px;stroke-opacity:0.4;shape-rendering:crispedges;stroke-dasharray:3 3}.graph-filter h3{display:inline-block;margin:10px 0 0;font-weight:300;font-size:24px}.graph-filter .info{margin-top:5px;margin-bottom:20px;color:#777}.graph-filter .select-menu{float:right;margin-top:13px}h2.ghead:after{content:".";height:0;display:block;visibility:hidden;clear:both}.graph-canvas .activity{text-align:center;width:400px;margin:100px auto 0;color:#444;border-radius:3px;padding:10px}.graph-canvas .error{color:#900;background:#feeaea;padding:10px;border-radius:3px}.graph-canvas .dots{margin:0 auto}.graph-canvas>.activity{display:none}.graph-loading,.graph-error,.graph-empty{display:none}.graph-canvas.is-graph-loading>.activity,.graph-canvas.is-graph-empty>.activity{display:block}.is-graph-loading .graph-loading,.is-graph-empty .graph-empty,.is-graph-load-error .graph-error{display:block}.svg-tip{padding:10px;background:rgba(0,0,0,0.8);color:#bbb;font-size:12px;position:absolute;z-index:99999;text-align:center;border-radius:3px}.svg-tip strong{color:#ddd}.svg-tip.is-visible{display:block}.svg-tip:after{-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;left:50%;height:5px;width:5px;bottom:-10px;margin:0 0 0 -5px;content:" ";border:5px solid transparent;border-top-color:rgba(0,0,0,0.8)}.svg-tip.comparison{text-align:left;pointer-events:none;padding:0}.svg-tip.comparison .title{display:block;padding:10px;margin:0;line-height:1;font-weight:bold;pointer-events:none}.svg-tip.comparison ul{list-style:none;margin:0;white-space:nowrap}.svg-tip.comparison li{display:inline-block;padding:10px}.svg-tip.comparison li:first-child{border-top:3px solid #1db34f;border-right:1px solid #333}.svg-tip.comparison li:last-child{border-top:3px solid #1d7fb3}.svg-tip-one-line{white-space:nowrap}.day-name{fill:#555}circle.day{stroke-width:0;fill:#444}circle.day:hover{fill:#4183c4}line.axis{stroke-width:1;stroke:#eee;shape-rendering:crispedges}line.axis.even{stroke:#e0e0e0}.traffic-graph{min-height:150px}.traffic-graph .activity{margin-top:0}.traffic-graph .activity .dots{margin-top:40px}.traffic-graph .path{fill:none;stroke-width:2}.traffic-graph path.total{stroke:#1db34f}.traffic-graph path.unique{stroke:#1d7fb3}.traffic-graph .x.axis .tick:first-child line{stroke:#1db34f;stroke-width:2px}.traffic-graph .y line{stroke:#1db34f}.traffic-graph .y.unique line{stroke:#1d7fb3}.traffic-graph .overlay{fill-opacity:0}.uniques-graph .x.axis .tick:nth-child(14) line{stroke:#1d7fb3;stroke-width:2px}.svg-tip .date{color:#fff}#top-domains .dots{margin:167px auto 0;display:block}#top-domains .favicon{width:16px;height:16px}table.capped-list{width:100%;line-height:100%}table.capped-list th{text-align:left;padding:8px;border-bottom:1px solid #ddd;background:#f4f4f4}table.capped-list td{padding:8px;border-bottom:1px solid #eee;font-size:12px}table.capped-list th.middle,table.capped-list td.middle{text-align:center}table.capped-list .favicon{width:16px;height:16px;vertical-align:middle;margin:0 5px}table.capped-list .octicon{margin-right:10px;vertical-align:-1px;color:#555}table.capped-list tr:nth-child(even){background-color:#fcfcfc}table.capped-list.mini-icons .mini-icon{margin-right:5px;color:#555}.capped-list-label{overflow:hidden;white-space:nowrap;max-width:200px;text-overflow:ellipsis}.traffic-graph-stats{border-top:1px solid #ddd}.traffic-graph-stats .summary-stats{width:100%}.traffic-graph-stats .summary-stats:before{display:table;content:""}.traffic-graph-stats .summary-stats:after{display:table;clear:both;content:""}.traffic-graph-stats .summary-stats li{width:50%;display:block;float:left;padding-bottom:10px}.totals circle{fill:#1db34f;stroke:#fff;stroke-width:2}.uniques circle{fill:#1d7fb3;stroke:#fff;stroke-width:2}.top-lists .is-loading{text-align:center;margin:40px}ul.web-views li{width:140px}ul.clones li{width:170px}.markdown-body{overflow:hidden;font-family:"Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif;font-size:16px;line-height:1.6;word-wrap:break-word}.markdown-body>*:first-child{margin-top:0 !important}.markdown-body>*:last-child{margin-bottom:0 !important}.markdown-body .absent{color:#c00}.markdown-body .anchor{position:absolute;top:0;bottom:0;left:0;display:block;padding-right:6px;padding-left:30px;margin-left:-30px}.markdown-body .anchor:focus{outline:none}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{position:relative;margin-top:1em;margin-bottom:16px;font-weight:bold;line-height:1.4}.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link{display:none;color:#000;vertical-align:middle}.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor{padding-left:8px;margin-left:-30px;line-height:1;text-decoration:none}.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link{display:inline-block}.markdown-body h1 tt,.markdown-body h1 code,.markdown-body h2 tt,.markdown-body h2 code,.markdown-body h3 tt,.markdown-body h3 code,.markdown-body h4 tt,.markdown-body h4 code,.markdown-body h5 tt,.markdown-body h5 code,.markdown-body h6 tt,.markdown-body h6 code{font-size:inherit}.markdown-body h1{padding-bottom:0.3em;font-size:2.25em;line-height:1.2;border-bottom:1px solid #eee}.markdown-body h2{padding-bottom:0.3em;font-size:1.75em;line-height:1.225;border-bottom:1px solid #eee}.markdown-body h3{font-size:1.5em;line-height:1.43}.markdown-body h4{font-size:1.25em}.markdown-body h5{font-size:1em}.markdown-body h6{font-size:1em;color:#777}.markdown-body p,.markdown-body blockquote,.markdown-body ul,.markdown-body ol,.markdown-body dl,.markdown-body table,.markdown-body pre{margin-top:0;margin-bottom:16px}.markdown-body hr{height:4px;padding:0;margin:16px 0;background-color:#e7e7e7;border:0 none}.markdown-body ul,.markdown-body ol{padding-left:2em}.markdown-body ul.no-list,.markdown-body ol.no-list{padding:0;list-style-type:none}.markdown-body ul ul,.markdown-body ul ol,.markdown-body ol ol,.markdown-body ol ul{margin-top:0;margin-bottom:0}.markdown-body li>p{margin-top:16px}.markdown-body dl{padding:0}.markdown-body dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:bold}.markdown-body dl dd{padding:0 16px;margin-bottom:16px}.markdown-body blockquote{padding:0 15px;color:#777;border-left:4px solid #ddd}.markdown-body blockquote>:first-child{margin-top:0}.markdown-body blockquote>:last-child{margin-bottom:0}.markdown-body table{display:block;width:100%;overflow:auto;word-break:normal;word-break:keep-all}.markdown-body table th{font-weight:bold}.markdown-body table th,.markdown-body table td{padding:6px 13px;border:1px solid #ddd}.markdown-body table tr{background-color:#fff;border-top:1px solid #ccc}.markdown-body table tr:nth-child(2n){background-color:#f8f8f8}.markdown-body img{max-width:100%;-moz-box-sizing:border-box;box-sizing:border-box}.markdown-body span.frame{display:block;overflow:hidden}.markdown-body span.frame>span{display:block;float:left;width:auto;padding:7px;margin:13px 0 0;overflow:hidden;border:1px solid #ddd}.markdown-body span.frame span img{display:block;float:left}.markdown-body span.frame span span{display:block;padding:5px 0 0;clear:both;color:#333}.markdown-body span.align-center{display:block;overflow:hidden;clear:both}.markdown-body span.align-center>span{display:block;margin:13px auto 0;overflow:hidden;text-align:center}.markdown-body span.align-center span img{margin:0 auto;text-align:center}.markdown-body span.align-right{display:block;overflow:hidden;clear:both}.markdown-body span.align-right>span{display:block;margin:13px 0 0;overflow:hidden;text-align:right}.markdown-body span.align-right span img{margin:0;text-align:right}.markdown-body span.float-left{display:block;float:left;margin-right:13px;overflow:hidden}.markdown-body span.float-left span{margin:13px 0 0}.markdown-body span.float-right{display:block;float:right;margin-left:13px;overflow:hidden}.markdown-body span.float-right>span{display:block;margin:13px auto 0;overflow:hidden;text-align:right}.markdown-body code,.markdown-body tt{padding:0;padding-top:0.2em;padding-bottom:0.2em;margin:0;font-size:85%;background-color:rgba(0,0,0,0.04);border-radius:3px}.markdown-body code:before,.markdown-body code:after,.markdown-body tt:before,.markdown-body tt:after{letter-spacing:-0.2em;content:"\00a0"}.markdown-body code br,.markdown-body tt br{display:none}.markdown-body del code{text-decoration:inherit}.markdown-body pre>code{padding:0;margin:0;font-size:100%;word-break:normal;white-space:pre;background:transparent;border:0}.markdown-body .highlight{margin-bottom:16px}.markdown-body .highlight pre,.markdown-body pre{padding:16px;overflow:auto;font-size:85%;line-height:1.45;background-color:#f7f7f7;border-radius:3px}.markdown-body .highlight pre{margin-bottom:0;word-break:normal}.markdown-body pre{word-wrap:normal}.markdown-body pre code,.markdown-body pre tt{display:inline;max-width:initial;padding:0;margin:0;overflow:initial;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.markdown-body pre code:before,.markdown-body pre code:after,.markdown-body pre tt:before,.markdown-body pre tt:after{content:normal}.pl-c{color:#969896}.pl-c1,.pl-mdh,.pl-mm,.pl-mp,.pl-mr,.pl-s1 .pl-v,.pl-s3,.pl-sc,.pl-sv{color:#0086b3}.pl-e,.pl-en{color:#795da3}.pl-s1 .pl-s2,.pl-smi,.pl-smp,.pl-stj,.pl-vo,.pl-vpf{color:#333}.pl-ent{color:#63a35c}.pl-k,.pl-s,.pl-st{color:#a71d5d}.pl-pds,.pl-s1,.pl-s1 .pl-pse .pl-s2,.pl-sr,.pl-sr .pl-cce,.pl-sr .pl-sra,.pl-sr .pl-sre,.pl-src,.pl-v{color:#df5000}.pl-id{color:#b52a1d}.pl-ii{background-color:#b52a1d;color:#f8f8f8}.pl-sr .pl-cce{color:#63a35c;font-weight:bold}.pl-ml{color:#693a17}.pl-mh,.pl-mh .pl-en,.pl-ms{color:#1d3e81;font-weight:bold}.pl-mq{color:#008080}.pl-mi{color:#333;font-style:italic}.pl-mb{color:#333;font-weight:bold}.pl-md,.pl-mdhf{background-color:#ffecec;color:#bd2c00}.pl-mdht,.pl-mi1{background-color:#eaffea;color:#55a532}.pl-mdr{color:#795da3;font-weight:bold}.pl-mo{color:#1d3e81}.ace_gutter{background:#ffffff;color:#999999}.ace_print-margin{width:1px;background:#e8e8e8}.ace-github-light{background-color:#ffffff;color:#333333}.ace_cursor{color:#000000}.ace_marker-layer .ace_selection{background:#c8c8fa}.ace_multiselect .ace_selection.ace_start{box-shadow:0 0 3px 0px #ffffff;border-radius:2px}.ace_marker-layer .ace_step{background:#c6dbae}.ace_marker-layer .ace_bracket{margin:-1px 0 0 -1px;border:1px solid #c0c0c0}.ace_marker-layer .ace_active-line{background:#f5f5f5}.ace_gutter-active-line{background-color:#f5f5f5}.ace_marker-layer .ace_selected-word{border:1px solid #c8c8fa}.ace_fold{background-color:#a71d5d;border-color:#333333}.ace_keyword{color:#a71d5d}.ace_constant{color:#0086b3}.ace_support{color:#0086b3}.ace_support.ace_constant{color:#0086b3}.ace_support.ace_type{color:#a71d5d}.ace_storage{color:#a71d5d}.ace_storage.ace_type{color:#a71d5d}.ace_invalid.ace_illegal{text-decoration:underline;font-style:italic;color:#f8f8f8;background-color:#b52a1d}.ace_invalid.ace_deprecated{text-decoration:underline;font-style:italic;color:#b52a1d}.ace_string{color:#df5000}.ace_string.ace_regexp{color:#df5000}.ace_comment{color:#969896}.ace_variable{color:#df5000}.ace_entity.ace_name{color:#795da3}.ace_entity.ace_name.ace_tag{color:#63a35c}.ace_markup.ace_heading{color:#1d3e81}.ace_markup.ace_list{color:#693a17}.focus-content{width:620px}#site-container>.container:first-child{margin-top:20px}.emoji-icon{display:inline-block;height:20px;width:20px;vertical-align:middle;background-repeat:no-repeat;background-size:20px 20px}.avatar{display:inline-block;overflow:hidden;line-height:1;vertical-align:middle;border-radius:3px}.avatar-small{border-radius:2px}.avatar-link{float:left;line-height:1}.avatar-group-item{display:inline-block;margin-bottom:3px}.avatar-parent-child{position:relative}.avatar-child{position:absolute;right:-15%;bottom:-9%;border-radius:2px;box-shadow:-2px -2px 0 rgba(255,255,255,0.8)}.state{display:inline-block;padding:4px 8px;font-weight:bold;line-height:20px;color:#fff;text-align:center;border-radius:3px;background-color:#999}.state-open,.state-proposed,.state-reopened{background-color:#6cc644}.state-merged{background-color:#6e5494}.state-closed{background-color:#bd2c00}.state-renamed{background-color:#fffa5d}.labels{position:relative}.label{display:inline-block;padding:3px 4px;font-size:11px;font-weight:bold;line-height:1;color:#fff;border-radius:2px;box-shadow:inset 0 -1px 0 rgba(0,0,0,0.12)}.label:hover{text-decoration:none}.label-admin{color:#999;background-color:#eee}.label-limited-member{margin-top:-1px;margin-bottom:-1px;color:#999;font-weight:normal;background-color:transparent;border:1px solid #eee;box-shadow:none}.label-neutral{background-color:#999;color:#fff}a.label-link{border:1px solid transparent}a.label-link:hover{text-decoration:none}.label-membership-pending{background-color:#f93}.facebox{position:absolute;top:0;left:0;z-index:100;padding-bottom:40px}.facebox ul{margin-left:25px;margin-bottom:15px}.facebox .facebox-staff-links{margin:-15px -15px 15px;padding:10px 15px;background-color:#f5f5f5;border-bottom:1px solid #e5e5e5}.facebox .facebox-staff-links li{display:inline-block;margin-right:10px;color:#999;list-style:none}.facebox .facebox-staff-links a{font-weight:bold}.facebox pre{padding:10px;background-color:#eee;border:1px solid #ddd;border-radius:3px}.facebox .shortcuts{width:860px}.facebox .facebox-user-list{margin-left:0;margin-bottom:0;max-height:400px;overflow:auto}.facebox .lineprofiler{width:900px}.facebox .lineprofiler pre{overflow-x:scroll;white-space:pre;word-wrap:normal}.facebox-popup{position:relative;background-color:#fff;border:1px solid rgba(0,0,0,0.25);border-radius:5px;box-shadow:0 0 18px rgba(0,0,0,0.4);background-clip:padding-box}.facebox-content{width:455px;padding:15px}.facebox-content:before{display:table;content:""}.facebox-content:after{display:table;clear:both;content:""}.facebox-close{position:absolute;top:8px;right:5px;padding:10px;-webkit-appearance:none;background-color:transparent;border:0;opacity:0.25;cursor:pointer}.facebox-close:hover{opacity:1}.facebox-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.facebox-overlay-hide{z-index:-100}.facebox-overlay-active{z-index:99;background-color:#000}.facebox-loading{min-height:64px;background-image:url(/assets/spinners/octocat-spinner-64-f4c980250033ceb8052bb542cf947750f8c73ebe69b0b0b66b415b4a40f8bd6e.gif);background-position:center center;background-repeat:no-repeat}@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 2dppx){.facebox-loading{background-image:url(/assets/spinners/octocat-spinner-128-338974454bb5c32803e82f601beb051d373744b024fe8742a76009700fd7e033.gif);background-size:64px 64px}}.facebox-header{margin:-15px -15px 15px;padding:15px;border-bottom:1px solid #e5e5e5;font-size:18px;font-weight:normal}.facebox-footer{margin:0 -15px -15px;padding:10px 15px;border-top:1px solid #e5e5e5;border-bottom-right-radius:5px;border-bottom-left-radius:5px;background:#fafafa;text-align:right}.facebox-footer .help{margin:0;text-align:center;color:#777}.facebox-alert,.facebox-danger{margin:-16px -15px 15px;padding:10px 15px;border-style:solid;border-width:1px 0}.facebox-alert{color:#796620;background-color:#f8eec7;border-color:#f2e09a}.facebox-danger{padding-left:40px;color:#9c342e;background-color:#f7d9d7;border-color:#f2c4c2}.facebox-danger .octicon{float:left;margin-left:-25px}.facebox-separator{margin:20px -15px}.facebox-staff-search .hfields{margin-top:0;margin-bottom:0}.facebox-staff-search .hfields input[type="text"]{width:340px;margin-right:0}.facebox-staff-search .hfields .button{margin-top:29px;margin-right:0}.facebox-staff-search .status-check-list{float:none;margin:15px 0 0}#facebox .billing-credit-cards{margin:0 0 15px}#facebox .billing-credit-cards li{margin:0 4px 0 0}.keyboard-shortcuts{float:right;font-size:11px;color:#999}.keyboard-shortcuts .mini-icon{position:relative;top:2px;margin-left:5px}.keyboard-mappings{font-size:12px;color:#555}.keyboard-mappings th{padding-top:25px;font-size:14px;line-height:1.5;color:#333;text-align:left}.keyboard-mappings tbody:first-child tr:first-child th{padding-top:0}.keyboard-mappings td{padding-top:3px;padding-bottom:3px;vertical-align:top;line-height:20px}.keyboard-mappings .keys{padding-right:10px;color:#999;text-align:right;white-space:nowrap}.keyboard-mappings .platform-mac{display:none}.macintosh .keyboard-mappings .platform-mac{display:inline}.macintosh .keyboard-mappings .platform-other{display:none}.facebox-user-list-item{padding:3px 0;list-style:none;font-weight:bold;vertical-align:middle}.facebox-user-list-item a{color:#000}.facebox-user-list-item img{margin-right:5px;border-radius:3px;vertical-align:middle}.linejump .linejump-input{width:340px;background-color:#fafafa}.linejump .linejump-input,.linejump .button{font-size:16px;padding:10px 15px}.linejump+.facebox-close{top:18px}.repo-transfer-tip{margin-bottom:0}.user-mention,.team-mention{font-weight:bold;color:#333;white-space:nowrap}.muted-link{color:#777}.muted-link:hover{color:#4183c4;text-decoration:none}dl.form>dd input[type="text"].is-autocheck-loading,dl.form>dd input[type="password"].is-autocheck-loading,dl.form>dd input[type="email"].is-autocheck-loading{background-image:url(/assets/spinners/octocat-spinner-32-e513294efa576953719e4e2de888dd9cf929b7d62ed8d05f25e731d02452ab6c.gif);background-size:16px}dl.form>dd input[type="text"].is-autocheck-successful,dl.form>dd input[type="password"].is-autocheck-successful,dl.form>dd input[type="email"].is-autocheck-successful{background-image:url(/assets/modules/ajax/success-d52b10be0dd106e2af0082f20d3567b3b4ca1a01588fe8784559581d174b9cfd.png)}dl.form>dd input[type="text"].is-autocheck-errored,dl.form>dd input[type="password"].is-autocheck-errored,dl.form>dd input[type="email"].is-autocheck-errored{background-image:url(/assets/modules/ajax/error-5be259755184ed4fca9b2999079396864dfda1f514c4a58c800c36d148d2f6ab.png)}.form-cards{height:31px;margin:0 0 15px}.form-cards .card{float:left;width:47px;height:31px;text-indent:-9999px;background-image:url(/assets/modules/pricing/credit-cards-@1x-a2d43def9fd8ef56b0ff933150fbb82e05cc3c64f0e1c9b3282fa29eff6659f9.png);background-position:0 0;opacity:0.6}.form-cards .card.visa{background-position:0 0}.form-cards .card.amex{background-position:-50px 0}.form-cards .card.mastercard{background-position:-100px 0}.form-cards .card.discover{background-position:-150px 0}.form-cards .card.jcb{background-position:-200px 0}.form-cards .card.dinersclub{background-position:-250px 0}.form-cards .card.enabled{opacity:1}.form-cards .card.disabled{opacity:0.2}.form-cards>.cards{margin:0}.form-cards>.cards>li{float:left;margin:0 4px 0 0;list-style-type:none}.form-cards>.cards>li.text{font-size:11px;line-height:31px;color:#999}@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 2dppx){.form-cards>.cards .card{background-image:url(/assets/modules/pricing/credit-cards-@2x-04ddcb8fd3b4dd231fabd04a4b8098b8110035b0372cc0e0974b05b8fdb897ce.png);background-size:300px 31px}}.status-indicator-loading{position:relative;top:3px;width:16px;height:16px;margin-top:-4px;background:url(/assets/spinners/octocat-spinner-32-EAF2F5-0bdc57d34b85c4a4de9d0d1db10cd70e8a95f33ff4f46c5a8c48b4bf4e5a9abe.gif) 0 0 no-repeat;background-size:16px}.callout{padding:10px;margin:15px 0;font-size:13px;color:#4c4a42;background-color:#fff9ea;border-color:#dfd8c2;border-radius:3px}.callout strong{font-weight:bold;color:#000}.callout h2{margin:0;font-size:16px;font-weight:300}.callout p:last-child{margin-bottom:0}.callout p:first-child{margin-top:0}.callout hr{width:100%;padding:0 10px;margin:10px 0 10px -10px;background:transparent;border-top:1px solid #e5e2c8;border-bottom:1px solid #fff}.infotip{padding:10px;margin:15px 0;font-size:12px;color:#4c4a42;background-color:#fff9ea;border:1px solid #dfd8c2;border-radius:3px}.infotip p{margin:0}.infotip p+p{margin-top:15px}.dashboard-notice{position:relative;padding:15px 15px 15px 55px;margin-bottom:20px;font-size:14px;background-color:#fafafa;border:solid 1px #d8d8d8;border-radius:3px}.dashboard-notice .dismiss{position:absolute;top:10px;right:10px;width:16px;height:16px;color:#bbb;cursor:pointer}.dashboard-notice .dismiss:hover{color:#666}.dashboard-notice .mega-octicon{position:absolute;top:15px;left:15px}.dashboard-notice .octicon-organization{color:#4183c4}.dashboard-notice h2{margin-top:9px;margin-bottom:16px;font-size:18px;font-weight:normal;color:#000}.dashboard-notice p{margin-top:0}.dashboard-notice p.no-title{padding-right:5px;margin-top:0}.dashboard-notice .inset-figure{float:right;margin-bottom:15px;margin-left:20px}.dashboard-notice ul{margin-left:18px}.dashboard-notice li{padding-bottom:15px}.dashboard-notice .coupon{padding:10px;margin:15px 0;font-size:20px;font-weight:bold;text-align:center;background:#fff;border:1px dashed #d1e5ff}kbd{background-color:#e7e7e7;background-image:-webkit-linear-gradient(#fefefe, #e7e7e7);background-image:linear-gradient(#fefefe, #e7e7e7);background-repeat:repeat-x;display:inline-block;padding:3px 5px;font:11px Consolas, "Liberation Mono", Menlo, Courier, monospace;line-height:10px;color:#000;border:1px solid #cfcfcf;border-radius:2px}.kbd-dark{color:#eee;background-color:#222;background-image:none;border:0}.badmono{font-family:sans-serif;font-weight:bold}.select-menu-button:after{display:inline-block;width:0;height:0;content:"";vertical-align:-2px;border:4px solid;border-right-color:transparent;border-left-color:transparent;border-bottom-color:transparent}.select-menu-button.icon-only{padding-left:7px}.select-menu-button.primary:after{border-top-color:#fff}.select-menu-button.primary:after:active{background-color:#4a993e}.select-menu .spinner{float:left;margin:4px 0 0 -24px}.select-menu.active .select-menu-modal-holder{display:block}.select-menu.right-aligned{float:right;position:relative}.select-menu.right-aligned .select-menu-modal-holder{right:0}.select-menu.is-showing-clear-item .select-menu-clear-item{display:block}.select-menu.is-showing-clear-item .select-menu-clear-item .octicon{color:inherit}.select-menu.is-showing-clear-item .select-menu-clear-item+.select-menu-no-results{display:none}.select-menu.is-loading .select-menu-loading-overlay{display:block}.select-menu.is-loading .select-menu-modal{min-height:200px}.select-menu-loading-overlay{display:none;text-indent:100%;height:100%;width:100%;position:absolute;top:0;z-index:5;border-radius:5px;border:1px solid transparent;background-color:rgba(255,255,255,0.8);-webkit-animation:pulse 2s infinite linear;animation:pulse 2s infinite linear}.select-menu-loading-overlay:before{position:absolute;left:50%;top:50%;margin:-16px 0 0 -16px;width:32px;content:"\f008";font:normal normal 32px/1 "octicons";display:inline-block;text-decoration:none;-webkit-font-smoothing:antialiased;text-indent:0}@-webkit-keyframes pulse{0%{color:rgba(170,170,170,0.1)}10%{color:#aaaaaa}100%{color:rgba(170,170,170,0.1)}}@keyframes pulse{0%{color:rgba(170,170,170,0.1)}10%{color:#aaaaaa}100%{color:rgba(170,170,170,0.1)}}.select-menu-modal-holder{position:absolute;display:none;z-index:21}.select-menu-modal{position:relative;width:300px;margin-top:4px;margin-bottom:20px;overflow:hidden;font-size:12px;color:#666;background-color:#fff;background-clip:padding-box;border:1px solid rgba(200,200,200,0.4);border-radius:3px;box-shadow:0 3px 12px rgba(0,0,0,0.15)}.select-menu-header{padding:8px 10px;background:#f5f5f5;border-bottom:1px solid rgba(200,200,200,0.4)}.select-menu-header .select-menu-title{font-weight:bold;color:#333;text-shadow:0 1px 0 #fff}.select-menu-header .octicon{display:block;float:right;color:#ccc;cursor:pointer}.select-menu-header .octicon:hover{color:#555}.select-menu-filters{background-color:#f8f8f8}.select-menu-text-filter{padding:10px 10px 0}.select-menu-text-filter:first-child:last-child{padding-bottom:10px;border-bottom:1px solid #ddd}.select-menu-text-filter input{display:block;width:100%;max-width:100%;padding:5px;border:1px solid #ddd;border-radius:3px}.select-menu-text-filter input::-webkit-input-placeholder,.select-menu-text-filter input:-moz-placeholder{color:#aaa}.select-menu-tabs{height:33px;border-bottom:1px solid #ddd}.select-menu-tabs ul{overflow:hidden;padding:14px 10px 0}.select-menu-tabs .select-menu-tab{display:inline-block}.select-menu-tabs a{height:20px;padding:5px 8px;font-size:11px;font-weight:bold;color:#888;text-decoration:none;line-height:20px;border-radius:3px 3px 0 0;cursor:pointer}.select-menu-tabs a:hover{color:#333}.select-menu-tabs a.selected{padding:4px 5px;border:1px solid #ddd;border-bottom:1px solid #fff;background-color:#fff;color:#333}.select-menu-list{max-height:400px;overflow:auto;position:relative}.select-menu-list.select-menu-tab-bucket{display:none}.select-menu-list.select-menu-tab-bucket.selected{display:block}.select-menu-list.is-showing-new-item-form .select-menu-new-item-form{display:table}.select-menu-list.is-showing-new-item-form .select-menu-no-results,.select-menu-list.is-showing-new-item-form .select-menu-clear-item{display:none}.select-menu-item{cursor:pointer;border-bottom:1px solid #eee;display:table;table-layout:fixed;width:100%;overflow:hidden;color:inherit}.select-menu-item:hover{text-decoration:none}.select-menu-item.select-menu-item-template{display:none}.select-menu-item.select-menu-clear-item{display:none}.select-menu-item.disabled,.select-menu-item.disabled.selected{color:#999}.select-menu-item.disabled .select-menu-item-gravatar,.select-menu-item.disabled.selected .select-menu-item-gravatar{opacity:0.5}.select-menu-item .octicon{vertical-align:middle}.select-menu-item .octicon-check{visibility:hidden}.select-menu-item input[type="radio"]{display:none}.select-menu-item .select-menu-item-icon{display:table-cell;color:transparent;vertical-align:top;padding:8px 0 8px 8px;width:24px;text-align:center}.select-menu-item.navigation-focus,.select-menu-item.navigation-focus.selected,.select-menu-item.navigation-focus.select-menu-action,.select-menu-item.navigation-focus .description-inline{background-color:#4183c4;color:#fff}.select-menu-item.navigation-focus>.octicon,.select-menu-item.navigation-focus.selected>.octicon,.select-menu-item.navigation-focus.select-menu-action>.octicon,.select-menu-item.navigation-focus .description-inline>.octicon{color:#fff}.select-menu-item.navigation-focus .text-danger,.select-menu-item.navigation-focus .description,.select-menu-item.navigation-focus.selected .text-danger,.select-menu-item.navigation-focus.selected .description,.select-menu-item.navigation-focus.select-menu-action .text-danger,.select-menu-item.navigation-focus.select-menu-action .description,.select-menu-item.navigation-focus .description-inline .text-danger,.select-menu-item.navigation-focus .description-inline .description{color:#fff}.select-menu-item>.octicon-dash{display:none}.select-menu-item.indeterminate>.octicon-check{display:none}.select-menu-item.indeterminate>.octicon-dash{display:table-cell}.select-menu-item.select-menu-action,.select-menu-item.selected{color:#333}.select-menu-item.select-menu-action .description,.select-menu-item.selected .description{color:#666}.select-menu-item.select-menu-action .octicon-check,.select-menu-item.selected .octicon-check{visibility:visible}.select-menu-item.select-menu-action>.octicon,.select-menu-item.selected>.octicon{color:#333}.select-menu-item.select-menu-action .select-menu-item-text{font-weight:bold}.select-menu[data-multiple] .select-menu-item:active{background-color:transparent !important}.select-menu-item a{color:inherit;text-decoration:none}.select-menu-item .hidden-select-button-text{display:none}.select-menu-item .css-truncate-target{display:table-cell;max-width:100%}form.select-menu-item>div:first-child{display:none !important}.select-menu-item.last-visible,.select-menu-list:last-child .select-menu-item:last-child{border-bottom:0;border-radius:0 0 3px 3px}.select-menu-actions .select-menu-item:hover{background-color:#4183c4;color:#fff}.select-menu-actions .select-menu-item:hover>.octicon{color:#fff}.select-menu-actions .select-menu-item:hover .description{color:#fff}.select-menu-no-results{padding:9px;display:none;cursor:auto;color:#999}.select-menu-list.filterable-empty .select-menu-no-results,.select-menu-no-results:only-child{display:block}.select-menu-button-gravatar,.select-menu-item-gravatar{overflow:hidden;line-height:0;width:20px}.select-menu-button-gravatar img,.select-menu-item-gravatar img{height:20px;width:20px;display:inline-block;border-radius:3px}.select-menu-item-gravatar{display:table-cell;padding:6px 0 6px 8px;vertical-align:top;width:28px}.select-menu-button-gravatar{display:inline-block;margin:6px 3px 6px 0;margin-right:5px;vertical-align:middle}.select-menu-item-text{display:table-cell;vertical-align:top;padding:8px 0 8px 8px;text-align:left}.select-menu-item-text:first-child{margin-left:5px}.select-menu-item-text .description{color:#999;font-size:12px;max-width:265px;display:block;margin-top:3px}.select-menu-item-text .description-inline{color:#999;font-size:10px}.select-menu-item-text h4{margin-top:0;margin-bottom:0}.select-menu-item-text h4 .description{font-weight:normal;display:inline}.select-menu-footer{padding:8px;font-weight:bold;border-top:1px solid #eee}.select-menu-footer a{display:inline-block;margin-top:1px;vertical-align:top}.select-menu-footer .octicon{color:#666}.select-menu-new-item-form{display:none}.select-menu-new-item-form .octicon{color:#4183c4}.modal-backdrop{display:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}body.menu-active .modal-backdrop{display:block;position:fixed;top:0;left:0;height:100%;width:100%;z-index:20}.dropdown{position:relative}.dropdown-caret{display:inline-block;width:0;height:0;content:"";vertical-align:-2px;border:4px solid;border-right-color:transparent;border-left-color:transparent;border-bottom-color:transparent}.dropdown-menu{position:absolute;top:100%;left:50%;z-index:100;width:160px;margin-top:2px;margin-left:-80px;padding-top:5px;padding-bottom:5px;list-style:none;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,0.15);border-radius:4px;box-shadow:0 3px 12px rgba(0,0,0,0.15)}.dropdown-menu:before{position:absolute;top:-16px;left:72px;display:inline-block;content:"";border:8px solid transparent;border-bottom-color:#ccc;border-bottom-color:rgba(0,0,0,0.15)}.dropdown-menu:after{position:absolute;top:-14px;left:73px;display:inline-block;content:"";border:7px solid transparent;border-bottom-color:#fff}.dropdown-menu>li>a{display:block;padding:4px 10px 4px 38px;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dropdown-menu>li>a>.octicon{float:left;margin-top:1px;margin-left:-23px;opacity:0.5}.dropdown-menu>li>a:hover,.dropdown-menu>li>a.zeroclipboard-is-hover{color:#fff;text-decoration:none;background-color:#4183c4}.dropdown-menu>li>a:hover>.octicon,.dropdown-menu>li>a.zeroclipboard-is-hover>.octicon{color:inherit;opacity:1}.dropdown-divider{height:1px;margin:8px 1px;background-color:#e5e5e5}.dropdown-header{padding:4px 15px;font-size:12px;color:#999}.dropdown-menu-content{display:none}.dropdown-menu-w{top:0;left:auto;right:100%;width:auto;margin-top:0;margin-left:0;margin-right:10px}.dropdown-menu-w:before{top:10px;right:-16px;left:auto;border-color:transparent;border-left-color:#ccc;border-left-color:rgba(0,0,0,0.15)}.dropdown-menu-w:after{top:11px;right:-14px;left:auto;border-color:transparent;border-left-color:#fff}.dropdown-menu-e{top:0;left:100%;width:auto;margin-top:0;margin-left:10px}.dropdown-menu-e:before{top:10px;left:-16px;border-color:transparent;border-right-color:#ccc;border-right-color:rgba(0,0,0,0.15)}.dropdown-menu-e:after{top:11px;left:-14px;border-color:transparent;border-right-color:#fff}include-fragment,poll-include-fragment{display:block}.pagination:before{display:table;content:""}.pagination:after{display:table;clear:both;content:""}.pagination a,.pagination span,.pagination em{position:relative;float:left;margin-left:-1px;font-size:13px;font-weight:bold;font-style:normal;padding:7px 12px;color:#4183c4;white-space:nowrap;vertical-align:middle;cursor:pointer;background:#fff;border:1px solid #e5e5e5;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.pagination a:first-child,.pagination span:first-child,.pagination em:first-child{margin-left:0;border-top-left-radius:3px;border-bottom-left-radius:3px}.pagination a:last-child,.pagination span:last-child,.pagination em:last-child{border-top-right-radius:3px;border-bottom-right-radius:3px}.pagination a:hover,.pagination a:focus,.pagination span:hover,.pagination span:focus,.pagination em:hover,.pagination em:focus{z-index:2;background-color:#e7e7e7;border-color:#e5e5e5;text-decoration:none}.pagination .selected{z-index:3}.pagination .current,.pagination .current:hover{z-index:3;color:#fff;background-color:#4183c4;border-color:#4183c4}.pagination .gap,.pagination .disabled,.pagination .gap:hover,.pagination .disabled:hover{background-color:#fafafa;cursor:default;color:#d3d3d3}.ajax_paginate{display:block;margin-top:20px}.ajax_paginate a{float:none;display:block;padding:6px;text-align:center}.ajax_paginate.loading a{text-indent:-3000px;background-color:#eaeaea;background-image:url(/assets/spinners/octocat-spinner-16px-EAF2F5-51a410020c7197f8c4df78e79d28a05dca25d42014cd95e13b232cd2ef89109c.gif);background-repeat:no-repeat;background-position:center center;border-color:#c5c5c5}@media screen and (-webkit-min-device-pixel-ratio: 2), screen and (max--moz-device-pixel-ratio: 2){.ajax_paginate.loading a{background-image:url(/assets/spinners/octocat-spinner-32-EAF2F5-0bdc57d34b85c4a4de9d0d1db10cd70e8a95f33ff4f46c5a8c48b4bf4e5a9abe.gif);background-size:16px auto}}.paginate-container{margin-top:20px;margin-bottom:15px;text-align:center}.paginate-container .pagination{display:inline-block}.header{padding-top:10px;padding-bottom:10px;min-width:1000px;background-color:#f5f5f5;border-bottom:1px solid #e5e5e5}.header-logged-out{padding-top:15px;padding-bottom:15px}.header-logo-invertocat{float:left;margin-right:10px;margin-left:-2px;color:#333;white-space:nowrap}.header-logo-invertocat .octicon-mark-github{float:left;width:28px;height:28px;font-size:28px}.header-logo-invertocat:hover{color:#4183c4;text-decoration:none}.logo-subbrand{float:left;margin-left:6px;font-size:16px;font-weight:bold;line-height:28px}.header-logo-wordmark{position:relative;float:left;height:26px;margin-right:15px;color:#333}.header-logo-wordmark:hover{color:#4183c4}.header-logo-wordmark .octicon-logo-github{height:26px;font-size:32px}.notification-indicator .mail-status{position:absolute;top:-2px;right:2px;z-index:2;display:none;width:14px;height:14px;color:#fff;text-align:center;background-color:#4183c4;background-image:-webkit-linear-gradient(#7ba9d6, #4183c4);background-image:linear-gradient(#7ba9d6, #4183c4);background-repeat:repeat-x;background-clip:padding-box;border-radius:50%;border:2px solid #f3f3f3}.notification-indicator .mail-status.unread{display:inline-block}.notification-indicator:hover .mail-status{background-color:#4183c4}.site-search{position:relative;float:left}.site-search form{position:relative;float:left;width:360px;margin-right:10px}.site-search input[type="text"]{position:relative;width:100%;min-height:28px;padding:4px 20px 4px 8px;font-size:12px}.site-search .scope-badge{position:absolute;top:3px;left:3px;bottom:3px;z-index:10;display:none;padding:3px 6px;font-size:12px;color:#777;background-color:#eee;border-radius:2px;-webkit-transition:all 0.1s ease-in-out;transition:all 0.1s ease-in-out}.site-search.repo-scope .scope-badge{display:block}.site-search.repo-scope input[type="text"]{padding-left:100px}.site-search.repo-scope input[type="text"]:focus+.scope-badge,.site-search.repo-scope .focused .drag-and-drop+.scope-badge,.focused .site-search.repo-scope .drag-and-drop+.scope-badge{background-color:#e4eef7;color:#4183c4}.header-nav{list-style:none}.header-nav-item{float:left}.header-nav-item.active .dropdown-menu-content{display:block}.header-nav-item.active .tooltipped:before,.header-nav-item.active .tooltipped:after{display:none}.header-nav-link{display:block;padding:4px 8px;font-size:13px;font-weight:bold;line-height:20px;color:#333}.header-nav-link:hover,.header-nav-link:focus{color:#4183c4;text-decoration:none}.header-nav-link:hover .dropdown-caret,.header-nav-link:focus .dropdown-caret{border-top-color:#4183c4}.user-nav{margin-right:-8px}.user-nav .header-nav-link{height:28px}.user-nav .octicon{width:18px;height:18px;text-align:center}.user-nav .octicon-inbox{font-size:20px}.user-nav .octicon-sign-out{padding-top:2px}.user-nav .octicon-plus{float:left;width:16px;height:18px;font-size:18px}.user-nav .avatar{float:left;margin-right:5px}.user-nav .name{float:left;white-space:nowrap}.sign-out-button{background:none;border:0}.header-actions{float:right;margin-top:-3px;margin-bottom:-3px}.header-actions .button{margin-left:5px}.enterprise .header{background-color:#2a2c2e;border-bottom-color:#121213}.is-stats .enterprise .header{box-shadow:inset 0 1px 0 rgba(255,255,255,0.05)}.enterprise .header-logo-wordmark,.enterprise .header-logo-invertocat,.enterprise .header-nav-link{color:#c8c8ca}.enterprise .header-logo-wordmark:hover,.enterprise .header-logo-wordmark:focus,.enterprise .header-logo-invertocat:hover,.enterprise .header-logo-invertocat:focus,.enterprise .header-nav-link:hover,.enterprise .header-nav-link:focus{color:#fafafa}.enterprise .header-nav-link:hover .dropdown-caret,.enterprise .header-nav-link:focus .dropdown-caret{border-top-color:#fafafa}.enterprise .notification-indicator .mail-status{border-color:#2a2c2e}.enterprise .notification-indicator:hover .mail-status{background-color:#d26911}.enterprise .header-actions .button{border:0;box-shadow:inset 0 1px 0 rgba(255,255,255,0.25),0 1px 1px rgba(0,0,0,0.5)}.enterprise .site-search .scope-badge{background-color:#5b5f63;color:#c8c8ca}.enterprise .site-search input[type="text"]{color:#fafafa;background-color:#4f5256;border-color:#121213}.enterprise .site-search input[type="text"]:focus,.enterprise .site-search .focused .drag-and-drop,.focused .enterprise .site-search .drag-and-drop{background-color:#55595d;border-color:#000;box-shadow:inset 0 1px 0 rgba(0,0,0,0.075)}.enterprise .site-search input[type="text"]:focus+.scope-badge,.enterprise .site-search .focused .drag-and-drop+.scope-badge,.focused .enterprise .site-search .drag-and-drop+.scope-badge{background-color:#676c71;color:#fff}.unsupported-browser{padding:15px 0;color:#211e14;background-color:#fae692;background-image:-webkit-linear-gradient(#feefae, #fae692);background-image:linear-gradient(#feefae, #fae692);background-repeat:repeat-x;border-bottom:1px solid #b3a569}.unsupported-browser .container{background:url(/assets/icons/ie-notice-797daf799064a78ff6a30d8bd5669edd01772f1de9f69294dca2df45de4b2ba2.png) no-repeat 0 5px}.unsupported-browser h5{font-size:13px;margin:5px 0 2px;padding-left:48px}.unsupported-browser p{margin:0;padding-left:48px}.unsupported-browser .button{float:right;margin-top:5px;margin-left:8px}.mobile-banner button.switch-to-mobile{display:block;width:100%;padding:30px 0 45px;border:0;background-color:#444;color:#eaeaea;font-size:60px;text-align:center;font-weight:bold}.mobile-banner button.switch-to-mobile .mega-octicon{position:relative;top:-8px;margin-right:5px;color:#ddd;font-size:48px}.outdated-dns p{text-align:center}.accessibility-aid{height:1px;width:1px;clip:rect(1px, 1px, 1px, 1px);overflow:hidden;position:absolute;margin:0}.accessibility-aid:focus{height:auto;width:auto;clip:auto;z-index:1;top:0;line-height:49px;padding:0 10px;background:#f5f5f5;font-weight:bold;text-decoration:none;color:#333}.is-stats .accessibility-aid:focus{top:34px}.site-footer{position:relative;margin-top:40px;padding-top:40px;padding-bottom:40px;font-size:12px;line-height:1.5;color:#777;border-top:1px solid #eee}.site-footer:before{display:table;content:""}.site-footer:after{display:table;clear:both;content:""}.site-footer .octicon-mark-github{position:absolute;top:38px;left:50%;height:24px;width:24px;margin-left:-12px;font-size:24px;color:#ccc}.site-footer .octicon-mark-github:hover{color:#bbb}.site-footer-links{margin:0;list-style:none}.site-footer-links li{display:inline-block;line-height:16px}.site-footer-links li+li{margin-left:10px}.billing-plans tbody td{width:25%;vertical-align:middle}.billing-plans .current{background-color:#f2ffed}.billing-plans .name{font-size:14px;font-weight:bold;color:#333}.billing-plans .coupon{font-size:12px}.billing-plans .coupon td{color:#fff;background-color:#6cc644}.billing-plans .coupon .text-right{white-space:nowrap}.billing-plans .coupon.expiring td{background-color:#df6e00}.billing-plans .coupon.expiring .coupon-label:after{border-bottom-color:#df6e00}.billing-plans tbody>.selected{background-color:#fdffce}.coupon-label{position:relative;padding:9px;margin:-9px}.coupon-label:after{position:absolute;bottom:100%;left:15px;width:0;height:0;pointer-events:none;content:" ";border:solid transparent;border-width:5px;border-bottom-color:#6cc644}.boxed-group-table .toggle-currency{font-size:11px;font-weight:normal}.is-hidden,.has-removed-contents{display:none}.currency-notice{margin-bottom:10px}.org-login{margin-top:-30px;margin-bottom:30px}.org-login img{width:450px;padding:1px;margin:10px -25px;border:1px solid #ccc}.auth-form{width:400px;margin:60px auto}.auth-form form{border-radius:3px;box-shadow:0 1px 3px rgba(0,0,0,0.075)}.auth-form .note{margin:15px 0;text-align:center}.auth-form-header{position:relative;padding:10px 20px;margin:0;color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.3);background-color:#829aa8;border:1px solid #768995;border-radius:3px 3px 0 0}.auth-form-header h1{margin-top:0;margin-bottom:0;font-size:16px}.auth-form-header h1 a{color:#fff}.auth-form-header .octicon{position:absolute;top:10px;right:20px;color:rgba(0,0,0,0.4);text-shadow:0 1px 0 rgba(255,255,255,0.1)}.auth-form-body{padding:20px;font-size:14px;background-color:#fff;border:1px solid #d8dee2;border-top:0;border-radius:0 0 3px 3px}.auth-form-body .input-block{margin-top:5px;margin-bottom:15px}.auth-form-body p{margin:0 0 10px}.two-factor-help{position:relative;padding:10px 10px 10px 36px;margin:60px 0 auto auto;border:1px solid #eaeaea;border-radius:3px}.two-factor-help .octicon{position:absolute;top:10px;left:10px}.two-factor-help .minibutton{float:right}.two-factor-help ul{list-style-type:none}.flash.sms-error,.flash.sms-success{display:none;margin:0 0 10px}.is-sent .sms-success{display:block}.is-sent .sms-error{display:none}.is-not-sent .sms-success{display:none}.is-not-sent .sms-error{display:block}.autocomplete-results{position:absolute;z-index:99;display:none;max-height:20em;overflow-y:auto;font-size:13px;list-style:none;background:#fff;border:1px solid #c1c1c1;border-radius:3px;box-shadow:0 0 5px rgba(0,0,0,0.3)}.autocomplete-group{width:100%;overflow:hidden}.autocomplete-item{display:block;padding:5px;overflow:hidden;font-weight:bold;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.autocomplete-item.navigation-focus{color:#fff;text-decoration:none;background-color:#4183c4}.autocomplete-item.selected{color:#fff;background-color:#4183c4}.autocomplete-item.selected .due_on,.autocomplete-item.selected .past_due,.autocomplete-item.selected .number{color:#fff}.autocomplete-item .secondary-label{font-weight:normal}.autocomplete-item .due_on,.autocomplete-item .past_due{display:block;font-weight:normal}.autocomplete-item .due_on{color:#666}.autocomplete-item .past_due{color:#984646}.autocomplete-item .state{display:block;float:left;width:13px;height:9px;margin-top:3px;margin-right:5px;border-radius:2px}.autocomplete-item .state.closed{background-color:#bd2c00}.autocomplete-item .state.open{background-color:#6cc644}.autocomplete-item .number{font-weight:bold;color:#999}.autocomplete-item .organization-member{float:right;padding-top:1px;color:#808080}.autocomplete-item.navigation-focus .organization-member,.autocomplete-item.navigation-focus .ldap-group-dn,.autocomplete-item.selected .organization-member,.autocomplete-item.selected .ldap-group-dn{color:#f2f2f2}.suggester-container{position:absolute;top:58px;left:10px;z-index:30}.comment-content .suggester-container{top:46px}.timeline-new-comment .suggester-container{top:52px}.is-comment-editing .suggester-container{top:49px}.merge-branch-form .suggester-container{top:39px}.wiki-wrapper .suggester-container{top:93px;left:-2px}.suggester{position:relative;top:0;left:0;display:none;min-width:180px;margin-top:20px;background:#fff;border:1px solid #ddd;border-radius:3px;box-shadow:0 0 5px rgba(0,0,0,0.1)}.suggester.active{display:block}.suggester ul{padding:0;margin:0;list-style:none}.suggester li{display:block;padding:5px 10px;font-weight:bold;border-bottom:1px solid #ddd}.suggester li small{font-weight:normal;color:#777}.suggester li:last-child{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.suggester li:first-child a{border-top-left-radius:3px;border-top-right-radius:3px}.suggester li.navigation-focus{color:#fff;text-decoration:none;background:#4183c4}.suggester li.navigation-focus small{color:#fff}.breadcrumb{margin:5px 0;font-size:18px;color:#999}.breadcrumb .separator:before,.breadcrumb .separator:after{content:" "}.breadcrumb strong.final-path{color:#000}.breadcrumb .abort{display:inline;font-size:14px}.breadcrumb .new-file-no-branch{color:#ccc}.breadcrumb .new-file-no-branch:hover{color:#4183c4}.breadcrumb .zeroclipboard-button{display:inline-block;margin-left:5px}.breadcrumb .repo-root{font-weight:bold}.file-box input.filename,.file-box .abort{position:relative;top:-1px}.file-box .gitignore-template,.file-box .license-template{float:right;font-size:14px;position:relative;top:3px;display:none}.file-box .gitignore-template.is-visible,.file-box .license-template.is-visible{display:inline}.file-box .license-info{color:#ccc;margin-left:5px}.file-box .select-menu-git-ignore,.file-box .select-menu-license-picker{right:0}.new-file-link{display:inline-block;color:#4183c4;cursor:pointer}.blob-interaction-bar{position:relative;background:#f2f2f2;border-bottom:1px solid #e5e5e5}.blob-interaction-bar:before{display:table;content:""}.blob-interaction-bar:after{display:table;clear:both;content:""}.blob-interaction-bar .octicon-search{position:absolute;top:10px;left:10px;color:#999;font-size:12px}input.blob-filter{padding:4px 20px 5px 30px;width:100%;font-size:12px;border:0;border-radius:0;outline:none}input.blob-filter:focus{outline:none}.markdown-body .csv-data td,.markdown-body .csv-data th{padding:5px;overflow:hidden;font-size:12px;line-height:1;text-align:left;white-space:nowrap}.markdown-body .csv-data .blob-line-num{padding:10px 8px 9px;text-align:right;background:#fff;border:0}.markdown-body .csv-data tr{border-top:0}.markdown-body .csv-data th{font-weight:bold;background:#f8f8f8;border-top:0}.too-long-message{display:none;color:#cea61b}.is-too-long-error .too-long-message{display:block}.check-for-fork{display:inline-block}.check-for-fork img{vertical-align:text-bottom}.check-for-fork.is-error .check-for-fork-loading{display:none}.check-for-fork.is-error .check-for-fork-error{display:inline-block}.check-for-fork-error{display:none}.file-commit-form{padding-left:64px}.file-commit-form .commit-form-avatar{float:left;margin-left:-64px;border-radius:4px}.file-commit-form .commit-form{position:relative;padding:15px;margin-bottom:10px;border:1px solid #ddd;border-radius:3px}.file-commit-form .commit-form:after,.file-commit-form .commit-form:before{position:absolute;top:11px;left:-16px;right:100%;width:0;height:0;display:block;content:" ";border-color:transparent;border-style:solid solid outset;pointer-events:none}.file-commit-form .commit-form:after{border-width:7px;border-right-color:#fff;margin-top:1px;margin-left:2px}.file-commit-form .commit-form:before{border-right-color:#ddd;border-width:8px}.file-commit-form .commit-message{min-height:100px}.file-commit-form-heading{margin-top:0;margin-bottom:10px}.quick-pull-choice .form-checkbox{padding-left:25px;margin:10px 0}.quick-pull-choice .form-checkbox label{font-weight:normal}.quick-pull-choice .form-checkbox .octicon{width:16px;margin-right:3px;text-align:center}.quick-pull-choice dl.form,.quick-pull-choice .form-checkbox:last-child{margin-bottom:0}.quick-pull-choice .quick-pull-branch-name{display:none;padding-left:48px;margin-top:5px}.quick-pull-choice .new-branch-name-input{position:relative;margin-top:5px}.quick-pull-choice .new-branch-name-input input{width:240px;padding-left:26px;font-family:Consolas, "Liberation Mono", Menlo, Courier, monospace}.quick-pull-choice .new-branch-name-input .quick-pull-new-branch-icon{position:absolute;top:9px;left:10px;color:#b0c4ce}.quick-pull-choice.will-normalize-ref .quick-pull-normalization-info{display:inline-block}.quick-pull-choice.will-create-branch .quick-pull-branch-name{display:inline-block}.quick-pull-normalization-info{position:absolute;top:34px;left:0;z-index:10;display:none;padding:5px;font-size:11px;color:#494620;background:#f7ea57;border:1px solid #c0b536;border-top-color:#fff;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.merge-pr{padding-top:10px;margin:20px 0 0;border-top:1px solid #ddd}.merge-pr.open .merge-branch-form{display:block}.merge-pr.open .branch-action{display:none}.branch-status{padding:10px 0 0;border:solid #eee;border-width:0 0 1px}.branch-status .octicon{width:16px;text-align:center}.branch-status .divider{color:#999}.branch-status.status-pending{color:#cea61b;border-color:#e2cc7a}.branch-status.status-success{color:#6cc644;border-color:#95c97e}.branch-status.status-error,.branch-status.status-failure{color:#bd2c00;border-color:#e97a74}.branch-status.open>.build-statuses-list{max-height:370px;border-width:1px 0}.branch-status.open .build-statuses-toggle-opened{display:inline}.branch-status.open .build-statuses-toggle-closed{display:none}.build-status-description{display:block;padding:0 15px 10px 12px}.build-status-single .css-truncate-target{width:80%;max-width:80%}.build-statuses-list{max-height:0;margin-bottom:-1px;overflow-y:auto;border:solid #eee;border-width:1px 0 0;-webkit-transition:max-height 0.25s ease-in-out;transition:max-height 0.25s ease-in-out}.build-statuses-toggle-opened{display:none}.build-status-item{padding:10px 15px 10px 12px;background-color:#fafafa;border-bottom:1px solid #eee}.build-status-item:last-child{border-bottom:0}.build-status-item .css-truncate-target{width:80%;max-width:80%}.build-status-icon{width:16px;color:inherit;text-align:center}.merge-pr-more-commits{margin-top:10px;margin-bottom:10px;margin-left:64px;font-size:12px;color:#777}.branch-action{padding-left:64px;margin-top:15px;margin-bottom:15px}.branch-action .merge-branch-heading{margin-bottom:2px}.branch-action .delete-branch-failure{display:none;padding:15px}.branch-action.error .delete-branch-failure{display:block}.branch-action.error .merge-message{display:none}.branch-action-icon{float:left;width:48px;height:48px;margin-left:-64px;line-height:48px;color:#fff;text-align:center;border-radius:3px}.branch-action-body{position:relative;background-color:#fff;border:1px solid #e5e5e5;border-radius:3px}.branch-action-body:after,.branch-action-body:before{position:absolute;top:11px;left:-16px;right:100%;width:0;height:0;display:block;content:" ";border-color:transparent;border-style:solid solid outset;pointer-events:none}.branch-action-body:after{border-width:7px;border-right-color:#fff;margin-top:1px;margin-left:2px}.branch-action-body:before{border-right-color:#ddd;border-width:8px}.branch-action-body .spinner{display:block;float:left;width:32px;height:32px;margin-right:15px;background:url(/assets/spinners/octocat-spinner-32-e513294efa576953719e4e2de888dd9cf929b7d62ed8d05f25e731d02452ab6c.gif) no-repeat}.branch-action-body .merge-message,.branch-action-body .merge-branch-form{padding:15px}.branch-action-state-clean .branch-action-icon{background-color:#6cc644}.branch-action-state-clean .branch-action-body,.branch-action-state-clean .branch-status{border-color:#95c97e}.branch-action-state-clean .branch-action-body:before{border-right-color:#95c97e}.branch-action-state-unknown .branch-action-icon,.branch-action-state-unstable .branch-action-icon{background-color:#cea61b}.branch-action-state-unknown .branch-action-body,.branch-action-state-unknown .branch-status,.branch-action-state-unstable .branch-action-body,.branch-action-state-unstable .branch-status{border-color:#e2cc7a}.branch-action-state-unknown .branch-action-body:before,.branch-action-state-unstable .branch-action-body:before{border-right-color:#e2cc7a}.branch-action-state-merged .branch-action-icon{background-color:#6e5494}.branch-action-state-merged .branch-action-body{border-color:#886ead}.branch-action-state-merged .branch-action-body:before{border-right-color:#886ead}.branch-action-tasks .branch-action-icon{background-color:#4183c4}.branch-action-tasks .branch-action-body{border-color:#689cd0}.branch-action-tasks .branch-action-body:before{border-right-color:#689cd0}.branch-action-state-dirty .branch-action-icon,.branch-action-state-closed-dirty .branch-action-icon{background-color:#888}.branch-action-state-dirty .branch-status,.branch-action-state-closed-dirty .branch-status{border-color:#eee}@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 2dppx){.branch-action-body .spinner{background-image:url(/assets/spinners/octocat-spinner-64-f4c980250033ceb8052bb542cf947750f8c73ebe69b0b0b66b415b4a40f8bd6e.gif);background-size:32px 32px}}.merge-branch-form{display:none;margin:15px 0}.merge-branch-form .commit-form{border-color:#95c97e}.merge-branch-form .commit-form:before{border-right-color:#95c97e}.merge-branch-form.error .commit-form{border-color:#e97a74}.merge-branch-form.error .commit-form:before{border-right-color:#e97a74}.merge-branch-form .merge-form-failed{display:none}.merge-branch-form.error .merge-form-failed{display:block}.merge-branch-form.error .merge-form-contents{display:none}.merge-button-matrix-merge-form .merge-branch-form{display:block}.merge-button-matrix-merge-form .merge-branch-form .merge-form-contents{display:block}.merge-button-matrix-merge-failed .merge-branch-form{display:block}.merge-button-matrix-merge-failed .merge-branch-form .merge-form-failed{display:block}.merge-button-matrix-merge-failed .merge-branch-form .merge-form-contents{display:none}.branch-action-tasks-list{margin-top:5px;padding-left:20px}.branch-action-tasks-description .review-tasks-toggle-opened{display:none}.branch-action-tasks-description .branch-action-tasks-list{display:none}.branch-action-tasks-description .review-tasks-description{margin-top:0;margin-bottom:0;color:#777}p.recently-touched-branches-description{margin:0;font-size:11px;color:#888}.recently-touched-branches{padding:0;margin:5px 0 10px;color:#4c4a42;background-color:#fff9ea;border:solid 1px #dfd8c2;border-radius:3px}.recently-touched-branches a.branch-link{font-weight:bold}.recently-touched-branches li{height:36px;padding:5px;margin:0;line-height:23px;list-style-type:none;border-bottom:1px solid #e5e2c8}.recently-touched-branches li:last-child{border-bottom:0}.recently-pushed-branch-actions{float:right}.recently-pushed-branch-details{display:inline-block;margin:0 0 0 7px;font-size:13px;line-height:26px;color:#a19e7f}.recently-pushed-branch-details a{color:#6b694f}.recently-pushed-branch-details .css-truncate-target{max-width:400px}.branch-name{display:inline-block;padding:2px 6px;font:12px Consolas, "Liberation Mono", Menlo, Courier, monospace;color:rgba(0,0,0,0.5);background-color:rgba(209,227,237,0.5);border-radius:3px}.branch-name .octicon{margin:1px -2px 0 0;color:#b0c4ce}a.branch-name{color:#4183c4}.range-editor{position:relative;margin-bottom:10px}.is-collapsed .range-editor.for-expanded{display:none}.is-expanded .range-editor.for-collapsed{display:none}.range-editor span.flag{position:relative;display:block;float:left;padding:12px 13px;background-color:#fafafa;border:1px solid #eee;border-right-width:0;border-bottom-width:2px;border-radius:3px 0 0 3px}.range-editor span.flag .octicon{display:block;color:#666}.range-editor .range{position:relative;min-height:43px;padding:7px 10px 0;margin-left:41px;background-color:#fafafa;border:1px solid #eee;border-bottom-width:2px;border-radius:0 3px 3px 0}.range-editor .range p{margin:0 0 8px;font-size:12px;color:#999}.range-editor .range .dots{margin:0 4px;font-size:16px;color:#999}.range-editor .range .range-action{float:right}.range-editor .range .range-action.octicon{padding-left:20px;margin:6px 3px 0 0;color:#999;cursor:pointer}.range-editor .range .range-action.octicon:hover{color:#bd2c00}.range-editor .range .select-menu{position:relative;display:inline-block}.range-editor .range .select-menu.fork-suggester{display:none}.range-editor .range .branch-name{margin-bottom:7px;line-height:22px}.is-cross-repo .range-editor .range .select-menu.fork-suggester{display:inline-block}.is-cross-repo .range-editor .range .cross-repo-text{display:none}.range-editor .range .branch .css-truncate-target,.range-editor .range .fork-suggester .css-truncate-target{max-width:180px}.range-editor.for-collapsed .range{border-bottom-left-radius:0}.range-cross-repo-pair{display:inline-block;padding-bottom:7px;white-space:nowrap}ul.comparison-list{width:350px;margin:25px auto 15px;font-size:14px;text-align:left;background:#fff;border:1px solid #ddd;border-radius:3px}ul.comparison-list>li{padding:7px 10px;list-style-type:none;border-top:1px solid #eee}ul.comparison-list>li a{font-weight:bold}ul.comparison-list>li em{float:right;font-style:normal;color:#999}ul.comparison-list>li .octicon{position:relative;top:1px;color:#aaa}ul.comparison-list>li .css-truncate-target{max-width:200px}ul.comparison-list>li.title{font-size:12px;font-weight:bold;color:#aaa;text-transform:uppercase;background:#fafafa;border-top:0;border-top-left-radius:3px;border-top-right-radius:3px}.recently-touched-branches-wrapper{margin:15px 0}.starring-container .unstarred,.starring-container.on .starred{display:block}.starring-container.on .unstarred,.starring-container .starred{display:none}.starring-container.loading{opacity:0.5}.user-following-container .follow,.user-following-container.on .unfollow{display:inline-block}.user-following-container.on .follow,.user-following-container .unfollow{display:none}.user-following-container.loading{opacity:0.5}.members .user-following-container{float:right}.code-list .file-box{border:1px solid #ddd;border-radius:3px}.code-list em{background-color:rgba(255,255,140,0.5);padding:3px;border-radius:3px;font-weight:bold;font-style:normal;color:#333}.code-list .title{margin:-3px 0 10px 38px;min-height:24px;font-weight:bold;line-height:1.2}.code-list .repo-specific .title,.code-list .repo-specific .full-path{margin-left:0}.code-list .updated-at{margin:0;font-size:11px;color:#999;font-weight:normal}.code-list .language{float:right;color:rgba(51,51,51,0.75);font-size:12px;margin-left:10px}.code-list .avatar{float:left}.code-list .code-list-item+.code-list-item{margin-top:20px;padding-top:20px;border-top:1px solid #eee;margin-bottom:10px}.code-list .blob-num{padding:0}.code-list .blob-num:before{content:normal}.code-list .blob-num a{color:inherit;padding:0 10px}.code-list .blob-num a:hover{color:#4183c4}.code-list .blob-code{white-space:pre-wrap}.code-list .divider .blob-num,.code-list .divider .blob-code{background-color:#f8fafd;padding-top:0;padding-bottom:0;cursor:default}.code-list .divider .blob-num{background-color:#f0f5fa;line-height:15px;padding:0 10px;height:18px}.code-list .full-path{margin:0 0 0 40px}.code-list .full-path .octicon-repo{color:#666}.code-list .full-path .octicon-lock{color:#e9dba4}.code-list .full-path a{color:#999}.code-list-item-private .file-box{border:1px solid #fadda5}.code-list-item-private .blob-num{background-color:#fff9ea;border-right:1px solid #fadda5}.code-list-item-private .blob-num a{color:#a1882b}.code-list-item-private .divider .blob-num,.code-list-item-private .divider .blob-code{background-color:#fff9ea;color:#a1882b}.codesearch-head{padding-bottom:20px}.codesearch-head.pagehead h1{float:left;width:250px;line-height:33px}.advanced-search-form h3{margin-top:20px}.advanced-search-form .flattened dt{width:230px}.advanced-search-form .flattened dt label{font-weight:normal}.advanced-search-form .flattened dd{margin-left:250px}.advanced-search-form .form-checkbox{margin-left:250px}.advanced-search-form fieldset{border-bottom:1px solid #f1f1f1;padding-bottom:20px;margin-bottom:30px}.codesearch-results .large-format-loader{padding-top:5%}.codesearch-results .repo-list{margin-top:-20px}.codesearch-results .repo-list-name{font-weight:normal}.codesearch-results .repo-list-name a,.codesearch-results .code-list .title a{word-wrap:break-word}.codesearch-results .repo-list-name em,.codesearch-results .repo-list-description em{padding:3px;font-style:normal;font-weight:bold;background-color:rgba(255,255,140,0.5);border-radius:3px}.codesearch-results .search-foot-note{color:#999;text-align:center}.meta-search-links{margin-top:20px}.meta-search-links a{margin-right:10px}.codesearch-aside .menu .octicon{width:16px;text-align:center;margin-right:5px}.codesearch-aside .meta-search-links{margin-top:20px}.codesearch-aside .meta-search-links a{margin-right:10px}.codesearch-aside .filter-list{border-bottom:1px solid #f1f1f1;margin-bottom:20px;padding-bottom:20px}.codesearch-aside .filter-list li{position:relative}.codesearch-aside .filter-list li span.bar{background:#f1f1f1;display:inline-block;position:absolute;z-index:-1;top:2px;bottom:2px;right:0}.simple-search-page{width:740px;padding-top:100px;padding-bottom:100px}.simple-search-page h2{font-weight:normal}.simple-search-page h2 .mega-octicon{vertical-align:middle}.search-form-fluid{position:relative}.search-form-fluid .flex-table-item-primary{padding-right:10px}.search-form-fluid .completed-query{position:absolute;top:7px;left:8px;right:8px;z-index:1;margin:0;overflow:hidden;white-space:nowrap}.search-form-fluid .completed-query span{opacity:0}.search-form-fluid .search-page-label{position:relative;display:block;font-weight:normal;cursor:text}.search-form-fluid .search-page-label.focus .completed-query{opacity:0.6}.search-form-fluid .search-page-input{position:relative;z-index:2;min-height:0;margin:0;padding:0;background:none;border:0;box-shadow:none}.search-form-fluid .search-page-input:focus{box-shadow:none}.token-warning{position:absolute;top:10px;right:85px;z-index:100;color:#000}.sort-bar{border-bottom:1px solid #f1f1f1;margin-bottom:20px;padding-bottom:20px}.sort-bar .sort-label{padding-right:5px;font-weight:200;font-size:13px;color:#666}.sort-bar .select-menu{float:right}.sort-bar h3{margin:0}.sort-bar .sort-form{float:right}.sort-bar .sort-link{font-weight:bold;color:#8a8a8a;text-decoration:none;margin-top:4px}.sort-form .sort-icon{border:5px solid #8a8a8a;height:0;width:0;display:inline-block;margin-left:5px}.sort-form .sort-desc .sort-icon{border-color:#8a8a8a transparent transparent;border-width:5px 4px 2px}.sort-form .sort-asc .sort-icon{border-color:transparent transparent #8a8a8a;border-width:2px 4px 5px}.file-editor-textarea{width:100%;padding:5px 4px;font:12px Consolas, "Liberation Mono", Menlo, Courier, monospace;resize:vertical;border:0;border-radius:0;outline:none}.container-preview .tabnav-tabs{margin:-6px 0 0 -11px}.container-preview .tabnav-tabs .tabnav-tab{padding:12px 15px;border-radius:0}.container-preview .tabnav-tabs>li:first-child .selected{border-top-left-radius:3px}.container-preview .tabnav-tabs .selected{font-weight:bold}.container-preview.show-code .commit-create,.container-preview.show-code .actions{display:block}.container-preview.show-code .commit-preview,.container-preview.show-code .loading-preview-msg,.container-preview.show-code .no-changes-preview-msg,.container-preview.show-code .error-preview-msg{display:none}.container-preview:not(.show-code) .commit-create,.container-preview:not(.show-code) .actions{display:none}.container-preview.loading-preview .loading-preview-msg{display:block}.container-preview.loading-preview .no-changes-preview-msg,.container-preview.loading-preview .error-preview-msg,.container-preview.loading-preview .commit-preview{display:none}.container-preview.show-preview .commit-preview{display:block}.container-preview.show-preview .loading-preview-msg,.container-preview.show-preview .no-changes-preview-msg,.container-preview.show-preview .error-preview-msg{display:none}.container-preview.no-changes-preview .no-changes-preview-msg{display:block}.container-preview.no-changes-preview .loading-preview-msg,.container-preview.no-changes-preview .error-preview-msg,.container-preview.no-changes-preview .commit-preview{display:none}.container-preview.error-preview .error-preview-msg{display:block}.container-preview.error-preview .loading-preview-msg,.container-preview.error-preview .no-changes-preview-msg,.container-preview.error-preview .commit-preview{display:none}.container-preview p.preview-msg{padding:30px;font-size:16px}.ace_editor.ace-github-light{position:relative;font-family:Consolas, "Liberation Mono", Menlo, Courier, monospace;font-size:12px;line-height:18px}.ace_editor.ace-github-light .ace_scroller.ace_scroll-left{box-shadow:none}.ace_gutter{border-right:1px solid #eee}.ace_gutter-layer{min-width:50px}.ace_nobold .ace_line>span{font-weight:normal !important}.ace_marker-layer .ace_step{background-color:#fcff00}.ace_marker-layer .ace_stack{background-color:#a4e565}.ace_marker-layer .ace_selected-word{background-color:#fafaff}.ace_indent-guide{box-shadow:inset -1px 0 0 rgba(0,0,0,0.1)}.details-collapse .collapse{position:relative;display:none;height:0;overflow:hidden;-webkit-transition:height 0.35s ease-in-out;transition:height 0.35s ease-in-out}.details-collapse.open .collapse{display:block;height:auto;overflow:visible}.comment.is-comment-editing .edit-comment-hide{display:none}.comment.is-comment-editing .form-content{display:block}.comment.is-comment-loading .context-loader{display:block}.comment.is-comment-loading .form-content{opacity:0.5}.comment.is-comment-stale .comment-form-stale{display:block}.comment.is-comment-stale .comment-content{padding-top:10px}.comment.is-comment-stale .form-content{opacity:0.75}.comment .email-format{line-height:1.5}.comment .context-loader{display:none}.comment-resolve-form{padding-top:10px;margin:0 15px 15px;color:#777;border-top:1px solid #eee}.comment-resolve-form.loading{opacity:0.6}.comment-resolve-label{font-weight:normal;color:#555}.comment-body{width:100%;padding:15px;overflow:visible;font-size:14px}.comment-body .highlight{overflow:visible !important;background-color:transparent}.form-actions:before{display:table;content:""}.form-actions:after{display:table;clear:both;content:""}.form-actions .button,.form-actions .minibutton{float:right;margin-left:5px}.form-actions .left .button,.form-actions .left .minibutton{margin-left:0}.form-content{display:none;padding:10px}.form-content .form-actions{margin-top:10px}.comment-form-textarea{width:100%;max-width:100%;height:100px;min-height:100px;margin:0;font-size:14px;line-height:1.6;-webkit-transform:translateZ(0)}.comment-form-textarea.dragover{border:solid 1px #4183c4}.discussion-topic-header{position:relative;padding:10px;word-wrap:break-word}.discussion-hidden{opacity:0.75}.comment-form-error,.comment-form-stale{display:none;padding:5px 10px;margin:0 10px;font-weight:bold;color:#900;background-color:#ffeaea;border:1px solid #e2a0a0}.comment-form-error.comment-form-bottom,.comment-form-stale.comment-form-bottom{margin-bottom:10px}.comment-form-stale{margin-top:0}.email-format{line-height:1.5em !important}.email-format div{white-space:pre-wrap}.email-format .email-hidden-reply{display:none;white-space:pre-wrap}.email-format .email-quoted-reply,.email-format .email-signature-reply{padding:0 15px;margin:15px 0;color:#777;border-left:4px solid #ddd}.email-format .email-hidden-toggle a{display:inline-block;height:12px;padding:0 9px;font-size:12px;font-weight:bold;line-height:6px;color:#555;text-decoration:none;vertical-align:middle;background:#ddd;border-radius:1px}.email-format .email-hidden-toggle a:hover{background-color:#ccc}.email-format .email-hidden-toggle a:active{color:#fff;background-color:#4183c4}.comment-email-format div{white-space:normal}.comment-email-format .email-hidden-reply{display:none;white-space:normal}.comment-email-format blockquote,.comment-email-format p{margin:0}.blankslate.conversation-limited{padding:20px 0 10px;margin:15px}.locked-conversation .write-tab,.locked-conversation .preview-tab{color:#ccc}.commit-sha{padding:0.2em 0.4em;font-size:90%;font-weight:normal;background-color:#f5f5f5;border:1px solid #eee;border-radius:0.2em}.commit-partial-notice{margin-top:20px;margin-bottom:20px}.commit-paginate-container{float:right;margin:-5px 0 0;text-align:inherit}.commit .commit-title,.commit .commit-title a{color:#4e575b}.commit .commit-title.blank,.commit .commit-title.blank a{color:#9cabb1}.commit .commit-title .issue-link{font-weight:bold;color:#4183c4}.commit .sha-block,.commit .sha{font-family:Consolas, "Liberation Mono", Menlo, Courier, monospace;font-size:12px}.commit.open .commit-desc{display:block}.commit-link{font-weight:normal;color:#4183c4}.commit-email-flash{display:inline}.commit-desc{display:none}.commit-desc pre{max-width:700px;margin:10px 0;font-family:Consolas, "Liberation Mono", Menlo, Courier, monospace;font-size:13px;line-height:1.45;color:#596063;white-space:pre-wrap}.commit-desc+.commit-branches{padding-top:8px;margin-top:2px;border-top:solid 1px #d1e2eb}.commit-tease{padding:8px 8px 0;background:#e6f1f6;border:1px solid #b7c7cf;border-bottom-color:#d8e6ec;border-top-left-radius:3px;border-top-right-radius:3px}.commit-tease p.commit-title{margin:0 0 6px}.commit-tease .commit-desc{margin:-3px 0 10px}.commit-tease .commit-desc pre{font-size:11px}.commit-tease .commit-meta{padding:8px;margin-right:-8px;margin-left:-8px;background:#fff;border-top:1px solid #d8e6ec}.commit-tease .commit-meta .loader-loading{margin:0 0 -9px}.commit-tease .zeroclipboard-link{float:right;margin-top:-2px;margin-left:5px}.commit-tease .sha-block{float:right;color:#888}.commit-tease .sha-block>.sha{color:#444}.commit-tease .sha-block>a{color:#444;text-decoration:none}.commit-tease .authorship{margin:-2px 0 -4px -4px;font-size:12px;color:#999}.commit-tease .authorship a{font-weight:bold;color:#444;text-decoration:none}.commit-tease .authorship a:hover{text-decoration:underline}.commit-tease .authorship .avatar{margin:-2px 3px 0 0}.commit-tease .authorship .author-name{color:#444}.commit-tease .authorship .committer{display:block;margin-left:30px;font-size:11px}.comment-count{float:right;margin-top:1px;font-size:11px;color:#7f9199}.comment-count .octicon{margin-left:5px;vertical-align:middle}.commits-listing{position:relative;padding-bottom:20px;margin-bottom:15px}.commits-listing:before{position:absolute;top:0;bottom:0;left:14px;z-index:-1;display:block;width:2px;content:"";background-color:#f3f3f3}.commits-listing .discussion-item-icon{margin-right:5px;margin-left:-1px}.commits-listing .timeline-commits{padding-left:8px;margin-bottom:20px}.commits-listing .timeline-commits:last-child{margin-bottom:0}.commits-listing-padded{padding-left:39px}.commit-group{margin-top:10px;list-style-type:none}.commit-group-title{margin-top:15px;margin-left:-31px;color:#777}.commit-group-title .octicon-git-commit{margin-right:17px;color:#ccc;background:#fff}.commits-list-item.navigation-focus{background:#f7fbfc}.commits-list-item .commit-title{margin:0;font-size:15px;font-weight:bold;color:#333}.commits-list-item .commit-meta{margin-top:1px;font-weight:normal;color:#999}.commits-list-item .deployment-indicator{color:#bbb}.commits-list-item .status .octicon{height:14px;line-height:14px}.commits-list-item .commit-author{color:#777}.commits-list-item .octicon-arrow-right{margin:0 3px}.commits-list-item .button-outline{padding:5px 8px;margin-top:4px}.commits-list-item .octicon-clippy,.commits-list-item .octicon-code{display:block}.commits-list-item .commit-desc pre{padding-left:8px;margin-top:5px;margin-bottom:10px;font-size:12px;color:#596063;border-left:1px solid #e5e5e5}.commits-list-item .commit-desc pre a{word-break:break-word}.commits-comments-link{margin-top:9px;color:#999;vertical-align:middle}.commits-comments-link:hover{color:#4183c4;text-decoration:none}.commit-avatar-cell{width:47px}.commit-avatar-cell.table-list-cell{padding-right:0}.commit-indicator{margin-left:5px}.commit-links-cell{width:230px;text-align:right}.commit-links-group{margin-right:5px}.timeline-commits{width:100%;margin-top:5px;border-collapse:separate}.timeline-commits+.timeline-commits{margin-top:15px}.timeline-commits td{padding-top:4px;padding-right:8px;padding-bottom:4px;font-size:12px;line-height:16px;vertical-align:top;background-color:transparent}.discussion-item .timeline-commits .commit-author{display:none}.timeline-commits .commit-gravatar{width:16px;padding-left:10px}.timeline-commits .commit-author{width:200px;padding-right:20px;white-space:nowrap}.timeline-commits .author{font-weight:bold;color:#555}.timeline-commits .commit-message{min-height:0}.timeline-commits .commit-message a{color:#555}.timeline-commits .commit-message a:hover{color:#4183c4}.timeline-commits .commit-desc pre{padding-left:10px;font-size:11px;color:#777;border-left:1px solid #eee}.timeline-commits .commit-desc pre a{word-break:break-word}.timeline-commits .hidden-text-expander{margin-top:3px;margin-left:0;vertical-align:top}.timeline-commits .hidden-text-expander a{height:13px;background-color:#eee}.timeline-commits .hidden-text-expander a:hover{color:#fff;background-color:#4183c4}.timeline-commits .commit-meta{text-align:right;white-space:nowrap}.timeline-commits .commit-meta .status{width:16px;text-align:center}.timeline-commits .commit-meta .status.status-pending{color:#cea61b}.timeline-commits .commit-meta .octicon{margin-right:1px;margin-left:1px}.commit-icon{display:table-cell;width:16px;color:#ccc}.commit-icon .octicon{background-color:#fff}.commit-id{color:#bbb}.commit-id:hover{color:#4183c4}.full-commit{padding:8px 8px 0;margin:10px 0;background:#e6f1f6;border:1px solid #c5d5dd;border-radius:3px}.full-commit:first-child{margin-top:0}.full-commit .button-outline{background:none;border:1px solid #cedee5}.full-commit .button-outline:hover{color:#4183c4;border:1px solid #4183c4}.full-commit p.commit-title{margin:0 0 8px;font-size:18px;font-weight:bold;color:#213f4d;text-shadow:0 1px rgba(255,255,255,0.5)}.full-commit .branches-list{display:inline-block;margin-right:10px;vertical-align:middle;list-style:none}.full-commit .branches-list li{display:inline-block;padding-left:3px;font-weight:bold;color:#596063}.full-commit .branches-list li:before{padding-right:6px;font-weight:normal;content:"+"}.full-commit .branches-list li:first-child{padding-left:0}.full-commit .branches-list li:first-child:before{padding-right:0;content:""}.full-commit .branches-list li.loading{font-weight:normal;color:#818c90}.full-commit .branches-list li.pull-request{font-weight:normal;color:#818c90}.full-commit .branches-list li.pull-request:before{margin-left:-8px;content:""}.full-commit .branches-list li.pull-request-error{margin-bottom:-1px}.full-commit .branches-list li a{color:inherit}.full-commit .commit-meta{padding:8px;margin-right:-8px;margin-left:-8px;background:#fff;border-top:1px solid #d8e6ec;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.full-commit .sha-block{float:right;margin-left:15px;font-size:12px;color:#888}.full-commit.merge-commit .sha-block{clear:right}.full-commit.merge-commit .sha-block+.sha-block{margin-top:2px}.full-commit .sha-block>.sha{color:#444}.full-commit .sha-block>a{color:#444;text-decoration:none;border-bottom:1px dotted #ccc}.full-commit .sha-block>a:hover{border-bottom:1px solid #444}.full-commit .authorship{margin-top:-2px;margin-bottom:-4px;margin-left:-4px;font-size:14px;color:#999}.full-commit .authorship .gravatar{margin-top:-2px;margin-right:3px;vertical-align:middle;border-radius:3px}.full-commit .authorship a{font-weight:bold;color:#444;text-decoration:none}.full-commit .authorship a:hover{text-decoration:underline}.full-commit .authorship .author-name{color:#444}.full-commit .authorship .hint a{color:#4183c4}.full-commit .authorship .committer{display:block;margin-top:-2px;margin-left:34px;font-size:12px}.branches-tag-list{display:inline-block;margin-right:10px;vertical-align:middle;list-style:none}.branches-tag-list .more-commit-details,.branches-tag-list.open .hidden-text-expander{display:none}.branches-tag-list.open .more-commit-details{display:inline-block}.branches-tag-list li{display:inline-block;padding-left:3px}.branches-tag-list li:first-child{padding-left:0;font-weight:bold;color:#596063}.branches-tag-list li.loading{font-weight:normal;color:#818c90}.branches-tag-list li.abbrev-tags{cursor:pointer}.branches-tag-list li a{color:inherit}.branches-tag-list li .hidden-text-expander a{background-color:#dae5eb}.branches-tag-list li .hidden-text-expander a:hover{background-color:#d1dbe0}.commit-branches{min-height:18px;margin-top:-6px;margin-bottom:8px;font-size:12px;color:#818c90;vertical-align:middle}.commit-branches .octicon{vertical-align:middle}.full-commit .commit-desc,.commit-desc-container .commit-desc{display:block;margin:-5px 0 10px}.full-commit .commit-desc pre,.commit-desc-container .commit-desc pre{max-width:100%;overflow:visible;text-shadow:0 1px rgba(255,255,255,0.5);word-wrap:break-word}.commit-loader .loader-error{display:none;margin:0;font-size:12px;font-weight:bold;color:#bd2c00}.commit-loader.error .loader-loading{display:none}.commit-loader.error .loader-error{display:block}.historical-banner{padding:15px 20px 15px 130px;margin-bottom:20px;overflow:hidden;color:#333;background:#fff;border:1px solid #e5e5e5;border-radius:5px}.historical-banner h2{margin:0 0 5px}.historical-banner p{margin:0}.historical-banner .illustration{position:absolute;top:12px;left:20px;color:rgba(0,0,0,0.1)}.roses-divider{margin-bottom:20px;text-align:center}.file-history-tease{margin-bottom:10px;font-size:14px;color:#7b878c;background:#e7ecee;border:1px solid #d2d9dd;border-radius:3px}.file-history-tease .author a{font-weight:bold;color:#000}.file-history-tease .commit-title{display:inline}.file-history-tease .sha{font-size:13px}.file-history-tease .loader-loading,.file-history-tease .loader-error{margin:0}.file-history-tease .loader-loading img,.file-history-tease .loader-error img{vertical-align:middle}.file-history-tease .participation{padding:5px 8px;font-size:12px;font-weight:normal;line-height:20px;color:#666;background-color:#fff;border-top:1px solid #d8e6ec;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.file-history-tease .participation:before{display:table;content:""}.file-history-tease .participation:after{display:table;clear:both;content:""}.file-history-tease .participation .quickstat{float:left;margin:0 10px 0 0}.file-history-tease .participation .quickstat strong{color:#000}.file-history-tease .participation a{color:#888;text-decoration:none}.file-history-tease .participation .avatar-link{margin-right:3px}.file-history-tease-header{padding:5px 8px;line-height:24px}.file-history-tease-header .avatar{float:left;margin-right:5px}.toggle-line-notes-below{color:#777}.commit-comments-heading h3{display:inline-block;margin-right:15px}.commit-build-statuses{position:relative;display:inline-block;text-align:left}.commit-build-statuses.active .dropdown-menu-content{display:block}.commit-build-statuses.active .tooltipped:before,.commit-build-statuses.active .tooltipped:after{display:none}.commit-build-statuses .dropdown-menu{min-width:400px;max-width:500px;padding-top:0;padding-bottom:0}.commit-build-statuses .dropdown-menu .build-statuses-list{max-height:170px;border-bottom:0}.commit-build-statuses .dropdown-menu-w,.commit-build-statuses .dropdown-menu-e{top:-11px}.commit-build-statuses .build-status-description .button-link{display:none}.commit-build-statuses .build-status-item:last-child{border-radius:0 0 2px 2px}.commit-ref{position:relative;display:inline-block;padding:0 5px;border-radius:3px;font:0.75em/2 Consolas, "Liberation Mono", Menlo, Courier, monospace;color:#336479;white-space:nowrap;background-color:#e8f0f8}.commit-ref .user{color:#598a9f}a.commit-ref:hover{text-shadow:-1px -1px 0 rgba(0,0,0,0.2);background-color:#2a5177;background-image:-webkit-linear-gradient(#74a4d4, #2a5177);background-image:linear-gradient(#74a4d4, #2a5177);background-repeat:repeat-x;border-color:#2a5177;text-decoration:none}.compare-cutoff,.diff-cutoff{margin:5px 0;padding:8px 0;font-weight:bold;text-align:center;border-radius:3px;color:#4c4a42;background-color:#fff9ea;border:solid 1px #dfd8c2}.table-of-contents{margin:15px 0}.table-of-contents .diffstat{float:right}.table-of-contents li{padding:5px 0;list-style-type:none}.table-of-contents li+li{border-top:1px solid #eee}.table-of-contents .content{font:12px Consolas, "Liberation Mono", Menlo, Courier, monospace;clear:both}.table-of-contents .octicon-diff-removed{color:#bd2c00}.table-of-contents .octicon-diff-renamed{color:#677a85}.table-of-contents .octicon-diff-modified{color:#d0b44c}.table-of-contents .octicon-diff-added{color:#6cc644}.toc-diff-stats{padding-left:20px;line-height:26px}.toc-diff-stats .octicon{float:left;margin-top:3px;margin-left:-20px;color:#ccc}.toc-diff-stats .button-link{font-weight:bold}.toc-diff-stats+.content{padding-top:5px}span.diffstat{white-space:nowrap;text-align:right;font-family:Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";color:#666;font-weight:bold;font-size:11px;cursor:default}span.diffstat a{text-decoration:none;color:#666}span.diffstat .diffstat-bar{margin-left:3px;display:inline-block;width:45px;height:12px;text-decoration:none;text-align:left;color:#eee;font:normal normal 16px/1 "octicons";display:inline-block;text-decoration:none;-webkit-font-smoothing:antialiased;font-size:16px;letter-spacing:1px}span.diffstat .diffstat-bar.diff-deleted,span.diffstat .diffstat-bar i.minus{color:#bd2c00;font-style:normal}span.diffstat .diffstat-bar.diff-added,span.diffstat .diffstat-bar i.plus{color:#6cc644;font-style:normal}span.diffstat .lines-added,span.diffstat .lines-deleted{display:inline-block;margin-left:3px;font-weight:bold}span.diffstat .lines-added .diffstat-icon,span.diffstat .lines-deleted .diffstat-icon{vertical-align:1px}span.diffstat .lines-added{color:#55a532}span.diffstat .lines-deleted{color:#bd2c00}span.no-nl-marker{position:relative;top:1px;color:#bd2c00;margin-left:4px;vertical-align:middle}.symlink .no-nl-marker{display:none}.existing-pull{margin:10px 0}.existing-pull .list-group-item:before{display:table;content:""}.existing-pull .list-group-item:after{display:table;clear:both;content:""}.existing-pull .existing-pull-contents{float:left;width:680px}.existing-pull .existing-pull-button{float:right;margin-top:3px}.existing-pull .existing-pull-number{font-weight:normal;color:#aaa}.existing-pull .css-truncate{max-width:700px}.existing-pull .css-truncate p{display:inline}.compare-pr-placeholder{margin:10px 0;padding:15px;font-size:14px;color:#4c4a42;background-color:#fff9ea;border:solid 1px #dfd8c2;border-radius:3px}.compare-pr-placeholder p{margin:7px 0;color:#6d6c60}.compare-pr-placeholder .button{margin-right:10px;margin-bottom:-2px}.compare-pr-placeholder .button .octicon{vertical-align:-1px}.compare-pr-placeholder .help-link{margin-top:5px;margin-right:-3px;padding:3px;color:#9c997d;text-decoration:none}.compare-pr .pull-request-composer{display:none}.compare-pr .contributing{display:none}.compare-pr.open .compare-pr-placeholder{display:none}.compare-pr.open .pull-request-composer{display:block}.compare-pr.open .contributing{display:block}.contributing{padding:15px;margin:15px 0;font-size:14px;color:#4c4a42;background-color:#fff9ea;border:1px solid #dfd8c2;border-radius:3px}.pull-request-composer{position:relative;margin-bottom:15px;border:1px solid #ddd;border-radius:3px}.pull-request-composer .preview-content{min-height:120px}.discussion-topic{float:left;width:80%;border-right:1px solid #ddd}.composer-meta{float:left;width:20%;padding-right:10px;padding-left:10px;text-align:center}.composer-meta .branch-action-icon{display:inline-block;float:none;margin:15px 0}.composer-meta .merge-branch-heading{font-size:14px}.composer-meta .merge-branch-description{margin:10px 0;font-size:12px}.composer-meta .branch-action-state-clean .merge-branch-heading{color:#6cc644}.composer-submit{position:absolute;right:1%;bottom:10px;width:18%}#contact-github textarea{height:100px;resize:vertical}.heartocat{display:block;margin:50px auto 0}.documentation-results-wrapper{position:relative;top:-19px}.documentation-results{position:absolute;top:0;z-index:2;width:400px;margin-top:5px;clear:both;box-shadow:0 0 5px rgba(0,0,0,0.2)}.documentation-results ul{width:100%}.documentation-results ul li:first-child a{border-top-left-radius:3px;border-top-right-radius:3px}.documentation-results .documentation-results-footer a{border-bottom-left-radius:3px;border-bottom-right-radius:3px}.documentation-results a{outline:none;padding:5px 10px;display:block;color:#333;font-weight:bold;cursor:pointer;text-decoration:none;border:solid #ddd;border-width:0 1px 1px;background-color:#fff}.documentation-results a:hover{background-color:#3586c3;color:#fff}.documentation-results a.selected{background-color:#3586c3;color:#fff}ul.documentation-results-group{list-style-type:none}.contact-form-extras{display:none}.context-loader-container .context-loader{display:none}.context-loader-container .context-loader.is-context-loading{display:block;white-space:nowrap}.context-loader-container .context-loader-overlay{opacity:1;-webkit-transition:opacity 0.25s ease-in-out;transition:opacity 0.25s ease-in-out}.context-loader-container .context-loader-overlay.is-context-loading{opacity:0.5}.page-context-loader{margin-left:10px;display:none}.page-context-loader.is-context-loading{display:inline-block}body.disables-context-loader .page-context-loader,body.disables-context-loader .context-loader{display:none !important}.contributions-tab{margin-top:20px}.calendar-graph{padding:5px 0 0;height:126px;text-align:center}.calendar-graph.days-selected rect.day{opacity:0.5}.calendar-graph.days-selected rect.day.active{opacity:1}.calendar-graph .activity{margin-top:0}.calendar-graph .dots{margin:20px auto 0;width:64px;height:64px}.calendar-graph text.month{font-size:10px;fill:#aaa}.calendar-graph text.wday{fill:#ccc;font-size:9px}#contributions-calendar rect.day{shape-rendering:crispedges}#contributions-calendar rect.day.empty:hover{stroke:none}#contributions-calendar rect.day:hover{stroke:#555;stroke-width:1px}.contrib-column{padding:15px 0;text-align:center;border-left:1px solid #ddd;border-top:1px solid #ddd;font-size:11px}.contrib-column-first{border-left:0}.contrib-number{font-weight:300;line-height:1.3em;font-size:24px;display:block;color:#333}.contrib-footer{font-size:11px;padding:0 10px 12px}.contrib-legend{font-size:11px;color:#999;float:right}.contrib-legend .legend{display:inline-block;list-style:none;margin:0 5px;position:relative;bottom:-1px}.contrib-legend .legend li{display:inline-block;width:10px;height:10px}.new-user-contrib-intro{border-top:solid 1px #ddd;padding:5px 20px;font-size:16px}.contrib-square{color:#d6e685;font-size:22px;line-height:1}.contribution-activity h2{font-size:18px;font-weight:normal;margin:30px 0 15px}.contribution-activity .select-menu-button{position:relative;top:-4px}.contribution-activity.loading .contribution-activity-listing{display:none}.contribution-activity.loading .contribution-activity-spinner{display:block}.contribution-activity-spinner{margin:20px auto 0;width:64px;height:64px;display:none}ul.simple-conversation-list a.meta{color:#777}li.contribution{list-style:none;padding:10px 0}li.contribution:last-child{border-bottom:0}li.contribution h3{font-size:14px;display:inline-block;margin:0}li.contribution h3 a{color:#4183c4}li.contribution .cmeta{display:block;font-size:12px;color:#aaa;font-weight:normal}li.contribution .cmeta a{color:#666}li.contribution .cmt{color:#999}li.contribution .d{color:#c00}li.contribution .a{color:#8cac29}li.contribution .num{color:#777}.subscribe-feed{display:inline-block;color:#333}.subscribe-feed .octicon{margin-right:5px}.new-user-panel{position:relative;padding:18px;margin-bottom:30px;font-size:16px;border:dashed 2px #ccc;border-radius:3px}.new-user-panel-close{position:absolute;top:10px;right:18px;color:#ccc}.new-user-panel-close:hover{color:#666}.new-user-intro{margin:0 120px;font-size:36px;font-weight:normal;line-height:1.3;text-align:center}.new-user-heading-small{margin:5px 170px 20px;font-size:20px;color:#888;text-align:center}.button-hello-world{font-size:16px;padding:10px 50px}.welcome-guides{position:relative;padding:30px;margin-bottom:30px;border:2px dashed #ddd;border-radius:3px}.welcome-guides h1{margin-top:0;margin-bottom:0;text-align:center}.welcome-guides .lead{margin-top:0;margin-bottom:20px;text-align:center}.welcome-guides .guides-list-item{color:#777}.welcome-guides .guides-list-item:hover{color:#4183c4;text-decoration:none}.welcome-guides .guides-list-item p{margin-bottom:0}.welcome-guides .dismiss-guides{position:absolute;top:30px;right:28px;display:block;padding-left:5px;color:#ccc}.welcome-guides .dismiss-guides:hover{color:#4183c4}.guides-bootcamp{text-align:center}.guides-bootcamp p{margin-top:0;margin-bottom:0}.guides-bootcamp .guides-list-item{padding-right:15px;padding-left:15px}.guides-bootcamp .guides-image{display:block;width:auto;height:100px;margin:10px auto 20px}.guides-bootcamp .guides-list-title{margin-top:0;margin-bottom:5px;color:#4183c4}.bootcamp{margin:0 0 20px}.bootcamp h1{position:relative;padding:8px 10px;margin:0;font-size:16px;font-weight:bold;color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.4);background-color:#829aa8;border:1px solid #677c89;border-bottom-color:#6b808d;border-radius:3px 3px 0 0}.bootcamp h1 a{color:#fff;text-decoration:none}.bootcamp .octicon-x{position:relative;top:-2px;font-size:16px;line-height:16px}.bootcamp .dismiss-bootcamp{position:absolute;top:9px;right:9px;display:block;width:16px;height:16px;background-repeat:no-repeat;background-position:0 0}.bootcamp .dismiss-bootcamp:hover{background-position:0 -19px}.bootcamp .bootcamp-body{padding:10px 1%;overflow:hidden;background-color:#e9f1f4;border-color:#e9f1f4 #d8dee2 #d8dee2;border-style:solid;border-width:1px;border-radius:0 0 3px 3px}.bootcamp ul li{background-color:#f5f3b4;background-image:-webkit-linear-gradient(#fffff5, #f5f3b4);background-image:linear-gradient(#fffff5, #f5f3b4);background-repeat:repeat-x;position:relative;display:block;float:left;width:24.25%;height:215px;margin:0 1% 0 0;overflow:hidden;font-size:13px;font-weight:normal;color:#666;border:1px solid #dfddb5;border-radius:3px;box-shadow:0 1px 0 #fff}.bootcamp ul li.be-social{margin-right:0}.bootcamp ul li:hover{background-color:#f1eea3;background-image:-webkit-linear-gradient(#fcfce9, #f1eea3);background-image:linear-gradient(#fcfce9, #f1eea3);background-repeat:repeat-x;border:1px solid #d6d4ad}.bootcamp ul li a{color:#666;text-decoration:none}.bootcamp .image{position:relative;display:block;height:133px;background-repeat:no-repeat;background-position:center center}.bootcamp .setup .image{background-image:url(/assets/modules/dashboard/bootcamp/octocat_setup-1d94846160fdf54b6ca7d2b73aa5f1647322513514786ac9e137b1eb846db9ca.png);background-size:129px 96px}.bootcamp .create-a-repo .image{background-image:url(/assets/modules/dashboard/bootcamp/octocat_repo-70ae42e0e4fb1f6856d4871062f0d979b7f19e67ccdc8992bcc6b502464fd561.png);background-size:129px 96px}.bootcamp .fork-a-repo .image{background-image:url(/assets/modules/dashboard/bootcamp/octocat_fork-6e0b56d6903d4e2e32ffdeb1ebe0ce5c79ce938f45acf803f3421cc5aafc05aa.png);background-size:178px 96px}.bootcamp .be-social .image{background-image:url(/assets/modules/dashboard/bootcamp/octocat_collabocats-974d8e7d814eb7bd416a8cce94bd03edef6881f18546bef185ec8878720c1dbc.png);background-position:center 27px;background-size:207px 96px}.bootcamp .desc{position:relative;z-index:2;padding:10px 15px 20px;overflow:hidden;text-align:center;background-repeat:no-repeat}.bootcamp .desc>h2{padding:0;margin:0 0 5px;font-size:15px;color:#393939}.bootcamp .desc p{padding:0;margin:0;line-height:1.2em}.bootcamp .step-number{position:absolute;top:-1px;left:10px;font-size:36px;font-weight:bold;color:#e4e1a8;opacity:0.75}.first-run{width:800px;margin:25px auto;text-align:center}.first-run-heading{font-size:36px;font-weight:normal}.first-run-subheading{font-size:16px;font-weight:normal;color:#999}.first-run-survey{width:800px;padding:0;margin:0 auto}.first-run-survey .button+.button{margin-left:12px}.first-run-survey ul.guides{list-style-type:none}.first-run-small-wrapper{-moz-box-sizing:border-box;box-sizing:border-box;padding:35px 25px;margin-top:25px;background-color:#f0f7fd;border:1px solid #d2d8dd;border-radius:3px}.first-run-survey-question p{margin:0 0 25px;font-size:22px;font-weight:500;line-height:1}.first-run-survey-progress{margin-top:25px}.first-run-survey-progress .circle{display:inline-block;width:10px;height:10px;margin:0 4px;border:1px solid #d1d1d1;border-radius:52%}.first-run-survey-progress .current{background-color:#4183c4;border-color:#4183c4}.first-run-survey-progress .completed{background-color:#d1d1d1;border-color:#d1d1d1}.first-run-survey-other{width:230px;margin:16px auto auto}.first-run-skip{padding:15px 0 0;margin-top:30px;font-size:14px;border-top:1px solid #e9e9e9}.first-run-skip span{font-weight:500}.first-run-get-started{-moz-box-sizing:border-box;box-sizing:border-box;padding:0 2px;margin:25px 0;overflow:hidden;clear:both;border:1px solid #e5e5e5;border-radius:3px;box-shadow:0 1px 1px rgba(0,0,0,0.01)}.first-run-get-started div{float:left;width:50%;-moz-box-sizing:border-box;box-sizing:border-box;padding:18px 20px 22px 18px;text-align:left}.first-run-get-started .mega-octicon{float:left;color:#cccccc}.first-run-get-started p{padding:0 0 0 47px;margin:5px 0;color:#333}.first-run-get-started h2{padding:0 0 0 47px;margin:0 0 10px;font-size:18px;font-weight:bold;color:#333}.first-run-get-started a{margin-top:12px;margin-left:47px}.first-run-get-started .first-box{border-right:1px solid #eee}.first-run-help-link{color:#999}.user-repos .mini-repo-list-item{padding-right:6px}.user-repos .mini-repo-list-item .repo-and-owner{max-width:100%}.user-repos .mini-repo-list-item .owner{max-width:145px}#example_octofication{float:right;width:335px;margin:0}.octofication{margin-bottom:15px}.octofication .message{min-height:56px;padding:10px 10px 10px 50px;border:solid 1px #4183c4;border-radius:3px}.octofication .message h3{margin:1px 20px 3px 0;font-size:14px;line-height:1.2}.octofication .message p{padding:0;margin:0;font-size:12px;color:#555}.octofication .message p+p{margin-top:15px}.octofication .broadcast-icon{position:relative;float:left;margin-left:-40px;color:#4183c4}.octofication .broadcast-icon-mask{position:absolute;top:0;width:10px;height:16px;background-color:#fff;opacity:0;-webkit-animation:broadCastMaskFade 1s ease-in-out 2s 2;animation:broadCastMaskFade 1s ease-in-out 2s 2}.octofication .broadcast-icon-mask.left{left:0}.octofication .broadcast-icon-mask.right{right:0}.octofication .notice-dismiss{position:relative;top:-2px;float:right;color:#bbb}.octofication .notice-dismiss:hover{color:#666}.octofication-more{margin:5px 0;font-size:11px;text-align:right}@-webkit-keyframes broadCastMaskFade{0%{opacity:0}30%{opacity:1}70%{opacity:1}100%{opacity:0}}@keyframes broadCastMaskFade{0%{opacity:0}30%{opacity:1}70%{opacity:1}100%{opacity:0}}.github-jobs-promotion{margin-bottom:15px}.github-jobs-promotion p{background-color:#e4f0ff;background-image:-webkit-linear-gradient(#f5fbff, #e4f0ff);background-image:linear-gradient(#f5fbff, #e4f0ff);background-repeat:repeat-x;position:relative;padding:10px 18px;font-size:12px;color:#1b3650;text-align:center;border:1px solid #cee0e7;border-radius:3px}.github-jobs-promotion p a{color:#1b3650}.github-jobs-promotion a.jobs-logo{display:block;font-size:11px;color:#999;text-align:center}.github-jobs-promotion a.jobs-logo:hover{text-decoration:none}.github-jobs-promotion a.jobs-logo strong{display:inline-block;width:62px;height:12px;text-indent:-9999px;vertical-align:middle;background:url(/assets/modules/jobs/logo-5f88df64715f56b75c4dc3cfe897caa75bdb14ddfae7156c3efd7863f686f0bc.png) 0 0 no-repeat;background-size:62px auto}.github-jobs-promotion .job-location{white-space:nowrap}.github-jobs-promotion a.octicon-info{position:absolute;right:5px;bottom:5px;color:#a9b8be;color:#a9b8be;text-decoration:none;cursor:pointer;opacity:0.8}.github-jobs-promotion p:hover .octicon-info{opacity:1}#dashboard h1{margin-bottom:0.5em;font-size:160%}#dashboard h1 a{font-size:70%;font-weight:normal}#dashboard .notice{padding:15px;margin-top:0;margin-bottom:0;text-align:center}.news .release{margin-top:0;margin-bottom:0}.news blockquote{color:#666}.news h1{margin-bottom:0}.news .alert{position:relative;padding:0 0 1em 45px;overflow:hidden;border-top:1px solid #f1f1f1}.news .alert .commits{padding-left:40px}.news .alert .css-truncate.css-truncate-target,.news .alert .css-truncate .css-truncate-target{max-width:180px}.news .alert p{margin:0}.news .alert .markdown-body blockquote{padding:0 0 0 40px;border:0 none}.news .alert .mega-octicon{position:absolute;top:14px;left:0;width:32px;height:32px;padding:3px;color:#bbb}.news .alert .mega-octicon::before{color:inherit}.news .alert .octicon{width:16px;height:16px;color:#bbb}.news .alert .body{padding:1em 0 0;overflow:hidden;font-size:14px;border-bottom:0}.news .alert .time{font-size:12px;color:#bbb}.news .alert .title{padding:0;font-weight:bold}.news .alert .title .subtle{color:#bbb}.news .alert .gravatar{float:left;margin-right:0.6em;line-height:0;background-color:#fff;border-radius:3px}.news .alert .simple>.octicon{position:absolute !important;left:11px;width:16px;height:16px}.news .alert .simple .title{display:inline-block;font-size:13px;font-weight:normal;color:#666}.news .alert .simple .time{display:inline-block}.news .alert .pull-info,.news .alert .branch-link{display:inline-block;padding:3px 7px;margin-top:5px;font-size:12px;color:rgba(0,0,0,0.5);background:#e8f1f6;border-radius:3px}.news .alert .pull-info em,.news .alert .branch-link em{font-style:normal;font-weight:bold}.news .alert .branch-link{position:relative;top:-2px;margin:0;font-family:Consolas, "Liberation Mono", Menlo, Courier, monospace}.news .alert .branch-link .octicon{color:#b0c4ce}.news .alert:first-child{border-top:0}.news .alert:first-child .body{padding-top:0}.news .alert:first-child .mega-octicon{top:0}.news .git_hub .done{color:#666;text-decoration:line-through}.news .commits li{margin-top:0.15em;list-style-type:none}.news .commits li.more{padding-top:2px;font-size:11px}.news .commits li .committer{display:none;padding-left:0.5em}.news .commits li img{margin:0 1px 0 0;vertical-align:middle;background-color:#fff;border-radius:2px}.news .commits li img.emoji{padding:0;margin:0;border:0}.news .commits li .message{display:inline-block;max-width:390px;margin-top:2px;overflow:hidden;font-size:13px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap;vertical-align:top}.news div.message,.news li blockquote{display:inline;font-size:13px;color:#666}.release-assets{padding-left:40px}.release-assets li{margin-top:0.15em;list-style-type:none}.release-assets .more{padding-top:2px;font-size:11px}.news-full,.page-profile .news{float:none;width:auto}.activity-tab .blankslate{margin-top:10px}.activity-tab .news .markdown-body blockquote,.activity-tab .news .alert .commits{padding-left:0}.activity-tab .news a.gravatar,.activity-tab .news div.gravatar{display:none}.saml-signed-out-notice{position:relative;width:450px;padding:10px 10px 10px 70px;margin:50px auto 30px;border:1px solid #eee;border-radius:3px}.saml-signed-out-notice .mega-octicon{position:absolute;top:30px;left:20px;color:#ddd}.saml-signed-out-notice h3{margin-bottom:0}.saml-signed-out-notice p{margin-top:5px}.dashboards-overview-lead{width:700px}.dashboards-overview-cards .boxed-group{margin:10px 0;width:100%}.dashboards-overview-cards .boxed-group path{stroke:#1db34f;stroke-opacity:0.5}.dashboards-overview-cards .blankslate{border:0;background-color:#fff;box-shadow:none;padding-top:47px}.dashboards-overview-cards .octicon-arrow-down{color:#bd2c00}.dashboards-overview-cards .octicon-arrow-up{color:#1db34f}.dashboards-overview-cards .graph-canvas .dots{padding:43px 0}.dashboards-overview-cards .summary-stats{height:78px}.dashboards-overview-cards .summary-stats .created_at{color:#1db34f}.dashboards-overview-cards .summary-stats .closed_at,.dashboards-overview-cards .summary-stats .merged_at{color:#4183c4}.dashboards-overview-cards .summary-stats .totals-num{margin:0 7px}.dashboards-overview-cards .summary-stats .single{width:100%}.dashboards-overview-graph{height:160px}.dashboards-overview-graph .path{fill:none;stroke-width:2}.dashboards-overview-graph path.created_at{stroke:#1db34f}.dashboards-overview-graph path.merged_at,.dashboards-overview-graph path.closed_at{stroke:#1d7fb3}.dashboards-overview-graph .y line{stroke:#1db34f}.dashboards-overview-graph .y.unique line{stroke:#1d7fb3}.dashboards-overview-graph .overlay{fill-opacity:0}.created_at circle{fill:#1db34f;stroke:#fff;stroke-width:2}.merged_at circle,.closed_at circle{fill:#1d7fb3;stroke:#fff;stroke-width:2}.discussion-timeline{position:relative;width:760px;float:left}.discussion-timeline:before{display:block;content:"";position:absolute;top:0;bottom:0;left:79px;width:2px;background-color:#f3f3f3;z-index:-1}.discussion-sidebar{position:-webkit-sticky;position:sticky;top:0;z-index:21;float:right;width:140px}.discussion-sidebar-item{padding-top:15px;font-size:12px;color:#999}.discussion-sidebar-item .minibutton .octicon{margin-right:0}.discussion-sidebar-item .button-block{margin-bottom:8px}.discussion-sidebar-item+.discussion-sidebar-item{margin-top:15px;border-top:1px solid #eee}.discussion-sidebar-item .select-menu{position:relative}.discussion-sidebar-item .select-menu-modal-holder{top:25px;left:auto;right:-1px}.discussion-sidebar-heading{margin-top:0;margin-bottom:10px;font-size:12px;line-height:16px;color:#777}.discussion-sidebar-toggle{padding:5px;margin:-5px -5px 5px}.discussion-sidebar-toggle .octicon{float:right;padding:5px;margin:-6px -5px -5px 5px;color:#ccc}.discussion-sidebar-toggle:hover{color:#4183c4;text-decoration:none;cursor:pointer}.discussion-sidebar-toggle:hover .octicon{color:inherit}button.discussion-sidebar-toggle{display:block;width:150px;font-weight:bold;text-align:left;background:none;border:0}.sidebar-labels .labels .label{display:block;max-width:100%;padding:6px 10px;font-size:12px;box-shadow:none}.sidebar-labels .labels .label+.label{margin-top:3px}.sidebar-labels .labels:empty:before{content:"None yet";display:inline}.sidebar-milestone .progress-bar{margin-bottom:2px;border-radius:2px;height:8px}.milestone-name{display:block;margin-top:5px;font-weight:bold;color:#555}.milestone-name .css-truncate-target{max-width:100%}.milestone-name:hover{color:#4183c4;text-decoration:none}.sidebar-assignee .css-truncate-target{max-width:110px}.sidebar-assignee .avatar{margin-top:-1px;margin-right:2px;border-radius:2px}.sidebar-assignee .assignee{color:#555;font-weight:bold}.sidebar-assignee .assignee:hover{color:#4183c4;text-decoration:none}.sidebar-quick-assign{display:inline-block}.sidebar-notifications{position:relative}.sidebar-notifications .thread-subscription-status{margin:0;padding:0;border:0}.sidebar-notifications .thread-subscription-status .thread-subscribe-form{display:block}.sidebar-notifications .thread-subscription-status .mega-octicon{display:none}.sidebar-notifications .thread-subscription-status .reason{padding:0;margin:5px 0 0;font-size:11px;color:#999}.sidebar-notifications .thread-subscription-status .minibutton{display:block;width:100%}.participation .participant-avatar{float:left;margin:3px 0 0 3px}.participation a{color:#999}.participation a:hover{color:#4183c4;text-decoration:none}.participation-avatars{margin-left:-3px}.participation-avatars:before{display:table;content:""}.participation-avatars:after{display:table;clear:both;content:""}.participation-more{float:left;margin:6px 0 0;line-height:14px}.lock-toggle-link{color:#777;font-weight:bold}.lock-toggle-link:hover{color:#4183c4;text-decoration:none}.inline-comment-form .form-actions,.timeline-new-comment .form-actions{padding:0 10px 10px}.form-content .form-actions{padding:0}.gh-header-actions{float:right;margin-top:3px}.gh-header-actions .minibutton{float:left;margin-left:5px}.gh-header-actions .minibutton .octicon{margin-right:0}.gh-header .gh-header-edit{display:none}.gh-header.open .gh-header-show{display:none}.gh-header.open .gh-header-edit{display:block}.gh-header-title{margin-top:0;margin-bottom:0;margin-right:150px;font-weight:normal;line-height:1.1;word-wrap:break-word}.gh-header-no-access .gh-header-title{margin-right:0}.gh-header-number{font-weight:300;color:#aaa;letter-spacing:-1px}.gh-header-edit{margin-top:-5px}.gh-header-edit:before{display:table;content:""}.gh-header-edit:after{display:table;clear:both;content:""}.gh-header-edit .edit-issue-title{float:left;width:760px;padding:6px 10px;margin-right:10px;font-size:16px;background-color:#fafafa}.gh-header-edit .edit-issue-title:focus{background-color:#fff}.gh-header-edit .button{float:left;padding:8px 15px}.gh-header-edit .button-link{float:left;margin:10px}.gh-header-meta{margin-top:9px;font-size:14px;line-height:20px;color:#777;padding-bottom:20px;border-bottom:1px solid #eee}.gh-header.issue .gh-header-meta{margin-bottom:15px}.gh-header.pull .gh-header-meta{border-bottom:0;padding-bottom:0}.gh-header-meta.discussions-header-meta{margin-top:6px;padding-bottom:15px}.gh-header-meta .flex-table-item{vertical-align:top}.gh-header-meta .flex-table-item-primary{padding-top:4px;white-space:normal;word-wrap:break-word}.gh-header-meta .flex-table-item-primary .commit-ref .css-truncate-target,.gh-header-meta .flex-table-item-primary .commit-ref:hover .css-truncate-target{max-width:780px !important}.gh-header-meta .state{margin-right:8px}.gh-header-meta .avatar{float:left;margin-top:-3px;margin-right:5px}.gh-header-meta .author{color:#555;font-weight:bold}.gh-header-meta .noun{text-transform:lowercase}.tabnav-pr{margin:15px 0 20px;border-color:#e5e5e5}.tabnav-pr .tabnav-tab{padding:9px 14px;font-size:13px;color:#777}.tabnav-pr .tabnav-tab.selected{color:#333;border-color:#e5e5e5}.tabnav-pr .diffstat-bar{padding-bottom:3px}.timeline-comment-wrapper>.timeline-comment:after,.timeline-comment-wrapper>.timeline-comment:before,.timeline-new-comment .timeline-comment:after,.timeline-new-comment .timeline-comment:before{position:absolute;top:11px;left:-16px;right:100%;width:0;height:0;display:block;content:" ";border-color:transparent;border-style:solid solid outset;pointer-events:none}.timeline-comment-wrapper>.timeline-comment:after,.timeline-new-comment .timeline-comment:after{border-width:7px;border-right-color:#f7f7f7;margin-top:1px;margin-left:2px}.timeline-comment-wrapper>.timeline-comment:before,.timeline-new-comment .timeline-comment:before{border-right-color:#ddd;border-width:8px}.timeline-comment-wrapper{position:relative;padding-left:64px;margin-top:15px;margin-bottom:15px;border-top:2px solid #fff;border-bottom:2px solid #fff}.timeline-comment-wrapper:first-child{margin-top:0}.discussion-timeline-actions .timeline-comment-wrapper:first-child{margin-top:15px}.timeline-comment-wrapper .timeline-comment.unread-item:after,.timeline-comment-wrapper .timeline-comment.unread-item:before{position:absolute;top:11px;left:-16px;right:100%;width:0;height:0;display:block;content:" ";border-color:transparent;border-style:solid solid outset;pointer-events:none}.timeline-comment-wrapper .timeline-comment.unread-item:after{border-width:7px;border-right-color:#fff9ea;margin-top:1px;margin-left:2px}.timeline-comment-wrapper .timeline-comment.unread-item:before{border-right-color:#dfd8c2;border-width:8px}.timeline-comment-avatar{float:left;margin-left:-64px;border-radius:3px}.timeline-comment{position:relative;background-color:#fff;border:1px solid #ddd;border-radius:3px}.timeline-comment.current-user{border-color:#bfccd1}.timeline-comment.current-user:after{border-right-color:#f2f8fa}.timeline-comment.current-user:before{border-right-color:#bfccd1}.timeline-comment.current-user .timeline-comment-header{color:#8e9597;background-color:#f2f8fa;border-bottom-color:#e1edf1}.timeline-comment.will-transition-once{-webkit-transition:border-color 0.65s ease-in-out;transition:border-color 0.65s ease-in-out}.timeline-comment.will-transition-once .timeline-comment-header{-webkit-transition:background-color 0.65s ease, border-bottom-color 0.65s ease-in-out;transition:background-color 0.65s ease, border-bottom-color 0.65s ease-in-out}.timeline-comment.will-transition-once .timeline-comment-label{-webkit-transition:border-color 0.65s ease-in-out;transition:border-color 0.65s ease-in-out}.timeline-comment.will-transition-once:before,.timeline-comment.will-transition-once:after{-webkit-transition:border-right-color 0.65s ease-in-out;transition:border-right-color 0.65s ease-in-out}.timeline-comment.unread-item{border-color:#dfd8c2}.timeline-comment.unread-item .timeline-comment-header{background-color:#fff9ea;border-bottom-color:#f1ede3}.timeline-comment.unread-item .timeline-comment-label{border-color:#dfd8c2}.timeline-comment:empty{display:none}.timeline-comment .comment+.comment{border-top:1px solid #e5e5e5}.timeline-comment .comment+.comment:before,.timeline-comment .comment+.comment:after{display:none}.timeline-comment .comment+.comment .timeline-comment-header{border-top-left-radius:0;border-top-right-radius:0}.timeline-comment-header{padding-left:15px;padding-right:15px;color:#999;background-color:#f7f7f7;border-bottom:1px solid #eee;border-top-left-radius:3px;border-top-right-radius:3px}.timeline-comment-header .author{font-weight:bold;color:#555}.timeline-comment-header .timestamp{white-space:nowrap;color:inherit}.timeline-comment-header code{word-break:break-all}.comment-type-icon{color:inherit}.timeline-comment-label{float:right;margin:8px 0 0 10px;padding:2px 5px;font-size:12px;border:1px solid rgba(0,0,0,0.1);border-radius:3px}.timeline-comment-label-spammy{color:#bd2c00;border-color:#bd2c00}.timeline-comment-header-text{max-width:78%;padding-top:10px;padding-bottom:10px}.timeline-comment-header-text code a{color:#555}.timeline-comment-header-avatar{float:left;margin-top:10px;margin-right:5px}.timeline-comment-actions{float:right;margin-right:-5px;margin-left:10px}.timeline-comment-action{display:inline-block;padding:10px 5px;color:inherit;opacity:0.5}.timeline-comment-action:hover{opacity:1;color:#4183c4;text-decoration:none}.timeline-comment-action .octicon-check{height:16px;font-size:18px}.compare-tab-comments .timeline-comment-actions{display:none}.discussion-item-ref .commit-gravatar{padding-left:2px;padding-right:5px}.discussion-item-ref .task-progress{display:block;margin-bottom:-2px}.discussion-item-ref .task-progress .progress-bar{margin-bottom:0}.discussion-item-ref .task-progress .octicon{font-size:16px}.discussion-item-ref .discussion-item-body .title{margin-top:10px}.discussion-item-ref .state{padding:1px 5px;margin-top:-4px;margin-left:8px;font-size:12px}.discussion-item-ref .state .octicon{width:1em;font-size:14px}.timeline-new-comment{max-width:780px;margin-bottom:0}.timeline-new-comment .comment-form-head{margin-bottom:10px}.timeline-new-comment .previewable-comment-form .comment-body{padding:5px 5px 15px;border-bottom:1px solid #eee}.discussion-item{position:relative;margin:15px 0 15px 79px;padding-left:25px}.discussion-item+.discussion-item{padding-top:15px;border-top:1px solid #f5f5f5}.discussion-item .author{color:#555;font-weight:bold}.discussion-item .timestamp{color:inherit;white-space:nowrap}.discussion-item .label-color{padding:2px 4px;font-size:12px;font-weight:bold;border-radius:2px;box-shadow:inset 0 -1px 0 rgba(0,0,0,0.12)}.discussion-item .label-color a:hover{text-decoration:none}.discussion-item-icon{float:left;width:32px;height:32px;margin-top:-7px;margin-left:-40px;line-height:28px;color:#666;text-align:center;background-color:#f3f3f3;border:2px solid #fff;border-radius:50%}.discussion-item-icon.octicon-pencil{font-size:14px}.discussion-item-header{min-height:30px;padding-top:5px;padding-bottom:5px;color:#777;line-height:20px;word-wrap:break-word}.discussion-item-header .avatar{float:left;margin-top:2px;margin-right:5px}.discussion-item-header .discussion-item-private{vertical-align:-1px}.discussion-item-header:last-child{padding-bottom:0}.discussion-item-header .commit-ref{font-size:85%;vertical-align:baseline}.discussion-item-header .button-outline{float:right;padding:4px 8px;margin-top:-5px}.discussion-item-body{margin-top:5px}.discussion-item-link{color:#777}.discussion-item-link:hover{color:#4183c4}.discussion-item-entity{font-weight:bold;color:#333}.discussion-item-entity:hover{color:#4183c4;text-decoration:none}.discussion-item-ref-title{margin-top:0;margin-bottom:0;line-height:1.2}.discussion-item-ref-title .issue-num{font-weight:normal;color:#999}.discussion-item-ref-title .title-link{color:#333}.discussion-item-ref-title .title-link:hover{color:#4183c4;text-decoration:none}.discussion-item-ref-title .title-link:hover .issue-num{color:inherit}.discussion-item-context-icon{display:inline-block;line-height:22px;margin-top:-2px;margin-left:10px}.discussion-item-help{color:#999}.discussion-item-help:hover{color:#4183c4}.discussion-item-private{color:#a1882b}.discussion-item-rollup-ref .state{margin-top:2px}.discussion-item-rollup-ref .discussion-item-context-icon{margin-top:2px}.discussion-item-reopened .discussion-item-icon{color:#fff;background-color:#6cc644}.discussion-item-merged .discussion-item-icon{padding-left:2px;color:#fff;background-color:#6e5494}.discussion-item-closed .discussion-item-icon{color:#fff;background-color:#bd2c00}.discussion-item-head_ref_deleted .discussion-item-icon{padding-left:2px;color:#fff;background-color:#999}.discussion-item-locked .discussion-item-icon,.discussion-item-unlocked .discussion-item-icon{color:#fff;background-color:#333}.discussion-item .renamed-was,.discussion-item .renamed-is{color:#333;font-weight:bold}.discussion-commits .discussion-item-icon{padding-top:1px}.discussion-commits .discussion-item-body{margin-top:0;margin-left:-31px}.discussion-item-toggle-open{display:none}.discussion-item-toggle{float:right;color:#777}.discussion-item-toggle:hover{color:#4183c4;text-decoration:none}.discussion-item-toggle .octicon{vertical-align:middle}.outdated-diff-comment-container .discussion-item-body{display:none}.outdated-diff-comment-container.open .discussion-item-body,.outdated-diff-comment-container.open .discussion-item-toggle-open{display:block}.outdated-diff-comment-container.open .discussion-item-toggle-closed{display:none}.new-discussion-timeline .form-content textarea{font-size:14px;line-height:1.6}.new-discussion-timeline .previewable-comment-form .comment-form-head.tabnav{background:#f7f7f7;padding:6px 10px 0;border-radius:3px 3px 0 0}.new-discussion-timeline .previewable-comment-form .draft-indicator{position:relative;top:-1px}.new-discussion-timeline .previewable-comment-form .comment{border:0}.new-discussion-timeline .previewable-comment-form .comment-body{padding:5px 5px 15px;border-bottom:1px solid #eee;background-color:transparent}.new-discussion-timeline .previewable-comment-form .timeline-comment .timeline-comment-actions{display:none}.new-discussion-timeline .closed-banner{position:relative;margin:15px 0 -15px;height:19px;overflow:visible;background:#f3f3f3;border-radius:0;border-bottom:15px solid #fff}.new-discussion-timeline .discussion-hidden{background:#fff;opacity:1;position:relative}.new-discussion-timeline .discussion-hidden .comment-header{background:#fff}.new-discussion-timeline .discussion-hidden .comment-snippet p{vertical-align:middle}.new-discussion-timeline .composer .timeline-comment{margin-bottom:10px}.new-discussion-timeline .composer .timeline-comment:after{border-right-color:#fff}.new-discussion-timeline .composer .comment-form-head.tabnav{padding-top:0;background-color:#fff}.discussion-timeline-actions{border-top:2px solid #f3f3f3;background-color:#fff}.discussion-timeline-actions .merge-pr{padding-top:0;border-top:0}.discussion-timeline-actions .thread-subscription-status{margin-top:20px}.discussion-timeline-actions .thread-subscription-status .mega-octicon{display:none}.discussions-header{margin-bottom:20px}.discussions-header .select-menu,.discussions-header .primary{float:left;margin-left:5px}.discussions-header-title{margin-top:0;margin-bottom:0;line-height:26px}.discussions-new{max-width:800px;padding:15px}.blankslate.discussions{padding:115px 0}.discussions{margin:0 0 20px}.discussions .discussion{font-size:13px;list-style-type:none;padding:12px 0 12px 72px;border-bottom:1px solid #eee;position:relative;min-height:74px}.discussions .discussion:before{display:table;content:""}.discussions .discussion:after{display:table;clear:both;content:""}.discussions .discussion.navigation-focus{background:#f9f9f9}.discussions .discussion.selected{background-color:#f9f9f9}.discussions .discussion.selected:before{background:#999}.discussions .discussion input[type="checkbox"]{top:27px}.discussions .discussion:before{position:absolute;display:block;content:"";top:-1px;left:0;bottom:0;width:3px}.discussions .discussion.spammy:before{background:#bd2c00}.discussions .discussion h3{font-size:17px;margin:4px 0 0;padding-bottom:5px}.discussions .discussion h3 span{font-weight:300;color:#c5c5c5}.discussions .discussion h3 a{color:#333;font-weight:bold}.discussions .discussion h4{margin-top:1px;margin-bottom:2px;font-size:12px;line-height:18px;color:#666}.discussions .discussion p{margin:0 0 5px}.discussions .discussion p.muted{color:#999;padding:5px 0}.discussions .discussion .pull-info{background:#e8f1f6;border-radius:3px;color:rgba(0,0,0,0.5);display:inline-block;font-size:12px;margin-top:5px;padding:3px 7px;box-shadow:inset 0 -1px 0 rgba(0,0,0,0.12)}.discussions .discussion .pull-info em{font-style:normal}.discussions .discussion:first-child{border-top:1px solid #eee}.discussions .discussion.unread:before{position:absolute;display:block;content:"";top:-1px;bottom:-1px;left:0;width:3px;background:#4183c4}.discussion-username{color:#333;font-weight:normal}.discussions-avatar{position:absolute;left:12px}.discussion-issue-number{color:#bbb}.discussion-body p{color:#444;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:13px}.discussion-meta{font-size:12px;line-height:17px}.discussion-meta:before{display:table;content:""}.discussion-meta:after{display:table;clear:both;content:""}.discussion-meta a{color:#999}.discussion-meta p{color:#999;padding:0;margin:0}.discussion-meta .octicon-comment{font-size:14px;color:#bbb;margin-left:4px}.discussion-participants{float:left;width:150px;margin-left:30px;color:#999}.discussion-participants .avatar-link{margin-right:3px}.discussion-last-comment{float:left;width:150px;margin-left:30px}.discussion-last-comment .avatar{float:left;margin-right:3px}.discussion-description{float:left;width:474px}.discussion-timeline .email-hidden-container{margin:3px 0}.discussion-hidden{background:#fff}.discussion-hidden .timeline-comment-content{border:1px solid #ddd;opacity:0.8;margin-left:64px}.discussion-hidden .timeline-comment-content:hover{-webkit-transition:opacity 0.25s ease-in-out;transition:opacity 0.25s ease-in-out;opacity:1}.discussion-hidden .timeline-comment-header{background:none;border-bottom:0;line-height:33px}.discussion-hidden .timeline-comment-header:before{display:table;content:""}.discussion-hidden .timeline-comment-header:after{display:table;clear:both;content:""}.discussion-hidden .timeline-comment-header .octicon{margin:0 3px}.discussion-hidden .timeline-comment-header .comment-snippet{display:inline-block;position:relative;top:-1px}.discussion-hidden .timeline-comment-header .comment-snippet p{width:370px;overflow:hidden;text-overflow:ellipsis;display:inline-block;white-space:nowrap;margin:0 0 0 3px;line-height:1}.discussion-hidden+.discussion-hidden{margin-top:-1px}.comment-header-right{float:right}.comment-header-actions{list-style-type:none}.comment-header-actions:before{display:table;content:""}.comment-header-actions:after{display:table;clear:both;content:""}.comment-header-actions li{float:left;font-size:11px;line-height:33px;margin:0 0 0 10px}.discussion-comment-label{background:#eee;border-radius:3px;color:#666;padding:2px 4px;margin:0 5px 0 0}.explore-head .container{position:relative}.explore-content{margin-top:-15px}.explore-content .blankslate{margin-top:15px}.repo-collection>ul{list-style-type:none;background:#f7f7f7;border:1px solid #ddd;border-radius:3px}.repo-collection .author-gravatar{float:left;margin-right:10px;background:#fff;border-radius:3px}.collection-stat{float:right;margin-left:10px;font-size:12px;color:#444}.collection-stat .octicon{margin-right:5px;color:#a7a7a7}.collection-item{position:relative;float:left;width:50%;height:70px;padding:15px}.collection-item .octicon-x{position:absolute;top:10px;right:10px;color:#ccc;text-decoration:none}.collection-item .repo-name{display:block;font-size:16px;font-weight:bold}.collection-item .css-truncate-target{max-width:380px}.collection-item .repo-description{margin:0}.explore-collection h2{margin:0 0 10px;font-size:18px;font-weight:normal;color:#2a2a2a}.explore-collection h2 .select-menu{position:relative;display:inline-block}.explore-collection h2 .select-menu-button{font-weight:bold;cursor:pointer}.explore-collection h2 .mega-octicon{vertical-align:middle}.explore-collection .see-more-link{float:right;margin-top:7px}.explore-page .see-more-link{font-size:14px;color:inherit}.explore-page .see-more-link .octicon{margin-left:5px}.explore-page.marketing-section{border-bottom:0}.explore-page.marketing-section .thread-subscription-status{border:0}.explore-page.marketing-section .signed-out-comment{margin-left:0}.explore-page .language-filter-list{margin-bottom:10px}.explore-section{position:relative;padding:40px 0;border-bottom:1px solid #eee}.explore-section:nth-child(even){background:#f9f9f9}.explore-section:nth-child(even) .repo-collection>ul{background:#fff}.explore-section:first-child{padding-top:0}.explore-section:nth-child(odd):last-child{padding-bottom:0;border-bottom:0}.explore-pjax-container{position:relative}.user-leaderboard-list .follow-list-info{margin-top:12px;margin-bottom:0;font-size:12px;color:#666}.user-leaderboard-list .follow-list-info .css-truncate.css-truncate-target{max-width:none}.user-leaderboard-list .repo-list-item{padding-top:10px;padding-bottom:0;padding-left:21px;border-top:0}.user-leaderboard-list .repo-list-item .repo-description,.user-leaderboard-list .repo-list-item .repo-and-owner{max-width:530px}.user-leaderboard-list .repo-list-item .repo{color:#5c5c5c}.leaderboard-list{margin:0;list-style-type:none}.user-leaderboard-list-name{margin:0;font-size:18px;font-weight:normal}.user-leaderboard-list-name .full-name{margin-left:5px;font-weight:bold;color:#5c5c5c}.repo-snipit{margin-top:7px;display:inline-block}.repo-snipit:hover{text-decoration:none}.repo-snipit .octicon{color:#999;font-size:14px}.repo-snipit-name{max-width:200px;color:#666}.repo-snipit-description{max-width:300px;color:#999}.repo-snipit:hover .repo-snipit-name,.repo-snipit:hover .repo-snipit-description{color:#4183c4}.leaderboard-action{float:right;margin-top:-3px;margin-left:10px}.leaderboard-list-rank{position:absolute;top:25px;left:0;width:20px;font-size:11px;font-weight:300;color:#b9b9b9;text-align:right;text-transform:uppercase}.leaderboard-list-item{position:relative;padding-top:20px;padding-bottom:20px;padding-left:35px;border-bottom:1px solid #eee}.leaderboard-list-item:last-child{border-bottom:0}.leaderboard-gravatar{float:left;width:48px;height:48px;border-radius:3px}.leaderboard-list-content{min-height:48px;margin-left:58px}.collection-page .signed-out-comment{margin-left:0}.explore-mail-tease{padding-top:20px;overflow:hidden;background:#202021 url(/assets/modules/home/octicons-bg-f51579234572c7286b1ead7a6408f2d43c7a0520dbb09f9d2b8b6b59024a01a0.png) center repeat;border-bottom:1px solid #ddd}.explore-mail-tease h3{color:#fff;text-align:center}.explore-mail-tease img{margin-bottom:-5px}.newsletter-frequency-choice{display:-ms-flexbox;display:-webkit-flex;display:flex;margin:40px 0;list-style-type:none;-webkit-flex-flow:row wrap;-webkit-justify-content:space-around;-ms-flex-pack:distribute;justify-content:space-around}.newsletter-frequency-choice .choice{position:relative;width:25%;margin:auto}.newsletter-frequency-choice .choice>label{display:block;height:100%;margin:0 10px;font-weight:normal;cursor:pointer;background:#fff;border:3px solid #eee;border-radius:4px;text-align:center}.newsletter-frequency-choice .choice:hover label{border-color:#4183c4}.newsletter-frequency-choice .choice:hover h3{color:#fff;background:#4183c4;border-color:#4183c4}.newsletter-frequency-choice .choice.selected label{border-color:#6cc644;box-shadow:0 0 5px rgba(0,0,0,0.2)}.newsletter-frequency-choice .choice.selected h3{color:#fff;background:#6cc644;border-color:#6cc644}.newsletter-frequency-choice .choice.selected p{color:#333}.newsletter-frequency-choice .choice .notice{position:absolute;right:0;bottom:1em;left:0;z-index:-1;font-weight:bold;color:#6cc644;text-align:center;opacity:0}.newsletter-frequency-choice .choice .notice.visible{-webkit-transition:opacity 0.15s ease-in-out;transition:opacity 0.15s ease-in-out;bottom:-2em;opacity:1}.newsletter-frequency-choice h3{padding:10px;margin:0;font-weight:normal;background:#fafafa;border-bottom:1px solid #eee}.newsletter-frequency-choice h3 input{position:relative;top:-2px;margin:0 3px 0 -19px}.newsletter-frequency-choice p{height:7em;margin:15px;color:#777;text-align:left}.explore-signup-entice{position:relative;padding:15px;background:#f7f7f7;border:1px solid #ddd;border-radius:3px}.explore-signup-entice h3{margin-bottom:10px;font-size:18px}.explore-signup-entice p{margin:10px;font-size:14px}.explore-signup-entice-inner{position:absolute;top:3px;right:3px;bottom:3px;left:3px;padding-top:30px;text-align:center;background:rgba(247,247,247,0.9)}.explore-signup-entice-wrapper{max-width:500px;padding:5px;margin:0 auto;background:rgba(247,247,247,0.6)}@-webkit-keyframes fadein{0%{opacity:0}100%{opacity:1}}@keyframes fadein{0%{opacity:0}100%{opacity:1}}.explore-marketing-header{margin:10px auto 30px;text-align:center}.explore-marketing-header.is-animating{-webkit-animation:fadein 1s;animation:fadein 1s}.explore-marketing-header h2{margin:0 0 5px;font-size:32px;font-weight:normal}.explore-marketing-header .lead{margin:5px 0 0}.explore-marketing-header .call-to-signup{margin-top:10px}.linux .show-mac,.macintosh .show-mac{display:block}.linux .hide-mac,.macintosh .hide-mac{display:none}.windows .show-mac{display:none}.homepage .container{font-family:"Helvetica Neue", Helvetica, Arial, sans-serif}.homepage .header-logged-out .primary{display:none}.homepage .site-footer{border-top:0;margin-top:0}.marketing-section-depth{position:absolute;right:0;bottom:0;left:0;z-index:10;height:30px;background-image:-webkit-linear-gradient(transparent, rgba(0,0,0,0.15));box-shadow:inset 0 -1px 0 rgba(0,0,0,0.25)}.marketing-section-signup{text-shadow:0 1px 3px #222;background:#202021 url(/assets/modules/home/octicons-bg-f51579234572c7286b1ead7a6408f2d43c7a0520dbb09f9d2b8b6b59024a01a0.png) center repeat;padding-top:80px;padding-bottom:80px;position:relative}.marketing-section-signup .heading{margin-top:0;padding-top:10px;font-size:70px;font-weight:normal;line-height:1;color:#fff;letter-spacing:-1px}.marketing-section-signup .subheading{margin:10px 0 0;font-size:21px;line-height:1.5;color:#fff}.marketing-section-signup .subheading a{font-weight:500}.form-signup-home{float:right;width:320px;margin-left:40px}.form-signup-home .text-muted:last-child{margin-bottom:0}.form-signup-home dl.form{position:relative;margin-top:0;margin-bottom:10px}.form-signup-home dl.form dd+.text-muted{margin-top:5px}.form-signup-home .button,.form-signup-home dl.form input[type="text"],.form-signup-home dl.form input[type="password"]{padding:10px;font-size:16px;border-radius:5px}.form-signup-home .button{border:0}.form-signup-home .button:focus{box-shadow:0 1px 3px rgba(0,0,0,0.05),0 0 12px rgba(255,255,255,0.75)}.form-signup-home dl.form input[type="text"],.form-signup-home dl.form input[type="password"]{width:100%;margin-right:0;border-color:#fff}.form-signup-home dl.form input[type="text"]:focus,.form-signup-home dl.form .focused .drag-and-drop,.focused .form-signup-home dl.form .drag-and-drop,.form-signup-home dl.form input[type="password"]:focus{background-color:#fff;border-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,0.075),0 0 12px rgba(255,255,255,0.75)}.form-signup-home dl.form.errored dd.error,.form-signup-home dl.form.errored dd.warning{position:absolute;top:100%;left:0;right:0;z-index:5;margin-top:2px;font-size:12px;font-weight:normal;padding:10px;border:0;text-align:left;border-radius:3px;background-color:#333;color:#fff}.form-signup-home dl.form.errored dd.error:after,.form-signup-home dl.form.errored dd.warning:after{position:absolute;left:10px;bottom:100%;height:0;width:0;content:"";border:solid transparent;border-bottom-color:#333;border-width:8px;pointer-events:none}.form-signup-home dl.form.errored dd.error:empty,.form-signup-home dl.form.errored dd.warning:empty{display:none}.form-signup-home dl.form dd input.is-autocheck-successful,.form-signup-home dl.form dd input.is-autocheck-errored,.form-signup-home dl.form dd input.is-autocheck-loading{background-image:none}.form-signup-home dl.successed:after,.form-signup-home dl.errored:after{position:absolute;top:15px;right:10px;text-shadow:none;font:normal normal 16px/1 "octicons";display:inline-block;text-decoration:none;-webkit-font-smoothing:antialiased}.form-signup-home dl.successed:after{content:"\f03a";color:#6cc644}.form-signup-home dl.errored:after{content:"\f02d";color:#bd2c00}.form-signup-home dl.is-loading:after{position:absolute;top:15px;right:10px;display:block;width:16px;height:16px;content:"";background-image:url(/assets/spinners/octocat-spinner-16px-02c482dbba2151bb2d7a30af56d0c7513f12449d504f7a57f200d9e534b112ff.gif)}@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 2dppx){.form-signup-home dl.is-loading:after{background-image:url(/assets/spinners/octocat-spinner-32-e513294efa576953719e4e2de888dd9cf929b7d62ed8d05f25e731d02452ab6c.gif);background-size:16px 16px}}.text-muted .notice-highlight{color:#fff}.text-center{text-align:center}.marketing-section-img{display:block;max-width:980px;margin:40px auto;border-radius:5px;border:1px solid rgba(0,0,0,0.25);box-shadow:0 5px 15px rgba(0,0,0,0.15)}.marketing-section-enterprise{overflow:hidden;max-height:375px;padding-bottom:20px;margin-top:-1px;text-shadow:0 1px 2px rgba(0,0,0,0.3);background-color:#614381;background-image:-webkit-linear-gradient(#202d5f, #614381);background-image:linear-gradient(#202d5f, #614381);background-repeat:repeat-x;border-bottom:0;box-shadow:inset 0 10px 20px rgba(0,0,0,0.1);color:#fff}.marketing-section-enterprise.marketing-inline{margin-bottom:30px}.marketing-section-enterprise h1>a{color:inherit;text-decoration:none}.marketing-section-enterprise .marketing-header .lead{color:#cecbda}.marketing-section-enterprise .marketing-button{display:inline-block;margin-top:20px;margin-bottom:20px;padding:9px 15px;border-radius:4px;font-size:18px;background-color:#1d6ac8;background-image:-webkit-linear-gradient(#45b3f3, #1d6ac8);background-image:linear-gradient(#45b3f3, #1d6ac8);background-repeat:repeat-x;box-shadow:0 1px 1px rgba(0,0,0,0.25);text-shadow:0 -1px 0 rgba(0,0,0,0.25);text-decoration:none;color:#fff}.marketing-section-enterprise .marketing-button:hover{background-position:0 -10px}.aws-section{background:#515d81 url(/assets/modules/aws/aws-bg-80b292690ba587b305c2c038c496ffc8ff08d3bf6be6c1ba64d48bedc09cc36f.jpg) no-repeat center top;background-size:cover;overflow:hidden;text-shadow:0 1px 1px rgba(0,0,0,0.1)}.aws-section .container{position:relative}.aws-section .content{position:relative;z-index:9;padding:80px 0;color:#fff;text-align:center}.aws-section h2{margin-top:0;font-size:36px;font-weight:300;color:#fff}.aws-section p{margin-bottom:15px;font-size:15px;font-weight:300}.aws-section .aws-button{display:inline-block;padding:7px 15px;font-size:16px;color:#fff;text-shadow:none;border:1px solid #fff;border-radius:5px}.aws-section .aws-button:hover{color:#fff;text-decoration:none;background-color:#2a2b55;border-color:#2a2b55}.aws-section .bg-animation{position:absolute;top:0;left:0;width:100%;height:100%}.aws-section .cloud{position:absolute}.aws-section .cloud-1{top:10px;right:20px;-webkit-animation:cloud1animation 6s ease-out 1s;animation:cloud1animation 6s ease-out 1s}.aws-section .cloud-2{top:10px;left:-60px;-webkit-animation:cloud2animation 6s ease-out 1s;animation:cloud2animation 6s ease-out 1s}.aws-section .cloud-3{bottom:50px;right:-255px;-webkit-animation:cloud3animation 14s ease-out 1s;animation:cloud3animation 14s ease-out 1s}.aws-section .cloud-4{bottom:-96px;left:-470px;-webkit-animation:cloud4animation 9s ease-out 1s;animation:cloud4animation 9s ease-out 1s}.aws-section .cloud-5{bottom:-120px;right:-160px;-webkit-animation:cloud5animation 14s ease-out 1s;animation:cloud5animation 14s ease-out 1s}.aws-section .cloud-6{bottom:-100px;right:-600px;-webkit-animation:cloud6animation 8s ease-out 1s;animation:cloud6animation 8s ease-out 1s}@-webkit-keyframes cloud1animation{0%{-webkit-transform:translateX(-70px);transform:translateX(-70px)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes cloud1animation{0%{-webkit-transform:translateX(-70px);transform:translateX(-70px)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes cloud2animation{0%{-webkit-transform:translateX(50px);transform:translateX(50px)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes cloud2animation{0%{-webkit-transform:translateX(50px);transform:translateX(50px)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes cloud3animation{0%{-webkit-transform:translateX(-150px);transform:translateX(-150px)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes cloud3animation{0%{-webkit-transform:translateX(-150px);transform:translateX(-150px)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes cloud4animation{0%{-webkit-transform:translateX(125px);transform:translateX(125px)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes cloud4animation{0%{-webkit-transform:translateX(125px);transform:translateX(125px)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes cloud5animation{0%{-webkit-transform:translateX(-80px);transform:translateX(-80px)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes cloud5animation{0%{-webkit-transform:translateX(-80px);transform:translateX(-80px)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes cloud6animation{0%{-webkit-transform:translateX(-200px);transform:translateX(-200px)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes cloud6animation{0%{-webkit-transform:translateX(-200px);transform:translateX(-200px)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}.issue-list em{font-weight:bold;background-color:rgba(255,255,140,0.5);padding:3px;border-radius:3px;font-style:normal}.issue-list .title{padding:0;min-height:24px;font-weight:normal;font-size:18px;line-height:24px;margin:0 80px 10px 0;word-wrap:break-word}.issue-list .title .mega-octicon{position:absolute;top:-4px;left:0;width:32px;color:#888;text-align:center}.issue-list .title .closed.mega-octicon{color:#bd2c00}.issue-list .title .open.mega-octicon{color:#6cc644}.issue-list .title .merged.mega-octicon{color:#6e5494}.issue-list .description{margin:0 0 10px;line-height:20px;overflow:hidden}.issue-list-meta{margin:0;list-style-type:none;font-size:11px;color:#999}.issue-list-meta:before{display:table;content:""}.issue-list-meta:after{display:table;clear:both;content:""}.issue-list-meta>li{display:inline-block;margin-right:10px}.issue-list-meta a{color:#333}.issue-list-meta .octicon{color:#838383;vertical-align:middle}.issue-list-item{border-bottom:1px solid #f1f1f1;padding:0 0 20px 40px;margin:0 0 20px;position:relative}.labels-list-item .table-list-cell{width:100%}.labels-list-item .label{display:inline-block;height:34px;padding:0 10px;margin-right:5px;font-size:16px;font-weight:bold;line-height:34px;text-align:center;border-radius:3px;-webkit-transition:all 0.2s linear;transition:all 0.2s linear}.labels-list-item .label .octicon{margin-right:3px}.labels-list-item .label:hover{opacity:0.85}.labels-list-item.open .label,.labels-list-item.open .label-description,.labels-list-item.open .labels-list-action{display:none}.labels-list-item.open .label-delete{display:block;text-align:left}.labels-list-item.edit .label,.labels-list-item.edit .label-description,.labels-list-item.edit .labels-list-action{display:none}.labels-list-item.edit .label-edit{display:block}.label-description{padding:8px 10px;color:#999}.label-delete-confirmation{line-height:34px}.labels-list-actions{margin-left:60px}.labels-list-action{float:left;display:block;color:#999;padding:8px 10px}.labels-list-action .octicon{margin-right:2px}.labels-list-action .octicon-pencil{font-size:14px}.labels-list-action:hover{color:#4183c4;cursor:pointer}.new-label{display:none;padding:10px;margin-bottom:15px;background-color:#fafafa;border:1px solid #e5e5e5;border-radius:3px}.new-label .label-edit{display:block}.new-label .label-edit:before{display:table;content:""}.new-label .label-edit:after{display:table;clear:both;content:""}.new-label-actions{float:right}.open .new-label{display:block}.label-spinner{display:none;float:left;margin-left:-35px;margin-top:9px}.label-edit:before{display:table;content:""}.label-edit:after{display:table;clear:both;content:""}.label-edit label{display:block;margin-bottom:5px}.label-edit .error{float:left;margin-top:8px;margin-left:10px;color:#f00}.label-edit.is-valid .color-editor .octicon-check{display:block}.label-edit.loading .label-spinner{display:block}.color-editor{position:relative;float:left;width:100px}.color-editor.open .label-colors{display:block}.color-editor-bg{position:absolute;left:0;z-index:10;width:20px;height:20px;margin-top:7px;margin-left:7px;cursor:pointer;border-radius:3px}input.color-editor-input{width:100px;padding-left:34px;border-color:#ccc !important}input.color-editor-input:focus{border-color:#51a7e8 !important}input.color-editor-input:focus ~ .label-colors{display:block}.invalid-color-indicator{display:none;position:absolute;top:7px;left:7px;z-index:11;width:20px;height:20px;line-height:20px;font-weight:bold;color:#fff;text-align:center}.label-edit-name{width:40%;float:left;margin-right:10px}.label-colors{position:absolute;left:0;float:left;display:none;width:auto;margin-left:0;padding:5px}.label-colors:before{left:8px}.label-colors:after{left:9px}.label-edit,.label-delete{display:none}.label-delete-form{display:inline}.label-delete-form.loading .label-delete-spinner{display:block}.label-delete-spinner{display:none;margin-top:10px;margin-right:10px;float:left}.color-chooser{display:table-row;height:25px;list-style:none}.color-chooser li{display:table-cell;width:1%}.color-chooser li:hover{position:relative;z-index:2;outline:2px solid #fff;box-shadow:0 0 5px 2px rgba(0,0,0,0.25)}.color-chooser .color-cooser-color{display:block;width:25px;height:25px;text-align:center;cursor:pointer}.repository-lang-stats{position:relative}.repository-lang-stats ol.repository-lang-stats-numbers li{display:table-cell;width:1%;border-bottom:0;text-align:center;padding:11px 5px;white-space:nowrap}.repository-lang-stats ol.repository-lang-stats-numbers li span.percent{float:none}.repository-lang-stats ol.repository-lang-stats-numbers li>a,.repository-lang-stats ol.repository-lang-stats-numbers li>span{color:#999;text-decoration:none;font-weight:bold}.repository-lang-stats ol.repository-lang-stats-numbers li .lang{color:#333}.repository-lang-stats ol.repository-lang-stats-numbers li .language-color{display:inline-block;width:10px;height:10px;border-radius:50%}.repository-lang-stats ol.repository-lang-stats-numbers li a:hover{background:transparent}.stats-switcher-viewport{overflow:hidden;height:38px}.stats-switcher-viewport .stats-switcher-wrapper{position:relative;top:0;-webkit-transition:top 0.25s ease-in-out;transition:top 0.25s ease-in-out}.stats-switcher-viewport.is-revealing-lang-stats .stats-switcher-wrapper{top:-38px}.repository-lang-stats-graph{display:block;width:100%;height:auto;line-height:12px;white-space:nowrap;border-bottom-left-radius:3px;border-bottom-right-radius:3px;overflow:hidden}.repository-lang-stats-graph span{display:inline-block;height:8px;background:#ccc;text-indent:-9999px}.repository-lang-stats-graph .language-color{height:auto;line-height:12px;vertical-align:top}.repository-lang-stats-graph .language-color:first-child{border-bottom-left-radius:3px}.repository-lang-stats-graph .language-color:last-child{border-bottom-right-radius:3px}.language-color{background-color:#ccc}.list-group-item{position:relative;display:block;margin-bottom:-1px;padding:8px 10px 10px 40px;border:1px solid #e5e5e5}.list-group-item a:hover{text-decoration:none}.list-group-item:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.list-group-item:last-child{margin-bottom:0;border-bottom-left-radius:3px;border-bottom-right-radius:3px}.list-group-item.closed{background-color:#fcfcfc}.list-group-item.selectable{padding-left:60px}.list-group-item.selected{background-color:#ffffef}.list-group-item.navigation-focus{background-color:#f5f9fc}.list-group-item .list-group-item-summary a{color:#666}.list-group-item .list-group-item-summary a.quiet{color:#999}.list-group-item .status{position:relative;top:2px;margin-right:-9px;float:right}.list-group-item .type-icon{vertical-align:middle;position:relative;top:1px;width:16px;text-align:center}.list-group-item .assignee{float:right}.list-group-item .assignee img{display:block;border-radius:2px}.list-group-item .labels{display:inline-block;top:-2px;margin-bottom:-2px;margin-left:4px}.list-group-item-name{margin:0 60px 2px 0;font-size:15px;line-height:1.3;word-wrap:break-word}.list-group-item-name .type-icon{float:left;margin-top:1px;margin-left:-24px}.list-group-item-link{color:#333}.closed.octicon,.reverted.octicon{color:#bd2c00}.open.octicon{color:#6cc644}.merged.octicon{color:#6e5494}.list-group-item-summary{margin-top:2px}.list-group-item-summary p{margin:0 0 5px}.standalone .list-group-item-summary p{margin-bottom:0}.animated-ellipsis-container{display:inline-block;overflow:hidden;height:12px;width:12px;-webkit-transform:translateZ(0)}.animated-ellipsis-container>.animated-ellipsis{overflow:hidden;display:inline-block;vertical-align:bottom}@-webkit-keyframes ellipsis{from{width:2px}to{width:12px}}@keyframes ellipsis{from{width:2px}to{width:12px}}.large-loading-area{text-align:center;padding:100px 0}.loading-area{text-align:center}.context-loader.large-format-loader{position:fixed;display:none;top:0;left:0;bottom:0;right:0;margin:0;width:auto;padding:190px 0 0;font-weight:normal;background:rgba(255,255,255,0.8);border:0;z-index:9999;text-align:center;color:#999}.context-loader.large-format-loader.is-loading{display:block}
diff --git a/public/css/github-code-cdn.css b/public/css/github-code-cdn.css
new file mode 100644
index 00000000..7c2f1e55
--- /dev/null
+++ b/public/css/github-code-cdn.css
@@ -0,0 +1 @@
+.marketing .pagehead h1{font-size:30px}.marketing .pagehead p{margin-top:4px;margin-bottom:0;font-size:14px;color:#777}.marketing .pagehead ul.actions{margin-top:10px}.marketing h2 .secure{float:right;padding:1px 0;font-size:11px;font-weight:bold;text-transform:uppercase;color:#6cc644}.marketing .questions p{font-size:14px}.marketing-header{margin-bottom:40px}.marketing-header h1{margin-top:0;margin-bottom:0;font-size:42px;font-weight:300}.marketing-header .lead{color:#777;max-width:750px;margin:10px auto 0}.marketing-header .button{margin-top:15px;padding:12px 20px;font-size:18px;font-weight:normal;border-radius:6px}.marketing-section{position:relative;padding-top:80px;padding-bottom:80px;border-bottom:1px solid #e5e5e5;text-align:center;font-size:16px;line-height:1.5}.marketing-section:before{display:table;content:""}.marketing-section:after{display:table;clear:both;content:""}.marketing-section h3{font-size:21px;font-weight:normal}.marketing-section-stripe{background-color:#f5f5f5}.marketing-hero-octicon{width:100px;height:100px;border-radius:50px;text-align:center;border:solid 1px #e5e5e5;margin:0 auto 15px}.marketing-hero-octicon .mega-octicon{color:#4183c4;font-size:48px;line-height:100px}.marketing-hero-octicon .octicon-checklist{position:relative;right:-3px}.marketing-grid{font-size:14px}.marketing-grid .column{padding:20px 25px 40px}.marketing-grid p{margin:0 auto;max-width:90%;color:#5a5a5a}.marketing-grid .mega-octicon{color:#4183c4}.read-it{padding-top:50px;text-align:center;border-top:1px solid #eee}.contact-form .input-block{margin-top:10px;margin-bottom:10px}.contact-form textarea{height:200px}.checklist{margin:20px 0;font-size:12px}.checklist>li{margin:15px 0 15px 18px;list-style-position:outside}.hanging-list li,.hanging-icon-list li{margin:10px 0;font-size:14px}.hanging-list li{margin-left:12px;list-style-position:inside}.hanging-icon-list li{padding-left:25px;list-style-type:none}.hanging-icon-list .octicon{float:left;margin-left:-20px;color:#999}.hanging-icon-list .octicon-check{color:#6cc644}.hanging-icon-list .octicon-x{color:#bd2c00}.logos-page h3{font-size:18px}.logos-download{position:relative;display:block;float:left;width:32%;height:290px;margin-bottom:30px;padding-top:20px;text-align:center;border:1px solid #ddd;border-radius:6px}.logos-download+.logos-download{margin-left:2%}.logos-download .gh-logo{margin-top:70px}.logos-download .gh-octocat{margin-top:10px}.logos-download-link{position:absolute;right:0;bottom:0;left:0;display:block;padding:15px 20px;font-size:16px;font-weight:bold;background-color:#f5f5f5;border-top:1px solid #ddd;border-radius:0 0 5px 5px}.logos-download-link .octicon{vertical-align:2px}.logos-download:hover{text-decoration:none}.logos-download:hover .logos-download-link{background-color:#eee}.nonprofit-head{padding:100px 0 120px;border-bottom:1px solid #eee;text-align:center;position:relative;overflow:hidden}.nonprofit-head .title{font-weight:300;font-size:30px;color:#777;margin-bottom:20px;display:inline-block;border-bottom:1px solid #ccc}.nonprofit-head .title .mega-octicon{color:#333}.nonprofit-head .logo{vertical-align:middle}.nonprofit h1{font-weight:300;font-size:28px;line-height:1.5em;position:relative}.nonprofit h2{font-weight:normal}.heart{width:12px;height:12px;background:#83d6c0;box-shadow:140px 30px 0 #efa, 120px -120px 0 #aded84, 220px -60px 0 #ded, 30px 240px 0 #ada, 60px -60px 0 #d76666, 60px -30px 0 #ff846f, 60px 0 0 #f9a7a7, 60px 30px 0 #ffc8c8, 60px 60px 0 #ffd8d8, 30px 60px 0 #baf2ca, 30px 30px 0 #98eaac, 30px 0 0 #80d896, 30px -30px 0 #6dd085, 30px -60px 0 #55be6f, 0 -60px 0 #4cc2a7, 0 -30px 0 #73d3b9, 0 30px 0 #93e3cd, 0 60px 0 #adf9e4, -30px 60px 0 #ffe1b9, -30px 30px 0 #ffd194, -30px 0 0 #ffc86f, -60px 0 0 #fd9ff0, -60px 30px 0 #ffbaf7, -60px 60px 0 #fccdf7, -180px 60px 0 #9df;position:absolute;left:50%;top:40%;margin-left:400px;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.heart.left{margin-left:-400px;-webkit-transform:rotate(-45deg),scaleX(-1);-ms-transform:rotate(-45deg),scaleX(-1);transform:rotate(-45deg),scaleX(-1)}.octo-earth{position:absolute;left:50%;bottom:-150px;margin-left:-120px;-webkit-animation:rotate 20s infinite linear;animation:rotate 20s infinite linear}@-webkit-keyframes rotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(-360deg);transform:rotate(-360deg)}}@keyframes rotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(-360deg);transform:rotate(-360deg)}}.nonprofit-steps{margin-left:30px;font-size:20px;font-weight:300}.nonprofit-steps li{margin-bottom:10px}.nonprofit-steps ul{margin:15px 0 0 20px;list-style:square}.nonprofit-section{padding:50px 0;background:#f5f5f5}.nonprofit-section.feature-line{text-align:center}.nonprofit-section .dialog{width:640px;background:#fff;margin:30px auto 0;text-align:left;padding:30px}.nonprofit-section .dialog h2:first-child{margin-top:0}.nonprofit-section .dialog p:last-child{margin-bottom:0}.nonprofit-section .dialog .notice{background:#fee;margin:20px 0 0;padding:15px}.dialog.edu-callout{border:5px solid #aec;padding:25px}.dialog.edu-callout p{margin-top:0}.dialog.edu-callout .mega-octicon{color:#418f65;height:54px;width:54px;padding:10px 0;margin:0 15px 0 0;text-align:center;vertical-align:top;float:left;border-radius:30px}.integrations{font-family:"Helvetica Neue", Helvetica, Arial, sans-serif}.integrations .site-footer{border-top:1px solid rgba(255,255,255,0.2);margin-top:-99px}.integrations .site-footer,.integrations .site-footer a,.integrations .site-footer .octicon-mark-github{color:#fff}.integrations-illustration-container{display:block;height:100%;width:100%;color:#fff;background:url(/assets/modules/integrations/circuits@2x-0d148034d516afb1364dd2c902bf6b70646a6012f0fd316d38ce2068b6714d42.png) center bottom/1780px 295px no-repeat transparent}.integrations-illustration-container .lead{color:#0a4568;width:550px}.integrations-illustration-container a{color:#0a4568;text-decoration:underline}.integrations-intro{background:url(/assets/modules/integrations/circuits-animated-ac2d457426c64e1a6ee28d49c060a8d53b35e62363b60f913c93604bcb2d0fb4.gif) center 238px/500px 350px no-repeat #1781c0;padding-bottom:0}.integrations-intro .lead{margin-bottom:350px}.integrations-intro .marketing-header{margin-bottom:0}.integrations-outro{background:url(/assets/modules/integrations/circuits-animated-flipped-7f66e8d1687504444b81960de7ed7bfd4a43bc29d368129819c406d1c2ab124e.gif) center -74px/350px 262px no-repeat #1781c0;padding-top:0;padding-bottom:218px}.integrations-outro .integrations-illustration-container{background:url(/assets/modules/integrations/circuits-flipped@2x-a94eaad756085840013ee1f0aedcaf3c956d67e17ce23184b7d87e68c96d231d.png) center top/1685px 174px no-repeat transparent;padding-top:240px}.button.outro-button{font-size:20px;font-weight:200;background:#0a4568;border:0;padding:10px 15px;color:#fafafa;text-decoration:none;text-shadow:none}.integrations-contact-info{color:#0a4568;margin:40px auto 0}.slideshow-nav{list-style:none;margin-top:100px}.slideshow-nav>li{display:inline-block;margin:0 15px}.slideshow-nav>li>a{display:block;height:50px;text-indent:-999em;opacity:0.7;-webkit-transition:opacity 0.15s ease-in-out;transition:opacity 0.15s ease-in-out}.slideshow-nav>li>a:hover{opacity:1}.slideshow-nav .active>a{background-position:0 -50px;opacity:1}.integrations-tab-asana{background-image:url(/assets/modules/integrations/logos/asana@2x-998cd803867acdcf11404fda9c301e4e49d20cce4566a73f9033ba7b2121f580.png);background-size:137px 100px;width:137px;position:relative;bottom:-8px}.integrations-tab-pivotaltracker{background-image:url(/assets/modules/integrations/logos/pivotaltracker@2x-018ec7aa07e3165a56755228f50f0ac8b0c839810d590fb9a8b9328d31833a74.png);background-size:278px 100px;width:278px}.integrations-tab-zendesk{background-image:url(/assets/modules/integrations/logos/zendesk@2x-d9f9ee6ca812bf9204944ceef5fdd4da15feca584e66cc94fdc19e1d92706f9b.png);background-size:154px 100px;width:154px}.integrations-slide-content{height:370px;list-style:none;position:relative}.integrations-slide-content>li{position:absolute;visibility:hidden;-webkit-transition:all 0.5s ease-in-out;transition:all 0.5s ease-in-out;-webkit-transform:translateY(50px),scale(0.95);-ms-transform:translateY(50px),scale(0.95);transform:translateY(50px),scale(0.95);opacity:0}.integrations-slide-content>.active{visibility:visible;-webkit-transform:translateY(0),scale(1);-ms-transform:translateY(0),scale(1);transform:translateY(0),scale(1);opacity:1}.integrations-screenshot{margin-top:20px;max-width:100%}.integrations-slide-description{max-width:600px;display:inline-block;-webkit-backface-visibility:hidden}.integrations-logo-container{min-height:70px;margin-bottom:20px}.integrations-imagelist{list-style:none}.integrations-imagelist>li{margin-top:90px;margin-bottom:50px}.integrations-imagelist>li>p{max-width:470px;text-align:left;display:inline-block;vertical-align:middle}.integrations-logo-left{margin-right:40px}.integrations-logo-right{margin-left:40px}.features-next .lead strong{color:#444}.features-next .native-mobile-screens{list-style-type:none;border-bottom:solid 1px #d9d9d9;line-height:0;padding-left:0}.features-next .native-mobile-screens li{display:inline;margin:0 5px 30px}.team-org-chart{margin:30px auto;width:470px}.team-org-chart .mega-octicon{vertical-align:middle}.team-org-group{border:solid 1px #ccc;background-color:#fff;text-align:center;font-size:16px;padding:10px;margin-bottom:13px;border-radius:3px}.team-org-group strong{color:#333}.team-org-team{width:147px;height:120px;display:inline-block;vertical-align:top}.team-org-team+.team-org-team{margin-left:10px}.octicon-jersey-red{color:#bd2c00}.octicon-jersey-green{color:#6cc644}.octicon-jersey-orange{color:#f93}.team-org-members{margin-top:15px}.team-org-members .octicon{color:#aaa}.team-org-repos .mega-octicon{color:#bbb;margin:0 5px}.team-animation{-webkit-animation-duration:12s;animation-duration:12s;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.team-design{-webkit-animation-name:teamDesign;animation-name:teamDesign}.team-dev{-webkit-animation-name:teamDev;animation-name:teamDev}.team-marketing{-webkit-animation-name:teamMarketing;animation-name:teamMarketing}.team-dev-design{-webkit-animation-name:teamDevDesign;animation-name:teamDevDesign}.team-dev-design-marketing{-webkit-animation-name:teamDevDesignMarketing;animation-name:teamDevDesignMarketing}.features-section img{max-width:100%}.features-section code{font-size:0.9em}.features-section p{max-width:750px;margin-right:auto;margin-left:auto}.features-repo-count{white-space:nowrap}.features-content-right{float:right;width:470px;text-align:left}.features-content-left{float:left;width:470px;text-align:left}.diagram-icon{position:absolute;border-radius:50px;border:solid 4px #4183c4;background-color:#fff;width:53px;height:53px;text-align:center;line-height:55px;color:#4183c4}.diagram-icon-small{position:absolute;color:#4183c4;margin-top:2px\9}.diagram-icon-branch{top:-13px;left:81px;-webkit-animation:bounceIn 0.6s ease-in-out 0.25s 1 normal both;animation:bounceIn 0.6s ease-in-out 0.25s 1 normal both}.diagram-icon-pr{top:89px;left:405px;-webkit-animation:bounceIn 0.6s ease-in-out 1.8s 1 normal both;animation:bounceIn 0.6s ease-in-out 1.8s 1 normal both}.diagram-icon-merge{top:-13px;left:843px;-webkit-animation:bounceIn 0.6s ease-in-out 3.7s 1 normal both;animation:bounceIn 0.6s ease-in-out 3.7s 1 normal both}.diagram-icon-commit-1{top:101px;left:240px;-webkit-animation:bounceIn 0.6s ease-in-out 1.3s 1 normal both;animation:bounceIn 0.6s ease-in-out 1.3s 1 normal both;background-color:#fff}.diagram-icon-commit-2{top:101px;left:295px;-webkit-animation:bounceIn 0.6s ease-in-out 1.4s 1 normal both;animation:bounceIn 0.6s ease-in-out 1.4s 1 normal both;background-color:#fff}.diagram-icon-commit-3{top:101px;left:350px;-webkit-animation:bounceIn 0.6s ease-in-out 1.5s 1 normal both;animation:bounceIn 0.6s ease-in-out 1.5s 1 normal both;background-color:#fff}.diagram-icon-discussion-1{top:79px;left:488px;-webkit-animation:bounceIn 0.6s ease-in-out 2s 1 normal both;animation:bounceIn 0.6s ease-in-out 2s 1 normal both;opacity:0.3}.diagram-icon-commit-4{top:101px;left:515px;-webkit-animation:bounceIn 0.6s ease-in-out 2.1s 1 normal both;animation:bounceIn 0.6s ease-in-out 2.1s 1 normal both;background-color:#fff}.diagram-icon-discussion-2{top:131px;left:542px;-webkit-animation:bounceIn 0.6s ease-in-out 2.2s 1 normal both;animation:bounceIn 0.6s ease-in-out 2.2s 1 normal both;opacity:0.3}.diagram-icon-commit-5{top:101px;left:570px;-webkit-animation:bounceIn 0.6s ease-in-out 2.3s 1 normal both;animation:bounceIn 0.6s ease-in-out 2.3s 1 normal both;background-color:#fff}.diagram-icon-discussion-3{top:79px;left:597px;-webkit-animation:bounceIn 0.6s ease-in-out 2.4s 1 normal both;animation:bounceIn 0.6s ease-in-out 2.4s 1 normal both;opacity:0.3}.diagram-icon-commit-6{top:101px;left:625px;-webkit-animation:bounceIn 0.6s ease-in-out 2.5s 1 normal both;animation:bounceIn 0.6s ease-in-out 2.5s 1 normal both;background-color:#fff}.diagram-icon-discussion-4{top:131px;left:652px;-webkit-animation:bounceIn 0.6s ease-in-out 2.6s 1 normal both;animation:bounceIn 0.6s ease-in-out 2.6s 1 normal both;opacity:0.3}.diagram-icon-commit-7{top:101px;left:680px;-webkit-animation:bounceIn 0.6s ease-in-out 2.7s 1 normal both;animation:bounceIn 0.6s ease-in-out 2.7s 1 normal both;background-color:#fff}.diagram-icon-discussion-5{top:79px;left:707px;-webkit-animation:bounceIn 0.6s ease-in-out 2.8s 1 normal both;animation:bounceIn 0.6s ease-in-out 2.8s 1 normal both;opacity:0.3}.features-branch-diagram{position:relative;margin-top:40px;margin-bottom:50px}.preload .diagram-animation{-webkit-animation:none !important;animation:none !important;opacity:0}.mobile .diagram-animation{-webkit-animation:none !important;animation:none !important;opacity:1}.features-highlight{margin:8px 0;display:inline-block;background-color:#e7e7e7;padding:10px;border-radius:3px}.features-highlight i{font-style:normal;color:#4183c4}.features-callout{border:solid 1px #eee;border-radius:3px;padding:10px;margin-top:15px;margin-bottom:45px;display:inline-block;color:#777;font-size:14px;line-height:1.4;text-align:left;width:450px}.features-callout>p{margin-top:0;margin-bottom:0}.features-callout .left{margin-right:10px;vertical-align:center}.features-copy-minor{font-size:12px;color:#555}.svn-callout{clear:both;padding-top:30px;padding-left:217px;line-height:0.8;text-align:left}.svn-callout-heading{font-size:18px;margin-bottom:0;color:#444}.svn-callout-logo{margin-left:-70px;margin-top:-1px;float:left}@-webkit-keyframes teamDev{3%{border-color:#bd2c00;color:#bd2c00}27%{border-color:#bd2c00;color:#bd2c00}30%{border-color:#ccc;color:#bbb}}@keyframes teamDev{3%{border-color:#bd2c00;color:#bd2c00}27%{border-color:#bd2c00;color:#bd2c00}30%{border-color:#ccc;color:#bbb}}@-webkit-keyframes teamDesign{34%{border-color:#ccc;color:#bbb}37%{border-color:#6cc644;color:#6cc644}60%{border-color:#6cc644;color:#6cc644}63%{border-color:#ccc;color:#bbb}}@keyframes teamDesign{34%{border-color:#ccc;color:#bbb}37%{border-color:#6cc644;color:#6cc644}60%{border-color:#6cc644;color:#6cc644}63%{border-color:#ccc;color:#bbb}}@-webkit-keyframes teamMarketing{67%{border-color:#ccc;color:#bbb}70%{border-color:#f93;color:#f93}94%{border-color:#f93;color:#f93}}@keyframes teamMarketing{67%{border-color:#ccc;color:#bbb}70%{border-color:#f93;color:#f93}94%{border-color:#f93;color:#f93}}@-webkit-keyframes teamDevDesign{3%{border-color:#bd2c00;color:#bd2c00}27%{border-color:#bd2c00;color:#bd2c00}30%{border-color:#ccc;color:#bbb}34%{border-color:#ccc;color:#bbb}37%{border-color:#6cc644;color:#6cc644}60%{border-color:#6cc644;color:#6cc644}63%{border-color:#ccc;color:#bbb}}@keyframes teamDevDesign{3%{border-color:#bd2c00;color:#bd2c00}27%{border-color:#bd2c00;color:#bd2c00}30%{border-color:#ccc;color:#bbb}34%{border-color:#ccc;color:#bbb}37%{border-color:#6cc644;color:#6cc644}60%{border-color:#6cc644;color:#6cc644}63%{border-color:#ccc;color:#bbb}}@-webkit-keyframes teamDevDesignMarketing{3%{border-color:#bd2c00;color:#bd2c00}27%{border-color:#bd2c00;color:#bd2c00}30%{border-color:#ccc;color:#bbb}34%{border-color:#ccc;color:#bbb}37%{border-color:#6cc644;color:#6cc644}60%{border-color:#6cc644;color:#6cc644}63%{border-color:#ccc;color:#bbb}67%{border-color:#ccc;color:#bbb}70%{border-color:#f93;color:#f93}94%{border-color:#f93;color:#f93}}@keyframes teamDevDesignMarketing{3%{border-color:#bd2c00;color:#bd2c00}27%{border-color:#bd2c00;color:#bd2c00}30%{border-color:#ccc;color:#bbb}34%{border-color:#ccc;color:#bbb}37%{border-color:#6cc644;color:#6cc644}60%{border-color:#6cc644;color:#6cc644}63%{border-color:#ccc;color:#bbb}67%{border-color:#ccc;color:#bbb}70%{border-color:#f93;color:#f93}94%{border-color:#f93;color:#f93}}@-webkit-keyframes bounceIn{0%{opacity:0;-webkit-transform:scale(0.3);transform:scale(0.3)}50%{opacity:1;-webkit-transform:scale(1.05);transform:scale(1.05)}70%{-webkit-transform:scale(0.9);transform:scale(0.9)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes bounceIn{0%{opacity:0;-webkit-transform:scale(0.3);transform:scale(0.3)}50%{opacity:1;-webkit-transform:scale(1.05);transform:scale(1.05)}70%{-webkit-transform:scale(0.9);transform:scale(0.9)}100%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}.segmented-nav-tab{display:none;margin-top:40px}.segmented-nav-tab:before{display:table;content:""}.segmented-nav-tab:after{display:table;clear:both;content:""}.segmented-nav-tab.active{display:block}.octicon-list{list-style:none;margin-left:26px;margin-bottom:28px}.octicon-list li{margin-bottom:20px;position:relative}.octicon-list .octicon{position:absolute;margin-left:-22px;top:3px;color:#4183c4}.segmented-nav{margin:20px auto;list-style:none;display:inline-block}.segmented-nav>li{float:left;border:1px solid #ddd;position:relative;z-index:1}.segmented-nav>li>a{display:inline-block;height:32px;margin:0 auto;padding:6px 20px 7px;font-size:15px;line-height:20px;color:#555;text-align:center;text-decoration:none}.segmented-nav>li+li{margin-left:-1px}.segmented-nav>li:first-child{border-top-left-radius:4px;border-bottom-left-radius:4px}.segmented-nav>li:last-child{border-top-right-radius:4px;border-bottom-right-radius:4px}.segmented-nav>li.active{position:relative;border-color:#4183c4;color:#fff;background-color:#4183c4;z-index:2}.segmented-nav>li.active a,.segmented-nav>li.active a:hover{color:#fff}.segmented-nav>li:hover{border-color:#4183c4;z-index:2}.segmented-nav>li:hover a{color:#4183c4}.table-list{display:table;table-layout:fixed;width:100%;color:#999;border-bottom:1px solid #e5e5e5}.table-list-bordered .table-list-cell:first-child{border-left:1px solid #e5e5e5}.table-list-bordered .table-list-cell:last-child{border-right:1px solid #e5e5e5}.table-list-item{position:relative;list-style:none;display:table-row}.table-list-item.unread .table-list-cell-checkbox{border-left-color:#4183c4;box-shadow:2px 0 0 #4183c4 inset}.table-list-item.selected .table-list-cell-checkbox{border-left-color:#999;box-shadow:2px 0 0 #999 inset}.table-list-cell{position:relative;display:table-cell;padding:8px 10px;font-size:12px;vertical-align:top;border-top:1px solid #eee}.table-list-cell.flush-left{padding-left:0}.table-list-cell.flush-right{padding-right:0}.table-list-cell-checkbox{width:30px;padding-left:0;padding-right:0;text-align:center}.select-toggle-check{margin-top:7px}.table-list-cell-type{padding-top:10px;padding-left:0;padding-right:0;width:20px;text-align:center}.table-list-cell-type>a{display:inline-block}.table-list-cell-type .octicon{margin-top:3px}.table-list-cell-type:first-child{padding-left:10px}.table-list-cell-avatar{padding-left:0;padding-right:0;width:16px}.table-list-header{position:relative;z-index:22;margin-top:20px;margin-bottom:-1px;background-color:#f5f5f5;border:1px solid #e5e5e5;border-radius:3px 3px 0 0}.table-list-header:before{display:table;content:""}.table-list-header:after{display:table;clear:both;content:""}.table-list-header .button-link{position:relative;display:inline-block;padding-top:13px;padding-bottom:13px;font-weight:normal}.table-list-header-select-all{float:left;width:30px;padding:12px 10px;margin-right:5px;margin-left:-1px;text-align:center}.table-list-header-meta{display:inline-block;padding-top:13px;padding-bottom:13px;color:#777}.table-list-filters:first-child .table-list-header-toggle:first-child{padding-left:10px}.table-list-header-toggle.states .selected{font-weight:bold}.table-list-header-toggle .button-link{color:#777}.table-list-header-toggle .button-link .octicon{margin-right:2px}.table-list-header-toggle .button-link:hover{color:#222;text-decoration:none}.table-list-header-toggle .button-link.selected,.table-list-header-toggle .button-link.selected:hover{color:#222}.table-list-header-toggle .button-link+.button-link{margin-left:10px}.table-list-header-toggle .select-menu{position:relative}.table-list-header-toggle .select-menu-item.selected{font-weight:bold}.table-list-header-toggle .select-menu-button{padding-right:15px;padding-left:15px}.table-list-header-toggle .select-menu-button:hover,.table-list-header-toggle .select-menu-button.selected,.table-list-header-toggle .select-menu-button.selected:hover{color:#222}.table-list-header-toggle .select-menu-modal-holder{right:10px}.table-list-header-toggle .select-menu-modal-holder .select-menu-modal{margin-top:-1px}.table-list-triage{display:none}.triage-mode .table-list-filters{display:none}.triage-mode .table-list-triage{display:block}.subhead{padding-bottom:20px;margin-top:10px;margin-bottom:20px;border-bottom:1px solid #eee}.subhead-heading{margin-top:0;margin-bottom:0}.subhead-description{margin-top:5px;margin-bottom:0;font-size:14px;color:#777}.subnav{margin-bottom:20px}.subnav:before{display:table;content:""}.subnav:after{display:table;clear:both;content:""}.subnav>.right{margin-left:10px}.subnav-bordered{padding-bottom:20px;border-bottom:1px solid #eee}.subnav-flush{margin-bottom:0}.subnav-item{position:relative;float:left;padding:7px 14px;font-weight:bold;color:#666;border:1px solid #e5e5e5}.subnav-item+.subnav-item{margin-left:-1px}.subnav-item:hover,.subnav-item:focus{text-decoration:none;background-color:#f5f5f5}.subnav-item.selected,.subnav-item.selected:hover,.subnav-item.selected:focus{z-index:2;color:#fff;background-color:#4183c4;border-color:#4183c4}.subnav-item:first-child{border-top-left-radius:3px;border-bottom-left-radius:3px}.subnav-item:last-child{border-top-right-radius:3px;border-bottom-right-radius:3px}.subnav-search{position:relative;margin-left:10px}input.subnav-search-input{width:320px;padding-left:30px;color:#777;border-color:#d5d5d5}input.subnav-search-input-wide{width:500px}.subnav-search-icon{position:absolute;top:0;left:1px;display:block;width:30px;height:34px;line-height:34px;color:#ccc;text-align:center}.subnav-search-context .button{color:#555;border-top-right-radius:0;border-bottom-right-radius:0}.subnav-search-context .button:hover,.subnav-search-context .button:focus,.subnav-search-context .button:active,.subnav-search-context .button.selected{z-index:2}.subnav-search-context+.subnav-search{margin-left:-1px}.subnav-search-context+.subnav-search .subnav-search-input{border-top-left-radius:0;border-bottom-left-radius:0}.subnav-search-context .select-menu-modal-holder{z-index:30}.subnav-search-context .select-menu-modal{width:220px}.subnav-search-context .select-menu-item-icon{color:inherit}.subnav-divider-right{padding-right:10px;border-right:1px solid #eee}.blankslate{position:relative;padding:30px;text-align:center;background-color:#fafafa;border:1px solid #e5e5e5;border-radius:3px;box-shadow:inset 0 0 10px rgba(0,0,0,0.05)}.blankslate.clean-background{background:none;border:0;box-shadow:none}.blankslate.capped{border-radius:0 0 3px 3px}.blankslate.spacious{padding:100px 60px 120px}.blankslate.has-fixed-width{width:485px;margin:0 auto}.blankslate.large-format h3{margin:0.75em 0;font-size:20px}.blankslate.large-format p{font-size:16px}.blankslate.large-format p.has-fixed-width{width:540px;margin:0 auto;text-align:left}.blankslate.large-format .mega-octicon{width:40px;height:40px;font-size:40px;color:#aaa}.blankslate.large-format .octicon-inbox{font-size:48px;line-height:40px}.blankslate code{padding:2px 5px 3px;font-size:14px;background:#fff;border:1px solid #eee;border-radius:3px}.blankslate>.mega-octicon{color:#aaa}.blankslate .mega-octicon+.mega-octicon{margin-left:10px}.tabnav+.blankslate{margin-top:20px}.blankslate .context-loader.large-format-loader{padding-top:50px}.spinner-forking{display:block;margin:20px auto 40px}.forking-repo{margin:40px 0;text-align:center}.forking-repo h3{margin-bottom:10px;font-size:28px;font-weight:300}.forking-repo h4{margin:0 0 30px;font-size:16px;font-weight:300}.boxed-group{position:relative;border-radius:3px;margin-bottom:30px}.boxed-group .counter{color:#fff;background-color:#babec0}.boxed-group.flush .boxed-group-inner{padding:0}.boxed-group.condensed .boxed-group-inner{font-size:12px;padding:0}.boxed-group>h3,.boxed-group .heading{background-color:#f5f5f5;margin:0;border-radius:3px 3px 0 0;border:1px solid #d8d8d8;border-bottom:0;padding:9px 10px 10px;font-size:14px;line-height:17px;display:block}.boxed-group>h3 a,.boxed-group .heading a{color:inherit}.boxed-group>h3 a.boxed-group-breadcrumb,.boxed-group .heading a.boxed-group-breadcrumb{color:#666;font-weight:normal;text-decoration:none}.boxed-group>h3 .avatar,.boxed-group .heading .avatar{margin-top:-4px}.boxed-group .tabnav.heading{padding:0}.boxed-group .tabnav.heading .tabnav-tab.selected{border-top:0}.boxed-group .tabnav.heading li:first-child .selected{border-left-color:#fff;border-top-left-radius:3px}.boxed-group .tabnav-tabs a{border-radius:0;border-top:0}.boxed-group code.heading{font-size:12px}.boxed-group.dangerzone>h3{background-color:#df3e3e;border:1px solid #a00;color:#fff;text-shadow:0 -1px 0 #900}.boxed-group.dangerzone .boxed-group-inner{border-top:0}.boxed-group.condensed>h3{padding:6px 6px 7px;font-size:12px}.boxed-group.condensed>h3 .octicon{padding:0 6px 0 2px}.one-half .boxed-group,.dashboard-sidebar .boxed-group{margin-bottom:20px}.boxed-group .bleed-flush{width:100%;padding:0 10px;margin-left:-10px}.boxed-group .compact{margin-top:10px;margin-bottom:10px}.boxed-group-inner{padding:1px 10px;background:#fff;border:1px solid #d8d8d8;border-bottom-left-radius:3px;border-bottom-right-radius:3px;color:#666;font-size:13px}.boxed-group-inner .markdown-body{padding:20px 10px 10px;font-size:13px}.boxed-group-inner strong{color:#333}.boxed-group-inner.markdown-body{padding-top:10px;padding-bottom:10px}.boxed-group-inner.seamless{padding:0}.boxed-group-inner h4{margin:15px 0 -5px;font-size:14px;color:#000}.boxed-group-inner .tabnav{margin-left:-10px;margin-right:-10px;padding-left:10px;padding-right:10px}.boxed-group-inner .tabnav-tab.selected{border-top:1px solid #ddd}.boxed-group-inner .help{clear:both;margin:1em -10px 0;padding:1em 10px 1em 35px;border-top:1px solid #ddd;color:#999}.boxed-group-inner .help .octicon{margin-left:-25px;margin-right:5px}.boxed-group-inner .flash-global{margin-left:-10px;margin-right:-10px;border-top:0}.boxed-action{float:right;margin-left:10px}.boxed-group-action{float:right;margin:6px 10px 0 0;position:relative;z-index:2}.boxed-group-action.flush{margin-top:0;margin-right:0}.boxed-group-action>.octicon{color:#999;margin-top:4px}.boxed-group-action>button{background-color:transparent;border:0;-webkit-appearance:none}.field-with-errors{display:inline}.compact-options{margin:-6px 0 13px}.compact-options>li{margin:0 12px 0 0;display:inline-block;list-style-type:none;font-weight:bold}.compact-options>li label{float:left}.compact-options>li .spinner{float:left;width:16px;height:16px;margin-left:5px;display:block}.boxed-group-list{list-style:none;margin:0}.boxed-group-list>li{display:block;margin-left:-10px;margin-right:-10px;padding:5px 10px;line-height:23px;border-bottom:1px solid #e5e5e5}.boxed-group-list>li:hover{background:#ffe}.boxed-group-list>li:first-child{border-top:1px solid #ddd}.boxed-group-list>li:last-of-type{border-bottom:0}.boxed-group-list>li.selected{background:#e5f9e2}.boxed-group-list>li.approved .minibutton,.boxed-group-list>li.rejected .minibutton{display:none}.boxed-group-list>li.approved:before{margin-right:5px;font:normal normal 16px/1 "octicons";display:inline-block;text-decoration:none;-webkit-font-smoothing:antialiased;content:"\f03a";color:#5ec051}.boxed-group-list>li.rejected:before{margin-right:5px;font:normal normal 16px/1 "octicons";display:inline-block;text-decoration:none;-webkit-font-smoothing:antialiased;content:"\f050";color:#bc0000}.boxed-group-list>li.rejected a{text-decoration:line-through}.boxed-group-list>li img{margin-top:-2px;margin-right:4px;vertical-align:middle;border-radius:3px}.boxed-group-list>li .minibutton{float:right;margin:-1px 0 0 10px}.boxed-group-list>li .button-group{float:right}.boxed-group-list>li .button-group .minibutton{float:left}.boxed-group.flush .boxed-group-list li{margin-left:0;width:auto;padding-left:0;padding-right:0}.boxed-group-list.standalone{margin-top:-1px}.boxed-group-list.standalone>li:first-child{border-top:0}.boxed-group-table{width:100%;text-align:left}.boxed-group-table tr:last-child td{border-bottom:0}.boxed-group-table th{padding:9px;border-bottom:1px solid #eee;background-color:#fafafa}.boxed-group-table td{padding:9px;border-bottom:1px solid #eee;vertical-align:top}#ajax-error-message{display:none;position:fixed;top:-200px;left:50%;width:974px;z-index:9999;margin:0 3px;margin-left:-487px;-webkit-transition:top 0.5s ease-in-out;transition:top 0.5s ease-in-out}#ajax-error-message.visible{top:0}#ajax-error-message>.octicon-alert{vertical-align:text-top}.boxed-group-success,.boxed-group-warning{padding:10px 15px;margin:-1px -10px 0;border-style:solid;border-width:1px 0}.boxed-group-success .minibutton,.boxed-group-warning .minibutton{margin:-5px 0}.boxed-group-success:first-child,.boxed-group-warning:first-child{border-top:0}.boxed-group-success{color:#22662c;background-color:#e2f9e5;border-color:#bad3be}.boxed-group-warning{color:#4c4a42;background-color:#fff9ea;border-color:#dfd8c2}.avatar-stack .avatar{float:right;width:20px;height:20px;margin-left:-17px;border-radius:2px;-webkit-transition:margin 0.2s ease-in-out;transition:margin 0.2s ease-in-out;background-color:#fff;border-right:1px solid #fff}.avatar-stack .avatar:last-child{margin-left:3px}.avatar-stack:hover .avatar{margin-left:3px}.conversation-list-heading{margin:35px 0 10px;height:0;text-align:center;font-size:16px;font-weight:normal;color:#999;border-bottom:1px solid #ddd}.conversation-list-heading .inner{display:inline-block;position:relative;top:-10px;padding:0 5px;background:#fff}.simple-conversation-list{margin:15px 0;font-size:13px;color:#999}.simple-conversation-list>li{margin:0;padding:11px 0 8px;list-style-type:none;border-top:1px solid #eee}.simple-conversation-list>li:first-child{border-top:0}.simple-conversation-list>li .title{font-weight:bold}.simple-conversation-list>li .num{color:#999}.simple-conversation-list>li .state{margin-right:3px;margin-top:-3px;padding-top:2px;padding-bottom:2px}.simple-conversation-list>li .meta{float:right;margin-left:10px}.simple-conversation-list.varied-states>li{padding-left:90px}.simple-conversation-list.varied-states>li:before{display:table;content:""}.simple-conversation-list.varied-states>li:after{display:table;clear:both;content:""}.simple-conversation-list.varied-states>li .state{float:left;width:80px;margin-left:-90px}.flex-table{display:table}.flex-table-item{display:table-cell;width:1%;white-space:nowrap;vertical-align:middle}.flex-table-item-primary{width:99%}.pagehead{position:relative;margin-bottom:20px;padding-top:20px;padding-bottom:20px;border-bottom:1px solid #eee}.pagehead.admin{background:url(/assets/modules/pagehead/background-yellowhatch-v3-fa67c4b38f820183fc8956740a3ce6649ffb5d3123dd473f8864c66a4dbacbca.png) 0 0 repeat-x}.pagehead .account-switcher{display:inline-block;margin-top:-2px;margin-bottom:-6px}.pagehead ul.pagehead-actions{margin:0;float:right;z-index:21}.pagehead ul.pagehead-actions .subscription{display:block}.pagehead ul.pagehead-actions .feed-icon{margin-top:5px}.pagehead .path-divider{margin:0 0.25em}.pagehead h1{margin-top:0;margin-bottom:0;font-size:20px;font-weight:normal;line-height:28px}.pagehead h1 strong{font-weight:bold}.pagehead h1 a{white-space:nowrap}.pagehead h1 .avatar{margin-right:9px;margin-top:-2px;margin-bottom:-2px}.pagehead-actions>li{list-style-type:none;font-size:11px;color:#333;margin:0 10px 0 0;float:left}.pagehead-actions>li:last-child{margin-right:0}.pagehead-actions .octicon-mute{color:#c00}.context-loader{position:absolute;top:0;left:50%;margin-left:-75px;width:154px;padding:10px 10px 10px 30px;font-weight:bold;font-size:12px;color:#666;background:url(/assets/spinners/octocat-spinner-16px-02c482dbba2151bb2d7a30af56d0c7513f12449d504f7a57f200d9e534b112ff.gif) 10px 50% no-repeat #eee;border:1px solid #ddd;border-top:1px solid #fff;border-radius:5px;border-top-left-radius:0;border-top-right-radius:0;z-index:20}@media screen and (-webkit-min-device-pixel-ratio: 2), screen and (max--moz-device-pixel-ratio: 2){.context-loader{background:url(/assets/spinners/octocat-spinner-32-EAF2F5-0bdc57d34b85c4a4de9d0d1db10cd70e8a95f33ff4f46c5a8c48b4bf4e5a9abe.gif) 10px 50% no-repeat #eee;background-size:16px auto}}.pagehead-nav{float:right;margin-bottom:-20px}.pagehead-nav-item{float:left;padding:6px 10px 21px;margin-left:20px;font-size:14px;color:#777}.pagehead-nav-item:hover{text-decoration:none;color:#333}.pagehead-nav-item.selected{color:#333;border-bottom:2px solid #d26911}.pagehead-nav-item+.button-outline{margin-top:-1px;margin-left:20px}.progress-bar{display:block;overflow:hidden;background-color:#eee;border-radius:3px;height:15px}.progress-bar .progress{height:100%;display:block;background-color:#6cc644}.protip{margin-top:20px;text-align:center}.protip code{padding:2px;background-color:#f4f4f4;border-radius:3px}.protip-callout{padding:8px 10px;margin-bottom:20px;color:#4c4a42;text-align:left;border:solid 1px #eee;border-radius:3px}.repo-list{position:relative}.repo-list .participation-graph{position:absolute;right:0;bottom:0;left:0;z-index:-1}.repo-list .participation-graph.disabled{display:none}.repo-list .participation-graph .bars{position:absolute;bottom:0}.repo-list-item{position:relative;padding-top:30px;padding-bottom:30px;list-style:none;border-bottom:1px solid #eee}.repo-list-name{margin:0 0 8px;font-size:20px;line-height:1.2}.repo-list-name .prefix,.repo-list-name .slash{font-weight:normal}.repo-list-name .slash{margin-right:-4px;margin-left:-4px}.repo-list-description{max-width:550px;margin-top:8px;margin-bottom:0;font-size:14px;color:#666}.repo-list-stats{margin-top:6px;float:right;font-size:12px;font-weight:bold;color:#888}.repo-list-stats .repo-list-stat-item{margin-left:8px;display:inline-block;color:#888;text-decoration:none}.repo-list-stats .repo-list-stat-item:hover{color:#4183c4}.repo-list-stats .repo-list-stat-item>.octicon{font-size:14px}.repo-list-info{display:inline-block;height:100%;margin-top:0;margin-bottom:0;font-size:12px;color:#888;vertical-align:middle}.repo-list-info .octicon{margin-top:-3px;font-size:12px;vertical-align:middle}.repo-list-meta{display:block;margin-top:8px;margin-bottom:0;font-size:13px;color:#888}.repo-list-meta .avatar{margin-top:-2px}.repo-list-meta a:hover{text-decoration:none}.task-list-item{list-style-type:none}.task-list-item label{font-weight:normal}.task-list-item.enabled label{cursor:pointer}.task-list-item+.task-list-item{margin-top:3px}.task-list-item-checkbox{float:left;margin:0.3em 0 0.25em -1.6em;vertical-align:middle}.about-header{height:300px;background-color:#111;background-image:url(/assets/modules/about/about-header-d282aa6adabb0aa921113cd1eb22baa0b14e85e99b82b986595527229346208c.jpg);background-size:cover;background-position:50%}.about-header.team{background-image:url(/assets/modules/about/team-header-45aac724e2475a318af9a22823f2f78e4bf7b8064cb59f136b0d9f59ad73df43.jpg)}.about-header.press{background-image:url(/assets/modules/about/press-header-6507db004612e161e4e34710991d9a5cb3327daab85df2ebd357b7f9db28ac79.jpg)}.about-header.jobs{background-image:url(/assets/modules/about/jobs-header-75c7cf97d0b51a35bd79377ad4e0fd2c6589015c3b5d4079644c654b5492d134.jpg)}.about-menu{border-bottom:1px solid #eee}.about-menu-link{float:left;width:25%;padding:20px 20px 17px;font-size:18px;color:#777;text-align:center;border-bottom:3px solid #fff}.about-menu-link:hover{color:#4183c4;text-decoration:none;border-bottom-color:#f5f5f5}.about-menu-link.selected{font-weight:bold;color:#333;border-bottom-color:#d26911}.about-content{padding:0;font-size:18px;font-weight:300;line-height:1.5}.about-content p{margin-top:0}.about-content .container>p:first-child{margin-top:2em;margin-bottom:2em;font-size:24px}.about-content .about-lead{padding-left:10%;padding-right:10%;text-align:center}.about-content hr{margin-top:30px;margin-bottom:30px;border-bottom-color:#eee}.press-mentions{margin-top:25px}.press-mentions li{margin-bottom:15px;list-style-type:none}.press-mentions cite{font-style:normal;font-weight:normal;display:block;font-size:13px;color:#666}.press-mentions h4{margin:6px 0 0 -45px;float:left;color:#808080}.press-info{margin:20px 0 30px}.press-info:before{display:table;content:""}.press-info:after{display:table;clear:both;content:""}.press-info-link{position:relative;display:block;padding:10px 15px;font-weight:normal;line-height:2;background-color:#fafafa;border:1px solid #ddd}.press-info-link:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.press-info-link:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px}.press-info-link+.press-info-link{margin-top:-1px}.press-info-link .mega-octicon{width:32px;text-align:center;margin-right:7px;color:#aec0d0;vertical-align:middle}.press-info-link:hover{z-index:2;color:#fff;text-decoration:none;border-color:#4183c4;background-color:#4183c4}.press-info-link:hover .mega-octicon{color:inherit}.hubbers-list{margin:-6px;list-style:none}.hubbers-list:before{display:table;content:""}.hubbers-list:after{display:table;clear:both;content:""}.hubbers-list-item{display:block;float:left;width:128px;height:128px;margin:6px;text-align:center}.hubbers-list-item img{display:block;width:100%;height:100%;background-color:#fff}.hubbers-list-item .hubber-name{position:absolute;top:0;right:0;bottom:0;left:0;display:block;padding-top:100px;font-size:12px;font-weight:bold;color:#fff;text-align:center;text-shadow:0 0 4px #000;background-color:rgba(0,0,0,0.25);background-image:-webkit-linear-gradient(rgba(0,0,0,0.01) 50%, rgba(0,0,0,0.25));background-image:linear-gradient(rgba(0,0,0,0.01) 50%, rgba(0,0,0,0.25));background-repeat:repeat-x;background-color:transparent;opacity:0;-webkit-transition:opacity 0.25s ease-in-out;transition:opacity 0.25s ease-in-out}.hubbers-list-item a{position:absolute;display:block;width:128px;height:128px}.hubbers-list-item a:hover .hubber-name{opacity:1}.jobs-open-positions{background-color:#f1f6fb;border:solid 1px #d0e5f8;border-radius:3px;padding:20px;margin-top:10px}.jobs-open-positions ul{margin-top:24px;list-style:none}.cvv-hint{position:relative;padding-right:15px}.cvv-hint:hover .cvv-hint-tooltip{display:block}.cvv-hint-tooltip{display:none;position:absolute;border:1px solid #d0d0d0;padding:15px;z-index:1000;background-color:#fff;left:100%;top:-150px;box-shadow:0 0 5px #ebebeb, 0 0 5px #ebebeb, 0 0 5px #ebebeb, 0 0 5px #ebebeb, 0 0 5px #ebebeb}.credit-card{border:1px solid #ddd;width:250px;padding:20px;height:150px;position:relative;margin-top:5px;border-radius:10px}.credit-card.amex{margin-top:15px}.credit-card.amex .title{color:#fff;font-family:"Arial Black", "Arial Bold", Gadget, sans-serif;text-shadow:1px 0 0 #ddd, -1px 0 0 #ddd, 0 1px 0 #ddd, 0 -1px 0 #ddd, -1px -1px 0 #ddd, 1px 1px 0 #ddd, -1px 1px 0 #ddd, 1px -1px 0 #ddd;position:relative;z-index:1;top:-5px;text-align:center;letter-spacing:1px;-webkit-transform:scale(1.3, 1);-ms-transform:scale(1.3, 1);transform:scale(1.3, 1)}.credit-card.amex .card-number{margin-top:40px;font-size:15px;display:inline-block;white-space:nowrap;position:relative}.credit-card.amex .gladiator{position:absolute;left:50%;top:50px;margin-left:-35px;height:80px;width:70px;border:3px solid #fff;box-shadow:0 0 1px #aaa;border-top-left-radius:35px 40px;border-bottom-left-radius:35px 40px;border-top-right-radius:35px 40px;border-bottom-right-radius:35px 40px;background-color:#e0e0e0}.credit-card.normal .strap{background-color:#555;height:20px;margin:-5px -20px 15px}.credit-card.normal .signature{display:inline-block;background-color:#e9e9e9;white-space:nowrap;font-family:"Brush Script MT", cursive;height:30px;width:150px;font-size:17px;color:#aaa;letter-spacing:-1px;line-height:33px;text-indent:10px}.credit-card .cvv{left:-7px;top:-10px;border:2px solid #f00;padding:2px 5px;line-height:1;font-family:monospace;font-size:10px;border-top-left-radius:20px 10px;border-bottom-left-radius:20px 10px;border-top-right-radius:20px 10px;border-bottom-right-radius:20px 10px;text-align:center;position:relative;display:inline-block}.credit-card .cvv span{position:absolute;right:100%;margin-right:5px;color:#999}.credit-card .text{text-transform:uppercase;font-size:7px;display:block;line-height:1.1;font-weight:bold;font-family:monospace}.billing-seats table input{width:5em}.billing-seats table td{vertical-align:middle;border-bottom:0}.billing-seats table td.fixed{width:150px}.billing-seats table td.black{color:#000}.billing-seats table tr{border-bottom:1px solid #eee}.billing-seats table tr:last-child{border-bottom:0}.billing-seats table tr:nth-child(even){background-color:#fafafa}.billing-seats table tr.total-row{background-color:#fff}.billing-seats .new-seats{margin-left:5px}.billing-seats .seat-cost{color:#999}.billing-seats .form-submit,.billing-seats .payment-method{margin-left:10px}.billing-seats .payment-summary{margin-left:10px;margin-right:10px}.billing-credit-card .javascript-disabled-overlay{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;display:none;background-color:#fff;opacity:0.5}.billing-credit-card.disabled .javascript-disabled-overlay,.billing-credit-card.unsupported .javascript-disabled-overlay{display:block}.billing-actions{padding-bottom:10px}.help.billing-next-payment-help{margin-top:0}.billing-extra-box{border-left:3px solid #eee;padding-left:10px;margin:10px 0 0}.billing-section{border-bottom:1px solid #eee;padding:15px 10px;line-height:1.5em}.billing-section.oneliner{padding-bottom:14px}.billing-section.oneliner .action-button{margin-top:-4px}.billing-section p{margin:10px 0 0}.billing-section .disabled-message{color:#bd2c00}.billing-section .action-button{float:right;margin-bottom:5px;margin-left:10px}.billing-section .octicon-button{float:right;padding:4px;margin-left:5px}.billing-section .section-label{width:85px;color:#777;font-weight:normal;text-align:right;position:absolute}.billing-section .section-content{color:#333;margin-left:100px}.billing-section .usage-bar{margin:5px 0 0;background:#eee;border-radius:20px;width:50%}.billing-section .usage-bar.exceeded .progress{background:#bd2c00}.billing-section .usage-bar .progress{border-radius:20px;height:5px;background:#67d07c;position:relative}.billing-section .pending-invitations-link{color:#999}.billing-section:last-child{border-bottom:0}.billing-section.info-section{background:#f9f9f9;border-bottom:0;color:#777;overflow:hidden}.billing-section.info-section .octicon-info{font-size:30px;color:#ddd}.setup-wrapper .paypal-container{margin-bottom:30px}.setup-wrapper .paypal-logged-in .paypal-container{margin-bottom:10px}.payment-methods{position:relative}.payment-methods .selected-payment-method{display:none}.payment-methods .selected-payment-method:before{display:table;content:""}.payment-methods .selected-payment-method:after{display:table;clear:both;content:""}.payment-methods .selected-payment-method.active{display:block}.payment-methods .pay-with-header{margin:5px 0}.payment-methods .pay-with-paypal .setup-creditcard-form,.payment-methods .pay-with-paypal .paypal-form-actions,.payment-methods .pay-with-paypal .terms,.payment-methods .pay-with-paypal .paypal-signed-in,.payment-methods .pay-with-paypal .paypal-down-flash,.payment-methods .pay-with-paypal .loading-paypal-spinner{display:none}.payment-methods.paypal-loading .loading-paypal-spinner{display:block}.payment-methods.paypal-down .paypal-down-flash{display:block}.payment-methods.paypal-logged-in .paypal-sign-in{display:none}.payment-methods.paypal-logged-in .setup-creditcard-form,.payment-methods.paypal-logged-in .paypal-form-actions,.payment-methods.paypal-logged-in .terms,.payment-methods.paypal-logged-in .paypal-signed-in{display:block}.payment-methods.has-paypal-account .paypal-sign-in{display:none}.payment-methods.has-paypal-account .paypal-signed-in{display:block}.paypal-label{font-weight:bold;margin:15px 0 10px}.paypal-container{margin-bottom:15px;vertical-align:top;display:inline-block;background-color:#f9f9f9;border-radius:4px}#braintree-paypal-loggedin{background-position:12px 50% !important;border:1px solid #ddd !important;padding:11px 16px !important;border-radius:4px}#bt-pp-name{margin-left:20px !important}#bt-pp-email{margin-left:15px !important}#bt-pp-cancel{font-size:0 !important;color:#a00 !important;text-decoration:none !important;font-family:octicons !important;line-height:1 !important;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#bt-pp-cancel:before{font-size:16px !important;content:"\f081"}.payment-history .no-payments{margin:10px}.payment-history .id,.payment-history .date,.payment-history .plan,.payment-history .receipt,.payment-history .status,.payment-history .amount{width:1%;white-space:nowrap}.payment-history .receipt{text-align:center}.payment-history .status{color:#999}.payment-history .status-icon{width:14px;text-align:center}.payment-history .succeeded .status{color:#6cc644}.payment-history .refunded,.payment-history .failed{background:#f9f9f9}.payment-history .refunded td,.payment-history .failed td{opacity:0.5}.payment-history .refunded .receipt,.payment-history .refunded .status,.payment-history .failed .receipt,.payment-history .failed .status{opacity:1}.payment-history .refunded .status{color:#999}.payment-history .failed .status{color:#bd2c00}.paypal-icon{vertical-align:middle;margin:0 2px 0 1px}.inline-form-action{display:inline}.boxed-group .boxed-group-content{margin:10px}.billing-container{width:500px;margin-top:80px;margin-bottom:80px}.billing-step{margin-bottom:50px}.billing-step-title{font-weight:400;padding-bottom:10px;border-bottom:1px solid #e0e0e0;margin-bottom:15px}.currency-container .local-currency,.currency-container .local-currency-block{display:none}.currency-container.open .local-currency{display:inline}.currency-container.open .local-currency-block{display:block}.currency-container.open .default-currency{display:none}.plan-chooser{margin:10px auto 20px}.plan-chooser.on-free .toggle-currency,.plan-chooser.on-free .currency-notice,.plan-chooser.on-free .plan-price-group,.plan-chooser.on-free .coupon-notice{display:none}.strong-label{font-weight:bold;margin-bottom:5px;display:inline-block}.plan-chooser-repo-menu{margin-bottom:15px}.plan-chooser-repo-menu .price-label{display:none}.plan-chooser-repo-menu .button-block{text-align:left}.discounted-original-price,.per-repo.has-coupon .original-price{text-decoration:line-through;color:#999;font-weight:normal}.heat1{background-color:#ffeca7}.heat2{background-color:#ffdd8c}.heat3{background-color:#ffdd7c}.heat4{background-color:#fba447}.heat5{background-color:#f68736}.heat6{background-color:#f37636}.heat7{background-color:#ca6632}.heat8{background-color:#c0513f}.heat9{background-color:#a2503a}.heat10{background-color:#793738}.blame-breadcrumb .css-truncate-target{max-width:680px}.blame-commit,.blame-commit+.blame-line{border-top:1px solid #e9e9e9}.blame-container{margin-top:-1px}.blame-blob-num{background-color:#fdfdfd}.blame-commit-info{position:relative;width:350px;min-width:350px;max-width:350px;padding:8px 10px;vertical-align:top}.blame-commit-avatar{float:left;margin-right:5px}.blame-commit-title{font-weight:bold;color:#333;max-width:230px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.1;vertical-align:top}.blame-sha{font:11px Consolas, "Liberation Mono", Menlo, Courier, monospace;float:right}.blame-commit-meta{color:#999;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.1}.line-age{width:2px;padding:0 1px}.line-age-legend{float:right;margin-top:-25px;font-size:12px;color:#777}.line-age-legend ol{display:inline-block;list-style:none;margin:0 5px}.line-age-legend ol li{display:inline-block;width:8px;height:10px}#blog-main .pagehead h1{margin-top:3px;font-size:24px}.blog-title{color:#333}.blog-search{position:relative;float:right}.blog-search .blog-search-input{padding-left:28px;width:200px}.blog-search .octicon-search{position:absolute;left:7px;top:9px;z-index:5;color:#999}.blog-search-results em{background-color:#faffa6;padding:0.1em}.blog-aside{float:right;width:200px}.blog-aside .button{margin-bottom:20px;text-align:center}.blog-aside .menu-container{float:none;margin-bottom:30px}.blog-aside .rss{display:inline-block;margin-left:5px;color:#999}.blog-aside .rss .octicon{float:left;margin-right:5px;color:#f93}.blog-content{width:685px;font-family:"Helvetica Neue", Helvetica, Arial, freesans, sans-serif}.blog-content h1,.blog-content h2,.blog-content h3{font-weight:500}.blog-content .markdown-body h2{font-size:20px}.blog-content .markdown-body h3{font-size:18px}.blog-draft-indicator{color:#bd2c00}.blog-post{margin-bottom:60px}.blog-post-meta{list-style:none;margin-bottom:20px;color:#999}.blog-post-meta .meta-item{display:inline;padding-right:20px}.blog-post-meta a{color:#999}.blog-post-meta .octicon,.blog-post-meta .author-avatar{vertical-align:top;border-radius:3px}.blog-post-title{margin-top:0;margin-bottom:10px;font-size:32px}#blog-home{color:#ccc;font-size:15px;font-weight:100;margin-right:10px;margin-left:-25px;vertical-align:middle}#blog-home:hover{color:#999}.blog-post-body{font-size:16px;line-height:1.6;color:#444}.blog-post-body img{padding:3px;border:1px solid #d8d8d8}.blog-post-body img.emoji{border:0;padding:0}.blog-post-body iframe{border:0;width:100%}.blog-feedback{margin:50px 0;background-color:#fafafa;border:1px solid #ddd;border-bottom-color:#ccc;border-radius:3px;box-shadow:inset 0 1px 0 #fff, 0 1px 5px #f1f1f1}.blog-feedback-header{margin:0;padding:10px;border-bottom:1px solid #ddd;box-shadow:0 1px 0 #fff;font-size:14px;font-weight:bold}.blog-feedback-header.with-twitter{background:url(/assets/icons/twitter-00141fde4f9233b7393bc12679ca2814ace7749f36ed444f9e8ac844048e9412.png) 648px 1px no-repeat;background-size:32px auto}.blog-feedback-description{margin:0;padding:10px;color:#999}.branches .page-header{margin-bottom:20px}.branches .clear-search{display:none}.branches .loading-overlay{display:none;position:absolute;top:0;width:100%;height:100%;padding-top:50px;z-index:20;background-color:rgba(255,255,255,0.7);text-align:center}.branches .loading-overlay .spinner{display:inline-block}.branches.is-search-mode .clear-search{display:inline-block}.branches.is-loading .loading-overlay{display:block}.branches .status{display:inline-block;width:16px;text-align:center}.branches .status .octicon{position:relative;top:2px}.branches .pull-request-link{top:0;display:inline;padding:2px 5px;line-height:1em}.branches .branch-actions{float:right;position:relative;top:-3px;right:-4px}.branches .branch-actions form{display:inline}.branches .branch-actions .octicon{width:16px;text-align:center}.branch-groups{position:relative}.branch-group{margin-bottom:20px;width:100%;border-radius:3px}.branch-group:before{display:table;content:""}.branch-group:after{display:table;clear:both;content:""}.branch-group-heading{border:1px solid #ddd;border-bottom:0;padding:6px 12px;background:#f5f5f5;text-shadow:0 1px 0 #fff}.branch-group-heading+.branch-summary{border-top:1px solid #ddd}.branch-group-name{color:#666;font-weight:bold}.branch-group-heading:first-child,.branch-summary:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.branch-group-heading:last-child,.branch-summary:last-child{border-bottom-left-radius:3px;border-bottom-right-radius:3px}.branches-view-switcher{display:inline-block;vertical-align:middle}.branch-search{position:relative;float:right;vertical-align:middle}.branch-search .clear-search{position:absolute;right:12px;top:9px;color:#999}.branch-search-field{width:250px;padding-right:25px}.no-results-message{padding:12px;border:1px solid #ddd;border-radius:0 0 3px 3px;color:rgba(0,0,0,0.5);text-align:center}.branch-summary{padding:12px;border:1px solid #ddd;border-bottom:0;color:rgba(0,0,0,0.5)}.branch-summary:last-child{border-bottom:1px solid #ddd}.branch-summary .branch-spinner{display:none;vertical-align:text-bottom}.branch-summary.loading .branch-delete-icon{display:none}.branch-summary.loading .branch-spinner{display:inline-block}.branch-summary.is-deleted .existing-branch-summary{display:none}.branch-summary.is-deleted .deleted-branch-summary{display:block}.deleted-branch-summary{display:none}.deleted-branch-summary .css-truncate-target{max-width:500px}.deleted-branch-summary .branch-name{opacity:0.5;text-decoration:line-through}.deleted-branch-summary .branch-spinner{float:right;position:relative;top:4px;right:5px}.pr-details{display:inline-block;width:144px;text-align:right}.pr-details .state{padding:1px 5px;font-size:12px;width:75px;margin-left:5px;text-decoration:none}.pr-details .state .octicon{font-size:14px}.branch-delete{display:inline-block;color:#bd2c00;margin:4px 2px 0 8px}.branch-delete.disabled{color:#ddd}.more-branches{display:block;padding:6px;width:100%;border:1px solid #dae5eb;border-radius:0 0 3px 3px;text-align:center;text-decoration:none;background:#f1f7fa;color:#4183c4}.more-branches:hover{background:#e6f1f6}.more-branches .octicon{position:relative;top:1px;margin-left:5px}.branch-details{display:inline-block;width:490px;margin-right:10px}.branch-details .css-truncate-target{max-width:240px}.branch-meta{color:#aaa;font-size:12px;line-height:20px}.default-label{width:180px;text-align:center;display:inline-block}@-webkit-keyframes branch-bar-slide{from{width:0%}to{width:100%}}@keyframes branch-bar-slide{from{width:0%}to{width:100%}}.branch-a-b-count{display:inline-block;vertical-align:middle}.branch-a-b-count .count-half{float:left;width:90px;text-align:right;padding-bottom:6px;position:relative}.branch-a-b-count .count-half:last-child{text-align:left;border-left:1px solid #bbb}.branch-a-b-count .count-value{position:relative;top:-1px;display:block;padding:0 3px;font-size:10px}.branch-a-b-count .bar{position:absolute;min-width:3px;height:4px}.branch-a-b-count .meter{position:absolute;height:4px;background-color:#ccc;-webkit-animation:branch-bar-slide 0.3s ease forwards 0.5s;animation:branch-bar-slide 0.3s ease forwards 0.5s}.branch-a-b-count .meter.zero{background-color:transparent}.branch-a-b-count .bar-behind{right:0;border-radius:3px 0 0 3px}.branch-a-b-count .bar-behind .meter{right:0;border-radius:3px 0 0 3px}.branch-a-b-count .bar-ahead{left:0;border-radius:0 3px 3px 0}.branch-a-b-count .bar-ahead .meter{border-radius:0 3px 3px 0}.branch-a-b-count .bar-ahead.even,.branch-a-b-count .bar-behind.even{background:#eee;min-width:2px}.capped-cards{list-style:none}.capped-cards .capped-card{float:left;width:450px}.capped-card{border-radius:2px;border:1px solid #ddd;list-style:none;margin:10px}.capped-card:before{display:table;content:""}.capped-card:after{display:table;clear:both;content:""}.capped-card:nth-child(odd){margin-left:0}.capped-card:nth-child(even){margin-right:0}.capped-card h3{margin:0;border-bottom:1px solid #eee;line-height:100%;padding:10px}.capped-card>p{border-bottom:1px solid #eee;color:#999;display:block;font-size:15px;line-height:100%;margin:0;padding:0 10px 10px}.capped-card-content{background:#f7f7f7;display:block}.capped-card-content:before{display:table;content:""}.capped-card-content:after{display:table;clear:both;content:""}.clone-url h5{margin-top:0;margin-bottom:10px}.clone-url .input-group{width:100%}.clone-url input.input-mini{font-size:11px;color:#999}.commit-form{position:relative;padding:15px;border:1px solid #ddd;border-radius:3px}.commit-form:after,.commit-form:before{position:absolute;top:11px;left:-16px;right:100%;width:0;height:0;display:block;content:" ";border-color:transparent;border-style:solid solid outset;pointer-events:none}.commit-form:after{border-width:7px;border-right-color:#fff;margin-top:1px;margin-left:2px}.commit-form:before{border-right-color:#ddd;border-width:8px}.commit-form .input-block{margin-top:10px;margin-bottom:10px}.commit-form-avatar{float:left;margin-left:-64px;border-radius:3px}.commit-form-actions{text-align:right}.commit-form-actions:before{display:table;content:""}.commit-form-actions:after{display:table;clear:both;content:""}.commit-form-actions .button{float:right;margin-left:5px}.commit-form-actions .check-for-fork{line-height:34px}.copyable-terminal{position:relative;padding:10px 55px 10px 10px;background-color:#f7f7f7;border-radius:3px}.copyable-terminal-content{overflow:auto}.copyable-terminal-button{position:absolute;top:5px;right:5px}.copyable-terminal-button .zeroclipboard-button{float:right}.copyable-terminal-button .zeroclipboard-button .octicon{padding-left:1px;margin:0 auto}.logged_out.enter-coupon{background-color:#f9f9f9}.logged_out.enter-coupon .coupon-form-body{margin-bottom:-20px;background-image:none;box-shadow:0 1px 3px rgba(0,0,0,0.075),inset 1px 0 #fff,0 0 200px #fff}.logged_out.enter-coupon .header-logged-out{background-color:#fff}.logged_out.enter-coupon .site-footer{border-top:0}.coupons .setup-plans td img{vertical-align:middle;margin-top:-2px}.coupons .coupon-form-body{width:230px;margin:100px auto 60px;padding:20px;font-size:14px;font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;text-align:center;background-color:#fff;background-image:-webkit-linear-gradient(#fefefe, #fafafa);background-image:linear-gradient(#fefefe, #fafafa);border:1px solid #ccc;border-radius:3px;box-shadow:0 1px 3px rgba(0,0,0,0.075),inset 1px 0 #fff}.coupons .coupon-form-body .input-block{margin-bottom:15px}.coupons .coupon-form-body .button{display:block;width:100%}.coupon-icon{width:80px;height:80px;margin:0 auto 15px;color:#4183c4;border:1px solid #dedede;border-radius:40px}.coupon-icon .mega-octicon{margin-left:2px;font-size:48px;line-height:80px}.coupon-signin-title{margin-top:40px}.coupon-title{margin-bottom:20px;font-weight:500}.coupons-list-options{margin-bottom:15px}.coupons-list-options .select-menu,.coupons-list-options .button-group{display:inline-block;margin-right:10px}.coupons-list-options .pagination{float:right;margin:0}dl.form.developer-select-account{margin-top:0}.developer-wrapper .setup-info-module .features-list{margin-left:16px}.developer-wrapper .setup-info-module .features-list .octicon{margin-left:-17px}.developer-thanks h2{font-size:38px;font-weight:normal}.developer-thanks .hook{margin-top:2px;margin-bottom:30px;font-size:18px;font-weight:300;color:#666}.developer-thanks-image{position:relative;bottom:-45px;float:left;width:400px}.developer-thanks-section{margin:130px 0 0 470px}.developer-next-steps{list-style:none;font-size:18px;font-weight:300}.developer-next-steps li{margin-top:10px}.developer-next-steps li:first-child{margin-top:0}.developer-next-steps .mega-octicon{position:relative;top:5px;margin-right:10px;font-size:32px;color:#6cc644}.blob-wrapper{overflow-x:auto;overflow-y:hidden;border-bottom-left-radius:3px;border-bottom-right-radius:3px}.tab-size-1{-moz-tab-size:1;-o-tab-size:1;tab-size:1}.tab-size-2{-moz-tab-size:2;-o-tab-size:2;tab-size:2}.tab-size-3{-moz-tab-size:3;-o-tab-size:3;tab-size:3}.tab-size-4{-moz-tab-size:4;-o-tab-size:4;tab-size:4}.tab-size-5{-moz-tab-size:5;-o-tab-size:5;tab-size:5}.tab-size-6{-moz-tab-size:6;-o-tab-size:6;tab-size:6}.tab-size-7{-moz-tab-size:7;-o-tab-size:7;tab-size:7}.tab-size-8{-moz-tab-size:8;-o-tab-size:8;tab-size:8}.tab-size-9{-moz-tab-size:9;-o-tab-size:9;tab-size:9}.tab-size-10{-moz-tab-size:10;-o-tab-size:10;tab-size:10}.tab-size-11{-moz-tab-size:11;-o-tab-size:11;tab-size:11}.tab-size-12{-moz-tab-size:12;-o-tab-size:12;tab-size:12}.diff-table{width:100%;border-collapse:separate}.diff-table .line-comments{padding:10px}.diff-table .line-comments:first-child+.empty-cell{border-left-width:1px}.diff-table tr:not(:last-child) .line-comments{border-top:1px solid #eee;border-bottom:1px solid #eee}.blob-num{width:1%;min-width:50px;padding-left:10px;padding-right:10px;font-family:Consolas, "Liberation Mono", Menlo, Courier, monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.3);vertical-align:top;text-align:right;border:solid #eee;border-width:0 1px 0 0;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.blob-num:hover{color:rgba(0,0,0,0.6)}.blob-num:before{content:attr(data-line-number)}.blob-code{position:relative;padding-left:10px;padding-right:10px;font-family:Consolas, "Liberation Mono", Menlo, Courier, monospace;font-size:12px;color:#333;vertical-align:top;white-space:pre;overflow:visible}.blob-code .x-first{border-top-left-radius:0.2em;border-bottom-left-radius:0.2em}.blob-code .x-last{border-top-right-radius:0.2em;border-bottom-right-radius:0.2em}.soft-wrap .blob-code{word-wrap:break-word;white-space:pre-wrap;padding-left:18px;text-indent:-7px}.soft-wrap .blob-code .no-nl-marker{display:none}.soft-wrap .add-line-comment{margin-left:-28px}.blob-num-hunk,.blob-code-hunk,.blob-num-expandable,.blob-code-expandable{vertical-align:middle;color:rgba(0,0,0,0.3);border-color:#d5e4f2}.blob-num-hunk,.blob-num-expandable{background-color:#f0f5fa}.blob-code-hunk,.blob-code-expandable{padding-top:4px;padding-bottom:4px;background-color:#f8fafd;border-width:1px 0}.blob-expanded .blob-num,.blob-expanded .blob-code{background-color:#fafafa}.blob-expanded+tr:not(.blob-expanded) .blob-num,.blob-expanded+tr:not(.blob-expanded) .blob-code{border-top:1px solid #eee}.blob-expanded .blob-num-hunk{border-top:1px solid #eee}tr:not(.blob-expanded)+.blob-expanded .blob-num,tr:not(.blob-expanded)+.blob-expanded .blob-code{border-top:1px solid #eee}.blob-num-expandable{padding:0;font-size:12px;text-align:center}.blob-num-expandable .diff-expander{display:block;width:auto;height:auto;margin-right:-1px;padding:4px 11px 4px 10px;cursor:pointer;color:#999}.blob-num-expandable .diff-expander:hover{color:#fff;text-shadow:none;background-color:#4183c4;border-color:#4183c4}.blob-code-addition{background-color:#eaffea}.blob-code-addition .x{background-color:#a6f3a6}.blob-num-addition{background-color:#dbffdb;border-color:#c1e9c1}.blob-code-deletion{background-color:#ffecec}.blob-code-deletion .x{background-color:#f8cbcb}.blob-num-deletion{background-color:#ffdddd;border-color:#f1c0c0}.selected-line.blob-code{background-color:#f8eec7}.selected-line.blob-code .x{background-color:transparent}.selected-line.blob-num{background-color:#f6e8b5;border-color:#f0db88}.add-line-comment{position:relative;z-index:5;float:left;width:20px;height:20px;margin:-1px -10px -1px -20px;line-height:20px;color:#fff;text-align:center;text-indent:0;cursor:pointer;background-color:#4183c4;background-color:#4183c4;background-image:-webkit-linear-gradient(#5490ca, #4183c4);background-image:linear-gradient(#5490ca, #4183c4);background-repeat:repeat-x;border-radius:3px;box-shadow:0 1px 4px rgba(0,0,0,0.15);opacity:0;-webkit-transform:scale(0.8, 0.8);-ms-transform:scale(0.8, 0.8);transform:scale(0.8, 0.8);-webkit-transition:-webkit-transform 0.1s ease-in-out;transition:transform 0.1s ease-in-out}.add-line-comment:hover{-webkit-transform:scale(1, 1);-ms-transform:scale(1, 1);transform:scale(1, 1)}.is-hovered .add-line-comment{opacity:1}.inline-comment-form{border:1px solid #ddd;border-radius:3px}.inline-review-comment{margin-top:0 !important;margin-bottom:10px !important}.inline-review-comment .gc:first-child+tr .blob-num,.inline-review-comment .gc:first-child+tr .blob-code{padding-top:5px}.inline-review-comment tr:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.inline-review-comment tr:last-child .blob-num,.inline-review-comment tr:last-child .blob-code{padding-bottom:8px}.inline-review-comment tr:last-child .blob-num:first-child,.inline-review-comment tr:last-child .blob-code:first-child{border-bottom-left-radius:2px}.inline-review-comment tr:last-child .blob-num:last-child,.inline-review-comment tr:last-child .blob-code:last-child{border-bottom-right-radius:2px}.timeline-inline-comments{width:100%;table-layout:fixed}.timeline-inline-comments .inline-comments,.show-inline-notes .inline-comments{display:table-row}.inline-comments{display:none}.inline-comments .line-comments+.blob-num{border-left-width:1px}.inline-comments .line-comments .comment-content{position:relative}.inline-comments .line-comments .comment-content .suggester-container{top:10px}.inline-comments .timeline-comment{margin-bottom:10px}.inline-comments .inline-comment-form,.inline-comments .inline-comment-form-container{max-width:780px}.inline-comments .ajax-indicator{display:none;vertical-align:bottom}.inline-comments form.loading .ajax-indicator{display:inline-block}.comment-holder{max-width:780px}.line-comments+.line-comments,.empty-cell+.line-comments{border-left:1px solid #eee}.inline-comment-form-container .inline-comment-form,.inline-comment-form-container.open .add-line-note-button{display:none}.inline-comment-form-container .add-line-note-button,.inline-comment-form-container.open .inline-comment-form{display:block}.only-commit-comments .inline-comment{display:none}body.split-diff .header>.container,body.split-diff .repohead>.container,body.split-diff .site>.container{width:100%;padding-left:30px;padding-right:30px}body.split-diff .repository-with-sidebar{padding-right:60px}body.split-diff .repository-with-sidebar .repository-sidebar{margin-right:-60px}body.split-diff .repository-content{width:100%}.file-diff-split .blob-code{width:49%;white-space:pre-wrap;word-break:break-word}.file-diff-split .blob-code+.blob-num{border-left-width:1px}.file-diff-split .empty-cell{cursor:default;background-color:#fafafa;border-right-color:#eee}.ghe-license-status{padding:40px 0;font-size:16px;text-align:center}.ghe-license-status .octocat{width:225px;margin-bottom:20px}.ghe-license-status h1{margin-bottom:10px}.ghe-license-status p{margin-top:0;margin-bottom:5px;color:#777}.ghe-license-expiry-icon{margin:5px 10px 0 0;color:#ddb38a}.fakelogin{text-align:center;font-size:14px;line-height:34px;background-color:#b33630;background-image:-webkit-linear-gradient(#dc5f59, #b33630);background-image:linear-gradient(#dc5f59, #b33630);background-repeat:repeat-x;border-bottom:1px solid #900;color:#fff;position:fixed;top:0;z-index:1000;width:100%;text-shadow:0 -1px 0 rgba(153,0,0,0.25)}.fakelogin+.header{margin-top:35px}.fakelogin+#serverstats{margin-top:35px}.fakelogin a{color:#f3d9d7;text-decoration:underline}.fakelogin a:hover{color:#fff}.file{position:relative;margin-top:20px;margin-bottom:15px;border:1px solid #ddd;border-radius:3px}.file .meta{padding:5px 10px;text-shadow:0 1px 0 #fff;border-bottom:1px solid #d8d8d8;background-color:#f7f7f7;border-top-left-radius:4px;border-top-right-radius:4px}.file .meta:before{display:table;content:""}.file .meta:after{display:table;clear:both;content:""}.edit-file .file .meta{padding:5px 10px 0}.file .meta .mode{text-transform:capitalize}.file .meta .info{float:left;height:33px;line-height:33px}.file .meta .diffstat-bar{color:#ddd}.file .meta .octicon-button{display:inline-block;margin-left:9px;margin-right:-4px;padding-right:5px;padding-left:5px;color:#777;vertical-align:middle}.file .meta .octicon-button.danger:hover{color:#bd2c00}.file .meta .octicon-button.disabled{color:#bbb;cursor:default}.file .meta .octicon-button.disabled:hover{color:#bbb}.file .meta .octicon-button:last-child{margin-right:0}.file .meta .octicon-button:hover{color:#4183c4}.file .meta .actions{float:right;height:33px;line-height:31px}.file .meta .actions select{margin-left:5px}.file .meta .actions input{position:relative;top:1px}.file .meta-divider{display:inline-block;width:1px;height:18px;margin:0 3px;vertical-align:middle;background-color:#ddd}.file .show-file-notes{display:none}.file.has-inline-notes .show-file-notes{display:block;float:left;margin-right:10px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.file .data.empty{padding:5px 10px;color:#777}.file .data.suppressed,.file.open .image{display:none}.file.open .data.suppressed{display:block}.file .image{position:relative;padding:30px;text-align:center;background-color:#ddd}.file .image table{margin:0 auto}.file .image td{text-align:center;color:#888;padding:0 5px;vertical-align:top}.file .image td img{max-width:100%}.file .image .border-wrap{position:relative;display:inline-block;line-height:0;background-color:#fff;border:1px solid #999}.file .image a{display:inline-block;line-height:0}.file .image img,.file .image canvas{max-width:600px;background:url(/assets/modules/commit/trans_bg-db69d1f1b8503d5ee68f5ca8c1c369acf9726c3d2b97a4d84f3bb77761c26fba.gif) right bottom #eee;border:1px solid #fff}.file .image .view img,.file .image .view canvas{position:relative;top:0;right:0;background:url(/assets/modules/commit/trans_bg-db69d1f1b8503d5ee68f5ca8c1c369acf9726c3d2b97a4d84f3bb77761c26fba.gif) right bottom #eee;max-width:inherit}.file .image .view>span{vertical-align:middle}.file .hidden{display:none !important}.file .empty{background:none}.file-blankslate{border:0;border-radius:0 0 2px 2px}.enable-fullscreen.minibutton{display:inline-block;margin-top:4px;margin-left:5px;padding:0 6px}.enable-fullscreen.minibutton .octicon{margin-right:0}.new-file .enable-fullscreen{margin-left:11px}.write-content{position:relative}.write-content .enable-fullscreen{position:absolute;top:5px;right:16px;color:#333;opacity:0.5;line-height:1em}.write-content .enable-fullscreen:hover{opacity:1}.fullscreen-overlay{display:none;position:fixed;top:0;bottom:0;left:0;right:0;background:#fff;text-shadow:none;z-index:1000}.fullscreen-overlay .fullscreen-container{max-width:800px;height:100%;margin:0 auto;padding:30px 0}.fullscreen-overlay .textarea-wrap{width:100%;height:100%;position:relative}.fullscreen-overlay textarea{width:100%;height:100%;padding:20px;border:0;background:#fff;color:#999999;font-size:21px;line-height:1.6em;resize:none;-webkit-transition:color 0.15s ease-in-out;transition:color 0.15s ease-in-out;box-shadow:none}.fullscreen-overlay textarea:focus,.fullscreen-overlay textarea:hover{outline:none;color:#333}.fullscreen-overlay .fullscreen-sidebar{position:absolute;top:30px;right:30px;text-align:right;z-index:1002}.fullscreen-overlay .fullscreen-sidebar .exit-fullscreen,.fullscreen-overlay .fullscreen-sidebar .theme-switcher{color:#b3b3b3;float:right;clear:right;margin-bottom:15px}.fullscreen-overlay .fullscreen-sidebar .exit-fullscreen:hover,.fullscreen-overlay .fullscreen-sidebar .theme-switcher:hover{color:#333;text-shadow:0 0 10px #fff}.fullscreen-overlay .fullscreen-sidebar .theme-switcher{margin-right:8px}.fullscreen-overlay.dark-theme{background:#1d1f21}.fullscreen-overlay.dark-theme textarea{background:#1d1f21;color:#a4b1b1}.fullscreen-overlay.dark-theme textarea:focus,.fullscreen-overlay.dark-theme textarea:hover{color:#dbe0e0}.fullscreen-overlay.dark-theme .fullscreen-sidebar{color:#dbe0e0}.fullscreen-overlay.dark-theme .fullscreen-sidebar .exit-fullscreen,.fullscreen-overlay.dark-theme .fullscreen-sidebar .theme-switcher{color:#a4b1b1}.fullscreen-overlay.dark-theme .fullscreen-sidebar .exit-fullscreen:hover,.fullscreen-overlay.dark-theme .fullscreen-sidebar .theme-switcher:hover{color:#dbe0e0;text-shadow:0 0 10px #000}.fullscreen-overlay .suggester-container{top:5px;left:0}.fullscreen-overlay-enabled .wrapper,.fullscreen-overlay-enabled #footer{display:none}.fullscreen-overlay-enabled .fullscreen-overlay{display:block}.previewable-comment-form .upload-enabled .fullscreen-overlay textarea{max-height:none;border:0;border-radius:0}#gollum-editor{margin:10px 0 50px;padding:10px 0 0;border:0}#gollum-editor .comment-form-head.tabnav{border:1px solid #ddd}#gollum-editor #gollum-editor-body{font-family:Consolas, "Liberation Mono", Menlo, Courier, monospace;line-height:22px;margin:13px 0 5px;height:390px;resize:vertical}#gollum-editor #gollum-editor-body+.collapsed,#gollum-editor #gollum-editor-body+.expanded{border-top:1px solid #ddd;margin-top:7px}#gollum-editor .collapsed,#gollum-editor .expanded{border-bottom:1px solid #ddd;display:block;overflow:hidden;padding:10px 0 5px}#gollum-editor .collapsed a.button,#gollum-editor .expanded a.button{border:1px solid #ddd;color:#333;display:block;float:left;height:25px;overflow:hidden;margin:2px 5px 7px 0;padding:0;text-shadow:0 1px 0 #fff;width:25px;background-color:#eaeaea;background-image:-webkit-linear-gradient(#fafafa, #eaeaea);background-image:linear-gradient(#fafafa, #eaeaea);background-repeat:repeat-x;border-radius:3px}#gollum-editor .collapsed a.button:hover,#gollum-editor .expanded a.button:hover{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.3);text-decoration:none;background-color:#3072b3;background-image:-webkit-linear-gradient(#599bdc, #3072b3);background-image:linear-gradient(#599bdc, #3072b3);background-repeat:repeat-x}#gollum-editor .collapsed a.button span,#gollum-editor .expanded a.button span{margin:4px}#gollum-editor .collapsed h4,#gollum-editor .expanded h4{font-size:16px;float:left;margin:0;padding:6px 0 0 4px;text-shadow:0 -1px 0 #fff}#gollum-editor .collapsed a.button span.octicon-triangle-right{display:inline-block}#gollum-editor .collapsed textarea,#gollum-editor .collapsed a.button span.octicon-triangle-down{display:none}#gollum-editor .expanded a.button span.octicon-triangle-down{display:inline-block}#gollum-editor .expanded a.button span.octicon-triangle-right{display:none}#gollum-editor .expanded textarea{border:1px solid #ddd;clear:both;display:block;font-size:12px;font-family:Consolas, "Liberation Mono", Menlo, Courier, monospace;height:84px;margin:8px 0;padding:6px;width:883px;resize:vertical}#gollum-editor a.gollum-minibutton,#gollum-editor a.gollum-minibutton:visited{border:1px solid #d4d4d4;color:#333;cursor:pointer;display:block;font-size:12px;font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-weight:bold;margin:0 0 0 9px;padding:5px 12px;text-shadow:0 1px 0 #fff;background-color:#eaeaea;background-image:-webkit-linear-gradient(#fafafa, #eaeaea);background-image:linear-gradient(#fafafa, #eaeaea);background-repeat:repeat-x;border-radius:3px}#gollum-editor a.gollum-minibutton:hover,#gollum-editor a.gollum-minibutton:visited:hover{border-color:#518cc6 #518cc6 #2a65a0;color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.3);text-decoration:none;background-color:#3072b3;background-image:-webkit-linear-gradient(#599bdc, #3072b3);background-image:linear-gradient(#599bdc, #3072b3);background-repeat:repeat-x}.singleline{display:block;margin:20px 0}.singleline label{display:block;margin-bottom:6px}#gollum-editor-title-field{border-bottom:0;margin:0 0 10px}.gollum-editor-page-title{font-weight:bold;margin-top:0}.gollum-editor-page-title.ph{color:#000}#gollum-editor-function-bar{height:26px;padding-bottom:10px;border-bottom:1px solid #ddd;margin:10px 0;border:0}#gollum-editor-function-bar #gollum-editor-function-buttons{display:none;float:left}#gollum-editor-function-bar.active #gollum-editor-function-buttons{display:block}#gollum-editor-function-bar #gollum-editor-format-selector{padding-top:5px;float:left;margin-left:20px}#gollum-editor-function-bar #gollum-editor-format-selector select{margin:0}#gollum-editor-function-bar #gollum-editor-format-selector label{color:#999;font-size:11px;font-weight:bold;line-height:17px;padding:0 5px 0 0}#gollum-editor-function-buttons .minibutton{width:30px;padding-left:0;padding-right:0;text-align:center}#gollum-editor-function-buttons .minibutton .octicon{margin-right:0}#gollum-error-message{display:none;padding-top:12px;font-size:1.8em;color:#f33}#gollum-editor-help{overflow:hidden;padding:0;border:1px solid #ddd;border-radius:3px}#gollum-editor-help-parent,#gollum-editor-help-list{display:block;float:left;height:170px;list-style-type:none;overflow:auto;margin:0;padding:10px 0;width:160px;border-right:1px solid #eee}#gollum-editor-help-parent li,#gollum-editor-help-list li{font-size:12px;line-height:1.6;margin:0;padding:0}#gollum-editor-help-parent li a,#gollum-editor-help-list li a{border:1px solid transparent;border-width:1px 0;display:block;font-weight:bold;padding:2px 12px;text-shadow:0 -1px 0 #fff}#gollum-editor-help-parent li a:hover,#gollum-editor-help-list li a:hover{background:#fff;border-color:#f0f0f0;text-decoration:none;box-shadow:none}#gollum-editor-help-parent li a.selected,#gollum-editor-help-list li a.selected{border:1px solid #eee;border-bottom-color:#e7e7e7;border-width:1px 0;background:#fff;color:#000;box-shadow:0 1px 2px #f0f0f0}#gollum-editor-help-list{background:#fafafa}#gollum-editor-help-wrapper{background:#fff;overflow:auto;height:170px;padding:10px}#gollum-editor-help-content{font-size:12px;margin:0 10px 0 5px;padding:0;line-height:1.8}#gollum-editor-help-content p{margin:0 0 10px;padding:0}.ie #gollum-editor .singleline input{padding-top:0.25em;padding-bottom:0.75em}#gollum-footer{font-size:12px;line-height:19px}#gollum-dialog-dialog h4{border-bottom:1px solid #ddd;color:#333;font-size:16px;line-height:normal;font-weight:bold;margin:0 0 12px;padding:0 0 6px;text-shadow:0 -1px 0 #f7f7f7}#gollum-dialog-dialog-body{font-size:12px;line-height:16px;margin:0;padding:0}#gollum-dialog-dialog-body fieldset{display:block;border:0;margin:0;overflow:hidden;padding:0 12px}#gollum-dialog-dialog-body fieldset .field{margin:0 0 18px;padding:0}#gollum-dialog-dialog-body fieldset .field:last-child{margin:0 0 12px}#gollum-dialog-dialog-body fieldset label{color:#666;display:block;font-size:14px;font-weight:bold;line-height:1.6;margin:0;padding:0;min-width:80px}#gollum-dialog-dialog-body fieldset input[type="text"]{display:block;margin:3px 0 0;width:100%}#gollum-dialog-dialog-body fieldset input.code{font-family:'Monaco', 'Courier New', Courier, monospace}#gollum-dialog-dialog-buttons{border-top:1px solid #ddd;overflow:hidden;margin:14px 0 0;padding:12px 0 0}a.gollum-minibutton,a.gollum-minibutton:visited{border:1px solid #d4d4d4;color:#333;cursor:pointer;display:inline;font-size:12px;font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-weight:bold;float:right;width:auto;margin:0 0 0 9px;padding:4px 12px;text-shadow:0 1px 0 #fff;background-color:#eaeaea;background-image:-webkit-linear-gradient(#fafafa, #eaeaea);background-image:linear-gradient(#fafafa, #eaeaea);background-repeat:repeat-x;border-radius:3px}a.gollum-minibutton:hover,a.gollum-minibutton:visited:hover{border-color:#518cc6 #518cc6 #2a65a0;color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.3);text-decoration:none;background-color:#3072b3;background-image:-webkit-linear-gradient(#599bdc, #3072b3);background-image:linear-gradient(#599bdc, #3072b3);background-repeat:repeat-x}.wiki-wrapper .ie #gollum-editor{padding-bottom:1em}.wiki-wrapper #wiki-content .enable-fullscreen{right:4px}.wiki-wrapper #wiki-content .previewable-comment-form.write-selected .write-content,.wiki-wrapper #wiki-content .previewable-comment-form.preview-selected .preview-content{padding:0}.wiki-wrapper #wiki-content .comment-body{padding:5px 0 20px}.wiki-wrapper hr{margin:25px 0 20px}.wiki-wrapper.comment-body{width:920px}.hooks-listing .boxed-group-action.select-menu{z-index:auto}.hook-item a:hover{text-decoration:none}.hook-item .item-status{float:left;margin-right:8px;width:16px;text-align:center}.hook-item .description{color:#999}.hook-item .description .css-truncate-target{max-width:160px}.hook-item .icon-for-success,.hook-item .icon-for-failure,.hook-item .icon-for-pending,.hook-item .icon-for-inactive{display:none}.hook-item.success .icon-for-success{display:inline-block;color:#6cc644}.hook-item.failure .icon-for-failure{display:inline-block;color:#bd2c00}.hook-item.pending .icon-for-pending{display:inline-block;color:#999}.hook-item.inactive .icon-for-inactive{display:inline-block;color:#999}.hook-url.css-truncate-target{max-width:360px}.hook-events-field .hook-event-selector{display:none}.hook-events-field.is-custom .hook-event-selector{display:block}.hook-event-selector{margin-left:10px}.hook-event{display:inline-block;width:310px;margin:0;padding:5px 0 5px 30px}.hook-event .note{font-size:11px;margin:0;color:#aaa}.hook-event-choice{font-weight:normal}.hook-form.is-ssl .ssl-hook-fields{display:block}.hook-form .ssl-hook-fields{display:none}.hook-form .ssl-hook-fields #disable-ssl-verification-modal,.hook-form .ssl-hook-fields .enable-ssl-verification{display:none}.hook-form .ssl-hook-fields.is-not-verifying-ssl .enable-ssl-verification{display:block}.hook-form .ssl-hook-fields.is-not-verifying-ssl .disable-ssl-verification{display:none}.hook-form .disable-ssl-verification .actions{margin-top:-4px}.hook-form .invalid-url-notice{display:none;padding:7px 4px}.hook-form .invalid-url-notice .octicon-alert{position:relative;top:1px}.hook-form.is-invalid-url .invalid-url-notice{display:block}.hooks-oap-warning{margin-top:0}.hooks-oap-warning ul{margin:10px 0}.hooks-oap-warning ul li{margin-left:16px}.hook-secret .hook-secret-standin{display:block}.hook-secret .hook-secret-field{display:none}.hook-secret.open .hook-secret-standin{display:none}.hook-secret.open .hook-secret-field{display:block}.hook-deliveries-list .loading-message{display:block}.hook-deliveries-list .error-message{display:none}.hook-deliveries-list.is-error .loading-message{display:none}.hook-deliveries-list.is-error .error-message{display:block}.hook-deliveries-list .spinner{display:inline-block;vertical-align:top;margin:0}.hook-deliveries-list .hook-delivery-item:hover{background-color:transparent}.hook-deliveries-list .item-status{display:inline-block;margin-right:5px;width:16px;text-align:center}.hook-deliveries-list .item-status .icon-for-success,.hook-deliveries-list .item-status .icon-for-failure,.hook-deliveries-list .item-status .icon-for-pending{display:none}.hook-deliveries-list .item-status.success{visibility:visible;color:#6cc644}.hook-deliveries-list .item-status.success .icon-for-success{display:inline-block}.hook-deliveries-list .item-status.failure{color:#bd2c00}.hook-deliveries-list .item-status.failure .icon-for-failure{display:inline-block}.hook-deliveries-list .item-status.pending{color:#999}.hook-deliveries-list .item-status.pending .icon-for-pending{display:inline-block}.hook-deliveries-pagination-loading-message{display:none}.hook-deliveries-pagination-loading-message .animated-ellipsis-container{text-align:left}.hook-deliveries-pagination.loading .hook-deliveries-pagination-button{display:none}.hook-deliveries-pagination.loading .hook-deliveries-pagination-loading-message{display:block}.boxed-group-list li.hook-delivery-item{padding:10px}.hook-delivery-item .hook-delivery-details{display:none}.hook-delivery-item .hook-delivery-details .loading-message,.hook-delivery-item .hook-delivery-details .error-message{display:none}.hook-delivery-item .hook-delivery-details.is-loading .loading-message{display:block}.hook-delivery-item .hook-delivery-details.has-error .error-message{display:block}.hook-delivery-item.open .hook-delivery-details{display:block}.hook-delivery-item .loading-message{text-align:center}.hook-delivery-time{float:right;margin-right:10px;color:#999;font-size:10px}.hook-delivery-summary{text-decoration:none}.hook-delivery-guid{display:inline-block;padding:2px 6px;color:rgba(0,0,0,0.5);font-family:Consolas, "Liberation Mono", Menlo, Courier, monospace;font-size:12px;background-color:rgba(209,227,237,0.5);border-radius:3px}.hook-delivery-guid .octicon{margin:1px -2px 0 0;color:#b0c4ce}.hook-delivery-actions{padding-top:1px}.boxed-group-list>li.hook-delivery-item .minibutton{margin:0}.boxed-group-list>li.hook-delivery-item .hook-delivery-details .redeliver.minibutton{margin:5px 0 0}.hook-deliveries-list .error-message,.hook-delivery-details .error-message{margin:10px 0;padding:7px 4px}.hook-deliveries-list .error-message .octicon,.hook-delivery-details .error-message .octicon{position:relative;top:1px}.boxed-group span.animated-ellipsis-container,.boxed-group span.animated-ellipsis{padding:0}.boxed-group .animated-ellipsis-container{line-height:1.3}.hook-delivery-details{clear:right}.hook-delivery-details .tabnav-widget.text{margin-top:7px}.hook-delivery-details .error-message{margin-bottom:0}.hook-delivery-details .tabnav-tabcontent{display:none}.hook-delivery-details .tabnav-tabcontent.selected{display:block}.hook-delivery-details hr{margin:10px 0}.hook-delivery-details pre{padding:7px 12px;margin:10px 0;background-color:#f8f8f8;border:1px solid #ddd;border-radius:3px;font-size:13px;line-height:1.5;overflow:auto}.hook-delivery-details .tabnav{margin:10px 0}.hook-delivery-details .redeliver-hook-delivery-button{margin-top:5px}.hook-delivery-details h4.remote-call-header{border-bottom:1px solid #999;margin:20px 0 10px}.hook-delivery-response-status{display:inline-block;padding:4px 6px 3px;color:#fff;background-color:#bd2c00;border-radius:3px;font-size:10px;line-height:1.1;font-family:Consolas, "Liberation Mono", Menlo, Courier, monospace}.hook-delivery-response-status[data-response-status^="2"]{background-color:#6cc644}.redelivery-dialog .pending-message{display:block}.redelivery-dialog .failure-message{display:none}.redelivery-dialog.failed{color:#9c2400;background-color:#efd0d0;background-image:-webkit-linear-gradient(#f8d8d8, #efd0d0);background-image:linear-gradient(#f8d8d8, #efd0d0);background-repeat:repeat-x;border-color:#da9797}.redelivery-dialog.failed .pending-message{display:none}.redelivery-dialog.failed .failure-message{display:block}.redelivering-hook-delivery .error-message{display:none}.redelivering-hook-delivery.is-error .loading-message{display:none}.redelivering-hook-delivery.is-error .error-message{display:block}.test-hook-button .pending-message{display:none}.test-hook-button.disabled .default-message{display:none}.test-hook-button.disabled .pending-message{display:inline}.test-hook-message .success-message,.test-hook-message .error-message{display:none;margin-top:10px}.test-hook-message.success .success-message{display:block}.test-hook-message.error .error-message{display:block}.issues-reset-query-wrapper{margin-bottom:20px}.issues-reset-query{color:#777;font-weight:bold}.issues-reset-query .octicon-x{width:20px;height:20px;margin-right:3px;color:#fff;line-height:20px;text-align:center;background-color:#777;border-radius:3px}.issues-reset-query:hover{color:#4183c4;text-decoration:none}.issues-reset-query:hover .octicon-x{background-color:#4183c4}.table-list-milestones .table-list-cell{padding:15px 20px}.table-list-milestones .stat{display:inline-block;font-size:14px;font-weight:bold;color:#555;line-height:1.2;white-space:nowrap}.table-list-milestones .stat+.stat{margin-left:15px}.table-list-milestones .stat-label{font-weight:normal;color:#999}.milestone-title{width:500px}.milestone-title-link{margin-top:0;margin-bottom:5px;font-size:24px;font-weight:normal;line-height:1.2}.milestone-title-link a{color:#333}.milestone-title-link a:hover{color:#4183c4}.milestone-progress{width:420px}.milestone-progress .progress-bar{margin-top:7px;margin-bottom:12px}.milestone-meta{font-size:14px}.milestone-meta-item{display:inline-block;margin-right:10px}.milestone-meta-item .octicon{width:16px;text-align:center}.milestone-description-html{display:none}.milestone-description{margin-top:5px}.milestone-description .expand-more{color:#4183c4;cursor:pointer}.milestone-description .expand-more:hover{text-decoration:underline}.milestone-description.open .milestone-description-plaintext{display:none}.milestone-description.open .milestone-description-html{display:block}.milestone-actions{margin-top:8px;font-size:13px}.milestone-action{display:inline-block;margin-right:10px}.task-progress{color:#999;text-decoration:none}.task-progress .octicon{margin-right:5px;vertical-align:middle;color:#ccc}.task-progress .progress-bar{display:inline-block;vertical-align:2px;width:120px;background-color:#eee;height:5px}.task-progress .progress-bar .progress{background-color:#ccc}.task-progress-counts{display:inline-block;margin-right:6px;margin-left:-2px;font-size:12px}a.task-progress:hover{color:#4183c4}a.task-progress:hover .octicon{color:inherit}a.task-progress:hover .progress-bar .progress{background-color:#4183c4}.issues-listing{position:relative}.issues-listing .octocat-search{position:absolute;right:0;height:250px;margin:-132px -4px;-webkit-transform:scaleX(-1);-ms-transform:scaleX(-1);transform:scaleX(-1)}.issues-listing .table-list-issues .selectable:hover,.issues-listing .table-list-issues .navigation-focus{background-color:#f9f9f9}.issues-listing .table-list-issues .issue-title{padding-top:12px;width:740px}.issues-listing .table-list-issues .labels{display:inline-block;vertical-align:1px;margin-bottom:2px}.issues-listing .table-list-issues .table-list-cell-avatar{padding-top:13px}.issues-listing .table-list-issues .table-list-cell-avatar img{display:inline-block;border-radius:2px}.issue-title-link{display:inline-block;margin-bottom:2px;padding-right:3px;font-size:15px;font-weight:bold;color:#333;line-height:1.2;word-break:break-word}.issue-title-link:hover{color:#4183c4;text-decoration:none}.issue-title-link:hover .num{color:inherit}.issue-nwo-link{color:#777}.issue-pr-status{display:inline-block;margin-right:3px;vertical-align:-1px}.issue-meta{margin-top:1px;margin-bottom:2px;font-weight:normal;color:#999}.issue-meta-section{margin-right:10px}.issue-milestone{max-width:240px}.issue-comments{width:60px;padding-top:13px;font-weight:bold;text-align:right;white-space:nowrap}.issue-comments .octicon{margin-right:1px}.issue-comments-no-comment{color:#eee}.milestone-link{color:#999}.milestone-link .octicon{color:#ccc;font-size:14px}.milestone-link:hover{color:#4183c4;text-decoration:none}.milestone-link:hover .octicon{color:inherit}.new-issue-form{margin-top:20px;padding-top:20px;border-top:1px solid #ddd}.new-issue-form .discussion-timeline:before{display:none}.label-select-menu .color{display:inline-block;width:14px;height:14px;margin-right:2px;margin-bottom:2px;border-radius:3px;vertical-align:middle}.label-select-menu .selected .select-menu-item-icon{color:inherit !important}.label-select-menu .selected:active{background-color:transparent !important}.label-select-menu .select-menu-item.navigation-focus{background-color:#f4f4f4;color:inherit}.label-select-menu .select-menu-item.navigation-focus .select-menu-item-icon{color:transparent}.label-select-menu .select-menu-item .octicon-x{display:none;float:right;margin:1px 10px 0 0;opacity:0.6}.label-select-menu .select-menu-item.selected .octicon-x{display:block;color:inherit}.label-select-menu>form{position:relative}ul.color-label-list .filter-item{cursor:default}ul.color-label-list.editable .color{width:14px}ul.color-label-list.editable .color:hover{background:transparent url(/assets/icons/arrow-down-7c04f47ebf273c1f1ff31e3c4be1a69c5d042c8af3720da0b2fd935d5ec339a1.png) 1px 2px no-repeat}ul.color-label-list.editable .octicon-x{display:inline-block;color:#aaa;position:relative;z-index:10}ul.color-label-list.editable .octicon-x:hover{color:#ba3d37}ul.color-label-list .edit-color-label-form{display:none}ul.color-label-list .color-label{line-height:16px;border:1px solid transparent}ul.color-label-list .color-label.active{z-index:25;position:relative;border:1px solid #ddd;border-radius:3px}ul.color-label-list .color-label.active .edit-color-label-form{display:block}ul.color-label-list .color-label.active .octicon-x{display:none}ul.color-label-list .color-label a{text-decoration:none}ul.color-label-list .color-label.selected{font-weight:bold;background:98% 5px no-repeat transparent;-webkit-font-smoothing:antialiased}ul.color-label-list .color-label.selected .count,ul.color-label-list .color-label.selected .color{display:none}ul.color-label-list .color-label.selected .octicon-x{display:inline-block}ul.color-label-list .color-label.zeroed,ul.color-label-list .color-label.zeroed .count{color:#999}ul.color-label-list .color-label:hover .octicon-x{opacity:1}ul.color-label-list .filter-item:hover .octicon-x{opacity:1}ul.color-label-list .filter-item:hover .color{border-color:#eee}ul.color-label-list .count{color:#333}ul.color-label-list .name a{color:#333}ul.color-label-list .color{display:block;float:left;margin-left:-5px;margin-right:4px;width:6px;height:14px;border-radius:3px;border:1px solid #fff}ul.color-label-list .octicon-x{display:none;float:right;opacity:0.8}ul.color-label-list .nolabels{margin:10px 0;font-size:11px;color:#666}.closed-banner{margin:15px 0 15px 60px;height:7px;overflow:hidden;background:url(/assets/modules/comments/closed_pattern-61d39f8a023ce5e5be82145d7a82bbd36f5aab7e6f83e0c0a7d441ee89041516.gif);border-radius:3px}.member-adder{display:none;position:absolute;background:#eee;padding:0 5px 5px;z-index:5;box-shadow:0 0 3px #999}.member-adder.active{display:inherit}.member-adder ul{list-style-type:none}.member-adder ul li{margin-top:4px;clear:both;min-width:400px;border-bottom:1px solid #ddd;background:#fff;padding:3px}.member-adder ul li a.button{margin-top:10px;float:right}.member-adder .navigation-focus{background-color:#4183c4;color:#fff}.member-adder .avatar{float:left;margin-right:5px}.member-adder .login{font-weight:bold}.member-adder .no-results{display:none}.member-adder .no-results.active{display:inherit}.merge-branch-heading{margin:0}.merge-branch-description{margin-top:0;margin-right:160px;margin-bottom:0;color:#777}.merge-branch-description .zeroclipboard-link .octicon{top:2px}.merge-branch-action,.desktop-app-action{float:right;margin-left:5px}.desktop-app-action{padding-left:10px;padding-right:10px}.merged .merge-branch-description .commit-ref .css-truncate-target{max-width:180px}.merge-branch-form{padding-left:64px;display:none}.merge-branch.open .merge-branch-form{display:block}.merge-branch.open .merge-message{display:none}.merge-branch-manually{display:none;margin-top:14px;padding-top:15px;border-top:1px solid #ddd}.merge-branch-manually h3,.merge-branch-manually p{margin:0}.merge-branch-manually .intro{margin-top:0;padding-bottom:10px}.merge-branch-manually .step{margin:15px 0 5px}.merge-branch-manually .url-box{margin-left:0;padding:0;border:0}.merge-branch-manually .clone-urls{width:100%}.open>.merge-branch-manually{display:block;max-width:585px}.milestone-calender-container{margin-left:30px}.edit-milestone .form-actions .button{margin-left:5px}.edit-milestone .form-actions .cancel{float:left}#network .network-tree{vertical-align:middle}#network .gravatar{margin-right:4px;border-radius:3px;vertical-align:middle}#network .octicon{margin-left:2px;vertical-align:middle;width:16px;display:inline-block;text-align:center}#network .current-repository{background-color:#fff6a9}#network .network-graph-container{position:relative;margin-bottom:20px;border:1px solid #ddd;border-radius:3px;overflow:hidden}#network .network-graph-container .large-loading-area{position:absolute;top:0;right:0;left:0}.page-new-repo .octicon-repo{color:#bbb}.page-new-repo .octicon-lock{color:#e9dba5}.page-new-repo ul.repo-templates{margin:10px 0}.page-new-repo ul.repo-templates>li{list-style-type:none;display:inline-block;margin:0 10px 0 0}.page-new-repo ul.repo-templates .select-menu{float:left}.page-new-repo .team-select{display:none}.page-new-repo .form-checkbox .mega-octicon{font-size:24px;float:left;margin-right:5px}.page-new-repo .license-info{float:left;margin-top:5px;margin-left:10px;color:#ccc}.new-repo-container{width:700px;margin:0 auto;padding-top:20px}.new-repo-container h2{font-size:22px;font-weight:normal;color:#666;border-bottom:1px solid #ddd;padding-bottom:5px;margin-bottom:0.5em}.owner-reponame{position:relative}.owner-reponame dl.form{margin-top:5px;margin-bottom:0}.owner-reponame .slash{float:left;font-size:21px;color:#666;padding-top:32px;margin:0 8px}.owner-reponame .icon-preview{display:none;font-size:32px;position:absolute;text-align:right;width:100px;top:23px;left:-115px}.owner-reponame .icon-preview.icon-preview-public{top:25px}.reponame-suggestion{color:#34631a;cursor:pointer}.upgrade-upsell{padding-left:33px}.cc-upgrade{padding-left:20px}.featured-license{font-weight:bold}.license-container{border-left:1px solid #ccc;padding-left:15px}.notification-routing .notification-email .edit-link{margin-right:10px;font-weight:bold}.notification-routing .notification-email .minibutton{float:none;margin:-2px 0 0}.notification-routing .notification-email .edit-form{display:none}.notification-routing .notification-email.open .edit-form{display:block}.notification-routing .notification-email.open .email-display{display:none}.notifications .list-group-item{padding-top:8px;padding-bottom:8px;padding-left:35px;border-width:1px 0 0}.notifications .list-group-item:first-child{border:0}.notifications .list-group-item-name{display:block;max-width:400px;font-size:14px;line-height:1.5em}.notifications .list-group-item-name a{display:block;max-width:460px}.notifications .notifications-more{padding:0}.notifications .notifications-more>a{display:block;padding:10px 15px;font-weight:bold;color:#4183c4;text-align:center}.notifications .notifications-more>a:hover{text-decoration:underline}.notifications .read .type-icon{color:#999}.notifications .read .list-group-item-name>a{color:#777}.notifications .read .notification-actions{color:#999}.notifications .read .avatar-stack{opacity:0.5}.notifications .read .undo{display:block}.notifications .read .delete{visibility:hidden}.notifications .read.navigation-focus{background-color:#f5f9fc}.type-icon-state-none{color:#777}.type-icon-state-open{color:#6cc644}.type-icon-state-closed{color:#bd2c00}.type-icon-state-merged{color:#6e5494}.notifications-list{float:left;width:100%}.notifications-list .notifications-repo-link{max-width:500px}.notifications-list .boxed-group .text-success{position:absolute;color:#6cc644;right:3px;width:210px;margin-top:4px;text-align:right;opacity:0;visibility:hidden;-webkit-transition:opacity 0.35s ease-in-out, -webkit-transform 0.35s ease-in-out;transition:opacity 0.35s ease-in-out, transform 0.35s ease-in-out;-webkit-transform:translateX(10px);-ms-transform:translateX(10px);transform:translateX(10px)}.notifications-list .mark-all-as-read{margin-right:0;margin-top:0;padding:2px 6px 5px 10px;line-height:20px;color:#777}.notifications-list .mark-all-as-read-confirmed .text-success{visibility:visible;-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1}.notifications-list .mark-all-as-read-confirmed .mark-all-as-read{visibility:hidden}.notifications-list .confirmation{color:#666;text-align:center;padding:0;-webkit-transition:all 0.4s ease-in-out;transition:all 0.4s ease-in-out;max-height:0;opacity:0;overflow:hidden}.notifications-list .confirmation+.list-group-item{margin-top:-1px;border-top-color:#d5d5d5}.notifications-list .confirmation.mark-all-as-read-confirmed{padding:10px 0;max-height:300px;opacity:1}.notification-actions{position:absolute;right:10px;top:8px;list-style:none}.notification-actions li{float:right;margin-left:10px;font-size:16px;line-height:20px}.notification-actions .age{width:120px;font-size:12px;color:#999}.notification-actions .undo{display:none;position:absolute;top:0}.notification-actions .button-link{padding-left:5px;padding-right:5px;color:#999;line-height:inherit}.notification-actions .button-link:hover{color:#4183c4;text-decoration:none}.repo-subscription-container{margin:0 auto;width:600px}.repo-subscription-container .spinner{float:right}.repo-subscription-container h2{font-size:22px;margin-bottom:-10px;font-weight:normal}.repo-subscription-container .intro{font-size:14px;color:#666}.repo-subscription-label{display:inline-block}.subscriptions-content .repo-icon{vertical-align:middle;color:#666;margin-right:5px}.subscriptions-content .repo-list form{display:inline}.subscriptions-content .repo-list .only-loading{display:none}.subscriptions-content .repo-list .loading .only-loading{display:inline-block}.subscriptions-content .repo-list .only-unsubed{display:none}.subscriptions-content .repo-list .unsubscribed .only-unsubed{display:inline}.subscriptions-content .repo-list .unsubscribed .only-subed{display:none}.subscriptions-content .repo-list .only-unignored{display:none}.subscriptions-content .repo-list .unsubscribed .only-unignored{display:inline}.subscriptions-content .repo-list .unsubscribed .only-ignored{display:none}.thread-subscription-status{margin:40px 0 20px;padding:10px;color:#777;background-color:#fff;border:1px solid #eee;border-radius:3px}.thread-subscription-status .mega-octicon{vertical-align:middle;margin-right:10px;margin-left:4px;color:#ccc}.thread-subscription-status .minibutton>.octicon{margin-right:1px}.thread-subscription-status .reason{display:inline-block;margin:0 10px;vertical-align:middle}.thread-subscription-status .thread-subscribe-form{display:inline-block;vertical-align:middle}.subscription .loading{opacity:0.5}.oauth-connection-illustration{position:relative;float:right;width:200px;margin-top:10px;margin-left:40px;margin-right:10px}.oauth-connection-illustration .oauth-image{float:left;padding:5px;background-color:#fff;border:1px solid rgba(0,0,0,0.1);border-radius:6px;background-clip:padding-box}.oauth-connection-illustration .oauth-image img{display:block;width:75px;height:75px;border-radius:3px}.oauth-connection-illustration .oauth-image.oauth-image-user{margin-top:20px;margin-left:-20px}.setup-wrapper .oauth-permissions{border:1px solid #ddd;border-radius:3px;box-shadow:0 1px 3px rgba(0,0,0,0.05);margin-bottom:25px}.setup-wrapper .oauth-permissions-details{background-color:#fff}.setup-wrapper.oauth-restriction-wrapper{padding-top:0}.ellipsis-button{display:inline-block;height:12px;padding:0 5px;border-radius:1px;background-color:#ddd;vertical-align:middle;color:#555;line-height:6px;font-size:12px;font-weight:bold;text-decoration:none;margin-left:2px}.ellipsis-button:hover{text-decoration:none;background-color:#ccc}.ellipsis-button:before{content:"\2026"}.oauth-permissions-details{list-style:none;margin:0;padding:15px;border-bottom:1px solid #f2f2f2}.oauth-permissions-details:first-child{border-radius:3px 3px 0 0}.oauth-permissions-details:last-child{border:0;border-radius:0 0 3px 3px}.oauth-permissions-details.oauth-public-data-only{border-radius:3px}.oauth-permissions-details .markdown-body{font-size:13px}.oauth-permissions-details .content{display:none;margin-left:45px}.oauth-permissions-details .content .form-checkbox{margin-left:0}.oauth-permissions-details .content .form-checkbox:last-child{margin-bottom:0}.oauth-permissions-details .mega-octicon{float:left;color:#777;width:32px;margin-top:1px;margin-left:0;text-align:center}.oauth-permissions-details .permission-help{font-size:13px}.oauth-permissions-details .permission-help ul{padding-left:20px;margin:1em 0}.oauth-permissions-details .permission-summary{margin-left:45px}.oauth-permissions-details .permission-summary .access-details{position:relative;color:#777}.oauth-permissions-details .permission-summary em.highlight{position:relative;margin-left:-3px;margin-right:-2px;padding:2px 3px;font-style:normal;background:#fffbdc;border-radius:3px}.oauth-permissions-details .permission-title{color:#000;display:block}.oauth-permissions-details a.minibutton{float:right;margin-top:4px}.oauth-permissions-details.open a.minibutton{background-color:#dcdcdc;background-image:none;border-color:#b5b5b5;box-shadow:inset 0 2px 4px rgba(0,0,0,0.15)}.oauth-permissions-details.open .content{display:block}.oauth-permissions-details.default:not(.delete) .no-access,.oauth-permissions-details.default:not(.delete) .default-access,.oauth-permissions-details.none .no-access,.oauth-permissions-details.none .default-access{display:inline}.oauth-permissions-details.default:not(.delete) .access-details,.oauth-permissions-details.default:not(.delete) .permission-title,.oauth-permissions-details.none .access-details,.oauth-permissions-details.none .permission-title{color:#999}.oauth-permissions-details.default:not(.delete) .mega-octicon,.oauth-permissions-details.none .mega-octicon{color:#ccc}.oauth-permissions-details.default .default-access{display:inline}.oauth-permissions-details.full .full-access{display:inline}.oauth-user-permissions .full-access,.oauth-user-permissions .limited-access,.oauth-user-permissions .limited-access-none,.oauth-user-permissions .limited-access-followers,.oauth-user-permissions .limited-access-emails,.oauth-user-permissions .no-access{display:none}.oauth-user-permissions.limited .limited-access-none{display:inline}.oauth-user-permissions.limited.limited-email .limited-access,.oauth-user-permissions.limited.limited-email .limited-access-none{display:none}.oauth-user-permissions.limited.limited-email .limited-access-emails{display:inline}.oauth-user-permissions.limited.limited-email.limited-follow .limited-access{display:inline}.oauth-user-permissions.limited.limited-email.limited-follow .limited-access-none,.oauth-user-permissions.limited.limited-email.limited-follow .limited-access-emails,.oauth-user-permissions.limited.limited-email.limited-follow .limited-access-followers{display:none}.oauth-user-permissions.limited.limited-follow .limited-access,.oauth-user-permissions.limited.limited-follow .limited-access-none{display:none}.oauth-user-permissions.limited.limited-follow .limited-access-followers{display:inline}.oauth-repo-permissions .default-access,.oauth-repo-permissions .public-access,.oauth-repo-permissions .full-access{display:none}.oauth-repo-permissions.public .public-access{display:inline}.oauth-delete-repo-permissions .octicon-alert{color:#bd2c00}.oauth-repo-status-permissions .no-access,.oauth-repo-status-permissions .full-access,.oauth-repo-deployment-permissions .no-access,.oauth-repo-deployment-permissions .full-access{display:none}.oauth-notifications-permissions .no-access,.oauth-notifications-permissions .read-access,.oauth-notifications-permissions .via-public-access,.oauth-notifications-permissions .via-full-access{display:none}.oauth-notifications-permissions.read .read-access{display:inline}.oauth-notifications-permissions.via-public .via-public-access{display:inline}.oauth-notifications-permissions.via-public .octicon{display:none}.oauth-notifications-permissions.via-full .via-full-access{display:inline}.oauth-gist-permissions .no-access,.oauth-gist-permissions .full-access{display:none}.oauth-granular-permissions .no-access,.oauth-granular-permissions .read-access,.oauth-granular-permissions .write-access,.oauth-granular-permissions .full-access{display:none}.oauth-granular-permissions.none .no-access{display:inline}.oauth-granular-permissions.read .read-access{display:inline}.oauth-granular-permissions.write .write-access{display:inline}.oauth-granular-permissions.full .full-access{display:inline}.oauth-secondary .setup-info-module{margin-top:0}.oauth-secondary .setup-info-module .no-description{color:#999}.oauth-secondary .setup-info-module .features-list{padding-bottom:0}.oauth-no-description{color:#999}.oauth-org-access-details a:hover{text-decoration:none}.oauth-org-access-details .boxed-group-list>li{line-height:24px}.oauth-org-access-details .boxed-group-list>li .loading-indicator{display:none;margin:4px}.oauth-org-access-details .boxed-group-list>li.on{background:#fff}.oauth-org-access-details .boxed-group-list>li.on:hover{background:#ffe}.oauth-org-access-details .boxed-group-list>li.on .authorized-tools{display:block}.oauth-org-access-details .boxed-group-list>li.on .unauthorized-tools{display:none}.oauth-org-access-details .boxed-group-list>li.on strong{color:#333}.oauth-org-access-details .boxed-group-list>li.on .octicon-check{display:inline}.oauth-org-access-details .boxed-group-list>li.on .octicon-x{display:none}.oauth-org-access-details .boxed-group-list>li.loading .unauthorized-tools,.oauth-org-access-details .boxed-group-list>li.loading .authorized-tools{display:none}.oauth-org-access-details .boxed-group-list>li.loading .loading-indicator{display:block}.oauth-org-access-details .boxed-group-list>li .authorized-tools{display:none}.oauth-org-access-details .boxed-group-list>li .unauthorized-tools{display:block}.oauth-org-access-details .boxed-group-list>li .button-outline,.oauth-org-access-details .boxed-group-list>li .minibutton{padding:0 10px;line-height:24px;margin-left:15px}.oauth-org-access-details .status-pending{color:#6cc644;font-size:12px;margin-right:5px}.oauth-org-access-details .status-denied{background-color:#bd2c00}.oauth-org-access-details .octicon{color:#979797}.oauth-org-access-details .octicon-check{color:#6cc644;display:none}.oauth-org-access-details .octicon-x{display:inline}.oauth-org-access-details .octicon-x.org-access-denied{color:#bd2c00}.deleted-permission{color:#bd2c00}.added-permission{color:#6cc644}.permission-title{margin-top:0}.oauth-application-whitelist .request-info{display:block;margin-left:25px;color:#9b9b9b}.oauth-application-whitelist .request-info strong{color:#333}.oauth-application-whitelist .request-info .application-description{display:none}.oauth-application-whitelist .request-info.open .application-description{display:block}.oauth-application-whitelist .avatar{margin-top:0}.oauth-application-whitelist .requestor{font-weight:bold}.oauth-application-whitelist .octicon-alert{color:#f93}.oauth-application-whitelist .octicon-check,.oauth-application-whitelist .approved-request{color:#6cc644}.oauth-application-whitelist .denied-request{color:#bd2c00}.oauth-application-whitelist .request-indicator{margin-left:10px}.oauth-application-whitelist .edit-link{color:#999}.oauth-application-whitelist .edit-link:hover{color:#4183c4}.oauth-application-whitelist .boxed-group-list{margin-top:1em;margin-bottom:-1em}.oauth-application-whitelist .boxed-group-list li{padding:10px}.oauth-application-info{padding-top:10px;margin-bottom:10px;min-height:70px}.oauth-application-info .application-title,.oauth-application-info .application-description,.oauth-application-info .application-meta-info{margin-left:70px}.oauth-application-info .application-title{font-size:14px;font-weight:bold;color:#333}.oauth-application-info .application-description{margin-top:3px;margin-bottom:3px;color:#777}.oauth-application-info .octicon{color:#999}.oauth-application-info .app-info{display:inline-block;margin-right:10px;color:#666}.oauth-application-info .application-meta-info{font-size:12px}.oauth-application-info .application-meta-info strong,.oauth-application-info .application-meta-info .requestor{color:#666}.oauth-application-info .app-denied,.oauth-application-info .app-approved{margin-left:10px;font-weight:normal;white-space:nowrap}.oauth-application-info .app-approved,.oauth-application-info .octicon-check{color:#6cc644}.oauth-application-info .app-denied,.oauth-application-info .octicon-x{color:#f93}.restrict-oauth-access-button{margin-right:20px}.restrict-oauth-access-info{margin-bottom:40px;font-size:15px}.restrict-oauth-access-list{padding-left:25px}.restrict-oauth-access-list li{margin-bottom:10px}.restrict-oauth-access-list li:last-child{margin-bottom:0}.app-transfer-actions form{display:inline}.application-authorizations:target li{background-color:#ffe}.oauth-access-application-details .features-list-oauth{margin-top:1em;margin-bottom:-1em}.org-header{margin-bottom:20px;color:#666;border-bottom:1px solid #eee;background-color:#fcfcfc}.org-header .edit-org{position:relative;top:-6px;display:inline-block;padding:3px 5px;font-size:14px;color:#aaa;border:1px solid #e5e5e5;border-radius:3px}.org-header .edit-org:hover{color:#4183c4;background-color:#fff}.org-header .edit-org .octicon{font-size:14px}.org-header-wrapper{display:table;width:680px;padding-top:20px;padding-bottom:20px}.org-header-wrapper .avatar{display:table-cell;width:100px;height:100px}.org-header-info{display:table-cell;vertical-align:middle;width:560px}.org-name{margin-top:0;margin-bottom:5px;color:#333;font-size:36px;font-weight:normal}.org-description{margin-top:0;margin-bottom:8px;font-size:16px;line-height:1.25}.org-header-meta{font-size:12px;line-height:1.5;list-style:none}.org-header-meta .meta-item{display:inline-block;padding-right:18px;overflow:hidden;max-width:100%;text-overflow:ellipsis;white-space:nowrap}.org-header-meta .meta-item .meta-link{color:#666}.org-header-meta .octicon{position:relative;top:1px;margin-right:2px;color:#ccc}.org-header-meta.has-email.has-blog .meta-item,.org-header-meta.has-email.has-location .meta-item,.org-header-meta.has-blog.has-email .org-header-meta.has-blog.has-location .meta-item,.org-header-meta.has-location.has-blog .meta-item,.org-header-meta.has-location.has-email .meta-item{max-width:278px}.org-header-meta.has-email.has-blog.has-location .meta-item{max-width:186px}.org-link{color:#333}.org-link:hover{color:#4183c4;text-decoration:none}.org-main{float:left;width:640px}.org-sidebar{position:relative;z-index:1;float:right;width:280px;margin-top:-112px}.org-sidebar .developer-program-badge{display:block;padding-top:0;padding-bottom:0;text-align:center;border-top:0}.simple-box{padding:15px;margin-bottom:20px;border:1px solid #ddd;background-color:#fff;border-radius:3px}.simple-box-footer{margin:10px -15px -15px;padding:15px;border-top:1px solid #eee;background-color:#fcfcfc;border-radius:0 0 3px 3px}.simple-box-footer .typeahead{width:248px}.orgs-help-shelf{margin-top:-20px;margin-bottom:20px;padding-top:20px;padding-bottom:20px;border-bottom:1px solid #eee;background-color:#fefefe}.orgs-help-shelf .orgs-help-title{font-size:30px;font-weight:normal}.orgs-help-shelf-content{width:800px;margin:50px auto;text-align:center}.orgs-help-shelf-content .orgs-help-lead,.orgs-help-shelf-content .orgs-help-description{font-size:18px}.orgs-help-shelf-content .orgs-help-description:before{width:150px;margin:40px auto;display:block;border-top:1px solid #ddd;content:""}.orgs-help-lead{margin-bottom:30px}.orgs-help-learn-more{margin-top:-10px;-webkit-transition:opacity 0.25s ease-in-out;transition:opacity 0.25s ease-in-out}.orgs-help-extra-content{max-height:0;overflow-y:auto;-webkit-transition:max-height 0.75s ease-in-out;transition:max-height 0.75s ease-in-out}.open .orgs-help-learn-more{opacity:0;pointer-events:none}.open .orgs-help-extra-content{max-height:450px;overflow-x:hidden}.orgs-help-role-group{margin-bottom:40px}.orgs-help-role-octicon{width:70px;height:70px;margin:0 auto 15px;text-align:center;border:solid 1px #e5e5e5;border-radius:50px;background-color:#fff}.orgs-help-role-octicon .mega-octicon{color:#4183c4;font-size:26px;line-height:68px}.orgs-help-role-limited-member .mega-octicon{color:#999}.orgs-help-role-title{margin-bottom:10px;font-weight:normal}.orgs-help-role-content{margin-top:0;color:#666;font-size:14px}.orgs-help-dismiss{margin-top:5px;margin-right:10px;float:right;font-size:12px;color:#999}.orgs-help-dismiss:hover{color:#4183c4;text-decoration:none}.orgs-help-dismiss .octicon{position:relative;top:1px}#promote-all-to-member,#remove_repo_access{display:none}.confirmOrgModal .confirm-list{margin-left:15px}.confirmOrgModal .confirm-list-item{padding-bottom:10px}.orgs-help-title{margin-top:0;margin-bottom:0}.orgs-help-description{font-size:14px}.orgs-help-lead,.orgs-help-description{margin-top:10px;color:#666}.orgs-help-button{margin-right:10px}.org-module-title{margin:-15px -15px 0;font-size:18px;border-bottom:1px solid #eee}.org-module-link{display:block;padding:15px;color:#333}.org-module-link:hover,.org-module-link:hover .org-stats{text-decoration:none;color:#4183c4}.org-stats{margin-top:3px;float:right;font-size:14px;color:#999}.org-members-title{margin-bottom:0;border-bottom:0}.member-avatar-group{margin:-1px}.member-avatar-group:before{display:table;content:""}.member-avatar-group:after{display:table;clear:both;content:""}.member-avatar{float:left;margin:1px}.member-row{display:block;padding-bottom:15px;margin-bottom:15px;margin-top:15px;font-size:14px;color:#333;border-bottom:1px solid #eee}.member-row:before{display:table;content:""}.member-row:after{display:table;clear:both;content:""}.member-row:hover{color:#4183c4;text-decoration:none}.member-row:last-child{margin-bottom:0;padding-bottom:0;border-bottom:0}.member-row .avatar{float:left;margin-right:10px}.member-row .member-name{display:block}.member-fullname{color:#777}.org-no-members{text-align:center;color:#777;margin-top:20px;margin-bottom:10px}.org .no-results{padding:10px;color:#999}.org-teams-nav{margin-top:15px}.org-teams-list{list-style:none;margin-bottom:-10px}.org-teams-list .team{display:block;overflow:hidden;padding-top:15px;padding-bottom:15px;color:#333;border-top:1px solid #eee}.org-teams-list .team:hover{text-decoration:none}.org-teams-list .team:hover .team-name{color:#4183c4}.org-teams-list .org-teams-list-item:first-child .team{border-top:0}.org-teams-list .team-name{display:block;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.org-teams-list .team-meta{margin-top:0;margin-bottom:0;color:#777}.org-toolbar.disabled{pointer-events:none}.org-toolbar .select-all-members{float:left;margin-top:7px;margin-left:9px;margin-right:18px}.org-toolbar .subnav-search{width:320px;margin-left:0}.org-toolbar .subnav-search-context+.subnav-search{margin-left:-1px}.org-toolbar input.subnav-search-input{width:100%}.org-toolbar .pending-invitations-link{position:relative;top:1px;display:inline-block;margin-right:10px;color:#777}.member-action{margin-right:10px}.member-role-select{display:inline}.member-role-select .select-menu-modal{left:39px;width:300px}.member-role-menu .select-menu-item-text{padding-right:8px}.member-role-menu .role-disabled{pointer-events:none}.member-role-menu .role-disabled .octicon-alert{font-size:14px;color:#999}.member-role-menu .role-note{margin-top:6px}.auto-search-group{position:relative}.auto-search-group .auto-search-input{padding-left:30px}.auto-search-group .spinner,.auto-search-group>.octicon{position:absolute;left:10px;width:16px;height:16px;z-index:5}.auto-search-group .spinner{top:9px;background-color:#fff}.auto-search-group>.octicon{top:10px;font-size:14px;color:#bbb;text-align:center}.org-list .list-item{position:relative;padding-top:15px;padding-bottom:15px;border-bottom:1px solid #eee}.org-list .list-item:before{display:table;content:""}.org-list .list-item:after{display:table;clear:both;content:""}.org-list .cancel-link{color:#777}.org-repos .blankslate{margin-top:15px}.org-repos-mini{padding:0;margin:0}.org-repos-mini .org-repo-mini-item:first-child .org-repo-mini-cell{border-top:0}.org-repos-mini .org-repo-name{margin-top:0;margin-bottom:0;font-size:14px;word-wrap:break-word}.org-repos-mini .org-repo-name .octicon-repo{color:#999}.org-repos-mini .org-repo-name .octicon-lock{color:#e9dba5}.org-repos-mini .org-repo-forked{max-width:270px;margin-top:0;margin-bottom:0;display:inline-block;font-weight:normal;font-size:12px}.org-repo-mini-item .repo-prefix{font-weight:normal;text-transform:lowercase}.org-repo-mini-item .repo-slash{display:inline-block;margin-left:-4px;margin-right:-4px}.org-repo-mini-cell{padding-top:15px;padding-bottom:15px;vertical-align:middle}.org-repo-meta{width:165px}.org-repo-meta .access-level{cursor:default}.org-repo-meta .button-group{float:right}.org-repo-meta.not-team-admin{text-align:right}.permission-level-cell .select-menu-button{width:100px}.permission-level-cell .select-menu-button:after{position:absolute;top:10px;right:10px}.permission-level-cell .spinner,.permission-level-cell .permission-success-icon{position:absolute;margin-left:15px;display:inline-block;opacity:0;-webkit-transition:opacity 0.2s ease-in-out;transition:opacity 0.2s ease-in-out}.permission-level-cell .permission-success-icon{margin-top:4px;color:#6cc644}.permission-level-cell .is-updating .spinner,.permission-level-cell .was-successful .permission-success-icon{opacity:1}.permission-level-cell .select-menu-modal .description{padding-right:20px}.permission-level-cell .select-menu-option-title{margin-top:0;margin-bottom:0}.permission-level-cell .navigation-focus .select-menu-option-title{color:#fff}.add-member-wrapper{position:relative;width:680px;margin:40px auto}.add-member-wrapper .owners-team-info{position:relative;padding-top:10px;padding-left:42px;color:#777;border-top:1px solid #e5e5e5}.add-member-wrapper .owners-team-info .octicon-info{position:absolute;left:8px;color:#999;font-size:18px}.add-member-wrapper .available-seats{color:#999}.add-member-wrapper .buy-more-link{margin-right:5px}.invitation-role-group{padding-top:25px;padding-bottom:30px}.invitation-role-group:before{display:table;content:""}.invitation-role-group:after{display:table;clear:both;content:""}.invitation-role{position:relative;width:215px;margin-left:17px;padding:15px 10px;float:left;font-weight:normal;text-align:center;cursor:pointer}.invitation-role:first-child{margin-left:0}.invitation-role .invitation-role-item-border{position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid #eee;border-radius:3px;-webkit-transition:border 0.15s ease-in-out;transition:border 0.15s ease-in-out}.invitation-role input{display:block;margin-right:auto;margin-left:auto}.invitation-role input:checked ~ .invitation-role-item-border{border:1px solid #3b99fc;box-shadow:0 0 5px rgba(59,153,252,0.4)}.invitation-role-title{margin-top:5px;margin-bottom:5px}.invitation-role-description{margin-top:0;color:#777}.invitation-role-hint-for-limited-members{display:none}.invitation-limited-member-role-selected .invitation-role-hint-for-direct-members-and-admins{display:none}.invitation-limited-member-role-selected .invitation-role-hint-for-limited-members{display:inherit}.invitation-empty-teams{width:500px;color:#666;text-align:left}.invitation-empty-teams .octicon{margin-top:2px;margin-right:7px;margin-bottom:10px;float:left;color:#bd2c00;font-size:14px}.add-member-title{margin-bottom:0;font-size:30px;font-weight:normal}.add-member-lead{margin-top:5px;margin-bottom:0;padding-bottom:15px;border-bottom:1px solid #eee}.add-member-lead.no-border{padding-bottom:0;border-bottom:0}.add-member-team-list{margin-bottom:15px;list-style:none}.add-member-team-list .team{display:block;padding:15px 0;font-weight:normal;cursor:pointer}.add-member-team-list .team:first-child{border-top:1px solid #f2f2f2}.add-member-team-list .team .minibutton{float:right}.add-member-team-list .team-info{max-width:80%;color:#000;text-decoration:none}.add-member-team-list .team-info:hover{color:#4183c4}.add-member-team-list .team-name{font-size:14px}.add-member-team-list .team-meta{color:#777;margin-top:2px;margin-bottom:2px}.add-member-team-list .team-description{margin-top:2px;margin-bottom:2px;color:#333}.add-member-team-list .team-toggler .turn-on{display:inline-block}.add-member-team-list .team-toggler.on .turn-off{display:inline-block}.add-member-team-list .team-toggler .turn-off{display:none}.add-member-team-list .team-toggler.on .turn-on{display:none}.team-list-footer .show-all-link .octicon{margin-left:5px;color:#777}.invite-team-member-list .team{display:table-row;cursor:default}.invite-team-member-list .team:first-child .table-list-cell{border-top:0}.invite-team-member-list .team .table-list-cell{padding-top:15px;padding-bottom:15px}.invite-team-member-list .table-list-cell-checkbox{width:42px}.invite-team-member-list .team-info{width:250px;vertical-align:middle;color:#222}.invite-team-member-list .team-description{display:block;padding-top:0;padding-bottom:0;font-weight:normal}.invite-team-member-list .team-meta{width:100px;text-align:left;vertical-align:middle}.invite-team-member-list .team-link{text-align:right;color:#4183c4}.member-list-item .table-list-cell{vertical-align:middle;padding-top:10px;padding-bottom:10px}.member-list-item .table-list-cell-checkbox{width:30px}.member-list-item.adminable:hover{background-color:#f9f9f9}.member-list-item .member-info{font-size:14px}.member-list-item .member-info .member-list-avatar{float:left;margin-right:15px}.member-list-item .member-info .member-fullname{font-weight:normal;color:#777}.member-visibility .octicon{font-size:14px}.member-username{margin-top:4px;display:block;color:#333}.member-username .octicon{position:relative;top:-2px;margin-left:2px;font-size:12px;color:#aaa}.member-security .octicon{color:#f93;font-size:14px}.member-role{width:100px}.member-role.select-menu{padding-left:50px;text-align:left}.member-meta{width:140px;font-size:11px;color:#777;text-align:center}.member-meta .teams-link{color:#777}.member-meta .teams-link:hover{color:#4183c4;text-decoration:none}.member-meta .button-link{color:#777}.member-meta .button-link:hover{color:#4183c4;text-decoration:none}.member-meta .select-menu-modal-holder{right:0;text-align:left}.member-follow{text-align:right}.member-selected-actions{display:inline}.team-grid{position:relative;margin-left:-10px;margin-right:-10px}.team-grid:before{display:table;content:""}.team-grid:after{display:table;clear:both;content:""}.team-grid .team{position:relative;float:left;width:480px;height:127px;padding:15px;margin-bottom:20px;margin-left:10px;margin-right:10px;border:1px solid #eee;border-radius:3px}.team-grid .team-link{display:block;text-decoration:none}.team-grid .team-link:focus .team-name,.team-grid .team-link:hover .team-name{color:#4183c4}.team-grid .team-link:focus{outline:none}.team-grid .team-link:hover{text-decoration:none}.team-grid .team-name{display:inline-block;margin:0;color:#333;font-size:18px}.team-grid .team-description{overflow:hidden;max-width:80%;margin-top:5px;font-size:14px;color:#777;text-overflow:ellipsis;white-space:nowrap}.team-grid .team-label-ldap{float:right}.team-grid .team-members{width:478px;padding:10px 15px;margin:0 -15px -15px;border-top:1px solid #eee;border-radius:0 0 3px 3px;background-color:#f8f8f8}.team-grid .team-members .minibutton{margin-top:2px;margin-bottom:2px}.team-grid .team-member{display:inline-block;vertical-align:top;width:30px;height:30px}.team-grid .team-member:hover{text-decoration:none}.team-grid .blankslate{margin-left:10px;margin-right:10px}.team-grid .team-actions-form{float:right}.team-label-ldap{display:inline-block;padding:0 9px;line-height:25px;border:1px solid #eaeaea;border-radius:3px;box-shadow:none;color:#999;font-size:11px;text-transform:uppercase;cursor:default}.team-label-ldap.header-label-ldap{padding:3px 5px}.team-member-ellipsis{display:inline-block;vertical-align:top;width:30px;height:30px;line-height:24px;color:#777;font-weight:bold;text-align:center;background-color:#ddd;border-radius:3px}.team-member-ellipsis:hover{color:#333;text-decoration:none}.typeahead{position:absolute;z-index:3;display:none;overflow:hidden;width:100%;margin-top:1px;background-color:#fff;background-clip:padding-box;border-radius:3px;border:1px solid rgba(0,0,0,0.2);box-shadow:0 1px 5px rgba(0,0,0,0.25)}.typeahead.active{display:block}.facebox .typeahead-results{margin:0}.typeahead-result{position:relative;display:block;min-width:100%;padding:10px;margin-top:0;color:#333;cursor:pointer}.typeahead-result:before{display:table;content:""}.typeahead-result:after{display:table;clear:both;content:""}.typeahead-result:first-child{border-top:0}.typeahead-result:focus,.typeahead-result:hover,.typeahead-result.navigation-focus{text-decoration:none}.typeahead-result:hover,.typeahead-result.navigation-focus{color:#fff;background-color:#4183c4}.typeahead-result:hover .octicon-plus,.typeahead-result.navigation-focus .octicon-plus{color:#fff}.member-suggestion{padding-left:44px}.member-suggestion .avatar{float:left;margin-left:-34px;margin-right:10px}.member-suggestion .member-info{width:75%;overflow:hidden;margin-top:2px;margin-bottom:0;white-space:nowrap;text-overflow:ellipsis}.member-suggestion .member-name{color:#777;font-size:12px}.member-suggestion .octicon-plus,.member-suggestion .octicon-check{position:absolute;top:50%;right:15px;margin-top:-8px;color:#ddd}.member-suggestion .already-member-note,.member-suggestion .non-member-note,.member-suggestion .non-member-action{margin-top:0;margin-bottom:0;color:#777;font-size:11px}.member-suggestion .non-member-action{display:none}.member-suggestion:hover .member-name,.member-suggestion:hover .non-member-note,.member-suggestion:hover .already-member-note,.member-suggestion:hover .non-member-action,.member-suggestion.navigation-focus .member-name,.member-suggestion.navigation-focus .non-member-note,.member-suggestion.navigation-focus .already-member-note,.member-suggestion.navigation-focus .non-member-action{color:#fff}.member-suggestion:hover .non-member-note,.member-suggestion.navigation-focus .non-member-note{display:none}.member-suggestion:hover .non-member-action,.member-suggestion.navigation-focus .non-member-action{display:block}.member-suggestion:hover .octicon-plus,.member-suggestion:hover .octicon-check,.member-suggestion.navigation-focus .octicon-plus,.member-suggestion.navigation-focus .octicon-check{color:#fff}.member-suggestion.not-a-member .member-info,.member-suggestion.disabled .member-info{margin-top:-2px}.member-suggestion.disabled{opacity:0.5}.team-info-card{position:relative;margin-bottom:20px}.team-info-card .team-label-ldap{font-size:13px;line-height:32px}.team-info-card .team-description{margin-top:10px;color:#666;font-size:14px;line-height:20px;word-break:break-word}.team-info-card .team-description .link{color:#999;cursor:pointer}.team-info-card .team-description .link:hover{text-decoration:underline}.team-info-card .description-toggler .turn-on{display:inline-block}.team-info-card .description-toggler.on .turn-off{display:inline-block}.team-info-card .description-toggler .turn-off{display:none}.team-info-card .description-toggler.on .turn-on{display:none}.team-title{margin-top:0;margin-bottom:0;font-size:22px;line-height:26px}.team-stats{margin-right:-15px;margin-bottom:-10px;margin-left:-15px;padding-right:15px;padding-left:15px;border-top:1px solid #eee}.stats-group{display:table;table-layout:fixed;width:100%}.stats-group-stat{display:table-cell;padding-top:10px;padding-bottom:10px;padding-left:15px;font-size:12px;color:#999;text-transform:uppercase}.stats-group-stat:hover,.stats-group-stat:hover .stat-number{color:#4183c4;text-decoration:none}.stats-group-stat:first-child{padding-left:0;border-right:1px solid #eee}.stats-group-stat.no-link:hover{color:#999}.stats-group-stat.no-link:hover .stat-number{color:#333}.stat-number{display:block;color:#333;font-size:16px}.team-description-form{width:100%;margin-top:10px;margin-bottom:20px}.team-description-field{width:100%;height:100px;margin-bottom:10px;font-size:14px}.team-actions .octicon{margin-right:0}.team-actions-form{display:inline-block}.org-team-sidebar{float:left;width:280px}.org-team-sidebar .team-note{color:#777;font-size:13px;text-align:center}.org-team-sidebar .team-note .note-emphasis{color:#333}.org-team-main{float:right;width:660px}.owners-member-title{margin-top:10px;margin-bottom:0;font-size:18px;color:#777;font-weight:normal}.owners-notice{background-color:#f0f8ff}.owners-notice-title{margin-top:0;margin-bottom:0;font-size:18px}.owners-notice-link{margin-top:10px}.team-member-list{list-style:none}.team-member-list .team-member-content{margin-left:50px}.team-member-list .team-member-username{font-weight:bold;margin:0;font-size:14px;line-height:20px}.team-member-list .team-member-description{color:#777;margin:0;font-size:14px;line-height:20px}.team-member-list .label-admin,.team-member-list .label-limited-member{cursor:default}.team-member-list .manage-team-member{float:right;margin-top:10px}.team-member-list .manage-team-member .select-menu-modal{width:225px;left:-176px}.team-member-list .manage-team-member .select-menu-item.disabled{color:#bbb;cursor:not-allowed}.team-member-list .manage-team-member .select-menu-item .button-link{width:100%;margin-left:0;color:#bd2c00}.team-member-list .manage-team-member .navigation-focus.disabled{color:#bbb;background-color:#fff}.team-member-list .manage-team-member .navigation-focus .button-link{color:#fff;text-decoration:none}.team-member-list-avatar{float:left;margin-right:10px}.org-team-form{width:440px;margin:0 auto}.org-team-form .disabled{opacity:0.5}.org-validate-group{position:relative}.org-validate-group .octicon,.org-validate-group .spinner{position:absolute;top:9px;right:10px}.org-validate-group .octicon-check{color:#6cc644}.org-validate-group .octicon-alert{color:#bd2c00}.team-members{margin-bottom:20px}#team-member-container .table-list{border-bottom:0}.member-remove-confirm-container .private-fork-count{margin-top:0;color:#777;font-weight:normal;font-size:12px}.member-remove-confirm-container .deleting-private-forks-warning{position:relative;padding-left:26px}.member-remove-confirm-container .deleting-private-forks-warning .octicon{position:absolute;top:2px;left:0;color:#bd2c00}.member-remove-confirm-list-container{border:1px solid #eaeaea;border-radius:3px;margin-bottom:15px}.member-remove-confirm-list{margin-left:0;margin-bottom:0;padding-left:0;max-height:182px;overflow:auto}.member-remove-confirm-item{font-size:14px;font-weight:bold;margin:0;padding:10px;border-top:1px solid #eaeaea}.member-remove-confirm-item:first-child{border-top:0}.org-blankslate{display:none}.org-section.is-empty .org-blankslate{display:block}.org-section .auto-search-group .spinner{display:inline-block}.org-section .auto-search-group .spinner.hidden{display:none}.manage-member-role{float:right}.manage-member-role .button-link,.manage-member-role .select-menu-item-text .description{font-weight:normal}.manage-member-role .button-link{color:#777;font-size:11px}.manage-member-role .select-menu-item-text .description{font-size:12px;line-height:16px}.manage-member-button{display:block;text-align:center}.manage-repo-access-wrapper{width:650px}.manage-repo-access-header{margin-top:30px;margin-bottom:30px}.manage-repo-access-header:before{display:table;content:""}.manage-repo-access-header:after{display:table;clear:both;content:""}.manage-repo-access-header .button{margin-top:8px}.manage-repo-access-avatar{float:left;margin-right:10px}.manage-repo-access-heading{margin-top:-2px;margin-bottom:0;font-weight:normal;font-size:24px}.manage-repo-access-lead{margin-top:0;margin-bottom:0}.manage-access-team-list{border-bottom:0}.manage-access-team-list-item:first-child .table-list-cell{border-top:0}.manage-access-team-info{padding-top:15px;width:350px}.manage-access-team-description{margin-top:3px;color:#777}.manage-access-team-meta{padding-top:25px;padding-bottom:25px;text-align:center}.manage-access-team-action{margin-right:10px;float:right;color:#999}.access-inactive{opacity:0.6}.access-inactive .manage-access-team-meta{padding-right:20px;text-align:right}.ldap-group-dn{display:block;color:#aaa;font-weight:normal}.ldap-import-groups-container .blankslate{display:none}.ldap-import-groups-container.is-empty .blankslate{display:block}.ldap-import-groups-container.is-empty .ldap-memberships-list{display:none}.ldap-import-groups-container .team-name-exists{display:none}.ldap-import-groups-container .is-exists .ldap-mention-as{color:#bd2c00}.ldap-import-groups-container .is-exists .team-name-exists{position:absolute;z-index:1;display:inline-block;padding:5px;font-size:11px;color:#494620;background:#f7ea57;border:1px solid #c0b536;border-top-color:#fff;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.ldap-memberships-list{margin-bottom:30px}.ldap-memberships-list .table-list-cell{font-size:13px;padding-bottom:10px;padding-top:10px;vertical-align:middle}.ldap-memberships-list .table-list-cell:last-child{width:92px}.ldap-memberships-list .ldap-group-form{display:table;width:100%}.ldap-memberships-list .team-name-exists{bottom:-19px;left:10px}.ldap-memberships-list .ldap-list-team-name{width:380px}.ldap-memberships-list .ldap-group-dn{font-size:11px}.ldap-memberships-list .ldap-mention-as{width:260px}.ldap-memberships-list .edit{position:absolute;padding:10px;margin-left:-33px;color:#4183c4;cursor:pointer}.ldap-memberships-list .edit-fields{display:none}.ldap-memberships-list .is-editing .edit-hide{display:none}.ldap-memberships-list .is-editing .edit-fields{display:block}.ldap-memberships-list .is-editing .spinner{margin-left:15px;vertical-align:middle}.ldap-memberships-list .is-removing{opacity:0.25}.ldap-memberships-list .is-removing .edit{opacity:0.5}.team-name-field{height:33px}.ldap-import-form-actions{margin-top:30px}.is-importing .team-ldap-group-adder-button .spinner{display:inline;float:left}.team-ldap-group-adder{position:relative;float:left}.team-ldap-group-adder .team-name-exists{bottom:-27px}.team-ldap-group-adder .subnav-search-input{border-radius:4px 0 0 4px}.team-ldap-group-adder-button{border-radius:0 4px 4px 0;margin-left:-1px;width:90px}.team-ldap-group-adder-button .loading-indicator{display:none}#pending-invitations{display:none}.pending-team-invitations-link{display:block;padding-top:15px;padding-bottom:15px;border-bottom:1px solid #eee}.invited .team-member-list{margin:-10px 0 0}.invited .team-member-list .list-item{padding:10px 0;border-bottom:1px solid #eee}.invited .team-member-list .list-item:before{display:table;content:""}.invited .team-member-list .list-item:after{display:table;clear:both;content:""}.invited .team-member-list .list-item:last-of-type{border:0}.invited .team-member-list .list-item .edit-invitation,.invited .team-member-list .list-item .cancel-invitation{margin-top:6px;float:right}.invited-banner{margin-top:10px;padding:10px;border:1px solid #eaeaea;border-radius:4px;background-color:#fff}.invited-banner:before{display:table;content:""}.invited-banner:after{display:table;clear:both;content:""}.invited-banner .minibutton{float:right;margin-left:5px;margin-top:-3px}.invited-banner p{color:#333;margin:0;font-size:15px}.invited-banner .inviter-link{color:#333;font-weight:bold}.invitation-container{width:600px;margin:40px auto;padding:20px;border:1px solid #ddd;border-radius:3px}.invitation-container h3{font-size:16px;font-weight:normal}.invitation-disclosure{position:relative;padding:10px 0 10px 24px;list-style:none;color:#777;text-align:center}.invitation-disclosure .octicon{color:#999;text-align:center;display:inline-block;margin-right:5px}.invitation-header{position:relative;text-align:center}.invitation-header .avatar{margin-bottom:20px}.invitation-header .invitation-title{font-size:18px;font-weight:normal;line-height:16px;margin:0}.invitation-header .inviter{font-size:13px;color:#999;margin:5px 0 10px}.invitation-footer{margin:40px 0 20px}.invitation-footer form{display:inline-block;margin-right:10px}.outline-box-group{border-radius:3px}.outline-box{padding:20px;border:solid 1px #d8d8d8}.outline-box:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.outline-box:last-child{border-bottom-left-radius:3px;border-bottom-right-radius:3px}.outline-box+.outline-box{border-top:0}.outline-box-highlighted{background-color:#f7fafd;border-color:#c9d6e3}.owner-select-grid{margin-left:-8px}.owner-select-grid:before{display:table;content:""}.owner-select-grid:after{display:table;clear:both;content:""}.owner-select-target{float:left;padding:10px;margin:0 8px 10px;text-align:center;background-color:#f2f2f2;border-radius:3px}.owner-select-target .css-truncate-target{max-width:90px}.owner-select-target.disabled{color:#999;cursor:not-allowed}.owner-select-target.enabled{font-weight:bold;cursor:pointer}.owner-select-target.enabled .owner-select-avatar{opacity:1}.owner-select-target.enabled:hover{color:#fff;background-color:#4183c4}.owner-select-target.enabled:active{color:#fff;background-color:#3269a0}.owner-select-avatar{display:block;margin-bottom:9px;opacity:0.3}.owner-select-grid-no-facebox h2{padding-right:0;padding-left:0;margin-right:0;margin-left:0}.page-notice{margin:15px auto;width:400px;padding:20px;color:#333;font-size:14px;background:#fffeeb;border:1px solid #ddd;border-radius:3px}.page-notice h2{margin:0;font-size:16px;color:#000}.page-notice p:last-child{margin-bottom:0}#editor-body-buffer{display:none}#pages-composer{padding-bottom:5px;margin-bottom:20px;border-bottom:1px solid #eee}#pages-composer label{display:inline-block;margin-bottom:10px;font-size:16px}#pages-composer input{margin-bottom:15px}#pages-composer p{margin-top:-10px;margin-bottom:10px;color:#777}#pages-composer #gollum-editor-function-bar{margin-top:0}#pages-composer #gollum-editor{margin:0;padding:0;border:0}#pages-composer #gollum-editor-body{margin-top:10px}.gollum-readme{display:inline-block;margin-left:10px}#gollum-editor-function-bar #undo-load-readme{display:none}.theme-picker{margin-bottom:-1px;background-color:#fff;background-clip:padding-box;border-bottom:1px solid rgba(0,0,0,0.1);box-shadow:0 5px 10px rgba(0,0,0,0.1)}.theme-picker>.container{position:relative;overflow:hidden;text-align:center}.theme-picker-thumbs{border-bottom:1px solid #eee}.theme-picker-footer{position:relative;padding-bottom:15px}.theme-toggle{width:32px;height:32px;color:#ccc;padding:0;background:none;border:0}.theme-toggle:hover{color:#0084c8;text-decoration:none}.theme-toggle.disabled,.theme-toggle.disabled:hover{color:#ccc;opacity:0.3;cursor:not-allowed}.theme-toggle-full-left,.theme-toggle-full-right{position:absolute;top:50px;width:32px;height:32px;overflow:hidden}.theme-toggle-full-left{left:0}.theme-toggle-full-right{right:0}.theme-selector{height:102px;margin:15px 46px;white-space:nowrap;overflow:hidden}.theme-selector-thumbnail{display:inline-block;padding:2px;border:1px solid #ddd;border-radius:3px}.theme-selector-thumbnail+.theme-selector-thumbnail{margin-left:15px}.theme-selector-thumbnail:hover{text-decoration:none;background-color:#f5f5f5}.theme-selector-thumbnail.selected{padding:3px;background-color:#4183c4;border:0}.theme-selector-thumbnail.selected .theme-selector-img{border:1px solid #fff}.theme-selector-img{display:block;width:126px;height:96px;border-radius:1px}.theme-selector-name{display:none}.theme-picker-spinner{position:absolute;top:16px;left:50%;margin-left:-16px;opacity:0;-webkit-transition:0.2s, opacity ease-in-out;transition:0.2s, opacity ease-in-out;background-color:#fff}.theme-picker-spinner.visible{opacity:1}.theme-picker-spinner.visible ~ .theme-picker-controls .theme-name{opacity:0}.theme-selector-actions{padding-top:15px;text-align:right}.theme-selector-actions:before{display:table;content:""}.theme-selector-actions:after{display:table;clear:both;content:""}.theme-selector-actions .page-edit,.theme-selector-actions .page-publish{display:inline-block;margin-left:5px}.theme-picker-view-toggle{float:left}.theme-picker-view-toggle .for-hiding{display:none}.theme-picker-view-toggle.open .for-hiding{display:inline}.theme-picker-view-toggle.open .for-showing{display:none}.theme-picker-controls{position:absolute;top:15px;left:50%;display:none;width:220px;margin-left:-110px;line-height:34px;text-align:center}.theme-picker-controls .theme-toggle{vertical-align:middle}.theme-name{display:inline-block;margin-left:10px;margin-right:10px;font-size:20px;vertical-align:middle;line-height:1}#page-preview{position:relative;z-index:-100;display:block;width:100%;height:100%;padding:0;background-color:#fff;border:0}.feed-icon a{display:block;width:18px;height:18px;background:#f37538;color:#fff;border-radius:3px;padding:1px;text-align:center}body.page-profile .select-menu-modal{width:130px}body.page-profile .select-menu-modal-holder{right:0}body.page-profile .tab-content{position:relative}body.page-profile .feed-icon{position:absolute;right:0;z-index:2}.profilecols .orgs h3{margin:0 0 5px;font-size:12px}.profilecols .orgs h3 a{font-weight:normal;margin-left:5px}.profilecols .tabnav{position:relative}.profilecols .tabnav .pagehead-actions{float:none;top:0}.profilecols .tabnav .pagehead-actions li.text{display:inline-block;margin-top:12px}.profilecols .tabnav .subnav li:first-child{margin-left:10px}.profilecols .repo-search{display:inline}.profilecols .filter-bar{position:relative;border-bottom:1px solid #ddd;background:#fff;padding:0 0 10px}.profilecols .filter-bar .new-repo{float:right;margin-left:15px}.profilecols .filter-bar .filter_input{width:260px}.profilecols .filter-bar .repo_filterer{float:right;margin-top:8px}.profilecols .filter-bar li{position:relative;float:right;list-style:none;margin-left:10px;font-size:14px}.profilecols .filter-bar li a{display:inline-block}.profilecols .filter-bar li .filter-selected{color:#000;font-weight:bold}.profilecols .blankslate{margin-top:30px}.vcard-avatar{position:relative;display:block}.vcard-avatar .avatar{border-radius:6px}.vcard-names{margin-top:5px;line-height:1}.vcard-fullname{display:block;overflow:hidden;width:100%;font-size:26px;line-height:30px;text-overflow:ellipsis}.vcard-username{display:block;overflow:hidden;width:100%;font-size:20px;font-style:normal;font-weight:300;line-height:24px;color:#666;text-overflow:ellipsis}.vcard-details{list-style:none;padding-top:15px;padding-bottom:15px;border-top:1px solid #eee}.vcard-detail{width:100%;padding:2px 0 2px 24px;overflow-x:hidden;white-space:nowrap;font-size:14px;text-overflow:ellipsis}.vcard-detail .octicon{float:left;width:16px;text-align:center;margin-left:-24px;color:#ccc}.vcard .staff-badge{position:relative;top:-1px;padding:2px 5px;font-size:10px;font-weight:bold;color:#fff;text-transform:uppercase;background-color:#4183c4;border-radius:3px}.developer-program-badge{display:block;padding-top:10px;padding-bottom:10px;color:#4183c4;border-top:1px solid #eee}.developer-program-badge .octicon-circuit-board{margin-right:7px;color:#ccc}.vcard-stats{margin-bottom:10px;padding-top:15px;padding-bottom:15px;text-align:center;border-top:1px solid #eee;border-bottom:1px solid #eee}.vcard-stats:before{display:table;content:""}.vcard-stats:after{display:table;clear:both;content:""}.vcard-stat{float:left;width:33.333%;font-size:11px;text-transform:capitalize}.vcard-stat-count{display:block;font-size:28px;font-weight:bold;line-height:1}.vcard-stat:hover{text-decoration:none}.vcard-stat:hover .text-muted{color:inherit}.new-user-avatar-cta{padding:8px 16px;margin-bottom:20px;background-color:#f1f6fb;color:#244f79;border:solid 1px #d0e5f8;border-radius:3px;font-size:14px}.new-user-avatar-cta .minibutton{float:right;margin-left:30px}.steps{display:table;margin:30px auto 0;padding:0;overflow:hidden;list-style:none;border:1px solid #ddd;border-radius:3px;box-shadow:0 1px 3px rgba(0,0,0,0.05);width:750px}.steps li{display:table-cell;width:33.3%;padding:10px 15px;color:#ccc;cursor:default;border-left:1px solid #ddd;background-color:#fafafa}.steps li.current{background-color:#fff;color:#333}.steps li.current .mega-octicon{color:#4183c4}.steps li .mega-octicon{float:left;margin-right:15px;padding-bottom:5px}.steps li .step{display:block}.steps li:first-child{border-left:0}.steps .complete{color:#777}.steps .complete .mega-octicon{color:#6cc644}.prose-diff .show-rich-diff{cursor:pointer;color:#4183c4;text-decoration:none}.prose-diff .show-rich-diff:hover{text-decoration:underline}.prose-diff.collapsed .rich-diff-level-zero.expandable{cursor:pointer}.prose-diff.collapsed .rich-diff-level-zero.expandable .vicinity{display:block}.prose-diff.collapsed .rich-diff-level-zero.expandable .unchanged:not(.vicinity){display:none}.prose-diff.collapsed .rich-diff-level-zero.expandable:first-child::before{margin-top:1em}.prose-diff.collapsed .rich-diff-level-zero.expandable:before{font-family:"octicons";content:"\f039";color:#d3d3d3;display:block;text-align:center;font-size:24px;letter-spacing:2px;line-height:0;margin-top:1em;margin-bottom:1em;padding:0}.prose-diff.collapsed .rich-diff-level-zero.expandable:hover:before{color:#000}.prose-diff.collapsed .rich-diff-level-zero.expandable:only-child:before{content:"Sorry, no visible changes to display.";color:#d3d3d3;font-size:18px}.prose-diff.collapsed .rich-diff-level-zero.expandable:only-child:hover:before{color:#000}.prose-diff.collapsed .rich-diff-level-zero.expandable>.removed,.prose-diff.collapsed .rich-diff-level-zero.expandable>del{text-decoration:none;display:none}.prose-diff .markdown-body>ins{box-shadow:inset 4px 0 0 #7fcb5c}.prose-diff .markdown-body>del{box-shadow:inset 4px 0 0 #c94114;text-decoration:none}.prose-diff .markdown-body>ins,.prose-diff .markdown-body>del{display:block;border-radius:0}.prose-diff .markdown-body>ins>.rich-diff-level-zero,.prose-diff .markdown-body>ins>.rich-diff-level-one,.prose-diff .markdown-body>del>.rich-diff-level-zero,.prose-diff .markdown-body>del>.rich-diff-level-one{margin-left:15px}.prose-diff .markdown-body>ins:first-child *,.prose-diff .markdown-body>del:first-child *{margin-top:0}.prose-diff .rich-diff-level-zero.added{box-shadow:inset 4px 0 0 #7fcb5c}.prose-diff .rich-diff-level-zero.removed{box-shadow:inset 4px 0 0 #c94114}.prose-diff .rich-diff-level-zero.changed{box-shadow:inset 4px 0 0 #ffc045}.prose-diff .rich-diff-level-zero.unchanged,.prose-diff .rich-diff-level-zero.vicinity{margin-left:15px}.prose-diff .rich-diff-level-zero.added,.prose-diff .rich-diff-level-zero.removed,.prose-diff .rich-diff-level-zero.changed{display:block;border-radius:0}.prose-diff .rich-diff-level-zero.added>.rich-diff-level-one,.prose-diff .rich-diff-level-zero.removed>.rich-diff-level-one,.prose-diff .rich-diff-level-zero.changed>.rich-diff-level-one{margin-left:15px}.prose-diff .rich-diff-level-zero.added:first-child *,.prose-diff .rich-diff-level-zero.removed:first-child *,.prose-diff .rich-diff-level-zero.changed:first-child *{margin-top:0}.prose-diff :not(.changed)>:not(.github-user-ins):not(.github-user-del)>.removed,.prose-diff :not(.changed)>:not(.github-user-ins):not(.github-user-del)>del{text-decoration:none}.prose-diff .changed del,.prose-diff .changed del pre,.prose-diff .changed del code,.prose-diff .changed del>div,.prose-diff .changed .removed,.prose-diff .changed .removed pre,.prose-diff .changed .removed code,.prose-diff .changed .removed>div{text-decoration:line-through;color:#a33;background:#ffeaea}.prose-diff .changed ins,.prose-diff .changed ins code,.prose-diff .changed ins pre,.prose-diff .changed .added{background:#eaffea;border-bottom:1px solid MediumSeaGreen}.prose-diff>.markdown-body .github-user-ins{text-decoration:underline}.prose-diff>.markdown-body .github-user-del{text-decoration:line-through}.prose-diff>.markdown-body li ul.added{background:#eaffea}.prose-diff>.markdown-body li ul.removed{color:#a33;background:#ffeaea}.prose-diff>.markdown-body li ul.removed:not(.github-user-ins){text-decoration:line-through}.prose-diff>.markdown-body li.added.moved-up:before{font-family:"octicons";content:"\f03d ";color:#d3d3d3}.prose-diff>.markdown-body li.added.moved-down:before{font-family:"octicons";content:"\f03f ";color:#d3d3d3}.prose-diff>.markdown-body li.added.moved{background:#ffffea}.prose-diff>.markdown-body li.removed.moved{display:none}.prose-diff>.markdown-body pre{padding:10px 20px}.prose-diff>.markdown-body th.changed,.prose-diff>.markdown-body td.changed{border-left-color:#ddd;background:#ffffea}.prose-diff>.markdown-body :not(li.moved).removed{color:#a33;text-decoration:line-through;background:#ffeaea}.prose-diff>.markdown-body :not(.github-user-ins):not(li.moved).removed{text-decoration:line-through}.prose-diff>.markdown-body :not(li.moved).added,.prose-diff>.markdown-body li:not(.moved).added{background:#eaffea}.prose-diff>.markdown-body :not(.github-user-del):not(li.moved).added li:not(.moved):not(.github-user-del).added{text-decoration:none}.prose-diff>.markdown-body li:not(.moved).removed{color:#a33;background:#ffeaea}.prose-diff>.markdown-body li:not(.moved):not(.github-user-ins).removed{text-decoration:line-through}.prose-diff>.markdown-body .added,.prose-diff>.markdown-body ins+.added,.prose-diff>.markdown-body ins{border-bottom:0;border-top:0}.prose-diff>.markdown-body .added:not(.github-user-del):not(.github-user-ins),.prose-diff>.markdown-body ins+.added:not(.github-user-del):not(.github-user-ins),.prose-diff>.markdown-body ins:not(.github-user-del):not(.github-user-ins){text-decoration:none}.prose-diff>.markdown-body img.added,.prose-diff>.markdown-body img.removed{border-width:1px;border-style:solid}.prose-diff>.markdown-body ins pre:not(.github-user-del):not(.github-user-ins),.prose-diff>.markdown-body ins code:not(.github-user-del):not(.github-user-ins),.prose-diff>.markdown-body ins>div:not(.github-user-del):not(.github-user-ins){text-decoration:none}.prose-diff>.markdown-body ul>ins,.prose-diff>.markdown-body ul>del{display:block;padding:0}.prose-diff>.markdown-body .added>li,.prose-diff>.markdown-body .removed>li{margin-top:0;margin-bottom:0}span.changed_tag,em.changed_tag,strong.changed_tag,b.changed_tag,i.changed_tag,code.changed_tag{border-bottom:1px dotted #808080;border-radius:0}a.added_href,a.changed_href,span.removed_href{border-bottom:1px dotted #808080;border-radius:0}.diff-view .file-type-prose .rich-diff{display:none}.diff-view .file-type-prose.display-rich-diff .rich-diff{display:block}.diff-view .file-type-prose.display-rich-diff .file-diff{display:none}.pull-request-tab-content{display:none}.pull-request-tab-content.is-visible{display:block}.discussion-timeline p.explain{margin:0;font-size:12px}.pull-request-ref-restore{display:none}.pull-request-ref-restore .animated-ellipsis-container{line-height:16px}.pull-request-ref-restore-text{display:block}.pull-discussion-timeline.is-pull-restorable .pull-request-ref-restore.last{display:block}.bubble{border-radius:3px;border:3px solid #eee}.bubble .file-box{margin-bottom:0}.signed-out-comment{margin-top:15px;margin-left:64px;padding:15px;background-color:#fff9ea;border:solid 1px #dfd8c2;border-radius:3px}.signed-out-comment .button{vertical-align:baseline;margin-right:3px}.inline-comment-form .signed-out-comment{margin:5px;padding:0;background-color:transparent;border:0}.status:before{opacity:0.6}.status:hover{text-decoration:none}.status:hover:before{opacity:1}.status-unknown{color:#999}.status-error{color:#666}.status-failure{color:#bd2c00}.status-pending{color:#cea61b}.status-success{color:#6cc644}.stale-files-tab{display:none;margin-bottom:10px}.files-bucket{margin-bottom:15px}.files-bucket.is-stale .stale-files-tab{display:block}.pull-request-link{float:left;margin-right:5px;font-size:13px;font-weight:bold;padding:0 8px;height:26px;line-height:26px;border:1px solid rgba(65,131,196,0.5);border-radius:3px}.pull-request-link:hover{background:#4183c4;border-color:#4183c4;color:#fff;text-decoration:none}.header-with-actions{position:relative}.header-with-actions h3{margin-top:5px}.header-with-actions .select-menu{float:right;margin-top:-5px}.header-with-actions .select-menu-modal-holder{right:0}.header-with-actions .select-menu-modal{width:140px}.pulse-blankslate{margin-top:20px}.diffstat-summary{font-size:16px;vertical-align:middle;border-radius:3px;color:#777;line-height:1.8;text-align:left;padding:0 20px 0 0}.diffstat-summary a{color:#555}.diffstat-summary strong{color:#333}.pulse-graph{border-bottom:1px solid #eee;float:left;width:50%;padding:15px 15px 0}.pulse-graph:first-child{border-right:1px solid #eee}.authors-and-code .insertions{color:#6cc644}.authors-and-code .deletions{color:#bd2c00}.authors-and-code .section{height:150px;display:table-cell;width:459px}.pulse-authors-graph{position:relative;height:150px}.pulse-authors-graph>svg{width:100%}.pulse-authors-graph .dots{position:absolute;top:40px;left:0;right:0;margin:0 auto;width:64px;height:64px}.pulse-authors-graph .bar rect{fill:#f93;fill-opacity:0.7}.pulse-authors-graph .bar rect:hover{fill-opacity:1}.summary-stats li{list-style-type:none;display:table-cell;margin:0;width:229px;text-align:center;color:#999;border-left:1px solid #eee}.summary-stats li a{display:block;text-decoration:none;color:#999;padding-bottom:10px}.summary-stats li a:hover{background:#fafafa}.summary-stats li .octicon-git-pull-request{color:#6e5494}.summary-stats li .octicon-git-branch{color:#6cc644}.summary-stats li .octicon-issue-closed{color:#bd2c00}.summary-stats li .octicon-issue-opened{color:#6cc644}.summary-stats li:first-child{border-left:0;border-bottom-left-radius:3px}.summary-stats li .num{display:block;padding-top:10px;font-size:16px;font-weight:bold;color:#000}.pulse-sections{clear:both;margin-top:20px}.pulse-section{clear:both;padding:0;font-size:14px;color:#666}.pulse-section p{margin-top:20px}.radio-group:before{display:table;content:""}.radio-group:after{display:table;clear:both;content:""}.radio-label{padding:0 10px;height:34px;line-height:34px;padding-left:34px;border:1px solid #d9d9d9;margin-left:-1px;color:#333;cursor:pointer;float:left}:checked+.radio-label{z-index:1;position:relative;border-color:#4183c4}.radio-label .octicon{padding-right:5px}.radio-label:first-of-type{border-top-left-radius:3px;border-bottom-left-radius:3px;margin-left:0}.radio-label:last-of-type{border-top-right-radius:3px;border-bottom-right-radius:3px;padding-right:16px}.radio-input{position:absolute;height:34px;margin-left:12px;z-index:3}#readme.contributing>div{max-height:250px;overflow:auto}#readme .markdown-body,#readme .plain{background-color:#fff;border:1px solid #ddd;border-bottom-left-radius:3px;border-bottom-right-radius:3px;padding:30px;word-wrap:break-word}#readme .plain pre{font-size:15px;white-space:pre-wrap}.file #readme .markdown-body{border:0;padding:30px;border-radius:0}.file #readme table[data-table-type="yaml-metadata"]{line-height:1;font-size:12px}.file #readme table[data-table-type="yaml-metadata"] table{margin:0}.user-recommendations-header{width:550px;margin-top:40px}.recommendations-intro-wrapper{height:96px}.recommendations-outro{padding:0 100px;color:#666;border:solid 1px #eee;border-radius:3px}.recommendations-complete{display:none;height:104px;padding:14px 20px;margin:30px 0 45px;font-size:16px;border:solid 1px #eee;border-radius:3px}.user-recommendations-form{margin:30px 0}.user-interests-label{display:block;margin-bottom:10px;font-size:17px;font-weight:bold}.user-interests-input[type="text"]{width:100%;min-height:40px;font-size:16px}.user-interests-examples-wrapper{height:21px;margin-top:13px}.user-interests-examples{margin:0;color:#777}.user-interests-examples a{color:#444}.user-interests-list-wrapper{height:41px}.skip-button-wrapper{display:block;text-align:center}.button-skip{height:30px;padding:0 12px;margin:0 auto;font-size:13px;font-weight:normal;line-height:30px;color:#666;background-color:transparent;background-image:none;border:1px solid rgba(0,0,0,0.1);border-radius:3px}.button-skip:hover{background-color:#f5f5f5;background-image:none;border-color:rgba(0,0,0,0.15)}.user-interests-list{width:100%;text-align:left;list-style:none}.user-interests-item{position:relative;float:left;height:41px;min-height:41px;padding:5px 8px 5px 10px;margin:8px;font-size:16px;line-height:30px;background-color:#f5f5f5;border-left:solid 10px #4183c4;border-radius:3px}.user-interests-item.hidden{visibility:hidden}.user-interests-item.loading{border-left:solid 10px #ddd}.user-interests-item .spinner{display:inline-block;width:16px;height:16px;position:relative;top:1px}.user-interests-item .octicon-x{color:#aaa}.user-interests-item .octicon-x:hover{color:#4183c4;text-decoration:none}.remove-user-interest-form{display:inline-block}.user-interests-item-remove{border:0;background-color:transparent;outline:none}.recommendations-wrapper{display:table;width:100%;margin-top:30px;border-collapse:collapse;border-top:solid 1px #eee}.recommendations-wrapper h2{margin-top:30px;font-size:18px}.recommendations-wrapper.disabled{color:#ccc}.recommendations-wrapper.no_users .recommendations-people{display:none}.recommendations-wrapper.only_repos_users .recommendations-guides,.recommendations-wrapper.only_repos_users .recommendations-showcases{display:none}.recommendations-wrapper.only_repos .recommendations-people,.recommendations-wrapper.only_repos .recommendations-guides,.recommendations-wrapper.only_repos .recommendations-showcases{display:none}.recommendations-left{display:table-cell;width:50%;padding-top:10px;padding-right:30px}.recommendations-right{display:table-cell;width:50%;padding-top:10px;padding-left:30px}.recommended-repos{min-height:500px;margin-top:20px;list-style:none}.recommended-repo-item{position:relative;padding-right:80px;padding-left:50px;margin-bottom:30px}.recommended-repo-item .starring-container{position:absolute;top:0;right:0;float:right}.recommended-repo-item .author-avatar{float:left;margin-top:5px;margin-left:-50px;border-radius:3px}.recommended-repo-item .repo-meta{margin-top:5px;font-size:13px;color:#999}.recommended-repo-item .meta-info{margin-right:10px}.recommended-repo-item .repo-title{margin-bottom:4px;font-size:23px}.recommended-repo-item .repo-title .repo-author{font-weight:normal}.recommended-repo-item .repo-title .separator{margin:0 3px;font-weight:normal;color:#666}.recommended-repo-item .repo-description{margin-bottom:4px;font-size:15px;line-height:1.4}.recommended-repo-item.placeholder .author-avatar{width:40px;height:40px;border:dashed 2px #ccc}.recommended-repo-item.placeholder .repo-info{position:relative;top:4px;display:block;height:100px;border:dashed 2px #ccc;border-radius:3px}.language-circle{position:relative;top:-2px;display:inline-block;width:12px;height:12px;vertical-align:middle;border-radius:50%}.recommended-guides{margin-top:22px;list-style:none}.recommended-guide-item{margin-bottom:10px;font-size:23px}.recommended-guide-item .mega-octicon{position:relative;top:-2px;color:#aaa;vertical-align:middle}.recommended-guide-item.placeholder{height:48px;border:dashed 2px #ccc;border-radius:3px}.recommended-people-wrapper{display:table;width:100%;border-collapse:collapse}.recommended-people-left,.recommended-people-right{display:table-cell;width:48%}.recommended-people-left{padding-right:2%}.recommended-people-right{padding-left:2%}.recommended-people{list-style:none}.recommended-person-item{padding-left:50px;margin-bottom:20px;font-size:18px}.recommended-person-item .user-following-container{margin-top:5px}.recommended-person-item .avatar{position:relative;top:5px;float:left;margin-left:-50px}.recommended-person-item .person-meta{margin-top:4px;font-size:13px;color:#999}.recommended-person-item .meta-info{margin-right:10px}.recommended-person-item.placeholder .avatar{width:40px;height:40px;border:dashed 2px #ccc}.recommended-person-item.placeholder .person-placeholder{position:relative;top:5px;display:inline-block;width:140px;height:40px;border:dashed 2px #ccc;border-radius:3px}.recommended-showcase-link{display:table;float:left;width:48%;margin-bottom:4%;color:#fff}.recommended-showcase-link:nth-child(2n+1){margin-left:4%}.recommended-showcase{display:table-cell;height:100px;font-size:16px;text-align:center;vertical-align:middle;border-radius:3px}.releases-tag-list{width:100%;margin-bottom:20px;border-top:1px solid #eee}.releases-tag-list tr{border-bottom:1px solid #eee}.releases-tag-list td{padding:12px 0;vertical-align:top}.releases-tag-list td.date{padding-right:10px;white-space:nowrap}.releases-tag-list td.date a{color:#999}.releases-tag-list td.main{padding-right:10px}.releases-tag-list td.ancillary{white-space:nowrap;text-align:right}.releases-tag-list h4{margin:0;font-size:14px}.releases-tag-list p{margin:0;color:#999;font-size:13px}.releases-tag-list p a{color:#666;font-weight:bold}.tag-info h3{margin-top:0;margin-bottom:0;font-size:14px;line-height:20px}.tag-info h3 a{color:#666}.tag-info h3 a .tag-name{color:#000}.tag-references{margin:0;list-style-type:none;font-size:13px}.tag-references>li{margin-right:10px;display:inline-block}.tag-references>li.commit{font-family:Consolas, "Liberation Mono", Menlo, Courier, monospace;font-size:12px;line-height:20px}.tag-references>li a{color:#999;text-decoration:none}.tag-references>li a:hover{color:#4183c4}.release-downloads{margin:15px -5px 0;list-style-type:none}.release-downloads li{display:inline-block;margin:5px}.release-timeline{position:relative;border-top:1px solid #eee}.release-timeline-tags{list-style-type:none}.release-timeline-tags>li{display:block}.release-timeline-tags>li:before{display:table;content:""}.release-timeline-tags>li:after{display:table;clear:both;content:""}.release-timeline-tags .date,.release-timeline-tags .main{position:relative;float:left;padding:20px}.release-timeline-tags .main{width:80%;border-left:2px solid #eee}.release-timeline-tags .date{width:20%;line-height:40px;text-align:right;color:#999;padding-left:0}.release-timeline-tags .date:after{-moz-box-sizing:border-box;box-sizing:border-box;content:" ";display:block;position:absolute;top:50%;right:-7px;z-index:10;width:12px;height:12px;margin-top:-6px;background-color:#eee;border:2px solid #fff;border-radius:6px}.release-timeline-tags .octicon-tag{padding-left:5px;color:#ccc}.release-timeline-tags .expander{position:relative;display:none}.release-timeline-tags .expander .date{padding-right:35px;line-height:20px}.release-timeline-tags .expander .date:after{display:none}.release-timeline-tags .expander .main{padding-left:35px;line-height:20px}.release-timeline-tags.is-collapsed .expander{display:block}.release-timeline-tags.is-collapsed>.collapsable{display:none}.release-timeline-tags .expander-dots{position:absolute;top:18px;left:-22px;width:44px;text-align:center;background-color:#eee;border:2px solid #fff;border-radius:4px;z-index:10;cursor:pointer}.release-timeline-tags .expander-dots .expander-dot{display:inline-block;margin-top:-2px;width:4px;height:4px;vertical-align:middle;border-radius:2px;background-color:#999}.release-timeline-tags .expander-text{font-weight:bold;color:#666;cursor:pointer}.release-timeline-tags .expander-text:hover{color:#4183c4}.release-timeline-tags .expander-text:hover .expander-dots{background-color:#4183c4}.release-timeline-tags .expander-text:hover .expander-dots .expander-dot{background-color:#fff}.release:before{display:table;content:""}.release:after{display:table;clear:both;content:""}.release .tag-references{margin-top:8px}.release .tag-references>li{display:block;margin:0 0 5px}.release-meta{float:left;width:20%;padding:40px 20px;text-align:right;vertical-align:top}.release-body{float:left;width:80%;padding:40px 20px;border-left:2px solid #eee}.release-body .commit-desc pre{white-space:pre-line}.release-title{margin:0 60px 0 0}.release-edit{float:right}.release-authorship{margin-top:5px;margin-bottom:20px;font-size:14px;color:#999}.release-authorship a{font-weight:bold;color:#666}.release-label{display:inline-block;margin-top:1px;margin-bottom:10px;padding:5px 10px;font-size:14px;font-weight:bold;color:#fff;background-color:#000;border-radius:3px}.release-label.latest{background-color:#6cc644}.release-label.draft{background-color:#bd2c00}.release-label.prerelease{background-color:#f93}.release-label a{color:#fff}.tag-detail{margin:20px 0;padding:12px 0 0 50px;border-top:1px solid #ddd}.tag-detail .octicon-tag{float:left;margin:10px 0 0 -50px;color:#bbb}.tag-detail h2{margin:10px 0 5px;font-size:20px;font-weight:normal}.tag-detail h2 .tag-name{font-weight:bold}.tag-detail p{margin:0 0 15px;font-size:16px;color:#999}.tag-detail .rule{margin-top:25px;border-color:#eee}.tag-detail .downloads .minibutton{margin-right:10px}.tag-detail .downloads .octicon{margin-right:0;vertical-align:0}.tag-detail .tag-references{margin:15px 0;font-size:14px;font-weight:bold}.tag-detail .tag-references>li{margin-right:20px}.tag-detail .tag-references>li a{color:#4183c4}.new-release .sidebar h3{margin:40px 0 -10px;font-size:14px}.new-release .sidebar h3:first-child{margin-top:15px}.new-release .default,.new-release .saved,.new-release .saving,.new-release .error{display:none}.new-release .error{color:#bd2c00}.new-release .is-default .default{display:inline-block}.new-release .is-saving .saving{display:inline-block}.new-release .is-saving .saving img{vertical-align:top}.new-release .is-saved .saved{display:inline-block}.drop-target .mega-octicon{vertical-align:middle;color:#e5e5e5}.drop-target p{padding:16px 0;height:65px;font-size:14px;text-align:center;border-color:#ddd;border-style:dashed}.drop-target .octospinner{vertical-align:middle}.uploaded-files{background:#fff;border-top-right-radius:3px;border-top-left-radius:3px}.uploaded-files.not-populated+.drop-target p{border-top-right-radius:3px;border-top-left-radius:3px;border-top:dashed 1px #ccc}.uploaded-files.is-populated{border:1px solid #ddd;border-bottom-color:#e5e5e5}.uploaded-files.is-populated+.drop-target p{border-top-right-radius:0;border-top-left-radius:0;border-top:0}.uploaded-files>li{list-style-type:none;margin:0;padding:8px 10px;border-top:1px solid #eee;line-height:22px}.uploaded-files>li.template{display:none}.uploaded-files>li .delete-pending{display:none}.uploaded-files>li.delete{background:#f9f9f9;color:#999}.uploaded-files>li.delete:nth-child(2){border-top-right-radius:3px;border-top-left-radius:3px}.uploaded-files>li.delete .delete-pending{display:block}.uploaded-files>li.delete .live{display:none}.uploaded-files>li.delete .filename{color:#bd2c00}.uploaded-files>li:nth-child(2){border-top:0}.uploaded-files .filename{font-family:Consolas, "Liberation Mono", Menlo, Courier, monospace;font-size:11px}.uploaded-files .filesize{font-size:12px;color:#999}.uploaded-files input[type=text]{width:490px;margin-right:6px;padding:2px 4px;border-radius:2px}.uploaded-files .remove{float:right;margin-top:2px;color:#999}.uploaded-files .remove:hover{color:#bd2c00}.uploaded-files .undo{float:right}.upload-progress{background:#fff;border:0;border-radius:30px;box-shadow:0 1px 1px #fff,inset 0 1px 1px rgba(255,255,255,0.5);height:3px;margin-top:3px;position:relative}.upload-progress .upload-meter{background-color:#58b8f4;background-image:-webkit-linear-gradient(#8dd2f7, #58b8f4);background-image:linear-gradient(#8dd2f7, #58b8f4);background-repeat:repeat-x;border-radius:30px;height:100%;position:absolute;top:0}.release-body-form .previewable-comment-form .comment-form-head.tabnav{padding:0;background-color:transparent}.release-body-form .previewable-comment-form .write-content,.release-body-form .previewable-comment-form .preview-content{padding:0 0 10px}.release-tag-form .for-loading,.release-tag-form .for-empty,.release-tag-form .for-valid,.release-tag-form .for-invalid,.release-tag-form .for-duplicate,.release-tag-form .for-pending{display:none}.release-tag-form.is-loading .for-loading{display:block}.release-tag-form.is-empty .for-empty{display:block}.release-tag-form.is-valid .for-valid{display:block}.release-tag-form.is-invalid .for-invalid{display:block}.release-tag-form.is-duplicate .for-duplicate{display:block}.release-tag-form.is-pending .for-pending{display:block}.release-target-wrapper{display:inline-block}.release-target-wrapper.hidden{display:none}.releases-target-menu{display:inline-block;margin-left:5px}.releases-target-menu .minibutton{line-height:32px}.releases-target-menu .select-menu-button:before{top:14px}.release-show{border-top:1px solid #eee}.release-show .release-edit{display:none}.render-container{background:#ddd;text-align:center;padding:30px;line-height:0}.render-container .render-viewer{border:0;display:none;width:100%;height:100%}.render-container .octospinner{display:none}.render-container .render-viewer-error,.render-container .render-viewer-fatal,.render-container .render-viewer-invalid{display:none}.render-container.is-render-automatic .octospinner{display:inline-block}.render-container.is-render-requested .octospinner{display:inline-block}.render-container.is-render-requested.is-render-failed .render-viewer-error{display:inline-block}.render-container.is-render-requested.is-render-failed .render-viewer,.render-container.is-render-requested.is-render-failed .render-viewer-fatal,.render-container.is-render-requested.is-render-failed .render-viewer-invalid,.render-container.is-render-requested.is-render-failed .octospinner{display:none}.render-container.is-render-requested.is-render-failed-fatal .render-viewer-fatal{display:inline-block}.render-container.is-render-requested.is-render-failed-fatal .render-viewer,.render-container.is-render-requested.is-render-failed-fatal .render-viewer-error,.render-container.is-render-requested.is-render-failed-fatal .render-viewer-invalid .octospinner{display:none}.render-container.is-render-requested.is-render-failed-invalid .render-viewer-invalid{display:inline-block}.render-container.is-render-requested.is-render-failed-invalid .render-viewer,.render-container.is-render-requested.is-render-failed-invalid .render-viewer-error,.render-container.is-render-requested.is-render-failed-invalid .render-viewer-fatal,.render-container.is-render-requested.is-render-failed-invalid .octospinner{display:none}.render-container.is-render-ready.is-render-requested:not(.is-render-failed){background:none;height:500px;padding:0}.render-container.is-render-ready.is-render-requested:not(.is-render-failed) .render-viewer{display:block}.render-container.is-render-ready.is-render-requested:not(.is-render-failed) .render-viewer-error,.render-container.is-render-ready.is-render-requested:not(.is-render-failed) .render-viewer-fatal,.render-container.is-render-ready.is-render-requested:not(.is-render-failed) .octospinner{display:none}.render-notice{padding:20px 15px;font-size:14px;color:#4c4a42;background-color:#fff9ea;border-color:#dfd8c2}.pagehead.repohead.mirror h1,.pagehead.repohead.fork h1{margin-top:-5px;margin-bottom:15px;height:auto}.pagehead.repohead h1{color:#666;padding-left:34px;position:relative;float:left}.pagehead.repohead h1.private .mega-octicon:before{color:#e9dba5}.pagehead.repohead h1 .octicon-lock,.pagehead.repohead h1 .octicon-repo,.pagehead.repohead h1 .octicon-mirror,.pagehead.repohead h1 .octicon-repo-forked,.pagehead.repohead h1 .octicon-gist,.pagehead.repohead h1 .octicon-gist-secret{position:absolute;left:0;top:12px;line-height:32px;margin-top:-13px;color:#bbb}.pagehead.repohead .octicon-mirror{left:-3px}.pagehead.repohead .octicon-lock{top:10px}.pagehead.repohead span.fork-flag,.pagehead.repohead span.mirror-flag{display:block;font-size:11px;line-height:10px;white-space:nowrap}.mini-repo-list{list-style:none}.mini-repo-list>li:first-child .mini-repo-list-item{border-top:0}.mini-repo-list>li:last-child .mini-repo-list-item{border-bottom-left-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.mini-repo-list .no-repo{padding:15px;color:#999;text-align:center}.mini-repo-list .repo-name{font-weight:bold}.mini-repo-list-item{position:relative;display:block;padding:6px 64px 6px 30px;font-size:14px;border-top:1px solid #e5e5e5}.mini-repo-list-item:hover{text-decoration:none}.mini-repo-list-item:hover .repo,.mini-repo-list-item:hover .owner{text-decoration:underline}.mini-repo-list-item .repo-icon{float:left;margin-top:2px;margin-left:-20px;color:#666}.mini-repo-list-item .repo-and-owner{max-width:220px}.mini-repo-list-item .owner{max-width:110px}.mini-repo-list-item .repo{font-weight:bold}.mini-repo-list-item .stars{position:absolute;top:0;right:10px;margin-top:6px;font-size:12px;color:#888}.mini-repo-list-item .repo-description{display:block;max-width:100%;font-size:12px;color:#777;line-height:21px}.popular-repos .mini-repo-list-item .stars{margin-top:16px}.popular-repos .no-description .mini-repo-list-item{padding-top:17px;padding-bottom:16px}.private .mini-repo-list-item{background-color:#fff9ea}.private .mini-repo-list-item .repo-icon{color:#a1882b}.filter-bar{padding:10px;background-color:#fafafa;border-bottom:1px solid #e5e5e5}.filter-bar:before{display:table;content:""}.filter-bar:after{display:table;clear:both;content:""}.filter-bar .filter-input{width:100%;min-height:26px;padding:3px 10px;font-size:11px;border-radius:12px}.user-repos .filter-bar{text-align:center}.filter-repos{padding-bottom:0}.repo-filterer{display:inline-block;margin-top:6px;list-style:none}.repo-filterer li{display:inline-block}.repo-filterer .repo-filter{display:inline-block;padding:5px 5px 6px;margin-right:5px;font-size:11px;color:#777;border-bottom:2px solid transparent}.repo-filterer .repo-filter:hover{text-decoration:none;border-bottom-color:#e5e5e5}.repo-filterer .repo-filter.filter-selected{color:#333;text-decoration:none;border-bottom-color:#d26911;outline:none}.more-repos{text-align:center;box-shadow:inset 0 1px 0 #e5e5e5}.more-repos img{margin:11px auto}.more-repos-link{display:block;padding:10px;color:#7ba9d6}.more-repos-link:hover{color:#4183c4;text-decoration:none}.more-repos-link.is-loading{text-indent:-9999px;cursor:default;background-image:url(/assets/spinners/octocat-spinner-16px-02c482dbba2151bb2d7a30af56d0c7513f12449d504f7a57f200d9e534b112ff.gif);background-repeat:no-repeat;background-position:center center}@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 2dppx){.more-repos-link.is-loading{background-image:url(/assets/spinners/octocat-spinner-32-e513294efa576953719e4e2de888dd9cf929b7d62ed8d05f25e731d02452ab6c.gif);background-size:16px 16px}}.empty-repo{font-size:14px}.empty-repo .url-box{display:block;width:100%;height:auto;padding:0;margin:0;border:0}.empty-repo .clone-urls{width:100%}.empty-repo .or-text{margin-right:5px;margin-left:5px}.empty-repo-setup-option .copyable-terminal-content{font-size:14px}.empty-repo-setup-option h3{margin-top:0}.empty-repo-setup-option p:last-child{margin-bottom:0}#change_default_branch{clear:left}#change_default_branch dt,#change_default_branch dd{float:left}#change_default_branch dt{margin:0 30px 0 0}.timeout{width:auto;height:300px;padding:0;margin:20px 0;background-color:transparent;border:0}.timeout h3{padding-top:100px;color:#999}.repo-container{min-height:345px}.repo-nav .counter{display:none}.repo-nav .full-word{display:none}.with-full-navigation .repo-nav .counter{display:block}.with-full-navigation .repo-nav .full-word{display:inline-block;width:128px;vertical-align:top}.only-with-full-nav{display:none}.with-full-navigation .only-with-full-nav{display:block}.repository-with-sidebar:before{display:table;content:""}.repository-with-sidebar:after{display:table;clear:both;content:""}.repository-with-sidebar .repository-sidebar{float:right;width:38px}.repository-with-sidebar .repository-sidebar .sidebar-button{width:100%;margin:0 0 10px;text-align:center}.repository-with-sidebar .repository-sidebar h3{margin-bottom:5px;font-size:11px;font-weight:normal;color:#999}.repository-with-sidebar .repository-sidebar .clone-url{display:none;margin-top:-5px}.repository-with-sidebar .repository-sidebar .clone-url.open{display:block}.repository-with-sidebar .repository-sidebar .clone-options{margin:8px 0 15px;font-size:11px;color:#666}.repository-with-sidebar .repository-sidebar .clone-options .octicon-question{position:relative;bottom:1px;font-size:11px;color:#000;cursor:pointer}.repository-with-sidebar .repository-content{float:left;width:920px}.repository-with-sidebar.with-full-navigation .repository-content{width:790px}.repository-with-sidebar.with-full-navigation .repository-sidebar{width:170px}.repository-with-sidebar.with-full-navigation .sunken-menu-group .tooltipped:before,.repository-with-sidebar.with-full-navigation .sunken-menu-group .tooltipped:after{display:none}.overall-summary{position:relative;margin-bottom:10px;border:1px solid #ddd;border-radius:3px}.overall-summary-bottomless{margin-bottom:0;border-bottom:0;border-radius:3px 3px 0 0}.numbers-summary li{display:table-cell;width:1%;padding:0;margin:0;text-align:center;white-space:nowrap;list-style-type:none}.numbers-summary a,.numbers-summary .nolink{display:block;padding:10px 0;color:#999;text-decoration:none}.numbers-summary .octicon{opacity:0.5}.numbers-summary a:hover{color:#4183c4}.numbers-summary a:hover .num{color:inherit}.repo-private-label{display:inline-block;padding:4px 5px 3px;font-size:11px;font-weight:300;line-height:11px;color:#a1882b;text-transform:uppercase;vertical-align:middle;background-color:#ffefc6;border-radius:3px}.repository-meta{margin:0 0 13px}.repository-meta:before{display:table;content:""}.repository-meta:after{display:table;clear:both;content:""}.repository-meta p{margin:0}.repository-meta .repository-description{display:inline;font-size:16px;color:#666;word-wrap:break-word}.repository-meta .repository-website{display:inline-block;font-size:16px}.repository-meta .edit-link{font-size:16px;color:#999}.repository-meta .edit-link a{color:#999}.repository-meta .repo-description-field{width:380px}.repository-meta .repo-website-field{width:270px}.repository-meta .edit-repository-meta{display:none;margin-bottom:5px}.repository-meta .edit-repository-meta .field{display:inline-block;margin-right:5px}.repository-meta .edit-repository-meta label{display:block;margin-bottom:6px;font-weight:bold;color:#333}.repository-meta.open .repository-description,.repository-meta.open .repository-website,.repository-meta.open .edit-link{display:none}.repository-meta.open .edit-repository-meta{display:block}.file-navigation:before{display:table;content:""}.file-navigation:after{display:table;clear:both;content:""}.file-navigation .select-menu,.file-navigation .button-group,.file-navigation .breadcrumb{margin-bottom:10px}.file-navigation.in-mid-page{margin-top:10px}.file-navigation .select-menu{margin-right:10px}.file-navigation .breadcrumb{float:left;margin-top:0}.file-navigation .button-group{margin-left:10px}.file-navigation .compare-button{margin-right:5px}.minibutton.compact .octicon{margin-right:2px}.iconbutton .octicon{margin-right:0}.file-wrap{margin-bottom:10px;border:1px solid #ddd;border-top:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.file-wrap .include-fragment-error{display:none}.file-wrap.is-error .include-fragment-error{display:table-row}table.files{width:100%;background:#f8f8f8;border-radius:2px}table.files td{padding:6px 3px;line-height:20px;border-top:1px solid #eee}table.files td.icon{width:17px;padding-right:2px;padding-left:10px;color:#777}table.files td.icon .octicon-file-directory{color:#80a6cd}table.files td.icon .spinner{position:relative;top:3px;display:none;margin-top:-3px;margin-left:-2px}table.files td .simplified-path{color:#888}table.files td .css-truncate{max-width:100%}table.files td.content{max-width:180px}table.files td.message{max-width:442px;padding-left:10px;overflow:hidden;color:#888}table.files td.message .emoji{vertical-align:top}table.files td.message a{color:#888}table.files td.message a:hover{color:#4183c4}table.files td.age{max-width:140px;padding-right:10px;color:#888;text-align:right;white-space:nowrap}table.files tr.is-loading td.icon .octicon{display:none}table.files tr.is-loading td.icon .spinner{display:inline-block}table.files tr.up-tree{border-bottom:1px solid #eee}table.files tr.up-tree a{padding:3px 6px;margin-left:-3px;font-weight:bold;border-radius:2px}table.files tr.up-tree a:hover{background-color:#eee}table.files tbody tr:first-child td{border-top:0}.branch-infobar{padding:8px 8px 7px;font-size:11px;font-weight:bold;color:#999;background:#fafafa;border:1px solid #ccc;border-top-left-radius:3px;border-top-right-radius:3px}.branch-infobar p{float:left;margin:0}.branch-infobar .lightweight-actions{float:right;list-style-type:none}.branch-infobar .lightweight-actions>li{display:inline-block;margin:0 0 0 10px}.branch-infobar .lightweight-actions>li a{color:#999;text-decoration:none}.branch-infobar .lightweight-actions>li a:hover{color:#333}.branch-infobar .lightweight-actions>li .octicon{font-size:14px;color:#bbb}.branch-infobar+.commit-tease{border-top:0;border-radius:0}.url-box{width:100%;margin-top:10px;margin-left:-10px;padding:10px 10px 0;border-top:1px solid #ddd;height:26px}.url-box p{float:left;margin:0 0 0 5px;height:26px;line-height:26px;font-size:11px;color:#666}.url-box p strong{color:#000}.clone-urls{display:table;float:left;width:585px}.clone-url-button{display:table-cell;width:1%;vertical-align:top}.clone-url-button:first-child a{border-top-left-radius:3px;border-bottom-left-radius:3px}.clone-url-button>a{position:relative;display:block;padding:0 9px;margin-right:-1px;font-size:11px;font-weight:bold;line-height:24px;color:#333;text-decoration:none;text-shadow:0 1px 0 #fff;background-color:#eaeaea;background-image:-webkit-linear-gradient(#fafafa, #eaeaea);background-image:linear-gradient(#fafafa, #eaeaea);background-repeat:repeat-x;border:1px solid #ccc;white-space:nowrap;cursor:pointer}.clone-url-button>a:hover,.clone-url-button>a:active{z-index:3;color:#fff;text-decoration:none;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#3072b3;background-image:-webkit-linear-gradient(#599bcd, #3072b3);background-image:linear-gradient(#599bcd, #3072b3);background-repeat:repeat-x;border-color:#2a65a0}.clone-url-button>a:active{background-color:#3072b3;background-image:none;border-color:#25588c;box-shadow:inset 0 3px 5px rgba(0,0,0,0.15)}.clone-url-button+.clone-url-button>a{box-shadow:inset 1px 0 0 #fff}.clone-url-button+.clone-url-button>a:hover{box-shadow:none}.clone-url-button+.clone-url-button>a:active{box-shadow:inset 0 3px 5px rgba(0,0,0,0.15)}.clone-url-button.selected>a,.clone-url-button.selected>a:hover{z-index:2;color:#333;text-shadow:0 1px 0 rgba(255,255,255,0.6);border-color:#bbb;background-image:none;background-color:#ccc;background-color:#d5d5d5;background-image:-webkit-linear-gradient(#ccc, #d5d5d5);background-image:linear-gradient(#ccc, #d5d5d5);background-repeat:repeat-x;box-shadow:inset 0 2px 3px rgba(0,0,0,0.075)}input.url-field{position:relative;width:100%;min-height:26px;padding:0 5px;font-family:Consolas, "Liberation Mono", Menlo, Courier, monospace;font-size:12px;border-radius:0}input.url-field:focus{z-index:2}.url-box-clippy .zeroclipboard-button{border-radius:0 3px 3px 0;border-left:0;margin-left:0 !important}.pagehead.repohead .select-menu-button.with-count{float:none}.pagehead.repohead .select-menu .social-count{float:right}.pagehead.repohead .select-menu .select-menu-modal-holder{z-index:25}.auth-overview .sum{font-weight:bold}.auth-section{padding:15px 0;border-top:1px solid #eee}.auth-section:first-child{border-top:0}.auth-section:last-child{padding-bottom:0}.auth-section .inline-error{color:#999}.audit-log-activity{height:75px}.audit-log-activity .audit-day rect{fill:#1db34f;shape-rendering:crispedges}.audit-log-activity .audit-day .bar-base{fill:#777}.audit-log-activity text{fill:#777;font-size:10px;text-anchor:middle}.audit-log-map-container{position:relative;margin-bottom:10px}.audit-log-map-container .activity{position:absolute;text-align:center;z-index:99999;top:120px;left:450px;display:none}.audit-log-map-container .is-graph-loading .activity{display:block}.audit-search-form{position:relative;margin-top:-8px;background:#fff;border-radius:2px}.audit-search-form:before{display:table;content:""}.audit-search-form:after{display:table;clear:both;content:""}.audit-search-form .subnav-search-input{width:390px}.audit-search-form .suggester-container{top:0;left:0}.audit-log-map{overflow:hidden;height:325px;border-radius:3px;box-shadow:inset 1px 1px 0 rgba(0,0,0,0.2);background-color:#4183c4}.map-background{fill:#4183c4;cursor:-webkit-grab;cursor:-moz-grab;cursor:-ie-grab;cursor:grab;pointer-events:all}.land{fill:none;stroke:#256aae;stroke-width:2;shape-rendering:crispedges}.country{cursor:pointer;fill:#d7c7ad;shape-rendering:crispedges}.country.hk{stroke:#a5967e}.country:hover{fill:#c8b28e}.country.active{fill:#f6e5ca}.borders{fill:none;stroke:#a5967e;shape-rendering:crispedges}.graticule{pointer-events:none;fill:none;stroke:#fff;stroke-opacity:0.2;shape-rendering:crispedges}.graticule :nth-child(2n){stroke-dasharray:2,2}.security-map-legend circle{stroke:#fff;stroke-width:1.5;fill-opacity:0}.security-map-legend text{fill:#fff;font-size:10px;text-anchor:end}.security-map-legend .link{stroke-width:1.5;stroke:#fff}.audit-point{pointer-events:none;fill:#bd2c00;fill-opacity:0.8;stroke:#bd2c00}.country-info{opacity:0;position:absolute;top:10px;right:10px;padding:10px;pointer-events:none;background:rgba(255,255,255,0.9);border-radius:2px}.audit-log-search{position:relative;margin-top:25px}.audit-log-search .member-info{width:500px}.audit-log-search .member-info .member-avatar{float:left;margin-right:15px}.audit-log-search .member-info .member-link{display:inline-block}.audit-log-search .member-info .member-list-avatar{margin-right:0}.audit-log-search .member-info .ghost{color:#777;display:inline-block}.audit-log-search .audit-action-info{margin-left:50px}.audit-log-search .audit-action-info a{color:#4183c4}.audit-log-search .blankslate{border-top-left-radius:0;border-top-right-radius:0}.audit-results-header{padding:15px 10px 15px 15px;border:1px solid #dcdcdc;border-bottom:0;background-color:#f7f7f7;border-top-left-radius:3px;border-top-right-radius:3px}.audit-results-header h2{display:inline-block;padding:0;margin:0;font-size:16px}.audit-search-clear{padding:10px;border:1px solid #e5e5e5;border-bottom:0}.audit-search-clear .issues-reset-query{margin-bottom:0}.audit-action-info{margin-top:3px;font-weight:normal;font-size:12px;color:#999}.audit-action-info .context{color:#333}.audit-type{width:200px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.audit-type .octicon{float:left;margin-right:3px;font-weight:normal}.audit-type .repo{color:#f93}.audit-type .team{color:#6cc644}.audit-type .user{color:#6e5494}.audit-type .oauth_access{color:#bd2c00}.audit-type .hook{color:#e1bf4e}.context-loader-container .large-format-loader{position:fixed;top:0;left:0;bottom:0;right:0;padding-top:190px;background:rgba(255,255,255,0.8);z-index:9999;text-align:center;color:#999}.profile-picture{margin:10px 0 0}.profile-picture p{float:left;margin-top:7px}.profile-picture img{float:left;margin:0 10px 0 0;border-radius:3px}.app-owner{margin:10px 0 -10px}.edit-profile-avatar .drag-and-drop{padding:0;color:#666;border-width:0}.edit-profile-avatar input{cursor:pointer}.edit-profile-avatar.is-bad-file{border:0}.edit-profile-avatar .manual-file-chooser{position:absolute;top:0;left:0;width:146px;height:34px;margin-left:0;padding:0;cursor:pointer}.button-change-profile-picture{overflow:hidden}.croppable-avatar{display:none}.profile-picture-cropper{max-width:400px;text-align:center;margin:0 auto 15px}.profile-picture-cropper>img{max-width:100%}.profile-picture-cropper .jcrop-holder{display:inline-block}.profile-picture-spinner{display:inline-block;background-image:url(/assets/spinners/octocat-spinner-128-338974454bb5c32803e82f601beb051d373744b024fe8742a76009700fd7e033.gif);background-repeat:no-repeat;background-position:center;background-size:64px 64px}.profile-picture-spinner.hidden{display:none}.avatar-upload{float:left;width:340px;margin-left:20px}.avatar-upload .flash{width:100%;padding:30px 15px;border:dashed 1px #bd2c00;box-shadow:none}.avatar-upload .upload-state{display:none;padding:10px 0}.avatar-upload .upload-state p{margin:0;font-size:12px;color:#999}.avatar-upload .avatar-upload .octicon{display:inline-block}.is-default .avatar-upload .default{display:block}.is-uploading .avatar-upload .loading{display:block;padding:0}.is-uploading .avatar-upload .loading img{vertical-align:top}.is-uploading .avatar-upload .button-change-profile-picture{display:none}.is-bad-file .avatar-upload .bad-file{display:block;margin:0}.is-too-big .avatar-upload .too-big{display:block;margin:0}.is-bad-dimensions .avatar-upload .bad-dimensions{display:block;margin:0}.is-failed .avatar-upload .failed-request{display:block;margin:0}dl.new-email-form{padding:10px 10px 0;margin:0 -10px 10px;border-top:1px solid #e5e5e5}span.label.default{margin-left:4px;padding:4px 6px;background-color:#6cc644;color:#fff;border-radius:3px}span.label.visibility{margin-left:4px;padding:4px 6px;background-color:#999;color:#fff;border-radius:3px}.email-actions{float:right}.email-actions>span{float:left}.email-actions form{display:inline}.email-actions span.label{font-size:13px;color:#999;padding:0 10px}.email-actions .octicon-alert{color:#ca5633}.boxed-group .fork-flag{margin-left:16px;font-size:12px;color:#999}li.ssh-key{position:relative;line-height:18px;padding:15px}li.ssh-key .button{float:right;margin-top:4px}li.ssh-key .team-label-ldap{float:right}li.ssh-key .ssh-key-state-indicator{float:left;width:8px;height:8px;margin-top:10px;border-radius:5px}li.ssh-key .ssh-key-state-indicator.recent{background-color:#6cc644;box-shadow:0 0 10px rgba(108,198,68,0.5)}li.ssh-key .ssh-key-state-indicator.not-recent{box-shadow:0 1px 0 #fff;background-color:#ccc;background-image:-webkit-linear-gradient(#aaa, #ccc);background-image:linear-gradient(#aaa, #ccc);background-repeat:repeat-x}li.ssh-key .ssh-key-icon{float:left;width:32px;margin-top:1px;margin-left:15px;text-align:center}.ssh-key-details{position:relative;margin-left:70px;margin-right:150px}.ssh-key-details .ssh-key-title{display:block;max-width:360px}.ssh-key-fingerprint{display:block;font-weight:normal;color:#999}#notification-center .overview{padding:0 10px 10px;border-bottom:1px solid #ddd}.oauth-stats dl.keys{float:right;margin:0;text-align:right}.oauth-stats dl.keys dt{color:#999;font-weight:bold}.oauth-stats dl.keys dd{color:#333;font-family:Consolas, "Liberation Mono", Menlo, Courier, monospace}.user-count{float:left;margin:12px 0 0;font-size:36px;color:#999;font-weight:300}.access-token-group .boxed-group-inner .help{margin-top:0}.access-token .zeroclipboard-link{display:inline-block}.access-token.new-token{background-color:rgba(108,198,68,0.1)}.access-token.new-token .octicon-check{color:#6cc644}.access-token .token-description{max-width:450px}.access-token .token{font-size:14px}.token-scope{display:inline-block;width:220px;margin:0;padding:5px 0 5px 20px;color:#333}.boxed-group.authorized-applications .boxed-action{color:#999;font-size:12px;line-height:25px}.callback-urls dl dd input[type=text]{width:100%}.callback-urls.has-many .callback-url-action-cell{display:table-cell}.callback-description{margin-top:20px}.callback-description .octicon{padding-left:0}.callback-url .label{display:none;width:64px;text-align:center}.callback-url.is-default-callback .label{display:inline-block}.callback-url.is-default-callback .button{display:none}.callback-url-wrap{display:table;width:100%}.callback-url-field-cell{display:table-cell}.callback-url-action-cell{display:none;width:70px;text-align:right}.boxed-group.application-show-group .logo-upload{float:right;width:142px;background-color:#eee;position:relative}.boxed-group.application-show-group .logo-upload a.delete{position:absolute;right:0;padding:5px;display:none}.boxed-group.application-show-group .logo-upload a.delete:hover{color:#bd2c00}.boxed-group.application-show-group .logo-box{border:1px solid #ccc;border-top-left-radius:3px;border-top-right-radius:3px;height:140px}.boxed-group.application-show-group .logo-box img{height:140px;width:140px;border-radius:2px 2px 0 0;display:none}.boxed-group.application-show-group .logo-placeholder{height:140px;width:140px;color:#999;text-align:center;text-shadow:0 1px 0 #fff}.boxed-group.application-show-group .logo-placeholder span{margin:45px 0 0}.boxed-group.application-show-group .logo-placeholder p{margin:0;font-size:16px}.boxed-group.application-show-group .has-uploaded-logo .logo-placeholder,.boxed-group.application-show-group .has-uploaded-logo .or{display:none}.boxed-group.application-show-group .has-uploaded-logo:hover a.delete{display:block}.boxed-group.application-show-group .has-uploaded-logo .logo-box img{display:block}.boxed-group.application-show-group dl.form>dd input[type="text"].wide{width:460px}.boxed-group.application-show-group dl.form>dd input[type="textarea"].short{height:50px;min-height:50px}.application-show-group .errored .note{display:none}.application-show-group .drag-and-drop{padding:8px 5px 7px;text-align:center}.application-show-group .drag-and-drop img{vertical-align:bottom;margin-bottom:1px}.application-show-group .drag-and-drop span{padding:0}.application-show-group .dragover .logo-box{box-shadow:#c9ff00 0 0 3px}.application-show-group .is-uploading .loading{display:block}.application-show-group .is-uploading .default{display:none}.application-show-group .is-failed .failed-request{display:block}.application-show-group .is-failed .default{display:none}.application-show-group .is-bad-file .bad-file{display:block}.application-show-group .is-bad-file .default{display:none}.application-show-group .is-too-big .file-too-big{display:block}.application-show-group .is-too-big .default{display:none}.application-show-group .is-default .default{display:block}.security-history .security-history-timestamp{float:right;color:#999}table.security-history-detail{width:100%;font-size:12px}table.security-history-detail td{max-width:200px;word-wrap:break-word}.org-two-factor .button{float:right;margin:10px 0 0 20px}.org-two-factor .flash-global{margin-top:0}.two-factor-disabled .flash-global{display:block}.settings-email .email-actions .settings-remove-email{float:right;margin-left:5px;padding-right:7px;padding-left:7px;line-height:24px;color:#bd2c00}.settings-email .email-actions .settings-disabled-remove-email{display:none}.settings-email:only-child .email-actions .settings-remove-email{display:none}.settings-email:only-child .email-actions .settings-disabled-remove-email{display:block;cursor:default;color:#999}.settings-email .octicon-info{padding-left:5px}.settings-email .public.label{display:inline}.settings-email .private.label{display:none}.settings-email.private .public.label{display:none}.settings-email.private .private.label{display:inline}#unsubscribe-from-newsletter .supportocat{float:left}#unsubscribe-from-newsletter .message{position:absolute;left:350px;top:50px}#unsubscribe-from-newsletter .message p{font-size:200%}.two-factor-intro{width:675px;margin:40px auto 0}.two-factor-intro .two-factor-graphic{margin:20px 0}.two-factor-intro .two-factor-explain{margin:0 0 40px;padding:0;font-size:13px;list-style:none}.two-factor-intro .two-factor-explain li{float:left;margin:0;padding:0}.two-factor-intro .two-factor-explain .step-one{width:185px;margin-right:36px}.two-factor-intro .two-factor-explain .step-two{width:230px;margin-right:42px}.two-factor-intro .two-factor-explain .step-three{width:180px}.two-factor-graphic{background-image:url(/assets/modules/settings/2fa_guide-3c188ba15910cb9b5de719af02485c4c05fe4f0b6bda9294033e3b259c4959c1.png);background-repeat:no-repeat;width:675px;height:135px}@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 2dppx){.two-factor-graphic{background-image:url(/assets/modules/settings/2fa_guide@2x-788aa5a06405e2b719c556b083ef305ac5a64f772a09eb43890fd478f5c5f927.png);background-size:675px 135px}}.yubicat-box .yubicat-device{margin-bottom:10px}.yubicat-box .yubicat-device .yubicat-device-success{margin-left:10px;color:#55a532}.yubicat-box .yubicat-device .yubicat-device-success .octicon{color:#6cc644}.yubicat-box .yubicat-device .yubicat-device-details{display:inline-block;vertical-align:middle;background-color:#e8f0f8;border-radius:3px;line-height:26px;color:rgba(0,0,0,0.5);padding:0 8px}.yubicat-box .yubicat-device .yubicat-device-details .yubicat-device-id{font-family:Consolas, "Liberation Mono", Menlo, Courier, monospace;font-weight:bold}.yubicat-box .yubicat-device .yubicat-device-details .octicon{position:relative;top:1px}.yubicat-box .yubicat-device .yubicat-delete{text-decoration:none}.yubicat-box .yubicat-device .yubicat-delete .octicon{width:16px;text-align:center}.yubicat-box .yubicat-device.is-sending .yubicat-delete{display:none}.yubicat-box .yubicat-device.is-sending .spinner{position:relative;top:3px}.yubicat-box .new-yubicat{position:relative}.yubicat-box .new-yubicat .yubicat-otp-field{width:320px}.yubicat-box .new-yubicat .add-yubicat-form{display:none}.yubicat-box .new-yubicat.is-active .add-yubicat-link{display:none}.yubicat-box .new-yubicat.is-active .add-yubicat-form{display:block}.yubicat-box .new-yubicat.is-sending .spinner{position:absolute;top:8px;left:296px}.yubicat-box .new-yubicat.is-showing-error .fallback-error-message{display:block}.yubicat-box .new-yubicat .flash{padding:10px;margin-bottom:10px}.markdown-body .sms-or-app{width:100%;margin:0;padding:40px 0 0;border-top:1px solid #ddd}.markdown-body .sms-or-app:before{display:table;content:""}.markdown-body .sms-or-app:after{display:table;clear:both;content:""}.markdown-body .sms-or-app li{float:left;width:325px;padding:0;list-style:none}.markdown-body .sms-or-app li:first-child{margin-right:25px}.markdown-body .sms-or-app li .button{display:block;text-align:center;margin:10px 0;padding-top:12px;padding-bottom:12px;font-size:15px;height:100%;width:100%}.markdown-body .sms-or-app small{font-size:80%}.markdown-body .app-only{padding:20px 0 0}.markdown-body .app-only li{float:none;width:auto}.markdown-body .app-only li .button{display:inline-block;width:auto;padding-left:20px;padding-right:20px}.two-factor-setup-container{width:600px;margin:0 auto}.two-factor-setup-container .form label{font-style:normal}.two-factor-setup-container .form dd{margin:0;padding:0}.two-factor-setup-container .octicon-alert{color:#bd2c00}.two-factor-setup-container .error-icon{position:relative;left:5px;top:2px;color:#bd2c00}.two-factor-setup-container .sent-message{position:relative;left:5px;top:2px;color:#6cc644}.two-factor-setup-container .select-menu{float:left}.two-factor-setup-container .select-menu .minibutton{padding-top:4px;padding-bottom:4px;margin-right:5px}.two-factor-setup-container .select-menu .minibutton input[type="radio"],.two-factor-setup-container .select-menu .minibutton .country{display:none}.two-factor-setup-container .select-menu .minibutton .country-code{width:auto}.two-factor-setup-container .select-menu .select-menu-button:before{top:14px}.two-factor-setup-container .select-menu .country-code{display:inline-block;margin-right:8px;width:35px}.container.two-factor-toggle{width:700px}.two-factor-step-container{margin:0 0 20px;font-size:86.6667%}.two-factor-step-container .sms-form .form{margin-left:15px}.two-factor-step-container .form label{color:#777}.two-factor-step-container:last-of-type{margin-bottom:0;padding-bottom:0;border-bottom:0}.two-factor-step-container h4{margin:0;font-size:13px}.two-factor-step-container p:last-child{margin-bottom:0}.two-factor-toggle{margin-top:40px}.two-factor-toggle .two-factor-status{padding:20px 0;margin:0 0 20px;border-bottom:1px solid #eaeaea;color:#777}.two-factor-toggle .two-factor-status p{margin:0}.two-factor-toggle .two-factor-status button{position:relative;top:-3px;float:right;background:none;border:0;color:#4183c4;font-weight:normal}.two-factor-toggle .two-factor-on{margin-right:5px;padding:3px 5px;border-radius:2px;background-color:#6cc644;color:#fff;text-shadow:0 1px 1px rgba(0,0,0,0.1)}.two-factor-settings-group{position:relative;margin:0 0 20px;padding:0 0 20px 220px;border-bottom:1px solid #ddd}.two-factor-settings-group h3{position:absolute;top:-15px;left:0;width:200px;font-size:14px}.two-factor-settings-group h3 .octicon{position:absolute;left:-24px;color:#bd2c00}.two-factor-settings-group li{list-style:none;line-height:1.5}.github-access-banner{position:relative;margin:0 0 20px;padding:10px 20px 10px 70px;border:1px solid #ddd;border-radius:3px;font-size:14px}.github-access-banner .mega-octicon{position:absolute;left:20px;top:20px;color:#bd2c00}#facebox .backup-list{margin:0;padding:10px;border:1px solid #dbdbdb;border-radius:3px;background:#fafafa;font-family:Consolas, "Liberation Mono", Menlo, Courier, monospace;font-size:14px;line-height:1.4;text-align:left;box-shadow:inset 0 0 8px #eee}.error-icon,.spinner,.sent-message,.sms-error-message,.fallback-error-message,#text-code{display:none}.is-sending .spinner{display:inline-block}.is-sent .sent-message{display:inline-block}.is-not-sent .sms-error-message{display:block}.is-not-sent .error-icon{display:inline-block}.two-factor-secret{font-family:Consolas, "Liberation Mono", Menlo, Courier, monospace;font-size:13px}.markdown-body .qr-code-table,.qr-code-table{width:auto;float:right;margin:0 0 0 40px;border:1px solid #ddd}.markdown-body .qr-code-table tr,.qr-code-table tr{background:transparent;border:0}.markdown-body .qr-code-table th,.markdown-body .qr-code-table td,.qr-code-table th,.qr-code-table td{border:0;padding:0}.markdown-body .qr-code-table td,.qr-code-table td{width:3px;height:3px}.markdown-body .qr-code-table .black,.qr-code-table .black{background:#000}.markdown-body .qr-code-table .white,.qr-code-table .white{background:#fff}.markdown-body .two-factor-actions{clear:both;padding:20px 0 0;margin:20px 0 0;border-top:1px solid #eaeaea;font-size:13px}.markdown-body .two-factor-actions ul{width:600px;margin:0;padding:0}.markdown-body .two-factor-actions li{list-style:none;display:inline-block;margin-right:10px}.two-factor-banner{position:relative;padding-left:60px;margin:40px auto;width:700px;background:#fff;border:1px solid #ddd;color:#444}.two-factor-banner:hover{border-color:#ddd}.two-factor-banner .mega-octicon{position:absolute;top:15px;left:15px;color:#bd2c00}.two-factor-banner h2{margin-top:0;line-height:32px}.two-factor-banner p{margin-top:0}.two-factor-mini-banner{display:block;width:100%;margin:0 0 20px;padding:15px 15px 15px 42px;background:#fff}.two-factor-mini-banner .minibutton{position:relative;top:-4px;float:right}.two-factor-mini-banner p{margin-bottom:0;line-height:1.5}.two-factor-mini-banner .octicon{position:absolute;top:15px;left:15px;color:#bd2c00}.orgs-settings{margin-bottom:15px}.confirmation-phrase{font-weight:normal;font-style:italic}.do-not-copy-me{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}li.session-device{position:relative;line-height:18px;padding:15px;background-color:#fafafa;color:#999}li.session-device .button{float:right;margin-top:4px}li.session-device .session-state-indicator{float:left;width:8px;height:8px;margin-top:10px;border-radius:5px}li.session-device .session-state-indicator.recent{background-color:#6cc644;box-shadow:0 0 10px rgba(108,198,68,0.5)}li.session-device .session-state-indicator.not-recent{box-shadow:0 1px 0 #fff;background-color:#ccc;background-image:-webkit-linear-gradient(#aaa, #ccc);background-image:linear-gradient(#aaa, #ccc);background-repeat:repeat-x}li.session-device .session-icon{float:left;width:32px;margin-top:1px;margin-left:15px;text-align:center;color:#bbb}li.session-device .sessions-more-info{position:relative;display:none;margin-top:10px}li.session-device.session-current{background-color:#fff}li.session-device.session-current .session-last-accessed{color:#777}li.session-device.session-current .sessions-more-info{color:#777}li.session-device.session-current .sessions-more-info:after{border-top-color:#fff}li.session-device.session-current .mega-octicon{color:#777}.session-details{position:relative;width:350px;margin-left:70px}.session-details:hover .octicon{color:#4183c4;cursor:pointer}.session-details.open .sessions-more-info{display:block}.session-title{display:block}.collaborators .collab-list{border-bottom-width:0}.collaborators .collab-list-item:first-child .collab-list-cell{border-top-width:0}.collaborators .collab-list-cell{padding-top:15px;padding-bottom:15px;vertical-align:middle}.collaborators .collab-meta{width:140px}.collaborators .collab-permission{text-align:center}.collaborators .collab-remove{padding-right:20px;text-align:right}.collaborators .collab-remove .remove-link{color:#999}.collaborators .collab-remove .remove-link:hover{color:#bd2c00}.collaborators .collab-team-link{width:300px}.collaborators .collab-team-link:hover{text-decoration:none}.collaborators .collab-team-link .avatar{float:left;margin-top:1px;margin-right:10px}.collaborators .collab-info{color:#666}.collaborators .collab-info .description{padding-right:50px;margin-top:3px;margin-bottom:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.collaborators .collab-info .collab-name{display:block;font-size:14px}.access-sub-heading{float:right;font-weight:normal;line-height:1.4;color:#777}.access-form-wrapper{padding:10px;background-color:#fcfcfc;border-top:1px solid #ddd}.access-form-wrapper .access-team-select{max-width:180px}.access-flash{display:none;margin-bottom:10px;margin-left:10px;margin-right:10px;padding:8px}.access-scope-label{display:inline-block;border-radius:4px;padding:3px 5px;color:#fff;text-shadow:-1px -1px 0 rgba(0,0,0,0.2);margin:5px 2px;opacity:0.8}.access-scope-label.repo-scope{background:#e80c02}.access-scope-label.public-repo-scope{background:#ff9e00}.access-scope-label.user-scope{background:#666}.access-scope-label.gist-scope{background:#6cc644}.oauth-pending-deletion-list-item{background-color:#fafafa;box-shadow:inset 0 0 8px #eee}.oauth-pending-deletion-list-item:hover{background-color:#fafafa}.oauth-pending-deletion-list-item .oauth-pending-deletion{display:inline}.oauth-pending-deletion-list-item .active,.oauth-pending-deletion-list-item .oauth-application-users{display:none}.oauth-pending-deletion{display:none;width:100%}.boxed-group-list .access-level{color:#999}.boxed-group-list .access-level.css-truncate-target{max-width:500px}.logged_out.signup .header-logged-out .container,.logged_out.signup .site-footer{width:750px}.logged_out.signup .site-footer{margin-right:auto;margin-left:auto}.logged_out.signup .site-footer .octicon-mark-github{top:30px}.logged_out.signup .header-actions .primary,.logged_out.signup .site-footer-links,.logged_out.signup .site-search{display:none}.setup-wrapper{padding-top:60px;font-family:"Helvetica Neue", Helvetica, Arial, sans-serif}.setup-header,.setup-wrapper{width:750px;margin:0 auto}.setup-header{overflow:hidden;padding-bottom:20px;margin-bottom:30px;text-align:left;text-shadow:0 1px 0 white;border-bottom:1px solid #ddd}.setup-header h1{margin-top:0;margin-bottom:0;font-size:45px;font-weight:normal;letter-spacing:-1px}.setup-header h1 .mega-octicon{color:#bbb}.setup-header .lead{margin-top:2px;margin-bottom:0;font-size:21px}.setup-header .lead a{color:#777}.setup-header .lead a:hover{color:#4183c4;text-decoration:none}.setup-org{padding-bottom:0;border-bottom:0}.setup-main{float:left;width:450px}.setup-main.without-secondary{margin-left:150px}.setup-secondary{float:right;width:250px}.setup-secondary .info{padding-top:0;padding-bottom:0;margin-top:-10px;color:#777;font-size:12px;line-height:18px;text-align:center}.setup-info-module{margin-bottom:30px;background-color:#fff;border:1px solid #ccc;border-radius:3px;box-shadow:0 1px 3px rgba(0,0,0,0.075)}.setup-info-module h2{padding:15px;margin-top:0;margin-bottom:15px;overflow:hidden;font-size:16px;border-bottom:1px solid #ddd}.setup-info-module h2 .price{float:right;font-weight:bold;color:#777}.setup-info-module h3{padding:0 15px;margin:0 0 -7px;font-size:14px}.setup-info-module p{padding:0 15px;margin:15px 0}.setup-info-module .setup-section-title{margin-bottom:10px}.features-list{padding:0 15px 15px;margin:0;font-size:14px;list-style:none}.features-list li{margin-top:10px}.features-list li:first-child{margin-top:0}.features-list .list-divider{margin:15px -15px;border-top:1px solid #eee}.features-list .octicon{margin-right:5px;color:#60b044}.features-list.features-list-org{padding-bottom:0}.setup-form-container .setup-form-title{margin-top:0;font-size:16px}.setup-form-container .secure{float:right;margin-top:2px;color:#60b044;font-size:11px;text-transform:uppercase}.setup-form-container hr{margin-top:25px;margin-bottom:25px}.setup-form-container .form-actions{padding-top:0;padding-bottom:0;text-align:left}.team-member-container{margin-bottom:20px}.team-member-container .team-member-username{line-height:1.2}.setup-form{padding-bottom:15px}.setup-form .form dd input[type="text"],.setup-form .form dd input[type="password"],.setup-form .form dd input[type="email"]{width:100%}.setup-form .form dd input[type="text"].short,.setup-form .form dd input[type="password"].short,.setup-form .form dd input[type="email"].short{width:250px}.setup-form dd{position:relative}.setup-form dd .octicon{position:absolute;right:25px;top:8px}.setup-form .octicon-alert:before{color:#bd2c00}.setup-form .octicon-check:before{color:#6cc644}.setup-form .text-muted{margin-top:5px}.setup-form .tos-info,.setup-form .setup-organization-next{margin:15px 0;border-top:1px solid #eee;border-bottom:1px solid #eee}.setup-form .tos-info{padding:15px 0}.setup-form .setup-organization-next{padding-top:15px;padding-bottom:15px}.setup-form .setup-plans{margin-bottom:25px;border:solid 1px #ccc;border-collapse:separate;border-radius:3px;box-shadow:0 1px 3px rgba(0,0,0,0.075);overflow:hidden}.setup-form .setup-plans tr.selected{background-color:#f0f7fd}.setup-form .setup-plans th,.setup-form .setup-plans td{vertical-align:middle;border-bottom:1px solid #ccc}.setup-form .setup-plans .name{font-weight:bold}.setup-form .setup-plans .choose_plan input[type=radio]{display:none}.setup-creditcard-form .cc-extras{margin-bottom:15px}.setup-creditcard-form .expiration-form{width:120px}.setup-creditcard-form .expiration-form dd{line-height:32px}.setup-creditcard-form .expiration-form,.setup-creditcard-form .cvv-form,.setup-creditcard-form .country-form,.setup-creditcard-form .state-form{float:left;margin:0}.setup-creditcard-form .form dd input.input-cvv{width:130px}.setup-creditcard-form .form select.select-country{width:162px;margin-right:5px}.setup-creditcard-form .form select.select-state{width:84px}.setup-creditcard-form.is-vat-country .vat-field{display:block}.setup-creditcard-form.is-international .form select.select-country{width:250px}.setup-creditcard-form.is-international .state-form{display:none}.setup-creditcard-form dd .octicon-credit-card{position:inherit}.setup-creditcard-form .enter-new-card{display:none}.setup-creditcard-form.has-credit-card .enter-new-card{display:inline-block}.setup-creditcard-form.has-credit-card .card-select-number-field,.setup-creditcard-form.has-credit-card .cancel-enter-new-card,.setup-creditcard-form.has-credit-card .cards-select{display:none}.setup-creditcard-form .vat-field{display:none}.setup-creditcard-form .vat-field.prefilled{display:block}.setup-creditcard-form .help-text{font-size:80%;font-weight:normal;color:#777}.collection-head{height:225px;margin-top:-20px;margin-bottom:20px;background:#555 url(/assets/modules/home/octicons-bg-f51579234572c7286b1ead7a6408f2d43c7a0520dbb09f9d2b8b6b59024a01a0.png) center repeat;box-shadow:inset 0 10px 20px rgba(0,0,0,0.1);text-shadow:0 1px 2px rgba(0,0,0,0.3);color:#fff}.collection-head .collection-info{margin:0}.collection-head .collection-info .meta-info{margin-right:15px}.collection-head .collection-info .avatar{background-color:rgba(255,255,255,0.7);border:1px solid rgba(255,255,255,0.7)}.collection-head .container{position:relative}.collection-head .draft-tag{position:absolute;top:0;left:0}.collection-title{display:table-cell;height:225px;vertical-align:middle}.collection-header{margin-top:0;font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;font-size:45px;font-weight:normal}.collection-description{position:relative;font-size:16px}.collection-page .collection-info{margin-top:10px;margin-bottom:20px;font-size:13px;color:#999}.collection-page .column.main{margin-right:260px !important}.collection-page .column.sidebar{width:240px}.collection-page .other-content{padding:20px 0 20px 20px;border-left:1px solid #f1f1f1}.collection-page .other-content .subnav-search{margin-left:0}.collection-page .other-content input.subnav-search-input{width:100%}.collection-page .other-content-title{margin-top:40px}.collection-page .other-content-title:first-child{margin-top:0}.side-collection-list{margin:0;list-style-type:none}.side-collection-link{display:table;width:100%;height:100px;color:#fff}.side-collection-item-title{font-size:16px;font-weight:100}.side-collection-image{background:#555 url(/assets/modules/home/octicons-bg-f51579234572c7286b1ead7a6408f2d43c7a0520dbb09f9d2b8b6b59024a01a0.png) center repeat;box-shadow:inset 0 10px 20px rgba(0,0,0,0.1);text-shadow:0 1px 2px rgba(0,0,0,0.3);color:#fff;display:table-cell;width:100%;height:100%;margin-bottom:5px;text-align:center;vertical-align:middle;border-radius:3px}.side-collection-list-item{margin-bottom:20px}.collection-tools{list-style-type:none;margin-bottom:10px;font-size:15px}.collection-tools .edit-link{color:#333}.collection-tools .edit-link:hover{color:#4183c4;cursor:pointer}.collection-tools .octicon{margin-right:5px}.collection-tools .select-menu-button{position:relative;display:inline-block;color:#333}.collection-tools .select-menu-button:hover{color:#4183c4;cursor:pointer}.collection-tool{margin-left:20px}.collection-search-results em{padding:0.1em;background-color:#faffa6}.collection-search-result{margin-bottom:40px;list-style-type:none}.collection-search-result-title{margin-top:0}.collection-search-page .search-results-info{line-height:33px;float:right;margin-left:10px;font-size:15px}.draft-tag{padding:5px 10px;font-weight:bold;color:#eee;background-color:#404040}.collection-card{position:relative;float:left;width:313px;margin-right:20px;margin-bottom:20px;list-style-type:none;background:#f7f7f7;border:1px solid #ddd;border-radius:3px}.collection-card .draft-tag{position:absolute;top:-1px;left:10px}.collection-card:nth-child(3n+3){margin-right:0}.collection-card-title{padding:0 15px;margin:10px 0;display:table-cell;width:100%;height:100%;font-size:19px;font-weight:bold;text-align:center;vertical-align:middle}.collection-card-body{padding:0 15px;margin:10px 0;height:6em;margin-top:0;overflow:hidden;font-size:15px;line-height:1.5em}.collection-card-image{position:relative;display:table;width:313px;height:120px;margin:-1px;margin-bottom:15px;background:#555 url(/assets/modules/home/octicons-bg-f51579234572c7286b1ead7a6408f2d43c7a0520dbb09f9d2b8b6b59024a01a0.png) center repeat;box-shadow:inset 0 10px 20px rgba(0,0,0,0.1);text-shadow:0 1px 2px rgba(0,0,0,0.3);color:#fff;border-top-right-radius:3px;border-top-left-radius:3px}.collection-card-meta{padding:0 15px;margin-top:5px;margin-bottom:15px;color:#777}.collection-card-meta .meta-info{margin-right:10px}.collection-card-meta .last-updated{float:right;margin-right:0}.collection-listing-search{margin-bottom:20px}.collection-listing-search .subnav-search{margin-left:0;margin-right:25%}.collection-feed-icon{float:right;margin-top:28px}.featured-grid{position:relative;list-style:none;margin-top:-10px}.featured-grid-outer{position:relative;height:100%}.featured-grid-more-info{padding:20px}.featured-showcase-meta{position:absolute;bottom:15px;left:20px}.featured-showcase-meta .meta-info{margin-right:10px}.featured-grid-link{display:table;width:100%;height:100%;border-radius:5px;background:#555 url(/assets/modules/home/octicons-bg-f51579234572c7286b1ead7a6408f2d43c7a0520dbb09f9d2b8b6b59024a01a0.png) center repeat;box-shadow:inset 0 10px 20px rgba(0,0,0,0.1);text-shadow:0 1px 2px rgba(0,0,0,0.3);color:#fff}.featured-grid-inner{display:table-cell;padding:10px 20px;font-size:15px;text-align:center;vertical-align:middle}.grid-item{position:relative;display:block;float:left;width:25%;height:122.5px;padding:10px}.grid-item-0{position:absolute;width:50%;height:245px}.grid-item-1,.grid-item-2{margin-right:25%;margin-left:50%}.grid-item-3{height:245px}.grid-item-4{width:50%;height:245px}.grid-item-7{position:absolute;top:0;right:0;height:245px}.showcase-featured .see-more{text-align:center}.showcase-featured .in-yo-face .featured-grid-outer{overflow:hidden}.showcase-featured .in-yo-face .showcase-info{position:absolute;right:0;bottom:-20%;left:0;padding:10px 20px;font-size:13px;text-align:left;background:rgba(0,0,0,0.6);border-bottom-right-radius:3px;border-bottom-left-radius:3px;opacity:0;visibility:hidden;-webkit-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}.showcase-featured .in-yo-face .showcase-name{font-size:25px;color:#fff}.showcase-featured .in-yo-face .meta-info{margin-right:10px}.showcase-featured .in-yo-face:hover .showcase-info{bottom:0;opacity:1;visibility:visible}.showcase-featured .mo-info .featured-grid-outer{background:#f7f7f7;border:1px solid #ddd;border-radius:3px}.showcase-featured .mo-info .featured-grid-link{width:225px;height:102px;margin-top:-1px;margin-right:-1px;margin-left:-1px;border-bottom-right-radius:0;border-bottom-left-radius:0}.showcase-featured .normal-intensity .showcase-info{position:absolute;top:0;right:0;bottom:0;left:0;padding-top:43px;font-size:13px;text-align:center;vertical-align:middle;background:rgba(0,0,0,0.6);border-radius:3px;opacity:0;-webkit-transition:opacity 0.3s ease-in-out;transition:opacity 0.3s ease-in-out}.showcase-featured .normal-intensity .octicon{display:inline}.showcase-featured .normal-intensity .meta-info{margin-right:10px}.showcase-featured .normal-intensity .text{display:none}.showcase-featured .normal-intensity .name-text{display:block}.showcase-featured .normal-intensity a:hover{text-decoration:none}.showcase-featured .normal-intensity:hover .showcase-info{opacity:1}.showcase-featured .normal-intensity:hover .name-text{color:transparent;text-shadow:0 0 5px rgba(255,255,255,0.8)}.showcase-featured .normal-intensity .showcase-name,.showcase-featured .mo-info .showcase-name{font-size:16px;font-weight:100}.signup-plans-actions{margin:-10px 0 20px}.button.plans-signup-button{padding:12px 50px;font-size:16px}.signup-plans-or{margin:0 5px 0 8px}.signup-plans-collabocat{float:right;width:300px;margin-left:30px}.signup-plans{width:100%;margin:20px 0 40px;border-collapse:separate}.signup-plans th,.signup-plans td{padding:9px;font-size:14px;border:solid #e5e5e5}.signup-plans th{padding:14px 9px;font-size:20px;border-width:1px 0 1px 1px}.signup-plans th small{display:block;font-size:14px;color:#7a7a7a}.signup-plans thead .empty{border-width:0}.signup-plans thead .plan-free{border-radius:5px 0 0}.signup-plans thead th:last-child{border-right-width:1px;border-radius:0 5px 0 0}.signup-plans tbody tr:first-child td:first-child{border-top-width:1px;border-radius:5px 0 0}.signup-plans td{text-align:center;border-width:0 0 1px 1px}.signup-plans td:last-child{border-right-width:1px}.signup-plans tr:last-child td:first-child{border-radius:0 0 0 5px}.signup-plans tr:last-child td:last-child{border-radius:0 0 5px}.signup-plans tr:nth-child(odd) td{background-color:#f5f5f5}.signup-plans .row-label{width:18%;font-weight:bold;text-align:right}.signup-plans-personal th{color:#4183c4}.signup-plans-personal tr:nth-child(odd) td{background-color:#f0f5fa}.signup-plans-orgs th{color:#6cc644}.signup-plans-orgs tr:nth-child(odd) td{background-color:#f6fcf4}.signup-plans-toggle-currency{float:right}.signup-plans-currency-notice{margin:10px auto 30px;width:800px;text-align:center}.simple-stacked-bar{display:table;width:100%;background-color:#eee}.bar-section{display:table-cell;height:10px}.bar-section[style='width:0.0%']{display:none}.bar-section-positive{background-color:#6cc644}.bar-section-negative{background-color:#bd2c00}.bar-section-alt{background-color:#6e5494}.stars-browser .sort-bar .sort-form{margin-top:7px}.stars-browser .sort-bar .filter_input{width:400px}.stars-browser .repo-list{margin-top:-20px}.facebox .sudo{padding:0}.facebox .sudo .auth-form-header{border-width:0 0 1px}.facebox .sudo .auth-form-header .mini-icon{display:none}.facebox .sudo .auth-form-body{border-width:0}.facebox .sudo+.facebox-close{padding:5px;color:#fff}.sudo-prompt,.sudo-error{display:none}.tree-browser{width:100%;margin:0;border-bottom:1px solid #cacaca;border-left:0;border-right:0}.tree-browser td{background:#f8f8f8;border-bottom:1px solid #eee;padding:7px 3px;color:#484848;vertical-align:middle;white-space:nowrap}.tree-browser td.icon{width:17px;padding-right:2px;padding-left:10px}.tree-browser td:first-child{border-left:1px solid #cacaca}.tree-browser td:last-child{border-right:1px solid #cacaca}.tree-browser td a.message{color:#484848}.tree-browser td span.ref{color:#aaa}.tree-browser img{vertical-align:text-bottom}.tree-browser tbody tr:last-child td{border-bottom:0}.tree-browser .history{float:right;padding-right:5px}.tree-browser .octicon-chevron-right{color:transparent}.tree-browser tr.navigation-focus td{background-color:#fff}.tree-browser tr.navigation-focus td .octicon-chevron-right{color:#4183c4}.tree-browser .octicon-file-directory{color:#80a6cd}.tree-browser .octicon-file-submodule{color:#3cbf5e}.tree-browser .octicon-file-text{color:#777}.tree-browser .content{max-width:220px}.tree-browser .message{max-width:420px}.tree-browser .css-truncate-target{max-width:100%}.tree-browser-result-template{display:none}.tree-browser-result .css-truncate-target{max-width:870px}.tree-browser-result mark{background-color:transparent;color:#4183c4;font-weight:bold}input.tree-finder-input,input.tree-finder-input:focus{position:relative;top:1px;border:0;padding:0;outline:none;font-size:100%;box-shadow:none;min-height:0;height:22px;line-height:1px;vertical-align:top;-webkit-appearance:none;margin-left:5px}.tree-finder .no-results{display:none}.tree-finder .no-results th{text-align:center}.tree-finder tr td.icon{cursor:pointer}.tree-finder .tree-browser{border-top:1px solid #cacaca}.tree-finder .filterable-empty+.no-results{display:block}.user-list em{font-weight:bold;background-color:rgba(255,255,140,0.5);padding:3px;border-radius:3px;font-style:normal}.user-list .tabnav-widget{clear:right;float:right;margin-top:0}.user-list .avatar{position:absolute;top:0;left:0}.user-list-info{padding:0;min-height:48px;font-weight:normal;font-size:18px;line-height:20px}.user-list-meta{font-size:11px;margin:8px 0 0;list-style-type:none;overflow:hidden;color:#999}.user-list-meta>li{float:left;margin-right:10px}.user-list-meta a{color:#333}.user-list-item{border-bottom:1px solid #f1f1f1;padding:0 0 20px 58px;margin:0 0 20px;position:relative}.follow-list{list-style-type:none}.follow-list .follow-list-container{margin-left:90px}.follow-list .follow-list-item{float:left;width:305px;padding-bottom:20px;margin-bottom:20px;margin-right:20px;border-bottom:1px solid #eee}.repository-with-sidebar .follow-list .follow-list-item{width:285px}.follow-list .follow-list-name{font-weight:normal;margin:0 0 5px}.follow-list .follow-list-name a{color:inherit}.follow-list .follow-list-info{margin-top:0;margin-bottom:0.6em;font-size:12px;color:#666}.follow-list .css-truncate.css-truncate-target{max-width:195px}.repository-with-sidebar .follow-list .css-truncate.css-truncate-target{max-width:170px}.follow-list .gravatar{float:left;display:block;width:75px;height:75px}#wiki-body{margin-top:20px}#wiki-body .markdown-body{padding:0 30px;margin:0 -30px}#wiki-rightbar{float:right;width:230px}#wiki-rightbar .markdown-body{font-size:13px}#wiki-rightbar .markdown-body .anchor{display:none}#wiki-rightbar .markdown-body h1{padding-bottom:5px;font-size:1.6em;line-height:1.2;border-color:#eee}#wiki-rightbar .markdown-body h2{padding-bottom:5px;font-size:1.4em;line-height:1.2;border-color:#eee}#wiki-rightbar .markdown-body h3,#wiki-rightbar .markdown-body h4,#wiki-rightbar .markdown-body h5,#wiki-rightbar .markdown-body h6{font-size:1.2em;line-height:1.2;border-color:#eee}#wiki-rightbar .boxed-group>h3{cursor:pointer}#wiki-rightbar .boxed-group .caret-collapsed{display:none}#wiki-rightbar .boxed-group.collapsed .caret-expanded{display:none}#wiki-rightbar .boxed-group.collapsed .caret-collapsed{display:inline}#wiki-rightbar .boxed-group.collapsed>h3{border-bottom:1px solid #d8d8d8;border-radius:3px}#wiki-rightbar .boxed-group.collapsed .boxed-group-inner{display:none}#wiki-rightbar p:last-child,#wiki-rightbar ul:last-child,#wiki-rightbar ol:last-child{margin-bottom:0}.wiki-pages{padding:0;margin:0;list-style-type:none}.wiki-page-link{display:block;padding:6px 10px;word-wrap:break-word}.has-rightbar #wiki-body,.has-rightbar #wiki-footer{margin-right:280px}#wiki-footer{margin:20px 0 50px;clear:both}#wiki-footer .markdown-body{font-size:13px}.wiki-wrapper .blankslate.wiki{padding:115px 0}.wiki-wrapper .blankslate.wiki p.has-fixed-width{text-align:center}.wiki-wrapper .gh-header .divider{padding:0 3px 0 2px}.wiki-wrapper .gh-header-meta{padding-bottom:15px;margin-top:6px}.wiki-wrapper a.history{color:inherit}.wiki-wrapper a.history:hover{color:#555}.wiki-wrapper.edit h1{font-weight:normal;color:inherit}.wiki-wrapper.edit h1 strong{color:#000}.wiki-wrapper .wiki-empty-box{display:block;padding:10px 0;margin:20px 0;color:#999;text-align:center;border:1px dashed #ddd;border-radius:3px;-webkit-transition:all 0.1s ease-in-out;transition:all 0.1s ease-in-out}.wiki-wrapper .wiki-empty-box .octicon-plus{margin-right:4px;opacity:0.4}.wiki-wrapper .wiki-empty-box:hover{color:#777;text-decoration:none;border-color:#ccc}.wiki-wrapper .wiki-auxiliary-content{background-color:#f1f1f1;background-image:-webkit-linear-gradient(#fafafa, #f1f1f1);background-image:linear-gradient(#fafafa, #f1f1f1);background-repeat:repeat-x;background-repeat:no-repeat;background-size:100% 50px;box-shadow:0 1px 2px rgba(0,0,0,0.06)}.wiki-wrapper .wiki-auxiliary-content.markdown-body.wiki-writable>*:nth-child(2){margin-top:0 !important}.wiki-wrapper .wiki-auxiliary-content .wiki-edit-link{position:relative;z-index:2;float:right;color:#777;opacity:0.2;-webkit-transition:opacity 0.2s ease-in-out;transition:opacity 0.2s ease-in-out}.wiki-wrapper .wiki-auxiliary-content .wiki-edit-link:hover{text-decoration:none;opacity:1}.wiki-wrapper .wiki-auxiliary-content-no-bg{background:#fff}.wiki-wrapper .wiki-custom-sidebar{padding:10px;margin-bottom:20px;border:solid 1px #e2e2e2;border-radius:3px}.wiki-wrapper .wiki-custom-sidebar>:nth-child(2){margin-top:0}.wiki-wrapper .wiki-custom-sidebar .octicon-pencil{position:relative;z-index:10;float:right;margin-left:15px;color:#999}.wiki-wrapper .wiki-custom-sidebar .octicon-pencil:hover{color:#333;text-decoration:none}.wiki-wrapper #wiki-footer{margin:30px 30px 0;clear:none}.wiki-wrapper #wiki-footer .markdown-body{padding:10px 15px}.wiki-wrapper #wiki-footer .wiki-empty-box{margin:0 -30px}.wiki-wrapper #wiki-footer .wiki-edit-link{right:-5px}.wiki-wrapper.compare .gh-header{margin-bottom:20px}.wiki-wrapper .wiki-history{margin-top:20px}.wiki-wrapper .wiki-history .checkbox{width:30px;text-align:center}.wiki-wrapper .wiki-history .author{width:200px}.wiki-wrapper .wiki-history .author img{display:block;float:left;margin-right:6px}.wiki-wrapper .wiki-history .date{color:#bbb;white-space:nowrap}.wiki-wrapper .wiki-history .commit{max-width:450px;overflow:hidden;text-overflow:ellipsis}.wiki-wrapper .wiki-history .commit-meta{width:160px;padding-right:10px;text-align:right;white-space:nowrap}.wiki-wrapper .wiki-history .commit-meta code{display:inline-block;font-family:Consolas, "Liberation Mono", Menlo, Courier, monospace;line-height:16px;vertical-align:top}.wiki-wrapper .wiki-history .commit-id{color:#bbb}.wiki-wrapper .wiki-history .commit-id:hover{color:#4183c4}.wiki-wrapper #wiki-rightbar .sidebar-button{margin-top:10px}.wiki-wrapper #wiki-content{clear:both}.wiki-wrapper #wiki-content .markdown-body{word-break:break-word}.wiki-wrapper #wiki-content #gollum-editor-title-field{margin:0 0 14px}.wiki-wrapper #wiki-content .file-wrap{margin-top:20px;border-top:1px solid #ddd;border-radius:3px}.wiki-wrapper #wiki-content .file-wrap .files{border-radius:3px}.wiki-pages-box .wiki-more-pages{display:none}.wiki-pages-box.wiki-show-more .wiki-more-pages,.wiki-pages-box .filterable-active .wiki-more-pages{display:block}.wiki-pages-box.wiki-show-more .wiki-more-pages-link,.wiki-pages-box .filterable-active .wiki-more-pages-link{display:none}.wiki-pages-box .wiki-more-pages-link{box-shadow:inset 0 1px 0 #e5e5e5}.wiki-pages-box .wiki-more-pages-link a{display:block;padding:3px;color:#7ba9d6;text-align:center}.wiki-pages-box .wiki-more-pages-link a:hover{color:#4183c4;text-decoration:none}.wiki-wrapper.history #gollum-footer ul.actions li{margin:0 0.6em 0 0}.wiki-wrapper.results #results{border-bottom:1px solid #ccc;margin-bottom:2em;padding-bottom:2em}.wiki-wrapper #results ul{margin:2em 0 0;padding:0}.wiki-wrapper #results li{font-size:1.2em;line-height:1.6em;list-style-position:outside;padding:0.2em 0}.wiki-wrapper #results .count{color:#999}.wiki-wrapper .results #no-results{font-size:1.2em;line-height:1.6em;margin-top:2em}.wiki-actions{display:block;list-style-type:none;overflow:hidden;padding:0}.results .wiki-actions li{margin:0 1em 0 0}.compare .wiki-actions{margin-bottom:1.4em}.compare .wiki-actions li{margin-left:0;margin-right:0.6em}.wiki-wrapper .file .data .line_numbers{width:1%;font-size:12px}.zeroclipboard-link{color:#4183c4;cursor:pointer;background:none;border:0;padding:0;margin:0}.zeroclipboard-link .octicon{display:block}
diff --git a/public/css/github-code-unminify.css b/public/css/github-code-unminify.css
new file mode 100644
index 00000000..82f032ae
--- /dev/null
+++ b/public/css/github-code-unminify.css
@@ -0,0 +1,12935 @@
+.marketing .pagehead h1 {
+ font-size: 30px;
+}
+.marketing .pagehead p {
+ margin-top: 4px;
+ margin-bottom: 0;
+ font-size: 14px;
+ color: #777;
+}
+.marketing .pagehead ul.actions {
+ margin-top: 10px;
+}
+.marketing h2 .secure {
+ float: right;
+ padding: 1px 0;
+ font-size: 11px;
+ font-weight: bold;
+ text-transform: uppercase;
+ color: #6cc644;
+}
+.marketing .questions p {
+ font-size: 14px;
+}
+.marketing-header {
+ margin-bottom: 40px;
+}
+.marketing-header h1 {
+ margin-top: 0;
+ margin-bottom: 0;
+ font-size: 42px;
+ font-weight: 300;
+}
+.marketing-header .lead {
+ color: #777;
+ max-width: 750px;
+ margin: 10px auto 0;
+}
+.marketing-header .button {
+ margin-top: 15px;
+ padding: 12px 20px;
+ font-size: 18px;
+ font-weight: normal;
+ border-radius: 6px;
+}
+.marketing-section {
+ position: relative;
+ padding-top: 80px;
+ padding-bottom: 80px;
+ border-bottom: 1px solid #e5e5e5;
+ text-align: center;
+ font-size: 16px;
+ line-height: 1.5;
+}
+.marketing-section:before {
+ display: table;
+ content: ""}
+.marketing-section:after {
+ display: table;
+ clear: both;
+ content: ""}
+.marketing-section h3 {
+ font-size: 21px;
+ font-weight: normal;
+}
+.marketing-section-stripe {
+ background-color: #f5f5f5;
+}
+.marketing-hero-octicon {
+ width: 100px;
+ height: 100px;
+ border-radius: 50px;
+ text-align: center;
+ border: solid 1px #e5e5e5;
+ margin: 0 auto 15px;
+}
+.marketing-hero-octicon .mega-octicon {
+ color: #4183c4;
+ font-size: 48px;
+ line-height: 100px;
+}
+.marketing-hero-octicon .octicon-checklist {
+ position: relative;
+ right: -3px;
+}
+.marketing-grid {
+ font-size: 14px;
+}
+.marketing-grid .column {
+ padding: 20px 25px 40px;
+}
+.marketing-grid p {
+ margin: 0 auto;
+ max-width: 90%;
+ color: #5a5a5a;
+}
+.marketing-grid .mega-octicon {
+ color: #4183c4;
+}
+.read-it {
+ padding-top: 50px;
+ text-align: center;
+ border-top: 1px solid #eee;
+}
+.contact-form .input-block {
+ margin-top: 10px;
+ margin-bottom: 10px;
+}
+.contact-form textarea {
+ height: 200px;
+}
+.checklist {
+ margin: 20px 0;
+ font-size: 12px;
+}
+.checklist>li {
+ margin: 15px 0 15px 18px;
+ list-style-position: outside;
+}
+.hanging-list li, .hanging-icon-list li {
+ margin: 10px 0;
+ font-size: 14px;
+}
+.hanging-list li {
+ margin-left: 12px;
+ list-style-position: inside;
+}
+.hanging-icon-list li {
+ padding-left: 25px;
+ list-style-type: none;
+}
+.hanging-icon-list .octicon {
+ float: left;
+ margin-left: -20px;
+ color: #999;
+}
+.hanging-icon-list .octicon-check {
+ color: #6cc644;
+}
+.hanging-icon-list .octicon-x {
+ color: #bd2c00;
+}
+.logos-page h3 {
+ font-size: 18px;
+}
+.logos-download {
+ position: relative;
+ display: block;
+ float: left;
+ width: 32%;
+ height: 290px;
+ margin-bottom: 30px;
+ padding-top: 20px;
+ text-align: center;
+ border: 1px solid #ddd;
+ border-radius: 6px;
+}
+.logos-download+.logos-download {
+ margin-left: 2%}
+.logos-download .gh-logo {
+ margin-top: 70px;
+}
+.logos-download .gh-octocat {
+ margin-top: 10px;
+}
+.logos-download-link {
+ position: absolute;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ display: block;
+ padding: 15px 20px;
+ font-size: 16px;
+ font-weight: bold;
+ background-color: #f5f5f5;
+ border-top: 1px solid #ddd;
+ border-radius: 0 0 5px 5px;
+}
+.logos-download-link .octicon {
+ vertical-align: 2px;
+}
+.logos-download:hover {
+ text-decoration: none;
+}
+.logos-download:hover .logos-download-link {
+ background-color: #eee;
+}
+.nonprofit-head {
+ padding: 100px 0 120px;
+ border-bottom: 1px solid #eee;
+ text-align: center;
+ position: relative;
+ overflow: hidden;
+}
+.nonprofit-head .title {
+ font-weight: 300;
+ font-size: 30px;
+ color: #777;
+ margin-bottom: 20px;
+ display: inline-block;
+ border-bottom: 1px solid #ccc;
+}
+.nonprofit-head .title .mega-octicon {
+ color: #333;
+}
+.nonprofit-head .logo {
+ vertical-align: middle;
+}
+.nonprofit h1 {
+ font-weight: 300;
+ font-size: 28px;
+ line-height: 1.5em;
+ position: relative;
+}
+.nonprofit h2 {
+ font-weight: normal;
+}
+.heart {
+ width: 12px;
+ height: 12px;
+ background: #83d6c0;
+ box-shadow: 140px 30px 0 #efa, 120px -120px 0 #aded84, 220px -60px 0 #ded, 30px 240px 0 #ada, 60px -60px 0 #d76666, 60px -30px 0 #ff846f, 60px 0 0 #f9a7a7, 60px 30px 0 #ffc8c8, 60px 60px 0 #ffd8d8, 30px 60px 0 #baf2ca, 30px 30px 0 #98eaac, 30px 0 0 #80d896, 30px -30px 0 #6dd085, 30px -60px 0 #55be6f, 0 -60px 0 #4cc2a7, 0 -30px 0 #73d3b9, 0 30px 0 #93e3cd, 0 60px 0 #adf9e4, -30px 60px 0 #ffe1b9, -30px 30px 0 #ffd194, -30px 0 0 #ffc86f, -60px 0 0 #fd9ff0, -60px 30px 0 #ffbaf7, -60px 60px 0 #fccdf7, -180px 60px 0 #9df;
+ position: absolute;
+ left: 50%;
+ top: 40%;
+ margin-left: 400px;
+ -webkit-transform: rotate(45deg);
+ -ms-transform: rotate(45deg);
+ transform: rotate(45deg);
+}
+.heart.left {
+ margin-left: -400px;
+ -webkit-transform: rotate(-45deg), scaleX(-1);
+ -ms-transform: rotate(-45deg), scaleX(-1);
+ transform: rotate(-45deg), scaleX(-1);
+}
+.octo-earth {
+ position: absolute;
+ left: 50%;
+ bottom: -150px;
+ margin-left: -120px;
+ -webkit-animation: rotate 20s infinite linear;
+ animation: rotate 20s infinite linear;
+}
+@-webkit-keyframes rotate {
+ 0% {
+ -webkit-transform: rotate(0);
+ transform: rotate(0);
+}
+100% {
+ -webkit-transform: rotate(-360deg);
+ transform: rotate(-360deg);
+}
+}@keyframes rotate {
+ 0% {
+ -webkit-transform: rotate(0);
+ transform: rotate(0);
+}
+100% {
+ -webkit-transform: rotate(-360deg);
+ transform: rotate(-360deg);
+}
+}.nonprofit-steps {
+ margin-left: 30px;
+ font-size: 20px;
+ font-weight: 300;
+}
+.nonprofit-steps li {
+ margin-bottom: 10px;
+}
+.nonprofit-steps ul {
+ margin: 15px 0 0 20px;
+ list-style: square;
+}
+.nonprofit-section {
+ padding: 50px 0;
+ background: #f5f5f5;
+}
+.nonprofit-section.feature-line {
+ text-align: center;
+}
+.nonprofit-section .dialog {
+ width: 640px;
+ background: #fff;
+ margin: 30px auto 0;
+ text-align: left;
+ padding: 30px;
+}
+.nonprofit-section .dialog h2:first-child {
+ margin-top: 0;
+}
+.nonprofit-section .dialog p:last-child {
+ margin-bottom: 0;
+}
+.nonprofit-section .dialog .notice {
+ background: #fee;
+ margin: 20px 0 0;
+ padding: 15px;
+}
+.dialog.edu-callout {
+ border: 5px solid #aec;
+ padding: 25px;
+}
+.dialog.edu-callout p {
+ margin-top: 0;
+}
+.dialog.edu-callout .mega-octicon {
+ color: #418f65;
+ height: 54px;
+ width: 54px;
+ padding: 10px 0;
+ margin: 0 15px 0 0;
+ text-align: center;
+ vertical-align: top;
+ float: left;
+ border-radius: 30px;
+}
+.integrations {
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+}
+.integrations .site-footer {
+ border-top: 1px solid rgba(255, 255, 255, 0.2);
+ margin-top: -99px;
+}
+.integrations .site-footer, .integrations .site-footer a, .integrations .site-footer .octicon-mark-github {
+ color: #fff;
+}
+.integrations-illustration-container {
+ display: block;
+ height: 100%;
+ width: 100%;
+ color: #fff;
+ background: url(/assets/modules/integrations/circuits@2x-0d148034d516afb1364dd2c902bf6b70646a6012f0fd316d38ce2068b6714d42.png) center bottom/1780px 295px no-repeat transparent;
+}
+.integrations-illustration-container .lead {
+ color: #0a4568;
+ width: 550px;
+}
+.integrations-illustration-container a {
+ color: #0a4568;
+ text-decoration: underline;
+}
+.integrations-intro {
+ background: url(/assets/modules/integrations/circuits-animated-ac2d457426c64e1a6ee28d49c060a8d53b35e62363b60f913c93604bcb2d0fb4.gif) center 238px/500px 350px no-repeat #1781c0;
+ padding-bottom: 0;
+}
+.integrations-intro .lead {
+ margin-bottom: 350px;
+}
+.integrations-intro .marketing-header {
+ margin-bottom: 0;
+}
+.integrations-outro {
+ background: url(/assets/modules/integrations/circuits-animated-flipped-7f66e8d1687504444b81960de7ed7bfd4a43bc29d368129819c406d1c2ab124e.gif) center -74px/350px 262px no-repeat #1781c0;
+ padding-top: 0;
+ padding-bottom: 218px;
+}
+.integrations-outro .integrations-illustration-container {
+ background: url(/assets/modules/integrations/circuits-flipped@2x-a94eaad756085840013ee1f0aedcaf3c956d67e17ce23184b7d87e68c96d231d.png) center top/1685px 174px no-repeat transparent;
+ padding-top: 240px;
+}
+.button.outro-button {
+ font-size: 20px;
+ font-weight: 200;
+ background: #0a4568;
+ border: 0;
+ padding: 10px 15px;
+ color: #fafafa;
+ text-decoration: none;
+ text-shadow: none;
+}
+.integrations-contact-info {
+ color: #0a4568;
+ margin: 40px auto 0;
+}
+.slideshow-nav {
+ list-style: none;
+ margin-top: 100px;
+}
+.slideshow-nav>li {
+ display: inline-block;
+ margin: 0 15px;
+}
+.slideshow-nav>li>a {
+ display: block;
+ height: 50px;
+ text-indent: -999em;
+ opacity: 0.7;
+ -webkit-transition: opacity 0.15s ease-in-out;
+ transition: opacity 0.15s ease-in-out;
+}
+.slideshow-nav>li>a:hover {
+ opacity: 1;
+}
+.slideshow-nav .active>a {
+ background-position: 0 -50px;
+ opacity: 1;
+}
+.integrations-tab-asana {
+ background-image: url(/assets/modules/integrations/logos/asana@2x-998cd803867acdcf11404fda9c301e4e49d20cce4566a73f9033ba7b2121f580.png);
+ background-size: 137px 100px;
+ width: 137px;
+ position: relative;
+ bottom: -8px;
+}
+.integrations-tab-pivotaltracker {
+ background-image: url(/assets/modules/integrations/logos/pivotaltracker@2x-018ec7aa07e3165a56755228f50f0ac8b0c839810d590fb9a8b9328d31833a74.png);
+ background-size: 278px 100px;
+ width: 278px;
+}
+.integrations-tab-zendesk {
+ background-image: url(/assets/modules/integrations/logos/zendesk@2x-d9f9ee6ca812bf9204944ceef5fdd4da15feca584e66cc94fdc19e1d92706f9b.png);
+ background-size: 154px 100px;
+ width: 154px;
+}
+.integrations-slide-content {
+ height: 370px;
+ list-style: none;
+ position: relative;
+}
+.integrations-slide-content>li {
+ position: absolute;
+ visibility: hidden;
+ -webkit-transition: all 0.5s ease-in-out;
+ transition: all 0.5s ease-in-out;
+ -webkit-transform: translateY(50px), scale(0.95);
+ -ms-transform: translateY(50px), scale(0.95);
+ transform: translateY(50px), scale(0.95);
+ opacity: 0;
+}
+.integrations-slide-content>.active {
+ visibility: visible;
+ -webkit-transform: translateY(0), scale(1);
+ -ms-transform: translateY(0), scale(1);
+ transform: translateY(0), scale(1);
+ opacity: 1;
+}
+.integrations-screenshot {
+ margin-top: 20px;
+ max-width: 100%}
+.integrations-slide-description {
+ max-width: 600px;
+ display: inline-block;
+ -webkit-backface-visibility: hidden;
+}
+.integrations-logo-container {
+ min-height: 70px;
+ margin-bottom: 20px;
+}
+.integrations-imagelist {
+ list-style: none;
+}
+.integrations-imagelist>li {
+ margin-top: 90px;
+ margin-bottom: 50px;
+}
+.integrations-imagelist>li>p {
+ max-width: 470px;
+ text-align: left;
+ display: inline-block;
+ vertical-align: middle;
+}
+.integrations-logo-left {
+ margin-right: 40px;
+}
+.integrations-logo-right {
+ margin-left: 40px;
+}
+.features-next .lead strong {
+ color: #444;
+}
+.features-next .native-mobile-screens {
+ list-style-type: none;
+ border-bottom: solid 1px #d9d9d9;
+ line-height: 0;
+ padding-left: 0;
+}
+.features-next .native-mobile-screens li {
+ display: inline;
+ margin: 0 5px 30px;
+}
+.team-org-chart {
+ margin: 30px auto;
+ width: 470px;
+}
+.team-org-chart .mega-octicon {
+ vertical-align: middle;
+}
+.team-org-group {
+ border: solid 1px #ccc;
+ background-color: #fff;
+ text-align: center;
+ font-size: 16px;
+ padding: 10px;
+ margin-bottom: 13px;
+ border-radius: 3px;
+}
+.team-org-group strong {
+ color: #333;
+}
+.team-org-team {
+ width: 147px;
+ height: 120px;
+ display: inline-block;
+ vertical-align: top;
+}
+.team-org-team+.team-org-team {
+ margin-left: 10px;
+}
+.octicon-jersey-red {
+ color: #bd2c00;
+}
+.octicon-jersey-green {
+ color: #6cc644;
+}
+.octicon-jersey-orange {
+ color: #f93;
+}
+.team-org-members {
+ margin-top: 15px;
+}
+.team-org-members .octicon {
+ color: #aaa;
+}
+.team-org-repos .mega-octicon {
+ color: #bbb;
+ margin: 0 5px;
+}
+.team-animation {
+ -webkit-animation-duration: 12s;
+ animation-duration: 12s;
+ -webkit-animation-iteration-count: infinite;
+ animation-iteration-count: infinite;
+}
+.team-design {
+ -webkit-animation-name: teamDesign;
+ animation-name: teamDesign;
+}
+.team-dev {
+ -webkit-animation-name: teamDev;
+ animation-name: teamDev;
+}
+.team-marketing {
+ -webkit-animation-name: teamMarketing;
+ animation-name: teamMarketing;
+}
+.team-dev-design {
+ -webkit-animation-name: teamDevDesign;
+ animation-name: teamDevDesign;
+}
+.team-dev-design-marketing {
+ -webkit-animation-name: teamDevDesignMarketing;
+ animation-name: teamDevDesignMarketing;
+}
+.features-section img {
+ max-width: 100%}
+.features-section code {
+ font-size: 0.9em;
+}
+.features-section p {
+ max-width: 750px;
+ margin-right: auto;
+ margin-left: auto;
+}
+.features-repo-count {
+ white-space: nowrap;
+}
+.features-content-right {
+ float: right;
+ width: 470px;
+ text-align: left;
+}
+.features-content-left {
+ float: left;
+ width: 470px;
+ text-align: left;
+}
+.diagram-icon {
+ position: absolute;
+ border-radius: 50px;
+ border: solid 4px #4183c4;
+ background-color: #fff;
+ width: 53px;
+ height: 53px;
+ text-align: center;
+ line-height: 55px;
+ color: #4183c4;
+}
+.diagram-icon-small {
+ position: absolute;
+ color: #4183c4;
+ margin-top: 2px\9;
+}
+.diagram-icon-branch {
+ top: -13px;
+ left: 81px;
+ -webkit-animation: bounceIn 0.6s ease-in-out 0.25s 1 normal both;
+ animation: bounceIn 0.6s ease-in-out 0.25s 1 normal both;
+}
+.diagram-icon-pr {
+ top: 89px;
+ left: 405px;
+ -webkit-animation: bounceIn 0.6s ease-in-out 1.8s 1 normal both;
+ animation: bounceIn 0.6s ease-in-out 1.8s 1 normal both;
+}
+.diagram-icon-merge {
+ top: -13px;
+ left: 843px;
+ -webkit-animation: bounceIn 0.6s ease-in-out 3.7s 1 normal both;
+ animation: bounceIn 0.6s ease-in-out 3.7s 1 normal both;
+}
+.diagram-icon-commit-1 {
+ top: 101px;
+ left: 240px;
+ -webkit-animation: bounceIn 0.6s ease-in-out 1.3s 1 normal both;
+ animation: bounceIn 0.6s ease-in-out 1.3s 1 normal both;
+ background-color: #fff;
+}
+.diagram-icon-commit-2 {
+ top: 101px;
+ left: 295px;
+ -webkit-animation: bounceIn 0.6s ease-in-out 1.4s 1 normal both;
+ animation: bounceIn 0.6s ease-in-out 1.4s 1 normal both;
+ background-color: #fff;
+}
+.diagram-icon-commit-3 {
+ top: 101px;
+ left: 350px;
+ -webkit-animation: bounceIn 0.6s ease-in-out 1.5s 1 normal both;
+ animation: bounceIn 0.6s ease-in-out 1.5s 1 normal both;
+ background-color: #fff;
+}
+.diagram-icon-discussion-1 {
+ top: 79px;
+ left: 488px;
+ -webkit-animation: bounceIn 0.6s ease-in-out 2s 1 normal both;
+ animation: bounceIn 0.6s ease-in-out 2s 1 normal both;
+ opacity: 0.3;
+}
+.diagram-icon-commit-4 {
+ top: 101px;
+ left: 515px;
+ -webkit-animation: bounceIn 0.6s ease-in-out 2.1s 1 normal both;
+ animation: bounceIn 0.6s ease-in-out 2.1s 1 normal both;
+ background-color: #fff;
+}
+.diagram-icon-discussion-2 {
+ top: 131px;
+ left: 542px;
+ -webkit-animation: bounceIn 0.6s ease-in-out 2.2s 1 normal both;
+ animation: bounceIn 0.6s ease-in-out 2.2s 1 normal both;
+ opacity: 0.3;
+}
+.diagram-icon-commit-5 {
+ top: 101px;
+ left: 570px;
+ -webkit-animation: bounceIn 0.6s ease-in-out 2.3s 1 normal both;
+ animation: bounceIn 0.6s ease-in-out 2.3s 1 normal both;
+ background-color: #fff;
+}
+.diagram-icon-discussion-3 {
+ top: 79px;
+ left: 597px;
+ -webkit-animation: bounceIn 0.6s ease-in-out 2.4s 1 normal both;
+ animation: bounceIn 0.6s ease-in-out 2.4s 1 normal both;
+ opacity: 0.3;
+}
+.diagram-icon-commit-6 {
+ top: 101px;
+ left: 625px;
+ -webkit-animation: bounceIn 0.6s ease-in-out 2.5s 1 normal both;
+ animation: bounceIn 0.6s ease-in-out 2.5s 1 normal both;
+ background-color: #fff;
+}
+.diagram-icon-discussion-4 {
+ top: 131px;
+ left: 652px;
+ -webkit-animation: bounceIn 0.6s ease-in-out 2.6s 1 normal both;
+ animation: bounceIn 0.6s ease-in-out 2.6s 1 normal both;
+ opacity: 0.3;
+}
+.diagram-icon-commit-7 {
+ top: 101px;
+ left: 680px;
+ -webkit-animation: bounceIn 0.6s ease-in-out 2.7s 1 normal both;
+ animation: bounceIn 0.6s ease-in-out 2.7s 1 normal both;
+ background-color: #fff;
+}
+.diagram-icon-discussion-5 {
+ top: 79px;
+ left: 707px;
+ -webkit-animation: bounceIn 0.6s ease-in-out 2.8s 1 normal both;
+ animation: bounceIn 0.6s ease-in-out 2.8s 1 normal both;
+ opacity: 0.3;
+}
+.features-branch-diagram {
+ position: relative;
+ margin-top: 40px;
+ margin-bottom: 50px;
+}
+.preload .diagram-animation {
+ -webkit-animation: none !important;
+ animation: none !important;
+ opacity: 0;
+}
+.mobile .diagram-animation {
+ -webkit-animation: none !important;
+ animation: none !important;
+ opacity: 1;
+}
+.features-highlight {
+ margin: 8px 0;
+ display: inline-block;
+ background-color: #e7e7e7;
+ padding: 10px;
+ border-radius: 3px;
+}
+.features-highlight i {
+ font-style: normal;
+ color: #4183c4;
+}
+.features-callout {
+ border: solid 1px #eee;
+ border-radius: 3px;
+ padding: 10px;
+ margin-top: 15px;
+ margin-bottom: 45px;
+ display: inline-block;
+ color: #777;
+ font-size: 14px;
+ line-height: 1.4;
+ text-align: left;
+ width: 450px;
+}
+.features-callout>p {
+ margin-top: 0;
+ margin-bottom: 0;
+}
+.features-callout .left {
+ margin-right: 10px;
+ vertical-align: center;
+}
+.features-copy-minor {
+ font-size: 12px;
+ color: #555;
+}
+.svn-callout {
+ clear: both;
+ padding-top: 30px;
+ padding-left: 217px;
+ line-height: 0.8;
+ text-align: left;
+}
+.svn-callout-heading {
+ font-size: 18px;
+ margin-bottom: 0;
+ color: #444;
+}
+.svn-callout-logo {
+ margin-left: -70px;
+ margin-top: -1px;
+ float: left;
+}
+@-webkit-keyframes teamDev {
+ 3% {
+ border-color: #bd2c00;
+ color: #bd2c00;
+}
+27% {
+ border-color: #bd2c00;
+ color: #bd2c00;
+}
+30% {
+ border-color: #ccc;
+ color: #bbb;
+}
+}@keyframes teamDev {
+ 3% {
+ border-color: #bd2c00;
+ color: #bd2c00;
+}
+27% {
+ border-color: #bd2c00;
+ color: #bd2c00;
+}
+30% {
+ border-color: #ccc;
+ color: #bbb;
+}
+}@-webkit-keyframes teamDesign {
+ 34% {
+ border-color: #ccc;
+ color: #bbb;
+}
+37% {
+ border-color: #6cc644;
+ color: #6cc644;
+}
+60% {
+ border-color: #6cc644;
+ color: #6cc644;
+}
+63% {
+ border-color: #ccc;
+ color: #bbb;
+}
+}@keyframes teamDesign {
+ 34% {
+ border-color: #ccc;
+ color: #bbb;
+}
+37% {
+ border-color: #6cc644;
+ color: #6cc644;
+}
+60% {
+ border-color: #6cc644;
+ color: #6cc644;
+}
+63% {
+ border-color: #ccc;
+ color: #bbb;
+}
+}@-webkit-keyframes teamMarketing {
+ 67% {
+ border-color: #ccc;
+ color: #bbb;
+}
+70% {
+ border-color: #f93;
+ color: #f93;
+}
+94% {
+ border-color: #f93;
+ color: #f93;
+}
+}@keyframes teamMarketing {
+ 67% {
+ border-color: #ccc;
+ color: #bbb;
+}
+70% {
+ border-color: #f93;
+ color: #f93;
+}
+94% {
+ border-color: #f93;
+ color: #f93;
+}
+}@-webkit-keyframes teamDevDesign {
+ 3% {
+ border-color: #bd2c00;
+ color: #bd2c00;
+}
+27% {
+ border-color: #bd2c00;
+ color: #bd2c00;
+}
+30% {
+ border-color: #ccc;
+ color: #bbb;
+}
+34% {
+ border-color: #ccc;
+ color: #bbb;
+}
+37% {
+ border-color: #6cc644;
+ color: #6cc644;
+}
+60% {
+ border-color: #6cc644;
+ color: #6cc644;
+}
+63% {
+ border-color: #ccc;
+ color: #bbb;
+}
+}@keyframes teamDevDesign {
+ 3% {
+ border-color: #bd2c00;
+ color: #bd2c00;
+}
+27% {
+ border-color: #bd2c00;
+ color: #bd2c00;
+}
+30% {
+ border-color: #ccc;
+ color: #bbb;
+}
+34% {
+ border-color: #ccc;
+ color: #bbb;
+}
+37% {
+ border-color: #6cc644;
+ color: #6cc644;
+}
+60% {
+ border-color: #6cc644;
+ color: #6cc644;
+}
+63% {
+ border-color: #ccc;
+ color: #bbb;
+}
+}@-webkit-keyframes teamDevDesignMarketing {
+ 3% {
+ border-color: #bd2c00;
+ color: #bd2c00;
+}
+27% {
+ border-color: #bd2c00;
+ color: #bd2c00;
+}
+30% {
+ border-color: #ccc;
+ color: #bbb;
+}
+34% {
+ border-color: #ccc;
+ color: #bbb;
+}
+37% {
+ border-color: #6cc644;
+ color: #6cc644;
+}
+60% {
+ border-color: #6cc644;
+ color: #6cc644;
+}
+63% {
+ border-color: #ccc;
+ color: #bbb;
+}
+67% {
+ border-color: #ccc;
+ color: #bbb;
+}
+70% {
+ border-color: #f93;
+ color: #f93;
+}
+94% {
+ border-color: #f93;
+ color: #f93;
+}
+}@keyframes teamDevDesignMarketing {
+ 3% {
+ border-color: #bd2c00;
+ color: #bd2c00;
+}
+27% {
+ border-color: #bd2c00;
+ color: #bd2c00;
+}
+30% {
+ border-color: #ccc;
+ color: #bbb;
+}
+34% {
+ border-color: #ccc;
+ color: #bbb;
+}
+37% {
+ border-color: #6cc644;
+ color: #6cc644;
+}
+60% {
+ border-color: #6cc644;
+ color: #6cc644;
+}
+63% {
+ border-color: #ccc;
+ color: #bbb;
+}
+67% {
+ border-color: #ccc;
+ color: #bbb;
+}
+70% {
+ border-color: #f93;
+ color: #f93;
+}
+94% {
+ border-color: #f93;
+ color: #f93;
+}
+}@-webkit-keyframes bounceIn {
+ 0% {
+ opacity: 0;
+ -webkit-transform: scale(0.3);
+ transform: scale(0.3);
+}
+50% {
+ opacity: 1;
+ -webkit-transform: scale(1.05);
+ transform: scale(1.05);
+}
+70% {
+ -webkit-transform: scale(0.9);
+ transform: scale(0.9);
+}
+100% {
+ -webkit-transform: scale(1);
+ transform: scale(1);
+}
+}@keyframes bounceIn {
+ 0% {
+ opacity: 0;
+ -webkit-transform: scale(0.3);
+ transform: scale(0.3);
+}
+50% {
+ opacity: 1;
+ -webkit-transform: scale(1.05);
+ transform: scale(1.05);
+}
+70% {
+ -webkit-transform: scale(0.9);
+ transform: scale(0.9);
+}
+100% {
+ -webkit-transform: scale(1);
+ transform: scale(1);
+}
+}@-webkit-keyframes fadeIn {
+ 0% {
+ opacity: 0;
+}
+100% {
+ opacity: 1;
+}
+}@keyframes fadeIn {
+ 0% {
+ opacity: 0;
+}
+100% {
+ opacity: 1;
+}
+}.segmented-nav-tab {
+ display: none;
+ margin-top: 40px;
+}
+.segmented-nav-tab:before {
+ display: table;
+ content: ""}
+.segmented-nav-tab:after {
+ display: table;
+ clear: both;
+ content: ""}
+.segmented-nav-tab.active {
+ display: block;
+}
+.octicon-list {
+ list-style: none;
+ margin-left: 26px;
+ margin-bottom: 28px;
+}
+.octicon-list li {
+ margin-bottom: 20px;
+ position: relative;
+}
+.octicon-list .octicon {
+ position: absolute;
+ margin-left: -22px;
+ top: 3px;
+ color: #4183c4;
+}
+.segmented-nav {
+ margin: 20px auto;
+ list-style: none;
+ display: inline-block;
+}
+.segmented-nav>li {
+ float: left;
+ border: 1px solid #ddd;
+ position: relative;
+ z-index: 1;
+}
+.segmented-nav>li>a {
+ display: inline-block;
+ height: 32px;
+ margin: 0 auto;
+ padding: 6px 20px 7px;
+ font-size: 15px;
+ line-height: 20px;
+ color: #555;
+ text-align: center;
+ text-decoration: none;
+}
+.segmented-nav>li+li {
+ margin-left: -1px;
+}
+.segmented-nav>li:first-child {
+ border-top-left-radius: 4px;
+ border-bottom-left-radius: 4px;
+}
+.segmented-nav>li:last-child {
+ border-top-right-radius: 4px;
+ border-bottom-right-radius: 4px;
+}
+.segmented-nav>li.active {
+ position: relative;
+ border-color: #4183c4;
+ color: #fff;
+ background-color: #4183c4;
+ z-index: 2;
+}
+.segmented-nav>li.active a, .segmented-nav>li.active a:hover {
+ color: #fff;
+}
+.segmented-nav>li:hover {
+ border-color: #4183c4;
+ z-index: 2;
+}
+.segmented-nav>li:hover a {
+ color: #4183c4;
+}
+.table-list {
+ display: table;
+ table-layout: fixed;
+ width: 100%;
+ color: #999;
+ border-bottom: 1px solid #e5e5e5;
+}
+.table-list-bordered .table-list-cell:first-child {
+ border-left: 1px solid #e5e5e5;
+}
+.table-list-bordered .table-list-cell:last-child {
+ border-right: 1px solid #e5e5e5;
+}
+.table-list-item {
+ position: relative;
+ list-style: none;
+ display: table-row;
+}
+.table-list-item.unread .table-list-cell-checkbox {
+ border-left-color: #4183c4;
+ box-shadow: 2px 0 0 #4183c4 inset;
+}
+.table-list-item.selected .table-list-cell-checkbox {
+ border-left-color: #999;
+ box-shadow: 2px 0 0 #999 inset;
+}
+.table-list-cell {
+ position: relative;
+ display: table-cell;
+ padding: 8px 10px;
+ font-size: 12px;
+ vertical-align: top;
+ border-top: 1px solid #eee;
+}
+.table-list-cell.flush-left {
+ padding-left: 0;
+}
+.table-list-cell.flush-right {
+ padding-right: 0;
+}
+.table-list-cell-checkbox {
+ width: 30px;
+ padding-left: 0;
+ padding-right: 0;
+ text-align: center;
+}
+.select-toggle-check {
+ margin-top: 7px;
+}
+.table-list-cell-type {
+ padding-top: 10px;
+ padding-left: 0;
+ padding-right: 0;
+ width: 20px;
+ text-align: center;
+}
+.table-list-cell-type>a {
+ display: inline-block;
+}
+.table-list-cell-type .octicon {
+ margin-top: 3px;
+}
+.table-list-cell-type:first-child {
+ padding-left: 10px;
+}
+.table-list-cell-avatar {
+ padding-left: 0;
+ padding-right: 0;
+ width: 16px;
+}
+.table-list-header {
+ position: relative;
+ z-index: 22;
+ margin-top: 20px;
+ margin-bottom: -1px;
+ background-color: #f5f5f5;
+ border: 1px solid #e5e5e5;
+ border-radius: 3px 3px 0 0;
+}
+.table-list-header:before {
+ display: table;
+ content: ""}
+.table-list-header:after {
+ display: table;
+ clear: both;
+ content: ""}
+.table-list-header .button-link {
+ position: relative;
+ display: inline-block;
+ padding-top: 13px;
+ padding-bottom: 13px;
+ font-weight: normal;
+}
+.table-list-header-select-all {
+ float: left;
+ width: 30px;
+ padding: 12px 10px;
+ margin-right: 5px;
+ margin-left: -1px;
+ text-align: center;
+}
+.table-list-header-meta {
+ display: inline-block;
+ padding-top: 13px;
+ padding-bottom: 13px;
+ color: #777;
+}
+.table-list-filters:first-child .table-list-header-toggle:first-child {
+ padding-left: 10px;
+}
+.table-list-header-toggle.states .selected {
+ font-weight: bold;
+}
+.table-list-header-toggle .button-link {
+ color: #777;
+}
+.table-list-header-toggle .button-link .octicon {
+ margin-right: 2px;
+}
+.table-list-header-toggle .button-link:hover {
+ color: #222;
+ text-decoration: none;
+}
+.table-list-header-toggle .button-link.selected, .table-list-header-toggle .button-link.selected:hover {
+ color: #222;
+}
+.table-list-header-toggle .button-link+.button-link {
+ margin-left: 10px;
+}
+.table-list-header-toggle .select-menu {
+ position: relative;
+}
+.table-list-header-toggle .select-menu-item.selected {
+ font-weight: bold;
+}
+.table-list-header-toggle .select-menu-button {
+ padding-right: 15px;
+ padding-left: 15px;
+}
+.table-list-header-toggle .select-menu-button:hover, .table-list-header-toggle .select-menu-button.selected, .table-list-header-toggle .select-menu-button.selected:hover {
+ color: #222;
+}
+.table-list-header-toggle .select-menu-modal-holder {
+ right: 10px;
+}
+.table-list-header-toggle .select-menu-modal-holder .select-menu-modal {
+ margin-top: -1px;
+}
+.table-list-triage {
+ display: none;
+}
+.triage-mode .table-list-filters {
+ display: none;
+}
+.triage-mode .table-list-triage {
+ display: block;
+}
+.subhead {
+ padding-bottom: 20px;
+ margin-top: 10px;
+ margin-bottom: 20px;
+ border-bottom: 1px solid #eee;
+}
+.subhead-heading {
+ margin-top: 0;
+ margin-bottom: 0;
+}
+.subhead-description {
+ margin-top: 5px;
+ margin-bottom: 0;
+ font-size: 14px;
+ color: #777;
+}
+.subnav {
+ margin-bottom: 20px;
+}
+.subnav:before {
+ display: table;
+ content: ""}
+.subnav:after {
+ display: table;
+ clear: both;
+ content: ""}
+.subnav>.right {
+ margin-left: 10px;
+}
+.subnav-bordered {
+ padding-bottom: 20px;
+ border-bottom: 1px solid #eee;
+}
+.subnav-flush {
+ margin-bottom: 0;
+}
+.subnav-item {
+ position: relative;
+ float: left;
+ padding: 7px 14px;
+ font-weight: bold;
+ color: #666;
+ border: 1px solid #e5e5e5;
+}
+.subnav-item+.subnav-item {
+ margin-left: -1px;
+}
+.subnav-item:hover, .subnav-item:focus {
+ text-decoration: none;
+ background-color: #f5f5f5;
+}
+.subnav-item.selected, .subnav-item.selected:hover, .subnav-item.selected:focus {
+ z-index: 2;
+ color: #fff;
+ background-color: #4183c4;
+ border-color: #4183c4;
+}
+.subnav-item:first-child {
+ border-top-left-radius: 3px;
+ border-bottom-left-radius: 3px;
+}
+.subnav-item:last-child {
+ border-top-right-radius: 3px;
+ border-bottom-right-radius: 3px;
+}
+.subnav-search {
+ position: relative;
+ margin-left: 10px;
+}
+input.subnav-search-input {
+ width: 320px;
+ padding-left: 30px;
+ color: #777;
+ border-color: #d5d5d5;
+}
+input.subnav-search-input-wide {
+ width: 500px;
+}
+.subnav-search-icon {
+ position: absolute;
+ top: 0;
+ left: 1px;
+ display: block;
+ width: 30px;
+ height: 34px;
+ line-height: 34px;
+ color: #ccc;
+ text-align: center;
+}
+.subnav-search-context .button {
+ color: #555;
+ border-top-right-radius: 0;
+ border-bottom-right-radius: 0;
+}
+.subnav-search-context .button:hover, .subnav-search-context .button:focus, .subnav-search-context .button:active, .subnav-search-context .button.selected {
+ z-index: 2;
+}
+.subnav-search-context+.subnav-search {
+ margin-left: -1px;
+}
+.subnav-search-context+.subnav-search .subnav-search-input {
+ border-top-left-radius: 0;
+ border-bottom-left-radius: 0;
+}
+.subnav-search-context .select-menu-modal-holder {
+ z-index: 30;
+}
+.subnav-search-context .select-menu-modal {
+ width: 220px;
+}
+.subnav-search-context .select-menu-item-icon {
+ color: inherit;
+}
+.subnav-divider-right {
+ padding-right: 10px;
+ border-right: 1px solid #eee;
+}
+.blankslate {
+ position: relative;
+ padding: 30px;
+ text-align: center;
+ background-color: #fafafa;
+ border: 1px solid #e5e5e5;
+ border-radius: 3px;
+ box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
+}
+.blankslate.clean-background {
+ background: none;
+ border: 0;
+ box-shadow: none;
+}
+.blankslate.capped {
+ border-radius: 0 0 3px 3px;
+}
+.blankslate.spacious {
+ padding: 100px 60px 120px;
+}
+.blankslate.has-fixed-width {
+ width: 485px;
+ margin: 0 auto;
+}
+.blankslate.large-format h3 {
+ margin: 0.75em 0;
+ font-size: 20px;
+}
+.blankslate.large-format p {
+ font-size: 16px;
+}
+.blankslate.large-format p.has-fixed-width {
+ width: 540px;
+ margin: 0 auto;
+ text-align: left;
+}
+.blankslate.large-format .mega-octicon {
+ width: 40px;
+ height: 40px;
+ font-size: 40px;
+ color: #aaa;
+}
+.blankslate.large-format .octicon-inbox {
+ font-size: 48px;
+ line-height: 40px;
+}
+.blankslate code {
+ padding: 2px 5px 3px;
+ font-size: 14px;
+ background: #fff;
+ border: 1px solid #eee;
+ border-radius: 3px;
+}
+.blankslate>.mega-octicon {
+ color: #aaa;
+}
+.blankslate .mega-octicon+.mega-octicon {
+ margin-left: 10px;
+}
+.tabnav+.blankslate {
+ margin-top: 20px;
+}
+.blankslate .context-loader.large-format-loader {
+ padding-top: 50px;
+}
+.spinner-forking {
+ display: block;
+ margin: 20px auto 40px;
+}
+.forking-repo {
+ margin: 40px 0;
+ text-align: center;
+}
+.forking-repo h3 {
+ margin-bottom: 10px;
+ font-size: 28px;
+ font-weight: 300;
+}
+.forking-repo h4 {
+ margin: 0 0 30px;
+ font-size: 16px;
+ font-weight: 300;
+}
+.boxed-group {
+ position: relative;
+ border-radius: 3px;
+ margin-bottom: 30px;
+}
+.boxed-group .counter {
+ color: #fff;
+ background-color: #babec0;
+}
+.boxed-group.flush .boxed-group-inner {
+ padding: 0;
+}
+.boxed-group.condensed .boxed-group-inner {
+ font-size: 12px;
+ padding: 0;
+}
+.boxed-group>h3, .boxed-group .heading {
+ background-color: #f5f5f5;
+ margin: 0;
+ border-radius: 3px 3px 0 0;
+ border: 1px solid #d8d8d8;
+ border-bottom: 0;
+ padding: 9px 10px 10px;
+ font-size: 14px;
+ line-height: 17px;
+ display: block;
+}
+.boxed-group>h3 a, .boxed-group .heading a {
+ color: inherit;
+}
+.boxed-group>h3 a.boxed-group-breadcrumb, .boxed-group .heading a.boxed-group-breadcrumb {
+ color: #666;
+ font-weight: normal;
+ text-decoration: none;
+}
+.boxed-group>h3 .avatar, .boxed-group .heading .avatar {
+ margin-top: -4px;
+}
+.boxed-group .tabnav.heading {
+ padding: 0;
+}
+.boxed-group .tabnav.heading .tabnav-tab.selected {
+ border-top: 0;
+}
+.boxed-group .tabnav.heading li:first-child .selected {
+ border-left-color: #fff;
+ border-top-left-radius: 3px;
+}
+.boxed-group .tabnav-tabs a {
+ border-radius: 0;
+ border-top: 0;
+}
+.boxed-group code.heading {
+ font-size: 12px;
+}
+.boxed-group.dangerzone>h3 {
+ background-color: #df3e3e;
+ border: 1px solid #a00;
+ color: #fff;
+ text-shadow: 0 -1px 0 #900;
+}
+.boxed-group.dangerzone .boxed-group-inner {
+ border-top: 0;
+}
+.boxed-group.condensed>h3 {
+ padding: 6px 6px 7px;
+ font-size: 12px;
+}
+.boxed-group.condensed>h3 .octicon {
+ padding: 0 6px 0 2px;
+}
+.one-half .boxed-group, .dashboard-sidebar .boxed-group {
+ margin-bottom: 20px;
+}
+.boxed-group .bleed-flush {
+ width: 100%;
+ padding: 0 10px;
+ margin-left: -10px;
+}
+.boxed-group .compact {
+ margin-top: 10px;
+ margin-bottom: 10px;
+}
+.boxed-group-inner {
+ padding: 1px 10px;
+ background: #fff;
+ border: 1px solid #d8d8d8;
+ border-bottom-left-radius: 3px;
+ border-bottom-right-radius: 3px;
+ color: #666;
+ font-size: 13px;
+}
+.boxed-group-inner .markdown-body {
+ padding: 20px 10px 10px;
+ font-size: 13px;
+}
+.boxed-group-inner strong {
+ color: #333;
+}
+.boxed-group-inner.markdown-body {
+ padding-top: 10px;
+ padding-bottom: 10px;
+}
+.boxed-group-inner.seamless {
+ padding: 0;
+}
+.boxed-group-inner h4 {
+ margin: 15px 0 -5px;
+ font-size: 14px;
+ color: #000;
+}
+.boxed-group-inner .tabnav {
+ margin-left: -10px;
+ margin-right: -10px;
+ padding-left: 10px;
+ padding-right: 10px;
+}
+.boxed-group-inner .tabnav-tab.selected {
+ border-top: 1px solid #ddd;
+}
+.boxed-group-inner .help {
+ clear: both;
+ margin: 1em -10px 0;
+ padding: 1em 10px 1em 35px;
+ border-top: 1px solid #ddd;
+ color: #999;
+}
+.boxed-group-inner .help .octicon {
+ margin-left: -25px;
+ margin-right: 5px;
+}
+.boxed-group-inner .flash-global {
+ margin-left: -10px;
+ margin-right: -10px;
+ border-top: 0;
+}
+.boxed-action {
+ float: right;
+ margin-left: 10px;
+}
+.boxed-group-action {
+ float: right;
+ margin: 6px 10px 0 0;
+ position: relative;
+ z-index: 2;
+}
+.boxed-group-action.flush {
+ margin-top: 0;
+ margin-right: 0;
+}
+.boxed-group-action>.octicon {
+ color: #999;
+ margin-top: 4px;
+}
+.boxed-group-action>button {
+ background-color: transparent;
+ border: 0;
+ -webkit-appearance: none;
+}
+.field-with-errors {
+ display: inline;
+}
+.compact-options {
+ margin: -6px 0 13px;
+}
+.compact-options>li {
+ margin: 0 12px 0 0;
+ display: inline-block;
+ list-style-type: none;
+ font-weight: bold;
+}
+.compact-options>li label {
+ float: left;
+}
+.compact-options>li .spinner {
+ float: left;
+ width: 16px;
+ height: 16px;
+ margin-left: 5px;
+ display: block;
+}
+.boxed-group-list {
+ list-style: none;
+ margin: 0;
+}
+.boxed-group-list>li {
+ display: block;
+ margin-left: -10px;
+ margin-right: -10px;
+ padding: 5px 10px;
+ line-height: 23px;
+ border-bottom: 1px solid #e5e5e5;
+}
+.boxed-group-list>li:hover {
+ background: #ffe;
+}
+.boxed-group-list>li:first-child {
+ border-top: 1px solid #ddd;
+}
+.boxed-group-list>li:last-of-type {
+ border-bottom: 0;
+}
+.boxed-group-list>li.selected {
+ background: #e5f9e2;
+}
+.boxed-group-list>li.approved .minibutton, .boxed-group-list>li.rejected .minibutton {
+ display: none;
+}
+.boxed-group-list>li.approved:before {
+ margin-right: 5px;
+ font: normal normal 16px/1 "octicons";
+ display: inline-block;
+ text-decoration: none;
+ -webkit-font-smoothing: antialiased;
+ content: "\f03a";
+ color: #5ec051;
+}
+.boxed-group-list>li.rejected:before {
+ margin-right: 5px;
+ font: normal normal 16px/1 "octicons";
+ display: inline-block;
+ text-decoration: none;
+ -webkit-font-smoothing: antialiased;
+ content: "\f050";
+ color: #bc0000;
+}
+.boxed-group-list>li.rejected a {
+ text-decoration: line-through;
+}
+.boxed-group-list>li img {
+ margin-top: -2px;
+ margin-right: 4px;
+ vertical-align: middle;
+ border-radius: 3px;
+}
+.boxed-group-list>li .minibutton {
+ float: right;
+ margin: -1px 0 0 10px;
+}
+.boxed-group-list>li .button-group {
+ float: right;
+}
+.boxed-group-list>li .button-group .minibutton {
+ float: left;
+}
+.boxed-group.flush .boxed-group-list li {
+ margin-left: 0;
+ width: auto;
+ padding-left: 0;
+ padding-right: 0;
+}
+.boxed-group-list.standalone {
+ margin-top: -1px;
+}
+.boxed-group-list.standalone>li:first-child {
+ border-top: 0;
+}
+.boxed-group-table {
+ width: 100%;
+ text-align: left;
+}
+.boxed-group-table tr:last-child td {
+ border-bottom: 0;
+}
+.boxed-group-table th {
+ padding: 9px;
+ border-bottom: 1px solid #eee;
+ background-color: #fafafa;
+}
+.boxed-group-table td {
+ padding: 9px;
+ border-bottom: 1px solid #eee;
+ vertical-align: top;
+}
+#ajax-error-message {
+ display: none;
+ position: fixed;
+ top: -200px;
+ left: 50%;
+ width: 974px;
+ z-index: 9999;
+ margin: 0 3px;
+ margin-left: -487px;
+ -webkit-transition: top 0.5s ease-in-out;
+ transition: top 0.5s ease-in-out;
+}
+#ajax-error-message.visible {
+ top: 0;
+}
+#ajax-error-message>.octicon-alert {
+ vertical-align: text-top;
+}
+.boxed-group-success, .boxed-group-warning {
+ padding: 10px 15px;
+ margin: -1px -10px 0;
+ border-style: solid;
+ border-width: 1px 0;
+}
+.boxed-group-success .minibutton, .boxed-group-warning .minibutton {
+ margin: -5px 0;
+}
+.boxed-group-success:first-child, .boxed-group-warning:first-child {
+ border-top: 0;
+}
+.boxed-group-success {
+ color: #22662c;
+ background-color: #e2f9e5;
+ border-color: #bad3be;
+}
+.boxed-group-warning {
+ color: #4c4a42;
+ background-color: #fff9ea;
+ border-color: #dfd8c2;
+}
+.avatar-stack .avatar {
+ float: right;
+ width: 20px;
+ height: 20px;
+ margin-left: -17px;
+ border-radius: 2px;
+ -webkit-transition: margin 0.2s ease-in-out;
+ transition: margin 0.2s ease-in-out;
+ background-color: #fff;
+ border-right: 1px solid #fff;
+}
+.avatar-stack .avatar:last-child {
+ margin-left: 3px;
+}
+.avatar-stack:hover .avatar {
+ margin-left: 3px;
+}
+.conversation-list-heading {
+ margin: 35px 0 10px;
+ height: 0;
+ text-align: center;
+ font-size: 16px;
+ font-weight: normal;
+ color: #999;
+ border-bottom: 1px solid #ddd;
+}
+.conversation-list-heading .inner {
+ display: inline-block;
+ position: relative;
+ top: -10px;
+ padding: 0 5px;
+ background: #fff;
+}
+.simple-conversation-list {
+ margin: 15px 0;
+ font-size: 13px;
+ color: #999;
+}
+.simple-conversation-list>li {
+ margin: 0;
+ padding: 11px 0 8px;
+ list-style-type: none;
+ border-top: 1px solid #eee;
+}
+.simple-conversation-list>li:first-child {
+ border-top: 0;
+}
+.simple-conversation-list>li .title {
+ font-weight: bold;
+}
+.simple-conversation-list>li .num {
+ color: #999;
+}
+.simple-conversation-list>li .state {
+ margin-right: 3px;
+ margin-top: -3px;
+ padding-top: 2px;
+ padding-bottom: 2px;
+}
+.simple-conversation-list>li .meta {
+ float: right;
+ margin-left: 10px;
+}
+.simple-conversation-list.varied-states>li {
+ padding-left: 90px;
+}
+.simple-conversation-list.varied-states>li:before {
+ display: table;
+ content: ""}
+.simple-conversation-list.varied-states>li:after {
+ display: table;
+ clear: both;
+ content: ""}
+.simple-conversation-list.varied-states>li .state {
+ float: left;
+ width: 80px;
+ margin-left: -90px;
+}
+.flex-table {
+ display: table;
+}
+.flex-table-item {
+ display: table-cell;
+ width: 1%;
+ white-space: nowrap;
+ vertical-align: middle;
+}
+.flex-table-item-primary {
+ width: 99%}
+.pagehead {
+ position: relative;
+ margin-bottom: 20px;
+ padding-top: 20px;
+ padding-bottom: 20px;
+ border-bottom: 1px solid #eee;
+}
+.pagehead.admin {
+ background: url(/assets/modules/pagehead/background-yellowhatch-v3-fa67c4b38f820183fc8956740a3ce6649ffb5d3123dd473f8864c66a4dbacbca.png) 0 0 repeat-x;
+}
+.pagehead .account-switcher {
+ display: inline-block;
+ margin-top: -2px;
+ margin-bottom: -6px;
+}
+.pagehead ul.pagehead-actions {
+ margin: 0;
+ float: right;
+ z-index: 21;
+}
+.pagehead ul.pagehead-actions .subscription {
+ display: block;
+}
+.pagehead ul.pagehead-actions .feed-icon {
+ margin-top: 5px;
+}
+.pagehead .path-divider {
+ margin: 0 0.25em;
+}
+.pagehead h1 {
+ margin-top: 0;
+ margin-bottom: 0;
+ font-size: 20px;
+ font-weight: normal;
+ line-height: 28px;
+}
+.pagehead h1 strong {
+ font-weight: bold;
+}
+.pagehead h1 a {
+ white-space: nowrap;
+}
+.pagehead h1 .avatar {
+ margin-right: 9px;
+ margin-top: -2px;
+ margin-bottom: -2px;
+}
+.pagehead-actions>li {
+ list-style-type: none;
+ font-size: 11px;
+ color: #333;
+ margin: 0 10px 0 0;
+ float: left;
+}
+.pagehead-actions>li:last-child {
+ margin-right: 0;
+}
+.pagehead-actions .octicon-mute {
+ color: #c00;
+}
+.context-loader {
+ position: absolute;
+ top: 0;
+ left: 50%;
+ margin-left: -75px;
+ width: 154px;
+ padding: 10px 10px 10px 30px;
+ font-weight: bold;
+ font-size: 12px;
+ color: #666;
+ background: url(/assets/spinners/octocat-spinner-16px-02c482dbba2151bb2d7a30af56d0c7513f12449d504f7a57f200d9e534b112ff.gif) 10px 50% no-repeat #eee;
+ border: 1px solid #ddd;
+ border-top: 1px solid #fff;
+ border-radius: 5px;
+ border-top-left-radius: 0;
+ border-top-right-radius: 0;
+ z-index: 20;
+}
+@media screen and (-webkit-min-device-pixel-ratio: 2), screen and (max--moz-device-pixel-ratio: 2) {
+ .context-loader {
+ background: url(/assets/spinners/octocat-spinner-32-EAF2F5-0bdc57d34b85c4a4de9d0d1db10cd70e8a95f33ff4f46c5a8c48b4bf4e5a9abe.gif) 10px 50% no-repeat #eee;
+ background-size: 16px auto;
+}
+}.pagehead-nav {
+ float: right;
+ margin-bottom: -20px;
+}
+.pagehead-nav-item {
+ float: left;
+ padding: 6px 10px 21px;
+ margin-left: 20px;
+ font-size: 14px;
+ color: #777;
+}
+.pagehead-nav-item:hover {
+ text-decoration: none;
+ color: #333;
+}
+.pagehead-nav-item.selected {
+ color: #333;
+ border-bottom: 2px solid #d26911;
+}
+.pagehead-nav-item+.button-outline {
+ margin-top: -1px;
+ margin-left: 20px;
+}
+.progress-bar {
+ display: block;
+ overflow: hidden;
+ background-color: #eee;
+ border-radius: 3px;
+ height: 15px;
+}
+.progress-bar .progress {
+ height: 100%;
+ display: block;
+ background-color: #6cc644;
+}
+.protip {
+ margin-top: 20px;
+ text-align: center;
+}
+.protip code {
+ padding: 2px;
+ background-color: #f4f4f4;
+ border-radius: 3px;
+}
+.protip-callout {
+ padding: 8px 10px;
+ margin-bottom: 20px;
+ color: #4c4a42;
+ text-align: left;
+ border: solid 1px #eee;
+ border-radius: 3px;
+}
+.repo-list {
+ position: relative;
+}
+.repo-list .participation-graph {
+ position: absolute;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ z-index: -1;
+}
+.repo-list .participation-graph.disabled {
+ display: none;
+}
+.repo-list .participation-graph .bars {
+ position: absolute;
+ bottom: 0;
+}
+.repo-list-item {
+ position: relative;
+ padding-top: 30px;
+ padding-bottom: 30px;
+ list-style: none;
+ border-bottom: 1px solid #eee;
+}
+.repo-list-name {
+ margin: 0 0 8px;
+ font-size: 20px;
+ line-height: 1.2;
+}
+.repo-list-name .prefix, .repo-list-name .slash {
+ font-weight: normal;
+}
+.repo-list-name .slash {
+ margin-right: -4px;
+ margin-left: -4px;
+}
+.repo-list-description {
+ max-width: 550px;
+ margin-top: 8px;
+ margin-bottom: 0;
+ font-size: 14px;
+ color: #666;
+}
+.repo-list-stats {
+ margin-top: 6px;
+ float: right;
+ font-size: 12px;
+ font-weight: bold;
+ color: #888;
+}
+.repo-list-stats .repo-list-stat-item {
+ margin-left: 8px;
+ display: inline-block;
+ color: #888;
+ text-decoration: none;
+}
+.repo-list-stats .repo-list-stat-item:hover {
+ color: #4183c4;
+}
+.repo-list-stats .repo-list-stat-item>.octicon {
+ font-size: 14px;
+}
+.repo-list-info {
+ display: inline-block;
+ height: 100%;
+ margin-top: 0;
+ margin-bottom: 0;
+ font-size: 12px;
+ color: #888;
+ vertical-align: middle;
+}
+.repo-list-info .octicon {
+ margin-top: -3px;
+ font-size: 12px;
+ vertical-align: middle;
+}
+.repo-list-meta {
+ display: block;
+ margin-top: 8px;
+ margin-bottom: 0;
+ font-size: 13px;
+ color: #888;
+}
+.repo-list-meta .avatar {
+ margin-top: -2px;
+}
+.repo-list-meta a:hover {
+ text-decoration: none;
+}
+.task-list-item {
+ list-style-type: none;
+}
+.task-list-item label {
+ font-weight: normal;
+}
+.task-list-item.enabled label {
+ cursor: pointer;
+}
+.task-list-item+.task-list-item {
+ margin-top: 3px;
+}
+.task-list-item-checkbox {
+ float: left;
+ margin: 0.3em 0 0.25em -1.6em;
+ vertical-align: middle;
+}
+.about-header {
+ height: 300px;
+ background-color: #111;
+ background-image: url(/assets/modules/about/about-header-d282aa6adabb0aa921113cd1eb22baa0b14e85e99b82b986595527229346208c.jpg);
+ background-size: cover;
+ background-position: 50%}
+.about-header.team {
+ background-image: url(/assets/modules/about/team-header-45aac724e2475a318af9a22823f2f78e4bf7b8064cb59f136b0d9f59ad73df43.jpg);
+}
+.about-header.press {
+ background-image: url(/assets/modules/about/press-header-6507db004612e161e4e34710991d9a5cb3327daab85df2ebd357b7f9db28ac79.jpg);
+}
+.about-header.jobs {
+ background-image: url(/assets/modules/about/jobs-header-75c7cf97d0b51a35bd79377ad4e0fd2c6589015c3b5d4079644c654b5492d134.jpg);
+}
+.about-menu {
+ border-bottom: 1px solid #eee;
+}
+.about-menu-link {
+ float: left;
+ width: 25%;
+ padding: 20px 20px 17px;
+ font-size: 18px;
+ color: #777;
+ text-align: center;
+ border-bottom: 3px solid #fff;
+}
+.about-menu-link:hover {
+ color: #4183c4;
+ text-decoration: none;
+ border-bottom-color: #f5f5f5;
+}
+.about-menu-link.selected {
+ font-weight: bold;
+ color: #333;
+ border-bottom-color: #d26911;
+}
+.about-content {
+ padding: 0;
+ font-size: 18px;
+ font-weight: 300;
+ line-height: 1.5;
+}
+.about-content p {
+ margin-top: 0;
+}
+.about-content .container>p:first-child {
+ margin-top: 2em;
+ margin-bottom: 2em;
+ font-size: 24px;
+}
+.about-content .about-lead {
+ padding-left: 10%;
+ padding-right: 10%;
+ text-align: center;
+}
+.about-content hr {
+ margin-top: 30px;
+ margin-bottom: 30px;
+ border-bottom-color: #eee;
+}
+.press-mentions {
+ margin-top: 25px;
+}
+.press-mentions li {
+ margin-bottom: 15px;
+ list-style-type: none;
+}
+.press-mentions cite {
+ font-style: normal;
+ font-weight: normal;
+ display: block;
+ font-size: 13px;
+ color: #666;
+}
+.press-mentions h4 {
+ margin: 6px 0 0 -45px;
+ float: left;
+ color: #808080;
+}
+.press-info {
+ margin: 20px 0 30px;
+}
+.press-info:before {
+ display: table;
+ content: ""}
+.press-info:after {
+ display: table;
+ clear: both;
+ content: ""}
+.press-info-link {
+ position: relative;
+ display: block;
+ padding: 10px 15px;
+ font-weight: normal;
+ line-height: 2;
+ background-color: #fafafa;
+ border: 1px solid #ddd;
+}
+.press-info-link:first-child {
+ border-top-left-radius: 4px;
+ border-top-right-radius: 4px;
+}
+.press-info-link:last-child {
+ border-bottom-left-radius: 4px;
+ border-bottom-right-radius: 4px;
+}
+.press-info-link+.press-info-link {
+ margin-top: -1px;
+}
+.press-info-link .mega-octicon {
+ width: 32px;
+ text-align: center;
+ margin-right: 7px;
+ color: #aec0d0;
+ vertical-align: middle;
+}
+.press-info-link:hover {
+ z-index: 2;
+ color: #fff;
+ text-decoration: none;
+ border-color: #4183c4;
+ background-color: #4183c4;
+}
+.press-info-link:hover .mega-octicon {
+ color: inherit;
+}
+.hubbers-list {
+ margin: -6px;
+ list-style: none;
+}
+.hubbers-list:before {
+ display: table;
+ content: ""}
+.hubbers-list:after {
+ display: table;
+ clear: both;
+ content: ""}
+.hubbers-list-item {
+ display: block;
+ float: left;
+ width: 128px;
+ height: 128px;
+ margin: 6px;
+ text-align: center;
+}
+.hubbers-list-item img {
+ display: block;
+ width: 100%;
+ height: 100%;
+ background-color: #fff;
+}
+.hubbers-list-item .hubber-name {
+ position: absolute;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ display: block;
+ padding-top: 100px;
+ font-size: 12px;
+ font-weight: bold;
+ color: #fff;
+ text-align: center;
+ text-shadow: 0 0 4px #000;
+ background-color: rgba(0, 0, 0, 0.25);
+ background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0.01) 50%, rgba(0, 0, 0, 0.25));
+ background-image: linear-gradient(rgba(0, 0, 0, 0.01) 50%, rgba(0, 0, 0, 0.25));
+ background-repeat: repeat-x;
+ background-color: transparent;
+ opacity: 0;
+ -webkit-transition: opacity 0.25s ease-in-out;
+ transition: opacity 0.25s ease-in-out;
+}
+.hubbers-list-item a {
+ position: absolute;
+ display: block;
+ width: 128px;
+ height: 128px;
+}
+.hubbers-list-item a:hover .hubber-name {
+ opacity: 1;
+}
+.jobs-open-positions {
+ background-color: #f1f6fb;
+ border: solid 1px #d0e5f8;
+ border-radius: 3px;
+ padding: 20px;
+ margin-top: 10px;
+}
+.jobs-open-positions ul {
+ margin-top: 24px;
+ list-style: none;
+}
+.cvv-hint {
+ position: relative;
+ padding-right: 15px;
+}
+.cvv-hint:hover .cvv-hint-tooltip {
+ display: block;
+}
+.cvv-hint-tooltip {
+ display: none;
+ position: absolute;
+ border: 1px solid #d0d0d0;
+ padding: 15px;
+ z-index: 1000;
+ background-color: #fff;
+ left: 100%;
+ top: -150px;
+ box-shadow: 0 0 5px #ebebeb, 0 0 5px #ebebeb, 0 0 5px #ebebeb, 0 0 5px #ebebeb, 0 0 5px #ebebeb;
+}
+.credit-card {
+ border: 1px solid #ddd;
+ width: 250px;
+ padding: 20px;
+ height: 150px;
+ position: relative;
+ margin-top: 5px;
+ border-radius: 10px;
+}
+.credit-card.amex {
+ margin-top: 15px;
+}
+.credit-card.amex .title {
+ color: #fff;
+ font-family: "Arial Black", "Arial Bold", Gadget, sans-serif;
+ text-shadow: 1px 0 0 #ddd, -1px 0 0 #ddd, 0 1px 0 #ddd, 0 -1px 0 #ddd, -1px -1px 0 #ddd, 1px 1px 0 #ddd, -1px 1px 0 #ddd, 1px -1px 0 #ddd;
+ position: relative;
+ z-index: 1;
+ top: -5px;
+ text-align: center;
+ letter-spacing: 1px;
+ -webkit-transform: scale(1.3, 1);
+ -ms-transform: scale(1.3, 1);
+ transform: scale(1.3, 1);
+}
+.credit-card.amex .card-number {
+ margin-top: 40px;
+ font-size: 15px;
+ display: inline-block;
+ white-space: nowrap;
+ position: relative;
+}
+.credit-card.amex .gladiator {
+ position: absolute;
+ left: 50%;
+ top: 50px;
+ margin-left: -35px;
+ height: 80px;
+ width: 70px;
+ border: 3px solid #fff;
+ box-shadow: 0 0 1px #aaa;
+ border-top-left-radius: 35px 40px;
+ border-bottom-left-radius: 35px 40px;
+ border-top-right-radius: 35px 40px;
+ border-bottom-right-radius: 35px 40px;
+ background-color: #e0e0e0;
+}
+.credit-card.normal .strap {
+ background-color: #555;
+ height: 20px;
+ margin: -5px -20px 15px;
+}
+.credit-card.normal .signature {
+ display: inline-block;
+ background-color: #e9e9e9;
+ white-space: nowrap;
+ font-family: "Brush Script MT", cursive;
+ height: 30px;
+ width: 150px;
+ font-size: 17px;
+ color: #aaa;
+ letter-spacing: -1px;
+ line-height: 33px;
+ text-indent: 10px;
+}
+.credit-card .cvv {
+ left: -7px;
+ top: -10px;
+ border: 2px solid #f00;
+ padding: 2px 5px;
+ line-height: 1;
+ font-family: monospace;
+ font-size: 10px;
+ border-top-left-radius: 20px 10px;
+ border-bottom-left-radius: 20px 10px;
+ border-top-right-radius: 20px 10px;
+ border-bottom-right-radius: 20px 10px;
+ text-align: center;
+ position: relative;
+ display: inline-block;
+}
+.credit-card .cvv span {
+ position: absolute;
+ right: 100%;
+ margin-right: 5px;
+ color: #999;
+}
+.credit-card .text {
+ text-transform: uppercase;
+ font-size: 7px;
+ display: block;
+ line-height: 1.1;
+ font-weight: bold;
+ font-family: monospace;
+}
+.billing-seats table input {
+ width: 5em;
+}
+.billing-seats table td {
+ vertical-align: middle;
+ border-bottom: 0;
+}
+.billing-seats table td.fixed {
+ width: 150px;
+}
+.billing-seats table td.black {
+ color: #000;
+}
+.billing-seats table tr {
+ border-bottom: 1px solid #eee;
+}
+.billing-seats table tr:last-child {
+ border-bottom: 0;
+}
+.billing-seats table tr:nth-child(even) {
+ background-color: #fafafa;
+}
+.billing-seats table tr.total-row {
+ background-color: #fff;
+}
+.billing-seats .new-seats {
+ margin-left: 5px;
+}
+.billing-seats .seat-cost {
+ color: #999;
+}
+.billing-seats .form-submit, .billing-seats .payment-method {
+ margin-left: 10px;
+}
+.billing-seats .payment-summary {
+ margin-left: 10px;
+ margin-right: 10px;
+}
+.billing-credit-card .javascript-disabled-overlay {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 1;
+ display: none;
+ background-color: #fff;
+ opacity: 0.5;
+}
+.billing-credit-card.disabled .javascript-disabled-overlay, .billing-credit-card.unsupported .javascript-disabled-overlay {
+ display: block;
+}
+.billing-actions {
+ padding-bottom: 10px;
+}
+.help.billing-next-payment-help {
+ margin-top: 0;
+}
+.billing-extra-box {
+ border-left: 3px solid #eee;
+ padding-left: 10px;
+ margin: 10px 0 0;
+}
+.billing-section {
+ border-bottom: 1px solid #eee;
+ padding: 15px 10px;
+ line-height: 1.5em;
+}
+.billing-section.oneliner {
+ padding-bottom: 14px;
+}
+.billing-section.oneliner .action-button {
+ margin-top: -4px;
+}
+.billing-section p {
+ margin: 10px 0 0;
+}
+.billing-section .disabled-message {
+ color: #bd2c00;
+}
+.billing-section .action-button {
+ float: right;
+ margin-bottom: 5px;
+ margin-left: 10px;
+}
+.billing-section .octicon-button {
+ float: right;
+ padding: 4px;
+ margin-left: 5px;
+}
+.billing-section .section-label {
+ width: 85px;
+ color: #777;
+ font-weight: normal;
+ text-align: right;
+ position: absolute;
+}
+.billing-section .section-content {
+ color: #333;
+ margin-left: 100px;
+}
+.billing-section .usage-bar {
+ margin: 5px 0 0;
+ background: #eee;
+ border-radius: 20px;
+ width: 50%}
+.billing-section .usage-bar.exceeded .progress {
+ background: #bd2c00;
+}
+.billing-section .usage-bar .progress {
+ border-radius: 20px;
+ height: 5px;
+ background: #67d07c;
+ position: relative;
+}
+.billing-section .pending-invitations-link {
+ color: #999;
+}
+.billing-section:last-child {
+ border-bottom: 0;
+}
+.billing-section.info-section {
+ background: #f9f9f9;
+ border-bottom: 0;
+ color: #777;
+ overflow: hidden;
+}
+.billing-section.info-section .octicon-info {
+ font-size: 30px;
+ color: #ddd;
+}
+.setup-wrapper .paypal-container {
+ margin-bottom: 30px;
+}
+.setup-wrapper .paypal-logged-in .paypal-container {
+ margin-bottom: 10px;
+}
+.payment-methods {
+ position: relative;
+}
+.payment-methods .selected-payment-method {
+ display: none;
+}
+.payment-methods .selected-payment-method:before {
+ display: table;
+ content: ""}
+.payment-methods .selected-payment-method:after {
+ display: table;
+ clear: both;
+ content: ""}
+.payment-methods .selected-payment-method.active {
+ display: block;
+}
+.payment-methods .pay-with-header {
+ margin: 5px 0;
+}
+.payment-methods .pay-with-paypal .setup-creditcard-form, .payment-methods .pay-with-paypal .paypal-form-actions, .payment-methods .pay-with-paypal .terms, .payment-methods .pay-with-paypal .paypal-signed-in, .payment-methods .pay-with-paypal .paypal-down-flash, .payment-methods .pay-with-paypal .loading-paypal-spinner {
+ display: none;
+}
+.payment-methods.paypal-loading .loading-paypal-spinner {
+ display: block;
+}
+.payment-methods.paypal-down .paypal-down-flash {
+ display: block;
+}
+.payment-methods.paypal-logged-in .paypal-sign-in {
+ display: none;
+}
+.payment-methods.paypal-logged-in .setup-creditcard-form, .payment-methods.paypal-logged-in .paypal-form-actions, .payment-methods.paypal-logged-in .terms, .payment-methods.paypal-logged-in .paypal-signed-in {
+ display: block;
+}
+.payment-methods.has-paypal-account .paypal-sign-in {
+ display: none;
+}
+.payment-methods.has-paypal-account .paypal-signed-in {
+ display: block;
+}
+.paypal-label {
+ font-weight: bold;
+ margin: 15px 0 10px;
+}
+.paypal-container {
+ margin-bottom: 15px;
+ vertical-align: top;
+ display: inline-block;
+ background-color: #f9f9f9;
+ border-radius: 4px;
+}
+#braintree-paypal-loggedin {
+ background-position: 12px 50% !important;
+ border: 1px solid #ddd !important;
+ padding: 11px 16px !important;
+ border-radius: 4px;
+}
+#bt-pp-name {
+ margin-left: 20px !important;
+}
+#bt-pp-email {
+ margin-left: 15px !important;
+}
+#bt-pp-cancel {
+ font-size: 0 !important;
+ color: #a00 !important;
+ text-decoration: none !important;
+ font-family: octicons !important;
+ line-height: 1 !important;
+ display: inline-block;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+}
+#bt-pp-cancel:before {
+ font-size: 16px !important;
+ content: "\f081"}
+.payment-history .no-payments {
+ margin: 10px;
+}
+.payment-history .id, .payment-history .date, .payment-history .plan, .payment-history .receipt, .payment-history .status, .payment-history .amount {
+ width: 1%;
+ white-space: nowrap;
+}
+.payment-history .receipt {
+ text-align: center;
+}
+.payment-history .status {
+ color: #999;
+}
+.payment-history .status-icon {
+ width: 14px;
+ text-align: center;
+}
+.payment-history .succeeded .status {
+ color: #6cc644;
+}
+.payment-history .refunded, .payment-history .failed {
+ background: #f9f9f9;
+}
+.payment-history .refunded td, .payment-history .failed td {
+ opacity: 0.5;
+}
+.payment-history .refunded .receipt, .payment-history .refunded .status, .payment-history .failed .receipt, .payment-history .failed .status {
+ opacity: 1;
+}
+.payment-history .refunded .status {
+ color: #999;
+}
+.payment-history .failed .status {
+ color: #bd2c00;
+}
+.paypal-icon {
+ vertical-align: middle;
+ margin: 0 2px 0 1px;
+}
+.inline-form-action {
+ display: inline;
+}
+.boxed-group .boxed-group-content {
+ margin: 10px;
+}
+.billing-container {
+ width: 500px;
+ margin-top: 80px;
+ margin-bottom: 80px;
+}
+.billing-step {
+ margin-bottom: 50px;
+}
+.billing-step-title {
+ font-weight: 400;
+ padding-bottom: 10px;
+ border-bottom: 1px solid #e0e0e0;
+ margin-bottom: 15px;
+}
+.currency-container .local-currency, .currency-container .local-currency-block {
+ display: none;
+}
+.currency-container.open .local-currency {
+ display: inline;
+}
+.currency-container.open .local-currency-block {
+ display: block;
+}
+.currency-container.open .default-currency {
+ display: none;
+}
+.plan-chooser {
+ margin: 10px auto 20px;
+}
+.plan-chooser.on-free .toggle-currency, .plan-chooser.on-free .currency-notice, .plan-chooser.on-free .plan-price-group, .plan-chooser.on-free .coupon-notice {
+ display: none;
+}
+.strong-label {
+ font-weight: bold;
+ margin-bottom: 5px;
+ display: inline-block;
+}
+.plan-chooser-repo-menu {
+ margin-bottom: 15px;
+}
+.plan-chooser-repo-menu .price-label {
+ display: none;
+}
+.plan-chooser-repo-menu .button-block {
+ text-align: left;
+}
+.discounted-original-price, .per-repo.has-coupon .original-price {
+ text-decoration: line-through;
+ color: #999;
+ font-weight: normal;
+}
+.heat1 {
+ background-color: #ffeca7;
+}
+.heat2 {
+ background-color: #ffdd8c;
+}
+.heat3 {
+ background-color: #ffdd7c;
+}
+.heat4 {
+ background-color: #fba447;
+}
+.heat5 {
+ background-color: #f68736;
+}
+.heat6 {
+ background-color: #f37636;
+}
+.heat7 {
+ background-color: #ca6632;
+}
+.heat8 {
+ background-color: #c0513f;
+}
+.heat9 {
+ background-color: #a2503a;
+}
+.heat10 {
+ background-color: #793738;
+}
+.blame-breadcrumb .css-truncate-target {
+ max-width: 680px;
+}
+.blame-commit, .blame-commit+.blame-line {
+ border-top: 1px solid #e9e9e9;
+}
+.blame-container {
+ margin-top: -1px;
+}
+.blame-blob-num {
+ background-color: #fdfdfd;
+}
+.blame-commit-info {
+ position: relative;
+ width: 350px;
+ min-width: 350px;
+ max-width: 350px;
+ padding: 8px 10px;
+ vertical-align: top;
+}
+.blame-commit-avatar {
+ float: left;
+ margin-right: 5px;
+}
+.blame-commit-title {
+ font-weight: bold;
+ color: #333;
+ max-width: 230px;
+ display: inline-block;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ line-height: 1.1;
+ vertical-align: top;
+}
+.blame-sha {
+ font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;
+ float: right;
+}
+.blame-commit-meta {
+ color: #999;
+ font-size: 12px;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ line-height: 1.1;
+}
+.line-age {
+ width: 2px;
+ padding: 0 1px;
+}
+.line-age-legend {
+ float: right;
+ margin-top: -25px;
+ font-size: 12px;
+ color: #777;
+}
+.line-age-legend ol {
+ display: inline-block;
+ list-style: none;
+ margin: 0 5px;
+}
+.line-age-legend ol li {
+ display: inline-block;
+ width: 8px;
+ height: 10px;
+}
+#blog-main .pagehead h1 {
+ margin-top: 3px;
+ font-size: 24px;
+}
+.blog-title {
+ color: #333;
+}
+.blog-search {
+ position: relative;
+ float: right;
+}
+.blog-search .blog-search-input {
+ padding-left: 28px;
+ width: 200px;
+}
+.blog-search .octicon-search {
+ position: absolute;
+ left: 7px;
+ top: 9px;
+ z-index: 5;
+ color: #999;
+}
+.blog-search-results em {
+ background-color: #faffa6;
+ padding: 0.1em;
+}
+.blog-aside {
+ float: right;
+ width: 200px;
+}
+.blog-aside .button {
+ margin-bottom: 20px;
+ text-align: center;
+}
+.blog-aside .menu-container {
+ float: none;
+ margin-bottom: 30px;
+}
+.blog-aside .rss {
+ display: inline-block;
+ margin-left: 5px;
+ color: #999;
+}
+.blog-aside .rss .octicon {
+ float: left;
+ margin-right: 5px;
+ color: #f93;
+}
+.blog-content {
+ width: 685px;
+ font-family: "Helvetica Neue", Helvetica, Arial, freesans, sans-serif;
+}
+.blog-content h1, .blog-content h2, .blog-content h3 {
+ font-weight: 500;
+}
+.blog-content .markdown-body h2 {
+ font-size: 20px;
+}
+.blog-content .markdown-body h3 {
+ font-size: 18px;
+}
+.blog-draft-indicator {
+ color: #bd2c00;
+}
+.blog-post {
+ margin-bottom: 60px;
+}
+.blog-post-meta {
+ list-style: none;
+ margin-bottom: 20px;
+ color: #999;
+}
+.blog-post-meta .meta-item {
+ display: inline;
+ padding-right: 20px;
+}
+.blog-post-meta a {
+ color: #999;
+}
+.blog-post-meta .octicon, .blog-post-meta .author-avatar {
+ vertical-align: top;
+ border-radius: 3px;
+}
+.blog-post-title {
+ margin-top: 0;
+ margin-bottom: 10px;
+ font-size: 32px;
+}
+#blog-home {
+ color: #ccc;
+ font-size: 15px;
+ font-weight: 100;
+ margin-right: 10px;
+ margin-left: -25px;
+ vertical-align: middle;
+}
+#blog-home:hover {
+ color: #999;
+}
+.blog-post-body {
+ font-size: 16px;
+ line-height: 1.6;
+ color: #444;
+}
+.blog-post-body img {
+ padding: 3px;
+ border: 1px solid #d8d8d8;
+}
+.blog-post-body img.emoji {
+ border: 0;
+ padding: 0;
+}
+.blog-post-body iframe {
+ border: 0;
+ width: 100%}
+.blog-feedback {
+ margin: 50px 0;
+ background-color: #fafafa;
+ border: 1px solid #ddd;
+ border-bottom-color: #ccc;
+ border-radius: 3px;
+ box-shadow: inset 0 1px 0 #fff, 0 1px 5px #f1f1f1;
+}
+.blog-feedback-header {
+ margin: 0;
+ padding: 10px;
+ border-bottom: 1px solid #ddd;
+ box-shadow: 0 1px 0 #fff;
+ font-size: 14px;
+ font-weight: bold;
+}
+.blog-feedback-header.with-twitter {
+ background: url(/assets/icons/twitter-00141fde4f9233b7393bc12679ca2814ace7749f36ed444f9e8ac844048e9412.png) 648px 1px no-repeat;
+ background-size: 32px auto;
+}
+.blog-feedback-description {
+ margin: 0;
+ padding: 10px;
+ color: #999;
+}
+.branches .page-header {
+ margin-bottom: 20px;
+}
+.branches .clear-search {
+ display: none;
+}
+.branches .loading-overlay {
+ display: none;
+ position: absolute;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ padding-top: 50px;
+ z-index: 20;
+ background-color: rgba(255, 255, 255, 0.7);
+ text-align: center;
+}
+.branches .loading-overlay .spinner {
+ display: inline-block;
+}
+.branches.is-search-mode .clear-search {
+ display: inline-block;
+}
+.branches.is-loading .loading-overlay {
+ display: block;
+}
+.branches .status {
+ display: inline-block;
+ width: 16px;
+ text-align: center;
+}
+.branches .status .octicon {
+ position: relative;
+ top: 2px;
+}
+.branches .pull-request-link {
+ top: 0;
+ display: inline;
+ padding: 2px 5px;
+ line-height: 1em;
+}
+.branches .branch-actions {
+ float: right;
+ position: relative;
+ top: -3px;
+ right: -4px;
+}
+.branches .branch-actions form {
+ display: inline;
+}
+.branches .branch-actions .octicon {
+ width: 16px;
+ text-align: center;
+}
+.branch-groups {
+ position: relative;
+}
+.branch-group {
+ margin-bottom: 20px;
+ width: 100%;
+ border-radius: 3px;
+}
+.branch-group:before {
+ display: table;
+ content: ""}
+.branch-group:after {
+ display: table;
+ clear: both;
+ content: ""}
+.branch-group-heading {
+ border: 1px solid #ddd;
+ border-bottom: 0;
+ padding: 6px 12px;
+ background: #f5f5f5;
+ text-shadow: 0 1px 0 #fff;
+}
+.branch-group-heading+.branch-summary {
+ border-top: 1px solid #ddd;
+}
+.branch-group-name {
+ color: #666;
+ font-weight: bold;
+}
+.branch-group-heading:first-child, .branch-summary:first-child {
+ border-top-left-radius: 3px;
+ border-top-right-radius: 3px;
+}
+.branch-group-heading:last-child, .branch-summary:last-child {
+ border-bottom-left-radius: 3px;
+ border-bottom-right-radius: 3px;
+}
+.branches-view-switcher {
+ display: inline-block;
+ vertical-align: middle;
+}
+.branch-search {
+ position: relative;
+ float: right;
+ vertical-align: middle;
+}
+.branch-search .clear-search {
+ position: absolute;
+ right: 12px;
+ top: 9px;
+ color: #999;
+}
+.branch-search-field {
+ width: 250px;
+ padding-right: 25px;
+}
+.no-results-message {
+ padding: 12px;
+ border: 1px solid #ddd;
+ border-radius: 0 0 3px 3px;
+ color: rgba(0, 0, 0, 0.5);
+ text-align: center;
+}
+.branch-summary {
+ padding: 12px;
+ border: 1px solid #ddd;
+ border-bottom: 0;
+ color: rgba(0, 0, 0, 0.5);
+}
+.branch-summary:last-child {
+ border-bottom: 1px solid #ddd;
+}
+.branch-summary .branch-spinner {
+ display: none;
+ vertical-align: text-bottom;
+}
+.branch-summary.loading .branch-delete-icon {
+ display: none;
+}
+.branch-summary.loading .branch-spinner {
+ display: inline-block;
+}
+.branch-summary.is-deleted .existing-branch-summary {
+ display: none;
+}
+.branch-summary.is-deleted .deleted-branch-summary {
+ display: block;
+}
+.deleted-branch-summary {
+ display: none;
+}
+.deleted-branch-summary .css-truncate-target {
+ max-width: 500px;
+}
+.deleted-branch-summary .branch-name {
+ opacity: 0.5;
+ text-decoration: line-through;
+}
+.deleted-branch-summary .branch-spinner {
+ float: right;
+ position: relative;
+ top: 4px;
+ right: 5px;
+}
+.pr-details {
+ display: inline-block;
+ width: 144px;
+ text-align: right;
+}
+.pr-details .state {
+ padding: 1px 5px;
+ font-size: 12px;
+ width: 75px;
+ margin-left: 5px;
+ text-decoration: none;
+}
+.pr-details .state .octicon {
+ font-size: 14px;
+}
+.branch-delete {
+ display: inline-block;
+ color: #bd2c00;
+ margin: 4px 2px 0 8px;
+}
+.branch-delete.disabled {
+ color: #ddd;
+}
+.more-branches {
+ display: block;
+ padding: 6px;
+ width: 100%;
+ border: 1px solid #dae5eb;
+ border-radius: 0 0 3px 3px;
+ text-align: center;
+ text-decoration: none;
+ background: #f1f7fa;
+ color: #4183c4;
+}
+.more-branches:hover {
+ background: #e6f1f6;
+}
+.more-branches .octicon {
+ position: relative;
+ top: 1px;
+ margin-left: 5px;
+}
+.branch-details {
+ display: inline-block;
+ width: 490px;
+ margin-right: 10px;
+}
+.branch-details .css-truncate-target {
+ max-width: 240px;
+}
+.branch-meta {
+ color: #aaa;
+ font-size: 12px;
+ line-height: 20px;
+}
+.default-label {
+ width: 180px;
+ text-align: center;
+ display: inline-block;
+}
+@-webkit-keyframes branch-bar-slide {
+ from {
+ width: 0%}
+to {
+ width: 100%}
+}@keyframes branch-bar-slide {
+ from {
+ width: 0%}
+to {
+ width: 100%}
+}.branch-a-b-count {
+ display: inline-block;
+ vertical-align: middle;
+}
+.branch-a-b-count .count-half {
+ float: left;
+ width: 90px;
+ text-align: right;
+ padding-bottom: 6px;
+ position: relative;
+}
+.branch-a-b-count .count-half:last-child {
+ text-align: left;
+ border-left: 1px solid #bbb;
+}
+.branch-a-b-count .count-value {
+ position: relative;
+ top: -1px;
+ display: block;
+ padding: 0 3px;
+ font-size: 10px;
+}
+.branch-a-b-count .bar {
+ position: absolute;
+ min-width: 3px;
+ height: 4px;
+}
+.branch-a-b-count .meter {
+ position: absolute;
+ height: 4px;
+ background-color: #ccc;
+ -webkit-animation: branch-bar-slide 0.3s ease forwards 0.5s;
+ animation: branch-bar-slide 0.3s ease forwards 0.5s;
+}
+.branch-a-b-count .meter.zero {
+ background-color: transparent;
+}
+.branch-a-b-count .bar-behind {
+ right: 0;
+ border-radius: 3px 0 0 3px;
+}
+.branch-a-b-count .bar-behind .meter {
+ right: 0;
+ border-radius: 3px 0 0 3px;
+}
+.branch-a-b-count .bar-ahead {
+ left: 0;
+ border-radius: 0 3px 3px 0;
+}
+.branch-a-b-count .bar-ahead .meter {
+ border-radius: 0 3px 3px 0;
+}
+.branch-a-b-count .bar-ahead.even, .branch-a-b-count .bar-behind.even {
+ background: #eee;
+ min-width: 2px;
+}
+.capped-cards {
+ list-style: none;
+}
+.capped-cards .capped-card {
+ float: left;
+ width: 450px;
+}
+.capped-card {
+ border-radius: 2px;
+ border: 1px solid #ddd;
+ list-style: none;
+ margin: 10px;
+}
+.capped-card:before {
+ display: table;
+ content: ""}
+.capped-card:after {
+ display: table;
+ clear: both;
+ content: ""}
+.capped-card:nth-child(odd) {
+ margin-left: 0;
+}
+.capped-card:nth-child(even) {
+ margin-right: 0;
+}
+.capped-card h3 {
+ margin: 0;
+ border-bottom: 1px solid #eee;
+ line-height: 100%;
+ padding: 10px;
+}
+.capped-card>p {
+ border-bottom: 1px solid #eee;
+ color: #999;
+ display: block;
+ font-size: 15px;
+ line-height: 100%;
+ margin: 0;
+ padding: 0 10px 10px;
+}
+.capped-card-content {
+ background: #f7f7f7;
+ display: block;
+}
+.capped-card-content:before {
+ display: table;
+ content: ""}
+.capped-card-content:after {
+ display: table;
+ clear: both;
+ content: ""}
+.clone-url h5 {
+ margin-top: 0;
+ margin-bottom: 10px;
+}
+.clone-url .input-group {
+ width: 100%}
+.clone-url input.input-mini {
+ font-size: 11px;
+ color: #999;
+}
+.commit-form {
+ position: relative;
+ padding: 15px;
+ border: 1px solid #ddd;
+ border-radius: 3px;
+}
+.commit-form:after, .commit-form:before {
+ position: absolute;
+ top: 11px;
+ left: -16px;
+ right: 100%;
+ width: 0;
+ height: 0;
+ display: block;
+ content: " ";
+ border-color: transparent;
+ border-style: solid solid outset;
+ pointer-events: none;
+}
+.commit-form:after {
+ border-width: 7px;
+ border-right-color: #fff;
+ margin-top: 1px;
+ margin-left: 2px;
+}
+.commit-form:before {
+ border-right-color: #ddd;
+ border-width: 8px;
+}
+.commit-form .input-block {
+ margin-top: 10px;
+ margin-bottom: 10px;
+}
+.commit-form-avatar {
+ float: left;
+ margin-left: -64px;
+ border-radius: 3px;
+}
+.commit-form-actions {
+ text-align: right;
+}
+.commit-form-actions:before {
+ display: table;
+ content: ""}
+.commit-form-actions:after {
+ display: table;
+ clear: both;
+ content: ""}
+.commit-form-actions .button {
+ float: right;
+ margin-left: 5px;
+}
+.commit-form-actions .check-for-fork {
+ line-height: 34px;
+}
+.copyable-terminal {
+ position: relative;
+ padding: 10px 55px 10px 10px;
+ background-color: #f7f7f7;
+ border-radius: 3px;
+}
+.copyable-terminal-content {
+ overflow: auto;
+}
+.copyable-terminal-button {
+ position: absolute;
+ top: 5px;
+ right: 5px;
+}
+.copyable-terminal-button .zeroclipboard-button {
+ float: right;
+}
+.copyable-terminal-button .zeroclipboard-button .octicon {
+ padding-left: 1px;
+ margin: 0 auto;
+}
+.logged_out.enter-coupon {
+ background-color: #f9f9f9;
+}
+.logged_out.enter-coupon .coupon-form-body {
+ margin-bottom: -20px;
+ background-image: none;
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.075), inset 1px 0 #fff, 0 0 200px #fff;
+}
+.logged_out.enter-coupon .header-logged-out {
+ background-color: #fff;
+}
+.logged_out.enter-coupon .site-footer {
+ border-top: 0;
+}
+.coupons .setup-plans td img {
+ vertical-align: middle;
+ margin-top: -2px;
+}
+.coupons .coupon-form-body {
+ width: 230px;
+ margin: 100px auto 60px;
+ padding: 20px;
+ font-size: 14px;
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+ text-align: center;
+ background-color: #fff;
+ background-image: -webkit-linear-gradient(#fefefe, #fafafa);
+ background-image: linear-gradient(#fefefe, #fafafa);
+ border: 1px solid #ccc;
+ border-radius: 3px;
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.075), inset 1px 0 #fff;
+}
+.coupons .coupon-form-body .input-block {
+ margin-bottom: 15px;
+}
+.coupons .coupon-form-body .button {
+ display: block;
+ width: 100%}
+.coupon-icon {
+ width: 80px;
+ height: 80px;
+ margin: 0 auto 15px;
+ color: #4183c4;
+ border: 1px solid #dedede;
+ border-radius: 40px;
+}
+.coupon-icon .mega-octicon {
+ margin-left: 2px;
+ font-size: 48px;
+ line-height: 80px;
+}
+.coupon-signin-title {
+ margin-top: 40px;
+}
+.coupon-title {
+ margin-bottom: 20px;
+ font-weight: 500;
+}
+.coupons-list-options {
+ margin-bottom: 15px;
+}
+.coupons-list-options .select-menu, .coupons-list-options .button-group {
+ display: inline-block;
+ margin-right: 10px;
+}
+.coupons-list-options .pagination {
+ float: right;
+ margin: 0;
+}
+dl.form.developer-select-account {
+ margin-top: 0;
+}
+.developer-wrapper .setup-info-module .features-list {
+ margin-left: 16px;
+}
+.developer-wrapper .setup-info-module .features-list .octicon {
+ margin-left: -17px;
+}
+.developer-thanks h2 {
+ font-size: 38px;
+ font-weight: normal;
+}
+.developer-thanks .hook {
+ margin-top: 2px;
+ margin-bottom: 30px;
+ font-size: 18px;
+ font-weight: 300;
+ color: #666;
+}
+.developer-thanks-image {
+ position: relative;
+ bottom: -45px;
+ float: left;
+ width: 400px;
+}
+.developer-thanks-section {
+ margin: 130px 0 0 470px;
+}
+.developer-next-steps {
+ list-style: none;
+ font-size: 18px;
+ font-weight: 300;
+}
+.developer-next-steps li {
+ margin-top: 10px;
+}
+.developer-next-steps li:first-child {
+ margin-top: 0;
+}
+.developer-next-steps .mega-octicon {
+ position: relative;
+ top: 5px;
+ margin-right: 10px;
+ font-size: 32px;
+ color: #6cc644;
+}
+.blob-wrapper {
+ overflow-x: auto;
+ overflow-y: hidden;
+ border-bottom-left-radius: 3px;
+ border-bottom-right-radius: 3px;
+}
+.tab-size-1 {
+ -moz-tab-size: 1;
+ -o-tab-size: 1;
+ tab-size: 1;
+}
+.tab-size-2 {
+ -moz-tab-size: 2;
+ -o-tab-size: 2;
+ tab-size: 2;
+}
+.tab-size-3 {
+ -moz-tab-size: 3;
+ -o-tab-size: 3;
+ tab-size: 3;
+}
+.tab-size-4 {
+ -moz-tab-size: 4;
+ -o-tab-size: 4;
+ tab-size: 4;
+}
+.tab-size-5 {
+ -moz-tab-size: 5;
+ -o-tab-size: 5;
+ tab-size: 5;
+}
+.tab-size-6 {
+ -moz-tab-size: 6;
+ -o-tab-size: 6;
+ tab-size: 6;
+}
+.tab-size-7 {
+ -moz-tab-size: 7;
+ -o-tab-size: 7;
+ tab-size: 7;
+}
+.tab-size-8 {
+ -moz-tab-size: 8;
+ -o-tab-size: 8;
+ tab-size: 8;
+}
+.tab-size-9 {
+ -moz-tab-size: 9;
+ -o-tab-size: 9;
+ tab-size: 9;
+}
+.tab-size-10 {
+ -moz-tab-size: 10;
+ -o-tab-size: 10;
+ tab-size: 10;
+}
+.tab-size-11 {
+ -moz-tab-size: 11;
+ -o-tab-size: 11;
+ tab-size: 11;
+}
+.tab-size-12 {
+ -moz-tab-size: 12;
+ -o-tab-size: 12;
+ tab-size: 12;
+}
+.diff-table {
+ width: 100%;
+ border-collapse: separate;
+}
+.diff-table .line-comments {
+ padding: 10px;
+}
+.diff-table .line-comments:first-child+.empty-cell {
+ border-left-width: 1px;
+}
+.diff-table tr:not(:last-child) .line-comments {
+ border-top: 1px solid #eee;
+ border-bottom: 1px solid #eee;
+}
+.blob-num {
+ width: 1%;
+ min-width: 50px;
+ padding-left: 10px;
+ padding-right: 10px;
+ font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
+ font-size: 12px;
+ line-height: 18px;
+ color: rgba(0, 0, 0, 0.3);
+ vertical-align: top;
+ text-align: right;
+ border: solid #eee;
+ border-width: 0 1px 0 0;
+ cursor: pointer;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+}
+.blob-num:hover {
+ color: rgba(0, 0, 0, 0.6);
+}
+.blob-num:before {
+ content: attr(data-line-number);
+}
+.blob-code {
+ position: relative;
+ padding-left: 10px;
+ padding-right: 10px;
+ font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
+ font-size: 12px;
+ color: #333;
+ vertical-align: top;
+ white-space: pre;
+ overflow: visible;
+}
+.blob-code .x-first {
+ border-top-left-radius: 0.2em;
+ border-bottom-left-radius: 0.2em;
+}
+.blob-code .x-last {
+ border-top-right-radius: 0.2em;
+ border-bottom-right-radius: 0.2em;
+}
+.soft-wrap .blob-code {
+ word-wrap: break-word;
+ white-space: pre-wrap;
+ padding-left: 18px;
+ text-indent: -7px;
+}
+.soft-wrap .blob-code .no-nl-marker {
+ display: none;
+}
+.soft-wrap .add-line-comment {
+ margin-left: -28px;
+}
+.blob-num-hunk, .blob-code-hunk, .blob-num-expandable, .blob-code-expandable {
+ vertical-align: middle;
+ color: rgba(0, 0, 0, 0.3);
+ border-color: #d5e4f2;
+}
+.blob-num-hunk, .blob-num-expandable {
+ background-color: #f0f5fa;
+}
+.blob-code-hunk, .blob-code-expandable {
+ padding-top: 4px;
+ padding-bottom: 4px;
+ background-color: #f8fafd;
+ border-width: 1px 0;
+}
+.blob-expanded .blob-num, .blob-expanded .blob-code {
+ background-color: #fafafa;
+}
+.blob-expanded+tr:not(.blob-expanded) .blob-num, .blob-expanded+tr:not(.blob-expanded) .blob-code {
+ border-top: 1px solid #eee;
+}
+.blob-expanded .blob-num-hunk {
+ border-top: 1px solid #eee;
+}
+tr:not(.blob-expanded)+.blob-expanded .blob-num, tr:not(.blob-expanded)+.blob-expanded .blob-code {
+ border-top: 1px solid #eee;
+}
+.blob-num-expandable {
+ padding: 0;
+ font-size: 12px;
+ text-align: center;
+}
+.blob-num-expandable .diff-expander {
+ display: block;
+ width: auto;
+ height: auto;
+ margin-right: -1px;
+ padding: 4px 11px 4px 10px;
+ cursor: pointer;
+ color: #999;
+}
+.blob-num-expandable .diff-expander:hover {
+ color: #fff;
+ text-shadow: none;
+ background-color: #4183c4;
+ border-color: #4183c4;
+}
+.blob-code-addition {
+ background-color: #eaffea;
+}
+.blob-code-addition .x {
+ background-color: #a6f3a6;
+}
+.blob-num-addition {
+ background-color: #dbffdb;
+ border-color: #c1e9c1;
+}
+.blob-code-deletion {
+ background-color: #ffecec;
+}
+.blob-code-deletion .x {
+ background-color: #f8cbcb;
+}
+.blob-num-deletion {
+ background-color: #ffdddd;
+ border-color: #f1c0c0;
+}
+.selected-line.blob-code {
+ background-color: #f8eec7;
+}
+.selected-line.blob-code .x {
+ background-color: transparent;
+}
+.selected-line.blob-num {
+ background-color: #f6e8b5;
+ border-color: #f0db88;
+}
+.add-line-comment {
+ position: relative;
+ z-index: 5;
+ float: left;
+ width: 20px;
+ height: 20px;
+ margin: -1px -10px -1px -20px;
+ line-height: 20px;
+ color: #fff;
+ text-align: center;
+ text-indent: 0;
+ cursor: pointer;
+ background-color: #4183c4;
+ background-color: #4183c4;
+ background-image: -webkit-linear-gradient(#5490ca, #4183c4);
+ background-image: linear-gradient(#5490ca, #4183c4);
+ background-repeat: repeat-x;
+ border-radius: 3px;
+ box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
+ opacity: 0;
+ -webkit-transform: scale(0.8, 0.8);
+ -ms-transform: scale(0.8, 0.8);
+ transform: scale(0.8, 0.8);
+ -webkit-transition: -webkit-transform 0.1s ease-in-out;
+ transition: transform 0.1s ease-in-out;
+}
+.add-line-comment:hover {
+ -webkit-transform: scale(1, 1);
+ -ms-transform: scale(1, 1);
+ transform: scale(1, 1);
+}
+.is-hovered .add-line-comment {
+ opacity: 1;
+}
+.inline-comment-form {
+ border: 1px solid #ddd;
+ border-radius: 3px;
+}
+.inline-review-comment {
+ margin-top: 0 !important;
+ margin-bottom: 10px !important;
+}
+.inline-review-comment .gc:first-child+tr .blob-num, .inline-review-comment .gc:first-child+tr .blob-code {
+ padding-top: 5px;
+}
+.inline-review-comment tr:last-child {
+ border-bottom-left-radius: 2px;
+ border-bottom-right-radius: 2px;
+}
+.inline-review-comment tr:last-child .blob-num, .inline-review-comment tr:last-child .blob-code {
+ padding-bottom: 8px;
+}
+.inline-review-comment tr:last-child .blob-num:first-child, .inline-review-comment tr:last-child .blob-code:first-child {
+ border-bottom-left-radius: 2px;
+}
+.inline-review-comment tr:last-child .blob-num:last-child, .inline-review-comment tr:last-child .blob-code:last-child {
+ border-bottom-right-radius: 2px;
+}
+.timeline-inline-comments {
+ width: 100%;
+ table-layout: fixed;
+}
+.timeline-inline-comments .inline-comments, .show-inline-notes .inline-comments {
+ display: table-row;
+}
+.inline-comments {
+ display: none;
+}
+.inline-comments .line-comments+.blob-num {
+ border-left-width: 1px;
+}
+.inline-comments .line-comments .comment-content {
+ position: relative;
+}
+.inline-comments .line-comments .comment-content .suggester-container {
+ top: 10px;
+}
+.inline-comments .timeline-comment {
+ margin-bottom: 10px;
+}
+.inline-comments .inline-comment-form, .inline-comments .inline-comment-form-container {
+ max-width: 780px;
+}
+.inline-comments .ajax-indicator {
+ display: none;
+ vertical-align: bottom;
+}
+.inline-comments form.loading .ajax-indicator {
+ display: inline-block;
+}
+.comment-holder {
+ max-width: 780px;
+}
+.line-comments+.line-comments, .empty-cell+.line-comments {
+ border-left: 1px solid #eee;
+}
+.inline-comment-form-container .inline-comment-form, .inline-comment-form-container.open .add-line-note-button {
+ display: none;
+}
+.inline-comment-form-container .add-line-note-button, .inline-comment-form-container.open .inline-comment-form {
+ display: block;
+}
+.only-commit-comments .inline-comment {
+ display: none;
+}
+body.split-diff .header>.container, body.split-diff .repohead>.container, body.split-diff .site>.container {
+ width: 100%;
+ padding-left: 30px;
+ padding-right: 30px;
+}
+body.split-diff .repository-with-sidebar {
+ padding-right: 60px;
+}
+body.split-diff .repository-with-sidebar .repository-sidebar {
+ margin-right: -60px;
+}
+body.split-diff .repository-content {
+ width: 100%}
+.file-diff-split .blob-code {
+ width: 49%;
+ white-space: pre-wrap;
+ word-break: break-word;
+}
+.file-diff-split .blob-code+.blob-num {
+ border-left-width: 1px;
+}
+.file-diff-split .empty-cell {
+ cursor: default;
+ background-color: #fafafa;
+ border-right-color: #eee;
+}
+.ghe-license-status {
+ padding: 40px 0;
+ font-size: 16px;
+ text-align: center;
+}
+.ghe-license-status .octocat {
+ width: 225px;
+ margin-bottom: 20px;
+}
+.ghe-license-status h1 {
+ margin-bottom: 10px;
+}
+.ghe-license-status p {
+ margin-top: 0;
+ margin-bottom: 5px;
+ color: #777;
+}
+.ghe-license-expiry-icon {
+ margin: 5px 10px 0 0;
+ color: #ddb38a;
+}
+.fakelogin {
+ text-align: center;
+ font-size: 14px;
+ line-height: 34px;
+ background-color: #b33630;
+ background-image: -webkit-linear-gradient(#dc5f59, #b33630);
+ background-image: linear-gradient(#dc5f59, #b33630);
+ background-repeat: repeat-x;
+ border-bottom: 1px solid #900;
+ color: #fff;
+ position: fixed;
+ top: 0;
+ z-index: 1000;
+ width: 100%;
+ text-shadow: 0 -1px 0 rgba(153, 0, 0, 0.25);
+}
+.fakelogin+.header {
+ margin-top: 35px;
+}
+.fakelogin+#serverstats {
+ margin-top: 35px;
+}
+.fakelogin a {
+ color: #f3d9d7;
+ text-decoration: underline;
+}
+.fakelogin a:hover {
+ color: #fff;
+}
+.file {
+ position: relative;
+ margin-top: 20px;
+ margin-bottom: 15px;
+ border: 1px solid #ddd;
+ border-radius: 3px;
+}
+.file .meta {
+ padding: 5px 10px;
+ text-shadow: 0 1px 0 #fff;
+ border-bottom: 1px solid #d8d8d8;
+ background-color: #f7f7f7;
+ border-top-left-radius: 4px;
+ border-top-right-radius: 4px;
+}
+.file .meta:before {
+ display: table;
+ content: ""}
+.file .meta:after {
+ display: table;
+ clear: both;
+ content: ""}
+.edit-file .file .meta {
+ padding: 5px 10px 0;
+}
+.file .meta .mode {
+ text-transform: capitalize;
+}
+.file .meta .info {
+ float: left;
+ height: 33px;
+ line-height: 33px;
+}
+.file .meta .diffstat-bar {
+ color: #ddd;
+}
+.file .meta .octicon-button {
+ display: inline-block;
+ margin-left: 9px;
+ margin-right: -4px;
+ padding-right: 5px;
+ padding-left: 5px;
+ color: #777;
+ vertical-align: middle;
+}
+.file .meta .octicon-button.danger:hover {
+ color: #bd2c00;
+}
+.file .meta .octicon-button.disabled {
+ color: #bbb;
+ cursor: default;
+}
+.file .meta .octicon-button.disabled:hover {
+ color: #bbb;
+}
+.file .meta .octicon-button:last-child {
+ margin-right: 0;
+}
+.file .meta .octicon-button:hover {
+ color: #4183c4;
+}
+.file .meta .actions {
+ float: right;
+ height: 33px;
+ line-height: 31px;
+}
+.file .meta .actions select {
+ margin-left: 5px;
+}
+.file .meta .actions input {
+ position: relative;
+ top: 1px;
+}
+.file .meta-divider {
+ display: inline-block;
+ width: 1px;
+ height: 18px;
+ margin: 0 3px;
+ vertical-align: middle;
+ background-color: #ddd;
+}
+.file .show-file-notes {
+ display: none;
+}
+.file.has-inline-notes .show-file-notes {
+ display: block;
+ float: left;
+ margin-right: 10px;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+}
+.file .data.empty {
+ padding: 5px 10px;
+ color: #777;
+}
+.file .data.suppressed, .file.open .image {
+ display: none;
+}
+.file.open .data.suppressed {
+ display: block;
+}
+.file .image {
+ position: relative;
+ padding: 30px;
+ text-align: center;
+ background-color: #ddd;
+}
+.file .image table {
+ margin: 0 auto;
+}
+.file .image td {
+ text-align: center;
+ color: #888;
+ padding: 0 5px;
+ vertical-align: top;
+}
+.file .image td img {
+ max-width: 100%}
+.file .image .border-wrap {
+ position: relative;
+ display: inline-block;
+ line-height: 0;
+ background-color: #fff;
+ border: 1px solid #999;
+}
+.file .image a {
+ display: inline-block;
+ line-height: 0;
+}
+.file .image img, .file .image canvas {
+ max-width: 600px;
+ background: url(/assets/modules/commit/trans_bg-db69d1f1b8503d5ee68f5ca8c1c369acf9726c3d2b97a4d84f3bb77761c26fba.gif) right bottom #eee;
+ border: 1px solid #fff;
+}
+.file .image .view img, .file .image .view canvas {
+ position: relative;
+ top: 0;
+ right: 0;
+ background: url(/assets/modules/commit/trans_bg-db69d1f1b8503d5ee68f5ca8c1c369acf9726c3d2b97a4d84f3bb77761c26fba.gif) right bottom #eee;
+ max-width: inherit;
+}
+.file .image .view>span {
+ vertical-align: middle;
+}
+.file .hidden {
+ display: none !important;
+}
+.file .empty {
+ background: none;
+}
+.file-blankslate {
+ border: 0;
+ border-radius: 0 0 2px 2px;
+}
+.enable-fullscreen.minibutton {
+ display: inline-block;
+ margin-top: 4px;
+ margin-left: 5px;
+ padding: 0 6px;
+}
+.enable-fullscreen.minibutton .octicon {
+ margin-right: 0;
+}
+.new-file .enable-fullscreen {
+ margin-left: 11px;
+}
+.write-content {
+ position: relative;
+}
+.write-content .enable-fullscreen {
+ position: absolute;
+ top: 5px;
+ right: 16px;
+ color: #333;
+ opacity: 0.5;
+ line-height: 1em;
+}
+.write-content .enable-fullscreen:hover {
+ opacity: 1;
+}
+.fullscreen-overlay {
+ display: none;
+ position: fixed;
+ top: 0;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ background: #fff;
+ text-shadow: none;
+ z-index: 1000;
+}
+.fullscreen-overlay .fullscreen-container {
+ max-width: 800px;
+ height: 100%;
+ margin: 0 auto;
+ padding: 30px 0;
+}
+.fullscreen-overlay .textarea-wrap {
+ width: 100%;
+ height: 100%;
+ position: relative;
+}
+.fullscreen-overlay textarea {
+ width: 100%;
+ height: 100%;
+ padding: 20px;
+ border: 0;
+ background: #fff;
+ color: #999999;
+ font-size: 21px;
+ line-height: 1.6em;
+ resize: none;
+ -webkit-transition: color 0.15s ease-in-out;
+ transition: color 0.15s ease-in-out;
+ box-shadow: none;
+}
+.fullscreen-overlay textarea:focus, .fullscreen-overlay textarea:hover {
+ outline: none;
+ color: #333;
+}
+.fullscreen-overlay .fullscreen-sidebar {
+ position: absolute;
+ top: 30px;
+ right: 30px;
+ text-align: right;
+ z-index: 1002;
+}
+.fullscreen-overlay .fullscreen-sidebar .exit-fullscreen, .fullscreen-overlay .fullscreen-sidebar .theme-switcher {
+ color: #b3b3b3;
+ float: right;
+ clear: right;
+ margin-bottom: 15px;
+}
+.fullscreen-overlay .fullscreen-sidebar .exit-fullscreen:hover, .fullscreen-overlay .fullscreen-sidebar .theme-switcher:hover {
+ color: #333;
+ text-shadow: 0 0 10px #fff;
+}
+.fullscreen-overlay .fullscreen-sidebar .theme-switcher {
+ margin-right: 8px;
+}
+.fullscreen-overlay.dark-theme {
+ background: #1d1f21;
+}
+.fullscreen-overlay.dark-theme textarea {
+ background: #1d1f21;
+ color: #a4b1b1;
+}
+.fullscreen-overlay.dark-theme textarea:focus, .fullscreen-overlay.dark-theme textarea:hover {
+ color: #dbe0e0;
+}
+.fullscreen-overlay.dark-theme .fullscreen-sidebar {
+ color: #dbe0e0;
+}
+.fullscreen-overlay.dark-theme .fullscreen-sidebar .exit-fullscreen, .fullscreen-overlay.dark-theme .fullscreen-sidebar .theme-switcher {
+ color: #a4b1b1;
+}
+.fullscreen-overlay.dark-theme .fullscreen-sidebar .exit-fullscreen:hover, .fullscreen-overlay.dark-theme .fullscreen-sidebar .theme-switcher:hover {
+ color: #dbe0e0;
+ text-shadow: 0 0 10px #000;
+}
+.fullscreen-overlay .suggester-container {
+ top: 5px;
+ left: 0;
+}
+.fullscreen-overlay-enabled .wrapper, .fullscreen-overlay-enabled #footer {
+ display: none;
+}
+.fullscreen-overlay-enabled .fullscreen-overlay {
+ display: block;
+}
+.previewable-comment-form .upload-enabled .fullscreen-overlay textarea {
+ max-height: none;
+ border: 0;
+ border-radius: 0;
+}
+#gollum-editor {
+ margin: 10px 0 50px;
+ padding: 10px 0 0;
+ border: 0;
+}
+#gollum-editor .comment-form-head.tabnav {
+ border: 1px solid #ddd;
+}
+#gollum-editor #gollum-editor-body {
+ font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
+ line-height: 22px;
+ margin: 13px 0 5px;
+ height: 390px;
+ resize: vertical;
+}
+#gollum-editor #gollum-editor-body+.collapsed, #gollum-editor #gollum-editor-body+.expanded {
+ border-top: 1px solid #ddd;
+ margin-top: 7px;
+}
+#gollum-editor .collapsed, #gollum-editor .expanded {
+ border-bottom: 1px solid #ddd;
+ display: block;
+ overflow: hidden;
+ padding: 10px 0 5px;
+}
+#gollum-editor .collapsed a.button, #gollum-editor .expanded a.button {
+ border: 1px solid #ddd;
+ color: #333;
+ display: block;
+ float: left;
+ height: 25px;
+ overflow: hidden;
+ margin: 2px 5px 7px 0;
+ padding: 0;
+ text-shadow: 0 1px 0 #fff;
+ width: 25px;
+ background-color: #eaeaea;
+ background-image: -webkit-linear-gradient(#fafafa, #eaeaea);
+ background-image: linear-gradient(#fafafa, #eaeaea);
+ background-repeat: repeat-x;
+ border-radius: 3px;
+}
+#gollum-editor .collapsed a.button:hover, #gollum-editor .expanded a.button:hover {
+ color: #fff;
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
+ text-decoration: none;
+ background-color: #3072b3;
+ background-image: -webkit-linear-gradient(#599bdc, #3072b3);
+ background-image: linear-gradient(#599bdc, #3072b3);
+ background-repeat: repeat-x;
+}
+#gollum-editor .collapsed a.button span, #gollum-editor .expanded a.button span {
+ margin: 4px;
+}
+#gollum-editor .collapsed h4, #gollum-editor .expanded h4 {
+ font-size: 16px;
+ float: left;
+ margin: 0;
+ padding: 6px 0 0 4px;
+ text-shadow: 0 -1px 0 #fff;
+}
+#gollum-editor .collapsed a.button span.octicon-triangle-right {
+ display: inline-block;
+}
+#gollum-editor .collapsed textarea, #gollum-editor .collapsed a.button span.octicon-triangle-down {
+ display: none;
+}
+#gollum-editor .expanded a.button span.octicon-triangle-down {
+ display: inline-block;
+}
+#gollum-editor .expanded a.button span.octicon-triangle-right {
+ display: none;
+}
+#gollum-editor .expanded textarea {
+ border: 1px solid #ddd;
+ clear: both;
+ display: block;
+ font-size: 12px;
+ font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
+ height: 84px;
+ margin: 8px 0;
+ padding: 6px;
+ width: 883px;
+ resize: vertical;
+}
+#gollum-editor a.gollum-minibutton, #gollum-editor a.gollum-minibutton:visited {
+ border: 1px solid #d4d4d4;
+ color: #333;
+ cursor: pointer;
+ display: block;
+ font-size: 12px;
+ font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
+ font-weight: bold;
+ margin: 0 0 0 9px;
+ padding: 5px 12px;
+ text-shadow: 0 1px 0 #fff;
+ background-color: #eaeaea;
+ background-image: -webkit-linear-gradient(#fafafa, #eaeaea);
+ background-image: linear-gradient(#fafafa, #eaeaea);
+ background-repeat: repeat-x;
+ border-radius: 3px;
+}
+#gollum-editor a.gollum-minibutton:hover, #gollum-editor a.gollum-minibutton:visited:hover {
+ border-color: #518cc6 #518cc6 #2a65a0;
+ color: #fff;
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
+ text-decoration: none;
+ background-color: #3072b3;
+ background-image: -webkit-linear-gradient(#599bdc, #3072b3);
+ background-image: linear-gradient(#599bdc, #3072b3);
+ background-repeat: repeat-x;
+}
+.singleline {
+ display: block;
+ margin: 20px 0;
+}
+.singleline label {
+ display: block;
+ margin-bottom: 6px;
+}
+#gollum-editor-title-field {
+ border-bottom: 0;
+ margin: 0 0 10px;
+}
+.gollum-editor-page-title {
+ font-weight: bold;
+ margin-top: 0;
+}
+.gollum-editor-page-title.ph {
+ color: #000;
+}
+#gollum-editor-function-bar {
+ height: 26px;
+ padding-bottom: 10px;
+ border-bottom: 1px solid #ddd;
+ margin: 10px 0;
+ border: 0;
+}
+#gollum-editor-function-bar #gollum-editor-function-buttons {
+ display: none;
+ float: left;
+}
+#gollum-editor-function-bar.active #gollum-editor-function-buttons {
+ display: block;
+}
+#gollum-editor-function-bar #gollum-editor-format-selector {
+ padding-top: 5px;
+ float: left;
+ margin-left: 20px;
+}
+#gollum-editor-function-bar #gollum-editor-format-selector select {
+ margin: 0;
+}
+#gollum-editor-function-bar #gollum-editor-format-selector label {
+ color: #999;
+ font-size: 11px;
+ font-weight: bold;
+ line-height: 17px;
+ padding: 0 5px 0 0;
+}
+#gollum-editor-function-buttons .minibutton {
+ width: 30px;
+ padding-left: 0;
+ padding-right: 0;
+ text-align: center;
+}
+#gollum-editor-function-buttons .minibutton .octicon {
+ margin-right: 0;
+}
+#gollum-error-message {
+ display: none;
+ padding-top: 12px;
+ font-size: 1.8em;
+ color: #f33;
+}
+#gollum-editor-help {
+ overflow: hidden;
+ padding: 0;
+ border: 1px solid #ddd;
+ border-radius: 3px;
+}
+#gollum-editor-help-parent, #gollum-editor-help-list {
+ display: block;
+ float: left;
+ height: 170px;
+ list-style-type: none;
+ overflow: auto;
+ margin: 0;
+ padding: 10px 0;
+ width: 160px;
+ border-right: 1px solid #eee;
+}
+#gollum-editor-help-parent li, #gollum-editor-help-list li {
+ font-size: 12px;
+ line-height: 1.6;
+ margin: 0;
+ padding: 0;
+}
+#gollum-editor-help-parent li a, #gollum-editor-help-list li a {
+ border: 1px solid transparent;
+ border-width: 1px 0;
+ display: block;
+ font-weight: bold;
+ padding: 2px 12px;
+ text-shadow: 0 -1px 0 #fff;
+}
+#gollum-editor-help-parent li a:hover, #gollum-editor-help-list li a:hover {
+ background: #fff;
+ border-color: #f0f0f0;
+ text-decoration: none;
+ box-shadow: none;
+}
+#gollum-editor-help-parent li a.selected, #gollum-editor-help-list li a.selected {
+ border: 1px solid #eee;
+ border-bottom-color: #e7e7e7;
+ border-width: 1px 0;
+ background: #fff;
+ color: #000;
+ box-shadow: 0 1px 2px #f0f0f0;
+}
+#gollum-editor-help-list {
+ background: #fafafa;
+}
+#gollum-editor-help-wrapper {
+ background: #fff;
+ overflow: auto;
+ height: 170px;
+ padding: 10px;
+}
+#gollum-editor-help-content {
+ font-size: 12px;
+ margin: 0 10px 0 5px;
+ padding: 0;
+ line-height: 1.8;
+}
+#gollum-editor-help-content p {
+ margin: 0 0 10px;
+ padding: 0;
+}
+.ie #gollum-editor .singleline input {
+ padding-top: 0.25em;
+ padding-bottom: 0.75em;
+}
+#gollum-footer {
+ font-size: 12px;
+ line-height: 19px;
+}
+#gollum-dialog-dialog h4 {
+ border-bottom: 1px solid #ddd;
+ color: #333;
+ font-size: 16px;
+ line-height: normal;
+ font-weight: bold;
+ margin: 0 0 12px;
+ padding: 0 0 6px;
+ text-shadow: 0 -1px 0 #f7f7f7;
+}
+#gollum-dialog-dialog-body {
+ font-size: 12px;
+ line-height: 16px;
+ margin: 0;
+ padding: 0;
+}
+#gollum-dialog-dialog-body fieldset {
+ display: block;
+ border: 0;
+ margin: 0;
+ overflow: hidden;
+ padding: 0 12px;
+}
+#gollum-dialog-dialog-body fieldset .field {
+ margin: 0 0 18px;
+ padding: 0;
+}
+#gollum-dialog-dialog-body fieldset .field:last-child {
+ margin: 0 0 12px;
+}
+#gollum-dialog-dialog-body fieldset label {
+ color: #666;
+ display: block;
+ font-size: 14px;
+ font-weight: bold;
+ line-height: 1.6;
+ margin: 0;
+ padding: 0;
+ min-width: 80px;
+}
+#gollum-dialog-dialog-body fieldset input[type="text"] {
+ display: block;
+ margin: 3px 0 0;
+ width: 100%}
+#gollum-dialog-dialog-body fieldset input.code {
+ font-family: 'Monaco', 'Courier New', Courier, monospace;
+}
+#gollum-dialog-dialog-buttons {
+ border-top: 1px solid #ddd;
+ overflow: hidden;
+ margin: 14px 0 0;
+ padding: 12px 0 0;
+}
+a.gollum-minibutton, a.gollum-minibutton:visited {
+ border: 1px solid #d4d4d4;
+ color: #333;
+ cursor: pointer;
+ display: inline;
+ font-size: 12px;
+ font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
+ font-weight: bold;
+ float: right;
+ width: auto;
+ margin: 0 0 0 9px;
+ padding: 4px 12px;
+ text-shadow: 0 1px 0 #fff;
+ background-color: #eaeaea;
+ background-image: -webkit-linear-gradient(#fafafa, #eaeaea);
+ background-image: linear-gradient(#fafafa, #eaeaea);
+ background-repeat: repeat-x;
+ border-radius: 3px;
+}
+a.gollum-minibutton:hover, a.gollum-minibutton:visited:hover {
+ border-color: #518cc6 #518cc6 #2a65a0;
+ color: #fff;
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
+ text-decoration: none;
+ background-color: #3072b3;
+ background-image: -webkit-linear-gradient(#599bdc, #3072b3);
+ background-image: linear-gradient(#599bdc, #3072b3);
+ background-repeat: repeat-x;
+}
+.wiki-wrapper .ie #gollum-editor {
+ padding-bottom: 1em;
+}
+.wiki-wrapper #wiki-content .enable-fullscreen {
+ right: 4px;
+}
+.wiki-wrapper #wiki-content .previewable-comment-form.write-selected .write-content, .wiki-wrapper #wiki-content .previewable-comment-form.preview-selected .preview-content {
+ padding: 0;
+}
+.wiki-wrapper #wiki-content .comment-body {
+ padding: 5px 0 20px;
+}
+.wiki-wrapper hr {
+ margin: 25px 0 20px;
+}
+.wiki-wrapper.comment-body {
+ width: 920px;
+}
+.hooks-listing .boxed-group-action.select-menu {
+ z-index: auto;
+}
+.hook-item a:hover {
+ text-decoration: none;
+}
+.hook-item .item-status {
+ float: left;
+ margin-right: 8px;
+ width: 16px;
+ text-align: center;
+}
+.hook-item .description {
+ color: #999;
+}
+.hook-item .description .css-truncate-target {
+ max-width: 160px;
+}
+.hook-item .icon-for-success, .hook-item .icon-for-failure, .hook-item .icon-for-pending, .hook-item .icon-for-inactive {
+ display: none;
+}
+.hook-item.success .icon-for-success {
+ display: inline-block;
+ color: #6cc644;
+}
+.hook-item.failure .icon-for-failure {
+ display: inline-block;
+ color: #bd2c00;
+}
+.hook-item.pending .icon-for-pending {
+ display: inline-block;
+ color: #999;
+}
+.hook-item.inactive .icon-for-inactive {
+ display: inline-block;
+ color: #999;
+}
+.hook-url.css-truncate-target {
+ max-width: 360px;
+}
+.hook-events-field .hook-event-selector {
+ display: none;
+}
+.hook-events-field.is-custom .hook-event-selector {
+ display: block;
+}
+.hook-event-selector {
+ margin-left: 10px;
+}
+.hook-event {
+ display: inline-block;
+ width: 310px;
+ margin: 0;
+ padding: 5px 0 5px 30px;
+}
+.hook-event .note {
+ font-size: 11px;
+ margin: 0;
+ color: #aaa;
+}
+.hook-event-choice {
+ font-weight: normal;
+}
+.hook-form.is-ssl .ssl-hook-fields {
+ display: block;
+}
+.hook-form .ssl-hook-fields {
+ display: none;
+}
+.hook-form .ssl-hook-fields #disable-ssl-verification-modal, .hook-form .ssl-hook-fields .enable-ssl-verification {
+ display: none;
+}
+.hook-form .ssl-hook-fields.is-not-verifying-ssl .enable-ssl-verification {
+ display: block;
+}
+.hook-form .ssl-hook-fields.is-not-verifying-ssl .disable-ssl-verification {
+ display: none;
+}
+.hook-form .disable-ssl-verification .actions {
+ margin-top: -4px;
+}
+.hook-form .invalid-url-notice {
+ display: none;
+ padding: 7px 4px;
+}
+.hook-form .invalid-url-notice .octicon-alert {
+ position: relative;
+ top: 1px;
+}
+.hook-form.is-invalid-url .invalid-url-notice {
+ display: block;
+}
+.hooks-oap-warning {
+ margin-top: 0;
+}
+.hooks-oap-warning ul {
+ margin: 10px 0;
+}
+.hooks-oap-warning ul li {
+ margin-left: 16px;
+}
+.hook-secret .hook-secret-standin {
+ display: block;
+}
+.hook-secret .hook-secret-field {
+ display: none;
+}
+.hook-secret.open .hook-secret-standin {
+ display: none;
+}
+.hook-secret.open .hook-secret-field {
+ display: block;
+}
+.hook-deliveries-list .loading-message {
+ display: block;
+}
+.hook-deliveries-list .error-message {
+ display: none;
+}
+.hook-deliveries-list.is-error .loading-message {
+ display: none;
+}
+.hook-deliveries-list.is-error .error-message {
+ display: block;
+}
+.hook-deliveries-list .spinner {
+ display: inline-block;
+ vertical-align: top;
+ margin: 0;
+}
+.hook-deliveries-list .hook-delivery-item:hover {
+ background-color: transparent;
+}
+.hook-deliveries-list .item-status {
+ display: inline-block;
+ margin-right: 5px;
+ width: 16px;
+ text-align: center;
+}
+.hook-deliveries-list .item-status .icon-for-success, .hook-deliveries-list .item-status .icon-for-failure, .hook-deliveries-list .item-status .icon-for-pending {
+ display: none;
+}
+.hook-deliveries-list .item-status.success {
+ visibility: visible;
+ color: #6cc644;
+}
+.hook-deliveries-list .item-status.success .icon-for-success {
+ display: inline-block;
+}
+.hook-deliveries-list .item-status.failure {
+ color: #bd2c00;
+}
+.hook-deliveries-list .item-status.failure .icon-for-failure {
+ display: inline-block;
+}
+.hook-deliveries-list .item-status.pending {
+ color: #999;
+}
+.hook-deliveries-list .item-status.pending .icon-for-pending {
+ display: inline-block;
+}
+.hook-deliveries-pagination-loading-message {
+ display: none;
+}
+.hook-deliveries-pagination-loading-message .animated-ellipsis-container {
+ text-align: left;
+}
+.hook-deliveries-pagination.loading .hook-deliveries-pagination-button {
+ display: none;
+}
+.hook-deliveries-pagination.loading .hook-deliveries-pagination-loading-message {
+ display: block;
+}
+.boxed-group-list li.hook-delivery-item {
+ padding: 10px;
+}
+.hook-delivery-item .hook-delivery-details {
+ display: none;
+}
+.hook-delivery-item .hook-delivery-details .loading-message, .hook-delivery-item .hook-delivery-details .error-message {
+ display: none;
+}
+.hook-delivery-item .hook-delivery-details.is-loading .loading-message {
+ display: block;
+}
+.hook-delivery-item .hook-delivery-details.has-error .error-message {
+ display: block;
+}
+.hook-delivery-item.open .hook-delivery-details {
+ display: block;
+}
+.hook-delivery-item .loading-message {
+ text-align: center;
+}
+.hook-delivery-time {
+ float: right;
+ margin-right: 10px;
+ color: #999;
+ font-size: 10px;
+}
+.hook-delivery-summary {
+ text-decoration: none;
+}
+.hook-delivery-guid {
+ display: inline-block;
+ padding: 2px 6px;
+ color: rgba(0, 0, 0, 0.5);
+ font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
+ font-size: 12px;
+ background-color: rgba(209, 227, 237, 0.5);
+ border-radius: 3px;
+}
+.hook-delivery-guid .octicon {
+ margin: 1px -2px 0 0;
+ color: #b0c4ce;
+}
+.hook-delivery-actions {
+ padding-top: 1px;
+}
+.boxed-group-list>li.hook-delivery-item .minibutton {
+ margin: 0;
+}
+.boxed-group-list>li.hook-delivery-item .hook-delivery-details .redeliver.minibutton {
+ margin: 5px 0 0;
+}
+.hook-deliveries-list .error-message, .hook-delivery-details .error-message {
+ margin: 10px 0;
+ padding: 7px 4px;
+}
+.hook-deliveries-list .error-message .octicon, .hook-delivery-details .error-message .octicon {
+ position: relative;
+ top: 1px;
+}
+.boxed-group span.animated-ellipsis-container, .boxed-group span.animated-ellipsis {
+ padding: 0;
+}
+.boxed-group .animated-ellipsis-container {
+ line-height: 1.3;
+}
+.hook-delivery-details {
+ clear: right;
+}
+.hook-delivery-details .tabnav-widget.text {
+ margin-top: 7px;
+}
+.hook-delivery-details .error-message {
+ margin-bottom: 0;
+}
+.hook-delivery-details .tabnav-tabcontent {
+ display: none;
+}
+.hook-delivery-details .tabnav-tabcontent.selected {
+ display: block;
+}
+.hook-delivery-details hr {
+ margin: 10px 0;
+}
+.hook-delivery-details pre {
+ padding: 7px 12px;
+ margin: 10px 0;
+ background-color: #f8f8f8;
+ border: 1px solid #ddd;
+ border-radius: 3px;
+ font-size: 13px;
+ line-height: 1.5;
+ overflow: auto;
+}
+.hook-delivery-details .tabnav {
+ margin: 10px 0;
+}
+.hook-delivery-details .redeliver-hook-delivery-button {
+ margin-top: 5px;
+}
+.hook-delivery-details h4.remote-call-header {
+ border-bottom: 1px solid #999;
+ margin: 20px 0 10px;
+}
+.hook-delivery-response-status {
+ display: inline-block;
+ padding: 4px 6px 3px;
+ color: #fff;
+ background-color: #bd2c00;
+ border-radius: 3px;
+ font-size: 10px;
+ line-height: 1.1;
+ font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
+}
+.hook-delivery-response-status[data-response-status^="2"] {
+ background-color: #6cc644;
+}
+.redelivery-dialog .pending-message {
+ display: block;
+}
+.redelivery-dialog .failure-message {
+ display: none;
+}
+.redelivery-dialog.failed {
+ color: #9c2400;
+ background-color: #efd0d0;
+ background-image: -webkit-linear-gradient(#f8d8d8, #efd0d0);
+ background-image: linear-gradient(#f8d8d8, #efd0d0);
+ background-repeat: repeat-x;
+ border-color: #da9797;
+}
+.redelivery-dialog.failed .pending-message {
+ display: none;
+}
+.redelivery-dialog.failed .failure-message {
+ display: block;
+}
+.redelivering-hook-delivery .error-message {
+ display: none;
+}
+.redelivering-hook-delivery.is-error .loading-message {
+ display: none;
+}
+.redelivering-hook-delivery.is-error .error-message {
+ display: block;
+}
+.test-hook-button .pending-message {
+ display: none;
+}
+.test-hook-button.disabled .default-message {
+ display: none;
+}
+.test-hook-button.disabled .pending-message {
+ display: inline;
+}
+.test-hook-message .success-message, .test-hook-message .error-message {
+ display: none;
+ margin-top: 10px;
+}
+.test-hook-message.success .success-message {
+ display: block;
+}
+.test-hook-message.error .error-message {
+ display: block;
+}
+.issues-reset-query-wrapper {
+ margin-bottom: 20px;
+}
+.issues-reset-query {
+ color: #777;
+ font-weight: bold;
+}
+.issues-reset-query .octicon-x {
+ width: 20px;
+ height: 20px;
+ margin-right: 3px;
+ color: #fff;
+ line-height: 20px;
+ text-align: center;
+ background-color: #777;
+ border-radius: 3px;
+}
+.issues-reset-query:hover {
+ color: #4183c4;
+ text-decoration: none;
+}
+.issues-reset-query:hover .octicon-x {
+ background-color: #4183c4;
+}
+.table-list-milestones .table-list-cell {
+ padding: 15px 20px;
+}
+.table-list-milestones .stat {
+ display: inline-block;
+ font-size: 14px;
+ font-weight: bold;
+ color: #555;
+ line-height: 1.2;
+ white-space: nowrap;
+}
+.table-list-milestones .stat+.stat {
+ margin-left: 15px;
+}
+.table-list-milestones .stat-label {
+ font-weight: normal;
+ color: #999;
+}
+.milestone-title {
+ width: 500px;
+}
+.milestone-title-link {
+ margin-top: 0;
+ margin-bottom: 5px;
+ font-size: 24px;
+ font-weight: normal;
+ line-height: 1.2;
+}
+.milestone-title-link a {
+ color: #333;
+}
+.milestone-title-link a:hover {
+ color: #4183c4;
+}
+.milestone-progress {
+ width: 420px;
+}
+.milestone-progress .progress-bar {
+ margin-top: 7px;
+ margin-bottom: 12px;
+}
+.milestone-meta {
+ font-size: 14px;
+}
+.milestone-meta-item {
+ display: inline-block;
+ margin-right: 10px;
+}
+.milestone-meta-item .octicon {
+ width: 16px;
+ text-align: center;
+}
+.milestone-description-html {
+ display: none;
+}
+.milestone-description {
+ margin-top: 5px;
+}
+.milestone-description .expand-more {
+ color: #4183c4;
+ cursor: pointer;
+}
+.milestone-description .expand-more:hover {
+ text-decoration: underline;
+}
+.milestone-description.open .milestone-description-plaintext {
+ display: none;
+}
+.milestone-description.open .milestone-description-html {
+ display: block;
+}
+.milestone-actions {
+ margin-top: 8px;
+ font-size: 13px;
+}
+.milestone-action {
+ display: inline-block;
+ margin-right: 10px;
+}
+.task-progress {
+ color: #999;
+ text-decoration: none;
+}
+.task-progress .octicon {
+ margin-right: 5px;
+ vertical-align: middle;
+ color: #ccc;
+}
+.task-progress .progress-bar {
+ display: inline-block;
+ vertical-align: 2px;
+ width: 120px;
+ background-color: #eee;
+ height: 5px;
+}
+.task-progress .progress-bar .progress {
+ background-color: #ccc;
+}
+.task-progress-counts {
+ display: inline-block;
+ margin-right: 6px;
+ margin-left: -2px;
+ font-size: 12px;
+}
+a.task-progress:hover {
+ color: #4183c4;
+}
+a.task-progress:hover .octicon {
+ color: inherit;
+}
+a.task-progress:hover .progress-bar .progress {
+ background-color: #4183c4;
+}
+.issues-listing {
+ position: relative;
+}
+.issues-listing .octocat-search {
+ position: absolute;
+ right: 0;
+ height: 250px;
+ margin: -132px -4px;
+ -webkit-transform: scaleX(-1);
+ -ms-transform: scaleX(-1);
+ transform: scaleX(-1);
+}
+.issues-listing .table-list-issues .selectable:hover, .issues-listing .table-list-issues .navigation-focus {
+ background-color: #f9f9f9;
+}
+.issues-listing .table-list-issues .issue-title {
+ padding-top: 12px;
+ width: 740px;
+}
+.issues-listing .table-list-issues .labels {
+ display: inline-block;
+ vertical-align: 1px;
+ margin-bottom: 2px;
+}
+.issues-listing .table-list-issues .table-list-cell-avatar {
+ padding-top: 13px;
+}
+.issues-listing .table-list-issues .table-list-cell-avatar img {
+ display: inline-block;
+ border-radius: 2px;
+}
+.issue-title-link {
+ display: inline-block;
+ margin-bottom: 2px;
+ padding-right: 3px;
+ font-size: 15px;
+ font-weight: bold;
+ color: #333;
+ line-height: 1.2;
+ word-break: break-word;
+}
+.issue-title-link:hover {
+ color: #4183c4;
+ text-decoration: none;
+}
+.issue-title-link:hover .num {
+ color: inherit;
+}
+.issue-nwo-link {
+ color: #777;
+}
+.issue-pr-status {
+ display: inline-block;
+ margin-right: 3px;
+ vertical-align: -1px;
+}
+.issue-meta {
+ margin-top: 1px;
+ margin-bottom: 2px;
+ font-weight: normal;
+ color: #999;
+}
+.issue-meta-section {
+ margin-right: 10px;
+}
+.issue-milestone {
+ max-width: 240px;
+}
+.issue-comments {
+ width: 60px;
+ padding-top: 13px;
+ font-weight: bold;
+ text-align: right;
+ white-space: nowrap;
+}
+.issue-comments .octicon {
+ margin-right: 1px;
+}
+.issue-comments-no-comment {
+ color: #eee;
+}
+.milestone-link {
+ color: #999;
+}
+.milestone-link .octicon {
+ color: #ccc;
+ font-size: 14px;
+}
+.milestone-link:hover {
+ color: #4183c4;
+ text-decoration: none;
+}
+.milestone-link:hover .octicon {
+ color: inherit;
+}
+.new-issue-form {
+ margin-top: 20px;
+ padding-top: 20px;
+ border-top: 1px solid #ddd;
+}
+.new-issue-form .discussion-timeline:before {
+ display: none;
+}
+.label-select-menu .color {
+ display: inline-block;
+ width: 14px;
+ height: 14px;
+ margin-right: 2px;
+ margin-bottom: 2px;
+ border-radius: 3px;
+ vertical-align: middle;
+}
+.label-select-menu .selected .select-menu-item-icon {
+ color: inherit !important;
+}
+.label-select-menu .selected:active {
+ background-color: transparent !important;
+}
+.label-select-menu .select-menu-item.navigation-focus {
+ background-color: #f4f4f4;
+ color: inherit;
+}
+.label-select-menu .select-menu-item.navigation-focus .select-menu-item-icon {
+ color: transparent;
+}
+.label-select-menu .select-menu-item .octicon-x {
+ display: none;
+ float: right;
+ margin: 1px 10px 0 0;
+ opacity: 0.6;
+}
+.label-select-menu .select-menu-item.selected .octicon-x {
+ display: block;
+ color: inherit;
+}
+.label-select-menu>form {
+ position: relative;
+}
+ul.color-label-list .filter-item {
+ cursor: default;
+}
+ul.color-label-list.editable .color {
+ width: 14px;
+}
+ul.color-label-list.editable .color:hover {
+ background: transparent url(/assets/icons/arrow-down-7c04f47ebf273c1f1ff31e3c4be1a69c5d042c8af3720da0b2fd935d5ec339a1.png) 1px 2px no-repeat;
+}
+ul.color-label-list.editable .octicon-x {
+ display: inline-block;
+ color: #aaa;
+ position: relative;
+ z-index: 10;
+}
+ul.color-label-list.editable .octicon-x:hover {
+ color: #ba3d37;
+}
+ul.color-label-list .edit-color-label-form {
+ display: none;
+}
+ul.color-label-list .color-label {
+ line-height: 16px;
+ border: 1px solid transparent;
+}
+ul.color-label-list .color-label.active {
+ z-index: 25;
+ position: relative;
+ border: 1px solid #ddd;
+ border-radius: 3px;
+}
+ul.color-label-list .color-label.active .edit-color-label-form {
+ display: block;
+}
+ul.color-label-list .color-label.active .octicon-x {
+ display: none;
+}
+ul.color-label-list .color-label a {
+ text-decoration: none;
+}
+ul.color-label-list .color-label.selected {
+ font-weight: bold;
+ background: 98% 5px no-repeat transparent;
+ -webkit-font-smoothing: antialiased;
+}
+ul.color-label-list .color-label.selected .count, ul.color-label-list .color-label.selected .color {
+ display: none;
+}
+ul.color-label-list .color-label.selected .octicon-x {
+ display: inline-block;
+}
+ul.color-label-list .color-label.zeroed, ul.color-label-list .color-label.zeroed .count {
+ color: #999;
+}
+ul.color-label-list .color-label:hover .octicon-x {
+ opacity: 1;
+}
+ul.color-label-list .filter-item:hover .octicon-x {
+ opacity: 1;
+}
+ul.color-label-list .filter-item:hover .color {
+ border-color: #eee;
+}
+ul.color-label-list .count {
+ color: #333;
+}
+ul.color-label-list .name a {
+ color: #333;
+}
+ul.color-label-list .color {
+ display: block;
+ float: left;
+ margin-left: -5px;
+ margin-right: 4px;
+ width: 6px;
+ height: 14px;
+ border-radius: 3px;
+ border: 1px solid #fff;
+}
+ul.color-label-list .octicon-x {
+ display: none;
+ float: right;
+ opacity: 0.8;
+}
+ul.color-label-list .nolabels {
+ margin: 10px 0;
+ font-size: 11px;
+ color: #666;
+}
+.closed-banner {
+ margin: 15px 0 15px 60px;
+ height: 7px;
+ overflow: hidden;
+ background: url(/assets/modules/comments/closed_pattern-61d39f8a023ce5e5be82145d7a82bbd36f5aab7e6f83e0c0a7d441ee89041516.gif);
+ border-radius: 3px;
+}
+.member-adder {
+ display: none;
+ position: absolute;
+ background: #eee;
+ padding: 0 5px 5px;
+ z-index: 5;
+ box-shadow: 0 0 3px #999;
+}
+.member-adder.active {
+ display: inherit;
+}
+.member-adder ul {
+ list-style-type: none;
+}
+.member-adder ul li {
+ margin-top: 4px;
+ clear: both;
+ min-width: 400px;
+ border-bottom: 1px solid #ddd;
+ background: #fff;
+ padding: 3px;
+}
+.member-adder ul li a.button {
+ margin-top: 10px;
+ float: right;
+}
+.member-adder .navigation-focus {
+ background-color: #4183c4;
+ color: #fff;
+}
+.member-adder .avatar {
+ float: left;
+ margin-right: 5px;
+}
+.member-adder .login {
+ font-weight: bold;
+}
+.member-adder .no-results {
+ display: none;
+}
+.member-adder .no-results.active {
+ display: inherit;
+}
+.merge-branch-heading {
+ margin: 0;
+}
+.merge-branch-description {
+ margin-top: 0;
+ margin-right: 160px;
+ margin-bottom: 0;
+ color: #777;
+}
+.merge-branch-description .zeroclipboard-link .octicon {
+ top: 2px;
+}
+.merge-branch-action, .desktop-app-action {
+ float: right;
+ margin-left: 5px;
+}
+.desktop-app-action {
+ padding-left: 10px;
+ padding-right: 10px;
+}
+.merged .merge-branch-description .commit-ref .css-truncate-target {
+ max-width: 180px;
+}
+.merge-branch-form {
+ padding-left: 64px;
+ display: none;
+}
+.merge-branch.open .merge-branch-form {
+ display: block;
+}
+.merge-branch.open .merge-message {
+ display: none;
+}
+.merge-branch-manually {
+ display: none;
+ margin-top: 14px;
+ padding-top: 15px;
+ border-top: 1px solid #ddd;
+}
+.merge-branch-manually h3, .merge-branch-manually p {
+ margin: 0;
+}
+.merge-branch-manually .intro {
+ margin-top: 0;
+ padding-bottom: 10px;
+}
+.merge-branch-manually .step {
+ margin: 15px 0 5px;
+}
+.merge-branch-manually .url-box {
+ margin-left: 0;
+ padding: 0;
+ border: 0;
+}
+.merge-branch-manually .clone-urls {
+ width: 100%}
+.open>.merge-branch-manually {
+ display: block;
+ max-width: 585px;
+}
+.milestone-calender-container {
+ margin-left: 30px;
+}
+.edit-milestone .form-actions .button {
+ margin-left: 5px;
+}
+.edit-milestone .form-actions .cancel {
+ float: left;
+}
+#network .network-tree {
+ vertical-align: middle;
+}
+#network .gravatar {
+ margin-right: 4px;
+ border-radius: 3px;
+ vertical-align: middle;
+}
+#network .octicon {
+ margin-left: 2px;
+ vertical-align: middle;
+ width: 16px;
+ display: inline-block;
+ text-align: center;
+}
+#network .current-repository {
+ background-color: #fff6a9;
+}
+#network .network-graph-container {
+ position: relative;
+ margin-bottom: 20px;
+ border: 1px solid #ddd;
+ border-radius: 3px;
+ overflow: hidden;
+}
+#network .network-graph-container .large-loading-area {
+ position: absolute;
+ top: 0;
+ right: 0;
+ left: 0;
+}
+.page-new-repo .octicon-repo {
+ color: #bbb;
+}
+.page-new-repo .octicon-lock {
+ color: #e9dba5;
+}
+.page-new-repo ul.repo-templates {
+ margin: 10px 0;
+}
+.page-new-repo ul.repo-templates>li {
+ list-style-type: none;
+ display: inline-block;
+ margin: 0 10px 0 0;
+}
+.page-new-repo ul.repo-templates .select-menu {
+ float: left;
+}
+.page-new-repo .team-select {
+ display: none;
+}
+.page-new-repo .form-checkbox .mega-octicon {
+ font-size: 24px;
+ float: left;
+ margin-right: 5px;
+}
+.page-new-repo .license-info {
+ float: left;
+ margin-top: 5px;
+ margin-left: 10px;
+ color: #ccc;
+}
+.new-repo-container {
+ width: 700px;
+ margin: 0 auto;
+ padding-top: 20px;
+}
+.new-repo-container h2 {
+ font-size: 22px;
+ font-weight: normal;
+ color: #666;
+ border-bottom: 1px solid #ddd;
+ padding-bottom: 5px;
+ margin-bottom: 0.5em;
+}
+.owner-reponame {
+ position: relative;
+}
+.owner-reponame dl.form {
+ margin-top: 5px;
+ margin-bottom: 0;
+}
+.owner-reponame .slash {
+ float: left;
+ font-size: 21px;
+ color: #666;
+ padding-top: 32px;
+ margin: 0 8px;
+}
+.owner-reponame .icon-preview {
+ display: none;
+ font-size: 32px;
+ position: absolute;
+ text-align: right;
+ width: 100px;
+ top: 23px;
+ left: -115px;
+}
+.owner-reponame .icon-preview.icon-preview-public {
+ top: 25px;
+}
+.reponame-suggestion {
+ color: #34631a;
+ cursor: pointer;
+}
+.upgrade-upsell {
+ padding-left: 33px;
+}
+.cc-upgrade {
+ padding-left: 20px;
+}
+.featured-license {
+ font-weight: bold;
+}
+.license-container {
+ border-left: 1px solid #ccc;
+ padding-left: 15px;
+}
+.notification-routing .notification-email .edit-link {
+ margin-right: 10px;
+ font-weight: bold;
+}
+.notification-routing .notification-email .minibutton {
+ float: none;
+ margin: -2px 0 0;
+}
+.notification-routing .notification-email .edit-form {
+ display: none;
+}
+.notification-routing .notification-email.open .edit-form {
+ display: block;
+}
+.notification-routing .notification-email.open .email-display {
+ display: none;
+}
+.notifications .list-group-item {
+ padding-top: 8px;
+ padding-bottom: 8px;
+ padding-left: 35px;
+ border-width: 1px 0 0;
+}
+.notifications .list-group-item:first-child {
+ border: 0;
+}
+.notifications .list-group-item-name {
+ display: block;
+ max-width: 400px;
+ font-size: 14px;
+ line-height: 1.5em;
+}
+.notifications .list-group-item-name a {
+ display: block;
+ max-width: 460px;
+}
+.notifications .notifications-more {
+ padding: 0;
+}
+.notifications .notifications-more>a {
+ display: block;
+ padding: 10px 15px;
+ font-weight: bold;
+ color: #4183c4;
+ text-align: center;
+}
+.notifications .notifications-more>a:hover {
+ text-decoration: underline;
+}
+.notifications .read .type-icon {
+ color: #999;
+}
+.notifications .read .list-group-item-name>a {
+ color: #777;
+}
+.notifications .read .notification-actions {
+ color: #999;
+}
+.notifications .read .avatar-stack {
+ opacity: 0.5;
+}
+.notifications .read .undo {
+ display: block;
+}
+.notifications .read .delete {
+ visibility: hidden;
+}
+.notifications .read.navigation-focus {
+ background-color: #f5f9fc;
+}
+.type-icon-state-none {
+ color: #777;
+}
+.type-icon-state-open {
+ color: #6cc644;
+}
+.type-icon-state-closed {
+ color: #bd2c00;
+}
+.type-icon-state-merged {
+ color: #6e5494;
+}
+.notifications-list {
+ float: left;
+ width: 100%}
+.notifications-list .notifications-repo-link {
+ max-width: 500px;
+}
+.notifications-list .boxed-group .text-success {
+ position: absolute;
+ color: #6cc644;
+ right: 3px;
+ width: 210px;
+ margin-top: 4px;
+ text-align: right;
+ opacity: 0;
+ visibility: hidden;
+ -webkit-transition: opacity 0.35s ease-in-out, -webkit-transform 0.35s ease-in-out;
+ transition: opacity 0.35s ease-in-out, transform 0.35s ease-in-out;
+ -webkit-transform: translateX(10px);
+ -ms-transform: translateX(10px);
+ transform: translateX(10px);
+}
+.notifications-list .mark-all-as-read {
+ margin-right: 0;
+ margin-top: 0;
+ padding: 2px 6px 5px 10px;
+ line-height: 20px;
+ color: #777;
+}
+.notifications-list .mark-all-as-read-confirmed .text-success {
+ visibility: visible;
+ -webkit-transform: translateX(0);
+ -ms-transform: translateX(0);
+ transform: translateX(0);
+ opacity: 1;
+}
+.notifications-list .mark-all-as-read-confirmed .mark-all-as-read {
+ visibility: hidden;
+}
+.notifications-list .confirmation {
+ color: #666;
+ text-align: center;
+ padding: 0;
+ -webkit-transition: all 0.4s ease-in-out;
+ transition: all 0.4s ease-in-out;
+ max-height: 0;
+ opacity: 0;
+ overflow: hidden;
+}
+.notifications-list .confirmation+.list-group-item {
+ margin-top: -1px;
+ border-top-color: #d5d5d5;
+}
+.notifications-list .confirmation.mark-all-as-read-confirmed {
+ padding: 10px 0;
+ max-height: 300px;
+ opacity: 1;
+}
+.notification-actions {
+ position: absolute;
+ right: 10px;
+ top: 8px;
+ list-style: none;
+}
+.notification-actions li {
+ float: right;
+ margin-left: 10px;
+ font-size: 16px;
+ line-height: 20px;
+}
+.notification-actions .age {
+ width: 120px;
+ font-size: 12px;
+ color: #999;
+}
+.notification-actions .undo {
+ display: none;
+ position: absolute;
+ top: 0;
+}
+.notification-actions .button-link {
+ padding-left: 5px;
+ padding-right: 5px;
+ color: #999;
+ line-height: inherit;
+}
+.notification-actions .button-link:hover {
+ color: #4183c4;
+ text-decoration: none;
+}
+.repo-subscription-container {
+ margin: 0 auto;
+ width: 600px;
+}
+.repo-subscription-container .spinner {
+ float: right;
+}
+.repo-subscription-container h2 {
+ font-size: 22px;
+ margin-bottom: -10px;
+ font-weight: normal;
+}
+.repo-subscription-container .intro {
+ font-size: 14px;
+ color: #666;
+}
+.repo-subscription-label {
+ display: inline-block;
+}
+.subscriptions-content .repo-icon {
+ vertical-align: middle;
+ color: #666;
+ margin-right: 5px;
+}
+.subscriptions-content .repo-list form {
+ display: inline;
+}
+.subscriptions-content .repo-list .only-loading {
+ display: none;
+}
+.subscriptions-content .repo-list .loading .only-loading {
+ display: inline-block;
+}
+.subscriptions-content .repo-list .only-unsubed {
+ display: none;
+}
+.subscriptions-content .repo-list .unsubscribed .only-unsubed {
+ display: inline;
+}
+.subscriptions-content .repo-list .unsubscribed .only-subed {
+ display: none;
+}
+.subscriptions-content .repo-list .only-unignored {
+ display: none;
+}
+.subscriptions-content .repo-list .unsubscribed .only-unignored {
+ display: inline;
+}
+.subscriptions-content .repo-list .unsubscribed .only-ignored {
+ display: none;
+}
+.thread-subscription-status {
+ margin: 40px 0 20px;
+ padding: 10px;
+ color: #777;
+ background-color: #fff;
+ border: 1px solid #eee;
+ border-radius: 3px;
+}
+.thread-subscription-status .mega-octicon {
+ vertical-align: middle;
+ margin-right: 10px;
+ margin-left: 4px;
+ color: #ccc;
+}
+.thread-subscription-status .minibutton>.octicon {
+ margin-right: 1px;
+}
+.thread-subscription-status .reason {
+ display: inline-block;
+ margin: 0 10px;
+ vertical-align: middle;
+}
+.thread-subscription-status .thread-subscribe-form {
+ display: inline-block;
+ vertical-align: middle;
+}
+.subscription .loading {
+ opacity: 0.5;
+}
+.oauth-connection-illustration {
+ position: relative;
+ float: right;
+ width: 200px;
+ margin-top: 10px;
+ margin-left: 40px;
+ margin-right: 10px;
+}
+.oauth-connection-illustration .oauth-image {
+ float: left;
+ padding: 5px;
+ background-color: #fff;
+ border: 1px solid rgba(0, 0, 0, 0.1);
+ border-radius: 6px;
+ background-clip: padding-box;
+}
+.oauth-connection-illustration .oauth-image img {
+ display: block;
+ width: 75px;
+ height: 75px;
+ border-radius: 3px;
+}
+.oauth-connection-illustration .oauth-image.oauth-image-user {
+ margin-top: 20px;
+ margin-left: -20px;
+}
+.setup-wrapper .oauth-permissions {
+ border: 1px solid #ddd;
+ border-radius: 3px;
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
+ margin-bottom: 25px;
+}
+.setup-wrapper .oauth-permissions-details {
+ background-color: #fff;
+}
+.setup-wrapper.oauth-restriction-wrapper {
+ padding-top: 0;
+}
+.ellipsis-button {
+ display: inline-block;
+ height: 12px;
+ padding: 0 5px;
+ border-radius: 1px;
+ background-color: #ddd;
+ vertical-align: middle;
+ color: #555;
+ line-height: 6px;
+ font-size: 12px;
+ font-weight: bold;
+ text-decoration: none;
+ margin-left: 2px;
+}
+.ellipsis-button:hover {
+ text-decoration: none;
+ background-color: #ccc;
+}
+.ellipsis-button:before {
+ content: "\2026"}
+.oauth-permissions-details {
+ list-style: none;
+ margin: 0;
+ padding: 15px;
+ border-bottom: 1px solid #f2f2f2;
+}
+.oauth-permissions-details:first-child {
+ border-radius: 3px 3px 0 0;
+}
+.oauth-permissions-details:last-child {
+ border: 0;
+ border-radius: 0 0 3px 3px;
+}
+.oauth-permissions-details.oauth-public-data-only {
+ border-radius: 3px;
+}
+.oauth-permissions-details .markdown-body {
+ font-size: 13px;
+}
+.oauth-permissions-details .content {
+ display: none;
+ margin-left: 45px;
+}
+.oauth-permissions-details .content .form-checkbox {
+ margin-left: 0;
+}
+.oauth-permissions-details .content .form-checkbox:last-child {
+ margin-bottom: 0;
+}
+.oauth-permissions-details .mega-octicon {
+ float: left;
+ color: #777;
+ width: 32px;
+ margin-top: 1px;
+ margin-left: 0;
+ text-align: center;
+}
+.oauth-permissions-details .permission-help {
+ font-size: 13px;
+}
+.oauth-permissions-details .permission-help ul {
+ padding-left: 20px;
+ margin: 1em 0;
+}
+.oauth-permissions-details .permission-summary {
+ margin-left: 45px;
+}
+.oauth-permissions-details .permission-summary .access-details {
+ position: relative;
+ color: #777;
+}
+.oauth-permissions-details .permission-summary em.highlight {
+ position: relative;
+ margin-left: -3px;
+ margin-right: -2px;
+ padding: 2px 3px;
+ font-style: normal;
+ background: #fffbdc;
+ border-radius: 3px;
+}
+.oauth-permissions-details .permission-title {
+ color: #000;
+ display: block;
+}
+.oauth-permissions-details a.minibutton {
+ float: right;
+ margin-top: 4px;
+}
+.oauth-permissions-details.open a.minibutton {
+ background-color: #dcdcdc;
+ background-image: none;
+ border-color: #b5b5b5;
+ box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
+}
+.oauth-permissions-details.open .content {
+ display: block;
+}
+.oauth-permissions-details.default:not(.delete) .no-access, .oauth-permissions-details.default:not(.delete) .default-access, .oauth-permissions-details.none .no-access, .oauth-permissions-details.none .default-access {
+ display: inline;
+}
+.oauth-permissions-details.default:not(.delete) .access-details, .oauth-permissions-details.default:not(.delete) .permission-title, .oauth-permissions-details.none .access-details, .oauth-permissions-details.none .permission-title {
+ color: #999;
+}
+.oauth-permissions-details.default:not(.delete) .mega-octicon, .oauth-permissions-details.none .mega-octicon {
+ color: #ccc;
+}
+.oauth-permissions-details.default .default-access {
+ display: inline;
+}
+.oauth-permissions-details.full .full-access {
+ display: inline;
+}
+.oauth-user-permissions .full-access, .oauth-user-permissions .limited-access, .oauth-user-permissions .limited-access-none, .oauth-user-permissions .limited-access-followers, .oauth-user-permissions .limited-access-emails, .oauth-user-permissions .no-access {
+ display: none;
+}
+.oauth-user-permissions.limited .limited-access-none {
+ display: inline;
+}
+.oauth-user-permissions.limited.limited-email .limited-access, .oauth-user-permissions.limited.limited-email .limited-access-none {
+ display: none;
+}
+.oauth-user-permissions.limited.limited-email .limited-access-emails {
+ display: inline;
+}
+.oauth-user-permissions.limited.limited-email.limited-follow .limited-access {
+ display: inline;
+}
+.oauth-user-permissions.limited.limited-email.limited-follow .limited-access-none, .oauth-user-permissions.limited.limited-email.limited-follow .limited-access-emails, .oauth-user-permissions.limited.limited-email.limited-follow .limited-access-followers {
+ display: none;
+}
+.oauth-user-permissions.limited.limited-follow .limited-access, .oauth-user-permissions.limited.limited-follow .limited-access-none {
+ display: none;
+}
+.oauth-user-permissions.limited.limited-follow .limited-access-followers {
+ display: inline;
+}
+.oauth-repo-permissions .default-access, .oauth-repo-permissions .public-access, .oauth-repo-permissions .full-access {
+ display: none;
+}
+.oauth-repo-permissions.public .public-access {
+ display: inline;
+}
+.oauth-delete-repo-permissions .octicon-alert {
+ color: #bd2c00;
+}
+.oauth-repo-status-permissions .no-access, .oauth-repo-status-permissions .full-access, .oauth-repo-deployment-permissions .no-access, .oauth-repo-deployment-permissions .full-access {
+ display: none;
+}
+.oauth-notifications-permissions .no-access, .oauth-notifications-permissions .read-access, .oauth-notifications-permissions .via-public-access, .oauth-notifications-permissions .via-full-access {
+ display: none;
+}
+.oauth-notifications-permissions.read .read-access {
+ display: inline;
+}
+.oauth-notifications-permissions.via-public .via-public-access {
+ display: inline;
+}
+.oauth-notifications-permissions.via-public .octicon {
+ display: none;
+}
+.oauth-notifications-permissions.via-full .via-full-access {
+ display: inline;
+}
+.oauth-gist-permissions .no-access, .oauth-gist-permissions .full-access {
+ display: none;
+}
+.oauth-granular-permissions .no-access, .oauth-granular-permissions .read-access, .oauth-granular-permissions .write-access, .oauth-granular-permissions .full-access {
+ display: none;
+}
+.oauth-granular-permissions.none .no-access {
+ display: inline;
+}
+.oauth-granular-permissions.read .read-access {
+ display: inline;
+}
+.oauth-granular-permissions.write .write-access {
+ display: inline;
+}
+.oauth-granular-permissions.full .full-access {
+ display: inline;
+}
+.oauth-secondary .setup-info-module {
+ margin-top: 0;
+}
+.oauth-secondary .setup-info-module .no-description {
+ color: #999;
+}
+.oauth-secondary .setup-info-module .features-list {
+ padding-bottom: 0;
+}
+.oauth-no-description {
+ color: #999;
+}
+.oauth-org-access-details a:hover {
+ text-decoration: none;
+}
+.oauth-org-access-details .boxed-group-list>li {
+ line-height: 24px;
+}
+.oauth-org-access-details .boxed-group-list>li .loading-indicator {
+ display: none;
+ margin: 4px;
+}
+.oauth-org-access-details .boxed-group-list>li.on {
+ background: #fff;
+}
+.oauth-org-access-details .boxed-group-list>li.on:hover {
+ background: #ffe;
+}
+.oauth-org-access-details .boxed-group-list>li.on .authorized-tools {
+ display: block;
+}
+.oauth-org-access-details .boxed-group-list>li.on .unauthorized-tools {
+ display: none;
+}
+.oauth-org-access-details .boxed-group-list>li.on strong {
+ color: #333;
+}
+.oauth-org-access-details .boxed-group-list>li.on .octicon-check {
+ display: inline;
+}
+.oauth-org-access-details .boxed-group-list>li.on .octicon-x {
+ display: none;
+}
+.oauth-org-access-details .boxed-group-list>li.loading .unauthorized-tools, .oauth-org-access-details .boxed-group-list>li.loading .authorized-tools {
+ display: none;
+}
+.oauth-org-access-details .boxed-group-list>li.loading .loading-indicator {
+ display: block;
+}
+.oauth-org-access-details .boxed-group-list>li .authorized-tools {
+ display: none;
+}
+.oauth-org-access-details .boxed-group-list>li .unauthorized-tools {
+ display: block;
+}
+.oauth-org-access-details .boxed-group-list>li .button-outline, .oauth-org-access-details .boxed-group-list>li .minibutton {
+ padding: 0 10px;
+ line-height: 24px;
+ margin-left: 15px;
+}
+.oauth-org-access-details .status-pending {
+ color: #6cc644;
+ font-size: 12px;
+ margin-right: 5px;
+}
+.oauth-org-access-details .status-denied {
+ background-color: #bd2c00;
+}
+.oauth-org-access-details .octicon {
+ color: #979797;
+}
+.oauth-org-access-details .octicon-check {
+ color: #6cc644;
+ display: none;
+}
+.oauth-org-access-details .octicon-x {
+ display: inline;
+}
+.oauth-org-access-details .octicon-x.org-access-denied {
+ color: #bd2c00;
+}
+.deleted-permission {
+ color: #bd2c00;
+}
+.added-permission {
+ color: #6cc644;
+}
+.permission-title {
+ margin-top: 0;
+}
+.oauth-application-whitelist .request-info {
+ display: block;
+ margin-left: 25px;
+ color: #9b9b9b;
+}
+.oauth-application-whitelist .request-info strong {
+ color: #333;
+}
+.oauth-application-whitelist .request-info .application-description {
+ display: none;
+}
+.oauth-application-whitelist .request-info.open .application-description {
+ display: block;
+}
+.oauth-application-whitelist .avatar {
+ margin-top: 0;
+}
+.oauth-application-whitelist .requestor {
+ font-weight: bold;
+}
+.oauth-application-whitelist .octicon-alert {
+ color: #f93;
+}
+.oauth-application-whitelist .octicon-check, .oauth-application-whitelist .approved-request {
+ color: #6cc644;
+}
+.oauth-application-whitelist .denied-request {
+ color: #bd2c00;
+}
+.oauth-application-whitelist .request-indicator {
+ margin-left: 10px;
+}
+.oauth-application-whitelist .edit-link {
+ color: #999;
+}
+.oauth-application-whitelist .edit-link:hover {
+ color: #4183c4;
+}
+.oauth-application-whitelist .boxed-group-list {
+ margin-top: 1em;
+ margin-bottom: -1em;
+}
+.oauth-application-whitelist .boxed-group-list li {
+ padding: 10px;
+}
+.oauth-application-info {
+ padding-top: 10px;
+ margin-bottom: 10px;
+ min-height: 70px;
+}
+.oauth-application-info .application-title, .oauth-application-info .application-description, .oauth-application-info .application-meta-info {
+ margin-left: 70px;
+}
+.oauth-application-info .application-title {
+ font-size: 14px;
+ font-weight: bold;
+ color: #333;
+}
+.oauth-application-info .application-description {
+ margin-top: 3px;
+ margin-bottom: 3px;
+ color: #777;
+}
+.oauth-application-info .octicon {
+ color: #999;
+}
+.oauth-application-info .app-info {
+ display: inline-block;
+ margin-right: 10px;
+ color: #666;
+}
+.oauth-application-info .application-meta-info {
+ font-size: 12px;
+}
+.oauth-application-info .application-meta-info strong, .oauth-application-info .application-meta-info .requestor {
+ color: #666;
+}
+.oauth-application-info .app-denied, .oauth-application-info .app-approved {
+ margin-left: 10px;
+ font-weight: normal;
+ white-space: nowrap;
+}
+.oauth-application-info .app-approved, .oauth-application-info .octicon-check {
+ color: #6cc644;
+}
+.oauth-application-info .app-denied, .oauth-application-info .octicon-x {
+ color: #f93;
+}
+.restrict-oauth-access-button {
+ margin-right: 20px;
+}
+.restrict-oauth-access-info {
+ margin-bottom: 40px;
+ font-size: 15px;
+}
+.restrict-oauth-access-list {
+ padding-left: 25px;
+}
+.restrict-oauth-access-list li {
+ margin-bottom: 10px;
+}
+.restrict-oauth-access-list li:last-child {
+ margin-bottom: 0;
+}
+.app-transfer-actions form {
+ display: inline;
+}
+.application-authorizations:target li {
+ background-color: #ffe;
+}
+.oauth-access-application-details .features-list-oauth {
+ margin-top: 1em;
+ margin-bottom: -1em;
+}
+.org-header {
+ margin-bottom: 20px;
+ color: #666;
+ border-bottom: 1px solid #eee;
+ background-color: #fcfcfc;
+}
+.org-header .edit-org {
+ position: relative;
+ top: -6px;
+ display: inline-block;
+ padding: 3px 5px;
+ font-size: 14px;
+ color: #aaa;
+ border: 1px solid #e5e5e5;
+ border-radius: 3px;
+}
+.org-header .edit-org:hover {
+ color: #4183c4;
+ background-color: #fff;
+}
+.org-header .edit-org .octicon {
+ font-size: 14px;
+}
+.org-header-wrapper {
+ display: table;
+ width: 680px;
+ padding-top: 20px;
+ padding-bottom: 20px;
+}
+.org-header-wrapper .avatar {
+ display: table-cell;
+ width: 100px;
+ height: 100px;
+}
+.org-header-info {
+ display: table-cell;
+ vertical-align: middle;
+ width: 560px;
+}
+.org-name {
+ margin-top: 0;
+ margin-bottom: 5px;
+ color: #333;
+ font-size: 36px;
+ font-weight: normal;
+}
+.org-description {
+ margin-top: 0;
+ margin-bottom: 8px;
+ font-size: 16px;
+ line-height: 1.25;
+}
+.org-header-meta {
+ font-size: 12px;
+ line-height: 1.5;
+ list-style: none;
+}
+.org-header-meta .meta-item {
+ display: inline-block;
+ padding-right: 18px;
+ overflow: hidden;
+ max-width: 100%;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+}
+.org-header-meta .meta-item .meta-link {
+ color: #666;
+}
+.org-header-meta .octicon {
+ position: relative;
+ top: 1px;
+ margin-right: 2px;
+ color: #ccc;
+}
+.org-header-meta.has-email.has-blog .meta-item, .org-header-meta.has-email.has-location .meta-item, .org-header-meta.has-blog.has-email .org-header-meta.has-blog.has-location .meta-item, .org-header-meta.has-location.has-blog .meta-item, .org-header-meta.has-location.has-email .meta-item {
+ max-width: 278px;
+}
+.org-header-meta.has-email.has-blog.has-location .meta-item {
+ max-width: 186px;
+}
+.org-link {
+ color: #333;
+}
+.org-link:hover {
+ color: #4183c4;
+ text-decoration: none;
+}
+.org-main {
+ float: left;
+ width: 640px;
+}
+.org-sidebar {
+ position: relative;
+ z-index: 1;
+ float: right;
+ width: 280px;
+ margin-top: -112px;
+}
+.org-sidebar .developer-program-badge {
+ display: block;
+ padding-top: 0;
+ padding-bottom: 0;
+ text-align: center;
+ border-top: 0;
+}
+.simple-box {
+ padding: 15px;
+ margin-bottom: 20px;
+ border: 1px solid #ddd;
+ background-color: #fff;
+ border-radius: 3px;
+}
+.simple-box-footer {
+ margin: 10px -15px -15px;
+ padding: 15px;
+ border-top: 1px solid #eee;
+ background-color: #fcfcfc;
+ border-radius: 0 0 3px 3px;
+}
+.simple-box-footer .typeahead {
+ width: 248px;
+}
+.orgs-help-shelf {
+ margin-top: -20px;
+ margin-bottom: 20px;
+ padding-top: 20px;
+ padding-bottom: 20px;
+ border-bottom: 1px solid #eee;
+ background-color: #fefefe;
+}
+.orgs-help-shelf .orgs-help-title {
+ font-size: 30px;
+ font-weight: normal;
+}
+.orgs-help-shelf-content {
+ width: 800px;
+ margin: 50px auto;
+ text-align: center;
+}
+.orgs-help-shelf-content .orgs-help-lead, .orgs-help-shelf-content .orgs-help-description {
+ font-size: 18px;
+}
+.orgs-help-shelf-content .orgs-help-description:before {
+ width: 150px;
+ margin: 40px auto;
+ display: block;
+ border-top: 1px solid #ddd;
+ content: ""}
+.orgs-help-lead {
+ margin-bottom: 30px;
+}
+.orgs-help-learn-more {
+ margin-top: -10px;
+ -webkit-transition: opacity 0.25s ease-in-out;
+ transition: opacity 0.25s ease-in-out;
+}
+.orgs-help-extra-content {
+ max-height: 0;
+ overflow-y: auto;
+ -webkit-transition: max-height 0.75s ease-in-out;
+ transition: max-height 0.75s ease-in-out;
+}
+.open .orgs-help-learn-more {
+ opacity: 0;
+ pointer-events: none;
+}
+.open .orgs-help-extra-content {
+ max-height: 450px;
+ overflow-x: hidden;
+}
+.orgs-help-role-group {
+ margin-bottom: 40px;
+}
+.orgs-help-role-octicon {
+ width: 70px;
+ height: 70px;
+ margin: 0 auto 15px;
+ text-align: center;
+ border: solid 1px #e5e5e5;
+ border-radius: 50px;
+ background-color: #fff;
+}
+.orgs-help-role-octicon .mega-octicon {
+ color: #4183c4;
+ font-size: 26px;
+ line-height: 68px;
+}
+.orgs-help-role-limited-member .mega-octicon {
+ color: #999;
+}
+.orgs-help-role-title {
+ margin-bottom: 10px;
+ font-weight: normal;
+}
+.orgs-help-role-content {
+ margin-top: 0;
+ color: #666;
+ font-size: 14px;
+}
+.orgs-help-dismiss {
+ margin-top: 5px;
+ margin-right: 10px;
+ float: right;
+ font-size: 12px;
+ color: #999;
+}
+.orgs-help-dismiss:hover {
+ color: #4183c4;
+ text-decoration: none;
+}
+.orgs-help-dismiss .octicon {
+ position: relative;
+ top: 1px;
+}
+#promote-all-to-member, #remove_repo_access {
+ display: none;
+}
+.confirmOrgModal .confirm-list {
+ margin-left: 15px;
+}
+.confirmOrgModal .confirm-list-item {
+ padding-bottom: 10px;
+}
+.orgs-help-title {
+ margin-top: 0;
+ margin-bottom: 0;
+}
+.orgs-help-description {
+ font-size: 14px;
+}
+.orgs-help-lead, .orgs-help-description {
+ margin-top: 10px;
+ color: #666;
+}
+.orgs-help-button {
+ margin-right: 10px;
+}
+.org-module-title {
+ margin: -15px -15px 0;
+ font-size: 18px;
+ border-bottom: 1px solid #eee;
+}
+.org-module-link {
+ display: block;
+ padding: 15px;
+ color: #333;
+}
+.org-module-link:hover, .org-module-link:hover .org-stats {
+ text-decoration: none;
+ color: #4183c4;
+}
+.org-stats {
+ margin-top: 3px;
+ float: right;
+ font-size: 14px;
+ color: #999;
+}
+.org-members-title {
+ margin-bottom: 0;
+ border-bottom: 0;
+}
+.member-avatar-group {
+ margin: -1px;
+}
+.member-avatar-group:before {
+ display: table;
+ content: ""}
+.member-avatar-group:after {
+ display: table;
+ clear: both;
+ content: ""}
+.member-avatar {
+ float: left;
+ margin: 1px;
+}
+.member-row {
+ display: block;
+ padding-bottom: 15px;
+ margin-bottom: 15px;
+ margin-top: 15px;
+ font-size: 14px;
+ color: #333;
+ border-bottom: 1px solid #eee;
+}
+.member-row:before {
+ display: table;
+ content: ""}
+.member-row:after {
+ display: table;
+ clear: both;
+ content: ""}
+.member-row:hover {
+ color: #4183c4;
+ text-decoration: none;
+}
+.member-row:last-child {
+ margin-bottom: 0;
+ padding-bottom: 0;
+ border-bottom: 0;
+}
+.member-row .avatar {
+ float: left;
+ margin-right: 10px;
+}
+.member-row .member-name {
+ display: block;
+}
+.member-fullname {
+ color: #777;
+}
+.org-no-members {
+ text-align: center;
+ color: #777;
+ margin-top: 20px;
+ margin-bottom: 10px;
+}
+.org .no-results {
+ padding: 10px;
+ color: #999;
+}
+.org-teams-nav {
+ margin-top: 15px;
+}
+.org-teams-list {
+ list-style: none;
+ margin-bottom: -10px;
+}
+.org-teams-list .team {
+ display: block;
+ overflow: hidden;
+ padding-top: 15px;
+ padding-bottom: 15px;
+ color: #333;
+ border-top: 1px solid #eee;
+}
+.org-teams-list .team:hover {
+ text-decoration: none;
+}
+.org-teams-list .team:hover .team-name {
+ color: #4183c4;
+}
+.org-teams-list .org-teams-list-item:first-child .team {
+ border-top: 0;
+}
+.org-teams-list .team-name {
+ display: block;
+ font-size: 14px;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+}
+.org-teams-list .team-meta {
+ margin-top: 0;
+ margin-bottom: 0;
+ color: #777;
+}
+.org-toolbar.disabled {
+ pointer-events: none;
+}
+.org-toolbar .select-all-members {
+ float: left;
+ margin-top: 7px;
+ margin-left: 9px;
+ margin-right: 18px;
+}
+.org-toolbar .subnav-search {
+ width: 320px;
+ margin-left: 0;
+}
+.org-toolbar .subnav-search-context+.subnav-search {
+ margin-left: -1px;
+}
+.org-toolbar input.subnav-search-input {
+ width: 100%}
+.org-toolbar .pending-invitations-link {
+ position: relative;
+ top: 1px;
+ display: inline-block;
+ margin-right: 10px;
+ color: #777;
+}
+.member-action {
+ margin-right: 10px;
+}
+.member-role-select {
+ display: inline;
+}
+.member-role-select .select-menu-modal {
+ left: 39px;
+ width: 300px;
+}
+.member-role-menu .select-menu-item-text {
+ padding-right: 8px;
+}
+.member-role-menu .role-disabled {
+ pointer-events: none;
+}
+.member-role-menu .role-disabled .octicon-alert {
+ font-size: 14px;
+ color: #999;
+}
+.member-role-menu .role-note {
+ margin-top: 6px;
+}
+.auto-search-group {
+ position: relative;
+}
+.auto-search-group .auto-search-input {
+ padding-left: 30px;
+}
+.auto-search-group .spinner, .auto-search-group>.octicon {
+ position: absolute;
+ left: 10px;
+ width: 16px;
+ height: 16px;
+ z-index: 5;
+}
+.auto-search-group .spinner {
+ top: 9px;
+ background-color: #fff;
+}
+.auto-search-group>.octicon {
+ top: 10px;
+ font-size: 14px;
+ color: #bbb;
+ text-align: center;
+}
+.org-list .list-item {
+ position: relative;
+ padding-top: 15px;
+ padding-bottom: 15px;
+ border-bottom: 1px solid #eee;
+}
+.org-list .list-item:before {
+ display: table;
+ content: ""}
+.org-list .list-item:after {
+ display: table;
+ clear: both;
+ content: ""}
+.org-list .cancel-link {
+ color: #777;
+}
+.org-repos .blankslate {
+ margin-top: 15px;
+}
+.org-repos-mini {
+ padding: 0;
+ margin: 0;
+}
+.org-repos-mini .org-repo-mini-item:first-child .org-repo-mini-cell {
+ border-top: 0;
+}
+.org-repos-mini .org-repo-name {
+ margin-top: 0;
+ margin-bottom: 0;
+ font-size: 14px;
+ word-wrap: break-word;
+}
+.org-repos-mini .org-repo-name .octicon-repo {
+ color: #999;
+}
+.org-repos-mini .org-repo-name .octicon-lock {
+ color: #e9dba5;
+}
+.org-repos-mini .org-repo-forked {
+ max-width: 270px;
+ margin-top: 0;
+ margin-bottom: 0;
+ display: inline-block;
+ font-weight: normal;
+ font-size: 12px;
+}
+.org-repo-mini-item .repo-prefix {
+ font-weight: normal;
+ text-transform: lowercase;
+}
+.org-repo-mini-item .repo-slash {
+ display: inline-block;
+ margin-left: -4px;
+ margin-right: -4px;
+}
+.org-repo-mini-cell {
+ padding-top: 15px;
+ padding-bottom: 15px;
+ vertical-align: middle;
+}
+.org-repo-meta {
+ width: 165px;
+}
+.org-repo-meta .access-level {
+ cursor: default;
+}
+.org-repo-meta .button-group {
+ float: right;
+}
+.org-repo-meta.not-team-admin {
+ text-align: right;
+}
+.permission-level-cell .select-menu-button {
+ width: 100px;
+}
+.permission-level-cell .select-menu-button:after {
+ position: absolute;
+ top: 10px;
+ right: 10px;
+}
+.permission-level-cell .spinner, .permission-level-cell .permission-success-icon {
+ position: absolute;
+ margin-left: 15px;
+ display: inline-block;
+ opacity: 0;
+ -webkit-transition: opacity 0.2s ease-in-out;
+ transition: opacity 0.2s ease-in-out;
+}
+.permission-level-cell .permission-success-icon {
+ margin-top: 4px;
+ color: #6cc644;
+}
+.permission-level-cell .is-updating .spinner, .permission-level-cell .was-successful .permission-success-icon {
+ opacity: 1;
+}
+.permission-level-cell .select-menu-modal .description {
+ padding-right: 20px;
+}
+.permission-level-cell .select-menu-option-title {
+ margin-top: 0;
+ margin-bottom: 0;
+}
+.permission-level-cell .navigation-focus .select-menu-option-title {
+ color: #fff;
+}
+.add-member-wrapper {
+ position: relative;
+ width: 680px;
+ margin: 40px auto;
+}
+.add-member-wrapper .owners-team-info {
+ position: relative;
+ padding-top: 10px;
+ padding-left: 42px;
+ color: #777;
+ border-top: 1px solid #e5e5e5;
+}
+.add-member-wrapper .owners-team-info .octicon-info {
+ position: absolute;
+ left: 8px;
+ color: #999;
+ font-size: 18px;
+}
+.add-member-wrapper .available-seats {
+ color: #999;
+}
+.add-member-wrapper .buy-more-link {
+ margin-right: 5px;
+}
+.invitation-role-group {
+ padding-top: 25px;
+ padding-bottom: 30px;
+}
+.invitation-role-group:before {
+ display: table;
+ content: ""}
+.invitation-role-group:after {
+ display: table;
+ clear: both;
+ content: ""}
+.invitation-role {
+ position: relative;
+ width: 215px;
+ margin-left: 17px;
+ padding: 15px 10px;
+ float: left;
+ font-weight: normal;
+ text-align: center;
+ cursor: pointer;
+}
+.invitation-role:first-child {
+ margin-left: 0;
+}
+.invitation-role .invitation-role-item-border {
+ position: absolute;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ border: 1px solid #eee;
+ border-radius: 3px;
+ -webkit-transition: border 0.15s ease-in-out;
+ transition: border 0.15s ease-in-out;
+}
+.invitation-role input {
+ display: block;
+ margin-right: auto;
+ margin-left: auto;
+}
+.invitation-role input:checked ~ .invitation-role-item-border {
+ border: 1px solid #3b99fc;
+ box-shadow: 0 0 5px rgba(59, 153, 252, 0.4);
+}
+.invitation-role-title {
+ margin-top: 5px;
+ margin-bottom: 5px;
+}
+.invitation-role-description {
+ margin-top: 0;
+ color: #777;
+}
+.invitation-role-hint-for-limited-members {
+ display: none;
+}
+.invitation-limited-member-role-selected .invitation-role-hint-for-direct-members-and-admins {
+ display: none;
+}
+.invitation-limited-member-role-selected .invitation-role-hint-for-limited-members {
+ display: inherit;
+}
+.invitation-empty-teams {
+ width: 500px;
+ color: #666;
+ text-align: left;
+}
+.invitation-empty-teams .octicon {
+ margin-top: 2px;
+ margin-right: 7px;
+ margin-bottom: 10px;
+ float: left;
+ color: #bd2c00;
+ font-size: 14px;
+}
+.add-member-title {
+ margin-bottom: 0;
+ font-size: 30px;
+ font-weight: normal;
+}
+.add-member-lead {
+ margin-top: 5px;
+ margin-bottom: 0;
+ padding-bottom: 15px;
+ border-bottom: 1px solid #eee;
+}
+.add-member-lead.no-border {
+ padding-bottom: 0;
+ border-bottom: 0;
+}
+.add-member-team-list {
+ margin-bottom: 15px;
+ list-style: none;
+}
+.add-member-team-list .team {
+ display: block;
+ padding: 15px 0;
+ font-weight: normal;
+ cursor: pointer;
+}
+.add-member-team-list .team:first-child {
+ border-top: 1px solid #f2f2f2;
+}
+.add-member-team-list .team .minibutton {
+ float: right;
+}
+.add-member-team-list .team-info {
+ max-width: 80%;
+ color: #000;
+ text-decoration: none;
+}
+.add-member-team-list .team-info:hover {
+ color: #4183c4;
+}
+.add-member-team-list .team-name {
+ font-size: 14px;
+}
+.add-member-team-list .team-meta {
+ color: #777;
+ margin-top: 2px;
+ margin-bottom: 2px;
+}
+.add-member-team-list .team-description {
+ margin-top: 2px;
+ margin-bottom: 2px;
+ color: #333;
+}
+.add-member-team-list .team-toggler .turn-on {
+ display: inline-block;
+}
+.add-member-team-list .team-toggler.on .turn-off {
+ display: inline-block;
+}
+.add-member-team-list .team-toggler .turn-off {
+ display: none;
+}
+.add-member-team-list .team-toggler.on .turn-on {
+ display: none;
+}
+.team-list-footer .show-all-link .octicon {
+ margin-left: 5px;
+ color: #777;
+}
+.invite-team-member-list .team {
+ display: table-row;
+ cursor: default;
+}
+.invite-team-member-list .team:first-child .table-list-cell {
+ border-top: 0;
+}
+.invite-team-member-list .team .table-list-cell {
+ padding-top: 15px;
+ padding-bottom: 15px;
+}
+.invite-team-member-list .table-list-cell-checkbox {
+ width: 42px;
+}
+.invite-team-member-list .team-info {
+ width: 250px;
+ vertical-align: middle;
+ color: #222;
+}
+.invite-team-member-list .team-description {
+ display: block;
+ padding-top: 0;
+ padding-bottom: 0;
+ font-weight: normal;
+}
+.invite-team-member-list .team-meta {
+ width: 100px;
+ text-align: left;
+ vertical-align: middle;
+}
+.invite-team-member-list .team-link {
+ text-align: right;
+ color: #4183c4;
+}
+.member-list-item .table-list-cell {
+ vertical-align: middle;
+ padding-top: 10px;
+ padding-bottom: 10px;
+}
+.member-list-item .table-list-cell-checkbox {
+ width: 30px;
+}
+.member-list-item.adminable:hover {
+ background-color: #f9f9f9;
+}
+.member-list-item .member-info {
+ font-size: 14px;
+}
+.member-list-item .member-info .member-list-avatar {
+ float: left;
+ margin-right: 15px;
+}
+.member-list-item .member-info .member-fullname {
+ font-weight: normal;
+ color: #777;
+}
+.member-visibility .octicon {
+ font-size: 14px;
+}
+.member-username {
+ margin-top: 4px;
+ display: block;
+ color: #333;
+}
+.member-username .octicon {
+ position: relative;
+ top: -2px;
+ margin-left: 2px;
+ font-size: 12px;
+ color: #aaa;
+}
+.member-security .octicon {
+ color: #f93;
+ font-size: 14px;
+}
+.member-role {
+ width: 100px;
+}
+.member-role.select-menu {
+ padding-left: 50px;
+ text-align: left;
+}
+.member-meta {
+ width: 140px;
+ font-size: 11px;
+ color: #777;
+ text-align: center;
+}
+.member-meta .teams-link {
+ color: #777;
+}
+.member-meta .teams-link:hover {
+ color: #4183c4;
+ text-decoration: none;
+}
+.member-meta .button-link {
+ color: #777;
+}
+.member-meta .button-link:hover {
+ color: #4183c4;
+ text-decoration: none;
+}
+.member-meta .select-menu-modal-holder {
+ right: 0;
+ text-align: left;
+}
+.member-follow {
+ text-align: right;
+}
+.member-selected-actions {
+ display: inline;
+}
+.team-grid {
+ position: relative;
+ margin-left: -10px;
+ margin-right: -10px;
+}
+.team-grid:before {
+ display: table;
+ content: ""}
+.team-grid:after {
+ display: table;
+ clear: both;
+ content: ""}
+.team-grid .team {
+ position: relative;
+ float: left;
+ width: 480px;
+ height: 127px;
+ padding: 15px;
+ margin-bottom: 20px;
+ margin-left: 10px;
+ margin-right: 10px;
+ border: 1px solid #eee;
+ border-radius: 3px;
+}
+.team-grid .team-link {
+ display: block;
+ text-decoration: none;
+}
+.team-grid .team-link:focus .team-name, .team-grid .team-link:hover .team-name {
+ color: #4183c4;
+}
+.team-grid .team-link:focus {
+ outline: none;
+}
+.team-grid .team-link:hover {
+ text-decoration: none;
+}
+.team-grid .team-name {
+ display: inline-block;
+ margin: 0;
+ color: #333;
+ font-size: 18px;
+}
+.team-grid .team-description {
+ overflow: hidden;
+ max-width: 80%;
+ margin-top: 5px;
+ font-size: 14px;
+ color: #777;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+}
+.team-grid .team-label-ldap {
+ float: right;
+}
+.team-grid .team-members {
+ width: 478px;
+ padding: 10px 15px;
+ margin: 0 -15px -15px;
+ border-top: 1px solid #eee;
+ border-radius: 0 0 3px 3px;
+ background-color: #f8f8f8;
+}
+.team-grid .team-members .minibutton {
+ margin-top: 2px;
+ margin-bottom: 2px;
+}
+.team-grid .team-member {
+ display: inline-block;
+ vertical-align: top;
+ width: 30px;
+ height: 30px;
+}
+.team-grid .team-member:hover {
+ text-decoration: none;
+}
+.team-grid .blankslate {
+ margin-left: 10px;
+ margin-right: 10px;
+}
+.team-grid .team-actions-form {
+ float: right;
+}
+.team-label-ldap {
+ display: inline-block;
+ padding: 0 9px;
+ line-height: 25px;
+ border: 1px solid #eaeaea;
+ border-radius: 3px;
+ box-shadow: none;
+ color: #999;
+ font-size: 11px;
+ text-transform: uppercase;
+ cursor: default;
+}
+.team-label-ldap.header-label-ldap {
+ padding: 3px 5px;
+}
+.team-member-ellipsis {
+ display: inline-block;
+ vertical-align: top;
+ width: 30px;
+ height: 30px;
+ line-height: 24px;
+ color: #777;
+ font-weight: bold;
+ text-align: center;
+ background-color: #ddd;
+ border-radius: 3px;
+}
+.team-member-ellipsis:hover {
+ color: #333;
+ text-decoration: none;
+}
+.typeahead {
+ position: absolute;
+ z-index: 3;
+ display: none;
+ overflow: hidden;
+ width: 100%;
+ margin-top: 1px;
+ background-color: #fff;
+ background-clip: padding-box;
+ border-radius: 3px;
+ border: 1px solid rgba(0, 0, 0, 0.2);
+ box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
+}
+.typeahead.active {
+ display: block;
+}
+.facebox .typeahead-results {
+ margin: 0;
+}
+.typeahead-result {
+ position: relative;
+ display: block;
+ min-width: 100%;
+ padding: 10px;
+ margin-top: 0;
+ color: #333;
+ cursor: pointer;
+}
+.typeahead-result:before {
+ display: table;
+ content: ""}
+.typeahead-result:after {
+ display: table;
+ clear: both;
+ content: ""}
+.typeahead-result:first-child {
+ border-top: 0;
+}
+.typeahead-result:focus, .typeahead-result:hover, .typeahead-result.navigation-focus {
+ text-decoration: none;
+}
+.typeahead-result:hover, .typeahead-result.navigation-focus {
+ color: #fff;
+ background-color: #4183c4;
+}
+.typeahead-result:hover .octicon-plus, .typeahead-result.navigation-focus .octicon-plus {
+ color: #fff;
+}
+.member-suggestion {
+ padding-left: 44px;
+}
+.member-suggestion .avatar {
+ float: left;
+ margin-left: -34px;
+ margin-right: 10px;
+}
+.member-suggestion .member-info {
+ width: 75%;
+ overflow: hidden;
+ margin-top: 2px;
+ margin-bottom: 0;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+}
+.member-suggestion .member-name {
+ color: #777;
+ font-size: 12px;
+}
+.member-suggestion .octicon-plus, .member-suggestion .octicon-check {
+ position: absolute;
+ top: 50%;
+ right: 15px;
+ margin-top: -8px;
+ color: #ddd;
+}
+.member-suggestion .already-member-note, .member-suggestion .non-member-note, .member-suggestion .non-member-action {
+ margin-top: 0;
+ margin-bottom: 0;
+ color: #777;
+ font-size: 11px;
+}
+.member-suggestion .non-member-action {
+ display: none;
+}
+.member-suggestion:hover .member-name, .member-suggestion:hover .non-member-note, .member-suggestion:hover .already-member-note, .member-suggestion:hover .non-member-action, .member-suggestion.navigation-focus .member-name, .member-suggestion.navigation-focus .non-member-note, .member-suggestion.navigation-focus .already-member-note, .member-suggestion.navigation-focus .non-member-action {
+ color: #fff;
+}
+.member-suggestion:hover .non-member-note, .member-suggestion.navigation-focus .non-member-note {
+ display: none;
+}
+.member-suggestion:hover .non-member-action, .member-suggestion.navigation-focus .non-member-action {
+ display: block;
+}
+.member-suggestion:hover .octicon-plus, .member-suggestion:hover .octicon-check, .member-suggestion.navigation-focus .octicon-plus, .member-suggestion.navigation-focus .octicon-check {
+ color: #fff;
+}
+.member-suggestion.not-a-member .member-info, .member-suggestion.disabled .member-info {
+ margin-top: -2px;
+}
+.member-suggestion.disabled {
+ opacity: 0.5;
+}
+.team-info-card {
+ position: relative;
+ margin-bottom: 20px;
+}
+.team-info-card .team-label-ldap {
+ font-size: 13px;
+ line-height: 32px;
+}
+.team-info-card .team-description {
+ margin-top: 10px;
+ color: #666;
+ font-size: 14px;
+ line-height: 20px;
+ word-break: break-word;
+}
+.team-info-card .team-description .link {
+ color: #999;
+ cursor: pointer;
+}
+.team-info-card .team-description .link:hover {
+ text-decoration: underline;
+}
+.team-info-card .description-toggler .turn-on {
+ display: inline-block;
+}
+.team-info-card .description-toggler.on .turn-off {
+ display: inline-block;
+}
+.team-info-card .description-toggler .turn-off {
+ display: none;
+}
+.team-info-card .description-toggler.on .turn-on {
+ display: none;
+}
+.team-title {
+ margin-top: 0;
+ margin-bottom: 0;
+ font-size: 22px;
+ line-height: 26px;
+}
+.team-stats {
+ margin-right: -15px;
+ margin-bottom: -10px;
+ margin-left: -15px;
+ padding-right: 15px;
+ padding-left: 15px;
+ border-top: 1px solid #eee;
+}
+.stats-group {
+ display: table;
+ table-layout: fixed;
+ width: 100%}
+.stats-group-stat {
+ display: table-cell;
+ padding-top: 10px;
+ padding-bottom: 10px;
+ padding-left: 15px;
+ font-size: 12px;
+ color: #999;
+ text-transform: uppercase;
+}
+.stats-group-stat:hover, .stats-group-stat:hover .stat-number {
+ color: #4183c4;
+ text-decoration: none;
+}
+.stats-group-stat:first-child {
+ padding-left: 0;
+ border-right: 1px solid #eee;
+}
+.stats-group-stat.no-link:hover {
+ color: #999;
+}
+.stats-group-stat.no-link:hover .stat-number {
+ color: #333;
+}
+.stat-number {
+ display: block;
+ color: #333;
+ font-size: 16px;
+}
+.team-description-form {
+ width: 100%;
+ margin-top: 10px;
+ margin-bottom: 20px;
+}
+.team-description-field {
+ width: 100%;
+ height: 100px;
+ margin-bottom: 10px;
+ font-size: 14px;
+}
+.team-actions .octicon {
+ margin-right: 0;
+}
+.team-actions-form {
+ display: inline-block;
+}
+.org-team-sidebar {
+ float: left;
+ width: 280px;
+}
+.org-team-sidebar .team-note {
+ color: #777;
+ font-size: 13px;
+ text-align: center;
+}
+.org-team-sidebar .team-note .note-emphasis {
+ color: #333;
+}
+.org-team-main {
+ float: right;
+ width: 660px;
+}
+.owners-member-title {
+ margin-top: 10px;
+ margin-bottom: 0;
+ font-size: 18px;
+ color: #777;
+ font-weight: normal;
+}
+.owners-notice {
+ background-color: #f0f8ff;
+}
+.owners-notice-title {
+ margin-top: 0;
+ margin-bottom: 0;
+ font-size: 18px;
+}
+.owners-notice-link {
+ margin-top: 10px;
+}
+.team-member-list {
+ list-style: none;
+}
+.team-member-list .team-member-content {
+ margin-left: 50px;
+}
+.team-member-list .team-member-username {
+ font-weight: bold;
+ margin: 0;
+ font-size: 14px;
+ line-height: 20px;
+}
+.team-member-list .team-member-description {
+ color: #777;
+ margin: 0;
+ font-size: 14px;
+ line-height: 20px;
+}
+.team-member-list .label-admin, .team-member-list .label-limited-member {
+ cursor: default;
+}
+.team-member-list .manage-team-member {
+ float: right;
+ margin-top: 10px;
+}
+.team-member-list .manage-team-member .select-menu-modal {
+ width: 225px;
+ left: -176px;
+}
+.team-member-list .manage-team-member .select-menu-item.disabled {
+ color: #bbb;
+ cursor: not-allowed;
+}
+.team-member-list .manage-team-member .select-menu-item .button-link {
+ width: 100%;
+ margin-left: 0;
+ color: #bd2c00;
+}
+.team-member-list .manage-team-member .navigation-focus.disabled {
+ color: #bbb;
+ background-color: #fff;
+}
+.team-member-list .manage-team-member .navigation-focus .button-link {
+ color: #fff;
+ text-decoration: none;
+}
+.team-member-list-avatar {
+ float: left;
+ margin-right: 10px;
+}
+.org-team-form {
+ width: 440px;
+ margin: 0 auto;
+}
+.org-team-form .disabled {
+ opacity: 0.5;
+}
+.org-validate-group {
+ position: relative;
+}
+.org-validate-group .octicon, .org-validate-group .spinner {
+ position: absolute;
+ top: 9px;
+ right: 10px;
+}
+.org-validate-group .octicon-check {
+ color: #6cc644;
+}
+.org-validate-group .octicon-alert {
+ color: #bd2c00;
+}
+.team-members {
+ margin-bottom: 20px;
+}
+#team-member-container .table-list {
+ border-bottom: 0;
+}
+.member-remove-confirm-container .private-fork-count {
+ margin-top: 0;
+ color: #777;
+ font-weight: normal;
+ font-size: 12px;
+}
+.member-remove-confirm-container .deleting-private-forks-warning {
+ position: relative;
+ padding-left: 26px;
+}
+.member-remove-confirm-container .deleting-private-forks-warning .octicon {
+ position: absolute;
+ top: 2px;
+ left: 0;
+ color: #bd2c00;
+}
+.member-remove-confirm-list-container {
+ border: 1px solid #eaeaea;
+ border-radius: 3px;
+ margin-bottom: 15px;
+}
+.member-remove-confirm-list {
+ margin-left: 0;
+ margin-bottom: 0;
+ padding-left: 0;
+ max-height: 182px;
+ overflow: auto;
+}
+.member-remove-confirm-item {
+ font-size: 14px;
+ font-weight: bold;
+ margin: 0;
+ padding: 10px;
+ border-top: 1px solid #eaeaea;
+}
+.member-remove-confirm-item:first-child {
+ border-top: 0;
+}
+.org-blankslate {
+ display: none;
+}
+.org-section.is-empty .org-blankslate {
+ display: block;
+}
+.org-section .auto-search-group .spinner {
+ display: inline-block;
+}
+.org-section .auto-search-group .spinner.hidden {
+ display: none;
+}
+.manage-member-role {
+ float: right;
+}
+.manage-member-role .button-link, .manage-member-role .select-menu-item-text .description {
+ font-weight: normal;
+}
+.manage-member-role .button-link {
+ color: #777;
+ font-size: 11px;
+}
+.manage-member-role .select-menu-item-text .description {
+ font-size: 12px;
+ line-height: 16px;
+}
+.manage-member-button {
+ display: block;
+ text-align: center;
+}
+.manage-repo-access-wrapper {
+ width: 650px;
+}
+.manage-repo-access-header {
+ margin-top: 30px;
+ margin-bottom: 30px;
+}
+.manage-repo-access-header:before {
+ display: table;
+ content: ""}
+.manage-repo-access-header:after {
+ display: table;
+ clear: both;
+ content: ""}
+.manage-repo-access-header .button {
+ margin-top: 8px;
+}
+.manage-repo-access-avatar {
+ float: left;
+ margin-right: 10px;
+}
+.manage-repo-access-heading {
+ margin-top: -2px;
+ margin-bottom: 0;
+ font-weight: normal;
+ font-size: 24px;
+}
+.manage-repo-access-lead {
+ margin-top: 0;
+ margin-bottom: 0;
+}
+.manage-access-team-list {
+ border-bottom: 0;
+}
+.manage-access-team-list-item:first-child .table-list-cell {
+ border-top: 0;
+}
+.manage-access-team-info {
+ padding-top: 15px;
+ width: 350px;
+}
+.manage-access-team-description {
+ margin-top: 3px;
+ color: #777;
+}
+.manage-access-team-meta {
+ padding-top: 25px;
+ padding-bottom: 25px;
+ text-align: center;
+}
+.manage-access-team-action {
+ margin-right: 10px;
+ float: right;
+ color: #999;
+}
+.access-inactive {
+ opacity: 0.6;
+}
+.access-inactive .manage-access-team-meta {
+ padding-right: 20px;
+ text-align: right;
+}
+.ldap-group-dn {
+ display: block;
+ color: #aaa;
+ font-weight: normal;
+}
+.ldap-import-groups-container .blankslate {
+ display: none;
+}
+.ldap-import-groups-container.is-empty .blankslate {
+ display: block;
+}
+.ldap-import-groups-container.is-empty .ldap-memberships-list {
+ display: none;
+}
+.ldap-import-groups-container .team-name-exists {
+ display: none;
+}
+.ldap-import-groups-container .is-exists .ldap-mention-as {
+ color: #bd2c00;
+}
+.ldap-import-groups-container .is-exists .team-name-exists {
+ position: absolute;
+ z-index: 1;
+ display: inline-block;
+ padding: 5px;
+ font-size: 11px;
+ color: #494620;
+ background: #f7ea57;
+ border: 1px solid #c0b536;
+ border-top-color: #fff;
+ border-bottom-right-radius: 3px;
+ border-bottom-left-radius: 3px;
+}
+.ldap-memberships-list {
+ margin-bottom: 30px;
+}
+.ldap-memberships-list .table-list-cell {
+ font-size: 13px;
+ padding-bottom: 10px;
+ padding-top: 10px;
+ vertical-align: middle;
+}
+.ldap-memberships-list .table-list-cell:last-child {
+ width: 92px;
+}
+.ldap-memberships-list .ldap-group-form {
+ display: table;
+ width: 100%}
+.ldap-memberships-list .team-name-exists {
+ bottom: -19px;
+ left: 10px;
+}
+.ldap-memberships-list .ldap-list-team-name {
+ width: 380px;
+}
+.ldap-memberships-list .ldap-group-dn {
+ font-size: 11px;
+}
+.ldap-memberships-list .ldap-mention-as {
+ width: 260px;
+}
+.ldap-memberships-list .edit {
+ position: absolute;
+ padding: 10px;
+ margin-left: -33px;
+ color: #4183c4;
+ cursor: pointer;
+}
+.ldap-memberships-list .edit-fields {
+ display: none;
+}
+.ldap-memberships-list .is-editing .edit-hide {
+ display: none;
+}
+.ldap-memberships-list .is-editing .edit-fields {
+ display: block;
+}
+.ldap-memberships-list .is-editing .spinner {
+ margin-left: 15px;
+ vertical-align: middle;
+}
+.ldap-memberships-list .is-removing {
+ opacity: 0.25;
+}
+.ldap-memberships-list .is-removing .edit {
+ opacity: 0.5;
+}
+.team-name-field {
+ height: 33px;
+}
+.ldap-import-form-actions {
+ margin-top: 30px;
+}
+.is-importing .team-ldap-group-adder-button .spinner {
+ display: inline;
+ float: left;
+}
+.team-ldap-group-adder {
+ position: relative;
+ float: left;
+}
+.team-ldap-group-adder .team-name-exists {
+ bottom: -27px;
+}
+.team-ldap-group-adder .subnav-search-input {
+ border-radius: 4px 0 0 4px;
+}
+.team-ldap-group-adder-button {
+ border-radius: 0 4px 4px 0;
+ margin-left: -1px;
+ width: 90px;
+}
+.team-ldap-group-adder-button .loading-indicator {
+ display: none;
+}
+#pending-invitations {
+ display: none;
+}
+.pending-team-invitations-link {
+ display: block;
+ padding-top: 15px;
+ padding-bottom: 15px;
+ border-bottom: 1px solid #eee;
+}
+.invited .team-member-list {
+ margin: -10px 0 0;
+}
+.invited .team-member-list .list-item {
+ padding: 10px 0;
+ border-bottom: 1px solid #eee;
+}
+.invited .team-member-list .list-item:before {
+ display: table;
+ content: ""}
+.invited .team-member-list .list-item:after {
+ display: table;
+ clear: both;
+ content: ""}
+.invited .team-member-list .list-item:last-of-type {
+ border: 0;
+}
+.invited .team-member-list .list-item .edit-invitation, .invited .team-member-list .list-item .cancel-invitation {
+ margin-top: 6px;
+ float: right;
+}
+.invited-banner {
+ margin-top: 10px;
+ padding: 10px;
+ border: 1px solid #eaeaea;
+ border-radius: 4px;
+ background-color: #fff;
+}
+.invited-banner:before {
+ display: table;
+ content: ""}
+.invited-banner:after {
+ display: table;
+ clear: both;
+ content: ""}
+.invited-banner .minibutton {
+ float: right;
+ margin-left: 5px;
+ margin-top: -3px;
+}
+.invited-banner p {
+ color: #333;
+ margin: 0;
+ font-size: 15px;
+}
+.invited-banner .inviter-link {
+ color: #333;
+ font-weight: bold;
+}
+.invitation-container {
+ width: 600px;
+ margin: 40px auto;
+ padding: 20px;
+ border: 1px solid #ddd;
+ border-radius: 3px;
+}
+.invitation-container h3 {
+ font-size: 16px;
+ font-weight: normal;
+}
+.invitation-disclosure {
+ position: relative;
+ padding: 10px 0 10px 24px;
+ list-style: none;
+ color: #777;
+ text-align: center;
+}
+.invitation-disclosure .octicon {
+ color: #999;
+ text-align: center;
+ display: inline-block;
+ margin-right: 5px;
+}
+.invitation-header {
+ position: relative;
+ text-align: center;
+}
+.invitation-header .avatar {
+ margin-bottom: 20px;
+}
+.invitation-header .invitation-title {
+ font-size: 18px;
+ font-weight: normal;
+ line-height: 16px;
+ margin: 0;
+}
+.invitation-header .inviter {
+ font-size: 13px;
+ color: #999;
+ margin: 5px 0 10px;
+}
+.invitation-footer {
+ margin: 40px 0 20px;
+}
+.invitation-footer form {
+ display: inline-block;
+ margin-right: 10px;
+}
+.outline-box-group {
+ border-radius: 3px;
+}
+.outline-box {
+ padding: 20px;
+ border: solid 1px #d8d8d8;
+}
+.outline-box:first-child {
+ border-top-left-radius: 3px;
+ border-top-right-radius: 3px;
+}
+.outline-box:last-child {
+ border-bottom-left-radius: 3px;
+ border-bottom-right-radius: 3px;
+}
+.outline-box+.outline-box {
+ border-top: 0;
+}
+.outline-box-highlighted {
+ background-color: #f7fafd;
+ border-color: #c9d6e3;
+}
+.owner-select-grid {
+ margin-left: -8px;
+}
+.owner-select-grid:before {
+ display: table;
+ content: ""}
+.owner-select-grid:after {
+ display: table;
+ clear: both;
+ content: ""}
+.owner-select-target {
+ float: left;
+ padding: 10px;
+ margin: 0 8px 10px;
+ text-align: center;
+ background-color: #f2f2f2;
+ border-radius: 3px;
+}
+.owner-select-target .css-truncate-target {
+ max-width: 90px;
+}
+.owner-select-target.disabled {
+ color: #999;
+ cursor: not-allowed;
+}
+.owner-select-target.enabled {
+ font-weight: bold;
+ cursor: pointer;
+}
+.owner-select-target.enabled .owner-select-avatar {
+ opacity: 1;
+}
+.owner-select-target.enabled:hover {
+ color: #fff;
+ background-color: #4183c4;
+}
+.owner-select-target.enabled:active {
+ color: #fff;
+ background-color: #3269a0;
+}
+.owner-select-avatar {
+ display: block;
+ margin-bottom: 9px;
+ opacity: 0.3;
+}
+.owner-select-grid-no-facebox h2 {
+ padding-right: 0;
+ padding-left: 0;
+ margin-right: 0;
+ margin-left: 0;
+}
+.page-notice {
+ margin: 15px auto;
+ width: 400px;
+ padding: 20px;
+ color: #333;
+ font-size: 14px;
+ background: #fffeeb;
+ border: 1px solid #ddd;
+ border-radius: 3px;
+}
+.page-notice h2 {
+ margin: 0;
+ font-size: 16px;
+ color: #000;
+}
+.page-notice p:last-child {
+ margin-bottom: 0;
+}
+#editor-body-buffer {
+ display: none;
+}
+#pages-composer {
+ padding-bottom: 5px;
+ margin-bottom: 20px;
+ border-bottom: 1px solid #eee;
+}
+#pages-composer label {
+ display: inline-block;
+ margin-bottom: 10px;
+ font-size: 16px;
+}
+#pages-composer input {
+ margin-bottom: 15px;
+}
+#pages-composer p {
+ margin-top: -10px;
+ margin-bottom: 10px;
+ color: #777;
+}
+#pages-composer #gollum-editor-function-bar {
+ margin-top: 0;
+}
+#pages-composer #gollum-editor {
+ margin: 0;
+ padding: 0;
+ border: 0;
+}
+#pages-composer #gollum-editor-body {
+ margin-top: 10px;
+}
+.gollum-readme {
+ display: inline-block;
+ margin-left: 10px;
+}
+#gollum-editor-function-bar #undo-load-readme {
+ display: none;
+}
+.theme-picker {
+ margin-bottom: -1px;
+ background-color: #fff;
+ background-clip: padding-box;
+ border-bottom: 1px solid rgba(0, 0, 0, 0.1);
+ box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
+}
+.theme-picker>.container {
+ position: relative;
+ overflow: hidden;
+ text-align: center;
+}
+.theme-picker-thumbs {
+ border-bottom: 1px solid #eee;
+}
+.theme-picker-footer {
+ position: relative;
+ padding-bottom: 15px;
+}
+.theme-toggle {
+ width: 32px;
+ height: 32px;
+ color: #ccc;
+ padding: 0;
+ background: none;
+ border: 0;
+}
+.theme-toggle:hover {
+ color: #0084c8;
+ text-decoration: none;
+}
+.theme-toggle.disabled, .theme-toggle.disabled:hover {
+ color: #ccc;
+ opacity: 0.3;
+ cursor: not-allowed;
+}
+.theme-toggle-full-left, .theme-toggle-full-right {
+ position: absolute;
+ top: 50px;
+ width: 32px;
+ height: 32px;
+ overflow: hidden;
+}
+.theme-toggle-full-left {
+ left: 0;
+}
+.theme-toggle-full-right {
+ right: 0;
+}
+.theme-selector {
+ height: 102px;
+ margin: 15px 46px;
+ white-space: nowrap;
+ overflow: hidden;
+}
+.theme-selector-thumbnail {
+ display: inline-block;
+ padding: 2px;
+ border: 1px solid #ddd;
+ border-radius: 3px;
+}
+.theme-selector-thumbnail+.theme-selector-thumbnail {
+ margin-left: 15px;
+}
+.theme-selector-thumbnail:hover {
+ text-decoration: none;
+ background-color: #f5f5f5;
+}
+.theme-selector-thumbnail.selected {
+ padding: 3px;
+ background-color: #4183c4;
+ border: 0;
+}
+.theme-selector-thumbnail.selected .theme-selector-img {
+ border: 1px solid #fff;
+}
+.theme-selector-img {
+ display: block;
+ width: 126px;
+ height: 96px;
+ border-radius: 1px;
+}
+.theme-selector-name {
+ display: none;
+}
+.theme-picker-spinner {
+ position: absolute;
+ top: 16px;
+ left: 50%;
+ margin-left: -16px;
+ opacity: 0;
+ -webkit-transition: 0.2s, opacity ease-in-out;
+ transition: 0.2s, opacity ease-in-out;
+ background-color: #fff;
+}
+.theme-picker-spinner.visible {
+ opacity: 1;
+}
+.theme-picker-spinner.visible ~ .theme-picker-controls .theme-name {
+ opacity: 0;
+}
+.theme-selector-actions {
+ padding-top: 15px;
+ text-align: right;
+}
+.theme-selector-actions:before {
+ display: table;
+ content: ""}
+.theme-selector-actions:after {
+ display: table;
+ clear: both;
+ content: ""}
+.theme-selector-actions .page-edit, .theme-selector-actions .page-publish {
+ display: inline-block;
+ margin-left: 5px;
+}
+.theme-picker-view-toggle {
+ float: left;
+}
+.theme-picker-view-toggle .for-hiding {
+ display: none;
+}
+.theme-picker-view-toggle.open .for-hiding {
+ display: inline;
+}
+.theme-picker-view-toggle.open .for-showing {
+ display: none;
+}
+.theme-picker-controls {
+ position: absolute;
+ top: 15px;
+ left: 50%;
+ display: none;
+ width: 220px;
+ margin-left: -110px;
+ line-height: 34px;
+ text-align: center;
+}
+.theme-picker-controls .theme-toggle {
+ vertical-align: middle;
+}
+.theme-name {
+ display: inline-block;
+ margin-left: 10px;
+ margin-right: 10px;
+ font-size: 20px;
+ vertical-align: middle;
+ line-height: 1;
+}
+#page-preview {
+ position: relative;
+ z-index: -100;
+ display: block;
+ width: 100%;
+ height: 100%;
+ padding: 0;
+ background-color: #fff;
+ border: 0;
+}
+.feed-icon a {
+ display: block;
+ width: 18px;
+ height: 18px;
+ background: #f37538;
+ color: #fff;
+ border-radius: 3px;
+ padding: 1px;
+ text-align: center;
+}
+body.page-profile .select-menu-modal {
+ width: 130px;
+}
+body.page-profile .select-menu-modal-holder {
+ right: 0;
+}
+body.page-profile .tab-content {
+ position: relative;
+}
+body.page-profile .feed-icon {
+ position: absolute;
+ right: 0;
+ z-index: 2;
+}
+.profilecols .orgs h3 {
+ margin: 0 0 5px;
+ font-size: 12px;
+}
+.profilecols .orgs h3 a {
+ font-weight: normal;
+ margin-left: 5px;
+}
+.profilecols .tabnav {
+ position: relative;
+}
+.profilecols .tabnav .pagehead-actions {
+ float: none;
+ top: 0;
+}
+.profilecols .tabnav .pagehead-actions li.text {
+ display: inline-block;
+ margin-top: 12px;
+}
+.profilecols .tabnav .subnav li:first-child {
+ margin-left: 10px;
+}
+.profilecols .repo-search {
+ display: inline;
+}
+.profilecols .filter-bar {
+ position: relative;
+ border-bottom: 1px solid #ddd;
+ background: #fff;
+ padding: 0 0 10px;
+}
+.profilecols .filter-bar .new-repo {
+ float: right;
+ margin-left: 15px;
+}
+.profilecols .filter-bar .filter_input {
+ width: 260px;
+}
+.profilecols .filter-bar .repo_filterer {
+ float: right;
+ margin-top: 8px;
+}
+.profilecols .filter-bar li {
+ position: relative;
+ float: right;
+ list-style: none;
+ margin-left: 10px;
+ font-size: 14px;
+}
+.profilecols .filter-bar li a {
+ display: inline-block;
+}
+.profilecols .filter-bar li .filter-selected {
+ color: #000;
+ font-weight: bold;
+}
+.profilecols .blankslate {
+ margin-top: 30px;
+}
+.vcard-avatar {
+ position: relative;
+ display: block;
+}
+.vcard-avatar .avatar {
+ border-radius: 6px;
+}
+.vcard-names {
+ margin-top: 5px;
+ line-height: 1;
+}
+.vcard-fullname {
+ display: block;
+ overflow: hidden;
+ width: 100%;
+ font-size: 26px;
+ line-height: 30px;
+ text-overflow: ellipsis;
+}
+.vcard-username {
+ display: block;
+ overflow: hidden;
+ width: 100%;
+ font-size: 20px;
+ font-style: normal;
+ font-weight: 300;
+ line-height: 24px;
+ color: #666;
+ text-overflow: ellipsis;
+}
+.vcard-details {
+ list-style: none;
+ padding-top: 15px;
+ padding-bottom: 15px;
+ border-top: 1px solid #eee;
+}
+.vcard-detail {
+ width: 100%;
+ padding: 2px 0 2px 24px;
+ overflow-x: hidden;
+ white-space: nowrap;
+ font-size: 14px;
+ text-overflow: ellipsis;
+}
+.vcard-detail .octicon {
+ float: left;
+ width: 16px;
+ text-align: center;
+ margin-left: -24px;
+ color: #ccc;
+}
+.vcard .staff-badge {
+ position: relative;
+ top: -1px;
+ padding: 2px 5px;
+ font-size: 10px;
+ font-weight: bold;
+ color: #fff;
+ text-transform: uppercase;
+ background-color: #4183c4;
+ border-radius: 3px;
+}
+.developer-program-badge {
+ display: block;
+ padding-top: 10px;
+ padding-bottom: 10px;
+ color: #4183c4;
+ border-top: 1px solid #eee;
+}
+.developer-program-badge .octicon-circuit-board {
+ margin-right: 7px;
+ color: #ccc;
+}
+.vcard-stats {
+ margin-bottom: 10px;
+ padding-top: 15px;
+ padding-bottom: 15px;
+ text-align: center;
+ border-top: 1px solid #eee;
+ border-bottom: 1px solid #eee;
+}
+.vcard-stats:before {
+ display: table;
+ content: ""}
+.vcard-stats:after {
+ display: table;
+ clear: both;
+ content: ""}
+.vcard-stat {
+ float: left;
+ width: 33.333%;
+ font-size: 11px;
+ text-transform: capitalize;
+}
+.vcard-stat-count {
+ display: block;
+ font-size: 28px;
+ font-weight: bold;
+ line-height: 1;
+}
+.vcard-stat:hover {
+ text-decoration: none;
+}
+.vcard-stat:hover .text-muted {
+ color: inherit;
+}
+.new-user-avatar-cta {
+ padding: 8px 16px;
+ margin-bottom: 20px;
+ background-color: #f1f6fb;
+ color: #244f79;
+ border: solid 1px #d0e5f8;
+ border-radius: 3px;
+ font-size: 14px;
+}
+.new-user-avatar-cta .minibutton {
+ float: right;
+ margin-left: 30px;
+}
+.steps {
+ display: table;
+ margin: 30px auto 0;
+ padding: 0;
+ overflow: hidden;
+ list-style: none;
+ border: 1px solid #ddd;
+ border-radius: 3px;
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
+ width: 750px;
+}
+.steps li {
+ display: table-cell;
+ width: 33.3%;
+ padding: 10px 15px;
+ color: #ccc;
+ cursor: default;
+ border-left: 1px solid #ddd;
+ background-color: #fafafa;
+}
+.steps li.current {
+ background-color: #fff;
+ color: #333;
+}
+.steps li.current .mega-octicon {
+ color: #4183c4;
+}
+.steps li .mega-octicon {
+ float: left;
+ margin-right: 15px;
+ padding-bottom: 5px;
+}
+.steps li .step {
+ display: block;
+}
+.steps li:first-child {
+ border-left: 0;
+}
+.steps .complete {
+ color: #777;
+}
+.steps .complete .mega-octicon {
+ color: #6cc644;
+}
+.prose-diff .show-rich-diff {
+ cursor: pointer;
+ color: #4183c4;
+ text-decoration: none;
+}
+.prose-diff .show-rich-diff:hover {
+ text-decoration: underline;
+}
+.prose-diff.collapsed .rich-diff-level-zero.expandable {
+ cursor: pointer;
+}
+.prose-diff.collapsed .rich-diff-level-zero.expandable .vicinity {
+ display: block;
+}
+.prose-diff.collapsed .rich-diff-level-zero.expandable .unchanged:not(.vicinity) {
+ display: none;
+}
+.prose-diff.collapsed .rich-diff-level-zero.expandable:first-child::before {
+ margin-top: 1em;
+}
+.prose-diff.collapsed .rich-diff-level-zero.expandable:before {
+ font-family: "octicons";
+ content: "\f039";
+ color: #d3d3d3;
+ display: block;
+ text-align: center;
+ font-size: 24px;
+ letter-spacing: 2px;
+ line-height: 0;
+ margin-top: 1em;
+ margin-bottom: 1em;
+ padding: 0;
+}
+.prose-diff.collapsed .rich-diff-level-zero.expandable:hover:before {
+ color: #000;
+}
+.prose-diff.collapsed .rich-diff-level-zero.expandable:only-child:before {
+ content: "Sorry, no visible changes to display.";
+ color: #d3d3d3;
+ font-size: 18px;
+}
+.prose-diff.collapsed .rich-diff-level-zero.expandable:only-child:hover:before {
+ color: #000;
+}
+.prose-diff.collapsed .rich-diff-level-zero.expandable>.removed, .prose-diff.collapsed .rich-diff-level-zero.expandable>del {
+ text-decoration: none;
+ display: none;
+}
+.prose-diff .markdown-body>ins {
+ box-shadow: inset 4px 0 0 #7fcb5c;
+}
+.prose-diff .markdown-body>del {
+ box-shadow: inset 4px 0 0 #c94114;
+ text-decoration: none;
+}
+.prose-diff .markdown-body>ins, .prose-diff .markdown-body>del {
+ display: block;
+ border-radius: 0;
+}
+.prose-diff .markdown-body>ins>.rich-diff-level-zero, .prose-diff .markdown-body>ins>.rich-diff-level-one, .prose-diff .markdown-body>del>.rich-diff-level-zero, .prose-diff .markdown-body>del>.rich-diff-level-one {
+ margin-left: 15px;
+}
+.prose-diff .markdown-body>ins:first-child *, .prose-diff .markdown-body>del:first-child * {
+ margin-top: 0;
+}
+.prose-diff .rich-diff-level-zero.added {
+ box-shadow: inset 4px 0 0 #7fcb5c;
+}
+.prose-diff .rich-diff-level-zero.removed {
+ box-shadow: inset 4px 0 0 #c94114;
+}
+.prose-diff .rich-diff-level-zero.changed {
+ box-shadow: inset 4px 0 0 #ffc045;
+}
+.prose-diff .rich-diff-level-zero.unchanged, .prose-diff .rich-diff-level-zero.vicinity {
+ margin-left: 15px;
+}
+.prose-diff .rich-diff-level-zero.added, .prose-diff .rich-diff-level-zero.removed, .prose-diff .rich-diff-level-zero.changed {
+ display: block;
+ border-radius: 0;
+}
+.prose-diff .rich-diff-level-zero.added>.rich-diff-level-one, .prose-diff .rich-diff-level-zero.removed>.rich-diff-level-one, .prose-diff .rich-diff-level-zero.changed>.rich-diff-level-one {
+ margin-left: 15px;
+}
+.prose-diff .rich-diff-level-zero.added:first-child *, .prose-diff .rich-diff-level-zero.removed:first-child *, .prose-diff .rich-diff-level-zero.changed:first-child * {
+ margin-top: 0;
+}
+.prose-diff :not(.changed)>:not(.github-user-ins):not(.github-user-del)>.removed, .prose-diff :not(.changed)>:not(.github-user-ins):not(.github-user-del)>del {
+ text-decoration: none;
+}
+.prose-diff .changed del, .prose-diff .changed del pre, .prose-diff .changed del code, .prose-diff .changed del>div, .prose-diff .changed .removed, .prose-diff .changed .removed pre, .prose-diff .changed .removed code, .prose-diff .changed .removed>div {
+ text-decoration: line-through;
+ color: #a33;
+ background: #ffeaea;
+}
+.prose-diff .changed ins, .prose-diff .changed ins code, .prose-diff .changed ins pre, .prose-diff .changed .added {
+ background: #eaffea;
+ border-bottom: 1px solid MediumSeaGreen;
+}
+.prose-diff>.markdown-body .github-user-ins {
+ text-decoration: underline;
+}
+.prose-diff>.markdown-body .github-user-del {
+ text-decoration: line-through;
+}
+.prose-diff>.markdown-body li ul.added {
+ background: #eaffea;
+}
+.prose-diff>.markdown-body li ul.removed {
+ color: #a33;
+ background: #ffeaea;
+}
+.prose-diff>.markdown-body li ul.removed:not(.github-user-ins) {
+ text-decoration: line-through;
+}
+.prose-diff>.markdown-body li.added.moved-up:before {
+ font-family: "octicons";
+ content: "\f03d ";
+ color: #d3d3d3;
+}
+.prose-diff>.markdown-body li.added.moved-down:before {
+ font-family: "octicons";
+ content: "\f03f ";
+ color: #d3d3d3;
+}
+.prose-diff>.markdown-body li.added.moved {
+ background: #ffffea;
+}
+.prose-diff>.markdown-body li.removed.moved {
+ display: none;
+}
+.prose-diff>.markdown-body pre {
+ padding: 10px 20px;
+}
+.prose-diff>.markdown-body th.changed, .prose-diff>.markdown-body td.changed {
+ border-left-color: #ddd;
+ background: #ffffea;
+}
+.prose-diff>.markdown-body :not(li.moved).removed {
+ color: #a33;
+ text-decoration: line-through;
+ background: #ffeaea;
+}
+.prose-diff>.markdown-body :not(.github-user-ins):not(li.moved).removed {
+ text-decoration: line-through;
+}
+.prose-diff>.markdown-body :not(li.moved).added, .prose-diff>.markdown-body li:not(.moved).added {
+ background: #eaffea;
+}
+.prose-diff>.markdown-body :not(.github-user-del):not(li.moved).added li:not(.moved):not(.github-user-del).added {
+ text-decoration: none;
+}
+.prose-diff>.markdown-body li:not(.moved).removed {
+ color: #a33;
+ background: #ffeaea;
+}
+.prose-diff>.markdown-body li:not(.moved):not(.github-user-ins).removed {
+ text-decoration: line-through;
+}
+.prose-diff>.markdown-body .added, .prose-diff>.markdown-body ins+.added, .prose-diff>.markdown-body ins {
+ border-bottom: 0;
+ border-top: 0;
+}
+.prose-diff>.markdown-body .added:not(.github-user-del):not(.github-user-ins), .prose-diff>.markdown-body ins+.added:not(.github-user-del):not(.github-user-ins), .prose-diff>.markdown-body ins:not(.github-user-del):not(.github-user-ins) {
+ text-decoration: none;
+}
+.prose-diff>.markdown-body img.added, .prose-diff>.markdown-body img.removed {
+ border-width: 1px;
+ border-style: solid;
+}
+.prose-diff>.markdown-body ins pre:not(.github-user-del):not(.github-user-ins), .prose-diff>.markdown-body ins code:not(.github-user-del):not(.github-user-ins), .prose-diff>.markdown-body ins>div:not(.github-user-del):not(.github-user-ins) {
+ text-decoration: none;
+}
+.prose-diff>.markdown-body ul>ins, .prose-diff>.markdown-body ul>del {
+ display: block;
+ padding: 0;
+}
+.prose-diff>.markdown-body .added>li, .prose-diff>.markdown-body .removed>li {
+ margin-top: 0;
+ margin-bottom: 0;
+}
+span.changed_tag, em.changed_tag, strong.changed_tag, b.changed_tag, i.changed_tag, code.changed_tag {
+ border-bottom: 1px dotted #808080;
+ border-radius: 0;
+}
+a.added_href, a.changed_href, span.removed_href {
+ border-bottom: 1px dotted #808080;
+ border-radius: 0;
+}
+.diff-view .file-type-prose .rich-diff {
+ display: none;
+}
+.diff-view .file-type-prose.display-rich-diff .rich-diff {
+ display: block;
+}
+.diff-view .file-type-prose.display-rich-diff .file-diff {
+ display: none;
+}
+.pull-request-tab-content {
+ display: none;
+}
+.pull-request-tab-content.is-visible {
+ display: block;
+}
+.discussion-timeline p.explain {
+ margin: 0;
+ font-size: 12px;
+}
+.pull-request-ref-restore {
+ display: none;
+}
+.pull-request-ref-restore .animated-ellipsis-container {
+ line-height: 16px;
+}
+.pull-request-ref-restore-text {
+ display: block;
+}
+.pull-discussion-timeline.is-pull-restorable .pull-request-ref-restore.last {
+ display: block;
+}
+.bubble {
+ border-radius: 3px;
+ border: 3px solid #eee;
+}
+.bubble .file-box {
+ margin-bottom: 0;
+}
+.signed-out-comment {
+ margin-top: 15px;
+ margin-left: 64px;
+ padding: 15px;
+ background-color: #fff9ea;
+ border: solid 1px #dfd8c2;
+ border-radius: 3px;
+}
+.signed-out-comment .button {
+ vertical-align: baseline;
+ margin-right: 3px;
+}
+.inline-comment-form .signed-out-comment {
+ margin: 5px;
+ padding: 0;
+ background-color: transparent;
+ border: 0;
+}
+.status:before {
+ opacity: 0.6;
+}
+.status:hover {
+ text-decoration: none;
+}
+.status:hover:before {
+ opacity: 1;
+}
+.status-unknown {
+ color: #999;
+}
+.status-error {
+ color: #666;
+}
+.status-failure {
+ color: #bd2c00;
+}
+.status-pending {
+ color: #cea61b;
+}
+.status-success {
+ color: #6cc644;
+}
+.stale-files-tab {
+ display: none;
+ margin-bottom: 10px;
+}
+.files-bucket {
+ margin-bottom: 15px;
+}
+.files-bucket.is-stale .stale-files-tab {
+ display: block;
+}
+.pull-request-link {
+ float: left;
+ margin-right: 5px;
+ font-size: 13px;
+ font-weight: bold;
+ padding: 0 8px;
+ height: 26px;
+ line-height: 26px;
+ border: 1px solid rgba(65, 131, 196, 0.5);
+ border-radius: 3px;
+}
+.pull-request-link:hover {
+ background: #4183c4;
+ border-color: #4183c4;
+ color: #fff;
+ text-decoration: none;
+}
+.header-with-actions {
+ position: relative;
+}
+.header-with-actions h3 {
+ margin-top: 5px;
+}
+.header-with-actions .select-menu {
+ float: right;
+ margin-top: -5px;
+}
+.header-with-actions .select-menu-modal-holder {
+ right: 0;
+}
+.header-with-actions .select-menu-modal {
+ width: 140px;
+}
+.pulse-blankslate {
+ margin-top: 20px;
+}
+.diffstat-summary {
+ font-size: 16px;
+ vertical-align: middle;
+ border-radius: 3px;
+ color: #777;
+ line-height: 1.8;
+ text-align: left;
+ padding: 0 20px 0 0;
+}
+.diffstat-summary a {
+ color: #555;
+}
+.diffstat-summary strong {
+ color: #333;
+}
+.pulse-graph {
+ border-bottom: 1px solid #eee;
+ float: left;
+ width: 50%;
+ padding: 15px 15px 0;
+}
+.pulse-graph:first-child {
+ border-right: 1px solid #eee;
+}
+.authors-and-code .insertions {
+ color: #6cc644;
+}
+.authors-and-code .deletions {
+ color: #bd2c00;
+}
+.authors-and-code .section {
+ height: 150px;
+ display: table-cell;
+ width: 459px;
+}
+.pulse-authors-graph {
+ position: relative;
+ height: 150px;
+}
+.pulse-authors-graph>svg {
+ width: 100%}
+.pulse-authors-graph .dots {
+ position: absolute;
+ top: 40px;
+ left: 0;
+ right: 0;
+ margin: 0 auto;
+ width: 64px;
+ height: 64px;
+}
+.pulse-authors-graph .bar rect {
+ fill: #f93;
+ fill-opacity: 0.7;
+}
+.pulse-authors-graph .bar rect:hover {
+ fill-opacity: 1;
+}
+.summary-stats li {
+ list-style-type: none;
+ display: table-cell;
+ margin: 0;
+ width: 229px;
+ text-align: center;
+ color: #999;
+ border-left: 1px solid #eee;
+}
+.summary-stats li a {
+ display: block;
+ text-decoration: none;
+ color: #999;
+ padding-bottom: 10px;
+}
+.summary-stats li a:hover {
+ background: #fafafa;
+}
+.summary-stats li .octicon-git-pull-request {
+ color: #6e5494;
+}
+.summary-stats li .octicon-git-branch {
+ color: #6cc644;
+}
+.summary-stats li .octicon-issue-closed {
+ color: #bd2c00;
+}
+.summary-stats li .octicon-issue-opened {
+ color: #6cc644;
+}
+.summary-stats li:first-child {
+ border-left: 0;
+ border-bottom-left-radius: 3px;
+}
+.summary-stats li .num {
+ display: block;
+ padding-top: 10px;
+ font-size: 16px;
+ font-weight: bold;
+ color: #000;
+}
+.pulse-sections {
+ clear: both;
+ margin-top: 20px;
+}
+.pulse-section {
+ clear: both;
+ padding: 0;
+ font-size: 14px;
+ color: #666;
+}
+.pulse-section p {
+ margin-top: 20px;
+}
+.radio-group:before {
+ display: table;
+ content: ""}
+.radio-group:after {
+ display: table;
+ clear: both;
+ content: ""}
+.radio-label {
+ padding: 0 10px;
+ height: 34px;
+ line-height: 34px;
+ padding-left: 34px;
+ border: 1px solid #d9d9d9;
+ margin-left: -1px;
+ color: #333;
+ cursor: pointer;
+ float: left;
+}
+:checked+.radio-label {
+ z-index: 1;
+ position: relative;
+ border-color: #4183c4;
+}
+.radio-label .octicon {
+ padding-right: 5px;
+}
+.radio-label:first-of-type {
+ border-top-left-radius: 3px;
+ border-bottom-left-radius: 3px;
+ margin-left: 0;
+}
+.radio-label:last-of-type {
+ border-top-right-radius: 3px;
+ border-bottom-right-radius: 3px;
+ padding-right: 16px;
+}
+.radio-input {
+ position: absolute;
+ height: 34px;
+ margin-left: 12px;
+ z-index: 3;
+}
+#readme.contributing>div {
+ max-height: 250px;
+ overflow: auto;
+}
+#readme .markdown-body, #readme .plain {
+ background-color: #fff;
+ border: 1px solid #ddd;
+ border-bottom-left-radius: 3px;
+ border-bottom-right-radius: 3px;
+ padding: 30px;
+ word-wrap: break-word;
+}
+#readme .plain pre {
+ font-size: 15px;
+ white-space: pre-wrap;
+}
+.file #readme .markdown-body {
+ border: 0;
+ padding: 30px;
+ border-radius: 0;
+}
+.file #readme table[data-table-type="yaml-metadata"] {
+ line-height: 1;
+ font-size: 12px;
+}
+.file #readme table[data-table-type="yaml-metadata"] table {
+ margin: 0;
+}
+.user-recommendations-header {
+ width: 550px;
+ margin-top: 40px;
+}
+.recommendations-intro-wrapper {
+ height: 96px;
+}
+.recommendations-outro {
+ padding: 0 100px;
+ color: #666;
+ border: solid 1px #eee;
+ border-radius: 3px;
+}
+.recommendations-complete {
+ display: none;
+ height: 104px;
+ padding: 14px 20px;
+ margin: 30px 0 45px;
+ font-size: 16px;
+ border: solid 1px #eee;
+ border-radius: 3px;
+}
+.user-recommendations-form {
+ margin: 30px 0;
+}
+.user-interests-label {
+ display: block;
+ margin-bottom: 10px;
+ font-size: 17px;
+ font-weight: bold;
+}
+.user-interests-input[type="text"] {
+ width: 100%;
+ min-height: 40px;
+ font-size: 16px;
+}
+.user-interests-examples-wrapper {
+ height: 21px;
+ margin-top: 13px;
+}
+.user-interests-examples {
+ margin: 0;
+ color: #777;
+}
+.user-interests-examples a {
+ color: #444;
+}
+.user-interests-list-wrapper {
+ height: 41px;
+}
+.skip-button-wrapper {
+ display: block;
+ text-align: center;
+}
+.button-skip {
+ height: 30px;
+ padding: 0 12px;
+ margin: 0 auto;
+ font-size: 13px;
+ font-weight: normal;
+ line-height: 30px;
+ color: #666;
+ background-color: transparent;
+ background-image: none;
+ border: 1px solid rgba(0, 0, 0, 0.1);
+ border-radius: 3px;
+}
+.button-skip:hover {
+ background-color: #f5f5f5;
+ background-image: none;
+ border-color: rgba(0, 0, 0, 0.15);
+}
+.user-interests-list {
+ width: 100%;
+ text-align: left;
+ list-style: none;
+}
+.user-interests-item {
+ position: relative;
+ float: left;
+ height: 41px;
+ min-height: 41px;
+ padding: 5px 8px 5px 10px;
+ margin: 8px;
+ font-size: 16px;
+ line-height: 30px;
+ background-color: #f5f5f5;
+ border-left: solid 10px #4183c4;
+ border-radius: 3px;
+}
+.user-interests-item.hidden {
+ visibility: hidden;
+}
+.user-interests-item.loading {
+ border-left: solid 10px #ddd;
+}
+.user-interests-item .spinner {
+ display: inline-block;
+ width: 16px;
+ height: 16px;
+ position: relative;
+ top: 1px;
+}
+.user-interests-item .octicon-x {
+ color: #aaa;
+}
+.user-interests-item .octicon-x:hover {
+ color: #4183c4;
+ text-decoration: none;
+}
+.remove-user-interest-form {
+ display: inline-block;
+}
+.user-interests-item-remove {
+ border: 0;
+ background-color: transparent;
+ outline: none;
+}
+.recommendations-wrapper {
+ display: table;
+ width: 100%;
+ margin-top: 30px;
+ border-collapse: collapse;
+ border-top: solid 1px #eee;
+}
+.recommendations-wrapper h2 {
+ margin-top: 30px;
+ font-size: 18px;
+}
+.recommendations-wrapper.disabled {
+ color: #ccc;
+}
+.recommendations-wrapper.no_users .recommendations-people {
+ display: none;
+}
+.recommendations-wrapper.only_repos_users .recommendations-guides, .recommendations-wrapper.only_repos_users .recommendations-showcases {
+ display: none;
+}
+.recommendations-wrapper.only_repos .recommendations-people, .recommendations-wrapper.only_repos .recommendations-guides, .recommendations-wrapper.only_repos .recommendations-showcases {
+ display: none;
+}
+.recommendations-left {
+ display: table-cell;
+ width: 50%;
+ padding-top: 10px;
+ padding-right: 30px;
+}
+.recommendations-right {
+ display: table-cell;
+ width: 50%;
+ padding-top: 10px;
+ padding-left: 30px;
+}
+.recommended-repos {
+ min-height: 500px;
+ margin-top: 20px;
+ list-style: none;
+}
+.recommended-repo-item {
+ position: relative;
+ padding-right: 80px;
+ padding-left: 50px;
+ margin-bottom: 30px;
+}
+.recommended-repo-item .starring-container {
+ position: absolute;
+ top: 0;
+ right: 0;
+ float: right;
+}
+.recommended-repo-item .author-avatar {
+ float: left;
+ margin-top: 5px;
+ margin-left: -50px;
+ border-radius: 3px;
+}
+.recommended-repo-item .repo-meta {
+ margin-top: 5px;
+ font-size: 13px;
+ color: #999;
+}
+.recommended-repo-item .meta-info {
+ margin-right: 10px;
+}
+.recommended-repo-item .repo-title {
+ margin-bottom: 4px;
+ font-size: 23px;
+}
+.recommended-repo-item .repo-title .repo-author {
+ font-weight: normal;
+}
+.recommended-repo-item .repo-title .separator {
+ margin: 0 3px;
+ font-weight: normal;
+ color: #666;
+}
+.recommended-repo-item .repo-description {
+ margin-bottom: 4px;
+ font-size: 15px;
+ line-height: 1.4;
+}
+.recommended-repo-item.placeholder .author-avatar {
+ width: 40px;
+ height: 40px;
+ border: dashed 2px #ccc;
+}
+.recommended-repo-item.placeholder .repo-info {
+ position: relative;
+ top: 4px;
+ display: block;
+ height: 100px;
+ border: dashed 2px #ccc;
+ border-radius: 3px;
+}
+.language-circle {
+ position: relative;
+ top: -2px;
+ display: inline-block;
+ width: 12px;
+ height: 12px;
+ vertical-align: middle;
+ border-radius: 50%}
+.recommended-guides {
+ margin-top: 22px;
+ list-style: none;
+}
+.recommended-guide-item {
+ margin-bottom: 10px;
+ font-size: 23px;
+}
+.recommended-guide-item .mega-octicon {
+ position: relative;
+ top: -2px;
+ color: #aaa;
+ vertical-align: middle;
+}
+.recommended-guide-item.placeholder {
+ height: 48px;
+ border: dashed 2px #ccc;
+ border-radius: 3px;
+}
+.recommended-people-wrapper {
+ display: table;
+ width: 100%;
+ border-collapse: collapse;
+}
+.recommended-people-left, .recommended-people-right {
+ display: table-cell;
+ width: 48%}
+.recommended-people-left {
+ padding-right: 2%}
+.recommended-people-right {
+ padding-left: 2%}
+.recommended-people {
+ list-style: none;
+}
+.recommended-person-item {
+ padding-left: 50px;
+ margin-bottom: 20px;
+ font-size: 18px;
+}
+.recommended-person-item .user-following-container {
+ margin-top: 5px;
+}
+.recommended-person-item .avatar {
+ position: relative;
+ top: 5px;
+ float: left;
+ margin-left: -50px;
+}
+.recommended-person-item .person-meta {
+ margin-top: 4px;
+ font-size: 13px;
+ color: #999;
+}
+.recommended-person-item .meta-info {
+ margin-right: 10px;
+}
+.recommended-person-item.placeholder .avatar {
+ width: 40px;
+ height: 40px;
+ border: dashed 2px #ccc;
+}
+.recommended-person-item.placeholder .person-placeholder {
+ position: relative;
+ top: 5px;
+ display: inline-block;
+ width: 140px;
+ height: 40px;
+ border: dashed 2px #ccc;
+ border-radius: 3px;
+}
+.recommended-showcase-link {
+ display: table;
+ float: left;
+ width: 48%;
+ margin-bottom: 4%;
+ color: #fff;
+}
+.recommended-showcase-link:nth-child(2n+1) {
+ margin-left: 4%}
+.recommended-showcase {
+ display: table-cell;
+ height: 100px;
+ font-size: 16px;
+ text-align: center;
+ vertical-align: middle;
+ border-radius: 3px;
+}
+.releases-tag-list {
+ width: 100%;
+ margin-bottom: 20px;
+ border-top: 1px solid #eee;
+}
+.releases-tag-list tr {
+ border-bottom: 1px solid #eee;
+}
+.releases-tag-list td {
+ padding: 12px 0;
+ vertical-align: top;
+}
+.releases-tag-list td.date {
+ padding-right: 10px;
+ white-space: nowrap;
+}
+.releases-tag-list td.date a {
+ color: #999;
+}
+.releases-tag-list td.main {
+ padding-right: 10px;
+}
+.releases-tag-list td.ancillary {
+ white-space: nowrap;
+ text-align: right;
+}
+.releases-tag-list h4 {
+ margin: 0;
+ font-size: 14px;
+}
+.releases-tag-list p {
+ margin: 0;
+ color: #999;
+ font-size: 13px;
+}
+.releases-tag-list p a {
+ color: #666;
+ font-weight: bold;
+}
+.tag-info h3 {
+ margin-top: 0;
+ margin-bottom: 0;
+ font-size: 14px;
+ line-height: 20px;
+}
+.tag-info h3 a {
+ color: #666;
+}
+.tag-info h3 a .tag-name {
+ color: #000;
+}
+.tag-references {
+ margin: 0;
+ list-style-type: none;
+ font-size: 13px;
+}
+.tag-references>li {
+ margin-right: 10px;
+ display: inline-block;
+}
+.tag-references>li.commit {
+ font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
+ font-size: 12px;
+ line-height: 20px;
+}
+.tag-references>li a {
+ color: #999;
+ text-decoration: none;
+}
+.tag-references>li a:hover {
+ color: #4183c4;
+}
+.release-downloads {
+ margin: 15px -5px 0;
+ list-style-type: none;
+}
+.release-downloads li {
+ display: inline-block;
+ margin: 5px;
+}
+.release-timeline {
+ position: relative;
+ border-top: 1px solid #eee;
+}
+.release-timeline-tags {
+ list-style-type: none;
+}
+.release-timeline-tags>li {
+ display: block;
+}
+.release-timeline-tags>li:before {
+ display: table;
+ content: ""}
+.release-timeline-tags>li:after {
+ display: table;
+ clear: both;
+ content: ""}
+.release-timeline-tags .date, .release-timeline-tags .main {
+ position: relative;
+ float: left;
+ padding: 20px;
+}
+.release-timeline-tags .main {
+ width: 80%;
+ border-left: 2px solid #eee;
+}
+.release-timeline-tags .date {
+ width: 20%;
+ line-height: 40px;
+ text-align: right;
+ color: #999;
+ padding-left: 0;
+}
+.release-timeline-tags .date:after {
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+ content: " ";
+ display: block;
+ position: absolute;
+ top: 50%;
+ right: -7px;
+ z-index: 10;
+ width: 12px;
+ height: 12px;
+ margin-top: -6px;
+ background-color: #eee;
+ border: 2px solid #fff;
+ border-radius: 6px;
+}
+.release-timeline-tags .octicon-tag {
+ padding-left: 5px;
+ color: #ccc;
+}
+.release-timeline-tags .expander {
+ position: relative;
+ display: none;
+}
+.release-timeline-tags .expander .date {
+ padding-right: 35px;
+ line-height: 20px;
+}
+.release-timeline-tags .expander .date:after {
+ display: none;
+}
+.release-timeline-tags .expander .main {
+ padding-left: 35px;
+ line-height: 20px;
+}
+.release-timeline-tags.is-collapsed .expander {
+ display: block;
+}
+.release-timeline-tags.is-collapsed>.collapsable {
+ display: none;
+}
+.release-timeline-tags .expander-dots {
+ position: absolute;
+ top: 18px;
+ left: -22px;
+ width: 44px;
+ text-align: center;
+ background-color: #eee;
+ border: 2px solid #fff;
+ border-radius: 4px;
+ z-index: 10;
+ cursor: pointer;
+}
+.release-timeline-tags .expander-dots .expander-dot {
+ display: inline-block;
+ margin-top: -2px;
+ width: 4px;
+ height: 4px;
+ vertical-align: middle;
+ border-radius: 2px;
+ background-color: #999;
+}
+.release-timeline-tags .expander-text {
+ font-weight: bold;
+ color: #666;
+ cursor: pointer;
+}
+.release-timeline-tags .expander-text:hover {
+ color: #4183c4;
+}
+.release-timeline-tags .expander-text:hover .expander-dots {
+ background-color: #4183c4;
+}
+.release-timeline-tags .expander-text:hover .expander-dots .expander-dot {
+ background-color: #fff;
+}
+.release:before {
+ display: table;
+ content: ""}
+.release:after {
+ display: table;
+ clear: both;
+ content: ""}
+.release .tag-references {
+ margin-top: 8px;
+}
+.release .tag-references>li {
+ display: block;
+ margin: 0 0 5px;
+}
+.release-meta {
+ float: left;
+ width: 20%;
+ padding: 40px 20px;
+ text-align: right;
+ vertical-align: top;
+}
+.release-body {
+ float: left;
+ width: 80%;
+ padding: 40px 20px;
+ border-left: 2px solid #eee;
+}
+.release-body .commit-desc pre {
+ white-space: pre-line;
+}
+.release-title {
+ margin: 0 60px 0 0;
+}
+.release-edit {
+ float: right;
+}
+.release-authorship {
+ margin-top: 5px;
+ margin-bottom: 20px;
+ font-size: 14px;
+ color: #999;
+}
+.release-authorship a {
+ font-weight: bold;
+ color: #666;
+}
+.release-label {
+ display: inline-block;
+ margin-top: 1px;
+ margin-bottom: 10px;
+ padding: 5px 10px;
+ font-size: 14px;
+ font-weight: bold;
+ color: #fff;
+ background-color: #000;
+ border-radius: 3px;
+}
+.release-label.latest {
+ background-color: #6cc644;
+}
+.release-label.draft {
+ background-color: #bd2c00;
+}
+.release-label.prerelease {
+ background-color: #f93;
+}
+.release-label a {
+ color: #fff;
+}
+.tag-detail {
+ margin: 20px 0;
+ padding: 12px 0 0 50px;
+ border-top: 1px solid #ddd;
+}
+.tag-detail .octicon-tag {
+ float: left;
+ margin: 10px 0 0 -50px;
+ color: #bbb;
+}
+.tag-detail h2 {
+ margin: 10px 0 5px;
+ font-size: 20px;
+ font-weight: normal;
+}
+.tag-detail h2 .tag-name {
+ font-weight: bold;
+}
+.tag-detail p {
+ margin: 0 0 15px;
+ font-size: 16px;
+ color: #999;
+}
+.tag-detail .rule {
+ margin-top: 25px;
+ border-color: #eee;
+}
+.tag-detail .downloads .minibutton {
+ margin-right: 10px;
+}
+.tag-detail .downloads .octicon {
+ margin-right: 0;
+ vertical-align: 0;
+}
+.tag-detail .tag-references {
+ margin: 15px 0;
+ font-size: 14px;
+ font-weight: bold;
+}
+.tag-detail .tag-references>li {
+ margin-right: 20px;
+}
+.tag-detail .tag-references>li a {
+ color: #4183c4;
+}
+.new-release .sidebar h3 {
+ margin: 40px 0 -10px;
+ font-size: 14px;
+}
+.new-release .sidebar h3:first-child {
+ margin-top: 15px;
+}
+.new-release .default, .new-release .saved, .new-release .saving, .new-release .error {
+ display: none;
+}
+.new-release .error {
+ color: #bd2c00;
+}
+.new-release .is-default .default {
+ display: inline-block;
+}
+.new-release .is-saving .saving {
+ display: inline-block;
+}
+.new-release .is-saving .saving img {
+ vertical-align: top;
+}
+.new-release .is-saved .saved {
+ display: inline-block;
+}
+.drop-target .mega-octicon {
+ vertical-align: middle;
+ color: #e5e5e5;
+}
+.drop-target p {
+ padding: 16px 0;
+ height: 65px;
+ font-size: 14px;
+ text-align: center;
+ border-color: #ddd;
+ border-style: dashed;
+}
+.drop-target .octospinner {
+ vertical-align: middle;
+}
+.uploaded-files {
+ background: #fff;
+ border-top-right-radius: 3px;
+ border-top-left-radius: 3px;
+}
+.uploaded-files.not-populated+.drop-target p {
+ border-top-right-radius: 3px;
+ border-top-left-radius: 3px;
+ border-top: dashed 1px #ccc;
+}
+.uploaded-files.is-populated {
+ border: 1px solid #ddd;
+ border-bottom-color: #e5e5e5;
+}
+.uploaded-files.is-populated+.drop-target p {
+ border-top-right-radius: 0;
+ border-top-left-radius: 0;
+ border-top: 0;
+}
+.uploaded-files>li {
+ list-style-type: none;
+ margin: 0;
+ padding: 8px 10px;
+ border-top: 1px solid #eee;
+ line-height: 22px;
+}
+.uploaded-files>li.template {
+ display: none;
+}
+.uploaded-files>li .delete-pending {
+ display: none;
+}
+.uploaded-files>li.delete {
+ background: #f9f9f9;
+ color: #999;
+}
+.uploaded-files>li.delete:nth-child(2) {
+ border-top-right-radius: 3px;
+ border-top-left-radius: 3px;
+}
+.uploaded-files>li.delete .delete-pending {
+ display: block;
+}
+.uploaded-files>li.delete .live {
+ display: none;
+}
+.uploaded-files>li.delete .filename {
+ color: #bd2c00;
+}
+.uploaded-files>li:nth-child(2) {
+ border-top: 0;
+}
+.uploaded-files .filename {
+ font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
+ font-size: 11px;
+}
+.uploaded-files .filesize {
+ font-size: 12px;
+ color: #999;
+}
+.uploaded-files input[type=text] {
+ width: 490px;
+ margin-right: 6px;
+ padding: 2px 4px;
+ border-radius: 2px;
+}
+.uploaded-files .remove {
+ float: right;
+ margin-top: 2px;
+ color: #999;
+}
+.uploaded-files .remove:hover {
+ color: #bd2c00;
+}
+.uploaded-files .undo {
+ float: right;
+}
+.upload-progress {
+ background: #fff;
+ border: 0;
+ border-radius: 30px;
+ box-shadow: 0 1px 1px #fff, inset 0 1px 1px rgba(255, 255, 255, 0.5);
+ height: 3px;
+ margin-top: 3px;
+ position: relative;
+}
+.upload-progress .upload-meter {
+ background-color: #58b8f4;
+ background-image: -webkit-linear-gradient(#8dd2f7, #58b8f4);
+ background-image: linear-gradient(#8dd2f7, #58b8f4);
+ background-repeat: repeat-x;
+ border-radius: 30px;
+ height: 100%;
+ position: absolute;
+ top: 0;
+}
+.release-body-form .previewable-comment-form .comment-form-head.tabnav {
+ padding: 0;
+ background-color: transparent;
+}
+.release-body-form .previewable-comment-form .write-content, .release-body-form .previewable-comment-form .preview-content {
+ padding: 0 0 10px;
+}
+.release-tag-form .for-loading, .release-tag-form .for-empty, .release-tag-form .for-valid, .release-tag-form .for-invalid, .release-tag-form .for-duplicate, .release-tag-form .for-pending {
+ display: none;
+}
+.release-tag-form.is-loading .for-loading {
+ display: block;
+}
+.release-tag-form.is-empty .for-empty {
+ display: block;
+}
+.release-tag-form.is-valid .for-valid {
+ display: block;
+}
+.release-tag-form.is-invalid .for-invalid {
+ display: block;
+}
+.release-tag-form.is-duplicate .for-duplicate {
+ display: block;
+}
+.release-tag-form.is-pending .for-pending {
+ display: block;
+}
+.release-target-wrapper {
+ display: inline-block;
+}
+.release-target-wrapper.hidden {
+ display: none;
+}
+.releases-target-menu {
+ display: inline-block;
+ margin-left: 5px;
+}
+.releases-target-menu .minibutton {
+ line-height: 32px;
+}
+.releases-target-menu .select-menu-button:before {
+ top: 14px;
+}
+.release-show {
+ border-top: 1px solid #eee;
+}
+.release-show .release-edit {
+ display: none;
+}
+.render-container {
+ background: #ddd;
+ text-align: center;
+ padding: 30px;
+ line-height: 0;
+}
+.render-container .render-viewer {
+ border: 0;
+ display: none;
+ width: 100%;
+ height: 100%}
+.render-container .octospinner {
+ display: none;
+}
+.render-container .render-viewer-error, .render-container .render-viewer-fatal, .render-container .render-viewer-invalid {
+ display: none;
+}
+.render-container.is-render-automatic .octospinner {
+ display: inline-block;
+}
+.render-container.is-render-requested .octospinner {
+ display: inline-block;
+}
+.render-container.is-render-requested.is-render-failed .render-viewer-error {
+ display: inline-block;
+}
+.render-container.is-render-requested.is-render-failed .render-viewer, .render-container.is-render-requested.is-render-failed .render-viewer-fatal, .render-container.is-render-requested.is-render-failed .render-viewer-invalid, .render-container.is-render-requested.is-render-failed .octospinner {
+ display: none;
+}
+.render-container.is-render-requested.is-render-failed-fatal .render-viewer-fatal {
+ display: inline-block;
+}
+.render-container.is-render-requested.is-render-failed-fatal .render-viewer, .render-container.is-render-requested.is-render-failed-fatal .render-viewer-error, .render-container.is-render-requested.is-render-failed-fatal .render-viewer-invalid .octospinner {
+ display: none;
+}
+.render-container.is-render-requested.is-render-failed-invalid .render-viewer-invalid {
+ display: inline-block;
+}
+.render-container.is-render-requested.is-render-failed-invalid .render-viewer, .render-container.is-render-requested.is-render-failed-invalid .render-viewer-error, .render-container.is-render-requested.is-render-failed-invalid .render-viewer-fatal, .render-container.is-render-requested.is-render-failed-invalid .octospinner {
+ display: none;
+}
+.render-container.is-render-ready.is-render-requested:not(.is-render-failed) {
+ background: none;
+ height: 500px;
+ padding: 0;
+}
+.render-container.is-render-ready.is-render-requested:not(.is-render-failed) .render-viewer {
+ display: block;
+}
+.render-container.is-render-ready.is-render-requested:not(.is-render-failed) .render-viewer-error, .render-container.is-render-ready.is-render-requested:not(.is-render-failed) .render-viewer-fatal, .render-container.is-render-ready.is-render-requested:not(.is-render-failed) .octospinner {
+ display: none;
+}
+.render-notice {
+ padding: 20px 15px;
+ font-size: 14px;
+ color: #4c4a42;
+ background-color: #fff9ea;
+ border-color: #dfd8c2;
+}
+.pagehead.repohead.mirror h1, .pagehead.repohead.fork h1 {
+ margin-top: -5px;
+ margin-bottom: 15px;
+ height: auto;
+}
+.pagehead.repohead h1 {
+ color: #666;
+ padding-left: 34px;
+ position: relative;
+ float: left;
+}
+.pagehead.repohead h1.private .mega-octicon:before {
+ color: #e9dba5;
+}
+.pagehead.repohead h1 .octicon-lock, .pagehead.repohead h1 .octicon-repo, .pagehead.repohead h1 .octicon-mirror, .pagehead.repohead h1 .octicon-repo-forked, .pagehead.repohead h1 .octicon-gist, .pagehead.repohead h1 .octicon-gist-secret {
+ position: absolute;
+ left: 0;
+ top: 12px;
+ line-height: 32px;
+ margin-top: -13px;
+ color: #bbb;
+}
+.pagehead.repohead .octicon-mirror {
+ left: -3px;
+}
+.pagehead.repohead .octicon-lock {
+ top: 10px;
+}
+.pagehead.repohead span.fork-flag, .pagehead.repohead span.mirror-flag {
+ display: block;
+ font-size: 11px;
+ line-height: 10px;
+ white-space: nowrap;
+}
+.mini-repo-list {
+ list-style: none;
+}
+.mini-repo-list>li:first-child .mini-repo-list-item {
+ border-top: 0;
+}
+.mini-repo-list>li:last-child .mini-repo-list-item {
+ border-bottom-left-radius: 3px;
+ border-bottom-right-radius: 3px;
+ border-bottom-left-radius: 3px;
+}
+.mini-repo-list .no-repo {
+ padding: 15px;
+ color: #999;
+ text-align: center;
+}
+.mini-repo-list .repo-name {
+ font-weight: bold;
+}
+.mini-repo-list-item {
+ position: relative;
+ display: block;
+ padding: 6px 64px 6px 30px;
+ font-size: 14px;
+ border-top: 1px solid #e5e5e5;
+}
+.mini-repo-list-item:hover {
+ text-decoration: none;
+}
+.mini-repo-list-item:hover .repo, .mini-repo-list-item:hover .owner {
+ text-decoration: underline;
+}
+.mini-repo-list-item .repo-icon {
+ float: left;
+ margin-top: 2px;
+ margin-left: -20px;
+ color: #666;
+}
+.mini-repo-list-item .repo-and-owner {
+ max-width: 220px;
+}
+.mini-repo-list-item .owner {
+ max-width: 110px;
+}
+.mini-repo-list-item .repo {
+ font-weight: bold;
+}
+.mini-repo-list-item .stars {
+ position: absolute;
+ top: 0;
+ right: 10px;
+ margin-top: 6px;
+ font-size: 12px;
+ color: #888;
+}
+.mini-repo-list-item .repo-description {
+ display: block;
+ max-width: 100%;
+ font-size: 12px;
+ color: #777;
+ line-height: 21px;
+}
+.popular-repos .mini-repo-list-item .stars {
+ margin-top: 16px;
+}
+.popular-repos .no-description .mini-repo-list-item {
+ padding-top: 17px;
+ padding-bottom: 16px;
+}
+.private .mini-repo-list-item {
+ background-color: #fff9ea;
+}
+.private .mini-repo-list-item .repo-icon {
+ color: #a1882b;
+}
+.filter-bar {
+ padding: 10px;
+ background-color: #fafafa;
+ border-bottom: 1px solid #e5e5e5;
+}
+.filter-bar:before {
+ display: table;
+ content: ""}
+.filter-bar:after {
+ display: table;
+ clear: both;
+ content: ""}
+.filter-bar .filter-input {
+ width: 100%;
+ min-height: 26px;
+ padding: 3px 10px;
+ font-size: 11px;
+ border-radius: 12px;
+}
+.user-repos .filter-bar {
+ text-align: center;
+}
+.filter-repos {
+ padding-bottom: 0;
+}
+.repo-filterer {
+ display: inline-block;
+ margin-top: 6px;
+ list-style: none;
+}
+.repo-filterer li {
+ display: inline-block;
+}
+.repo-filterer .repo-filter {
+ display: inline-block;
+ padding: 5px 5px 6px;
+ margin-right: 5px;
+ font-size: 11px;
+ color: #777;
+ border-bottom: 2px solid transparent;
+}
+.repo-filterer .repo-filter:hover {
+ text-decoration: none;
+ border-bottom-color: #e5e5e5;
+}
+.repo-filterer .repo-filter.filter-selected {
+ color: #333;
+ text-decoration: none;
+ border-bottom-color: #d26911;
+ outline: none;
+}
+.more-repos {
+ text-align: center;
+ box-shadow: inset 0 1px 0 #e5e5e5;
+}
+.more-repos img {
+ margin: 11px auto;
+}
+.more-repos-link {
+ display: block;
+ padding: 10px;
+ color: #7ba9d6;
+}
+.more-repos-link:hover {
+ color: #4183c4;
+ text-decoration: none;
+}
+.more-repos-link.is-loading {
+ text-indent: -9999px;
+ cursor: default;
+ background-image: url(/assets/spinners/octocat-spinner-16px-02c482dbba2151bb2d7a30af56d0c7513f12449d504f7a57f200d9e534b112ff.gif);
+ background-repeat: no-repeat;
+ background-position: center center;
+}
+@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 2dppx) {
+ .more-repos-link.is-loading {
+ background-image: url(/assets/spinners/octocat-spinner-32-e513294efa576953719e4e2de888dd9cf929b7d62ed8d05f25e731d02452ab6c.gif);
+ background-size: 16px 16px;
+}
+}.empty-repo {
+ font-size: 14px;
+}
+.empty-repo .url-box {
+ display: block;
+ width: 100%;
+ height: auto;
+ padding: 0;
+ margin: 0;
+ border: 0;
+}
+.empty-repo .clone-urls {
+ width: 100%}
+.empty-repo .or-text {
+ margin-right: 5px;
+ margin-left: 5px;
+}
+.empty-repo-setup-option .copyable-terminal-content {
+ font-size: 14px;
+}
+.empty-repo-setup-option h3 {
+ margin-top: 0;
+}
+.empty-repo-setup-option p:last-child {
+ margin-bottom: 0;
+}
+#change_default_branch {
+ clear: left;
+}
+#change_default_branch dt, #change_default_branch dd {
+ float: left;
+}
+#change_default_branch dt {
+ margin: 0 30px 0 0;
+}
+.timeout {
+ width: auto;
+ height: 300px;
+ padding: 0;
+ margin: 20px 0;
+ background-color: transparent;
+ border: 0;
+}
+.timeout h3 {
+ padding-top: 100px;
+ color: #999;
+}
+.repo-container {
+ min-height: 345px;
+}
+.repo-nav .counter {
+ display: none;
+}
+.repo-nav .full-word {
+ display: none;
+}
+.with-full-navigation .repo-nav .counter {
+ display: block;
+}
+.with-full-navigation .repo-nav .full-word {
+ display: inline-block;
+ width: 128px;
+ vertical-align: top;
+}
+.only-with-full-nav {
+ display: none;
+}
+.with-full-navigation .only-with-full-nav {
+ display: block;
+}
+.repository-with-sidebar:before {
+ display: table;
+ content: ""}
+.repository-with-sidebar:after {
+ display: table;
+ clear: both;
+ content: ""}
+.repository-with-sidebar .repository-sidebar {
+ float: right;
+ width: 38px;
+}
+.repository-with-sidebar .repository-sidebar .sidebar-button {
+ width: 100%;
+ margin: 0 0 10px;
+ text-align: center;
+}
+.repository-with-sidebar .repository-sidebar h3 {
+ margin-bottom: 5px;
+ font-size: 11px;
+ font-weight: normal;
+ color: #999;
+}
+.repository-with-sidebar .repository-sidebar .clone-url {
+ display: none;
+ margin-top: -5px;
+}
+.repository-with-sidebar .repository-sidebar .clone-url.open {
+ display: block;
+}
+.repository-with-sidebar .repository-sidebar .clone-options {
+ margin: 8px 0 15px;
+ font-size: 11px;
+ color: #666;
+}
+.repository-with-sidebar .repository-sidebar .clone-options .octicon-question {
+ position: relative;
+ bottom: 1px;
+ font-size: 11px;
+ color: #000;
+ cursor: pointer;
+}
+.repository-with-sidebar .repository-content {
+ float: left;
+ width: 920px;
+}
+.repository-with-sidebar.with-full-navigation .repository-content {
+ width: 790px;
+}
+.repository-with-sidebar.with-full-navigation .repository-sidebar {
+ width: 170px;
+}
+.repository-with-sidebar.with-full-navigation .sunken-menu-group .tooltipped:before, .repository-with-sidebar.with-full-navigation .sunken-menu-group .tooltipped:after {
+ display: none;
+}
+.overall-summary {
+ position: relative;
+ margin-bottom: 10px;
+ border: 1px solid #ddd;
+ border-radius: 3px;
+}
+.overall-summary-bottomless {
+ margin-bottom: 0;
+ border-bottom: 0;
+ border-radius: 3px 3px 0 0;
+}
+.numbers-summary li {
+ display: table-cell;
+ width: 1%;
+ padding: 0;
+ margin: 0;
+ text-align: center;
+ white-space: nowrap;
+ list-style-type: none;
+}
+.numbers-summary a, .numbers-summary .nolink {
+ display: block;
+ padding: 10px 0;
+ color: #999;
+ text-decoration: none;
+}
+.numbers-summary .octicon {
+ opacity: 0.5;
+}
+.numbers-summary a:hover {
+ color: #4183c4;
+}
+.numbers-summary a:hover .num {
+ color: inherit;
+}
+.repo-private-label {
+ display: inline-block;
+ padding: 4px 5px 3px;
+ font-size: 11px;
+ font-weight: 300;
+ line-height: 11px;
+ color: #a1882b;
+ text-transform: uppercase;
+ vertical-align: middle;
+ background-color: #ffefc6;
+ border-radius: 3px;
+}
+.repository-meta {
+ margin: 0 0 13px;
+}
+.repository-meta:before {
+ display: table;
+ content: ""}
+.repository-meta:after {
+ display: table;
+ clear: both;
+ content: ""}
+.repository-meta p {
+ margin: 0;
+}
+.repository-meta .repository-description {
+ display: inline;
+ font-size: 16px;
+ color: #666;
+ word-wrap: break-word;
+}
+.repository-meta .repository-website {
+ display: inline-block;
+ font-size: 16px;
+}
+.repository-meta .edit-link {
+ font-size: 16px;
+ color: #999;
+}
+.repository-meta .edit-link a {
+ color: #999;
+}
+.repository-meta .repo-description-field {
+ width: 380px;
+}
+.repository-meta .repo-website-field {
+ width: 270px;
+}
+.repository-meta .edit-repository-meta {
+ display: none;
+ margin-bottom: 5px;
+}
+.repository-meta .edit-repository-meta .field {
+ display: inline-block;
+ margin-right: 5px;
+}
+.repository-meta .edit-repository-meta label {
+ display: block;
+ margin-bottom: 6px;
+ font-weight: bold;
+ color: #333;
+}
+.repository-meta.open .repository-description, .repository-meta.open .repository-website, .repository-meta.open .edit-link {
+ display: none;
+}
+.repository-meta.open .edit-repository-meta {
+ display: block;
+}
+.file-navigation:before {
+ display: table;
+ content: ""}
+.file-navigation:after {
+ display: table;
+ clear: both;
+ content: ""}
+.file-navigation .select-menu, .file-navigation .button-group, .file-navigation .breadcrumb {
+ margin-bottom: 10px;
+}
+.file-navigation.in-mid-page {
+ margin-top: 10px;
+}
+.file-navigation .select-menu {
+ margin-right: 10px;
+}
+.file-navigation .breadcrumb {
+ float: left;
+ margin-top: 0;
+}
+.file-navigation .button-group {
+ margin-left: 10px;
+}
+.file-navigation .compare-button {
+ margin-right: 5px;
+}
+.minibutton.compact .octicon {
+ margin-right: 2px;
+}
+.iconbutton .octicon {
+ margin-right: 0;
+}
+.file-wrap {
+ margin-bottom: 10px;
+ border: 1px solid #ddd;
+ border-top: 0;
+ border-bottom-right-radius: 3px;
+ border-bottom-left-radius: 3px;
+}
+.file-wrap .include-fragment-error {
+ display: none;
+}
+.file-wrap.is-error .include-fragment-error {
+ display: table-row;
+}
+table.files {
+ width: 100%;
+ background: #f8f8f8;
+ border-radius: 2px;
+}
+table.files td {
+ padding: 6px 3px;
+ line-height: 20px;
+ border-top: 1px solid #eee;
+}
+table.files td.icon {
+ width: 17px;
+ padding-right: 2px;
+ padding-left: 10px;
+ color: #777;
+}
+table.files td.icon .octicon-file-directory {
+ color: #80a6cd;
+}
+table.files td.icon .spinner {
+ position: relative;
+ top: 3px;
+ display: none;
+ margin-top: -3px;
+ margin-left: -2px;
+}
+table.files td .simplified-path {
+ color: #888;
+}
+table.files td .css-truncate {
+ max-width: 100%}
+table.files td.content {
+ max-width: 180px;
+}
+table.files td.message {
+ max-width: 442px;
+ padding-left: 10px;
+ overflow: hidden;
+ color: #888;
+}
+table.files td.message .emoji {
+ vertical-align: top;
+}
+table.files td.message a {
+ color: #888;
+}
+table.files td.message a:hover {
+ color: #4183c4;
+}
+table.files td.age {
+ max-width: 140px;
+ padding-right: 10px;
+ color: #888;
+ text-align: right;
+ white-space: nowrap;
+}
+table.files tr.is-loading td.icon .octicon {
+ display: none;
+}
+table.files tr.is-loading td.icon .spinner {
+ display: inline-block;
+}
+table.files tr.up-tree {
+ border-bottom: 1px solid #eee;
+}
+table.files tr.up-tree a {
+ padding: 3px 6px;
+ margin-left: -3px;
+ font-weight: bold;
+ border-radius: 2px;
+}
+table.files tr.up-tree a:hover {
+ background-color: #eee;
+}
+table.files tbody tr:first-child td {
+ border-top: 0;
+}
+.branch-infobar {
+ padding: 8px 8px 7px;
+ font-size: 11px;
+ font-weight: bold;
+ color: #999;
+ background: #fafafa;
+ border: 1px solid #ccc;
+ border-top-left-radius: 3px;
+ border-top-right-radius: 3px;
+}
+.branch-infobar p {
+ float: left;
+ margin: 0;
+}
+.branch-infobar .lightweight-actions {
+ float: right;
+ list-style-type: none;
+}
+.branch-infobar .lightweight-actions>li {
+ display: inline-block;
+ margin: 0 0 0 10px;
+}
+.branch-infobar .lightweight-actions>li a {
+ color: #999;
+ text-decoration: none;
+}
+.branch-infobar .lightweight-actions>li a:hover {
+ color: #333;
+}
+.branch-infobar .lightweight-actions>li .octicon {
+ font-size: 14px;
+ color: #bbb;
+}
+.branch-infobar+.commit-tease {
+ border-top: 0;
+ border-radius: 0;
+}
+.url-box {
+ width: 100%;
+ margin-top: 10px;
+ margin-left: -10px;
+ padding: 10px 10px 0;
+ border-top: 1px solid #ddd;
+ height: 26px;
+}
+.url-box p {
+ float: left;
+ margin: 0 0 0 5px;
+ height: 26px;
+ line-height: 26px;
+ font-size: 11px;
+ color: #666;
+}
+.url-box p strong {
+ color: #000;
+}
+.clone-urls {
+ display: table;
+ float: left;
+ width: 585px;
+}
+.clone-url-button {
+ display: table-cell;
+ width: 1%;
+ vertical-align: top;
+}
+.clone-url-button:first-child a {
+ border-top-left-radius: 3px;
+ border-bottom-left-radius: 3px;
+}
+.clone-url-button>a {
+ position: relative;
+ display: block;
+ padding: 0 9px;
+ margin-right: -1px;
+ font-size: 11px;
+ font-weight: bold;
+ line-height: 24px;
+ color: #333;
+ text-decoration: none;
+ text-shadow: 0 1px 0 #fff;
+ background-color: #eaeaea;
+ background-image: -webkit-linear-gradient(#fafafa, #eaeaea);
+ background-image: linear-gradient(#fafafa, #eaeaea);
+ background-repeat: repeat-x;
+ border: 1px solid #ccc;
+ white-space: nowrap;
+ cursor: pointer;
+}
+.clone-url-button>a:hover, .clone-url-button>a:active {
+ z-index: 3;
+ color: #fff;
+ text-decoration: none;
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
+ background-color: #3072b3;
+ background-image: -webkit-linear-gradient(#599bcd, #3072b3);
+ background-image: linear-gradient(#599bcd, #3072b3);
+ background-repeat: repeat-x;
+ border-color: #2a65a0;
+}
+.clone-url-button>a:active {
+ background-color: #3072b3;
+ background-image: none;
+ border-color: #25588c;
+ box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.15);
+}
+.clone-url-button+.clone-url-button>a {
+ box-shadow: inset 1px 0 0 #fff;
+}
+.clone-url-button+.clone-url-button>a:hover {
+ box-shadow: none;
+}
+.clone-url-button+.clone-url-button>a:active {
+ box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.15);
+}
+.clone-url-button.selected>a, .clone-url-button.selected>a:hover {
+ z-index: 2;
+ color: #333;
+ text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
+ border-color: #bbb;
+ background-image: none;
+ background-color: #ccc;
+ background-color: #d5d5d5;
+ background-image: -webkit-linear-gradient(#ccc, #d5d5d5);
+ background-image: linear-gradient(#ccc, #d5d5d5);
+ background-repeat: repeat-x;
+ box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.075);
+}
+input.url-field {
+ position: relative;
+ width: 100%;
+ min-height: 26px;
+ padding: 0 5px;
+ font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
+ font-size: 12px;
+ border-radius: 0;
+}
+input.url-field:focus {
+ z-index: 2;
+}
+.url-box-clippy .zeroclipboard-button {
+ border-radius: 0 3px 3px 0;
+ border-left: 0;
+ margin-left: 0 !important;
+}
+.pagehead.repohead .select-menu-button.with-count {
+ float: none;
+}
+.pagehead.repohead .select-menu .social-count {
+ float: right;
+}
+.pagehead.repohead .select-menu .select-menu-modal-holder {
+ z-index: 25;
+}
+.auth-overview .sum {
+ font-weight: bold;
+}
+.auth-section {
+ padding: 15px 0;
+ border-top: 1px solid #eee;
+}
+.auth-section:first-child {
+ border-top: 0;
+}
+.auth-section:last-child {
+ padding-bottom: 0;
+}
+.auth-section .inline-error {
+ color: #999;
+}
+.audit-log-activity {
+ height: 75px;
+}
+.audit-log-activity .audit-day rect {
+ fill: #1db34f;
+ shape-rendering: crispedges;
+}
+.audit-log-activity .audit-day .bar-base {
+ fill: #777;
+}
+.audit-log-activity text {
+ fill: #777;
+ font-size: 10px;
+ text-anchor: middle;
+}
+.audit-log-map-container {
+ position: relative;
+ margin-bottom: 10px;
+}
+.audit-log-map-container .activity {
+ position: absolute;
+ text-align: center;
+ z-index: 99999;
+ top: 120px;
+ left: 450px;
+ display: none;
+}
+.audit-log-map-container .is-graph-loading .activity {
+ display: block;
+}
+.audit-search-form {
+ position: relative;
+ margin-top: -8px;
+ background: #fff;
+ border-radius: 2px;
+}
+.audit-search-form:before {
+ display: table;
+ content: ""}
+.audit-search-form:after {
+ display: table;
+ clear: both;
+ content: ""}
+.audit-search-form .subnav-search-input {
+ width: 390px;
+}
+.audit-search-form .suggester-container {
+ top: 0;
+ left: 0;
+}
+.audit-log-map {
+ overflow: hidden;
+ height: 325px;
+ border-radius: 3px;
+ box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.2);
+ background-color: #4183c4;
+}
+.map-background {
+ fill: #4183c4;
+ cursor: -webkit-grab;
+ cursor: -moz-grab;
+ cursor: -ie-grab;
+ cursor: grab;
+ pointer-events: all;
+}
+.land {
+ fill: none;
+ stroke: #256aae;
+ stroke-width: 2;
+ shape-rendering: crispedges;
+}
+.country {
+ cursor: pointer;
+ fill: #d7c7ad;
+ shape-rendering: crispedges;
+}
+.country.hk {
+ stroke: #a5967e;
+}
+.country:hover {
+ fill: #c8b28e;
+}
+.country.active {
+ fill: #f6e5ca;
+}
+.borders {
+ fill: none;
+ stroke: #a5967e;
+ shape-rendering: crispedges;
+}
+.graticule {
+ pointer-events: none;
+ fill: none;
+ stroke: #fff;
+ stroke-opacity: 0.2;
+ shape-rendering: crispedges;
+}
+.graticule :nth-child(2n) {
+ stroke-dasharray: 2, 2;
+}
+.security-map-legend circle {
+ stroke: #fff;
+ stroke-width: 1.5;
+ fill-opacity: 0;
+}
+.security-map-legend text {
+ fill: #fff;
+ font-size: 10px;
+ text-anchor: end;
+}
+.security-map-legend .link {
+ stroke-width: 1.5;
+ stroke: #fff;
+}
+.audit-point {
+ pointer-events: none;
+ fill: #bd2c00;
+ fill-opacity: 0.8;
+ stroke: #bd2c00;
+}
+.country-info {
+ opacity: 0;
+ position: absolute;
+ top: 10px;
+ right: 10px;
+ padding: 10px;
+ pointer-events: none;
+ background: rgba(255, 255, 255, 0.9);
+ border-radius: 2px;
+}
+.audit-log-search {
+ position: relative;
+ margin-top: 25px;
+}
+.audit-log-search .member-info {
+ width: 500px;
+}
+.audit-log-search .member-info .member-avatar {
+ float: left;
+ margin-right: 15px;
+}
+.audit-log-search .member-info .member-link {
+ display: inline-block;
+}
+.audit-log-search .member-info .member-list-avatar {
+ margin-right: 0;
+}
+.audit-log-search .member-info .ghost {
+ color: #777;
+ display: inline-block;
+}
+.audit-log-search .audit-action-info {
+ margin-left: 50px;
+}
+.audit-log-search .audit-action-info a {
+ color: #4183c4;
+}
+.audit-log-search .blankslate {
+ border-top-left-radius: 0;
+ border-top-right-radius: 0;
+}
+.audit-results-header {
+ padding: 15px 10px 15px 15px;
+ border: 1px solid #dcdcdc;
+ border-bottom: 0;
+ background-color: #f7f7f7;
+ border-top-left-radius: 3px;
+ border-top-right-radius: 3px;
+}
+.audit-results-header h2 {
+ display: inline-block;
+ padding: 0;
+ margin: 0;
+ font-size: 16px;
+}
+.audit-search-clear {
+ padding: 10px;
+ border: 1px solid #e5e5e5;
+ border-bottom: 0;
+}
+.audit-search-clear .issues-reset-query {
+ margin-bottom: 0;
+}
+.audit-action-info {
+ margin-top: 3px;
+ font-weight: normal;
+ font-size: 12px;
+ color: #999;
+}
+.audit-action-info .context {
+ color: #333;
+}
+.audit-type {
+ width: 200px;
+ text-overflow: ellipsis;
+ overflow: hidden;
+ white-space: nowrap;
+}
+.audit-type .octicon {
+ float: left;
+ margin-right: 3px;
+ font-weight: normal;
+}
+.audit-type .repo {
+ color: #f93;
+}
+.audit-type .team {
+ color: #6cc644;
+}
+.audit-type .user {
+ color: #6e5494;
+}
+.audit-type .oauth_access {
+ color: #bd2c00;
+}
+.audit-type .hook {
+ color: #e1bf4e;
+}
+.context-loader-container .large-format-loader {
+ position: fixed;
+ top: 0;
+ left: 0;
+ bottom: 0;
+ right: 0;
+ padding-top: 190px;
+ background: rgba(255, 255, 255, 0.8);
+ z-index: 9999;
+ text-align: center;
+ color: #999;
+}
+.profile-picture {
+ margin: 10px 0 0;
+}
+.profile-picture p {
+ float: left;
+ margin-top: 7px;
+}
+.profile-picture img {
+ float: left;
+ margin: 0 10px 0 0;
+ border-radius: 3px;
+}
+.app-owner {
+ margin: 10px 0 -10px;
+}
+.edit-profile-avatar .drag-and-drop {
+ padding: 0;
+ color: #666;
+ border-width: 0;
+}
+.edit-profile-avatar input {
+ cursor: pointer;
+}
+.edit-profile-avatar.is-bad-file {
+ border: 0;
+}
+.edit-profile-avatar .manual-file-chooser {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 146px;
+ height: 34px;
+ margin-left: 0;
+ padding: 0;
+ cursor: pointer;
+}
+.button-change-profile-picture {
+ overflow: hidden;
+}
+.croppable-avatar {
+ display: none;
+}
+.profile-picture-cropper {
+ max-width: 400px;
+ text-align: center;
+ margin: 0 auto 15px;
+}
+.profile-picture-cropper>img {
+ max-width: 100%}
+.profile-picture-cropper .jcrop-holder {
+ display: inline-block;
+}
+.profile-picture-spinner {
+ display: inline-block;
+ background-image: url(/assets/spinners/octocat-spinner-128-338974454bb5c32803e82f601beb051d373744b024fe8742a76009700fd7e033.gif);
+ background-repeat: no-repeat;
+ background-position: center;
+ background-size: 64px 64px;
+}
+.profile-picture-spinner.hidden {
+ display: none;
+}
+.avatar-upload {
+ float: left;
+ width: 340px;
+ margin-left: 20px;
+}
+.avatar-upload .flash {
+ width: 100%;
+ padding: 30px 15px;
+ border: dashed 1px #bd2c00;
+ box-shadow: none;
+}
+.avatar-upload .upload-state {
+ display: none;
+ padding: 10px 0;
+}
+.avatar-upload .upload-state p {
+ margin: 0;
+ font-size: 12px;
+ color: #999;
+}
+.avatar-upload .avatar-upload .octicon {
+ display: inline-block;
+}
+.is-default .avatar-upload .default {
+ display: block;
+}
+.is-uploading .avatar-upload .loading {
+ display: block;
+ padding: 0;
+}
+.is-uploading .avatar-upload .loading img {
+ vertical-align: top;
+}
+.is-uploading .avatar-upload .button-change-profile-picture {
+ display: none;
+}
+.is-bad-file .avatar-upload .bad-file {
+ display: block;
+ margin: 0;
+}
+.is-too-big .avatar-upload .too-big {
+ display: block;
+ margin: 0;
+}
+.is-bad-dimensions .avatar-upload .bad-dimensions {
+ display: block;
+ margin: 0;
+}
+.is-failed .avatar-upload .failed-request {
+ display: block;
+ margin: 0;
+}
+dl.new-email-form {
+ padding: 10px 10px 0;
+ margin: 0 -10px 10px;
+ border-top: 1px solid #e5e5e5;
+}
+span.label.default {
+ margin-left: 4px;
+ padding: 4px 6px;
+ background-color: #6cc644;
+ color: #fff;
+ border-radius: 3px;
+}
+span.label.visibility {
+ margin-left: 4px;
+ padding: 4px 6px;
+ background-color: #999;
+ color: #fff;
+ border-radius: 3px;
+}
+.email-actions {
+ float: right;
+}
+.email-actions>span {
+ float: left;
+}
+.email-actions form {
+ display: inline;
+}
+.email-actions span.label {
+ font-size: 13px;
+ color: #999;
+ padding: 0 10px;
+}
+.email-actions .octicon-alert {
+ color: #ca5633;
+}
+.boxed-group .fork-flag {
+ margin-left: 16px;
+ font-size: 12px;
+ color: #999;
+}
+li.ssh-key {
+ position: relative;
+ line-height: 18px;
+ padding: 15px;
+}
+li.ssh-key .button {
+ float: right;
+ margin-top: 4px;
+}
+li.ssh-key .team-label-ldap {
+ float: right;
+}
+li.ssh-key .ssh-key-state-indicator {
+ float: left;
+ width: 8px;
+ height: 8px;
+ margin-top: 10px;
+ border-radius: 5px;
+}
+li.ssh-key .ssh-key-state-indicator.recent {
+ background-color: #6cc644;
+ box-shadow: 0 0 10px rgba(108, 198, 68, 0.5);
+}
+li.ssh-key .ssh-key-state-indicator.not-recent {
+ box-shadow: 0 1px 0 #fff;
+ background-color: #ccc;
+ background-image: -webkit-linear-gradient(#aaa, #ccc);
+ background-image: linear-gradient(#aaa, #ccc);
+ background-repeat: repeat-x;
+}
+li.ssh-key .ssh-key-icon {
+ float: left;
+ width: 32px;
+ margin-top: 1px;
+ margin-left: 15px;
+ text-align: center;
+}
+.ssh-key-details {
+ position: relative;
+ margin-left: 70px;
+ margin-right: 150px;
+}
+.ssh-key-details .ssh-key-title {
+ display: block;
+ max-width: 360px;
+}
+.ssh-key-fingerprint {
+ display: block;
+ font-weight: normal;
+ color: #999;
+}
+#notification-center .overview {
+ padding: 0 10px 10px;
+ border-bottom: 1px solid #ddd;
+}
+.oauth-stats dl.keys {
+ float: right;
+ margin: 0;
+ text-align: right;
+}
+.oauth-stats dl.keys dt {
+ color: #999;
+ font-weight: bold;
+}
+.oauth-stats dl.keys dd {
+ color: #333;
+ font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
+}
+.user-count {
+ float: left;
+ margin: 12px 0 0;
+ font-size: 36px;
+ color: #999;
+ font-weight: 300;
+}
+.access-token-group .boxed-group-inner .help {
+ margin-top: 0;
+}
+.access-token .zeroclipboard-link {
+ display: inline-block;
+}
+.access-token.new-token {
+ background-color: rgba(108, 198, 68, 0.1);
+}
+.access-token.new-token .octicon-check {
+ color: #6cc644;
+}
+.access-token .token-description {
+ max-width: 450px;
+}
+.access-token .token {
+ font-size: 14px;
+}
+.token-scope {
+ display: inline-block;
+ width: 220px;
+ margin: 0;
+ padding: 5px 0 5px 20px;
+ color: #333;
+}
+.boxed-group.authorized-applications .boxed-action {
+ color: #999;
+ font-size: 12px;
+ line-height: 25px;
+}
+.callback-urls dl dd input[type=text] {
+ width: 100%}
+.callback-urls.has-many .callback-url-action-cell {
+ display: table-cell;
+}
+.callback-description {
+ margin-top: 20px;
+}
+.callback-description .octicon {
+ padding-left: 0;
+}
+.callback-url .label {
+ display: none;
+ width: 64px;
+ text-align: center;
+}
+.callback-url.is-default-callback .label {
+ display: inline-block;
+}
+.callback-url.is-default-callback .button {
+ display: none;
+}
+.callback-url-wrap {
+ display: table;
+ width: 100%}
+.callback-url-field-cell {
+ display: table-cell;
+}
+.callback-url-action-cell {
+ display: none;
+ width: 70px;
+ text-align: right;
+}
+.boxed-group.application-show-group .logo-upload {
+ float: right;
+ width: 142px;
+ background-color: #eee;
+ position: relative;
+}
+.boxed-group.application-show-group .logo-upload a.delete {
+ position: absolute;
+ right: 0;
+ padding: 5px;
+ display: none;
+}
+.boxed-group.application-show-group .logo-upload a.delete:hover {
+ color: #bd2c00;
+}
+.boxed-group.application-show-group .logo-box {
+ border: 1px solid #ccc;
+ border-top-left-radius: 3px;
+ border-top-right-radius: 3px;
+ height: 140px;
+}
+.boxed-group.application-show-group .logo-box img {
+ height: 140px;
+ width: 140px;
+ border-radius: 2px 2px 0 0;
+ display: none;
+}
+.boxed-group.application-show-group .logo-placeholder {
+ height: 140px;
+ width: 140px;
+ color: #999;
+ text-align: center;
+ text-shadow: 0 1px 0 #fff;
+}
+.boxed-group.application-show-group .logo-placeholder span {
+ margin: 45px 0 0;
+}
+.boxed-group.application-show-group .logo-placeholder p {
+ margin: 0;
+ font-size: 16px;
+}
+.boxed-group.application-show-group .has-uploaded-logo .logo-placeholder, .boxed-group.application-show-group .has-uploaded-logo .or {
+ display: none;
+}
+.boxed-group.application-show-group .has-uploaded-logo:hover a.delete {
+ display: block;
+}
+.boxed-group.application-show-group .has-uploaded-logo .logo-box img {
+ display: block;
+}
+.boxed-group.application-show-group dl.form>dd input[type="text"].wide {
+ width: 460px;
+}
+.boxed-group.application-show-group dl.form>dd input[type="textarea"].short {
+ height: 50px;
+ min-height: 50px;
+}
+.application-show-group .errored .note {
+ display: none;
+}
+.application-show-group .drag-and-drop {
+ padding: 8px 5px 7px;
+ text-align: center;
+}
+.application-show-group .drag-and-drop img {
+ vertical-align: bottom;
+ margin-bottom: 1px;
+}
+.application-show-group .drag-and-drop span {
+ padding: 0;
+}
+.application-show-group .dragover .logo-box {
+ box-shadow: #c9ff00 0 0 3px;
+}
+.application-show-group .is-uploading .loading {
+ display: block;
+}
+.application-show-group .is-uploading .default {
+ display: none;
+}
+.application-show-group .is-failed .failed-request {
+ display: block;
+}
+.application-show-group .is-failed .default {
+ display: none;
+}
+.application-show-group .is-bad-file .bad-file {
+ display: block;
+}
+.application-show-group .is-bad-file .default {
+ display: none;
+}
+.application-show-group .is-too-big .file-too-big {
+ display: block;
+}
+.application-show-group .is-too-big .default {
+ display: none;
+}
+.application-show-group .is-default .default {
+ display: block;
+}
+.security-history .security-history-timestamp {
+ float: right;
+ color: #999;
+}
+table.security-history-detail {
+ width: 100%;
+ font-size: 12px;
+}
+table.security-history-detail td {
+ max-width: 200px;
+ word-wrap: break-word;
+}
+.org-two-factor .button {
+ float: right;
+ margin: 10px 0 0 20px;
+}
+.org-two-factor .flash-global {
+ margin-top: 0;
+}
+.two-factor-disabled .flash-global {
+ display: block;
+}
+.settings-email .email-actions .settings-remove-email {
+ float: right;
+ margin-left: 5px;
+ padding-right: 7px;
+ padding-left: 7px;
+ line-height: 24px;
+ color: #bd2c00;
+}
+.settings-email .email-actions .settings-disabled-remove-email {
+ display: none;
+}
+.settings-email:only-child .email-actions .settings-remove-email {
+ display: none;
+}
+.settings-email:only-child .email-actions .settings-disabled-remove-email {
+ display: block;
+ cursor: default;
+ color: #999;
+}
+.settings-email .octicon-info {
+ padding-left: 5px;
+}
+.settings-email .public.label {
+ display: inline;
+}
+.settings-email .private.label {
+ display: none;
+}
+.settings-email.private .public.label {
+ display: none;
+}
+.settings-email.private .private.label {
+ display: inline;
+}
+#unsubscribe-from-newsletter .supportocat {
+ float: left;
+}
+#unsubscribe-from-newsletter .message {
+ position: absolute;
+ left: 350px;
+ top: 50px;
+}
+#unsubscribe-from-newsletter .message p {
+ font-size: 200%}
+.two-factor-intro {
+ width: 675px;
+ margin: 40px auto 0;
+}
+.two-factor-intro .two-factor-graphic {
+ margin: 20px 0;
+}
+.two-factor-intro .two-factor-explain {
+ margin: 0 0 40px;
+ padding: 0;
+ font-size: 13px;
+ list-style: none;
+}
+.two-factor-intro .two-factor-explain li {
+ float: left;
+ margin: 0;
+ padding: 0;
+}
+.two-factor-intro .two-factor-explain .step-one {
+ width: 185px;
+ margin-right: 36px;
+}
+.two-factor-intro .two-factor-explain .step-two {
+ width: 230px;
+ margin-right: 42px;
+}
+.two-factor-intro .two-factor-explain .step-three {
+ width: 180px;
+}
+.two-factor-graphic {
+ background-image: url(/assets/modules/settings/2fa_guide-3c188ba15910cb9b5de719af02485c4c05fe4f0b6bda9294033e3b259c4959c1.png);
+ background-repeat: no-repeat;
+ width: 675px;
+ height: 135px;
+}
+@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 2dppx) {
+ .two-factor-graphic {
+ background-image: url(/assets/modules/settings/2fa_guide@2x-788aa5a06405e2b719c556b083ef305ac5a64f772a09eb43890fd478f5c5f927.png);
+ background-size: 675px 135px;
+}
+}.yubicat-box .yubicat-device {
+ margin-bottom: 10px;
+}
+.yubicat-box .yubicat-device .yubicat-device-success {
+ margin-left: 10px;
+ color: #55a532;
+}
+.yubicat-box .yubicat-device .yubicat-device-success .octicon {
+ color: #6cc644;
+}
+.yubicat-box .yubicat-device .yubicat-device-details {
+ display: inline-block;
+ vertical-align: middle;
+ background-color: #e8f0f8;
+ border-radius: 3px;
+ line-height: 26px;
+ color: rgba(0, 0, 0, 0.5);
+ padding: 0 8px;
+}
+.yubicat-box .yubicat-device .yubicat-device-details .yubicat-device-id {
+ font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
+ font-weight: bold;
+}
+.yubicat-box .yubicat-device .yubicat-device-details .octicon {
+ position: relative;
+ top: 1px;
+}
+.yubicat-box .yubicat-device .yubicat-delete {
+ text-decoration: none;
+}
+.yubicat-box .yubicat-device .yubicat-delete .octicon {
+ width: 16px;
+ text-align: center;
+}
+.yubicat-box .yubicat-device.is-sending .yubicat-delete {
+ display: none;
+}
+.yubicat-box .yubicat-device.is-sending .spinner {
+ position: relative;
+ top: 3px;
+}
+.yubicat-box .new-yubicat {
+ position: relative;
+}
+.yubicat-box .new-yubicat .yubicat-otp-field {
+ width: 320px;
+}
+.yubicat-box .new-yubicat .add-yubicat-form {
+ display: none;
+}
+.yubicat-box .new-yubicat.is-active .add-yubicat-link {
+ display: none;
+}
+.yubicat-box .new-yubicat.is-active .add-yubicat-form {
+ display: block;
+}
+.yubicat-box .new-yubicat.is-sending .spinner {
+ position: absolute;
+ top: 8px;
+ left: 296px;
+}
+.yubicat-box .new-yubicat.is-showing-error .fallback-error-message {
+ display: block;
+}
+.yubicat-box .new-yubicat .flash {
+ padding: 10px;
+ margin-bottom: 10px;
+}
+.markdown-body .sms-or-app {
+ width: 100%;
+ margin: 0;
+ padding: 40px 0 0;
+ border-top: 1px solid #ddd;
+}
+.markdown-body .sms-or-app:before {
+ display: table;
+ content: ""}
+.markdown-body .sms-or-app:after {
+ display: table;
+ clear: both;
+ content: ""}
+.markdown-body .sms-or-app li {
+ float: left;
+ width: 325px;
+ padding: 0;
+ list-style: none;
+}
+.markdown-body .sms-or-app li:first-child {
+ margin-right: 25px;
+}
+.markdown-body .sms-or-app li .button {
+ display: block;
+ text-align: center;
+ margin: 10px 0;
+ padding-top: 12px;
+ padding-bottom: 12px;
+ font-size: 15px;
+ height: 100%;
+ width: 100%}
+.markdown-body .sms-or-app small {
+ font-size: 80%}
+.markdown-body .app-only {
+ padding: 20px 0 0;
+}
+.markdown-body .app-only li {
+ float: none;
+ width: auto;
+}
+.markdown-body .app-only li .button {
+ display: inline-block;
+ width: auto;
+ padding-left: 20px;
+ padding-right: 20px;
+}
+.two-factor-setup-container {
+ width: 600px;
+ margin: 0 auto;
+}
+.two-factor-setup-container .form label {
+ font-style: normal;
+}
+.two-factor-setup-container .form dd {
+ margin: 0;
+ padding: 0;
+}
+.two-factor-setup-container .octicon-alert {
+ color: #bd2c00;
+}
+.two-factor-setup-container .error-icon {
+ position: relative;
+ left: 5px;
+ top: 2px;
+ color: #bd2c00;
+}
+.two-factor-setup-container .sent-message {
+ position: relative;
+ left: 5px;
+ top: 2px;
+ color: #6cc644;
+}
+.two-factor-setup-container .select-menu {
+ float: left;
+}
+.two-factor-setup-container .select-menu .minibutton {
+ padding-top: 4px;
+ padding-bottom: 4px;
+ margin-right: 5px;
+}
+.two-factor-setup-container .select-menu .minibutton input[type="radio"], .two-factor-setup-container .select-menu .minibutton .country {
+ display: none;
+}
+.two-factor-setup-container .select-menu .minibutton .country-code {
+ width: auto;
+}
+.two-factor-setup-container .select-menu .select-menu-button:before {
+ top: 14px;
+}
+.two-factor-setup-container .select-menu .country-code {
+ display: inline-block;
+ margin-right: 8px;
+ width: 35px;
+}
+.container.two-factor-toggle {
+ width: 700px;
+}
+.two-factor-step-container {
+ margin: 0 0 20px;
+ font-size: 86.6667%}
+.two-factor-step-container .sms-form .form {
+ margin-left: 15px;
+}
+.two-factor-step-container .form label {
+ color: #777;
+}
+.two-factor-step-container:last-of-type {
+ margin-bottom: 0;
+ padding-bottom: 0;
+ border-bottom: 0;
+}
+.two-factor-step-container h4 {
+ margin: 0;
+ font-size: 13px;
+}
+.two-factor-step-container p:last-child {
+ margin-bottom: 0;
+}
+.two-factor-toggle {
+ margin-top: 40px;
+}
+.two-factor-toggle .two-factor-status {
+ padding: 20px 0;
+ margin: 0 0 20px;
+ border-bottom: 1px solid #eaeaea;
+ color: #777;
+}
+.two-factor-toggle .two-factor-status p {
+ margin: 0;
+}
+.two-factor-toggle .two-factor-status button {
+ position: relative;
+ top: -3px;
+ float: right;
+ background: none;
+ border: 0;
+ color: #4183c4;
+ font-weight: normal;
+}
+.two-factor-toggle .two-factor-on {
+ margin-right: 5px;
+ padding: 3px 5px;
+ border-radius: 2px;
+ background-color: #6cc644;
+ color: #fff;
+ text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
+}
+.two-factor-settings-group {
+ position: relative;
+ margin: 0 0 20px;
+ padding: 0 0 20px 220px;
+ border-bottom: 1px solid #ddd;
+}
+.two-factor-settings-group h3 {
+ position: absolute;
+ top: -15px;
+ left: 0;
+ width: 200px;
+ font-size: 14px;
+}
+.two-factor-settings-group h3 .octicon {
+ position: absolute;
+ left: -24px;
+ color: #bd2c00;
+}
+.two-factor-settings-group li {
+ list-style: none;
+ line-height: 1.5;
+}
+.github-access-banner {
+ position: relative;
+ margin: 0 0 20px;
+ padding: 10px 20px 10px 70px;
+ border: 1px solid #ddd;
+ border-radius: 3px;
+ font-size: 14px;
+}
+.github-access-banner .mega-octicon {
+ position: absolute;
+ left: 20px;
+ top: 20px;
+ color: #bd2c00;
+}
+#facebox .backup-list {
+ margin: 0;
+ padding: 10px;
+ border: 1px solid #dbdbdb;
+ border-radius: 3px;
+ background: #fafafa;
+ font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
+ font-size: 14px;
+ line-height: 1.4;
+ text-align: left;
+ box-shadow: inset 0 0 8px #eee;
+}
+.error-icon, .spinner, .sent-message, .sms-error-message, .fallback-error-message, #text-code {
+ display: none;
+}
+.is-sending .spinner {
+ display: inline-block;
+}
+.is-sent .sent-message {
+ display: inline-block;
+}
+.is-not-sent .sms-error-message {
+ display: block;
+}
+.is-not-sent .error-icon {
+ display: inline-block;
+}
+.two-factor-secret {
+ font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
+ font-size: 13px;
+}
+.markdown-body .qr-code-table, .qr-code-table {
+ width: auto;
+ float: right;
+ margin: 0 0 0 40px;
+ border: 1px solid #ddd;
+}
+.markdown-body .qr-code-table tr, .qr-code-table tr {
+ background: transparent;
+ border: 0;
+}
+.markdown-body .qr-code-table th, .markdown-body .qr-code-table td, .qr-code-table th, .qr-code-table td {
+ border: 0;
+ padding: 0;
+}
+.markdown-body .qr-code-table td, .qr-code-table td {
+ width: 3px;
+ height: 3px;
+}
+.markdown-body .qr-code-table .black, .qr-code-table .black {
+ background: #000;
+}
+.markdown-body .qr-code-table .white, .qr-code-table .white {
+ background: #fff;
+}
+.markdown-body .two-factor-actions {
+ clear: both;
+ padding: 20px 0 0;
+ margin: 20px 0 0;
+ border-top: 1px solid #eaeaea;
+ font-size: 13px;
+}
+.markdown-body .two-factor-actions ul {
+ width: 600px;
+ margin: 0;
+ padding: 0;
+}
+.markdown-body .two-factor-actions li {
+ list-style: none;
+ display: inline-block;
+ margin-right: 10px;
+}
+.two-factor-banner {
+ position: relative;
+ padding-left: 60px;
+ margin: 40px auto;
+ width: 700px;
+ background: #fff;
+ border: 1px solid #ddd;
+ color: #444;
+}
+.two-factor-banner:hover {
+ border-color: #ddd;
+}
+.two-factor-banner .mega-octicon {
+ position: absolute;
+ top: 15px;
+ left: 15px;
+ color: #bd2c00;
+}
+.two-factor-banner h2 {
+ margin-top: 0;
+ line-height: 32px;
+}
+.two-factor-banner p {
+ margin-top: 0;
+}
+.two-factor-mini-banner {
+ display: block;
+ width: 100%;
+ margin: 0 0 20px;
+ padding: 15px 15px 15px 42px;
+ background: #fff;
+}
+.two-factor-mini-banner .minibutton {
+ position: relative;
+ top: -4px;
+ float: right;
+}
+.two-factor-mini-banner p {
+ margin-bottom: 0;
+ line-height: 1.5;
+}
+.two-factor-mini-banner .octicon {
+ position: absolute;
+ top: 15px;
+ left: 15px;
+ color: #bd2c00;
+}
+.orgs-settings {
+ margin-bottom: 15px;
+}
+.confirmation-phrase {
+ font-weight: normal;
+ font-style: italic;
+}
+.do-not-copy-me {
+ -webkit-touch-callout: none;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+}
+li.session-device {
+ position: relative;
+ line-height: 18px;
+ padding: 15px;
+ background-color: #fafafa;
+ color: #999;
+}
+li.session-device .button {
+ float: right;
+ margin-top: 4px;
+}
+li.session-device .session-state-indicator {
+ float: left;
+ width: 8px;
+ height: 8px;
+ margin-top: 10px;
+ border-radius: 5px;
+}
+li.session-device .session-state-indicator.recent {
+ background-color: #6cc644;
+ box-shadow: 0 0 10px rgba(108, 198, 68, 0.5);
+}
+li.session-device .session-state-indicator.not-recent {
+ box-shadow: 0 1px 0 #fff;
+ background-color: #ccc;
+ background-image: -webkit-linear-gradient(#aaa, #ccc);
+ background-image: linear-gradient(#aaa, #ccc);
+ background-repeat: repeat-x;
+}
+li.session-device .session-icon {
+ float: left;
+ width: 32px;
+ margin-top: 1px;
+ margin-left: 15px;
+ text-align: center;
+ color: #bbb;
+}
+li.session-device .sessions-more-info {
+ position: relative;
+ display: none;
+ margin-top: 10px;
+}
+li.session-device.session-current {
+ background-color: #fff;
+}
+li.session-device.session-current .session-last-accessed {
+ color: #777;
+}
+li.session-device.session-current .sessions-more-info {
+ color: #777;
+}
+li.session-device.session-current .sessions-more-info:after {
+ border-top-color: #fff;
+}
+li.session-device.session-current .mega-octicon {
+ color: #777;
+}
+.session-details {
+ position: relative;
+ width: 350px;
+ margin-left: 70px;
+}
+.session-details:hover .octicon {
+ color: #4183c4;
+ cursor: pointer;
+}
+.session-details.open .sessions-more-info {
+ display: block;
+}
+.session-title {
+ display: block;
+}
+.collaborators .collab-list {
+ border-bottom-width: 0;
+}
+.collaborators .collab-list-item:first-child .collab-list-cell {
+ border-top-width: 0;
+}
+.collaborators .collab-list-cell {
+ padding-top: 15px;
+ padding-bottom: 15px;
+ vertical-align: middle;
+}
+.collaborators .collab-meta {
+ width: 140px;
+}
+.collaborators .collab-permission {
+ text-align: center;
+}
+.collaborators .collab-remove {
+ padding-right: 20px;
+ text-align: right;
+}
+.collaborators .collab-remove .remove-link {
+ color: #999;
+}
+.collaborators .collab-remove .remove-link:hover {
+ color: #bd2c00;
+}
+.collaborators .collab-team-link {
+ width: 300px;
+}
+.collaborators .collab-team-link:hover {
+ text-decoration: none;
+}
+.collaborators .collab-team-link .avatar {
+ float: left;
+ margin-top: 1px;
+ margin-right: 10px;
+}
+.collaborators .collab-info {
+ color: #666;
+}
+.collaborators .collab-info .description {
+ padding-right: 50px;
+ margin-top: 3px;
+ margin-bottom: 3px;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+}
+.collaborators .collab-info .collab-name {
+ display: block;
+ font-size: 14px;
+}
+.access-sub-heading {
+ float: right;
+ font-weight: normal;
+ line-height: 1.4;
+ color: #777;
+}
+.access-form-wrapper {
+ padding: 10px;
+ background-color: #fcfcfc;
+ border-top: 1px solid #ddd;
+}
+.access-form-wrapper .access-team-select {
+ max-width: 180px;
+}
+.access-flash {
+ display: none;
+ margin-bottom: 10px;
+ margin-left: 10px;
+ margin-right: 10px;
+ padding: 8px;
+}
+.access-scope-label {
+ display: inline-block;
+ border-radius: 4px;
+ padding: 3px 5px;
+ color: #fff;
+ text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.2);
+ margin: 5px 2px;
+ opacity: 0.8;
+}
+.access-scope-label.repo-scope {
+ background: #e80c02;
+}
+.access-scope-label.public-repo-scope {
+ background: #ff9e00;
+}
+.access-scope-label.user-scope {
+ background: #666;
+}
+.access-scope-label.gist-scope {
+ background: #6cc644;
+}
+.oauth-pending-deletion-list-item {
+ background-color: #fafafa;
+ box-shadow: inset 0 0 8px #eee;
+}
+.oauth-pending-deletion-list-item:hover {
+ background-color: #fafafa;
+}
+.oauth-pending-deletion-list-item .oauth-pending-deletion {
+ display: inline;
+}
+.oauth-pending-deletion-list-item .active, .oauth-pending-deletion-list-item .oauth-application-users {
+ display: none;
+}
+.oauth-pending-deletion {
+ display: none;
+ width: 100%}
+.boxed-group-list .access-level {
+ color: #999;
+}
+.boxed-group-list .access-level.css-truncate-target {
+ max-width: 500px;
+}
+.logged_out.signup .header-logged-out .container, .logged_out.signup .site-footer {
+ width: 750px;
+}
+.logged_out.signup .site-footer {
+ margin-right: auto;
+ margin-left: auto;
+}
+.logged_out.signup .site-footer .octicon-mark-github {
+ top: 30px;
+}
+.logged_out.signup .header-actions .primary, .logged_out.signup .site-footer-links, .logged_out.signup .site-search {
+ display: none;
+}
+.setup-wrapper {
+ padding-top: 60px;
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+}
+.setup-header, .setup-wrapper {
+ width: 750px;
+ margin: 0 auto;
+}
+.setup-header {
+ overflow: hidden;
+ padding-bottom: 20px;
+ margin-bottom: 30px;
+ text-align: left;
+ text-shadow: 0 1px 0 white;
+ border-bottom: 1px solid #ddd;
+}
+.setup-header h1 {
+ margin-top: 0;
+ margin-bottom: 0;
+ font-size: 45px;
+ font-weight: normal;
+ letter-spacing: -1px;
+}
+.setup-header h1 .mega-octicon {
+ color: #bbb;
+}
+.setup-header .lead {
+ margin-top: 2px;
+ margin-bottom: 0;
+ font-size: 21px;
+}
+.setup-header .lead a {
+ color: #777;
+}
+.setup-header .lead a:hover {
+ color: #4183c4;
+ text-decoration: none;
+}
+.setup-org {
+ padding-bottom: 0;
+ border-bottom: 0;
+}
+.setup-main {
+ float: left;
+ width: 450px;
+}
+.setup-main.without-secondary {
+ margin-left: 150px;
+}
+.setup-secondary {
+ float: right;
+ width: 250px;
+}
+.setup-secondary .info {
+ padding-top: 0;
+ padding-bottom: 0;
+ margin-top: -10px;
+ color: #777;
+ font-size: 12px;
+ line-height: 18px;
+ text-align: center;
+}
+.setup-info-module {
+ margin-bottom: 30px;
+ background-color: #fff;
+ border: 1px solid #ccc;
+ border-radius: 3px;
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.075);
+}
+.setup-info-module h2 {
+ padding: 15px;
+ margin-top: 0;
+ margin-bottom: 15px;
+ overflow: hidden;
+ font-size: 16px;
+ border-bottom: 1px solid #ddd;
+}
+.setup-info-module h2 .price {
+ float: right;
+ font-weight: bold;
+ color: #777;
+}
+.setup-info-module h3 {
+ padding: 0 15px;
+ margin: 0 0 -7px;
+ font-size: 14px;
+}
+.setup-info-module p {
+ padding: 0 15px;
+ margin: 15px 0;
+}
+.setup-info-module .setup-section-title {
+ margin-bottom: 10px;
+}
+.features-list {
+ padding: 0 15px 15px;
+ margin: 0;
+ font-size: 14px;
+ list-style: none;
+}
+.features-list li {
+ margin-top: 10px;
+}
+.features-list li:first-child {
+ margin-top: 0;
+}
+.features-list .list-divider {
+ margin: 15px -15px;
+ border-top: 1px solid #eee;
+}
+.features-list .octicon {
+ margin-right: 5px;
+ color: #60b044;
+}
+.features-list.features-list-org {
+ padding-bottom: 0;
+}
+.setup-form-container .setup-form-title {
+ margin-top: 0;
+ font-size: 16px;
+}
+.setup-form-container .secure {
+ float: right;
+ margin-top: 2px;
+ color: #60b044;
+ font-size: 11px;
+ text-transform: uppercase;
+}
+.setup-form-container hr {
+ margin-top: 25px;
+ margin-bottom: 25px;
+}
+.setup-form-container .form-actions {
+ padding-top: 0;
+ padding-bottom: 0;
+ text-align: left;
+}
+.team-member-container {
+ margin-bottom: 20px;
+}
+.team-member-container .team-member-username {
+ line-height: 1.2;
+}
+.setup-form {
+ padding-bottom: 15px;
+}
+.setup-form .form dd input[type="text"], .setup-form .form dd input[type="password"], .setup-form .form dd input[type="email"] {
+ width: 100%}
+.setup-form .form dd input[type="text"].short, .setup-form .form dd input[type="password"].short, .setup-form .form dd input[type="email"].short {
+ width: 250px;
+}
+.setup-form dd {
+ position: relative;
+}
+.setup-form dd .octicon {
+ position: absolute;
+ right: 25px;
+ top: 8px;
+}
+.setup-form .octicon-alert:before {
+ color: #bd2c00;
+}
+.setup-form .octicon-check:before {
+ color: #6cc644;
+}
+.setup-form .text-muted {
+ margin-top: 5px;
+}
+.setup-form .tos-info, .setup-form .setup-organization-next {
+ margin: 15px 0;
+ border-top: 1px solid #eee;
+ border-bottom: 1px solid #eee;
+}
+.setup-form .tos-info {
+ padding: 15px 0;
+}
+.setup-form .setup-organization-next {
+ padding-top: 15px;
+ padding-bottom: 15px;
+}
+.setup-form .setup-plans {
+ margin-bottom: 25px;
+ border: solid 1px #ccc;
+ border-collapse: separate;
+ border-radius: 3px;
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.075);
+ overflow: hidden;
+}
+.setup-form .setup-plans tr.selected {
+ background-color: #f0f7fd;
+}
+.setup-form .setup-plans th, .setup-form .setup-plans td {
+ vertical-align: middle;
+ border-bottom: 1px solid #ccc;
+}
+.setup-form .setup-plans .name {
+ font-weight: bold;
+}
+.setup-form .setup-plans .choose_plan input[type=radio] {
+ display: none;
+}
+.setup-creditcard-form .cc-extras {
+ margin-bottom: 15px;
+}
+.setup-creditcard-form .expiration-form {
+ width: 120px;
+}
+.setup-creditcard-form .expiration-form dd {
+ line-height: 32px;
+}
+.setup-creditcard-form .expiration-form, .setup-creditcard-form .cvv-form, .setup-creditcard-form .country-form, .setup-creditcard-form .state-form {
+ float: left;
+ margin: 0;
+}
+.setup-creditcard-form .form dd input.input-cvv {
+ width: 130px;
+}
+.setup-creditcard-form .form select.select-country {
+ width: 162px;
+ margin-right: 5px;
+}
+.setup-creditcard-form .form select.select-state {
+ width: 84px;
+}
+.setup-creditcard-form.is-vat-country .vat-field {
+ display: block;
+}
+.setup-creditcard-form.is-international .form select.select-country {
+ width: 250px;
+}
+.setup-creditcard-form.is-international .state-form {
+ display: none;
+}
+.setup-creditcard-form dd .octicon-credit-card {
+ position: inherit;
+}
+.setup-creditcard-form .enter-new-card {
+ display: none;
+}
+.setup-creditcard-form.has-credit-card .enter-new-card {
+ display: inline-block;
+}
+.setup-creditcard-form.has-credit-card .card-select-number-field, .setup-creditcard-form.has-credit-card .cancel-enter-new-card, .setup-creditcard-form.has-credit-card .cards-select {
+ display: none;
+}
+.setup-creditcard-form .vat-field {
+ display: none;
+}
+.setup-creditcard-form .vat-field.prefilled {
+ display: block;
+}
+.setup-creditcard-form .help-text {
+ font-size: 80%;
+ font-weight: normal;
+ color: #777;
+}
+.collection-head {
+ height: 225px;
+ margin-top: -20px;
+ margin-bottom: 20px;
+ background: #555 url(/assets/modules/home/octicons-bg-f51579234572c7286b1ead7a6408f2d43c7a0520dbb09f9d2b8b6b59024a01a0.png) center repeat;
+ box-shadow: inset 0 10px 20px rgba(0, 0, 0, 0.1);
+ text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
+ color: #fff;
+}
+.collection-head .collection-info {
+ margin: 0;
+}
+.collection-head .collection-info .meta-info {
+ margin-right: 15px;
+}
+.collection-head .collection-info .avatar {
+ background-color: rgba(255, 255, 255, 0.7);
+ border: 1px solid rgba(255, 255, 255, 0.7);
+}
+.collection-head .container {
+ position: relative;
+}
+.collection-head .draft-tag {
+ position: absolute;
+ top: 0;
+ left: 0;
+}
+.collection-title {
+ display: table-cell;
+ height: 225px;
+ vertical-align: middle;
+}
+.collection-header {
+ margin-top: 0;
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+ font-size: 45px;
+ font-weight: normal;
+}
+.collection-description {
+ position: relative;
+ font-size: 16px;
+}
+.collection-page .collection-info {
+ margin-top: 10px;
+ margin-bottom: 20px;
+ font-size: 13px;
+ color: #999;
+}
+.collection-page .column.main {
+ margin-right: 260px !important;
+}
+.collection-page .column.sidebar {
+ width: 240px;
+}
+.collection-page .other-content {
+ padding: 20px 0 20px 20px;
+ border-left: 1px solid #f1f1f1;
+}
+.collection-page .other-content .subnav-search {
+ margin-left: 0;
+}
+.collection-page .other-content input.subnav-search-input {
+ width: 100%}
+.collection-page .other-content-title {
+ margin-top: 40px;
+}
+.collection-page .other-content-title:first-child {
+ margin-top: 0;
+}
+.side-collection-list {
+ margin: 0;
+ list-style-type: none;
+}
+.side-collection-link {
+ display: table;
+ width: 100%;
+ height: 100px;
+ color: #fff;
+}
+.side-collection-item-title {
+ font-size: 16px;
+ font-weight: 100;
+}
+.side-collection-image {
+ background: #555 url(/assets/modules/home/octicons-bg-f51579234572c7286b1ead7a6408f2d43c7a0520dbb09f9d2b8b6b59024a01a0.png) center repeat;
+ box-shadow: inset 0 10px 20px rgba(0, 0, 0, 0.1);
+ text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
+ color: #fff;
+ display: table-cell;
+ width: 100%;
+ height: 100%;
+ margin-bottom: 5px;
+ text-align: center;
+ vertical-align: middle;
+ border-radius: 3px;
+}
+.side-collection-list-item {
+ margin-bottom: 20px;
+}
+.collection-tools {
+ list-style-type: none;
+ margin-bottom: 10px;
+ font-size: 15px;
+}
+.collection-tools .edit-link {
+ color: #333;
+}
+.collection-tools .edit-link:hover {
+ color: #4183c4;
+ cursor: pointer;
+}
+.collection-tools .octicon {
+ margin-right: 5px;
+}
+.collection-tools .select-menu-button {
+ position: relative;
+ display: inline-block;
+ color: #333;
+}
+.collection-tools .select-menu-button:hover {
+ color: #4183c4;
+ cursor: pointer;
+}
+.collection-tool {
+ margin-left: 20px;
+}
+.collection-search-results em {
+ padding: 0.1em;
+ background-color: #faffa6;
+}
+.collection-search-result {
+ margin-bottom: 40px;
+ list-style-type: none;
+}
+.collection-search-result-title {
+ margin-top: 0;
+}
+.collection-search-page .search-results-info {
+ line-height: 33px;
+ float: right;
+ margin-left: 10px;
+ font-size: 15px;
+}
+.draft-tag {
+ padding: 5px 10px;
+ font-weight: bold;
+ color: #eee;
+ background-color: #404040;
+}
+.collection-card {
+ position: relative;
+ float: left;
+ width: 313px;
+ margin-right: 20px;
+ margin-bottom: 20px;
+ list-style-type: none;
+ background: #f7f7f7;
+ border: 1px solid #ddd;
+ border-radius: 3px;
+}
+.collection-card .draft-tag {
+ position: absolute;
+ top: -1px;
+ left: 10px;
+}
+.collection-card:nth-child(3n+3) {
+ margin-right: 0;
+}
+.collection-card-title {
+ padding: 0 15px;
+ margin: 10px 0;
+ display: table-cell;
+ width: 100%;
+ height: 100%;
+ font-size: 19px;
+ font-weight: bold;
+ text-align: center;
+ vertical-align: middle;
+}
+.collection-card-body {
+ padding: 0 15px;
+ margin: 10px 0;
+ height: 6em;
+ margin-top: 0;
+ overflow: hidden;
+ font-size: 15px;
+ line-height: 1.5em;
+}
+.collection-card-image {
+ position: relative;
+ display: table;
+ width: 313px;
+ height: 120px;
+ margin: -1px;
+ margin-bottom: 15px;
+ background: #555 url(/assets/modules/home/octicons-bg-f51579234572c7286b1ead7a6408f2d43c7a0520dbb09f9d2b8b6b59024a01a0.png) center repeat;
+ box-shadow: inset 0 10px 20px rgba(0, 0, 0, 0.1);
+ text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
+ color: #fff;
+ border-top-right-radius: 3px;
+ border-top-left-radius: 3px;
+}
+.collection-card-meta {
+ padding: 0 15px;
+ margin-top: 5px;
+ margin-bottom: 15px;
+ color: #777;
+}
+.collection-card-meta .meta-info {
+ margin-right: 10px;
+}
+.collection-card-meta .last-updated {
+ float: right;
+ margin-right: 0;
+}
+.collection-listing-search {
+ margin-bottom: 20px;
+}
+.collection-listing-search .subnav-search {
+ margin-left: 0;
+ margin-right: 25%}
+.collection-feed-icon {
+ float: right;
+ margin-top: 28px;
+}
+.featured-grid {
+ position: relative;
+ list-style: none;
+ margin-top: -10px;
+}
+.featured-grid-outer {
+ position: relative;
+ height: 100%}
+.featured-grid-more-info {
+ padding: 20px;
+}
+.featured-showcase-meta {
+ position: absolute;
+ bottom: 15px;
+ left: 20px;
+}
+.featured-showcase-meta .meta-info {
+ margin-right: 10px;
+}
+.featured-grid-link {
+ display: table;
+ width: 100%;
+ height: 100%;
+ border-radius: 5px;
+ background: #555 url(/assets/modules/home/octicons-bg-f51579234572c7286b1ead7a6408f2d43c7a0520dbb09f9d2b8b6b59024a01a0.png) center repeat;
+ box-shadow: inset 0 10px 20px rgba(0, 0, 0, 0.1);
+ text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
+ color: #fff;
+}
+.featured-grid-inner {
+ display: table-cell;
+ padding: 10px 20px;
+ font-size: 15px;
+ text-align: center;
+ vertical-align: middle;
+}
+.grid-item {
+ position: relative;
+ display: block;
+ float: left;
+ width: 25%;
+ height: 122.5px;
+ padding: 10px;
+}
+.grid-item-0 {
+ position: absolute;
+ width: 50%;
+ height: 245px;
+}
+.grid-item-1, .grid-item-2 {
+ margin-right: 25%;
+ margin-left: 50%}
+.grid-item-3 {
+ height: 245px;
+}
+.grid-item-4 {
+ width: 50%;
+ height: 245px;
+}
+.grid-item-7 {
+ position: absolute;
+ top: 0;
+ right: 0;
+ height: 245px;
+}
+.showcase-featured .see-more {
+ text-align: center;
+}
+.showcase-featured .in-yo-face .featured-grid-outer {
+ overflow: hidden;
+}
+.showcase-featured .in-yo-face .showcase-info {
+ position: absolute;
+ right: 0;
+ bottom: -20%;
+ left: 0;
+ padding: 10px 20px;
+ font-size: 13px;
+ text-align: left;
+ background: rgba(0, 0, 0, 0.6);
+ border-bottom-right-radius: 3px;
+ border-bottom-left-radius: 3px;
+ opacity: 0;
+ visibility: hidden;
+ -webkit-transition: all 0.2s ease-in-out;
+ transition: all 0.2s ease-in-out;
+}
+.showcase-featured .in-yo-face .showcase-name {
+ font-size: 25px;
+ color: #fff;
+}
+.showcase-featured .in-yo-face .meta-info {
+ margin-right: 10px;
+}
+.showcase-featured .in-yo-face:hover .showcase-info {
+ bottom: 0;
+ opacity: 1;
+ visibility: visible;
+}
+.showcase-featured .mo-info .featured-grid-outer {
+ background: #f7f7f7;
+ border: 1px solid #ddd;
+ border-radius: 3px;
+}
+.showcase-featured .mo-info .featured-grid-link {
+ width: 225px;
+ height: 102px;
+ margin-top: -1px;
+ margin-right: -1px;
+ margin-left: -1px;
+ border-bottom-right-radius: 0;
+ border-bottom-left-radius: 0;
+}
+.showcase-featured .normal-intensity .showcase-info {
+ position: absolute;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ padding-top: 43px;
+ font-size: 13px;
+ text-align: center;
+ vertical-align: middle;
+ background: rgba(0, 0, 0, 0.6);
+ border-radius: 3px;
+ opacity: 0;
+ -webkit-transition: opacity 0.3s ease-in-out;
+ transition: opacity 0.3s ease-in-out;
+}
+.showcase-featured .normal-intensity .octicon {
+ display: inline;
+}
+.showcase-featured .normal-intensity .meta-info {
+ margin-right: 10px;
+}
+.showcase-featured .normal-intensity .text {
+ display: none;
+}
+.showcase-featured .normal-intensity .name-text {
+ display: block;
+}
+.showcase-featured .normal-intensity a:hover {
+ text-decoration: none;
+}
+.showcase-featured .normal-intensity:hover .showcase-info {
+ opacity: 1;
+}
+.showcase-featured .normal-intensity:hover .name-text {
+ color: transparent;
+ text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
+}
+.showcase-featured .normal-intensity .showcase-name, .showcase-featured .mo-info .showcase-name {
+ font-size: 16px;
+ font-weight: 100;
+}
+.signup-plans-actions {
+ margin: -10px 0 20px;
+}
+.button.plans-signup-button {
+ padding: 12px 50px;
+ font-size: 16px;
+}
+.signup-plans-or {
+ margin: 0 5px 0 8px;
+}
+.signup-plans-collabocat {
+ float: right;
+ width: 300px;
+ margin-left: 30px;
+}
+.signup-plans {
+ width: 100%;
+ margin: 20px 0 40px;
+ border-collapse: separate;
+}
+.signup-plans th, .signup-plans td {
+ padding: 9px;
+ font-size: 14px;
+ border: solid #e5e5e5;
+}
+.signup-plans th {
+ padding: 14px 9px;
+ font-size: 20px;
+ border-width: 1px 0 1px 1px;
+}
+.signup-plans th small {
+ display: block;
+ font-size: 14px;
+ color: #7a7a7a;
+}
+.signup-plans thead .empty {
+ border-width: 0;
+}
+.signup-plans thead .plan-free {
+ border-radius: 5px 0 0;
+}
+.signup-plans thead th:last-child {
+ border-right-width: 1px;
+ border-radius: 0 5px 0 0;
+}
+.signup-plans tbody tr:first-child td:first-child {
+ border-top-width: 1px;
+ border-radius: 5px 0 0;
+}
+.signup-plans td {
+ text-align: center;
+ border-width: 0 0 1px 1px;
+}
+.signup-plans td:last-child {
+ border-right-width: 1px;
+}
+.signup-plans tr:last-child td:first-child {
+ border-radius: 0 0 0 5px;
+}
+.signup-plans tr:last-child td:last-child {
+ border-radius: 0 0 5px;
+}
+.signup-plans tr:nth-child(odd) td {
+ background-color: #f5f5f5;
+}
+.signup-plans .row-label {
+ width: 18%;
+ font-weight: bold;
+ text-align: right;
+}
+.signup-plans-personal th {
+ color: #4183c4;
+}
+.signup-plans-personal tr:nth-child(odd) td {
+ background-color: #f0f5fa;
+}
+.signup-plans-orgs th {
+ color: #6cc644;
+}
+.signup-plans-orgs tr:nth-child(odd) td {
+ background-color: #f6fcf4;
+}
+.signup-plans-toggle-currency {
+ float: right;
+}
+.signup-plans-currency-notice {
+ margin: 10px auto 30px;
+ width: 800px;
+ text-align: center;
+}
+.simple-stacked-bar {
+ display: table;
+ width: 100%;
+ background-color: #eee;
+}
+.bar-section {
+ display: table-cell;
+ height: 10px;
+}
+.bar-section[style='width:0.0%'] {
+ display: none;
+}
+.bar-section-positive {
+ background-color: #6cc644;
+}
+.bar-section-negative {
+ background-color: #bd2c00;
+}
+.bar-section-alt {
+ background-color: #6e5494;
+}
+.stars-browser .sort-bar .sort-form {
+ margin-top: 7px;
+}
+.stars-browser .sort-bar .filter_input {
+ width: 400px;
+}
+.stars-browser .repo-list {
+ margin-top: -20px;
+}
+.facebox .sudo {
+ padding: 0;
+}
+.facebox .sudo .auth-form-header {
+ border-width: 0 0 1px;
+}
+.facebox .sudo .auth-form-header .mini-icon {
+ display: none;
+}
+.facebox .sudo .auth-form-body {
+ border-width: 0;
+}
+.facebox .sudo+.facebox-close {
+ padding: 5px;
+ color: #fff;
+}
+.sudo-prompt, .sudo-error {
+ display: none;
+}
+.tree-browser {
+ width: 100%;
+ margin: 0;
+ border-bottom: 1px solid #cacaca;
+ border-left: 0;
+ border-right: 0;
+}
+.tree-browser td {
+ background: #f8f8f8;
+ border-bottom: 1px solid #eee;
+ padding: 7px 3px;
+ color: #484848;
+ vertical-align: middle;
+ white-space: nowrap;
+}
+.tree-browser td.icon {
+ width: 17px;
+ padding-right: 2px;
+ padding-left: 10px;
+}
+.tree-browser td:first-child {
+ border-left: 1px solid #cacaca;
+}
+.tree-browser td:last-child {
+ border-right: 1px solid #cacaca;
+}
+.tree-browser td a.message {
+ color: #484848;
+}
+.tree-browser td span.ref {
+ color: #aaa;
+}
+.tree-browser img {
+ vertical-align: text-bottom;
+}
+.tree-browser tbody tr:last-child td {
+ border-bottom: 0;
+}
+.tree-browser .history {
+ float: right;
+ padding-right: 5px;
+}
+.tree-browser .octicon-chevron-right {
+ color: transparent;
+}
+.tree-browser tr.navigation-focus td {
+ background-color: #fff;
+}
+.tree-browser tr.navigation-focus td .octicon-chevron-right {
+ color: #4183c4;
+}
+.tree-browser .octicon-file-directory {
+ color: #80a6cd;
+}
+.tree-browser .octicon-file-submodule {
+ color: #3cbf5e;
+}
+.tree-browser .octicon-file-text {
+ color: #777;
+}
+.tree-browser .content {
+ max-width: 220px;
+}
+.tree-browser .message {
+ max-width: 420px;
+}
+.tree-browser .css-truncate-target {
+ max-width: 100%}
+.tree-browser-result-template {
+ display: none;
+}
+.tree-browser-result .css-truncate-target {
+ max-width: 870px;
+}
+.tree-browser-result mark {
+ background-color: transparent;
+ color: #4183c4;
+ font-weight: bold;
+}
+input.tree-finder-input, input.tree-finder-input:focus {
+ position: relative;
+ top: 1px;
+ border: 0;
+ padding: 0;
+ outline: none;
+ font-size: 100%;
+ box-shadow: none;
+ min-height: 0;
+ height: 22px;
+ line-height: 1px;
+ vertical-align: top;
+ -webkit-appearance: none;
+ margin-left: 5px;
+}
+.tree-finder .no-results {
+ display: none;
+}
+.tree-finder .no-results th {
+ text-align: center;
+}
+.tree-finder tr td.icon {
+ cursor: pointer;
+}
+.tree-finder .tree-browser {
+ border-top: 1px solid #cacaca;
+}
+.tree-finder .filterable-empty+.no-results {
+ display: block;
+}
+.user-list em {
+ font-weight: bold;
+ background-color: rgba(255, 255, 140, 0.5);
+ padding: 3px;
+ border-radius: 3px;
+ font-style: normal;
+}
+.user-list .tabnav-widget {
+ clear: right;
+ float: right;
+ margin-top: 0;
+}
+.user-list .avatar {
+ position: absolute;
+ top: 0;
+ left: 0;
+}
+.user-list-info {
+ padding: 0;
+ min-height: 48px;
+ font-weight: normal;
+ font-size: 18px;
+ line-height: 20px;
+}
+.user-list-meta {
+ font-size: 11px;
+ margin: 8px 0 0;
+ list-style-type: none;
+ overflow: hidden;
+ color: #999;
+}
+.user-list-meta>li {
+ float: left;
+ margin-right: 10px;
+}
+.user-list-meta a {
+ color: #333;
+}
+.user-list-item {
+ border-bottom: 1px solid #f1f1f1;
+ padding: 0 0 20px 58px;
+ margin: 0 0 20px;
+ position: relative;
+}
+.follow-list {
+ list-style-type: none;
+}
+.follow-list .follow-list-container {
+ margin-left: 90px;
+}
+.follow-list .follow-list-item {
+ float: left;
+ width: 305px;
+ padding-bottom: 20px;
+ margin-bottom: 20px;
+ margin-right: 20px;
+ border-bottom: 1px solid #eee;
+}
+.repository-with-sidebar .follow-list .follow-list-item {
+ width: 285px;
+}
+.follow-list .follow-list-name {
+ font-weight: normal;
+ margin: 0 0 5px;
+}
+.follow-list .follow-list-name a {
+ color: inherit;
+}
+.follow-list .follow-list-info {
+ margin-top: 0;
+ margin-bottom: 0.6em;
+ font-size: 12px;
+ color: #666;
+}
+.follow-list .css-truncate.css-truncate-target {
+ max-width: 195px;
+}
+.repository-with-sidebar .follow-list .css-truncate.css-truncate-target {
+ max-width: 170px;
+}
+.follow-list .gravatar {
+ float: left;
+ display: block;
+ width: 75px;
+ height: 75px;
+}
+#wiki-body {
+ margin-top: 20px;
+}
+#wiki-body .markdown-body {
+ padding: 0 30px;
+ margin: 0 -30px;
+}
+#wiki-rightbar {
+ float: right;
+ width: 230px;
+}
+#wiki-rightbar .markdown-body {
+ font-size: 13px;
+}
+#wiki-rightbar .markdown-body .anchor {
+ display: none;
+}
+#wiki-rightbar .markdown-body h1 {
+ padding-bottom: 5px;
+ font-size: 1.6em;
+ line-height: 1.2;
+ border-color: #eee;
+}
+#wiki-rightbar .markdown-body h2 {
+ padding-bottom: 5px;
+ font-size: 1.4em;
+ line-height: 1.2;
+ border-color: #eee;
+}
+#wiki-rightbar .markdown-body h3, #wiki-rightbar .markdown-body h4, #wiki-rightbar .markdown-body h5, #wiki-rightbar .markdown-body h6 {
+ font-size: 1.2em;
+ line-height: 1.2;
+ border-color: #eee;
+}
+#wiki-rightbar .boxed-group>h3 {
+ cursor: pointer;
+}
+#wiki-rightbar .boxed-group .caret-collapsed {
+ display: none;
+}
+#wiki-rightbar .boxed-group.collapsed .caret-expanded {
+ display: none;
+}
+#wiki-rightbar .boxed-group.collapsed .caret-collapsed {
+ display: inline;
+}
+#wiki-rightbar .boxed-group.collapsed>h3 {
+ border-bottom: 1px solid #d8d8d8;
+ border-radius: 3px;
+}
+#wiki-rightbar .boxed-group.collapsed .boxed-group-inner {
+ display: none;
+}
+#wiki-rightbar p:last-child, #wiki-rightbar ul:last-child, #wiki-rightbar ol:last-child {
+ margin-bottom: 0;
+}
+.wiki-pages {
+ padding: 0;
+ margin: 0;
+ list-style-type: none;
+}
+.wiki-page-link {
+ display: block;
+ padding: 6px 10px;
+ word-wrap: break-word;
+}
+.has-rightbar #wiki-body, .has-rightbar #wiki-footer {
+ margin-right: 280px;
+}
+#wiki-footer {
+ margin: 20px 0 50px;
+ clear: both;
+}
+#wiki-footer .markdown-body {
+ font-size: 13px;
+}
+.wiki-wrapper .blankslate.wiki {
+ padding: 115px 0;
+}
+.wiki-wrapper .blankslate.wiki p.has-fixed-width {
+ text-align: center;
+}
+.wiki-wrapper .gh-header .divider {
+ padding: 0 3px 0 2px;
+}
+.wiki-wrapper .gh-header-meta {
+ padding-bottom: 15px;
+ margin-top: 6px;
+}
+.wiki-wrapper a.history {
+ color: inherit;
+}
+.wiki-wrapper a.history:hover {
+ color: #555;
+}
+.wiki-wrapper.edit h1 {
+ font-weight: normal;
+ color: inherit;
+}
+.wiki-wrapper.edit h1 strong {
+ color: #000;
+}
+.wiki-wrapper .wiki-empty-box {
+ display: block;
+ padding: 10px 0;
+ margin: 20px 0;
+ color: #999;
+ text-align: center;
+ border: 1px dashed #ddd;
+ border-radius: 3px;
+ -webkit-transition: all 0.1s ease-in-out;
+ transition: all 0.1s ease-in-out;
+}
+.wiki-wrapper .wiki-empty-box .octicon-plus {
+ margin-right: 4px;
+ opacity: 0.4;
+}
+.wiki-wrapper .wiki-empty-box:hover {
+ color: #777;
+ text-decoration: none;
+ border-color: #ccc;
+}
+.wiki-wrapper .wiki-auxiliary-content {
+ background-color: #f1f1f1;
+ background-image: -webkit-linear-gradient(#fafafa, #f1f1f1);
+ background-image: linear-gradient(#fafafa, #f1f1f1);
+ background-repeat: repeat-x;
+ background-repeat: no-repeat;
+ background-size: 100% 50px;
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
+}
+.wiki-wrapper .wiki-auxiliary-content.markdown-body.wiki-writable>*:nth-child(2) {
+ margin-top: 0 !important;
+}
+.wiki-wrapper .wiki-auxiliary-content .wiki-edit-link {
+ position: relative;
+ z-index: 2;
+ float: right;
+ color: #777;
+ opacity: 0.2;
+ -webkit-transition: opacity 0.2s ease-in-out;
+ transition: opacity 0.2s ease-in-out;
+}
+.wiki-wrapper .wiki-auxiliary-content .wiki-edit-link:hover {
+ text-decoration: none;
+ opacity: 1;
+}
+.wiki-wrapper .wiki-auxiliary-content-no-bg {
+ background: #fff;
+}
+.wiki-wrapper .wiki-custom-sidebar {
+ padding: 10px;
+ margin-bottom: 20px;
+ border: solid 1px #e2e2e2;
+ border-radius: 3px;
+}
+.wiki-wrapper .wiki-custom-sidebar>:nth-child(2) {
+ margin-top: 0;
+}
+.wiki-wrapper .wiki-custom-sidebar .octicon-pencil {
+ position: relative;
+ z-index: 10;
+ float: right;
+ margin-left: 15px;
+ color: #999;
+}
+.wiki-wrapper .wiki-custom-sidebar .octicon-pencil:hover {
+ color: #333;
+ text-decoration: none;
+}
+.wiki-wrapper #wiki-footer {
+ margin: 30px 30px 0;
+ clear: none;
+}
+.wiki-wrapper #wiki-footer .markdown-body {
+ padding: 10px 15px;
+}
+.wiki-wrapper #wiki-footer .wiki-empty-box {
+ margin: 0 -30px;
+}
+.wiki-wrapper #wiki-footer .wiki-edit-link {
+ right: -5px;
+}
+.wiki-wrapper.compare .gh-header {
+ margin-bottom: 20px;
+}
+.wiki-wrapper .wiki-history {
+ margin-top: 20px;
+}
+.wiki-wrapper .wiki-history .checkbox {
+ width: 30px;
+ text-align: center;
+}
+.wiki-wrapper .wiki-history .author {
+ width: 200px;
+}
+.wiki-wrapper .wiki-history .author img {
+ display: block;
+ float: left;
+ margin-right: 6px;
+}
+.wiki-wrapper .wiki-history .date {
+ color: #bbb;
+ white-space: nowrap;
+}
+.wiki-wrapper .wiki-history .commit {
+ max-width: 450px;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+.wiki-wrapper .wiki-history .commit-meta {
+ width: 160px;
+ padding-right: 10px;
+ text-align: right;
+ white-space: nowrap;
+}
+.wiki-wrapper .wiki-history .commit-meta code {
+ display: inline-block;
+ font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
+ line-height: 16px;
+ vertical-align: top;
+}
+.wiki-wrapper .wiki-history .commit-id {
+ color: #bbb;
+}
+.wiki-wrapper .wiki-history .commit-id:hover {
+ color: #4183c4;
+}
+.wiki-wrapper #wiki-rightbar .sidebar-button {
+ margin-top: 10px;
+}
+.wiki-wrapper #wiki-content {
+ clear: both;
+}
+.wiki-wrapper #wiki-content .markdown-body {
+ word-break: break-word;
+}
+.wiki-wrapper #wiki-content #gollum-editor-title-field {
+ margin: 0 0 14px;
+}
+.wiki-wrapper #wiki-content .file-wrap {
+ margin-top: 20px;
+ border-top: 1px solid #ddd;
+ border-radius: 3px;
+}
+.wiki-wrapper #wiki-content .file-wrap .files {
+ border-radius: 3px;
+}
+.wiki-pages-box .wiki-more-pages {
+ display: none;
+}
+.wiki-pages-box.wiki-show-more .wiki-more-pages, .wiki-pages-box .filterable-active .wiki-more-pages {
+ display: block;
+}
+.wiki-pages-box.wiki-show-more .wiki-more-pages-link, .wiki-pages-box .filterable-active .wiki-more-pages-link {
+ display: none;
+}
+.wiki-pages-box .wiki-more-pages-link {
+ box-shadow: inset 0 1px 0 #e5e5e5;
+}
+.wiki-pages-box .wiki-more-pages-link a {
+ display: block;
+ padding: 3px;
+ color: #7ba9d6;
+ text-align: center;
+}
+.wiki-pages-box .wiki-more-pages-link a:hover {
+ color: #4183c4;
+ text-decoration: none;
+}
+.wiki-wrapper.history #gollum-footer ul.actions li {
+ margin: 0 0.6em 0 0;
+}
+.wiki-wrapper.results #results {
+ border-bottom: 1px solid #ccc;
+ margin-bottom: 2em;
+ padding-bottom: 2em;
+}
+.wiki-wrapper #results ul {
+ margin: 2em 0 0;
+ padding: 0;
+}
+.wiki-wrapper #results li {
+ font-size: 1.2em;
+ line-height: 1.6em;
+ list-style-position: outside;
+ padding: 0.2em 0;
+}
+.wiki-wrapper #results .count {
+ color: #999;
+}
+.wiki-wrapper .results #no-results {
+ font-size: 1.2em;
+ line-height: 1.6em;
+ margin-top: 2em;
+}
+.wiki-actions {
+ display: block;
+ list-style-type: none;
+ overflow: hidden;
+ padding: 0;
+}
+.results .wiki-actions li {
+ margin: 0 1em 0 0;
+}
+.compare .wiki-actions {
+ margin-bottom: 1.4em;
+}
+.compare .wiki-actions li {
+ margin-left: 0;
+ margin-right: 0.6em;
+}
+.wiki-wrapper .file .data .line_numbers {
+ width: 1%;
+ font-size: 12px;
+}
+.zeroclipboard-link {
+ color: #4183c4;
+ cursor: pointer;
+ background: none;
+ border: 0;
+ padding: 0;
+ margin: 0;
+}
+.zeroclipboard-link .octicon {
+ display: block;
+}
\ No newline at end of file
diff --git a/public/css/github-emoji-unminify.css b/public/css/github-emoji-unminify.css
new file mode 100644
index 00000000..d5a141e2
--- /dev/null
+++ b/public/css/github-emoji-unminify.css
@@ -0,0 +1,13772 @@
+/*! normalize.css v3.0.1 | MIT License | git.io/normalize */
+html {
+ font-family: sans-serif;
+ -ms-text-size-adjust: 100%;
+ -webkit-text-size-adjust: 100%
+}
+
+body {
+ margin: 0
+}
+
+article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary {
+ display: block
+}
+
+audio,canvas,progress,video {
+ display: inline-block;
+ vertical-align: baseline
+}
+
+audio:not([controls]) {
+ display: none;
+ height: 0
+}
+
+[hidden],template {
+ display: none
+}
+
+a {
+ background: transparent
+}
+
+a:active,a:hover {
+ outline: 0
+}
+
+abbr[title] {
+ border-bottom: 1px dotted
+}
+
+b,strong {
+ font-weight: bold
+}
+
+dfn {
+ font-style: italic
+}
+
+h1 {
+ font-size: 2em;
+ margin: 0.67em 0
+}
+
+mark {
+ background: #ff0;
+ color: #000
+}
+
+small {
+ font-size: 80%
+}
+
+sub,sup {
+ font-size: 75%;
+ line-height: 0;
+ position: relative;
+ vertical-align: baseline
+}
+
+sup {
+ top: -0.5em
+}
+
+sub {
+ bottom: -0.25em
+}
+
+img {
+ border: 0
+}
+
+svg:not(:root) {
+ overflow: hidden
+}
+
+figure {
+ margin: 1em 40px
+}
+
+hr {
+ box-sizing: content-box;
+ height: 0
+}
+
+pre {
+ overflow: auto
+}
+
+code,kbd,pre,samp {
+ font-family: monospace, monospace;
+ font-size: 1em
+}
+
+button,input,optgroup,select,textarea {
+ color: inherit;
+ font: inherit;
+ margin: 0
+}
+
+button {
+ overflow: visible
+}
+
+button,select {
+ text-transform: none
+}
+
+button,html input[type="button"],input[type="reset"],input[type="submit"] {
+ -webkit-appearance: button;
+ cursor: pointer
+}
+
+button[disabled],html input[disabled] {
+ cursor: default
+}
+
+button::-moz-focus-inner,input::-moz-focus-inner {
+ border: 0;
+ padding: 0
+}
+
+input {
+ line-height: normal
+}
+
+input[type="checkbox"],input[type="radio"] {
+ box-sizing: border-box;
+ padding: 0
+}
+
+input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button {
+ height: auto
+}
+
+input[type="search"] {
+ -webkit-appearance: textfield;
+ box-sizing: content-box
+}
+
+input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration {
+ -webkit-appearance: none
+}
+
+fieldset {
+ border: 1px solid #c0c0c0;
+ margin: 0 2px;
+ padding: 0.35em 0.625em 0.75em
+}
+
+legend {
+ border: 0;
+ padding: 0
+}
+
+textarea {
+ overflow: auto
+}
+
+optgroup {
+ font-weight: bold
+}
+
+table {
+ border-collapse: collapse;
+ border-spacing: 0
+}
+
+td,th {
+ padding: 0
+}
+
+* {
+ box-sizing: border-box
+}
+
+input,select,textarea,button {
+ font: 13px/1.4 Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol"
+}
+
+body {
+ min-width: 1020px;
+ font: 13px/1.4 Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
+ color: #333;
+ background-color: #fff
+}
+
+a {
+ color: #4183c4;
+ text-decoration: none
+}
+
+a:hover,a:active {
+ text-decoration: underline
+}
+
+hr,.rule {
+ height: 0;
+ margin: 15px 0;
+ overflow: hidden;
+ background: transparent;
+ border: 0;
+ border-bottom: 1px solid #ddd
+}
+
+hr:before,.rule:before {
+ display: table;
+ content: ""
+}
+
+hr:after,.rule:after {
+ display: table;
+ clear: both;
+ content: ""
+}
+
+h1,h2,h3,h4,h5,h6 {
+ margin-top: 15px;
+ margin-bottom: 15px;
+ line-height: 1.1
+}
+
+h1 {
+ font-size: 30px
+}
+
+h2 {
+ font-size: 21px
+}
+
+h3 {
+ font-size: 16px
+}
+
+h4 {
+ font-size: 14px
+}
+
+h5 {
+ font-size: 12px
+}
+
+h6 {
+ font-size: 11px
+}
+
+small {
+ font-size: 90%
+}
+
+blockquote {
+ margin: 0
+}
+
+.lead {
+ margin-bottom: 30px;
+ font-size: 20px;
+ font-weight: 300;
+ color: #555
+}
+
+.text-muted {
+ color: #999
+}
+
+.text-danger {
+ color: #bd2c00
+}
+
+.text-emphasized {
+ font-weight: bold;
+ color: #333
+}
+
+ul,ol {
+ padding: 0;
+ margin-top: 0;
+ margin-bottom: 0
+}
+
+ol ol,ul ol {
+ list-style-type: lower-roman
+}
+
+ul ul ol,ul ol ol,ol ul ol,ol ol ol {
+ list-style-type: lower-alpha
+}
+
+dd {
+ margin-left: 0
+}
+
+tt,code {
+ font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
+ font-size: 12px
+}
+
+pre {
+ margin-top: 0;
+ margin-bottom: 0;
+ font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace
+}
+
+.container {
+ width: 980px;
+ margin-right: auto;
+ margin-left: auto
+}
+
+.container:before {
+ display: table;
+ content: ""
+}
+
+.container:after {
+ display: table;
+ clear: both;
+ content: ""
+}
+
+.columns {
+ margin-right: -10px;
+ margin-left: -10px
+}
+
+.columns:before {
+ display: table;
+ content: ""
+}
+
+.columns:after {
+ display: table;
+ clear: both;
+ content: ""
+}
+
+.column {
+ float: left;
+ padding-right: 10px;
+ padding-left: 10px
+}
+
+.one-third {
+ width: 33%
+}
+
+.two-thirds {
+ width: 67%
+}
+
+.one-fourth {
+ width: 25%
+}
+
+.one-half {
+ width: 50%
+}
+
+.three-fourths {
+ width: 75%
+}
+
+.one-fifth {
+ width: 20%
+}
+
+.four-fifths {
+ width: 80%
+}
+
+.single-column {
+ padding-right: 10px;
+ padding-left: 10px
+}
+
+.table-column {
+ display: table-cell;
+ width: 1%;
+ padding-right: 10px;
+ padding-left: 10px;
+ vertical-align: top
+}
+
+fieldset {
+ padding: 0;
+ margin: 0;
+ border: 0
+}
+
+label {
+ font-size: 13px;
+ font-weight: bold
+}
+
+.form-control,input[type="text"],input[type="password"],input[type="email"],input[type="number"],input[type="tel"],input[type="url"],textarea {
+ min-height: 34px;
+ padding: 7px 8px;
+ font-size: 13px;
+ color: #333;
+ vertical-align: middle;
+ background-color: #fff;
+ background-repeat: no-repeat;
+ background-position: right center;
+ border: 1px solid #ccc;
+ border-radius: 3px;
+ outline: none;
+ box-shadow: inset 0 1px 2px rgba(0,0,0,0.075)
+}
+
+.form-control.focus,.form-control:focus,input[type="text"].focus,input[type="text"]:focus,.focused .drag-and-drop,input[type="password"].focus,input[type="password"]:focus,input[type="email"].focus,input[type="email"]:focus,input[type="number"].focus,input[type="number"]:focus,input[type="tel"].focus,input[type="tel"]:focus,input[type="url"].focus,input[type="url"]:focus,textarea.focus,textarea:focus {
+ border-color: #51a7e8;
+ box-shadow: inset 0 1px 2px rgba(0,0,0,0.075),0 0 5px rgba(81,167,232,0.5)
+}
+
+input.input-contrast,.input-contrast {
+ background-color: #fafafa
+}
+
+input.input-contrast:focus,.input-contrast:focus {
+ background-color: #fff
+}
+
+::-webkit-input-placeholder,:-moz-placeholder {
+ color: #aaa
+}
+
+::-webkit-validation-bubble-message {
+ font-size: 12px;
+ color: #fff;
+ background: #9c2400;
+ border: 0;
+ border-radius: 3px;
+ -webkit-box-shadow: 1px 1px 1px rgba(0,0,0,0.1)
+}
+
+input::-webkit-validation-bubble-icon {
+ display: none
+}
+
+::-webkit-validation-bubble-arrow {
+ background-color: #9c2400;
+ border: solid 1px #9c2400;
+ -webkit-box-shadow: 1px 1px 1px rgba(0,0,0,0.1)
+}
+
+input.input-mini {
+ min-height: 26px;
+ padding-top: 4px;
+ padding-bottom: 4px;
+ font-size: 12px
+}
+
+input.input-large {
+ padding: 6px 10px;
+ font-size: 16px
+}
+
+.input-block {
+ display: block;
+ width: 100%
+}
+
+.input-monospace {
+ font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace
+}
+
+dl.form {
+ margin: 15px 0
+}
+
+dl.form input[type="text"],dl.form input[type="password"],dl.form input[type="email"],dl.form input[type="url"],dl.form textarea {
+ background-color: #fafafa
+}
+
+dl.form input[type="text"]:focus,dl.form .focused .drag-and-drop,.focused dl.form .drag-and-drop,dl.form input[type="password"]:focus,dl.form input[type="email"]:focus,dl.form input[type="url"]:focus,dl.form textarea:focus {
+ background-color: #fff
+}
+
+dl.form>dt {
+ margin: 0 0 6px
+}
+
+dl.form>dt label {
+ position: relative
+}
+
+dl.form.flattened>dt {
+ float: left;
+ margin: 0;
+ line-height: 32px
+}
+
+dl.form.flattened>dd {
+ line-height: 32px
+}
+
+dl.form>dd input[type="text"],dl.form>dd input[type="password"],dl.form>dd input[type="email"],dl.form>dd input[type="url"] {
+ width: 440px;
+ max-width: 100%;
+ margin-right: 5px;
+ background-position-x: 98%
+}
+
+dl.form>dd input.shorter {
+ width: 130px
+}
+
+dl.form>dd input.short {
+ width: 250px
+}
+
+dl.form>dd input.long {
+ width: 100%
+}
+
+dl.form>dd textarea {
+ width: 100%;
+ height: 200px;
+ min-height: 200px
+}
+
+dl.form>dd textarea.short {
+ height: 50px;
+ min-height: 50px
+}
+
+dl.form>dd h4 {
+ margin: 4px 0 0
+}
+
+dl.form>dd h4.is-error {
+ color: #bd2c00
+}
+
+dl.form>dd h4.is-success {
+ color: #6cc644
+}
+
+dl.form>dd h4+p.note {
+ margin-top: 0
+}
+
+dl.form.required>dt>label:after {
+ padding-left: 5px;
+ color: #9f1006;
+ content: "*"
+}
+
+.note {
+ min-height: 17px;
+ margin: 4px 0 2px;
+ font-size: 12px;
+ color: #777
+}
+
+.note .spinner {
+ margin-right: 3px;
+ vertical-align: middle
+}
+
+.form-checkbox {
+ padding-left: 20px;
+ margin: 15px 0;
+ vertical-align: middle
+}
+
+.form-checkbox label em.highlight {
+ position: relative;
+ left: -4px;
+ padding: 2px 4px;
+ font-style: normal;
+ background: #fffbdc;
+ border-radius: 3px
+}
+
+.form-checkbox input[type=checkbox],.form-checkbox input[type=radio] {
+ float: left;
+ margin: 2px 0 0 -20px;
+ vertical-align: middle
+}
+
+.form-checkbox .note {
+ display: block;
+ margin: 0;
+ font-size: 12px;
+ font-weight: normal;
+ color: #666
+}
+
+dl.form .success,dl.form .error,dl.form .indicator {
+ display: none;
+ font-size: 12px;
+ font-weight: bold
+}
+
+dl.form.loading {
+ opacity: 0.5
+}
+
+dl.form.loading .indicator {
+ display: inline
+}
+
+dl.form.loading .spinner {
+ display: inline-block;
+ vertical-align: middle
+}
+
+dl.form.successful .success {
+ display: inline;
+ color: #390
+}
+
+dl.form.errored>dt label {
+ color: #900
+}
+
+dl.form.errored .error {
+ display: inline;
+ color: #900
+}
+
+dl.form.errored dd.error,dl.form.errored dd.warning {
+ display: inline-block;
+ padding: 5px;
+ font-size: 11px;
+ color: #494620;
+ background: #f7ea57;
+ border: 1px solid #c0b536;
+ border-top-color: #fff;
+ border-bottom-right-radius: 3px;
+ border-bottom-left-radius: 3px
+}
+
+dl.form.warn .warning {
+ display: inline;
+ color: #900
+}
+
+dl.form.warn dd.warning {
+ display: inline-block;
+ padding: 5px;
+ font-size: 11px;
+ color: #494620;
+ background: #f7ea57;
+ border: 1px solid #c0b536;
+ border-top-color: #fff;
+ border-bottom-right-radius: 3px;
+ border-bottom-left-radius: 3px
+}
+
+dl.form .form-note {
+ display: inline-block;
+ padding: 5px;
+ margin-top: -1px;
+ font-size: 11px;
+ color: #494620;
+ background: #f7ea57;
+ border: 1px solid #c0b536;
+ border-top-color: #fff;
+ border-bottom-right-radius: 3px;
+ border-bottom-left-radius: 3px
+}
+
+.hfields {
+ margin: 15px 0
+}
+
+.hfields:before {
+ display: table;
+ content: ""
+}
+
+.hfields:after {
+ display: table;
+ clear: both;
+ content: ""
+}
+
+.hfields dl.form {
+ float: left;
+ margin: 0 30px 0 0
+}
+
+.hfields dl.form>dt label {
+ display: inline-block;
+ margin: 5px 0 0;
+ color: #666
+}
+
+.hfields dl.form>dt label img {
+ position: relative;
+ top: -2px
+}
+
+.hfields .button {
+ float: left;
+ margin: 28px 25px 0 -20px
+}
+
+.hfields select {
+ margin-top: 5px
+}
+
+html.no-dnd-uploads .drag-and-drop {
+ min-height: 32px
+}
+
+html.no-dnd-uploads .drag-and-drop .default {
+ display: none
+}
+
+html.no-dnd-uploads .upload-enabled textarea {
+ border-bottom: 1px solid #ddd
+}
+
+.drag-and-drop {
+ padding: 7px 10px;
+ margin: 0;
+ font-size: 13px;
+ line-height: 16px;
+ color: #aaa;
+ background-color: #fafafa;
+ border: 1px solid #ccc;
+ border-top: 0;
+ border-bottom-right-radius: 3px;
+ border-bottom-left-radius: 3px
+}
+
+.drag-and-drop .default,.drag-and-drop .loading,.drag-and-drop .error {
+ display: none
+}
+
+.drag-and-drop .error {
+ color: #bd2c00
+}
+
+.drag-and-drop img {
+ vertical-align: top
+}
+
+.is-default .drag-and-drop .default {
+ display: inline-block
+}
+
+.is-uploading .drag-and-drop .loading {
+ display: inline-block
+}
+
+.is-bad-file .drag-and-drop .bad-file {
+ display: inline-block
+}
+
+.is-too-big .drag-and-drop .too-big {
+ display: inline-block
+}
+
+.is-empty .drag-and-drop .empty {
+ display: inline-block
+}
+
+.is-bad-browser .drag-and-drop .bad-browser {
+ display: inline-block
+}
+
+.drag-and-drop-error-info {
+ font-weight: normal;
+ color: #aaa
+}
+
+.drag-and-drop-error-info a {
+ color: #4183c4
+}
+
+.is-failed .drag-and-drop .failed-request {
+ display: inline-block
+}
+
+.manual-file-chooser {
+ position: absolute;
+ width: 240px;
+ padding: 5px;
+ margin-left: -80px;
+ cursor: pointer;
+ opacity: 0.0001
+}
+
+.manual-file-chooser:hover+.manual-file-chooser-text {
+ text-decoration: underline
+}
+
+.button .manual-file-chooser {
+ top: 0;
+ padding: 0;
+ line-height: 34px
+}
+
+.upload-enabled textarea {
+ display: block;
+ border-bottom: 1px dashed #ddd;
+ border-bottom-right-radius: 0;
+ border-bottom-left-radius: 0
+}
+
+.focused .drag-and-drop {
+ box-shadow: rgba(81,167,232,0.5) 0 0 3px
+}
+
+.dragover textarea,.dragover .drag-and-drop {
+ box-shadow: #c9ff00 0 0 3px
+}
+
+.previewable-comment-form {
+ position: relative
+}
+
+.previewable-comment-form .tabnav {
+ position: relative;
+ padding: 10px 10px 0
+}
+
+.previewable-comment-form .comment {
+ border: 1px solid #cacaca
+}
+
+.previewable-comment-form .comment-header .comment-header-actions {
+ display: none
+}
+
+.previewable-comment-form .comment-form-error {
+ margin-bottom: 10px
+}
+
+.previewable-comment-form .write-content,.previewable-comment-form .preview-content {
+ display: none;
+ padding: 0 10px 10px
+}
+
+.previewable-comment-form.write-selected .write-content,.previewable-comment-form.preview-selected .preview-content {
+ display: block
+}
+
+.previewable-comment-form textarea {
+ display: block;
+ width: 100%;
+ min-height: 100px;
+ max-height: 500px;
+ padding: 10px;
+ resize: vertical
+}
+
+.previewable-comment-form textarea.fullscreen-contents:focus {
+ border: 0;
+ box-shadow: none
+}
+
+div.composer {
+ margin-top: 0;
+ border: 0
+}
+
+.composer .comment-form-textarea {
+ height: 200px;
+ min-height: 200px
+}
+
+.composer-infobar {
+ height: 35px;
+ padding: 0 10px;
+ margin-bottom: 10px;
+ border-bottom: 1px solid #eee
+}
+
+.composer .tabnav {
+ margin: 0 0 10px
+}
+
+.infobar-widget.milestone {
+ position: relative;
+ float: right
+}
+
+.infobar-widget.milestone .select-menu-modal-holder {
+ right: 0
+}
+
+.infobar-widget.assignee {
+ float: left
+}
+
+.infobar-widget.assignee .css-truncate-target {
+ max-width: 110px
+}
+
+.infobar-widget .text,.infobar-widget .avatar,.infobar-widget .select-menu {
+ display: inline-block;
+ vertical-align: top
+}
+
+.infobar-widget .text {
+ margin-top: 3px
+}
+
+.infobar-widget .text a {
+ font-weight: bold;
+ color: #333
+}
+
+.infobar-widget .progress-bar {
+ width: 200px;
+ overflow: hidden;
+ line-height: 18px
+}
+
+input::-webkit-outer-spin-button,input::-webkit-inner-spin-button {
+ margin: 0;
+ -webkit-appearance: none
+}
+
+.input-group {
+ display: table
+}
+
+.input-group input {
+ position: relative;
+ width: 100%
+}
+
+.input-group input:focus {
+ z-index: 2
+}
+
+.input-group input[type="text"]+.minibutton {
+ margin-left: 0
+}
+
+.input-group.inline {
+ display: inline-table
+}
+
+.input-group input,.input-group-button {
+ display: table-cell
+}
+
+.input-group-button {
+ width: 1%;
+ vertical-align: middle
+}
+
+.input-group input:first-child,.input-group-button:first-child .button,.input-group-button:first-child .minibutton {
+ border-top-right-radius: 0;
+ border-bottom-right-radius: 0
+}
+
+.input-group-button:first-child .button,.input-group-button:first-child .minibutton {
+ margin-right: -1px
+}
+
+.input-group input:last-child,.input-group-button:last-child .button,.input-group-button:last-child .minibutton {
+ border-top-left-radius: 0;
+ border-bottom-left-radius: 0
+}
+
+.input-group-button:last-child .button,.input-group-button:last-child .minibutton {
+ margin-left: -1px
+}
+
+h2.account {
+ margin: 15px 0 0;
+ font-size: 18px;
+ font-weight: normal;
+ color: #666
+}
+
+p.explain {
+ position: relative;
+ font-size: 12px;
+ color: #666
+}
+
+p.explain strong {
+ color: #333
+}
+
+p.explain .octicon {
+ margin-right: 5px;
+ color: #bbb
+}
+
+p.explain .minibutton {
+ top: -4px;
+ float: right
+}
+
+.options-content p.explain {
+ padding: 10px 10px 0;
+ margin-top: 0;
+ border-top: 1px solid #ddd
+}
+
+.form-actions {
+ padding-bottom: 5px;
+ text-align: right
+}
+
+.form-actions .cancel {
+ float: left;
+ margin-top: 5px
+}
+
+.form-actions .button.cancel {
+ margin-top: 0;
+ margin-left: 2px
+}
+
+.form-actions .minibutton.cancel {
+ margin-top: 0
+}
+
+.form-actions .optional {
+ float: left;
+ padding-top: 8px;
+ margin-right: 15px
+}
+
+.form-actions .optional span.text {
+ padding: 0 3px
+}
+
+.form-actions .optional input {
+ position: relative;
+ top: -1px
+}
+
+.form-warning {
+ padding: 8px 10px;
+ margin: 10px 0;
+ font-size: 14px;
+ color: #333;
+ background: #ffffe2;
+ border: 1px solid #e7e4c2;
+ border-radius: 4px
+}
+
+.form-warning p {
+ margin: 0;
+ line-height: 1.5
+}
+
+.form-warning strong {
+ color: #000
+}
+
+.form-warning a {
+ font-weight: bold
+}
+
+.status-indicator {
+ font: normal normal 16px/1 "octicons";
+ display: inline-block;
+ text-decoration: none;
+ -webkit-font-smoothing: antialiased;
+ margin-left: 5px
+}
+
+.status-indicator-success:before {
+ color: #6cc644;
+ content: "\f03a"
+}
+
+.status-indicator-failed:before {
+ color: #bd2c00;
+ content: "\f02d"
+}
+
+.flash-messages {
+ margin-top: 15px;
+ margin-bottom: 15px
+}
+
+.flash,.flash-global {
+ position: relative;
+ font-size: 14px;
+ line-height: 1.6;
+ color: #246;
+ background-color: #e2eef9;
+ border: solid 1px #bac6d3
+}
+
+.flash.flash-warn,.flash-global.flash-warn {
+ color: #4c4a42;
+ background-color: #fff9ea;
+ border-color: #dfd8c2
+}
+
+.flash.flash-error,.flash-global.flash-error {
+ color: #911;
+ background-color: #fcdede;
+ border-color: #d2b2b2
+}
+
+.flash .flash-close,.flash-global .flash-close {
+ float: right;
+ padding: 17px;
+ margin-top: -15px;
+ margin-right: -15px;
+ margin-left: 20px;
+ color: inherit;
+ text-decoration: none;
+ cursor: pointer;
+ opacity: 0.6
+}
+
+.flash .flash-close:hover,.flash-global .flash-close:hover {
+ opacity: 1
+}
+
+.flash p:last-child,.flash-global p:last-child {
+ margin-bottom: 0
+}
+
+.flash .flash-action,.flash-global .flash-action {
+ float: right;
+ margin-top: -4px;
+ margin-left: 20px
+}
+
+.flash a,.flash-global a {
+ font-weight: bold
+}
+
+.flash {
+ padding: 15px;
+ border-radius: 3px
+}
+
+.flash+.flash {
+ margin-top: 5px
+}
+
+.flash-with-icon {
+ padding-left: 40px
+}
+
+.flash-with-icon>.octicon {
+ float: left;
+ margin-top: 3px;
+ margin-left: -25px
+}
+
+.flash-global {
+ padding: 10px;
+ margin-top: -1px;
+ border-width: 1px 0
+}
+
+.flash-global h2,.flash-global p {
+ margin-top: 0;
+ margin-bottom: 0;
+ font-size: 14px;
+ line-height: 1.4
+}
+
+.flash-global .flash-action {
+ margin-top: 5px
+}
+
+.flash-title {
+ margin-top: 0;
+ margin-bottom: 5px
+}
+
+.avatar {
+ display: inline-block;
+ overflow: hidden;
+ line-height: 1;
+ vertical-align: middle;
+ border-radius: 3px
+}
+
+.avatar-small {
+ border-radius: 2px
+}
+
+.avatar-link {
+ float: left;
+ line-height: 1
+}
+
+.avatar-group-item {
+ display: inline-block;
+ margin-bottom: 3px
+}
+
+.avatar-parent-child {
+ position: relative
+}
+
+.avatar-child {
+ position: absolute;
+ right: -15%;
+ bottom: -9%;
+ border-radius: 2px;
+ box-shadow: -2px -2px 0 rgba(255,255,255,0.8)
+}
+
+.blankslate {
+ position: relative;
+ padding: 30px;
+ text-align: center;
+ background-color: #fafafa;
+ border: 1px solid #e5e5e5;
+ border-radius: 3px;
+ box-shadow: inset 0 0 10px rgba(0,0,0,0.05)
+}
+
+.blankslate.clean-background {
+ background: none;
+ border: 0;
+ box-shadow: none
+}
+
+.blankslate.capped {
+ border-radius: 0 0 3px 3px
+}
+
+.blankslate.spacious {
+ padding: 100px 60px 120px
+}
+
+.blankslate.has-fixed-width {
+ width: 485px;
+ margin: 0 auto
+}
+
+.blankslate.large-format h3 {
+ margin: 0.75em 0;
+ font-size: 20px
+}
+
+.blankslate.large-format p {
+ font-size: 16px
+}
+
+.blankslate.large-format p.has-fixed-width {
+ width: 540px;
+ margin: 0 auto;
+ text-align: left
+}
+
+.blankslate.large-format .mega-octicon {
+ width: 40px;
+ height: 40px;
+ font-size: 40px;
+ color: #aaa
+}
+
+.blankslate.large-format .octicon-inbox {
+ font-size: 48px;
+ line-height: 40px
+}
+
+.blankslate code {
+ padding: 2px 5px 3px;
+ font-size: 14px;
+ background: #fff;
+ border: 1px solid #eee;
+ border-radius: 3px
+}
+
+.blankslate>.mega-octicon {
+ color: #aaa
+}
+
+.blankslate .mega-octicon+.mega-octicon {
+ margin-left: 10px
+}
+
+.tabnav+.blankslate {
+ margin-top: 20px
+}
+
+.blankslate .context-loader.large-format-loader {
+ padding-top: 50px
+}
+
+.spinner-forking {
+ display: block;
+ margin: 20px auto 40px
+}
+
+.forking-repo {
+ margin: 40px 0;
+ text-align: center
+}
+
+.forking-repo h3 {
+ margin-bottom: 10px;
+ font-size: 28px;
+ font-weight: 300
+}
+
+.forking-repo h4 {
+ margin: 0 0 30px;
+ font-size: 16px;
+ font-weight: 300
+}
+
+.counter {
+ display: inline-block;
+ padding: 2px 5px;
+ font-size: 11px;
+ font-weight: bold;
+ line-height: 1;
+ color: #777;
+ background-color: #eee;
+ border-radius: 20px
+}
+
+.button,.minibutton {
+ position: relative;
+ display: inline-block;
+ padding: 7px 12px;
+ font-size: 13px;
+ font-weight: bold;
+ color: #333;
+ text-shadow: 0 1px 0 rgba(255,255,255,0.9);
+ white-space: nowrap;
+ vertical-align: middle;
+ cursor: pointer;
+ background-color: #eee;
+ background-image: -webkit-linear-gradient(#fcfcfc, #eee);
+ background-image: linear-gradient(#fcfcfc, #eee);
+ background-repeat: repeat-x;
+ border: 1px solid #d5d5d5;
+ border-radius: 3px;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+ -webkit-appearance: none
+}
+
+.button i,.minibutton i {
+ font-style: normal;
+ font-weight: 500;
+ opacity: 0.6
+}
+
+.button:focus,.minibutton:focus {
+ text-decoration: none;
+ border-color: #51a7e8;
+ outline: none;
+ box-shadow: 0 0 5px rgba(81,167,232,0.5)
+}
+
+.button:hover,.button:active,.button.zeroclipboard-is-hover,.button.zeroclipboard-is-active,.minibutton:hover,.minibutton:active,.minibutton.zeroclipboard-is-hover,.minibutton.zeroclipboard-is-active {
+ text-decoration: none;
+ background-color: #ddd;
+ background-image: -webkit-linear-gradient(#eee, #ddd);
+ background-image: linear-gradient(#eee, #ddd);
+ background-repeat: repeat-x;
+ border-color: #ccc
+}
+
+.button:active,.button.selected,.button.selected:hover,.button.zeroclipboard-is-active,.minibutton:active,.minibutton.selected,.minibutton.selected:hover,.minibutton.zeroclipboard-is-active {
+ background-color: #dcdcdc;
+ background-image: none;
+ border-color: #b5b5b5;
+ box-shadow: inset 0 2px 4px rgba(0,0,0,0.15)
+}
+
+.button:disabled,.button:disabled:hover,.button.disabled,.button.disabled:hover,.minibutton:disabled,.minibutton:disabled:hover,.minibutton.disabled,.minibutton.disabled:hover {
+ color: rgba(102,102,102,0.5);
+ text-shadow: 0 1px 0 rgba(255,255,255,0.9);
+ cursor: default;
+ background-color: rgba(229,229,229,0.5);
+ background-image: none;
+ border-color: rgba(197,197,197,0.5);
+ box-shadow: none
+}
+
+.button.primary,.minibutton.primary {
+ color: #fff;
+ text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
+ background-color: #60b044;
+ background-image: -webkit-linear-gradient(#8add6d, #60b044);
+ background-image: linear-gradient(#8add6d, #60b044);
+ background-repeat: repeat-x;
+ border-color: #5ca941
+}
+
+.button.primary:hover,.minibutton.primary:hover {
+ color: #fff;
+ background-color: #569e3d;
+ background-image: -webkit-linear-gradient(#79d858, #569e3d);
+ background-image: linear-gradient(#79d858, #569e3d);
+ background-repeat: repeat-x;
+ border-color: #4a993e
+}
+
+.button.primary:active,.button.primary.selected,.minibutton.primary:active,.minibutton.primary.selected {
+ background-color: #569e3d;
+ background-image: none;
+ border-color: #418737
+}
+
+.button.primary:disabled,.button.primary:disabled:hover,.button.primary.disabled,.button.primary.disabled:hover,.minibutton.primary:disabled,.minibutton.primary:disabled:hover,.minibutton.primary.disabled,.minibutton.primary.disabled:hover {
+ color: #fefefe;
+ text-shadow: 0 -1px 0 rgba(39,39,39,0.25);
+ background-color: #add39f;
+ background-image: -webkit-linear-gradient(#c3ecb4, #add39f);
+ background-image: linear-gradient(#c3ecb4, #add39f);
+ background-repeat: repeat-x;
+ border-color: #b9dcac #b9dcac #a7c89b
+}
+
+.button.danger,.minibutton.danger {
+ color: #900
+}
+
+.button.danger:hover,.minibutton.danger:hover {
+ color: #fff;
+ text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
+ background-color: #b33630;
+ background-image: -webkit-linear-gradient(#dc5f59, #b33630);
+ background-image: linear-gradient(#dc5f59, #b33630);
+ background-repeat: repeat-x;
+ border-color: #cd504a
+}
+
+.button.danger:active,.button.danger.selected,.minibutton.danger:active,.minibutton.danger.selected {
+ color: #fff;
+ background-color: #b33630;
+ background-image: none;
+ border-color: #9f312c
+}
+
+.button.danger:disabled,.button.danger:disabled:hover,.button.danger.disabled,.button.danger.disabled:hover,.minibutton.danger:disabled,.minibutton.danger:disabled:hover,.minibutton.danger.disabled,.minibutton.danger.disabled:hover {
+ color: #cb7f7f;
+ text-shadow: 0 1px 0 rgba(255,255,255,0.9);
+ background-color: #efefef;
+ background-image: -webkit-linear-gradient(#fefefe, #efefef);
+ background-image: linear-gradient(#fefefe, #efefef);
+ background-repeat: repeat-x;
+ border-color: #e1e1e1
+}
+
+.button.with-count,.minibutton.with-count {
+ float: left;
+ border-top-right-radius: 0;
+ border-bottom-right-radius: 0
+}
+
+.button>.octicon,.minibutton>.octicon {
+ vertical-align: -1px
+}
+
+.button>.octicon-arrow-right,.minibutton>.octicon-arrow-right {
+ float: right;
+ margin-left: 5px
+}
+
+.minibutton>.octicon-arrow-right {
+ margin-top: 4px
+}
+
+.minibutton {
+ padding: 0 10px;
+ line-height: 24px
+}
+
+.hidden-text-expander {
+ display: block
+}
+
+.hidden-text-expander.inline {
+ position: relative;
+ top: -1px;
+ display: inline-block;
+ margin-left: 5px;
+ line-height: 0
+}
+
+.hidden-text-expander a {
+ display: inline-block;
+ height: 12px;
+ padding: 0 5px;
+ font-size: 12px;
+ font-weight: bold;
+ line-height: 6px;
+ color: #555;
+ text-decoration: none;
+ vertical-align: middle;
+ background: #ddd;
+ border-radius: 1px
+}
+
+.hidden-text-expander a:hover {
+ text-decoration: none;
+ background-color: #ccc
+}
+
+.hidden-text-expander a:active {
+ color: #fff;
+ background-color: #4183c4
+}
+
+.social-count {
+ float: left;
+ padding: 0 7px;
+ font-size: 11px;
+ font-weight: bold;
+ line-height: 24px;
+ color: #333;
+ vertical-align: middle;
+ background-color: #fff;
+ border: 1px solid #ddd;
+ border-left: 0;
+ border-top-right-radius: 3px;
+ border-bottom-right-radius: 3px
+}
+
+.social-count:hover {
+ color: #4183c4;
+ text-decoration: none;
+ cursor: pointer
+}
+
+.button-block {
+ display: block;
+ width: 100%;
+ text-align: center
+}
+
+.button-group {
+ display: inline-block;
+ vertical-align: middle
+}
+
+.button-group:before {
+ display: table;
+ content: ""
+}
+
+.button-group:after {
+ display: table;
+ clear: both;
+ content: ""
+}
+
+.button-group .button,.button-group .minibutton,.button-group .button-outline {
+ position: relative;
+ float: left;
+ border-radius: 0
+}
+
+.button-group .button:first-child,.button-group .minibutton:first-child,.button-group .button-outline:first-child {
+ border-top-left-radius: 3px;
+ border-bottom-left-radius: 3px
+}
+
+.button-group .button:last-child,.button-group .minibutton:last-child,.button-group .button-outline:last-child {
+ border-top-right-radius: 3px;
+ border-bottom-right-radius: 3px
+}
+
+.button-group .button:hover,.button-group .button:focus,.button-group .button:active,.button-group .button.selected,.button-group .minibutton:hover,.button-group .minibutton:focus,.button-group .minibutton:active,.button-group .minibutton.selected,.button-group .button-outline:hover,.button-group .button-outline:focus,.button-group .button-outline:active,.button-group .button-outline.selected {
+ z-index: 2
+}
+
+.button-group .button+.button,.button-group .minibutton+.minibutton {
+ margin-left: -1px;
+ box-shadow: inset 1px 0 0 rgba(255,255,255,0.2)
+}
+
+.button-group .button+.button:hover,.button-group .minibutton+.minibutton:hover {
+ box-shadow: none
+}
+
+.button-group .button+.button:active,.button-group .button+.button.selected,.button-group .minibutton+.minibutton:active,.button-group .minibutton+.minibutton.selected {
+ box-shadow: inset 0 3px 5px rgba(0,0,0,0.15)
+}
+
+.button-group .button-outline+.button-outline,.button-group .button_to+.button_to {
+ margin-left: -1px
+}
+
+.button-group .button_to {
+ float: left
+}
+
+.button-group .button_to .button,.button-group .button_to .minibutton,.button-group .button_to .button-outline {
+ border-radius: 0
+}
+
+.button-group .button_to:first-child .button,.button-group .button_to:first-child .minibutton,.button-group .button_to:first-child .button-outline {
+ border-top-left-radius: 3px;
+ border-bottom-left-radius: 3px
+}
+
+.button-group .button_to:last-child .button,.button-group .button_to:last-child .minibutton,.button-group .button_to:last-child .button-outline {
+ border-top-right-radius: 3px;
+ border-bottom-right-radius: 3px
+}
+
+.button-group+.button-group,.button-group+.button,.button-group+.minibutton {
+ margin-left: 5px
+}
+
+.button-link {
+ display: inline;
+ padding: 0;
+ font-size: inherit;
+ color: #4183c4;
+ white-space: nowrap;
+ cursor: pointer;
+ background-color: transparent;
+ border: 0;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+ -webkit-appearance: none
+}
+
+.button-link:hover,.button-link:focus {
+ text-decoration: underline
+}
+
+.button-link:focus {
+ outline: none
+}
+
+.button-outline {
+ display: inline-block;
+ padding: 7px 12px;
+ font-size: 13px;
+ font-weight: bold;
+ color: #4183c4;
+ white-space: nowrap;
+ vertical-align: middle;
+ cursor: pointer;
+ background: #fff;
+ border: 1px solid #e5e5e5;
+ border-radius: 3px;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+ -webkit-appearance: none
+}
+
+.button-outline:hover,.button-outline.zeroclipboard-is-hover {
+ color: #fff;
+ text-decoration: none;
+ background-color: #4183c4;
+ border-color: #4183c4
+}
+
+.button-outline:disabled,.button-outline.disabled,.button-outline:disabled:hover,.button-outline.disabled:hover {
+ color: #777;
+ cursor: default;
+ background-color: #f5f5f5;
+ border-color: #e5e5e5
+}
+
+.menu {
+ margin-bottom: 15px;
+ list-style: none;
+ background-color: #fff;
+ border: 1px solid #d8d8d8;
+ border-radius: 3px
+}
+
+.menu-item {
+ position: relative;
+ display: block;
+ padding: 8px 10px;
+ text-shadow: 0 1px 0 #fff;
+ border-bottom: 1px solid #eee
+}
+
+.menu-item:first-child {
+ border-top: 0;
+ border-top-right-radius: 2px;
+ border-top-left-radius: 2px
+}
+
+.menu-item:first-child:before {
+ border-top-left-radius: 2px
+}
+
+.menu-item:last-child {
+ border-bottom: 0;
+ border-bottom-right-radius: 2px;
+ border-bottom-left-radius: 2px
+}
+
+.menu-item:last-child:before {
+ border-bottom-left-radius: 2px
+}
+
+.menu-item:hover {
+ text-decoration: none;
+ background-color: #f9f9f9
+}
+
+.menu-item.selected {
+ font-weight: bold;
+ color: #222;
+ cursor: default;
+ background-color: #fff
+}
+
+.menu-item.selected:before {
+ position: absolute;
+ top: 0;
+ left: 0;
+ bottom: 0;
+ width: 2px;
+ content: "";
+ background-color: #d26911
+}
+
+.menu-item .octicon {
+ margin-right: 5px;
+ width: 16px;
+ color: #333;
+ text-align: center
+}
+
+.menu-item .counter {
+ float: right;
+ margin-left: 5px
+}
+
+.menu-item .menu-warning {
+ float: right;
+ color: #d26911
+}
+
+.menu-item .avatar {
+ float: left;
+ margin-right: 5px
+}
+
+.menu-item.alert .counter {
+ color: #bd2c00
+}
+
+.menu-heading {
+ display: block;
+ padding: 8px 10px;
+ margin-top: 0;
+ margin-bottom: 0;
+ font-size: 13px;
+ font-weight: bold;
+ line-height: 20px;
+ color: #555;
+ background-color: #f7f7f7;
+ border-bottom: 1px solid #eee
+}
+
+.menu-heading:hover {
+ text-decoration: none
+}
+
+.menu-heading:first-child {
+ border-top-right-radius: 2px;
+ border-top-left-radius: 2px
+}
+
+.menu-heading:last-child {
+ border-bottom-right-radius: 2px;
+ border-bottom-left-radius: 2px;
+ border-bottom: 0
+}
+
+.tabnav {
+ margin: 0 0 15px;
+ border-bottom: 1px solid #ddd
+}
+
+.tabnav .counter {
+ margin-left: 5px
+}
+
+.tabnav-tabs {
+ display: inline-block
+}
+
+.tabnav-tabs>li {
+ display: inline-block;
+ margin-bottom: -1px
+}
+
+.tabnav-tab {
+ display: inline-block;
+ padding: 8px 12px 7px;
+ font-size: 14px;
+ line-height: 20px;
+ color: #666;
+ text-decoration: none;
+ border: 1px solid transparent;
+ border-bottom: 0
+}
+
+.tabnav-tab.selected {
+ color: #333;
+ background-color: #fff;
+ border-color: #ddd;
+ border-radius: 3px 3px 0 0
+}
+
+.tabnav-tab:hover {
+ text-decoration: none
+}
+
+.tabnav-right {
+ position: relative;
+ float: right
+}
+
+.tabnav-widget {
+ display: inline-block;
+ vertical-align: top
+}
+
+.tabnav-widget+.tabnav-tabs {
+ margin-left: 10px
+}
+
+.tabnav-widget.search .spinner {
+ position: absolute;
+ top: 7px;
+ left: -22px;
+ margin-right: 8px;
+ vertical-align: middle
+}
+
+.tabnav-widget.search .search-link {
+ display: inline-block;
+ height: 26px;
+ padding-right: 5px;
+ font-size: 13px;
+ font-weight: 200;
+ line-height: 26px;
+ color: #666;
+ vertical-align: top
+}
+
+.tabnav-widget.search .fieldwrap {
+ display: inline-block;
+ height: 26px;
+ border-radius: 4px
+}
+
+.tabnav-widget.search .fieldwrap>input,.tabnav-widget.search .fieldwrap>button {
+ display: inline-block
+}
+
+.tabnav-widget.search input {
+ min-height: 26px;
+ padding: 0 4px;
+ font-size: 12px;
+ vertical-align: top;
+ border-radius: 3px 0 0 3px
+}
+
+.tabnav-widget.search .minibutton {
+ position: relative;
+ height: 24px;
+ padding: 0 8px;
+ margin-left: 0;
+ vertical-align: top;
+ border-left: 0;
+ border-radius: 0 3px 3px 0
+}
+
+.tabnav-widget.search .minibutton:hover {
+ color: #fff
+}
+
+.tabnav-widget.text {
+ margin-top: 12px;
+ font-size: 11px;
+ color: #666
+}
+
+.tabnav-extras {
+ display: inline-block;
+ margin-left: 10px
+}
+
+.tabnav-extras .octicon {
+ float: left;
+ margin-top: -1px;
+ margin-right: 5px
+}
+
+.tabnav-extras:hover {
+ color: #4183c4;
+ text-decoration: none
+}
+
+.filter-list {
+ list-style-type: none
+}
+
+.filter-list.small .filter-item {
+ padding: 4px 10px;
+ margin: 0 0 2px;
+ font-size: 12px
+}
+
+.filter-list.pjax-active .filter-item {
+ color: #777;
+ background-color: transparent
+}
+
+.filter-list.pjax-active .filter-item.pjax-active {
+ color: #fff;
+ background-color: #4183c4
+}
+
+.filter-item {
+ position: relative;
+ display: block;
+ padding: 8px 10px;
+ margin-bottom: 5px;
+ overflow: hidden;
+ font-size: 14px;
+ color: #777;
+ text-decoration: none;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ cursor: pointer;
+ border-radius: 3px
+}
+
+.filter-item:hover {
+ text-decoration: none;
+ background-color: #eee
+}
+
+.filter-item.selected {
+ color: #fff;
+ background-color: #4183c4
+}
+
+.filter-item.selected .octicon-remove-close {
+ float: right;
+ opacity: 0.8
+}
+
+.filter-item .count {
+ float: right;
+ font-weight: bold
+}
+
+.filter-item .bar {
+ position: absolute;
+ top: 2px;
+ right: 0;
+ bottom: 2px;
+ z-index: -1;
+ display: inline-block;
+ background-color: #f1f1f1
+}
+
+.state {
+ display: inline-block;
+ padding: 4px 8px;
+ font-weight: bold;
+ line-height: 20px;
+ color: #fff;
+ text-align: center;
+ border-radius: 3px;
+ background-color: #999
+}
+
+.state-open,.state-proposed,.state-reopened {
+ background-color: #6cc644
+}
+
+.state-merged {
+ background-color: #6e5494
+}
+
+.state-closed {
+ background-color: #bd2c00
+}
+
+.state-renamed {
+ background-color: #fffa5d
+}
+
+.tooltipped {
+ position: relative
+}
+
+.tooltipped:after {
+ position: absolute;
+ z-index: 1000000;
+ display: none;
+ padding: 5px 8px;
+ font: normal normal 11px/1.5 Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
+ color: #fff;
+ text-align: center;
+ text-decoration: none;
+ text-shadow: none;
+ text-transform: none;
+ letter-spacing: normal;
+ word-wrap: break-word;
+ white-space: pre;
+ pointer-events: none;
+ content: attr(aria-label);
+ background: rgba(0,0,0,0.8);
+ border-radius: 3px;
+ -webkit-font-smoothing: subpixel-antialiased
+}
+
+.tooltipped:before {
+ position: absolute;
+ z-index: 1000001;
+ display: none;
+ width: 0;
+ height: 0;
+ color: rgba(0,0,0,0.8);
+ pointer-events: none;
+ content: "";
+ border: 5px solid transparent
+}
+
+.tooltipped:hover:before,.tooltipped:hover:after,.tooltipped:active:before,.tooltipped:active:after,.tooltipped:focus:before,.tooltipped:focus:after {
+ display: inline-block;
+ text-decoration: none
+}
+
+.tooltipped-multiline:hover:after,.tooltipped-multiline:active:after,.tooltipped-multiline:focus:after {
+ display: table-cell
+}
+
+.tooltipped-s:after,.tooltipped-se:after,.tooltipped-sw:after {
+ top: 100%;
+ right: 50%;
+ margin-top: 5px
+}
+
+.tooltipped-s:before,.tooltipped-se:before,.tooltipped-sw:before {
+ top: auto;
+ right: 50%;
+ bottom: -5px;
+ margin-right: -5px;
+ border-bottom-color: rgba(0,0,0,0.8)
+}
+
+.tooltipped-se:after {
+ right: auto;
+ left: 50%;
+ margin-left: -15px
+}
+
+.tooltipped-sw:after {
+ margin-right: -15px
+}
+
+.tooltipped-n:after,.tooltipped-ne:after,.tooltipped-nw:after {
+ right: 50%;
+ bottom: 100%;
+ margin-bottom: 5px
+}
+
+.tooltipped-n:before,.tooltipped-ne:before,.tooltipped-nw:before {
+ top: -5px;
+ right: 50%;
+ bottom: auto;
+ margin-right: -5px;
+ border-top-color: rgba(0,0,0,0.8)
+}
+
+.tooltipped-ne:after {
+ right: auto;
+ left: 50%;
+ margin-left: -15px
+}
+
+.tooltipped-nw:after {
+ margin-right: -15px
+}
+
+.tooltipped-s:after,.tooltipped-n:after {
+ -webkit-transform: translateX(50%);
+ -ms-transform: translateX(50%);
+ transform: translateX(50%)
+}
+
+.tooltipped-w:after {
+ right: 100%;
+ bottom: 50%;
+ margin-right: 5px;
+ -webkit-transform: translateY(50%);
+ -ms-transform: translateY(50%);
+ transform: translateY(50%)
+}
+
+.tooltipped-w:before {
+ top: 50%;
+ bottom: 50%;
+ left: -5px;
+ margin-top: -5px;
+ border-left-color: rgba(0,0,0,0.8)
+}
+
+.tooltipped-e:after {
+ bottom: 50%;
+ left: 100%;
+ margin-left: 5px;
+ -webkit-transform: translateY(50%);
+ -ms-transform: translateY(50%);
+ transform: translateY(50%)
+}
+
+.tooltipped-e:before {
+ top: 50%;
+ right: -5px;
+ bottom: 50%;
+ margin-top: -5px;
+ border-right-color: rgba(0,0,0,0.8)
+}
+
+.tooltipped-multiline:after {
+ width: -moz-max-content;
+ width: -webkit-max-content;
+ max-width: 250px;
+ word-break: break-word;
+ word-wrap: normal;
+ white-space: pre-line;
+ border-collapse: separate
+}
+
+.tooltipped-multiline.tooltipped-s:after,.tooltipped-multiline.tooltipped-n:after {
+ right: auto;
+ left: 50%;
+ -webkit-transform: translateX(-50%);
+ -ms-transform: translateX(-50%);
+ transform: translateX(-50%)
+}
+
+.tooltipped-multiline.tooltipped-w:after,.tooltipped-multiline.tooltipped-e:after {
+ right: 100%
+}
+
+@media screen and (min-width: 0\0) {
+ .tooltipped-multiline:after {
+ width:250px
+ }
+}
+
+.tooltipped-sticky:before,.tooltipped-sticky:after {
+ display: inline-block
+}
+
+.tooltipped-sticky.tooltipped-multiline:after {
+ display: table-cell
+}
+
+.fullscreen-overlay-enabled.dark-theme .tooltipped:after {
+ color: #000;
+ background: rgba(255,255,255,0.8)
+}
+
+.fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-s:before,.fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-se:before,.fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-sw:before {
+ border-bottom-color: rgba(255,255,255,0.8)
+}
+
+.fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-n:before,.fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-ne:before,.fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-nw:before {
+ border-top-color: rgba(255,255,255,0.8)
+}
+
+.fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-e:before {
+ border-right-color: rgba(255,255,255,0.8)
+}
+
+.fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-w:before {
+ border-left-color: rgba(255,255,255,0.8)
+}
+
+.flex-table {
+ display: table
+}
+
+.flex-table-item {
+ display: table-cell;
+ width: 1%;
+ white-space: nowrap;
+ vertical-align: middle
+}
+
+.flex-table-item-primary {
+ width: 99%
+}
+
+.css-truncate.css-truncate-target,.css-truncate .css-truncate-target {
+ display: inline-block;
+ max-width: 125px;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ vertical-align: top
+}
+
+.css-truncate.expandable.zeroclipboard-is-hover .css-truncate-target,.css-truncate.expandable.zeroclipboard-is-hover.css-truncate-target,.css-truncate.expandable:hover .css-truncate-target,.css-truncate.expandable:hover.css-truncate-target {
+ max-width: 10000px !important
+}
+
+.sunken-menu {
+ position: relative;
+ padding-top: 15px;
+ padding-bottom: 15px;
+ background-image: -webkit-linear-gradient(left, #f6f6f6 0%, #fff 8px);
+ background-image: linear-gradient(to right, #f6f6f6 0%, #fff 8px);
+ box-shadow: inset 1px 0 0 #eee
+}
+
+.sunken-menu:before,.sunken-menu:after {
+ position: absolute;
+ left: 0;
+ width: 100%;
+ height: 15px;
+ content: "";
+ background-color: transparent
+}
+
+.sunken-menu:before {
+ top: 0;
+ background-color: transparent;
+ background-image: -webkit-linear-gradient(#fff, rgba(255,255,255,0));
+ background-image: linear-gradient(#fff, rgba(255,255,255,0))
+}
+
+.sunken-menu:after {
+ bottom: 0;
+ background-color: transparent;
+ background-image: -webkit-linear-gradient(rgba(255,255,255,0), #fff);
+ background-image: linear-gradient(rgba(255,255,255,0), #fff)
+}
+
+.sunken-menu-separator {
+ position: relative;
+ height: 5px;
+ margin: 8px 0 6px 1px;
+ background-image: -webkit-radial-gradient(farthest-side at left top, #f4f4f4, rgba(244,244,244,0));
+ background-image: radial-gradient(farthest-side at left top, #f4f4f4, rgba(244,244,244,0))
+}
+
+.sunken-menu-separator:before {
+ position: absolute;
+ top: 0;
+ width: 100%;
+ height: 1px;
+ content: "";
+ background-image: -webkit-linear-gradient(left, #eee 70%, #fff 100%);
+ background-image: linear-gradient(to right, #eee 70%, #fff 100%);
+ border-top: 1px solid #eee\9
+}
+
+.sunken-menu-group {
+ list-style-type: none
+}
+
+.sunken-menu-item {
+ display: block;
+ padding: 8px 10px;
+ margin-top: 5px;
+ margin-bottom: 5px;
+ border: 1px solid transparent;
+ outline: 0
+}
+
+.sunken-menu-item .counter {
+ position: absolute;
+ top: 8px;
+ right: 10px
+}
+
+.sunken-menu-item .octicon {
+ left: -1px;
+ width: 16px;
+ color: #999;
+ text-align: center
+}
+
+.sunken-menu-item .mini-loader {
+ position: absolute;
+ top: 9px;
+ left: 11px;
+ display: none
+}
+
+.sunken-menu-item:focus,.sunken-menu-item:hover {
+ text-decoration: none;
+ box-shadow: inset 2px 0 0 #ccc
+}
+
+.sunken-menu-item:focus .octicon,.sunken-menu-item:hover .octicon {
+ color: #333
+}
+
+.sunken-menu-item.selected {
+ font-weight: bold;
+ color: #333;
+ background-color: #fff;
+ border-color: #eee #eee #eee transparent;
+ border-radius: 0 3px 3px 0;
+ box-shadow: 1px 1px 3px rgba(0,0,0,0.05)
+}
+
+.sunken-menu-item.selected:after {
+ position: absolute;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ width: 3px;
+ content: "";
+ background-color: #d26911;
+ border-radius: 0 3px 3px 0
+}
+
+.sunken-menu-item.selected .octicon {
+ color: #333
+}
+
+.sunken-menu-item.is-loading .mini-loader {
+ display: inline-block;
+ -webkit-animation: mini-nav-loader, 0.4s, forwards;
+ animation: mini-nav-loader, 0.4s, forwards
+}
+
+.sunken-menu-item.is-loading .octicon {
+ color: #fff
+}
+
+@-webkit-keyframes mini-nav-loader {
+ 0%,
+ 90% {
+ opacity: 0
+ }
+
+ 100% {
+ opacity: 1
+ }
+}
+
+@keyframes mini-nav-loader {
+ 0%,
+ 90% {
+ opacity: 0
+ }
+
+ 100% {
+ opacity: 1
+ }
+}
+
+@font-face {
+ font-family: 'octicons';
+ src: url(/assets/octicons/octicons/octicons-d5329fb2f700a56fe0b9ae5c301fabbdf5d77c1293b1fa1d35de9357530e2326.eot?#iefix) format("embedded-opentype"),url(/assets/octicons/octicons/octicons-70c2cafa59738740d1ad6d66d46342bafdc6ca63ade3e44c24bed1e6f7b1db71.woff) format("woff"),url(/assets/octicons/octicons/octicons-39c6d7739e9153806ef211d2a0f75044891634c4f67425e6250b0d8c6283c2c7.ttf) format("truetype"),url(/assets/octicons/octicons/octicons-c11b1be24a2862c1dc8880c22867d8d01315c9d7da5167c42119eb1bcce2e33c.svg#octicons) format("svg");
+ font-weight: normal;
+ font-style: normal
+}
+
+.octicon,.mega-octicon {
+ font: normal normal normal 16px/1 octicons;
+ display: inline-block;
+ text-decoration: none;
+ text-rendering: auto;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none
+}
+
+.mega-octicon {
+ font-size: 32px
+}
+
+.octicon-alert:before {
+ content: '\f02d'
+}
+
+.octicon-alignment-align:before {
+ content: '\f08a'
+}
+
+.octicon-alignment-aligned-to:before {
+ content: '\f08e'
+}
+
+.octicon-alignment-unalign:before {
+ content: '\f08b'
+}
+
+.octicon-arrow-down:before {
+ content: '\f03f'
+}
+
+.octicon-arrow-left:before {
+ content: '\f040'
+}
+
+.octicon-arrow-right:before {
+ content: '\f03e'
+}
+
+.octicon-arrow-small-down:before {
+ content: '\f0a0'
+}
+
+.octicon-arrow-small-left:before {
+ content: '\f0a1'
+}
+
+.octicon-arrow-small-right:before {
+ content: '\f071'
+}
+
+.octicon-arrow-small-up:before {
+ content: '\f09f'
+}
+
+.octicon-arrow-up:before {
+ content: '\f03d'
+}
+
+.octicon-beer:before {
+ content: '\f069'
+}
+
+.octicon-book:before {
+ content: '\f007'
+}
+
+.octicon-bookmark:before {
+ content: '\f07b'
+}
+
+.octicon-briefcase:before {
+ content: '\f0d3'
+}
+
+.octicon-broadcast:before {
+ content: '\f048'
+}
+
+.octicon-browser:before {
+ content: '\f0c5'
+}
+
+.octicon-bug:before {
+ content: '\f091'
+}
+
+.octicon-calendar:before {
+ content: '\f068'
+}
+
+.octicon-check:before {
+ content: '\f03a'
+}
+
+.octicon-checklist:before {
+ content: '\f076'
+}
+
+.octicon-chevron-down:before {
+ content: '\f0a3'
+}
+
+.octicon-chevron-left:before {
+ content: '\f0a4'
+}
+
+.octicon-chevron-right:before {
+ content: '\f078'
+}
+
+.octicon-chevron-up:before {
+ content: '\f0a2'
+}
+
+.octicon-circle-slash:before {
+ content: '\f084'
+}
+
+.octicon-circuit-board:before {
+ content: '\f0d6'
+}
+
+.octicon-clippy:before {
+ content: '\f035'
+}
+
+.octicon-clock:before {
+ content: '\f046'
+}
+
+.octicon-cloud-download:before {
+ content: '\f00b'
+}
+
+.octicon-cloud-upload:before {
+ content: '\f00c'
+}
+
+.octicon-code:before {
+ content: '\f05f'
+}
+
+.octicon-color-mode:before {
+ content: '\f065'
+}
+
+.octicon-comment-add:before,.octicon-comment:before {
+ content: '\f02b'
+}
+
+.octicon-comment-discussion:before {
+ content: '\f04f'
+}
+
+.octicon-credit-card:before {
+ content: '\f045'
+}
+
+.octicon-dash:before {
+ content: '\f0ca'
+}
+
+.octicon-dashboard:before {
+ content: '\f07d'
+}
+
+.octicon-database:before {
+ content: '\f096'
+}
+
+.octicon-device-camera:before {
+ content: '\f056'
+}
+
+.octicon-device-camera-video:before {
+ content: '\f057'
+}
+
+.octicon-device-desktop:before {
+ content: '\f27c'
+}
+
+.octicon-device-mobile:before {
+ content: '\f038'
+}
+
+.octicon-diff:before {
+ content: '\f04d'
+}
+
+.octicon-diff-added:before {
+ content: '\f06b'
+}
+
+.octicon-diff-ignored:before {
+ content: '\f099'
+}
+
+.octicon-diff-modified:before {
+ content: '\f06d'
+}
+
+.octicon-diff-removed:before {
+ content: '\f06c'
+}
+
+.octicon-diff-renamed:before {
+ content: '\f06e'
+}
+
+.octicon-ellipsis:before {
+ content: '\f09a'
+}
+
+.octicon-eye-unwatch:before,.octicon-eye-watch:before,.octicon-eye:before {
+ content: '\f04e'
+}
+
+.octicon-file-binary:before {
+ content: '\f094'
+}
+
+.octicon-file-code:before {
+ content: '\f010'
+}
+
+.octicon-file-directory:before {
+ content: '\f016'
+}
+
+.octicon-file-media:before {
+ content: '\f012'
+}
+
+.octicon-file-pdf:before {
+ content: '\f014'
+}
+
+.octicon-file-submodule:before {
+ content: '\f017'
+}
+
+.octicon-file-symlink-directory:before {
+ content: '\f0b1'
+}
+
+.octicon-file-symlink-file:before {
+ content: '\f0b0'
+}
+
+.octicon-file-text:before {
+ content: '\f011'
+}
+
+.octicon-file-zip:before {
+ content: '\f013'
+}
+
+.octicon-flame:before {
+ content: '\f0d2'
+}
+
+.octicon-fold:before {
+ content: '\f0cc'
+}
+
+.octicon-gear:before {
+ content: '\f02f'
+}
+
+.octicon-gift:before {
+ content: '\f042'
+}
+
+.octicon-gist:before {
+ content: '\f00e'
+}
+
+.octicon-gist-secret:before {
+ content: '\f08c'
+}
+
+.octicon-git-branch-create:before,.octicon-git-branch-delete:before,.octicon-git-branch:before {
+ content: '\f020'
+}
+
+.octicon-git-commit:before {
+ content: '\f01f'
+}
+
+.octicon-git-compare:before {
+ content: '\f0ac'
+}
+
+.octicon-git-merge:before {
+ content: '\f023'
+}
+
+.octicon-git-pull-request-abandoned:before,.octicon-git-pull-request:before {
+ content: '\f009'
+}
+
+.octicon-globe:before {
+ content: '\f0b6'
+}
+
+.octicon-graph:before {
+ content: '\f043'
+}
+
+.octicon-heart:before {
+ content: '\2665'
+}
+
+.octicon-history:before {
+ content: '\f07e'
+}
+
+.octicon-home:before {
+ content: '\f08d'
+}
+
+.octicon-horizontal-rule:before {
+ content: '\f070'
+}
+
+.octicon-hourglass:before {
+ content: '\f09e'
+}
+
+.octicon-hubot:before {
+ content: '\f09d'
+}
+
+.octicon-inbox:before {
+ content: '\f0cf'
+}
+
+.octicon-info:before {
+ content: '\f059'
+}
+
+.octicon-issue-closed:before {
+ content: '\f028'
+}
+
+.octicon-issue-opened:before {
+ content: '\f026'
+}
+
+.octicon-issue-reopened:before {
+ content: '\f027'
+}
+
+.octicon-jersey:before {
+ content: '\f019'
+}
+
+.octicon-jump-down:before {
+ content: '\f072'
+}
+
+.octicon-jump-left:before {
+ content: '\f0a5'
+}
+
+.octicon-jump-right:before {
+ content: '\f0a6'
+}
+
+.octicon-jump-up:before {
+ content: '\f073'
+}
+
+.octicon-key:before {
+ content: '\f049'
+}
+
+.octicon-keyboard:before {
+ content: '\f00d'
+}
+
+.octicon-law:before {
+ content: '\f0d8'
+}
+
+.octicon-light-bulb:before {
+ content: '\f000'
+}
+
+.octicon-link:before {
+ content: '\f05c'
+}
+
+.octicon-link-external:before {
+ content: '\f07f'
+}
+
+.octicon-list-ordered:before {
+ content: '\f062'
+}
+
+.octicon-list-unordered:before {
+ content: '\f061'
+}
+
+.octicon-location:before {
+ content: '\f060'
+}
+
+.octicon-gist-private:before,.octicon-mirror-private:before,.octicon-git-fork-private:before,.octicon-lock:before {
+ content: '\f06a'
+}
+
+.octicon-logo-github:before {
+ content: '\f092'
+}
+
+.octicon-mail:before {
+ content: '\f03b'
+}
+
+.octicon-mail-read:before {
+ content: '\f03c'
+}
+
+.octicon-mail-reply:before {
+ content: '\f051'
+}
+
+.octicon-mark-github:before {
+ content: '\f00a'
+}
+
+.octicon-markdown:before {
+ content: '\f0c9'
+}
+
+.octicon-megaphone:before {
+ content: '\f077'
+}
+
+.octicon-mention:before {
+ content: '\f0be'
+}
+
+.octicon-microscope:before {
+ content: '\f089'
+}
+
+.octicon-milestone:before {
+ content: '\f075'
+}
+
+.octicon-mirror-public:before,.octicon-mirror:before {
+ content: '\f024'
+}
+
+.octicon-mortar-board:before {
+ content: '\f0d7'
+}
+
+.octicon-move-down:before {
+ content: '\f0a8'
+}
+
+.octicon-move-left:before {
+ content: '\f074'
+}
+
+.octicon-move-right:before {
+ content: '\f0a9'
+}
+
+.octicon-move-up:before {
+ content: '\f0a7'
+}
+
+.octicon-mute:before {
+ content: '\f080'
+}
+
+.octicon-no-newline:before {
+ content: '\f09c'
+}
+
+.octicon-octoface:before {
+ content: '\f008'
+}
+
+.octicon-organization:before {
+ content: '\f037'
+}
+
+.octicon-package:before {
+ content: '\f0c4'
+}
+
+.octicon-paintcan:before {
+ content: '\f0d1'
+}
+
+.octicon-pencil:before {
+ content: '\f058'
+}
+
+.octicon-person-add:before,.octicon-person-follow:before,.octicon-person:before {
+ content: '\f018'
+}
+
+.octicon-pin:before {
+ content: '\f041'
+}
+
+.octicon-playback-fast-forward:before {
+ content: '\f0bd'
+}
+
+.octicon-playback-pause:before {
+ content: '\f0bb'
+}
+
+.octicon-playback-play:before {
+ content: '\f0bf'
+}
+
+.octicon-playback-rewind:before {
+ content: '\f0bc'
+}
+
+.octicon-plug:before {
+ content: '\f0d4'
+}
+
+.octicon-repo-create:before,.octicon-gist-new:before,.octicon-file-directory-create:before,.octicon-file-add:before,.octicon-plus:before {
+ content: '\f05d'
+}
+
+.octicon-podium:before {
+ content: '\f0af'
+}
+
+.octicon-primitive-dot:before {
+ content: '\f052'
+}
+
+.octicon-primitive-square:before {
+ content: '\f053'
+}
+
+.octicon-pulse:before {
+ content: '\f085'
+}
+
+.octicon-puzzle:before {
+ content: '\f0c0'
+}
+
+.octicon-question:before {
+ content: '\f02c'
+}
+
+.octicon-quote:before {
+ content: '\f063'
+}
+
+.octicon-radio-tower:before {
+ content: '\f030'
+}
+
+.octicon-repo-delete:before,.octicon-repo:before {
+ content: '\f001'
+}
+
+.octicon-repo-clone:before {
+ content: '\f04c'
+}
+
+.octicon-repo-force-push:before {
+ content: '\f04a'
+}
+
+.octicon-gist-fork:before,.octicon-repo-forked:before {
+ content: '\f002'
+}
+
+.octicon-repo-pull:before {
+ content: '\f006'
+}
+
+.octicon-repo-push:before {
+ content: '\f005'
+}
+
+.octicon-rocket:before {
+ content: '\f033'
+}
+
+.octicon-rss:before {
+ content: '\f034'
+}
+
+.octicon-ruby:before {
+ content: '\f047'
+}
+
+.octicon-screen-full:before {
+ content: '\f066'
+}
+
+.octicon-screen-normal:before {
+ content: '\f067'
+}
+
+.octicon-search-save:before,.octicon-search:before {
+ content: '\f02e'
+}
+
+.octicon-server:before {
+ content: '\f097'
+}
+
+.octicon-settings:before {
+ content: '\f07c'
+}
+
+.octicon-log-in:before,.octicon-sign-in:before {
+ content: '\f036'
+}
+
+.octicon-log-out:before,.octicon-sign-out:before {
+ content: '\f032'
+}
+
+.octicon-split:before {
+ content: '\f0c6'
+}
+
+.octicon-squirrel:before {
+ content: '\f0b2'
+}
+
+.octicon-star-add:before,.octicon-star-delete:before,.octicon-star:before {
+ content: '\f02a'
+}
+
+.octicon-steps:before {
+ content: '\f0c7'
+}
+
+.octicon-stop:before {
+ content: '\f08f'
+}
+
+.octicon-repo-sync:before,.octicon-sync:before {
+ content: '\f087'
+}
+
+.octicon-tag-remove:before,.octicon-tag-add:before,.octicon-tag:before {
+ content: '\f015'
+}
+
+.octicon-telescope:before {
+ content: '\f088'
+}
+
+.octicon-terminal:before {
+ content: '\f0c8'
+}
+
+.octicon-three-bars:before {
+ content: '\f05e'
+}
+
+.octicon-thumbsdown:before {
+ content: '\f0db'
+}
+
+.octicon-thumbsup:before {
+ content: '\f0da'
+}
+
+.octicon-tools:before {
+ content: '\f031'
+}
+
+.octicon-trashcan:before {
+ content: '\f0d0'
+}
+
+.octicon-triangle-down:before {
+ content: '\f05b'
+}
+
+.octicon-triangle-left:before {
+ content: '\f044'
+}
+
+.octicon-triangle-right:before {
+ content: '\f05a'
+}
+
+.octicon-triangle-up:before {
+ content: '\f0aa'
+}
+
+.octicon-unfold:before {
+ content: '\f039'
+}
+
+.octicon-unmute:before {
+ content: '\f0ba'
+}
+
+.octicon-versions:before {
+ content: '\f064'
+}
+
+.octicon-remove-close:before,.octicon-x:before {
+ content: '\f081'
+}
+
+.octicon-zap:before {
+ content: '\26A1'
+}
+
+.date_selector {
+ width: 225px;
+ text-align: left;
+ text-decoration: none;
+ z-index: 9;
+ display: none
+}
+
+.date_selector .month_nav,.date_selector .year_nav {
+ margin-top: 5px;
+ margin-bottom: 5px;
+ padding: 0;
+ display: block;
+ position: relative;
+ text-align: center;
+ line-height: 20px
+}
+
+.date_selector .month_nav {
+ float: left;
+ width: 55%
+}
+
+.date_selector .year_nav {
+ float: right;
+ width: 35%
+}
+
+.date_selector .date-button {
+ position: absolute;
+ top: 0;
+ width: 18px;
+ height: 18px;
+ padding: 4px;
+ color: #4183c4;
+ font-size: 12px;
+ cursor: pointer;
+ line-height: 12px
+}
+
+.date_selector .prev {
+ left: 0
+}
+
+.date_selector .next {
+ right: 0
+}
+
+.date_selector table {
+ width: 100%;
+ clear: both
+}
+
+.date_selector tr {
+ font-size: 0
+}
+
+.date_selector th,.date_selector td {
+ width: 32px;
+ height: 32px;
+ line-height: 28px;
+ padding: 0;
+ text-align: center;
+ font-weight: normal;
+ display: inline-block;
+ font-size: 12px;
+ margin-top: -1px;
+ margin-left: -1px
+}
+
+.date_selector td {
+ border: 1px solid #ccc;
+ color: #4183c4;
+ background: #fff;
+ cursor: default
+}
+
+.date_selector td.today {
+ background: #eee
+}
+
+.date_selector td.selected,.date_selector td.selectable_day:hover {
+ background: #4183c4;
+ color: #fff;
+ border-color: #3269a0;
+ z-index: 10;
+ position: relative;
+ cursor: pointer
+}
+
+.date_selector td.unselected_month {
+ color: #ccc
+}
+
+.jcrop-holder {
+ direction: ltr;
+ text-align: left;
+ -ms-touch-action: none
+}
+
+.jcrop-vline,.jcrop-hline {
+ background: #fff url(/images/spinners/Jcrop.gif);
+ font-size: 0;
+ position: absolute
+}
+
+.jcrop-vline {
+ height: 100%;
+ width: 1px !important
+}
+
+.jcrop-vline.right {
+ right: 0
+}
+
+.jcrop-hline {
+ height: 1px !important;
+ width: 100%
+}
+
+.jcrop-hline.bottom {
+ bottom: 0
+}
+
+.jcrop-tracker {
+ height: 100%;
+ width: 100%;
+ -webkit-tap-highlight-color: transparent;
+ -webkit-touch-callout: none;
+ -webkit-user-select: none
+}
+
+.jcrop-handle {
+ background-color: #333;
+ border: 1px #eee solid;
+ width: 7px;
+ height: 7px;
+ font-size: 1px
+}
+
+.jcrop-handle.ord-n {
+ left: 50%;
+ margin-left: -4px;
+ margin-top: -4px;
+ top: 0
+}
+
+.jcrop-handle.ord-s {
+ bottom: 0;
+ left: 50%;
+ margin-bottom: -4px;
+ margin-left: -4px
+}
+
+.jcrop-handle.ord-e {
+ margin-right: -4px;
+ margin-top: -4px;
+ right: 0;
+ top: 50%
+}
+
+.jcrop-handle.ord-w {
+ left: 0;
+ margin-left: -4px;
+ margin-top: -4px;
+ top: 50%
+}
+
+.jcrop-handle.ord-nw {
+ left: 0;
+ margin-left: -4px;
+ margin-top: -4px;
+ top: 0
+}
+
+.jcrop-handle.ord-ne {
+ margin-right: -4px;
+ margin-top: -4px;
+ right: 0;
+ top: 0
+}
+
+.jcrop-handle.ord-se {
+ bottom: 0;
+ margin-bottom: -4px;
+ margin-right: -4px;
+ right: 0
+}
+
+.jcrop-handle.ord-sw {
+ bottom: 0;
+ left: 0;
+ margin-bottom: -4px;
+ margin-left: -4px
+}
+
+.jcrop-dragbar.ord-n,.jcrop-dragbar.ord-s {
+ height: 7px;
+ width: 100%
+}
+
+.jcrop-dragbar.ord-e,.jcrop-dragbar.ord-w {
+ height: 100%;
+ width: 7px
+}
+
+.jcrop-dragbar.ord-n {
+ margin-top: -4px
+}
+
+.jcrop-dragbar.ord-s {
+ bottom: 0;
+ margin-bottom: -4px
+}
+
+.jcrop-dragbar.ord-e {
+ margin-right: -4px;
+ right: 0
+}
+
+.jcrop-dragbar.ord-w {
+ margin-left: -4px
+}
+
+.jcrop-light .jcrop-vline,.jcrop-light .jcrop-hline {
+ background: #fff;
+ filter: alpha(opacity=70) !important;
+ opacity: 0.7 !important
+}
+
+.jcrop-light .jcrop-handle {
+ -moz-border-radius: 3px;
+ -webkit-border-radius: 3px;
+ background-color: #000;
+ border-color: #fff;
+ border-radius: 3px
+}
+
+.jcrop-dark .jcrop-vline,.jcrop-dark .jcrop-hline {
+ background: #000;
+ filter: alpha(opacity=70) !important;
+ opacity: 0.7 !important
+}
+
+.jcrop-dark .jcrop-handle {
+ -moz-border-radius: 3px;
+ -webkit-border-radius: 3px;
+ background-color: #fff;
+ border-color: #000;
+ border-radius: 3px
+}
+
+.jcrop-holder img,img.jcrop-preview {
+ max-width: none
+}
+
+.code-frequency .addition {
+ fill-opacity: 1;
+ fill: #6cc644
+}
+
+.code-frequency .deletion {
+ fill-opacity: 1;
+ fill: #bd2c00
+}
+
+.cadd {
+ font-weight: bold;
+ color: #6cc644
+}
+
+.cdel {
+ font-weight: bold;
+ color: #bd2c00
+}
+
+.commit-activity-graphs .dots {
+ display: none
+}
+
+#commit-activity-master {
+ margin-top: 20px
+}
+
+.is-graph-loading #commit-activity-master {
+ display: none
+}
+
+rect {
+ shape-rendering: crispedges
+}
+
+rect.max {
+ fill: #ffc644
+}
+
+g.bar {
+ fill: #1db34f
+}
+
+g.mini {
+ fill: #f17f49
+}
+
+g.active rect {
+ fill: #bd380f
+}
+
+circle.focus {
+ fill: #555
+}
+
+.dot text {
+ stroke: none;
+ fill: #555
+}
+
+.tint-box {
+ border-radius: 6px;
+ background: #f3f3f3;
+ position: relative;
+ margin-bottom: 10px
+}
+
+.tint-box.transparent {
+ background: #fff
+}
+
+.tint-box .activity {
+ margin-top: 0;
+ padding-top: 100px
+}
+
+.contrib-data {
+ margin: 0 0 10px;
+ list-style: none;
+ padding: 0
+}
+
+#contributors .capped-card .avatar {
+ float: left;
+ width: 32px;
+ height: 32px;
+ margin-right: 5px
+}
+
+#contributors .capped-card h3 {
+ font-weight: normal
+}
+
+#contributors .capped-card .ameta {
+ display: block;
+ font-size: 12px;
+ color: #ccc
+}
+
+#contributors .capped-card .rank {
+ float: right;
+ color: #999;
+ font-size: 13px
+}
+
+#contributors .capped-card .cmt {
+ color: #999
+}
+
+#contributors .capped-card path {
+ fill: #f17f49
+}
+
+#contributors .capped-card .midlabel {
+ fill: #ccc
+}
+
+.d {
+ color: #bd2c00
+}
+
+.a {
+ color: #6cc644
+}
+
+.axis {
+ fill: #aaa;
+ font-size: 10px
+}
+
+.axis line {
+ shape-rendering: crispedges;
+ stroke: #eee
+}
+
+.axis path {
+ display: none
+}
+
+.axis .zero line {
+ stroke-width: 1.5;
+ stroke: #4183c4;
+ stroke-dasharray: 3 3
+}
+
+.graphs .is-graph-loading {
+ min-height: 500px
+}
+
+.graphs.wheader h2 {
+ padding: 1px
+}
+
+.graphs .area {
+ fill: #1db34f;
+ fill-opacity: 0.5
+}
+
+.graphs .path {
+ stroke: #1db34f;
+ stroke-width: 2px;
+ stroke-opacity: 1;
+ fill: none
+}
+
+.graphs .dot {
+ fill: #1db34f;
+ stroke: #16873c;
+ stroke-width: 2px
+}
+
+.graphs .dot.padded {
+ stroke: #fff;
+ stroke-width: 1px
+}
+
+.graphs .dot.padded circle:hover {
+ fill: #4183c4
+}
+
+.graphs .d3-tip {
+ fill: #333
+}
+
+.graphs .d3-tip text {
+ fill: #fff;
+ font-size: 11px
+}
+
+.graphs .dir {
+ font-size: 12px;
+ font-weight: normal;
+ color: #555;
+ line-height: 100%;
+ padding-top: 5px;
+ float: right
+}
+
+.graphs .selection rect {
+ fill: #333;
+ fill-opacity: 0.1;
+ stroke: #333;
+ stroke-width: 1px;
+ stroke-opacity: 0.4;
+ shape-rendering: crispedges;
+ stroke-dasharray: 3 3
+}
+
+.graph-filter h3 {
+ display: inline-block;
+ margin: 10px 0 0;
+ font-weight: 300;
+ font-size: 24px
+}
+
+.graph-filter .info {
+ margin-top: 5px;
+ margin-bottom: 20px;
+ color: #777
+}
+
+.graph-filter .select-menu {
+ float: right;
+ margin-top: 13px
+}
+
+h2.ghead:after {
+ content: ".";
+ height: 0;
+ display: block;
+ visibility: hidden;
+ clear: both
+}
+
+.graph-canvas .activity {
+ text-align: center;
+ width: 400px;
+ margin: 100px auto 0;
+ color: #444;
+ border-radius: 3px;
+ padding: 10px
+}
+
+.graph-canvas .error {
+ color: #900;
+ background: #feeaea;
+ padding: 10px;
+ border-radius: 3px
+}
+
+.graph-canvas .dots {
+ margin: 0 auto
+}
+
+.graph-canvas>.activity {
+ display: none
+}
+
+.graph-loading,.graph-error,.graph-empty {
+ display: none
+}
+
+.graph-canvas.is-graph-loading>.activity,.graph-canvas.is-graph-empty>.activity {
+ display: block
+}
+
+.is-graph-loading .graph-loading,.is-graph-empty .graph-empty,.is-graph-load-error .graph-error {
+ display: block
+}
+
+.svg-tip {
+ padding: 10px;
+ background: rgba(0,0,0,0.8);
+ color: #bbb;
+ font-size: 12px;
+ position: absolute;
+ z-index: 99999;
+ text-align: center;
+ border-radius: 3px
+}
+
+.svg-tip strong {
+ color: #ddd
+}
+
+.svg-tip.is-visible {
+ display: block
+}
+
+.svg-tip:after {
+ box-sizing: border-box;
+ position: absolute;
+ left: 50%;
+ height: 5px;
+ width: 5px;
+ bottom: -10px;
+ margin: 0 0 0 -5px;
+ content: " ";
+ border: 5px solid transparent;
+ border-top-color: rgba(0,0,0,0.8)
+}
+
+.svg-tip.comparison {
+ text-align: left;
+ pointer-events: none;
+ padding: 0
+}
+
+.svg-tip.comparison .title {
+ display: block;
+ padding: 10px;
+ margin: 0;
+ line-height: 1;
+ font-weight: bold;
+ pointer-events: none
+}
+
+.svg-tip.comparison ul {
+ list-style: none;
+ margin: 0;
+ white-space: nowrap
+}
+
+.svg-tip.comparison li {
+ display: inline-block;
+ padding: 10px
+}
+
+.svg-tip.comparison li:first-child {
+ border-top: 3px solid #1db34f;
+ border-right: 1px solid #333
+}
+
+.svg-tip.comparison li:last-child {
+ border-top: 3px solid #1d7fb3
+}
+
+.svg-tip-one-line {
+ white-space: nowrap
+}
+
+.day-name {
+ fill: #555
+}
+
+circle.day {
+ stroke-width: 0;
+ fill: #444
+}
+
+circle.day:hover {
+ fill: #4183c4
+}
+
+line.axis {
+ stroke-width: 1;
+ stroke: #eee;
+ shape-rendering: crispedges
+}
+
+line.axis.even {
+ stroke: #e0e0e0
+}
+
+.traffic-graph {
+ min-height: 150px
+}
+
+.traffic-graph .activity {
+ margin-top: 0
+}
+
+.traffic-graph .activity .dots {
+ margin-top: 40px
+}
+
+.traffic-graph .path {
+ fill: none;
+ stroke-width: 2
+}
+
+.traffic-graph path.total {
+ stroke: #1db34f
+}
+
+.traffic-graph path.unique {
+ stroke: #1d7fb3
+}
+
+.traffic-graph .x.axis .tick:first-child line {
+ stroke: #1db34f;
+ stroke-width: 2px
+}
+
+.traffic-graph .y line {
+ stroke: #1db34f
+}
+
+.traffic-graph .y.unique line {
+ stroke: #1d7fb3
+}
+
+.traffic-graph .overlay {
+ fill-opacity: 0
+}
+
+.uniques-graph .x.axis .tick:nth-child(14) line {
+ stroke: #1d7fb3;
+ stroke-width: 2px
+}
+
+.svg-tip .date {
+ color: #fff
+}
+
+#top-domains .dots {
+ margin: 167px auto 0;
+ display: block
+}
+
+#top-domains .favicon {
+ width: 16px;
+ height: 16px
+}
+
+table.capped-list {
+ width: 100%;
+ line-height: 100%
+}
+
+table.capped-list th {
+ text-align: left;
+ padding: 8px;
+ border-bottom: 1px solid #ddd;
+ background: #f4f4f4
+}
+
+table.capped-list td {
+ padding: 8px;
+ border-bottom: 1px solid #eee;
+ font-size: 12px
+}
+
+table.capped-list th.middle,table.capped-list td.middle {
+ text-align: center
+}
+
+table.capped-list .favicon {
+ width: 16px;
+ height: 16px;
+ vertical-align: middle;
+ margin: 0 5px
+}
+
+table.capped-list .octicon {
+ margin-right: 10px;
+ vertical-align: -1px;
+ color: #555
+}
+
+table.capped-list tr:nth-child(even) {
+ background-color: #fcfcfc
+}
+
+table.capped-list.mini-icons .mini-icon {
+ margin-right: 5px;
+ color: #555
+}
+
+.capped-list-label {
+ overflow: hidden;
+ white-space: nowrap;
+ max-width: 200px;
+ text-overflow: ellipsis
+}
+
+.traffic-graph-stats {
+ border-top: 1px solid #ddd
+}
+
+.traffic-graph-stats .summary-stats {
+ width: 100%
+}
+
+.traffic-graph-stats .summary-stats:before {
+ display: table;
+ content: ""
+}
+
+.traffic-graph-stats .summary-stats:after {
+ display: table;
+ clear: both;
+ content: ""
+}
+
+.traffic-graph-stats .summary-stats li {
+ width: 50%;
+ display: block;
+ float: left;
+ padding-bottom: 10px
+}
+
+.totals circle {
+ fill: #1db34f;
+ stroke: #fff;
+ stroke-width: 2
+}
+
+.uniques circle {
+ fill: #1d7fb3;
+ stroke: #fff;
+ stroke-width: 2
+}
+
+.top-lists .is-loading {
+ text-align: center;
+ margin: 40px
+}
+
+ul.web-views li {
+ width: 140px
+}
+
+ul.clones li {
+ width: 170px
+}
+
+.markdown-body {
+ overflow: hidden;
+ font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif;
+ font-size: 16px;
+ line-height: 1.6;
+ word-wrap: break-word
+}
+
+.markdown-body>*:first-child {
+ margin-top: 0 !important
+}
+
+.markdown-body>*:last-child {
+ margin-bottom: 0 !important
+}
+
+.markdown-body a:not(:link):not(:visited) {
+ color: inherit;
+ text-decoration: none
+}
+
+.markdown-body .absent {
+ color: #c00
+}
+
+.markdown-body .anchor {
+ position: absolute;
+ top: 0;
+ left: 0;
+ display: block;
+ padding-right: 6px;
+ padding-left: 30px;
+ margin-left: -30px
+}
+
+.markdown-body .anchor:focus {
+ outline: none
+}
+
+.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6 {
+ position: relative;
+ margin-top: 1em;
+ margin-bottom: 16px;
+ font-weight: bold;
+ line-height: 1.4
+}
+
+.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link {
+ display: none;
+ color: #000;
+ vertical-align: middle
+}
+
+.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor {
+ padding-left: 8px;
+ margin-left: -30px;
+ text-decoration: none
+}
+
+.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link {
+ display: inline-block
+}
+
+.markdown-body h1 tt,.markdown-body h1 code,.markdown-body h2 tt,.markdown-body h2 code,.markdown-body h3 tt,.markdown-body h3 code,.markdown-body h4 tt,.markdown-body h4 code,.markdown-body h5 tt,.markdown-body h5 code,.markdown-body h6 tt,.markdown-body h6 code {
+ font-size: inherit
+}
+
+.markdown-body h1 {
+ padding-bottom: 0.3em;
+ font-size: 2.25em;
+ line-height: 1.2;
+ border-bottom: 1px solid #eee
+}
+
+.markdown-body h1 .anchor {
+ line-height: 1
+}
+
+.markdown-body h2 {
+ padding-bottom: 0.3em;
+ font-size: 1.75em;
+ line-height: 1.225;
+ border-bottom: 1px solid #eee
+}
+
+.markdown-body h2 .anchor {
+ line-height: 1
+}
+
+.markdown-body h3 {
+ font-size: 1.5em;
+ line-height: 1.43
+}
+
+.markdown-body h3 .anchor {
+ line-height: 1.2
+}
+
+.markdown-body h4 {
+ font-size: 1.25em
+}
+
+.markdown-body h4 .anchor {
+ line-height: 1.2
+}
+
+.markdown-body h5 {
+ font-size: 1em
+}
+
+.markdown-body h5 .anchor {
+ line-height: 1.1
+}
+
+.markdown-body h6 {
+ font-size: 1em;
+ color: #777
+}
+
+.markdown-body h6 .anchor {
+ line-height: 1.1
+}
+
+.markdown-body p,.markdown-body blockquote,.markdown-body ul,.markdown-body ol,.markdown-body dl,.markdown-body table,.markdown-body pre {
+ margin-top: 0;
+ margin-bottom: 16px
+}
+
+.markdown-body hr {
+ height: 4px;
+ padding: 0;
+ margin: 16px 0;
+ background-color: #e7e7e7;
+ border: 0 none
+}
+
+.markdown-body ul,.markdown-body ol {
+ padding-left: 2em
+}
+
+.markdown-body ul.no-list,.markdown-body ol.no-list {
+ padding: 0;
+ list-style-type: none
+}
+
+.markdown-body ul ul,.markdown-body ul ol,.markdown-body ol ol,.markdown-body ol ul {
+ margin-top: 0;
+ margin-bottom: 0
+}
+
+.markdown-body li>p {
+ margin-top: 16px
+}
+
+.markdown-body dl {
+ padding: 0
+}
+
+.markdown-body dl dt {
+ padding: 0;
+ margin-top: 16px;
+ font-size: 1em;
+ font-style: italic;
+ font-weight: bold
+}
+
+.markdown-body dl dd {
+ padding: 0 16px;
+ margin-bottom: 16px
+}
+
+.markdown-body blockquote {
+ padding: 0 15px;
+ color: #777;
+ border-left: 4px solid #ddd
+}
+
+.markdown-body blockquote>:first-child {
+ margin-top: 0
+}
+
+.markdown-body blockquote>:last-child {
+ margin-bottom: 0
+}
+
+.markdown-body table {
+ display: block;
+ width: 100%;
+ overflow: auto;
+ word-break: normal;
+ word-break: keep-all
+}
+
+.markdown-body table th {
+ font-weight: bold
+}
+
+.markdown-body table th,.markdown-body table td {
+ padding: 6px 13px;
+ border: 1px solid #ddd
+}
+
+.markdown-body table tr {
+ background-color: #fff;
+ border-top: 1px solid #ccc
+}
+
+.markdown-body table tr:nth-child(2n) {
+ background-color: #f8f8f8
+}
+
+.markdown-body img {
+ max-width: 100%;
+ box-sizing: border-box
+}
+
+.markdown-body .emoji {
+ max-width: none
+}
+
+.markdown-body span.frame {
+ display: block;
+ overflow: hidden
+}
+
+.markdown-body span.frame>span {
+ display: block;
+ float: left;
+ width: auto;
+ padding: 7px;
+ margin: 13px 0 0;
+ overflow: hidden;
+ border: 1px solid #ddd
+}
+
+.markdown-body span.frame span img {
+ display: block;
+ float: left
+}
+
+.markdown-body span.frame span span {
+ display: block;
+ padding: 5px 0 0;
+ clear: both;
+ color: #333
+}
+
+.markdown-body span.align-center {
+ display: block;
+ overflow: hidden;
+ clear: both
+}
+
+.markdown-body span.align-center>span {
+ display: block;
+ margin: 13px auto 0;
+ overflow: hidden;
+ text-align: center
+}
+
+.markdown-body span.align-center span img {
+ margin: 0 auto;
+ text-align: center
+}
+
+.markdown-body span.align-right {
+ display: block;
+ overflow: hidden;
+ clear: both
+}
+
+.markdown-body span.align-right>span {
+ display: block;
+ margin: 13px 0 0;
+ overflow: hidden;
+ text-align: right
+}
+
+.markdown-body span.align-right span img {
+ margin: 0;
+ text-align: right
+}
+
+.markdown-body span.float-left {
+ display: block;
+ float: left;
+ margin-right: 13px;
+ overflow: hidden
+}
+
+.markdown-body span.float-left span {
+ margin: 13px 0 0
+}
+
+.markdown-body span.float-right {
+ display: block;
+ float: right;
+ margin-left: 13px;
+ overflow: hidden
+}
+
+.markdown-body span.float-right>span {
+ display: block;
+ margin: 13px auto 0;
+ overflow: hidden;
+ text-align: right
+}
+
+.markdown-body code,.markdown-body tt {
+ padding: 0;
+ padding-top: 0.2em;
+ padding-bottom: 0.2em;
+ margin: 0;
+ font-size: 85%;
+ background-color: rgba(0,0,0,0.04);
+ border-radius: 3px
+}
+
+.markdown-body code:before,.markdown-body code:after,.markdown-body tt:before,.markdown-body tt:after {
+ letter-spacing: -0.2em;
+ content: "\00a0"
+}
+
+.markdown-body code br,.markdown-body tt br {
+ display: none
+}
+
+.markdown-body del code {
+ text-decoration: inherit
+}
+
+.markdown-body pre>code {
+ padding: 0;
+ margin: 0;
+ font-size: 100%;
+ word-break: normal;
+ white-space: pre;
+ background: transparent;
+ border: 0
+}
+
+.markdown-body .highlight {
+ margin-bottom: 16px
+}
+
+.markdown-body .highlight pre,.markdown-body pre {
+ padding: 16px;
+ overflow: auto;
+ font-size: 85%;
+ line-height: 1.45;
+ background-color: #f7f7f7;
+ border-radius: 3px
+}
+
+.markdown-body .highlight pre {
+ margin-bottom: 0;
+ word-break: normal
+}
+
+.markdown-body pre {
+ word-wrap: normal
+}
+
+.markdown-body pre code,.markdown-body pre tt {
+ display: inline;
+ max-width: initial;
+ padding: 0;
+ margin: 0;
+ overflow: initial;
+ line-height: inherit;
+ word-wrap: normal;
+ background-color: transparent;
+ border: 0
+}
+
+.markdown-body pre code:before,.markdown-body pre code:after,.markdown-body pre tt:before,.markdown-body pre tt:after {
+ content: normal
+}
+
+.markdown-body kbd {
+ display: inline-block;
+ padding: 3px 5px;
+ font-size: 11px;
+ line-height: 10px;
+ color: #555;
+ vertical-align: middle;
+ background-color: #fcfcfc;
+ border: solid 1px #ccc;
+ border-bottom-color: #bbb;
+ border-radius: 3px;
+ box-shadow: inset 0 -1px 0 #bbb
+}
+
+.pl-c {
+ color: #969896
+}
+
+.pl-c1,.pl-mdh,.pl-mm,.pl-mp,.pl-mr,.pl-s1 .pl-v,.pl-s3,.pl-sc,.pl-sv {
+ color: #0086b3
+}
+
+.pl-e,.pl-en {
+ color: #795da3
+}
+
+.pl-s1 .pl-s2,.pl-smi,.pl-smp,.pl-stj,.pl-vo,.pl-vpf {
+ color: #333
+}
+
+.pl-ent {
+ color: #63a35c
+}
+
+.pl-k,.pl-s,.pl-st {
+ color: #a71d5d
+}
+
+.pl-pds,.pl-s1,.pl-s1 .pl-pse .pl-s2,.pl-sr,.pl-sr .pl-cce,.pl-sr .pl-sra,.pl-sr .pl-sre,.pl-src {
+ color: #183691
+}
+
+.pl-v {
+ color: #ed6a43
+}
+
+.pl-id {
+ color: #b52a1d
+}
+
+.pl-ii {
+ background-color: #b52a1d;
+ color: #f8f8f8
+}
+
+.pl-sr .pl-cce {
+ color: #63a35c;
+ font-weight: bold
+}
+
+.pl-ml {
+ color: #693a17
+}
+
+.pl-mh,.pl-mh .pl-en,.pl-ms {
+ color: #1d3e81;
+ font-weight: bold
+}
+
+.pl-mq {
+ color: #008080
+}
+
+.pl-mi {
+ color: #333;
+ font-style: italic
+}
+
+.pl-mb {
+ color: #333;
+ font-weight: bold
+}
+
+.pl-md,.pl-mdhf {
+ background-color: #ffecec;
+ color: #bd2c00
+}
+
+.pl-mdht,.pl-mi1 {
+ background-color: #eaffea;
+ color: #55a532
+}
+
+.pl-mdr {
+ color: #795da3;
+ font-weight: bold
+}
+
+.pl-mo {
+ color: #1d3e81
+}
+
+.ace_gutter {
+ background: #ffffff;
+ color: #999999
+}
+
+.ace_print-margin {
+ width: 1px;
+ background: #e8e8e8
+}
+
+.ace-github-light {
+ background-color: #ffffff;
+ color: #333333
+}
+
+.ace_cursor {
+ color: #000000
+}
+
+.ace_marker-layer .ace_selection {
+ background: #c8c8fa
+}
+
+.ace_multiselect .ace_selection.ace_start {
+ box-shadow: 0 0 3px 0px #ffffff;
+ border-radius: 2px
+}
+
+.ace_marker-layer .ace_step {
+ background: #c6dbae
+}
+
+.ace_marker-layer .ace_bracket {
+ margin: -1px 0 0 -1px;
+ border: 1px solid #c0c0c0
+}
+
+.ace_marker-layer .ace_active-line {
+ background: #f5f5f5
+}
+
+.ace_gutter-active-line {
+ background-color: #f5f5f5
+}
+
+.ace_marker-layer .ace_selected-word {
+ border: 1px solid #c8c8fa
+}
+
+.ace_fold {
+ background-color: #a71d5d;
+ border-color: #333333
+}
+
+.ace_keyword {
+ color: #a71d5d
+}
+
+.ace_constant {
+ color: #0086b3
+}
+
+.ace_support {
+ color: #0086b3
+}
+
+.ace_support.ace_constant {
+ color: #0086b3
+}
+
+.ace_support.ace_type {
+ color: #a71d5d
+}
+
+.ace_storage {
+ color: #a71d5d
+}
+
+.ace_storage.ace_type {
+ color: #a71d5d
+}
+
+.ace_invalid.ace_illegal {
+ text-decoration: underline;
+ font-style: italic;
+ color: #f8f8f8;
+ background-color: #b52a1d
+}
+
+.ace_invalid.ace_deprecated {
+ text-decoration: underline;
+ font-style: italic;
+ color: #b52a1d
+}
+
+.ace_string {
+ color: #183691
+}
+
+.ace_string.ace_regexp {
+ color: #183691
+}
+
+.ace_comment {
+ color: #969896
+}
+
+.ace_variable {
+ color: #ed6a43
+}
+
+.ace_entity.ace_name {
+ color: #795da3
+}
+
+.ace_entity.ace_name.ace_tag {
+ color: #63a35c
+}
+
+.ace_markup.ace_heading {
+ color: #1d3e81
+}
+
+.ace_markup.ace_list {
+ color: #693a17
+}
+
+body {
+ word-wrap: break-word
+}
+
+.focus-content {
+ width: 620px
+}
+
+#site-container>.container:first-child {
+ margin-top: 20px
+}
+
+.emoji-icon {
+ display: inline-block;
+ height: 20px;
+ width: 20px;
+ vertical-align: middle;
+ background-repeat: no-repeat;
+ background-size: 20px 20px
+}
+
+.labels {
+ position: relative
+}
+
+.label {
+ display: inline-block;
+ padding: 3px 4px;
+ font-size: 11px;
+ font-weight: bold;
+ line-height: 1;
+ color: #fff;
+ border-radius: 2px;
+ box-shadow: inset 0 -1px 0 rgba(0,0,0,0.12)
+}
+
+.label:hover {
+ text-decoration: none
+}
+
+.label-admin {
+ color: #999;
+ background-color: #eee
+}
+
+.label-legacy-contributor {
+ margin-top: -1px;
+ margin-bottom: -1px;
+ font-weight: normal;
+ color: #999;
+ background-color: transparent;
+ border: 1px solid #eee;
+ box-shadow: none
+}
+
+.label-neutral {
+ color: #fff;
+ background-color: #999
+}
+
+a.label-link {
+ border: 1px solid transparent
+}
+
+a.label-link:hover {
+ text-decoration: none
+}
+
+.label-membership-pending {
+ background-color: #f93
+}
+
+.facebox {
+ position: absolute;
+ top: 0;
+ left: 0;
+ z-index: 100;
+ padding-bottom: 40px
+}
+
+.facebox ul {
+ margin-left: 25px;
+ margin-bottom: 15px
+}
+
+.facebox .facebox-staff-links {
+ margin: -15px -15px 15px;
+ padding: 10px 15px;
+ background-color: #f5f5f5;
+ border-bottom: 1px solid #e5e5e5
+}
+
+.facebox .facebox-staff-links li {
+ display: inline-block;
+ margin-right: 10px;
+ color: #999;
+ list-style: none
+}
+
+.facebox .facebox-staff-links a {
+ font-weight: bold
+}
+
+.facebox pre {
+ padding: 10px;
+ background-color: #eee;
+ border: 1px solid #ddd;
+ border-radius: 3px
+}
+
+.facebox .shortcuts {
+ width: 860px
+}
+
+.facebox .facebox-user-list {
+ margin-left: 0;
+ margin-bottom: 0;
+ max-height: 400px;
+ overflow: auto
+}
+
+.facebox .lineprofiler {
+ width: 900px
+}
+
+.facebox .lineprofiler pre {
+ overflow-x: scroll;
+ white-space: pre;
+ word-wrap: normal
+}
+
+.facebox-popup {
+ position: relative;
+ background-color: #fff;
+ border: 1px solid rgba(0,0,0,0.25);
+ border-radius: 5px;
+ box-shadow: 0 0 18px rgba(0,0,0,0.4);
+ background-clip: padding-box
+}
+
+.facebox-content {
+ width: 455px;
+ padding: 15px
+}
+
+.facebox-content:before {
+ display: table;
+ content: ""
+}
+
+.facebox-content:after {
+ display: table;
+ clear: both;
+ content: ""
+}
+
+.facebox-close {
+ position: absolute;
+ top: 8px;
+ right: 5px;
+ padding: 10px;
+ -webkit-appearance: none;
+ background-color: transparent;
+ border: 0;
+ opacity: 0.25;
+ cursor: pointer
+}
+
+.facebox-close:hover {
+ opacity: 1
+}
+
+.facebox-overlay {
+ position: fixed;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%
+}
+
+.facebox-overlay-hide {
+ z-index: -100
+}
+
+.facebox-overlay-active {
+ z-index: 99;
+ background-color: #000
+}
+
+.facebox-loading {
+ min-height: 64px;
+ background-image: url(/images/spinners/octocat-spinner-64.gif);
+ background-position: center center;
+ background-repeat: no-repeat
+}
+
+@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 2dppx) {
+ .facebox-loading {
+ background-image:url(/images/spinners/octocat-spinner-128.gif);
+ background-size: 64px 64px
+ }
+}
+
+.facebox-header {
+ margin: -15px -15px 15px;
+ padding: 15px;
+ border-bottom: 1px solid #e5e5e5;
+ font-size: 18px;
+ font-weight: normal
+}
+
+.facebox-footer {
+ margin: 0 -15px -15px;
+ padding: 10px 15px;
+ border-top: 1px solid #e5e5e5;
+ border-bottom-right-radius: 5px;
+ border-bottom-left-radius: 5px;
+ background: #fafafa;
+ text-align: right
+}
+
+.facebox-footer .help {
+ margin: 0;
+ text-align: center;
+ color: #777
+}
+
+.facebox-alert,.facebox-danger {
+ margin: -16px -15px 15px;
+ padding: 10px 15px;
+ border-style: solid;
+ border-width: 1px 0
+}
+
+.facebox-alert {
+ color: #796620;
+ background-color: #f8eec7;
+ border-color: #f2e09a
+}
+
+.facebox-danger {
+ padding-left: 40px;
+ color: #9c342e;
+ background-color: #f7d9d7;
+ border-color: #f2c4c2
+}
+
+.facebox-danger .octicon {
+ float: left;
+ margin-left: -25px
+}
+
+.facebox-separator {
+ margin: 20px -15px
+}
+
+.facebox-staff-search .hfields {
+ margin-top: 0;
+ margin-bottom: 0
+}
+
+.facebox-staff-search .hfields input[type="text"] {
+ width: 340px;
+ margin-right: 0
+}
+
+.facebox-staff-search .hfields .button {
+ margin-top: 29px;
+ margin-right: 0
+}
+
+.facebox-staff-search .status-check-list {
+ float: none;
+ margin: 15px 0 0
+}
+
+#facebox .billing-credit-cards {
+ margin: 0 0 15px
+}
+
+#facebox .billing-credit-cards li {
+ margin: 0 4px 0 0
+}
+
+.keyboard-shortcuts {
+ float: right;
+ font-size: 11px;
+ color: #999
+}
+
+.keyboard-shortcuts .mini-icon {
+ position: relative;
+ top: 2px;
+ margin-left: 5px
+}
+
+.keyboard-mappings {
+ font-size: 12px;
+ color: #555
+}
+
+.keyboard-mappings th {
+ padding-top: 25px;
+ font-size: 14px;
+ line-height: 1.5;
+ color: #333;
+ text-align: left
+}
+
+.keyboard-mappings tbody:first-child tr:first-child th {
+ padding-top: 0
+}
+
+.keyboard-mappings td {
+ padding-top: 3px;
+ padding-bottom: 3px;
+ vertical-align: top;
+ line-height: 20px
+}
+
+.keyboard-mappings .keys {
+ padding-right: 10px;
+ color: #999;
+ text-align: right;
+ white-space: nowrap
+}
+
+.keyboard-mappings .platform-mac {
+ display: none
+}
+
+.macintosh .keyboard-mappings .platform-mac {
+ display: inline
+}
+
+.macintosh .keyboard-mappings .platform-other {
+ display: none
+}
+
+.facebox-user-list-item {
+ padding: 3px 0;
+ list-style: none;
+ font-weight: bold;
+ vertical-align: middle
+}
+
+.facebox-user-list-item a {
+ color: #000
+}
+
+.facebox-user-list-item img {
+ margin-right: 5px;
+ border-radius: 3px;
+ vertical-align: middle
+}
+
+.linejump .linejump-input {
+ width: 340px;
+ background-color: #fafafa
+}
+
+.linejump .linejump-input,.linejump .button {
+ font-size: 16px;
+ padding: 10px 15px
+}
+
+.linejump+.facebox-close {
+ top: 18px
+}
+
+.repo-transfer-tip {
+ margin-bottom: 0
+}
+
+.user-mention,.team-mention {
+ font-weight: bold;
+ color: #333;
+ white-space: nowrap
+}
+
+dl.form>dd input[type="text"].is-autocheck-loading,dl.form>dd input[type="password"].is-autocheck-loading,dl.form>dd input[type="email"].is-autocheck-loading {
+ background-image: url(/images/spinners/octocat-spinner-32.gif);
+ background-size: 16px
+}
+
+dl.form>dd input[type="text"].is-autocheck-successful,dl.form>dd input[type="password"].is-autocheck-successful,dl.form>dd input[type="email"].is-autocheck-successful {
+ background-image: url(/images/modules/ajax/success.png)
+}
+
+dl.form>dd input[type="text"].is-autocheck-errored,dl.form>dd input[type="password"].is-autocheck-errored,dl.form>dd input[type="email"].is-autocheck-errored {
+ background-image: url(/images/modules/ajax/error.png)
+}
+
+.form-cards {
+ height: 31px;
+ margin: 0 0 15px
+}
+
+.form-cards .card {
+ float: left;
+ width: 47px;
+ height: 31px;
+ text-indent: -9999px;
+ background-image: url(/images/modules/pricing/credit-cards-@1x.png);
+ background-position: 0 0;
+ opacity: 0.6
+}
+
+.form-cards .card.visa {
+ background-position: 0 0
+}
+
+.form-cards .card.amex {
+ background-position: -50px 0
+}
+
+.form-cards .card.mastercard {
+ background-position: -100px 0
+}
+
+.form-cards .card.discover {
+ background-position: -150px 0
+}
+
+.form-cards .card.jcb {
+ background-position: -200px 0
+}
+
+.form-cards .card.dinersclub {
+ background-position: -250px 0
+}
+
+.form-cards .card.enabled {
+ opacity: 1
+}
+
+.form-cards .card.disabled {
+ opacity: 0.2
+}
+
+.form-cards>.cards {
+ margin: 0
+}
+
+.form-cards>.cards>li {
+ float: left;
+ margin: 0 4px 0 0;
+ list-style-type: none
+}
+
+.form-cards>.cards>li.text {
+ font-size: 11px;
+ line-height: 31px;
+ color: #999
+}
+
+@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 2dppx) {
+ .form-cards>.cards .card {
+ background-image:url(/images/modules/pricing/credit-cards-@2x.png);
+ background-size: 300px 31px
+ }
+}
+
+.status-indicator-loading {
+ position: relative;
+ top: 3px;
+ width: 16px;
+ height: 16px;
+ margin-top: -4px;
+ background: url(/images/spinners/octocat-spinner-32-EAF2F5.gif) 0 0 no-repeat;
+ background-size: 16px
+}
+
+.inline-form {
+ display: inline-block
+}
+
+.callout {
+ padding: 10px;
+ margin: 15px 0;
+ font-size: 13px;
+ color: #4c4a42;
+ background-color: #fff9ea;
+ border-color: #dfd8c2;
+ border-radius: 3px
+}
+
+.callout strong {
+ font-weight: bold;
+ color: #000
+}
+
+.callout h2 {
+ margin: 0;
+ font-size: 16px;
+ font-weight: 300
+}
+
+.callout p:last-child {
+ margin-bottom: 0
+}
+
+.callout p:first-child {
+ margin-top: 0
+}
+
+.callout hr {
+ width: 100%;
+ padding: 0 10px;
+ margin: 10px 0 10px -10px;
+ background: transparent;
+ border-top: 1px solid #e5e2c8;
+ border-bottom: 1px solid #fff
+}
+
+.infotip {
+ padding: 10px;
+ margin: 15px 0;
+ font-size: 12px;
+ color: #4c4a42;
+ background-color: #fff9ea;
+ border: 1px solid #dfd8c2;
+ border-radius: 3px
+}
+
+.infotip p {
+ margin: 0
+}
+
+.infotip p+p {
+ margin-top: 15px
+}
+
+.dashboard-notice {
+ position: relative;
+ padding: 15px 15px 15px 55px;
+ margin-bottom: 20px;
+ font-size: 14px;
+ background-color: #fafafa;
+ border: solid 1px #d8d8d8;
+ border-radius: 3px
+}
+
+.dashboard-notice .dismiss {
+ position: absolute;
+ top: 10px;
+ right: 10px;
+ width: 16px;
+ height: 16px;
+ color: #bbb;
+ cursor: pointer
+}
+
+.dashboard-notice .dismiss:hover {
+ color: #666
+}
+
+.dashboard-notice .mega-octicon {
+ position: absolute;
+ top: 15px;
+ left: 15px
+}
+
+.dashboard-notice .octicon-organization {
+ color: #4183c4
+}
+
+.dashboard-notice h2 {
+ margin-top: 9px;
+ margin-bottom: 16px;
+ font-size: 18px;
+ font-weight: normal;
+ color: #000
+}
+
+.dashboard-notice p {
+ margin-top: 0
+}
+
+.dashboard-notice p.no-title {
+ padding-right: 5px;
+ margin-top: 0
+}
+
+.dashboard-notice .inset-figure {
+ float: right;
+ margin-bottom: 15px;
+ margin-left: 20px
+}
+
+.dashboard-notice ul {
+ margin-left: 18px
+}
+
+.dashboard-notice li {
+ padding-bottom: 15px
+}
+
+.dashboard-notice .coupon {
+ padding: 10px;
+ margin: 15px 0;
+ font-size: 20px;
+ font-weight: bold;
+ text-align: center;
+ background: #fff;
+ border: 1px dashed #d1e5ff
+}
+
+kbd {
+ display: inline-block;
+ padding: 3px 5px;
+ font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;
+ line-height: 10px;
+ color: #555;
+ vertical-align: middle;
+ background-color: #fcfcfc;
+ border: solid 1px #ccc;
+ border-bottom-color: #bbb;
+ border-radius: 3px;
+ box-shadow: inset 0 -1px 0 #bbb
+}
+
+.badmono {
+ font-family: sans-serif;
+ font-weight: bold
+}
+
+.select-menu-button:after {
+ display: inline-block;
+ width: 0;
+ height: 0;
+ content: "";
+ vertical-align: -2px;
+ border: 4px solid;
+ border-right-color: transparent;
+ border-left-color: transparent;
+ border-bottom-color: transparent
+}
+
+.select-menu-button.icon-only {
+ padding-left: 7px
+}
+
+.select-menu-button.primary:after {
+ border-top-color: #fff
+}
+
+.select-menu-button.primary:after:active {
+ background-color: #4a993e
+}
+
+.select-menu .spinner {
+ float: left;
+ margin: 4px 0 0 -24px
+}
+
+.select-menu.active .select-menu-modal-holder {
+ display: block
+}
+
+.select-menu.right-aligned {
+ float: right;
+ position: relative
+}
+
+.select-menu.right-aligned .select-menu-modal-holder {
+ right: 0
+}
+
+.select-menu .select-menu-clear-item {
+ display: block
+}
+
+.select-menu .select-menu-clear-item .octicon {
+ color: inherit
+}
+
+.select-menu .select-menu-clear-item+.select-menu-no-results {
+ display: none !important
+}
+
+.select-menu.is-loading .select-menu-loading-overlay {
+ display: block
+}
+
+.select-menu.is-loading .select-menu-modal {
+ min-height: 200px
+}
+
+.select-menu-loading-overlay {
+ display: none;
+ text-indent: 100%;
+ height: 100%;
+ width: 100%;
+ position: absolute;
+ top: 0;
+ z-index: 5;
+ border-radius: 5px;
+ border: 1px solid transparent;
+ background-color: rgba(255,255,255,0.8);
+ -webkit-animation: pulse 2s infinite linear;
+ animation: pulse 2s infinite linear
+}
+
+.select-menu-loading-overlay:before {
+ position: absolute;
+ left: 50%;
+ top: 50%;
+ margin: -16px 0 0 -16px;
+ width: 32px;
+ content: "\f008";
+ font: normal normal 32px/1 "octicons";
+ display: inline-block;
+ text-decoration: none;
+ -webkit-font-smoothing: antialiased;
+ text-indent: 0
+}
+
+@-webkit-keyframes pulse {
+ 0% {
+ color: rgba(170,170,170,0.1)
+ }
+
+ 10% {
+ color: #aaaaaa
+ }
+
+ 100% {
+ color: rgba(170,170,170,0.1)
+ }
+}
+
+@keyframes pulse {
+ 0% {
+ color: rgba(170,170,170,0.1)
+ }
+
+ 10% {
+ color: #aaaaaa
+ }
+
+ 100% {
+ color: rgba(170,170,170,0.1)
+ }
+}
+
+.select-menu-modal-holder {
+ position: absolute;
+ display: none;
+ z-index: 21
+}
+
+.select-menu-modal {
+ position: relative;
+ width: 300px;
+ margin-top: 4px;
+ margin-bottom: 20px;
+ overflow: hidden;
+ font-size: 12px;
+ color: #666;
+ background-color: #fff;
+ background-clip: padding-box;
+ border: 1px solid rgba(200,200,200,0.4);
+ border-radius: 3px;
+ box-shadow: 0 3px 12px rgba(0,0,0,0.15)
+}
+
+.select-menu-header {
+ padding: 8px 10px;
+ background: #f5f5f5;
+ border-bottom: 1px solid rgba(200,200,200,0.4)
+}
+
+.select-menu-header .select-menu-title {
+ font-weight: bold;
+ color: #333;
+ text-shadow: 0 1px 0 #fff
+}
+
+.select-menu-header .octicon {
+ display: block;
+ float: right;
+ color: #ccc;
+ cursor: pointer
+}
+
+.select-menu-header .octicon:hover {
+ color: #555
+}
+
+.select-menu-filters {
+ background-color: #f8f8f8
+}
+
+.select-menu-text-filter {
+ padding: 10px 10px 0
+}
+
+.select-menu-text-filter:first-child:last-child {
+ padding-bottom: 10px;
+ border-bottom: 1px solid #ddd
+}
+
+.select-menu-text-filter input {
+ display: block;
+ width: 100%;
+ max-width: 100%;
+ padding: 5px;
+ border: 1px solid #ddd;
+ border-radius: 3px
+}
+
+.select-menu-text-filter input::-webkit-input-placeholder,.select-menu-text-filter input:-moz-placeholder {
+ color: #aaa
+}
+
+.select-menu-tabs {
+ height: 33px;
+ border-bottom: 1px solid #ddd
+}
+
+.select-menu-tabs ul {
+ overflow: hidden;
+ padding: 14px 10px 0
+}
+
+.select-menu-tabs .select-menu-tab {
+ display: inline-block
+}
+
+.select-menu-tabs a {
+ height: 20px;
+ padding: 5px 8px;
+ font-size: 11px;
+ font-weight: bold;
+ color: #888;
+ text-decoration: none;
+ line-height: 20px;
+ border-radius: 3px 3px 0 0;
+ cursor: pointer
+}
+
+.select-menu-tabs a:hover {
+ color: #333
+}
+
+.select-menu-tabs a.selected {
+ padding: 4px 5px;
+ border: 1px solid #ddd;
+ border-bottom: 1px solid #fff;
+ background-color: #fff;
+ color: #333
+}
+
+.select-menu-list {
+ max-height: 400px;
+ overflow: auto;
+ position: relative
+}
+
+.select-menu-list.select-menu-tab-bucket {
+ display: none
+}
+
+.select-menu-list.select-menu-tab-bucket.selected {
+ display: block
+}
+
+.select-menu-list.is-showing-new-item-form .select-menu-new-item-form {
+ display: table
+}
+
+.select-menu-list.is-showing-new-item-form .select-menu-no-results,.select-menu-list.is-showing-new-item-form .select-menu-clear-item {
+ display: none
+}
+
+.select-menu-item {
+ cursor: pointer;
+ border-bottom: 1px solid #eee;
+ display: table;
+ table-layout: fixed;
+ width: 100%;
+ overflow: hidden;
+ color: inherit
+}
+
+.select-menu-item:hover {
+ text-decoration: none
+}
+
+.select-menu-item.select-menu-item-template {
+ display: none
+}
+
+.select-menu-item.disabled,.select-menu-item.disabled.selected {
+ color: #999
+}
+
+.select-menu-item.disabled .select-menu-item-gravatar,.select-menu-item.disabled.selected .select-menu-item-gravatar {
+ opacity: 0.5
+}
+
+.select-menu-item .octicon {
+ vertical-align: middle
+}
+
+.select-menu-item .octicon-check {
+ visibility: hidden
+}
+
+.select-menu-item input[type="radio"] {
+ display: none
+}
+
+.select-menu-item .select-menu-item-icon {
+ display: table-cell;
+ color: transparent;
+ vertical-align: top;
+ padding: 8px 0 8px 8px;
+ width: 24px;
+ text-align: center
+}
+
+.select-menu-item.navigation-focus,.select-menu-item.navigation-focus.selected,.select-menu-item.navigation-focus.select-menu-action,.select-menu-item.navigation-focus .description-inline {
+ background-color: #4183c4;
+ color: #fff
+}
+
+.select-menu-item.navigation-focus>.octicon,.select-menu-item.navigation-focus.selected>.octicon,.select-menu-item.navigation-focus.select-menu-action>.octicon,.select-menu-item.navigation-focus .description-inline>.octicon {
+ color: #fff
+}
+
+.select-menu-item.navigation-focus .text-danger,.select-menu-item.navigation-focus .description,.select-menu-item.navigation-focus.selected .text-danger,.select-menu-item.navigation-focus.selected .description,.select-menu-item.navigation-focus.select-menu-action .text-danger,.select-menu-item.navigation-focus.select-menu-action .description,.select-menu-item.navigation-focus .description-inline .text-danger,.select-menu-item.navigation-focus .description-inline .description {
+ color: #fff
+}
+
+.select-menu-item>.octicon-dash {
+ display: none
+}
+
+.select-menu-item.indeterminate>.octicon-check {
+ display: none
+}
+
+.select-menu-item.indeterminate>.octicon-dash {
+ display: table-cell
+}
+
+.select-menu-item.select-menu-action,.select-menu-item.selected {
+ color: #333
+}
+
+.select-menu-item.select-menu-action .description,.select-menu-item.selected .description {
+ color: #666
+}
+
+.select-menu-item.select-menu-action .octicon-check,.select-menu-item.selected .octicon-check {
+ visibility: visible
+}
+
+.select-menu-item.select-menu-action>.octicon,.select-menu-item.selected>.octicon {
+ color: #333
+}
+
+.select-menu-item.select-menu-action .select-menu-item-text {
+ font-weight: bold
+}
+
+.select-menu[data-multiple] .select-menu-item:active {
+ background-color: transparent !important
+}
+
+.select-menu-item a {
+ color: inherit;
+ text-decoration: none
+}
+
+.select-menu-item .hidden-select-button-text {
+ display: none
+}
+
+.select-menu-item .css-truncate-target {
+ display: table-cell;
+ max-width: 100%
+}
+
+form.select-menu-item>div:first-child {
+ display: none !important
+}
+
+.select-menu-item.last-visible,.select-menu-list:last-child .select-menu-item:last-child {
+ border-bottom: 0;
+ border-radius: 0 0 3px 3px
+}
+
+.select-menu-actions .select-menu-item:hover {
+ background-color: #4183c4;
+ color: #fff
+}
+
+.select-menu-actions .select-menu-item:hover>.octicon {
+ color: #fff
+}
+
+.select-menu-actions .select-menu-item:hover .description {
+ color: #fff
+}
+
+.select-menu-no-results {
+ padding: 9px;
+ display: none;
+ cursor: auto;
+ color: #999
+}
+
+.select-menu-list.filterable-empty .select-menu-no-results,.select-menu-no-results:only-child {
+ display: block
+}
+
+.select-menu-button-gravatar,.select-menu-item-gravatar {
+ overflow: hidden;
+ line-height: 0;
+ width: 20px
+}
+
+.select-menu-button-gravatar img,.select-menu-item-gravatar img {
+ height: 20px;
+ width: 20px;
+ display: inline-block;
+ border-radius: 3px
+}
+
+.select-menu-item-gravatar {
+ display: table-cell;
+ padding: 6px 0 6px 8px;
+ vertical-align: top;
+ width: 28px
+}
+
+.select-menu-button-gravatar {
+ display: inline-block;
+ margin: 6px 3px 6px 0;
+ margin-right: 5px;
+ vertical-align: middle
+}
+
+.select-menu-item-text {
+ display: table-cell;
+ vertical-align: top;
+ padding: 8px 0 8px 8px;
+ text-align: left
+}
+
+.select-menu-item-text:first-child {
+ margin-left: 5px
+}
+
+.select-menu-item-text .description {
+ color: #999;
+ font-size: 12px;
+ max-width: 265px;
+ display: block;
+ margin-top: 3px
+}
+
+.select-menu-item-text .description-inline {
+ color: #999;
+ font-size: 10px
+}
+
+.select-menu-item-heading {
+ display: block;
+ margin-top: 0;
+ margin-bottom: 0;
+ font-size: 14px;
+ font-weight: bold;
+ line-height: 1.1
+}
+
+.select-menu-item-heading .description {
+ font-weight: normal;
+ display: inline
+}
+
+.select-menu-footer {
+ padding: 8px;
+ font-weight: bold;
+ border-top: 1px solid #eee
+}
+
+.select-menu-footer a {
+ display: inline-block;
+ margin-top: 1px;
+ vertical-align: top
+}
+
+.select-menu-footer .octicon {
+ color: #666
+}
+
+.select-menu-new-item-form {
+ display: none
+}
+
+.select-menu-new-item-form .octicon {
+ color: #4183c4
+}
+
+.modal-backdrop {
+ display: none;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none
+}
+
+body.menu-active .modal-backdrop {
+ display: block;
+ position: fixed;
+ top: 0;
+ left: 0;
+ height: 100%;
+ width: 100%;
+ z-index: 20
+}
+
+.dropdown {
+ position: relative
+}
+
+.dropdown-caret {
+ display: inline-block;
+ width: 0;
+ height: 0;
+ content: "";
+ vertical-align: -2px;
+ border: 4px solid;
+ border-right-color: transparent;
+ border-left-color: transparent;
+ border-bottom-color: transparent
+}
+
+.dropdown-menu {
+ position: absolute;
+ top: 100%;
+ left: 50%;
+ z-index: 100;
+ width: 160px;
+ margin-top: 2px;
+ margin-left: -80px;
+ padding-top: 5px;
+ padding-bottom: 5px;
+ list-style: none;
+ background-color: #fff;
+ background-clip: padding-box;
+ border: 1px solid rgba(0,0,0,0.15);
+ border-radius: 4px;
+ box-shadow: 0 3px 12px rgba(0,0,0,0.15)
+}
+
+.dropdown-menu:before {
+ position: absolute;
+ top: -16px;
+ left: 72px;
+ display: inline-block;
+ content: "";
+ border: 8px solid transparent;
+ border-bottom-color: #ccc;
+ border-bottom-color: rgba(0,0,0,0.15)
+}
+
+.dropdown-menu:after {
+ position: absolute;
+ top: -14px;
+ left: 73px;
+ display: inline-block;
+ content: "";
+ border: 7px solid transparent;
+ border-bottom-color: #fff
+}
+
+.dropdown-menu>li>a {
+ display: block;
+ padding: 4px 10px 4px 38px;
+ color: #333;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis
+}
+
+.dropdown-menu>li>a>.octicon {
+ float: left;
+ margin-top: 1px;
+ margin-left: -23px;
+ opacity: 0.5
+}
+
+.dropdown-menu>li>a:hover,.dropdown-menu>li>a.zeroclipboard-is-hover {
+ color: #fff;
+ text-decoration: none;
+ background-color: #4183c4
+}
+
+.dropdown-menu>li>a:hover>.octicon,.dropdown-menu>li>a.zeroclipboard-is-hover>.octicon {
+ color: inherit;
+ opacity: 1
+}
+
+.dropdown-divider {
+ height: 1px;
+ margin: 8px 1px;
+ background-color: #e5e5e5
+}
+
+.dropdown-header {
+ padding: 4px 15px;
+ font-size: 12px;
+ color: #999
+}
+
+.dropdown-menu-content {
+ display: none
+}
+
+.dropdown-menu-w {
+ top: 0;
+ left: auto;
+ right: 100%;
+ width: auto;
+ margin-top: 0;
+ margin-left: 0;
+ margin-right: 10px
+}
+
+.dropdown-menu-w:before {
+ top: 10px;
+ right: -16px;
+ left: auto;
+ border-color: transparent;
+ border-left-color: #ccc;
+ border-left-color: rgba(0,0,0,0.15)
+}
+
+.dropdown-menu-w:after {
+ top: 11px;
+ right: -14px;
+ left: auto;
+ border-color: transparent;
+ border-left-color: #fff
+}
+
+.dropdown-menu-e {
+ top: 0;
+ left: 100%;
+ width: auto;
+ margin-top: 0;
+ margin-left: 10px
+}
+
+.dropdown-menu-e:before {
+ top: 10px;
+ left: -16px;
+ border-color: transparent;
+ border-right-color: #ccc;
+ border-right-color: rgba(0,0,0,0.15)
+}
+
+.dropdown-menu-e:after {
+ top: 11px;
+ left: -14px;
+ border-color: transparent;
+ border-right-color: #fff
+}
+
+include-fragment,poll-include-fragment {
+ display: block
+}
+
+.pagination:before {
+ display: table;
+ content: ""
+}
+
+.pagination:after {
+ display: table;
+ clear: both;
+ content: ""
+}
+
+.pagination a,.pagination span,.pagination em {
+ position: relative;
+ float: left;
+ margin-left: -1px;
+ font-size: 13px;
+ font-weight: bold;
+ font-style: normal;
+ padding: 7px 12px;
+ color: #4183c4;
+ white-space: nowrap;
+ vertical-align: middle;
+ cursor: pointer;
+ background: #fff;
+ border: 1px solid #e5e5e5;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none
+}
+
+.pagination a:first-child,.pagination span:first-child,.pagination em:first-child {
+ margin-left: 0;
+ border-top-left-radius: 3px;
+ border-bottom-left-radius: 3px
+}
+
+.pagination a:last-child,.pagination span:last-child,.pagination em:last-child {
+ border-top-right-radius: 3px;
+ border-bottom-right-radius: 3px
+}
+
+.pagination a:hover,.pagination a:focus,.pagination span:hover,.pagination span:focus,.pagination em:hover,.pagination em:focus {
+ z-index: 2;
+ background-color: #e7e7e7;
+ border-color: #e5e5e5;
+ text-decoration: none
+}
+
+.pagination .selected {
+ z-index: 3
+}
+
+.pagination .current,.pagination .current:hover {
+ z-index: 3;
+ color: #fff;
+ background-color: #4183c4;
+ border-color: #4183c4
+}
+
+.pagination .gap,.pagination .disabled,.pagination .gap:hover,.pagination .disabled:hover {
+ background-color: #fafafa;
+ cursor: default;
+ color: #d3d3d3
+}
+
+.ajax_paginate {
+ display: block;
+ margin-top: 20px
+}
+
+.ajax_paginate a {
+ float: none;
+ display: block;
+ padding: 6px;
+ text-align: center
+}
+
+.ajax_paginate.loading a {
+ text-indent: -3000px;
+ background-color: #eaeaea;
+ background-image: url(/images/spinners/octocat-spinner-16px-EAF2F5.gif);
+ background-repeat: no-repeat;
+ background-position: center center;
+ border-color: #c5c5c5
+}
+
+@media screen and (-webkit-min-device-pixel-ratio: 2), screen and (max--moz-device-pixel-ratio: 2) {
+ .ajax_paginate.loading a {
+ background-image: url(/images/spinners/octocat-spinner-32-EAF2F5.gif);
+ background-size: 16px auto
+ }
+}
+
+.paginate-container {
+ margin-top: 20px;
+ margin-bottom: 15px;
+ text-align: center
+}
+
+.paginate-container .pagination {
+ display: inline-block
+}
+
+.header {
+ padding-top: 10px;
+ padding-bottom: 10px;
+ min-width: 1000px;
+ background-color: #f5f5f5;
+ border-bottom: 1px solid #e5e5e5
+}
+
+.header-logged-out {
+ padding-top: 15px;
+ padding-bottom: 15px
+}
+
+.header-logo-invertocat {
+ float: left;
+ margin-right: 10px;
+ margin-left: -2px;
+ color: #333;
+ white-space: nowrap
+}
+
+.header-logo-invertocat .octicon-mark-github {
+ float: left;
+ width: 28px;
+ height: 28px;
+ font-size: 28px
+}
+
+.header-logo-invertocat:hover {
+ color: #4183c4;
+ text-decoration: none
+}
+
+.logo-subbrand {
+ float: left;
+ margin-left: 6px;
+ font-size: 16px;
+ font-weight: bold;
+ line-height: 28px
+}
+
+.header-logo-wordmark {
+ position: relative;
+ float: left;
+ height: 26px;
+ margin-right: 15px;
+ color: #333
+}
+
+.header-logo-wordmark:hover {
+ color: #4183c4
+}
+
+.header-logo-wordmark .octicon-logo-github {
+ height: 26px;
+ font-size: 32px
+}
+
+.notification-indicator .mail-status {
+ position: absolute;
+ top: -2px;
+ right: 2px;
+ z-index: 2;
+ display: none;
+ width: 14px;
+ height: 14px;
+ color: #fff;
+ text-align: center;
+ background-color: #4183c4;
+ background-image: -webkit-linear-gradient(#7ba9d6, #4183c4);
+ background-image: linear-gradient(#7ba9d6, #4183c4);
+ background-repeat: repeat-x;
+ background-clip: padding-box;
+ border-radius: 50%;
+ border: 2px solid #f3f3f3
+}
+
+.notification-indicator .mail-status.unread {
+ display: inline-block
+}
+
+.notification-indicator:hover .mail-status {
+ background-color: #4183c4
+}
+
+.site-search {
+ position: relative;
+ float: left
+}
+
+.site-search form {
+ position: relative;
+ float: left;
+ width: 360px;
+ margin-right: 10px
+}
+
+.site-search input[type="text"] {
+ position: relative;
+ width: 100%;
+ min-height: 28px;
+ padding: 4px 20px 4px 8px;
+ font-size: 12px
+}
+
+.site-search .scope-badge {
+ position: absolute;
+ top: 3px;
+ left: 3px;
+ bottom: 3px;
+ z-index: 10;
+ display: none;
+ padding: 3px 6px;
+ font-size: 12px;
+ color: #777;
+ background-color: #eee;
+ border-radius: 2px;
+ -webkit-transition: all 0.1s ease-in-out;
+ transition: all 0.1s ease-in-out
+}
+
+.site-search.repo-scope .scope-badge {
+ display: block
+}
+
+.site-search.repo-scope input[type="text"] {
+ padding-left: 100px
+}
+
+.site-search.repo-scope input[type="text"]:focus+.scope-badge,.site-search.repo-scope .focused .drag-and-drop+.scope-badge,.focused .site-search.repo-scope .drag-and-drop+.scope-badge {
+ background-color: #e4eef7;
+ color: #4183c4
+}
+
+.header-nav {
+ list-style: none
+}
+
+.header-nav-item {
+ float: left
+}
+
+.header-nav-item.active .dropdown-menu-content {
+ display: block
+}
+
+.header-nav-item.active .tooltipped:before,.header-nav-item.active .tooltipped:after {
+ display: none
+}
+
+.header-nav-link {
+ display: block;
+ padding: 4px 8px;
+ font-size: 13px;
+ font-weight: bold;
+ line-height: 20px;
+ color: #333
+}
+
+.header-nav-link:hover,.header-nav-link:focus {
+ color: #4183c4;
+ text-decoration: none
+}
+
+.header-nav-link:hover .dropdown-caret,.header-nav-link:focus .dropdown-caret {
+ border-top-color: #4183c4
+}
+
+.user-nav {
+ margin-right: -8px
+}
+
+.user-nav .header-nav-link {
+ height: 28px
+}
+
+.user-nav .octicon {
+ width: 18px;
+ height: 18px;
+ text-align: center
+}
+
+.user-nav .octicon-inbox {
+ font-size: 20px
+}
+
+.user-nav .octicon-sign-out {
+ padding-top: 2px
+}
+
+.user-nav .octicon-plus {
+ float: left;
+ width: 16px;
+ height: 18px;
+ font-size: 18px
+}
+
+.user-nav .avatar {
+ float: left;
+ margin-right: 5px
+}
+
+.user-nav .name {
+ float: left;
+ white-space: nowrap
+}
+
+.sign-out-button {
+ background: none;
+ border: 0
+}
+
+.header-actions {
+ float: right;
+ margin-top: -3px;
+ margin-bottom: -3px
+}
+
+.header-actions .button {
+ margin-left: 5px
+}
+
+.enterprise .header {
+ background-color: #2a2c2e;
+ border-bottom-color: #121213
+}
+
+.is-stats .enterprise .header {
+ box-shadow: inset 0 1px 0 rgba(255,255,255,0.05)
+}
+
+.enterprise .header-logo-wordmark,.enterprise .header-logo-invertocat,.enterprise .header-nav-link {
+ color: #c8c8ca
+}
+
+.enterprise .header-logo-wordmark:hover,.enterprise .header-logo-wordmark:focus,.enterprise .header-logo-invertocat:hover,.enterprise .header-logo-invertocat:focus,.enterprise .header-nav-link:hover,.enterprise .header-nav-link:focus {
+ color: #fafafa
+}
+
+.enterprise .header-nav-link:hover .dropdown-caret,.enterprise .header-nav-link:focus .dropdown-caret {
+ border-top-color: #fafafa
+}
+
+.enterprise .notification-indicator .mail-status {
+ border-color: #2a2c2e
+}
+
+.enterprise .notification-indicator:hover .mail-status {
+ background-color: #d26911
+}
+
+.enterprise .header-actions .button {
+ border: 0;
+ box-shadow: inset 0 1px 0 rgba(255,255,255,0.25),0 1px 1px rgba(0,0,0,0.5)
+}
+
+.enterprise .site-search .scope-badge {
+ background-color: #5b5f63;
+ color: #c8c8ca
+}
+
+.enterprise .site-search input[type="text"] {
+ color: #fafafa;
+ background-color: #4f5256;
+ border-color: #121213
+}
+
+.enterprise .site-search input[type="text"]:focus,.enterprise .site-search .focused .drag-and-drop,.focused .enterprise .site-search .drag-and-drop {
+ background-color: #55595d;
+ border-color: #000;
+ box-shadow: inset 0 1px 0 rgba(0,0,0,0.075)
+}
+
+.enterprise .site-search input[type="text"]:focus+.scope-badge,.enterprise .site-search .focused .drag-and-drop+.scope-badge,.focused .enterprise .site-search .drag-and-drop+.scope-badge {
+ background-color: #676c71;
+ color: #fff
+}
+
+.unsupported-browser {
+ padding: 15px 0;
+ color: #211e14;
+ background-color: #fae692;
+ background-image: -webkit-linear-gradient(#feefae, #fae692);
+ background-image: linear-gradient(#feefae, #fae692);
+ background-repeat: repeat-x;
+ border-bottom: 1px solid #b3a569
+}
+
+.unsupported-browser .container {
+ background: url(/images/icons/ie-notice.png) no-repeat 0 5px
+}
+
+.unsupported-browser h5 {
+ font-size: 13px;
+ margin: 5px 0 2px;
+ padding-left: 48px
+}
+
+.unsupported-browser p {
+ margin: 0;
+ padding-left: 48px
+}
+
+.unsupported-browser .button {
+ float: right;
+ margin-top: 5px;
+ margin-left: 8px
+}
+
+.mobile-banner button.switch-to-mobile {
+ display: block;
+ width: 100%;
+ padding: 30px 0 45px;
+ border: 0;
+ background-color: #444;
+ color: #eaeaea;
+ font-size: 60px;
+ text-align: center;
+ font-weight: bold
+}
+
+.mobile-banner button.switch-to-mobile .mega-octicon {
+ position: relative;
+ top: -8px;
+ margin-right: 5px;
+ color: #ddd;
+ font-size: 48px
+}
+
+.accessibility-aid {
+ height: 1px;
+ width: 1px;
+ clip: rect(1px, 1px, 1px, 1px);
+ overflow: hidden;
+ position: absolute;
+ margin: 0
+}
+
+.accessibility-aid:focus {
+ height: auto;
+ width: auto;
+ clip: auto;
+ z-index: 1;
+ top: 0;
+ line-height: 49px;
+ padding: 0 10px;
+ background: #f5f5f5;
+ font-weight: bold;
+ text-decoration: none;
+ color: #333
+}
+
+.is-stats .accessibility-aid:focus {
+ top: 34px
+}
+
+.site-footer {
+ position: relative;
+ margin-top: 40px;
+ padding-top: 40px;
+ padding-bottom: 40px;
+ font-size: 12px;
+ line-height: 1.5;
+ color: #777;
+ border-top: 1px solid #eee
+}
+
+.site-footer:before {
+ display: table;
+ content: ""
+}
+
+.site-footer:after {
+ display: table;
+ clear: both;
+ content: ""
+}
+
+.site-footer .octicon-mark-github {
+ position: absolute;
+ top: 38px;
+ left: 50%;
+ height: 24px;
+ width: 24px;
+ margin-left: -12px;
+ font-size: 24px;
+ color: #ccc
+}
+
+.site-footer .octicon-mark-github:hover {
+ color: #bbb
+}
+
+.site-footer-links {
+ margin: 0;
+ list-style: none
+}
+
+.site-footer-links li {
+ display: inline-block;
+ line-height: 16px
+}
+
+.site-footer-links li+li {
+ margin-left: 10px
+}
+
+.billing-plans tbody td {
+ width: 25%;
+ vertical-align: middle
+}
+
+.billing-plans .current {
+ background-color: #f2ffed
+}
+
+.billing-plans .name {
+ font-size: 14px;
+ font-weight: bold;
+ color: #333
+}
+
+.billing-plans .coupon {
+ font-size: 12px
+}
+
+.billing-plans .coupon td {
+ color: #fff;
+ background-color: #6cc644
+}
+
+.billing-plans .coupon .text-right {
+ white-space: nowrap
+}
+
+.billing-plans .coupon.expiring td {
+ background-color: #df6e00
+}
+
+.billing-plans .coupon.expiring .coupon-label:after {
+ border-bottom-color: #df6e00
+}
+
+.billing-plans tbody>.selected {
+ background-color: #fdffce
+}
+
+.coupon-label {
+ position: relative;
+ padding: 9px;
+ margin: -9px
+}
+
+.coupon-label:after {
+ position: absolute;
+ bottom: 100%;
+ left: 15px;
+ width: 0;
+ height: 0;
+ pointer-events: none;
+ content: " ";
+ border: solid transparent;
+ border-width: 5px;
+ border-bottom-color: #6cc644
+}
+
+.boxed-group-table .toggle-currency {
+ font-size: 11px;
+ font-weight: normal
+}
+
+.is-hidden,.has-removed-contents {
+ display: none
+}
+
+.currency-notice {
+ margin-bottom: 10px
+}
+
+.org-login {
+ margin-top: -30px;
+ margin-bottom: 30px
+}
+
+.org-login img {
+ width: 450px;
+ padding: 1px;
+ margin: 10px -25px;
+ border: 1px solid #ccc
+}
+
+.plan-notice {
+ border-top: 1px solid #eee;
+ margin-bottom: 0;
+ padding: 10px
+}
+
+.auth-form {
+ width: 400px;
+ margin: 60px auto
+}
+
+.auth-form .note {
+ margin: 15px 0;
+ text-align: center
+}
+
+.auth-form-header {
+ position: relative;
+ padding: 10px 20px;
+ margin: 0;
+ color: #fff;
+ text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
+ background-color: #829aa8;
+ border: 1px solid #768995;
+ border-radius: 3px 3px 0 0
+}
+
+.auth-form-header h1 {
+ margin-top: 0;
+ margin-bottom: 0;
+ font-size: 16px
+}
+
+.auth-form-header h1 a {
+ color: #fff
+}
+
+.auth-form-header .octicon {
+ position: absolute;
+ top: 10px;
+ right: 20px;
+ color: rgba(0,0,0,0.4);
+ text-shadow: 0 1px 0 rgba(255,255,255,0.1)
+}
+
+.auth-form-body {
+ padding: 20px;
+ font-size: 14px;
+ background-color: #fff;
+ border: 1px solid #d8dee2;
+ border-top: 0;
+ border-radius: 0 0 3px 3px
+}
+
+.auth-form-body .input-block {
+ margin-top: 5px;
+ margin-bottom: 15px
+}
+
+.auth-form-body p {
+ margin: 0 0 10px
+}
+
+.two-factor-help {
+ position: relative;
+ padding: 10px 10px 10px 36px;
+ margin: 60px 0 auto auto;
+ border: 1px solid #eaeaea;
+ border-radius: 3px
+}
+
+.two-factor-help .octicon {
+ position: absolute;
+ top: 10px;
+ left: 10px
+}
+
+.two-factor-help .minibutton {
+ float: right
+}
+
+.two-factor-help ul {
+ list-style-type: none
+}
+
+.flash.sms-error,.flash.sms-success {
+ display: none;
+ margin: 0 0 10px
+}
+
+.is-sent .sms-success {
+ display: block
+}
+
+.is-sent .sms-error {
+ display: none
+}
+
+.is-not-sent .sms-success {
+ display: none
+}
+
+.is-not-sent .sms-error {
+ display: block
+}
+
+.autocomplete-results {
+ position: absolute;
+ z-index: 99;
+ display: none;
+ max-height: 20em;
+ overflow-y: auto;
+ font-size: 13px;
+ list-style: none;
+ background: #fff;
+ border: 1px solid #c1c1c1;
+ border-radius: 3px;
+ box-shadow: 0 0 5px rgba(0,0,0,0.3)
+}
+
+.autocomplete-results .no-results {
+ display: none
+}
+
+.autocomplete-group {
+ width: 100%;
+ overflow: hidden
+}
+
+.autocomplete-item {
+ display: block;
+ padding: 5px;
+ overflow: hidden;
+ font-weight: bold;
+ text-decoration: none;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ cursor: pointer
+}
+
+.autocomplete-item.selected,.autocomplete-item.navigation-focus {
+ color: #fff;
+ text-decoration: none;
+ background-color: #4183c4
+}
+
+.autocomplete-item.selected .organization-member,.autocomplete-item.selected .ldap-group-dn,.autocomplete-item.navigation-focus .organization-member,.autocomplete-item.navigation-focus .ldap-group-dn {
+ color: #f2f2f2
+}
+
+.autocomplete-item .secondary-label {
+ font-weight: normal
+}
+
+.autocomplete-item .organization-member {
+ float: right;
+ padding-top: 1px;
+ color: #808080
+}
+
+.suggester-container {
+ position: absolute;
+ top: 58px;
+ left: 10px;
+ z-index: 30
+}
+
+.comment-content .suggester-container {
+ top: 46px
+}
+
+.timeline-new-comment .suggester-container {
+ top: 52px
+}
+
+.is-comment-editing .suggester-container {
+ top: 49px
+}
+
+.merge-branch-form .suggester-container {
+ top: 39px
+}
+
+.wiki-wrapper .suggester-container {
+ top: 93px;
+ left: -2px
+}
+
+.suggester {
+ position: relative;
+ top: 0;
+ left: 0;
+ display: none;
+ min-width: 180px;
+ margin-top: 20px;
+ background: #fff;
+ border: 1px solid #ddd;
+ border-radius: 3px;
+ box-shadow: 0 0 5px rgba(0,0,0,0.1)
+}
+
+.suggester.active {
+ display: block
+}
+
+.suggester ul {
+ padding: 0;
+ margin: 0;
+ list-style: none
+}
+
+.suggester li {
+ display: block;
+ padding: 5px 10px;
+ font-weight: bold;
+ border-bottom: 1px solid #ddd
+}
+
+.suggester li small {
+ font-weight: normal;
+ color: #777
+}
+
+.suggester li:last-child {
+ border-bottom: 0;
+ border-bottom-right-radius: 3px;
+ border-bottom-left-radius: 3px
+}
+
+.suggester li:first-child a {
+ border-top-left-radius: 3px;
+ border-top-right-radius: 3px
+}
+
+.suggester li.navigation-focus {
+ color: #fff;
+ text-decoration: none;
+ background: #4183c4
+}
+
+.suggester li.navigation-focus small {
+ color: #fff
+}
+
+.breadcrumb {
+ margin-top: 5px;
+ margin-bottom: 5px;
+ font-size: 18px;
+ color: #999
+}
+
+.breadcrumb .separator:before,.breadcrumb .separator:after {
+ content: " "
+}
+
+.breadcrumb strong.final-path {
+ color: #000
+}
+
+.breadcrumb .new-file-no-branch {
+ color: #ccc
+}
+
+.breadcrumb .new-file-no-branch:hover {
+ color: #4183c4
+}
+
+.breadcrumb .zeroclipboard-button {
+ display: inline-block;
+ margin-left: 5px
+}
+
+.breadcrumb .repo-root {
+ font-weight: bold
+}
+
+.editor-license-template,.editor-gitignore-template {
+ position: relative;
+ top: 3px;
+ display: none;
+ float: right;
+ font-size: 14px
+}
+
+.editor-license-template.is-visible,.editor-gitignore-template.is-visible {
+ display: block
+}
+
+.editor-license-template .select-menu-git-ignore,.editor-license-template .select-menu-license-picker,.editor-gitignore-template .select-menu-git-ignore,.editor-gitignore-template .select-menu-license-picker {
+ right: 0
+}
+
+.editor-abort {
+ display: inline;
+ font-size: 14px
+}
+
+.new-file-form {
+ color: #4183c4
+}
+
+.new-file-form,.edit-file-form,.delete-file-form {
+ cursor: pointer
+}
+
+.delete-file-form {
+ margin-left: 4px
+}
+
+.delete-file-form:hover {
+ color: #900
+}
+
+.blob-interaction-bar {
+ position: relative;
+ background-color: #f2f2f2;
+ border-bottom: 1px solid #e5e5e5
+}
+
+.blob-interaction-bar:before {
+ display: table;
+ content: ""
+}
+
+.blob-interaction-bar:after {
+ display: table;
+ clear: both;
+ content: ""
+}
+
+.blob-interaction-bar .octicon-search {
+ position: absolute;
+ top: 10px;
+ left: 10px;
+ font-size: 12px;
+ color: #999
+}
+
+input.blob-filter {
+ padding: 4px 20px 5px 30px;
+ width: 100%;
+ font-size: 12px;
+ border: 0;
+ border-radius: 0;
+ outline: none
+}
+
+input.blob-filter:focus {
+ outline: none
+}
+
+.markdown-body .csv-data td,.markdown-body .csv-data th {
+ padding: 5px;
+ overflow: hidden;
+ font-size: 12px;
+ line-height: 1;
+ text-align: left;
+ white-space: nowrap
+}
+
+.markdown-body .csv-data .blob-num {
+ padding: 10px 8px 9px;
+ text-align: right;
+ background: #fff;
+ border: 0
+}
+
+.markdown-body .csv-data tr {
+ border-top: 0
+}
+
+.markdown-body .csv-data th {
+ font-weight: bold;
+ background: #f8f8f8;
+ border-top: 0
+}
+
+.too-long-message {
+ display: none;
+ color: #cea61b
+}
+
+.is-too-long-error .too-long-message {
+ display: block
+}
+
+.check-for-fork {
+ display: inline-block
+}
+
+.check-for-fork img {
+ vertical-align: text-bottom
+}
+
+.check-for-fork.is-error .check-for-fork-loading {
+ display: none
+}
+
+.check-for-fork.is-error .check-for-fork-error {
+ display: inline-block
+}
+
+.check-for-fork-error {
+ display: none
+}
+
+.file-commit-form {
+ padding-left: 64px
+}
+
+.file-commit-form .commit-form-avatar {
+ float: left;
+ margin-left: -64px;
+ border-radius: 4px
+}
+
+.file-commit-form .commit-form {
+ position: relative;
+ padding: 15px;
+ margin-bottom: 10px;
+ border: 1px solid #ddd;
+ border-radius: 3px
+}
+
+.file-commit-form .commit-form:after,.file-commit-form .commit-form:before {
+ position: absolute;
+ top: 11px;
+ left: -16px;
+ right: 100%;
+ width: 0;
+ height: 0;
+ display: block;
+ content: " ";
+ border-color: transparent;
+ border-style: solid solid outset;
+ pointer-events: none
+}
+
+.file-commit-form .commit-form:after {
+ border-width: 7px;
+ border-right-color: #fff;
+ margin-top: 1px;
+ margin-left: 2px
+}
+
+.file-commit-form .commit-form:before {
+ border-right-color: #ddd;
+ border-width: 8px
+}
+
+.file-commit-form .commit-message {
+ min-height: 100px
+}
+
+.file-commit-form-heading {
+ margin-top: 0;
+ margin-bottom: 10px
+}
+
+.quick-pull-choice .form-checkbox {
+ padding-left: 25px;
+ margin: 10px 0
+}
+
+.quick-pull-choice .form-checkbox label {
+ font-weight: normal
+}
+
+.quick-pull-choice .form-checkbox .octicon {
+ width: 16px;
+ margin-right: 3px;
+ text-align: center
+}
+
+.quick-pull-choice dl.form,.quick-pull-choice .form-checkbox:last-child {
+ margin-bottom: 0
+}
+
+.quick-pull-choice .quick-pull-branch-name {
+ display: none;
+ padding-left: 48px;
+ margin-top: 5px
+}
+
+.quick-pull-choice .new-branch-name-input {
+ position: relative;
+ margin-top: 5px
+}
+
+.quick-pull-choice .new-branch-name-input input {
+ width: 240px;
+ padding-left: 26px;
+ font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace
+}
+
+.quick-pull-choice .new-branch-name-input .quick-pull-new-branch-icon {
+ position: absolute;
+ top: 9px;
+ left: 10px;
+ color: #b0c4ce
+}
+
+.quick-pull-choice.will-normalize-ref .quick-pull-normalization-info {
+ display: inline-block
+}
+
+.quick-pull-choice.will-create-branch .quick-pull-branch-name {
+ display: inline-block
+}
+
+.quick-pull-normalization-info {
+ position: absolute;
+ top: 34px;
+ left: 0;
+ z-index: 10;
+ display: none;
+ padding: 5px;
+ font-size: 11px;
+ color: #494620;
+ background: #f7ea57;
+ border: 1px solid #c0b536;
+ border-top-color: #fff;
+ border-bottom-right-radius: 3px;
+ border-bottom-left-radius: 3px
+}
+
+.merge-pr {
+ padding-top: 10px;
+ margin: 20px 0 0;
+ border-top: 1px solid #ddd
+}
+
+.merge-pr.open .merge-branch-form {
+ display: block
+}
+
+.merge-pr.open .branch-action {
+ display: none
+}
+
+.branch-status {
+ padding: 10px 0 0;
+ border: solid #eee;
+ border-width: 0 0 1px
+}
+
+.branch-status.branch-status-next {
+ padding: 0;
+ border-width: 0
+}
+
+.branch-status .octicon {
+ width: 16px;
+ text-align: center
+}
+
+.branch-status.open>.build-statuses-list {
+ max-height: 370px;
+ border-width: 1px 0
+}
+
+.branch-status.open .statuses-toggle-opened {
+ display: inline
+}
+
+.branch-status.open .statuses-toggle-closed {
+ display: none
+}
+
+.status-description {
+ display: block;
+ padding: 0 15px 10px 12px
+}
+
+.branch-status-next .status-description {
+ padding: 12px 15px 10px 12px;
+ font-weight: bold;
+ position: relative
+}
+
+.branch-status-next .status-description .button-link,.branch-status-next .status-description a.right {
+ color: #bbb;
+ display: block;
+ position: absolute;
+ text-align: right;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ padding: 8px 12px
+}
+
+.branch-status-next .status-description .button-link .octicon,.branch-status-next .status-description a.right .octicon {
+ position: absolute;
+ right: 12px;
+ top: 18px
+}
+
+.branch-status-next .status-description .button-link:hover,.branch-status-next .status-description a.right:hover {
+ color: #999
+}
+
+.branch-status-next .status-description strong {
+ display: block;
+ line-height: 1
+}
+
+.branch-status-header {
+ display: table;
+ width: 100%;
+ table-layout: fixed
+}
+
+.branch-status-header .status-description {
+ display: table-cell;
+ width: 100%;
+ border: 1px solid #eee;
+ border-width: 0 0 1px 1px
+}
+
+.branch-status-header .status-description:first-child {
+ border-left-width: 0;
+ border-radius: 3px 0 0
+}
+
+.branch-status-header .status-description:last-child {
+ border-radius: 0 3px 0 0
+}
+
+.branch-status-header .open .statuses-toggle-opened {
+ display: block
+}
+
+.branch-status-header .open .statuses-toggle-closed {
+ display: none
+}
+
+.completeness-indicator {
+ width: 30px;
+ height: 30px;
+ margin: -1px 8px 0 0;
+ float: left
+}
+
+.completeness-indicator span {
+ display: none
+}
+
+.completeness-indicator .failure {
+ fill: #bd2c00
+}
+
+.completeness-indicator .pending {
+ fill: #cea61b
+}
+
+.completeness-indicator .success {
+ fill: #6cc644
+}
+
+.completeness-indicator .error {
+ fill: #999
+}
+
+.completeness-indicator.success,.build-status-single .completeness-indicator {
+ background: #6cc644;
+ border-radius: 100%;
+ color: #fff;
+ text-align: center
+}
+
+.completeness-indicator.success span,.build-status-single .completeness-indicator span {
+ display: inline-block;
+ margin-top: 7px
+}
+
+.build-status-single .completeness-indicator.failure {
+ background: #bd2c00
+}
+
+.build-status-single .completeness-indicator.pending {
+ background: #cea61b
+}
+
+.build-status-single .completeness-indicator.error {
+ background: #999
+}
+
+.build-status-single .css-truncate-target {
+ width: 80%;
+ max-width: 80%
+}
+
+.branch-status-header .build-status-single a {
+ line-height: 1;
+ font-weight: normal
+}
+
+.build-statuses-list,.status-tabs-content {
+ max-height: 0;
+ margin-bottom: -1px;
+ overflow-y: auto;
+ border: solid #eee;
+ border-width: 1px 0 0;
+ padding: 0;
+ -webkit-transition: max-height 0.25s ease-in-out;
+ transition: max-height 0.25s ease-in-out
+}
+
+.status-tabs-container.open .build-statuses-list,.status-tabs-container.open .status-tabs-content {
+ max-height: 370px
+}
+
+.status-tabs-content {
+ border-width: 0;
+ margin-bottom: 0
+}
+
+.status-tabs-content .build-statuses-list {
+ border-width: 0 0 1px;
+ margin-bottom: 0
+}
+
+.status-tabs-container.open .status-tabs-content {
+ max-height: 370px;
+ border-width: 0
+}
+
+.status-tabs-content-view {
+ padding: 10px 12px;
+ background: #fafafa;
+ border-bottom: 1px solid #eee;
+ display: none
+}
+
+.status-tabs-content-view .octicon {
+ color: #ccc
+}
+
+.status-tabs-content-view .octicon:hover {
+ color: #555
+}
+
+.status-tabs-content-view.open {
+ display: block
+}
+
+.status-tabs-content-view.build-statuses-list {
+ padding: 0;
+ border-bottom: 1px solid #eee
+}
+
+.statuses-toggle-opened {
+ display: none
+}
+
+.build-status-item {
+ padding: 10px 15px 10px 12px;
+ background-color: #fafafa;
+ border-bottom: 1px solid #eee
+}
+
+.build-status-item:last-child {
+ border-bottom: 0
+}
+
+.build-status-item .css-truncate-target {
+ width: 80%;
+ max-width: 80%
+}
+
+.build-status-icon {
+ width: 16px;
+ text-align: center
+}
+
+.build-status-details {
+ margin-left: 10px
+}
+
+.merge-pr-more-commits {
+ margin-top: 10px;
+ margin-bottom: 10px;
+ margin-left: 64px;
+ font-size: 12px;
+ color: #777
+}
+
+.branch-action {
+ padding-left: 64px;
+ margin-top: 15px;
+ margin-bottom: 15px
+}
+
+.branch-action .merge-branch-heading {
+ margin-bottom: 2px
+}
+
+.branch-action .delete-branch-failure {
+ display: none;
+ padding: 15px
+}
+
+.branch-action.error .delete-branch-failure {
+ display: block
+}
+
+.branch-action.error .merge-message {
+ display: none
+}
+
+.branch-action-icon {
+ float: left;
+ width: 48px;
+ height: 48px;
+ margin-left: -64px;
+ line-height: 48px;
+ color: #fff;
+ text-align: center;
+ border-radius: 3px
+}
+
+.branch-action-body {
+ position: relative;
+ background-color: #fff;
+ border: 1px solid #e5e5e5;
+ border-radius: 3px
+}
+
+.branch-action-body:after,.branch-action-body:before {
+ position: absolute;
+ top: 11px;
+ left: -16px;
+ right: 100%;
+ width: 0;
+ height: 0;
+ display: block;
+ content: " ";
+ border-color: transparent;
+ border-style: solid solid outset;
+ pointer-events: none
+}
+
+.branch-action-body:after {
+ border-width: 7px;
+ border-right-color: #fff;
+ margin-top: 1px;
+ margin-left: 2px
+}
+
+.branch-action-body:before {
+ border-right-color: #ddd;
+ border-width: 8px
+}
+
+.branch-action-body .spinner {
+ display: block;
+ float: left;
+ width: 32px;
+ height: 32px;
+ margin-right: 15px;
+ background: url(/images/spinners/octocat-spinner-32.gif) no-repeat
+}
+
+.branch-action-body .merge-message,.branch-action-body .merge-branch-form {
+ padding: 15px
+}
+
+.branch-action-state-clean .branch-action-icon {
+ background-color: #6cc644
+}
+
+.branch-action-state-clean .branch-action-body {
+ border-color: #95c97e
+}
+
+.branch-action-state-clean .branch-action-body:before {
+ border-right-color: #95c97e
+}
+
+.branch-action-state-unknown .branch-action-icon,.branch-action-state-unstable .branch-action-icon {
+ background-color: #cea61b
+}
+
+.branch-action-state-unknown .branch-action-body,.branch-action-state-unstable .branch-action-body {
+ border-color: #e2cc7a
+}
+
+.branch-action-state-unknown .branch-action-body:before,.branch-action-state-unstable .branch-action-body:before {
+ border-right-color: #e2cc7a
+}
+
+.branch-action-state-merged .branch-action-icon {
+ background-color: #6e5494
+}
+
+.branch-action-state-merged .branch-action-body {
+ border-color: #886ead
+}
+
+.branch-action-state-merged .branch-action-body:before {
+ border-right-color: #886ead
+}
+
+.branch-action-state-dirty .branch-action-icon,.branch-action-state-closed-dirty .branch-action-icon {
+ background-color: #888
+}
+
+@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 2dppx) {
+ .branch-action-body .spinner {
+ background-image:url(/images/spinners/octocat-spinner-64.gif);
+ background-size: 32px 32px
+ }
+}
+
+.collected-todos {
+ padding-left: 64px;
+ margin-top: 15px;
+ margin-bottom: 15px
+}
+
+.collected-todos .status-tabs-content-view {
+ border: 1px solid #eee;
+ border-width: 1px 0 0;
+ border-radius: 0 0 3px 3px
+}
+
+.collected-todos .open .statuses-toggle-opened {
+ display: block
+}
+
+.collected-todos .open .statuses-toggle-closed {
+ display: none
+}
+
+.collected-todos-body {
+ position: relative;
+ background-color: #fff;
+ border: 1px solid #e5e5e5;
+ border-radius: 3px
+}
+
+.merge-branch-form {
+ display: none;
+ margin: 15px 0
+}
+
+.merge-branch-form .commit-form {
+ border-color: #95c97e
+}
+
+.merge-branch-form .commit-form:before {
+ border-right-color: #95c97e
+}
+
+.merge-branch-form.error .commit-form {
+ border-color: #e97a74
+}
+
+.merge-branch-form.error .commit-form:before {
+ border-right-color: #e97a74
+}
+
+.merge-branch-form .merge-form-failed {
+ display: none
+}
+
+.merge-branch-form.error .merge-form-failed {
+ display: block
+}
+
+.merge-branch-form.error .merge-form-contents {
+ display: none
+}
+
+.merge-button-matrix-merge-form .merge-branch-form {
+ display: block
+}
+
+.merge-button-matrix-merge-form .merge-branch-form .merge-form-contents {
+ display: block
+}
+
+.merge-button-matrix-merge-failed .merge-branch-form {
+ display: block
+}
+
+.merge-button-matrix-merge-failed .merge-branch-form .merge-form-failed {
+ display: block
+}
+
+.merge-button-matrix-merge-failed .merge-branch-form .merge-form-contents {
+ display: none
+}
+
+p.recently-touched-branches-description {
+ margin: 0;
+ font-size: 11px;
+ color: #888
+}
+
+.recently-touched-branches {
+ padding: 0;
+ margin: 5px 0 10px;
+ color: #4c4a42;
+ background-color: #fff9ea;
+ border: solid 1px #dfd8c2;
+ border-radius: 3px
+}
+
+.recently-touched-branches a.branch-link {
+ font-weight: bold
+}
+
+.recently-touched-branches li {
+ height: 36px;
+ padding: 5px;
+ margin: 0;
+ line-height: 23px;
+ list-style-type: none;
+ border-bottom: 1px solid #e5e2c8
+}
+
+.recently-touched-branches li:last-child {
+ border-bottom: 0
+}
+
+.recently-pushed-branch-actions {
+ float: right
+}
+
+.recently-pushed-branch-details {
+ display: inline-block;
+ margin: 0 0 0 7px;
+ font-size: 13px;
+ line-height: 26px;
+ color: #a19e7f
+}
+
+.recently-pushed-branch-details a {
+ color: #6b694f
+}
+
+.recently-pushed-branch-details .css-truncate-target {
+ max-width: 400px
+}
+
+.branch-name {
+ display: inline-block;
+ padding: 2px 6px;
+ font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
+ color: rgba(0,0,0,0.5);
+ background-color: rgba(209,227,237,0.5);
+ border-radius: 3px
+}
+
+.branch-name .octicon {
+ margin: 1px -2px 0 0;
+ color: #b0c4ce
+}
+
+a.branch-name {
+ color: #4183c4
+}
+
+.range-editor {
+ position: relative;
+ padding: 15px 15px 15px 45px;
+ margin-bottom: 10px;
+ background-color: #fafafa;
+ border: 1px solid #eee;
+ border-radius: 3px
+}
+
+.range-editor .range {
+ position: relative
+}
+
+.range-editor .range p {
+ margin: 0 0 8px;
+ font-size: 12px;
+ color: #999
+}
+
+.range-editor .range .dots {
+ margin: 0 4px;
+ font-size: 16px;
+ color: #999
+}
+
+.range-editor .range .select-menu {
+ position: relative;
+ display: inline-block
+}
+
+.range-editor .range .select-menu.fork-suggester {
+ display: none
+}
+
+.range-editor .range .branch-name {
+ line-height: 22px
+}
+
+.is-cross-repo .range-editor .range .select-menu.fork-suggester {
+ display: inline-block
+}
+
+.is-cross-repo .range-editor .range .cross-repo-text {
+ display: none
+}
+
+.range-editor .range .branch .css-truncate-target,.range-editor .range .fork-suggester .css-truncate-target {
+ max-width: 180px
+}
+
+.range-editor-icon {
+ float: left;
+ margin-left: -30px;
+ color: #666
+}
+
+.range-cross-repo-pair {
+ display: inline-block;
+ white-space: nowrap
+}
+
+ul.comparison-list {
+ width: 350px;
+ margin: 25px auto 15px;
+ font-size: 14px;
+ text-align: left;
+ background: #fff;
+ border: 1px solid #ddd;
+ border-radius: 3px
+}
+
+ul.comparison-list>li {
+ padding: 7px 10px;
+ list-style-type: none;
+ border-top: 1px solid #eee
+}
+
+ul.comparison-list>li a {
+ font-weight: bold
+}
+
+ul.comparison-list>li em {
+ float: right;
+ font-style: normal;
+ color: #999
+}
+
+ul.comparison-list>li .octicon {
+ position: relative;
+ top: 1px;
+ color: #aaa
+}
+
+ul.comparison-list>li .css-truncate-target {
+ max-width: 200px
+}
+
+ul.comparison-list>li.title {
+ font-size: 12px;
+ font-weight: bold;
+ color: #aaa;
+ text-transform: uppercase;
+ background: #fafafa;
+ border-top: 0;
+ border-top-left-radius: 3px;
+ border-top-right-radius: 3px
+}
+
+.recently-touched-branches-wrapper {
+ margin: 15px 0
+}
+
+.starring-container .unstarred,.starring-container.on .starred {
+ display: block
+}
+
+.starring-container.on .unstarred,.starring-container .starred {
+ display: none
+}
+
+.starring-container.loading {
+ opacity: 0.5
+}
+
+.user-following-container .follow,.user-following-container.on .unfollow {
+ display: inline-block
+}
+
+.user-following-container.on .follow,.user-following-container .unfollow {
+ display: none
+}
+
+.user-following-container.loading {
+ opacity: 0.5
+}
+
+.members .user-following-container {
+ float: right
+}
+
+.close-button,.web-edit-button {
+ background: transparent;
+ border: 0;
+ padding: 0;
+ outline: none
+}
+
+.code-list .file-box {
+ border: 1px solid #ddd;
+ border-radius: 3px
+}
+
+.code-list em {
+ background-color: rgba(255,255,140,0.5);
+ padding: 3px;
+ border-radius: 3px;
+ font-weight: bold;
+ font-style: normal;
+ color: #333
+}
+
+.code-list .title {
+ margin: -3px 0 10px 38px;
+ min-height: 24px;
+ font-weight: bold;
+ line-height: 1.2
+}
+
+.code-list .repo-specific .title,.code-list .repo-specific .full-path {
+ margin-left: 0
+}
+
+.code-list .match-count,.code-list .updated-at {
+ margin: 0;
+ font-size: 11px;
+ color: #999;
+ font-weight: normal
+}
+
+.code-list .language {
+ float: right;
+ color: rgba(51,51,51,0.75);
+ font-size: 12px;
+ margin-left: 10px
+}
+
+.code-list .avatar {
+ float: left
+}
+
+.code-list .code-list-item+.code-list-item {
+ margin-top: 20px;
+ padding-top: 20px;
+ border-top: 1px solid #eee;
+ margin-bottom: 10px
+}
+
+.code-list .blob-num {
+ padding: 0
+}
+
+.code-list .blob-num:before {
+ content: normal
+}
+
+.code-list .blob-num a {
+ color: inherit;
+ padding: 0 10px
+}
+
+.code-list .blob-num a:hover {
+ color: #4183c4
+}
+
+.code-list .blob-code {
+ white-space: pre-wrap
+}
+
+.code-list .divider .blob-num,.code-list .divider .blob-code {
+ background-color: #f8fafd;
+ padding-top: 0;
+ padding-bottom: 0;
+ cursor: default
+}
+
+.code-list .divider .blob-num {
+ background-color: #f0f5fa;
+ line-height: 15px;
+ padding: 0 10px;
+ height: 18px
+}
+
+.code-list .full-path {
+ margin: 0 0 0 40px
+}
+
+.code-list .full-path .octicon-repo {
+ color: #666
+}
+
+.code-list .full-path .octicon-lock {
+ color: #e9dba4
+}
+
+.code-list .full-path a {
+ color: #999
+}
+
+.code-list-item-private .file-box {
+ border: 1px solid #fadda5
+}
+
+.code-list-item-private .blob-num {
+ background-color: #fff9ea;
+ border-right: 1px solid #fadda5
+}
+
+.code-list-item-private .blob-num a {
+ color: #a1882b
+}
+
+.code-list-item-private .divider .blob-num,.code-list-item-private .divider .blob-code {
+ background-color: #fff9ea;
+ color: #a1882b
+}
+
+.codesearch-head {
+ padding-bottom: 20px
+}
+
+.codesearch-head.pagehead h1 {
+ float: left;
+ width: 250px;
+ line-height: 33px
+}
+
+.advanced-search-form h3 {
+ margin-top: 20px
+}
+
+.advanced-search-form .flattened dt {
+ width: 230px
+}
+
+.advanced-search-form .flattened dt label {
+ font-weight: normal
+}
+
+.advanced-search-form .flattened dd {
+ margin-left: 250px
+}
+
+.advanced-search-form .form-checkbox {
+ margin-left: 250px
+}
+
+.advanced-search-form fieldset {
+ border-bottom: 1px solid #f1f1f1;
+ padding-bottom: 20px;
+ margin-bottom: 30px
+}
+
+.codesearch-results .large-format-loader {
+ padding-top: 5%
+}
+
+.codesearch-results .repo-list {
+ margin-top: -20px
+}
+
+.codesearch-results .repo-list-name {
+ font-weight: normal
+}
+
+.codesearch-results .repo-list-name a,.codesearch-results .code-list .title a {
+ word-wrap: break-word
+}
+
+.codesearch-results .repo-list-name em,.codesearch-results .repo-list-description em {
+ padding: 3px;
+ font-style: normal;
+ font-weight: bold;
+ background-color: rgba(255,255,140,0.5);
+ border-radius: 3px
+}
+
+.codesearch-results .search-foot-note {
+ color: #999;
+ text-align: center
+}
+
+.meta-search-links {
+ margin-top: 20px
+}
+
+.meta-search-links a {
+ margin-right: 10px
+}
+
+.codesearch-aside .menu .octicon {
+ width: 16px;
+ text-align: center;
+ margin-right: 5px
+}
+
+.codesearch-aside .meta-search-links {
+ margin-top: 20px
+}
+
+.codesearch-aside .meta-search-links a {
+ margin-right: 10px
+}
+
+.codesearch-aside .filter-list {
+ border-bottom: 1px solid #f1f1f1;
+ margin-bottom: 20px;
+ padding-bottom: 20px
+}
+
+.codesearch-aside .filter-list li {
+ position: relative
+}
+
+.codesearch-aside .filter-list li span.bar {
+ background: #f1f1f1;
+ display: inline-block;
+ position: absolute;
+ z-index: -1;
+ top: 2px;
+ bottom: 2px;
+ right: 0
+}
+
+.simple-search-page {
+ width: 740px;
+ padding-top: 100px;
+ padding-bottom: 100px
+}
+
+.simple-search-page h2 {
+ font-weight: normal
+}
+
+.simple-search-page h2 .mega-octicon {
+ vertical-align: middle
+}
+
+.search-form-fluid {
+ position: relative
+}
+
+.search-form-fluid .flex-table-item-primary {
+ padding-right: 10px
+}
+
+.search-form-fluid .completed-query {
+ position: absolute;
+ top: 7px;
+ left: 8px;
+ right: 8px;
+ z-index: 1;
+ margin: 0;
+ overflow: hidden;
+ white-space: nowrap
+}
+
+.search-form-fluid .completed-query span {
+ opacity: 0
+}
+
+.search-form-fluid .search-page-label {
+ position: relative;
+ display: block;
+ font-weight: normal;
+ cursor: text
+}
+
+.search-form-fluid .search-page-label.focus .completed-query {
+ opacity: 0.6
+}
+
+.search-form-fluid .search-page-input {
+ position: relative;
+ z-index: 2;
+ min-height: 0;
+ margin: 0;
+ padding: 0;
+ background: none;
+ border: 0;
+ box-shadow: none
+}
+
+.search-form-fluid .search-page-input:focus {
+ box-shadow: none
+}
+
+.token-warning {
+ position: absolute;
+ top: 10px;
+ right: 85px;
+ color: #000
+}
+
+.sort-bar {
+ border-bottom: 1px solid #f1f1f1;
+ margin-bottom: 20px;
+ padding-bottom: 20px
+}
+
+.sort-bar .sort-label {
+ padding-right: 5px;
+ font-weight: 200;
+ font-size: 13px;
+ color: #666
+}
+
+.sort-bar .select-menu {
+ float: right
+}
+
+.sort-bar h3 {
+ margin: 0
+}
+
+.sort-bar .sort-form {
+ float: right
+}
+
+.sort-bar .sort-link {
+ font-weight: bold;
+ color: #8a8a8a;
+ text-decoration: none;
+ margin-top: 4px
+}
+
+.sort-form .sort-icon {
+ border: 5px solid #8a8a8a;
+ height: 0;
+ width: 0;
+ display: inline-block;
+ margin-left: 5px
+}
+
+.sort-form .sort-desc .sort-icon {
+ border-color: #8a8a8a transparent transparent;
+ border-width: 5px 4px 2px
+}
+
+.sort-form .sort-asc .sort-icon {
+ border-color: transparent transparent #8a8a8a;
+ border-width: 2px 4px 5px
+}
+
+.file-editor-textarea {
+ width: 100%;
+ padding: 5px 4px;
+ font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
+ resize: vertical;
+ border: 0;
+ border-radius: 0;
+ outline: none
+}
+
+.container-preview .tabnav-tabs {
+ margin: -6px 0 -5px -11px
+}
+
+.container-preview .tabnav-tabs .tabnav-tab {
+ padding: 12px 15px;
+ border-radius: 0
+}
+
+.container-preview .tabnav-tabs>li:first-child .selected {
+ border-top-left-radius: 3px
+}
+
+.container-preview .tabnav-tabs .selected {
+ font-weight: bold
+}
+
+.container-preview.show-code .commit-create,.container-preview.show-code .actions {
+ display: block
+}
+
+.container-preview.show-code .commit-preview,.container-preview.show-code .loading-preview-msg,.container-preview.show-code .no-changes-preview-msg,.container-preview.show-code .error-preview-msg {
+ display: none
+}
+
+.container-preview:not(.show-code) .commit-create,.container-preview:not(.show-code) .actions {
+ display: none
+}
+
+.container-preview.loading-preview .loading-preview-msg {
+ display: block
+}
+
+.container-preview.loading-preview .no-changes-preview-msg,.container-preview.loading-preview .error-preview-msg,.container-preview.loading-preview .commit-preview {
+ display: none
+}
+
+.container-preview.show-preview .commit-preview {
+ display: block
+}
+
+.container-preview.show-preview .loading-preview-msg,.container-preview.show-preview .no-changes-preview-msg,.container-preview.show-preview .error-preview-msg {
+ display: none
+}
+
+.container-preview.no-changes-preview .no-changes-preview-msg {
+ display: block
+}
+
+.container-preview.no-changes-preview .loading-preview-msg,.container-preview.no-changes-preview .error-preview-msg,.container-preview.no-changes-preview .commit-preview {
+ display: none
+}
+
+.container-preview.error-preview .error-preview-msg {
+ display: block
+}
+
+.container-preview.error-preview .loading-preview-msg,.container-preview.error-preview .no-changes-preview-msg,.container-preview.error-preview .commit-preview {
+ display: none
+}
+
+.container-preview p.preview-msg {
+ padding: 30px;
+ font-size: 16px
+}
+
+.ace_editor.ace-github-light {
+ position: relative;
+ font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
+ font-size: 12px;
+ line-height: 18px
+}
+
+.ace_editor.ace-github-light .ace_scroller.ace_scroll-left {
+ box-shadow: none
+}
+
+.ace_gutter {
+ border-right: 1px solid #eee
+}
+
+.ace_gutter-layer {
+ min-width: 50px
+}
+
+.ace_nobold .ace_line>span {
+ font-weight: normal !important
+}
+
+.ace_marker-layer .ace_step {
+ background-color: #fcff00
+}
+
+.ace_marker-layer .ace_stack {
+ background-color: #a4e565
+}
+
+.ace_marker-layer .ace_selected-word {
+ background-color: #fafaff
+}
+
+.ace_indent-guide {
+ box-shadow: inset -1px 0 0 rgba(0,0,0,0.1)
+}
+
+.details-collapse .collapse {
+ position: relative;
+ display: none;
+ height: 0;
+ overflow: hidden;
+ -webkit-transition: height 0.35s ease-in-out;
+ transition: height 0.35s ease-in-out
+}
+
+.details-collapse.open .collapse {
+ display: block;
+ height: auto;
+ overflow: visible
+}
+
+.comment.is-comment-editing .timeline-comment-actions,.comment.is-comment-editing .edit-comment-hide {
+ display: none
+}
+
+.comment.is-comment-editing .form-content {
+ display: block
+}
+
+.comment.is-comment-loading .context-loader {
+ display: block
+}
+
+.comment.is-comment-loading .form-content {
+ opacity: 0.5
+}
+
+.comment.is-comment-stale .comment-form-stale {
+ display: block
+}
+
+.comment.is-comment-stale .comment-content {
+ padding-top: 10px
+}
+
+.comment.is-comment-stale .form-content {
+ opacity: 0.75
+}
+
+.comment .email-format {
+ line-height: 1.5
+}
+
+.comment .context-loader {
+ display: none
+}
+
+.comment-body {
+ width: 100%;
+ padding: 15px;
+ overflow: visible;
+ font-size: 14px
+}
+
+.comment-body .highlight {
+ overflow: visible !important;
+ background-color: transparent
+}
+
+.form-actions:before {
+ display: table;
+ content: ""
+}
+
+.form-actions:after {
+ display: table;
+ clear: both;
+ content: ""
+}
+
+.form-actions .button,.form-actions .minibutton {
+ float: right;
+ margin-left: 5px
+}
+
+.form-actions .left .button,.form-actions .left .minibutton {
+ margin-left: 0
+}
+
+.form-content {
+ display: none;
+ padding: 10px
+}
+
+.form-content .form-actions {
+ margin-top: 10px
+}
+
+.comment-form-textarea {
+ width: 100%;
+ max-width: 100%;
+ height: 100px;
+ min-height: 100px;
+ margin: 0;
+ font-size: 14px;
+ line-height: 1.6;
+ -webkit-transform: translateZ(0)
+}
+
+.comment-form-textarea.dragover {
+ border: solid 1px #4183c4
+}
+
+.discussion-topic-header {
+ position: relative;
+ padding: 10px;
+ word-wrap: break-word
+}
+
+.discussion-hidden {
+ opacity: 0.75
+}
+
+.comment-form-error,.comment-form-stale {
+ display: none;
+ padding: 5px 10px;
+ margin: 0 10px;
+ font-weight: bold;
+ color: #900;
+ background-color: #ffeaea;
+ border: 1px solid #e2a0a0
+}
+
+.comment-form-error.comment-form-bottom,.comment-form-stale.comment-form-bottom {
+ margin-bottom: 10px
+}
+
+.comment-form-stale {
+ margin-top: 0
+}
+
+.email-format {
+ line-height: 1.5em !important
+}
+
+.email-format div {
+ white-space: pre-wrap
+}
+
+.email-format .email-hidden-reply {
+ display: none;
+ white-space: pre-wrap
+}
+
+.email-format .email-quoted-reply,.email-format .email-signature-reply {
+ padding: 0 15px;
+ margin: 15px 0;
+ color: #777;
+ border-left: 4px solid #ddd
+}
+
+.email-format .email-hidden-toggle a {
+ display: inline-block;
+ height: 12px;
+ padding: 0 9px;
+ font-size: 12px;
+ font-weight: bold;
+ line-height: 6px;
+ color: #555;
+ text-decoration: none;
+ vertical-align: middle;
+ background: #ddd;
+ border-radius: 1px
+}
+
+.email-format .email-hidden-toggle a:hover {
+ background-color: #ccc
+}
+
+.email-format .email-hidden-toggle a:active {
+ color: #fff;
+ background-color: #4183c4
+}
+
+.comment-email-format div {
+ white-space: normal
+}
+
+.comment-email-format .email-hidden-reply {
+ display: none;
+ white-space: normal
+}
+
+.comment-email-format blockquote,.comment-email-format p {
+ margin: 0
+}
+
+.blankslate.conversation-limited {
+ padding: 20px 0 10px;
+ margin: 15px
+}
+
+.locked-conversation .write-tab,.locked-conversation .preview-tab {
+ color: #ccc
+}
+
+.commit-sha {
+ padding: 0.2em 0.4em;
+ font-size: 90%;
+ font-weight: normal;
+ background-color: #f5f5f5;
+ border: 1px solid #eee;
+ border-radius: 0.2em
+}
+
+.commit-partial-notice {
+ margin-top: 20px;
+ margin-bottom: 20px
+}
+
+.commit-paginate-container {
+ float: right;
+ margin: -5px 0 0;
+ text-align: inherit
+}
+
+.commit .commit-title,.commit .commit-title a {
+ color: #4e575b
+}
+
+.commit .commit-title.blank,.commit .commit-title.blank a {
+ color: #9cabb1
+}
+
+.commit .commit-title .issue-link {
+ font-weight: bold;
+ color: #4183c4
+}
+
+.commit .sha-block,.commit .sha {
+ font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
+ font-size: 12px
+}
+
+.commit.open .commit-desc {
+ display: block
+}
+
+.commit-link {
+ font-weight: normal;
+ color: #4183c4
+}
+
+.commit-email-flash {
+ display: inline
+}
+
+.commit-desc {
+ display: none
+}
+
+.commit-desc pre {
+ max-width: 700px;
+ margin: 10px 0;
+ font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
+ font-size: 13px;
+ line-height: 1.45;
+ color: #596063;
+ white-space: pre-wrap
+}
+
+.commit-desc+.commit-branches {
+ padding-top: 8px;
+ margin-top: 2px;
+ border-top: solid 1px #d1e2eb
+}
+
+.commit-tease {
+ padding: 8px 8px 0;
+ background: #e6f1f6;
+ border: 1px solid #b7c7cf;
+ border-bottom-color: #d8e6ec;
+ border-top-left-radius: 3px;
+ border-top-right-radius: 3px
+}
+
+.commit-tease p.commit-title {
+ margin: 0 0 6px
+}
+
+.commit-tease .commit-desc {
+ margin: -3px 0 10px
+}
+
+.commit-tease .commit-desc pre {
+ font-size: 11px
+}
+
+.commit-tease .commit-meta {
+ padding: 8px;
+ margin-right: -8px;
+ margin-left: -8px;
+ background: #fff;
+ border-top: 1px solid #d8e6ec
+}
+
+.commit-tease .commit-meta .loader-loading {
+ margin: 0 0 -9px
+}
+
+.commit-tease .zeroclipboard-link {
+ float: right;
+ margin-top: -2px;
+ margin-left: 5px
+}
+
+.commit-tease .sha-block {
+ float: right;
+ color: #888
+}
+
+.commit-tease .sha-block>.sha {
+ color: #444
+}
+
+.commit-tease .sha-block>a {
+ color: #444;
+ text-decoration: none
+}
+
+.commit-tease .authorship {
+ margin: -2px 0 -4px -4px;
+ font-size: 12px;
+ color: #999
+}
+
+.commit-tease .authorship a {
+ font-weight: bold;
+ color: #444;
+ text-decoration: none
+}
+
+.commit-tease .authorship a:hover {
+ text-decoration: underline
+}
+
+.commit-tease .authorship .avatar {
+ margin: -2px 3px 0 0
+}
+
+.commit-tease .authorship .author-name {
+ color: #444
+}
+
+.commit-tease .authorship .committer {
+ display: block;
+ margin-left: 30px;
+ font-size: 11px
+}
+
+.comment-count {
+ float: right;
+ margin-top: 1px;
+ font-size: 11px;
+ color: #7f9199
+}
+
+.comment-count .octicon {
+ margin-left: 5px;
+ vertical-align: middle
+}
+
+.commits-listing {
+ position: relative;
+ padding-bottom: 20px;
+ margin-bottom: 15px
+}
+
+.commits-listing:before {
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ left: 14px;
+ z-index: -1;
+ display: block;
+ width: 2px;
+ content: "";
+ background-color: #f3f3f3
+}
+
+.commits-listing .discussion-item-icon {
+ margin-right: 5px;
+ margin-left: -1px
+}
+
+.commits-listing .timeline-commits {
+ padding-left: 8px;
+ margin-bottom: 20px
+}
+
+.commits-listing .timeline-commits:last-child {
+ margin-bottom: 0
+}
+
+.commits-listing-padded {
+ padding-left: 39px
+}
+
+.commit-group {
+ margin-top: 10px;
+ list-style-type: none
+}
+
+.commit-group-title {
+ margin-top: 15px;
+ margin-left: -31px;
+ color: #777
+}
+
+.commit-group-title .octicon-git-commit {
+ margin-right: 17px;
+ color: #ccc;
+ background: #fff
+}
+
+.commits-list-item.navigation-focus {
+ background: #f7fbfc
+}
+
+.commits-list-item .commit-title {
+ margin: 0;
+ font-size: 15px;
+ font-weight: bold;
+ color: #333
+}
+
+.commits-list-item .commit-meta {
+ margin-top: 1px;
+ font-weight: normal;
+ color: #999
+}
+
+.commits-list-item .deployment-indicator {
+ color: #bbb
+}
+
+.commits-list-item .status .octicon {
+ height: 14px;
+ line-height: 14px
+}
+
+.commits-list-item .commit-author {
+ color: #777
+}
+
+.commits-list-item .octicon-arrow-right {
+ margin: 0 3px
+}
+
+.commits-list-item .button-outline {
+ padding: 5px 8px;
+ margin-top: 4px
+}
+
+.commits-list-item .octicon-clippy,.commits-list-item .octicon-code {
+ display: block
+}
+
+.commits-list-item .commit-desc pre {
+ padding-left: 8px;
+ margin-top: 5px;
+ margin-bottom: 10px;
+ font-size: 12px;
+ color: #596063;
+ border-left: 1px solid #e5e5e5
+}
+
+.commits-list-item .commit-desc pre a {
+ word-break: break-word
+}
+
+.commits-comments-link {
+ margin-top: 9px;
+ color: #999;
+ vertical-align: middle
+}
+
+.commits-comments-link:hover {
+ color: #4183c4;
+ text-decoration: none
+}
+
+.commit-avatar-cell {
+ width: 47px
+}
+
+.commit-avatar-cell.table-list-cell {
+ padding-right: 0
+}
+
+.commit-indicator {
+ margin-left: 5px
+}
+
+.commit-links-cell {
+ width: 230px;
+ text-align: right
+}
+
+.commit-links-group {
+ margin-right: 5px
+}
+
+.timeline-commits {
+ width: 100%;
+ margin-top: 5px;
+ border-collapse: separate
+}
+
+.timeline-commits+.timeline-commits {
+ margin-top: 15px
+}
+
+.timeline-commits td {
+ padding-top: 4px;
+ padding-right: 8px;
+ padding-bottom: 4px;
+ font-size: 12px;
+ line-height: 16px;
+ vertical-align: top;
+ background-color: transparent
+}
+
+.discussion-item .timeline-commits .commit-author {
+ display: none
+}
+
+.timeline-commits .commit-gravatar {
+ width: 16px;
+ padding-left: 10px
+}
+
+.timeline-commits .commit-author {
+ width: 200px;
+ padding-right: 20px;
+ white-space: nowrap
+}
+
+.timeline-commits .author {
+ font-weight: bold;
+ color: #555
+}
+
+.timeline-commits .commit-message {
+ min-height: 0;
+ max-width: 550px
+}
+
+.timeline-commits .commit-message a {
+ color: #555
+}
+
+.timeline-commits .commit-message a:hover {
+ color: #4183c4
+}
+
+.timeline-commits .commit-desc pre {
+ padding-left: 10px;
+ font-size: 11px;
+ color: #777;
+ border-left: 1px solid #eee
+}
+
+.timeline-commits .hidden-text-expander {
+ margin-top: 3px;
+ margin-left: 0;
+ vertical-align: top
+}
+
+.timeline-commits .hidden-text-expander a {
+ height: 13px;
+ background-color: #eee
+}
+
+.timeline-commits .hidden-text-expander a:hover {
+ color: #fff;
+ background-color: #4183c4
+}
+
+.timeline-commits .commit-meta {
+ text-align: right;
+ white-space: nowrap
+}
+
+.timeline-commits .commit-meta .status {
+ width: 16px;
+ text-align: center
+}
+
+.timeline-commits .commit-meta .status.status-pending {
+ color: #cea61b
+}
+
+.timeline-commits .commit-meta .octicon {
+ margin-right: 1px;
+ margin-left: 1px
+}
+
+.commit-icon {
+ display: table-cell;
+ width: 16px;
+ color: #ccc
+}
+
+.commit-icon .octicon {
+ background-color: #fff
+}
+
+.commit-id {
+ color: #bbb
+}
+
+.commit-id:hover {
+ color: #4183c4
+}
+
+.full-commit {
+ padding: 8px 8px 0;
+ margin: 10px 0;
+ background: #e6f1f6;
+ border: 1px solid #c5d5dd;
+ border-radius: 3px
+}
+
+.full-commit:first-child {
+ margin-top: 0
+}
+
+.full-commit .button-outline {
+ background: none;
+ border: 1px solid #cedee5
+}
+
+.full-commit .button-outline:hover {
+ color: #4183c4;
+ border: 1px solid #4183c4
+}
+
+.full-commit p.commit-title {
+ margin: 0 0 8px;
+ font-size: 18px;
+ font-weight: bold;
+ color: #213f4d;
+ text-shadow: 0 1px rgba(255,255,255,0.5)
+}
+
+.full-commit .branches-list {
+ display: inline-block;
+ margin-right: 10px;
+ vertical-align: middle;
+ list-style: none
+}
+
+.full-commit .branches-list li {
+ display: inline-block;
+ padding-left: 3px;
+ font-weight: bold;
+ color: #596063
+}
+
+.full-commit .branches-list li:before {
+ padding-right: 6px;
+ font-weight: normal;
+ content: "+"
+}
+
+.full-commit .branches-list li:first-child {
+ padding-left: 0
+}
+
+.full-commit .branches-list li:first-child:before {
+ padding-right: 0;
+ content: ""
+}
+
+.full-commit .branches-list li.loading {
+ font-weight: normal;
+ color: #818c90
+}
+
+.full-commit .branches-list li.pull-request {
+ font-weight: normal;
+ color: #818c90
+}
+
+.full-commit .branches-list li.pull-request:before {
+ margin-left: -8px;
+ content: ""
+}
+
+.full-commit .branches-list li.pull-request-error {
+ margin-bottom: -1px
+}
+
+.full-commit .branches-list li a {
+ color: inherit
+}
+
+.full-commit .commit-meta {
+ padding: 8px;
+ margin-right: -8px;
+ margin-left: -8px;
+ background: #fff;
+ border-top: 1px solid #d8e6ec;
+ border-bottom-right-radius: 3px;
+ border-bottom-left-radius: 3px
+}
+
+.full-commit .sha-block {
+ float: right;
+ margin-left: 15px;
+ font-size: 12px;
+ color: #888
+}
+
+.full-commit.merge-commit .sha-block {
+ clear: right
+}
+
+.full-commit.merge-commit .sha-block+.sha-block {
+ margin-top: 2px
+}
+
+.full-commit .sha-block>.sha {
+ color: #444
+}
+
+.full-commit .sha-block>a {
+ color: #444;
+ text-decoration: none;
+ border-bottom: 1px dotted #ccc
+}
+
+.full-commit .sha-block>a:hover {
+ border-bottom: 1px solid #444
+}
+
+.full-commit .authorship {
+ margin-top: -2px;
+ margin-bottom: -4px;
+ margin-left: -4px;
+ font-size: 14px;
+ color: #999
+}
+
+.full-commit .authorship .gravatar {
+ margin-top: -2px;
+ margin-right: 3px;
+ vertical-align: middle;
+ border-radius: 3px
+}
+
+.full-commit .authorship a {
+ font-weight: bold;
+ color: #444;
+ text-decoration: none
+}
+
+.full-commit .authorship a:hover {
+ text-decoration: underline
+}
+
+.full-commit .authorship .author-name {
+ color: #444
+}
+
+.full-commit .authorship .hint a {
+ color: #4183c4
+}
+
+.full-commit .authorship .committer {
+ display: block;
+ margin-top: -2px;
+ margin-left: 34px;
+ font-size: 12px
+}
+
+.branches-tag-list {
+ display: inline-block;
+ margin-right: 10px;
+ vertical-align: middle;
+ list-style: none
+}
+
+.branches-tag-list .more-commit-details,.branches-tag-list.open .hidden-text-expander {
+ display: none
+}
+
+.branches-tag-list.open .more-commit-details {
+ display: inline-block
+}
+
+.branches-tag-list li {
+ display: inline-block;
+ padding-left: 3px
+}
+
+.branches-tag-list li:first-child {
+ padding-left: 0;
+ font-weight: bold;
+ color: #596063
+}
+
+.branches-tag-list li.loading {
+ font-weight: normal;
+ color: #818c90
+}
+
+.branches-tag-list li.abbrev-tags {
+ cursor: pointer
+}
+
+.branches-tag-list li a {
+ color: inherit
+}
+
+.branches-tag-list li .hidden-text-expander a {
+ background-color: #dae5eb
+}
+
+.branches-tag-list li .hidden-text-expander a:hover {
+ background-color: #d1dbe0
+}
+
+.commit-branches {
+ min-height: 18px;
+ margin-top: -6px;
+ margin-bottom: 8px;
+ font-size: 12px;
+ color: #818c90;
+ vertical-align: middle
+}
+
+.commit-branches .octicon {
+ vertical-align: middle
+}
+
+.full-commit .commit-desc,.commit-desc-container .commit-desc {
+ display: block;
+ margin: -5px 0 10px
+}
+
+.full-commit .commit-desc pre,.commit-desc-container .commit-desc pre {
+ max-width: 100%;
+ overflow: visible;
+ text-shadow: 0 1px rgba(255,255,255,0.5);
+ word-wrap: break-word
+}
+
+.commit-loader .loader-error {
+ display: none;
+ margin: 0;
+ font-size: 12px;
+ font-weight: bold;
+ color: #bd2c00
+}
+
+.commit-loader.error .loader-loading {
+ display: none
+}
+
+.commit-loader.error .loader-error {
+ display: block
+}
+
+.historical-banner {
+ padding: 15px 20px 15px 130px;
+ margin-bottom: 20px;
+ overflow: hidden;
+ color: #333;
+ background: #fff;
+ border: 1px solid #e5e5e5;
+ border-radius: 5px
+}
+
+.historical-banner h2 {
+ margin: 0 0 5px
+}
+
+.historical-banner p {
+ margin: 0
+}
+
+.historical-banner .illustration {
+ position: absolute;
+ top: 12px;
+ left: 20px;
+ color: rgba(0,0,0,0.1)
+}
+
+.roses-divider {
+ margin-bottom: 20px;
+ text-align: center
+}
+
+.file-history-tease {
+ margin-bottom: 10px;
+ font-size: 14px;
+ color: #7b878c;
+ background: #e7ecee;
+ border: 1px solid #d2d9dd;
+ border-radius: 3px
+}
+
+.file-history-tease .author a {
+ font-weight: bold;
+ color: #000
+}
+
+.file-history-tease .commit-title {
+ display: inline
+}
+
+.file-history-tease .sha {
+ font-size: 13px
+}
+
+.file-history-tease .loader-loading,.file-history-tease .loader-error {
+ margin: 0
+}
+
+.file-history-tease .loader-loading img,.file-history-tease .loader-error img {
+ vertical-align: middle
+}
+
+.file-history-tease .participation {
+ padding: 5px 8px;
+ font-size: 12px;
+ font-weight: normal;
+ line-height: 20px;
+ color: #666;
+ background-color: #fff;
+ border-top: 1px solid #d8e6ec;
+ border-bottom-right-radius: 3px;
+ border-bottom-left-radius: 3px
+}
+
+.file-history-tease .participation:before {
+ display: table;
+ content: ""
+}
+
+.file-history-tease .participation:after {
+ display: table;
+ clear: both;
+ content: ""
+}
+
+.file-history-tease .participation .quickstat {
+ float: left;
+ margin: 0 10px 0 0
+}
+
+.file-history-tease .participation .quickstat strong {
+ color: #000
+}
+
+.file-history-tease .participation a {
+ color: #888;
+ text-decoration: none
+}
+
+.file-history-tease .participation .avatar-link {
+ margin-right: 3px
+}
+
+.file-history-tease-header {
+ padding: 5px 8px;
+ line-height: 24px
+}
+
+.file-history-tease-header .avatar {
+ float: left;
+ margin-right: 5px
+}
+
+.toggle-line-notes-below {
+ color: #777
+}
+
+.commit-comments-heading h3 {
+ display: inline-block;
+ margin-right: 15px
+}
+
+.commit-build-statuses {
+ position: relative;
+ display: inline-block;
+ text-align: left
+}
+
+.commit-build-statuses.active .dropdown-menu-content {
+ display: block
+}
+
+.commit-build-statuses.active .tooltipped:before,.commit-build-statuses.active .tooltipped:after {
+ display: none
+}
+
+.commit-build-statuses .dropdown-menu {
+ min-width: 400px;
+ max-width: 500px;
+ padding-top: 0;
+ padding-bottom: 0
+}
+
+.commit-build-statuses .dropdown-menu .build-statuses-list {
+ max-height: 170px;
+ border-bottom: 0
+}
+
+.commit-build-statuses .dropdown-menu-w,.commit-build-statuses .dropdown-menu-e {
+ top: -11px
+}
+
+.commit-build-statuses .status-description .button-link {
+ display: none
+}
+
+.commit-build-statuses .build-status-item:last-child {
+ border-radius: 0 0 2px 2px
+}
+
+.commit-ref {
+ position: relative;
+ display: inline-block;
+ padding: 0 5px;
+ border-radius: 3px;
+ font: 0.75em/2 Consolas, "Liberation Mono", Menlo, Courier, monospace;
+ color: #336479;
+ white-space: nowrap;
+ background-color: #e8f0f8
+}
+
+.commit-ref .user {
+ color: #598a9f
+}
+
+a.commit-ref:hover {
+ text-shadow: -1px -1px 0 rgba(0,0,0,0.2);
+ background-color: #2a5177;
+ background-image: -webkit-linear-gradient(#74a4d4, #2a5177);
+ background-image: linear-gradient(#74a4d4, #2a5177);
+ background-repeat: repeat-x;
+ border-color: #2a5177;
+ text-decoration: none
+}
+
+.compare-cutoff,.diff-cutoff {
+ margin: 5px 0;
+ padding: 8px 0;
+ font-weight: bold;
+ text-align: center;
+ border-radius: 3px;
+ color: #4c4a42;
+ background-color: #fff9ea;
+ border: solid 1px #dfd8c2
+}
+
+.table-of-contents {
+ margin: 15px 0
+}
+
+.table-of-contents li {
+ padding: 7px 0;
+ list-style-type: none
+}
+
+.table-of-contents li+li {
+ border-top: 1px solid #eee
+}
+
+.table-of-contents li>.octicon {
+ margin-right: 3px;
+ vertical-align: -1px
+}
+
+.table-of-contents .octicon-diff-removed {
+ color: #bd2c00
+}
+
+.table-of-contents .octicon-diff-renamed {
+ color: #677a85
+}
+
+.table-of-contents .octicon-diff-modified {
+ color: #d0b44c
+}
+
+.table-of-contents .octicon-diff-added {
+ color: #6cc644
+}
+
+.toc-diff-stats {
+ padding-left: 20px;
+ line-height: 26px
+}
+
+.toc-diff-stats .octicon {
+ float: left;
+ margin-top: 3px;
+ margin-left: -20px;
+ color: #ccc
+}
+
+.toc-diff-stats .button-link {
+ font-weight: bold
+}
+
+.toc-diff-stats+.content {
+ padding-top: 5px
+}
+
+span.no-nl-marker {
+ position: relative;
+ top: 1px;
+ color: #bd2c00;
+ margin-left: 4px;
+ vertical-align: middle
+}
+
+.symlink .no-nl-marker {
+ display: none
+}
+
+.existing-pull {
+ margin: 10px 0
+}
+
+.existing-pull .list-group-item:before {
+ display: table;
+ content: ""
+}
+
+.existing-pull .list-group-item:after {
+ display: table;
+ clear: both;
+ content: ""
+}
+
+.existing-pull .existing-pull-contents {
+ float: left;
+ width: 680px
+}
+
+.existing-pull .existing-pull-button {
+ float: right;
+ margin-top: 3px
+}
+
+.existing-pull .existing-pull-number {
+ font-weight: normal;
+ color: #aaa
+}
+
+.existing-pull .css-truncate {
+ max-width: 700px
+}
+
+.existing-pull .css-truncate p {
+ display: inline
+}
+
+.compare-pr-placeholder {
+ margin: 10px 0;
+ padding: 15px;
+ font-size: 14px;
+ color: #4c4a42;
+ background-color: #fff9ea;
+ border: solid 1px #dfd8c2;
+ border-radius: 3px
+}
+
+.compare-pr-placeholder p {
+ margin: 7px 0;
+ color: #6d6c60
+}
+
+.compare-pr-placeholder .button {
+ margin-right: 10px;
+ margin-bottom: -2px
+}
+
+.compare-pr-placeholder .button .octicon {
+ vertical-align: -1px
+}
+
+.compare-pr-placeholder .help-link {
+ margin-top: 5px;
+ margin-right: -3px;
+ padding: 3px;
+ color: #9c997d;
+ text-decoration: none
+}
+
+.compare-pr .pull-request-composer {
+ display: none
+}
+
+.compare-pr .contributing {
+ display: none
+}
+
+.compare-pr.open .compare-pr-placeholder {
+ display: none
+}
+
+.compare-pr.open .pull-request-composer {
+ display: block
+}
+
+.compare-pr.open .contributing {
+ display: block
+}
+
+.contributing {
+ padding: 15px;
+ margin: 15px 0;
+ font-size: 14px;
+ color: #4c4a42;
+ background-color: #fff9ea;
+ border: 1px solid #dfd8c2;
+ border-radius: 3px
+}
+
+.pull-request-composer {
+ position: relative;
+ margin-bottom: 15px;
+ border: 1px solid #ddd;
+ border-radius: 3px
+}
+
+.pull-request-composer .preview-content {
+ min-height: 120px
+}
+
+.discussion-topic {
+ float: left;
+ width: 80%;
+ border-right: 1px solid #ddd
+}
+
+.composer-meta {
+ float: left;
+ width: 20%;
+ padding-right: 10px;
+ padding-left: 10px;
+ text-align: center
+}
+
+.composer-meta .branch-action-icon {
+ display: inline-block;
+ float: none;
+ margin: 15px 0
+}
+
+.composer-meta .merge-branch-heading {
+ font-size: 14px
+}
+
+.composer-meta .merge-branch-description {
+ margin: 10px 0;
+ font-size: 12px
+}
+
+.composer-meta .branch-action-state-clean .merge-branch-heading {
+ color: #6cc644
+}
+
+.composer-submit {
+ position: absolute;
+ right: 1%;
+ bottom: 10px;
+ width: 18%
+}
+
+#contact-github textarea {
+ height: 100px;
+ resize: vertical
+}
+
+.heartocat {
+ display: block;
+ margin: 50px auto 0
+}
+
+.documentation-results-wrapper {
+ position: relative;
+ top: -19px
+}
+
+.documentation-results {
+ position: absolute;
+ top: 0;
+ z-index: 2;
+ width: 400px;
+ margin-top: 5px;
+ clear: both;
+ box-shadow: 0 0 5px rgba(0,0,0,0.2)
+}
+
+.documentation-results ul {
+ width: 100%
+}
+
+.documentation-results ul li:first-child a {
+ border-top-left-radius: 3px;
+ border-top-right-radius: 3px
+}
+
+.documentation-results .documentation-results-footer a {
+ border-bottom-left-radius: 3px;
+ border-bottom-right-radius: 3px
+}
+
+.documentation-results a {
+ outline: none;
+ padding: 5px 10px;
+ display: block;
+ color: #333;
+ font-weight: bold;
+ cursor: pointer;
+ text-decoration: none;
+ border: solid #ddd;
+ border-width: 0 1px 1px;
+ background-color: #fff
+}
+
+.documentation-results a:hover {
+ background-color: #3586c3;
+ color: #fff
+}
+
+.documentation-results a.selected {
+ background-color: #3586c3;
+ color: #fff
+}
+
+ul.documentation-results-group {
+ list-style-type: none
+}
+
+.contact-form-extras {
+ display: none
+}
+
+.context-loader-container .context-loader {
+ display: none
+}
+
+.context-loader-container .context-loader.is-context-loading {
+ display: block;
+ white-space: nowrap
+}
+
+.context-loader-container .context-loader-overlay {
+ opacity: 1;
+ -webkit-transition: opacity 0.25s ease-in-out;
+ transition: opacity 0.25s ease-in-out
+}
+
+.context-loader-container .context-loader-overlay.is-context-loading {
+ opacity: 0.5
+}
+
+.page-context-loader {
+ margin-left: 10px;
+ display: none
+}
+
+.page-context-loader.is-context-loading {
+ display: inline-block
+}
+
+body.disables-context-loader .page-context-loader,body.disables-context-loader .context-loader {
+ display: none !important
+}
+
+.contributions-tab {
+ margin-top: 20px
+}
+
+.calendar-graph {
+ padding: 5px 0 0;
+ height: 126px;
+ text-align: center
+}
+
+.calendar-graph.days-selected rect.day {
+ opacity: 0.5
+}
+
+.calendar-graph.days-selected rect.day.active {
+ opacity: 1
+}
+
+.calendar-graph .activity {
+ margin-top: 0
+}
+
+.calendar-graph .dots {
+ margin: 20px auto 0;
+ width: 64px;
+ height: 64px
+}
+
+.calendar-graph text.month {
+ font-size: 10px;
+ fill: #aaa
+}
+
+.calendar-graph text.wday {
+ fill: #ccc;
+ font-size: 9px
+}
+
+#contributions-calendar rect.day {
+ shape-rendering: crispedges
+}
+
+#contributions-calendar rect.day.empty:hover {
+ stroke: none
+}
+
+#contributions-calendar rect.day:hover {
+ stroke: #555;
+ stroke-width: 1px
+}
+
+.contrib-column {
+ padding: 15px 0;
+ text-align: center;
+ border-left: 1px solid #ddd;
+ border-top: 1px solid #ddd;
+ font-size: 11px
+}
+
+.contrib-column-first {
+ border-left: 0
+}
+
+.contrib-number {
+ font-weight: 300;
+ line-height: 1.3em;
+ font-size: 24px;
+ display: block;
+ color: #333
+}
+
+.contrib-footer {
+ font-size: 11px;
+ padding: 0 10px 12px
+}
+
+.contrib-legend {
+ font-size: 11px;
+ color: #999;
+ float: right
+}
+
+.contrib-legend .legend {
+ display: inline-block;
+ list-style: none;
+ margin: 0 5px;
+ position: relative;
+ bottom: -1px
+}
+
+.contrib-legend .legend li {
+ display: inline-block;
+ width: 10px;
+ height: 10px
+}
+
+.new-user-contrib-intro {
+ border-top: solid 1px #ddd;
+ padding: 5px 20px;
+ font-size: 16px
+}
+
+.contrib-square {
+ color: #d6e685;
+ font-size: 22px;
+ line-height: 1
+}
+
+.contribution-activity h2 {
+ font-size: 18px;
+ font-weight: normal;
+ margin: 30px 0 15px
+}
+
+.contribution-activity .select-menu-button {
+ position: relative;
+ top: -4px
+}
+
+.contribution-activity.loading .contribution-activity-listing {
+ display: none
+}
+
+.contribution-activity.loading .contribution-activity-spinner {
+ display: block
+}
+
+.contribution-activity-spinner {
+ margin: 20px auto 0;
+ width: 64px;
+ height: 64px;
+ display: none
+}
+
+ul.simple-conversation-list a.meta {
+ color: #777
+}
+
+li.contribution {
+ list-style: none;
+ padding: 10px 0
+}
+
+li.contribution:last-child {
+ border-bottom: 0
+}
+
+li.contribution h3 {
+ font-size: 14px;
+ display: inline-block;
+ margin: 0
+}
+
+li.contribution h3 a {
+ color: #4183c4
+}
+
+li.contribution .cmeta {
+ display: block;
+ font-size: 12px;
+ color: #aaa;
+ font-weight: normal
+}
+
+li.contribution .cmeta a {
+ color: #666
+}
+
+li.contribution .cmt {
+ color: #999
+}
+
+li.contribution .d {
+ color: #c00
+}
+
+li.contribution .a {
+ color: #8cac29
+}
+
+li.contribution .num {
+ color: #777
+}
+
+.subscribe-feed {
+ display: inline-block;
+ color: #333
+}
+
+.subscribe-feed .octicon {
+ margin-right: 5px
+}
+
+.new-user-panel {
+ position: relative;
+ padding: 18px;
+ margin-bottom: 30px;
+ font-size: 16px;
+ border: dashed 2px #ccc;
+ border-radius: 3px
+}
+
+.new-user-panel-close {
+ position: absolute;
+ top: 10px;
+ right: 18px;
+ color: #ccc
+}
+
+.new-user-panel-close:hover {
+ color: #666
+}
+
+.new-user-intro {
+ margin: 0 120px;
+ font-size: 36px;
+ font-weight: normal;
+ line-height: 1.3;
+ text-align: center
+}
+
+.new-user-heading-small {
+ margin: 5px 170px 20px;
+ font-size: 20px;
+ color: #888;
+ text-align: center
+}
+
+.button-hello-world {
+ font-size: 16px;
+ padding: 10px 50px
+}
+
+.welcome-guides {
+ position: relative;
+ padding: 30px;
+ margin-bottom: 30px;
+ border: 2px dashed #ddd;
+ border-radius: 3px
+}
+
+.welcome-guides h1 {
+ margin-top: 0;
+ margin-bottom: 0;
+ text-align: center
+}
+
+.welcome-guides .lead {
+ margin-top: 0;
+ margin-bottom: 20px;
+ text-align: center
+}
+
+.welcome-guides .guides-list-item {
+ color: #777
+}
+
+.welcome-guides .guides-list-item:hover {
+ color: #4183c4;
+ text-decoration: none
+}
+
+.welcome-guides .guides-list-item p {
+ margin-bottom: 0
+}
+
+.welcome-guides .dismiss-guides {
+ position: absolute;
+ top: 30px;
+ right: 28px;
+ display: block;
+ padding-left: 5px;
+ color: #ccc
+}
+
+.welcome-guides .dismiss-guides:hover {
+ color: #4183c4
+}
+
+.guides-bootcamp {
+ text-align: center
+}
+
+.guides-bootcamp p {
+ margin-top: 0;
+ margin-bottom: 0
+}
+
+.guides-bootcamp .guides-list-item {
+ padding-right: 15px;
+ padding-left: 15px
+}
+
+.guides-bootcamp .guides-image {
+ display: block;
+ width: auto;
+ height: 100px;
+ margin: 10px auto 20px
+}
+
+.guides-bootcamp .guides-list-title {
+ margin-top: 0;
+ margin-bottom: 5px;
+ color: #4183c4
+}
+
+.bootcamp {
+ margin: 0 0 20px
+}
+
+.bootcamp h1 {
+ position: relative;
+ padding: 8px 10px;
+ margin: 0;
+ font-size: 16px;
+ font-weight: bold;
+ color: #fff;
+ text-shadow: 0 -1px 0 rgba(0,0,0,0.4);
+ background-color: #829aa8;
+ border: 1px solid #677c89;
+ border-bottom-color: #6b808d;
+ border-radius: 3px 3px 0 0
+}
+
+.bootcamp h1 a {
+ color: #fff;
+ text-decoration: none
+}
+
+.bootcamp .octicon-x {
+ position: relative;
+ top: -2px;
+ font-size: 16px;
+ line-height: 16px
+}
+
+.bootcamp .dismiss-bootcamp {
+ position: absolute;
+ top: 9px;
+ right: 9px;
+ display: block;
+ width: 16px;
+ height: 16px;
+ background-repeat: no-repeat;
+ background-position: 0 0
+}
+
+.bootcamp .dismiss-bootcamp:hover {
+ background-position: 0 -19px
+}
+
+.bootcamp .bootcamp-body {
+ padding: 10px 1%;
+ overflow: hidden;
+ background-color: #e9f1f4;
+ border-color: #e9f1f4 #d8dee2 #d8dee2;
+ border-style: solid;
+ border-width: 1px;
+ border-radius: 0 0 3px 3px
+}
+
+.bootcamp ul li {
+ background-color: #f5f3b4;
+ background-image: -webkit-linear-gradient(#fffff5, #f5f3b4);
+ background-image: linear-gradient(#fffff5, #f5f3b4);
+ background-repeat: repeat-x;
+ position: relative;
+ display: block;
+ float: left;
+ width: 24.25%;
+ height: 215px;
+ margin: 0 1% 0 0;
+ overflow: hidden;
+ font-size: 13px;
+ font-weight: normal;
+ color: #666;
+ border: 1px solid #dfddb5;
+ border-radius: 3px;
+ box-shadow: 0 1px 0 #fff
+}
+
+.bootcamp ul li.be-social {
+ margin-right: 0
+}
+
+.bootcamp ul li:hover {
+ background-color: #f1eea3;
+ background-image: -webkit-linear-gradient(#fcfce9, #f1eea3);
+ background-image: linear-gradient(#fcfce9, #f1eea3);
+ background-repeat: repeat-x;
+ border: 1px solid #d6d4ad
+}
+
+.bootcamp ul li a {
+ color: #666;
+ text-decoration: none
+}
+
+.bootcamp .image {
+ position: relative;
+ display: block;
+ height: 133px;
+ background-repeat: no-repeat;
+ background-position: center center
+}
+
+.bootcamp .setup .image {
+ background-image: url(/images/modules/dashboard/bootcamp/octocat_setup.png);
+ background-size: 129px 96px
+}
+
+.bootcamp .create-a-repo .image {
+ background-image: url(/images/modules/dashboard/bootcamp/octocat_repo.png);
+ background-size: 129px 96px
+}
+
+.bootcamp .fork-a-repo .image {
+ background-image: url(/images/modules/dashboard/bootcamp/octocat_fork.png);
+ background-size: 178px 96px
+}
+
+.bootcamp .be-social .image {
+ background-image: url(/images/modules/dashboard/bootcamp/octocat_collabocats.png);
+ background-position: center 27px;
+ background-size: 207px 96px
+}
+
+.bootcamp .desc {
+ position: relative;
+ z-index: 2;
+ padding: 10px 15px 20px;
+ overflow: hidden;
+ text-align: center;
+ background-repeat: no-repeat
+}
+
+.bootcamp .desc>h2 {
+ padding: 0;
+ margin: 0 0 5px;
+ font-size: 15px;
+ color: #393939
+}
+
+.bootcamp .desc p {
+ padding: 0;
+ margin: 0;
+ line-height: 1.2em
+}
+
+.bootcamp .step-number {
+ position: absolute;
+ top: -1px;
+ left: 10px;
+ font-size: 36px;
+ font-weight: bold;
+ color: #e4e1a8;
+ opacity: 0.75
+}
+
+.first-run {
+ width: 800px;
+ margin: 25px auto;
+ text-align: center
+}
+
+.first-run-heading {
+ font-size: 36px;
+ font-weight: normal
+}
+
+.first-run-subheading {
+ font-size: 16px;
+ font-weight: normal;
+ color: #999
+}
+
+.first-run-survey {
+ width: 800px;
+ padding: 0;
+ margin: 0 auto
+}
+
+.first-run-survey .button+.button {
+ margin-left: 12px
+}
+
+.first-run-survey ul.guides {
+ list-style-type: none
+}
+
+.first-run-small-wrapper {
+ box-sizing: border-box;
+ padding: 35px 25px;
+ margin-top: 25px;
+ background-color: #f0f7fd;
+ border: 1px solid #d2d8dd;
+ border-radius: 3px
+}
+
+.first-run-survey-question p {
+ margin: 0 0 25px;
+ font-size: 22px;
+ font-weight: 500;
+ line-height: 1
+}
+
+.first-run-survey-progress {
+ margin-top: 25px
+}
+
+.first-run-survey-progress .circle {
+ display: inline-block;
+ width: 10px;
+ height: 10px;
+ margin: 0 4px;
+ border: 1px solid #d1d1d1;
+ border-radius: 52%
+}
+
+.first-run-survey-progress .current {
+ background-color: #4183c4;
+ border-color: #4183c4
+}
+
+.first-run-survey-progress .completed {
+ background-color: #d1d1d1;
+ border-color: #d1d1d1
+}
+
+.first-run-survey-other {
+ width: 230px;
+ margin: 16px auto auto
+}
+
+.first-run-skip {
+ padding: 15px 0 0;
+ margin-top: 30px;
+ font-size: 14px;
+ border-top: 1px solid #e9e9e9
+}
+
+.first-run-skip span {
+ font-weight: 500
+}
+
+.first-run-get-started {
+ box-sizing: border-box;
+ padding: 0 2px;
+ margin: 25px 0;
+ overflow: hidden;
+ clear: both;
+ border: 1px solid #e5e5e5;
+ border-radius: 3px;
+ box-shadow: 0 1px 1px rgba(0,0,0,0.01)
+}
+
+.first-run-get-started div {
+ float: left;
+ width: 50%;
+ box-sizing: border-box;
+ padding: 18px 20px 22px 18px;
+ text-align: left
+}
+
+.first-run-get-started .mega-octicon {
+ float: left;
+ color: #cccccc
+}
+
+.first-run-get-started p {
+ padding: 0 0 0 47px;
+ margin: 5px 0;
+ color: #333
+}
+
+.first-run-get-started h2 {
+ padding: 0 0 0 47px;
+ margin: 0 0 10px;
+ font-size: 18px;
+ font-weight: bold;
+ color: #333
+}
+
+.first-run-get-started a {
+ margin-top: 12px;
+ margin-left: 47px
+}
+
+.first-run-get-started .first-box {
+ border-right: 1px solid #eee
+}
+
+.first-run-help-link {
+ color: #999
+}
+
+.user-repos .mini-repo-list-item {
+ padding-right: 6px
+}
+
+.user-repos .mini-repo-list-item .repo-and-owner {
+ max-width: 100%
+}
+
+.user-repos .mini-repo-list-item .owner {
+ max-width: 145px
+}
+
+#example_octofication {
+ float: right;
+ width: 335px;
+ margin: 0
+}
+
+.octofication {
+ margin-bottom: 15px
+}
+
+.octofication .message {
+ min-height: 56px;
+ padding: 10px 10px 10px 50px;
+ border: solid 1px #4183c4;
+ border-radius: 3px
+}
+
+.octofication .message h3 {
+ margin: 1px 20px 3px 0;
+ font-size: 14px;
+ line-height: 1.2
+}
+
+.octofication .message p {
+ padding: 0;
+ margin: 0;
+ font-size: 12px;
+ color: #555
+}
+
+.octofication .message p+p {
+ margin-top: 15px
+}
+
+.octofication .broadcast-icon {
+ position: relative;
+ float: left;
+ margin-left: -40px;
+ color: #4183c4
+}
+
+.octofication .broadcast-icon-mask {
+ position: absolute;
+ top: 0;
+ width: 10px;
+ height: 16px;
+ background-color: #fff;
+ opacity: 0;
+ -webkit-animation: broadCastMaskFade 1s ease-in-out 2s 2;
+ animation: broadCastMaskFade 1s ease-in-out 2s 2
+}
+
+.octofication .broadcast-icon-mask.left {
+ left: 0
+}
+
+.octofication .broadcast-icon-mask.right {
+ right: 0
+}
+
+.octofication .notice-dismiss {
+ position: relative;
+ top: -2px;
+ float: right;
+ color: #bbb
+}
+
+.octofication .notice-dismiss:hover {
+ color: #666
+}
+
+.octofication-more {
+ margin: 5px 0;
+ font-size: 11px;
+ text-align: right
+}
+
+@-webkit-keyframes broadCastMaskFade {
+ 0% {
+ opacity: 0
+ }
+
+ 30% {
+ opacity: 1
+ }
+
+ 70% {
+ opacity: 1
+ }
+
+ 100% {
+ opacity: 0
+ }
+}
+
+@keyframes broadCastMaskFade {
+ 0% {
+ opacity: 0
+ }
+
+ 30% {
+ opacity: 1
+ }
+
+ 70% {
+ opacity: 1
+ }
+
+ 100% {
+ opacity: 0
+ }
+}
+
+.github-jobs-promotion {
+ margin-bottom: 15px
+}
+
+.github-jobs-promotion p {
+ background-color: #e4f0ff;
+ background-image: -webkit-linear-gradient(#f5fbff, #e4f0ff);
+ background-image: linear-gradient(#f5fbff, #e4f0ff);
+ background-repeat: repeat-x;
+ position: relative;
+ padding: 10px 18px;
+ font-size: 12px;
+ color: #1b3650;
+ text-align: center;
+ border: 1px solid #cee0e7;
+ border-radius: 3px
+}
+
+.github-jobs-promotion p a {
+ color: #1b3650
+}
+
+.github-jobs-promotion a.jobs-logo {
+ display: block;
+ font-size: 11px;
+ color: #999;
+ text-align: center
+}
+
+.github-jobs-promotion a.jobs-logo:hover {
+ text-decoration: none
+}
+
+.github-jobs-promotion a.jobs-logo strong {
+ display: inline-block;
+ width: 62px;
+ height: 12px;
+ text-indent: -9999px;
+ vertical-align: middle;
+ background: url(/images/modules/jobs/logo.png) 0 0 no-repeat;
+ background-size: 62px auto
+}
+
+.github-jobs-promotion .job-location {
+ white-space: nowrap
+}
+
+.github-jobs-promotion a.octicon-info {
+ position: absolute;
+ right: 5px;
+ bottom: 5px;
+ color: #a9b8be;
+ color: #a9b8be;
+ text-decoration: none;
+ cursor: pointer;
+ opacity: 0.8
+}
+
+.github-jobs-promotion p:hover .octicon-info {
+ opacity: 1
+}
+
+#dashboard h1 {
+ margin-bottom: 0.5em;
+ font-size: 160%
+}
+
+#dashboard h1 a {
+ font-size: 70%;
+ font-weight: normal
+}
+
+#dashboard .notice {
+ padding: 15px;
+ margin-top: 0;
+ margin-bottom: 0;
+ text-align: center
+}
+
+.news .release {
+ margin-top: 0;
+ margin-bottom: 0
+}
+
+.news blockquote {
+ color: #666
+}
+
+.news h1 {
+ margin-bottom: 0
+}
+
+.news .alert {
+ position: relative;
+ padding: 0 0 1em 45px;
+ overflow: hidden;
+ border-top: 1px solid #f1f1f1
+}
+
+.news .alert .commits {
+ padding-left: 40px
+}
+
+.news .alert .css-truncate.css-truncate-target,.news .alert .css-truncate .css-truncate-target {
+ max-width: 180px
+}
+
+.news .alert p {
+ margin: 0
+}
+
+.news .alert .markdown-body blockquote {
+ padding: 0 0 0 40px;
+ border: 0 none
+}
+
+.news .alert .mega-octicon {
+ position: absolute;
+ top: 14px;
+ left: 0;
+ width: 32px;
+ height: 32px;
+ padding: 3px;
+ color: #bbb
+}
+
+.news .alert .mega-octicon::before {
+ color: inherit
+}
+
+.news .alert .octicon {
+ width: 16px;
+ height: 16px;
+ color: #bbb
+}
+
+.news .alert .body {
+ padding: 1em 0 0;
+ overflow: hidden;
+ font-size: 14px;
+ border-bottom: 0
+}
+
+.news .alert .time {
+ font-size: 12px;
+ color: #bbb
+}
+
+.news .alert .title {
+ padding: 0;
+ font-weight: bold
+}
+
+.news .alert .title .subtle {
+ color: #bbb
+}
+
+.news .alert .gravatar {
+ float: left;
+ margin-right: 0.6em;
+ line-height: 0;
+ background-color: #fff;
+ border-radius: 3px
+}
+
+.news .alert .simple>.octicon {
+ position: absolute !important;
+ left: 11px;
+ width: 16px;
+ height: 16px
+}
+
+.news .alert .simple .title {
+ display: inline-block;
+ font-size: 13px;
+ font-weight: normal;
+ color: #666
+}
+
+.news .alert .simple .time {
+ display: inline-block
+}
+
+.news .alert .pull-info,.news .alert .branch-link {
+ display: inline-block;
+ padding: 3px 7px;
+ margin-top: 5px;
+ font-size: 12px;
+ color: rgba(0,0,0,0.5);
+ background: #e8f1f6;
+ border-radius: 3px
+}
+
+.news .alert .pull-info em,.news .alert .branch-link em {
+ font-style: normal;
+ font-weight: bold
+}
+
+.news .alert .branch-link {
+ position: relative;
+ top: -2px;
+ margin: 0;
+ font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace
+}
+
+.news .alert .branch-link .octicon {
+ color: #b0c4ce
+}
+
+.news .alert:first-child {
+ border-top: 0
+}
+
+.news .alert:first-child .body {
+ padding-top: 0
+}
+
+.news .alert:first-child .mega-octicon {
+ top: 0
+}
+
+.news .git_hub .done {
+ color: #666;
+ text-decoration: line-through
+}
+
+.news .commits li {
+ margin-top: 0.15em;
+ list-style-type: none
+}
+
+.news .commits li.more {
+ padding-top: 2px;
+ font-size: 11px
+}
+
+.news .commits li .committer {
+ display: none;
+ padding-left: 0.5em
+}
+
+.news .commits li img {
+ margin: 0 1px 0 0;
+ vertical-align: middle;
+ background-color: #fff;
+ border-radius: 2px
+}
+
+.news .commits li img.emoji {
+ padding: 0;
+ margin: 0;
+ border: 0
+}
+
+.news .commits li .message {
+ display: inline-block;
+ max-width: 390px;
+ margin-top: 2px;
+ overflow: hidden;
+ font-size: 13px;
+ line-height: 1.3;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ vertical-align: top
+}
+
+.news div.message,.news li blockquote {
+ display: inline;
+ font-size: 13px;
+ color: #666
+}
+
+.release-assets {
+ padding-left: 40px
+}
+
+.release-assets li {
+ margin-top: 0.15em;
+ list-style-type: none
+}
+
+.release-assets .more {
+ padding-top: 2px;
+ font-size: 11px
+}
+
+.news-full,.page-profile .news {
+ float: none;
+ width: auto
+}
+
+.activity-tab .blankslate {
+ margin-top: 10px
+}
+
+.activity-tab .news .markdown-body blockquote,.activity-tab .news .alert .commits {
+ padding-left: 0
+}
+
+.activity-tab .news a.gravatar,.activity-tab .news div.gravatar {
+ display: none
+}
+
+.saml-signed-out-notice {
+ position: relative;
+ width: 450px;
+ padding: 10px 10px 10px 70px;
+ margin: 50px auto 30px;
+ border: 1px solid #eee;
+ border-radius: 3px
+}
+
+.saml-signed-out-notice .mega-octicon {
+ position: absolute;
+ top: 30px;
+ left: 20px;
+ color: #ddd
+}
+
+.saml-signed-out-notice h3 {
+ margin-bottom: 0
+}
+
+.saml-signed-out-notice p {
+ margin-top: 5px
+}
+
+.survey-box.simple-box {
+ position: fixed;
+ right: 25px;
+ bottom: -20px;
+ z-index: 11;
+ padding-bottom: 0;
+ border-bottom: 0;
+ border-radius: 4px 4px 0 0;
+ background-color: #f9f9f9;
+ box-shadow: 0 0 10px rgba(0,0,0,0.05);
+ -webkit-animation: slideUp 0.5s ease 1.25s both;
+ animation: slideUp 0.5s ease 1.25s both;
+ -webkit-transform: translate3d(0, 0, 0);
+ transform: translate3d(0, 0, 0)
+}
+
+.survey-box.simple-box .simple-box-title {
+ margin-bottom: -7px;
+ padding-bottom: 0;
+ border-bottom: 0;
+ font-size: 14px
+}
+
+.survey-box.simple-box .simple-box-footer {
+ margin: 0 -15px;
+ padding: 7px;
+ background-color: #fff
+}
+
+.survey-box.simple-box .close-button {
+ margin-top: -5px;
+ color: #aaa
+}
+
+@-webkit-keyframes slideUp {
+ 0% {
+ -webkit-transform: translate3d(0, 500px, 0);
+ transform: translate3d(0, 500px, 0)
+ }
+
+ 100% {
+ -webkit-transform: translate3d(0, 0, 0);
+ transform: translate3d(0, 0, 0)
+ }
+}
+
+@keyframes slideUp {
+ 0% {
+ -webkit-transform: translate3d(0, 500px, 0);
+ transform: translate3d(0, 500px, 0)
+ }
+
+ 100% {
+ -webkit-transform: translate3d(0, 0, 0);
+ transform: translate3d(0, 0, 0)
+ }
+}
+
+.dashboards-overview-lead {
+ width: 700px
+}
+
+.dashboards-overview-cards .boxed-group {
+ margin: 10px 0;
+ width: 100%
+}
+
+.dashboards-overview-cards .boxed-group path {
+ stroke: #1db34f;
+ stroke-opacity: 0.5
+}
+
+.dashboards-overview-cards .blankslate {
+ border: 0;
+ background-color: #fff;
+ box-shadow: none;
+ padding-top: 47px
+}
+
+.dashboards-overview-cards .octicon-arrow-down {
+ color: #bd2c00
+}
+
+.dashboards-overview-cards .octicon-arrow-up {
+ color: #1db34f
+}
+
+.dashboards-overview-cards .graph-canvas .dots {
+ padding: 43px 0
+}
+
+.dashboards-overview-cards .summary-stats {
+ height: 78px
+}
+
+.dashboards-overview-cards .summary-stats .created_at {
+ color: #1db34f
+}
+
+.dashboards-overview-cards .summary-stats .closed_at,.dashboards-overview-cards .summary-stats .merged_at {
+ color: #4183c4
+}
+
+.dashboards-overview-cards .summary-stats .totals-num {
+ margin: 0 7px
+}
+
+.dashboards-overview-cards .summary-stats .single {
+ width: 100%
+}
+
+.dashboards-overview-graph {
+ height: 160px
+}
+
+.dashboards-overview-graph .path {
+ fill: none;
+ stroke-width: 2
+}
+
+.dashboards-overview-graph path.created_at {
+ stroke: #1db34f
+}
+
+.dashboards-overview-graph path.merged_at,.dashboards-overview-graph path.closed_at {
+ stroke: #1d7fb3
+}
+
+.dashboards-overview-graph .y line {
+ stroke: #1db34f
+}
+
+.dashboards-overview-graph .y.unique line {
+ stroke: #1d7fb3
+}
+
+.dashboards-overview-graph .overlay {
+ fill-opacity: 0
+}
+
+.created_at circle {
+ fill: #1db34f;
+ stroke: #fff;
+ stroke-width: 2
+}
+
+.merged_at circle,.closed_at circle {
+ fill: #1d7fb3;
+ stroke: #fff;
+ stroke-width: 2
+}
+
+.diffstat {
+ font-size: 12px;
+ font-weight: bold;
+ color: #666;
+ white-space: nowrap;
+ cursor: default
+}
+
+.diffstat-bar {
+ display: inline-block;
+ margin-left: 3px;
+ font-size: 16px;
+ color: #ddd;
+ letter-spacing: 1px;
+ text-align: left;
+ text-decoration: none;
+ font: normal normal 16px/1 "octicons";
+ display: inline-block;
+ text-decoration: none;
+ -webkit-font-smoothing: antialiased
+}
+
+.discussion-timeline {
+ position: relative;
+ width: 760px;
+ float: left
+}
+
+.discussion-timeline:before {
+ display: block;
+ content: "";
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ left: 79px;
+ width: 2px;
+ background-color: #f3f3f3;
+ z-index: -1
+}
+
+.discussion-sidebar {
+ position: -webkit-sticky;
+ position: sticky;
+ top: 0;
+ z-index: 21;
+ float: right;
+ width: 140px
+}
+
+.discussion-sidebar-item {
+ padding-top: 15px;
+ font-size: 12px;
+ color: #999
+}
+
+.discussion-sidebar-item .minibutton .octicon {
+ margin-right: 0
+}
+
+.discussion-sidebar-item .button-block {
+ margin-bottom: 8px
+}
+
+.discussion-sidebar-item+.discussion-sidebar-item {
+ margin-top: 15px;
+ border-top: 1px solid #eee
+}
+
+.discussion-sidebar-item .select-menu {
+ position: relative
+}
+
+.discussion-sidebar-item .select-menu-modal-holder {
+ top: 25px;
+ left: auto;
+ right: -1px
+}
+
+.discussion-sidebar-heading {
+ margin-top: 0;
+ margin-bottom: 10px;
+ font-size: 12px;
+ line-height: 16px;
+ color: #777
+}
+
+.discussion-sidebar-toggle {
+ padding: 5px;
+ margin: -5px -5px 5px
+}
+
+.discussion-sidebar-toggle .octicon {
+ float: right;
+ padding: 5px;
+ margin: -6px -5px -5px 5px;
+ color: #ccc
+}
+
+.discussion-sidebar-toggle:hover {
+ color: #4183c4;
+ text-decoration: none;
+ cursor: pointer
+}
+
+.discussion-sidebar-toggle:hover .octicon {
+ color: inherit
+}
+
+button.discussion-sidebar-toggle {
+ display: block;
+ width: 150px;
+ font-weight: bold;
+ text-align: left;
+ background: none;
+ border: 0
+}
+
+.sidebar-labels .labels .label {
+ display: block;
+ max-width: 100%;
+ padding: 6px 10px;
+ font-size: 12px;
+ box-shadow: none
+}
+
+.sidebar-labels .labels .label+.label {
+ margin-top: 3px
+}
+
+.sidebar-milestone .progress-bar {
+ margin-bottom: 2px;
+ border-radius: 2px;
+ height: 8px
+}
+
+.milestone-name {
+ display: block;
+ margin-top: 5px;
+ font-weight: bold;
+ color: #555
+}
+
+.milestone-name .css-truncate-target {
+ max-width: 100%
+}
+
+.milestone-name:hover {
+ color: #4183c4;
+ text-decoration: none
+}
+
+.sidebar-assignee .css-truncate-target {
+ max-width: 110px
+}
+
+.sidebar-assignee .avatar {
+ margin-top: -1px;
+ margin-right: 2px;
+ border-radius: 2px
+}
+
+.sidebar-assignee .assignee {
+ color: #555;
+ font-weight: bold
+}
+
+.sidebar-assignee .assignee:hover {
+ color: #4183c4;
+ text-decoration: none
+}
+
+.sidebar-notifications {
+ position: relative
+}
+
+.sidebar-notifications .thread-subscription-status {
+ margin: 0;
+ padding: 0;
+ border: 0
+}
+
+.sidebar-notifications .thread-subscription-status .thread-subscribe-form {
+ display: block
+}
+
+.sidebar-notifications .thread-subscription-status .mega-octicon {
+ display: none
+}
+
+.sidebar-notifications .thread-subscription-status .reason {
+ padding: 0;
+ margin: 5px 0 0;
+ font-size: 11px;
+ color: #999
+}
+
+.sidebar-notifications .thread-subscription-status .minibutton {
+ display: block;
+ width: 100%
+}
+
+.participation .participant-avatar {
+ float: left;
+ margin: 3px 0 0 3px
+}
+
+.participation a {
+ color: #999
+}
+
+.participation a:hover {
+ color: #4183c4;
+ text-decoration: none
+}
+
+.participation-avatars {
+ margin-left: -3px
+}
+
+.participation-avatars:before {
+ display: table;
+ content: ""
+}
+
+.participation-avatars:after {
+ display: table;
+ clear: both;
+ content: ""
+}
+
+.participation-more {
+ float: left;
+ margin: 6px 0 0;
+ line-height: 14px
+}
+
+.lock-toggle-link {
+ color: #777;
+ font-weight: bold
+}
+
+.lock-toggle-link:hover {
+ color: #4183c4;
+ text-decoration: none
+}
+
+.inline-comment-form .form-actions,.timeline-new-comment .form-actions {
+ padding: 0 10px 10px
+}
+
+.form-content .form-actions {
+ padding: 0
+}
+
+.gh-header-actions {
+ float: right;
+ margin-top: 3px
+}
+
+.gh-header-actions .minibutton {
+ float: left;
+ margin-left: 5px
+}
+
+.gh-header-actions .minibutton .octicon {
+ margin-right: 0
+}
+
+.gh-header .gh-header-edit {
+ display: none
+}
+
+.gh-header.open .gh-header-show {
+ display: none
+}
+
+.gh-header.open .gh-header-edit {
+ display: block
+}
+
+.gh-header-title {
+ margin-top: 0;
+ margin-bottom: 0;
+ margin-right: 150px;
+ font-weight: normal;
+ line-height: 1.1;
+ word-wrap: break-word
+}
+
+.gh-header-no-access .gh-header-title {
+ margin-right: 0
+}
+
+.gh-header-number {
+ font-weight: 300;
+ color: #aaa;
+ letter-spacing: -1px
+}
+
+.gh-header-edit {
+ margin-top: -5px
+}
+
+.gh-header-edit:before {
+ display: table;
+ content: ""
+}
+
+.gh-header-edit:after {
+ display: table;
+ clear: both;
+ content: ""
+}
+
+.gh-header-edit .edit-issue-title {
+ float: left;
+ width: 760px;
+ padding: 6px 10px;
+ margin-right: 10px;
+ font-size: 16px;
+ background-color: #fafafa
+}
+
+.gh-header-edit .edit-issue-title:focus {
+ background-color: #fff
+}
+
+.gh-header-edit .button {
+ float: left;
+ padding: 8px 15px
+}
+
+.gh-header-edit .button-link {
+ float: left;
+ margin: 10px
+}
+
+.gh-header-meta {
+ margin-top: 9px;
+ font-size: 14px;
+ line-height: 20px;
+ color: #777;
+ padding-bottom: 20px;
+ border-bottom: 1px solid #eee
+}
+
+.gh-header.issue .gh-header-meta {
+ margin-bottom: 15px
+}
+
+.gh-header.pull .gh-header-meta {
+ border-bottom: 0;
+ padding-bottom: 0
+}
+
+.gh-header-meta.discussions-header-meta {
+ margin-top: 6px;
+ padding-bottom: 15px
+}
+
+.gh-header-meta .flex-table-item {
+ vertical-align: top
+}
+
+.gh-header-meta .flex-table-item-primary {
+ padding-top: 4px;
+ white-space: normal;
+ word-wrap: break-word
+}
+
+.gh-header-meta .flex-table-item-primary .commit-ref .css-truncate-target,.gh-header-meta .flex-table-item-primary .commit-ref:hover .css-truncate-target {
+ max-width: 780px !important
+}
+
+.gh-header-meta .state {
+ margin-right: 8px
+}
+
+.gh-header-meta .avatar {
+ float: left;
+ margin-top: -3px;
+ margin-right: 5px
+}
+
+.gh-header-meta .author {
+ color: #555;
+ font-weight: bold
+}
+
+.gh-header-meta .noun {
+ text-transform: lowercase
+}
+
+.tabnav-pr {
+ margin: 15px 0 20px;
+ border-color: #e5e5e5
+}
+
+.tabnav-pr .tabnav-tab {
+ padding: 9px 14px;
+ font-size: 13px;
+ color: #777
+}
+
+.tabnav-pr .tabnav-tab.selected {
+ color: #333;
+ border-color: #e5e5e5
+}
+
+.tabnav-pr .diffstat-bar {
+ padding-bottom: 3px
+}
+
+.timeline-comment-wrapper>.timeline-comment:after,.timeline-comment-wrapper>.timeline-comment:before,.timeline-new-comment .timeline-comment:after,.timeline-new-comment .timeline-comment:before {
+ position: absolute;
+ top: 11px;
+ left: -16px;
+ right: 100%;
+ width: 0;
+ height: 0;
+ display: block;
+ content: " ";
+ border-color: transparent;
+ border-style: solid solid outset;
+ pointer-events: none
+}
+
+.timeline-comment-wrapper>.timeline-comment:after,.timeline-new-comment .timeline-comment:after {
+ border-width: 7px;
+ border-right-color: #f7f7f7;
+ margin-top: 1px;
+ margin-left: 2px
+}
+
+.timeline-comment-wrapper>.timeline-comment:before,.timeline-new-comment .timeline-comment:before {
+ border-right-color: #ddd;
+ border-width: 8px
+}
+
+.timeline-comment-wrapper {
+ position: relative;
+ padding-left: 64px;
+ margin-top: 15px;
+ margin-bottom: 15px;
+ border-top: 2px solid #fff;
+ border-bottom: 2px solid #fff
+}
+
+.timeline-comment-wrapper:first-child {
+ margin-top: 0
+}
+
+.discussion-timeline-actions .timeline-comment-wrapper:first-child {
+ margin-top: 15px
+}
+
+.timeline-comment-wrapper .timeline-comment.unread-item:after,.timeline-comment-wrapper .timeline-comment.unread-item:before {
+ position: absolute;
+ top: 11px;
+ left: -16px;
+ right: 100%;
+ width: 0;
+ height: 0;
+ display: block;
+ content: " ";
+ border-color: transparent;
+ border-style: solid solid outset;
+ pointer-events: none
+}
+
+.timeline-comment-wrapper .timeline-comment.unread-item:after {
+ border-width: 7px;
+ border-right-color: #fff9ea;
+ margin-top: 1px;
+ margin-left: 2px
+}
+
+.timeline-comment-wrapper .timeline-comment.unread-item:before {
+ border-right-color: #dfd8c2;
+ border-width: 8px
+}
+
+.timeline-comment-avatar {
+ float: left;
+ margin-left: -64px;
+ border-radius: 3px
+}
+
+.timeline-comment {
+ position: relative;
+ background-color: #fff;
+ border: 1px solid #ddd;
+ border-radius: 3px
+}
+
+.timeline-comment.current-user {
+ border-color: #bfccd1
+}
+
+.timeline-comment.current-user:after {
+ border-right-color: #f2f8fa
+}
+
+.timeline-comment.current-user:before {
+ border-right-color: #bfccd1
+}
+
+.timeline-comment.current-user .timeline-comment-header {
+ color: #8e9597;
+ background-color: #f2f8fa;
+ border-bottom-color: #e1edf1
+}
+
+.timeline-comment.will-transition-once {
+ -webkit-transition: border-color 0.65s ease-in-out;
+ transition: border-color 0.65s ease-in-out
+}
+
+.timeline-comment.will-transition-once .timeline-comment-header {
+ -webkit-transition: background-color 0.65s ease, border-bottom-color 0.65s ease-in-out;
+ transition: background-color 0.65s ease, border-bottom-color 0.65s ease-in-out
+}
+
+.timeline-comment.will-transition-once .timeline-comment-label {
+ -webkit-transition: border-color 0.65s ease-in-out;
+ transition: border-color 0.65s ease-in-out
+}
+
+.timeline-comment.will-transition-once:before,.timeline-comment.will-transition-once:after {
+ -webkit-transition: border-right-color 0.65s ease-in-out;
+ transition: border-right-color 0.65s ease-in-out
+}
+
+.timeline-comment.unread-item {
+ border-color: #dfd8c2
+}
+
+.timeline-comment.unread-item .timeline-comment-header {
+ background-color: #fff9ea;
+ border-bottom-color: #f1ede3
+}
+
+.timeline-comment.unread-item .timeline-comment-label {
+ border-color: #dfd8c2
+}
+
+.timeline-comment:empty {
+ display: none
+}
+
+.timeline-comment .comment+.comment {
+ border-top: 1px solid #e5e5e5
+}
+
+.timeline-comment .comment+.comment:before,.timeline-comment .comment+.comment:after {
+ display: none
+}
+
+.timeline-comment .comment+.comment .timeline-comment-header {
+ border-top-left-radius: 0;
+ border-top-right-radius: 0
+}
+
+.timeline-comment-header {
+ padding-left: 15px;
+ padding-right: 15px;
+ color: #999;
+ background-color: #f7f7f7;
+ border-bottom: 1px solid #eee;
+ border-top-left-radius: 3px;
+ border-top-right-radius: 3px
+}
+
+.timeline-comment-header .author {
+ font-weight: bold;
+ color: #555
+}
+
+.timeline-comment-header .timestamp {
+ white-space: nowrap;
+ color: inherit
+}
+
+.timeline-comment-header code {
+ word-break: break-all
+}
+
+.comment-type-icon {
+ color: inherit
+}
+
+.timeline-comment-label {
+ float: right;
+ margin: 8px 0 0 10px;
+ padding: 2px 5px;
+ font-size: 12px;
+ border: 1px solid rgba(0,0,0,0.1);
+ border-radius: 3px
+}
+
+.timeline-comment-label-spammy {
+ color: #bd2c00;
+ border-color: #bd2c00
+}
+
+.timeline-comment-header-text {
+ max-width: 78%;
+ padding-top: 10px;
+ padding-bottom: 10px
+}
+
+.timeline-comment-header-text code a {
+ color: #555
+}
+
+.timeline-comment-header-avatar {
+ float: left;
+ margin-top: 10px;
+ margin-right: 5px
+}
+
+.timeline-comment-actions {
+ float: right;
+ margin-right: -5px;
+ margin-left: 10px
+}
+
+.timeline-comment-action {
+ display: inline-block;
+ padding: 10px 5px;
+ color: inherit;
+ opacity: 0.5
+}
+
+.timeline-comment-action:hover {
+ opacity: 1;
+ color: #4183c4;
+ text-decoration: none
+}
+
+.timeline-comment-action .octicon-check {
+ height: 16px;
+ font-size: 18px
+}
+
+.compare-tab-comments .timeline-comment-actions {
+ display: none
+}
+
+.discussion-item-ref .commit-gravatar {
+ padding-left: 2px;
+ padding-right: 5px
+}
+
+.discussion-item-ref .task-progress {
+ display: block;
+ margin-bottom: -2px
+}
+
+.discussion-item-ref .task-progress .progress-bar {
+ margin-bottom: 0
+}
+
+.discussion-item-ref .task-progress .octicon {
+ font-size: 16px
+}
+
+.discussion-item-ref .discussion-item-body .title {
+ margin-top: 10px
+}
+
+.discussion-item-ref .state {
+ padding: 1px 5px;
+ margin-top: -4px;
+ margin-left: 8px;
+ font-size: 12px
+}
+
+.discussion-item-ref .state .octicon {
+ width: 1em;
+ font-size: 14px
+}
+
+.timeline-new-comment {
+ max-width: 780px;
+ margin-bottom: 0
+}
+
+.timeline-new-comment .comment-form-head {
+ margin-bottom: 10px
+}
+
+.timeline-new-comment .previewable-comment-form .comment-body {
+ padding: 5px 5px 15px;
+ border-bottom: 1px solid #eee
+}
+
+.discussion-item {
+ position: relative;
+ margin: 15px 0 15px 79px;
+ padding-left: 25px
+}
+
+.discussion-item+.discussion-item {
+ padding-top: 15px;
+ border-top: 1px solid #f5f5f5
+}
+
+.discussion-item .author {
+ color: #555;
+ font-weight: bold
+}
+
+.discussion-item .timestamp {
+ color: inherit;
+ white-space: nowrap
+}
+
+.discussion-item .label-color {
+ padding: 2px 4px;
+ font-size: 12px;
+ font-weight: bold;
+ border-radius: 2px;
+ box-shadow: inset 0 -1px 0 rgba(0,0,0,0.12)
+}
+
+.discussion-item .label-color a:hover {
+ text-decoration: none
+}
+
+.discussion-item-icon {
+ float: left;
+ width: 32px;
+ height: 32px;
+ margin-top: -7px;
+ margin-left: -40px;
+ line-height: 28px;
+ color: #666;
+ text-align: center;
+ background-color: #f3f3f3;
+ border: 2px solid #fff;
+ border-radius: 50%
+}
+
+.discussion-item-icon.octicon-pencil {
+ font-size: 14px
+}
+
+.discussion-item-header {
+ min-height: 30px;
+ padding-top: 5px;
+ padding-bottom: 5px;
+ color: #777;
+ line-height: 20px;
+ word-wrap: break-word
+}
+
+.discussion-item-header .avatar {
+ float: left;
+ margin-top: 2px;
+ margin-right: 5px
+}
+
+.discussion-item-header .discussion-item-private {
+ vertical-align: -1px
+}
+
+.discussion-item-header:last-child {
+ padding-bottom: 0
+}
+
+.discussion-item-header .commit-ref {
+ font-size: 85%;
+ vertical-align: baseline
+}
+
+.discussion-item-header .button-outline {
+ float: right;
+ padding: 4px 8px;
+ margin-top: -5px
+}
+
+.discussion-item-body {
+ margin-top: 5px
+}
+
+.discussion-item-link {
+ color: #777
+}
+
+.discussion-item-link:hover {
+ color: #4183c4
+}
+
+.discussion-item-entity {
+ font-weight: bold;
+ color: #333
+}
+
+.discussion-item-entity:hover {
+ color: #4183c4;
+ text-decoration: none
+}
+
+.discussion-item-ref-title {
+ margin-top: 0;
+ margin-bottom: 0;
+ line-height: 1.2
+}
+
+.discussion-item-ref-title .issue-num {
+ font-weight: normal;
+ color: #999
+}
+
+.discussion-item-ref-title .title-link {
+ color: #333
+}
+
+.discussion-item-ref-title .title-link:hover {
+ color: #4183c4;
+ text-decoration: none
+}
+
+.discussion-item-ref-title .title-link:hover .issue-num {
+ color: inherit
+}
+
+.discussion-item-context-icon {
+ display: inline-block;
+ line-height: 22px;
+ margin-top: -2px;
+ margin-left: 10px
+}
+
+.discussion-item-help {
+ color: #999
+}
+
+.discussion-item-help:hover {
+ color: #4183c4
+}
+
+.discussion-item-private {
+ color: #a1882b
+}
+
+.discussion-item-rollup-ref .state {
+ margin-top: 2px
+}
+
+.discussion-item-rollup-ref .discussion-item-context-icon {
+ margin-top: 2px
+}
+
+.discussion-item-reopened .discussion-item-icon {
+ color: #fff;
+ background-color: #6cc644
+}
+
+.discussion-item-merged .discussion-item-icon {
+ padding-left: 2px;
+ color: #fff;
+ background-color: #6e5494
+}
+
+.discussion-item-closed .discussion-item-icon {
+ color: #fff;
+ background-color: #bd2c00
+}
+
+.discussion-item-head_ref_deleted .discussion-item-icon {
+ padding-left: 2px;
+ color: #fff;
+ background-color: #999
+}
+
+.discussion-item-locked .discussion-item-icon,.discussion-item-unlocked .discussion-item-icon {
+ color: #fff;
+ background-color: #333
+}
+
+.discussion-item .renamed-was,.discussion-item .renamed-is {
+ color: #333;
+ font-weight: bold
+}
+
+.discussion-commits .discussion-item-icon {
+ padding-top: 1px
+}
+
+.discussion-commits .discussion-item-body {
+ margin-top: 0;
+ margin-left: -31px
+}
+
+.discussion-item-toggle-open {
+ display: none
+}
+
+.discussion-item-toggle {
+ float: right;
+ color: #777
+}
+
+.discussion-item-toggle:hover {
+ color: #4183c4;
+ text-decoration: none
+}
+
+.discussion-item-toggle .octicon {
+ vertical-align: middle
+}
+
+.outdated-diff-comment-container .discussion-item-body {
+ display: none
+}
+
+.outdated-diff-comment-container.open .discussion-item-body,.outdated-diff-comment-container.open .discussion-item-toggle-open {
+ display: block
+}
+
+.outdated-diff-comment-container.open .discussion-item-toggle-closed {
+ display: none
+}
+
+.new-discussion-timeline .form-content textarea {
+ font-size: 14px;
+ line-height: 1.6
+}
+
+.new-discussion-timeline .previewable-comment-form .comment-form-head.tabnav {
+ background: #f7f7f7;
+ padding: 6px 10px 0;
+ border-radius: 3px 3px 0 0
+}
+
+.new-discussion-timeline .previewable-comment-form .draft-indicator {
+ position: relative;
+ top: -1px
+}
+
+.new-discussion-timeline .previewable-comment-form .comment {
+ border: 0
+}
+
+.new-discussion-timeline .previewable-comment-form .comment-body {
+ padding: 5px 5px 15px;
+ border-bottom: 1px solid #eee;
+ background-color: transparent
+}
+
+.new-discussion-timeline .previewable-comment-form .timeline-comment .timeline-comment-actions {
+ display: none
+}
+
+.new-discussion-timeline .closed-banner {
+ position: relative;
+ margin: 15px 0 -15px;
+ height: 19px;
+ overflow: visible;
+ background: #f3f3f3;
+ border-radius: 0;
+ border-bottom: 15px solid #fff
+}
+
+.new-discussion-timeline .discussion-hidden {
+ background: #fff;
+ opacity: 1;
+ position: relative
+}
+
+.new-discussion-timeline .discussion-hidden .comment-header {
+ background: #fff
+}
+
+.new-discussion-timeline .discussion-hidden .comment-snippet p {
+ vertical-align: middle
+}
+
+.new-discussion-timeline .composer .timeline-comment {
+ margin-bottom: 10px
+}
+
+.new-discussion-timeline .composer .timeline-comment:after {
+ border-right-color: #fff
+}
+
+.new-discussion-timeline .composer .comment-form-head.tabnav {
+ padding-top: 0;
+ background-color: #fff
+}
+
+.discussion-timeline-actions {
+ border-top: 2px solid #f3f3f3;
+ background-color: #fff
+}
+
+.discussion-timeline-actions .merge-pr {
+ padding-top: 0;
+ border-top: 0
+}
+
+.discussion-timeline-actions .thread-subscription-status {
+ margin-top: 20px
+}
+
+.discussion-timeline-actions .thread-subscription-status .mega-octicon {
+ display: none
+}
+
+.discussions-header {
+ margin-bottom: 20px
+}
+
+.discussions-header .select-menu,.discussions-header .primary {
+ float: left;
+ margin-left: 5px
+}
+
+.discussions-header-title {
+ margin-top: 0;
+ margin-bottom: 0;
+ line-height: 26px
+}
+
+.discussions-new {
+ max-width: 800px;
+ padding: 15px
+}
+
+.blankslate.discussions {
+ padding: 115px 0
+}
+
+.discussions {
+ margin: 0 0 20px
+}
+
+.discussions .discussion {
+ font-size: 13px;
+ list-style-type: none;
+ padding: 12px 0 12px 72px;
+ border-bottom: 1px solid #eee;
+ position: relative;
+ min-height: 74px
+}
+
+.discussions .discussion:before {
+ display: table;
+ content: ""
+}
+
+.discussions .discussion:after {
+ display: table;
+ clear: both;
+ content: ""
+}
+
+.discussions .discussion.navigation-focus {
+ background: #f9f9f9
+}
+
+.discussions .discussion.selected {
+ background-color: #f9f9f9
+}
+
+.discussions .discussion.selected:before {
+ background: #999
+}
+
+.discussions .discussion input[type="checkbox"] {
+ top: 27px
+}
+
+.discussions .discussion:before {
+ position: absolute;
+ display: block;
+ content: "";
+ top: -1px;
+ left: 0;
+ bottom: 0;
+ width: 3px
+}
+
+.discussions .discussion.spammy:before {
+ background: #bd2c00
+}
+
+.discussions .discussion h3 {
+ font-size: 17px;
+ margin: 4px 0 0;
+ padding-bottom: 5px
+}
+
+.discussions .discussion h3 span {
+ font-weight: 300;
+ color: #c5c5c5
+}
+
+.discussions .discussion h3 a {
+ color: #333;
+ font-weight: bold
+}
+
+.discussions .discussion h4 {
+ margin-top: 1px;
+ margin-bottom: 2px;
+ font-size: 12px;
+ line-height: 18px;
+ color: #666
+}
+
+.discussions .discussion p {
+ margin: 0 0 5px
+}
+
+.discussions .discussion p.muted {
+ color: #999;
+ padding: 5px 0
+}
+
+.discussions .discussion .pull-info {
+ background: #e8f1f6;
+ border-radius: 3px;
+ color: rgba(0,0,0,0.5);
+ display: inline-block;
+ font-size: 12px;
+ margin-top: 5px;
+ padding: 3px 7px;
+ box-shadow: inset 0 -1px 0 rgba(0,0,0,0.12)
+}
+
+.discussions .discussion .pull-info em {
+ font-style: normal
+}
+
+.discussions .discussion:first-child {
+ border-top: 1px solid #eee
+}
+
+.discussions .discussion.unread:before {
+ position: absolute;
+ display: block;
+ content: "";
+ top: -1px;
+ bottom: -1px;
+ left: 0;
+ width: 3px;
+ background: #4183c4
+}
+
+.discussion-username {
+ color: #333;
+ font-weight: normal
+}
+
+.discussions-avatar {
+ position: absolute;
+ left: 12px
+}
+
+.discussion-issue-number {
+ color: #bbb
+}
+
+.discussion-body p {
+ color: #444;
+ overflow: hidden;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ font-size: 13px
+}
+
+.discussion-meta {
+ font-size: 12px;
+ line-height: 17px
+}
+
+.discussion-meta:before {
+ display: table;
+ content: ""
+}
+
+.discussion-meta:after {
+ display: table;
+ clear: both;
+ content: ""
+}
+
+.discussion-meta a {
+ color: #999
+}
+
+.discussion-meta p {
+ color: #999;
+ padding: 0;
+ margin: 0
+}
+
+.discussion-meta .octicon-comment {
+ font-size: 14px;
+ color: #bbb;
+ margin-left: 4px
+}
+
+.discussion-participants {
+ float: left;
+ width: 150px;
+ margin-left: 30px;
+ color: #999
+}
+
+.discussion-participants .avatar-link {
+ margin-right: 3px
+}
+
+.discussion-last-comment {
+ float: left;
+ width: 150px;
+ margin-left: 30px
+}
+
+.discussion-last-comment .avatar {
+ float: left;
+ margin-right: 3px
+}
+
+.discussion-description {
+ float: left;
+ width: 474px
+}
+
+.discussion-timeline .email-hidden-container {
+ margin: 3px 0
+}
+
+.discussion-hidden {
+ background: #fff
+}
+
+.discussion-hidden .timeline-comment-content {
+ border: 1px solid #ddd;
+ opacity: 0.8;
+ margin-left: 64px
+}
+
+.discussion-hidden .timeline-comment-content:hover {
+ -webkit-transition: opacity 0.25s ease-in-out;
+ transition: opacity 0.25s ease-in-out;
+ opacity: 1
+}
+
+.discussion-hidden .timeline-comment-header {
+ background: none;
+ border-bottom: 0;
+ line-height: 33px
+}
+
+.discussion-hidden .timeline-comment-header:before {
+ display: table;
+ content: ""
+}
+
+.discussion-hidden .timeline-comment-header:after {
+ display: table;
+ clear: both;
+ content: ""
+}
+
+.discussion-hidden .timeline-comment-header .octicon {
+ margin: 0 3px
+}
+
+.discussion-hidden .timeline-comment-header .comment-snippet {
+ display: inline-block;
+ position: relative;
+ top: -1px
+}
+
+.discussion-hidden .timeline-comment-header .comment-snippet p {
+ width: 370px;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ display: inline-block;
+ white-space: nowrap;
+ margin: 0 0 0 3px;
+ line-height: 1
+}
+
+.discussion-hidden+.discussion-hidden {
+ margin-top: -1px
+}
+
+.comment-header-right {
+ float: right
+}
+
+.comment-header-actions {
+ list-style-type: none
+}
+
+.comment-header-actions:before {
+ display: table;
+ content: ""
+}
+
+.comment-header-actions:after {
+ display: table;
+ clear: both;
+ content: ""
+}
+
+.comment-header-actions li {
+ float: left;
+ font-size: 11px;
+ line-height: 33px;
+ margin: 0 0 0 10px
+}
+
+.discussion-comment-label {
+ background: #eee;
+ border-radius: 3px;
+ color: #666;
+ padding: 2px 4px;
+ margin: 0 5px 0 0
+}
+
+.explore-head .container {
+ position: relative
+}
+
+.explore-content {
+ margin-top: -15px
+}
+
+.explore-content .blankslate {
+ margin-top: 15px
+}
+
+.repo-collection>ul {
+ list-style-type: none;
+ background: #f7f7f7;
+ border: 1px solid #ddd;
+ border-radius: 3px
+}
+
+.repo-collection .author-gravatar {
+ float: left;
+ margin-right: 10px;
+ background: #fff;
+ border-radius: 3px
+}
+
+.collection-stat {
+ float: right;
+ margin-left: 10px;
+ font-size: 12px;
+ color: #444
+}
+
+.collection-stat .octicon {
+ margin-right: 5px;
+ color: #a7a7a7
+}
+
+.collection-item {
+ position: relative;
+ float: left;
+ width: 50%;
+ height: 70px;
+ padding: 15px
+}
+
+.collection-item .octicon-x {
+ position: absolute;
+ top: 10px;
+ right: 10px;
+ color: #ccc;
+ text-decoration: none
+}
+
+.collection-item .repo-name {
+ display: block;
+ font-size: 16px;
+ font-weight: bold
+}
+
+.collection-item .css-truncate-target {
+ max-width: 380px
+}
+
+.collection-item .repo-description {
+ margin: 0
+}
+
+.explore-collection h2 {
+ margin: 0 0 10px;
+ font-size: 18px;
+ font-weight: normal;
+ color: #2a2a2a
+}
+
+.explore-collection h2 .select-menu {
+ position: relative;
+ display: inline-block
+}
+
+.explore-collection h2 .select-menu-button {
+ font-weight: bold;
+ cursor: pointer
+}
+
+.explore-collection h2 .mega-octicon {
+ vertical-align: middle
+}
+
+.explore-collection .see-more-link {
+ float: right;
+ margin-top: 7px
+}
+
+.explore-page .see-more-link {
+ font-size: 14px;
+ color: inherit
+}
+
+.explore-page .see-more-link .octicon {
+ margin-left: 5px
+}
+
+.explore-page.marketing-section {
+ border-bottom: 0
+}
+
+.explore-page.marketing-section .thread-subscription-status {
+ border: 0
+}
+
+.explore-page.marketing-section .signed-out-comment {
+ margin-left: 0
+}
+
+.explore-page .language-filter-list {
+ margin-bottom: 10px
+}
+
+.explore-section {
+ position: relative;
+ padding: 40px 0;
+ border-bottom: 1px solid #eee
+}
+
+.explore-section:nth-child(even) {
+ background: #f9f9f9
+}
+
+.explore-section:nth-child(even) .repo-collection>ul {
+ background: #fff
+}
+
+.explore-section:first-child {
+ padding-top: 0
+}
+
+.explore-section:nth-child(odd):last-child {
+ padding-bottom: 0;
+ border-bottom: 0
+}
+
+.explore-pjax-container {
+ position: relative
+}
+
+.user-leaderboard-list .follow-list-info {
+ margin-top: 12px;
+ margin-bottom: 0;
+ font-size: 12px;
+ color: #666
+}
+
+.user-leaderboard-list .follow-list-info .css-truncate.css-truncate-target {
+ max-width: none
+}
+
+.user-leaderboard-list .repo-list-item {
+ padding-top: 10px;
+ padding-bottom: 0;
+ padding-left: 21px;
+ border-top: 0
+}
+
+.user-leaderboard-list .repo-list-item .repo-description,.user-leaderboard-list .repo-list-item .repo-and-owner {
+ max-width: 530px
+}
+
+.user-leaderboard-list .repo-list-item .repo {
+ color: #5c5c5c
+}
+
+.leaderboard-list {
+ margin: 0;
+ list-style-type: none
+}
+
+.user-leaderboard-list-name {
+ margin: 0;
+ font-size: 18px;
+ font-weight: normal
+}
+
+.user-leaderboard-list-name .full-name {
+ margin-left: 5px;
+ font-weight: bold;
+ color: #5c5c5c
+}
+
+.repo-snipit {
+ display: inline-block;
+ margin-top: 7px
+}
+
+.repo-snipit:hover {
+ text-decoration: none
+}
+
+.repo-snipit .octicon {
+ font-size: 14px;
+ color: #999
+}
+
+.repo-snipit-name {
+ max-width: 200px;
+ color: #666
+}
+
+.repo-snipit-description {
+ max-width: 300px;
+ color: #999
+}
+
+.repo-snipit:hover .repo-snipit-name,.repo-snipit:hover .repo-snipit-description {
+ color: #4183c4
+}
+
+.leaderboard-action {
+ float: right;
+ margin-top: -3px;
+ margin-left: 10px
+}
+
+.leaderboard-list-rank {
+ position: absolute;
+ top: 25px;
+ left: 0;
+ width: 20px;
+ font-size: 11px;
+ font-weight: 300;
+ color: #b9b9b9;
+ text-align: right;
+ text-transform: uppercase
+}
+
+.leaderboard-list-item {
+ position: relative;
+ padding-top: 20px;
+ padding-bottom: 20px;
+ padding-left: 35px;
+ border-bottom: 1px solid #eee
+}
+
+.leaderboard-list-item:last-child {
+ border-bottom: 0
+}
+
+.leaderboard-gravatar {
+ float: left;
+ width: 48px;
+ height: 48px;
+ border-radius: 3px
+}
+
+.leaderboard-list-content {
+ min-height: 48px;
+ margin-left: 58px
+}
+
+.collection-page .signed-out-comment {
+ margin-left: 0
+}
+
+.explore-mail-tease {
+ padding-top: 20px;
+ overflow: hidden;
+ background: #202021 url(/images/modules/home/octicons-bg.png) center repeat;
+ border-bottom: 1px solid #ddd
+}
+
+.explore-mail-tease h3 {
+ color: #fff;
+ text-align: center
+}
+
+.explore-mail-tease img {
+ margin-bottom: -5px
+}
+
+.newsletter-frequency-choice {
+ display: -ms-flexbox;
+ display: -webkit-flex;
+ display: -webkit-box;
+ display: flex;
+ margin: 40px 0;
+ list-style-type: none;
+ -webkit-flex-flow: row wrap;
+ -webkit-justify-content: space-around;
+ -ms-flex-pack: distribute;
+ justify-content: space-around
+}
+
+.newsletter-frequency-choice .choice {
+ position: relative;
+ width: 25%
+}
+
+.newsletter-frequency-choice .choice>label {
+ display: block;
+ height: 100%;
+ margin: 0 10px;
+ font-weight: normal;
+ text-align: center;
+ cursor: pointer;
+ background: #fff;
+ border: 3px solid #eee;
+ border-radius: 4px
+}
+
+.newsletter-frequency-choice .choice:hover label {
+ border-color: #4183c4
+}
+
+.newsletter-frequency-choice .choice:hover h3 {
+ color: #fff;
+ background: #4183c4;
+ border-color: #4183c4
+}
+
+.newsletter-frequency-choice .choice.selected label {
+ border-color: #6cc644;
+ box-shadow: 0 0 5px rgba(0,0,0,0.2)
+}
+
+.newsletter-frequency-choice .choice.selected h3 {
+ color: #fff;
+ background: #6cc644;
+ border-color: #6cc644
+}
+
+.newsletter-frequency-choice .choice.selected p {
+ color: #333
+}
+
+.newsletter-frequency-choice .choice .notice {
+ position: absolute;
+ right: 0;
+ bottom: 1em;
+ left: 0;
+ z-index: -1;
+ font-weight: bold;
+ color: #6cc644;
+ text-align: center;
+ opacity: 0
+}
+
+.newsletter-frequency-choice .choice .notice.visible {
+ bottom: -2em;
+ opacity: 1;
+ -webkit-transition: opacity 0.15s ease-in-out;
+ transition: opacity 0.15s ease-in-out
+}
+
+.newsletter-frequency-choice h3 {
+ padding: 10px;
+ margin: 0;
+ font-weight: normal;
+ background: #fafafa;
+ border-bottom: 1px solid #eee
+}
+
+.newsletter-frequency-choice h3 input {
+ position: relative;
+ top: -2px;
+ margin: 0 3px 0 -19px
+}
+
+.newsletter-frequency-choice p {
+ height: 7em;
+ margin: 15px;
+ color: #777;
+ text-align: left
+}
+
+.explore-signup-entice {
+ position: relative;
+ padding: 15px;
+ font-size: 14px;
+ background: #f7f7f7;
+ border: 1px solid #ddd;
+ border-radius: 3px
+}
+
+.explore-signup-entice h3 {
+ margin-bottom: 10px;
+ font-size: 18px
+}
+
+.explore-signup-entice-inner {
+ position: absolute;
+ top: 3px;
+ right: 3px;
+ bottom: 3px;
+ left: 3px;
+ padding-top: 30px;
+ text-align: center;
+ background: rgba(247,247,247,0.9)
+}
+
+.explore-signup-entice-wrapper {
+ max-width: 500px;
+ padding: 5px;
+ margin: 0 auto;
+ background: rgba(247,247,247,0.6)
+}
+
+.explore-signup-cta {
+ margin-right: -10px;
+ font-size: 13px;
+ vertical-align: middle
+}
+
+.explore-signup-cta a {
+ font-weight: bold
+}
+
+.explore-signup-cta .button,.explore-signup-cta .minibutton {
+ position: relative;
+ top: -1px
+}
+
+@-webkit-keyframes fadein {
+ 0% {
+ opacity: 0
+ }
+
+ 100% {
+ opacity: 1
+ }
+}
+
+@keyframes fadein {
+ 0% {
+ opacity: 0
+ }
+
+ 100% {
+ opacity: 1
+ }
+}
+
+.explore-marketing-header {
+ margin: 10px auto 30px;
+ text-align: center
+}
+
+.explore-marketing-header.is-animating {
+ -webkit-animation: fadein 1s;
+ animation: fadein 1s
+}
+
+.explore-marketing-header h2 {
+ margin: 0 0 5px;
+ font-size: 32px;
+ font-weight: normal
+}
+
+.explore-marketing-header .lead {
+ margin: 5px 0 0
+}
+
+.linux .show-mac,.macintosh .show-mac {
+ display: block
+}
+
+.linux .hide-mac,.macintosh .hide-mac {
+ display: none
+}
+
+.windows .show-mac {
+ display: none
+}
+
+.homepage .container {
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif
+}
+
+.homepage .header-logged-out .primary {
+ display: none
+}
+
+.homepage .site-footer {
+ border-top: 0;
+ margin-top: 0
+}
+
+.marketing-section-depth {
+ position: absolute;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ z-index: 10;
+ height: 30px;
+ background-image: -webkit-linear-gradient(transparent, rgba(0,0,0,0.15));
+ box-shadow: inset 0 -1px 0 rgba(0,0,0,0.25)
+}
+
+.marketing-section-signup {
+ text-shadow: 0 1px 3px #222;
+ background: #202021 url(/images/modules/home/octicons-bg.png) center repeat;
+ padding-top: 80px;
+ padding-bottom: 80px;
+ position: relative
+}
+
+.marketing-section-signup .heading {
+ margin-top: 0;
+ padding-top: 10px;
+ font-size: 70px;
+ font-weight: normal;
+ line-height: 1;
+ color: #fff;
+ letter-spacing: -1px
+}
+
+.marketing-section-signup .subheading {
+ margin: 10px 0 0;
+ font-size: 21px;
+ line-height: 1.5;
+ color: #fff
+}
+
+.marketing-section-signup .subheading a {
+ font-weight: 500
+}
+
+.form-signup-home {
+ float: right;
+ width: 320px;
+ margin-left: 40px
+}
+
+.form-signup-home .text-muted:last-child {
+ margin-bottom: 0
+}
+
+.form-signup-home dl.form {
+ position: relative;
+ margin-top: 0;
+ margin-bottom: 10px
+}
+
+.form-signup-home dl.form dd+.text-muted {
+ margin-top: 5px
+}
+
+.form-signup-home .button,.form-signup-home dl.form input[type="text"],.form-signup-home dl.form input[type="password"] {
+ padding: 10px;
+ font-size: 16px;
+ border-radius: 5px
+}
+
+.form-signup-home .button {
+ border: 0
+}
+
+.form-signup-home .button:focus {
+ box-shadow: 0 1px 3px rgba(0,0,0,0.05),0 0 12px rgba(255,255,255,0.75)
+}
+
+.form-signup-home dl.form input[type="text"],.form-signup-home dl.form input[type="password"] {
+ width: 100%;
+ margin-right: 0;
+ border-color: #fff
+}
+
+.form-signup-home dl.form input[type="text"]:focus,.form-signup-home dl.form .focused .drag-and-drop,.focused .form-signup-home dl.form .drag-and-drop,.form-signup-home dl.form input[type="password"]:focus {
+ background-color: #fff;
+ border-color: #fff;
+ box-shadow: inset 0 1px 2px rgba(0,0,0,0.075),0 0 12px rgba(255,255,255,0.75)
+}
+
+.form-signup-home dl.form.errored dd.error,.form-signup-home dl.form.errored dd.warning {
+ position: absolute;
+ top: 100%;
+ left: 0;
+ right: 0;
+ z-index: 5;
+ margin-top: 2px;
+ font-size: 12px;
+ font-weight: normal;
+ padding: 10px;
+ border: 0;
+ text-align: left;
+ border-radius: 3px;
+ background-color: #333;
+ color: #fff
+}
+
+.form-signup-home dl.form.errored dd.error:after,.form-signup-home dl.form.errored dd.warning:after {
+ position: absolute;
+ left: 10px;
+ bottom: 100%;
+ height: 0;
+ width: 0;
+ content: "";
+ border: solid transparent;
+ border-bottom-color: #333;
+ border-width: 8px;
+ pointer-events: none
+}
+
+.form-signup-home dl.form.errored dd.error:empty,.form-signup-home dl.form.errored dd.warning:empty {
+ display: none
+}
+
+.form-signup-home dl.form dd input.is-autocheck-successful,.form-signup-home dl.form dd input.is-autocheck-errored,.form-signup-home dl.form dd input.is-autocheck-loading {
+ background-image: none
+}
+
+.form-signup-home dl.successed:after,.form-signup-home dl.errored:after {
+ position: absolute;
+ top: 15px;
+ right: 10px;
+ text-shadow: none;
+ font: normal normal 16px/1 "octicons";
+ display: inline-block;
+ text-decoration: none;
+ -webkit-font-smoothing: antialiased
+}
+
+.form-signup-home dl.successed:after {
+ content: "\f03a";
+ color: #6cc644
+}
+
+.form-signup-home dl.errored:after {
+ content: "\f02d";
+ color: #bd2c00
+}
+
+.form-signup-home dl.is-loading:after {
+ position: absolute;
+ top: 15px;
+ right: 10px;
+ display: block;
+ width: 16px;
+ height: 16px;
+ content: "";
+ background-image: url(/images/spinners/octocat-spinner-16px.gif)
+}
+
+@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 2dppx) {
+ .form-signup-home dl.is-loading:after {
+ background-image:url(/images/spinners/octocat-spinner-32.gif);
+ background-size: 16px 16px
+ }
+}
+
+.text-muted .notice-highlight {
+ color: #fff
+}
+
+.text-center {
+ text-align: center
+}
+
+.marketing-section-img {
+ display: block;
+ max-width: 980px;
+ margin: 40px auto;
+ border-radius: 5px;
+ border: 1px solid rgba(0,0,0,0.25);
+ box-shadow: 0 5px 15px rgba(0,0,0,0.15)
+}
+
+.marketing-section-enterprise {
+ overflow: hidden;
+ max-height: 375px;
+ padding-bottom: 20px;
+ margin-top: -1px;
+ text-shadow: 0 1px 2px rgba(0,0,0,0.3);
+ background-color: #614381;
+ background-image: -webkit-linear-gradient(#202d5f, #614381);
+ background-image: linear-gradient(#202d5f, #614381);
+ background-repeat: repeat-x;
+ border-bottom: 0;
+ box-shadow: inset 0 10px 20px rgba(0,0,0,0.1);
+ color: #fff
+}
+
+.marketing-section-enterprise.marketing-inline {
+ margin-bottom: 30px
+}
+
+.marketing-section-enterprise h1>a {
+ color: inherit;
+ text-decoration: none
+}
+
+.marketing-section-enterprise .marketing-header .lead {
+ color: #cecbda
+}
+
+.marketing-section-enterprise .marketing-button {
+ display: inline-block;
+ margin-top: 20px;
+ margin-bottom: 20px;
+ padding: 9px 15px;
+ border-radius: 4px;
+ font-size: 18px;
+ background-color: #1d6ac8;
+ background-image: -webkit-linear-gradient(#45b3f3, #1d6ac8);
+ background-image: linear-gradient(#45b3f3, #1d6ac8);
+ background-repeat: repeat-x;
+ box-shadow: 0 1px 1px rgba(0,0,0,0.25);
+ text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
+ text-decoration: none;
+ color: #fff
+}
+
+.marketing-section-enterprise .marketing-button:hover {
+ background-position: 0 -10px
+}
+
+.aws-section {
+ background: #515d81 url(/images/modules/aws/aws-bg.jpg) no-repeat center top;
+ background-size: cover;
+ overflow: hidden;
+ text-shadow: 0 1px 1px rgba(0,0,0,0.1)
+}
+
+.aws-section .container {
+ position: relative
+}
+
+.aws-section .content {
+ position: relative;
+ z-index: 9;
+ padding: 80px 0;
+ color: #fff;
+ text-align: center
+}
+
+.aws-section h2 {
+ margin-top: 0;
+ font-size: 36px;
+ font-weight: 300;
+ color: #fff
+}
+
+.aws-section p {
+ margin-bottom: 15px;
+ font-size: 15px;
+ font-weight: 300
+}
+
+.aws-section .aws-button {
+ display: inline-block;
+ padding: 7px 15px;
+ font-size: 16px;
+ color: #fff;
+ text-shadow: none;
+ border: 1px solid #fff;
+ border-radius: 5px
+}
+
+.aws-section .aws-button:hover {
+ color: #fff;
+ text-decoration: none;
+ background-color: #2a2b55;
+ border-color: #2a2b55
+}
+
+.aws-section .bg-animation {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%
+}
+
+.aws-section .cloud {
+ position: absolute
+}
+
+.aws-section .cloud-1 {
+ top: 10px;
+ right: 20px;
+ -webkit-animation: cloud1animation 6s ease-out 1s;
+ animation: cloud1animation 6s ease-out 1s
+}
+
+.aws-section .cloud-2 {
+ top: 10px;
+ left: -60px;
+ -webkit-animation: cloud2animation 6s ease-out 1s;
+ animation: cloud2animation 6s ease-out 1s
+}
+
+.aws-section .cloud-3 {
+ bottom: 50px;
+ right: -255px;
+ -webkit-animation: cloud3animation 14s ease-out 1s;
+ animation: cloud3animation 14s ease-out 1s
+}
+
+.aws-section .cloud-4 {
+ bottom: -96px;
+ left: -470px;
+ -webkit-animation: cloud4animation 9s ease-out 1s;
+ animation: cloud4animation 9s ease-out 1s
+}
+
+.aws-section .cloud-5 {
+ bottom: -120px;
+ right: -160px;
+ -webkit-animation: cloud5animation 14s ease-out 1s;
+ animation: cloud5animation 14s ease-out 1s
+}
+
+.aws-section .cloud-6 {
+ bottom: -100px;
+ right: -600px;
+ -webkit-animation: cloud6animation 8s ease-out 1s;
+ animation: cloud6animation 8s ease-out 1s
+}
+
+@-webkit-keyframes cloud1animation {
+ 0% {
+ -webkit-transform: translateX(-70px);
+ transform: translateX(-70px)
+ }
+
+ 100% {
+ -webkit-transform: translateX(0);
+ transform: translateX(0)
+ }
+}
+
+@keyframes cloud1animation {
+ 0% {
+ -webkit-transform: translateX(-70px);
+ transform: translateX(-70px)
+ }
+
+ 100% {
+ -webkit-transform: translateX(0);
+ transform: translateX(0)
+ }
+}
+
+@-webkit-keyframes cloud2animation {
+ 0% {
+ -webkit-transform: translateX(50px);
+ transform: translateX(50px)
+ }
+
+ 100% {
+ -webkit-transform: translateX(0);
+ transform: translateX(0)
+ }
+}
+
+@keyframes cloud2animation {
+ 0% {
+ -webkit-transform: translateX(50px);
+ transform: translateX(50px)
+ }
+
+ 100% {
+ -webkit-transform: translateX(0);
+ transform: translateX(0)
+ }
+}
+
+@-webkit-keyframes cloud3animation {
+ 0% {
+ -webkit-transform: translateX(-150px);
+ transform: translateX(-150px)
+ }
+
+ 100% {
+ -webkit-transform: translateX(0);
+ transform: translateX(0)
+ }
+}
+
+@keyframes cloud3animation {
+ 0% {
+ -webkit-transform: translateX(-150px);
+ transform: translateX(-150px)
+ }
+
+ 100% {
+ -webkit-transform: translateX(0);
+ transform: translateX(0)
+ }
+}
+
+@-webkit-keyframes cloud4animation {
+ 0% {
+ -webkit-transform: translateX(125px);
+ transform: translateX(125px)
+ }
+
+ 100% {
+ -webkit-transform: translateX(0);
+ transform: translateX(0)
+ }
+}
+
+@keyframes cloud4animation {
+ 0% {
+ -webkit-transform: translateX(125px);
+ transform: translateX(125px)
+ }
+
+ 100% {
+ -webkit-transform: translateX(0);
+ transform: translateX(0)
+ }
+}
+
+@-webkit-keyframes cloud5animation {
+ 0% {
+ -webkit-transform: translateX(-80px);
+ transform: translateX(-80px)
+ }
+
+ 100% {
+ -webkit-transform: translateX(0);
+ transform: translateX(0)
+ }
+}
+
+@keyframes cloud5animation {
+ 0% {
+ -webkit-transform: translateX(-80px);
+ transform: translateX(-80px)
+ }
+
+ 100% {
+ -webkit-transform: translateX(0);
+ transform: translateX(0)
+ }
+}
+
+@-webkit-keyframes cloud6animation {
+ 0% {
+ -webkit-transform: translateX(-200px);
+ transform: translateX(-200px)
+ }
+
+ 100% {
+ -webkit-transform: translateX(0);
+ transform: translateX(0)
+ }
+}
+
+@keyframes cloud6animation {
+ 0% {
+ -webkit-transform: translateX(-200px);
+ transform: translateX(-200px)
+ }
+
+ 100% {
+ -webkit-transform: translateX(0);
+ transform: translateX(0)
+ }
+}
+
+.issue-list em {
+ font-weight: bold;
+ background-color: rgba(255,255,140,0.5);
+ padding: 3px;
+ border-radius: 3px;
+ font-style: normal
+}
+
+.issue-list .title {
+ padding: 0;
+ min-height: 24px;
+ font-weight: normal;
+ font-size: 18px;
+ line-height: 24px;
+ margin: 0 80px 10px 0;
+ word-wrap: break-word
+}
+
+.issue-list .title .mega-octicon {
+ position: absolute;
+ top: -4px;
+ left: 0;
+ width: 32px;
+ color: #888;
+ text-align: center
+}
+
+.issue-list .title .closed.mega-octicon {
+ color: #bd2c00
+}
+
+.issue-list .title .open.mega-octicon {
+ color: #6cc644
+}
+
+.issue-list .title .merged.mega-octicon {
+ color: #6e5494
+}
+
+.issue-list .description {
+ margin: 0 0 10px;
+ line-height: 20px;
+ overflow: hidden
+}
+
+.issue-list-meta {
+ margin: 0;
+ list-style-type: none;
+ font-size: 11px;
+ color: #999
+}
+
+.issue-list-meta:before {
+ display: table;
+ content: ""
+}
+
+.issue-list-meta:after {
+ display: table;
+ clear: both;
+ content: ""
+}
+
+.issue-list-meta>li {
+ display: inline-block;
+ margin-right: 10px
+}
+
+.issue-list-meta a {
+ color: #333
+}
+
+.issue-list-meta .octicon {
+ color: #838383;
+ vertical-align: middle
+}
+
+.issue-list-item {
+ border-bottom: 1px solid #f1f1f1;
+ padding: 0 0 20px 40px;
+ margin: 0 0 20px;
+ position: relative
+}
+
+.labels-list-item .table-list-cell {
+ width: 100%
+}
+
+.labels-list-item .label {
+ display: inline-block;
+ height: 34px;
+ padding: 0 10px;
+ margin-right: 5px;
+ font-size: 16px;
+ font-weight: bold;
+ line-height: 34px;
+ text-align: center;
+ border-radius: 3px;
+ -webkit-transition: all 0.2s linear;
+ transition: all 0.2s linear
+}
+
+.labels-list-item .label .octicon {
+ margin-right: 3px
+}
+
+.labels-list-item .label:hover {
+ opacity: 0.85
+}
+
+.labels-list-item.open .label,.labels-list-item.open .label-description,.labels-list-item.open .labels-list-action {
+ display: none
+}
+
+.labels-list-item.open .label-delete {
+ display: block;
+ text-align: left
+}
+
+.labels-list-item.edit .label,.labels-list-item.edit .label-description,.labels-list-item.edit .labels-list-action {
+ display: none
+}
+
+.labels-list-item.edit .label-edit {
+ display: block
+}
+
+.label-description {
+ padding: 8px 10px;
+ color: #999
+}
+
+.label-delete-confirmation {
+ line-height: 34px
+}
+
+.labels-list-actions {
+ margin-left: 60px
+}
+
+.labels-list-action {
+ float: left;
+ display: block;
+ color: #999;
+ padding: 8px 10px
+}
+
+.labels-list-action .octicon {
+ margin-right: 2px
+}
+
+.labels-list-action .octicon-pencil {
+ font-size: 14px
+}
+
+.labels-list-action:hover {
+ color: #4183c4;
+ cursor: pointer
+}
+
+.new-label {
+ display: none;
+ padding: 10px;
+ margin-bottom: 15px;
+ background-color: #fafafa;
+ border: 1px solid #e5e5e5;
+ border-radius: 3px
+}
+
+.new-label .label-edit {
+ display: block
+}
+
+.new-label .label-edit:before {
+ display: table;
+ content: ""
+}
+
+.new-label .label-edit:after {
+ display: table;
+ clear: both;
+ content: ""
+}
+
+.new-label-actions {
+ float: right
+}
+
+.open .new-label {
+ display: block
+}
+
+.label-spinner {
+ display: none;
+ float: left;
+ margin-left: -35px;
+ margin-top: 9px
+}
+
+.label-edit:before {
+ display: table;
+ content: ""
+}
+
+.label-edit:after {
+ display: table;
+ clear: both;
+ content: ""
+}
+
+.label-edit label {
+ display: block;
+ margin-bottom: 5px
+}
+
+.label-edit .error {
+ float: left;
+ margin-top: 8px;
+ margin-left: 10px;
+ color: #f00
+}
+
+.label-edit.is-valid .color-editor .octicon-check {
+ display: block
+}
+
+.label-edit.loading .label-spinner {
+ display: block
+}
+
+.color-editor {
+ position: relative;
+ float: left;
+ width: 100px
+}
+
+.color-editor.open .label-colors {
+ display: block
+}
+
+.color-editor-bg {
+ position: absolute;
+ left: 0;
+ z-index: 10;
+ width: 20px;
+ height: 20px;
+ margin-top: 7px;
+ margin-left: 7px;
+ cursor: pointer;
+ border-radius: 3px
+}
+
+input.color-editor-input {
+ width: 100px;
+ padding-left: 34px;
+ border-color: #ccc !important
+}
+
+input.color-editor-input:focus {
+ border-color: #51a7e8 !important
+}
+
+input.color-editor-input:focus ~ .label-colors {
+ display: block
+}
+
+.invalid-color-indicator {
+ display: none;
+ position: absolute;
+ top: 7px;
+ left: 7px;
+ z-index: 11;
+ width: 20px;
+ height: 20px;
+ line-height: 20px;
+ font-weight: bold;
+ color: #fff;
+ text-align: center
+}
+
+.label-edit-name {
+ width: 40%;
+ float: left;
+ margin-right: 10px
+}
+
+.label-colors {
+ position: absolute;
+ left: 0;
+ float: left;
+ display: none;
+ width: auto;
+ margin-left: 0;
+ padding: 5px
+}
+
+.label-colors:before {
+ left: 8px
+}
+
+.label-colors:after {
+ left: 9px
+}
+
+.label-edit,.label-delete {
+ display: none
+}
+
+.label-delete-form {
+ display: inline
+}
+
+.label-delete-form.loading .label-delete-spinner {
+ display: block
+}
+
+.label-delete-spinner {
+ display: none;
+ margin-top: 10px;
+ margin-right: 10px;
+ float: left
+}
+
+.color-chooser {
+ display: table-row;
+ height: 25px;
+ list-style: none
+}
+
+.color-chooser li {
+ display: table-cell;
+ width: 1%
+}
+
+.color-chooser li:hover {
+ position: relative;
+ z-index: 2;
+ outline: 2px solid #fff;
+ box-shadow: 0 0 5px 2px rgba(0,0,0,0.25)
+}
+
+.color-chooser .color-cooser-color {
+ display: block;
+ width: 25px;
+ height: 25px;
+ text-align: center;
+ cursor: pointer
+}
+
+.repository-lang-stats {
+ position: relative
+}
+
+.repository-lang-stats ol.repository-lang-stats-numbers li {
+ display: table-cell;
+ width: 1%;
+ border-bottom: 0;
+ text-align: center;
+ padding: 11px 5px;
+ white-space: nowrap
+}
+
+.repository-lang-stats ol.repository-lang-stats-numbers li span.percent {
+ float: none
+}
+
+.repository-lang-stats ol.repository-lang-stats-numbers li>a,.repository-lang-stats ol.repository-lang-stats-numbers li>span {
+ color: #999;
+ text-decoration: none;
+ font-weight: bold
+}
+
+.repository-lang-stats ol.repository-lang-stats-numbers li .lang {
+ color: #333
+}
+
+.repository-lang-stats ol.repository-lang-stats-numbers li .language-color {
+ display: inline-block;
+ width: 10px;
+ height: 10px;
+ border-radius: 50%
+}
+
+.repository-lang-stats ol.repository-lang-stats-numbers li a:hover {
+ background: transparent
+}
+
+.stats-switcher-viewport {
+ overflow: hidden;
+ height: 38px
+}
+
+.stats-switcher-viewport .stats-switcher-wrapper {
+ position: relative;
+ top: 0;
+ -webkit-transition: top 0.25s ease-in-out;
+ transition: top 0.25s ease-in-out
+}
+
+.stats-switcher-viewport.is-revealing-lang-stats .stats-switcher-wrapper {
+ top: -38px
+}
+
+.repository-lang-stats-graph {
+ display: block;
+ width: 100%;
+ height: auto;
+ line-height: 12px;
+ white-space: nowrap;
+ border-bottom-left-radius: 3px;
+ border-bottom-right-radius: 3px;
+ overflow: hidden
+}
+
+.repository-lang-stats-graph span {
+ display: inline-block;
+ height: 8px;
+ background: #ccc;
+ text-indent: -9999px
+}
+
+.repository-lang-stats-graph .language-color {
+ height: auto;
+ line-height: 12px;
+ vertical-align: top
+}
+
+.repository-lang-stats-graph .language-color:first-child {
+ border-bottom-left-radius: 3px
+}
+
+.repository-lang-stats-graph .language-color:last-child {
+ border-bottom-right-radius: 3px
+}
+
+.language-color {
+ background-color: #ccc
+}
+
+.list-group-item {
+ position: relative;
+ display: block;
+ margin-bottom: -1px;
+ padding: 8px 10px 10px 40px;
+ border: 1px solid #e5e5e5
+}
+
+.list-group-item a:hover {
+ text-decoration: none
+}
+
+.list-group-item:first-child {
+ border-top-left-radius: 3px;
+ border-top-right-radius: 3px
+}
+
+.list-group-item:last-child {
+ margin-bottom: 0;
+ border-bottom-left-radius: 3px;
+ border-bottom-right-radius: 3px
+}
+
+.list-group-item.closed {
+ background-color: #fcfcfc
+}
+
+.list-group-item.selectable {
+ padding-left: 60px
+}
+
+.list-group-item.selected {
+ background-color: #ffffef
+}
+
+.list-group-item.navigation-focus {
+ background-color: #f5f9fc
+}
+
+.list-group-item .list-group-item-summary a {
+ color: #666
+}
+
+.list-group-item .list-group-item-summary a.quiet {
+ color: #999
+}
+
+.list-group-item .status {
+ position: relative;
+ top: 2px;
+ margin-right: -9px;
+ float: right
+}
+
+.list-group-item .type-icon {
+ vertical-align: middle;
+ position: relative;
+ top: 1px;
+ width: 16px;
+ text-align: center
+}
+
+.list-group-item .assignee {
+ float: right
+}
+
+.list-group-item .assignee img {
+ display: block;
+ border-radius: 2px
+}
+
+.list-group-item .labels {
+ display: inline-block;
+ top: -2px;
+ margin-bottom: -2px;
+ margin-left: 4px
+}
+
+.list-group-item-name {
+ margin: 0 60px 2px 0;
+ font-size: 15px;
+ line-height: 1.3;
+ word-wrap: break-word
+}
+
+.list-group-item-name .type-icon {
+ float: left;
+ margin-top: 1px;
+ margin-left: -24px
+}
+
+.list-group-item-link {
+ color: #333
+}
+
+.closed.octicon,.reverted.octicon {
+ color: #bd2c00
+}
+
+.open.octicon {
+ color: #6cc644
+}
+
+.merged.octicon {
+ color: #6e5494
+}
+
+.list-group-item-summary {
+ margin-top: 2px
+}
+
+.list-group-item-summary p {
+ margin: 0 0 5px
+}
+
+.standalone .list-group-item-summary p {
+ margin-bottom: 0
+}
+
+.animated-ellipsis-container {
+ display: inline-block;
+ overflow: hidden;
+ height: 12px;
+ width: 12px;
+ -webkit-transform: translateZ(0)
+}
+
+.animated-ellipsis-container>.animated-ellipsis {
+ overflow: hidden;
+ display: inline-block;
+ vertical-align: bottom
+}
+
+@-webkit-keyframes ellipsis {
+ from {
+ width: 2px
+ }
+
+ to {
+ width: 12px
+ }
+}
+
+@keyframes ellipsis {
+ from {
+ width: 2px
+ }
+
+ to {
+ width: 12px
+ }
+}
+
+.large-loading-area {
+ text-align: center;
+ padding: 100px 0
+}
+
+.context-loader.large-format-loader {
+ position: fixed;
+ display: none;
+ top: 0;
+ left: 0;
+ bottom: 0;
+ right: 0;
+ margin: 0;
+ width: auto;
+ padding: 190px 0 0;
+ font-weight: normal;
+ background: rgba(255,255,255,0.8);
+ border: 0;
+ z-index: 9999;
+ text-align: center;
+ color: #999
+}
+
+.context-loader.large-format-loader.is-loading {
+ display: block
+}
+
+.requested-reviewer {
+ text-align: left;
+ list-style-type: none;
+ margin-bottom: 4px
+}
+
+.requested-reviewer .octicon-jersey {
+ margin-left: 3px;
+ margin-right: 5px
+}
+
+.request-reviewers {
+ border-top: solid 1px #ddd;
+ padding: 10px 10px 0
+}
+
+.request-reviewers .autocomplete-results {
+ display: block;
+ border: 0
+}
+
+.request-reviewers .autocomplete-results .typeahead-result {
+ display: block;
+ width: 300px
+}
+
+.request-reviewers .avatar,.request-reviewers .octicon-jersey {
+ float: left;
+ margin-right: 10px
+}
+
+.request-reviewers .reviewer-suggestion-info {
+ width: 75%;
+ overflow: hidden;
+ margin-bottom: 0;
+ margin-top: 4px;
+ white-space: nowrap;
+ text-overflow: ellipsis
+}
+
+dl.form-request-reviewers {
+ display: inline-block;
+ margin-top: 0;
+ margin-bottom: 0
+}
+
+dl.form-request-reviewers>dd input[type="text"] {
+ width: 300px;
+ margin-bottom: 10px;
+ display: inline-block
+}
+
+.suggested-reviewers {
+ margin-left: 5px;
+ display: inline-block;
+ vertical-align: super;
+ color: #999
+}
+
+.suggested-reviewers .requested-reviewer-suggestion {
+ margin-left: 3px
+}
+
+.requested-reviewer-item {
+ float: left;
+ margin-bottom: 10px;
+ margin-right: 4px;
+ height: 32px;
+ padding: 5px 8px;
+ font-size: 12px;
+ line-height: 18px;
+ color: #555;
+ background: #eee;
+ border-radius: 3px
+}
+
+.requested-reviewer-item .avatar,.requested-reviewer-item .octicon-jersey {
+ float: none;
+ margin-right: 2px
+}
+
+.requested-reviewer-item .octicon-jersey {
+ margin-top: 4px
+}
+
+.requested-reviewer-item .remove-reviewer {
+ color: #bbb;
+ margin-top: 2px;
+ display: inline-block;
+ margin-left: 2px
+}
+
+.requested-reviewer-item .remove-reviewer .octicon-x {
+ vertical-align: middle
+}
+
+#quick-issue-modal {
+ display: none
+}
+
+.quick-issue-modal-footer {
+ margin-bottom: 0
+}
+
+.quick-issue-thanks {
+ display: none;
+ font-size: 18px
+}
+
+.quick-issue-link {
+ margin-left: 30px
+}
+
+.quick-issue-body {
+ display: block;
+ width: 100%
+}
+
+.quick-issue-form {
+ position: relative
+}
+
+.quick-issue-form .suggestions {
+ margin-left: 0;
+ margin-bottom: 0
+}
+
+.quick-issue-form .drag-and-drop {
+ font-size: 10px
+}
+
+.clearfix:before {
+ display: table;
+ content: ""
+}
+
+.clearfix:after {
+ display: table;
+ clear: both;
+ content: ""
+}
+
+.right {
+ float: right
+}
+
+.left {
+ float: left
+}
+
+.text-right {
+ text-align: right
+}
+
+.text-left {
+ text-align: left
+}
+
+.danger {
+ color: #c00
+}
+
+.mute {
+ color: #000
+}
+
+.text-diff-added {
+ color: #55a532
+}
+
+.text-diff-deleted {
+ color: #bd2c00
+}
+
+.text-open,.text-success {
+ color: #6cc644
+}
+
+.text-closed {
+ color: #bd2c00
+}
+
+.text-reverted {
+ color: #bd2c00
+}
+
+.text-merged {
+ color: #6e5494
+}
+
+.text-renamed {
+ color: #fffa5d
+}
+
+.text-pending {
+ color: #cea61b
+}
+
+.text-error,.text-failure {
+ color: #bd2c00
+}
+
+.muted-link {
+ color: #777
+}
+
+.muted-link:hover {
+ color: #4183c4;
+ text-decoration: none
+}
+
+.hidden {
+ display: none
+}
+
+.warning {
+ padding: 0.5em;
+ margin-bottom: 0.8em;
+ font-weight: bold;
+ background-color: #fffccc
+}
+
+.error_box {
+ padding: 1em;
+ font-weight: bold;
+ background-color: #ffebe8;
+ border: 1px solid #dd3c10
+}
diff --git a/public/css/github-emoji.css b/public/css/github-emoji.css
new file mode 100644
index 00000000..1d287df8
--- /dev/null
+++ b/public/css/github-emoji.css
@@ -0,0 +1,3 @@
+/*! normalize.css v3.0.1 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}*{box-sizing:border-box}input,select,textarea,button{font:13px/1.4 Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol"}body{min-width:1020px;font:13px/1.4 Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";color:#333;background-color:#fff}a{color:#4183c4;text-decoration:none}a:hover,a:active{text-decoration:underline}hr,.rule{height:0;margin:15px 0;overflow:hidden;background:transparent;border:0;border-bottom:1px solid #ddd}hr:before,.rule:before{display:table;content:""}hr:after,.rule:after{display:table;clear:both;content:""}h1,h2,h3,h4,h5,h6{margin-top:15px;margin-bottom:15px;line-height:1.1}h1{font-size:30px}h2{font-size:21px}h3{font-size:16px}h4{font-size:14px}h5{font-size:12px}h6{font-size:11px}small{font-size:90%}blockquote{margin:0}.lead{margin-bottom:30px;font-size:20px;font-weight:300;color:#555}.text-muted{color:#999}.text-danger{color:#bd2c00}.text-emphasized{font-weight:bold;color:#333}ul,ol{padding:0;margin-top:0;margin-bottom:0}ol ol,ul ol{list-style-type:lower-roman}ul ul ol,ul ol ol,ol ul ol,ol ol ol{list-style-type:lower-alpha}dd{margin-left:0}tt,code{font-family:Consolas, "Liberation Mono", Menlo, Courier, monospace;font-size:12px}pre{margin-top:0;margin-bottom:0;font:12px Consolas, "Liberation Mono", Menlo, Courier, monospace}.container{width:980px;margin-right:auto;margin-left:auto}.container:before{display:table;content:""}.container:after{display:table;clear:both;content:""}.columns{margin-right:-10px;margin-left:-10px}.columns:before{display:table;content:""}.columns:after{display:table;clear:both;content:""}.column{float:left;padding-right:10px;padding-left:10px}.one-third{width:33%}.two-thirds{width:67%}.one-fourth{width:25%}.one-half{width:50%}.three-fourths{width:75%}.one-fifth{width:20%}.four-fifths{width:80%}.single-column{padding-right:10px;padding-left:10px}.table-column{display:table-cell;width:1%;padding-right:10px;padding-left:10px;vertical-align:top}fieldset{padding:0;margin:0;border:0}label{font-size:13px;font-weight:bold}.form-control,input[type="text"],input[type="password"],input[type="email"],input[type="number"],input[type="tel"],input[type="url"],textarea{min-height:34px;padding:7px 8px;font-size:13px;color:#333;vertical-align:middle;background-color:#fff;background-repeat:no-repeat;background-position:right center;border:1px solid #ccc;border-radius:3px;outline:none;box-shadow:inset 0 1px 2px rgba(0,0,0,0.075)}.form-control.focus,.form-control:focus,input[type="text"].focus,input[type="text"]:focus,.focused .drag-and-drop,input[type="password"].focus,input[type="password"]:focus,input[type="email"].focus,input[type="email"]:focus,input[type="number"].focus,input[type="number"]:focus,input[type="tel"].focus,input[type="tel"]:focus,input[type="url"].focus,input[type="url"]:focus,textarea.focus,textarea:focus{border-color:#51a7e8;box-shadow:inset 0 1px 2px rgba(0,0,0,0.075),0 0 5px rgba(81,167,232,0.5)}input.input-contrast,.input-contrast{background-color:#fafafa}input.input-contrast:focus,.input-contrast:focus{background-color:#fff}::-webkit-input-placeholder,:-moz-placeholder{color:#aaa}::-webkit-validation-bubble-message{font-size:12px;color:#fff;background:#9c2400;border:0;border-radius:3px;-webkit-box-shadow:1px 1px 1px rgba(0,0,0,0.1)}input::-webkit-validation-bubble-icon{display:none}::-webkit-validation-bubble-arrow{background-color:#9c2400;border:solid 1px #9c2400;-webkit-box-shadow:1px 1px 1px rgba(0,0,0,0.1)}input.input-mini{min-height:26px;padding-top:4px;padding-bottom:4px;font-size:12px}input.input-large{padding:6px 10px;font-size:16px}.input-block{display:block;width:100%}.input-monospace{font-family:Consolas, "Liberation Mono", Menlo, Courier, monospace}dl.form{margin:15px 0}dl.form input[type="text"],dl.form input[type="password"],dl.form input[type="email"],dl.form input[type="url"],dl.form textarea{background-color:#fafafa}dl.form input[type="text"]:focus,dl.form .focused .drag-and-drop,.focused dl.form .drag-and-drop,dl.form input[type="password"]:focus,dl.form input[type="email"]:focus,dl.form input[type="url"]:focus,dl.form textarea:focus{background-color:#fff}dl.form>dt{margin:0 0 6px}dl.form>dt label{position:relative}dl.form.flattened>dt{float:left;margin:0;line-height:32px}dl.form.flattened>dd{line-height:32px}dl.form>dd input[type="text"],dl.form>dd input[type="password"],dl.form>dd input[type="email"],dl.form>dd input[type="url"]{width:440px;max-width:100%;margin-right:5px;background-position-x:98%}dl.form>dd input.shorter{width:130px}dl.form>dd input.short{width:250px}dl.form>dd input.long{width:100%}dl.form>dd textarea{width:100%;height:200px;min-height:200px}dl.form>dd textarea.short{height:50px;min-height:50px}dl.form>dd h4{margin:4px 0 0}dl.form>dd h4.is-error{color:#bd2c00}dl.form>dd h4.is-success{color:#6cc644}dl.form>dd h4+p.note{margin-top:0}dl.form.required>dt>label:after{padding-left:5px;color:#9f1006;content:"*"}.note{min-height:17px;margin:4px 0 2px;font-size:12px;color:#777}.note .spinner{margin-right:3px;vertical-align:middle}.form-checkbox{padding-left:20px;margin:15px 0;vertical-align:middle}.form-checkbox label em.highlight{position:relative;left:-4px;padding:2px 4px;font-style:normal;background:#fffbdc;border-radius:3px}.form-checkbox input[type=checkbox],.form-checkbox input[type=radio]{float:left;margin:2px 0 0 -20px;vertical-align:middle}.form-checkbox .note{display:block;margin:0;font-size:12px;font-weight:normal;color:#666}dl.form .success,dl.form .error,dl.form .indicator{display:none;font-size:12px;font-weight:bold}dl.form.loading{opacity:0.5}dl.form.loading .indicator{display:inline}dl.form.loading .spinner{display:inline-block;vertical-align:middle}dl.form.successful .success{display:inline;color:#390}dl.form.errored>dt label{color:#900}dl.form.errored .error{display:inline;color:#900}dl.form.errored dd.error,dl.form.errored dd.warning{display:inline-block;padding:5px;font-size:11px;color:#494620;background:#f7ea57;border:1px solid #c0b536;border-top-color:#fff;border-bottom-right-radius:3px;border-bottom-left-radius:3px}dl.form.warn .warning{display:inline;color:#900}dl.form.warn dd.warning{display:inline-block;padding:5px;font-size:11px;color:#494620;background:#f7ea57;border:1px solid #c0b536;border-top-color:#fff;border-bottom-right-radius:3px;border-bottom-left-radius:3px}dl.form .form-note{display:inline-block;padding:5px;margin-top:-1px;font-size:11px;color:#494620;background:#f7ea57;border:1px solid #c0b536;border-top-color:#fff;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.hfields{margin:15px 0}.hfields:before{display:table;content:""}.hfields:after{display:table;clear:both;content:""}.hfields dl.form{float:left;margin:0 30px 0 0}.hfields dl.form>dt label{display:inline-block;margin:5px 0 0;color:#666}.hfields dl.form>dt label img{position:relative;top:-2px}.hfields .button{float:left;margin:28px 25px 0 -20px}.hfields select{margin-top:5px}html.no-dnd-uploads .drag-and-drop{min-height:32px}html.no-dnd-uploads .drag-and-drop .default{display:none}html.no-dnd-uploads .upload-enabled textarea{border-bottom:1px solid #ddd}.drag-and-drop{padding:7px 10px;margin:0;font-size:13px;line-height:16px;color:#aaa;background-color:#fafafa;border:1px solid #ccc;border-top:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.drag-and-drop .default,.drag-and-drop .loading,.drag-and-drop .error{display:none}.drag-and-drop .error{color:#bd2c00}.drag-and-drop img{vertical-align:top}.is-default .drag-and-drop .default{display:inline-block}.is-uploading .drag-and-drop .loading{display:inline-block}.is-bad-file .drag-and-drop .bad-file{display:inline-block}.is-too-big .drag-and-drop .too-big{display:inline-block}.is-empty .drag-and-drop .empty{display:inline-block}.is-bad-browser .drag-and-drop .bad-browser{display:inline-block}.drag-and-drop-error-info{font-weight:normal;color:#aaa}.drag-and-drop-error-info a{color:#4183c4}.is-failed .drag-and-drop .failed-request{display:inline-block}.manual-file-chooser{position:absolute;width:240px;padding:5px;margin-left:-80px;cursor:pointer;opacity:0.0001}.manual-file-chooser:hover+.manual-file-chooser-text{text-decoration:underline}.button .manual-file-chooser{top:0;padding:0;line-height:34px}.upload-enabled textarea{display:block;border-bottom:1px dashed #ddd;border-bottom-right-radius:0;border-bottom-left-radius:0}.focused .drag-and-drop{box-shadow:rgba(81,167,232,0.5) 0 0 3px}.dragover textarea,.dragover .drag-and-drop{box-shadow:#c9ff00 0 0 3px}.previewable-comment-form{position:relative}.previewable-comment-form .tabnav{position:relative;padding:10px 10px 0}.previewable-comment-form .comment{border:1px solid #cacaca}.previewable-comment-form .comment-header .comment-header-actions{display:none}.previewable-comment-form .comment-form-error{margin-bottom:10px}.previewable-comment-form .write-content,.previewable-comment-form .preview-content{display:none;padding:0 10px 10px}.previewable-comment-form.write-selected .write-content,.previewable-comment-form.preview-selected .preview-content{display:block}.previewable-comment-form textarea{display:block;width:100%;min-height:100px;max-height:500px;padding:10px;resize:vertical}.previewable-comment-form textarea.fullscreen-contents:focus{border:0;box-shadow:none}div.composer{margin-top:0;border:0}.composer .comment-form-textarea{height:200px;min-height:200px}.composer-infobar{height:35px;padding:0 10px;margin-bottom:10px;border-bottom:1px solid #eee}.composer .tabnav{margin:0 0 10px}.infobar-widget.milestone{position:relative;float:right}.infobar-widget.milestone .select-menu-modal-holder{right:0}.infobar-widget.assignee{float:left}.infobar-widget.assignee .css-truncate-target{max-width:110px}.infobar-widget .text,.infobar-widget .avatar,.infobar-widget .select-menu{display:inline-block;vertical-align:top}.infobar-widget .text{margin-top:3px}.infobar-widget .text a{font-weight:bold;color:#333}.infobar-widget .progress-bar{width:200px;overflow:hidden;line-height:18px}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}.input-group{display:table}.input-group input{position:relative;width:100%}.input-group input:focus{z-index:2}.input-group input[type="text"]+.minibutton{margin-left:0}.input-group.inline{display:inline-table}.input-group input,.input-group-button{display:table-cell}.input-group-button{width:1%;vertical-align:middle}.input-group input:first-child,.input-group-button:first-child .button,.input-group-button:first-child .minibutton{border-top-right-radius:0;border-bottom-right-radius:0}.input-group-button:first-child .button,.input-group-button:first-child .minibutton{margin-right:-1px}.input-group input:last-child,.input-group-button:last-child .button,.input-group-button:last-child .minibutton{border-top-left-radius:0;border-bottom-left-radius:0}.input-group-button:last-child .button,.input-group-button:last-child .minibutton{margin-left:-1px}h2.account{margin:15px 0 0;font-size:18px;font-weight:normal;color:#666}p.explain{position:relative;font-size:12px;color:#666}p.explain strong{color:#333}p.explain .octicon{margin-right:5px;color:#bbb}p.explain .minibutton{top:-4px;float:right}.options-content p.explain{padding:10px 10px 0;margin-top:0;border-top:1px solid #ddd}.form-actions{padding-bottom:5px;text-align:right}.form-actions .cancel{float:left;margin-top:5px}.form-actions .button.cancel{margin-top:0;margin-left:2px}.form-actions .minibutton.cancel{margin-top:0}.form-actions .optional{float:left;padding-top:8px;margin-right:15px}.form-actions .optional span.text{padding:0 3px}.form-actions .optional input{position:relative;top:-1px}.form-warning{padding:8px 10px;margin:10px 0;font-size:14px;color:#333;background:#ffffe2;border:1px solid #e7e4c2;border-radius:4px}.form-warning p{margin:0;line-height:1.5}.form-warning strong{color:#000}.form-warning a{font-weight:bold}.status-indicator{font:normal normal 16px/1 "octicons";display:inline-block;text-decoration:none;-webkit-font-smoothing:antialiased;margin-left:5px}.status-indicator-success:before{color:#6cc644;content:"\f03a"}.status-indicator-failed:before{color:#bd2c00;content:"\f02d"}.flash-messages{margin-top:15px;margin-bottom:15px}.flash,.flash-global{position:relative;font-size:14px;line-height:1.6;color:#246;background-color:#e2eef9;border:solid 1px #bac6d3}.flash.flash-warn,.flash-global.flash-warn{color:#4c4a42;background-color:#fff9ea;border-color:#dfd8c2}.flash.flash-error,.flash-global.flash-error{color:#911;background-color:#fcdede;border-color:#d2b2b2}.flash .flash-close,.flash-global .flash-close{float:right;padding:17px;margin-top:-15px;margin-right:-15px;margin-left:20px;color:inherit;text-decoration:none;cursor:pointer;opacity:0.6}.flash .flash-close:hover,.flash-global .flash-close:hover{opacity:1}.flash p:last-child,.flash-global p:last-child{margin-bottom:0}.flash .flash-action,.flash-global .flash-action{float:right;margin-top:-4px;margin-left:20px}.flash a,.flash-global a{font-weight:bold}.flash{padding:15px;border-radius:3px}.flash+.flash{margin-top:5px}.flash-with-icon{padding-left:40px}.flash-with-icon>.octicon{float:left;margin-top:3px;margin-left:-25px}.flash-global{padding:10px;margin-top:-1px;border-width:1px 0}.flash-global h2,.flash-global p{margin-top:0;margin-bottom:0;font-size:14px;line-height:1.4}.flash-global .flash-action{margin-top:5px}.flash-title{margin-top:0;margin-bottom:5px}.avatar{display:inline-block;overflow:hidden;line-height:1;vertical-align:middle;border-radius:3px}.avatar-small{border-radius:2px}.avatar-link{float:left;line-height:1}.avatar-group-item{display:inline-block;margin-bottom:3px}.avatar-parent-child{position:relative}.avatar-child{position:absolute;right:-15%;bottom:-9%;border-radius:2px;box-shadow:-2px -2px 0 rgba(255,255,255,0.8)}.blankslate{position:relative;padding:30px;text-align:center;background-color:#fafafa;border:1px solid #e5e5e5;border-radius:3px;box-shadow:inset 0 0 10px rgba(0,0,0,0.05)}.blankslate.clean-background{background:none;border:0;box-shadow:none}.blankslate.capped{border-radius:0 0 3px 3px}.blankslate.spacious{padding:100px 60px 120px}.blankslate.has-fixed-width{width:485px;margin:0 auto}.blankslate.large-format h3{margin:0.75em 0;font-size:20px}.blankslate.large-format p{font-size:16px}.blankslate.large-format p.has-fixed-width{width:540px;margin:0 auto;text-align:left}.blankslate.large-format .mega-octicon{width:40px;height:40px;font-size:40px;color:#aaa}.blankslate.large-format .octicon-inbox{font-size:48px;line-height:40px}.blankslate code{padding:2px 5px 3px;font-size:14px;background:#fff;border:1px solid #eee;border-radius:3px}.blankslate>.mega-octicon{color:#aaa}.blankslate .mega-octicon+.mega-octicon{margin-left:10px}.tabnav+.blankslate{margin-top:20px}.blankslate .context-loader.large-format-loader{padding-top:50px}.spinner-forking{display:block;margin:20px auto 40px}.forking-repo{margin:40px 0;text-align:center}.forking-repo h3{margin-bottom:10px;font-size:28px;font-weight:300}.forking-repo h4{margin:0 0 30px;font-size:16px;font-weight:300}.counter{display:inline-block;padding:2px 5px;font-size:11px;font-weight:bold;line-height:1;color:#777;background-color:#eee;border-radius:20px}.button,.minibutton{position:relative;display:inline-block;padding:7px 12px;font-size:13px;font-weight:bold;color:#333;text-shadow:0 1px 0 rgba(255,255,255,0.9);white-space:nowrap;vertical-align:middle;cursor:pointer;background-color:#eee;background-image:-webkit-linear-gradient(#fcfcfc, #eee);background-image:linear-gradient(#fcfcfc, #eee);background-repeat:repeat-x;border:1px solid #d5d5d5;border-radius:3px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:none}.button i,.minibutton i{font-style:normal;font-weight:500;opacity:0.6}.button:focus,.minibutton:focus{text-decoration:none;border-color:#51a7e8;outline:none;box-shadow:0 0 5px rgba(81,167,232,0.5)}.button:hover,.button:active,.button.zeroclipboard-is-hover,.button.zeroclipboard-is-active,.minibutton:hover,.minibutton:active,.minibutton.zeroclipboard-is-hover,.minibutton.zeroclipboard-is-active{text-decoration:none;background-color:#ddd;background-image:-webkit-linear-gradient(#eee, #ddd);background-image:linear-gradient(#eee, #ddd);background-repeat:repeat-x;border-color:#ccc}.button:active,.button.selected,.button.selected:hover,.button.zeroclipboard-is-active,.minibutton:active,.minibutton.selected,.minibutton.selected:hover,.minibutton.zeroclipboard-is-active{background-color:#dcdcdc;background-image:none;border-color:#b5b5b5;box-shadow:inset 0 2px 4px rgba(0,0,0,0.15)}.button:disabled,.button:disabled:hover,.button.disabled,.button.disabled:hover,.minibutton:disabled,.minibutton:disabled:hover,.minibutton.disabled,.minibutton.disabled:hover{color:rgba(102,102,102,0.5);text-shadow:0 1px 0 rgba(255,255,255,0.9);cursor:default;background-color:rgba(229,229,229,0.5);background-image:none;border-color:rgba(197,197,197,0.5);box-shadow:none}.button.primary,.minibutton.primary{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#60b044;background-image:-webkit-linear-gradient(#8add6d, #60b044);background-image:linear-gradient(#8add6d, #60b044);background-repeat:repeat-x;border-color:#5ca941}.button.primary:hover,.minibutton.primary:hover{color:#fff;background-color:#569e3d;background-image:-webkit-linear-gradient(#79d858, #569e3d);background-image:linear-gradient(#79d858, #569e3d);background-repeat:repeat-x;border-color:#4a993e}.button.primary:active,.button.primary.selected,.minibutton.primary:active,.minibutton.primary.selected{background-color:#569e3d;background-image:none;border-color:#418737}.button.primary:disabled,.button.primary:disabled:hover,.button.primary.disabled,.button.primary.disabled:hover,.minibutton.primary:disabled,.minibutton.primary:disabled:hover,.minibutton.primary.disabled,.minibutton.primary.disabled:hover{color:#fefefe;text-shadow:0 -1px 0 rgba(39,39,39,0.25);background-color:#add39f;background-image:-webkit-linear-gradient(#c3ecb4, #add39f);background-image:linear-gradient(#c3ecb4, #add39f);background-repeat:repeat-x;border-color:#b9dcac #b9dcac #a7c89b}.button.danger,.minibutton.danger{color:#900}.button.danger:hover,.minibutton.danger:hover{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.3);background-color:#b33630;background-image:-webkit-linear-gradient(#dc5f59, #b33630);background-image:linear-gradient(#dc5f59, #b33630);background-repeat:repeat-x;border-color:#cd504a}.button.danger:active,.button.danger.selected,.minibutton.danger:active,.minibutton.danger.selected{color:#fff;background-color:#b33630;background-image:none;border-color:#9f312c}.button.danger:disabled,.button.danger:disabled:hover,.button.danger.disabled,.button.danger.disabled:hover,.minibutton.danger:disabled,.minibutton.danger:disabled:hover,.minibutton.danger.disabled,.minibutton.danger.disabled:hover{color:#cb7f7f;text-shadow:0 1px 0 rgba(255,255,255,0.9);background-color:#efefef;background-image:-webkit-linear-gradient(#fefefe, #efefef);background-image:linear-gradient(#fefefe, #efefef);background-repeat:repeat-x;border-color:#e1e1e1}.button.with-count,.minibutton.with-count{float:left;border-top-right-radius:0;border-bottom-right-radius:0}.button>.octicon,.minibutton>.octicon{vertical-align:-1px}.button>.octicon-arrow-right,.minibutton>.octicon-arrow-right{float:right;margin-left:5px}.minibutton>.octicon-arrow-right{margin-top:4px}.minibutton{padding:0 10px;line-height:24px}.hidden-text-expander{display:block}.hidden-text-expander.inline{position:relative;top:-1px;display:inline-block;margin-left:5px;line-height:0}.hidden-text-expander a{display:inline-block;height:12px;padding:0 5px;font-size:12px;font-weight:bold;line-height:6px;color:#555;text-decoration:none;vertical-align:middle;background:#ddd;border-radius:1px}.hidden-text-expander a:hover{text-decoration:none;background-color:#ccc}.hidden-text-expander a:active{color:#fff;background-color:#4183c4}.social-count{float:left;padding:0 7px;font-size:11px;font-weight:bold;line-height:24px;color:#333;vertical-align:middle;background-color:#fff;border:1px solid #ddd;border-left:0;border-top-right-radius:3px;border-bottom-right-radius:3px}.social-count:hover{color:#4183c4;text-decoration:none;cursor:pointer}.button-block{display:block;width:100%;text-align:center}.button-group{display:inline-block;vertical-align:middle}.button-group:before{display:table;content:""}.button-group:after{display:table;clear:both;content:""}.button-group .button,.button-group .minibutton,.button-group .button-outline{position:relative;float:left;border-radius:0}.button-group .button:first-child,.button-group .minibutton:first-child,.button-group .button-outline:first-child{border-top-left-radius:3px;border-bottom-left-radius:3px}.button-group .button:last-child,.button-group .minibutton:last-child,.button-group .button-outline:last-child{border-top-right-radius:3px;border-bottom-right-radius:3px}.button-group .button:hover,.button-group .button:focus,.button-group .button:active,.button-group .button.selected,.button-group .minibutton:hover,.button-group .minibutton:focus,.button-group .minibutton:active,.button-group .minibutton.selected,.button-group .button-outline:hover,.button-group .button-outline:focus,.button-group .button-outline:active,.button-group .button-outline.selected{z-index:2}.button-group .button+.button,.button-group .minibutton+.minibutton{margin-left:-1px;box-shadow:inset 1px 0 0 rgba(255,255,255,0.2)}.button-group .button+.button:hover,.button-group .minibutton+.minibutton:hover{box-shadow:none}.button-group .button+.button:active,.button-group .button+.button.selected,.button-group .minibutton+.minibutton:active,.button-group .minibutton+.minibutton.selected{box-shadow:inset 0 3px 5px rgba(0,0,0,0.15)}.button-group .button-outline+.button-outline,.button-group .button_to+.button_to{margin-left:-1px}.button-group .button_to{float:left}.button-group .button_to .button,.button-group .button_to .minibutton,.button-group .button_to .button-outline{border-radius:0}.button-group .button_to:first-child .button,.button-group .button_to:first-child .minibutton,.button-group .button_to:first-child .button-outline{border-top-left-radius:3px;border-bottom-left-radius:3px}.button-group .button_to:last-child .button,.button-group .button_to:last-child .minibutton,.button-group .button_to:last-child .button-outline{border-top-right-radius:3px;border-bottom-right-radius:3px}.button-group+.button-group,.button-group+.button,.button-group+.minibutton{margin-left:5px}.button-link{display:inline;padding:0;font-size:inherit;color:#4183c4;white-space:nowrap;cursor:pointer;background-color:transparent;border:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:none}.button-link:hover,.button-link:focus{text-decoration:underline}.button-link:focus{outline:none}.button-outline{display:inline-block;padding:7px 12px;font-size:13px;font-weight:bold;color:#4183c4;white-space:nowrap;vertical-align:middle;cursor:pointer;background:#fff;border:1px solid #e5e5e5;border-radius:3px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:none}.button-outline:hover,.button-outline.zeroclipboard-is-hover{color:#fff;text-decoration:none;background-color:#4183c4;border-color:#4183c4}.button-outline:disabled,.button-outline.disabled,.button-outline:disabled:hover,.button-outline.disabled:hover{color:#777;cursor:default;background-color:#f5f5f5;border-color:#e5e5e5}.menu{margin-bottom:15px;list-style:none;background-color:#fff;border:1px solid #d8d8d8;border-radius:3px}.menu-item{position:relative;display:block;padding:8px 10px;text-shadow:0 1px 0 #fff;border-bottom:1px solid #eee}.menu-item:first-child{border-top:0;border-top-right-radius:2px;border-top-left-radius:2px}.menu-item:first-child:before{border-top-left-radius:2px}.menu-item:last-child{border-bottom:0;border-bottom-right-radius:2px;border-bottom-left-radius:2px}.menu-item:last-child:before{border-bottom-left-radius:2px}.menu-item:hover{text-decoration:none;background-color:#f9f9f9}.menu-item.selected{font-weight:bold;color:#222;cursor:default;background-color:#fff}.menu-item.selected:before{position:absolute;top:0;left:0;bottom:0;width:2px;content:"";background-color:#d26911}.menu-item .octicon{margin-right:5px;width:16px;color:#333;text-align:center}.menu-item .counter{float:right;margin-left:5px}.menu-item .menu-warning{float:right;color:#d26911}.menu-item .avatar{float:left;margin-right:5px}.menu-item.alert .counter{color:#bd2c00}.menu-heading{display:block;padding:8px 10px;margin-top:0;margin-bottom:0;font-size:13px;font-weight:bold;line-height:20px;color:#555;background-color:#f7f7f7;border-bottom:1px solid #eee}.menu-heading:hover{text-decoration:none}.menu-heading:first-child{border-top-right-radius:2px;border-top-left-radius:2px}.menu-heading:last-child{border-bottom-right-radius:2px;border-bottom-left-radius:2px;border-bottom:0}.tabnav{margin:0 0 15px;border-bottom:1px solid #ddd}.tabnav .counter{margin-left:5px}.tabnav-tabs{display:inline-block}.tabnav-tabs>li{display:inline-block;margin-bottom:-1px}.tabnav-tab{display:inline-block;padding:8px 12px 7px;font-size:14px;line-height:20px;color:#666;text-decoration:none;border:1px solid transparent;border-bottom:0}.tabnav-tab.selected{color:#333;background-color:#fff;border-color:#ddd;border-radius:3px 3px 0 0}.tabnav-tab:hover{text-decoration:none}.tabnav-right{position:relative;float:right}.tabnav-widget{display:inline-block;vertical-align:top}.tabnav-widget+.tabnav-tabs{margin-left:10px}.tabnav-widget.search .spinner{position:absolute;top:7px;left:-22px;margin-right:8px;vertical-align:middle}.tabnav-widget.search .search-link{display:inline-block;height:26px;padding-right:5px;font-size:13px;font-weight:200;line-height:26px;color:#666;vertical-align:top}.tabnav-widget.search .fieldwrap{display:inline-block;height:26px;border-radius:4px}.tabnav-widget.search .fieldwrap>input,.tabnav-widget.search .fieldwrap>button{display:inline-block}.tabnav-widget.search input{min-height:26px;padding:0 4px;font-size:12px;vertical-align:top;border-radius:3px 0 0 3px}.tabnav-widget.search .minibutton{position:relative;height:24px;padding:0 8px;margin-left:0;vertical-align:top;border-left:0;border-radius:0 3px 3px 0}.tabnav-widget.search .minibutton:hover{color:#fff}.tabnav-widget.text{margin-top:12px;font-size:11px;color:#666}.tabnav-extras{display:inline-block;margin-left:10px}.tabnav-extras .octicon{float:left;margin-top:-1px;margin-right:5px}.tabnav-extras:hover{color:#4183c4;text-decoration:none}.filter-list{list-style-type:none}.filter-list.small .filter-item{padding:4px 10px;margin:0 0 2px;font-size:12px}.filter-list.pjax-active .filter-item{color:#777;background-color:transparent}.filter-list.pjax-active .filter-item.pjax-active{color:#fff;background-color:#4183c4}.filter-item{position:relative;display:block;padding:8px 10px;margin-bottom:5px;overflow:hidden;font-size:14px;color:#777;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;border-radius:3px}.filter-item:hover{text-decoration:none;background-color:#eee}.filter-item.selected{color:#fff;background-color:#4183c4}.filter-item.selected .octicon-remove-close{float:right;opacity:0.8}.filter-item .count{float:right;font-weight:bold}.filter-item .bar{position:absolute;top:2px;right:0;bottom:2px;z-index:-1;display:inline-block;background-color:#f1f1f1}.state{display:inline-block;padding:4px 8px;font-weight:bold;line-height:20px;color:#fff;text-align:center;border-radius:3px;background-color:#999}.state-open,.state-proposed,.state-reopened{background-color:#6cc644}.state-merged{background-color:#6e5494}.state-closed{background-color:#bd2c00}.state-renamed{background-color:#fffa5d}.tooltipped{position:relative}.tooltipped:after{position:absolute;z-index:1000000;display:none;padding:5px 8px;font:normal normal 11px/1.5 Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";color:#fff;text-align:center;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-wrap:break-word;white-space:pre;pointer-events:none;content:attr(aria-label);background:rgba(0,0,0,0.8);border-radius:3px;-webkit-font-smoothing:subpixel-antialiased}.tooltipped:before{position:absolute;z-index:1000001;display:none;width:0;height:0;color:rgba(0,0,0,0.8);pointer-events:none;content:"";border:5px solid transparent}.tooltipped:hover:before,.tooltipped:hover:after,.tooltipped:active:before,.tooltipped:active:after,.tooltipped:focus:before,.tooltipped:focus:after{display:inline-block;text-decoration:none}.tooltipped-multiline:hover:after,.tooltipped-multiline:active:after,.tooltipped-multiline:focus:after{display:table-cell}.tooltipped-s:after,.tooltipped-se:after,.tooltipped-sw:after{top:100%;right:50%;margin-top:5px}.tooltipped-s:before,.tooltipped-se:before,.tooltipped-sw:before{top:auto;right:50%;bottom:-5px;margin-right:-5px;border-bottom-color:rgba(0,0,0,0.8)}.tooltipped-se:after{right:auto;left:50%;margin-left:-15px}.tooltipped-sw:after{margin-right:-15px}.tooltipped-n:after,.tooltipped-ne:after,.tooltipped-nw:after{right:50%;bottom:100%;margin-bottom:5px}.tooltipped-n:before,.tooltipped-ne:before,.tooltipped-nw:before{top:-5px;right:50%;bottom:auto;margin-right:-5px;border-top-color:rgba(0,0,0,0.8)}.tooltipped-ne:after{right:auto;left:50%;margin-left:-15px}.tooltipped-nw:after{margin-right:-15px}.tooltipped-s:after,.tooltipped-n:after{-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%)}.tooltipped-w:after{right:100%;bottom:50%;margin-right:5px;-webkit-transform:translateY(50%);-ms-transform:translateY(50%);transform:translateY(50%)}.tooltipped-w:before{top:50%;bottom:50%;left:-5px;margin-top:-5px;border-left-color:rgba(0,0,0,0.8)}.tooltipped-e:after{bottom:50%;left:100%;margin-left:5px;-webkit-transform:translateY(50%);-ms-transform:translateY(50%);transform:translateY(50%)}.tooltipped-e:before{top:50%;right:-5px;bottom:50%;margin-top:-5px;border-right-color:rgba(0,0,0,0.8)}.tooltipped-multiline:after{width:-moz-max-content;width:-webkit-max-content;max-width:250px;word-break:break-word;word-wrap:normal;white-space:pre-line;border-collapse:separate}.tooltipped-multiline.tooltipped-s:after,.tooltipped-multiline.tooltipped-n:after{right:auto;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.tooltipped-multiline.tooltipped-w:after,.tooltipped-multiline.tooltipped-e:after{right:100%}@media screen and (min-width: 0\0){.tooltipped-multiline:after{width:250px}}.tooltipped-sticky:before,.tooltipped-sticky:after{display:inline-block}.tooltipped-sticky.tooltipped-multiline:after{display:table-cell}.fullscreen-overlay-enabled.dark-theme .tooltipped:after{color:#000;background:rgba(255,255,255,0.8)}.fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-s:before,.fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-se:before,.fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-sw:before{border-bottom-color:rgba(255,255,255,0.8)}.fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-n:before,.fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-ne:before,.fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-nw:before{border-top-color:rgba(255,255,255,0.8)}.fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-e:before{border-right-color:rgba(255,255,255,0.8)}.fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-w:before{border-left-color:rgba(255,255,255,0.8)}.flex-table{display:table}.flex-table-item{display:table-cell;width:1%;white-space:nowrap;vertical-align:middle}.flex-table-item-primary{width:99%}.css-truncate.css-truncate-target,.css-truncate .css-truncate-target{display:inline-block;max-width:125px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:top}.css-truncate.expandable.zeroclipboard-is-hover .css-truncate-target,.css-truncate.expandable.zeroclipboard-is-hover.css-truncate-target,.css-truncate.expandable:hover .css-truncate-target,.css-truncate.expandable:hover.css-truncate-target{max-width:10000px !important}.sunken-menu{position:relative;padding-top:15px;padding-bottom:15px;background-image:-webkit-linear-gradient(left, #f6f6f6 0%, #fff 8px);background-image:linear-gradient(to right, #f6f6f6 0%, #fff 8px);box-shadow:inset 1px 0 0 #eee}.sunken-menu:before,.sunken-menu:after{position:absolute;left:0;width:100%;height:15px;content:"";background-color:transparent}.sunken-menu:before{top:0;background-color:transparent;background-image:-webkit-linear-gradient(#fff, rgba(255,255,255,0));background-image:linear-gradient(#fff, rgba(255,255,255,0))}.sunken-menu:after{bottom:0;background-color:transparent;background-image:-webkit-linear-gradient(rgba(255,255,255,0), #fff);background-image:linear-gradient(rgba(255,255,255,0), #fff)}.sunken-menu-separator{position:relative;height:5px;margin:8px 0 6px 1px;background-image:-webkit-radial-gradient(farthest-side at left top, #f4f4f4, rgba(244,244,244,0));background-image:radial-gradient(farthest-side at left top, #f4f4f4, rgba(244,244,244,0))}.sunken-menu-separator:before{position:absolute;top:0;width:100%;height:1px;content:"";background-image:-webkit-linear-gradient(left, #eee 70%, #fff 100%);background-image:linear-gradient(to right, #eee 70%, #fff 100%);border-top:1px solid #eee\9}.sunken-menu-group{list-style-type:none}.sunken-menu-item{display:block;padding:8px 10px;margin-top:5px;margin-bottom:5px;border:1px solid transparent;outline:0}.sunken-menu-item .counter{position:absolute;top:8px;right:10px}.sunken-menu-item .octicon{left:-1px;width:16px;color:#999;text-align:center}.sunken-menu-item .mini-loader{position:absolute;top:9px;left:11px;display:none}.sunken-menu-item:focus,.sunken-menu-item:hover{text-decoration:none;box-shadow:inset 2px 0 0 #ccc}.sunken-menu-item:focus .octicon,.sunken-menu-item:hover .octicon{color:#333}.sunken-menu-item.selected{font-weight:bold;color:#333;background-color:#fff;border-color:#eee #eee #eee transparent;border-radius:0 3px 3px 0;box-shadow:1px 1px 3px rgba(0,0,0,0.05)}.sunken-menu-item.selected:after{position:absolute;top:0;right:0;bottom:0;width:3px;content:"";background-color:#d26911;border-radius:0 3px 3px 0}.sunken-menu-item.selected .octicon{color:#333}.sunken-menu-item.is-loading .mini-loader{display:inline-block;-webkit-animation:mini-nav-loader, 0.4s, forwards;animation:mini-nav-loader, 0.4s, forwards}.sunken-menu-item.is-loading .octicon{color:#fff}@-webkit-keyframes mini-nav-loader{0%,
+ 90%{opacity:0}100%{opacity:1}}@keyframes mini-nav-loader{0%,
+ 90%{opacity:0}100%{opacity:1}}@font-face{font-family:'octicons';src:url(/assets/octicons/octicons/octicons-d5329fb2f700a56fe0b9ae5c301fabbdf5d77c1293b1fa1d35de9357530e2326.eot?#iefix) format("embedded-opentype"),url(/assets/octicons/octicons/octicons-70c2cafa59738740d1ad6d66d46342bafdc6ca63ade3e44c24bed1e6f7b1db71.woff) format("woff"),url(/assets/octicons/octicons/octicons-39c6d7739e9153806ef211d2a0f75044891634c4f67425e6250b0d8c6283c2c7.ttf) format("truetype"),url(/assets/octicons/octicons/octicons-c11b1be24a2862c1dc8880c22867d8d01315c9d7da5167c42119eb1bcce2e33c.svg#octicons) format("svg");font-weight:normal;font-style:normal}.octicon,.mega-octicon{font:normal normal normal 16px/1 octicons;display:inline-block;text-decoration:none;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mega-octicon{font-size:32px}.octicon-alert:before{content:'\f02d'}.octicon-alignment-align:before{content:'\f08a'}.octicon-alignment-aligned-to:before{content:'\f08e'}.octicon-alignment-unalign:before{content:'\f08b'}.octicon-arrow-down:before{content:'\f03f'}.octicon-arrow-left:before{content:'\f040'}.octicon-arrow-right:before{content:'\f03e'}.octicon-arrow-small-down:before{content:'\f0a0'}.octicon-arrow-small-left:before{content:'\f0a1'}.octicon-arrow-small-right:before{content:'\f071'}.octicon-arrow-small-up:before{content:'\f09f'}.octicon-arrow-up:before{content:'\f03d'}.octicon-beer:before{content:'\f069'}.octicon-book:before{content:'\f007'}.octicon-bookmark:before{content:'\f07b'}.octicon-briefcase:before{content:'\f0d3'}.octicon-broadcast:before{content:'\f048'}.octicon-browser:before{content:'\f0c5'}.octicon-bug:before{content:'\f091'}.octicon-calendar:before{content:'\f068'}.octicon-check:before{content:'\f03a'}.octicon-checklist:before{content:'\f076'}.octicon-chevron-down:before{content:'\f0a3'}.octicon-chevron-left:before{content:'\f0a4'}.octicon-chevron-right:before{content:'\f078'}.octicon-chevron-up:before{content:'\f0a2'}.octicon-circle-slash:before{content:'\f084'}.octicon-circuit-board:before{content:'\f0d6'}.octicon-clippy:before{content:'\f035'}.octicon-clock:before{content:'\f046'}.octicon-cloud-download:before{content:'\f00b'}.octicon-cloud-upload:before{content:'\f00c'}.octicon-code:before{content:'\f05f'}.octicon-color-mode:before{content:'\f065'}.octicon-comment-add:before,.octicon-comment:before{content:'\f02b'}.octicon-comment-discussion:before{content:'\f04f'}.octicon-credit-card:before{content:'\f045'}.octicon-dash:before{content:'\f0ca'}.octicon-dashboard:before{content:'\f07d'}.octicon-database:before{content:'\f096'}.octicon-device-camera:before{content:'\f056'}.octicon-device-camera-video:before{content:'\f057'}.octicon-device-desktop:before{content:'\f27c'}.octicon-device-mobile:before{content:'\f038'}.octicon-diff:before{content:'\f04d'}.octicon-diff-added:before{content:'\f06b'}.octicon-diff-ignored:before{content:'\f099'}.octicon-diff-modified:before{content:'\f06d'}.octicon-diff-removed:before{content:'\f06c'}.octicon-diff-renamed:before{content:'\f06e'}.octicon-ellipsis:before{content:'\f09a'}.octicon-eye-unwatch:before,.octicon-eye-watch:before,.octicon-eye:before{content:'\f04e'}.octicon-file-binary:before{content:'\f094'}.octicon-file-code:before{content:'\f010'}.octicon-file-directory:before{content:'\f016'}.octicon-file-media:before{content:'\f012'}.octicon-file-pdf:before{content:'\f014'}.octicon-file-submodule:before{content:'\f017'}.octicon-file-symlink-directory:before{content:'\f0b1'}.octicon-file-symlink-file:before{content:'\f0b0'}.octicon-file-text:before{content:'\f011'}.octicon-file-zip:before{content:'\f013'}.octicon-flame:before{content:'\f0d2'}.octicon-fold:before{content:'\f0cc'}.octicon-gear:before{content:'\f02f'}.octicon-gift:before{content:'\f042'}.octicon-gist:before{content:'\f00e'}.octicon-gist-secret:before{content:'\f08c'}.octicon-git-branch-create:before,.octicon-git-branch-delete:before,.octicon-git-branch:before{content:'\f020'}.octicon-git-commit:before{content:'\f01f'}.octicon-git-compare:before{content:'\f0ac'}.octicon-git-merge:before{content:'\f023'}.octicon-git-pull-request-abandoned:before,.octicon-git-pull-request:before{content:'\f009'}.octicon-globe:before{content:'\f0b6'}.octicon-graph:before{content:'\f043'}.octicon-heart:before{content:'\2665'}.octicon-history:before{content:'\f07e'}.octicon-home:before{content:'\f08d'}.octicon-horizontal-rule:before{content:'\f070'}.octicon-hourglass:before{content:'\f09e'}.octicon-hubot:before{content:'\f09d'}.octicon-inbox:before{content:'\f0cf'}.octicon-info:before{content:'\f059'}.octicon-issue-closed:before{content:'\f028'}.octicon-issue-opened:before{content:'\f026'}.octicon-issue-reopened:before{content:'\f027'}.octicon-jersey:before{content:'\f019'}.octicon-jump-down:before{content:'\f072'}.octicon-jump-left:before{content:'\f0a5'}.octicon-jump-right:before{content:'\f0a6'}.octicon-jump-up:before{content:'\f073'}.octicon-key:before{content:'\f049'}.octicon-keyboard:before{content:'\f00d'}.octicon-law:before{content:'\f0d8'}.octicon-light-bulb:before{content:'\f000'}.octicon-link:before{content:'\f05c'}.octicon-link-external:before{content:'\f07f'}.octicon-list-ordered:before{content:'\f062'}.octicon-list-unordered:before{content:'\f061'}.octicon-location:before{content:'\f060'}.octicon-gist-private:before,.octicon-mirror-private:before,.octicon-git-fork-private:before,.octicon-lock:before{content:'\f06a'}.octicon-logo-github:before{content:'\f092'}.octicon-mail:before{content:'\f03b'}.octicon-mail-read:before{content:'\f03c'}.octicon-mail-reply:before{content:'\f051'}.octicon-mark-github:before{content:'\f00a'}.octicon-markdown:before{content:'\f0c9'}.octicon-megaphone:before{content:'\f077'}.octicon-mention:before{content:'\f0be'}.octicon-microscope:before{content:'\f089'}.octicon-milestone:before{content:'\f075'}.octicon-mirror-public:before,.octicon-mirror:before{content:'\f024'}.octicon-mortar-board:before{content:'\f0d7'}.octicon-move-down:before{content:'\f0a8'}.octicon-move-left:before{content:'\f074'}.octicon-move-right:before{content:'\f0a9'}.octicon-move-up:before{content:'\f0a7'}.octicon-mute:before{content:'\f080'}.octicon-no-newline:before{content:'\f09c'}.octicon-octoface:before{content:'\f008'}.octicon-organization:before{content:'\f037'}.octicon-package:before{content:'\f0c4'}.octicon-paintcan:before{content:'\f0d1'}.octicon-pencil:before{content:'\f058'}.octicon-person-add:before,.octicon-person-follow:before,.octicon-person:before{content:'\f018'}.octicon-pin:before{content:'\f041'}.octicon-playback-fast-forward:before{content:'\f0bd'}.octicon-playback-pause:before{content:'\f0bb'}.octicon-playback-play:before{content:'\f0bf'}.octicon-playback-rewind:before{content:'\f0bc'}.octicon-plug:before{content:'\f0d4'}.octicon-repo-create:before,.octicon-gist-new:before,.octicon-file-directory-create:before,.octicon-file-add:before,.octicon-plus:before{content:'\f05d'}.octicon-podium:before{content:'\f0af'}.octicon-primitive-dot:before{content:'\f052'}.octicon-primitive-square:before{content:'\f053'}.octicon-pulse:before{content:'\f085'}.octicon-puzzle:before{content:'\f0c0'}.octicon-question:before{content:'\f02c'}.octicon-quote:before{content:'\f063'}.octicon-radio-tower:before{content:'\f030'}.octicon-repo-delete:before,.octicon-repo:before{content:'\f001'}.octicon-repo-clone:before{content:'\f04c'}.octicon-repo-force-push:before{content:'\f04a'}.octicon-gist-fork:before,.octicon-repo-forked:before{content:'\f002'}.octicon-repo-pull:before{content:'\f006'}.octicon-repo-push:before{content:'\f005'}.octicon-rocket:before{content:'\f033'}.octicon-rss:before{content:'\f034'}.octicon-ruby:before{content:'\f047'}.octicon-screen-full:before{content:'\f066'}.octicon-screen-normal:before{content:'\f067'}.octicon-search-save:before,.octicon-search:before{content:'\f02e'}.octicon-server:before{content:'\f097'}.octicon-settings:before{content:'\f07c'}.octicon-log-in:before,.octicon-sign-in:before{content:'\f036'}.octicon-log-out:before,.octicon-sign-out:before{content:'\f032'}.octicon-split:before{content:'\f0c6'}.octicon-squirrel:before{content:'\f0b2'}.octicon-star-add:before,.octicon-star-delete:before,.octicon-star:before{content:'\f02a'}.octicon-steps:before{content:'\f0c7'}.octicon-stop:before{content:'\f08f'}.octicon-repo-sync:before,.octicon-sync:before{content:'\f087'}.octicon-tag-remove:before,.octicon-tag-add:before,.octicon-tag:before{content:'\f015'}.octicon-telescope:before{content:'\f088'}.octicon-terminal:before{content:'\f0c8'}.octicon-three-bars:before{content:'\f05e'}.octicon-thumbsdown:before{content:'\f0db'}.octicon-thumbsup:before{content:'\f0da'}.octicon-tools:before{content:'\f031'}.octicon-trashcan:before{content:'\f0d0'}.octicon-triangle-down:before{content:'\f05b'}.octicon-triangle-left:before{content:'\f044'}.octicon-triangle-right:before{content:'\f05a'}.octicon-triangle-up:before{content:'\f0aa'}.octicon-unfold:before{content:'\f039'}.octicon-unmute:before{content:'\f0ba'}.octicon-versions:before{content:'\f064'}.octicon-remove-close:before,.octicon-x:before{content:'\f081'}.octicon-zap:before{content:'\26A1'}.date_selector{width:225px;text-align:left;text-decoration:none;z-index:9;display:none}.date_selector .month_nav,.date_selector .year_nav{margin-top:5px;margin-bottom:5px;padding:0;display:block;position:relative;text-align:center;line-height:20px}.date_selector .month_nav{float:left;width:55%}.date_selector .year_nav{float:right;width:35%}.date_selector .date-button{position:absolute;top:0;width:18px;height:18px;padding:4px;color:#4183c4;font-size:12px;cursor:pointer;line-height:12px}.date_selector .prev{left:0}.date_selector .next{right:0}.date_selector table{width:100%;clear:both}.date_selector tr{font-size:0}.date_selector th,.date_selector td{width:32px;height:32px;line-height:28px;padding:0;text-align:center;font-weight:normal;display:inline-block;font-size:12px;margin-top:-1px;margin-left:-1px}.date_selector td{border:1px solid #ccc;color:#4183c4;background:#fff;cursor:default}.date_selector td.today{background:#eee}.date_selector td.selected,.date_selector td.selectable_day:hover{background:#4183c4;color:#fff;border-color:#3269a0;z-index:10;position:relative;cursor:pointer}.date_selector td.unselected_month{color:#ccc}.jcrop-holder{direction:ltr;text-align:left;-ms-touch-action:none}.jcrop-vline,.jcrop-hline{background:#fff url(/images/spinners/Jcrop.gif);font-size:0;position:absolute}.jcrop-vline{height:100%;width:1px !important}.jcrop-vline.right{right:0}.jcrop-hline{height:1px !important;width:100%}.jcrop-hline.bottom{bottom:0}.jcrop-tracker{height:100%;width:100%;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none}.jcrop-handle{background-color:#333;border:1px #eee solid;width:7px;height:7px;font-size:1px}.jcrop-handle.ord-n{left:50%;margin-left:-4px;margin-top:-4px;top:0}.jcrop-handle.ord-s{bottom:0;left:50%;margin-bottom:-4px;margin-left:-4px}.jcrop-handle.ord-e{margin-right:-4px;margin-top:-4px;right:0;top:50%}.jcrop-handle.ord-w{left:0;margin-left:-4px;margin-top:-4px;top:50%}.jcrop-handle.ord-nw{left:0;margin-left:-4px;margin-top:-4px;top:0}.jcrop-handle.ord-ne{margin-right:-4px;margin-top:-4px;right:0;top:0}.jcrop-handle.ord-se{bottom:0;margin-bottom:-4px;margin-right:-4px;right:0}.jcrop-handle.ord-sw{bottom:0;left:0;margin-bottom:-4px;margin-left:-4px}.jcrop-dragbar.ord-n,.jcrop-dragbar.ord-s{height:7px;width:100%}.jcrop-dragbar.ord-e,.jcrop-dragbar.ord-w{height:100%;width:7px}.jcrop-dragbar.ord-n{margin-top:-4px}.jcrop-dragbar.ord-s{bottom:0;margin-bottom:-4px}.jcrop-dragbar.ord-e{margin-right:-4px;right:0}.jcrop-dragbar.ord-w{margin-left:-4px}.jcrop-light .jcrop-vline,.jcrop-light .jcrop-hline{background:#fff;filter:alpha(opacity=70) !important;opacity:0.7 !important}.jcrop-light .jcrop-handle{-moz-border-radius:3px;-webkit-border-radius:3px;background-color:#000;border-color:#fff;border-radius:3px}.jcrop-dark .jcrop-vline,.jcrop-dark .jcrop-hline{background:#000;filter:alpha(opacity=70) !important;opacity:0.7 !important}.jcrop-dark .jcrop-handle{-moz-border-radius:3px;-webkit-border-radius:3px;background-color:#fff;border-color:#000;border-radius:3px}.jcrop-holder img,img.jcrop-preview{max-width:none}.code-frequency .addition{fill-opacity:1;fill:#6cc644}.code-frequency .deletion{fill-opacity:1;fill:#bd2c00}.cadd{font-weight:bold;color:#6cc644}.cdel{font-weight:bold;color:#bd2c00}.commit-activity-graphs .dots{display:none}#commit-activity-master{margin-top:20px}.is-graph-loading #commit-activity-master{display:none}rect{shape-rendering:crispedges}rect.max{fill:#ffc644}g.bar{fill:#1db34f}g.mini{fill:#f17f49}g.active rect{fill:#bd380f}circle.focus{fill:#555}.dot text{stroke:none;fill:#555}.tint-box{border-radius:6px;background:#f3f3f3;position:relative;margin-bottom:10px}.tint-box.transparent{background:#fff}.tint-box .activity{margin-top:0;padding-top:100px}.contrib-data{margin:0 0 10px;list-style:none;padding:0}#contributors .capped-card .avatar{float:left;width:32px;height:32px;margin-right:5px}#contributors .capped-card h3{font-weight:normal}#contributors .capped-card .ameta{display:block;font-size:12px;color:#ccc}#contributors .capped-card .rank{float:right;color:#999;font-size:13px}#contributors .capped-card .cmt{color:#999}#contributors .capped-card path{fill:#f17f49}#contributors .capped-card .midlabel{fill:#ccc}.d{color:#bd2c00}.a{color:#6cc644}.axis{fill:#aaa;font-size:10px}.axis line{shape-rendering:crispedges;stroke:#eee}.axis path{display:none}.axis .zero line{stroke-width:1.5;stroke:#4183c4;stroke-dasharray:3 3}.graphs .is-graph-loading{min-height:500px}.graphs.wheader h2{padding:1px}.graphs .area{fill:#1db34f;fill-opacity:0.5}.graphs .path{stroke:#1db34f;stroke-width:2px;stroke-opacity:1;fill:none}.graphs .dot{fill:#1db34f;stroke:#16873c;stroke-width:2px}.graphs .dot.padded{stroke:#fff;stroke-width:1px}.graphs .dot.padded circle:hover{fill:#4183c4}.graphs .d3-tip{fill:#333}.graphs .d3-tip text{fill:#fff;font-size:11px}.graphs .dir{font-size:12px;font-weight:normal;color:#555;line-height:100%;padding-top:5px;float:right}.graphs .selection rect{fill:#333;fill-opacity:0.1;stroke:#333;stroke-width:1px;stroke-opacity:0.4;shape-rendering:crispedges;stroke-dasharray:3 3}.graph-filter h3{display:inline-block;margin:10px 0 0;font-weight:300;font-size:24px}.graph-filter .info{margin-top:5px;margin-bottom:20px;color:#777}.graph-filter .select-menu{float:right;margin-top:13px}h2.ghead:after{content:".";height:0;display:block;visibility:hidden;clear:both}.graph-canvas .activity{text-align:center;width:400px;margin:100px auto 0;color:#444;border-radius:3px;padding:10px}.graph-canvas .error{color:#900;background:#feeaea;padding:10px;border-radius:3px}.graph-canvas .dots{margin:0 auto}.graph-canvas>.activity{display:none}.graph-loading,.graph-error,.graph-empty{display:none}.graph-canvas.is-graph-loading>.activity,.graph-canvas.is-graph-empty>.activity{display:block}.is-graph-loading .graph-loading,.is-graph-empty .graph-empty,.is-graph-load-error .graph-error{display:block}.svg-tip{padding:10px;background:rgba(0,0,0,0.8);color:#bbb;font-size:12px;position:absolute;z-index:99999;text-align:center;border-radius:3px}.svg-tip strong{color:#ddd}.svg-tip.is-visible{display:block}.svg-tip:after{box-sizing:border-box;position:absolute;left:50%;height:5px;width:5px;bottom:-10px;margin:0 0 0 -5px;content:" ";border:5px solid transparent;border-top-color:rgba(0,0,0,0.8)}.svg-tip.comparison{text-align:left;pointer-events:none;padding:0}.svg-tip.comparison .title{display:block;padding:10px;margin:0;line-height:1;font-weight:bold;pointer-events:none}.svg-tip.comparison ul{list-style:none;margin:0;white-space:nowrap}.svg-tip.comparison li{display:inline-block;padding:10px}.svg-tip.comparison li:first-child{border-top:3px solid #1db34f;border-right:1px solid #333}.svg-tip.comparison li:last-child{border-top:3px solid #1d7fb3}.svg-tip-one-line{white-space:nowrap}.day-name{fill:#555}circle.day{stroke-width:0;fill:#444}circle.day:hover{fill:#4183c4}line.axis{stroke-width:1;stroke:#eee;shape-rendering:crispedges}line.axis.even{stroke:#e0e0e0}.traffic-graph{min-height:150px}.traffic-graph .activity{margin-top:0}.traffic-graph .activity .dots{margin-top:40px}.traffic-graph .path{fill:none;stroke-width:2}.traffic-graph path.total{stroke:#1db34f}.traffic-graph path.unique{stroke:#1d7fb3}.traffic-graph .x.axis .tick:first-child line{stroke:#1db34f;stroke-width:2px}.traffic-graph .y line{stroke:#1db34f}.traffic-graph .y.unique line{stroke:#1d7fb3}.traffic-graph .overlay{fill-opacity:0}.uniques-graph .x.axis .tick:nth-child(14) line{stroke:#1d7fb3;stroke-width:2px}.svg-tip .date{color:#fff}#top-domains .dots{margin:167px auto 0;display:block}#top-domains .favicon{width:16px;height:16px}table.capped-list{width:100%;line-height:100%}table.capped-list th{text-align:left;padding:8px;border-bottom:1px solid #ddd;background:#f4f4f4}table.capped-list td{padding:8px;border-bottom:1px solid #eee;font-size:12px}table.capped-list th.middle,table.capped-list td.middle{text-align:center}table.capped-list .favicon{width:16px;height:16px;vertical-align:middle;margin:0 5px}table.capped-list .octicon{margin-right:10px;vertical-align:-1px;color:#555}table.capped-list tr:nth-child(even){background-color:#fcfcfc}table.capped-list.mini-icons .mini-icon{margin-right:5px;color:#555}.capped-list-label{overflow:hidden;white-space:nowrap;max-width:200px;text-overflow:ellipsis}.traffic-graph-stats{border-top:1px solid #ddd}.traffic-graph-stats .summary-stats{width:100%}.traffic-graph-stats .summary-stats:before{display:table;content:""}.traffic-graph-stats .summary-stats:after{display:table;clear:both;content:""}.traffic-graph-stats .summary-stats li{width:50%;display:block;float:left;padding-bottom:10px}.totals circle{fill:#1db34f;stroke:#fff;stroke-width:2}.uniques circle{fill:#1d7fb3;stroke:#fff;stroke-width:2}.top-lists .is-loading{text-align:center;margin:40px}ul.web-views li{width:140px}ul.clones li{width:170px}.markdown-body{overflow:hidden;font-family:"Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif;font-size:16px;line-height:1.6;word-wrap:break-word}.markdown-body>*:first-child{margin-top:0 !important}.markdown-body>*:last-child{margin-bottom:0 !important}.markdown-body a:not(:link):not(:visited){color:inherit;text-decoration:none}.markdown-body .absent{color:#c00}.markdown-body .anchor{position:absolute;top:0;left:0;display:block;padding-right:6px;padding-left:30px;margin-left:-30px}.markdown-body .anchor:focus{outline:none}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{position:relative;margin-top:1em;margin-bottom:16px;font-weight:bold;line-height:1.4}.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link{display:none;color:#000;vertical-align:middle}.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor{padding-left:8px;margin-left:-30px;text-decoration:none}.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link{display:inline-block}.markdown-body h1 tt,.markdown-body h1 code,.markdown-body h2 tt,.markdown-body h2 code,.markdown-body h3 tt,.markdown-body h3 code,.markdown-body h4 tt,.markdown-body h4 code,.markdown-body h5 tt,.markdown-body h5 code,.markdown-body h6 tt,.markdown-body h6 code{font-size:inherit}.markdown-body h1{padding-bottom:0.3em;font-size:2.25em;line-height:1.2;border-bottom:1px solid #eee}.markdown-body h1 .anchor{line-height:1}.markdown-body h2{padding-bottom:0.3em;font-size:1.75em;line-height:1.225;border-bottom:1px solid #eee}.markdown-body h2 .anchor{line-height:1}.markdown-body h3{font-size:1.5em;line-height:1.43}.markdown-body h3 .anchor{line-height:1.2}.markdown-body h4{font-size:1.25em}.markdown-body h4 .anchor{line-height:1.2}.markdown-body h5{font-size:1em}.markdown-body h5 .anchor{line-height:1.1}.markdown-body h6{font-size:1em;color:#777}.markdown-body h6 .anchor{line-height:1.1}.markdown-body p,.markdown-body blockquote,.markdown-body ul,.markdown-body ol,.markdown-body dl,.markdown-body table,.markdown-body pre{margin-top:0;margin-bottom:16px}.markdown-body hr{height:4px;padding:0;margin:16px 0;background-color:#e7e7e7;border:0 none}.markdown-body ul,.markdown-body ol{padding-left:2em}.markdown-body ul.no-list,.markdown-body ol.no-list{padding:0;list-style-type:none}.markdown-body ul ul,.markdown-body ul ol,.markdown-body ol ol,.markdown-body ol ul{margin-top:0;margin-bottom:0}.markdown-body li>p{margin-top:16px}.markdown-body dl{padding:0}.markdown-body dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:bold}.markdown-body dl dd{padding:0 16px;margin-bottom:16px}.markdown-body blockquote{padding:0 15px;color:#777;border-left:4px solid #ddd}.markdown-body blockquote>:first-child{margin-top:0}.markdown-body blockquote>:last-child{margin-bottom:0}.markdown-body table{display:block;width:100%;overflow:auto;word-break:normal;word-break:keep-all}.markdown-body table th{font-weight:bold}.markdown-body table th,.markdown-body table td{padding:6px 13px;border:1px solid #ddd}.markdown-body table tr{background-color:#fff;border-top:1px solid #ccc}.markdown-body table tr:nth-child(2n){background-color:#f8f8f8}.markdown-body img{max-width:100%;box-sizing:border-box}.markdown-body .emoji{max-width:none}.markdown-body span.frame{display:block;overflow:hidden}.markdown-body span.frame>span{display:block;float:left;width:auto;padding:7px;margin:13px 0 0;overflow:hidden;border:1px solid #ddd}.markdown-body span.frame span img{display:block;float:left}.markdown-body span.frame span span{display:block;padding:5px 0 0;clear:both;color:#333}.markdown-body span.align-center{display:block;overflow:hidden;clear:both}.markdown-body span.align-center>span{display:block;margin:13px auto 0;overflow:hidden;text-align:center}.markdown-body span.align-center span img{margin:0 auto;text-align:center}.markdown-body span.align-right{display:block;overflow:hidden;clear:both}.markdown-body span.align-right>span{display:block;margin:13px 0 0;overflow:hidden;text-align:right}.markdown-body span.align-right span img{margin:0;text-align:right}.markdown-body span.float-left{display:block;float:left;margin-right:13px;overflow:hidden}.markdown-body span.float-left span{margin:13px 0 0}.markdown-body span.float-right{display:block;float:right;margin-left:13px;overflow:hidden}.markdown-body span.float-right>span{display:block;margin:13px auto 0;overflow:hidden;text-align:right}.markdown-body code,.markdown-body tt{padding:0;padding-top:0.2em;padding-bottom:0.2em;margin:0;font-size:85%;background-color:rgba(0,0,0,0.04);border-radius:3px}.markdown-body code:before,.markdown-body code:after,.markdown-body tt:before,.markdown-body tt:after{letter-spacing:-0.2em;content:"\00a0"}.markdown-body code br,.markdown-body tt br{display:none}.markdown-body del code{text-decoration:inherit}.markdown-body pre>code{padding:0;margin:0;font-size:100%;word-break:normal;white-space:pre;background:transparent;border:0}.markdown-body .highlight{margin-bottom:16px}.markdown-body .highlight pre,.markdown-body pre{padding:16px;overflow:auto;font-size:85%;line-height:1.45;background-color:#f7f7f7;border-radius:3px}.markdown-body .highlight pre{margin-bottom:0;word-break:normal}.markdown-body pre{word-wrap:normal}.markdown-body pre code,.markdown-body pre tt{display:inline;max-width:initial;padding:0;margin:0;overflow:initial;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.markdown-body pre code:before,.markdown-body pre code:after,.markdown-body pre tt:before,.markdown-body pre tt:after{content:normal}.markdown-body kbd{display:inline-block;padding:3px 5px;font-size:11px;line-height:10px;color:#555;vertical-align:middle;background-color:#fcfcfc;border:solid 1px #ccc;border-bottom-color:#bbb;border-radius:3px;box-shadow:inset 0 -1px 0 #bbb}.pl-c{color:#969896}.pl-c1,.pl-mdh,.pl-mm,.pl-mp,.pl-mr,.pl-s1 .pl-v,.pl-s3,.pl-sc,.pl-sv{color:#0086b3}.pl-e,.pl-en{color:#795da3}.pl-s1 .pl-s2,.pl-smi,.pl-smp,.pl-stj,.pl-vo,.pl-vpf{color:#333}.pl-ent{color:#63a35c}.pl-k,.pl-s,.pl-st{color:#a71d5d}.pl-pds,.pl-s1,.pl-s1 .pl-pse .pl-s2,.pl-sr,.pl-sr .pl-cce,.pl-sr .pl-sra,.pl-sr .pl-sre,.pl-src{color:#183691}.pl-v{color:#ed6a43}.pl-id{color:#b52a1d}.pl-ii{background-color:#b52a1d;color:#f8f8f8}.pl-sr .pl-cce{color:#63a35c;font-weight:bold}.pl-ml{color:#693a17}.pl-mh,.pl-mh .pl-en,.pl-ms{color:#1d3e81;font-weight:bold}.pl-mq{color:#008080}.pl-mi{color:#333;font-style:italic}.pl-mb{color:#333;font-weight:bold}.pl-md,.pl-mdhf{background-color:#ffecec;color:#bd2c00}.pl-mdht,.pl-mi1{background-color:#eaffea;color:#55a532}.pl-mdr{color:#795da3;font-weight:bold}.pl-mo{color:#1d3e81}.ace_gutter{background:#ffffff;color:#999999}.ace_print-margin{width:1px;background:#e8e8e8}.ace-github-light{background-color:#ffffff;color:#333333}.ace_cursor{color:#000000}.ace_marker-layer .ace_selection{background:#c8c8fa}.ace_multiselect .ace_selection.ace_start{box-shadow:0 0 3px 0px #ffffff;border-radius:2px}.ace_marker-layer .ace_step{background:#c6dbae}.ace_marker-layer .ace_bracket{margin:-1px 0 0 -1px;border:1px solid #c0c0c0}.ace_marker-layer .ace_active-line{background:#f5f5f5}.ace_gutter-active-line{background-color:#f5f5f5}.ace_marker-layer .ace_selected-word{border:1px solid #c8c8fa}.ace_fold{background-color:#a71d5d;border-color:#333333}.ace_keyword{color:#a71d5d}.ace_constant{color:#0086b3}.ace_support{color:#0086b3}.ace_support.ace_constant{color:#0086b3}.ace_support.ace_type{color:#a71d5d}.ace_storage{color:#a71d5d}.ace_storage.ace_type{color:#a71d5d}.ace_invalid.ace_illegal{text-decoration:underline;font-style:italic;color:#f8f8f8;background-color:#b52a1d}.ace_invalid.ace_deprecated{text-decoration:underline;font-style:italic;color:#b52a1d}.ace_string{color:#183691}.ace_string.ace_regexp{color:#183691}.ace_comment{color:#969896}.ace_variable{color:#ed6a43}.ace_entity.ace_name{color:#795da3}.ace_entity.ace_name.ace_tag{color:#63a35c}.ace_markup.ace_heading{color:#1d3e81}.ace_markup.ace_list{color:#693a17}body{word-wrap:break-word}.focus-content{width:620px}#site-container>.container:first-child{margin-top:20px}.emoji-icon{display:inline-block;height:20px;width:20px;vertical-align:middle;background-repeat:no-repeat;background-size:20px 20px}.labels{position:relative}.label{display:inline-block;padding:3px 4px;font-size:11px;font-weight:bold;line-height:1;color:#fff;border-radius:2px;box-shadow:inset 0 -1px 0 rgba(0,0,0,0.12)}.label:hover{text-decoration:none}.label-admin{color:#999;background-color:#eee}.label-legacy-contributor{margin-top:-1px;margin-bottom:-1px;font-weight:normal;color:#999;background-color:transparent;border:1px solid #eee;box-shadow:none}.label-neutral{color:#fff;background-color:#999}a.label-link{border:1px solid transparent}a.label-link:hover{text-decoration:none}.label-membership-pending{background-color:#f93}.facebox{position:absolute;top:0;left:0;z-index:100;padding-bottom:40px}.facebox ul{margin-left:25px;margin-bottom:15px}.facebox .facebox-staff-links{margin:-15px -15px 15px;padding:10px 15px;background-color:#f5f5f5;border-bottom:1px solid #e5e5e5}.facebox .facebox-staff-links li{display:inline-block;margin-right:10px;color:#999;list-style:none}.facebox .facebox-staff-links a{font-weight:bold}.facebox pre{padding:10px;background-color:#eee;border:1px solid #ddd;border-radius:3px}.facebox .shortcuts{width:860px}.facebox .facebox-user-list{margin-left:0;margin-bottom:0;max-height:400px;overflow:auto}.facebox .lineprofiler{width:900px}.facebox .lineprofiler pre{overflow-x:scroll;white-space:pre;word-wrap:normal}.facebox-popup{position:relative;background-color:#fff;border:1px solid rgba(0,0,0,0.25);border-radius:5px;box-shadow:0 0 18px rgba(0,0,0,0.4);background-clip:padding-box}.facebox-content{width:455px;padding:15px}.facebox-content:before{display:table;content:""}.facebox-content:after{display:table;clear:both;content:""}.facebox-close{position:absolute;top:8px;right:5px;padding:10px;-webkit-appearance:none;background-color:transparent;border:0;opacity:0.25;cursor:pointer}.facebox-close:hover{opacity:1}.facebox-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.facebox-overlay-hide{z-index:-100}.facebox-overlay-active{z-index:99;background-color:#000}.facebox-loading{min-height:64px;background-image:url(/images/spinners/octocat-spinner-64.gif);background-position:center center;background-repeat:no-repeat}@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 2dppx){.facebox-loading{background-image:url(/images/spinners/octocat-spinner-128.gif);background-size:64px 64px}}.facebox-header{margin:-15px -15px 15px;padding:15px;border-bottom:1px solid #e5e5e5;font-size:18px;font-weight:normal}.facebox-footer{margin:0 -15px -15px;padding:10px 15px;border-top:1px solid #e5e5e5;border-bottom-right-radius:5px;border-bottom-left-radius:5px;background:#fafafa;text-align:right}.facebox-footer .help{margin:0;text-align:center;color:#777}.facebox-alert,.facebox-danger{margin:-16px -15px 15px;padding:10px 15px;border-style:solid;border-width:1px 0}.facebox-alert{color:#796620;background-color:#f8eec7;border-color:#f2e09a}.facebox-danger{padding-left:40px;color:#9c342e;background-color:#f7d9d7;border-color:#f2c4c2}.facebox-danger .octicon{float:left;margin-left:-25px}.facebox-separator{margin:20px -15px}.facebox-staff-search .hfields{margin-top:0;margin-bottom:0}.facebox-staff-search .hfields input[type="text"]{width:340px;margin-right:0}.facebox-staff-search .hfields .button{margin-top:29px;margin-right:0}.facebox-staff-search .status-check-list{float:none;margin:15px 0 0}#facebox .billing-credit-cards{margin:0 0 15px}#facebox .billing-credit-cards li{margin:0 4px 0 0}.keyboard-shortcuts{float:right;font-size:11px;color:#999}.keyboard-shortcuts .mini-icon{position:relative;top:2px;margin-left:5px}.keyboard-mappings{font-size:12px;color:#555}.keyboard-mappings th{padding-top:25px;font-size:14px;line-height:1.5;color:#333;text-align:left}.keyboard-mappings tbody:first-child tr:first-child th{padding-top:0}.keyboard-mappings td{padding-top:3px;padding-bottom:3px;vertical-align:top;line-height:20px}.keyboard-mappings .keys{padding-right:10px;color:#999;text-align:right;white-space:nowrap}.keyboard-mappings .platform-mac{display:none}.macintosh .keyboard-mappings .platform-mac{display:inline}.macintosh .keyboard-mappings .platform-other{display:none}.facebox-user-list-item{padding:3px 0;list-style:none;font-weight:bold;vertical-align:middle}.facebox-user-list-item a{color:#000}.facebox-user-list-item img{margin-right:5px;border-radius:3px;vertical-align:middle}.linejump .linejump-input{width:340px;background-color:#fafafa}.linejump .linejump-input,.linejump .button{font-size:16px;padding:10px 15px}.linejump+.facebox-close{top:18px}.repo-transfer-tip{margin-bottom:0}.user-mention,.team-mention{font-weight:bold;color:#333;white-space:nowrap}dl.form>dd input[type="text"].is-autocheck-loading,dl.form>dd input[type="password"].is-autocheck-loading,dl.form>dd input[type="email"].is-autocheck-loading{background-image:url(/images/spinners/octocat-spinner-32.gif);background-size:16px}dl.form>dd input[type="text"].is-autocheck-successful,dl.form>dd input[type="password"].is-autocheck-successful,dl.form>dd input[type="email"].is-autocheck-successful{background-image:url(/images/modules/ajax/success.png)}dl.form>dd input[type="text"].is-autocheck-errored,dl.form>dd input[type="password"].is-autocheck-errored,dl.form>dd input[type="email"].is-autocheck-errored{background-image:url(/images/modules/ajax/error.png)}.form-cards{height:31px;margin:0 0 15px}.form-cards .card{float:left;width:47px;height:31px;text-indent:-9999px;background-image:url(/images/modules/pricing/credit-cards-@1x.png);background-position:0 0;opacity:0.6}.form-cards .card.visa{background-position:0 0}.form-cards .card.amex{background-position:-50px 0}.form-cards .card.mastercard{background-position:-100px 0}.form-cards .card.discover{background-position:-150px 0}.form-cards .card.jcb{background-position:-200px 0}.form-cards .card.dinersclub{background-position:-250px 0}.form-cards .card.enabled{opacity:1}.form-cards .card.disabled{opacity:0.2}.form-cards>.cards{margin:0}.form-cards>.cards>li{float:left;margin:0 4px 0 0;list-style-type:none}.form-cards>.cards>li.text{font-size:11px;line-height:31px;color:#999}@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 2dppx){.form-cards>.cards .card{background-image:url(/images/modules/pricing/credit-cards-@2x.png);background-size:300px 31px}}.status-indicator-loading{position:relative;top:3px;width:16px;height:16px;margin-top:-4px;background:url(/images/spinners/octocat-spinner-32-EAF2F5.gif) 0 0 no-repeat;background-size:16px}.inline-form{display:inline-block}.callout{padding:10px;margin:15px 0;font-size:13px;color:#4c4a42;background-color:#fff9ea;border-color:#dfd8c2;border-radius:3px}.callout strong{font-weight:bold;color:#000}.callout h2{margin:0;font-size:16px;font-weight:300}.callout p:last-child{margin-bottom:0}.callout p:first-child{margin-top:0}.callout hr{width:100%;padding:0 10px;margin:10px 0 10px -10px;background:transparent;border-top:1px solid #e5e2c8;border-bottom:1px solid #fff}.infotip{padding:10px;margin:15px 0;font-size:12px;color:#4c4a42;background-color:#fff9ea;border:1px solid #dfd8c2;border-radius:3px}.infotip p{margin:0}.infotip p+p{margin-top:15px}.dashboard-notice{position:relative;padding:15px 15px 15px 55px;margin-bottom:20px;font-size:14px;background-color:#fafafa;border:solid 1px #d8d8d8;border-radius:3px}.dashboard-notice .dismiss{position:absolute;top:10px;right:10px;width:16px;height:16px;color:#bbb;cursor:pointer}.dashboard-notice .dismiss:hover{color:#666}.dashboard-notice .mega-octicon{position:absolute;top:15px;left:15px}.dashboard-notice .octicon-organization{color:#4183c4}.dashboard-notice h2{margin-top:9px;margin-bottom:16px;font-size:18px;font-weight:normal;color:#000}.dashboard-notice p{margin-top:0}.dashboard-notice p.no-title{padding-right:5px;margin-top:0}.dashboard-notice .inset-figure{float:right;margin-bottom:15px;margin-left:20px}.dashboard-notice ul{margin-left:18px}.dashboard-notice li{padding-bottom:15px}.dashboard-notice .coupon{padding:10px;margin:15px 0;font-size:20px;font-weight:bold;text-align:center;background:#fff;border:1px dashed #d1e5ff}kbd{display:inline-block;padding:3px 5px;font:11px Consolas, "Liberation Mono", Menlo, Courier, monospace;line-height:10px;color:#555;vertical-align:middle;background-color:#fcfcfc;border:solid 1px #ccc;border-bottom-color:#bbb;border-radius:3px;box-shadow:inset 0 -1px 0 #bbb}.badmono{font-family:sans-serif;font-weight:bold}.select-menu-button:after{display:inline-block;width:0;height:0;content:"";vertical-align:-2px;border:4px solid;border-right-color:transparent;border-left-color:transparent;border-bottom-color:transparent}.select-menu-button.icon-only{padding-left:7px}.select-menu-button.primary:after{border-top-color:#fff}.select-menu-button.primary:after:active{background-color:#4a993e}.select-menu .spinner{float:left;margin:4px 0 0 -24px}.select-menu.active .select-menu-modal-holder{display:block}.select-menu.right-aligned{float:right;position:relative}.select-menu.right-aligned .select-menu-modal-holder{right:0}.select-menu .select-menu-clear-item{display:block}.select-menu .select-menu-clear-item .octicon{color:inherit}.select-menu .select-menu-clear-item+.select-menu-no-results{display:none !important}.select-menu.is-loading .select-menu-loading-overlay{display:block}.select-menu.is-loading .select-menu-modal{min-height:200px}.select-menu-loading-overlay{display:none;text-indent:100%;height:100%;width:100%;position:absolute;top:0;z-index:5;border-radius:5px;border:1px solid transparent;background-color:rgba(255,255,255,0.8);-webkit-animation:pulse 2s infinite linear;animation:pulse 2s infinite linear}.select-menu-loading-overlay:before{position:absolute;left:50%;top:50%;margin:-16px 0 0 -16px;width:32px;content:"\f008";font:normal normal 32px/1 "octicons";display:inline-block;text-decoration:none;-webkit-font-smoothing:antialiased;text-indent:0}@-webkit-keyframes pulse{0%{color:rgba(170,170,170,0.1)}10%{color:#aaaaaa}100%{color:rgba(170,170,170,0.1)}}@keyframes pulse{0%{color:rgba(170,170,170,0.1)}10%{color:#aaaaaa}100%{color:rgba(170,170,170,0.1)}}.select-menu-modal-holder{position:absolute;display:none;z-index:21}.select-menu-modal{position:relative;width:300px;margin-top:4px;margin-bottom:20px;overflow:hidden;font-size:12px;color:#666;background-color:#fff;background-clip:padding-box;border:1px solid rgba(200,200,200,0.4);border-radius:3px;box-shadow:0 3px 12px rgba(0,0,0,0.15)}.select-menu-header{padding:8px 10px;background:#f5f5f5;border-bottom:1px solid rgba(200,200,200,0.4)}.select-menu-header .select-menu-title{font-weight:bold;color:#333;text-shadow:0 1px 0 #fff}.select-menu-header .octicon{display:block;float:right;color:#ccc;cursor:pointer}.select-menu-header .octicon:hover{color:#555}.select-menu-filters{background-color:#f8f8f8}.select-menu-text-filter{padding:10px 10px 0}.select-menu-text-filter:first-child:last-child{padding-bottom:10px;border-bottom:1px solid #ddd}.select-menu-text-filter input{display:block;width:100%;max-width:100%;padding:5px;border:1px solid #ddd;border-radius:3px}.select-menu-text-filter input::-webkit-input-placeholder,.select-menu-text-filter input:-moz-placeholder{color:#aaa}.select-menu-tabs{height:33px;border-bottom:1px solid #ddd}.select-menu-tabs ul{overflow:hidden;padding:14px 10px 0}.select-menu-tabs .select-menu-tab{display:inline-block}.select-menu-tabs a{height:20px;padding:5px 8px;font-size:11px;font-weight:bold;color:#888;text-decoration:none;line-height:20px;border-radius:3px 3px 0 0;cursor:pointer}.select-menu-tabs a:hover{color:#333}.select-menu-tabs a.selected{padding:4px 5px;border:1px solid #ddd;border-bottom:1px solid #fff;background-color:#fff;color:#333}.select-menu-list{max-height:400px;overflow:auto;position:relative}.select-menu-list.select-menu-tab-bucket{display:none}.select-menu-list.select-menu-tab-bucket.selected{display:block}.select-menu-list.is-showing-new-item-form .select-menu-new-item-form{display:table}.select-menu-list.is-showing-new-item-form .select-menu-no-results,.select-menu-list.is-showing-new-item-form .select-menu-clear-item{display:none}.select-menu-item{cursor:pointer;border-bottom:1px solid #eee;display:table;table-layout:fixed;width:100%;overflow:hidden;color:inherit}.select-menu-item:hover{text-decoration:none}.select-menu-item.select-menu-item-template{display:none}.select-menu-item.disabled,.select-menu-item.disabled.selected{color:#999}.select-menu-item.disabled .select-menu-item-gravatar,.select-menu-item.disabled.selected .select-menu-item-gravatar{opacity:0.5}.select-menu-item .octicon{vertical-align:middle}.select-menu-item .octicon-check{visibility:hidden}.select-menu-item input[type="radio"]{display:none}.select-menu-item .select-menu-item-icon{display:table-cell;color:transparent;vertical-align:top;padding:8px 0 8px 8px;width:24px;text-align:center}.select-menu-item.navigation-focus,.select-menu-item.navigation-focus.selected,.select-menu-item.navigation-focus.select-menu-action,.select-menu-item.navigation-focus .description-inline{background-color:#4183c4;color:#fff}.select-menu-item.navigation-focus>.octicon,.select-menu-item.navigation-focus.selected>.octicon,.select-menu-item.navigation-focus.select-menu-action>.octicon,.select-menu-item.navigation-focus .description-inline>.octicon{color:#fff}.select-menu-item.navigation-focus .text-danger,.select-menu-item.navigation-focus .description,.select-menu-item.navigation-focus.selected .text-danger,.select-menu-item.navigation-focus.selected .description,.select-menu-item.navigation-focus.select-menu-action .text-danger,.select-menu-item.navigation-focus.select-menu-action .description,.select-menu-item.navigation-focus .description-inline .text-danger,.select-menu-item.navigation-focus .description-inline .description{color:#fff}.select-menu-item>.octicon-dash{display:none}.select-menu-item.indeterminate>.octicon-check{display:none}.select-menu-item.indeterminate>.octicon-dash{display:table-cell}.select-menu-item.select-menu-action,.select-menu-item.selected{color:#333}.select-menu-item.select-menu-action .description,.select-menu-item.selected .description{color:#666}.select-menu-item.select-menu-action .octicon-check,.select-menu-item.selected .octicon-check{visibility:visible}.select-menu-item.select-menu-action>.octicon,.select-menu-item.selected>.octicon{color:#333}.select-menu-item.select-menu-action .select-menu-item-text{font-weight:bold}.select-menu[data-multiple] .select-menu-item:active{background-color:transparent !important}.select-menu-item a{color:inherit;text-decoration:none}.select-menu-item .hidden-select-button-text{display:none}.select-menu-item .css-truncate-target{display:table-cell;max-width:100%}form.select-menu-item>div:first-child{display:none !important}.select-menu-item.last-visible,.select-menu-list:last-child .select-menu-item:last-child{border-bottom:0;border-radius:0 0 3px 3px}.select-menu-actions .select-menu-item:hover{background-color:#4183c4;color:#fff}.select-menu-actions .select-menu-item:hover>.octicon{color:#fff}.select-menu-actions .select-menu-item:hover .description{color:#fff}.select-menu-no-results{padding:9px;display:none;cursor:auto;color:#999}.select-menu-list.filterable-empty .select-menu-no-results,.select-menu-no-results:only-child{display:block}.select-menu-button-gravatar,.select-menu-item-gravatar{overflow:hidden;line-height:0;width:20px}.select-menu-button-gravatar img,.select-menu-item-gravatar img{height:20px;width:20px;display:inline-block;border-radius:3px}.select-menu-item-gravatar{display:table-cell;padding:6px 0 6px 8px;vertical-align:top;width:28px}.select-menu-button-gravatar{display:inline-block;margin:6px 3px 6px 0;margin-right:5px;vertical-align:middle}.select-menu-item-text{display:table-cell;vertical-align:top;padding:8px 0 8px 8px;text-align:left}.select-menu-item-text:first-child{margin-left:5px}.select-menu-item-text .description{color:#999;font-size:12px;max-width:265px;display:block;margin-top:3px}.select-menu-item-text .description-inline{color:#999;font-size:10px}.select-menu-item-heading{display:block;margin-top:0;margin-bottom:0;font-size:14px;font-weight:bold;line-height:1.1}.select-menu-item-heading .description{font-weight:normal;display:inline}.select-menu-footer{padding:8px;font-weight:bold;border-top:1px solid #eee}.select-menu-footer a{display:inline-block;margin-top:1px;vertical-align:top}.select-menu-footer .octicon{color:#666}.select-menu-new-item-form{display:none}.select-menu-new-item-form .octicon{color:#4183c4}.modal-backdrop{display:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}body.menu-active .modal-backdrop{display:block;position:fixed;top:0;left:0;height:100%;width:100%;z-index:20}.dropdown{position:relative}.dropdown-caret{display:inline-block;width:0;height:0;content:"";vertical-align:-2px;border:4px solid;border-right-color:transparent;border-left-color:transparent;border-bottom-color:transparent}.dropdown-menu{position:absolute;top:100%;left:50%;z-index:100;width:160px;margin-top:2px;margin-left:-80px;padding-top:5px;padding-bottom:5px;list-style:none;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,0.15);border-radius:4px;box-shadow:0 3px 12px rgba(0,0,0,0.15)}.dropdown-menu:before{position:absolute;top:-16px;left:72px;display:inline-block;content:"";border:8px solid transparent;border-bottom-color:#ccc;border-bottom-color:rgba(0,0,0,0.15)}.dropdown-menu:after{position:absolute;top:-14px;left:73px;display:inline-block;content:"";border:7px solid transparent;border-bottom-color:#fff}.dropdown-menu>li>a{display:block;padding:4px 10px 4px 38px;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dropdown-menu>li>a>.octicon{float:left;margin-top:1px;margin-left:-23px;opacity:0.5}.dropdown-menu>li>a:hover,.dropdown-menu>li>a.zeroclipboard-is-hover{color:#fff;text-decoration:none;background-color:#4183c4}.dropdown-menu>li>a:hover>.octicon,.dropdown-menu>li>a.zeroclipboard-is-hover>.octicon{color:inherit;opacity:1}.dropdown-divider{height:1px;margin:8px 1px;background-color:#e5e5e5}.dropdown-header{padding:4px 15px;font-size:12px;color:#999}.dropdown-menu-content{display:none}.dropdown-menu-w{top:0;left:auto;right:100%;width:auto;margin-top:0;margin-left:0;margin-right:10px}.dropdown-menu-w:before{top:10px;right:-16px;left:auto;border-color:transparent;border-left-color:#ccc;border-left-color:rgba(0,0,0,0.15)}.dropdown-menu-w:after{top:11px;right:-14px;left:auto;border-color:transparent;border-left-color:#fff}.dropdown-menu-e{top:0;left:100%;width:auto;margin-top:0;margin-left:10px}.dropdown-menu-e:before{top:10px;left:-16px;border-color:transparent;border-right-color:#ccc;border-right-color:rgba(0,0,0,0.15)}.dropdown-menu-e:after{top:11px;left:-14px;border-color:transparent;border-right-color:#fff}include-fragment,poll-include-fragment{display:block}.pagination:before{display:table;content:""}.pagination:after{display:table;clear:both;content:""}.pagination a,.pagination span,.pagination em{position:relative;float:left;margin-left:-1px;font-size:13px;font-weight:bold;font-style:normal;padding:7px 12px;color:#4183c4;white-space:nowrap;vertical-align:middle;cursor:pointer;background:#fff;border:1px solid #e5e5e5;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.pagination a:first-child,.pagination span:first-child,.pagination em:first-child{margin-left:0;border-top-left-radius:3px;border-bottom-left-radius:3px}.pagination a:last-child,.pagination span:last-child,.pagination em:last-child{border-top-right-radius:3px;border-bottom-right-radius:3px}.pagination a:hover,.pagination a:focus,.pagination span:hover,.pagination span:focus,.pagination em:hover,.pagination em:focus{z-index:2;background-color:#e7e7e7;border-color:#e5e5e5;text-decoration:none}.pagination .selected{z-index:3}.pagination .current,.pagination .current:hover{z-index:3;color:#fff;background-color:#4183c4;border-color:#4183c4}.pagination .gap,.pagination .disabled,.pagination .gap:hover,.pagination .disabled:hover{background-color:#fafafa;cursor:default;color:#d3d3d3}.ajax_paginate{display:block;margin-top:20px}.ajax_paginate a{float:none;display:block;padding:6px;text-align:center}.ajax_paginate.loading a{text-indent:-3000px;background-color:#eaeaea;background-image:url(/images/spinners/octocat-spinner-16px-EAF2F5.gif);background-repeat:no-repeat;background-position:center center;border-color:#c5c5c5}@media screen and (-webkit-min-device-pixel-ratio: 2), screen and (max--moz-device-pixel-ratio: 2){.ajax_paginate.loading a{background-image:url(/images/spinners/octocat-spinner-32-EAF2F5.gif);background-size:16px auto}}.paginate-container{margin-top:20px;margin-bottom:15px;text-align:center}.paginate-container .pagination{display:inline-block}.header{padding-top:10px;padding-bottom:10px;min-width:1000px;background-color:#f5f5f5;border-bottom:1px solid #e5e5e5}.header-logged-out{padding-top:15px;padding-bottom:15px}.header-logo-invertocat{float:left;margin-right:10px;margin-left:-2px;color:#333;white-space:nowrap}.header-logo-invertocat .octicon-mark-github{float:left;width:28px;height:28px;font-size:28px}.header-logo-invertocat:hover{color:#4183c4;text-decoration:none}.logo-subbrand{float:left;margin-left:6px;font-size:16px;font-weight:bold;line-height:28px}.header-logo-wordmark{position:relative;float:left;height:26px;margin-right:15px;color:#333}.header-logo-wordmark:hover{color:#4183c4}.header-logo-wordmark .octicon-logo-github{height:26px;font-size:32px}.notification-indicator .mail-status{position:absolute;top:-2px;right:2px;z-index:2;display:none;width:14px;height:14px;color:#fff;text-align:center;background-color:#4183c4;background-image:-webkit-linear-gradient(#7ba9d6, #4183c4);background-image:linear-gradient(#7ba9d6, #4183c4);background-repeat:repeat-x;background-clip:padding-box;border-radius:50%;border:2px solid #f3f3f3}.notification-indicator .mail-status.unread{display:inline-block}.notification-indicator:hover .mail-status{background-color:#4183c4}.site-search{position:relative;float:left}.site-search form{position:relative;float:left;width:360px;margin-right:10px}.site-search input[type="text"]{position:relative;width:100%;min-height:28px;padding:4px 20px 4px 8px;font-size:12px}.site-search .scope-badge{position:absolute;top:3px;left:3px;bottom:3px;z-index:10;display:none;padding:3px 6px;font-size:12px;color:#777;background-color:#eee;border-radius:2px;-webkit-transition:all 0.1s ease-in-out;transition:all 0.1s ease-in-out}.site-search.repo-scope .scope-badge{display:block}.site-search.repo-scope input[type="text"]{padding-left:100px}.site-search.repo-scope input[type="text"]:focus+.scope-badge,.site-search.repo-scope .focused .drag-and-drop+.scope-badge,.focused .site-search.repo-scope .drag-and-drop+.scope-badge{background-color:#e4eef7;color:#4183c4}.header-nav{list-style:none}.header-nav-item{float:left}.header-nav-item.active .dropdown-menu-content{display:block}.header-nav-item.active .tooltipped:before,.header-nav-item.active .tooltipped:after{display:none}.header-nav-link{display:block;padding:4px 8px;font-size:13px;font-weight:bold;line-height:20px;color:#333}.header-nav-link:hover,.header-nav-link:focus{color:#4183c4;text-decoration:none}.header-nav-link:hover .dropdown-caret,.header-nav-link:focus .dropdown-caret{border-top-color:#4183c4}.user-nav{margin-right:-8px}.user-nav .header-nav-link{height:28px}.user-nav .octicon{width:18px;height:18px;text-align:center}.user-nav .octicon-inbox{font-size:20px}.user-nav .octicon-sign-out{padding-top:2px}.user-nav .octicon-plus{float:left;width:16px;height:18px;font-size:18px}.user-nav .avatar{float:left;margin-right:5px}.user-nav .name{float:left;white-space:nowrap}.sign-out-button{background:none;border:0}.header-actions{float:right;margin-top:-3px;margin-bottom:-3px}.header-actions .button{margin-left:5px}.enterprise .header{background-color:#2a2c2e;border-bottom-color:#121213}.is-stats .enterprise .header{box-shadow:inset 0 1px 0 rgba(255,255,255,0.05)}.enterprise .header-logo-wordmark,.enterprise .header-logo-invertocat,.enterprise .header-nav-link{color:#c8c8ca}.enterprise .header-logo-wordmark:hover,.enterprise .header-logo-wordmark:focus,.enterprise .header-logo-invertocat:hover,.enterprise .header-logo-invertocat:focus,.enterprise .header-nav-link:hover,.enterprise .header-nav-link:focus{color:#fafafa}.enterprise .header-nav-link:hover .dropdown-caret,.enterprise .header-nav-link:focus .dropdown-caret{border-top-color:#fafafa}.enterprise .notification-indicator .mail-status{border-color:#2a2c2e}.enterprise .notification-indicator:hover .mail-status{background-color:#d26911}.enterprise .header-actions .button{border:0;box-shadow:inset 0 1px 0 rgba(255,255,255,0.25),0 1px 1px rgba(0,0,0,0.5)}.enterprise .site-search .scope-badge{background-color:#5b5f63;color:#c8c8ca}.enterprise .site-search input[type="text"]{color:#fafafa;background-color:#4f5256;border-color:#121213}.enterprise .site-search input[type="text"]:focus,.enterprise .site-search .focused .drag-and-drop,.focused .enterprise .site-search .drag-and-drop{background-color:#55595d;border-color:#000;box-shadow:inset 0 1px 0 rgba(0,0,0,0.075)}.enterprise .site-search input[type="text"]:focus+.scope-badge,.enterprise .site-search .focused .drag-and-drop+.scope-badge,.focused .enterprise .site-search .drag-and-drop+.scope-badge{background-color:#676c71;color:#fff}.unsupported-browser{padding:15px 0;color:#211e14;background-color:#fae692;background-image:-webkit-linear-gradient(#feefae, #fae692);background-image:linear-gradient(#feefae, #fae692);background-repeat:repeat-x;border-bottom:1px solid #b3a569}.unsupported-browser .container{background:url(/images/icons/ie-notice.png) no-repeat 0 5px}.unsupported-browser h5{font-size:13px;margin:5px 0 2px;padding-left:48px}.unsupported-browser p{margin:0;padding-left:48px}.unsupported-browser .button{float:right;margin-top:5px;margin-left:8px}.mobile-banner button.switch-to-mobile{display:block;width:100%;padding:30px 0 45px;border:0;background-color:#444;color:#eaeaea;font-size:60px;text-align:center;font-weight:bold}.mobile-banner button.switch-to-mobile .mega-octicon{position:relative;top:-8px;margin-right:5px;color:#ddd;font-size:48px}.accessibility-aid{height:1px;width:1px;clip:rect(1px, 1px, 1px, 1px);overflow:hidden;position:absolute;margin:0}.accessibility-aid:focus{height:auto;width:auto;clip:auto;z-index:1;top:0;line-height:49px;padding:0 10px;background:#f5f5f5;font-weight:bold;text-decoration:none;color:#333}.is-stats .accessibility-aid:focus{top:34px}.site-footer{position:relative;margin-top:40px;padding-top:40px;padding-bottom:40px;font-size:12px;line-height:1.5;color:#777;border-top:1px solid #eee}.site-footer:before{display:table;content:""}.site-footer:after{display:table;clear:both;content:""}.site-footer .octicon-mark-github{position:absolute;top:38px;left:50%;height:24px;width:24px;margin-left:-12px;font-size:24px;color:#ccc}.site-footer .octicon-mark-github:hover{color:#bbb}.site-footer-links{margin:0;list-style:none}.site-footer-links li{display:inline-block;line-height:16px}.site-footer-links li+li{margin-left:10px}.billing-plans tbody td{width:25%;vertical-align:middle}.billing-plans .current{background-color:#f2ffed}.billing-plans .name{font-size:14px;font-weight:bold;color:#333}.billing-plans .coupon{font-size:12px}.billing-plans .coupon td{color:#fff;background-color:#6cc644}.billing-plans .coupon .text-right{white-space:nowrap}.billing-plans .coupon.expiring td{background-color:#df6e00}.billing-plans .coupon.expiring .coupon-label:after{border-bottom-color:#df6e00}.billing-plans tbody>.selected{background-color:#fdffce}.coupon-label{position:relative;padding:9px;margin:-9px}.coupon-label:after{position:absolute;bottom:100%;left:15px;width:0;height:0;pointer-events:none;content:" ";border:solid transparent;border-width:5px;border-bottom-color:#6cc644}.boxed-group-table .toggle-currency{font-size:11px;font-weight:normal}.is-hidden,.has-removed-contents{display:none}.currency-notice{margin-bottom:10px}.org-login{margin-top:-30px;margin-bottom:30px}.org-login img{width:450px;padding:1px;margin:10px -25px;border:1px solid #ccc}.plan-notice{border-top:1px solid #eee;margin-bottom:0;padding:10px}.auth-form{width:400px;margin:60px auto}.auth-form .note{margin:15px 0;text-align:center}.auth-form-header{position:relative;padding:10px 20px;margin:0;color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.3);background-color:#829aa8;border:1px solid #768995;border-radius:3px 3px 0 0}.auth-form-header h1{margin-top:0;margin-bottom:0;font-size:16px}.auth-form-header h1 a{color:#fff}.auth-form-header .octicon{position:absolute;top:10px;right:20px;color:rgba(0,0,0,0.4);text-shadow:0 1px 0 rgba(255,255,255,0.1)}.auth-form-body{padding:20px;font-size:14px;background-color:#fff;border:1px solid #d8dee2;border-top:0;border-radius:0 0 3px 3px}.auth-form-body .input-block{margin-top:5px;margin-bottom:15px}.auth-form-body p{margin:0 0 10px}.two-factor-help{position:relative;padding:10px 10px 10px 36px;margin:60px 0 auto auto;border:1px solid #eaeaea;border-radius:3px}.two-factor-help .octicon{position:absolute;top:10px;left:10px}.two-factor-help .minibutton{float:right}.two-factor-help ul{list-style-type:none}.flash.sms-error,.flash.sms-success{display:none;margin:0 0 10px}.is-sent .sms-success{display:block}.is-sent .sms-error{display:none}.is-not-sent .sms-success{display:none}.is-not-sent .sms-error{display:block}.autocomplete-results{position:absolute;z-index:99;display:none;max-height:20em;overflow-y:auto;font-size:13px;list-style:none;background:#fff;border:1px solid #c1c1c1;border-radius:3px;box-shadow:0 0 5px rgba(0,0,0,0.3)}.autocomplete-results .no-results{display:none}.autocomplete-group{width:100%;overflow:hidden}.autocomplete-item{display:block;padding:5px;overflow:hidden;font-weight:bold;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.autocomplete-item.selected,.autocomplete-item.navigation-focus{color:#fff;text-decoration:none;background-color:#4183c4}.autocomplete-item.selected .organization-member,.autocomplete-item.selected .ldap-group-dn,.autocomplete-item.navigation-focus .organization-member,.autocomplete-item.navigation-focus .ldap-group-dn{color:#f2f2f2}.autocomplete-item .secondary-label{font-weight:normal}.autocomplete-item .organization-member{float:right;padding-top:1px;color:#808080}.suggester-container{position:absolute;top:58px;left:10px;z-index:30}.comment-content .suggester-container{top:46px}.timeline-new-comment .suggester-container{top:52px}.is-comment-editing .suggester-container{top:49px}.merge-branch-form .suggester-container{top:39px}.wiki-wrapper .suggester-container{top:93px;left:-2px}.suggester{position:relative;top:0;left:0;display:none;min-width:180px;margin-top:20px;background:#fff;border:1px solid #ddd;border-radius:3px;box-shadow:0 0 5px rgba(0,0,0,0.1)}.suggester.active{display:block}.suggester ul{padding:0;margin:0;list-style:none}.suggester li{display:block;padding:5px 10px;font-weight:bold;border-bottom:1px solid #ddd}.suggester li small{font-weight:normal;color:#777}.suggester li:last-child{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.suggester li:first-child a{border-top-left-radius:3px;border-top-right-radius:3px}.suggester li.navigation-focus{color:#fff;text-decoration:none;background:#4183c4}.suggester li.navigation-focus small{color:#fff}.breadcrumb{margin-top:5px;margin-bottom:5px;font-size:18px;color:#999}.breadcrumb .separator:before,.breadcrumb .separator:after{content:" "}.breadcrumb strong.final-path{color:#000}.breadcrumb .new-file-no-branch{color:#ccc}.breadcrumb .new-file-no-branch:hover{color:#4183c4}.breadcrumb .zeroclipboard-button{display:inline-block;margin-left:5px}.breadcrumb .repo-root{font-weight:bold}.editor-license-template,.editor-gitignore-template{position:relative;top:3px;display:none;float:right;font-size:14px}.editor-license-template.is-visible,.editor-gitignore-template.is-visible{display:block}.editor-license-template .select-menu-git-ignore,.editor-license-template .select-menu-license-picker,.editor-gitignore-template .select-menu-git-ignore,.editor-gitignore-template .select-menu-license-picker{right:0}.editor-abort{display:inline;font-size:14px}.new-file-form{color:#4183c4}.new-file-form,.edit-file-form,.delete-file-form{cursor:pointer}.delete-file-form{margin-left:4px}.delete-file-form:hover{color:#900}.blob-interaction-bar{position:relative;background-color:#f2f2f2;border-bottom:1px solid #e5e5e5}.blob-interaction-bar:before{display:table;content:""}.blob-interaction-bar:after{display:table;clear:both;content:""}.blob-interaction-bar .octicon-search{position:absolute;top:10px;left:10px;font-size:12px;color:#999}input.blob-filter{padding:4px 20px 5px 30px;width:100%;font-size:12px;border:0;border-radius:0;outline:none}input.blob-filter:focus{outline:none}.markdown-body .csv-data td,.markdown-body .csv-data th{padding:5px;overflow:hidden;font-size:12px;line-height:1;text-align:left;white-space:nowrap}.markdown-body .csv-data .blob-num{padding:10px 8px 9px;text-align:right;background:#fff;border:0}.markdown-body .csv-data tr{border-top:0}.markdown-body .csv-data th{font-weight:bold;background:#f8f8f8;border-top:0}.too-long-message{display:none;color:#cea61b}.is-too-long-error .too-long-message{display:block}.check-for-fork{display:inline-block}.check-for-fork img{vertical-align:text-bottom}.check-for-fork.is-error .check-for-fork-loading{display:none}.check-for-fork.is-error .check-for-fork-error{display:inline-block}.check-for-fork-error{display:none}.file-commit-form{padding-left:64px}.file-commit-form .commit-form-avatar{float:left;margin-left:-64px;border-radius:4px}.file-commit-form .commit-form{position:relative;padding:15px;margin-bottom:10px;border:1px solid #ddd;border-radius:3px}.file-commit-form .commit-form:after,.file-commit-form .commit-form:before{position:absolute;top:11px;left:-16px;right:100%;width:0;height:0;display:block;content:" ";border-color:transparent;border-style:solid solid outset;pointer-events:none}.file-commit-form .commit-form:after{border-width:7px;border-right-color:#fff;margin-top:1px;margin-left:2px}.file-commit-form .commit-form:before{border-right-color:#ddd;border-width:8px}.file-commit-form .commit-message{min-height:100px}.file-commit-form-heading{margin-top:0;margin-bottom:10px}.quick-pull-choice .form-checkbox{padding-left:25px;margin:10px 0}.quick-pull-choice .form-checkbox label{font-weight:normal}.quick-pull-choice .form-checkbox .octicon{width:16px;margin-right:3px;text-align:center}.quick-pull-choice dl.form,.quick-pull-choice .form-checkbox:last-child{margin-bottom:0}.quick-pull-choice .quick-pull-branch-name{display:none;padding-left:48px;margin-top:5px}.quick-pull-choice .new-branch-name-input{position:relative;margin-top:5px}.quick-pull-choice .new-branch-name-input input{width:240px;padding-left:26px;font-family:Consolas, "Liberation Mono", Menlo, Courier, monospace}.quick-pull-choice .new-branch-name-input .quick-pull-new-branch-icon{position:absolute;top:9px;left:10px;color:#b0c4ce}.quick-pull-choice.will-normalize-ref .quick-pull-normalization-info{display:inline-block}.quick-pull-choice.will-create-branch .quick-pull-branch-name{display:inline-block}.quick-pull-normalization-info{position:absolute;top:34px;left:0;z-index:10;display:none;padding:5px;font-size:11px;color:#494620;background:#f7ea57;border:1px solid #c0b536;border-top-color:#fff;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.merge-pr{padding-top:10px;margin:20px 0 0;border-top:1px solid #ddd}.merge-pr.open .merge-branch-form{display:block}.merge-pr.open .branch-action{display:none}.branch-status{padding:10px 0 0;border:solid #eee;border-width:0 0 1px}.branch-status.branch-status-next{padding:0;border-width:0}.branch-status .octicon{width:16px;text-align:center}.branch-status.open>.build-statuses-list{max-height:370px;border-width:1px 0}.branch-status.open .statuses-toggle-opened{display:inline}.branch-status.open .statuses-toggle-closed{display:none}.status-description{display:block;padding:0 15px 10px 12px}.branch-status-next .status-description{padding:12px 15px 10px 12px;font-weight:bold;position:relative}.branch-status-next .status-description .button-link,.branch-status-next .status-description a.right{color:#bbb;display:block;position:absolute;text-align:right;top:0;right:0;bottom:0;padding:8px 12px}.branch-status-next .status-description .button-link .octicon,.branch-status-next .status-description a.right .octicon{position:absolute;right:12px;top:18px}.branch-status-next .status-description .button-link:hover,.branch-status-next .status-description a.right:hover{color:#999}.branch-status-next .status-description strong{display:block;line-height:1}.branch-status-header{display:table;width:100%;table-layout:fixed}.branch-status-header .status-description{display:table-cell;width:100%;border:1px solid #eee;border-width:0 0 1px 1px}.branch-status-header .status-description:first-child{border-left-width:0;border-radius:3px 0 0}.branch-status-header .status-description:last-child{border-radius:0 3px 0 0}.branch-status-header .open .statuses-toggle-opened{display:block}.branch-status-header .open .statuses-toggle-closed{display:none}.completeness-indicator{width:30px;height:30px;margin:-1px 8px 0 0;float:left}.completeness-indicator span{display:none}.completeness-indicator .failure{fill:#bd2c00}.completeness-indicator .pending{fill:#cea61b}.completeness-indicator .success{fill:#6cc644}.completeness-indicator .error{fill:#999}.completeness-indicator.success,.build-status-single .completeness-indicator{background:#6cc644;border-radius:100%;color:#fff;text-align:center}.completeness-indicator.success span,.build-status-single .completeness-indicator span{display:inline-block;margin-top:7px}.build-status-single .completeness-indicator.failure{background:#bd2c00}.build-status-single .completeness-indicator.pending{background:#cea61b}.build-status-single .completeness-indicator.error{background:#999}.build-status-single .css-truncate-target{width:80%;max-width:80%}.branch-status-header .build-status-single a{line-height:1;font-weight:normal}.build-statuses-list,.status-tabs-content{max-height:0;margin-bottom:-1px;overflow-y:auto;border:solid #eee;border-width:1px 0 0;padding:0;-webkit-transition:max-height 0.25s ease-in-out;transition:max-height 0.25s ease-in-out}.status-tabs-container.open .build-statuses-list,.status-tabs-container.open .status-tabs-content{max-height:370px}.status-tabs-content{border-width:0;margin-bottom:0}.status-tabs-content .build-statuses-list{border-width:0 0 1px;margin-bottom:0}.status-tabs-container.open .status-tabs-content{max-height:370px;border-width:0}.status-tabs-content-view{padding:10px 12px;background:#fafafa;border-bottom:1px solid #eee;display:none}.status-tabs-content-view .octicon{color:#ccc}.status-tabs-content-view .octicon:hover{color:#555}.status-tabs-content-view.open{display:block}.status-tabs-content-view.build-statuses-list{padding:0;border-bottom:1px solid #eee}.statuses-toggle-opened{display:none}.build-status-item{padding:10px 15px 10px 12px;background-color:#fafafa;border-bottom:1px solid #eee}.build-status-item:last-child{border-bottom:0}.build-status-item .css-truncate-target{width:80%;max-width:80%}.build-status-icon{width:16px;text-align:center}.build-status-details{margin-left:10px}.merge-pr-more-commits{margin-top:10px;margin-bottom:10px;margin-left:64px;font-size:12px;color:#777}.branch-action{padding-left:64px;margin-top:15px;margin-bottom:15px}.branch-action .merge-branch-heading{margin-bottom:2px}.branch-action .delete-branch-failure{display:none;padding:15px}.branch-action.error .delete-branch-failure{display:block}.branch-action.error .merge-message{display:none}.branch-action-icon{float:left;width:48px;height:48px;margin-left:-64px;line-height:48px;color:#fff;text-align:center;border-radius:3px}.branch-action-body{position:relative;background-color:#fff;border:1px solid #e5e5e5;border-radius:3px}.branch-action-body:after,.branch-action-body:before{position:absolute;top:11px;left:-16px;right:100%;width:0;height:0;display:block;content:" ";border-color:transparent;border-style:solid solid outset;pointer-events:none}.branch-action-body:after{border-width:7px;border-right-color:#fff;margin-top:1px;margin-left:2px}.branch-action-body:before{border-right-color:#ddd;border-width:8px}.branch-action-body .spinner{display:block;float:left;width:32px;height:32px;margin-right:15px;background:url(/images/spinners/octocat-spinner-32.gif) no-repeat}.branch-action-body .merge-message,.branch-action-body .merge-branch-form{padding:15px}.branch-action-state-clean .branch-action-icon{background-color:#6cc644}.branch-action-state-clean .branch-action-body{border-color:#95c97e}.branch-action-state-clean .branch-action-body:before{border-right-color:#95c97e}.branch-action-state-unknown .branch-action-icon,.branch-action-state-unstable .branch-action-icon{background-color:#cea61b}.branch-action-state-unknown .branch-action-body,.branch-action-state-unstable .branch-action-body{border-color:#e2cc7a}.branch-action-state-unknown .branch-action-body:before,.branch-action-state-unstable .branch-action-body:before{border-right-color:#e2cc7a}.branch-action-state-merged .branch-action-icon{background-color:#6e5494}.branch-action-state-merged .branch-action-body{border-color:#886ead}.branch-action-state-merged .branch-action-body:before{border-right-color:#886ead}.branch-action-state-dirty .branch-action-icon,.branch-action-state-closed-dirty .branch-action-icon{background-color:#888}@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 2dppx){.branch-action-body .spinner{background-image:url(/images/spinners/octocat-spinner-64.gif);background-size:32px 32px}}.collected-todos{padding-left:64px;margin-top:15px;margin-bottom:15px}.collected-todos .status-tabs-content-view{border:1px solid #eee;border-width:1px 0 0;border-radius:0 0 3px 3px}.collected-todos .open .statuses-toggle-opened{display:block}.collected-todos .open .statuses-toggle-closed{display:none}.collected-todos-body{position:relative;background-color:#fff;border:1px solid #e5e5e5;border-radius:3px}.merge-branch-form{display:none;margin:15px 0}.merge-branch-form .commit-form{border-color:#95c97e}.merge-branch-form .commit-form:before{border-right-color:#95c97e}.merge-branch-form.error .commit-form{border-color:#e97a74}.merge-branch-form.error .commit-form:before{border-right-color:#e97a74}.merge-branch-form .merge-form-failed{display:none}.merge-branch-form.error .merge-form-failed{display:block}.merge-branch-form.error .merge-form-contents{display:none}.merge-button-matrix-merge-form .merge-branch-form{display:block}.merge-button-matrix-merge-form .merge-branch-form .merge-form-contents{display:block}.merge-button-matrix-merge-failed .merge-branch-form{display:block}.merge-button-matrix-merge-failed .merge-branch-form .merge-form-failed{display:block}.merge-button-matrix-merge-failed .merge-branch-form .merge-form-contents{display:none}p.recently-touched-branches-description{margin:0;font-size:11px;color:#888}.recently-touched-branches{padding:0;margin:5px 0 10px;color:#4c4a42;background-color:#fff9ea;border:solid 1px #dfd8c2;border-radius:3px}.recently-touched-branches a.branch-link{font-weight:bold}.recently-touched-branches li{height:36px;padding:5px;margin:0;line-height:23px;list-style-type:none;border-bottom:1px solid #e5e2c8}.recently-touched-branches li:last-child{border-bottom:0}.recently-pushed-branch-actions{float:right}.recently-pushed-branch-details{display:inline-block;margin:0 0 0 7px;font-size:13px;line-height:26px;color:#a19e7f}.recently-pushed-branch-details a{color:#6b694f}.recently-pushed-branch-details .css-truncate-target{max-width:400px}.branch-name{display:inline-block;padding:2px 6px;font:12px Consolas, "Liberation Mono", Menlo, Courier, monospace;color:rgba(0,0,0,0.5);background-color:rgba(209,227,237,0.5);border-radius:3px}.branch-name .octicon{margin:1px -2px 0 0;color:#b0c4ce}a.branch-name{color:#4183c4}.range-editor{position:relative;padding:15px 15px 15px 45px;margin-bottom:10px;background-color:#fafafa;border:1px solid #eee;border-radius:3px}.range-editor .range{position:relative}.range-editor .range p{margin:0 0 8px;font-size:12px;color:#999}.range-editor .range .dots{margin:0 4px;font-size:16px;color:#999}.range-editor .range .select-menu{position:relative;display:inline-block}.range-editor .range .select-menu.fork-suggester{display:none}.range-editor .range .branch-name{line-height:22px}.is-cross-repo .range-editor .range .select-menu.fork-suggester{display:inline-block}.is-cross-repo .range-editor .range .cross-repo-text{display:none}.range-editor .range .branch .css-truncate-target,.range-editor .range .fork-suggester .css-truncate-target{max-width:180px}.range-editor-icon{float:left;margin-left:-30px;color:#666}.range-cross-repo-pair{display:inline-block;white-space:nowrap}ul.comparison-list{width:350px;margin:25px auto 15px;font-size:14px;text-align:left;background:#fff;border:1px solid #ddd;border-radius:3px}ul.comparison-list>li{padding:7px 10px;list-style-type:none;border-top:1px solid #eee}ul.comparison-list>li a{font-weight:bold}ul.comparison-list>li em{float:right;font-style:normal;color:#999}ul.comparison-list>li .octicon{position:relative;top:1px;color:#aaa}ul.comparison-list>li .css-truncate-target{max-width:200px}ul.comparison-list>li.title{font-size:12px;font-weight:bold;color:#aaa;text-transform:uppercase;background:#fafafa;border-top:0;border-top-left-radius:3px;border-top-right-radius:3px}.recently-touched-branches-wrapper{margin:15px 0}.starring-container .unstarred,.starring-container.on .starred{display:block}.starring-container.on .unstarred,.starring-container .starred{display:none}.starring-container.loading{opacity:0.5}.user-following-container .follow,.user-following-container.on .unfollow{display:inline-block}.user-following-container.on .follow,.user-following-container .unfollow{display:none}.user-following-container.loading{opacity:0.5}.members .user-following-container{float:right}.close-button,.web-edit-button{background:transparent;border:0;padding:0;outline:none}.code-list .file-box{border:1px solid #ddd;border-radius:3px}.code-list em{background-color:rgba(255,255,140,0.5);padding:3px;border-radius:3px;font-weight:bold;font-style:normal;color:#333}.code-list .title{margin:-3px 0 10px 38px;min-height:24px;font-weight:bold;line-height:1.2}.code-list .repo-specific .title,.code-list .repo-specific .full-path{margin-left:0}.code-list .match-count,.code-list .updated-at{margin:0;font-size:11px;color:#999;font-weight:normal}.code-list .language{float:right;color:rgba(51,51,51,0.75);font-size:12px;margin-left:10px}.code-list .avatar{float:left}.code-list .code-list-item+.code-list-item{margin-top:20px;padding-top:20px;border-top:1px solid #eee;margin-bottom:10px}.code-list .blob-num{padding:0}.code-list .blob-num:before{content:normal}.code-list .blob-num a{color:inherit;padding:0 10px}.code-list .blob-num a:hover{color:#4183c4}.code-list .blob-code{white-space:pre-wrap}.code-list .divider .blob-num,.code-list .divider .blob-code{background-color:#f8fafd;padding-top:0;padding-bottom:0;cursor:default}.code-list .divider .blob-num{background-color:#f0f5fa;line-height:15px;padding:0 10px;height:18px}.code-list .full-path{margin:0 0 0 40px}.code-list .full-path .octicon-repo{color:#666}.code-list .full-path .octicon-lock{color:#e9dba4}.code-list .full-path a{color:#999}.code-list-item-private .file-box{border:1px solid #fadda5}.code-list-item-private .blob-num{background-color:#fff9ea;border-right:1px solid #fadda5}.code-list-item-private .blob-num a{color:#a1882b}.code-list-item-private .divider .blob-num,.code-list-item-private .divider .blob-code{background-color:#fff9ea;color:#a1882b}.codesearch-head{padding-bottom:20px}.codesearch-head.pagehead h1{float:left;width:250px;line-height:33px}.advanced-search-form h3{margin-top:20px}.advanced-search-form .flattened dt{width:230px}.advanced-search-form .flattened dt label{font-weight:normal}.advanced-search-form .flattened dd{margin-left:250px}.advanced-search-form .form-checkbox{margin-left:250px}.advanced-search-form fieldset{border-bottom:1px solid #f1f1f1;padding-bottom:20px;margin-bottom:30px}.codesearch-results .large-format-loader{padding-top:5%}.codesearch-results .repo-list{margin-top:-20px}.codesearch-results .repo-list-name{font-weight:normal}.codesearch-results .repo-list-name a,.codesearch-results .code-list .title a{word-wrap:break-word}.codesearch-results .repo-list-name em,.codesearch-results .repo-list-description em{padding:3px;font-style:normal;font-weight:bold;background-color:rgba(255,255,140,0.5);border-radius:3px}.codesearch-results .search-foot-note{color:#999;text-align:center}.meta-search-links{margin-top:20px}.meta-search-links a{margin-right:10px}.codesearch-aside .menu .octicon{width:16px;text-align:center;margin-right:5px}.codesearch-aside .meta-search-links{margin-top:20px}.codesearch-aside .meta-search-links a{margin-right:10px}.codesearch-aside .filter-list{border-bottom:1px solid #f1f1f1;margin-bottom:20px;padding-bottom:20px}.codesearch-aside .filter-list li{position:relative}.codesearch-aside .filter-list li span.bar{background:#f1f1f1;display:inline-block;position:absolute;z-index:-1;top:2px;bottom:2px;right:0}.simple-search-page{width:740px;padding-top:100px;padding-bottom:100px}.simple-search-page h2{font-weight:normal}.simple-search-page h2 .mega-octicon{vertical-align:middle}.search-form-fluid{position:relative}.search-form-fluid .flex-table-item-primary{padding-right:10px}.search-form-fluid .completed-query{position:absolute;top:7px;left:8px;right:8px;z-index:1;margin:0;overflow:hidden;white-space:nowrap}.search-form-fluid .completed-query span{opacity:0}.search-form-fluid .search-page-label{position:relative;display:block;font-weight:normal;cursor:text}.search-form-fluid .search-page-label.focus .completed-query{opacity:0.6}.search-form-fluid .search-page-input{position:relative;z-index:2;min-height:0;margin:0;padding:0;background:none;border:0;box-shadow:none}.search-form-fluid .search-page-input:focus{box-shadow:none}.token-warning{position:absolute;top:10px;right:85px;color:#000}.sort-bar{border-bottom:1px solid #f1f1f1;margin-bottom:20px;padding-bottom:20px}.sort-bar .sort-label{padding-right:5px;font-weight:200;font-size:13px;color:#666}.sort-bar .select-menu{float:right}.sort-bar h3{margin:0}.sort-bar .sort-form{float:right}.sort-bar .sort-link{font-weight:bold;color:#8a8a8a;text-decoration:none;margin-top:4px}.sort-form .sort-icon{border:5px solid #8a8a8a;height:0;width:0;display:inline-block;margin-left:5px}.sort-form .sort-desc .sort-icon{border-color:#8a8a8a transparent transparent;border-width:5px 4px 2px}.sort-form .sort-asc .sort-icon{border-color:transparent transparent #8a8a8a;border-width:2px 4px 5px}.file-editor-textarea{width:100%;padding:5px 4px;font:12px Consolas, "Liberation Mono", Menlo, Courier, monospace;resize:vertical;border:0;border-radius:0;outline:none}.container-preview .tabnav-tabs{margin:-6px 0 -5px -11px}.container-preview .tabnav-tabs .tabnav-tab{padding:12px 15px;border-radius:0}.container-preview .tabnav-tabs>li:first-child .selected{border-top-left-radius:3px}.container-preview .tabnav-tabs .selected{font-weight:bold}.container-preview.show-code .commit-create,.container-preview.show-code .actions{display:block}.container-preview.show-code .commit-preview,.container-preview.show-code .loading-preview-msg,.container-preview.show-code .no-changes-preview-msg,.container-preview.show-code .error-preview-msg{display:none}.container-preview:not(.show-code) .commit-create,.container-preview:not(.show-code) .actions{display:none}.container-preview.loading-preview .loading-preview-msg{display:block}.container-preview.loading-preview .no-changes-preview-msg,.container-preview.loading-preview .error-preview-msg,.container-preview.loading-preview .commit-preview{display:none}.container-preview.show-preview .commit-preview{display:block}.container-preview.show-preview .loading-preview-msg,.container-preview.show-preview .no-changes-preview-msg,.container-preview.show-preview .error-preview-msg{display:none}.container-preview.no-changes-preview .no-changes-preview-msg{display:block}.container-preview.no-changes-preview .loading-preview-msg,.container-preview.no-changes-preview .error-preview-msg,.container-preview.no-changes-preview .commit-preview{display:none}.container-preview.error-preview .error-preview-msg{display:block}.container-preview.error-preview .loading-preview-msg,.container-preview.error-preview .no-changes-preview-msg,.container-preview.error-preview .commit-preview{display:none}.container-preview p.preview-msg{padding:30px;font-size:16px}.ace_editor.ace-github-light{position:relative;font-family:Consolas, "Liberation Mono", Menlo, Courier, monospace;font-size:12px;line-height:18px}.ace_editor.ace-github-light .ace_scroller.ace_scroll-left{box-shadow:none}.ace_gutter{border-right:1px solid #eee}.ace_gutter-layer{min-width:50px}.ace_nobold .ace_line>span{font-weight:normal !important}.ace_marker-layer .ace_step{background-color:#fcff00}.ace_marker-layer .ace_stack{background-color:#a4e565}.ace_marker-layer .ace_selected-word{background-color:#fafaff}.ace_indent-guide{box-shadow:inset -1px 0 0 rgba(0,0,0,0.1)}.details-collapse .collapse{position:relative;display:none;height:0;overflow:hidden;-webkit-transition:height 0.35s ease-in-out;transition:height 0.35s ease-in-out}.details-collapse.open .collapse{display:block;height:auto;overflow:visible}.comment.is-comment-editing .timeline-comment-actions,.comment.is-comment-editing .edit-comment-hide{display:none}.comment.is-comment-editing .form-content{display:block}.comment.is-comment-loading .context-loader{display:block}.comment.is-comment-loading .form-content{opacity:0.5}.comment.is-comment-stale .comment-form-stale{display:block}.comment.is-comment-stale .comment-content{padding-top:10px}.comment.is-comment-stale .form-content{opacity:0.75}.comment .email-format{line-height:1.5}.comment .context-loader{display:none}.comment-body{width:100%;padding:15px;overflow:visible;font-size:14px}.comment-body .highlight{overflow:visible !important;background-color:transparent}.form-actions:before{display:table;content:""}.form-actions:after{display:table;clear:both;content:""}.form-actions .button,.form-actions .minibutton{float:right;margin-left:5px}.form-actions .left .button,.form-actions .left .minibutton{margin-left:0}.form-content{display:none;padding:10px}.form-content .form-actions{margin-top:10px}.comment-form-textarea{width:100%;max-width:100%;height:100px;min-height:100px;margin:0;font-size:14px;line-height:1.6;-webkit-transform:translateZ(0)}.comment-form-textarea.dragover{border:solid 1px #4183c4}.discussion-topic-header{position:relative;padding:10px;word-wrap:break-word}.discussion-hidden{opacity:0.75}.comment-form-error,.comment-form-stale{display:none;padding:5px 10px;margin:0 10px;font-weight:bold;color:#900;background-color:#ffeaea;border:1px solid #e2a0a0}.comment-form-error.comment-form-bottom,.comment-form-stale.comment-form-bottom{margin-bottom:10px}.comment-form-stale{margin-top:0}.email-format{line-height:1.5em !important}.email-format div{white-space:pre-wrap}.email-format .email-hidden-reply{display:none;white-space:pre-wrap}.email-format .email-quoted-reply,.email-format .email-signature-reply{padding:0 15px;margin:15px 0;color:#777;border-left:4px solid #ddd}.email-format .email-hidden-toggle a{display:inline-block;height:12px;padding:0 9px;font-size:12px;font-weight:bold;line-height:6px;color:#555;text-decoration:none;vertical-align:middle;background:#ddd;border-radius:1px}.email-format .email-hidden-toggle a:hover{background-color:#ccc}.email-format .email-hidden-toggle a:active{color:#fff;background-color:#4183c4}.comment-email-format div{white-space:normal}.comment-email-format .email-hidden-reply{display:none;white-space:normal}.comment-email-format blockquote,.comment-email-format p{margin:0}.blankslate.conversation-limited{padding:20px 0 10px;margin:15px}.locked-conversation .write-tab,.locked-conversation .preview-tab{color:#ccc}.commit-sha{padding:0.2em 0.4em;font-size:90%;font-weight:normal;background-color:#f5f5f5;border:1px solid #eee;border-radius:0.2em}.commit-partial-notice{margin-top:20px;margin-bottom:20px}.commit-paginate-container{float:right;margin:-5px 0 0;text-align:inherit}.commit .commit-title,.commit .commit-title a{color:#4e575b}.commit .commit-title.blank,.commit .commit-title.blank a{color:#9cabb1}.commit .commit-title .issue-link{font-weight:bold;color:#4183c4}.commit .sha-block,.commit .sha{font-family:Consolas, "Liberation Mono", Menlo, Courier, monospace;font-size:12px}.commit.open .commit-desc{display:block}.commit-link{font-weight:normal;color:#4183c4}.commit-email-flash{display:inline}.commit-desc{display:none}.commit-desc pre{max-width:700px;margin:10px 0;font-family:Consolas, "Liberation Mono", Menlo, Courier, monospace;font-size:13px;line-height:1.45;color:#596063;white-space:pre-wrap}.commit-desc+.commit-branches{padding-top:8px;margin-top:2px;border-top:solid 1px #d1e2eb}.commit-tease{padding:8px 8px 0;background:#e6f1f6;border:1px solid #b7c7cf;border-bottom-color:#d8e6ec;border-top-left-radius:3px;border-top-right-radius:3px}.commit-tease p.commit-title{margin:0 0 6px}.commit-tease .commit-desc{margin:-3px 0 10px}.commit-tease .commit-desc pre{font-size:11px}.commit-tease .commit-meta{padding:8px;margin-right:-8px;margin-left:-8px;background:#fff;border-top:1px solid #d8e6ec}.commit-tease .commit-meta .loader-loading{margin:0 0 -9px}.commit-tease .zeroclipboard-link{float:right;margin-top:-2px;margin-left:5px}.commit-tease .sha-block{float:right;color:#888}.commit-tease .sha-block>.sha{color:#444}.commit-tease .sha-block>a{color:#444;text-decoration:none}.commit-tease .authorship{margin:-2px 0 -4px -4px;font-size:12px;color:#999}.commit-tease .authorship a{font-weight:bold;color:#444;text-decoration:none}.commit-tease .authorship a:hover{text-decoration:underline}.commit-tease .authorship .avatar{margin:-2px 3px 0 0}.commit-tease .authorship .author-name{color:#444}.commit-tease .authorship .committer{display:block;margin-left:30px;font-size:11px}.comment-count{float:right;margin-top:1px;font-size:11px;color:#7f9199}.comment-count .octicon{margin-left:5px;vertical-align:middle}.commits-listing{position:relative;padding-bottom:20px;margin-bottom:15px}.commits-listing:before{position:absolute;top:0;bottom:0;left:14px;z-index:-1;display:block;width:2px;content:"";background-color:#f3f3f3}.commits-listing .discussion-item-icon{margin-right:5px;margin-left:-1px}.commits-listing .timeline-commits{padding-left:8px;margin-bottom:20px}.commits-listing .timeline-commits:last-child{margin-bottom:0}.commits-listing-padded{padding-left:39px}.commit-group{margin-top:10px;list-style-type:none}.commit-group-title{margin-top:15px;margin-left:-31px;color:#777}.commit-group-title .octicon-git-commit{margin-right:17px;color:#ccc;background:#fff}.commits-list-item.navigation-focus{background:#f7fbfc}.commits-list-item .commit-title{margin:0;font-size:15px;font-weight:bold;color:#333}.commits-list-item .commit-meta{margin-top:1px;font-weight:normal;color:#999}.commits-list-item .deployment-indicator{color:#bbb}.commits-list-item .status .octicon{height:14px;line-height:14px}.commits-list-item .commit-author{color:#777}.commits-list-item .octicon-arrow-right{margin:0 3px}.commits-list-item .button-outline{padding:5px 8px;margin-top:4px}.commits-list-item .octicon-clippy,.commits-list-item .octicon-code{display:block}.commits-list-item .commit-desc pre{padding-left:8px;margin-top:5px;margin-bottom:10px;font-size:12px;color:#596063;border-left:1px solid #e5e5e5}.commits-list-item .commit-desc pre a{word-break:break-word}.commits-comments-link{margin-top:9px;color:#999;vertical-align:middle}.commits-comments-link:hover{color:#4183c4;text-decoration:none}.commit-avatar-cell{width:47px}.commit-avatar-cell.table-list-cell{padding-right:0}.commit-indicator{margin-left:5px}.commit-links-cell{width:230px;text-align:right}.commit-links-group{margin-right:5px}.timeline-commits{width:100%;margin-top:5px;border-collapse:separate}.timeline-commits+.timeline-commits{margin-top:15px}.timeline-commits td{padding-top:4px;padding-right:8px;padding-bottom:4px;font-size:12px;line-height:16px;vertical-align:top;background-color:transparent}.discussion-item .timeline-commits .commit-author{display:none}.timeline-commits .commit-gravatar{width:16px;padding-left:10px}.timeline-commits .commit-author{width:200px;padding-right:20px;white-space:nowrap}.timeline-commits .author{font-weight:bold;color:#555}.timeline-commits .commit-message{min-height:0;max-width:550px}.timeline-commits .commit-message a{color:#555}.timeline-commits .commit-message a:hover{color:#4183c4}.timeline-commits .commit-desc pre{padding-left:10px;font-size:11px;color:#777;border-left:1px solid #eee}.timeline-commits .hidden-text-expander{margin-top:3px;margin-left:0;vertical-align:top}.timeline-commits .hidden-text-expander a{height:13px;background-color:#eee}.timeline-commits .hidden-text-expander a:hover{color:#fff;background-color:#4183c4}.timeline-commits .commit-meta{text-align:right;white-space:nowrap}.timeline-commits .commit-meta .status{width:16px;text-align:center}.timeline-commits .commit-meta .status.status-pending{color:#cea61b}.timeline-commits .commit-meta .octicon{margin-right:1px;margin-left:1px}.commit-icon{display:table-cell;width:16px;color:#ccc}.commit-icon .octicon{background-color:#fff}.commit-id{color:#bbb}.commit-id:hover{color:#4183c4}.full-commit{padding:8px 8px 0;margin:10px 0;background:#e6f1f6;border:1px solid #c5d5dd;border-radius:3px}.full-commit:first-child{margin-top:0}.full-commit .button-outline{background:none;border:1px solid #cedee5}.full-commit .button-outline:hover{color:#4183c4;border:1px solid #4183c4}.full-commit p.commit-title{margin:0 0 8px;font-size:18px;font-weight:bold;color:#213f4d;text-shadow:0 1px rgba(255,255,255,0.5)}.full-commit .branches-list{display:inline-block;margin-right:10px;vertical-align:middle;list-style:none}.full-commit .branches-list li{display:inline-block;padding-left:3px;font-weight:bold;color:#596063}.full-commit .branches-list li:before{padding-right:6px;font-weight:normal;content:"+"}.full-commit .branches-list li:first-child{padding-left:0}.full-commit .branches-list li:first-child:before{padding-right:0;content:""}.full-commit .branches-list li.loading{font-weight:normal;color:#818c90}.full-commit .branches-list li.pull-request{font-weight:normal;color:#818c90}.full-commit .branches-list li.pull-request:before{margin-left:-8px;content:""}.full-commit .branches-list li.pull-request-error{margin-bottom:-1px}.full-commit .branches-list li a{color:inherit}.full-commit .commit-meta{padding:8px;margin-right:-8px;margin-left:-8px;background:#fff;border-top:1px solid #d8e6ec;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.full-commit .sha-block{float:right;margin-left:15px;font-size:12px;color:#888}.full-commit.merge-commit .sha-block{clear:right}.full-commit.merge-commit .sha-block+.sha-block{margin-top:2px}.full-commit .sha-block>.sha{color:#444}.full-commit .sha-block>a{color:#444;text-decoration:none;border-bottom:1px dotted #ccc}.full-commit .sha-block>a:hover{border-bottom:1px solid #444}.full-commit .authorship{margin-top:-2px;margin-bottom:-4px;margin-left:-4px;font-size:14px;color:#999}.full-commit .authorship .gravatar{margin-top:-2px;margin-right:3px;vertical-align:middle;border-radius:3px}.full-commit .authorship a{font-weight:bold;color:#444;text-decoration:none}.full-commit .authorship a:hover{text-decoration:underline}.full-commit .authorship .author-name{color:#444}.full-commit .authorship .hint a{color:#4183c4}.full-commit .authorship .committer{display:block;margin-top:-2px;margin-left:34px;font-size:12px}.branches-tag-list{display:inline-block;margin-right:10px;vertical-align:middle;list-style:none}.branches-tag-list .more-commit-details,.branches-tag-list.open .hidden-text-expander{display:none}.branches-tag-list.open .more-commit-details{display:inline-block}.branches-tag-list li{display:inline-block;padding-left:3px}.branches-tag-list li:first-child{padding-left:0;font-weight:bold;color:#596063}.branches-tag-list li.loading{font-weight:normal;color:#818c90}.branches-tag-list li.abbrev-tags{cursor:pointer}.branches-tag-list li a{color:inherit}.branches-tag-list li .hidden-text-expander a{background-color:#dae5eb}.branches-tag-list li .hidden-text-expander a:hover{background-color:#d1dbe0}.commit-branches{min-height:18px;margin-top:-6px;margin-bottom:8px;font-size:12px;color:#818c90;vertical-align:middle}.commit-branches .octicon{vertical-align:middle}.full-commit .commit-desc,.commit-desc-container .commit-desc{display:block;margin:-5px 0 10px}.full-commit .commit-desc pre,.commit-desc-container .commit-desc pre{max-width:100%;overflow:visible;text-shadow:0 1px rgba(255,255,255,0.5);word-wrap:break-word}.commit-loader .loader-error{display:none;margin:0;font-size:12px;font-weight:bold;color:#bd2c00}.commit-loader.error .loader-loading{display:none}.commit-loader.error .loader-error{display:block}.historical-banner{padding:15px 20px 15px 130px;margin-bottom:20px;overflow:hidden;color:#333;background:#fff;border:1px solid #e5e5e5;border-radius:5px}.historical-banner h2{margin:0 0 5px}.historical-banner p{margin:0}.historical-banner .illustration{position:absolute;top:12px;left:20px;color:rgba(0,0,0,0.1)}.roses-divider{margin-bottom:20px;text-align:center}.file-history-tease{margin-bottom:10px;font-size:14px;color:#7b878c;background:#e7ecee;border:1px solid #d2d9dd;border-radius:3px}.file-history-tease .author a{font-weight:bold;color:#000}.file-history-tease .commit-title{display:inline}.file-history-tease .sha{font-size:13px}.file-history-tease .loader-loading,.file-history-tease .loader-error{margin:0}.file-history-tease .loader-loading img,.file-history-tease .loader-error img{vertical-align:middle}.file-history-tease .participation{padding:5px 8px;font-size:12px;font-weight:normal;line-height:20px;color:#666;background-color:#fff;border-top:1px solid #d8e6ec;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.file-history-tease .participation:before{display:table;content:""}.file-history-tease .participation:after{display:table;clear:both;content:""}.file-history-tease .participation .quickstat{float:left;margin:0 10px 0 0}.file-history-tease .participation .quickstat strong{color:#000}.file-history-tease .participation a{color:#888;text-decoration:none}.file-history-tease .participation .avatar-link{margin-right:3px}.file-history-tease-header{padding:5px 8px;line-height:24px}.file-history-tease-header .avatar{float:left;margin-right:5px}.toggle-line-notes-below{color:#777}.commit-comments-heading h3{display:inline-block;margin-right:15px}.commit-build-statuses{position:relative;display:inline-block;text-align:left}.commit-build-statuses.active .dropdown-menu-content{display:block}.commit-build-statuses.active .tooltipped:before,.commit-build-statuses.active .tooltipped:after{display:none}.commit-build-statuses .dropdown-menu{min-width:400px;max-width:500px;padding-top:0;padding-bottom:0}.commit-build-statuses .dropdown-menu .build-statuses-list{max-height:170px;border-bottom:0}.commit-build-statuses .dropdown-menu-w,.commit-build-statuses .dropdown-menu-e{top:-11px}.commit-build-statuses .status-description .button-link{display:none}.commit-build-statuses .build-status-item:last-child{border-radius:0 0 2px 2px}.commit-ref{position:relative;display:inline-block;padding:0 5px;border-radius:3px;font:0.75em/2 Consolas, "Liberation Mono", Menlo, Courier, monospace;color:#336479;white-space:nowrap;background-color:#e8f0f8}.commit-ref .user{color:#598a9f}a.commit-ref:hover{text-shadow:-1px -1px 0 rgba(0,0,0,0.2);background-color:#2a5177;background-image:-webkit-linear-gradient(#74a4d4, #2a5177);background-image:linear-gradient(#74a4d4, #2a5177);background-repeat:repeat-x;border-color:#2a5177;text-decoration:none}.compare-cutoff,.diff-cutoff{margin:5px 0;padding:8px 0;font-weight:bold;text-align:center;border-radius:3px;color:#4c4a42;background-color:#fff9ea;border:solid 1px #dfd8c2}.table-of-contents{margin:15px 0}.table-of-contents li{padding:7px 0;list-style-type:none}.table-of-contents li+li{border-top:1px solid #eee}.table-of-contents li>.octicon{margin-right:3px;vertical-align:-1px}.table-of-contents .octicon-diff-removed{color:#bd2c00}.table-of-contents .octicon-diff-renamed{color:#677a85}.table-of-contents .octicon-diff-modified{color:#d0b44c}.table-of-contents .octicon-diff-added{color:#6cc644}.toc-diff-stats{padding-left:20px;line-height:26px}.toc-diff-stats .octicon{float:left;margin-top:3px;margin-left:-20px;color:#ccc}.toc-diff-stats .button-link{font-weight:bold}.toc-diff-stats+.content{padding-top:5px}span.no-nl-marker{position:relative;top:1px;color:#bd2c00;margin-left:4px;vertical-align:middle}.symlink .no-nl-marker{display:none}.existing-pull{margin:10px 0}.existing-pull .list-group-item:before{display:table;content:""}.existing-pull .list-group-item:after{display:table;clear:both;content:""}.existing-pull .existing-pull-contents{float:left;width:680px}.existing-pull .existing-pull-button{float:right;margin-top:3px}.existing-pull .existing-pull-number{font-weight:normal;color:#aaa}.existing-pull .css-truncate{max-width:700px}.existing-pull .css-truncate p{display:inline}.compare-pr-placeholder{margin:10px 0;padding:15px;font-size:14px;color:#4c4a42;background-color:#fff9ea;border:solid 1px #dfd8c2;border-radius:3px}.compare-pr-placeholder p{margin:7px 0;color:#6d6c60}.compare-pr-placeholder .button{margin-right:10px;margin-bottom:-2px}.compare-pr-placeholder .button .octicon{vertical-align:-1px}.compare-pr-placeholder .help-link{margin-top:5px;margin-right:-3px;padding:3px;color:#9c997d;text-decoration:none}.compare-pr .pull-request-composer{display:none}.compare-pr .contributing{display:none}.compare-pr.open .compare-pr-placeholder{display:none}.compare-pr.open .pull-request-composer{display:block}.compare-pr.open .contributing{display:block}.contributing{padding:15px;margin:15px 0;font-size:14px;color:#4c4a42;background-color:#fff9ea;border:1px solid #dfd8c2;border-radius:3px}.pull-request-composer{position:relative;margin-bottom:15px;border:1px solid #ddd;border-radius:3px}.pull-request-composer .preview-content{min-height:120px}.discussion-topic{float:left;width:80%;border-right:1px solid #ddd}.composer-meta{float:left;width:20%;padding-right:10px;padding-left:10px;text-align:center}.composer-meta .branch-action-icon{display:inline-block;float:none;margin:15px 0}.composer-meta .merge-branch-heading{font-size:14px}.composer-meta .merge-branch-description{margin:10px 0;font-size:12px}.composer-meta .branch-action-state-clean .merge-branch-heading{color:#6cc644}.composer-submit{position:absolute;right:1%;bottom:10px;width:18%}#contact-github textarea{height:100px;resize:vertical}.heartocat{display:block;margin:50px auto 0}.documentation-results-wrapper{position:relative;top:-19px}.documentation-results{position:absolute;top:0;z-index:2;width:400px;margin-top:5px;clear:both;box-shadow:0 0 5px rgba(0,0,0,0.2)}.documentation-results ul{width:100%}.documentation-results ul li:first-child a{border-top-left-radius:3px;border-top-right-radius:3px}.documentation-results .documentation-results-footer a{border-bottom-left-radius:3px;border-bottom-right-radius:3px}.documentation-results a{outline:none;padding:5px 10px;display:block;color:#333;font-weight:bold;cursor:pointer;text-decoration:none;border:solid #ddd;border-width:0 1px 1px;background-color:#fff}.documentation-results a:hover{background-color:#3586c3;color:#fff}.documentation-results a.selected{background-color:#3586c3;color:#fff}ul.documentation-results-group{list-style-type:none}.contact-form-extras{display:none}.context-loader-container .context-loader{display:none}.context-loader-container .context-loader.is-context-loading{display:block;white-space:nowrap}.context-loader-container .context-loader-overlay{opacity:1;-webkit-transition:opacity 0.25s ease-in-out;transition:opacity 0.25s ease-in-out}.context-loader-container .context-loader-overlay.is-context-loading{opacity:0.5}.page-context-loader{margin-left:10px;display:none}.page-context-loader.is-context-loading{display:inline-block}body.disables-context-loader .page-context-loader,body.disables-context-loader .context-loader{display:none !important}.contributions-tab{margin-top:20px}.calendar-graph{padding:5px 0 0;height:126px;text-align:center}.calendar-graph.days-selected rect.day{opacity:0.5}.calendar-graph.days-selected rect.day.active{opacity:1}.calendar-graph .activity{margin-top:0}.calendar-graph .dots{margin:20px auto 0;width:64px;height:64px}.calendar-graph text.month{font-size:10px;fill:#aaa}.calendar-graph text.wday{fill:#ccc;font-size:9px}#contributions-calendar rect.day{shape-rendering:crispedges}#contributions-calendar rect.day.empty:hover{stroke:none}#contributions-calendar rect.day:hover{stroke:#555;stroke-width:1px}.contrib-column{padding:15px 0;text-align:center;border-left:1px solid #ddd;border-top:1px solid #ddd;font-size:11px}.contrib-column-first{border-left:0}.contrib-number{font-weight:300;line-height:1.3em;font-size:24px;display:block;color:#333}.contrib-footer{font-size:11px;padding:0 10px 12px}.contrib-legend{font-size:11px;color:#999;float:right}.contrib-legend .legend{display:inline-block;list-style:none;margin:0 5px;position:relative;bottom:-1px}.contrib-legend .legend li{display:inline-block;width:10px;height:10px}.new-user-contrib-intro{border-top:solid 1px #ddd;padding:5px 20px;font-size:16px}.contrib-square{color:#d6e685;font-size:22px;line-height:1}.contribution-activity h2{font-size:18px;font-weight:normal;margin:30px 0 15px}.contribution-activity .select-menu-button{position:relative;top:-4px}.contribution-activity.loading .contribution-activity-listing{display:none}.contribution-activity.loading .contribution-activity-spinner{display:block}.contribution-activity-spinner{margin:20px auto 0;width:64px;height:64px;display:none}ul.simple-conversation-list a.meta{color:#777}li.contribution{list-style:none;padding:10px 0}li.contribution:last-child{border-bottom:0}li.contribution h3{font-size:14px;display:inline-block;margin:0}li.contribution h3 a{color:#4183c4}li.contribution .cmeta{display:block;font-size:12px;color:#aaa;font-weight:normal}li.contribution .cmeta a{color:#666}li.contribution .cmt{color:#999}li.contribution .d{color:#c00}li.contribution .a{color:#8cac29}li.contribution .num{color:#777}.subscribe-feed{display:inline-block;color:#333}.subscribe-feed .octicon{margin-right:5px}.new-user-panel{position:relative;padding:18px;margin-bottom:30px;font-size:16px;border:dashed 2px #ccc;border-radius:3px}.new-user-panel-close{position:absolute;top:10px;right:18px;color:#ccc}.new-user-panel-close:hover{color:#666}.new-user-intro{margin:0 120px;font-size:36px;font-weight:normal;line-height:1.3;text-align:center}.new-user-heading-small{margin:5px 170px 20px;font-size:20px;color:#888;text-align:center}.button-hello-world{font-size:16px;padding:10px 50px}.welcome-guides{position:relative;padding:30px;margin-bottom:30px;border:2px dashed #ddd;border-radius:3px}.welcome-guides h1{margin-top:0;margin-bottom:0;text-align:center}.welcome-guides .lead{margin-top:0;margin-bottom:20px;text-align:center}.welcome-guides .guides-list-item{color:#777}.welcome-guides .guides-list-item:hover{color:#4183c4;text-decoration:none}.welcome-guides .guides-list-item p{margin-bottom:0}.welcome-guides .dismiss-guides{position:absolute;top:30px;right:28px;display:block;padding-left:5px;color:#ccc}.welcome-guides .dismiss-guides:hover{color:#4183c4}.guides-bootcamp{text-align:center}.guides-bootcamp p{margin-top:0;margin-bottom:0}.guides-bootcamp .guides-list-item{padding-right:15px;padding-left:15px}.guides-bootcamp .guides-image{display:block;width:auto;height:100px;margin:10px auto 20px}.guides-bootcamp .guides-list-title{margin-top:0;margin-bottom:5px;color:#4183c4}.bootcamp{margin:0 0 20px}.bootcamp h1{position:relative;padding:8px 10px;margin:0;font-size:16px;font-weight:bold;color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.4);background-color:#829aa8;border:1px solid #677c89;border-bottom-color:#6b808d;border-radius:3px 3px 0 0}.bootcamp h1 a{color:#fff;text-decoration:none}.bootcamp .octicon-x{position:relative;top:-2px;font-size:16px;line-height:16px}.bootcamp .dismiss-bootcamp{position:absolute;top:9px;right:9px;display:block;width:16px;height:16px;background-repeat:no-repeat;background-position:0 0}.bootcamp .dismiss-bootcamp:hover{background-position:0 -19px}.bootcamp .bootcamp-body{padding:10px 1%;overflow:hidden;background-color:#e9f1f4;border-color:#e9f1f4 #d8dee2 #d8dee2;border-style:solid;border-width:1px;border-radius:0 0 3px 3px}.bootcamp ul li{background-color:#f5f3b4;background-image:-webkit-linear-gradient(#fffff5, #f5f3b4);background-image:linear-gradient(#fffff5, #f5f3b4);background-repeat:repeat-x;position:relative;display:block;float:left;width:24.25%;height:215px;margin:0 1% 0 0;overflow:hidden;font-size:13px;font-weight:normal;color:#666;border:1px solid #dfddb5;border-radius:3px;box-shadow:0 1px 0 #fff}.bootcamp ul li.be-social{margin-right:0}.bootcamp ul li:hover{background-color:#f1eea3;background-image:-webkit-linear-gradient(#fcfce9, #f1eea3);background-image:linear-gradient(#fcfce9, #f1eea3);background-repeat:repeat-x;border:1px solid #d6d4ad}.bootcamp ul li a{color:#666;text-decoration:none}.bootcamp .image{position:relative;display:block;height:133px;background-repeat:no-repeat;background-position:center center}.bootcamp .setup .image{background-image:url(/images/modules/dashboard/bootcamp/octocat_setup.png);background-size:129px 96px}.bootcamp .create-a-repo .image{background-image:url(/images/modules/dashboard/bootcamp/octocat_repo.png);background-size:129px 96px}.bootcamp .fork-a-repo .image{background-image:url(/images/modules/dashboard/bootcamp/octocat_fork.png);background-size:178px 96px}.bootcamp .be-social .image{background-image:url(/images/modules/dashboard/bootcamp/octocat_collabocats.png);background-position:center 27px;background-size:207px 96px}.bootcamp .desc{position:relative;z-index:2;padding:10px 15px 20px;overflow:hidden;text-align:center;background-repeat:no-repeat}.bootcamp .desc>h2{padding:0;margin:0 0 5px;font-size:15px;color:#393939}.bootcamp .desc p{padding:0;margin:0;line-height:1.2em}.bootcamp .step-number{position:absolute;top:-1px;left:10px;font-size:36px;font-weight:bold;color:#e4e1a8;opacity:0.75}.first-run{width:800px;margin:25px auto;text-align:center}.first-run-heading{font-size:36px;font-weight:normal}.first-run-subheading{font-size:16px;font-weight:normal;color:#999}.first-run-survey{width:800px;padding:0;margin:0 auto}.first-run-survey .button+.button{margin-left:12px}.first-run-survey ul.guides{list-style-type:none}.first-run-small-wrapper{box-sizing:border-box;padding:35px 25px;margin-top:25px;background-color:#f0f7fd;border:1px solid #d2d8dd;border-radius:3px}.first-run-survey-question p{margin:0 0 25px;font-size:22px;font-weight:500;line-height:1}.first-run-survey-progress{margin-top:25px}.first-run-survey-progress .circle{display:inline-block;width:10px;height:10px;margin:0 4px;border:1px solid #d1d1d1;border-radius:52%}.first-run-survey-progress .current{background-color:#4183c4;border-color:#4183c4}.first-run-survey-progress .completed{background-color:#d1d1d1;border-color:#d1d1d1}.first-run-survey-other{width:230px;margin:16px auto auto}.first-run-skip{padding:15px 0 0;margin-top:30px;font-size:14px;border-top:1px solid #e9e9e9}.first-run-skip span{font-weight:500}.first-run-get-started{box-sizing:border-box;padding:0 2px;margin:25px 0;overflow:hidden;clear:both;border:1px solid #e5e5e5;border-radius:3px;box-shadow:0 1px 1px rgba(0,0,0,0.01)}.first-run-get-started div{float:left;width:50%;box-sizing:border-box;padding:18px 20px 22px 18px;text-align:left}.first-run-get-started .mega-octicon{float:left;color:#cccccc}.first-run-get-started p{padding:0 0 0 47px;margin:5px 0;color:#333}.first-run-get-started h2{padding:0 0 0 47px;margin:0 0 10px;font-size:18px;font-weight:bold;color:#333}.first-run-get-started a{margin-top:12px;margin-left:47px}.first-run-get-started .first-box{border-right:1px solid #eee}.first-run-help-link{color:#999}.user-repos .mini-repo-list-item{padding-right:6px}.user-repos .mini-repo-list-item .repo-and-owner{max-width:100%}.user-repos .mini-repo-list-item .owner{max-width:145px}#example_octofication{float:right;width:335px;margin:0}.octofication{margin-bottom:15px}.octofication .message{min-height:56px;padding:10px 10px 10px 50px;border:solid 1px #4183c4;border-radius:3px}.octofication .message h3{margin:1px 20px 3px 0;font-size:14px;line-height:1.2}.octofication .message p{padding:0;margin:0;font-size:12px;color:#555}.octofication .message p+p{margin-top:15px}.octofication .broadcast-icon{position:relative;float:left;margin-left:-40px;color:#4183c4}.octofication .broadcast-icon-mask{position:absolute;top:0;width:10px;height:16px;background-color:#fff;opacity:0;-webkit-animation:broadCastMaskFade 1s ease-in-out 2s 2;animation:broadCastMaskFade 1s ease-in-out 2s 2}.octofication .broadcast-icon-mask.left{left:0}.octofication .broadcast-icon-mask.right{right:0}.octofication .notice-dismiss{position:relative;top:-2px;float:right;color:#bbb}.octofication .notice-dismiss:hover{color:#666}.octofication-more{margin:5px 0;font-size:11px;text-align:right}@-webkit-keyframes broadCastMaskFade{0%{opacity:0}30%{opacity:1}70%{opacity:1}100%{opacity:0}}@keyframes broadCastMaskFade{0%{opacity:0}30%{opacity:1}70%{opacity:1}100%{opacity:0}}.github-jobs-promotion{margin-bottom:15px}.github-jobs-promotion p{background-color:#e4f0ff;background-image:-webkit-linear-gradient(#f5fbff, #e4f0ff);background-image:linear-gradient(#f5fbff, #e4f0ff);background-repeat:repeat-x;position:relative;padding:10px 18px;font-size:12px;color:#1b3650;text-align:center;border:1px solid #cee0e7;border-radius:3px}.github-jobs-promotion p a{color:#1b3650}.github-jobs-promotion a.jobs-logo{display:block;font-size:11px;color:#999;text-align:center}.github-jobs-promotion a.jobs-logo:hover{text-decoration:none}.github-jobs-promotion a.jobs-logo strong{display:inline-block;width:62px;height:12px;text-indent:-9999px;vertical-align:middle;background:url(/images/modules/jobs/logo.png) 0 0 no-repeat;background-size:62px auto}.github-jobs-promotion .job-location{white-space:nowrap}.github-jobs-promotion a.octicon-info{position:absolute;right:5px;bottom:5px;color:#a9b8be;color:#a9b8be;text-decoration:none;cursor:pointer;opacity:0.8}.github-jobs-promotion p:hover .octicon-info{opacity:1}#dashboard h1{margin-bottom:0.5em;font-size:160%}#dashboard h1 a{font-size:70%;font-weight:normal}#dashboard .notice{padding:15px;margin-top:0;margin-bottom:0;text-align:center}.news .release{margin-top:0;margin-bottom:0}.news blockquote{color:#666}.news h1{margin-bottom:0}.news .alert{position:relative;padding:0 0 1em 45px;overflow:hidden;border-top:1px solid #f1f1f1}.news .alert .commits{padding-left:40px}.news .alert .css-truncate.css-truncate-target,.news .alert .css-truncate .css-truncate-target{max-width:180px}.news .alert p{margin:0}.news .alert .markdown-body blockquote{padding:0 0 0 40px;border:0 none}.news .alert .mega-octicon{position:absolute;top:14px;left:0;width:32px;height:32px;padding:3px;color:#bbb}.news .alert .mega-octicon::before{color:inherit}.news .alert .octicon{width:16px;height:16px;color:#bbb}.news .alert .body{padding:1em 0 0;overflow:hidden;font-size:14px;border-bottom:0}.news .alert .time{font-size:12px;color:#bbb}.news .alert .title{padding:0;font-weight:bold}.news .alert .title .subtle{color:#bbb}.news .alert .gravatar{float:left;margin-right:0.6em;line-height:0;background-color:#fff;border-radius:3px}.news .alert .simple>.octicon{position:absolute !important;left:11px;width:16px;height:16px}.news .alert .simple .title{display:inline-block;font-size:13px;font-weight:normal;color:#666}.news .alert .simple .time{display:inline-block}.news .alert .pull-info,.news .alert .branch-link{display:inline-block;padding:3px 7px;margin-top:5px;font-size:12px;color:rgba(0,0,0,0.5);background:#e8f1f6;border-radius:3px}.news .alert .pull-info em,.news .alert .branch-link em{font-style:normal;font-weight:bold}.news .alert .branch-link{position:relative;top:-2px;margin:0;font-family:Consolas, "Liberation Mono", Menlo, Courier, monospace}.news .alert .branch-link .octicon{color:#b0c4ce}.news .alert:first-child{border-top:0}.news .alert:first-child .body{padding-top:0}.news .alert:first-child .mega-octicon{top:0}.news .git_hub .done{color:#666;text-decoration:line-through}.news .commits li{margin-top:0.15em;list-style-type:none}.news .commits li.more{padding-top:2px;font-size:11px}.news .commits li .committer{display:none;padding-left:0.5em}.news .commits li img{margin:0 1px 0 0;vertical-align:middle;background-color:#fff;border-radius:2px}.news .commits li img.emoji{padding:0;margin:0;border:0}.news .commits li .message{display:inline-block;max-width:390px;margin-top:2px;overflow:hidden;font-size:13px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap;vertical-align:top}.news div.message,.news li blockquote{display:inline;font-size:13px;color:#666}.release-assets{padding-left:40px}.release-assets li{margin-top:0.15em;list-style-type:none}.release-assets .more{padding-top:2px;font-size:11px}.news-full,.page-profile .news{float:none;width:auto}.activity-tab .blankslate{margin-top:10px}.activity-tab .news .markdown-body blockquote,.activity-tab .news .alert .commits{padding-left:0}.activity-tab .news a.gravatar,.activity-tab .news div.gravatar{display:none}.saml-signed-out-notice{position:relative;width:450px;padding:10px 10px 10px 70px;margin:50px auto 30px;border:1px solid #eee;border-radius:3px}.saml-signed-out-notice .mega-octicon{position:absolute;top:30px;left:20px;color:#ddd}.saml-signed-out-notice h3{margin-bottom:0}.saml-signed-out-notice p{margin-top:5px}.survey-box.simple-box{position:fixed;right:25px;bottom:-20px;z-index:11;padding-bottom:0;border-bottom:0;border-radius:4px 4px 0 0;background-color:#f9f9f9;box-shadow:0 0 10px rgba(0,0,0,0.05);-webkit-animation:slideUp 0.5s ease 1.25s both;animation:slideUp 0.5s ease 1.25s both;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.survey-box.simple-box .simple-box-title{margin-bottom:-7px;padding-bottom:0;border-bottom:0;font-size:14px}.survey-box.simple-box .simple-box-footer{margin:0 -15px;padding:7px;background-color:#fff}.survey-box.simple-box .close-button{margin-top:-5px;color:#aaa}@-webkit-keyframes slideUp{0%{-webkit-transform:translate3d(0, 500px, 0);transform:translate3d(0, 500px, 0)}100%{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes slideUp{0%{-webkit-transform:translate3d(0, 500px, 0);transform:translate3d(0, 500px, 0)}100%{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.dashboards-overview-lead{width:700px}.dashboards-overview-cards .boxed-group{margin:10px 0;width:100%}.dashboards-overview-cards .boxed-group path{stroke:#1db34f;stroke-opacity:0.5}.dashboards-overview-cards .blankslate{border:0;background-color:#fff;box-shadow:none;padding-top:47px}.dashboards-overview-cards .octicon-arrow-down{color:#bd2c00}.dashboards-overview-cards .octicon-arrow-up{color:#1db34f}.dashboards-overview-cards .graph-canvas .dots{padding:43px 0}.dashboards-overview-cards .summary-stats{height:78px}.dashboards-overview-cards .summary-stats .created_at{color:#1db34f}.dashboards-overview-cards .summary-stats .closed_at,.dashboards-overview-cards .summary-stats .merged_at{color:#4183c4}.dashboards-overview-cards .summary-stats .totals-num{margin:0 7px}.dashboards-overview-cards .summary-stats .single{width:100%}.dashboards-overview-graph{height:160px}.dashboards-overview-graph .path{fill:none;stroke-width:2}.dashboards-overview-graph path.created_at{stroke:#1db34f}.dashboards-overview-graph path.merged_at,.dashboards-overview-graph path.closed_at{stroke:#1d7fb3}.dashboards-overview-graph .y line{stroke:#1db34f}.dashboards-overview-graph .y.unique line{stroke:#1d7fb3}.dashboards-overview-graph .overlay{fill-opacity:0}.created_at circle{fill:#1db34f;stroke:#fff;stroke-width:2}.merged_at circle,.closed_at circle{fill:#1d7fb3;stroke:#fff;stroke-width:2}.diffstat{font-size:12px;font-weight:bold;color:#666;white-space:nowrap;cursor:default}.diffstat-bar{display:inline-block;margin-left:3px;font-size:16px;color:#ddd;letter-spacing:1px;text-align:left;text-decoration:none;font:normal normal 16px/1 "octicons";display:inline-block;text-decoration:none;-webkit-font-smoothing:antialiased}.discussion-timeline{position:relative;width:760px;float:left}.discussion-timeline:before{display:block;content:"";position:absolute;top:0;bottom:0;left:79px;width:2px;background-color:#f3f3f3;z-index:-1}.discussion-sidebar{position:-webkit-sticky;position:sticky;top:0;z-index:21;float:right;width:140px}.discussion-sidebar-item{padding-top:15px;font-size:12px;color:#999}.discussion-sidebar-item .minibutton .octicon{margin-right:0}.discussion-sidebar-item .button-block{margin-bottom:8px}.discussion-sidebar-item+.discussion-sidebar-item{margin-top:15px;border-top:1px solid #eee}.discussion-sidebar-item .select-menu{position:relative}.discussion-sidebar-item .select-menu-modal-holder{top:25px;left:auto;right:-1px}.discussion-sidebar-heading{margin-top:0;margin-bottom:10px;font-size:12px;line-height:16px;color:#777}.discussion-sidebar-toggle{padding:5px;margin:-5px -5px 5px}.discussion-sidebar-toggle .octicon{float:right;padding:5px;margin:-6px -5px -5px 5px;color:#ccc}.discussion-sidebar-toggle:hover{color:#4183c4;text-decoration:none;cursor:pointer}.discussion-sidebar-toggle:hover .octicon{color:inherit}button.discussion-sidebar-toggle{display:block;width:150px;font-weight:bold;text-align:left;background:none;border:0}.sidebar-labels .labels .label{display:block;max-width:100%;padding:6px 10px;font-size:12px;box-shadow:none}.sidebar-labels .labels .label+.label{margin-top:3px}.sidebar-milestone .progress-bar{margin-bottom:2px;border-radius:2px;height:8px}.milestone-name{display:block;margin-top:5px;font-weight:bold;color:#555}.milestone-name .css-truncate-target{max-width:100%}.milestone-name:hover{color:#4183c4;text-decoration:none}.sidebar-assignee .css-truncate-target{max-width:110px}.sidebar-assignee .avatar{margin-top:-1px;margin-right:2px;border-radius:2px}.sidebar-assignee .assignee{color:#555;font-weight:bold}.sidebar-assignee .assignee:hover{color:#4183c4;text-decoration:none}.sidebar-notifications{position:relative}.sidebar-notifications .thread-subscription-status{margin:0;padding:0;border:0}.sidebar-notifications .thread-subscription-status .thread-subscribe-form{display:block}.sidebar-notifications .thread-subscription-status .mega-octicon{display:none}.sidebar-notifications .thread-subscription-status .reason{padding:0;margin:5px 0 0;font-size:11px;color:#999}.sidebar-notifications .thread-subscription-status .minibutton{display:block;width:100%}.participation .participant-avatar{float:left;margin:3px 0 0 3px}.participation a{color:#999}.participation a:hover{color:#4183c4;text-decoration:none}.participation-avatars{margin-left:-3px}.participation-avatars:before{display:table;content:""}.participation-avatars:after{display:table;clear:both;content:""}.participation-more{float:left;margin:6px 0 0;line-height:14px}.lock-toggle-link{color:#777;font-weight:bold}.lock-toggle-link:hover{color:#4183c4;text-decoration:none}.inline-comment-form .form-actions,.timeline-new-comment .form-actions{padding:0 10px 10px}.form-content .form-actions{padding:0}.gh-header-actions{float:right;margin-top:3px}.gh-header-actions .minibutton{float:left;margin-left:5px}.gh-header-actions .minibutton .octicon{margin-right:0}.gh-header .gh-header-edit{display:none}.gh-header.open .gh-header-show{display:none}.gh-header.open .gh-header-edit{display:block}.gh-header-title{margin-top:0;margin-bottom:0;margin-right:150px;font-weight:normal;line-height:1.1;word-wrap:break-word}.gh-header-no-access .gh-header-title{margin-right:0}.gh-header-number{font-weight:300;color:#aaa;letter-spacing:-1px}.gh-header-edit{margin-top:-5px}.gh-header-edit:before{display:table;content:""}.gh-header-edit:after{display:table;clear:both;content:""}.gh-header-edit .edit-issue-title{float:left;width:760px;padding:6px 10px;margin-right:10px;font-size:16px;background-color:#fafafa}.gh-header-edit .edit-issue-title:focus{background-color:#fff}.gh-header-edit .button{float:left;padding:8px 15px}.gh-header-edit .button-link{float:left;margin:10px}.gh-header-meta{margin-top:9px;font-size:14px;line-height:20px;color:#777;padding-bottom:20px;border-bottom:1px solid #eee}.gh-header.issue .gh-header-meta{margin-bottom:15px}.gh-header.pull .gh-header-meta{border-bottom:0;padding-bottom:0}.gh-header-meta.discussions-header-meta{margin-top:6px;padding-bottom:15px}.gh-header-meta .flex-table-item{vertical-align:top}.gh-header-meta .flex-table-item-primary{padding-top:4px;white-space:normal;word-wrap:break-word}.gh-header-meta .flex-table-item-primary .commit-ref .css-truncate-target,.gh-header-meta .flex-table-item-primary .commit-ref:hover .css-truncate-target{max-width:780px !important}.gh-header-meta .state{margin-right:8px}.gh-header-meta .avatar{float:left;margin-top:-3px;margin-right:5px}.gh-header-meta .author{color:#555;font-weight:bold}.gh-header-meta .noun{text-transform:lowercase}.tabnav-pr{margin:15px 0 20px;border-color:#e5e5e5}.tabnav-pr .tabnav-tab{padding:9px 14px;font-size:13px;color:#777}.tabnav-pr .tabnav-tab.selected{color:#333;border-color:#e5e5e5}.tabnav-pr .diffstat-bar{padding-bottom:3px}.timeline-comment-wrapper>.timeline-comment:after,.timeline-comment-wrapper>.timeline-comment:before,.timeline-new-comment .timeline-comment:after,.timeline-new-comment .timeline-comment:before{position:absolute;top:11px;left:-16px;right:100%;width:0;height:0;display:block;content:" ";border-color:transparent;border-style:solid solid outset;pointer-events:none}.timeline-comment-wrapper>.timeline-comment:after,.timeline-new-comment .timeline-comment:after{border-width:7px;border-right-color:#f7f7f7;margin-top:1px;margin-left:2px}.timeline-comment-wrapper>.timeline-comment:before,.timeline-new-comment .timeline-comment:before{border-right-color:#ddd;border-width:8px}.timeline-comment-wrapper{position:relative;padding-left:64px;margin-top:15px;margin-bottom:15px;border-top:2px solid #fff;border-bottom:2px solid #fff}.timeline-comment-wrapper:first-child{margin-top:0}.discussion-timeline-actions .timeline-comment-wrapper:first-child{margin-top:15px}.timeline-comment-wrapper .timeline-comment.unread-item:after,.timeline-comment-wrapper .timeline-comment.unread-item:before{position:absolute;top:11px;left:-16px;right:100%;width:0;height:0;display:block;content:" ";border-color:transparent;border-style:solid solid outset;pointer-events:none}.timeline-comment-wrapper .timeline-comment.unread-item:after{border-width:7px;border-right-color:#fff9ea;margin-top:1px;margin-left:2px}.timeline-comment-wrapper .timeline-comment.unread-item:before{border-right-color:#dfd8c2;border-width:8px}.timeline-comment-avatar{float:left;margin-left:-64px;border-radius:3px}.timeline-comment{position:relative;background-color:#fff;border:1px solid #ddd;border-radius:3px}.timeline-comment.current-user{border-color:#bfccd1}.timeline-comment.current-user:after{border-right-color:#f2f8fa}.timeline-comment.current-user:before{border-right-color:#bfccd1}.timeline-comment.current-user .timeline-comment-header{color:#8e9597;background-color:#f2f8fa;border-bottom-color:#e1edf1}.timeline-comment.will-transition-once{-webkit-transition:border-color 0.65s ease-in-out;transition:border-color 0.65s ease-in-out}.timeline-comment.will-transition-once .timeline-comment-header{-webkit-transition:background-color 0.65s ease, border-bottom-color 0.65s ease-in-out;transition:background-color 0.65s ease, border-bottom-color 0.65s ease-in-out}.timeline-comment.will-transition-once .timeline-comment-label{-webkit-transition:border-color 0.65s ease-in-out;transition:border-color 0.65s ease-in-out}.timeline-comment.will-transition-once:before,.timeline-comment.will-transition-once:after{-webkit-transition:border-right-color 0.65s ease-in-out;transition:border-right-color 0.65s ease-in-out}.timeline-comment.unread-item{border-color:#dfd8c2}.timeline-comment.unread-item .timeline-comment-header{background-color:#fff9ea;border-bottom-color:#f1ede3}.timeline-comment.unread-item .timeline-comment-label{border-color:#dfd8c2}.timeline-comment:empty{display:none}.timeline-comment .comment+.comment{border-top:1px solid #e5e5e5}.timeline-comment .comment+.comment:before,.timeline-comment .comment+.comment:after{display:none}.timeline-comment .comment+.comment .timeline-comment-header{border-top-left-radius:0;border-top-right-radius:0}.timeline-comment-header{padding-left:15px;padding-right:15px;color:#999;background-color:#f7f7f7;border-bottom:1px solid #eee;border-top-left-radius:3px;border-top-right-radius:3px}.timeline-comment-header .author{font-weight:bold;color:#555}.timeline-comment-header .timestamp{white-space:nowrap;color:inherit}.timeline-comment-header code{word-break:break-all}.comment-type-icon{color:inherit}.timeline-comment-label{float:right;margin:8px 0 0 10px;padding:2px 5px;font-size:12px;border:1px solid rgba(0,0,0,0.1);border-radius:3px}.timeline-comment-label-spammy{color:#bd2c00;border-color:#bd2c00}.timeline-comment-header-text{max-width:78%;padding-top:10px;padding-bottom:10px}.timeline-comment-header-text code a{color:#555}.timeline-comment-header-avatar{float:left;margin-top:10px;margin-right:5px}.timeline-comment-actions{float:right;margin-right:-5px;margin-left:10px}.timeline-comment-action{display:inline-block;padding:10px 5px;color:inherit;opacity:0.5}.timeline-comment-action:hover{opacity:1;color:#4183c4;text-decoration:none}.timeline-comment-action .octicon-check{height:16px;font-size:18px}.compare-tab-comments .timeline-comment-actions{display:none}.discussion-item-ref .commit-gravatar{padding-left:2px;padding-right:5px}.discussion-item-ref .task-progress{display:block;margin-bottom:-2px}.discussion-item-ref .task-progress .progress-bar{margin-bottom:0}.discussion-item-ref .task-progress .octicon{font-size:16px}.discussion-item-ref .discussion-item-body .title{margin-top:10px}.discussion-item-ref .state{padding:1px 5px;margin-top:-4px;margin-left:8px;font-size:12px}.discussion-item-ref .state .octicon{width:1em;font-size:14px}.timeline-new-comment{max-width:780px;margin-bottom:0}.timeline-new-comment .comment-form-head{margin-bottom:10px}.timeline-new-comment .previewable-comment-form .comment-body{padding:5px 5px 15px;border-bottom:1px solid #eee}.discussion-item{position:relative;margin:15px 0 15px 79px;padding-left:25px}.discussion-item+.discussion-item{padding-top:15px;border-top:1px solid #f5f5f5}.discussion-item .author{color:#555;font-weight:bold}.discussion-item .timestamp{color:inherit;white-space:nowrap}.discussion-item .label-color{padding:2px 4px;font-size:12px;font-weight:bold;border-radius:2px;box-shadow:inset 0 -1px 0 rgba(0,0,0,0.12)}.discussion-item .label-color a:hover{text-decoration:none}.discussion-item-icon{float:left;width:32px;height:32px;margin-top:-7px;margin-left:-40px;line-height:28px;color:#666;text-align:center;background-color:#f3f3f3;border:2px solid #fff;border-radius:50%}.discussion-item-icon.octicon-pencil{font-size:14px}.discussion-item-header{min-height:30px;padding-top:5px;padding-bottom:5px;color:#777;line-height:20px;word-wrap:break-word}.discussion-item-header .avatar{float:left;margin-top:2px;margin-right:5px}.discussion-item-header .discussion-item-private{vertical-align:-1px}.discussion-item-header:last-child{padding-bottom:0}.discussion-item-header .commit-ref{font-size:85%;vertical-align:baseline}.discussion-item-header .button-outline{float:right;padding:4px 8px;margin-top:-5px}.discussion-item-body{margin-top:5px}.discussion-item-link{color:#777}.discussion-item-link:hover{color:#4183c4}.discussion-item-entity{font-weight:bold;color:#333}.discussion-item-entity:hover{color:#4183c4;text-decoration:none}.discussion-item-ref-title{margin-top:0;margin-bottom:0;line-height:1.2}.discussion-item-ref-title .issue-num{font-weight:normal;color:#999}.discussion-item-ref-title .title-link{color:#333}.discussion-item-ref-title .title-link:hover{color:#4183c4;text-decoration:none}.discussion-item-ref-title .title-link:hover .issue-num{color:inherit}.discussion-item-context-icon{display:inline-block;line-height:22px;margin-top:-2px;margin-left:10px}.discussion-item-help{color:#999}.discussion-item-help:hover{color:#4183c4}.discussion-item-private{color:#a1882b}.discussion-item-rollup-ref .state{margin-top:2px}.discussion-item-rollup-ref .discussion-item-context-icon{margin-top:2px}.discussion-item-reopened .discussion-item-icon{color:#fff;background-color:#6cc644}.discussion-item-merged .discussion-item-icon{padding-left:2px;color:#fff;background-color:#6e5494}.discussion-item-closed .discussion-item-icon{color:#fff;background-color:#bd2c00}.discussion-item-head_ref_deleted .discussion-item-icon{padding-left:2px;color:#fff;background-color:#999}.discussion-item-locked .discussion-item-icon,.discussion-item-unlocked .discussion-item-icon{color:#fff;background-color:#333}.discussion-item .renamed-was,.discussion-item .renamed-is{color:#333;font-weight:bold}.discussion-commits .discussion-item-icon{padding-top:1px}.discussion-commits .discussion-item-body{margin-top:0;margin-left:-31px}.discussion-item-toggle-open{display:none}.discussion-item-toggle{float:right;color:#777}.discussion-item-toggle:hover{color:#4183c4;text-decoration:none}.discussion-item-toggle .octicon{vertical-align:middle}.outdated-diff-comment-container .discussion-item-body{display:none}.outdated-diff-comment-container.open .discussion-item-body,.outdated-diff-comment-container.open .discussion-item-toggle-open{display:block}.outdated-diff-comment-container.open .discussion-item-toggle-closed{display:none}.new-discussion-timeline .form-content textarea{font-size:14px;line-height:1.6}.new-discussion-timeline .previewable-comment-form .comment-form-head.tabnav{background:#f7f7f7;padding:6px 10px 0;border-radius:3px 3px 0 0}.new-discussion-timeline .previewable-comment-form .draft-indicator{position:relative;top:-1px}.new-discussion-timeline .previewable-comment-form .comment{border:0}.new-discussion-timeline .previewable-comment-form .comment-body{padding:5px 5px 15px;border-bottom:1px solid #eee;background-color:transparent}.new-discussion-timeline .previewable-comment-form .timeline-comment .timeline-comment-actions{display:none}.new-discussion-timeline .closed-banner{position:relative;margin:15px 0 -15px;height:19px;overflow:visible;background:#f3f3f3;border-radius:0;border-bottom:15px solid #fff}.new-discussion-timeline .discussion-hidden{background:#fff;opacity:1;position:relative}.new-discussion-timeline .discussion-hidden .comment-header{background:#fff}.new-discussion-timeline .discussion-hidden .comment-snippet p{vertical-align:middle}.new-discussion-timeline .composer .timeline-comment{margin-bottom:10px}.new-discussion-timeline .composer .timeline-comment:after{border-right-color:#fff}.new-discussion-timeline .composer .comment-form-head.tabnav{padding-top:0;background-color:#fff}.discussion-timeline-actions{border-top:2px solid #f3f3f3;background-color:#fff}.discussion-timeline-actions .merge-pr{padding-top:0;border-top:0}.discussion-timeline-actions .thread-subscription-status{margin-top:20px}.discussion-timeline-actions .thread-subscription-status .mega-octicon{display:none}.discussions-header{margin-bottom:20px}.discussions-header .select-menu,.discussions-header .primary{float:left;margin-left:5px}.discussions-header-title{margin-top:0;margin-bottom:0;line-height:26px}.discussions-new{max-width:800px;padding:15px}.blankslate.discussions{padding:115px 0}.discussions{margin:0 0 20px}.discussions .discussion{font-size:13px;list-style-type:none;padding:12px 0 12px 72px;border-bottom:1px solid #eee;position:relative;min-height:74px}.discussions .discussion:before{display:table;content:""}.discussions .discussion:after{display:table;clear:both;content:""}.discussions .discussion.navigation-focus{background:#f9f9f9}.discussions .discussion.selected{background-color:#f9f9f9}.discussions .discussion.selected:before{background:#999}.discussions .discussion input[type="checkbox"]{top:27px}.discussions .discussion:before{position:absolute;display:block;content:"";top:-1px;left:0;bottom:0;width:3px}.discussions .discussion.spammy:before{background:#bd2c00}.discussions .discussion h3{font-size:17px;margin:4px 0 0;padding-bottom:5px}.discussions .discussion h3 span{font-weight:300;color:#c5c5c5}.discussions .discussion h3 a{color:#333;font-weight:bold}.discussions .discussion h4{margin-top:1px;margin-bottom:2px;font-size:12px;line-height:18px;color:#666}.discussions .discussion p{margin:0 0 5px}.discussions .discussion p.muted{color:#999;padding:5px 0}.discussions .discussion .pull-info{background:#e8f1f6;border-radius:3px;color:rgba(0,0,0,0.5);display:inline-block;font-size:12px;margin-top:5px;padding:3px 7px;box-shadow:inset 0 -1px 0 rgba(0,0,0,0.12)}.discussions .discussion .pull-info em{font-style:normal}.discussions .discussion:first-child{border-top:1px solid #eee}.discussions .discussion.unread:before{position:absolute;display:block;content:"";top:-1px;bottom:-1px;left:0;width:3px;background:#4183c4}.discussion-username{color:#333;font-weight:normal}.discussions-avatar{position:absolute;left:12px}.discussion-issue-number{color:#bbb}.discussion-body p{color:#444;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:13px}.discussion-meta{font-size:12px;line-height:17px}.discussion-meta:before{display:table;content:""}.discussion-meta:after{display:table;clear:both;content:""}.discussion-meta a{color:#999}.discussion-meta p{color:#999;padding:0;margin:0}.discussion-meta .octicon-comment{font-size:14px;color:#bbb;margin-left:4px}.discussion-participants{float:left;width:150px;margin-left:30px;color:#999}.discussion-participants .avatar-link{margin-right:3px}.discussion-last-comment{float:left;width:150px;margin-left:30px}.discussion-last-comment .avatar{float:left;margin-right:3px}.discussion-description{float:left;width:474px}.discussion-timeline .email-hidden-container{margin:3px 0}.discussion-hidden{background:#fff}.discussion-hidden .timeline-comment-content{border:1px solid #ddd;opacity:0.8;margin-left:64px}.discussion-hidden .timeline-comment-content:hover{-webkit-transition:opacity 0.25s ease-in-out;transition:opacity 0.25s ease-in-out;opacity:1}.discussion-hidden .timeline-comment-header{background:none;border-bottom:0;line-height:33px}.discussion-hidden .timeline-comment-header:before{display:table;content:""}.discussion-hidden .timeline-comment-header:after{display:table;clear:both;content:""}.discussion-hidden .timeline-comment-header .octicon{margin:0 3px}.discussion-hidden .timeline-comment-header .comment-snippet{display:inline-block;position:relative;top:-1px}.discussion-hidden .timeline-comment-header .comment-snippet p{width:370px;overflow:hidden;text-overflow:ellipsis;display:inline-block;white-space:nowrap;margin:0 0 0 3px;line-height:1}.discussion-hidden+.discussion-hidden{margin-top:-1px}.comment-header-right{float:right}.comment-header-actions{list-style-type:none}.comment-header-actions:before{display:table;content:""}.comment-header-actions:after{display:table;clear:both;content:""}.comment-header-actions li{float:left;font-size:11px;line-height:33px;margin:0 0 0 10px}.discussion-comment-label{background:#eee;border-radius:3px;color:#666;padding:2px 4px;margin:0 5px 0 0}.explore-head .container{position:relative}.explore-content{margin-top:-15px}.explore-content .blankslate{margin-top:15px}.repo-collection>ul{list-style-type:none;background:#f7f7f7;border:1px solid #ddd;border-radius:3px}.repo-collection .author-gravatar{float:left;margin-right:10px;background:#fff;border-radius:3px}.collection-stat{float:right;margin-left:10px;font-size:12px;color:#444}.collection-stat .octicon{margin-right:5px;color:#a7a7a7}.collection-item{position:relative;float:left;width:50%;height:70px;padding:15px}.collection-item .octicon-x{position:absolute;top:10px;right:10px;color:#ccc;text-decoration:none}.collection-item .repo-name{display:block;font-size:16px;font-weight:bold}.collection-item .css-truncate-target{max-width:380px}.collection-item .repo-description{margin:0}.explore-collection h2{margin:0 0 10px;font-size:18px;font-weight:normal;color:#2a2a2a}.explore-collection h2 .select-menu{position:relative;display:inline-block}.explore-collection h2 .select-menu-button{font-weight:bold;cursor:pointer}.explore-collection h2 .mega-octicon{vertical-align:middle}.explore-collection .see-more-link{float:right;margin-top:7px}.explore-page .see-more-link{font-size:14px;color:inherit}.explore-page .see-more-link .octicon{margin-left:5px}.explore-page.marketing-section{border-bottom:0}.explore-page.marketing-section .thread-subscription-status{border:0}.explore-page.marketing-section .signed-out-comment{margin-left:0}.explore-page .language-filter-list{margin-bottom:10px}.explore-section{position:relative;padding:40px 0;border-bottom:1px solid #eee}.explore-section:nth-child(even){background:#f9f9f9}.explore-section:nth-child(even) .repo-collection>ul{background:#fff}.explore-section:first-child{padding-top:0}.explore-section:nth-child(odd):last-child{padding-bottom:0;border-bottom:0}.explore-pjax-container{position:relative}.user-leaderboard-list .follow-list-info{margin-top:12px;margin-bottom:0;font-size:12px;color:#666}.user-leaderboard-list .follow-list-info .css-truncate.css-truncate-target{max-width:none}.user-leaderboard-list .repo-list-item{padding-top:10px;padding-bottom:0;padding-left:21px;border-top:0}.user-leaderboard-list .repo-list-item .repo-description,.user-leaderboard-list .repo-list-item .repo-and-owner{max-width:530px}.user-leaderboard-list .repo-list-item .repo{color:#5c5c5c}.leaderboard-list{margin:0;list-style-type:none}.user-leaderboard-list-name{margin:0;font-size:18px;font-weight:normal}.user-leaderboard-list-name .full-name{margin-left:5px;font-weight:bold;color:#5c5c5c}.repo-snipit{display:inline-block;margin-top:7px}.repo-snipit:hover{text-decoration:none}.repo-snipit .octicon{font-size:14px;color:#999}.repo-snipit-name{max-width:200px;color:#666}.repo-snipit-description{max-width:300px;color:#999}.repo-snipit:hover .repo-snipit-name,.repo-snipit:hover .repo-snipit-description{color:#4183c4}.leaderboard-action{float:right;margin-top:-3px;margin-left:10px}.leaderboard-list-rank{position:absolute;top:25px;left:0;width:20px;font-size:11px;font-weight:300;color:#b9b9b9;text-align:right;text-transform:uppercase}.leaderboard-list-item{position:relative;padding-top:20px;padding-bottom:20px;padding-left:35px;border-bottom:1px solid #eee}.leaderboard-list-item:last-child{border-bottom:0}.leaderboard-gravatar{float:left;width:48px;height:48px;border-radius:3px}.leaderboard-list-content{min-height:48px;margin-left:58px}.collection-page .signed-out-comment{margin-left:0}.explore-mail-tease{padding-top:20px;overflow:hidden;background:#202021 url(/images/modules/home/octicons-bg.png) center repeat;border-bottom:1px solid #ddd}.explore-mail-tease h3{color:#fff;text-align:center}.explore-mail-tease img{margin-bottom:-5px}.newsletter-frequency-choice{display:-ms-flexbox;display:-webkit-flex;display:-webkit-box;display:flex;margin:40px 0;list-style-type:none;-webkit-flex-flow:row wrap;-webkit-justify-content:space-around;-ms-flex-pack:distribute;justify-content:space-around}.newsletter-frequency-choice .choice{position:relative;width:25%}.newsletter-frequency-choice .choice>label{display:block;height:100%;margin:0 10px;font-weight:normal;text-align:center;cursor:pointer;background:#fff;border:3px solid #eee;border-radius:4px}.newsletter-frequency-choice .choice:hover label{border-color:#4183c4}.newsletter-frequency-choice .choice:hover h3{color:#fff;background:#4183c4;border-color:#4183c4}.newsletter-frequency-choice .choice.selected label{border-color:#6cc644;box-shadow:0 0 5px rgba(0,0,0,0.2)}.newsletter-frequency-choice .choice.selected h3{color:#fff;background:#6cc644;border-color:#6cc644}.newsletter-frequency-choice .choice.selected p{color:#333}.newsletter-frequency-choice .choice .notice{position:absolute;right:0;bottom:1em;left:0;z-index:-1;font-weight:bold;color:#6cc644;text-align:center;opacity:0}.newsletter-frequency-choice .choice .notice.visible{bottom:-2em;opacity:1;-webkit-transition:opacity 0.15s ease-in-out;transition:opacity 0.15s ease-in-out}.newsletter-frequency-choice h3{padding:10px;margin:0;font-weight:normal;background:#fafafa;border-bottom:1px solid #eee}.newsletter-frequency-choice h3 input{position:relative;top:-2px;margin:0 3px 0 -19px}.newsletter-frequency-choice p{height:7em;margin:15px;color:#777;text-align:left}.explore-signup-entice{position:relative;padding:15px;font-size:14px;background:#f7f7f7;border:1px solid #ddd;border-radius:3px}.explore-signup-entice h3{margin-bottom:10px;font-size:18px}.explore-signup-entice-inner{position:absolute;top:3px;right:3px;bottom:3px;left:3px;padding-top:30px;text-align:center;background:rgba(247,247,247,0.9)}.explore-signup-entice-wrapper{max-width:500px;padding:5px;margin:0 auto;background:rgba(247,247,247,0.6)}.explore-signup-cta{margin-right:-10px;font-size:13px;vertical-align:middle}.explore-signup-cta a{font-weight:bold}.explore-signup-cta .button,.explore-signup-cta .minibutton{position:relative;top:-1px}@-webkit-keyframes fadein{0%{opacity:0}100%{opacity:1}}@keyframes fadein{0%{opacity:0}100%{opacity:1}}.explore-marketing-header{margin:10px auto 30px;text-align:center}.explore-marketing-header.is-animating{-webkit-animation:fadein 1s;animation:fadein 1s}.explore-marketing-header h2{margin:0 0 5px;font-size:32px;font-weight:normal}.explore-marketing-header .lead{margin:5px 0 0}.linux .show-mac,.macintosh .show-mac{display:block}.linux .hide-mac,.macintosh .hide-mac{display:none}.windows .show-mac{display:none}.homepage .container{font-family:"Helvetica Neue", Helvetica, Arial, sans-serif}.homepage .header-logged-out .primary{display:none}.homepage .site-footer{border-top:0;margin-top:0}.marketing-section-depth{position:absolute;right:0;bottom:0;left:0;z-index:10;height:30px;background-image:-webkit-linear-gradient(transparent, rgba(0,0,0,0.15));box-shadow:inset 0 -1px 0 rgba(0,0,0,0.25)}.marketing-section-signup{text-shadow:0 1px 3px #222;background:#202021 url(/images/modules/home/octicons-bg.png) center repeat;padding-top:80px;padding-bottom:80px;position:relative}.marketing-section-signup .heading{margin-top:0;padding-top:10px;font-size:70px;font-weight:normal;line-height:1;color:#fff;letter-spacing:-1px}.marketing-section-signup .subheading{margin:10px 0 0;font-size:21px;line-height:1.5;color:#fff}.marketing-section-signup .subheading a{font-weight:500}.form-signup-home{float:right;width:320px;margin-left:40px}.form-signup-home .text-muted:last-child{margin-bottom:0}.form-signup-home dl.form{position:relative;margin-top:0;margin-bottom:10px}.form-signup-home dl.form dd+.text-muted{margin-top:5px}.form-signup-home .button,.form-signup-home dl.form input[type="text"],.form-signup-home dl.form input[type="password"]{padding:10px;font-size:16px;border-radius:5px}.form-signup-home .button{border:0}.form-signup-home .button:focus{box-shadow:0 1px 3px rgba(0,0,0,0.05),0 0 12px rgba(255,255,255,0.75)}.form-signup-home dl.form input[type="text"],.form-signup-home dl.form input[type="password"]{width:100%;margin-right:0;border-color:#fff}.form-signup-home dl.form input[type="text"]:focus,.form-signup-home dl.form .focused .drag-and-drop,.focused .form-signup-home dl.form .drag-and-drop,.form-signup-home dl.form input[type="password"]:focus{background-color:#fff;border-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,0.075),0 0 12px rgba(255,255,255,0.75)}.form-signup-home dl.form.errored dd.error,.form-signup-home dl.form.errored dd.warning{position:absolute;top:100%;left:0;right:0;z-index:5;margin-top:2px;font-size:12px;font-weight:normal;padding:10px;border:0;text-align:left;border-radius:3px;background-color:#333;color:#fff}.form-signup-home dl.form.errored dd.error:after,.form-signup-home dl.form.errored dd.warning:after{position:absolute;left:10px;bottom:100%;height:0;width:0;content:"";border:solid transparent;border-bottom-color:#333;border-width:8px;pointer-events:none}.form-signup-home dl.form.errored dd.error:empty,.form-signup-home dl.form.errored dd.warning:empty{display:none}.form-signup-home dl.form dd input.is-autocheck-successful,.form-signup-home dl.form dd input.is-autocheck-errored,.form-signup-home dl.form dd input.is-autocheck-loading{background-image:none}.form-signup-home dl.successed:after,.form-signup-home dl.errored:after{position:absolute;top:15px;right:10px;text-shadow:none;font:normal normal 16px/1 "octicons";display:inline-block;text-decoration:none;-webkit-font-smoothing:antialiased}.form-signup-home dl.successed:after{content:"\f03a";color:#6cc644}.form-signup-home dl.errored:after{content:"\f02d";color:#bd2c00}.form-signup-home dl.is-loading:after{position:absolute;top:15px;right:10px;display:block;width:16px;height:16px;content:"";background-image:url(/images/spinners/octocat-spinner-16px.gif)}@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 2dppx){.form-signup-home dl.is-loading:after{background-image:url(/images/spinners/octocat-spinner-32.gif);background-size:16px 16px}}.text-muted .notice-highlight{color:#fff}.text-center{text-align:center}.marketing-section-img{display:block;max-width:980px;margin:40px auto;border-radius:5px;border:1px solid rgba(0,0,0,0.25);box-shadow:0 5px 15px rgba(0,0,0,0.15)}.marketing-section-enterprise{overflow:hidden;max-height:375px;padding-bottom:20px;margin-top:-1px;text-shadow:0 1px 2px rgba(0,0,0,0.3);background-color:#614381;background-image:-webkit-linear-gradient(#202d5f, #614381);background-image:linear-gradient(#202d5f, #614381);background-repeat:repeat-x;border-bottom:0;box-shadow:inset 0 10px 20px rgba(0,0,0,0.1);color:#fff}.marketing-section-enterprise.marketing-inline{margin-bottom:30px}.marketing-section-enterprise h1>a{color:inherit;text-decoration:none}.marketing-section-enterprise .marketing-header .lead{color:#cecbda}.marketing-section-enterprise .marketing-button{display:inline-block;margin-top:20px;margin-bottom:20px;padding:9px 15px;border-radius:4px;font-size:18px;background-color:#1d6ac8;background-image:-webkit-linear-gradient(#45b3f3, #1d6ac8);background-image:linear-gradient(#45b3f3, #1d6ac8);background-repeat:repeat-x;box-shadow:0 1px 1px rgba(0,0,0,0.25);text-shadow:0 -1px 0 rgba(0,0,0,0.25);text-decoration:none;color:#fff}.marketing-section-enterprise .marketing-button:hover{background-position:0 -10px}.aws-section{background:#515d81 url(/images/modules/aws/aws-bg.jpg) no-repeat center top;background-size:cover;overflow:hidden;text-shadow:0 1px 1px rgba(0,0,0,0.1)}.aws-section .container{position:relative}.aws-section .content{position:relative;z-index:9;padding:80px 0;color:#fff;text-align:center}.aws-section h2{margin-top:0;font-size:36px;font-weight:300;color:#fff}.aws-section p{margin-bottom:15px;font-size:15px;font-weight:300}.aws-section .aws-button{display:inline-block;padding:7px 15px;font-size:16px;color:#fff;text-shadow:none;border:1px solid #fff;border-radius:5px}.aws-section .aws-button:hover{color:#fff;text-decoration:none;background-color:#2a2b55;border-color:#2a2b55}.aws-section .bg-animation{position:absolute;top:0;left:0;width:100%;height:100%}.aws-section .cloud{position:absolute}.aws-section .cloud-1{top:10px;right:20px;-webkit-animation:cloud1animation 6s ease-out 1s;animation:cloud1animation 6s ease-out 1s}.aws-section .cloud-2{top:10px;left:-60px;-webkit-animation:cloud2animation 6s ease-out 1s;animation:cloud2animation 6s ease-out 1s}.aws-section .cloud-3{bottom:50px;right:-255px;-webkit-animation:cloud3animation 14s ease-out 1s;animation:cloud3animation 14s ease-out 1s}.aws-section .cloud-4{bottom:-96px;left:-470px;-webkit-animation:cloud4animation 9s ease-out 1s;animation:cloud4animation 9s ease-out 1s}.aws-section .cloud-5{bottom:-120px;right:-160px;-webkit-animation:cloud5animation 14s ease-out 1s;animation:cloud5animation 14s ease-out 1s}.aws-section .cloud-6{bottom:-100px;right:-600px;-webkit-animation:cloud6animation 8s ease-out 1s;animation:cloud6animation 8s ease-out 1s}@-webkit-keyframes cloud1animation{0%{-webkit-transform:translateX(-70px);transform:translateX(-70px)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes cloud1animation{0%{-webkit-transform:translateX(-70px);transform:translateX(-70px)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes cloud2animation{0%{-webkit-transform:translateX(50px);transform:translateX(50px)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes cloud2animation{0%{-webkit-transform:translateX(50px);transform:translateX(50px)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes cloud3animation{0%{-webkit-transform:translateX(-150px);transform:translateX(-150px)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes cloud3animation{0%{-webkit-transform:translateX(-150px);transform:translateX(-150px)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes cloud4animation{0%{-webkit-transform:translateX(125px);transform:translateX(125px)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes cloud4animation{0%{-webkit-transform:translateX(125px);transform:translateX(125px)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes cloud5animation{0%{-webkit-transform:translateX(-80px);transform:translateX(-80px)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes cloud5animation{0%{-webkit-transform:translateX(-80px);transform:translateX(-80px)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes cloud6animation{0%{-webkit-transform:translateX(-200px);transform:translateX(-200px)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes cloud6animation{0%{-webkit-transform:translateX(-200px);transform:translateX(-200px)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}.issue-list em{font-weight:bold;background-color:rgba(255,255,140,0.5);padding:3px;border-radius:3px;font-style:normal}.issue-list .title{padding:0;min-height:24px;font-weight:normal;font-size:18px;line-height:24px;margin:0 80px 10px 0;word-wrap:break-word}.issue-list .title .mega-octicon{position:absolute;top:-4px;left:0;width:32px;color:#888;text-align:center}.issue-list .title .closed.mega-octicon{color:#bd2c00}.issue-list .title .open.mega-octicon{color:#6cc644}.issue-list .title .merged.mega-octicon{color:#6e5494}.issue-list .description{margin:0 0 10px;line-height:20px;overflow:hidden}.issue-list-meta{margin:0;list-style-type:none;font-size:11px;color:#999}.issue-list-meta:before{display:table;content:""}.issue-list-meta:after{display:table;clear:both;content:""}.issue-list-meta>li{display:inline-block;margin-right:10px}.issue-list-meta a{color:#333}.issue-list-meta .octicon{color:#838383;vertical-align:middle}.issue-list-item{border-bottom:1px solid #f1f1f1;padding:0 0 20px 40px;margin:0 0 20px;position:relative}.labels-list-item .table-list-cell{width:100%}.labels-list-item .label{display:inline-block;height:34px;padding:0 10px;margin-right:5px;font-size:16px;font-weight:bold;line-height:34px;text-align:center;border-radius:3px;-webkit-transition:all 0.2s linear;transition:all 0.2s linear}.labels-list-item .label .octicon{margin-right:3px}.labels-list-item .label:hover{opacity:0.85}.labels-list-item.open .label,.labels-list-item.open .label-description,.labels-list-item.open .labels-list-action{display:none}.labels-list-item.open .label-delete{display:block;text-align:left}.labels-list-item.edit .label,.labels-list-item.edit .label-description,.labels-list-item.edit .labels-list-action{display:none}.labels-list-item.edit .label-edit{display:block}.label-description{padding:8px 10px;color:#999}.label-delete-confirmation{line-height:34px}.labels-list-actions{margin-left:60px}.labels-list-action{float:left;display:block;color:#999;padding:8px 10px}.labels-list-action .octicon{margin-right:2px}.labels-list-action .octicon-pencil{font-size:14px}.labels-list-action:hover{color:#4183c4;cursor:pointer}.new-label{display:none;padding:10px;margin-bottom:15px;background-color:#fafafa;border:1px solid #e5e5e5;border-radius:3px}.new-label .label-edit{display:block}.new-label .label-edit:before{display:table;content:""}.new-label .label-edit:after{display:table;clear:both;content:""}.new-label-actions{float:right}.open .new-label{display:block}.label-spinner{display:none;float:left;margin-left:-35px;margin-top:9px}.label-edit:before{display:table;content:""}.label-edit:after{display:table;clear:both;content:""}.label-edit label{display:block;margin-bottom:5px}.label-edit .error{float:left;margin-top:8px;margin-left:10px;color:#f00}.label-edit.is-valid .color-editor .octicon-check{display:block}.label-edit.loading .label-spinner{display:block}.color-editor{position:relative;float:left;width:100px}.color-editor.open .label-colors{display:block}.color-editor-bg{position:absolute;left:0;z-index:10;width:20px;height:20px;margin-top:7px;margin-left:7px;cursor:pointer;border-radius:3px}input.color-editor-input{width:100px;padding-left:34px;border-color:#ccc !important}input.color-editor-input:focus{border-color:#51a7e8 !important}input.color-editor-input:focus ~ .label-colors{display:block}.invalid-color-indicator{display:none;position:absolute;top:7px;left:7px;z-index:11;width:20px;height:20px;line-height:20px;font-weight:bold;color:#fff;text-align:center}.label-edit-name{width:40%;float:left;margin-right:10px}.label-colors{position:absolute;left:0;float:left;display:none;width:auto;margin-left:0;padding:5px}.label-colors:before{left:8px}.label-colors:after{left:9px}.label-edit,.label-delete{display:none}.label-delete-form{display:inline}.label-delete-form.loading .label-delete-spinner{display:block}.label-delete-spinner{display:none;margin-top:10px;margin-right:10px;float:left}.color-chooser{display:table-row;height:25px;list-style:none}.color-chooser li{display:table-cell;width:1%}.color-chooser li:hover{position:relative;z-index:2;outline:2px solid #fff;box-shadow:0 0 5px 2px rgba(0,0,0,0.25)}.color-chooser .color-cooser-color{display:block;width:25px;height:25px;text-align:center;cursor:pointer}.repository-lang-stats{position:relative}.repository-lang-stats ol.repository-lang-stats-numbers li{display:table-cell;width:1%;border-bottom:0;text-align:center;padding:11px 5px;white-space:nowrap}.repository-lang-stats ol.repository-lang-stats-numbers li span.percent{float:none}.repository-lang-stats ol.repository-lang-stats-numbers li>a,.repository-lang-stats ol.repository-lang-stats-numbers li>span{color:#999;text-decoration:none;font-weight:bold}.repository-lang-stats ol.repository-lang-stats-numbers li .lang{color:#333}.repository-lang-stats ol.repository-lang-stats-numbers li .language-color{display:inline-block;width:10px;height:10px;border-radius:50%}.repository-lang-stats ol.repository-lang-stats-numbers li a:hover{background:transparent}.stats-switcher-viewport{overflow:hidden;height:38px}.stats-switcher-viewport .stats-switcher-wrapper{position:relative;top:0;-webkit-transition:top 0.25s ease-in-out;transition:top 0.25s ease-in-out}.stats-switcher-viewport.is-revealing-lang-stats .stats-switcher-wrapper{top:-38px}.repository-lang-stats-graph{display:block;width:100%;height:auto;line-height:12px;white-space:nowrap;border-bottom-left-radius:3px;border-bottom-right-radius:3px;overflow:hidden}.repository-lang-stats-graph span{display:inline-block;height:8px;background:#ccc;text-indent:-9999px}.repository-lang-stats-graph .language-color{height:auto;line-height:12px;vertical-align:top}.repository-lang-stats-graph .language-color:first-child{border-bottom-left-radius:3px}.repository-lang-stats-graph .language-color:last-child{border-bottom-right-radius:3px}.language-color{background-color:#ccc}.list-group-item{position:relative;display:block;margin-bottom:-1px;padding:8px 10px 10px 40px;border:1px solid #e5e5e5}.list-group-item a:hover{text-decoration:none}.list-group-item:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.list-group-item:last-child{margin-bottom:0;border-bottom-left-radius:3px;border-bottom-right-radius:3px}.list-group-item.closed{background-color:#fcfcfc}.list-group-item.selectable{padding-left:60px}.list-group-item.selected{background-color:#ffffef}.list-group-item.navigation-focus{background-color:#f5f9fc}.list-group-item .list-group-item-summary a{color:#666}.list-group-item .list-group-item-summary a.quiet{color:#999}.list-group-item .status{position:relative;top:2px;margin-right:-9px;float:right}.list-group-item .type-icon{vertical-align:middle;position:relative;top:1px;width:16px;text-align:center}.list-group-item .assignee{float:right}.list-group-item .assignee img{display:block;border-radius:2px}.list-group-item .labels{display:inline-block;top:-2px;margin-bottom:-2px;margin-left:4px}.list-group-item-name{margin:0 60px 2px 0;font-size:15px;line-height:1.3;word-wrap:break-word}.list-group-item-name .type-icon{float:left;margin-top:1px;margin-left:-24px}.list-group-item-link{color:#333}.closed.octicon,.reverted.octicon{color:#bd2c00}.open.octicon{color:#6cc644}.merged.octicon{color:#6e5494}.list-group-item-summary{margin-top:2px}.list-group-item-summary p{margin:0 0 5px}.standalone .list-group-item-summary p{margin-bottom:0}.animated-ellipsis-container{display:inline-block;overflow:hidden;height:12px;width:12px;-webkit-transform:translateZ(0)}.animated-ellipsis-container>.animated-ellipsis{overflow:hidden;display:inline-block;vertical-align:bottom}@-webkit-keyframes ellipsis{from{width:2px}to{width:12px}}@keyframes ellipsis{from{width:2px}to{width:12px}}.large-loading-area{text-align:center;padding:100px 0}.context-loader.large-format-loader{position:fixed;display:none;top:0;left:0;bottom:0;right:0;margin:0;width:auto;padding:190px 0 0;font-weight:normal;background:rgba(255,255,255,0.8);border:0;z-index:9999;text-align:center;color:#999}.context-loader.large-format-loader.is-loading{display:block}.requested-reviewer{text-align:left;list-style-type:none;margin-bottom:4px}.requested-reviewer .octicon-jersey{margin-left:3px;margin-right:5px}.request-reviewers{border-top:solid 1px #ddd;padding:10px 10px 0}.request-reviewers .autocomplete-results{display:block;border:0}.request-reviewers .autocomplete-results .typeahead-result{display:block;width:300px}.request-reviewers .avatar,.request-reviewers .octicon-jersey{float:left;margin-right:10px}.request-reviewers .reviewer-suggestion-info{width:75%;overflow:hidden;margin-bottom:0;margin-top:4px;white-space:nowrap;text-overflow:ellipsis}dl.form-request-reviewers{display:inline-block;margin-top:0;margin-bottom:0}dl.form-request-reviewers>dd input[type="text"]{width:300px;margin-bottom:10px;display:inline-block}.suggested-reviewers{margin-left:5px;display:inline-block;vertical-align:super;color:#999}.suggested-reviewers .requested-reviewer-suggestion{margin-left:3px}.requested-reviewer-item{float:left;margin-bottom:10px;margin-right:4px;height:32px;padding:5px 8px;font-size:12px;line-height:18px;color:#555;background:#eee;border-radius:3px}.requested-reviewer-item .avatar,.requested-reviewer-item .octicon-jersey{float:none;margin-right:2px}.requested-reviewer-item .octicon-jersey{margin-top:4px}.requested-reviewer-item .remove-reviewer{color:#bbb;margin-top:2px;display:inline-block;margin-left:2px}.requested-reviewer-item .remove-reviewer .octicon-x{vertical-align:middle}#quick-issue-modal{display:none}.quick-issue-modal-footer{margin-bottom:0}.quick-issue-thanks{display:none;font-size:18px}.quick-issue-link{margin-left:30px}.quick-issue-body{display:block;width:100%}.quick-issue-form{position:relative}.quick-issue-form .suggestions{margin-left:0;margin-bottom:0}.quick-issue-form .drag-and-drop{font-size:10px}.clearfix:before{display:table;content:""}.clearfix:after{display:table;clear:both;content:""}.right{float:right}.left{float:left}.text-right{text-align:right}.text-left{text-align:left}.danger{color:#c00}.mute{color:#000}.text-diff-added{color:#55a532}.text-diff-deleted{color:#bd2c00}.text-open,.text-success{color:#6cc644}.text-closed{color:#bd2c00}.text-reverted{color:#bd2c00}.text-merged{color:#6e5494}.text-renamed{color:#fffa5d}.text-pending{color:#cea61b}.text-error,.text-failure{color:#bd2c00}.muted-link{color:#777}.muted-link:hover{color:#4183c4;text-decoration:none}.hidden{display:none}.warning{padding:0.5em;margin-bottom:0.8em;font-weight:bold;background-color:#fffccc}.error_box{padding:1em;font-weight:bold;background-color:#ffebe8;border:1px solid #dd3c10}
diff --git a/public/css/github-extract.css b/public/css/github-extract.css
new file mode 100644
index 00000000..201aebc6
--- /dev/null
+++ b/public/css/github-extract.css
@@ -0,0 +1,345 @@
+.markdown-body {
+ overflow: hidden;
+ font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif;
+ font-size: 16px;
+ line-height: 1.6;
+ word-wrap: break-word;
+}
+.markdown-body>*:first-child {
+ margin-top: 0 !important;
+}
+.markdown-body>*:last-child {
+ margin-bottom: 0 !important;
+}
+.markdown-body .absent {
+ color: #c00;
+}
+.markdown-body .anchor {
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ left: 0;
+ display: block;
+ padding-right: 6px;
+ padding-left: 30px;
+ margin-left: -30px;
+}
+.markdown-body .anchor:focus {
+ outline: none;
+}
+.markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4, .markdown-body h5, .markdown-body h6 {
+ position: relative;
+ margin-top: 1em;
+ margin-bottom: 16px;
+ font-weight: bold;
+ line-height: 1.4;
+}
+.markdown-body h1 .octicon-link, .markdown-body h2 .octicon-link, .markdown-body h3 .octicon-link, .markdown-body h4 .octicon-link, .markdown-body h5 .octicon-link, .markdown-body h6 .octicon-link {
+ display: none;
+ color: #000;
+ vertical-align: middle;
+}
+.markdown-body h1:hover .anchor, .markdown-body h2:hover .anchor, .markdown-body h3:hover .anchor, .markdown-body h4:hover .anchor, .markdown-body h5:hover .anchor, .markdown-body h6:hover .anchor {
+ padding-left: 8px;
+ margin-left: -30px;
+ line-height: 1;
+ text-decoration: none;
+}
+.markdown-body h1:hover .anchor .octicon-link, .markdown-body h2:hover .anchor .octicon-link, .markdown-body h3:hover .anchor .octicon-link, .markdown-body h4:hover .anchor .octicon-link, .markdown-body h5:hover .anchor .octicon-link, .markdown-body h6:hover .anchor .octicon-link {
+ display: inline-block;
+}
+.markdown-body h1 tt, .markdown-body h1 code, .markdown-body h2 tt, .markdown-body h2 code, .markdown-body h3 tt, .markdown-body h3 code, .markdown-body h4 tt, .markdown-body h4 code, .markdown-body h5 tt, .markdown-body h5 code, .markdown-body h6 tt, .markdown-body h6 code {
+ font-size: inherit;
+}
+.markdown-body h1 {
+ padding-bottom: 0.3em;
+ font-size: 2.25em;
+ line-height: 1.2;
+ border-bottom: 1px solid #eee;
+}
+.markdown-body h2 {
+ padding-bottom: 0.3em;
+ font-size: 1.75em;
+ line-height: 1.225;
+ border-bottom: 1px solid #eee;
+}
+.markdown-body h3 {
+ font-size: 1.5em;
+ line-height: 1.43;
+}
+.markdown-body h4 {
+ font-size: 1.25em;
+}
+.markdown-body h5 {
+ font-size: 1em;
+}
+.markdown-body h6 {
+ font-size: 1em;
+ color: #777;
+}
+.markdown-body p, .markdown-body blockquote, .markdown-body ul, .markdown-body ol, .markdown-body dl, .markdown-body table, .markdown-body pre {
+ margin-top: 0;
+ margin-bottom: 16px;
+}
+.markdown-body hr {
+ height: 4px;
+ padding: 0;
+ margin: 16px 0;
+ background-color: #e7e7e7;
+ border: 0 none;
+}
+.markdown-body ul, .markdown-body ol {
+ padding-left: 2em;
+}
+.markdown-body ul.no-list, .markdown-body ol.no-list {
+ padding: 0;
+ list-style-type: none;
+}
+.markdown-body ul ul, .markdown-body ul ol, .markdown-body ol ol, .markdown-body ol ul {
+ margin-top: 0;
+ margin-bottom: 0;
+}
+.markdown-body li>p {
+ margin-top: 16px;
+}
+.markdown-body dl {
+ padding: 0;
+}
+.markdown-body dl dt {
+ padding: 0;
+ margin-top: 16px;
+ font-size: 1em;
+ font-style: italic;
+ font-weight: bold;
+}
+.markdown-body dl dd {
+ padding: 0 16px;
+ margin-bottom: 16px;
+}
+.markdown-body blockquote {
+ padding: 0 15px;
+ color: #777;
+ border-left: 4px solid #ddd;
+}
+.markdown-body blockquote>:first-child {
+ margin-top: 0;
+}
+.markdown-body blockquote>:last-child {
+ margin-bottom: 0;
+}
+.markdown-body table {
+ display: block;
+ width: 100%;
+ overflow: auto;
+ word-break: normal;
+ word-break: keep-all;
+}
+.markdown-body table th {
+ font-weight: bold;
+}
+.markdown-body table th, .markdown-body table td {
+ padding: 6px 13px;
+ border: 1px solid #ddd;
+}
+.markdown-body table tr {
+ background-color: #fff;
+ border-top: 1px solid #ccc;
+}
+.markdown-body table tr:nth-child(2n) {
+ background-color: #f8f8f8;
+}
+.markdown-body img {
+ max-width: 100%;
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+}
+.markdown-body .emoji {
+ width: 20px;
+ height: 20px;
+ max-width: none;
+ margin-bottom: 0;
+}
+.markdown-body span.frame {
+ display: block;
+ overflow: hidden;
+}
+.markdown-body span.frame>span {
+ display: block;
+ float: left;
+ width: auto;
+ padding: 7px;
+ margin: 13px 0 0;
+ overflow: hidden;
+ border: 1px solid #ddd;
+}
+.markdown-body span.frame span img {
+ display: block;
+ float: left;
+}
+.markdown-body span.frame span span {
+ display: block;
+ padding: 5px 0 0;
+ clear: both;
+ color: #333;
+}
+.markdown-body span.align-center {
+ display: block;
+ overflow: hidden;
+ clear: both;
+}
+.markdown-body span.align-center>span {
+ display: block;
+ margin: 13px auto 0;
+ overflow: hidden;
+ text-align: center;
+}
+.markdown-body span.align-center span img {
+ margin: 0 auto;
+ text-align: center;
+}
+.markdown-body span.align-right {
+ display: block;
+ overflow: hidden;
+ clear: both;
+}
+.markdown-body span.align-right>span {
+ display: block;
+ margin: 13px 0 0;
+ overflow: hidden;
+ text-align: right;
+}
+.markdown-body span.align-right span img {
+ margin: 0;
+ text-align: right;
+}
+.markdown-body span.float-left {
+ display: block;
+ float: left;
+ margin-right: 13px;
+ overflow: hidden;
+}
+.markdown-body span.float-left span {
+ margin: 13px 0 0;
+}
+.markdown-body span.float-right {
+ display: block;
+ float: right;
+ margin-left: 13px;
+ overflow: hidden;
+}
+.markdown-body span.float-right>span {
+ display: block;
+ margin: 13px auto 0;
+ overflow: hidden;
+ text-align: right;
+}
+.markdown-body code, .markdown-body tt {
+ padding: 0;
+ padding-top: 0.2em;
+ padding-bottom: 0.2em;
+ margin: 0;
+ font-size: 85%;
+ background-color: rgba(0, 0, 0, 0.04);
+ border-radius: 3px;
+}
+.markdown-body code:before, .markdown-body code:after, .markdown-body tt:before, .markdown-body tt:after {
+ letter-spacing: -0.2em;
+ content: "\00a0"}
+.markdown-body code br, .markdown-body tt br {
+ display: none;
+}
+.markdown-body del code {
+ text-decoration: inherit;
+}
+.markdown-body pre>code {
+ padding: 0;
+ margin: 0;
+ font-size: 100%;
+ word-break: normal;
+ white-space: pre;
+ background: transparent;
+ border: 0;
+}
+.markdown-body .highlight {
+ margin-bottom: 16px;
+}
+.markdown-body .highlight pre, .markdown-body pre {
+ padding: 16px;
+ overflow: auto;
+ font-size: 85%;
+ line-height: 1.45;
+ background-color: #f7f7f7;
+ border-radius: 3px;
+}
+.markdown-body .highlight pre {
+ margin-bottom: 0;
+ word-break: normal;
+}
+.markdown-body pre {
+ word-wrap: normal;
+}
+.markdown-body pre code, .markdown-body pre tt {
+ display: inline;
+ max-width: initial;
+ padding: 0;
+ margin: 0;
+ overflow: initial;
+ line-height: inherit;
+ word-wrap: normal;
+ background-color: transparent;
+ border: 0;
+}
+.markdown-body pre code:before, .markdown-body pre code:after, .markdown-body pre tt:before, .markdown-body pre tt:after {
+ content: normal;
+}
+
+.markdown-body .csv-data td, .markdown-body .csv-data th {
+ padding: 5px;
+ overflow: hidden;
+ font-size: 12px;
+ line-height: 1;
+ text-align: left;
+ white-space: nowrap;
+}
+.markdown-body .csv-data .blob-line-num {
+ padding: 10px 8px 9px;
+ text-align: right;
+ background: #fff;
+ border: 0;
+}
+.markdown-body .csv-data tr {
+ border-top: 0;
+}
+.markdown-body .csv-data th {
+ font-weight: bold;
+ background: #f8f8f8;
+ border-top: 0;
+}
+
+.news .alert .markdown-body blockquote {
+ padding: 0 0 0 40px;
+ border: 0 none;
+}
+
+.activity-tab .news .markdown-body blockquote, .activity-tab .news .alert .commits {
+ padding-left: 0;
+}
+
+.task-list-item {
+ list-style-type: none;
+}
+.task-list-item label {
+ font-weight: normal;
+}
+.task-list-item.enabled label {
+ cursor: pointer;
+}
+.task-list-item+.task-list-item {
+ margin-top: 3px;
+}
+.task-list-item-checkbox {
+ float: left;
+ margin: 0.4em 0 0.2em -1.3em !important;
+ vertical-align: middle;
+ cursor: default !important;
+}
\ No newline at end of file
diff --git a/public/css/github-markdown.css b/public/css/github-markdown.css
new file mode 100755
index 00000000..6d9c129f
--- /dev/null
+++ b/public/css/github-markdown.css
@@ -0,0 +1,625 @@
+@font-face {
+ font-family: octicons-anchor;
+ src: url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAAAYcAA0AAAAACjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAABMAAAABwAAAAca8vGTk9TLzIAAAFMAAAARAAAAFZG1VHVY21hcAAAAZAAAAA+AAABQgAP9AdjdnQgAAAB0AAAAAQAAAAEACICiGdhc3AAAAHUAAAACAAAAAj//wADZ2x5ZgAAAdwAAADRAAABEKyikaNoZWFkAAACsAAAAC0AAAA2AtXoA2hoZWEAAALgAAAAHAAAACQHngNFaG10eAAAAvwAAAAQAAAAEAwAACJsb2NhAAADDAAAAAoAAAAKALIAVG1heHAAAAMYAAAAHwAAACABEAB2bmFtZQAAAzgAAALBAAAFu3I9x/Nwb3N0AAAF/AAAAB0AAAAvaoFvbwAAAAEAAAAAzBdyYwAAAADP2IQvAAAAAM/bz7t4nGNgZGFgnMDAysDB1Ml0hoGBoR9CM75mMGLkYGBgYmBlZsAKAtJcUxgcPsR8iGF2+O/AEMPsznAYKMwIkgMA5REMOXicY2BgYGaAYBkGRgYQsAHyGMF8FgYFIM0ChED+h5j//yEk/3KoSgZGNgYYk4GRCUgwMaACRoZhDwCs7QgGAAAAIgKIAAAAAf//AAJ4nHWMMQrCQBBF/0zWrCCIKUQsTDCL2EXMohYGSSmorScInsRGL2DOYJe0Ntp7BK+gJ1BxF1stZvjz/v8DRghQzEc4kIgKwiAppcA9LtzKLSkdNhKFY3HF4lK69ExKslx7Xa+vPRVS43G98vG1DnkDMIBUgFN0MDXflU8tbaZOUkXUH0+U27RoRpOIyCKjbMCVejwypzJJG4jIwb43rfl6wbwanocrJm9XFYfskuVC5K/TPyczNU7b84CXcbxks1Un6H6tLH9vf2LRnn8Ax7A5WQAAAHicY2BkYGAA4teL1+yI57f5ysDNwgAC529f0kOmWRiYVgEpDgYmEA8AUzEKsQAAAHicY2BkYGB2+O/AEMPCAAJAkpEBFbAAADgKAe0EAAAiAAAAAAQAAAAEAAAAAAAAKgAqACoAiAAAeJxjYGRgYGBhsGFgYgABEMkFhAwM/xn0QAIAD6YBhwB4nI1Ty07cMBS9QwKlQapQW3VXySvEqDCZGbGaHULiIQ1FKgjWMxknMfLEke2A+IJu+wntrt/QbVf9gG75jK577Lg8K1qQPCfnnnt8fX1NRC/pmjrk/zprC+8D7tBy9DHgBXoWfQ44Av8t4Bj4Z8CLtBL9CniJluPXASf0Lm4CXqFX8Q84dOLnMB17N4c7tBo1AS/Qi+hTwBH4rwHHwN8DXqQ30XXAS7QaLwSc0Gn8NuAVWou/gFmnjLrEaEh9GmDdDGgL3B4JsrRPDU2hTOiMSuJUIdKQQayiAth69r6akSSFqIJuA19TrzCIaY8sIoxyrNIrL//pw7A2iMygkX5vDj+G+kuoLdX4GlGK/8Lnlz6/h9MpmoO9rafrz7ILXEHHaAx95s9lsI7AHNMBWEZHULnfAXwG9/ZqdzLI08iuwRloXE8kfhXYAvE23+23DU3t626rbs8/8adv+9DWknsHp3E17oCf+Z48rvEQNZ78paYM38qfk3v/u3l3u3GXN2Dmvmvpf1Srwk3pB/VSsp512bA/GG5i2WJ7wu430yQ5K3nFGiOqgtmSB5pJVSizwaacmUZzZhXLlZTq8qGGFY2YcSkqbth6aW1tRmlaCFs2016m5qn36SbJrqosG4uMV4aP2PHBmB3tjtmgN2izkGQyLWprekbIntJFing32a5rKWCN/SdSoga45EJykyQ7asZvHQ8PTm6cslIpwyeyjbVltNikc2HTR7YKh9LBl9DADC0U/jLcBZDKrMhUBfQBvXRzLtFtjU9eNHKin0x5InTqb8lNpfKv1s1xHzTXRqgKzek/mb7nB8RZTCDhGEX3kK/8Q75AmUM/eLkfA+0Hi908Kx4eNsMgudg5GLdRD7a84npi+YxNr5i5KIbW5izXas7cHXIMAau1OueZhfj+cOcP3P8MNIWLyYOBuxL6DRylJ4cAAAB4nGNgYoAALjDJyIAOWMCiTIxMLDmZedkABtIBygAAAA==) format('woff');
+}
+
+.markdown-body {
+ -ms-text-size-adjust: 100%;
+ -webkit-text-size-adjust: 100%;
+ color: #333;
+ overflow: hidden;
+ font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif;
+ font-size: 16px;
+ line-height: 1.6;
+ word-wrap: break-word;
+}
+
+.markdown-body a {
+ background: transparent;
+}
+
+.markdown-body a:active,
+.markdown-body a:hover {
+ outline: 0;
+}
+
+.markdown-body strong {
+ font-weight: bold;
+}
+
+.markdown-body h1 {
+ font-size: 2em;
+ margin: 0.67em 0;
+}
+
+.markdown-body img {
+ border: 0;
+}
+
+.markdown-body hr {
+ -moz-box-sizing: content-box;
+ box-sizing: content-box;
+ height: 0;
+}
+
+.markdown-body pre {
+ overflow: auto;
+}
+
+.markdown-body code,
+.markdown-body kbd,
+.markdown-body pre {
+ font-family: monospace, monospace;
+ font-size: 1em;
+}
+
+.markdown-body input {
+ color: inherit;
+ font: inherit;
+ margin: 0;
+}
+
+.markdown-body html input[disabled] {
+ cursor: default;
+}
+
+.markdown-body input {
+ line-height: normal;
+}
+
+.markdown-body input[type="checkbox"] {
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+ padding: 0;
+}
+
+.markdown-body table {
+ border-collapse: collapse;
+ border-spacing: 0;
+}
+
+.markdown-body td,
+.markdown-body th {
+ padding: 0;
+}
+
+.markdown-body * {
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+}
+
+.markdown-body input {
+ font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
+}
+
+.markdown-body a {
+ color: #4183c4;
+ text-decoration: none;
+}
+
+.markdown-body a:hover,
+.markdown-body a:focus,
+.markdown-body a:active {
+ text-decoration: underline;
+}
+
+.markdown-body hr {
+ height: 0;
+ margin: 15px 0;
+ overflow: hidden;
+ background: transparent;
+ border: 0;
+ border-bottom: 1px solid #ddd;
+}
+
+.markdown-body hr:before {
+ display: table;
+ content: "";
+}
+
+.markdown-body hr:after {
+ display: table;
+ clear: both;
+ content: "";
+}
+
+.markdown-body h1,
+.markdown-body h2,
+.markdown-body h3,
+.markdown-body h4,
+.markdown-body h5,
+.markdown-body h6 {
+ margin-top: 15px;
+ margin-bottom: 15px;
+ line-height: 1.1;
+}
+
+.markdown-body h1 {
+ font-size: 30px;
+}
+
+.markdown-body h2 {
+ font-size: 21px;
+}
+
+.markdown-body h3 {
+ font-size: 16px;
+}
+
+.markdown-body h4 {
+ font-size: 14px;
+}
+
+.markdown-body h5 {
+ font-size: 12px;
+}
+
+.markdown-body h6 {
+ font-size: 11px;
+}
+
+.markdown-body blockquote {
+ margin: 0;
+}
+
+.markdown-body ul,
+.markdown-body ol {
+ padding: 0;
+ margin-top: 0;
+ margin-bottom: 0;
+}
+
+.markdown-body ol ol,
+.markdown-body ul ol {
+ list-style-type: lower-roman;
+}
+
+.markdown-body ul ul ol,
+.markdown-body ul ol ol,
+.markdown-body ol ul ol,
+.markdown-body ol ol ol {
+ list-style-type: lower-alpha;
+}
+
+.markdown-body dd {
+ margin-left: 0;
+}
+
+.markdown-body code {
+ font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
+}
+
+.markdown-body pre {
+ margin-top: 0;
+ margin-bottom: 0;
+ font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
+}
+
+.markdown-body .octicon {
+ font: normal normal 16px octicons-anchor;
+ line-height: 1;
+ display: inline-block;
+ text-decoration: none;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+}
+
+.markdown-body .octicon-link:before {
+ content: '\f05c';
+}
+
+.markdown-body>*:first-child {
+ margin-top: 0 !important;
+}
+
+.markdown-body>*:last-child {
+ margin-bottom: 0 !important;
+}
+
+.markdown-body .anchor {
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ left: 0;
+ display: block;
+ padding-right: 6px;
+ padding-left: 30px;
+ margin-left: -30px;
+}
+
+.markdown-body .anchor:focus {
+ outline: none;
+}
+
+.markdown-body h1,
+.markdown-body h2,
+.markdown-body h3,
+.markdown-body h4,
+.markdown-body h5,
+.markdown-body h6 {
+ position: relative;
+ margin-top: 1em;
+ margin-bottom: 16px;
+ font-weight: bold;
+ line-height: 1.4;
+}
+
+.markdown-body h1 .octicon-link,
+.markdown-body h2 .octicon-link,
+.markdown-body h3 .octicon-link,
+.markdown-body h4 .octicon-link,
+.markdown-body h5 .octicon-link,
+.markdown-body h6 .octicon-link {
+ display: none;
+ color: #000;
+ vertical-align: middle;
+}
+
+.markdown-body h1:hover .anchor,
+.markdown-body h2:hover .anchor,
+.markdown-body h3:hover .anchor,
+.markdown-body h4:hover .anchor,
+.markdown-body h5:hover .anchor,
+.markdown-body h6:hover .anchor {
+ padding-left: 8px;
+ margin-left: -30px;
+ line-height: 1;
+ text-decoration: none;
+}
+
+.markdown-body h1:hover .anchor .octicon-link,
+.markdown-body h2:hover .anchor .octicon-link,
+.markdown-body h3:hover .anchor .octicon-link,
+.markdown-body h4:hover .anchor .octicon-link,
+.markdown-body h5:hover .anchor .octicon-link,
+.markdown-body h6:hover .anchor .octicon-link {
+ display: inline-block;
+}
+
+.markdown-body h1 {
+ padding-bottom: 0.3em;
+ font-size: 2.25em;
+ line-height: 1.2;
+ border-bottom: 1px solid #eee;
+}
+
+.markdown-body h2 {
+ padding-bottom: 0.3em;
+ font-size: 1.75em;
+ line-height: 1.225;
+ border-bottom: 1px solid #eee;
+}
+
+.markdown-body h3 {
+ font-size: 1.5em;
+ line-height: 1.43;
+}
+
+.markdown-body h4 {
+ font-size: 1.25em;
+}
+
+.markdown-body h5 {
+ font-size: 1em;
+}
+
+.markdown-body h6 {
+ font-size: 1em;
+ color: #777;
+}
+
+.markdown-body p,
+.markdown-body blockquote,
+.markdown-body ul,
+.markdown-body ol,
+.markdown-body dl,
+.markdown-body table,
+.markdown-body pre {
+ margin-top: 0;
+ margin-bottom: 16px;
+}
+
+.markdown-body hr {
+ height: 4px;
+ padding: 0;
+ margin: 16px 0;
+ background-color: #e7e7e7;
+ border: 0 none;
+}
+
+.markdown-body ul,
+.markdown-body ol {
+ padding-left: 2em;
+}
+
+.markdown-body ul ul,
+.markdown-body ul ol,
+.markdown-body ol ol,
+.markdown-body ol ul {
+ margin-top: 0;
+ margin-bottom: 0;
+}
+
+.markdown-body li>p {
+ margin-top: 16px;
+}
+
+.markdown-body dl {
+ padding: 0;
+}
+
+.markdown-body dl dt {
+ padding: 0;
+ margin-top: 16px;
+ font-size: 1em;
+ font-style: italic;
+ font-weight: bold;
+}
+
+.markdown-body dl dd {
+ padding: 0 16px;
+ margin-bottom: 16px;
+}
+
+.markdown-body blockquote {
+ padding: 0 15px;
+ color: #777;
+ border-left: 4px solid #ddd;
+}
+
+.markdown-body blockquote>:first-child {
+ margin-top: 0;
+}
+
+.markdown-body blockquote>:last-child {
+ margin-bottom: 0;
+}
+
+.markdown-body table {
+ display: block;
+ width: 100%;
+ overflow: auto;
+ word-break: normal;
+ word-break: keep-all;
+}
+
+.markdown-body table th {
+ font-weight: bold;
+}
+
+.markdown-body table th,
+.markdown-body table td {
+ padding: 6px 13px;
+ border: 1px solid #ddd;
+}
+
+.markdown-body table tr {
+ background-color: #fff;
+ border-top: 1px solid #ccc;
+}
+
+.markdown-body table tr:nth-child(2n) {
+ background-color: #f8f8f8;
+}
+
+.markdown-body img {
+ max-width: 100%;
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+}
+
+.markdown-body code {
+ padding: 0;
+ padding-top: 0.2em;
+ padding-bottom: 0.2em;
+ margin: 0;
+ font-size: 85%;
+ background-color: rgba(0,0,0,0.04);
+ border-radius: 3px;
+}
+
+.markdown-body code:before,
+.markdown-body code:after {
+ letter-spacing: -0.2em;
+ content: "\00a0";
+}
+
+.markdown-body pre>code {
+ padding: 0;
+ margin: 0;
+ font-size: 100%;
+ word-break: normal;
+ white-space: pre;
+ background: transparent;
+ border: 0;
+}
+
+.markdown-body .highlight {
+ margin-bottom: 16px;
+}
+
+.markdown-body .highlight pre,
+.markdown-body pre {
+ padding: 16px;
+ overflow: auto;
+ font-size: 85%;
+ line-height: 1.45;
+ background-color: #f7f7f7;
+ border-radius: 3px;
+}
+
+.markdown-body .highlight pre {
+ margin-bottom: 0;
+ word-break: normal;
+}
+
+.markdown-body pre {
+ word-wrap: normal;
+}
+
+.markdown-body pre code {
+ display: inline;
+ max-width: initial;
+ padding: 0;
+ margin: 0;
+ overflow: initial;
+ line-height: inherit;
+ word-wrap: normal;
+ background-color: transparent;
+ border: 0;
+}
+
+.markdown-body pre code:before,
+.markdown-body pre code:after {
+ content: normal;
+}
+
+.markdown-body .pl-c {
+ color: #969896;
+}
+
+.markdown-body .pl-c1,
+.markdown-body .pl-mdh,
+.markdown-body .pl-mm,
+.markdown-body .pl-mp,
+.markdown-body .pl-mr,
+.markdown-body .pl-s1 .pl-v,
+.markdown-body .pl-s3,
+.markdown-body .pl-sc,
+.markdown-body .pl-sv {
+ color: #0086b3;
+}
+
+.markdown-body .pl-e,
+.markdown-body .pl-en {
+ color: #795da3;
+}
+
+.markdown-body .pl-s1 .pl-s2,
+.markdown-body .pl-smi,
+.markdown-body .pl-smp,
+.markdown-body .pl-stj,
+.markdown-body .pl-vo,
+.markdown-body .pl-vpf {
+ color: #333;
+}
+
+.markdown-body .pl-ent {
+ color: #63a35c;
+}
+
+.markdown-body .pl-k,
+.markdown-body .pl-s,
+.markdown-body .pl-st {
+ color: #a71d5d;
+}
+
+.markdown-body .pl-pds,
+.markdown-body .pl-s1,
+.markdown-body .pl-s1 .pl-pse .pl-s2,
+.markdown-body .pl-sr,
+.markdown-body .pl-sr .pl-cce,
+.markdown-body .pl-sr .pl-sra,
+.markdown-body .pl-sr .pl-sre,
+.markdown-body .pl-src,
+.markdown-body .pl-v {
+ color: #df5000;
+}
+
+.markdown-body .pl-id {
+ color: #b52a1d;
+}
+
+.markdown-body .pl-ii {
+ background-color: #b52a1d;
+ color: #f8f8f8;
+}
+
+.markdown-body .pl-sr .pl-cce {
+ color: #63a35c;
+ font-weight: bold;
+}
+
+.markdown-body .pl-ml {
+ color: #693a17;
+}
+
+.markdown-body .pl-mh,
+.markdown-body .pl-mh .pl-en,
+.markdown-body .pl-ms {
+ color: #1d3e81;
+ font-weight: bold;
+}
+
+.markdown-body .pl-mq {
+ color: #008080;
+}
+
+.markdown-body .pl-mi {
+ color: #333;
+ font-style: italic;
+}
+
+.markdown-body .pl-mb {
+ color: #333;
+ font-weight: bold;
+}
+
+.markdown-body .pl-md,
+.markdown-body .pl-mdhf {
+ background-color: #ffecec;
+ color: #bd2c00;
+}
+
+.markdown-body .pl-mdht,
+.markdown-body .pl-mi1 {
+ background-color: #eaffea;
+ color: #55a532;
+}
+
+.markdown-body .pl-mdr {
+ color: #795da3;
+ font-weight: bold;
+}
+
+.markdown-body .pl-mo {
+ color: #1d3e81;
+}
+
+.markdown-body kbd {
+ background-color: #e7e7e7;
+ background-image: -webkit-linear-gradient(#fefefe, #e7e7e7);
+ background-image: linear-gradient(#fefefe, #e7e7e7);
+ background-repeat: repeat-x;
+ display: inline-block;
+ padding: 3px 5px;
+ font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;
+ line-height: 10px;
+ color: #000;
+ border: 1px solid #cfcfcf;
+ border-radius: 2px;
+}
+
+.markdown-body .task-list-item {
+ list-style-type: none;
+}
+
+.markdown-body .task-list-item+.task-list-item {
+ margin-top: 3px;
+}
+
+.markdown-body .task-list-item input {
+ float: left;
+ margin: 0.3em 0 0.25em -1.6em;
+ vertical-align: middle;
+}
+
+.markdown-body :checked+.radio-label {
+ z-index: 1;
+ position: relative;
+ border-color: #4183c4;
+}
diff --git a/public/css/github-unminify.css b/public/css/github-unminify.css
new file mode 100644
index 00000000..30a10ff5
--- /dev/null
+++ b/public/css/github-unminify.css
@@ -0,0 +1,10670 @@
+/*! normalize.css v3.0.1 | MIT License | git.io/normalize */
+html {
+ font-family: sans-serif;
+ -ms-text-size-adjust: 100%;
+ -webkit-text-size-adjust: 100%}
+body {
+ margin: 0;
+}
+article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
+ display: block;
+}
+audio, canvas, progress, video {
+ display: inline-block;
+ vertical-align: baseline;
+}
+audio:not([controls]) {
+ display: none;
+ height: 0;
+}
+[hidden], template {
+ display: none;
+}
+a {
+ background: transparent;
+}
+a:active, a:hover {
+ outline: 0;
+}
+abbr[title] {
+ border-bottom: 1px dotted;
+}
+b, strong {
+ font-weight: bold;
+}
+dfn {
+ font-style: italic;
+}
+h1 {
+ font-size: 2em;
+ margin: 0.67em 0;
+}
+mark {
+ background: #ff0;
+ color: #000;
+}
+small {
+ font-size: 80%}
+sub, sup {
+ font-size: 75%;
+ line-height: 0;
+ position: relative;
+ vertical-align: baseline;
+}
+sup {
+ top: -0.5em;
+}
+sub {
+ bottom: -0.25em;
+}
+img {
+ border: 0;
+}
+svg:not(:root) {
+ overflow: hidden;
+}
+figure {
+ margin: 1em 40px;
+}
+hr {
+ -moz-box-sizing: content-box;
+ box-sizing: content-box;
+ height: 0;
+}
+pre {
+ overflow: auto;
+}
+code, kbd, pre, samp {
+ font-family: monospace, monospace;
+ font-size: 1em;
+}
+button, input, optgroup, select, textarea {
+ color: inherit;
+ font: inherit;
+ margin: 0;
+}
+button {
+ overflow: visible;
+}
+button, select {
+ text-transform: none;
+}
+button, html input[type="button"], input[type="reset"], input[type="submit"] {
+ -webkit-appearance: button;
+ cursor: pointer;
+}
+button[disabled], html input[disabled] {
+ cursor: default;
+}
+button::-moz-focus-inner, input::-moz-focus-inner {
+ border: 0;
+ padding: 0;
+}
+input {
+ line-height: normal;
+}
+input[type="checkbox"], input[type="radio"] {
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+ padding: 0;
+}
+input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button {
+ height: auto;
+}
+input[type="search"] {
+ -webkit-appearance: textfield;
+ -moz-box-sizing: content-box;
+ box-sizing: content-box;
+}
+input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {
+ -webkit-appearance: none;
+}
+fieldset {
+ border: 1px solid #c0c0c0;
+ margin: 0 2px;
+ padding: 0.35em 0.625em 0.75em;
+}
+legend {
+ border: 0;
+ padding: 0;
+}
+textarea {
+ overflow: auto;
+}
+optgroup {
+ font-weight: bold;
+}
+table {
+ border-collapse: collapse;
+ border-spacing: 0;
+}
+td, th {
+ padding: 0;
+}
+* {
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+}
+input, select, textarea, button {
+ font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol"}
+body {
+ min-width: 1020px;
+ font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
+ color: #333;
+ background-color: #fff;
+}
+a {
+ color: #4183c4;
+ text-decoration: none;
+}
+a:hover, a:focus, a:active {
+ text-decoration: underline;
+}
+hr, .rule {
+ height: 0;
+ margin: 15px 0;
+ overflow: hidden;
+ background: transparent;
+ border: 0;
+ border-bottom: 1px solid #ddd;
+}
+hr:before, .rule:before {
+ display: table;
+ content: ""}
+hr:after, .rule:after {
+ display: table;
+ clear: both;
+ content: ""}
+h1, h2, h3, h4, h5, h6 {
+ margin-top: 15px;
+ margin-bottom: 15px;
+ line-height: 1.1;
+}
+h1 {
+ font-size: 30px;
+}
+h2 {
+ font-size: 21px;
+}
+h3 {
+ font-size: 16px;
+}
+h4 {
+ font-size: 14px;
+}
+h5 {
+ font-size: 12px;
+}
+h6 {
+ font-size: 11px;
+}
+small {
+ font-size: 90%}
+blockquote {
+ margin: 0;
+}
+.lead {
+ margin-bottom: 30px;
+ font-size: 20px;
+ font-weight: 300;
+ color: #555;
+}
+.text-muted {
+ color: #999;
+}
+.text-danger {
+ color: #bd2c00;
+}
+.text-emphasized {
+ font-weight: bold;
+ color: #333;
+}
+ul, ol {
+ padding: 0;
+ margin-top: 0;
+ margin-bottom: 0;
+}
+ol ol, ul ol {
+ list-style-type: lower-roman;
+}
+ul ul ol, ul ol ol, ol ul ol, ol ol ol {
+ list-style-type: lower-alpha;
+}
+dd {
+ margin-left: 0;
+}
+tt, code {
+ font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
+}
+pre {
+ margin-top: 0;
+ margin-bottom: 0;
+ font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
+}
+.container {
+ width: 980px;
+ margin-right: auto;
+ margin-left: auto;
+}
+.container:before {
+ display: table;
+ content: ""}
+.container:after {
+ display: table;
+ clear: both;
+ content: ""}
+.columns {
+ margin-right: -10px;
+ margin-left: -10px;
+}
+.columns:before {
+ display: table;
+ content: ""}
+.columns:after {
+ display: table;
+ clear: both;
+ content: ""}
+.column {
+ float: left;
+ padding-right: 10px;
+ padding-left: 10px;
+}
+.one-third {
+ width: 33%}
+.two-thirds {
+ width: 67%}
+.one-fourth {
+ width: 25%}
+.one-half {
+ width: 50%}
+.three-fourths {
+ width: 75%}
+.one-fifth {
+ width: 20%}
+.four-fifths {
+ width: 80%}
+.single-column {
+ padding-right: 10px;
+ padding-left: 10px;
+}
+.table-column {
+ display: table-cell;
+ width: 1%;
+ padding-right: 10px;
+ padding-left: 10px;
+ vertical-align: top;
+}
+fieldset {
+ padding: 0;
+ margin: 0;
+ border: 0;
+}
+label {
+ font-size: 13px;
+ font-weight: bold;
+}
+.form-control, input[type="text"], input[type="password"], input[type="email"], input[type="number"], input[type="tel"], input[type="url"], textarea {
+ min-height: 34px;
+ padding: 7px 8px;
+ font-size: 13px;
+ color: #333;
+ vertical-align: middle;
+ background-color: #fff;
+ background-repeat: no-repeat;
+ background-position: right center;
+ border: 1px solid #ccc;
+ border-radius: 3px;
+ outline: none;
+ box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);
+}
+.form-control.focus, .form-control:focus, input[type="text"].focus, input[type="text"]:focus, .focused .drag-and-drop, input[type="password"].focus, input[type="password"]:focus, input[type="email"].focus, input[type="email"]:focus, input[type="number"].focus, input[type="number"]:focus, input[type="tel"].focus, input[type="tel"]:focus, input[type="url"].focus, input[type="url"]:focus, textarea.focus, textarea:focus {
+ border-color: #51a7e8;
+ box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075), 0 0 5px rgba(81, 167, 232, 0.5);
+}
+input.input-contrast, .input-contrast {
+ background-color: #fafafa;
+}
+input.input-contrast:focus, .input-contrast:focus {
+ background-color: #fff;
+}
+::-webkit-input-placeholder, :-moz-placeholder {
+ color: #aaa;
+}
+::-webkit-validation-bubble-message {
+ font-size: 12px;
+ color: #fff;
+ background: #9c2400;
+ border: 0;
+ border-radius: 3px;
+ -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
+}
+input::-webkit-validation-bubble-icon {
+ display: none;
+}
+::-webkit-validation-bubble-arrow {
+ background-color: #9c2400;
+ border: solid 1px #9c2400;
+ -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
+}
+input.input-mini {
+ min-height: 26px;
+ padding-top: 4px;
+ padding-bottom: 4px;
+ font-size: 12px;
+}
+input.input-large {
+ padding: 6px 10px;
+ font-size: 16px;
+}
+.input-block {
+ display: block;
+ width: 100%}
+.input-monospace {
+ font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
+}
+dl.form {
+ margin: 15px 0;
+}
+dl.form input[type="text"], dl.form input[type="password"], dl.form input[type="email"], dl.form input[type="url"], dl.form textarea {
+ background-color: #fafafa;
+}
+dl.form input[type="text"]:focus, dl.form .focused .drag-and-drop, .focused dl.form .drag-and-drop, dl.form input[type="password"]:focus, dl.form input[type="email"]:focus, dl.form input[type="url"]:focus, dl.form textarea:focus {
+ background-color: #fff;
+}
+dl.form>dt {
+ margin: 0 0 6px;
+}
+dl.form>dt label {
+ position: relative;
+}
+dl.form.flattened>dt {
+ float: left;
+ margin: 0;
+ line-height: 32px;
+}
+dl.form.flattened>dd {
+ line-height: 32px;
+}
+dl.form>dd input[type="text"], dl.form>dd input[type="password"], dl.form>dd input[type="email"], dl.form>dd input[type="url"] {
+ width: 440px;
+ max-width: 100%;
+ margin-right: 5px;
+ background-position-x: 98%}
+dl.form>dd input.shorter {
+ width: 130px;
+}
+dl.form>dd input.short {
+ width: 250px;
+}
+dl.form>dd input.long {
+ width: 100%}
+dl.form>dd textarea {
+ width: 100%;
+ height: 200px;
+ min-height: 200px;
+}
+dl.form>dd textarea.short {
+ height: 50px;
+ min-height: 50px;
+}
+dl.form>dd h4 {
+ margin: 4px 0 0;
+}
+dl.form>dd h4.is-error {
+ color: #bd2c00;
+}
+dl.form>dd h4.is-success {
+ color: #6cc644;
+}
+dl.form>dd h4+p.note {
+ margin-top: 0;
+}
+dl.form.required>dt>label:after {
+ padding-left: 5px;
+ color: #9f1006;
+ content: "*"}
+.note {
+ min-height: 17px;
+ margin: 4px 0 2px;
+ font-size: 12px;
+ color: #777;
+}
+.note .spinner {
+ margin-right: 3px;
+ vertical-align: middle;
+}
+.form-checkbox {
+ padding-left: 20px;
+ margin: 15px 0;
+ vertical-align: middle;
+}
+.form-checkbox label em.highlight {
+ position: relative;
+ left: -4px;
+ padding: 2px 4px;
+ font-style: normal;
+ background: #fffbdc;
+ border-radius: 3px;
+}
+.form-checkbox input[type=checkbox], .form-checkbox input[type=radio] {
+ float: left;
+ margin: 2px 0 0 -20px;
+ vertical-align: middle;
+}
+.form-checkbox .note {
+ display: block;
+ margin: 0;
+ font-size: 12px;
+ font-weight: normal;
+ color: #666;
+}
+dl.form .success, dl.form .error, dl.form .indicator {
+ display: none;
+ font-size: 12px;
+ font-weight: bold;
+}
+dl.form.loading {
+ opacity: 0.5;
+}
+dl.form.loading .indicator {
+ display: inline;
+}
+dl.form.loading .spinner {
+ display: inline-block;
+ vertical-align: middle;
+}
+dl.form.successful .success {
+ display: inline;
+ color: #390;
+}
+dl.form.errored>dt label {
+ color: #900;
+}
+dl.form.errored .error {
+ display: inline;
+ color: #900;
+}
+dl.form.errored dd.error, dl.form.errored dd.warning {
+ display: inline-block;
+ padding: 5px;
+ font-size: 11px;
+ color: #494620;
+ background: #f7ea57;
+ border: 1px solid #c0b536;
+ border-top-color: #fff;
+ border-bottom-right-radius: 3px;
+ border-bottom-left-radius: 3px;
+}
+dl.form.warn .warning {
+ display: inline;
+ color: #900;
+}
+dl.form.warn dd.warning {
+ display: inline-block;
+ padding: 5px;
+ font-size: 11px;
+ color: #494620;
+ background: #f7ea57;
+ border: 1px solid #c0b536;
+ border-top-color: #fff;
+ border-bottom-right-radius: 3px;
+ border-bottom-left-radius: 3px;
+}
+dl.form .form-note {
+ display: inline-block;
+ padding: 5px;
+ margin-top: -1px;
+ font-size: 11px;
+ color: #494620;
+ background: #f7ea57;
+ border: 1px solid #c0b536;
+ border-top-color: #fff;
+ border-bottom-right-radius: 3px;
+ border-bottom-left-radius: 3px;
+}
+.hfields {
+ margin: 15px 0;
+}
+.hfields:before {
+ display: table;
+ content: ""}
+.hfields:after {
+ display: table;
+ clear: both;
+ content: ""}
+.hfields dl.form {
+ float: left;
+ margin: 0 30px 0 0;
+}
+.hfields dl.form>dt label {
+ display: inline-block;
+ margin: 5px 0 0;
+ color: #666;
+}
+.hfields dl.form>dt label img {
+ position: relative;
+ top: -2px;
+}
+.hfields .button {
+ float: left;
+ margin: 28px 25px 0 -20px;
+}
+.hfields select {
+ margin-top: 5px;
+}
+html.no-dnd-uploads .drag-and-drop {
+ min-height: 32px;
+}
+html.no-dnd-uploads .drag-and-drop .default {
+ display: none;
+}
+html.no-dnd-uploads .upload-enabled textarea {
+ border-bottom: 1px solid #ddd;
+}
+.drag-and-drop {
+ padding: 7px 10px;
+ margin: 0;
+ font-size: 13px;
+ line-height: 16px;
+ color: #aaa;
+ background-color: #fafafa;
+ border: 1px solid #ccc;
+ border-top: 0;
+ border-bottom-right-radius: 3px;
+ border-bottom-left-radius: 3px;
+}
+.drag-and-drop .default, .drag-and-drop .loading, .drag-and-drop .error {
+ display: none;
+}
+.drag-and-drop .error {
+ color: #bd2c00;
+}
+.drag-and-drop img {
+ vertical-align: top;
+}
+.is-default .drag-and-drop .default {
+ display: inline-block;
+}
+.is-uploading .drag-and-drop .loading {
+ display: inline-block;
+}
+.is-bad-file .drag-and-drop .bad-file {
+ display: inline-block;
+}
+.is-too-big .drag-and-drop .too-big {
+ display: inline-block;
+}
+.is-empty .drag-and-drop .empty {
+ display: inline-block;
+}
+.is-bad-browser .drag-and-drop .bad-browser {
+ display: inline-block;
+}
+.drag-and-drop-error-info {
+ font-weight: normal;
+ color: #aaa;
+}
+.drag-and-drop-error-info a {
+ color: #4183c4;
+}
+.is-failed .drag-and-drop .failed-request {
+ display: inline-block;
+}
+.manual-file-chooser {
+ position: absolute;
+ width: 240px;
+ padding: 5px;
+ margin-left: -80px;
+ cursor: pointer;
+ opacity: 0.0001;
+}
+.manual-file-chooser:hover+.manual-file-chooser-text {
+ text-decoration: underline;
+}
+.button .manual-file-chooser {
+ top: 0;
+ padding: 0;
+ line-height: 34px;
+}
+.upload-enabled textarea {
+ display: block;
+ border-bottom: 1px dashed #ddd;
+ border-bottom-right-radius: 0;
+ border-bottom-left-radius: 0;
+}
+.focused .drag-and-drop {
+ box-shadow: rgba(81, 167, 232, 0.5) 0 0 3px;
+}
+.dragover textarea, .dragover .drag-and-drop {
+ box-shadow: #c9ff00 0 0 3px;
+}
+.previewable-comment-form {
+ position: relative;
+}
+.previewable-comment-form .tabnav {
+ position: relative;
+ padding: 10px 10px 0;
+}
+.previewable-comment-form .comment {
+ border: 1px solid #cacaca;
+}
+.previewable-comment-form .comment-header .comment-header-actions {
+ display: none;
+}
+.previewable-comment-form .comment-form-error {
+ margin-bottom: 10px;
+}
+.previewable-comment-form .write-content, .previewable-comment-form .preview-content {
+ display: none;
+ padding: 0 10px 10px;
+}
+.previewable-comment-form.write-selected .write-content, .previewable-comment-form.preview-selected .preview-content {
+ display: block;
+}
+.previewable-comment-form textarea {
+ display: block;
+ width: 100%;
+ min-height: 100px;
+ max-height: 500px;
+ padding: 10px;
+ resize: vertical;
+}
+.previewable-comment-form textarea.fullscreen-contents:focus {
+ border: 0;
+ box-shadow: none;
+}
+div.composer {
+ margin-top: 0;
+ border: 0;
+}
+.composer .comment-form-textarea {
+ height: 200px;
+ min-height: 200px;
+}
+.composer-infobar {
+ height: 35px;
+ padding: 0 10px;
+ margin-bottom: 10px;
+ border-bottom: 1px solid #eee;
+}
+.composer .tabnav {
+ margin: 0 0 10px;
+}
+.infobar-widget.milestone {
+ position: relative;
+ float: right;
+}
+.infobar-widget.milestone .select-menu-modal-holder {
+ right: 0;
+}
+.infobar-widget.assignee {
+ float: left;
+}
+.infobar-widget.assignee .css-truncate-target {
+ max-width: 110px;
+}
+.infobar-widget .text, .infobar-widget .avatar, .infobar-widget .select-menu {
+ display: inline-block;
+ vertical-align: top;
+}
+.infobar-widget .text {
+ margin-top: 3px;
+}
+.infobar-widget .text a {
+ font-weight: bold;
+ color: #333;
+}
+.infobar-widget .progress-bar {
+ width: 200px;
+ overflow: hidden;
+ line-height: 18px;
+}
+input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
+ margin: 0;
+ -webkit-appearance: none;
+}
+.input-group {
+ display: table;
+}
+.input-group input {
+ position: relative;
+ width: 100%}
+.input-group input:focus {
+ z-index: 2;
+}
+.input-group input[type="text"]+.minibutton {
+ margin-left: 0;
+}
+.input-group.inline {
+ display: inline-table;
+}
+.input-group input, .input-group-button {
+ display: table-cell;
+}
+.input-group-button {
+ width: 1%;
+ vertical-align: middle;
+}
+.input-group input:first-child, .input-group-button:first-child .button, .input-group-button:first-child .minibutton {
+ border-top-right-radius: 0;
+ border-bottom-right-radius: 0;
+}
+.input-group-button:first-child .button, .input-group-button:first-child .minibutton {
+ margin-right: -1px;
+}
+.input-group input:last-child, .input-group-button:last-child .button, .input-group-button:last-child .minibutton {
+ border-top-left-radius: 0;
+ border-bottom-left-radius: 0;
+}
+.input-group-button:last-child .button, .input-group-button:last-child .minibutton {
+ margin-left: -1px;
+}
+h2.account {
+ margin: 15px 0 0;
+ font-size: 18px;
+ font-weight: normal;
+ color: #666;
+}
+p.explain {
+ position: relative;
+ font-size: 12px;
+ color: #666;
+}
+p.explain strong {
+ color: #333;
+}
+p.explain .octicon {
+ margin-right: 5px;
+ color: #bbb;
+}
+p.explain .minibutton {
+ top: -4px;
+ float: right;
+}
+.options-content p.explain {
+ padding: 10px 10px 0;
+ margin-top: 0;
+ border-top: 1px solid #ddd;
+}
+.form-actions {
+ padding-bottom: 5px;
+ text-align: right;
+}
+.form-actions .cancel {
+ float: left;
+ margin-top: 5px;
+}
+.form-actions .button.cancel {
+ margin-top: 0;
+ margin-left: 2px;
+}
+.form-actions .minibutton.cancel {
+ margin-top: 0;
+}
+.form-actions .optional {
+ float: left;
+ padding-top: 8px;
+ margin-right: 15px;
+}
+.form-actions .optional span.text {
+ padding: 0 3px;
+}
+.form-actions .optional input {
+ position: relative;
+ top: -1px;
+}
+.form-warning {
+ padding: 8px 10px;
+ margin: 10px 0;
+ font-size: 14px;
+ color: #333;
+ background: #ffffe2;
+ border: 1px solid #e7e4c2;
+ border-radius: 4px;
+}
+.form-warning p {
+ margin: 0;
+ line-height: 1.5;
+}
+.form-warning strong {
+ color: #000;
+}
+.form-warning a {
+ font-weight: bold;
+}
+.status-indicator {
+ font: normal normal 16px/1 "octicons";
+ display: inline-block;
+ text-decoration: none;
+ -webkit-font-smoothing: antialiased;
+ margin-left: 5px;
+}
+.status-indicator-success:before {
+ color: #6cc644;
+ content: "\f03a"}
+.status-indicator-failed:before {
+ color: #bd2c00;
+ content: "\f02d"}
+.clearfix:before {
+ display: table;
+ content: ""}
+.clearfix:after {
+ display: table;
+ clear: both;
+ content: ""}
+.right {
+ float: right;
+}
+.left {
+ float: left;
+}
+.text-right {
+ text-align: right;
+}
+.text-left {
+ text-align: left;
+}
+.danger {
+ color: #c00;
+}
+.mute {
+ color: #000;
+}
+.text-diff-added {
+ color: #55a532;
+}
+.text-diff-deleted {
+ color: #bd2c00;
+}
+.text-open, .text-success {
+ color: #6cc644;
+}
+.text-closed {
+ color: #bd2c00;
+}
+.text-reverted {
+ color: #bd2c00;
+}
+.text-merged {
+ color: #6e5494;
+}
+.text-renamed {
+ color: #fffa5d;
+}
+.text-pending {
+ color: #cea61b;
+}
+.text-failure {
+ color: #bd2c00;
+}
+.hidden {
+ display: none;
+}
+.warning {
+ padding: 0.5em;
+ margin-bottom: 0.8em;
+ font-weight: bold;
+ background-color: #fffccc;
+}
+.error_box {
+ padding: 1em;
+ font-weight: bold;
+ background-color: #ffebe8;
+ border: 1px solid #dd3c10;
+}
+.menu {
+ margin-bottom: 15px;
+ list-style: none;
+ background-color: #fff;
+ border: 1px solid #d8d8d8;
+ border-radius: 3px;
+}
+.menu-item {
+ position: relative;
+ display: block;
+ padding: 8px 10px;
+ text-shadow: 0 1px 0 #fff;
+ border-bottom: 1px solid #eee;
+}
+.menu-item:first-child {
+ border-top: 0;
+ border-top-right-radius: 2px;
+ border-top-left-radius: 2px;
+}
+.menu-item:first-child:before {
+ border-top-left-radius: 2px;
+}
+.menu-item:last-child {
+ border-bottom: 0;
+ border-bottom-right-radius: 2px;
+ border-bottom-left-radius: 2px;
+}
+.menu-item:last-child:before {
+ border-bottom-left-radius: 2px;
+}
+.menu-item:hover {
+ text-decoration: none;
+ background-color: #f9f9f9;
+}
+.menu-item.selected {
+ font-weight: bold;
+ color: #222;
+ cursor: default;
+ background-color: #fff;
+}
+.menu-item.selected:before {
+ position: absolute;
+ top: 0;
+ left: 0;
+ bottom: 0;
+ width: 2px;
+ content: "";
+ background-color: #d26911;
+}
+.menu-item .octicon {
+ margin-right: 5px;
+ width: 16px;
+ color: #333;
+ text-align: center;
+}
+.menu-item .counter {
+ float: right;
+ margin-left: 5px;
+}
+.menu-item .menu-warning {
+ float: right;
+ color: #d26911;
+}
+.menu-item .avatar {
+ float: left;
+ margin-right: 5px;
+}
+.menu-item.alert .counter {
+ color: #bd2c00;
+}
+.menu-heading {
+ display: block;
+ padding: 8px 10px;
+ margin-top: 0;
+ margin-bottom: 0;
+ font-size: 13px;
+ font-weight: bold;
+ line-height: 20px;
+ color: #555;
+ background-color: #f7f7f7;
+ border-bottom: 1px solid #eee;
+}
+.menu-heading:hover {
+ text-decoration: none;
+}
+.menu-heading:first-child {
+ border-top-right-radius: 2px;
+ border-top-left-radius: 2px;
+}
+.menu-heading:last-child {
+ border-bottom-right-radius: 2px;
+ border-bottom-left-radius: 2px;
+ border-bottom: 0;
+}
+.sunken-menu {
+ position: relative;
+ padding-top: 15px;
+ padding-bottom: 15px;
+ background-image: -webkit-linear-gradient(left, #f6f6f6 0%, #fff 8px);
+ background-image: linear-gradient(to right, #f6f6f6 0%, #fff 8px);
+ box-shadow: inset 1px 0 0 #eee;
+}
+.sunken-menu:before, .sunken-menu:after {
+ position: absolute;
+ left: 0;
+ width: 100%;
+ height: 15px;
+ content: "";
+ background-color: transparent;
+}
+.sunken-menu:before {
+ top: 0;
+ background-color: transparent;
+ background-image: -webkit-linear-gradient(#fff, rgba(255, 255, 255, 0));
+ background-image: linear-gradient(#fff, rgba(255, 255, 255, 0));
+}
+.sunken-menu:after {
+ bottom: 0;
+ background-color: transparent;
+ background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0), #fff);
+ background-image: linear-gradient(rgba(255, 255, 255, 0), #fff);
+}
+.sunken-menu-separator {
+ position: relative;
+ height: 5px;
+ margin: 8px 0 6px 1px;
+ background-image: -webkit-radial-gradient(farthest-side at left top, #f4f4f4, rgba(244, 244, 244, 0));
+ background-image: radial-gradient(farthest-side at left top, #f4f4f4, rgba(244, 244, 244, 0));
+}
+.sunken-menu-separator:before {
+ position: absolute;
+ top: 0;
+ width: 100%;
+ height: 1px;
+ content: "";
+ background-image: -webkit-linear-gradient(left, #eee 70%, #fff 100%);
+ background-image: linear-gradient(to right, #eee 70%, #fff 100%);
+ border-top: 1px solid #eee\9;
+}
+.sunken-menu-group {
+ list-style-type: none;
+}
+.sunken-menu-item {
+ display: block;
+ padding: 8px 10px;
+ margin-top: 5px;
+ margin-bottom: 5px;
+ border: 1px solid transparent;
+ outline: 0;
+}
+.sunken-menu-item .counter {
+ position: absolute;
+ top: 8px;
+ right: 10px;
+}
+.sunken-menu-item .octicon {
+ left: -1px;
+ width: 16px;
+ color: #999;
+ text-align: center;
+}
+.sunken-menu-item .mini-loader {
+ position: absolute;
+ top: 9px;
+ left: 11px;
+ display: none;
+}
+.sunken-menu-item:focus, .sunken-menu-item:hover {
+ text-decoration: none;
+ box-shadow: inset 2px 0 0 #ccc;
+}
+.sunken-menu-item:focus .octicon, .sunken-menu-item:hover .octicon {
+ color: #333;
+}
+.sunken-menu-item.selected {
+ font-weight: bold;
+ color: #333;
+ background-color: #fff;
+ border-color: #eee #eee #eee transparent;
+ border-radius: 0 3px 3px 0;
+ box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.05);
+}
+.sunken-menu-item.selected:after {
+ position: absolute;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ width: 3px;
+ content: "";
+ background-color: #d26911;
+ border-radius: 0 3px 3px 0;
+}
+.sunken-menu-item.selected .octicon {
+ color: #333;
+}
+.sunken-menu-item.is-loading .mini-loader {
+ display: inline-block;
+ -webkit-animation: mini-nav-loader, 0.4s, forwards;
+ animation: mini-nav-loader, 0.4s, forwards;
+}
+.sunken-menu-item.is-loading .octicon {
+ color: #fff;
+}
+@-webkit-keyframes mini-nav-loader {
+ 0%,
+ 90% {
+ opacity: 0;
+}
+100% {
+ opacity: 1;
+}
+}@keyframes mini-nav-loader {
+ 0%,
+ 90% {
+ opacity: 0;
+}
+100% {
+ opacity: 1;
+}
+}.tabnav {
+ margin: 0 0 15px;
+ border-bottom: 1px solid #ddd;
+}
+.tabnav .counter {
+ margin-left: 5px;
+}
+.tabnav-tabs {
+ display: inline-block;
+}
+.tabnav-tabs>li {
+ display: inline-block;
+ margin-bottom: -1px;
+}
+.tabnav-tab {
+ display: inline-block;
+ padding: 8px 12px 7px;
+ font-size: 14px;
+ line-height: 20px;
+ color: #666;
+ text-decoration: none;
+ border: 1px solid transparent;
+ border-bottom: 0;
+}
+.tabnav-tab.selected {
+ color: #333;
+ background-color: #fff;
+ border-color: #ddd;
+ border-radius: 3px 3px 0 0;
+}
+.tabnav-tab:hover {
+ text-decoration: none;
+}
+.tabnav-right {
+ position: relative;
+ float: right;
+}
+.tabnav-widget {
+ display: inline-block;
+ vertical-align: top;
+}
+.tabnav-widget+.tabnav-tabs {
+ margin-left: 10px;
+}
+.tabnav-widget.search .spinner {
+ position: absolute;
+ top: 7px;
+ left: -22px;
+ margin-right: 8px;
+ vertical-align: middle;
+}
+.tabnav-widget.search .search-link {
+ display: inline-block;
+ height: 26px;
+ padding-right: 5px;
+ font-size: 13px;
+ font-weight: 200;
+ line-height: 26px;
+ color: #666;
+ vertical-align: top;
+}
+.tabnav-widget.search .fieldwrap {
+ display: inline-block;
+ height: 26px;
+ border-radius: 4px;
+}
+.tabnav-widget.search .fieldwrap>input, .tabnav-widget.search .fieldwrap>button {
+ display: inline-block;
+}
+.tabnav-widget.search input {
+ min-height: 26px;
+ padding: 0 4px;
+ font-size: 12px;
+ vertical-align: top;
+ border-radius: 3px 0 0 3px;
+}
+.tabnav-widget.search .minibutton {
+ position: relative;
+ height: 24px;
+ padding: 0 8px;
+ margin-left: 0;
+ vertical-align: top;
+ border-left: 0;
+ border-radius: 0 3px 3px 0;
+}
+.tabnav-widget.search .minibutton:hover {
+ color: #fff;
+}
+.tabnav-widget.text {
+ margin-top: 12px;
+ font-size: 11px;
+ color: #666;
+}
+.tabnav-extras {
+ display: inline-block;
+ margin-left: 10px;
+}
+.tabnav-extras .octicon {
+ float: left;
+ margin-top: -1px;
+ margin-right: 5px;
+}
+.tabnav-extras:hover {
+ color: #4183c4;
+ text-decoration: none;
+}
+.filter-list {
+ list-style-type: none;
+}
+.filter-list.small .filter-item {
+ padding: 4px 10px;
+ margin: 0 0 2px;
+ font-size: 12px;
+}
+.filter-list.pjax-active .filter-item {
+ color: #777;
+ background-color: transparent;
+}
+.filter-list.pjax-active .filter-item.pjax-active {
+ color: #fff;
+ background-color: #4183c4;
+}
+.filter-item {
+ position: relative;
+ display: block;
+ padding: 8px 10px;
+ margin-bottom: 5px;
+ overflow: hidden;
+ font-size: 14px;
+ color: #777;
+ text-decoration: none;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ cursor: pointer;
+ border-radius: 3px;
+}
+.filter-item:hover {
+ text-decoration: none;
+ background-color: #eee;
+}
+.filter-item.selected {
+ color: #fff;
+ background-color: #4183c4;
+}
+.filter-item.selected .octicon-remove-close {
+ float: right;
+ opacity: 0.8;
+}
+.filter-item .count {
+ float: right;
+ font-weight: bold;
+}
+.filter-item .bar {
+ position: absolute;
+ top: 2px;
+ right: 0;
+ bottom: 2px;
+ z-index: -1;
+ display: inline-block;
+ background-color: #f1f1f1;
+}
+.flash-messages {
+ margin-top: 15px;
+ margin-bottom: 15px;
+}
+.flash, .flash-global {
+ position: relative;
+ font-size: 14px;
+ line-height: 1.6;
+ color: #246;
+ background-color: #e2eef9;
+ border: solid 1px #bac6d3;
+}
+.flash.flash-warn, .flash-global.flash-warn {
+ color: #4c4a42;
+ background-color: #fff9ea;
+ border-color: #dfd8c2;
+}
+.flash.flash-error, .flash-global.flash-error {
+ color: #911;
+ background-color: #fcdede;
+ border-color: #d2b2b2;
+}
+.flash .flash-close, .flash-global .flash-close {
+ float: right;
+ padding: 17px;
+ margin-top: -15px;
+ margin-right: -15px;
+ margin-left: 20px;
+ color: inherit;
+ text-decoration: none;
+ cursor: pointer;
+ opacity: 0.6;
+}
+.flash .flash-close:hover, .flash-global .flash-close:hover {
+ opacity: 1;
+}
+.flash p:last-child, .flash-global p:last-child {
+ margin-bottom: 0;
+}
+.flash .flash-action, .flash-global .flash-action {
+ float: right;
+ margin-top: -4px;
+ margin-left: 20px;
+}
+.flash a, .flash-global a {
+ font-weight: bold;
+}
+.flash {
+ padding: 15px;
+ border-radius: 3px;
+}
+.flash+.flash {
+ margin-top: 5px;
+}
+.flash-with-icon {
+ padding-left: 40px;
+}
+.flash-with-icon>.octicon {
+ float: left;
+ margin-top: 3px;
+ margin-left: -25px;
+}
+.flash-global {
+ padding: 10px;
+ border-width: 0 0 1px;
+}
+.flash-global h2, .flash-global p {
+ margin-top: 0;
+ margin-bottom: 0;
+ font-size: 14px;
+ line-height: 1.4;
+}
+.flash-global .flash-action {
+ margin-top: 5px;
+}
+.flash-title {
+ margin-top: 0;
+ margin-bottom: 5px;
+}
+.css-truncate.css-truncate-target, .css-truncate .css-truncate-target {
+ display: inline-block;
+ max-width: 125px;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ vertical-align: top;
+}
+.css-truncate.expandable.zeroclipboard-is-hover .css-truncate-target, .css-truncate.expandable.zeroclipboard-is-hover.css-truncate-target, .css-truncate.expandable:hover .css-truncate-target, .css-truncate.expandable:hover.css-truncate-target {
+ max-width: 10000px !important;
+}
+.button, .minibutton {
+ position: relative;
+ display: inline-block;
+ padding: 7px 12px;
+ font-size: 13px;
+ font-weight: bold;
+ color: #333;
+ text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
+ white-space: nowrap;
+ vertical-align: middle;
+ cursor: pointer;
+ background-color: #eee;
+ background-image: -webkit-linear-gradient(#fcfcfc, #eee);
+ background-image: linear-gradient(#fcfcfc, #eee);
+ background-repeat: repeat-x;
+ border: 1px solid #d5d5d5;
+ border-radius: 3px;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+ -webkit-appearance: none;
+}
+.button i, .minibutton i {
+ font-style: normal;
+ font-weight: 500;
+ opacity: 0.6;
+}
+.button:focus, .minibutton:focus {
+ text-decoration: none;
+ border-color: #51a7e8;
+ outline: none;
+ box-shadow: 0 0 5px rgba(81, 167, 232, 0.5);
+}
+.button:hover, .button:active, .button.zeroclipboard-is-hover, .button.zeroclipboard-is-active, .minibutton:hover, .minibutton:active, .minibutton.zeroclipboard-is-hover, .minibutton.zeroclipboard-is-active {
+ text-decoration: none;
+ background-color: #ddd;
+ background-image: -webkit-linear-gradient(#eee, #ddd);
+ background-image: linear-gradient(#eee, #ddd);
+ background-repeat: repeat-x;
+ border-color: #ccc;
+}
+.button:active, .button.selected, .button.selected:hover, .button.zeroclipboard-is-active, .minibutton:active, .minibutton.selected, .minibutton.selected:hover, .minibutton.zeroclipboard-is-active {
+ background-color: #dcdcdc;
+ background-image: none;
+ border-color: #b5b5b5;
+ box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
+}
+.button:disabled, .button:disabled:hover, .button.disabled, .button.disabled:hover, .minibutton:disabled, .minibutton:disabled:hover, .minibutton.disabled, .minibutton.disabled:hover {
+ color: rgba(102, 102, 102, 0.5);
+ text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
+ cursor: default;
+ background-color: rgba(229, 229, 229, 0.5);
+ background-image: none;
+ border-color: rgba(197, 197, 197, 0.5);
+ box-shadow: none;
+}
+.button.primary, .minibutton.primary {
+ color: #fff;
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
+ background-color: #60b044;
+ background-image: -webkit-linear-gradient(#8add6d, #60b044);
+ background-image: linear-gradient(#8add6d, #60b044);
+ background-repeat: repeat-x;
+ border-color: #5ca941;
+}
+.button.primary:hover, .minibutton.primary:hover {
+ color: #fff;
+ background-color: #569e3d;
+ background-image: -webkit-linear-gradient(#79d858, #569e3d);
+ background-image: linear-gradient(#79d858, #569e3d);
+ background-repeat: repeat-x;
+ border-color: #4a993e;
+}
+.button.primary:active, .button.primary.selected, .minibutton.primary:active, .minibutton.primary.selected {
+ background-color: #569e3d;
+ background-image: none;
+ border-color: #418737;
+}
+.button.primary:disabled, .button.primary:disabled:hover, .button.primary.disabled, .button.primary.disabled:hover, .minibutton.primary:disabled, .minibutton.primary:disabled:hover, .minibutton.primary.disabled, .minibutton.primary.disabled:hover {
+ color: #fefefe;
+ text-shadow: 0 -1px 0 rgba(39, 39, 39, 0.25);
+ background-color: #add39f;
+ background-image: -webkit-linear-gradient(#c3ecb4, #add39f);
+ background-image: linear-gradient(#c3ecb4, #add39f);
+ background-repeat: repeat-x;
+ border-color: #b9dcac #b9dcac #a7c89b;
+}
+.button.danger, .minibutton.danger {
+ color: #900;
+}
+.button.danger:hover, .minibutton.danger:hover {
+ color: #fff;
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
+ background-color: #b33630;
+ background-image: -webkit-linear-gradient(#dc5f59, #b33630);
+ background-image: linear-gradient(#dc5f59, #b33630);
+ background-repeat: repeat-x;
+ border-color: #cd504a;
+}
+.button.danger:active, .button.danger.selected, .minibutton.danger:active, .minibutton.danger.selected {
+ color: #fff;
+ background-color: #b33630;
+ background-image: none;
+ border-color: #9f312c;
+}
+.button.danger:disabled, .button.danger:disabled:hover, .button.danger.disabled, .button.danger.disabled:hover, .minibutton.danger:disabled, .minibutton.danger:disabled:hover, .minibutton.danger.disabled, .minibutton.danger.disabled:hover {
+ color: #cb7f7f;
+ text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
+ background-color: #efefef;
+ background-image: -webkit-linear-gradient(#fefefe, #efefef);
+ background-image: linear-gradient(#fefefe, #efefef);
+ background-repeat: repeat-x;
+ border-color: #e1e1e1;
+}
+.button.with-count, .minibutton.with-count {
+ float: left;
+ border-top-right-radius: 0;
+ border-bottom-right-radius: 0;
+}
+.button>.octicon, .minibutton>.octicon {
+ vertical-align: -1px;
+}
+.button>.octicon-arrow-right, .minibutton>.octicon-arrow-right {
+ float: right;
+ margin-left: 5px;
+}
+.minibutton>.octicon-arrow-right {
+ margin-top: 4px;
+}
+.minibutton {
+ padding: 0 10px;
+ line-height: 24px;
+}
+.hidden-text-expander {
+ display: block;
+}
+.hidden-text-expander.inline {
+ position: relative;
+ top: -1px;
+ display: inline-block;
+ margin-left: 5px;
+ line-height: 0;
+}
+.hidden-text-expander a {
+ display: inline-block;
+ height: 12px;
+ padding: 0 5px;
+ font-size: 12px;
+ font-weight: bold;
+ line-height: 6px;
+ color: #555;
+ text-decoration: none;
+ vertical-align: middle;
+ background: #ddd;
+ border-radius: 1px;
+}
+.hidden-text-expander a:hover {
+ text-decoration: none;
+ background-color: #ccc;
+}
+.hidden-text-expander a:active {
+ color: #fff;
+ background-color: #4183c4;
+}
+.social-count {
+ float: left;
+ padding: 0 7px;
+ font-size: 11px;
+ font-weight: bold;
+ line-height: 24px;
+ color: #333;
+ vertical-align: middle;
+ background-color: #fff;
+ border: 1px solid #ddd;
+ border-left: 0;
+ border-top-right-radius: 3px;
+ border-bottom-right-radius: 3px;
+}
+.social-count:hover {
+ color: #4183c4;
+ text-decoration: none;
+ cursor: pointer;
+}
+.button-block {
+ display: block;
+ width: 100%;
+ text-align: center;
+}
+.button-group {
+ display: inline-block;
+ vertical-align: middle;
+}
+.button-group:before {
+ display: table;
+ content: ""}
+.button-group:after {
+ display: table;
+ clear: both;
+ content: ""}
+.button-group .button, .button-group .minibutton, .button-group .button-outline {
+ position: relative;
+ float: left;
+ border-radius: 0;
+}
+.button-group .button:first-child, .button-group .minibutton:first-child, .button-group .button-outline:first-child {
+ border-top-left-radius: 3px;
+ border-bottom-left-radius: 3px;
+}
+.button-group .button:last-child, .button-group .minibutton:last-child, .button-group .button-outline:last-child {
+ border-top-right-radius: 3px;
+ border-bottom-right-radius: 3px;
+}
+.button-group .button:hover, .button-group .button:focus, .button-group .button:active, .button-group .button.selected, .button-group .minibutton:hover, .button-group .minibutton:focus, .button-group .minibutton:active, .button-group .minibutton.selected, .button-group .button-outline:hover, .button-group .button-outline:focus, .button-group .button-outline:active, .button-group .button-outline.selected {
+ z-index: 2;
+}
+.button-group .button+.button, .button-group .minibutton+.minibutton {
+ margin-left: -1px;
+ box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.2);
+}
+.button-group .button+.button:hover, .button-group .minibutton+.minibutton:hover {
+ box-shadow: none;
+}
+.button-group .button+.button:active, .button-group .button+.button.selected, .button-group .minibutton+.minibutton:active, .button-group .minibutton+.minibutton.selected {
+ box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.15);
+}
+.button-group .button-outline+.button-outline, .button-group .button_to+.button_to {
+ margin-left: -1px;
+}
+.button-group .button_to {
+ float: left;
+}
+.button-group .button_to .button, .button-group .button_to .minibutton, .button-group .button_to .button-outline {
+ border-radius: 0;
+}
+.button-group .button_to:first-child .button, .button-group .button_to:first-child .minibutton, .button-group .button_to:first-child .button-outline {
+ border-top-left-radius: 3px;
+ border-bottom-left-radius: 3px;
+}
+.button-group .button_to:last-child .button, .button-group .button_to:last-child .minibutton, .button-group .button_to:last-child .button-outline {
+ border-top-right-radius: 3px;
+ border-bottom-right-radius: 3px;
+}
+.button-group+.button-group, .button-group+.button, .button-group+.minibutton {
+ margin-left: 5px;
+}
+.button-link {
+ display: inline;
+ padding: 0;
+ font-size: inherit;
+ color: #4183c4;
+ white-space: nowrap;
+ cursor: pointer;
+ background-color: transparent;
+ border: 0;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+ -webkit-appearance: none;
+}
+.button-link:hover, .button-link:focus {
+ text-decoration: underline;
+}
+.button-link:focus {
+ outline: none;
+}
+.button-outline {
+ display: inline-block;
+ padding: 7px 12px;
+ font-size: 13px;
+ font-weight: bold;
+ color: #4183c4;
+ white-space: nowrap;
+ vertical-align: middle;
+ cursor: pointer;
+ background: #fff;
+ border: 1px solid #e5e5e5;
+ border-radius: 3px;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+ -webkit-appearance: none;
+}
+.button-outline:hover, .button-outline.zeroclipboard-is-hover {
+ color: #fff;
+ text-decoration: none;
+ background-color: #4183c4;
+ border-color: #4183c4;
+}
+.button-outline:disabled, .button-outline.disabled, .button-outline:disabled:hover, .button-outline.disabled:hover {
+ color: #777;
+ cursor: default;
+ background-color: #f5f5f5;
+ border-color: #e5e5e5;
+}
+.counter {
+ display: inline-block;
+ padding: 2px 5px;
+ font-size: 11px;
+ font-weight: bold;
+ line-height: 1;
+ color: #777;
+ background-color: #eee;
+ border-radius: 20px;
+}
+.tooltipped {
+ position: relative;
+}
+.tooltipped:after {
+ position: absolute;
+ z-index: 1000000;
+ display: none;
+ padding: 5px 8px;
+ font: normal normal 11px/1.5 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
+ color: #fff;
+ text-align: center;
+ text-decoration: none;
+ text-shadow: none;
+ text-transform: none;
+ letter-spacing: normal;
+ word-wrap: break-word;
+ white-space: pre;
+ pointer-events: none;
+ content: attr(aria-label);
+ background: rgba(0, 0, 0, 0.8);
+ border-radius: 3px;
+ -webkit-font-smoothing: subpixel-antialiased;
+}
+.tooltipped:before {
+ position: absolute;
+ z-index: 1000001;
+ display: none;
+ width: 0;
+ height: 0;
+ color: rgba(0, 0, 0, 0.8);
+ pointer-events: none;
+ content: "";
+ border: 5px solid transparent;
+}
+.tooltipped:hover:before, .tooltipped:hover:after, .tooltipped:active:before, .tooltipped:active:after, .tooltipped:focus:before, .tooltipped:focus:after {
+ display: inline-block;
+ text-decoration: none;
+}
+.tooltipped-multiline:hover:after, .tooltipped-multiline:active:after, .tooltipped-multiline:focus:after {
+ display: table-cell;
+}
+.tooltipped-s:after, .tooltipped-se:after, .tooltipped-sw:after {
+ top: 100%;
+ right: 50%;
+ margin-top: 5px;
+}
+.tooltipped-s:before, .tooltipped-se:before, .tooltipped-sw:before {
+ top: auto;
+ right: 50%;
+ bottom: -5px;
+ margin-right: -5px;
+ border-bottom-color: rgba(0, 0, 0, 0.8);
+}
+.tooltipped-se:after {
+ right: auto;
+ left: 50%;
+ margin-left: -15px;
+}
+.tooltipped-sw:after {
+ margin-right: -15px;
+}
+.tooltipped-n:after, .tooltipped-ne:after, .tooltipped-nw:after {
+ right: 50%;
+ bottom: 100%;
+ margin-bottom: 5px;
+}
+.tooltipped-n:before, .tooltipped-ne:before, .tooltipped-nw:before {
+ top: -5px;
+ right: 50%;
+ bottom: auto;
+ margin-right: -5px;
+ border-top-color: rgba(0, 0, 0, 0.8);
+}
+.tooltipped-ne:after {
+ right: auto;
+ left: 50%;
+ margin-left: -15px;
+}
+.tooltipped-nw:after {
+ margin-right: -15px;
+}
+.tooltipped-s:after, .tooltipped-n:after {
+ -webkit-transform: translateX(50%);
+ -ms-transform: translateX(50%);
+ transform: translateX(50%);
+}
+.tooltipped-w:after {
+ right: 100%;
+ bottom: 50%;
+ margin-right: 5px;
+ -webkit-transform: translateY(50%);
+ -ms-transform: translateY(50%);
+ transform: translateY(50%);
+}
+.tooltipped-w:before {
+ top: 50%;
+ bottom: 50%;
+ left: -5px;
+ margin-top: -5px;
+ border-left-color: rgba(0, 0, 0, 0.8);
+}
+.tooltipped-e:after {
+ bottom: 50%;
+ left: 100%;
+ margin-left: 5px;
+ -webkit-transform: translateY(50%);
+ -ms-transform: translateY(50%);
+ transform: translateY(50%);
+}
+.tooltipped-e:before {
+ top: 50%;
+ right: -5px;
+ bottom: 50%;
+ margin-top: -5px;
+ border-right-color: rgba(0, 0, 0, 0.8);
+}
+.tooltipped-multiline:after {
+ width: -moz-max-content;
+ width: -webkit-max-content;
+ max-width: 250px;
+ word-break: break-word;
+ word-wrap: normal;
+ white-space: pre-line;
+ border-collapse: separate;
+}
+.tooltipped-multiline.tooltipped-s:after, .tooltipped-multiline.tooltipped-n:after {
+ right: auto;
+ left: 50%;
+ -webkit-transform: translateX(-50%);
+ -ms-transform: translateX(-50%);
+ transform: translateX(-50%);
+}
+.tooltipped-multiline.tooltipped-w:after, .tooltipped-multiline.tooltipped-e:after {
+ right: 100%}
+@media screen and (min-width: 0\0) {
+ .tooltipped-multiline: after {
+ width: 250px;
+}
+}.tooltipped-sticky:before, .tooltipped-sticky:after {
+ display: inline-block;
+}
+.tooltipped-sticky.tooltipped-multiline:after {
+ display: table-cell;
+}
+.fullscreen-overlay-enabled.dark-theme .tooltipped:after {
+ color: #000;
+ background: rgba(255, 255, 255, 0.8);
+}
+.fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-s:before, .fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-se:before, .fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-sw:before {
+ border-bottom-color: rgba(255, 255, 255, 0.8);
+}
+.fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-n:before, .fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-ne:before, .fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-nw:before {
+ border-top-color: rgba(255, 255, 255, 0.8);
+}
+.fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-e:before {
+ border-right-color: rgba(255, 255, 255, 0.8);
+}
+.fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-w:before {
+ border-left-color: rgba(255, 255, 255, 0.8);
+}
+@font-face {
+ font-family: 'octicons';
+ src: url(/assets/octicons/octicons/octicons-50f7c541d70d63b9d9e905389ae12f4f9f6e3e632b4c7e0655c9ef955ff0b092.eot?#iefix) format("embedded-opentype"), url(/assets/octicons/octicons/octicons-192e5fbb927be7cdb8bdfa0ecb98d3574bd395e58f9d00e5dcdfce5bc9660ac0.woff) format("woff"), url(/assets/octicons/octicons/octicons-1b8fabf8a76f5d60ef9999b3fcf5e06b9f563148d6215465df8952fdbb9aa3ec.ttf) format("truetype"), url(/assets/octicons/octicons/octicons-7f0c4ab57d5e4fce26440514dd399d7e5c356485584baf201b4ac751055b6e32.svg#octicons) format("svg");
+ font-weight: normal;
+ font-style: normal;
+}
+.octicon {
+ font: normal normal 16px octicons;
+ line-height: 1;
+ display: inline-block;
+ text-decoration: none;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+}
+.mega-octicon {
+ font: normal normal 32px octicons;
+ line-height: 1;
+ display: inline-block;
+ text-decoration: none;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+}
+.octicon-alert:before {
+ content: '\f02d'}
+.octicon-alignment-align:before {
+ content: '\f08a'}
+.octicon-alignment-aligned-to:before {
+ content: '\f08e'}
+.octicon-alignment-unalign:before {
+ content: '\f08b'}
+.octicon-arrow-down:before {
+ content: '\f03f'}
+.octicon-arrow-left:before {
+ content: '\f040'}
+.octicon-arrow-right:before {
+ content: '\f03e'}
+.octicon-arrow-small-down:before {
+ content: '\f0a0'}
+.octicon-arrow-small-left:before {
+ content: '\f0a1'}
+.octicon-arrow-small-right:before {
+ content: '\f071'}
+.octicon-arrow-small-up:before {
+ content: '\f09f'}
+.octicon-arrow-up:before {
+ content: '\f03d'}
+.octicon-beer:before {
+ content: '\f069'}
+.octicon-book:before {
+ content: '\f007'}
+.octicon-bookmark:before {
+ content: '\f07b'}
+.octicon-briefcase:before {
+ content: '\f0d3'}
+.octicon-broadcast:before {
+ content: '\f048'}
+.octicon-browser:before {
+ content: '\f0c5'}
+.octicon-bug:before {
+ content: '\f091'}
+.octicon-calendar:before {
+ content: '\f068'}
+.octicon-check:before {
+ content: '\f03a'}
+.octicon-checklist:before {
+ content: '\f076'}
+.octicon-chevron-down:before {
+ content: '\f0a3'}
+.octicon-chevron-left:before {
+ content: '\f0a4'}
+.octicon-chevron-right:before {
+ content: '\f078'}
+.octicon-chevron-up:before {
+ content: '\f0a2'}
+.octicon-circle-slash:before {
+ content: '\f084'}
+.octicon-circuit-board:before {
+ content: '\f0d6'}
+.octicon-clippy:before {
+ content: '\f035'}
+.octicon-clock:before {
+ content: '\f046'}
+.octicon-cloud-download:before {
+ content: '\f00b'}
+.octicon-cloud-upload:before {
+ content: '\f00c'}
+.octicon-code:before {
+ content: '\f05f'}
+.octicon-color-mode:before {
+ content: '\f065'}
+.octicon-comment-add:before, .octicon-comment:before {
+ content: '\f02b'}
+.octicon-comment-discussion:before {
+ content: '\f04f'}
+.octicon-credit-card:before {
+ content: '\f045'}
+.octicon-dash:before {
+ content: '\f0ca'}
+.octicon-dashboard:before {
+ content: '\f07d'}
+.octicon-database:before {
+ content: '\f096'}
+.octicon-device-camera:before {
+ content: '\f056'}
+.octicon-device-camera-video:before {
+ content: '\f057'}
+.octicon-device-desktop:before {
+ content: '\f27c'}
+.octicon-device-mobile:before {
+ content: '\f038'}
+.octicon-diff:before {
+ content: '\f04d'}
+.octicon-diff-added:before {
+ content: '\f06b'}
+.octicon-diff-ignored:before {
+ content: '\f099'}
+.octicon-diff-modified:before {
+ content: '\f06d'}
+.octicon-diff-removed:before {
+ content: '\f06c'}
+.octicon-diff-renamed:before {
+ content: '\f06e'}
+.octicon-ellipsis:before {
+ content: '\f09a'}
+.octicon-eye-unwatch:before, .octicon-eye-watch:before, .octicon-eye:before {
+ content: '\f04e'}
+.octicon-file-binary:before {
+ content: '\f094'}
+.octicon-file-code:before {
+ content: '\f010'}
+.octicon-file-directory:before {
+ content: '\f016'}
+.octicon-file-media:before {
+ content: '\f012'}
+.octicon-file-pdf:before {
+ content: '\f014'}
+.octicon-file-submodule:before {
+ content: '\f017'}
+.octicon-file-symlink-directory:before {
+ content: '\f0b1'}
+.octicon-file-symlink-file:before {
+ content: '\f0b0'}
+.octicon-file-text:before {
+ content: '\f011'}
+.octicon-file-zip:before {
+ content: '\f013'}
+.octicon-flame:before {
+ content: '\f0d2'}
+.octicon-fold:before {
+ content: '\f0cc'}
+.octicon-gear:before {
+ content: '\f02f'}
+.octicon-gift:before {
+ content: '\f042'}
+.octicon-gist:before {
+ content: '\f00e'}
+.octicon-gist-secret:before {
+ content: '\f08c'}
+.octicon-git-branch-create:before, .octicon-git-branch-delete:before, .octicon-git-branch:before {
+ content: '\f020'}
+.octicon-git-commit:before {
+ content: '\f01f'}
+.octicon-git-compare:before {
+ content: '\f0ac'}
+.octicon-git-merge:before {
+ content: '\f023'}
+.octicon-git-pull-request-abandoned:before, .octicon-git-pull-request:before {
+ content: '\f009'}
+.octicon-globe:before {
+ content: '\f0b6'}
+.octicon-graph:before {
+ content: '\f043'}
+.octicon-heart:before {
+ content: '\2665'}
+.octicon-history:before {
+ content: '\f07e'}
+.octicon-home:before {
+ content: '\f08d'}
+.octicon-horizontal-rule:before {
+ content: '\f070'}
+.octicon-hourglass:before {
+ content: '\f09e'}
+.octicon-hubot:before {
+ content: '\f09d'}
+.octicon-inbox:before {
+ content: '\f0cf'}
+.octicon-info:before {
+ content: '\f059'}
+.octicon-issue-closed:before {
+ content: '\f028'}
+.octicon-issue-opened:before {
+ content: '\f026'}
+.octicon-issue-reopened:before {
+ content: '\f027'}
+.octicon-jersey:before {
+ content: '\f019'}
+.octicon-jump-down:before {
+ content: '\f072'}
+.octicon-jump-left:before {
+ content: '\f0a5'}
+.octicon-jump-right:before {
+ content: '\f0a6'}
+.octicon-jump-up:before {
+ content: '\f073'}
+.octicon-key:before {
+ content: '\f049'}
+.octicon-keyboard:before {
+ content: '\f00d'}
+.octicon-law:before {
+ content: '\f0d8'}
+.octicon-light-bulb:before {
+ content: '\f000'}
+.octicon-link:before {
+ content: '\f05c'}
+.octicon-link-external:before {
+ content: '\f07f'}
+.octicon-list-ordered:before {
+ content: '\f062'}
+.octicon-list-unordered:before {
+ content: '\f061'}
+.octicon-location:before {
+ content: '\f060'}
+.octicon-gist-private:before, .octicon-mirror-private:before, .octicon-git-fork-private:before, .octicon-lock:before {
+ content: '\f06a'}
+.octicon-logo-github:before {
+ content: '\f092'}
+.octicon-mail:before {
+ content: '\f03b'}
+.octicon-mail-read:before {
+ content: '\f03c'}
+.octicon-mail-reply:before {
+ content: '\f051'}
+.octicon-mark-github:before {
+ content: '\f00a'}
+.octicon-markdown:before {
+ content: '\f0c9'}
+.octicon-megaphone:before {
+ content: '\f077'}
+.octicon-mention:before {
+ content: '\f0be'}
+.octicon-microscope:before {
+ content: '\f089'}
+.octicon-milestone:before {
+ content: '\f075'}
+.octicon-mirror-public:before, .octicon-mirror:before {
+ content: '\f024'}
+.octicon-mortar-board:before {
+ content: '\f0d7'}
+.octicon-move-down:before {
+ content: '\f0a8'}
+.octicon-move-left:before {
+ content: '\f074'}
+.octicon-move-right:before {
+ content: '\f0a9'}
+.octicon-move-up:before {
+ content: '\f0a7'}
+.octicon-mute:before {
+ content: '\f080'}
+.octicon-no-newline:before {
+ content: '\f09c'}
+.octicon-octoface:before {
+ content: '\f008'}
+.octicon-organization:before {
+ content: '\f037'}
+.octicon-package:before {
+ content: '\f0c4'}
+.octicon-paintcan:before {
+ content: '\f0d1'}
+.octicon-pencil:before {
+ content: '\f058'}
+.octicon-person-add:before, .octicon-person-follow:before, .octicon-person:before {
+ content: '\f018'}
+.octicon-pin:before {
+ content: '\f041'}
+.octicon-playback-fast-forward:before {
+ content: '\f0bd'}
+.octicon-playback-pause:before {
+ content: '\f0bb'}
+.octicon-playback-play:before {
+ content: '\f0bf'}
+.octicon-playback-rewind:before {
+ content: '\f0bc'}
+.octicon-plug:before {
+ content: '\f0d4'}
+.octicon-repo-create:before, .octicon-gist-new:before, .octicon-file-directory-create:before, .octicon-file-add:before, .octicon-plus:before {
+ content: '\f05d'}
+.octicon-podium:before {
+ content: '\f0af'}
+.octicon-primitive-dot:before {
+ content: '\f052'}
+.octicon-primitive-square:before {
+ content: '\f053'}
+.octicon-pulse:before {
+ content: '\f085'}
+.octicon-puzzle:before {
+ content: '\f0c0'}
+.octicon-question:before {
+ content: '\f02c'}
+.octicon-quote:before {
+ content: '\f063'}
+.octicon-radio-tower:before {
+ content: '\f030'}
+.octicon-repo-delete:before, .octicon-repo:before {
+ content: '\f001'}
+.octicon-repo-clone:before {
+ content: '\f04c'}
+.octicon-repo-force-push:before {
+ content: '\f04a'}
+.octicon-gist-fork:before, .octicon-repo-forked:before {
+ content: '\f002'}
+.octicon-repo-pull:before {
+ content: '\f006'}
+.octicon-repo-push:before {
+ content: '\f005'}
+.octicon-rocket:before {
+ content: '\f033'}
+.octicon-rss:before {
+ content: '\f034'}
+.octicon-ruby:before {
+ content: '\f047'}
+.octicon-screen-full:before {
+ content: '\f066'}
+.octicon-screen-normal:before {
+ content: '\f067'}
+.octicon-search-save:before, .octicon-search:before {
+ content: '\f02e'}
+.octicon-server:before {
+ content: '\f097'}
+.octicon-settings:before {
+ content: '\f07c'}
+.octicon-log-in:before, .octicon-sign-in:before {
+ content: '\f036'}
+.octicon-log-out:before, .octicon-sign-out:before {
+ content: '\f032'}
+.octicon-split:before {
+ content: '\f0c6'}
+.octicon-squirrel:before {
+ content: '\f0b2'}
+.octicon-star-add:before, .octicon-star-delete:before, .octicon-star:before {
+ content: '\f02a'}
+.octicon-steps:before {
+ content: '\f0c7'}
+.octicon-stop:before {
+ content: '\f08f'}
+.octicon-repo-sync:before, .octicon-sync:before {
+ content: '\f087'}
+.octicon-tag-remove:before, .octicon-tag-add:before, .octicon-tag:before {
+ content: '\f015'}
+.octicon-telescope:before {
+ content: '\f088'}
+.octicon-terminal:before {
+ content: '\f0c8'}
+.octicon-three-bars:before {
+ content: '\f05e'}
+.octicon-tools:before {
+ content: '\f031'}
+.octicon-trashcan:before {
+ content: '\f0d0'}
+.octicon-triangle-down:before {
+ content: '\f05b'}
+.octicon-triangle-left:before {
+ content: '\f044'}
+.octicon-triangle-right:before {
+ content: '\f05a'}
+.octicon-triangle-up:before {
+ content: '\f0aa'}
+.octicon-unfold:before {
+ content: '\f039'}
+.octicon-unmute:before {
+ content: '\f0ba'}
+.octicon-versions:before {
+ content: '\f064'}
+.octicon-remove-close:before, .octicon-x:before {
+ content: '\f081'}
+.octicon-zap:before {
+ content: '\26A1'}
+.date_selector {
+ width: 225px;
+ text-align: left;
+ text-decoration: none;
+ z-index: 9;
+ display: none;
+}
+.date_selector .month_nav, .date_selector .year_nav {
+ margin-top: 5px;
+ margin-bottom: 5px;
+ padding: 0;
+ display: block;
+ position: relative;
+ text-align: center;
+ line-height: 20px;
+}
+.date_selector .month_nav {
+ float: left;
+ width: 55%}
+.date_selector .year_nav {
+ float: right;
+ width: 35%}
+.date_selector .date-button {
+ position: absolute;
+ top: 0;
+ width: 18px;
+ height: 18px;
+ padding: 4px;
+ color: #4183c4;
+ font-size: 12px;
+ cursor: pointer;
+ line-height: 12px;
+}
+.date_selector .prev {
+ left: 0;
+}
+.date_selector .next {
+ right: 0;
+}
+.date_selector table {
+ width: 100%;
+ clear: both;
+}
+.date_selector tr {
+ font-size: 0;
+}
+.date_selector th, .date_selector td {
+ width: 32px;
+ height: 32px;
+ line-height: 28px;
+ padding: 0;
+ text-align: center;
+ font-weight: normal;
+ display: inline-block;
+ font-size: 12px;
+ margin-top: -1px;
+ margin-left: -1px;
+}
+.date_selector td {
+ border: 1px solid #ccc;
+ color: #4183c4;
+ background: #fff;
+ cursor: default;
+}
+.date_selector td.today {
+ background: #eee;
+}
+.date_selector td.selected, .date_selector td.selectable_day:hover {
+ background: #4183c4;
+ color: #fff;
+ border-color: #3269a0;
+ z-index: 10;
+ position: relative;
+ cursor: pointer;
+}
+.date_selector td.unselected_month {
+ color: #ccc;
+}
+.jcrop-holder {
+ direction: ltr;
+ text-align: left;
+ -ms-touch-action: none;
+}
+.jcrop-vline, .jcrop-hline {
+ background: #fff url(/assets/spinners/Jcrop-752309673bbd9d9b2ba0bd58d0a7071a2c59c30e2824d85bcd2a3bc0a07ef1f1.gif);
+ font-size: 0;
+ position: absolute;
+}
+.jcrop-vline {
+ height: 100%;
+ width: 1px !important;
+}
+.jcrop-vline.right {
+ right: 0;
+}
+.jcrop-hline {
+ height: 1px !important;
+ width: 100%}
+.jcrop-hline.bottom {
+ bottom: 0;
+}
+.jcrop-tracker {
+ height: 100%;
+ width: 100%;
+ -webkit-tap-highlight-color: transparent;
+ -webkit-touch-callout: none;
+ -webkit-user-select: none;
+}
+.jcrop-handle {
+ background-color: #333;
+ border: 1px #eee solid;
+ width: 7px;
+ height: 7px;
+ font-size: 1px;
+}
+.jcrop-handle.ord-n {
+ left: 50%;
+ margin-left: -4px;
+ margin-top: -4px;
+ top: 0;
+}
+.jcrop-handle.ord-s {
+ bottom: 0;
+ left: 50%;
+ margin-bottom: -4px;
+ margin-left: -4px;
+}
+.jcrop-handle.ord-e {
+ margin-right: -4px;
+ margin-top: -4px;
+ right: 0;
+ top: 50%}
+.jcrop-handle.ord-w {
+ left: 0;
+ margin-left: -4px;
+ margin-top: -4px;
+ top: 50%}
+.jcrop-handle.ord-nw {
+ left: 0;
+ margin-left: -4px;
+ margin-top: -4px;
+ top: 0;
+}
+.jcrop-handle.ord-ne {
+ margin-right: -4px;
+ margin-top: -4px;
+ right: 0;
+ top: 0;
+}
+.jcrop-handle.ord-se {
+ bottom: 0;
+ margin-bottom: -4px;
+ margin-right: -4px;
+ right: 0;
+}
+.jcrop-handle.ord-sw {
+ bottom: 0;
+ left: 0;
+ margin-bottom: -4px;
+ margin-left: -4px;
+}
+.jcrop-dragbar.ord-n, .jcrop-dragbar.ord-s {
+ height: 7px;
+ width: 100%}
+.jcrop-dragbar.ord-e, .jcrop-dragbar.ord-w {
+ height: 100%;
+ width: 7px;
+}
+.jcrop-dragbar.ord-n {
+ margin-top: -4px;
+}
+.jcrop-dragbar.ord-s {
+ bottom: 0;
+ margin-bottom: -4px;
+}
+.jcrop-dragbar.ord-e {
+ margin-right: -4px;
+ right: 0;
+}
+.jcrop-dragbar.ord-w {
+ margin-left: -4px;
+}
+.jcrop-light .jcrop-vline, .jcrop-light .jcrop-hline {
+ background: #fff;
+ filter: alpha(opacity=70) !important;
+ opacity: 0.7 !important;
+}
+.jcrop-light .jcrop-handle {
+ -moz-border-radius: 3px;
+ -webkit-border-radius: 3px;
+ background-color: #000;
+ border-color: #fff;
+ border-radius: 3px;
+}
+.jcrop-dark .jcrop-vline, .jcrop-dark .jcrop-hline {
+ background: #000;
+ filter: alpha(opacity=70) !important;
+ opacity: 0.7 !important;
+}
+.jcrop-dark .jcrop-handle {
+ -moz-border-radius: 3px;
+ -webkit-border-radius: 3px;
+ background-color: #fff;
+ border-color: #000;
+ border-radius: 3px;
+}
+.jcrop-holder img, img.jcrop-preview {
+ max-width: none;
+}
+.code-frequency .addition {
+ fill-opacity: 1;
+ fill: #6cc644;
+}
+.code-frequency .deletion {
+ fill-opacity: 1;
+ fill: #bd2c00;
+}
+.cadd {
+ font-weight: bold;
+ color: #6cc644;
+}
+.cdel {
+ font-weight: bold;
+ color: #bd2c00;
+}
+.commit-activity-graphs .dots {
+ display: none;
+}
+#commit-activity-master {
+ margin-top: 20px;
+}
+.is-graph-loading #commit-activity-master {
+ display: none;
+}
+rect {
+ shape-rendering: crispedges;
+}
+rect.max {
+ fill: #ffc644;
+}
+g.bar {
+ fill: #1db34f;
+}
+g.mini {
+ fill: #f17f49;
+}
+g.active rect {
+ fill: #bd380f;
+}
+circle.focus {
+ fill: #555;
+}
+.dot text {
+ stroke: none;
+ fill: #555;
+}
+.tint-box {
+ border-radius: 6px;
+ background: #f3f3f3;
+ position: relative;
+ margin-bottom: 10px;
+}
+.tint-box.transparent {
+ background: #fff;
+}
+.tint-box .activity {
+ margin-top: 0;
+ padding-top: 100px;
+}
+.contrib-data {
+ margin: 0 0 10px;
+ list-style: none;
+ padding: 0;
+}
+#contributors .capped-card .avatar {
+ float: left;
+ width: 32px;
+ height: 32px;
+ margin-right: 5px;
+}
+#contributors .capped-card h3 {
+ font-weight: normal;
+}
+#contributors .capped-card .ameta {
+ display: block;
+ font-size: 12px;
+ color: #ccc;
+}
+#contributors .capped-card .rank {
+ float: right;
+ color: #999;
+ font-size: 13px;
+}
+#contributors .capped-card .cmt {
+ color: #999;
+}
+#contributors .capped-card path {
+ fill: #f17f49;
+}
+#contributors .capped-card .midlabel {
+ fill: #ccc;
+}
+.d {
+ color: #bd2c00;
+}
+.a {
+ color: #6cc644;
+}
+.axis {
+ fill: #aaa;
+ font-size: 10px;
+}
+.axis line {
+ shape-rendering: crispedges;
+ stroke: #eee;
+}
+.axis path {
+ display: none;
+}
+.axis .zero line {
+ stroke-width: 1.5;
+ stroke: #4183c4;
+ stroke-dasharray: 3 3;
+}
+.graphs .is-graph-loading {
+ min-height: 500px;
+}
+.graphs.wheader h2 {
+ padding: 1px;
+}
+.graphs .area {
+ fill: #1db34f;
+ fill-opacity: 0.5;
+}
+.graphs .path {
+ stroke: #1db34f;
+ stroke-width: 2px;
+ stroke-opacity: 1;
+ fill: none;
+}
+.graphs .dot {
+ fill: #1db34f;
+ stroke: #16873c;
+ stroke-width: 2px;
+}
+.graphs .dot.padded {
+ stroke: #fff;
+ stroke-width: 1px;
+}
+.graphs .dot.padded circle:hover {
+ fill: #4183c4;
+}
+.graphs .d3-tip {
+ fill: #333;
+}
+.graphs .d3-tip text {
+ fill: #fff;
+ font-size: 11px;
+}
+.graphs .dir {
+ font-size: 12px;
+ font-weight: normal;
+ color: #555;
+ line-height: 100%;
+ padding-top: 5px;
+ float: right;
+}
+.graphs .selection rect {
+ fill: #333;
+ fill-opacity: 0.1;
+ stroke: #333;
+ stroke-width: 1px;
+ stroke-opacity: 0.4;
+ shape-rendering: crispedges;
+ stroke-dasharray: 3 3;
+}
+.graph-filter h3 {
+ display: inline-block;
+ margin: 10px 0 0;
+ font-weight: 300;
+ font-size: 24px;
+}
+.graph-filter .info {
+ margin-top: 5px;
+ margin-bottom: 20px;
+ color: #777;
+}
+.graph-filter .select-menu {
+ float: right;
+ margin-top: 13px;
+}
+h2.ghead:after {
+ content: ".";
+ height: 0;
+ display: block;
+ visibility: hidden;
+ clear: both;
+}
+.graph-canvas .activity {
+ text-align: center;
+ width: 400px;
+ margin: 100px auto 0;
+ color: #444;
+ border-radius: 3px;
+ padding: 10px;
+}
+.graph-canvas .error {
+ color: #900;
+ background: #feeaea;
+ padding: 10px;
+ border-radius: 3px;
+}
+.graph-canvas .dots {
+ margin: 0 auto;
+}
+.graph-canvas>.activity {
+ display: none;
+}
+.graph-loading, .graph-error, .graph-empty {
+ display: none;
+}
+.graph-canvas.is-graph-loading>.activity, .graph-canvas.is-graph-empty>.activity {
+ display: block;
+}
+.is-graph-loading .graph-loading, .is-graph-empty .graph-empty, .is-graph-load-error .graph-error {
+ display: block;
+}
+.svg-tip {
+ padding: 10px;
+ background: rgba(0, 0, 0, 0.8);
+ color: #bbb;
+ font-size: 12px;
+ position: absolute;
+ z-index: 99999;
+ text-align: center;
+ border-radius: 3px;
+}
+.svg-tip strong {
+ color: #ddd;
+}
+.svg-tip.is-visible {
+ display: block;
+}
+.svg-tip:after {
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+ position: absolute;
+ left: 50%;
+ height: 5px;
+ width: 5px;
+ bottom: -10px;
+ margin: 0 0 0 -5px;
+ content: " ";
+ border: 5px solid transparent;
+ border-top-color: rgba(0, 0, 0, 0.8);
+}
+.svg-tip.comparison {
+ text-align: left;
+ pointer-events: none;
+ padding: 0;
+}
+.svg-tip.comparison .title {
+ display: block;
+ padding: 10px;
+ margin: 0;
+ line-height: 1;
+ font-weight: bold;
+ pointer-events: none;
+}
+.svg-tip.comparison ul {
+ list-style: none;
+ margin: 0;
+ white-space: nowrap;
+}
+.svg-tip.comparison li {
+ display: inline-block;
+ padding: 10px;
+}
+.svg-tip.comparison li:first-child {
+ border-top: 3px solid #1db34f;
+ border-right: 1px solid #333;
+}
+.svg-tip.comparison li:last-child {
+ border-top: 3px solid #1d7fb3;
+}
+.svg-tip-one-line {
+ white-space: nowrap;
+}
+.day-name {
+ fill: #555;
+}
+circle.day {
+ stroke-width: 0;
+ fill: #444;
+}
+circle.day:hover {
+ fill: #4183c4;
+}
+line.axis {
+ stroke-width: 1;
+ stroke: #eee;
+ shape-rendering: crispedges;
+}
+line.axis.even {
+ stroke: #e0e0e0;
+}
+.traffic-graph {
+ min-height: 150px;
+}
+.traffic-graph .activity {
+ margin-top: 0;
+}
+.traffic-graph .activity .dots {
+ margin-top: 40px;
+}
+.traffic-graph .path {
+ fill: none;
+ stroke-width: 2;
+}
+.traffic-graph path.total {
+ stroke: #1db34f;
+}
+.traffic-graph path.unique {
+ stroke: #1d7fb3;
+}
+.traffic-graph .x.axis .tick:first-child line {
+ stroke: #1db34f;
+ stroke-width: 2px;
+}
+.traffic-graph .y line {
+ stroke: #1db34f;
+}
+.traffic-graph .y.unique line {
+ stroke: #1d7fb3;
+}
+.traffic-graph .overlay {
+ fill-opacity: 0;
+}
+.uniques-graph .x.axis .tick:nth-child(14) line {
+ stroke: #1d7fb3;
+ stroke-width: 2px;
+}
+.svg-tip .date {
+ color: #fff;
+}
+#top-domains .dots {
+ margin: 167px auto 0;
+ display: block;
+}
+#top-domains .favicon {
+ width: 16px;
+ height: 16px;
+}
+table.capped-list {
+ width: 100%;
+ line-height: 100%}
+table.capped-list th {
+ text-align: left;
+ padding: 8px;
+ border-bottom: 1px solid #ddd;
+ background: #f4f4f4;
+}
+table.capped-list td {
+ padding: 8px;
+ border-bottom: 1px solid #eee;
+ font-size: 12px;
+}
+table.capped-list th.middle, table.capped-list td.middle {
+ text-align: center;
+}
+table.capped-list .favicon {
+ width: 16px;
+ height: 16px;
+ vertical-align: middle;
+ margin: 0 5px;
+}
+table.capped-list .octicon {
+ margin-right: 10px;
+ vertical-align: -1px;
+ color: #555;
+}
+table.capped-list tr:nth-child(even) {
+ background-color: #fcfcfc;
+}
+table.capped-list.mini-icons .mini-icon {
+ margin-right: 5px;
+ color: #555;
+}
+.capped-list-label {
+ overflow: hidden;
+ white-space: nowrap;
+ max-width: 200px;
+ text-overflow: ellipsis;
+}
+.traffic-graph-stats {
+ border-top: 1px solid #ddd;
+}
+.traffic-graph-stats .summary-stats {
+ width: 100%}
+.traffic-graph-stats .summary-stats:before {
+ display: table;
+ content: ""}
+.traffic-graph-stats .summary-stats:after {
+ display: table;
+ clear: both;
+ content: ""}
+.traffic-graph-stats .summary-stats li {
+ width: 50%;
+ display: block;
+ float: left;
+ padding-bottom: 10px;
+}
+.totals circle {
+ fill: #1db34f;
+ stroke: #fff;
+ stroke-width: 2;
+}
+.uniques circle {
+ fill: #1d7fb3;
+ stroke: #fff;
+ stroke-width: 2;
+}
+.top-lists .is-loading {
+ text-align: center;
+ margin: 40px;
+}
+ul.web-views li {
+ width: 140px;
+}
+ul.clones li {
+ width: 170px;
+}
+.markdown-body {
+ overflow: hidden;
+ font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif;
+ font-size: 16px;
+ line-height: 1.6;
+ word-wrap: break-word;
+}
+.markdown-body>*:first-child {
+ margin-top: 0 !important;
+}
+.markdown-body>*:last-child {
+ margin-bottom: 0 !important;
+}
+.markdown-body .absent {
+ color: #c00;
+}
+.markdown-body .anchor {
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ left: 0;
+ display: block;
+ padding-right: 6px;
+ padding-left: 30px;
+ margin-left: -30px;
+}
+.markdown-body .anchor:focus {
+ outline: none;
+}
+.markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4, .markdown-body h5, .markdown-body h6 {
+ position: relative;
+ margin-top: 1em;
+ margin-bottom: 16px;
+ font-weight: bold;
+ line-height: 1.4;
+}
+.markdown-body h1 .octicon-link, .markdown-body h2 .octicon-link, .markdown-body h3 .octicon-link, .markdown-body h4 .octicon-link, .markdown-body h5 .octicon-link, .markdown-body h6 .octicon-link {
+ display: none;
+ color: #000;
+ vertical-align: middle;
+}
+.markdown-body h1:hover .anchor, .markdown-body h2:hover .anchor, .markdown-body h3:hover .anchor, .markdown-body h4:hover .anchor, .markdown-body h5:hover .anchor, .markdown-body h6:hover .anchor {
+ padding-left: 8px;
+ margin-left: -30px;
+ line-height: 1;
+ text-decoration: none;
+}
+.markdown-body h1:hover .anchor .octicon-link, .markdown-body h2:hover .anchor .octicon-link, .markdown-body h3:hover .anchor .octicon-link, .markdown-body h4:hover .anchor .octicon-link, .markdown-body h5:hover .anchor .octicon-link, .markdown-body h6:hover .anchor .octicon-link {
+ display: inline-block;
+}
+.markdown-body h1 tt, .markdown-body h1 code, .markdown-body h2 tt, .markdown-body h2 code, .markdown-body h3 tt, .markdown-body h3 code, .markdown-body h4 tt, .markdown-body h4 code, .markdown-body h5 tt, .markdown-body h5 code, .markdown-body h6 tt, .markdown-body h6 code {
+ font-size: inherit;
+}
+.markdown-body h1 {
+ padding-bottom: 0.3em;
+ font-size: 2.25em;
+ line-height: 1.2;
+ border-bottom: 1px solid #eee;
+}
+.markdown-body h2 {
+ padding-bottom: 0.3em;
+ font-size: 1.75em;
+ line-height: 1.225;
+ border-bottom: 1px solid #eee;
+}
+.markdown-body h3 {
+ font-size: 1.5em;
+ line-height: 1.43;
+}
+.markdown-body h4 {
+ font-size: 1.25em;
+}
+.markdown-body h5 {
+ font-size: 1em;
+}
+.markdown-body h6 {
+ font-size: 1em;
+ color: #777;
+}
+.markdown-body p, .markdown-body blockquote, .markdown-body ul, .markdown-body ol, .markdown-body dl, .markdown-body table, .markdown-body pre {
+ margin-top: 0;
+ margin-bottom: 16px;
+}
+.markdown-body hr {
+ height: 4px;
+ padding: 0;
+ margin: 16px 0;
+ background-color: #e7e7e7;
+ border: 0 none;
+}
+.markdown-body ul, .markdown-body ol {
+ padding-left: 2em;
+}
+.markdown-body ul.no-list, .markdown-body ol.no-list {
+ padding: 0;
+ list-style-type: none;
+}
+.markdown-body ul ul, .markdown-body ul ol, .markdown-body ol ol, .markdown-body ol ul {
+ margin-top: 0;
+ margin-bottom: 0;
+}
+.markdown-body li>p {
+ margin-top: 16px;
+}
+.markdown-body dl {
+ padding: 0;
+}
+.markdown-body dl dt {
+ padding: 0;
+ margin-top: 16px;
+ font-size: 1em;
+ font-style: italic;
+ font-weight: bold;
+}
+.markdown-body dl dd {
+ padding: 0 16px;
+ margin-bottom: 16px;
+}
+.markdown-body blockquote {
+ padding: 0 15px;
+ color: #777;
+ border-left: 4px solid #ddd;
+}
+.markdown-body blockquote>:first-child {
+ margin-top: 0;
+}
+.markdown-body blockquote>:last-child {
+ margin-bottom: 0;
+}
+.markdown-body table {
+ display: block;
+ width: 100%;
+ overflow: auto;
+ word-break: normal;
+ word-break: keep-all;
+}
+.markdown-body table th {
+ font-weight: bold;
+}
+.markdown-body table th, .markdown-body table td {
+ padding: 6px 13px;
+ border: 1px solid #ddd;
+}
+.markdown-body table tr {
+ background-color: #fff;
+ border-top: 1px solid #ccc;
+}
+.markdown-body table tr:nth-child(2n) {
+ background-color: #f8f8f8;
+}
+.markdown-body img {
+ max-width: 100%;
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+}
+.markdown-body span.frame {
+ display: block;
+ overflow: hidden;
+}
+.markdown-body span.frame>span {
+ display: block;
+ float: left;
+ width: auto;
+ padding: 7px;
+ margin: 13px 0 0;
+ overflow: hidden;
+ border: 1px solid #ddd;
+}
+.markdown-body span.frame span img {
+ display: block;
+ float: left;
+}
+.markdown-body span.frame span span {
+ display: block;
+ padding: 5px 0 0;
+ clear: both;
+ color: #333;
+}
+.markdown-body span.align-center {
+ display: block;
+ overflow: hidden;
+ clear: both;
+}
+.markdown-body span.align-center>span {
+ display: block;
+ margin: 13px auto 0;
+ overflow: hidden;
+ text-align: center;
+}
+.markdown-body span.align-center span img {
+ margin: 0 auto;
+ text-align: center;
+}
+.markdown-body span.align-right {
+ display: block;
+ overflow: hidden;
+ clear: both;
+}
+.markdown-body span.align-right>span {
+ display: block;
+ margin: 13px 0 0;
+ overflow: hidden;
+ text-align: right;
+}
+.markdown-body span.align-right span img {
+ margin: 0;
+ text-align: right;
+}
+.markdown-body span.float-left {
+ display: block;
+ float: left;
+ margin-right: 13px;
+ overflow: hidden;
+}
+.markdown-body span.float-left span {
+ margin: 13px 0 0;
+}
+.markdown-body span.float-right {
+ display: block;
+ float: right;
+ margin-left: 13px;
+ overflow: hidden;
+}
+.markdown-body span.float-right>span {
+ display: block;
+ margin: 13px auto 0;
+ overflow: hidden;
+ text-align: right;
+}
+.markdown-body code, .markdown-body tt {
+ padding: 0;
+ padding-top: 0.2em;
+ padding-bottom: 0.2em;
+ margin: 0;
+ font-size: 85%;
+ background-color: rgba(0, 0, 0, 0.04);
+ border-radius: 3px;
+}
+.markdown-body code:before, .markdown-body code:after, .markdown-body tt:before, .markdown-body tt:after {
+ letter-spacing: -0.2em;
+ content: "\00a0"}
+.markdown-body code br, .markdown-body tt br {
+ display: none;
+}
+.markdown-body del code {
+ text-decoration: inherit;
+}
+.markdown-body pre>code {
+ padding: 0;
+ margin: 0;
+ font-size: 100%;
+ word-break: normal;
+ white-space: pre;
+ background: transparent;
+ border: 0;
+}
+.markdown-body .highlight {
+ margin-bottom: 16px;
+}
+.markdown-body .highlight pre, .markdown-body pre {
+ padding: 16px;
+ overflow: auto;
+ font-size: 85%;
+ line-height: 1.45;
+ background-color: #f7f7f7;
+ border-radius: 3px;
+}
+.markdown-body .highlight pre {
+ margin-bottom: 0;
+ word-break: normal;
+}
+.markdown-body pre {
+ word-wrap: normal;
+}
+.markdown-body pre code, .markdown-body pre tt {
+ display: inline;
+ max-width: initial;
+ padding: 0;
+ margin: 0;
+ overflow: initial;
+ line-height: inherit;
+ word-wrap: normal;
+ background-color: transparent;
+ border: 0;
+}
+.markdown-body pre code:before, .markdown-body pre code:after, .markdown-body pre tt:before, .markdown-body pre tt:after {
+ content: normal;
+}
+.pl-c {
+ color: #969896;
+}
+.pl-c1, .pl-mdh, .pl-mm, .pl-mp, .pl-mr, .pl-s1 .pl-v, .pl-s3, .pl-sc, .pl-sv {
+ color: #0086b3;
+}
+.pl-e, .pl-en {
+ color: #795da3;
+}
+.pl-s1 .pl-s2, .pl-smi, .pl-smp, .pl-stj, .pl-vo, .pl-vpf {
+ color: #333;
+}
+.pl-ent {
+ color: #63a35c;
+}
+.pl-k, .pl-s, .pl-st {
+ color: #a71d5d;
+}
+.pl-pds, .pl-s1, .pl-s1 .pl-pse .pl-s2, .pl-sr, .pl-sr .pl-cce, .pl-sr .pl-sra, .pl-sr .pl-sre, .pl-src, .pl-v {
+ color: #df5000;
+}
+.pl-id {
+ color: #b52a1d;
+}
+.pl-ii {
+ background-color: #b52a1d;
+ color: #f8f8f8;
+}
+.pl-sr .pl-cce {
+ color: #63a35c;
+ font-weight: bold;
+}
+.pl-ml {
+ color: #693a17;
+}
+.pl-mh, .pl-mh .pl-en, .pl-ms {
+ color: #1d3e81;
+ font-weight: bold;
+}
+.pl-mq {
+ color: #008080;
+}
+.pl-mi {
+ color: #333;
+ font-style: italic;
+}
+.pl-mb {
+ color: #333;
+ font-weight: bold;
+}
+.pl-md, .pl-mdhf {
+ background-color: #ffecec;
+ color: #bd2c00;
+}
+.pl-mdht, .pl-mi1 {
+ background-color: #eaffea;
+ color: #55a532;
+}
+.pl-mdr {
+ color: #795da3;
+ font-weight: bold;
+}
+.pl-mo {
+ color: #1d3e81;
+}
+.ace_gutter {
+ background: #ffffff;
+ color: #999999;
+}
+.ace_print-margin {
+ width: 1px;
+ background: #e8e8e8;
+}
+.ace-github-light {
+ background-color: #ffffff;
+ color: #333333;
+}
+.ace_cursor {
+ color: #000000;
+}
+.ace_marker-layer .ace_selection {
+ background: #c8c8fa;
+}
+.ace_multiselect .ace_selection.ace_start {
+ box-shadow: 0 0 3px 0px #ffffff;
+ border-radius: 2px;
+}
+.ace_marker-layer .ace_step {
+ background: #c6dbae;
+}
+.ace_marker-layer .ace_bracket {
+ margin: -1px 0 0 -1px;
+ border: 1px solid #c0c0c0;
+}
+.ace_marker-layer .ace_active-line {
+ background: #f5f5f5;
+}
+.ace_gutter-active-line {
+ background-color: #f5f5f5;
+}
+.ace_marker-layer .ace_selected-word {
+ border: 1px solid #c8c8fa;
+}
+.ace_fold {
+ background-color: #a71d5d;
+ border-color: #333333;
+}
+.ace_keyword {
+ color: #a71d5d;
+}
+.ace_constant {
+ color: #0086b3;
+}
+.ace_support {
+ color: #0086b3;
+}
+.ace_support.ace_constant {
+ color: #0086b3;
+}
+.ace_support.ace_type {
+ color: #a71d5d;
+}
+.ace_storage {
+ color: #a71d5d;
+}
+.ace_storage.ace_type {
+ color: #a71d5d;
+}
+.ace_invalid.ace_illegal {
+ text-decoration: underline;
+ font-style: italic;
+ color: #f8f8f8;
+ background-color: #b52a1d;
+}
+.ace_invalid.ace_deprecated {
+ text-decoration: underline;
+ font-style: italic;
+ color: #b52a1d;
+}
+.ace_string {
+ color: #df5000;
+}
+.ace_string.ace_regexp {
+ color: #df5000;
+}
+.ace_comment {
+ color: #969896;
+}
+.ace_variable {
+ color: #df5000;
+}
+.ace_entity.ace_name {
+ color: #795da3;
+}
+.ace_entity.ace_name.ace_tag {
+ color: #63a35c;
+}
+.ace_markup.ace_heading {
+ color: #1d3e81;
+}
+.ace_markup.ace_list {
+ color: #693a17;
+}
+.focus-content {
+ width: 620px;
+}
+#site-container>.container:first-child {
+ margin-top: 20px;
+}
+.emoji-icon {
+ display: inline-block;
+ height: 20px;
+ width: 20px;
+ vertical-align: middle;
+ background-repeat: no-repeat;
+ background-size: 20px 20px;
+}
+.avatar {
+ display: inline-block;
+ overflow: hidden;
+ line-height: 1;
+ vertical-align: middle;
+ border-radius: 3px;
+}
+.avatar-small {
+ border-radius: 2px;
+}
+.avatar-link {
+ float: left;
+ line-height: 1;
+}
+.avatar-group-item {
+ display: inline-block;
+ margin-bottom: 3px;
+}
+.avatar-parent-child {
+ position: relative;
+}
+.avatar-child {
+ position: absolute;
+ right: -15%;
+ bottom: -9%;
+ border-radius: 2px;
+ box-shadow: -2px -2px 0 rgba(255, 255, 255, 0.8);
+}
+.state {
+ display: inline-block;
+ padding: 4px 8px;
+ font-weight: bold;
+ line-height: 20px;
+ color: #fff;
+ text-align: center;
+ border-radius: 3px;
+ background-color: #999;
+}
+.state-open, .state-proposed, .state-reopened {
+ background-color: #6cc644;
+}
+.state-merged {
+ background-color: #6e5494;
+}
+.state-closed {
+ background-color: #bd2c00;
+}
+.state-renamed {
+ background-color: #fffa5d;
+}
+.labels {
+ position: relative;
+}
+.label {
+ display: inline-block;
+ padding: 3px 4px;
+ font-size: 11px;
+ font-weight: bold;
+ line-height: 1;
+ color: #fff;
+ border-radius: 2px;
+ box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.12);
+}
+.label:hover {
+ text-decoration: none;
+}
+.label-admin {
+ color: #999;
+ background-color: #eee;
+}
+.label-limited-member {
+ margin-top: -1px;
+ margin-bottom: -1px;
+ color: #999;
+ font-weight: normal;
+ background-color: transparent;
+ border: 1px solid #eee;
+ box-shadow: none;
+}
+.label-neutral {
+ background-color: #999;
+ color: #fff;
+}
+a.label-link {
+ border: 1px solid transparent;
+}
+a.label-link:hover {
+ text-decoration: none;
+}
+.label-membership-pending {
+ background-color: #f93;
+}
+.facebox {
+ position: absolute;
+ top: 0;
+ left: 0;
+ z-index: 100;
+ padding-bottom: 40px;
+}
+.facebox ul {
+ margin-left: 25px;
+ margin-bottom: 15px;
+}
+.facebox .facebox-staff-links {
+ margin: -15px -15px 15px;
+ padding: 10px 15px;
+ background-color: #f5f5f5;
+ border-bottom: 1px solid #e5e5e5;
+}
+.facebox .facebox-staff-links li {
+ display: inline-block;
+ margin-right: 10px;
+ color: #999;
+ list-style: none;
+}
+.facebox .facebox-staff-links a {
+ font-weight: bold;
+}
+.facebox pre {
+ padding: 10px;
+ background-color: #eee;
+ border: 1px solid #ddd;
+ border-radius: 3px;
+}
+.facebox .shortcuts {
+ width: 860px;
+}
+.facebox .facebox-user-list {
+ margin-left: 0;
+ margin-bottom: 0;
+ max-height: 400px;
+ overflow: auto;
+}
+.facebox .lineprofiler {
+ width: 900px;
+}
+.facebox .lineprofiler pre {
+ overflow-x: scroll;
+ white-space: pre;
+ word-wrap: normal;
+}
+.facebox-popup {
+ position: relative;
+ background-color: #fff;
+ border: 1px solid rgba(0, 0, 0, 0.25);
+ border-radius: 5px;
+ box-shadow: 0 0 18px rgba(0, 0, 0, 0.4);
+ background-clip: padding-box;
+}
+.facebox-content {
+ width: 455px;
+ padding: 15px;
+}
+.facebox-content:before {
+ display: table;
+ content: ""}
+.facebox-content:after {
+ display: table;
+ clear: both;
+ content: ""}
+.facebox-close {
+ position: absolute;
+ top: 8px;
+ right: 5px;
+ padding: 10px;
+ -webkit-appearance: none;
+ background-color: transparent;
+ border: 0;
+ opacity: 0.25;
+ cursor: pointer;
+}
+.facebox-close:hover {
+ opacity: 1;
+}
+.facebox-overlay {
+ position: fixed;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%}
+.facebox-overlay-hide {
+ z-index: -100;
+}
+.facebox-overlay-active {
+ z-index: 99;
+ background-color: #000;
+}
+.facebox-loading {
+ min-height: 64px;
+ background-image: url(/assets/spinners/octocat-spinner-64-f4c980250033ceb8052bb542cf947750f8c73ebe69b0b0b66b415b4a40f8bd6e.gif);
+ background-position: center center;
+ background-repeat: no-repeat;
+}
+@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 2dppx) {
+ .facebox-loading {
+ background-image: url(/assets/spinners/octocat-spinner-128-338974454bb5c32803e82f601beb051d373744b024fe8742a76009700fd7e033.gif);
+ background-size: 64px 64px;
+}
+}.facebox-header {
+ margin: -15px -15px 15px;
+ padding: 15px;
+ border-bottom: 1px solid #e5e5e5;
+ font-size: 18px;
+ font-weight: normal;
+}
+.facebox-footer {
+ margin: 0 -15px -15px;
+ padding: 10px 15px;
+ border-top: 1px solid #e5e5e5;
+ border-bottom-right-radius: 5px;
+ border-bottom-left-radius: 5px;
+ background: #fafafa;
+ text-align: right;
+}
+.facebox-footer .help {
+ margin: 0;
+ text-align: center;
+ color: #777;
+}
+.facebox-alert, .facebox-danger {
+ margin: -16px -15px 15px;
+ padding: 10px 15px;
+ border-style: solid;
+ border-width: 1px 0;
+}
+.facebox-alert {
+ color: #796620;
+ background-color: #f8eec7;
+ border-color: #f2e09a;
+}
+.facebox-danger {
+ padding-left: 40px;
+ color: #9c342e;
+ background-color: #f7d9d7;
+ border-color: #f2c4c2;
+}
+.facebox-danger .octicon {
+ float: left;
+ margin-left: -25px;
+}
+.facebox-separator {
+ margin: 20px -15px;
+}
+.facebox-staff-search .hfields {
+ margin-top: 0;
+ margin-bottom: 0;
+}
+.facebox-staff-search .hfields input[type="text"] {
+ width: 340px;
+ margin-right: 0;
+}
+.facebox-staff-search .hfields .button {
+ margin-top: 29px;
+ margin-right: 0;
+}
+.facebox-staff-search .status-check-list {
+ float: none;
+ margin: 15px 0 0;
+}
+#facebox .billing-credit-cards {
+ margin: 0 0 15px;
+}
+#facebox .billing-credit-cards li {
+ margin: 0 4px 0 0;
+}
+.keyboard-shortcuts {
+ float: right;
+ font-size: 11px;
+ color: #999;
+}
+.keyboard-shortcuts .mini-icon {
+ position: relative;
+ top: 2px;
+ margin-left: 5px;
+}
+.keyboard-mappings {
+ font-size: 12px;
+ color: #555;
+}
+.keyboard-mappings th {
+ padding-top: 25px;
+ font-size: 14px;
+ line-height: 1.5;
+ color: #333;
+ text-align: left;
+}
+.keyboard-mappings tbody:first-child tr:first-child th {
+ padding-top: 0;
+}
+.keyboard-mappings td {
+ padding-top: 3px;
+ padding-bottom: 3px;
+ vertical-align: top;
+ line-height: 20px;
+}
+.keyboard-mappings .keys {
+ padding-right: 10px;
+ color: #999;
+ text-align: right;
+ white-space: nowrap;
+}
+.keyboard-mappings .platform-mac {
+ display: none;
+}
+.macintosh .keyboard-mappings .platform-mac {
+ display: inline;
+}
+.macintosh .keyboard-mappings .platform-other {
+ display: none;
+}
+.facebox-user-list-item {
+ padding: 3px 0;
+ list-style: none;
+ font-weight: bold;
+ vertical-align: middle;
+}
+.facebox-user-list-item a {
+ color: #000;
+}
+.facebox-user-list-item img {
+ margin-right: 5px;
+ border-radius: 3px;
+ vertical-align: middle;
+}
+.linejump .linejump-input {
+ width: 340px;
+ background-color: #fafafa;
+}
+.linejump .linejump-input, .linejump .button {
+ font-size: 16px;
+ padding: 10px 15px;
+}
+.linejump+.facebox-close {
+ top: 18px;
+}
+.repo-transfer-tip {
+ margin-bottom: 0;
+}
+.user-mention, .team-mention {
+ font-weight: bold;
+ color: #333;
+ white-space: nowrap;
+}
+.muted-link {
+ color: #777;
+}
+.muted-link:hover {
+ color: #4183c4;
+ text-decoration: none;
+}
+dl.form>dd input[type="text"].is-autocheck-loading, dl.form>dd input[type="password"].is-autocheck-loading, dl.form>dd input[type="email"].is-autocheck-loading {
+ background-image: url(/assets/spinners/octocat-spinner-32-e513294efa576953719e4e2de888dd9cf929b7d62ed8d05f25e731d02452ab6c.gif);
+ background-size: 16px;
+}
+dl.form>dd input[type="text"].is-autocheck-successful, dl.form>dd input[type="password"].is-autocheck-successful, dl.form>dd input[type="email"].is-autocheck-successful {
+ background-image: url(/assets/modules/ajax/success-d52b10be0dd106e2af0082f20d3567b3b4ca1a01588fe8784559581d174b9cfd.png);
+}
+dl.form>dd input[type="text"].is-autocheck-errored, dl.form>dd input[type="password"].is-autocheck-errored, dl.form>dd input[type="email"].is-autocheck-errored {
+ background-image: url(/assets/modules/ajax/error-5be259755184ed4fca9b2999079396864dfda1f514c4a58c800c36d148d2f6ab.png);
+}
+.form-cards {
+ height: 31px;
+ margin: 0 0 15px;
+}
+.form-cards .card {
+ float: left;
+ width: 47px;
+ height: 31px;
+ text-indent: -9999px;
+ background-image: url(/assets/modules/pricing/credit-cards-@1x-a2d43def9fd8ef56b0ff933150fbb82e05cc3c64f0e1c9b3282fa29eff6659f9.png);
+ background-position: 0 0;
+ opacity: 0.6;
+}
+.form-cards .card.visa {
+ background-position: 0 0;
+}
+.form-cards .card.amex {
+ background-position: -50px 0;
+}
+.form-cards .card.mastercard {
+ background-position: -100px 0;
+}
+.form-cards .card.discover {
+ background-position: -150px 0;
+}
+.form-cards .card.jcb {
+ background-position: -200px 0;
+}
+.form-cards .card.dinersclub {
+ background-position: -250px 0;
+}
+.form-cards .card.enabled {
+ opacity: 1;
+}
+.form-cards .card.disabled {
+ opacity: 0.2;
+}
+.form-cards>.cards {
+ margin: 0;
+}
+.form-cards>.cards>li {
+ float: left;
+ margin: 0 4px 0 0;
+ list-style-type: none;
+}
+.form-cards>.cards>li.text {
+ font-size: 11px;
+ line-height: 31px;
+ color: #999;
+}
+@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 2dppx) {
+ .form-cards>.cards .card {
+ background-image: url(/assets/modules/pricing/credit-cards-@2x-04ddcb8fd3b4dd231fabd04a4b8098b8110035b0372cc0e0974b05b8fdb897ce.png);
+ background-size: 300px 31px;
+}
+}.status-indicator-loading {
+ position: relative;
+ top: 3px;
+ width: 16px;
+ height: 16px;
+ margin-top: -4px;
+ background: url(/assets/spinners/octocat-spinner-32-EAF2F5-0bdc57d34b85c4a4de9d0d1db10cd70e8a95f33ff4f46c5a8c48b4bf4e5a9abe.gif) 0 0 no-repeat;
+ background-size: 16px;
+}
+.callout {
+ padding: 10px;
+ margin: 15px 0;
+ font-size: 13px;
+ color: #4c4a42;
+ background-color: #fff9ea;
+ border-color: #dfd8c2;
+ border-radius: 3px;
+}
+.callout strong {
+ font-weight: bold;
+ color: #000;
+}
+.callout h2 {
+ margin: 0;
+ font-size: 16px;
+ font-weight: 300;
+}
+.callout p:last-child {
+ margin-bottom: 0;
+}
+.callout p:first-child {
+ margin-top: 0;
+}
+.callout hr {
+ width: 100%;
+ padding: 0 10px;
+ margin: 10px 0 10px -10px;
+ background: transparent;
+ border-top: 1px solid #e5e2c8;
+ border-bottom: 1px solid #fff;
+}
+.infotip {
+ padding: 10px;
+ margin: 15px 0;
+ font-size: 12px;
+ color: #4c4a42;
+ background-color: #fff9ea;
+ border: 1px solid #dfd8c2;
+ border-radius: 3px;
+}
+.infotip p {
+ margin: 0;
+}
+.infotip p+p {
+ margin-top: 15px;
+}
+.dashboard-notice {
+ position: relative;
+ padding: 15px 15px 15px 55px;
+ margin-bottom: 20px;
+ font-size: 14px;
+ background-color: #fafafa;
+ border: solid 1px #d8d8d8;
+ border-radius: 3px;
+}
+.dashboard-notice .dismiss {
+ position: absolute;
+ top: 10px;
+ right: 10px;
+ width: 16px;
+ height: 16px;
+ color: #bbb;
+ cursor: pointer;
+}
+.dashboard-notice .dismiss:hover {
+ color: #666;
+}
+.dashboard-notice .mega-octicon {
+ position: absolute;
+ top: 15px;
+ left: 15px;
+}
+.dashboard-notice .octicon-organization {
+ color: #4183c4;
+}
+.dashboard-notice h2 {
+ margin-top: 9px;
+ margin-bottom: 16px;
+ font-size: 18px;
+ font-weight: normal;
+ color: #000;
+}
+.dashboard-notice p {
+ margin-top: 0;
+}
+.dashboard-notice p.no-title {
+ padding-right: 5px;
+ margin-top: 0;
+}
+.dashboard-notice .inset-figure {
+ float: right;
+ margin-bottom: 15px;
+ margin-left: 20px;
+}
+.dashboard-notice ul {
+ margin-left: 18px;
+}
+.dashboard-notice li {
+ padding-bottom: 15px;
+}
+.dashboard-notice .coupon {
+ padding: 10px;
+ margin: 15px 0;
+ font-size: 20px;
+ font-weight: bold;
+ text-align: center;
+ background: #fff;
+ border: 1px dashed #d1e5ff;
+}
+kbd {
+ background-color: #e7e7e7;
+ background-image: -webkit-linear-gradient(#fefefe, #e7e7e7);
+ background-image: linear-gradient(#fefefe, #e7e7e7);
+ background-repeat: repeat-x;
+ display: inline-block;
+ padding: 3px 5px;
+ font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;
+ line-height: 10px;
+ color: #000;
+ border: 1px solid #cfcfcf;
+ border-radius: 2px;
+}
+.kbd-dark {
+ color: #eee;
+ background-color: #222;
+ background-image: none;
+ border: 0;
+}
+.badmono {
+ font-family: sans-serif;
+ font-weight: bold;
+}
+.select-menu-button:after {
+ display: inline-block;
+ width: 0;
+ height: 0;
+ content: "";
+ vertical-align: -2px;
+ border: 4px solid;
+ border-right-color: transparent;
+ border-left-color: transparent;
+ border-bottom-color: transparent;
+}
+.select-menu-button.icon-only {
+ padding-left: 7px;
+}
+.select-menu-button.primary:after {
+ border-top-color: #fff;
+}
+.select-menu-button.primary:after:active {
+ background-color: #4a993e;
+}
+.select-menu .spinner {
+ float: left;
+ margin: 4px 0 0 -24px;
+}
+.select-menu.active .select-menu-modal-holder {
+ display: block;
+}
+.select-menu.right-aligned {
+ float: right;
+ position: relative;
+}
+.select-menu.right-aligned .select-menu-modal-holder {
+ right: 0;
+}
+.select-menu.is-showing-clear-item .select-menu-clear-item {
+ display: block;
+}
+.select-menu.is-showing-clear-item .select-menu-clear-item .octicon {
+ color: inherit;
+}
+.select-menu.is-showing-clear-item .select-menu-clear-item+.select-menu-no-results {
+ display: none;
+}
+.select-menu.is-loading .select-menu-loading-overlay {
+ display: block;
+}
+.select-menu.is-loading .select-menu-modal {
+ min-height: 200px;
+}
+.select-menu-loading-overlay {
+ display: none;
+ text-indent: 100%;
+ height: 100%;
+ width: 100%;
+ position: absolute;
+ top: 0;
+ z-index: 5;
+ border-radius: 5px;
+ border: 1px solid transparent;
+ background-color: rgba(255, 255, 255, 0.8);
+ -webkit-animation: pulse 2s infinite linear;
+ animation: pulse 2s infinite linear;
+}
+.select-menu-loading-overlay:before {
+ position: absolute;
+ left: 50%;
+ top: 50%;
+ margin: -16px 0 0 -16px;
+ width: 32px;
+ content: "\f008";
+ font: normal normal 32px/1 "octicons";
+ display: inline-block;
+ text-decoration: none;
+ -webkit-font-smoothing: antialiased;
+ text-indent: 0;
+}
+@-webkit-keyframes pulse {
+ 0% {
+ color: rgba(170, 170, 170, 0.1);
+}
+10% {
+ color: #aaaaaa;
+}
+100% {
+ color: rgba(170, 170, 170, 0.1);
+}
+}@keyframes pulse {
+ 0% {
+ color: rgba(170, 170, 170, 0.1);
+}
+10% {
+ color: #aaaaaa;
+}
+100% {
+ color: rgba(170, 170, 170, 0.1);
+}
+}.select-menu-modal-holder {
+ position: absolute;
+ display: none;
+ z-index: 21;
+}
+.select-menu-modal {
+ position: relative;
+ width: 300px;
+ margin-top: 4px;
+ margin-bottom: 20px;
+ overflow: hidden;
+ font-size: 12px;
+ color: #666;
+ background-color: #fff;
+ background-clip: padding-box;
+ border: 1px solid rgba(200, 200, 200, 0.4);
+ border-radius: 3px;
+ box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
+}
+.select-menu-header {
+ padding: 8px 10px;
+ background: #f5f5f5;
+ border-bottom: 1px solid rgba(200, 200, 200, 0.4);
+}
+.select-menu-header .select-menu-title {
+ font-weight: bold;
+ color: #333;
+ text-shadow: 0 1px 0 #fff;
+}
+.select-menu-header .octicon {
+ display: block;
+ float: right;
+ color: #ccc;
+ cursor: pointer;
+}
+.select-menu-header .octicon:hover {
+ color: #555;
+}
+.select-menu-filters {
+ background-color: #f8f8f8;
+}
+.select-menu-text-filter {
+ padding: 10px 10px 0;
+}
+.select-menu-text-filter:first-child:last-child {
+ padding-bottom: 10px;
+ border-bottom: 1px solid #ddd;
+}
+.select-menu-text-filter input {
+ display: block;
+ width: 100%;
+ max-width: 100%;
+ padding: 5px;
+ border: 1px solid #ddd;
+ border-radius: 3px;
+}
+.select-menu-text-filter input::-webkit-input-placeholder, .select-menu-text-filter input:-moz-placeholder {
+ color: #aaa;
+}
+.select-menu-tabs {
+ height: 33px;
+ border-bottom: 1px solid #ddd;
+}
+.select-menu-tabs ul {
+ overflow: hidden;
+ padding: 14px 10px 0;
+}
+.select-menu-tabs .select-menu-tab {
+ display: inline-block;
+}
+.select-menu-tabs a {
+ height: 20px;
+ padding: 5px 8px;
+ font-size: 11px;
+ font-weight: bold;
+ color: #888;
+ text-decoration: none;
+ line-height: 20px;
+ border-radius: 3px 3px 0 0;
+ cursor: pointer;
+}
+.select-menu-tabs a:hover {
+ color: #333;
+}
+.select-menu-tabs a.selected {
+ padding: 4px 5px;
+ border: 1px solid #ddd;
+ border-bottom: 1px solid #fff;
+ background-color: #fff;
+ color: #333;
+}
+.select-menu-list {
+ max-height: 400px;
+ overflow: auto;
+ position: relative;
+}
+.select-menu-list.select-menu-tab-bucket {
+ display: none;
+}
+.select-menu-list.select-menu-tab-bucket.selected {
+ display: block;
+}
+.select-menu-list.is-showing-new-item-form .select-menu-new-item-form {
+ display: table;
+}
+.select-menu-list.is-showing-new-item-form .select-menu-no-results, .select-menu-list.is-showing-new-item-form .select-menu-clear-item {
+ display: none;
+}
+.select-menu-item {
+ cursor: pointer;
+ border-bottom: 1px solid #eee;
+ display: table;
+ table-layout: fixed;
+ width: 100%;
+ overflow: hidden;
+ color: inherit;
+}
+.select-menu-item:hover {
+ text-decoration: none;
+}
+.select-menu-item.select-menu-item-template {
+ display: none;
+}
+.select-menu-item.select-menu-clear-item {
+ display: none;
+}
+.select-menu-item.disabled, .select-menu-item.disabled.selected {
+ color: #999;
+}
+.select-menu-item.disabled .select-menu-item-gravatar, .select-menu-item.disabled.selected .select-menu-item-gravatar {
+ opacity: 0.5;
+}
+.select-menu-item .octicon {
+ vertical-align: middle;
+}
+.select-menu-item .octicon-check {
+ visibility: hidden;
+}
+.select-menu-item input[type="radio"] {
+ display: none;
+}
+.select-menu-item .select-menu-item-icon {
+ display: table-cell;
+ color: transparent;
+ vertical-align: top;
+ padding: 8px 0 8px 8px;
+ width: 24px;
+ text-align: center;
+}
+.select-menu-item.navigation-focus, .select-menu-item.navigation-focus.selected, .select-menu-item.navigation-focus.select-menu-action, .select-menu-item.navigation-focus .description-inline {
+ background-color: #4183c4;
+ color: #fff;
+}
+.select-menu-item.navigation-focus>.octicon, .select-menu-item.navigation-focus.selected>.octicon, .select-menu-item.navigation-focus.select-menu-action>.octicon, .select-menu-item.navigation-focus .description-inline>.octicon {
+ color: #fff;
+}
+.select-menu-item.navigation-focus .text-danger, .select-menu-item.navigation-focus .description, .select-menu-item.navigation-focus.selected .text-danger, .select-menu-item.navigation-focus.selected .description, .select-menu-item.navigation-focus.select-menu-action .text-danger, .select-menu-item.navigation-focus.select-menu-action .description, .select-menu-item.navigation-focus .description-inline .text-danger, .select-menu-item.navigation-focus .description-inline .description {
+ color: #fff;
+}
+.select-menu-item>.octicon-dash {
+ display: none;
+}
+.select-menu-item.indeterminate>.octicon-check {
+ display: none;
+}
+.select-menu-item.indeterminate>.octicon-dash {
+ display: table-cell;
+}
+.select-menu-item.select-menu-action, .select-menu-item.selected {
+ color: #333;
+}
+.select-menu-item.select-menu-action .description, .select-menu-item.selected .description {
+ color: #666;
+}
+.select-menu-item.select-menu-action .octicon-check, .select-menu-item.selected .octicon-check {
+ visibility: visible;
+}
+.select-menu-item.select-menu-action>.octicon, .select-menu-item.selected>.octicon {
+ color: #333;
+}
+.select-menu-item.select-menu-action .select-menu-item-text {
+ font-weight: bold;
+}
+.select-menu[data-multiple] .select-menu-item:active {
+ background-color: transparent !important;
+}
+.select-menu-item a {
+ color: inherit;
+ text-decoration: none;
+}
+.select-menu-item .hidden-select-button-text {
+ display: none;
+}
+.select-menu-item .css-truncate-target {
+ display: table-cell;
+ max-width: 100%}
+form.select-menu-item>div:first-child {
+ display: none !important;
+}
+.select-menu-item.last-visible, .select-menu-list:last-child .select-menu-item:last-child {
+ border-bottom: 0;
+ border-radius: 0 0 3px 3px;
+}
+.select-menu-actions .select-menu-item:hover {
+ background-color: #4183c4;
+ color: #fff;
+}
+.select-menu-actions .select-menu-item:hover>.octicon {
+ color: #fff;
+}
+.select-menu-actions .select-menu-item:hover .description {
+ color: #fff;
+}
+.select-menu-no-results {
+ padding: 9px;
+ display: none;
+ cursor: auto;
+ color: #999;
+}
+.select-menu-list.filterable-empty .select-menu-no-results, .select-menu-no-results:only-child {
+ display: block;
+}
+.select-menu-button-gravatar, .select-menu-item-gravatar {
+ overflow: hidden;
+ line-height: 0;
+ width: 20px;
+}
+.select-menu-button-gravatar img, .select-menu-item-gravatar img {
+ height: 20px;
+ width: 20px;
+ display: inline-block;
+ border-radius: 3px;
+}
+.select-menu-item-gravatar {
+ display: table-cell;
+ padding: 6px 0 6px 8px;
+ vertical-align: top;
+ width: 28px;
+}
+.select-menu-button-gravatar {
+ display: inline-block;
+ margin: 6px 3px 6px 0;
+ margin-right: 5px;
+ vertical-align: middle;
+}
+.select-menu-item-text {
+ display: table-cell;
+ vertical-align: top;
+ padding: 8px 0 8px 8px;
+ text-align: left;
+}
+.select-menu-item-text:first-child {
+ margin-left: 5px;
+}
+.select-menu-item-text .description {
+ color: #999;
+ font-size: 12px;
+ max-width: 265px;
+ display: block;
+ margin-top: 3px;
+}
+.select-menu-item-text .description-inline {
+ color: #999;
+ font-size: 10px;
+}
+.select-menu-item-text h4 {
+ margin-top: 0;
+ margin-bottom: 0;
+}
+.select-menu-item-text h4 .description {
+ font-weight: normal;
+ display: inline;
+}
+.select-menu-footer {
+ padding: 8px;
+ font-weight: bold;
+ border-top: 1px solid #eee;
+}
+.select-menu-footer a {
+ display: inline-block;
+ margin-top: 1px;
+ vertical-align: top;
+}
+.select-menu-footer .octicon {
+ color: #666;
+}
+.select-menu-new-item-form {
+ display: none;
+}
+.select-menu-new-item-form .octicon {
+ color: #4183c4;
+}
+.modal-backdrop {
+ display: none;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+}
+body.menu-active .modal-backdrop {
+ display: block;
+ position: fixed;
+ top: 0;
+ left: 0;
+ height: 100%;
+ width: 100%;
+ z-index: 20;
+}
+.dropdown {
+ position: relative;
+}
+.dropdown-caret {
+ display: inline-block;
+ width: 0;
+ height: 0;
+ content: "";
+ vertical-align: -2px;
+ border: 4px solid;
+ border-right-color: transparent;
+ border-left-color: transparent;
+ border-bottom-color: transparent;
+}
+.dropdown-menu {
+ position: absolute;
+ top: 100%;
+ left: 50%;
+ z-index: 100;
+ width: 160px;
+ margin-top: 2px;
+ margin-left: -80px;
+ padding-top: 5px;
+ padding-bottom: 5px;
+ list-style: none;
+ background-color: #fff;
+ background-clip: padding-box;
+ border: 1px solid rgba(0, 0, 0, 0.15);
+ border-radius: 4px;
+ box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
+}
+.dropdown-menu:before {
+ position: absolute;
+ top: -16px;
+ left: 72px;
+ display: inline-block;
+ content: "";
+ border: 8px solid transparent;
+ border-bottom-color: #ccc;
+ border-bottom-color: rgba(0, 0, 0, 0.15);
+}
+.dropdown-menu:after {
+ position: absolute;
+ top: -14px;
+ left: 73px;
+ display: inline-block;
+ content: "";
+ border: 7px solid transparent;
+ border-bottom-color: #fff;
+}
+.dropdown-menu>li>a {
+ display: block;
+ padding: 4px 10px 4px 38px;
+ color: #333;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+.dropdown-menu>li>a>.octicon {
+ float: left;
+ margin-top: 1px;
+ margin-left: -23px;
+ opacity: 0.5;
+}
+.dropdown-menu>li>a:hover, .dropdown-menu>li>a.zeroclipboard-is-hover {
+ color: #fff;
+ text-decoration: none;
+ background-color: #4183c4;
+}
+.dropdown-menu>li>a:hover>.octicon, .dropdown-menu>li>a.zeroclipboard-is-hover>.octicon {
+ color: inherit;
+ opacity: 1;
+}
+.dropdown-divider {
+ height: 1px;
+ margin: 8px 1px;
+ background-color: #e5e5e5;
+}
+.dropdown-header {
+ padding: 4px 15px;
+ font-size: 12px;
+ color: #999;
+}
+.dropdown-menu-content {
+ display: none;
+}
+.dropdown-menu-w {
+ top: 0;
+ left: auto;
+ right: 100%;
+ width: auto;
+ margin-top: 0;
+ margin-left: 0;
+ margin-right: 10px;
+}
+.dropdown-menu-w:before {
+ top: 10px;
+ right: -16px;
+ left: auto;
+ border-color: transparent;
+ border-left-color: #ccc;
+ border-left-color: rgba(0, 0, 0, 0.15);
+}
+.dropdown-menu-w:after {
+ top: 11px;
+ right: -14px;
+ left: auto;
+ border-color: transparent;
+ border-left-color: #fff;
+}
+.dropdown-menu-e {
+ top: 0;
+ left: 100%;
+ width: auto;
+ margin-top: 0;
+ margin-left: 10px;
+}
+.dropdown-menu-e:before {
+ top: 10px;
+ left: -16px;
+ border-color: transparent;
+ border-right-color: #ccc;
+ border-right-color: rgba(0, 0, 0, 0.15);
+}
+.dropdown-menu-e:after {
+ top: 11px;
+ left: -14px;
+ border-color: transparent;
+ border-right-color: #fff;
+}
+include-fragment, poll-include-fragment {
+ display: block;
+}
+.pagination:before {
+ display: table;
+ content: ""}
+.pagination:after {
+ display: table;
+ clear: both;
+ content: ""}
+.pagination a, .pagination span, .pagination em {
+ position: relative;
+ float: left;
+ margin-left: -1px;
+ font-size: 13px;
+ font-weight: bold;
+ font-style: normal;
+ padding: 7px 12px;
+ color: #4183c4;
+ white-space: nowrap;
+ vertical-align: middle;
+ cursor: pointer;
+ background: #fff;
+ border: 1px solid #e5e5e5;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+}
+.pagination a:first-child, .pagination span:first-child, .pagination em:first-child {
+ margin-left: 0;
+ border-top-left-radius: 3px;
+ border-bottom-left-radius: 3px;
+}
+.pagination a:last-child, .pagination span:last-child, .pagination em:last-child {
+ border-top-right-radius: 3px;
+ border-bottom-right-radius: 3px;
+}
+.pagination a:hover, .pagination a:focus, .pagination span:hover, .pagination span:focus, .pagination em:hover, .pagination em:focus {
+ z-index: 2;
+ background-color: #e7e7e7;
+ border-color: #e5e5e5;
+ text-decoration: none;
+}
+.pagination .selected {
+ z-index: 3;
+}
+.pagination .current, .pagination .current:hover {
+ z-index: 3;
+ color: #fff;
+ background-color: #4183c4;
+ border-color: #4183c4;
+}
+.pagination .gap, .pagination .disabled, .pagination .gap:hover, .pagination .disabled:hover {
+ background-color: #fafafa;
+ cursor: default;
+ color: #d3d3d3;
+}
+.ajax_paginate {
+ display: block;
+ margin-top: 20px;
+}
+.ajax_paginate a {
+ float: none;
+ display: block;
+ padding: 6px;
+ text-align: center;
+}
+.ajax_paginate.loading a {
+ text-indent: -3000px;
+ background-color: #eaeaea;
+ background-image: url(/assets/spinners/octocat-spinner-16px-EAF2F5-51a410020c7197f8c4df78e79d28a05dca25d42014cd95e13b232cd2ef89109c.gif);
+ background-repeat: no-repeat;
+ background-position: center center;
+ border-color: #c5c5c5;
+}
+@media screen and (-webkit-min-device-pixel-ratio: 2), screen and (max--moz-device-pixel-ratio: 2) {
+ .ajax_paginate.loading a {
+ background-image: url(/assets/spinners/octocat-spinner-32-EAF2F5-0bdc57d34b85c4a4de9d0d1db10cd70e8a95f33ff4f46c5a8c48b4bf4e5a9abe.gif);
+ background-size: 16px auto;
+}
+}.paginate-container {
+ margin-top: 20px;
+ margin-bottom: 15px;
+ text-align: center;
+}
+.paginate-container .pagination {
+ display: inline-block;
+}
+.header {
+ padding-top: 10px;
+ padding-bottom: 10px;
+ min-width: 1000px;
+ background-color: #f5f5f5;
+ border-bottom: 1px solid #e5e5e5;
+}
+.header-logged-out {
+ padding-top: 15px;
+ padding-bottom: 15px;
+}
+.header-logo-invertocat {
+ float: left;
+ margin-right: 10px;
+ margin-left: -2px;
+ color: #333;
+ white-space: nowrap;
+}
+.header-logo-invertocat .octicon-mark-github {
+ float: left;
+ width: 28px;
+ height: 28px;
+ font-size: 28px;
+}
+.header-logo-invertocat:hover {
+ color: #4183c4;
+ text-decoration: none;
+}
+.logo-subbrand {
+ float: left;
+ margin-left: 6px;
+ font-size: 16px;
+ font-weight: bold;
+ line-height: 28px;
+}
+.header-logo-wordmark {
+ position: relative;
+ float: left;
+ height: 26px;
+ margin-right: 15px;
+ color: #333;
+}
+.header-logo-wordmark:hover {
+ color: #4183c4;
+}
+.header-logo-wordmark .octicon-logo-github {
+ height: 26px;
+ font-size: 32px;
+}
+.notification-indicator .mail-status {
+ position: absolute;
+ top: -2px;
+ right: 2px;
+ z-index: 2;
+ display: none;
+ width: 14px;
+ height: 14px;
+ color: #fff;
+ text-align: center;
+ background-color: #4183c4;
+ background-image: -webkit-linear-gradient(#7ba9d6, #4183c4);
+ background-image: linear-gradient(#7ba9d6, #4183c4);
+ background-repeat: repeat-x;
+ background-clip: padding-box;
+ border-radius: 50%;
+ border: 2px solid #f3f3f3;
+}
+.notification-indicator .mail-status.unread {
+ display: inline-block;
+}
+.notification-indicator:hover .mail-status {
+ background-color: #4183c4;
+}
+.site-search {
+ position: relative;
+ float: left;
+}
+.site-search form {
+ position: relative;
+ float: left;
+ width: 360px;
+ margin-right: 10px;
+}
+.site-search input[type="text"] {
+ position: relative;
+ width: 100%;
+ min-height: 28px;
+ padding: 4px 20px 4px 8px;
+ font-size: 12px;
+}
+.site-search .scope-badge {
+ position: absolute;
+ top: 3px;
+ left: 3px;
+ bottom: 3px;
+ z-index: 10;
+ display: none;
+ padding: 3px 6px;
+ font-size: 12px;
+ color: #777;
+ background-color: #eee;
+ border-radius: 2px;
+ -webkit-transition: all 0.1s ease-in-out;
+ transition: all 0.1s ease-in-out;
+}
+.site-search.repo-scope .scope-badge {
+ display: block;
+}
+.site-search.repo-scope input[type="text"] {
+ padding-left: 100px;
+}
+.site-search.repo-scope input[type="text"]:focus+.scope-badge, .site-search.repo-scope .focused .drag-and-drop+.scope-badge, .focused .site-search.repo-scope .drag-and-drop+.scope-badge {
+ background-color: #e4eef7;
+ color: #4183c4;
+}
+.header-nav {
+ list-style: none;
+}
+.header-nav-item {
+ float: left;
+}
+.header-nav-item.active .dropdown-menu-content {
+ display: block;
+}
+.header-nav-item.active .tooltipped:before, .header-nav-item.active .tooltipped:after {
+ display: none;
+}
+.header-nav-link {
+ display: block;
+ padding: 4px 8px;
+ font-size: 13px;
+ font-weight: bold;
+ line-height: 20px;
+ color: #333;
+}
+.header-nav-link:hover, .header-nav-link:focus {
+ color: #4183c4;
+ text-decoration: none;
+}
+.header-nav-link:hover .dropdown-caret, .header-nav-link:focus .dropdown-caret {
+ border-top-color: #4183c4;
+}
+.user-nav {
+ margin-right: -8px;
+}
+.user-nav .header-nav-link {
+ height: 28px;
+}
+.user-nav .octicon {
+ width: 18px;
+ height: 18px;
+ text-align: center;
+}
+.user-nav .octicon-inbox {
+ font-size: 20px;
+}
+.user-nav .octicon-sign-out {
+ padding-top: 2px;
+}
+.user-nav .octicon-plus {
+ float: left;
+ width: 16px;
+ height: 18px;
+ font-size: 18px;
+}
+.user-nav .avatar {
+ float: left;
+ margin-right: 5px;
+}
+.user-nav .name {
+ float: left;
+ white-space: nowrap;
+}
+.sign-out-button {
+ background: none;
+ border: 0;
+}
+.header-actions {
+ float: right;
+ margin-top: -3px;
+ margin-bottom: -3px;
+}
+.header-actions .button {
+ margin-left: 5px;
+}
+.enterprise .header {
+ background-color: #2a2c2e;
+ border-bottom-color: #121213;
+}
+.is-stats .enterprise .header {
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
+}
+.enterprise .header-logo-wordmark, .enterprise .header-logo-invertocat, .enterprise .header-nav-link {
+ color: #c8c8ca;
+}
+.enterprise .header-logo-wordmark:hover, .enterprise .header-logo-wordmark:focus, .enterprise .header-logo-invertocat:hover, .enterprise .header-logo-invertocat:focus, .enterprise .header-nav-link:hover, .enterprise .header-nav-link:focus {
+ color: #fafafa;
+}
+.enterprise .header-nav-link:hover .dropdown-caret, .enterprise .header-nav-link:focus .dropdown-caret {
+ border-top-color: #fafafa;
+}
+.enterprise .notification-indicator .mail-status {
+ border-color: #2a2c2e;
+}
+.enterprise .notification-indicator:hover .mail-status {
+ background-color: #d26911;
+}
+.enterprise .header-actions .button {
+ border: 0;
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 1px rgba(0, 0, 0, 0.5);
+}
+.enterprise .site-search .scope-badge {
+ background-color: #5b5f63;
+ color: #c8c8ca;
+}
+.enterprise .site-search input[type="text"] {
+ color: #fafafa;
+ background-color: #4f5256;
+ border-color: #121213;
+}
+.enterprise .site-search input[type="text"]:focus, .enterprise .site-search .focused .drag-and-drop, .focused .enterprise .site-search .drag-and-drop {
+ background-color: #55595d;
+ border-color: #000;
+ box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.075);
+}
+.enterprise .site-search input[type="text"]:focus+.scope-badge, .enterprise .site-search .focused .drag-and-drop+.scope-badge, .focused .enterprise .site-search .drag-and-drop+.scope-badge {
+ background-color: #676c71;
+ color: #fff;
+}
+.unsupported-browser {
+ padding: 15px 0;
+ color: #211e14;
+ background-color: #fae692;
+ background-image: -webkit-linear-gradient(#feefae, #fae692);
+ background-image: linear-gradient(#feefae, #fae692);
+ background-repeat: repeat-x;
+ border-bottom: 1px solid #b3a569;
+}
+.unsupported-browser .container {
+ background: url(/assets/icons/ie-notice-797daf799064a78ff6a30d8bd5669edd01772f1de9f69294dca2df45de4b2ba2.png) no-repeat 0 5px;
+}
+.unsupported-browser h5 {
+ font-size: 13px;
+ margin: 5px 0 2px;
+ padding-left: 48px;
+}
+.unsupported-browser p {
+ margin: 0;
+ padding-left: 48px;
+}
+.unsupported-browser .button {
+ float: right;
+ margin-top: 5px;
+ margin-left: 8px;
+}
+.mobile-banner button.switch-to-mobile {
+ display: block;
+ width: 100%;
+ padding: 30px 0 45px;
+ border: 0;
+ background-color: #444;
+ color: #eaeaea;
+ font-size: 60px;
+ text-align: center;
+ font-weight: bold;
+}
+.mobile-banner button.switch-to-mobile .mega-octicon {
+ position: relative;
+ top: -8px;
+ margin-right: 5px;
+ color: #ddd;
+ font-size: 48px;
+}
+.outdated-dns p {
+ text-align: center;
+}
+.accessibility-aid {
+ height: 1px;
+ width: 1px;
+ clip: rect(1px, 1px, 1px, 1px);
+ overflow: hidden;
+ position: absolute;
+ margin: 0;
+}
+.accessibility-aid:focus {
+ height: auto;
+ width: auto;
+ clip: auto;
+ z-index: 1;
+ top: 0;
+ line-height: 49px;
+ padding: 0 10px;
+ background: #f5f5f5;
+ font-weight: bold;
+ text-decoration: none;
+ color: #333;
+}
+.is-stats .accessibility-aid:focus {
+ top: 34px;
+}
+.site-footer {
+ position: relative;
+ margin-top: 40px;
+ padding-top: 40px;
+ padding-bottom: 40px;
+ font-size: 12px;
+ line-height: 1.5;
+ color: #777;
+ border-top: 1px solid #eee;
+}
+.site-footer:before {
+ display: table;
+ content: ""}
+.site-footer:after {
+ display: table;
+ clear: both;
+ content: ""}
+.site-footer .octicon-mark-github {
+ position: absolute;
+ top: 38px;
+ left: 50%;
+ height: 24px;
+ width: 24px;
+ margin-left: -12px;
+ font-size: 24px;
+ color: #ccc;
+}
+.site-footer .octicon-mark-github:hover {
+ color: #bbb;
+}
+.site-footer-links {
+ margin: 0;
+ list-style: none;
+}
+.site-footer-links li {
+ display: inline-block;
+ line-height: 16px;
+}
+.site-footer-links li+li {
+ margin-left: 10px;
+}
+.billing-plans tbody td {
+ width: 25%;
+ vertical-align: middle;
+}
+.billing-plans .current {
+ background-color: #f2ffed;
+}
+.billing-plans .name {
+ font-size: 14px;
+ font-weight: bold;
+ color: #333;
+}
+.billing-plans .coupon {
+ font-size: 12px;
+}
+.billing-plans .coupon td {
+ color: #fff;
+ background-color: #6cc644;
+}
+.billing-plans .coupon .text-right {
+ white-space: nowrap;
+}
+.billing-plans .coupon.expiring td {
+ background-color: #df6e00;
+}
+.billing-plans .coupon.expiring .coupon-label:after {
+ border-bottom-color: #df6e00;
+}
+.billing-plans tbody>.selected {
+ background-color: #fdffce;
+}
+.coupon-label {
+ position: relative;
+ padding: 9px;
+ margin: -9px;
+}
+.coupon-label:after {
+ position: absolute;
+ bottom: 100%;
+ left: 15px;
+ width: 0;
+ height: 0;
+ pointer-events: none;
+ content: " ";
+ border: solid transparent;
+ border-width: 5px;
+ border-bottom-color: #6cc644;
+}
+.boxed-group-table .toggle-currency {
+ font-size: 11px;
+ font-weight: normal;
+}
+.is-hidden, .has-removed-contents {
+ display: none;
+}
+.currency-notice {
+ margin-bottom: 10px;
+}
+.org-login {
+ margin-top: -30px;
+ margin-bottom: 30px;
+}
+.org-login img {
+ width: 450px;
+ padding: 1px;
+ margin: 10px -25px;
+ border: 1px solid #ccc;
+}
+.auth-form {
+ width: 400px;
+ margin: 60px auto;
+}
+.auth-form form {
+ border-radius: 3px;
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.075);
+}
+.auth-form .note {
+ margin: 15px 0;
+ text-align: center;
+}
+.auth-form-header {
+ position: relative;
+ padding: 10px 20px;
+ margin: 0;
+ color: #fff;
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
+ background-color: #829aa8;
+ border: 1px solid #768995;
+ border-radius: 3px 3px 0 0;
+}
+.auth-form-header h1 {
+ margin-top: 0;
+ margin-bottom: 0;
+ font-size: 16px;
+}
+.auth-form-header h1 a {
+ color: #fff;
+}
+.auth-form-header .octicon {
+ position: absolute;
+ top: 10px;
+ right: 20px;
+ color: rgba(0, 0, 0, 0.4);
+ text-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
+}
+.auth-form-body {
+ padding: 20px;
+ font-size: 14px;
+ background-color: #fff;
+ border: 1px solid #d8dee2;
+ border-top: 0;
+ border-radius: 0 0 3px 3px;
+}
+.auth-form-body .input-block {
+ margin-top: 5px;
+ margin-bottom: 15px;
+}
+.auth-form-body p {
+ margin: 0 0 10px;
+}
+.two-factor-help {
+ position: relative;
+ padding: 10px 10px 10px 36px;
+ margin: 60px 0 auto auto;
+ border: 1px solid #eaeaea;
+ border-radius: 3px;
+}
+.two-factor-help .octicon {
+ position: absolute;
+ top: 10px;
+ left: 10px;
+}
+.two-factor-help .minibutton {
+ float: right;
+}
+.two-factor-help ul {
+ list-style-type: none;
+}
+.flash.sms-error, .flash.sms-success {
+ display: none;
+ margin: 0 0 10px;
+}
+.is-sent .sms-success {
+ display: block;
+}
+.is-sent .sms-error {
+ display: none;
+}
+.is-not-sent .sms-success {
+ display: none;
+}
+.is-not-sent .sms-error {
+ display: block;
+}
+.autocomplete-results {
+ position: absolute;
+ z-index: 99;
+ display: none;
+ max-height: 20em;
+ overflow-y: auto;
+ font-size: 13px;
+ list-style: none;
+ background: #fff;
+ border: 1px solid #c1c1c1;
+ border-radius: 3px;
+ box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
+}
+.autocomplete-group {
+ width: 100%;
+ overflow: hidden;
+}
+.autocomplete-item {
+ display: block;
+ padding: 5px;
+ overflow: hidden;
+ font-weight: bold;
+ text-decoration: none;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ cursor: pointer;
+}
+.autocomplete-item.navigation-focus {
+ color: #fff;
+ text-decoration: none;
+ background-color: #4183c4;
+}
+.autocomplete-item.selected {
+ color: #fff;
+ background-color: #4183c4;
+}
+.autocomplete-item.selected .due_on, .autocomplete-item.selected .past_due, .autocomplete-item.selected .number {
+ color: #fff;
+}
+.autocomplete-item .secondary-label {
+ font-weight: normal;
+}
+.autocomplete-item .due_on, .autocomplete-item .past_due {
+ display: block;
+ font-weight: normal;
+}
+.autocomplete-item .due_on {
+ color: #666;
+}
+.autocomplete-item .past_due {
+ color: #984646;
+}
+.autocomplete-item .state {
+ display: block;
+ float: left;
+ width: 13px;
+ height: 9px;
+ margin-top: 3px;
+ margin-right: 5px;
+ border-radius: 2px;
+}
+.autocomplete-item .state.closed {
+ background-color: #bd2c00;
+}
+.autocomplete-item .state.open {
+ background-color: #6cc644;
+}
+.autocomplete-item .number {
+ font-weight: bold;
+ color: #999;
+}
+.autocomplete-item .organization-member {
+ float: right;
+ padding-top: 1px;
+ color: #808080;
+}
+.autocomplete-item.navigation-focus .organization-member, .autocomplete-item.navigation-focus .ldap-group-dn, .autocomplete-item.selected .organization-member, .autocomplete-item.selected .ldap-group-dn {
+ color: #f2f2f2;
+}
+.suggester-container {
+ position: absolute;
+ top: 58px;
+ left: 10px;
+ z-index: 30;
+}
+.comment-content .suggester-container {
+ top: 46px;
+}
+.timeline-new-comment .suggester-container {
+ top: 52px;
+}
+.is-comment-editing .suggester-container {
+ top: 49px;
+}
+.merge-branch-form .suggester-container {
+ top: 39px;
+}
+.wiki-wrapper .suggester-container {
+ top: 93px;
+ left: -2px;
+}
+.suggester {
+ position: relative;
+ top: 0;
+ left: 0;
+ display: none;
+ min-width: 180px;
+ margin-top: 20px;
+ background: #fff;
+ border: 1px solid #ddd;
+ border-radius: 3px;
+ box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
+}
+.suggester.active {
+ display: block;
+}
+.suggester ul {
+ padding: 0;
+ margin: 0;
+ list-style: none;
+}
+.suggester li {
+ display: block;
+ padding: 5px 10px;
+ font-weight: bold;
+ border-bottom: 1px solid #ddd;
+}
+.suggester li small {
+ font-weight: normal;
+ color: #777;
+}
+.suggester li:last-child {
+ border-bottom: 0;
+ border-bottom-right-radius: 3px;
+ border-bottom-left-radius: 3px;
+}
+.suggester li:first-child a {
+ border-top-left-radius: 3px;
+ border-top-right-radius: 3px;
+}
+.suggester li.navigation-focus {
+ color: #fff;
+ text-decoration: none;
+ background: #4183c4;
+}
+.suggester li.navigation-focus small {
+ color: #fff;
+}
+.breadcrumb {
+ margin: 5px 0;
+ font-size: 18px;
+ color: #999;
+}
+.breadcrumb .separator:before, .breadcrumb .separator:after {
+ content: " "}
+.breadcrumb strong.final-path {
+ color: #000;
+}
+.breadcrumb .abort {
+ display: inline;
+ font-size: 14px;
+}
+.breadcrumb .new-file-no-branch {
+ color: #ccc;
+}
+.breadcrumb .new-file-no-branch:hover {
+ color: #4183c4;
+}
+.breadcrumb .zeroclipboard-button {
+ display: inline-block;
+ margin-left: 5px;
+}
+.breadcrumb .repo-root {
+ font-weight: bold;
+}
+.file-box input.filename, .file-box .abort {
+ position: relative;
+ top: -1px;
+}
+.file-box .gitignore-template, .file-box .license-template {
+ float: right;
+ font-size: 14px;
+ position: relative;
+ top: 3px;
+ display: none;
+}
+.file-box .gitignore-template.is-visible, .file-box .license-template.is-visible {
+ display: inline;
+}
+.file-box .license-info {
+ color: #ccc;
+ margin-left: 5px;
+}
+.file-box .select-menu-git-ignore, .file-box .select-menu-license-picker {
+ right: 0;
+}
+.new-file-link {
+ display: inline-block;
+ color: #4183c4;
+ cursor: pointer;
+}
+.blob-interaction-bar {
+ position: relative;
+ background: #f2f2f2;
+ border-bottom: 1px solid #e5e5e5;
+}
+.blob-interaction-bar:before {
+ display: table;
+ content: ""}
+.blob-interaction-bar:after {
+ display: table;
+ clear: both;
+ content: ""}
+.blob-interaction-bar .octicon-search {
+ position: absolute;
+ top: 10px;
+ left: 10px;
+ color: #999;
+ font-size: 12px;
+}
+input.blob-filter {
+ padding: 4px 20px 5px 30px;
+ width: 100%;
+ font-size: 12px;
+ border: 0;
+ border-radius: 0;
+ outline: none;
+}
+input.blob-filter:focus {
+ outline: none;
+}
+.markdown-body .csv-data td, .markdown-body .csv-data th {
+ padding: 5px;
+ overflow: hidden;
+ font-size: 12px;
+ line-height: 1;
+ text-align: left;
+ white-space: nowrap;
+}
+.markdown-body .csv-data .blob-line-num {
+ padding: 10px 8px 9px;
+ text-align: right;
+ background: #fff;
+ border: 0;
+}
+.markdown-body .csv-data tr {
+ border-top: 0;
+}
+.markdown-body .csv-data th {
+ font-weight: bold;
+ background: #f8f8f8;
+ border-top: 0;
+}
+.too-long-message {
+ display: none;
+ color: #cea61b;
+}
+.is-too-long-error .too-long-message {
+ display: block;
+}
+.check-for-fork {
+ display: inline-block;
+}
+.check-for-fork img {
+ vertical-align: text-bottom;
+}
+.check-for-fork.is-error .check-for-fork-loading {
+ display: none;
+}
+.check-for-fork.is-error .check-for-fork-error {
+ display: inline-block;
+}
+.check-for-fork-error {
+ display: none;
+}
+.file-commit-form {
+ padding-left: 64px;
+}
+.file-commit-form .commit-form-avatar {
+ float: left;
+ margin-left: -64px;
+ border-radius: 4px;
+}
+.file-commit-form .commit-form {
+ position: relative;
+ padding: 15px;
+ margin-bottom: 10px;
+ border: 1px solid #ddd;
+ border-radius: 3px;
+}
+.file-commit-form .commit-form:after, .file-commit-form .commit-form:before {
+ position: absolute;
+ top: 11px;
+ left: -16px;
+ right: 100%;
+ width: 0;
+ height: 0;
+ display: block;
+ content: " ";
+ border-color: transparent;
+ border-style: solid solid outset;
+ pointer-events: none;
+}
+.file-commit-form .commit-form:after {
+ border-width: 7px;
+ border-right-color: #fff;
+ margin-top: 1px;
+ margin-left: 2px;
+}
+.file-commit-form .commit-form:before {
+ border-right-color: #ddd;
+ border-width: 8px;
+}
+.file-commit-form .commit-message {
+ min-height: 100px;
+}
+.file-commit-form-heading {
+ margin-top: 0;
+ margin-bottom: 10px;
+}
+.quick-pull-choice .form-checkbox {
+ padding-left: 25px;
+ margin: 10px 0;
+}
+.quick-pull-choice .form-checkbox label {
+ font-weight: normal;
+}
+.quick-pull-choice .form-checkbox .octicon {
+ width: 16px;
+ margin-right: 3px;
+ text-align: center;
+}
+.quick-pull-choice dl.form, .quick-pull-choice .form-checkbox:last-child {
+ margin-bottom: 0;
+}
+.quick-pull-choice .quick-pull-branch-name {
+ display: none;
+ padding-left: 48px;
+ margin-top: 5px;
+}
+.quick-pull-choice .new-branch-name-input {
+ position: relative;
+ margin-top: 5px;
+}
+.quick-pull-choice .new-branch-name-input input {
+ width: 240px;
+ padding-left: 26px;
+ font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
+}
+.quick-pull-choice .new-branch-name-input .quick-pull-new-branch-icon {
+ position: absolute;
+ top: 9px;
+ left: 10px;
+ color: #b0c4ce;
+}
+.quick-pull-choice.will-normalize-ref .quick-pull-normalization-info {
+ display: inline-block;
+}
+.quick-pull-choice.will-create-branch .quick-pull-branch-name {
+ display: inline-block;
+}
+.quick-pull-normalization-info {
+ position: absolute;
+ top: 34px;
+ left: 0;
+ z-index: 10;
+ display: none;
+ padding: 5px;
+ font-size: 11px;
+ color: #494620;
+ background: #f7ea57;
+ border: 1px solid #c0b536;
+ border-top-color: #fff;
+ border-bottom-right-radius: 3px;
+ border-bottom-left-radius: 3px;
+}
+.merge-pr {
+ padding-top: 10px;
+ margin: 20px 0 0;
+ border-top: 1px solid #ddd;
+}
+.merge-pr.open .merge-branch-form {
+ display: block;
+}
+.merge-pr.open .branch-action {
+ display: none;
+}
+.branch-status {
+ padding: 10px 0 0;
+ border: solid #eee;
+ border-width: 0 0 1px;
+}
+.branch-status .octicon {
+ width: 16px;
+ text-align: center;
+}
+.branch-status .divider {
+ color: #999;
+}
+.branch-status.status-pending {
+ color: #cea61b;
+ border-color: #e2cc7a;
+}
+.branch-status.status-success {
+ color: #6cc644;
+ border-color: #95c97e;
+}
+.branch-status.status-error, .branch-status.status-failure {
+ color: #bd2c00;
+ border-color: #e97a74;
+}
+.branch-status.open>.build-statuses-list {
+ max-height: 370px;
+ border-width: 1px 0;
+}
+.branch-status.open .build-statuses-toggle-opened {
+ display: inline;
+}
+.branch-status.open .build-statuses-toggle-closed {
+ display: none;
+}
+.build-status-description {
+ display: block;
+ padding: 0 15px 10px 12px;
+}
+.build-status-single .css-truncate-target {
+ width: 80%;
+ max-width: 80%}
+.build-statuses-list {
+ max-height: 0;
+ margin-bottom: -1px;
+ overflow-y: auto;
+ border: solid #eee;
+ border-width: 1px 0 0;
+ -webkit-transition: max-height 0.25s ease-in-out;
+ transition: max-height 0.25s ease-in-out;
+}
+.build-statuses-toggle-opened {
+ display: none;
+}
+.build-status-item {
+ padding: 10px 15px 10px 12px;
+ background-color: #fafafa;
+ border-bottom: 1px solid #eee;
+}
+.build-status-item:last-child {
+ border-bottom: 0;
+}
+.build-status-item .css-truncate-target {
+ width: 80%;
+ max-width: 80%}
+.build-status-icon {
+ width: 16px;
+ color: inherit;
+ text-align: center;
+}
+.merge-pr-more-commits {
+ margin-top: 10px;
+ margin-bottom: 10px;
+ margin-left: 64px;
+ font-size: 12px;
+ color: #777;
+}
+.branch-action {
+ padding-left: 64px;
+ margin-top: 15px;
+ margin-bottom: 15px;
+}
+.branch-action .merge-branch-heading {
+ margin-bottom: 2px;
+}
+.branch-action .delete-branch-failure {
+ display: none;
+ padding: 15px;
+}
+.branch-action.error .delete-branch-failure {
+ display: block;
+}
+.branch-action.error .merge-message {
+ display: none;
+}
+.branch-action-icon {
+ float: left;
+ width: 48px;
+ height: 48px;
+ margin-left: -64px;
+ line-height: 48px;
+ color: #fff;
+ text-align: center;
+ border-radius: 3px;
+}
+.branch-action-body {
+ position: relative;
+ background-color: #fff;
+ border: 1px solid #e5e5e5;
+ border-radius: 3px;
+}
+.branch-action-body:after, .branch-action-body:before {
+ position: absolute;
+ top: 11px;
+ left: -16px;
+ right: 100%;
+ width: 0;
+ height: 0;
+ display: block;
+ content: " ";
+ border-color: transparent;
+ border-style: solid solid outset;
+ pointer-events: none;
+}
+.branch-action-body:after {
+ border-width: 7px;
+ border-right-color: #fff;
+ margin-top: 1px;
+ margin-left: 2px;
+}
+.branch-action-body:before {
+ border-right-color: #ddd;
+ border-width: 8px;
+}
+.branch-action-body .spinner {
+ display: block;
+ float: left;
+ width: 32px;
+ height: 32px;
+ margin-right: 15px;
+ background: url(/assets/spinners/octocat-spinner-32-e513294efa576953719e4e2de888dd9cf929b7d62ed8d05f25e731d02452ab6c.gif) no-repeat;
+}
+.branch-action-body .merge-message, .branch-action-body .merge-branch-form {
+ padding: 15px;
+}
+.branch-action-state-clean .branch-action-icon {
+ background-color: #6cc644;
+}
+.branch-action-state-clean .branch-action-body, .branch-action-state-clean .branch-status {
+ border-color: #95c97e;
+}
+.branch-action-state-clean .branch-action-body:before {
+ border-right-color: #95c97e;
+}
+.branch-action-state-unknown .branch-action-icon, .branch-action-state-unstable .branch-action-icon {
+ background-color: #cea61b;
+}
+.branch-action-state-unknown .branch-action-body, .branch-action-state-unknown .branch-status, .branch-action-state-unstable .branch-action-body, .branch-action-state-unstable .branch-status {
+ border-color: #e2cc7a;
+}
+.branch-action-state-unknown .branch-action-body:before, .branch-action-state-unstable .branch-action-body:before {
+ border-right-color: #e2cc7a;
+}
+.branch-action-state-merged .branch-action-icon {
+ background-color: #6e5494;
+}
+.branch-action-state-merged .branch-action-body {
+ border-color: #886ead;
+}
+.branch-action-state-merged .branch-action-body:before {
+ border-right-color: #886ead;
+}
+.branch-action-tasks .branch-action-icon {
+ background-color: #4183c4;
+}
+.branch-action-tasks .branch-action-body {
+ border-color: #689cd0;
+}
+.branch-action-tasks .branch-action-body:before {
+ border-right-color: #689cd0;
+}
+.branch-action-state-dirty .branch-action-icon, .branch-action-state-closed-dirty .branch-action-icon {
+ background-color: #888;
+}
+.branch-action-state-dirty .branch-status, .branch-action-state-closed-dirty .branch-status {
+ border-color: #eee;
+}
+@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 2dppx) {
+ .branch-action-body .spinner {
+ background-image: url(/assets/spinners/octocat-spinner-64-f4c980250033ceb8052bb542cf947750f8c73ebe69b0b0b66b415b4a40f8bd6e.gif);
+ background-size: 32px 32px;
+}
+}.merge-branch-form {
+ display: none;
+ margin: 15px 0;
+}
+.merge-branch-form .commit-form {
+ border-color: #95c97e;
+}
+.merge-branch-form .commit-form:before {
+ border-right-color: #95c97e;
+}
+.merge-branch-form.error .commit-form {
+ border-color: #e97a74;
+}
+.merge-branch-form.error .commit-form:before {
+ border-right-color: #e97a74;
+}
+.merge-branch-form .merge-form-failed {
+ display: none;
+}
+.merge-branch-form.error .merge-form-failed {
+ display: block;
+}
+.merge-branch-form.error .merge-form-contents {
+ display: none;
+}
+.merge-button-matrix-merge-form .merge-branch-form {
+ display: block;
+}
+.merge-button-matrix-merge-form .merge-branch-form .merge-form-contents {
+ display: block;
+}
+.merge-button-matrix-merge-failed .merge-branch-form {
+ display: block;
+}
+.merge-button-matrix-merge-failed .merge-branch-form .merge-form-failed {
+ display: block;
+}
+.merge-button-matrix-merge-failed .merge-branch-form .merge-form-contents {
+ display: none;
+}
+.branch-action-tasks-list {
+ margin-top: 5px;
+ padding-left: 20px;
+}
+.branch-action-tasks-description .review-tasks-toggle-opened {
+ display: none;
+}
+.branch-action-tasks-description .branch-action-tasks-list {
+ display: none;
+}
+.branch-action-tasks-description .review-tasks-description {
+ margin-top: 0;
+ margin-bottom: 0;
+ color: #777;
+}
+p.recently-touched-branches-description {
+ margin: 0;
+ font-size: 11px;
+ color: #888;
+}
+.recently-touched-branches {
+ padding: 0;
+ margin: 5px 0 10px;
+ color: #4c4a42;
+ background-color: #fff9ea;
+ border: solid 1px #dfd8c2;
+ border-radius: 3px;
+}
+.recently-touched-branches a.branch-link {
+ font-weight: bold;
+}
+.recently-touched-branches li {
+ height: 36px;
+ padding: 5px;
+ margin: 0;
+ line-height: 23px;
+ list-style-type: none;
+ border-bottom: 1px solid #e5e2c8;
+}
+.recently-touched-branches li:last-child {
+ border-bottom: 0;
+}
+.recently-pushed-branch-actions {
+ float: right;
+}
+.recently-pushed-branch-details {
+ display: inline-block;
+ margin: 0 0 0 7px;
+ font-size: 13px;
+ line-height: 26px;
+ color: #a19e7f;
+}
+.recently-pushed-branch-details a {
+ color: #6b694f;
+}
+.recently-pushed-branch-details .css-truncate-target {
+ max-width: 400px;
+}
+.branch-name {
+ display: inline-block;
+ padding: 2px 6px;
+ font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
+ color: rgba(0, 0, 0, 0.5);
+ background-color: rgba(209, 227, 237, 0.5);
+ border-radius: 3px;
+}
+.branch-name .octicon {
+ margin: 1px -2px 0 0;
+ color: #b0c4ce;
+}
+a.branch-name {
+ color: #4183c4;
+}
+.range-editor {
+ position: relative;
+ margin-bottom: 10px;
+}
+.is-collapsed .range-editor.for-expanded {
+ display: none;
+}
+.is-expanded .range-editor.for-collapsed {
+ display: none;
+}
+.range-editor span.flag {
+ position: relative;
+ display: block;
+ float: left;
+ padding: 12px 13px;
+ background-color: #fafafa;
+ border: 1px solid #eee;
+ border-right-width: 0;
+ border-bottom-width: 2px;
+ border-radius: 3px 0 0 3px;
+}
+.range-editor span.flag .octicon {
+ display: block;
+ color: #666;
+}
+.range-editor .range {
+ position: relative;
+ min-height: 43px;
+ padding: 7px 10px 0;
+ margin-left: 41px;
+ background-color: #fafafa;
+ border: 1px solid #eee;
+ border-bottom-width: 2px;
+ border-radius: 0 3px 3px 0;
+}
+.range-editor .range p {
+ margin: 0 0 8px;
+ font-size: 12px;
+ color: #999;
+}
+.range-editor .range .dots {
+ margin: 0 4px;
+ font-size: 16px;
+ color: #999;
+}
+.range-editor .range .range-action {
+ float: right;
+}
+.range-editor .range .range-action.octicon {
+ padding-left: 20px;
+ margin: 6px 3px 0 0;
+ color: #999;
+ cursor: pointer;
+}
+.range-editor .range .range-action.octicon:hover {
+ color: #bd2c00;
+}
+.range-editor .range .select-menu {
+ position: relative;
+ display: inline-block;
+}
+.range-editor .range .select-menu.fork-suggester {
+ display: none;
+}
+.range-editor .range .branch-name {
+ margin-bottom: 7px;
+ line-height: 22px;
+}
+.is-cross-repo .range-editor .range .select-menu.fork-suggester {
+ display: inline-block;
+}
+.is-cross-repo .range-editor .range .cross-repo-text {
+ display: none;
+}
+.range-editor .range .branch .css-truncate-target, .range-editor .range .fork-suggester .css-truncate-target {
+ max-width: 180px;
+}
+.range-editor.for-collapsed .range {
+ border-bottom-left-radius: 0;
+}
+.range-cross-repo-pair {
+ display: inline-block;
+ padding-bottom: 7px;
+ white-space: nowrap;
+}
+ul.comparison-list {
+ width: 350px;
+ margin: 25px auto 15px;
+ font-size: 14px;
+ text-align: left;
+ background: #fff;
+ border: 1px solid #ddd;
+ border-radius: 3px;
+}
+ul.comparison-list>li {
+ padding: 7px 10px;
+ list-style-type: none;
+ border-top: 1px solid #eee;
+}
+ul.comparison-list>li a {
+ font-weight: bold;
+}
+ul.comparison-list>li em {
+ float: right;
+ font-style: normal;
+ color: #999;
+}
+ul.comparison-list>li .octicon {
+ position: relative;
+ top: 1px;
+ color: #aaa;
+}
+ul.comparison-list>li .css-truncate-target {
+ max-width: 200px;
+}
+ul.comparison-list>li.title {
+ font-size: 12px;
+ font-weight: bold;
+ color: #aaa;
+ text-transform: uppercase;
+ background: #fafafa;
+ border-top: 0;
+ border-top-left-radius: 3px;
+ border-top-right-radius: 3px;
+}
+.recently-touched-branches-wrapper {
+ margin: 15px 0;
+}
+.starring-container .unstarred, .starring-container.on .starred {
+ display: block;
+}
+.starring-container.on .unstarred, .starring-container .starred {
+ display: none;
+}
+.starring-container.loading {
+ opacity: 0.5;
+}
+.user-following-container .follow, .user-following-container.on .unfollow {
+ display: inline-block;
+}
+.user-following-container.on .follow, .user-following-container .unfollow {
+ display: none;
+}
+.user-following-container.loading {
+ opacity: 0.5;
+}
+.members .user-following-container {
+ float: right;
+}
+.code-list .file-box {
+ border: 1px solid #ddd;
+ border-radius: 3px;
+}
+.code-list em {
+ background-color: rgba(255, 255, 140, 0.5);
+ padding: 3px;
+ border-radius: 3px;
+ font-weight: bold;
+ font-style: normal;
+ color: #333;
+}
+.code-list .title {
+ margin: -3px 0 10px 38px;
+ min-height: 24px;
+ font-weight: bold;
+ line-height: 1.2;
+}
+.code-list .repo-specific .title, .code-list .repo-specific .full-path {
+ margin-left: 0;
+}
+.code-list .updated-at {
+ margin: 0;
+ font-size: 11px;
+ color: #999;
+ font-weight: normal;
+}
+.code-list .language {
+ float: right;
+ color: rgba(51, 51, 51, 0.75);
+ font-size: 12px;
+ margin-left: 10px;
+}
+.code-list .avatar {
+ float: left;
+}
+.code-list .code-list-item+.code-list-item {
+ margin-top: 20px;
+ padding-top: 20px;
+ border-top: 1px solid #eee;
+ margin-bottom: 10px;
+}
+.code-list .blob-num {
+ padding: 0;
+}
+.code-list .blob-num:before {
+ content: normal;
+}
+.code-list .blob-num a {
+ color: inherit;
+ padding: 0 10px;
+}
+.code-list .blob-num a:hover {
+ color: #4183c4;
+}
+.code-list .blob-code {
+ white-space: pre-wrap;
+}
+.code-list .divider .blob-num, .code-list .divider .blob-code {
+ background-color: #f8fafd;
+ padding-top: 0;
+ padding-bottom: 0;
+ cursor: default;
+}
+.code-list .divider .blob-num {
+ background-color: #f0f5fa;
+ line-height: 15px;
+ padding: 0 10px;
+ height: 18px;
+}
+.code-list .full-path {
+ margin: 0 0 0 40px;
+}
+.code-list .full-path .octicon-repo {
+ color: #666;
+}
+.code-list .full-path .octicon-lock {
+ color: #e9dba4;
+}
+.code-list .full-path a {
+ color: #999;
+}
+.code-list-item-private .file-box {
+ border: 1px solid #fadda5;
+}
+.code-list-item-private .blob-num {
+ background-color: #fff9ea;
+ border-right: 1px solid #fadda5;
+}
+.code-list-item-private .blob-num a {
+ color: #a1882b;
+}
+.code-list-item-private .divider .blob-num, .code-list-item-private .divider .blob-code {
+ background-color: #fff9ea;
+ color: #a1882b;
+}
+.codesearch-head {
+ padding-bottom: 20px;
+}
+.codesearch-head.pagehead h1 {
+ float: left;
+ width: 250px;
+ line-height: 33px;
+}
+.advanced-search-form h3 {
+ margin-top: 20px;
+}
+.advanced-search-form .flattened dt {
+ width: 230px;
+}
+.advanced-search-form .flattened dt label {
+ font-weight: normal;
+}
+.advanced-search-form .flattened dd {
+ margin-left: 250px;
+}
+.advanced-search-form .form-checkbox {
+ margin-left: 250px;
+}
+.advanced-search-form fieldset {
+ border-bottom: 1px solid #f1f1f1;
+ padding-bottom: 20px;
+ margin-bottom: 30px;
+}
+.codesearch-results .large-format-loader {
+ padding-top: 5%}
+.codesearch-results .repo-list {
+ margin-top: -20px;
+}
+.codesearch-results .repo-list-name {
+ font-weight: normal;
+}
+.codesearch-results .repo-list-name a, .codesearch-results .code-list .title a {
+ word-wrap: break-word;
+}
+.codesearch-results .repo-list-name em, .codesearch-results .repo-list-description em {
+ padding: 3px;
+ font-style: normal;
+ font-weight: bold;
+ background-color: rgba(255, 255, 140, 0.5);
+ border-radius: 3px;
+}
+.codesearch-results .search-foot-note {
+ color: #999;
+ text-align: center;
+}
+.meta-search-links {
+ margin-top: 20px;
+}
+.meta-search-links a {
+ margin-right: 10px;
+}
+.codesearch-aside .menu .octicon {
+ width: 16px;
+ text-align: center;
+ margin-right: 5px;
+}
+.codesearch-aside .meta-search-links {
+ margin-top: 20px;
+}
+.codesearch-aside .meta-search-links a {
+ margin-right: 10px;
+}
+.codesearch-aside .filter-list {
+ border-bottom: 1px solid #f1f1f1;
+ margin-bottom: 20px;
+ padding-bottom: 20px;
+}
+.codesearch-aside .filter-list li {
+ position: relative;
+}
+.codesearch-aside .filter-list li span.bar {
+ background: #f1f1f1;
+ display: inline-block;
+ position: absolute;
+ z-index: -1;
+ top: 2px;
+ bottom: 2px;
+ right: 0;
+}
+.simple-search-page {
+ width: 740px;
+ padding-top: 100px;
+ padding-bottom: 100px;
+}
+.simple-search-page h2 {
+ font-weight: normal;
+}
+.simple-search-page h2 .mega-octicon {
+ vertical-align: middle;
+}
+.search-form-fluid {
+ position: relative;
+}
+.search-form-fluid .flex-table-item-primary {
+ padding-right: 10px;
+}
+.search-form-fluid .completed-query {
+ position: absolute;
+ top: 7px;
+ left: 8px;
+ right: 8px;
+ z-index: 1;
+ margin: 0;
+ overflow: hidden;
+ white-space: nowrap;
+}
+.search-form-fluid .completed-query span {
+ opacity: 0;
+}
+.search-form-fluid .search-page-label {
+ position: relative;
+ display: block;
+ font-weight: normal;
+ cursor: text;
+}
+.search-form-fluid .search-page-label.focus .completed-query {
+ opacity: 0.6;
+}
+.search-form-fluid .search-page-input {
+ position: relative;
+ z-index: 2;
+ min-height: 0;
+ margin: 0;
+ padding: 0;
+ background: none;
+ border: 0;
+ box-shadow: none;
+}
+.search-form-fluid .search-page-input:focus {
+ box-shadow: none;
+}
+.token-warning {
+ position: absolute;
+ top: 10px;
+ right: 85px;
+ z-index: 100;
+ color: #000;
+}
+.sort-bar {
+ border-bottom: 1px solid #f1f1f1;
+ margin-bottom: 20px;
+ padding-bottom: 20px;
+}
+.sort-bar .sort-label {
+ padding-right: 5px;
+ font-weight: 200;
+ font-size: 13px;
+ color: #666;
+}
+.sort-bar .select-menu {
+ float: right;
+}
+.sort-bar h3 {
+ margin: 0;
+}
+.sort-bar .sort-form {
+ float: right;
+}
+.sort-bar .sort-link {
+ font-weight: bold;
+ color: #8a8a8a;
+ text-decoration: none;
+ margin-top: 4px;
+}
+.sort-form .sort-icon {
+ border: 5px solid #8a8a8a;
+ height: 0;
+ width: 0;
+ display: inline-block;
+ margin-left: 5px;
+}
+.sort-form .sort-desc .sort-icon {
+ border-color: #8a8a8a transparent transparent;
+ border-width: 5px 4px 2px;
+}
+.sort-form .sort-asc .sort-icon {
+ border-color: transparent transparent #8a8a8a;
+ border-width: 2px 4px 5px;
+}
+.file-editor-textarea {
+ width: 100%;
+ padding: 5px 4px;
+ font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
+ resize: vertical;
+ border: 0;
+ border-radius: 0;
+ outline: none;
+}
+.container-preview .tabnav-tabs {
+ margin: -6px 0 0 -11px;
+}
+.container-preview .tabnav-tabs .tabnav-tab {
+ padding: 12px 15px;
+ border-radius: 0;
+}
+.container-preview .tabnav-tabs>li:first-child .selected {
+ border-top-left-radius: 3px;
+}
+.container-preview .tabnav-tabs .selected {
+ font-weight: bold;
+}
+.container-preview.show-code .commit-create, .container-preview.show-code .actions {
+ display: block;
+}
+.container-preview.show-code .commit-preview, .container-preview.show-code .loading-preview-msg, .container-preview.show-code .no-changes-preview-msg, .container-preview.show-code .error-preview-msg {
+ display: none;
+}
+.container-preview:not(.show-code) .commit-create, .container-preview:not(.show-code) .actions {
+ display: none;
+}
+.container-preview.loading-preview .loading-preview-msg {
+ display: block;
+}
+.container-preview.loading-preview .no-changes-preview-msg, .container-preview.loading-preview .error-preview-msg, .container-preview.loading-preview .commit-preview {
+ display: none;
+}
+.container-preview.show-preview .commit-preview {
+ display: block;
+}
+.container-preview.show-preview .loading-preview-msg, .container-preview.show-preview .no-changes-preview-msg, .container-preview.show-preview .error-preview-msg {
+ display: none;
+}
+.container-preview.no-changes-preview .no-changes-preview-msg {
+ display: block;
+}
+.container-preview.no-changes-preview .loading-preview-msg, .container-preview.no-changes-preview .error-preview-msg, .container-preview.no-changes-preview .commit-preview {
+ display: none;
+}
+.container-preview.error-preview .error-preview-msg {
+ display: block;
+}
+.container-preview.error-preview .loading-preview-msg, .container-preview.error-preview .no-changes-preview-msg, .container-preview.error-preview .commit-preview {
+ display: none;
+}
+.container-preview p.preview-msg {
+ padding: 30px;
+ font-size: 16px;
+}
+.ace_editor.ace-github-light {
+ position: relative;
+ font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
+ font-size: 12px;
+ line-height: 18px;
+}
+.ace_editor.ace-github-light .ace_scroller.ace_scroll-left {
+ box-shadow: none;
+}
+.ace_gutter {
+ border-right: 1px solid #eee;
+}
+.ace_gutter-layer {
+ min-width: 50px;
+}
+.ace_nobold .ace_line>span {
+ font-weight: normal !important;
+}
+.ace_marker-layer .ace_step {
+ background-color: #fcff00;
+}
+.ace_marker-layer .ace_stack {
+ background-color: #a4e565;
+}
+.ace_marker-layer .ace_selected-word {
+ background-color: #fafaff;
+}
+.ace_indent-guide {
+ box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.1);
+}
+.details-collapse .collapse {
+ position: relative;
+ display: none;
+ height: 0;
+ overflow: hidden;
+ -webkit-transition: height 0.35s ease-in-out;
+ transition: height 0.35s ease-in-out;
+}
+.details-collapse.open .collapse {
+ display: block;
+ height: auto;
+ overflow: visible;
+}
+.comment.is-comment-editing .edit-comment-hide {
+ display: none;
+}
+.comment.is-comment-editing .form-content {
+ display: block;
+}
+.comment.is-comment-loading .context-loader {
+ display: block;
+}
+.comment.is-comment-loading .form-content {
+ opacity: 0.5;
+}
+.comment.is-comment-stale .comment-form-stale {
+ display: block;
+}
+.comment.is-comment-stale .comment-content {
+ padding-top: 10px;
+}
+.comment.is-comment-stale .form-content {
+ opacity: 0.75;
+}
+.comment .email-format {
+ line-height: 1.5;
+}
+.comment .context-loader {
+ display: none;
+}
+.comment-resolve-form {
+ padding-top: 10px;
+ margin: 0 15px 15px;
+ color: #777;
+ border-top: 1px solid #eee;
+}
+.comment-resolve-form.loading {
+ opacity: 0.6;
+}
+.comment-resolve-label {
+ font-weight: normal;
+ color: #555;
+}
+.comment-body {
+ width: 100%;
+ padding: 15px;
+ overflow: visible;
+ font-size: 14px;
+}
+.comment-body .highlight {
+ overflow: visible !important;
+ background-color: transparent;
+}
+.form-actions:before {
+ display: table;
+ content: ""}
+.form-actions:after {
+ display: table;
+ clear: both;
+ content: ""}
+.form-actions .button, .form-actions .minibutton {
+ float: right;
+ margin-left: 5px;
+}
+.form-actions .left .button, .form-actions .left .minibutton {
+ margin-left: 0;
+}
+.form-content {
+ display: none;
+ padding: 10px;
+}
+.form-content .form-actions {
+ margin-top: 10px;
+}
+.comment-form-textarea {
+ width: 100%;
+ max-width: 100%;
+ height: 100px;
+ min-height: 100px;
+ margin: 0;
+ font-size: 14px;
+ line-height: 1.6;
+ -webkit-transform: translateZ(0);
+}
+.comment-form-textarea.dragover {
+ border: solid 1px #4183c4;
+}
+.discussion-topic-header {
+ position: relative;
+ padding: 10px;
+ word-wrap: break-word;
+}
+.discussion-hidden {
+ opacity: 0.75;
+}
+.comment-form-error, .comment-form-stale {
+ display: none;
+ padding: 5px 10px;
+ margin: 0 10px;
+ font-weight: bold;
+ color: #900;
+ background-color: #ffeaea;
+ border: 1px solid #e2a0a0;
+}
+.comment-form-error.comment-form-bottom, .comment-form-stale.comment-form-bottom {
+ margin-bottom: 10px;
+}
+.comment-form-stale {
+ margin-top: 0;
+}
+.email-format {
+ line-height: 1.5em !important;
+}
+.email-format div {
+ white-space: pre-wrap;
+}
+.email-format .email-hidden-reply {
+ display: none;
+ white-space: pre-wrap;
+}
+.email-format .email-quoted-reply, .email-format .email-signature-reply {
+ padding: 0 15px;
+ margin: 15px 0;
+ color: #777;
+ border-left: 4px solid #ddd;
+}
+.email-format .email-hidden-toggle a {
+ display: inline-block;
+ height: 12px;
+ padding: 0 9px;
+ font-size: 12px;
+ font-weight: bold;
+ line-height: 6px;
+ color: #555;
+ text-decoration: none;
+ vertical-align: middle;
+ background: #ddd;
+ border-radius: 1px;
+}
+.email-format .email-hidden-toggle a:hover {
+ background-color: #ccc;
+}
+.email-format .email-hidden-toggle a:active {
+ color: #fff;
+ background-color: #4183c4;
+}
+.comment-email-format div {
+ white-space: normal;
+}
+.comment-email-format .email-hidden-reply {
+ display: none;
+ white-space: normal;
+}
+.comment-email-format blockquote, .comment-email-format p {
+ margin: 0;
+}
+.blankslate.conversation-limited {
+ padding: 20px 0 10px;
+ margin: 15px;
+}
+.locked-conversation .write-tab, .locked-conversation .preview-tab {
+ color: #ccc;
+}
+.commit-sha {
+ padding: 0.2em 0.4em;
+ font-size: 90%;
+ font-weight: normal;
+ background-color: #f5f5f5;
+ border: 1px solid #eee;
+ border-radius: 0.2em;
+}
+.commit-partial-notice {
+ margin-top: 20px;
+ margin-bottom: 20px;
+}
+.commit-paginate-container {
+ float: right;
+ margin: -5px 0 0;
+ text-align: inherit;
+}
+.commit .commit-title, .commit .commit-title a {
+ color: #4e575b;
+}
+.commit .commit-title.blank, .commit .commit-title.blank a {
+ color: #9cabb1;
+}
+.commit .commit-title .issue-link {
+ font-weight: bold;
+ color: #4183c4;
+}
+.commit .sha-block, .commit .sha {
+ font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
+ font-size: 12px;
+}
+.commit.open .commit-desc {
+ display: block;
+}
+.commit-link {
+ font-weight: normal;
+ color: #4183c4;
+}
+.commit-email-flash {
+ display: inline;
+}
+.commit-desc {
+ display: none;
+}
+.commit-desc pre {
+ max-width: 700px;
+ margin: 10px 0;
+ font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
+ font-size: 13px;
+ line-height: 1.45;
+ color: #596063;
+ white-space: pre-wrap;
+}
+.commit-desc+.commit-branches {
+ padding-top: 8px;
+ margin-top: 2px;
+ border-top: solid 1px #d1e2eb;
+}
+.commit-tease {
+ padding: 8px 8px 0;
+ background: #e6f1f6;
+ border: 1px solid #b7c7cf;
+ border-bottom-color: #d8e6ec;
+ border-top-left-radius: 3px;
+ border-top-right-radius: 3px;
+}
+.commit-tease p.commit-title {
+ margin: 0 0 6px;
+}
+.commit-tease .commit-desc {
+ margin: -3px 0 10px;
+}
+.commit-tease .commit-desc pre {
+ font-size: 11px;
+}
+.commit-tease .commit-meta {
+ padding: 8px;
+ margin-right: -8px;
+ margin-left: -8px;
+ background: #fff;
+ border-top: 1px solid #d8e6ec;
+}
+.commit-tease .commit-meta .loader-loading {
+ margin: 0 0 -9px;
+}
+.commit-tease .zeroclipboard-link {
+ float: right;
+ margin-top: -2px;
+ margin-left: 5px;
+}
+.commit-tease .sha-block {
+ float: right;
+ color: #888;
+}
+.commit-tease .sha-block>.sha {
+ color: #444;
+}
+.commit-tease .sha-block>a {
+ color: #444;
+ text-decoration: none;
+}
+.commit-tease .authorship {
+ margin: -2px 0 -4px -4px;
+ font-size: 12px;
+ color: #999;
+}
+.commit-tease .authorship a {
+ font-weight: bold;
+ color: #444;
+ text-decoration: none;
+}
+.commit-tease .authorship a:hover {
+ text-decoration: underline;
+}
+.commit-tease .authorship .avatar {
+ margin: -2px 3px 0 0;
+}
+.commit-tease .authorship .author-name {
+ color: #444;
+}
+.commit-tease .authorship .committer {
+ display: block;
+ margin-left: 30px;
+ font-size: 11px;
+}
+.comment-count {
+ float: right;
+ margin-top: 1px;
+ font-size: 11px;
+ color: #7f9199;
+}
+.comment-count .octicon {
+ margin-left: 5px;
+ vertical-align: middle;
+}
+.commits-listing {
+ position: relative;
+ padding-bottom: 20px;
+ margin-bottom: 15px;
+}
+.commits-listing:before {
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ left: 14px;
+ z-index: -1;
+ display: block;
+ width: 2px;
+ content: "";
+ background-color: #f3f3f3;
+}
+.commits-listing .discussion-item-icon {
+ margin-right: 5px;
+ margin-left: -1px;
+}
+.commits-listing .timeline-commits {
+ padding-left: 8px;
+ margin-bottom: 20px;
+}
+.commits-listing .timeline-commits:last-child {
+ margin-bottom: 0;
+}
+.commits-listing-padded {
+ padding-left: 39px;
+}
+.commit-group {
+ margin-top: 10px;
+ list-style-type: none;
+}
+.commit-group-title {
+ margin-top: 15px;
+ margin-left: -31px;
+ color: #777;
+}
+.commit-group-title .octicon-git-commit {
+ margin-right: 17px;
+ color: #ccc;
+ background: #fff;
+}
+.commits-list-item.navigation-focus {
+ background: #f7fbfc;
+}
+.commits-list-item .commit-title {
+ margin: 0;
+ font-size: 15px;
+ font-weight: bold;
+ color: #333;
+}
+.commits-list-item .commit-meta {
+ margin-top: 1px;
+ font-weight: normal;
+ color: #999;
+}
+.commits-list-item .deployment-indicator {
+ color: #bbb;
+}
+.commits-list-item .status .octicon {
+ height: 14px;
+ line-height: 14px;
+}
+.commits-list-item .commit-author {
+ color: #777;
+}
+.commits-list-item .octicon-arrow-right {
+ margin: 0 3px;
+}
+.commits-list-item .button-outline {
+ padding: 5px 8px;
+ margin-top: 4px;
+}
+.commits-list-item .octicon-clippy, .commits-list-item .octicon-code {
+ display: block;
+}
+.commits-list-item .commit-desc pre {
+ padding-left: 8px;
+ margin-top: 5px;
+ margin-bottom: 10px;
+ font-size: 12px;
+ color: #596063;
+ border-left: 1px solid #e5e5e5;
+}
+.commits-list-item .commit-desc pre a {
+ word-break: break-word;
+}
+.commits-comments-link {
+ margin-top: 9px;
+ color: #999;
+ vertical-align: middle;
+}
+.commits-comments-link:hover {
+ color: #4183c4;
+ text-decoration: none;
+}
+.commit-avatar-cell {
+ width: 47px;
+}
+.commit-avatar-cell.table-list-cell {
+ padding-right: 0;
+}
+.commit-indicator {
+ margin-left: 5px;
+}
+.commit-links-cell {
+ width: 230px;
+ text-align: right;
+}
+.commit-links-group {
+ margin-right: 5px;
+}
+.timeline-commits {
+ width: 100%;
+ margin-top: 5px;
+ border-collapse: separate;
+}
+.timeline-commits+.timeline-commits {
+ margin-top: 15px;
+}
+.timeline-commits td {
+ padding-top: 4px;
+ padding-right: 8px;
+ padding-bottom: 4px;
+ font-size: 12px;
+ line-height: 16px;
+ vertical-align: top;
+ background-color: transparent;
+}
+.discussion-item .timeline-commits .commit-author {
+ display: none;
+}
+.timeline-commits .commit-gravatar {
+ width: 16px;
+ padding-left: 10px;
+}
+.timeline-commits .commit-author {
+ width: 200px;
+ padding-right: 20px;
+ white-space: nowrap;
+}
+.timeline-commits .author {
+ font-weight: bold;
+ color: #555;
+}
+.timeline-commits .commit-message {
+ min-height: 0;
+}
+.timeline-commits .commit-message a {
+ color: #555;
+}
+.timeline-commits .commit-message a:hover {
+ color: #4183c4;
+}
+.timeline-commits .commit-desc pre {
+ padding-left: 10px;
+ font-size: 11px;
+ color: #777;
+ border-left: 1px solid #eee;
+}
+.timeline-commits .commit-desc pre a {
+ word-break: break-word;
+}
+.timeline-commits .hidden-text-expander {
+ margin-top: 3px;
+ margin-left: 0;
+ vertical-align: top;
+}
+.timeline-commits .hidden-text-expander a {
+ height: 13px;
+ background-color: #eee;
+}
+.timeline-commits .hidden-text-expander a:hover {
+ color: #fff;
+ background-color: #4183c4;
+}
+.timeline-commits .commit-meta {
+ text-align: right;
+ white-space: nowrap;
+}
+.timeline-commits .commit-meta .status {
+ width: 16px;
+ text-align: center;
+}
+.timeline-commits .commit-meta .status.status-pending {
+ color: #cea61b;
+}
+.timeline-commits .commit-meta .octicon {
+ margin-right: 1px;
+ margin-left: 1px;
+}
+.commit-icon {
+ display: table-cell;
+ width: 16px;
+ color: #ccc;
+}
+.commit-icon .octicon {
+ background-color: #fff;
+}
+.commit-id {
+ color: #bbb;
+}
+.commit-id:hover {
+ color: #4183c4;
+}
+.full-commit {
+ padding: 8px 8px 0;
+ margin: 10px 0;
+ background: #e6f1f6;
+ border: 1px solid #c5d5dd;
+ border-radius: 3px;
+}
+.full-commit:first-child {
+ margin-top: 0;
+}
+.full-commit .button-outline {
+ background: none;
+ border: 1px solid #cedee5;
+}
+.full-commit .button-outline:hover {
+ color: #4183c4;
+ border: 1px solid #4183c4;
+}
+.full-commit p.commit-title {
+ margin: 0 0 8px;
+ font-size: 18px;
+ font-weight: bold;
+ color: #213f4d;
+ text-shadow: 0 1px rgba(255, 255, 255, 0.5);
+}
+.full-commit .branches-list {
+ display: inline-block;
+ margin-right: 10px;
+ vertical-align: middle;
+ list-style: none;
+}
+.full-commit .branches-list li {
+ display: inline-block;
+ padding-left: 3px;
+ font-weight: bold;
+ color: #596063;
+}
+.full-commit .branches-list li:before {
+ padding-right: 6px;
+ font-weight: normal;
+ content: "+"}
+.full-commit .branches-list li:first-child {
+ padding-left: 0;
+}
+.full-commit .branches-list li:first-child:before {
+ padding-right: 0;
+ content: ""}
+.full-commit .branches-list li.loading {
+ font-weight: normal;
+ color: #818c90;
+}
+.full-commit .branches-list li.pull-request {
+ font-weight: normal;
+ color: #818c90;
+}
+.full-commit .branches-list li.pull-request:before {
+ margin-left: -8px;
+ content: ""}
+.full-commit .branches-list li.pull-request-error {
+ margin-bottom: -1px;
+}
+.full-commit .branches-list li a {
+ color: inherit;
+}
+.full-commit .commit-meta {
+ padding: 8px;
+ margin-right: -8px;
+ margin-left: -8px;
+ background: #fff;
+ border-top: 1px solid #d8e6ec;
+ border-bottom-right-radius: 3px;
+ border-bottom-left-radius: 3px;
+}
+.full-commit .sha-block {
+ float: right;
+ margin-left: 15px;
+ font-size: 12px;
+ color: #888;
+}
+.full-commit.merge-commit .sha-block {
+ clear: right;
+}
+.full-commit.merge-commit .sha-block+.sha-block {
+ margin-top: 2px;
+}
+.full-commit .sha-block>.sha {
+ color: #444;
+}
+.full-commit .sha-block>a {
+ color: #444;
+ text-decoration: none;
+ border-bottom: 1px dotted #ccc;
+}
+.full-commit .sha-block>a:hover {
+ border-bottom: 1px solid #444;
+}
+.full-commit .authorship {
+ margin-top: -2px;
+ margin-bottom: -4px;
+ margin-left: -4px;
+ font-size: 14px;
+ color: #999;
+}
+.full-commit .authorship .gravatar {
+ margin-top: -2px;
+ margin-right: 3px;
+ vertical-align: middle;
+ border-radius: 3px;
+}
+.full-commit .authorship a {
+ font-weight: bold;
+ color: #444;
+ text-decoration: none;
+}
+.full-commit .authorship a:hover {
+ text-decoration: underline;
+}
+.full-commit .authorship .author-name {
+ color: #444;
+}
+.full-commit .authorship .hint a {
+ color: #4183c4;
+}
+.full-commit .authorship .committer {
+ display: block;
+ margin-top: -2px;
+ margin-left: 34px;
+ font-size: 12px;
+}
+.branches-tag-list {
+ display: inline-block;
+ margin-right: 10px;
+ vertical-align: middle;
+ list-style: none;
+}
+.branches-tag-list .more-commit-details, .branches-tag-list.open .hidden-text-expander {
+ display: none;
+}
+.branches-tag-list.open .more-commit-details {
+ display: inline-block;
+}
+.branches-tag-list li {
+ display: inline-block;
+ padding-left: 3px;
+}
+.branches-tag-list li:first-child {
+ padding-left: 0;
+ font-weight: bold;
+ color: #596063;
+}
+.branches-tag-list li.loading {
+ font-weight: normal;
+ color: #818c90;
+}
+.branches-tag-list li.abbrev-tags {
+ cursor: pointer;
+}
+.branches-tag-list li a {
+ color: inherit;
+}
+.branches-tag-list li .hidden-text-expander a {
+ background-color: #dae5eb;
+}
+.branches-tag-list li .hidden-text-expander a:hover {
+ background-color: #d1dbe0;
+}
+.commit-branches {
+ min-height: 18px;
+ margin-top: -6px;
+ margin-bottom: 8px;
+ font-size: 12px;
+ color: #818c90;
+ vertical-align: middle;
+}
+.commit-branches .octicon {
+ vertical-align: middle;
+}
+.full-commit .commit-desc, .commit-desc-container .commit-desc {
+ display: block;
+ margin: -5px 0 10px;
+}
+.full-commit .commit-desc pre, .commit-desc-container .commit-desc pre {
+ max-width: 100%;
+ overflow: visible;
+ text-shadow: 0 1px rgba(255, 255, 255, 0.5);
+ word-wrap: break-word;
+}
+.commit-loader .loader-error {
+ display: none;
+ margin: 0;
+ font-size: 12px;
+ font-weight: bold;
+ color: #bd2c00;
+}
+.commit-loader.error .loader-loading {
+ display: none;
+}
+.commit-loader.error .loader-error {
+ display: block;
+}
+.historical-banner {
+ padding: 15px 20px 15px 130px;
+ margin-bottom: 20px;
+ overflow: hidden;
+ color: #333;
+ background: #fff;
+ border: 1px solid #e5e5e5;
+ border-radius: 5px;
+}
+.historical-banner h2 {
+ margin: 0 0 5px;
+}
+.historical-banner p {
+ margin: 0;
+}
+.historical-banner .illustration {
+ position: absolute;
+ top: 12px;
+ left: 20px;
+ color: rgba(0, 0, 0, 0.1);
+}
+.roses-divider {
+ margin-bottom: 20px;
+ text-align: center;
+}
+.file-history-tease {
+ margin-bottom: 10px;
+ font-size: 14px;
+ color: #7b878c;
+ background: #e7ecee;
+ border: 1px solid #d2d9dd;
+ border-radius: 3px;
+}
+.file-history-tease .author a {
+ font-weight: bold;
+ color: #000;
+}
+.file-history-tease .commit-title {
+ display: inline;
+}
+.file-history-tease .sha {
+ font-size: 13px;
+}
+.file-history-tease .loader-loading, .file-history-tease .loader-error {
+ margin: 0;
+}
+.file-history-tease .loader-loading img, .file-history-tease .loader-error img {
+ vertical-align: middle;
+}
+.file-history-tease .participation {
+ padding: 5px 8px;
+ font-size: 12px;
+ font-weight: normal;
+ line-height: 20px;
+ color: #666;
+ background-color: #fff;
+ border-top: 1px solid #d8e6ec;
+ border-bottom-right-radius: 3px;
+ border-bottom-left-radius: 3px;
+}
+.file-history-tease .participation:before {
+ display: table;
+ content: ""}
+.file-history-tease .participation:after {
+ display: table;
+ clear: both;
+ content: ""}
+.file-history-tease .participation .quickstat {
+ float: left;
+ margin: 0 10px 0 0;
+}
+.file-history-tease .participation .quickstat strong {
+ color: #000;
+}
+.file-history-tease .participation a {
+ color: #888;
+ text-decoration: none;
+}
+.file-history-tease .participation .avatar-link {
+ margin-right: 3px;
+}
+.file-history-tease-header {
+ padding: 5px 8px;
+ line-height: 24px;
+}
+.file-history-tease-header .avatar {
+ float: left;
+ margin-right: 5px;
+}
+.toggle-line-notes-below {
+ color: #777;
+}
+.commit-comments-heading h3 {
+ display: inline-block;
+ margin-right: 15px;
+}
+.commit-build-statuses {
+ position: relative;
+ display: inline-block;
+ text-align: left;
+}
+.commit-build-statuses.active .dropdown-menu-content {
+ display: block;
+}
+.commit-build-statuses.active .tooltipped:before, .commit-build-statuses.active .tooltipped:after {
+ display: none;
+}
+.commit-build-statuses .dropdown-menu {
+ min-width: 400px;
+ max-width: 500px;
+ padding-top: 0;
+ padding-bottom: 0;
+}
+.commit-build-statuses .dropdown-menu .build-statuses-list {
+ max-height: 170px;
+ border-bottom: 0;
+}
+.commit-build-statuses .dropdown-menu-w, .commit-build-statuses .dropdown-menu-e {
+ top: -11px;
+}
+.commit-build-statuses .build-status-description .button-link {
+ display: none;
+}
+.commit-build-statuses .build-status-item:last-child {
+ border-radius: 0 0 2px 2px;
+}
+.commit-ref {
+ position: relative;
+ display: inline-block;
+ padding: 0 5px;
+ border-radius: 3px;
+ font: 0.75em/2 Consolas, "Liberation Mono", Menlo, Courier, monospace;
+ color: #336479;
+ white-space: nowrap;
+ background-color: #e8f0f8;
+}
+.commit-ref .user {
+ color: #598a9f;
+}
+a.commit-ref:hover {
+ text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.2);
+ background-color: #2a5177;
+ background-image: -webkit-linear-gradient(#74a4d4, #2a5177);
+ background-image: linear-gradient(#74a4d4, #2a5177);
+ background-repeat: repeat-x;
+ border-color: #2a5177;
+ text-decoration: none;
+}
+.compare-cutoff, .diff-cutoff {
+ margin: 5px 0;
+ padding: 8px 0;
+ font-weight: bold;
+ text-align: center;
+ border-radius: 3px;
+ color: #4c4a42;
+ background-color: #fff9ea;
+ border: solid 1px #dfd8c2;
+}
+.table-of-contents {
+ margin: 15px 0;
+}
+.table-of-contents .diffstat {
+ float: right;
+}
+.table-of-contents li {
+ padding: 5px 0;
+ list-style-type: none;
+}
+.table-of-contents li+li {
+ border-top: 1px solid #eee;
+}
+.table-of-contents .content {
+ font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
+ clear: both;
+}
+.table-of-contents .octicon-diff-removed {
+ color: #bd2c00;
+}
+.table-of-contents .octicon-diff-renamed {
+ color: #677a85;
+}
+.table-of-contents .octicon-diff-modified {
+ color: #d0b44c;
+}
+.table-of-contents .octicon-diff-added {
+ color: #6cc644;
+}
+.toc-diff-stats {
+ padding-left: 20px;
+ line-height: 26px;
+}
+.toc-diff-stats .octicon {
+ float: left;
+ margin-top: 3px;
+ margin-left: -20px;
+ color: #ccc;
+}
+.toc-diff-stats .button-link {
+ font-weight: bold;
+}
+.toc-diff-stats+.content {
+ padding-top: 5px;
+}
+span.diffstat {
+ white-space: nowrap;
+ text-align: right;
+ font-family: Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
+ color: #666;
+ font-weight: bold;
+ font-size: 11px;
+ cursor: default;
+}
+span.diffstat a {
+ text-decoration: none;
+ color: #666;
+}
+span.diffstat .diffstat-bar {
+ margin-left: 3px;
+ display: inline-block;
+ width: 45px;
+ height: 12px;
+ text-decoration: none;
+ text-align: left;
+ color: #eee;
+ font: normal normal 16px/1 "octicons";
+ display: inline-block;
+ text-decoration: none;
+ -webkit-font-smoothing: antialiased;
+ font-size: 16px;
+ letter-spacing: 1px;
+}
+span.diffstat .diffstat-bar.diff-deleted, span.diffstat .diffstat-bar i.minus {
+ color: #bd2c00;
+ font-style: normal;
+}
+span.diffstat .diffstat-bar.diff-added, span.diffstat .diffstat-bar i.plus {
+ color: #6cc644;
+ font-style: normal;
+}
+span.diffstat .lines-added, span.diffstat .lines-deleted {
+ display: inline-block;
+ margin-left: 3px;
+ font-weight: bold;
+}
+span.diffstat .lines-added .diffstat-icon, span.diffstat .lines-deleted .diffstat-icon {
+ vertical-align: 1px;
+}
+span.diffstat .lines-added {
+ color: #55a532;
+}
+span.diffstat .lines-deleted {
+ color: #bd2c00;
+}
+span.no-nl-marker {
+ position: relative;
+ top: 1px;
+ color: #bd2c00;
+ margin-left: 4px;
+ vertical-align: middle;
+}
+.symlink .no-nl-marker {
+ display: none;
+}
+.existing-pull {
+ margin: 10px 0;
+}
+.existing-pull .list-group-item:before {
+ display: table;
+ content: ""}
+.existing-pull .list-group-item:after {
+ display: table;
+ clear: both;
+ content: ""}
+.existing-pull .existing-pull-contents {
+ float: left;
+ width: 680px;
+}
+.existing-pull .existing-pull-button {
+ float: right;
+ margin-top: 3px;
+}
+.existing-pull .existing-pull-number {
+ font-weight: normal;
+ color: #aaa;
+}
+.existing-pull .css-truncate {
+ max-width: 700px;
+}
+.existing-pull .css-truncate p {
+ display: inline;
+}
+.compare-pr-placeholder {
+ margin: 10px 0;
+ padding: 15px;
+ font-size: 14px;
+ color: #4c4a42;
+ background-color: #fff9ea;
+ border: solid 1px #dfd8c2;
+ border-radius: 3px;
+}
+.compare-pr-placeholder p {
+ margin: 7px 0;
+ color: #6d6c60;
+}
+.compare-pr-placeholder .button {
+ margin-right: 10px;
+ margin-bottom: -2px;
+}
+.compare-pr-placeholder .button .octicon {
+ vertical-align: -1px;
+}
+.compare-pr-placeholder .help-link {
+ margin-top: 5px;
+ margin-right: -3px;
+ padding: 3px;
+ color: #9c997d;
+ text-decoration: none;
+}
+.compare-pr .pull-request-composer {
+ display: none;
+}
+.compare-pr .contributing {
+ display: none;
+}
+.compare-pr.open .compare-pr-placeholder {
+ display: none;
+}
+.compare-pr.open .pull-request-composer {
+ display: block;
+}
+.compare-pr.open .contributing {
+ display: block;
+}
+.contributing {
+ padding: 15px;
+ margin: 15px 0;
+ font-size: 14px;
+ color: #4c4a42;
+ background-color: #fff9ea;
+ border: 1px solid #dfd8c2;
+ border-radius: 3px;
+}
+.pull-request-composer {
+ position: relative;
+ margin-bottom: 15px;
+ border: 1px solid #ddd;
+ border-radius: 3px;
+}
+.pull-request-composer .preview-content {
+ min-height: 120px;
+}
+.discussion-topic {
+ float: left;
+ width: 80%;
+ border-right: 1px solid #ddd;
+}
+.composer-meta {
+ float: left;
+ width: 20%;
+ padding-right: 10px;
+ padding-left: 10px;
+ text-align: center;
+}
+.composer-meta .branch-action-icon {
+ display: inline-block;
+ float: none;
+ margin: 15px 0;
+}
+.composer-meta .merge-branch-heading {
+ font-size: 14px;
+}
+.composer-meta .merge-branch-description {
+ margin: 10px 0;
+ font-size: 12px;
+}
+.composer-meta .branch-action-state-clean .merge-branch-heading {
+ color: #6cc644;
+}
+.composer-submit {
+ position: absolute;
+ right: 1%;
+ bottom: 10px;
+ width: 18%}
+#contact-github textarea {
+ height: 100px;
+ resize: vertical;
+}
+.heartocat {
+ display: block;
+ margin: 50px auto 0;
+}
+.documentation-results-wrapper {
+ position: relative;
+ top: -19px;
+}
+.documentation-results {
+ position: absolute;
+ top: 0;
+ z-index: 2;
+ width: 400px;
+ margin-top: 5px;
+ clear: both;
+ box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
+}
+.documentation-results ul {
+ width: 100%}
+.documentation-results ul li:first-child a {
+ border-top-left-radius: 3px;
+ border-top-right-radius: 3px;
+}
+.documentation-results .documentation-results-footer a {
+ border-bottom-left-radius: 3px;
+ border-bottom-right-radius: 3px;
+}
+.documentation-results a {
+ outline: none;
+ padding: 5px 10px;
+ display: block;
+ color: #333;
+ font-weight: bold;
+ cursor: pointer;
+ text-decoration: none;
+ border: solid #ddd;
+ border-width: 0 1px 1px;
+ background-color: #fff;
+}
+.documentation-results a:hover {
+ background-color: #3586c3;
+ color: #fff;
+}
+.documentation-results a.selected {
+ background-color: #3586c3;
+ color: #fff;
+}
+ul.documentation-results-group {
+ list-style-type: none;
+}
+.contact-form-extras {
+ display: none;
+}
+.context-loader-container .context-loader {
+ display: none;
+}
+.context-loader-container .context-loader.is-context-loading {
+ display: block;
+ white-space: nowrap;
+}
+.context-loader-container .context-loader-overlay {
+ opacity: 1;
+ -webkit-transition: opacity 0.25s ease-in-out;
+ transition: opacity 0.25s ease-in-out;
+}
+.context-loader-container .context-loader-overlay.is-context-loading {
+ opacity: 0.5;
+}
+.page-context-loader {
+ margin-left: 10px;
+ display: none;
+}
+.page-context-loader.is-context-loading {
+ display: inline-block;
+}
+body.disables-context-loader .page-context-loader, body.disables-context-loader .context-loader {
+ display: none !important;
+}
+.contributions-tab {
+ margin-top: 20px;
+}
+.calendar-graph {
+ padding: 5px 0 0;
+ height: 126px;
+ text-align: center;
+}
+.calendar-graph.days-selected rect.day {
+ opacity: 0.5;
+}
+.calendar-graph.days-selected rect.day.active {
+ opacity: 1;
+}
+.calendar-graph .activity {
+ margin-top: 0;
+}
+.calendar-graph .dots {
+ margin: 20px auto 0;
+ width: 64px;
+ height: 64px;
+}
+.calendar-graph text.month {
+ font-size: 10px;
+ fill: #aaa;
+}
+.calendar-graph text.wday {
+ fill: #ccc;
+ font-size: 9px;
+}
+#contributions-calendar rect.day {
+ shape-rendering: crispedges;
+}
+#contributions-calendar rect.day.empty:hover {
+ stroke: none;
+}
+#contributions-calendar rect.day:hover {
+ stroke: #555;
+ stroke-width: 1px;
+}
+.contrib-column {
+ padding: 15px 0;
+ text-align: center;
+ border-left: 1px solid #ddd;
+ border-top: 1px solid #ddd;
+ font-size: 11px;
+}
+.contrib-column-first {
+ border-left: 0;
+}
+.contrib-number {
+ font-weight: 300;
+ line-height: 1.3em;
+ font-size: 24px;
+ display: block;
+ color: #333;
+}
+.contrib-footer {
+ font-size: 11px;
+ padding: 0 10px 12px;
+}
+.contrib-legend {
+ font-size: 11px;
+ color: #999;
+ float: right;
+}
+.contrib-legend .legend {
+ display: inline-block;
+ list-style: none;
+ margin: 0 5px;
+ position: relative;
+ bottom: -1px;
+}
+.contrib-legend .legend li {
+ display: inline-block;
+ width: 10px;
+ height: 10px;
+}
+.new-user-contrib-intro {
+ border-top: solid 1px #ddd;
+ padding: 5px 20px;
+ font-size: 16px;
+}
+.contrib-square {
+ color: #d6e685;
+ font-size: 22px;
+ line-height: 1;
+}
+.contribution-activity h2 {
+ font-size: 18px;
+ font-weight: normal;
+ margin: 30px 0 15px;
+}
+.contribution-activity .select-menu-button {
+ position: relative;
+ top: -4px;
+}
+.contribution-activity.loading .contribution-activity-listing {
+ display: none;
+}
+.contribution-activity.loading .contribution-activity-spinner {
+ display: block;
+}
+.contribution-activity-spinner {
+ margin: 20px auto 0;
+ width: 64px;
+ height: 64px;
+ display: none;
+}
+ul.simple-conversation-list a.meta {
+ color: #777;
+}
+li.contribution {
+ list-style: none;
+ padding: 10px 0;
+}
+li.contribution:last-child {
+ border-bottom: 0;
+}
+li.contribution h3 {
+ font-size: 14px;
+ display: inline-block;
+ margin: 0;
+}
+li.contribution h3 a {
+ color: #4183c4;
+}
+li.contribution .cmeta {
+ display: block;
+ font-size: 12px;
+ color: #aaa;
+ font-weight: normal;
+}
+li.contribution .cmeta a {
+ color: #666;
+}
+li.contribution .cmt {
+ color: #999;
+}
+li.contribution .d {
+ color: #c00;
+}
+li.contribution .a {
+ color: #8cac29;
+}
+li.contribution .num {
+ color: #777;
+}
+.subscribe-feed {
+ display: inline-block;
+ color: #333;
+}
+.subscribe-feed .octicon {
+ margin-right: 5px;
+}
+.new-user-panel {
+ position: relative;
+ padding: 18px;
+ margin-bottom: 30px;
+ font-size: 16px;
+ border: dashed 2px #ccc;
+ border-radius: 3px;
+}
+.new-user-panel-close {
+ position: absolute;
+ top: 10px;
+ right: 18px;
+ color: #ccc;
+}
+.new-user-panel-close:hover {
+ color: #666;
+}
+.new-user-intro {
+ margin: 0 120px;
+ font-size: 36px;
+ font-weight: normal;
+ line-height: 1.3;
+ text-align: center;
+}
+.new-user-heading-small {
+ margin: 5px 170px 20px;
+ font-size: 20px;
+ color: #888;
+ text-align: center;
+}
+.button-hello-world {
+ font-size: 16px;
+ padding: 10px 50px;
+}
+.welcome-guides {
+ position: relative;
+ padding: 30px;
+ margin-bottom: 30px;
+ border: 2px dashed #ddd;
+ border-radius: 3px;
+}
+.welcome-guides h1 {
+ margin-top: 0;
+ margin-bottom: 0;
+ text-align: center;
+}
+.welcome-guides .lead {
+ margin-top: 0;
+ margin-bottom: 20px;
+ text-align: center;
+}
+.welcome-guides .guides-list-item {
+ color: #777;
+}
+.welcome-guides .guides-list-item:hover {
+ color: #4183c4;
+ text-decoration: none;
+}
+.welcome-guides .guides-list-item p {
+ margin-bottom: 0;
+}
+.welcome-guides .dismiss-guides {
+ position: absolute;
+ top: 30px;
+ right: 28px;
+ display: block;
+ padding-left: 5px;
+ color: #ccc;
+}
+.welcome-guides .dismiss-guides:hover {
+ color: #4183c4;
+}
+.guides-bootcamp {
+ text-align: center;
+}
+.guides-bootcamp p {
+ margin-top: 0;
+ margin-bottom: 0;
+}
+.guides-bootcamp .guides-list-item {
+ padding-right: 15px;
+ padding-left: 15px;
+}
+.guides-bootcamp .guides-image {
+ display: block;
+ width: auto;
+ height: 100px;
+ margin: 10px auto 20px;
+}
+.guides-bootcamp .guides-list-title {
+ margin-top: 0;
+ margin-bottom: 5px;
+ color: #4183c4;
+}
+.bootcamp {
+ margin: 0 0 20px;
+}
+.bootcamp h1 {
+ position: relative;
+ padding: 8px 10px;
+ margin: 0;
+ font-size: 16px;
+ font-weight: bold;
+ color: #fff;
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
+ background-color: #829aa8;
+ border: 1px solid #677c89;
+ border-bottom-color: #6b808d;
+ border-radius: 3px 3px 0 0;
+}
+.bootcamp h1 a {
+ color: #fff;
+ text-decoration: none;
+}
+.bootcamp .octicon-x {
+ position: relative;
+ top: -2px;
+ font-size: 16px;
+ line-height: 16px;
+}
+.bootcamp .dismiss-bootcamp {
+ position: absolute;
+ top: 9px;
+ right: 9px;
+ display: block;
+ width: 16px;
+ height: 16px;
+ background-repeat: no-repeat;
+ background-position: 0 0;
+}
+.bootcamp .dismiss-bootcamp:hover {
+ background-position: 0 -19px;
+}
+.bootcamp .bootcamp-body {
+ padding: 10px 1%;
+ overflow: hidden;
+ background-color: #e9f1f4;
+ border-color: #e9f1f4 #d8dee2 #d8dee2;
+ border-style: solid;
+ border-width: 1px;
+ border-radius: 0 0 3px 3px;
+}
+.bootcamp ul li {
+ background-color: #f5f3b4;
+ background-image: -webkit-linear-gradient(#fffff5, #f5f3b4);
+ background-image: linear-gradient(#fffff5, #f5f3b4);
+ background-repeat: repeat-x;
+ position: relative;
+ display: block;
+ float: left;
+ width: 24.25%;
+ height: 215px;
+ margin: 0 1% 0 0;
+ overflow: hidden;
+ font-size: 13px;
+ font-weight: normal;
+ color: #666;
+ border: 1px solid #dfddb5;
+ border-radius: 3px;
+ box-shadow: 0 1px 0 #fff;
+}
+.bootcamp ul li.be-social {
+ margin-right: 0;
+}
+.bootcamp ul li:hover {
+ background-color: #f1eea3;
+ background-image: -webkit-linear-gradient(#fcfce9, #f1eea3);
+ background-image: linear-gradient(#fcfce9, #f1eea3);
+ background-repeat: repeat-x;
+ border: 1px solid #d6d4ad;
+}
+.bootcamp ul li a {
+ color: #666;
+ text-decoration: none;
+}
+.bootcamp .image {
+ position: relative;
+ display: block;
+ height: 133px;
+ background-repeat: no-repeat;
+ background-position: center center;
+}
+.bootcamp .setup .image {
+ background-image: url(/assets/modules/dashboard/bootcamp/octocat_setup-1d94846160fdf54b6ca7d2b73aa5f1647322513514786ac9e137b1eb846db9ca.png);
+ background-size: 129px 96px;
+}
+.bootcamp .create-a-repo .image {
+ background-image: url(/assets/modules/dashboard/bootcamp/octocat_repo-70ae42e0e4fb1f6856d4871062f0d979b7f19e67ccdc8992bcc6b502464fd561.png);
+ background-size: 129px 96px;
+}
+.bootcamp .fork-a-repo .image {
+ background-image: url(/assets/modules/dashboard/bootcamp/octocat_fork-6e0b56d6903d4e2e32ffdeb1ebe0ce5c79ce938f45acf803f3421cc5aafc05aa.png);
+ background-size: 178px 96px;
+}
+.bootcamp .be-social .image {
+ background-image: url(/assets/modules/dashboard/bootcamp/octocat_collabocats-974d8e7d814eb7bd416a8cce94bd03edef6881f18546bef185ec8878720c1dbc.png);
+ background-position: center 27px;
+ background-size: 207px 96px;
+}
+.bootcamp .desc {
+ position: relative;
+ z-index: 2;
+ padding: 10px 15px 20px;
+ overflow: hidden;
+ text-align: center;
+ background-repeat: no-repeat;
+}
+.bootcamp .desc>h2 {
+ padding: 0;
+ margin: 0 0 5px;
+ font-size: 15px;
+ color: #393939;
+}
+.bootcamp .desc p {
+ padding: 0;
+ margin: 0;
+ line-height: 1.2em;
+}
+.bootcamp .step-number {
+ position: absolute;
+ top: -1px;
+ left: 10px;
+ font-size: 36px;
+ font-weight: bold;
+ color: #e4e1a8;
+ opacity: 0.75;
+}
+.first-run {
+ width: 800px;
+ margin: 25px auto;
+ text-align: center;
+}
+.first-run-heading {
+ font-size: 36px;
+ font-weight: normal;
+}
+.first-run-subheading {
+ font-size: 16px;
+ font-weight: normal;
+ color: #999;
+}
+.first-run-survey {
+ width: 800px;
+ padding: 0;
+ margin: 0 auto;
+}
+.first-run-survey .button+.button {
+ margin-left: 12px;
+}
+.first-run-survey ul.guides {
+ list-style-type: none;
+}
+.first-run-small-wrapper {
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+ padding: 35px 25px;
+ margin-top: 25px;
+ background-color: #f0f7fd;
+ border: 1px solid #d2d8dd;
+ border-radius: 3px;
+}
+.first-run-survey-question p {
+ margin: 0 0 25px;
+ font-size: 22px;
+ font-weight: 500;
+ line-height: 1;
+}
+.first-run-survey-progress {
+ margin-top: 25px;
+}
+.first-run-survey-progress .circle {
+ display: inline-block;
+ width: 10px;
+ height: 10px;
+ margin: 0 4px;
+ border: 1px solid #d1d1d1;
+ border-radius: 52%}
+.first-run-survey-progress .current {
+ background-color: #4183c4;
+ border-color: #4183c4;
+}
+.first-run-survey-progress .completed {
+ background-color: #d1d1d1;
+ border-color: #d1d1d1;
+}
+.first-run-survey-other {
+ width: 230px;
+ margin: 16px auto auto;
+}
+.first-run-skip {
+ padding: 15px 0 0;
+ margin-top: 30px;
+ font-size: 14px;
+ border-top: 1px solid #e9e9e9;
+}
+.first-run-skip span {
+ font-weight: 500;
+}
+.first-run-get-started {
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+ padding: 0 2px;
+ margin: 25px 0;
+ overflow: hidden;
+ clear: both;
+ border: 1px solid #e5e5e5;
+ border-radius: 3px;
+ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.01);
+}
+.first-run-get-started div {
+ float: left;
+ width: 50%;
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+ padding: 18px 20px 22px 18px;
+ text-align: left;
+}
+.first-run-get-started .mega-octicon {
+ float: left;
+ color: #cccccc;
+}
+.first-run-get-started p {
+ padding: 0 0 0 47px;
+ margin: 5px 0;
+ color: #333;
+}
+.first-run-get-started h2 {
+ padding: 0 0 0 47px;
+ margin: 0 0 10px;
+ font-size: 18px;
+ font-weight: bold;
+ color: #333;
+}
+.first-run-get-started a {
+ margin-top: 12px;
+ margin-left: 47px;
+}
+.first-run-get-started .first-box {
+ border-right: 1px solid #eee;
+}
+.first-run-help-link {
+ color: #999;
+}
+.user-repos .mini-repo-list-item {
+ padding-right: 6px;
+}
+.user-repos .mini-repo-list-item .repo-and-owner {
+ max-width: 100%}
+.user-repos .mini-repo-list-item .owner {
+ max-width: 145px;
+}
+#example_octofication {
+ float: right;
+ width: 335px;
+ margin: 0;
+}
+.octofication {
+ margin-bottom: 15px;
+}
+.octofication .message {
+ min-height: 56px;
+ padding: 10px 10px 10px 50px;
+ border: solid 1px #4183c4;
+ border-radius: 3px;
+}
+.octofication .message h3 {
+ margin: 1px 20px 3px 0;
+ font-size: 14px;
+ line-height: 1.2;
+}
+.octofication .message p {
+ padding: 0;
+ margin: 0;
+ font-size: 12px;
+ color: #555;
+}
+.octofication .message p+p {
+ margin-top: 15px;
+}
+.octofication .broadcast-icon {
+ position: relative;
+ float: left;
+ margin-left: -40px;
+ color: #4183c4;
+}
+.octofication .broadcast-icon-mask {
+ position: absolute;
+ top: 0;
+ width: 10px;
+ height: 16px;
+ background-color: #fff;
+ opacity: 0;
+ -webkit-animation: broadCastMaskFade 1s ease-in-out 2s 2;
+ animation: broadCastMaskFade 1s ease-in-out 2s 2;
+}
+.octofication .broadcast-icon-mask.left {
+ left: 0;
+}
+.octofication .broadcast-icon-mask.right {
+ right: 0;
+}
+.octofication .notice-dismiss {
+ position: relative;
+ top: -2px;
+ float: right;
+ color: #bbb;
+}
+.octofication .notice-dismiss:hover {
+ color: #666;
+}
+.octofication-more {
+ margin: 5px 0;
+ font-size: 11px;
+ text-align: right;
+}
+@-webkit-keyframes broadCastMaskFade {
+ 0% {
+ opacity: 0;
+}
+30% {
+ opacity: 1;
+}
+70% {
+ opacity: 1;
+}
+100% {
+ opacity: 0;
+}
+}@keyframes broadCastMaskFade {
+ 0% {
+ opacity: 0;
+}
+30% {
+ opacity: 1;
+}
+70% {
+ opacity: 1;
+}
+100% {
+ opacity: 0;
+}
+}.github-jobs-promotion {
+ margin-bottom: 15px;
+}
+.github-jobs-promotion p {
+ background-color: #e4f0ff;
+ background-image: -webkit-linear-gradient(#f5fbff, #e4f0ff);
+ background-image: linear-gradient(#f5fbff, #e4f0ff);
+ background-repeat: repeat-x;
+ position: relative;
+ padding: 10px 18px;
+ font-size: 12px;
+ color: #1b3650;
+ text-align: center;
+ border: 1px solid #cee0e7;
+ border-radius: 3px;
+}
+.github-jobs-promotion p a {
+ color: #1b3650;
+}
+.github-jobs-promotion a.jobs-logo {
+ display: block;
+ font-size: 11px;
+ color: #999;
+ text-align: center;
+}
+.github-jobs-promotion a.jobs-logo:hover {
+ text-decoration: none;
+}
+.github-jobs-promotion a.jobs-logo strong {
+ display: inline-block;
+ width: 62px;
+ height: 12px;
+ text-indent: -9999px;
+ vertical-align: middle;
+ background: url(/assets/modules/jobs/logo-5f88df64715f56b75c4dc3cfe897caa75bdb14ddfae7156c3efd7863f686f0bc.png) 0 0 no-repeat;
+ background-size: 62px auto;
+}
+.github-jobs-promotion .job-location {
+ white-space: nowrap;
+}
+.github-jobs-promotion a.octicon-info {
+ position: absolute;
+ right: 5px;
+ bottom: 5px;
+ color: #a9b8be;
+ color: #a9b8be;
+ text-decoration: none;
+ cursor: pointer;
+ opacity: 0.8;
+}
+.github-jobs-promotion p:hover .octicon-info {
+ opacity: 1;
+}
+#dashboard h1 {
+ margin-bottom: 0.5em;
+ font-size: 160%}
+#dashboard h1 a {
+ font-size: 70%;
+ font-weight: normal;
+}
+#dashboard .notice {
+ padding: 15px;
+ margin-top: 0;
+ margin-bottom: 0;
+ text-align: center;
+}
+.news .release {
+ margin-top: 0;
+ margin-bottom: 0;
+}
+.news blockquote {
+ color: #666;
+}
+.news h1 {
+ margin-bottom: 0;
+}
+.news .alert {
+ position: relative;
+ padding: 0 0 1em 45px;
+ overflow: hidden;
+ border-top: 1px solid #f1f1f1;
+}
+.news .alert .commits {
+ padding-left: 40px;
+}
+.news .alert .css-truncate.css-truncate-target, .news .alert .css-truncate .css-truncate-target {
+ max-width: 180px;
+}
+.news .alert p {
+ margin: 0;
+}
+.news .alert .markdown-body blockquote {
+ padding: 0 0 0 40px;
+ border: 0 none;
+}
+.news .alert .mega-octicon {
+ position: absolute;
+ top: 14px;
+ left: 0;
+ width: 32px;
+ height: 32px;
+ padding: 3px;
+ color: #bbb;
+}
+.news .alert .mega-octicon::before {
+ color: inherit;
+}
+.news .alert .octicon {
+ width: 16px;
+ height: 16px;
+ color: #bbb;
+}
+.news .alert .body {
+ padding: 1em 0 0;
+ overflow: hidden;
+ font-size: 14px;
+ border-bottom: 0;
+}
+.news .alert .time {
+ font-size: 12px;
+ color: #bbb;
+}
+.news .alert .title {
+ padding: 0;
+ font-weight: bold;
+}
+.news .alert .title .subtle {
+ color: #bbb;
+}
+.news .alert .gravatar {
+ float: left;
+ margin-right: 0.6em;
+ line-height: 0;
+ background-color: #fff;
+ border-radius: 3px;
+}
+.news .alert .simple>.octicon {
+ position: absolute !important;
+ left: 11px;
+ width: 16px;
+ height: 16px;
+}
+.news .alert .simple .title {
+ display: inline-block;
+ font-size: 13px;
+ font-weight: normal;
+ color: #666;
+}
+.news .alert .simple .time {
+ display: inline-block;
+}
+.news .alert .pull-info, .news .alert .branch-link {
+ display: inline-block;
+ padding: 3px 7px;
+ margin-top: 5px;
+ font-size: 12px;
+ color: rgba(0, 0, 0, 0.5);
+ background: #e8f1f6;
+ border-radius: 3px;
+}
+.news .alert .pull-info em, .news .alert .branch-link em {
+ font-style: normal;
+ font-weight: bold;
+}
+.news .alert .branch-link {
+ position: relative;
+ top: -2px;
+ margin: 0;
+ font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
+}
+.news .alert .branch-link .octicon {
+ color: #b0c4ce;
+}
+.news .alert:first-child {
+ border-top: 0;
+}
+.news .alert:first-child .body {
+ padding-top: 0;
+}
+.news .alert:first-child .mega-octicon {
+ top: 0;
+}
+.news .git_hub .done {
+ color: #666;
+ text-decoration: line-through;
+}
+.news .commits li {
+ margin-top: 0.15em;
+ list-style-type: none;
+}
+.news .commits li.more {
+ padding-top: 2px;
+ font-size: 11px;
+}
+.news .commits li .committer {
+ display: none;
+ padding-left: 0.5em;
+}
+.news .commits li img {
+ margin: 0 1px 0 0;
+ vertical-align: middle;
+ background-color: #fff;
+ border-radius: 2px;
+}
+.news .commits li img.emoji {
+ padding: 0;
+ margin: 0;
+ border: 0;
+}
+.news .commits li .message {
+ display: inline-block;
+ max-width: 390px;
+ margin-top: 2px;
+ overflow: hidden;
+ font-size: 13px;
+ line-height: 1.3;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ vertical-align: top;
+}
+.news div.message, .news li blockquote {
+ display: inline;
+ font-size: 13px;
+ color: #666;
+}
+.release-assets {
+ padding-left: 40px;
+}
+.release-assets li {
+ margin-top: 0.15em;
+ list-style-type: none;
+}
+.release-assets .more {
+ padding-top: 2px;
+ font-size: 11px;
+}
+.news-full, .page-profile .news {
+ float: none;
+ width: auto;
+}
+.activity-tab .blankslate {
+ margin-top: 10px;
+}
+.activity-tab .news .markdown-body blockquote, .activity-tab .news .alert .commits {
+ padding-left: 0;
+}
+.activity-tab .news a.gravatar, .activity-tab .news div.gravatar {
+ display: none;
+}
+.saml-signed-out-notice {
+ position: relative;
+ width: 450px;
+ padding: 10px 10px 10px 70px;
+ margin: 50px auto 30px;
+ border: 1px solid #eee;
+ border-radius: 3px;
+}
+.saml-signed-out-notice .mega-octicon {
+ position: absolute;
+ top: 30px;
+ left: 20px;
+ color: #ddd;
+}
+.saml-signed-out-notice h3 {
+ margin-bottom: 0;
+}
+.saml-signed-out-notice p {
+ margin-top: 5px;
+}
+.dashboards-overview-lead {
+ width: 700px;
+}
+.dashboards-overview-cards .boxed-group {
+ margin: 10px 0;
+ width: 100%}
+.dashboards-overview-cards .boxed-group path {
+ stroke: #1db34f;
+ stroke-opacity: 0.5;
+}
+.dashboards-overview-cards .blankslate {
+ border: 0;
+ background-color: #fff;
+ box-shadow: none;
+ padding-top: 47px;
+}
+.dashboards-overview-cards .octicon-arrow-down {
+ color: #bd2c00;
+}
+.dashboards-overview-cards .octicon-arrow-up {
+ color: #1db34f;
+}
+.dashboards-overview-cards .graph-canvas .dots {
+ padding: 43px 0;
+}
+.dashboards-overview-cards .summary-stats {
+ height: 78px;
+}
+.dashboards-overview-cards .summary-stats .created_at {
+ color: #1db34f;
+}
+.dashboards-overview-cards .summary-stats .closed_at, .dashboards-overview-cards .summary-stats .merged_at {
+ color: #4183c4;
+}
+.dashboards-overview-cards .summary-stats .totals-num {
+ margin: 0 7px;
+}
+.dashboards-overview-cards .summary-stats .single {
+ width: 100%}
+.dashboards-overview-graph {
+ height: 160px;
+}
+.dashboards-overview-graph .path {
+ fill: none;
+ stroke-width: 2;
+}
+.dashboards-overview-graph path.created_at {
+ stroke: #1db34f;
+}
+.dashboards-overview-graph path.merged_at, .dashboards-overview-graph path.closed_at {
+ stroke: #1d7fb3;
+}
+.dashboards-overview-graph .y line {
+ stroke: #1db34f;
+}
+.dashboards-overview-graph .y.unique line {
+ stroke: #1d7fb3;
+}
+.dashboards-overview-graph .overlay {
+ fill-opacity: 0;
+}
+.created_at circle {
+ fill: #1db34f;
+ stroke: #fff;
+ stroke-width: 2;
+}
+.merged_at circle, .closed_at circle {
+ fill: #1d7fb3;
+ stroke: #fff;
+ stroke-width: 2;
+}
+.discussion-timeline {
+ position: relative;
+ width: 760px;
+ float: left;
+}
+.discussion-timeline:before {
+ display: block;
+ content: "";
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ left: 79px;
+ width: 2px;
+ background-color: #f3f3f3;
+ z-index: -1;
+}
+.discussion-sidebar {
+ position: -webkit-sticky;
+ position: sticky;
+ top: 0;
+ z-index: 21;
+ float: right;
+ width: 140px;
+}
+.discussion-sidebar-item {
+ padding-top: 15px;
+ font-size: 12px;
+ color: #999;
+}
+.discussion-sidebar-item .minibutton .octicon {
+ margin-right: 0;
+}
+.discussion-sidebar-item .button-block {
+ margin-bottom: 8px;
+}
+.discussion-sidebar-item+.discussion-sidebar-item {
+ margin-top: 15px;
+ border-top: 1px solid #eee;
+}
+.discussion-sidebar-item .select-menu {
+ position: relative;
+}
+.discussion-sidebar-item .select-menu-modal-holder {
+ top: 25px;
+ left: auto;
+ right: -1px;
+}
+.discussion-sidebar-heading {
+ margin-top: 0;
+ margin-bottom: 10px;
+ font-size: 12px;
+ line-height: 16px;
+ color: #777;
+}
+.discussion-sidebar-toggle {
+ padding: 5px;
+ margin: -5px -5px 5px;
+}
+.discussion-sidebar-toggle .octicon {
+ float: right;
+ padding: 5px;
+ margin: -6px -5px -5px 5px;
+ color: #ccc;
+}
+.discussion-sidebar-toggle:hover {
+ color: #4183c4;
+ text-decoration: none;
+ cursor: pointer;
+}
+.discussion-sidebar-toggle:hover .octicon {
+ color: inherit;
+}
+button.discussion-sidebar-toggle {
+ display: block;
+ width: 150px;
+ font-weight: bold;
+ text-align: left;
+ background: none;
+ border: 0;
+}
+.sidebar-labels .labels .label {
+ display: block;
+ max-width: 100%;
+ padding: 6px 10px;
+ font-size: 12px;
+ box-shadow: none;
+}
+.sidebar-labels .labels .label+.label {
+ margin-top: 3px;
+}
+.sidebar-labels .labels:empty:before {
+ content: "None yet";
+ display: inline;
+}
+.sidebar-milestone .progress-bar {
+ margin-bottom: 2px;
+ border-radius: 2px;
+ height: 8px;
+}
+.milestone-name {
+ display: block;
+ margin-top: 5px;
+ font-weight: bold;
+ color: #555;
+}
+.milestone-name .css-truncate-target {
+ max-width: 100%}
+.milestone-name:hover {
+ color: #4183c4;
+ text-decoration: none;
+}
+.sidebar-assignee .css-truncate-target {
+ max-width: 110px;
+}
+.sidebar-assignee .avatar {
+ margin-top: -1px;
+ margin-right: 2px;
+ border-radius: 2px;
+}
+.sidebar-assignee .assignee {
+ color: #555;
+ font-weight: bold;
+}
+.sidebar-assignee .assignee:hover {
+ color: #4183c4;
+ text-decoration: none;
+}
+.sidebar-quick-assign {
+ display: inline-block;
+}
+.sidebar-notifications {
+ position: relative;
+}
+.sidebar-notifications .thread-subscription-status {
+ margin: 0;
+ padding: 0;
+ border: 0;
+}
+.sidebar-notifications .thread-subscription-status .thread-subscribe-form {
+ display: block;
+}
+.sidebar-notifications .thread-subscription-status .mega-octicon {
+ display: none;
+}
+.sidebar-notifications .thread-subscription-status .reason {
+ padding: 0;
+ margin: 5px 0 0;
+ font-size: 11px;
+ color: #999;
+}
+.sidebar-notifications .thread-subscription-status .minibutton {
+ display: block;
+ width: 100%}
+.participation .participant-avatar {
+ float: left;
+ margin: 3px 0 0 3px;
+}
+.participation a {
+ color: #999;
+}
+.participation a:hover {
+ color: #4183c4;
+ text-decoration: none;
+}
+.participation-avatars {
+ margin-left: -3px;
+}
+.participation-avatars:before {
+ display: table;
+ content: ""}
+.participation-avatars:after {
+ display: table;
+ clear: both;
+ content: ""}
+.participation-more {
+ float: left;
+ margin: 6px 0 0;
+ line-height: 14px;
+}
+.lock-toggle-link {
+ color: #777;
+ font-weight: bold;
+}
+.lock-toggle-link:hover {
+ color: #4183c4;
+ text-decoration: none;
+}
+.inline-comment-form .form-actions, .timeline-new-comment .form-actions {
+ padding: 0 10px 10px;
+}
+.form-content .form-actions {
+ padding: 0;
+}
+.gh-header-actions {
+ float: right;
+ margin-top: 3px;
+}
+.gh-header-actions .minibutton {
+ float: left;
+ margin-left: 5px;
+}
+.gh-header-actions .minibutton .octicon {
+ margin-right: 0;
+}
+.gh-header .gh-header-edit {
+ display: none;
+}
+.gh-header.open .gh-header-show {
+ display: none;
+}
+.gh-header.open .gh-header-edit {
+ display: block;
+}
+.gh-header-title {
+ margin-top: 0;
+ margin-bottom: 0;
+ margin-right: 150px;
+ font-weight: normal;
+ line-height: 1.1;
+ word-wrap: break-word;
+}
+.gh-header-no-access .gh-header-title {
+ margin-right: 0;
+}
+.gh-header-number {
+ font-weight: 300;
+ color: #aaa;
+ letter-spacing: -1px;
+}
+.gh-header-edit {
+ margin-top: -5px;
+}
+.gh-header-edit:before {
+ display: table;
+ content: ""}
+.gh-header-edit:after {
+ display: table;
+ clear: both;
+ content: ""}
+.gh-header-edit .edit-issue-title {
+ float: left;
+ width: 760px;
+ padding: 6px 10px;
+ margin-right: 10px;
+ font-size: 16px;
+ background-color: #fafafa;
+}
+.gh-header-edit .edit-issue-title:focus {
+ background-color: #fff;
+}
+.gh-header-edit .button {
+ float: left;
+ padding: 8px 15px;
+}
+.gh-header-edit .button-link {
+ float: left;
+ margin: 10px;
+}
+.gh-header-meta {
+ margin-top: 9px;
+ font-size: 14px;
+ line-height: 20px;
+ color: #777;
+ padding-bottom: 20px;
+ border-bottom: 1px solid #eee;
+}
+.gh-header.issue .gh-header-meta {
+ margin-bottom: 15px;
+}
+.gh-header.pull .gh-header-meta {
+ border-bottom: 0;
+ padding-bottom: 0;
+}
+.gh-header-meta.discussions-header-meta {
+ margin-top: 6px;
+ padding-bottom: 15px;
+}
+.gh-header-meta .flex-table-item {
+ vertical-align: top;
+}
+.gh-header-meta .flex-table-item-primary {
+ padding-top: 4px;
+ white-space: normal;
+ word-wrap: break-word;
+}
+.gh-header-meta .flex-table-item-primary .commit-ref .css-truncate-target, .gh-header-meta .flex-table-item-primary .commit-ref:hover .css-truncate-target {
+ max-width: 780px !important;
+}
+.gh-header-meta .state {
+ margin-right: 8px;
+}
+.gh-header-meta .avatar {
+ float: left;
+ margin-top: -3px;
+ margin-right: 5px;
+}
+.gh-header-meta .author {
+ color: #555;
+ font-weight: bold;
+}
+.gh-header-meta .noun {
+ text-transform: lowercase;
+}
+.tabnav-pr {
+ margin: 15px 0 20px;
+ border-color: #e5e5e5;
+}
+.tabnav-pr .tabnav-tab {
+ padding: 9px 14px;
+ font-size: 13px;
+ color: #777;
+}
+.tabnav-pr .tabnav-tab.selected {
+ color: #333;
+ border-color: #e5e5e5;
+}
+.tabnav-pr .diffstat-bar {
+ padding-bottom: 3px;
+}
+.timeline-comment-wrapper>.timeline-comment:after, .timeline-comment-wrapper>.timeline-comment:before, .timeline-new-comment .timeline-comment:after, .timeline-new-comment .timeline-comment:before {
+ position: absolute;
+ top: 11px;
+ left: -16px;
+ right: 100%;
+ width: 0;
+ height: 0;
+ display: block;
+ content: " ";
+ border-color: transparent;
+ border-style: solid solid outset;
+ pointer-events: none;
+}
+.timeline-comment-wrapper>.timeline-comment:after, .timeline-new-comment .timeline-comment:after {
+ border-width: 7px;
+ border-right-color: #f7f7f7;
+ margin-top: 1px;
+ margin-left: 2px;
+}
+.timeline-comment-wrapper>.timeline-comment:before, .timeline-new-comment .timeline-comment:before {
+ border-right-color: #ddd;
+ border-width: 8px;
+}
+.timeline-comment-wrapper {
+ position: relative;
+ padding-left: 64px;
+ margin-top: 15px;
+ margin-bottom: 15px;
+ border-top: 2px solid #fff;
+ border-bottom: 2px solid #fff;
+}
+.timeline-comment-wrapper:first-child {
+ margin-top: 0;
+}
+.discussion-timeline-actions .timeline-comment-wrapper:first-child {
+ margin-top: 15px;
+}
+.timeline-comment-wrapper .timeline-comment.unread-item:after, .timeline-comment-wrapper .timeline-comment.unread-item:before {
+ position: absolute;
+ top: 11px;
+ left: -16px;
+ right: 100%;
+ width: 0;
+ height: 0;
+ display: block;
+ content: " ";
+ border-color: transparent;
+ border-style: solid solid outset;
+ pointer-events: none;
+}
+.timeline-comment-wrapper .timeline-comment.unread-item:after {
+ border-width: 7px;
+ border-right-color: #fff9ea;
+ margin-top: 1px;
+ margin-left: 2px;
+}
+.timeline-comment-wrapper .timeline-comment.unread-item:before {
+ border-right-color: #dfd8c2;
+ border-width: 8px;
+}
+.timeline-comment-avatar {
+ float: left;
+ margin-left: -64px;
+ border-radius: 3px;
+}
+.timeline-comment {
+ position: relative;
+ background-color: #fff;
+ border: 1px solid #ddd;
+ border-radius: 3px;
+}
+.timeline-comment.current-user {
+ border-color: #bfccd1;
+}
+.timeline-comment.current-user:after {
+ border-right-color: #f2f8fa;
+}
+.timeline-comment.current-user:before {
+ border-right-color: #bfccd1;
+}
+.timeline-comment.current-user .timeline-comment-header {
+ color: #8e9597;
+ background-color: #f2f8fa;
+ border-bottom-color: #e1edf1;
+}
+.timeline-comment.will-transition-once {
+ -webkit-transition: border-color 0.65s ease-in-out;
+ transition: border-color 0.65s ease-in-out;
+}
+.timeline-comment.will-transition-once .timeline-comment-header {
+ -webkit-transition: background-color 0.65s ease, border-bottom-color 0.65s ease-in-out;
+ transition: background-color 0.65s ease, border-bottom-color 0.65s ease-in-out;
+}
+.timeline-comment.will-transition-once .timeline-comment-label {
+ -webkit-transition: border-color 0.65s ease-in-out;
+ transition: border-color 0.65s ease-in-out;
+}
+.timeline-comment.will-transition-once:before, .timeline-comment.will-transition-once:after {
+ -webkit-transition: border-right-color 0.65s ease-in-out;
+ transition: border-right-color 0.65s ease-in-out;
+}
+.timeline-comment.unread-item {
+ border-color: #dfd8c2;
+}
+.timeline-comment.unread-item .timeline-comment-header {
+ background-color: #fff9ea;
+ border-bottom-color: #f1ede3;
+}
+.timeline-comment.unread-item .timeline-comment-label {
+ border-color: #dfd8c2;
+}
+.timeline-comment:empty {
+ display: none;
+}
+.timeline-comment .comment+.comment {
+ border-top: 1px solid #e5e5e5;
+}
+.timeline-comment .comment+.comment:before, .timeline-comment .comment+.comment:after {
+ display: none;
+}
+.timeline-comment .comment+.comment .timeline-comment-header {
+ border-top-left-radius: 0;
+ border-top-right-radius: 0;
+}
+.timeline-comment-header {
+ padding-left: 15px;
+ padding-right: 15px;
+ color: #999;
+ background-color: #f7f7f7;
+ border-bottom: 1px solid #eee;
+ border-top-left-radius: 3px;
+ border-top-right-radius: 3px;
+}
+.timeline-comment-header .author {
+ font-weight: bold;
+ color: #555;
+}
+.timeline-comment-header .timestamp {
+ white-space: nowrap;
+ color: inherit;
+}
+.timeline-comment-header code {
+ word-break: break-all;
+}
+.comment-type-icon {
+ color: inherit;
+}
+.timeline-comment-label {
+ float: right;
+ margin: 8px 0 0 10px;
+ padding: 2px 5px;
+ font-size: 12px;
+ border: 1px solid rgba(0, 0, 0, 0.1);
+ border-radius: 3px;
+}
+.timeline-comment-label-spammy {
+ color: #bd2c00;
+ border-color: #bd2c00;
+}
+.timeline-comment-header-text {
+ max-width: 78%;
+ padding-top: 10px;
+ padding-bottom: 10px;
+}
+.timeline-comment-header-text code a {
+ color: #555;
+}
+.timeline-comment-header-avatar {
+ float: left;
+ margin-top: 10px;
+ margin-right: 5px;
+}
+.timeline-comment-actions {
+ float: right;
+ margin-right: -5px;
+ margin-left: 10px;
+}
+.timeline-comment-action {
+ display: inline-block;
+ padding: 10px 5px;
+ color: inherit;
+ opacity: 0.5;
+}
+.timeline-comment-action:hover {
+ opacity: 1;
+ color: #4183c4;
+ text-decoration: none;
+}
+.timeline-comment-action .octicon-check {
+ height: 16px;
+ font-size: 18px;
+}
+.compare-tab-comments .timeline-comment-actions {
+ display: none;
+}
+.discussion-item-ref .commit-gravatar {
+ padding-left: 2px;
+ padding-right: 5px;
+}
+.discussion-item-ref .task-progress {
+ display: block;
+ margin-bottom: -2px;
+}
+.discussion-item-ref .task-progress .progress-bar {
+ margin-bottom: 0;
+}
+.discussion-item-ref .task-progress .octicon {
+ font-size: 16px;
+}
+.discussion-item-ref .discussion-item-body .title {
+ margin-top: 10px;
+}
+.discussion-item-ref .state {
+ padding: 1px 5px;
+ margin-top: -4px;
+ margin-left: 8px;
+ font-size: 12px;
+}
+.discussion-item-ref .state .octicon {
+ width: 1em;
+ font-size: 14px;
+}
+.timeline-new-comment {
+ max-width: 780px;
+ margin-bottom: 0;
+}
+.timeline-new-comment .comment-form-head {
+ margin-bottom: 10px;
+}
+.timeline-new-comment .previewable-comment-form .comment-body {
+ padding: 5px 5px 15px;
+ border-bottom: 1px solid #eee;
+}
+.discussion-item {
+ position: relative;
+ margin: 15px 0 15px 79px;
+ padding-left: 25px;
+}
+.discussion-item+.discussion-item {
+ padding-top: 15px;
+ border-top: 1px solid #f5f5f5;
+}
+.discussion-item .author {
+ color: #555;
+ font-weight: bold;
+}
+.discussion-item .timestamp {
+ color: inherit;
+ white-space: nowrap;
+}
+.discussion-item .label-color {
+ padding: 2px 4px;
+ font-size: 12px;
+ font-weight: bold;
+ border-radius: 2px;
+ box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.12);
+}
+.discussion-item .label-color a:hover {
+ text-decoration: none;
+}
+.discussion-item-icon {
+ float: left;
+ width: 32px;
+ height: 32px;
+ margin-top: -7px;
+ margin-left: -40px;
+ line-height: 28px;
+ color: #666;
+ text-align: center;
+ background-color: #f3f3f3;
+ border: 2px solid #fff;
+ border-radius: 50%}
+.discussion-item-icon.octicon-pencil {
+ font-size: 14px;
+}
+.discussion-item-header {
+ min-height: 30px;
+ padding-top: 5px;
+ padding-bottom: 5px;
+ color: #777;
+ line-height: 20px;
+ word-wrap: break-word;
+}
+.discussion-item-header .avatar {
+ float: left;
+ margin-top: 2px;
+ margin-right: 5px;
+}
+.discussion-item-header .discussion-item-private {
+ vertical-align: -1px;
+}
+.discussion-item-header:last-child {
+ padding-bottom: 0;
+}
+.discussion-item-header .commit-ref {
+ font-size: 85%;
+ vertical-align: baseline;
+}
+.discussion-item-header .button-outline {
+ float: right;
+ padding: 4px 8px;
+ margin-top: -5px;
+}
+.discussion-item-body {
+ margin-top: 5px;
+}
+.discussion-item-link {
+ color: #777;
+}
+.discussion-item-link:hover {
+ color: #4183c4;
+}
+.discussion-item-entity {
+ font-weight: bold;
+ color: #333;
+}
+.discussion-item-entity:hover {
+ color: #4183c4;
+ text-decoration: none;
+}
+.discussion-item-ref-title {
+ margin-top: 0;
+ margin-bottom: 0;
+ line-height: 1.2;
+}
+.discussion-item-ref-title .issue-num {
+ font-weight: normal;
+ color: #999;
+}
+.discussion-item-ref-title .title-link {
+ color: #333;
+}
+.discussion-item-ref-title .title-link:hover {
+ color: #4183c4;
+ text-decoration: none;
+}
+.discussion-item-ref-title .title-link:hover .issue-num {
+ color: inherit;
+}
+.discussion-item-context-icon {
+ display: inline-block;
+ line-height: 22px;
+ margin-top: -2px;
+ margin-left: 10px;
+}
+.discussion-item-help {
+ color: #999;
+}
+.discussion-item-help:hover {
+ color: #4183c4;
+}
+.discussion-item-private {
+ color: #a1882b;
+}
+.discussion-item-rollup-ref .state {
+ margin-top: 2px;
+}
+.discussion-item-rollup-ref .discussion-item-context-icon {
+ margin-top: 2px;
+}
+.discussion-item-reopened .discussion-item-icon {
+ color: #fff;
+ background-color: #6cc644;
+}
+.discussion-item-merged .discussion-item-icon {
+ padding-left: 2px;
+ color: #fff;
+ background-color: #6e5494;
+}
+.discussion-item-closed .discussion-item-icon {
+ color: #fff;
+ background-color: #bd2c00;
+}
+.discussion-item-head_ref_deleted .discussion-item-icon {
+ padding-left: 2px;
+ color: #fff;
+ background-color: #999;
+}
+.discussion-item-locked .discussion-item-icon, .discussion-item-unlocked .discussion-item-icon {
+ color: #fff;
+ background-color: #333;
+}
+.discussion-item .renamed-was, .discussion-item .renamed-is {
+ color: #333;
+ font-weight: bold;
+}
+.discussion-commits .discussion-item-icon {
+ padding-top: 1px;
+}
+.discussion-commits .discussion-item-body {
+ margin-top: 0;
+ margin-left: -31px;
+}
+.discussion-item-toggle-open {
+ display: none;
+}
+.discussion-item-toggle {
+ float: right;
+ color: #777;
+}
+.discussion-item-toggle:hover {
+ color: #4183c4;
+ text-decoration: none;
+}
+.discussion-item-toggle .octicon {
+ vertical-align: middle;
+}
+.outdated-diff-comment-container .discussion-item-body {
+ display: none;
+}
+.outdated-diff-comment-container.open .discussion-item-body, .outdated-diff-comment-container.open .discussion-item-toggle-open {
+ display: block;
+}
+.outdated-diff-comment-container.open .discussion-item-toggle-closed {
+ display: none;
+}
+.new-discussion-timeline .form-content textarea {
+ font-size: 14px;
+ line-height: 1.6;
+}
+.new-discussion-timeline .previewable-comment-form .comment-form-head.tabnav {
+ background: #f7f7f7;
+ padding: 6px 10px 0;
+ border-radius: 3px 3px 0 0;
+}
+.new-discussion-timeline .previewable-comment-form .draft-indicator {
+ position: relative;
+ top: -1px;
+}
+.new-discussion-timeline .previewable-comment-form .comment {
+ border: 0;
+}
+.new-discussion-timeline .previewable-comment-form .comment-body {
+ padding: 5px 5px 15px;
+ border-bottom: 1px solid #eee;
+ background-color: transparent;
+}
+.new-discussion-timeline .previewable-comment-form .timeline-comment .timeline-comment-actions {
+ display: none;
+}
+.new-discussion-timeline .closed-banner {
+ position: relative;
+ margin: 15px 0 -15px;
+ height: 19px;
+ overflow: visible;
+ background: #f3f3f3;
+ border-radius: 0;
+ border-bottom: 15px solid #fff;
+}
+.new-discussion-timeline .discussion-hidden {
+ background: #fff;
+ opacity: 1;
+ position: relative;
+}
+.new-discussion-timeline .discussion-hidden .comment-header {
+ background: #fff;
+}
+.new-discussion-timeline .discussion-hidden .comment-snippet p {
+ vertical-align: middle;
+}
+.new-discussion-timeline .composer .timeline-comment {
+ margin-bottom: 10px;
+}
+.new-discussion-timeline .composer .timeline-comment:after {
+ border-right-color: #fff;
+}
+.new-discussion-timeline .composer .comment-form-head.tabnav {
+ padding-top: 0;
+ background-color: #fff;
+}
+.discussion-timeline-actions {
+ border-top: 2px solid #f3f3f3;
+ background-color: #fff;
+}
+.discussion-timeline-actions .merge-pr {
+ padding-top: 0;
+ border-top: 0;
+}
+.discussion-timeline-actions .thread-subscription-status {
+ margin-top: 20px;
+}
+.discussion-timeline-actions .thread-subscription-status .mega-octicon {
+ display: none;
+}
+.discussions-header {
+ margin-bottom: 20px;
+}
+.discussions-header .select-menu, .discussions-header .primary {
+ float: left;
+ margin-left: 5px;
+}
+.discussions-header-title {
+ margin-top: 0;
+ margin-bottom: 0;
+ line-height: 26px;
+}
+.discussions-new {
+ max-width: 800px;
+ padding: 15px;
+}
+.blankslate.discussions {
+ padding: 115px 0;
+}
+.discussions {
+ margin: 0 0 20px;
+}
+.discussions .discussion {
+ font-size: 13px;
+ list-style-type: none;
+ padding: 12px 0 12px 72px;
+ border-bottom: 1px solid #eee;
+ position: relative;
+ min-height: 74px;
+}
+.discussions .discussion:before {
+ display: table;
+ content: ""}
+.discussions .discussion:after {
+ display: table;
+ clear: both;
+ content: ""}
+.discussions .discussion.navigation-focus {
+ background: #f9f9f9;
+}
+.discussions .discussion.selected {
+ background-color: #f9f9f9;
+}
+.discussions .discussion.selected:before {
+ background: #999;
+}
+.discussions .discussion input[type="checkbox"] {
+ top: 27px;
+}
+.discussions .discussion:before {
+ position: absolute;
+ display: block;
+ content: "";
+ top: -1px;
+ left: 0;
+ bottom: 0;
+ width: 3px;
+}
+.discussions .discussion.spammy:before {
+ background: #bd2c00;
+}
+.discussions .discussion h3 {
+ font-size: 17px;
+ margin: 4px 0 0;
+ padding-bottom: 5px;
+}
+.discussions .discussion h3 span {
+ font-weight: 300;
+ color: #c5c5c5;
+}
+.discussions .discussion h3 a {
+ color: #333;
+ font-weight: bold;
+}
+.discussions .discussion h4 {
+ margin-top: 1px;
+ margin-bottom: 2px;
+ font-size: 12px;
+ line-height: 18px;
+ color: #666;
+}
+.discussions .discussion p {
+ margin: 0 0 5px;
+}
+.discussions .discussion p.muted {
+ color: #999;
+ padding: 5px 0;
+}
+.discussions .discussion .pull-info {
+ background: #e8f1f6;
+ border-radius: 3px;
+ color: rgba(0, 0, 0, 0.5);
+ display: inline-block;
+ font-size: 12px;
+ margin-top: 5px;
+ padding: 3px 7px;
+ box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.12);
+}
+.discussions .discussion .pull-info em {
+ font-style: normal;
+}
+.discussions .discussion:first-child {
+ border-top: 1px solid #eee;
+}
+.discussions .discussion.unread:before {
+ position: absolute;
+ display: block;
+ content: "";
+ top: -1px;
+ bottom: -1px;
+ left: 0;
+ width: 3px;
+ background: #4183c4;
+}
+.discussion-username {
+ color: #333;
+ font-weight: normal;
+}
+.discussions-avatar {
+ position: absolute;
+ left: 12px;
+}
+.discussion-issue-number {
+ color: #bbb;
+}
+.discussion-body p {
+ color: #444;
+ overflow: hidden;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ font-size: 13px;
+}
+.discussion-meta {
+ font-size: 12px;
+ line-height: 17px;
+}
+.discussion-meta:before {
+ display: table;
+ content: ""}
+.discussion-meta:after {
+ display: table;
+ clear: both;
+ content: ""}
+.discussion-meta a {
+ color: #999;
+}
+.discussion-meta p {
+ color: #999;
+ padding: 0;
+ margin: 0;
+}
+.discussion-meta .octicon-comment {
+ font-size: 14px;
+ color: #bbb;
+ margin-left: 4px;
+}
+.discussion-participants {
+ float: left;
+ width: 150px;
+ margin-left: 30px;
+ color: #999;
+}
+.discussion-participants .avatar-link {
+ margin-right: 3px;
+}
+.discussion-last-comment {
+ float: left;
+ width: 150px;
+ margin-left: 30px;
+}
+.discussion-last-comment .avatar {
+ float: left;
+ margin-right: 3px;
+}
+.discussion-description {
+ float: left;
+ width: 474px;
+}
+.discussion-timeline .email-hidden-container {
+ margin: 3px 0;
+}
+.discussion-hidden {
+ background: #fff;
+}
+.discussion-hidden .timeline-comment-content {
+ border: 1px solid #ddd;
+ opacity: 0.8;
+ margin-left: 64px;
+}
+.discussion-hidden .timeline-comment-content:hover {
+ -webkit-transition: opacity 0.25s ease-in-out;
+ transition: opacity 0.25s ease-in-out;
+ opacity: 1;
+}
+.discussion-hidden .timeline-comment-header {
+ background: none;
+ border-bottom: 0;
+ line-height: 33px;
+}
+.discussion-hidden .timeline-comment-header:before {
+ display: table;
+ content: ""}
+.discussion-hidden .timeline-comment-header:after {
+ display: table;
+ clear: both;
+ content: ""}
+.discussion-hidden .timeline-comment-header .octicon {
+ margin: 0 3px;
+}
+.discussion-hidden .timeline-comment-header .comment-snippet {
+ display: inline-block;
+ position: relative;
+ top: -1px;
+}
+.discussion-hidden .timeline-comment-header .comment-snippet p {
+ width: 370px;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ display: inline-block;
+ white-space: nowrap;
+ margin: 0 0 0 3px;
+ line-height: 1;
+}
+.discussion-hidden+.discussion-hidden {
+ margin-top: -1px;
+}
+.comment-header-right {
+ float: right;
+}
+.comment-header-actions {
+ list-style-type: none;
+}
+.comment-header-actions:before {
+ display: table;
+ content: ""}
+.comment-header-actions:after {
+ display: table;
+ clear: both;
+ content: ""}
+.comment-header-actions li {
+ float: left;
+ font-size: 11px;
+ line-height: 33px;
+ margin: 0 0 0 10px;
+}
+.discussion-comment-label {
+ background: #eee;
+ border-radius: 3px;
+ color: #666;
+ padding: 2px 4px;
+ margin: 0 5px 0 0;
+}
+.explore-head .container {
+ position: relative;
+}
+.explore-content {
+ margin-top: -15px;
+}
+.explore-content .blankslate {
+ margin-top: 15px;
+}
+.repo-collection>ul {
+ list-style-type: none;
+ background: #f7f7f7;
+ border: 1px solid #ddd;
+ border-radius: 3px;
+}
+.repo-collection .author-gravatar {
+ float: left;
+ margin-right: 10px;
+ background: #fff;
+ border-radius: 3px;
+}
+.collection-stat {
+ float: right;
+ margin-left: 10px;
+ font-size: 12px;
+ color: #444;
+}
+.collection-stat .octicon {
+ margin-right: 5px;
+ color: #a7a7a7;
+}
+.collection-item {
+ position: relative;
+ float: left;
+ width: 50%;
+ height: 70px;
+ padding: 15px;
+}
+.collection-item .octicon-x {
+ position: absolute;
+ top: 10px;
+ right: 10px;
+ color: #ccc;
+ text-decoration: none;
+}
+.collection-item .repo-name {
+ display: block;
+ font-size: 16px;
+ font-weight: bold;
+}
+.collection-item .css-truncate-target {
+ max-width: 380px;
+}
+.collection-item .repo-description {
+ margin: 0;
+}
+.explore-collection h2 {
+ margin: 0 0 10px;
+ font-size: 18px;
+ font-weight: normal;
+ color: #2a2a2a;
+}
+.explore-collection h2 .select-menu {
+ position: relative;
+ display: inline-block;
+}
+.explore-collection h2 .select-menu-button {
+ font-weight: bold;
+ cursor: pointer;
+}
+.explore-collection h2 .mega-octicon {
+ vertical-align: middle;
+}
+.explore-collection .see-more-link {
+ float: right;
+ margin-top: 7px;
+}
+.explore-page .see-more-link {
+ font-size: 14px;
+ color: inherit;
+}
+.explore-page .see-more-link .octicon {
+ margin-left: 5px;
+}
+.explore-page.marketing-section {
+ border-bottom: 0;
+}
+.explore-page.marketing-section .thread-subscription-status {
+ border: 0;
+}
+.explore-page.marketing-section .signed-out-comment {
+ margin-left: 0;
+}
+.explore-page .language-filter-list {
+ margin-bottom: 10px;
+}
+.explore-section {
+ position: relative;
+ padding: 40px 0;
+ border-bottom: 1px solid #eee;
+}
+.explore-section:nth-child(even) {
+ background: #f9f9f9;
+}
+.explore-section:nth-child(even) .repo-collection>ul {
+ background: #fff;
+}
+.explore-section:first-child {
+ padding-top: 0;
+}
+.explore-section:nth-child(odd):last-child {
+ padding-bottom: 0;
+ border-bottom: 0;
+}
+.explore-pjax-container {
+ position: relative;
+}
+.user-leaderboard-list .follow-list-info {
+ margin-top: 12px;
+ margin-bottom: 0;
+ font-size: 12px;
+ color: #666;
+}
+.user-leaderboard-list .follow-list-info .css-truncate.css-truncate-target {
+ max-width: none;
+}
+.user-leaderboard-list .repo-list-item {
+ padding-top: 10px;
+ padding-bottom: 0;
+ padding-left: 21px;
+ border-top: 0;
+}
+.user-leaderboard-list .repo-list-item .repo-description, .user-leaderboard-list .repo-list-item .repo-and-owner {
+ max-width: 530px;
+}
+.user-leaderboard-list .repo-list-item .repo {
+ color: #5c5c5c;
+}
+.leaderboard-list {
+ margin: 0;
+ list-style-type: none;
+}
+.user-leaderboard-list-name {
+ margin: 0;
+ font-size: 18px;
+ font-weight: normal;
+}
+.user-leaderboard-list-name .full-name {
+ margin-left: 5px;
+ font-weight: bold;
+ color: #5c5c5c;
+}
+.repo-snipit {
+ margin-top: 7px;
+ display: inline-block;
+}
+.repo-snipit:hover {
+ text-decoration: none;
+}
+.repo-snipit .octicon {
+ color: #999;
+ font-size: 14px;
+}
+.repo-snipit-name {
+ max-width: 200px;
+ color: #666;
+}
+.repo-snipit-description {
+ max-width: 300px;
+ color: #999;
+}
+.repo-snipit:hover .repo-snipit-name, .repo-snipit:hover .repo-snipit-description {
+ color: #4183c4;
+}
+.leaderboard-action {
+ float: right;
+ margin-top: -3px;
+ margin-left: 10px;
+}
+.leaderboard-list-rank {
+ position: absolute;
+ top: 25px;
+ left: 0;
+ width: 20px;
+ font-size: 11px;
+ font-weight: 300;
+ color: #b9b9b9;
+ text-align: right;
+ text-transform: uppercase;
+}
+.leaderboard-list-item {
+ position: relative;
+ padding-top: 20px;
+ padding-bottom: 20px;
+ padding-left: 35px;
+ border-bottom: 1px solid #eee;
+}
+.leaderboard-list-item:last-child {
+ border-bottom: 0;
+}
+.leaderboard-gravatar {
+ float: left;
+ width: 48px;
+ height: 48px;
+ border-radius: 3px;
+}
+.leaderboard-list-content {
+ min-height: 48px;
+ margin-left: 58px;
+}
+.collection-page .signed-out-comment {
+ margin-left: 0;
+}
+.explore-mail-tease {
+ padding-top: 20px;
+ overflow: hidden;
+ background: #202021 url(/assets/modules/home/octicons-bg-f51579234572c7286b1ead7a6408f2d43c7a0520dbb09f9d2b8b6b59024a01a0.png) center repeat;
+ border-bottom: 1px solid #ddd;
+}
+.explore-mail-tease h3 {
+ color: #fff;
+ text-align: center;
+}
+.explore-mail-tease img {
+ margin-bottom: -5px;
+}
+.newsletter-frequency-choice {
+ display: -ms-flexbox;
+ display: -webkit-flex;
+ display: flex;
+ margin: 40px 0;
+ list-style-type: none;
+ -webkit-flex-flow: row wrap;
+ -webkit-justify-content: space-around;
+ -ms-flex-pack: distribute;
+ justify-content: space-around;
+}
+.newsletter-frequency-choice .choice {
+ position: relative;
+ width: 25%;
+ margin: auto;
+}
+.newsletter-frequency-choice .choice>label {
+ display: block;
+ height: 100%;
+ margin: 0 10px;
+ font-weight: normal;
+ cursor: pointer;
+ background: #fff;
+ border: 3px solid #eee;
+ border-radius: 4px;
+ text-align: center;
+}
+.newsletter-frequency-choice .choice:hover label {
+ border-color: #4183c4;
+}
+.newsletter-frequency-choice .choice:hover h3 {
+ color: #fff;
+ background: #4183c4;
+ border-color: #4183c4;
+}
+.newsletter-frequency-choice .choice.selected label {
+ border-color: #6cc644;
+ box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
+}
+.newsletter-frequency-choice .choice.selected h3 {
+ color: #fff;
+ background: #6cc644;
+ border-color: #6cc644;
+}
+.newsletter-frequency-choice .choice.selected p {
+ color: #333;
+}
+.newsletter-frequency-choice .choice .notice {
+ position: absolute;
+ right: 0;
+ bottom: 1em;
+ left: 0;
+ z-index: -1;
+ font-weight: bold;
+ color: #6cc644;
+ text-align: center;
+ opacity: 0;
+}
+.newsletter-frequency-choice .choice .notice.visible {
+ -webkit-transition: opacity 0.15s ease-in-out;
+ transition: opacity 0.15s ease-in-out;
+ bottom: -2em;
+ opacity: 1;
+}
+.newsletter-frequency-choice h3 {
+ padding: 10px;
+ margin: 0;
+ font-weight: normal;
+ background: #fafafa;
+ border-bottom: 1px solid #eee;
+}
+.newsletter-frequency-choice h3 input {
+ position: relative;
+ top: -2px;
+ margin: 0 3px 0 -19px;
+}
+.newsletter-frequency-choice p {
+ height: 7em;
+ margin: 15px;
+ color: #777;
+ text-align: left;
+}
+.explore-signup-entice {
+ position: relative;
+ padding: 15px;
+ background: #f7f7f7;
+ border: 1px solid #ddd;
+ border-radius: 3px;
+}
+.explore-signup-entice h3 {
+ margin-bottom: 10px;
+ font-size: 18px;
+}
+.explore-signup-entice p {
+ margin: 10px;
+ font-size: 14px;
+}
+.explore-signup-entice-inner {
+ position: absolute;
+ top: 3px;
+ right: 3px;
+ bottom: 3px;
+ left: 3px;
+ padding-top: 30px;
+ text-align: center;
+ background: rgba(247, 247, 247, 0.9);
+}
+.explore-signup-entice-wrapper {
+ max-width: 500px;
+ padding: 5px;
+ margin: 0 auto;
+ background: rgba(247, 247, 247, 0.6);
+}
+@-webkit-keyframes fadein {
+ 0% {
+ opacity: 0;
+}
+100% {
+ opacity: 1;
+}
+}@keyframes fadein {
+ 0% {
+ opacity: 0;
+}
+100% {
+ opacity: 1;
+}
+}.explore-marketing-header {
+ margin: 10px auto 30px;
+ text-align: center;
+}
+.explore-marketing-header.is-animating {
+ -webkit-animation: fadein 1s;
+ animation: fadein 1s;
+}
+.explore-marketing-header h2 {
+ margin: 0 0 5px;
+ font-size: 32px;
+ font-weight: normal;
+}
+.explore-marketing-header .lead {
+ margin: 5px 0 0;
+}
+.explore-marketing-header .call-to-signup {
+ margin-top: 10px;
+}
+.linux .show-mac, .macintosh .show-mac {
+ display: block;
+}
+.linux .hide-mac, .macintosh .hide-mac {
+ display: none;
+}
+.windows .show-mac {
+ display: none;
+}
+.homepage .container {
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+}
+.homepage .header-logged-out .primary {
+ display: none;
+}
+.homepage .site-footer {
+ border-top: 0;
+ margin-top: 0;
+}
+.marketing-section-depth {
+ position: absolute;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ z-index: 10;
+ height: 30px;
+ background-image: -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.15));
+ box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25);
+}
+.marketing-section-signup {
+ text-shadow: 0 1px 3px #222;
+ background: #202021 url(/assets/modules/home/octicons-bg-f51579234572c7286b1ead7a6408f2d43c7a0520dbb09f9d2b8b6b59024a01a0.png) center repeat;
+ padding-top: 80px;
+ padding-bottom: 80px;
+ position: relative;
+}
+.marketing-section-signup .heading {
+ margin-top: 0;
+ padding-top: 10px;
+ font-size: 70px;
+ font-weight: normal;
+ line-height: 1;
+ color: #fff;
+ letter-spacing: -1px;
+}
+.marketing-section-signup .subheading {
+ margin: 10px 0 0;
+ font-size: 21px;
+ line-height: 1.5;
+ color: #fff;
+}
+.marketing-section-signup .subheading a {
+ font-weight: 500;
+}
+.form-signup-home {
+ float: right;
+ width: 320px;
+ margin-left: 40px;
+}
+.form-signup-home .text-muted:last-child {
+ margin-bottom: 0;
+}
+.form-signup-home dl.form {
+ position: relative;
+ margin-top: 0;
+ margin-bottom: 10px;
+}
+.form-signup-home dl.form dd+.text-muted {
+ margin-top: 5px;
+}
+.form-signup-home .button, .form-signup-home dl.form input[type="text"], .form-signup-home dl.form input[type="password"] {
+ padding: 10px;
+ font-size: 16px;
+ border-radius: 5px;
+}
+.form-signup-home .button {
+ border: 0;
+}
+.form-signup-home .button:focus {
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 0 12px rgba(255, 255, 255, 0.75);
+}
+.form-signup-home dl.form input[type="text"], .form-signup-home dl.form input[type="password"] {
+ width: 100%;
+ margin-right: 0;
+ border-color: #fff;
+}
+.form-signup-home dl.form input[type="text"]:focus, .form-signup-home dl.form .focused .drag-and-drop, .focused .form-signup-home dl.form .drag-and-drop, .form-signup-home dl.form input[type="password"]:focus {
+ background-color: #fff;
+ border-color: #fff;
+ box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075), 0 0 12px rgba(255, 255, 255, 0.75);
+}
+.form-signup-home dl.form.errored dd.error, .form-signup-home dl.form.errored dd.warning {
+ position: absolute;
+ top: 100%;
+ left: 0;
+ right: 0;
+ z-index: 5;
+ margin-top: 2px;
+ font-size: 12px;
+ font-weight: normal;
+ padding: 10px;
+ border: 0;
+ text-align: left;
+ border-radius: 3px;
+ background-color: #333;
+ color: #fff;
+}
+.form-signup-home dl.form.errored dd.error:after, .form-signup-home dl.form.errored dd.warning:after {
+ position: absolute;
+ left: 10px;
+ bottom: 100%;
+ height: 0;
+ width: 0;
+ content: "";
+ border: solid transparent;
+ border-bottom-color: #333;
+ border-width: 8px;
+ pointer-events: none;
+}
+.form-signup-home dl.form.errored dd.error:empty, .form-signup-home dl.form.errored dd.warning:empty {
+ display: none;
+}
+.form-signup-home dl.form dd input.is-autocheck-successful, .form-signup-home dl.form dd input.is-autocheck-errored, .form-signup-home dl.form dd input.is-autocheck-loading {
+ background-image: none;
+}
+.form-signup-home dl.successed:after, .form-signup-home dl.errored:after {
+ position: absolute;
+ top: 15px;
+ right: 10px;
+ text-shadow: none;
+ font: normal normal 16px/1 "octicons";
+ display: inline-block;
+ text-decoration: none;
+ -webkit-font-smoothing: antialiased;
+}
+.form-signup-home dl.successed:after {
+ content: "\f03a";
+ color: #6cc644;
+}
+.form-signup-home dl.errored:after {
+ content: "\f02d";
+ color: #bd2c00;
+}
+.form-signup-home dl.is-loading:after {
+ position: absolute;
+ top: 15px;
+ right: 10px;
+ display: block;
+ width: 16px;
+ height: 16px;
+ content: "";
+ background-image: url(/assets/spinners/octocat-spinner-16px-02c482dbba2151bb2d7a30af56d0c7513f12449d504f7a57f200d9e534b112ff.gif);
+}
+@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 2dppx) {
+ .form-signup-home dl.is-loading: after {
+ background-image: url(/assets/spinners/octocat-spinner-32-e513294efa576953719e4e2de888dd9cf929b7d62ed8d05f25e731d02452ab6c.gif);
+ background-size: 16px 16px;
+}
+}.text-muted .notice-highlight {
+ color: #fff;
+}
+.text-center {
+ text-align: center;
+}
+.marketing-section-img {
+ display: block;
+ max-width: 980px;
+ margin: 40px auto;
+ border-radius: 5px;
+ border: 1px solid rgba(0, 0, 0, 0.25);
+ box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
+}
+.marketing-section-enterprise {
+ overflow: hidden;
+ max-height: 375px;
+ padding-bottom: 20px;
+ margin-top: -1px;
+ text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
+ background-color: #614381;
+ background-image: -webkit-linear-gradient(#202d5f, #614381);
+ background-image: linear-gradient(#202d5f, #614381);
+ background-repeat: repeat-x;
+ border-bottom: 0;
+ box-shadow: inset 0 10px 20px rgba(0, 0, 0, 0.1);
+ color: #fff;
+}
+.marketing-section-enterprise.marketing-inline {
+ margin-bottom: 30px;
+}
+.marketing-section-enterprise h1>a {
+ color: inherit;
+ text-decoration: none;
+}
+.marketing-section-enterprise .marketing-header .lead {
+ color: #cecbda;
+}
+.marketing-section-enterprise .marketing-button {
+ display: inline-block;
+ margin-top: 20px;
+ margin-bottom: 20px;
+ padding: 9px 15px;
+ border-radius: 4px;
+ font-size: 18px;
+ background-color: #1d6ac8;
+ background-image: -webkit-linear-gradient(#45b3f3, #1d6ac8);
+ background-image: linear-gradient(#45b3f3, #1d6ac8);
+ background-repeat: repeat-x;
+ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
+ text-decoration: none;
+ color: #fff;
+}
+.marketing-section-enterprise .marketing-button:hover {
+ background-position: 0 -10px;
+}
+.aws-section {
+ background: #515d81 url(/assets/modules/aws/aws-bg-80b292690ba587b305c2c038c496ffc8ff08d3bf6be6c1ba64d48bedc09cc36f.jpg) no-repeat center top;
+ background-size: cover;
+ overflow: hidden;
+ text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
+}
+.aws-section .container {
+ position: relative;
+}
+.aws-section .content {
+ position: relative;
+ z-index: 9;
+ padding: 80px 0;
+ color: #fff;
+ text-align: center;
+}
+.aws-section h2 {
+ margin-top: 0;
+ font-size: 36px;
+ font-weight: 300;
+ color: #fff;
+}
+.aws-section p {
+ margin-bottom: 15px;
+ font-size: 15px;
+ font-weight: 300;
+}
+.aws-section .aws-button {
+ display: inline-block;
+ padding: 7px 15px;
+ font-size: 16px;
+ color: #fff;
+ text-shadow: none;
+ border: 1px solid #fff;
+ border-radius: 5px;
+}
+.aws-section .aws-button:hover {
+ color: #fff;
+ text-decoration: none;
+ background-color: #2a2b55;
+ border-color: #2a2b55;
+}
+.aws-section .bg-animation {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%}
+.aws-section .cloud {
+ position: absolute;
+}
+.aws-section .cloud-1 {
+ top: 10px;
+ right: 20px;
+ -webkit-animation: cloud1animation 6s ease-out 1s;
+ animation: cloud1animation 6s ease-out 1s;
+}
+.aws-section .cloud-2 {
+ top: 10px;
+ left: -60px;
+ -webkit-animation: cloud2animation 6s ease-out 1s;
+ animation: cloud2animation 6s ease-out 1s;
+}
+.aws-section .cloud-3 {
+ bottom: 50px;
+ right: -255px;
+ -webkit-animation: cloud3animation 14s ease-out 1s;
+ animation: cloud3animation 14s ease-out 1s;
+}
+.aws-section .cloud-4 {
+ bottom: -96px;
+ left: -470px;
+ -webkit-animation: cloud4animation 9s ease-out 1s;
+ animation: cloud4animation 9s ease-out 1s;
+}
+.aws-section .cloud-5 {
+ bottom: -120px;
+ right: -160px;
+ -webkit-animation: cloud5animation 14s ease-out 1s;
+ animation: cloud5animation 14s ease-out 1s;
+}
+.aws-section .cloud-6 {
+ bottom: -100px;
+ right: -600px;
+ -webkit-animation: cloud6animation 8s ease-out 1s;
+ animation: cloud6animation 8s ease-out 1s;
+}
+@-webkit-keyframes cloud1animation {
+ 0% {
+ -webkit-transform: translateX(-70px);
+ transform: translateX(-70px);
+}
+100% {
+ -webkit-transform: translateX(0);
+ transform: translateX(0);
+}
+}@keyframes cloud1animation {
+ 0% {
+ -webkit-transform: translateX(-70px);
+ transform: translateX(-70px);
+}
+100% {
+ -webkit-transform: translateX(0);
+ transform: translateX(0);
+}
+}@-webkit-keyframes cloud2animation {
+ 0% {
+ -webkit-transform: translateX(50px);
+ transform: translateX(50px);
+}
+100% {
+ -webkit-transform: translateX(0);
+ transform: translateX(0);
+}
+}@keyframes cloud2animation {
+ 0% {
+ -webkit-transform: translateX(50px);
+ transform: translateX(50px);
+}
+100% {
+ -webkit-transform: translateX(0);
+ transform: translateX(0);
+}
+}@-webkit-keyframes cloud3animation {
+ 0% {
+ -webkit-transform: translateX(-150px);
+ transform: translateX(-150px);
+}
+100% {
+ -webkit-transform: translateX(0);
+ transform: translateX(0);
+}
+}@keyframes cloud3animation {
+ 0% {
+ -webkit-transform: translateX(-150px);
+ transform: translateX(-150px);
+}
+100% {
+ -webkit-transform: translateX(0);
+ transform: translateX(0);
+}
+}@-webkit-keyframes cloud4animation {
+ 0% {
+ -webkit-transform: translateX(125px);
+ transform: translateX(125px);
+}
+100% {
+ -webkit-transform: translateX(0);
+ transform: translateX(0);
+}
+}@keyframes cloud4animation {
+ 0% {
+ -webkit-transform: translateX(125px);
+ transform: translateX(125px);
+}
+100% {
+ -webkit-transform: translateX(0);
+ transform: translateX(0);
+}
+}@-webkit-keyframes cloud5animation {
+ 0% {
+ -webkit-transform: translateX(-80px);
+ transform: translateX(-80px);
+}
+100% {
+ -webkit-transform: translateX(0);
+ transform: translateX(0);
+}
+}@keyframes cloud5animation {
+ 0% {
+ -webkit-transform: translateX(-80px);
+ transform: translateX(-80px);
+}
+100% {
+ -webkit-transform: translateX(0);
+ transform: translateX(0);
+}
+}@-webkit-keyframes cloud6animation {
+ 0% {
+ -webkit-transform: translateX(-200px);
+ transform: translateX(-200px);
+}
+100% {
+ -webkit-transform: translateX(0);
+ transform: translateX(0);
+}
+}@keyframes cloud6animation {
+ 0% {
+ -webkit-transform: translateX(-200px);
+ transform: translateX(-200px);
+}
+100% {
+ -webkit-transform: translateX(0);
+ transform: translateX(0);
+}
+}.issue-list em {
+ font-weight: bold;
+ background-color: rgba(255, 255, 140, 0.5);
+ padding: 3px;
+ border-radius: 3px;
+ font-style: normal;
+}
+.issue-list .title {
+ padding: 0;
+ min-height: 24px;
+ font-weight: normal;
+ font-size: 18px;
+ line-height: 24px;
+ margin: 0 80px 10px 0;
+ word-wrap: break-word;
+}
+.issue-list .title .mega-octicon {
+ position: absolute;
+ top: -4px;
+ left: 0;
+ width: 32px;
+ color: #888;
+ text-align: center;
+}
+.issue-list .title .closed.mega-octicon {
+ color: #bd2c00;
+}
+.issue-list .title .open.mega-octicon {
+ color: #6cc644;
+}
+.issue-list .title .merged.mega-octicon {
+ color: #6e5494;
+}
+.issue-list .description {
+ margin: 0 0 10px;
+ line-height: 20px;
+ overflow: hidden;
+}
+.issue-list-meta {
+ margin: 0;
+ list-style-type: none;
+ font-size: 11px;
+ color: #999;
+}
+.issue-list-meta:before {
+ display: table;
+ content: ""}
+.issue-list-meta:after {
+ display: table;
+ clear: both;
+ content: ""}
+.issue-list-meta>li {
+ display: inline-block;
+ margin-right: 10px;
+}
+.issue-list-meta a {
+ color: #333;
+}
+.issue-list-meta .octicon {
+ color: #838383;
+ vertical-align: middle;
+}
+.issue-list-item {
+ border-bottom: 1px solid #f1f1f1;
+ padding: 0 0 20px 40px;
+ margin: 0 0 20px;
+ position: relative;
+}
+.labels-list-item .table-list-cell {
+ width: 100%}
+.labels-list-item .label {
+ display: inline-block;
+ height: 34px;
+ padding: 0 10px;
+ margin-right: 5px;
+ font-size: 16px;
+ font-weight: bold;
+ line-height: 34px;
+ text-align: center;
+ border-radius: 3px;
+ -webkit-transition: all 0.2s linear;
+ transition: all 0.2s linear;
+}
+.labels-list-item .label .octicon {
+ margin-right: 3px;
+}
+.labels-list-item .label:hover {
+ opacity: 0.85;
+}
+.labels-list-item.open .label, .labels-list-item.open .label-description, .labels-list-item.open .labels-list-action {
+ display: none;
+}
+.labels-list-item.open .label-delete {
+ display: block;
+ text-align: left;
+}
+.labels-list-item.edit .label, .labels-list-item.edit .label-description, .labels-list-item.edit .labels-list-action {
+ display: none;
+}
+.labels-list-item.edit .label-edit {
+ display: block;
+}
+.label-description {
+ padding: 8px 10px;
+ color: #999;
+}
+.label-delete-confirmation {
+ line-height: 34px;
+}
+.labels-list-actions {
+ margin-left: 60px;
+}
+.labels-list-action {
+ float: left;
+ display: block;
+ color: #999;
+ padding: 8px 10px;
+}
+.labels-list-action .octicon {
+ margin-right: 2px;
+}
+.labels-list-action .octicon-pencil {
+ font-size: 14px;
+}
+.labels-list-action:hover {
+ color: #4183c4;
+ cursor: pointer;
+}
+.new-label {
+ display: none;
+ padding: 10px;
+ margin-bottom: 15px;
+ background-color: #fafafa;
+ border: 1px solid #e5e5e5;
+ border-radius: 3px;
+}
+.new-label .label-edit {
+ display: block;
+}
+.new-label .label-edit:before {
+ display: table;
+ content: ""}
+.new-label .label-edit:after {
+ display: table;
+ clear: both;
+ content: ""}
+.new-label-actions {
+ float: right;
+}
+.open .new-label {
+ display: block;
+}
+.label-spinner {
+ display: none;
+ float: left;
+ margin-left: -35px;
+ margin-top: 9px;
+}
+.label-edit:before {
+ display: table;
+ content: ""}
+.label-edit:after {
+ display: table;
+ clear: both;
+ content: ""}
+.label-edit label {
+ display: block;
+ margin-bottom: 5px;
+}
+.label-edit .error {
+ float: left;
+ margin-top: 8px;
+ margin-left: 10px;
+ color: #f00;
+}
+.label-edit.is-valid .color-editor .octicon-check {
+ display: block;
+}
+.label-edit.loading .label-spinner {
+ display: block;
+}
+.color-editor {
+ position: relative;
+ float: left;
+ width: 100px;
+}
+.color-editor.open .label-colors {
+ display: block;
+}
+.color-editor-bg {
+ position: absolute;
+ left: 0;
+ z-index: 10;
+ width: 20px;
+ height: 20px;
+ margin-top: 7px;
+ margin-left: 7px;
+ cursor: pointer;
+ border-radius: 3px;
+}
+input.color-editor-input {
+ width: 100px;
+ padding-left: 34px;
+ border-color: #ccc !important;
+}
+input.color-editor-input:focus {
+ border-color: #51a7e8 !important;
+}
+input.color-editor-input:focus ~ .label-colors {
+ display: block;
+}
+.invalid-color-indicator {
+ display: none;
+ position: absolute;
+ top: 7px;
+ left: 7px;
+ z-index: 11;
+ width: 20px;
+ height: 20px;
+ line-height: 20px;
+ font-weight: bold;
+ color: #fff;
+ text-align: center;
+}
+.label-edit-name {
+ width: 40%;
+ float: left;
+ margin-right: 10px;
+}
+.label-colors {
+ position: absolute;
+ left: 0;
+ float: left;
+ display: none;
+ width: auto;
+ margin-left: 0;
+ padding: 5px;
+}
+.label-colors:before {
+ left: 8px;
+}
+.label-colors:after {
+ left: 9px;
+}
+.label-edit, .label-delete {
+ display: none;
+}
+.label-delete-form {
+ display: inline;
+}
+.label-delete-form.loading .label-delete-spinner {
+ display: block;
+}
+.label-delete-spinner {
+ display: none;
+ margin-top: 10px;
+ margin-right: 10px;
+ float: left;
+}
+.color-chooser {
+ display: table-row;
+ height: 25px;
+ list-style: none;
+}
+.color-chooser li {
+ display: table-cell;
+ width: 1%}
+.color-chooser li:hover {
+ position: relative;
+ z-index: 2;
+ outline: 2px solid #fff;
+ box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.25);
+}
+.color-chooser .color-cooser-color {
+ display: block;
+ width: 25px;
+ height: 25px;
+ text-align: center;
+ cursor: pointer;
+}
+.repository-lang-stats {
+ position: relative;
+}
+.repository-lang-stats ol.repository-lang-stats-numbers li {
+ display: table-cell;
+ width: 1%;
+ border-bottom: 0;
+ text-align: center;
+ padding: 11px 5px;
+ white-space: nowrap;
+}
+.repository-lang-stats ol.repository-lang-stats-numbers li span.percent {
+ float: none;
+}
+.repository-lang-stats ol.repository-lang-stats-numbers li>a, .repository-lang-stats ol.repository-lang-stats-numbers li>span {
+ color: #999;
+ text-decoration: none;
+ font-weight: bold;
+}
+.repository-lang-stats ol.repository-lang-stats-numbers li .lang {
+ color: #333;
+}
+.repository-lang-stats ol.repository-lang-stats-numbers li .language-color {
+ display: inline-block;
+ width: 10px;
+ height: 10px;
+ border-radius: 50%}
+.repository-lang-stats ol.repository-lang-stats-numbers li a:hover {
+ background: transparent;
+}
+.stats-switcher-viewport {
+ overflow: hidden;
+ height: 38px;
+}
+.stats-switcher-viewport .stats-switcher-wrapper {
+ position: relative;
+ top: 0;
+ -webkit-transition: top 0.25s ease-in-out;
+ transition: top 0.25s ease-in-out;
+}
+.stats-switcher-viewport.is-revealing-lang-stats .stats-switcher-wrapper {
+ top: -38px;
+}
+.repository-lang-stats-graph {
+ display: block;
+ width: 100%;
+ height: auto;
+ line-height: 12px;
+ white-space: nowrap;
+ border-bottom-left-radius: 3px;
+ border-bottom-right-radius: 3px;
+ overflow: hidden;
+}
+.repository-lang-stats-graph span {
+ display: inline-block;
+ height: 8px;
+ background: #ccc;
+ text-indent: -9999px;
+}
+.repository-lang-stats-graph .language-color {
+ height: auto;
+ line-height: 12px;
+ vertical-align: top;
+}
+.repository-lang-stats-graph .language-color:first-child {
+ border-bottom-left-radius: 3px;
+}
+.repository-lang-stats-graph .language-color:last-child {
+ border-bottom-right-radius: 3px;
+}
+.language-color {
+ background-color: #ccc;
+}
+.list-group-item {
+ position: relative;
+ display: block;
+ margin-bottom: -1px;
+ padding: 8px 10px 10px 40px;
+ border: 1px solid #e5e5e5;
+}
+.list-group-item a:hover {
+ text-decoration: none;
+}
+.list-group-item:first-child {
+ border-top-left-radius: 3px;
+ border-top-right-radius: 3px;
+}
+.list-group-item:last-child {
+ margin-bottom: 0;
+ border-bottom-left-radius: 3px;
+ border-bottom-right-radius: 3px;
+}
+.list-group-item.closed {
+ background-color: #fcfcfc;
+}
+.list-group-item.selectable {
+ padding-left: 60px;
+}
+.list-group-item.selected {
+ background-color: #ffffef;
+}
+.list-group-item.navigation-focus {
+ background-color: #f5f9fc;
+}
+.list-group-item .list-group-item-summary a {
+ color: #666;
+}
+.list-group-item .list-group-item-summary a.quiet {
+ color: #999;
+}
+.list-group-item .status {
+ position: relative;
+ top: 2px;
+ margin-right: -9px;
+ float: right;
+}
+.list-group-item .type-icon {
+ vertical-align: middle;
+ position: relative;
+ top: 1px;
+ width: 16px;
+ text-align: center;
+}
+.list-group-item .assignee {
+ float: right;
+}
+.list-group-item .assignee img {
+ display: block;
+ border-radius: 2px;
+}
+.list-group-item .labels {
+ display: inline-block;
+ top: -2px;
+ margin-bottom: -2px;
+ margin-left: 4px;
+}
+.list-group-item-name {
+ margin: 0 60px 2px 0;
+ font-size: 15px;
+ line-height: 1.3;
+ word-wrap: break-word;
+}
+.list-group-item-name .type-icon {
+ float: left;
+ margin-top: 1px;
+ margin-left: -24px;
+}
+.list-group-item-link {
+ color: #333;
+}
+.closed.octicon, .reverted.octicon {
+ color: #bd2c00;
+}
+.open.octicon {
+ color: #6cc644;
+}
+.merged.octicon {
+ color: #6e5494;
+}
+.list-group-item-summary {
+ margin-top: 2px;
+}
+.list-group-item-summary p {
+ margin: 0 0 5px;
+}
+.standalone .list-group-item-summary p {
+ margin-bottom: 0;
+}
+.animated-ellipsis-container {
+ display: inline-block;
+ overflow: hidden;
+ height: 12px;
+ width: 12px;
+ -webkit-transform: translateZ(0);
+}
+.animated-ellipsis-container>.animated-ellipsis {
+ overflow: hidden;
+ display: inline-block;
+ vertical-align: bottom;
+}
+@-webkit-keyframes ellipsis {
+ from {
+ width: 2px;
+}
+to {
+ width: 12px;
+}
+}@keyframes ellipsis {
+ from {
+ width: 2px;
+}
+to {
+ width: 12px;
+}
+}.large-loading-area {
+ text-align: center;
+ padding: 100px 0;
+}
+.loading-area {
+ text-align: center;
+}
+.context-loader.large-format-loader {
+ position: fixed;
+ display: none;
+ top: 0;
+ left: 0;
+ bottom: 0;
+ right: 0;
+ margin: 0;
+ width: auto;
+ padding: 190px 0 0;
+ font-weight: normal;
+ background: rgba(255, 255, 255, 0.8);
+ border: 0;
+ z-index: 9999;
+ text-align: center;
+ color: #999;
+}
+.context-loader.large-format-loader.is-loading {
+ display: block;
+}
diff --git a/public/css/github.css b/public/css/github.css
new file mode 100644
index 00000000..2e66cabd
--- /dev/null
+++ b/public/css/github.css
@@ -0,0 +1,277 @@
+body {
+ font-family: Helvetica, arial, sans-serif;
+ font-size: 14px;
+ line-height: 1.6;
+ padding-top: 10px;
+ padding-bottom: 10px;
+ background-color: white;
+ padding: 30px; }
+
+body > *:first-child {
+ margin-top: 0 !important; }
+body > *:last-child {
+ margin-bottom: 0 !important; }
+
+a {
+ color: #4183C4; }
+a.absent {
+ color: #cc0000; }
+a.anchor {
+ display: block;
+ padding-left: 30px;
+ margin-left: -30px;
+ cursor: pointer;
+ position: absolute;
+ top: 0;
+ left: 0;
+ bottom: 0; }
+
+h1, h2, h3, h4, h5, h6 {
+ margin: 20px 0 10px;
+ padding: 0;
+ font-weight: bold;
+ -webkit-font-smoothing: antialiased;
+ cursor: text;
+ position: relative; }
+
+h1:hover a.anchor, h2:hover a.anchor, h3:hover a.anchor, h4:hover a.anchor, h5:hover a.anchor, h6:hover a.anchor {
+ background: url("../../images/modules/styleguide/para.png") no-repeat 10px center;
+ text-decoration: none; }
+
+h1 tt, h1 code {
+ font-size: inherit; }
+
+h2 tt, h2 code {
+ font-size: inherit; }
+
+h3 tt, h3 code {
+ font-size: inherit; }
+
+h4 tt, h4 code {
+ font-size: inherit; }
+
+h5 tt, h5 code {
+ font-size: inherit; }
+
+h6 tt, h6 code {
+ font-size: inherit; }
+
+h1 {
+ font-size: 28px;
+ color: black; }
+
+h2 {
+ font-size: 24px;
+ border-bottom: 1px solid #cccccc;
+ color: black; }
+
+h3 {
+ font-size: 18px; }
+
+h4 {
+ font-size: 16px; }
+
+h5 {
+ font-size: 14px; }
+
+h6 {
+ color: #777777;
+ font-size: 14px; }
+
+p, blockquote, ul, ol, dl, li, table, pre {
+ margin: 15px 0; }
+
+hr {
+ background: transparent url("../../images/modules/pulls/dirty-shade.png") repeat-x 0 0;
+ border: 0 none;
+ color: #cccccc;
+ height: 4px;
+ padding: 0; }
+
+body > h2:first-child {
+ margin-top: 0;
+ padding-top: 0; }
+body > h1:first-child {
+ margin-top: 0;
+ padding-top: 0; }
+ body > h1:first-child + h2 {
+ margin-top: 0;
+ padding-top: 0; }
+body > h3:first-child, body > h4:first-child, body > h5:first-child, body > h6:first-child {
+ margin-top: 0;
+ padding-top: 0; }
+
+a:first-child h1, a:first-child h2, a:first-child h3, a:first-child h4, a:first-child h5, a:first-child h6 {
+ margin-top: 0;
+ padding-top: 0; }
+
+h1 p, h2 p, h3 p, h4 p, h5 p, h6 p {
+ margin-top: 0; }
+
+li p.first {
+ display: inline-block; }
+
+ul, ol {
+ padding-left: 30px; }
+
+ul :first-child, ol :first-child {
+ margin-top: 0; }
+
+ul :last-child, ol :last-child {
+ margin-bottom: 0; }
+
+dl {
+ padding: 0; }
+ dl dt {
+ font-size: 14px;
+ font-weight: bold;
+ font-style: italic;
+ padding: 0;
+ margin: 15px 0 5px; }
+ dl dt:first-child {
+ padding: 0; }
+ dl dt > :first-child {
+ margin-top: 0; }
+ dl dt > :last-child {
+ margin-bottom: 0; }
+ dl dd {
+ margin: 0 0 15px;
+ padding: 0 15px; }
+ dl dd > :first-child {
+ margin-top: 0; }
+ dl dd > :last-child {
+ margin-bottom: 0; }
+
+blockquote {
+ border-left: 4px solid #dddddd;
+ padding: 0 15px;
+ color: #777777; }
+ blockquote > :first-child {
+ margin-top: 0; }
+ blockquote > :last-child {
+ margin-bottom: 0; }
+
+table {
+ padding: 0; }
+ table tr {
+ border-top: 1px solid #cccccc;
+ background-color: white;
+ margin: 0;
+ padding: 0; }
+ table tr:nth-child(2n) {
+ background-color: #f8f8f8; }
+ table tr th {
+ font-weight: bold;
+ border: 1px solid #cccccc;
+ text-align: left;
+ margin: 0;
+ padding: 6px 13px; }
+ table tr td {
+ border: 1px solid #cccccc;
+ text-align: left;
+ margin: 0;
+ padding: 6px 13px; }
+ table tr th :first-child, table tr td :first-child {
+ margin-top: 0; }
+ table tr th :last-child, table tr td :last-child {
+ margin-bottom: 0; }
+
+img {
+ max-width: 100%; }
+
+span.frame {
+ display: block;
+ overflow: hidden; }
+ span.frame > span {
+ border: 1px solid #dddddd;
+ display: block;
+ float: left;
+ overflow: hidden;
+ margin: 13px 0 0;
+ padding: 7px;
+ width: auto; }
+ span.frame span img {
+ display: block;
+ float: left; }
+ span.frame span span {
+ clear: both;
+ color: #333333;
+ display: block;
+ padding: 5px 0 0; }
+span.align-center {
+ display: block;
+ overflow: hidden;
+ clear: both; }
+ span.align-center > span {
+ display: block;
+ overflow: hidden;
+ margin: 13px auto 0;
+ text-align: center; }
+ span.align-center span img {
+ margin: 0 auto;
+ text-align: center; }
+span.align-right {
+ display: block;
+ overflow: hidden;
+ clear: both; }
+ span.align-right > span {
+ display: block;
+ overflow: hidden;
+ margin: 13px 0 0;
+ text-align: right; }
+ span.align-right span img {
+ margin: 0;
+ text-align: right; }
+span.float-left {
+ display: block;
+ margin-right: 13px;
+ overflow: hidden;
+ float: left; }
+ span.float-left span {
+ margin: 13px 0 0; }
+span.float-right {
+ display: block;
+ margin-left: 13px;
+ overflow: hidden;
+ float: right; }
+ span.float-right > span {
+ display: block;
+ overflow: hidden;
+ margin: 13px auto 0;
+ text-align: right; }
+
+code, tt {
+ margin: 0 2px;
+ padding: 0 5px;
+ white-space: nowrap;
+ border: 1px solid #eaeaea;
+ background-color: #f8f8f8;
+ border-radius: 3px; }
+
+pre code {
+ margin: 0;
+ padding: 0;
+ white-space: pre;
+ border: none;
+ background: transparent; }
+
+.highlight pre {
+ background-color: #f8f8f8;
+ border: 1px solid #cccccc;
+ font-size: 13px;
+ line-height: 19px;
+ overflow: auto;
+ padding: 6px 10px;
+ border-radius: 3px; }
+
+pre {
+ background-color: #f8f8f8;
+ border: 1px solid #cccccc;
+ font-size: 13px;
+ line-height: 19px;
+ overflow: auto;
+ padding: 6px 10px;
+ border-radius: 3px; }
+ pre code, pre tt {
+ background-color: transparent;
+ border: none; }
diff --git a/public/css/index.css b/public/css/index.css
new file mode 100644
index 00000000..6cfbeab0
--- /dev/null
+++ b/public/css/index.css
@@ -0,0 +1,108 @@
+@import url(https://fonts.googleapis.com/css?family=Source+Code+Pro&subset=latin,latin-ext);
+ body {
+ margin: 0;
+ padding: 0;
+ max-width: inherit;
+ min-width: 200px;
+ height: 100%;
+ /*margin-right: 15px;*/
+ padding-top: 50px;
+ /*overflow: hidden;*/
+}
+html,
+form,
+.row,
+.row > * {
+ height: 100%;
+ min-height: 100%;
+}
+.CodeMirror {
+ font-family: 'Source Code Pro', Consolas, monaco, monospace;
+ line-height: 18px;
+ font-size: 16px;
+ height: auto;
+ min-height: 100%;
+ overflow-y: hidden !important;
+ -webkit-overflow-scrolling: touch;
+}
+.CodeMirror-scroll {
+ overflow-x: hidden !important;
+ overflow-y: auto !important;
+}
+.CodeMirror-code {
+ padding-bottom: 100px;
+}
+.CodeMirror-linenumber {
+ opacity: 0.5;
+ width: 29px;
+}
+.CodeMirror-matchingtag {
+ background: rgba(255, 255, 255, .1);
+ line-height: 1em;
+}
+.CodeMirror-foldmarker {
+ color: #d0d0d0;
+ text-shadow: none;
+ font-family: arial;
+ line-height: .3;
+ cursor: pointer;
+ margin: 2px;
+}
+.row {
+ margin-left: 0;
+ margin-right: 0;
+}
+.ui-edit-area {
+ /*padding-left: 15px;*/
+ padding-left: 0 !important;
+ padding-right: 0 !important;
+}
+.ui-view-area {
+ /*overflow-y: scroll;*/
+ -webkit-overflow-scrolling: touch;
+}
+.ui-scrollable {
+ height: 100%;
+ overflow-x: hidden;
+ overflow-y: auto;
+}
+.ui-status * {
+ font-size: 16px;
+}
+.nav-status .ui-status * {
+ font-size: 14px;
+}
+.nav-mobile {
+ position: relative;
+ margin-top: 8px;
+ margin-bottom: 8px;
+}
+.nav-status {
+ float: right !important;
+ padding: 7px 8px;
+}
+.ui-status {
+ min-width: 120px;
+}
+.ui-short-status {
+ min-width: 40px;
+}
+.navbar-right {
+ margin-right: 0;
+}
+.other-cursors {
+ position:relative;
+ z-index:3;
+}
+.other-cursor {
+ width: 0px;
+ position: absolute;
+ border-right: none;
+}
+.fixfixed .navbar-fixed-top {
+ position: absolute !important;
+}
+div[contenteditable]:empty:not(:focus):before{
+ content:attr(data-ph);
+ color: gray;
+}
\ No newline at end of file
diff --git a/public/css/markdown.css b/public/css/markdown.css
new file mode 100644
index 00000000..95d72a6d
--- /dev/null
+++ b/public/css/markdown.css
@@ -0,0 +1,89 @@
+/* for markdown-body */
+
+.markdown-body {
+ padding-top: 40px;
+ padding-bottom: 40px;
+ max-width: 758px;
+}
+/*fixed style for bootstrap comflict*/
+
+.markdown-body pre {
+ border: inherit !important;
+}
+
+.markdown-body code {
+ color: inherit !important;
+}
+
+.markdown-body pre code .wrapper {
+ display: -webkit-inline-flex;
+ display: -moz-inline-flex;
+ display: -ms-inline-flex;
+ display: -o-inline-flex;
+ display: inline-flex;
+}
+
+.markdown-body pre code .gutter {
+ float: left;
+ overflow: hidden;
+ -webkit-user-select: none;
+ user-select: none;
+}
+
+.markdown-body pre code .gutter .linenumber {
+ text-align: right;
+ position: relative;
+ display: inline-block;
+ float: right;
+ cursor: default;
+ z-index: 4;
+ padding: 0 8px 0 0;
+ min-width: 20px;
+ box-sizing: content-box;
+ color: #afafaf !important;
+ border-right: 3px solid #6ce26c !important;
+}
+
+.markdown-body pre code .code {
+ float: left;
+ margin: 0 0 0 16px;
+}
+
+.markdown-body .gist .line-numbers {
+ border-left: none;
+ border-top: none;
+ border-bottom: none;
+}
+
+.markdown-body .gist .line-data {
+ border: none;
+}
+
+.markdown-body .gist table {
+ border-spacing: 0;
+ border-collapse: inherit !important;
+}
+
+.markdown-body code[data-gist-id] {
+ background: none;
+ padding: 0;
+}
+
+.markdown-body code[data-gist-id]:before {
+ content: ''
+}
+
+.markdown-body code[data-gist-id]:after {
+ content: ''
+}
+
+.markdown-body .sequence-diagram, .markdown-body .flow-chart {
+ text-align: center;
+}
+.markdown-body .flow-chart {
+ margin-bottom: 40px;
+}
+svg {
+ width: 100%;
+ max-height: 70vh;
+}
\ No newline at end of file
diff --git a/public/css/site.css b/public/css/site.css
new file mode 100644
index 00000000..b50a1f9b
--- /dev/null
+++ b/public/css/site.css
@@ -0,0 +1,15 @@
+/* for all pages should include this */
+body {
+ font-smoothing: subpixel-antialiased !important;
+ -webkit-font-smoothing: subpixel-antialiased !important;
+ -moz-osx-font-smoothing: auto !important;
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
+ /*text-rendering: optimizeLegibility;*/
+ -webkit-overflow-scrolling: touch;
+}
+:focus {
+ outline: none !important;
+}
+::-moz-focus-inner {
+ border: 0 !important;
+}
\ No newline at end of file
diff --git a/public/default.md b/public/default.md
new file mode 100644
index 00000000..6e723ab6
--- /dev/null
+++ b/public/default.md
@@ -0,0 +1,3 @@
+Untitled
+===
+Markdown tutorial: https://help.github.com/articles/markdown-basics/
\ No newline at end of file
diff --git a/public/favicon.png b/public/favicon.png
new file mode 100644
index 00000000..bfc7ec8c
Binary files /dev/null and b/public/favicon.png differ
diff --git a/public/features.md b/public/features.md
new file mode 100644
index 00000000..d041c335
--- /dev/null
+++ b/public/features.md
@@ -0,0 +1,332 @@
+Features
+===
+### Embed HackMD
+```html
+
+```
+
+### Emoji
+:smile: :smiley: :cry:
+
+### Todo List
+- [ ] Not
+ - [ ] No yet
+ - asd
+ - [ ] right away
+- [x] Done
+- Test
+ - [x] yes
+ - asd
+ - [x] cool
+- Test
+ - asd
+ - qwe
+ - vgfhddfgh
+- jhlkj
+ - jkhkjh
+ - kjhgkh
+ - gkjhgkj
+
+### Code Highlighting
+```javascript
+var s = "JavaScript syntax highlighting";
+alert(s);
+function $initHighlight(block, cls) {
+ try {
+ if (cls.search(/\bno\-highlight\b/) != -1)
+ return process(block, true, 0x0F) +
+ ' class=""';
+ } catch (e) {
+ /* handle exception */
+ }
+ for (var i = 0 / 2; i < classes.length; i++) {
+ if (checkCondition(classes[i]) === undefined)
+ return /\d+[\s/]/g;
+ }
+}
+```
+#### with line number
+> add '=' after the code block lang
+
+```javascript=
+var s = "JavaScript syntax highlighting";
+alert(s);
+function $initHighlight(block, cls) {
+ try {
+ if (cls.search(/\bno\-highlight\b/) != -1)
+ return process(block, true, 0x0F) +
+ ' class=""';
+ } catch (e) {
+ /* handle exception */
+ }
+ for (var i = 0 / 2; i < classes.length; i++) {
+ if (checkCondition(classes[i]) === undefined)
+ return /\d+[\s/]/g;
+ }
+}
+```
+
+smartList
+---
+#### cool
+
+* XD
+* QQ
+
+
+1. yes
+2. no
+
+smartypants
+---
+- "asd"
+- --asd
+- asd---
+
+Table
+---
+First Header | Second Header
+------------- | -------------
+Content Cell | Content Cell
+Content Cell | Content Cell
+
+First Header | Second Header
+------------- | -------------
+
+Image
+---
+![](http://cached.imagescaler.hbpl.co.uk/resize/scaleWidth/620/offlinehbpl.hbpl.co.uk/news/OKM/bubblescropped-20141024090315599.png)
+
+Video
+---
+#### Youtube
+
+{%youtube 1G4isv_Fylg %}
+
+#### Vimeo
+
+{%vimeo 124148255 %}
+
+Gist
+---
+{%gist schacon/4277 %}
+
+tags
+---
+> using like below
+
+###### tags: `features` `cool`
+
+
+
+
+
+# h1 Heading
+## h2 Heading
+### h3 Heading
+#### h4 Heading
+##### h5 Heading
+###### h6 Heading
+
+
+## Horizontal Rules
+
+___
+
+---
+
+***
+
+
+## Typographic replacements
+
+Enable typographer option to see result.
+
+(c) (C) (r) (R) (tm) (TM) (p) (P) +-
+
+test.. test... test..... test?..... test!....
+
+!!!!!! ???? ,,
+
+Remarkable -- awesome
+
+"Smartypants, double quotes"
+
+'Smartypants, single quotes'
+
+
+## Emphasis
+
+**This is bold text**
+
+__This is bold text__
+
+*This is italic text*
+
+_This is italic text_
+
+~~Deleted text~~
+
+Superscript: 19^th^
+
+Subscript: H~2~O
+
+++Inserted text++
+
+==Marked text==
+
+
+## Blockquotes
+
+
+> Blockquotes can also be nested...
+>> ...by using additional greater-than signs right next to each other...
+> > > ...or with spaces between arrows.
+
+
+## Lists
+
+Unordered
+
++ Create a list by starting a line with `+`, `-`, or `*`
++ Sub-lists are made by indenting 2 spaces:
+ - Marker character change forces new list start:
+ * Ac tristique libero volutpat at
+ + Facilisis in pretium nisl aliquet
+ - Nulla volutpat aliquam velit
++ Very easy!
+
+Ordered
+
+1. Lorem ipsum dolor sit amet
+2. Consectetur adipiscing elit
+3. Integer molestie lorem at massa
+
+
+1. You can use sequential numbers...
+1. ...or keep all the numbers as `1.`
+
+Start numbering with offset:
+
+57. foo
+1. bar
+
+
+## Code
+
+Inline `code`
+
+Indented code
+
+ // Some comments
+ line 1 of code
+ line 2 of code
+ line 3 of code
+
+
+Block code "fences"
+
+```
+Sample text here...
+```
+
+Syntax highlighting
+
+``` js
+var foo = function (bar) {
+ return bar++;
+};
+
+console.log(foo(5));
+```
+
+## Tables
+
+| Option | Description |
+| ------ | ----------- |
+| data | path to data files to supply the data that will be passed into templates. |
+| engine | engine to be used for processing templates. Handlebars is the default. |
+| ext | extension to be used for dest files. |
+
+Right aligned columns
+
+| Option | Description |
+| ------:| -----------:|
+| data | path to data files to supply the data that will be passed into templates. |
+| engine | engine to be used for processing templates. Handlebars is the default. |
+| ext | extension to be used for dest files. |
+
+
+## Links
+
+[link text](http://dev.nodeca.com)
+
+[link with title](http://nodeca.github.io/pica/demo/ "title text!")
+
+Autoconverted link https://github.com/nodeca/pica
+
+
+## Images
+
+![Minion](https://octodex.github.com/images/minion.png)
+![Stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat")
+
+Like links, Images also have a footnote style syntax
+
+![Alt text][id]
+
+With a reference later in the document defining the URL location:
+
+[id]: https://octodex.github.com/images/dojocat.jpg "The Dojocat"
+
+
+## Footnotes
+
+Footnote 1 link[^first].
+
+Footnote 2 link[^second].
+
+Inline footnote^[Text of inline footnote] definition.
+
+Duplicated footnote reference[^second].
+
+[^first]: Footnote **can have markup**
+
+ and multiple paragraphs.
+
+[^second]: Footnote text.
+
+
+## Definition lists
+
+Term 1
+
+: Definition 1
+with lazy continuation.
+
+Term 2 with *inline markup*
+
+: Definition 2
+
+ { some code, part of Definition 2 }
+
+ Third paragraph of definition 2.
+
+_Compact style:_
+
+Term 1
+ ~ Definition 1
+
+Term 2
+ ~ Definition 2a
+ ~ Definition 2b
+
+
+## Abbreviations
+
+This is HTML abbreviation example.
+
+It converts "HTML", but keep intact partial entries like "xxxHTMLyyy" and so on.
+
+*[HTML]: Hyper Text Markup Language
\ No newline at end of file
diff --git a/public/index.html b/public/index.html
new file mode 100644
index 00000000..ab844ab8
--- /dev/null
+++ b/public/index.html
@@ -0,0 +1,194 @@
+
+
+
+
+ ").insertAfter('.CodeMirror-cursors');
+ }
+ if ($('#' + id).length <= 0) {
+ var cursor = $('
');
+ //console.debug(pos);
+ cursor.attr('data-line', pos.line);
+ cursor.attr('data-ch', pos.ch);
+ var coord = editor.charCoords(pos, 'windows');
+ cursor[0].style.left = coord.left + 'px';
+ cursor[0].style.top = coord.top + 'px';
+ cursor[0].style.height = '18px';
+ cursor[0].style.borderLeft = '2px solid ' + color;
+ $('.other-cursors').append(cursor);
+ cursor.hide().fadeIn();
+ } else {
+ var cursor = $('#' + id);
+ cursor.attr('data-line', pos.line);
+ cursor.attr('data-ch', pos.ch);
+ var coord = editor.charCoords(pos, 'windows');
+ cursor.stop(true).css('opacity', 1).animate({"left":coord.left, "top":coord.top}, cursorAnimatePeriod);
+ //cursor[0].style.left = coord.left + 'px';
+ //cursor[0].style.top = coord.top + 'px';
+ cursor[0].style.height = '18px';
+ cursor[0].style.borderLeft = '2px solid ' + color;
+ }
+}
+
+//editor actions
+editor.on('beforeChange', function (cm, change) {
+ if (debug)
+ console.debug(change);
+});
+editor.on('change', function (i, op) {
+ if (debug)
+ console.debug(op);
+ if (op.origin != 'setValue' && op.origin != 'ignoreHistory') {
+ socket.emit('change', LZString.compressToBase64(JSON.stringify(op)));
+ }
+ isDirty = true;
+ clearTimeout(doneTypingTimer);
+ doneTypingTimer = setTimeout(doneTyping, doneTypingDelay);
+});
+editor.on('focus', function (cm) {
+ socket.emit('cursor focus', editor.getCursor());
+});
+var cursorActivityTimer = null;
+editor.on('cursorActivity', function (cm) {
+ clearTimeout(cursorActivityTimer);
+ cursorActivityTimer = setTimeout(cursorActivity, cursorActivityDelay);
+});
+function cursorActivity() {
+ socket.emit('cursor activity', editor.getCursor());
+}
+editor.on('blur', function (cm) {
+ socket.emit('cursor blur');
+});
+
+function saveInfo() {
+ var left = $(document.body).scrollLeft();
+ var top = $(document.body).scrollTop();
+ switch (currentMode) {
+ case modeType.edit:
+ lastInfo.edit.scroll.left = left;
+ lastInfo.edit.scroll.top = top;
+ break;
+ case modeType.view:
+ lastInfo.view.scroll.left = left;
+ lastInfo.view.scroll.top = top;
+ break;
+ case modeType.both:
+ lastInfo.edit.scroll = editor.getScrollInfo();
+ lastInfo.view.scroll.left = ui.area.view.scrollLeft();
+ lastInfo.view.scroll.top = ui.area.view.scrollTop();
+ break;
+ }
+ lastInfo.edit.cursor = editor.getCursor();
+ lastInfo.needRestore = true;
+}
+
+function restoreInfo() {
+ if (lastInfo.needRestore) {
+ var line = lastInfo.edit.cursor.line;
+ var ch = lastInfo.edit.cursor.ch;
+ editor.setCursor(line, ch);
+
+ switch (currentMode) {
+ case modeType.edit:
+ $(document.body).scrollLeft(lastInfo.edit.scroll.left);
+ $(document.body).scrollTop(lastInfo.edit.scroll.top);
+ break;
+ case modeType.view:
+ $(document.body).scrollLeft(lastInfo.view.scroll.left);
+ $(document.body).scrollTop(lastInfo.view.scroll.top);
+ break;
+ case modeType.both:
+ var left = lastInfo.edit.scroll.left;
+ var top = lastInfo.edit.scroll.top;
+ editor.scrollIntoView();
+ editor.scrollTo(left, top);
+ ui.area.view.scrollLeft(lastInfo.view.scroll.left);
+ ui.area.view.scrollTop(lastInfo.view.scroll.top);
+ break;
+ }
+
+ lastInfo.needRestore = false;
+ }
+}
+
+//view actions
+var doneTypingTimer = null;
+var finishChangeTimer = null;
+var input = editor.getInputField();
+//user is "finished typing," do something
+function doneTyping() {
+ updateView();
+ var value = editor.getValue();
+ socket.emit('refresh', LZString.compressToBase64(value));
+}
+
+function finishChange() {
+ updateView();
+}
+
+var lastResult = null;
+
+function updateView() {
+ if (currentMode == modeType.edit || !isDirty) return;
+ var value = editor.getValue();
+ var result = postProcess(md.render(value)).children().toArray();
+ //ui.area.markdown.html(result);
+ //finishView(ui.area.markdown);
+ partialUpdate(result, lastResult, ui.area.markdown.children().toArray());
+ lastResult = $(result).clone(true);
+ finishView(ui.area.view);
+ writeHistory(ui.area.markdown);
+ isDirty = false;
+ // reset lines mapping cache on content update
+ scrollMap = null;
+ emitUserStatus();
+}
+
+function partialUpdate(src, tar, des) {
+ if (!src || src.length == 0 || !tar || tar.length == 0 || !des || des.length == 0) {
+ ui.area.markdown.html(src);
+ return;
+ }
+ if (src.length == tar.length) { //same length
+ for (var i = 0; i < src.length; i++) {
+ copyAttribute(src[i], des[i], 'data-startline');
+ copyAttribute(src[i], des[i], 'data-endline');
+ var rawSrc = cloneAndRemoveDataAttr(src[i]);
+ var rawTar = cloneAndRemoveDataAttr(tar[i]);
+ if (rawSrc.outerHTML != rawTar.outerHTML) {
+ //console.log(rawSrc);
+ //console.log(rawTar);
+ $(des[i]).replaceWith(src[i]);
+ }
+ }
+ } else { //diff length
+ var start = 0;
+ var end = 0;
+ //find diff start position
+ for (var i = 0; i < tar.length; i++) {
+ copyAttribute(src[i], des[i], 'data-startline');
+ copyAttribute(src[i], des[i], 'data-endline');
+ var rawSrc = cloneAndRemoveDataAttr(src[i]);
+ var rawTar = cloneAndRemoveDataAttr(tar[i]);
+ if (!rawSrc || !rawTar || rawSrc.outerHTML != rawTar.outerHTML) {
+ start = i;
+ break;
+ }
+ }
+ //find diff end position
+ var srcEnd = 0;
+ var tarEnd = 0;
+ for (var i = 0; i < src.length; i++) {
+ copyAttribute(src[i], des[i], 'data-startline');
+ copyAttribute(src[i], des[i], 'data-endline');
+ var rawSrc = cloneAndRemoveDataAttr(src[i]);
+ var rawTar = cloneAndRemoveDataAttr(tar[i]);
+ if (!rawSrc || !rawTar || rawSrc.outerHTML != rawTar.outerHTML) {
+ start = i;
+ break;
+ }
+ }
+ //tar end
+ for (var i = 1; i <= tar.length; i++) {
+ var srcLength = src.length;
+ var tarLength = tar.length;
+ copyAttribute(src[srcLength - i], des[srcLength - i], 'data-startline');
+ copyAttribute(src[srcLength - i], des[srcLength - i], 'data-endline');
+ var rawSrc = cloneAndRemoveDataAttr(src[srcLength - i]);
+ var rawTar = cloneAndRemoveDataAttr(tar[tarLength - i]);
+ if (!rawSrc || !rawTar || rawSrc.outerHTML != rawTar.outerHTML) {
+ tarEnd = tar.length - i;
+ break;
+ }
+ }
+ //src end
+ for (var i = 1; i <= src.length; i++) {
+ var srcLength = src.length;
+ var tarLength = tar.length;
+ copyAttribute(src[srcLength - i], des[srcLength - i], 'data-startline');
+ copyAttribute(src[srcLength - i], des[srcLength - i], 'data-endline');
+ var rawSrc = cloneAndRemoveDataAttr(src[srcLength - i]);
+ var rawTar = cloneAndRemoveDataAttr(tar[tarLength - i]);
+ if (!rawSrc || !rawTar || rawSrc.outerHTML != rawTar.outerHTML) {
+ srcEnd = src.length - i;
+ break;
+ }
+ }
+ //check if tar end overlap tar start
+ var overlap = 0;
+ for (var i = start; i >= 0; i--) {
+ var rawTarStart = cloneAndRemoveDataAttr(tar[i-1]);
+ var rawTarEnd = cloneAndRemoveDataAttr(tar[tarEnd+1+start-i]);
+ if(rawTarStart && rawTarEnd && rawTarStart.outerHTML == rawTarEnd.outerHTML)
+ overlap++;
+ else
+ break;
+ }
+ if(debug)
+ console.log('overlap:' + overlap);
+ //show diff content
+ if(debug) {
+ console.log('start:' + start);
+ console.log('tarEnd:' + tarEnd);
+ console.log('srcEnd:' + srcEnd);
+ console.log('des[start]:' + des[start]);
+ }
+ tarEnd += overlap;
+ srcEnd += overlap;
+ //add new element
+ var newElements = "";
+ for (var j = start; j <= srcEnd; j++) {
+ if(debug)
+ srcChanged += src[j].outerHTML;
+ newElements += src[j].outerHTML;
+ }
+ if(newElements && des[start]) {
+ $(newElements).insertBefore(des[start]);
+ } else {
+ $(newElements).insertAfter(des[des.length-1]);
+ }
+ if(debug)
+ console.log(srcChanged);
+ //remove old element
+ if(debug)
+ var tarChanged = "";
+ for (var j = start; j <= tarEnd; j++) {
+ if(debug)
+ tarChanged += tar[j].outerHTML;
+ if(des[j])
+ des[j].remove();
+ }
+ if(debug) {
+ console.log(tarChanged);
+ var srcChanged = "";
+ }
+ }
+}
+
+function cloneAndRemoveDataAttr(el) {
+ if(!el) return;
+ var rawEl = $(el).clone(true)[0];
+ rawEl.removeAttribute('data-startline');
+ rawEl.removeAttribute('data-endline');
+ return rawEl;
+}
+
+function copyAttribute(src, des, attr) {
+ if (src && src.getAttribute(attr) && des)
+ des.setAttribute(attr, src.getAttribute(attr));
+}
+
+//
+// Inject line numbers for sync scroll. Notes:
+//
+// - We track only headings and paragraphs on first level. That's enougth.
+// - Footnotes content causes jumps. Level limit filter it automatically.
+//
+md.renderer.rules.paragraph_open = function (tokens, idx) {
+ var line;
+ if (tokens[idx].lines && tokens[idx].level === 0) {
+ var startline = tokens[idx].lines[0] + 1;
+ var endline = tokens[idx].lines[1];
+ return '
';
+ }
+ return '';
+};
+
+md.renderer.rules.heading_open = function (tokens, idx) {
+ var line;
+ if (tokens[idx].lines && tokens[idx].level === 0) {
+ var startline = tokens[idx].lines[0] + 1;
+ var endline = tokens[idx].lines[1];
+ return '';
+ }
+ return '';
+};
+
+editor.on('scroll', _.debounce(syncScrollToView, syncScrollDelay));
+//ui.area.view.on('scroll', _.debounce(syncScrollToEdit, 50));
+var scrollMap;
+// Build offsets for each line (lines can be wrapped)
+// That's a bit dirty to process each line everytime, but ok for demo.
+// Optimizations are required only for big texts.
+function buildScrollMap() {
+ var i, offset, nonEmptyList, pos, a, b, lineHeightMap, linesCount,
+ acc, sourceLikeDiv, textarea = ui.area.codemirror,
+ _scrollMap;
+
+ sourceLikeDiv = $('
').css({
+ position: 'absolute',
+ visibility: 'hidden',
+ height: 'auto',
+ width: editor.getScrollInfo().clientWidth,
+ 'font-size': textarea.css('font-size'),
+ 'font-family': textarea.css('font-family'),
+ 'line-height': textarea.css('line-height'),
+ 'white-space': textarea.css('white-space')
+ }).appendTo('body');
+
+ offset = ui.area.view.scrollTop() - ui.area.view.offset().top;
+ _scrollMap = [];
+ nonEmptyList = [];
+ lineHeightMap = [];
+
+ acc = 0;
+ editor.getValue().split('\n').forEach(function (str) {
+ var h, lh;
+
+ lineHeightMap.push(acc);
+
+ if (str.length === 0) {
+ acc++;
+ return;
+ }
+
+ sourceLikeDiv.text(str);
+ h = parseFloat(sourceLikeDiv.css('height'));
+ lh = parseFloat(sourceLikeDiv.css('line-height'));
+ acc += Math.round(h / lh);
+ });
+ sourceLikeDiv.remove();
+ lineHeightMap.push(acc);
+ linesCount = acc;
+
+ for (i = 0; i < linesCount; i++) {
+ _scrollMap.push(-1);
+ }
+
+ nonEmptyList.push(0);
+ _scrollMap[0] = 0;
+
+ ui.area.markdown.find('.part').each(function (n, el) {
+ var $el = $(el),
+ t = $el.data('startline');
+ if (t === '') {
+ return;
+ }
+ t = lineHeightMap[t];
+ if (t !== 0) {
+ nonEmptyList.push(t);
+ }
+ _scrollMap[t] = Math.round($el.offset().top + offset);
+ });
+
+ nonEmptyList.push(linesCount);
+ _scrollMap[linesCount] = ui.area.view[0].scrollHeight;
+
+ pos = 0;
+ for (i = 1; i < linesCount; i++) {
+ if (_scrollMap[i] !== -1) {
+ pos++;
+ continue;
+ }
+
+ a = nonEmptyList[pos];
+ b = nonEmptyList[pos + 1];
+ _scrollMap[i] = Math.round((_scrollMap[b] * (i - a) + _scrollMap[a] * (b - i)) / (b - a));
+ }
+
+ return _scrollMap;
+}
+
+function syncScrollToView() {
+ var lineNo, posTo;
+ var scrollInfo = editor.getScrollInfo();
+ if (!scrollMap) {
+ scrollMap = buildScrollMap();
+ }
+ lineNo = Math.floor(scrollInfo.top / editor.defaultTextHeight());
+ posTo = scrollMap[lineNo];
+ ui.area.view.stop(true).animate({scrollTop: posTo}, scrollAnimatePeriod);
+}
+
+function syncScrollToEdit() {
+ var lineNo, posTo;
+ if (!scrollMap) {
+ scrollMap = buildScrollMap();
+ }
+ var top = ui.area.view.scrollTop();
+ lineNo = closestIndex(top, scrollMap);
+ posTo = lineNo * editor.defaultTextHeight();
+ editor.scrollTo(0, posTo);
+}
+
+function closestIndex(num, arr) {
+ var curr = arr[0];
+ var index = 0;
+ var diff = Math.abs(num - curr);
+ for (var val = 0; val < arr.length; val++) {
+ var newdiff = Math.abs(num - arr[val]);
+ if (newdiff < diff) {
+ diff = newdiff;
+ curr = arr[val];
+ index = val;
+ }
+ }
+ return index;
+}
\ No newline at end of file
diff --git a/public/js/unused.js b/public/js/unused.js
new file mode 100644
index 00000000..4ff5b280
--- /dev/null
+++ b/public/js/unused.js
@@ -0,0 +1,45 @@
+
+ //parse Youtube
+ result.find(".youtube").each(function (key, value) {
+ if (!$(value).attr('videoid')) return;
+ setSizebyAttr(this, this);
+ var icon = ' ';
+ $(this).append(icon);
+ var videoid = $(value).attr('videoid');
+ var thumbnail_src = '//img.youtube.com/vi/' + videoid + '/hqdefault.jpg';
+ $(value).css('background-image', 'url(' + thumbnail_src + ')');
+ $(this).click(function () {
+ imgPlayiframe(this, '//www.youtube.com/embed/');
+ });
+ });
+ //parse vimeo
+ result.find(".vimeo").each(function (key, value) {
+ if (!$(value).attr('videoid')) return;
+ setSizebyAttr(this, this);
+ var icon = ' ';
+ $(this).append(icon);
+ var videoid = $(value).attr('videoid');
+ $.ajax({
+ type: 'GET',
+ url: 'http://vimeo.com/api/v2/video/' + videoid + '.json',
+ jsonp: 'callback',
+ dataType: 'jsonp',
+ success: function (data) {
+ var thumbnail_src = data[0].thumbnail_large;
+ $(value).css('background-image', 'url(' + thumbnail_src + ')');
+ }
+ });
+ $(this).click(function () {
+ imgPlayiframe(this, '//player.vimeo.com/video/');
+ });
+ });
+ //todo list
+ var lis = result[0].getElementsByTagName('li');
+ for (var i = 0; i < lis.length; i++) {
+ var html = lis[i].innerHTML;
+ if (/^\s*\[[x ]\]\s*/.test(html)) {
+ lis[i].innerHTML = html.replace(/^\s*\[ \]\s*/, ' ')
+ .replace(/^\s*\[x\]\s*/, ' ');
+ lis[i].setAttribute('class', 'task-list-item');
+ }
+ }
\ No newline at end of file
diff --git a/public/vendor/FileSaver.min.js b/public/vendor/FileSaver.min.js
new file mode 100644
index 00000000..682d14b3
--- /dev/null
+++ b/public/vendor/FileSaver.min.js
@@ -0,0 +1,2 @@
+/*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */
+var saveAs=saveAs||"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob&&navigator.msSaveOrOpenBlob.bind(navigator)||function(e){"use strict";if("undefined"==typeof navigator||!/MSIE [1-9]\./.test(navigator.userAgent)){var t=e.document,n=function(){return e.URL||e.webkitURL||e},o=t.createElementNS("http://www.w3.org/1999/xhtml","a"),r="download"in o,i=function(n){var o=t.createEvent("MouseEvents");o.initMouseEvent("click",!0,!1,e,0,0,0,0,0,!1,!1,!1,!1,0,null),n.dispatchEvent(o)},a=e.webkitRequestFileSystem,c=e.requestFileSystem||a||e.mozRequestFileSystem,s=function(t){(e.setImmediate||e.setTimeout)(function(){throw t},0)},u="application/octet-stream",f=0,d=500,l=function(t){var o=function(){"string"==typeof t?n().revokeObjectURL(t):t.remove()};e.chrome?o():setTimeout(o,d)},v=function(e,t,n){t=[].concat(t);for(var o=t.length;o--;){var r=e["on"+t[o]];if("function"==typeof r)try{r.call(e,n||e)}catch(i){s(i)}}},p=function(t,s){var d,p,w,y=this,m=t.type,S=!1,h=function(){v(y,"writestart progress write writeend".split(" "))},O=function(){if((S||!d)&&(d=n().createObjectURL(t)),p)p.location.href=d;else{var o=e.open(d,"_blank");void 0==o&&"undefined"!=typeof safari&&(e.location.href=d)}y.readyState=y.DONE,h(),l(d)},b=function(e){return function(){return y.readyState!==y.DONE?e.apply(this,arguments):void 0}},g={create:!0,exclusive:!1};return y.readyState=y.INIT,s||(s="download"),r?(d=n().createObjectURL(t),o.href=d,o.download=s,i(o),y.readyState=y.DONE,h(),void l(d)):(/^\s*(?:text\/(?:plain|xml)|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)&&(t=new Blob(["",t],{type:t.type})),e.chrome&&m&&m!==u&&(w=t.slice||t.webkitSlice,t=w.call(t,0,t.size,u),S=!0),a&&"download"!==s&&(s+=".download"),(m===u||a)&&(p=e),c?(f+=t.size,void c(e.TEMPORARY,f,b(function(e){e.root.getDirectory("saved",g,b(function(e){var n=function(){e.getFile(s,g,b(function(e){e.createWriter(b(function(n){n.onwriteend=function(t){p.location.href=e.toURL(),y.readyState=y.DONE,v(y,"writeend",t),l(e)},n.onerror=function(){var e=n.error;e.code!==e.ABORT_ERR&&O()},"writestart progress write abort".split(" ").forEach(function(e){n["on"+e]=y["on"+e]}),n.write(t),y.abort=function(){n.abort(),y.readyState=y.DONE},y.readyState=y.WRITING}),O)}),O)};e.getFile(s,{create:!1},b(function(e){e.remove(),n()}),b(function(e){e.code===e.NOT_FOUND_ERR?n():O()}))}),O)}),O)):void O())},w=p.prototype,y=function(e,t){return new p(e,t)};return w.abort=function(){var e=this;e.readyState=e.DONE,v(e,"abort")},w.readyState=w.INIT=0,w.WRITING=1,w.DONE=2,w.error=w.onwritestart=w.onprogress=w.onwrite=w.onabort=w.onerror=w.onwriteend=null,y}}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content);"undefined"!=typeof module&&module.exports?module.exports.saveAs=saveAs:"undefined"!=typeof define&&null!==define&&null!=define.amd&&define([],function(){return saveAs});
\ No newline at end of file
diff --git a/public/vendor/bootstrap/css/bootstrap-theme.css b/public/vendor/bootstrap/css/bootstrap-theme.css
new file mode 100644
index 00000000..bb663496
--- /dev/null
+++ b/public/vendor/bootstrap/css/bootstrap-theme.css
@@ -0,0 +1,476 @@
+/*!
+ * Bootstrap v3.3.2 (http://getbootstrap.com)
+ * Copyright 2011-2015 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ */
+
+.btn-default,
+.btn-primary,
+.btn-success,
+.btn-info,
+.btn-warning,
+.btn-danger {
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, .2);
+ -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
+}
+.btn-default:active,
+.btn-primary:active,
+.btn-success:active,
+.btn-info:active,
+.btn-warning:active,
+.btn-danger:active,
+.btn-default.active,
+.btn-primary.active,
+.btn-success.active,
+.btn-info.active,
+.btn-warning.active,
+.btn-danger.active {
+ -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
+ box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
+}
+.btn-default .badge,
+.btn-primary .badge,
+.btn-success .badge,
+.btn-info .badge,
+.btn-warning .badge,
+.btn-danger .badge {
+ text-shadow: none;
+}
+.btn:active,
+.btn.active {
+ background-image: none;
+}
+.btn-default {
+ text-shadow: 0 1px 0 #fff;
+ background-image: -webkit-linear-gradient(top, #fff 0%, #e0e0e0 100%);
+ background-image: -o-linear-gradient(top, #fff 0%, #e0e0e0 100%);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#e0e0e0));
+ background-image: linear-gradient(to bottom, #fff 0%, #e0e0e0 100%);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
+ background-repeat: repeat-x;
+ border-color: #dbdbdb;
+ border-color: #ccc;
+}
+.btn-default:hover,
+.btn-default:focus {
+ background-color: #e0e0e0;
+ background-position: 0 -15px;
+}
+.btn-default:active,
+.btn-default.active {
+ background-color: #e0e0e0;
+ border-color: #dbdbdb;
+}
+.btn-default.disabled,
+.btn-default:disabled,
+.btn-default[disabled] {
+ background-color: #e0e0e0;
+ background-image: none;
+}
+.btn-primary {
+ background-image: -webkit-linear-gradient(top, #337ab7 0%, #265a88 100%);
+ background-image: -o-linear-gradient(top, #337ab7 0%, #265a88 100%);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#265a88));
+ background-image: linear-gradient(to bottom, #337ab7 0%, #265a88 100%);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff265a88', GradientType=0);
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
+ background-repeat: repeat-x;
+ border-color: #245580;
+}
+.btn-primary:hover,
+.btn-primary:focus {
+ background-color: #265a88;
+ background-position: 0 -15px;
+}
+.btn-primary:active,
+.btn-primary.active {
+ background-color: #265a88;
+ border-color: #245580;
+}
+.btn-primary.disabled,
+.btn-primary:disabled,
+.btn-primary[disabled] {
+ background-color: #265a88;
+ background-image: none;
+}
+.btn-success {
+ background-image: -webkit-linear-gradient(top, #5cb85c 0%, #419641 100%);
+ background-image: -o-linear-gradient(top, #5cb85c 0%, #419641 100%);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#419641));
+ background-image: linear-gradient(to bottom, #5cb85c 0%, #419641 100%);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
+ background-repeat: repeat-x;
+ border-color: #3e8f3e;
+}
+.btn-success:hover,
+.btn-success:focus {
+ background-color: #419641;
+ background-position: 0 -15px;
+}
+.btn-success:active,
+.btn-success.active {
+ background-color: #419641;
+ border-color: #3e8f3e;
+}
+.btn-success.disabled,
+.btn-success:disabled,
+.btn-success[disabled] {
+ background-color: #419641;
+ background-image: none;
+}
+.btn-info {
+ background-image: -webkit-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);
+ background-image: -o-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#5bc0de), to(#2aabd2));
+ background-image: linear-gradient(to bottom, #5bc0de 0%, #2aabd2 100%);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
+ background-repeat: repeat-x;
+ border-color: #28a4c9;
+}
+.btn-info:hover,
+.btn-info:focus {
+ background-color: #2aabd2;
+ background-position: 0 -15px;
+}
+.btn-info:active,
+.btn-info.active {
+ background-color: #2aabd2;
+ border-color: #28a4c9;
+}
+.btn-info.disabled,
+.btn-info:disabled,
+.btn-info[disabled] {
+ background-color: #2aabd2;
+ background-image: none;
+}
+.btn-warning {
+ background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);
+ background-image: -o-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#f0ad4e), to(#eb9316));
+ background-image: linear-gradient(to bottom, #f0ad4e 0%, #eb9316 100%);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
+ background-repeat: repeat-x;
+ border-color: #e38d13;
+}
+.btn-warning:hover,
+.btn-warning:focus {
+ background-color: #eb9316;
+ background-position: 0 -15px;
+}
+.btn-warning:active,
+.btn-warning.active {
+ background-color: #eb9316;
+ border-color: #e38d13;
+}
+.btn-warning.disabled,
+.btn-warning:disabled,
+.btn-warning[disabled] {
+ background-color: #eb9316;
+ background-image: none;
+}
+.btn-danger {
+ background-image: -webkit-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
+ background-image: -o-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#d9534f), to(#c12e2a));
+ background-image: linear-gradient(to bottom, #d9534f 0%, #c12e2a 100%);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
+ background-repeat: repeat-x;
+ border-color: #b92c28;
+}
+.btn-danger:hover,
+.btn-danger:focus {
+ background-color: #c12e2a;
+ background-position: 0 -15px;
+}
+.btn-danger:active,
+.btn-danger.active {
+ background-color: #c12e2a;
+ border-color: #b92c28;
+}
+.btn-danger.disabled,
+.btn-danger:disabled,
+.btn-danger[disabled] {
+ background-color: #c12e2a;
+ background-image: none;
+}
+.thumbnail,
+.img-thumbnail {
+ -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
+ box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
+}
+.dropdown-menu > li > a:hover,
+.dropdown-menu > li > a:focus {
+ background-color: #e8e8e8;
+ background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
+ background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8));
+ background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
+ background-repeat: repeat-x;
+}
+.dropdown-menu > .active > a,
+.dropdown-menu > .active > a:hover,
+.dropdown-menu > .active > a:focus {
+ background-color: #2e6da4;
+ background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
+ background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4));
+ background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);
+ background-repeat: repeat-x;
+}
+.navbar-default {
+ background-image: -webkit-linear-gradient(top, #fff 0%, #f8f8f8 100%);
+ background-image: -o-linear-gradient(top, #fff 0%, #f8f8f8 100%);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f8f8f8));
+ background-image: linear-gradient(to bottom, #fff 0%, #f8f8f8 100%);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
+ background-repeat: repeat-x;
+ border-radius: 4px;
+ -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075);
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075);
+}
+.navbar-default .navbar-nav > .open > a,
+.navbar-default .navbar-nav > .active > a {
+ background-image: -webkit-linear-gradient(top, #dbdbdb 0%, #e2e2e2 100%);
+ background-image: -o-linear-gradient(top, #dbdbdb 0%, #e2e2e2 100%);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#dbdbdb), to(#e2e2e2));
+ background-image: linear-gradient(to bottom, #dbdbdb 0%, #e2e2e2 100%);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdbdbdb', endColorstr='#ffe2e2e2', GradientType=0);
+ background-repeat: repeat-x;
+ -webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075);
+ box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075);
+}
+.navbar-brand,
+.navbar-nav > li > a {
+ text-shadow: 0 1px 0 rgba(255, 255, 255, .25);
+}
+.navbar-inverse {
+ background-image: -webkit-linear-gradient(top, #3c3c3c 0%, #222 100%);
+ background-image: -o-linear-gradient(top, #3c3c3c 0%, #222 100%);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#3c3c3c), to(#222));
+ background-image: linear-gradient(to bottom, #3c3c3c 0%, #222 100%);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
+ background-repeat: repeat-x;
+}
+.navbar-inverse .navbar-nav > .open > a,
+.navbar-inverse .navbar-nav > .active > a {
+ background-image: -webkit-linear-gradient(top, #080808 0%, #0f0f0f 100%);
+ background-image: -o-linear-gradient(top, #080808 0%, #0f0f0f 100%);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#080808), to(#0f0f0f));
+ background-image: linear-gradient(to bottom, #080808 0%, #0f0f0f 100%);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff080808', endColorstr='#ff0f0f0f', GradientType=0);
+ background-repeat: repeat-x;
+ -webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .25);
+ box-shadow: inset 0 3px 9px rgba(0, 0, 0, .25);
+}
+.navbar-inverse .navbar-brand,
+.navbar-inverse .navbar-nav > li > a {
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, .25);
+}
+.navbar-static-top,
+.navbar-fixed-top,
+.navbar-fixed-bottom {
+ border-radius: 0;
+}
+@media (max-width: 767px) {
+ .navbar .navbar-nav .open .dropdown-menu > .active > a,
+ .navbar .navbar-nav .open .dropdown-menu > .active > a:hover,
+ .navbar .navbar-nav .open .dropdown-menu > .active > a:focus {
+ color: #fff;
+ background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
+ background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4));
+ background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);
+ background-repeat: repeat-x;
+ }
+}
+.alert {
+ text-shadow: 0 1px 0 rgba(255, 255, 255, .2);
+ -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05);
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05);
+}
+.alert-success {
+ background-image: -webkit-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);
+ background-image: -o-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#c8e5bc));
+ background-image: linear-gradient(to bottom, #dff0d8 0%, #c8e5bc 100%);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0);
+ background-repeat: repeat-x;
+ border-color: #b2dba1;
+}
+.alert-info {
+ background-image: -webkit-linear-gradient(top, #d9edf7 0%, #b9def0 100%);
+ background-image: -o-linear-gradient(top, #d9edf7 0%, #b9def0 100%);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#b9def0));
+ background-image: linear-gradient(to bottom, #d9edf7 0%, #b9def0 100%);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0);
+ background-repeat: repeat-x;
+ border-color: #9acfea;
+}
+.alert-warning {
+ background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
+ background-image: -o-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#f8efc0));
+ background-image: linear-gradient(to bottom, #fcf8e3 0%, #f8efc0 100%);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0);
+ background-repeat: repeat-x;
+ border-color: #f5e79e;
+}
+.alert-danger {
+ background-image: -webkit-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);
+ background-image: -o-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#e7c3c3));
+ background-image: linear-gradient(to bottom, #f2dede 0%, #e7c3c3 100%);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);
+ background-repeat: repeat-x;
+ border-color: #dca7a7;
+}
+.progress {
+ background-image: -webkit-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);
+ background-image: -o-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#ebebeb), to(#f5f5f5));
+ background-image: linear-gradient(to bottom, #ebebeb 0%, #f5f5f5 100%);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0);
+ background-repeat: repeat-x;
+}
+.progress-bar {
+ background-image: -webkit-linear-gradient(top, #337ab7 0%, #286090 100%);
+ background-image: -o-linear-gradient(top, #337ab7 0%, #286090 100%);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#286090));
+ background-image: linear-gradient(to bottom, #337ab7 0%, #286090 100%);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff286090', GradientType=0);
+ background-repeat: repeat-x;
+}
+.progress-bar-success {
+ background-image: -webkit-linear-gradient(top, #5cb85c 0%, #449d44 100%);
+ background-image: -o-linear-gradient(top, #5cb85c 0%, #449d44 100%);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#449d44));
+ background-image: linear-gradient(to bottom, #5cb85c 0%, #449d44 100%);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0);
+ background-repeat: repeat-x;
+}
+.progress-bar-info {
+ background-image: -webkit-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);
+ background-image: -o-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#5bc0de), to(#31b0d5));
+ background-image: linear-gradient(to bottom, #5bc0de 0%, #31b0d5 100%);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0);
+ background-repeat: repeat-x;
+}
+.progress-bar-warning {
+ background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);
+ background-image: -o-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#f0ad4e), to(#ec971f));
+ background-image: linear-gradient(to bottom, #f0ad4e 0%, #ec971f 100%);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0);
+ background-repeat: repeat-x;
+}
+.progress-bar-danger {
+ background-image: -webkit-linear-gradient(top, #d9534f 0%, #c9302c 100%);
+ background-image: -o-linear-gradient(top, #d9534f 0%, #c9302c 100%);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#d9534f), to(#c9302c));
+ background-image: linear-gradient(to bottom, #d9534f 0%, #c9302c 100%);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0);
+ background-repeat: repeat-x;
+}
+.progress-bar-striped {
+ background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
+ background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
+ background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
+}
+.list-group {
+ border-radius: 4px;
+ -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
+ box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
+}
+.list-group-item.active,
+.list-group-item.active:hover,
+.list-group-item.active:focus {
+ text-shadow: 0 -1px 0 #286090;
+ background-image: -webkit-linear-gradient(top, #337ab7 0%, #2b669a 100%);
+ background-image: -o-linear-gradient(top, #337ab7 0%, #2b669a 100%);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2b669a));
+ background-image: linear-gradient(to bottom, #337ab7 0%, #2b669a 100%);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2b669a', GradientType=0);
+ background-repeat: repeat-x;
+ border-color: #2b669a;
+}
+.list-group-item.active .badge,
+.list-group-item.active:hover .badge,
+.list-group-item.active:focus .badge {
+ text-shadow: none;
+}
+.panel {
+ -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
+ box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
+}
+.panel-default > .panel-heading {
+ background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
+ background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8));
+ background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
+ background-repeat: repeat-x;
+}
+.panel-primary > .panel-heading {
+ background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
+ background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4));
+ background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);
+ background-repeat: repeat-x;
+}
+.panel-success > .panel-heading {
+ background-image: -webkit-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);
+ background-image: -o-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#d0e9c6));
+ background-image: linear-gradient(to bottom, #dff0d8 0%, #d0e9c6 100%);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0);
+ background-repeat: repeat-x;
+}
+.panel-info > .panel-heading {
+ background-image: -webkit-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);
+ background-image: -o-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#c4e3f3));
+ background-image: linear-gradient(to bottom, #d9edf7 0%, #c4e3f3 100%);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0);
+ background-repeat: repeat-x;
+}
+.panel-warning > .panel-heading {
+ background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);
+ background-image: -o-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#faf2cc));
+ background-image: linear-gradient(to bottom, #fcf8e3 0%, #faf2cc 100%);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0);
+ background-repeat: repeat-x;
+}
+.panel-danger > .panel-heading {
+ background-image: -webkit-linear-gradient(top, #f2dede 0%, #ebcccc 100%);
+ background-image: -o-linear-gradient(top, #f2dede 0%, #ebcccc 100%);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#ebcccc));
+ background-image: linear-gradient(to bottom, #f2dede 0%, #ebcccc 100%);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0);
+ background-repeat: repeat-x;
+}
+.well {
+ background-image: -webkit-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);
+ background-image: -o-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#e8e8e8), to(#f5f5f5));
+ background-image: linear-gradient(to bottom, #e8e8e8 0%, #f5f5f5 100%);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);
+ background-repeat: repeat-x;
+ border-color: #dcdcdc;
+ -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
+ box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
+}
+/*# sourceMappingURL=bootstrap-theme.css.map */
diff --git a/public/vendor/bootstrap/css/bootstrap-theme.css.map b/public/vendor/bootstrap/css/bootstrap-theme.css.map
new file mode 100644
index 00000000..5a12d631
--- /dev/null
+++ b/public/vendor/bootstrap/css/bootstrap-theme.css.map
@@ -0,0 +1 @@
+{"version":3,"sources":["less/theme.less","less/mixins/vendor-prefixes.less","bootstrap-theme.css","less/mixins/gradients.less","less/mixins/reset-filter.less"],"names":[],"mappings":"AAcA;;;;;;EAME,0CAAA;ECgDA,6FAAA;EACQ,qFAAA;EC5DT;AFgBC;;;;;;;;;;;;EC2CA,0DAAA;EACQ,kDAAA;EC7CT;AFVD;;;;;;EAiBI,mBAAA;EECH;AFiCC;;EAEE,wBAAA;EE/BH;AFoCD;EGnDI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EAEA,wHAAA;ECnBF,qEAAA;EJiCA,6BAAA;EACA,uBAAA;EAgC2C,2BAAA;EAA2B,oBAAA;EEzBvE;AFLC;;EAEE,2BAAA;EACA,8BAAA;EEOH;AFJC;;EAEE,2BAAA;EACA,uBAAA;EEMH;AFHC;;;EAGE,2BAAA;EACA,wBAAA;EEKH;AFUD;EGpDI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EAEA,wHAAA;ECnBF,qEAAA;EJiCA,6BAAA;EACA,uBAAA;EEgCD;AF9BC;;EAEE,2BAAA;EACA,8BAAA;EEgCH;AF7BC;;EAEE,2BAAA;EACA,uBAAA;EE+BH;AF5BC;;;EAGE,2BAAA;EACA,wBAAA;EE8BH;AFdD;EGrDI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EAEA,wHAAA;ECnBF,qEAAA;EJiCA,6BAAA;EACA,uBAAA;EEyDD;AFvDC;;EAEE,2BAAA;EACA,8BAAA;EEyDH;AFtDC;;EAEE,2BAAA;EACA,uBAAA;EEwDH;AFrDC;;;EAGE,2BAAA;EACA,wBAAA;EEuDH;AFtCD;EGtDI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EAEA,wHAAA;ECnBF,qEAAA;EJiCA,6BAAA;EACA,uBAAA;EEkFD;AFhFC;;EAEE,2BAAA;EACA,8BAAA;EEkFH;AF/EC;;EAEE,2BAAA;EACA,uBAAA;EEiFH;AF9EC;;;EAGE,2BAAA;EACA,wBAAA;EEgFH;AF9DD;EGvDI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EAEA,wHAAA;ECnBF,qEAAA;EJiCA,6BAAA;EACA,uBAAA;EE2GD;AFzGC;;EAEE,2BAAA;EACA,8BAAA;EE2GH;AFxGC;;EAEE,2BAAA;EACA,uBAAA;EE0GH;AFvGC;;;EAGE,2BAAA;EACA,wBAAA;EEyGH;AFtFD;EGxDI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EAEA,wHAAA;ECnBF,qEAAA;EJiCA,6BAAA;EACA,uBAAA;EEoID;AFlIC;;EAEE,2BAAA;EACA,8BAAA;EEoIH;AFjIC;;EAEE,2BAAA;EACA,uBAAA;EEmIH;AFhIC;;;EAGE,2BAAA;EACA,wBAAA;EEkIH;AFxGD;;EChBE,oDAAA;EACQ,4CAAA;EC4HT;AFnGD;;EGzEI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;EHwEF,2BAAA;EEyGD;AFvGD;;;EG9EI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;EH8EF,2BAAA;EE6GD;AFpGD;EG3FI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;ECnBF,qEAAA;EJ6GA,oBAAA;EC/CA,6FAAA;EACQ,qFAAA;EC0JT;AF/GD;;EG3FI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;EF2CF,0DAAA;EACQ,kDAAA;ECoKT;AF5GD;;EAEE,gDAAA;EE8GD;AF1GD;EG9GI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;ECnBF,qEAAA;EF+OD;AFlHD;;EG9GI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;EF2CF,yDAAA;EACQ,iDAAA;EC0LT;AF5HD;;EAYI,2CAAA;EEoHH;AF/GD;;;EAGE,kBAAA;EEiHD;AF5FD;EAfI;;;IAGE,aAAA;IG3IF,0EAAA;IACA,qEAAA;IACA,+FAAA;IAAA,wEAAA;IACA,6BAAA;IACA,wHAAA;ID0PD;EACF;AFxGD;EACE,+CAAA;ECzGA,4FAAA;EACQ,oFAAA;ECoNT;AFhGD;EGpKI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;EH4JF,uBAAA;EE4GD;AFvGD;EGrKI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;EH4JF,uBAAA;EEoHD;AF9GD;EGtKI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;EH4JF,uBAAA;EE4HD;AFrHD;EGvKI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;EH4JF,uBAAA;EEoID;AFrHD;EG/KI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;EDuSH;AFlHD;EGzLI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;ED8SH;AFxHD;EG1LI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;EDqTH;AF9HD;EG3LI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;ED4TH;AFpID;EG5LI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;EDmUH;AF1ID;EG7LI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;ED0UH;AF7ID;EGhKI,+MAAA;EACA,0MAAA;EACA,uMAAA;EDgTH;AFzID;EACE,oBAAA;EC5JA,oDAAA;EACQ,4CAAA;ECwST;AF1ID;;;EAGE,+BAAA;EGjNE,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;EH+MF,uBAAA;EEgJD;AFrJD;;;EAQI,mBAAA;EEkJH;AFxID;ECjLE,mDAAA;EACQ,2CAAA;EC4TT;AFlID;EG1OI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;ED+WH;AFxID;EG3OI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;EDsXH;AF9ID;EG5OI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;ED6XH;AFpJD;EG7OI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;EDoYH;AF1JD;EG9OI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;ED2YH;AFhKD;EG/OI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;EDkZH;AFhKD;EGtPI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;EHoPF,uBAAA;ECzMA,2FAAA;EACQ,mFAAA;ECgXT","file":"bootstrap-theme.css","sourcesContent":["\n//\n// Load core variables and mixins\n// --------------------------------------------------\n\n@import \"variables.less\";\n@import \"mixins.less\";\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 .badge {\n text-shadow: none;\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; see https://github.com/twbs/bootstrap/issues/10620\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 &.disabled,\n &:disabled,\n &[disabled] {\n background-color: darken(@btn-color, 12%);\n background-image: none;\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-info { .btn-styles(@btn-info-bg); }\n.btn-warning { .btn-styles(@btn-warning-bg); }\n.btn-danger { .btn-styles(@btn-danger-bg); }\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// 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// 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 > .open > a,\n .navbar-nav > .active > a {\n #gradient > .vertical(@start-color: darken(@navbar-default-link-active-bg, 5%); @end-color: darken(@navbar-default-link-active-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; see https://github.com/twbs/bootstrap/issues/10257\n\n .navbar-nav > .open > a,\n .navbar-nav > .active > a {\n #gradient > .vertical(@start-color: @navbar-inverse-link-active-bg; @end-color: lighten(@navbar-inverse-link-active-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// Fix active state of dropdown items in collapsed mode\n@media (max-width: @grid-float-breakpoint-max) {\n .navbar .navbar-nav .open .dropdown-menu > .active > a {\n &,\n &:hover,\n &:focus {\n color: #fff;\n #gradient > .vertical(@start-color: @dropdown-link-active-bg; @end-color: darken(@dropdown-link-active-bg, 5%));\n }\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// 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// Reset the striped class because our mixins don't do multiple gradients and\n// the above custom styles override the new `.progress-bar-striped` in v3.2.0.\n.progress-bar-striped {\n #gradient > .striped();\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 .badge {\n text-shadow: none;\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// 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","// Vendor Prefixes\n//\n// All vendor mixins are deprecated as of v3.2.0 due to the introduction of\n// Autoprefixer in our Gruntfile. They will be removed in v4.\n\n// - Animations\n// - Backface visibility\n// - Box shadow\n// - Box sizing\n// - Content columns\n// - Hyphens\n// - Placeholder text\n// - Transformations\n// - Transitions\n// - User Select\n\n\n// Animations\n.animation(@animation) {\n -webkit-animation: @animation;\n -o-animation: @animation;\n animation: @animation;\n}\n.animation-name(@name) {\n -webkit-animation-name: @name;\n animation-name: @name;\n}\n.animation-duration(@duration) {\n -webkit-animation-duration: @duration;\n animation-duration: @duration;\n}\n.animation-timing-function(@timing-function) {\n -webkit-animation-timing-function: @timing-function;\n animation-timing-function: @timing-function;\n}\n.animation-delay(@delay) {\n -webkit-animation-delay: @delay;\n animation-delay: @delay;\n}\n.animation-iteration-count(@iteration-count) {\n -webkit-animation-iteration-count: @iteration-count;\n animation-iteration-count: @iteration-count;\n}\n.animation-direction(@direction) {\n -webkit-animation-direction: @direction;\n animation-direction: @direction;\n}\n.animation-fill-mode(@fill-mode) {\n -webkit-animation-fill-mode: @fill-mode;\n animation-fill-mode: @fill-mode;\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\n.backface-visibility(@visibility){\n -webkit-backface-visibility: @visibility;\n -moz-backface-visibility: @visibility;\n backface-visibility: @visibility;\n}\n\n// Drop shadows\n//\n// Note: Deprecated `.box-shadow()` as of v3.1.0 since all of Bootstrap's\n// supported browsers that have box shadow capabilities now support it.\n\n.box-shadow(@shadow) {\n -webkit-box-shadow: @shadow; // iOS <4.3 & Android <4.1\n box-shadow: @shadow;\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// 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// Placeholder text\n.placeholder(@color: @input-color-placeholder) {\n // Firefox\n &::-moz-placeholder {\n color: @color;\n opacity: 1; // Override Firefox's unusual default opacity; see https://github.com/twbs/bootstrap/pull/11526\n }\n &:-ms-input-placeholder { color: @color; } // Internet Explorer 10+\n &::-webkit-input-placeholder { color: @color; } // Safari and Chrome\n}\n\n// Transformations\n.scale(@ratio) {\n -webkit-transform: scale(@ratio);\n -ms-transform: scale(@ratio); // IE9 only\n -o-transform: scale(@ratio);\n transform: scale(@ratio);\n}\n.scale(@ratioX; @ratioY) {\n -webkit-transform: scale(@ratioX, @ratioY);\n -ms-transform: scale(@ratioX, @ratioY); // IE9 only\n -o-transform: scale(@ratioX, @ratioY);\n transform: scale(@ratioX, @ratioY);\n}\n.scaleX(@ratio) {\n -webkit-transform: scaleX(@ratio);\n -ms-transform: scaleX(@ratio); // IE9 only\n -o-transform: scaleX(@ratio);\n transform: scaleX(@ratio);\n}\n.scaleY(@ratio) {\n -webkit-transform: scaleY(@ratio);\n -ms-transform: scaleY(@ratio); // IE9 only\n -o-transform: scaleY(@ratio);\n transform: scaleY(@ratio);\n}\n.skew(@x; @y) {\n -webkit-transform: skewX(@x) skewY(@y);\n -ms-transform: skewX(@x) skewY(@y); // See https://github.com/twbs/bootstrap/issues/4885; IE9+\n -o-transform: skewX(@x) skewY(@y);\n transform: skewX(@x) skewY(@y);\n}\n.translate(@x; @y) {\n -webkit-transform: translate(@x, @y);\n -ms-transform: translate(@x, @y); // IE9 only\n -o-transform: translate(@x, @y);\n transform: translate(@x, @y);\n}\n.translate3d(@x; @y; @z) {\n -webkit-transform: translate3d(@x, @y, @z);\n transform: translate3d(@x, @y, @z);\n}\n.rotate(@degrees) {\n -webkit-transform: rotate(@degrees);\n -ms-transform: rotate(@degrees); // IE9 only\n -o-transform: rotate(@degrees);\n transform: rotate(@degrees);\n}\n.rotateX(@degrees) {\n -webkit-transform: rotateX(@degrees);\n -ms-transform: rotateX(@degrees); // IE9 only\n -o-transform: rotateX(@degrees);\n transform: rotateX(@degrees);\n}\n.rotateY(@degrees) {\n -webkit-transform: rotateY(@degrees);\n -ms-transform: rotateY(@degrees); // IE9 only\n -o-transform: rotateY(@degrees);\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 -ms-transform-origin: @origin; // IE9 only\n transform-origin: @origin;\n}\n\n\n// Transitions\n\n.transition(@transition) {\n -webkit-transition: @transition;\n -o-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-timing-function(@timing-function) {\n -webkit-transition-timing-function: @timing-function;\n transition-timing-function: @timing-function;\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\n// User select\n// For selecting text on the page\n\n.user-select(@select) {\n -webkit-user-select: @select;\n -moz-user-select: @select;\n -ms-user-select: @select; // IE10+\n user-select: @select;\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.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.btn-default .badge,\n.btn-primary .badge,\n.btn-success .badge,\n.btn-info .badge,\n.btn-warning .badge,\n.btn-danger .badge {\n text-shadow: none;\n}\n.btn:active,\n.btn.active {\n background-image: none;\n}\n.btn-default {\n background-image: -webkit-linear-gradient(top, #ffffff 0%, #e0e0e0 100%);\n background-image: -o-linear-gradient(top, #ffffff 0%, #e0e0e0 100%);\n background-image: linear-gradient(to bottom, #ffffff 0%, #e0e0e0 100%);\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);\n filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);\n background-repeat: repeat-x;\n border-color: #dbdbdb;\n text-shadow: 0 1px 0 #fff;\n border-color: #ccc;\n}\n.btn-default:hover,\n.btn-default:focus {\n background-color: #e0e0e0;\n background-position: 0 -15px;\n}\n.btn-default:active,\n.btn-default.active {\n background-color: #e0e0e0;\n border-color: #dbdbdb;\n}\n.btn-default.disabled,\n.btn-default:disabled,\n.btn-default[disabled] {\n background-color: #e0e0e0;\n background-image: none;\n}\n.btn-primary {\n background-image: -webkit-linear-gradient(top, #337ab7 0%, #265a88 100%);\n background-image: -o-linear-gradient(top, #337ab7 0%, #265a88 100%);\n background-image: linear-gradient(to bottom, #337ab7 0%, #265a88 100%);\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff265a88', GradientType=0);\n filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);\n background-repeat: repeat-x;\n border-color: #245580;\n}\n.btn-primary:hover,\n.btn-primary:focus {\n background-color: #265a88;\n background-position: 0 -15px;\n}\n.btn-primary:active,\n.btn-primary.active {\n background-color: #265a88;\n border-color: #245580;\n}\n.btn-primary.disabled,\n.btn-primary:disabled,\n.btn-primary[disabled] {\n background-color: #265a88;\n background-image: none;\n}\n.btn-success {\n background-image: -webkit-linear-gradient(top, #5cb85c 0%, #419641 100%);\n background-image: -o-linear-gradient(top, #5cb85c 0%, #419641 100%);\n background-image: linear-gradient(to bottom, #5cb85c 0%, #419641 100%);\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);\n filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);\n background-repeat: repeat-x;\n border-color: #3e8f3e;\n}\n.btn-success:hover,\n.btn-success:focus {\n background-color: #419641;\n background-position: 0 -15px;\n}\n.btn-success:active,\n.btn-success.active {\n background-color: #419641;\n border-color: #3e8f3e;\n}\n.btn-success.disabled,\n.btn-success:disabled,\n.btn-success[disabled] {\n background-color: #419641;\n background-image: none;\n}\n.btn-info {\n background-image: -webkit-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);\n background-image: -o-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);\n background-image: linear-gradient(to bottom, #5bc0de 0%, #2aabd2 100%);\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);\n filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);\n background-repeat: repeat-x;\n border-color: #28a4c9;\n}\n.btn-info:hover,\n.btn-info:focus {\n background-color: #2aabd2;\n background-position: 0 -15px;\n}\n.btn-info:active,\n.btn-info.active {\n background-color: #2aabd2;\n border-color: #28a4c9;\n}\n.btn-info.disabled,\n.btn-info:disabled,\n.btn-info[disabled] {\n background-color: #2aabd2;\n background-image: none;\n}\n.btn-warning {\n background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);\n background-image: -o-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);\n background-image: linear-gradient(to bottom, #f0ad4e 0%, #eb9316 100%);\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);\n filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);\n background-repeat: repeat-x;\n border-color: #e38d13;\n}\n.btn-warning:hover,\n.btn-warning:focus {\n background-color: #eb9316;\n background-position: 0 -15px;\n}\n.btn-warning:active,\n.btn-warning.active {\n background-color: #eb9316;\n border-color: #e38d13;\n}\n.btn-warning.disabled,\n.btn-warning:disabled,\n.btn-warning[disabled] {\n background-color: #eb9316;\n background-image: none;\n}\n.btn-danger {\n background-image: -webkit-linear-gradient(top, #d9534f 0%, #c12e2a 100%);\n background-image: -o-linear-gradient(top, #d9534f 0%, #c12e2a 100%);\n background-image: linear-gradient(to bottom, #d9534f 0%, #c12e2a 100%);\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);\n filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);\n background-repeat: repeat-x;\n border-color: #b92c28;\n}\n.btn-danger:hover,\n.btn-danger:focus {\n background-color: #c12e2a;\n background-position: 0 -15px;\n}\n.btn-danger:active,\n.btn-danger.active {\n background-color: #c12e2a;\n border-color: #b92c28;\n}\n.btn-danger.disabled,\n.btn-danger:disabled,\n.btn-danger[disabled] {\n background-color: #c12e2a;\n background-image: none;\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.dropdown-menu > li > a:hover,\n.dropdown-menu > li > a:focus {\n background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);\n background-image: -o-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 background-color: #e8e8e8;\n}\n.dropdown-menu > .active > a,\n.dropdown-menu > .active > a:hover,\n.dropdown-menu > .active > a:focus {\n background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%);\n background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%);\n background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);\n background-color: #2e6da4;\n}\n.navbar-default {\n background-image: -webkit-linear-gradient(top, #ffffff 0%, #f8f8f8 100%);\n background-image: -o-linear-gradient(top, #ffffff 0%, #f8f8f8 100%);\n background-image: linear-gradient(to bottom, #ffffff 0%, #f8f8f8 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);\n filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);\n border-radius: 4px;\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.navbar-default .navbar-nav > .open > a,\n.navbar-default .navbar-nav > .active > a {\n background-image: -webkit-linear-gradient(top, #dbdbdb 0%, #e2e2e2 100%);\n background-image: -o-linear-gradient(top, #dbdbdb 0%, #e2e2e2 100%);\n background-image: linear-gradient(to bottom, #dbdbdb 0%, #e2e2e2 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdbdbdb', endColorstr='#ffe2e2e2', 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.navbar-brand,\n.navbar-nav > li > a {\n text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);\n}\n.navbar-inverse {\n background-image: -webkit-linear-gradient(top, #3c3c3c 0%, #222222 100%);\n background-image: -o-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.navbar-inverse .navbar-nav > .open > a,\n.navbar-inverse .navbar-nav > .active > a {\n background-image: -webkit-linear-gradient(top, #080808 0%, #0f0f0f 100%);\n background-image: -o-linear-gradient(top, #080808 0%, #0f0f0f 100%);\n background-image: linear-gradient(to bottom, #080808 0%, #0f0f0f 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff080808', endColorstr='#ff0f0f0f', 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.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.navbar-static-top,\n.navbar-fixed-top,\n.navbar-fixed-bottom {\n border-radius: 0;\n}\n@media (max-width: 767px) {\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;\n background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%);\n background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%);\n background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=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.alert-success {\n background-image: -webkit-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);\n background-image: -o-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);\n background-image: linear-gradient(to bottom, #dff0d8 0%, #c8e5bc 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0);\n border-color: #b2dba1;\n}\n.alert-info {\n background-image: -webkit-linear-gradient(top, #d9edf7 0%, #b9def0 100%);\n background-image: -o-linear-gradient(top, #d9edf7 0%, #b9def0 100%);\n background-image: linear-gradient(to bottom, #d9edf7 0%, #b9def0 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0);\n border-color: #9acfea;\n}\n.alert-warning {\n background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);\n background-image: -o-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);\n background-image: linear-gradient(to bottom, #fcf8e3 0%, #f8efc0 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0);\n border-color: #f5e79e;\n}\n.alert-danger {\n background-image: -webkit-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);\n background-image: -o-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);\n background-image: linear-gradient(to bottom, #f2dede 0%, #e7c3c3 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);\n border-color: #dca7a7;\n}\n.progress {\n background-image: -webkit-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);\n background-image: -o-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.progress-bar {\n background-image: -webkit-linear-gradient(top, #337ab7 0%, #286090 100%);\n background-image: -o-linear-gradient(top, #337ab7 0%, #286090 100%);\n background-image: linear-gradient(to bottom, #337ab7 0%, #286090 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff286090', GradientType=0);\n}\n.progress-bar-success {\n background-image: -webkit-linear-gradient(top, #5cb85c 0%, #449d44 100%);\n background-image: -o-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.progress-bar-info {\n background-image: -webkit-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);\n background-image: -o-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.progress-bar-warning {\n background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);\n background-image: -o-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.progress-bar-danger {\n background-image: -webkit-linear-gradient(top, #d9534f 0%, #c9302c 100%);\n background-image: -o-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.progress-bar-striped {\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: -o-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.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.list-group-item.active,\n.list-group-item.active:hover,\n.list-group-item.active:focus {\n text-shadow: 0 -1px 0 #286090;\n background-image: -webkit-linear-gradient(top, #337ab7 0%, #2b669a 100%);\n background-image: -o-linear-gradient(top, #337ab7 0%, #2b669a 100%);\n background-image: linear-gradient(to bottom, #337ab7 0%, #2b669a 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2b669a', GradientType=0);\n border-color: #2b669a;\n}\n.list-group-item.active .badge,\n.list-group-item.active:hover .badge,\n.list-group-item.active:focus .badge {\n text-shadow: none;\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.panel-default > .panel-heading {\n background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);\n background-image: -o-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.panel-primary > .panel-heading {\n background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%);\n background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%);\n background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);\n}\n.panel-success > .panel-heading {\n background-image: -webkit-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);\n background-image: -o-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.panel-info > .panel-heading {\n background-image: -webkit-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);\n background-image: -o-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.panel-warning > .panel-heading {\n background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);\n background-image: -o-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.panel-danger > .panel-heading {\n background-image: -webkit-linear-gradient(top, #f2dede 0%, #ebcccc 100%);\n background-image: -o-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.well {\n background-image: -webkit-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);\n background-image: -o-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);\n background-image: linear-gradient(to bottom, #e8e8e8 0%, #f5f5f5 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);\n border-color: #dcdcdc;\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}\n/*# sourceMappingURL=bootstrap-theme.css.map */","// Gradients\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, @start-color @start-percent, @end-color @end-percent); // Safari 5.1-6, Chrome 10+\n background-image: -o-linear-gradient(left, @start-color @start-percent, @end-color @end-percent); // Opera 12\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: -o-linear-gradient(top, @start-color @start-percent, @end-color @end-percent); // Opera 12\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: -o-linear-gradient(@deg, @start-color, @end-color); // Opera 12\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: -o-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: -o-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: -o-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","// 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\n.reset-filter() {\n filter: e(%(\"progid:DXImageTransform.Microsoft.gradient(enabled = false)\"));\n}\n"]}
\ No newline at end of file
diff --git a/public/vendor/bootstrap/css/bootstrap-theme.min.css b/public/vendor/bootstrap/css/bootstrap-theme.min.css
new file mode 100644
index 00000000..ac8dd550
--- /dev/null
+++ b/public/vendor/bootstrap/css/bootstrap-theme.min.css
@@ -0,0 +1,5 @@
+/*!
+ * Bootstrap v3.3.2 (http://getbootstrap.com)
+ * Copyright 2011-2015 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ */.btn-danger,.btn-default,.btn-info,.btn-primary,.btn-success,.btn-warning{text-shadow:0 -1px 0 rgba(0,0,0,.2);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075)}.btn-danger.active,.btn-danger:active,.btn-default.active,.btn-default:active,.btn-info.active,.btn-info:active,.btn-primary.active,.btn-primary:active,.btn-success.active,.btn-success:active,.btn-warning.active,.btn-warning:active{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-danger .badge,.btn-default .badge,.btn-info .badge,.btn-primary .badge,.btn-success .badge,.btn-warning .badge{text-shadow:none}.btn.active,.btn:active{background-image:none}.btn-default{text-shadow:0 1px 0 #fff;background-image:-webkit-linear-gradient(top,#fff 0,#e0e0e0 100%);background-image:-o-linear-gradient(top,#fff 0,#e0e0e0 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#e0e0e0));background-image:linear-gradient(to bottom,#fff 0,#e0e0e0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#dbdbdb;border-color:#ccc}.btn-default:focus,.btn-default:hover{background-color:#e0e0e0;background-position:0 -15px}.btn-default.active,.btn-default:active{background-color:#e0e0e0;border-color:#dbdbdb}.btn-default.disabled,.btn-default:disabled,.btn-default[disabled]{background-color:#e0e0e0;background-image:none}.btn-primary{background-image:-webkit-linear-gradient(top,#337ab7 0,#265a88 100%);background-image:-o-linear-gradient(top,#337ab7 0,#265a88 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#265a88));background-image:linear-gradient(to bottom,#337ab7 0,#265a88 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff265a88', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#245580}.btn-primary:focus,.btn-primary:hover{background-color:#265a88;background-position:0 -15px}.btn-primary.active,.btn-primary:active{background-color:#265a88;border-color:#245580}.btn-primary.disabled,.btn-primary:disabled,.btn-primary[disabled]{background-color:#265a88;background-image:none}.btn-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:-o-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5cb85c),to(#419641));background-image:linear-gradient(to bottom,#5cb85c 0,#419641 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#3e8f3e}.btn-success:focus,.btn-success:hover{background-color:#419641;background-position:0 -15px}.btn-success.active,.btn-success:active{background-color:#419641;border-color:#3e8f3e}.btn-success.disabled,.btn-success:disabled,.btn-success[disabled]{background-color:#419641;background-image:none}.btn-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:-o-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5bc0de),to(#2aabd2));background-image:linear-gradient(to bottom,#5bc0de 0,#2aabd2 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#28a4c9}.btn-info:focus,.btn-info:hover{background-color:#2aabd2;background-position:0 -15px}.btn-info.active,.btn-info:active{background-color:#2aabd2;border-color:#28a4c9}.btn-info.disabled,.btn-info:disabled,.btn-info[disabled]{background-color:#2aabd2;background-image:none}.btn-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:-o-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f0ad4e),to(#eb9316));background-image:linear-gradient(to bottom,#f0ad4e 0,#eb9316 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#e38d13}.btn-warning:focus,.btn-warning:hover{background-color:#eb9316;background-position:0 -15px}.btn-warning.active,.btn-warning:active{background-color:#eb9316;border-color:#e38d13}.btn-warning.disabled,.btn-warning:disabled,.btn-warning[disabled]{background-color:#eb9316;background-image:none}.btn-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c12e2a 100%);background-image:-o-linear-gradient(top,#d9534f 0,#c12e2a 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9534f),to(#c12e2a));background-image:linear-gradient(to bottom,#d9534f 0,#c12e2a 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#b92c28}.btn-danger:focus,.btn-danger:hover{background-color:#c12e2a;background-position:0 -15px}.btn-danger.active,.btn-danger:active{background-color:#c12e2a;border-color:#b92c28}.btn-danger.disabled,.btn-danger:disabled,.btn-danger[disabled]{background-color:#c12e2a;background-image:none}.img-thumbnail,.thumbnail{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{background-color:#e8e8e8;background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-o-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#e8e8e8));background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);background-repeat:repeat-x}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{background-color:#2e6da4;background-image:-webkit-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2e6da4));background-image:linear-gradient(to bottom,#337ab7 0,#2e6da4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);background-repeat:repeat-x}.navbar-default{background-image:-webkit-linear-gradient(top,#fff 0,#f8f8f8 100%);background-image:-o-linear-gradient(top,#fff 0,#f8f8f8 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#f8f8f8));background-image:linear-gradient(to bottom,#fff 0,#f8f8f8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-radius:4px;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075)}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.open>a{background-image:-webkit-linear-gradient(top,#dbdbdb 0,#e2e2e2 100%);background-image:-o-linear-gradient(top,#dbdbdb 0,#e2e2e2 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#dbdbdb),to(#e2e2e2));background-image:linear-gradient(to bottom,#dbdbdb 0,#e2e2e2 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdbdbdb', endColorstr='#ffe2e2e2', GradientType=0);background-repeat:repeat-x;-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.075);box-shadow:inset 0 3px 9px rgba(0,0,0,.075)}.navbar-brand,.navbar-nav>li>a{text-shadow:0 1px 0 rgba(255,255,255,.25)}.navbar-inverse{background-image:-webkit-linear-gradient(top,#3c3c3c 0,#222 100%);background-image:-o-linear-gradient(top,#3c3c3c 0,#222 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#3c3c3c),to(#222));background-image:linear-gradient(to bottom,#3c3c3c 0,#222 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.open>a{background-image:-webkit-linear-gradient(top,#080808 0,#0f0f0f 100%);background-image:-o-linear-gradient(top,#080808 0,#0f0f0f 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#080808),to(#0f0f0f));background-image:linear-gradient(to bottom,#080808 0,#0f0f0f 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff080808', endColorstr='#ff0f0f0f', GradientType=0);background-repeat:repeat-x;-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.25);box-shadow:inset 0 3px 9px rgba(0,0,0,.25)}.navbar-inverse .navbar-brand,.navbar-inverse .navbar-nav>li>a{text-shadow:0 -1px 0 rgba(0,0,0,.25)}.navbar-fixed-bottom,.navbar-fixed-top,.navbar-static-top{border-radius:0}@media (max-width:767px){.navbar .navbar-nav .open .dropdown-menu>.active>a,.navbar .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-image:-webkit-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2e6da4));background-image:linear-gradient(to bottom,#337ab7 0,#2e6da4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);background-repeat:repeat-x}}.alert{text-shadow:0 1px 0 rgba(255,255,255,.2);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05)}.alert-success{background-image:-webkit-linear-gradient(top,#dff0d8 0,#c8e5bc 100%);background-image:-o-linear-gradient(top,#dff0d8 0,#c8e5bc 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#dff0d8),to(#c8e5bc));background-image:linear-gradient(to bottom,#dff0d8 0,#c8e5bc 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0);background-repeat:repeat-x;border-color:#b2dba1}.alert-info{background-image:-webkit-linear-gradient(top,#d9edf7 0,#b9def0 100%);background-image:-o-linear-gradient(top,#d9edf7 0,#b9def0 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9edf7),to(#b9def0));background-image:linear-gradient(to bottom,#d9edf7 0,#b9def0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0);background-repeat:repeat-x;border-color:#9acfea}.alert-warning{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#f8efc0 100%);background-image:-o-linear-gradient(top,#fcf8e3 0,#f8efc0 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fcf8e3),to(#f8efc0));background-image:linear-gradient(to bottom,#fcf8e3 0,#f8efc0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0);background-repeat:repeat-x;border-color:#f5e79e}.alert-danger{background-image:-webkit-linear-gradient(top,#f2dede 0,#e7c3c3 100%);background-image:-o-linear-gradient(top,#f2dede 0,#e7c3c3 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f2dede),to(#e7c3c3));background-image:linear-gradient(to bottom,#f2dede 0,#e7c3c3 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);background-repeat:repeat-x;border-color:#dca7a7}.progress{background-image:-webkit-linear-gradient(top,#ebebeb 0,#f5f5f5 100%);background-image:-o-linear-gradient(top,#ebebeb 0,#f5f5f5 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#ebebeb),to(#f5f5f5));background-image:linear-gradient(to bottom,#ebebeb 0,#f5f5f5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0);background-repeat:repeat-x}.progress-bar{background-image:-webkit-linear-gradient(top,#337ab7 0,#286090 100%);background-image:-o-linear-gradient(top,#337ab7 0,#286090 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#286090));background-image:linear-gradient(to bottom,#337ab7 0,#286090 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff286090', GradientType=0);background-repeat:repeat-x}.progress-bar-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#449d44 100%);background-image:-o-linear-gradient(top,#5cb85c 0,#449d44 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5cb85c),to(#449d44));background-image:linear-gradient(to bottom,#5cb85c 0,#449d44 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0);background-repeat:repeat-x}.progress-bar-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#31b0d5 100%);background-image:-o-linear-gradient(top,#5bc0de 0,#31b0d5 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5bc0de),to(#31b0d5));background-image:linear-gradient(to bottom,#5bc0de 0,#31b0d5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0);background-repeat:repeat-x}.progress-bar-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#ec971f 100%);background-image:-o-linear-gradient(top,#f0ad4e 0,#ec971f 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f0ad4e),to(#ec971f));background-image:linear-gradient(to bottom,#f0ad4e 0,#ec971f 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0);background-repeat:repeat-x}.progress-bar-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c9302c 100%);background-image:-o-linear-gradient(top,#d9534f 0,#c9302c 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9534f),to(#c9302c));background-image:linear-gradient(to bottom,#d9534f 0,#c9302c 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0);background-repeat:repeat-x}.progress-bar-striped{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.list-group{border-radius:4px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover{text-shadow:0 -1px 0 #286090;background-image:-webkit-linear-gradient(top,#337ab7 0,#2b669a 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2b669a 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2b669a));background-image:linear-gradient(to bottom,#337ab7 0,#2b669a 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2b669a', GradientType=0);background-repeat:repeat-x;border-color:#2b669a}.list-group-item.active .badge,.list-group-item.active:focus .badge,.list-group-item.active:hover .badge{text-shadow:none}.panel{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.05);box-shadow:0 1px 2px rgba(0,0,0,.05)}.panel-default>.panel-heading{background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-o-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#e8e8e8));background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);background-repeat:repeat-x}.panel-primary>.panel-heading{background-image:-webkit-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2e6da4));background-image:linear-gradient(to bottom,#337ab7 0,#2e6da4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);background-repeat:repeat-x}.panel-success>.panel-heading{background-image:-webkit-linear-gradient(top,#dff0d8 0,#d0e9c6 100%);background-image:-o-linear-gradient(top,#dff0d8 0,#d0e9c6 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#dff0d8),to(#d0e9c6));background-image:linear-gradient(to bottom,#dff0d8 0,#d0e9c6 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0);background-repeat:repeat-x}.panel-info>.panel-heading{background-image:-webkit-linear-gradient(top,#d9edf7 0,#c4e3f3 100%);background-image:-o-linear-gradient(top,#d9edf7 0,#c4e3f3 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9edf7),to(#c4e3f3));background-image:linear-gradient(to bottom,#d9edf7 0,#c4e3f3 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0);background-repeat:repeat-x}.panel-warning>.panel-heading{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#faf2cc 100%);background-image:-o-linear-gradient(top,#fcf8e3 0,#faf2cc 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fcf8e3),to(#faf2cc));background-image:linear-gradient(to bottom,#fcf8e3 0,#faf2cc 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0);background-repeat:repeat-x}.panel-danger>.panel-heading{background-image:-webkit-linear-gradient(top,#f2dede 0,#ebcccc 100%);background-image:-o-linear-gradient(top,#f2dede 0,#ebcccc 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f2dede),to(#ebcccc));background-image:linear-gradient(to bottom,#f2dede 0,#ebcccc 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0);background-repeat:repeat-x}.well{background-image:-webkit-linear-gradient(top,#e8e8e8 0,#f5f5f5 100%);background-image:-o-linear-gradient(top,#e8e8e8 0,#f5f5f5 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#e8e8e8),to(#f5f5f5));background-image:linear-gradient(to bottom,#e8e8e8 0,#f5f5f5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);background-repeat:repeat-x;border-color:#dcdcdc;-webkit-box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1)}
\ No newline at end of file
diff --git a/public/vendor/bootstrap/css/bootstrap.css b/public/vendor/bootstrap/css/bootstrap.css
new file mode 100644
index 00000000..c46af7df
--- /dev/null
+++ b/public/vendor/bootstrap/css/bootstrap.css
@@ -0,0 +1,6566 @@
+/*!
+ * Bootstrap v3.3.2 (http://getbootstrap.com)
+ * Copyright 2011-2015 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ */
+
+/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
+html {
+ font-family: sans-serif;
+ -webkit-text-size-adjust: 100%;
+ -ms-text-size-adjust: 100%;
+}
+body {
+ margin: 0;
+}
+article,
+aside,
+details,
+figcaption,
+figure,
+footer,
+header,
+hgroup,
+main,
+menu,
+nav,
+section,
+summary {
+ display: block;
+}
+audio,
+canvas,
+progress,
+video {
+ display: inline-block;
+ vertical-align: baseline;
+}
+audio:not([controls]) {
+ display: none;
+ height: 0;
+}
+[hidden],
+template {
+ display: none;
+}
+a {
+ background-color: transparent;
+}
+a:active,
+a:hover {
+ outline: 0;
+}
+abbr[title] {
+ border-bottom: 1px dotted;
+}
+b,
+strong {
+ font-weight: bold;
+}
+dfn {
+ font-style: italic;
+}
+h1 {
+ margin: .67em 0;
+ font-size: 2em;
+}
+mark {
+ color: #000;
+ background: #ff0;
+}
+small {
+ font-size: 80%;
+}
+sub,
+sup {
+ position: relative;
+ font-size: 75%;
+ line-height: 0;
+ vertical-align: baseline;
+}
+sup {
+ top: -.5em;
+}
+sub {
+ bottom: -.25em;
+}
+img {
+ border: 0;
+}
+svg:not(:root) {
+ overflow: hidden;
+}
+figure {
+ margin: 1em 40px;
+}
+hr {
+ height: 0;
+ -webkit-box-sizing: content-box;
+ -moz-box-sizing: content-box;
+ box-sizing: content-box;
+}
+pre {
+ overflow: auto;
+}
+code,
+kbd,
+pre,
+samp {
+ font-family: monospace, monospace;
+ font-size: 1em;
+}
+button,
+input,
+optgroup,
+select,
+textarea {
+ margin: 0;
+ font: inherit;
+ color: inherit;
+}
+button {
+ overflow: visible;
+}
+button,
+select {
+ text-transform: none;
+}
+button,
+html input[type="button"],
+input[type="reset"],
+input[type="submit"] {
+ -webkit-appearance: button;
+ cursor: pointer;
+}
+button[disabled],
+html input[disabled] {
+ cursor: default;
+}
+button::-moz-focus-inner,
+input::-moz-focus-inner {
+ padding: 0;
+ border: 0;
+}
+input {
+ line-height: normal;
+}
+input[type="checkbox"],
+input[type="radio"] {
+ -webkit-box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+ padding: 0;
+}
+input[type="number"]::-webkit-inner-spin-button,
+input[type="number"]::-webkit-outer-spin-button {
+ height: auto;
+}
+input[type="search"] {
+ -webkit-box-sizing: content-box;
+ -moz-box-sizing: content-box;
+ box-sizing: content-box;
+ -webkit-appearance: textfield;
+}
+input[type="search"]::-webkit-search-cancel-button,
+input[type="search"]::-webkit-search-decoration {
+ -webkit-appearance: none;
+}
+fieldset {
+ padding: .35em .625em .75em;
+ margin: 0 2px;
+ border: 1px solid #c0c0c0;
+}
+legend {
+ padding: 0;
+ border: 0;
+}
+textarea {
+ overflow: auto;
+}
+optgroup {
+ font-weight: bold;
+}
+table {
+ border-spacing: 0;
+ border-collapse: collapse;
+}
+td,
+th {
+ padding: 0;
+}
+/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */
+@media print {
+ *,
+ *:before,
+ *:after {
+ color: #000 !important;
+ text-shadow: none !important;
+ background: transparent !important;
+ -webkit-box-shadow: none !important;
+ box-shadow: none !important;
+ }
+ a,
+ a:visited {
+ text-decoration: underline;
+ }
+ a[href]:after {
+ content: " (" attr(href) ")";
+ }
+ abbr[title]:after {
+ content: " (" attr(title) ")";
+ }
+ a[href^="#"]:after,
+ a[href^="javascript:"]:after {
+ content: "";
+ }
+ pre,
+ blockquote {
+ border: 1px solid #999;
+
+ page-break-inside: avoid;
+ }
+ thead {
+ display: table-header-group;
+ }
+ tr,
+ img {
+ page-break-inside: avoid;
+ }
+ img {
+ max-width: 100% !important;
+ }
+ p,
+ h2,
+ h3 {
+ orphans: 3;
+ widows: 3;
+ }
+ h2,
+ h3 {
+ page-break-after: avoid;
+ }
+ select {
+ background: #fff !important;
+ }
+ .navbar {
+ display: none;
+ }
+ .btn > .caret,
+ .dropup > .btn > .caret {
+ border-top-color: #000 !important;
+ }
+ .label {
+ border: 1px solid #000;
+ }
+ .table {
+ border-collapse: collapse !important;
+ }
+ .table td,
+ .table th {
+ background-color: #fff !important;
+ }
+ .table-bordered th,
+ .table-bordered td {
+ border: 1px solid #ddd !important;
+ }
+}
+@font-face {
+ font-family: 'Glyphicons Halflings';
+
+ src: url('../fonts/glyphicons-halflings-regular.eot');
+ src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'), 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');
+}
+.glyphicon {
+ position: relative;
+ top: 1px;
+ display: inline-block;
+ font-family: 'Glyphicons Halflings';
+ font-style: normal;
+ font-weight: normal;
+ line-height: 1;
+
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+}
+.glyphicon-asterisk:before {
+ content: "\2a";
+}
+.glyphicon-plus:before {
+ content: "\2b";
+}
+.glyphicon-euro:before,
+.glyphicon-eur:before {
+ content: "\20ac";
+}
+.glyphicon-minus:before {
+ content: "\2212";
+}
+.glyphicon-cloud:before {
+ content: "\2601";
+}
+.glyphicon-envelope:before {
+ content: "\2709";
+}
+.glyphicon-pencil:before {
+ content: "\270f";
+}
+.glyphicon-glass:before {
+ content: "\e001";
+}
+.glyphicon-music:before {
+ content: "\e002";
+}
+.glyphicon-search:before {
+ content: "\e003";
+}
+.glyphicon-heart:before {
+ content: "\e005";
+}
+.glyphicon-star:before {
+ content: "\e006";
+}
+.glyphicon-star-empty:before {
+ content: "\e007";
+}
+.glyphicon-user:before {
+ content: "\e008";
+}
+.glyphicon-film:before {
+ content: "\e009";
+}
+.glyphicon-th-large:before {
+ content: "\e010";
+}
+.glyphicon-th:before {
+ content: "\e011";
+}
+.glyphicon-th-list:before {
+ content: "\e012";
+}
+.glyphicon-ok:before {
+ content: "\e013";
+}
+.glyphicon-remove:before {
+ content: "\e014";
+}
+.glyphicon-zoom-in:before {
+ content: "\e015";
+}
+.glyphicon-zoom-out:before {
+ content: "\e016";
+}
+.glyphicon-off:before {
+ content: "\e017";
+}
+.glyphicon-signal:before {
+ content: "\e018";
+}
+.glyphicon-cog:before {
+ content: "\e019";
+}
+.glyphicon-trash:before {
+ content: "\e020";
+}
+.glyphicon-home:before {
+ content: "\e021";
+}
+.glyphicon-file:before {
+ content: "\e022";
+}
+.glyphicon-time:before {
+ content: "\e023";
+}
+.glyphicon-road:before {
+ content: "\e024";
+}
+.glyphicon-download-alt:before {
+ content: "\e025";
+}
+.glyphicon-download:before {
+ content: "\e026";
+}
+.glyphicon-upload:before {
+ content: "\e027";
+}
+.glyphicon-inbox:before {
+ content: "\e028";
+}
+.glyphicon-play-circle:before {
+ content: "\e029";
+}
+.glyphicon-repeat:before {
+ content: "\e030";
+}
+.glyphicon-refresh:before {
+ content: "\e031";
+}
+.glyphicon-list-alt:before {
+ content: "\e032";
+}
+.glyphicon-lock:before {
+ content: "\e033";
+}
+.glyphicon-flag:before {
+ content: "\e034";
+}
+.glyphicon-headphones:before {
+ content: "\e035";
+}
+.glyphicon-volume-off:before {
+ content: "\e036";
+}
+.glyphicon-volume-down:before {
+ content: "\e037";
+}
+.glyphicon-volume-up:before {
+ content: "\e038";
+}
+.glyphicon-qrcode:before {
+ content: "\e039";
+}
+.glyphicon-barcode:before {
+ content: "\e040";
+}
+.glyphicon-tag:before {
+ content: "\e041";
+}
+.glyphicon-tags:before {
+ content: "\e042";
+}
+.glyphicon-book:before {
+ content: "\e043";
+}
+.glyphicon-bookmark:before {
+ content: "\e044";
+}
+.glyphicon-print:before {
+ content: "\e045";
+}
+.glyphicon-camera:before {
+ content: "\e046";
+}
+.glyphicon-font:before {
+ content: "\e047";
+}
+.glyphicon-bold:before {
+ content: "\e048";
+}
+.glyphicon-italic:before {
+ content: "\e049";
+}
+.glyphicon-text-height:before {
+ content: "\e050";
+}
+.glyphicon-text-width:before {
+ content: "\e051";
+}
+.glyphicon-align-left:before {
+ content: "\e052";
+}
+.glyphicon-align-center:before {
+ content: "\e053";
+}
+.glyphicon-align-right:before {
+ content: "\e054";
+}
+.glyphicon-align-justify:before {
+ content: "\e055";
+}
+.glyphicon-list:before {
+ content: "\e056";
+}
+.glyphicon-indent-left:before {
+ content: "\e057";
+}
+.glyphicon-indent-right:before {
+ content: "\e058";
+}
+.glyphicon-facetime-video:before {
+ content: "\e059";
+}
+.glyphicon-picture:before {
+ content: "\e060";
+}
+.glyphicon-map-marker:before {
+ content: "\e062";
+}
+.glyphicon-adjust:before {
+ content: "\e063";
+}
+.glyphicon-tint:before {
+ content: "\e064";
+}
+.glyphicon-edit:before {
+ content: "\e065";
+}
+.glyphicon-share:before {
+ content: "\e066";
+}
+.glyphicon-check:before {
+ content: "\e067";
+}
+.glyphicon-move:before {
+ content: "\e068";
+}
+.glyphicon-step-backward:before {
+ content: "\e069";
+}
+.glyphicon-fast-backward:before {
+ content: "\e070";
+}
+.glyphicon-backward:before {
+ content: "\e071";
+}
+.glyphicon-play:before {
+ content: "\e072";
+}
+.glyphicon-pause:before {
+ content: "\e073";
+}
+.glyphicon-stop:before {
+ content: "\e074";
+}
+.glyphicon-forward:before {
+ content: "\e075";
+}
+.glyphicon-fast-forward:before {
+ content: "\e076";
+}
+.glyphicon-step-forward:before {
+ content: "\e077";
+}
+.glyphicon-eject:before {
+ content: "\e078";
+}
+.glyphicon-chevron-left:before {
+ content: "\e079";
+}
+.glyphicon-chevron-right:before {
+ content: "\e080";
+}
+.glyphicon-plus-sign:before {
+ content: "\e081";
+}
+.glyphicon-minus-sign:before {
+ content: "\e082";
+}
+.glyphicon-remove-sign:before {
+ content: "\e083";
+}
+.glyphicon-ok-sign:before {
+ content: "\e084";
+}
+.glyphicon-question-sign:before {
+ content: "\e085";
+}
+.glyphicon-info-sign:before {
+ content: "\e086";
+}
+.glyphicon-screenshot:before {
+ content: "\e087";
+}
+.glyphicon-remove-circle:before {
+ content: "\e088";
+}
+.glyphicon-ok-circle:before {
+ content: "\e089";
+}
+.glyphicon-ban-circle:before {
+ content: "\e090";
+}
+.glyphicon-arrow-left:before {
+ content: "\e091";
+}
+.glyphicon-arrow-right:before {
+ content: "\e092";
+}
+.glyphicon-arrow-up:before {
+ content: "\e093";
+}
+.glyphicon-arrow-down:before {
+ content: "\e094";
+}
+.glyphicon-share-alt:before {
+ content: "\e095";
+}
+.glyphicon-resize-full:before {
+ content: "\e096";
+}
+.glyphicon-resize-small:before {
+ content: "\e097";
+}
+.glyphicon-exclamation-sign:before {
+ content: "\e101";
+}
+.glyphicon-gift:before {
+ content: "\e102";
+}
+.glyphicon-leaf:before {
+ content: "\e103";
+}
+.glyphicon-fire:before {
+ content: "\e104";
+}
+.glyphicon-eye-open:before {
+ content: "\e105";
+}
+.glyphicon-eye-close:before {
+ content: "\e106";
+}
+.glyphicon-warning-sign:before {
+ content: "\e107";
+}
+.glyphicon-plane:before {
+ content: "\e108";
+}
+.glyphicon-calendar:before {
+ content: "\e109";
+}
+.glyphicon-random:before {
+ content: "\e110";
+}
+.glyphicon-comment:before {
+ content: "\e111";
+}
+.glyphicon-magnet:before {
+ content: "\e112";
+}
+.glyphicon-chevron-up:before {
+ content: "\e113";
+}
+.glyphicon-chevron-down:before {
+ content: "\e114";
+}
+.glyphicon-retweet:before {
+ content: "\e115";
+}
+.glyphicon-shopping-cart:before {
+ content: "\e116";
+}
+.glyphicon-folder-close:before {
+ content: "\e117";
+}
+.glyphicon-folder-open:before {
+ content: "\e118";
+}
+.glyphicon-resize-vertical:before {
+ content: "\e119";
+}
+.glyphicon-resize-horizontal:before {
+ content: "\e120";
+}
+.glyphicon-hdd:before {
+ content: "\e121";
+}
+.glyphicon-bullhorn:before {
+ content: "\e122";
+}
+.glyphicon-bell:before {
+ content: "\e123";
+}
+.glyphicon-certificate:before {
+ content: "\e124";
+}
+.glyphicon-thumbs-up:before {
+ content: "\e125";
+}
+.glyphicon-thumbs-down:before {
+ content: "\e126";
+}
+.glyphicon-hand-right:before {
+ content: "\e127";
+}
+.glyphicon-hand-left:before {
+ content: "\e128";
+}
+.glyphicon-hand-up:before {
+ content: "\e129";
+}
+.glyphicon-hand-down:before {
+ content: "\e130";
+}
+.glyphicon-circle-arrow-right:before {
+ content: "\e131";
+}
+.glyphicon-circle-arrow-left:before {
+ content: "\e132";
+}
+.glyphicon-circle-arrow-up:before {
+ content: "\e133";
+}
+.glyphicon-circle-arrow-down:before {
+ content: "\e134";
+}
+.glyphicon-globe:before {
+ content: "\e135";
+}
+.glyphicon-wrench:before {
+ content: "\e136";
+}
+.glyphicon-tasks:before {
+ content: "\e137";
+}
+.glyphicon-filter:before {
+ content: "\e138";
+}
+.glyphicon-briefcase:before {
+ content: "\e139";
+}
+.glyphicon-fullscreen:before {
+ content: "\e140";
+}
+.glyphicon-dashboard:before {
+ content: "\e141";
+}
+.glyphicon-paperclip:before {
+ content: "\e142";
+}
+.glyphicon-heart-empty:before {
+ content: "\e143";
+}
+.glyphicon-link:before {
+ content: "\e144";
+}
+.glyphicon-phone:before {
+ content: "\e145";
+}
+.glyphicon-pushpin:before {
+ content: "\e146";
+}
+.glyphicon-usd:before {
+ content: "\e148";
+}
+.glyphicon-gbp:before {
+ content: "\e149";
+}
+.glyphicon-sort:before {
+ content: "\e150";
+}
+.glyphicon-sort-by-alphabet:before {
+ content: "\e151";
+}
+.glyphicon-sort-by-alphabet-alt:before {
+ content: "\e152";
+}
+.glyphicon-sort-by-order:before {
+ content: "\e153";
+}
+.glyphicon-sort-by-order-alt:before {
+ content: "\e154";
+}
+.glyphicon-sort-by-attributes:before {
+ content: "\e155";
+}
+.glyphicon-sort-by-attributes-alt:before {
+ content: "\e156";
+}
+.glyphicon-unchecked:before {
+ content: "\e157";
+}
+.glyphicon-expand:before {
+ content: "\e158";
+}
+.glyphicon-collapse-down:before {
+ content: "\e159";
+}
+.glyphicon-collapse-up:before {
+ content: "\e160";
+}
+.glyphicon-log-in:before {
+ content: "\e161";
+}
+.glyphicon-flash:before {
+ content: "\e162";
+}
+.glyphicon-log-out:before {
+ content: "\e163";
+}
+.glyphicon-new-window:before {
+ content: "\e164";
+}
+.glyphicon-record:before {
+ content: "\e165";
+}
+.glyphicon-save:before {
+ content: "\e166";
+}
+.glyphicon-open:before {
+ content: "\e167";
+}
+.glyphicon-saved:before {
+ content: "\e168";
+}
+.glyphicon-import:before {
+ content: "\e169";
+}
+.glyphicon-export:before {
+ content: "\e170";
+}
+.glyphicon-send:before {
+ content: "\e171";
+}
+.glyphicon-floppy-disk:before {
+ content: "\e172";
+}
+.glyphicon-floppy-saved:before {
+ content: "\e173";
+}
+.glyphicon-floppy-remove:before {
+ content: "\e174";
+}
+.glyphicon-floppy-save:before {
+ content: "\e175";
+}
+.glyphicon-floppy-open:before {
+ content: "\e176";
+}
+.glyphicon-credit-card:before {
+ content: "\e177";
+}
+.glyphicon-transfer:before {
+ content: "\e178";
+}
+.glyphicon-cutlery:before {
+ content: "\e179";
+}
+.glyphicon-header:before {
+ content: "\e180";
+}
+.glyphicon-compressed:before {
+ content: "\e181";
+}
+.glyphicon-earphone:before {
+ content: "\e182";
+}
+.glyphicon-phone-alt:before {
+ content: "\e183";
+}
+.glyphicon-tower:before {
+ content: "\e184";
+}
+.glyphicon-stats:before {
+ content: "\e185";
+}
+.glyphicon-sd-video:before {
+ content: "\e186";
+}
+.glyphicon-hd-video:before {
+ content: "\e187";
+}
+.glyphicon-subtitles:before {
+ content: "\e188";
+}
+.glyphicon-sound-stereo:before {
+ content: "\e189";
+}
+.glyphicon-sound-dolby:before {
+ content: "\e190";
+}
+.glyphicon-sound-5-1:before {
+ content: "\e191";
+}
+.glyphicon-sound-6-1:before {
+ content: "\e192";
+}
+.glyphicon-sound-7-1:before {
+ content: "\e193";
+}
+.glyphicon-copyright-mark:before {
+ content: "\e194";
+}
+.glyphicon-registration-mark:before {
+ content: "\e195";
+}
+.glyphicon-cloud-download:before {
+ content: "\e197";
+}
+.glyphicon-cloud-upload:before {
+ content: "\e198";
+}
+.glyphicon-tree-conifer:before {
+ content: "\e199";
+}
+.glyphicon-tree-deciduous:before {
+ content: "\e200";
+}
+.glyphicon-cd:before {
+ content: "\e201";
+}
+.glyphicon-save-file:before {
+ content: "\e202";
+}
+.glyphicon-open-file:before {
+ content: "\e203";
+}
+.glyphicon-level-up:before {
+ content: "\e204";
+}
+.glyphicon-copy:before {
+ content: "\e205";
+}
+.glyphicon-paste:before {
+ content: "\e206";
+}
+.glyphicon-alert:before {
+ content: "\e209";
+}
+.glyphicon-equalizer:before {
+ content: "\e210";
+}
+.glyphicon-king:before {
+ content: "\e211";
+}
+.glyphicon-queen:before {
+ content: "\e212";
+}
+.glyphicon-pawn:before {
+ content: "\e213";
+}
+.glyphicon-bishop:before {
+ content: "\e214";
+}
+.glyphicon-knight:before {
+ content: "\e215";
+}
+.glyphicon-baby-formula:before {
+ content: "\e216";
+}
+.glyphicon-tent:before {
+ content: "\26fa";
+}
+.glyphicon-blackboard:before {
+ content: "\e218";
+}
+.glyphicon-bed:before {
+ content: "\e219";
+}
+.glyphicon-apple:before {
+ content: "\f8ff";
+}
+.glyphicon-erase:before {
+ content: "\e221";
+}
+.glyphicon-hourglass:before {
+ content: "\231b";
+}
+.glyphicon-lamp:before {
+ content: "\e223";
+}
+.glyphicon-duplicate:before {
+ content: "\e224";
+}
+.glyphicon-piggy-bank:before {
+ content: "\e225";
+}
+.glyphicon-scissors:before {
+ content: "\e226";
+}
+.glyphicon-bitcoin:before {
+ content: "\e227";
+}
+.glyphicon-yen:before {
+ content: "\00a5";
+}
+.glyphicon-ruble:before {
+ content: "\20bd";
+}
+.glyphicon-scale:before {
+ content: "\e230";
+}
+.glyphicon-ice-lolly:before {
+ content: "\e231";
+}
+.glyphicon-ice-lolly-tasted:before {
+ content: "\e232";
+}
+.glyphicon-education:before {
+ content: "\e233";
+}
+.glyphicon-option-horizontal:before {
+ content: "\e234";
+}
+.glyphicon-option-vertical:before {
+ content: "\e235";
+}
+.glyphicon-menu-hamburger:before {
+ content: "\e236";
+}
+.glyphicon-modal-window:before {
+ content: "\e237";
+}
+.glyphicon-oil:before {
+ content: "\e238";
+}
+.glyphicon-grain:before {
+ content: "\e239";
+}
+.glyphicon-sunglasses:before {
+ content: "\e240";
+}
+.glyphicon-text-size:before {
+ content: "\e241";
+}
+.glyphicon-text-color:before {
+ content: "\e242";
+}
+.glyphicon-text-background:before {
+ content: "\e243";
+}
+.glyphicon-object-align-top:before {
+ content: "\e244";
+}
+.glyphicon-object-align-bottom:before {
+ content: "\e245";
+}
+.glyphicon-object-align-horizontal:before {
+ content: "\e246";
+}
+.glyphicon-object-align-left:before {
+ content: "\e247";
+}
+.glyphicon-object-align-vertical:before {
+ content: "\e248";
+}
+.glyphicon-object-align-right:before {
+ content: "\e249";
+}
+.glyphicon-triangle-right:before {
+ content: "\e250";
+}
+.glyphicon-triangle-left:before {
+ content: "\e251";
+}
+.glyphicon-triangle-bottom:before {
+ content: "\e252";
+}
+.glyphicon-triangle-top:before {
+ content: "\e253";
+}
+.glyphicon-console:before {
+ content: "\e254";
+}
+.glyphicon-superscript:before {
+ content: "\e255";
+}
+.glyphicon-subscript:before {
+ content: "\e256";
+}
+.glyphicon-menu-left:before {
+ content: "\e257";
+}
+.glyphicon-menu-right:before {
+ content: "\e258";
+}
+.glyphicon-menu-down:before {
+ content: "\e259";
+}
+.glyphicon-menu-up:before {
+ content: "\e260";
+}
+* {
+ -webkit-box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+}
+*:before,
+*:after {
+ -webkit-box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+}
+html {
+ font-size: 10px;
+
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
+}
+body {
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+ font-size: 14px;
+ line-height: 1.42857143;
+ color: #333;
+ background-color: #fff;
+}
+input,
+button,
+select,
+textarea {
+ font-family: inherit;
+ font-size: inherit;
+ line-height: inherit;
+}
+a {
+ color: #337ab7;
+ text-decoration: none;
+}
+a:hover,
+a:focus {
+ color: #23527c;
+ text-decoration: underline;
+}
+a:focus {
+ outline: thin dotted;
+ outline: 5px auto -webkit-focus-ring-color;
+ outline-offset: -2px;
+}
+figure {
+ margin: 0;
+}
+img {
+ vertical-align: middle;
+}
+.img-responsive,
+.thumbnail > img,
+.thumbnail a > img,
+.carousel-inner > .item > img,
+.carousel-inner > .item > a > img {
+ display: block;
+ max-width: 100%;
+ height: auto;
+}
+.img-rounded {
+ border-radius: 6px;
+}
+.img-thumbnail {
+ display: inline-block;
+ max-width: 100%;
+ height: auto;
+ padding: 4px;
+ line-height: 1.42857143;
+ background-color: #fff;
+ border: 1px solid #ddd;
+ border-radius: 4px;
+ -webkit-transition: all .2s ease-in-out;
+ -o-transition: all .2s ease-in-out;
+ transition: all .2s ease-in-out;
+}
+.img-circle {
+ border-radius: 50%;
+}
+hr {
+ margin-top: 20px;
+ margin-bottom: 20px;
+ border: 0;
+ border-top: 1px solid #eee;
+}
+.sr-only {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ padding: 0;
+ margin: -1px;
+ overflow: hidden;
+ clip: rect(0, 0, 0, 0);
+ border: 0;
+}
+.sr-only-focusable:active,
+.sr-only-focusable:focus {
+ position: static;
+ width: auto;
+ height: auto;
+ margin: 0;
+ overflow: visible;
+ clip: auto;
+}
+h1,
+h2,
+h3,
+h4,
+h5,
+h6,
+.h1,
+.h2,
+.h3,
+.h4,
+.h5,
+.h6 {
+ font-family: inherit;
+ font-weight: 500;
+ line-height: 1.1;
+ color: inherit;
+}
+h1 small,
+h2 small,
+h3 small,
+h4 small,
+h5 small,
+h6 small,
+.h1 small,
+.h2 small,
+.h3 small,
+.h4 small,
+.h5 small,
+.h6 small,
+h1 .small,
+h2 .small,
+h3 .small,
+h4 .small,
+h5 .small,
+h6 .small,
+.h1 .small,
+.h2 .small,
+.h3 .small,
+.h4 .small,
+.h5 .small,
+.h6 .small {
+ font-weight: normal;
+ line-height: 1;
+ color: #777;
+}
+h1,
+.h1,
+h2,
+.h2,
+h3,
+.h3 {
+ margin-top: 20px;
+ margin-bottom: 10px;
+}
+h1 small,
+.h1 small,
+h2 small,
+.h2 small,
+h3 small,
+.h3 small,
+h1 .small,
+.h1 .small,
+h2 .small,
+.h2 .small,
+h3 .small,
+.h3 .small {
+ font-size: 65%;
+}
+h4,
+.h4,
+h5,
+.h5,
+h6,
+.h6 {
+ margin-top: 10px;
+ margin-bottom: 10px;
+}
+h4 small,
+.h4 small,
+h5 small,
+.h5 small,
+h6 small,
+.h6 small,
+h4 .small,
+.h4 .small,
+h5 .small,
+.h5 .small,
+h6 .small,
+.h6 .small {
+ font-size: 75%;
+}
+h1,
+.h1 {
+ font-size: 36px;
+}
+h2,
+.h2 {
+ font-size: 30px;
+}
+h3,
+.h3 {
+ font-size: 24px;
+}
+h4,
+.h4 {
+ font-size: 18px;
+}
+h5,
+.h5 {
+ font-size: 14px;
+}
+h6,
+.h6 {
+ font-size: 12px;
+}
+p {
+ margin: 0 0 10px;
+}
+.lead {
+ margin-bottom: 20px;
+ font-size: 16px;
+ font-weight: 300;
+ line-height: 1.4;
+}
+@media (min-width: 768px) {
+ .lead {
+ font-size: 21px;
+ }
+}
+small,
+.small {
+ font-size: 85%;
+}
+mark,
+.mark {
+ padding: .2em;
+ background-color: #fcf8e3;
+}
+.text-left {
+ text-align: left;
+}
+.text-right {
+ text-align: right;
+}
+.text-center {
+ text-align: center;
+}
+.text-justify {
+ text-align: justify;
+}
+.text-nowrap {
+ white-space: nowrap;
+}
+.text-lowercase {
+ text-transform: lowercase;
+}
+.text-uppercase {
+ text-transform: uppercase;
+}
+.text-capitalize {
+ text-transform: capitalize;
+}
+.text-muted {
+ color: #777;
+}
+.text-primary {
+ color: #337ab7;
+}
+a.text-primary:hover {
+ color: #286090;
+}
+.text-success {
+ color: #3c763d;
+}
+a.text-success:hover {
+ color: #2b542c;
+}
+.text-info {
+ color: #31708f;
+}
+a.text-info:hover {
+ color: #245269;
+}
+.text-warning {
+ color: #8a6d3b;
+}
+a.text-warning:hover {
+ color: #66512c;
+}
+.text-danger {
+ color: #a94442;
+}
+a.text-danger:hover {
+ color: #843534;
+}
+.bg-primary {
+ color: #fff;
+ background-color: #337ab7;
+}
+a.bg-primary:hover {
+ background-color: #286090;
+}
+.bg-success {
+ background-color: #dff0d8;
+}
+a.bg-success:hover {
+ background-color: #c1e2b3;
+}
+.bg-info {
+ background-color: #d9edf7;
+}
+a.bg-info:hover {
+ background-color: #afd9ee;
+}
+.bg-warning {
+ background-color: #fcf8e3;
+}
+a.bg-warning:hover {
+ background-color: #f7ecb5;
+}
+.bg-danger {
+ background-color: #f2dede;
+}
+a.bg-danger:hover {
+ background-color: #e4b9b9;
+}
+.page-header {
+ padding-bottom: 9px;
+ margin: 40px 0 20px;
+ border-bottom: 1px solid #eee;
+}
+ul,
+ol {
+ margin-top: 0;
+ margin-bottom: 10px;
+}
+ul ul,
+ol ul,
+ul ol,
+ol ol {
+ margin-bottom: 0;
+}
+.list-unstyled {
+ padding-left: 0;
+ list-style: none;
+}
+.list-inline {
+ padding-left: 0;
+ margin-left: -5px;
+ list-style: none;
+}
+.list-inline > li {
+ display: inline-block;
+ padding-right: 5px;
+ padding-left: 5px;
+}
+dl {
+ margin-top: 0;
+ margin-bottom: 20px;
+}
+dt,
+dd {
+ line-height: 1.42857143;
+}
+dt {
+ font-weight: bold;
+}
+dd {
+ margin-left: 0;
+}
+@media (min-width: 768px) {
+ .dl-horizontal dt {
+ float: left;
+ width: 160px;
+ overflow: hidden;
+ clear: left;
+ text-align: right;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ }
+ .dl-horizontal dd {
+ margin-left: 180px;
+ }
+}
+abbr[title],
+abbr[data-original-title] {
+ cursor: help;
+ border-bottom: 1px dotted #777;
+}
+.initialism {
+ font-size: 90%;
+ text-transform: uppercase;
+}
+blockquote {
+ padding: 10px 20px;
+ margin: 0 0 20px;
+ font-size: 17.5px;
+ border-left: 5px solid #eee;
+}
+blockquote p:last-child,
+blockquote ul:last-child,
+blockquote ol:last-child {
+ margin-bottom: 0;
+}
+blockquote footer,
+blockquote small,
+blockquote .small {
+ display: block;
+ font-size: 80%;
+ line-height: 1.42857143;
+ color: #777;
+}
+blockquote footer:before,
+blockquote small:before,
+blockquote .small:before {
+ content: '\2014 \00A0';
+}
+.blockquote-reverse,
+blockquote.pull-right {
+ padding-right: 15px;
+ padding-left: 0;
+ text-align: right;
+ border-right: 5px solid #eee;
+ border-left: 0;
+}
+.blockquote-reverse footer:before,
+blockquote.pull-right footer:before,
+.blockquote-reverse small:before,
+blockquote.pull-right small:before,
+.blockquote-reverse .small:before,
+blockquote.pull-right .small:before {
+ content: '';
+}
+.blockquote-reverse footer:after,
+blockquote.pull-right footer:after,
+.blockquote-reverse small:after,
+blockquote.pull-right small:after,
+.blockquote-reverse .small:after,
+blockquote.pull-right .small:after {
+ content: '\00A0 \2014';
+}
+address {
+ margin-bottom: 20px;
+ font-style: normal;
+ line-height: 1.42857143;
+}
+code,
+kbd,
+pre,
+samp {
+ font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
+}
+code {
+ padding: 2px 4px;
+ font-size: 90%;
+ color: #c7254e;
+ background-color: #f9f2f4;
+ border-radius: 4px;
+}
+kbd {
+ padding: 2px 4px;
+ font-size: 90%;
+ color: #fff;
+ background-color: #333;
+ border-radius: 3px;
+ -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25);
+ box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25);
+}
+kbd kbd {
+ padding: 0;
+ font-size: 100%;
+ font-weight: bold;
+ -webkit-box-shadow: none;
+ box-shadow: none;
+}
+pre {
+ display: block;
+ padding: 9.5px;
+ margin: 0 0 10px;
+ font-size: 13px;
+ line-height: 1.42857143;
+ color: #333;
+ word-break: break-all;
+ word-wrap: break-word;
+ background-color: #f5f5f5;
+ border: 1px solid #ccc;
+ border-radius: 4px;
+}
+pre code {
+ padding: 0;
+ font-size: inherit;
+ color: inherit;
+ white-space: pre-wrap;
+ background-color: transparent;
+ border-radius: 0;
+}
+.pre-scrollable {
+ max-height: 340px;
+ overflow-y: scroll;
+}
+.container {
+ padding-right: 15px;
+ padding-left: 15px;
+ margin-right: auto;
+ margin-left: auto;
+}
+@media (min-width: 768px) {
+ .container {
+ width: 750px;
+ }
+}
+@media (min-width: 992px) {
+ .container {
+ width: 970px;
+ }
+}
+@media (min-width: 1200px) {
+ .container {
+ width: 1170px;
+ }
+}
+.container-fluid {
+ padding-right: 15px;
+ padding-left: 15px;
+ margin-right: auto;
+ margin-left: auto;
+}
+.row {
+ margin-right: -15px;
+ margin-left: -15px;
+}
+.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
+ position: relative;
+ min-height: 1px;
+ padding-right: 15px;
+ padding-left: 15px;
+}
+.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
+ float: left;
+}
+.col-xs-12 {
+ width: 100%;
+}
+.col-xs-11 {
+ width: 91.66666667%;
+}
+.col-xs-10 {
+ width: 83.33333333%;
+}
+.col-xs-9 {
+ width: 75%;
+}
+.col-xs-8 {
+ width: 66.66666667%;
+}
+.col-xs-7 {
+ width: 58.33333333%;
+}
+.col-xs-6 {
+ width: 50%;
+}
+.col-xs-5 {
+ width: 41.66666667%;
+}
+.col-xs-4 {
+ width: 33.33333333%;
+}
+.col-xs-3 {
+ width: 25%;
+}
+.col-xs-2 {
+ width: 16.66666667%;
+}
+.col-xs-1 {
+ width: 8.33333333%;
+}
+.col-xs-pull-12 {
+ right: 100%;
+}
+.col-xs-pull-11 {
+ right: 91.66666667%;
+}
+.col-xs-pull-10 {
+ right: 83.33333333%;
+}
+.col-xs-pull-9 {
+ right: 75%;
+}
+.col-xs-pull-8 {
+ right: 66.66666667%;
+}
+.col-xs-pull-7 {
+ right: 58.33333333%;
+}
+.col-xs-pull-6 {
+ right: 50%;
+}
+.col-xs-pull-5 {
+ right: 41.66666667%;
+}
+.col-xs-pull-4 {
+ right: 33.33333333%;
+}
+.col-xs-pull-3 {
+ right: 25%;
+}
+.col-xs-pull-2 {
+ right: 16.66666667%;
+}
+.col-xs-pull-1 {
+ right: 8.33333333%;
+}
+.col-xs-pull-0 {
+ right: auto;
+}
+.col-xs-push-12 {
+ left: 100%;
+}
+.col-xs-push-11 {
+ left: 91.66666667%;
+}
+.col-xs-push-10 {
+ left: 83.33333333%;
+}
+.col-xs-push-9 {
+ left: 75%;
+}
+.col-xs-push-8 {
+ left: 66.66666667%;
+}
+.col-xs-push-7 {
+ left: 58.33333333%;
+}
+.col-xs-push-6 {
+ left: 50%;
+}
+.col-xs-push-5 {
+ left: 41.66666667%;
+}
+.col-xs-push-4 {
+ left: 33.33333333%;
+}
+.col-xs-push-3 {
+ left: 25%;
+}
+.col-xs-push-2 {
+ left: 16.66666667%;
+}
+.col-xs-push-1 {
+ left: 8.33333333%;
+}
+.col-xs-push-0 {
+ left: auto;
+}
+.col-xs-offset-12 {
+ margin-left: 100%;
+}
+.col-xs-offset-11 {
+ margin-left: 91.66666667%;
+}
+.col-xs-offset-10 {
+ margin-left: 83.33333333%;
+}
+.col-xs-offset-9 {
+ margin-left: 75%;
+}
+.col-xs-offset-8 {
+ margin-left: 66.66666667%;
+}
+.col-xs-offset-7 {
+ margin-left: 58.33333333%;
+}
+.col-xs-offset-6 {
+ margin-left: 50%;
+}
+.col-xs-offset-5 {
+ margin-left: 41.66666667%;
+}
+.col-xs-offset-4 {
+ margin-left: 33.33333333%;
+}
+.col-xs-offset-3 {
+ margin-left: 25%;
+}
+.col-xs-offset-2 {
+ margin-left: 16.66666667%;
+}
+.col-xs-offset-1 {
+ margin-left: 8.33333333%;
+}
+.col-xs-offset-0 {
+ margin-left: 0;
+}
+@media (min-width: 768px) {
+ .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
+ float: left;
+ }
+ .col-sm-12 {
+ width: 100%;
+ }
+ .col-sm-11 {
+ width: 91.66666667%;
+ }
+ .col-sm-10 {
+ width: 83.33333333%;
+ }
+ .col-sm-9 {
+ width: 75%;
+ }
+ .col-sm-8 {
+ width: 66.66666667%;
+ }
+ .col-sm-7 {
+ width: 58.33333333%;
+ }
+ .col-sm-6 {
+ width: 50%;
+ }
+ .col-sm-5 {
+ width: 41.66666667%;
+ }
+ .col-sm-4 {
+ width: 33.33333333%;
+ }
+ .col-sm-3 {
+ width: 25%;
+ }
+ .col-sm-2 {
+ width: 16.66666667%;
+ }
+ .col-sm-1 {
+ width: 8.33333333%;
+ }
+ .col-sm-pull-12 {
+ right: 100%;
+ }
+ .col-sm-pull-11 {
+ right: 91.66666667%;
+ }
+ .col-sm-pull-10 {
+ right: 83.33333333%;
+ }
+ .col-sm-pull-9 {
+ right: 75%;
+ }
+ .col-sm-pull-8 {
+ right: 66.66666667%;
+ }
+ .col-sm-pull-7 {
+ right: 58.33333333%;
+ }
+ .col-sm-pull-6 {
+ right: 50%;
+ }
+ .col-sm-pull-5 {
+ right: 41.66666667%;
+ }
+ .col-sm-pull-4 {
+ right: 33.33333333%;
+ }
+ .col-sm-pull-3 {
+ right: 25%;
+ }
+ .col-sm-pull-2 {
+ right: 16.66666667%;
+ }
+ .col-sm-pull-1 {
+ right: 8.33333333%;
+ }
+ .col-sm-pull-0 {
+ right: auto;
+ }
+ .col-sm-push-12 {
+ left: 100%;
+ }
+ .col-sm-push-11 {
+ left: 91.66666667%;
+ }
+ .col-sm-push-10 {
+ left: 83.33333333%;
+ }
+ .col-sm-push-9 {
+ left: 75%;
+ }
+ .col-sm-push-8 {
+ left: 66.66666667%;
+ }
+ .col-sm-push-7 {
+ left: 58.33333333%;
+ }
+ .col-sm-push-6 {
+ left: 50%;
+ }
+ .col-sm-push-5 {
+ left: 41.66666667%;
+ }
+ .col-sm-push-4 {
+ left: 33.33333333%;
+ }
+ .col-sm-push-3 {
+ left: 25%;
+ }
+ .col-sm-push-2 {
+ left: 16.66666667%;
+ }
+ .col-sm-push-1 {
+ left: 8.33333333%;
+ }
+ .col-sm-push-0 {
+ left: auto;
+ }
+ .col-sm-offset-12 {
+ margin-left: 100%;
+ }
+ .col-sm-offset-11 {
+ margin-left: 91.66666667%;
+ }
+ .col-sm-offset-10 {
+ margin-left: 83.33333333%;
+ }
+ .col-sm-offset-9 {
+ margin-left: 75%;
+ }
+ .col-sm-offset-8 {
+ margin-left: 66.66666667%;
+ }
+ .col-sm-offset-7 {
+ margin-left: 58.33333333%;
+ }
+ .col-sm-offset-6 {
+ margin-left: 50%;
+ }
+ .col-sm-offset-5 {
+ margin-left: 41.66666667%;
+ }
+ .col-sm-offset-4 {
+ margin-left: 33.33333333%;
+ }
+ .col-sm-offset-3 {
+ margin-left: 25%;
+ }
+ .col-sm-offset-2 {
+ margin-left: 16.66666667%;
+ }
+ .col-sm-offset-1 {
+ margin-left: 8.33333333%;
+ }
+ .col-sm-offset-0 {
+ margin-left: 0;
+ }
+}
+@media (min-width: 992px) {
+ .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
+ float: left;
+ }
+ .col-md-12 {
+ width: 100%;
+ }
+ .col-md-11 {
+ width: 91.66666667%;
+ }
+ .col-md-10 {
+ width: 83.33333333%;
+ }
+ .col-md-9 {
+ width: 75%;
+ }
+ .col-md-8 {
+ width: 66.66666667%;
+ }
+ .col-md-7 {
+ width: 58.33333333%;
+ }
+ .col-md-6 {
+ width: 50%;
+ }
+ .col-md-5 {
+ width: 41.66666667%;
+ }
+ .col-md-4 {
+ width: 33.33333333%;
+ }
+ .col-md-3 {
+ width: 25%;
+ }
+ .col-md-2 {
+ width: 16.66666667%;
+ }
+ .col-md-1 {
+ width: 8.33333333%;
+ }
+ .col-md-pull-12 {
+ right: 100%;
+ }
+ .col-md-pull-11 {
+ right: 91.66666667%;
+ }
+ .col-md-pull-10 {
+ right: 83.33333333%;
+ }
+ .col-md-pull-9 {
+ right: 75%;
+ }
+ .col-md-pull-8 {
+ right: 66.66666667%;
+ }
+ .col-md-pull-7 {
+ right: 58.33333333%;
+ }
+ .col-md-pull-6 {
+ right: 50%;
+ }
+ .col-md-pull-5 {
+ right: 41.66666667%;
+ }
+ .col-md-pull-4 {
+ right: 33.33333333%;
+ }
+ .col-md-pull-3 {
+ right: 25%;
+ }
+ .col-md-pull-2 {
+ right: 16.66666667%;
+ }
+ .col-md-pull-1 {
+ right: 8.33333333%;
+ }
+ .col-md-pull-0 {
+ right: auto;
+ }
+ .col-md-push-12 {
+ left: 100%;
+ }
+ .col-md-push-11 {
+ left: 91.66666667%;
+ }
+ .col-md-push-10 {
+ left: 83.33333333%;
+ }
+ .col-md-push-9 {
+ left: 75%;
+ }
+ .col-md-push-8 {
+ left: 66.66666667%;
+ }
+ .col-md-push-7 {
+ left: 58.33333333%;
+ }
+ .col-md-push-6 {
+ left: 50%;
+ }
+ .col-md-push-5 {
+ left: 41.66666667%;
+ }
+ .col-md-push-4 {
+ left: 33.33333333%;
+ }
+ .col-md-push-3 {
+ left: 25%;
+ }
+ .col-md-push-2 {
+ left: 16.66666667%;
+ }
+ .col-md-push-1 {
+ left: 8.33333333%;
+ }
+ .col-md-push-0 {
+ left: auto;
+ }
+ .col-md-offset-12 {
+ margin-left: 100%;
+ }
+ .col-md-offset-11 {
+ margin-left: 91.66666667%;
+ }
+ .col-md-offset-10 {
+ margin-left: 83.33333333%;
+ }
+ .col-md-offset-9 {
+ margin-left: 75%;
+ }
+ .col-md-offset-8 {
+ margin-left: 66.66666667%;
+ }
+ .col-md-offset-7 {
+ margin-left: 58.33333333%;
+ }
+ .col-md-offset-6 {
+ margin-left: 50%;
+ }
+ .col-md-offset-5 {
+ margin-left: 41.66666667%;
+ }
+ .col-md-offset-4 {
+ margin-left: 33.33333333%;
+ }
+ .col-md-offset-3 {
+ margin-left: 25%;
+ }
+ .col-md-offset-2 {
+ margin-left: 16.66666667%;
+ }
+ .col-md-offset-1 {
+ margin-left: 8.33333333%;
+ }
+ .col-md-offset-0 {
+ margin-left: 0;
+ }
+}
+@media (min-width: 1200px) {
+ .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
+ float: left;
+ }
+ .col-lg-12 {
+ width: 100%;
+ }
+ .col-lg-11 {
+ width: 91.66666667%;
+ }
+ .col-lg-10 {
+ width: 83.33333333%;
+ }
+ .col-lg-9 {
+ width: 75%;
+ }
+ .col-lg-8 {
+ width: 66.66666667%;
+ }
+ .col-lg-7 {
+ width: 58.33333333%;
+ }
+ .col-lg-6 {
+ width: 50%;
+ }
+ .col-lg-5 {
+ width: 41.66666667%;
+ }
+ .col-lg-4 {
+ width: 33.33333333%;
+ }
+ .col-lg-3 {
+ width: 25%;
+ }
+ .col-lg-2 {
+ width: 16.66666667%;
+ }
+ .col-lg-1 {
+ width: 8.33333333%;
+ }
+ .col-lg-pull-12 {
+ right: 100%;
+ }
+ .col-lg-pull-11 {
+ right: 91.66666667%;
+ }
+ .col-lg-pull-10 {
+ right: 83.33333333%;
+ }
+ .col-lg-pull-9 {
+ right: 75%;
+ }
+ .col-lg-pull-8 {
+ right: 66.66666667%;
+ }
+ .col-lg-pull-7 {
+ right: 58.33333333%;
+ }
+ .col-lg-pull-6 {
+ right: 50%;
+ }
+ .col-lg-pull-5 {
+ right: 41.66666667%;
+ }
+ .col-lg-pull-4 {
+ right: 33.33333333%;
+ }
+ .col-lg-pull-3 {
+ right: 25%;
+ }
+ .col-lg-pull-2 {
+ right: 16.66666667%;
+ }
+ .col-lg-pull-1 {
+ right: 8.33333333%;
+ }
+ .col-lg-pull-0 {
+ right: auto;
+ }
+ .col-lg-push-12 {
+ left: 100%;
+ }
+ .col-lg-push-11 {
+ left: 91.66666667%;
+ }
+ .col-lg-push-10 {
+ left: 83.33333333%;
+ }
+ .col-lg-push-9 {
+ left: 75%;
+ }
+ .col-lg-push-8 {
+ left: 66.66666667%;
+ }
+ .col-lg-push-7 {
+ left: 58.33333333%;
+ }
+ .col-lg-push-6 {
+ left: 50%;
+ }
+ .col-lg-push-5 {
+ left: 41.66666667%;
+ }
+ .col-lg-push-4 {
+ left: 33.33333333%;
+ }
+ .col-lg-push-3 {
+ left: 25%;
+ }
+ .col-lg-push-2 {
+ left: 16.66666667%;
+ }
+ .col-lg-push-1 {
+ left: 8.33333333%;
+ }
+ .col-lg-push-0 {
+ left: auto;
+ }
+ .col-lg-offset-12 {
+ margin-left: 100%;
+ }
+ .col-lg-offset-11 {
+ margin-left: 91.66666667%;
+ }
+ .col-lg-offset-10 {
+ margin-left: 83.33333333%;
+ }
+ .col-lg-offset-9 {
+ margin-left: 75%;
+ }
+ .col-lg-offset-8 {
+ margin-left: 66.66666667%;
+ }
+ .col-lg-offset-7 {
+ margin-left: 58.33333333%;
+ }
+ .col-lg-offset-6 {
+ margin-left: 50%;
+ }
+ .col-lg-offset-5 {
+ margin-left: 41.66666667%;
+ }
+ .col-lg-offset-4 {
+ margin-left: 33.33333333%;
+ }
+ .col-lg-offset-3 {
+ margin-left: 25%;
+ }
+ .col-lg-offset-2 {
+ margin-left: 16.66666667%;
+ }
+ .col-lg-offset-1 {
+ margin-left: 8.33333333%;
+ }
+ .col-lg-offset-0 {
+ margin-left: 0;
+ }
+}
+table {
+ background-color: transparent;
+}
+caption {
+ padding-top: 8px;
+ padding-bottom: 8px;
+ color: #777;
+ text-align: left;
+}
+th {
+ text-align: left;
+}
+.table {
+ width: 100%;
+ max-width: 100%;
+ margin-bottom: 20px;
+}
+.table > thead > tr > th,
+.table > tbody > tr > th,
+.table > tfoot > tr > th,
+.table > thead > tr > td,
+.table > tbody > tr > td,
+.table > tfoot > tr > td {
+ padding: 8px;
+ line-height: 1.42857143;
+ vertical-align: top;
+ border-top: 1px solid #ddd;
+}
+.table > thead > tr > th {
+ vertical-align: bottom;
+ border-bottom: 2px solid #ddd;
+}
+.table > caption + thead > tr:first-child > th,
+.table > colgroup + thead > tr:first-child > th,
+.table > thead:first-child > tr:first-child > th,
+.table > caption + thead > tr:first-child > td,
+.table > colgroup + thead > tr:first-child > td,
+.table > thead:first-child > tr:first-child > td {
+ border-top: 0;
+}
+.table > tbody + tbody {
+ border-top: 2px solid #ddd;
+}
+.table .table {
+ background-color: #fff;
+}
+.table-condensed > thead > tr > th,
+.table-condensed > tbody > tr > th,
+.table-condensed > tfoot > tr > th,
+.table-condensed > thead > tr > td,
+.table-condensed > tbody > tr > td,
+.table-condensed > tfoot > tr > td {
+ padding: 5px;
+}
+.table-bordered {
+ border: 1px solid #ddd;
+}
+.table-bordered > thead > tr > th,
+.table-bordered > tbody > tr > th,
+.table-bordered > tfoot > tr > th,
+.table-bordered > thead > tr > td,
+.table-bordered > tbody > tr > td,
+.table-bordered > tfoot > tr > td {
+ border: 1px solid #ddd;
+}
+.table-bordered > thead > tr > th,
+.table-bordered > thead > tr > td {
+ border-bottom-width: 2px;
+}
+.table-striped > tbody > tr:nth-of-type(odd) {
+ background-color: #f9f9f9;
+}
+.table-hover > tbody > tr:hover {
+ background-color: #f5f5f5;
+}
+table col[class*="col-"] {
+ position: static;
+ display: table-column;
+ float: none;
+}
+table td[class*="col-"],
+table th[class*="col-"] {
+ position: static;
+ display: table-cell;
+ float: none;
+}
+.table > thead > tr > td.active,
+.table > tbody > tr > td.active,
+.table > tfoot > tr > td.active,
+.table > thead > tr > th.active,
+.table > tbody > tr > th.active,
+.table > tfoot > tr > th.active,
+.table > thead > tr.active > td,
+.table > tbody > tr.active > td,
+.table > tfoot > tr.active > td,
+.table > thead > tr.active > th,
+.table > tbody > tr.active > th,
+.table > tfoot > tr.active > th {
+ background-color: #f5f5f5;
+}
+.table-hover > tbody > tr > td.active:hover,
+.table-hover > tbody > tr > th.active:hover,
+.table-hover > tbody > tr.active:hover > td,
+.table-hover > tbody > tr:hover > .active,
+.table-hover > tbody > tr.active:hover > th {
+ background-color: #e8e8e8;
+}
+.table > thead > tr > td.success,
+.table > tbody > tr > td.success,
+.table > tfoot > tr > td.success,
+.table > thead > tr > th.success,
+.table > tbody > tr > th.success,
+.table > tfoot > tr > th.success,
+.table > thead > tr.success > td,
+.table > tbody > tr.success > td,
+.table > tfoot > tr.success > td,
+.table > thead > tr.success > th,
+.table > tbody > tr.success > th,
+.table > tfoot > tr.success > th {
+ background-color: #dff0d8;
+}
+.table-hover > tbody > tr > td.success:hover,
+.table-hover > tbody > tr > th.success:hover,
+.table-hover > tbody > tr.success:hover > td,
+.table-hover > tbody > tr:hover > .success,
+.table-hover > tbody > tr.success:hover > th {
+ background-color: #d0e9c6;
+}
+.table > thead > tr > td.info,
+.table > tbody > tr > td.info,
+.table > tfoot > tr > td.info,
+.table > thead > tr > th.info,
+.table > tbody > tr > th.info,
+.table > tfoot > tr > th.info,
+.table > thead > tr.info > td,
+.table > tbody > tr.info > td,
+.table > tfoot > tr.info > td,
+.table > thead > tr.info > th,
+.table > tbody > tr.info > th,
+.table > tfoot > tr.info > th {
+ background-color: #d9edf7;
+}
+.table-hover > tbody > tr > td.info:hover,
+.table-hover > tbody > tr > th.info:hover,
+.table-hover > tbody > tr.info:hover > td,
+.table-hover > tbody > tr:hover > .info,
+.table-hover > tbody > tr.info:hover > th {
+ background-color: #c4e3f3;
+}
+.table > thead > tr > td.warning,
+.table > tbody > tr > td.warning,
+.table > tfoot > tr > td.warning,
+.table > thead > tr > th.warning,
+.table > tbody > tr > th.warning,
+.table > tfoot > tr > th.warning,
+.table > thead > tr.warning > td,
+.table > tbody > tr.warning > td,
+.table > tfoot > tr.warning > td,
+.table > thead > tr.warning > th,
+.table > tbody > tr.warning > th,
+.table > tfoot > tr.warning > th {
+ background-color: #fcf8e3;
+}
+.table-hover > tbody > tr > td.warning:hover,
+.table-hover > tbody > tr > th.warning:hover,
+.table-hover > tbody > tr.warning:hover > td,
+.table-hover > tbody > tr:hover > .warning,
+.table-hover > tbody > tr.warning:hover > th {
+ background-color: #faf2cc;
+}
+.table > thead > tr > td.danger,
+.table > tbody > tr > td.danger,
+.table > tfoot > tr > td.danger,
+.table > thead > tr > th.danger,
+.table > tbody > tr > th.danger,
+.table > tfoot > tr > th.danger,
+.table > thead > tr.danger > td,
+.table > tbody > tr.danger > td,
+.table > tfoot > tr.danger > td,
+.table > thead > tr.danger > th,
+.table > tbody > tr.danger > th,
+.table > tfoot > tr.danger > th {
+ background-color: #f2dede;
+}
+.table-hover > tbody > tr > td.danger:hover,
+.table-hover > tbody > tr > th.danger:hover,
+.table-hover > tbody > tr.danger:hover > td,
+.table-hover > tbody > tr:hover > .danger,
+.table-hover > tbody > tr.danger:hover > th {
+ background-color: #ebcccc;
+}
+.table-responsive {
+ min-height: .01%;
+ overflow-x: auto;
+}
+@media screen and (max-width: 767px) {
+ .table-responsive {
+ width: 100%;
+ margin-bottom: 15px;
+ overflow-y: hidden;
+ -ms-overflow-style: -ms-autohiding-scrollbar;
+ border: 1px solid #ddd;
+ }
+ .table-responsive > .table {
+ margin-bottom: 0;
+ }
+ .table-responsive > .table > thead > tr > th,
+ .table-responsive > .table > tbody > tr > th,
+ .table-responsive > .table > tfoot > tr > th,
+ .table-responsive > .table > thead > tr > td,
+ .table-responsive > .table > tbody > tr > td,
+ .table-responsive > .table > tfoot > tr > td {
+ white-space: nowrap;
+ }
+ .table-responsive > .table-bordered {
+ border: 0;
+ }
+ .table-responsive > .table-bordered > thead > tr > th:first-child,
+ .table-responsive > .table-bordered > tbody > tr > th:first-child,
+ .table-responsive > .table-bordered > tfoot > tr > th:first-child,
+ .table-responsive > .table-bordered > thead > tr > td:first-child,
+ .table-responsive > .table-bordered > tbody > tr > td:first-child,
+ .table-responsive > .table-bordered > tfoot > tr > td:first-child {
+ border-left: 0;
+ }
+ .table-responsive > .table-bordered > thead > tr > th:last-child,
+ .table-responsive > .table-bordered > tbody > tr > th:last-child,
+ .table-responsive > .table-bordered > tfoot > tr > th:last-child,
+ .table-responsive > .table-bordered > thead > tr > td:last-child,
+ .table-responsive > .table-bordered > tbody > tr > td:last-child,
+ .table-responsive > .table-bordered > tfoot > tr > td:last-child {
+ border-right: 0;
+ }
+ .table-responsive > .table-bordered > tbody > tr:last-child > th,
+ .table-responsive > .table-bordered > tfoot > tr:last-child > th,
+ .table-responsive > .table-bordered > tbody > tr:last-child > td,
+ .table-responsive > .table-bordered > tfoot > tr:last-child > td {
+ border-bottom: 0;
+ }
+}
+fieldset {
+ min-width: 0;
+ padding: 0;
+ margin: 0;
+ border: 0;
+}
+legend {
+ display: block;
+ width: 100%;
+ padding: 0;
+ margin-bottom: 20px;
+ font-size: 21px;
+ line-height: inherit;
+ color: #333;
+ border: 0;
+ border-bottom: 1px solid #e5e5e5;
+}
+label {
+ display: inline-block;
+ max-width: 100%;
+ margin-bottom: 5px;
+ font-weight: bold;
+}
+input[type="search"] {
+ -webkit-box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+}
+input[type="radio"],
+input[type="checkbox"] {
+ margin: 4px 0 0;
+ margin-top: 1px \9;
+ line-height: normal;
+}
+input[type="file"] {
+ display: block;
+}
+input[type="range"] {
+ display: block;
+ width: 100%;
+}
+select[multiple],
+select[size] {
+ height: auto;
+}
+input[type="file"]:focus,
+input[type="radio"]:focus,
+input[type="checkbox"]:focus {
+ outline: thin dotted;
+ outline: 5px auto -webkit-focus-ring-color;
+ outline-offset: -2px;
+}
+output {
+ display: block;
+ padding-top: 7px;
+ font-size: 14px;
+ line-height: 1.42857143;
+ color: #555;
+}
+.form-control {
+ display: block;
+ width: 100%;
+ height: 34px;
+ padding: 6px 12px;
+ font-size: 14px;
+ line-height: 1.42857143;
+ color: #555;
+ background-color: #fff;
+ background-image: none;
+ border: 1px solid #ccc;
+ border-radius: 4px;
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
+ -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
+ -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
+ transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
+}
+.form-control:focus {
+ border-color: #66afe9;
+ outline: 0;
+ -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
+ box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
+}
+.form-control::-moz-placeholder {
+ color: #999;
+ opacity: 1;
+}
+.form-control:-ms-input-placeholder {
+ color: #999;
+}
+.form-control::-webkit-input-placeholder {
+ color: #999;
+}
+.form-control[disabled],
+.form-control[readonly],
+fieldset[disabled] .form-control {
+ cursor: not-allowed;
+ background-color: #eee;
+ opacity: 1;
+}
+textarea.form-control {
+ height: auto;
+}
+input[type="search"] {
+ -webkit-appearance: none;
+}
+@media screen and (-webkit-min-device-pixel-ratio: 0) {
+ input[type="date"],
+ input[type="time"],
+ input[type="datetime-local"],
+ input[type="month"] {
+ line-height: 34px;
+ }
+ input[type="date"].input-sm,
+ input[type="time"].input-sm,
+ input[type="datetime-local"].input-sm,
+ input[type="month"].input-sm,
+ .input-group-sm input[type="date"],
+ .input-group-sm input[type="time"],
+ .input-group-sm input[type="datetime-local"],
+ .input-group-sm input[type="month"] {
+ line-height: 30px;
+ }
+ input[type="date"].input-lg,
+ input[type="time"].input-lg,
+ input[type="datetime-local"].input-lg,
+ input[type="month"].input-lg,
+ .input-group-lg input[type="date"],
+ .input-group-lg input[type="time"],
+ .input-group-lg input[type="datetime-local"],
+ .input-group-lg input[type="month"] {
+ line-height: 46px;
+ }
+}
+.form-group {
+ margin-bottom: 15px;
+}
+.radio,
+.checkbox {
+ position: relative;
+ display: block;
+ margin-top: 10px;
+ margin-bottom: 10px;
+}
+.radio label,
+.checkbox label {
+ min-height: 20px;
+ padding-left: 20px;
+ margin-bottom: 0;
+ font-weight: normal;
+ cursor: pointer;
+}
+.radio input[type="radio"],
+.radio-inline input[type="radio"],
+.checkbox input[type="checkbox"],
+.checkbox-inline input[type="checkbox"] {
+ position: absolute;
+ margin-top: 4px \9;
+ margin-left: -20px;
+}
+.radio + .radio,
+.checkbox + .checkbox {
+ margin-top: -5px;
+}
+.radio-inline,
+.checkbox-inline {
+ display: inline-block;
+ padding-left: 20px;
+ margin-bottom: 0;
+ font-weight: normal;
+ vertical-align: middle;
+ cursor: pointer;
+}
+.radio-inline + .radio-inline,
+.checkbox-inline + .checkbox-inline {
+ margin-top: 0;
+ margin-left: 10px;
+}
+input[type="radio"][disabled],
+input[type="checkbox"][disabled],
+input[type="radio"].disabled,
+input[type="checkbox"].disabled,
+fieldset[disabled] input[type="radio"],
+fieldset[disabled] input[type="checkbox"] {
+ cursor: not-allowed;
+}
+.radio-inline.disabled,
+.checkbox-inline.disabled,
+fieldset[disabled] .radio-inline,
+fieldset[disabled] .checkbox-inline {
+ cursor: not-allowed;
+}
+.radio.disabled label,
+.checkbox.disabled label,
+fieldset[disabled] .radio label,
+fieldset[disabled] .checkbox label {
+ cursor: not-allowed;
+}
+.form-control-static {
+ padding-top: 7px;
+ padding-bottom: 7px;
+ margin-bottom: 0;
+}
+.form-control-static.input-lg,
+.form-control-static.input-sm {
+ padding-right: 0;
+ padding-left: 0;
+}
+.input-sm {
+ height: 30px;
+ padding: 5px 10px;
+ font-size: 12px;
+ line-height: 1.5;
+ border-radius: 3px;
+}
+select.input-sm {
+ height: 30px;
+ line-height: 30px;
+}
+textarea.input-sm,
+select[multiple].input-sm {
+ height: auto;
+}
+.form-group-sm .form-control {
+ height: 30px;
+ padding: 5px 10px;
+ font-size: 12px;
+ line-height: 1.5;
+ border-radius: 3px;
+}
+select.form-group-sm .form-control {
+ height: 30px;
+ line-height: 30px;
+}
+textarea.form-group-sm .form-control,
+select[multiple].form-group-sm .form-control {
+ height: auto;
+}
+.form-group-sm .form-control-static {
+ height: 30px;
+ padding: 5px 10px;
+ font-size: 12px;
+ line-height: 1.5;
+}
+.input-lg {
+ height: 46px;
+ padding: 10px 16px;
+ font-size: 18px;
+ line-height: 1.3333333;
+ border-radius: 6px;
+}
+select.input-lg {
+ height: 46px;
+ line-height: 46px;
+}
+textarea.input-lg,
+select[multiple].input-lg {
+ height: auto;
+}
+.form-group-lg .form-control {
+ height: 46px;
+ padding: 10px 16px;
+ font-size: 18px;
+ line-height: 1.3333333;
+ border-radius: 6px;
+}
+select.form-group-lg .form-control {
+ height: 46px;
+ line-height: 46px;
+}
+textarea.form-group-lg .form-control,
+select[multiple].form-group-lg .form-control {
+ height: auto;
+}
+.form-group-lg .form-control-static {
+ height: 46px;
+ padding: 10px 16px;
+ font-size: 18px;
+ line-height: 1.3333333;
+}
+.has-feedback {
+ position: relative;
+}
+.has-feedback .form-control {
+ padding-right: 42.5px;
+}
+.form-control-feedback {
+ position: absolute;
+ top: 0;
+ right: 0;
+ z-index: 2;
+ display: block;
+ width: 34px;
+ height: 34px;
+ line-height: 34px;
+ text-align: center;
+ pointer-events: none;
+}
+.input-lg + .form-control-feedback {
+ width: 46px;
+ height: 46px;
+ line-height: 46px;
+}
+.input-sm + .form-control-feedback {
+ width: 30px;
+ height: 30px;
+ line-height: 30px;
+}
+.has-success .help-block,
+.has-success .control-label,
+.has-success .radio,
+.has-success .checkbox,
+.has-success .radio-inline,
+.has-success .checkbox-inline,
+.has-success.radio label,
+.has-success.checkbox label,
+.has-success.radio-inline label,
+.has-success.checkbox-inline label {
+ color: #3c763d;
+}
+.has-success .form-control {
+ border-color: #3c763d;
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
+}
+.has-success .form-control:focus {
+ border-color: #2b542c;
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168;
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168;
+}
+.has-success .input-group-addon {
+ color: #3c763d;
+ background-color: #dff0d8;
+ border-color: #3c763d;
+}
+.has-success .form-control-feedback {
+ color: #3c763d;
+}
+.has-warning .help-block,
+.has-warning .control-label,
+.has-warning .radio,
+.has-warning .checkbox,
+.has-warning .radio-inline,
+.has-warning .checkbox-inline,
+.has-warning.radio label,
+.has-warning.checkbox label,
+.has-warning.radio-inline label,
+.has-warning.checkbox-inline label {
+ color: #8a6d3b;
+}
+.has-warning .form-control {
+ border-color: #8a6d3b;
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
+}
+.has-warning .form-control:focus {
+ border-color: #66512c;
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b;
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b;
+}
+.has-warning .input-group-addon {
+ color: #8a6d3b;
+ background-color: #fcf8e3;
+ border-color: #8a6d3b;
+}
+.has-warning .form-control-feedback {
+ color: #8a6d3b;
+}
+.has-error .help-block,
+.has-error .control-label,
+.has-error .radio,
+.has-error .checkbox,
+.has-error .radio-inline,
+.has-error .checkbox-inline,
+.has-error.radio label,
+.has-error.checkbox label,
+.has-error.radio-inline label,
+.has-error.checkbox-inline label {
+ color: #a94442;
+}
+.has-error .form-control {
+ border-color: #a94442;
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
+}
+.has-error .form-control:focus {
+ border-color: #843534;
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;
+}
+.has-error .input-group-addon {
+ color: #a94442;
+ background-color: #f2dede;
+ border-color: #a94442;
+}
+.has-error .form-control-feedback {
+ color: #a94442;
+}
+.has-feedback label ~ .form-control-feedback {
+ top: 25px;
+}
+.has-feedback label.sr-only ~ .form-control-feedback {
+ top: 0;
+}
+.help-block {
+ display: block;
+ margin-top: 5px;
+ margin-bottom: 10px;
+ color: #737373;
+}
+@media (min-width: 768px) {
+ .form-inline .form-group {
+ display: inline-block;
+ margin-bottom: 0;
+ vertical-align: middle;
+ }
+ .form-inline .form-control {
+ display: inline-block;
+ width: auto;
+ vertical-align: middle;
+ }
+ .form-inline .form-control-static {
+ display: inline-block;
+ }
+ .form-inline .input-group {
+ display: inline-table;
+ vertical-align: middle;
+ }
+ .form-inline .input-group .input-group-addon,
+ .form-inline .input-group .input-group-btn,
+ .form-inline .input-group .form-control {
+ width: auto;
+ }
+ .form-inline .input-group > .form-control {
+ width: 100%;
+ }
+ .form-inline .control-label {
+ margin-bottom: 0;
+ vertical-align: middle;
+ }
+ .form-inline .radio,
+ .form-inline .checkbox {
+ display: inline-block;
+ margin-top: 0;
+ margin-bottom: 0;
+ vertical-align: middle;
+ }
+ .form-inline .radio label,
+ .form-inline .checkbox label {
+ padding-left: 0;
+ }
+ .form-inline .radio input[type="radio"],
+ .form-inline .checkbox input[type="checkbox"] {
+ position: relative;
+ margin-left: 0;
+ }
+ .form-inline .has-feedback .form-control-feedback {
+ top: 0;
+ }
+}
+.form-horizontal .radio,
+.form-horizontal .checkbox,
+.form-horizontal .radio-inline,
+.form-horizontal .checkbox-inline {
+ padding-top: 7px;
+ margin-top: 0;
+ margin-bottom: 0;
+}
+.form-horizontal .radio,
+.form-horizontal .checkbox {
+ min-height: 27px;
+}
+.form-horizontal .form-group {
+ margin-right: -15px;
+ margin-left: -15px;
+}
+@media (min-width: 768px) {
+ .form-horizontal .control-label {
+ padding-top: 7px;
+ margin-bottom: 0;
+ text-align: right;
+ }
+}
+.form-horizontal .has-feedback .form-control-feedback {
+ right: 15px;
+}
+@media (min-width: 768px) {
+ .form-horizontal .form-group-lg .control-label {
+ padding-top: 14.333333px;
+ }
+}
+@media (min-width: 768px) {
+ .form-horizontal .form-group-sm .control-label {
+ padding-top: 6px;
+ }
+}
+.btn {
+ display: inline-block;
+ padding: 6px 12px;
+ margin-bottom: 0;
+ font-size: 14px;
+ font-weight: normal;
+ line-height: 1.42857143;
+ text-align: center;
+ white-space: nowrap;
+ vertical-align: middle;
+ -ms-touch-action: manipulation;
+ touch-action: manipulation;
+ cursor: pointer;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+ background-image: none;
+ border: 1px solid transparent;
+ border-radius: 4px;
+}
+.btn:focus,
+.btn:active:focus,
+.btn.active:focus,
+.btn.focus,
+.btn:active.focus,
+.btn.active.focus {
+ outline: thin dotted;
+ outline: 5px auto -webkit-focus-ring-color;
+ outline-offset: -2px;
+}
+.btn:hover,
+.btn:focus,
+.btn.focus {
+ color: #333;
+ text-decoration: none;
+}
+.btn:active,
+.btn.active {
+ background-image: none;
+ outline: 0;
+ -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
+ box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
+}
+.btn.disabled,
+.btn[disabled],
+fieldset[disabled] .btn {
+ pointer-events: none;
+ cursor: not-allowed;
+ filter: alpha(opacity=65);
+ -webkit-box-shadow: none;
+ box-shadow: none;
+ opacity: .65;
+}
+.btn-default {
+ color: #333;
+ background-color: #fff;
+ border-color: #ccc;
+}
+.btn-default:hover,
+.btn-default:focus,
+.btn-default.focus,
+.btn-default:active,
+.btn-default.active,
+.open > .dropdown-toggle.btn-default {
+ color: #333;
+ background-color: #e6e6e6;
+ border-color: #adadad;
+}
+.btn-default:active,
+.btn-default.active,
+.open > .dropdown-toggle.btn-default {
+ background-image: none;
+}
+.btn-default.disabled,
+.btn-default[disabled],
+fieldset[disabled] .btn-default,
+.btn-default.disabled:hover,
+.btn-default[disabled]:hover,
+fieldset[disabled] .btn-default:hover,
+.btn-default.disabled:focus,
+.btn-default[disabled]:focus,
+fieldset[disabled] .btn-default:focus,
+.btn-default.disabled.focus,
+.btn-default[disabled].focus,
+fieldset[disabled] .btn-default.focus,
+.btn-default.disabled:active,
+.btn-default[disabled]:active,
+fieldset[disabled] .btn-default:active,
+.btn-default.disabled.active,
+.btn-default[disabled].active,
+fieldset[disabled] .btn-default.active {
+ background-color: #fff;
+ border-color: #ccc;
+}
+.btn-default .badge {
+ color: #fff;
+ background-color: #333;
+}
+.btn-primary {
+ color: #fff;
+ background-color: #337ab7;
+ border-color: #2e6da4;
+}
+.btn-primary:hover,
+.btn-primary:focus,
+.btn-primary.focus,
+.btn-primary:active,
+.btn-primary.active,
+.open > .dropdown-toggle.btn-primary {
+ color: #fff;
+ background-color: #286090;
+ border-color: #204d74;
+}
+.btn-primary:active,
+.btn-primary.active,
+.open > .dropdown-toggle.btn-primary {
+ background-image: none;
+}
+.btn-primary.disabled,
+.btn-primary[disabled],
+fieldset[disabled] .btn-primary,
+.btn-primary.disabled:hover,
+.btn-primary[disabled]:hover,
+fieldset[disabled] .btn-primary:hover,
+.btn-primary.disabled:focus,
+.btn-primary[disabled]:focus,
+fieldset[disabled] .btn-primary:focus,
+.btn-primary.disabled.focus,
+.btn-primary[disabled].focus,
+fieldset[disabled] .btn-primary.focus,
+.btn-primary.disabled:active,
+.btn-primary[disabled]:active,
+fieldset[disabled] .btn-primary:active,
+.btn-primary.disabled.active,
+.btn-primary[disabled].active,
+fieldset[disabled] .btn-primary.active {
+ background-color: #337ab7;
+ border-color: #2e6da4;
+}
+.btn-primary .badge {
+ color: #337ab7;
+ background-color: #fff;
+}
+.btn-success {
+ color: #fff;
+ background-color: #5cb85c;
+ border-color: #4cae4c;
+}
+.btn-success:hover,
+.btn-success:focus,
+.btn-success.focus,
+.btn-success:active,
+.btn-success.active,
+.open > .dropdown-toggle.btn-success {
+ color: #fff;
+ background-color: #449d44;
+ border-color: #398439;
+}
+.btn-success:active,
+.btn-success.active,
+.open > .dropdown-toggle.btn-success {
+ background-image: none;
+}
+.btn-success.disabled,
+.btn-success[disabled],
+fieldset[disabled] .btn-success,
+.btn-success.disabled:hover,
+.btn-success[disabled]:hover,
+fieldset[disabled] .btn-success:hover,
+.btn-success.disabled:focus,
+.btn-success[disabled]:focus,
+fieldset[disabled] .btn-success:focus,
+.btn-success.disabled.focus,
+.btn-success[disabled].focus,
+fieldset[disabled] .btn-success.focus,
+.btn-success.disabled:active,
+.btn-success[disabled]:active,
+fieldset[disabled] .btn-success:active,
+.btn-success.disabled.active,
+.btn-success[disabled].active,
+fieldset[disabled] .btn-success.active {
+ background-color: #5cb85c;
+ border-color: #4cae4c;
+}
+.btn-success .badge {
+ color: #5cb85c;
+ background-color: #fff;
+}
+.btn-info {
+ color: #fff;
+ background-color: #5bc0de;
+ border-color: #46b8da;
+}
+.btn-info:hover,
+.btn-info:focus,
+.btn-info.focus,
+.btn-info:active,
+.btn-info.active,
+.open > .dropdown-toggle.btn-info {
+ color: #fff;
+ background-color: #31b0d5;
+ border-color: #269abc;
+}
+.btn-info:active,
+.btn-info.active,
+.open > .dropdown-toggle.btn-info {
+ background-image: none;
+}
+.btn-info.disabled,
+.btn-info[disabled],
+fieldset[disabled] .btn-info,
+.btn-info.disabled:hover,
+.btn-info[disabled]:hover,
+fieldset[disabled] .btn-info:hover,
+.btn-info.disabled:focus,
+.btn-info[disabled]:focus,
+fieldset[disabled] .btn-info:focus,
+.btn-info.disabled.focus,
+.btn-info[disabled].focus,
+fieldset[disabled] .btn-info.focus,
+.btn-info.disabled:active,
+.btn-info[disabled]:active,
+fieldset[disabled] .btn-info:active,
+.btn-info.disabled.active,
+.btn-info[disabled].active,
+fieldset[disabled] .btn-info.active {
+ background-color: #5bc0de;
+ border-color: #46b8da;
+}
+.btn-info .badge {
+ color: #5bc0de;
+ background-color: #fff;
+}
+.btn-warning {
+ color: #fff;
+ background-color: #f0ad4e;
+ border-color: #eea236;
+}
+.btn-warning:hover,
+.btn-warning:focus,
+.btn-warning.focus,
+.btn-warning:active,
+.btn-warning.active,
+.open > .dropdown-toggle.btn-warning {
+ color: #fff;
+ background-color: #ec971f;
+ border-color: #d58512;
+}
+.btn-warning:active,
+.btn-warning.active,
+.open > .dropdown-toggle.btn-warning {
+ background-image: none;
+}
+.btn-warning.disabled,
+.btn-warning[disabled],
+fieldset[disabled] .btn-warning,
+.btn-warning.disabled:hover,
+.btn-warning[disabled]:hover,
+fieldset[disabled] .btn-warning:hover,
+.btn-warning.disabled:focus,
+.btn-warning[disabled]:focus,
+fieldset[disabled] .btn-warning:focus,
+.btn-warning.disabled.focus,
+.btn-warning[disabled].focus,
+fieldset[disabled] .btn-warning.focus,
+.btn-warning.disabled:active,
+.btn-warning[disabled]:active,
+fieldset[disabled] .btn-warning:active,
+.btn-warning.disabled.active,
+.btn-warning[disabled].active,
+fieldset[disabled] .btn-warning.active {
+ background-color: #f0ad4e;
+ border-color: #eea236;
+}
+.btn-warning .badge {
+ color: #f0ad4e;
+ background-color: #fff;
+}
+.btn-danger {
+ color: #fff;
+ background-color: #d9534f;
+ border-color: #d43f3a;
+}
+.btn-danger:hover,
+.btn-danger:focus,
+.btn-danger.focus,
+.btn-danger:active,
+.btn-danger.active,
+.open > .dropdown-toggle.btn-danger {
+ color: #fff;
+ background-color: #c9302c;
+ border-color: #ac2925;
+}
+.btn-danger:active,
+.btn-danger.active,
+.open > .dropdown-toggle.btn-danger {
+ background-image: none;
+}
+.btn-danger.disabled,
+.btn-danger[disabled],
+fieldset[disabled] .btn-danger,
+.btn-danger.disabled:hover,
+.btn-danger[disabled]:hover,
+fieldset[disabled] .btn-danger:hover,
+.btn-danger.disabled:focus,
+.btn-danger[disabled]:focus,
+fieldset[disabled] .btn-danger:focus,
+.btn-danger.disabled.focus,
+.btn-danger[disabled].focus,
+fieldset[disabled] .btn-danger.focus,
+.btn-danger.disabled:active,
+.btn-danger[disabled]:active,
+fieldset[disabled] .btn-danger:active,
+.btn-danger.disabled.active,
+.btn-danger[disabled].active,
+fieldset[disabled] .btn-danger.active {
+ background-color: #d9534f;
+ border-color: #d43f3a;
+}
+.btn-danger .badge {
+ color: #d9534f;
+ background-color: #fff;
+}
+.btn-link {
+ font-weight: normal;
+ color: #337ab7;
+ border-radius: 0;
+}
+.btn-link,
+.btn-link:active,
+.btn-link.active,
+.btn-link[disabled],
+fieldset[disabled] .btn-link {
+ background-color: transparent;
+ -webkit-box-shadow: none;
+ box-shadow: none;
+}
+.btn-link,
+.btn-link:hover,
+.btn-link:focus,
+.btn-link:active {
+ border-color: transparent;
+}
+.btn-link:hover,
+.btn-link:focus {
+ color: #23527c;
+ text-decoration: underline;
+ background-color: transparent;
+}
+.btn-link[disabled]:hover,
+fieldset[disabled] .btn-link:hover,
+.btn-link[disabled]:focus,
+fieldset[disabled] .btn-link:focus {
+ color: #777;
+ text-decoration: none;
+}
+.btn-lg,
+.btn-group-lg > .btn {
+ padding: 10px 16px;
+ font-size: 18px;
+ line-height: 1.3333333;
+ border-radius: 6px;
+}
+.btn-sm,
+.btn-group-sm > .btn {
+ padding: 5px 10px;
+ font-size: 12px;
+ line-height: 1.5;
+ border-radius: 3px;
+}
+.btn-xs,
+.btn-group-xs > .btn {
+ padding: 1px 5px;
+ font-size: 12px;
+ line-height: 1.5;
+ border-radius: 3px;
+}
+.btn-block {
+ display: block;
+ width: 100%;
+}
+.btn-block + .btn-block {
+ margin-top: 5px;
+}
+input[type="submit"].btn-block,
+input[type="reset"].btn-block,
+input[type="button"].btn-block {
+ width: 100%;
+}
+.fade {
+ opacity: 0;
+ -webkit-transition: opacity .15s linear;
+ -o-transition: opacity .15s linear;
+ transition: opacity .15s linear;
+}
+.fade.in {
+ opacity: 1;
+}
+.collapse {
+ display: none;
+ visibility: hidden;
+}
+.collapse.in {
+ display: block;
+ visibility: visible;
+}
+tr.collapse.in {
+ display: table-row;
+}
+tbody.collapse.in {
+ display: table-row-group;
+}
+.collapsing {
+ position: relative;
+ height: 0;
+ overflow: hidden;
+ -webkit-transition-timing-function: ease;
+ -o-transition-timing-function: ease;
+ transition-timing-function: ease;
+ -webkit-transition-duration: .35s;
+ -o-transition-duration: .35s;
+ transition-duration: .35s;
+ -webkit-transition-property: height, visibility;
+ -o-transition-property: height, visibility;
+ transition-property: height, visibility;
+}
+.caret {
+ display: inline-block;
+ width: 0;
+ height: 0;
+ margin-left: 2px;
+ vertical-align: middle;
+ border-top: 4px solid;
+ border-right: 4px solid transparent;
+ border-left: 4px solid transparent;
+}
+.dropup,
+.dropdown {
+ position: relative;
+}
+.dropdown-toggle:focus {
+ outline: 0;
+}
+.dropdown-menu {
+ position: absolute;
+ top: 100%;
+ left: 0;
+ z-index: 1000;
+ display: none;
+ float: left;
+ min-width: 160px;
+ padding: 5px 0;
+ margin: 2px 0 0;
+ font-size: 14px;
+ text-align: left;
+ list-style: none;
+ background-color: #fff;
+ -webkit-background-clip: padding-box;
+ background-clip: padding-box;
+ border: 1px solid #ccc;
+ border: 1px solid rgba(0, 0, 0, .15);
+ border-radius: 4px;
+ -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
+ box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
+}
+.dropdown-menu.pull-right {
+ right: 0;
+ left: auto;
+}
+.dropdown-menu .divider {
+ height: 1px;
+ margin: 9px 0;
+ overflow: hidden;
+ background-color: #e5e5e5;
+}
+.dropdown-menu > li > a {
+ display: block;
+ padding: 3px 20px;
+ clear: both;
+ font-weight: normal;
+ line-height: 1.42857143;
+ color: #333;
+ white-space: nowrap;
+}
+.dropdown-menu > li > a:hover,
+.dropdown-menu > li > a:focus {
+ color: #262626;
+ text-decoration: none;
+ background-color: #f5f5f5;
+}
+.dropdown-menu > .active > a,
+.dropdown-menu > .active > a:hover,
+.dropdown-menu > .active > a:focus {
+ color: #fff;
+ text-decoration: none;
+ background-color: #337ab7;
+ outline: 0;
+}
+.dropdown-menu > .disabled > a,
+.dropdown-menu > .disabled > a:hover,
+.dropdown-menu > .disabled > a:focus {
+ color: #777;
+}
+.dropdown-menu > .disabled > a:hover,
+.dropdown-menu > .disabled > a:focus {
+ text-decoration: none;
+ cursor: not-allowed;
+ background-color: transparent;
+ background-image: none;
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
+}
+.open > .dropdown-menu {
+ display: block;
+}
+.open > a {
+ outline: 0;
+}
+.dropdown-menu-right {
+ right: 0;
+ left: auto;
+}
+.dropdown-menu-left {
+ right: auto;
+ left: 0;
+}
+.dropdown-header {
+ display: block;
+ padding: 3px 20px;
+ font-size: 12px;
+ line-height: 1.42857143;
+ color: #777;
+ white-space: nowrap;
+}
+.dropdown-backdrop {
+ position: fixed;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ z-index: 990;
+}
+.pull-right > .dropdown-menu {
+ right: 0;
+ left: auto;
+}
+.dropup .caret,
+.navbar-fixed-bottom .dropdown .caret {
+ content: "";
+ border-top: 0;
+ border-bottom: 4px solid;
+}
+.dropup .dropdown-menu,
+.navbar-fixed-bottom .dropdown .dropdown-menu {
+ top: auto;
+ bottom: 100%;
+ margin-bottom: 2px;
+}
+@media (min-width: 768px) {
+ .navbar-right .dropdown-menu {
+ right: 0;
+ left: auto;
+ }
+ .navbar-right .dropdown-menu-left {
+ right: auto;
+ left: 0;
+ }
+}
+.btn-group,
+.btn-group-vertical {
+ position: relative;
+ display: inline-block;
+ vertical-align: middle;
+}
+.btn-group > .btn,
+.btn-group-vertical > .btn {
+ position: relative;
+ float: left;
+}
+.btn-group > .btn:hover,
+.btn-group-vertical > .btn:hover,
+.btn-group > .btn:focus,
+.btn-group-vertical > .btn:focus,
+.btn-group > .btn:active,
+.btn-group-vertical > .btn:active,
+.btn-group > .btn.active,
+.btn-group-vertical > .btn.active {
+ z-index: 2;
+}
+.btn-group .btn + .btn,
+.btn-group .btn + .btn-group,
+.btn-group .btn-group + .btn,
+.btn-group .btn-group + .btn-group {
+ margin-left: -1px;
+}
+.btn-toolbar {
+ margin-left: -5px;
+}
+.btn-toolbar .btn-group,
+.btn-toolbar .input-group {
+ float: left;
+}
+.btn-toolbar > .btn,
+.btn-toolbar > .btn-group,
+.btn-toolbar > .input-group {
+ margin-left: 5px;
+}
+.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
+ border-radius: 0;
+}
+.btn-group > .btn:first-child {
+ margin-left: 0;
+}
+.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
+ border-top-right-radius: 0;
+ border-bottom-right-radius: 0;
+}
+.btn-group > .btn:last-child:not(:first-child),
+.btn-group > .dropdown-toggle:not(:first-child) {
+ border-top-left-radius: 0;
+ border-bottom-left-radius: 0;
+}
+.btn-group > .btn-group {
+ float: left;
+}
+.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
+ border-radius: 0;
+}
+.btn-group > .btn-group:first-child:not(:last-child) > .btn:last-child,
+.btn-group > .btn-group:first-child:not(:last-child) > .dropdown-toggle {
+ border-top-right-radius: 0;
+ border-bottom-right-radius: 0;
+}
+.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child {
+ border-top-left-radius: 0;
+ border-bottom-left-radius: 0;
+}
+.btn-group .dropdown-toggle:active,
+.btn-group.open .dropdown-toggle {
+ outline: 0;
+}
+.btn-group > .btn + .dropdown-toggle {
+ padding-right: 8px;
+ padding-left: 8px;
+}
+.btn-group > .btn-lg + .dropdown-toggle {
+ padding-right: 12px;
+ padding-left: 12px;
+}
+.btn-group.open .dropdown-toggle {
+ -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
+ box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
+}
+.btn-group.open .dropdown-toggle.btn-link {
+ -webkit-box-shadow: none;
+ box-shadow: none;
+}
+.btn .caret {
+ margin-left: 0;
+}
+.btn-lg .caret {
+ border-width: 5px 5px 0;
+ border-bottom-width: 0;
+}
+.dropup .btn-lg .caret {
+ border-width: 0 5px 5px;
+}
+.btn-group-vertical > .btn,
+.btn-group-vertical > .btn-group,
+.btn-group-vertical > .btn-group > .btn {
+ display: block;
+ float: none;
+ width: 100%;
+ max-width: 100%;
+}
+.btn-group-vertical > .btn-group > .btn {
+ float: none;
+}
+.btn-group-vertical > .btn + .btn,
+.btn-group-vertical > .btn + .btn-group,
+.btn-group-vertical > .btn-group + .btn,
+.btn-group-vertical > .btn-group + .btn-group {
+ margin-top: -1px;
+ margin-left: 0;
+}
+.btn-group-vertical > .btn:not(:first-child):not(:last-child) {
+ border-radius: 0;
+}
+.btn-group-vertical > .btn:first-child:not(:last-child) {
+ border-top-right-radius: 4px;
+ border-bottom-right-radius: 0;
+ border-bottom-left-radius: 0;
+}
+.btn-group-vertical > .btn:last-child:not(:first-child) {
+ border-top-left-radius: 0;
+ border-top-right-radius: 0;
+ border-bottom-left-radius: 4px;
+}
+.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {
+ border-radius: 0;
+}
+.btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child,
+.btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle {
+ border-bottom-right-radius: 0;
+ border-bottom-left-radius: 0;
+}
+.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child {
+ border-top-left-radius: 0;
+ border-top-right-radius: 0;
+}
+.btn-group-justified {
+ display: table;
+ width: 100%;
+ table-layout: fixed;
+ border-collapse: separate;
+}
+.btn-group-justified > .btn,
+.btn-group-justified > .btn-group {
+ display: table-cell;
+ float: none;
+ width: 1%;
+}
+.btn-group-justified > .btn-group .btn {
+ width: 100%;
+}
+.btn-group-justified > .btn-group .dropdown-menu {
+ left: auto;
+}
+[data-toggle="buttons"] > .btn input[type="radio"],
+[data-toggle="buttons"] > .btn-group > .btn input[type="radio"],
+[data-toggle="buttons"] > .btn input[type="checkbox"],
+[data-toggle="buttons"] > .btn-group > .btn input[type="checkbox"] {
+ position: absolute;
+ clip: rect(0, 0, 0, 0);
+ pointer-events: none;
+}
+.input-group {
+ position: relative;
+ display: table;
+ border-collapse: separate;
+}
+.input-group[class*="col-"] {
+ float: none;
+ padding-right: 0;
+ padding-left: 0;
+}
+.input-group .form-control {
+ position: relative;
+ z-index: 2;
+ float: left;
+ width: 100%;
+ margin-bottom: 0;
+}
+.input-group-lg > .form-control,
+.input-group-lg > .input-group-addon,
+.input-group-lg > .input-group-btn > .btn {
+ height: 46px;
+ padding: 10px 16px;
+ font-size: 18px;
+ line-height: 1.3333333;
+ border-radius: 6px;
+}
+select.input-group-lg > .form-control,
+select.input-group-lg > .input-group-addon,
+select.input-group-lg > .input-group-btn > .btn {
+ height: 46px;
+ line-height: 46px;
+}
+textarea.input-group-lg > .form-control,
+textarea.input-group-lg > .input-group-addon,
+textarea.input-group-lg > .input-group-btn > .btn,
+select[multiple].input-group-lg > .form-control,
+select[multiple].input-group-lg > .input-group-addon,
+select[multiple].input-group-lg > .input-group-btn > .btn {
+ height: auto;
+}
+.input-group-sm > .form-control,
+.input-group-sm > .input-group-addon,
+.input-group-sm > .input-group-btn > .btn {
+ height: 30px;
+ padding: 5px 10px;
+ font-size: 12px;
+ line-height: 1.5;
+ border-radius: 3px;
+}
+select.input-group-sm > .form-control,
+select.input-group-sm > .input-group-addon,
+select.input-group-sm > .input-group-btn > .btn {
+ height: 30px;
+ line-height: 30px;
+}
+textarea.input-group-sm > .form-control,
+textarea.input-group-sm > .input-group-addon,
+textarea.input-group-sm > .input-group-btn > .btn,
+select[multiple].input-group-sm > .form-control,
+select[multiple].input-group-sm > .input-group-addon,
+select[multiple].input-group-sm > .input-group-btn > .btn {
+ height: auto;
+}
+.input-group-addon,
+.input-group-btn,
+.input-group .form-control {
+ display: table-cell;
+}
+.input-group-addon:not(:first-child):not(:last-child),
+.input-group-btn:not(:first-child):not(:last-child),
+.input-group .form-control:not(:first-child):not(:last-child) {
+ border-radius: 0;
+}
+.input-group-addon,
+.input-group-btn {
+ width: 1%;
+ white-space: nowrap;
+ vertical-align: middle;
+}
+.input-group-addon {
+ padding: 6px 12px;
+ font-size: 14px;
+ font-weight: normal;
+ line-height: 1;
+ color: #555;
+ text-align: center;
+ background-color: #eee;
+ border: 1px solid #ccc;
+ border-radius: 4px;
+}
+.input-group-addon.input-sm {
+ padding: 5px 10px;
+ font-size: 12px;
+ border-radius: 3px;
+}
+.input-group-addon.input-lg {
+ padding: 10px 16px;
+ font-size: 18px;
+ border-radius: 6px;
+}
+.input-group-addon input[type="radio"],
+.input-group-addon input[type="checkbox"] {
+ margin-top: 0;
+}
+.input-group .form-control:first-child,
+.input-group-addon:first-child,
+.input-group-btn:first-child > .btn,
+.input-group-btn:first-child > .btn-group > .btn,
+.input-group-btn:first-child > .dropdown-toggle,
+.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),
+.input-group-btn:last-child > .btn-group:not(:last-child) > .btn {
+ border-top-right-radius: 0;
+ border-bottom-right-radius: 0;
+}
+.input-group-addon:first-child {
+ border-right: 0;
+}
+.input-group .form-control:last-child,
+.input-group-addon:last-child,
+.input-group-btn:last-child > .btn,
+.input-group-btn:last-child > .btn-group > .btn,
+.input-group-btn:last-child > .dropdown-toggle,
+.input-group-btn:first-child > .btn:not(:first-child),
+.input-group-btn:first-child > .btn-group:not(:first-child) > .btn {
+ border-top-left-radius: 0;
+ border-bottom-left-radius: 0;
+}
+.input-group-addon:last-child {
+ border-left: 0;
+}
+.input-group-btn {
+ position: relative;
+ font-size: 0;
+ white-space: nowrap;
+}
+.input-group-btn > .btn {
+ position: relative;
+}
+.input-group-btn > .btn + .btn {
+ margin-left: -1px;
+}
+.input-group-btn > .btn:hover,
+.input-group-btn > .btn:focus,
+.input-group-btn > .btn:active {
+ z-index: 2;
+}
+.input-group-btn:first-child > .btn,
+.input-group-btn:first-child > .btn-group {
+ margin-right: -1px;
+}
+.input-group-btn:last-child > .btn,
+.input-group-btn:last-child > .btn-group {
+ margin-left: -1px;
+}
+.nav {
+ padding-left: 0;
+ margin-bottom: 0;
+ list-style: none;
+}
+.nav > li {
+ position: relative;
+ display: block;
+}
+.nav > li > a {
+ position: relative;
+ display: block;
+ padding: 10px 15px;
+}
+.nav > li > a:hover,
+.nav > li > a:focus {
+ text-decoration: none;
+ background-color: #eee;
+}
+.nav > li.disabled > a {
+ color: #777;
+}
+.nav > li.disabled > a:hover,
+.nav > li.disabled > a:focus {
+ color: #777;
+ text-decoration: none;
+ cursor: not-allowed;
+ background-color: transparent;
+}
+.nav .open > a,
+.nav .open > a:hover,
+.nav .open > a:focus {
+ background-color: #eee;
+ border-color: #337ab7;
+}
+.nav .nav-divider {
+ height: 1px;
+ margin: 9px 0;
+ overflow: hidden;
+ background-color: #e5e5e5;
+}
+.nav > li > a > img {
+ max-width: none;
+}
+.nav-tabs {
+ border-bottom: 1px solid #ddd;
+}
+.nav-tabs > li {
+ float: left;
+ margin-bottom: -1px;
+}
+.nav-tabs > li > a {
+ margin-right: 2px;
+ line-height: 1.42857143;
+ border: 1px solid transparent;
+ border-radius: 4px 4px 0 0;
+}
+.nav-tabs > li > a:hover {
+ border-color: #eee #eee #ddd;
+}
+.nav-tabs > li.active > a,
+.nav-tabs > li.active > a:hover,
+.nav-tabs > li.active > a:focus {
+ color: #555;
+ cursor: default;
+ background-color: #fff;
+ border: 1px solid #ddd;
+ border-bottom-color: transparent;
+}
+.nav-tabs.nav-justified {
+ width: 100%;
+ border-bottom: 0;
+}
+.nav-tabs.nav-justified > li {
+ float: none;
+}
+.nav-tabs.nav-justified > li > a {
+ margin-bottom: 5px;
+ text-align: center;
+}
+.nav-tabs.nav-justified > .dropdown .dropdown-menu {
+ top: auto;
+ left: auto;
+}
+@media (min-width: 768px) {
+ .nav-tabs.nav-justified > li {
+ display: table-cell;
+ width: 1%;
+ }
+ .nav-tabs.nav-justified > li > a {
+ margin-bottom: 0;
+ }
+}
+.nav-tabs.nav-justified > li > a {
+ margin-right: 0;
+ border-radius: 4px;
+}
+.nav-tabs.nav-justified > .active > a,
+.nav-tabs.nav-justified > .active > a:hover,
+.nav-tabs.nav-justified > .active > a:focus {
+ border: 1px solid #ddd;
+}
+@media (min-width: 768px) {
+ .nav-tabs.nav-justified > li > a {
+ border-bottom: 1px solid #ddd;
+ border-radius: 4px 4px 0 0;
+ }
+ .nav-tabs.nav-justified > .active > a,
+ .nav-tabs.nav-justified > .active > a:hover,
+ .nav-tabs.nav-justified > .active > a:focus {
+ border-bottom-color: #fff;
+ }
+}
+.nav-pills > li {
+ float: left;
+}
+.nav-pills > li > a {
+ border-radius: 4px;
+}
+.nav-pills > li + li {
+ margin-left: 2px;
+}
+.nav-pills > li.active > a,
+.nav-pills > li.active > a:hover,
+.nav-pills > li.active > a:focus {
+ color: #fff;
+ background-color: #337ab7;
+}
+.nav-stacked > li {
+ float: none;
+}
+.nav-stacked > li + li {
+ margin-top: 2px;
+ margin-left: 0;
+}
+.nav-justified {
+ width: 100%;
+}
+.nav-justified > li {
+ float: none;
+}
+.nav-justified > li > a {
+ margin-bottom: 5px;
+ text-align: center;
+}
+.nav-justified > .dropdown .dropdown-menu {
+ top: auto;
+ left: auto;
+}
+@media (min-width: 768px) {
+ .nav-justified > li {
+ display: table-cell;
+ width: 1%;
+ }
+ .nav-justified > li > a {
+ margin-bottom: 0;
+ }
+}
+.nav-tabs-justified {
+ border-bottom: 0;
+}
+.nav-tabs-justified > li > a {
+ margin-right: 0;
+ border-radius: 4px;
+}
+.nav-tabs-justified > .active > a,
+.nav-tabs-justified > .active > a:hover,
+.nav-tabs-justified > .active > a:focus {
+ border: 1px solid #ddd;
+}
+@media (min-width: 768px) {
+ .nav-tabs-justified > li > a {
+ border-bottom: 1px solid #ddd;
+ border-radius: 4px 4px 0 0;
+ }
+ .nav-tabs-justified > .active > a,
+ .nav-tabs-justified > .active > a:hover,
+ .nav-tabs-justified > .active > a:focus {
+ border-bottom-color: #fff;
+ }
+}
+.tab-content > .tab-pane {
+ display: none;
+ visibility: hidden;
+}
+.tab-content > .active {
+ display: block;
+ visibility: visible;
+}
+.nav-tabs .dropdown-menu {
+ margin-top: -1px;
+ border-top-left-radius: 0;
+ border-top-right-radius: 0;
+}
+.navbar {
+ position: relative;
+ min-height: 50px;
+ margin-bottom: 20px;
+ border: 1px solid transparent;
+}
+@media (min-width: 768px) {
+ .navbar {
+ border-radius: 4px;
+ }
+}
+@media (min-width: 768px) {
+ .navbar-header {
+ float: left;
+ }
+}
+.navbar-collapse {
+ padding-right: 15px;
+ padding-left: 15px;
+ overflow-x: visible;
+ -webkit-overflow-scrolling: touch;
+ border-top: 1px solid transparent;
+ -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
+}
+.navbar-collapse.in {
+ overflow-y: auto;
+}
+@media (min-width: 768px) {
+ .navbar-collapse {
+ width: auto;
+ border-top: 0;
+ -webkit-box-shadow: none;
+ box-shadow: none;
+ }
+ .navbar-collapse.collapse {
+ display: block !important;
+ height: auto !important;
+ padding-bottom: 0;
+ overflow: visible !important;
+ visibility: visible !important;
+ }
+ .navbar-collapse.in {
+ overflow-y: visible;
+ }
+ .navbar-fixed-top .navbar-collapse,
+ .navbar-static-top .navbar-collapse,
+ .navbar-fixed-bottom .navbar-collapse {
+ padding-right: 0;
+ padding-left: 0;
+ }
+}
+.navbar-fixed-top .navbar-collapse,
+.navbar-fixed-bottom .navbar-collapse {
+ max-height: 340px;
+}
+@media (max-device-width: 480px) and (orientation: landscape) {
+ .navbar-fixed-top .navbar-collapse,
+ .navbar-fixed-bottom .navbar-collapse {
+ max-height: 200px;
+ }
+}
+.container > .navbar-header,
+.container-fluid > .navbar-header,
+.container > .navbar-collapse,
+.container-fluid > .navbar-collapse {
+ margin-right: -15px;
+ margin-left: -15px;
+}
+@media (min-width: 768px) {
+ .container > .navbar-header,
+ .container-fluid > .navbar-header,
+ .container > .navbar-collapse,
+ .container-fluid > .navbar-collapse {
+ margin-right: 0;
+ margin-left: 0;
+ }
+}
+.navbar-static-top {
+ z-index: 1000;
+ border-width: 0 0 1px;
+}
+@media (min-width: 768px) {
+ .navbar-static-top {
+ border-radius: 0;
+ }
+}
+.navbar-fixed-top,
+.navbar-fixed-bottom {
+ position: fixed;
+ right: 0;
+ left: 0;
+ z-index: 1030;
+}
+@media (min-width: 768px) {
+ .navbar-fixed-top,
+ .navbar-fixed-bottom {
+ border-radius: 0;
+ }
+}
+.navbar-fixed-top {
+ top: 0;
+ border-width: 0 0 1px;
+}
+.navbar-fixed-bottom {
+ bottom: 0;
+ margin-bottom: 0;
+ border-width: 1px 0 0;
+}
+.navbar-brand {
+ float: left;
+ height: 50px;
+ padding: 15px 15px;
+ font-size: 18px;
+ line-height: 20px;
+}
+.navbar-brand:hover,
+.navbar-brand:focus {
+ text-decoration: none;
+}
+.navbar-brand > img {
+ display: block;
+}
+@media (min-width: 768px) {
+ .navbar > .container .navbar-brand,
+ .navbar > .container-fluid .navbar-brand {
+ margin-left: -15px;
+ }
+}
+.navbar-toggle {
+ position: relative;
+ float: right;
+ padding: 9px 10px;
+ margin-top: 8px;
+ margin-right: 15px;
+ margin-bottom: 8px;
+ background-color: transparent;
+ background-image: none;
+ border: 1px solid transparent;
+ border-radius: 4px;
+}
+.navbar-toggle:focus {
+ outline: 0;
+}
+.navbar-toggle .icon-bar {
+ display: block;
+ width: 22px;
+ height: 2px;
+ border-radius: 1px;
+}
+.navbar-toggle .icon-bar + .icon-bar {
+ margin-top: 4px;
+}
+@media (min-width: 768px) {
+ .navbar-toggle {
+ display: none;
+ }
+}
+.navbar-nav {
+ margin: 7.5px -15px;
+}
+.navbar-nav > li > a {
+ padding-top: 10px;
+ padding-bottom: 10px;
+ line-height: 20px;
+}
+@media (max-width: 767px) {
+ .navbar-nav .open .dropdown-menu {
+ position: static;
+ float: none;
+ width: auto;
+ margin-top: 0;
+ background-color: transparent;
+ border: 0;
+ -webkit-box-shadow: none;
+ box-shadow: none;
+ }
+ .navbar-nav .open .dropdown-menu > li > a,
+ .navbar-nav .open .dropdown-menu .dropdown-header {
+ padding: 5px 15px 5px 25px;
+ }
+ .navbar-nav .open .dropdown-menu > li > a {
+ line-height: 20px;
+ }
+ .navbar-nav .open .dropdown-menu > li > a:hover,
+ .navbar-nav .open .dropdown-menu > li > a:focus {
+ background-image: none;
+ }
+}
+@media (min-width: 768px) {
+ .navbar-nav {
+ float: left;
+ margin: 0;
+ }
+ .navbar-nav > li {
+ float: left;
+ }
+ .navbar-nav > li > a {
+ padding-top: 15px;
+ padding-bottom: 15px;
+ }
+}
+.navbar-form {
+ padding: 10px 15px;
+ margin-top: 8px;
+ margin-right: -15px;
+ margin-bottom: 8px;
+ margin-left: -15px;
+ border-top: 1px solid transparent;
+ border-bottom: 1px solid transparent;
+ -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1);
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1);
+}
+@media (min-width: 768px) {
+ .navbar-form .form-group {
+ display: inline-block;
+ margin-bottom: 0;
+ vertical-align: middle;
+ }
+ .navbar-form .form-control {
+ display: inline-block;
+ width: auto;
+ vertical-align: middle;
+ }
+ .navbar-form .form-control-static {
+ display: inline-block;
+ }
+ .navbar-form .input-group {
+ display: inline-table;
+ vertical-align: middle;
+ }
+ .navbar-form .input-group .input-group-addon,
+ .navbar-form .input-group .input-group-btn,
+ .navbar-form .input-group .form-control {
+ width: auto;
+ }
+ .navbar-form .input-group > .form-control {
+ width: 100%;
+ }
+ .navbar-form .control-label {
+ margin-bottom: 0;
+ vertical-align: middle;
+ }
+ .navbar-form .radio,
+ .navbar-form .checkbox {
+ display: inline-block;
+ margin-top: 0;
+ margin-bottom: 0;
+ vertical-align: middle;
+ }
+ .navbar-form .radio label,
+ .navbar-form .checkbox label {
+ padding-left: 0;
+ }
+ .navbar-form .radio input[type="radio"],
+ .navbar-form .checkbox input[type="checkbox"] {
+ position: relative;
+ margin-left: 0;
+ }
+ .navbar-form .has-feedback .form-control-feedback {
+ top: 0;
+ }
+}
+@media (max-width: 767px) {
+ .navbar-form .form-group {
+ margin-bottom: 5px;
+ }
+ .navbar-form .form-group:last-child {
+ margin-bottom: 0;
+ }
+}
+@media (min-width: 768px) {
+ .navbar-form {
+ width: auto;
+ padding-top: 0;
+ padding-bottom: 0;
+ margin-right: 0;
+ margin-left: 0;
+ border: 0;
+ -webkit-box-shadow: none;
+ box-shadow: none;
+ }
+}
+.navbar-nav > li > .dropdown-menu {
+ margin-top: 0;
+ border-top-left-radius: 0;
+ border-top-right-radius: 0;
+}
+.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {
+ margin-bottom: 0;
+ border-top-left-radius: 4px;
+ border-top-right-radius: 4px;
+ border-bottom-right-radius: 0;
+ border-bottom-left-radius: 0;
+}
+.navbar-btn {
+ margin-top: 8px;
+ margin-bottom: 8px;
+}
+.navbar-btn.btn-sm {
+ margin-top: 10px;
+ margin-bottom: 10px;
+}
+.navbar-btn.btn-xs {
+ margin-top: 14px;
+ margin-bottom: 14px;
+}
+.navbar-text {
+ margin-top: 15px;
+ margin-bottom: 15px;
+}
+@media (min-width: 768px) {
+ .navbar-text {
+ float: left;
+ margin-right: 15px;
+ margin-left: 15px;
+ }
+}
+@media (min-width: 768px) {
+ .navbar-left {
+ float: left !important;
+ }
+ .navbar-right {
+ float: right !important;
+ margin-right: -15px;
+ }
+ .navbar-right ~ .navbar-right {
+ margin-right: 0;
+ }
+}
+.navbar-default {
+ background-color: #f8f8f8;
+ border-color: #e7e7e7;
+}
+.navbar-default .navbar-brand {
+ color: #777;
+}
+.navbar-default .navbar-brand:hover,
+.navbar-default .navbar-brand:focus {
+ color: #5e5e5e;
+ background-color: transparent;
+}
+.navbar-default .navbar-text {
+ color: #777;
+}
+.navbar-default .navbar-nav > li > a {
+ color: #777;
+}
+.navbar-default .navbar-nav > li > a:hover,
+.navbar-default .navbar-nav > li > a:focus {
+ color: #333;
+ background-color: transparent;
+}
+.navbar-default .navbar-nav > .active > a,
+.navbar-default .navbar-nav > .active > a:hover,
+.navbar-default .navbar-nav > .active > a:focus {
+ color: #555;
+ background-color: #e7e7e7;
+}
+.navbar-default .navbar-nav > .disabled > a,
+.navbar-default .navbar-nav > .disabled > a:hover,
+.navbar-default .navbar-nav > .disabled > a:focus {
+ color: #ccc;
+ background-color: transparent;
+}
+.navbar-default .navbar-toggle {
+ border-color: #ddd;
+}
+.navbar-default .navbar-toggle:hover,
+.navbar-default .navbar-toggle:focus {
+ background-color: #ddd;
+}
+.navbar-default .navbar-toggle .icon-bar {
+ background-color: #888;
+}
+.navbar-default .navbar-collapse,
+.navbar-default .navbar-form {
+ border-color: #e7e7e7;
+}
+.navbar-default .navbar-nav > .open > a,
+.navbar-default .navbar-nav > .open > a:hover,
+.navbar-default .navbar-nav > .open > a:focus {
+ color: #555;
+ background-color: #e7e7e7;
+}
+@media (max-width: 767px) {
+ .navbar-default .navbar-nav .open .dropdown-menu > li > a {
+ color: #777;
+ }
+ .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
+ .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
+ color: #333;
+ background-color: transparent;
+ }
+ .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
+ .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
+ .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
+ color: #555;
+ background-color: #e7e7e7;
+ }
+ .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a,
+ .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover,
+ .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {
+ color: #ccc;
+ background-color: transparent;
+ }
+}
+.navbar-default .navbar-link {
+ color: #777;
+}
+.navbar-default .navbar-link:hover {
+ color: #333;
+}
+.navbar-default .btn-link {
+ color: #777;
+}
+.navbar-default .btn-link:hover,
+.navbar-default .btn-link:focus {
+ color: #333;
+}
+.navbar-default .btn-link[disabled]:hover,
+fieldset[disabled] .navbar-default .btn-link:hover,
+.navbar-default .btn-link[disabled]:focus,
+fieldset[disabled] .navbar-default .btn-link:focus {
+ color: #ccc;
+}
+.navbar-inverse {
+ background-color: #222;
+ border-color: #080808;
+}
+.navbar-inverse .navbar-brand {
+ color: #9d9d9d;
+}
+.navbar-inverse .navbar-brand:hover,
+.navbar-inverse .navbar-brand:focus {
+ color: #fff;
+ background-color: transparent;
+}
+.navbar-inverse .navbar-text {
+ color: #9d9d9d;
+}
+.navbar-inverse .navbar-nav > li > a {
+ color: #9d9d9d;
+}
+.navbar-inverse .navbar-nav > li > a:hover,
+.navbar-inverse .navbar-nav > li > a:focus {
+ color: #fff;
+ background-color: transparent;
+}
+.navbar-inverse .navbar-nav > .active > a,
+.navbar-inverse .navbar-nav > .active > a:hover,
+.navbar-inverse .navbar-nav > .active > a:focus {
+ color: #fff;
+ background-color: #080808;
+}
+.navbar-inverse .navbar-nav > .disabled > a,
+.navbar-inverse .navbar-nav > .disabled > a:hover,
+.navbar-inverse .navbar-nav > .disabled > a:focus {
+ color: #444;
+ background-color: transparent;
+}
+.navbar-inverse .navbar-toggle {
+ border-color: #333;
+}
+.navbar-inverse .navbar-toggle:hover,
+.navbar-inverse .navbar-toggle:focus {
+ background-color: #333;
+}
+.navbar-inverse .navbar-toggle .icon-bar {
+ background-color: #fff;
+}
+.navbar-inverse .navbar-collapse,
+.navbar-inverse .navbar-form {
+ border-color: #101010;
+}
+.navbar-inverse .navbar-nav > .open > a,
+.navbar-inverse .navbar-nav > .open > a:hover,
+.navbar-inverse .navbar-nav > .open > a:focus {
+ color: #fff;
+ background-color: #080808;
+}
+@media (max-width: 767px) {
+ .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header {
+ border-color: #080808;
+ }
+ .navbar-inverse .navbar-nav .open .dropdown-menu .divider {
+ background-color: #080808;
+ }
+ .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
+ color: #9d9d9d;
+ }
+ .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover,
+ .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {
+ color: #fff;
+ background-color: transparent;
+ }
+ .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a,
+ .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover,
+ .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus {
+ color: #fff;
+ background-color: #080808;
+ }
+ .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a,
+ .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover,
+ .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus {
+ color: #444;
+ background-color: transparent;
+ }
+}
+.navbar-inverse .navbar-link {
+ color: #9d9d9d;
+}
+.navbar-inverse .navbar-link:hover {
+ color: #fff;
+}
+.navbar-inverse .btn-link {
+ color: #9d9d9d;
+}
+.navbar-inverse .btn-link:hover,
+.navbar-inverse .btn-link:focus {
+ color: #fff;
+}
+.navbar-inverse .btn-link[disabled]:hover,
+fieldset[disabled] .navbar-inverse .btn-link:hover,
+.navbar-inverse .btn-link[disabled]:focus,
+fieldset[disabled] .navbar-inverse .btn-link:focus {
+ color: #444;
+}
+.breadcrumb {
+ padding: 8px 15px;
+ margin-bottom: 20px;
+ list-style: none;
+ background-color: #f5f5f5;
+ border-radius: 4px;
+}
+.breadcrumb > li {
+ display: inline-block;
+}
+.breadcrumb > li + li:before {
+ padding: 0 5px;
+ color: #ccc;
+ content: "/\00a0";
+}
+.breadcrumb > .active {
+ color: #777;
+}
+.pagination {
+ display: inline-block;
+ padding-left: 0;
+ margin: 20px 0;
+ border-radius: 4px;
+}
+.pagination > li {
+ display: inline;
+}
+.pagination > li > a,
+.pagination > li > span {
+ position: relative;
+ float: left;
+ padding: 6px 12px;
+ margin-left: -1px;
+ line-height: 1.42857143;
+ color: #337ab7;
+ text-decoration: none;
+ background-color: #fff;
+ border: 1px solid #ddd;
+}
+.pagination > li:first-child > a,
+.pagination > li:first-child > span {
+ margin-left: 0;
+ border-top-left-radius: 4px;
+ border-bottom-left-radius: 4px;
+}
+.pagination > li:last-child > a,
+.pagination > li:last-child > span {
+ border-top-right-radius: 4px;
+ border-bottom-right-radius: 4px;
+}
+.pagination > li > a:hover,
+.pagination > li > span:hover,
+.pagination > li > a:focus,
+.pagination > li > span:focus {
+ color: #23527c;
+ background-color: #eee;
+ border-color: #ddd;
+}
+.pagination > .active > a,
+.pagination > .active > span,
+.pagination > .active > a:hover,
+.pagination > .active > span:hover,
+.pagination > .active > a:focus,
+.pagination > .active > span:focus {
+ z-index: 2;
+ color: #fff;
+ cursor: default;
+ background-color: #337ab7;
+ border-color: #337ab7;
+}
+.pagination > .disabled > span,
+.pagination > .disabled > span:hover,
+.pagination > .disabled > span:focus,
+.pagination > .disabled > a,
+.pagination > .disabled > a:hover,
+.pagination > .disabled > a:focus {
+ color: #777;
+ cursor: not-allowed;
+ background-color: #fff;
+ border-color: #ddd;
+}
+.pagination-lg > li > a,
+.pagination-lg > li > span {
+ padding: 10px 16px;
+ font-size: 18px;
+}
+.pagination-lg > li:first-child > a,
+.pagination-lg > li:first-child > span {
+ border-top-left-radius: 6px;
+ border-bottom-left-radius: 6px;
+}
+.pagination-lg > li:last-child > a,
+.pagination-lg > li:last-child > span {
+ border-top-right-radius: 6px;
+ border-bottom-right-radius: 6px;
+}
+.pagination-sm > li > a,
+.pagination-sm > li > span {
+ padding: 5px 10px;
+ font-size: 12px;
+}
+.pagination-sm > li:first-child > a,
+.pagination-sm > li:first-child > span {
+ border-top-left-radius: 3px;
+ border-bottom-left-radius: 3px;
+}
+.pagination-sm > li:last-child > a,
+.pagination-sm > li:last-child > span {
+ border-top-right-radius: 3px;
+ border-bottom-right-radius: 3px;
+}
+.pager {
+ padding-left: 0;
+ margin: 20px 0;
+ text-align: center;
+ list-style: none;
+}
+.pager li {
+ display: inline;
+}
+.pager li > a,
+.pager li > span {
+ display: inline-block;
+ padding: 5px 14px;
+ background-color: #fff;
+ border: 1px solid #ddd;
+ border-radius: 15px;
+}
+.pager li > a:hover,
+.pager li > a:focus {
+ text-decoration: none;
+ background-color: #eee;
+}
+.pager .next > a,
+.pager .next > span {
+ float: right;
+}
+.pager .previous > a,
+.pager .previous > span {
+ float: left;
+}
+.pager .disabled > a,
+.pager .disabled > a:hover,
+.pager .disabled > a:focus,
+.pager .disabled > span {
+ color: #777;
+ cursor: not-allowed;
+ background-color: #fff;
+}
+.label {
+ display: inline;
+ padding: .2em .6em .3em;
+ font-size: 75%;
+ font-weight: bold;
+ line-height: 1;
+ color: #fff;
+ text-align: center;
+ white-space: nowrap;
+ vertical-align: baseline;
+ border-radius: .25em;
+}
+a.label:hover,
+a.label:focus {
+ color: #fff;
+ text-decoration: none;
+ cursor: pointer;
+}
+.label:empty {
+ display: none;
+}
+.btn .label {
+ position: relative;
+ top: -1px;
+}
+.label-default {
+ background-color: #777;
+}
+.label-default[href]:hover,
+.label-default[href]:focus {
+ background-color: #5e5e5e;
+}
+.label-primary {
+ background-color: #337ab7;
+}
+.label-primary[href]:hover,
+.label-primary[href]:focus {
+ background-color: #286090;
+}
+.label-success {
+ background-color: #5cb85c;
+}
+.label-success[href]:hover,
+.label-success[href]:focus {
+ background-color: #449d44;
+}
+.label-info {
+ background-color: #5bc0de;
+}
+.label-info[href]:hover,
+.label-info[href]:focus {
+ background-color: #31b0d5;
+}
+.label-warning {
+ background-color: #f0ad4e;
+}
+.label-warning[href]:hover,
+.label-warning[href]:focus {
+ background-color: #ec971f;
+}
+.label-danger {
+ background-color: #d9534f;
+}
+.label-danger[href]:hover,
+.label-danger[href]:focus {
+ background-color: #c9302c;
+}
+.badge {
+ display: inline-block;
+ min-width: 10px;
+ padding: 3px 7px;
+ font-size: 12px;
+ font-weight: bold;
+ line-height: 1;
+ color: #fff;
+ text-align: center;
+ white-space: nowrap;
+ vertical-align: baseline;
+ background-color: #777;
+ border-radius: 10px;
+}
+.badge:empty {
+ display: none;
+}
+.btn .badge {
+ position: relative;
+ top: -1px;
+}
+.btn-xs .badge {
+ top: 0;
+ padding: 1px 5px;
+}
+a.badge:hover,
+a.badge:focus {
+ color: #fff;
+ text-decoration: none;
+ cursor: pointer;
+}
+.list-group-item.active > .badge,
+.nav-pills > .active > a > .badge {
+ color: #337ab7;
+ background-color: #fff;
+}
+.list-group-item > .badge {
+ float: right;
+}
+.list-group-item > .badge + .badge {
+ margin-right: 5px;
+}
+.nav-pills > li > a > .badge {
+ margin-left: 3px;
+}
+.jumbotron {
+ padding: 30px 15px;
+ margin-bottom: 30px;
+ color: inherit;
+ background-color: #eee;
+}
+.jumbotron h1,
+.jumbotron .h1 {
+ color: inherit;
+}
+.jumbotron p {
+ margin-bottom: 15px;
+ font-size: 21px;
+ font-weight: 200;
+}
+.jumbotron > hr {
+ border-top-color: #d5d5d5;
+}
+.container .jumbotron,
+.container-fluid .jumbotron {
+ border-radius: 6px;
+}
+.jumbotron .container {
+ max-width: 100%;
+}
+@media screen and (min-width: 768px) {
+ .jumbotron {
+ padding: 48px 0;
+ }
+ .container .jumbotron,
+ .container-fluid .jumbotron {
+ padding-right: 60px;
+ padding-left: 60px;
+ }
+ .jumbotron h1,
+ .jumbotron .h1 {
+ font-size: 63px;
+ }
+}
+.thumbnail {
+ display: block;
+ padding: 4px;
+ margin-bottom: 20px;
+ line-height: 1.42857143;
+ background-color: #fff;
+ border: 1px solid #ddd;
+ border-radius: 4px;
+ -webkit-transition: border .2s ease-in-out;
+ -o-transition: border .2s ease-in-out;
+ transition: border .2s ease-in-out;
+}
+.thumbnail > img,
+.thumbnail a > img {
+ margin-right: auto;
+ margin-left: auto;
+}
+a.thumbnail:hover,
+a.thumbnail:focus,
+a.thumbnail.active {
+ border-color: #337ab7;
+}
+.thumbnail .caption {
+ padding: 9px;
+ color: #333;
+}
+.alert {
+ padding: 15px;
+ margin-bottom: 20px;
+ border: 1px solid transparent;
+ border-radius: 4px;
+}
+.alert h4 {
+ margin-top: 0;
+ color: inherit;
+}
+.alert .alert-link {
+ font-weight: bold;
+}
+.alert > p,
+.alert > ul {
+ margin-bottom: 0;
+}
+.alert > p + p {
+ margin-top: 5px;
+}
+.alert-dismissable,
+.alert-dismissible {
+ padding-right: 35px;
+}
+.alert-dismissable .close,
+.alert-dismissible .close {
+ position: relative;
+ top: -2px;
+ right: -21px;
+ color: inherit;
+}
+.alert-success {
+ color: #3c763d;
+ background-color: #dff0d8;
+ border-color: #d6e9c6;
+}
+.alert-success hr {
+ border-top-color: #c9e2b3;
+}
+.alert-success .alert-link {
+ color: #2b542c;
+}
+.alert-info {
+ color: #31708f;
+ background-color: #d9edf7;
+ border-color: #bce8f1;
+}
+.alert-info hr {
+ border-top-color: #a6e1ec;
+}
+.alert-info .alert-link {
+ color: #245269;
+}
+.alert-warning {
+ color: #8a6d3b;
+ background-color: #fcf8e3;
+ border-color: #faebcc;
+}
+.alert-warning hr {
+ border-top-color: #f7e1b5;
+}
+.alert-warning .alert-link {
+ color: #66512c;
+}
+.alert-danger {
+ color: #a94442;
+ background-color: #f2dede;
+ border-color: #ebccd1;
+}
+.alert-danger hr {
+ border-top-color: #e4b9c0;
+}
+.alert-danger .alert-link {
+ color: #843534;
+}
+@-webkit-keyframes progress-bar-stripes {
+ from {
+ background-position: 40px 0;
+ }
+ to {
+ background-position: 0 0;
+ }
+}
+@-o-keyframes progress-bar-stripes {
+ from {
+ background-position: 40px 0;
+ }
+ to {
+ background-position: 0 0;
+ }
+}
+@keyframes progress-bar-stripes {
+ from {
+ background-position: 40px 0;
+ }
+ to {
+ background-position: 0 0;
+ }
+}
+.progress {
+ height: 20px;
+ margin-bottom: 20px;
+ overflow: hidden;
+ background-color: #f5f5f5;
+ border-radius: 4px;
+ -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
+ box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
+}
+.progress-bar {
+ float: left;
+ width: 0;
+ height: 100%;
+ font-size: 12px;
+ line-height: 20px;
+ color: #fff;
+ text-align: center;
+ background-color: #337ab7;
+ -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
+ box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
+ -webkit-transition: width .6s ease;
+ -o-transition: width .6s ease;
+ transition: width .6s ease;
+}
+.progress-striped .progress-bar,
+.progress-bar-striped {
+ background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
+ background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
+ background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
+ -webkit-background-size: 40px 40px;
+ background-size: 40px 40px;
+}
+.progress.active .progress-bar,
+.progress-bar.active {
+ -webkit-animation: progress-bar-stripes 2s linear infinite;
+ -o-animation: progress-bar-stripes 2s linear infinite;
+ animation: progress-bar-stripes 2s linear infinite;
+}
+.progress-bar-success {
+ background-color: #5cb85c;
+}
+.progress-striped .progress-bar-success {
+ background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
+ background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
+ background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
+}
+.progress-bar-info {
+ background-color: #5bc0de;
+}
+.progress-striped .progress-bar-info {
+ background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
+ background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
+ background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
+}
+.progress-bar-warning {
+ background-color: #f0ad4e;
+}
+.progress-striped .progress-bar-warning {
+ background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
+ background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
+ background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
+}
+.progress-bar-danger {
+ background-color: #d9534f;
+}
+.progress-striped .progress-bar-danger {
+ background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
+ background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
+ background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
+}
+.media {
+ margin-top: 15px;
+}
+.media:first-child {
+ margin-top: 0;
+}
+.media,
+.media-body {
+ overflow: hidden;
+ zoom: 1;
+}
+.media-body {
+ width: 10000px;
+}
+.media-object {
+ display: block;
+}
+.media-right,
+.media > .pull-right {
+ padding-left: 10px;
+}
+.media-left,
+.media > .pull-left {
+ padding-right: 10px;
+}
+.media-left,
+.media-right,
+.media-body {
+ display: table-cell;
+ vertical-align: top;
+}
+.media-middle {
+ vertical-align: middle;
+}
+.media-bottom {
+ vertical-align: bottom;
+}
+.media-heading {
+ margin-top: 0;
+ margin-bottom: 5px;
+}
+.media-list {
+ padding-left: 0;
+ list-style: none;
+}
+.list-group {
+ padding-left: 0;
+ margin-bottom: 20px;
+}
+.list-group-item {
+ position: relative;
+ display: block;
+ padding: 10px 15px;
+ margin-bottom: -1px;
+ background-color: #fff;
+ border: 1px solid #ddd;
+}
+.list-group-item:first-child {
+ border-top-left-radius: 4px;
+ border-top-right-radius: 4px;
+}
+.list-group-item:last-child {
+ margin-bottom: 0;
+ border-bottom-right-radius: 4px;
+ border-bottom-left-radius: 4px;
+}
+a.list-group-item {
+ color: #555;
+}
+a.list-group-item .list-group-item-heading {
+ color: #333;
+}
+a.list-group-item:hover,
+a.list-group-item:focus {
+ color: #555;
+ text-decoration: none;
+ background-color: #f5f5f5;
+}
+.list-group-item.disabled,
+.list-group-item.disabled:hover,
+.list-group-item.disabled:focus {
+ color: #777;
+ cursor: not-allowed;
+ background-color: #eee;
+}
+.list-group-item.disabled .list-group-item-heading,
+.list-group-item.disabled:hover .list-group-item-heading,
+.list-group-item.disabled:focus .list-group-item-heading {
+ color: inherit;
+}
+.list-group-item.disabled .list-group-item-text,
+.list-group-item.disabled:hover .list-group-item-text,
+.list-group-item.disabled:focus .list-group-item-text {
+ color: #777;
+}
+.list-group-item.active,
+.list-group-item.active:hover,
+.list-group-item.active:focus {
+ z-index: 2;
+ color: #fff;
+ background-color: #337ab7;
+ border-color: #337ab7;
+}
+.list-group-item.active .list-group-item-heading,
+.list-group-item.active:hover .list-group-item-heading,
+.list-group-item.active:focus .list-group-item-heading,
+.list-group-item.active .list-group-item-heading > small,
+.list-group-item.active:hover .list-group-item-heading > small,
+.list-group-item.active:focus .list-group-item-heading > small,
+.list-group-item.active .list-group-item-heading > .small,
+.list-group-item.active:hover .list-group-item-heading > .small,
+.list-group-item.active:focus .list-group-item-heading > .small {
+ color: inherit;
+}
+.list-group-item.active .list-group-item-text,
+.list-group-item.active:hover .list-group-item-text,
+.list-group-item.active:focus .list-group-item-text {
+ color: #c7ddef;
+}
+.list-group-item-success {
+ color: #3c763d;
+ background-color: #dff0d8;
+}
+a.list-group-item-success {
+ color: #3c763d;
+}
+a.list-group-item-success .list-group-item-heading {
+ color: inherit;
+}
+a.list-group-item-success:hover,
+a.list-group-item-success:focus {
+ color: #3c763d;
+ background-color: #d0e9c6;
+}
+a.list-group-item-success.active,
+a.list-group-item-success.active:hover,
+a.list-group-item-success.active:focus {
+ color: #fff;
+ background-color: #3c763d;
+ border-color: #3c763d;
+}
+.list-group-item-info {
+ color: #31708f;
+ background-color: #d9edf7;
+}
+a.list-group-item-info {
+ color: #31708f;
+}
+a.list-group-item-info .list-group-item-heading {
+ color: inherit;
+}
+a.list-group-item-info:hover,
+a.list-group-item-info:focus {
+ color: #31708f;
+ background-color: #c4e3f3;
+}
+a.list-group-item-info.active,
+a.list-group-item-info.active:hover,
+a.list-group-item-info.active:focus {
+ color: #fff;
+ background-color: #31708f;
+ border-color: #31708f;
+}
+.list-group-item-warning {
+ color: #8a6d3b;
+ background-color: #fcf8e3;
+}
+a.list-group-item-warning {
+ color: #8a6d3b;
+}
+a.list-group-item-warning .list-group-item-heading {
+ color: inherit;
+}
+a.list-group-item-warning:hover,
+a.list-group-item-warning:focus {
+ color: #8a6d3b;
+ background-color: #faf2cc;
+}
+a.list-group-item-warning.active,
+a.list-group-item-warning.active:hover,
+a.list-group-item-warning.active:focus {
+ color: #fff;
+ background-color: #8a6d3b;
+ border-color: #8a6d3b;
+}
+.list-group-item-danger {
+ color: #a94442;
+ background-color: #f2dede;
+}
+a.list-group-item-danger {
+ color: #a94442;
+}
+a.list-group-item-danger .list-group-item-heading {
+ color: inherit;
+}
+a.list-group-item-danger:hover,
+a.list-group-item-danger:focus {
+ color: #a94442;
+ background-color: #ebcccc;
+}
+a.list-group-item-danger.active,
+a.list-group-item-danger.active:hover,
+a.list-group-item-danger.active:focus {
+ color: #fff;
+ background-color: #a94442;
+ border-color: #a94442;
+}
+.list-group-item-heading {
+ margin-top: 0;
+ margin-bottom: 5px;
+}
+.list-group-item-text {
+ margin-bottom: 0;
+ line-height: 1.3;
+}
+.panel {
+ margin-bottom: 20px;
+ background-color: #fff;
+ border: 1px solid transparent;
+ border-radius: 4px;
+ -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
+ box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
+}
+.panel-body {
+ padding: 15px;
+}
+.panel-heading {
+ padding: 10px 15px;
+ border-bottom: 1px solid transparent;
+ border-top-left-radius: 3px;
+ border-top-right-radius: 3px;
+}
+.panel-heading > .dropdown .dropdown-toggle {
+ color: inherit;
+}
+.panel-title {
+ margin-top: 0;
+ margin-bottom: 0;
+ font-size: 16px;
+ color: inherit;
+}
+.panel-title > a,
+.panel-title > small,
+.panel-title > .small,
+.panel-title > small > a,
+.panel-title > .small > a {
+ color: inherit;
+}
+.panel-footer {
+ padding: 10px 15px;
+ background-color: #f5f5f5;
+ border-top: 1px solid #ddd;
+ border-bottom-right-radius: 3px;
+ border-bottom-left-radius: 3px;
+}
+.panel > .list-group,
+.panel > .panel-collapse > .list-group {
+ margin-bottom: 0;
+}
+.panel > .list-group .list-group-item,
+.panel > .panel-collapse > .list-group .list-group-item {
+ border-width: 1px 0;
+ border-radius: 0;
+}
+.panel > .list-group:first-child .list-group-item:first-child,
+.panel > .panel-collapse > .list-group:first-child .list-group-item:first-child {
+ border-top: 0;
+ border-top-left-radius: 3px;
+ border-top-right-radius: 3px;
+}
+.panel > .list-group:last-child .list-group-item:last-child,
+.panel > .panel-collapse > .list-group:last-child .list-group-item:last-child {
+ border-bottom: 0;
+ border-bottom-right-radius: 3px;
+ border-bottom-left-radius: 3px;
+}
+.panel-heading + .list-group .list-group-item:first-child {
+ border-top-width: 0;
+}
+.list-group + .panel-footer {
+ border-top-width: 0;
+}
+.panel > .table,
+.panel > .table-responsive > .table,
+.panel > .panel-collapse > .table {
+ margin-bottom: 0;
+}
+.panel > .table caption,
+.panel > .table-responsive > .table caption,
+.panel > .panel-collapse > .table caption {
+ padding-right: 15px;
+ padding-left: 15px;
+}
+.panel > .table:first-child,
+.panel > .table-responsive:first-child > .table:first-child {
+ border-top-left-radius: 3px;
+ border-top-right-radius: 3px;
+}
+.panel > .table:first-child > thead:first-child > tr:first-child,
+.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child,
+.panel > .table:first-child > tbody:first-child > tr:first-child,
+.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child {
+ border-top-left-radius: 3px;
+ border-top-right-radius: 3px;
+}
+.panel > .table:first-child > thead:first-child > tr:first-child td:first-child,
+.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child,
+.panel > .table:first-child > tbody:first-child > tr:first-child td:first-child,
+.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child,
+.panel > .table:first-child > thead:first-child > tr:first-child th:first-child,
+.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child,
+.panel > .table:first-child > tbody:first-child > tr:first-child th:first-child,
+.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child {
+ border-top-left-radius: 3px;
+}
+.panel > .table:first-child > thead:first-child > tr:first-child td:last-child,
+.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child,
+.panel > .table:first-child > tbody:first-child > tr:first-child td:last-child,
+.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child,
+.panel > .table:first-child > thead:first-child > tr:first-child th:last-child,
+.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child,
+.panel > .table:first-child > tbody:first-child > tr:first-child th:last-child,
+.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child {
+ border-top-right-radius: 3px;
+}
+.panel > .table:last-child,
+.panel > .table-responsive:last-child > .table:last-child {
+ border-bottom-right-radius: 3px;
+ border-bottom-left-radius: 3px;
+}
+.panel > .table:last-child > tbody:last-child > tr:last-child,
+.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child,
+.panel > .table:last-child > tfoot:last-child > tr:last-child,
+.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child {
+ border-bottom-right-radius: 3px;
+ border-bottom-left-radius: 3px;
+}
+.panel > .table:last-child > tbody:last-child > tr:last-child td:first-child,
+.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child,
+.panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
+.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
+.panel > .table:last-child > tbody:last-child > tr:last-child th:first-child,
+.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child,
+.panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child,
+.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child {
+ border-bottom-left-radius: 3px;
+}
+.panel > .table:last-child > tbody:last-child > tr:last-child td:last-child,
+.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child,
+.panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
+.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
+.panel > .table:last-child > tbody:last-child > tr:last-child th:last-child,
+.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child,
+.panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child,
+.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child {
+ border-bottom-right-radius: 3px;
+}
+.panel > .panel-body + .table,
+.panel > .panel-body + .table-responsive,
+.panel > .table + .panel-body,
+.panel > .table-responsive + .panel-body {
+ border-top: 1px solid #ddd;
+}
+.panel > .table > tbody:first-child > tr:first-child th,
+.panel > .table > tbody:first-child > tr:first-child td {
+ border-top: 0;
+}
+.panel > .table-bordered,
+.panel > .table-responsive > .table-bordered {
+ border: 0;
+}
+.panel > .table-bordered > thead > tr > th:first-child,
+.panel > .table-responsive > .table-bordered > thead > tr > th:first-child,
+.panel > .table-bordered > tbody > tr > th:first-child,
+.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child,
+.panel > .table-bordered > tfoot > tr > th:first-child,
+.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child,
+.panel > .table-bordered > thead > tr > td:first-child,
+.panel > .table-responsive > .table-bordered > thead > tr > td:first-child,
+.panel > .table-bordered > tbody > tr > td:first-child,
+.panel > .table-responsive > .table-bordered > tbody > tr > td:first-child,
+.panel > .table-bordered > tfoot > tr > td:first-child,
+.panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child {
+ border-left: 0;
+}
+.panel > .table-bordered > thead > tr > th:last-child,
+.panel > .table-responsive > .table-bordered > thead > tr > th:last-child,
+.panel > .table-bordered > tbody > tr > th:last-child,
+.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child,
+.panel > .table-bordered > tfoot > tr > th:last-child,
+.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child,
+.panel > .table-bordered > thead > tr > td:last-child,
+.panel > .table-responsive > .table-bordered > thead > tr > td:last-child,
+.panel > .table-bordered > tbody > tr > td:last-child,
+.panel > .table-responsive > .table-bordered > tbody > tr > td:last-child,
+.panel > .table-bordered > tfoot > tr > td:last-child,
+.panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child {
+ border-right: 0;
+}
+.panel > .table-bordered > thead > tr:first-child > td,
+.panel > .table-responsive > .table-bordered > thead > tr:first-child > td,
+.panel > .table-bordered > tbody > tr:first-child > td,
+.panel > .table-responsive > .table-bordered > tbody > tr:first-child > td,
+.panel > .table-bordered > thead > tr:first-child > th,
+.panel > .table-responsive > .table-bordered > thead > tr:first-child > th,
+.panel > .table-bordered > tbody > tr:first-child > th,
+.panel > .table-responsive > .table-bordered > tbody > tr:first-child > th {
+ border-bottom: 0;
+}
+.panel > .table-bordered > tbody > tr:last-child > td,
+.panel > .table-responsive > .table-bordered > tbody > tr:last-child > td,
+.panel > .table-bordered > tfoot > tr:last-child > td,
+.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td,
+.panel > .table-bordered > tbody > tr:last-child > th,
+.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th,
+.panel > .table-bordered > tfoot > tr:last-child > th,
+.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th {
+ border-bottom: 0;
+}
+.panel > .table-responsive {
+ margin-bottom: 0;
+ border: 0;
+}
+.panel-group {
+ margin-bottom: 20px;
+}
+.panel-group .panel {
+ margin-bottom: 0;
+ border-radius: 4px;
+}
+.panel-group .panel + .panel {
+ margin-top: 5px;
+}
+.panel-group .panel-heading {
+ border-bottom: 0;
+}
+.panel-group .panel-heading + .panel-collapse > .panel-body,
+.panel-group .panel-heading + .panel-collapse > .list-group {
+ border-top: 1px solid #ddd;
+}
+.panel-group .panel-footer {
+ border-top: 0;
+}
+.panel-group .panel-footer + .panel-collapse .panel-body {
+ border-bottom: 1px solid #ddd;
+}
+.panel-default {
+ border-color: #ddd;
+}
+.panel-default > .panel-heading {
+ color: #333;
+ background-color: #f5f5f5;
+ border-color: #ddd;
+}
+.panel-default > .panel-heading + .panel-collapse > .panel-body {
+ border-top-color: #ddd;
+}
+.panel-default > .panel-heading .badge {
+ color: #f5f5f5;
+ background-color: #333;
+}
+.panel-default > .panel-footer + .panel-collapse > .panel-body {
+ border-bottom-color: #ddd;
+}
+.panel-primary {
+ border-color: #337ab7;
+}
+.panel-primary > .panel-heading {
+ color: #fff;
+ background-color: #337ab7;
+ border-color: #337ab7;
+}
+.panel-primary > .panel-heading + .panel-collapse > .panel-body {
+ border-top-color: #337ab7;
+}
+.panel-primary > .panel-heading .badge {
+ color: #337ab7;
+ background-color: #fff;
+}
+.panel-primary > .panel-footer + .panel-collapse > .panel-body {
+ border-bottom-color: #337ab7;
+}
+.panel-success {
+ border-color: #d6e9c6;
+}
+.panel-success > .panel-heading {
+ color: #3c763d;
+ background-color: #dff0d8;
+ border-color: #d6e9c6;
+}
+.panel-success > .panel-heading + .panel-collapse > .panel-body {
+ border-top-color: #d6e9c6;
+}
+.panel-success > .panel-heading .badge {
+ color: #dff0d8;
+ background-color: #3c763d;
+}
+.panel-success > .panel-footer + .panel-collapse > .panel-body {
+ border-bottom-color: #d6e9c6;
+}
+.panel-info {
+ border-color: #bce8f1;
+}
+.panel-info > .panel-heading {
+ color: #31708f;
+ background-color: #d9edf7;
+ border-color: #bce8f1;
+}
+.panel-info > .panel-heading + .panel-collapse > .panel-body {
+ border-top-color: #bce8f1;
+}
+.panel-info > .panel-heading .badge {
+ color: #d9edf7;
+ background-color: #31708f;
+}
+.panel-info > .panel-footer + .panel-collapse > .panel-body {
+ border-bottom-color: #bce8f1;
+}
+.panel-warning {
+ border-color: #faebcc;
+}
+.panel-warning > .panel-heading {
+ color: #8a6d3b;
+ background-color: #fcf8e3;
+ border-color: #faebcc;
+}
+.panel-warning > .panel-heading + .panel-collapse > .panel-body {
+ border-top-color: #faebcc;
+}
+.panel-warning > .panel-heading .badge {
+ color: #fcf8e3;
+ background-color: #8a6d3b;
+}
+.panel-warning > .panel-footer + .panel-collapse > .panel-body {
+ border-bottom-color: #faebcc;
+}
+.panel-danger {
+ border-color: #ebccd1;
+}
+.panel-danger > .panel-heading {
+ color: #a94442;
+ background-color: #f2dede;
+ border-color: #ebccd1;
+}
+.panel-danger > .panel-heading + .panel-collapse > .panel-body {
+ border-top-color: #ebccd1;
+}
+.panel-danger > .panel-heading .badge {
+ color: #f2dede;
+ background-color: #a94442;
+}
+.panel-danger > .panel-footer + .panel-collapse > .panel-body {
+ border-bottom-color: #ebccd1;
+}
+.embed-responsive {
+ position: relative;
+ display: block;
+ height: 0;
+ padding: 0;
+ overflow: hidden;
+}
+.embed-responsive .embed-responsive-item,
+.embed-responsive iframe,
+.embed-responsive embed,
+.embed-responsive object,
+.embed-responsive video {
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ border: 0;
+}
+.embed-responsive.embed-responsive-16by9 {
+ padding-bottom: 56.25%;
+}
+.embed-responsive.embed-responsive-4by3 {
+ padding-bottom: 75%;
+}
+.well {
+ min-height: 20px;
+ padding: 19px;
+ margin-bottom: 20px;
+ background-color: #f5f5f5;
+ border: 1px solid #e3e3e3;
+ border-radius: 4px;
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
+}
+.well blockquote {
+ border-color: #ddd;
+ border-color: rgba(0, 0, 0, .15);
+}
+.well-lg {
+ padding: 24px;
+ border-radius: 6px;
+}
+.well-sm {
+ padding: 9px;
+ border-radius: 3px;
+}
+.close {
+ float: right;
+ font-size: 21px;
+ font-weight: bold;
+ line-height: 1;
+ color: #000;
+ text-shadow: 0 1px 0 #fff;
+ filter: alpha(opacity=20);
+ opacity: .2;
+}
+.close:hover,
+.close:focus {
+ color: #000;
+ text-decoration: none;
+ cursor: pointer;
+ filter: alpha(opacity=50);
+ opacity: .5;
+}
+button.close {
+ -webkit-appearance: none;
+ padding: 0;
+ cursor: pointer;
+ background: transparent;
+ border: 0;
+}
+.modal-open {
+ overflow: hidden;
+}
+.modal {
+ position: fixed;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ z-index: 1040;
+ display: none;
+ overflow: hidden;
+ -webkit-overflow-scrolling: touch;
+ outline: 0;
+}
+.modal.fade .modal-dialog {
+ -webkit-transition: -webkit-transform .3s ease-out;
+ -o-transition: -o-transform .3s ease-out;
+ transition: transform .3s ease-out;
+ -webkit-transform: translate(0, -25%);
+ -ms-transform: translate(0, -25%);
+ -o-transform: translate(0, -25%);
+ transform: translate(0, -25%);
+}
+.modal.in .modal-dialog {
+ -webkit-transform: translate(0, 0);
+ -ms-transform: translate(0, 0);
+ -o-transform: translate(0, 0);
+ transform: translate(0, 0);
+}
+.modal-open .modal {
+ overflow-x: hidden;
+ overflow-y: auto;
+}
+.modal-dialog {
+ position: relative;
+ width: auto;
+ margin: 10px;
+}
+.modal-content {
+ position: relative;
+ background-color: #fff;
+ -webkit-background-clip: padding-box;
+ background-clip: padding-box;
+ border: 1px solid #999;
+ border: 1px solid rgba(0, 0, 0, .2);
+ border-radius: 6px;
+ outline: 0;
+ -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
+ box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
+}
+.modal-backdrop {
+ position: absolute;
+ top: 0;
+ right: 0;
+ left: 0;
+ background-color: #000;
+}
+.modal-backdrop.fade {
+ filter: alpha(opacity=0);
+ opacity: 0;
+}
+.modal-backdrop.in {
+ filter: alpha(opacity=50);
+ opacity: .5;
+}
+.modal-header {
+ min-height: 16.42857143px;
+ padding: 15px;
+ border-bottom: 1px solid #e5e5e5;
+}
+.modal-header .close {
+ margin-top: -2px;
+}
+.modal-title {
+ margin: 0;
+ line-height: 1.42857143;
+}
+.modal-body {
+ position: relative;
+ padding: 15px;
+}
+.modal-footer {
+ padding: 15px;
+ text-align: right;
+ border-top: 1px solid #e5e5e5;
+}
+.modal-footer .btn + .btn {
+ margin-bottom: 0;
+ margin-left: 5px;
+}
+.modal-footer .btn-group .btn + .btn {
+ margin-left: -1px;
+}
+.modal-footer .btn-block + .btn-block {
+ margin-left: 0;
+}
+.modal-scrollbar-measure {
+ position: absolute;
+ top: -9999px;
+ width: 50px;
+ height: 50px;
+ overflow: scroll;
+}
+@media (min-width: 768px) {
+ .modal-dialog {
+ width: 600px;
+ margin: 30px auto;
+ }
+ .modal-content {
+ -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
+ box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
+ }
+ .modal-sm {
+ width: 300px;
+ }
+}
+@media (min-width: 992px) {
+ .modal-lg {
+ width: 900px;
+ }
+}
+.tooltip {
+ position: absolute;
+ z-index: 1070;
+ display: block;
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+ font-size: 12px;
+ font-weight: normal;
+ line-height: 1.4;
+ visibility: visible;
+ filter: alpha(opacity=0);
+ opacity: 0;
+}
+.tooltip.in {
+ filter: alpha(opacity=90);
+ opacity: .9;
+}
+.tooltip.top {
+ padding: 5px 0;
+ margin-top: -3px;
+}
+.tooltip.right {
+ padding: 0 5px;
+ margin-left: 3px;
+}
+.tooltip.bottom {
+ padding: 5px 0;
+ margin-top: 3px;
+}
+.tooltip.left {
+ padding: 0 5px;
+ margin-left: -3px;
+}
+.tooltip-inner {
+ max-width: 200px;
+ padding: 3px 8px;
+ color: #fff;
+ text-align: center;
+ text-decoration: none;
+ background-color: #000;
+ border-radius: 4px;
+}
+.tooltip-arrow {
+ position: absolute;
+ width: 0;
+ height: 0;
+ border-color: transparent;
+ border-style: solid;
+}
+.tooltip.top .tooltip-arrow {
+ bottom: 0;
+ left: 50%;
+ margin-left: -5px;
+ border-width: 5px 5px 0;
+ border-top-color: #000;
+}
+.tooltip.top-left .tooltip-arrow {
+ right: 5px;
+ bottom: 0;
+ margin-bottom: -5px;
+ border-width: 5px 5px 0;
+ border-top-color: #000;
+}
+.tooltip.top-right .tooltip-arrow {
+ bottom: 0;
+ left: 5px;
+ margin-bottom: -5px;
+ border-width: 5px 5px 0;
+ border-top-color: #000;
+}
+.tooltip.right .tooltip-arrow {
+ top: 50%;
+ left: 0;
+ margin-top: -5px;
+ border-width: 5px 5px 5px 0;
+ border-right-color: #000;
+}
+.tooltip.left .tooltip-arrow {
+ top: 50%;
+ right: 0;
+ margin-top: -5px;
+ border-width: 5px 0 5px 5px;
+ border-left-color: #000;
+}
+.tooltip.bottom .tooltip-arrow {
+ top: 0;
+ left: 50%;
+ margin-left: -5px;
+ border-width: 0 5px 5px;
+ border-bottom-color: #000;
+}
+.tooltip.bottom-left .tooltip-arrow {
+ top: 0;
+ right: 5px;
+ margin-top: -5px;
+ border-width: 0 5px 5px;
+ border-bottom-color: #000;
+}
+.tooltip.bottom-right .tooltip-arrow {
+ top: 0;
+ left: 5px;
+ margin-top: -5px;
+ border-width: 0 5px 5px;
+ border-bottom-color: #000;
+}
+.popover {
+ position: absolute;
+ top: 0;
+ left: 0;
+ z-index: 1060;
+ display: none;
+ max-width: 276px;
+ padding: 1px;
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+ font-size: 14px;
+ font-weight: normal;
+ line-height: 1.42857143;
+ text-align: left;
+ white-space: normal;
+ background-color: #fff;
+ -webkit-background-clip: padding-box;
+ background-clip: padding-box;
+ border: 1px solid #ccc;
+ border: 1px solid rgba(0, 0, 0, .2);
+ border-radius: 6px;
+ -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
+ box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
+}
+.popover.top {
+ margin-top: -10px;
+}
+.popover.right {
+ margin-left: 10px;
+}
+.popover.bottom {
+ margin-top: 10px;
+}
+.popover.left {
+ margin-left: -10px;
+}
+.popover-title {
+ padding: 8px 14px;
+ margin: 0;
+ font-size: 14px;
+ background-color: #f7f7f7;
+ border-bottom: 1px solid #ebebeb;
+ border-radius: 5px 5px 0 0;
+}
+.popover-content {
+ padding: 9px 14px;
+}
+.popover > .arrow,
+.popover > .arrow:after {
+ position: absolute;
+ display: block;
+ width: 0;
+ height: 0;
+ border-color: transparent;
+ border-style: solid;
+}
+.popover > .arrow {
+ border-width: 11px;
+}
+.popover > .arrow:after {
+ content: "";
+ border-width: 10px;
+}
+.popover.top > .arrow {
+ bottom: -11px;
+ left: 50%;
+ margin-left: -11px;
+ border-top-color: #999;
+ border-top-color: rgba(0, 0, 0, .25);
+ border-bottom-width: 0;
+}
+.popover.top > .arrow:after {
+ bottom: 1px;
+ margin-left: -10px;
+ content: " ";
+ border-top-color: #fff;
+ border-bottom-width: 0;
+}
+.popover.right > .arrow {
+ top: 50%;
+ left: -11px;
+ margin-top: -11px;
+ border-right-color: #999;
+ border-right-color: rgba(0, 0, 0, .25);
+ border-left-width: 0;
+}
+.popover.right > .arrow:after {
+ bottom: -10px;
+ left: 1px;
+ content: " ";
+ border-right-color: #fff;
+ border-left-width: 0;
+}
+.popover.bottom > .arrow {
+ top: -11px;
+ left: 50%;
+ margin-left: -11px;
+ border-top-width: 0;
+ border-bottom-color: #999;
+ border-bottom-color: rgba(0, 0, 0, .25);
+}
+.popover.bottom > .arrow:after {
+ top: 1px;
+ margin-left: -10px;
+ content: " ";
+ border-top-width: 0;
+ border-bottom-color: #fff;
+}
+.popover.left > .arrow {
+ top: 50%;
+ right: -11px;
+ margin-top: -11px;
+ border-right-width: 0;
+ border-left-color: #999;
+ border-left-color: rgba(0, 0, 0, .25);
+}
+.popover.left > .arrow:after {
+ right: 1px;
+ bottom: -10px;
+ content: " ";
+ border-right-width: 0;
+ border-left-color: #fff;
+}
+.carousel {
+ position: relative;
+}
+.carousel-inner {
+ position: relative;
+ width: 100%;
+ overflow: hidden;
+}
+.carousel-inner > .item {
+ position: relative;
+ display: none;
+ -webkit-transition: .6s ease-in-out left;
+ -o-transition: .6s ease-in-out left;
+ transition: .6s ease-in-out left;
+}
+.carousel-inner > .item > img,
+.carousel-inner > .item > a > img {
+ line-height: 1;
+}
+@media all and (transform-3d), (-webkit-transform-3d) {
+ .carousel-inner > .item {
+ -webkit-transition: -webkit-transform .6s ease-in-out;
+ -o-transition: -o-transform .6s ease-in-out;
+ transition: transform .6s ease-in-out;
+
+ -webkit-backface-visibility: hidden;
+ backface-visibility: hidden;
+ -webkit-perspective: 1000;
+ perspective: 1000;
+ }
+ .carousel-inner > .item.next,
+ .carousel-inner > .item.active.right {
+ left: 0;
+ -webkit-transform: translate3d(100%, 0, 0);
+ transform: translate3d(100%, 0, 0);
+ }
+ .carousel-inner > .item.prev,
+ .carousel-inner > .item.active.left {
+ left: 0;
+ -webkit-transform: translate3d(-100%, 0, 0);
+ transform: translate3d(-100%, 0, 0);
+ }
+ .carousel-inner > .item.next.left,
+ .carousel-inner > .item.prev.right,
+ .carousel-inner > .item.active {
+ left: 0;
+ -webkit-transform: translate3d(0, 0, 0);
+ transform: translate3d(0, 0, 0);
+ }
+}
+.carousel-inner > .active,
+.carousel-inner > .next,
+.carousel-inner > .prev {
+ display: block;
+}
+.carousel-inner > .active {
+ left: 0;
+}
+.carousel-inner > .next,
+.carousel-inner > .prev {
+ position: absolute;
+ top: 0;
+ width: 100%;
+}
+.carousel-inner > .next {
+ left: 100%;
+}
+.carousel-inner > .prev {
+ left: -100%;
+}
+.carousel-inner > .next.left,
+.carousel-inner > .prev.right {
+ left: 0;
+}
+.carousel-inner > .active.left {
+ left: -100%;
+}
+.carousel-inner > .active.right {
+ left: 100%;
+}
+.carousel-control {
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ left: 0;
+ width: 15%;
+ font-size: 20px;
+ color: #fff;
+ text-align: center;
+ text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
+ filter: alpha(opacity=50);
+ opacity: .5;
+}
+.carousel-control.left {
+ background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%);
+ background-image: -o-linear-gradient(left, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%);
+ background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .5)), to(rgba(0, 0, 0, .0001)));
+ background-image: linear-gradient(to right, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);
+ background-repeat: repeat-x;
+}
+.carousel-control.right {
+ right: 0;
+ left: auto;
+ background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%);
+ background-image: -o-linear-gradient(left, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%);
+ background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .0001)), to(rgba(0, 0, 0, .5)));
+ background-image: linear-gradient(to right, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);
+ background-repeat: repeat-x;
+}
+.carousel-control:hover,
+.carousel-control:focus {
+ color: #fff;
+ text-decoration: none;
+ filter: alpha(opacity=90);
+ outline: 0;
+ opacity: .9;
+}
+.carousel-control .icon-prev,
+.carousel-control .icon-next,
+.carousel-control .glyphicon-chevron-left,
+.carousel-control .glyphicon-chevron-right {
+ position: absolute;
+ top: 50%;
+ z-index: 5;
+ display: inline-block;
+}
+.carousel-control .icon-prev,
+.carousel-control .glyphicon-chevron-left {
+ left: 50%;
+ margin-left: -10px;
+}
+.carousel-control .icon-next,
+.carousel-control .glyphicon-chevron-right {
+ right: 50%;
+ margin-right: -10px;
+}
+.carousel-control .icon-prev,
+.carousel-control .icon-next {
+ width: 20px;
+ height: 20px;
+ margin-top: -10px;
+ font-family: serif;
+ line-height: 1;
+}
+.carousel-control .icon-prev:before {
+ content: '\2039';
+}
+.carousel-control .icon-next:before {
+ content: '\203a';
+}
+.carousel-indicators {
+ position: absolute;
+ bottom: 10px;
+ left: 50%;
+ z-index: 15;
+ width: 60%;
+ padding-left: 0;
+ margin-left: -30%;
+ text-align: center;
+ list-style: none;
+}
+.carousel-indicators li {
+ display: inline-block;
+ width: 10px;
+ height: 10px;
+ margin: 1px;
+ text-indent: -999px;
+ cursor: pointer;
+ background-color: #000 \9;
+ background-color: rgba(0, 0, 0, 0);
+ border: 1px solid #fff;
+ border-radius: 10px;
+}
+.carousel-indicators .active {
+ width: 12px;
+ height: 12px;
+ margin: 0;
+ background-color: #fff;
+}
+.carousel-caption {
+ position: absolute;
+ right: 15%;
+ bottom: 20px;
+ left: 15%;
+ z-index: 10;
+ padding-top: 20px;
+ padding-bottom: 20px;
+ color: #fff;
+ text-align: center;
+ text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
+}
+.carousel-caption .btn {
+ text-shadow: none;
+}
+@media screen and (min-width: 768px) {
+ .carousel-control .glyphicon-chevron-left,
+ .carousel-control .glyphicon-chevron-right,
+ .carousel-control .icon-prev,
+ .carousel-control .icon-next {
+ width: 30px;
+ height: 30px;
+ margin-top: -15px;
+ font-size: 30px;
+ }
+ .carousel-control .glyphicon-chevron-left,
+ .carousel-control .icon-prev {
+ margin-left: -15px;
+ }
+ .carousel-control .glyphicon-chevron-right,
+ .carousel-control .icon-next {
+ margin-right: -15px;
+ }
+ .carousel-caption {
+ right: 20%;
+ left: 20%;
+ padding-bottom: 30px;
+ }
+ .carousel-indicators {
+ bottom: 20px;
+ }
+}
+.clearfix:before,
+.clearfix:after,
+.dl-horizontal dd:before,
+.dl-horizontal dd:after,
+.container:before,
+.container:after,
+.container-fluid:before,
+.container-fluid:after,
+.row:before,
+.row:after,
+.form-horizontal .form-group:before,
+.form-horizontal .form-group:after,
+.btn-toolbar:before,
+.btn-toolbar:after,
+.btn-group-vertical > .btn-group:before,
+.btn-group-vertical > .btn-group:after,
+.nav:before,
+.nav:after,
+.navbar:before,
+.navbar:after,
+.navbar-header:before,
+.navbar-header:after,
+.navbar-collapse:before,
+.navbar-collapse:after,
+.pager:before,
+.pager:after,
+.panel-body:before,
+.panel-body:after,
+.modal-footer:before,
+.modal-footer:after {
+ display: table;
+ content: " ";
+}
+.clearfix:after,
+.dl-horizontal dd:after,
+.container:after,
+.container-fluid:after,
+.row:after,
+.form-horizontal .form-group:after,
+.btn-toolbar:after,
+.btn-group-vertical > .btn-group:after,
+.nav:after,
+.navbar:after,
+.navbar-header:after,
+.navbar-collapse:after,
+.pager:after,
+.panel-body:after,
+.modal-footer:after {
+ clear: both;
+}
+.center-block {
+ display: block;
+ margin-right: auto;
+ margin-left: auto;
+}
+.pull-right {
+ float: right !important;
+}
+.pull-left {
+ float: left !important;
+}
+.hide {
+ display: none !important;
+}
+.show {
+ display: block !important;
+}
+.invisible {
+ visibility: hidden;
+}
+.text-hide {
+ font: 0/0 a;
+ color: transparent;
+ text-shadow: none;
+ background-color: transparent;
+ border: 0;
+}
+.hidden {
+ display: none !important;
+ visibility: hidden !important;
+}
+.affix {
+ position: fixed;
+}
+@-ms-viewport {
+ width: device-width;
+}
+.visible-xs,
+.visible-sm,
+.visible-md,
+.visible-lg {
+ display: none !important;
+}
+.visible-xs-block,
+.visible-xs-inline,
+.visible-xs-inline-block,
+.visible-sm-block,
+.visible-sm-inline,
+.visible-sm-inline-block,
+.visible-md-block,
+.visible-md-inline,
+.visible-md-inline-block,
+.visible-lg-block,
+.visible-lg-inline,
+.visible-lg-inline-block {
+ display: none !important;
+}
+@media (max-width: 767px) {
+ .visible-xs {
+ display: block !important;
+ }
+ table.visible-xs {
+ display: table;
+ }
+ tr.visible-xs {
+ display: table-row !important;
+ }
+ th.visible-xs,
+ td.visible-xs {
+ display: table-cell !important;
+ }
+}
+@media (max-width: 767px) {
+ .visible-xs-block {
+ display: block !important;
+ }
+}
+@media (max-width: 767px) {
+ .visible-xs-inline {
+ display: inline !important;
+ }
+}
+@media (max-width: 767px) {
+ .visible-xs-inline-block {
+ display: inline-block !important;
+ }
+}
+@media (min-width: 768px) and (max-width: 991px) {
+ .visible-sm {
+ display: block !important;
+ }
+ table.visible-sm {
+ display: table;
+ }
+ tr.visible-sm {
+ display: table-row !important;
+ }
+ th.visible-sm,
+ td.visible-sm {
+ display: table-cell !important;
+ }
+}
+@media (min-width: 768px) and (max-width: 991px) {
+ .visible-sm-block {
+ display: block !important;
+ }
+}
+@media (min-width: 768px) and (max-width: 991px) {
+ .visible-sm-inline {
+ display: inline !important;
+ }
+}
+@media (min-width: 768px) and (max-width: 991px) {
+ .visible-sm-inline-block {
+ display: inline-block !important;
+ }
+}
+@media (min-width: 992px) and (max-width: 1199px) {
+ .visible-md {
+ display: block !important;
+ }
+ table.visible-md {
+ display: table;
+ }
+ tr.visible-md {
+ display: table-row !important;
+ }
+ th.visible-md,
+ td.visible-md {
+ display: table-cell !important;
+ }
+}
+@media (min-width: 992px) and (max-width: 1199px) {
+ .visible-md-block {
+ display: block !important;
+ }
+}
+@media (min-width: 992px) and (max-width: 1199px) {
+ .visible-md-inline {
+ display: inline !important;
+ }
+}
+@media (min-width: 992px) and (max-width: 1199px) {
+ .visible-md-inline-block {
+ display: inline-block !important;
+ }
+}
+@media (min-width: 1200px) {
+ .visible-lg {
+ display: block !important;
+ }
+ table.visible-lg {
+ display: table;
+ }
+ tr.visible-lg {
+ display: table-row !important;
+ }
+ th.visible-lg,
+ td.visible-lg {
+ display: table-cell !important;
+ }
+}
+@media (min-width: 1200px) {
+ .visible-lg-block {
+ display: block !important;
+ }
+}
+@media (min-width: 1200px) {
+ .visible-lg-inline {
+ display: inline !important;
+ }
+}
+@media (min-width: 1200px) {
+ .visible-lg-inline-block {
+ display: inline-block !important;
+ }
+}
+@media (max-width: 767px) {
+ .hidden-xs {
+ display: none !important;
+ }
+}
+@media (min-width: 768px) and (max-width: 991px) {
+ .hidden-sm {
+ display: none !important;
+ }
+}
+@media (min-width: 992px) and (max-width: 1199px) {
+ .hidden-md {
+ display: none !important;
+ }
+}
+@media (min-width: 1200px) {
+ .hidden-lg {
+ display: none !important;
+ }
+}
+.visible-print {
+ display: none !important;
+}
+@media print {
+ .visible-print {
+ display: block !important;
+ }
+ table.visible-print {
+ display: table;
+ }
+ tr.visible-print {
+ display: table-row !important;
+ }
+ th.visible-print,
+ td.visible-print {
+ display: table-cell !important;
+ }
+}
+.visible-print-block {
+ display: none !important;
+}
+@media print {
+ .visible-print-block {
+ display: block !important;
+ }
+}
+.visible-print-inline {
+ display: none !important;
+}
+@media print {
+ .visible-print-inline {
+ display: inline !important;
+ }
+}
+.visible-print-inline-block {
+ display: none !important;
+}
+@media print {
+ .visible-print-inline-block {
+ display: inline-block !important;
+ }
+}
+@media print {
+ .hidden-print {
+ display: none !important;
+ }
+}
+/*# sourceMappingURL=bootstrap.css.map */
diff --git a/public/vendor/bootstrap/css/bootstrap.css.map b/public/vendor/bootstrap/css/bootstrap.css.map
new file mode 100644
index 00000000..ff579ff5
--- /dev/null
+++ b/public/vendor/bootstrap/css/bootstrap.css.map
@@ -0,0 +1 @@
+{"version":3,"sources":["bootstrap.css","less/normalize.less","less/print.less","less/glyphicons.less","less/scaffolding.less","less/mixins/vendor-prefixes.less","less/mixins/tab-focus.less","less/mixins/image.less","less/type.less","less/mixins/text-emphasis.less","less/mixins/background-variant.less","less/mixins/text-overflow.less","less/code.less","less/grid.less","less/mixins/grid.less","less/mixins/grid-framework.less","less/tables.less","less/mixins/table-row.less","less/forms.less","less/mixins/forms.less","less/buttons.less","less/mixins/buttons.less","less/mixins/opacity.less","less/component-animations.less","less/dropdowns.less","less/mixins/nav-divider.less","less/mixins/reset-filter.less","less/button-groups.less","less/mixins/border-radius.less","less/input-groups.less","less/navs.less","less/navbar.less","less/mixins/nav-vertical-align.less","less/utilities.less","less/breadcrumbs.less","less/pagination.less","less/mixins/pagination.less","less/pager.less","less/labels.less","less/mixins/labels.less","less/badges.less","less/jumbotron.less","less/thumbnails.less","less/alerts.less","less/mixins/alerts.less","less/progress-bars.less","less/mixins/gradients.less","less/mixins/progress-bar.less","less/media.less","less/list-group.less","less/mixins/list-group.less","less/panels.less","less/mixins/panels.less","less/responsive-embed.less","less/wells.less","less/close.less","less/modals.less","less/tooltip.less","less/popovers.less","less/carousel.less","less/mixins/clearfix.less","less/mixins/center-block.less","less/mixins/hide-text.less","less/responsive-utilities.less","less/mixins/responsive-visibility.less"],"names":[],"mappings":"AAAA,6DAA4D;ACQ5D;EACE,yBAAA;EACA,4BAAA;EACA,gCAAA;EDND;ACaD;EACE,WAAA;EDXD;ACwBD;;;;;;;;;;;;;EAaE,gBAAA;EDtBD;AC8BD;;;;EAIE,uBAAA;EACA,0BAAA;ED5BD;ACoCD;EACE,eAAA;EACA,WAAA;EDlCD;AC0CD;;EAEE,eAAA;EDxCD;ACkDD;EACE,+BAAA;EDhDD;ACuDD;;EAEE,YAAA;EDrDD;AC+DD;EACE,2BAAA;ED7DD;ACoED;;EAEE,mBAAA;EDlED;ACyED;EACE,oBAAA;EDvED;AC+ED;EACE,gBAAA;EACA,kBAAA;ED7ED;ACoFD;EACE,kBAAA;EACA,aAAA;EDlFD;ACyFD;EACE,gBAAA;EDvFD;AC8FD;;EAEE,gBAAA;EACA,gBAAA;EACA,oBAAA;EACA,0BAAA;ED5FD;AC+FD;EACE,aAAA;ED7FD;ACgGD;EACE,iBAAA;ED9FD;ACwGD;EACE,WAAA;EDtGD;AC6GD;EACE,kBAAA;ED3GD;ACqHD;EACE,kBAAA;EDnHD;AC0HD;EACE,8BAAA;EACA,iCAAA;UAAA,yBAAA;EACA,WAAA;EDxHD;AC+HD;EACE,gBAAA;ED7HD;ACoID;;;;EAIE,mCAAA;EACA,gBAAA;EDlID;ACoJD;;;;;EAKE,gBAAA;EACA,eAAA;EACA,WAAA;EDlJD;ACyJD;EACE,mBAAA;EDvJD;ACiKD;;EAEE,sBAAA;ED/JD;AC0KD;;;;EAIE,4BAAA;EACA,iBAAA;EDxKD;AC+KD;;EAEE,iBAAA;ED7KD;ACoLD;;EAEE,WAAA;EACA,YAAA;EDlLD;AC0LD;EACE,qBAAA;EDxLD;ACmMD;;EAEE,gCAAA;KAAA,6BAAA;UAAA,wBAAA;EACA,YAAA;EDjMD;AC0MD;;EAEE,cAAA;EDxMD;ACiND;EACE,+BAAA;EACA,8BAAA;EACA,iCAAA;EACA,yBAAA;ED/MD;ACwND;;EAEE,0BAAA;EDtND;AC6ND;EACE,2BAAA;EACA,eAAA;EACA,gCAAA;ED3ND;ACmOD;EACE,WAAA;EACA,YAAA;EDjOD;ACwOD;EACE,gBAAA;EDtOD;AC8OD;EACE,mBAAA;ED5OD;ACsPD;EACE,2BAAA;EACA,mBAAA;EDpPD;ACuPD;;EAEE,YAAA;EDrPD;AACD,sFAAqF;AE1ErF;EAnGI;;;IAGI,oCAAA;IACA,wBAAA;IACA,qCAAA;YAAA,6BAAA;IACA,8BAAA;IFgLL;EE7KC;;IAEI,4BAAA;IF+KL;EE5KC;IACI,8BAAA;IF8KL;EE3KC;IACI,+BAAA;IF6KL;EExKC;;IAEI,aAAA;IF0KL;EEvKC;;IAEI,wBAAA;IACA,0BAAA;IFyKL;EEtKC;IACI,6BAAA;IFwKL;EErKC;;IAEI,0BAAA;IFuKL;EEpKC;IACI,4BAAA;IFsKL;EEnKC;;;IAGI,YAAA;IACA,WAAA;IFqKL;EElKC;;IAEI,yBAAA;IFoKL;EE7JC;IACI,6BAAA;IF+JL;EE3JC;IACI,eAAA;IF6JL;EE3JC;;IAGQ,mCAAA;IF4JT;EEzJC;IACI,wBAAA;IF2JL;EExJC;IACI,sCAAA;IF0JL;EE3JC;;IAKQ,mCAAA;IF0JT;EEvJC;;IAGQ,mCAAA;IFwJT;EACF;AGpPD;EACE,qCAAA;EACA,uDAAA;EACA,iYAAA;EHsPD;AG9OD;EACE,oBAAA;EACA,UAAA;EACA,uBAAA;EACA,qCAAA;EACA,oBAAA;EACA,qBAAA;EACA,gBAAA;EACA,qCAAA;EACA,oCAAA;EHgPD;AG5OmC;EAAW,gBAAA;EH+O9C;AG9OmC;EAAW,gBAAA;EHiP9C;AG/OmC;;EAAW,kBAAA;EHmP9C;AGlPmC;EAAW,kBAAA;EHqP9C;AGpPmC;EAAW,kBAAA;EHuP9C;AGtPmC;EAAW,kBAAA;EHyP9C;AGxPmC;EAAW,kBAAA;EH2P9C;AG1PmC;EAAW,kBAAA;EH6P9C;AG5PmC;EAAW,kBAAA;EH+P9C;AG9PmC;EAAW,kBAAA;EHiQ9C;AGhQmC;EAAW,kBAAA;EHmQ9C;AGlQmC;EAAW,kBAAA;EHqQ9C;AGpQmC;EAAW,kBAAA;EHuQ9C;AGtQmC;EAAW,kBAAA;EHyQ9C;AGxQmC;EAAW,kBAAA;EH2Q9C;AG1QmC;EAAW,kBAAA;EH6Q9C;AG5QmC;EAAW,kBAAA;EH+Q9C;AG9QmC;EAAW,kBAAA;EHiR9C;AGhRmC;EAAW,kBAAA;EHmR9C;AGlRmC;EAAW,kBAAA;EHqR9C;AGpRmC;EAAW,kBAAA;EHuR9C;AGtRmC;EAAW,kBAAA;EHyR9C;AGxRmC;EAAW,kBAAA;EH2R9C;AG1RmC;EAAW,kBAAA;EH6R9C;AG5RmC;EAAW,kBAAA;EH+R9C;AG9RmC;EAAW,kBAAA;EHiS9C;AGhSmC;EAAW,kBAAA;EHmS9C;AGlSmC;EAAW,kBAAA;EHqS9C;AGpSmC;EAAW,kBAAA;EHuS9C;AGtSmC;EAAW,kBAAA;EHyS9C;AGxSmC;EAAW,kBAAA;EH2S9C;AG1SmC;EAAW,kBAAA;EH6S9C;AG5SmC;EAAW,kBAAA;EH+S9C;AG9SmC;EAAW,kBAAA;EHiT9C;AGhTmC;EAAW,kBAAA;EHmT9C;AGlTmC;EAAW,kBAAA;EHqT9C;AGpTmC;EAAW,kBAAA;EHuT9C;AGtTmC;EAAW,kBAAA;EHyT9C;AGxTmC;EAAW,kBAAA;EH2T9C;AG1TmC;EAAW,kBAAA;EH6T9C;AG5TmC;EAAW,kBAAA;EH+T9C;AG9TmC;EAAW,kBAAA;EHiU9C;AGhUmC;EAAW,kBAAA;EHmU9C;AGlUmC;EAAW,kBAAA;EHqU9C;AGpUmC;EAAW,kBAAA;EHuU9C;AGtUmC;EAAW,kBAAA;EHyU9C;AGxUmC;EAAW,kBAAA;EH2U9C;AG1UmC;EAAW,kBAAA;EH6U9C;AG5UmC;EAAW,kBAAA;EH+U9C;AG9UmC;EAAW,kBAAA;EHiV9C;AGhVmC;EAAW,kBAAA;EHmV9C;AGlVmC;EAAW,kBAAA;EHqV9C;AGpVmC;EAAW,kBAAA;EHuV9C;AGtVmC;EAAW,kBAAA;EHyV9C;AGxVmC;EAAW,kBAAA;EH2V9C;AG1VmC;EAAW,kBAAA;EH6V9C;AG5VmC;EAAW,kBAAA;EH+V9C;AG9VmC;EAAW,kBAAA;EHiW9C;AGhWmC;EAAW,kBAAA;EHmW9C;AGlWmC;EAAW,kBAAA;EHqW9C;AGpWmC;EAAW,kBAAA;EHuW9C;AGtWmC;EAAW,kBAAA;EHyW9C;AGxWmC;EAAW,kBAAA;EH2W9C;AG1WmC;EAAW,kBAAA;EH6W9C;AG5WmC;EAAW,kBAAA;EH+W9C;AG9WmC;EAAW,kBAAA;EHiX9C;AGhXmC;EAAW,kBAAA;EHmX9C;AGlXmC;EAAW,kBAAA;EHqX9C;AGpXmC;EAAW,kBAAA;EHuX9C;AGtXmC;EAAW,kBAAA;EHyX9C;AGxXmC;EAAW,kBAAA;EH2X9C;AG1XmC;EAAW,kBAAA;EH6X9C;AG5XmC;EAAW,kBAAA;EH+X9C;AG9XmC;EAAW,kBAAA;EHiY9C;AGhYmC;EAAW,kBAAA;EHmY9C;AGlYmC;EAAW,kBAAA;EHqY9C;AGpYmC;EAAW,kBAAA;EHuY9C;AGtYmC;EAAW,kBAAA;EHyY9C;AGxYmC;EAAW,kBAAA;EH2Y9C;AG1YmC;EAAW,kBAAA;EH6Y9C;AG5YmC;EAAW,kBAAA;EH+Y9C;AG9YmC;EAAW,kBAAA;EHiZ9C;AGhZmC;EAAW,kBAAA;EHmZ9C;AGlZmC;EAAW,kBAAA;EHqZ9C;AGpZmC;EAAW,kBAAA;EHuZ9C;AGtZmC;EAAW,kBAAA;EHyZ9C;AGxZmC;EAAW,kBAAA;EH2Z9C;AG1ZmC;EAAW,kBAAA;EH6Z9C;AG5ZmC;EAAW,kBAAA;EH+Z9C;AG9ZmC;EAAW,kBAAA;EHia9C;AGhamC;EAAW,kBAAA;EHma9C;AGlamC;EAAW,kBAAA;EHqa9C;AGpamC;EAAW,kBAAA;EHua9C;AGtamC;EAAW,kBAAA;EHya9C;AGxamC;EAAW,kBAAA;EH2a9C;AG1amC;EAAW,kBAAA;EH6a9C;AG5amC;EAAW,kBAAA;EH+a9C;AG9amC;EAAW,kBAAA;EHib9C;AGhbmC;EAAW,kBAAA;EHmb9C;AGlbmC;EAAW,kBAAA;EHqb9C;AGpbmC;EAAW,kBAAA;EHub9C;AGtbmC;EAAW,kBAAA;EHyb9C;AGxbmC;EAAW,kBAAA;EH2b9C;AG1bmC;EAAW,kBAAA;EH6b9C;AG5bmC;EAAW,kBAAA;EH+b9C;AG9bmC;EAAW,kBAAA;EHic9C;AGhcmC;EAAW,kBAAA;EHmc9C;AGlcmC;EAAW,kBAAA;EHqc9C;AGpcmC;EAAW,kBAAA;EHuc9C;AGtcmC;EAAW,kBAAA;EHyc9C;AGxcmC;EAAW,kBAAA;EH2c9C;AG1cmC;EAAW,kBAAA;EH6c9C;AG5cmC;EAAW,kBAAA;EH+c9C;AG9cmC;EAAW,kBAAA;EHid9C;AGhdmC;EAAW,kBAAA;EHmd9C;AGldmC;EAAW,kBAAA;EHqd9C;AGpdmC;EAAW,kBAAA;EHud9C;AGtdmC;EAAW,kBAAA;EHyd9C;AGxdmC;EAAW,kBAAA;EH2d9C;AG1dmC;EAAW,kBAAA;EH6d9C;AG5dmC;EAAW,kBAAA;EH+d9C;AG9dmC;EAAW,kBAAA;EHie9C;AGhemC;EAAW,kBAAA;EHme9C;AGlemC;EAAW,kBAAA;EHqe9C;AGpemC;EAAW,kBAAA;EHue9C;AGtemC;EAAW,kBAAA;EHye9C;AGxemC;EAAW,kBAAA;EH2e9C;AG1emC;EAAW,kBAAA;EH6e9C;AG5emC;EAAW,kBAAA;EH+e9C;AG9emC;EAAW,kBAAA;EHif9C;AGhfmC;EAAW,kBAAA;EHmf9C;AGlfmC;EAAW,kBAAA;EHqf9C;AGpfmC;EAAW,kBAAA;EHuf9C;AGtfmC;EAAW,kBAAA;EHyf9C;AGxfmC;EAAW,kBAAA;EH2f9C;AG1fmC;EAAW,kBAAA;EH6f9C;AG5fmC;EAAW,kBAAA;EH+f9C;AG9fmC;EAAW,kBAAA;EHigB9C;AGhgBmC;EAAW,kBAAA;EHmgB9C;AGlgBmC;EAAW,kBAAA;EHqgB9C;AGpgBmC;EAAW,kBAAA;EHugB9C;AGtgBmC;EAAW,kBAAA;EHygB9C;AGxgBmC;EAAW,kBAAA;EH2gB9C;AG1gBmC;EAAW,kBAAA;EH6gB9C;AG5gBmC;EAAW,kBAAA;EH+gB9C;AG9gBmC;EAAW,kBAAA;EHihB9C;AGhhBmC;EAAW,kBAAA;EHmhB9C;AGlhBmC;EAAW,kBAAA;EHqhB9C;AGphBmC;EAAW,kBAAA;EHuhB9C;AGthBmC;EAAW,kBAAA;EHyhB9C;AGxhBmC;EAAW,kBAAA;EH2hB9C;AG1hBmC;EAAW,kBAAA;EH6hB9C;AG5hBmC;EAAW,kBAAA;EH+hB9C;AG9hBmC;EAAW,kBAAA;EHiiB9C;AGhiBmC;EAAW,kBAAA;EHmiB9C;AGliBmC;EAAW,kBAAA;EHqiB9C;AGpiBmC;EAAW,kBAAA;EHuiB9C;AGtiBmC;EAAW,kBAAA;EHyiB9C;AGxiBmC;EAAW,kBAAA;EH2iB9C;AG1iBmC;EAAW,kBAAA;EH6iB9C;AG5iBmC;EAAW,kBAAA;EH+iB9C;AG9iBmC;EAAW,kBAAA;EHijB9C;AGhjBmC;EAAW,kBAAA;EHmjB9C;AGljBmC;EAAW,kBAAA;EHqjB9C;AGpjBmC;EAAW,kBAAA;EHujB9C;AGtjBmC;EAAW,kBAAA;EHyjB9C;AGxjBmC;EAAW,kBAAA;EH2jB9C;AG1jBmC;EAAW,kBAAA;EH6jB9C;AG5jBmC;EAAW,kBAAA;EH+jB9C;AG9jBmC;EAAW,kBAAA;EHikB9C;AGhkBmC;EAAW,kBAAA;EHmkB9C;AGlkBmC;EAAW,kBAAA;EHqkB9C;AGpkBmC;EAAW,kBAAA;EHukB9C;AGtkBmC;EAAW,kBAAA;EHykB9C;AGxkBmC;EAAW,kBAAA;EH2kB9C;AG1kBmC;EAAW,kBAAA;EH6kB9C;AG5kBmC;EAAW,kBAAA;EH+kB9C;AG9kBmC;EAAW,kBAAA;EHilB9C;AGhlBmC;EAAW,kBAAA;EHmlB9C;AGllBmC;EAAW,kBAAA;EHqlB9C;AGplBmC;EAAW,kBAAA;EHulB9C;AGtlBmC;EAAW,kBAAA;EHylB9C;AGxlBmC;EAAW,kBAAA;EH2lB9C;AG1lBmC;EAAW,kBAAA;EH6lB9C;AG5lBmC;EAAW,kBAAA;EH+lB9C;AG9lBmC;EAAW,kBAAA;EHimB9C;AGhmBmC;EAAW,kBAAA;EHmmB9C;AGlmBmC;EAAW,kBAAA;EHqmB9C;AGpmBmC;EAAW,kBAAA;EHumB9C;AGtmBmC;EAAW,kBAAA;EHymB9C;AGxmBmC;EAAW,kBAAA;EH2mB9C;AG1mBmC;EAAW,kBAAA;EH6mB9C;AG5mBmC;EAAW,kBAAA;EH+mB9C;AG9mBmC;EAAW,kBAAA;EHinB9C;AGhnBmC;EAAW,kBAAA;EHmnB9C;AGlnBmC;EAAW,kBAAA;EHqnB9C;AGpnBmC;EAAW,kBAAA;EHunB9C;AGtnBmC;EAAW,kBAAA;EHynB9C;AGxnBmC;EAAW,kBAAA;EH2nB9C;AG1nBmC;EAAW,kBAAA;EH6nB9C;AG5nBmC;EAAW,kBAAA;EH+nB9C;AG9nBmC;EAAW,kBAAA;EHioB9C;AGhoBmC;EAAW,kBAAA;EHmoB9C;AGloBmC;EAAW,kBAAA;EHqoB9C;AGpoBmC;EAAW,kBAAA;EHuoB9C;AGtoBmC;EAAW,kBAAA;EHyoB9C;AGhoBmC;EAAW,kBAAA;EHmoB9C;AGloBmC;EAAW,kBAAA;EHqoB9C;AGpoBmC;EAAW,kBAAA;EHuoB9C;AGtoBmC;EAAW,kBAAA;EHyoB9C;AGxoBmC;EAAW,kBAAA;EH2oB9C;AG1oBmC;EAAW,kBAAA;EH6oB9C;AG5oBmC;EAAW,kBAAA;EH+oB9C;AG9oBmC;EAAW,kBAAA;EHipB9C;AGhpBmC;EAAW,kBAAA;EHmpB9C;AGlpBmC;EAAW,kBAAA;EHqpB9C;AGppBmC;EAAW,kBAAA;EHupB9C;AGtpBmC;EAAW,kBAAA;EHypB9C;AGxpBmC;EAAW,kBAAA;EH2pB9C;AG1pBmC;EAAW,kBAAA;EH6pB9C;AG5pBmC;EAAW,kBAAA;EH+pB9C;AG9pBmC;EAAW,kBAAA;EHiqB9C;AGhqBmC;EAAW,kBAAA;EHmqB9C;AGlqBmC;EAAW,kBAAA;EHqqB9C;AGpqBmC;EAAW,kBAAA;EHuqB9C;AGtqBmC;EAAW,kBAAA;EHyqB9C;AGxqBmC;EAAW,kBAAA;EH2qB9C;AG1qBmC;EAAW,kBAAA;EH6qB9C;AG5qBmC;EAAW,kBAAA;EH+qB9C;AG9qBmC;EAAW,kBAAA;EHirB9C;AGhrBmC;EAAW,kBAAA;EHmrB9C;AGlrBmC;EAAW,kBAAA;EHqrB9C;AGprBmC;EAAW,kBAAA;EHurB9C;AGtrBmC;EAAW,kBAAA;EHyrB9C;AGxrBmC;EAAW,kBAAA;EH2rB9C;AG1rBmC;EAAW,kBAAA;EH6rB9C;AG5rBmC;EAAW,kBAAA;EH+rB9C;AG9rBmC;EAAW,kBAAA;EHisB9C;AGhsBmC;EAAW,kBAAA;EHmsB9C;AGlsBmC;EAAW,kBAAA;EHqsB9C;AGpsBmC;EAAW,kBAAA;EHusB9C;AGtsBmC;EAAW,kBAAA;EHysB9C;AGxsBmC;EAAW,kBAAA;EH2sB9C;AG1sBmC;EAAW,kBAAA;EH6sB9C;AG5sBmC;EAAW,kBAAA;EH+sB9C;AG9sBmC;EAAW,kBAAA;EHitB9C;AGhtBmC;EAAW,kBAAA;EHmtB9C;AGltBmC;EAAW,kBAAA;EHqtB9C;AGptBmC;EAAW,kBAAA;EHutB9C;AGttBmC;EAAW,kBAAA;EHytB9C;AGxtBmC;EAAW,kBAAA;EH2tB9C;AG1tBmC;EAAW,kBAAA;EH6tB9C;AG5tBmC;EAAW,kBAAA;EH+tB9C;AG9tBmC;EAAW,kBAAA;EHiuB9C;AGhuBmC;EAAW,kBAAA;EHmuB9C;AGluBmC;EAAW,kBAAA;EHquB9C;AGpuBmC;EAAW,kBAAA;EHuuB9C;AGtuBmC;EAAW,kBAAA;EHyuB9C;AI3gCD;ECgEE,gCAAA;EACG,6BAAA;EACK,wBAAA;EL88BT;AI7gCD;;EC6DE,gCAAA;EACG,6BAAA;EACK,wBAAA;ELo9BT;AI3gCD;EACE,iBAAA;EACA,+CAAA;EJ6gCD;AI1gCD;EACE,6DAAA;EACA,iBAAA;EACA,yBAAA;EACA,gBAAA;EACA,2BAAA;EJ4gCD;AIxgCD;;;;EAIE,sBAAA;EACA,oBAAA;EACA,sBAAA;EJ0gCD;AIpgCD;EACE,gBAAA;EACA,uBAAA;EJsgCD;AIpgCC;;EAEE,gBAAA;EACA,4BAAA;EJsgCH;AIngCC;EErDA,sBAAA;EAEA,4CAAA;EACA,sBAAA;EN0jCD;AI7/BD;EACE,WAAA;EJ+/BD;AIz/BD;EACE,wBAAA;EJ2/BD;AIv/BD;;;;;EGvEE,gBAAA;EACA,iBAAA;EACA,cAAA;EPqkCD;AI3/BD;EACE,oBAAA;EJ6/BD;AIv/BD;EACE,cAAA;EACA,yBAAA;EACA,2BAAA;EACA,2BAAA;EACA,oBAAA;EC6FA,0CAAA;EACK,qCAAA;EACG,kCAAA;EEvLR,uBAAA;EACA,iBAAA;EACA,cAAA;EPqlCD;AIv/BD;EACE,oBAAA;EJy/BD;AIn/BD;EACE,kBAAA;EACA,qBAAA;EACA,WAAA;EACA,+BAAA;EJq/BD;AI7+BD;EACE,oBAAA;EACA,YAAA;EACA,aAAA;EACA,cAAA;EACA,YAAA;EACA,kBAAA;EACA,wBAAA;EACA,WAAA;EJ++BD;AIv+BC;;EAEE,kBAAA;EACA,aAAA;EACA,cAAA;EACA,WAAA;EACA,mBAAA;EACA,YAAA;EJy+BH;AQpnCD;;;;;;;;;;;;EAEE,sBAAA;EACA,kBAAA;EACA,kBAAA;EACA,gBAAA;ERgoCD;AQroCD;;;;;;;;;;;;;;;;;;;;;;;;EASI,qBAAA;EACA,gBAAA;EACA,gBAAA;ERspCH;AQlpCD;;;;;;EAGE,kBAAA;EACA,qBAAA;ERupCD;AQ3pCD;;;;;;;;;;;;EAQI,gBAAA;ERiqCH;AQ9pCD;;;;;;EAGE,kBAAA;EACA,qBAAA;ERmqCD;AQvqCD;;;;;;;;;;;;EAQI,gBAAA;ER6qCH;AQzqCD;;EAAU,iBAAA;ER6qCT;AQ5qCD;;EAAU,iBAAA;ERgrCT;AQ/qCD;;EAAU,iBAAA;ERmrCT;AQlrCD;;EAAU,iBAAA;ERsrCT;AQrrCD;;EAAU,iBAAA;ERyrCT;AQxrCD;;EAAU,iBAAA;ER4rCT;AQtrCD;EACE,kBAAA;ERwrCD;AQrrCD;EACE,qBAAA;EACA,iBAAA;EACA,kBAAA;EACA,kBAAA;ERurCD;AQlrCD;EAAA;IAFI,iBAAA;IRwrCD;EACF;AQhrCD;;EAEE,gBAAA;ERkrCD;AQ/qCD;;EAEE,2BAAA;EACA,eAAA;ERirCD;AQ7qCD;EAAuB,kBAAA;ERgrCtB;AQ/qCD;EAAuB,mBAAA;ERkrCtB;AQjrCD;EAAuB,oBAAA;ERorCtB;AQnrCD;EAAuB,qBAAA;ERsrCtB;AQrrCD;EAAuB,qBAAA;ERwrCtB;AQrrCD;EAAuB,2BAAA;ERwrCtB;AQvrCD;EAAuB,2BAAA;ER0rCtB;AQzrCD;EAAuB,4BAAA;ER4rCtB;AQzrCD;EACE,gBAAA;ER2rCD;AQzrCD;ECrGE,gBAAA;ETiyCD;AShyCC;EACE,gBAAA;ETkyCH;AQ5rCD;ECxGE,gBAAA;ETuyCD;AStyCC;EACE,gBAAA;ETwyCH;AQ/rCD;EC3GE,gBAAA;ET6yCD;AS5yCC;EACE,gBAAA;ET8yCH;AQlsCD;EC9GE,gBAAA;ETmzCD;ASlzCC;EACE,gBAAA;ETozCH;AQrsCD;ECjHE,gBAAA;ETyzCD;ASxzCC;EACE,gBAAA;ET0zCH;AQpsCD;EAGE,aAAA;EE3HA,2BAAA;EVg0CD;AU/zCC;EACE,2BAAA;EVi0CH;AQrsCD;EE9HE,2BAAA;EVs0CD;AUr0CC;EACE,2BAAA;EVu0CH;AQxsCD;EEjIE,2BAAA;EV40CD;AU30CC;EACE,2BAAA;EV60CH;AQ3sCD;EEpIE,2BAAA;EVk1CD;AUj1CC;EACE,2BAAA;EVm1CH;AQ9sCD;EEvIE,2BAAA;EVw1CD;AUv1CC;EACE,2BAAA;EVy1CH;AQ5sCD;EACE,qBAAA;EACA,qBAAA;EACA,kCAAA;ER8sCD;AQtsCD;;EAEE,eAAA;EACA,qBAAA;ERwsCD;AQ3sCD;;;;EAMI,kBAAA;ER2sCH;AQpsCD;EACE,iBAAA;EACA,kBAAA;ERssCD;AQlsCD;EALE,iBAAA;EACA,kBAAA;EAMA,mBAAA;ERqsCD;AQvsCD;EAKI,uBAAA;EACA,mBAAA;EACA,oBAAA;ERqsCH;AQhsCD;EACE,eAAA;EACA,qBAAA;ERksCD;AQhsCD;;EAEE,yBAAA;ERksCD;AQhsCD;EACE,mBAAA;ERksCD;AQhsCD;EACE,gBAAA;ERksCD;AQzqCD;EAAA;IAVM,aAAA;IACA,cAAA;IACA,aAAA;IACA,mBAAA;IGtNJ,kBAAA;IACA,yBAAA;IACA,qBAAA;IX84CC;EQnrCH;IAHM,oBAAA;IRyrCH;EACF;AQhrCD;;EAGE,cAAA;EACA,mCAAA;ERirCD;AQ/qCD;EACE,gBAAA;EACA,2BAAA;ERirCD;AQ7qCD;EACE,oBAAA;EACA,kBAAA;EACA,mBAAA;EACA,gCAAA;ER+qCD;AQ1qCG;;;EACE,kBAAA;ER8qCL;AQxrCD;;;EAmBI,gBAAA;EACA,gBAAA;EACA,yBAAA;EACA,gBAAA;ER0qCH;AQxqCG;;;EACE,wBAAA;ER4qCL;AQpqCD;;EAEE,qBAAA;EACA,iBAAA;EACA,iCAAA;EACA,gBAAA;EACA,mBAAA;ERsqCD;AQhqCG;;;;;;EAAW,aAAA;ERwqCd;AQvqCG;;;;;;EACE,wBAAA;ER8qCL;AQxqCD;EACE,qBAAA;EACA,oBAAA;EACA,yBAAA;ER0qCD;AYh9CD;;;;EAIE,gEAAA;EZk9CD;AY98CD;EACE,kBAAA;EACA,gBAAA;EACA,gBAAA;EACA,2BAAA;EACA,oBAAA;EZg9CD;AY58CD;EACE,kBAAA;EACA,gBAAA;EACA,gBAAA;EACA,2BAAA;EACA,oBAAA;EACA,wDAAA;UAAA,gDAAA;EZ88CD;AYp9CD;EASI,YAAA;EACA,iBAAA;EACA,mBAAA;EACA,0BAAA;UAAA,kBAAA;EZ88CH;AYz8CD;EACE,gBAAA;EACA,gBAAA;EACA,kBAAA;EACA,iBAAA;EACA,yBAAA;EACA,uBAAA;EACA,uBAAA;EACA,gBAAA;EACA,2BAAA;EACA,2BAAA;EACA,oBAAA;EZ28CD;AYt9CD;EAeI,YAAA;EACA,oBAAA;EACA,gBAAA;EACA,uBAAA;EACA,+BAAA;EACA,kBAAA;EZ08CH;AYr8CD;EACE,mBAAA;EACA,oBAAA;EZu8CD;AajgDD;ECHE,oBAAA;EACA,mBAAA;EACA,oBAAA;EACA,qBAAA;EdugDD;AajgDC;EAAA;IAFE,cAAA;IbugDD;EACF;AangDC;EAAA;IAFE,cAAA;IbygDD;EACF;AargDD;EAAA;IAFI,eAAA;Ib2gDD;EACF;AalgDD;ECvBE,oBAAA;EACA,mBAAA;EACA,oBAAA;EACA,qBAAA;Ed4hDD;Aa//CD;ECvBE,oBAAA;EACA,qBAAA;EdyhDD;AezhDG;EACE,oBAAA;EAEA,iBAAA;EAEA,oBAAA;EACA,qBAAA;EfyhDL;AezgDG;EACE,aAAA;Ef2gDL;AepgDC;EACE,aAAA;EfsgDH;AevgDC;EACE,qBAAA;EfygDH;Ae1gDC;EACE,qBAAA;Ef4gDH;Ae7gDC;EACE,YAAA;Ef+gDH;AehhDC;EACE,qBAAA;EfkhDH;AenhDC;EACE,qBAAA;EfqhDH;AethDC;EACE,YAAA;EfwhDH;AezhDC;EACE,qBAAA;Ef2hDH;Ae5hDC;EACE,qBAAA;Ef8hDH;Ae/hDC;EACE,YAAA;EfiiDH;AeliDC;EACE,qBAAA;EfoiDH;AeriDC;EACE,oBAAA;EfuiDH;AezhDC;EACE,aAAA;Ef2hDH;Ae5hDC;EACE,qBAAA;Ef8hDH;Ae/hDC;EACE,qBAAA;EfiiDH;AeliDC;EACE,YAAA;EfoiDH;AeriDC;EACE,qBAAA;EfuiDH;AexiDC;EACE,qBAAA;Ef0iDH;Ae3iDC;EACE,YAAA;Ef6iDH;Ae9iDC;EACE,qBAAA;EfgjDH;AejjDC;EACE,qBAAA;EfmjDH;AepjDC;EACE,YAAA;EfsjDH;AevjDC;EACE,qBAAA;EfyjDH;Ae1jDC;EACE,oBAAA;Ef4jDH;AexjDC;EACE,aAAA;Ef0jDH;Ae1kDC;EACE,YAAA;Ef4kDH;Ae7kDC;EACE,oBAAA;Ef+kDH;AehlDC;EACE,oBAAA;EfklDH;AenlDC;EACE,WAAA;EfqlDH;AetlDC;EACE,oBAAA;EfwlDH;AezlDC;EACE,oBAAA;Ef2lDH;Ae5lDC;EACE,WAAA;Ef8lDH;Ae/lDC;EACE,oBAAA;EfimDH;AelmDC;EACE,oBAAA;EfomDH;AermDC;EACE,WAAA;EfumDH;AexmDC;EACE,oBAAA;Ef0mDH;Ae3mDC;EACE,mBAAA;Ef6mDH;AezmDC;EACE,YAAA;Ef2mDH;Ae7lDC;EACE,mBAAA;Ef+lDH;AehmDC;EACE,2BAAA;EfkmDH;AenmDC;EACE,2BAAA;EfqmDH;AetmDC;EACE,kBAAA;EfwmDH;AezmDC;EACE,2BAAA;Ef2mDH;Ae5mDC;EACE,2BAAA;Ef8mDH;Ae/mDC;EACE,kBAAA;EfinDH;AelnDC;EACE,2BAAA;EfonDH;AernDC;EACE,2BAAA;EfunDH;AexnDC;EACE,kBAAA;Ef0nDH;Ae3nDC;EACE,2BAAA;Ef6nDH;Ae9nDC;EACE,0BAAA;EfgoDH;AejoDC;EACE,iBAAA;EfmoDH;AanoDD;EElCI;IACE,aAAA;IfwqDH;EejqDD;IACE,aAAA;IfmqDD;EepqDD;IACE,qBAAA;IfsqDD;EevqDD;IACE,qBAAA;IfyqDD;Ee1qDD;IACE,YAAA;If4qDD;Ee7qDD;IACE,qBAAA;If+qDD;EehrDD;IACE,qBAAA;IfkrDD;EenrDD;IACE,YAAA;IfqrDD;EetrDD;IACE,qBAAA;IfwrDD;EezrDD;IACE,qBAAA;If2rDD;Ee5rDD;IACE,YAAA;If8rDD;Ee/rDD;IACE,qBAAA;IfisDD;EelsDD;IACE,oBAAA;IfosDD;EetrDD;IACE,aAAA;IfwrDD;EezrDD;IACE,qBAAA;If2rDD;Ee5rDD;IACE,qBAAA;If8rDD;Ee/rDD;IACE,YAAA;IfisDD;EelsDD;IACE,qBAAA;IfosDD;EersDD;IACE,qBAAA;IfusDD;EexsDD;IACE,YAAA;If0sDD;Ee3sDD;IACE,qBAAA;If6sDD;Ee9sDD;IACE,qBAAA;IfgtDD;EejtDD;IACE,YAAA;IfmtDD;EeptDD;IACE,qBAAA;IfstDD;EevtDD;IACE,oBAAA;IfytDD;EertDD;IACE,aAAA;IfutDD;EevuDD;IACE,YAAA;IfyuDD;Ee1uDD;IACE,oBAAA;If4uDD;Ee7uDD;IACE,oBAAA;If+uDD;EehvDD;IACE,WAAA;IfkvDD;EenvDD;IACE,oBAAA;IfqvDD;EetvDD;IACE,oBAAA;IfwvDD;EezvDD;IACE,WAAA;If2vDD;Ee5vDD;IACE,oBAAA;If8vDD;Ee/vDD;IACE,oBAAA;IfiwDD;EelwDD;IACE,WAAA;IfowDD;EerwDD;IACE,oBAAA;IfuwDD;EexwDD;IACE,mBAAA;If0wDD;EetwDD;IACE,YAAA;IfwwDD;Ee1vDD;IACE,mBAAA;If4vDD;Ee7vDD;IACE,2BAAA;If+vDD;EehwDD;IACE,2BAAA;IfkwDD;EenwDD;IACE,kBAAA;IfqwDD;EetwDD;IACE,2BAAA;IfwwDD;EezwDD;IACE,2BAAA;If2wDD;Ee5wDD;IACE,kBAAA;If8wDD;Ee/wDD;IACE,2BAAA;IfixDD;EelxDD;IACE,2BAAA;IfoxDD;EerxDD;IACE,kBAAA;IfuxDD;EexxDD;IACE,2BAAA;If0xDD;Ee3xDD;IACE,0BAAA;If6xDD;Ee9xDD;IACE,iBAAA;IfgyDD;EACF;AaxxDD;EE3CI;IACE,aAAA;Ifs0DH;Ee/zDD;IACE,aAAA;Ifi0DD;Eel0DD;IACE,qBAAA;Ifo0DD;Eer0DD;IACE,qBAAA;Ifu0DD;Eex0DD;IACE,YAAA;If00DD;Ee30DD;IACE,qBAAA;If60DD;Ee90DD;IACE,qBAAA;Ifg1DD;Eej1DD;IACE,YAAA;Ifm1DD;Eep1DD;IACE,qBAAA;Ifs1DD;Eev1DD;IACE,qBAAA;Ify1DD;Ee11DD;IACE,YAAA;If41DD;Ee71DD;IACE,qBAAA;If+1DD;Eeh2DD;IACE,oBAAA;Ifk2DD;Eep1DD;IACE,aAAA;Ifs1DD;Eev1DD;IACE,qBAAA;Ify1DD;Ee11DD;IACE,qBAAA;If41DD;Ee71DD;IACE,YAAA;If+1DD;Eeh2DD;IACE,qBAAA;Ifk2DD;Een2DD;IACE,qBAAA;Ifq2DD;Eet2DD;IACE,YAAA;Ifw2DD;Eez2DD;IACE,qBAAA;If22DD;Ee52DD;IACE,qBAAA;If82DD;Ee/2DD;IACE,YAAA;Ifi3DD;Eel3DD;IACE,qBAAA;Ifo3DD;Eer3DD;IACE,oBAAA;Ifu3DD;Een3DD;IACE,aAAA;Ifq3DD;Eer4DD;IACE,YAAA;Ifu4DD;Eex4DD;IACE,oBAAA;If04DD;Ee34DD;IACE,oBAAA;If64DD;Ee94DD;IACE,WAAA;Ifg5DD;Eej5DD;IACE,oBAAA;Ifm5DD;Eep5DD;IACE,oBAAA;Ifs5DD;Eev5DD;IACE,WAAA;Ify5DD;Ee15DD;IACE,oBAAA;If45DD;Ee75DD;IACE,oBAAA;If+5DD;Eeh6DD;IACE,WAAA;Ifk6DD;Een6DD;IACE,oBAAA;Ifq6DD;Eet6DD;IACE,mBAAA;Ifw6DD;Eep6DD;IACE,YAAA;Ifs6DD;Eex5DD;IACE,mBAAA;If05DD;Ee35DD;IACE,2BAAA;If65DD;Ee95DD;IACE,2BAAA;Ifg6DD;Eej6DD;IACE,kBAAA;Ifm6DD;Eep6DD;IACE,2BAAA;Ifs6DD;Eev6DD;IACE,2BAAA;Ify6DD;Ee16DD;IACE,kBAAA;If46DD;Ee76DD;IACE,2BAAA;If+6DD;Eeh7DD;IACE,2BAAA;Ifk7DD;Een7DD;IACE,kBAAA;Ifq7DD;Eet7DD;IACE,2BAAA;Ifw7DD;Eez7DD;IACE,0BAAA;If27DD;Ee57DD;IACE,iBAAA;If87DD;EACF;Aan7DD;EE9CI;IACE,aAAA;Ifo+DH;Ee79DD;IACE,aAAA;If+9DD;Eeh+DD;IACE,qBAAA;Ifk+DD;Een+DD;IACE,qBAAA;Ifq+DD;Eet+DD;IACE,YAAA;Ifw+DD;Eez+DD;IACE,qBAAA;If2+DD;Ee5+DD;IACE,qBAAA;If8+DD;Ee/+DD;IACE,YAAA;Ifi/DD;Eel/DD;IACE,qBAAA;Ifo/DD;Eer/DD;IACE,qBAAA;Ifu/DD;Eex/DD;IACE,YAAA;If0/DD;Ee3/DD;IACE,qBAAA;If6/DD;Ee9/DD;IACE,oBAAA;IfggED;Eel/DD;IACE,aAAA;Ifo/DD;Eer/DD;IACE,qBAAA;Ifu/DD;Eex/DD;IACE,qBAAA;If0/DD;Ee3/DD;IACE,YAAA;If6/DD;Ee9/DD;IACE,qBAAA;IfggED;EejgED;IACE,qBAAA;IfmgED;EepgED;IACE,YAAA;IfsgED;EevgED;IACE,qBAAA;IfygED;Ee1gED;IACE,qBAAA;If4gED;Ee7gED;IACE,YAAA;If+gED;EehhED;IACE,qBAAA;IfkhED;EenhED;IACE,oBAAA;IfqhED;EejhED;IACE,aAAA;IfmhED;EeniED;IACE,YAAA;IfqiED;EetiED;IACE,oBAAA;IfwiED;EeziED;IACE,oBAAA;If2iED;Ee5iED;IACE,WAAA;If8iED;Ee/iED;IACE,oBAAA;IfijED;EeljED;IACE,oBAAA;IfojED;EerjED;IACE,WAAA;IfujED;EexjED;IACE,oBAAA;If0jED;Ee3jED;IACE,oBAAA;If6jED;Ee9jED;IACE,WAAA;IfgkED;EejkED;IACE,oBAAA;IfmkED;EepkED;IACE,mBAAA;IfskED;EelkED;IACE,YAAA;IfokED;EetjED;IACE,mBAAA;IfwjED;EezjED;IACE,2BAAA;If2jED;Ee5jED;IACE,2BAAA;If8jED;Ee/jED;IACE,kBAAA;IfikED;EelkED;IACE,2BAAA;IfokED;EerkED;IACE,2BAAA;IfukED;EexkED;IACE,kBAAA;If0kED;Ee3kED;IACE,2BAAA;If6kED;Ee9kED;IACE,2BAAA;IfglED;EejlED;IACE,kBAAA;IfmlED;EeplED;IACE,2BAAA;IfslED;EevlED;IACE,0BAAA;IfylED;Ee1lED;IACE,iBAAA;If4lED;EACF;AgBhqED;EACE,+BAAA;EhBkqED;AgBhqED;EACE,kBAAA;EACA,qBAAA;EACA,gBAAA;EACA,kBAAA;EhBkqED;AgBhqED;EACE,kBAAA;EhBkqED;AgB5pED;EACE,aAAA;EACA,iBAAA;EACA,qBAAA;EhB8pED;AgBjqED;;;;;;EAWQ,cAAA;EACA,yBAAA;EACA,qBAAA;EACA,+BAAA;EhB8pEP;AgB5qED;EAoBI,wBAAA;EACA,kCAAA;EhB2pEH;AgBhrED;;;;;;EA8BQ,eAAA;EhB0pEP;AgBxrED;EAoCI,+BAAA;EhBupEH;AgB3rED;EAyCI,2BAAA;EhBqpEH;AgB9oED;;;;;;EAOQ,cAAA;EhB+oEP;AgBpoED;EACE,2BAAA;EhBsoED;AgBvoED;;;;;;EAQQ,2BAAA;EhBuoEP;AgB/oED;;EAeM,0BAAA;EhBooEL;AgB1nED;EAEI,2BAAA;EhB2nEH;AgBlnED;EAEI,2BAAA;EhBmnEH;AgB1mED;EACE,kBAAA;EACA,aAAA;EACA,uBAAA;EhB4mED;AgBvmEG;;EACE,kBAAA;EACA,aAAA;EACA,qBAAA;EhB0mEL;AiBtvEC;;;;;;;;;;;;EAOI,2BAAA;EjB6vEL;AiBvvEC;;;;;EAMI,2BAAA;EjBwvEL;AiB3wEC;;;;;;;;;;;;EAOI,2BAAA;EjBkxEL;AiB5wEC;;;;;EAMI,2BAAA;EjB6wEL;AiBhyEC;;;;;;;;;;;;EAOI,2BAAA;EjBuyEL;AiBjyEC;;;;;EAMI,2BAAA;EjBkyEL;AiBrzEC;;;;;;;;;;;;EAOI,2BAAA;EjB4zEL;AiBtzEC;;;;;EAMI,2BAAA;EjBuzEL;AiB10EC;;;;;;;;;;;;EAOI,2BAAA;EjBi1EL;AiB30EC;;;;;EAMI,2BAAA;EjB40EL;AgB1rED;EACE,kBAAA;EACA,mBAAA;EhB4rED;AgB/nED;EAAA;IA1DI,aAAA;IACA,qBAAA;IACA,oBAAA;IACA,8CAAA;IACA,2BAAA;IhB6rED;EgBvoEH;IAlDM,kBAAA;IhB4rEH;EgB1oEH;;;;;;IAzCY,qBAAA;IhB2rET;EgBlpEH;IAjCM,WAAA;IhBsrEH;EgBrpEH;;;;;;IAxBY,gBAAA;IhBqrET;EgB7pEH;;;;;;IApBY,iBAAA;IhByrET;EgBrqEH;;;;IAPY,kBAAA;IhBkrET;EACF;AkB54ED;EACE,YAAA;EACA,WAAA;EACA,WAAA;EAIA,cAAA;ElB24ED;AkBx4ED;EACE,gBAAA;EACA,aAAA;EACA,YAAA;EACA,qBAAA;EACA,iBAAA;EACA,sBAAA;EACA,gBAAA;EACA,WAAA;EACA,kCAAA;ElB04ED;AkBv4ED;EACE,uBAAA;EACA,iBAAA;EACA,oBAAA;EACA,mBAAA;ElBy4ED;AkB93ED;Eb4BE,gCAAA;EACG,6BAAA;EACK,wBAAA;ELq2ET;AkB93ED;;EAEE,iBAAA;EACA,oBAAA;EACA,qBAAA;ElBg4ED;AkB53ED;EACE,gBAAA;ElB83ED;AkB13ED;EACE,gBAAA;EACA,aAAA;ElB43ED;AkBx3ED;;EAEE,cAAA;ElB03ED;AkBt3ED;;;EZxEE,sBAAA;EAEA,4CAAA;EACA,sBAAA;ENk8ED;AkBt3ED;EACE,gBAAA;EACA,kBAAA;EACA,iBAAA;EACA,yBAAA;EACA,gBAAA;ElBw3ED;AkB91ED;EACE,gBAAA;EACA,aAAA;EACA,cAAA;EACA,mBAAA;EACA,iBAAA;EACA,yBAAA;EACA,gBAAA;EACA,2BAAA;EACA,wBAAA;EACA,2BAAA;EACA,oBAAA;EbzDA,0DAAA;EACQ,kDAAA;EAyHR,wFAAA;EACK,2EAAA;EACG,wEAAA;ELkyET;AmB16EC;EACE,uBAAA;EACA,YAAA;EdUF,wFAAA;EACQ,gFAAA;ELm6ET;AKl4EC;EACE,gBAAA;EACA,YAAA;ELo4EH;AKl4EC;EAA0B,gBAAA;ELq4E3B;AKp4EC;EAAgC,gBAAA;ELu4EjC;AkBt2EC;;;EAGE,qBAAA;EACA,2BAAA;EACA,YAAA;ElBw2EH;AkBp2EC;EACE,cAAA;ElBs2EH;AkB11ED;EACE,0BAAA;ElB41ED;AkBxzED;EAxBE;;;;IAIE,mBAAA;IlBm1ED;EkBj1EC;;;;;;;;IAEE,mBAAA;IlBy1EH;EkBt1EC;;;;;;;;IAEE,mBAAA;IlB81EH;EACF;AkBp1ED;EACE,qBAAA;ElBs1ED;AkB90ED;;EAEE,oBAAA;EACA,gBAAA;EACA,kBAAA;EACA,qBAAA;ElBg1ED;AkBr1ED;;EAQI,kBAAA;EACA,oBAAA;EACA,kBAAA;EACA,qBAAA;EACA,iBAAA;ElBi1EH;AkB90ED;;;;EAIE,oBAAA;EACA,oBAAA;EACA,oBAAA;ElBg1ED;AkB70ED;;EAEE,kBAAA;ElB+0ED;AkB30ED;;EAEE,uBAAA;EACA,oBAAA;EACA,kBAAA;EACA,wBAAA;EACA,qBAAA;EACA,iBAAA;ElB60ED;AkB30ED;;EAEE,eAAA;EACA,mBAAA;ElB60ED;AkBp0EC;;;;;;EAGE,qBAAA;ElBy0EH;AkBn0EC;;;;EAEE,qBAAA;ElBu0EH;AkBj0EC;;;;EAGI,qBAAA;ElBo0EL;AkBzzED;EAEE,kBAAA;EACA,qBAAA;EAEA,kBAAA;ElByzED;AkBvzEC;;EAEE,iBAAA;EACA,kBAAA;ElByzEH;AkB5yED;ECpPE,cAAA;EACA,mBAAA;EACA,iBAAA;EACA,kBAAA;EACA,oBAAA;EnBmiFD;AmBjiFC;EACE,cAAA;EACA,mBAAA;EnBmiFH;AmBhiFC;;EAEE,cAAA;EnBkiFH;AkBxzED;ECvPE,cAAA;EACA,mBAAA;EACA,iBAAA;EACA,kBAAA;EACA,oBAAA;EnBkjFD;AmBhjFC;EACE,cAAA;EACA,mBAAA;EnBkjFH;AmB/iFC;;EAEE,cAAA;EnBijFH;AkBv0ED;EAKI,cAAA;EACA,mBAAA;EACA,iBAAA;EACA,kBAAA;ElBq0EH;AkBj0ED;ECnQE,cAAA;EACA,oBAAA;EACA,iBAAA;EACA,wBAAA;EACA,oBAAA;EnBukFD;AmBrkFC;EACE,cAAA;EACA,mBAAA;EnBukFH;AmBpkFC;;EAEE,cAAA;EnBskFH;AkB70ED;ECtQE,cAAA;EACA,oBAAA;EACA,iBAAA;EACA,wBAAA;EACA,oBAAA;EnBslFD;AmBplFC;EACE,cAAA;EACA,mBAAA;EnBslFH;AmBnlFC;;EAEE,cAAA;EnBqlFH;AkB51ED;EAKI,cAAA;EACA,oBAAA;EACA,iBAAA;EACA,wBAAA;ElB01EH;AkBj1ED;EAEE,oBAAA;ElBk1ED;AkBp1ED;EAMI,uBAAA;ElBi1EH;AkB70ED;EACE,oBAAA;EACA,QAAA;EACA,UAAA;EACA,YAAA;EACA,gBAAA;EACA,aAAA;EACA,cAAA;EACA,mBAAA;EACA,oBAAA;EACA,sBAAA;ElB+0ED;AkB70ED;EACE,aAAA;EACA,cAAA;EACA,mBAAA;ElB+0ED;AkB70ED;EACE,aAAA;EACA,cAAA;EACA,mBAAA;ElB+0ED;AkB30ED;;;;;;;;;;EC7WI,gBAAA;EnBosFH;AkBv1ED;ECzWI,uBAAA;Ed+CF,0DAAA;EACQ,kDAAA;ELqpFT;AmBnsFG;EACE,uBAAA;Ed4CJ,2EAAA;EACQ,mEAAA;EL0pFT;AkBj2ED;EC/VI,gBAAA;EACA,uBAAA;EACA,2BAAA;EnBmsFH;AkBt2ED;ECzVI,gBAAA;EnBksFH;AkBt2ED;;;;;;;;;;EChXI,gBAAA;EnBkuFH;AkBl3ED;EC5WI,uBAAA;Ed+CF,0DAAA;EACQ,kDAAA;ELmrFT;AmBjuFG;EACE,uBAAA;Ed4CJ,2EAAA;EACQ,mEAAA;ELwrFT;AkB53ED;EClWI,gBAAA;EACA,uBAAA;EACA,2BAAA;EnBiuFH;AkBj4ED;EC5VI,gBAAA;EnBguFH;AkBj4ED;;;;;;;;;;ECnXI,gBAAA;EnBgwFH;AkB74ED;EC/WI,uBAAA;Ed+CF,0DAAA;EACQ,kDAAA;ELitFT;AmB/vFG;EACE,uBAAA;Ed4CJ,2EAAA;EACQ,mEAAA;ELstFT;AkBv5ED;ECrWI,gBAAA;EACA,uBAAA;EACA,2BAAA;EnB+vFH;AkB55ED;EC/VI,gBAAA;EnB8vFH;AkBx5EC;EACG,WAAA;ElB05EJ;AkBx5EC;EACG,QAAA;ElB05EJ;AkBh5ED;EACE,gBAAA;EACA,iBAAA;EACA,qBAAA;EACA,gBAAA;ElBk5ED;AkB/zED;EAAA;IA9DM,uBAAA;IACA,kBAAA;IACA,wBAAA;IlBi4EH;EkBr0EH;IAvDM,uBAAA;IACA,aAAA;IACA,wBAAA;IlB+3EH;EkB10EH;IAhDM,uBAAA;IlB63EH;EkB70EH;IA5CM,uBAAA;IACA,wBAAA;IlB43EH;EkBj1EH;;;IAtCQ,aAAA;IlB43EL;EkBt1EH;IAhCM,aAAA;IlBy3EH;EkBz1EH;IA5BM,kBAAA;IACA,wBAAA;IlBw3EH;EkB71EH;;IApBM,uBAAA;IACA,eAAA;IACA,kBAAA;IACA,wBAAA;IlBq3EH;EkBp2EH;;IAdQ,iBAAA;IlBs3EL;EkBx2EH;;IATM,oBAAA;IACA,gBAAA;IlBq3EH;EkB72EH;IAHM,QAAA;IlBm3EH;EACF;AkBz2ED;;;;EASI,eAAA;EACA,kBAAA;EACA,kBAAA;ElBs2EH;AkBj3ED;;EAiBI,kBAAA;ElBo2EH;AkBr3ED;EJzeE,oBAAA;EACA,qBAAA;Edi2FD;AkBl1EC;EAAA;IAVI,mBAAA;IACA,kBAAA;IACA,kBAAA;IlBg2EH;EACF;AkBh4ED;EAwCI,aAAA;ElB21EH;AkB90EC;EAAA;IAHM,0BAAA;IlBq1EL;EACF;AkB50EC;EAAA;IAHM,kBAAA;IlBm1EL;EACF;AoB73FD;EACE,uBAAA;EACA,kBAAA;EACA,qBAAA;EACA,oBAAA;EACA,wBAAA;EACA,gCAAA;MAAA,4BAAA;EACA,iBAAA;EACA,wBAAA;EACA,+BAAA;EACA,qBAAA;EC6BA,mBAAA;EACA,iBAAA;EACA,yBAAA;EACA,oBAAA;EhB4KA,2BAAA;EACG,wBAAA;EACC,uBAAA;EACI,mBAAA;ELwrFT;AoBh4FG;;;;;;EdrBF,sBAAA;EAEA,4CAAA;EACA,sBAAA;EN45FD;AoBp4FC;;;EAGE,gBAAA;EACA,uBAAA;EpBs4FH;AoBn4FC;;EAEE,YAAA;EACA,wBAAA;Ef2BF,0DAAA;EACQ,kDAAA;EL22FT;AoBn4FC;;;EAGE,qBAAA;EACA,sBAAA;EE9CF,eAAA;EAGA,2BAAA;EjB8DA,0BAAA;EACQ,kBAAA;ELq3FT;AoB/3FD;ECrDE,gBAAA;EACA,2BAAA;EACA,uBAAA;ErBu7FD;AqBr7FC;;;;;;EAME,gBAAA;EACA,2BAAA;EACI,uBAAA;ErBu7FP;AqBr7FC;;;EAGE,wBAAA;ErBu7FH;AqBl7FG;;;;;;;;;;;;;;;;;;EAME,2BAAA;EACI,uBAAA;ErBg8FT;AoBx6FD;ECnBI,gBAAA;EACA,2BAAA;ErB87FH;AoBz6FD;ECxDE,gBAAA;EACA,2BAAA;EACA,uBAAA;ErBo+FD;AqBl+FC;;;;;;EAME,gBAAA;EACA,2BAAA;EACI,uBAAA;ErBo+FP;AqBl+FC;;;EAGE,wBAAA;ErBo+FH;AqB/9FG;;;;;;;;;;;;;;;;;;EAME,2BAAA;EACI,uBAAA;ErB6+FT;AoBl9FD;ECtBI,gBAAA;EACA,2BAAA;ErB2+FH;AoBl9FD;EC5DE,gBAAA;EACA,2BAAA;EACA,uBAAA;ErBihGD;AqB/gGC;;;;;;EAME,gBAAA;EACA,2BAAA;EACI,uBAAA;ErBihGP;AqB/gGC;;;EAGE,wBAAA;ErBihGH;AqB5gGG;;;;;;;;;;;;;;;;;;EAME,2BAAA;EACI,uBAAA;ErB0hGT;AoB3/FD;EC1BI,gBAAA;EACA,2BAAA;ErBwhGH;AoB3/FD;EChEE,gBAAA;EACA,2BAAA;EACA,uBAAA;ErB8jGD;AqB5jGC;;;;;;EAME,gBAAA;EACA,2BAAA;EACI,uBAAA;ErB8jGP;AqB5jGC;;;EAGE,wBAAA;ErB8jGH;AqBzjGG;;;;;;;;;;;;;;;;;;EAME,2BAAA;EACI,uBAAA;ErBukGT;AoBpiGD;EC9BI,gBAAA;EACA,2BAAA;ErBqkGH;AoBpiGD;ECpEE,gBAAA;EACA,2BAAA;EACA,uBAAA;ErB2mGD;AqBzmGC;;;;;;EAME,gBAAA;EACA,2BAAA;EACI,uBAAA;ErB2mGP;AqBzmGC;;;EAGE,wBAAA;ErB2mGH;AqBtmGG;;;;;;;;;;;;;;;;;;EAME,2BAAA;EACI,uBAAA;ErBonGT;AoB7kGD;EClCI,gBAAA;EACA,2BAAA;ErBknGH;AoB7kGD;ECxEE,gBAAA;EACA,2BAAA;EACA,uBAAA;ErBwpGD;AqBtpGC;;;;;;EAME,gBAAA;EACA,2BAAA;EACI,uBAAA;ErBwpGP;AqBtpGC;;;EAGE,wBAAA;ErBwpGH;AqBnpGG;;;;;;;;;;;;;;;;;;EAME,2BAAA;EACI,uBAAA;ErBiqGT;AoBtnGD;ECtCI,gBAAA;EACA,2BAAA;ErB+pGH;AoBjnGD;EACE,gBAAA;EACA,qBAAA;EACA,kBAAA;EpBmnGD;AoBjnGC;;;;;EAKE,+BAAA;Ef7BF,0BAAA;EACQ,kBAAA;ELipGT;AoBlnGC;;;;EAIE,2BAAA;EpBonGH;AoBlnGC;;EAEE,gBAAA;EACA,4BAAA;EACA,+BAAA;EpBonGH;AoBhnGG;;;;EAEE,gBAAA;EACA,uBAAA;EpBonGL;AoB3mGD;;EC/EE,oBAAA;EACA,iBAAA;EACA,wBAAA;EACA,oBAAA;ErB8rGD;AoB9mGD;;ECnFE,mBAAA;EACA,iBAAA;EACA,kBAAA;EACA,oBAAA;ErBqsGD;AoBjnGD;;ECvFE,kBAAA;EACA,iBAAA;EACA,kBAAA;EACA,oBAAA;ErB4sGD;AoBhnGD;EACE,gBAAA;EACA,aAAA;EpBknGD;AoB9mGD;EACE,iBAAA;EpBgnGD;AoBzmGC;;;EACE,aAAA;EpB6mGH;AuBjwGD;EACE,YAAA;ElBoLA,0CAAA;EACK,qCAAA;EACG,kCAAA;ELglGT;AuBpwGC;EACE,YAAA;EvBswGH;AuBlwGD;EACE,eAAA;EACA,oBAAA;EvBowGD;AuBlwGC;EAAY,gBAAA;EAAgB,qBAAA;EvBswG7B;AuBrwGC;EAAY,oBAAA;EvBwwGb;AuBvwGC;EAAY,0BAAA;EvB0wGb;AuBvwGD;EACE,oBAAA;EACA,WAAA;EACA,kBAAA;ElBsKA,iDAAA;EACQ,4CAAA;KAAA,yCAAA;EAOR,oCAAA;EACQ,+BAAA;KAAA,4BAAA;EAGR,0CAAA;EACQ,qCAAA;KAAA,kCAAA;EL4lGT;AwBtyGD;EACE,uBAAA;EACA,UAAA;EACA,WAAA;EACA,kBAAA;EACA,wBAAA;EACA,uBAAA;EACA,qCAAA;EACA,oCAAA;ExBwyGD;AwBpyGD;;EAEE,oBAAA;ExBsyGD;AwBlyGD;EACE,YAAA;ExBoyGD;AwBhyGD;EACE,oBAAA;EACA,WAAA;EACA,SAAA;EACA,eAAA;EACA,eAAA;EACA,aAAA;EACA,kBAAA;EACA,gBAAA;EACA,iBAAA;EACA,kBAAA;EACA,iBAAA;EACA,kBAAA;EACA,2BAAA;EACA,2BAAA;EACA,uCAAA;EACA,oBAAA;EnBuBA,qDAAA;EACQ,6CAAA;EmBtBR,sCAAA;UAAA,8BAAA;ExBmyGD;AwB9xGC;EACE,UAAA;EACA,YAAA;ExBgyGH;AwBzzGD;ECxBE,aAAA;EACA,eAAA;EACA,kBAAA;EACA,2BAAA;EzBo1GD;AwB/zGD;EAmCI,gBAAA;EACA,mBAAA;EACA,aAAA;EACA,qBAAA;EACA,yBAAA;EACA,gBAAA;EACA,qBAAA;ExB+xGH;AwBzxGC;;EAEE,uBAAA;EACA,gBAAA;EACA,2BAAA;ExB2xGH;AwBrxGC;;;EAGE,gBAAA;EACA,uBAAA;EACA,YAAA;EACA,2BAAA;ExBuxGH;AwB9wGC;;;EAGE,gBAAA;ExBgxGH;AwB5wGC;;EAEE,uBAAA;EACA,+BAAA;EACA,wBAAA;EE1GF,qEAAA;EF4GE,qBAAA;ExB8wGH;AwBzwGD;EAGI,gBAAA;ExBywGH;AwB5wGD;EAQI,YAAA;ExBuwGH;AwB/vGD;EACE,YAAA;EACA,UAAA;ExBiwGD;AwBzvGD;EACE,SAAA;EACA,aAAA;ExB2vGD;AwBvvGD;EACE,gBAAA;EACA,mBAAA;EACA,iBAAA;EACA,yBAAA;EACA,gBAAA;EACA,qBAAA;ExByvGD;AwBrvGD;EACE,iBAAA;EACA,SAAA;EACA,UAAA;EACA,WAAA;EACA,QAAA;EACA,cAAA;ExBuvGD;AwBnvGD;EACE,UAAA;EACA,YAAA;ExBqvGD;AwB7uGD;;EAII,eAAA;EACA,0BAAA;EACA,aAAA;ExB6uGH;AwBnvGD;;EAUI,WAAA;EACA,cAAA;EACA,oBAAA;ExB6uGH;AwBxtGD;EAXE;IAnEA,YAAA;IACA,UAAA;IxB0yGC;EwBxuGD;IAzDA,SAAA;IACA,aAAA;IxBoyGC;EACF;A2Bn7GD;;EAEE,oBAAA;EACA,uBAAA;EACA,wBAAA;E3Bq7GD;A2Bz7GD;;EAMI,oBAAA;EACA,aAAA;E3Bu7GH;A2Br7GG;;;;;;;;EAIE,YAAA;E3B27GL;A2Br7GD;;;;EAKI,mBAAA;E3Bs7GH;A2Bj7GD;EACE,mBAAA;E3Bm7GD;A2Bp7GD;;EAMI,aAAA;E3Bk7GH;A2Bx7GD;;;EAWI,kBAAA;E3Bk7GH;A2B96GD;EACE,kBAAA;E3Bg7GD;A2B56GD;EACE,gBAAA;E3B86GD;A2B76GC;ECjDA,+BAAA;EACG,4BAAA;E5Bi+GJ;A2B56GD;;EC9CE,8BAAA;EACG,2BAAA;E5B89GJ;A2B36GD;EACE,aAAA;E3B66GD;A2B36GD;EACE,kBAAA;E3B66GD;A2B36GD;;EClEE,+BAAA;EACG,4BAAA;E5Bi/GJ;A2B16GD;EChEE,8BAAA;EACG,2BAAA;E5B6+GJ;A2Bz6GD;;EAEE,YAAA;E3B26GD;A2B15GD;EACE,mBAAA;EACA,oBAAA;E3B45GD;A2B15GD;EACE,oBAAA;EACA,qBAAA;E3B45GD;A2Bv5GD;EtB9CE,0DAAA;EACQ,kDAAA;ELw8GT;A2Bv5GC;EtBlDA,0BAAA;EACQ,kBAAA;EL48GT;A2Bp5GD;EACE,gBAAA;E3Bs5GD;A2Bn5GD;EACE,yBAAA;EACA,wBAAA;E3Bq5GD;A2Bl5GD;EACE,yBAAA;E3Bo5GD;A2B74GD;;;EAII,gBAAA;EACA,aAAA;EACA,aAAA;EACA,iBAAA;E3B84GH;A2Br5GD;EAcM,aAAA;E3B04GL;A2Bx5GD;;;;EAsBI,kBAAA;EACA,gBAAA;E3Bw4GH;A2Bn4GC;EACE,kBAAA;E3Bq4GH;A2Bn4GC;EACE,8BAAA;ECnKF,+BAAA;EACC,8BAAA;E5ByiHF;A2Bp4GC;EACE,gCAAA;EC/KF,4BAAA;EACC,2BAAA;E5BsjHF;A2Bp4GD;EACE,kBAAA;E3Bs4GD;A2Bp4GD;;EC9KE,+BAAA;EACC,8BAAA;E5BsjHF;A2Bn4GD;EC5LE,4BAAA;EACC,2BAAA;E5BkkHF;A2B/3GD;EACE,gBAAA;EACA,aAAA;EACA,qBAAA;EACA,2BAAA;E3Bi4GD;A2Br4GD;;EAOI,aAAA;EACA,qBAAA;EACA,WAAA;E3Bk4GH;A2B34GD;EAYI,aAAA;E3Bk4GH;A2B94GD;EAgBI,YAAA;E3Bi4GH;A2Bh3GD;;;;EAKM,oBAAA;EACA,wBAAA;EACA,sBAAA;E3Bi3GL;A6B1lHD;EACE,oBAAA;EACA,gBAAA;EACA,2BAAA;E7B4lHD;A6BzlHC;EACE,aAAA;EACA,iBAAA;EACA,kBAAA;E7B2lHH;A6BpmHD;EAeI,oBAAA;EACA,YAAA;EAKA,aAAA;EAEA,aAAA;EACA,kBAAA;E7BmlHH;A6B1kHD;;;EV8BE,cAAA;EACA,oBAAA;EACA,iBAAA;EACA,wBAAA;EACA,oBAAA;EnBijHD;AmB/iHC;;;EACE,cAAA;EACA,mBAAA;EnBmjHH;AmBhjHC;;;;;;EAEE,cAAA;EnBsjHH;A6B5lHD;;;EVyBE,cAAA;EACA,mBAAA;EACA,iBAAA;EACA,kBAAA;EACA,oBAAA;EnBwkHD;AmBtkHC;;;EACE,cAAA;EACA,mBAAA;EnB0kHH;AmBvkHC;;;;;;EAEE,cAAA;EnB6kHH;A6B1mHD;;;EAGE,qBAAA;E7B4mHD;A6B1mHC;;;EACE,kBAAA;E7B8mHH;A6B1mHD;;EAEE,WAAA;EACA,qBAAA;EACA,wBAAA;E7B4mHD;A6BvmHD;EACE,mBAAA;EACA,iBAAA;EACA,qBAAA;EACA,gBAAA;EACA,gBAAA;EACA,oBAAA;EACA,2BAAA;EACA,2BAAA;EACA,oBAAA;E7BymHD;A6BtmHC;EACE,mBAAA;EACA,iBAAA;EACA,oBAAA;E7BwmHH;A6BtmHC;EACE,oBAAA;EACA,iBAAA;EACA,oBAAA;E7BwmHH;A6B5nHD;;EA0BI,eAAA;E7BsmHH;A6BjmHD;;;;;;;EDhGE,+BAAA;EACG,4BAAA;E5B0sHJ;A6BlmHD;EACE,iBAAA;E7BomHD;A6BlmHD;;;;;;;EDpGE,8BAAA;EACG,2BAAA;E5B+sHJ;A6BnmHD;EACE,gBAAA;E7BqmHD;A6BhmHD;EACE,oBAAA;EAGA,cAAA;EACA,qBAAA;E7BgmHD;A6BrmHD;EAUI,oBAAA;E7B8lHH;A6BxmHD;EAYM,mBAAA;E7B+lHL;A6B5lHG;;;EAGE,YAAA;E7B8lHL;A6BzlHC;;EAGI,oBAAA;E7B0lHL;A6BvlHC;;EAGI,mBAAA;E7BwlHL;A8BlvHD;EACE,kBAAA;EACA,iBAAA;EACA,kBAAA;E9BovHD;A8BvvHD;EAOI,oBAAA;EACA,gBAAA;E9BmvHH;A8B3vHD;EAWM,oBAAA;EACA,gBAAA;EACA,oBAAA;E9BmvHL;A8BlvHK;;EAEE,uBAAA;EACA,2BAAA;E9BovHP;A8B/uHG;EACE,gBAAA;E9BivHL;A8B/uHK;;EAEE,gBAAA;EACA,uBAAA;EACA,+BAAA;EACA,qBAAA;E9BivHP;A8B1uHG;;;EAGE,2BAAA;EACA,uBAAA;E9B4uHL;A8BrxHD;ELHE,aAAA;EACA,eAAA;EACA,kBAAA;EACA,2BAAA;EzB2xHD;A8B3xHD;EA0DI,iBAAA;E9BouHH;A8B3tHD;EACE,kCAAA;E9B6tHD;A8B9tHD;EAGI,aAAA;EAEA,qBAAA;E9B6tHH;A8BluHD;EASM,mBAAA;EACA,yBAAA;EACA,+BAAA;EACA,4BAAA;E9B4tHL;A8B3tHK;EACE,uCAAA;E9B6tHP;A8BvtHK;;;EAGE,gBAAA;EACA,2BAAA;EACA,2BAAA;EACA,kCAAA;EACA,iBAAA;E9BytHP;A8BptHC;EAqDA,aAAA;EA8BA,kBAAA;E9BqoHD;A8BxtHC;EAwDE,aAAA;E9BmqHH;A8B3tHC;EA0DI,oBAAA;EACA,oBAAA;E9BoqHL;A8B/tHC;EAgEE,WAAA;EACA,YAAA;E9BkqHH;A8BtpHD;EAAA;IAPM,qBAAA;IACA,WAAA;I9BiqHH;E8B3pHH;IAJQ,kBAAA;I9BkqHL;EACF;A8B5uHC;EAuFE,iBAAA;EACA,oBAAA;E9BwpHH;A8BhvHC;;;EA8FE,2BAAA;E9BupHH;A8BzoHD;EAAA;IATM,kCAAA;IACA,4BAAA;I9BspHH;E8B9oHH;;;IAHM,8BAAA;I9BspHH;EACF;A8BvvHD;EAEI,aAAA;E9BwvHH;A8B1vHD;EAMM,oBAAA;E9BuvHL;A8B7vHD;EASM,kBAAA;E9BuvHL;A8BlvHK;;;EAGE,gBAAA;EACA,2BAAA;E9BovHP;A8B5uHD;EAEI,aAAA;E9B6uHH;A8B/uHD;EAIM,iBAAA;EACA,gBAAA;E9B8uHL;A8BluHD;EACE,aAAA;E9BouHD;A8BruHD;EAII,aAAA;E9BouHH;A8BxuHD;EAMM,oBAAA;EACA,oBAAA;E9BquHL;A8B5uHD;EAYI,WAAA;EACA,YAAA;E9BmuHH;A8BvtHD;EAAA;IAPM,qBAAA;IACA,WAAA;I9BkuHH;E8B5tHH;IAJQ,kBAAA;I9BmuHL;EACF;A8B3tHD;EACE,kBAAA;E9B6tHD;A8B9tHD;EAKI,iBAAA;EACA,oBAAA;E9B4tHH;A8BluHD;;;EAYI,2BAAA;E9B2tHH;A8B7sHD;EAAA;IATM,kCAAA;IACA,4BAAA;I9B0tHH;E8BltHH;;;IAHM,8BAAA;I9B0tHH;EACF;A8BjtHD;EAEI,eAAA;EACA,oBAAA;E9BktHH;A8BrtHD;EAMI,gBAAA;EACA,qBAAA;E9BktHH;A8BzsHD;EAEE,kBAAA;EF7OA,4BAAA;EACC,2BAAA;E5Bw7HF;A+Bl7HD;EACE,oBAAA;EACA,kBAAA;EACA,qBAAA;EACA,+BAAA;E/Bo7HD;A+B56HD;EAAA;IAFI,oBAAA;I/Bk7HD;EACF;A+Bn6HD;EAAA;IAFI,aAAA;I/By6HD;EACF;A+B35HD;EACE,qBAAA;EACA,qBAAA;EACA,oBAAA;EACA,mCAAA;EACA,4DAAA;UAAA,oDAAA;EAEA,mCAAA;E/B45HD;A+B15HC;EACE,kBAAA;E/B45HH;A+B/3HD;EAAA;IAzBI,aAAA;IACA,eAAA;IACA,0BAAA;YAAA,kBAAA;I/B45HD;E+B15HC;IACE,2BAAA;IACA,gCAAA;IACA,yBAAA;IACA,mBAAA;IACA,8BAAA;I/B45HH;E+Bz5HC;IACE,qBAAA;I/B25HH;E+Bt5HC;;;IAGE,iBAAA;IACA,kBAAA;I/Bw5HH;EACF;A+Bp5HD;;EAGI,mBAAA;E/Bq5HH;A+Bh5HC;EAAA;;IAFI,mBAAA;I/Bu5HH;EACF;A+B94HD;;;;EAII,qBAAA;EACA,oBAAA;E/Bg5HH;A+B14HC;EAAA;;;;IAHI,iBAAA;IACA,gBAAA;I/Bo5HH;EACF;A+Bx4HD;EACE,eAAA;EACA,uBAAA;E/B04HD;A+Br4HD;EAAA;IAFI,kBAAA;I/B24HD;EACF;A+Bv4HD;;EAEE,iBAAA;EACA,UAAA;EACA,SAAA;EACA,eAAA;E/By4HD;A+Bn4HD;EAAA;;IAFI,kBAAA;I/B04HD;EACF;A+Bx4HD;EACE,QAAA;EACA,uBAAA;E/B04HD;A+Bx4HD;EACE,WAAA;EACA,kBAAA;EACA,uBAAA;E/B04HD;A+Bp4HD;EACE,aAAA;EACA,oBAAA;EACA,iBAAA;EACA,mBAAA;EACA,cAAA;E/Bs4HD;A+Bp4HC;;EAEE,uBAAA;E/Bs4HH;A+B/4HD;EAaI,gBAAA;E/Bq4HH;A+B53HD;EALI;;IAEE,oBAAA;I/Bo4HH;EACF;A+B13HD;EACE,oBAAA;EACA,cAAA;EACA,oBAAA;EACA,mBAAA;EC/LA,iBAAA;EACA,oBAAA;EDgMA,+BAAA;EACA,wBAAA;EACA,+BAAA;EACA,oBAAA;E/B63HD;A+Bz3HC;EACE,YAAA;E/B23HH;A+Bz4HD;EAmBI,gBAAA;EACA,aAAA;EACA,aAAA;EACA,oBAAA;E/By3HH;A+B/4HD;EAyBI,iBAAA;E/By3HH;A+Bn3HD;EAAA;IAFI,eAAA;I/By3HD;EACF;A+Bh3HD;EACE,qBAAA;E/Bk3HD;A+Bn3HD;EAII,mBAAA;EACA,sBAAA;EACA,mBAAA;E/Bk3HH;A+Bt1HC;EAAA;IAtBI,kBAAA;IACA,aAAA;IACA,aAAA;IACA,eAAA;IACA,+BAAA;IACA,WAAA;IACA,0BAAA;YAAA,kBAAA;I/Bg3HH;E+Bh2HD;;IAbM,4BAAA;I/Bi3HL;E+Bp2HD;IAVM,mBAAA;I/Bi3HL;E+Bh3HK;;IAEE,wBAAA;I/Bk3HP;EACF;A+Bh2HD;EAAA;IAXI,aAAA;IACA,WAAA;I/B+2HD;E+Br2HH;IAPM,aAAA;I/B+2HH;E+Bx2HH;IALQ,mBAAA;IACA,sBAAA;I/Bg3HL;EACF;A+Br2HD;EACE,oBAAA;EACA,qBAAA;EACA,oBAAA;EACA,mCAAA;EACA,sCAAA;E1B/NA,8FAAA;EACQ,sFAAA;E2B/DR,iBAAA;EACA,oBAAA;EhCuoID;AkB9pHD;EAAA;IA9DM,uBAAA;IACA,kBAAA;IACA,wBAAA;IlBguHH;EkBpqHH;IAvDM,uBAAA;IACA,aAAA;IACA,wBAAA;IlB8tHH;EkBzqHH;IAhDM,uBAAA;IlB4tHH;EkB5qHH;IA5CM,uBAAA;IACA,wBAAA;IlB2tHH;EkBhrHH;;;IAtCQ,aAAA;IlB2tHL;EkBrrHH;IAhCM,aAAA;IlBwtHH;EkBxrHH;IA5BM,kBAAA;IACA,wBAAA;IlButHH;EkB5rHH;;IApBM,uBAAA;IACA,eAAA;IACA,kBAAA;IACA,wBAAA;IlBotHH;EkBnsHH;;IAdQ,iBAAA;IlBqtHL;EkBvsHH;;IATM,oBAAA;IACA,gBAAA;IlBotHH;EkB5sHH;IAHM,QAAA;IlBktHH;EACF;A+B94HC;EAAA;IANI,oBAAA;I/Bw5HH;E+Bt5HG;IACE,kBAAA;I/Bw5HL;EACF;A+Bv4HD;EAAA;IARI,aAAA;IACA,WAAA;IACA,gBAAA;IACA,iBAAA;IACA,gBAAA;IACA,mBAAA;I1B1PF,0BAAA;IACQ,kBAAA;IL8oIP;EACF;A+B74HD;EACE,eAAA;EHrUA,4BAAA;EACC,2BAAA;E5BqtIF;A+B74HD;EACE,kBAAA;EH1UA,8BAAA;EACC,6BAAA;EAOD,+BAAA;EACC,8BAAA;E5BotIF;A+Bz4HD;ECjVE,iBAAA;EACA,oBAAA;EhC6tID;A+B14HC;ECpVA,kBAAA;EACA,qBAAA;EhCiuID;A+B34HC;ECvVA,kBAAA;EACA,qBAAA;EhCquID;A+Br4HD;ECjWE,kBAAA;EACA,qBAAA;EhCyuID;A+Bj4HD;EAAA;IAJI,aAAA;IACA,mBAAA;IACA,oBAAA;I/By4HD;EACF;A+B52HD;EAhBE;IEzWA,wBAAA;IjCyuIC;E+B/3HD;IE7WA,yBAAA;IF+WE,qBAAA;I/Bi4HD;E+Bn4HD;IAKI,iBAAA;I/Bi4HH;EACF;A+Bx3HD;EACE,2BAAA;EACA,uBAAA;E/B03HD;A+B53HD;EAKI,gBAAA;E/B03HH;A+Bz3HG;;EAEE,gBAAA;EACA,+BAAA;E/B23HL;A+Bp4HD;EAcI,gBAAA;E/By3HH;A+Bv4HD;EAmBM,gBAAA;E/Bu3HL;A+Br3HK;;EAEE,gBAAA;EACA,+BAAA;E/Bu3HP;A+Bn3HK;;;EAGE,gBAAA;EACA,2BAAA;E/Bq3HP;A+Bj3HK;;;EAGE,gBAAA;EACA,+BAAA;E/Bm3HP;A+B35HD;EA8CI,uBAAA;E/Bg3HH;A+B/2HG;;EAEE,2BAAA;E/Bi3HL;A+Bl6HD;EAoDM,2BAAA;E/Bi3HL;A+Br6HD;;EA0DI,uBAAA;E/B+2HH;A+Bx2HK;;;EAGE,2BAAA;EACA,gBAAA;E/B02HP;A+Bz0HC;EAAA;IAzBQ,gBAAA;I/Bs2HP;E+Br2HO;;IAEE,gBAAA;IACA,+BAAA;I/Bu2HT;E+Bn2HO;;;IAGE,gBAAA;IACA,2BAAA;I/Bq2HT;E+Bj2HO;;;IAGE,gBAAA;IACA,+BAAA;I/Bm2HT;EACF;A+Br8HD;EA8GI,gBAAA;E/B01HH;A+Bz1HG;EACE,gBAAA;E/B21HL;A+B38HD;EAqHI,gBAAA;E/By1HH;A+Bx1HG;;EAEE,gBAAA;E/B01HL;A+Bt1HK;;;;EAEE,gBAAA;E/B01HP;A+Bl1HD;EACE,2BAAA;EACA,uBAAA;E/Bo1HD;A+Bt1HD;EAKI,gBAAA;E/Bo1HH;A+Bn1HG;;EAEE,gBAAA;EACA,+BAAA;E/Bq1HL;A+B91HD;EAcI,gBAAA;E/Bm1HH;A+Bj2HD;EAmBM,gBAAA;E/Bi1HL;A+B/0HK;;EAEE,gBAAA;EACA,+BAAA;E/Bi1HP;A+B70HK;;;EAGE,gBAAA;EACA,2BAAA;E/B+0HP;A+B30HK;;;EAGE,gBAAA;EACA,+BAAA;E/B60HP;A+Br3HD;EA+CI,uBAAA;E/By0HH;A+Bx0HG;;EAEE,2BAAA;E/B00HL;A+B53HD;EAqDM,2BAAA;E/B00HL;A+B/3HD;;EA2DI,uBAAA;E/Bw0HH;A+Bl0HK;;;EAGE,2BAAA;EACA,gBAAA;E/Bo0HP;A+B7xHC;EAAA;IA/BQ,uBAAA;I/Bg0HP;E+BjyHD;IA5BQ,2BAAA;I/Bg0HP;E+BpyHD;IAzBQ,gBAAA;I/Bg0HP;E+B/zHO;;IAEE,gBAAA;IACA,+BAAA;I/Bi0HT;E+B7zHO;;;IAGE,gBAAA;IACA,2BAAA;I/B+zHT;E+B3zHO;;;IAGE,gBAAA;IACA,+BAAA;I/B6zHT;EACF;A+Br6HD;EA+GI,gBAAA;E/ByzHH;A+BxzHG;EACE,gBAAA;E/B0zHL;A+B36HD;EAsHI,gBAAA;E/BwzHH;A+BvzHG;;EAEE,gBAAA;E/ByzHL;A+BrzHK;;;;EAEE,gBAAA;E/ByzHP;AkCp8ID;EACE,mBAAA;EACA,qBAAA;EACA,kBAAA;EACA,2BAAA;EACA,oBAAA;ElCs8ID;AkC38ID;EAQI,uBAAA;ElCs8IH;AkC98ID;EAWM,mBAAA;EACA,gBAAA;EACA,gBAAA;ElCs8IL;AkCn9ID;EAkBI,gBAAA;ElCo8IH;AmCx9ID;EACE,uBAAA;EACA,iBAAA;EACA,gBAAA;EACA,oBAAA;EnC09ID;AmC99ID;EAOI,iBAAA;EnC09IH;AmCj+ID;;EAUM,oBAAA;EACA,aAAA;EACA,mBAAA;EACA,yBAAA;EACA,uBAAA;EACA,gBAAA;EACA,2BAAA;EACA,2BAAA;EACA,mBAAA;EnC29IL;AmCz9IG;;EAGI,gBAAA;EPXN,gCAAA;EACG,6BAAA;E5Bs+IJ;AmCx9IG;;EPvBF,iCAAA;EACG,8BAAA;E5Bm/IJ;AmCn9IG;;;;EAEE,gBAAA;EACA,2BAAA;EACA,uBAAA;EnCu9IL;AmCj9IG;;;;;;EAGE,YAAA;EACA,gBAAA;EACA,2BAAA;EACA,uBAAA;EACA,iBAAA;EnCs9IL;AmC5gJD;;;;;;EAiEM,gBAAA;EACA,2BAAA;EACA,uBAAA;EACA,qBAAA;EnCm9IL;AmC18ID;;EC1EM,oBAAA;EACA,iBAAA;EpCwhJL;AoCthJG;;ERMF,gCAAA;EACG,6BAAA;E5BohJJ;AoCrhJG;;ERRF,iCAAA;EACG,8BAAA;E5BiiJJ;AmCp9ID;;EC/EM,mBAAA;EACA,iBAAA;EpCuiJL;AoCriJG;;ERMF,gCAAA;EACG,6BAAA;E5BmiJJ;AoCpiJG;;ERRF,iCAAA;EACG,8BAAA;E5BgjJJ;AqCnjJD;EACE,iBAAA;EACA,gBAAA;EACA,kBAAA;EACA,oBAAA;ErCqjJD;AqCzjJD;EAOI,iBAAA;ErCqjJH;AqC5jJD;;EAUM,uBAAA;EACA,mBAAA;EACA,2BAAA;EACA,2BAAA;EACA,qBAAA;ErCsjJL;AqCpkJD;;EAmBM,uBAAA;EACA,2BAAA;ErCqjJL;AqCzkJD;;EA2BM,cAAA;ErCkjJL;AqC7kJD;;EAkCM,aAAA;ErC+iJL;AqCjlJD;;;;EA2CM,gBAAA;EACA,2BAAA;EACA,qBAAA;ErC4iJL;AsC1lJD;EACE,iBAAA;EACA,yBAAA;EACA,gBAAA;EACA,mBAAA;EACA,gBAAA;EACA,gBAAA;EACA,oBAAA;EACA,qBAAA;EACA,0BAAA;EACA,sBAAA;EtC4lJD;AsCxlJG;;EAEE,gBAAA;EACA,uBAAA;EACA,iBAAA;EtC0lJL;AsCrlJC;EACE,eAAA;EtCulJH;AsCnlJC;EACE,oBAAA;EACA,WAAA;EtCqlJH;AsC9kJD;ECtCE,2BAAA;EvCunJD;AuCpnJG;;EAEE,2BAAA;EvCsnJL;AsCjlJD;EC1CE,2BAAA;EvC8nJD;AuC3nJG;;EAEE,2BAAA;EvC6nJL;AsCplJD;EC9CE,2BAAA;EvCqoJD;AuCloJG;;EAEE,2BAAA;EvCooJL;AsCvlJD;EClDE,2BAAA;EvC4oJD;AuCzoJG;;EAEE,2BAAA;EvC2oJL;AsC1lJD;ECtDE,2BAAA;EvCmpJD;AuChpJG;;EAEE,2BAAA;EvCkpJL;AsC7lJD;EC1DE,2BAAA;EvC0pJD;AuCvpJG;;EAEE,2BAAA;EvCypJL;AwC3pJD;EACE,uBAAA;EACA,iBAAA;EACA,kBAAA;EACA,iBAAA;EACA,mBAAA;EACA,gBAAA;EACA,gBAAA;EACA,0BAAA;EACA,qBAAA;EACA,oBAAA;EACA,2BAAA;EACA,qBAAA;ExC6pJD;AwC1pJC;EACE,eAAA;ExC4pJH;AwCxpJC;EACE,oBAAA;EACA,WAAA;ExC0pJH;AwCvpJC;EACE,QAAA;EACA,kBAAA;ExCypJH;AwCppJG;;EAEE,gBAAA;EACA,uBAAA;EACA,iBAAA;ExCspJL;AwCjpJC;;EAEE,gBAAA;EACA,2BAAA;ExCmpJH;AwChpJC;EACE,cAAA;ExCkpJH;AwC/oJC;EACE,mBAAA;ExCipJH;AwC9oJC;EACE,kBAAA;ExCgpJH;AyCzsJD;EACE,oBAAA;EACA,qBAAA;EACA,gBAAA;EACA,2BAAA;EzC2sJD;AyC/sJD;;EAQI,gBAAA;EzC2sJH;AyCntJD;EAYI,qBAAA;EACA,iBAAA;EACA,kBAAA;EzC0sJH;AyCxtJD;EAkBI,2BAAA;EzCysJH;AyCtsJC;;EAEE,oBAAA;EzCwsJH;AyC/tJD;EA2BI,iBAAA;EzCusJH;AyCtrJD;EAAA;IAbI,iBAAA;IzCusJD;EyCrsJC;;IAEE,oBAAA;IACA,qBAAA;IzCusJH;EyC/rJH;;IAHM,iBAAA;IzCssJH;EACF;A0C/uJD;EACE,gBAAA;EACA,cAAA;EACA,qBAAA;EACA,yBAAA;EACA,2BAAA;EACA,2BAAA;EACA,oBAAA;ErCiLA,6CAAA;EACK,wCAAA;EACG,qCAAA;ELikJT;A0C3vJD;;EAaI,mBAAA;EACA,oBAAA;E1CkvJH;A0C9uJC;;;EAGE,uBAAA;E1CgvJH;A0CrwJD;EA0BI,cAAA;EACA,gBAAA;E1C8uJH;A2CvwJD;EACE,eAAA;EACA,qBAAA;EACA,+BAAA;EACA,oBAAA;E3CywJD;A2C7wJD;EAQI,eAAA;EAEA,gBAAA;E3CuwJH;A2CjxJD;EAeI,mBAAA;E3CqwJH;A2CpxJD;;EAqBI,kBAAA;E3CmwJH;A2CxxJD;EAyBI,iBAAA;E3CkwJH;A2C1vJD;;EAEE,qBAAA;E3C4vJD;A2C9vJD;;EAMI,oBAAA;EACA,WAAA;EACA,cAAA;EACA,gBAAA;E3C4vJH;A2CpvJD;ECvDE,2BAAA;EACA,uBAAA;EACA,gBAAA;E5C8yJD;A2CzvJD;EClDI,2BAAA;E5C8yJH;A2C5vJD;EC/CI,gBAAA;E5C8yJH;A2C3vJD;EC3DE,2BAAA;EACA,uBAAA;EACA,gBAAA;E5CyzJD;A2ChwJD;ECtDI,2BAAA;E5CyzJH;A2CnwJD;ECnDI,gBAAA;E5CyzJH;A2ClwJD;EC/DE,2BAAA;EACA,uBAAA;EACA,gBAAA;E5Co0JD;A2CvwJD;EC1DI,2BAAA;E5Co0JH;A2C1wJD;ECvDI,gBAAA;E5Co0JH;A2CzwJD;ECnEE,2BAAA;EACA,uBAAA;EACA,gBAAA;E5C+0JD;A2C9wJD;EC9DI,2BAAA;E5C+0JH;A2CjxJD;EC3DI,gBAAA;E5C+0JH;A6Cj1JD;EACE;IAAQ,6BAAA;I7Co1JP;E6Cn1JD;IAAQ,0BAAA;I7Cs1JP;EACF;A6Cn1JD;EACE;IAAQ,6BAAA;I7Cs1JP;E6Cr1JD;IAAQ,0BAAA;I7Cw1JP;EACF;A6C31JD;EACE;IAAQ,6BAAA;I7Cs1JP;E6Cr1JD;IAAQ,0BAAA;I7Cw1JP;EACF;A6Cj1JD;EACE,kBAAA;EACA,cAAA;EACA,qBAAA;EACA,2BAAA;EACA,oBAAA;ExCsCA,wDAAA;EACQ,gDAAA;EL8yJT;A6Ch1JD;EACE,aAAA;EACA,WAAA;EACA,cAAA;EACA,iBAAA;EACA,mBAAA;EACA,gBAAA;EACA,oBAAA;EACA,2BAAA;ExCyBA,wDAAA;EACQ,gDAAA;EAyHR,qCAAA;EACK,gCAAA;EACG,6BAAA;ELksJT;A6C70JD;;ECCI,+MAAA;EACA,0MAAA;EACA,uMAAA;EDAF,oCAAA;UAAA,4BAAA;E7Ci1JD;A6C10JD;;ExC5CE,4DAAA;EACK,uDAAA;EACG,oDAAA;EL03JT;A6Cv0JD;EErEE,2BAAA;E/C+4JD;A+C54JC;EDgDE,+MAAA;EACA,0MAAA;EACA,uMAAA;E9C+1JH;A6C30JD;EEzEE,2BAAA;E/Cu5JD;A+Cp5JC;EDgDE,+MAAA;EACA,0MAAA;EACA,uMAAA;E9Cu2JH;A6C/0JD;EE7EE,2BAAA;E/C+5JD;A+C55JC;EDgDE,+MAAA;EACA,0MAAA;EACA,uMAAA;E9C+2JH;A6Cn1JD;EEjFE,2BAAA;E/Cu6JD;A+Cp6JC;EDgDE,+MAAA;EACA,0MAAA;EACA,uMAAA;E9Cu3JH;AgD/6JD;EAEE,kBAAA;EhDg7JD;AgD96JC;EACE,eAAA;EhDg7JH;AgD56JD;;EAEE,SAAA;EACA,kBAAA;EhD86JD;AgD36JD;EACE,gBAAA;EhD66JD;AgD16JD;EACE,gBAAA;EhD46JD;AgDz6JD;;EAEE,oBAAA;EhD26JD;AgDx6JD;;EAEE,qBAAA;EhD06JD;AgDv6JD;;;EAGE,qBAAA;EACA,qBAAA;EhDy6JD;AgDt6JD;EACE,wBAAA;EhDw6JD;AgDr6JD;EACE,wBAAA;EhDu6JD;AgDn6JD;EACE,eAAA;EACA,oBAAA;EhDq6JD;AgD/5JD;EACE,iBAAA;EACA,kBAAA;EhDi6JD;AiDn9JD;EAEE,qBAAA;EACA,iBAAA;EjDo9JD;AiD58JD;EACE,oBAAA;EACA,gBAAA;EACA,oBAAA;EAEA,qBAAA;EACA,2BAAA;EACA,2BAAA;EjD68JD;AiD18JC;ErB3BA,8BAAA;EACC,6BAAA;E5Bw+JF;AiD38JC;EACE,kBAAA;ErBvBF,iCAAA;EACC,gCAAA;E5Bq+JF;AiDp8JD;EACE,gBAAA;EjDs8JD;AiDv8JD;EAII,gBAAA;EjDs8JH;AiDl8JC;;EAEE,uBAAA;EACA,gBAAA;EACA,2BAAA;EjDo8JH;AiD97JC;;;EAGE,2BAAA;EACA,gBAAA;EACA,qBAAA;EjDg8JH;AiDr8JC;;;EASI,gBAAA;EjDi8JL;AiD18JC;;;EAYI,gBAAA;EjDm8JL;AiD97JC;;;EAGE,YAAA;EACA,gBAAA;EACA,2BAAA;EACA,uBAAA;EjDg8JH;AiDt8JC;;;;;;;;;EAYI,gBAAA;EjDq8JL;AiDj9JC;;;EAeI,gBAAA;EjDu8JL;AkDniKC;EACE,gBAAA;EACA,2BAAA;ElDqiKH;AkDniKG;EACE,gBAAA;ElDqiKL;AkDtiKG;EAII,gBAAA;ElDqiKP;AkDliKK;;EAEE,gBAAA;EACA,2BAAA;ElDoiKP;AkDliKK;;;EAGE,aAAA;EACA,2BAAA;EACA,uBAAA;ElDoiKP;AkDzjKC;EACE,gBAAA;EACA,2BAAA;ElD2jKH;AkDzjKG;EACE,gBAAA;ElD2jKL;AkD5jKG;EAII,gBAAA;ElD2jKP;AkDxjKK;;EAEE,gBAAA;EACA,2BAAA;ElD0jKP;AkDxjKK;;;EAGE,aAAA;EACA,2BAAA;EACA,uBAAA;ElD0jKP;AkD/kKC;EACE,gBAAA;EACA,2BAAA;ElDilKH;AkD/kKG;EACE,gBAAA;ElDilKL;AkDllKG;EAII,gBAAA;ElDilKP;AkD9kKK;;EAEE,gBAAA;EACA,2BAAA;ElDglKP;AkD9kKK;;;EAGE,aAAA;EACA,2BAAA;EACA,uBAAA;ElDglKP;AkDrmKC;EACE,gBAAA;EACA,2BAAA;ElDumKH;AkDrmKG;EACE,gBAAA;ElDumKL;AkDxmKG;EAII,gBAAA;ElDumKP;AkDpmKK;;EAEE,gBAAA;EACA,2BAAA;ElDsmKP;AkDpmKK;;;EAGE,aAAA;EACA,2BAAA;EACA,uBAAA;ElDsmKP;AiD1gKD;EACE,eAAA;EACA,oBAAA;EjD4gKD;AiD1gKD;EACE,kBAAA;EACA,kBAAA;EjD4gKD;AmDhoKD;EACE,qBAAA;EACA,2BAAA;EACA,+BAAA;EACA,oBAAA;E9C0DA,mDAAA;EACQ,2CAAA;ELykKT;AmD/nKD;EACE,eAAA;EnDioKD;AmD5nKD;EACE,oBAAA;EACA,sCAAA;EvBpBA,8BAAA;EACC,6BAAA;E5BmpKF;AmDloKD;EAMI,gBAAA;EnD+nKH;AmD1nKD;EACE,eAAA;EACA,kBAAA;EACA,iBAAA;EACA,gBAAA;EnD4nKD;AmDhoKD;;;;;EAWI,gBAAA;EnD4nKH;AmDvnKD;EACE,oBAAA;EACA,2BAAA;EACA,+BAAA;EvBxCA,iCAAA;EACC,gCAAA;E5BkqKF;AmDjnKD;;EAGI,kBAAA;EnDknKH;AmDrnKD;;EAMM,qBAAA;EACA,kBAAA;EnDmnKL;AmD/mKG;;EAEI,eAAA;EvBvEN,8BAAA;EACC,6BAAA;E5ByrKF;AmD9mKG;;EAEI,kBAAA;EvBtEN,iCAAA;EACC,gCAAA;E5BurKF;AmD3mKD;EAEI,qBAAA;EnD4mKH;AmDzmKD;EACE,qBAAA;EnD2mKD;AmDnmKD;;;EAII,kBAAA;EnDomKH;AmDxmKD;;;EAOM,oBAAA;EACA,qBAAA;EnDsmKL;AmD9mKD;;EvBnGE,8BAAA;EACC,6BAAA;E5BqtKF;AmDnnKD;;;;EAmBQ,6BAAA;EACA,8BAAA;EnDsmKP;AmD1nKD;;;;;;;;EAwBU,6BAAA;EnD4mKT;AmDpoKD;;;;;;;;EA4BU,8BAAA;EnDknKT;AmD9oKD;;EvB3FE,iCAAA;EACC,gCAAA;E5B6uKF;AmDnpKD;;;;EAyCQ,gCAAA;EACA,iCAAA;EnDgnKP;AmD1pKD;;;;;;;;EA8CU,gCAAA;EnDsnKT;AmDpqKD;;;;;;;;EAkDU,iCAAA;EnD4nKT;AmD9qKD;;;;EA2DI,+BAAA;EnDynKH;AmDprKD;;EA+DI,eAAA;EnDynKH;AmDxrKD;;EAmEI,WAAA;EnDynKH;AmD5rKD;;;;;;;;;;;;EA0EU,gBAAA;EnDgoKT;AmD1sKD;;;;;;;;;;;;EA8EU,iBAAA;EnD0oKT;AmDxtKD;;;;;;;;EAuFU,kBAAA;EnD2oKT;AmDluKD;;;;;;;;EAgGU,kBAAA;EnD4oKT;AmD5uKD;EAsGI,WAAA;EACA,kBAAA;EnDyoKH;AmD/nKD;EACE,qBAAA;EnDioKD;AmDloKD;EAKI,kBAAA;EACA,oBAAA;EnDgoKH;AmDtoKD;EASM,iBAAA;EnDgoKL;AmDzoKD;EAcI,kBAAA;EnD8nKH;AmD5oKD;;EAkBM,+BAAA;EnD8nKL;AmDhpKD;EAuBI,eAAA;EnD4nKH;AmDnpKD;EAyBM,kCAAA;EnD6nKL;AmDtnKD;ECpPE,uBAAA;EpD62KD;AoD32KC;EACE,gBAAA;EACA,2BAAA;EACA,uBAAA;EpD62KH;AoDh3KC;EAMI,2BAAA;EpD62KL;AoDn3KC;EASI,gBAAA;EACA,2BAAA;EpD62KL;AoD12KC;EAEI,8BAAA;EpD22KL;AmDroKD;ECvPE,uBAAA;EpD+3KD;AoD73KC;EACE,gBAAA;EACA,2BAAA;EACA,uBAAA;EpD+3KH;AoDl4KC;EAMI,2BAAA;EpD+3KL;AoDr4KC;EASI,gBAAA;EACA,2BAAA;EpD+3KL;AoD53KC;EAEI,8BAAA;EpD63KL;AmDppKD;EC1PE,uBAAA;EpDi5KD;AoD/4KC;EACE,gBAAA;EACA,2BAAA;EACA,uBAAA;EpDi5KH;AoDp5KC;EAMI,2BAAA;EpDi5KL;AoDv5KC;EASI,gBAAA;EACA,2BAAA;EpDi5KL;AoD94KC;EAEI,8BAAA;EpD+4KL;AmDnqKD;EC7PE,uBAAA;EpDm6KD;AoDj6KC;EACE,gBAAA;EACA,2BAAA;EACA,uBAAA;EpDm6KH;AoDt6KC;EAMI,2BAAA;EpDm6KL;AoDz6KC;EASI,gBAAA;EACA,2BAAA;EpDm6KL;AoDh6KC;EAEI,8BAAA;EpDi6KL;AmDlrKD;EChQE,uBAAA;EpDq7KD;AoDn7KC;EACE,gBAAA;EACA,2BAAA;EACA,uBAAA;EpDq7KH;AoDx7KC;EAMI,2BAAA;EpDq7KL;AoD37KC;EASI,gBAAA;EACA,2BAAA;EpDq7KL;AoDl7KC;EAEI,8BAAA;EpDm7KL;AmDjsKD;ECnQE,uBAAA;EpDu8KD;AoDr8KC;EACE,gBAAA;EACA,2BAAA;EACA,uBAAA;EpDu8KH;AoD18KC;EAMI,2BAAA;EpDu8KL;AoD78KC;EASI,gBAAA;EACA,2BAAA;EpDu8KL;AoDp8KC;EAEI,8BAAA;EpDq8KL;AqDr9KD;EACE,oBAAA;EACA,gBAAA;EACA,WAAA;EACA,YAAA;EACA,kBAAA;ErDu9KD;AqD59KD;;;;;EAYI,oBAAA;EACA,QAAA;EACA,SAAA;EACA,WAAA;EACA,cAAA;EACA,aAAA;EACA,WAAA;ErDu9KH;AqDn9KC;EACE,wBAAA;ErDq9KH;AqDj9KC;EACE,qBAAA;ErDm9KH;AsD7+KD;EACE,kBAAA;EACA,eAAA;EACA,qBAAA;EACA,2BAAA;EACA,2BAAA;EACA,oBAAA;EjDwDA,yDAAA;EACQ,iDAAA;ELw7KT;AsDv/KD;EASI,oBAAA;EACA,mCAAA;EtDi/KH;AsD5+KD;EACE,eAAA;EACA,oBAAA;EtD8+KD;AsD5+KD;EACE,cAAA;EACA,oBAAA;EtD8+KD;AuDpgLD;EACE,cAAA;EACA,iBAAA;EACA,mBAAA;EACA,gBAAA;EACA,gBAAA;EACA,8BAAA;EjCRA,cAAA;EAGA,2BAAA;EtB6gLD;AuDrgLC;;EAEE,gBAAA;EACA,uBAAA;EACA,iBAAA;EjCfF,cAAA;EAGA,2BAAA;EtBqhLD;AuDjgLC;EACE,YAAA;EACA,iBAAA;EACA,yBAAA;EACA,WAAA;EACA,0BAAA;EvDmgLH;AwDxhLD;EACE,kBAAA;ExD0hLD;AwDthLD;EACE,eAAA;EACA,kBAAA;EACA,iBAAA;EACA,QAAA;EACA,UAAA;EACA,WAAA;EACA,SAAA;EACA,eAAA;EACA,mCAAA;EAIA,YAAA;ExDqhLD;AwDlhLC;EnD+GA,uCAAA;EACI,mCAAA;EACC,kCAAA;EACG,+BAAA;EAkER,qDAAA;EAEK,2CAAA;EACG,qCAAA;ELq2KT;AwDxhLC;EnD2GA,oCAAA;EACI,gCAAA;EACC,+BAAA;EACG,4BAAA;ELg7KT;AwD5hLD;EACE,oBAAA;EACA,kBAAA;ExD8hLD;AwD1hLD;EACE,oBAAA;EACA,aAAA;EACA,cAAA;ExD4hLD;AwDxhLD;EACE,oBAAA;EACA,2BAAA;EACA,2BAAA;EACA,sCAAA;EACA,oBAAA;EnDaA,kDAAA;EACQ,0CAAA;EmDZR,sCAAA;UAAA,8BAAA;EAEA,YAAA;ExD0hLD;AwDthLD;EACE,oBAAA;EACA,QAAA;EACA,UAAA;EACA,SAAA;EACA,2BAAA;ExDwhLD;AwDthLC;ElCnEA,YAAA;EAGA,0BAAA;EtB0lLD;AwDzhLC;ElCpEA,cAAA;EAGA,2BAAA;EtB8lLD;AwDxhLD;EACE,eAAA;EACA,kCAAA;EACA,2BAAA;ExD0hLD;AwDvhLD;EACE,kBAAA;ExDyhLD;AwDrhLD;EACE,WAAA;EACA,yBAAA;ExDuhLD;AwDlhLD;EACE,oBAAA;EACA,eAAA;ExDohLD;AwDhhLD;EACE,eAAA;EACA,mBAAA;EACA,+BAAA;ExDkhLD;AwDrhLD;EAQI,kBAAA;EACA,kBAAA;ExDghLH;AwDzhLD;EAaI,mBAAA;ExD+gLH;AwD5hLD;EAiBI,gBAAA;ExD8gLH;AwDzgLD;EACE,oBAAA;EACA,cAAA;EACA,aAAA;EACA,cAAA;EACA,kBAAA;ExD2gLD;AwDz/KD;EAZE;IACE,cAAA;IACA,mBAAA;IxDwgLD;EwDtgLD;InDrEA,mDAAA;IACQ,2CAAA;IL8kLP;EwDrgLD;IAAY,cAAA;IxDwgLX;EACF;AwDngLD;EAFE;IAAY,cAAA;IxDygLX;EACF;AyDtpLD;EACE,oBAAA;EACA,eAAA;EACA,gBAAA;EACA,qBAAA;EAEA,6DAAA;EACA,iBAAA;EACA,qBAAA;EACA,kBAAA;EnCZA,YAAA;EAGA,0BAAA;EtBkqLD;AyDtpLC;EnCfA,cAAA;EAGA,2BAAA;EtBsqLD;AyDzpLC;EAAW,kBAAA;EAAmB,gBAAA;EzD6pL/B;AyD5pLC;EAAW,kBAAA;EAAmB,gBAAA;EzDgqL/B;AyD/pLC;EAAW,iBAAA;EAAmB,gBAAA;EzDmqL/B;AyDlqLC;EAAW,mBAAA;EAAmB,gBAAA;EzDsqL/B;AyDlqLD;EACE,kBAAA;EACA,kBAAA;EACA,gBAAA;EACA,oBAAA;EACA,uBAAA;EACA,2BAAA;EACA,oBAAA;EzDoqLD;AyDhqLD;EACE,oBAAA;EACA,UAAA;EACA,WAAA;EACA,2BAAA;EACA,qBAAA;EzDkqLD;AyD9pLC;EACE,WAAA;EACA,WAAA;EACA,mBAAA;EACA,yBAAA;EACA,2BAAA;EzDgqLH;AyD9pLC;EACE,WAAA;EACA,YAAA;EACA,qBAAA;EACA,yBAAA;EACA,2BAAA;EzDgqLH;AyD9pLC;EACE,WAAA;EACA,WAAA;EACA,qBAAA;EACA,yBAAA;EACA,2BAAA;EzDgqLH;AyD9pLC;EACE,UAAA;EACA,SAAA;EACA,kBAAA;EACA,6BAAA;EACA,6BAAA;EzDgqLH;AyD9pLC;EACE,UAAA;EACA,UAAA;EACA,kBAAA;EACA,6BAAA;EACA,4BAAA;EzDgqLH;AyD9pLC;EACE,QAAA;EACA,WAAA;EACA,mBAAA;EACA,yBAAA;EACA,8BAAA;EzDgqLH;AyD9pLC;EACE,QAAA;EACA,YAAA;EACA,kBAAA;EACA,yBAAA;EACA,8BAAA;EzDgqLH;AyD9pLC;EACE,QAAA;EACA,WAAA;EACA,kBAAA;EACA,yBAAA;EACA,8BAAA;EzDgqLH;A0D/vLD;EACE,oBAAA;EACA,QAAA;EACA,SAAA;EACA,eAAA;EACA,eAAA;EACA,kBAAA;EACA,cAAA;EAEA,6DAAA;EACA,iBAAA;EACA,qBAAA;EACA,yBAAA;EACA,kBAAA;EACA,2BAAA;EACA,sCAAA;UAAA,8BAAA;EACA,2BAAA;EACA,sCAAA;EACA,oBAAA;ErD6CA,mDAAA;EACQ,2CAAA;EqD1CR,qBAAA;E1D+vLD;A0D5vLC;EAAY,mBAAA;E1D+vLb;A0D9vLC;EAAY,mBAAA;E1DiwLb;A0DhwLC;EAAY,kBAAA;E1DmwLb;A0DlwLC;EAAY,oBAAA;E1DqwLb;A0DlwLD;EACE,WAAA;EACA,mBAAA;EACA,iBAAA;EACA,2BAAA;EACA,kCAAA;EACA,4BAAA;E1DowLD;A0DjwLD;EACE,mBAAA;E1DmwLD;A0D3vLC;;EAEE,oBAAA;EACA,gBAAA;EACA,UAAA;EACA,WAAA;EACA,2BAAA;EACA,qBAAA;E1D6vLH;A0D1vLD;EACE,oBAAA;E1D4vLD;A0D1vLD;EACE,oBAAA;EACA,aAAA;E1D4vLD;A0DxvLC;EACE,WAAA;EACA,oBAAA;EACA,wBAAA;EACA,2BAAA;EACA,uCAAA;EACA,eAAA;E1D0vLH;A0DzvLG;EACE,cAAA;EACA,aAAA;EACA,oBAAA;EACA,wBAAA;EACA,2BAAA;E1D2vLL;A0DxvLC;EACE,UAAA;EACA,aAAA;EACA,mBAAA;EACA,sBAAA;EACA,6BAAA;EACA,yCAAA;E1D0vLH;A0DzvLG;EACE,cAAA;EACA,WAAA;EACA,eAAA;EACA,sBAAA;EACA,6BAAA;E1D2vLL;A0DxvLC;EACE,WAAA;EACA,oBAAA;EACA,qBAAA;EACA,8BAAA;EACA,0CAAA;EACA,YAAA;E1D0vLH;A0DzvLG;EACE,cAAA;EACA,UAAA;EACA,oBAAA;EACA,qBAAA;EACA,8BAAA;E1D2vLL;A0DvvLC;EACE,UAAA;EACA,cAAA;EACA,mBAAA;EACA,uBAAA;EACA,4BAAA;EACA,wCAAA;E1DyvLH;A0DxvLG;EACE,cAAA;EACA,YAAA;EACA,uBAAA;EACA,4BAAA;EACA,eAAA;E1D0vLL;A2Dv3LD;EACE,oBAAA;E3Dy3LD;A2Dt3LD;EACE,oBAAA;EACA,kBAAA;EACA,aAAA;E3Dw3LD;A2D33LD;EAMI,eAAA;EACA,oBAAA;EtD6KF,2CAAA;EACK,sCAAA;EACG,mCAAA;EL4sLT;A2Dl4LD;;EAcM,gBAAA;E3Dw3LL;A2D91LC;EAAA;ItDiKA,wDAAA;IAEK,8CAAA;IACG,wCAAA;IA7JR,qCAAA;IAEQ,6BAAA;IA+GR,2BAAA;IAEQ,mBAAA;ILivLP;E2D53LG;;ItDmHJ,4CAAA;IACQ,oCAAA;IsDjHF,SAAA;I3D+3LL;E2D73LG;;ItD8GJ,6CAAA;IACQ,qCAAA;IsD5GF,SAAA;I3Dg4LL;E2D93LG;;;ItDyGJ,yCAAA;IACQ,iCAAA;IsDtGF,SAAA;I3Di4LL;EACF;A2Dv6LD;;;EA6CI,gBAAA;E3D+3LH;A2D56LD;EAiDI,SAAA;E3D83LH;A2D/6LD;;EAsDI,oBAAA;EACA,QAAA;EACA,aAAA;E3D63LH;A2Dr7LD;EA4DI,YAAA;E3D43LH;A2Dx7LD;EA+DI,aAAA;E3D43LH;A2D37LD;;EAmEI,SAAA;E3D43LH;A2D/7LD;EAuEI,aAAA;E3D23LH;A2Dl8LD;EA0EI,YAAA;E3D23LH;A2Dn3LD;EACE,oBAAA;EACA,QAAA;EACA,SAAA;EACA,WAAA;EACA,YAAA;ErC9FA,cAAA;EAGA,2BAAA;EqC6FA,iBAAA;EACA,gBAAA;EACA,oBAAA;EACA,2CAAA;E3Ds3LD;A2Dj3LC;EblGE,oGAAA;EACA,+FAAA;EACA,sHAAA;EAAA,gGAAA;EACA,6BAAA;EACA,wHAAA;E9Cs9LH;A2Dr3LC;EACE,YAAA;EACA,UAAA;EbvGA,oGAAA;EACA,+FAAA;EACA,sHAAA;EAAA,gGAAA;EACA,6BAAA;EACA,wHAAA;E9C+9LH;A2Dv3LC;;EAEE,YAAA;EACA,gBAAA;EACA,uBAAA;ErCtHF,cAAA;EAGA,2BAAA;EtB8+LD;A2Dx5LD;;;;EAsCI,oBAAA;EACA,UAAA;EACA,YAAA;EACA,uBAAA;E3Dw3LH;A2Dj6LD;;EA6CI,WAAA;EACA,oBAAA;E3Dw3LH;A2Dt6LD;;EAkDI,YAAA;EACA,qBAAA;E3Dw3LH;A2D36LD;;EAuDI,aAAA;EACA,cAAA;EACA,mBAAA;EACA,gBAAA;EACA,oBAAA;E3Dw3LH;A2Dn3LG;EACE,kBAAA;E3Dq3LL;A2Dj3LG;EACE,kBAAA;E3Dm3LL;A2Dz2LD;EACE,oBAAA;EACA,cAAA;EACA,WAAA;EACA,aAAA;EACA,YAAA;EACA,mBAAA;EACA,iBAAA;EACA,kBAAA;EACA,oBAAA;E3D22LD;A2Dp3LD;EAYI,uBAAA;EACA,aAAA;EACA,cAAA;EACA,aAAA;EACA,qBAAA;EACA,2BAAA;EACA,qBAAA;EACA,iBAAA;EAWA,2BAAA;EACA,oCAAA;E3Di2LH;A2Dh4LD;EAkCI,WAAA;EACA,aAAA;EACA,cAAA;EACA,2BAAA;E3Di2LH;A2D11LD;EACE,oBAAA;EACA,WAAA;EACA,YAAA;EACA,cAAA;EACA,aAAA;EACA,mBAAA;EACA,sBAAA;EACA,gBAAA;EACA,oBAAA;EACA,2CAAA;E3D41LD;A2D31LC;EACE,mBAAA;E3D61LH;A2DpzLD;EAhCE;;;;IAKI,aAAA;IACA,cAAA;IACA,mBAAA;IACA,iBAAA;I3Ds1LH;E2D91LD;;IAYI,oBAAA;I3Ds1LH;E2Dl2LD;;IAgBI,qBAAA;I3Ds1LH;E2Dj1LD;IACE,WAAA;IACA,YAAA;IACA,sBAAA;I3Dm1LD;E2D/0LD;IACE,cAAA;I3Di1LD;EACF;A4D/kMC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEE,cAAA;EACA,gBAAA;E5D6mMH;A4D3mMC;;;;;;;;;;;;;;;EACE,aAAA;E5D2nMH;AiCnoMD;E4BRE,gBAAA;EACA,mBAAA;EACA,oBAAA;E7D8oMD;AiCroMD;EACE,yBAAA;EjCuoMD;AiCroMD;EACE,wBAAA;EjCuoMD;AiC/nMD;EACE,0BAAA;EjCioMD;AiC/nMD;EACE,2BAAA;EjCioMD;AiC/nMD;EACE,oBAAA;EjCioMD;AiC/nMD;E6BzBE,aAAA;EACA,oBAAA;EACA,mBAAA;EACA,+BAAA;EACA,WAAA;E9D2pMD;AiC7nMD;EACE,0BAAA;EACA,+BAAA;EjC+nMD;AiCxnMD;EACE,iBAAA;EjC0nMD;A+D5pMD;EACE,qBAAA;E/D8pMD;A+DxpMD;;;;ECdE,0BAAA;EhE4qMD;A+DvpMD;;;;;;;;;;;;EAYE,0BAAA;E/DypMD;A+DlpMD;EAAA;IChDE,2BAAA;IhEssMC;EgErsMD;IAAU,gBAAA;IhEwsMT;EgEvsMD;IAAU,+BAAA;IhE0sMT;EgEzsMD;;IACU,gCAAA;IhE4sMT;EACF;A+D5pMD;EAAA;IAFI,2BAAA;I/DkqMD;EACF;A+D5pMD;EAAA;IAFI,4BAAA;I/DkqMD;EACF;A+D5pMD;EAAA;IAFI,kCAAA;I/DkqMD;EACF;A+D3pMD;EAAA;ICrEE,2BAAA;IhEouMC;EgEnuMD;IAAU,gBAAA;IhEsuMT;EgEruMD;IAAU,+BAAA;IhEwuMT;EgEvuMD;;IACU,gCAAA;IhE0uMT;EACF;A+DrqMD;EAAA;IAFI,2BAAA;I/D2qMD;EACF;A+DrqMD;EAAA;IAFI,4BAAA;I/D2qMD;EACF;A+DrqMD;EAAA;IAFI,kCAAA;I/D2qMD;EACF;A+DpqMD;EAAA;IC1FE,2BAAA;IhEkwMC;EgEjwMD;IAAU,gBAAA;IhEowMT;EgEnwMD;IAAU,+BAAA;IhEswMT;EgErwMD;;IACU,gCAAA;IhEwwMT;EACF;A+D9qMD;EAAA;IAFI,2BAAA;I/DorMD;EACF;A+D9qMD;EAAA;IAFI,4BAAA;I/DorMD;EACF;A+D9qMD;EAAA;IAFI,kCAAA;I/DorMD;EACF;A+D7qMD;EAAA;IC/GE,2BAAA;IhEgyMC;EgE/xMD;IAAU,gBAAA;IhEkyMT;EgEjyMD;IAAU,+BAAA;IhEoyMT;EgEnyMD;;IACU,gCAAA;IhEsyMT;EACF;A+DvrMD;EAAA;IAFI,2BAAA;I/D6rMD;EACF;A+DvrMD;EAAA;IAFI,4BAAA;I/D6rMD;EACF;A+DvrMD;EAAA;IAFI,kCAAA;I/D6rMD;EACF;A+DtrMD;EAAA;IC5HE,0BAAA;IhEszMC;EACF;A+DtrMD;EAAA;ICjIE,0BAAA;IhE2zMC;EACF;A+DtrMD;EAAA;ICtIE,0BAAA;IhEg0MC;EACF;A+DtrMD;EAAA;IC3IE,0BAAA;IhEq0MC;EACF;A+DnrMD;ECnJE,0BAAA;EhEy0MD;A+DhrMD;EAAA;ICjKE,2BAAA;IhEq1MC;EgEp1MD;IAAU,gBAAA;IhEu1MT;EgEt1MD;IAAU,+BAAA;IhEy1MT;EgEx1MD;;IACU,gCAAA;IhE21MT;EACF;A+D9rMD;EACE,0BAAA;E/DgsMD;A+D3rMD;EAAA;IAFI,2BAAA;I/DisMD;EACF;A+D/rMD;EACE,0BAAA;E/DisMD;A+D5rMD;EAAA;IAFI,4BAAA;I/DksMD;EACF;A+DhsMD;EACE,0BAAA;E/DksMD;A+D7rMD;EAAA;IAFI,kCAAA;I/DmsMD;EACF;A+D5rMD;EAAA;ICpLE,0BAAA;IhEo3MC;EACF","file":"bootstrap.css","sourcesContent":["/*! normalize.css v3.0.2 | MIT License | git.io/normalize */\nhtml {\n font-family: sans-serif;\n -ms-text-size-adjust: 100%;\n -webkit-text-size-adjust: 100%;\n}\nbody {\n margin: 0;\n}\narticle,\naside,\ndetails,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nmain,\nmenu,\nnav,\nsection,\nsummary {\n display: block;\n}\naudio,\ncanvas,\nprogress,\nvideo {\n display: inline-block;\n vertical-align: baseline;\n}\naudio:not([controls]) {\n display: none;\n height: 0;\n}\n[hidden],\ntemplate {\n display: none;\n}\na {\n background-color: transparent;\n}\na:active,\na:hover {\n outline: 0;\n}\nabbr[title] {\n border-bottom: 1px dotted;\n}\nb,\nstrong {\n font-weight: bold;\n}\ndfn {\n font-style: italic;\n}\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\nmark {\n background: #ff0;\n color: #000;\n}\nsmall {\n font-size: 80%;\n}\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\nsup {\n top: -0.5em;\n}\nsub {\n bottom: -0.25em;\n}\nimg {\n border: 0;\n}\nsvg:not(:root) {\n overflow: hidden;\n}\nfigure {\n margin: 1em 40px;\n}\nhr {\n -moz-box-sizing: content-box;\n box-sizing: content-box;\n height: 0;\n}\npre {\n overflow: auto;\n}\ncode,\nkbd,\npre,\nsamp {\n font-family: monospace, monospace;\n font-size: 1em;\n}\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n color: inherit;\n font: inherit;\n margin: 0;\n}\nbutton {\n overflow: visible;\n}\nbutton,\nselect {\n text-transform: none;\n}\nbutton,\nhtml input[type=\"button\"],\ninput[type=\"reset\"],\ninput[type=\"submit\"] {\n -webkit-appearance: button;\n cursor: pointer;\n}\nbutton[disabled],\nhtml input[disabled] {\n cursor: default;\n}\nbutton::-moz-focus-inner,\ninput::-moz-focus-inner {\n border: 0;\n padding: 0;\n}\ninput {\n line-height: normal;\n}\ninput[type=\"checkbox\"],\ninput[type=\"radio\"] {\n box-sizing: border-box;\n padding: 0;\n}\ninput[type=\"number\"]::-webkit-inner-spin-button,\ninput[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\ninput[type=\"search\"] {\n -webkit-appearance: textfield;\n -moz-box-sizing: content-box;\n -webkit-box-sizing: content-box;\n box-sizing: content-box;\n}\ninput[type=\"search\"]::-webkit-search-cancel-button,\ninput[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\nfieldset {\n border: 1px solid #c0c0c0;\n margin: 0 2px;\n padding: 0.35em 0.625em 0.75em;\n}\nlegend {\n border: 0;\n padding: 0;\n}\ntextarea {\n overflow: auto;\n}\noptgroup {\n font-weight: bold;\n}\ntable {\n border-collapse: collapse;\n border-spacing: 0;\n}\ntd,\nth {\n padding: 0;\n}\n/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */\n@media print {\n *,\n *:before,\n *:after {\n background: transparent !important;\n color: #000 !important;\n box-shadow: none !important;\n text-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^=\"#\"]:after,\n a[href^=\"javascript:\"]: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 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 .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 td,\n .table th {\n background-color: #fff !important;\n }\n .table-bordered th,\n .table-bordered td {\n border: 1px solid #ddd !important;\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.woff2') format('woff2'), 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.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.glyphicon-asterisk:before {\n content: \"\\2a\";\n}\n.glyphicon-plus:before {\n content: \"\\2b\";\n}\n.glyphicon-euro:before,\n.glyphicon-eur:before {\n content: \"\\20ac\";\n}\n.glyphicon-minus:before {\n content: \"\\2212\";\n}\n.glyphicon-cloud:before {\n content: \"\\2601\";\n}\n.glyphicon-envelope:before {\n content: \"\\2709\";\n}\n.glyphicon-pencil:before {\n content: \"\\270f\";\n}\n.glyphicon-glass:before {\n content: \"\\e001\";\n}\n.glyphicon-music:before {\n content: \"\\e002\";\n}\n.glyphicon-search:before {\n content: \"\\e003\";\n}\n.glyphicon-heart:before {\n content: \"\\e005\";\n}\n.glyphicon-star:before {\n content: \"\\e006\";\n}\n.glyphicon-star-empty:before {\n content: \"\\e007\";\n}\n.glyphicon-user:before {\n content: \"\\e008\";\n}\n.glyphicon-film:before {\n content: \"\\e009\";\n}\n.glyphicon-th-large:before {\n content: \"\\e010\";\n}\n.glyphicon-th:before {\n content: \"\\e011\";\n}\n.glyphicon-th-list:before {\n content: \"\\e012\";\n}\n.glyphicon-ok:before {\n content: \"\\e013\";\n}\n.glyphicon-remove:before {\n content: \"\\e014\";\n}\n.glyphicon-zoom-in:before {\n content: \"\\e015\";\n}\n.glyphicon-zoom-out:before {\n content: \"\\e016\";\n}\n.glyphicon-off:before {\n content: \"\\e017\";\n}\n.glyphicon-signal:before {\n content: \"\\e018\";\n}\n.glyphicon-cog:before {\n content: \"\\e019\";\n}\n.glyphicon-trash:before {\n content: \"\\e020\";\n}\n.glyphicon-home:before {\n content: \"\\e021\";\n}\n.glyphicon-file:before {\n content: \"\\e022\";\n}\n.glyphicon-time:before {\n content: \"\\e023\";\n}\n.glyphicon-road:before {\n content: \"\\e024\";\n}\n.glyphicon-download-alt:before {\n content: \"\\e025\";\n}\n.glyphicon-download:before {\n content: \"\\e026\";\n}\n.glyphicon-upload:before {\n content: \"\\e027\";\n}\n.glyphicon-inbox:before {\n content: \"\\e028\";\n}\n.glyphicon-play-circle:before {\n content: \"\\e029\";\n}\n.glyphicon-repeat:before {\n content: \"\\e030\";\n}\n.glyphicon-refresh:before {\n content: \"\\e031\";\n}\n.glyphicon-list-alt:before {\n content: \"\\e032\";\n}\n.glyphicon-lock:before {\n content: \"\\e033\";\n}\n.glyphicon-flag:before {\n content: \"\\e034\";\n}\n.glyphicon-headphones:before {\n content: \"\\e035\";\n}\n.glyphicon-volume-off:before {\n content: \"\\e036\";\n}\n.glyphicon-volume-down:before {\n content: \"\\e037\";\n}\n.glyphicon-volume-up:before {\n content: \"\\e038\";\n}\n.glyphicon-qrcode:before {\n content: \"\\e039\";\n}\n.glyphicon-barcode:before {\n content: \"\\e040\";\n}\n.glyphicon-tag:before {\n content: \"\\e041\";\n}\n.glyphicon-tags:before {\n content: \"\\e042\";\n}\n.glyphicon-book:before {\n content: \"\\e043\";\n}\n.glyphicon-bookmark:before {\n content: \"\\e044\";\n}\n.glyphicon-print:before {\n content: \"\\e045\";\n}\n.glyphicon-camera:before {\n content: \"\\e046\";\n}\n.glyphicon-font:before {\n content: \"\\e047\";\n}\n.glyphicon-bold:before {\n content: \"\\e048\";\n}\n.glyphicon-italic:before {\n content: \"\\e049\";\n}\n.glyphicon-text-height:before {\n content: \"\\e050\";\n}\n.glyphicon-text-width:before {\n content: \"\\e051\";\n}\n.glyphicon-align-left:before {\n content: \"\\e052\";\n}\n.glyphicon-align-center:before {\n content: \"\\e053\";\n}\n.glyphicon-align-right:before {\n content: \"\\e054\";\n}\n.glyphicon-align-justify:before {\n content: \"\\e055\";\n}\n.glyphicon-list:before {\n content: \"\\e056\";\n}\n.glyphicon-indent-left:before {\n content: \"\\e057\";\n}\n.glyphicon-indent-right:before {\n content: \"\\e058\";\n}\n.glyphicon-facetime-video:before {\n content: \"\\e059\";\n}\n.glyphicon-picture:before {\n content: \"\\e060\";\n}\n.glyphicon-map-marker:before {\n content: \"\\e062\";\n}\n.glyphicon-adjust:before {\n content: \"\\e063\";\n}\n.glyphicon-tint:before {\n content: \"\\e064\";\n}\n.glyphicon-edit:before {\n content: \"\\e065\";\n}\n.glyphicon-share:before {\n content: \"\\e066\";\n}\n.glyphicon-check:before {\n content: \"\\e067\";\n}\n.glyphicon-move:before {\n content: \"\\e068\";\n}\n.glyphicon-step-backward:before {\n content: \"\\e069\";\n}\n.glyphicon-fast-backward:before {\n content: \"\\e070\";\n}\n.glyphicon-backward:before {\n content: \"\\e071\";\n}\n.glyphicon-play:before {\n content: \"\\e072\";\n}\n.glyphicon-pause:before {\n content: \"\\e073\";\n}\n.glyphicon-stop:before {\n content: \"\\e074\";\n}\n.glyphicon-forward:before {\n content: \"\\e075\";\n}\n.glyphicon-fast-forward:before {\n content: \"\\e076\";\n}\n.glyphicon-step-forward:before {\n content: \"\\e077\";\n}\n.glyphicon-eject:before {\n content: \"\\e078\";\n}\n.glyphicon-chevron-left:before {\n content: \"\\e079\";\n}\n.glyphicon-chevron-right:before {\n content: \"\\e080\";\n}\n.glyphicon-plus-sign:before {\n content: \"\\e081\";\n}\n.glyphicon-minus-sign:before {\n content: \"\\e082\";\n}\n.glyphicon-remove-sign:before {\n content: \"\\e083\";\n}\n.glyphicon-ok-sign:before {\n content: \"\\e084\";\n}\n.glyphicon-question-sign:before {\n content: \"\\e085\";\n}\n.glyphicon-info-sign:before {\n content: \"\\e086\";\n}\n.glyphicon-screenshot:before {\n content: \"\\e087\";\n}\n.glyphicon-remove-circle:before {\n content: \"\\e088\";\n}\n.glyphicon-ok-circle:before {\n content: \"\\e089\";\n}\n.glyphicon-ban-circle:before {\n content: \"\\e090\";\n}\n.glyphicon-arrow-left:before {\n content: \"\\e091\";\n}\n.glyphicon-arrow-right:before {\n content: \"\\e092\";\n}\n.glyphicon-arrow-up:before {\n content: \"\\e093\";\n}\n.glyphicon-arrow-down:before {\n content: \"\\e094\";\n}\n.glyphicon-share-alt:before {\n content: \"\\e095\";\n}\n.glyphicon-resize-full:before {\n content: \"\\e096\";\n}\n.glyphicon-resize-small:before {\n content: \"\\e097\";\n}\n.glyphicon-exclamation-sign:before {\n content: \"\\e101\";\n}\n.glyphicon-gift:before {\n content: \"\\e102\";\n}\n.glyphicon-leaf:before {\n content: \"\\e103\";\n}\n.glyphicon-fire:before {\n content: \"\\e104\";\n}\n.glyphicon-eye-open:before {\n content: \"\\e105\";\n}\n.glyphicon-eye-close:before {\n content: \"\\e106\";\n}\n.glyphicon-warning-sign:before {\n content: \"\\e107\";\n}\n.glyphicon-plane:before {\n content: \"\\e108\";\n}\n.glyphicon-calendar:before {\n content: \"\\e109\";\n}\n.glyphicon-random:before {\n content: \"\\e110\";\n}\n.glyphicon-comment:before {\n content: \"\\e111\";\n}\n.glyphicon-magnet:before {\n content: \"\\e112\";\n}\n.glyphicon-chevron-up:before {\n content: \"\\e113\";\n}\n.glyphicon-chevron-down:before {\n content: \"\\e114\";\n}\n.glyphicon-retweet:before {\n content: \"\\e115\";\n}\n.glyphicon-shopping-cart:before {\n content: \"\\e116\";\n}\n.glyphicon-folder-close:before {\n content: \"\\e117\";\n}\n.glyphicon-folder-open:before {\n content: \"\\e118\";\n}\n.glyphicon-resize-vertical:before {\n content: \"\\e119\";\n}\n.glyphicon-resize-horizontal:before {\n content: \"\\e120\";\n}\n.glyphicon-hdd:before {\n content: \"\\e121\";\n}\n.glyphicon-bullhorn:before {\n content: \"\\e122\";\n}\n.glyphicon-bell:before {\n content: \"\\e123\";\n}\n.glyphicon-certificate:before {\n content: \"\\e124\";\n}\n.glyphicon-thumbs-up:before {\n content: \"\\e125\";\n}\n.glyphicon-thumbs-down:before {\n content: \"\\e126\";\n}\n.glyphicon-hand-right:before {\n content: \"\\e127\";\n}\n.glyphicon-hand-left:before {\n content: \"\\e128\";\n}\n.glyphicon-hand-up:before {\n content: \"\\e129\";\n}\n.glyphicon-hand-down:before {\n content: \"\\e130\";\n}\n.glyphicon-circle-arrow-right:before {\n content: \"\\e131\";\n}\n.glyphicon-circle-arrow-left:before {\n content: \"\\e132\";\n}\n.glyphicon-circle-arrow-up:before {\n content: \"\\e133\";\n}\n.glyphicon-circle-arrow-down:before {\n content: \"\\e134\";\n}\n.glyphicon-globe:before {\n content: \"\\e135\";\n}\n.glyphicon-wrench:before {\n content: \"\\e136\";\n}\n.glyphicon-tasks:before {\n content: \"\\e137\";\n}\n.glyphicon-filter:before {\n content: \"\\e138\";\n}\n.glyphicon-briefcase:before {\n content: \"\\e139\";\n}\n.glyphicon-fullscreen:before {\n content: \"\\e140\";\n}\n.glyphicon-dashboard:before {\n content: \"\\e141\";\n}\n.glyphicon-paperclip:before {\n content: \"\\e142\";\n}\n.glyphicon-heart-empty:before {\n content: \"\\e143\";\n}\n.glyphicon-link:before {\n content: \"\\e144\";\n}\n.glyphicon-phone:before {\n content: \"\\e145\";\n}\n.glyphicon-pushpin:before {\n content: \"\\e146\";\n}\n.glyphicon-usd:before {\n content: \"\\e148\";\n}\n.glyphicon-gbp:before {\n content: \"\\e149\";\n}\n.glyphicon-sort:before {\n content: \"\\e150\";\n}\n.glyphicon-sort-by-alphabet:before {\n content: \"\\e151\";\n}\n.glyphicon-sort-by-alphabet-alt:before {\n content: \"\\e152\";\n}\n.glyphicon-sort-by-order:before {\n content: \"\\e153\";\n}\n.glyphicon-sort-by-order-alt:before {\n content: \"\\e154\";\n}\n.glyphicon-sort-by-attributes:before {\n content: \"\\e155\";\n}\n.glyphicon-sort-by-attributes-alt:before {\n content: \"\\e156\";\n}\n.glyphicon-unchecked:before {\n content: \"\\e157\";\n}\n.glyphicon-expand:before {\n content: \"\\e158\";\n}\n.glyphicon-collapse-down:before {\n content: \"\\e159\";\n}\n.glyphicon-collapse-up:before {\n content: \"\\e160\";\n}\n.glyphicon-log-in:before {\n content: \"\\e161\";\n}\n.glyphicon-flash:before {\n content: \"\\e162\";\n}\n.glyphicon-log-out:before {\n content: \"\\e163\";\n}\n.glyphicon-new-window:before {\n content: \"\\e164\";\n}\n.glyphicon-record:before {\n content: \"\\e165\";\n}\n.glyphicon-save:before {\n content: \"\\e166\";\n}\n.glyphicon-open:before {\n content: \"\\e167\";\n}\n.glyphicon-saved:before {\n content: \"\\e168\";\n}\n.glyphicon-import:before {\n content: \"\\e169\";\n}\n.glyphicon-export:before {\n content: \"\\e170\";\n}\n.glyphicon-send:before {\n content: \"\\e171\";\n}\n.glyphicon-floppy-disk:before {\n content: \"\\e172\";\n}\n.glyphicon-floppy-saved:before {\n content: \"\\e173\";\n}\n.glyphicon-floppy-remove:before {\n content: \"\\e174\";\n}\n.glyphicon-floppy-save:before {\n content: \"\\e175\";\n}\n.glyphicon-floppy-open:before {\n content: \"\\e176\";\n}\n.glyphicon-credit-card:before {\n content: \"\\e177\";\n}\n.glyphicon-transfer:before {\n content: \"\\e178\";\n}\n.glyphicon-cutlery:before {\n content: \"\\e179\";\n}\n.glyphicon-header:before {\n content: \"\\e180\";\n}\n.glyphicon-compressed:before {\n content: \"\\e181\";\n}\n.glyphicon-earphone:before {\n content: \"\\e182\";\n}\n.glyphicon-phone-alt:before {\n content: \"\\e183\";\n}\n.glyphicon-tower:before {\n content: \"\\e184\";\n}\n.glyphicon-stats:before {\n content: \"\\e185\";\n}\n.glyphicon-sd-video:before {\n content: \"\\e186\";\n}\n.glyphicon-hd-video:before {\n content: \"\\e187\";\n}\n.glyphicon-subtitles:before {\n content: \"\\e188\";\n}\n.glyphicon-sound-stereo:before {\n content: \"\\e189\";\n}\n.glyphicon-sound-dolby:before {\n content: \"\\e190\";\n}\n.glyphicon-sound-5-1:before {\n content: \"\\e191\";\n}\n.glyphicon-sound-6-1:before {\n content: \"\\e192\";\n}\n.glyphicon-sound-7-1:before {\n content: \"\\e193\";\n}\n.glyphicon-copyright-mark:before {\n content: \"\\e194\";\n}\n.glyphicon-registration-mark:before {\n content: \"\\e195\";\n}\n.glyphicon-cloud-download:before {\n content: \"\\e197\";\n}\n.glyphicon-cloud-upload:before {\n content: \"\\e198\";\n}\n.glyphicon-tree-conifer:before {\n content: \"\\e199\";\n}\n.glyphicon-tree-deciduous:before {\n content: \"\\e200\";\n}\n.glyphicon-cd:before {\n content: \"\\e201\";\n}\n.glyphicon-save-file:before {\n content: \"\\e202\";\n}\n.glyphicon-open-file:before {\n content: \"\\e203\";\n}\n.glyphicon-level-up:before {\n content: \"\\e204\";\n}\n.glyphicon-copy:before {\n content: \"\\e205\";\n}\n.glyphicon-paste:before {\n content: \"\\e206\";\n}\n.glyphicon-alert:before {\n content: \"\\e209\";\n}\n.glyphicon-equalizer:before {\n content: \"\\e210\";\n}\n.glyphicon-king:before {\n content: \"\\e211\";\n}\n.glyphicon-queen:before {\n content: \"\\e212\";\n}\n.glyphicon-pawn:before {\n content: \"\\e213\";\n}\n.glyphicon-bishop:before {\n content: \"\\e214\";\n}\n.glyphicon-knight:before {\n content: \"\\e215\";\n}\n.glyphicon-baby-formula:before {\n content: \"\\e216\";\n}\n.glyphicon-tent:before {\n content: \"\\26fa\";\n}\n.glyphicon-blackboard:before {\n content: \"\\e218\";\n}\n.glyphicon-bed:before {\n content: \"\\e219\";\n}\n.glyphicon-apple:before {\n content: \"\\f8ff\";\n}\n.glyphicon-erase:before {\n content: \"\\e221\";\n}\n.glyphicon-hourglass:before {\n content: \"\\231b\";\n}\n.glyphicon-lamp:before {\n content: \"\\e223\";\n}\n.glyphicon-duplicate:before {\n content: \"\\e224\";\n}\n.glyphicon-piggy-bank:before {\n content: \"\\e225\";\n}\n.glyphicon-scissors:before {\n content: \"\\e226\";\n}\n.glyphicon-bitcoin:before {\n content: \"\\e227\";\n}\n.glyphicon-yen:before {\n content: \"\\00a5\";\n}\n.glyphicon-ruble:before {\n content: \"\\20bd\";\n}\n.glyphicon-scale:before {\n content: \"\\e230\";\n}\n.glyphicon-ice-lolly:before {\n content: \"\\e231\";\n}\n.glyphicon-ice-lolly-tasted:before {\n content: \"\\e232\";\n}\n.glyphicon-education:before {\n content: \"\\e233\";\n}\n.glyphicon-option-horizontal:before {\n content: \"\\e234\";\n}\n.glyphicon-option-vertical:before {\n content: \"\\e235\";\n}\n.glyphicon-menu-hamburger:before {\n content: \"\\e236\";\n}\n.glyphicon-modal-window:before {\n content: \"\\e237\";\n}\n.glyphicon-oil:before {\n content: \"\\e238\";\n}\n.glyphicon-grain:before {\n content: \"\\e239\";\n}\n.glyphicon-sunglasses:before {\n content: \"\\e240\";\n}\n.glyphicon-text-size:before {\n content: \"\\e241\";\n}\n.glyphicon-text-color:before {\n content: \"\\e242\";\n}\n.glyphicon-text-background:before {\n content: \"\\e243\";\n}\n.glyphicon-object-align-top:before {\n content: \"\\e244\";\n}\n.glyphicon-object-align-bottom:before {\n content: \"\\e245\";\n}\n.glyphicon-object-align-horizontal:before {\n content: \"\\e246\";\n}\n.glyphicon-object-align-left:before {\n content: \"\\e247\";\n}\n.glyphicon-object-align-vertical:before {\n content: \"\\e248\";\n}\n.glyphicon-object-align-right:before {\n content: \"\\e249\";\n}\n.glyphicon-triangle-right:before {\n content: \"\\e250\";\n}\n.glyphicon-triangle-left:before {\n content: \"\\e251\";\n}\n.glyphicon-triangle-bottom:before {\n content: \"\\e252\";\n}\n.glyphicon-triangle-top:before {\n content: \"\\e253\";\n}\n.glyphicon-console:before {\n content: \"\\e254\";\n}\n.glyphicon-superscript:before {\n content: \"\\e255\";\n}\n.glyphicon-subscript:before {\n content: \"\\e256\";\n}\n.glyphicon-menu-left:before {\n content: \"\\e257\";\n}\n.glyphicon-menu-right:before {\n content: \"\\e258\";\n}\n.glyphicon-menu-down:before {\n content: \"\\e259\";\n}\n.glyphicon-menu-up:before {\n content: \"\\e260\";\n}\n* {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n}\n*:before,\n*:after {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n}\nhtml {\n font-size: 10px;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\nbody {\n font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;\n font-size: 14px;\n line-height: 1.42857143;\n color: #333333;\n background-color: #ffffff;\n}\ninput,\nbutton,\nselect,\ntextarea {\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n}\na {\n color: #337ab7;\n text-decoration: none;\n}\na:hover,\na:focus {\n color: #23527c;\n text-decoration: underline;\n}\na:focus {\n outline: thin dotted;\n outline: 5px auto -webkit-focus-ring-color;\n outline-offset: -2px;\n}\nfigure {\n margin: 0;\n}\nimg {\n vertical-align: middle;\n}\n.img-responsive,\n.thumbnail > img,\n.thumbnail a > img,\n.carousel-inner > .item > img,\n.carousel-inner > .item > a > img {\n display: block;\n max-width: 100%;\n height: auto;\n}\n.img-rounded {\n border-radius: 6px;\n}\n.img-thumbnail {\n padding: 4px;\n line-height: 1.42857143;\n background-color: #ffffff;\n border: 1px solid #dddddd;\n border-radius: 4px;\n -webkit-transition: all 0.2s ease-in-out;\n -o-transition: all 0.2s ease-in-out;\n transition: all 0.2s ease-in-out;\n display: inline-block;\n max-width: 100%;\n height: auto;\n}\n.img-circle {\n border-radius: 50%;\n}\nhr {\n margin-top: 20px;\n margin-bottom: 20px;\n border: 0;\n border-top: 1px solid #eeeeee;\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.sr-only-focusable:active,\n.sr-only-focusable:focus {\n position: static;\n width: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n clip: auto;\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\n.h1,\n.h2,\n.h3,\n.h4,\n.h5,\n.h6 {\n font-family: inherit;\n font-weight: 500;\n line-height: 1.1;\n color: inherit;\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: #777777;\n}\nh1,\n.h1,\nh2,\n.h2,\nh3,\n.h3 {\n margin-top: 20px;\n margin-bottom: 10px;\n}\nh1 small,\n.h1 small,\nh2 small,\n.h2 small,\nh3 small,\n.h3 small,\nh1 .small,\n.h1 .small,\nh2 .small,\n.h2 .small,\nh3 .small,\n.h3 .small {\n font-size: 65%;\n}\nh4,\n.h4,\nh5,\n.h5,\nh6,\n.h6 {\n margin-top: 10px;\n margin-bottom: 10px;\n}\nh4 small,\n.h4 small,\nh5 small,\n.h5 small,\nh6 small,\n.h6 small,\nh4 .small,\n.h4 .small,\nh5 .small,\n.h5 .small,\nh6 .small,\n.h6 .small {\n font-size: 75%;\n}\nh1,\n.h1 {\n font-size: 36px;\n}\nh2,\n.h2 {\n font-size: 30px;\n}\nh3,\n.h3 {\n font-size: 24px;\n}\nh4,\n.h4 {\n font-size: 18px;\n}\nh5,\n.h5 {\n font-size: 14px;\n}\nh6,\n.h6 {\n font-size: 12px;\n}\np {\n margin: 0 0 10px;\n}\n.lead {\n margin-bottom: 20px;\n font-size: 16px;\n font-weight: 300;\n line-height: 1.4;\n}\n@media (min-width: 768px) {\n .lead {\n font-size: 21px;\n }\n}\nsmall,\n.small {\n font-size: 85%;\n}\nmark,\n.mark {\n background-color: #fcf8e3;\n padding: .2em;\n}\n.text-left {\n text-align: left;\n}\n.text-right {\n text-align: right;\n}\n.text-center {\n text-align: center;\n}\n.text-justify {\n text-align: justify;\n}\n.text-nowrap {\n white-space: nowrap;\n}\n.text-lowercase {\n text-transform: lowercase;\n}\n.text-uppercase {\n text-transform: uppercase;\n}\n.text-capitalize {\n text-transform: capitalize;\n}\n.text-muted {\n color: #777777;\n}\n.text-primary {\n color: #337ab7;\n}\na.text-primary:hover {\n color: #286090;\n}\n.text-success {\n color: #3c763d;\n}\na.text-success:hover {\n color: #2b542c;\n}\n.text-info {\n color: #31708f;\n}\na.text-info:hover {\n color: #245269;\n}\n.text-warning {\n color: #8a6d3b;\n}\na.text-warning:hover {\n color: #66512c;\n}\n.text-danger {\n color: #a94442;\n}\na.text-danger:hover {\n color: #843534;\n}\n.bg-primary {\n color: #fff;\n background-color: #337ab7;\n}\na.bg-primary:hover {\n background-color: #286090;\n}\n.bg-success {\n background-color: #dff0d8;\n}\na.bg-success:hover {\n background-color: #c1e2b3;\n}\n.bg-info {\n background-color: #d9edf7;\n}\na.bg-info:hover {\n background-color: #afd9ee;\n}\n.bg-warning {\n background-color: #fcf8e3;\n}\na.bg-warning:hover {\n background-color: #f7ecb5;\n}\n.bg-danger {\n background-color: #f2dede;\n}\na.bg-danger:hover {\n background-color: #e4b9b9;\n}\n.page-header {\n padding-bottom: 9px;\n margin: 40px 0 20px;\n border-bottom: 1px solid #eeeeee;\n}\nul,\nol {\n margin-top: 0;\n margin-bottom: 10px;\n}\nul ul,\nol ul,\nul ol,\nol ol {\n margin-bottom: 0;\n}\n.list-unstyled {\n padding-left: 0;\n list-style: none;\n}\n.list-inline {\n padding-left: 0;\n list-style: none;\n margin-left: -5px;\n}\n.list-inline > li {\n display: inline-block;\n padding-left: 5px;\n padding-right: 5px;\n}\ndl {\n margin-top: 0;\n margin-bottom: 20px;\n}\ndt,\ndd {\n line-height: 1.42857143;\n}\ndt {\n font-weight: bold;\n}\ndd {\n margin-left: 0;\n}\n@media (min-width: 768px) {\n .dl-horizontal dt {\n float: left;\n width: 160px;\n clear: left;\n text-align: right;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .dl-horizontal dd {\n margin-left: 180px;\n }\n}\nabbr[title],\nabbr[data-original-title] {\n cursor: help;\n border-bottom: 1px dotted #777777;\n}\n.initialism {\n font-size: 90%;\n text-transform: uppercase;\n}\nblockquote {\n padding: 10px 20px;\n margin: 0 0 20px;\n font-size: 17.5px;\n border-left: 5px solid #eeeeee;\n}\nblockquote p:last-child,\nblockquote ul:last-child,\nblockquote ol:last-child {\n margin-bottom: 0;\n}\nblockquote footer,\nblockquote small,\nblockquote .small {\n display: block;\n font-size: 80%;\n line-height: 1.42857143;\n color: #777777;\n}\nblockquote footer:before,\nblockquote small:before,\nblockquote .small:before {\n content: '\\2014 \\00A0';\n}\n.blockquote-reverse,\nblockquote.pull-right {\n padding-right: 15px;\n padding-left: 0;\n border-right: 5px solid #eeeeee;\n border-left: 0;\n text-align: right;\n}\n.blockquote-reverse footer:before,\nblockquote.pull-right footer:before,\n.blockquote-reverse small:before,\nblockquote.pull-right small:before,\n.blockquote-reverse .small:before,\nblockquote.pull-right .small:before {\n content: '';\n}\n.blockquote-reverse footer:after,\nblockquote.pull-right footer:after,\n.blockquote-reverse small:after,\nblockquote.pull-right small:after,\n.blockquote-reverse .small:after,\nblockquote.pull-right .small:after {\n content: '\\00A0 \\2014';\n}\naddress {\n margin-bottom: 20px;\n font-style: normal;\n line-height: 1.42857143;\n}\ncode,\nkbd,\npre,\nsamp {\n font-family: Menlo, Monaco, Consolas, \"Courier New\", monospace;\n}\ncode {\n padding: 2px 4px;\n font-size: 90%;\n color: #c7254e;\n background-color: #f9f2f4;\n border-radius: 4px;\n}\nkbd {\n padding: 2px 4px;\n font-size: 90%;\n color: #ffffff;\n background-color: #333333;\n border-radius: 3px;\n box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25);\n}\nkbd kbd {\n padding: 0;\n font-size: 100%;\n font-weight: bold;\n box-shadow: none;\n}\npre {\n display: block;\n padding: 9.5px;\n margin: 0 0 10px;\n font-size: 13px;\n line-height: 1.42857143;\n word-break: break-all;\n word-wrap: break-word;\n color: #333333;\n background-color: #f5f5f5;\n border: 1px solid #cccccc;\n border-radius: 4px;\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.pre-scrollable {\n max-height: 340px;\n overflow-y: scroll;\n}\n.container {\n margin-right: auto;\n margin-left: auto;\n padding-left: 15px;\n padding-right: 15px;\n}\n@media (min-width: 768px) {\n .container {\n width: 750px;\n }\n}\n@media (min-width: 992px) {\n .container {\n width: 970px;\n }\n}\n@media (min-width: 1200px) {\n .container {\n width: 1170px;\n }\n}\n.container-fluid {\n margin-right: auto;\n margin-left: auto;\n padding-left: 15px;\n padding-right: 15px;\n}\n.row {\n margin-left: -15px;\n margin-right: -15px;\n}\n.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {\n position: relative;\n min-height: 1px;\n padding-left: 15px;\n padding-right: 15px;\n}\n.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {\n float: left;\n}\n.col-xs-12 {\n width: 100%;\n}\n.col-xs-11 {\n width: 91.66666667%;\n}\n.col-xs-10 {\n width: 83.33333333%;\n}\n.col-xs-9 {\n width: 75%;\n}\n.col-xs-8 {\n width: 66.66666667%;\n}\n.col-xs-7 {\n width: 58.33333333%;\n}\n.col-xs-6 {\n width: 50%;\n}\n.col-xs-5 {\n width: 41.66666667%;\n}\n.col-xs-4 {\n width: 33.33333333%;\n}\n.col-xs-3 {\n width: 25%;\n}\n.col-xs-2 {\n width: 16.66666667%;\n}\n.col-xs-1 {\n width: 8.33333333%;\n}\n.col-xs-pull-12 {\n right: 100%;\n}\n.col-xs-pull-11 {\n right: 91.66666667%;\n}\n.col-xs-pull-10 {\n right: 83.33333333%;\n}\n.col-xs-pull-9 {\n right: 75%;\n}\n.col-xs-pull-8 {\n right: 66.66666667%;\n}\n.col-xs-pull-7 {\n right: 58.33333333%;\n}\n.col-xs-pull-6 {\n right: 50%;\n}\n.col-xs-pull-5 {\n right: 41.66666667%;\n}\n.col-xs-pull-4 {\n right: 33.33333333%;\n}\n.col-xs-pull-3 {\n right: 25%;\n}\n.col-xs-pull-2 {\n right: 16.66666667%;\n}\n.col-xs-pull-1 {\n right: 8.33333333%;\n}\n.col-xs-pull-0 {\n right: auto;\n}\n.col-xs-push-12 {\n left: 100%;\n}\n.col-xs-push-11 {\n left: 91.66666667%;\n}\n.col-xs-push-10 {\n left: 83.33333333%;\n}\n.col-xs-push-9 {\n left: 75%;\n}\n.col-xs-push-8 {\n left: 66.66666667%;\n}\n.col-xs-push-7 {\n left: 58.33333333%;\n}\n.col-xs-push-6 {\n left: 50%;\n}\n.col-xs-push-5 {\n left: 41.66666667%;\n}\n.col-xs-push-4 {\n left: 33.33333333%;\n}\n.col-xs-push-3 {\n left: 25%;\n}\n.col-xs-push-2 {\n left: 16.66666667%;\n}\n.col-xs-push-1 {\n left: 8.33333333%;\n}\n.col-xs-push-0 {\n left: auto;\n}\n.col-xs-offset-12 {\n margin-left: 100%;\n}\n.col-xs-offset-11 {\n margin-left: 91.66666667%;\n}\n.col-xs-offset-10 {\n margin-left: 83.33333333%;\n}\n.col-xs-offset-9 {\n margin-left: 75%;\n}\n.col-xs-offset-8 {\n margin-left: 66.66666667%;\n}\n.col-xs-offset-7 {\n margin-left: 58.33333333%;\n}\n.col-xs-offset-6 {\n margin-left: 50%;\n}\n.col-xs-offset-5 {\n margin-left: 41.66666667%;\n}\n.col-xs-offset-4 {\n margin-left: 33.33333333%;\n}\n.col-xs-offset-3 {\n margin-left: 25%;\n}\n.col-xs-offset-2 {\n margin-left: 16.66666667%;\n}\n.col-xs-offset-1 {\n margin-left: 8.33333333%;\n}\n.col-xs-offset-0 {\n margin-left: 0%;\n}\n@media (min-width: 768px) {\n .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {\n float: left;\n }\n .col-sm-12 {\n width: 100%;\n }\n .col-sm-11 {\n width: 91.66666667%;\n }\n .col-sm-10 {\n width: 83.33333333%;\n }\n .col-sm-9 {\n width: 75%;\n }\n .col-sm-8 {\n width: 66.66666667%;\n }\n .col-sm-7 {\n width: 58.33333333%;\n }\n .col-sm-6 {\n width: 50%;\n }\n .col-sm-5 {\n width: 41.66666667%;\n }\n .col-sm-4 {\n width: 33.33333333%;\n }\n .col-sm-3 {\n width: 25%;\n }\n .col-sm-2 {\n width: 16.66666667%;\n }\n .col-sm-1 {\n width: 8.33333333%;\n }\n .col-sm-pull-12 {\n right: 100%;\n }\n .col-sm-pull-11 {\n right: 91.66666667%;\n }\n .col-sm-pull-10 {\n right: 83.33333333%;\n }\n .col-sm-pull-9 {\n right: 75%;\n }\n .col-sm-pull-8 {\n right: 66.66666667%;\n }\n .col-sm-pull-7 {\n right: 58.33333333%;\n }\n .col-sm-pull-6 {\n right: 50%;\n }\n .col-sm-pull-5 {\n right: 41.66666667%;\n }\n .col-sm-pull-4 {\n right: 33.33333333%;\n }\n .col-sm-pull-3 {\n right: 25%;\n }\n .col-sm-pull-2 {\n right: 16.66666667%;\n }\n .col-sm-pull-1 {\n right: 8.33333333%;\n }\n .col-sm-pull-0 {\n right: auto;\n }\n .col-sm-push-12 {\n left: 100%;\n }\n .col-sm-push-11 {\n left: 91.66666667%;\n }\n .col-sm-push-10 {\n left: 83.33333333%;\n }\n .col-sm-push-9 {\n left: 75%;\n }\n .col-sm-push-8 {\n left: 66.66666667%;\n }\n .col-sm-push-7 {\n left: 58.33333333%;\n }\n .col-sm-push-6 {\n left: 50%;\n }\n .col-sm-push-5 {\n left: 41.66666667%;\n }\n .col-sm-push-4 {\n left: 33.33333333%;\n }\n .col-sm-push-3 {\n left: 25%;\n }\n .col-sm-push-2 {\n left: 16.66666667%;\n }\n .col-sm-push-1 {\n left: 8.33333333%;\n }\n .col-sm-push-0 {\n left: auto;\n }\n .col-sm-offset-12 {\n margin-left: 100%;\n }\n .col-sm-offset-11 {\n margin-left: 91.66666667%;\n }\n .col-sm-offset-10 {\n margin-left: 83.33333333%;\n }\n .col-sm-offset-9 {\n margin-left: 75%;\n }\n .col-sm-offset-8 {\n margin-left: 66.66666667%;\n }\n .col-sm-offset-7 {\n margin-left: 58.33333333%;\n }\n .col-sm-offset-6 {\n margin-left: 50%;\n }\n .col-sm-offset-5 {\n margin-left: 41.66666667%;\n }\n .col-sm-offset-4 {\n margin-left: 33.33333333%;\n }\n .col-sm-offset-3 {\n margin-left: 25%;\n }\n .col-sm-offset-2 {\n margin-left: 16.66666667%;\n }\n .col-sm-offset-1 {\n margin-left: 8.33333333%;\n }\n .col-sm-offset-0 {\n margin-left: 0%;\n }\n}\n@media (min-width: 992px) {\n .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {\n float: left;\n }\n .col-md-12 {\n width: 100%;\n }\n .col-md-11 {\n width: 91.66666667%;\n }\n .col-md-10 {\n width: 83.33333333%;\n }\n .col-md-9 {\n width: 75%;\n }\n .col-md-8 {\n width: 66.66666667%;\n }\n .col-md-7 {\n width: 58.33333333%;\n }\n .col-md-6 {\n width: 50%;\n }\n .col-md-5 {\n width: 41.66666667%;\n }\n .col-md-4 {\n width: 33.33333333%;\n }\n .col-md-3 {\n width: 25%;\n }\n .col-md-2 {\n width: 16.66666667%;\n }\n .col-md-1 {\n width: 8.33333333%;\n }\n .col-md-pull-12 {\n right: 100%;\n }\n .col-md-pull-11 {\n right: 91.66666667%;\n }\n .col-md-pull-10 {\n right: 83.33333333%;\n }\n .col-md-pull-9 {\n right: 75%;\n }\n .col-md-pull-8 {\n right: 66.66666667%;\n }\n .col-md-pull-7 {\n right: 58.33333333%;\n }\n .col-md-pull-6 {\n right: 50%;\n }\n .col-md-pull-5 {\n right: 41.66666667%;\n }\n .col-md-pull-4 {\n right: 33.33333333%;\n }\n .col-md-pull-3 {\n right: 25%;\n }\n .col-md-pull-2 {\n right: 16.66666667%;\n }\n .col-md-pull-1 {\n right: 8.33333333%;\n }\n .col-md-pull-0 {\n right: auto;\n }\n .col-md-push-12 {\n left: 100%;\n }\n .col-md-push-11 {\n left: 91.66666667%;\n }\n .col-md-push-10 {\n left: 83.33333333%;\n }\n .col-md-push-9 {\n left: 75%;\n }\n .col-md-push-8 {\n left: 66.66666667%;\n }\n .col-md-push-7 {\n left: 58.33333333%;\n }\n .col-md-push-6 {\n left: 50%;\n }\n .col-md-push-5 {\n left: 41.66666667%;\n }\n .col-md-push-4 {\n left: 33.33333333%;\n }\n .col-md-push-3 {\n left: 25%;\n }\n .col-md-push-2 {\n left: 16.66666667%;\n }\n .col-md-push-1 {\n left: 8.33333333%;\n }\n .col-md-push-0 {\n left: auto;\n }\n .col-md-offset-12 {\n margin-left: 100%;\n }\n .col-md-offset-11 {\n margin-left: 91.66666667%;\n }\n .col-md-offset-10 {\n margin-left: 83.33333333%;\n }\n .col-md-offset-9 {\n margin-left: 75%;\n }\n .col-md-offset-8 {\n margin-left: 66.66666667%;\n }\n .col-md-offset-7 {\n margin-left: 58.33333333%;\n }\n .col-md-offset-6 {\n margin-left: 50%;\n }\n .col-md-offset-5 {\n margin-left: 41.66666667%;\n }\n .col-md-offset-4 {\n margin-left: 33.33333333%;\n }\n .col-md-offset-3 {\n margin-left: 25%;\n }\n .col-md-offset-2 {\n margin-left: 16.66666667%;\n }\n .col-md-offset-1 {\n margin-left: 8.33333333%;\n }\n .col-md-offset-0 {\n margin-left: 0%;\n }\n}\n@media (min-width: 1200px) {\n .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {\n float: left;\n }\n .col-lg-12 {\n width: 100%;\n }\n .col-lg-11 {\n width: 91.66666667%;\n }\n .col-lg-10 {\n width: 83.33333333%;\n }\n .col-lg-9 {\n width: 75%;\n }\n .col-lg-8 {\n width: 66.66666667%;\n }\n .col-lg-7 {\n width: 58.33333333%;\n }\n .col-lg-6 {\n width: 50%;\n }\n .col-lg-5 {\n width: 41.66666667%;\n }\n .col-lg-4 {\n width: 33.33333333%;\n }\n .col-lg-3 {\n width: 25%;\n }\n .col-lg-2 {\n width: 16.66666667%;\n }\n .col-lg-1 {\n width: 8.33333333%;\n }\n .col-lg-pull-12 {\n right: 100%;\n }\n .col-lg-pull-11 {\n right: 91.66666667%;\n }\n .col-lg-pull-10 {\n right: 83.33333333%;\n }\n .col-lg-pull-9 {\n right: 75%;\n }\n .col-lg-pull-8 {\n right: 66.66666667%;\n }\n .col-lg-pull-7 {\n right: 58.33333333%;\n }\n .col-lg-pull-6 {\n right: 50%;\n }\n .col-lg-pull-5 {\n right: 41.66666667%;\n }\n .col-lg-pull-4 {\n right: 33.33333333%;\n }\n .col-lg-pull-3 {\n right: 25%;\n }\n .col-lg-pull-2 {\n right: 16.66666667%;\n }\n .col-lg-pull-1 {\n right: 8.33333333%;\n }\n .col-lg-pull-0 {\n right: auto;\n }\n .col-lg-push-12 {\n left: 100%;\n }\n .col-lg-push-11 {\n left: 91.66666667%;\n }\n .col-lg-push-10 {\n left: 83.33333333%;\n }\n .col-lg-push-9 {\n left: 75%;\n }\n .col-lg-push-8 {\n left: 66.66666667%;\n }\n .col-lg-push-7 {\n left: 58.33333333%;\n }\n .col-lg-push-6 {\n left: 50%;\n }\n .col-lg-push-5 {\n left: 41.66666667%;\n }\n .col-lg-push-4 {\n left: 33.33333333%;\n }\n .col-lg-push-3 {\n left: 25%;\n }\n .col-lg-push-2 {\n left: 16.66666667%;\n }\n .col-lg-push-1 {\n left: 8.33333333%;\n }\n .col-lg-push-0 {\n left: auto;\n }\n .col-lg-offset-12 {\n margin-left: 100%;\n }\n .col-lg-offset-11 {\n margin-left: 91.66666667%;\n }\n .col-lg-offset-10 {\n margin-left: 83.33333333%;\n }\n .col-lg-offset-9 {\n margin-left: 75%;\n }\n .col-lg-offset-8 {\n margin-left: 66.66666667%;\n }\n .col-lg-offset-7 {\n margin-left: 58.33333333%;\n }\n .col-lg-offset-6 {\n margin-left: 50%;\n }\n .col-lg-offset-5 {\n margin-left: 41.66666667%;\n }\n .col-lg-offset-4 {\n margin-left: 33.33333333%;\n }\n .col-lg-offset-3 {\n margin-left: 25%;\n }\n .col-lg-offset-2 {\n margin-left: 16.66666667%;\n }\n .col-lg-offset-1 {\n margin-left: 8.33333333%;\n }\n .col-lg-offset-0 {\n margin-left: 0%;\n }\n}\ntable {\n background-color: transparent;\n}\ncaption {\n padding-top: 8px;\n padding-bottom: 8px;\n color: #777777;\n text-align: left;\n}\nth {\n text-align: left;\n}\n.table {\n width: 100%;\n max-width: 100%;\n margin-bottom: 20px;\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.42857143;\n vertical-align: top;\n border-top: 1px solid #dddddd;\n}\n.table > thead > tr > th {\n vertical-align: bottom;\n border-bottom: 2px solid #dddddd;\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.table > tbody + tbody {\n border-top: 2px solid #dddddd;\n}\n.table .table {\n background-color: #ffffff;\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.table-bordered {\n border: 1px solid #dddddd;\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.table-bordered > thead > tr > th,\n.table-bordered > thead > tr > td {\n border-bottom-width: 2px;\n}\n.table-striped > tbody > tr:nth-of-type(odd) {\n background-color: #f9f9f9;\n}\n.table-hover > tbody > tr:hover {\n background-color: #f5f5f5;\n}\ntable col[class*=\"col-\"] {\n position: static;\n float: none;\n display: table-column;\n}\ntable td[class*=\"col-\"],\ntable th[class*=\"col-\"] {\n position: static;\n float: none;\n display: table-cell;\n}\n.table > thead > tr > td.active,\n.table > tbody > tr > td.active,\n.table > tfoot > tr > td.active,\n.table > thead > tr > th.active,\n.table > tbody > tr > th.active,\n.table > tfoot > tr > th.active,\n.table > thead > tr.active > td,\n.table > tbody > tr.active > td,\n.table > tfoot > tr.active > td,\n.table > thead > tr.active > th,\n.table > tbody > tr.active > th,\n.table > tfoot > tr.active > th {\n background-color: #f5f5f5;\n}\n.table-hover > tbody > tr > td.active:hover,\n.table-hover > tbody > tr > th.active:hover,\n.table-hover > tbody > tr.active:hover > td,\n.table-hover > tbody > tr:hover > .active,\n.table-hover > tbody > tr.active:hover > th {\n background-color: #e8e8e8;\n}\n.table > thead > tr > td.success,\n.table > tbody > tr > td.success,\n.table > tfoot > tr > td.success,\n.table > thead > tr > th.success,\n.table > tbody > tr > th.success,\n.table > tfoot > tr > th.success,\n.table > thead > tr.success > td,\n.table > tbody > tr.success > td,\n.table > tfoot > tr.success > td,\n.table > thead > tr.success > th,\n.table > tbody > tr.success > th,\n.table > tfoot > tr.success > th {\n background-color: #dff0d8;\n}\n.table-hover > tbody > tr > td.success:hover,\n.table-hover > tbody > tr > th.success:hover,\n.table-hover > tbody > tr.success:hover > td,\n.table-hover > tbody > tr:hover > .success,\n.table-hover > tbody > tr.success:hover > th {\n background-color: #d0e9c6;\n}\n.table > thead > tr > td.info,\n.table > tbody > tr > td.info,\n.table > tfoot > tr > td.info,\n.table > thead > tr > th.info,\n.table > tbody > tr > th.info,\n.table > tfoot > tr > th.info,\n.table > thead > tr.info > td,\n.table > tbody > tr.info > td,\n.table > tfoot > tr.info > td,\n.table > thead > tr.info > th,\n.table > tbody > tr.info > th,\n.table > tfoot > tr.info > th {\n background-color: #d9edf7;\n}\n.table-hover > tbody > tr > td.info:hover,\n.table-hover > tbody > tr > th.info:hover,\n.table-hover > tbody > tr.info:hover > td,\n.table-hover > tbody > tr:hover > .info,\n.table-hover > tbody > tr.info:hover > th {\n background-color: #c4e3f3;\n}\n.table > thead > tr > td.warning,\n.table > tbody > tr > td.warning,\n.table > tfoot > tr > td.warning,\n.table > thead > tr > th.warning,\n.table > tbody > tr > th.warning,\n.table > tfoot > tr > th.warning,\n.table > thead > tr.warning > td,\n.table > tbody > tr.warning > td,\n.table > tfoot > tr.warning > td,\n.table > thead > tr.warning > th,\n.table > tbody > tr.warning > th,\n.table > tfoot > tr.warning > th {\n background-color: #fcf8e3;\n}\n.table-hover > tbody > tr > td.warning:hover,\n.table-hover > tbody > tr > th.warning:hover,\n.table-hover > tbody > tr.warning:hover > td,\n.table-hover > tbody > tr:hover > .warning,\n.table-hover > tbody > tr.warning:hover > th {\n background-color: #faf2cc;\n}\n.table > thead > tr > td.danger,\n.table > tbody > tr > td.danger,\n.table > tfoot > tr > td.danger,\n.table > thead > tr > th.danger,\n.table > tbody > tr > th.danger,\n.table > tfoot > tr > th.danger,\n.table > thead > tr.danger > td,\n.table > tbody > tr.danger > td,\n.table > tfoot > tr.danger > td,\n.table > thead > tr.danger > th,\n.table > tbody > tr.danger > th,\n.table > tfoot > tr.danger > th {\n background-color: #f2dede;\n}\n.table-hover > tbody > tr > td.danger:hover,\n.table-hover > tbody > tr > th.danger:hover,\n.table-hover > tbody > tr.danger:hover > td,\n.table-hover > tbody > tr:hover > .danger,\n.table-hover > tbody > tr.danger:hover > th {\n background-color: #ebcccc;\n}\n.table-responsive {\n overflow-x: auto;\n min-height: 0.01%;\n}\n@media screen and (max-width: 767px) {\n .table-responsive {\n width: 100%;\n margin-bottom: 15px;\n overflow-y: hidden;\n -ms-overflow-style: -ms-autohiding-scrollbar;\n border: 1px solid #dddddd;\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}\nfieldset {\n padding: 0;\n margin: 0;\n border: 0;\n min-width: 0;\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}\nlabel {\n display: inline-block;\n max-width: 100%;\n margin-bottom: 5px;\n font-weight: bold;\n}\ninput[type=\"search\"] {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n}\ninput[type=\"radio\"],\ninput[type=\"checkbox\"] {\n margin: 4px 0 0;\n margin-top: 1px \\9;\n line-height: normal;\n}\ninput[type=\"file\"] {\n display: block;\n}\ninput[type=\"range\"] {\n display: block;\n width: 100%;\n}\nselect[multiple],\nselect[size] {\n height: auto;\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}\noutput {\n display: block;\n padding-top: 7px;\n font-size: 14px;\n line-height: 1.42857143;\n color: #555555;\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.42857143;\n color: #555555;\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 .15s, box-shadow ease-in-out .15s;\n -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;\n transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;\n}\n.form-control:focus {\n border-color: #66afe9;\n outline: 0;\n -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);\n box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);\n}\n.form-control::-moz-placeholder {\n color: #999999;\n opacity: 1;\n}\n.form-control:-ms-input-placeholder {\n color: #999999;\n}\n.form-control::-webkit-input-placeholder {\n color: #999999;\n}\n.form-control[disabled],\n.form-control[readonly],\nfieldset[disabled] .form-control {\n cursor: not-allowed;\n background-color: #eeeeee;\n opacity: 1;\n}\ntextarea.form-control {\n height: auto;\n}\ninput[type=\"search\"] {\n -webkit-appearance: none;\n}\n@media screen and (-webkit-min-device-pixel-ratio: 0) {\n input[type=\"date\"],\n input[type=\"time\"],\n input[type=\"datetime-local\"],\n input[type=\"month\"] {\n line-height: 34px;\n }\n input[type=\"date\"].input-sm,\n input[type=\"time\"].input-sm,\n input[type=\"datetime-local\"].input-sm,\n input[type=\"month\"].input-sm,\n .input-group-sm input[type=\"date\"],\n .input-group-sm input[type=\"time\"],\n .input-group-sm input[type=\"datetime-local\"],\n .input-group-sm input[type=\"month\"] {\n line-height: 30px;\n }\n input[type=\"date\"].input-lg,\n input[type=\"time\"].input-lg,\n input[type=\"datetime-local\"].input-lg,\n input[type=\"month\"].input-lg,\n .input-group-lg input[type=\"date\"],\n .input-group-lg input[type=\"time\"],\n .input-group-lg input[type=\"datetime-local\"],\n .input-group-lg input[type=\"month\"] {\n line-height: 46px;\n }\n}\n.form-group {\n margin-bottom: 15px;\n}\n.radio,\n.checkbox {\n position: relative;\n display: block;\n margin-top: 10px;\n margin-bottom: 10px;\n}\n.radio label,\n.checkbox label {\n min-height: 20px;\n padding-left: 20px;\n margin-bottom: 0;\n font-weight: normal;\n cursor: pointer;\n}\n.radio input[type=\"radio\"],\n.radio-inline input[type=\"radio\"],\n.checkbox input[type=\"checkbox\"],\n.checkbox-inline input[type=\"checkbox\"] {\n position: absolute;\n margin-left: -20px;\n margin-top: 4px \\9;\n}\n.radio + .radio,\n.checkbox + .checkbox {\n margin-top: -5px;\n}\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;\n}\ninput[type=\"radio\"][disabled],\ninput[type=\"checkbox\"][disabled],\ninput[type=\"radio\"].disabled,\ninput[type=\"checkbox\"].disabled,\nfieldset[disabled] input[type=\"radio\"],\nfieldset[disabled] input[type=\"checkbox\"] {\n cursor: not-allowed;\n}\n.radio-inline.disabled,\n.checkbox-inline.disabled,\nfieldset[disabled] .radio-inline,\nfieldset[disabled] .checkbox-inline {\n cursor: not-allowed;\n}\n.radio.disabled label,\n.checkbox.disabled label,\nfieldset[disabled] .radio label,\nfieldset[disabled] .checkbox label {\n cursor: not-allowed;\n}\n.form-control-static {\n padding-top: 7px;\n padding-bottom: 7px;\n margin-bottom: 0;\n}\n.form-control-static.input-lg,\n.form-control-static.input-sm {\n padding-left: 0;\n padding-right: 0;\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}\nselect.input-sm {\n height: 30px;\n line-height: 30px;\n}\ntextarea.input-sm,\nselect[multiple].input-sm {\n height: auto;\n}\n.form-group-sm .form-control {\n height: 30px;\n padding: 5px 10px;\n font-size: 12px;\n line-height: 1.5;\n border-radius: 3px;\n}\nselect.form-group-sm .form-control {\n height: 30px;\n line-height: 30px;\n}\ntextarea.form-group-sm .form-control,\nselect[multiple].form-group-sm .form-control {\n height: auto;\n}\n.form-group-sm .form-control-static {\n height: 30px;\n padding: 5px 10px;\n font-size: 12px;\n line-height: 1.5;\n}\n.input-lg {\n height: 46px;\n padding: 10px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n border-radius: 6px;\n}\nselect.input-lg {\n height: 46px;\n line-height: 46px;\n}\ntextarea.input-lg,\nselect[multiple].input-lg {\n height: auto;\n}\n.form-group-lg .form-control {\n height: 46px;\n padding: 10px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n border-radius: 6px;\n}\nselect.form-group-lg .form-control {\n height: 46px;\n line-height: 46px;\n}\ntextarea.form-group-lg .form-control,\nselect[multiple].form-group-lg .form-control {\n height: auto;\n}\n.form-group-lg .form-control-static {\n height: 46px;\n padding: 10px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n}\n.has-feedback {\n position: relative;\n}\n.has-feedback .form-control {\n padding-right: 42.5px;\n}\n.form-control-feedback {\n position: absolute;\n top: 0;\n right: 0;\n z-index: 2;\n display: block;\n width: 34px;\n height: 34px;\n line-height: 34px;\n text-align: center;\n pointer-events: none;\n}\n.input-lg + .form-control-feedback {\n width: 46px;\n height: 46px;\n line-height: 46px;\n}\n.input-sm + .form-control-feedback {\n width: 30px;\n height: 30px;\n line-height: 30px;\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.has-success.radio label,\n.has-success.checkbox label,\n.has-success.radio-inline label,\n.has-success.checkbox-inline label {\n color: #3c763d;\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.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.has-success .input-group-addon {\n color: #3c763d;\n border-color: #3c763d;\n background-color: #dff0d8;\n}\n.has-success .form-control-feedback {\n color: #3c763d;\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.has-warning.radio label,\n.has-warning.checkbox label,\n.has-warning.radio-inline label,\n.has-warning.checkbox-inline label {\n color: #8a6d3b;\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.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.has-warning .input-group-addon {\n color: #8a6d3b;\n border-color: #8a6d3b;\n background-color: #fcf8e3;\n}\n.has-warning .form-control-feedback {\n color: #8a6d3b;\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.has-error.radio label,\n.has-error.checkbox label,\n.has-error.radio-inline label,\n.has-error.checkbox-inline label {\n color: #a94442;\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.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.has-error .input-group-addon {\n color: #a94442;\n border-color: #a94442;\n background-color: #f2dede;\n}\n.has-error .form-control-feedback {\n color: #a94442;\n}\n.has-feedback label ~ .form-control-feedback {\n top: 25px;\n}\n.has-feedback label.sr-only ~ .form-control-feedback {\n top: 0;\n}\n.help-block {\n display: block;\n margin-top: 5px;\n margin-bottom: 10px;\n color: #737373;\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 width: auto;\n vertical-align: middle;\n }\n .form-inline .form-control-static {\n display: inline-block;\n }\n .form-inline .input-group {\n display: inline-table;\n vertical-align: middle;\n }\n .form-inline .input-group .input-group-addon,\n .form-inline .input-group .input-group-btn,\n .form-inline .input-group .form-control {\n width: auto;\n }\n .form-inline .input-group > .form-control {\n width: 100%;\n }\n .form-inline .control-label {\n margin-bottom: 0;\n vertical-align: middle;\n }\n .form-inline .radio,\n .form-inline .checkbox {\n display: inline-block;\n margin-top: 0;\n margin-bottom: 0;\n vertical-align: middle;\n }\n .form-inline .radio label,\n .form-inline .checkbox label {\n padding-left: 0;\n }\n .form-inline .radio input[type=\"radio\"],\n .form-inline .checkbox input[type=\"checkbox\"] {\n position: relative;\n margin-left: 0;\n }\n .form-inline .has-feedback .form-control-feedback {\n top: 0;\n }\n}\n.form-horizontal .radio,\n.form-horizontal .checkbox,\n.form-horizontal .radio-inline,\n.form-horizontal .checkbox-inline {\n margin-top: 0;\n margin-bottom: 0;\n padding-top: 7px;\n}\n.form-horizontal .radio,\n.form-horizontal .checkbox {\n min-height: 27px;\n}\n.form-horizontal .form-group {\n margin-left: -15px;\n margin-right: -15px;\n}\n@media (min-width: 768px) {\n .form-horizontal .control-label {\n text-align: right;\n margin-bottom: 0;\n padding-top: 7px;\n }\n}\n.form-horizontal .has-feedback .form-control-feedback {\n right: 15px;\n}\n@media (min-width: 768px) {\n .form-horizontal .form-group-lg .control-label {\n padding-top: 14.333333px;\n }\n}\n@media (min-width: 768px) {\n .form-horizontal .form-group-sm .control-label {\n padding-top: 6px;\n }\n}\n.btn {\n display: inline-block;\n margin-bottom: 0;\n font-weight: normal;\n text-align: center;\n vertical-align: middle;\n touch-action: manipulation;\n cursor: pointer;\n background-image: none;\n border: 1px solid transparent;\n white-space: nowrap;\n padding: 6px 12px;\n font-size: 14px;\n line-height: 1.42857143;\n border-radius: 4px;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.btn:focus,\n.btn:active:focus,\n.btn.active:focus,\n.btn.focus,\n.btn:active.focus,\n.btn.active.focus {\n outline: thin dotted;\n outline: 5px auto -webkit-focus-ring-color;\n outline-offset: -2px;\n}\n.btn:hover,\n.btn:focus,\n.btn.focus {\n color: #333333;\n text-decoration: none;\n}\n.btn:active,\n.btn.active {\n outline: 0;\n background-image: none;\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.btn.disabled,\n.btn[disabled],\nfieldset[disabled] .btn {\n cursor: not-allowed;\n pointer-events: none;\n opacity: 0.65;\n filter: alpha(opacity=65);\n -webkit-box-shadow: none;\n box-shadow: none;\n}\n.btn-default {\n color: #333333;\n background-color: #ffffff;\n border-color: #cccccc;\n}\n.btn-default:hover,\n.btn-default:focus,\n.btn-default.focus,\n.btn-default:active,\n.btn-default.active,\n.open > .dropdown-toggle.btn-default {\n color: #333333;\n background-color: #e6e6e6;\n border-color: #adadad;\n}\n.btn-default:active,\n.btn-default.active,\n.open > .dropdown-toggle.btn-default {\n background-image: none;\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.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.btn-default .badge {\n color: #ffffff;\n background-color: #333333;\n}\n.btn-primary {\n color: #ffffff;\n background-color: #337ab7;\n border-color: #2e6da4;\n}\n.btn-primary:hover,\n.btn-primary:focus,\n.btn-primary.focus,\n.btn-primary:active,\n.btn-primary.active,\n.open > .dropdown-toggle.btn-primary {\n color: #ffffff;\n background-color: #286090;\n border-color: #204d74;\n}\n.btn-primary:active,\n.btn-primary.active,\n.open > .dropdown-toggle.btn-primary {\n background-image: none;\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.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: #337ab7;\n border-color: #2e6da4;\n}\n.btn-primary .badge {\n color: #337ab7;\n background-color: #ffffff;\n}\n.btn-success {\n color: #ffffff;\n background-color: #5cb85c;\n border-color: #4cae4c;\n}\n.btn-success:hover,\n.btn-success:focus,\n.btn-success.focus,\n.btn-success:active,\n.btn-success.active,\n.open > .dropdown-toggle.btn-success {\n color: #ffffff;\n background-color: #449d44;\n border-color: #398439;\n}\n.btn-success:active,\n.btn-success.active,\n.open > .dropdown-toggle.btn-success {\n background-image: none;\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.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.btn-success .badge {\n color: #5cb85c;\n background-color: #ffffff;\n}\n.btn-info {\n color: #ffffff;\n background-color: #5bc0de;\n border-color: #46b8da;\n}\n.btn-info:hover,\n.btn-info:focus,\n.btn-info.focus,\n.btn-info:active,\n.btn-info.active,\n.open > .dropdown-toggle.btn-info {\n color: #ffffff;\n background-color: #31b0d5;\n border-color: #269abc;\n}\n.btn-info:active,\n.btn-info.active,\n.open > .dropdown-toggle.btn-info {\n background-image: none;\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.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.btn-info .badge {\n color: #5bc0de;\n background-color: #ffffff;\n}\n.btn-warning {\n color: #ffffff;\n background-color: #f0ad4e;\n border-color: #eea236;\n}\n.btn-warning:hover,\n.btn-warning:focus,\n.btn-warning.focus,\n.btn-warning:active,\n.btn-warning.active,\n.open > .dropdown-toggle.btn-warning {\n color: #ffffff;\n background-color: #ec971f;\n border-color: #d58512;\n}\n.btn-warning:active,\n.btn-warning.active,\n.open > .dropdown-toggle.btn-warning {\n background-image: none;\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.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.btn-warning .badge {\n color: #f0ad4e;\n background-color: #ffffff;\n}\n.btn-danger {\n color: #ffffff;\n background-color: #d9534f;\n border-color: #d43f3a;\n}\n.btn-danger:hover,\n.btn-danger:focus,\n.btn-danger.focus,\n.btn-danger:active,\n.btn-danger.active,\n.open > .dropdown-toggle.btn-danger {\n color: #ffffff;\n background-color: #c9302c;\n border-color: #ac2925;\n}\n.btn-danger:active,\n.btn-danger.active,\n.open > .dropdown-toggle.btn-danger {\n background-image: none;\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.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.btn-danger .badge {\n color: #d9534f;\n background-color: #ffffff;\n}\n.btn-link {\n color: #337ab7;\n font-weight: normal;\n border-radius: 0;\n}\n.btn-link,\n.btn-link:active,\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.btn-link,\n.btn-link:hover,\n.btn-link:focus,\n.btn-link:active {\n border-color: transparent;\n}\n.btn-link:hover,\n.btn-link:focus {\n color: #23527c;\n text-decoration: underline;\n background-color: transparent;\n}\n.btn-link[disabled]:hover,\nfieldset[disabled] .btn-link:hover,\n.btn-link[disabled]:focus,\nfieldset[disabled] .btn-link:focus {\n color: #777777;\n text-decoration: none;\n}\n.btn-lg,\n.btn-group-lg > .btn {\n padding: 10px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n border-radius: 6px;\n}\n.btn-sm,\n.btn-group-sm > .btn {\n padding: 5px 10px;\n font-size: 12px;\n line-height: 1.5;\n border-radius: 3px;\n}\n.btn-xs,\n.btn-group-xs > .btn {\n padding: 1px 5px;\n font-size: 12px;\n line-height: 1.5;\n border-radius: 3px;\n}\n.btn-block {\n display: block;\n width: 100%;\n}\n.btn-block + .btn-block {\n margin-top: 5px;\n}\ninput[type=\"submit\"].btn-block,\ninput[type=\"reset\"].btn-block,\ninput[type=\"button\"].btn-block {\n width: 100%;\n}\n.fade {\n opacity: 0;\n -webkit-transition: opacity 0.15s linear;\n -o-transition: opacity 0.15s linear;\n transition: opacity 0.15s linear;\n}\n.fade.in {\n opacity: 1;\n}\n.collapse {\n display: none;\n visibility: hidden;\n}\n.collapse.in {\n display: block;\n visibility: visible;\n}\ntr.collapse.in {\n display: table-row;\n}\ntbody.collapse.in {\n display: table-row-group;\n}\n.collapsing {\n position: relative;\n height: 0;\n overflow: hidden;\n -webkit-transition-property: height, visibility;\n transition-property: height, visibility;\n -webkit-transition-duration: 0.35s;\n transition-duration: 0.35s;\n -webkit-transition-timing-function: ease;\n transition-timing-function: ease;\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.dropup,\n.dropdown {\n position: relative;\n}\n.dropdown-toggle:focus {\n outline: 0;\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 list-style: none;\n font-size: 14px;\n text-align: left;\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.dropdown-menu.pull-right {\n right: 0;\n left: auto;\n}\n.dropdown-menu .divider {\n height: 1px;\n margin: 9px 0;\n overflow: hidden;\n background-color: #e5e5e5;\n}\n.dropdown-menu > li > a {\n display: block;\n padding: 3px 20px;\n clear: both;\n font-weight: normal;\n line-height: 1.42857143;\n color: #333333;\n white-space: nowrap;\n}\n.dropdown-menu > li > a:hover,\n.dropdown-menu > li > a:focus {\n text-decoration: none;\n color: #262626;\n background-color: #f5f5f5;\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 outline: 0;\n background-color: #337ab7;\n}\n.dropdown-menu > .disabled > a,\n.dropdown-menu > .disabled > a:hover,\n.dropdown-menu > .disabled > a:focus {\n color: #777777;\n}\n.dropdown-menu > .disabled > a:hover,\n.dropdown-menu > .disabled > a:focus {\n text-decoration: none;\n background-color: transparent;\n background-image: none;\n filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);\n cursor: not-allowed;\n}\n.open > .dropdown-menu {\n display: block;\n}\n.open > a {\n outline: 0;\n}\n.dropdown-menu-right {\n left: auto;\n right: 0;\n}\n.dropdown-menu-left {\n left: 0;\n right: auto;\n}\n.dropdown-header {\n display: block;\n padding: 3px 20px;\n font-size: 12px;\n line-height: 1.42857143;\n color: #777777;\n white-space: nowrap;\n}\n.dropdown-backdrop {\n position: fixed;\n left: 0;\n right: 0;\n bottom: 0;\n top: 0;\n z-index: 990;\n}\n.pull-right > .dropdown-menu {\n right: 0;\n left: auto;\n}\n.dropup .caret,\n.navbar-fixed-bottom .dropdown .caret {\n border-top: 0;\n border-bottom: 4px solid;\n content: \"\";\n}\n.dropup .dropdown-menu,\n.navbar-fixed-bottom .dropdown .dropdown-menu {\n top: auto;\n bottom: 100%;\n margin-bottom: 2px;\n}\n@media (min-width: 768px) {\n .navbar-right .dropdown-menu {\n left: auto;\n right: 0;\n }\n .navbar-right .dropdown-menu-left {\n left: 0;\n right: auto;\n }\n}\n.btn-group,\n.btn-group-vertical {\n position: relative;\n display: inline-block;\n vertical-align: middle;\n}\n.btn-group > .btn,\n.btn-group-vertical > .btn {\n position: relative;\n float: left;\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.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.btn-toolbar {\n margin-left: -5px;\n}\n.btn-toolbar .btn-group,\n.btn-toolbar .input-group {\n float: left;\n}\n.btn-toolbar > .btn,\n.btn-toolbar > .btn-group,\n.btn-toolbar > .input-group {\n margin-left: 5px;\n}\n.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {\n border-radius: 0;\n}\n.btn-group > .btn:first-child {\n margin-left: 0;\n}\n.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {\n border-bottom-right-radius: 0;\n border-top-right-radius: 0;\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.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:not(:last-child) > .btn:last-child,\n.btn-group > .btn-group:first-child:not(:last-child) > .dropdown-toggle {\n border-bottom-right-radius: 0;\n border-top-right-radius: 0;\n}\n.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child {\n border-bottom-left-radius: 0;\n border-top-left-radius: 0;\n}\n.btn-group .dropdown-toggle:active,\n.btn-group.open .dropdown-toggle {\n outline: 0;\n}\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.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.btn-group.open .dropdown-toggle.btn-link {\n -webkit-box-shadow: none;\n box-shadow: none;\n}\n.btn .caret {\n margin-left: 0;\n}\n.btn-lg .caret {\n border-width: 5px 5px 0;\n border-bottom-width: 0;\n}\n.dropup .btn-lg .caret {\n border-width: 0 5px 5px;\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.btn-group-vertical > .btn-group > .btn {\n float: none;\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.btn-group-vertical > .btn:not(:first-child):not(:last-child) {\n border-radius: 0;\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.btn-group-vertical > .btn:last-child:not(:first-child) {\n border-bottom-left-radius: 4px;\n border-top-right-radius: 0;\n border-top-left-radius: 0;\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:not(:last-child) > .btn:last-child,\n.btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle {\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n}\n.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child {\n border-top-right-radius: 0;\n border-top-left-radius: 0;\n}\n.btn-group-justified {\n display: table;\n width: 100%;\n table-layout: fixed;\n border-collapse: separate;\n}\n.btn-group-justified > .btn,\n.btn-group-justified > .btn-group {\n float: none;\n display: table-cell;\n width: 1%;\n}\n.btn-group-justified > .btn-group .btn {\n width: 100%;\n}\n.btn-group-justified > .btn-group .dropdown-menu {\n left: auto;\n}\n[data-toggle=\"buttons\"] > .btn input[type=\"radio\"],\n[data-toggle=\"buttons\"] > .btn-group > .btn input[type=\"radio\"],\n[data-toggle=\"buttons\"] > .btn input[type=\"checkbox\"],\n[data-toggle=\"buttons\"] > .btn-group > .btn input[type=\"checkbox\"] {\n position: absolute;\n clip: rect(0, 0, 0, 0);\n pointer-events: none;\n}\n.input-group {\n position: relative;\n display: table;\n border-collapse: separate;\n}\n.input-group[class*=\"col-\"] {\n float: none;\n padding-left: 0;\n padding-right: 0;\n}\n.input-group .form-control {\n position: relative;\n z-index: 2;\n float: left;\n width: 100%;\n margin-bottom: 0;\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.3333333;\n border-radius: 6px;\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}\ntextarea.input-group-lg > .form-control,\ntextarea.input-group-lg > .input-group-addon,\ntextarea.input-group-lg > .input-group-btn > .btn,\nselect[multiple].input-group-lg > .form-control,\nselect[multiple].input-group-lg > .input-group-addon,\nselect[multiple].input-group-lg > .input-group-btn > .btn {\n height: auto;\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}\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}\ntextarea.input-group-sm > .form-control,\ntextarea.input-group-sm > .input-group-addon,\ntextarea.input-group-sm > .input-group-btn > .btn,\nselect[multiple].input-group-sm > .form-control,\nselect[multiple].input-group-sm > .input-group-addon,\nselect[multiple].input-group-sm > .input-group-btn > .btn {\n height: auto;\n}\n.input-group-addon,\n.input-group-btn,\n.input-group .form-control {\n display: table-cell;\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.input-group-addon,\n.input-group-btn {\n width: 1%;\n white-space: nowrap;\n vertical-align: middle;\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.input-group-addon.input-sm {\n padding: 5px 10px;\n font-size: 12px;\n border-radius: 3px;\n}\n.input-group-addon.input-lg {\n padding: 10px 16px;\n font-size: 18px;\n border-radius: 6px;\n}\n.input-group-addon input[type=\"radio\"],\n.input-group-addon input[type=\"checkbox\"] {\n margin-top: 0;\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 > .btn-group > .btn,\n.input-group-btn:first-child > .dropdown-toggle,\n.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),\n.input-group-btn:last-child > .btn-group:not(:last-child) > .btn {\n border-bottom-right-radius: 0;\n border-top-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 > .btn-group > .btn,\n.input-group-btn:last-child > .dropdown-toggle,\n.input-group-btn:first-child > .btn:not(:first-child),\n.input-group-btn:first-child > .btn-group:not(:first-child) > .btn {\n border-bottom-left-radius: 0;\n border-top-left-radius: 0;\n}\n.input-group-addon:last-child {\n border-left: 0;\n}\n.input-group-btn {\n position: relative;\n font-size: 0;\n white-space: nowrap;\n}\n.input-group-btn > .btn {\n position: relative;\n}\n.input-group-btn > .btn + .btn {\n margin-left: -1px;\n}\n.input-group-btn > .btn:hover,\n.input-group-btn > .btn:focus,\n.input-group-btn > .btn:active {\n z-index: 2;\n}\n.input-group-btn:first-child > .btn,\n.input-group-btn:first-child > .btn-group {\n margin-right: -1px;\n}\n.input-group-btn:last-child > .btn,\n.input-group-btn:last-child > .btn-group {\n margin-left: -1px;\n}\n.nav {\n margin-bottom: 0;\n padding-left: 0;\n list-style: none;\n}\n.nav > li {\n position: relative;\n display: block;\n}\n.nav > li > a {\n position: relative;\n display: block;\n padding: 10px 15px;\n}\n.nav > li > a:hover,\n.nav > li > a:focus {\n text-decoration: none;\n background-color: #eeeeee;\n}\n.nav > li.disabled > a {\n color: #777777;\n}\n.nav > li.disabled > a:hover,\n.nav > li.disabled > a:focus {\n color: #777777;\n text-decoration: none;\n background-color: transparent;\n cursor: not-allowed;\n}\n.nav .open > a,\n.nav .open > a:hover,\n.nav .open > a:focus {\n background-color: #eeeeee;\n border-color: #337ab7;\n}\n.nav .nav-divider {\n height: 1px;\n margin: 9px 0;\n overflow: hidden;\n background-color: #e5e5e5;\n}\n.nav > li > a > img {\n max-width: none;\n}\n.nav-tabs {\n border-bottom: 1px solid #dddddd;\n}\n.nav-tabs > li {\n float: left;\n margin-bottom: -1px;\n}\n.nav-tabs > li > a {\n margin-right: 2px;\n line-height: 1.42857143;\n border: 1px solid transparent;\n border-radius: 4px 4px 0 0;\n}\n.nav-tabs > li > a:hover {\n border-color: #eeeeee #eeeeee #dddddd;\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 background-color: #ffffff;\n border: 1px solid #dddddd;\n border-bottom-color: transparent;\n cursor: default;\n}\n.nav-tabs.nav-justified {\n width: 100%;\n border-bottom: 0;\n}\n.nav-tabs.nav-justified > li {\n float: none;\n}\n.nav-tabs.nav-justified > li > a {\n text-align: center;\n margin-bottom: 5px;\n}\n.nav-tabs.nav-justified > .dropdown .dropdown-menu {\n top: auto;\n left: auto;\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.nav-tabs.nav-justified > li > a {\n margin-right: 0;\n border-radius: 4px;\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@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.nav-pills > li {\n float: left;\n}\n.nav-pills > li > a {\n border-radius: 4px;\n}\n.nav-pills > li + li {\n margin-left: 2px;\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: #337ab7;\n}\n.nav-stacked > li {\n float: none;\n}\n.nav-stacked > li + li {\n margin-top: 2px;\n margin-left: 0;\n}\n.nav-justified {\n width: 100%;\n}\n.nav-justified > li {\n float: none;\n}\n.nav-justified > li > a {\n text-align: center;\n margin-bottom: 5px;\n}\n.nav-justified > .dropdown .dropdown-menu {\n top: auto;\n left: auto;\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.nav-tabs-justified {\n border-bottom: 0;\n}\n.nav-tabs-justified > li > a {\n margin-right: 0;\n border-radius: 4px;\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@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.tab-content > .tab-pane {\n display: none;\n visibility: hidden;\n}\n.tab-content > .active {\n display: block;\n visibility: visible;\n}\n.nav-tabs .dropdown-menu {\n margin-top: -1px;\n border-top-right-radius: 0;\n border-top-left-radius: 0;\n}\n.navbar {\n position: relative;\n min-height: 50px;\n margin-bottom: 20px;\n border: 1px solid transparent;\n}\n@media (min-width: 768px) {\n .navbar {\n border-radius: 4px;\n }\n}\n@media (min-width: 768px) {\n .navbar-header {\n float: left;\n }\n}\n.navbar-collapse {\n overflow-x: visible;\n padding-right: 15px;\n padding-left: 15px;\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.navbar-collapse.in {\n overflow-y: auto;\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 visibility: visible !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-left: 0;\n padding-right: 0;\n }\n}\n.navbar-fixed-top .navbar-collapse,\n.navbar-fixed-bottom .navbar-collapse {\n max-height: 340px;\n}\n@media (max-device-width: 480px) and (orientation: landscape) {\n .navbar-fixed-top .navbar-collapse,\n .navbar-fixed-bottom .navbar-collapse {\n max-height: 200px;\n }\n}\n.container > .navbar-header,\n.container-fluid > .navbar-header,\n.container > .navbar-collapse,\n.container-fluid > .navbar-collapse {\n margin-right: -15px;\n margin-left: -15px;\n}\n@media (min-width: 768px) {\n .container > .navbar-header,\n .container-fluid > .navbar-header,\n .container > .navbar-collapse,\n .container-fluid > .navbar-collapse {\n margin-right: 0;\n margin-left: 0;\n }\n}\n.navbar-static-top {\n z-index: 1000;\n border-width: 0 0 1px;\n}\n@media (min-width: 768px) {\n .navbar-static-top {\n border-radius: 0;\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@media (min-width: 768px) {\n .navbar-fixed-top,\n .navbar-fixed-bottom {\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;\n border-width: 1px 0 0;\n}\n.navbar-brand {\n float: left;\n padding: 15px 15px;\n font-size: 18px;\n line-height: 20px;\n height: 50px;\n}\n.navbar-brand:hover,\n.navbar-brand:focus {\n text-decoration: none;\n}\n.navbar-brand > img {\n display: block;\n}\n@media (min-width: 768px) {\n .navbar > .container .navbar-brand,\n .navbar > .container-fluid .navbar-brand {\n margin-left: -15px;\n }\n}\n.navbar-toggle {\n position: relative;\n float: right;\n margin-right: 15px;\n padding: 9px 10px;\n margin-top: 8px;\n margin-bottom: 8px;\n background-color: transparent;\n background-image: none;\n border: 1px solid transparent;\n border-radius: 4px;\n}\n.navbar-toggle:focus {\n outline: 0;\n}\n.navbar-toggle .icon-bar {\n display: block;\n width: 22px;\n height: 2px;\n border-radius: 1px;\n}\n.navbar-toggle .icon-bar + .icon-bar {\n margin-top: 4px;\n}\n@media (min-width: 768px) {\n .navbar-toggle {\n display: none;\n }\n}\n.navbar-nav {\n margin: 7.5px -15px;\n}\n.navbar-nav > li > a {\n padding-top: 10px;\n padding-bottom: 10px;\n line-height: 20px;\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@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}\n.navbar-form {\n margin-left: -15px;\n margin-right: -15px;\n padding: 10px 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 margin-top: 8px;\n margin-bottom: 8px;\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 width: auto;\n vertical-align: middle;\n }\n .navbar-form .form-control-static {\n display: inline-block;\n }\n .navbar-form .input-group {\n display: inline-table;\n vertical-align: middle;\n }\n .navbar-form .input-group .input-group-addon,\n .navbar-form .input-group .input-group-btn,\n .navbar-form .input-group .form-control {\n width: auto;\n }\n .navbar-form .input-group > .form-control {\n width: 100%;\n }\n .navbar-form .control-label {\n margin-bottom: 0;\n vertical-align: middle;\n }\n .navbar-form .radio,\n .navbar-form .checkbox {\n display: inline-block;\n margin-top: 0;\n margin-bottom: 0;\n vertical-align: middle;\n }\n .navbar-form .radio label,\n .navbar-form .checkbox label {\n padding-left: 0;\n }\n .navbar-form .radio input[type=\"radio\"],\n .navbar-form .checkbox input[type=\"checkbox\"] {\n position: relative;\n margin-left: 0;\n }\n .navbar-form .has-feedback .form-control-feedback {\n top: 0;\n }\n}\n@media (max-width: 767px) {\n .navbar-form .form-group {\n margin-bottom: 5px;\n }\n .navbar-form .form-group:last-child {\n margin-bottom: 0;\n }\n}\n@media (min-width: 768px) {\n .navbar-form {\n width: auto;\n border: 0;\n margin-left: 0;\n margin-right: 0;\n padding-top: 0;\n padding-bottom: 0;\n -webkit-box-shadow: none;\n box-shadow: none;\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.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {\n margin-bottom: 0;\n border-top-right-radius: 4px;\n border-top-left-radius: 4px;\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n}\n.navbar-btn {\n margin-top: 8px;\n margin-bottom: 8px;\n}\n.navbar-btn.btn-sm {\n margin-top: 10px;\n margin-bottom: 10px;\n}\n.navbar-btn.btn-xs {\n margin-top: 14px;\n margin-bottom: 14px;\n}\n.navbar-text {\n margin-top: 15px;\n margin-bottom: 15px;\n}\n@media (min-width: 768px) {\n .navbar-text {\n float: left;\n margin-left: 15px;\n margin-right: 15px;\n }\n}\n@media (min-width: 768px) {\n .navbar-left {\n float: left !important;\n }\n .navbar-right {\n float: right !important;\n margin-right: -15px;\n }\n .navbar-right ~ .navbar-right {\n margin-right: 0;\n }\n}\n.navbar-default {\n background-color: #f8f8f8;\n border-color: #e7e7e7;\n}\n.navbar-default .navbar-brand {\n color: #777777;\n}\n.navbar-default .navbar-brand:hover,\n.navbar-default .navbar-brand:focus {\n color: #5e5e5e;\n background-color: transparent;\n}\n.navbar-default .navbar-text {\n color: #777777;\n}\n.navbar-default .navbar-nav > li > a {\n color: #777777;\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.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.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.navbar-default .navbar-toggle {\n border-color: #dddddd;\n}\n.navbar-default .navbar-toggle:hover,\n.navbar-default .navbar-toggle:focus {\n background-color: #dddddd;\n}\n.navbar-default .navbar-toggle .icon-bar {\n background-color: #888888;\n}\n.navbar-default .navbar-collapse,\n.navbar-default .navbar-form {\n border-color: #e7e7e7;\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 background-color: #e7e7e7;\n color: #555555;\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.navbar-default .navbar-link {\n color: #777777;\n}\n.navbar-default .navbar-link:hover {\n color: #333333;\n}\n.navbar-default .btn-link {\n color: #777777;\n}\n.navbar-default .btn-link:hover,\n.navbar-default .btn-link:focus {\n color: #333333;\n}\n.navbar-default .btn-link[disabled]:hover,\nfieldset[disabled] .navbar-default .btn-link:hover,\n.navbar-default .btn-link[disabled]:focus,\nfieldset[disabled] .navbar-default .btn-link:focus {\n color: #cccccc;\n}\n.navbar-inverse {\n background-color: #222222;\n border-color: #080808;\n}\n.navbar-inverse .navbar-brand {\n color: #9d9d9d;\n}\n.navbar-inverse .navbar-brand:hover,\n.navbar-inverse .navbar-brand:focus {\n color: #ffffff;\n background-color: transparent;\n}\n.navbar-inverse .navbar-text {\n color: #9d9d9d;\n}\n.navbar-inverse .navbar-nav > li > a {\n color: #9d9d9d;\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.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.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.navbar-inverse .navbar-toggle {\n border-color: #333333;\n}\n.navbar-inverse .navbar-toggle:hover,\n.navbar-inverse .navbar-toggle:focus {\n background-color: #333333;\n}\n.navbar-inverse .navbar-toggle .icon-bar {\n background-color: #ffffff;\n}\n.navbar-inverse .navbar-collapse,\n.navbar-inverse .navbar-form {\n border-color: #101010;\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 background-color: #080808;\n color: #ffffff;\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: #9d9d9d;\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.navbar-inverse .navbar-link {\n color: #9d9d9d;\n}\n.navbar-inverse .navbar-link:hover {\n color: #ffffff;\n}\n.navbar-inverse .btn-link {\n color: #9d9d9d;\n}\n.navbar-inverse .btn-link:hover,\n.navbar-inverse .btn-link:focus {\n color: #ffffff;\n}\n.navbar-inverse .btn-link[disabled]:hover,\nfieldset[disabled] .navbar-inverse .btn-link:hover,\n.navbar-inverse .btn-link[disabled]:focus,\nfieldset[disabled] .navbar-inverse .btn-link:focus {\n color: #444444;\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.breadcrumb > li {\n display: inline-block;\n}\n.breadcrumb > li + li:before {\n content: \"/\\00a0\";\n padding: 0 5px;\n color: #cccccc;\n}\n.breadcrumb > .active {\n color: #777777;\n}\n.pagination {\n display: inline-block;\n padding-left: 0;\n margin: 20px 0;\n border-radius: 4px;\n}\n.pagination > li {\n display: inline;\n}\n.pagination > li > a,\n.pagination > li > span {\n position: relative;\n float: left;\n padding: 6px 12px;\n line-height: 1.42857143;\n text-decoration: none;\n color: #337ab7;\n background-color: #ffffff;\n border: 1px solid #dddddd;\n margin-left: -1px;\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.pagination > li:last-child > a,\n.pagination > li:last-child > span {\n border-bottom-right-radius: 4px;\n border-top-right-radius: 4px;\n}\n.pagination > li > a:hover,\n.pagination > li > span:hover,\n.pagination > li > a:focus,\n.pagination > li > span:focus {\n color: #23527c;\n background-color: #eeeeee;\n border-color: #dddddd;\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 background-color: #337ab7;\n border-color: #337ab7;\n cursor: default;\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: #777777;\n background-color: #ffffff;\n border-color: #dddddd;\n cursor: not-allowed;\n}\n.pagination-lg > li > a,\n.pagination-lg > li > span {\n padding: 10px 16px;\n font-size: 18px;\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.pagination-lg > li:last-child > a,\n.pagination-lg > li:last-child > span {\n border-bottom-right-radius: 6px;\n border-top-right-radius: 6px;\n}\n.pagination-sm > li > a,\n.pagination-sm > li > span {\n padding: 5px 10px;\n font-size: 12px;\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.pagination-sm > li:last-child > a,\n.pagination-sm > li:last-child > span {\n border-bottom-right-radius: 3px;\n border-top-right-radius: 3px;\n}\n.pager {\n padding-left: 0;\n margin: 20px 0;\n list-style: none;\n text-align: center;\n}\n.pager li {\n display: inline;\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.pager li > a:hover,\n.pager li > a:focus {\n text-decoration: none;\n background-color: #eeeeee;\n}\n.pager .next > a,\n.pager .next > span {\n float: right;\n}\n.pager .previous > a,\n.pager .previous > span {\n float: left;\n}\n.pager .disabled > a,\n.pager .disabled > a:hover,\n.pager .disabled > a:focus,\n.pager .disabled > span {\n color: #777777;\n background-color: #ffffff;\n cursor: not-allowed;\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}\na.label:hover,\na.label:focus {\n color: #ffffff;\n text-decoration: none;\n cursor: pointer;\n}\n.label:empty {\n display: none;\n}\n.btn .label {\n position: relative;\n top: -1px;\n}\n.label-default {\n background-color: #777777;\n}\n.label-default[href]:hover,\n.label-default[href]:focus {\n background-color: #5e5e5e;\n}\n.label-primary {\n background-color: #337ab7;\n}\n.label-primary[href]:hover,\n.label-primary[href]:focus {\n background-color: #286090;\n}\n.label-success {\n background-color: #5cb85c;\n}\n.label-success[href]:hover,\n.label-success[href]:focus {\n background-color: #449d44;\n}\n.label-info {\n background-color: #5bc0de;\n}\n.label-info[href]:hover,\n.label-info[href]:focus {\n background-color: #31b0d5;\n}\n.label-warning {\n background-color: #f0ad4e;\n}\n.label-warning[href]:hover,\n.label-warning[href]:focus {\n background-color: #ec971f;\n}\n.label-danger {\n background-color: #d9534f;\n}\n.label-danger[href]:hover,\n.label-danger[href]:focus {\n background-color: #c9302c;\n}\n.badge {\n display: inline-block;\n min-width: 10px;\n padding: 3px 7px;\n font-size: 12px;\n font-weight: bold;\n color: #ffffff;\n line-height: 1;\n vertical-align: baseline;\n white-space: nowrap;\n text-align: center;\n background-color: #777777;\n border-radius: 10px;\n}\n.badge:empty {\n display: none;\n}\n.btn .badge {\n position: relative;\n top: -1px;\n}\n.btn-xs .badge {\n top: 0;\n padding: 1px 5px;\n}\na.badge:hover,\na.badge:focus {\n color: #ffffff;\n text-decoration: none;\n cursor: pointer;\n}\n.list-group-item.active > .badge,\n.nav-pills > .active > a > .badge {\n color: #337ab7;\n background-color: #ffffff;\n}\n.list-group-item > .badge {\n float: right;\n}\n.list-group-item > .badge + .badge {\n margin-right: 5px;\n}\n.nav-pills > li > a > .badge {\n margin-left: 3px;\n}\n.jumbotron {\n padding: 30px 15px;\n margin-bottom: 30px;\n color: inherit;\n background-color: #eeeeee;\n}\n.jumbotron h1,\n.jumbotron .h1 {\n color: inherit;\n}\n.jumbotron p {\n margin-bottom: 15px;\n font-size: 21px;\n font-weight: 200;\n}\n.jumbotron > hr {\n border-top-color: #d5d5d5;\n}\n.container .jumbotron,\n.container-fluid .jumbotron {\n border-radius: 6px;\n}\n.jumbotron .container {\n max-width: 100%;\n}\n@media screen and (min-width: 768px) {\n .jumbotron {\n padding: 48px 0;\n }\n .container .jumbotron,\n .container-fluid .jumbotron {\n padding-left: 60px;\n padding-right: 60px;\n }\n .jumbotron h1,\n .jumbotron .h1 {\n font-size: 63px;\n }\n}\n.thumbnail {\n display: block;\n padding: 4px;\n margin-bottom: 20px;\n line-height: 1.42857143;\n background-color: #ffffff;\n border: 1px solid #dddddd;\n border-radius: 4px;\n -webkit-transition: border 0.2s ease-in-out;\n -o-transition: border 0.2s ease-in-out;\n transition: border 0.2s ease-in-out;\n}\n.thumbnail > img,\n.thumbnail a > img {\n margin-left: auto;\n margin-right: auto;\n}\na.thumbnail:hover,\na.thumbnail:focus,\na.thumbnail.active {\n border-color: #337ab7;\n}\n.thumbnail .caption {\n padding: 9px;\n color: #333333;\n}\n.alert {\n padding: 15px;\n margin-bottom: 20px;\n border: 1px solid transparent;\n border-radius: 4px;\n}\n.alert h4 {\n margin-top: 0;\n color: inherit;\n}\n.alert .alert-link {\n font-weight: bold;\n}\n.alert > p,\n.alert > ul {\n margin-bottom: 0;\n}\n.alert > p + p {\n margin-top: 5px;\n}\n.alert-dismissable,\n.alert-dismissible {\n padding-right: 35px;\n}\n.alert-dismissable .close,\n.alert-dismissible .close {\n position: relative;\n top: -2px;\n right: -21px;\n color: inherit;\n}\n.alert-success {\n background-color: #dff0d8;\n border-color: #d6e9c6;\n color: #3c763d;\n}\n.alert-success hr {\n border-top-color: #c9e2b3;\n}\n.alert-success .alert-link {\n color: #2b542c;\n}\n.alert-info {\n background-color: #d9edf7;\n border-color: #bce8f1;\n color: #31708f;\n}\n.alert-info hr {\n border-top-color: #a6e1ec;\n}\n.alert-info .alert-link {\n color: #245269;\n}\n.alert-warning {\n background-color: #fcf8e3;\n border-color: #faebcc;\n color: #8a6d3b;\n}\n.alert-warning hr {\n border-top-color: #f7e1b5;\n}\n.alert-warning .alert-link {\n color: #66512c;\n}\n.alert-danger {\n background-color: #f2dede;\n border-color: #ebccd1;\n color: #a94442;\n}\n.alert-danger hr {\n border-top-color: #e4b9c0;\n}\n.alert-danger .alert-link {\n color: #843534;\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@keyframes progress-bar-stripes {\n from {\n background-position: 40px 0;\n }\n to {\n background-position: 0 0;\n }\n}\n.progress {\n overflow: hidden;\n height: 20px;\n margin-bottom: 20px;\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.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: #337ab7;\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 -o-transition: width 0.6s ease;\n transition: width 0.6s ease;\n}\n.progress-striped .progress-bar,\n.progress-bar-striped {\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: -o-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.progress.active .progress-bar,\n.progress-bar.active {\n -webkit-animation: progress-bar-stripes 2s linear infinite;\n -o-animation: progress-bar-stripes 2s linear infinite;\n animation: progress-bar-stripes 2s linear infinite;\n}\n.progress-bar-success {\n background-color: #5cb85c;\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: -o-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.progress-bar-info {\n background-color: #5bc0de;\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: -o-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.progress-bar-warning {\n background-color: #f0ad4e;\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: -o-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.progress-bar-danger {\n background-color: #d9534f;\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: -o-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.media {\n margin-top: 15px;\n}\n.media:first-child {\n margin-top: 0;\n}\n.media,\n.media-body {\n zoom: 1;\n overflow: hidden;\n}\n.media-body {\n width: 10000px;\n}\n.media-object {\n display: block;\n}\n.media-right,\n.media > .pull-right {\n padding-left: 10px;\n}\n.media-left,\n.media > .pull-left {\n padding-right: 10px;\n}\n.media-left,\n.media-right,\n.media-body {\n display: table-cell;\n vertical-align: top;\n}\n.media-middle {\n vertical-align: middle;\n}\n.media-bottom {\n vertical-align: bottom;\n}\n.media-heading {\n margin-top: 0;\n margin-bottom: 5px;\n}\n.media-list {\n padding-left: 0;\n list-style: none;\n}\n.list-group {\n margin-bottom: 20px;\n padding-left: 0;\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.list-group-item:first-child {\n border-top-right-radius: 4px;\n border-top-left-radius: 4px;\n}\n.list-group-item:last-child {\n margin-bottom: 0;\n border-bottom-right-radius: 4px;\n border-bottom-left-radius: 4px;\n}\na.list-group-item {\n color: #555555;\n}\na.list-group-item .list-group-item-heading {\n color: #333333;\n}\na.list-group-item:hover,\na.list-group-item:focus {\n text-decoration: none;\n color: #555555;\n background-color: #f5f5f5;\n}\n.list-group-item.disabled,\n.list-group-item.disabled:hover,\n.list-group-item.disabled:focus {\n background-color: #eeeeee;\n color: #777777;\n cursor: not-allowed;\n}\n.list-group-item.disabled .list-group-item-heading,\n.list-group-item.disabled:hover .list-group-item-heading,\n.list-group-item.disabled:focus .list-group-item-heading {\n color: inherit;\n}\n.list-group-item.disabled .list-group-item-text,\n.list-group-item.disabled:hover .list-group-item-text,\n.list-group-item.disabled:focus .list-group-item-text {\n color: #777777;\n}\n.list-group-item.active,\n.list-group-item.active:hover,\n.list-group-item.active:focus {\n z-index: 2;\n color: #ffffff;\n background-color: #337ab7;\n border-color: #337ab7;\n}\n.list-group-item.active .list-group-item-heading,\n.list-group-item.active:hover .list-group-item-heading,\n.list-group-item.active:focus .list-group-item-heading,\n.list-group-item.active .list-group-item-heading > small,\n.list-group-item.active:hover .list-group-item-heading > small,\n.list-group-item.active:focus .list-group-item-heading > small,\n.list-group-item.active .list-group-item-heading > .small,\n.list-group-item.active:hover .list-group-item-heading > .small,\n.list-group-item.active:focus .list-group-item-heading > .small {\n color: inherit;\n}\n.list-group-item.active .list-group-item-text,\n.list-group-item.active:hover .list-group-item-text,\n.list-group-item.active:focus .list-group-item-text {\n color: #c7ddef;\n}\n.list-group-item-success {\n color: #3c763d;\n background-color: #dff0d8;\n}\na.list-group-item-success {\n color: #3c763d;\n}\na.list-group-item-success .list-group-item-heading {\n color: inherit;\n}\na.list-group-item-success:hover,\na.list-group-item-success:focus {\n color: #3c763d;\n background-color: #d0e9c6;\n}\na.list-group-item-success.active,\na.list-group-item-success.active:hover,\na.list-group-item-success.active:focus {\n color: #fff;\n background-color: #3c763d;\n border-color: #3c763d;\n}\n.list-group-item-info {\n color: #31708f;\n background-color: #d9edf7;\n}\na.list-group-item-info {\n color: #31708f;\n}\na.list-group-item-info .list-group-item-heading {\n color: inherit;\n}\na.list-group-item-info:hover,\na.list-group-item-info:focus {\n color: #31708f;\n background-color: #c4e3f3;\n}\na.list-group-item-info.active,\na.list-group-item-info.active:hover,\na.list-group-item-info.active:focus {\n color: #fff;\n background-color: #31708f;\n border-color: #31708f;\n}\n.list-group-item-warning {\n color: #8a6d3b;\n background-color: #fcf8e3;\n}\na.list-group-item-warning {\n color: #8a6d3b;\n}\na.list-group-item-warning .list-group-item-heading {\n color: inherit;\n}\na.list-group-item-warning:hover,\na.list-group-item-warning:focus {\n color: #8a6d3b;\n background-color: #faf2cc;\n}\na.list-group-item-warning.active,\na.list-group-item-warning.active:hover,\na.list-group-item-warning.active:focus {\n color: #fff;\n background-color: #8a6d3b;\n border-color: #8a6d3b;\n}\n.list-group-item-danger {\n color: #a94442;\n background-color: #f2dede;\n}\na.list-group-item-danger {\n color: #a94442;\n}\na.list-group-item-danger .list-group-item-heading {\n color: inherit;\n}\na.list-group-item-danger:hover,\na.list-group-item-danger:focus {\n color: #a94442;\n background-color: #ebcccc;\n}\na.list-group-item-danger.active,\na.list-group-item-danger.active:hover,\na.list-group-item-danger.active:focus {\n color: #fff;\n background-color: #a94442;\n border-color: #a94442;\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.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.panel-body {\n padding: 15px;\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.panel-heading > .dropdown .dropdown-toggle {\n color: inherit;\n}\n.panel-title {\n margin-top: 0;\n margin-bottom: 0;\n font-size: 16px;\n color: inherit;\n}\n.panel-title > a,\n.panel-title > small,\n.panel-title > .small,\n.panel-title > small > a,\n.panel-title > .small > a {\n color: inherit;\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.panel > .list-group,\n.panel > .panel-collapse > .list-group {\n margin-bottom: 0;\n}\n.panel > .list-group .list-group-item,\n.panel > .panel-collapse > .list-group .list-group-item {\n border-width: 1px 0;\n border-radius: 0;\n}\n.panel > .list-group:first-child .list-group-item:first-child,\n.panel > .panel-collapse > .list-group:first-child .list-group-item:first-child {\n border-top: 0;\n border-top-right-radius: 3px;\n border-top-left-radius: 3px;\n}\n.panel > .list-group:last-child .list-group-item:last-child,\n.panel > .panel-collapse > .list-group:last-child .list-group-item:last-child {\n border-bottom: 0;\n border-bottom-right-radius: 3px;\n border-bottom-left-radius: 3px;\n}\n.panel-heading + .list-group .list-group-item:first-child {\n border-top-width: 0;\n}\n.list-group + .panel-footer {\n border-top-width: 0;\n}\n.panel > .table,\n.panel > .table-responsive > .table,\n.panel > .panel-collapse > .table {\n margin-bottom: 0;\n}\n.panel > .table caption,\n.panel > .table-responsive > .table caption,\n.panel > .panel-collapse > .table caption {\n padding-left: 15px;\n padding-right: 15px;\n}\n.panel > .table:first-child,\n.panel > .table-responsive:first-child > .table:first-child {\n border-top-right-radius: 3px;\n border-top-left-radius: 3px;\n}\n.panel > .table:first-child > thead:first-child > tr:first-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child {\n border-top-left-radius: 3px;\n border-top-right-radius: 3px;\n}\n.panel > .table:first-child > thead:first-child > tr:first-child td:first-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child td:first-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child,\n.panel > .table:first-child > thead:first-child > tr:first-child th:first-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child th:first-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child {\n border-top-left-radius: 3px;\n}\n.panel > .table:first-child > thead:first-child > tr:first-child td:last-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child td:last-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child,\n.panel > .table:first-child > thead:first-child > tr:first-child th:last-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child th:last-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child {\n border-top-right-radius: 3px;\n}\n.panel > .table:last-child,\n.panel > .table-responsive:last-child > .table:last-child {\n border-bottom-right-radius: 3px;\n border-bottom-left-radius: 3px;\n}\n.panel > .table:last-child > tbody:last-child > tr:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child {\n border-bottom-left-radius: 3px;\n border-bottom-right-radius: 3px;\n}\n.panel > .table:last-child > tbody:last-child > tr:last-child td:first-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child,\n.panel > .table:last-child > tbody:last-child > tr:last-child th:first-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child {\n border-bottom-left-radius: 3px;\n}\n.panel > .table:last-child > tbody:last-child > tr:last-child td:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child,\n.panel > .table:last-child > tbody:last-child > tr:last-child th:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child {\n border-bottom-right-radius: 3px;\n}\n.panel > .panel-body + .table,\n.panel > .panel-body + .table-responsive,\n.panel > .table + .panel-body,\n.panel > .table-responsive + .panel-body {\n border-top: 1px solid #dddddd;\n}\n.panel > .table > tbody:first-child > tr:first-child th,\n.panel > .table > tbody:first-child > tr:first-child td {\n border-top: 0;\n}\n.panel > .table-bordered,\n.panel > .table-responsive > .table-bordered {\n border: 0;\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.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.panel > .table-bordered > thead > tr:first-child > td,\n.panel > .table-responsive > .table-bordered > thead > tr:first-child > td,\n.panel > .table-bordered > tbody > tr:first-child > td,\n.panel > .table-responsive > .table-bordered > tbody > tr:first-child > td,\n.panel > .table-bordered > thead > tr:first-child > th,\n.panel > .table-responsive > .table-bordered > thead > tr:first-child > th,\n.panel > .table-bordered > tbody > tr:first-child > th,\n.panel > .table-responsive > .table-bordered > tbody > tr:first-child > th {\n border-bottom: 0;\n}\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.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 border-bottom: 0;\n}\n.panel > .table-responsive {\n border: 0;\n margin-bottom: 0;\n}\n.panel-group {\n margin-bottom: 20px;\n}\n.panel-group .panel {\n margin-bottom: 0;\n border-radius: 4px;\n}\n.panel-group .panel + .panel {\n margin-top: 5px;\n}\n.panel-group .panel-heading {\n border-bottom: 0;\n}\n.panel-group .panel-heading + .panel-collapse > .panel-body,\n.panel-group .panel-heading + .panel-collapse > .list-group {\n border-top: 1px solid #dddddd;\n}\n.panel-group .panel-footer {\n border-top: 0;\n}\n.panel-group .panel-footer + .panel-collapse .panel-body {\n border-bottom: 1px solid #dddddd;\n}\n.panel-default {\n border-color: #dddddd;\n}\n.panel-default > .panel-heading {\n color: #333333;\n background-color: #f5f5f5;\n border-color: #dddddd;\n}\n.panel-default > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #dddddd;\n}\n.panel-default > .panel-heading .badge {\n color: #f5f5f5;\n background-color: #333333;\n}\n.panel-default > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #dddddd;\n}\n.panel-primary {\n border-color: #337ab7;\n}\n.panel-primary > .panel-heading {\n color: #ffffff;\n background-color: #337ab7;\n border-color: #337ab7;\n}\n.panel-primary > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #337ab7;\n}\n.panel-primary > .panel-heading .badge {\n color: #337ab7;\n background-color: #ffffff;\n}\n.panel-primary > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #337ab7;\n}\n.panel-success {\n border-color: #d6e9c6;\n}\n.panel-success > .panel-heading {\n color: #3c763d;\n background-color: #dff0d8;\n border-color: #d6e9c6;\n}\n.panel-success > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #d6e9c6;\n}\n.panel-success > .panel-heading .badge {\n color: #dff0d8;\n background-color: #3c763d;\n}\n.panel-success > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #d6e9c6;\n}\n.panel-info {\n border-color: #bce8f1;\n}\n.panel-info > .panel-heading {\n color: #31708f;\n background-color: #d9edf7;\n border-color: #bce8f1;\n}\n.panel-info > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #bce8f1;\n}\n.panel-info > .panel-heading .badge {\n color: #d9edf7;\n background-color: #31708f;\n}\n.panel-info > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #bce8f1;\n}\n.panel-warning {\n border-color: #faebcc;\n}\n.panel-warning > .panel-heading {\n color: #8a6d3b;\n background-color: #fcf8e3;\n border-color: #faebcc;\n}\n.panel-warning > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #faebcc;\n}\n.panel-warning > .panel-heading .badge {\n color: #fcf8e3;\n background-color: #8a6d3b;\n}\n.panel-warning > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #faebcc;\n}\n.panel-danger {\n border-color: #ebccd1;\n}\n.panel-danger > .panel-heading {\n color: #a94442;\n background-color: #f2dede;\n border-color: #ebccd1;\n}\n.panel-danger > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #ebccd1;\n}\n.panel-danger > .panel-heading .badge {\n color: #f2dede;\n background-color: #a94442;\n}\n.panel-danger > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #ebccd1;\n}\n.embed-responsive {\n position: relative;\n display: block;\n height: 0;\n padding: 0;\n overflow: hidden;\n}\n.embed-responsive .embed-responsive-item,\n.embed-responsive iframe,\n.embed-responsive embed,\n.embed-responsive object,\n.embed-responsive video {\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n height: 100%;\n width: 100%;\n border: 0;\n}\n.embed-responsive.embed-responsive-16by9 {\n padding-bottom: 56.25%;\n}\n.embed-responsive.embed-responsive-4by3 {\n padding-bottom: 75%;\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.well blockquote {\n border-color: #ddd;\n border-color: rgba(0, 0, 0, 0.15);\n}\n.well-lg {\n padding: 24px;\n border-radius: 6px;\n}\n.well-sm {\n padding: 9px;\n border-radius: 3px;\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.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}\nbutton.close {\n padding: 0;\n cursor: pointer;\n background: transparent;\n border: 0;\n -webkit-appearance: none;\n}\n.modal-open {\n overflow: hidden;\n}\n.modal {\n display: none;\n overflow: hidden;\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1040;\n -webkit-overflow-scrolling: touch;\n outline: 0;\n}\n.modal.fade .modal-dialog {\n -webkit-transform: translate(0, -25%);\n -ms-transform: translate(0, -25%);\n -o-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.modal.in .modal-dialog {\n -webkit-transform: translate(0, 0);\n -ms-transform: translate(0, 0);\n -o-transform: translate(0, 0);\n transform: translate(0, 0);\n}\n.modal-open .modal {\n overflow-x: hidden;\n overflow-y: auto;\n}\n.modal-dialog {\n position: relative;\n width: auto;\n margin: 10px;\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 -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 outline: 0;\n}\n.modal-backdrop {\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n background-color: #000000;\n}\n.modal-backdrop.fade {\n opacity: 0;\n filter: alpha(opacity=0);\n}\n.modal-backdrop.in {\n opacity: 0.5;\n filter: alpha(opacity=50);\n}\n.modal-header {\n padding: 15px;\n border-bottom: 1px solid #e5e5e5;\n min-height: 16.42857143px;\n}\n.modal-header .close {\n margin-top: -2px;\n}\n.modal-title {\n margin: 0;\n line-height: 1.42857143;\n}\n.modal-body {\n position: relative;\n padding: 15px;\n}\n.modal-footer {\n padding: 15px;\n text-align: right;\n border-top: 1px solid #e5e5e5;\n}\n.modal-footer .btn + .btn {\n margin-left: 5px;\n margin-bottom: 0;\n}\n.modal-footer .btn-group .btn + .btn {\n margin-left: -1px;\n}\n.modal-footer .btn-block + .btn-block {\n margin-left: 0;\n}\n.modal-scrollbar-measure {\n position: absolute;\n top: -9999px;\n width: 50px;\n height: 50px;\n overflow: scroll;\n}\n@media (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 .modal-sm {\n width: 300px;\n }\n}\n@media (min-width: 992px) {\n .modal-lg {\n width: 900px;\n }\n}\n.tooltip {\n position: absolute;\n z-index: 1070;\n display: block;\n visibility: visible;\n font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;\n font-size: 12px;\n font-weight: normal;\n line-height: 1.4;\n opacity: 0;\n filter: alpha(opacity=0);\n}\n.tooltip.in {\n opacity: 0.9;\n filter: alpha(opacity=90);\n}\n.tooltip.top {\n margin-top: -3px;\n padding: 5px 0;\n}\n.tooltip.right {\n margin-left: 3px;\n padding: 0 5px;\n}\n.tooltip.bottom {\n margin-top: 3px;\n padding: 5px 0;\n}\n.tooltip.left {\n margin-left: -3px;\n padding: 0 5px;\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.tooltip-arrow {\n position: absolute;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n}\n.tooltip.top .tooltip-arrow {\n bottom: 0;\n left: 50%;\n margin-left: -5px;\n border-width: 5px 5px 0;\n border-top-color: #000000;\n}\n.tooltip.top-left .tooltip-arrow {\n bottom: 0;\n right: 5px;\n margin-bottom: -5px;\n border-width: 5px 5px 0;\n border-top-color: #000000;\n}\n.tooltip.top-right .tooltip-arrow {\n bottom: 0;\n left: 5px;\n margin-bottom: -5px;\n border-width: 5px 5px 0;\n border-top-color: #000000;\n}\n.tooltip.right .tooltip-arrow {\n top: 50%;\n left: 0;\n margin-top: -5px;\n border-width: 5px 5px 5px 0;\n border-right-color: #000000;\n}\n.tooltip.left .tooltip-arrow {\n top: 50%;\n right: 0;\n margin-top: -5px;\n border-width: 5px 0 5px 5px;\n border-left-color: #000000;\n}\n.tooltip.bottom .tooltip-arrow {\n top: 0;\n left: 50%;\n margin-left: -5px;\n border-width: 0 5px 5px;\n border-bottom-color: #000000;\n}\n.tooltip.bottom-left .tooltip-arrow {\n top: 0;\n right: 5px;\n margin-top: -5px;\n border-width: 0 5px 5px;\n border-bottom-color: #000000;\n}\n.tooltip.bottom-right .tooltip-arrow {\n top: 0;\n left: 5px;\n margin-top: -5px;\n border-width: 0 5px 5px;\n border-bottom-color: #000000;\n}\n.popover {\n position: absolute;\n top: 0;\n left: 0;\n z-index: 1060;\n display: none;\n max-width: 276px;\n padding: 1px;\n font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;\n font-size: 14px;\n font-weight: normal;\n line-height: 1.42857143;\n text-align: left;\n background-color: #ffffff;\n background-clip: padding-box;\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 white-space: normal;\n}\n.popover.top {\n margin-top: -10px;\n}\n.popover.right {\n margin-left: 10px;\n}\n.popover.bottom {\n margin-top: 10px;\n}\n.popover.left {\n margin-left: -10px;\n}\n.popover-title {\n margin: 0;\n padding: 8px 14px;\n font-size: 14px;\n background-color: #f7f7f7;\n border-bottom: 1px solid #ebebeb;\n border-radius: 5px 5px 0 0;\n}\n.popover-content {\n padding: 9px 14px;\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.popover > .arrow {\n border-width: 11px;\n}\n.popover > .arrow:after {\n border-width: 10px;\n content: \"\";\n}\n.popover.top > .arrow {\n left: 50%;\n margin-left: -11px;\n border-bottom-width: 0;\n border-top-color: #999999;\n border-top-color: rgba(0, 0, 0, 0.25);\n bottom: -11px;\n}\n.popover.top > .arrow:after {\n content: \" \";\n bottom: 1px;\n margin-left: -10px;\n border-bottom-width: 0;\n border-top-color: #ffffff;\n}\n.popover.right > .arrow {\n top: 50%;\n left: -11px;\n margin-top: -11px;\n border-left-width: 0;\n border-right-color: #999999;\n border-right-color: rgba(0, 0, 0, 0.25);\n}\n.popover.right > .arrow:after {\n content: \" \";\n left: 1px;\n bottom: -10px;\n border-left-width: 0;\n border-right-color: #ffffff;\n}\n.popover.bottom > .arrow {\n left: 50%;\n margin-left: -11px;\n border-top-width: 0;\n border-bottom-color: #999999;\n border-bottom-color: rgba(0, 0, 0, 0.25);\n top: -11px;\n}\n.popover.bottom > .arrow:after {\n content: \" \";\n top: 1px;\n margin-left: -10px;\n border-top-width: 0;\n border-bottom-color: #ffffff;\n}\n.popover.left > .arrow {\n top: 50%;\n right: -11px;\n margin-top: -11px;\n border-right-width: 0;\n border-left-color: #999999;\n border-left-color: rgba(0, 0, 0, 0.25);\n}\n.popover.left > .arrow:after {\n content: \" \";\n right: 1px;\n border-right-width: 0;\n border-left-color: #ffffff;\n bottom: -10px;\n}\n.carousel {\n position: relative;\n}\n.carousel-inner {\n position: relative;\n overflow: hidden;\n width: 100%;\n}\n.carousel-inner > .item {\n display: none;\n position: relative;\n -webkit-transition: 0.6s ease-in-out left;\n -o-transition: 0.6s ease-in-out left;\n transition: 0.6s ease-in-out left;\n}\n.carousel-inner > .item > img,\n.carousel-inner > .item > a > img {\n line-height: 1;\n}\n@media all and (transform-3d), (-webkit-transform-3d) {\n .carousel-inner > .item {\n -webkit-transition: -webkit-transform 0.6s ease-in-out;\n -moz-transition: -moz-transform 0.6s ease-in-out;\n -o-transition: -o-transform 0.6s ease-in-out;\n transition: transform 0.6s ease-in-out;\n -webkit-backface-visibility: hidden;\n -moz-backface-visibility: hidden;\n backface-visibility: hidden;\n -webkit-perspective: 1000;\n -moz-perspective: 1000;\n perspective: 1000;\n }\n .carousel-inner > .item.next,\n .carousel-inner > .item.active.right {\n -webkit-transform: translate3d(100%, 0, 0);\n transform: translate3d(100%, 0, 0);\n left: 0;\n }\n .carousel-inner > .item.prev,\n .carousel-inner > .item.active.left {\n -webkit-transform: translate3d(-100%, 0, 0);\n transform: translate3d(-100%, 0, 0);\n left: 0;\n }\n .carousel-inner > .item.next.left,\n .carousel-inner > .item.prev.right,\n .carousel-inner > .item.active {\n -webkit-transform: translate3d(0, 0, 0);\n transform: translate3d(0, 0, 0);\n left: 0;\n }\n}\n.carousel-inner > .active,\n.carousel-inner > .next,\n.carousel-inner > .prev {\n display: block;\n}\n.carousel-inner > .active {\n left: 0;\n}\n.carousel-inner > .next,\n.carousel-inner > .prev {\n position: absolute;\n top: 0;\n width: 100%;\n}\n.carousel-inner > .next {\n left: 100%;\n}\n.carousel-inner > .prev {\n left: -100%;\n}\n.carousel-inner > .next.left,\n.carousel-inner > .prev.right {\n left: 0;\n}\n.carousel-inner > .active.left {\n left: -100%;\n}\n.carousel-inner > .active.right {\n left: 100%;\n}\n.carousel-control {\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n width: 15%;\n opacity: 0.5;\n filter: alpha(opacity=50);\n font-size: 20px;\n color: #ffffff;\n text-align: center;\n text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);\n}\n.carousel-control.left {\n background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%);\n background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, 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.carousel-control.right {\n left: auto;\n right: 0;\n background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%);\n background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0.0001) 0%, 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.carousel-control:hover,\n.carousel-control:focus {\n outline: 0;\n color: #ffffff;\n text-decoration: none;\n opacity: 0.9;\n filter: alpha(opacity=90);\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.carousel-control .icon-prev,\n.carousel-control .glyphicon-chevron-left {\n left: 50%;\n margin-left: -10px;\n}\n.carousel-control .icon-next,\n.carousel-control .glyphicon-chevron-right {\n right: 50%;\n margin-right: -10px;\n}\n.carousel-control .icon-prev,\n.carousel-control .icon-next {\n width: 20px;\n height: 20px;\n margin-top: -10px;\n line-height: 1;\n font-family: serif;\n}\n.carousel-control .icon-prev:before {\n content: '\\2039';\n}\n.carousel-control .icon-next:before {\n content: '\\203a';\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.carousel-indicators li {\n display: inline-block;\n width: 10px;\n height: 10px;\n margin: 1px;\n text-indent: -999px;\n border: 1px solid #ffffff;\n border-radius: 10px;\n cursor: pointer;\n background-color: #000 \\9;\n background-color: rgba(0, 0, 0, 0);\n}\n.carousel-indicators .active {\n margin: 0;\n width: 12px;\n height: 12px;\n background-color: #ffffff;\n}\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: #ffffff;\n text-align: center;\n text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);\n}\n.carousel-caption .btn {\n text-shadow: none;\n}\n@media screen and (min-width: 768px) {\n .carousel-control .glyphicon-chevron-left,\n .carousel-control .glyphicon-chevron-right,\n .carousel-control .icon-prev,\n .carousel-control .icon-next {\n width: 30px;\n height: 30px;\n margin-top: -15px;\n font-size: 30px;\n }\n .carousel-control .glyphicon-chevron-left,\n .carousel-control .icon-prev {\n margin-left: -15px;\n }\n .carousel-control .glyphicon-chevron-right,\n .carousel-control .icon-next {\n margin-right: -15px;\n }\n .carousel-caption {\n left: 20%;\n right: 20%;\n padding-bottom: 30px;\n }\n .carousel-indicators {\n bottom: 20px;\n }\n}\n.clearfix:before,\n.clearfix:after,\n.dl-horizontal dd:before,\n.dl-horizontal dd:after,\n.container:before,\n.container:after,\n.container-fluid:before,\n.container-fluid:after,\n.row:before,\n.row:after,\n.form-horizontal .form-group:before,\n.form-horizontal .form-group:after,\n.btn-toolbar:before,\n.btn-toolbar:after,\n.btn-group-vertical > .btn-group:before,\n.btn-group-vertical > .btn-group:after,\n.nav:before,\n.nav:after,\n.navbar:before,\n.navbar:after,\n.navbar-header:before,\n.navbar-header:after,\n.navbar-collapse:before,\n.navbar-collapse:after,\n.pager:before,\n.pager:after,\n.panel-body:before,\n.panel-body:after,\n.modal-footer:before,\n.modal-footer:after {\n content: \" \";\n display: table;\n}\n.clearfix:after,\n.dl-horizontal dd:after,\n.container:after,\n.container-fluid:after,\n.row:after,\n.form-horizontal .form-group:after,\n.btn-toolbar:after,\n.btn-group-vertical > .btn-group:after,\n.nav:after,\n.navbar:after,\n.navbar-header:after,\n.navbar-collapse:after,\n.pager:after,\n.panel-body:after,\n.modal-footer:after {\n clear: both;\n}\n.center-block {\n display: block;\n margin-left: auto;\n margin-right: auto;\n}\n.pull-right {\n float: right !important;\n}\n.pull-left {\n float: left !important;\n}\n.hide {\n display: none !important;\n}\n.show {\n display: block !important;\n}\n.invisible {\n visibility: hidden;\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.hidden {\n display: none !important;\n visibility: hidden !important;\n}\n.affix {\n position: fixed;\n}\n@-ms-viewport {\n width: device-width;\n}\n.visible-xs,\n.visible-sm,\n.visible-md,\n.visible-lg {\n display: none !important;\n}\n.visible-xs-block,\n.visible-xs-inline,\n.visible-xs-inline-block,\n.visible-sm-block,\n.visible-sm-inline,\n.visible-sm-inline-block,\n.visible-md-block,\n.visible-md-inline,\n.visible-md-inline-block,\n.visible-lg-block,\n.visible-lg-inline,\n.visible-lg-inline-block {\n display: none !important;\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@media (max-width: 767px) {\n .visible-xs-block {\n display: block !important;\n }\n}\n@media (max-width: 767px) {\n .visible-xs-inline {\n display: inline !important;\n }\n}\n@media (max-width: 767px) {\n .visible-xs-inline-block {\n display: inline-block !important;\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@media (min-width: 768px) and (max-width: 991px) {\n .visible-sm-block {\n display: block !important;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .visible-sm-inline {\n display: inline !important;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .visible-sm-inline-block {\n display: inline-block !important;\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@media (min-width: 992px) and (max-width: 1199px) {\n .visible-md-block {\n display: block !important;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .visible-md-inline {\n display: inline !important;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .visible-md-inline-block {\n display: inline-block !important;\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@media (min-width: 1200px) {\n .visible-lg-block {\n display: block !important;\n }\n}\n@media (min-width: 1200px) {\n .visible-lg-inline {\n display: inline !important;\n }\n}\n@media (min-width: 1200px) {\n .visible-lg-inline-block {\n display: inline-block !important;\n }\n}\n@media (max-width: 767px) {\n .hidden-xs {\n display: none !important;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .hidden-sm {\n display: none !important;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .hidden-md {\n display: none !important;\n }\n}\n@media (min-width: 1200px) {\n .hidden-lg {\n display: none !important;\n }\n}\n.visible-print {\n display: none !important;\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}\n.visible-print-block {\n display: none !important;\n}\n@media print {\n .visible-print-block {\n display: block !important;\n }\n}\n.visible-print-inline {\n display: none !important;\n}\n@media print {\n .visible-print-inline {\n display: inline !important;\n }\n}\n.visible-print-inline-block {\n display: none !important;\n}\n@media print {\n .visible-print-inline-block {\n display: inline-block !important;\n }\n}\n@media print {\n .hidden-print {\n display: none !important;\n }\n}\n/*# sourceMappingURL=bootstrap.css.map */","/*! normalize.css v3.0.2 | MIT License | git.io/normalize */\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// HTML5 display definitions\n// ==========================================================================\n\n//\n// Correct `block` display not defined for any HTML5 element in IE 8/9.\n// Correct `block` display not defined for `details` or `summary` in IE 10/11\n// and Firefox.\n// Correct `block` display not defined for `main` in IE 11.\n//\n\narticle,\naside,\ndetails,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nmain,\nmenu,\nnav,\nsection,\nsummary {\n display: block;\n}\n\n//\n// 1. Correct `inline-block` display not defined in IE 8/9.\n// 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.\n//\n\naudio,\ncanvas,\nprogress,\nvideo {\n display: inline-block; // 1\n vertical-align: baseline; // 2\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/10.\n// Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.\n//\n\n[hidden],\ntemplate {\n display: none;\n}\n\n// Links\n// ==========================================================================\n\n//\n// Remove the gray background color from active links in IE 10.\n//\n\na {\n background-color: transparent;\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// Text-level semantics\n// ==========================================================================\n\n//\n// Address styling not present in IE 8/9/10/11, Safari, and Chrome.\n//\n\nabbr[title] {\n border-bottom: 1px dotted;\n}\n\n//\n// Address style set to `bolder` in Firefox 4+, Safari, and Chrome.\n//\n\nb,\nstrong {\n font-weight: bold;\n}\n\n//\n// Address styling not present in Safari and Chrome.\n//\n\ndfn {\n font-style: italic;\n}\n\n//\n// Address variable `h1` font-size and margin within `section` and `article`\n// contexts in Firefox 4+, Safari, 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.\n//\n\nmark {\n background: #ff0;\n color: #000;\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// Embedded content\n// ==========================================================================\n\n//\n// Remove border when inside `a` element in IE 8/9/10.\n//\n\nimg {\n border: 0;\n}\n\n//\n// Correct overflow not hidden in IE 9/10/11.\n//\n\nsvg:not(:root) {\n overflow: hidden;\n}\n\n// Grouping content\n// ==========================================================================\n\n//\n// Address margin not present in IE 8/9 and Safari.\n//\n\nfigure {\n margin: 1em 40px;\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// Contain overflow in all browsers.\n//\n\npre {\n overflow: auto;\n}\n\n//\n// Address odd `em`-unit font size rendering in all browsers.\n//\n\ncode,\nkbd,\npre,\nsamp {\n font-family: monospace, monospace;\n font-size: 1em;\n}\n\n// Forms\n// ==========================================================================\n\n//\n// Known limitation: by default, Chrome and Safari on OS X allow very limited\n// styling of `select`, unless a `border` property is set.\n//\n\n//\n// 1. Correct color not being inherited.\n// Known issue: affects color of disabled elements.\n// 2. Correct font properties not being inherited.\n// 3. Address margins set differently in Firefox 4+, Safari, and Chrome.\n//\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n color: inherit; // 1\n font: inherit; // 2\n margin: 0; // 3\n}\n\n//\n// Address `overflow` set to `hidden` in IE 8/9/10/11.\n//\n\nbutton {\n overflow: visible;\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 Firefox, IE 8/9/10/11, and Opera.\n// Correct `select` style inheritance in Firefox.\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// 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// Address Firefox 4+ setting `line-height` on `input` using `!important` in\n// the UA stylesheet.\n//\n\ninput {\n line-height: normal;\n}\n\n//\n// It's recommended that you don't attempt to style these elements.\n// Firefox's implementation doesn't respect box-sizing, padding, or width.\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// Fix the cursor style for Chrome's increment/decrement buttons. For certain\n// `font-size` values of the `input`, it causes the cursor style of the\n// decrement button to change from `default` to `text`.\n//\n\ninput[type=\"number\"]::-webkit-inner-spin-button,\ninput[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n//\n// 1. Address `appearance` set to `searchfield` in Safari and Chrome.\n// 2. Address `box-sizing` set to `border-box` in Safari 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 and Chrome on OS X.\n// Safari (but not Chrome) clips the cancel button when the search input has\n// padding (and `textfield` appearance).\n//\n\ninput[type=\"search\"]::-webkit-search-cancel-button,\ninput[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\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/10/11.\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// Remove default vertical scrollbar in IE 8/9/10/11.\n//\n\ntextarea {\n overflow: auto;\n}\n\n//\n// Don't inherit the `font-weight` (applied by a rule above).\n// NOTE: the default cannot safely be changed in Chrome and Safari on OS X.\n//\n\noptgroup {\n font-weight: bold;\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\ntd,\nth {\n padding: 0;\n}\n","/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */\n\n// ==========================================================================\n// Print styles.\n// Inlined to avoid the additional HTTP request: h5bp.com/r\n// ==========================================================================\n\n@media print {\n *,\n *:before,\n *:after {\n background: transparent !important;\n color: #000 !important; // Black prints faster: h5bp.com/s\n box-shadow: none !important;\n text-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 that are fragment identifiers,\n // or use the `javascript:` pseudo protocol\n a[href^=\"#\"]:after,\n a[href^=\"javascript:\"]: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 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 // Bootstrap specific changes start\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 .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 td,\n th {\n background-color: #fff !important;\n }\n }\n .table-bordered {\n th,\n td {\n border: 1px solid #ddd !important;\n }\n }\n\n // Bootstrap specific changes end\n}\n","//\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// Star \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}.woff2') format('woff2'),\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#@{icon-font-svg-id}') 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\n// Individual icons\n.glyphicon-asterisk { &:before { content: \"\\2a\"; } }\n.glyphicon-plus { &:before { content: \"\\2b\"; } }\n.glyphicon-euro,\n.glyphicon-eur { &: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.glyphicon-cd { &:before { content: \"\\e201\"; } }\n.glyphicon-save-file { &:before { content: \"\\e202\"; } }\n.glyphicon-open-file { &:before { content: \"\\e203\"; } }\n.glyphicon-level-up { &:before { content: \"\\e204\"; } }\n.glyphicon-copy { &:before { content: \"\\e205\"; } }\n.glyphicon-paste { &:before { content: \"\\e206\"; } }\n// The following 2 Glyphicons are omitted for the time being because\n// they currently use Unicode codepoints that are outside the\n// Basic Multilingual Plane (BMP). Older buggy versions of WebKit can't handle\n// non-BMP codepoints in CSS string escapes, and thus can't display these two icons.\n// Notably, the bug affects some older versions of the Android Browser.\n// More info: https://github.com/twbs/bootstrap/issues/10106\n// .glyphicon-door { &:before { content: \"\\1f6aa\"; } }\n// .glyphicon-key { &:before { content: \"\\1f511\"; } }\n.glyphicon-alert { &:before { content: \"\\e209\"; } }\n.glyphicon-equalizer { &:before { content: \"\\e210\"; } }\n.glyphicon-king { &:before { content: \"\\e211\"; } }\n.glyphicon-queen { &:before { content: \"\\e212\"; } }\n.glyphicon-pawn { &:before { content: \"\\e213\"; } }\n.glyphicon-bishop { &:before { content: \"\\e214\"; } }\n.glyphicon-knight { &:before { content: \"\\e215\"; } }\n.glyphicon-baby-formula { &:before { content: \"\\e216\"; } }\n.glyphicon-tent { &:before { content: \"\\26fa\"; } }\n.glyphicon-blackboard { &:before { content: \"\\e218\"; } }\n.glyphicon-bed { &:before { content: \"\\e219\"; } }\n.glyphicon-apple { &:before { content: \"\\f8ff\"; } }\n.glyphicon-erase { &:before { content: \"\\e221\"; } }\n.glyphicon-hourglass { &:before { content: \"\\231b\"; } }\n.glyphicon-lamp { &:before { content: \"\\e223\"; } }\n.glyphicon-duplicate { &:before { content: \"\\e224\"; } }\n.glyphicon-piggy-bank { &:before { content: \"\\e225\"; } }\n.glyphicon-scissors { &:before { content: \"\\e226\"; } }\n.glyphicon-bitcoin { &:before { content: \"\\e227\"; } }\n.glyphicon-yen { &:before { content: \"\\00a5\"; } }\n.glyphicon-ruble { &:before { content: \"\\20bd\"; } }\n.glyphicon-scale { &:before { content: \"\\e230\"; } }\n.glyphicon-ice-lolly { &:before { content: \"\\e231\"; } }\n.glyphicon-ice-lolly-tasted { &:before { content: \"\\e232\"; } }\n.glyphicon-education { &:before { content: \"\\e233\"; } }\n.glyphicon-option-horizontal { &:before { content: \"\\e234\"; } }\n.glyphicon-option-vertical { &:before { content: \"\\e235\"; } }\n.glyphicon-menu-hamburger { &:before { content: \"\\e236\"; } }\n.glyphicon-modal-window { &:before { content: \"\\e237\"; } }\n.glyphicon-oil { &:before { content: \"\\e238\"; } }\n.glyphicon-grain { &:before { content: \"\\e239\"; } }\n.glyphicon-sunglasses { &:before { content: \"\\e240\"; } }\n.glyphicon-text-size { &:before { content: \"\\e241\"; } }\n.glyphicon-text-color { &:before { content: \"\\e242\"; } }\n.glyphicon-text-background { &:before { content: \"\\e243\"; } }\n.glyphicon-object-align-top { &:before { content: \"\\e244\"; } }\n.glyphicon-object-align-bottom { &:before { content: \"\\e245\"; } }\n.glyphicon-object-align-horizontal{ &:before { content: \"\\e246\"; } }\n.glyphicon-object-align-left { &:before { content: \"\\e247\"; } }\n.glyphicon-object-align-vertical { &:before { content: \"\\e248\"; } }\n.glyphicon-object-align-right { &:before { content: \"\\e249\"; } }\n.glyphicon-triangle-right { &:before { content: \"\\e250\"; } }\n.glyphicon-triangle-left { &:before { content: \"\\e251\"; } }\n.glyphicon-triangle-bottom { &:before { content: \"\\e252\"; } }\n.glyphicon-triangle-top { &:before { content: \"\\e253\"; } }\n.glyphicon-console { &:before { content: \"\\e254\"; } }\n.glyphicon-superscript { &:before { content: \"\\e255\"; } }\n.glyphicon-subscript { &:before { content: \"\\e256\"; } }\n.glyphicon-menu-left { &:before { content: \"\\e257\"; } }\n.glyphicon-menu-right { &:before { content: \"\\e258\"; } }\n.glyphicon-menu-down { &:before { content: \"\\e259\"; } }\n.glyphicon-menu-up { &:before { content: \"\\e260\"; } }\n","//\n// Scaffolding\n// --------------------------------------------------\n\n\n// Reset the box-sizing\n//\n// Heads up! This reset may cause conflicts with some third-party widgets.\n// For recommendations on resolving such conflicts, see\n// http://getbootstrap.com/getting-started/#third-box-sizing\n* {\n .box-sizing(border-box);\n}\n*:before,\n*:after {\n .box-sizing(border-box);\n}\n\n\n// Body reset\n\nhtml {\n font-size: 10px;\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: @link-hover-decoration;\n }\n\n &:focus {\n .tab-focus();\n }\n}\n\n\n// Figures\n//\n// We reset this here because previously Normalize had no `figure` margins. This\n// ensures we don't break anyone's use of the element.\n\nfigure {\n margin: 0;\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\n// Use in conjunction with .sr-only to only display content when it's focused.\n// Useful for \"Skip to main content\" links; see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1\n// Credit: HTML5 Boilerplate\n\n.sr-only-focusable {\n &:active,\n &:focus {\n position: static;\n width: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n clip: auto;\n }\n}\n","// Vendor Prefixes\n//\n// All vendor mixins are deprecated as of v3.2.0 due to the introduction of\n// Autoprefixer in our Gruntfile. They will be removed in v4.\n\n// - Animations\n// - Backface visibility\n// - Box shadow\n// - Box sizing\n// - Content columns\n// - Hyphens\n// - Placeholder text\n// - Transformations\n// - Transitions\n// - User Select\n\n\n// Animations\n.animation(@animation) {\n -webkit-animation: @animation;\n -o-animation: @animation;\n animation: @animation;\n}\n.animation-name(@name) {\n -webkit-animation-name: @name;\n animation-name: @name;\n}\n.animation-duration(@duration) {\n -webkit-animation-duration: @duration;\n animation-duration: @duration;\n}\n.animation-timing-function(@timing-function) {\n -webkit-animation-timing-function: @timing-function;\n animation-timing-function: @timing-function;\n}\n.animation-delay(@delay) {\n -webkit-animation-delay: @delay;\n animation-delay: @delay;\n}\n.animation-iteration-count(@iteration-count) {\n -webkit-animation-iteration-count: @iteration-count;\n animation-iteration-count: @iteration-count;\n}\n.animation-direction(@direction) {\n -webkit-animation-direction: @direction;\n animation-direction: @direction;\n}\n.animation-fill-mode(@fill-mode) {\n -webkit-animation-fill-mode: @fill-mode;\n animation-fill-mode: @fill-mode;\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\n.backface-visibility(@visibility){\n -webkit-backface-visibility: @visibility;\n -moz-backface-visibility: @visibility;\n backface-visibility: @visibility;\n}\n\n// Drop shadows\n//\n// Note: Deprecated `.box-shadow()` as of v3.1.0 since all of Bootstrap's\n// supported browsers that have box shadow capabilities now support it.\n\n.box-shadow(@shadow) {\n -webkit-box-shadow: @shadow; // iOS <4.3 & Android <4.1\n box-shadow: @shadow;\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// 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// Placeholder text\n.placeholder(@color: @input-color-placeholder) {\n // Firefox\n &::-moz-placeholder {\n color: @color;\n opacity: 1; // Override Firefox's unusual default opacity; see https://github.com/twbs/bootstrap/pull/11526\n }\n &:-ms-input-placeholder { color: @color; } // Internet Explorer 10+\n &::-webkit-input-placeholder { color: @color; } // Safari and Chrome\n}\n\n// Transformations\n.scale(@ratio) {\n -webkit-transform: scale(@ratio);\n -ms-transform: scale(@ratio); // IE9 only\n -o-transform: scale(@ratio);\n transform: scale(@ratio);\n}\n.scale(@ratioX; @ratioY) {\n -webkit-transform: scale(@ratioX, @ratioY);\n -ms-transform: scale(@ratioX, @ratioY); // IE9 only\n -o-transform: scale(@ratioX, @ratioY);\n transform: scale(@ratioX, @ratioY);\n}\n.scaleX(@ratio) {\n -webkit-transform: scaleX(@ratio);\n -ms-transform: scaleX(@ratio); // IE9 only\n -o-transform: scaleX(@ratio);\n transform: scaleX(@ratio);\n}\n.scaleY(@ratio) {\n -webkit-transform: scaleY(@ratio);\n -ms-transform: scaleY(@ratio); // IE9 only\n -o-transform: scaleY(@ratio);\n transform: scaleY(@ratio);\n}\n.skew(@x; @y) {\n -webkit-transform: skewX(@x) skewY(@y);\n -ms-transform: skewX(@x) skewY(@y); // See https://github.com/twbs/bootstrap/issues/4885; IE9+\n -o-transform: skewX(@x) skewY(@y);\n transform: skewX(@x) skewY(@y);\n}\n.translate(@x; @y) {\n -webkit-transform: translate(@x, @y);\n -ms-transform: translate(@x, @y); // IE9 only\n -o-transform: translate(@x, @y);\n transform: translate(@x, @y);\n}\n.translate3d(@x; @y; @z) {\n -webkit-transform: translate3d(@x, @y, @z);\n transform: translate3d(@x, @y, @z);\n}\n.rotate(@degrees) {\n -webkit-transform: rotate(@degrees);\n -ms-transform: rotate(@degrees); // IE9 only\n -o-transform: rotate(@degrees);\n transform: rotate(@degrees);\n}\n.rotateX(@degrees) {\n -webkit-transform: rotateX(@degrees);\n -ms-transform: rotateX(@degrees); // IE9 only\n -o-transform: rotateX(@degrees);\n transform: rotateX(@degrees);\n}\n.rotateY(@degrees) {\n -webkit-transform: rotateY(@degrees);\n -ms-transform: rotateY(@degrees); // IE9 only\n -o-transform: rotateY(@degrees);\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 -ms-transform-origin: @origin; // IE9 only\n transform-origin: @origin;\n}\n\n\n// Transitions\n\n.transition(@transition) {\n -webkit-transition: @transition;\n -o-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-timing-function(@timing-function) {\n -webkit-transition-timing-function: @timing-function;\n transition-timing-function: @timing-function;\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\n// User select\n// For selecting text on the page\n\n.user-select(@select) {\n -webkit-user-select: @select;\n -moz-user-select: @select;\n -ms-user-select: @select; // IE10+\n user-select: @select;\n}\n","// WebKit-style focus\n\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","// Image Mixins\n// - Responsive image\n// - Retina image\n\n\n// Responsive image\n//\n// Keep images from scaling beyond the width of their parents.\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// Retina image\n//\n// Short retina mixin for setting background-image and -size. Note that the\n// spelling of `min--moz-device-pixel-ratio` is intentional.\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// 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, .h1,\nh2, .h2,\nh3, .h3 {\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, .h4,\nh5, .h5,\nh6, .h6 {\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: 300;\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: (12px small font / 14px base font) * 100% = about 85%\nsmall,\n.small {\n font-size: floor((100% * @font-size-small / @font-size-base));\n}\n\nmark,\n.mark {\n background-color: @state-warning-bg;\n padding: .2em;\n}\n\n// Alignment\n.text-left { text-align: left; }\n.text-right { text-align: right; }\n.text-center { text-align: center; }\n.text-justify { text-align: justify; }\n.text-nowrap { white-space: nowrap; }\n\n// Transformation\n.text-lowercase { text-transform: lowercase; }\n.text-uppercase { text-transform: uppercase; }\n.text-capitalize { text-transform: capitalize; }\n\n// Contextual colors\n.text-muted {\n color: @text-muted;\n}\n.text-primary {\n .text-emphasis-variant(@brand-primary);\n}\n.text-success {\n .text-emphasis-variant(@state-success-text);\n}\n.text-info {\n .text-emphasis-variant(@state-info-text);\n}\n.text-warning {\n .text-emphasis-variant(@state-warning-text);\n}\n.text-danger {\n .text-emphasis-variant(@state-danger-text);\n}\n\n// Contextual backgrounds\n// For now we'll leave these alongside the text classes until v4 when we can\n// safely shift things around (per SemVer rules).\n.bg-primary {\n // Given the contrast here, this is the only class to have its color inverted\n // automatically.\n color: #fff;\n .bg-variant(@brand-primary);\n}\n.bg-success {\n .bg-variant(@state-success-bg);\n}\n.bg-info {\n .bg-variant(@state-info-bg);\n}\n.bg-warning {\n .bg-variant(@state-warning-bg);\n}\n.bg-danger {\n .bg-variant(@state-danger-bg);\n}\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 margin-left: -5px;\n\n > li {\n display: inline-block;\n padding-left: 5px;\n padding-right: 5px;\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.dl-horizontal {\n dd {\n &:extend(.clearfix all); // Clear the floated `dt` if an empty `dd` is present\n }\n\n @media (min-width: @grid-float-breakpoint) {\n dt {\n float: left;\n width: (@dl-horizontal-offset - 20);\n clear: left;\n text-align: right;\n .text-overflow();\n }\n dd {\n margin-left: @dl-horizontal-offset;\n }\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 font-size: @blockquote-font-size;\n border-left: 5px solid @blockquote-border-color;\n\n p,\n ul,\n ol {\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n // Note: Deprecated small and .small as of v3.1.0\n // Context: https://github.com/twbs/bootstrap/issues/11660\n footer,\n small,\n .small {\n display: block;\n font-size: 80%; // back to default font-size\n line-height: @line-height-base;\n color: @blockquote-small-color;\n\n &:before {\n content: '\\2014 \\00A0'; // em dash, nbsp\n }\n }\n}\n\n// Opposite alignment of blockquote\n//\n// Heads up: `blockquote.pull-right` has been deprecated as of v3.1.0.\n.blockquote-reverse,\nblockquote.pull-right {\n padding-right: 15px;\n padding-left: 0;\n border-right: 5px solid @blockquote-border-color;\n border-left: 0;\n text-align: right;\n\n // Account for citation\n footer,\n small,\n .small {\n &:before { content: ''; }\n &:after {\n content: '\\00A0 \\2014'; // nbsp, em dash\n }\n }\n}\n\n// Addresses\naddress {\n margin-bottom: @line-height-computed;\n font-style: normal;\n line-height: @line-height-base;\n}\n","// Typography\n\n.text-emphasis-variant(@color) {\n color: @color;\n a&:hover {\n color: darken(@color, 10%);\n }\n}\n","// Contextual backgrounds\n\n.bg-variant(@color) {\n background-color: @color;\n a&:hover {\n background-color: darken(@color, 10%);\n }\n}\n","// Text overflow\n// Requires inline-block or block for proper styling\n\n.text-overflow() {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n","//\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 border-radius: @border-radius-base;\n}\n\n// User input typically entered via keyboard\nkbd {\n padding: 2px 4px;\n font-size: 90%;\n color: @kbd-color;\n background-color: @kbd-bg;\n border-radius: @border-radius-small;\n box-shadow: inset 0 -1px 0 rgba(0,0,0,.25);\n\n kbd {\n padding: 0;\n font-size: 100%;\n font-weight: bold;\n box-shadow: none;\n }\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","//\n// Grid system\n// --------------------------------------------------\n\n\n// Container widths\n//\n// Set the container width, and override it for fixed navbars in media queries.\n\n.container {\n .container-fixed();\n\n @media (min-width: @screen-sm-min) {\n width: @container-sm;\n }\n @media (min-width: @screen-md-min) {\n width: @container-md;\n }\n @media (min-width: @screen-lg-min) {\n width: @container-lg;\n }\n}\n\n\n// Fluid container\n//\n// Utilizes the mixin meant for fixed width containers, but without any defined\n// width for fluid, full width layouts.\n\n.container-fluid {\n .container-fixed();\n}\n\n\n// Row\n//\n// Rows contain and clear the floats of your columns.\n\n.row {\n .make-row();\n}\n\n\n// Columns\n//\n// Common styles for small and large grid columns\n\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(xs);\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(sm);\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(md);\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(lg);\n}\n","// Grid system\n//\n// Generate semantic grid columns with these mixins.\n\n// Centered container element\n.container-fixed(@gutter: @grid-gutter-width) {\n margin-right: auto;\n margin-left: auto;\n padding-left: (@gutter / 2);\n padding-right: (@gutter / 2);\n &:extend(.clearfix all);\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 &:extend(.clearfix all);\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 min-height: 1px;\n padding-left: (@gutter / 2);\n padding-right: (@gutter / 2);\n}\n.make-xs-column-offset(@columns) {\n margin-left: percentage((@columns / @grid-columns));\n}\n.make-xs-column-push(@columns) {\n left: percentage((@columns / @grid-columns));\n}\n.make-xs-column-pull(@columns) {\n right: percentage((@columns / @grid-columns));\n}\n\n// Generate the small columns\n.make-sm-column(@columns; @gutter: @grid-gutter-width) {\n position: relative;\n min-height: 1px;\n padding-left: (@gutter / 2);\n padding-right: (@gutter / 2);\n\n @media (min-width: @screen-sm-min) {\n float: left;\n width: percentage((@columns / @grid-columns));\n }\n}\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 min-height: 1px;\n padding-left: (@gutter / 2);\n padding-right: (@gutter / 2);\n\n @media (min-width: @screen-md-min) {\n float: left;\n width: percentage((@columns / @grid-columns));\n }\n}\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 min-height: 1px;\n padding-left: (@gutter / 2);\n padding-right: (@gutter / 2);\n\n @media (min-width: @screen-lg-min) {\n float: left;\n width: percentage((@columns / @grid-columns));\n }\n}\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","// 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) { // 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.float-grid-columns(@class) {\n .col(@index) { // 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-column(@index, @class, @type) when (@type = width) and (@index > 0) {\n .col-@{class}-@{index} {\n width: percentage((@index / @grid-columns));\n }\n}\n.calc-grid-column(@index, @class, @type) when (@type = push) and (@index > 0) {\n .col-@{class}-push-@{index} {\n left: percentage((@index / @grid-columns));\n }\n}\n.calc-grid-column(@index, @class, @type) when (@type = push) and (@index = 0) {\n .col-@{class}-push-0 {\n left: auto;\n }\n}\n.calc-grid-column(@index, @class, @type) when (@type = pull) and (@index > 0) {\n .col-@{class}-pull-@{index} {\n right: percentage((@index / @grid-columns));\n }\n}\n.calc-grid-column(@index, @class, @type) when (@type = pull) and (@index = 0) {\n .col-@{class}-pull-0 {\n right: auto;\n }\n}\n.calc-grid-column(@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.loop-grid-columns(@index, @class, @type) when (@index >= 0) {\n .calc-grid-column(@index, @class, @type);\n // next iteration\n .loop-grid-columns((@index - 1), @class, @type);\n}\n\n// Create grid for specific class\n.make-grid(@class) {\n .float-grid-columns(@class);\n .loop-grid-columns(@grid-columns, @class, width);\n .loop-grid-columns(@grid-columns, @class, pull);\n .loop-grid-columns(@grid-columns, @class, push);\n .loop-grid-columns(@grid-columns, @class, offset);\n}\n","//\n// Tables\n// --------------------------------------------------\n\n\ntable {\n background-color: @table-bg;\n}\ncaption {\n padding-top: @table-cell-padding;\n padding-bottom: @table-cell-padding;\n color: @text-muted;\n text-align: left;\n}\nth {\n text-align: left;\n}\n\n\n// Baseline styles\n\n.table {\n width: 100%;\n max-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-of-type(odd) {\n background-color: @table-bg-accent;\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 background-color: @table-bg-hover;\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-11 (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 position: static; // Prevent border hiding in Firefox and IE9-11 (see https://github.com/twbs/bootstrap/issues/11623)\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(info; @state-info-bg);\n.table-row-variant(warning; @state-warning-bg);\n.table-row-variant(danger; @state-danger-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.table-responsive {\n overflow-x: auto;\n min-height: 0.01%; // Workaround for IE9 bug (see https://github.com/twbs/bootstrap/issues/14837)\n\n @media screen and (max-width: @screen-xs-max) {\n width: 100%;\n margin-bottom: (@line-height-computed * 0.75);\n overflow-y: hidden;\n -ms-overflow-style: -ms-autohiding-scrollbar;\n border: 1px solid @table-border-color;\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","// 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 > thead > tr,\n .table > tbody > tr,\n .table > tfoot > tr {\n > td.@{state},\n > th.@{state},\n &.@{state} > td,\n &.@{state} > th {\n background-color: @background;\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 > tr {\n > td.@{state}:hover,\n > th.@{state}:hover,\n &.@{state}:hover > td,\n &:hover > .@{state},\n &.@{state}:hover > th {\n background-color: darken(@background, 5%);\n }\n }\n}\n","//\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 // Chrome and Firefox set a `min-width: min-content;` on fieldsets,\n // so we reset that to ensure it behaves more like a standard block element.\n // See https://github.com/twbs/bootstrap/issues/12359.\n min-width: 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 max-width: 100%; // Force IE8 to wrap long content (see https://github.com/twbs/bootstrap/issues/13141)\n margin-bottom: 5px;\n font-weight: bold;\n}\n\n\n// Normalize form controls\n//\n// While most of our form styles require extra classes, some basic normalization\n// is required to ensure optimum display with or without those classes to better\n// address browser inconsistencies.\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 file controls to match text inputs\ninput[type=\"file\"] {\n display: block;\n}\n\n// Make range inputs behave like textual form controls\ninput[type=\"range\"] {\n display: block;\n width: 100%;\n}\n\n// Make multiple select elements height not fixed\nselect[multiple],\nselect[size] {\n height: auto;\n}\n\n// Focus for file, radio, and checkbox\ninput[type=\"file\"]:focus,\ninput[type=\"radio\"]:focus,\ninput[type=\"checkbox\"]:focus {\n .tab-focus();\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}\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 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; // Note: This has no effect on s in some browsers, due to the limited stylability of s in CSS.\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 .placeholder();\n\n // Disabled and read-only inputs\n //\n // HTML5 says that controls under a fieldset > legend:first-child won't be\n // disabled if the fieldset is disabled. Due to implementation difficulty, we\n // don't honor that edge case; we style them as disabled anyway.\n &[disabled],\n &[readonly],\n fieldset[disabled] & {\n cursor: @cursor-disabled;\n background-color: @input-bg-disabled;\n opacity: 1; // iOS fix for unreadable disabled content; see https://github.com/twbs/bootstrap/issues/11655\n }\n\n // Reset height for `textarea`s\n textarea& {\n height: auto;\n }\n}\n\n\n// Search inputs in iOS\n//\n// This overrides the extra rounded corners on search inputs in iOS so that our\n// `.form-control` class can properly style them. Note that this cannot simply\n// be added to `.form-control` as it's not specific enough. For details, see\n// https://github.com/twbs/bootstrap/issues/11586.\n\ninput[type=\"search\"] {\n -webkit-appearance: none;\n}\n\n\n// Special styles for iOS temporal inputs\n//\n// In Mobile Safari, setting `display: block` on temporal inputs causes the\n// text within the input to become vertically misaligned. As a workaround, we\n// set a pixel line-height that matches the given height of the input, but only\n// for Safari. See https://bugs.webkit.org/show_bug.cgi?id=139848\n\n@media screen and (-webkit-min-device-pixel-ratio: 0) {\n input[type=\"date\"],\n input[type=\"time\"],\n input[type=\"datetime-local\"],\n input[type=\"month\"] {\n line-height: @input-height-base;\n\n &.input-sm,\n .input-group-sm & {\n line-height: @input-height-small;\n }\n\n &.input-lg,\n .input-group-lg & {\n line-height: @input-height-large;\n }\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 position: relative;\n display: block;\n margin-top: 10px;\n margin-bottom: 10px;\n\n label {\n min-height: @line-height-computed; // Ensure the input doesn't jump when there is no text\n padding-left: 20px;\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 position: absolute;\n margin-left: -20px;\n margin-top: 4px \\9;\n}\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// Some special care is needed because s don't inherit their parent's `cursor`.\n//\n// Note: Neither radios nor checkboxes can be readonly.\ninput[type=\"radio\"],\ninput[type=\"checkbox\"] {\n &[disabled],\n &.disabled,\n fieldset[disabled] & {\n cursor: @cursor-disabled;\n }\n}\n// These classes are used directly on s\n.radio-inline,\n.checkbox-inline {\n &.disabled,\n fieldset[disabled] & {\n cursor: @cursor-disabled;\n }\n}\n// These classes are used on elements with descendants\n.radio,\n.checkbox {\n &.disabled,\n fieldset[disabled] & {\n label {\n cursor: @cursor-disabled;\n }\n }\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 // Size it appropriately next to real form controls\n padding-top: (@padding-base-vertical + 1);\n padding-bottom: (@padding-base-vertical + 1);\n // Remove default margin from `p`\n margin-bottom: 0;\n\n &.input-lg,\n &.input-sm {\n padding-left: 0;\n padding-right: 0;\n }\n}\n\n\n// Form control sizing\n//\n// Build on `.form-control` with modifier classes to decrease or increase the\n// height and font-size of form controls.\n//\n// The `.form-group-* form-control` variations are sadly duplicated to avoid the\n// issue documented in https://github.com/twbs/bootstrap/issues/15074.\n\n.input-sm {\n .input-size(@input-height-small; @padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @input-border-radius-small);\n}\n.form-group-sm {\n .form-control {\n .input-size(@input-height-small; @padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @input-border-radius-small);\n }\n .form-control-static {\n height: @input-height-small;\n padding: @padding-small-vertical @padding-small-horizontal;\n font-size: @font-size-small;\n line-height: @line-height-small;\n }\n}\n\n.input-lg {\n .input-size(@input-height-large; @padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @input-border-radius-large);\n}\n.form-group-lg {\n .form-control {\n .input-size(@input-height-large; @padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @input-border-radius-large);\n }\n .form-control-static {\n height: @input-height-large;\n padding: @padding-large-vertical @padding-large-horizontal;\n font-size: @font-size-large;\n line-height: @line-height-large;\n }\n}\n\n\n// Form control feedback states\n//\n// Apply contextual and semantic states to individual form controls.\n\n.has-feedback {\n // Enable absolute positioning\n position: relative;\n\n // Ensure icons don't overlap text\n .form-control {\n padding-right: (@input-height-base * 1.25);\n }\n}\n// Feedback icon (requires .glyphicon classes)\n.form-control-feedback {\n position: absolute;\n top: 0;\n right: 0;\n z-index: 2; // Ensure icon is above input groups\n display: block;\n width: @input-height-base;\n height: @input-height-base;\n line-height: @input-height-base;\n text-align: center;\n pointer-events: none;\n}\n.input-lg + .form-control-feedback {\n width: @input-height-large;\n height: @input-height-large;\n line-height: @input-height-large;\n}\n.input-sm + .form-control-feedback {\n width: @input-height-small;\n height: @input-height-small;\n line-height: @input-height-small;\n}\n\n// Feedback states\n.has-success {\n .form-control-validation(@state-success-text; @state-success-text; @state-success-bg);\n}\n.has-warning {\n .form-control-validation(@state-warning-text; @state-warning-text; @state-warning-bg);\n}\n.has-error {\n .form-control-validation(@state-danger-text; @state-danger-text; @state-danger-bg);\n}\n\n// Reposition feedback icon if input has visible label above\n.has-feedback label {\n\n & ~ .form-control-feedback {\n top: (@line-height-computed + 5); // Height of the `label` and its margin\n }\n &.sr-only ~ .form-control-feedback {\n top: 0;\n }\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// 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-min) {\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 width: auto; // Prevent labels from stacking above inputs in `.form-group`\n vertical-align: middle;\n }\n\n // Make static controls behave like regular ones\n .form-control-static {\n display: inline-block;\n }\n\n .input-group {\n display: inline-table;\n vertical-align: middle;\n\n .input-group-addon,\n .input-group-btn,\n .form-control {\n width: auto;\n }\n }\n\n // Input groups need that 100% width though\n .input-group > .form-control {\n width: 100%;\n }\n\n .control-label {\n margin-bottom: 0;\n vertical-align: middle;\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.\n .radio,\n .checkbox {\n display: inline-block;\n margin-top: 0;\n margin-bottom: 0;\n vertical-align: middle;\n\n label {\n padding-left: 0;\n }\n }\n .radio input[type=\"radio\"],\n .checkbox input[type=\"checkbox\"] {\n position: relative;\n margin-left: 0;\n }\n\n // Re-override the feedback icon.\n .has-feedback .form-control-feedback {\n top: 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 radios and checkboxes\n //\n // Labels also get some reset styles, but that is scoped to a media query below.\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 // Reset spacing and right align labels, but scope to media queries so that\n // labels on narrow viewports stack the same as a default form example.\n @media (min-width: @screen-sm-min) {\n .control-label {\n text-align: right;\n margin-bottom: 0;\n padding-top: (@padding-base-vertical + 1); // Default padding plus a border\n }\n }\n\n // Validation states\n //\n // Reposition the icon because it's now within a grid column and columns have\n // `position: relative;` on them. Also accounts for the grid gutter padding.\n .has-feedback .form-control-feedback {\n right: (@grid-gutter-width / 2);\n }\n\n // Form group sizes\n //\n // Quick utility class for applying `.input-lg` and `.input-sm` styles to the\n // inputs and labels within a `.form-group`.\n .form-group-lg {\n @media (min-width: @screen-sm-min) {\n .control-label {\n padding-top: ((@padding-large-vertical * @line-height-large) + 1);\n }\n }\n }\n .form-group-sm {\n @media (min-width: @screen-sm-min) {\n .control-label {\n padding-top: (@padding-small-vertical + 1);\n }\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 &.radio label,\n &.checkbox label,\n &.radio-inline label,\n &.checkbox-inline label {\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 // Optional feedback icon\n .form-control-feedback {\n color: @text-color;\n }\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-border-focus` 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.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. ``\n// element gets special love because it's special, and that's a fact!\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 select[multiple]& {\n height: auto;\n }\n}\n","//\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 touch-action: manipulation;\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 &,\n &:active,\n &.active {\n &:focus,\n &.focus {\n .tab-focus();\n }\n }\n\n &:hover,\n &:focus,\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: @cursor-disabled;\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// 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// 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\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 border-radius: 0;\n\n &,\n &:active,\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: @link-hover-decoration;\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}\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","// Button variants\n//\n// Easily pump out default styles, as well as :hover, :focus, :active,\n// and disabled options for all buttons\n\n.button-variant(@color; @background; @border) {\n color: @color;\n background-color: @background;\n border-color: @border;\n\n &:hover,\n &:focus,\n &.focus,\n &:active,\n &.active,\n .open > .dropdown-toggle& {\n color: @color;\n background-color: darken(@background, 10%);\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 &.focus,\n &:active,\n &.active {\n background-color: @background;\n border-color: @border;\n }\n }\n\n .badge {\n color: @background;\n background-color: @color;\n }\n}\n\n// Button sizes\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","// Opacity\n\n.opacity(@opacity) {\n opacity: @opacity;\n // IE8 filter\n @opacity-ie: (@opacity * 100);\n filter: ~\"alpha(opacity=@{opacity-ie})\";\n}\n","//\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/twbs/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 visibility: hidden;\n\n &.in { display: block; visibility: visible; }\n tr&.in { display: table-row; }\n tbody&.in { display: table-row-group; }\n}\n\n.collapsing {\n position: relative;\n height: 0;\n overflow: hidden;\n .transition-property(~\"height, visibility\");\n .transition-duration(.35s);\n .transition-timing-function(ease);\n}\n","//\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.dropup,\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 text-align: left; // Ensures proper alignment if parent has it changed (e.g., modal footer)\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 //\n // Deprecated as of 3.1.0 in favor of `.dropdown-menu-[dir]`\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 &:hover,\n &:focus {\n text-decoration: none;\n background-color: transparent;\n background-image: none; // Remove CSS gradient\n .reset-filter();\n cursor: @cursor-disabled;\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// Menu positioning\n//\n// Add extra class to `.dropdown-menu` to flip the alignment of the dropdown\n// menu with the parent.\n.dropdown-menu-right {\n left: auto; // Reset the default from `.dropdown-menu`\n right: 0;\n}\n// With v3, we enabled auto-flipping if you have a dropdown within a right\n// aligned nav component. To enable the undoing of that, we provide an override\n// to restore the default dropdown menu alignment.\n//\n// This is only for left-aligning a dropdown menu within a `.navbar-right` or\n// `.pull-right` nav component.\n.dropdown-menu-left {\n left: 0;\n right: auto;\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 white-space: nowrap; // as with > li > a\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: 2px;\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 .dropdown-menu-right();\n }\n // Necessary for overrides of the default right aligned menu.\n // Will remove come v4 in all likelihood.\n .dropdown-menu-left {\n .dropdown-menu-left();\n }\n }\n}\n","// Horizontal dividers\n//\n// Dividers (basically an hr) within dropdowns and nav lists\n\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","// 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\n.reset-filter() {\n filter: e(%(\"progid:DXImageTransform.Microsoft.gradient(enabled = false)\"));\n}\n","//\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 }\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 margin-left: -5px; // Offset the first child's margin\n &:extend(.clearfix all);\n\n .btn-group,\n .input-group {\n float: left;\n }\n > .btn,\n > .btn-group,\n > .input-group {\n margin-left: 5px;\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:not(:last-child) {\n > .btn:last-child,\n > .dropdown-toggle {\n .border-right-radius(0);\n }\n}\n.btn-group > .btn-group:last-child:not(:first-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 { &:extend(.btn-xs); }\n.btn-group-sm > .btn { &:extend(.btn-sm); }\n.btn-group-lg > .btn { &:extend(.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 &:extend(.clearfix all);\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:not(:last-child) {\n > .btn:last-child,\n > .dropdown-toggle {\n .border-bottom-radius(0);\n }\n}\n.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child {\n .border-top-radius(0);\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 > .btn-group .dropdown-menu {\n left: auto;\n }\n}\n\n\n// Checkbox and radio options\n//\n// In order to support the browser's form validation feedback, powered by the\n// `required` attribute, we have to \"hide\" the inputs via `clip`. We cannot use\n// `display: none;` or `visibility: hidden;` as that also hides the popover.\n// Simply visually hiding the inputs via `opacity` would leave them clickable in\n// certain cases which is prevented by using `clip` and `pointer-events`.\n// This way, we ensure a DOM element is visible to position the popover from.\n//\n// See https://github.com/twbs/bootstrap/pull/12794 and\n// https://github.com/twbs/bootstrap/pull/14559 for more information.\n\n[data-toggle=\"buttons\"] {\n > .btn,\n > .btn-group > .btn {\n input[type=\"radio\"],\n input[type=\"checkbox\"] {\n position: absolute;\n clip: rect(0,0,0,0);\n pointer-events: none;\n }\n }\n}\n","// Single side border-radius\n\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// 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 // Ensure that the input is always above the *appended* addon button for\n // proper border colors.\n position: relative;\n z-index: 2;\n\n // IE9 fubars the placeholder attribute in text inputs and the arrows on\n // select elements in input groups. To fix it, we float the input. Details:\n // https://github.com/twbs/bootstrap/issues/11561#issuecomment-28936855\n float: left;\n\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 {\n .input-lg();\n}\n.input-group-sm > .form-control,\n.input-group-sm > .input-group-addon,\n.input-group-sm > .input-group-btn > .btn {\n .input-sm();\n}\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 > .btn-group > .btn,\n.input-group-btn:first-child > .dropdown-toggle,\n.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),\n.input-group-btn:last-child > .btn-group:not(:last-child) > .btn {\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 > .btn-group > .btn,\n.input-group-btn:last-child > .dropdown-toggle,\n.input-group-btn:first-child > .btn:not(:first-child),\n.input-group-btn:first-child > .btn-group:not(:first-child) > .btn {\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 // Jankily prevent input button groups from wrapping with `white-space` and\n // `font-size` in combination with `inline-block` on buttons.\n font-size: 0;\n white-space: nowrap;\n\n // Negative margin for spacing, position for bringing hovered/focused/actived\n // element above the siblings.\n > .btn {\n position: relative;\n + .btn {\n margin-left: -1px;\n }\n // Bring the \"active\" button to the front\n &:hover,\n &:focus,\n &:active {\n z-index: 2;\n }\n }\n\n // Negative margin to only have a 1px border between the two\n &:first-child {\n > .btn,\n > .btn-group {\n margin-right: -1px;\n }\n }\n &:last-child {\n > .btn,\n > .btn-group {\n margin-left: -1px;\n }\n }\n}\n","//\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 &:extend(.clearfix all);\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: @cursor-disabled;\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 its :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 visibility: hidden;\n }\n > .active {\n display: block;\n visibility: visible;\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","//\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 &:extend(.clearfix all);\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 &:extend(.clearfix all);\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 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 &:extend(.clearfix all);\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 visibility: visible !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.navbar-fixed-top,\n.navbar-fixed-bottom {\n .navbar-collapse {\n max-height: @navbar-collapse-max-height;\n\n @media (max-device-width: @screen-xs-min) and (orientation: landscape) {\n max-height: 200px;\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,\n.container-fluid {\n > .navbar-header,\n > .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//\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 height: @navbar-height;\n\n &:hover,\n &:focus {\n text-decoration: none;\n }\n\n > img {\n display: block;\n }\n\n @media (min-width: @grid-float-breakpoint) {\n .navbar > .container &,\n .navbar > .container-fluid & {\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 // We remove the `outline` here, but later compensate by attaching `:hover`\n // styles to `:focus`.\n &:focus {\n outline: 0;\n }\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 its 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}\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 &:last-child {\n margin-bottom: 0;\n }\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}\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 margin-bottom: 0;\n .border-top-radius(@navbar-border-radius);\n .border-bottom-radius(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}\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// Declared after the navbar components to ensure more specificity on the margins.\n\n@media (min-width: @grid-float-breakpoint) {\n .navbar-left { .pull-left(); }\n .navbar-right {\n .pull-right();\n margin-right: -@navbar-padding-horizontal;\n\n ~ .navbar-right {\n margin-right: 0;\n }\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 .btn-link {\n color: @navbar-default-link-color;\n &:hover,\n &:focus {\n color: @navbar-default-link-hover-color;\n }\n &[disabled],\n fieldset[disabled] & {\n &:hover,\n &:focus {\n color: @navbar-default-link-disabled-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 .btn-link {\n color: @navbar-inverse-link-color;\n &:hover,\n &:focus {\n color: @navbar-inverse-link-hover-color;\n }\n &[disabled],\n fieldset[disabled] & {\n &:hover,\n &:focus {\n color: @navbar-inverse-link-disabled-color;\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\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// 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","//\n// Breadcrumbs\n// --------------------------------------------------\n\n\n.breadcrumb {\n padding: @breadcrumb-padding-vertical @breadcrumb-padding-horizontal;\n margin-bottom: @line-height-computed;\n list-style: none;\n background-color: @breadcrumb-bg;\n border-radius: @border-radius-base;\n\n > li {\n display: inline-block;\n\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\n > .active {\n color: @breadcrumb-active-color;\n }\n}\n","//\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 color: @pagination-color;\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 color: @pagination-hover-color;\n background-color: @pagination-hover-bg;\n border-color: @pagination-hover-border;\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-border;\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-disabled-bg;\n border-color: @pagination-disabled-border;\n cursor: @cursor-disabled;\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","// 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// 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 &:extend(.clearfix all);\n li {\n display: inline;\n > a,\n > span {\n display: inline-block;\n padding: 5px 14px;\n background-color: @pager-bg;\n border: 1px solid @pager-border;\n border-radius: @pager-border-radius;\n }\n\n > a:hover,\n > a:focus {\n text-decoration: none;\n background-color: @pager-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: @pager-bg;\n cursor: @cursor-disabled;\n }\n }\n}\n","//\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 a& {\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","// Labels\n\n.label-variant(@color) {\n background-color: @color;\n\n &[href] {\n &:hover,\n &:focus {\n background-color: darken(@color, 10%);\n }\n }\n}\n","//\n// Badges\n// --------------------------------------------------\n\n\n// Base class\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 .btn-xs & {\n top: 0;\n padding: 1px 5px;\n }\n\n // Hover state, but only for links\n a& {\n &:hover,\n &:focus {\n color: @badge-link-hover-color;\n text-decoration: none;\n cursor: pointer;\n }\n }\n\n // Account for badges in navs\n .list-group-item.active > &,\n .nav-pills > .active > a > & {\n color: @badge-active-color;\n background-color: @badge-active-bg;\n }\n \n .list-group-item > & {\n float: right;\n }\n \n .list-group-item > & + & {\n margin-right: 5px;\n }\n \n .nav-pills > li > a > & {\n margin-left: 3px;\n }\n}\n","//\n// Jumbotron\n// --------------------------------------------------\n\n\n.jumbotron {\n padding: @jumbotron-padding (@jumbotron-padding / 2);\n margin-bottom: @jumbotron-padding;\n color: @jumbotron-color;\n background-color: @jumbotron-bg;\n\n h1,\n .h1 {\n color: @jumbotron-heading-color;\n }\n \n p {\n margin-bottom: (@jumbotron-padding / 2);\n font-size: @jumbotron-font-size;\n font-weight: 200;\n }\n\n > hr {\n border-top-color: darken(@jumbotron-bg, 10%);\n }\n\n .container &,\n .container-fluid & {\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: (@jumbotron-padding * 1.6) 0;\n\n .container &,\n .container-fluid & {\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","//\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(border .2s ease-in-out);\n\n > img,\n a > img {\n &:extend(.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","//\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 \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 \n > p + p {\n margin-top: 5px;\n }\n}\n\n// Dismissible alerts\n//\n// Expand the right padding and account for the close button's positioning.\n\n.alert-dismissable, // The misspelled .alert-dismissable was deprecated in 3.2.0.\n.alert-dismissible {\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\n.alert-info {\n .alert-variant(@alert-info-bg; @alert-info-border; @alert-info-text);\n}\n\n.alert-warning {\n .alert-variant(@alert-warning-bg; @alert-warning-border; @alert-warning-text);\n}\n\n.alert-danger {\n .alert-variant(@alert-danger-bg; @alert-danger-border; @alert-danger-text);\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// 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// 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: @progress-border-radius;\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//\n// `.progress-striped .progress-bar` is deprecated as of v3.2.0 in favor of the\n// `.progress-bar-striped` class, which you just add to an existing\n// `.progress-bar`.\n.progress-striped .progress-bar,\n.progress-bar-striped {\n #gradient > .striped();\n background-size: 40px 40px;\n}\n\n// Call animation for the active one\n//\n// `.progress.active .progress-bar` is deprecated as of v3.2.0 in favor of the\n// `.progress-bar.active` approach.\n.progress.active .progress-bar,\n.progress-bar.active {\n .animation(progress-bar-stripes 2s linear infinite);\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","// Gradients\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, @start-color @start-percent, @end-color @end-percent); // Safari 5.1-6, Chrome 10+\n background-image: -o-linear-gradient(left, @start-color @start-percent, @end-color @end-percent); // Opera 12\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: -o-linear-gradient(top, @start-color @start-percent, @end-color @end-percent); // Opera 12\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: -o-linear-gradient(@deg, @start-color, @end-color); // Opera 12\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: -o-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: -o-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: -o-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","// Progress bars\n\n.progress-bar-variant(@color) {\n background-color: @color;\n\n // Deprecated parent class requirement as of v3.2.0\n .progress-striped & {\n #gradient > .striped();\n }\n}\n",".media {\n // Proper spacing between instances of .media\n margin-top: 15px;\n\n &:first-child {\n margin-top: 0;\n }\n}\n\n.media,\n.media-body {\n zoom: 1;\n overflow: hidden;\n}\n\n.media-body {\n width: 10000px;\n}\n\n.media-object {\n display: block;\n}\n\n.media-right,\n.media > .pull-right {\n padding-left: 10px;\n}\n\n.media-left,\n.media > .pull-left {\n padding-right: 10px;\n}\n\n.media-left,\n.media-right,\n.media-body {\n display: table-cell;\n vertical-align: top;\n}\n\n.media-middle {\n vertical-align: middle;\n}\n\n.media-bottom {\n vertical-align: bottom;\n}\n\n// Reset margins on headings for tighter default spacing\n.media-heading {\n margin-top: 0;\n margin-bottom: 5px;\n}\n\n// Media list variation\n//\n// Undo default ul/ol styles\n.media-list {\n padding-left: 0;\n list-style: none;\n}\n","//\n// List groups\n// --------------------------------------------------\n\n\n// Base class\n//\n// Easily usable on , , or .\n\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\n// Individual list items\n//\n// Use on `li`s or `div`s within the `.list-group` parent.\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\n\n// Linked list items\n//\n// Use anchor elements instead of `li`s or `div`s to create linked list items.\n// Includes an extra `.active` modifier class for showing selected items.\n\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 color: @list-group-link-hover-color;\n background-color: @list-group-hover-bg;\n }\n}\n\n.list-group-item {\n // Disabled state\n &.disabled,\n &.disabled:hover,\n &.disabled:focus {\n background-color: @list-group-disabled-bg;\n color: @list-group-disabled-color;\n cursor: @cursor-disabled;\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: @list-group-disabled-text-color;\n }\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 .list-group-item-heading > small,\n .list-group-item-heading > .small {\n color: inherit;\n }\n .list-group-item-text {\n color: @list-group-active-text-color;\n }\n }\n}\n\n\n// Contextual variants\n//\n// Add modifier classes to change text and background color on individual items.\n// Organizationally, this must come after the `:hover` states.\n\n.list-group-item-variant(success; @state-success-bg; @state-success-text);\n.list-group-item-variant(info; @state-info-bg; @state-info-text);\n.list-group-item-variant(warning; @state-warning-bg; @state-warning-text);\n.list-group-item-variant(danger; @state-danger-bg; @state-danger-text);\n\n\n// Custom content options\n//\n// Extra classes for creating well-formatted content within `.list-group-item`s.\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","// List Groups\n\n.list-group-item-variant(@state; @background; @color) {\n .list-group-item-@{state} {\n color: @color;\n background-color: @background;\n\n a& {\n color: @color;\n\n .list-group-item-heading {\n color: inherit;\n }\n\n &:hover,\n &:focus {\n color: @color;\n background-color: darken(@background, 5%);\n }\n &.active,\n &.active:hover,\n &.active:focus {\n color: #fff;\n background-color: @color;\n border-color: @color;\n }\n }\n }\n}\n","//\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: @panel-body-padding;\n &:extend(.clearfix all);\n}\n\n// Optional heading\n.panel-heading {\n padding: @panel-heading-padding;\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 its 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 > small,\n > .small,\n > small > a,\n > .small > a {\n color: inherit;\n }\n}\n\n// Optional footer (stays gray in every modifier class)\n.panel-footer {\n padding: @panel-footer-padding;\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// 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 > .panel-collapse > .list-group {\n margin-bottom: 0;\n\n .list-group-item {\n border-width: 1px 0;\n border-radius: 0;\n }\n\n // Add border top radius for first one\n &:first-child {\n .list-group-item:first-child {\n border-top: 0;\n .border-top-radius((@panel-border-radius - 1));\n }\n }\n // Add border bottom radius for last one\n &:last-child {\n .list-group-item:last-child {\n border-bottom: 0;\n .border-bottom-radius((@panel-border-radius - 1));\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.list-group + .panel-footer {\n border-top-width: 0;\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 > .panel-collapse > .table {\n margin-bottom: 0;\n\n caption {\n padding-left: @panel-body-padding;\n padding-right: @panel-body-padding;\n }\n }\n // Add border top radius for first one\n > .table:first-child,\n > .table-responsive:first-child > .table:first-child {\n .border-top-radius((@panel-border-radius - 1));\n\n > thead:first-child,\n > tbody:first-child {\n > tr:first-child {\n border-top-left-radius: (@panel-border-radius - 1);\n border-top-right-radius: (@panel-border-radius - 1);\n\n td:first-child,\n th:first-child {\n border-top-left-radius: (@panel-border-radius - 1);\n }\n td:last-child,\n th:last-child {\n border-top-right-radius: (@panel-border-radius - 1);\n }\n }\n }\n }\n // Add border bottom radius for last one\n > .table:last-child,\n > .table-responsive:last-child > .table:last-child {\n .border-bottom-radius((@panel-border-radius - 1));\n\n > tbody:last-child,\n > tfoot:last-child {\n > tr:last-child {\n border-bottom-left-radius: (@panel-border-radius - 1);\n border-bottom-right-radius: (@panel-border-radius - 1);\n\n td:first-child,\n th:first-child {\n border-bottom-left-radius: (@panel-border-radius - 1);\n }\n td:last-child,\n th:last-child {\n border-bottom-right-radius: (@panel-border-radius - 1);\n }\n }\n }\n }\n > .panel-body + .table,\n > .panel-body + .table-responsive,\n > .table + .panel-body,\n > .table-responsive + .panel-body {\n border-top: 1px solid @table-border-color;\n }\n > .table > tbody:first-child > tr:first-child th,\n > .table > tbody:first-child > tr: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 }\n > thead,\n > tbody {\n > tr:first-child {\n > td,\n > th {\n border-bottom: 0;\n }\n }\n }\n > tbody,\n > tfoot {\n > tr:last-child {\n > td,\n > th {\n border-bottom: 0;\n }\n }\n }\n }\n > .table-responsive {\n border: 0;\n margin-bottom: 0;\n }\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 margin-bottom: @line-height-computed;\n\n // Tighten up margin so it's only between panels\n .panel {\n margin-bottom: 0;\n border-radius: @panel-border-radius;\n\n + .panel {\n margin-top: 5px;\n }\n }\n\n .panel-heading {\n border-bottom: 0;\n\n + .panel-collapse > .panel-body,\n + .panel-collapse > .list-group {\n border-top: 1px solid @panel-inner-border;\n }\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-info {\n .panel-variant(@panel-info-border; @panel-info-text; @panel-info-heading-bg; @panel-info-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","// 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 .badge {\n color: @heading-bg-color;\n background-color: @heading-text-color;\n }\n }\n & > .panel-footer {\n + .panel-collapse > .panel-body {\n border-bottom-color: @border;\n }\n }\n}\n","// Embeds responsive\n//\n// Credit: Nicolas Gallagher and SUIT CSS.\n\n.embed-responsive {\n position: relative;\n display: block;\n height: 0;\n padding: 0;\n overflow: hidden;\n\n .embed-responsive-item,\n iframe,\n embed,\n object,\n video {\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n height: 100%;\n width: 100%;\n border: 0;\n }\n\n // Modifier class for 16:9 aspect ratio\n &.embed-responsive-16by9 {\n padding-bottom: 56.25%;\n }\n\n // Modifier class for 4:3 aspect ratio\n &.embed-responsive-4by3 {\n padding-bottom: 75%;\n }\n}\n","//\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 @well-border;\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","//\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 // See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile\n button& {\n padding: 0;\n cursor: pointer;\n background: transparent;\n border: 0;\n -webkit-appearance: none;\n }\n}\n","//\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: hidden;\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: @zindex-modal;\n -webkit-overflow-scrolling: touch;\n\n // Prevent Chrome on Windows from adding a focus outline. For details, see\n // https://github.com/twbs/bootstrap/pull/10951.\n outline: 0;\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.modal-open .modal {\n overflow-x: hidden;\n overflow-y: auto;\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}\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: 0;\n}\n\n// Modal background\n.modal-backdrop {\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n background-color: @modal-backdrop-bg;\n // Fade for backdrop\n &.fade { .opacity(0); }\n &.in { .opacity(@modal-backdrop-opacity); }\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 padding: @modal-inner-padding;\n text-align: right; // right align buttons\n border-top: 1px solid @modal-footer-border-color;\n &:extend(.clearfix all); // 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// Measure scrollbar width for padding body during modal show/hide\n.modal-scrollbar-measure {\n position: absolute;\n top: -9999px;\n width: 50px;\n height: 50px;\n overflow: scroll;\n}\n\n// Scale up the modal\n@media (min-width: @screen-sm-min) {\n // Automatically set modal's width for larger viewports\n .modal-dialog {\n width: @modal-md;\n margin: 30px auto;\n }\n .modal-content {\n .box-shadow(0 5px 15px rgba(0,0,0,.5));\n }\n\n // Modal sizes\n .modal-sm { width: @modal-sm; }\n}\n\n@media (min-width: @screen-md-min) {\n .modal-lg { width: @modal-lg; }\n}\n","//\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 // Reset font and text properties given new insertion method\n font-family: @font-family-base;\n font-size: @font-size-small;\n font-weight: normal;\n line-height: 1.4;\n .opacity(0);\n\n &.in { .opacity(@tooltip-opacity); }\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// Note: Deprecated .top-left, .top-right, .bottom-left, and .bottom-right as of v3.3.1\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 right: @tooltip-arrow-width;\n margin-bottom: -@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 left: @tooltip-arrow-width;\n margin-bottom: -@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 right: @tooltip-arrow-width;\n margin-top: -@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 left: @tooltip-arrow-width;\n margin-top: -@tooltip-arrow-width;\n border-width: 0 @tooltip-arrow-width @tooltip-arrow-width;\n border-bottom-color: @tooltip-arrow-color;\n }\n}\n","//\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 // Reset font and text properties given new insertion method\n font-family: @font-family-base;\n font-size: @font-size-base;\n font-weight: normal;\n line-height: @line-height-base;\n text-align: left;\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: -@popover-arrow-width; }\n &.right { margin-left: @popover-arrow-width; }\n &.bottom { margin-top: @popover-arrow-width; }\n &.left { margin-left: -@popover-arrow-width; }\n}\n\n.popover-title {\n margin: 0; // reset heading margin\n padding: 8px 14px;\n font-size: @font-size-base;\n background-color: @popover-title-bg;\n border-bottom: 1px solid darken(@popover-title-bg, 5%);\n border-radius: (@border-radius-large - 1) (@border-radius-large - 1) 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// 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 &:extend(.img-responsive);\n line-height: 1;\n }\n\n // WebKit CSS3 transforms for supported devices\n @media all and (transform-3d), (-webkit-transform-3d) {\n .transition-transform(~'0.6s ease-in-out');\n .backface-visibility(~'hidden');\n .perspective(1000);\n\n &.next,\n &.active.right {\n .translate3d(100%, 0, 0);\n left: 0;\n }\n &.prev,\n &.active.left {\n .translate3d(-100%, 0, 0);\n left: 0;\n }\n &.next.left,\n &.prev.right,\n &.active {\n .translate3d(0, 0, 0);\n left: 0;\n }\n }\n }\n\n > .active,\n > .next,\n > .prev {\n display: block;\n }\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: 0;\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 margin-left: -10px;\n }\n .icon-next,\n .glyphicon-chevron-right {\n right: 50%;\n margin-right: -10px;\n }\n .icon-prev,\n .icon-next {\n width: 20px;\n height: 20px;\n margin-top: -10px;\n line-height: 1;\n font-family: serif;\n }\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 // See https://developer.mozilla.org/en-US/docs/Web/Events/click#Internet_Explorer\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 .glyphicon-chevron-left,\n .glyphicon-chevron-right,\n .icon-prev,\n .icon-next {\n width: 30px;\n height: 30px;\n margin-top: -15px;\n font-size: 30px;\n }\n .glyphicon-chevron-left,\n .icon-prev {\n margin-left: -15px;\n }\n .glyphicon-chevron-right,\n .icon-next {\n margin-right: -15px;\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","// Clearfix\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//\n// Source: http://nicolasgallagher.com/micro-clearfix-hack/\n\n.clearfix() {\n &:before,\n &:after {\n content: \" \"; // 1\n display: table; // 2\n }\n &:after {\n clear: both;\n }\n}\n","// Center-align a block level element\n\n.center-block() {\n display: block;\n margin-left: auto;\n margin-right: auto;\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()`.\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\n// New mixin to use as of v3.0.1\n.text-hide() {\n .hide-text();\n}\n","//\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/#support-ie10-width\n// Source: http://timkadlec.com/2013/01/windows-phone-8-and-device-width/\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// Note: Deprecated .visible-xs, .visible-sm, .visible-md, and .visible-lg as of v3.2.0\n.visible-xs,\n.visible-sm,\n.visible-md,\n.visible-lg {\n .responsive-invisibility();\n}\n\n.visible-xs-block,\n.visible-xs-inline,\n.visible-xs-inline-block,\n.visible-sm-block,\n.visible-sm-inline,\n.visible-sm-inline-block,\n.visible-md-block,\n.visible-md-inline,\n.visible-md-inline-block,\n.visible-lg-block,\n.visible-lg-inline,\n.visible-lg-inline-block {\n display: none !important;\n}\n\n.visible-xs {\n @media (max-width: @screen-xs-max) {\n .responsive-visibility();\n }\n}\n.visible-xs-block {\n @media (max-width: @screen-xs-max) {\n display: block !important;\n }\n}\n.visible-xs-inline {\n @media (max-width: @screen-xs-max) {\n display: inline !important;\n }\n}\n.visible-xs-inline-block {\n @media (max-width: @screen-xs-max) {\n display: inline-block !important;\n }\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-sm-block {\n @media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {\n display: block !important;\n }\n}\n.visible-sm-inline {\n @media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {\n display: inline !important;\n }\n}\n.visible-sm-inline-block {\n @media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {\n display: inline-block !important;\n }\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-md-block {\n @media (min-width: @screen-md-min) and (max-width: @screen-md-max) {\n display: block !important;\n }\n}\n.visible-md-inline {\n @media (min-width: @screen-md-min) and (max-width: @screen-md-max) {\n display: inline !important;\n }\n}\n.visible-md-inline-block {\n @media (min-width: @screen-md-min) and (max-width: @screen-md-max) {\n display: inline-block !important;\n }\n}\n\n.visible-lg {\n @media (min-width: @screen-lg-min) {\n .responsive-visibility();\n }\n}\n.visible-lg-block {\n @media (min-width: @screen-lg-min) {\n display: block !important;\n }\n}\n.visible-lg-inline {\n @media (min-width: @screen-lg-min) {\n display: inline !important;\n }\n}\n.visible-lg-inline-block {\n @media (min-width: @screen-lg-min) {\n display: inline-block !important;\n }\n}\n\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.hidden-lg {\n @media (min-width: @screen-lg-min) {\n .responsive-invisibility();\n }\n}\n\n\n// Print utilities\n//\n// Media queries are placed on the inside to be mixin-friendly.\n\n// Note: Deprecated .visible-print as of v3.2.0\n.visible-print {\n .responsive-invisibility();\n\n @media print {\n .responsive-visibility();\n }\n}\n.visible-print-block {\n display: none !important;\n\n @media print {\n display: block !important;\n }\n}\n.visible-print-inline {\n display: none !important;\n\n @media print {\n display: inline !important;\n }\n}\n.visible-print-inline-block {\n display: none !important;\n\n @media print {\n display: inline-block !important;\n }\n}\n\n.hidden-print {\n @media print {\n .responsive-invisibility();\n }\n}\n","// Responsive utilities\n\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 display: none !important;\n}\n"]}
\ No newline at end of file
diff --git a/public/vendor/bootstrap/css/bootstrap.min.css b/public/vendor/bootstrap/css/bootstrap.min.css
new file mode 100644
index 00000000..28f154de
--- /dev/null
+++ b/public/vendor/bootstrap/css/bootstrap.min.css
@@ -0,0 +1,5 @@
+/*!
+ * Bootstrap v3.3.2 (http://getbootstrap.com)
+ * Copyright 2011-2015 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ *//*! normalize.css v3.0.2 | MIT License | git.io/normalize */html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{margin:.67em 0;font-size:2em}mark{color:#000;background:#ff0}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{height:0;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{margin:0;font:inherit;color:inherit}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}input{line-height:normal}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{padding:.35em .625em .75em;margin:0 2px;border:1px solid silver}legend{padding:0;border:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-spacing:0;border-collapse:collapse}td,th{padding:0}/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{*,:after,:before{color:#000!important;text-shadow:none!important;background:0 0!important;-webkit-box-shadow:none!important;box-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="javascript:"]:after,a[href^="#"]:after{content:""}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}select{background:#fff!important}.navbar{display:none}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #ddd!important}}@font-face{font-family:'Glyphicons Halflings';src:url(../fonts/glyphicons-halflings-regular.eot);src:url(../fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../fonts/glyphicons-halflings-regular.woff2) format('woff2'),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')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-asterisk:before{content:"\2a"}.glyphicon-plus:before{content:"\2b"}.glyphicon-eur:before,.glyphicon-euro:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e016"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-lock:before{content:"\e033"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e041"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-bookmark:before{content:"\e044"}.glyphicon-print:before{content:"\e045"}.glyphicon-camera:before{content:"\e046"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-move:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:"\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-fire:before{content:"\e104"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-calendar:before{content:"\e109"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder-open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-bell:before{content:"\e123"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-wrench:before{content:"\e136"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-briefcase:before{content:"\e139"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-paperclip:before{content:"\e142"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-pushpin:before{content:"\e146"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:"\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}.glyphicon-cd:before{content:"\e201"}.glyphicon-save-file:before{content:"\e202"}.glyphicon-open-file:before{content:"\e203"}.glyphicon-level-up:before{content:"\e204"}.glyphicon-copy:before{content:"\e205"}.glyphicon-paste:before{content:"\e206"}.glyphicon-alert:before{content:"\e209"}.glyphicon-equalizer:before{content:"\e210"}.glyphicon-king:before{content:"\e211"}.glyphicon-queen:before{content:"\e212"}.glyphicon-pawn:before{content:"\e213"}.glyphicon-bishop:before{content:"\e214"}.glyphicon-knight:before{content:"\e215"}.glyphicon-baby-formula:before{content:"\e216"}.glyphicon-tent:before{content:"\26fa"}.glyphicon-blackboard:before{content:"\e218"}.glyphicon-bed:before{content:"\e219"}.glyphicon-apple:before{content:"\f8ff"}.glyphicon-erase:before{content:"\e221"}.glyphicon-hourglass:before{content:"\231b"}.glyphicon-lamp:before{content:"\e223"}.glyphicon-duplicate:before{content:"\e224"}.glyphicon-piggy-bank:before{content:"\e225"}.glyphicon-scissors:before{content:"\e226"}.glyphicon-bitcoin:before{content:"\e227"}.glyphicon-yen:before{content:"\00a5"}.glyphicon-ruble:before{content:"\20bd"}.glyphicon-scale:before{content:"\e230"}.glyphicon-ice-lolly:before{content:"\e231"}.glyphicon-ice-lolly-tasted:before{content:"\e232"}.glyphicon-education:before{content:"\e233"}.glyphicon-option-horizontal:before{content:"\e234"}.glyphicon-option-vertical:before{content:"\e235"}.glyphicon-menu-hamburger:before{content:"\e236"}.glyphicon-modal-window:before{content:"\e237"}.glyphicon-oil:before{content:"\e238"}.glyphicon-grain:before{content:"\e239"}.glyphicon-sunglasses:before{content:"\e240"}.glyphicon-text-size:before{content:"\e241"}.glyphicon-text-color:before{content:"\e242"}.glyphicon-text-background:before{content:"\e243"}.glyphicon-object-align-top:before{content:"\e244"}.glyphicon-object-align-bottom:before{content:"\e245"}.glyphicon-object-align-horizontal:before{content:"\e246"}.glyphicon-object-align-left:before{content:"\e247"}.glyphicon-object-align-vertical:before{content:"\e248"}.glyphicon-object-align-right:before{content:"\e249"}.glyphicon-triangle-right:before{content:"\e250"}.glyphicon-triangle-left:before{content:"\e251"}.glyphicon-triangle-bottom:before{content:"\e252"}.glyphicon-triangle-top:before{content:"\e253"}.glyphicon-console:before{content:"\e254"}.glyphicon-superscript:before{content:"\e255"}.glyphicon-subscript:before{content:"\e256"}.glyphicon-menu-left:before{content:"\e257"}.glyphicon-menu-right:before{content:"\e258"}.glyphicon-menu-down:before{content:"\e259"}.glyphicon-menu-up:before{content:"\e260"}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#337ab7;text-decoration:none}a:focus,a:hover{color:#23527c;text-decoration:underline}a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.carousel-inner>.item>a>img,.carousel-inner>.item>img,.img-responsive,.thumbnail a>img,.thumbnail>img{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{display:inline-block;max-width:100%;height:auto;padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-weight:400;line-height:1;color:#777}.h1,.h2,.h3,h1,h2,h3{margin-top:20px;margin-bottom:10px}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small{font-size:65%}.h4,.h5,.h6,h4,h5,h6{margin-top:10px;margin-bottom:10px}.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-size:75%}.h1,h1{font-size:36px}.h2,h2{font-size:30px}.h3,h3{font-size:24px}.h4,h4{font-size:18px}.h5,h5{font-size:14px}.h6,h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:300;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}.small,small{font-size:85%}.mark,mark{padding:.2em;background-color:#fcf8e3}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#777}.text-primary{color:#337ab7}a.text-primary:hover{color:#286090}.text-success{color:#3c763d}a.text-success:hover{color:#2b542c}.text-info{color:#31708f}a.text-info:hover{color:#245269}.text-warning{color:#8a6d3b}a.text-warning:hover{color:#66512c}.text-danger{color:#a94442}a.text-danger:hover{color:#843534}.bg-primary{color:#fff;background-color:#337ab7}a.bg-primary:hover{background-color:#286090}.bg-success{background-color:#dff0d8}a.bg-success:hover{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:hover{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:hover{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:hover{background-color:#e4b9b9}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ol,ul{margin-top:0;margin-bottom:10px}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;margin-left:-5px;list-style:none}.list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}dl{margin-top:0;margin-bottom:20px}dd,dt{line-height:1.42857143}dt{font-weight:700}dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[data-original-title],abbr[title]{cursor:help;border-bottom:1px dotted #777}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #eee}blockquote ol:last-child,blockquote p:last-child,blockquote ul:last-child{margin-bottom:0}blockquote .small,blockquote footer,blockquote small{display:block;font-size:80%;line-height:1.42857143;color:#777}blockquote .small:before,blockquote footer:before,blockquote small:before{content:'\2014 \00A0'}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;text-align:right;border-right:5px solid #eee;border-left:0}.blockquote-reverse .small:before,.blockquote-reverse footer:before,.blockquote-reverse small:before,blockquote.pull-right .small:before,blockquote.pull-right footer:before,blockquote.pull-right small:before{content:''}.blockquote-reverse .small:after,.blockquote-reverse footer:after,.blockquote-reverse small:after,blockquote.pull-right .small:after,blockquote.pull-right footer:after,blockquote.pull-right small:after{content:'\00A0 \2014'}address{margin-bottom:20px;font-style:normal;line-height:1.42857143}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}code{padding:2px 4px;font-size:90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px}kbd{padding:2px 4px;font-size:90%;color:#fff;background-color:#333;border-radius:3px;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.25);box-shadow:inset 0 -1px 0 rgba(0,0,0,.25)}kbd kbd{padding:0;font-size:100%;font-weight:700;-webkit-box-shadow:none;box-shadow:none}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.container-fluid{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.row{margin-right:-15px;margin-left:-15px}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}table{background-color:transparent}caption{padding-top:8px;padding-bottom:8px;color:#777;text-align:left}th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:20px}.table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th{padding:8px;line-height:1.42857143;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>td,.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>td,.table>thead:first-child>tr:first-child>th{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed>tbody>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>thead>tr>th{padding:5px}.table-bordered{border:1px solid #ddd}.table-bordered>tbody>tr>td,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>td,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border:1px solid #ddd}.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border-bottom-width:2px}.table-striped>tbody>tr:nth-of-type(odd){background-color:#f9f9f9}.table-hover>tbody>tr:hover{background-color:#f5f5f5}table col[class*=col-]{position:static;display:table-column;float:none}table td[class*=col-],table th[class*=col-]{position:static;display:table-cell;float:none}.table>tbody>tr.active>td,.table>tbody>tr.active>th,.table>tbody>tr>td.active,.table>tbody>tr>th.active,.table>tfoot>tr.active>td,.table>tfoot>tr.active>th,.table>tfoot>tr>td.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>thead>tr.active>th,.table>thead>tr>td.active,.table>thead>tr>th.active{background-color:#f5f5f5}.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr.active:hover>th,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover{background-color:#e8e8e8}.table>tbody>tr.success>td,.table>tbody>tr.success>th,.table>tbody>tr>td.success,.table>tbody>tr>th.success,.table>tfoot>tr.success>td,.table>tfoot>tr.success>th,.table>tfoot>tr>td.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>thead>tr.success>th,.table>thead>tr>td.success,.table>thead>tr>th.success{background-color:#dff0d8}.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover{background-color:#d0e9c6}.table>tbody>tr.info>td,.table>tbody>tr.info>th,.table>tbody>tr>td.info,.table>tbody>tr>th.info,.table>tfoot>tr.info>td,.table>tfoot>tr.info>th,.table>tfoot>tr>td.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>thead>tr.info>th,.table>thead>tr>td.info,.table>thead>tr>th.info{background-color:#d9edf7}.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr.info:hover>th,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover{background-color:#c4e3f3}.table>tbody>tr.warning>td,.table>tbody>tr.warning>th,.table>tbody>tr>td.warning,.table>tbody>tr>th.warning,.table>tfoot>tr.warning>td,.table>tfoot>tr.warning>th,.table>tfoot>tr>td.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>thead>tr.warning>th,.table>thead>tr>td.warning,.table>thead>tr>th.warning{background-color:#fcf8e3}.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover{background-color:#faf2cc}.table>tbody>tr.danger>td,.table>tbody>tr.danger>th,.table>tbody>tr>td.danger,.table>tbody>tr>th.danger,.table>tfoot>tr.danger>td,.table>tfoot>tr.danger>th,.table>tfoot>tr>td.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>thead>tr.danger>th,.table>thead>tr>td.danger,.table>thead>tr>th.danger{background-color:#f2dede}.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover{background-color:#ebcccc}.table-responsive{min-height:.01%;overflow-x:auto}@media screen and (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type=checkbox],input[type=radio]{margin:4px 0 0;margin-top:1px \9;line-height:normal}input[type=file]{display:block}input[type=range]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type=file]:focus,input[type=checkbox]:focus,input[type=radio]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}output{display:block;padding-top:7px;font-size:14px;line-height:1.42857143;color:#555}.form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.form-control::-moz-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{cursor:not-allowed;background-color:#eee;opacity:1}textarea.form-control{height:auto}input[type=search]{-webkit-appearance:none}@media screen and (-webkit-min-device-pixel-ratio:0){input[type=date],input[type=time],input[type=datetime-local],input[type=month]{line-height:34px}.input-group-sm input[type=date],.input-group-sm input[type=time],.input-group-sm input[type=datetime-local],.input-group-sm input[type=month],input[type=date].input-sm,input[type=time].input-sm,input[type=datetime-local].input-sm,input[type=month].input-sm{line-height:30px}.input-group-lg input[type=date],.input-group-lg input[type=time],.input-group-lg input[type=datetime-local],.input-group-lg input[type=month],input[type=date].input-lg,input[type=time].input-lg,input[type=datetime-local].input-lg,input[type=month].input-lg{line-height:46px}}.form-group{margin-bottom:15px}.checkbox,.radio{position:relative;display:block;margin-top:10px;margin-bottom:10px}.checkbox label,.radio label{min-height:20px;padding-left:20px;margin-bottom:0;font-weight:400;cursor:pointer}.checkbox input[type=checkbox],.checkbox-inline input[type=checkbox],.radio input[type=radio],.radio-inline input[type=radio]{position:absolute;margin-top:4px \9;margin-left:-20px}.checkbox+.checkbox,.radio+.radio{margin-top:-5px}.checkbox-inline,.radio-inline{display:inline-block;padding-left:20px;margin-bottom:0;font-weight:400;vertical-align:middle;cursor:pointer}.checkbox-inline+.checkbox-inline,.radio-inline+.radio-inline{margin-top:0;margin-left:10px}fieldset[disabled] input[type=checkbox],fieldset[disabled] input[type=radio],input[type=checkbox].disabled,input[type=checkbox][disabled],input[type=radio].disabled,input[type=radio][disabled]{cursor:not-allowed}.checkbox-inline.disabled,.radio-inline.disabled,fieldset[disabled] .checkbox-inline,fieldset[disabled] .radio-inline{cursor:not-allowed}.checkbox.disabled label,.radio.disabled label,fieldset[disabled] .checkbox label,fieldset[disabled] .radio label{cursor:not-allowed}.form-control-static{padding-top:7px;padding-bottom:7px;margin-bottom:0}.form-control-static.input-lg,.form-control-static.input-sm{padding-right:0;padding-left:0}.input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}select[multiple].input-sm,textarea.input-sm{height:auto}.form-group-sm .form-control{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.form-group-sm .form-control{height:30px;line-height:30px}select[multiple].form-group-sm .form-control,textarea.form-group-sm .form-control{height:auto}.form-group-sm .form-control-static{height:30px;padding:5px 10px;font-size:12px;line-height:1.5}.input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-lg{height:46px;line-height:46px}select[multiple].input-lg,textarea.input-lg{height:auto}.form-group-lg .form-control{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.form-group-lg .form-control{height:46px;line-height:46px}select[multiple].form-group-lg .form-control,textarea.form-group-lg .form-control{height:auto}.form-group-lg .form-control-static{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333}.has-feedback{position:relative}.has-feedback .form-control{padding-right:42.5px}.form-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:34px;height:34px;line-height:34px;text-align:center;pointer-events:none}.input-lg+.form-control-feedback{width:46px;height:46px;line-height:46px}.input-sm+.form-control-feedback{width:30px;height:30px;line-height:30px}.has-success .checkbox,.has-success .checkbox-inline,.has-success .control-label,.has-success .help-block,.has-success .radio,.has-success .radio-inline,.has-success.checkbox label,.has-success.checkbox-inline label,.has-success.radio label,.has-success.radio-inline label{color:#3c763d}.has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.has-success .input-group-addon{color:#3c763d;background-color:#dff0d8;border-color:#3c763d}.has-success .form-control-feedback{color:#3c763d}.has-warning .checkbox,.has-warning .checkbox-inline,.has-warning .control-label,.has-warning .help-block,.has-warning .radio,.has-warning .radio-inline,.has-warning.checkbox label,.has-warning.checkbox-inline label,.has-warning.radio label,.has-warning.radio-inline label{color:#8a6d3b}.has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.has-warning .input-group-addon{color:#8a6d3b;background-color:#fcf8e3;border-color:#8a6d3b}.has-warning .form-control-feedback{color:#8a6d3b}.has-error .checkbox,.has-error .checkbox-inline,.has-error .control-label,.has-error .help-block,.has-error .radio,.has-error .radio-inline,.has-error.checkbox label,.has-error.checkbox-inline label,.has-error.radio label,.has-error.radio-inline label{color:#a94442}.has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.has-error .input-group-addon{color:#a94442;background-color:#f2dede;border-color:#a94442}.has-error .form-control-feedback{color:#a94442}.has-feedback label~.form-control-feedback{top:25px}.has-feedback label.sr-only~.form-control-feedback{top:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-static{display:inline-block}.form-inline .input-group{display:inline-table;vertical-align:middle}.form-inline .input-group .form-control,.form-inline .input-group .input-group-addon,.form-inline .input-group .input-group-btn{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .checkbox,.form-inline .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .checkbox label,.form-inline .radio label{padding-left:0}.form-inline .checkbox input[type=checkbox],.form-inline .radio input[type=radio]{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}}.form-horizontal .checkbox,.form-horizontal .checkbox-inline,.form-horizontal .radio,.form-horizontal .radio-inline{padding-top:7px;margin-top:0;margin-bottom:0}.form-horizontal .checkbox,.form-horizontal .radio{min-height:27px}.form-horizontal .form-group{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.form-horizontal .control-label{padding-top:7px;margin-bottom:0;text-align:right}}.form-horizontal .has-feedback .form-control-feedback{right:15px}@media (min-width:768px){.form-horizontal .form-group-lg .control-label{padding-top:14.33px}}@media (min-width:768px){.form-horizontal .form-group-sm .control-label{padding-top:6px}}.btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-image:none;border:1px solid transparent;border-radius:4px}.btn.active.focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn:active:focus,.btn:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn.focus,.btn:focus,.btn:hover{color:#333;text-decoration:none}.btn.active,.btn:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{pointer-events:none;cursor:not-allowed;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none;opacity:.65}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default.active,.btn-default.focus,.btn-default:active,.btn-default:focus,.btn-default:hover,.open>.dropdown-toggle.btn-default{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{background-image:none}.btn-default.disabled,.btn-default.disabled.active,.btn-default.disabled.focus,.btn-default.disabled:active,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled],.btn-default[disabled].active,.btn-default[disabled].focus,.btn-default[disabled]:active,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default,fieldset[disabled] .btn-default.active,fieldset[disabled] .btn-default.focus,fieldset[disabled] .btn-default:active,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#333}.btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}.btn-primary.active,.btn-primary.focus,.btn-primary:active,.btn-primary:focus,.btn-primary:hover,.open>.dropdown-toggle.btn-primary{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled,.btn-primary.disabled.active,.btn-primary.disabled.focus,.btn-primary.disabled:active,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled],.btn-primary[disabled].active,.btn-primary[disabled].focus,.btn-primary[disabled]:active,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary,fieldset[disabled] .btn-primary.active,fieldset[disabled] .btn-primary.focus,fieldset[disabled] .btn-primary:active,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover{background-color:#337ab7;border-color:#2e6da4}.btn-primary .badge{color:#337ab7;background-color:#fff}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success.active,.btn-success.focus,.btn-success:active,.btn-success:focus,.btn-success:hover,.open>.dropdown-toggle.btn-success{color:#fff;background-color:#449d44;border-color:#398439}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{background-image:none}.btn-success.disabled,.btn-success.disabled.active,.btn-success.disabled.focus,.btn-success.disabled:active,.btn-success.disabled:focus,.btn-success.disabled:hover,.btn-success[disabled],.btn-success[disabled].active,.btn-success[disabled].focus,.btn-success[disabled]:active,.btn-success[disabled]:focus,.btn-success[disabled]:hover,fieldset[disabled] .btn-success,fieldset[disabled] .btn-success.active,fieldset[disabled] .btn-success.focus,fieldset[disabled] .btn-success:active,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success:hover{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#fff}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info.active,.btn-info.focus,.btn-info:active,.btn-info:focus,.btn-info:hover,.open>.dropdown-toggle.btn-info{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info.active,.btn-info:active,.open>.dropdown-toggle.btn-info{background-image:none}.btn-info.disabled,.btn-info.disabled.active,.btn-info.disabled.focus,.btn-info.disabled:active,.btn-info.disabled:focus,.btn-info.disabled:hover,.btn-info[disabled],.btn-info[disabled].active,.btn-info[disabled].focus,.btn-info[disabled]:active,.btn-info[disabled]:focus,.btn-info[disabled]:hover,fieldset[disabled] .btn-info,fieldset[disabled] .btn-info.active,fieldset[disabled] .btn-info.focus,fieldset[disabled] .btn-info:active,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info:hover{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#fff}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning.active,.btn-warning.focus,.btn-warning:active,.btn-warning:focus,.btn-warning:hover,.open>.dropdown-toggle.btn-warning{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning.active,.btn-warning:active,.open>.dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled,.btn-warning.disabled.active,.btn-warning.disabled.focus,.btn-warning.disabled:active,.btn-warning.disabled:focus,.btn-warning.disabled:hover,.btn-warning[disabled],.btn-warning[disabled].active,.btn-warning[disabled].focus,.btn-warning[disabled]:active,.btn-warning[disabled]:focus,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning,fieldset[disabled] .btn-warning.active,fieldset[disabled] .btn-warning.focus,fieldset[disabled] .btn-warning:active,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning:hover{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#fff}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger.active,.btn-danger.focus,.btn-danger:active,.btn-danger:focus,.btn-danger:hover,.open>.dropdown-toggle.btn-danger{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger.active,.btn-danger:active,.open>.dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled,.btn-danger.disabled.active,.btn-danger.disabled.focus,.btn-danger.disabled:active,.btn-danger.disabled:focus,.btn-danger.disabled:hover,.btn-danger[disabled],.btn-danger[disabled].active,.btn-danger[disabled].focus,.btn-danger[disabled]:active,.btn-danger[disabled]:focus,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger,fieldset[disabled] .btn-danger.active,fieldset[disabled] .btn-danger.focus,fieldset[disabled] .btn-danger:active,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger:hover{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.btn-link{font-weight:400;color:#337ab7;border-radius:0}.btn-link,.btn-link.active,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:active,.btn-link:focus,.btn-link:hover{border-color:transparent}.btn-link:focus,.btn-link:hover{color:#23527c;text-decoration:underline;background-color:transparent}.btn-link[disabled]:focus,.btn-link[disabled]:hover,fieldset[disabled] .btn-link:focus,fieldset[disabled] .btn-link:hover{color:#777;text-decoration:none}.btn-group-lg>.btn,.btn-lg{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-group-sm>.btn,.btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-xs>.btn,.btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none;visibility:hidden}.collapse.in{display:block;visibility:visible}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition-timing-function:ease;-o-transition-timing-function:ease;transition-timing-function:ease;-webkit-transition-duration:.35s;-o-transition-duration:.35s;transition-duration:.35s;-webkit-transition-property:height,visibility;-o-transition-property:height,visibility;transition-property:height,visibility}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px solid;border-right:4px solid transparent;border-left:4px solid transparent}.dropdown,.dropup{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;text-align:left;list-style:none;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175)}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.42857143;color:#333;white-space:nowrap}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{color:#262626;text-decoration:none;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;background-color:#337ab7;outline:0}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{color:#777}.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{right:0;left:auto}.dropdown-menu-left{right:auto;left:0}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.42857143;color:#777;white-space:nowrap}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{content:"";border-top:0;border-bottom:4px solid}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}@media (min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}.navbar-right .dropdown-menu-left{right:auto;left:0}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;float:left}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:2}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-bottom-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn .caret{margin-left:0}.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:4px}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-top-right-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}.btn-group-justified>.btn-group .btn{width:100%}.btn-group-justified>.btn-group .dropdown-menu{left:auto}[data-toggle=buttons]>.btn input[type=checkbox],[data-toggle=buttons]>.btn input[type=radio],[data-toggle=buttons]>.btn-group>.btn input[type=checkbox],[data-toggle=buttons]>.btn-group>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}select[multiple].input-group-lg>.form-control,select[multiple].input-group-lg>.input-group-addon,select[multiple].input-group-lg>.input-group-btn>.btn,textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}select[multiple].input-group-sm>.form-control,select[multiple].input-group-sm>.input-group-addon,select[multiple].input-group-sm>.input-group-btn>.btn,textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn{height:auto}.input-group .form-control,.input-group-addon,.input-group-btn{display:table-cell}.input-group .form-control:not(:first-child):not(:last-child),.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type=checkbox],.input-group-addon input[type=radio]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn-group:not(:last-child)>.btn,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:first-child>.btn-group:not(:first-child)>.btn,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle{border-top-left-radius:0;border-bottom-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:active,.input-group-btn>.btn:focus,.input-group-btn>.btn:hover{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{margin-left:-1px}.nav{padding-left:0;margin-bottom:0;list-style:none}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:focus,.nav>li>a:hover{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#777}.nav>li.disabled>a:focus,.nav>li.disabled>a:hover{color:#777;text-decoration:none;cursor:not-allowed;background-color:transparent}.nav .open>a,.nav .open>a:focus,.nav .open>a:hover{background-color:#eee;border-color:#337ab7}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.42857143;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:focus,.nav-tabs>li.active>a:hover{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border-bottom-color:#fff}}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:focus,.nav-pills>li.active>a:hover{color:#fff;background-color:#337ab7}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border-bottom-color:#fff}}.tab-content>.tab-pane{display:none;visibility:hidden}.tab-content>.active{display:block;visibility:visible}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}@media (min-width:768px){.navbar{border-radius:4px}}@media (min-width:768px){.navbar-header{float:left}}.navbar-collapse{padding-right:15px;padding-left:15px;overflow-x:visible;-webkit-overflow-scrolling:touch;border-top:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1)}.navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar-collapse{width:auto;border-top:0;-webkit-box-shadow:none;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important;visibility:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse{padding-right:0;padding-left:0}}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:340px}@media (max-device-width:480px) and (orientation:landscape){.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:200px}}.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:768px){.navbar-static-top{border-radius:0}}.navbar-fixed-bottom,.navbar-fixed-top{position:fixed;right:0;left:0;z-index:1030}@media (min-width:768px){.navbar-fixed-bottom,.navbar-fixed-top{border-radius:0}}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;height:50px;padding:15px 15px;font-size:18px;line-height:20px}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-brand>img{display:block}@media (min-width:768px){.navbar>.container .navbar-brand,.navbar>.container-fluid .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.navbar-toggle:focus{outline:0}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-nav .open .dropdown-menu .dropdown-header,.navbar-nav .open .dropdown-menu>li>a{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:focus,.navbar-nav .open .dropdown-menu>li>a:hover{background-image:none}}@media (min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}}.navbar-form{padding:10px 15px;margin-top:8px;margin-right:-15px;margin-bottom:8px;margin-left:-15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1)}@media (min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block;width:auto;vertical-align:middle}.navbar-form .form-control-static{display:inline-block}.navbar-form .input-group{display:inline-table;vertical-align:middle}.navbar-form .input-group .form-control,.navbar-form .input-group .input-group-addon,.navbar-form .input-group .input-group-btn{width:auto}.navbar-form .input-group>.form-control{width:100%}.navbar-form .control-label{margin-bottom:0;vertical-align:middle}.navbar-form .checkbox,.navbar-form .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.navbar-form .checkbox label,.navbar-form .radio label{padding-left:0}.navbar-form .checkbox input[type=checkbox],.navbar-form .radio input[type=radio]{position:relative;margin-left:0}.navbar-form .has-feedback .form-control-feedback{top:0}}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}.navbar-form .form-group:last-child{margin-bottom:0}}@media (min-width:768px){.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-left-radius:0;border-top-right-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{margin-bottom:0;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){.navbar-text{float:left;margin-right:15px;margin-left:15px}}@media (min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important;margin-right:-15px}.navbar-right~.navbar-right{margin-right:0}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:focus,.navbar-default .navbar-brand:hover{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a{color:#777}.navbar-default .navbar-nav>li>a:focus,.navbar-default .navbar-nav>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:focus,.navbar-default .navbar-nav>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:focus,.navbar-default .navbar-nav>.disabled>a:hover{color:#ccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:focus,.navbar-default .navbar-toggle:hover{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#888}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e7e7e7}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:focus,.navbar-default .navbar-nav>.open>a:hover{color:#555;background-color:#e7e7e7}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#ccc;background-color:transparent}}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-default .btn-link{color:#777}.navbar-default .btn-link:focus,.navbar-default .btn-link:hover{color:#333}.navbar-default .btn-link[disabled]:focus,.navbar-default .btn-link[disabled]:hover,fieldset[disabled] .navbar-default .btn-link:focus,fieldset[disabled] .navbar-default .btn-link:hover{color:#ccc}.navbar-inverse{background-color:#222;border-color:#080808}.navbar-inverse .navbar-brand{color:#9d9d9d}.navbar-inverse .navbar-brand:focus,.navbar-inverse .navbar-brand:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-text{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a:focus,.navbar-inverse .navbar-nav>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:focus,.navbar-inverse .navbar-nav>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:focus,.navbar-inverse .navbar-nav>.disabled>a:hover{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:focus,.navbar-inverse .navbar-toggle:hover{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:focus,.navbar-inverse .navbar-nav>.open>a:hover{color:#fff;background-color:#080808}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#444;background-color:transparent}}.navbar-inverse .navbar-link{color:#9d9d9d}.navbar-inverse .navbar-link:hover{color:#fff}.navbar-inverse .btn-link{color:#9d9d9d}.navbar-inverse .btn-link:focus,.navbar-inverse .btn-link:hover{color:#fff}.navbar-inverse .btn-link[disabled]:focus,.navbar-inverse .btn-link[disabled]:hover,fieldset[disabled] .navbar-inverse .btn-link:focus,fieldset[disabled] .navbar-inverse .btn-link:hover{color:#444}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0"}.breadcrumb>.active{color:#777}.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.42857143;color:#337ab7;text-decoration:none;background-color:#fff;border:1px solid #ddd}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-top-left-radius:4px;border-bottom-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.pagination>li>a:focus,.pagination>li>a:hover,.pagination>li>span:focus,.pagination>li>span:hover{color:#23527c;background-color:#eee;border-color:#ddd}.pagination>.active>a,.pagination>.active>a:focus,.pagination>.active>a:hover,.pagination>.active>span,.pagination>.active>span:focus,.pagination>.active>span:hover{z-index:2;color:#fff;cursor:default;background-color:#337ab7;border-color:#337ab7}.pagination>.disabled>a,.pagination>.disabled>a:focus,.pagination>.disabled>a:hover,.pagination>.disabled>span,.pagination>.disabled>span:focus,.pagination>.disabled>span:hover{color:#777;cursor:not-allowed;background-color:#fff;border-color:#ddd}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-top-left-radius:6px;border-bottom-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-top-left-radius:3px;border-bottom-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:focus,.pager li>a:hover{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:focus,.pager .disabled>a:hover,.pager .disabled>span{color:#777;cursor:not-allowed;background-color:#fff}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}a.label:focus,a.label:hover{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.btn .label{position:relative;top:-1px}.label-default{background-color:#777}.label-default[href]:focus,.label-default[href]:hover{background-color:#5e5e5e}.label-primary{background-color:#337ab7}.label-primary[href]:focus,.label-primary[href]:hover{background-color:#286090}.label-success{background-color:#5cb85c}.label-success[href]:focus,.label-success[href]:hover{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:focus,.label-info[href]:hover{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:focus,.label-warning[href]:hover{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:focus,.label-danger[href]:hover{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;background-color:#777;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.btn-xs .badge{top:0;padding:1px 5px}a.badge:focus,a.badge:hover{color:#fff;text-decoration:none;cursor:pointer}.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#337ab7;background-color:#fff}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding:30px 15px;margin-bottom:30px;color:inherit;background-color:#eee}.jumbotron .h1,.jumbotron h1{color:inherit}.jumbotron p{margin-bottom:15px;font-size:21px;font-weight:200}.jumbotron>hr{border-top-color:#d5d5d5}.container .jumbotron,.container-fluid .jumbotron{border-radius:6px}.jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding:48px 0}.container .jumbotron,.container-fluid .jumbotron{padding-right:60px;padding-left:60px}.jumbotron .h1,.jumbotron h1{font-size:63px}}.thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:border .2s ease-in-out;-o-transition:border .2s ease-in-out;transition:border .2s ease-in-out}.thumbnail a>img,.thumbnail>img{margin-right:auto;margin-left:auto}a.thumbnail.active,a.thumbnail:focus,a.thumbnail:hover{border-color:#337ab7}.thumbnail .caption{padding:9px;color:#333}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:700}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable,.alert-dismissible{padding-right:35px}.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#843534}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#337ab7;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;-o-transition:width .6s ease;transition:width .6s ease}.progress-bar-striped,.progress-striped .progress-bar{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);-webkit-background-size:40px 40px;background-size:40px 40px}.progress-bar.active,.progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#5cb85c}.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-warning{background-color:#f0ad4e}.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-danger{background-color:#d9534f}.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.media{margin-top:15px}.media:first-child{margin-top:0}.media,.media-body{overflow:hidden;zoom:1}.media-body{width:10000px}.media-object{display:block}.media-right,.media>.pull-right{padding-left:10px}.media-left,.media>.pull-left{padding-right:10px}.media-body,.media-left,.media-right{display:table-cell;vertical-align:top}.media-middle{vertical-align:middle}.media-bottom{vertical-align:bottom}.media-heading{margin-top:0;margin-bottom:5px}.media-list{padding-left:0;list-style:none}.list-group{padding-left:0;margin-bottom:20px}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}a.list-group-item{color:#555}a.list-group-item .list-group-item-heading{color:#333}a.list-group-item:focus,a.list-group-item:hover{color:#555;text-decoration:none;background-color:#f5f5f5}.list-group-item.disabled,.list-group-item.disabled:focus,.list-group-item.disabled:hover{color:#777;cursor:not-allowed;background-color:#eee}.list-group-item.disabled .list-group-item-heading,.list-group-item.disabled:focus .list-group-item-heading,.list-group-item.disabled:hover .list-group-item-heading{color:inherit}.list-group-item.disabled .list-group-item-text,.list-group-item.disabled:focus .list-group-item-text,.list-group-item.disabled:hover .list-group-item-text{color:#777}.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover{z-index:2;color:#fff;background-color:#337ab7;border-color:#337ab7}.list-group-item.active .list-group-item-heading,.list-group-item.active .list-group-item-heading>.small,.list-group-item.active .list-group-item-heading>small,.list-group-item.active:focus .list-group-item-heading,.list-group-item.active:focus .list-group-item-heading>.small,.list-group-item.active:focus .list-group-item-heading>small,.list-group-item.active:hover .list-group-item-heading,.list-group-item.active:hover .list-group-item-heading>.small,.list-group-item.active:hover .list-group-item-heading>small{color:inherit}.list-group-item.active .list-group-item-text,.list-group-item.active:focus .list-group-item-text,.list-group-item.active:hover .list-group-item-text{color:#c7ddef}.list-group-item-success{color:#3c763d;background-color:#dff0d8}a.list-group-item-success{color:#3c763d}a.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:focus,a.list-group-item-success:hover{color:#3c763d;background-color:#d0e9c6}a.list-group-item-success.active,a.list-group-item-success.active:focus,a.list-group-item-success.active:hover{color:#fff;background-color:#3c763d;border-color:#3c763d}.list-group-item-info{color:#31708f;background-color:#d9edf7}a.list-group-item-info{color:#31708f}a.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:focus,a.list-group-item-info:hover{color:#31708f;background-color:#c4e3f3}a.list-group-item-info.active,a.list-group-item-info.active:focus,a.list-group-item-info.active:hover{color:#fff;background-color:#31708f;border-color:#31708f}.list-group-item-warning{color:#8a6d3b;background-color:#fcf8e3}a.list-group-item-warning{color:#8a6d3b}a.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:focus,a.list-group-item-warning:hover{color:#8a6d3b;background-color:#faf2cc}a.list-group-item-warning.active,a.list-group-item-warning.active:focus,a.list-group-item-warning.active:hover{color:#fff;background-color:#8a6d3b;border-color:#8a6d3b}.list-group-item-danger{color:#a94442;background-color:#f2dede}a.list-group-item-danger{color:#a94442}a.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:focus,a.list-group-item-danger:hover{color:#a94442;background-color:#ebcccc}a.list-group-item-danger.active,a.list-group-item-danger.active:focus,a.list-group-item-danger.active:hover{color:#fff;background-color:#a94442;border-color:#a94442}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);box-shadow:0 1px 1px rgba(0,0,0,.05)}.panel-body{padding:15px}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-left-radius:3px;border-top-right-radius:3px}.panel-heading>.dropdown .dropdown-toggle{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.panel-title>.small,.panel-title>.small>a,.panel-title>a,.panel-title>small,.panel-title>small>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.list-group,.panel>.panel-collapse>.list-group{margin-bottom:0}.panel>.list-group .list-group-item,.panel>.panel-collapse>.list-group .list-group-item{border-width:1px 0;border-radius:0}.panel>.list-group:first-child .list-group-item:first-child,.panel>.panel-collapse>.list-group:first-child .list-group-item:first-child{border-top:0;border-top-left-radius:3px;border-top-right-radius:3px}.panel>.list-group:last-child .list-group-item:last-child,.panel>.panel-collapse>.list-group:last-child .list-group-item:last-child{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.list-group+.panel-footer{border-top-width:0}.panel>.panel-collapse>.table,.panel>.table,.panel>.table-responsive>.table{margin-bottom:0}.panel>.panel-collapse>.table caption,.panel>.table caption,.panel>.table-responsive>.table caption{padding-right:15px;padding-left:15px}.panel>.table-responsive:first-child>.table:first-child,.panel>.table:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child,.panel>.table:first-child>thead:first-child>tr:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table:first-child>thead:first-child>tr:first-child th:first-child{border-top-left-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table:first-child>thead:first-child>tr:first-child th:last-child{border-top-right-radius:3px}.panel>.table-responsive:last-child>.table:last-child,.panel>.table:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child{border-bottom-right-radius:3px}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive,.panel>.table+.panel-body,.panel>.table-responsive+.panel-body{border-top:1px solid #ddd}.panel>.table>tbody:first-child>tr:first-child td,.panel>.table>tbody:first-child>tr:first-child th{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.panel>.table-bordered>tbody>tr:first-child>td,.panel>.table-bordered>tbody>tr:first-child>th,.panel>.table-bordered>thead>tr:first-child>td,.panel>.table-bordered>thead>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>th,.panel>.table-responsive>.table-bordered>thead>tr:first-child>td,.panel>.table-responsive>.table-bordered>thead>tr:first-child>th{border-bottom:0}.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}.panel>.table-responsive{margin-bottom:0;border:0}.panel-group{margin-bottom:20px}.panel-group .panel{margin-bottom:0;border-radius:4px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse>.list-group,.panel-group .panel-heading+.panel-collapse>.panel-body{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ddd}.panel-default>.panel-heading .badge{color:#f5f5f5;background-color:#333}.panel-default>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#337ab7}.panel-primary>.panel-heading{color:#fff;background-color:#337ab7;border-color:#337ab7}.panel-primary>.panel-heading+.panel-collapse>.panel-body{border-top-color:#337ab7}.panel-primary>.panel-heading .badge{color:#337ab7;background-color:#fff}.panel-primary>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#337ab7}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse>.panel-body{border-top-color:#d6e9c6}.panel-success>.panel-heading .badge{color:#dff0d8;background-color:#3c763d}.panel-success>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#d6e9c6}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse>.panel-body{border-top-color:#bce8f1}.panel-info>.panel-heading .badge{color:#d9edf7;background-color:#31708f}.panel-info>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#bce8f1}.panel-warning{border-color:#faebcc}.panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.panel-warning>.panel-heading+.panel-collapse>.panel-body{border-top-color:#faebcc}.panel-warning>.panel-heading .badge{color:#fcf8e3;background-color:#8a6d3b}.panel-warning>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#faebcc}.panel-danger{border-color:#ebccd1}.panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.panel-danger>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ebccd1}.panel-danger>.panel-heading .badge{color:#f2dede;background-color:#a94442}.panel-danger>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ebccd1}.embed-responsive{position:relative;display:block;height:0;padding:0;overflow:hidden}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.embed-responsive.embed-responsive-16by9{padding-bottom:56.25%}.embed-responsive.embed-responsive-4by3{padding-bottom:75%}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;filter:alpha(opacity=20);opacity:.2}.close:focus,.close:hover{color:#000;text-decoration:none;cursor:pointer;filter:alpha(opacity=50);opacity:.5}button.close{-webkit-appearance:none;padding:0;cursor:pointer;background:0 0;border:0}.modal-open{overflow:hidden}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;display:none;overflow:hidden;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transition:-webkit-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out;-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);-o-transform:translate(0,-25%);transform:translate(0,-25%)}.modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);-o-transform:translate(0,0);transform:translate(0,0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5)}.modal-backdrop{position:absolute;top:0;right:0;left:0;background-color:#000}.modal-backdrop.fade{filter:alpha(opacity=0);opacity:0}.modal-backdrop.in{filter:alpha(opacity=50);opacity:.5}.modal-header{min-height:16.43px;padding:15px;border-bottom:1px solid #e5e5e5}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.42857143}.modal-body{position:relative;padding:15px}.modal-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:768px){.modal-dialog{width:600px;margin:30px auto}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}.modal-sm{width:300px}}@media (min-width:992px){.modal-lg{width:900px}}.tooltip{position:absolute;z-index:1070;display:block;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;font-weight:400;line-height:1.4;visibility:visible;filter:alpha(opacity=0);opacity:0}.tooltip.in{filter:alpha(opacity=90);opacity:.9}.tooltip.top{padding:5px 0;margin-top:-3px}.tooltip.right{padding:0 5px;margin-left:3px}.tooltip.bottom{padding:5px 0;margin-top:3px}.tooltip.left{padding:0 5px;margin-left:-3px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-left .tooltip-arrow{right:5px;bottom:0;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-right .tooltip-arrow{bottom:0;left:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-left .tooltip-arrow{top:0;right:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-right .tooltip-arrow{top:0;left:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.popover{position:absolute;top:0;left:0;z-index:1060;display:none;max-width:276px;padding:1px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-weight:400;line-height:1.42857143;text-align:left;white-space:normal;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2)}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{padding:8px 14px;margin:0;font-size:14px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover>.arrow,.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover>.arrow{border-width:11px}.popover>.arrow:after{content:"";border-width:10px}.popover.top>.arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,.25);border-bottom-width:0}.popover.top>.arrow:after{bottom:1px;margin-left:-10px;content:" ";border-top-color:#fff;border-bottom-width:0}.popover.right>.arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,.25);border-left-width:0}.popover.right>.arrow:after{bottom:-10px;left:1px;content:" ";border-right-color:#fff;border-left-width:0}.popover.bottom>.arrow{top:-11px;left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25)}.popover.bottom>.arrow:after{top:1px;margin-left:-10px;content:" ";border-top-width:0;border-bottom-color:#fff}.popover.left>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#999;border-left-color:rgba(0,0,0,.25)}.popover.left>.arrow:after{right:1px;bottom:-10px;content:" ";border-right-width:0;border-left-color:#fff}.carousel{position:relative}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;-o-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>a>img,.carousel-inner>.item>img{line-height:1}@media all and (transform-3d),(-webkit-transform-3d){.carousel-inner>.item{-webkit-transition:-webkit-transform .6s ease-in-out;-o-transition:-o-transform .6s ease-in-out;transition:transform .6s ease-in-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000;perspective:1000}.carousel-inner>.item.active.right,.carousel-inner>.item.next{left:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}.carousel-inner>.item.active.left,.carousel-inner>.item.prev{left:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.carousel-inner>.item.active,.carousel-inner>.item.next.left,.carousel-inner>.item.prev.right{left:0;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6);filter:alpha(opacity=50);opacity:.5}.carousel-control.left{background-image:-webkit-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,.0001)));background-image:linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);background-repeat:repeat-x}.carousel-control.right{right:0;left:auto;background-image:-webkit-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.0001)),to(rgba(0,0,0,.5)));background-image:linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);background-repeat:repeat-x}.carousel-control:focus,.carousel-control:hover{color:#fff;text-decoration:none;filter:alpha(opacity=90);outline:0;opacity:.9}.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{position:absolute;top:50%;z-index:5;display:inline-block}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{left:50%;margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{right:50%;margin-right:-10px}.carousel-control .icon-next,.carousel-control .icon-prev{width:20px;height:20px;margin-top:-10px;font-family:serif;line-height:1}.carousel-control .icon-prev:before{content:'\2039'}.carousel-control .icon-next:before{content:'\203a'}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000 \9;background-color:rgba(0,0,0,0);border:1px solid #fff;border-radius:10px}.carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{width:30px;height:30px;margin-top:-15px;font-size:30px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{margin-left:-15px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{margin-right:-15px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.btn-group-vertical>.btn-group:after,.btn-group-vertical>.btn-group:before,.btn-toolbar:after,.btn-toolbar:before,.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.dl-horizontal dd:after,.dl-horizontal dd:before,.form-horizontal .form-group:after,.form-horizontal .form-group:before,.modal-footer:after,.modal-footer:before,.nav:after,.nav:before,.navbar-collapse:after,.navbar-collapse:before,.navbar-header:after,.navbar-header:before,.navbar:after,.navbar:before,.pager:after,.pager:before,.panel-body:after,.panel-body:before,.row:after,.row:before{display:table;content:" "}.btn-group-vertical>.btn-group:after,.btn-toolbar:after,.clearfix:after,.container-fluid:after,.container:after,.dl-horizontal dd:after,.form-horizontal .form-group:after,.modal-footer:after,.nav:after,.navbar-collapse:after,.navbar-header:after,.navbar:after,.pager:after,.panel-body:after,.row:after{clear:both}.center-block{display:block;margin-right:auto;margin-left:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important;visibility:hidden!important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-lg,.visible-md,.visible-sm,.visible-xs{display:none!important}.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block{display:none!important}@media (max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table}tr.visible-xs{display:table-row!important}td.visible-xs,th.visible-xs{display:table-cell!important}}@media (max-width:767px){.visible-xs-block{display:block!important}}@media (max-width:767px){.visible-xs-inline{display:inline!important}}@media (max-width:767px){.visible-xs-inline-block{display:inline-block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table}tr.visible-sm{display:table-row!important}td.visible-sm,th.visible-sm{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-block{display:block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline{display:inline!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline-block{display:inline-block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table}tr.visible-md{display:table-row!important}td.visible-md,th.visible-md{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-block{display:block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline{display:inline!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline-block{display:inline-block!important}}@media (min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table}tr.visible-lg{display:table-row!important}td.visible-lg,th.visible-lg{display:table-cell!important}}@media (min-width:1200px){.visible-lg-block{display:block!important}}@media (min-width:1200px){.visible-lg-inline{display:inline!important}}@media (min-width:1200px){.visible-lg-inline-block{display:inline-block!important}}@media (max-width:767px){.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-lg{display:none!important}}.visible-print{display:none!important}@media print{.visible-print{display:block!important}table.visible-print{display:table}tr.visible-print{display:table-row!important}td.visible-print,th.visible-print{display:table-cell!important}}.visible-print-block{display:none!important}@media print{.visible-print-block{display:block!important}}.visible-print-inline{display:none!important}@media print{.visible-print-inline{display:inline!important}}.visible-print-inline-block{display:none!important}@media print{.visible-print-inline-block{display:inline-block!important}}@media print{.hidden-print{display:none!important}}
\ No newline at end of file
diff --git a/public/vendor/bootstrap/fonts/glyphicons-halflings-regular.eot b/public/vendor/bootstrap/fonts/glyphicons-halflings-regular.eot
new file mode 100644
index 00000000..b93a4953
Binary files /dev/null and b/public/vendor/bootstrap/fonts/glyphicons-halflings-regular.eot differ
diff --git a/public/vendor/bootstrap/fonts/glyphicons-halflings-regular.svg b/public/vendor/bootstrap/fonts/glyphicons-halflings-regular.svg
new file mode 100644
index 00000000..94fb5490
--- /dev/null
+++ b/public/vendor/bootstrap/fonts/glyphicons-halflings-regular.svg
@@ -0,0 +1,288 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/public/vendor/bootstrap/fonts/glyphicons-halflings-regular.ttf b/public/vendor/bootstrap/fonts/glyphicons-halflings-regular.ttf
new file mode 100644
index 00000000..1413fc60
Binary files /dev/null and b/public/vendor/bootstrap/fonts/glyphicons-halflings-regular.ttf differ
diff --git a/public/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff b/public/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff
new file mode 100644
index 00000000..9e612858
Binary files /dev/null and b/public/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff differ
diff --git a/public/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff2 b/public/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff2
new file mode 100644
index 00000000..64539b54
Binary files /dev/null and b/public/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff2 differ
diff --git a/public/vendor/bootstrap/js/bootstrap.js b/public/vendor/bootstrap/js/bootstrap.js
new file mode 100644
index 00000000..4139b6fc
--- /dev/null
+++ b/public/vendor/bootstrap/js/bootstrap.js
@@ -0,0 +1,2306 @@
+/*!
+ * Bootstrap v3.3.2 (http://getbootstrap.com)
+ * Copyright 2011-2015 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ */
+
+if (typeof jQuery === 'undefined') {
+ throw new Error('Bootstrap\'s JavaScript requires jQuery')
+}
+
++function ($) {
+ 'use strict';
+ var version = $.fn.jquery.split(' ')[0].split('.')
+ if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1)) {
+ throw new Error('Bootstrap\'s JavaScript requires jQuery version 1.9.1 or higher')
+ }
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: transition.js v3.3.2
+ * http://getbootstrap.com/javascript/#transitions
+ * ========================================================================
+ * Copyright 2011-2015 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * ======================================================================== */
+
+
++function ($) {
+ 'use strict';
+
+ // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
+ // ============================================================
+
+ function transitionEnd() {
+ var el = document.createElement('bootstrap')
+
+ var transEndEventNames = {
+ WebkitTransition : 'webkitTransitionEnd',
+ MozTransition : 'transitionend',
+ OTransition : 'oTransitionEnd otransitionend',
+ transition : 'transitionend'
+ }
+
+ for (var name in transEndEventNames) {
+ if (el.style[name] !== undefined) {
+ return { end: transEndEventNames[name] }
+ }
+ }
+
+ return false // explicit for ie8 ( ._.)
+ }
+
+ // http://blog.alexmaccaw.com/css-transitions
+ $.fn.emulateTransitionEnd = function (duration) {
+ var called = false
+ var $el = this
+ $(this).one('bsTransitionEnd', function () { called = true })
+ var callback = function () { if (!called) $($el).trigger($.support.transition.end) }
+ setTimeout(callback, duration)
+ return this
+ }
+
+ $(function () {
+ $.support.transition = transitionEnd()
+
+ if (!$.support.transition) return
+
+ $.event.special.bsTransitionEnd = {
+ bindType: $.support.transition.end,
+ delegateType: $.support.transition.end,
+ handle: function (e) {
+ if ($(e.target).is(this)) return e.handleObj.handler.apply(this, arguments)
+ }
+ }
+ })
+
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: alert.js v3.3.2
+ * http://getbootstrap.com/javascript/#alerts
+ * ========================================================================
+ * Copyright 2011-2015 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * ======================================================================== */
+
+
++function ($) {
+ 'use strict';
+
+ // ALERT CLASS DEFINITION
+ // ======================
+
+ var dismiss = '[data-dismiss="alert"]'
+ var Alert = function (el) {
+ $(el).on('click', dismiss, this.close)
+ }
+
+ Alert.VERSION = '3.3.2'
+
+ Alert.TRANSITION_DURATION = 150
+
+ Alert.prototype.close = function (e) {
+ var $this = $(this)
+ var selector = $this.attr('data-target')
+
+ if (!selector) {
+ selector = $this.attr('href')
+ selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
+ }
+
+ var $parent = $(selector)
+
+ if (e) e.preventDefault()
+
+ if (!$parent.length) {
+ $parent = $this.closest('.alert')
+ }
+
+ $parent.trigger(e = $.Event('close.bs.alert'))
+
+ if (e.isDefaultPrevented()) return
+
+ $parent.removeClass('in')
+
+ function removeElement() {
+ // detach from parent, fire event then clean up data
+ $parent.detach().trigger('closed.bs.alert').remove()
+ }
+
+ $.support.transition && $parent.hasClass('fade') ?
+ $parent
+ .one('bsTransitionEnd', removeElement)
+ .emulateTransitionEnd(Alert.TRANSITION_DURATION) :
+ removeElement()
+ }
+
+
+ // ALERT PLUGIN DEFINITION
+ // =======================
+
+ function Plugin(option) {
+ return this.each(function () {
+ var $this = $(this)
+ var data = $this.data('bs.alert')
+
+ if (!data) $this.data('bs.alert', (data = new Alert(this)))
+ if (typeof option == 'string') data[option].call($this)
+ })
+ }
+
+ var old = $.fn.alert
+
+ $.fn.alert = Plugin
+ $.fn.alert.Constructor = Alert
+
+
+ // ALERT NO CONFLICT
+ // =================
+
+ $.fn.alert.noConflict = function () {
+ $.fn.alert = old
+ return this
+ }
+
+
+ // ALERT DATA-API
+ // ==============
+
+ $(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close)
+
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: button.js v3.3.2
+ * http://getbootstrap.com/javascript/#buttons
+ * ========================================================================
+ * Copyright 2011-2015 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * ======================================================================== */
+
+
++function ($) {
+ 'use strict';
+
+ // BUTTON PUBLIC CLASS DEFINITION
+ // ==============================
+
+ var Button = function (element, options) {
+ this.$element = $(element)
+ this.options = $.extend({}, Button.DEFAULTS, options)
+ this.isLoading = false
+ }
+
+ Button.VERSION = '3.3.2'
+
+ Button.DEFAULTS = {
+ loadingText: 'loading...'
+ }
+
+ Button.prototype.setState = function (state) {
+ var d = 'disabled'
+ var $el = this.$element
+ var val = $el.is('input') ? 'val' : 'html'
+ var data = $el.data()
+
+ state = state + 'Text'
+
+ if (data.resetText == null) $el.data('resetText', $el[val]())
+
+ // push to event loop to allow forms to submit
+ setTimeout($.proxy(function () {
+ $el[val](data[state] == null ? this.options[state] : data[state])
+
+ if (state == 'loadingText') {
+ this.isLoading = true
+ $el.addClass(d).attr(d, d)
+ } else if (this.isLoading) {
+ this.isLoading = false
+ $el.removeClass(d).removeAttr(d)
+ }
+ }, this), 0)
+ }
+
+ Button.prototype.toggle = function () {
+ var changed = true
+ var $parent = this.$element.closest('[data-toggle="buttons"]')
+
+ if ($parent.length) {
+ var $input = this.$element.find('input')
+ if ($input.prop('type') == 'radio') {
+ if ($input.prop('checked') && this.$element.hasClass('active')) changed = false
+ else $parent.find('.active').removeClass('active')
+ }
+ if (changed) $input.prop('checked', !this.$element.hasClass('active')).trigger('change')
+ } else {
+ this.$element.attr('aria-pressed', !this.$element.hasClass('active'))
+ }
+
+ if (changed) this.$element.toggleClass('active')
+ }
+
+
+ // BUTTON PLUGIN DEFINITION
+ // ========================
+
+ function Plugin(option) {
+ return this.each(function () {
+ var $this = $(this)
+ var data = $this.data('bs.button')
+ var options = typeof option == 'object' && option
+
+ if (!data) $this.data('bs.button', (data = new Button(this, options)))
+
+ if (option == 'toggle') data.toggle()
+ else if (option) data.setState(option)
+ })
+ }
+
+ var old = $.fn.button
+
+ $.fn.button = Plugin
+ $.fn.button.Constructor = Button
+
+
+ // BUTTON NO CONFLICT
+ // ==================
+
+ $.fn.button.noConflict = function () {
+ $.fn.button = old
+ return this
+ }
+
+
+ // BUTTON DATA-API
+ // ===============
+
+ $(document)
+ .on('click.bs.button.data-api', '[data-toggle^="button"]', function (e) {
+ var $btn = $(e.target)
+ if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn')
+ Plugin.call($btn, 'toggle')
+ e.preventDefault()
+ })
+ .on('focus.bs.button.data-api blur.bs.button.data-api', '[data-toggle^="button"]', function (e) {
+ $(e.target).closest('.btn').toggleClass('focus', /^focus(in)?$/.test(e.type))
+ })
+
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: carousel.js v3.3.2
+ * http://getbootstrap.com/javascript/#carousel
+ * ========================================================================
+ * Copyright 2011-2015 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * ======================================================================== */
+
+
++function ($) {
+ 'use strict';
+
+ // CAROUSEL CLASS DEFINITION
+ // =========================
+
+ var Carousel = function (element, options) {
+ this.$element = $(element)
+ this.$indicators = this.$element.find('.carousel-indicators')
+ this.options = options
+ this.paused =
+ this.sliding =
+ this.interval =
+ this.$active =
+ this.$items = null
+
+ this.options.keyboard && this.$element.on('keydown.bs.carousel', $.proxy(this.keydown, this))
+
+ this.options.pause == 'hover' && !('ontouchstart' in document.documentElement) && this.$element
+ .on('mouseenter.bs.carousel', $.proxy(this.pause, this))
+ .on('mouseleave.bs.carousel', $.proxy(this.cycle, this))
+ }
+
+ Carousel.VERSION = '3.3.2'
+
+ Carousel.TRANSITION_DURATION = 600
+
+ Carousel.DEFAULTS = {
+ interval: 5000,
+ pause: 'hover',
+ wrap: true,
+ keyboard: true
+ }
+
+ Carousel.prototype.keydown = function (e) {
+ if (/input|textarea/i.test(e.target.tagName)) return
+ switch (e.which) {
+ case 37: this.prev(); break
+ case 39: this.next(); break
+ default: return
+ }
+
+ e.preventDefault()
+ }
+
+ Carousel.prototype.cycle = function (e) {
+ e || (this.paused = false)
+
+ this.interval && clearInterval(this.interval)
+
+ this.options.interval
+ && !this.paused
+ && (this.interval = setInterval($.proxy(this.next, this), this.options.interval))
+
+ return this
+ }
+
+ Carousel.prototype.getItemIndex = function (item) {
+ this.$items = item.parent().children('.item')
+ return this.$items.index(item || this.$active)
+ }
+
+ Carousel.prototype.getItemForDirection = function (direction, active) {
+ var activeIndex = this.getItemIndex(active)
+ var willWrap = (direction == 'prev' && activeIndex === 0)
+ || (direction == 'next' && activeIndex == (this.$items.length - 1))
+ if (willWrap && !this.options.wrap) return active
+ var delta = direction == 'prev' ? -1 : 1
+ var itemIndex = (activeIndex + delta) % this.$items.length
+ return this.$items.eq(itemIndex)
+ }
+
+ Carousel.prototype.to = function (pos) {
+ var that = this
+ var activeIndex = this.getItemIndex(this.$active = this.$element.find('.item.active'))
+
+ if (pos > (this.$items.length - 1) || pos < 0) return
+
+ if (this.sliding) return this.$element.one('slid.bs.carousel', function () { that.to(pos) }) // yes, "slid"
+ if (activeIndex == pos) return this.pause().cycle()
+
+ return this.slide(pos > activeIndex ? 'next' : 'prev', this.$items.eq(pos))
+ }
+
+ Carousel.prototype.pause = function (e) {
+ e || (this.paused = true)
+
+ if (this.$element.find('.next, .prev').length && $.support.transition) {
+ this.$element.trigger($.support.transition.end)
+ this.cycle(true)
+ }
+
+ this.interval = clearInterval(this.interval)
+
+ return this
+ }
+
+ Carousel.prototype.next = function () {
+ if (this.sliding) return
+ return this.slide('next')
+ }
+
+ Carousel.prototype.prev = function () {
+ if (this.sliding) return
+ return this.slide('prev')
+ }
+
+ Carousel.prototype.slide = function (type, next) {
+ var $active = this.$element.find('.item.active')
+ var $next = next || this.getItemForDirection(type, $active)
+ var isCycling = this.interval
+ var direction = type == 'next' ? 'left' : 'right'
+ var that = this
+
+ if ($next.hasClass('active')) return (this.sliding = false)
+
+ var relatedTarget = $next[0]
+ var slideEvent = $.Event('slide.bs.carousel', {
+ relatedTarget: relatedTarget,
+ direction: direction
+ })
+ this.$element.trigger(slideEvent)
+ if (slideEvent.isDefaultPrevented()) return
+
+ this.sliding = true
+
+ isCycling && this.pause()
+
+ if (this.$indicators.length) {
+ this.$indicators.find('.active').removeClass('active')
+ var $nextIndicator = $(this.$indicators.children()[this.getItemIndex($next)])
+ $nextIndicator && $nextIndicator.addClass('active')
+ }
+
+ var slidEvent = $.Event('slid.bs.carousel', { relatedTarget: relatedTarget, direction: direction }) // yes, "slid"
+ if ($.support.transition && this.$element.hasClass('slide')) {
+ $next.addClass(type)
+ $next[0].offsetWidth // force reflow
+ $active.addClass(direction)
+ $next.addClass(direction)
+ $active
+ .one('bsTransitionEnd', function () {
+ $next.removeClass([type, direction].join(' ')).addClass('active')
+ $active.removeClass(['active', direction].join(' '))
+ that.sliding = false
+ setTimeout(function () {
+ that.$element.trigger(slidEvent)
+ }, 0)
+ })
+ .emulateTransitionEnd(Carousel.TRANSITION_DURATION)
+ } else {
+ $active.removeClass('active')
+ $next.addClass('active')
+ this.sliding = false
+ this.$element.trigger(slidEvent)
+ }
+
+ isCycling && this.cycle()
+
+ return this
+ }
+
+
+ // CAROUSEL PLUGIN DEFINITION
+ // ==========================
+
+ function Plugin(option) {
+ return this.each(function () {
+ var $this = $(this)
+ var data = $this.data('bs.carousel')
+ var options = $.extend({}, Carousel.DEFAULTS, $this.data(), typeof option == 'object' && option)
+ var action = typeof option == 'string' ? option : options.slide
+
+ if (!data) $this.data('bs.carousel', (data = new Carousel(this, options)))
+ if (typeof option == 'number') data.to(option)
+ else if (action) data[action]()
+ else if (options.interval) data.pause().cycle()
+ })
+ }
+
+ var old = $.fn.carousel
+
+ $.fn.carousel = Plugin
+ $.fn.carousel.Constructor = Carousel
+
+
+ // CAROUSEL NO CONFLICT
+ // ====================
+
+ $.fn.carousel.noConflict = function () {
+ $.fn.carousel = old
+ return this
+ }
+
+
+ // CAROUSEL DATA-API
+ // =================
+
+ var clickHandler = function (e) {
+ var href
+ var $this = $(this)
+ var $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) // strip for ie7
+ if (!$target.hasClass('carousel')) return
+ var options = $.extend({}, $target.data(), $this.data())
+ var slideIndex = $this.attr('data-slide-to')
+ if (slideIndex) options.interval = false
+
+ Plugin.call($target, options)
+
+ if (slideIndex) {
+ $target.data('bs.carousel').to(slideIndex)
+ }
+
+ e.preventDefault()
+ }
+
+ $(document)
+ .on('click.bs.carousel.data-api', '[data-slide]', clickHandler)
+ .on('click.bs.carousel.data-api', '[data-slide-to]', clickHandler)
+
+ $(window).on('load', function () {
+ $('[data-ride="carousel"]').each(function () {
+ var $carousel = $(this)
+ Plugin.call($carousel, $carousel.data())
+ })
+ })
+
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: collapse.js v3.3.2
+ * http://getbootstrap.com/javascript/#collapse
+ * ========================================================================
+ * Copyright 2011-2015 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * ======================================================================== */
+
+
++function ($) {
+ 'use strict';
+
+ // COLLAPSE PUBLIC CLASS DEFINITION
+ // ================================
+
+ var Collapse = function (element, options) {
+ this.$element = $(element)
+ this.options = $.extend({}, Collapse.DEFAULTS, options)
+ this.$trigger = $(this.options.trigger).filter('[href="#' + element.id + '"], [data-target="#' + element.id + '"]')
+ this.transitioning = null
+
+ if (this.options.parent) {
+ this.$parent = this.getParent()
+ } else {
+ this.addAriaAndCollapsedClass(this.$element, this.$trigger)
+ }
+
+ if (this.options.toggle) this.toggle()
+ }
+
+ Collapse.VERSION = '3.3.2'
+
+ Collapse.TRANSITION_DURATION = 350
+
+ Collapse.DEFAULTS = {
+ toggle: true,
+ trigger: '[data-toggle="collapse"]'
+ }
+
+ Collapse.prototype.dimension = function () {
+ var hasWidth = this.$element.hasClass('width')
+ return hasWidth ? 'width' : 'height'
+ }
+
+ Collapse.prototype.show = function () {
+ if (this.transitioning || this.$element.hasClass('in')) return
+
+ var activesData
+ var actives = this.$parent && this.$parent.children('.panel').children('.in, .collapsing')
+
+ if (actives && actives.length) {
+ activesData = actives.data('bs.collapse')
+ if (activesData && activesData.transitioning) return
+ }
+
+ var startEvent = $.Event('show.bs.collapse')
+ this.$element.trigger(startEvent)
+ if (startEvent.isDefaultPrevented()) return
+
+ if (actives && actives.length) {
+ Plugin.call(actives, 'hide')
+ activesData || actives.data('bs.collapse', null)
+ }
+
+ var dimension = this.dimension()
+
+ this.$element
+ .removeClass('collapse')
+ .addClass('collapsing')[dimension](0)
+ .attr('aria-expanded', true)
+
+ this.$trigger
+ .removeClass('collapsed')
+ .attr('aria-expanded', true)
+
+ this.transitioning = 1
+
+ var complete = function () {
+ this.$element
+ .removeClass('collapsing')
+ .addClass('collapse in')[dimension]('')
+ this.transitioning = 0
+ this.$element
+ .trigger('shown.bs.collapse')
+ }
+
+ if (!$.support.transition) return complete.call(this)
+
+ var scrollSize = $.camelCase(['scroll', dimension].join('-'))
+
+ this.$element
+ .one('bsTransitionEnd', $.proxy(complete, this))
+ .emulateTransitionEnd(Collapse.TRANSITION_DURATION)[dimension](this.$element[0][scrollSize])
+ }
+
+ Collapse.prototype.hide = function () {
+ if (this.transitioning || !this.$element.hasClass('in')) return
+
+ var startEvent = $.Event('hide.bs.collapse')
+ this.$element.trigger(startEvent)
+ if (startEvent.isDefaultPrevented()) return
+
+ var dimension = this.dimension()
+
+ this.$element[dimension](this.$element[dimension]())[0].offsetHeight
+
+ this.$element
+ .addClass('collapsing')
+ .removeClass('collapse in')
+ .attr('aria-expanded', false)
+
+ this.$trigger
+ .addClass('collapsed')
+ .attr('aria-expanded', false)
+
+ this.transitioning = 1
+
+ var complete = function () {
+ this.transitioning = 0
+ this.$element
+ .removeClass('collapsing')
+ .addClass('collapse')
+ .trigger('hidden.bs.collapse')
+ }
+
+ if (!$.support.transition) return complete.call(this)
+
+ this.$element
+ [dimension](0)
+ .one('bsTransitionEnd', $.proxy(complete, this))
+ .emulateTransitionEnd(Collapse.TRANSITION_DURATION)
+ }
+
+ Collapse.prototype.toggle = function () {
+ this[this.$element.hasClass('in') ? 'hide' : 'show']()
+ }
+
+ Collapse.prototype.getParent = function () {
+ return $(this.options.parent)
+ .find('[data-toggle="collapse"][data-parent="' + this.options.parent + '"]')
+ .each($.proxy(function (i, element) {
+ var $element = $(element)
+ this.addAriaAndCollapsedClass(getTargetFromTrigger($element), $element)
+ }, this))
+ .end()
+ }
+
+ Collapse.prototype.addAriaAndCollapsedClass = function ($element, $trigger) {
+ var isOpen = $element.hasClass('in')
+
+ $element.attr('aria-expanded', isOpen)
+ $trigger
+ .toggleClass('collapsed', !isOpen)
+ .attr('aria-expanded', isOpen)
+ }
+
+ function getTargetFromTrigger($trigger) {
+ var href
+ var target = $trigger.attr('data-target')
+ || (href = $trigger.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') // strip for ie7
+
+ return $(target)
+ }
+
+
+ // COLLAPSE PLUGIN DEFINITION
+ // ==========================
+
+ function Plugin(option) {
+ return this.each(function () {
+ var $this = $(this)
+ var data = $this.data('bs.collapse')
+ var options = $.extend({}, Collapse.DEFAULTS, $this.data(), typeof option == 'object' && option)
+
+ if (!data && options.toggle && option == 'show') options.toggle = false
+ if (!data) $this.data('bs.collapse', (data = new Collapse(this, options)))
+ if (typeof option == 'string') data[option]()
+ })
+ }
+
+ var old = $.fn.collapse
+
+ $.fn.collapse = Plugin
+ $.fn.collapse.Constructor = Collapse
+
+
+ // COLLAPSE NO CONFLICT
+ // ====================
+
+ $.fn.collapse.noConflict = function () {
+ $.fn.collapse = old
+ return this
+ }
+
+
+ // COLLAPSE DATA-API
+ // =================
+
+ $(document).on('click.bs.collapse.data-api', '[data-toggle="collapse"]', function (e) {
+ var $this = $(this)
+
+ if (!$this.attr('data-target')) e.preventDefault()
+
+ var $target = getTargetFromTrigger($this)
+ var data = $target.data('bs.collapse')
+ var option = data ? 'toggle' : $.extend({}, $this.data(), { trigger: this })
+
+ Plugin.call($target, option)
+ })
+
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: dropdown.js v3.3.2
+ * http://getbootstrap.com/javascript/#dropdowns
+ * ========================================================================
+ * Copyright 2011-2015 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * ======================================================================== */
+
+
++function ($) {
+ 'use strict';
+
+ // DROPDOWN CLASS DEFINITION
+ // =========================
+
+ var backdrop = '.dropdown-backdrop'
+ var toggle = '[data-toggle="dropdown"]'
+ var Dropdown = function (element) {
+ $(element).on('click.bs.dropdown', this.toggle)
+ }
+
+ Dropdown.VERSION = '3.3.2'
+
+ Dropdown.prototype.toggle = function (e) {
+ var $this = $(this)
+
+ if ($this.is('.disabled, :disabled')) return
+
+ var $parent = getParent($this)
+ var isActive = $parent.hasClass('open')
+
+ clearMenus()
+
+ if (!isActive) {
+ if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) {
+ // if mobile we use a backdrop because click events don't delegate
+ $('
').insertAfter($(this)).on('click', clearMenus)
+ }
+
+ var relatedTarget = { relatedTarget: this }
+ $parent.trigger(e = $.Event('show.bs.dropdown', relatedTarget))
+
+ if (e.isDefaultPrevented()) return
+
+ $this
+ .trigger('focus')
+ .attr('aria-expanded', 'true')
+
+ $parent
+ .toggleClass('open')
+ .trigger('shown.bs.dropdown', relatedTarget)
+ }
+
+ return false
+ }
+
+ Dropdown.prototype.keydown = function (e) {
+ if (!/(38|40|27|32)/.test(e.which) || /input|textarea/i.test(e.target.tagName)) return
+
+ var $this = $(this)
+
+ e.preventDefault()
+ e.stopPropagation()
+
+ if ($this.is('.disabled, :disabled')) return
+
+ var $parent = getParent($this)
+ var isActive = $parent.hasClass('open')
+
+ if ((!isActive && e.which != 27) || (isActive && e.which == 27)) {
+ if (e.which == 27) $parent.find(toggle).trigger('focus')
+ return $this.trigger('click')
+ }
+
+ var desc = ' li:not(.divider):visible a'
+ var $items = $parent.find('[role="menu"]' + desc + ', [role="listbox"]' + desc)
+
+ if (!$items.length) return
+
+ var index = $items.index(e.target)
+
+ if (e.which == 38 && index > 0) index-- // up
+ if (e.which == 40 && index < $items.length - 1) index++ // down
+ if (!~index) index = 0
+
+ $items.eq(index).trigger('focus')
+ }
+
+ function clearMenus(e) {
+ if (e && e.which === 3) return
+ $(backdrop).remove()
+ $(toggle).each(function () {
+ var $this = $(this)
+ var $parent = getParent($this)
+ var relatedTarget = { relatedTarget: this }
+
+ if (!$parent.hasClass('open')) return
+
+ $parent.trigger(e = $.Event('hide.bs.dropdown', relatedTarget))
+
+ if (e.isDefaultPrevented()) return
+
+ $this.attr('aria-expanded', 'false')
+ $parent.removeClass('open').trigger('hidden.bs.dropdown', relatedTarget)
+ })
+ }
+
+ function getParent($this) {
+ var selector = $this.attr('data-target')
+
+ if (!selector) {
+ selector = $this.attr('href')
+ selector = selector && /#[A-Za-z]/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
+ }
+
+ var $parent = selector && $(selector)
+
+ return $parent && $parent.length ? $parent : $this.parent()
+ }
+
+
+ // DROPDOWN PLUGIN DEFINITION
+ // ==========================
+
+ function Plugin(option) {
+ return this.each(function () {
+ var $this = $(this)
+ var data = $this.data('bs.dropdown')
+
+ if (!data) $this.data('bs.dropdown', (data = new Dropdown(this)))
+ if (typeof option == 'string') data[option].call($this)
+ })
+ }
+
+ var old = $.fn.dropdown
+
+ $.fn.dropdown = Plugin
+ $.fn.dropdown.Constructor = Dropdown
+
+
+ // DROPDOWN NO CONFLICT
+ // ====================
+
+ $.fn.dropdown.noConflict = function () {
+ $.fn.dropdown = old
+ return this
+ }
+
+
+ // APPLY TO STANDARD DROPDOWN ELEMENTS
+ // ===================================
+
+ $(document)
+ .on('click.bs.dropdown.data-api', clearMenus)
+ .on('click.bs.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
+ .on('click.bs.dropdown.data-api', toggle, Dropdown.prototype.toggle)
+ .on('keydown.bs.dropdown.data-api', toggle, Dropdown.prototype.keydown)
+ .on('keydown.bs.dropdown.data-api', '[role="menu"]', Dropdown.prototype.keydown)
+ .on('keydown.bs.dropdown.data-api', '[role="listbox"]', Dropdown.prototype.keydown)
+
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: modal.js v3.3.2
+ * http://getbootstrap.com/javascript/#modals
+ * ========================================================================
+ * Copyright 2011-2015 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * ======================================================================== */
+
+
++function ($) {
+ 'use strict';
+
+ // MODAL CLASS DEFINITION
+ // ======================
+
+ var Modal = function (element, options) {
+ this.options = options
+ this.$body = $(document.body)
+ this.$element = $(element)
+ this.$backdrop =
+ this.isShown = null
+ this.scrollbarWidth = 0
+
+ if (this.options.remote) {
+ this.$element
+ .find('.modal-content')
+ .load(this.options.remote, $.proxy(function () {
+ this.$element.trigger('loaded.bs.modal')
+ }, this))
+ }
+ }
+
+ Modal.VERSION = '3.3.2'
+
+ Modal.TRANSITION_DURATION = 300
+ Modal.BACKDROP_TRANSITION_DURATION = 150
+
+ Modal.DEFAULTS = {
+ backdrop: true,
+ keyboard: true,
+ show: true
+ }
+
+ Modal.prototype.toggle = function (_relatedTarget) {
+ return this.isShown ? this.hide() : this.show(_relatedTarget)
+ }
+
+ Modal.prototype.show = function (_relatedTarget) {
+ var that = this
+ var e = $.Event('show.bs.modal', { relatedTarget: _relatedTarget })
+
+ this.$element.trigger(e)
+
+ if (this.isShown || e.isDefaultPrevented()) return
+
+ this.isShown = true
+
+ this.checkScrollbar()
+ this.setScrollbar()
+ this.$body.addClass('modal-open')
+
+ this.escape()
+ this.resize()
+
+ this.$element.on('click.dismiss.bs.modal', '[data-dismiss="modal"]', $.proxy(this.hide, this))
+
+ this.backdrop(function () {
+ var transition = $.support.transition && that.$element.hasClass('fade')
+
+ if (!that.$element.parent().length) {
+ that.$element.appendTo(that.$body) // don't move modals dom position
+ }
+
+ that.$element
+ .show()
+ .scrollTop(0)
+
+ if (that.options.backdrop) that.adjustBackdrop()
+ that.adjustDialog()
+
+ if (transition) {
+ that.$element[0].offsetWidth // force reflow
+ }
+
+ that.$element
+ .addClass('in')
+ .attr('aria-hidden', false)
+
+ that.enforceFocus()
+
+ var e = $.Event('shown.bs.modal', { relatedTarget: _relatedTarget })
+
+ transition ?
+ that.$element.find('.modal-dialog') // wait for modal to slide in
+ .one('bsTransitionEnd', function () {
+ that.$element.trigger('focus').trigger(e)
+ })
+ .emulateTransitionEnd(Modal.TRANSITION_DURATION) :
+ that.$element.trigger('focus').trigger(e)
+ })
+ }
+
+ Modal.prototype.hide = function (e) {
+ if (e) e.preventDefault()
+
+ e = $.Event('hide.bs.modal')
+
+ this.$element.trigger(e)
+
+ if (!this.isShown || e.isDefaultPrevented()) return
+
+ this.isShown = false
+
+ this.escape()
+ this.resize()
+
+ $(document).off('focusin.bs.modal')
+
+ this.$element
+ .removeClass('in')
+ .attr('aria-hidden', true)
+ .off('click.dismiss.bs.modal')
+
+ $.support.transition && this.$element.hasClass('fade') ?
+ this.$element
+ .one('bsTransitionEnd', $.proxy(this.hideModal, this))
+ .emulateTransitionEnd(Modal.TRANSITION_DURATION) :
+ this.hideModal()
+ }
+
+ Modal.prototype.enforceFocus = function () {
+ $(document)
+ .off('focusin.bs.modal') // guard against infinite focus loop
+ .on('focusin.bs.modal', $.proxy(function (e) {
+ if (this.$element[0] !== e.target && !this.$element.has(e.target).length) {
+ this.$element.trigger('focus')
+ }
+ }, this))
+ }
+
+ Modal.prototype.escape = function () {
+ if (this.isShown && this.options.keyboard) {
+ this.$element.on('keydown.dismiss.bs.modal', $.proxy(function (e) {
+ e.which == 27 && this.hide()
+ }, this))
+ } else if (!this.isShown) {
+ this.$element.off('keydown.dismiss.bs.modal')
+ }
+ }
+
+ Modal.prototype.resize = function () {
+ if (this.isShown) {
+ $(window).on('resize.bs.modal', $.proxy(this.handleUpdate, this))
+ } else {
+ $(window).off('resize.bs.modal')
+ }
+ }
+
+ Modal.prototype.hideModal = function () {
+ var that = this
+ this.$element.hide()
+ this.backdrop(function () {
+ that.$body.removeClass('modal-open')
+ that.resetAdjustments()
+ that.resetScrollbar()
+ that.$element.trigger('hidden.bs.modal')
+ })
+ }
+
+ Modal.prototype.removeBackdrop = function () {
+ this.$backdrop && this.$backdrop.remove()
+ this.$backdrop = null
+ }
+
+ Modal.prototype.backdrop = function (callback) {
+ var that = this
+ var animate = this.$element.hasClass('fade') ? 'fade' : ''
+
+ if (this.isShown && this.options.backdrop) {
+ var doAnimate = $.support.transition && animate
+
+ this.$backdrop = $('
')
+ .prependTo(this.$element)
+ .on('click.dismiss.bs.modal', $.proxy(function (e) {
+ if (e.target !== e.currentTarget) return
+ this.options.backdrop == 'static'
+ ? this.$element[0].focus.call(this.$element[0])
+ : this.hide.call(this)
+ }, this))
+
+ if (doAnimate) this.$backdrop[0].offsetWidth // force reflow
+
+ this.$backdrop.addClass('in')
+
+ if (!callback) return
+
+ doAnimate ?
+ this.$backdrop
+ .one('bsTransitionEnd', callback)
+ .emulateTransitionEnd(Modal.BACKDROP_TRANSITION_DURATION) :
+ callback()
+
+ } else if (!this.isShown && this.$backdrop) {
+ this.$backdrop.removeClass('in')
+
+ var callbackRemove = function () {
+ that.removeBackdrop()
+ callback && callback()
+ }
+ $.support.transition && this.$element.hasClass('fade') ?
+ this.$backdrop
+ .one('bsTransitionEnd', callbackRemove)
+ .emulateTransitionEnd(Modal.BACKDROP_TRANSITION_DURATION) :
+ callbackRemove()
+
+ } else if (callback) {
+ callback()
+ }
+ }
+
+ // these following methods are used to handle overflowing modals
+
+ Modal.prototype.handleUpdate = function () {
+ if (this.options.backdrop) this.adjustBackdrop()
+ this.adjustDialog()
+ }
+
+ Modal.prototype.adjustBackdrop = function () {
+ this.$backdrop
+ .css('height', 0)
+ .css('height', this.$element[0].scrollHeight)
+ }
+
+ Modal.prototype.adjustDialog = function () {
+ var modalIsOverflowing = this.$element[0].scrollHeight > document.documentElement.clientHeight
+
+ this.$element.css({
+ paddingLeft: !this.bodyIsOverflowing && modalIsOverflowing ? this.scrollbarWidth : '',
+ paddingRight: this.bodyIsOverflowing && !modalIsOverflowing ? this.scrollbarWidth : ''
+ })
+ }
+
+ Modal.prototype.resetAdjustments = function () {
+ this.$element.css({
+ paddingLeft: '',
+ paddingRight: ''
+ })
+ }
+
+ Modal.prototype.checkScrollbar = function () {
+ this.bodyIsOverflowing = document.body.scrollHeight > document.documentElement.clientHeight
+ this.scrollbarWidth = this.measureScrollbar()
+ }
+
+ Modal.prototype.setScrollbar = function () {
+ var bodyPad = parseInt((this.$body.css('padding-right') || 0), 10)
+ if (this.bodyIsOverflowing) this.$body.css('padding-right', bodyPad + this.scrollbarWidth)
+ }
+
+ Modal.prototype.resetScrollbar = function () {
+ this.$body.css('padding-right', '')
+ }
+
+ Modal.prototype.measureScrollbar = function () { // thx walsh
+ var scrollDiv = document.createElement('div')
+ scrollDiv.className = 'modal-scrollbar-measure'
+ this.$body.append(scrollDiv)
+ var scrollbarWidth = scrollDiv.offsetWidth - scrollDiv.clientWidth
+ this.$body[0].removeChild(scrollDiv)
+ return scrollbarWidth
+ }
+
+
+ // MODAL PLUGIN DEFINITION
+ // =======================
+
+ function Plugin(option, _relatedTarget) {
+ return this.each(function () {
+ var $this = $(this)
+ var data = $this.data('bs.modal')
+ var options = $.extend({}, Modal.DEFAULTS, $this.data(), typeof option == 'object' && option)
+
+ if (!data) $this.data('bs.modal', (data = new Modal(this, options)))
+ if (typeof option == 'string') data[option](_relatedTarget)
+ else if (options.show) data.show(_relatedTarget)
+ })
+ }
+
+ var old = $.fn.modal
+
+ $.fn.modal = Plugin
+ $.fn.modal.Constructor = Modal
+
+
+ // MODAL NO CONFLICT
+ // =================
+
+ $.fn.modal.noConflict = function () {
+ $.fn.modal = old
+ return this
+ }
+
+
+ // MODAL DATA-API
+ // ==============
+
+ $(document).on('click.bs.modal.data-api', '[data-toggle="modal"]', function (e) {
+ var $this = $(this)
+ var href = $this.attr('href')
+ var $target = $($this.attr('data-target') || (href && href.replace(/.*(?=#[^\s]+$)/, ''))) // strip for ie7
+ var option = $target.data('bs.modal') ? 'toggle' : $.extend({ remote: !/#/.test(href) && href }, $target.data(), $this.data())
+
+ if ($this.is('a')) e.preventDefault()
+
+ $target.one('show.bs.modal', function (showEvent) {
+ if (showEvent.isDefaultPrevented()) return // only register focus restorer if modal will actually get shown
+ $target.one('hidden.bs.modal', function () {
+ $this.is(':visible') && $this.trigger('focus')
+ })
+ })
+ Plugin.call($target, option, this)
+ })
+
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: tooltip.js v3.3.2
+ * http://getbootstrap.com/javascript/#tooltip
+ * Inspired by the original jQuery.tipsy by Jason Frame
+ * ========================================================================
+ * Copyright 2011-2015 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * ======================================================================== */
+
+
++function ($) {
+ 'use strict';
+
+ // TOOLTIP PUBLIC CLASS DEFINITION
+ // ===============================
+
+ var Tooltip = function (element, options) {
+ this.type =
+ this.options =
+ this.enabled =
+ this.timeout =
+ this.hoverState =
+ this.$element = null
+
+ this.init('tooltip', element, options)
+ }
+
+ Tooltip.VERSION = '3.3.2'
+
+ Tooltip.TRANSITION_DURATION = 150
+
+ Tooltip.DEFAULTS = {
+ animation: true,
+ placement: 'top',
+ selector: false,
+ template: '
',
+ trigger: 'hover focus',
+ title: '',
+ delay: 0,
+ html: false,
+ container: false,
+ viewport: {
+ selector: 'body',
+ padding: 0
+ }
+ }
+
+ Tooltip.prototype.init = function (type, element, options) {
+ this.enabled = true
+ this.type = type
+ this.$element = $(element)
+ this.options = this.getOptions(options)
+ this.$viewport = this.options.viewport && $(this.options.viewport.selector || this.options.viewport)
+
+ var triggers = this.options.trigger.split(' ')
+
+ for (var i = triggers.length; i--;) {
+ var trigger = triggers[i]
+
+ if (trigger == 'click') {
+ this.$element.on('click.' + this.type, this.options.selector, $.proxy(this.toggle, this))
+ } else if (trigger != 'manual') {
+ var eventIn = trigger == 'hover' ? 'mouseenter' : 'focusin'
+ var eventOut = trigger == 'hover' ? 'mouseleave' : 'focusout'
+
+ this.$element.on(eventIn + '.' + this.type, this.options.selector, $.proxy(this.enter, this))
+ this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this))
+ }
+ }
+
+ this.options.selector ?
+ (this._options = $.extend({}, this.options, { trigger: 'manual', selector: '' })) :
+ this.fixTitle()
+ }
+
+ Tooltip.prototype.getDefaults = function () {
+ return Tooltip.DEFAULTS
+ }
+
+ Tooltip.prototype.getOptions = function (options) {
+ options = $.extend({}, this.getDefaults(), this.$element.data(), options)
+
+ if (options.delay && typeof options.delay == 'number') {
+ options.delay = {
+ show: options.delay,
+ hide: options.delay
+ }
+ }
+
+ return options
+ }
+
+ Tooltip.prototype.getDelegateOptions = function () {
+ var options = {}
+ var defaults = this.getDefaults()
+
+ this._options && $.each(this._options, function (key, value) {
+ if (defaults[key] != value) options[key] = value
+ })
+
+ return options
+ }
+
+ Tooltip.prototype.enter = function (obj) {
+ var self = obj instanceof this.constructor ?
+ obj : $(obj.currentTarget).data('bs.' + this.type)
+
+ if (self && self.$tip && self.$tip.is(':visible')) {
+ self.hoverState = 'in'
+ return
+ }
+
+ if (!self) {
+ self = new this.constructor(obj.currentTarget, this.getDelegateOptions())
+ $(obj.currentTarget).data('bs.' + this.type, self)
+ }
+
+ clearTimeout(self.timeout)
+
+ self.hoverState = 'in'
+
+ if (!self.options.delay || !self.options.delay.show) return self.show()
+
+ self.timeout = setTimeout(function () {
+ if (self.hoverState == 'in') self.show()
+ }, self.options.delay.show)
+ }
+
+ Tooltip.prototype.leave = function (obj) {
+ var self = obj instanceof this.constructor ?
+ obj : $(obj.currentTarget).data('bs.' + this.type)
+
+ if (!self) {
+ self = new this.constructor(obj.currentTarget, this.getDelegateOptions())
+ $(obj.currentTarget).data('bs.' + this.type, self)
+ }
+
+ clearTimeout(self.timeout)
+
+ self.hoverState = 'out'
+
+ if (!self.options.delay || !self.options.delay.hide) return self.hide()
+
+ self.timeout = setTimeout(function () {
+ if (self.hoverState == 'out') self.hide()
+ }, self.options.delay.hide)
+ }
+
+ Tooltip.prototype.show = function () {
+ var e = $.Event('show.bs.' + this.type)
+
+ if (this.hasContent() && this.enabled) {
+ this.$element.trigger(e)
+
+ var inDom = $.contains(this.$element[0].ownerDocument.documentElement, this.$element[0])
+ if (e.isDefaultPrevented() || !inDom) return
+ var that = this
+
+ var $tip = this.tip()
+
+ var tipId = this.getUID(this.type)
+
+ this.setContent()
+ $tip.attr('id', tipId)
+ this.$element.attr('aria-describedby', tipId)
+
+ if (this.options.animation) $tip.addClass('fade')
+
+ var placement = typeof this.options.placement == 'function' ?
+ this.options.placement.call(this, $tip[0], this.$element[0]) :
+ this.options.placement
+
+ var autoToken = /\s?auto?\s?/i
+ var autoPlace = autoToken.test(placement)
+ if (autoPlace) placement = placement.replace(autoToken, '') || 'top'
+
+ $tip
+ .detach()
+ .css({ top: 0, left: 0, display: 'block' })
+ .addClass(placement)
+ .data('bs.' + this.type, this)
+
+ this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element)
+
+ var pos = this.getPosition()
+ var actualWidth = $tip[0].offsetWidth
+ var actualHeight = $tip[0].offsetHeight
+
+ if (autoPlace) {
+ var orgPlacement = placement
+ var $container = this.options.container ? $(this.options.container) : this.$element.parent()
+ var containerDim = this.getPosition($container)
+
+ placement = placement == 'bottom' && pos.bottom + actualHeight > containerDim.bottom ? 'top' :
+ placement == 'top' && pos.top - actualHeight < containerDim.top ? 'bottom' :
+ placement == 'right' && pos.right + actualWidth > containerDim.width ? 'left' :
+ placement == 'left' && pos.left - actualWidth < containerDim.left ? 'right' :
+ placement
+
+ $tip
+ .removeClass(orgPlacement)
+ .addClass(placement)
+ }
+
+ var calculatedOffset = this.getCalculatedOffset(placement, pos, actualWidth, actualHeight)
+
+ this.applyPlacement(calculatedOffset, placement)
+
+ var complete = function () {
+ var prevHoverState = that.hoverState
+ that.$element.trigger('shown.bs.' + that.type)
+ that.hoverState = null
+
+ if (prevHoverState == 'out') that.leave(that)
+ }
+
+ $.support.transition && this.$tip.hasClass('fade') ?
+ $tip
+ .one('bsTransitionEnd', complete)
+ .emulateTransitionEnd(Tooltip.TRANSITION_DURATION) :
+ complete()
+ }
+ }
+
+ Tooltip.prototype.applyPlacement = function (offset, placement) {
+ var $tip = this.tip()
+ var width = $tip[0].offsetWidth
+ var height = $tip[0].offsetHeight
+
+ // manually read margins because getBoundingClientRect includes difference
+ var marginTop = parseInt($tip.css('margin-top'), 10)
+ var marginLeft = parseInt($tip.css('margin-left'), 10)
+
+ // we must check for NaN for ie 8/9
+ if (isNaN(marginTop)) marginTop = 0
+ if (isNaN(marginLeft)) marginLeft = 0
+
+ offset.top = offset.top + marginTop
+ offset.left = offset.left + marginLeft
+
+ // $.fn.offset doesn't round pixel values
+ // so we use setOffset directly with our own function B-0
+ $.offset.setOffset($tip[0], $.extend({
+ using: function (props) {
+ $tip.css({
+ top: Math.round(props.top),
+ left: Math.round(props.left)
+ })
+ }
+ }, offset), 0)
+
+ $tip.addClass('in')
+
+ // check to see if placing tip in new offset caused the tip to resize itself
+ var actualWidth = $tip[0].offsetWidth
+ var actualHeight = $tip[0].offsetHeight
+
+ if (placement == 'top' && actualHeight != height) {
+ offset.top = offset.top + height - actualHeight
+ }
+
+ var delta = this.getViewportAdjustedDelta(placement, offset, actualWidth, actualHeight)
+
+ if (delta.left) offset.left += delta.left
+ else offset.top += delta.top
+
+ var isVertical = /top|bottom/.test(placement)
+ var arrowDelta = isVertical ? delta.left * 2 - width + actualWidth : delta.top * 2 - height + actualHeight
+ var arrowOffsetPosition = isVertical ? 'offsetWidth' : 'offsetHeight'
+
+ $tip.offset(offset)
+ this.replaceArrow(arrowDelta, $tip[0][arrowOffsetPosition], isVertical)
+ }
+
+ Tooltip.prototype.replaceArrow = function (delta, dimension, isHorizontal) {
+ this.arrow()
+ .css(isHorizontal ? 'left' : 'top', 50 * (1 - delta / dimension) + '%')
+ .css(isHorizontal ? 'top' : 'left', '')
+ }
+
+ Tooltip.prototype.setContent = function () {
+ var $tip = this.tip()
+ var title = this.getTitle()
+
+ $tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title)
+ $tip.removeClass('fade in top bottom left right')
+ }
+
+ Tooltip.prototype.hide = function (callback) {
+ var that = this
+ var $tip = this.tip()
+ var e = $.Event('hide.bs.' + this.type)
+
+ function complete() {
+ if (that.hoverState != 'in') $tip.detach()
+ that.$element
+ .removeAttr('aria-describedby')
+ .trigger('hidden.bs.' + that.type)
+ callback && callback()
+ }
+
+ this.$element.trigger(e)
+
+ if (e.isDefaultPrevented()) return
+
+ $tip.removeClass('in')
+
+ $.support.transition && this.$tip.hasClass('fade') ?
+ $tip
+ .one('bsTransitionEnd', complete)
+ .emulateTransitionEnd(Tooltip.TRANSITION_DURATION) :
+ complete()
+
+ this.hoverState = null
+
+ return this
+ }
+
+ Tooltip.prototype.fixTitle = function () {
+ var $e = this.$element
+ if ($e.attr('title') || typeof ($e.attr('data-original-title')) != 'string') {
+ $e.attr('data-original-title', $e.attr('title') || '').attr('title', '')
+ }
+ }
+
+ Tooltip.prototype.hasContent = function () {
+ return this.getTitle()
+ }
+
+ Tooltip.prototype.getPosition = function ($element) {
+ $element = $element || this.$element
+
+ var el = $element[0]
+ var isBody = el.tagName == 'BODY'
+
+ var elRect = el.getBoundingClientRect()
+ if (elRect.width == null) {
+ // width and height are missing in IE8, so compute them manually; see https://github.com/twbs/bootstrap/issues/14093
+ elRect = $.extend({}, elRect, { width: elRect.right - elRect.left, height: elRect.bottom - elRect.top })
+ }
+ var elOffset = isBody ? { top: 0, left: 0 } : $element.offset()
+ var scroll = { scroll: isBody ? document.documentElement.scrollTop || document.body.scrollTop : $element.scrollTop() }
+ var outerDims = isBody ? { width: $(window).width(), height: $(window).height() } : null
+
+ return $.extend({}, elRect, scroll, outerDims, elOffset)
+ }
+
+ Tooltip.prototype.getCalculatedOffset = function (placement, pos, actualWidth, actualHeight) {
+ return placement == 'bottom' ? { top: pos.top + pos.height, left: pos.left + pos.width / 2 - actualWidth / 2 } :
+ placement == 'top' ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2 } :
+ placement == 'left' ? { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth } :
+ /* placement == 'right' */ { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width }
+
+ }
+
+ Tooltip.prototype.getViewportAdjustedDelta = function (placement, pos, actualWidth, actualHeight) {
+ var delta = { top: 0, left: 0 }
+ if (!this.$viewport) return delta
+
+ var viewportPadding = this.options.viewport && this.options.viewport.padding || 0
+ var viewportDimensions = this.getPosition(this.$viewport)
+
+ if (/right|left/.test(placement)) {
+ var topEdgeOffset = pos.top - viewportPadding - viewportDimensions.scroll
+ var bottomEdgeOffset = pos.top + viewportPadding - viewportDimensions.scroll + actualHeight
+ if (topEdgeOffset < viewportDimensions.top) { // top overflow
+ delta.top = viewportDimensions.top - topEdgeOffset
+ } else if (bottomEdgeOffset > viewportDimensions.top + viewportDimensions.height) { // bottom overflow
+ delta.top = viewportDimensions.top + viewportDimensions.height - bottomEdgeOffset
+ }
+ } else {
+ var leftEdgeOffset = pos.left - viewportPadding
+ var rightEdgeOffset = pos.left + viewportPadding + actualWidth
+ if (leftEdgeOffset < viewportDimensions.left) { // left overflow
+ delta.left = viewportDimensions.left - leftEdgeOffset
+ } else if (rightEdgeOffset > viewportDimensions.width) { // right overflow
+ delta.left = viewportDimensions.left + viewportDimensions.width - rightEdgeOffset
+ }
+ }
+
+ return delta
+ }
+
+ Tooltip.prototype.getTitle = function () {
+ var title
+ var $e = this.$element
+ var o = this.options
+
+ title = $e.attr('data-original-title')
+ || (typeof o.title == 'function' ? o.title.call($e[0]) : o.title)
+
+ return title
+ }
+
+ Tooltip.prototype.getUID = function (prefix) {
+ do prefix += ~~(Math.random() * 1000000)
+ while (document.getElementById(prefix))
+ return prefix
+ }
+
+ Tooltip.prototype.tip = function () {
+ return (this.$tip = this.$tip || $(this.options.template))
+ }
+
+ Tooltip.prototype.arrow = function () {
+ return (this.$arrow = this.$arrow || this.tip().find('.tooltip-arrow'))
+ }
+
+ Tooltip.prototype.enable = function () {
+ this.enabled = true
+ }
+
+ Tooltip.prototype.disable = function () {
+ this.enabled = false
+ }
+
+ Tooltip.prototype.toggleEnabled = function () {
+ this.enabled = !this.enabled
+ }
+
+ Tooltip.prototype.toggle = function (e) {
+ var self = this
+ if (e) {
+ self = $(e.currentTarget).data('bs.' + this.type)
+ if (!self) {
+ self = new this.constructor(e.currentTarget, this.getDelegateOptions())
+ $(e.currentTarget).data('bs.' + this.type, self)
+ }
+ }
+
+ self.tip().hasClass('in') ? self.leave(self) : self.enter(self)
+ }
+
+ Tooltip.prototype.destroy = function () {
+ var that = this
+ clearTimeout(this.timeout)
+ this.hide(function () {
+ that.$element.off('.' + that.type).removeData('bs.' + that.type)
+ })
+ }
+
+
+ // TOOLTIP PLUGIN DEFINITION
+ // =========================
+
+ function Plugin(option) {
+ return this.each(function () {
+ var $this = $(this)
+ var data = $this.data('bs.tooltip')
+ var options = typeof option == 'object' && option
+
+ if (!data && option == 'destroy') return
+ if (!data) $this.data('bs.tooltip', (data = new Tooltip(this, options)))
+ if (typeof option == 'string') data[option]()
+ })
+ }
+
+ var old = $.fn.tooltip
+
+ $.fn.tooltip = Plugin
+ $.fn.tooltip.Constructor = Tooltip
+
+
+ // TOOLTIP NO CONFLICT
+ // ===================
+
+ $.fn.tooltip.noConflict = function () {
+ $.fn.tooltip = old
+ return this
+ }
+
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: popover.js v3.3.2
+ * http://getbootstrap.com/javascript/#popovers
+ * ========================================================================
+ * Copyright 2011-2015 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * ======================================================================== */
+
+
++function ($) {
+ 'use strict';
+
+ // POPOVER PUBLIC CLASS DEFINITION
+ // ===============================
+
+ var Popover = function (element, options) {
+ this.init('popover', element, options)
+ }
+
+ if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js')
+
+ Popover.VERSION = '3.3.2'
+
+ Popover.DEFAULTS = $.extend({}, $.fn.tooltip.Constructor.DEFAULTS, {
+ placement: 'right',
+ trigger: 'click',
+ content: '',
+ template: '
'
+ })
+
+
+ // NOTE: POPOVER EXTENDS tooltip.js
+ // ================================
+
+ Popover.prototype = $.extend({}, $.fn.tooltip.Constructor.prototype)
+
+ Popover.prototype.constructor = Popover
+
+ Popover.prototype.getDefaults = function () {
+ return Popover.DEFAULTS
+ }
+
+ Popover.prototype.setContent = function () {
+ var $tip = this.tip()
+ var title = this.getTitle()
+ var content = this.getContent()
+
+ $tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title)
+ $tip.find('.popover-content').children().detach().end()[ // we use append for html objects to maintain js events
+ this.options.html ? (typeof content == 'string' ? 'html' : 'append') : 'text'
+ ](content)
+
+ $tip.removeClass('fade top bottom left right in')
+
+ // IE8 doesn't accept hiding via the `:empty` pseudo selector, we have to do
+ // this manually by checking the contents.
+ if (!$tip.find('.popover-title').html()) $tip.find('.popover-title').hide()
+ }
+
+ Popover.prototype.hasContent = function () {
+ return this.getTitle() || this.getContent()
+ }
+
+ Popover.prototype.getContent = function () {
+ var $e = this.$element
+ var o = this.options
+
+ return $e.attr('data-content')
+ || (typeof o.content == 'function' ?
+ o.content.call($e[0]) :
+ o.content)
+ }
+
+ Popover.prototype.arrow = function () {
+ return (this.$arrow = this.$arrow || this.tip().find('.arrow'))
+ }
+
+ Popover.prototype.tip = function () {
+ if (!this.$tip) this.$tip = $(this.options.template)
+ return this.$tip
+ }
+
+
+ // POPOVER PLUGIN DEFINITION
+ // =========================
+
+ function Plugin(option) {
+ return this.each(function () {
+ var $this = $(this)
+ var data = $this.data('bs.popover')
+ var options = typeof option == 'object' && option
+
+ if (!data && option == 'destroy') return
+ if (!data) $this.data('bs.popover', (data = new Popover(this, options)))
+ if (typeof option == 'string') data[option]()
+ })
+ }
+
+ var old = $.fn.popover
+
+ $.fn.popover = Plugin
+ $.fn.popover.Constructor = Popover
+
+
+ // POPOVER NO CONFLICT
+ // ===================
+
+ $.fn.popover.noConflict = function () {
+ $.fn.popover = old
+ return this
+ }
+
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: scrollspy.js v3.3.2
+ * http://getbootstrap.com/javascript/#scrollspy
+ * ========================================================================
+ * Copyright 2011-2015 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * ======================================================================== */
+
+
++function ($) {
+ 'use strict';
+
+ // SCROLLSPY CLASS DEFINITION
+ // ==========================
+
+ function ScrollSpy(element, options) {
+ var process = $.proxy(this.process, this)
+
+ this.$body = $('body')
+ this.$scrollElement = $(element).is('body') ? $(window) : $(element)
+ this.options = $.extend({}, ScrollSpy.DEFAULTS, options)
+ this.selector = (this.options.target || '') + ' .nav li > a'
+ this.offsets = []
+ this.targets = []
+ this.activeTarget = null
+ this.scrollHeight = 0
+
+ this.$scrollElement.on('scroll.bs.scrollspy', process)
+ this.refresh()
+ this.process()
+ }
+
+ ScrollSpy.VERSION = '3.3.2'
+
+ ScrollSpy.DEFAULTS = {
+ offset: 10
+ }
+
+ ScrollSpy.prototype.getScrollHeight = function () {
+ return this.$scrollElement[0].scrollHeight || Math.max(this.$body[0].scrollHeight, document.documentElement.scrollHeight)
+ }
+
+ ScrollSpy.prototype.refresh = function () {
+ var offsetMethod = 'offset'
+ var offsetBase = 0
+
+ if (!$.isWindow(this.$scrollElement[0])) {
+ offsetMethod = 'position'
+ offsetBase = this.$scrollElement.scrollTop()
+ }
+
+ this.offsets = []
+ this.targets = []
+ this.scrollHeight = this.getScrollHeight()
+
+ var self = this
+
+ this.$body
+ .find(this.selector)
+ .map(function () {
+ var $el = $(this)
+ var href = $el.data('target') || $el.attr('href')
+ var $href = /^#./.test(href) && $(href)
+
+ return ($href
+ && $href.length
+ && $href.is(':visible')
+ && [[$href[offsetMethod]().top + offsetBase, href]]) || null
+ })
+ .sort(function (a, b) { return a[0] - b[0] })
+ .each(function () {
+ self.offsets.push(this[0])
+ self.targets.push(this[1])
+ })
+ }
+
+ ScrollSpy.prototype.process = function () {
+ var scrollTop = this.$scrollElement.scrollTop() + this.options.offset
+ var scrollHeight = this.getScrollHeight()
+ var maxScroll = this.options.offset + scrollHeight - this.$scrollElement.height()
+ var offsets = this.offsets
+ var targets = this.targets
+ var activeTarget = this.activeTarget
+ var i
+
+ if (this.scrollHeight != scrollHeight) {
+ this.refresh()
+ }
+
+ if (scrollTop >= maxScroll) {
+ return activeTarget != (i = targets[targets.length - 1]) && this.activate(i)
+ }
+
+ if (activeTarget && scrollTop < offsets[0]) {
+ this.activeTarget = null
+ return this.clear()
+ }
+
+ for (i = offsets.length; i--;) {
+ activeTarget != targets[i]
+ && scrollTop >= offsets[i]
+ && (!offsets[i + 1] || scrollTop <= offsets[i + 1])
+ && this.activate(targets[i])
+ }
+ }
+
+ ScrollSpy.prototype.activate = function (target) {
+ this.activeTarget = target
+
+ this.clear()
+
+ var selector = this.selector +
+ '[data-target="' + target + '"],' +
+ this.selector + '[href="' + target + '"]'
+
+ var active = $(selector)
+ .parents('li')
+ .addClass('active')
+
+ if (active.parent('.dropdown-menu').length) {
+ active = active
+ .closest('li.dropdown')
+ .addClass('active')
+ }
+
+ active.trigger('activate.bs.scrollspy')
+ }
+
+ ScrollSpy.prototype.clear = function () {
+ $(this.selector)
+ .parentsUntil(this.options.target, '.active')
+ .removeClass('active')
+ }
+
+
+ // SCROLLSPY PLUGIN DEFINITION
+ // ===========================
+
+ function Plugin(option) {
+ return this.each(function () {
+ var $this = $(this)
+ var data = $this.data('bs.scrollspy')
+ var options = typeof option == 'object' && option
+
+ if (!data) $this.data('bs.scrollspy', (data = new ScrollSpy(this, options)))
+ if (typeof option == 'string') data[option]()
+ })
+ }
+
+ var old = $.fn.scrollspy
+
+ $.fn.scrollspy = Plugin
+ $.fn.scrollspy.Constructor = ScrollSpy
+
+
+ // SCROLLSPY NO CONFLICT
+ // =====================
+
+ $.fn.scrollspy.noConflict = function () {
+ $.fn.scrollspy = old
+ return this
+ }
+
+
+ // SCROLLSPY DATA-API
+ // ==================
+
+ $(window).on('load.bs.scrollspy.data-api', function () {
+ $('[data-spy="scroll"]').each(function () {
+ var $spy = $(this)
+ Plugin.call($spy, $spy.data())
+ })
+ })
+
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: tab.js v3.3.2
+ * http://getbootstrap.com/javascript/#tabs
+ * ========================================================================
+ * Copyright 2011-2015 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * ======================================================================== */
+
+
++function ($) {
+ 'use strict';
+
+ // TAB CLASS DEFINITION
+ // ====================
+
+ var Tab = function (element) {
+ this.element = $(element)
+ }
+
+ Tab.VERSION = '3.3.2'
+
+ Tab.TRANSITION_DURATION = 150
+
+ Tab.prototype.show = function () {
+ var $this = this.element
+ var $ul = $this.closest('ul:not(.dropdown-menu)')
+ var selector = $this.data('target')
+
+ if (!selector) {
+ selector = $this.attr('href')
+ selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
+ }
+
+ if ($this.parent('li').hasClass('active')) return
+
+ var $previous = $ul.find('.active:last a')
+ var hideEvent = $.Event('hide.bs.tab', {
+ relatedTarget: $this[0]
+ })
+ var showEvent = $.Event('show.bs.tab', {
+ relatedTarget: $previous[0]
+ })
+
+ $previous.trigger(hideEvent)
+ $this.trigger(showEvent)
+
+ if (showEvent.isDefaultPrevented() || hideEvent.isDefaultPrevented()) return
+
+ var $target = $(selector)
+
+ this.activate($this.closest('li'), $ul)
+ this.activate($target, $target.parent(), function () {
+ $previous.trigger({
+ type: 'hidden.bs.tab',
+ relatedTarget: $this[0]
+ })
+ $this.trigger({
+ type: 'shown.bs.tab',
+ relatedTarget: $previous[0]
+ })
+ })
+ }
+
+ Tab.prototype.activate = function (element, container, callback) {
+ var $active = container.find('> .active')
+ var transition = callback
+ && $.support.transition
+ && (($active.length && $active.hasClass('fade')) || !!container.find('> .fade').length)
+
+ function next() {
+ $active
+ .removeClass('active')
+ .find('> .dropdown-menu > .active')
+ .removeClass('active')
+ .end()
+ .find('[data-toggle="tab"]')
+ .attr('aria-expanded', false)
+
+ element
+ .addClass('active')
+ .find('[data-toggle="tab"]')
+ .attr('aria-expanded', true)
+
+ if (transition) {
+ element[0].offsetWidth // reflow for transition
+ element.addClass('in')
+ } else {
+ element.removeClass('fade')
+ }
+
+ if (element.parent('.dropdown-menu')) {
+ element
+ .closest('li.dropdown')
+ .addClass('active')
+ .end()
+ .find('[data-toggle="tab"]')
+ .attr('aria-expanded', true)
+ }
+
+ callback && callback()
+ }
+
+ $active.length && transition ?
+ $active
+ .one('bsTransitionEnd', next)
+ .emulateTransitionEnd(Tab.TRANSITION_DURATION) :
+ next()
+
+ $active.removeClass('in')
+ }
+
+
+ // TAB PLUGIN DEFINITION
+ // =====================
+
+ function Plugin(option) {
+ return this.each(function () {
+ var $this = $(this)
+ var data = $this.data('bs.tab')
+
+ if (!data) $this.data('bs.tab', (data = new Tab(this)))
+ if (typeof option == 'string') data[option]()
+ })
+ }
+
+ var old = $.fn.tab
+
+ $.fn.tab = Plugin
+ $.fn.tab.Constructor = Tab
+
+
+ // TAB NO CONFLICT
+ // ===============
+
+ $.fn.tab.noConflict = function () {
+ $.fn.tab = old
+ return this
+ }
+
+
+ // TAB DATA-API
+ // ============
+
+ var clickHandler = function (e) {
+ e.preventDefault()
+ Plugin.call($(this), 'show')
+ }
+
+ $(document)
+ .on('click.bs.tab.data-api', '[data-toggle="tab"]', clickHandler)
+ .on('click.bs.tab.data-api', '[data-toggle="pill"]', clickHandler)
+
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: affix.js v3.3.2
+ * http://getbootstrap.com/javascript/#affix
+ * ========================================================================
+ * Copyright 2011-2015 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * ======================================================================== */
+
+
++function ($) {
+ 'use strict';
+
+ // AFFIX CLASS DEFINITION
+ // ======================
+
+ var Affix = function (element, options) {
+ this.options = $.extend({}, Affix.DEFAULTS, options)
+
+ this.$target = $(this.options.target)
+ .on('scroll.bs.affix.data-api', $.proxy(this.checkPosition, this))
+ .on('click.bs.affix.data-api', $.proxy(this.checkPositionWithEventLoop, this))
+
+ this.$element = $(element)
+ this.affixed =
+ this.unpin =
+ this.pinnedOffset = null
+
+ this.checkPosition()
+ }
+
+ Affix.VERSION = '3.3.2'
+
+ Affix.RESET = 'affix affix-top affix-bottom'
+
+ Affix.DEFAULTS = {
+ offset: 0,
+ target: window
+ }
+
+ Affix.prototype.getState = function (scrollHeight, height, offsetTop, offsetBottom) {
+ var scrollTop = this.$target.scrollTop()
+ var position = this.$element.offset()
+ var targetHeight = this.$target.height()
+
+ if (offsetTop != null && this.affixed == 'top') return scrollTop < offsetTop ? 'top' : false
+
+ if (this.affixed == 'bottom') {
+ if (offsetTop != null) return (scrollTop + this.unpin <= position.top) ? false : 'bottom'
+ return (scrollTop + targetHeight <= scrollHeight - offsetBottom) ? false : 'bottom'
+ }
+
+ var initializing = this.affixed == null
+ var colliderTop = initializing ? scrollTop : position.top
+ var colliderHeight = initializing ? targetHeight : height
+
+ if (offsetTop != null && scrollTop <= offsetTop) return 'top'
+ if (offsetBottom != null && (colliderTop + colliderHeight >= scrollHeight - offsetBottom)) return 'bottom'
+
+ return false
+ }
+
+ Affix.prototype.getPinnedOffset = function () {
+ if (this.pinnedOffset) return this.pinnedOffset
+ this.$element.removeClass(Affix.RESET).addClass('affix')
+ var scrollTop = this.$target.scrollTop()
+ var position = this.$element.offset()
+ return (this.pinnedOffset = position.top - scrollTop)
+ }
+
+ Affix.prototype.checkPositionWithEventLoop = function () {
+ setTimeout($.proxy(this.checkPosition, this), 1)
+ }
+
+ Affix.prototype.checkPosition = function () {
+ if (!this.$element.is(':visible')) return
+
+ var height = this.$element.height()
+ var offset = this.options.offset
+ var offsetTop = offset.top
+ var offsetBottom = offset.bottom
+ var scrollHeight = $('body').height()
+
+ if (typeof offset != 'object') offsetBottom = offsetTop = offset
+ if (typeof offsetTop == 'function') offsetTop = offset.top(this.$element)
+ if (typeof offsetBottom == 'function') offsetBottom = offset.bottom(this.$element)
+
+ var affix = this.getState(scrollHeight, height, offsetTop, offsetBottom)
+
+ if (this.affixed != affix) {
+ if (this.unpin != null) this.$element.css('top', '')
+
+ var affixType = 'affix' + (affix ? '-' + affix : '')
+ var e = $.Event(affixType + '.bs.affix')
+
+ this.$element.trigger(e)
+
+ if (e.isDefaultPrevented()) return
+
+ this.affixed = affix
+ this.unpin = affix == 'bottom' ? this.getPinnedOffset() : null
+
+ this.$element
+ .removeClass(Affix.RESET)
+ .addClass(affixType)
+ .trigger(affixType.replace('affix', 'affixed') + '.bs.affix')
+ }
+
+ if (affix == 'bottom') {
+ this.$element.offset({
+ top: scrollHeight - height - offsetBottom
+ })
+ }
+ }
+
+
+ // AFFIX PLUGIN DEFINITION
+ // =======================
+
+ function Plugin(option) {
+ return this.each(function () {
+ var $this = $(this)
+ var data = $this.data('bs.affix')
+ var options = typeof option == 'object' && option
+
+ if (!data) $this.data('bs.affix', (data = new Affix(this, options)))
+ if (typeof option == 'string') data[option]()
+ })
+ }
+
+ var old = $.fn.affix
+
+ $.fn.affix = Plugin
+ $.fn.affix.Constructor = Affix
+
+
+ // AFFIX NO CONFLICT
+ // =================
+
+ $.fn.affix.noConflict = function () {
+ $.fn.affix = old
+ return this
+ }
+
+
+ // AFFIX DATA-API
+ // ==============
+
+ $(window).on('load', function () {
+ $('[data-spy="affix"]').each(function () {
+ var $spy = $(this)
+ var data = $spy.data()
+
+ data.offset = data.offset || {}
+
+ if (data.offsetBottom != null) data.offset.bottom = data.offsetBottom
+ if (data.offsetTop != null) data.offset.top = data.offsetTop
+
+ Plugin.call($spy, data)
+ })
+ })
+
+}(jQuery);
diff --git a/public/vendor/bootstrap/js/bootstrap.min.js b/public/vendor/bootstrap/js/bootstrap.min.js
new file mode 100644
index 00000000..c6d36920
--- /dev/null
+++ b/public/vendor/bootstrap/js/bootstrap.min.js
@@ -0,0 +1,7 @@
+/*!
+ * Bootstrap v3.3.2 (http://getbootstrap.com)
+ * Copyright 2011-2015 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ */
+if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){"use strict";var b=a.fn.jquery.split(" ")[0].split(".");if(b[0]<2&&b[1]<9||1==b[0]&&9==b[1]&&b[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(jQuery),+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one("bsTransitionEnd",function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){return a(b.target).is(this)?b.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new d(this)),"string"==typeof b&&e[b].call(c)})}var c='[data-dismiss="alert"]',d=function(b){a(b).on("click",c,this.close)};d.VERSION="3.3.2",d.TRANSITION_DURATION=150,d.prototype.close=function(b){function c(){g.detach().trigger("closed.bs.alert").remove()}var e=a(this),f=e.attr("data-target");f||(f=e.attr("href"),f=f&&f.replace(/.*(?=#[^\s]*$)/,""));var g=a(f);b&&b.preventDefault(),g.length||(g=e.closest(".alert")),g.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(g.removeClass("in"),a.support.transition&&g.hasClass("fade")?g.one("bsTransitionEnd",c).emulateTransitionEnd(d.TRANSITION_DURATION):c())};var e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){return a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",c,d.prototype.close)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof b&&b;e||d.data("bs.button",e=new c(this,f)),"toggle"==b?e.toggle():b&&e.setState(b)})}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.isLoading=!1};c.VERSION="3.3.2",c.DEFAULTS={loadingText:"loading..."},c.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&&d.data("resetText",d[e]()),setTimeout(a.proxy(function(){d[e](null==f[b]?this.options[b]:f[b]),"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c))},this),0)},c.prototype.toggle=function(){var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")&&(c.prop("checked")&&this.$element.hasClass("active")?a=!1:b.find(".active").removeClass("active")),a&&c.prop("checked",!this.$element.hasClass("active")).trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active"));a&&this.$element.toggleClass("active")};var d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){return a.fn.button=d,this},a(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(c){var d=a(c.target);d.hasClass("btn")||(d=d.closest(".btn")),b.call(d,"toggle"),c.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(b){a(b.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(b.type))})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new c(this,f)),"number"==typeof b?e.to(b):g?e[g]():f.interval&&e.pause().cycle()})}var c=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=this.sliding=this.interval=this.$active=this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",a.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};c.VERSION="3.3.2",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.prototype.keydown=function(a){if(!/input|textarea/i.test(a.target.tagName)){switch(a.which){case 37:this.prev();break;case 39:this.next();break;default:return}a.preventDefault()}},c.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(a){return this.$items=a.parent().children(".item"),this.$items.index(a||this.$active)},c.prototype.getItemForDirection=function(a,b){var c=this.getItemIndex(b),d="prev"==a&&0===c||"next"==a&&c==this.$items.length-1;if(d&&!this.options.wrap)return b;var e="prev"==a?-1:1,f=(c+e)%this.$items.length;return this.$items.eq(f)},c.prototype.to=function(a){var b=this,c=this.getItemIndex(this.$active=this.$element.find(".item.active"));return a>this.$items.length-1||0>a?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){b.to(a)}):c==a?this.pause().cycle():this.slide(a>c?"next":"prev",this.$items.eq(a))},c.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){return this.sliding?void 0:this.slide("next")},c.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},c.prototype.slide=function(b,d){var e=this.$element.find(".item.active"),f=d||this.getItemForDirection(b,e),g=this.interval,h="next"==b?"left":"right",i=this;if(f.hasClass("active"))return this.sliding=!1;var j=f[0],k=a.Event("slide.bs.carousel",{relatedTarget:j,direction:h});if(this.$element.trigger(k),!k.isDefaultPrevented()){if(this.sliding=!0,g&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var l=a(this.$indicators.children()[this.getItemIndex(f)]);l&&l.addClass("active")}var m=a.Event("slid.bs.carousel",{relatedTarget:j,direction:h});return a.support.transition&&this.$element.hasClass("slide")?(f.addClass(b),f[0].offsetWidth,e.addClass(h),f.addClass(h),e.one("bsTransitionEnd",function(){f.removeClass([b,h].join(" ")).addClass("active"),e.removeClass(["active",h].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger(m)},0)}).emulateTransitionEnd(c.TRANSITION_DURATION)):(e.removeClass("active"),f.addClass("active"),this.sliding=!1,this.$element.trigger(m)),g&&this.cycle(),this}};var d=a.fn.carousel;a.fn.carousel=b,a.fn.carousel.Constructor=c,a.fn.carousel.noConflict=function(){return a.fn.carousel=d,this};var e=function(c){var d,e=a(this),f=a(e.attr("data-target")||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));if(f.hasClass("carousel")){var g=a.extend({},f.data(),e.data()),h=e.attr("data-slide-to");h&&(g.interval=!1),b.call(f,g),h&&f.data("bs.carousel").to(h),c.preventDefault()}};a(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var c=a(this);b.call(c,c.data())})})}(jQuery),+function(a){"use strict";function b(b){var c,d=b.attr("data-target")||(c=b.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"");return a(d)}function c(b){return this.each(function(){var c=a(this),e=c.data("bs.collapse"),f=a.extend({},d.DEFAULTS,c.data(),"object"==typeof b&&b);!e&&f.toggle&&"show"==b&&(f.toggle=!1),e||c.data("bs.collapse",e=new d(this,f)),"string"==typeof b&&e[b]()})}var d=function(b,c){this.$element=a(b),this.options=a.extend({},d.DEFAULTS,c),this.$trigger=a(this.options.trigger).filter('[href="#'+b.id+'"], [data-target="#'+b.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};d.VERSION="3.3.2",d.TRANSITION_DURATION=350,d.DEFAULTS={toggle:!0,trigger:'[data-toggle="collapse"]'},d.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},d.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b,e=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(e&&e.length&&(b=e.data("bs.collapse"),b&&b.transitioning))){var f=a.Event("show.bs.collapse");if(this.$element.trigger(f),!f.isDefaultPrevented()){e&&e.length&&(c.call(e,"hide"),b||e.data("bs.collapse",null));var g=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[g](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var h=function(){this.$element.removeClass("collapsing").addClass("collapse in")[g](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return h.call(this);var i=a.camelCase(["scroll",g].join("-"));this.$element.one("bsTransitionEnd",a.proxy(h,this)).emulateTransitionEnd(d.TRANSITION_DURATION)[g](this.$element[0][i])}}}},d.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var e=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return a.support.transition?void this.$element[c](0).one("bsTransitionEnd",a.proxy(e,this)).emulateTransitionEnd(d.TRANSITION_DURATION):e.call(this)}}},d.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},d.prototype.getParent=function(){return a(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(c,d){var e=a(d);this.addAriaAndCollapsedClass(b(e),e)},this)).end()},d.prototype.addAriaAndCollapsedClass=function(a,b){var c=a.hasClass("in");a.attr("aria-expanded",c),b.toggleClass("collapsed",!c).attr("aria-expanded",c)};var e=a.fn.collapse;a.fn.collapse=c,a.fn.collapse.Constructor=d,a.fn.collapse.noConflict=function(){return a.fn.collapse=e,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(d){var e=a(this);e.attr("data-target")||d.preventDefault();var f=b(e),g=f.data("bs.collapse"),h=g?"toggle":a.extend({},e.data(),{trigger:this});c.call(f,h)})}(jQuery),+function(a){"use strict";function b(b){b&&3===b.which||(a(e).remove(),a(f).each(function(){var d=a(this),e=c(d),f={relatedTarget:this};e.hasClass("open")&&(e.trigger(b=a.Event("hide.bs.dropdown",f)),b.isDefaultPrevented()||(d.attr("aria-expanded","false"),e.removeClass("open").trigger("hidden.bs.dropdown",f)))}))}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}function d(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new g(this)),"string"==typeof b&&d[b].call(c)})}var e=".dropdown-backdrop",f='[data-toggle="dropdown"]',g=function(b){a(b).on("click.bs.dropdown",this.toggle)};g.VERSION="3.3.2",g.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){"ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a('
').insertAfter(a(this)).on("click",b);var h={relatedTarget:this};if(f.trigger(d=a.Event("show.bs.dropdown",h)),d.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),f.toggleClass("open").trigger("shown.bs.dropdown",h)}return!1}},g.prototype.keydown=function(b){if(/(38|40|27|32)/.test(b.which)&&!/input|textarea/i.test(b.target.tagName)){var d=a(this);if(b.preventDefault(),b.stopPropagation(),!d.is(".disabled, :disabled")){var e=c(d),g=e.hasClass("open");if(!g&&27!=b.which||g&&27==b.which)return 27==b.which&&e.find(f).trigger("focus"),d.trigger("click");var h=" li:not(.divider):visible a",i=e.find('[role="menu"]'+h+', [role="listbox"]'+h);if(i.length){var j=i.index(b.target);38==b.which&&j>0&&j--,40==b.which&&j
').prependTo(this.$element).on("click.dismiss.bs.modal",a.proxy(function(a){a.target===a.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus.call(this.$element[0]):this.hide.call(this))},this)),f&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!b)return;f?this.$backdrop.one("bsTransitionEnd",b).emulateTransitionEnd(c.BACKDROP_TRANSITION_DURATION):b()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var g=function(){d.removeBackdrop(),b&&b()};a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",g).emulateTransitionEnd(c.BACKDROP_TRANSITION_DURATION):g()}else b&&b()},c.prototype.handleUpdate=function(){this.options.backdrop&&this.adjustBackdrop(),this.adjustDialog()},c.prototype.adjustBackdrop=function(){this.$backdrop.css("height",0).css("height",this.$element[0].scrollHeight)},c.prototype.adjustDialog=function(){var a=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&a?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!a?this.scrollbarWidth:""})},c.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},c.prototype.checkScrollbar=function(){this.bodyIsOverflowing=document.body.scrollHeight>document.documentElement.clientHeight,this.scrollbarWidth=this.measureScrollbar()},c.prototype.setScrollbar=function(){var a=parseInt(this.$body.css("padding-right")||0,10);this.bodyIsOverflowing&&this.$body.css("padding-right",a+this.scrollbarWidth)},c.prototype.resetScrollbar=function(){this.$body.css("padding-right","")},c.prototype.measureScrollbar=function(){var a=document.createElement("div");a.className="modal-scrollbar-measure",this.$body.append(a);var b=a.offsetWidth-a.clientWidth;return this.$body[0].removeChild(a),b};var d=a.fn.modal;a.fn.modal=b,a.fn.modal.Constructor=c,a.fn.modal.noConflict=function(){return a.fn.modal=d,this},a(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(c){var d=a(this),e=d.attr("href"),f=a(d.attr("data-target")||e&&e.replace(/.*(?=#[^\s]+$)/,"")),g=f.data("bs.modal")?"toggle":a.extend({remote:!/#/.test(e)&&e},f.data(),d.data());d.is("a")&&c.preventDefault(),f.one("show.bs.modal",function(a){a.isDefaultPrevented()||f.one("hidden.bs.modal",function(){d.is(":visible")&&d.trigger("focus")})}),b.call(f,g,this)})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tooltip"),f="object"==typeof b&&b;(e||"destroy"!=b)&&(e||d.data("bs.tooltip",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null,this.init("tooltip",a,b)};c.VERSION="3.3.2",c.TRANSITION_DURATION=150,c.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'
',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},c.prototype.init=function(b,c,d){this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.$viewport=this.options.viewport&&a(this.options.viewport.selector||this.options.viewport);for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focusin",i="hover"==g?"mouseleave":"focusout";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},c.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},c.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c&&c.$tip&&c.$tip.is(":visible")?void(c.hoverState="in"):(c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?void(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show)):c.show())},c.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?void(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide)):c.hide()},c.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(b);var d=a.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(b.isDefaultPrevented()||!d)return;var e=this,f=this.tip(),g=this.getUID(this.type);this.setContent(),f.attr("id",g),this.$element.attr("aria-describedby",g),this.options.animation&&f.addClass("fade");var h="function"==typeof this.options.placement?this.options.placement.call(this,f[0],this.$element[0]):this.options.placement,i=/\s?auto?\s?/i,j=i.test(h);j&&(h=h.replace(i,"")||"top"),f.detach().css({top:0,left:0,display:"block"}).addClass(h).data("bs."+this.type,this),this.options.container?f.appendTo(this.options.container):f.insertAfter(this.$element);var k=this.getPosition(),l=f[0].offsetWidth,m=f[0].offsetHeight;if(j){var n=h,o=this.options.container?a(this.options.container):this.$element.parent(),p=this.getPosition(o);h="bottom"==h&&k.bottom+m>p.bottom?"top":"top"==h&&k.top-m
p.width?"left":"left"==h&&k.left-lg.top+g.height&&(e.top=g.top+g.height-i)}else{var j=b.left-f,k=b.left+f+c;jg.width&&(e.left=g.left+g.width-k)}return e},c.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},c.prototype.getUID=function(a){do a+=~~(1e6*Math.random());while(document.getElementById(a));return a},c.prototype.tip=function(){return this.$tip=this.$tip||a(this.options.template)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},c.prototype.enable=function(){this.enabled=!0},c.prototype.disable=function(){this.enabled=!1},c.prototype.toggleEnabled=function(){this.enabled=!this.enabled},c.prototype.toggle=function(b){var c=this;b&&(c=a(b.currentTarget).data("bs."+this.type),c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c))),c.tip().hasClass("in")?c.leave(c):c.enter(c)},c.prototype.destroy=function(){var a=this;clearTimeout(this.timeout),this.hide(function(){a.$element.off("."+a.type).removeData("bs."+a.type)})};var d=a.fn.tooltip;a.fn.tooltip=b,a.fn.tooltip.Constructor=c,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=d,this}}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof b&&b;(e||"destroy"!=b)&&(e||d.data("bs.popover",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");c.VERSION="3.3.2",c.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),c.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),c.prototype.constructor=c,c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof c?"html":"append":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},c.prototype.hasContent=function(){return this.getTitle()||this.getContent()},c.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},c.prototype.tip=function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip};var d=a.fn.popover;a.fn.popover=b,a.fn.popover.Constructor=c,a.fn.popover.noConflict=function(){return a.fn.popover=d,this}}(jQuery),+function(a){"use strict";function b(c,d){var e=a.proxy(this.process,this);this.$body=a("body"),this.$scrollElement=a(a(c).is("body")?window:c),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",e),this.refresh(),this.process()}function c(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})}b.VERSION="3.3.2",b.DEFAULTS={offset:10},b.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},b.prototype.refresh=function(){var b="offset",c=0;a.isWindow(this.$scrollElement[0])||(b="position",c=this.$scrollElement.scrollTop()),this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight();var d=this;this.$body.find(this.selector).map(function(){var d=a(this),e=d.data("target")||d.attr("href"),f=/^#./.test(e)&&a(e);return f&&f.length&&f.is(":visible")&&[[f[b]().top+c,e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){d.offsets.push(this[0]),d.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.getScrollHeight(),d=this.options.offset+c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(this.scrollHeight!=c&&this.refresh(),b>=d)return g!=(a=f[f.length-1])&&this.activate(a);if(g&&b=e[a]&&(!e[a+1]||b<=e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,this.clear();var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate.bs.scrollspy")},b.prototype.clear=function(){a(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var d=a.fn.scrollspy;a.fn.scrollspy=c,a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=d,this},a(window).on("load.bs.scrollspy.data-api",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);c.call(b,b.data())})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new c(this)),"string"==typeof b&&e[b]()})}var c=function(b){this.element=a(b)};c.VERSION="3.3.2",c.TRANSITION_DURATION=150,c.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a"),f=a.Event("hide.bs.tab",{relatedTarget:b[0]}),g=a.Event("show.bs.tab",{relatedTarget:e[0]});if(e.trigger(f),b.trigger(g),!g.isDefaultPrevented()&&!f.isDefaultPrevented()){var h=a(d);this.activate(b.closest("li"),c),this.activate(h,h.parent(),function(){e.trigger({type:"hidden.bs.tab",relatedTarget:b[0]}),b.trigger({type:"shown.bs.tab",relatedTarget:e[0]})})}}},c.prototype.activate=function(b,d,e){function f(){g.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),b.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),h?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),e&&e()
+}var g=d.find("> .active"),h=e&&a.support.transition&&(g.length&&g.hasClass("fade")||!!d.find("> .fade").length);g.length&&h?g.one("bsTransitionEnd",f).emulateTransitionEnd(c.TRANSITION_DURATION):f(),g.removeClass("in")};var d=a.fn.tab;a.fn.tab=b,a.fn.tab.Constructor=c,a.fn.tab.noConflict=function(){return a.fn.tab=d,this};var e=function(c){c.preventDefault(),b.call(a(this),"show")};a(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',e).on("click.bs.tab.data-api",'[data-toggle="pill"]',e)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof b&&b;e||d.data("bs.affix",e=new c(this,f)),"string"==typeof b&&e[b]()})}var c=function(b,d){this.options=a.extend({},c.DEFAULTS,d),this.$target=a(this.options.target).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(b),this.affixed=this.unpin=this.pinnedOffset=null,this.checkPosition()};c.VERSION="3.3.2",c.RESET="affix affix-top affix-bottom",c.DEFAULTS={offset:0,target:window},c.prototype.getState=function(a,b,c,d){var e=this.$target.scrollTop(),f=this.$element.offset(),g=this.$target.height();if(null!=c&&"top"==this.affixed)return c>e?"top":!1;if("bottom"==this.affixed)return null!=c?e+this.unpin<=f.top?!1:"bottom":a-d>=e+g?!1:"bottom";var h=null==this.affixed,i=h?e:f.top,j=h?g:b;return null!=c&&c>=e?"top":null!=d&&i+j>=a-d?"bottom":!1},c.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(c.RESET).addClass("affix");var a=this.$target.scrollTop(),b=this.$element.offset();return this.pinnedOffset=b.top-a},c.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},c.prototype.checkPosition=function(){if(this.$element.is(":visible")){var b=this.$element.height(),d=this.options.offset,e=d.top,f=d.bottom,g=a("body").height();"object"!=typeof d&&(f=e=d),"function"==typeof e&&(e=d.top(this.$element)),"function"==typeof f&&(f=d.bottom(this.$element));var h=this.getState(g,b,e,f);if(this.affixed!=h){null!=this.unpin&&this.$element.css("top","");var i="affix"+(h?"-"+h:""),j=a.Event(i+".bs.affix");if(this.$element.trigger(j),j.isDefaultPrevented())return;this.affixed=h,this.unpin="bottom"==h?this.getPinnedOffset():null,this.$element.removeClass(c.RESET).addClass(i).trigger(i.replace("affix","affixed")+".bs.affix")}"bottom"==h&&this.$element.offset({top:g-b-f})}};var d=a.fn.affix;a.fn.affix=b,a.fn.affix.Constructor=c,a.fn.affix.noConflict=function(){return a.fn.affix=d,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var c=a(this),d=c.data();d.offset=d.offset||{},null!=d.offsetBottom&&(d.offset.bottom=d.offsetBottom),null!=d.offsetTop&&(d.offset.top=d.offsetTop),b.call(c,d)})})}(jQuery);
\ No newline at end of file
diff --git a/public/vendor/bootstrap/js/npm.js b/public/vendor/bootstrap/js/npm.js
new file mode 100644
index 00000000..bf6aa806
--- /dev/null
+++ b/public/vendor/bootstrap/js/npm.js
@@ -0,0 +1,13 @@
+// This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment.
+require('../../js/transition.js')
+require('../../js/alert.js')
+require('../../js/button.js')
+require('../../js/carousel.js')
+require('../../js/collapse.js')
+require('../../js/dropdown.js')
+require('../../js/modal.js')
+require('../../js/tooltip.js')
+require('../../js/popover.js')
+require('../../js/scrollspy.js')
+require('../../js/tab.js')
+require('../../js/affix.js')
\ No newline at end of file
diff --git a/public/vendor/codemirror/addon/comment/comment.js b/public/vendor/codemirror/addon/comment/comment.js
new file mode 100755
index 00000000..2dd114d3
--- /dev/null
+++ b/public/vendor/codemirror/addon/comment/comment.js
@@ -0,0 +1,183 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+ "use strict";
+
+ var noOptions = {};
+ var nonWS = /[^\s\u00a0]/;
+ var Pos = CodeMirror.Pos;
+
+ function firstNonWS(str) {
+ var found = str.search(nonWS);
+ return found == -1 ? 0 : found;
+ }
+
+ CodeMirror.commands.toggleComment = function(cm) {
+ var minLine = Infinity, ranges = cm.listSelections(), mode = null;
+ for (var i = ranges.length - 1; i >= 0; i--) {
+ var from = ranges[i].from(), to = ranges[i].to();
+ if (from.line >= minLine) continue;
+ if (to.line >= minLine) to = Pos(minLine, 0);
+ minLine = from.line;
+ if (mode == null) {
+ if (cm.uncomment(from, to)) mode = "un";
+ else { cm.lineComment(from, to); mode = "line"; }
+ } else if (mode == "un") {
+ cm.uncomment(from, to);
+ } else {
+ cm.lineComment(from, to);
+ }
+ }
+ };
+
+ CodeMirror.defineExtension("lineComment", function(from, to, options) {
+ if (!options) options = noOptions;
+ var self = this, mode = self.getModeAt(from);
+ var commentString = options.lineComment || mode.lineComment;
+ if (!commentString) {
+ if (options.blockCommentStart || mode.blockCommentStart) {
+ options.fullLines = true;
+ self.blockComment(from, to, options);
+ }
+ return;
+ }
+ var firstLine = self.getLine(from.line);
+ if (firstLine == null) return;
+ var end = Math.min(to.ch != 0 || to.line == from.line ? to.line + 1 : to.line, self.lastLine() + 1);
+ var pad = options.padding == null ? " " : options.padding;
+ var blankLines = options.commentBlankLines || from.line == to.line;
+
+ self.operation(function() {
+ if (options.indent) {
+ var baseString = firstLine.slice(0, firstNonWS(firstLine));
+ for (var i = from.line; i < end; ++i) {
+ var line = self.getLine(i), cut = baseString.length;
+ if (!blankLines && !nonWS.test(line)) continue;
+ if (line.slice(0, cut) != baseString) cut = firstNonWS(line);
+ self.replaceRange(baseString + commentString + pad, Pos(i, 0), Pos(i, cut));
+ }
+ } else {
+ for (var i = from.line; i < end; ++i) {
+ if (blankLines || nonWS.test(self.getLine(i)))
+ self.replaceRange(commentString + pad, Pos(i, 0));
+ }
+ }
+ });
+ });
+
+ CodeMirror.defineExtension("blockComment", function(from, to, options) {
+ if (!options) options = noOptions;
+ var self = this, mode = self.getModeAt(from);
+ var startString = options.blockCommentStart || mode.blockCommentStart;
+ var endString = options.blockCommentEnd || mode.blockCommentEnd;
+ if (!startString || !endString) {
+ if ((options.lineComment || mode.lineComment) && options.fullLines != false)
+ self.lineComment(from, to, options);
+ return;
+ }
+
+ var end = Math.min(to.line, self.lastLine());
+ if (end != from.line && to.ch == 0 && nonWS.test(self.getLine(end))) --end;
+
+ var pad = options.padding == null ? " " : options.padding;
+ if (from.line > end) return;
+
+ self.operation(function() {
+ if (options.fullLines != false) {
+ var lastLineHasText = nonWS.test(self.getLine(end));
+ self.replaceRange(pad + endString, Pos(end));
+ self.replaceRange(startString + pad, Pos(from.line, 0));
+ var lead = options.blockCommentLead || mode.blockCommentLead;
+ if (lead != null) for (var i = from.line + 1; i <= end; ++i)
+ if (i != end || lastLineHasText)
+ self.replaceRange(lead + pad, Pos(i, 0));
+ } else {
+ self.replaceRange(endString, to);
+ self.replaceRange(startString, from);
+ }
+ });
+ });
+
+ CodeMirror.defineExtension("uncomment", function(from, to, options) {
+ if (!options) options = noOptions;
+ var self = this, mode = self.getModeAt(from);
+ var end = Math.min(to.ch != 0 || to.line == from.line ? to.line : to.line - 1, self.lastLine()), start = Math.min(from.line, end);
+
+ // Try finding line comments
+ var lineString = options.lineComment || mode.lineComment, lines = [];
+ var pad = options.padding == null ? " " : options.padding, didSomething;
+ lineComment: {
+ if (!lineString) break lineComment;
+ for (var i = start; i <= end; ++i) {
+ var line = self.getLine(i);
+ var found = line.indexOf(lineString);
+ if (found > -1 && !/comment/.test(self.getTokenTypeAt(Pos(i, found + 1)))) found = -1;
+ if (found == -1 && (i != end || i == start) && nonWS.test(line)) break lineComment;
+ if (found > -1 && nonWS.test(line.slice(0, found))) break lineComment;
+ lines.push(line);
+ }
+ self.operation(function() {
+ for (var i = start; i <= end; ++i) {
+ var line = lines[i - start];
+ var pos = line.indexOf(lineString), endPos = pos + lineString.length;
+ if (pos < 0) continue;
+ if (line.slice(endPos, endPos + pad.length) == pad) endPos += pad.length;
+ didSomething = true;
+ self.replaceRange("", Pos(i, pos), Pos(i, endPos));
+ }
+ });
+ if (didSomething) return true;
+ }
+
+ // Try block comments
+ var startString = options.blockCommentStart || mode.blockCommentStart;
+ var endString = options.blockCommentEnd || mode.blockCommentEnd;
+ if (!startString || !endString) return false;
+ var lead = options.blockCommentLead || mode.blockCommentLead;
+ var startLine = self.getLine(start), endLine = end == start ? startLine : self.getLine(end);
+ var open = startLine.indexOf(startString), close = endLine.lastIndexOf(endString);
+ if (close == -1 && start != end) {
+ endLine = self.getLine(--end);
+ close = endLine.lastIndexOf(endString);
+ }
+ if (open == -1 || close == -1 ||
+ !/comment/.test(self.getTokenTypeAt(Pos(start, open + 1))) ||
+ !/comment/.test(self.getTokenTypeAt(Pos(end, close + 1))))
+ return false;
+
+ // Avoid killing block comments completely outside the selection.
+ // Positions of the last startString before the start of the selection, and the first endString after it.
+ var lastStart = startLine.lastIndexOf(startString, from.ch);
+ var firstEnd = lastStart == -1 ? -1 : startLine.slice(0, from.ch).indexOf(endString, lastStart + startString.length);
+ if (lastStart != -1 && firstEnd != -1 && firstEnd + endString.length != from.ch) return false;
+ // Positions of the first endString after the end of the selection, and the last startString before it.
+ firstEnd = endLine.indexOf(endString, to.ch);
+ var almostLastStart = endLine.slice(to.ch).lastIndexOf(startString, firstEnd - to.ch);
+ lastStart = (firstEnd == -1 || almostLastStart == -1) ? -1 : to.ch + almostLastStart;
+ if (firstEnd != -1 && lastStart != -1 && lastStart != to.ch) return false;
+
+ self.operation(function() {
+ self.replaceRange("", Pos(end, close - (pad && endLine.slice(close - pad.length, close) == pad ? pad.length : 0)),
+ Pos(end, close + endString.length));
+ var openEnd = open + startString.length;
+ if (pad && startLine.slice(openEnd, openEnd + pad.length) == pad) openEnd += pad.length;
+ self.replaceRange("", Pos(start, open), Pos(start, openEnd));
+ if (lead) for (var i = start + 1; i <= end; ++i) {
+ var line = self.getLine(i), found = line.indexOf(lead);
+ if (found == -1 || nonWS.test(line.slice(0, found))) continue;
+ var foundEnd = found + lead.length;
+ if (pad && line.slice(foundEnd, foundEnd + pad.length) == pad) foundEnd += pad.length;
+ self.replaceRange("", Pos(i, found), Pos(i, foundEnd));
+ }
+ });
+ return true;
+ });
+});
diff --git a/public/vendor/codemirror/addon/comment/continuecomment.js b/public/vendor/codemirror/addon/comment/continuecomment.js
new file mode 100755
index 00000000..b11d51e6
--- /dev/null
+++ b/public/vendor/codemirror/addon/comment/continuecomment.js
@@ -0,0 +1,85 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+ var modes = ["clike", "css", "javascript"];
+
+ for (var i = 0; i < modes.length; ++i)
+ CodeMirror.extendMode(modes[i], {blockCommentContinue: " * "});
+
+ function continueComment(cm) {
+ if (cm.getOption("disableInput")) return CodeMirror.Pass;
+ var ranges = cm.listSelections(), mode, inserts = [];
+ for (var i = 0; i < ranges.length; i++) {
+ var pos = ranges[i].head, token = cm.getTokenAt(pos);
+ if (token.type != "comment") return CodeMirror.Pass;
+ var modeHere = CodeMirror.innerMode(cm.getMode(), token.state).mode;
+ if (!mode) mode = modeHere;
+ else if (mode != modeHere) return CodeMirror.Pass;
+
+ var insert = null;
+ if (mode.blockCommentStart && mode.blockCommentContinue) {
+ var end = token.string.indexOf(mode.blockCommentEnd);
+ var full = cm.getRange(CodeMirror.Pos(pos.line, 0), CodeMirror.Pos(pos.line, token.end)), found;
+ if (end != -1 && end == token.string.length - mode.blockCommentEnd.length && pos.ch >= end) {
+ // Comment ended, don't continue it
+ } else if (token.string.indexOf(mode.blockCommentStart) == 0) {
+ insert = full.slice(0, token.start);
+ if (!/^\s*$/.test(insert)) {
+ insert = "";
+ for (var j = 0; j < token.start; ++j) insert += " ";
+ }
+ } else if ((found = full.indexOf(mode.blockCommentContinue)) != -1 &&
+ found + mode.blockCommentContinue.length > token.start &&
+ /^\s*$/.test(full.slice(0, found))) {
+ insert = full.slice(0, found);
+ }
+ if (insert != null) insert += mode.blockCommentContinue;
+ }
+ if (insert == null && mode.lineComment && continueLineCommentEnabled(cm)) {
+ var line = cm.getLine(pos.line), found = line.indexOf(mode.lineComment);
+ if (found > -1) {
+ insert = line.slice(0, found);
+ if (/\S/.test(insert)) insert = null;
+ else insert += mode.lineComment + line.slice(found + mode.lineComment.length).match(/^\s*/)[0];
+ }
+ }
+ if (insert == null) return CodeMirror.Pass;
+ inserts[i] = "\n" + insert;
+ }
+
+ cm.operation(function() {
+ for (var i = ranges.length - 1; i >= 0; i--)
+ cm.replaceRange(inserts[i], ranges[i].from(), ranges[i].to(), "+insert");
+ });
+ }
+
+ function continueLineCommentEnabled(cm) {
+ var opt = cm.getOption("continueComments");
+ if (opt && typeof opt == "object")
+ return opt.continueLineComment !== false;
+ return true;
+ }
+
+ CodeMirror.defineOption("continueComments", null, function(cm, val, prev) {
+ if (prev && prev != CodeMirror.Init)
+ cm.removeKeyMap("continueComment");
+ if (val) {
+ var key = "Enter";
+ if (typeof val == "string")
+ key = val;
+ else if (typeof val == "object" && val.key)
+ key = val.key;
+ var map = {name: "continueComment"};
+ map[key] = continueComment;
+ cm.addKeyMap(map);
+ }
+ });
+});
diff --git a/public/vendor/codemirror/addon/dialog/dialog.css b/public/vendor/codemirror/addon/dialog/dialog.css
new file mode 100755
index 00000000..2e7c0fc9
--- /dev/null
+++ b/public/vendor/codemirror/addon/dialog/dialog.css
@@ -0,0 +1,32 @@
+.CodeMirror-dialog {
+ position: absolute;
+ left: 0; right: 0;
+ background: white;
+ z-index: 15;
+ padding: .1em .8em;
+ overflow: hidden;
+ color: #333;
+}
+
+.CodeMirror-dialog-top {
+ border-bottom: 1px solid #eee;
+ top: 0;
+}
+
+.CodeMirror-dialog-bottom {
+ border-top: 1px solid #eee;
+ bottom: 0;
+}
+
+.CodeMirror-dialog input {
+ border: none;
+ outline: none;
+ background: transparent;
+ width: 20em;
+ color: inherit;
+ font-family: monospace;
+}
+
+.CodeMirror-dialog button {
+ font-size: 70%;
+}
diff --git a/public/vendor/codemirror/addon/dialog/dialog.js b/public/vendor/codemirror/addon/dialog/dialog.js
new file mode 100755
index 00000000..323b2007
--- /dev/null
+++ b/public/vendor/codemirror/addon/dialog/dialog.js
@@ -0,0 +1,157 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+// Open simple dialogs on top of an editor. Relies on dialog.css.
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+ function dialogDiv(cm, template, bottom) {
+ var wrap = cm.getWrapperElement();
+ var dialog;
+ dialog = wrap.appendChild(document.createElement("div"));
+ if (bottom)
+ dialog.className = "CodeMirror-dialog CodeMirror-dialog-bottom";
+ else
+ dialog.className = "CodeMirror-dialog CodeMirror-dialog-top";
+
+ if (typeof template == "string") {
+ dialog.innerHTML = template;
+ } else { // Assuming it's a detached DOM element.
+ dialog.appendChild(template);
+ }
+ return dialog;
+ }
+
+ function closeNotification(cm, newVal) {
+ if (cm.state.currentNotificationClose)
+ cm.state.currentNotificationClose();
+ cm.state.currentNotificationClose = newVal;
+ }
+
+ CodeMirror.defineExtension("openDialog", function(template, callback, options) {
+ if (!options) options = {};
+
+ closeNotification(this, null);
+
+ var dialog = dialogDiv(this, template, options.bottom);
+ var closed = false, me = this;
+ function close(newVal) {
+ if (typeof newVal == 'string') {
+ inp.value = newVal;
+ } else {
+ if (closed) return;
+ closed = true;
+ dialog.parentNode.removeChild(dialog);
+ me.focus();
+
+ if (options.onClose) options.onClose(dialog);
+ }
+ }
+
+ var inp = dialog.getElementsByTagName("input")[0], button;
+ if (inp) {
+ if (options.value) {
+ inp.value = options.value;
+ if (options.selectValueOnOpen !== false) {
+ inp.select();
+ }
+ }
+
+ if (options.onInput)
+ CodeMirror.on(inp, "input", function(e) { options.onInput(e, inp.value, close);});
+ if (options.onKeyUp)
+ CodeMirror.on(inp, "keyup", function(e) {options.onKeyUp(e, inp.value, close);});
+
+ CodeMirror.on(inp, "keydown", function(e) {
+ if (options && options.onKeyDown && options.onKeyDown(e, inp.value, close)) { return; }
+ if (e.keyCode == 27 || (options.closeOnEnter !== false && e.keyCode == 13)) {
+ inp.blur();
+ CodeMirror.e_stop(e);
+ close();
+ }
+ if (e.keyCode == 13) callback(inp.value, e);
+ });
+
+ if (options.closeOnBlur !== false) CodeMirror.on(inp, "blur", close);
+
+ inp.focus();
+ } else if (button = dialog.getElementsByTagName("button")[0]) {
+ CodeMirror.on(button, "click", function() {
+ close();
+ me.focus();
+ });
+
+ if (options.closeOnBlur !== false) CodeMirror.on(button, "blur", close);
+
+ button.focus();
+ }
+ return close;
+ });
+
+ CodeMirror.defineExtension("openConfirm", function(template, callbacks, options) {
+ closeNotification(this, null);
+ var dialog = dialogDiv(this, template, options && options.bottom);
+ var buttons = dialog.getElementsByTagName("button");
+ var closed = false, me = this, blurring = 1;
+ function close() {
+ if (closed) return;
+ closed = true;
+ dialog.parentNode.removeChild(dialog);
+ me.focus();
+ }
+ buttons[0].focus();
+ for (var i = 0; i < buttons.length; ++i) {
+ var b = buttons[i];
+ (function(callback) {
+ CodeMirror.on(b, "click", function(e) {
+ CodeMirror.e_preventDefault(e);
+ close();
+ if (callback) callback(me);
+ });
+ })(callbacks[i]);
+ CodeMirror.on(b, "blur", function() {
+ --blurring;
+ setTimeout(function() { if (blurring <= 0) close(); }, 200);
+ });
+ CodeMirror.on(b, "focus", function() { ++blurring; });
+ }
+ });
+
+ /*
+ * openNotification
+ * Opens a notification, that can be closed with an optional timer
+ * (default 5000ms timer) and always closes on click.
+ *
+ * If a notification is opened while another is opened, it will close the
+ * currently opened one and open the new one immediately.
+ */
+ CodeMirror.defineExtension("openNotification", function(template, options) {
+ closeNotification(this, close);
+ var dialog = dialogDiv(this, template, options && options.bottom);
+ var closed = false, doneTimer;
+ var duration = options && typeof options.duration !== "undefined" ? options.duration : 5000;
+
+ function close() {
+ if (closed) return;
+ closed = true;
+ clearTimeout(doneTimer);
+ dialog.parentNode.removeChild(dialog);
+ }
+
+ CodeMirror.on(dialog, 'click', function(e) {
+ CodeMirror.e_preventDefault(e);
+ close();
+ });
+
+ if (duration)
+ doneTimer = setTimeout(close, duration);
+
+ return close;
+ });
+});
diff --git a/public/vendor/codemirror/addon/display/fullscreen.css b/public/vendor/codemirror/addon/display/fullscreen.css
new file mode 100755
index 00000000..437acd89
--- /dev/null
+++ b/public/vendor/codemirror/addon/display/fullscreen.css
@@ -0,0 +1,6 @@
+.CodeMirror-fullscreen {
+ position: fixed;
+ top: 0; left: 0; right: 0; bottom: 0;
+ height: auto;
+ z-index: 9;
+}
diff --git a/public/vendor/codemirror/addon/display/fullscreen.js b/public/vendor/codemirror/addon/display/fullscreen.js
new file mode 100755
index 00000000..cd3673b9
--- /dev/null
+++ b/public/vendor/codemirror/addon/display/fullscreen.js
@@ -0,0 +1,41 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+ "use strict";
+
+ CodeMirror.defineOption("fullScreen", false, function(cm, val, old) {
+ if (old == CodeMirror.Init) old = false;
+ if (!old == !val) return;
+ if (val) setFullscreen(cm);
+ else setNormal(cm);
+ });
+
+ function setFullscreen(cm) {
+ var wrap = cm.getWrapperElement();
+ cm.state.fullScreenRestore = {scrollTop: window.pageYOffset, scrollLeft: window.pageXOffset,
+ width: wrap.style.width, height: wrap.style.height};
+ wrap.style.width = "";
+ wrap.style.height = "auto";
+ wrap.className += " CodeMirror-fullscreen";
+ document.documentElement.style.overflow = "hidden";
+ cm.refresh();
+ }
+
+ function setNormal(cm) {
+ var wrap = cm.getWrapperElement();
+ wrap.className = wrap.className.replace(/\s*CodeMirror-fullscreen\b/, "");
+ document.documentElement.style.overflow = "";
+ var info = cm.state.fullScreenRestore;
+ wrap.style.width = info.width; wrap.style.height = info.height;
+ window.scrollTo(info.scrollLeft, info.scrollTop);
+ cm.refresh();
+ }
+});
diff --git a/public/vendor/codemirror/addon/display/panel.js b/public/vendor/codemirror/addon/display/panel.js
new file mode 100755
index 00000000..ba29484d
--- /dev/null
+++ b/public/vendor/codemirror/addon/display/panel.js
@@ -0,0 +1,112 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+ CodeMirror.defineExtension("addPanel", function(node, options) {
+ options = options || {};
+
+ if (!this.state.panels) initPanels(this);
+
+ var info = this.state.panels;
+ var wrapper = info.wrapper;
+ var cmWrapper = this.getWrapperElement();
+
+ if (options.after instanceof Panel && !options.after.cleared) {
+ wrapper.insertBefore(node, options.before.node.nextSibling);
+ } else if (options.before instanceof Panel && !options.before.cleared) {
+ wrapper.insertBefore(node, options.before.node);
+ } else if (options.replace instanceof Panel && !options.replace.cleared) {
+ wrapper.insertBefore(node, options.replace.node);
+ options.replace.clear();
+ } else if (options.position == "bottom") {
+ wrapper.appendChild(node);
+ } else if (options.position == "before-bottom") {
+ wrapper.insertBefore(node, cmWrapper.nextSibling);
+ } else if (options.position == "after-top") {
+ wrapper.insertBefore(node, cmWrapper);
+ } else {
+ wrapper.insertBefore(node, wrapper.firstChild);
+ }
+
+ var height = (options && options.height) || node.offsetHeight;
+ this._setSize(null, info.heightLeft -= height);
+ info.panels++;
+ return new Panel(this, node, options, height);
+ });
+
+ function Panel(cm, node, options, height) {
+ this.cm = cm;
+ this.node = node;
+ this.options = options;
+ this.height = height;
+ this.cleared = false;
+ }
+
+ Panel.prototype.clear = function() {
+ if (this.cleared) return;
+ this.cleared = true;
+ var info = this.cm.state.panels;
+ this.cm._setSize(null, info.heightLeft += this.height);
+ info.wrapper.removeChild(this.node);
+ if (--info.panels == 0) removePanels(this.cm);
+ };
+
+ Panel.prototype.changed = function(height) {
+ var newHeight = height == null ? this.node.offsetHeight : height;
+ var info = this.cm.state.panels;
+ this.cm._setSize(null, info.height += (newHeight - this.height));
+ this.height = newHeight;
+ };
+
+ function initPanels(cm) {
+ var wrap = cm.getWrapperElement();
+ var style = window.getComputedStyle ? window.getComputedStyle(wrap) : wrap.currentStyle;
+ var height = parseInt(style.height);
+ var info = cm.state.panels = {
+ setHeight: wrap.style.height,
+ heightLeft: height,
+ panels: 0,
+ wrapper: document.createElement("div")
+ };
+ wrap.parentNode.insertBefore(info.wrapper, wrap);
+ var hasFocus = cm.hasFocus();
+ info.wrapper.appendChild(wrap);
+ if (hasFocus) cm.focus();
+
+ cm._setSize = cm.setSize;
+ if (height != null) cm.setSize = function(width, newHeight) {
+ if (newHeight == null) return this._setSize(width, newHeight);
+ info.setHeight = newHeight;
+ if (typeof newHeight != "number") {
+ var px = /^(\d+\.?\d*)px$/.exec(newHeight);
+ if (px) {
+ newHeight = Number(px[1]);
+ } else {
+ info.wrapper.style.height = newHeight;
+ newHeight = info.wrapper.offsetHeight;
+ info.wrapper.style.height = "";
+ }
+ }
+ cm._setSize(width, info.heightLeft += (newHeight - height));
+ height = newHeight;
+ };
+ }
+
+ function removePanels(cm) {
+ var info = cm.state.panels;
+ cm.state.panels = null;
+
+ var wrap = cm.getWrapperElement();
+ info.wrapper.parentNode.replaceChild(wrap, info.wrapper);
+ wrap.style.height = info.setHeight;
+ cm.setSize = cm._setSize;
+ cm.setSize();
+ }
+});
diff --git a/public/vendor/codemirror/addon/display/placeholder.js b/public/vendor/codemirror/addon/display/placeholder.js
new file mode 100755
index 00000000..bb0c3931
--- /dev/null
+++ b/public/vendor/codemirror/addon/display/placeholder.js
@@ -0,0 +1,58 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+ CodeMirror.defineOption("placeholder", "", function(cm, val, old) {
+ var prev = old && old != CodeMirror.Init;
+ if (val && !prev) {
+ cm.on("blur", onBlur);
+ cm.on("change", onChange);
+ onChange(cm);
+ } else if (!val && prev) {
+ cm.off("blur", onBlur);
+ cm.off("change", onChange);
+ clearPlaceholder(cm);
+ var wrapper = cm.getWrapperElement();
+ wrapper.className = wrapper.className.replace(" CodeMirror-empty", "");
+ }
+
+ if (val && !cm.hasFocus()) onBlur(cm);
+ });
+
+ function clearPlaceholder(cm) {
+ if (cm.state.placeholder) {
+ cm.state.placeholder.parentNode.removeChild(cm.state.placeholder);
+ cm.state.placeholder = null;
+ }
+ }
+ function setPlaceholder(cm) {
+ clearPlaceholder(cm);
+ var elt = cm.state.placeholder = document.createElement("pre");
+ elt.style.cssText = "height: 0; overflow: visible";
+ elt.className = "CodeMirror-placeholder";
+ elt.appendChild(document.createTextNode(cm.getOption("placeholder")));
+ cm.display.lineSpace.insertBefore(elt, cm.display.lineSpace.firstChild);
+ }
+
+ function onBlur(cm) {
+ if (isEmpty(cm)) setPlaceholder(cm);
+ }
+ function onChange(cm) {
+ var wrapper = cm.getWrapperElement(), empty = isEmpty(cm);
+ wrapper.className = wrapper.className.replace(" CodeMirror-empty", "") + (empty ? " CodeMirror-empty" : "");
+
+ if (empty) setPlaceholder(cm);
+ else clearPlaceholder(cm);
+ }
+
+ function isEmpty(cm) {
+ return (cm.lineCount() === 1) && (cm.getLine(0) === "");
+ }
+});
diff --git a/public/vendor/codemirror/addon/display/rulers.js b/public/vendor/codemirror/addon/display/rulers.js
new file mode 100755
index 00000000..13185d30
--- /dev/null
+++ b/public/vendor/codemirror/addon/display/rulers.js
@@ -0,0 +1,64 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+ "use strict";
+
+ CodeMirror.defineOption("rulers", false, function(cm, val, old) {
+ if (old && old != CodeMirror.Init) {
+ clearRulers(cm);
+ cm.off("refresh", refreshRulers);
+ }
+ if (val && val.length) {
+ setRulers(cm);
+ cm.on("refresh", refreshRulers);
+ }
+ });
+
+ function clearRulers(cm) {
+ for (var i = cm.display.lineSpace.childNodes.length - 1; i >= 0; i--) {
+ var node = cm.display.lineSpace.childNodes[i];
+ if (/(^|\s)CodeMirror-ruler($|\s)/.test(node.className))
+ node.parentNode.removeChild(node);
+ }
+ }
+
+ function setRulers(cm) {
+ var val = cm.getOption("rulers");
+ var cw = cm.defaultCharWidth();
+ var left = cm.charCoords(CodeMirror.Pos(cm.firstLine(), 0), "div").left;
+ var minH = cm.display.scroller.offsetHeight + 30;
+ for (var i = 0; i < val.length; i++) {
+ var elt = document.createElement("div");
+ elt.className = "CodeMirror-ruler";
+ var col, cls = null, conf = val[i];
+ if (typeof conf == "number") {
+ col = conf;
+ } else {
+ col = conf.column;
+ if (conf.className) elt.className += " " + conf.className;
+ if (conf.color) elt.style.borderColor = conf.color;
+ if (conf.lineStyle) elt.style.borderLeftStyle = conf.lineStyle;
+ if (conf.width) elt.style.borderLeftWidth = conf.width;
+ cls = val[i].className;
+ }
+ elt.style.left = (left + col * cw) + "px";
+ elt.style.top = "-50px";
+ elt.style.bottom = "-20px";
+ elt.style.minHeight = minH + "px";
+ cm.display.lineSpace.insertBefore(elt, cm.display.cursorDiv);
+ }
+ }
+
+ function refreshRulers(cm) {
+ clearRulers(cm);
+ setRulers(cm);
+ }
+});
diff --git a/public/vendor/codemirror/addon/edit/closebrackets.js b/public/vendor/codemirror/addon/edit/closebrackets.js
new file mode 100755
index 00000000..2bbc6f2a
--- /dev/null
+++ b/public/vendor/codemirror/addon/edit/closebrackets.js
@@ -0,0 +1,184 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+ var defaults = {
+ pairs: "()[]{}''\"\"",
+ triples: "",
+ explode: "[]{}"
+ };
+
+ var Pos = CodeMirror.Pos;
+
+ CodeMirror.defineOption("autoCloseBrackets", false, function(cm, val, old) {
+ if (old && old != CodeMirror.Init) {
+ cm.removeKeyMap(keyMap);
+ cm.state.closeBrackets = null;
+ }
+ if (val) {
+ cm.state.closeBrackets = val;
+ cm.addKeyMap(keyMap);
+ }
+ });
+
+ function getOption(conf, name) {
+ if (name == "pairs" && typeof conf == "string") return conf;
+ if (typeof conf == "object" && conf[name] != null) return conf[name];
+ return defaults[name];
+ }
+
+ var bind = defaults.pairs + "`";
+ var keyMap = {Backspace: handleBackspace, Enter: handleEnter};
+ for (var i = 0; i < bind.length; i++)
+ keyMap["'" + bind.charAt(i) + "'"] = handler(bind.charAt(i));
+
+ function handler(ch) {
+ return function(cm) { return handleChar(cm, ch); };
+ }
+
+ function getConfig(cm) {
+ var deflt = cm.state.closeBrackets;
+ if (!deflt) return null;
+ var mode = cm.getModeAt(cm.getCursor());
+ return mode.closeBrackets || deflt;
+ }
+
+ function handleBackspace(cm) {
+ var conf = getConfig(cm);
+ if (!conf || cm.getOption("disableInput")) return CodeMirror.Pass;
+
+ var pairs = getOption(conf, "pairs");
+ var ranges = cm.listSelections();
+ for (var i = 0; i < ranges.length; i++) {
+ if (!ranges[i].empty()) return CodeMirror.Pass;
+ var around = charsAround(cm, ranges[i].head);
+ if (!around || pairs.indexOf(around) % 2 != 0) return CodeMirror.Pass;
+ }
+ for (var i = ranges.length - 1; i >= 0; i--) {
+ var cur = ranges[i].head;
+ cm.replaceRange("", Pos(cur.line, cur.ch - 1), Pos(cur.line, cur.ch + 1));
+ }
+ }
+
+ function handleEnter(cm) {
+ var conf = getConfig(cm);
+ var explode = conf && getOption(conf, "explode");
+ if (!explode || cm.getOption("disableInput")) return CodeMirror.Pass;
+
+ var ranges = cm.listSelections();
+ for (var i = 0; i < ranges.length; i++) {
+ if (!ranges[i].empty()) return CodeMirror.Pass;
+ var around = charsAround(cm, ranges[i].head);
+ if (!around || explode.indexOf(around) % 2 != 0) return CodeMirror.Pass;
+ }
+ cm.operation(function() {
+ cm.replaceSelection("\n\n", null);
+ cm.execCommand("goCharLeft");
+ ranges = cm.listSelections();
+ for (var i = 0; i < ranges.length; i++) {
+ var line = ranges[i].head.line;
+ cm.indentLine(line, null, true);
+ cm.indentLine(line + 1, null, true);
+ }
+ });
+ }
+
+ function handleChar(cm, ch) {
+ var conf = getConfig(cm);
+ if (!conf || cm.getOption("disableInput")) return CodeMirror.Pass;
+
+ var pairs = getOption(conf, "pairs");
+ var pos = pairs.indexOf(ch);
+ if (pos == -1) return CodeMirror.Pass;
+ var triples = getOption(conf, "triples");
+
+ var identical = pairs.charAt(pos + 1) == ch;
+ var ranges = cm.listSelections();
+ var opening = pos % 2 == 0;
+
+ var type, next;
+ for (var i = 0; i < ranges.length; i++) {
+ var range = ranges[i], cur = range.head, curType;
+ var next = cm.getRange(cur, Pos(cur.line, cur.ch + 1));
+ if (opening && !range.empty()) {
+ curType = "surround";
+ } else if ((identical || !opening) && next == ch) {
+ if (triples.indexOf(ch) >= 0 && cm.getRange(cur, Pos(cur.line, cur.ch + 3)) == ch + ch + ch)
+ curType = "skipThree";
+ else
+ curType = "skip";
+ } else if (identical && cur.ch > 1 && triples.indexOf(ch) >= 0 &&
+ cm.getRange(Pos(cur.line, cur.ch - 2), cur) == ch + ch &&
+ (cur.ch <= 2 || cm.getRange(Pos(cur.line, cur.ch - 3), Pos(cur.line, cur.ch - 2)) != ch)) {
+ curType = "addFour";
+ } else if (identical) {
+ if (!CodeMirror.isWordChar(next) && enteringString(cm, cur, ch)) curType = "both";
+ else return CodeMirror.Pass;
+ } else if (opening && (cm.getLine(cur.line).length == cur.ch ||
+ isClosingBracket(next, pairs) ||
+ /\s/.test(next))) {
+ curType = "both";
+ } else {
+ return CodeMirror.Pass;
+ }
+ if (!type) type = curType;
+ else if (type != curType) return CodeMirror.Pass;
+ }
+
+ var left = pos % 2 ? pairs.charAt(pos - 1) : ch;
+ var right = pos % 2 ? ch : pairs.charAt(pos + 1);
+ cm.operation(function() {
+ if (type == "skip") {
+ cm.execCommand("goCharRight");
+ } else if (type == "skipThree") {
+ for (var i = 0; i < 3; i++)
+ cm.execCommand("goCharRight");
+ } else if (type == "surround") {
+ var sels = cm.getSelections();
+ for (var i = 0; i < sels.length; i++)
+ sels[i] = left + sels[i] + right;
+ cm.replaceSelections(sels, "around");
+ } else if (type == "both") {
+ cm.replaceSelection(left + right, null);
+ cm.execCommand("goCharLeft");
+ } else if (type == "addFour") {
+ cm.replaceSelection(left + left + left + left, "before");
+ cm.execCommand("goCharRight");
+ }
+ });
+ }
+
+ function isClosingBracket(ch, pairs) {
+ var pos = pairs.lastIndexOf(ch);
+ return pos > -1 && pos % 2 == 1;
+ }
+
+ function charsAround(cm, pos) {
+ var str = cm.getRange(Pos(pos.line, pos.ch - 1),
+ Pos(pos.line, pos.ch + 1));
+ return str.length == 2 ? str : null;
+ }
+
+ // Project the token type that will exists after the given char is
+ // typed, and use it to determine whether it would cause the start
+ // of a string token.
+ function enteringString(cm, pos, ch) {
+ var line = cm.getLine(pos.line);
+ var token = cm.getTokenAt(pos);
+ if (/\bstring2?\b/.test(token.type)) return false;
+ var stream = new CodeMirror.StringStream(line.slice(0, pos.ch) + ch + line.slice(pos.ch), 4);
+ stream.pos = stream.start = token.start;
+ for (;;) {
+ var type1 = cm.getMode().token(stream, token.state);
+ if (stream.pos >= pos.ch + 1) return /\bstring2?\b/.test(type1);
+ stream.start = stream.pos;
+ }
+ }
+});
diff --git a/public/vendor/codemirror/addon/edit/closetag.js b/public/vendor/codemirror/addon/edit/closetag.js
new file mode 100755
index 00000000..4ab36cce
--- /dev/null
+++ b/public/vendor/codemirror/addon/edit/closetag.js
@@ -0,0 +1,166 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+/**
+ * Tag-closer extension for CodeMirror.
+ *
+ * This extension adds an "autoCloseTags" option that can be set to
+ * either true to get the default behavior, or an object to further
+ * configure its behavior.
+ *
+ * These are supported options:
+ *
+ * `whenClosing` (default true)
+ * Whether to autoclose when the '/' of a closing tag is typed.
+ * `whenOpening` (default true)
+ * Whether to autoclose the tag when the final '>' of an opening
+ * tag is typed.
+ * `dontCloseTags` (default is empty tags for HTML, none for XML)
+ * An array of tag names that should not be autoclosed.
+ * `indentTags` (default is block tags for HTML, none for XML)
+ * An array of tag names that should, when opened, cause a
+ * blank line to be added inside the tag, and the blank line and
+ * closing line to be indented.
+ *
+ * See demos/closetag.html for a usage example.
+ */
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"), require("../fold/xml-fold"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror", "../fold/xml-fold"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+ CodeMirror.defineOption("autoCloseTags", false, function(cm, val, old) {
+ if (old != CodeMirror.Init && old)
+ cm.removeKeyMap("autoCloseTags");
+ if (!val) return;
+ var map = {name: "autoCloseTags"};
+ if (typeof val != "object" || val.whenClosing)
+ map["'/'"] = function(cm) { return autoCloseSlash(cm); };
+ if (typeof val != "object" || val.whenOpening)
+ map["'>'"] = function(cm) { return autoCloseGT(cm); };
+ cm.addKeyMap(map);
+ });
+
+ var htmlDontClose = ["area", "base", "br", "col", "command", "embed", "hr", "img", "input", "keygen", "link", "meta", "param",
+ "source", "track", "wbr"];
+ var htmlIndent = ["applet", "blockquote", "body", "button", "div", "dl", "fieldset", "form", "frameset", "h1", "h2", "h3", "h4",
+ "h5", "h6", "head", "html", "iframe", "layer", "legend", "object", "ol", "p", "select", "table", "ul"];
+
+ function autoCloseGT(cm) {
+ if (cm.getOption("disableInput")) return CodeMirror.Pass;
+ var ranges = cm.listSelections(), replacements = [];
+ for (var i = 0; i < ranges.length; i++) {
+ if (!ranges[i].empty()) return CodeMirror.Pass;
+ var pos = ranges[i].head, tok = cm.getTokenAt(pos);
+ var inner = CodeMirror.innerMode(cm.getMode(), tok.state), state = inner.state;
+ if (inner.mode.name != "xml" || !state.tagName) return CodeMirror.Pass;
+
+ var opt = cm.getOption("autoCloseTags"), html = inner.mode.configuration == "html";
+ var dontCloseTags = (typeof opt == "object" && opt.dontCloseTags) || (html && htmlDontClose);
+ var indentTags = (typeof opt == "object" && opt.indentTags) || (html && htmlIndent);
+
+ var tagName = state.tagName;
+ if (tok.end > pos.ch) tagName = tagName.slice(0, tagName.length - tok.end + pos.ch);
+ var lowerTagName = tagName.toLowerCase();
+ // Don't process the '>' at the end of an end-tag or self-closing tag
+ if (!tagName ||
+ tok.type == "string" && (tok.end != pos.ch || !/[\"\']/.test(tok.string.charAt(tok.string.length - 1)) || tok.string.length == 1) ||
+ tok.type == "tag" && state.type == "closeTag" ||
+ tok.string.indexOf("/") == (tok.string.length - 1) || // match something like
+ dontCloseTags && indexOf(dontCloseTags, lowerTagName) > -1 ||
+ closingTagExists(cm, tagName, pos, state, true))
+ return CodeMirror.Pass;
+
+ var indent = indentTags && indexOf(indentTags, lowerTagName) > -1;
+ replacements[i] = {indent: indent,
+ text: ">" + (indent ? "\n\n" : "") + "" + tagName + ">",
+ newPos: indent ? CodeMirror.Pos(pos.line + 1, 0) : CodeMirror.Pos(pos.line, pos.ch + 1)};
+ }
+
+ for (var i = ranges.length - 1; i >= 0; i--) {
+ var info = replacements[i];
+ cm.replaceRange(info.text, ranges[i].head, ranges[i].anchor, "+input");
+ var sel = cm.listSelections().slice(0);
+ sel[i] = {head: info.newPos, anchor: info.newPos};
+ cm.setSelections(sel);
+ if (info.indent) {
+ cm.indentLine(info.newPos.line, null, true);
+ cm.indentLine(info.newPos.line + 1, null, true);
+ }
+ }
+ }
+
+ function autoCloseCurrent(cm, typingSlash) {
+ var ranges = cm.listSelections(), replacements = [];
+ var head = typingSlash ? "/" : "";
+ for (var i = 0; i < ranges.length; i++) {
+ if (!ranges[i].empty()) return CodeMirror.Pass;
+ var pos = ranges[i].head, tok = cm.getTokenAt(pos);
+ var inner = CodeMirror.innerMode(cm.getMode(), tok.state), state = inner.state;
+ if (typingSlash && (tok.type == "string" || tok.string.charAt(0) != "<" ||
+ tok.start != pos.ch - 1))
+ return CodeMirror.Pass;
+ // Kludge to get around the fact that we are not in XML mode
+ // when completing in JS/CSS snippet in htmlmixed mode. Does not
+ // work for other XML embedded languages (there is no general
+ // way to go from a mixed mode to its current XML state).
+ if (inner.mode.name != "xml") {
+ if (cm.getMode().name == "htmlmixed" && inner.mode.name == "javascript")
+ replacements[i] = head + "script>";
+ else if (cm.getMode().name == "htmlmixed" && inner.mode.name == "css")
+ replacements[i] = head + "style>";
+ else
+ return CodeMirror.Pass;
+ } else {
+ if (!state.context || !state.context.tagName ||
+ closingTagExists(cm, state.context.tagName, pos, state))
+ return CodeMirror.Pass;
+ replacements[i] = head + state.context.tagName + ">";
+ }
+ }
+ cm.replaceSelections(replacements, null, '+input');
+ ranges = cm.listSelections();
+ for (var i = 0; i < ranges.length; i++)
+ if (i == ranges.length - 1 || ranges[i].head.line < ranges[i + 1].head.line)
+ cm.indentLine(ranges[i].head.line);
+ }
+
+ function autoCloseSlash(cm) {
+ if (cm.getOption("disableInput")) return CodeMirror.Pass;
+ return autoCloseCurrent(cm, true);
+ }
+
+ CodeMirror.commands.closeTag = function(cm) { return autoCloseCurrent(cm); };
+
+ function indexOf(collection, elt) {
+ if (collection.indexOf) return collection.indexOf(elt);
+ for (var i = 0, e = collection.length; i < e; ++i)
+ if (collection[i] == elt) return i;
+ return -1;
+ }
+
+ // If xml-fold is loaded, we use its functionality to try and verify
+ // whether a given tag is actually unclosed.
+ function closingTagExists(cm, tagName, pos, state, newTag) {
+ if (!CodeMirror.scanForClosingTag) return false;
+ var end = Math.min(cm.lastLine() + 1, pos.line + 500);
+ var nextClose = CodeMirror.scanForClosingTag(cm, pos, null, end);
+ if (!nextClose || nextClose.tag != tagName) return false;
+ var cx = state.context;
+ // If the immediate wrapping context contains onCx instances of
+ // the same tag, a closing tag only exists if there are at least
+ // that many closing tags of that type following.
+ for (var onCx = newTag ? 1 : 0; cx && cx.tagName == tagName; cx = cx.prev) ++onCx;
+ pos = nextClose.to;
+ for (var i = 1; i < onCx; i++) {
+ var next = CodeMirror.scanForClosingTag(cm, pos, null, end);
+ if (!next || next.tag != tagName) return false;
+ pos = next.to;
+ }
+ return true;
+ }
+});
diff --git a/public/vendor/codemirror/addon/edit/continuelist.js b/public/vendor/codemirror/addon/edit/continuelist.js
new file mode 100755
index 00000000..930c7324
--- /dev/null
+++ b/public/vendor/codemirror/addon/edit/continuelist.js
@@ -0,0 +1,52 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+ "use strict";
+
+ var listRE = /^(\s*)(>[> ]*|[*+-]\s|(\d+)\.)(\s*)/,
+ emptyListRE = /^(\s*)(>[> ]*|[*+-]|(\d+)\.)(\s*)$/,
+ unorderedListRE = /[*+-]\s/;
+
+ CodeMirror.commands.newlineAndIndentContinueMarkdownList = function(cm) {
+ if (cm.getOption("disableInput")) return CodeMirror.Pass;
+ var ranges = cm.listSelections(), replacements = [];
+ for (var i = 0; i < ranges.length; i++) {
+ var pos = ranges[i].head;
+ var eolState = cm.getStateAfter(pos.line);
+ var inList = eolState.list !== false;
+ var inQuote = eolState.quote !== 0;
+
+ var line = cm.getLine(pos.line), match = listRE.exec(line);
+ if (!ranges[i].empty() || (!inList && !inQuote) || !match) {
+ cm.execCommand("newlineAndIndent");
+ return;
+ }
+ if (emptyListRE.test(line)) {
+ cm.replaceRange("", {
+ line: pos.line, ch: 0
+ }, {
+ line: pos.line, ch: pos.ch + 1
+ }, "+delete");
+ replacements[i] = "\n";
+
+ } else {
+ var indent = match[1], after = match[4];
+ var bullet = unorderedListRE.test(match[2]) || match[2].indexOf(">") >= 0
+ ? match[2]
+ : (parseInt(match[3], 10) + 1) + ".";
+
+ replacements[i] = "\n" + indent + bullet + after;
+ }
+ }
+
+ cm.replaceSelections(replacements, null, "+input");
+ };
+});
diff --git a/public/vendor/codemirror/addon/edit/matchbrackets.js b/public/vendor/codemirror/addon/edit/matchbrackets.js
new file mode 100755
index 00000000..70e1ae18
--- /dev/null
+++ b/public/vendor/codemirror/addon/edit/matchbrackets.js
@@ -0,0 +1,120 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+ var ie_lt8 = /MSIE \d/.test(navigator.userAgent) &&
+ (document.documentMode == null || document.documentMode < 8);
+
+ var Pos = CodeMirror.Pos;
+
+ var matching = {"(": ")>", ")": "(<", "[": "]>", "]": "[<", "{": "}>", "}": "{<"};
+
+ function findMatchingBracket(cm, where, strict, config) {
+ var line = cm.getLineHandle(where.line), pos = where.ch - 1;
+ var match = (pos >= 0 && matching[line.text.charAt(pos)]) || matching[line.text.charAt(++pos)];
+ if (!match) return null;
+ var dir = match.charAt(1) == ">" ? 1 : -1;
+ if (strict && (dir > 0) != (pos == where.ch)) return null;
+ var style = cm.getTokenTypeAt(Pos(where.line, pos + 1));
+
+ var found = scanForBracket(cm, Pos(where.line, pos + (dir > 0 ? 1 : 0)), dir, style || null, config);
+ if (found == null) return null;
+ return {from: Pos(where.line, pos), to: found && found.pos,
+ match: found && found.ch == match.charAt(0), forward: dir > 0};
+ }
+
+ // bracketRegex is used to specify which type of bracket to scan
+ // should be a regexp, e.g. /[[\]]/
+ //
+ // Note: If "where" is on an open bracket, then this bracket is ignored.
+ //
+ // Returns false when no bracket was found, null when it reached
+ // maxScanLines and gave up
+ function scanForBracket(cm, where, dir, style, config) {
+ var maxScanLen = (config && config.maxScanLineLength) || 10000;
+ var maxScanLines = (config && config.maxScanLines) || 1000;
+
+ var stack = [];
+ var re = config && config.bracketRegex ? config.bracketRegex : /[(){}[\]]/;
+ var lineEnd = dir > 0 ? Math.min(where.line + maxScanLines, cm.lastLine() + 1)
+ : Math.max(cm.firstLine() - 1, where.line - maxScanLines);
+ for (var lineNo = where.line; lineNo != lineEnd; lineNo += dir) {
+ var line = cm.getLine(lineNo);
+ if (!line) continue;
+ var pos = dir > 0 ? 0 : line.length - 1, end = dir > 0 ? line.length : -1;
+ if (line.length > maxScanLen) continue;
+ if (lineNo == where.line) pos = where.ch - (dir < 0 ? 1 : 0);
+ for (; pos != end; pos += dir) {
+ var ch = line.charAt(pos);
+ if (re.test(ch) && (style === undefined || cm.getTokenTypeAt(Pos(lineNo, pos + 1)) == style)) {
+ var match = matching[ch];
+ if ((match.charAt(1) == ">") == (dir > 0)) stack.push(ch);
+ else if (!stack.length) return {pos: Pos(lineNo, pos), ch: ch};
+ else stack.pop();
+ }
+ }
+ }
+ return lineNo - dir == (dir > 0 ? cm.lastLine() : cm.firstLine()) ? false : null;
+ }
+
+ function matchBrackets(cm, autoclear, config) {
+ // Disable brace matching in long lines, since it'll cause hugely slow updates
+ var maxHighlightLen = cm.state.matchBrackets.maxHighlightLineLength || 1000;
+ var marks = [], ranges = cm.listSelections();
+ for (var i = 0; i < ranges.length; i++) {
+ var match = ranges[i].empty() && findMatchingBracket(cm, ranges[i].head, false, config);
+ if (match && cm.getLine(match.from.line).length <= maxHighlightLen) {
+ var style = match.match ? "CodeMirror-matchingbracket" : "CodeMirror-nonmatchingbracket";
+ marks.push(cm.markText(match.from, Pos(match.from.line, match.from.ch + 1), {className: style}));
+ if (match.to && cm.getLine(match.to.line).length <= maxHighlightLen)
+ marks.push(cm.markText(match.to, Pos(match.to.line, match.to.ch + 1), {className: style}));
+ }
+ }
+
+ if (marks.length) {
+ // Kludge to work around the IE bug from issue #1193, where text
+ // input stops going to the textare whever this fires.
+ if (ie_lt8 && cm.state.focused) cm.focus();
+
+ var clear = function() {
+ cm.operation(function() {
+ for (var i = 0; i < marks.length; i++) marks[i].clear();
+ });
+ };
+ if (autoclear) setTimeout(clear, 800);
+ else return clear;
+ }
+ }
+
+ var currentlyHighlighted = null;
+ function doMatchBrackets(cm) {
+ cm.operation(function() {
+ if (currentlyHighlighted) {currentlyHighlighted(); currentlyHighlighted = null;}
+ currentlyHighlighted = matchBrackets(cm, false, cm.state.matchBrackets);
+ });
+ }
+
+ CodeMirror.defineOption("matchBrackets", false, function(cm, val, old) {
+ if (old && old != CodeMirror.Init)
+ cm.off("cursorActivity", doMatchBrackets);
+ if (val) {
+ cm.state.matchBrackets = typeof val == "object" ? val : {};
+ cm.on("cursorActivity", doMatchBrackets);
+ }
+ });
+
+ CodeMirror.defineExtension("matchBrackets", function() {matchBrackets(this, true);});
+ CodeMirror.defineExtension("findMatchingBracket", function(pos, strict, config){
+ return findMatchingBracket(this, pos, strict, config);
+ });
+ CodeMirror.defineExtension("scanForBracket", function(pos, dir, style, config){
+ return scanForBracket(this, pos, dir, style, config);
+ });
+});
diff --git a/public/vendor/codemirror/addon/edit/matchtags.js b/public/vendor/codemirror/addon/edit/matchtags.js
new file mode 100755
index 00000000..fb1911a8
--- /dev/null
+++ b/public/vendor/codemirror/addon/edit/matchtags.js
@@ -0,0 +1,66 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"), require("../fold/xml-fold"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror", "../fold/xml-fold"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+ "use strict";
+
+ CodeMirror.defineOption("matchTags", false, function(cm, val, old) {
+ if (old && old != CodeMirror.Init) {
+ cm.off("cursorActivity", doMatchTags);
+ cm.off("viewportChange", maybeUpdateMatch);
+ clear(cm);
+ }
+ if (val) {
+ cm.state.matchBothTags = typeof val == "object" && val.bothTags;
+ cm.on("cursorActivity", doMatchTags);
+ cm.on("viewportChange", maybeUpdateMatch);
+ doMatchTags(cm);
+ }
+ });
+
+ function clear(cm) {
+ if (cm.state.tagHit) cm.state.tagHit.clear();
+ if (cm.state.tagOther) cm.state.tagOther.clear();
+ cm.state.tagHit = cm.state.tagOther = null;
+ }
+
+ function doMatchTags(cm) {
+ cm.state.failedTagMatch = false;
+ cm.operation(function() {
+ clear(cm);
+ if (cm.somethingSelected()) return;
+ var cur = cm.getCursor(), range = cm.getViewport();
+ range.from = Math.min(range.from, cur.line); range.to = Math.max(cur.line + 1, range.to);
+ var match = CodeMirror.findMatchingTag(cm, cur, range);
+ if (!match) return;
+ if (cm.state.matchBothTags) {
+ var hit = match.at == "open" ? match.open : match.close;
+ if (hit) cm.state.tagHit = cm.markText(hit.from, hit.to, {className: "CodeMirror-matchingtag"});
+ }
+ var other = match.at == "close" ? match.open : match.close;
+ if (other)
+ cm.state.tagOther = cm.markText(other.from, other.to, {className: "CodeMirror-matchingtag"});
+ else
+ cm.state.failedTagMatch = true;
+ });
+ }
+
+ function maybeUpdateMatch(cm) {
+ if (cm.state.failedTagMatch) doMatchTags(cm);
+ }
+
+ CodeMirror.commands.toMatchingTag = function(cm) {
+ var found = CodeMirror.findMatchingTag(cm, cm.getCursor());
+ if (found) {
+ var other = found.at == "close" ? found.open : found.close;
+ if (other) cm.extendSelection(other.to, other.from);
+ }
+ };
+});
diff --git a/public/vendor/codemirror/addon/edit/trailingspace.js b/public/vendor/codemirror/addon/edit/trailingspace.js
new file mode 100755
index 00000000..fa7b56be
--- /dev/null
+++ b/public/vendor/codemirror/addon/edit/trailingspace.js
@@ -0,0 +1,27 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+ CodeMirror.defineOption("showTrailingSpace", false, function(cm, val, prev) {
+ if (prev == CodeMirror.Init) prev = false;
+ if (prev && !val)
+ cm.removeOverlay("trailingspace");
+ else if (!prev && val)
+ cm.addOverlay({
+ token: function(stream) {
+ for (var l = stream.string.length, i = l; i && /\s/.test(stream.string.charAt(i - 1)); --i) {}
+ if (i > stream.pos) { stream.pos = i; return null; }
+ stream.pos = l;
+ return "trailingspace";
+ },
+ name: "trailingspace"
+ });
+ });
+});
diff --git a/public/vendor/codemirror/addon/fold/brace-fold.js b/public/vendor/codemirror/addon/fold/brace-fold.js
new file mode 100755
index 00000000..1605f6c2
--- /dev/null
+++ b/public/vendor/codemirror/addon/fold/brace-fold.js
@@ -0,0 +1,105 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+"use strict";
+
+CodeMirror.registerHelper("fold", "brace", function(cm, start) {
+ var line = start.line, lineText = cm.getLine(line);
+ var startCh, tokenType;
+
+ function findOpening(openCh) {
+ for (var at = start.ch, pass = 0;;) {
+ var found = at <= 0 ? -1 : lineText.lastIndexOf(openCh, at - 1);
+ if (found == -1) {
+ if (pass == 1) break;
+ pass = 1;
+ at = lineText.length;
+ continue;
+ }
+ if (pass == 1 && found < start.ch) break;
+ tokenType = cm.getTokenTypeAt(CodeMirror.Pos(line, found + 1));
+ if (!/^(comment|string)/.test(tokenType)) return found + 1;
+ at = found - 1;
+ }
+ }
+
+ var startToken = "{", endToken = "}", startCh = findOpening("{");
+ if (startCh == null) {
+ startToken = "[", endToken = "]";
+ startCh = findOpening("[");
+ }
+
+ if (startCh == null) return;
+ var count = 1, lastLine = cm.lastLine(), end, endCh;
+ outer: for (var i = line; i <= lastLine; ++i) {
+ var text = cm.getLine(i), pos = i == line ? startCh : 0;
+ for (;;) {
+ var nextOpen = text.indexOf(startToken, pos), nextClose = text.indexOf(endToken, pos);
+ if (nextOpen < 0) nextOpen = text.length;
+ if (nextClose < 0) nextClose = text.length;
+ pos = Math.min(nextOpen, nextClose);
+ if (pos == text.length) break;
+ if (cm.getTokenTypeAt(CodeMirror.Pos(i, pos + 1)) == tokenType) {
+ if (pos == nextOpen) ++count;
+ else if (!--count) { end = i; endCh = pos; break outer; }
+ }
+ ++pos;
+ }
+ }
+ if (end == null || line == end && endCh == startCh) return;
+ return {from: CodeMirror.Pos(line, startCh),
+ to: CodeMirror.Pos(end, endCh)};
+});
+
+CodeMirror.registerHelper("fold", "import", function(cm, start) {
+ function hasImport(line) {
+ if (line < cm.firstLine() || line > cm.lastLine()) return null;
+ var start = cm.getTokenAt(CodeMirror.Pos(line, 1));
+ if (!/\S/.test(start.string)) start = cm.getTokenAt(CodeMirror.Pos(line, start.end + 1));
+ if (start.type != "keyword" || start.string != "import") return null;
+ // Now find closing semicolon, return its position
+ for (var i = line, e = Math.min(cm.lastLine(), line + 10); i <= e; ++i) {
+ var text = cm.getLine(i), semi = text.indexOf(";");
+ if (semi != -1) return {startCh: start.end, end: CodeMirror.Pos(i, semi)};
+ }
+ }
+
+ var start = start.line, has = hasImport(start), prev;
+ if (!has || hasImport(start - 1) || ((prev = hasImport(start - 2)) && prev.end.line == start - 1))
+ return null;
+ for (var end = has.end;;) {
+ var next = hasImport(end.line + 1);
+ if (next == null) break;
+ end = next.end;
+ }
+ return {from: cm.clipPos(CodeMirror.Pos(start, has.startCh + 1)), to: end};
+});
+
+CodeMirror.registerHelper("fold", "include", function(cm, start) {
+ function hasInclude(line) {
+ if (line < cm.firstLine() || line > cm.lastLine()) return null;
+ var start = cm.getTokenAt(CodeMirror.Pos(line, 1));
+ if (!/\S/.test(start.string)) start = cm.getTokenAt(CodeMirror.Pos(line, start.end + 1));
+ if (start.type == "meta" && start.string.slice(0, 8) == "#include") return start.start + 8;
+ }
+
+ var start = start.line, has = hasInclude(start);
+ if (has == null || hasInclude(start - 1) != null) return null;
+ for (var end = start;;) {
+ var next = hasInclude(end + 1);
+ if (next == null) break;
+ ++end;
+ }
+ return {from: CodeMirror.Pos(start, has + 1),
+ to: cm.clipPos(CodeMirror.Pos(end))};
+});
+
+});
diff --git a/public/vendor/codemirror/addon/fold/comment-fold.js b/public/vendor/codemirror/addon/fold/comment-fold.js
new file mode 100755
index 00000000..b75db7ea
--- /dev/null
+++ b/public/vendor/codemirror/addon/fold/comment-fold.js
@@ -0,0 +1,57 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+"use strict";
+
+CodeMirror.registerGlobalHelper("fold", "comment", function(mode) {
+ return mode.blockCommentStart && mode.blockCommentEnd;
+}, function(cm, start) {
+ var mode = cm.getModeAt(start), startToken = mode.blockCommentStart, endToken = mode.blockCommentEnd;
+ if (!startToken || !endToken) return;
+ var line = start.line, lineText = cm.getLine(line);
+
+ var startCh;
+ for (var at = start.ch, pass = 0;;) {
+ var found = at <= 0 ? -1 : lineText.lastIndexOf(startToken, at - 1);
+ if (found == -1) {
+ if (pass == 1) return;
+ pass = 1;
+ at = lineText.length;
+ continue;
+ }
+ if (pass == 1 && found < start.ch) return;
+ if (/comment/.test(cm.getTokenTypeAt(CodeMirror.Pos(line, found + 1)))) {
+ startCh = found + startToken.length;
+ break;
+ }
+ at = found - 1;
+ }
+
+ var depth = 1, lastLine = cm.lastLine(), end, endCh;
+ outer: for (var i = line; i <= lastLine; ++i) {
+ var text = cm.getLine(i), pos = i == line ? startCh : 0;
+ for (;;) {
+ var nextOpen = text.indexOf(startToken, pos), nextClose = text.indexOf(endToken, pos);
+ if (nextOpen < 0) nextOpen = text.length;
+ if (nextClose < 0) nextClose = text.length;
+ pos = Math.min(nextOpen, nextClose);
+ if (pos == text.length) break;
+ if (pos == nextOpen) ++depth;
+ else if (!--depth) { end = i; endCh = pos; break outer; }
+ ++pos;
+ }
+ }
+ if (end == null || line == end && endCh == startCh) return;
+ return {from: CodeMirror.Pos(line, startCh),
+ to: CodeMirror.Pos(end, endCh)};
+});
+
+});
diff --git a/public/vendor/codemirror/addon/fold/foldcode.js b/public/vendor/codemirror/addon/fold/foldcode.js
new file mode 100755
index 00000000..62911f93
--- /dev/null
+++ b/public/vendor/codemirror/addon/fold/foldcode.js
@@ -0,0 +1,149 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+ "use strict";
+
+ function doFold(cm, pos, options, force) {
+ if (options && options.call) {
+ var finder = options;
+ options = null;
+ } else {
+ var finder = getOption(cm, options, "rangeFinder");
+ }
+ if (typeof pos == "number") pos = CodeMirror.Pos(pos, 0);
+ var minSize = getOption(cm, options, "minFoldSize");
+
+ function getRange(allowFolded) {
+ var range = finder(cm, pos);
+ if (!range || range.to.line - range.from.line < minSize) return null;
+ var marks = cm.findMarksAt(range.from);
+ for (var i = 0; i < marks.length; ++i) {
+ if (marks[i].__isFold && force !== "fold") {
+ if (!allowFolded) return null;
+ range.cleared = true;
+ marks[i].clear();
+ }
+ }
+ return range;
+ }
+
+ var range = getRange(true);
+ if (getOption(cm, options, "scanUp")) while (!range && pos.line > cm.firstLine()) {
+ pos = CodeMirror.Pos(pos.line - 1, 0);
+ range = getRange(false);
+ }
+ if (!range || range.cleared || force === "unfold") return;
+
+ var myWidget = makeWidget(cm, options);
+ CodeMirror.on(myWidget, "mousedown", function(e) {
+ myRange.clear();
+ CodeMirror.e_preventDefault(e);
+ });
+ var myRange = cm.markText(range.from, range.to, {
+ replacedWith: myWidget,
+ clearOnEnter: true,
+ __isFold: true
+ });
+ myRange.on("clear", function(from, to) {
+ CodeMirror.signal(cm, "unfold", cm, from, to);
+ });
+ CodeMirror.signal(cm, "fold", cm, range.from, range.to);
+ }
+
+ function makeWidget(cm, options) {
+ var widget = getOption(cm, options, "widget");
+ if (typeof widget == "string") {
+ var text = document.createTextNode(widget);
+ widget = document.createElement("span");
+ widget.appendChild(text);
+ widget.className = "CodeMirror-foldmarker";
+ }
+ return widget;
+ }
+
+ // Clumsy backwards-compatible interface
+ CodeMirror.newFoldFunction = function(rangeFinder, widget) {
+ return function(cm, pos) { doFold(cm, pos, {rangeFinder: rangeFinder, widget: widget}); };
+ };
+
+ // New-style interface
+ CodeMirror.defineExtension("foldCode", function(pos, options, force) {
+ doFold(this, pos, options, force);
+ });
+
+ CodeMirror.defineExtension("isFolded", function(pos) {
+ var marks = this.findMarksAt(pos);
+ for (var i = 0; i < marks.length; ++i)
+ if (marks[i].__isFold) return true;
+ });
+
+ CodeMirror.commands.toggleFold = function(cm) {
+ cm.foldCode(cm.getCursor());
+ };
+ CodeMirror.commands.fold = function(cm) {
+ cm.foldCode(cm.getCursor(), null, "fold");
+ };
+ CodeMirror.commands.unfold = function(cm) {
+ cm.foldCode(cm.getCursor(), null, "unfold");
+ };
+ CodeMirror.commands.foldAll = function(cm) {
+ cm.operation(function() {
+ for (var i = cm.firstLine(), e = cm.lastLine(); i <= e; i++)
+ cm.foldCode(CodeMirror.Pos(i, 0), null, "fold");
+ });
+ };
+ CodeMirror.commands.unfoldAll = function(cm) {
+ cm.operation(function() {
+ for (var i = cm.firstLine(), e = cm.lastLine(); i <= e; i++)
+ cm.foldCode(CodeMirror.Pos(i, 0), null, "unfold");
+ });
+ };
+
+ CodeMirror.registerHelper("fold", "combine", function() {
+ var funcs = Array.prototype.slice.call(arguments, 0);
+ return function(cm, start) {
+ for (var i = 0; i < funcs.length; ++i) {
+ var found = funcs[i](cm, start);
+ if (found) return found;
+ }
+ };
+ });
+
+ CodeMirror.registerHelper("fold", "auto", function(cm, start) {
+ var helpers = cm.getHelpers(start, "fold");
+ for (var i = 0; i < helpers.length; i++) {
+ var cur = helpers[i](cm, start);
+ if (cur) return cur;
+ }
+ });
+
+ var defaultOptions = {
+ rangeFinder: CodeMirror.fold.auto,
+ widget: "\u2194",
+ minFoldSize: 0,
+ scanUp: false
+ };
+
+ CodeMirror.defineOption("foldOptions", null);
+
+ function getOption(cm, options, name) {
+ if (options && options[name] !== undefined)
+ return options[name];
+ var editorOptions = cm.options.foldOptions;
+ if (editorOptions && editorOptions[name] !== undefined)
+ return editorOptions[name];
+ return defaultOptions[name];
+ }
+
+ CodeMirror.defineExtension("foldOption", function(options, name) {
+ return getOption(this, options, name);
+ });
+});
diff --git a/public/vendor/codemirror/addon/fold/foldgutter.css b/public/vendor/codemirror/addon/fold/foldgutter.css
new file mode 100755
index 00000000..ad19ae2d
--- /dev/null
+++ b/public/vendor/codemirror/addon/fold/foldgutter.css
@@ -0,0 +1,20 @@
+.CodeMirror-foldmarker {
+ color: blue;
+ text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px;
+ font-family: arial;
+ line-height: .3;
+ cursor: pointer;
+}
+.CodeMirror-foldgutter {
+ width: .7em;
+}
+.CodeMirror-foldgutter-open,
+.CodeMirror-foldgutter-folded {
+ cursor: pointer;
+}
+.CodeMirror-foldgutter-open:after {
+ content: "\25BE";
+}
+.CodeMirror-foldgutter-folded:after {
+ content: "\25B8";
+}
diff --git a/public/vendor/codemirror/addon/fold/foldgutter.js b/public/vendor/codemirror/addon/fold/foldgutter.js
new file mode 100755
index 00000000..ed7bd87d
--- /dev/null
+++ b/public/vendor/codemirror/addon/fold/foldgutter.js
@@ -0,0 +1,146 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"), require("./foldcode"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror", "./foldcode"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+ "use strict";
+
+ CodeMirror.defineOption("foldGutter", false, function(cm, val, old) {
+ if (old && old != CodeMirror.Init) {
+ cm.clearGutter(cm.state.foldGutter.options.gutter);
+ cm.state.foldGutter = null;
+ cm.off("gutterClick", onGutterClick);
+ cm.off("change", onChange);
+ cm.off("viewportChange", onViewportChange);
+ cm.off("fold", onFold);
+ cm.off("unfold", onFold);
+ cm.off("swapDoc", updateInViewport);
+ }
+ if (val) {
+ cm.state.foldGutter = new State(parseOptions(val));
+ updateInViewport(cm);
+ cm.on("gutterClick", onGutterClick);
+ cm.on("change", onChange);
+ cm.on("viewportChange", onViewportChange);
+ cm.on("fold", onFold);
+ cm.on("unfold", onFold);
+ cm.on("swapDoc", updateInViewport);
+ }
+ });
+
+ var Pos = CodeMirror.Pos;
+
+ function State(options) {
+ this.options = options;
+ this.from = this.to = 0;
+ }
+
+ function parseOptions(opts) {
+ if (opts === true) opts = {};
+ if (opts.gutter == null) opts.gutter = "CodeMirror-foldgutter";
+ if (opts.indicatorOpen == null) opts.indicatorOpen = "CodeMirror-foldgutter-open";
+ if (opts.indicatorFolded == null) opts.indicatorFolded = "CodeMirror-foldgutter-folded";
+ return opts;
+ }
+
+ function isFolded(cm, line) {
+ var marks = cm.findMarksAt(Pos(line));
+ for (var i = 0; i < marks.length; ++i)
+ if (marks[i].__isFold && marks[i].find().from.line == line) return marks[i];
+ }
+
+ function marker(spec) {
+ if (typeof spec == "string") {
+ var elt = document.createElement("div");
+ elt.className = spec + " CodeMirror-guttermarker-subtle";
+ return elt;
+ } else {
+ return spec.cloneNode(true);
+ }
+ }
+
+ function updateFoldInfo(cm, from, to) {
+ var opts = cm.state.foldGutter.options, cur = from;
+ var minSize = cm.foldOption(opts, "minFoldSize");
+ var func = cm.foldOption(opts, "rangeFinder");
+ cm.eachLine(from, to, function(line) {
+ var mark = null;
+ if (isFolded(cm, cur)) {
+ mark = marker(opts.indicatorFolded);
+ } else {
+ var pos = Pos(cur, 0);
+ var range = func && func(cm, pos);
+ if (range && range.to.line - range.from.line >= minSize)
+ mark = marker(opts.indicatorOpen);
+ }
+ cm.setGutterMarker(line, opts.gutter, mark);
+ ++cur;
+ });
+ }
+
+ function updateInViewport(cm) {
+ var vp = cm.getViewport(), state = cm.state.foldGutter;
+ if (!state) return;
+ cm.operation(function() {
+ updateFoldInfo(cm, vp.from, vp.to);
+ });
+ state.from = vp.from; state.to = vp.to;
+ }
+
+ function onGutterClick(cm, line, gutter) {
+ var state = cm.state.foldGutter;
+ if (!state) return;
+ var opts = state.options;
+ if (gutter != opts.gutter) return;
+ var folded = isFolded(cm, line);
+ if (folded) folded.clear();
+ else cm.foldCode(Pos(line, 0), opts.rangeFinder);
+ }
+
+ function onChange(cm) {
+ var state = cm.state.foldGutter;
+ if (!state) return;
+ var opts = state.options;
+ state.from = state.to = 0;
+ clearTimeout(state.changeUpdate);
+ state.changeUpdate = setTimeout(function() { updateInViewport(cm); }, opts.foldOnChangeTimeSpan || 600);
+ }
+
+ function onViewportChange(cm) {
+ var state = cm.state.foldGutter;
+ if (!state) return;
+ var opts = state.options;
+ clearTimeout(state.changeUpdate);
+ state.changeUpdate = setTimeout(function() {
+ var vp = cm.getViewport();
+ if (state.from == state.to || vp.from - state.to > 20 || state.from - vp.to > 20) {
+ updateInViewport(cm);
+ } else {
+ cm.operation(function() {
+ if (vp.from < state.from) {
+ updateFoldInfo(cm, vp.from, state.from);
+ state.from = vp.from;
+ }
+ if (vp.to > state.to) {
+ updateFoldInfo(cm, state.to, vp.to);
+ state.to = vp.to;
+ }
+ });
+ }
+ }, opts.updateViewportTimeSpan || 400);
+ }
+
+ function onFold(cm, from) {
+ var state = cm.state.foldGutter;
+ if (!state) return;
+ var line = from.line;
+ if (line >= state.from && line < state.to)
+ updateFoldInfo(cm, line, line + 1);
+ }
+});
diff --git a/public/vendor/codemirror/addon/fold/indent-fold.js b/public/vendor/codemirror/addon/fold/indent-fold.js
new file mode 100755
index 00000000..e29f15e9
--- /dev/null
+++ b/public/vendor/codemirror/addon/fold/indent-fold.js
@@ -0,0 +1,44 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+"use strict";
+
+CodeMirror.registerHelper("fold", "indent", function(cm, start) {
+ var tabSize = cm.getOption("tabSize"), firstLine = cm.getLine(start.line);
+ if (!/\S/.test(firstLine)) return;
+ var getIndent = function(line) {
+ return CodeMirror.countColumn(line, null, tabSize);
+ };
+ var myIndent = getIndent(firstLine);
+ var lastLineInFold = null;
+ // Go through lines until we find a line that definitely doesn't belong in
+ // the block we're folding, or to the end.
+ for (var i = start.line + 1, end = cm.lastLine(); i <= end; ++i) {
+ var curLine = cm.getLine(i);
+ var curIndent = getIndent(curLine);
+ if (curIndent > myIndent) {
+ // Lines with a greater indent are considered part of the block.
+ lastLineInFold = i;
+ } else if (!/\S/.test(curLine)) {
+ // Empty lines might be breaks within the block we're trying to fold.
+ } else {
+ // A non-empty line at an indent equal to or less than ours marks the
+ // start of another block.
+ break;
+ }
+ }
+ if (lastLineInFold) return {
+ from: CodeMirror.Pos(start.line, firstLine.length),
+ to: CodeMirror.Pos(lastLineInFold, cm.getLine(lastLineInFold).length)
+ };
+});
+
+});
diff --git a/public/vendor/codemirror/addon/fold/markdown-fold.js b/public/vendor/codemirror/addon/fold/markdown-fold.js
new file mode 100755
index 00000000..ce84c946
--- /dev/null
+++ b/public/vendor/codemirror/addon/fold/markdown-fold.js
@@ -0,0 +1,49 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+"use strict";
+
+CodeMirror.registerHelper("fold", "markdown", function(cm, start) {
+ var maxDepth = 100;
+
+ function isHeader(lineNo) {
+ var tokentype = cm.getTokenTypeAt(CodeMirror.Pos(lineNo, 0));
+ return tokentype && /\bheader\b/.test(tokentype);
+ }
+
+ function headerLevel(lineNo, line, nextLine) {
+ var match = line && line.match(/^#+/);
+ if (match && isHeader(lineNo)) return match[0].length;
+ match = nextLine && nextLine.match(/^[=\-]+\s*$/);
+ if (match && isHeader(lineNo + 1)) return nextLine[0] == "=" ? 1 : 2;
+ return maxDepth;
+ }
+
+ var firstLine = cm.getLine(start.line), nextLine = cm.getLine(start.line + 1);
+ var level = headerLevel(start.line, firstLine, nextLine);
+ if (level === maxDepth) return undefined;
+
+ var lastLineNo = cm.lastLine();
+ var end = start.line, nextNextLine = cm.getLine(end + 2);
+ while (end < lastLineNo) {
+ if (headerLevel(end + 1, nextLine, nextNextLine) <= level) break;
+ ++end;
+ nextLine = nextNextLine;
+ nextNextLine = cm.getLine(end + 2);
+ }
+
+ return {
+ from: CodeMirror.Pos(start.line, firstLine.length),
+ to: CodeMirror.Pos(end, cm.getLine(end).length)
+ };
+});
+
+});
diff --git a/public/vendor/codemirror/addon/fold/xml-fold.js b/public/vendor/codemirror/addon/fold/xml-fold.js
new file mode 100755
index 00000000..504727f3
--- /dev/null
+++ b/public/vendor/codemirror/addon/fold/xml-fold.js
@@ -0,0 +1,182 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+ "use strict";
+
+ var Pos = CodeMirror.Pos;
+ function cmp(a, b) { return a.line - b.line || a.ch - b.ch; }
+
+ 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";
+ var nameChar = nameStartChar + "\-\:\.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040";
+ var xmlTagStart = new RegExp("<(/?)([" + nameStartChar + "][" + nameChar + "]*)", "g");
+
+ function Iter(cm, line, ch, range) {
+ this.line = line; this.ch = ch;
+ this.cm = cm; this.text = cm.getLine(line);
+ this.min = range ? range.from : cm.firstLine();
+ this.max = range ? range.to - 1 : cm.lastLine();
+ }
+
+ function tagAt(iter, ch) {
+ var type = iter.cm.getTokenTypeAt(Pos(iter.line, ch));
+ return type && /\btag\b/.test(type);
+ }
+
+ function nextLine(iter) {
+ if (iter.line >= iter.max) return;
+ iter.ch = 0;
+ iter.text = iter.cm.getLine(++iter.line);
+ return true;
+ }
+ function prevLine(iter) {
+ if (iter.line <= iter.min) return;
+ iter.text = iter.cm.getLine(--iter.line);
+ iter.ch = iter.text.length;
+ return true;
+ }
+
+ function toTagEnd(iter) {
+ for (;;) {
+ var gt = iter.text.indexOf(">", iter.ch);
+ if (gt == -1) { if (nextLine(iter)) continue; else return; }
+ if (!tagAt(iter, gt + 1)) { iter.ch = gt + 1; continue; }
+ var lastSlash = iter.text.lastIndexOf("/", gt);
+ var selfClose = lastSlash > -1 && !/\S/.test(iter.text.slice(lastSlash + 1, gt));
+ iter.ch = gt + 1;
+ return selfClose ? "selfClose" : "regular";
+ }
+ }
+ function toTagStart(iter) {
+ for (;;) {
+ var lt = iter.ch ? iter.text.lastIndexOf("<", iter.ch - 1) : -1;
+ if (lt == -1) { if (prevLine(iter)) continue; else return; }
+ if (!tagAt(iter, lt + 1)) { iter.ch = lt; continue; }
+ xmlTagStart.lastIndex = lt;
+ iter.ch = lt;
+ var match = xmlTagStart.exec(iter.text);
+ if (match && match.index == lt) return match;
+ }
+ }
+
+ function toNextTag(iter) {
+ for (;;) {
+ xmlTagStart.lastIndex = iter.ch;
+ var found = xmlTagStart.exec(iter.text);
+ if (!found) { if (nextLine(iter)) continue; else return; }
+ if (!tagAt(iter, found.index + 1)) { iter.ch = found.index + 1; continue; }
+ iter.ch = found.index + found[0].length;
+ return found;
+ }
+ }
+ function toPrevTag(iter) {
+ for (;;) {
+ var gt = iter.ch ? iter.text.lastIndexOf(">", iter.ch - 1) : -1;
+ if (gt == -1) { if (prevLine(iter)) continue; else return; }
+ if (!tagAt(iter, gt + 1)) { iter.ch = gt; continue; }
+ var lastSlash = iter.text.lastIndexOf("/", gt);
+ var selfClose = lastSlash > -1 && !/\S/.test(iter.text.slice(lastSlash + 1, gt));
+ iter.ch = gt + 1;
+ return selfClose ? "selfClose" : "regular";
+ }
+ }
+
+ function findMatchingClose(iter, tag) {
+ var stack = [];
+ for (;;) {
+ var next = toNextTag(iter), end, startLine = iter.line, startCh = iter.ch - (next ? next[0].length : 0);
+ if (!next || !(end = toTagEnd(iter))) return;
+ if (end == "selfClose") continue;
+ if (next[1]) { // closing tag
+ for (var i = stack.length - 1; i >= 0; --i) if (stack[i] == next[2]) {
+ stack.length = i;
+ break;
+ }
+ if (i < 0 && (!tag || tag == next[2])) return {
+ tag: next[2],
+ from: Pos(startLine, startCh),
+ to: Pos(iter.line, iter.ch)
+ };
+ } else { // opening tag
+ stack.push(next[2]);
+ }
+ }
+ }
+ function findMatchingOpen(iter, tag) {
+ var stack = [];
+ for (;;) {
+ var prev = toPrevTag(iter);
+ if (!prev) return;
+ if (prev == "selfClose") { toTagStart(iter); continue; }
+ var endLine = iter.line, endCh = iter.ch;
+ var start = toTagStart(iter);
+ if (!start) return;
+ if (start[1]) { // closing tag
+ stack.push(start[2]);
+ } else { // opening tag
+ for (var i = stack.length - 1; i >= 0; --i) if (stack[i] == start[2]) {
+ stack.length = i;
+ break;
+ }
+ if (i < 0 && (!tag || tag == start[2])) return {
+ tag: start[2],
+ from: Pos(iter.line, iter.ch),
+ to: Pos(endLine, endCh)
+ };
+ }
+ }
+ }
+
+ CodeMirror.registerHelper("fold", "xml", function(cm, start) {
+ var iter = new Iter(cm, start.line, 0);
+ for (;;) {
+ var openTag = toNextTag(iter), end;
+ if (!openTag || iter.line != start.line || !(end = toTagEnd(iter))) return;
+ if (!openTag[1] && end != "selfClose") {
+ var start = Pos(iter.line, iter.ch);
+ var close = findMatchingClose(iter, openTag[2]);
+ return close && {from: start, to: close.from};
+ }
+ }
+ });
+ CodeMirror.findMatchingTag = function(cm, pos, range) {
+ var iter = new Iter(cm, pos.line, pos.ch, range);
+ if (iter.text.indexOf(">") == -1 && iter.text.indexOf("<") == -1) return;
+ var end = toTagEnd(iter), to = end && Pos(iter.line, iter.ch);
+ var start = end && toTagStart(iter);
+ if (!end || !start || cmp(iter, pos) > 0) return;
+ var here = {from: Pos(iter.line, iter.ch), to: to, tag: start[2]};
+ if (end == "selfClose") return {open: here, close: null, at: "open"};
+
+ if (start[1]) { // closing tag
+ return {open: findMatchingOpen(iter, start[2]), close: here, at: "close"};
+ } else { // opening tag
+ iter = new Iter(cm, to.line, to.ch, range);
+ return {open: here, close: findMatchingClose(iter, start[2]), at: "open"};
+ }
+ };
+
+ CodeMirror.findEnclosingTag = function(cm, pos, range) {
+ var iter = new Iter(cm, pos.line, pos.ch, range);
+ for (;;) {
+ var open = findMatchingOpen(iter);
+ if (!open) break;
+ var forward = new Iter(cm, pos.line, pos.ch, range);
+ var close = findMatchingClose(forward, open.tag);
+ if (close) return {open: open, close: close};
+ }
+ };
+
+ // Used by addon/edit/closetag.js
+ CodeMirror.scanForClosingTag = function(cm, pos, name, end) {
+ var iter = new Iter(cm, pos.line, pos.ch, end ? {from: 0, to: end} : null);
+ return findMatchingClose(iter, name);
+ };
+});
diff --git a/public/vendor/codemirror/addon/hint/anyword-hint.js b/public/vendor/codemirror/addon/hint/anyword-hint.js
new file mode 100755
index 00000000..8e74a920
--- /dev/null
+++ b/public/vendor/codemirror/addon/hint/anyword-hint.js
@@ -0,0 +1,41 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+ "use strict";
+
+ var WORD = /[\w$]+/, RANGE = 500;
+
+ CodeMirror.registerHelper("hint", "anyword", function(editor, options) {
+ var word = options && options.word || WORD;
+ var range = options && options.range || RANGE;
+ var cur = editor.getCursor(), curLine = editor.getLine(cur.line);
+ var end = cur.ch, start = end;
+ while (start && word.test(curLine.charAt(start - 1))) --start;
+ var curWord = start != end && curLine.slice(start, end);
+
+ var list = [], seen = {};
+ var re = new RegExp(word.source, "g");
+ for (var dir = -1; dir <= 1; dir += 2) {
+ var line = cur.line, endLine = Math.min(Math.max(line + dir * range, editor.firstLine()), editor.lastLine()) + dir;
+ for (; line != endLine; line += dir) {
+ var text = editor.getLine(line), m;
+ while (m = re.exec(text)) {
+ if (line == cur.line && m[0] === curWord) continue;
+ if ((!curWord || m[0].lastIndexOf(curWord, 0) == 0) && !Object.prototype.hasOwnProperty.call(seen, m[0])) {
+ seen[m[0]] = true;
+ list.push(m[0]);
+ }
+ }
+ }
+ }
+ return {list: list, from: CodeMirror.Pos(cur.line, start), to: CodeMirror.Pos(cur.line, end)};
+ });
+});
diff --git a/public/vendor/codemirror/addon/hint/css-hint.js b/public/vendor/codemirror/addon/hint/css-hint.js
new file mode 100755
index 00000000..22642727
--- /dev/null
+++ b/public/vendor/codemirror/addon/hint/css-hint.js
@@ -0,0 +1,60 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"), require("../../mode/css/css"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror", "../../mode/css/css"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+ "use strict";
+
+ var pseudoClasses = {link: 1, visited: 1, active: 1, hover: 1, focus: 1,
+ "first-letter": 1, "first-line": 1, "first-child": 1,
+ before: 1, after: 1, lang: 1};
+
+ CodeMirror.registerHelper("hint", "css", function(cm) {
+ var cur = cm.getCursor(), token = cm.getTokenAt(cur);
+ var inner = CodeMirror.innerMode(cm.getMode(), token.state);
+ if (inner.mode.name != "css") return;
+
+ if (token.type == "keyword" && "!important".indexOf(token.string) == 0)
+ return {list: ["!important"], from: CodeMirror.Pos(cur.line, token.start),
+ to: CodeMirror.Pos(cur.line, token.end)};
+
+ var start = token.start, end = cur.ch, word = token.string.slice(0, end - start);
+ if (/[^\w$_-]/.test(word)) {
+ word = ""; start = end = cur.ch;
+ }
+
+ var spec = CodeMirror.resolveMode("text/css");
+
+ var result = [];
+ function add(keywords) {
+ for (var name in keywords)
+ if (!word || name.lastIndexOf(word, 0) == 0)
+ result.push(name);
+ }
+
+ var st = inner.state.state;
+ if (st == "pseudo" || token.type == "variable-3") {
+ add(pseudoClasses);
+ } else if (st == "block" || st == "maybeprop") {
+ add(spec.propertyKeywords);
+ } else if (st == "prop" || st == "parens" || st == "at" || st == "params") {
+ add(spec.valueKeywords);
+ add(spec.colorKeywords);
+ } else if (st == "media" || st == "media_parens") {
+ add(spec.mediaTypes);
+ add(spec.mediaFeatures);
+ }
+
+ if (result.length) return {
+ list: result,
+ from: CodeMirror.Pos(cur.line, start),
+ to: CodeMirror.Pos(cur.line, end)
+ };
+ });
+});
diff --git a/public/vendor/codemirror/addon/hint/html-hint.js b/public/vendor/codemirror/addon/hint/html-hint.js
new file mode 100755
index 00000000..c6769bca
--- /dev/null
+++ b/public/vendor/codemirror/addon/hint/html-hint.js
@@ -0,0 +1,348 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"), require("./xml-hint"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror", "./xml-hint"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+ "use strict";
+
+ 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(" ");
+ var targets = ["_blank", "_self", "_top", "_parent"];
+ var charsets = ["ascii", "utf-8", "utf-16", "latin1", "latin1"];
+ var methods = ["get", "post", "put", "delete"];
+ var encs = ["application/x-www-form-urlencoded", "multipart/form-data", "text/plain"];
+ var media = ["all", "screen", "print", "embossed", "braille", "handheld", "print", "projection", "screen", "tty", "tv", "speech",
+ "3d-glasses", "resolution [>][<][=] [X]", "device-aspect-ratio: X/Y", "orientation:portrait",
+ "orientation:landscape", "device-height: [X]", "device-width: [X]"];
+ var s = { attrs: {} }; // Simple tag, reused for a whole lot of tags
+
+ var data = {
+ a: {
+ attrs: {
+ href: null, ping: null, type: null,
+ media: media,
+ target: targets,
+ hreflang: langs
+ }
+ },
+ abbr: s,
+ acronym: s,
+ address: s,
+ applet: s,
+ area: {
+ attrs: {
+ alt: null, coords: null, href: null, target: null, ping: null,
+ media: media, hreflang: langs, type: null,
+ shape: ["default", "rect", "circle", "poly"]
+ }
+ },
+ article: s,
+ aside: s,
+ audio: {
+ attrs: {
+ src: null, mediagroup: null,
+ crossorigin: ["anonymous", "use-credentials"],
+ preload: ["none", "metadata", "auto"],
+ autoplay: ["", "autoplay"],
+ loop: ["", "loop"],
+ controls: ["", "controls"]
+ }
+ },
+ b: s,
+ base: { attrs: { href: null, target: targets } },
+ basefont: s,
+ bdi: s,
+ bdo: s,
+ big: s,
+ blockquote: { attrs: { cite: null } },
+ body: s,
+ br: s,
+ button: {
+ attrs: {
+ form: null, formaction: null, name: null, value: null,
+ autofocus: ["", "autofocus"],
+ disabled: ["", "autofocus"],
+ formenctype: encs,
+ formmethod: methods,
+ formnovalidate: ["", "novalidate"],
+ formtarget: targets,
+ type: ["submit", "reset", "button"]
+ }
+ },
+ canvas: { attrs: { width: null, height: null } },
+ caption: s,
+ center: s,
+ cite: s,
+ code: s,
+ col: { attrs: { span: null } },
+ colgroup: { attrs: { span: null } },
+ command: {
+ attrs: {
+ type: ["command", "checkbox", "radio"],
+ label: null, icon: null, radiogroup: null, command: null, title: null,
+ disabled: ["", "disabled"],
+ checked: ["", "checked"]
+ }
+ },
+ data: { attrs: { value: null } },
+ datagrid: { attrs: { disabled: ["", "disabled"], multiple: ["", "multiple"] } },
+ datalist: { attrs: { data: null } },
+ dd: s,
+ del: { attrs: { cite: null, datetime: null } },
+ details: { attrs: { open: ["", "open"] } },
+ dfn: s,
+ dir: s,
+ div: s,
+ dl: s,
+ dt: s,
+ em: s,
+ embed: { attrs: { src: null, type: null, width: null, height: null } },
+ eventsource: { attrs: { src: null } },
+ fieldset: { attrs: { disabled: ["", "disabled"], form: null, name: null } },
+ figcaption: s,
+ figure: s,
+ font: s,
+ footer: s,
+ form: {
+ attrs: {
+ action: null, name: null,
+ "accept-charset": charsets,
+ autocomplete: ["on", "off"],
+ enctype: encs,
+ method: methods,
+ novalidate: ["", "novalidate"],
+ target: targets
+ }
+ },
+ frame: s,
+ frameset: s,
+ h1: s, h2: s, h3: s, h4: s, h5: s, h6: s,
+ head: {
+ attrs: {},
+ children: ["title", "base", "link", "style", "meta", "script", "noscript", "command"]
+ },
+ header: s,
+ hgroup: s,
+ hr: s,
+ html: {
+ attrs: { manifest: null },
+ children: ["head", "body"]
+ },
+ i: s,
+ iframe: {
+ attrs: {
+ src: null, srcdoc: null, name: null, width: null, height: null,
+ sandbox: ["allow-top-navigation", "allow-same-origin", "allow-forms", "allow-scripts"],
+ seamless: ["", "seamless"]
+ }
+ },
+ img: {
+ attrs: {
+ alt: null, src: null, ismap: null, usemap: null, width: null, height: null,
+ crossorigin: ["anonymous", "use-credentials"]
+ }
+ },
+ input: {
+ attrs: {
+ alt: null, dirname: null, form: null, formaction: null,
+ height: null, list: null, max: null, maxlength: null, min: null,
+ name: null, pattern: null, placeholder: null, size: null, src: null,
+ step: null, value: null, width: null,
+ accept: ["audio/*", "video/*", "image/*"],
+ autocomplete: ["on", "off"],
+ autofocus: ["", "autofocus"],
+ checked: ["", "checked"],
+ disabled: ["", "disabled"],
+ formenctype: encs,
+ formmethod: methods,
+ formnovalidate: ["", "novalidate"],
+ formtarget: targets,
+ multiple: ["", "multiple"],
+ readonly: ["", "readonly"],
+ required: ["", "required"],
+ type: ["hidden", "text", "search", "tel", "url", "email", "password", "datetime", "date", "month",
+ "week", "time", "datetime-local", "number", "range", "color", "checkbox", "radio",
+ "file", "submit", "image", "reset", "button"]
+ }
+ },
+ ins: { attrs: { cite: null, datetime: null } },
+ kbd: s,
+ keygen: {
+ attrs: {
+ challenge: null, form: null, name: null,
+ autofocus: ["", "autofocus"],
+ disabled: ["", "disabled"],
+ keytype: ["RSA"]
+ }
+ },
+ label: { attrs: { "for": null, form: null } },
+ legend: s,
+ li: { attrs: { value: null } },
+ link: {
+ attrs: {
+ href: null, type: null,
+ hreflang: langs,
+ media: media,
+ sizes: ["all", "16x16", "16x16 32x32", "16x16 32x32 64x64"]
+ }
+ },
+ map: { attrs: { name: null } },
+ mark: s,
+ menu: { attrs: { label: null, type: ["list", "context", "toolbar"] } },
+ meta: {
+ attrs: {
+ content: null,
+ charset: charsets,
+ name: ["viewport", "application-name", "author", "description", "generator", "keywords"],
+ "http-equiv": ["content-language", "content-type", "default-style", "refresh"]
+ }
+ },
+ meter: { attrs: { value: null, min: null, low: null, high: null, max: null, optimum: null } },
+ nav: s,
+ noframes: s,
+ noscript: s,
+ object: {
+ attrs: {
+ data: null, type: null, name: null, usemap: null, form: null, width: null, height: null,
+ typemustmatch: ["", "typemustmatch"]
+ }
+ },
+ ol: { attrs: { reversed: ["", "reversed"], start: null, type: ["1", "a", "A", "i", "I"] } },
+ optgroup: { attrs: { disabled: ["", "disabled"], label: null } },
+ option: { attrs: { disabled: ["", "disabled"], label: null, selected: ["", "selected"], value: null } },
+ output: { attrs: { "for": null, form: null, name: null } },
+ p: s,
+ param: { attrs: { name: null, value: null } },
+ pre: s,
+ progress: { attrs: { value: null, max: null } },
+ q: { attrs: { cite: null } },
+ rp: s,
+ rt: s,
+ ruby: s,
+ s: s,
+ samp: s,
+ script: {
+ attrs: {
+ type: ["text/javascript"],
+ src: null,
+ async: ["", "async"],
+ defer: ["", "defer"],
+ charset: charsets
+ }
+ },
+ section: s,
+ select: {
+ attrs: {
+ form: null, name: null, size: null,
+ autofocus: ["", "autofocus"],
+ disabled: ["", "disabled"],
+ multiple: ["", "multiple"]
+ }
+ },
+ small: s,
+ source: { attrs: { src: null, type: null, media: null } },
+ span: s,
+ strike: s,
+ strong: s,
+ style: {
+ attrs: {
+ type: ["text/css"],
+ media: media,
+ scoped: null
+ }
+ },
+ sub: s,
+ summary: s,
+ sup: s,
+ table: s,
+ tbody: s,
+ td: { attrs: { colspan: null, rowspan: null, headers: null } },
+ textarea: {
+ attrs: {
+ dirname: null, form: null, maxlength: null, name: null, placeholder: null,
+ rows: null, cols: null,
+ autofocus: ["", "autofocus"],
+ disabled: ["", "disabled"],
+ readonly: ["", "readonly"],
+ required: ["", "required"],
+ wrap: ["soft", "hard"]
+ }
+ },
+ tfoot: s,
+ th: { attrs: { colspan: null, rowspan: null, headers: null, scope: ["row", "col", "rowgroup", "colgroup"] } },
+ thead: s,
+ time: { attrs: { datetime: null } },
+ title: s,
+ tr: s,
+ track: {
+ attrs: {
+ src: null, label: null, "default": null,
+ kind: ["subtitles", "captions", "descriptions", "chapters", "metadata"],
+ srclang: langs
+ }
+ },
+ tt: s,
+ u: s,
+ ul: s,
+ "var": s,
+ video: {
+ attrs: {
+ src: null, poster: null, width: null, height: null,
+ crossorigin: ["anonymous", "use-credentials"],
+ preload: ["auto", "metadata", "none"],
+ autoplay: ["", "autoplay"],
+ mediagroup: ["movie"],
+ muted: ["", "muted"],
+ controls: ["", "controls"]
+ }
+ },
+ wbr: s
+ };
+
+ var globalAttrs = {
+ 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"],
+ "class": null,
+ contenteditable: ["true", "false"],
+ contextmenu: null,
+ dir: ["ltr", "rtl", "auto"],
+ draggable: ["true", "false", "auto"],
+ dropzone: ["copy", "move", "link", "string:", "file:"],
+ hidden: ["hidden"],
+ id: null,
+ inert: ["inert"],
+ itemid: null,
+ itemprop: null,
+ itemref: null,
+ itemscope: ["itemscope"],
+ itemtype: null,
+ lang: ["en", "es"],
+ spellcheck: ["true", "false"],
+ style: null,
+ tabindex: ["1", "2", "3", "4", "5", "6", "7", "8", "9"],
+ title: null,
+ translate: ["yes", "no"],
+ onclick: null,
+ rel: ["stylesheet", "alternate", "author", "bookmark", "help", "license", "next", "nofollow", "noreferrer", "prefetch", "prev", "search", "tag"]
+ };
+ function populate(obj) {
+ for (var attr in globalAttrs) if (globalAttrs.hasOwnProperty(attr))
+ obj.attrs[attr] = globalAttrs[attr];
+ }
+
+ populate(s);
+ for (var tag in data) if (data.hasOwnProperty(tag) && data[tag] != s)
+ populate(data[tag]);
+
+ CodeMirror.htmlSchema = data;
+ function htmlHint(cm, options) {
+ var local = {schemaInfo: data};
+ if (options) for (var opt in options) local[opt] = options[opt];
+ return CodeMirror.hint.xml(cm, local);
+ }
+ CodeMirror.registerHelper("hint", "html", htmlHint);
+});
diff --git a/public/vendor/codemirror/addon/hint/javascript-hint.js b/public/vendor/codemirror/addon/hint/javascript-hint.js
new file mode 100755
index 00000000..7bcbf4a0
--- /dev/null
+++ b/public/vendor/codemirror/addon/hint/javascript-hint.js
@@ -0,0 +1,146 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+ var Pos = CodeMirror.Pos;
+
+ function forEach(arr, f) {
+ for (var i = 0, e = arr.length; i < e; ++i) f(arr[i]);
+ }
+
+ function arrayContains(arr, item) {
+ if (!Array.prototype.indexOf) {
+ var i = arr.length;
+ while (i--) {
+ if (arr[i] === item) {
+ return true;
+ }
+ }
+ return false;
+ }
+ return arr.indexOf(item) != -1;
+ }
+
+ function scriptHint(editor, keywords, getToken, options) {
+ // Find the token at the cursor
+ var cur = editor.getCursor(), token = getToken(editor, cur);
+ if (/\b(?:string|comment)\b/.test(token.type)) return;
+ token.state = CodeMirror.innerMode(editor.getMode(), token.state).state;
+
+ // If it's not a 'word-style' token, ignore the token.
+ if (!/^[\w$_]*$/.test(token.string)) {
+ token = {start: cur.ch, end: cur.ch, string: "", state: token.state,
+ type: token.string == "." ? "property" : null};
+ } else if (token.end > cur.ch) {
+ token.end = cur.ch;
+ token.string = token.string.slice(0, cur.ch - token.start);
+ }
+
+ var tprop = token;
+ // If it is a property, find out what it is a property of.
+ while (tprop.type == "property") {
+ tprop = getToken(editor, Pos(cur.line, tprop.start));
+ if (tprop.string != ".") return;
+ tprop = getToken(editor, Pos(cur.line, tprop.start));
+ if (!context) var context = [];
+ context.push(tprop);
+ }
+ return {list: getCompletions(token, context, keywords, options),
+ from: Pos(cur.line, token.start),
+ to: Pos(cur.line, token.end)};
+ }
+
+ function javascriptHint(editor, options) {
+ return scriptHint(editor, javascriptKeywords,
+ function (e, cur) {return e.getTokenAt(cur);},
+ options);
+ };
+ CodeMirror.registerHelper("hint", "javascript", javascriptHint);
+
+ function getCoffeeScriptToken(editor, cur) {
+ // This getToken, it is for coffeescript, imitates the behavior of
+ // getTokenAt method in javascript.js, that is, returning "property"
+ // type and treat "." as indepenent token.
+ var token = editor.getTokenAt(cur);
+ if (cur.ch == token.start + 1 && token.string.charAt(0) == '.') {
+ token.end = token.start;
+ token.string = '.';
+ token.type = "property";
+ }
+ else if (/^\.[\w$_]*$/.test(token.string)) {
+ token.type = "property";
+ token.start++;
+ token.string = token.string.replace(/\./, '');
+ }
+ return token;
+ }
+
+ function coffeescriptHint(editor, options) {
+ return scriptHint(editor, coffeescriptKeywords, getCoffeeScriptToken, options);
+ }
+ CodeMirror.registerHelper("hint", "coffeescript", coffeescriptHint);
+
+ var stringProps = ("charAt charCodeAt indexOf lastIndexOf substring substr slice trim trimLeft trimRight " +
+ "toUpperCase toLowerCase split concat match replace search").split(" ");
+ var arrayProps = ("length concat join splice push pop shift unshift slice reverse sort indexOf " +
+ "lastIndexOf every some filter forEach map reduce reduceRight ").split(" ");
+ var funcProps = "prototype apply call bind".split(" ");
+ var javascriptKeywords = ("break case catch continue debugger default delete do else false finally for function " +
+ "if in instanceof new null return switch throw true try typeof var void while with").split(" ");
+ var coffeescriptKeywords = ("and break catch class continue delete do else extends false finally for " +
+ "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(" ");
+
+ function getCompletions(token, context, keywords, options) {
+ var found = [], start = token.string, global = options && options.globalScope || window;
+ function maybeAdd(str) {
+ if (str.lastIndexOf(start, 0) == 0 && !arrayContains(found, str)) found.push(str);
+ }
+ function gatherCompletions(obj) {
+ if (typeof obj == "string") forEach(stringProps, maybeAdd);
+ else if (obj instanceof Array) forEach(arrayProps, maybeAdd);
+ else if (obj instanceof Function) forEach(funcProps, maybeAdd);
+ for (var name in obj) maybeAdd(name);
+ }
+
+ if (context && context.length) {
+ // If this is a property, see if it belongs to some object we can
+ // find in the current environment.
+ var obj = context.pop(), base;
+ if (obj.type && obj.type.indexOf("variable") === 0) {
+ if (options && options.additionalContext)
+ base = options.additionalContext[obj.string];
+ if (!options || options.useGlobalScope !== false)
+ base = base || global[obj.string];
+ } else if (obj.type == "string") {
+ base = "";
+ } else if (obj.type == "atom") {
+ base = 1;
+ } else if (obj.type == "function") {
+ if (global.jQuery != null && (obj.string == '$' || obj.string == 'jQuery') &&
+ (typeof global.jQuery == 'function'))
+ base = global.jQuery();
+ else if (global._ != null && (obj.string == '_') && (typeof global._ == 'function'))
+ base = global._();
+ }
+ while (base != null && context.length)
+ base = base[context.pop().string];
+ if (base != null) gatherCompletions(base);
+ } else {
+ // If not, just look in the global object and any local scope
+ // (reading into JS mode internals to get at the local and global variables)
+ for (var v = token.state.localVars; v; v = v.next) maybeAdd(v.name);
+ for (var v = token.state.globalVars; v; v = v.next) maybeAdd(v.name);
+ if (!options || options.useGlobalScope !== false)
+ gatherCompletions(global);
+ forEach(keywords, maybeAdd);
+ }
+ return found;
+ }
+});
diff --git a/public/vendor/codemirror/addon/hint/show-hint.css b/public/vendor/codemirror/addon/hint/show-hint.css
new file mode 100755
index 00000000..924e638f
--- /dev/null
+++ b/public/vendor/codemirror/addon/hint/show-hint.css
@@ -0,0 +1,38 @@
+.CodeMirror-hints {
+ position: absolute;
+ z-index: 10;
+ overflow: hidden;
+ list-style: none;
+
+ margin: 0;
+ padding: 2px;
+
+ -webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
+ -moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
+ box-shadow: 2px 3px 5px rgba(0,0,0,.2);
+ border-radius: 3px;
+ border: 1px solid silver;
+
+ background: white;
+ font-size: 90%;
+ font-family: monospace;
+
+ max-height: 20em;
+ overflow-y: auto;
+}
+
+.CodeMirror-hint {
+ margin: 0;
+ padding: 0 4px;
+ border-radius: 2px;
+ max-width: 19em;
+ overflow: hidden;
+ white-space: pre;
+ color: black;
+ cursor: pointer;
+}
+
+li.CodeMirror-hint-active {
+ background: #08f;
+ color: white;
+}
diff --git a/public/vendor/codemirror/addon/hint/show-hint.js b/public/vendor/codemirror/addon/hint/show-hint.js
new file mode 100755
index 00000000..539181fd
--- /dev/null
+++ b/public/vendor/codemirror/addon/hint/show-hint.js
@@ -0,0 +1,392 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+ "use strict";
+
+ var HINT_ELEMENT_CLASS = "CodeMirror-hint";
+ var ACTIVE_HINT_ELEMENT_CLASS = "CodeMirror-hint-active";
+
+ // This is the old interface, kept around for now to stay
+ // backwards-compatible.
+ CodeMirror.showHint = function(cm, getHints, options) {
+ if (!getHints) return cm.showHint(options);
+ if (options && options.async) getHints.async = true;
+ var newOpts = {hint: getHints};
+ if (options) for (var prop in options) newOpts[prop] = options[prop];
+ return cm.showHint(newOpts);
+ };
+
+ CodeMirror.defineExtension("showHint", function(options) {
+ // We want a single cursor position.
+ if (this.listSelections().length > 1 || this.somethingSelected()) return;
+
+ if (this.state.completionActive) this.state.completionActive.close();
+ var completion = this.state.completionActive = new Completion(this, options);
+ if (!completion.options.hint) return;
+
+ CodeMirror.signal(this, "startCompletion", this);
+ completion.update();
+ });
+
+ function Completion(cm, options) {
+ this.cm = cm;
+ this.options = this.buildOptions(options);
+ this.widget = null;
+ this.debounce = 0;
+ this.tick = 0;
+ this.startPos = this.cm.getCursor();
+ this.startLen = this.cm.getLine(this.startPos.line).length;
+
+ var self = this;
+ cm.on("cursorActivity", this.activityFunc = function() { self.cursorActivity(); });
+ }
+
+ var requestAnimationFrame = window.requestAnimationFrame || function(fn) {
+ return setTimeout(fn, 1000/60);
+ };
+ var cancelAnimationFrame = window.cancelAnimationFrame || clearTimeout;
+
+ Completion.prototype = {
+ close: function() {
+ if (!this.active()) return;
+ this.cm.state.completionActive = null;
+ this.tick = null;
+ this.cm.off("cursorActivity", this.activityFunc);
+
+ if (this.widget) this.widget.close();
+ CodeMirror.signal(this.cm, "endCompletion", this.cm);
+ },
+
+ active: function() {
+ return this.cm.state.completionActive == this;
+ },
+
+ pick: function(data, i) {
+ var completion = data.list[i];
+ if (completion.hint) completion.hint(this.cm, data, completion);
+ else this.cm.replaceRange(getText(completion), completion.from || data.from,
+ completion.to || data.to, "complete");
+ CodeMirror.signal(data, "pick", completion);
+ this.close();
+ },
+
+ showHints: function(data) {
+ if (!data || !data.list.length || !this.active()) return this.close();
+
+ if (this.options.completeSingle && data.list.length == 1)
+ this.pick(data, 0);
+ else
+ this.showWidget(data);
+ },
+
+ cursorActivity: function() {
+ if (this.debounce) {
+ cancelAnimationFrame(this.debounce);
+ this.debounce = 0;
+ }
+
+ var pos = this.cm.getCursor(), line = this.cm.getLine(pos.line);
+ if (pos.line != this.startPos.line || line.length - pos.ch != this.startLen - this.startPos.ch ||
+ pos.ch < this.startPos.ch || this.cm.somethingSelected() ||
+ (pos.ch && this.options.closeCharacters.test(line.charAt(pos.ch - 1)))) {
+ this.close();
+ } else {
+ var self = this;
+ this.debounce = requestAnimationFrame(function() {self.update();});
+ if (this.widget) this.widget.disable();
+ }
+ },
+
+ update: function() {
+ if (this.tick == null) return;
+ if (this.data) CodeMirror.signal(this.data, "update");
+ if (!this.options.hint.async) {
+ this.finishUpdate(this.options.hint(this.cm, this.options), myTick);
+ } else {
+ var myTick = ++this.tick, self = this;
+ this.options.hint(this.cm, function(data) {
+ if (self.tick == myTick) self.finishUpdate(data);
+ }, this.options);
+ }
+ },
+
+ finishUpdate: function(data) {
+ this.data = data;
+ var picked = this.widget && this.widget.picked;
+ if (this.widget) this.widget.close();
+ if (data && data.list.length) {
+ if (picked && data.list.length == 1) this.pick(data, 0);
+ else this.widget = new Widget(this, data);
+ }
+ },
+
+ showWidget: function(data) {
+ this.data = data;
+ this.widget = new Widget(this, data);
+ CodeMirror.signal(data, "shown");
+ },
+
+ buildOptions: function(options) {
+ var editor = this.cm.options.hintOptions;
+ var out = {};
+ for (var prop in defaultOptions) out[prop] = defaultOptions[prop];
+ if (editor) for (var prop in editor)
+ if (editor[prop] !== undefined) out[prop] = editor[prop];
+ if (options) for (var prop in options)
+ if (options[prop] !== undefined) out[prop] = options[prop];
+ return out;
+ }
+ };
+
+ function getText(completion) {
+ if (typeof completion == "string") return completion;
+ else return completion.text;
+ }
+
+ function buildKeyMap(completion, handle) {
+ var baseMap = {
+ Up: function() {handle.moveFocus(-1);},
+ Down: function() {handle.moveFocus(1);},
+ PageUp: function() {handle.moveFocus(-handle.menuSize() + 1, true);},
+ PageDown: function() {handle.moveFocus(handle.menuSize() - 1, true);},
+ Home: function() {handle.setFocus(0);},
+ End: function() {handle.setFocus(handle.length - 1);},
+ Enter: handle.pick,
+ Tab: handle.pick,
+ Esc: handle.close
+ };
+ var custom = completion.options.customKeys;
+ var ourMap = custom ? {} : baseMap;
+ function addBinding(key, val) {
+ var bound;
+ if (typeof val != "string")
+ bound = function(cm) { return val(cm, handle); };
+ // This mechanism is deprecated
+ else if (baseMap.hasOwnProperty(val))
+ bound = baseMap[val];
+ else
+ bound = val;
+ ourMap[key] = bound;
+ }
+ if (custom)
+ for (var key in custom) if (custom.hasOwnProperty(key))
+ addBinding(key, custom[key]);
+ var extra = completion.options.extraKeys;
+ if (extra)
+ for (var key in extra) if (extra.hasOwnProperty(key))
+ addBinding(key, extra[key]);
+ return ourMap;
+ }
+
+ function getHintElement(hintsElement, el) {
+ while (el && el != hintsElement) {
+ if (el.nodeName.toUpperCase() === "LI" && el.parentNode == hintsElement) return el;
+ el = el.parentNode;
+ }
+ }
+
+ function Widget(completion, data) {
+ this.completion = completion;
+ this.data = data;
+ this.picked = false;
+ var widget = this, cm = completion.cm;
+
+ var hints = this.hints = document.createElement("ul");
+ hints.className = "CodeMirror-hints";
+ this.selectedHint = data.selectedHint || 0;
+
+ var completions = data.list;
+ for (var i = 0; i < completions.length; ++i) {
+ var elt = hints.appendChild(document.createElement("li")), cur = completions[i];
+ var className = HINT_ELEMENT_CLASS + (i != this.selectedHint ? "" : " " + ACTIVE_HINT_ELEMENT_CLASS);
+ if (cur.className != null) className = cur.className + " " + className;
+ elt.className = className;
+ if (cur.render) cur.render(elt, data, cur);
+ else elt.appendChild(document.createTextNode(cur.displayText || getText(cur)));
+ elt.hintId = i;
+ }
+
+ var pos = cm.cursorCoords(completion.options.alignWithWord ? data.from : null);
+ var left = pos.left, top = pos.bottom, below = true;
+ hints.style.left = left + "px";
+ hints.style.top = top + "px";
+ // If we're at the edge of the screen, then we want the menu to appear on the left of the cursor.
+ var winW = window.innerWidth || Math.max(document.body.offsetWidth, document.documentElement.offsetWidth);
+ var winH = window.innerHeight || Math.max(document.body.offsetHeight, document.documentElement.offsetHeight);
+ (completion.options.container || document.body).appendChild(hints);
+ var box = hints.getBoundingClientRect(), overlapY = box.bottom - winH;
+ if (overlapY > 0) {
+ var height = box.bottom - box.top, curTop = pos.top - (pos.bottom - box.top);
+ if (curTop - height > 0) { // Fits above cursor
+ hints.style.top = (top = pos.top - height) + "px";
+ below = false;
+ } else if (height > winH) {
+ hints.style.height = (winH - 5) + "px";
+ hints.style.top = (top = pos.bottom - box.top) + "px";
+ var cursor = cm.getCursor();
+ if (data.from.ch != cursor.ch) {
+ pos = cm.cursorCoords(cursor);
+ hints.style.left = (left = pos.left) + "px";
+ box = hints.getBoundingClientRect();
+ }
+ }
+ }
+ var overlapX = box.right - winW;
+ if (overlapX > 0) {
+ if (box.right - box.left > winW) {
+ hints.style.width = (winW - 5) + "px";
+ overlapX -= (box.right - box.left) - winW;
+ }
+ hints.style.left = (left = pos.left - overlapX) + "px";
+ }
+
+ cm.addKeyMap(this.keyMap = buildKeyMap(completion, {
+ moveFocus: function(n, avoidWrap) { widget.changeActive(widget.selectedHint + n, avoidWrap); },
+ setFocus: function(n) { widget.changeActive(n); },
+ menuSize: function() { return widget.screenAmount(); },
+ length: completions.length,
+ close: function() { completion.close(); },
+ pick: function() { widget.pick(); },
+ data: data
+ }));
+
+ if (completion.options.closeOnUnfocus) {
+ var closingOnBlur;
+ cm.on("blur", this.onBlur = function() { closingOnBlur = setTimeout(function() { completion.close(); }, 100); });
+ cm.on("focus", this.onFocus = function() { clearTimeout(closingOnBlur); });
+ }
+
+ var startScroll = cm.getScrollInfo();
+ cm.on("scroll", this.onScroll = function() {
+ var curScroll = cm.getScrollInfo(), editor = cm.getWrapperElement().getBoundingClientRect();
+ var newTop = top + startScroll.top - curScroll.top;
+ var point = newTop - (window.pageYOffset || (document.documentElement || document.body).scrollTop);
+ if (!below) point += hints.offsetHeight;
+ if (point <= editor.top || point >= editor.bottom) return completion.close();
+ hints.style.top = newTop + "px";
+ hints.style.left = (left + startScroll.left - curScroll.left) + "px";
+ });
+
+ CodeMirror.on(hints, "dblclick", function(e) {
+ var t = getHintElement(hints, e.target || e.srcElement);
+ if (t && t.hintId != null) {widget.changeActive(t.hintId); widget.pick();}
+ });
+
+ CodeMirror.on(hints, "click", function(e) {
+ var t = getHintElement(hints, e.target || e.srcElement);
+ if (t && t.hintId != null) {
+ widget.changeActive(t.hintId);
+ if (completion.options.completeOnSingleClick) widget.pick();
+ }
+ });
+
+ CodeMirror.on(hints, "mousedown", function() {
+ setTimeout(function(){cm.focus();}, 20);
+ });
+
+ CodeMirror.signal(data, "select", completions[0], hints.firstChild);
+ return true;
+ }
+
+ Widget.prototype = {
+ close: function() {
+ if (this.completion.widget != this) return;
+ this.completion.widget = null;
+ this.hints.parentNode.removeChild(this.hints);
+ this.completion.cm.removeKeyMap(this.keyMap);
+
+ var cm = this.completion.cm;
+ if (this.completion.options.closeOnUnfocus) {
+ cm.off("blur", this.onBlur);
+ cm.off("focus", this.onFocus);
+ }
+ cm.off("scroll", this.onScroll);
+ },
+
+ disable: function() {
+ this.completion.cm.removeKeyMap(this.keyMap);
+ var widget = this;
+ this.keyMap = {Enter: function() { widget.picked = true; }};
+ this.completion.cm.addKeyMap(this.keyMap);
+ },
+
+ pick: function() {
+ this.completion.pick(this.data, this.selectedHint);
+ },
+
+ changeActive: function(i, avoidWrap) {
+ if (i >= this.data.list.length)
+ i = avoidWrap ? this.data.list.length - 1 : 0;
+ else if (i < 0)
+ i = avoidWrap ? 0 : this.data.list.length - 1;
+ if (this.selectedHint == i) return;
+ var node = this.hints.childNodes[this.selectedHint];
+ node.className = node.className.replace(" " + ACTIVE_HINT_ELEMENT_CLASS, "");
+ node = this.hints.childNodes[this.selectedHint = i];
+ node.className += " " + ACTIVE_HINT_ELEMENT_CLASS;
+ if (node.offsetTop < this.hints.scrollTop)
+ this.hints.scrollTop = node.offsetTop - 3;
+ else if (node.offsetTop + node.offsetHeight > this.hints.scrollTop + this.hints.clientHeight)
+ this.hints.scrollTop = node.offsetTop + node.offsetHeight - this.hints.clientHeight + 3;
+ CodeMirror.signal(this.data, "select", this.data.list[this.selectedHint], node);
+ },
+
+ screenAmount: function() {
+ return Math.floor(this.hints.clientHeight / this.hints.firstChild.offsetHeight) || 1;
+ }
+ };
+
+ CodeMirror.registerHelper("hint", "auto", function(cm, options) {
+ var helpers = cm.getHelpers(cm.getCursor(), "hint"), words;
+ if (helpers.length) {
+ for (var i = 0; i < helpers.length; i++) {
+ var cur = helpers[i](cm, options);
+ if (cur && cur.list.length) return cur;
+ }
+ } else if (words = cm.getHelper(cm.getCursor(), "hintWords")) {
+ if (words) return CodeMirror.hint.fromList(cm, {words: words});
+ } else if (CodeMirror.hint.anyword) {
+ return CodeMirror.hint.anyword(cm, options);
+ }
+ });
+
+ CodeMirror.registerHelper("hint", "fromList", function(cm, options) {
+ var cur = cm.getCursor(), token = cm.getTokenAt(cur);
+ var found = [];
+ for (var i = 0; i < options.words.length; i++) {
+ var word = options.words[i];
+ if (word.slice(0, token.string.length) == token.string)
+ found.push(word);
+ }
+
+ if (found.length) return {
+ list: found,
+ from: CodeMirror.Pos(cur.line, token.start),
+ to: CodeMirror.Pos(cur.line, token.end)
+ };
+ });
+
+ CodeMirror.commands.autocomplete = CodeMirror.showHint;
+
+ var defaultOptions = {
+ hint: CodeMirror.hint.auto,
+ completeSingle: true,
+ alignWithWord: true,
+ closeCharacters: /[\s()\[\]{};:>,]/,
+ closeOnUnfocus: true,
+ completeOnSingleClick: false,
+ container: null,
+ customKeys: null,
+ extraKeys: null
+ };
+
+ CodeMirror.defineOption("hintOptions", null);
+});
diff --git a/public/vendor/codemirror/addon/hint/sql-hint.js b/public/vendor/codemirror/addon/hint/sql-hint.js
new file mode 100755
index 00000000..cba27a0b
--- /dev/null
+++ b/public/vendor/codemirror/addon/hint/sql-hint.js
@@ -0,0 +1,245 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"), require("../../mode/sql/sql"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror", "../../mode/sql/sql"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+ "use strict";
+
+ var tables;
+ var defaultTable;
+ var keywords;
+ var CONS = {
+ QUERY_DIV: ";",
+ ALIAS_KEYWORD: "AS"
+ };
+ var Pos = CodeMirror.Pos;
+
+ function getKeywords(editor) {
+ var mode = editor.doc.modeOption;
+ if (mode === "sql") mode = "text/x-sql";
+ return CodeMirror.resolveMode(mode).keywords;
+ }
+
+ function getText(item) {
+ return typeof item == "string" ? item : item.text;
+ }
+
+ function getItem(list, item) {
+ if (!list.slice) return list[item];
+ for (var i = list.length - 1; i >= 0; i--) if (getText(list[i]) == item)
+ return list[i];
+ }
+
+ function shallowClone(object) {
+ var result = {};
+ for (var key in object) if (object.hasOwnProperty(key))
+ result[key] = object[key];
+ return result;
+ }
+
+ function match(string, word) {
+ var len = string.length;
+ var sub = getText(word).substr(0, len);
+ return string.toUpperCase() === sub.toUpperCase();
+ }
+
+ function addMatches(result, search, wordlist, formatter) {
+ for (var word in wordlist) {
+ if (!wordlist.hasOwnProperty(word)) continue;
+ if (wordlist.slice) word = wordlist[word];
+
+ if (match(search, word)) result.push(formatter(word));
+ }
+ }
+
+ function cleanName(name) {
+ // Get rid name from backticks(`) and preceding dot(.)
+ if (name.charAt(0) == ".") {
+ name = name.substr(1);
+ }
+ return name.replace(/`/g, "");
+ }
+
+ function insertBackticks(name) {
+ var nameParts = getText(name).split(".");
+ for (var i = 0; i < nameParts.length; i++)
+ nameParts[i] = "`" + nameParts[i] + "`";
+ var escaped = nameParts.join(".");
+ if (typeof name == "string") return escaped;
+ name = shallowClone(name);
+ name.text = escaped;
+ return name;
+ }
+
+ function nameCompletion(cur, token, result, editor) {
+ // Try to complete table, colunm names and return start position of completion
+ var useBacktick = false;
+ var nameParts = [];
+ var start = token.start;
+ var cont = true;
+ while (cont) {
+ cont = (token.string.charAt(0) == ".");
+ useBacktick = useBacktick || (token.string.charAt(0) == "`");
+
+ start = token.start;
+ nameParts.unshift(cleanName(token.string));
+
+ token = editor.getTokenAt(Pos(cur.line, token.start));
+ if (token.string == ".") {
+ cont = true;
+ token = editor.getTokenAt(Pos(cur.line, token.start));
+ }
+ }
+
+ // Try to complete table names
+ var string = nameParts.join(".");
+ addMatches(result, string, tables, function(w) {
+ return useBacktick ? insertBackticks(w) : w;
+ });
+
+ // Try to complete columns from defaultTable
+ addMatches(result, string, defaultTable, function(w) {
+ return useBacktick ? insertBackticks(w) : w;
+ });
+
+ // Try to complete columns
+ string = nameParts.pop();
+ var table = nameParts.join(".");
+
+ // Check if table is available. If not, find table by Alias
+ if (!getItem(tables, table))
+ table = findTableByAlias(table, editor);
+
+ var columns = getItem(tables, table);
+ if (columns && columns.columns)
+ columns = columns.columns;
+
+ if (columns) {
+ addMatches(result, string, columns, function(w) {
+ if (typeof w == "string") {
+ w = table + "." + w;
+ } else {
+ w = shallowClone(w);
+ w.text = table + "." + w.text;
+ }
+ return useBacktick ? insertBackticks(w) : w;
+ });
+ }
+
+ return start;
+ }
+
+ function eachWord(lineText, f) {
+ if (!lineText) return;
+ var excepted = /[,;]/g;
+ var words = lineText.split(" ");
+ for (var i = 0; i < words.length; i++) {
+ f(words[i]?words[i].replace(excepted, '') : '');
+ }
+ }
+
+ function convertCurToNumber(cur) {
+ // max characters of a line is 999,999.
+ return cur.line + cur.ch / Math.pow(10, 6);
+ }
+
+ function convertNumberToCur(num) {
+ return Pos(Math.floor(num), +num.toString().split('.').pop());
+ }
+
+ function findTableByAlias(alias, editor) {
+ var doc = editor.doc;
+ var fullQuery = doc.getValue();
+ var aliasUpperCase = alias.toUpperCase();
+ var previousWord = "";
+ var table = "";
+ var separator = [];
+ var validRange = {
+ start: Pos(0, 0),
+ end: Pos(editor.lastLine(), editor.getLineHandle(editor.lastLine()).length)
+ };
+
+ //add separator
+ var indexOfSeparator = fullQuery.indexOf(CONS.QUERY_DIV);
+ while(indexOfSeparator != -1) {
+ separator.push(doc.posFromIndex(indexOfSeparator));
+ indexOfSeparator = fullQuery.indexOf(CONS.QUERY_DIV, indexOfSeparator+1);
+ }
+ separator.unshift(Pos(0, 0));
+ separator.push(Pos(editor.lastLine(), editor.getLineHandle(editor.lastLine()).text.length));
+
+ //find valid range
+ var prevItem = 0;
+ var current = convertCurToNumber(editor.getCursor());
+ for (var i=0; i< separator.length; i++) {
+ var _v = convertCurToNumber(separator[i]);
+ if (current > prevItem && current <= _v) {
+ validRange = { start: convertNumberToCur(prevItem), end: convertNumberToCur(_v) };
+ break;
+ }
+ prevItem = _v;
+ }
+
+ var query = doc.getRange(validRange.start, validRange.end, false);
+
+ for (var i = 0; i < query.length; i++) {
+ var lineText = query[i];
+ eachWord(lineText, function(word) {
+ var wordUpperCase = word.toUpperCase();
+ if (wordUpperCase === aliasUpperCase && getItem(tables, previousWord))
+ table = previousWord;
+ if (wordUpperCase !== CONS.ALIAS_KEYWORD)
+ previousWord = word;
+ });
+ if (table) break;
+ }
+ return table;
+ }
+
+ CodeMirror.registerHelper("hint", "sql", function(editor, options) {
+ tables = (options && options.tables) || {};
+ var defaultTableName = options && options.defaultTable;
+ defaultTable = defaultTableName && getItem(tables, defaultTableName);
+ keywords = keywords || getKeywords(editor);
+
+ if (defaultTableName && !defaultTable)
+ defaultTable = findTableByAlias(defaultTableName, editor);
+
+ defaultTable = defaultTable || [];
+
+ if (defaultTable.columns)
+ defaultTable = defaultTable.columns;
+
+ var cur = editor.getCursor();
+ var result = [];
+ var token = editor.getTokenAt(cur), start, end, search;
+ if (token.end > cur.ch) {
+ token.end = cur.ch;
+ token.string = token.string.slice(0, cur.ch - token.start);
+ }
+
+ if (token.string.match(/^[.`\w@]\w*$/)) {
+ search = token.string;
+ start = token.start;
+ end = token.end;
+ } else {
+ start = end = cur.ch;
+ search = "";
+ }
+ if (search.charAt(0) == "." || search.charAt(0) == "`") {
+ start = nameCompletion(cur, token, result, editor);
+ } else {
+ addMatches(result, search, tables, function(w) {return w;});
+ addMatches(result, search, defaultTable, function(w) {return w;});
+ addMatches(result, search, keywords, function(w) {return w.toUpperCase();});
+ }
+
+ return {list: result, from: Pos(cur.line, start), to: Pos(cur.line, end)};
+ });
+});
diff --git a/public/vendor/codemirror/addon/hint/xml-hint.js b/public/vendor/codemirror/addon/hint/xml-hint.js
new file mode 100755
index 00000000..9b9baa0c
--- /dev/null
+++ b/public/vendor/codemirror/addon/hint/xml-hint.js
@@ -0,0 +1,110 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+ "use strict";
+
+ var Pos = CodeMirror.Pos;
+
+ function getHints(cm, options) {
+ var tags = options && options.schemaInfo;
+ var quote = (options && options.quoteChar) || '"';
+ if (!tags) return;
+ var cur = cm.getCursor(), token = cm.getTokenAt(cur);
+ if (token.end > cur.ch) {
+ token.end = cur.ch;
+ token.string = token.string.slice(0, cur.ch - token.start);
+ }
+ var inner = CodeMirror.innerMode(cm.getMode(), token.state);
+ if (inner.mode.name != "xml") return;
+ var result = [], replaceToken = false, prefix;
+ var tag = /\btag\b/.test(token.type) && !/>$/.test(token.string);
+ var tagName = tag && /^\w/.test(token.string), tagStart;
+
+ if (tagName) {
+ var before = cm.getLine(cur.line).slice(Math.max(0, token.start - 2), token.start);
+ var tagType = /<\/$/.test(before) ? "close" : /<$/.test(before) ? "open" : null;
+ if (tagType) tagStart = token.start - (tagType == "close" ? 2 : 1);
+ } else if (tag && token.string == "<") {
+ tagType = "open";
+ } else if (tag && token.string == "") {
+ tagType = "close";
+ }
+
+ if (!tag && !inner.state.tagName || tagType) {
+ if (tagName)
+ prefix = token.string;
+ replaceToken = tagType;
+ var cx = inner.state.context, curTag = cx && tags[cx.tagName];
+ var childList = cx ? curTag && curTag.children : tags["!top"];
+ if (childList && tagType != "close") {
+ for (var i = 0; i < childList.length; ++i) if (!prefix || childList[i].lastIndexOf(prefix, 0) == 0)
+ result.push("<" + childList[i]);
+ } else if (tagType != "close") {
+ for (var name in tags)
+ if (tags.hasOwnProperty(name) && name != "!top" && name != "!attrs" && (!prefix || name.lastIndexOf(prefix, 0) == 0))
+ result.push("<" + name);
+ }
+ if (cx && (!prefix || tagType == "close" && cx.tagName.lastIndexOf(prefix, 0) == 0))
+ result.push("" + cx.tagName + ">");
+ } else {
+ // Attribute completion
+ var curTag = tags[inner.state.tagName], attrs = curTag && curTag.attrs;
+ var globalAttrs = tags["!attrs"];
+ if (!attrs && !globalAttrs) return;
+ if (!attrs) {
+ attrs = globalAttrs;
+ } else if (globalAttrs) { // Combine tag-local and global attributes
+ var set = {};
+ for (var nm in globalAttrs) if (globalAttrs.hasOwnProperty(nm)) set[nm] = globalAttrs[nm];
+ for (var nm in attrs) if (attrs.hasOwnProperty(nm)) set[nm] = attrs[nm];
+ attrs = set;
+ }
+ if (token.type == "string" || token.string == "=") { // A value
+ var before = cm.getRange(Pos(cur.line, Math.max(0, cur.ch - 60)),
+ Pos(cur.line, token.type == "string" ? token.start : token.end));
+ var atName = before.match(/([^\s\u00a0=<>\"\']+)=$/), atValues;
+ if (!atName || !attrs.hasOwnProperty(atName[1]) || !(atValues = attrs[atName[1]])) return;
+ if (typeof atValues == 'function') atValues = atValues.call(this, cm); // Functions can be used to supply values for autocomplete widget
+ if (token.type == "string") {
+ prefix = token.string;
+ var n = 0;
+ if (/['"]/.test(token.string.charAt(0))) {
+ quote = token.string.charAt(0);
+ prefix = token.string.slice(1);
+ n++;
+ }
+ var len = token.string.length;
+ if (/['"]/.test(token.string.charAt(len - 1))) {
+ quote = token.string.charAt(len - 1);
+ prefix = token.string.substr(n, len - 2);
+ }
+ replaceToken = true;
+ }
+ for (var i = 0; i < atValues.length; ++i) if (!prefix || atValues[i].lastIndexOf(prefix, 0) == 0)
+ result.push(quote + atValues[i] + quote);
+ } else { // An attribute name
+ if (token.type == "attribute") {
+ prefix = token.string;
+ replaceToken = true;
+ }
+ for (var attr in attrs) if (attrs.hasOwnProperty(attr) && (!prefix || attr.lastIndexOf(prefix, 0) == 0))
+ result.push(attr);
+ }
+ }
+ return {
+ list: result,
+ from: replaceToken ? Pos(cur.line, tagStart == null ? token.start : tagStart) : cur,
+ to: replaceToken ? Pos(cur.line, token.end) : cur
+ };
+ }
+
+ CodeMirror.registerHelper("hint", "xml", getHints);
+});
diff --git a/public/vendor/codemirror/addon/lint/coffeescript-lint.js b/public/vendor/codemirror/addon/lint/coffeescript-lint.js
new file mode 100755
index 00000000..7e39428f
--- /dev/null
+++ b/public/vendor/codemirror/addon/lint/coffeescript-lint.js
@@ -0,0 +1,41 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+// Depends on coffeelint.js from http://www.coffeelint.org/js/coffeelint.js
+
+// declare global: coffeelint
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+"use strict";
+
+CodeMirror.registerHelper("lint", "coffeescript", function(text) {
+ var found = [];
+ var parseError = function(err) {
+ var loc = err.lineNumber;
+ found.push({from: CodeMirror.Pos(loc-1, 0),
+ to: CodeMirror.Pos(loc, 0),
+ severity: err.level,
+ message: err.message});
+ };
+ try {
+ var res = coffeelint.lint(text);
+ for(var i = 0; i < res.length; i++) {
+ parseError(res[i]);
+ }
+ } catch(e) {
+ found.push({from: CodeMirror.Pos(e.location.first_line, 0),
+ to: CodeMirror.Pos(e.location.last_line, e.location.last_column),
+ severity: 'error',
+ message: e.message});
+ }
+ return found;
+});
+
+});
diff --git a/public/vendor/codemirror/addon/lint/css-lint.js b/public/vendor/codemirror/addon/lint/css-lint.js
new file mode 100755
index 00000000..1f61b479
--- /dev/null
+++ b/public/vendor/codemirror/addon/lint/css-lint.js
@@ -0,0 +1,35 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+// Depends on csslint.js from https://github.com/stubbornella/csslint
+
+// declare global: CSSLint
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+"use strict";
+
+CodeMirror.registerHelper("lint", "css", function(text) {
+ var found = [];
+ if (!window.CSSLint) return found;
+ var results = CSSLint.verify(text), messages = results.messages, message = null;
+ for ( var i = 0; i < messages.length; i++) {
+ message = messages[i];
+ var startLine = message.line -1, endLine = message.line -1, startCol = message.col -1, endCol = message.col;
+ found.push({
+ from: CodeMirror.Pos(startLine, startCol),
+ to: CodeMirror.Pos(endLine, endCol),
+ message: message.message,
+ severity : message.type
+ });
+ }
+ return found;
+});
+
+});
diff --git a/public/vendor/codemirror/addon/lint/javascript-lint.js b/public/vendor/codemirror/addon/lint/javascript-lint.js
new file mode 100755
index 00000000..d4f2ae9a
--- /dev/null
+++ b/public/vendor/codemirror/addon/lint/javascript-lint.js
@@ -0,0 +1,136 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+ "use strict";
+ // declare global: JSHINT
+
+ var bogus = [ "Dangerous comment" ];
+
+ var warnings = [ [ "Expected '{'",
+ "Statement body should be inside '{ }' braces." ] ];
+
+ var errors = [ "Missing semicolon", "Extra comma", "Missing property name",
+ "Unmatched ", " and instead saw", " is not defined",
+ "Unclosed string", "Stopping, unable to continue" ];
+
+ function validator(text, options) {
+ if (!window.JSHINT) return [];
+ JSHINT(text, options, options.globals);
+ var errors = JSHINT.data().errors, result = [];
+ if (errors) parseErrors(errors, result);
+ return result;
+ }
+
+ CodeMirror.registerHelper("lint", "javascript", validator);
+
+ function cleanup(error) {
+ // All problems are warnings by default
+ fixWith(error, warnings, "warning", true);
+ fixWith(error, errors, "error");
+
+ return isBogus(error) ? null : error;
+ }
+
+ function fixWith(error, fixes, severity, force) {
+ var description, fix, find, replace, found;
+
+ description = error.description;
+
+ for ( var i = 0; i < fixes.length; i++) {
+ fix = fixes[i];
+ find = (typeof fix === "string" ? fix : fix[0]);
+ replace = (typeof fix === "string" ? null : fix[1]);
+ found = description.indexOf(find) !== -1;
+
+ if (force || found) {
+ error.severity = severity;
+ }
+ if (found && replace) {
+ error.description = replace;
+ }
+ }
+ }
+
+ function isBogus(error) {
+ var description = error.description;
+ for ( var i = 0; i < bogus.length; i++) {
+ if (description.indexOf(bogus[i]) !== -1) {
+ return true;
+ }
+ }
+ return false;
+ }
+
+ function parseErrors(errors, output) {
+ for ( var i = 0; i < errors.length; i++) {
+ var error = errors[i];
+ if (error) {
+ var linetabpositions, index;
+
+ linetabpositions = [];
+
+ // This next block is to fix a problem in jshint. Jshint
+ // replaces
+ // all tabs with spaces then performs some checks. The error
+ // positions (character/space) are then reported incorrectly,
+ // not taking the replacement step into account. Here we look
+ // at the evidence line and try to adjust the character position
+ // to the correct value.
+ if (error.evidence) {
+ // Tab positions are computed once per line and cached
+ var tabpositions = linetabpositions[error.line];
+ if (!tabpositions) {
+ var evidence = error.evidence;
+ tabpositions = [];
+ // ugggh phantomjs does not like this
+ // forEachChar(evidence, function(item, index) {
+ Array.prototype.forEach.call(evidence, function(item,
+ index) {
+ if (item === '\t') {
+ // First col is 1 (not 0) to match error
+ // positions
+ tabpositions.push(index + 1);
+ }
+ });
+ linetabpositions[error.line] = tabpositions;
+ }
+ if (tabpositions.length > 0) {
+ var pos = error.character;
+ tabpositions.forEach(function(tabposition) {
+ if (pos > tabposition) pos -= 1;
+ });
+ error.character = pos;
+ }
+ }
+
+ var start = error.character - 1, end = start + 1;
+ if (error.evidence) {
+ index = error.evidence.substring(start).search(/.\b/);
+ if (index > -1) {
+ end += index;
+ }
+ }
+
+ // Convert to format expected by validation service
+ error.description = error.reason;// + "(jshint)";
+ error.start = error.character;
+ error.end = end;
+ error = cleanup(error);
+
+ if (error)
+ output.push({message: error.description,
+ severity: error.severity,
+ from: CodeMirror.Pos(error.line - 1, start),
+ to: CodeMirror.Pos(error.line - 1, end)});
+ }
+ }
+ }
+});
diff --git a/public/vendor/codemirror/addon/lint/json-lint.js b/public/vendor/codemirror/addon/lint/json-lint.js
new file mode 100755
index 00000000..9dbb616b
--- /dev/null
+++ b/public/vendor/codemirror/addon/lint/json-lint.js
@@ -0,0 +1,31 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+// Depends on jsonlint.js from https://github.com/zaach/jsonlint
+
+// declare global: jsonlint
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+"use strict";
+
+CodeMirror.registerHelper("lint", "json", function(text) {
+ var found = [];
+ jsonlint.parseError = function(str, hash) {
+ var loc = hash.loc;
+ found.push({from: CodeMirror.Pos(loc.first_line - 1, loc.first_column),
+ to: CodeMirror.Pos(loc.last_line - 1, loc.last_column),
+ message: str});
+ };
+ try { jsonlint.parse(text); }
+ catch(e) {}
+ return found;
+});
+
+});
diff --git a/public/vendor/codemirror/addon/lint/lint.css b/public/vendor/codemirror/addon/lint/lint.css
new file mode 100755
index 00000000..414a9a0e
--- /dev/null
+++ b/public/vendor/codemirror/addon/lint/lint.css
@@ -0,0 +1,73 @@
+/* The lint marker gutter */
+.CodeMirror-lint-markers {
+ width: 16px;
+}
+
+.CodeMirror-lint-tooltip {
+ background-color: infobackground;
+ border: 1px solid black;
+ border-radius: 4px 4px 4px 4px;
+ color: infotext;
+ font-family: monospace;
+ font-size: 10pt;
+ overflow: hidden;
+ padding: 2px 5px;
+ position: fixed;
+ white-space: pre;
+ white-space: pre-wrap;
+ z-index: 100;
+ max-width: 600px;
+ opacity: 0;
+ transition: opacity .4s;
+ -moz-transition: opacity .4s;
+ -webkit-transition: opacity .4s;
+ -o-transition: opacity .4s;
+ -ms-transition: opacity .4s;
+}
+
+.CodeMirror-lint-mark-error, .CodeMirror-lint-mark-warning {
+ background-position: left bottom;
+ background-repeat: repeat-x;
+}
+
+.CodeMirror-lint-mark-error {
+ background-image:
+ url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJDw4cOCW1/KIAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAHElEQVQI12NggIL/DAz/GdA5/xkY/qPKMDAwAADLZwf5rvm+LQAAAABJRU5ErkJggg==")
+ ;
+}
+
+.CodeMirror-lint-mark-warning {
+ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJFhQXEbhTg7YAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAMklEQVQI12NkgIIvJ3QXMjAwdDN+OaEbysDA4MPAwNDNwMCwiOHLCd1zX07o6kBVGQEAKBANtobskNMAAAAASUVORK5CYII=");
+}
+
+.CodeMirror-lint-marker-error, .CodeMirror-lint-marker-warning {
+ background-position: center center;
+ background-repeat: no-repeat;
+ cursor: pointer;
+ display: inline-block;
+ height: 16px;
+ width: 16px;
+ vertical-align: middle;
+ position: relative;
+}
+
+.CodeMirror-lint-message-error, .CodeMirror-lint-message-warning {
+ padding-left: 18px;
+ background-position: top left;
+ background-repeat: no-repeat;
+}
+
+.CodeMirror-lint-marker-error, .CodeMirror-lint-message-error {
+ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAHlBMVEW7AAC7AACxAAC7AAC7AAAAAAC4AAC5AAD///+7AAAUdclpAAAABnRSTlMXnORSiwCK0ZKSAAAATUlEQVR42mWPOQ7AQAgDuQLx/z8csYRmPRIFIwRGnosRrpamvkKi0FTIiMASR3hhKW+hAN6/tIWhu9PDWiTGNEkTtIOucA5Oyr9ckPgAWm0GPBog6v4AAAAASUVORK5CYII=");
+}
+
+.CodeMirror-lint-marker-warning, .CodeMirror-lint-message-warning {
+ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAANlBMVEX/uwDvrwD/uwD/uwD/uwD/uwD/uwD/uwD/uwD6twD/uwAAAADurwD2tQD7uAD+ugAAAAD/uwDhmeTRAAAADHRSTlMJ8mN1EYcbmiixgACm7WbuAAAAVklEQVR42n3PUQqAIBBFUU1LLc3u/jdbOJoW1P08DA9Gba8+YWJ6gNJoNYIBzAA2chBth5kLmG9YUoG0NHAUwFXwO9LuBQL1giCQb8gC9Oro2vp5rncCIY8L8uEx5ZkAAAAASUVORK5CYII=");
+}
+
+.CodeMirror-lint-marker-multiple {
+ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAMAAADzjKfhAAAACVBMVEUAAAAAAAC/v7914kyHAAAAAXRSTlMAQObYZgAAACNJREFUeNo1ioEJAAAIwmz/H90iFFSGJgFMe3gaLZ0od+9/AQZ0ADosbYraAAAAAElFTkSuQmCC");
+ background-repeat: no-repeat;
+ background-position: right bottom;
+ width: 100%; height: 100%;
+}
diff --git a/public/vendor/codemirror/addon/lint/lint.js b/public/vendor/codemirror/addon/lint/lint.js
new file mode 100755
index 00000000..c7e09396
--- /dev/null
+++ b/public/vendor/codemirror/addon/lint/lint.js
@@ -0,0 +1,207 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+ "use strict";
+ var GUTTER_ID = "CodeMirror-lint-markers";
+
+ function showTooltip(e, content) {
+ var tt = document.createElement("div");
+ tt.className = "CodeMirror-lint-tooltip";
+ tt.appendChild(content.cloneNode(true));
+ document.body.appendChild(tt);
+
+ function position(e) {
+ if (!tt.parentNode) return CodeMirror.off(document, "mousemove", position);
+ tt.style.top = Math.max(0, e.clientY - tt.offsetHeight - 5) + "px";
+ tt.style.left = (e.clientX + 5) + "px";
+ }
+ CodeMirror.on(document, "mousemove", position);
+ position(e);
+ if (tt.style.opacity != null) tt.style.opacity = 1;
+ return tt;
+ }
+ function rm(elt) {
+ if (elt.parentNode) elt.parentNode.removeChild(elt);
+ }
+ function hideTooltip(tt) {
+ if (!tt.parentNode) return;
+ if (tt.style.opacity == null) rm(tt);
+ tt.style.opacity = 0;
+ setTimeout(function() { rm(tt); }, 600);
+ }
+
+ function showTooltipFor(e, content, node) {
+ var tooltip = showTooltip(e, content);
+ function hide() {
+ CodeMirror.off(node, "mouseout", hide);
+ if (tooltip) { hideTooltip(tooltip); tooltip = null; }
+ }
+ var poll = setInterval(function() {
+ if (tooltip) for (var n = node;; n = n.parentNode) {
+ if (n && n.nodeType == 11) n = n.host;
+ if (n == document.body) return;
+ if (!n) { hide(); break; }
+ }
+ if (!tooltip) return clearInterval(poll);
+ }, 400);
+ CodeMirror.on(node, "mouseout", hide);
+ }
+
+ function LintState(cm, options, hasGutter) {
+ this.marked = [];
+ this.options = options;
+ this.timeout = null;
+ this.hasGutter = hasGutter;
+ this.onMouseOver = function(e) { onMouseOver(cm, e); };
+ }
+
+ function parseOptions(cm, options) {
+ if (options instanceof Function) return {getAnnotations: options};
+ if (!options || options === true) options = {};
+ if (!options.getAnnotations) options.getAnnotations = cm.getHelper(CodeMirror.Pos(0, 0), "lint");
+ if (!options.getAnnotations) throw new Error("Required option 'getAnnotations' missing (lint addon)");
+ return options;
+ }
+
+ function clearMarks(cm) {
+ var state = cm.state.lint;
+ if (state.hasGutter) cm.clearGutter(GUTTER_ID);
+ for (var i = 0; i < state.marked.length; ++i)
+ state.marked[i].clear();
+ state.marked.length = 0;
+ }
+
+ function makeMarker(labels, severity, multiple, tooltips) {
+ var marker = document.createElement("div"), inner = marker;
+ marker.className = "CodeMirror-lint-marker-" + severity;
+ if (multiple) {
+ inner = marker.appendChild(document.createElement("div"));
+ inner.className = "CodeMirror-lint-marker-multiple";
+ }
+
+ if (tooltips != false) CodeMirror.on(inner, "mouseover", function(e) {
+ showTooltipFor(e, labels, inner);
+ });
+
+ return marker;
+ }
+
+ function getMaxSeverity(a, b) {
+ if (a == "error") return a;
+ else return b;
+ }
+
+ function groupByLine(annotations) {
+ var lines = [];
+ for (var i = 0; i < annotations.length; ++i) {
+ var ann = annotations[i], line = ann.from.line;
+ (lines[line] || (lines[line] = [])).push(ann);
+ }
+ return lines;
+ }
+
+ function annotationTooltip(ann) {
+ var severity = ann.severity;
+ if (!severity) severity = "error";
+ var tip = document.createElement("div");
+ tip.className = "CodeMirror-lint-message-" + severity;
+ tip.appendChild(document.createTextNode(ann.message));
+ return tip;
+ }
+
+ function startLinting(cm) {
+ var state = cm.state.lint, options = state.options;
+ var passOptions = options.options || options; // Support deprecated passing of `options` property in options
+ if (options.async || options.getAnnotations.async)
+ options.getAnnotations(cm.getValue(), updateLinting, passOptions, cm);
+ else
+ updateLinting(cm, options.getAnnotations(cm.getValue(), passOptions, cm));
+ }
+
+ function updateLinting(cm, annotationsNotSorted) {
+ clearMarks(cm);
+ var state = cm.state.lint, options = state.options;
+
+ var annotations = groupByLine(annotationsNotSorted);
+
+ for (var line = 0; line < annotations.length; ++line) {
+ var anns = annotations[line];
+ if (!anns) continue;
+
+ var maxSeverity = null;
+ var tipLabel = state.hasGutter && document.createDocumentFragment();
+
+ for (var i = 0; i < anns.length; ++i) {
+ var ann = anns[i];
+ var severity = ann.severity;
+ if (!severity) severity = "error";
+ maxSeverity = getMaxSeverity(maxSeverity, severity);
+
+ if (options.formatAnnotation) ann = options.formatAnnotation(ann);
+ if (state.hasGutter) tipLabel.appendChild(annotationTooltip(ann));
+
+ if (ann.to) state.marked.push(cm.markText(ann.from, ann.to, {
+ className: "CodeMirror-lint-mark-" + severity,
+ __annotation: ann
+ }));
+ }
+
+ if (state.hasGutter)
+ cm.setGutterMarker(line, GUTTER_ID, makeMarker(tipLabel, maxSeverity, anns.length > 1,
+ state.options.tooltips));
+ }
+ if (options.onUpdateLinting) options.onUpdateLinting(annotationsNotSorted, annotations, cm);
+ }
+
+ function onChange(cm) {
+ var state = cm.state.lint;
+ if (!state) return;
+ clearTimeout(state.timeout);
+ state.timeout = setTimeout(function(){startLinting(cm);}, state.options.delay || 500);
+ }
+
+ function popupSpanTooltip(ann, e) {
+ var target = e.target || e.srcElement;
+ showTooltipFor(e, annotationTooltip(ann), target);
+ }
+
+ function onMouseOver(cm, e) {
+ var target = e.target || e.srcElement;
+ if (!/\bCodeMirror-lint-mark-/.test(target.className)) return;
+ var box = target.getBoundingClientRect(), x = (box.left + box.right) / 2, y = (box.top + box.bottom) / 2;
+ var spans = cm.findMarksAt(cm.coordsChar({left: x, top: y}, "client"));
+ for (var i = 0; i < spans.length; ++i) {
+ var ann = spans[i].__annotation;
+ if (ann) return popupSpanTooltip(ann, e);
+ }
+ }
+
+ CodeMirror.defineOption("lint", false, function(cm, val, old) {
+ if (old && old != CodeMirror.Init) {
+ clearMarks(cm);
+ cm.off("change", onChange);
+ CodeMirror.off(cm.getWrapperElement(), "mouseover", cm.state.lint.onMouseOver);
+ clearTimeout(cm.state.lint.timeout);
+ delete cm.state.lint;
+ }
+
+ if (val) {
+ var gutters = cm.getOption("gutters"), hasLintGutter = false;
+ for (var i = 0; i < gutters.length; ++i) if (gutters[i] == GUTTER_ID) hasLintGutter = true;
+ var state = cm.state.lint = new LintState(cm, parseOptions(cm, val), hasLintGutter);
+ cm.on("change", onChange);
+ if (state.options.tooltips != false)
+ CodeMirror.on(cm.getWrapperElement(), "mouseover", state.onMouseOver);
+
+ startLinting(cm);
+ }
+ });
+});
diff --git a/public/vendor/codemirror/addon/lint/yaml-lint.js b/public/vendor/codemirror/addon/lint/yaml-lint.js
new file mode 100755
index 00000000..3f77e525
--- /dev/null
+++ b/public/vendor/codemirror/addon/lint/yaml-lint.js
@@ -0,0 +1,28 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+"use strict";
+
+// Depends on js-yaml.js from https://github.com/nodeca/js-yaml
+
+// declare global: jsyaml
+
+CodeMirror.registerHelper("lint", "yaml", function(text) {
+ var found = [];
+ try { jsyaml.load(text); }
+ catch(e) {
+ var loc = e.mark;
+ found.push({ from: CodeMirror.Pos(loc.line, loc.column), to: CodeMirror.Pos(loc.line, loc.column), message: e.message });
+ }
+ return found;
+});
+
+});
diff --git a/public/vendor/codemirror/addon/merge/merge.css b/public/vendor/codemirror/addon/merge/merge.css
new file mode 100755
index 00000000..a6a80e43
--- /dev/null
+++ b/public/vendor/codemirror/addon/merge/merge.css
@@ -0,0 +1,112 @@
+.CodeMirror-merge {
+ position: relative;
+ border: 1px solid #ddd;
+ white-space: pre;
+}
+
+.CodeMirror-merge, .CodeMirror-merge .CodeMirror {
+ height: 350px;
+}
+
+.CodeMirror-merge-2pane .CodeMirror-merge-pane { width: 47%; }
+.CodeMirror-merge-2pane .CodeMirror-merge-gap { width: 6%; }
+.CodeMirror-merge-3pane .CodeMirror-merge-pane { width: 31%; }
+.CodeMirror-merge-3pane .CodeMirror-merge-gap { width: 3.5%; }
+
+.CodeMirror-merge-pane {
+ display: inline-block;
+ white-space: normal;
+ vertical-align: top;
+}
+.CodeMirror-merge-pane-rightmost {
+ position: absolute;
+ right: 0px;
+ z-index: 1;
+}
+
+.CodeMirror-merge-gap {
+ z-index: 2;
+ display: inline-block;
+ height: 100%;
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+ overflow: hidden;
+ border-left: 1px solid #ddd;
+ border-right: 1px solid #ddd;
+ position: relative;
+ background: #f8f8f8;
+}
+
+.CodeMirror-merge-scrolllock-wrap {
+ position: absolute;
+ bottom: 0; left: 50%;
+}
+.CodeMirror-merge-scrolllock {
+ position: relative;
+ left: -50%;
+ cursor: pointer;
+ color: #555;
+ line-height: 1;
+}
+
+.CodeMirror-merge-copybuttons-left, .CodeMirror-merge-copybuttons-right {
+ position: absolute;
+ left: 0; top: 0;
+ right: 0; bottom: 0;
+ line-height: 1;
+}
+
+.CodeMirror-merge-copy {
+ position: absolute;
+ cursor: pointer;
+ color: #44c;
+}
+
+.CodeMirror-merge-copy-reverse {
+ position: absolute;
+ cursor: pointer;
+ color: #44c;
+}
+
+.CodeMirror-merge-copybuttons-left .CodeMirror-merge-copy { left: 2px; }
+.CodeMirror-merge-copybuttons-right .CodeMirror-merge-copy { right: 2px; }
+
+.CodeMirror-merge-r-inserted, .CodeMirror-merge-l-inserted {
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAYAAACddGYaAAAAGUlEQVQI12MwuCXy3+CWyH8GBgYGJgYkAABZbAQ9ELXurwAAAABJRU5ErkJggg==);
+ background-position: bottom left;
+ background-repeat: repeat-x;
+}
+
+.CodeMirror-merge-r-deleted, .CodeMirror-merge-l-deleted {
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAYAAACddGYaAAAAGUlEQVQI12M4Kyb2/6yY2H8GBgYGJgYkAABURgPz6Ks7wQAAAABJRU5ErkJggg==);
+ background-position: bottom left;
+ background-repeat: repeat-x;
+}
+
+.CodeMirror-merge-r-chunk { background: #ffffe0; }
+.CodeMirror-merge-r-chunk-start { border-top: 1px solid #ee8; }
+.CodeMirror-merge-r-chunk-end { border-bottom: 1px solid #ee8; }
+.CodeMirror-merge-r-connect { fill: #ffffe0; stroke: #ee8; stroke-width: 1px; }
+
+.CodeMirror-merge-l-chunk { background: #eef; }
+.CodeMirror-merge-l-chunk-start { border-top: 1px solid #88e; }
+.CodeMirror-merge-l-chunk-end { border-bottom: 1px solid #88e; }
+.CodeMirror-merge-l-connect { fill: #eef; stroke: #88e; stroke-width: 1px; }
+
+.CodeMirror-merge-l-chunk.CodeMirror-merge-r-chunk { background: #dfd; }
+.CodeMirror-merge-l-chunk-start.CodeMirror-merge-r-chunk-start { border-top: 1px solid #4e4; }
+.CodeMirror-merge-l-chunk-end.CodeMirror-merge-r-chunk-end { border-bottom: 1px solid #4e4; }
+
+.CodeMirror-merge-collapsed-widget:before {
+ content: "(...)";
+}
+.CodeMirror-merge-collapsed-widget {
+ cursor: pointer;
+ color: #88b;
+ background: #eef;
+ border: 1px solid #ddf;
+ font-size: 90%;
+ padding: 0 3px;
+ border-radius: 4px;
+}
+.CodeMirror-merge-collapsed-line .CodeMirror-gutter-elt { display: none; }
diff --git a/public/vendor/codemirror/addon/merge/merge.js b/public/vendor/codemirror/addon/merge/merge.js
new file mode 100755
index 00000000..5b04b032
--- /dev/null
+++ b/public/vendor/codemirror/addon/merge/merge.js
@@ -0,0 +1,775 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+// declare global: diff_match_patch, DIFF_INSERT, DIFF_DELETE, DIFF_EQUAL
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"), require("diff_match_patch"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror", "diff_match_patch"], mod);
+ else // Plain browser env
+ mod(CodeMirror, diff_match_patch);
+})(function(CodeMirror, diff_match_patch) {
+ "use strict";
+ var Pos = CodeMirror.Pos;
+ var svgNS = "http://www.w3.org/2000/svg";
+
+ function DiffView(mv, type) {
+ this.mv = mv;
+ this.type = type;
+ this.classes = type == "left"
+ ? {chunk: "CodeMirror-merge-l-chunk",
+ start: "CodeMirror-merge-l-chunk-start",
+ end: "CodeMirror-merge-l-chunk-end",
+ insert: "CodeMirror-merge-l-inserted",
+ del: "CodeMirror-merge-l-deleted",
+ connect: "CodeMirror-merge-l-connect"}
+ : {chunk: "CodeMirror-merge-r-chunk",
+ start: "CodeMirror-merge-r-chunk-start",
+ end: "CodeMirror-merge-r-chunk-end",
+ insert: "CodeMirror-merge-r-inserted",
+ del: "CodeMirror-merge-r-deleted",
+ connect: "CodeMirror-merge-r-connect"};
+ }
+
+ DiffView.prototype = {
+ constructor: DiffView,
+ init: function(pane, orig, options) {
+ this.edit = this.mv.edit;
+ (this.edit.state.diffViews || (this.edit.state.diffViews = [])).push(this);
+ this.orig = CodeMirror(pane, copyObj({value: orig, readOnly: !this.mv.options.allowEditingOriginals}, copyObj(options)));
+ this.orig.state.diffViews = [this];
+
+ this.diff = getDiff(asString(orig), asString(options.value));
+ this.chunks = getChunks(this.diff);
+ this.diffOutOfDate = this.dealigned = false;
+
+ this.showDifferences = options.showDifferences !== false;
+ this.forceUpdate = registerUpdate(this);
+ setScrollLock(this, true, false);
+ registerScroll(this);
+ },
+ setShowDifferences: function(val) {
+ val = val !== false;
+ if (val != this.showDifferences) {
+ this.showDifferences = val;
+ this.forceUpdate("full");
+ }
+ }
+ };
+
+ function ensureDiff(dv) {
+ if (dv.diffOutOfDate) {
+ dv.diff = getDiff(dv.orig.getValue(), dv.edit.getValue());
+ dv.chunks = getChunks(dv.diff);
+ dv.diffOutOfDate = false;
+ CodeMirror.signal(dv.edit, "updateDiff", dv.diff);
+ }
+ }
+
+ var updating = false;
+ function registerUpdate(dv) {
+ var edit = {from: 0, to: 0, marked: []};
+ var orig = {from: 0, to: 0, marked: []};
+ var debounceChange, updatingFast = false;
+ function update(mode) {
+ updating = true;
+ updatingFast = false;
+ if (mode == "full") {
+ if (dv.svg) clear(dv.svg);
+ if (dv.copyButtons) clear(dv.copyButtons);
+ clearMarks(dv.edit, edit.marked, dv.classes);
+ clearMarks(dv.orig, orig.marked, dv.classes);
+ edit.from = edit.to = orig.from = orig.to = 0;
+ }
+ ensureDiff(dv);
+ if (dv.showDifferences) {
+ updateMarks(dv.edit, dv.diff, edit, DIFF_INSERT, dv.classes);
+ updateMarks(dv.orig, dv.diff, orig, DIFF_DELETE, dv.classes);
+ }
+ makeConnections(dv);
+
+ if (dv.mv.options.connect == "align")
+ alignChunks(dv);
+ updating = false;
+ }
+ function setDealign(fast) {
+ if (updating) return;
+ dv.dealigned = true;
+ set(fast);
+ }
+ function set(fast) {
+ if (updating || updatingFast) return;
+ clearTimeout(debounceChange);
+ if (fast === true) updatingFast = true;
+ debounceChange = setTimeout(update, fast === true ? 20 : 250);
+ }
+ function change(_cm, change) {
+ if (!dv.diffOutOfDate) {
+ dv.diffOutOfDate = true;
+ edit.from = edit.to = orig.from = orig.to = 0;
+ }
+ // Update faster when a line was added/removed
+ setDealign(change.text.length - 1 != change.to.line - change.from.line);
+ }
+ dv.edit.on("change", change);
+ dv.orig.on("change", change);
+ dv.edit.on("markerAdded", setDealign);
+ dv.edit.on("markerCleared", setDealign);
+ dv.orig.on("markerAdded", setDealign);
+ dv.orig.on("markerCleared", setDealign);
+ dv.edit.on("viewportChange", function() { set(false); });
+ dv.orig.on("viewportChange", function() { set(false); });
+ update();
+ return update;
+ }
+
+ function registerScroll(dv) {
+ dv.edit.on("scroll", function() {
+ syncScroll(dv, DIFF_INSERT) && makeConnections(dv);
+ });
+ dv.orig.on("scroll", function() {
+ syncScroll(dv, DIFF_DELETE) && makeConnections(dv);
+ });
+ }
+
+ function syncScroll(dv, type) {
+ // Change handler will do a refresh after a timeout when diff is out of date
+ if (dv.diffOutOfDate) return false;
+ if (!dv.lockScroll) return true;
+ var editor, other, now = +new Date;
+ if (type == DIFF_INSERT) { editor = dv.edit; other = dv.orig; }
+ else { editor = dv.orig; other = dv.edit; }
+ // Don't take action if the position of this editor was recently set
+ // (to prevent feedback loops)
+ if (editor.state.scrollSetBy == dv && (editor.state.scrollSetAt || 0) + 50 > now) return false;
+
+ var sInfo = editor.getScrollInfo();
+ if (dv.mv.options.connect == "align") {
+ targetPos = sInfo.top;
+ } else {
+ var halfScreen = .5 * sInfo.clientHeight, midY = sInfo.top + halfScreen;
+ var mid = editor.lineAtHeight(midY, "local");
+ var around = chunkBoundariesAround(dv.chunks, mid, type == DIFF_INSERT);
+ var off = getOffsets(editor, type == DIFF_INSERT ? around.edit : around.orig);
+ var offOther = getOffsets(other, type == DIFF_INSERT ? around.orig : around.edit);
+ var ratio = (midY - off.top) / (off.bot - off.top);
+ var targetPos = (offOther.top - halfScreen) + ratio * (offOther.bot - offOther.top);
+
+ var botDist, mix;
+ // Some careful tweaking to make sure no space is left out of view
+ // when scrolling to top or bottom.
+ if (targetPos > sInfo.top && (mix = sInfo.top / halfScreen) < 1) {
+ targetPos = targetPos * mix + sInfo.top * (1 - mix);
+ } else if ((botDist = sInfo.height - sInfo.clientHeight - sInfo.top) < halfScreen) {
+ var otherInfo = other.getScrollInfo();
+ var botDistOther = otherInfo.height - otherInfo.clientHeight - targetPos;
+ if (botDistOther > botDist && (mix = botDist / halfScreen) < 1)
+ targetPos = targetPos * mix + (otherInfo.height - otherInfo.clientHeight - botDist) * (1 - mix);
+ }
+ }
+
+ other.scrollTo(sInfo.left, targetPos);
+ other.state.scrollSetAt = now;
+ other.state.scrollSetBy = dv;
+ return true;
+ }
+
+ function getOffsets(editor, around) {
+ var bot = around.after;
+ if (bot == null) bot = editor.lastLine() + 1;
+ return {top: editor.heightAtLine(around.before || 0, "local"),
+ bot: editor.heightAtLine(bot, "local")};
+ }
+
+ function setScrollLock(dv, val, action) {
+ dv.lockScroll = val;
+ if (val && action != false) syncScroll(dv, DIFF_INSERT) && makeConnections(dv);
+ dv.lockButton.innerHTML = val ? "\u21db\u21da" : "\u21db \u21da";
+ }
+
+ // Updating the marks for editor content
+
+ function clearMarks(editor, arr, classes) {
+ for (var i = 0; i < arr.length; ++i) {
+ var mark = arr[i];
+ if (mark instanceof CodeMirror.TextMarker) {
+ mark.clear();
+ } else if (mark.parent) {
+ editor.removeLineClass(mark, "background", classes.chunk);
+ editor.removeLineClass(mark, "background", classes.start);
+ editor.removeLineClass(mark, "background", classes.end);
+ }
+ }
+ arr.length = 0;
+ }
+
+ // FIXME maybe add a margin around viewport to prevent too many updates
+ function updateMarks(editor, diff, state, type, classes) {
+ var vp = editor.getViewport();
+ editor.operation(function() {
+ if (state.from == state.to || vp.from - state.to > 20 || state.from - vp.to > 20) {
+ clearMarks(editor, state.marked, classes);
+ markChanges(editor, diff, type, state.marked, vp.from, vp.to, classes);
+ state.from = vp.from; state.to = vp.to;
+ } else {
+ if (vp.from < state.from) {
+ markChanges(editor, diff, type, state.marked, vp.from, state.from, classes);
+ state.from = vp.from;
+ }
+ if (vp.to > state.to) {
+ markChanges(editor, diff, type, state.marked, state.to, vp.to, classes);
+ state.to = vp.to;
+ }
+ }
+ });
+ }
+
+ function markChanges(editor, diff, type, marks, from, to, classes) {
+ var pos = Pos(0, 0);
+ var top = Pos(from, 0), bot = editor.clipPos(Pos(to - 1));
+ var cls = type == DIFF_DELETE ? classes.del : classes.insert;
+ function markChunk(start, end) {
+ var bfrom = Math.max(from, start), bto = Math.min(to, end);
+ for (var i = bfrom; i < bto; ++i) {
+ var line = editor.addLineClass(i, "background", classes.chunk);
+ if (i == start) editor.addLineClass(line, "background", classes.start);
+ if (i == end - 1) editor.addLineClass(line, "background", classes.end);
+ marks.push(line);
+ }
+ // When the chunk is empty, make sure a horizontal line shows up
+ if (start == end && bfrom == end && bto == end) {
+ if (bfrom)
+ marks.push(editor.addLineClass(bfrom - 1, "background", classes.end));
+ else
+ marks.push(editor.addLineClass(bfrom, "background", classes.start));
+ }
+ }
+
+ var chunkStart = 0;
+ for (var i = 0; i < diff.length; ++i) {
+ var part = diff[i], tp = part[0], str = part[1];
+ if (tp == DIFF_EQUAL) {
+ var cleanFrom = pos.line + (startOfLineClean(diff, i) ? 0 : 1);
+ moveOver(pos, str);
+ var cleanTo = pos.line + (endOfLineClean(diff, i) ? 1 : 0);
+ if (cleanTo > cleanFrom) {
+ if (i) markChunk(chunkStart, cleanFrom);
+ chunkStart = cleanTo;
+ }
+ } else {
+ if (tp == type) {
+ var end = moveOver(pos, str, true);
+ var a = posMax(top, pos), b = posMin(bot, end);
+ if (!posEq(a, b))
+ marks.push(editor.markText(a, b, {className: cls}));
+ pos = end;
+ }
+ }
+ }
+ if (chunkStart <= pos.line) markChunk(chunkStart, pos.line + 1);
+ }
+
+ // Updating the gap between editor and original
+
+ function makeConnections(dv) {
+ if (!dv.showDifferences) return;
+
+ if (dv.svg) {
+ clear(dv.svg);
+ var w = dv.gap.offsetWidth;
+ attrs(dv.svg, "width", w, "height", dv.gap.offsetHeight);
+ }
+ if (dv.copyButtons) clear(dv.copyButtons);
+
+ var vpEdit = dv.edit.getViewport(), vpOrig = dv.orig.getViewport();
+ var sTopEdit = dv.edit.getScrollInfo().top, sTopOrig = dv.orig.getScrollInfo().top;
+ for (var i = 0; i < dv.chunks.length; i++) {
+ var ch = dv.chunks[i];
+ if (ch.editFrom <= vpEdit.to && ch.editTo >= vpEdit.from &&
+ ch.origFrom <= vpOrig.to && ch.origTo >= vpOrig.from)
+ drawConnectorsForChunk(dv, ch, sTopOrig, sTopEdit, w);
+ }
+ }
+
+ function getMatchingOrigLine(editLine, chunks) {
+ var editStart = 0, origStart = 0;
+ for (var i = 0; i < chunks.length; i++) {
+ var chunk = chunks[i];
+ if (chunk.editTo > editLine && chunk.editFrom <= editLine) return null;
+ if (chunk.editFrom > editLine) break;
+ editStart = chunk.editTo;
+ origStart = chunk.origTo;
+ }
+ return origStart + (editLine - editStart);
+ }
+
+ function findAlignedLines(dv, other) {
+ var linesToAlign = [];
+ for (var i = 0; i < dv.chunks.length; i++) {
+ var chunk = dv.chunks[i];
+ linesToAlign.push([chunk.origTo, chunk.editTo, other ? getMatchingOrigLine(chunk.editTo, other.chunks) : null]);
+ }
+ if (other) {
+ for (var i = 0; i < other.chunks.length; i++) {
+ var chunk = other.chunks[i];
+ for (var j = 0; j < linesToAlign.length; j++) {
+ var align = linesToAlign[j];
+ if (align[1] == chunk.editTo) {
+ j = -1;
+ break;
+ } else if (align[1] > chunk.editTo) {
+ break;
+ }
+ }
+ if (j > -1)
+ linesToAlign.splice(j - 1, 0, [getMatchingOrigLine(chunk.editTo, dv.chunks), chunk.editTo, chunk.origTo]);
+ }
+ }
+ return linesToAlign;
+ }
+
+ function alignChunks(dv, force) {
+ if (!dv.dealigned && !force) return;
+ if (!dv.orig.curOp) return dv.orig.operation(function() {
+ alignChunks(dv, force);
+ });
+
+ dv.dealigned = false;
+ var other = dv.mv.left == dv ? dv.mv.right : dv.mv.left;
+ if (other) {
+ ensureDiff(other);
+ other.dealigned = false;
+ }
+ var linesToAlign = findAlignedLines(dv, other);
+
+ // Clear old aligners
+ var aligners = dv.mv.aligners;
+ for (var i = 0; i < aligners.length; i++)
+ aligners[i].clear();
+ aligners.length = 0;
+
+ var cm = [dv.orig, dv.edit], scroll = [];
+ if (other) cm.push(other.orig);
+ for (var i = 0; i < cm.length; i++)
+ scroll.push(cm[i].getScrollInfo().top);
+
+ for (var ln = 0; ln < linesToAlign.length; ln++)
+ alignLines(cm, linesToAlign[ln], aligners);
+
+ for (var i = 0; i < cm.length; i++)
+ cm[i].scrollTo(null, scroll[i]);
+ }
+
+ function alignLines(cm, lines, aligners) {
+ var maxOffset = 0, offset = [];
+ for (var i = 0; i < cm.length; i++) if (lines[i] != null) {
+ var off = cm[i].heightAtLine(lines[i], "local");
+ offset[i] = off;
+ maxOffset = Math.max(maxOffset, off);
+ }
+ for (var i = 0; i < cm.length; i++) if (lines[i] != null) {
+ var diff = maxOffset - offset[i];
+ if (diff > 1)
+ aligners.push(padAbove(cm[i], lines[i], diff));
+ }
+ }
+
+ function padAbove(cm, line, size) {
+ var above = true;
+ if (line > cm.lastLine()) {
+ line--;
+ above = false;
+ }
+ var elt = document.createElement("div");
+ elt.className = "CodeMirror-merge-spacer";
+ elt.style.height = size + "px"; elt.style.minWidth = "1px";
+ return cm.addLineWidget(line, elt, {height: size, above: above});
+ }
+
+ function drawConnectorsForChunk(dv, chunk, sTopOrig, sTopEdit, w) {
+ var flip = dv.type == "left";
+ var top = dv.orig.heightAtLine(chunk.origFrom, "local") - sTopOrig;
+ if (dv.svg) {
+ var topLpx = top;
+ var topRpx = dv.edit.heightAtLine(chunk.editFrom, "local") - sTopEdit;
+ if (flip) { var tmp = topLpx; topLpx = topRpx; topRpx = tmp; }
+ var botLpx = dv.orig.heightAtLine(chunk.origTo, "local") - sTopOrig;
+ var botRpx = dv.edit.heightAtLine(chunk.editTo, "local") - sTopEdit;
+ if (flip) { var tmp = botLpx; botLpx = botRpx; botRpx = tmp; }
+ var curveTop = " C " + w/2 + " " + topRpx + " " + w/2 + " " + topLpx + " " + (w + 2) + " " + topLpx;
+ var curveBot = " C " + w/2 + " " + botLpx + " " + w/2 + " " + botRpx + " -1 " + botRpx;
+ attrs(dv.svg.appendChild(document.createElementNS(svgNS, "path")),
+ "d", "M -1 " + topRpx + curveTop + " L " + (w + 2) + " " + botLpx + curveBot + " z",
+ "class", dv.classes.connect);
+ }
+ if (dv.copyButtons) {
+ var copy = dv.copyButtons.appendChild(elt("div", dv.type == "left" ? "\u21dd" : "\u21dc",
+ "CodeMirror-merge-copy"));
+ var editOriginals = dv.mv.options.allowEditingOriginals;
+ copy.title = editOriginals ? "Push to left" : "Revert chunk";
+ copy.chunk = chunk;
+ copy.style.top = top + "px";
+
+ if (editOriginals) {
+ var topReverse = dv.orig.heightAtLine(chunk.editFrom, "local") - sTopEdit;
+ var copyReverse = dv.copyButtons.appendChild(elt("div", dv.type == "right" ? "\u21dd" : "\u21dc",
+ "CodeMirror-merge-copy-reverse"));
+ copyReverse.title = "Push to right";
+ copyReverse.chunk = {editFrom: chunk.origFrom, editTo: chunk.origTo,
+ origFrom: chunk.editFrom, origTo: chunk.editTo};
+ copyReverse.style.top = topReverse + "px";
+ dv.type == "right" ? copyReverse.style.left = "2px" : copyReverse.style.right = "2px";
+ }
+ }
+ }
+
+ function copyChunk(dv, to, from, chunk) {
+ if (dv.diffOutOfDate) return;
+ to.replaceRange(from.getRange(Pos(chunk.origFrom, 0), Pos(chunk.origTo, 0)),
+ Pos(chunk.editFrom, 0), Pos(chunk.editTo, 0));
+ }
+
+ // Merge view, containing 0, 1, or 2 diff views.
+
+ var MergeView = CodeMirror.MergeView = function(node, options) {
+ if (!(this instanceof MergeView)) return new MergeView(node, options);
+
+ this.options = options;
+ var origLeft = options.origLeft, origRight = options.origRight == null ? options.orig : options.origRight;
+
+ var hasLeft = origLeft != null, hasRight = origRight != null;
+ var panes = 1 + (hasLeft ? 1 : 0) + (hasRight ? 1 : 0);
+ var wrap = [], left = this.left = null, right = this.right = null;
+ var self = this;
+
+ if (hasLeft) {
+ left = this.left = new DiffView(this, "left");
+ var leftPane = elt("div", null, "CodeMirror-merge-pane");
+ wrap.push(leftPane);
+ wrap.push(buildGap(left));
+ }
+
+ var editPane = elt("div", null, "CodeMirror-merge-pane");
+ wrap.push(editPane);
+
+ if (hasRight) {
+ right = this.right = new DiffView(this, "right");
+ wrap.push(buildGap(right));
+ var rightPane = elt("div", null, "CodeMirror-merge-pane");
+ wrap.push(rightPane);
+ }
+
+ (hasRight ? rightPane : editPane).className += " CodeMirror-merge-pane-rightmost";
+
+ wrap.push(elt("div", null, null, "height: 0; clear: both;"));
+
+ var wrapElt = this.wrap = node.appendChild(elt("div", wrap, "CodeMirror-merge CodeMirror-merge-" + panes + "pane"));
+ this.edit = CodeMirror(editPane, copyObj(options));
+
+ if (left) left.init(leftPane, origLeft, options);
+ if (right) right.init(rightPane, origRight, options);
+
+ if (options.collapseIdentical) {
+ updating = true;
+ this.editor().operation(function() {
+ collapseIdenticalStretches(self, options.collapseIdentical);
+ });
+ updating = false;
+ }
+ if (options.connect == "align") {
+ this.aligners = [];
+ alignChunks(this.left || this.right, true);
+ }
+
+ var onResize = function() {
+ if (left) makeConnections(left);
+ if (right) makeConnections(right);
+ };
+ CodeMirror.on(window, "resize", onResize);
+ var resizeInterval = setInterval(function() {
+ for (var p = wrapElt.parentNode; p && p != document.body; p = p.parentNode) {}
+ if (!p) { clearInterval(resizeInterval); CodeMirror.off(window, "resize", onResize); }
+ }, 5000);
+ };
+
+ function buildGap(dv) {
+ var lock = dv.lockButton = elt("div", null, "CodeMirror-merge-scrolllock");
+ lock.title = "Toggle locked scrolling";
+ var lockWrap = elt("div", [lock], "CodeMirror-merge-scrolllock-wrap");
+ CodeMirror.on(lock, "click", function() { setScrollLock(dv, !dv.lockScroll); });
+ var gapElts = [lockWrap];
+ if (dv.mv.options.revertButtons !== false) {
+ dv.copyButtons = elt("div", null, "CodeMirror-merge-copybuttons-" + dv.type);
+ CodeMirror.on(dv.copyButtons, "click", function(e) {
+ var node = e.target || e.srcElement;
+ if (!node.chunk) return;
+ if (node.className == "CodeMirror-merge-copy-reverse") {
+ copyChunk(dv, dv.orig, dv.edit, node.chunk);
+ return;
+ }
+ copyChunk(dv, dv.edit, dv.orig, node.chunk);
+ });
+ gapElts.unshift(dv.copyButtons);
+ }
+ if (dv.mv.options.connect != "align") {
+ var svg = document.createElementNS && document.createElementNS(svgNS, "svg");
+ if (svg && !svg.createSVGRect) svg = null;
+ dv.svg = svg;
+ if (svg) gapElts.push(svg);
+ }
+
+ return dv.gap = elt("div", gapElts, "CodeMirror-merge-gap");
+ }
+
+ MergeView.prototype = {
+ constuctor: MergeView,
+ editor: function() { return this.edit; },
+ rightOriginal: function() { return this.right && this.right.orig; },
+ leftOriginal: function() { return this.left && this.left.orig; },
+ setShowDifferences: function(val) {
+ if (this.right) this.right.setShowDifferences(val);
+ if (this.left) this.left.setShowDifferences(val);
+ },
+ rightChunks: function() {
+ if (this.right) { ensureDiff(this.right); return this.right.chunks; }
+ },
+ leftChunks: function() {
+ if (this.left) { ensureDiff(this.left); return this.left.chunks; }
+ }
+ };
+
+ function asString(obj) {
+ if (typeof obj == "string") return obj;
+ else return obj.getValue();
+ }
+
+ // Operations on diffs
+
+ var dmp = new diff_match_patch();
+ function getDiff(a, b) {
+ var diff = dmp.diff_main(a, b);
+ dmp.diff_cleanupSemantic(diff);
+ // The library sometimes leaves in empty parts, which confuse the algorithm
+ for (var i = 0; i < diff.length; ++i) {
+ var part = diff[i];
+ if (!part[1]) {
+ diff.splice(i--, 1);
+ } else if (i && diff[i - 1][0] == part[0]) {
+ diff.splice(i--, 1);
+ diff[i][1] += part[1];
+ }
+ }
+ return diff;
+ }
+
+ function getChunks(diff) {
+ var chunks = [];
+ var startEdit = 0, startOrig = 0;
+ var edit = Pos(0, 0), orig = Pos(0, 0);
+ for (var i = 0; i < diff.length; ++i) {
+ var part = diff[i], tp = part[0];
+ if (tp == DIFF_EQUAL) {
+ var startOff = startOfLineClean(diff, i) ? 0 : 1;
+ var cleanFromEdit = edit.line + startOff, cleanFromOrig = orig.line + startOff;
+ moveOver(edit, part[1], null, orig);
+ var endOff = endOfLineClean(diff, i) ? 1 : 0;
+ var cleanToEdit = edit.line + endOff, cleanToOrig = orig.line + endOff;
+ if (cleanToEdit > cleanFromEdit) {
+ if (i) chunks.push({origFrom: startOrig, origTo: cleanFromOrig,
+ editFrom: startEdit, editTo: cleanFromEdit});
+ startEdit = cleanToEdit; startOrig = cleanToOrig;
+ }
+ } else {
+ moveOver(tp == DIFF_INSERT ? edit : orig, part[1]);
+ }
+ }
+ if (startEdit <= edit.line || startOrig <= orig.line)
+ chunks.push({origFrom: startOrig, origTo: orig.line + 1,
+ editFrom: startEdit, editTo: edit.line + 1});
+ return chunks;
+ }
+
+ function endOfLineClean(diff, i) {
+ if (i == diff.length - 1) return true;
+ var next = diff[i + 1][1];
+ if (next.length == 1 || next.charCodeAt(0) != 10) return false;
+ if (i == diff.length - 2) return true;
+ next = diff[i + 2][1];
+ return next.length > 1 && next.charCodeAt(0) == 10;
+ }
+
+ function startOfLineClean(diff, i) {
+ if (i == 0) return true;
+ var last = diff[i - 1][1];
+ if (last.charCodeAt(last.length - 1) != 10) return false;
+ if (i == 1) return true;
+ last = diff[i - 2][1];
+ return last.charCodeAt(last.length - 1) == 10;
+ }
+
+ function chunkBoundariesAround(chunks, n, nInEdit) {
+ var beforeE, afterE, beforeO, afterO;
+ for (var i = 0; i < chunks.length; i++) {
+ var chunk = chunks[i];
+ var fromLocal = nInEdit ? chunk.editFrom : chunk.origFrom;
+ var toLocal = nInEdit ? chunk.editTo : chunk.origTo;
+ if (afterE == null) {
+ if (fromLocal > n) { afterE = chunk.editFrom; afterO = chunk.origFrom; }
+ else if (toLocal > n) { afterE = chunk.editTo; afterO = chunk.origTo; }
+ }
+ if (toLocal <= n) { beforeE = chunk.editTo; beforeO = chunk.origTo; }
+ else if (fromLocal <= n) { beforeE = chunk.editFrom; beforeO = chunk.origFrom; }
+ }
+ return {edit: {before: beforeE, after: afterE}, orig: {before: beforeO, after: afterO}};
+ }
+
+ function collapseSingle(cm, from, to) {
+ cm.addLineClass(from, "wrap", "CodeMirror-merge-collapsed-line");
+ var widget = document.createElement("span");
+ widget.className = "CodeMirror-merge-collapsed-widget";
+ widget.title = "Identical text collapsed. Click to expand.";
+ var mark = cm.markText(Pos(from, 0), Pos(to - 1), {
+ inclusiveLeft: true,
+ inclusiveRight: true,
+ replacedWith: widget,
+ clearOnEnter: true
+ });
+ function clear() {
+ mark.clear();
+ cm.removeLineClass(from, "wrap", "CodeMirror-merge-collapsed-line");
+ }
+ widget.addEventListener("click", clear);
+ return {mark: mark, clear: clear};
+ }
+
+ function collapseStretch(size, editors) {
+ var marks = [];
+ function clear() {
+ for (var i = 0; i < marks.length; i++) marks[i].clear();
+ }
+ for (var i = 0; i < editors.length; i++) {
+ var editor = editors[i];
+ var mark = collapseSingle(editor.cm, editor.line, editor.line + size);
+ marks.push(mark);
+ mark.mark.on("clear", clear);
+ }
+ return marks[0].mark;
+ }
+
+ function unclearNearChunks(dv, margin, off, clear) {
+ for (var i = 0; i < dv.chunks.length; i++) {
+ var chunk = dv.chunks[i];
+ for (var l = chunk.editFrom - margin; l < chunk.editTo + margin; l++) {
+ var pos = l + off;
+ if (pos >= 0 && pos < clear.length) clear[pos] = false;
+ }
+ }
+ }
+
+ function collapseIdenticalStretches(mv, margin) {
+ if (typeof margin != "number") margin = 2;
+ var clear = [], edit = mv.editor(), off = edit.firstLine();
+ for (var l = off, e = edit.lastLine(); l <= e; l++) clear.push(true);
+ if (mv.left) unclearNearChunks(mv.left, margin, off, clear);
+ if (mv.right) unclearNearChunks(mv.right, margin, off, clear);
+
+ for (var i = 0; i < clear.length; i++) {
+ if (clear[i]) {
+ var line = i + off;
+ for (var size = 1; i < clear.length - 1 && clear[i + 1]; i++, size++) {}
+ if (size > margin) {
+ var editors = [{line: line, cm: edit}];
+ if (mv.left) editors.push({line: getMatchingOrigLine(line, mv.left.chunks), cm: mv.left.orig});
+ if (mv.right) editors.push({line: getMatchingOrigLine(line, mv.right.chunks), cm: mv.right.orig});
+ var mark = collapseStretch(size, editors);
+ if (mv.options.onCollapse) mv.options.onCollapse(mv, line, size, mark);
+ }
+ }
+ }
+ }
+
+ // General utilities
+
+ function elt(tag, content, className, style) {
+ var e = document.createElement(tag);
+ if (className) e.className = className;
+ if (style) e.style.cssText = style;
+ if (typeof content == "string") e.appendChild(document.createTextNode(content));
+ else if (content) for (var i = 0; i < content.length; ++i) e.appendChild(content[i]);
+ return e;
+ }
+
+ function clear(node) {
+ for (var count = node.childNodes.length; count > 0; --count)
+ node.removeChild(node.firstChild);
+ }
+
+ function attrs(elt) {
+ for (var i = 1; i < arguments.length; i += 2)
+ elt.setAttribute(arguments[i], arguments[i+1]);
+ }
+
+ function copyObj(obj, target) {
+ if (!target) target = {};
+ for (var prop in obj) if (obj.hasOwnProperty(prop)) target[prop] = obj[prop];
+ return target;
+ }
+
+ function moveOver(pos, str, copy, other) {
+ var out = copy ? Pos(pos.line, pos.ch) : pos, at = 0;
+ for (;;) {
+ var nl = str.indexOf("\n", at);
+ if (nl == -1) break;
+ ++out.line;
+ if (other) ++other.line;
+ at = nl + 1;
+ }
+ out.ch = (at ? 0 : out.ch) + (str.length - at);
+ if (other) other.ch = (at ? 0 : other.ch) + (str.length - at);
+ return out;
+ }
+
+ function posMin(a, b) { return (a.line - b.line || a.ch - b.ch) < 0 ? a : b; }
+ function posMax(a, b) { return (a.line - b.line || a.ch - b.ch) > 0 ? a : b; }
+ function posEq(a, b) { return a.line == b.line && a.ch == b.ch; }
+
+ function findPrevDiff(chunks, start, isOrig) {
+ for (var i = chunks.length - 1; i >= 0; i--) {
+ var chunk = chunks[i];
+ var to = (isOrig ? chunk.origTo : chunk.editTo) - 1;
+ if (to < start) return to;
+ }
+ }
+
+ function findNextDiff(chunks, start, isOrig) {
+ for (var i = 0; i < chunks.length; i++) {
+ var chunk = chunks[i];
+ var from = (isOrig ? chunk.origFrom : chunk.editFrom);
+ if (from > start) return from;
+ }
+ }
+
+ function goNearbyDiff(cm, dir) {
+ var found = null, views = cm.state.diffViews, line = cm.getCursor().line;
+ if (views) for (var i = 0; i < views.length; i++) {
+ var dv = views[i], isOrig = cm == dv.orig;
+ ensureDiff(dv);
+ var pos = dir < 0 ? findPrevDiff(dv.chunks, line, isOrig) : findNextDiff(dv.chunks, line, isOrig);
+ if (pos != null && (found == null || (dir < 0 ? pos > found : pos < found)))
+ found = pos;
+ }
+ if (found != null)
+ cm.setCursor(found, 0);
+ else
+ return CodeMirror.Pass;
+ }
+
+ CodeMirror.commands.goNextDiff = function(cm) {
+ return goNearbyDiff(cm, 1);
+ };
+ CodeMirror.commands.goPrevDiff = function(cm) {
+ return goNearbyDiff(cm, -1);
+ };
+});
diff --git a/public/vendor/codemirror/addon/mode/loadmode.js b/public/vendor/codemirror/addon/mode/loadmode.js
new file mode 100755
index 00000000..10117ec2
--- /dev/null
+++ b/public/vendor/codemirror/addon/mode/loadmode.js
@@ -0,0 +1,64 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"), "cjs");
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], function(CM) { mod(CM, "amd"); });
+ else // Plain browser env
+ mod(CodeMirror, "plain");
+})(function(CodeMirror, env) {
+ if (!CodeMirror.modeURL) CodeMirror.modeURL = "../mode/%N/%N.js";
+
+ var loading = {};
+ function splitCallback(cont, n) {
+ var countDown = n;
+ return function() { if (--countDown == 0) cont(); };
+ }
+ function ensureDeps(mode, cont) {
+ var deps = CodeMirror.modes[mode].dependencies;
+ if (!deps) return cont();
+ var missing = [];
+ for (var i = 0; i < deps.length; ++i) {
+ if (!CodeMirror.modes.hasOwnProperty(deps[i]))
+ missing.push(deps[i]);
+ }
+ if (!missing.length) return cont();
+ var split = splitCallback(cont, missing.length);
+ for (var i = 0; i < missing.length; ++i)
+ CodeMirror.requireMode(missing[i], split);
+ }
+
+ CodeMirror.requireMode = function(mode, cont) {
+ if (typeof mode != "string") mode = mode.name;
+ if (CodeMirror.modes.hasOwnProperty(mode)) return ensureDeps(mode, cont);
+ if (loading.hasOwnProperty(mode)) return loading[mode].push(cont);
+
+ var file = CodeMirror.modeURL.replace(/%N/g, mode);
+ if (env == "plain") {
+ var script = document.createElement("script");
+ script.src = file;
+ var others = document.getElementsByTagName("script")[0];
+ var list = loading[mode] = [cont];
+ CodeMirror.on(script, "load", function() {
+ ensureDeps(mode, function() {
+ for (var i = 0; i < list.length; ++i) list[i]();
+ });
+ });
+ others.parentNode.insertBefore(script, others);
+ } else if (env == "cjs") {
+ require(file);
+ cont();
+ } else if (env == "amd") {
+ requirejs([file], cont);
+ }
+ };
+
+ CodeMirror.autoLoadMode = function(instance, mode) {
+ if (!CodeMirror.modes.hasOwnProperty(mode))
+ CodeMirror.requireMode(mode, function() {
+ instance.setOption("mode", instance.getOption("mode"));
+ });
+ };
+});
diff --git a/public/vendor/codemirror/addon/mode/multiplex.js b/public/vendor/codemirror/addon/mode/multiplex.js
new file mode 100755
index 00000000..fe48c7fb
--- /dev/null
+++ b/public/vendor/codemirror/addon/mode/multiplex.js
@@ -0,0 +1,123 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+"use strict";
+
+CodeMirror.multiplexingMode = function(outer /*, others */) {
+ // Others should be {open, close, mode [, delimStyle] [, innerStyle]} objects
+ var others = Array.prototype.slice.call(arguments, 1);
+
+ function indexOf(string, pattern, from, returnEnd) {
+ if (typeof pattern == "string") {
+ var found = string.indexOf(pattern, from);
+ return returnEnd && found > -1 ? found + pattern.length : found;
+ }
+ var m = pattern.exec(from ? string.slice(from) : string);
+ return m ? m.index + from + (returnEnd ? m[0].length : 0) : -1;
+ }
+
+ return {
+ startState: function() {
+ return {
+ outer: CodeMirror.startState(outer),
+ innerActive: null,
+ inner: null
+ };
+ },
+
+ copyState: function(state) {
+ return {
+ outer: CodeMirror.copyState(outer, state.outer),
+ innerActive: state.innerActive,
+ inner: state.innerActive && CodeMirror.copyState(state.innerActive.mode, state.inner)
+ };
+ },
+
+ token: function(stream, state) {
+ if (!state.innerActive) {
+ var cutOff = Infinity, oldContent = stream.string;
+ for (var i = 0; i < others.length; ++i) {
+ var other = others[i];
+ var found = indexOf(oldContent, other.open, stream.pos);
+ if (found == stream.pos) {
+ if (!other.parseDelimiters) stream.match(other.open);
+ state.innerActive = other;
+ state.inner = CodeMirror.startState(other.mode, outer.indent ? outer.indent(state.outer, "") : 0);
+ return other.delimStyle;
+ } else if (found != -1 && found < cutOff) {
+ cutOff = found;
+ }
+ }
+ if (cutOff != Infinity) stream.string = oldContent.slice(0, cutOff);
+ var outerToken = outer.token(stream, state.outer);
+ if (cutOff != Infinity) stream.string = oldContent;
+ return outerToken;
+ } else {
+ var curInner = state.innerActive, oldContent = stream.string;
+ if (!curInner.close && stream.sol()) {
+ state.innerActive = state.inner = null;
+ return this.token(stream, state);
+ }
+ var found = curInner.close ? indexOf(oldContent, curInner.close, stream.pos, curInner.parseDelimiters) : -1;
+ if (found == stream.pos && !curInner.parseDelimiters) {
+ stream.match(curInner.close);
+ state.innerActive = state.inner = null;
+ return curInner.delimStyle;
+ }
+ if (found > -1) stream.string = oldContent.slice(0, found);
+ var innerToken = curInner.mode.token(stream, state.inner);
+ if (found > -1) stream.string = oldContent;
+
+ if (found == stream.pos && curInner.parseDelimiters)
+ state.innerActive = state.inner = null;
+
+ if (curInner.innerStyle) {
+ if (innerToken) innerToken = innerToken + ' ' + curInner.innerStyle;
+ else innerToken = curInner.innerStyle;
+ }
+
+ return innerToken;
+ }
+ },
+
+ indent: function(state, textAfter) {
+ var mode = state.innerActive ? state.innerActive.mode : outer;
+ if (!mode.indent) return CodeMirror.Pass;
+ return mode.indent(state.innerActive ? state.inner : state.outer, textAfter);
+ },
+
+ blankLine: function(state) {
+ var mode = state.innerActive ? state.innerActive.mode : outer;
+ if (mode.blankLine) {
+ mode.blankLine(state.innerActive ? state.inner : state.outer);
+ }
+ if (!state.innerActive) {
+ for (var i = 0; i < others.length; ++i) {
+ var other = others[i];
+ if (other.open === "\n") {
+ state.innerActive = other;
+ state.inner = CodeMirror.startState(other.mode, mode.indent ? mode.indent(state.outer, "") : 0);
+ }
+ }
+ } else if (state.innerActive.close === "\n") {
+ state.innerActive = state.inner = null;
+ }
+ },
+
+ electricChars: outer.electricChars,
+
+ innerMode: function(state) {
+ return state.inner ? {state: state.inner, mode: state.innerActive.mode} : {state: state.outer, mode: outer};
+ }
+ };
+};
+
+});
diff --git a/public/vendor/codemirror/addon/mode/multiplex_test.js b/public/vendor/codemirror/addon/mode/multiplex_test.js
new file mode 100755
index 00000000..d3394342
--- /dev/null
+++ b/public/vendor/codemirror/addon/mode/multiplex_test.js
@@ -0,0 +1,33 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function() {
+ CodeMirror.defineMode("markdown_with_stex", function(){
+ var inner = CodeMirror.getMode({}, "stex");
+ var outer = CodeMirror.getMode({}, "markdown");
+
+ var innerOptions = {
+ open: '$',
+ close: '$',
+ mode: inner,
+ delimStyle: 'delim',
+ innerStyle: 'inner'
+ };
+
+ return CodeMirror.multiplexingMode(outer, innerOptions);
+ });
+
+ var mode = CodeMirror.getMode({}, "markdown_with_stex");
+
+ function MT(name) {
+ test.mode(
+ name,
+ mode,
+ Array.prototype.slice.call(arguments, 1),
+ 'multiplexing');
+ }
+
+ MT(
+ "stexInsideMarkdown",
+ "[strong **Equation:**] [delim $][inner&tag \\pi][delim $]");
+})();
diff --git a/public/vendor/codemirror/addon/mode/overlay.js b/public/vendor/codemirror/addon/mode/overlay.js
new file mode 100755
index 00000000..e1b9ed37
--- /dev/null
+++ b/public/vendor/codemirror/addon/mode/overlay.js
@@ -0,0 +1,85 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+// Utility function that allows modes to be combined. The mode given
+// as the base argument takes care of most of the normal mode
+// functionality, but a second (typically simple) mode is used, which
+// can override the style of text. Both modes get to parse all of the
+// text, but when both assign a non-null style to a piece of code, the
+// overlay wins, unless the combine argument was true and not overridden,
+// or state.overlay.combineTokens was true, in which case the styles are
+// combined.
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+"use strict";
+
+CodeMirror.overlayMode = function(base, overlay, combine) {
+ return {
+ startState: function() {
+ return {
+ base: CodeMirror.startState(base),
+ overlay: CodeMirror.startState(overlay),
+ basePos: 0, baseCur: null,
+ overlayPos: 0, overlayCur: null,
+ streamSeen: null
+ };
+ },
+ copyState: function(state) {
+ return {
+ base: CodeMirror.copyState(base, state.base),
+ overlay: CodeMirror.copyState(overlay, state.overlay),
+ basePos: state.basePos, baseCur: null,
+ overlayPos: state.overlayPos, overlayCur: null
+ };
+ },
+
+ token: function(stream, state) {
+ if (stream != state.streamSeen ||
+ Math.min(state.basePos, state.overlayPos) < stream.start) {
+ state.streamSeen = stream;
+ state.basePos = state.overlayPos = stream.start;
+ }
+
+ if (stream.start == state.basePos) {
+ state.baseCur = base.token(stream, state.base);
+ state.basePos = stream.pos;
+ }
+ if (stream.start == state.overlayPos) {
+ stream.pos = stream.start;
+ state.overlayCur = overlay.token(stream, state.overlay);
+ state.overlayPos = stream.pos;
+ }
+ stream.pos = Math.min(state.basePos, state.overlayPos);
+
+ // state.overlay.combineTokens always takes precedence over combine,
+ // unless set to null
+ if (state.overlayCur == null) return state.baseCur;
+ else if (state.baseCur != null &&
+ state.overlay.combineTokens ||
+ combine && state.overlay.combineTokens == null)
+ return state.baseCur + " " + state.overlayCur;
+ else return state.overlayCur;
+ },
+
+ indent: base.indent && function(state, textAfter) {
+ return base.indent(state.base, textAfter);
+ },
+ electricChars: base.electricChars,
+
+ innerMode: function(state) { return {state: state.base, mode: base}; },
+
+ blankLine: function(state) {
+ if (base.blankLine) base.blankLine(state.base);
+ if (overlay.blankLine) overlay.blankLine(state.overlay);
+ }
+ };
+};
+
+});
diff --git a/public/vendor/codemirror/addon/mode/simple.js b/public/vendor/codemirror/addon/mode/simple.js
new file mode 100755
index 00000000..795328b8
--- /dev/null
+++ b/public/vendor/codemirror/addon/mode/simple.js
@@ -0,0 +1,213 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+ "use strict";
+
+ CodeMirror.defineSimpleMode = function(name, states) {
+ CodeMirror.defineMode(name, function(config) {
+ return CodeMirror.simpleMode(config, states);
+ });
+ };
+
+ CodeMirror.simpleMode = function(config, states) {
+ ensureState(states, "start");
+ var states_ = {}, meta = states.meta || {}, hasIndentation = false;
+ for (var state in states) if (state != meta && states.hasOwnProperty(state)) {
+ var list = states_[state] = [], orig = states[state];
+ for (var i = 0; i < orig.length; i++) {
+ var data = orig[i];
+ list.push(new Rule(data, states));
+ if (data.indent || data.dedent) hasIndentation = true;
+ }
+ }
+ var mode = {
+ startState: function() {
+ return {state: "start", pending: null,
+ local: null, localState: null,
+ indent: hasIndentation ? [] : null};
+ },
+ copyState: function(state) {
+ var s = {state: state.state, pending: state.pending,
+ local: state.local, localState: null,
+ indent: state.indent && state.indent.slice(0)};
+ if (state.localState)
+ s.localState = CodeMirror.copyState(state.local.mode, state.localState);
+ if (state.stack)
+ s.stack = state.stack.slice(0);
+ for (var pers = state.persistentStates; pers; pers = pers.next)
+ s.persistentStates = {mode: pers.mode,
+ spec: pers.spec,
+ state: pers.state == state.localState ? s.localState : CodeMirror.copyState(pers.mode, pers.state),
+ next: s.persistentStates};
+ return s;
+ },
+ token: tokenFunction(states_, config),
+ innerMode: function(state) { return state.local && {mode: state.local.mode, state: state.localState}; },
+ indent: indentFunction(states_, meta)
+ };
+ if (meta) for (var prop in meta) if (meta.hasOwnProperty(prop))
+ mode[prop] = meta[prop];
+ return mode;
+ };
+
+ function ensureState(states, name) {
+ if (!states.hasOwnProperty(name))
+ throw new Error("Undefined state " + name + "in simple mode");
+ }
+
+ function toRegex(val, caret) {
+ if (!val) return /(?:)/;
+ var flags = "";
+ if (val instanceof RegExp) {
+ if (val.ignoreCase) flags = "i";
+ val = val.source;
+ } else {
+ val = String(val);
+ }
+ return new RegExp((caret === false ? "" : "^") + "(?:" + val + ")", flags);
+ }
+
+ function asToken(val) {
+ if (!val) return null;
+ if (typeof val == "string") return val.replace(/\./g, " ");
+ var result = [];
+ for (var i = 0; i < val.length; i++)
+ result.push(val[i] && val[i].replace(/\./g, " "));
+ return result;
+ }
+
+ function Rule(data, states) {
+ if (data.next || data.push) ensureState(states, data.next || data.push);
+ this.regex = toRegex(data.regex);
+ this.token = asToken(data.token);
+ this.data = data;
+ }
+
+ function tokenFunction(states, config) {
+ return function(stream, state) {
+ if (state.pending) {
+ var pend = state.pending.shift();
+ if (state.pending.length == 0) state.pending = null;
+ stream.pos += pend.text.length;
+ return pend.token;
+ }
+
+ if (state.local) {
+ if (state.local.end && stream.match(state.local.end)) {
+ var tok = state.local.endToken || null;
+ state.local = state.localState = null;
+ return tok;
+ } else {
+ var tok = state.local.mode.token(stream, state.localState), m;
+ if (state.local.endScan && (m = state.local.endScan.exec(stream.current())))
+ stream.pos = stream.start + m.index;
+ return tok;
+ }
+ }
+
+ var curState = states[state.state];
+ for (var i = 0; i < curState.length; i++) {
+ var rule = curState[i];
+ var matches = (!rule.data.sol || stream.sol()) && stream.match(rule.regex);
+ if (matches) {
+ if (rule.data.next) {
+ state.state = rule.data.next;
+ } else if (rule.data.push) {
+ (state.stack || (state.stack = [])).push(state.state);
+ state.state = rule.data.push;
+ } else if (rule.data.pop && state.stack && state.stack.length) {
+ state.state = state.stack.pop();
+ }
+
+ if (rule.data.mode)
+ enterLocalMode(config, state, rule.data.mode, rule.token);
+ if (rule.data.indent)
+ state.indent.push(stream.indentation() + config.indentUnit);
+ if (rule.data.dedent)
+ state.indent.pop();
+ if (matches.length > 2) {
+ state.pending = [];
+ for (var j = 2; j < matches.length; j++)
+ if (matches[j])
+ state.pending.push({text: matches[j], token: rule.token[j - 1]});
+ stream.backUp(matches[0].length - (matches[1] ? matches[1].length : 0));
+ return rule.token[0];
+ } else if (rule.token && rule.token.join) {
+ return rule.token[0];
+ } else {
+ return rule.token;
+ }
+ }
+ }
+ stream.next();
+ return null;
+ };
+ }
+
+ function cmp(a, b) {
+ if (a === b) return true;
+ if (!a || typeof a != "object" || !b || typeof b != "object") return false;
+ var props = 0;
+ for (var prop in a) if (a.hasOwnProperty(prop)) {
+ if (!b.hasOwnProperty(prop) || !cmp(a[prop], b[prop])) return false;
+ props++;
+ }
+ for (var prop in b) if (b.hasOwnProperty(prop)) props--;
+ return props == 0;
+ }
+
+ function enterLocalMode(config, state, spec, token) {
+ var pers;
+ if (spec.persistent) for (var p = state.persistentStates; p && !pers; p = p.next)
+ if (spec.spec ? cmp(spec.spec, p.spec) : spec.mode == p.mode) pers = p;
+ var mode = pers ? pers.mode : spec.mode || CodeMirror.getMode(config, spec.spec);
+ var lState = pers ? pers.state : CodeMirror.startState(mode);
+ if (spec.persistent && !pers)
+ state.persistentStates = {mode: mode, spec: spec.spec, state: lState, next: state.persistentStates};
+
+ state.localState = lState;
+ state.local = {mode: mode,
+ end: spec.end && toRegex(spec.end),
+ endScan: spec.end && spec.forceEnd !== false && toRegex(spec.end, false),
+ endToken: token && token.join ? token[token.length - 1] : token};
+ }
+
+ function indexOf(val, arr) {
+ for (var i = 0; i < arr.length; i++) if (arr[i] === val) return true;
+ }
+
+ function indentFunction(states, meta) {
+ return function(state, textAfter, line) {
+ if (state.local && state.local.mode.indent)
+ return state.local.mode.indent(state.localState, textAfter, line);
+ if (state.indent == null || state.local || meta.dontIndentStates && indexOf(state.state, meta.dontIndentStates) > -1)
+ return CodeMirror.Pass;
+
+ var pos = state.indent.length - 1, rules = states[state.state];
+ scan: for (;;) {
+ for (var i = 0; i < rules.length; i++) {
+ var rule = rules[i];
+ if (rule.data.dedent && rule.data.dedentIfLineStart !== false) {
+ var m = rule.regex.exec(textAfter);
+ if (m && m[0]) {
+ pos--;
+ if (rule.next || rule.push) rules = states[rule.next || rule.push];
+ textAfter = textAfter.slice(m[0].length);
+ continue scan;
+ }
+ }
+ }
+ break;
+ }
+ return pos < 0 ? 0 : state.indent[pos];
+ };
+ }
+});
diff --git a/public/vendor/codemirror/addon/runmode/colorize.js b/public/vendor/codemirror/addon/runmode/colorize.js
new file mode 100755
index 00000000..eb7060d0
--- /dev/null
+++ b/public/vendor/codemirror/addon/runmode/colorize.js
@@ -0,0 +1,40 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"), require("./runmode"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror", "./runmode"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+ "use strict";
+
+ var isBlock = /^(p|li|div|h\\d|pre|blockquote|td)$/;
+
+ function textContent(node, out) {
+ if (node.nodeType == 3) return out.push(node.nodeValue);
+ for (var ch = node.firstChild; ch; ch = ch.nextSibling) {
+ textContent(ch, out);
+ if (isBlock.test(node.nodeType)) out.push("\n");
+ }
+ }
+
+ CodeMirror.colorize = function(collection, defaultMode) {
+ if (!collection) collection = document.body.getElementsByTagName("pre");
+
+ for (var i = 0; i < collection.length; ++i) {
+ var node = collection[i];
+ var mode = node.getAttribute("data-lang") || defaultMode;
+ if (!mode) continue;
+
+ var text = [];
+ textContent(node, text);
+ node.innerHTML = "";
+ CodeMirror.runMode(text.join(""), mode, node);
+
+ node.className += " cm-s-default";
+ }
+ };
+});
diff --git a/public/vendor/codemirror/addon/runmode/runmode-standalone.js b/public/vendor/codemirror/addon/runmode/runmode-standalone.js
new file mode 100755
index 00000000..f4f352c8
--- /dev/null
+++ b/public/vendor/codemirror/addon/runmode/runmode-standalone.js
@@ -0,0 +1,157 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+window.CodeMirror = {};
+
+(function() {
+"use strict";
+
+function splitLines(string){ return string.split(/\r?\n|\r/); };
+
+function StringStream(string) {
+ this.pos = this.start = 0;
+ this.string = string;
+ this.lineStart = 0;
+}
+StringStream.prototype = {
+ eol: function() {return this.pos >= this.string.length;},
+ sol: function() {return this.pos == 0;},
+ peek: function() {return this.string.charAt(this.pos) || null;},
+ next: function() {
+ if (this.pos < this.string.length)
+ return this.string.charAt(this.pos++);
+ },
+ eat: function(match) {
+ var ch = this.string.charAt(this.pos);
+ if (typeof match == "string") var ok = ch == match;
+ else var ok = ch && (match.test ? match.test(ch) : match(ch));
+ if (ok) {++this.pos; return ch;}
+ },
+ eatWhile: function(match) {
+ var start = this.pos;
+ while (this.eat(match)){}
+ return this.pos > start;
+ },
+ eatSpace: function() {
+ var start = this.pos;
+ while (/[\s\u00a0]/.test(this.string.charAt(this.pos))) ++this.pos;
+ return this.pos > start;
+ },
+ skipToEnd: function() {this.pos = this.string.length;},
+ skipTo: function(ch) {
+ var found = this.string.indexOf(ch, this.pos);
+ if (found > -1) {this.pos = found; return true;}
+ },
+ backUp: function(n) {this.pos -= n;},
+ column: function() {return this.start - this.lineStart;},
+ indentation: function() {return 0;},
+ match: function(pattern, consume, caseInsensitive) {
+ if (typeof pattern == "string") {
+ var cased = function(str) {return caseInsensitive ? str.toLowerCase() : str;};
+ var substr = this.string.substr(this.pos, pattern.length);
+ if (cased(substr) == cased(pattern)) {
+ if (consume !== false) this.pos += pattern.length;
+ return true;
+ }
+ } else {
+ var match = this.string.slice(this.pos).match(pattern);
+ if (match && match.index > 0) return null;
+ if (match && consume !== false) this.pos += match[0].length;
+ return match;
+ }
+ },
+ current: function(){return this.string.slice(this.start, this.pos);},
+ hideFirstChars: function(n, inner) {
+ this.lineStart += n;
+ try { return inner(); }
+ finally { this.lineStart -= n; }
+ }
+};
+CodeMirror.StringStream = StringStream;
+
+CodeMirror.startState = function (mode, a1, a2) {
+ return mode.startState ? mode.startState(a1, a2) : true;
+};
+
+var modes = CodeMirror.modes = {}, mimeModes = CodeMirror.mimeModes = {};
+CodeMirror.defineMode = function (name, mode) {
+ if (arguments.length > 2)
+ mode.dependencies = Array.prototype.slice.call(arguments, 2);
+ modes[name] = mode;
+};
+CodeMirror.defineMIME = function (mime, spec) { mimeModes[mime] = spec; };
+CodeMirror.resolveMode = function(spec) {
+ if (typeof spec == "string" && mimeModes.hasOwnProperty(spec)) {
+ spec = mimeModes[spec];
+ } else if (spec && typeof spec.name == "string" && mimeModes.hasOwnProperty(spec.name)) {
+ spec = mimeModes[spec.name];
+ }
+ if (typeof spec == "string") return {name: spec};
+ else return spec || {name: "null"};
+};
+CodeMirror.getMode = function (options, spec) {
+ spec = CodeMirror.resolveMode(spec);
+ var mfactory = modes[spec.name];
+ if (!mfactory) throw new Error("Unknown mode: " + spec);
+ return mfactory(options, spec);
+};
+CodeMirror.registerHelper = CodeMirror.registerGlobalHelper = Math.min;
+CodeMirror.defineMode("null", function() {
+ return {token: function(stream) {stream.skipToEnd();}};
+});
+CodeMirror.defineMIME("text/plain", "null");
+
+CodeMirror.runMode = function (string, modespec, callback, options) {
+ var mode = CodeMirror.getMode({ indentUnit: 2 }, modespec);
+
+ if (callback.nodeType == 1) {
+ var tabSize = (options && options.tabSize) || 4;
+ var node = callback, col = 0;
+ node.innerHTML = "";
+ callback = function (text, style) {
+ if (text == "\n") {
+ node.appendChild(document.createElement("br"));
+ col = 0;
+ return;
+ }
+ var content = "";
+ // replace tabs
+ for (var pos = 0; ;) {
+ var idx = text.indexOf("\t", pos);
+ if (idx == -1) {
+ content += text.slice(pos);
+ col += text.length - pos;
+ break;
+ } else {
+ col += idx - pos;
+ content += text.slice(pos, idx);
+ var size = tabSize - col % tabSize;
+ col += size;
+ for (var i = 0; i < size; ++i) content += " ";
+ pos = idx + 1;
+ }
+ }
+
+ if (style) {
+ var sp = node.appendChild(document.createElement("span"));
+ sp.className = "cm-" + style.replace(/ +/g, " cm-");
+ sp.appendChild(document.createTextNode(content));
+ } else {
+ node.appendChild(document.createTextNode(content));
+ }
+ };
+ }
+
+ var lines = splitLines(string), state = (options && options.state) || CodeMirror.startState(mode);
+ for (var i = 0, e = lines.length; i < e; ++i) {
+ if (i) callback("\n");
+ var stream = new CodeMirror.StringStream(lines[i]);
+ if (!stream.string && mode.blankLine) mode.blankLine(state);
+ while (!stream.eol()) {
+ var style = mode.token(stream, state);
+ callback(stream.current(), style, i, stream.start, state);
+ stream.start = stream.pos;
+ }
+ }
+};
+})();
diff --git a/public/vendor/codemirror/addon/runmode/runmode.js b/public/vendor/codemirror/addon/runmode/runmode.js
new file mode 100755
index 00000000..07d2279f
--- /dev/null
+++ b/public/vendor/codemirror/addon/runmode/runmode.js
@@ -0,0 +1,72 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+"use strict";
+
+CodeMirror.runMode = function(string, modespec, callback, options) {
+ var mode = CodeMirror.getMode(CodeMirror.defaults, modespec);
+ var ie = /MSIE \d/.test(navigator.userAgent);
+ var ie_lt9 = ie && (document.documentMode == null || document.documentMode < 9);
+
+ if (callback.nodeType == 1) {
+ var tabSize = (options && options.tabSize) || CodeMirror.defaults.tabSize;
+ var node = callback, col = 0;
+ node.innerHTML = "";
+ callback = function(text, style) {
+ if (text == "\n") {
+ // Emitting LF or CRLF on IE8 or earlier results in an incorrect display.
+ // Emitting a carriage return makes everything ok.
+ node.appendChild(document.createTextNode(ie_lt9 ? '\r' : text));
+ col = 0;
+ return;
+ }
+ var content = "";
+ // replace tabs
+ for (var pos = 0;;) {
+ var idx = text.indexOf("\t", pos);
+ if (idx == -1) {
+ content += text.slice(pos);
+ col += text.length - pos;
+ break;
+ } else {
+ col += idx - pos;
+ content += text.slice(pos, idx);
+ var size = tabSize - col % tabSize;
+ col += size;
+ for (var i = 0; i < size; ++i) content += " ";
+ pos = idx + 1;
+ }
+ }
+
+ if (style) {
+ var sp = node.appendChild(document.createElement("span"));
+ sp.className = "cm-" + style.replace(/ +/g, " cm-");
+ sp.appendChild(document.createTextNode(content));
+ } else {
+ node.appendChild(document.createTextNode(content));
+ }
+ };
+ }
+
+ var lines = CodeMirror.splitLines(string), state = (options && options.state) || CodeMirror.startState(mode);
+ for (var i = 0, e = lines.length; i < e; ++i) {
+ if (i) callback("\n");
+ var stream = new CodeMirror.StringStream(lines[i]);
+ if (!stream.string && mode.blankLine) mode.blankLine(state);
+ while (!stream.eol()) {
+ var style = mode.token(stream, state);
+ callback(stream.current(), style, i, stream.start, state);
+ stream.start = stream.pos;
+ }
+ }
+};
+
+});
diff --git a/public/vendor/codemirror/addon/runmode/runmode.node.js b/public/vendor/codemirror/addon/runmode/runmode.node.js
new file mode 100755
index 00000000..8b8140b4
--- /dev/null
+++ b/public/vendor/codemirror/addon/runmode/runmode.node.js
@@ -0,0 +1,120 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+/* Just enough of CodeMirror to run runMode under node.js */
+
+// declare global: StringStream
+
+function splitLines(string){ return string.split(/\r?\n|\r/); };
+
+function StringStream(string) {
+ this.pos = this.start = 0;
+ this.string = string;
+ this.lineStart = 0;
+}
+StringStream.prototype = {
+ eol: function() {return this.pos >= this.string.length;},
+ sol: function() {return this.pos == 0;},
+ peek: function() {return this.string.charAt(this.pos) || null;},
+ next: function() {
+ if (this.pos < this.string.length)
+ return this.string.charAt(this.pos++);
+ },
+ eat: function(match) {
+ var ch = this.string.charAt(this.pos);
+ if (typeof match == "string") var ok = ch == match;
+ else var ok = ch && (match.test ? match.test(ch) : match(ch));
+ if (ok) {++this.pos; return ch;}
+ },
+ eatWhile: function(match) {
+ var start = this.pos;
+ while (this.eat(match)){}
+ return this.pos > start;
+ },
+ eatSpace: function() {
+ var start = this.pos;
+ while (/[\s\u00a0]/.test(this.string.charAt(this.pos))) ++this.pos;
+ return this.pos > start;
+ },
+ skipToEnd: function() {this.pos = this.string.length;},
+ skipTo: function(ch) {
+ var found = this.string.indexOf(ch, this.pos);
+ if (found > -1) {this.pos = found; return true;}
+ },
+ backUp: function(n) {this.pos -= n;},
+ column: function() {return this.start - this.lineStart;},
+ indentation: function() {return 0;},
+ match: function(pattern, consume, caseInsensitive) {
+ if (typeof pattern == "string") {
+ var cased = function(str) {return caseInsensitive ? str.toLowerCase() : str;};
+ var substr = this.string.substr(this.pos, pattern.length);
+ if (cased(substr) == cased(pattern)) {
+ if (consume !== false) this.pos += pattern.length;
+ return true;
+ }
+ } else {
+ var match = this.string.slice(this.pos).match(pattern);
+ if (match && match.index > 0) return null;
+ if (match && consume !== false) this.pos += match[0].length;
+ return match;
+ }
+ },
+ current: function(){return this.string.slice(this.start, this.pos);},
+ hideFirstChars: function(n, inner) {
+ this.lineStart += n;
+ try { return inner(); }
+ finally { this.lineStart -= n; }
+ }
+};
+exports.StringStream = StringStream;
+
+exports.startState = function(mode, a1, a2) {
+ return mode.startState ? mode.startState(a1, a2) : true;
+};
+
+var modes = exports.modes = {}, mimeModes = exports.mimeModes = {};
+exports.defineMode = function(name, mode) {
+ if (arguments.length > 2)
+ mode.dependencies = Array.prototype.slice.call(arguments, 2);
+ modes[name] = mode;
+};
+exports.defineMIME = function(mime, spec) { mimeModes[mime] = spec; };
+
+exports.defineMode("null", function() {
+ return {token: function(stream) {stream.skipToEnd();}};
+});
+exports.defineMIME("text/plain", "null");
+
+exports.resolveMode = function(spec) {
+ if (typeof spec == "string" && mimeModes.hasOwnProperty(spec)) {
+ spec = mimeModes[spec];
+ } else if (spec && typeof spec.name == "string" && mimeModes.hasOwnProperty(spec.name)) {
+ spec = mimeModes[spec.name];
+ }
+ if (typeof spec == "string") return {name: spec};
+ else return spec || {name: "null"};
+};
+exports.getMode = function(options, spec) {
+ spec = exports.resolveMode(spec);
+ var mfactory = modes[spec.name];
+ if (!mfactory) throw new Error("Unknown mode: " + spec);
+ return mfactory(options, spec);
+};
+exports.registerHelper = exports.registerGlobalHelper = Math.min;
+
+exports.runMode = function(string, modespec, callback, options) {
+ var mode = exports.getMode({indentUnit: 2}, modespec);
+ var lines = splitLines(string), state = (options && options.state) || exports.startState(mode);
+ for (var i = 0, e = lines.length; i < e; ++i) {
+ if (i) callback("\n");
+ var stream = new exports.StringStream(lines[i]);
+ if (!stream.string && mode.blankLine) mode.blankLine(state);
+ while (!stream.eol()) {
+ var style = mode.token(stream, state);
+ callback(stream.current(), style, i, stream.start, state);
+ stream.start = stream.pos;
+ }
+ }
+};
+
+require.cache[require.resolve("../../lib/codemirror")] = require.cache[require.resolve("./runmode.node")];
diff --git a/public/vendor/codemirror/addon/scroll/annotatescrollbar.js b/public/vendor/codemirror/addon/scroll/annotatescrollbar.js
new file mode 100755
index 00000000..e62a45ac
--- /dev/null
+++ b/public/vendor/codemirror/addon/scroll/annotatescrollbar.js
@@ -0,0 +1,115 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+ "use strict";
+
+ CodeMirror.defineExtension("annotateScrollbar", function(options) {
+ if (typeof options == "string") options = {className: options};
+ return new Annotation(this, options);
+ });
+
+ CodeMirror.defineOption("scrollButtonHeight", 0);
+
+ function Annotation(cm, options) {
+ this.cm = cm;
+ this.options = options;
+ this.buttonHeight = options.scrollButtonHeight || cm.getOption("scrollButtonHeight");
+ this.annotations = [];
+ this.doRedraw = this.doUpdate = null;
+ this.div = cm.getWrapperElement().appendChild(document.createElement("div"));
+ this.div.style.cssText = "position: absolute; right: 0; top: 0; z-index: 7; pointer-events: none";
+ this.computeScale();
+
+ function scheduleRedraw(delay) {
+ clearTimeout(self.doRedraw);
+ self.doRedraw = setTimeout(function() { self.redraw(); }, delay);
+ }
+
+ var self = this;
+ cm.on("refresh", this.resizeHandler = function() {
+ clearTimeout(self.doUpdate);
+ self.doUpdate = setTimeout(function() {
+ if (self.computeScale()) scheduleRedraw(20);
+ }, 100);
+ });
+ cm.on("markerAdded", this.resizeHandler);
+ cm.on("markerCleared", this.resizeHandler);
+ if (options.listenForChanges !== false)
+ cm.on("change", this.changeHandler = function() {
+ scheduleRedraw(250);
+ });
+ }
+
+ Annotation.prototype.computeScale = function() {
+ var cm = this.cm;
+ var hScale = (cm.getWrapperElement().clientHeight - cm.display.barHeight - this.buttonHeight * 2) /
+ cm.heightAtLine(cm.lastLine() + 1, "local");
+ if (hScale != this.hScale) {
+ this.hScale = hScale;
+ return true;
+ }
+ };
+
+ Annotation.prototype.update = function(annotations) {
+ this.annotations = annotations;
+ this.redraw();
+ };
+
+ Annotation.prototype.redraw = function(compute) {
+ if (compute !== false) this.computeScale();
+ var cm = this.cm, hScale = this.hScale;
+
+ var frag = document.createDocumentFragment(), anns = this.annotations;
+
+ var wrapping = cm.getOption("lineWrapping");
+ var singleLineH = wrapping && cm.defaultTextHeight() * 1.5;
+ var curLine = null, curLineObj = null;
+ function getY(pos, top) {
+ if (curLine != pos.line) {
+ curLine = pos.line;
+ curLineObj = cm.getLineHandle(curLine);
+ }
+ if (wrapping && curLineObj.height > singleLineH)
+ return cm.charCoords(pos, "local")[top ? "top" : "bottom"];
+ var topY = cm.heightAtLine(curLineObj, "local");
+ return topY + (top ? 0 : curLineObj.height);
+ }
+
+ if (cm.display.barWidth) for (var i = 0, nextTop; i < anns.length; i++) {
+ var ann = anns[i];
+ var top = nextTop || getY(ann.from, true) * hScale;
+ var bottom = getY(ann.to, false) * hScale;
+ while (i < anns.length - 1) {
+ nextTop = getY(anns[i + 1].from, true) * hScale;
+ if (nextTop > bottom + .9) break;
+ ann = anns[++i];
+ bottom = getY(ann.to, false) * hScale;
+ }
+ if (bottom == top) continue;
+ var height = Math.max(bottom - top, 3);
+
+ var elt = frag.appendChild(document.createElement("div"));
+ elt.style.cssText = "position: absolute; right: 0px; width: " + Math.max(cm.display.barWidth - 1, 2) + "px; top: "
+ + (top + this.buttonHeight) + "px; height: " + height + "px";
+ elt.className = this.options.className;
+ }
+ this.div.textContent = "";
+ this.div.appendChild(frag);
+ };
+
+ Annotation.prototype.clear = function() {
+ this.cm.off("refresh", this.resizeHandler);
+ this.cm.off("markerAdded", this.resizeHandler);
+ this.cm.off("markerCleared", this.resizeHandler);
+ if (this.changeHandler) this.cm.off("change", this.changeHandler);
+ this.div.parentNode.removeChild(this.div);
+ };
+});
diff --git a/public/vendor/codemirror/addon/scroll/scrollpastend.js b/public/vendor/codemirror/addon/scroll/scrollpastend.js
new file mode 100755
index 00000000..008ae4c7
--- /dev/null
+++ b/public/vendor/codemirror/addon/scroll/scrollpastend.js
@@ -0,0 +1,46 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+ "use strict";
+
+ CodeMirror.defineOption("scrollPastEnd", false, function(cm, val, old) {
+ if (old && old != CodeMirror.Init) {
+ cm.off("change", onChange);
+ cm.off("refresh", updateBottomMargin);
+ cm.display.lineSpace.parentNode.style.paddingBottom = "";
+ cm.state.scrollPastEndPadding = null;
+ }
+ if (val) {
+ cm.on("change", onChange);
+ cm.on("refresh", updateBottomMargin);
+ updateBottomMargin(cm);
+ }
+ });
+
+ function onChange(cm, change) {
+ if (CodeMirror.changeEnd(change).line == cm.lastLine())
+ updateBottomMargin(cm);
+ }
+
+ function updateBottomMargin(cm) {
+ var padding = "";
+ if (cm.lineCount() > 1) {
+ var totalH = cm.display.scroller.clientHeight - 30,
+ lastLineH = cm.getLineHandle(cm.lastLine()).height;
+ padding = (totalH - lastLineH) + "px";
+ }
+ if (cm.state.scrollPastEndPadding != padding) {
+ cm.state.scrollPastEndPadding = padding;
+ cm.display.lineSpace.parentNode.style.paddingBottom = padding;
+ cm.setSize();
+ }
+ }
+});
diff --git a/public/vendor/codemirror/addon/scroll/simplescrollbars.css b/public/vendor/codemirror/addon/scroll/simplescrollbars.css
new file mode 100755
index 00000000..5eea7aa1
--- /dev/null
+++ b/public/vendor/codemirror/addon/scroll/simplescrollbars.css
@@ -0,0 +1,66 @@
+.CodeMirror-simplescroll-horizontal div, .CodeMirror-simplescroll-vertical div {
+ position: absolute;
+ background: #ccc;
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+ border: 1px solid #bbb;
+ border-radius: 2px;
+}
+
+.CodeMirror-simplescroll-horizontal, .CodeMirror-simplescroll-vertical {
+ position: absolute;
+ z-index: 6;
+ background: #eee;
+}
+
+.CodeMirror-simplescroll-horizontal {
+ bottom: 0; left: 0;
+ height: 8px;
+}
+.CodeMirror-simplescroll-horizontal div {
+ bottom: 0;
+ height: 100%;
+}
+
+.CodeMirror-simplescroll-vertical {
+ right: 0; top: 0;
+ width: 8px;
+}
+.CodeMirror-simplescroll-vertical div {
+ right: 0;
+ width: 100%;
+}
+
+
+.CodeMirror-overlayscroll .CodeMirror-scrollbar-filler, .CodeMirror-overlayscroll .CodeMirror-gutter-filler {
+ display: none;
+}
+
+.CodeMirror-overlayscroll-horizontal div, .CodeMirror-overlayscroll-vertical div {
+ position: absolute;
+ background: #bcd;
+ border-radius: 3px;
+}
+
+.CodeMirror-overlayscroll-horizontal, .CodeMirror-overlayscroll-vertical {
+ position: absolute;
+ z-index: 6;
+}
+
+.CodeMirror-overlayscroll-horizontal {
+ bottom: 0; left: 0;
+ height: 6px;
+}
+.CodeMirror-overlayscroll-horizontal div {
+ bottom: 0;
+ height: 100%;
+}
+
+.CodeMirror-overlayscroll-vertical {
+ right: 0; top: 0;
+ width: 6px;
+}
+.CodeMirror-overlayscroll-vertical div {
+ right: 0;
+ width: 100%;
+}
diff --git a/public/vendor/codemirror/addon/scroll/simplescrollbars.js b/public/vendor/codemirror/addon/scroll/simplescrollbars.js
new file mode 100755
index 00000000..f78353a1
--- /dev/null
+++ b/public/vendor/codemirror/addon/scroll/simplescrollbars.js
@@ -0,0 +1,147 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+ "use strict";
+
+ function Bar(cls, orientation, scroll) {
+ this.orientation = orientation;
+ this.scroll = scroll;
+ this.screen = this.total = this.size = 1;
+ this.pos = 0;
+
+ this.node = document.createElement("div");
+ this.node.className = cls + "-" + orientation;
+ this.inner = this.node.appendChild(document.createElement("div"));
+
+ var self = this;
+ CodeMirror.on(this.inner, "mousedown", function(e) {
+ if (e.which != 1) return;
+ CodeMirror.e_preventDefault(e);
+ var axis = self.orientation == "horizontal" ? "pageX" : "pageY";
+ var start = e[axis], startpos = self.pos;
+ function done() {
+ CodeMirror.off(document, "mousemove", move);
+ CodeMirror.off(document, "mouseup", done);
+ }
+ function move(e) {
+ if (e.which != 1) return done();
+ self.moveTo(startpos + (e[axis] - start) * (self.total / self.size));
+ }
+ CodeMirror.on(document, "mousemove", move);
+ CodeMirror.on(document, "mouseup", done);
+ });
+
+ CodeMirror.on(this.node, "click", function(e) {
+ CodeMirror.e_preventDefault(e);
+ var innerBox = self.inner.getBoundingClientRect(), where;
+ if (self.orientation == "horizontal")
+ where = e.clientX < innerBox.left ? -1 : e.clientX > innerBox.right ? 1 : 0;
+ else
+ where = e.clientY < innerBox.top ? -1 : e.clientY > innerBox.bottom ? 1 : 0;
+ self.moveTo(self.pos + where * self.screen);
+ });
+
+ function onWheel(e) {
+ var moved = CodeMirror.wheelEventPixels(e)[self.orientation == "horizontal" ? "x" : "y"];
+ var oldPos = self.pos;
+ self.moveTo(self.pos + moved);
+ if (self.pos != oldPos) CodeMirror.e_preventDefault(e);
+ }
+ CodeMirror.on(this.node, "mousewheel", onWheel);
+ CodeMirror.on(this.node, "DOMMouseScroll", onWheel);
+ }
+
+ Bar.prototype.moveTo = function(pos, update) {
+ if (pos < 0) pos = 0;
+ if (pos > this.total - this.screen) pos = this.total - this.screen;
+ if (pos == this.pos) return;
+ this.pos = pos;
+ this.inner.style[this.orientation == "horizontal" ? "left" : "top"] =
+ (pos * (this.size / this.total)) + "px";
+ if (update !== false) this.scroll(pos, this.orientation);
+ };
+
+ var minButtonSize = 10;
+
+ Bar.prototype.update = function(scrollSize, clientSize, barSize) {
+ this.screen = clientSize;
+ this.total = scrollSize;
+ this.size = barSize;
+
+ var buttonSize = this.screen * (this.size / this.total);
+ if (buttonSize < minButtonSize) {
+ this.size -= minButtonSize - buttonSize;
+ buttonSize = minButtonSize;
+ }
+ this.inner.style[this.orientation == "horizontal" ? "width" : "height"] =
+ buttonSize + "px";
+ this.inner.style[this.orientation == "horizontal" ? "left" : "top"] =
+ this.pos * (this.size / this.total) + "px";
+ };
+
+ function SimpleScrollbars(cls, place, scroll) {
+ this.addClass = cls;
+ this.horiz = new Bar(cls, "horizontal", scroll);
+ place(this.horiz.node);
+ this.vert = new Bar(cls, "vertical", scroll);
+ place(this.vert.node);
+ this.width = null;
+ }
+
+ SimpleScrollbars.prototype.update = function(measure) {
+ if (this.width == null) {
+ var style = window.getComputedStyle ? window.getComputedStyle(this.horiz.node) : this.horiz.node.currentStyle;
+ if (style) this.width = parseInt(style.height);
+ }
+ var width = this.width || 0;
+
+ var needsH = measure.scrollWidth > measure.clientWidth + 1;
+ var needsV = measure.scrollHeight > measure.clientHeight + 1;
+ this.vert.node.style.display = needsV ? "block" : "none";
+ this.horiz.node.style.display = needsH ? "block" : "none";
+
+ if (needsV) {
+ this.vert.update(measure.scrollHeight, measure.clientHeight,
+ measure.viewHeight - (needsH ? width : 0));
+ this.vert.node.style.display = "block";
+ this.vert.node.style.bottom = needsH ? width + "px" : "0";
+ }
+ if (needsH) {
+ this.horiz.update(measure.scrollWidth, measure.clientWidth,
+ measure.viewWidth - (needsV ? width : 0) - measure.barLeft);
+ this.horiz.node.style.right = needsV ? width + "px" : "0";
+ this.horiz.node.style.left = measure.barLeft + "px";
+ }
+
+ return {right: needsV ? width : 0, bottom: needsH ? width : 0};
+ };
+
+ SimpleScrollbars.prototype.setScrollTop = function(pos) {
+ this.vert.moveTo(pos, false);
+ };
+
+ SimpleScrollbars.prototype.setScrollLeft = function(pos) {
+ this.horiz.moveTo(pos, false);
+ };
+
+ SimpleScrollbars.prototype.clear = function() {
+ var parent = this.horiz.node.parentNode;
+ parent.removeChild(this.horiz.node);
+ parent.removeChild(this.vert.node);
+ };
+
+ CodeMirror.scrollbarModel.simple = function(place, scroll) {
+ return new SimpleScrollbars("CodeMirror-simplescroll", place, scroll);
+ };
+ CodeMirror.scrollbarModel.overlay = function(place, scroll) {
+ return new SimpleScrollbars("CodeMirror-overlayscroll", place, scroll);
+ };
+});
diff --git a/public/vendor/codemirror/addon/search/match-highlighter.js b/public/vendor/codemirror/addon/search/match-highlighter.js
new file mode 100755
index 00000000..e9a22721
--- /dev/null
+++ b/public/vendor/codemirror/addon/search/match-highlighter.js
@@ -0,0 +1,128 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+// Highlighting text that matches the selection
+//
+// Defines an option highlightSelectionMatches, which, when enabled,
+// will style strings that match the selection throughout the
+// document.
+//
+// The option can be set to true to simply enable it, or to a
+// {minChars, style, wordsOnly, showToken, delay} object to explicitly
+// configure it. minChars is the minimum amount of characters that should be
+// selected for the behavior to occur, and style is the token style to
+// apply to the matches. This will be prefixed by "cm-" to create an
+// actual CSS class name. If wordsOnly is enabled, the matches will be
+// highlighted only if the selected text is a word. showToken, when enabled,
+// will cause the current token to be highlighted when nothing is selected.
+// delay is used to specify how much time to wait, in milliseconds, before
+// highlighting the matches.
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+ "use strict";
+
+ var DEFAULT_MIN_CHARS = 2;
+ var DEFAULT_TOKEN_STYLE = "matchhighlight";
+ var DEFAULT_DELAY = 100;
+ var DEFAULT_WORDS_ONLY = false;
+
+ function State(options) {
+ if (typeof options == "object") {
+ this.minChars = options.minChars;
+ this.style = options.style;
+ this.showToken = options.showToken;
+ this.delay = options.delay;
+ this.wordsOnly = options.wordsOnly;
+ }
+ if (this.style == null) this.style = DEFAULT_TOKEN_STYLE;
+ if (this.minChars == null) this.minChars = DEFAULT_MIN_CHARS;
+ if (this.delay == null) this.delay = DEFAULT_DELAY;
+ if (this.wordsOnly == null) this.wordsOnly = DEFAULT_WORDS_ONLY;
+ this.overlay = this.timeout = null;
+ }
+
+ CodeMirror.defineOption("highlightSelectionMatches", false, function(cm, val, old) {
+ if (old && old != CodeMirror.Init) {
+ var over = cm.state.matchHighlighter.overlay;
+ if (over) cm.removeOverlay(over);
+ clearTimeout(cm.state.matchHighlighter.timeout);
+ cm.state.matchHighlighter = null;
+ cm.off("cursorActivity", cursorActivity);
+ }
+ if (val) {
+ cm.state.matchHighlighter = new State(val);
+ highlightMatches(cm);
+ cm.on("cursorActivity", cursorActivity);
+ }
+ });
+
+ function cursorActivity(cm) {
+ var state = cm.state.matchHighlighter;
+ clearTimeout(state.timeout);
+ state.timeout = setTimeout(function() {highlightMatches(cm);}, state.delay);
+ }
+
+ function highlightMatches(cm) {
+ cm.operation(function() {
+ var state = cm.state.matchHighlighter;
+ if (state.overlay) {
+ cm.removeOverlay(state.overlay);
+ state.overlay = null;
+ }
+ if (!cm.somethingSelected() && state.showToken) {
+ var re = state.showToken === true ? /[\w$]/ : state.showToken;
+ var cur = cm.getCursor(), line = cm.getLine(cur.line), start = cur.ch, end = start;
+ while (start && re.test(line.charAt(start - 1))) --start;
+ while (end < line.length && re.test(line.charAt(end))) ++end;
+ if (start < end)
+ cm.addOverlay(state.overlay = makeOverlay(line.slice(start, end), re, state.style));
+ return;
+ }
+ var from = cm.getCursor("from"), to = cm.getCursor("to");
+ if (from.line != to.line) return;
+ if (state.wordsOnly && !isWord(cm, from, to)) return;
+ var selection = cm.getRange(from, to).replace(/^\s+|\s+$/g, "");
+ if (selection.length >= state.minChars)
+ cm.addOverlay(state.overlay = makeOverlay(selection, false, state.style));
+ });
+ }
+
+ function isWord(cm, from, to) {
+ var str = cm.getRange(from, to);
+ if (str.match(/^\w+$/) !== null) {
+ if (from.ch > 0) {
+ var pos = {line: from.line, ch: from.ch - 1};
+ var chr = cm.getRange(pos, from);
+ if (chr.match(/\W/) === null) return false;
+ }
+ if (to.ch < cm.getLine(from.line).length) {
+ var pos = {line: to.line, ch: to.ch + 1};
+ var chr = cm.getRange(to, pos);
+ if (chr.match(/\W/) === null) return false;
+ }
+ return true;
+ } else return false;
+ }
+
+ function boundariesAround(stream, re) {
+ return (!stream.start || !re.test(stream.string.charAt(stream.start - 1))) &&
+ (stream.pos == stream.string.length || !re.test(stream.string.charAt(stream.pos)));
+ }
+
+ function makeOverlay(query, hasBoundary, style) {
+ return {token: function(stream) {
+ if (stream.match(query) &&
+ (!hasBoundary || boundariesAround(stream, hasBoundary)))
+ return style;
+ stream.next();
+ stream.skipTo(query.charAt(0)) || stream.skipToEnd();
+ }};
+ }
+});
diff --git a/public/vendor/codemirror/addon/search/matchesonscrollbar.css b/public/vendor/codemirror/addon/search/matchesonscrollbar.css
new file mode 100755
index 00000000..77932cc9
--- /dev/null
+++ b/public/vendor/codemirror/addon/search/matchesonscrollbar.css
@@ -0,0 +1,8 @@
+.CodeMirror-search-match {
+ background: gold;
+ border-top: 1px solid orange;
+ border-bottom: 1px solid orange;
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+ opacity: .5;
+}
diff --git a/public/vendor/codemirror/addon/search/matchesonscrollbar.js b/public/vendor/codemirror/addon/search/matchesonscrollbar.js
new file mode 100755
index 00000000..8d192289
--- /dev/null
+++ b/public/vendor/codemirror/addon/search/matchesonscrollbar.js
@@ -0,0 +1,97 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"), require("./searchcursor"), require("../scroll/annotatescrollbar"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror", "./searchcursor", "../scroll/annotatescrollbar"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+ "use strict";
+
+ CodeMirror.defineExtension("showMatchesOnScrollbar", function(query, caseFold, options) {
+ if (typeof options == "string") options = {className: options};
+ if (!options) options = {};
+ return new SearchAnnotation(this, query, caseFold, options);
+ });
+
+ function SearchAnnotation(cm, query, caseFold, options) {
+ this.cm = cm;
+ this.options = options;
+ var annotateOptions = {listenForChanges: false};
+ for (var prop in options) annotateOptions[prop] = options[prop];
+ if (!annotateOptions.className) annotateOptions.className = "CodeMirror-search-match";
+ this.annotation = cm.annotateScrollbar(annotateOptions);
+ this.query = query;
+ this.caseFold = caseFold;
+ this.gap = {from: cm.firstLine(), to: cm.lastLine() + 1};
+ this.matches = [];
+ this.update = null;
+
+ this.findMatches();
+ this.annotation.update(this.matches);
+
+ var self = this;
+ cm.on("change", this.changeHandler = function(_cm, change) { self.onChange(change); });
+ }
+
+ var MAX_MATCHES = 1000;
+
+ SearchAnnotation.prototype.findMatches = function() {
+ if (!this.gap) return;
+ for (var i = 0; i < this.matches.length; i++) {
+ var match = this.matches[i];
+ if (match.from.line >= this.gap.to) break;
+ if (match.to.line >= this.gap.from) this.matches.splice(i--, 1);
+ }
+ var cursor = this.cm.getSearchCursor(this.query, CodeMirror.Pos(this.gap.from, 0), this.caseFold);
+ var maxMatches = this.options && this.options.maxMatches || MAX_MATCHES;
+ while (cursor.findNext()) {
+ var match = {from: cursor.from(), to: cursor.to()};
+ if (match.from.line >= this.gap.to) break;
+ this.matches.splice(i++, 0, match);
+ if (this.matches.length > maxMatches) break;
+ }
+ this.gap = null;
+ };
+
+ function offsetLine(line, changeStart, sizeChange) {
+ if (line <= changeStart) return line;
+ return Math.max(changeStart, line + sizeChange);
+ }
+
+ SearchAnnotation.prototype.onChange = function(change) {
+ var startLine = change.from.line;
+ var endLine = CodeMirror.changeEnd(change).line;
+ var sizeChange = endLine - change.to.line;
+ if (this.gap) {
+ this.gap.from = Math.min(offsetLine(this.gap.from, startLine, sizeChange), change.from.line);
+ this.gap.to = Math.max(offsetLine(this.gap.to, startLine, sizeChange), change.from.line);
+ } else {
+ this.gap = {from: change.from.line, to: endLine + 1};
+ }
+
+ if (sizeChange) for (var i = 0; i < this.matches.length; i++) {
+ var match = this.matches[i];
+ var newFrom = offsetLine(match.from.line, startLine, sizeChange);
+ if (newFrom != match.from.line) match.from = CodeMirror.Pos(newFrom, match.from.ch);
+ var newTo = offsetLine(match.to.line, startLine, sizeChange);
+ if (newTo != match.to.line) match.to = CodeMirror.Pos(newTo, match.to.ch);
+ }
+ clearTimeout(this.update);
+ var self = this;
+ this.update = setTimeout(function() { self.updateAfterChange(); }, 250);
+ };
+
+ SearchAnnotation.prototype.updateAfterChange = function() {
+ this.findMatches();
+ this.annotation.update(this.matches);
+ };
+
+ SearchAnnotation.prototype.clear = function() {
+ this.cm.off("change", this.changeHandler);
+ this.annotation.clear();
+ };
+});
diff --git a/public/vendor/codemirror/addon/search/search.js b/public/vendor/codemirror/addon/search/search.js
new file mode 100755
index 00000000..1c8ca3c2
--- /dev/null
+++ b/public/vendor/codemirror/addon/search/search.js
@@ -0,0 +1,167 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+// Define search commands. Depends on dialog.js or another
+// implementation of the openDialog method.
+
+// Replace works a little oddly -- it will do the replace on the next
+// Ctrl-G (or whatever is bound to findNext) press. You prevent a
+// replace by making sure the match is no longer selected when hitting
+// Ctrl-G.
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"), require("./searchcursor"), require("../dialog/dialog"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror", "./searchcursor", "../dialog/dialog"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+ "use strict";
+ function searchOverlay(query, caseInsensitive) {
+ if (typeof query == "string")
+ query = new RegExp(query.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"), caseInsensitive ? "gi" : "g");
+ else if (!query.global)
+ query = new RegExp(query.source, query.ignoreCase ? "gi" : "g");
+
+ return {token: function(stream) {
+ query.lastIndex = stream.pos;
+ var match = query.exec(stream.string);
+ if (match && match.index == stream.pos) {
+ stream.pos += match[0].length;
+ return "searching";
+ } else if (match) {
+ stream.pos = match.index;
+ } else {
+ stream.skipToEnd();
+ }
+ }};
+ }
+
+ function SearchState() {
+ this.posFrom = this.posTo = this.lastQuery = this.query = null;
+ this.overlay = null;
+ }
+ function getSearchState(cm) {
+ return cm.state.search || (cm.state.search = new SearchState());
+ }
+ function queryCaseInsensitive(query) {
+ return typeof query == "string" && query == query.toLowerCase();
+ }
+ function getSearchCursor(cm, query, pos) {
+ // Heuristic: if the query string is all lowercase, do a case insensitive search.
+ return cm.getSearchCursor(query, pos, queryCaseInsensitive(query));
+ }
+ function dialog(cm, text, shortText, deflt, f) {
+ if (cm.openDialog) cm.openDialog(text, f, {value: deflt, selectValueOnOpen: true});
+ else f(prompt(shortText, deflt));
+ }
+ function confirmDialog(cm, text, shortText, fs) {
+ if (cm.openConfirm) cm.openConfirm(text, fs);
+ else if (confirm(shortText)) fs[0]();
+ }
+ function parseQuery(query) {
+ var isRE = query.match(/^\/(.*)\/([a-z]*)$/);
+ if (isRE) {
+ try { query = new RegExp(isRE[1], isRE[2].indexOf("i") == -1 ? "" : "i"); }
+ catch(e) {} // Not a regular expression after all, do a string search
+ }
+ if (typeof query == "string" ? query == "" : query.test(""))
+ query = /x^/;
+ return query;
+ }
+ var queryDialog =
+ 'Search: (Use /re/ syntax for regexp search) ';
+ function doSearch(cm, rev) {
+ var state = getSearchState(cm);
+ if (state.query) return findNext(cm, rev);
+ var q = cm.getSelection() || state.lastQuery;
+ dialog(cm, queryDialog, "Search for:", q, function(query) {
+ cm.operation(function() {
+ if (!query || state.query) return;
+ state.query = parseQuery(query);
+ cm.removeOverlay(state.overlay, queryCaseInsensitive(state.query));
+ state.overlay = searchOverlay(state.query, queryCaseInsensitive(state.query));
+ cm.addOverlay(state.overlay);
+ if (cm.showMatchesOnScrollbar) {
+ if (state.annotate) { state.annotate.clear(); state.annotate = null; }
+ state.annotate = cm.showMatchesOnScrollbar(state.query, queryCaseInsensitive(state.query));
+ }
+ state.posFrom = state.posTo = cm.getCursor();
+ findNext(cm, rev);
+ });
+ });
+ }
+ function findNext(cm, rev) {cm.operation(function() {
+ var state = getSearchState(cm);
+ var cursor = getSearchCursor(cm, state.query, rev ? state.posFrom : state.posTo);
+ if (!cursor.find(rev)) {
+ cursor = getSearchCursor(cm, state.query, rev ? CodeMirror.Pos(cm.lastLine()) : CodeMirror.Pos(cm.firstLine(), 0));
+ if (!cursor.find(rev)) return;
+ }
+ cm.setSelection(cursor.from(), cursor.to());
+ cm.scrollIntoView({from: cursor.from(), to: cursor.to()});
+ state.posFrom = cursor.from(); state.posTo = cursor.to();
+ });}
+ function clearSearch(cm) {cm.operation(function() {
+ var state = getSearchState(cm);
+ state.lastQuery = state.query;
+ if (!state.query) return;
+ state.query = null;
+ cm.removeOverlay(state.overlay);
+ if (state.annotate) { state.annotate.clear(); state.annotate = null; }
+ });}
+
+ var replaceQueryDialog =
+ 'Replace: (Use /re/ syntax for regexp search) ';
+ var replacementQueryDialog = 'With: ';
+ var doReplaceConfirm = "Replace? Yes No Stop ";
+ function replace(cm, all) {
+ if (cm.getOption("readOnly")) return;
+ var query = cm.getSelection() || getSearchState().lastQuery;
+ dialog(cm, replaceQueryDialog, "Replace:", query, function(query) {
+ if (!query) return;
+ query = parseQuery(query);
+ dialog(cm, replacementQueryDialog, "Replace with:", "", function(text) {
+ if (all) {
+ cm.operation(function() {
+ for (var cursor = getSearchCursor(cm, query); cursor.findNext();) {
+ if (typeof query != "string") {
+ var match = cm.getRange(cursor.from(), cursor.to()).match(query);
+ cursor.replace(text.replace(/\$(\d)/g, function(_, i) {return match[i];}));
+ } else cursor.replace(text);
+ }
+ });
+ } else {
+ clearSearch(cm);
+ var cursor = getSearchCursor(cm, query, cm.getCursor());
+ var advance = function() {
+ var start = cursor.from(), match;
+ if (!(match = cursor.findNext())) {
+ cursor = getSearchCursor(cm, query);
+ if (!(match = cursor.findNext()) ||
+ (start && cursor.from().line == start.line && cursor.from().ch == start.ch)) return;
+ }
+ cm.setSelection(cursor.from(), cursor.to());
+ cm.scrollIntoView({from: cursor.from(), to: cursor.to()});
+ confirmDialog(cm, doReplaceConfirm, "Replace?",
+ [function() {doReplace(match);}, advance]);
+ };
+ var doReplace = function(match) {
+ cursor.replace(typeof query == "string" ? text :
+ text.replace(/\$(\d)/g, function(_, i) {return match[i];}));
+ advance();
+ };
+ advance();
+ }
+ });
+ });
+ }
+
+ CodeMirror.commands.find = function(cm) {clearSearch(cm); doSearch(cm);};
+ CodeMirror.commands.findNext = doSearch;
+ CodeMirror.commands.findPrev = function(cm) {doSearch(cm, true);};
+ CodeMirror.commands.clearSearch = clearSearch;
+ CodeMirror.commands.replace = replace;
+ CodeMirror.commands.replaceAll = function(cm) {replace(cm, true);};
+});
diff --git a/public/vendor/codemirror/addon/search/searchcursor.js b/public/vendor/codemirror/addon/search/searchcursor.js
new file mode 100755
index 00000000..97088bf1
--- /dev/null
+++ b/public/vendor/codemirror/addon/search/searchcursor.js
@@ -0,0 +1,189 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+ "use strict";
+ var Pos = CodeMirror.Pos;
+
+ function SearchCursor(doc, query, pos, caseFold) {
+ this.atOccurrence = false; this.doc = doc;
+ if (caseFold == null && typeof query == "string") caseFold = false;
+
+ pos = pos ? doc.clipPos(pos) : Pos(0, 0);
+ this.pos = {from: pos, to: pos};
+
+ // The matches method is filled in based on the type of query.
+ // It takes a position and a direction, and returns an object
+ // describing the next occurrence of the query, or null if no
+ // more matches were found.
+ if (typeof query != "string") { // Regexp match
+ if (!query.global) query = new RegExp(query.source, query.ignoreCase ? "ig" : "g");
+ this.matches = function(reverse, pos) {
+ if (reverse) {
+ query.lastIndex = 0;
+ var line = doc.getLine(pos.line).slice(0, pos.ch), cutOff = 0, match, start;
+ for (;;) {
+ query.lastIndex = cutOff;
+ var newMatch = query.exec(line);
+ if (!newMatch) break;
+ match = newMatch;
+ start = match.index;
+ cutOff = match.index + (match[0].length || 1);
+ if (cutOff == line.length) break;
+ }
+ var matchLen = (match && match[0].length) || 0;
+ if (!matchLen) {
+ if (start == 0 && line.length == 0) {match = undefined;}
+ else if (start != doc.getLine(pos.line).length) {
+ matchLen++;
+ }
+ }
+ } else {
+ query.lastIndex = pos.ch;
+ var line = doc.getLine(pos.line), match = query.exec(line);
+ var matchLen = (match && match[0].length) || 0;
+ var start = match && match.index;
+ if (start + matchLen != line.length && !matchLen) matchLen = 1;
+ }
+ if (match && matchLen)
+ return {from: Pos(pos.line, start),
+ to: Pos(pos.line, start + matchLen),
+ match: match};
+ };
+ } else { // String query
+ var origQuery = query;
+ if (caseFold) query = query.toLowerCase();
+ var fold = caseFold ? function(str){return str.toLowerCase();} : function(str){return str;};
+ var target = query.split("\n");
+ // Different methods for single-line and multi-line queries
+ if (target.length == 1) {
+ if (!query.length) {
+ // Empty string would match anything and never progress, so
+ // we define it to match nothing instead.
+ this.matches = function() {};
+ } else {
+ this.matches = function(reverse, pos) {
+ if (reverse) {
+ var orig = doc.getLine(pos.line).slice(0, pos.ch), line = fold(orig);
+ var match = line.lastIndexOf(query);
+ if (match > -1) {
+ match = adjustPos(orig, line, match);
+ return {from: Pos(pos.line, match), to: Pos(pos.line, match + origQuery.length)};
+ }
+ } else {
+ var orig = doc.getLine(pos.line).slice(pos.ch), line = fold(orig);
+ var match = line.indexOf(query);
+ if (match > -1) {
+ match = adjustPos(orig, line, match) + pos.ch;
+ return {from: Pos(pos.line, match), to: Pos(pos.line, match + origQuery.length)};
+ }
+ }
+ };
+ }
+ } else {
+ var origTarget = origQuery.split("\n");
+ this.matches = function(reverse, pos) {
+ var last = target.length - 1;
+ if (reverse) {
+ if (pos.line - (target.length - 1) < doc.firstLine()) return;
+ if (fold(doc.getLine(pos.line).slice(0, origTarget[last].length)) != target[target.length - 1]) return;
+ var to = Pos(pos.line, origTarget[last].length);
+ for (var ln = pos.line - 1, i = last - 1; i >= 1; --i, --ln)
+ if (target[i] != fold(doc.getLine(ln))) return;
+ var line = doc.getLine(ln), cut = line.length - origTarget[0].length;
+ if (fold(line.slice(cut)) != target[0]) return;
+ return {from: Pos(ln, cut), to: to};
+ } else {
+ if (pos.line + (target.length - 1) > doc.lastLine()) return;
+ var line = doc.getLine(pos.line), cut = line.length - origTarget[0].length;
+ if (fold(line.slice(cut)) != target[0]) return;
+ var from = Pos(pos.line, cut);
+ for (var ln = pos.line + 1, i = 1; i < last; ++i, ++ln)
+ if (target[i] != fold(doc.getLine(ln))) return;
+ if (fold(doc.getLine(ln).slice(0, origTarget[last].length)) != target[last]) return;
+ return {from: from, to: Pos(ln, origTarget[last].length)};
+ }
+ };
+ }
+ }
+ }
+
+ SearchCursor.prototype = {
+ findNext: function() {return this.find(false);},
+ findPrevious: function() {return this.find(true);},
+
+ find: function(reverse) {
+ var self = this, pos = this.doc.clipPos(reverse ? this.pos.from : this.pos.to);
+ function savePosAndFail(line) {
+ var pos = Pos(line, 0);
+ self.pos = {from: pos, to: pos};
+ self.atOccurrence = false;
+ return false;
+ }
+
+ for (;;) {
+ if (this.pos = this.matches(reverse, pos)) {
+ this.atOccurrence = true;
+ return this.pos.match || true;
+ }
+ if (reverse) {
+ if (!pos.line) return savePosAndFail(0);
+ pos = Pos(pos.line-1, this.doc.getLine(pos.line-1).length);
+ }
+ else {
+ var maxLine = this.doc.lineCount();
+ if (pos.line == maxLine - 1) return savePosAndFail(maxLine);
+ pos = Pos(pos.line + 1, 0);
+ }
+ }
+ },
+
+ from: function() {if (this.atOccurrence) return this.pos.from;},
+ to: function() {if (this.atOccurrence) return this.pos.to;},
+
+ replace: function(newText, origin) {
+ if (!this.atOccurrence) return;
+ var lines = CodeMirror.splitLines(newText);
+ this.doc.replaceRange(lines, this.pos.from, this.pos.to, origin);
+ this.pos.to = Pos(this.pos.from.line + lines.length - 1,
+ lines[lines.length - 1].length + (lines.length == 1 ? this.pos.from.ch : 0));
+ }
+ };
+
+ // Maps a position in a case-folded line back to a position in the original line
+ // (compensating for codepoints increasing in number during folding)
+ function adjustPos(orig, folded, pos) {
+ if (orig.length == folded.length) return pos;
+ for (var pos1 = Math.min(pos, orig.length);;) {
+ var len1 = orig.slice(0, pos1).toLowerCase().length;
+ if (len1 < pos) ++pos1;
+ else if (len1 > pos) --pos1;
+ else return pos1;
+ }
+ }
+
+ CodeMirror.defineExtension("getSearchCursor", function(query, pos, caseFold) {
+ return new SearchCursor(this.doc, query, pos, caseFold);
+ });
+ CodeMirror.defineDocExtension("getSearchCursor", function(query, pos, caseFold) {
+ return new SearchCursor(this, query, pos, caseFold);
+ });
+
+ CodeMirror.defineExtension("selectMatches", function(query, caseFold) {
+ var ranges = [], next;
+ var cur = this.getSearchCursor(query, this.getCursor("from"), caseFold);
+ while (next = cur.findNext()) {
+ if (CodeMirror.cmpPos(cur.to(), this.getCursor("to")) > 0) break;
+ ranges.push({anchor: cur.from(), head: cur.to()});
+ }
+ if (ranges.length)
+ this.setSelections(ranges, 0);
+ });
+});
diff --git a/public/vendor/codemirror/addon/selection/active-line.js b/public/vendor/codemirror/addon/selection/active-line.js
new file mode 100755
index 00000000..22da2e0a
--- /dev/null
+++ b/public/vendor/codemirror/addon/selection/active-line.js
@@ -0,0 +1,71 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+// Because sometimes you need to style the cursor's line.
+//
+// Adds an option 'styleActiveLine' which, when enabled, gives the
+// active line's wrapping the CSS class "CodeMirror-activeline",
+// and gives its background
the class "CodeMirror-activeline-background".
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+ "use strict";
+ var WRAP_CLASS = "CodeMirror-activeline";
+ var BACK_CLASS = "CodeMirror-activeline-background";
+
+ CodeMirror.defineOption("styleActiveLine", false, function(cm, val, old) {
+ var prev = old && old != CodeMirror.Init;
+ if (val && !prev) {
+ cm.state.activeLines = [];
+ updateActiveLines(cm, cm.listSelections());
+ cm.on("beforeSelectionChange", selectionChange);
+ } else if (!val && prev) {
+ cm.off("beforeSelectionChange", selectionChange);
+ clearActiveLines(cm);
+ delete cm.state.activeLines;
+ }
+ });
+
+ function clearActiveLines(cm) {
+ for (var i = 0; i < cm.state.activeLines.length; i++) {
+ cm.removeLineClass(cm.state.activeLines[i], "wrap", WRAP_CLASS);
+ cm.removeLineClass(cm.state.activeLines[i], "background", BACK_CLASS);
+ }
+ }
+
+ function sameArray(a, b) {
+ if (a.length != b.length) return false;
+ for (var i = 0; i < a.length; i++)
+ if (a[i] != b[i]) return false;
+ return true;
+ }
+
+ function updateActiveLines(cm, ranges) {
+ var active = [];
+ for (var i = 0; i < ranges.length; i++) {
+ var range = ranges[i];
+ if (!range.empty()) continue;
+ var line = cm.getLineHandleVisualStart(range.head.line);
+ if (active[active.length - 1] != line) active.push(line);
+ }
+ if (sameArray(cm.state.activeLines, active)) return;
+ cm.operation(function() {
+ clearActiveLines(cm);
+ for (var i = 0; i < active.length; i++) {
+ cm.addLineClass(active[i], "wrap", WRAP_CLASS);
+ cm.addLineClass(active[i], "background", BACK_CLASS);
+ }
+ cm.state.activeLines = active;
+ });
+ }
+
+ function selectionChange(cm, sel) {
+ updateActiveLines(cm, sel.ranges);
+ }
+});
diff --git a/public/vendor/codemirror/addon/selection/mark-selection.js b/public/vendor/codemirror/addon/selection/mark-selection.js
new file mode 100755
index 00000000..5c42d21e
--- /dev/null
+++ b/public/vendor/codemirror/addon/selection/mark-selection.js
@@ -0,0 +1,118 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+// Because sometimes you need to mark the selected *text*.
+//
+// Adds an option 'styleSelectedText' which, when enabled, gives
+// selected text the CSS class given as option value, or
+// "CodeMirror-selectedtext" when the value is not a string.
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+ "use strict";
+
+ CodeMirror.defineOption("styleSelectedText", false, function(cm, val, old) {
+ var prev = old && old != CodeMirror.Init;
+ if (val && !prev) {
+ cm.state.markedSelection = [];
+ cm.state.markedSelectionStyle = typeof val == "string" ? val : "CodeMirror-selectedtext";
+ reset(cm);
+ cm.on("cursorActivity", onCursorActivity);
+ cm.on("change", onChange);
+ } else if (!val && prev) {
+ cm.off("cursorActivity", onCursorActivity);
+ cm.off("change", onChange);
+ clear(cm);
+ cm.state.markedSelection = cm.state.markedSelectionStyle = null;
+ }
+ });
+
+ function onCursorActivity(cm) {
+ cm.operation(function() { update(cm); });
+ }
+
+ function onChange(cm) {
+ if (cm.state.markedSelection.length)
+ cm.operation(function() { clear(cm); });
+ }
+
+ var CHUNK_SIZE = 8;
+ var Pos = CodeMirror.Pos;
+ var cmp = CodeMirror.cmpPos;
+
+ function coverRange(cm, from, to, addAt) {
+ if (cmp(from, to) == 0) return;
+ var array = cm.state.markedSelection;
+ var cls = cm.state.markedSelectionStyle;
+ for (var line = from.line;;) {
+ var start = line == from.line ? from : Pos(line, 0);
+ var endLine = line + CHUNK_SIZE, atEnd = endLine >= to.line;
+ var end = atEnd ? to : Pos(endLine, 0);
+ var mark = cm.markText(start, end, {className: cls});
+ if (addAt == null) array.push(mark);
+ else array.splice(addAt++, 0, mark);
+ if (atEnd) break;
+ line = endLine;
+ }
+ }
+
+ function clear(cm) {
+ var array = cm.state.markedSelection;
+ for (var i = 0; i < array.length; ++i) array[i].clear();
+ array.length = 0;
+ }
+
+ function reset(cm) {
+ clear(cm);
+ var ranges = cm.listSelections();
+ for (var i = 0; i < ranges.length; i++)
+ coverRange(cm, ranges[i].from(), ranges[i].to());
+ }
+
+ function update(cm) {
+ if (!cm.somethingSelected()) return clear(cm);
+ if (cm.listSelections().length > 1) return reset(cm);
+
+ var from = cm.getCursor("start"), to = cm.getCursor("end");
+
+ var array = cm.state.markedSelection;
+ if (!array.length) return coverRange(cm, from, to);
+
+ var coverStart = array[0].find(), coverEnd = array[array.length - 1].find();
+ if (!coverStart || !coverEnd || to.line - from.line < CHUNK_SIZE ||
+ cmp(from, coverEnd.to) >= 0 || cmp(to, coverStart.from) <= 0)
+ return reset(cm);
+
+ while (cmp(from, coverStart.from) > 0) {
+ array.shift().clear();
+ coverStart = array[0].find();
+ }
+ if (cmp(from, coverStart.from) < 0) {
+ if (coverStart.to.line - from.line < CHUNK_SIZE) {
+ array.shift().clear();
+ coverRange(cm, from, coverStart.to, 0);
+ } else {
+ coverRange(cm, from, coverStart.from, 0);
+ }
+ }
+
+ while (cmp(to, coverEnd.to) < 0) {
+ array.pop().clear();
+ coverEnd = array[array.length - 1].find();
+ }
+ if (cmp(to, coverEnd.to) > 0) {
+ if (to.line - coverEnd.from.line < CHUNK_SIZE) {
+ array.pop().clear();
+ coverRange(cm, coverEnd.from, to);
+ } else {
+ coverRange(cm, coverEnd.to, to);
+ }
+ }
+ }
+});
diff --git a/public/vendor/codemirror/addon/selection/selection-pointer.js b/public/vendor/codemirror/addon/selection/selection-pointer.js
new file mode 100755
index 00000000..ef5e404a
--- /dev/null
+++ b/public/vendor/codemirror/addon/selection/selection-pointer.js
@@ -0,0 +1,98 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+ "use strict";
+
+ CodeMirror.defineOption("selectionPointer", false, function(cm, val) {
+ var data = cm.state.selectionPointer;
+ if (data) {
+ CodeMirror.off(cm.getWrapperElement(), "mousemove", data.mousemove);
+ CodeMirror.off(cm.getWrapperElement(), "mouseout", data.mouseout);
+ CodeMirror.off(window, "scroll", data.windowScroll);
+ cm.off("cursorActivity", reset);
+ cm.off("scroll", reset);
+ cm.state.selectionPointer = null;
+ cm.display.lineDiv.style.cursor = "";
+ }
+ if (val) {
+ data = cm.state.selectionPointer = {
+ value: typeof val == "string" ? val : "default",
+ mousemove: function(event) { mousemove(cm, event); },
+ mouseout: function(event) { mouseout(cm, event); },
+ windowScroll: function() { reset(cm); },
+ rects: null,
+ mouseX: null, mouseY: null,
+ willUpdate: false
+ };
+ CodeMirror.on(cm.getWrapperElement(), "mousemove", data.mousemove);
+ CodeMirror.on(cm.getWrapperElement(), "mouseout", data.mouseout);
+ CodeMirror.on(window, "scroll", data.windowScroll);
+ cm.on("cursorActivity", reset);
+ cm.on("scroll", reset);
+ }
+ });
+
+ function mousemove(cm, event) {
+ var data = cm.state.selectionPointer;
+ if (event.buttons == null ? event.which : event.buttons) {
+ data.mouseX = data.mouseY = null;
+ } else {
+ data.mouseX = event.clientX;
+ data.mouseY = event.clientY;
+ }
+ scheduleUpdate(cm);
+ }
+
+ function mouseout(cm, event) {
+ if (!cm.getWrapperElement().contains(event.relatedTarget)) {
+ var data = cm.state.selectionPointer;
+ data.mouseX = data.mouseY = null;
+ scheduleUpdate(cm);
+ }
+ }
+
+ function reset(cm) {
+ cm.state.selectionPointer.rects = null;
+ scheduleUpdate(cm);
+ }
+
+ function scheduleUpdate(cm) {
+ if (!cm.state.selectionPointer.willUpdate) {
+ cm.state.selectionPointer.willUpdate = true;
+ setTimeout(function() {
+ update(cm);
+ cm.state.selectionPointer.willUpdate = false;
+ }, 50);
+ }
+ }
+
+ function update(cm) {
+ var data = cm.state.selectionPointer;
+ if (!data) return;
+ if (data.rects == null && data.mouseX != null) {
+ data.rects = [];
+ if (cm.somethingSelected()) {
+ for (var sel = cm.display.selectionDiv.firstChild; sel; sel = sel.nextSibling)
+ data.rects.push(sel.getBoundingClientRect());
+ }
+ }
+ var inside = false;
+ if (data.mouseX != null) for (var i = 0; i < data.rects.length; i++) {
+ var rect = data.rects[i];
+ if (rect.left <= data.mouseX && rect.right >= data.mouseX &&
+ rect.top <= data.mouseY && rect.bottom >= data.mouseY)
+ inside = true;
+ }
+ var cursor = inside ? data.value : "";
+ if (cm.display.lineDiv.style.cursor != cursor)
+ cm.display.lineDiv.style.cursor = cursor;
+ }
+});
diff --git a/public/vendor/codemirror/addon/tern/tern.css b/public/vendor/codemirror/addon/tern/tern.css
new file mode 100755
index 00000000..76fba33d
--- /dev/null
+++ b/public/vendor/codemirror/addon/tern/tern.css
@@ -0,0 +1,86 @@
+.CodeMirror-Tern-completion {
+ padding-left: 22px;
+ position: relative;
+}
+.CodeMirror-Tern-completion:before {
+ position: absolute;
+ left: 2px;
+ bottom: 2px;
+ border-radius: 50%;
+ font-size: 12px;
+ font-weight: bold;
+ height: 15px;
+ width: 15px;
+ line-height: 16px;
+ text-align: center;
+ color: white;
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+}
+.CodeMirror-Tern-completion-unknown:before {
+ content: "?";
+ background: #4bb;
+}
+.CodeMirror-Tern-completion-object:before {
+ content: "O";
+ background: #77c;
+}
+.CodeMirror-Tern-completion-fn:before {
+ content: "F";
+ background: #7c7;
+}
+.CodeMirror-Tern-completion-array:before {
+ content: "A";
+ background: #c66;
+}
+.CodeMirror-Tern-completion-number:before {
+ content: "1";
+ background: #999;
+}
+.CodeMirror-Tern-completion-string:before {
+ content: "S";
+ background: #999;
+}
+.CodeMirror-Tern-completion-bool:before {
+ content: "B";
+ background: #999;
+}
+
+.CodeMirror-Tern-completion-guess {
+ color: #999;
+}
+
+.CodeMirror-Tern-tooltip {
+ border: 1px solid silver;
+ border-radius: 3px;
+ color: #444;
+ padding: 2px 5px;
+ font-size: 90%;
+ font-family: monospace;
+ background-color: white;
+ white-space: pre-wrap;
+
+ max-width: 40em;
+ position: absolute;
+ z-index: 10;
+ -webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
+ -moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
+ box-shadow: 2px 3px 5px rgba(0,0,0,.2);
+
+ transition: opacity 1s;
+ -moz-transition: opacity 1s;
+ -webkit-transition: opacity 1s;
+ -o-transition: opacity 1s;
+ -ms-transition: opacity 1s;
+}
+
+.CodeMirror-Tern-hint-doc {
+ max-width: 25em;
+ margin-top: -3px;
+}
+
+.CodeMirror-Tern-fname { color: black; }
+.CodeMirror-Tern-farg { color: #70a; }
+.CodeMirror-Tern-farg-current { text-decoration: underline; }
+.CodeMirror-Tern-type { color: #07c; }
+.CodeMirror-Tern-fhint-guess { opacity: .7; }
diff --git a/public/vendor/codemirror/addon/tern/tern.js b/public/vendor/codemirror/addon/tern/tern.js
new file mode 100755
index 00000000..99b8a646
--- /dev/null
+++ b/public/vendor/codemirror/addon/tern/tern.js
@@ -0,0 +1,697 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+// Glue code between CodeMirror and Tern.
+//
+// Create a CodeMirror.TernServer to wrap an actual Tern server,
+// register open documents (CodeMirror.Doc instances) with it, and
+// call its methods to activate the assisting functions that Tern
+// provides.
+//
+// Options supported (all optional):
+// * defs: An array of JSON definition data structures.
+// * plugins: An object mapping plugin names to configuration
+// options.
+// * getFile: A function(name, c) that can be used to access files in
+// the project that haven't been loaded yet. Simply do c(null) to
+// indicate that a file is not available.
+// * fileFilter: A function(value, docName, doc) that will be applied
+// to documents before passing them on to Tern.
+// * switchToDoc: A function(name, doc) that should, when providing a
+// multi-file view, switch the view or focus to the named file.
+// * showError: A function(editor, message) that can be used to
+// override the way errors are displayed.
+// * completionTip: Customize the content in tooltips for completions.
+// Is passed a single argument—the completion's data as returned by
+// Tern—and may return a string, DOM node, or null to indicate that
+// no tip should be shown. By default the docstring is shown.
+// * typeTip: Like completionTip, but for the tooltips shown for type
+// queries.
+// * responseFilter: A function(doc, query, request, error, data) that
+// will be applied to the Tern responses before treating them
+//
+//
+// It is possible to run the Tern server in a web worker by specifying
+// these additional options:
+// * useWorker: Set to true to enable web worker mode. You'll probably
+// want to feature detect the actual value you use here, for example
+// !!window.Worker.
+// * workerScript: The main script of the worker. Point this to
+// wherever you are hosting worker.js from this directory.
+// * workerDeps: An array of paths pointing (relative to workerScript)
+// to the Acorn and Tern libraries and any Tern plugins you want to
+// load. Or, if you minified those into a single script and included
+// them in the workerScript, simply leave this undefined.
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+ "use strict";
+ // declare global: tern
+
+ CodeMirror.TernServer = function(options) {
+ var self = this;
+ this.options = options || {};
+ var plugins = this.options.plugins || (this.options.plugins = {});
+ if (!plugins.doc_comment) plugins.doc_comment = true;
+ if (this.options.useWorker) {
+ this.server = new WorkerServer(this);
+ } else {
+ this.server = new tern.Server({
+ getFile: function(name, c) { return getFile(self, name, c); },
+ async: true,
+ defs: this.options.defs || [],
+ plugins: plugins
+ });
+ }
+ this.docs = Object.create(null);
+ this.trackChange = function(doc, change) { trackChange(self, doc, change); };
+
+ this.cachedArgHints = null;
+ this.activeArgHints = null;
+ this.jumpStack = [];
+
+ this.getHint = function(cm, c) { return hint(self, cm, c); };
+ this.getHint.async = true;
+ };
+
+ CodeMirror.TernServer.prototype = {
+ addDoc: function(name, doc) {
+ var data = {doc: doc, name: name, changed: null};
+ this.server.addFile(name, docValue(this, data));
+ CodeMirror.on(doc, "change", this.trackChange);
+ return this.docs[name] = data;
+ },
+
+ delDoc: function(id) {
+ var found = resolveDoc(this, id);
+ if (!found) return;
+ CodeMirror.off(found.doc, "change", this.trackChange);
+ delete this.docs[found.name];
+ this.server.delFile(found.name);
+ },
+
+ hideDoc: function(id) {
+ closeArgHints(this);
+ var found = resolveDoc(this, id);
+ if (found && found.changed) sendDoc(this, found);
+ },
+
+ complete: function(cm) {
+ cm.showHint({hint: this.getHint});
+ },
+
+ showType: function(cm, pos, c) { showContextInfo(this, cm, pos, "type", c); },
+
+ showDocs: function(cm, pos, c) { showContextInfo(this, cm, pos, "documentation", c); },
+
+ updateArgHints: function(cm) { updateArgHints(this, cm); },
+
+ jumpToDef: function(cm) { jumpToDef(this, cm); },
+
+ jumpBack: function(cm) { jumpBack(this, cm); },
+
+ rename: function(cm) { rename(this, cm); },
+
+ selectName: function(cm) { selectName(this, cm); },
+
+ request: function (cm, query, c, pos) {
+ var self = this;
+ var doc = findDoc(this, cm.getDoc());
+ var request = buildRequest(this, doc, query, pos);
+
+ this.server.request(request, function (error, data) {
+ if (!error && self.options.responseFilter)
+ data = self.options.responseFilter(doc, query, request, error, data);
+ c(error, data);
+ });
+ },
+
+ destroy: function () {
+ if (this.worker) {
+ this.worker.terminate();
+ this.worker = null;
+ }
+ }
+ };
+
+ var Pos = CodeMirror.Pos;
+ var cls = "CodeMirror-Tern-";
+ var bigDoc = 250;
+
+ function getFile(ts, name, c) {
+ var buf = ts.docs[name];
+ if (buf)
+ c(docValue(ts, buf));
+ else if (ts.options.getFile)
+ ts.options.getFile(name, c);
+ else
+ c(null);
+ }
+
+ function findDoc(ts, doc, name) {
+ for (var n in ts.docs) {
+ var cur = ts.docs[n];
+ if (cur.doc == doc) return cur;
+ }
+ if (!name) for (var i = 0;; ++i) {
+ n = "[doc" + (i || "") + "]";
+ if (!ts.docs[n]) { name = n; break; }
+ }
+ return ts.addDoc(name, doc);
+ }
+
+ function resolveDoc(ts, id) {
+ if (typeof id == "string") return ts.docs[id];
+ if (id instanceof CodeMirror) id = id.getDoc();
+ if (id instanceof CodeMirror.Doc) return findDoc(ts, id);
+ }
+
+ function trackChange(ts, doc, change) {
+ var data = findDoc(ts, doc);
+
+ var argHints = ts.cachedArgHints;
+ if (argHints && argHints.doc == doc && cmpPos(argHints.start, change.to) <= 0)
+ ts.cachedArgHints = null;
+
+ var changed = data.changed;
+ if (changed == null)
+ data.changed = changed = {from: change.from.line, to: change.from.line};
+ var end = change.from.line + (change.text.length - 1);
+ if (change.from.line < changed.to) changed.to = changed.to - (change.to.line - end);
+ if (end >= changed.to) changed.to = end + 1;
+ if (changed.from > change.from.line) changed.from = change.from.line;
+
+ if (doc.lineCount() > bigDoc && change.to - changed.from > 100) setTimeout(function() {
+ if (data.changed && data.changed.to - data.changed.from > 100) sendDoc(ts, data);
+ }, 200);
+ }
+
+ function sendDoc(ts, doc) {
+ ts.server.request({files: [{type: "full", name: doc.name, text: docValue(ts, doc)}]}, function(error) {
+ if (error) window.console.error(error);
+ else doc.changed = null;
+ });
+ }
+
+ // Completion
+
+ function hint(ts, cm, c) {
+ ts.request(cm, {type: "completions", types: true, docs: true, urls: true}, function(error, data) {
+ if (error) return showError(ts, cm, error);
+ var completions = [], after = "";
+ var from = data.start, to = data.end;
+ if (cm.getRange(Pos(from.line, from.ch - 2), from) == "[\"" &&
+ cm.getRange(to, Pos(to.line, to.ch + 2)) != "\"]")
+ after = "\"]";
+
+ for (var i = 0; i < data.completions.length; ++i) {
+ var completion = data.completions[i], className = typeToIcon(completion.type);
+ if (data.guess) className += " " + cls + "guess";
+ completions.push({text: completion.name + after,
+ displayText: completion.name,
+ className: className,
+ data: completion});
+ }
+
+ var obj = {from: from, to: to, list: completions};
+ var tooltip = null;
+ CodeMirror.on(obj, "close", function() { remove(tooltip); });
+ CodeMirror.on(obj, "update", function() { remove(tooltip); });
+ CodeMirror.on(obj, "select", function(cur, node) {
+ remove(tooltip);
+ var content = ts.options.completionTip ? ts.options.completionTip(cur.data) : cur.data.doc;
+ if (content) {
+ tooltip = makeTooltip(node.parentNode.getBoundingClientRect().right + window.pageXOffset,
+ node.getBoundingClientRect().top + window.pageYOffset, content);
+ tooltip.className += " " + cls + "hint-doc";
+ }
+ });
+ c(obj);
+ });
+ }
+
+ function typeToIcon(type) {
+ var suffix;
+ if (type == "?") suffix = "unknown";
+ else if (type == "number" || type == "string" || type == "bool") suffix = type;
+ else if (/^fn\(/.test(type)) suffix = "fn";
+ else if (/^\[/.test(type)) suffix = "array";
+ else suffix = "object";
+ return cls + "completion " + cls + "completion-" + suffix;
+ }
+
+ // Type queries
+
+ function showContextInfo(ts, cm, pos, queryName, c) {
+ ts.request(cm, queryName, function(error, data) {
+ if (error) return showError(ts, cm, error);
+ if (ts.options.typeTip) {
+ var tip = ts.options.typeTip(data);
+ } else {
+ var tip = elt("span", null, elt("strong", null, data.type || "not found"));
+ if (data.doc)
+ tip.appendChild(document.createTextNode(" — " + data.doc));
+ if (data.url) {
+ tip.appendChild(document.createTextNode(" "));
+ var child = tip.appendChild(elt("a", null, "[docs]"));
+ child.href = data.url;
+ child.target = "_blank";
+ }
+ }
+ tempTooltip(cm, tip);
+ if (c) c();
+ }, pos);
+ }
+
+ // Maintaining argument hints
+
+ function updateArgHints(ts, cm) {
+ closeArgHints(ts);
+
+ if (cm.somethingSelected()) return;
+ var state = cm.getTokenAt(cm.getCursor()).state;
+ var inner = CodeMirror.innerMode(cm.getMode(), state);
+ if (inner.mode.name != "javascript") return;
+ var lex = inner.state.lexical;
+ if (lex.info != "call") return;
+
+ var ch, argPos = lex.pos || 0, tabSize = cm.getOption("tabSize");
+ for (var line = cm.getCursor().line, e = Math.max(0, line - 9), found = false; line >= e; --line) {
+ var str = cm.getLine(line), extra = 0;
+ for (var pos = 0;;) {
+ var tab = str.indexOf("\t", pos);
+ if (tab == -1) break;
+ extra += tabSize - (tab + extra) % tabSize - 1;
+ pos = tab + 1;
+ }
+ ch = lex.column - extra;
+ if (str.charAt(ch) == "(") {found = true; break;}
+ }
+ if (!found) return;
+
+ var start = Pos(line, ch);
+ var cache = ts.cachedArgHints;
+ if (cache && cache.doc == cm.getDoc() && cmpPos(start, cache.start) == 0)
+ return showArgHints(ts, cm, argPos);
+
+ ts.request(cm, {type: "type", preferFunction: true, end: start}, function(error, data) {
+ if (error || !data.type || !(/^fn\(/).test(data.type)) return;
+ ts.cachedArgHints = {
+ start: pos,
+ type: parseFnType(data.type),
+ name: data.exprName || data.name || "fn",
+ guess: data.guess,
+ doc: cm.getDoc()
+ };
+ showArgHints(ts, cm, argPos);
+ });
+ }
+
+ function showArgHints(ts, cm, pos) {
+ closeArgHints(ts);
+
+ var cache = ts.cachedArgHints, tp = cache.type;
+ var tip = elt("span", cache.guess ? cls + "fhint-guess" : null,
+ elt("span", cls + "fname", cache.name), "(");
+ for (var i = 0; i < tp.args.length; ++i) {
+ if (i) tip.appendChild(document.createTextNode(", "));
+ var arg = tp.args[i];
+ tip.appendChild(elt("span", cls + "farg" + (i == pos ? " " + cls + "farg-current" : ""), arg.name || "?"));
+ if (arg.type != "?") {
+ tip.appendChild(document.createTextNode(":\u00a0"));
+ tip.appendChild(elt("span", cls + "type", arg.type));
+ }
+ }
+ tip.appendChild(document.createTextNode(tp.rettype ? ") ->\u00a0" : ")"));
+ if (tp.rettype) tip.appendChild(elt("span", cls + "type", tp.rettype));
+ var place = cm.cursorCoords(null, "page");
+ ts.activeArgHints = makeTooltip(place.right + 1, place.bottom, tip);
+ }
+
+ function parseFnType(text) {
+ var args = [], pos = 3;
+
+ function skipMatching(upto) {
+ var depth = 0, start = pos;
+ for (;;) {
+ var next = text.charAt(pos);
+ if (upto.test(next) && !depth) return text.slice(start, pos);
+ if (/[{\[\(]/.test(next)) ++depth;
+ else if (/[}\]\)]/.test(next)) --depth;
+ ++pos;
+ }
+ }
+
+ // Parse arguments
+ if (text.charAt(pos) != ")") for (;;) {
+ var name = text.slice(pos).match(/^([^, \(\[\{]+): /);
+ if (name) {
+ pos += name[0].length;
+ name = name[1];
+ }
+ args.push({name: name, type: skipMatching(/[\),]/)});
+ if (text.charAt(pos) == ")") break;
+ pos += 2;
+ }
+
+ var rettype = text.slice(pos).match(/^\) -> (.*)$/);
+
+ return {args: args, rettype: rettype && rettype[1]};
+ }
+
+ // Moving to the definition of something
+
+ function jumpToDef(ts, cm) {
+ function inner(varName) {
+ var req = {type: "definition", variable: varName || null};
+ var doc = findDoc(ts, cm.getDoc());
+ ts.server.request(buildRequest(ts, doc, req), function(error, data) {
+ if (error) return showError(ts, cm, error);
+ if (!data.file && data.url) { window.open(data.url); return; }
+
+ if (data.file) {
+ var localDoc = ts.docs[data.file], found;
+ if (localDoc && (found = findContext(localDoc.doc, data))) {
+ ts.jumpStack.push({file: doc.name,
+ start: cm.getCursor("from"),
+ end: cm.getCursor("to")});
+ moveTo(ts, doc, localDoc, found.start, found.end);
+ return;
+ }
+ }
+ showError(ts, cm, "Could not find a definition.");
+ });
+ }
+
+ if (!atInterestingExpression(cm))
+ dialog(cm, "Jump to variable", function(name) { if (name) inner(name); });
+ else
+ inner();
+ }
+
+ function jumpBack(ts, cm) {
+ var pos = ts.jumpStack.pop(), doc = pos && ts.docs[pos.file];
+ if (!doc) return;
+ moveTo(ts, findDoc(ts, cm.getDoc()), doc, pos.start, pos.end);
+ }
+
+ function moveTo(ts, curDoc, doc, start, end) {
+ doc.doc.setSelection(start, end);
+ if (curDoc != doc && ts.options.switchToDoc) {
+ closeArgHints(ts);
+ ts.options.switchToDoc(doc.name, doc.doc);
+ }
+ }
+
+ // The {line,ch} representation of positions makes this rather awkward.
+ function findContext(doc, data) {
+ var before = data.context.slice(0, data.contextOffset).split("\n");
+ var startLine = data.start.line - (before.length - 1);
+ var start = Pos(startLine, (before.length == 1 ? data.start.ch : doc.getLine(startLine).length) - before[0].length);
+
+ var text = doc.getLine(startLine).slice(start.ch);
+ for (var cur = startLine + 1; cur < doc.lineCount() && text.length < data.context.length; ++cur)
+ text += "\n" + doc.getLine(cur);
+ if (text.slice(0, data.context.length) == data.context) return data;
+
+ var cursor = doc.getSearchCursor(data.context, 0, false);
+ var nearest, nearestDist = Infinity;
+ while (cursor.findNext()) {
+ var from = cursor.from(), dist = Math.abs(from.line - start.line) * 10000;
+ if (!dist) dist = Math.abs(from.ch - start.ch);
+ if (dist < nearestDist) { nearest = from; nearestDist = dist; }
+ }
+ if (!nearest) return null;
+
+ if (before.length == 1)
+ nearest.ch += before[0].length;
+ else
+ nearest = Pos(nearest.line + (before.length - 1), before[before.length - 1].length);
+ if (data.start.line == data.end.line)
+ var end = Pos(nearest.line, nearest.ch + (data.end.ch - data.start.ch));
+ else
+ var end = Pos(nearest.line + (data.end.line - data.start.line), data.end.ch);
+ return {start: nearest, end: end};
+ }
+
+ function atInterestingExpression(cm) {
+ var pos = cm.getCursor("end"), tok = cm.getTokenAt(pos);
+ if (tok.start < pos.ch && (tok.type == "comment" || tok.type == "string")) return false;
+ return /[\w)\]]/.test(cm.getLine(pos.line).slice(Math.max(pos.ch - 1, 0), pos.ch + 1));
+ }
+
+ // Variable renaming
+
+ function rename(ts, cm) {
+ var token = cm.getTokenAt(cm.getCursor());
+ if (!/\w/.test(token.string)) return showError(ts, cm, "Not at a variable");
+ dialog(cm, "New name for " + token.string, function(newName) {
+ ts.request(cm, {type: "rename", newName: newName, fullDocs: true}, function(error, data) {
+ if (error) return showError(ts, cm, error);
+ applyChanges(ts, data.changes);
+ });
+ });
+ }
+
+ function selectName(ts, cm) {
+ var name = findDoc(ts, cm.doc).name;
+ ts.request(cm, {type: "refs"}, function(error, data) {
+ if (error) return showError(ts, cm, error);
+ var ranges = [], cur = 0;
+ for (var i = 0; i < data.refs.length; i++) {
+ var ref = data.refs[i];
+ if (ref.file == name) {
+ ranges.push({anchor: ref.start, head: ref.end});
+ if (cmpPos(cur, ref.start) >= 0 && cmpPos(cur, ref.end) <= 0)
+ cur = ranges.length - 1;
+ }
+ }
+ cm.setSelections(ranges, cur);
+ });
+ }
+
+ var nextChangeOrig = 0;
+ function applyChanges(ts, changes) {
+ var perFile = Object.create(null);
+ for (var i = 0; i < changes.length; ++i) {
+ var ch = changes[i];
+ (perFile[ch.file] || (perFile[ch.file] = [])).push(ch);
+ }
+ for (var file in perFile) {
+ var known = ts.docs[file], chs = perFile[file];;
+ if (!known) continue;
+ chs.sort(function(a, b) { return cmpPos(b.start, a.start); });
+ var origin = "*rename" + (++nextChangeOrig);
+ for (var i = 0; i < chs.length; ++i) {
+ var ch = chs[i];
+ known.doc.replaceRange(ch.text, ch.start, ch.end, origin);
+ }
+ }
+ }
+
+ // Generic request-building helper
+
+ function buildRequest(ts, doc, query, pos) {
+ var files = [], offsetLines = 0, allowFragments = !query.fullDocs;
+ if (!allowFragments) delete query.fullDocs;
+ if (typeof query == "string") query = {type: query};
+ query.lineCharPositions = true;
+ if (query.end == null) {
+ query.end = pos || doc.doc.getCursor("end");
+ if (doc.doc.somethingSelected())
+ query.start = doc.doc.getCursor("start");
+ }
+ var startPos = query.start || query.end;
+
+ if (doc.changed) {
+ if (doc.doc.lineCount() > bigDoc && allowFragments !== false &&
+ doc.changed.to - doc.changed.from < 100 &&
+ doc.changed.from <= startPos.line && doc.changed.to > query.end.line) {
+ files.push(getFragmentAround(doc, startPos, query.end));
+ query.file = "#0";
+ var offsetLines = files[0].offsetLines;
+ if (query.start != null) query.start = Pos(query.start.line - -offsetLines, query.start.ch);
+ query.end = Pos(query.end.line - offsetLines, query.end.ch);
+ } else {
+ files.push({type: "full",
+ name: doc.name,
+ text: docValue(ts, doc)});
+ query.file = doc.name;
+ doc.changed = null;
+ }
+ } else {
+ query.file = doc.name;
+ }
+ for (var name in ts.docs) {
+ var cur = ts.docs[name];
+ if (cur.changed && cur != doc) {
+ files.push({type: "full", name: cur.name, text: docValue(ts, cur)});
+ cur.changed = null;
+ }
+ }
+
+ return {query: query, files: files};
+ }
+
+ function getFragmentAround(data, start, end) {
+ var doc = data.doc;
+ var minIndent = null, minLine = null, endLine, tabSize = 4;
+ for (var p = start.line - 1, min = Math.max(0, p - 50); p >= min; --p) {
+ var line = doc.getLine(p), fn = line.search(/\bfunction\b/);
+ if (fn < 0) continue;
+ var indent = CodeMirror.countColumn(line, null, tabSize);
+ if (minIndent != null && minIndent <= indent) continue;
+ minIndent = indent;
+ minLine = p;
+ }
+ if (minLine == null) minLine = min;
+ var max = Math.min(doc.lastLine(), end.line + 20);
+ if (minIndent == null || minIndent == CodeMirror.countColumn(doc.getLine(start.line), null, tabSize))
+ endLine = max;
+ else for (endLine = end.line + 1; endLine < max; ++endLine) {
+ var indent = CodeMirror.countColumn(doc.getLine(endLine), null, tabSize);
+ if (indent <= minIndent) break;
+ }
+ var from = Pos(minLine, 0);
+
+ return {type: "part",
+ name: data.name,
+ offsetLines: from.line,
+ text: doc.getRange(from, Pos(endLine, 0))};
+ }
+
+ // Generic utilities
+
+ var cmpPos = CodeMirror.cmpPos;
+
+ function elt(tagname, cls /*, ... elts*/) {
+ var e = document.createElement(tagname);
+ if (cls) e.className = cls;
+ for (var i = 2; i < arguments.length; ++i) {
+ var elt = arguments[i];
+ if (typeof elt == "string") elt = document.createTextNode(elt);
+ e.appendChild(elt);
+ }
+ return e;
+ }
+
+ function dialog(cm, text, f) {
+ if (cm.openDialog)
+ cm.openDialog(text + ":
", f);
+ else
+ f(prompt(text, ""));
+ }
+
+ // Tooltips
+
+ function tempTooltip(cm, content) {
+ if (cm.state.ternTooltip) remove(cm.state.ternTooltip);
+ var where = cm.cursorCoords();
+ var tip = cm.state.ternTooltip = makeTooltip(where.right + 1, where.bottom, content);
+ function maybeClear() {
+ old = true;
+ if (!mouseOnTip) clear();
+ }
+ function clear() {
+ cm.state.ternTooltip = null;
+ if (!tip.parentNode) return;
+ cm.off("cursorActivity", clear);
+ cm.off('blur', clear);
+ cm.off('scroll', clear);
+ fadeOut(tip);
+ }
+ var mouseOnTip = false, old = false;
+ CodeMirror.on(tip, "mousemove", function() { mouseOnTip = true; });
+ CodeMirror.on(tip, "mouseout", function(e) {
+ if (!CodeMirror.contains(tip, e.relatedTarget || e.toElement)) {
+ if (old) clear();
+ else mouseOnTip = false;
+ }
+ });
+ setTimeout(maybeClear, 1700);
+ cm.on("cursorActivity", clear);
+ cm.on('blur', clear);
+ cm.on('scroll', clear);
+ }
+
+ function makeTooltip(x, y, content) {
+ var node = elt("div", cls + "tooltip", content);
+ node.style.left = x + "px";
+ node.style.top = y + "px";
+ document.body.appendChild(node);
+ return node;
+ }
+
+ function remove(node) {
+ var p = node && node.parentNode;
+ if (p) p.removeChild(node);
+ }
+
+ function fadeOut(tooltip) {
+ tooltip.style.opacity = "0";
+ setTimeout(function() { remove(tooltip); }, 1100);
+ }
+
+ function showError(ts, cm, msg) {
+ if (ts.options.showError)
+ ts.options.showError(cm, msg);
+ else
+ tempTooltip(cm, String(msg));
+ }
+
+ function closeArgHints(ts) {
+ if (ts.activeArgHints) { remove(ts.activeArgHints); ts.activeArgHints = null; }
+ }
+
+ function docValue(ts, doc) {
+ var val = doc.doc.getValue();
+ if (ts.options.fileFilter) val = ts.options.fileFilter(val, doc.name, doc.doc);
+ return val;
+ }
+
+ // Worker wrapper
+
+ function WorkerServer(ts) {
+ var worker = ts.worker = new Worker(ts.options.workerScript);
+ worker.postMessage({type: "init",
+ defs: ts.options.defs,
+ plugins: ts.options.plugins,
+ scripts: ts.options.workerDeps});
+ var msgId = 0, pending = {};
+
+ function send(data, c) {
+ if (c) {
+ data.id = ++msgId;
+ pending[msgId] = c;
+ }
+ worker.postMessage(data);
+ }
+ worker.onmessage = function(e) {
+ var data = e.data;
+ if (data.type == "getFile") {
+ getFile(ts, data.name, function(err, text) {
+ send({type: "getFile", err: String(err), text: text, id: data.id});
+ });
+ } else if (data.type == "debug") {
+ window.console.log(data.message);
+ } else if (data.id && pending[data.id]) {
+ pending[data.id](data.err, data.body);
+ delete pending[data.id];
+ }
+ };
+ worker.onerror = function(e) {
+ for (var id in pending) pending[id](e);
+ pending = {};
+ };
+
+ this.addFile = function(name, text) { send({type: "add", name: name, text: text}); };
+ this.delFile = function(name) { send({type: "del", name: name}); };
+ this.request = function(body, c) { send({type: "req", body: body}, c); };
+ }
+});
diff --git a/public/vendor/codemirror/addon/tern/worker.js b/public/vendor/codemirror/addon/tern/worker.js
new file mode 100755
index 00000000..48277af8
--- /dev/null
+++ b/public/vendor/codemirror/addon/tern/worker.js
@@ -0,0 +1,44 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+// declare global: tern, server
+
+var server;
+
+this.onmessage = function(e) {
+ var data = e.data;
+ switch (data.type) {
+ case "init": return startServer(data.defs, data.plugins, data.scripts);
+ case "add": return server.addFile(data.name, data.text);
+ case "del": return server.delFile(data.name);
+ case "req": return server.request(data.body, function(err, reqData) {
+ postMessage({id: data.id, body: reqData, err: err && String(err)});
+ });
+ case "getFile":
+ var c = pending[data.id];
+ delete pending[data.id];
+ return c(data.err, data.text);
+ default: throw new Error("Unknown message type: " + data.type);
+ }
+};
+
+var nextId = 0, pending = {};
+function getFile(file, c) {
+ postMessage({type: "getFile", name: file, id: ++nextId});
+ pending[nextId] = c;
+}
+
+function startServer(defs, plugins, scripts) {
+ if (scripts) importScripts.apply(null, scripts);
+
+ server = new tern.Server({
+ getFile: getFile,
+ async: true,
+ defs: defs,
+ plugins: plugins
+ });
+}
+
+var console = {
+ log: function(v) { postMessage({type: "debug", message: v}); }
+};
diff --git a/public/vendor/codemirror/addon/wrap/hardwrap.js b/public/vendor/codemirror/addon/wrap/hardwrap.js
new file mode 100755
index 00000000..fe9b4dd6
--- /dev/null
+++ b/public/vendor/codemirror/addon/wrap/hardwrap.js
@@ -0,0 +1,139 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+ "use strict";
+
+ var Pos = CodeMirror.Pos;
+
+ function findParagraph(cm, pos, options) {
+ var startRE = options.paragraphStart || cm.getHelper(pos, "paragraphStart");
+ for (var start = pos.line, first = cm.firstLine(); start > first; --start) {
+ var line = cm.getLine(start);
+ if (startRE && startRE.test(line)) break;
+ if (!/\S/.test(line)) { ++start; break; }
+ }
+ var endRE = options.paragraphEnd || cm.getHelper(pos, "paragraphEnd");
+ for (var end = pos.line + 1, last = cm.lastLine(); end <= last; ++end) {
+ var line = cm.getLine(end);
+ if (endRE && endRE.test(line)) { ++end; break; }
+ if (!/\S/.test(line)) break;
+ }
+ return {from: start, to: end};
+ }
+
+ function findBreakPoint(text, column, wrapOn, killTrailingSpace) {
+ for (var at = column; at > 0; --at)
+ if (wrapOn.test(text.slice(at - 1, at + 1))) break;
+ if (at == 0) at = column;
+ var endOfText = at;
+ if (killTrailingSpace)
+ while (text.charAt(endOfText - 1) == " ") --endOfText;
+ return {from: endOfText, to: at};
+ }
+
+ function wrapRange(cm, from, to, options) {
+ from = cm.clipPos(from); to = cm.clipPos(to);
+ var column = options.column || 80;
+ var wrapOn = options.wrapOn || /\s\S|-[^\.\d]/;
+ var killTrailing = options.killTrailingSpace !== false;
+ var changes = [], curLine = "", curNo = from.line;
+ var lines = cm.getRange(from, to, false);
+ if (!lines.length) return null;
+ var leadingSpace = lines[0].match(/^[ \t]*/)[0];
+
+ for (var i = 0; i < lines.length; ++i) {
+ var text = lines[i], oldLen = curLine.length, spaceInserted = 0;
+ if (curLine && text && !wrapOn.test(curLine.charAt(curLine.length - 1) + text.charAt(0))) {
+ curLine += " ";
+ spaceInserted = 1;
+ }
+ var spaceTrimmed = "";
+ if (i) {
+ spaceTrimmed = text.match(/^\s*/)[0];
+ text = text.slice(spaceTrimmed.length);
+ }
+ curLine += text;
+ if (i) {
+ var firstBreak = curLine.length > column && leadingSpace == spaceTrimmed &&
+ findBreakPoint(curLine, column, wrapOn, killTrailing);
+ // If this isn't broken, or is broken at a different point, remove old break
+ if (!firstBreak || firstBreak.from != oldLen || firstBreak.to != oldLen + spaceInserted) {
+ changes.push({text: [spaceInserted ? " " : ""],
+ from: Pos(curNo, oldLen),
+ to: Pos(curNo + 1, spaceTrimmed.length)});
+ } else {
+ curLine = leadingSpace + text;
+ ++curNo;
+ }
+ }
+ while (curLine.length > column) {
+ var bp = findBreakPoint(curLine, column, wrapOn, killTrailing);
+ changes.push({text: ["", leadingSpace],
+ from: Pos(curNo, bp.from),
+ to: Pos(curNo, bp.to)});
+ curLine = leadingSpace + curLine.slice(bp.to);
+ ++curNo;
+ }
+ }
+ if (changes.length) cm.operation(function() {
+ for (var i = 0; i < changes.length; ++i) {
+ var change = changes[i];
+ cm.replaceRange(change.text, change.from, change.to);
+ }
+ });
+ return changes.length ? {from: changes[0].from, to: CodeMirror.changeEnd(changes[changes.length - 1])} : null;
+ }
+
+ CodeMirror.defineExtension("wrapParagraph", function(pos, options) {
+ options = options || {};
+ if (!pos) pos = this.getCursor();
+ var para = findParagraph(this, pos, options);
+ return wrapRange(this, Pos(para.from, 0), Pos(para.to - 1), options);
+ });
+
+ CodeMirror.commands.wrapLines = function(cm) {
+ cm.operation(function() {
+ var ranges = cm.listSelections(), at = cm.lastLine() + 1;
+ for (var i = ranges.length - 1; i >= 0; i--) {
+ var range = ranges[i], span;
+ if (range.empty()) {
+ var para = findParagraph(cm, range.head, {});
+ span = {from: Pos(para.from, 0), to: Pos(para.to - 1)};
+ } else {
+ span = {from: range.from(), to: range.to()};
+ }
+ if (span.to.line >= at) continue;
+ at = span.from.line;
+ wrapRange(cm, span.from, span.to, {});
+ }
+ });
+ };
+
+ CodeMirror.defineExtension("wrapRange", function(from, to, options) {
+ return wrapRange(this, from, to, options || {});
+ });
+
+ CodeMirror.defineExtension("wrapParagraphsInRange", function(from, to, options) {
+ options = options || {};
+ var cm = this, paras = [];
+ for (var line = from.line; line <= to.line;) {
+ var para = findParagraph(cm, Pos(line, 0), options);
+ paras.push(para);
+ line = para.to;
+ }
+ var madeChange = false;
+ if (paras.length) cm.operation(function() {
+ for (var i = paras.length - 1; i >= 0; --i)
+ madeChange = madeChange || wrapRange(cm, Pos(paras[i].from, 0), Pos(paras[i].to - 1), options);
+ });
+ return madeChange;
+ });
+});
diff --git a/public/vendor/codemirror/codemirror.min.js b/public/vendor/codemirror/codemirror.min.js
new file mode 100644
index 00000000..9f8f26d1
--- /dev/null
+++ b/public/vendor/codemirror/codemirror.min.js
@@ -0,0 +1,12 @@
+!function(e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else{if("function"==typeof define&&define.amd)return define([],e);this.CodeMirror=e()}}(function(){"use strict";function e(r,n){if(!(this instanceof e))return new e(r,n);this.options=n=n?Di(n):{},Di(Ko,n,!1),h(n);var i=n.value;"string"==typeof i&&(i=new va(i,n.mode)),this.doc=i;var o=new e.inputStyles[n.inputStyle](this),a=this.display=new t(r,i,o);a.wrapper.CodeMirror=this,c(this),l(this),n.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),n.autofocus&&!Co&&a.input.focus(),v(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:!1,cutIncoming:!1,draggingText:!1,highlight:new Li,keySeq:null,specialChars:null};var s=this;ho&&11>po&&setTimeout(function(){s.display.input.reset(!0)},20),jt(this),Vi(),yt(this),this.curOp.forceUpdate=!0,Gn(this,i),n.autofocus&&!Co||s.hasFocus()?setTimeout(Wi(fr,this),20):hr(this);for(var u in $o)$o.hasOwnProperty(u)&&$o[u](this,n[u],Xo);k(this),n.finishInit&&n.finishInit(this);for(var d=0;d
po&&(n.gutters.style.zIndex=-1,n.scroller.style.paddingRight=0),mo||co&&Co||(n.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(n.wrapper):e(n.wrapper)),n.viewFrom=n.viewTo=t.first,n.reportedViewFrom=n.reportedViewTo=t.first,n.view=[],n.renderedView=null,n.externalMeasured=null,n.viewOffset=0,n.lastWrapHeight=n.lastWrapWidth=0,n.updateLineNumbers=null,n.nativeBarWidth=n.barHeight=n.barWidth=0,n.scrollbarsClipped=!1,n.lineNumWidth=n.lineNumInnerWidth=n.lineNumChars=null,n.alignWidgets=!1,n.cachedCharWidth=n.cachedTextHeight=n.cachedPaddingH=null,n.maxLine=null,n.maxLineLength=0,n.maxLineChanged=!1,n.wheelDX=n.wheelDY=n.wheelStartX=n.wheelStartY=null,n.shift=!1,n.selForContextMenu=null,n.activeTouch=null,r.init(n)}function r(t){t.doc.mode=e.getMode(t.options,t.doc.modeOption),n(t)}function n(e){e.doc.iter(function(e){e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null)}),e.doc.frontier=e.doc.first,Fe(e,100),e.state.modeGen++,e.curOp&&Dt(e)}function i(e){e.options.lineWrapping?(Ra(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(qa(e.display.wrapper,"CodeMirror-wrap"),f(e)),a(e),Dt(e),ot(e),setTimeout(function(){y(e)},100)}function o(e){var t=gt(e.display),r=e.options.lineWrapping,n=r&&Math.max(5,e.display.scroller.clientWidth/vt(e.display)-3);return function(i){if(yn(e.doc,i))return 0;var o=0;if(i.widgets)for(var a=0;at.maxLineLength&&(t.maxLineLength=r,t.maxLine=e)})}function h(e){var t=Oi(e.gutters,"CodeMirror-linenumbers");-1==t&&e.lineNumbers?e.gutters=e.gutters.concat(["CodeMirror-linenumbers"]):t>-1&&!e.lineNumbers&&(e.gutters=e.gutters.slice(0),e.gutters.splice(t,1))}function p(e){var t=e.display,r=t.gutters.offsetWidth,n=Math.round(e.doc.height+qe(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?r:0,docHeight:n,scrollHeight:n+Ue(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:r}}function m(e,t,r){this.cm=r;var n=this.vert=Hi("div",[Hi("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),i=this.horiz=Hi("div",[Hi("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");e(n),e(i),Ca(n,"scroll",function(){n.clientHeight&&t(n.scrollTop,"vertical")}),Ca(i,"scroll",function(){i.clientWidth&&t(i.scrollLeft,"horizontal")}),this.checkedOverlay=!1,ho&&8>po&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")}function g(){}function v(t){t.display.scrollbars&&(t.display.scrollbars.clear(),t.display.scrollbars.addClass&&qa(t.display.wrapper,t.display.scrollbars.addClass)),t.display.scrollbars=new e.scrollbarModel[t.options.scrollbarStyle](function(e){t.display.wrapper.insertBefore(e,t.display.scrollbarFiller),Ca(e,"mousedown",function(){t.state.focused&&setTimeout(function(){t.display.input.focus()},0)}),e.setAttribute("cm-not-content","true")},function(e,r){"horizontal"==r?er(t,e):Jt(t,e)},t),t.display.scrollbars.addClass&&Ra(t.display.wrapper,t.display.scrollbars.addClass)}function y(e,t){t||(t=p(e));var r=e.display.barWidth,n=e.display.barHeight;b(e,t);for(var i=0;4>i&&r!=e.display.barWidth||n!=e.display.barHeight;i++)r!=e.display.barWidth&&e.options.lineWrapping&&N(e),b(e,p(e)),r=e.display.barWidth,n=e.display.barHeight}function b(e,t){var r=e.display,n=r.scrollbars.update(t);r.sizer.style.paddingRight=(r.barWidth=n.right)+"px",r.sizer.style.paddingBottom=(r.barHeight=n.bottom)+"px",n.right&&n.bottom?(r.scrollbarFiller.style.display="block",r.scrollbarFiller.style.height=n.bottom+"px",r.scrollbarFiller.style.width=n.right+"px"):r.scrollbarFiller.style.display="",n.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(r.gutterFiller.style.display="block",r.gutterFiller.style.height=n.bottom+"px",r.gutterFiller.style.width=t.gutterWidth+"px"):r.gutterFiller.style.display=""}function x(e,t,r){var n=r&&null!=r.top?Math.max(0,r.top):e.scroller.scrollTop;n=Math.floor(n-Be(e));var i=r&&null!=r.bottom?r.bottom:n+e.wrapper.clientHeight,o=Qn(t,n),a=Qn(t,i);if(r&&r.ensure){var l=r.ensure.from.line,s=r.ensure.to.line;o>l?(o=l,a=Qn(t,Jn(Kn(t,l))+e.wrapper.clientHeight)):Math.min(s,t.lastLine())>=a&&(o=Qn(t,Jn(Kn(t,s))-e.wrapper.clientHeight),a=s)}return{from:o,to:Math.max(a,o+1)}}function w(e){var t=e.display,r=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var n=S(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=n+"px",a=0;a=r.viewFrom&&t.visible.to<=r.viewTo&&(null==r.updateLineNumbers||r.updateLineNumbers>=r.viewTo)&&r.renderedView==r.view&&0==_t(e))return!1;k(e)&&(It(e),t.dims=D(e));var i=n.first+n.size,o=Math.max(t.visible.from-e.options.viewportMargin,n.first),a=Math.min(i,t.visible.to+e.options.viewportMargin);r.viewFroma&&r.viewTo-a<20&&(a=Math.min(i,r.viewTo)),zo&&(o=gn(e.doc,o),a=vn(e.doc,a));var l=o!=r.viewFrom||a!=r.viewTo||r.lastWrapHeight!=t.wrapperHeight||r.lastWrapWidth!=t.wrapperWidth;Ht(e,o,a),r.viewOffset=Jn(Kn(e.doc,r.viewFrom)),e.display.mover.style.top=r.viewOffset+"px";var s=_t(e);if(!l&&0==s&&!t.force&&r.renderedView==r.view&&(null==r.updateLineNumbers||r.updateLineNumbers>=r.viewTo))return!1;var c=Bi();return s>4&&(r.lineDiv.style.display="none"),W(e,r.updateLineNumbers,t.dims),s>4&&(r.lineDiv.style.display=""),r.renderedView=r.view,c&&Bi()!=c&&c.offsetHeight&&c.focus(),_i(r.cursorDiv),_i(r.selectionDiv),r.gutters.style.height=0,l&&(r.lastWrapHeight=t.wrapperHeight,r.lastWrapWidth=t.wrapperWidth,Fe(e,400)),r.updateLineNumbers=null,!0}function A(e,t){for(var r=t.force,n=t.viewport,i=!0;;i=!1){if(i&&e.options.lineWrapping&&t.oldDisplayWidth!=Ve(e))r=!0;else if(r=!1,n&&null!=n.top&&(n={top:Math.min(e.doc.height+qe(e.display)-Ge(e),n.top)}),t.visible=x(e.display,e.doc,n),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break;if(!T(e,t))break;N(e);var o=p(e);Pe(e),z(e,o),y(e,o)}t.signal(e,"update",e),(e.display.viewFrom!=e.display.reportedViewFrom||e.display.viewTo!=e.display.reportedViewTo)&&(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function O(e,t){var r=new L(e,t);if(T(e,r)){N(e),A(e,r);var n=p(e);Pe(e),z(e,n),y(e,n),r.finish()}}function z(e,t){e.display.sizer.style.minHeight=t.docHeight+"px";var r=t.docHeight+e.display.barHeight;e.display.heightForcer.style.top=r+"px",e.display.gutters.style.height=Math.max(r+Ue(e),t.clientHeight)+"px"}function N(e){for(var t=e.display,r=t.lineDiv.offsetTop,n=0;npo){var a=o.node.offsetTop+o.node.offsetHeight;i=a-r,r=a}else{var l=o.node.getBoundingClientRect();i=l.bottom-l.top}var s=o.line.height-i;if(2>i&&(i=gt(t)),(s>.001||-.001>s)&&(Yn(o.line,i),P(o.line),o.rest))for(var c=0;c=t&&d.lineNumber;d.changes&&(Oi(d.changes,"gutter")>-1&&(f=!1),I(e,d,c,r)),f&&(_i(d.lineNumber),d.lineNumber.appendChild(document.createTextNode(C(e.options,c)))),l=d.node.nextSibling}else{var h=R(e,d,c,r);a.insertBefore(h,l)}c+=d.size}for(;l;)l=n(l)}function I(e,t,r,n){for(var i=0;ipo&&(e.node.style.zIndex=2)),e.node}function F(e){var t=e.bgClass?e.bgClass+" "+(e.line.bgClass||""):e.line.bgClass;if(t&&(t+=" CodeMirror-linebackground"),e.background)t?e.background.className=t:(e.background.parentNode.removeChild(e.background),e.background=null);else if(t){var r=E(e);e.background=r.insertBefore(Hi("div",null,t),r.firstChild)}}function H(e,t){var r=e.display.externalMeasured;return r&&r.line==t.line?(e.display.externalMeasured=null,t.measure=r.measure,r.built):Wn(e,t)}function _(e,t){var r=t.text.className,n=H(e,t);t.text==t.node&&(t.node=n.pre),t.text.parentNode.replaceChild(n.pre,t.text),t.text=n.pre,n.bgClass!=t.bgClass||n.textClass!=t.textClass?(t.bgClass=n.bgClass,t.textClass=n.textClass,j(t)):r&&(t.text.className=r)}function j(e){F(e),e.line.wrapClass?E(e).className=e.line.wrapClass:e.node!=e.text&&(e.node.className="");var t=e.textClass?e.textClass+" "+(e.line.textClass||""):e.line.textClass;e.text.className=t||""}function B(e,t,r,n){t.gutter&&(t.node.removeChild(t.gutter),t.gutter=null);var i=t.line.gutterMarkers;if(e.options.lineNumbers||i){var o=E(t),a=t.gutter=Hi("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?n.fixedPos:-n.gutterTotalWidth)+"px; width: "+n.gutterTotalWidth+"px");if(e.display.input.setUneditable(a),o.insertBefore(a,t.text),t.line.gutterClass&&(a.className+=" "+t.line.gutterClass),!e.options.lineNumbers||i&&i["CodeMirror-linenumbers"]||(t.lineNumber=a.appendChild(Hi("div",C(e.options,r),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+n.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),i)for(var l=0;l1&&(Do&&Do.join("\n")==t?l=n.ranges.length%Do.length==0&&zi(Do,Ga):a.length==n.ranges.length&&(l=zi(a,function(e){return[e]})));for(var s=n.ranges.length-1;s>=0;s--){var c=n.ranges[s],u=c.from(),d=c.to();c.empty()&&(r&&r>0?u=No(u.line,u.ch-r):e.state.overwrite&&!e.state.pasteIncoming&&(d=No(d.line,Math.min(Kn(o,d.line).text.length,d.ch+Ai(a).length))));var f=e.curOp.updateInput,h={from:u,to:d,text:l?l[s%l.length]:a,origin:i||(e.state.pasteIncoming?"paste":e.state.cutIncoming?"cut":"+input")};if(wr(e.doc,h),bi(e,"inputRead",e,h),t&&!e.state.pasteIncoming&&e.options.electricChars&&e.options.smartIndent&&c.head.ch<100&&(!s||n.ranges[s-1].head.line!=c.head.line)){var p=e.getModeAt(c.head),m=Go(h),g=!1;if(p.electricChars){for(var v=0;v-1){g=Ir(e,m.line,"smart");break}}else p.electricInput&&p.electricInput.test(Kn(o,m.line).text.slice(0,m.ch))&&(g=Ir(e,m.line,"smart"));g&&bi(e,"electricInput",e,m.line)}}Dr(e),e.curOp.updateInput=f,e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=!1}function ee(e){for(var t=[],r=[],n=0;ni?c.map:u[i],a=0;ai?e.line:e.rest[i]),d=o[a]+n;return(0>n||l!=t)&&(d=o[a+(n?1:0)]),No(s,d)}}}var i=e.text.firstChild,o=!1;if(!t||!_a(i,t))return ae(No(Zn(e.line),0),!0);if(t==i&&(o=!0,t=i.childNodes[r],r=0,!t)){var a=e.rest?Ai(e.rest):e.line;return ae(No(Zn(a),a.text.length),o)}var l=3==t.nodeType?t:null,s=t;for(l||1!=t.childNodes.length||3!=t.firstChild.nodeType||(l=t.firstChild,r&&(r=l.nodeValue.length));s.parentNode!=i;)s=s.parentNode;var c=e.measure,u=c.maps,d=n(l,s,r);if(d)return ae(d,o);for(var f=s.nextSibling,h=l?l.nodeValue.length-r:0;f;f=f.nextSibling){if(d=n(f,f.firstChild,0))return ae(No(d.line,d.ch-h),o);h+=f.textContent.length}for(var p=s.previousSibling,h=r;p;p=p.previousSibling){if(d=n(p,p.firstChild,-1))return ae(No(d.line,d.ch+h),o);h+=f.textContent.length}}function ce(e,t,r,n,i){function o(e){return function(t){return t.id==e}}function a(t){if(1==t.nodeType){var r=t.getAttribute("cm-text");if(null!=r)return""==r&&(r=t.textContent.replace(/\u200b/g,"")),void(l+=r);var c,u=t.getAttribute("cm-marker");if(u){var d=e.findMarks(No(n,0),No(i+1,0),o(+u));return void(d.length&&(c=d[0].find())&&(l+=$n(e.doc,c.from,c.to).join("\n")))}if("false"==t.getAttribute("contenteditable"))return;for(var f=0;f=0){var a=Y(o.from(),i.from()),l=X(o.to(),i.to()),s=o.empty()?i.from()==i.head:o.from()==o.head;t>=n&&--t,e.splice(--n,2,new de(s?l:a,s?a:l))}}return new ue(e,t)}function he(e,t){return new ue([new de(e,t||e)],0)}function pe(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function me(e,t){if(t.liner?No(r,Kn(e,r).text.length):ge(t,Kn(e,t.line).text.length)}function ge(e,t){var r=e.ch;return null==r||r>t?No(e.line,t):0>r?No(e.line,0):e}function ve(e,t){return t>=e.first&&t=o.ch:c.to>o.ch))){if(n&&(La(u,"beforeCursorEnter"),u.explicitlyCleared)){if(l.markedSpans){--s;continue}break}if(!u.atomic)continue;var d=u.find(0>a?-1:1);if(0==Po(d,o)&&(d.ch+=a,d.ch<0?d=d.line>e.first?me(e,No(d.line-1)):null:d.ch>l.text.length&&(d=d.linet&&(t=0),t=Math.round(t),n=Math.round(n),l.appendChild(Hi("div",null,"CodeMirror-selected","position: absolute; left: "+e+"px; top: "+t+"px; width: "+(null==r?u-e:r)+"px; height: "+(n-t)+"px"))}function i(t,r,i){function o(r,n){return ut(e,No(t,r),"div",d,n)}var l,s,d=Kn(a,t),f=d.text.length;return Yi(ei(d),r||0,null==i?f:i,function(e,t,a){var d,h,p,m=o(e,"left");if(e==t)d=m,h=p=m.left;else{if(d=o(t-1,"right"),"rtl"==a){var g=m;m=d,d=g}h=m.left,p=d.right}null==r&&0==e&&(h=c),d.top-m.top>3&&(n(h,m.top,null,m.bottom),h=c,m.bottoms.bottom||d.bottom==s.bottom&&d.right>s.right)&&(s=d),c+1>h&&(h=c),n(h,d.top,p-h,d.bottom)}),{start:l,end:s}}var o=e.display,a=e.doc,l=document.createDocumentFragment(),s=Re(e.display),c=s.left,u=Math.max(o.sizerWidth,Ve(e)-o.sizer.offsetLeft)-s.right,d=t.from(),f=t.to();if(d.line==f.line)i(d.line,d.ch,f.ch);else{var h=Kn(a,d.line),p=Kn(a,f.line),m=pn(h)==pn(p),g=i(d.line,d.ch,m?h.text.length+1:null).end,v=i(f.line,m?0:null,f.ch).start;m&&(g.top0?t.blinker=setInterval(function(){t.cursorDiv.style.visibility=(r=!r)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function Fe(e,t){e.doc.mode.startState&&e.doc.frontier=e.display.viewTo)){var r=+new Date+e.options.workTime,n=ta(t.mode,je(e,t.frontier)),i=[];t.iter(t.frontier,Math.min(t.first+t.size,e.display.viewTo+500),function(o){if(t.frontier>=e.display.viewFrom){var a=o.styles,l=zn(e,o,n,!0);o.styles=l.styles;var s=o.styleClasses,c=l.classes;c?o.styleClasses=c:s&&(o.styleClasses=null);for(var u=!a||a.length!=o.styles.length||s!=c&&(!s||!c||s.bgClass!=c.bgClass||s.textClass!=c.textClass),d=0;!u&&dr?(Fe(e,e.options.workDelay),!0):void 0}),i.length&&Tt(e,function(){for(var t=0;ta;--l){if(l<=o.first)return o.first;var s=Kn(o,l-1);if(s.stateAfter&&(!r||l<=o.frontier))return l;var c=Pa(s.text,null,e.options.tabSize);(null==i||n>c)&&(i=l-1,n=c)}return i}function je(e,t,r){var n=e.doc,i=e.display;if(!n.mode.startState)return!0;var o=_e(e,t,r),a=o>n.first&&Kn(n,o-1).stateAfter;return a=a?ta(n.mode,a):ra(n.mode),n.iter(o,t,function(r){Pn(e,r.text,a);var l=o==t-1||o%5==0||o>=i.viewFrom&&o2&&o.push((s.bottom+c.top)/2-r.top)}}o.push(r.bottom-r.top)}}function $e(e,t,r){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var n=0;nr)return{map:e.measure.maps[n],cache:e.measure.caches[n],before:!0}}function Xe(e,t){t=pn(t);var r=Zn(t),n=e.display.externalMeasured=new Nt(e.doc,t,r);n.lineN=r;var i=n.built=Wn(e,n);return n.text=i.pre,ji(e.display.lineMeasure,i.pre),n}function Ye(e,t,r,n){return Je(e,Qe(e,t),r,n)}function Ze(e,t){if(t>=e.display.viewFrom&&t=r.lineN&&tt?(i=0,o=1,a="left"):c>t?(i=t-s,o=i+1):(l==e.length-3||t==c&&e[l+3]>t)&&(o=c-s,i=o-1,t>=c&&(a="right")),null!=i){if(n=e[l+2],s==c&&r==(n.insertLeft?"left":"right")&&(a=r),"left"==r&&0==i)for(;l&&e[l-2]==e[l-3]&&e[l-1].insertLeft;)n=e[(l-=3)+2],a="left";if("right"==r&&i==c-s)for(;lu;u++){for(;l&&Fi(t.line.text.charAt(o.coverStart+l));)--l;for(;o.coverStart+spo&&0==l&&s==o.coverEnd-o.coverStart)i=a.parentNode.getBoundingClientRect();else if(ho&&e.options.lineWrapping){var d=Ia(a,l,s).getClientRects();i=d.length?d["right"==n?d.length-1:0]:Fo}else i=Ia(a,l,s).getBoundingClientRect()||Fo;if(i.left||i.right||0==l)break;s=l,l-=1,c="right"}ho&&11>po&&(i=rt(e.display.measure,i))}else{l>0&&(c=n="right");var d;i=e.options.lineWrapping&&(d=a.getClientRects()).length>1?d["right"==n?d.length-1:0]:a.getBoundingClientRect()}if(ho&&9>po&&!l&&(!i||!i.left&&!i.right)){var f=a.parentNode.getClientRects()[0];i=f?{left:f.left,right:f.left+vt(e.display),top:f.top,
+bottom:f.bottom}:Fo}for(var h=i.top-t.rect.top,p=i.bottom-t.rect.top,m=(h+p)/2,g=t.view.measure.heights,u=0;ur.from?a(e-1):a(e,n)}n=n||Kn(e.doc,t.line),i||(i=Qe(e,n));var s=ei(n),c=t.ch;if(!s)return a(c);var u=oo(s,c),d=l(c,u);return null!=Za&&(d.other=l(c,Za)),d}function ft(e,t){var r=0,t=me(e.doc,t);e.options.lineWrapping||(r=vt(e.display)*t.ch);var n=Kn(e.doc,t.line),i=Jn(n)+Be(e.display);return{left:r,right:r,top:i,bottom:i+n.height}}function ht(e,t,r,n){var i=No(e,t);return i.xRel=n,r&&(i.outside=!0),i}function pt(e,t,r){var n=e.doc;if(r+=e.display.viewOffset,0>r)return ht(n.first,0,!0,-1);var i=Qn(n,r),o=n.first+n.size-1;if(i>o)return ht(n.first+n.size-1,Kn(n,o).text.length,!0,1);0>t&&(t=0);for(var a=Kn(n,i);;){var l=mt(e,a,i,t,r),s=fn(a),c=s&&s.find(0,!0);if(!s||!(l.ch>c.from.ch||l.ch==c.from.ch&&l.xRel>0))return l;i=Zn(a=c.to.line)}}function mt(e,t,r,n,i){function o(n){var i=dt(e,No(r,n),"line",t,c);return l=!0,a>i.bottom?i.left-s:ag)return ht(r,h,v,1);for(;;){if(u?h==f||h==lo(t,f,1):1>=h-f){for(var y=p>n||g-n>=n-p?f:h,b=n-(y==f?p:g);Fi(t.text.charAt(y));)++y;var x=ht(r,y,y==f?m:v,-1>b?-1:b>1?1:0);return x}var w=Math.ceil(d/2),k=f+w;if(u){k=f;for(var C=0;w>C;++C)k=lo(t,k,1)}var S=o(k);S>n?(h=k,g=S,(v=l)&&(g+=1e3),d=w):(f=k,p=S,m=l,d-=w)}}function gt(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==Wo){Wo=Hi("pre");for(var t=0;49>t;++t)Wo.appendChild(document.createTextNode("x")),Wo.appendChild(Hi("br"));Wo.appendChild(document.createTextNode("x"))}ji(e.measure,Wo);var r=Wo.offsetHeight/50;return r>3&&(e.cachedTextHeight=r),_i(e.measure),r||1}function vt(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=Hi("span","xxxxxxxxxx"),r=Hi("pre",[t]);ji(e.measure,r);var n=t.getBoundingClientRect(),i=(n.right-n.left)/10;return i>2&&(e.cachedCharWidth=i),i||10}function yt(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:null,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++_o},Ho?Ho.ops.push(e.curOp):e.curOp.ownsGroup=Ho={ops:[e.curOp],delayedCallbacks:[]}}function bt(e){var t=e.delayedCallbacks,r=0;do{for(;r=r.viewTo)||r.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new L(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function Ct(e){e.updatedDisplay=e.mustUpdate&&T(e.cm,e.update)}function St(e){var t=e.cm,r=t.display;e.updatedDisplay&&N(t),e.barMeasure=p(t),r.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=Ye(t,r.maxLine,r.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(r.scroller.clientWidth,r.sizer.offsetLeft+e.adjustWidthTo+Ue(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,r.sizer.offsetLeft+e.adjustWidthTo-Ve(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=r.input.prepareSelection())}function Lt(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLefto;o=n){var a=new Nt(e.doc,Kn(e.doc,o),o);n=o+a.size,i.push(a)}return i}function Dt(e,t,r,n){null==t&&(t=e.doc.first),null==r&&(r=e.doc.first+e.doc.size),n||(n=0);var i=e.display;if(n&&rt)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)zo&&gn(e.doc,t)i.viewFrom?It(e):(i.viewFrom+=n,i.viewTo+=n);else if(t<=i.viewFrom&&r>=i.viewTo)It(e);else if(t<=i.viewFrom){var o=Ft(e,r,r+n,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=n):It(e)}else if(r>=i.viewTo){var o=Ft(e,t,t,-1);o?(i.view=i.view.slice(0,o.index),i.viewTo=o.lineN):It(e)}else{var a=Ft(e,t,t,-1),l=Ft(e,r,r+n,1);a&&l?(i.view=i.view.slice(0,a.index).concat(Pt(e,a.lineN,l.lineN)).concat(i.view.slice(l.index)),i.viewTo+=n):It(e)}var s=i.externalMeasured;s&&(r=i.lineN&&t=n.viewTo)){var o=n.view[Et(e,t)];if(null!=o.node){var a=o.changes||(o.changes=[]);-1==Oi(a,r)&&a.push(r)}}}function It(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function Et(e,t){if(t>=e.display.viewTo)return null;if(t-=e.display.viewFrom,0>t)return null;for(var r=e.display.view,n=0;nt)return n}function Ft(e,t,r,n){var i,o=Et(e,t),a=e.display.view;if(!zo||r==e.doc.first+e.doc.size)return{index:o,lineN:r};for(var l=0,s=e.display.viewFrom;o>l;l++)s+=a[l].size;if(s!=t){if(n>0){if(o==a.length-1)return null;i=s+a[o].size-t,o++}else i=s-t;t+=i,r+=i}for(;gn(e.doc,r)!=r;){if(o==(0>n?0:a.length-1))return null;r+=n*a[o-(0>n?1:0)].size,o+=n}return{index:o,lineN:r}}function Ht(e,t,r){var n=e.display,i=n.view;0==i.length||t>=n.viewTo||r<=n.viewFrom?(n.view=Pt(e,t,r),n.viewFrom=t):(n.viewFrom>t?n.view=Pt(e,t,n.viewFrom).concat(n.view):n.viewFromr&&(n.view=n.view.slice(0,Et(e,r)))),n.viewTo=r}function _t(e){for(var t=e.display.view,r=0,n=0;n400}var i=e.display;Ca(i.scroller,"mousedown",At(e,Vt)),ho&&11>po?Ca(i.scroller,"dblclick",At(e,function(t){if(!wi(e,t)){var r=Ut(e,t);if(r&&!Yt(e,t)&&!Rt(e.display,t)){xa(t);var n=e.findWordAt(r);xe(e.doc,n.anchor,n.head)}}})):Ca(i.scroller,"dblclick",function(t){wi(e,t)||xa(t)}),Ao||Ca(i.scroller,"contextmenu",function(t){pr(e,t)});var o,a={end:0};Ca(i.scroller,"touchstart",function(e){if(!r(e)){clearTimeout(o);var t=+new Date;i.activeTouch={start:t,moved:!1,prev:t-a.end<=300?a:null},1==e.touches.length&&(i.activeTouch.left=e.touches[0].pageX,i.activeTouch.top=e.touches[0].pageY)}}),Ca(i.scroller,"touchmove",function(){i.activeTouch&&(i.activeTouch.moved=!0)}),Ca(i.scroller,"touchend",function(r){var o=i.activeTouch;if(o&&!Rt(i,r)&&null!=o.left&&!o.moved&&new Date-o.start<300){var a,l=e.coordsChar(i.activeTouch,"page");a=!o.prev||n(o,o.prev)?new de(l,l):!o.prev.prev||n(o,o.prev.prev)?e.findWordAt(l):new de(No(l.line,0),me(e.doc,No(l.line+1,0))),e.setSelection(a.anchor,a.head),e.focus(),xa(r)}t()}),Ca(i.scroller,"touchcancel",t),Ca(i.scroller,"scroll",function(){i.scroller.clientHeight&&(Jt(e,i.scroller.scrollTop),er(e,i.scroller.scrollLeft,!0),La(e,"scroll",e))}),Ca(i.scroller,"mousewheel",function(t){tr(e,t)}),Ca(i.scroller,"DOMMouseScroll",function(t){tr(e,t)}),Ca(i.wrapper,"scroll",function(){i.wrapper.scrollTop=i.wrapper.scrollLeft=0}),i.dragFunctions={simple:function(t){wi(e,t)||ka(t)},start:function(t){Qt(e,t)},drop:At(e,Zt)};var l=i.input.getField();Ca(l,"keyup",function(t){cr.call(e,t)}),Ca(l,"keydown",At(e,lr)),Ca(l,"keypress",At(e,ur)),Ca(l,"focus",Wi(fr,e)),Ca(l,"blur",Wi(hr,e))}function Bt(t,r,n){var i=n&&n!=e.Init;if(!r!=!i){var o=t.display.dragFunctions,a=r?Ca:Sa;a(t.display.scroller,"dragstart",o.start),a(t.display.scroller,"dragenter",o.simple),a(t.display.scroller,"dragover",o.simple),a(t.display.scroller,"drop",o.drop)}}function qt(e){var t=e.display;(t.lastWrapHeight!=t.wrapper.clientHeight||t.lastWrapWidth!=t.wrapper.clientWidth)&&(t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize())}function Rt(e,t){for(var r=vi(t);r!=e.wrapper;r=r.parentNode)if(!r||1==r.nodeType&&"true"==r.getAttribute("cm-ignore-events")||r.parentNode==e.sizer&&r!=e.mover)return!0}function Ut(e,t,r,n){var i=e.display;if(!r&&"true"==vi(t).getAttribute("cm-not-content"))return null;var o,a,l=i.lineSpace.getBoundingClientRect();try{o=t.clientX-l.left,a=t.clientY-l.top}catch(t){return null}var s,c=pt(e,o,a);if(n&&1==c.xRel&&(s=Kn(e.doc,c.line).text).length==c.ch){var u=Pa(s,s.length,e.options.tabSize)-s.length;c=No(c.line,Math.max(0,Math.round((o-Re(e.display).left)/vt(e.display))-u))}return c}function Vt(e){var t=this,r=t.display;if(!(r.activeTouch&&r.input.supportsTouch()||wi(t,e))){if(r.shift=e.shiftKey,Rt(r,e))return void(mo||(r.scroller.draggable=!1,setTimeout(function(){r.scroller.draggable=!0},100)));if(!Yt(t,e)){var n=Ut(t,e);switch(window.focus(),yi(e)){case 1:n?Gt(t,e,n):vi(e)==r.scroller&&xa(e);break;case 2:mo&&(t.state.lastMiddleDown=+new Date),n&&xe(t.doc,n),setTimeout(function(){r.input.focus()},20),xa(e);break;case 3:Ao?pr(t,e):dr(t)}}}}function Gt(e,t,r){ho?setTimeout(Wi(Z,e),0):e.curOp.focus=Bi();var n,i=+new Date;Eo&&Eo.time>i-400&&0==Po(Eo.pos,r)?n="triple":Io&&Io.time>i-400&&0==Po(Io.pos,r)?(n="double",Eo={time:i,pos:r}):(n="single",Io={time:i,pos:r});var o,a=e.doc.sel,l=So?t.metaKey:t.ctrlKey;e.options.dragDrop&&Va&&!Q(e)&&"single"==n&&(o=a.contains(r))>-1&&!a.ranges[o].empty()?Kt(e,t,r,l):$t(e,t,r,n,l)}function Kt(e,t,r,n){var i=e.display,o=+new Date,a=At(e,function(l){mo&&(i.scroller.draggable=!1),e.state.draggingText=!1,Sa(document,"mouseup",a),Sa(i.scroller,"drop",a),Math.abs(t.clientX-l.clientX)+Math.abs(t.clientY-l.clientY)<10&&(xa(l),!n&&+new Date-200=p;p++){var v=Kn(c,p).text,y=Mi(v,s,o);s==h?i.push(new de(No(p,y),No(p,y))):v.length>y&&i.push(new de(No(p,y),No(p,Mi(v,h,o))))}i.length||i.push(new de(r,r)),Me(c,fe(f.ranges.slice(0,d).concat(i),d),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var b=u,x=b.anchor,w=t;if("single"!=n){if("double"==n)var k=e.findWordAt(t);else var k=new de(No(t.line,0),me(c,No(t.line+1,0)));Po(k.anchor,x)>0?(w=k.head,x=Y(b.from(),k.anchor)):(w=k.anchor,x=X(b.to(),k.head))}var i=f.ranges.slice(0);i[d]=new de(me(c,x),w),Me(c,fe(i,d),za)}}function a(t){var r=++y,i=Ut(e,t,!0,"rect"==n);if(i)if(0!=Po(i,g)){e.curOp.focus=Bi(),o(i);var l=x(s,c);(i.line>=l.to||i.linev.bottom?20:0;u&&setTimeout(At(e,function(){y==r&&(s.scroller.scrollTop+=u,a(t))}),50)}}function l(e){y=1/0,xa(e),s.input.focus(),Sa(document,"mousemove",b),Sa(document,"mouseup",w),c.history.lastSelOrigin=null}var s=e.display,c=e.doc;xa(t);var u,d,f=c.sel,h=f.ranges;if(i&&!t.shiftKey?(d=c.sel.contains(r),u=d>-1?h[d]:new de(r,r)):(u=c.sel.primary(),d=c.sel.primIndex),t.altKey)n="rect",i||(u=new de(r,r)),r=Ut(e,t,!0,!0),d=-1;else if("double"==n){var p=e.findWordAt(r);u=e.display.shift||c.extend?be(c,u,p.anchor,p.head):p}else if("triple"==n){var m=new de(No(r.line,0),me(c,No(r.line+1,0)));u=e.display.shift||c.extend?be(c,u,m.anchor,m.head):m}else u=be(c,u,r);i?-1==d?(d=h.length,Me(c,fe(h.concat([u]),d),{scroll:!1,origin:"*mouse"})):h.length>1&&h[d].empty()&&"single"==n&&!t.shiftKey?(Me(c,fe(h.slice(0,d).concat(h.slice(d+1)),0)),f=c.sel):ke(c,d,u,za):(d=0,Me(c,new ue([u],0),za),f=c.sel);var g=r,v=s.wrapper.getBoundingClientRect(),y=0,b=At(e,function(e){yi(e)?a(e):l(e)}),w=At(e,l);Ca(document,"mousemove",b),Ca(document,"mouseup",w)}function Xt(e,t,r,n,i){try{var o=t.clientX,a=t.clientY}catch(t){return!1}if(o>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;n&&xa(t);var l=e.display,s=l.lineDiv.getBoundingClientRect();if(a>s.bottom||!Ci(e,r))return gi(t);a-=s.top-l.viewOffset;for(var c=0;c=o){var d=Qn(e.doc,a),f=e.options.gutters[c];return i(e,r,e,d,f,t),gi(t)}}}function Yt(e,t){return Xt(e,t,"gutterClick",!0,bi)}function Zt(e){var t=this;if(!wi(t,e)&&!Rt(t.display,e)){xa(e),ho&&(jo=+new Date);var r=Ut(t,e,!0),n=e.dataTransfer.files;if(r&&!Q(t))if(n&&n.length&&window.FileReader&&window.File)for(var i=n.length,o=Array(i),a=0,l=function(e,n){var l=new FileReader;l.onload=At(t,function(){if(o[n]=l.result,++a==i){r=me(t.doc,r);var e={from:r,to:r,text:Ga(o.join("\n")),origin:"paste"};wr(t.doc,e),Le(t.doc,he(r,Go(e)))}}),l.readAsText(e)},s=0;i>s;++s)l(n[s],s);else{if(t.state.draggingText&&t.doc.sel.contains(r)>-1)return t.state.draggingText(e),void setTimeout(function(){t.display.input.focus()},20);try{var o=e.dataTransfer.getData("Text");if(o){if(t.state.draggingText&&!(So?e.altKey:e.ctrlKey))var c=t.listSelections();if(Te(t.doc,he(r,r)),c)for(var s=0;sa.clientWidth||i&&a.scrollHeight>a.clientHeight){if(i&&So&&mo)e:for(var l=t.target,s=o.view;l!=a;l=l.parentNode)for(var c=0;cu?d=Math.max(0,d+u-50):f=Math.min(e.doc.height,f+u+50),O(e,{top:d,bottom:f})}20>Bo&&(null==o.wheelStartX?(o.wheelStartX=a.scrollLeft,o.wheelStartY=a.scrollTop,o.wheelDX=n,o.wheelDY=i,setTimeout(function(){if(null!=o.wheelStartX){var e=a.scrollLeft-o.wheelStartX,t=a.scrollTop-o.wheelStartY,r=t&&o.wheelDY&&t/o.wheelDY||e&&o.wheelDX&&e/o.wheelDX;o.wheelStartX=o.wheelStartY=null,r&&(qo=(qo*Bo+r)/(Bo+1),++Bo)}},200)):(o.wheelDX+=n,o.wheelDY+=i))}}function rr(e,t,r){if("string"==typeof t&&(t=na[t],!t))return!1;e.display.input.ensurePolled();var n=e.display.shift,i=!1;try{Q(e)&&(e.state.suppressEdits=!0),r&&(e.display.shift=!1),i=t(e)!=Aa}finally{e.display.shift=n,e.state.suppressEdits=!1}return i}function nr(e,t,r){for(var n=0;npo&&27==e.keyCode&&(e.returnValue=!1);var r=e.keyCode;t.display.shift=16==r||e.shiftKey;var n=or(t,e);yo&&(Vo=n?r:null,!n&&88==r&&!$a&&(So?e.metaKey:e.ctrlKey)&&t.replaceSelection("",null,"cut")),18!=r||/\bCodeMirror-crosshair\b/.test(t.display.lineDiv.className)||sr(t)}}function sr(e){function t(e){18!=e.keyCode&&e.altKey||(qa(r,"CodeMirror-crosshair"),Sa(document,"keyup",t),Sa(document,"mouseover",t))}var r=e.display.lineDiv;Ra(r,"CodeMirror-crosshair"),Ca(document,"keyup",t),Ca(document,"mouseover",t)}function cr(e){16==e.keyCode&&(this.doc.sel.shift=!1),wi(this,e)}function ur(e){var t=this;if(!(Rt(t.display,e)||wi(t,e)||e.ctrlKey&&!e.altKey||So&&e.metaKey)){var r=e.keyCode,n=e.charCode;if(yo&&r==Vo)return Vo=null,void xa(e);if(!yo||e.which&&!(e.which<10)||!or(t,e)){var i=String.fromCharCode(null==n?r:n);ar(t,e,i)||t.display.input.onKeyPress(e)}}}function dr(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,hr(e))},100)}function fr(e){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(La(e,"focus",e),e.state.focused=!0,Ra(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),mo&&setTimeout(function(){e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),Ee(e))}function hr(e){e.state.delayingBlurEvent||(e.state.focused&&(La(e,"blur",e),e.state.focused=!1,qa(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function pr(e,t){Rt(e.display,t)||mr(e,t)||e.display.input.onContextMenu(t)}function mr(e,t){return Ci(e,"gutterContextMenu")?Xt(e,t,"gutterContextMenu",!1,La):!1}function gr(e,t){if(Po(e,t.from)<0)return e;if(Po(e,t.to)<=0)return Go(t);var r=e.line+t.text.length-(t.to.line-t.from.line)-1,n=e.ch;return e.line==t.to.line&&(n+=Go(t).ch-t.to.ch),No(r,n)}function vr(e,t){for(var r=[],n=0;n=0;--i)kr(e,{from:n[i].from,to:n[i].to,text:i?[""]:t.text});else kr(e,t)}}function kr(e,t){if(1!=t.text.length||""!=t.text[0]||0!=Po(t.from,t.to)){var r=vr(e,t);oi(e,t,r,e.cm?e.cm.curOp.id:0/0),Lr(e,t,r,en(e,t));var n=[];Vn(e,function(e,r){r||-1!=Oi(n,e.history)||(mi(e.history,t),n.push(e.history)),Lr(e,t,null,en(e,t))})}}function Cr(e,t,r){if(!e.cm||!e.cm.state.suppressEdits){for(var n,i=e.history,o=e.sel,a="undo"==t?i.done:i.undone,l="undo"==t?i.undone:i.done,s=0;s=0;--s){var d=n.changes[s];if(d.origin=t,u&&!xr(e,d,!1))return void(a.length=0);c.push(ri(e,d));var f=s?vr(e,d):Ai(a);Lr(e,d,f,rn(e,d)),!s&&e.cm&&e.cm.scrollIntoView({from:d.from,to:Go(d)});var h=[];Vn(e,function(e,t){t||-1!=Oi(h,e.history)||(mi(e.history,d),h.push(e.history)),Lr(e,d,null,rn(e,d))})}}}}function Sr(e,t){if(0!=t&&(e.first+=t,e.sel=new ue(zi(e.sel.ranges,function(e){return new de(No(e.anchor.line+t,e.anchor.ch),No(e.head.line+t,e.head.ch))}),e.sel.primIndex),e.cm)){Dt(e.cm,e.first,e.first-t,t);for(var r=e.cm.display,n=r.viewFrom;ne.lastLine())){if(t.from.lineo&&(t={from:t.from,to:No(o,Kn(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=$n(e,t.from,t.to),r||(r=vr(e,t)),e.cm?Mr(e.cm,t,n):qn(e,t,n),Te(e,r,Oa)}}function Mr(e,t,r){var n=e.doc,i=e.display,a=t.from,l=t.to,s=!1,c=a.line;e.options.lineWrapping||(c=Zn(pn(Kn(n,a.line))),n.iter(c,l.line+1,function(e){return e==i.maxLine?(s=!0,!0):void 0})),n.sel.contains(t.from,t.to)>-1&&ki(e),qn(n,t,r,o(e)),e.options.lineWrapping||(n.iter(c,a.line+t.text.length,function(e){var t=d(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,s=!1)}),s&&(e.curOp.updateMaxLine=!0)),n.frontier=Math.min(n.frontier,a.line),Fe(e,400);var u=t.text.length-(l.line-a.line)-1;t.full?Dt(e):a.line!=l.line||1!=t.text.length||Bn(e.doc,t)?Dt(e,a.line,l.line+1,u):Wt(e,a.line,"text");var f=Ci(e,"changes"),h=Ci(e,"change");if(h||f){var p={from:a,to:l,text:t.text,removed:t.removed,origin:t.origin};h&&bi(e,"change",e,p),f&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(p)}e.display.selForContextMenu=null}function Tr(e,t,r,n,i){if(n||(n=r),Po(n,r)<0){var o=n;n=r,r=o}"string"==typeof t&&(t=Ga(t)),wr(e,{from:r,to:n,text:t,origin:i})}function Ar(e,t){if(!wi(e,"scrollCursorIntoView")){var r=e.display,n=r.sizer.getBoundingClientRect(),i=null;if(t.top+n.top<0?i=!0:t.bottom+n.top>(window.innerHeight||document.documentElement.clientHeight)&&(i=!1),null!=i&&!wo){var o=Hi("div","",null,"position: absolute; top: "+(t.top-r.viewOffset-Be(e.display))+"px; height: "+(t.bottom-t.top+Ue(e)+r.barHeight)+"px; left: "+t.left+"px; width: 2px;");e.display.lineSpace.appendChild(o),o.scrollIntoView(i),e.display.lineSpace.removeChild(o)}}}function Or(e,t,r,n){null==n&&(n=0);for(var i=0;5>i;i++){var o=!1,a=dt(e,t),l=r&&r!=t?dt(e,r):a,s=Nr(e,Math.min(a.left,l.left),Math.min(a.top,l.top)-n,Math.max(a.left,l.left),Math.max(a.bottom,l.bottom)+n),c=e.doc.scrollTop,u=e.doc.scrollLeft;if(null!=s.scrollTop&&(Jt(e,s.scrollTop),Math.abs(e.doc.scrollTop-c)>1&&(o=!0)),null!=s.scrollLeft&&(er(e,s.scrollLeft),Math.abs(e.doc.scrollLeft-u)>1&&(o=!0)),!o)break}return a}function zr(e,t,r,n,i){var o=Nr(e,t,r,n,i);null!=o.scrollTop&&Jt(e,o.scrollTop),null!=o.scrollLeft&&er(e,o.scrollLeft)}function Nr(e,t,r,n,i){var o=e.display,a=gt(e.display);0>r&&(r=0);var l=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:o.scroller.scrollTop,s=Ge(e),c={};i-r>s&&(i=r+s);var u=e.doc.height+qe(o),d=a>r,f=i>u-a;if(l>r)c.scrollTop=d?0:r;else if(i>l+s){var h=Math.min(r,(f?u:i)-s);h!=l&&(c.scrollTop=h)}var p=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:o.scroller.scrollLeft,m=Ve(e)-(e.options.fixedGutter?o.gutters.offsetWidth:0),g=n-t>m;return g&&(n=t+m),10>t?c.scrollLeft=0:p>t?c.scrollLeft=Math.max(0,t-(g?0:10)):n>m+p-3&&(c.scrollLeft=n+(g?0:10)-m),c}function Pr(e,t,r){(null!=t||null!=r)&&Wr(e),null!=t&&(e.curOp.scrollLeft=(null==e.curOp.scrollLeft?e.doc.scrollLeft:e.curOp.scrollLeft)+t),null!=r&&(e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+r)}function Dr(e){Wr(e);var t=e.getCursor(),r=t,n=t;e.options.lineWrapping||(r=t.ch?No(t.line,t.ch-1):t,n=No(t.line,t.ch+1)),e.curOp.scrollToPos={from:r,to:n,margin:e.options.cursorScrollMargin,isCursor:!0}}function Wr(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;var r=ft(e,t.from),n=ft(e,t.to),i=Nr(e,Math.min(r.left,n.left),Math.min(r.top,n.top)-t.margin,Math.max(r.right,n.right),Math.max(r.bottom,n.bottom)+t.margin);e.scrollTo(i.scrollLeft,i.scrollTop)}}function Ir(e,t,r,n){var i,o=e.doc;null==r&&(r="add"),"smart"==r&&(o.mode.indent?i=je(e,t):r="prev");var a=e.options.tabSize,l=Kn(o,t),s=Pa(l.text,null,a);l.stateAfter&&(l.stateAfter=null);var c,u=l.text.match(/^\s*/)[0];if(n||/\S/.test(l.text)){if("smart"==r&&(c=o.mode.indent(i,l.text.slice(u.length),l.text),c==Aa||c>150)){if(!n)return;r="prev"}}else c=0,r="not";"prev"==r?c=t>o.first?Pa(Kn(o,t-1).text,null,a):0:"add"==r?c=s+e.options.indentUnit:"subtract"==r?c=s-e.options.indentUnit:"number"==typeof r&&(c=s+r),c=Math.max(0,c);var d="",f=0;if(e.options.indentWithTabs)for(var h=Math.floor(c/a);h;--h)f+=a,d+=" ";if(c>f&&(d+=Ti(c-f)),d!=u)return Tr(o,d,No(t,0),No(t,u.length),"+input"),l.stateAfter=null,!0;for(var h=0;h=0;t--)Tr(e.doc,"",n[t].from,n[t].to,"+delete");Dr(e)})}function Hr(e,t,r,n,i){function o(){var t=l+r;return t=e.first+e.size?d=!1:(l=t,u=Kn(e,t))}function a(e){var t=(i?lo:so)(u,s,r,!0);if(null==t){if(e||!o())return d=!1;s=i?(0>r?eo:Ji)(u):0>r?u.text.length:0}else s=t;return!0}var l=t.line,s=t.ch,c=r,u=Kn(e,l),d=!0;if("char"==n)a();else if("column"==n)a(!0);else if("word"==n||"group"==n)for(var f=null,h="group"==n,p=e.cm&&e.cm.getHelper(t,"wordChars"),m=!0;!(0>r)||a(!m);m=!1){var g=u.text.charAt(s)||"\n",v=Ii(g,p)?"w":h&&"\n"==g?"n":!h||/\s/.test(g)?null:"p";if(!h||m||v||(v="s"),f&&f!=v){0>r&&(r=1,a());break}if(v&&(f=v),
+r>0&&!a(!m))break}var y=Ne(e,No(l,s),c,!0);return d||(y.hitSide=!0),y}function _r(e,t,r,n){var i,o=e.doc,a=t.left;if("page"==n){var l=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight);i=t.top+r*(l-(0>r?1.5:.5)*gt(e.display))}else"line"==n&&(i=r>0?t.bottom+3:t.top-3);for(;;){var s=pt(e,a,i);if(!s.outside)break;if(0>r?0>=i:i>=o.height){s.hitSide=!0;break}i+=5*r}return s}function jr(t,r,n,i){e.defaults[t]=r,n&&($o[t]=i?function(e,t,r){r!=Xo&&n(e,t,r)}:n)}function Br(e){for(var t,r,n,i,o=e.split(/-(?!$)/),e=o[o.length-1],a=0;a0||0==a&&o.clearWhenEmpty!==!1)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=Hi("span",[o.replacedWith],"CodeMirror-widget"),n.handleMouseEvents||o.widgetNode.setAttribute("cm-ignore-events","true"),n.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(hn(e,t.line,t,r,o)||t.line!=r.line&&hn(e,r.line,t,r,o))throw new Error("Inserting collapsed marker partially overlapping an existing one");zo=!0}o.addToHistory&&oi(e,{from:t,to:r,origin:"markText"},e.sel,0/0);var l,s=t.line,c=e.cm;if(e.iter(s,r.line+1,function(e){c&&o.collapsed&&!c.options.lineWrapping&&pn(e)==c.display.maxLine&&(l=!0),o.collapsed&&s!=t.line&&Yn(e,0),Zr(e,new $r(o,s==t.line?t.ch:null,s==r.line?r.ch:null)),++s}),o.collapsed&&e.iter(t.line,r.line+1,function(t){yn(e,t)&&Yn(t,0)}),o.clearOnEnter&&Ca(o,"beforeCursorEnter",function(){o.clear()}),o.readOnly&&(Oo=!0,(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++ca,o.atomic=!0),c){if(l&&(c.curOp.updateMaxLine=!0),o.collapsed)Dt(c,t.line,r.line+1);else if(o.className||o.title||o.startStyle||o.endStyle||o.css)for(var u=t.line;u<=r.line;u++)Wt(c,u,"text");o.atomic&&Oe(c.doc),bi(c,"markerAdded",c,o)}return o}function Ur(e,t,r,n,i){n=Di(n),n.shared=!1;var o=[Rr(e,t,r,n,i)],a=o[0],l=n.widgetNode;return Vn(e,function(e){l&&(n.widgetNode=l.cloneNode(!0)),o.push(Rr(e,me(e,t),me(e,r),n,i));for(var s=0;s=t:o.to>t);(n||(n=[])).push(new $r(a,o.from,s?null:o.to))}}return n}function Jr(e,t,r){if(e)for(var n,i=0;i=t:o.to>t);if(l||o.from==t&&"bookmark"==a.type&&(!r||o.marker.insertLeft)){var s=null==o.from||(a.inclusiveLeft?o.from<=t:o.from0&&l)for(var d=0;dd;++d)p.push(m);p.push(s)}return p}function tn(e){for(var t=0;t0)){var u=[s,1],d=Po(c.from,l.from),f=Po(c.to,l.to);(0>d||!a.inclusiveLeft&&!d)&&u.push({from:c.from,to:l.from}),(f>0||!a.inclusiveRight&&!f)&&u.push({from:l.to,to:c.to}),i.splice.apply(i,u),s+=u.length-1}}return i}function on(e){var t=e.markedSpans;if(t){for(var r=0;r=0&&0>=d||0>=u&&d>=0)&&(0>=u&&(Po(c.to,r)>0||s.marker.inclusiveRight&&i.inclusiveLeft)||u>=0&&(Po(c.from,n)<0||s.marker.inclusiveLeft&&i.inclusiveRight)))return!0}}}function pn(e){for(var t;t=dn(e);)e=t.find(-1,!0).line;return e}function mn(e){for(var t,r;t=fn(e);)e=t.find(1,!0).line,(r||(r=[])).push(e);return r}function gn(e,t){var r=Kn(e,t),n=pn(r);return r==n?t:Zn(n)}function vn(e,t){if(t>e.lastLine())return t;var r,n=Kn(e,t);if(!yn(e,n))return t;for(;r=fn(n);)n=r.find(1,!0).line;return Zn(n)+1}function yn(e,t){var r=zo&&t.markedSpans;if(r)for(var n,i=0;io;o++){i&&(i[0]=e.innerMode(t,n).mode);var a=t.token(r,n);if(r.pos>r.start)return a}throw new Error("Mode "+t.name+" failed to advance stream.")}function An(e,t,r,n){function i(e){return{start:d.start,end:d.pos,string:d.current(),type:o||null,state:e?ta(a.mode,u):u}}var o,a=e.doc,l=a.mode;t=me(a,t);var s,c=Kn(a,t.line),u=je(e,t.line,r),d=new sa(c.text,e.options.tabSize);for(n&&(s=[]);(n||d.pose.options.maxHighlightLength?(l=!1,a&&Pn(e,t,n,d.pos),d.pos=t.length,s=null):s=Ln(Tn(r,d,n,f),o),f){var h=f[0].name;h&&(s="m-"+(s?h+" "+s:h))}if(!l||u!=s){for(;cc;){var n=i[s];n>e&&i.splice(s,1,e,i[s+1],n),s+=2,c=Math.min(e,n)}if(t)if(l.opaque)i.splice(r,s-r,e,"cm-overlay "+t),s=r+2;else for(;s>r;r+=2){var o=i[r+1];i[r+1]=(o?o+" ":"")+"cm-overlay "+t}},o)}return{styles:i,classes:o.bgClass||o.textClass?o:null}}function Nn(e,t,r){if(!t.styles||t.styles[0]!=e.state.modeGen){var n=zn(e,t,t.stateAfter=je(e,Zn(t)));t.styles=n.styles,n.classes?t.styleClasses=n.classes:t.styleClasses&&(t.styleClasses=null),r===e.doc.frontier&&e.doc.frontier++}return t.styles}function Pn(e,t,r,n){var i=e.doc.mode,o=new sa(t,e.options.tabSize);for(o.start=o.pos=n||0,""==t&&Mn(i,r);!o.eol()&&o.pos<=e.options.maxHighlightLength;)Tn(i,o,r),o.start=o.pos}function Dn(e,t){if(!e||/^\s*$/.test(e))return null;var r=t.addModeClass?ma:pa;return r[e]||(r[e]=e.replace(/\S+/g,"cm-$&"))}function Wn(e,t){var r=Hi("span",null,null,mo?"padding-right: .1px":null),n={pre:Hi("pre",[r]),content:r,col:0,pos:0,cm:e,splitSpaces:(ho||mo)&&e.getOption("lineWrapping")};t.measure={};for(var i=0;i<=(t.rest?t.rest.length:0);i++){var o,a=i?t.rest[i-1]:t.line;n.pos=0,n.addToken=En,$i(e.display.measure)&&(o=ei(a))&&(n.addToken=Hn(n.addToken,o)),n.map=[];var l=t!=e.display.externalMeasured&&Zn(a);jn(a,n,Nn(e,a,l)),a.styleClasses&&(a.styleClasses.bgClass&&(n.bgClass=Ri(a.styleClasses.bgClass,n.bgClass||"")),a.styleClasses.textClass&&(n.textClass=Ri(a.styleClasses.textClass,n.textClass||""))),0==n.map.length&&n.map.push(0,0,n.content.appendChild(Ki(e.display.measure))),0==i?(t.measure.map=n.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(n.map),(t.measure.caches||(t.measure.caches=[])).push({}))}return mo&&/\bcm-tab\b/.test(n.content.lastChild.className)&&(n.content.className="cm-tab-wrap-hack"),La(e,"renderLine",e,t.line,n.pre),n.pre.className&&(n.textClass=Ri(n.pre.className,n.textClass||"")),n}function In(e){var t=Hi("span","•","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function En(e,t,r,n,i,o,a){if(t){var l=e.splitSpaces?t.replace(/ {3,}/g,Fn):t,s=e.cm.state.specialChars,c=!1;if(s.test(t))for(var u=document.createDocumentFragment(),d=0;;){s.lastIndex=d;var f=s.exec(t),h=f?f.index-d:t.length-d;if(h){var p=document.createTextNode(l.slice(d,d+h));u.appendChild(ho&&9>po?Hi("span",[p]):p),e.map.push(e.pos,e.pos+h,p),e.col+=h,e.pos+=h}if(!f)break;if(d+=h+1," "==f[0]){var m=e.cm.options.tabSize,g=m-e.col%m,p=u.appendChild(Hi("span",Ti(g),"cm-tab"));p.setAttribute("role","presentation"),p.setAttribute("cm-text"," "),e.col+=g}else{var p=e.cm.options.specialCharPlaceholder(f[0]);p.setAttribute("cm-text",f[0]),u.appendChild(ho&&9>po?Hi("span",[p]):p),e.col+=1}e.map.push(e.pos,e.pos+1,p),e.pos++}else{e.col+=t.length;var u=document.createTextNode(l);e.map.push(e.pos,e.pos+t.length,u),ho&&9>po&&(c=!0),e.pos+=t.length}if(r||n||i||c||a){var v=r||"";n&&(v+=n),i&&(v+=i);var y=Hi("span",[u],v,a);return o&&(y.title=o),e.content.appendChild(y)}e.content.appendChild(u)}}function Fn(e){for(var t=" ",r=0;rc&&f.from<=c)break}if(f.to>=u)return e(r,n,i,o,a,l,s);e(r,n.slice(0,f.to-c),i,o,null,l,s),o=null,n=n.slice(f.to-c),c=f.to}}}function _n(e,t,r,n){var i=!n&&r.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!n&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement("span"))),i.setAttribute("cm-marker",r.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t}function jn(e,t,r){var n=e.markedSpans,i=e.text,o=0;if(n)for(var a,l,s,c,u,d,f,h=i.length,p=0,m=1,g="",v=0;;){if(v==p){s=c=u=d=l="",f=null,v=1/0;for(var y=[],b=0;bp||w.collapsed&&x.to==p&&x.from==p)?(null!=x.to&&x.to!=p&&v>x.to&&(v=x.to,c=""),w.className&&(s+=" "+w.className),w.css&&(l=w.css),w.startStyle&&x.from==p&&(u+=" "+w.startStyle),w.endStyle&&x.to==v&&(c+=" "+w.endStyle),w.title&&!d&&(d=w.title),w.collapsed&&(!f||cn(f.marker,w)<0)&&(f=x)):x.from>p&&v>x.from&&(v=x.from)}if(f&&(f.from||0)==p){if(_n(t,(null==f.to?h+1:f.to)-p,f.marker,null==f.from),null==f.to)return;f.to==p&&(f=!1)}if(!f&&y.length)for(var b=0;b=h)break;for(var k=Math.min(h,v);;){if(g){var C=p+g.length;if(!f){var S=C>k?g.slice(0,k-p):g;t.addToken(t,S,a?a+s:s,u,p+S.length==v?c:"",d,l)}if(C>=k){g=g.slice(k-p),p=k;break}p=C,u=""}g=i.slice(o,o=r[m++]),a=Dn(r[m++],t.cm.options)}}else for(var m=1;mr;++r)o.push(new ha(c[r],i(r),n));return o}var l=t.from,s=t.to,c=t.text,u=Kn(e,l.line),d=Kn(e,s.line),f=Ai(c),h=i(c.length-1),p=s.line-l.line;if(t.full)e.insert(0,a(0,c.length)),e.remove(c.length,e.size-c.length);else if(Bn(e,t)){var m=a(0,c.length-1);o(d,d.text,h),p&&e.remove(l.line,p),m.length&&e.insert(l.line,m)}else if(u==d)if(1==c.length)o(u,u.text.slice(0,l.ch)+f+u.text.slice(s.ch),h);else{var m=a(1,c.length-1);m.push(new ha(f+u.text.slice(s.ch),h,n)),o(u,u.text.slice(0,l.ch)+c[0],i(0)),e.insert(l.line+1,m)}else if(1==c.length)o(u,u.text.slice(0,l.ch)+c[0]+d.text.slice(s.ch),i(0)),e.remove(l.line+1,p);else{o(u,u.text.slice(0,l.ch)+c[0],i(0)),o(d,f+d.text.slice(s.ch),h);var m=a(1,c.length-1);p>1&&e.remove(l.line+1,p-1),e.insert(l.line+1,m)}bi(e,"change",e,t)}function Rn(e){this.lines=e,this.parent=null;for(var t=0,r=0;tt||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var r=e;!r.lines;)for(var n=0;;++n){var i=r.children[n],o=i.chunkSize();if(o>t){r=i;break}t-=o}return r.lines[t]}function $n(e,t,r){var n=[],i=t.line;return e.iter(t.line,r.line+1,function(e){var o=e.text;i==r.line&&(o=o.slice(0,r.ch)),i==t.line&&(o=o.slice(t.ch)),n.push(o),++i}),n}function Xn(e,t,r){var n=[];return e.iter(t,r,function(e){n.push(e.text)}),n}function Yn(e,t){var r=t-e.height;if(r)for(var n=e;n;n=n.parent)n.height+=r}function Zn(e){if(null==e.parent)return null;for(var t=e.parent,r=Oi(t.lines,e),n=t.parent;n;t=n,n=n.parent)for(var i=0;n.children[i]!=t;++i)r+=n.children[i].chunkSize();return r+t.first}function Qn(e,t){var r=e.first;e:do{for(var n=0;nt){e=i;continue e}t-=o,r+=i.chunkSize()}return r}while(!e.lines);for(var n=0;nt)break;t-=l}return r+n}function Jn(e){e=pn(e);for(var t=0,r=e.parent,n=0;n1&&!e.done[e.done.length-2].ranges?(e.done.pop(),Ai(e.done)):void 0}function oi(e,t,r,n){if("ignoreHistory"!=t.origin){var i=e.history;i.undone.length=0;var o,a=+new Date;if((i.lastOp==n||i.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&e.cm&&i.lastModTime>a-e.cm.options.historyEventDelay||"*"==t.origin.charAt(0)))&&(o=ii(i,i.lastOp==n))){var l=Ai(o.changes);0==Po(t.from,t.to)&&0==Po(t.from,l.to)?l.to=Go(t):o.changes.push(ri(e,t))}else{var s=Ai(i.done);for(s&&s.ranges||si(e.sel,i.done),o={changes:[ri(e,t)],generation:i.generation},i.done.push(o);i.done.length>i.undoDepth;)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(r),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=a,i.lastOp=i.lastSelOp=n,i.lastOrigin=i.lastSelOrigin=t.origin,l||La(e,"historyAdded")}}function ai(e,t,r,n){var i=t.charAt(0);return"*"==i||"+"==i&&r.ranges.length==n.ranges.length&&r.somethingSelected()==n.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function li(e,t,r,n){var i=e.history,o=n&&n.origin;r==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||ai(e,o,Ai(i.done),t))?i.done[i.done.length-1]=t:si(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=r,n&&n.clearRedo!==!1&&ni(i.undone)}function si(e,t){var r=Ai(t);r&&r.ranges&&r.equals(e)||t.push(e)}function ci(e,t,r,n){var i=t["spans_"+e.id],o=0;e.iter(Math.max(e.first,r),Math.min(e.first+e.size,n),function(r){r.markedSpans&&((i||(i=t["spans_"+e.id]={}))[o]=r.markedSpans),++o})}function ui(e){if(!e)return null;for(var t,r=0;r-1&&(Ai(l)[d]=u[d],delete u[d])}}}return i}function hi(e,t,r,n){r0}function Si(e){e.prototype.on=function(e,t){Ca(this,e,t)},e.prototype.off=function(e,t){Sa(this,e,t)}}function Li(){this.id=null}function Mi(e,t,r){for(var n=0,i=0;;){var o=e.indexOf(" ",n);-1==o&&(o=e.length);var a=o-n;if(o==e.length||i+a>=t)return n+Math.min(a,t-i);if(i+=o-n,i+=r-i%r,n=o+1,i>=t)return n}}function Ti(e){for(;Da.length<=e;)Da.push(Ai(Da)+" ");return Da[e]}function Ai(e){return e[e.length-1]}function Oi(e,t){for(var r=0;r-1&&Fa(e)?!0:t.test(e):Fa(e)}function Ei(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}function Fi(e){return e.charCodeAt(0)>=768&&Ha.test(e)}function Hi(e,t,r,n){var i=document.createElement(e);if(r&&(i.className=r),n&&(i.style.cssText=n),"string"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o0;--t)e.removeChild(e.firstChild);return e}function ji(e,t){return _i(e).appendChild(t)}function Bi(){return document.activeElement}function qi(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}function Ri(e,t){for(var r=e.split(" "),n=0;n2&&!(ho&&8>po))}var r=ja?Hi("span",""):Hi("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return r.setAttribute("cm-text",""),r}function $i(e){if(null!=Ba)return Ba;var t=ji(e,document.createTextNode("AخA")),r=Ia(t,0,1).getBoundingClientRect();if(!r||r.left==r.right)return!1;var n=Ia(t,1,2).getBoundingClientRect();return Ba=n.right-r.right<3}function Xi(e){if(null!=Xa)return Xa;var t=ji(e,Hi("span","x")),r=t.getBoundingClientRect(),n=Ia(t,0,1).getBoundingClientRect();return Xa=Math.abs(r.left-n.left)>1}function Yi(e,t,r,n){if(!e)return n(t,r,"ltr");for(var i=!1,o=0;ot||t==r&&a.to==t)&&(n(Math.max(a.from,t),Math.min(a.to,r),1==a.level?"rtl":"ltr"),i=!0)}i||n(t,r,"ltr")}function Zi(e){return e.level%2?e.to:e.from}function Qi(e){return e.level%2?e.from:e.to}function Ji(e){var t=ei(e);return t?Zi(t[0]):0}function eo(e){var t=ei(e);return t?Qi(Ai(t)):e.text.length}function to(e,t){var r=Kn(e.doc,t),n=pn(r);n!=r&&(t=Zn(n));var i=ei(n),o=i?i[0].level%2?eo(n):Ji(n):0;return No(t,o)}function ro(e,t){for(var r,n=Kn(e.doc,t);r=fn(n);)n=r.find(1,!0).line,t=null;var i=ei(n),o=i?i[0].level%2?Ji(n):eo(n):n.text.length;return No(null==t?Zn(n):t,o)}function no(e,t){var r=to(e,t.line),n=Kn(e.doc,r.line),i=ei(n);if(!i||0==i[0].level){var o=Math.max(0,n.text.search(/\S/)),a=t.line==r.line&&t.ch<=o&&t.ch;return No(r.line,a?0:o)}return r}function io(e,t,r){var n=e[0].level;return t==n?!0:r==n?!1:r>t}function oo(e,t){Za=null;for(var r,n=0;nt)return n;if(i.from==t||i.to==t){if(null!=r)return io(e,i.level,e[r].level)?(i.from!=i.to&&(Za=r),n):(i.from!=i.to&&(Za=n),r);r=n}}return r}function ao(e,t,r,n){if(!n)return t+r;do t+=r;while(t>0&&Fi(e.text.charAt(t)));return t}function lo(e,t,r,n){var i=ei(e);if(!i)return so(e,t,r,n);for(var o=oo(i,t),a=i[o],l=ao(e,t,a.level%2?-r:r,n);;){if(l>a.from&&l0==a.level%2?a.to:a.from);if(a=i[o+=r],!a)return null;l=r>0==a.level%2?ao(e,a.to,-1,n):ao(e,a.from,1,n)}}function so(e,t,r,n){var i=t+r;if(n)for(;i>0&&Fi(e.text.charAt(i));)i+=r;return 0>i||i>e.text.length?null:i}var co=/gecko\/\d/i.test(navigator.userAgent),uo=/MSIE \d/.test(navigator.userAgent),fo=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),ho=uo||fo,po=ho&&(uo?document.documentMode||6:fo[1]),mo=/WebKit\//.test(navigator.userAgent),go=mo&&/Qt\/\d+\.\d+/.test(navigator.userAgent),vo=/Chrome\//.test(navigator.userAgent),yo=/Opera\//.test(navigator.userAgent),bo=/Apple Computer/.test(navigator.vendor),xo=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(navigator.userAgent),wo=/PhantomJS/.test(navigator.userAgent),ko=/AppleWebKit/.test(navigator.userAgent)&&/Mobile\/\w+/.test(navigator.userAgent),Co=ko||/Android|webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(navigator.userAgent),So=ko||/Mac/.test(navigator.platform),Lo=/win/i.test(navigator.platform),Mo=yo&&navigator.userAgent.match(/Version\/(\d*\.\d*)/);Mo&&(Mo=Number(Mo[1])),Mo&&Mo>=15&&(yo=!1,mo=!0);var To=So&&(go||yo&&(null==Mo||12.11>Mo)),Ao=co||ho&&po>=9,Oo=!1,zo=!1;m.prototype=Di({update:function(e){var t=e.scrollWidth>e.clientWidth+1,r=e.scrollHeight>e.clientHeight+1,n=e.nativeBarWidth;if(r){this.vert.style.display="block",this.vert.style.bottom=t?n+"px":"0";var i=e.viewHeight-(t?n:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=r?n+"px":"0",this.horiz.style.left=e.barLeft+"px";var o=e.viewWidth-e.barLeft-(r?n:0);this.horiz.firstChild.style.width=e.scrollWidth-e.clientWidth+o+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedOverlay&&e.clientHeight>0&&(0==n&&this.overlayHack(),this.checkedOverlay=!0),{right:r?n:0,bottom:t?n:0}},setScrollLeft:function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e)},setScrollTop:function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e)},overlayHack:function(){var e=So&&!xo?"12px":"18px";this.horiz.style.minHeight=this.vert.style.minWidth=e;var t=this,r=function(e){vi(e)!=t.vert&&vi(e)!=t.horiz&&At(t.cm,Vt)(e)};Ca(this.vert,"mousedown",r),Ca(this.horiz,"mousedown",r)},clear:function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)}},m.prototype),g.prototype=Di({update:function(){return{bottom:0,right:0}},setScrollLeft:function(){},setScrollTop:function(){},clear:function(){}},g.prototype),e.scrollbarModel={"native":m,"null":g},L.prototype.signal=function(e,t){Ci(e,t)&&this.events.push(arguments)},L.prototype.finish=function(){for(var e=0;e=9&&r.hasSelection&&(r.hasSelection=null),r.poll()}),Ca(o,"paste",function(){if(mo&&!n.state.fakedLastChar&&!(new Date-n.state.lastMiddleDown<200)){var e=o.selectionStart,t=o.selectionEnd;o.value+="$",o.selectionEnd=t,o.selectionStart=e,n.state.fakedLastChar=!0}n.state.pasteIncoming=!0,r.fastPoll()}),Ca(o,"cut",t),Ca(o,"copy",t),Ca(e.scroller,"paste",function(t){Rt(e,t)||(n.state.pasteIncoming=!0,r.focus())}),Ca(e.lineSpace,"selectstart",function(t){Rt(e,t)||xa(t)}),Ca(o,"compositionstart",function(){var e=n.getCursor("from");r.composing={start:e,range:n.markText(e,n.getCursor("to"),{className:"CodeMirror-composing"})}}),Ca(o,"compositionend",function(){r.composing&&(r.poll(),r.composing.range.clear(),r.composing=null)})},prepareSelection:function(){var e=this.cm,t=e.display,r=e.doc,n=De(e);if(e.options.moveInputWithCursor){var i=dt(e,r.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();n.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+a.top-o.top)),n.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+a.left-o.left))}return n},showSelection:function(e){var t=this.cm,r=t.display;ji(r.cursorDiv,e.cursors),ji(r.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},reset:function(e){if(!this.contextMenuPending){var t,r,n=this.cm,i=n.doc;if(n.somethingSelected()){this.prevInput="";var o=i.sel.primary();t=$a&&(o.to().line-o.from().line>100||(r=n.getSelection()).length>1e3);var a=t?"-":r||n.getSelection();this.textarea.value=a,n.state.focused&&Wa(this.textarea),ho&&po>=9&&(this.hasSelection=a)}else e||(this.prevInput=this.textarea.value="",ho&&po>=9&&(this.hasSelection=null));this.inaccurateSelection=t;
+
+}},getField:function(){return this.textarea},supportsTouch:function(){return!1},focus:function(){if("nocursor"!=this.cm.options.readOnly&&(!Co||Bi()!=this.textarea))try{this.textarea.focus()}catch(e){}},blur:function(){this.textarea.blur()},resetPosition:function(){this.wrapper.style.top=this.wrapper.style.left=0},receivedFocus:function(){this.slowPoll()},slowPoll:function(){var e=this;e.pollingFast||e.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},fastPoll:function(){function e(){var n=r.poll();n||t?(r.pollingFast=!1,r.slowPoll()):(t=!0,r.polling.set(60,e))}var t=!1,r=this;r.pollingFast=!0,r.polling.set(20,e)},poll:function(){var e=this.cm,t=this.textarea,r=this.prevInput;if(!e.state.focused||Ka(t)&&!r||Q(e)||e.options.disableInput||e.state.keySeq)return!1;e.state.pasteIncoming&&e.state.fakedLastChar&&(t.value=t.value.substring(0,t.value.length-1),e.state.fakedLastChar=!1);var n=t.value;if(n==r&&!e.somethingSelected())return!1;if(ho&&po>=9&&this.hasSelection===n||So&&/[\uf700-\uf7ff]/.test(n))return e.display.input.reset(),!1;if(e.doc.sel==e.display.selForContextMenu){var i=n.charCodeAt(0);if(8203!=i||r||(r=""),8666==i)return this.reset(),this.cm.execCommand("undo")}for(var o=0,a=Math.min(r.length,n.length);a>o&&r.charCodeAt(o)==n.charCodeAt(o);)++o;var l=this;return Tt(e,function(){J(e,n.slice(o),r.length-o,null,l.composing?"*compose":null),n.length>1e3||n.indexOf("\n")>-1?t.value=l.prevInput="":l.prevInput=n,l.composing&&(l.composing.range.clear(),l.composing.range=e.markText(l.composing.start,e.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},ensurePolled:function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},onKeyPress:function(){ho&&po>=9&&(this.hasSelection=null),this.fastPoll()},onContextMenu:function(e){function t(){if(null!=a.selectionStart){var e=i.somethingSelected(),t=""+(e?a.value:"");a.value="⇚",a.value=t,n.prevInput=e?"":"",a.selectionStart=1,a.selectionEnd=t.length,o.selForContextMenu=i.doc.sel}}function r(){if(n.contextMenuPending=!1,n.wrapper.style.position="relative",a.style.cssText=u,ho&&9>po&&o.scrollbars.setScrollTop(o.scroller.scrollTop=s),null!=a.selectionStart){(!ho||ho&&9>po)&&t();var e=0,r=function(){o.selForContextMenu==i.doc.sel&&0==a.selectionStart&&a.selectionEnd>0&&""==n.prevInput?At(i,na.selectAll)(i):e++<10?o.detectingSelectAll=setTimeout(r,500):o.input.reset()};o.detectingSelectAll=setTimeout(r,200)}}var n=this,i=n.cm,o=i.display,a=n.textarea,l=Ut(i,e),s=o.scroller.scrollTop;if(l&&!yo){var c=i.options.resetSelectionOnContextMenu;c&&-1==i.doc.sel.contains(l)&&At(i,Me)(i.doc,he(l),Oa);var u=a.style.cssText;if(n.wrapper.style.position="absolute",a.style.cssText="position: fixed; width: 30px; height: 30px; top: "+(e.clientY-5)+"px; left: "+(e.clientX-5)+"px; z-index: 1000; background: "+(ho?"rgba(255, 255, 255, .05)":"transparent")+"; outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",mo)var d=window.scrollY;if(o.input.focus(),mo&&window.scrollTo(null,d),o.input.reset(),i.somethingSelected()||(a.value=n.prevInput=" "),n.contextMenuPending=!0,o.selForContextMenu=i.doc.sel,clearTimeout(o.detectingSelectAll),ho&&po>=9&&t(),Ao){ka(e);var f=function(){Sa(window,"mouseup",f),setTimeout(r,20)};Ca(window,"mouseup",f)}else setTimeout(r,50)}},setUneditable:Ni,needsContentAttribute:!1},re.prototype),ie.prototype=Di({init:function(e){function t(e){if(n.somethingSelected())Do=n.getSelections(),"cut"==e.type&&n.replaceSelection("",null,"cut");else{if(!n.options.lineWiseCopyCut)return;var t=ee(n);Do=t.text,"cut"==e.type&&n.operation(function(){n.setSelections(t.ranges,0,Oa),n.replaceSelection("",null,"cut")})}if(e.clipboardData&&!ko)e.preventDefault(),e.clipboardData.clearData(),e.clipboardData.setData("text/plain",Do.join("\n"));else{var r=ne(),i=r.firstChild;n.display.lineSpace.insertBefore(r,n.display.lineSpace.firstChild),i.value=Do.join("\n");var o=document.activeElement;Wa(i),setTimeout(function(){n.display.lineSpace.removeChild(r),o.focus()},50)}}var r=this,n=r.cm,i=r.div=e.lineDiv;i.contentEditable="true",te(i),Ca(i,"paste",function(e){var t=e.clipboardData&&e.clipboardData.getData("text/plain");t&&(e.preventDefault(),n.replaceSelection(t,null,"paste"))}),Ca(i,"compositionstart",function(e){var t=e.data;if(r.composing={sel:n.doc.sel,data:t,startData:t},t){var i=n.doc.sel.primary(),o=n.getLine(i.head.line),a=o.indexOf(t,Math.max(0,i.head.ch-t.length));a>-1&&a<=i.head.ch&&(r.composing.sel=he(No(i.head.line,a),No(i.head.line,a+t.length)))}}),Ca(i,"compositionupdate",function(e){r.composing.data=e.data}),Ca(i,"compositionend",function(e){var t=r.composing;t&&(e.data==t.startData||/\u200b/.test(e.data)||(t.data=e.data),setTimeout(function(){t.handled||r.applyComposition(t),r.composing==t&&(r.composing=null)},50))}),Ca(i,"touchstart",function(){r.forceCompositionEnd()}),Ca(i,"input",function(){r.composing||r.pollContent()||Tt(r.cm,function(){Dt(n)})}),Ca(i,"copy",t),Ca(i,"cut",t)},prepareSelection:function(){var e=De(this.cm,!1);return e.focus=this.cm.state.focused,e},showSelection:function(e){e&&this.cm.display.view.length&&(e.focus&&this.showPrimarySelection(),this.showMultipleSelections(e))},showPrimarySelection:function(){var e=window.getSelection(),t=this.cm.doc.sel.primary(),r=le(this.cm,e.anchorNode,e.anchorOffset),n=le(this.cm,e.focusNode,e.focusOffset);if(!r||r.bad||!n||n.bad||0!=Po(Y(r,n),t.from())||0!=Po(X(r,n),t.to())){var i=oe(this.cm,t.from()),o=oe(this.cm,t.to());if(i||o){var a=this.cm.display.view,l=e.rangeCount&&e.getRangeAt(0);if(i){if(!o){var s=a[a.length-1].measure,c=s.maps?s.maps[s.maps.length-1]:s.map;o={node:c[c.length-1],offset:c[c.length-2]-c[c.length-3]}}}else i={node:a[0].measure.map[2],offset:0};try{var u=Ia(i.node,i.offset,o.offset,o.node)}catch(d){}u&&(e.removeAllRanges(),e.addRange(u),l&&null==e.anchorNode?e.addRange(l):co&&this.startGracePeriod()),this.rememberSelection()}}},startGracePeriod:function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation(function(){e.cm.curOp.selectionChanged=!0})},20)},showMultipleSelections:function(e){ji(this.cm.display.cursorDiv,e.cursors),ji(this.cm.display.selectionDiv,e.selection)},rememberSelection:function(){var e=window.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},selectionInEditor:function(){var e=window.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return _a(this.div,t)},focus:function(){"nocursor"!=this.cm.options.readOnly&&this.div.focus()},blur:function(){this.div.blur()},getField:function(){return this.div},supportsTouch:function(){return!0},receivedFocus:function(){function e(){t.cm.state.focused&&(t.pollSelection(),t.polling.set(t.cm.options.pollInterval,e))}var t=this;this.selectionInEditor()?this.pollSelection():Tt(this.cm,function(){t.cm.curOp.selectionChanged=!0}),this.polling.set(this.cm.options.pollInterval,e)},selectionChanged:function(){var e=window.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},pollSelection:function(){if(!this.composing&&!this.gracePeriod&&this.selectionChanged()){var e=window.getSelection(),t=this.cm;this.rememberSelection();var r=le(t,e.anchorNode,e.anchorOffset),n=le(t,e.focusNode,e.focusOffset);r&&n&&Tt(t,function(){Me(t.doc,he(r,n),Oa),(r.bad||n.bad)&&(t.curOp.selectionChanged=!0)})}},pollContent:function(){var e=this.cm,t=e.display,r=e.doc.sel.primary(),n=r.from(),i=r.to();if(n.linet.viewTo-1)return!1;var o;if(n.line==t.viewFrom||0==(o=Et(e,n.line)))var a=Zn(t.view[0].line),l=t.view[0].node;else var a=Zn(t.view[o].line),l=t.view[o-1].node.nextSibling;var s=Et(e,i.line);if(s==t.view.length-1)var c=t.viewTo-1,u=t.view[s].node;else var c=Zn(t.view[s+1].line)-1,u=t.view[s+1].node.previousSibling;for(var d=Ga(ce(e,l,u,a,c)),f=$n(e.doc,No(a,0),No(c,Kn(e.doc,c).text.length));d.length>1&&f.length>1;)if(Ai(d)==Ai(f))d.pop(),f.pop(),c--;else{if(d[0]!=f[0])break;d.shift(),f.shift(),a++}for(var h=0,p=0,m=d[0],g=f[0],v=Math.min(m.length,g.length);v>h&&m.charCodeAt(h)==g.charCodeAt(h);)++h;for(var y=Ai(d),b=Ai(f),x=Math.min(y.length-(1==d.length?h:0),b.length-(1==f.length?h:0));x>p&&y.charCodeAt(y.length-p-1)==b.charCodeAt(b.length-p-1);)++p;d[d.length-1]=y.slice(0,y.length-p),d[0]=d[0].slice(h);var w=No(a,h),k=No(c,f.length?Ai(f).length-p:0);return d.length>1||d[0]||Po(w,k)?(Tr(e.doc,d,w,k,"+input"),!0):void 0},ensurePolled:function(){this.forceCompositionEnd()},reset:function(){this.forceCompositionEnd()},forceCompositionEnd:function(){this.composing&&!this.composing.handled&&(this.applyComposition(this.composing),this.composing.handled=!0,this.div.blur(),this.div.focus())},applyComposition:function(e){e.data&&e.data!=e.startData&&At(this.cm,J)(this.cm,e.data,0,e.sel)},setUneditable:function(e){e.setAttribute("contenteditable","false")},onKeyPress:function(e){e.preventDefault(),At(this.cm,J)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0)},onContextMenu:Ni,resetPosition:Ni,needsContentAttribute:!0},ie.prototype),e.inputStyles={textarea:re,contenteditable:ie},ue.prototype={primary:function(){return this.ranges[this.primIndex]},equals:function(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var t=0;t=0&&Po(e,n.to())<=0)return r}return-1}},de.prototype={from:function(){return Y(this.anchor,this.head)},to:function(){return X(this.anchor,this.head)},empty:function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch}};var Wo,Io,Eo,Fo={left:0,right:0,top:0,bottom:0},Ho=null,_o=0,jo=0,Bo=0,qo=null;ho?qo=-.53:co?qo=15:vo?qo=-.7:bo&&(qo=-1/3);var Ro=function(e){var t=e.wheelDeltaX,r=e.wheelDeltaY;return null==t&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),null==r&&e.detail&&e.axis==e.VERTICAL_AXIS?r=e.detail:null==r&&(r=e.wheelDelta),{x:t,y:r}};e.wheelEventPixels=function(e){var t=Ro(e);return t.x*=qo,t.y*=qo,t};var Uo=new Li,Vo=null,Go=e.changeEnd=function(e){return e.text?No(e.from.line+e.text.length-1,Ai(e.text).length+(1==e.text.length?e.from.ch:0)):e.to};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,t){var r=this.options,n=r[e];(r[e]!=t||"mode"==e)&&(r[e]=t,$o.hasOwnProperty(e)&&At(this,$o[e])(this,t,n))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?"push":"unshift"](qr(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,r=0;rr&&(Ir(this,i.head.line,e,!0),r=i.head.line,n==this.doc.sel.primIndex&&Dr(this));else{var o=i.from(),a=i.to(),l=Math.max(r,o.line);r=Math.min(this.lastLine(),a.line-(a.ch?0:1))+1;for(var s=l;r>s;++s)Ir(this,s,e);var c=this.doc.sel.ranges;0==o.ch&&t.length==c.length&&c[n].from().ch>0&&ke(this.doc,n,new de(o,c[n].to()),Oa)}}}),getTokenAt:function(e,t){return An(this,e,t)},getLineTokens:function(e,t){return An(this,No(e),t,!0)},getTokenTypeAt:function(e){e=me(this.doc,e);var t,r=Nn(this,Kn(this.doc,e.line)),n=0,i=(r.length-1)/2,o=e.ch;if(0==o)t=r[2];else for(;;){var a=n+i>>1;if((a?r[2*a-1]:0)>=o)i=a;else{if(!(r[2*a+1]l?t:0==l?null:t.slice(0,l-1)},getModeAt:function(t){var r=this.doc.mode;return r.innerMode?e.innerMode(r,this.getTokenAt(t).state).mode:r},getHelper:function(e,t){return this.getHelpers(e,t)[0]},getHelpers:function(e,t){var r=[];if(!ea.hasOwnProperty(t))return r;var n=ea[t],i=this.getModeAt(e);if("string"==typeof i[t])n[i[t]]&&r.push(n[i[t]]);else if(i[t])for(var o=0;oi&&(e=i,n=!0),r=Kn(this.doc,e)}else r=e;return st(this,r,{top:0,left:0},t||"page").top+(n?this.doc.height-Jn(r):0)},defaultTextHeight:function(){return gt(this.display)},defaultCharWidth:function(){return vt(this.display)},setGutterMarker:Ot(function(e,t,r){return Er(this.doc,e,"gutter",function(e){var n=e.gutterMarkers||(e.gutterMarkers={});return n[t]=r,!r&&Ei(n)&&(e.gutterMarkers=null),!0})}),clearGutter:Ot(function(e){var t=this,r=t.doc,n=r.first;r.iter(function(r){r.gutterMarkers&&r.gutterMarkers[e]&&(r.gutterMarkers[e]=null,Wt(t,n,"gutter"),Ei(r.gutterMarkers)&&(r.gutterMarkers=null)),++n})}),lineInfo:function(e){if("number"==typeof e){if(!ve(this.doc,e))return null;var t=e;if(e=Kn(this.doc,e),!e)return null}else{var t=Zn(e);if(null==t)return null}return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,r,n,i){var o=this.display;e=dt(this,me(this.doc,e));var a=e.bottom,l=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),o.sizer.appendChild(t),"over"==n)a=e.top;else if("above"==n||"near"==n){var s=Math.max(o.wrapper.clientHeight,this.doc.height),c=Math.max(o.sizer.clientWidth,o.lineSpace.clientWidth);("above"==n||e.bottom+t.offsetHeight>s)&&e.top>t.offsetHeight?a=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=s&&(a=e.bottom),l+t.offsetWidth>c&&(l=c-t.offsetWidth)}t.style.top=a+"px",t.style.left=t.style.right="","right"==i?(l=o.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==i?l=0:"middle"==i&&(l=(o.sizer.clientWidth-t.offsetWidth)/2),t.style.left=l+"px"),r&&zr(this,l,a,l+t.offsetWidth,a+t.offsetHeight)},triggerOnKeyDown:Ot(lr),triggerOnKeyPress:Ot(ur),triggerOnKeyUp:cr,execCommand:function(e){return na.hasOwnProperty(e)?na[e](this):void 0},findPosH:function(e,t,r,n){var i=1;0>t&&(i=-1,t=-t);for(var o=0,a=me(this.doc,e);t>o&&(a=Hr(this.doc,a,i,r,n),!a.hitSide);++o);return a},moveH:Ot(function(e,t){var r=this;r.extendSelectionsBy(function(n){return r.display.shift||r.doc.extend||n.empty()?Hr(r.doc,n.head,e,t,r.options.rtlMoveVisually):0>e?n.from():n.to()},Na)}),deleteH:Ot(function(e,t){var r=this.doc.sel,n=this.doc;r.somethingSelected()?n.replaceSelection("",null,"+delete"):Fr(this,function(r){var i=Hr(n,r.head,e,t,!1);return 0>e?{from:i,to:r.head}:{from:r.head,to:i}})}),findPosV:function(e,t,r,n){var i=1,o=n;0>t&&(i=-1,t=-t);for(var a=0,l=me(this.doc,e);t>a;++a){var s=dt(this,l,"div");if(null==o?o=s.left:s.left=o,l=_r(this,s,i,r),l.hitSide)break}return l},moveV:Ot(function(e,t){var r=this,n=this.doc,i=[],o=!r.display.shift&&!n.extend&&n.sel.somethingSelected();if(n.extendSelectionsBy(function(a){if(o)return 0>e?a.from():a.to();var l=dt(r,a.head,"div");null!=a.goalColumn&&(l.left=a.goalColumn),i.push(l.left);var s=_r(r,l,e,t);return"page"==t&&a==n.sel.primary()&&Pr(r,null,ut(r,s,"div").top-l.top),s},Na),i.length)for(var a=0;a0&&l(r.charAt(n-1));)--n;for(;i.5)&&a(this),La(this,"refresh",this)}),swapDoc:Ot(function(e){var t=this.doc;return t.cm=null,Gn(this,e),ot(this),this.display.input.reset(),this.scrollTo(e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,bi(this,"swapDoc",this,t),t}),getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},Si(e);var Ko=e.defaults={},$o=e.optionHandlers={},Xo=e.Init={toString:function(){return"CodeMirror.Init"}};jr("value","",function(e,t){e.setValue(t)},!0),jr("mode",null,function(e,t){e.doc.modeOption=t,r(e)},!0),jr("indentUnit",2,r,!0),jr("indentWithTabs",!1),jr("smartIndent",!0),jr("tabSize",4,function(e){n(e),ot(e),Dt(e)},!0),jr("specialChars",/[\t\u0000-\u0019\u00ad\u200b-\u200f\u2028\u2029\ufeff]/g,function(t,r,n){t.state.specialChars=new RegExp(r.source+(r.test(" ")?"":"| "),"g"),n!=e.Init&&t.refresh()}),jr("specialCharPlaceholder",In,function(e){e.refresh()},!0),jr("electricChars",!0),jr("inputStyle",Co?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),jr("rtlMoveVisually",!Lo),jr("wholeLineUpdateBefore",!0),jr("theme","default",function(e){l(e),s(e)},!0),jr("keyMap","default",function(t,r,n){var i=qr(r),o=n!=e.Init&&qr(n);o&&o.detach&&o.detach(t,i),i.attach&&i.attach(t,o||null)}),jr("extraKeys",null),jr("lineWrapping",!1,i,!0),jr("gutters",[],function(e){h(e.options),s(e)},!0),jr("fixedGutter",!0,function(e,t){e.display.gutters.style.left=t?S(e.display)+"px":"0",e.refresh()},!0),jr("coverGutterNextToScrollbar",!1,function(e){y(e)},!0),jr("scrollbarStyle","native",function(e){v(e),y(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)},!0),jr("lineNumbers",!1,function(e){h(e.options),s(e)},!0),jr("firstLineNumber",1,s,!0),jr("lineNumberFormatter",function(e){return e},s,!0),jr("showCursorWhenSelecting",!1,Pe,!0),jr("resetSelectionOnContextMenu",!0),jr("lineWiseCopyCut",!0),jr("readOnly",!1,function(e,t){"nocursor"==t?(hr(e),e.display.input.blur(),e.display.disabled=!0):(e.display.disabled=!1,t||e.display.input.reset())}),jr("disableInput",!1,function(e,t){t||e.display.input.reset()},!0),jr("dragDrop",!0,Bt),jr("cursorBlinkRate",530),jr("cursorScrollMargin",0),jr("cursorHeight",1,Pe,!0),jr("singleCursorHeightPerLine",!0,Pe,!0),jr("workTime",100),jr("workDelay",100),jr("flattenSpans",!0,n,!0),jr("addModeClass",!1,n,!0),jr("pollInterval",100),jr("undoDepth",200,function(e,t){e.doc.history.undoDepth=t}),jr("historyEventDelay",1250),jr("viewportMargin",10,function(e){e.refresh()},!0),jr("maxHighlightLength",1e4,n,!0),jr("moveInputWithCursor",!0,function(e,t){t||e.display.input.resetPosition()}),jr("tabindex",null,function(e,t){e.display.input.getField().tabIndex=t||""}),jr("autofocus",null);var Yo=e.modes={},Zo=e.mimeModes={};e.defineMode=function(t,r){e.defaults.mode||"null"==t||(e.defaults.mode=t),arguments.length>2&&(r.dependencies=Array.prototype.slice.call(arguments,2)),Yo[t]=r},e.defineMIME=function(e,t){Zo[e]=t},e.resolveMode=function(t){if("string"==typeof t&&Zo.hasOwnProperty(t))t=Zo[t];else if(t&&"string"==typeof t.name&&Zo.hasOwnProperty(t.name)){var r=Zo[t.name];"string"==typeof r&&(r={name:r}),t=Pi(r,t),t.name=r.name}else if("string"==typeof t&&/^[\w\-]+\/[\w\-]+\+xml$/.test(t))return e.resolveMode("application/xml");return"string"==typeof t?{name:t}:t||{name:"null"}},e.getMode=function(t,r){var r=e.resolveMode(r),n=Yo[r.name];if(!n)return e.getMode(t,"text/plain");var i=n(t,r);if(Qo.hasOwnProperty(r.name)){var o=Qo[r.name];for(var a in o)o.hasOwnProperty(a)&&(i.hasOwnProperty(a)&&(i["_"+a]=i[a]),i[a]=o[a])}if(i.name=r.name,r.helperType&&(i.helperType=r.helperType),r.modeProps)for(var a in r.modeProps)i[a]=r.modeProps[a];return i},e.defineMode("null",function(){return{token:function(e){e.skipToEnd()}}}),e.defineMIME("text/plain","null");var Qo=e.modeExtensions={};e.extendMode=function(e,t){var r=Qo.hasOwnProperty(e)?Qo[e]:Qo[e]={};Di(t,r)},e.defineExtension=function(t,r){e.prototype[t]=r},e.defineDocExtension=function(e,t){va.prototype[e]=t},e.defineOption=jr;var Jo=[];e.defineInitHook=function(e){Jo.push(e)};var ea=e.helpers={};e.registerHelper=function(t,r,n){ea.hasOwnProperty(t)||(ea[t]=e[t]={_global:[]}),ea[t][r]=n},e.registerGlobalHelper=function(t,r,n,i){e.registerHelper(t,r,i),ea[t]._global.push({pred:n,val:i})};var ta=e.copyState=function(e,t){if(t===!0)return t;if(e.copyState)return e.copyState(t);var r={};for(var n in t){var i=t[n];i instanceof Array&&(i=i.concat([])),r[n]=i}return r},ra=e.startState=function(e,t,r){return e.startState?e.startState(t,r):!0};e.innerMode=function(e,t){for(;e.innerMode;){var r=e.innerMode(t);if(!r||r.mode==e)break;t=r.state,e=r.mode}return r||{mode:e,state:t}};var na=e.commands={selectAll:function(e){e.setSelection(No(e.firstLine(),0),No(e.lastLine()),Oa)},singleSelection:function(e){e.setSelection(e.getCursor("anchor"),e.getCursor("head"),Oa)},killLine:function(e){Fr(e,function(t){if(t.empty()){var r=Kn(e.doc,t.head.line).text.length;return t.head.ch==r&&t.head.line0)i=new No(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),No(i.line,i.ch-2),i,"+transpose");else if(i.line>e.doc.first){var a=Kn(e.doc,i.line-1).text;a&&e.replaceRange(o.charAt(0)+"\n"+a.charAt(a.length-1),No(i.line-1,a.length-1),No(i.line,1),"+transpose")}r.push(new de(i,i))}e.setSelections(r)})},newlineAndIndent:function(e){Tt(e,function(){for(var t=e.listSelections().length,r=0;t>r;r++){var n=e.listSelections()[r];e.replaceRange("\n",n.anchor,n.head,"+input"),e.indentLine(n.from().line+1,null,!0),Dr(e)}})},toggleOverwrite:function(e){e.toggleOverwrite()}},ia=e.keyMap={};ia.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},ia.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},ia.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars"},ia.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},ia["default"]=So?ia.macDefault:ia.pcDefault,e.normalizeKeyMap=function(e){var t={};for(var r in e)if(e.hasOwnProperty(r)){var n=e[r];if(/^(name|fallthrough|(de|at)tach)$/.test(r))continue;if("..."==n){delete e[r];continue}for(var i=zi(r.split(" "),Br),o=0;o=this.string.length},sol:function(){return this.pos==this.lineStart},peek:function(){return this.string.charAt(this.pos)||void 0},next:function(){return this.post},eatSpace:function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},skipToEnd:function(){this.pos=this.string.length},skipTo:function(e){var t=this.string.indexOf(e,this.pos);return t>-1?(this.pos=t,!0):void 0},backUp:function(e){this.pos-=e},column:function(){return this.lastColumnPos0?null:(n&&t!==!1&&(this.pos+=n[0].length),n)}var i=function(e){return r?e.toLowerCase():e},o=this.string.substr(this.pos,e.length);return i(o)==i(e)?(t!==!1&&(this.pos+=e.length),!0):void 0},current:function(){return this.string.slice(this.start,this.pos)},hideFirstChars:function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}}};var ca=0,ua=e.TextMarker=function(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++ca};Si(ua),ua.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&yt(e),Ci(this,"clear")){var r=this.find();r&&bi(this,"clear",r.from,r.to)}for(var n=null,i=null,o=0;oe.display.maxLineLength&&(e.display.maxLine=s,e.display.maxLineLength=c,e.display.maxLineChanged=!0)}null!=n&&e&&this.collapsed&&Dt(e,n,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&Oe(e.doc)),e&&bi(e,"markerCleared",e,this),t&&xt(e),this.parent&&this.parent.clear()}},ua.prototype.find=function(e,t){null==e&&"bookmark"==this.type&&(e=1);for(var r,n,i=0;ir;++r){var i=this.lines[r];this.height-=i.height,Sn(i),bi(i,"delete")}this.lines.splice(e,t)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,t,r){this.height+=r,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(var n=0;ne;++e)if(r(this.lines[e]))return!0}},Un.prototype={chunkSize:function(){return this.size},removeInner:function(e,t){this.size-=t;for(var r=0;re){var o=Math.min(t,i-e),a=n.height;if(n.removeInner(e,o),this.height-=a-n.height,i==o&&(this.children.splice(r--,1),n.parent=null),0==(t-=o))break;e=0}else e-=i}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof Rn))){var l=[];this.collapse(l),this.children=[new Rn(l)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t=e){if(i.insertInner(e,t,r),i.lines&&i.lines.length>50){for(;i.lines.length>50;){var a=i.lines.splice(i.lines.length-25,25),l=new Rn(a);i.height-=l.height,this.children.splice(n+1,0,l),l.parent=this}this.maybeSpill()}break}e-=o}},maybeSpill:function(){if(!(this.children.length<=10)){var e=this;do{var t=e.children.splice(e.children.length-5,5),r=new Un(t);if(e.parent){e.size-=r.size,e.height-=r.height;var n=Oi(e.parent.children,e);e.parent.children.splice(n+1,0,r)}else{var i=new Un(e.children);i.parent=e,e.children=[i,r],e=i}r.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()}},iterN:function(e,t,r){for(var n=0;ne){var a=Math.min(t,o-e);if(i.iterN(e,a,r))return!0;if(0==(t-=a))break;e=0}else e-=o}}};var ga=0,va=e.Doc=function(e,t,r){if(!(this instanceof va))return new va(e,t,r);null==r&&(r=0),Un.call(this,[new Rn([new ha("",null)])]),this.first=r,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.frontier=r;var n=No(r,0);this.sel=he(n),this.history=new ti(null),this.id=++ga,this.modeOption=t,"string"==typeof e&&(e=Ga(e)),qn(this,{from:n,to:n,text:e}),Me(this,he(n),Oa)};va.prototype=Pi(Un.prototype,{constructor:va,iter:function(e,t,r){r?this.iterN(e-this.first,t-e,r):this.iterN(this.first,this.first+this.size,e)},insert:function(e,t){for(var r=0,n=0;n=0;o--)wr(this,n[o]);l?Le(this,l):this.cm&&Dr(this.cm)}),undo:zt(function(){Cr(this,"undo")}),redo:zt(function(){Cr(this,"redo")}),undoSelection:zt(function(){Cr(this,"undo",!0)}),redoSelection:zt(function(){Cr(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,r=0,n=0;n=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,r){e=me(this,e),t=me(this,t);var n=[],i=e.line;return this.iter(e.line,t.line+1,function(o){var a=o.markedSpans;if(a)for(var l=0;ls.to||null==s.from&&i!=e.line||i==t.line&&s.from>t.ch||r&&!r(s.marker)||n.push(s.marker.parent||s.marker)}++i}),n},getAllMarks:function(){var e=[];return this.iter(function(t){var r=t.markedSpans;if(r)for(var n=0;ne?(t=e,!0):(e-=i,void++r)}),me(this,No(r,t))},indexFromPos:function(e){e=me(this,e);var t=e.ch;return e.linet&&(t=e.from),null!=e.to&&e.tol||l>=t)return a+(t-o);a+=l-o,a+=r-a%r,o=l+1}},Da=[""],Wa=function(e){e.select()};ko?Wa=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:ho&&(Wa=function(e){try{e.select()}catch(t){}});var Ia,Ea=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/,Fa=e.isWordChar=function(e){return/\w/.test(e)||e>""&&(e.toUpperCase()!=e.toLowerCase()||Ea.test(e))},Ha=/[\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]/;Ia=document.createRange?function(e,t,r,n){var i=document.createRange();return i.setEnd(n||e,r),i.setStart(e,t),i}:function(e,t,r){var n=document.body.createTextRange();try{n.moveToElementText(e.parentNode)}catch(i){return n}return n.collapse(!0),n.moveEnd("character",r),n.moveStart("character",t),n};var _a=e.contains=function(e,t){if(3==t.nodeType&&(t=t.parentNode),e.contains)return e.contains(t);do if(11==t.nodeType&&(t=t.host),t==e)return!0;while(t=t.parentNode)};ho&&11>po&&(Bi=function(){try{return document.activeElement}catch(e){return document.body}});var ja,Ba,qa=e.rmClass=function(e,t){var r=e.className,n=qi(t).exec(r);if(n){var i=r.slice(n.index+n[0].length);e.className=r.slice(0,n.index)+(i?n[1]+i:"")}},Ra=e.addClass=function(e,t){var r=e.className;qi(t).test(r)||(e.className+=(r?" ":"")+t)},Ua=!1,Va=function(){if(ho&&9>po)return!1;var e=Hi("div");return"draggable"in e||"dragDrop"in e}(),Ga=e.splitLines=3!="\n\nb".split(/\n/).length?function(e){for(var t=0,r=[],n=e.length;n>=t;){var i=e.indexOf("\n",t);-1==i&&(i=e.length);var o=e.slice(t,"\r"==e.charAt(i-1)?i-1:i),a=o.indexOf("\r");-1!=a?(r.push(o.slice(0,a)),t+=a+1):(r.push(o),t=i+1)}return r}:function(e){return e.split(/\r\n?|\n/)},Ka=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(t){return!1}}:function(e){try{var t=e.ownerDocument.selection.createRange()}catch(r){}return t&&t.parentElement()==e?0!=t.compareEndPoints("StartToEnd",t):!1},$a=function(){var e=Hi("div");return"oncopy"in e?!0:(e.setAttribute("oncopy","return;"),"function"==typeof e.oncopy)}(),Xa=null,Ya={3:"Enter",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",107:"=",109:"-",127:"Delete",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"};e.keyNames=Ya,function(){for(var e=0;10>e;e++)Ya[e+48]=Ya[e+96]=String(e);for(var e=65;90>=e;e++)Ya[e]=String.fromCharCode(e);for(var e=1;12>=e;e++)Ya[e+111]=Ya[e+63235]="F"+e}();var Za,Qa=function(){function e(e){return 247>=e?r.charAt(e):e>=1424&&1524>=e?"R":e>=1536&&1773>=e?n.charAt(e-1536):e>=1774&&2220>=e?"r":e>=8192&&8203>=e?"w":8204==e?"b":"L"}function t(e,t,r){this.level=e,this.from=t,this.to=r}var r="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",n="rrrrrrrrrrrr,rNNmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmrrrrrrrnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmNmmmm",i=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,o=/[stwN]/,a=/[LRr]/,l=/[Lb1n]/,s=/[1n]/,c="L";return function(r){if(!i.test(r))return!1;for(var n,u=r.length,d=[],f=0;u>f;++f)d.push(n=e(r.charCodeAt(f)));for(var f=0,h=c;u>f;++f){var n=d[f];"m"==n?d[f]=h:h=n}for(var f=0,p=c;u>f;++f){var n=d[f];"1"==n&&"r"==p?d[f]="n":a.test(n)&&(p=n,"r"==n&&(d[f]="R"))}for(var f=1,h=d[0];u-1>f;++f){var n=d[f];"+"==n&&"1"==h&&"1"==d[f+1]?d[f]="1":","!=n||h!=d[f+1]||"1"!=h&&"n"!=h||(d[f]=h),h=n}for(var f=0;u>f;++f){var n=d[f];if(","==n)d[f]="N";else if("%"==n){for(var m=f+1;u>m&&"%"==d[m];++m);for(var g=f&&"!"==d[f-1]||u>m&&"1"==d[m]?"1":"N",v=f;m>v;++v)d[v]=g;f=m-1}}for(var f=0,p=c;u>f;++f){var n=d[f];"L"==p&&"1"==n?d[f]="L":a.test(n)&&(p=n)}for(var f=0;u>f;++f)if(o.test(d[f])){for(var m=f+1;u>m&&o.test(d[m]);++m);for(var y="L"==(f?d[f-1]:c),b="L"==(u>m?d[m]:c),g=y||b?"L":"R",v=f;m>v;++v)d[v]=g;f=m-1}for(var x,w=[],f=0;u>f;)if(l.test(d[f])){var k=f;for(++f;u>f&&l.test(d[f]);++f);w.push(new t(0,k,f))}else{var C=f,S=w.length;for(++f;u>f&&"L"!=d[f];++f);for(var v=C;f>v;)if(s.test(d[v])){v>C&&w.splice(S,0,new t(1,C,v));var L=v;for(++v;f>v&&s.test(d[v]);++v);w.splice(S,0,new t(2,L,v)),C=v}else++v;f>C&&w.splice(S,0,new t(1,C,f))}return 1==w[0].level&&(x=r.match(/^\s+/))&&(w[0].from=x[0].length,w.unshift(new t(0,0,x[0].length))),1==Ai(w).level&&(x=r.match(/\s+$/))&&(Ai(w).to-=x[0].length,w.push(new t(0,u-x[0].length,u))),2==w[0].level&&w.unshift(new t(1,w[0].to,w[0].to)),w[0].level!=Ai(w).level&&w.push(new t(w[0].level,u,u)),w}}();return e.version="5.2.0",e}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(e){"use strict";e.overlayMode=function(t,r,n){return{startState:function(){return{base:e.startState(t),overlay:e.startState(r),basePos:0,baseCur:null,overlayPos:0,overlayCur:null,streamSeen:null}},copyState:function(n){return{base:e.copyState(t,n.base),overlay:e.copyState(r,n.overlay),basePos:n.basePos,baseCur:null,overlayPos:n.overlayPos,overlayCur:null}},token:function(e,i){return(e!=i.streamSeen||Math.min(i.basePos,i.overlayPos)=0&&l[o.text.charAt(s)]||l[o.text.charAt(++s)];if(!c)return null;var u=">"==c.charAt(1)?1:-1;if(n&&u>0!=(s==t.ch))return null;var d=e.getTokenTypeAt(a(t.line,s+1)),f=r(e,a(t.line,s+(u>0?1:0)),u,d||null,i);return null==f?null:{from:a(t.line,s),to:f&&f.pos,match:f&&f.ch==c.charAt(0),forward:u>0}}function r(e,t,r,n,i){for(var o=i&&i.maxScanLineLength||1e4,s=i&&i.maxScanLines||1e3,c=[],u=i&&i.bracketRegex?i.bracketRegex:/[(){}[\]]/,d=r>0?Math.min(t.line+s,e.lastLine()+1):Math.max(e.firstLine()-1,t.line-s),f=t.line;f!=d;f+=r){var h=e.getLine(f);if(h){var p=r>0?0:h.length-1,m=r>0?h.length:-1;if(!(h.length>o))for(f==t.line&&(p=t.ch-(0>r?1:0));p!=m;p+=r){var g=h.charAt(p);if(u.test(g)&&(void 0===n||e.getTokenTypeAt(a(f,p+1))==n)){var v=l[g];if(">"==v.charAt(1)==r>0)c.push(g);else{if(!c.length)return{pos:a(f,p),ch:g};c.pop()}}}}}return f-r==(r>0?e.lastLine():e.firstLine())?!1:null}function n(e,r,n){for(var i=e.state.matchBrackets.maxHighlightLineLength||1e3,l=[],s=e.listSelections(),c=0;c",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<"},s=null;e.defineOption("matchBrackets",!1,function(t,r,n){n&&n!=e.Init&&t.off("cursorActivity",i),r&&(t.state.matchBrackets="object"==typeof r?r:{},t.on("cursorActivity",i))}),e.defineExtension("matchBrackets",function(){n(this,!0)}),e.defineExtension("findMatchingBracket",function(e,r,n){return t(this,e,r,n)}),e.defineExtension("scanForBracket",function(e,t,n,i){return r(this,e,t,n,i)})}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(e){function t(e,t){return"pairs"==t&&"string"==typeof e?e:"object"==typeof e&&null!=e[t]?e[t]:u[t]}function r(e){return function(t){return a(t,e)}}function n(e){var t=e.state.closeBrackets;if(!t)return null;var r=e.getModeAt(e.getCursor());return r.closeBrackets||t}function i(r){var i=n(r);if(!i||r.getOption("disableInput"))return e.Pass;for(var o=t(i,"pairs"),a=r.listSelections(),l=0;l=0;l--){var u=a[l].head;r.replaceRange("",d(u.line,u.ch-1),d(u.line,u.ch+1))}}function o(r){var i=n(r),o=i&&t(i,"explode");if(!o||r.getOption("disableInput"))return e.Pass;for(var a=r.listSelections(),l=0;l1&&h.indexOf(i)>=0&&r.getRange(d(x.line,x.ch-2),x)==i+i&&(x.ch<=2||r.getRange(d(x.line,x.ch-3),d(x.line,x.ch-2))!=i))y="addFour";else if(p){if(e.isWordChar(f)||!c(r,x,i))return e.Pass;y="both"}else{if(!g||r.getLine(x.line).length!=x.ch&&!l(f,a)&&!/\s/.test(f))return e.Pass;y="both"}else y=h.indexOf(i)>=0&&r.getRange(x,d(x.line,x.ch+3))==i+i+i?"skipThree":"skip";if(u){if(u!=y)return e.Pass}else u=y}var w=s%2?a.charAt(s-1):i,k=s%2?i:a.charAt(s+1);r.operation(function(){if("skip"==u)r.execCommand("goCharRight");else if("skipThree"==u)for(var e=0;3>e;e++)r.execCommand("goCharRight");else if("surround"==u){for(var t=r.getSelections(),e=0;e-1&&r%2==1}function s(e,t){var r=e.getRange(d(t.line,t.ch-1),d(t.line,t.ch+1));return 2==r.length?r:null}function c(t,r,n){var i=t.getLine(r.line),o=t.getTokenAt(r);if(/\bstring2?\b/.test(o.type))return!1;var a=new e.StringStream(i.slice(0,r.ch)+n+i.slice(r.ch),4);for(a.pos=a.start=o.start;;){var l=t.getMode().token(a,o.state);if(a.pos>=r.ch+1)return/\bstring2?\b/.test(l);a.start=a.pos}}var u={pairs:"()[]{}''\"\"",triples:"",explode:"[]{}"},d=e.Pos;e.defineOption("autoCloseBrackets",!1,function(t,r,n){n&&n!=e.Init&&(t.removeKeyMap(h),t.state.closeBrackets=null),r&&(t.state.closeBrackets=r,t.addKeyMap(h))});for(var f=u.pairs+"`",h={Backspace:i,Enter:o},p=0;pc.ch&&(v=v.slice(0,v.length-u.end+c.ch));var y=v.toLowerCase();if(!v||"string"==u.type&&(u.end!=c.ch||!/[\"\']/.test(u.string.charAt(u.string.length-1))||1==u.string.length)||"tag"==u.type&&"closeTag"==f.type||u.string.indexOf("/")==u.string.length-1||m&&i(m,y)>-1||o(t,v,c,f,!0))return e.Pass;var b=g&&i(g,y)>-1;n[s]={indent:b,text:">"+(b?"\n\n":"")+""+v+">",newPos:b?e.Pos(c.line+1,0):e.Pos(c.line,c.ch+1)}}for(var s=r.length-1;s>=0;s--){var x=n[s];t.replaceRange(x.text,r[s].head,r[s].anchor,"+input");var w=t.listSelections().slice(0);w[s]={head:x.newPos,anchor:x.newPos},t.setSelections(w),x.indent&&(t.indentLine(x.newPos.line,null,!0),t.indentLine(x.newPos.line+1,null,!0))}}function r(t,r){for(var n=t.listSelections(),i=[],a=r?"/":"",l=0;l";else{if("htmlmixed"!=t.getMode().name||"css"!=u.mode.name)return e.Pass;i[l]=a+"style>"}else{if(!d.context||!d.context.tagName||o(t,d.context.tagName,s,d))return e.Pass;i[l]=a+d.context.tagName+">"}}t.replaceSelections(i,null,"+input"),n=t.listSelections();for(var l=0;lr;++r)if(e[r]==t)return r;return-1}function o(t,r,n,i,o){if(!e.scanForClosingTag)return!1;var a=Math.min(t.lastLine()+1,n.line+500),l=e.scanForClosingTag(t,n,null,a);if(!l||l.tag!=r)return!1;for(var s=i.context,c=o?1:0;s&&s.tagName==r;s=s.prev)++c;n=l.to;for(var u=1;c>u;u++){var d=e.scanForClosingTag(t,n,null,a);if(!d||d.tag!=r)return!1;n=d.to}return!0}e.defineOption("autoCloseTags",!1,function(r,i,o){if(o!=e.Init&&o&&r.removeKeyMap("autoCloseTags"),i){var a={name:"autoCloseTags"};("object"!=typeof i||i.whenClosing)&&(a["'/'"]=function(e){return n(e)}),("object"!=typeof i||i.whenOpening)&&(a["'>'"]=function(e){return t(e)}),r.addKeyMap(a)}});var a=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],l=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];e.commands.closeTag=function(e){return r(e)}}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(e){"use strict";var t=/^(\s*)(>[> ]*|[*+-]\s|(\d+)\.)(\s*)/,r=/^(\s*)(>[> ]*|[*+-]|(\d+)\.)(\s*)$/,n=/[*+-]\s/;e.commands.newlineAndIndentContinueMarkdownList=function(i){if(i.getOption("disableInput"))return e.Pass;for(var o=i.listSelections(),a=[],l=0;l")>=0?h[2]:parseInt(h[3],10)+1+".";a[l]="\n"+p+g+m}}i.replaceSelections(a,null,"+input")}}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(e){"use strict";function t(t,i,o,a){function l(e){var r=s(t,i);if(!r||r.to.line-r.from.linet.firstLine();)i=e.Pos(i.line-1,0),u=l(!1);if(u&&!u.cleared&&"unfold"!==a){var d=r(t,o);e.on(d,"mousedown",function(t){f.clear(),e.e_preventDefault(t)});var f=t.markText(u.from,u.to,{replacedWith:d,clearOnEnter:!0,__isFold:!0});f.on("clear",function(r,n){e.signal(t,"unfold",t,r,n)}),e.signal(t,"fold",t,u.from,u.to)}}function r(e,t){var r=n(e,t,"widget");if("string"==typeof r){var i=document.createTextNode(r);r=document.createElement("span"),r.appendChild(i),r.className="CodeMirror-foldmarker"}return r}function n(e,t,r){if(t&&void 0!==t[r])return t[r];var n=e.options.foldOptions;return n&&void 0!==n[r]?n[r]:i[r]}e.newFoldFunction=function(e,r){return function(n,i){t(n,i,{rangeFinder:e,widget:r})}},e.defineExtension("foldCode",function(e,r,n){t(this,e,r,n)}),e.defineExtension("isFolded",function(e){for(var t=this.findMarksAt(e),r=0;r=r;r++)t.foldCode(e.Pos(r,0),null,"fold")})},e.commands.unfoldAll=function(t){t.operation(function(){for(var r=t.firstLine(),n=t.lastLine();n>=r;r++)t.foldCode(e.Pos(r,0),null,"unfold")})},e.registerHelper("fold","combine",function(){var e=Array.prototype.slice.call(arguments,0);return function(t,r){for(var n=0;n=l&&(r=i(o.indicatorOpen))}e.setGutterMarker(t,o.gutter,r),++a})}function a(e){var t=e.getViewport(),r=e.state.foldGutter;r&&(e.operation(function(){o(e,t.from,t.to)}),r.from=t.from,r.to=t.to)}function l(e,t,r){var i=e.state.foldGutter;if(i){var o=i.options;if(r==o.gutter){var a=n(e,t);a?a.clear():e.foldCode(d(t,0),o.rangeFinder)}}}function s(e){var t=e.state.foldGutter;if(t){var r=t.options;t.from=t.to=0,clearTimeout(t.changeUpdate),t.changeUpdate=setTimeout(function(){a(e)},r.foldOnChangeTimeSpan||600)}}function c(e){var t=e.state.foldGutter;if(t){var r=t.options;clearTimeout(t.changeUpdate),t.changeUpdate=setTimeout(function(){var r=e.getViewport();t.from==t.to||r.from-t.to>20||t.from-r.to>20?a(e):e.operation(function(){r.fromt.to&&(o(e,t.to,r.to),t.to=r.to)})},r.updateViewportTimeSpan||400)}}function u(e,t){var r=e.state.foldGutter;if(r){var n=t.line;n>=r.from&&nu&&!(i(u+1,l,d)<=s);)++u,l=d,d=t.getLine(u+2);return{from:e.Pos(r.line,a.length),to:e.Pos(u,t.getLine(u).length)}})}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(e){"use strict";function t(e,t){return e.line-t.line||e.ch-t.ch}function r(e,t,r,n){this.line=t,this.ch=r,this.cm=e,this.text=e.getLine(t),this.min=n?n.from:e.firstLine(),this.max=n?n.to-1:e.lastLine()}function n(e,t){var r=e.cm.getTokenTypeAt(f(e.line,t));return r&&/\btag\b/.test(r)}function i(e){return e.line>=e.max?void 0:(e.ch=0,e.text=e.cm.getLine(++e.line),!0)}function o(e){return e.line<=e.min?void 0:(e.text=e.cm.getLine(--e.line),e.ch=e.text.length,!0)}function a(e){for(;;){var t=e.text.indexOf(">",e.ch);if(-1==t){if(i(e))continue;return}{if(n(e,t+1)){var r=e.text.lastIndexOf("/",t),o=r>-1&&!/\S/.test(e.text.slice(r+1,t));return e.ch=t+1,o?"selfClose":"regular"}e.ch=t+1}}}function l(e){for(;;){var t=e.ch?e.text.lastIndexOf("<",e.ch-1):-1;if(-1==t){if(o(e))continue;return}if(n(e,t+1)){m.lastIndex=t,e.ch=t;var r=m.exec(e.text);if(r&&r.index==t)return r}else e.ch=t}}function s(e){for(;;){m.lastIndex=e.ch;var t=m.exec(e.text);if(!t){if(i(e))continue;return}{if(n(e,t.index+1))return e.ch=t.index+t[0].length,t;e.ch=t.index+1}}}function c(e){for(;;){var t=e.ch?e.text.lastIndexOf(">",e.ch-1):-1;if(-1==t){if(o(e))continue;return}{if(n(e,t+1)){var r=e.text.lastIndexOf("/",t),i=r>-1&&!/\S/.test(e.text.slice(r+1,t));return e.ch=t+1,i?"selfClose":"regular"}e.ch=t}}}function u(e,t){for(var r=[];;){var n,i=s(e),o=e.line,l=e.ch-(i?i[0].length:0);if(!i||!(n=a(e)))return;if("selfClose"!=n)if(i[1]){for(var c=r.length-1;c>=0;--c)if(r[c]==i[2]){r.length=c;break}if(0>c&&(!t||t==i[2]))return{tag:i[2],from:f(o,l),to:f(e.line,e.ch)}}else r.push(i[2])}}function d(e,t){for(var r=[];;){var n=c(e);if(!n)return;if("selfClose"!=n){var i=e.line,o=e.ch,a=l(e);if(!a)return;if(a[1])r.push(a[2]);else{for(var s=r.length-1;s>=0;--s)if(r[s]==a[2]){r.length=s;break}if(0>s&&(!t||t==a[2]))return{tag:a[2],from:f(e.line,e.ch),to:f(i,o)}}}else l(e)}}var f=e.Pos,h="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",p=h+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",m=new RegExp("<(/?)(["+h+"]["+p+"]*)","g");e.registerHelper("fold","xml",function(e,t){for(var n=new r(e,t.line,0);;){var i,o=s(n);if(!o||n.line!=t.line||!(i=a(n)))return;if(!o[1]&&"selfClose"!=i){var t=f(n.line,n.ch),l=u(n,o[2]);return l&&{from:t,to:l.from}}}}),e.findMatchingTag=function(e,n,i){var o=new r(e,n.line,n.ch,i);if(-1!=o.text.indexOf(">")||-1!=o.text.indexOf("<")){var s=a(o),c=s&&f(o.line,o.ch),h=s&&l(o);if(s&&h&&!(t(o,n)>0)){var p={from:f(o.line,o.ch),to:c,tag:h[2]};return"selfClose"==s?{open:p,close:null,at:"open"}:h[1]?{open:d(o,h[2]),close:p,at:"close"}:(o=new r(e,c.line,c.ch,i),{open:p,close:u(o,h[2]),at:"open"})}}},e.findEnclosingTag=function(e,t,n){for(var i=new r(e,t.line,t.ch,n);;){var o=d(i);if(!o)break;var a=new r(e,t.line,t.ch,n),l=u(a,o.tag);if(l)return{open:o,close:l}}},e.scanForClosingTag=function(e,t,n,i){var o=new r(e,t.line,t.ch,i?{from:0,to:i}:null);return u(o,n)}}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(e){"use strict";e.defineMode("xml",function(t,r){function n(e,t){function r(r){return t.tokenize=r,r(e,t)}var n=e.next();if("<"==n)return e.eat("!")?e.eat("[")?e.match("CDATA[")?r(a("atom","]]>")):null:e.match("--")?r(a("comment","-->")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),r(l(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=a("meta","?>"),"meta"):(C=e.eat("/")?"closeTag":"openTag",t.tokenize=i,"tag bracket");if("&"==n){var o;return o=e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"),o?"atom":"error"}return e.eatWhile(/[^&<]/),null}function i(e,t){var r=e.next();if(">"==r||"/"==r&&e.eat(">"))return t.tokenize=n,C=">"==r?"endTag":"selfcloseTag","tag bracket";if("="==r)return C="equals",null;if("<"==r){t.tokenize=n,t.state=d,t.tagName=t.tagStart=null;var i=t.tokenize(e,t);return i?i+" tag error":"tag error"}return/[\'\"]/.test(r)?(t.tokenize=o(r),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function o(e){var t=function(t,r){for(;!t.eol();)if(t.next()==e){r.tokenize=i;break}return"string"};return t.isInAttribute=!0,t}function a(e,t){return function(r,i){for(;!r.eol();){if(r.match(t)){i.tokenize=n;break}r.next()}return e}}function l(e){return function(t,r){for(var i;null!=(i=t.next());){if("<"==i)return r.tokenize=l(e+1),r.tokenize(t,r);if(">"==i){if(1==e){r.tokenize=n;break}return r.tokenize=l(e-1),r.tokenize(t,r)}}return"meta"}}function s(e,t,r){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=r,(L.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}function c(e){e.context&&(e.context=e.context.prev)}function u(e,t){for(var r;;){if(!e.context)return;if(r=e.context.tagName,!L.contextGrabbers.hasOwnProperty(r)||!L.contextGrabbers[r].hasOwnProperty(t))return;c(e)}}function d(e,t,r){return"openTag"==e?(r.tagStart=t.column(),f):"closeTag"==e?h:d}function f(e,t,r){return"word"==e?(r.tagName=t.current(),S="tag",g):(S="error",f)}function h(e,t,r){if("word"==e){var n=t.current();return r.context&&r.context.tagName!=n&&L.implicitlyClosed.hasOwnProperty(r.context.tagName)&&c(r),r.context&&r.context.tagName==n?(S="tag",p):(S="tag error",m)}return S="error",m}function p(e,t,r){return"endTag"!=e?(S="error",p):(c(r),d)}function m(e,t,r){return S="error",p(e,t,r)}function g(e,t,r){if("word"==e)return S="attribute",v;if("endTag"==e||"selfcloseTag"==e){var n=r.tagName,i=r.tagStart;return r.tagName=r.tagStart=null,"selfcloseTag"==e||L.autoSelfClosers.hasOwnProperty(n)?u(r,n):(u(r,n),r.context=new s(r,n,i==r.indented)),d}return S="error",g}function v(e,t,r){return"equals"==e?y:(L.allowMissing||(S="error"),g(e,t,r))}function y(e,t,r){return"string"==e?b:"word"==e&&L.allowUnquoted?(S="string",g):(S="error",g(e,t,r))}function b(e,t,r){return"string"==e?b:g(e,t,r)}var x=t.indentUnit,w=r.multilineTagIndentFactor||1,k=r.multilineTagIndentPastTag;null==k&&(k=!0);var C,S,L=r.htmlMode?{autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0}:{autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,caseFold:!1},M=r.alignCDATA;return{startState:function(){return{tokenize:n,state:d,indented:0,tagName:null,tagStart:null,context:null}},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;C=null;var r=t.tokenize(e,t);return(r||C)&&"comment"!=r&&(S=null,t.state=t.state(C||r,e,t),S&&(r="error"==S?r+" error":S)),r},indent:function(t,r,o){var a=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+x;if(a&&a.noIndent)return e.Pass;if(t.tokenize!=i&&t.tokenize!=n)return o?o.match(/^(\s*)/)[0].length:0;if(t.tagName)return k?t.tagStart+t.tagName.length+2:t.tagStart+x*w;if(M&&/$/,blockCommentStart:"",configuration:r.htmlMode?"html":"xml",helperType:r.htmlMode?"html":"xml"}}),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror"),require("../xml/xml"),require("../meta")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../xml/xml","../meta"],e):e(CodeMirror)}(function(e){"use strict";e.defineMode("markdown",function(t,r){function n(r){if(e.findModeByName){var n=e.findModeByName(r);n&&(r=n.mime||n.mimes[0])}var i=e.getMode(t,r);return"null"==i.name?null:i}function i(e,t,r){return t.f=t.inline=r,r(e,t)}function o(e,t,r){return t.f=t.block=r,r(e,t)}function a(e){return e.linkTitle=!1,e.em=!1,e.strong=!1,e.strikethrough=!1,e.quote=0,w||e.f!=s||(e.f=h,e.block=l),e.trailingSpace=0,e.trailingSpaceNewLine=!1,e.thisLineHasContent=!1,null}function l(e,t){var o=e.sol(),a=t.list!==!1;a&&(t.indentationDiff>=0?(t.indentationDiff<4&&(t.indentation-=t.indentationDiff),t.list=null):t.indentation>0?(t.list=null,t.listDepth=Math.floor(t.indentation/4)):(t.list=!1,t.listDepth=0));var l=null;if(t.indentationDiff>=4)return t.indentation-=4,e.skipToEnd(),L;if(e.eatSpace())return null;if(l=e.match(U))return t.header=Math.min(6,-1!==l[0].indexOf(" ")?l[0].length-1:l[0].length),r.highlightFormatting&&(t.formatting="header"),t.f=t.inline,d(t);if(t.prevLineHasContent&&(l=e.match(V)))return t.header="="==l[0].charAt(0)?1:2,r.highlightFormatting&&(t.formatting="header"),t.f=t.inline,d(t);if(e.eat(">"))return t.indentation++,t.quote=o?1:t.quote+1,r.highlightFormatting&&(t.formatting="quote"),e.eatSpace(),d(t);if("["===e.peek())return i(e,t,v);if(e.match(j,!0))return z;if((!t.prevLineHasContent||a)&&(e.match(B,!1)||e.match(q,!1))){var s=null;return e.match(B,!0)?s="ul":(e.match(q,!0),s="ol"),t.indentation+=4,t.list=!0,t.listDepth++,r.taskLists&&e.match(R,!1)&&(t.taskList=!0),t.f=t.inline,r.highlightFormatting&&(t.formatting=["list","list-"+s]),d(t)}return r.fencedCodeBlocks&&e.match(/^```[ \t]*([\w+#]*)/,!0)?(t.localMode=n(RegExp.$1),t.localMode&&(t.localState=t.localMode.startState()),t.f=t.block=c,r.highlightFormatting&&(t.formatting="code-block"),t.code=!0,d(t)):i(e,t,t.inline)}function s(e,t){var r=k.token(e,t.htmlState);return(w&&null===t.htmlState.tagStart&&!t.htmlState.context||t.md_inside&&e.current().indexOf(">")>-1)&&(t.f=h,t.block=l,t.htmlState=null),r}function c(e,t){return e.sol()&&e.match("```",!1)?(t.localMode=t.localState=null,t.f=t.block=u,null):t.localMode?t.localMode.token(e,t.localState):(e.skipToEnd(),L)}function u(e,t){e.match("```"),t.block=l,t.f=h,r.highlightFormatting&&(t.formatting="code-block"),t.code=!0;var n=d(t);return t.code=!1,n}function d(e){var t=[];if(e.formatting){t.push(P),"string"==typeof e.formatting&&(e.formatting=[e.formatting]);for(var n=0;n=e.quote?P+"-"+e.formatting[n]+"-"+e.quote:"error")}if(e.taskOpen)return t.push("meta"),t.length?t.join(" "):null;if(e.taskClosed)return t.push("property"),t.length?t.join(" "):null;if(e.linkHref)return t.push(E),t.length?t.join(" "):null;if(e.strong&&t.push(H),e.em&&t.push(F),e.strikethrough&&t.push(_),e.linkText&&t.push(I),e.code&&t.push(L),e.header&&(t.push(S),t.push(S+"-"+e.header)),e.quote&&(t.push(M),t.push(!r.maxBlockquoteDepth||r.maxBlockquoteDepth>=e.quote?M+"-"+e.quote:M+"-"+r.maxBlockquoteDepth)),e.list!==!1){var i=(e.listDepth-1)%3;t.push(i?1===i?A:O:T)}return e.trailingSpaceNewLine?t.push("trailing-space-new-line"):e.trailingSpace&&t.push("trailing-space-"+(e.trailingSpace%2?"a":"b")),t.length?t.join(" "):null}function f(e,t){return e.match(G,!0)?d(t):void 0}function h(t,n){var i=n.text(t,n);if("undefined"!=typeof i)return i;if(n.list)return n.list=null,d(n);if(n.taskList){var a="x"!==t.match(R,!0)[1];return a?n.taskOpen=!0:n.taskClosed=!0,r.highlightFormatting&&(n.formatting="task"),n.taskList=!1,d(n)}if(n.taskOpen=!1,n.taskClosed=!1,n.header&&t.match(/^#+$/,!0))return r.highlightFormatting&&(n.formatting="header"),d(n);var l=t.sol(),c=t.next();if("\\"===c&&(t.next(),r.highlightFormatting)){var u=d(n);return u?u+" formatting-escape":"formatting-escape"}if(n.linkTitle){n.linkTitle=!1;var f=c;"("===c&&(f=")"),f=(f+"").replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1");var h="^\\s*(?:[^"+f+"\\\\]+|\\\\\\\\|\\\\.)"+f;if(t.match(new RegExp(h),!0))return E}if("`"===c){var g=n.formatting;r.highlightFormatting&&(n.formatting="code");var v=d(n),y=t.pos;t.eatWhile("`");var b=1+t.pos-y;return n.code?b===C?(n.code=!1,v):(n.formatting=g,d(n)):(C=b,n.code=!0,d(n))}if(n.code)return d(n);if("!"===c&&t.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return t.match(/\[[^\]]*\]/),n.inline=n.f=m,N;if("["===c&&t.match(/.*\](\(.*\)| ?\[.*\])/,!1))return n.linkText=!0,r.highlightFormatting&&(n.formatting="link"),d(n);if("]"===c&&n.linkText&&t.match(/\(.*\)| ?\[.*\]/,!1)){r.highlightFormatting&&(n.formatting="link");var u=d(n);return n.linkText=!1,n.inline=n.f=m,u}if("<"===c&&t.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){n.f=n.inline=p,r.highlightFormatting&&(n.formatting="link");var u=d(n);return u?u+=" ":u="",u+D}if("<"===c&&t.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){n.f=n.inline=p,r.highlightFormatting&&(n.formatting="link");var u=d(n);return u?u+=" ":u="",u+W}if("<"===c&&t.match(/^\w/,!1)){if(-1!=t.string.indexOf(">")){var x=t.string.substring(1,t.string.indexOf(">"));/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(x)&&(n.md_inside=!0)}return t.backUp(1),n.htmlState=e.startState(k),o(t,n,s)}if("<"===c&&t.match(/^\/\w*?>/))return n.md_inside=!1,"tag";var w=!1;if(!r.underscoresBreakWords&&"_"===c&&"_"!==t.peek()&&t.match(/(\w)/,!1)){var S=t.pos-2;if(S>=0){var L=t.string.charAt(S);"_"!==L&&L.match(/(\w)/,!1)&&(w=!0)}}if("*"===c||"_"===c&&!w)if(l&&" "===t.peek());else{if(n.strong===c&&t.eat(c)){r.highlightFormatting&&(n.formatting="strong");var v=d(n);return n.strong=!1,v}if(!n.strong&&t.eat(c))return n.strong=c,r.highlightFormatting&&(n.formatting="strong"),d(n);if(n.em===c){r.highlightFormatting&&(n.formatting="em");var v=d(n);return n.em=!1,v}if(!n.em)return n.em=c,r.highlightFormatting&&(n.formatting="em"),d(n)}else if(" "===c&&(t.eat("*")||t.eat("_"))){if(" "===t.peek())return d(n);t.backUp(1)}if(r.strikethrough)if("~"===c&&t.eatWhile(c)){if(n.strikethrough){r.highlightFormatting&&(n.formatting="strikethrough");var v=d(n);return n.strikethrough=!1,v}if(t.match(/^[^\s]/,!1))return n.strikethrough=!0,r.highlightFormatting&&(n.formatting="strikethrough"),d(n)}else if(" "===c&&t.match(/^~~/,!0)){if(" "===t.peek())return d(n);t.backUp(2)}return" "===c&&(t.match(/ +$/,!1)?n.trailingSpace++:n.trailingSpace&&(n.trailingSpaceNewLine=!0)),d(n)}function p(e,t){var n=e.next();if(">"===n){t.f=t.inline=h,r.highlightFormatting&&(t.formatting="link");var i=d(t);return i?i+=" ":i="",i+D}return e.match(/^[^>]+/,!0),D}function m(e,t){if(e.eatSpace())return null;var n=e.next();return"("===n||"["===n?(t.f=t.inline=g("("===n?")":"]"),r.highlightFormatting&&(t.formatting="link-string"),t.linkHref=!0,d(t)):"error"}function g(e){return function(t,n){var i=t.next();if(i===e){n.f=n.inline=h,r.highlightFormatting&&(n.formatting="link-string");var o=d(n);return n.linkHref=!1,o}return t.match(x(e),!0)&&t.backUp(1),n.linkHref=!0,d(n)}}function v(e,t){return e.match(/^[^\]]*\]:/,!1)?(t.f=y,e.next(),r.highlightFormatting&&(t.formatting="link"),t.linkText=!0,d(t)):i(e,t,h)}function y(e,t){if(e.match(/^\]:/,!0)){t.f=t.inline=b,r.highlightFormatting&&(t.formatting="link");var n=d(t);return t.linkText=!1,n}return e.match(/^[^\]]+/,!0),I}function b(e,t){return e.eatSpace()?null:(e.match(/^[^\s]+/,!0),void 0===e.peek()?t.linkTitle=!0:e.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),t.f=t.inline=h,E)}function x(e){return K[e]||(e=(e+"").replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1"),K[e]=new RegExp("^(?:[^\\\\]|\\\\.)*?("+e+")")),K[e]}var w=e.modes.hasOwnProperty("xml"),k=e.getMode(t,w?{name:"xml",htmlMode:!0}:"text/plain");void 0===r.highlightFormatting&&(r.highlightFormatting=!1),void 0===r.maxBlockquoteDepth&&(r.maxBlockquoteDepth=0),void 0===r.underscoresBreakWords&&(r.underscoresBreakWords=!0),void 0===r.fencedCodeBlocks&&(r.fencedCodeBlocks=!1),void 0===r.taskLists&&(r.taskLists=!1),void 0===r.strikethrough&&(r.strikethrough=!1);var C=0,S="header",L="comment",M="quote",T="variable-2",A="variable-3",O="keyword",z="hr",N="tag",P="formatting",D="link",W="link",I="link",E="string",F="em",H="strong",_="strikethrough",j=/^([*\-=_])(?:\s*\1){2,}\s*$/,B=/^[*\-+]\s+/,q=/^[0-9]+\.\s+/,R=/^\[(x| )\](?=\s)/,U=/^#+ ?/,V=/^(?:\={1,}|-{1,})$/,G=/^[^#!\[\]*_\\<>` "'(~]+/,K=[],$={startState:function(){return{f:l,prevLineHasContent:!1,thisLineHasContent:!1,block:l,htmlState:null,indentation:0,inline:h,text:f,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,em:!1,strong:!1,header:0,taskList:!1,list:!1,listDepth:0,quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1}},copyState:function(t){return{f:t.f,prevLineHasContent:t.prevLineHasContent,thisLineHasContent:t.thisLineHasContent,block:t.block,htmlState:t.htmlState&&e.copyState(k,t.htmlState),indentation:t.indentation,localMode:t.localMode,localState:t.localMode?e.copyState(t.localMode,t.localState):null,inline:t.inline,text:t.text,formatting:!1,linkTitle:t.linkTitle,em:t.em,strong:t.strong,strikethrough:t.strikethrough,header:t.header,taskList:t.taskList,list:t.list,listDepth:t.listDepth,quote:t.quote,trailingSpace:t.trailingSpace,trailingSpaceNewLine:t.trailingSpaceNewLine,md_inside:t.md_inside}},token:function(e,t){if(t.formatting=!1,e.sol()){var r=!!t.header;if(t.header=0,e.match(/^\s*$/,!0)||r)return t.prevLineHasContent=!1,a(t),r?this.token(e,t):null;t.prevLineHasContent=t.thisLineHasContent,t.thisLineHasContent=!0,t.taskList=!1,t.code=!1,t.trailingSpace=0,t.trailingSpaceNewLine=!1,t.f=t.block;var n=e.match(/^\s*/,!0)[0].replace(/\t/g," ").length,i=4*Math.floor((n-t.indentation)/4);i>4&&(i=4);var o=t.indentation+i;if(t.indentationDiff=o-t.indentation,t.indentation=o,n>0)return null}return t.f(e,t)},innerMode:function(e){return e.block==s?{state:e.htmlState,mode:k}:e.localState?{state:e.localState,mode:e.localMode}:{state:e,mode:$}},blankLine:a,getType:d,fold:"markdown"};return $},"xml"),e.defineMIME("text/x-markdown","markdown")}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror"),require("../markdown/markdown"),require("../../addon/mode/overlay")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../markdown/markdown","../../addon/mode/overlay"],e):e(CodeMirror)}(function(e){"use strict";e.defineMode("gfm",function(t,r){function n(e){return e.code=!1,null}var i=0,o={startState:function(){return{code:!1,codeBlock:!1,ateSpace:!1}},copyState:function(e){return{code:e.code,codeBlock:e.codeBlock,ateSpace:e.ateSpace}},token:function(e,t){if(t.combineTokens=null,t.codeBlock)return e.match(/^```/)?(t.codeBlock=!1,null):(e.skipToEnd(),null);if(e.sol()&&(t.code=!1),e.sol()&&e.match(/^```/))return e.skipToEnd(),t.codeBlock=!0,null;if("`"===e.peek()){e.next();var r=e.pos;e.eatWhile("`");var n=1+e.pos-r;return t.code?n===i&&(t.code=!1):(i=n,t.code=!0),null}if(t.code)return e.next(),null;if(e.eatSpace())return t.ateSpace=!0,null;if(e.sol()||t.ateSpace){if(t.ateSpace=!1,e.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+@)?(?:[a-f0-9]{7,40}\b)/))return t.combineTokens=!0,"link";if(e.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+)?#[0-9]+\b/))return t.combineTokens=!0,"link"}return e.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)&&"]("!=e.string.slice(e.start-2,e.start)?(t.combineTokens=!0,"link"):(e.next(),null)},blankLine:n},a={underscoresBreakWords:!1,taskLists:!0,fencedCodeBlocks:!0,strikethrough:!0};for(var l in r)a[l]=r[l];return a.name="markdown",e.defineMIME("gfmBase",a),e.overlayMode(e.getMode(t,"gfmBase"),o)},"markdown")}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(e){"use strict";e.defineMode("javascript",function(t,r){function n(e){for(var t,r=!1,n=!1;null!=(t=e.next());){if(!r){if("/"==t&&!n)return;"["==t?n=!0:n&&"]"==t&&(n=!1)}r=!r&&"\\"==t}}function i(e,t,r){return ge=e,ve=r,t}function o(e,t){var r=e.next();if('"'==r||"'"==r)return t.tokenize=a(r),t.tokenize(e,t);if("."==r&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return i("number","number");if("."==r&&e.match(".."))return i("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(r))return i(r);
+
+if("="==r&&e.eat(">"))return i("=>","operator");if("0"==r&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),i("number","number");if(/\d/.test(r))return e.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/),i("number","number");if("/"==r)return e.eat("*")?(t.tokenize=l,l(e,t)):e.eat("/")?(e.skipToEnd(),i("comment","comment")):"operator"==t.lastType||"keyword c"==t.lastType||"sof"==t.lastType||/^[\[{}\(,;:]$/.test(t.lastType)?(n(e),e.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/),i("regexp","string-2")):(e.eatWhile(Le),i("operator","operator",e.current()));if("`"==r)return t.tokenize=s,s(e,t);if("#"==r)return e.skipToEnd(),i("error","error");if(Le.test(r))return e.eatWhile(Le),i("operator","operator",e.current());if(Ce.test(r)){e.eatWhile(Ce);var o=e.current(),c=Se.propertyIsEnumerable(o)&&Se[o];return c&&"."!=t.lastType?i(c.type,c.style,o):i("variable","variable",o)}}function a(e){return function(t,r){var n,a=!1;if(xe&&"@"==t.peek()&&t.match(Me))return r.tokenize=o,i("jsonld-keyword","meta");for(;null!=(n=t.next())&&(n!=e||a);)a=!a&&"\\"==n;return a||(r.tokenize=o),i("string","string")}}function l(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=o;break}n="*"==r}return i("comment","comment")}function s(e,t){for(var r,n=!1;null!=(r=e.next());){if(!n&&("`"==r||"$"==r&&e.eat("{"))){t.tokenize=o;break}n=!n&&"\\"==r}return i("quasi","string-2",e.current())}function c(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var r=e.string.indexOf("=>",e.start);if(!(0>r)){for(var n=0,i=!1,o=r-1;o>=0;--o){var a=e.string.charAt(o),l=Te.indexOf(a);if(l>=0&&3>l){if(!n){++o;break}if(0==--n)break}else if(l>=3&&6>l)++n;else if(Ce.test(a))i=!0;else{if(/["'\/]/.test(a))return;if(i&&!n){++o;break}}}i&&!n&&(t.fatArrowAt=o)}}function u(e,t,r,n,i,o){this.indented=e,this.column=t,this.type=r,this.prev=i,this.info=o,null!=n&&(this.align=n)}function d(e,t){for(var r=e.localVars;r;r=r.next)if(r.name==t)return!0;for(var n=e.context;n;n=n.prev)for(var r=n.vars;r;r=r.next)if(r.name==t)return!0}function f(e,t,r,n,i){var o=e.cc;for(Oe.state=e,Oe.stream=i,Oe.marked=null,Oe.cc=o,Oe.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;){var a=o.length?o.pop():we?k:w;if(a(r,n)){for(;o.length&&o[o.length-1].lex;)o.pop()();return Oe.marked?Oe.marked:"variable"==r&&d(e,n)?"variable-2":t}}}function h(){for(var e=arguments.length-1;e>=0;e--)Oe.cc.push(arguments[e])}function p(){return h.apply(null,arguments),!0}function m(e){function t(t){for(var r=t;r;r=r.next)if(r.name==e)return!0;return!1}var n=Oe.state;if(n.context){if(Oe.marked="def",t(n.localVars))return;n.localVars={name:e,next:n.localVars}}else{if(t(n.globalVars))return;r.globalVars&&(n.globalVars={name:e,next:n.globalVars})}}function g(){Oe.state.context={prev:Oe.state.context,vars:Oe.state.localVars},Oe.state.localVars=ze}function v(){Oe.state.localVars=Oe.state.context.vars,Oe.state.context=Oe.state.context.prev}function y(e,t){var r=function(){var r=Oe.state,n=r.indented;if("stat"==r.lexical.type)n=r.lexical.indented;else for(var i=r.lexical;i&&")"==i.type&&i.align;i=i.prev)n=i.indented;r.lexical=new u(n,Oe.stream.column(),e,null,r.lexical,t)};return r.lex=!0,r}function b(){var e=Oe.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function x(e){function t(r){return r==e?p():";"==e?h():p(t)}return t}function w(e,t){return"var"==e?p(y("vardef",t.length),R,x(";"),b):"keyword a"==e?p(y("form"),k,w,b):"keyword b"==e?p(y("form"),w,b):"{"==e?p(y("}"),j,b):";"==e?p():"if"==e?("else"==Oe.state.lexical.info&&Oe.state.cc[Oe.state.cc.length-1]==b&&Oe.state.cc.pop()(),p(y("form"),k,w,b,$)):"function"==e?p(ee):"for"==e?p(y("form"),X,w,b):"variable"==e?p(y("stat"),D):"switch"==e?p(y("form"),k,y("}","switch"),x("{"),j,b,b):"case"==e?p(k,x(":")):"default"==e?p(x(":")):"catch"==e?p(y("form"),g,x("("),te,x(")"),w,b,v):"module"==e?p(y("form"),g,ae,v,b):"class"==e?p(y("form"),re,b):"export"==e?p(y("form"),le,b):"import"==e?p(y("form"),se,b):h(y("stat"),k,x(";"),b)}function k(e){return S(e,!1)}function C(e){return S(e,!0)}function S(e,t){if(Oe.state.fatArrowAt==Oe.stream.start){var r=t?P:N;if("("==e)return p(g,y(")"),H(U,")"),b,x("=>"),r,v);if("variable"==e)return h(g,U,x("=>"),r,v)}var n=t?A:T;return Ae.hasOwnProperty(e)?p(n):"function"==e?p(ee,n):"keyword c"==e?p(t?M:L):"("==e?p(y(")"),L,pe,x(")"),b,n):"operator"==e||"spread"==e?p(t?C:k):"["==e?p(y("]"),fe,b,n):"{"==e?_(I,"}",null,n):"quasi"==e?h(O,n):p()}function L(e){return e.match(/[;\}\)\],]/)?h():h(k)}function M(e){return e.match(/[;\}\)\],]/)?h():h(C)}function T(e,t){return","==e?p(k):A(e,t,!1)}function A(e,t,r){var n=0==r?T:A,i=0==r?k:C;return"=>"==e?p(g,r?P:N,v):"operator"==e?/\+\+|--/.test(t)?p(n):"?"==t?p(k,x(":"),i):p(i):"quasi"==e?h(O,n):";"!=e?"("==e?_(C,")","call",n):"."==e?p(W,n):"["==e?p(y("]"),L,x("]"),b,n):void 0:void 0}function O(e,t){return"quasi"!=e?h():"${"!=t.slice(t.length-2)?p(O):p(k,z)}function z(e){return"}"==e?(Oe.marked="string-2",Oe.state.tokenize=s,p(O)):void 0}function N(e){return c(Oe.stream,Oe.state),h("{"==e?w:k)}function P(e){return c(Oe.stream,Oe.state),h("{"==e?w:C)}function D(e){return":"==e?p(b,w):h(T,x(";"),b)}function W(e){return"variable"==e?(Oe.marked="property",p()):void 0}function I(e,t){return"variable"==e||"keyword"==Oe.style?(Oe.marked="property",p("get"==t||"set"==t?E:F)):"number"==e||"string"==e?(Oe.marked=xe?"property":Oe.style+" property",p(F)):"jsonld-keyword"==e?p(F):"["==e?p(k,x("]"),F):void 0}function E(e){return"variable"!=e?h(F):(Oe.marked="property",p(ee))}function F(e){return":"==e?p(C):"("==e?h(ee):void 0}function H(e,t){function r(n){if(","==n){var i=Oe.state.lexical;return"call"==i.info&&(i.pos=(i.pos||0)+1),p(e,r)}return n==t?p():p(x(t))}return function(n){return n==t?p():h(e,r)}}function _(e,t,r){for(var n=3;n!?|~^]/,Me=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/,Te="([{}])",Ae={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,"this":!0,"jsonld-keyword":!0},Oe={state:null,column:null,marked:null,cc:null},ze={name:"this",next:{name:"arguments"}};return b.lex=!0,{startState:function(e){var t={tokenize:o,lastType:"sof",cc:[],lexical:new u((e||0)-ye,0,"block",!1),localVars:r.localVars,context:r.localVars&&{vars:r.localVars},indented:0};return r.globalVars&&"object"==typeof r.globalVars&&(t.globalVars=r.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),c(e,t)),t.tokenize!=l&&e.eatSpace())return null;var r=t.tokenize(e,t);return"comment"==ge?r:(t.lastType="operator"!=ge||"++"!=ve&&"--"!=ve?ge:"incdec",f(t,r,ge,ve,e))},indent:function(t,n){if(t.tokenize==l)return e.Pass;if(t.tokenize!=o)return 0;var i=n&&n.charAt(0),a=t.lexical;if(!/^\s*else\b/.test(n))for(var s=t.cc.length-1;s>=0;--s){var c=t.cc[s];if(c==b)a=a.prev;else if(c!=$)break}"stat"==a.type&&"}"==i&&(a=a.prev),be&&")"==a.type&&"stat"==a.prev.type&&(a=a.prev);var u=a.type,d=i==u;return"vardef"==u?a.indented+("operator"==t.lastType||","==t.lastType?a.info+1:0):"form"==u&&"{"==i?a.indented:"form"==u?a.indented+ye:"stat"==u?a.indented+(me(t,n)?be||ye:0):"switch"!=a.info||d||0==r.doubleIndentSwitch?a.align?a.column+(d?0:1):a.indented+(d?0:ye):a.indented+(/^(?:case|default)\b/.test(n)?ye:2*ye)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:we?null:"/*",blockCommentEnd:we?null:"*/",lineComment:we?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:we?"json":"javascript",jsonldMode:xe,jsonMode:we}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(e){"use strict";function t(e){for(var t={},r=0;r")?(e.match("-->"),t.tokenize=null):e.skipToEnd(),["comment","comment"]}e.defineMode("css",function(t,r){function n(e,t){return h=t,e}function i(e,t){var r=e.next();if(g[r]){var i=g[r](e,t);if(i!==!1)return i}return"@"==r?(e.eatWhile(/[\w\\\-]/),n("def",e.current())):"="==r||("~"==r||"|"==r)&&e.eat("=")?n(null,"compare"):'"'==r||"'"==r?(t.tokenize=o(r),t.tokenize(e,t)):"#"==r?(e.eatWhile(/[\w\\\-]/),n("atom","hash")):"!"==r?(e.match(/^\s*\w*/),n("keyword","important")):/\d/.test(r)||"."==r&&e.eat(/\d/)?(e.eatWhile(/[\w.%]/),n("number","unit")):"-"!==r?/[,+>*\/]/.test(r)?n(null,"select-op"):"."==r&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?n("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(r)?n(null,r):"u"==r&&e.match(/rl(-prefix)?\(/)||"d"==r&&e.match("omain(")||"r"==r&&e.match("egexp(")?(e.backUp(1),t.tokenize=a,n("property","word")):/[\w\\\-]/.test(r)?(e.eatWhile(/[\w\\\-]/),n("property","word")):n(null,null):/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),n("number","unit")):e.match(/^-[\w\\\-]+/)?(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?n("variable-2","variable-definition"):n("variable-2","variable")):e.match(/^\w+-/)?n("meta","meta"):void 0}function o(e){return function(t,r){for(var i,o=!1;null!=(i=t.next());){if(i==e&&!o){")"==e&&t.backUp(1);break}o=!o&&"\\"==i}return(i==e||!o&&")"!=e)&&(r.tokenize=null),n("string","string")}}function a(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=o(")"),n(null,"(")}function l(e,t,r){this.type=e,this.indent=t,this.prev=r}function s(e,t,r){return e.context=new l(r,t.indentation()+m,e.context),r}function c(e){return e.context=e.context.prev,e.context.type}function u(e,t,r){return T[r.context.type](e,t,r)}function d(e,t,r,n){for(var i=n||1;i>0;i--)r.context=r.context.prev;return u(e,t,r)}function f(e){var t=e.current().toLowerCase();p=L.hasOwnProperty(t)?"atom":S.hasOwnProperty(t)?"keyword":"variable"}r.propertyKeywords||(r=e.resolveMode("text/css"));var h,p,m=t.indentUnit,g=r.tokenHooks,v=r.documentTypes||{},y=r.mediaTypes||{},b=r.mediaFeatures||{},x=r.propertyKeywords||{},w=r.nonStandardPropertyKeywords||{},k=r.fontProperties||{},C=r.counterDescriptors||{},S=r.colorKeywords||{},L=r.valueKeywords||{},M=r.allowNested,T={};return T.top=function(e,t,r){if("{"==e)return s(r,t,"block");if("}"==e&&r.context.prev)return c(r);if(/@(media|supports|(-moz-)?document)/.test(e))return s(r,t,"atBlock");if(/@(font-face|counter-style)/.test(e))return r.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return s(r,t,"at");if("hash"==e)p="builtin";else if("word"==e)p="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return s(r,t,"interpolation");if(":"==e)return"pseudo";if(M&&"("==e)return s(r,t,"parens")}return r.context.type},T.block=function(e,t,r){if("word"==e){var n=t.current().toLowerCase();return x.hasOwnProperty(n)?(p="property","maybeprop"):w.hasOwnProperty(n)?(p="string-2","maybeprop"):M?(p=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(p+=" error","maybeprop")}return"meta"==e?"block":M||"hash"!=e&&"qualifier"!=e?T.top(e,t,r):(p="error","block")},T.maybeprop=function(e,t,r){return":"==e?s(r,t,"prop"):u(e,t,r)},T.prop=function(e,t,r){if(";"==e)return c(r);if("{"==e&&M)return s(r,t,"propBlock");if("}"==e||"{"==e)return d(e,t,r);if("("==e)return s(r,t,"parens");if("hash"!=e||/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(t.current())){if("word"==e)f(t);else if("interpolation"==e)return s(r,t,"interpolation")}else p+=" error";return"prop"},T.propBlock=function(e,t,r){return"}"==e?c(r):"word"==e?(p="property","maybeprop"):r.context.type},T.parens=function(e,t,r){return"{"==e||"}"==e?d(e,t,r):")"==e?c(r):"("==e?s(r,t,"parens"):"interpolation"==e?s(r,t,"interpolation"):("word"==e&&f(t),"parens")},T.pseudo=function(e,t,r){return"word"==e?(p="variable-3",r.context.type):u(e,t,r)},T.atBlock=function(e,t,r){if("("==e)return s(r,t,"atBlock_parens");if("}"==e)return d(e,t,r);if("{"==e)return c(r)&&s(r,t,M?"block":"top");if("word"==e){var n=t.current().toLowerCase();p="only"==n||"not"==n||"and"==n||"or"==n?"keyword":v.hasOwnProperty(n)?"tag":y.hasOwnProperty(n)?"attribute":b.hasOwnProperty(n)?"property":x.hasOwnProperty(n)?"property":w.hasOwnProperty(n)?"string-2":L.hasOwnProperty(n)?"atom":"error"}return r.context.type},T.atBlock_parens=function(e,t,r){return")"==e?c(r):"{"==e||"}"==e?d(e,t,r,2):T.atBlock(e,t,r)},T.restricted_atBlock_before=function(e,t,r){return"{"==e?s(r,t,"restricted_atBlock"):"word"==e&&"@counter-style"==r.stateArg?(p="variable","restricted_atBlock_before"):u(e,t,r)},T.restricted_atBlock=function(e,t,r){return"}"==e?(r.stateArg=null,c(r)):"word"==e?(p="@font-face"==r.stateArg&&!k.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==r.stateArg&&!C.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},T.keyframes=function(e,t,r){return"word"==e?(p="variable","keyframes"):"{"==e?s(r,t,"top"):u(e,t,r)},T.at=function(e,t,r){return";"==e?c(r):"{"==e||"}"==e?d(e,t,r):("word"==e?p="tag":"hash"==e&&(p="builtin"),"at")},T.interpolation=function(e,t,r){return"}"==e?c(r):"{"==e||";"==e?d(e,t,r):("word"==e?p="variable":"variable"!=e&&(p="error"),"interpolation")},{startState:function(e){return{tokenize:null,state:"top",stateArg:null,context:new l("top",e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var r=(t.tokenize||i)(e,t);return r&&"object"==typeof r&&(h=r[1],r=r[0]),p=r,t.state=T[t.state](h,e,t),p},indent:function(e,t){var r=e.context,n=t&&t.charAt(0),i=r.indent;return"prop"!=r.type||"}"!=n&&")"!=n||(r=r.prev),!r.prev||("}"!=n||"block"!=r.type&&"top"!=r.type&&"interpolation"!=r.type&&"restricted_atBlock"!=r.type)&&(")"!=n||"parens"!=r.type&&"atBlock_parens"!=r.type)&&("{"!=n||"at"!=r.type&&"atBlock"!=r.type)||(i=r.indent-m,r=r.prev),i},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",fold:"brace"}});var i=["domain","regexp","url","url-prefix"],o=t(i),a=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],l=t(a),s=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid"],c=t(s),u=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-position","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marker-offset","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],d=t(u),f=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],h=t(f),p=["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],m=t(p),g=["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"],v=t(g),y=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],b=t(y),x=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","column","compact","condensed","contain","content","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","dashed","decimal","decimal-leading-zero","default","default-button","destination-atop","destination-in","destination-out","destination-over","devanagari","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","footnotes","forwards","from","geometricPrecision","georgian","graytext","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row-resize","rtl","run-in","running","s-resize","sans-serif","scale","scale3d","scaleX","scaleY","scaleZ","scroll","scrollbar","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","solid","somali","source-atop","source-in","source-out","source-over","space","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","x-large","x-small","xor","xx-large","xx-small"],w=t(x),k=i.concat(a).concat(s).concat(u).concat(f).concat(y).concat(x);
+
+e.registerHelper("hintWords","css",k),e.defineMIME("text/css",{documentTypes:o,mediaTypes:l,mediaFeatures:c,propertyKeywords:d,nonStandardPropertyKeywords:h,fontProperties:m,counterDescriptors:v,colorKeywords:b,valueKeywords:w,tokenHooks:{"<":function(e,t){return e.match("!--")?(t.tokenize=n,n(e,t)):!1},"/":function(e,t){return e.eat("*")?(t.tokenize=r,r(e,t)):!1}},name:"css"}),e.defineMIME("text/x-scss",{mediaTypes:l,mediaFeatures:c,propertyKeywords:d,nonStandardPropertyKeywords:h,colorKeywords:b,valueKeywords:w,fontProperties:m,allowNested:!0,tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=r,r(e,t)):["operator","operator"]},":":function(e){return e.match(/\s*\{/)?[null,"{"]:!1},$:function(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(e){return e.eat("{")?[null,"interpolation"]:!1}},name:"css",helperType:"scss"}),e.defineMIME("text/x-less",{mediaTypes:l,mediaFeatures:c,propertyKeywords:d,nonStandardPropertyKeywords:h,colorKeywords:b,valueKeywords:w,fontProperties:m,allowNested:!0,tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=r,r(e,t)):["operator","operator"]},"@":function(e){return e.eat("{")?[null,"interpolation"]:e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/,!1)?!1:(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"})}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror"),require("../xml/xml"),require("../javascript/javascript"),require("../css/css")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../xml/xml","../javascript/javascript","../css/css"],e):e(CodeMirror)}(function(e){"use strict";e.defineMode("htmlmixed",function(t,r){function n(e,t){var r=t.htmlState.tagName;r&&(r=r.toLowerCase());var n=l.token(e,t.htmlState);if("script"==r&&/\btag\b/.test(n)&&">"==e.current()){var i=e.string.slice(Math.max(0,e.pos-100),e.pos).match(/\btype\s*=\s*("[^"]+"|'[^']+'|\S+)[^<]*$/i);i=i?i[1]:"",i&&/[\"\']/.test(i.charAt(0))&&(i=i.slice(1,i.length-1));for(var u=0;u"==e.current()&&(t.token=a,t.localMode=s,t.localState=s.startState(l.indent(t.htmlState,"")));return n}function i(e,t,r){var n,i=e.current(),o=i.search(t);return o>-1?e.backUp(i.length-o):(n=i.match(/<\/?$/))&&(e.backUp(i.length),e.match(t,!1)||e.match(i)),r}function o(e,t){return e.match(/^<\/\s*script\s*>/i,!1)?(t.token=n,t.localState=t.localMode=null,null):i(e,/<\/\s*script\s*>/,t.localMode.token(e,t.localState))}function a(e,t){return e.match(/^<\/\s*style\s*>/i,!1)?(t.token=n,t.localState=t.localMode=null,null):i(e,/<\/\s*style\s*>/,s.token(e,t.localState))}var l=e.getMode(t,{name:"xml",htmlMode:!0,multilineTagIndentFactor:r.multilineTagIndentFactor,multilineTagIndentPastTag:r.multilineTagIndentPastTag}),s=e.getMode(t,"css"),c=[],u=r&&r.scriptTypes;if(c.push({matches:/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^$/i,mode:e.getMode(t,"javascript")}),u)for(var d=0;d!?|\/]/;return{startState:function(e){return{tokenize:null,context:new a((e||0)-u,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var r=t.context;if(e.sol()&&(null==r.align&&(r.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return null;c=null;var i=(t.tokenize||n)(e,t);if("comment"==i||"meta"==i)return i;if(null==r.align&&(r.align=!0),";"!=c&&":"!=c&&","!=c||"statement"!=r.type)if("{"==c)l(t,e.column(),"}");else if("["==c)l(t,e.column(),"]");else if("("==c)l(t,e.column(),")");else if("}"==c){for(;"statement"==r.type;)r=s(t);for("}"==r.type&&(r=s(t));"statement"==r.type;)r=s(t)}else c==r.type?s(t):b&&(("}"==r.type||"top"==r.type)&&";"!=c||"statement"==r.type&&"newstatement"==c)&&l(t,e.column(),"statement");else s(t);return t.startOfLine=!1,i},indent:function(t,r){if(t.tokenize!=n&&null!=t.tokenize)return e.Pass;var i=t.context,o=r&&r.charAt(0);"statement"==i.type&&"}"==o&&(i=i.prev);var a=o==i.type;return"statement"==i.type?i.indented+("{"==o?0:d):!i.align||f&&")"==i.type?")"!=i.type||a?i.indented+(a?0:u):i.indented+d:i.column+(a?0:1)},electricChars:"{}",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",fold:"brace"}});var s="auto if break int case long char register continue return default short do sizeof double static else struct switch extern typedef float union for unsigned goto while enum void const signed volatile";a(["text/x-csrc","text/x-c","text/x-chdr"],{name:"clike",keywords:t(s),blockKeywords:t("case do else for if switch while struct"),atoms:t("null"),hooks:{"#":r},modeProps:{fold:["brace","include"]}}),a(["text/x-c++src","text/x-c++hdr"],{name:"clike",keywords:t(s+" asm dynamic_cast namespace reinterpret_cast try bool explicit new static_cast typeid catch operator template typename class friend private this using const_cast inline public throw virtual delete mutable protected wchar_t alignas alignof constexpr decltype nullptr noexcept thread_local final static_assert override"),blockKeywords:t("catch class do else finally for if struct switch try while"),atoms:t("true false null"),hooks:{"#":r,u:n,U:n,L:n,R:n},modeProps:{fold:["brace","include"]}}),a("text/x-java",{name:"clike",keywords:t("abstract assert boolean break byte case catch char class const continue default do double else enum extends final finally float for goto if implements import instanceof int interface long native new package private protected public return short static strictfp super switch synchronized this throw throws transient try void volatile while"),blockKeywords:t("catch class do else finally for if switch try while"),atoms:t("true false null"),hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"}},modeProps:{fold:["brace","import"]}}),a("text/x-csharp",{name:"clike",keywords:t("abstract as base break case catch checked class const continue default delegate do else enum event explicit extern finally fixed for foreach goto if implicit in interface internal is lock namespace new operator out override params private protected public readonly ref return sealed sizeof stackalloc static struct switch this throw try typeof unchecked unsafe using virtual void volatile while add alias ascending descending dynamic from get global group into join let orderby partial remove select set value var yield"),blockKeywords:t("catch class do else finally for foreach if struct switch try while"),builtin:t("Boolean Byte Char DateTime DateTimeOffset Decimal Double Guid Int16 Int32 Int64 Object SByte Single String TimeSpan UInt16 UInt32 UInt64 bool byte char decimal double short int long object sbyte float string ushort uint ulong"),atoms:t("true false null"),hooks:{"@":function(e,t){return e.eat('"')?(t.tokenize=i,i(e,t)):(e.eatWhile(/[\w\$_]/),"meta")}}}),a("text/x-scala",{name:"clike",keywords:t("abstract case catch class def do else extends false final finally for forSome if implicit import lazy match new null object override package private protected return sealed super this throw trait try trye type val var while with yield _ : = => <- <: <% >: # @ assert assume require print println printf readLine readBoolean readByte readShort readChar readInt readLong readFloat readDouble AnyVal App Application Array BufferedIterator BigDecimal BigInt Char Console Either Enumeration Equiv Error Exception Fractional Function IndexedSeq Integral Iterable Iterator List Map Numeric Nil NotNull Option Ordered Ordering PartialFunction PartialOrdering Product Proxy Range Responder Seq Serializable Set Specializable Stream StringBuilder StringContext Symbol Throwable Traversable TraversableOnce Tuple Unit Vector :: #:: Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void"),multiLineStrings:!0,blockKeywords:t("catch class do else finally for forSome if match switch try while"),atoms:t("true false null"),indentStatements:!1,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,t){return e.match('""')?(t.tokenize=l,t.tokenize(e,t)):!1},"'":function(e){return e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"}},modeProps:{closeBrackets:{triples:'"'}}}),a(["x-shader/x-vertex","x-shader/x-fragment"],{name:"clike",keywords:t("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4 sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout"),blockKeywords:t("for while do if else struct"),builtin:t("radians degrees sin cos tan asin acos atan pow exp log exp2 sqrt inversesqrt abs sign floor ceil fract mod min max clamp mix step smoothstep length distance dot cross normalize ftransform faceforward reflect refract matrixCompMult lessThan lessThanEqual greaterThan greaterThanEqual equal notEqual any all not texture1D texture1DProj texture1DLod texture1DProjLod texture2D texture2DProj texture2DLod texture2DProjLod texture3D texture3DProj texture3DLod texture3DProjLod textureCube textureCubeLod shadow1D shadow2D shadow1DProj shadow2DProj shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod dFdx dFdy fwidth noise1 noise2 noise3 noise4"),atoms:t("true false gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_FogCoord gl_PointCoord gl_Position gl_PointSize gl_ClipVertex gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_TexCoord gl_FogFragCoord gl_FragCoord gl_FrontFacing gl_FragData gl_FragDepth gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse gl_TexureMatrixTranspose gl_ModelViewMatrixInverseTranspose gl_ProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixInverseTranspose gl_TextureMatrixInverseTranspose gl_NormalScale gl_DepthRange gl_ClipPlane gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel gl_FrontLightModelProduct gl_BackLightModelProduct gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ gl_FogParameters gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits gl_MaxDrawBuffers"),hooks:{"#":r},modeProps:{fold:["brace","include"]}}),a("text/x-nesc",{name:"clike",keywords:t(s+"as atomic async call command component components configuration event generic implementation includes interface module new norace nx_struct nx_union post provides signal task uses abstract extends"),blockKeywords:t("case do else for if switch while struct"),atoms:t("null"),hooks:{"#":r},modeProps:{fold:["brace","include"]}}),a("text/x-objectivec",{name:"clike",keywords:t(s+"inline restrict _Bool _Complex _Imaginery BOOL Class bycopy byref id IMP in inout nil oneway out Protocol SEL self super atomic nonatomic retain copy readwrite readonly"),atoms:t("YES NO NULL NILL ON OFF"),hooks:{"@":function(e){return e.eatWhile(/[\w\$]/),"keyword"},"#":r},modeProps:{fold:"brace"}})}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(e){"use strict";e.defineMode("clojure",function(e){function t(e){for(var t={},r=e.split(" "),n=0;n ->> 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"),x=t("* *' *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->>"),w=t("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 let letfn binding loop for doseq dotimes when-let if-let defstruct struct-map assoc testing deftest handler-case handle dotrace deftrace"),k={digit:/\d/,digit_or_colon:/[\d:]/,hex:/[0-9a-f]/i,sign:/[+-]/,exponent:/e/i,keyword_char:/[^\s\(\[\;\)\]]/,symbol:/[\w*+!\-\._?:<>\/\xa1-\uffff]/};return{startState:function(){return{indentStack:null,indentation:0,mode:!1}},token:function(e,t){if(null==t.indentStack&&e.sol()&&(t.indentation=e.indentation()),e.eatSpace())return null;var r=null;switch(t.mode){case"string":for(var C,S=!1;null!=(C=e.next());){if('"'==C&&!S){t.mode=!1;break}S=!S&&"\\"==C}r=c;break;default:var L=e.next();if('"'==L)t.mode="string",r=c;else if("\\"==L)a(e),r=u;else if("'"!=L||k.digit_or_colon.test(e.peek()))if(";"==L)e.skipToEnd(),r=s;else if(o(L,e))r=f;else if("("==L||"["==L||"{"==L){var M,T="",A=e.column();if("("==L)for(;null!=(M=e.eat(k.keyword_char));)T+=M;T.length>0&&(w.propertyIsEnumerable(T)||/^(?:def|with)/.test(T))?n(t,A+g,L):(e.eatSpace(),e.eol()||";"==e.peek()?n(t,A+v,L):n(t,A+e.current().length,L)),e.backUp(e.current().length-1),r=h}else if(")"==L||"]"==L||"}"==L)r=h,null!=t.indentStack&&t.indentStack.type==(")"==L?"(":"]"==L?"[":"{")&&i(t);else{if(":"==L)return e.eatWhile(k.symbol),d;e.eatWhile(k.symbol),r=b&&b.propertyIsEnumerable(e.current())?p:x&&x.propertyIsEnumerable(e.current())?l:y&&y.propertyIsEnumerable(e.current())?d:m}else r=d}return r},indent:function(e){return null==e.indentStack?e.indentation:e.indentStack.indent},closeBrackets:{pairs:'()[]{}""'},lineComment:";;"}}),e.defineMIME("text/x-clojure","clojure")}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(e){"use strict";e.defineMode("ruby",function(e){function t(e){for(var t={},r=0,n=e.length;n>r;++r)t[e[r]]=!0;return t}function r(e,t,r){return r.tokenize.push(e),e(t,r)}function n(e,t){if(c=null,e.sol()&&e.match("=begin")&&e.eol())return t.tokenize.push(s),"comment";if(e.eatSpace())return null;var n,i=e.next();if("`"==i||"'"==i||'"'==i)return r(a(i,"string",'"'==i||"`"==i),e,t);if("/"==i){var o=e.current().length;if(e.skipTo("/")){var u=e.current().length;e.backUp(e.current().length-o);for(var d=0;e.current().lengthd)break}if(e.backUp(e.current().length-o),0==d)return r(a(i,"string-2",!0),e,t)}return"operator"}if("%"==i){var p="string",m=!0;e.eat("s")?p="atom":e.eat(/[WQ]/)?p="string":e.eat(/[r]/)?p="string-2":e.eat(/[wxq]/)&&(p="string",m=!1);var g=e.eat(/[^\w\s=]/);return g?(h.propertyIsEnumerable(g)&&(g=h[g]),r(a(g,p,m,!0),e,t)):"operator"}if("#"==i)return e.skipToEnd(),"comment";if("<"==i&&(n=e.match(/^<-?[\`\"\']?([a-zA-Z_?]\w*)[\`\"\']?(?:;|$)/)))return r(l(n[1]),e,t);if("0"==i)return e.eatWhile(e.eat("x")?/[\da-fA-F]/:e.eat("b")?/[01]/:/[0-7]/),"number";if(/\d/.test(i))return e.match(/^[\d_]*(?:\.[\d_]+)?(?:[eE][+\-]?[\d_]+)?/),"number";if("?"==i){for(;e.match(/^\\[CM]-/););return e.eat("\\")?e.eatWhile(/\w/):e.next(),"string"}if(":"==i)return e.eat("'")?r(a("'","atom",!1),e,t):e.eat('"')?r(a('"',"atom",!0),e,t):e.eat(/[\<\>]/)?(e.eat(/[\<\>]/),"atom"):e.eat(/[\+\-\*\/\&\|\:\!]/)?"atom":e.eat(/[a-zA-Z$@_\xa1-\uffff]/)?(e.eatWhile(/[\w$\xa1-\uffff]/),e.eat(/[\?\!\=]/),"atom"):"operator";if("@"==i&&e.match(/^@?[a-zA-Z_\xa1-\uffff]/))return e.eat("@"),e.eatWhile(/[\w\xa1-\uffff]/),"variable-2";if("$"==i)return e.eat(/[a-zA-Z_]/)?e.eatWhile(/[\w]/):e.eat(/\d/)?e.eat(/\d/):e.next(),"variable-3";if(/[a-zA-Z_\xa1-\uffff]/.test(i))return e.eatWhile(/[\w\xa1-\uffff]/),e.eat(/[\?\!]/),e.eat(":")?"atom":"ident";if("|"!=i||!t.varList&&"{"!=t.lastTok&&"do"!=t.lastTok){if(/[\(\)\[\]{}\\;]/.test(i))return c=i,null;if("-"==i&&e.eat(">"))return"arrow";if(/[=+\-\/*:\.^%<>~|]/.test(i)){var v=e.eatWhile(/[=+\-\/*:\.^%<>~|]/);return"."!=i||v||(c="."),"operator"}return null}return c="|",null}function i(e){return e||(e=1),function(t,r){if("}"==t.peek()){if(1==e)return r.tokenize.pop(),r.tokenize[r.tokenize.length-1](t,r);r.tokenize[r.tokenize.length-1]=i(e-1)}else"{"==t.peek()&&(r.tokenize[r.tokenize.length-1]=i(e+1));return n(t,r)}}function o(){var e=!1;return function(t,r){return e?(r.tokenize.pop(),r.tokenize[r.tokenize.length-1](t,r)):(e=!0,n(t,r))}}function a(e,t,r,n){return function(a,l){var s,c=!1;for("read-quoted-paused"===l.context.type&&(l.context=l.context.prev,a.eat("}"));null!=(s=a.next());){if(s==e&&(n||!c)){l.tokenize.pop();break}if(r&&"#"==s&&!c){if(a.eat("{")){"}"==e&&(l.context={prev:l.context,type:"read-quoted-paused"}),l.tokenize.push(i());break}if(/[@\$]/.test(a.peek())){l.tokenize.push(o());break}}c=!c&&"\\"==s}return t}}function l(e){return function(t,r){return t.match(e)?r.tokenize.pop():t.skipToEnd(),"string"}}function s(e,t){return e.sol()&&e.match("=end")&&e.eol()&&t.tokenize.pop(),e.skipToEnd(),"comment"}var c,u=t(["alias","and","BEGIN","begin","break","case","class","def","defined?","do","else","elsif","END","end","ensure","false","for","if","in","module","next","not","or","redo","rescue","retry","return","self","super","then","true","undef","unless","until","when","while","yield","nil","raise","throw","catch","fail","loop","callcc","caller","lambda","proc","public","protected","private","require","load","require_relative","extend","autoload","__END__","__FILE__","__LINE__","__dir__"]),d=t(["def","class","case","for","while","module","then","catch","loop","proc","begin"]),f=t(["end","until"]),h={"[":"]","{":"}","(":")"};return{startState:function(){return{tokenize:[n],indented:0,context:{type:"top",indented:-e.indentUnit},continuedLine:!1,lastTok:null,varList:!1}},token:function(e,t){e.sol()&&(t.indented=e.indentation());var r,n=t.tokenize[t.tokenize.length-1](e,t),i=c;if("ident"==n){var o=e.current();n="."==t.lastTok?"property":u.propertyIsEnumerable(e.current())?"keyword":/^[A-Z]/.test(o)?"tag":"def"==t.lastTok||"class"==t.lastTok||t.varList?"def":"variable","keyword"==n&&(i=o,d.propertyIsEnumerable(o)?r="indent":f.propertyIsEnumerable(o)?r="dedent":"if"!=o&&"unless"!=o||e.column()!=e.indentation()?"do"==o&&t.context.indented 50) killRing.shift();
+ }
+ function growRingTop(str) {
+ if (!killRing.length) return addToRing(str);
+ killRing[killRing.length - 1] += str;
+ }
+ function getFromRing(n) { return killRing[killRing.length - (n ? Math.min(n, 1) : 1)] || ""; }
+ function popFromRing() { if (killRing.length > 1) killRing.pop(); return getFromRing(); }
+
+ var lastKill = null;
+
+ function kill(cm, from, to, mayGrow, text) {
+ if (text == null) text = cm.getRange(from, to);
+
+ if (mayGrow && lastKill && lastKill.cm == cm && posEq(from, lastKill.pos) && cm.isClean(lastKill.gen))
+ growRingTop(text);
+ else
+ addToRing(text);
+ cm.replaceRange("", from, to, "+delete");
+
+ if (mayGrow) lastKill = {cm: cm, pos: from, gen: cm.changeGeneration()};
+ else lastKill = null;
+ }
+
+ // Boundaries of various units
+
+ function byChar(cm, pos, dir) {
+ return cm.findPosH(pos, dir, "char", true);
+ }
+
+ function byWord(cm, pos, dir) {
+ return cm.findPosH(pos, dir, "word", true);
+ }
+
+ function byLine(cm, pos, dir) {
+ return cm.findPosV(pos, dir, "line", cm.doc.sel.goalColumn);
+ }
+
+ function byPage(cm, pos, dir) {
+ return cm.findPosV(pos, dir, "page", cm.doc.sel.goalColumn);
+ }
+
+ function byParagraph(cm, pos, dir) {
+ var no = pos.line, line = cm.getLine(no);
+ var sawText = /\S/.test(dir < 0 ? line.slice(0, pos.ch) : line.slice(pos.ch));
+ var fst = cm.firstLine(), lst = cm.lastLine();
+ for (;;) {
+ no += dir;
+ if (no < fst || no > lst)
+ return cm.clipPos(Pos(no - dir, dir < 0 ? 0 : null));
+ line = cm.getLine(no);
+ var hasText = /\S/.test(line);
+ if (hasText) sawText = true;
+ else if (sawText) return Pos(no, 0);
+ }
+ }
+
+ function bySentence(cm, pos, dir) {
+ var line = pos.line, ch = pos.ch;
+ var text = cm.getLine(pos.line), sawWord = false;
+ for (;;) {
+ var next = text.charAt(ch + (dir < 0 ? -1 : 0));
+ if (!next) { // End/beginning of line reached
+ if (line == (dir < 0 ? cm.firstLine() : cm.lastLine())) return Pos(line, ch);
+ text = cm.getLine(line + dir);
+ if (!/\S/.test(text)) return Pos(line, ch);
+ line += dir;
+ ch = dir < 0 ? text.length : 0;
+ continue;
+ }
+ if (sawWord && /[!?.]/.test(next)) return Pos(line, ch + (dir > 0 ? 1 : 0));
+ if (!sawWord) sawWord = /\w/.test(next);
+ ch += dir;
+ }
+ }
+
+ function byExpr(cm, pos, dir) {
+ var wrap;
+ if (cm.findMatchingBracket && (wrap = cm.findMatchingBracket(pos, true))
+ && wrap.match && (wrap.forward ? 1 : -1) == dir)
+ return dir > 0 ? Pos(wrap.to.line, wrap.to.ch + 1) : wrap.to;
+
+ for (var first = true;; first = false) {
+ var token = cm.getTokenAt(pos);
+ var after = Pos(pos.line, dir < 0 ? token.start : token.end);
+ if (first && dir > 0 && token.end == pos.ch || !/\w/.test(token.string)) {
+ var newPos = cm.findPosH(after, dir, "char");
+ if (posEq(after, newPos)) return pos;
+ else pos = newPos;
+ } else {
+ return after;
+ }
+ }
+ }
+
+ // Prefixes (only crudely supported)
+
+ function getPrefix(cm, precise) {
+ var digits = cm.state.emacsPrefix;
+ if (!digits) return precise ? null : 1;
+ clearPrefix(cm);
+ return digits == "-" ? -1 : Number(digits);
+ }
+
+ function repeated(cmd) {
+ var f = typeof cmd == "string" ? function(cm) { cm.execCommand(cmd); } : cmd;
+ return function(cm) {
+ var prefix = getPrefix(cm);
+ f(cm);
+ for (var i = 1; i < prefix; ++i) f(cm);
+ };
+ }
+
+ function findEnd(cm, pos, by, dir) {
+ var prefix = getPrefix(cm);
+ if (prefix < 0) { dir = -dir; prefix = -prefix; }
+ for (var i = 0; i < prefix; ++i) {
+ var newPos = by(cm, pos, dir);
+ if (posEq(newPos, pos)) break;
+ pos = newPos;
+ }
+ return pos;
+ }
+
+ function move(by, dir) {
+ var f = function(cm) {
+ cm.extendSelection(findEnd(cm, cm.getCursor(), by, dir));
+ };
+ f.motion = true;
+ return f;
+ }
+
+ function killTo(cm, by, dir) {
+ var selections = cm.listSelections(), cursor;
+ var i = selections.length;
+ while (i--) {
+ cursor = selections[i].head;
+ kill(cm, cursor, findEnd(cm, cursor, by, dir), true);
+ }
+ }
+
+ function killRegion(cm) {
+ if (cm.somethingSelected()) {
+ var selections = cm.listSelections(), selection;
+ var i = selections.length;
+ while (i--) {
+ selection = selections[i];
+ kill(cm, selection.anchor, selection.head);
+ }
+ return true;
+ }
+ }
+
+ function addPrefix(cm, digit) {
+ if (cm.state.emacsPrefix) {
+ if (digit != "-") cm.state.emacsPrefix += digit;
+ return;
+ }
+ // Not active yet
+ cm.state.emacsPrefix = digit;
+ cm.on("keyHandled", maybeClearPrefix);
+ cm.on("inputRead", maybeDuplicateInput);
+ }
+
+ var prefixPreservingKeys = {"Alt-G": true, "Ctrl-X": true, "Ctrl-Q": true, "Ctrl-U": true};
+
+ function maybeClearPrefix(cm, arg) {
+ if (!cm.state.emacsPrefixMap && !prefixPreservingKeys.hasOwnProperty(arg))
+ clearPrefix(cm);
+ }
+
+ function clearPrefix(cm) {
+ cm.state.emacsPrefix = null;
+ cm.off("keyHandled", maybeClearPrefix);
+ cm.off("inputRead", maybeDuplicateInput);
+ }
+
+ function maybeDuplicateInput(cm, event) {
+ var dup = getPrefix(cm);
+ if (dup > 1 && event.origin == "+input") {
+ var one = event.text.join("\n"), txt = "";
+ for (var i = 1; i < dup; ++i) txt += one;
+ cm.replaceSelection(txt);
+ }
+ }
+
+ function addPrefixMap(cm) {
+ cm.state.emacsPrefixMap = true;
+ cm.addKeyMap(prefixMap);
+ cm.on("keyHandled", maybeRemovePrefixMap);
+ cm.on("inputRead", maybeRemovePrefixMap);
+ }
+
+ function maybeRemovePrefixMap(cm, arg) {
+ if (typeof arg == "string" && (/^\d$/.test(arg) || arg == "Ctrl-U")) return;
+ cm.removeKeyMap(prefixMap);
+ cm.state.emacsPrefixMap = false;
+ cm.off("keyHandled", maybeRemovePrefixMap);
+ cm.off("inputRead", maybeRemovePrefixMap);
+ }
+
+ // Utilities
+
+ function setMark(cm) {
+ cm.setCursor(cm.getCursor());
+ cm.setExtending(!cm.getExtending());
+ cm.on("change", function() { cm.setExtending(false); });
+ }
+
+ function clearMark(cm) {
+ cm.setExtending(false);
+ cm.setCursor(cm.getCursor());
+ }
+
+ function getInput(cm, msg, f) {
+ if (cm.openDialog)
+ cm.openDialog(msg + ": ", f, {bottom: true});
+ else
+ f(prompt(msg, ""));
+ }
+
+ function operateOnWord(cm, op) {
+ var start = cm.getCursor(), end = cm.findPosH(start, 1, "word");
+ cm.replaceRange(op(cm.getRange(start, end)), start, end);
+ cm.setCursor(end);
+ }
+
+ function toEnclosingExpr(cm) {
+ var pos = cm.getCursor(), line = pos.line, ch = pos.ch;
+ var stack = [];
+ while (line >= cm.firstLine()) {
+ var text = cm.getLine(line);
+ for (var i = ch == null ? text.length : ch; i > 0;) {
+ var ch = text.charAt(--i);
+ if (ch == ")")
+ stack.push("(");
+ else if (ch == "]")
+ stack.push("[");
+ else if (ch == "}")
+ stack.push("{");
+ else if (/[\(\{\[]/.test(ch) && (!stack.length || stack.pop() != ch))
+ return cm.extendSelection(Pos(line, i));
+ }
+ --line; ch = null;
+ }
+ }
+
+ function quit(cm) {
+ cm.execCommand("clearSearch");
+ clearMark(cm);
+ }
+
+ // Actual keymap
+
+ var keyMap = CodeMirror.keyMap.emacs = CodeMirror.normalizeKeyMap({
+ "Ctrl-W": function(cm) {kill(cm, cm.getCursor("start"), cm.getCursor("end"));},
+ "Ctrl-K": repeated(function(cm) {
+ var start = cm.getCursor(), end = cm.clipPos(Pos(start.line));
+ var text = cm.getRange(start, end);
+ if (!/\S/.test(text)) {
+ text += "\n";
+ end = Pos(start.line + 1, 0);
+ }
+ kill(cm, start, end, true, text);
+ }),
+ "Alt-W": function(cm) {
+ addToRing(cm.getSelection());
+ clearMark(cm);
+ },
+ "Ctrl-Y": function(cm) {
+ var start = cm.getCursor();
+ cm.replaceRange(getFromRing(getPrefix(cm)), start, start, "paste");
+ cm.setSelection(start, cm.getCursor());
+ },
+ "Alt-Y": function(cm) {cm.replaceSelection(popFromRing(), "around", "paste");},
+
+ "Ctrl-Space": setMark, "Ctrl-Shift-2": setMark,
+
+ "Ctrl-F": move(byChar, 1), "Ctrl-B": move(byChar, -1),
+ "Right": move(byChar, 1), "Left": move(byChar, -1),
+ "Ctrl-D": function(cm) { killTo(cm, byChar, 1); },
+ "Delete": function(cm) { killRegion(cm) || killTo(cm, byChar, 1); },
+ "Ctrl-H": function(cm) { killTo(cm, byChar, -1); },
+ "Backspace": function(cm) { killRegion(cm) || killTo(cm, byChar, -1); },
+
+ "Alt-F": move(byWord, 1), "Alt-B": move(byWord, -1),
+ "Alt-D": function(cm) { killTo(cm, byWord, 1); },
+ "Alt-Backspace": function(cm) { killTo(cm, byWord, -1); },
+
+ "Ctrl-N": move(byLine, 1), "Ctrl-P": move(byLine, -1),
+ "Down": move(byLine, 1), "Up": move(byLine, -1),
+ "Ctrl-A": "goLineStart", "Ctrl-E": "goLineEnd",
+ "End": "goLineEnd", "Home": "goLineStart",
+
+ "Alt-V": move(byPage, -1), "Ctrl-V": move(byPage, 1),
+ "PageUp": move(byPage, -1), "PageDown": move(byPage, 1),
+
+ "Ctrl-Up": move(byParagraph, -1), "Ctrl-Down": move(byParagraph, 1),
+
+ "Alt-A": move(bySentence, -1), "Alt-E": move(bySentence, 1),
+ "Alt-K": function(cm) { killTo(cm, bySentence, 1); },
+
+ "Ctrl-Alt-K": function(cm) { killTo(cm, byExpr, 1); },
+ "Ctrl-Alt-Backspace": function(cm) { killTo(cm, byExpr, -1); },
+ "Ctrl-Alt-F": move(byExpr, 1), "Ctrl-Alt-B": move(byExpr, -1),
+
+ "Shift-Ctrl-Alt-2": function(cm) {
+ var cursor = cm.getCursor();
+ cm.setSelection(findEnd(cm, cursor, byExpr, 1), cursor);
+ },
+ "Ctrl-Alt-T": function(cm) {
+ var leftStart = byExpr(cm, cm.getCursor(), -1), leftEnd = byExpr(cm, leftStart, 1);
+ var rightEnd = byExpr(cm, leftEnd, 1), rightStart = byExpr(cm, rightEnd, -1);
+ cm.replaceRange(cm.getRange(rightStart, rightEnd) + cm.getRange(leftEnd, rightStart) +
+ cm.getRange(leftStart, leftEnd), leftStart, rightEnd);
+ },
+ "Ctrl-Alt-U": repeated(toEnclosingExpr),
+
+ "Alt-Space": function(cm) {
+ var pos = cm.getCursor(), from = pos.ch, to = pos.ch, text = cm.getLine(pos.line);
+ while (from && /\s/.test(text.charAt(from - 1))) --from;
+ while (to < text.length && /\s/.test(text.charAt(to))) ++to;
+ cm.replaceRange(" ", Pos(pos.line, from), Pos(pos.line, to));
+ },
+ "Ctrl-O": repeated(function(cm) { cm.replaceSelection("\n", "start"); }),
+ "Ctrl-T": repeated(function(cm) {
+ cm.execCommand("transposeChars");
+ }),
+
+ "Alt-C": repeated(function(cm) {
+ operateOnWord(cm, function(w) {
+ var letter = w.search(/\w/);
+ if (letter == -1) return w;
+ return w.slice(0, letter) + w.charAt(letter).toUpperCase() + w.slice(letter + 1).toLowerCase();
+ });
+ }),
+ "Alt-U": repeated(function(cm) {
+ operateOnWord(cm, function(w) { return w.toUpperCase(); });
+ }),
+ "Alt-L": repeated(function(cm) {
+ operateOnWord(cm, function(w) { return w.toLowerCase(); });
+ }),
+
+ "Alt-;": "toggleComment",
+
+ "Ctrl-/": repeated("undo"), "Shift-Ctrl--": repeated("undo"),
+ "Ctrl-Z": repeated("undo"), "Cmd-Z": repeated("undo"),
+ "Shift-Alt-,": "goDocStart", "Shift-Alt-.": "goDocEnd",
+ "Ctrl-S": "findNext", "Ctrl-R": "findPrev", "Ctrl-G": quit, "Shift-Alt-5": "replace",
+ "Alt-/": "autocomplete",
+ "Ctrl-J": "newlineAndIndent", "Enter": false, "Tab": "indentAuto",
+
+ "Alt-G G": function(cm) {
+ var prefix = getPrefix(cm, true);
+ if (prefix != null && prefix > 0) return cm.setCursor(prefix - 1);
+
+ getInput(cm, "Goto line", function(str) {
+ var num;
+ if (str && !isNaN(num = Number(str)) && num == num|0 && num > 0)
+ cm.setCursor(num - 1);
+ });
+ },
+
+ "Ctrl-X Tab": function(cm) {
+ cm.indentSelection(getPrefix(cm, true) || cm.getOption("indentUnit"));
+ },
+ "Ctrl-X Ctrl-X": function(cm) {
+ cm.setSelection(cm.getCursor("head"), cm.getCursor("anchor"));
+ },
+ "Ctrl-X Ctrl-S": "save",
+ "Ctrl-X Ctrl-W": "save",
+ "Ctrl-X S": "saveAll",
+ "Ctrl-X F": "open",
+ "Ctrl-X U": repeated("undo"),
+ "Ctrl-X K": "close",
+ "Ctrl-X Delete": function(cm) { kill(cm, cm.getCursor(), bySentence(cm, cm.getCursor(), 1), true); },
+ "Ctrl-X H": "selectAll",
+
+ "Ctrl-Q Tab": repeated("insertTab"),
+ "Ctrl-U": addPrefixMap
+ });
+
+ var prefixMap = {"Ctrl-G": clearPrefix};
+ function regPrefix(d) {
+ prefixMap[d] = function(cm) { addPrefix(cm, d); };
+ keyMap["Ctrl-" + d] = function(cm) { addPrefix(cm, d); };
+ prefixPreservingKeys["Ctrl-" + d] = true;
+ }
+ for (var i = 0; i < 10; ++i) regPrefix(String(i));
+ regPrefix("-");
+});
diff --git a/public/vendor/codemirror/keymap/sublime.js b/public/vendor/codemirror/keymap/sublime.js
new file mode 100755
index 00000000..441456f5
--- /dev/null
+++ b/public/vendor/codemirror/keymap/sublime.js
@@ -0,0 +1,553 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+// A rough approximation of Sublime Text's keybindings
+// Depends on addon/search/searchcursor.js and optionally addon/dialog/dialogs.js
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../lib/codemirror"), require("../addon/search/searchcursor"), require("../addon/edit/matchbrackets"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../lib/codemirror", "../addon/search/searchcursor", "../addon/edit/matchbrackets"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+ "use strict";
+
+ var map = CodeMirror.keyMap.sublime = {fallthrough: "default"};
+ var cmds = CodeMirror.commands;
+ var Pos = CodeMirror.Pos;
+ var mac = CodeMirror.keyMap["default"] == CodeMirror.keyMap.macDefault;
+ var ctrl = mac ? "Cmd-" : "Ctrl-";
+
+ // This is not exactly Sublime's algorithm. I couldn't make heads or tails of that.
+ function findPosSubword(doc, start, dir) {
+ if (dir < 0 && start.ch == 0) return doc.clipPos(Pos(start.line - 1));
+ var line = doc.getLine(start.line);
+ if (dir > 0 && start.ch >= line.length) return doc.clipPos(Pos(start.line + 1, 0));
+ var state = "start", type;
+ for (var pos = start.ch, e = dir < 0 ? 0 : line.length, i = 0; pos != e; pos += dir, i++) {
+ var next = line.charAt(dir < 0 ? pos - 1 : pos);
+ var cat = next != "_" && CodeMirror.isWordChar(next) ? "w" : "o";
+ if (cat == "w" && next.toUpperCase() == next) cat = "W";
+ if (state == "start") {
+ if (cat != "o") { state = "in"; type = cat; }
+ } else if (state == "in") {
+ if (type != cat) {
+ if (type == "w" && cat == "W" && dir < 0) pos--;
+ if (type == "W" && cat == "w" && dir > 0) { type = "w"; continue; }
+ break;
+ }
+ }
+ }
+ return Pos(start.line, pos);
+ }
+
+ function moveSubword(cm, dir) {
+ cm.extendSelectionsBy(function(range) {
+ if (cm.display.shift || cm.doc.extend || range.empty())
+ return findPosSubword(cm.doc, range.head, dir);
+ else
+ return dir < 0 ? range.from() : range.to();
+ });
+ }
+
+ cmds[map["Alt-Left"] = "goSubwordLeft"] = function(cm) { moveSubword(cm, -1); };
+ cmds[map["Alt-Right"] = "goSubwordRight"] = function(cm) { moveSubword(cm, 1); };
+
+ cmds[map[ctrl + "Up"] = "scrollLineUp"] = function(cm) {
+ var info = cm.getScrollInfo();
+ if (!cm.somethingSelected()) {
+ var visibleBottomLine = cm.lineAtHeight(info.top + info.clientHeight, "local");
+ if (cm.getCursor().line >= visibleBottomLine)
+ cm.execCommand("goLineUp");
+ }
+ cm.scrollTo(null, info.top - cm.defaultTextHeight());
+ };
+ cmds[map[ctrl + "Down"] = "scrollLineDown"] = function(cm) {
+ var info = cm.getScrollInfo();
+ if (!cm.somethingSelected()) {
+ var visibleTopLine = cm.lineAtHeight(info.top, "local")+1;
+ if (cm.getCursor().line <= visibleTopLine)
+ cm.execCommand("goLineDown");
+ }
+ cm.scrollTo(null, info.top + cm.defaultTextHeight());
+ };
+
+ cmds[map["Shift-" + ctrl + "L"] = "splitSelectionByLine"] = function(cm) {
+ var ranges = cm.listSelections(), lineRanges = [];
+ for (var i = 0; i < ranges.length; i++) {
+ var from = ranges[i].from(), to = ranges[i].to();
+ for (var line = from.line; line <= to.line; ++line)
+ if (!(to.line > from.line && line == to.line && to.ch == 0))
+ lineRanges.push({anchor: line == from.line ? from : Pos(line, 0),
+ head: line == to.line ? to : Pos(line)});
+ }
+ cm.setSelections(lineRanges, 0);
+ };
+
+ map["Shift-Tab"] = "indentLess";
+
+ cmds[map["Esc"] = "singleSelectionTop"] = function(cm) {
+ var range = cm.listSelections()[0];
+ cm.setSelection(range.anchor, range.head, {scroll: false});
+ };
+
+ cmds[map[ctrl + "L"] = "selectLine"] = function(cm) {
+ var ranges = cm.listSelections(), extended = [];
+ for (var i = 0; i < ranges.length; i++) {
+ var range = ranges[i];
+ extended.push({anchor: Pos(range.from().line, 0),
+ head: Pos(range.to().line + 1, 0)});
+ }
+ cm.setSelections(extended);
+ };
+
+ map["Shift-" + ctrl + "K"] = "deleteLine";
+
+ function insertLine(cm, above) {
+ cm.operation(function() {
+ var len = cm.listSelections().length, newSelection = [], last = -1;
+ for (var i = 0; i < len; i++) {
+ var head = cm.listSelections()[i].head;
+ if (head.line <= last) continue;
+ var at = Pos(head.line + (above ? 0 : 1), 0);
+ cm.replaceRange("\n", at, null, "+insertLine");
+ cm.indentLine(at.line, null, true);
+ newSelection.push({head: at, anchor: at});
+ last = head.line + 1;
+ }
+ cm.setSelections(newSelection);
+ });
+ }
+
+ cmds[map[ctrl + "Enter"] = "insertLineAfter"] = function(cm) { insertLine(cm, false); };
+
+ cmds[map["Shift-" + ctrl + "Enter"] = "insertLineBefore"] = function(cm) { insertLine(cm, true); };
+
+ function wordAt(cm, pos) {
+ var start = pos.ch, end = start, line = cm.getLine(pos.line);
+ while (start && CodeMirror.isWordChar(line.charAt(start - 1))) --start;
+ while (end < line.length && CodeMirror.isWordChar(line.charAt(end))) ++end;
+ return {from: Pos(pos.line, start), to: Pos(pos.line, end), word: line.slice(start, end)};
+ }
+
+ cmds[map[ctrl + "D"] = "selectNextOccurrence"] = function(cm) {
+ var from = cm.getCursor("from"), to = cm.getCursor("to");
+ var fullWord = cm.state.sublimeFindFullWord == cm.doc.sel;
+ if (CodeMirror.cmpPos(from, to) == 0) {
+ var word = wordAt(cm, from);
+ if (!word.word) return;
+ cm.setSelection(word.from, word.to);
+ fullWord = true;
+ } else {
+ var text = cm.getRange(from, to);
+ var query = fullWord ? new RegExp("\\b" + text + "\\b") : text;
+ var cur = cm.getSearchCursor(query, to);
+ if (cur.findNext()) {
+ cm.addSelection(cur.from(), cur.to());
+ } else {
+ cur = cm.getSearchCursor(query, Pos(cm.firstLine(), 0));
+ if (cur.findNext())
+ cm.addSelection(cur.from(), cur.to());
+ }
+ }
+ if (fullWord)
+ cm.state.sublimeFindFullWord = cm.doc.sel;
+ };
+
+ var mirror = "(){}[]";
+ function selectBetweenBrackets(cm) {
+ var pos = cm.getCursor(), opening = cm.scanForBracket(pos, -1);
+ if (!opening) return;
+ for (;;) {
+ var closing = cm.scanForBracket(pos, 1);
+ if (!closing) return;
+ if (closing.ch == mirror.charAt(mirror.indexOf(opening.ch) + 1)) {
+ cm.setSelection(Pos(opening.pos.line, opening.pos.ch + 1), closing.pos, false);
+ return true;
+ }
+ pos = Pos(closing.pos.line, closing.pos.ch + 1);
+ }
+ }
+
+ cmds[map["Shift-" + ctrl + "Space"] = "selectScope"] = function(cm) {
+ selectBetweenBrackets(cm) || cm.execCommand("selectAll");
+ };
+ cmds[map["Shift-" + ctrl + "M"] = "selectBetweenBrackets"] = function(cm) {
+ if (!selectBetweenBrackets(cm)) return CodeMirror.Pass;
+ };
+
+ cmds[map[ctrl + "M"] = "goToBracket"] = function(cm) {
+ cm.extendSelectionsBy(function(range) {
+ var next = cm.scanForBracket(range.head, 1);
+ if (next && CodeMirror.cmpPos(next.pos, range.head) != 0) return next.pos;
+ var prev = cm.scanForBracket(range.head, -1);
+ return prev && Pos(prev.pos.line, prev.pos.ch + 1) || range.head;
+ });
+ };
+
+ var swapLineCombo = mac ? "Cmd-Ctrl-" : "Shift-Ctrl-";
+
+ cmds[map[swapLineCombo + "Up"] = "swapLineUp"] = function(cm) {
+ var ranges = cm.listSelections(), linesToMove = [], at = cm.firstLine() - 1, newSels = [];
+ for (var i = 0; i < ranges.length; i++) {
+ var range = ranges[i], from = range.from().line - 1, to = range.to().line;
+ newSels.push({anchor: Pos(range.anchor.line - 1, range.anchor.ch),
+ head: Pos(range.head.line - 1, range.head.ch)});
+ if (range.to().ch == 0 && !range.empty()) --to;
+ if (from > at) linesToMove.push(from, to);
+ else if (linesToMove.length) linesToMove[linesToMove.length - 1] = to;
+ at = to;
+ }
+ cm.operation(function() {
+ for (var i = 0; i < linesToMove.length; i += 2) {
+ var from = linesToMove[i], to = linesToMove[i + 1];
+ var line = cm.getLine(from);
+ cm.replaceRange("", Pos(from, 0), Pos(from + 1, 0), "+swapLine");
+ if (to > cm.lastLine())
+ cm.replaceRange("\n" + line, Pos(cm.lastLine()), null, "+swapLine");
+ else
+ cm.replaceRange(line + "\n", Pos(to, 0), null, "+swapLine");
+ }
+ cm.setSelections(newSels);
+ cm.scrollIntoView();
+ });
+ };
+
+ cmds[map[swapLineCombo + "Down"] = "swapLineDown"] = function(cm) {
+ var ranges = cm.listSelections(), linesToMove = [], at = cm.lastLine() + 1;
+ for (var i = ranges.length - 1; i >= 0; i--) {
+ var range = ranges[i], from = range.to().line + 1, to = range.from().line;
+ if (range.to().ch == 0 && !range.empty()) from--;
+ if (from < at) linesToMove.push(from, to);
+ else if (linesToMove.length) linesToMove[linesToMove.length - 1] = to;
+ at = to;
+ }
+ cm.operation(function() {
+ for (var i = linesToMove.length - 2; i >= 0; i -= 2) {
+ var from = linesToMove[i], to = linesToMove[i + 1];
+ var line = cm.getLine(from);
+ if (from == cm.lastLine())
+ cm.replaceRange("", Pos(from - 1), Pos(from), "+swapLine");
+ else
+ cm.replaceRange("", Pos(from, 0), Pos(from + 1, 0), "+swapLine");
+ cm.replaceRange(line + "\n", Pos(to, 0), null, "+swapLine");
+ }
+ cm.scrollIntoView();
+ });
+ };
+
+ map[ctrl + "/"] = "toggleComment";
+
+ cmds[map[ctrl + "J"] = "joinLines"] = function(cm) {
+ var ranges = cm.listSelections(), joined = [];
+ for (var i = 0; i < ranges.length; i++) {
+ var range = ranges[i], from = range.from();
+ var start = from.line, end = range.to().line;
+ while (i < ranges.length - 1 && ranges[i + 1].from().line == end)
+ end = ranges[++i].to().line;
+ joined.push({start: start, end: end, anchor: !range.empty() && from});
+ }
+ cm.operation(function() {
+ var offset = 0, ranges = [];
+ for (var i = 0; i < joined.length; i++) {
+ var obj = joined[i];
+ var anchor = obj.anchor && Pos(obj.anchor.line - offset, obj.anchor.ch), head;
+ for (var line = obj.start; line <= obj.end; line++) {
+ var actual = line - offset;
+ if (line == obj.end) head = Pos(actual, cm.getLine(actual).length + 1);
+ if (actual < cm.lastLine()) {
+ cm.replaceRange(" ", Pos(actual), Pos(actual + 1, /^\s*/.exec(cm.getLine(actual + 1))[0].length));
+ ++offset;
+ }
+ }
+ ranges.push({anchor: anchor || head, head: head});
+ }
+ cm.setSelections(ranges, 0);
+ });
+ };
+
+ cmds[map["Shift-" + ctrl + "D"] = "duplicateLine"] = function(cm) {
+ cm.operation(function() {
+ var rangeCount = cm.listSelections().length;
+ for (var i = 0; i < rangeCount; i++) {
+ var range = cm.listSelections()[i];
+ if (range.empty())
+ cm.replaceRange(cm.getLine(range.head.line) + "\n", Pos(range.head.line, 0));
+ else
+ cm.replaceRange(cm.getRange(range.from(), range.to()), range.from());
+ }
+ cm.scrollIntoView();
+ });
+ };
+
+ map[ctrl + "T"] = "transposeChars";
+
+ function sortLines(cm, caseSensitive) {
+ var ranges = cm.listSelections(), toSort = [], selected;
+ for (var i = 0; i < ranges.length; i++) {
+ var range = ranges[i];
+ if (range.empty()) continue;
+ var from = range.from().line, to = range.to().line;
+ while (i < ranges.length - 1 && ranges[i + 1].from().line == to)
+ to = range[++i].to().line;
+ toSort.push(from, to);
+ }
+ if (toSort.length) selected = true;
+ else toSort.push(cm.firstLine(), cm.lastLine());
+
+ cm.operation(function() {
+ var ranges = [];
+ for (var i = 0; i < toSort.length; i += 2) {
+ var from = toSort[i], to = toSort[i + 1];
+ var start = Pos(from, 0), end = Pos(to);
+ var lines = cm.getRange(start, end, false);
+ if (caseSensitive)
+ lines.sort();
+ else
+ lines.sort(function(a, b) {
+ var au = a.toUpperCase(), bu = b.toUpperCase();
+ if (au != bu) { a = au; b = bu; }
+ return a < b ? -1 : a == b ? 0 : 1;
+ });
+ cm.replaceRange(lines, start, end);
+ if (selected) ranges.push({anchor: start, head: end});
+ }
+ if (selected) cm.setSelections(ranges, 0);
+ });
+ }
+
+ cmds[map["F9"] = "sortLines"] = function(cm) { sortLines(cm, true); };
+ cmds[map[ctrl + "F9"] = "sortLinesInsensitive"] = function(cm) { sortLines(cm, false); };
+
+ cmds[map["F2"] = "nextBookmark"] = function(cm) {
+ var marks = cm.state.sublimeBookmarks;
+ if (marks) while (marks.length) {
+ var current = marks.shift();
+ var found = current.find();
+ if (found) {
+ marks.push(current);
+ return cm.setSelection(found.from, found.to);
+ }
+ }
+ };
+
+ cmds[map["Shift-F2"] = "prevBookmark"] = function(cm) {
+ var marks = cm.state.sublimeBookmarks;
+ if (marks) while (marks.length) {
+ marks.unshift(marks.pop());
+ var found = marks[marks.length - 1].find();
+ if (!found)
+ marks.pop();
+ else
+ return cm.setSelection(found.from, found.to);
+ }
+ };
+
+ cmds[map[ctrl + "F2"] = "toggleBookmark"] = function(cm) {
+ var ranges = cm.listSelections();
+ var marks = cm.state.sublimeBookmarks || (cm.state.sublimeBookmarks = []);
+ for (var i = 0; i < ranges.length; i++) {
+ var from = ranges[i].from(), to = ranges[i].to();
+ var found = cm.findMarks(from, to);
+ for (var j = 0; j < found.length; j++) {
+ if (found[j].sublimeBookmark) {
+ found[j].clear();
+ for (var k = 0; k < marks.length; k++)
+ if (marks[k] == found[j])
+ marks.splice(k--, 1);
+ break;
+ }
+ }
+ if (j == found.length)
+ marks.push(cm.markText(from, to, {sublimeBookmark: true, clearWhenEmpty: false}));
+ }
+ };
+
+ cmds[map["Shift-" + ctrl + "F2"] = "clearBookmarks"] = function(cm) {
+ var marks = cm.state.sublimeBookmarks;
+ if (marks) for (var i = 0; i < marks.length; i++) marks[i].clear();
+ marks.length = 0;
+ };
+
+ cmds[map["Alt-F2"] = "selectBookmarks"] = function(cm) {
+ var marks = cm.state.sublimeBookmarks, ranges = [];
+ if (marks) for (var i = 0; i < marks.length; i++) {
+ var found = marks[i].find();
+ if (!found)
+ marks.splice(i--, 0);
+ else
+ ranges.push({anchor: found.from, head: found.to});
+ }
+ if (ranges.length)
+ cm.setSelections(ranges, 0);
+ };
+
+ map["Alt-Q"] = "wrapLines";
+
+ var cK = ctrl + "K ";
+
+ function modifyWordOrSelection(cm, mod) {
+ cm.operation(function() {
+ var ranges = cm.listSelections(), indices = [], replacements = [];
+ for (var i = 0; i < ranges.length; i++) {
+ var range = ranges[i];
+ if (range.empty()) { indices.push(i); replacements.push(""); }
+ else replacements.push(mod(cm.getRange(range.from(), range.to())));
+ }
+ cm.replaceSelections(replacements, "around", "case");
+ for (var i = indices.length - 1, at; i >= 0; i--) {
+ var range = ranges[indices[i]];
+ if (at && CodeMirror.cmpPos(range.head, at) > 0) continue;
+ var word = wordAt(cm, range.head);
+ at = word.from;
+ cm.replaceRange(mod(word.word), word.from, word.to);
+ }
+ });
+ }
+
+ map[cK + ctrl + "Backspace"] = "delLineLeft";
+
+ cmds[map["Backspace"] = "smartBackspace"] = function(cm) {
+ if (cm.somethingSelected()) return CodeMirror.Pass;
+
+ var cursor = cm.getCursor();
+ var toStartOfLine = cm.getRange({line: cursor.line, ch: 0}, cursor);
+ var column = CodeMirror.countColumn(toStartOfLine, null, cm.getOption("tabSize"));
+
+ if (toStartOfLine && !/\S/.test(toStartOfLine) && column % cm.getOption("indentUnit") == 0)
+ return cm.indentSelection("subtract");
+ else
+ return CodeMirror.Pass;
+ };
+
+ cmds[map[cK + ctrl + "K"] = "delLineRight"] = function(cm) {
+ cm.operation(function() {
+ var ranges = cm.listSelections();
+ for (var i = ranges.length - 1; i >= 0; i--)
+ cm.replaceRange("", ranges[i].anchor, Pos(ranges[i].to().line), "+delete");
+ cm.scrollIntoView();
+ });
+ };
+
+ cmds[map[cK + ctrl + "U"] = "upcaseAtCursor"] = function(cm) {
+ modifyWordOrSelection(cm, function(str) { return str.toUpperCase(); });
+ };
+ cmds[map[cK + ctrl + "L"] = "downcaseAtCursor"] = function(cm) {
+ modifyWordOrSelection(cm, function(str) { return str.toLowerCase(); });
+ };
+
+ cmds[map[cK + ctrl + "Space"] = "setSublimeMark"] = function(cm) {
+ if (cm.state.sublimeMark) cm.state.sublimeMark.clear();
+ cm.state.sublimeMark = cm.setBookmark(cm.getCursor());
+ };
+ cmds[map[cK + ctrl + "A"] = "selectToSublimeMark"] = function(cm) {
+ var found = cm.state.sublimeMark && cm.state.sublimeMark.find();
+ if (found) cm.setSelection(cm.getCursor(), found);
+ };
+ cmds[map[cK + ctrl + "W"] = "deleteToSublimeMark"] = function(cm) {
+ var found = cm.state.sublimeMark && cm.state.sublimeMark.find();
+ if (found) {
+ var from = cm.getCursor(), to = found;
+ if (CodeMirror.cmpPos(from, to) > 0) { var tmp = to; to = from; from = tmp; }
+ cm.state.sublimeKilled = cm.getRange(from, to);
+ cm.replaceRange("", from, to);
+ }
+ };
+ cmds[map[cK + ctrl + "X"] = "swapWithSublimeMark"] = function(cm) {
+ var found = cm.state.sublimeMark && cm.state.sublimeMark.find();
+ if (found) {
+ cm.state.sublimeMark.clear();
+ cm.state.sublimeMark = cm.setBookmark(cm.getCursor());
+ cm.setCursor(found);
+ }
+ };
+ cmds[map[cK + ctrl + "Y"] = "sublimeYank"] = function(cm) {
+ if (cm.state.sublimeKilled != null)
+ cm.replaceSelection(cm.state.sublimeKilled, null, "paste");
+ };
+
+ map[cK + ctrl + "G"] = "clearBookmarks";
+ cmds[map[cK + ctrl + "C"] = "showInCenter"] = function(cm) {
+ var pos = cm.cursorCoords(null, "local");
+ cm.scrollTo(null, (pos.top + pos.bottom) / 2 - cm.getScrollInfo().clientHeight / 2);
+ };
+
+ cmds[map["Shift-Alt-Up"] = "selectLinesUpward"] = function(cm) {
+ cm.operation(function() {
+ var ranges = cm.listSelections();
+ for (var i = 0; i < ranges.length; i++) {
+ var range = ranges[i];
+ if (range.head.line > cm.firstLine())
+ cm.addSelection(Pos(range.head.line - 1, range.head.ch));
+ }
+ });
+ };
+ cmds[map["Shift-Alt-Down"] = "selectLinesDownward"] = function(cm) {
+ cm.operation(function() {
+ var ranges = cm.listSelections();
+ for (var i = 0; i < ranges.length; i++) {
+ var range = ranges[i];
+ if (range.head.line < cm.lastLine())
+ cm.addSelection(Pos(range.head.line + 1, range.head.ch));
+ }
+ });
+ };
+
+ function getTarget(cm) {
+ var from = cm.getCursor("from"), to = cm.getCursor("to");
+ if (CodeMirror.cmpPos(from, to) == 0) {
+ var word = wordAt(cm, from);
+ if (!word.word) return;
+ from = word.from;
+ to = word.to;
+ }
+ return {from: from, to: to, query: cm.getRange(from, to), word: word};
+ }
+
+ function findAndGoTo(cm, forward) {
+ var target = getTarget(cm);
+ if (!target) return;
+ var query = target.query;
+ var cur = cm.getSearchCursor(query, forward ? target.to : target.from);
+
+ if (forward ? cur.findNext() : cur.findPrevious()) {
+ cm.setSelection(cur.from(), cur.to());
+ } else {
+ cur = cm.getSearchCursor(query, forward ? Pos(cm.firstLine(), 0)
+ : cm.clipPos(Pos(cm.lastLine())));
+ if (forward ? cur.findNext() : cur.findPrevious())
+ cm.setSelection(cur.from(), cur.to());
+ else if (target.word)
+ cm.setSelection(target.from, target.to);
+ }
+ };
+ cmds[map[ctrl + "F3"] = "findUnder"] = function(cm) { findAndGoTo(cm, true); };
+ cmds[map["Shift-" + ctrl + "F3"] = "findUnderPrevious"] = function(cm) { findAndGoTo(cm,false); };
+ cmds[map["Alt-F3"] = "findAllUnder"] = function(cm) {
+ var target = getTarget(cm);
+ if (!target) return;
+ var cur = cm.getSearchCursor(target.query);
+ var matches = [];
+ var primaryIndex = -1;
+ while (cur.findNext()) {
+ matches.push({anchor: cur.from(), head: cur.to()});
+ if (cur.from().line <= target.from.line && cur.from().ch <= target.from.ch)
+ primaryIndex++;
+ }
+ cm.setSelections(matches, primaryIndex);
+ };
+
+ map["Shift-" + ctrl + "["] = "fold";
+ map["Shift-" + ctrl + "]"] = "unfold";
+ map[cK + ctrl + "0"] = map[cK + ctrl + "j"] = "unfoldAll";
+
+ map[ctrl + "I"] = "findIncremental";
+ map["Shift-" + ctrl + "I"] = "findIncrementalReverse";
+ map[ctrl + "H"] = "replace";
+ map["F3"] = "findNext";
+ map["Shift-F3"] = "findPrev";
+
+ CodeMirror.normalizeKeyMap(map);
+});
diff --git a/public/vendor/codemirror/keymap/vim.js b/public/vendor/codemirror/keymap/vim.js
new file mode 100755
index 00000000..ef5dd8c0
--- /dev/null
+++ b/public/vendor/codemirror/keymap/vim.js
@@ -0,0 +1,5042 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+/**
+ * Supported keybindings:
+ *
+ * Motion:
+ * h, j, k, l
+ * gj, gk
+ * e, E, w, W, b, B, ge, gE
+ * f, F, t, T
+ * $, ^, 0, -, +, _
+ * gg, G
+ * %
+ * ', `
+ *
+ * Operator:
+ * d, y, c
+ * dd, yy, cc
+ * g~, g~g~
+ * >, <, >>, <<
+ *
+ * Operator-Motion:
+ * x, X, D, Y, C, ~
+ *
+ * Action:
+ * a, i, s, A, I, S, o, O
+ * zz, z., z, zt, zb, z-
+ * J
+ * u, Ctrl-r
+ * m
+ * r
+ *
+ * Modes:
+ * ESC - leave insert mode, visual mode, and clear input state.
+ * Ctrl-[, Ctrl-c - same as ESC.
+ *
+ * Registers: unnamed, -, a-z, A-Z, 0-9
+ * (Does not respect the special case for number registers when delete
+ * operator is made with these commands: %, (, ), , /, ?, n, N, {, } )
+ * TODO: Implement the remaining registers.
+ * Marks: a-z, A-Z, and 0-9
+ * TODO: Implement the remaining special marks. They have more complex
+ * behavior.
+ *
+ * Events:
+ * 'vim-mode-change' - raised on the editor anytime the current mode changes,
+ * Event object: {mode: "visual", subMode: "linewise"}
+ *
+ * Code structure:
+ * 1. Default keymap
+ * 2. Variable declarations and short basic helpers
+ * 3. Instance (External API) implementation
+ * 4. Internal state tracking objects (input state, counter) implementation
+ * and instanstiation
+ * 5. Key handler (the main command dispatcher) implementation
+ * 6. Motion, operator, and action implementations
+ * 7. Helper functions for the key handler, motions, operators, and actions
+ * 8. Set up Vim to work as a keymap for CodeMirror.
+ */
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../lib/codemirror"), require("../addon/search/searchcursor"), require("../addon/dialog/dialog"), require("../addon/edit/matchbrackets.js"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../lib/codemirror", "../addon/search/searchcursor", "../addon/dialog/dialog", "../addon/edit/matchbrackets"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+ 'use strict';
+
+ var defaultKeymap = [
+ // Key to key mapping. This goes first to make it possible to override
+ // existing mappings.
+ { keys: '', type: 'keyToKey', toKeys: 'h' },
+ { keys: '', type: 'keyToKey', toKeys: 'l' },
+ { keys: '', type: 'keyToKey', toKeys: 'k' },
+ { keys: '', type: 'keyToKey', toKeys: 'j' },
+ { keys: '', type: 'keyToKey', toKeys: 'l' },
+ { keys: '', type: 'keyToKey', toKeys: 'h', context: 'normal'},
+ { keys: '', type: 'keyToKey', toKeys: 'W' },
+ { keys: '', type: 'keyToKey', toKeys: 'B', context: 'normal' },
+ { keys: '', type: 'keyToKey', toKeys: 'w' },
+ { keys: '', type: 'keyToKey', toKeys: 'b', context: 'normal' },
+ { keys: '', type: 'keyToKey', toKeys: 'j' },
+ { keys: '', type: 'keyToKey', toKeys: 'k' },
+ { keys: '', type: 'keyToKey', toKeys: '' },
+ { keys: '', type: 'keyToKey', toKeys: '' },
+ { keys: '', type: 'keyToKey', toKeys: '', context: 'insert' },
+ { keys: '', type: 'keyToKey', toKeys: '', context: 'insert' },
+ { keys: 's', type: 'keyToKey', toKeys: 'cl', context: 'normal' },
+ { keys: 's', type: 'keyToKey', toKeys: 'xi', context: 'visual'},
+ { keys: 'S', type: 'keyToKey', toKeys: 'cc', context: 'normal' },
+ { keys: 'S', type: 'keyToKey', toKeys: 'dcc', context: 'visual' },
+ { keys: '', type: 'keyToKey', toKeys: '0' },
+ { keys: '', type: 'keyToKey', toKeys: '$' },
+ { keys: '', type: 'keyToKey', toKeys: '' },
+ { keys: '', type: 'keyToKey', toKeys: '' },
+ { keys: '', type: 'keyToKey', toKeys: 'j^', context: 'normal' },
+ // Motions
+ { keys: 'H', type: 'motion', motion: 'moveToTopLine', motionArgs: { linewise: true, toJumplist: true }},
+ { keys: 'M', type: 'motion', motion: 'moveToMiddleLine', motionArgs: { linewise: true, toJumplist: true }},
+ { keys: 'L', type: 'motion', motion: 'moveToBottomLine', motionArgs: { linewise: true, toJumplist: true }},
+ { keys: 'h', type: 'motion', motion: 'moveByCharacters', motionArgs: { forward: false }},
+ { keys: 'l', type: 'motion', motion: 'moveByCharacters', motionArgs: { forward: true }},
+ { keys: 'j', type: 'motion', motion: 'moveByLines', motionArgs: { forward: true, linewise: true }},
+ { keys: 'k', type: 'motion', motion: 'moveByLines', motionArgs: { forward: false, linewise: true }},
+ { keys: 'gj', type: 'motion', motion: 'moveByDisplayLines', motionArgs: { forward: true }},
+ { keys: 'gk', type: 'motion', motion: 'moveByDisplayLines', motionArgs: { forward: false }},
+ { keys: 'w', type: 'motion', motion: 'moveByWords', motionArgs: { forward: true, wordEnd: false }},
+ { keys: 'W', type: 'motion', motion: 'moveByWords', motionArgs: { forward: true, wordEnd: false, bigWord: true }},
+ { keys: 'e', type: 'motion', motion: 'moveByWords', motionArgs: { forward: true, wordEnd: true, inclusive: true }},
+ { keys: 'E', type: 'motion', motion: 'moveByWords', motionArgs: { forward: true, wordEnd: true, bigWord: true, inclusive: true }},
+ { keys: 'b', type: 'motion', motion: 'moveByWords', motionArgs: { forward: false, wordEnd: false }},
+ { keys: 'B', type: 'motion', motion: 'moveByWords', motionArgs: { forward: false, wordEnd: false, bigWord: true }},
+ { keys: 'ge', type: 'motion', motion: 'moveByWords', motionArgs: { forward: false, wordEnd: true, inclusive: true }},
+ { keys: 'gE', type: 'motion', motion: 'moveByWords', motionArgs: { forward: false, wordEnd: true, bigWord: true, inclusive: true }},
+ { keys: '{', type: 'motion', motion: 'moveByParagraph', motionArgs: { forward: false, toJumplist: true }},
+ { keys: '}', type: 'motion', motion: 'moveByParagraph', motionArgs: { forward: true, toJumplist: true }},
+ { keys: '', type: 'motion', motion: 'moveByPage', motionArgs: { forward: true }},
+ { keys: '', type: 'motion', motion: 'moveByPage', motionArgs: { forward: false }},
+ { keys: '', type: 'motion', motion: 'moveByScroll', motionArgs: { forward: true, explicitRepeat: true }},
+ { keys: '', type: 'motion', motion: 'moveByScroll', motionArgs: { forward: false, explicitRepeat: true }},
+ { keys: 'gg', type: 'motion', motion: 'moveToLineOrEdgeOfDocument', motionArgs: { forward: false, explicitRepeat: true, linewise: true, toJumplist: true }},
+ { keys: 'G', type: 'motion', motion: 'moveToLineOrEdgeOfDocument', motionArgs: { forward: true, explicitRepeat: true, linewise: true, toJumplist: true }},
+ { keys: '0', type: 'motion', motion: 'moveToStartOfLine' },
+ { keys: '^', type: 'motion', motion: 'moveToFirstNonWhiteSpaceCharacter' },
+ { keys: '+', type: 'motion', motion: 'moveByLines', motionArgs: { forward: true, toFirstChar:true }},
+ { keys: '-', type: 'motion', motion: 'moveByLines', motionArgs: { forward: false, toFirstChar:true }},
+ { keys: '_', type: 'motion', motion: 'moveByLines', motionArgs: { forward: true, toFirstChar:true, repeatOffset:-1 }},
+ { keys: '$', type: 'motion', motion: 'moveToEol', motionArgs: { inclusive: true }},
+ { keys: '%', type: 'motion', motion: 'moveToMatchedSymbol', motionArgs: { inclusive: true, toJumplist: true }},
+ { keys: 'f', type: 'motion', motion: 'moveToCharacter', motionArgs: { forward: true , inclusive: true }},
+ { keys: 'F', type: 'motion', motion: 'moveToCharacter', motionArgs: { forward: false }},
+ { keys: 't', type: 'motion', motion: 'moveTillCharacter', motionArgs: { forward: true, inclusive: true }},
+ { keys: 'T', type: 'motion', motion: 'moveTillCharacter', motionArgs: { forward: false }},
+ { keys: ';', type: 'motion', motion: 'repeatLastCharacterSearch', motionArgs: { forward: true }},
+ { keys: ',', type: 'motion', motion: 'repeatLastCharacterSearch', motionArgs: { forward: false }},
+ { keys: '\'', type: 'motion', motion: 'goToMark', motionArgs: {toJumplist: true, linewise: true}},
+ { keys: '`', type: 'motion', motion: 'goToMark', motionArgs: {toJumplist: true}},
+ { keys: ']`', type: 'motion', motion: 'jumpToMark', motionArgs: { forward: true } },
+ { keys: '[`', type: 'motion', motion: 'jumpToMark', motionArgs: { forward: false } },
+ { keys: ']\'', type: 'motion', motion: 'jumpToMark', motionArgs: { forward: true, linewise: true } },
+ { keys: '[\'', type: 'motion', motion: 'jumpToMark', motionArgs: { forward: false, linewise: true } },
+ // the next two aren't motions but must come before more general motion declarations
+ { keys: ']p', type: 'action', action: 'paste', isEdit: true, actionArgs: { after: true, isEdit: true, matchIndent: true}},
+ { keys: '[p', type: 'action', action: 'paste', isEdit: true, actionArgs: { after: false, isEdit: true, matchIndent: true}},
+ { keys: ']', type: 'motion', motion: 'moveToSymbol', motionArgs: { forward: true, toJumplist: true}},
+ { keys: '[', type: 'motion', motion: 'moveToSymbol', motionArgs: { forward: false, toJumplist: true}},
+ { keys: '|', type: 'motion', motion: 'moveToColumn'},
+ { keys: 'o', type: 'motion', motion: 'moveToOtherHighlightedEnd', context:'visual'},
+ { keys: 'O', type: 'motion', motion: 'moveToOtherHighlightedEnd', motionArgs: {sameLine: true}, context:'visual'},
+ // Operators
+ { keys: 'd', type: 'operator', operator: 'delete' },
+ { keys: 'y', type: 'operator', operator: 'yank' },
+ { keys: 'c', type: 'operator', operator: 'change' },
+ { keys: '>', type: 'operator', operator: 'indent', operatorArgs: { indentRight: true }},
+ { keys: '<', type: 'operator', operator: 'indent', operatorArgs: { indentRight: false }},
+ { keys: 'g~', type: 'operator', operator: 'changeCase' },
+ { keys: 'gu', type: 'operator', operator: 'changeCase', operatorArgs: {toLower: true}, isEdit: true },
+ { keys: 'gU', type: 'operator', operator: 'changeCase', operatorArgs: {toLower: false}, isEdit: true },
+ { keys: 'n', type: 'motion', motion: 'findNext', motionArgs: { forward: true, toJumplist: true }},
+ { keys: 'N', type: 'motion', motion: 'findNext', motionArgs: { forward: false, toJumplist: true }},
+ // Operator-Motion dual commands
+ { keys: 'x', type: 'operatorMotion', operator: 'delete', motion: 'moveByCharacters', motionArgs: { forward: true }, operatorMotionArgs: { visualLine: false }},
+ { keys: 'X', type: 'operatorMotion', operator: 'delete', motion: 'moveByCharacters', motionArgs: { forward: false }, operatorMotionArgs: { visualLine: true }},
+ { keys: 'D', type: 'operatorMotion', operator: 'delete', motion: 'moveToEol', motionArgs: { inclusive: true }, context: 'normal'},
+ { keys: 'D', type: 'operator', operator: 'delete', operatorArgs: { linewise: true }, context: 'visual'},
+ { keys: 'Y', type: 'operatorMotion', operator: 'yank', motion: 'moveToEol', motionArgs: { inclusive: true }, context: 'normal'},
+ { keys: 'Y', type: 'operator', operator: 'yank', operatorArgs: { linewise: true }, context: 'visual'},
+ { keys: 'C', type: 'operatorMotion', operator: 'change', motion: 'moveToEol', motionArgs: { inclusive: true }, context: 'normal'},
+ { keys: 'C', type: 'operator', operator: 'change', operatorArgs: { linewise: true }, context: 'visual'},
+ { keys: '~', type: 'operatorMotion', operator: 'changeCase', motion: 'moveByCharacters', motionArgs: { forward: true }, operatorArgs: { shouldMoveCursor: true }, context: 'normal'},
+ { keys: '~', type: 'operator', operator: 'changeCase', context: 'visual'},
+ { keys: '', type: 'operatorMotion', operator: 'delete', motion: 'moveByWords', motionArgs: { forward: false, wordEnd: false }, context: 'insert' },
+ // Actions
+ { keys: '', type: 'action', action: 'jumpListWalk', actionArgs: { forward: true }},
+ { keys: '', type: 'action', action: 'jumpListWalk', actionArgs: { forward: false }},
+ { keys: '', type: 'action', action: 'scroll', actionArgs: { forward: true, linewise: true }},
+ { keys: '', type: 'action', action: 'scroll', actionArgs: { forward: false, linewise: true }},
+ { keys: 'a', type: 'action', action: 'enterInsertMode', isEdit: true, actionArgs: { insertAt: 'charAfter' }, context: 'normal' },
+ { keys: 'A', type: 'action', action: 'enterInsertMode', isEdit: true, actionArgs: { insertAt: 'eol' }, context: 'normal' },
+ { keys: 'A', type: 'action', action: 'enterInsertMode', isEdit: true, actionArgs: { insertAt: 'endOfSelectedArea' }, context: 'visual' },
+ { keys: 'i', type: 'action', action: 'enterInsertMode', isEdit: true, actionArgs: { insertAt: 'inplace' }, context: 'normal' },
+ { keys: 'I', type: 'action', action: 'enterInsertMode', isEdit: true, actionArgs: { insertAt: 'firstNonBlank'}, context: 'normal' },
+ { keys: 'I', type: 'action', action: 'enterInsertMode', isEdit: true, actionArgs: { insertAt: 'startOfSelectedArea' }, context: 'visual' },
+ { keys: 'o', type: 'action', action: 'newLineAndEnterInsertMode', isEdit: true, interlaceInsertRepeat: true, actionArgs: { after: true }, context: 'normal' },
+ { keys: 'O', type: 'action', action: 'newLineAndEnterInsertMode', isEdit: true, interlaceInsertRepeat: true, actionArgs: { after: false }, context: 'normal' },
+ { keys: 'v', type: 'action', action: 'toggleVisualMode' },
+ { keys: 'V', type: 'action', action: 'toggleVisualMode', actionArgs: { linewise: true }},
+ { keys: '', type: 'action', action: 'toggleVisualMode', actionArgs: { blockwise: true }},
+ { keys: 'gv', type: 'action', action: 'reselectLastSelection' },
+ { keys: 'J', type: 'action', action: 'joinLines', isEdit: true },
+ { keys: 'p', type: 'action', action: 'paste', isEdit: true, actionArgs: { after: true, isEdit: true }},
+ { keys: 'P', type: 'action', action: 'paste', isEdit: true, actionArgs: { after: false, isEdit: true }},
+ { keys: 'r', type: 'action', action: 'replace', isEdit: true },
+ { keys: '@', type: 'action', action: 'replayMacro' },
+ { keys: 'q', type: 'action', action: 'enterMacroRecordMode' },
+ // Handle Replace-mode as a special case of insert mode.
+ { keys: 'R', type: 'action', action: 'enterInsertMode', isEdit: true, actionArgs: { replace: true }},
+ { keys: 'u', type: 'action', action: 'undo', context: 'normal' },
+ { keys: 'u', type: 'operator', operator: 'changeCase', operatorArgs: {toLower: true}, context: 'visual', isEdit: true },
+ { keys: 'U', type: 'operator', operator: 'changeCase', operatorArgs: {toLower: false}, context: 'visual', isEdit: true },
+ { keys: '', type: 'action', action: 'redo' },
+ { keys: 'm', type: 'action', action: 'setMark' },
+ { keys: '"', type: 'action', action: 'setRegister' },
+ { keys: 'zz', type: 'action', action: 'scrollToCursor', actionArgs: { position: 'center' }},
+ { keys: 'z.', type: 'action', action: 'scrollToCursor', actionArgs: { position: 'center' }, motion: 'moveToFirstNonWhiteSpaceCharacter' },
+ { keys: 'zt', type: 'action', action: 'scrollToCursor', actionArgs: { position: 'top' }},
+ { keys: 'z', type: 'action', action: 'scrollToCursor', actionArgs: { position: 'top' }, motion: 'moveToFirstNonWhiteSpaceCharacter' },
+ { keys: 'z-', type: 'action', action: 'scrollToCursor', actionArgs: { position: 'bottom' }},
+ { keys: 'zb', type: 'action', action: 'scrollToCursor', actionArgs: { position: 'bottom' }, motion: 'moveToFirstNonWhiteSpaceCharacter' },
+ { keys: '.', type: 'action', action: 'repeatLastEdit' },
+ { keys: '', type: 'action', action: 'incrementNumberToken', isEdit: true, actionArgs: {increase: true, backtrack: false}},
+ { keys: '', type: 'action', action: 'incrementNumberToken', isEdit: true, actionArgs: {increase: false, backtrack: false}},
+ // Text object motions
+ { keys: 'a', type: 'motion', motion: 'textObjectManipulation' },
+ { keys: 'i', type: 'motion', motion: 'textObjectManipulation', motionArgs: { textObjectInner: true }},
+ // Search
+ { keys: '/', type: 'search', searchArgs: { forward: true, querySrc: 'prompt', toJumplist: true }},
+ { keys: '?', type: 'search', searchArgs: { forward: false, querySrc: 'prompt', toJumplist: true }},
+ { keys: '*', type: 'search', searchArgs: { forward: true, querySrc: 'wordUnderCursor', wholeWordOnly: true, toJumplist: true }},
+ { keys: '#', type: 'search', searchArgs: { forward: false, querySrc: 'wordUnderCursor', wholeWordOnly: true, toJumplist: true }},
+ { keys: 'g*', type: 'search', searchArgs: { forward: true, querySrc: 'wordUnderCursor', toJumplist: true }},
+ { keys: 'g#', type: 'search', searchArgs: { forward: false, querySrc: 'wordUnderCursor', toJumplist: true }},
+ // Ex command
+ { keys: ':', type: 'ex' }
+ ];
+
+ var Pos = CodeMirror.Pos;
+
+ var Vim = function() {
+ function enterVimMode(cm) {
+ cm.setOption('disableInput', true);
+ cm.setOption('showCursorWhenSelecting', false);
+ CodeMirror.signal(cm, "vim-mode-change", {mode: "normal"});
+ cm.on('cursorActivity', onCursorActivity);
+ maybeInitVimState(cm);
+ CodeMirror.on(cm.getInputField(), 'paste', getOnPasteFn(cm));
+ }
+
+ function leaveVimMode(cm) {
+ cm.setOption('disableInput', false);
+ cm.off('cursorActivity', onCursorActivity);
+ CodeMirror.off(cm.getInputField(), 'paste', getOnPasteFn(cm));
+ cm.state.vim = null;
+ }
+
+ function detachVimMap(cm, next) {
+ if (this == CodeMirror.keyMap.vim)
+ CodeMirror.rmClass(cm.getWrapperElement(), "cm-fat-cursor");
+
+ if (!next || next.attach != attachVimMap)
+ leaveVimMode(cm, false);
+ }
+ function attachVimMap(cm, prev) {
+ if (this == CodeMirror.keyMap.vim)
+ CodeMirror.addClass(cm.getWrapperElement(), "cm-fat-cursor");
+
+ if (!prev || prev.attach != attachVimMap)
+ enterVimMode(cm);
+ }
+
+ // Deprecated, simply setting the keymap works again.
+ CodeMirror.defineOption('vimMode', false, function(cm, val, prev) {
+ if (val && cm.getOption("keyMap") != "vim")
+ cm.setOption("keyMap", "vim");
+ else if (!val && prev != CodeMirror.Init && /^vim/.test(cm.getOption("keyMap")))
+ cm.setOption("keyMap", "default");
+ });
+
+ function cmKey(key, cm) {
+ if (!cm) { return undefined; }
+ var vimKey = cmKeyToVimKey(key);
+ if (!vimKey) {
+ return false;
+ }
+ var cmd = CodeMirror.Vim.findKey(cm, vimKey);
+ if (typeof cmd == 'function') {
+ CodeMirror.signal(cm, 'vim-keypress', vimKey);
+ }
+ return cmd;
+ }
+
+ var modifiers = {'Shift': 'S', 'Ctrl': 'C', 'Alt': 'A', 'Cmd': 'D', 'Mod': 'A'};
+ var specialKeys = {Enter:'CR',Backspace:'BS',Delete:'Del'};
+ function cmKeyToVimKey(key) {
+ if (key.charAt(0) == '\'') {
+ // Keypress character binding of format "'a'"
+ return key.charAt(1);
+ }
+ var pieces = key.split('-');
+ if (/-$/.test(key)) {
+ // If the - key was typed, split will result in 2 extra empty strings
+ // in the array. Replace them with 1 '-'.
+ pieces.splice(-2, 2, '-');
+ }
+ var lastPiece = pieces[pieces.length - 1];
+ if (pieces.length == 1 && pieces[0].length == 1) {
+ // No-modifier bindings use literal character bindings above. Skip.
+ return false;
+ } else if (pieces.length == 2 && pieces[0] == 'Shift' && lastPiece.length == 1) {
+ // Ignore Shift+char bindings as they should be handled by literal character.
+ return false;
+ }
+ var hasCharacter = false;
+ for (var i = 0; i < pieces.length; i++) {
+ var piece = pieces[i];
+ if (piece in modifiers) { pieces[i] = modifiers[piece]; }
+ else { hasCharacter = true; }
+ if (piece in specialKeys) { pieces[i] = specialKeys[piece]; }
+ }
+ if (!hasCharacter) {
+ // Vim does not support modifier only keys.
+ return false;
+ }
+ // TODO: Current bindings expect the character to be lower case, but
+ // it looks like vim key notation uses upper case.
+ if (isUpperCase(lastPiece)) {
+ pieces[pieces.length - 1] = lastPiece.toLowerCase();
+ }
+ return '<' + pieces.join('-') + '>';
+ }
+
+ function getOnPasteFn(cm) {
+ var vim = cm.state.vim;
+ if (!vim.onPasteFn) {
+ vim.onPasteFn = function() {
+ if (!vim.insertMode) {
+ cm.setCursor(offsetCursor(cm.getCursor(), 0, 1));
+ actions.enterInsertMode(cm, {}, vim);
+ }
+ };
+ }
+ return vim.onPasteFn;
+ }
+
+ var numberRegex = /[\d]/;
+ var wordCharTest = [CodeMirror.isWordChar, function(ch) {
+ return ch && !CodeMirror.isWordChar(ch) && !/\s/.test(ch);
+ }], bigWordCharTest = [function(ch) {
+ return /\S/.test(ch);
+ }];
+ function makeKeyRange(start, size) {
+ var keys = [];
+ for (var i = start; i < start + size; i++) {
+ keys.push(String.fromCharCode(i));
+ }
+ return keys;
+ }
+ var upperCaseAlphabet = makeKeyRange(65, 26);
+ var lowerCaseAlphabet = makeKeyRange(97, 26);
+ var numbers = makeKeyRange(48, 10);
+ var validMarks = [].concat(upperCaseAlphabet, lowerCaseAlphabet, numbers, ['<', '>']);
+ var validRegisters = [].concat(upperCaseAlphabet, lowerCaseAlphabet, numbers, ['-', '"', '.', ':', '/']);
+
+ function isLine(cm, line) {
+ return line >= cm.firstLine() && line <= cm.lastLine();
+ }
+ function isLowerCase(k) {
+ return (/^[a-z]$/).test(k);
+ }
+ function isMatchableSymbol(k) {
+ return '()[]{}'.indexOf(k) != -1;
+ }
+ function isNumber(k) {
+ return numberRegex.test(k);
+ }
+ function isUpperCase(k) {
+ return (/^[A-Z]$/).test(k);
+ }
+ function isWhiteSpaceString(k) {
+ return (/^\s*$/).test(k);
+ }
+ function inArray(val, arr) {
+ for (var i = 0; i < arr.length; i++) {
+ if (arr[i] == val) {
+ return true;
+ }
+ }
+ return false;
+ }
+
+ var options = {};
+ function defineOption(name, defaultValue, type, aliases, callback) {
+ if (defaultValue === undefined && !callback) {
+ throw Error('defaultValue is required unless callback is provided');
+ }
+ if (!type) { type = 'string'; }
+ options[name] = {
+ type: type,
+ defaultValue: defaultValue,
+ callback: callback
+ };
+ if (aliases) {
+ for (var i = 0; i < aliases.length; i++) {
+ options[aliases[i]] = options[name];
+ }
+ }
+ if (defaultValue) {
+ setOption(name, defaultValue);
+ }
+ }
+
+ function setOption(name, value, cm, cfg) {
+ var option = options[name];
+ cfg = cfg || {};
+ var scope = cfg.scope;
+ if (!option) {
+ throw Error('Unknown option: ' + name);
+ }
+ if (option.type == 'boolean') {
+ if (value && value !== true) {
+ throw Error('Invalid argument: ' + name + '=' + value);
+ } else if (value !== false) {
+ // Boolean options are set to true if value is not defined.
+ value = true;
+ }
+ }
+ if (option.callback) {
+ if (scope !== 'local') {
+ option.callback(value, undefined);
+ }
+ if (scope !== 'global' && cm) {
+ option.callback(value, cm);
+ }
+ } else {
+ if (scope !== 'local') {
+ option.value = option.type == 'boolean' ? !!value : value;
+ }
+ if (scope !== 'global' && cm) {
+ cm.state.vim.options[name] = {value: value};
+ }
+ }
+ }
+
+ function getOption(name, cm, cfg) {
+ var option = options[name];
+ cfg = cfg || {};
+ var scope = cfg.scope;
+ if (!option) {
+ throw Error('Unknown option: ' + name);
+ }
+ if (option.callback) {
+ var local = cm && option.callback(undefined, cm);
+ if (scope !== 'global' && local !== undefined) {
+ return local;
+ }
+ if (scope !== 'local') {
+ return option.callback();
+ }
+ return;
+ } else {
+ var local = (scope !== 'global') && (cm && cm.state.vim.options[name]);
+ return (local || (scope !== 'local') && option || {}).value;
+ }
+ }
+
+ defineOption('filetype', undefined, 'string', ['ft'], function(name, cm) {
+ // Option is local. Do nothing for global.
+ if (cm === undefined) {
+ return;
+ }
+ // The 'filetype' option proxies to the CodeMirror 'mode' option.
+ if (name === undefined) {
+ var mode = cm.getMode().name;
+ return mode == 'null' ? '' : mode;
+ } else {
+ var mode = name == '' ? 'null' : name;
+ cm.setOption('mode', mode);
+ }
+ });
+
+ var createCircularJumpList = function() {
+ var size = 100;
+ var pointer = -1;
+ var head = 0;
+ var tail = 0;
+ var buffer = new Array(size);
+ function add(cm, oldCur, newCur) {
+ var current = pointer % size;
+ var curMark = buffer[current];
+ function useNextSlot(cursor) {
+ var next = ++pointer % size;
+ var trashMark = buffer[next];
+ if (trashMark) {
+ trashMark.clear();
+ }
+ buffer[next] = cm.setBookmark(cursor);
+ }
+ if (curMark) {
+ var markPos = curMark.find();
+ // avoid recording redundant cursor position
+ if (markPos && !cursorEqual(markPos, oldCur)) {
+ useNextSlot(oldCur);
+ }
+ } else {
+ useNextSlot(oldCur);
+ }
+ useNextSlot(newCur);
+ head = pointer;
+ tail = pointer - size + 1;
+ if (tail < 0) {
+ tail = 0;
+ }
+ }
+ function move(cm, offset) {
+ pointer += offset;
+ if (pointer > head) {
+ pointer = head;
+ } else if (pointer < tail) {
+ pointer = tail;
+ }
+ var mark = buffer[(size + pointer) % size];
+ // skip marks that are temporarily removed from text buffer
+ if (mark && !mark.find()) {
+ var inc = offset > 0 ? 1 : -1;
+ var newCur;
+ var oldCur = cm.getCursor();
+ do {
+ pointer += inc;
+ mark = buffer[(size + pointer) % size];
+ // skip marks that are the same as current position
+ if (mark &&
+ (newCur = mark.find()) &&
+ !cursorEqual(oldCur, newCur)) {
+ break;
+ }
+ } while (pointer < head && pointer > tail);
+ }
+ return mark;
+ }
+ return {
+ cachedCursor: undefined, //used for # and * jumps
+ add: add,
+ move: move
+ };
+ };
+
+ // Returns an object to track the changes associated insert mode. It
+ // clones the object that is passed in, or creates an empty object one if
+ // none is provided.
+ var createInsertModeChanges = function(c) {
+ if (c) {
+ // Copy construction
+ return {
+ changes: c.changes,
+ expectCursorActivityForChange: c.expectCursorActivityForChange
+ };
+ }
+ return {
+ // Change list
+ changes: [],
+ // Set to true on change, false on cursorActivity.
+ expectCursorActivityForChange: false
+ };
+ };
+
+ function MacroModeState() {
+ this.latestRegister = undefined;
+ this.isPlaying = false;
+ this.isRecording = false;
+ this.replaySearchQueries = [];
+ this.onRecordingDone = undefined;
+ this.lastInsertModeChanges = createInsertModeChanges();
+ }
+ MacroModeState.prototype = {
+ exitMacroRecordMode: function() {
+ var macroModeState = vimGlobalState.macroModeState;
+ if (macroModeState.onRecordingDone) {
+ macroModeState.onRecordingDone(); // close dialog
+ }
+ macroModeState.onRecordingDone = undefined;
+ macroModeState.isRecording = false;
+ },
+ enterMacroRecordMode: function(cm, registerName) {
+ var register =
+ vimGlobalState.registerController.getRegister(registerName);
+ if (register) {
+ register.clear();
+ this.latestRegister = registerName;
+ if (cm.openDialog) {
+ this.onRecordingDone = cm.openDialog(
+ '(recording)['+registerName+']', null, {bottom:true});
+ }
+ this.isRecording = true;
+ }
+ }
+ };
+
+ function maybeInitVimState(cm) {
+ if (!cm.state.vim) {
+ // Store instance state in the CodeMirror object.
+ cm.state.vim = {
+ inputState: new InputState(),
+ // Vim's input state that triggered the last edit, used to repeat
+ // motions and operators with '.'.
+ lastEditInputState: undefined,
+ // Vim's action command before the last edit, used to repeat actions
+ // with '.' and insert mode repeat.
+ lastEditActionCommand: undefined,
+ // When using jk for navigation, if you move from a longer line to a
+ // shorter line, the cursor may clip to the end of the shorter line.
+ // If j is pressed again and cursor goes to the next line, the
+ // cursor should go back to its horizontal position on the longer
+ // line if it can. This is to keep track of the horizontal position.
+ lastHPos: -1,
+ // Doing the same with screen-position for gj/gk
+ lastHSPos: -1,
+ // The last motion command run. Cleared if a non-motion command gets
+ // executed in between.
+ lastMotion: null,
+ marks: {},
+ // Mark for rendering fake cursor for visual mode.
+ fakeCursor: null,
+ insertMode: false,
+ // Repeat count for changes made in insert mode, triggered by key
+ // sequences like 3,i. Only exists when insertMode is true.
+ insertModeRepeat: undefined,
+ visualMode: false,
+ // If we are in visual line mode. No effect if visualMode is false.
+ visualLine: false,
+ visualBlock: false,
+ lastSelection: null,
+ lastPastedText: null,
+ sel: {},
+ // Buffer-local/window-local values of vim options.
+ options: {}
+ };
+ }
+ return cm.state.vim;
+ }
+ var vimGlobalState;
+ function resetVimGlobalState() {
+ vimGlobalState = {
+ // The current search query.
+ searchQuery: null,
+ // Whether we are searching backwards.
+ searchIsReversed: false,
+ // Replace part of the last substituted pattern
+ lastSubstituteReplacePart: undefined,
+ jumpList: createCircularJumpList(),
+ macroModeState: new MacroModeState,
+ // Recording latest f, t, F or T motion command.
+ lastChararacterSearch: {increment:0, forward:true, selectedCharacter:''},
+ registerController: new RegisterController({}),
+ // search history buffer
+ searchHistoryController: new HistoryController({}),
+ // ex Command history buffer
+ exCommandHistoryController : new HistoryController({})
+ };
+ for (var optionName in options) {
+ var option = options[optionName];
+ option.value = option.defaultValue;
+ }
+ }
+
+ var lastInsertModeKeyTimer;
+ var vimApi= {
+ buildKeyMap: function() {
+ // TODO: Convert keymap into dictionary format for fast lookup.
+ },
+ // Testing hook, though it might be useful to expose the register
+ // controller anyways.
+ getRegisterController: function() {
+ return vimGlobalState.registerController;
+ },
+ // Testing hook.
+ resetVimGlobalState_: resetVimGlobalState,
+
+ // Testing hook.
+ getVimGlobalState_: function() {
+ return vimGlobalState;
+ },
+
+ // Testing hook.
+ maybeInitVimState_: maybeInitVimState,
+
+ suppressErrorLogging: false,
+
+ InsertModeKey: InsertModeKey,
+ map: function(lhs, rhs, ctx) {
+ // Add user defined key bindings.
+ exCommandDispatcher.map(lhs, rhs, ctx);
+ },
+ // TODO: Expose setOption and getOption as instance methods. Need to decide how to namespace
+ // them, or somehow make them work with the existing CodeMirror setOption/getOption API.
+ setOption: setOption,
+ getOption: getOption,
+ defineOption: defineOption,
+ defineEx: function(name, prefix, func){
+ if (name.indexOf(prefix) !== 0) {
+ throw new Error('(Vim.defineEx) "'+prefix+'" is not a prefix of "'+name+'", command not registered');
+ }
+ exCommands[name]=func;
+ exCommandDispatcher.commandMap_[prefix]={name:name, shortName:prefix, type:'api'};
+ },
+ handleKey: function (cm, key, origin) {
+ var command = this.findKey(cm, key, origin);
+ if (typeof command === 'function') {
+ return command();
+ }
+ },
+ /**
+ * This is the outermost function called by CodeMirror, after keys have
+ * been mapped to their Vim equivalents.
+ *
+ * Finds a command based on the key (and cached keys if there is a
+ * multi-key sequence). Returns `undefined` if no key is matched, a noop
+ * function if a partial match is found (multi-key), and a function to
+ * execute the bound command if a a key is matched. The function always
+ * returns true.
+ */
+ findKey: function(cm, key, origin) {
+ var vim = maybeInitVimState(cm);
+ function handleMacroRecording() {
+ var macroModeState = vimGlobalState.macroModeState;
+ if (macroModeState.isRecording) {
+ if (key == 'q') {
+ macroModeState.exitMacroRecordMode();
+ clearInputState(cm);
+ return true;
+ }
+ if (origin != 'mapping') {
+ logKey(macroModeState, key);
+ }
+ }
+ }
+ function handleEsc() {
+ if (key == '') {
+ // Clear input state and get back to normal mode.
+ clearInputState(cm);
+ if (vim.visualMode) {
+ exitVisualMode(cm);
+ } else if (vim.insertMode) {
+ exitInsertMode(cm);
+ }
+ return true;
+ }
+ }
+ function doKeyToKey(keys) {
+ // TODO: prevent infinite recursion.
+ var match;
+ while (keys) {
+ // Pull off one command key, which is either a single character
+ // or a special sequence wrapped in '<' and '>', e.g. ''.
+ match = (/<\w+-.+?>|<\w+>|./).exec(keys);
+ key = match[0];
+ keys = keys.substring(match.index + key.length);
+ CodeMirror.Vim.handleKey(cm, key, 'mapping');
+ }
+ }
+
+ function handleKeyInsertMode() {
+ if (handleEsc()) { return true; }
+ var keys = vim.inputState.keyBuffer = vim.inputState.keyBuffer + key;
+ var keysAreChars = key.length == 1;
+ var match = commandDispatcher.matchCommand(keys, defaultKeymap, vim.inputState, 'insert');
+ // Need to check all key substrings in insert mode.
+ while (keys.length > 1 && match.type != 'full') {
+ var keys = vim.inputState.keyBuffer = keys.slice(1);
+ var thisMatch = commandDispatcher.matchCommand(keys, defaultKeymap, vim.inputState, 'insert');
+ if (thisMatch.type != 'none') { match = thisMatch; }
+ }
+ if (match.type == 'none') { clearInputState(cm); return false; }
+ else if (match.type == 'partial') {
+ if (lastInsertModeKeyTimer) { window.clearTimeout(lastInsertModeKeyTimer); }
+ lastInsertModeKeyTimer = window.setTimeout(
+ function() { if (vim.insertMode && vim.inputState.keyBuffer) { clearInputState(cm); } },
+ getOption('insertModeEscKeysTimeout'));
+ return !keysAreChars;
+ }
+
+ if (lastInsertModeKeyTimer) { window.clearTimeout(lastInsertModeKeyTimer); }
+ if (keysAreChars) {
+ var here = cm.getCursor();
+ cm.replaceRange('', offsetCursor(here, 0, -(keys.length - 1)), here, '+input');
+ }
+ clearInputState(cm);
+ return match.command;
+ }
+
+ function handleKeyNonInsertMode() {
+ if (handleMacroRecording() || handleEsc()) { return true; };
+
+ var keys = vim.inputState.keyBuffer = vim.inputState.keyBuffer + key;
+ if (/^[1-9]\d*$/.test(keys)) { return true; }
+
+ var keysMatcher = /^(\d*)(.*)$/.exec(keys);
+ if (!keysMatcher) { clearInputState(cm); return false; }
+ var context = vim.visualMode ? 'visual' :
+ 'normal';
+ var match = commandDispatcher.matchCommand(keysMatcher[2] || keysMatcher[1], defaultKeymap, vim.inputState, context);
+ if (match.type == 'none') { clearInputState(cm); return false; }
+ else if (match.type == 'partial') { return true; }
+
+ vim.inputState.keyBuffer = '';
+ var keysMatcher = /^(\d*)(.*)$/.exec(keys);
+ if (keysMatcher[1] && keysMatcher[1] != '0') {
+ vim.inputState.pushRepeatDigit(keysMatcher[1]);
+ }
+ return match.command;
+ }
+
+ var command;
+ if (vim.insertMode) { command = handleKeyInsertMode(); }
+ else { command = handleKeyNonInsertMode(); }
+ if (command === false) {
+ return undefined;
+ } else if (command === true) {
+ // TODO: Look into using CodeMirror's multi-key handling.
+ // Return no-op since we are caching the key. Counts as handled, but
+ // don't want act on it just yet.
+ return function() {};
+ } else {
+ return function() {
+ return cm.operation(function() {
+ cm.curOp.isVimOp = true;
+ try {
+ if (command.type == 'keyToKey') {
+ doKeyToKey(command.toKeys);
+ } else {
+ commandDispatcher.processCommand(cm, vim, command);
+ }
+ } catch (e) {
+ // clear VIM state in case it's in a bad state.
+ cm.state.vim = undefined;
+ maybeInitVimState(cm);
+ if (!CodeMirror.Vim.suppressErrorLogging) {
+ console['log'](e);
+ }
+ throw e;
+ }
+ return true;
+ });
+ };
+ }
+ },
+ handleEx: function(cm, input) {
+ exCommandDispatcher.processCommand(cm, input);
+ },
+
+ defineMotion: defineMotion,
+ defineAction: defineAction,
+ defineOperator: defineOperator,
+ mapCommand: mapCommand,
+ _mapCommand: _mapCommand,
+
+ exitVisualMode: exitVisualMode,
+ exitInsertMode: exitInsertMode
+ };
+
+ // Represents the current input state.
+ function InputState() {
+ this.prefixRepeat = [];
+ this.motionRepeat = [];
+
+ this.operator = null;
+ this.operatorArgs = null;
+ this.motion = null;
+ this.motionArgs = null;
+ this.keyBuffer = []; // For matching multi-key commands.
+ this.registerName = null; // Defaults to the unnamed register.
+ }
+ InputState.prototype.pushRepeatDigit = function(n) {
+ if (!this.operator) {
+ this.prefixRepeat = this.prefixRepeat.concat(n);
+ } else {
+ this.motionRepeat = this.motionRepeat.concat(n);
+ }
+ };
+ InputState.prototype.getRepeat = function() {
+ var repeat = 0;
+ if (this.prefixRepeat.length > 0 || this.motionRepeat.length > 0) {
+ repeat = 1;
+ if (this.prefixRepeat.length > 0) {
+ repeat *= parseInt(this.prefixRepeat.join(''), 10);
+ }
+ if (this.motionRepeat.length > 0) {
+ repeat *= parseInt(this.motionRepeat.join(''), 10);
+ }
+ }
+ return repeat;
+ };
+
+ function clearInputState(cm, reason) {
+ cm.state.vim.inputState = new InputState();
+ CodeMirror.signal(cm, 'vim-command-done', reason);
+ }
+
+ /*
+ * Register stores information about copy and paste registers. Besides
+ * text, a register must store whether it is linewise (i.e., when it is
+ * pasted, should it insert itself into a new line, or should the text be
+ * inserted at the cursor position.)
+ */
+ function Register(text, linewise, blockwise) {
+ this.clear();
+ this.keyBuffer = [text || ''];
+ this.insertModeChanges = [];
+ this.searchQueries = [];
+ this.linewise = !!linewise;
+ this.blockwise = !!blockwise;
+ }
+ Register.prototype = {
+ setText: function(text, linewise, blockwise) {
+ this.keyBuffer = [text || ''];
+ this.linewise = !!linewise;
+ this.blockwise = !!blockwise;
+ },
+ pushText: function(text, linewise) {
+ // if this register has ever been set to linewise, use linewise.
+ if (linewise) {
+ if (!this.linewise) {
+ this.keyBuffer.push('\n');
+ }
+ this.linewise = true;
+ }
+ this.keyBuffer.push(text);
+ },
+ pushInsertModeChanges: function(changes) {
+ this.insertModeChanges.push(createInsertModeChanges(changes));
+ },
+ pushSearchQuery: function(query) {
+ this.searchQueries.push(query);
+ },
+ clear: function() {
+ this.keyBuffer = [];
+ this.insertModeChanges = [];
+ this.searchQueries = [];
+ this.linewise = false;
+ },
+ toString: function() {
+ return this.keyBuffer.join('');
+ }
+ };
+
+ /*
+ * vim registers allow you to keep many independent copy and paste buffers.
+ * See http://usevim.com/2012/04/13/registers/ for an introduction.
+ *
+ * RegisterController keeps the state of all the registers. An initial
+ * state may be passed in. The unnamed register '"' will always be
+ * overridden.
+ */
+ function RegisterController(registers) {
+ this.registers = registers;
+ this.unnamedRegister = registers['"'] = new Register();
+ registers['.'] = new Register();
+ registers[':'] = new Register();
+ registers['/'] = new Register();
+ }
+ RegisterController.prototype = {
+ pushText: function(registerName, operator, text, linewise, blockwise) {
+ if (linewise && text.charAt(0) == '\n') {
+ text = text.slice(1) + '\n';
+ }
+ if (linewise && text.charAt(text.length - 1) !== '\n'){
+ text += '\n';
+ }
+ // Lowercase and uppercase registers refer to the same register.
+ // Uppercase just means append.
+ var register = this.isValidRegister(registerName) ?
+ this.getRegister(registerName) : null;
+ // if no register/an invalid register was specified, things go to the
+ // default registers
+ if (!register) {
+ switch (operator) {
+ case 'yank':
+ // The 0 register contains the text from the most recent yank.
+ this.registers['0'] = new Register(text, linewise, blockwise);
+ break;
+ case 'delete':
+ case 'change':
+ if (text.indexOf('\n') == -1) {
+ // Delete less than 1 line. Update the small delete register.
+ this.registers['-'] = new Register(text, linewise);
+ } else {
+ // Shift down the contents of the numbered registers and put the
+ // deleted text into register 1.
+ this.shiftNumericRegisters_();
+ this.registers['1'] = new Register(text, linewise);
+ }
+ break;
+ }
+ // Make sure the unnamed register is set to what just happened
+ this.unnamedRegister.setText(text, linewise, blockwise);
+ return;
+ }
+
+ // If we've gotten to this point, we've actually specified a register
+ var append = isUpperCase(registerName);
+ if (append) {
+ register.pushText(text, linewise);
+ } else {
+ register.setText(text, linewise, blockwise);
+ }
+ // The unnamed register always has the same value as the last used
+ // register.
+ this.unnamedRegister.setText(register.toString(), linewise);
+ },
+ // Gets the register named @name. If one of @name doesn't already exist,
+ // create it. If @name is invalid, return the unnamedRegister.
+ getRegister: function(name) {
+ if (!this.isValidRegister(name)) {
+ return this.unnamedRegister;
+ }
+ name = name.toLowerCase();
+ if (!this.registers[name]) {
+ this.registers[name] = new Register();
+ }
+ return this.registers[name];
+ },
+ isValidRegister: function(name) {
+ return name && inArray(name, validRegisters);
+ },
+ shiftNumericRegisters_: function() {
+ for (var i = 9; i >= 2; i--) {
+ this.registers[i] = this.getRegister('' + (i - 1));
+ }
+ }
+ };
+ function HistoryController() {
+ this.historyBuffer = [];
+ this.iterator;
+ this.initialPrefix = null;
+ }
+ HistoryController.prototype = {
+ // the input argument here acts a user entered prefix for a small time
+ // until we start autocompletion in which case it is the autocompleted.
+ nextMatch: function (input, up) {
+ var historyBuffer = this.historyBuffer;
+ var dir = up ? -1 : 1;
+ if (this.initialPrefix === null) this.initialPrefix = input;
+ for (var i = this.iterator + dir; up ? i >= 0 : i < historyBuffer.length; i+= dir) {
+ var element = historyBuffer[i];
+ for (var j = 0; j <= element.length; j++) {
+ if (this.initialPrefix == element.substring(0, j)) {
+ this.iterator = i;
+ return element;
+ }
+ }
+ }
+ // should return the user input in case we reach the end of buffer.
+ if (i >= historyBuffer.length) {
+ this.iterator = historyBuffer.length;
+ return this.initialPrefix;
+ }
+ // return the last autocompleted query or exCommand as it is.
+ if (i < 0 ) return input;
+ },
+ pushInput: function(input) {
+ var index = this.historyBuffer.indexOf(input);
+ if (index > -1) this.historyBuffer.splice(index, 1);
+ if (input.length) this.historyBuffer.push(input);
+ },
+ reset: function() {
+ this.initialPrefix = null;
+ this.iterator = this.historyBuffer.length;
+ }
+ };
+ var commandDispatcher = {
+ matchCommand: function(keys, keyMap, inputState, context) {
+ var matches = commandMatches(keys, keyMap, context, inputState);
+ if (!matches.full && !matches.partial) {
+ return {type: 'none'};
+ } else if (!matches.full && matches.partial) {
+ return {type: 'partial'};
+ }
+
+ var bestMatch;
+ for (var i = 0; i < matches.full.length; i++) {
+ var match = matches.full[i];
+ if (!bestMatch) {
+ bestMatch = match;
+ }
+ }
+ if (bestMatch.keys.slice(-11) == '') {
+ inputState.selectedCharacter = lastChar(keys);
+ }
+ return {type: 'full', command: bestMatch};
+ },
+ processCommand: function(cm, vim, command) {
+ vim.inputState.repeatOverride = command.repeatOverride;
+ switch (command.type) {
+ case 'motion':
+ this.processMotion(cm, vim, command);
+ break;
+ case 'operator':
+ this.processOperator(cm, vim, command);
+ break;
+ case 'operatorMotion':
+ this.processOperatorMotion(cm, vim, command);
+ break;
+ case 'action':
+ this.processAction(cm, vim, command);
+ break;
+ case 'search':
+ this.processSearch(cm, vim, command);
+ break;
+ case 'ex':
+ case 'keyToEx':
+ this.processEx(cm, vim, command);
+ break;
+ default:
+ break;
+ }
+ },
+ processMotion: function(cm, vim, command) {
+ vim.inputState.motion = command.motion;
+ vim.inputState.motionArgs = copyArgs(command.motionArgs);
+ this.evalInput(cm, vim);
+ },
+ processOperator: function(cm, vim, command) {
+ var inputState = vim.inputState;
+ if (inputState.operator) {
+ if (inputState.operator == command.operator) {
+ // Typing an operator twice like 'dd' makes the operator operate
+ // linewise
+ inputState.motion = 'expandToLine';
+ inputState.motionArgs = { linewise: true };
+ this.evalInput(cm, vim);
+ return;
+ } else {
+ // 2 different operators in a row doesn't make sense.
+ clearInputState(cm);
+ }
+ }
+ inputState.operator = command.operator;
+ inputState.operatorArgs = copyArgs(command.operatorArgs);
+ if (vim.visualMode) {
+ // Operating on a selection in visual mode. We don't need a motion.
+ this.evalInput(cm, vim);
+ }
+ },
+ processOperatorMotion: function(cm, vim, command) {
+ var visualMode = vim.visualMode;
+ var operatorMotionArgs = copyArgs(command.operatorMotionArgs);
+ if (operatorMotionArgs) {
+ // Operator motions may have special behavior in visual mode.
+ if (visualMode && operatorMotionArgs.visualLine) {
+ vim.visualLine = true;
+ }
+ }
+ this.processOperator(cm, vim, command);
+ if (!visualMode) {
+ this.processMotion(cm, vim, command);
+ }
+ },
+ processAction: function(cm, vim, command) {
+ var inputState = vim.inputState;
+ var repeat = inputState.getRepeat();
+ var repeatIsExplicit = !!repeat;
+ var actionArgs = copyArgs(command.actionArgs) || {};
+ if (inputState.selectedCharacter) {
+ actionArgs.selectedCharacter = inputState.selectedCharacter;
+ }
+ // Actions may or may not have motions and operators. Do these first.
+ if (command.operator) {
+ this.processOperator(cm, vim, command);
+ }
+ if (command.motion) {
+ this.processMotion(cm, vim, command);
+ }
+ if (command.motion || command.operator) {
+ this.evalInput(cm, vim);
+ }
+ actionArgs.repeat = repeat || 1;
+ actionArgs.repeatIsExplicit = repeatIsExplicit;
+ actionArgs.registerName = inputState.registerName;
+ clearInputState(cm);
+ vim.lastMotion = null;
+ if (command.isEdit) {
+ this.recordLastEdit(vim, inputState, command);
+ }
+ actions[command.action](cm, actionArgs, vim);
+ },
+ processSearch: function(cm, vim, command) {
+ if (!cm.getSearchCursor) {
+ // Search depends on SearchCursor.
+ return;
+ }
+ var forward = command.searchArgs.forward;
+ var wholeWordOnly = command.searchArgs.wholeWordOnly;
+ getSearchState(cm).setReversed(!forward);
+ var promptPrefix = (forward) ? '/' : '?';
+ var originalQuery = getSearchState(cm).getQuery();
+ var originalScrollPos = cm.getScrollInfo();
+ function handleQuery(query, ignoreCase, smartCase) {
+ vimGlobalState.searchHistoryController.pushInput(query);
+ vimGlobalState.searchHistoryController.reset();
+ try {
+ updateSearchQuery(cm, query, ignoreCase, smartCase);
+ } catch (e) {
+ showConfirm(cm, 'Invalid regex: ' + query);
+ clearInputState(cm);
+ return;
+ }
+ commandDispatcher.processMotion(cm, vim, {
+ type: 'motion',
+ motion: 'findNext',
+ motionArgs: { forward: true, toJumplist: command.searchArgs.toJumplist }
+ });
+ }
+ function onPromptClose(query) {
+ cm.scrollTo(originalScrollPos.left, originalScrollPos.top);
+ handleQuery(query, true /** ignoreCase */, true /** smartCase */);
+ var macroModeState = vimGlobalState.macroModeState;
+ if (macroModeState.isRecording) {
+ logSearchQuery(macroModeState, query);
+ }
+ }
+ function onPromptKeyUp(e, query, close) {
+ var keyName = CodeMirror.keyName(e), up;
+ if (keyName == 'Up' || keyName == 'Down') {
+ up = keyName == 'Up' ? true : false;
+ query = vimGlobalState.searchHistoryController.nextMatch(query, up) || '';
+ close(query);
+ } else {
+ if ( keyName != 'Left' && keyName != 'Right' && keyName != 'Ctrl' && keyName != 'Alt' && keyName != 'Shift')
+ vimGlobalState.searchHistoryController.reset();
+ }
+ var parsedQuery;
+ try {
+ parsedQuery = updateSearchQuery(cm, query,
+ true /** ignoreCase */, true /** smartCase */);
+ } catch (e) {
+ // Swallow bad regexes for incremental search.
+ }
+ if (parsedQuery) {
+ cm.scrollIntoView(findNext(cm, !forward, parsedQuery), 30);
+ } else {
+ clearSearchHighlight(cm);
+ cm.scrollTo(originalScrollPos.left, originalScrollPos.top);
+ }
+ }
+ function onPromptKeyDown(e, query, close) {
+ var keyName = CodeMirror.keyName(e);
+ if (keyName == 'Esc' || keyName == 'Ctrl-C' || keyName == 'Ctrl-[' ||
+ (keyName == 'Backspace' && query == '')) {
+ vimGlobalState.searchHistoryController.pushInput(query);
+ vimGlobalState.searchHistoryController.reset();
+ updateSearchQuery(cm, originalQuery);
+ clearSearchHighlight(cm);
+ cm.scrollTo(originalScrollPos.left, originalScrollPos.top);
+ CodeMirror.e_stop(e);
+ clearInputState(cm);
+ close();
+ cm.focus();
+ } else if (keyName == 'Ctrl-U') {
+ // Ctrl-U clears input.
+ CodeMirror.e_stop(e);
+ close('');
+ }
+ }
+ switch (command.searchArgs.querySrc) {
+ case 'prompt':
+ var macroModeState = vimGlobalState.macroModeState;
+ if (macroModeState.isPlaying) {
+ var query = macroModeState.replaySearchQueries.shift();
+ handleQuery(query, true /** ignoreCase */, false /** smartCase */);
+ } else {
+ showPrompt(cm, {
+ onClose: onPromptClose,
+ prefix: promptPrefix,
+ desc: searchPromptDesc,
+ onKeyUp: onPromptKeyUp,
+ onKeyDown: onPromptKeyDown
+ });
+ }
+ break;
+ case 'wordUnderCursor':
+ var word = expandWordUnderCursor(cm, false /** inclusive */,
+ true /** forward */, false /** bigWord */,
+ true /** noSymbol */);
+ var isKeyword = true;
+ if (!word) {
+ word = expandWordUnderCursor(cm, false /** inclusive */,
+ true /** forward */, false /** bigWord */,
+ false /** noSymbol */);
+ isKeyword = false;
+ }
+ if (!word) {
+ return;
+ }
+ var query = cm.getLine(word.start.line).substring(word.start.ch,
+ word.end.ch);
+ if (isKeyword && wholeWordOnly) {
+ query = '\\b' + query + '\\b';
+ } else {
+ query = escapeRegex(query);
+ }
+
+ // cachedCursor is used to save the old position of the cursor
+ // when * or # causes vim to seek for the nearest word and shift
+ // the cursor before entering the motion.
+ vimGlobalState.jumpList.cachedCursor = cm.getCursor();
+ cm.setCursor(word.start);
+
+ handleQuery(query, true /** ignoreCase */, false /** smartCase */);
+ break;
+ }
+ },
+ processEx: function(cm, vim, command) {
+ function onPromptClose(input) {
+ // Give the prompt some time to close so that if processCommand shows
+ // an error, the elements don't overlap.
+ vimGlobalState.exCommandHistoryController.pushInput(input);
+ vimGlobalState.exCommandHistoryController.reset();
+ exCommandDispatcher.processCommand(cm, input);
+ }
+ function onPromptKeyDown(e, input, close) {
+ var keyName = CodeMirror.keyName(e), up;
+ if (keyName == 'Esc' || keyName == 'Ctrl-C' || keyName == 'Ctrl-[' ||
+ (keyName == 'Backspace' && input == '')) {
+ vimGlobalState.exCommandHistoryController.pushInput(input);
+ vimGlobalState.exCommandHistoryController.reset();
+ CodeMirror.e_stop(e);
+ clearInputState(cm);
+ close();
+ cm.focus();
+ }
+ if (keyName == 'Up' || keyName == 'Down') {
+ up = keyName == 'Up' ? true : false;
+ input = vimGlobalState.exCommandHistoryController.nextMatch(input, up) || '';
+ close(input);
+ } else if (keyName == 'Ctrl-U') {
+ // Ctrl-U clears input.
+ CodeMirror.e_stop(e);
+ close('');
+ } else {
+ if ( keyName != 'Left' && keyName != 'Right' && keyName != 'Ctrl' && keyName != 'Alt' && keyName != 'Shift')
+ vimGlobalState.exCommandHistoryController.reset();
+ }
+ }
+ if (command.type == 'keyToEx') {
+ // Handle user defined Ex to Ex mappings
+ exCommandDispatcher.processCommand(cm, command.exArgs.input);
+ } else {
+ if (vim.visualMode) {
+ showPrompt(cm, { onClose: onPromptClose, prefix: ':', value: '\'<,\'>',
+ onKeyDown: onPromptKeyDown});
+ } else {
+ showPrompt(cm, { onClose: onPromptClose, prefix: ':',
+ onKeyDown: onPromptKeyDown});
+ }
+ }
+ },
+ evalInput: function(cm, vim) {
+ // If the motion comand is set, execute both the operator and motion.
+ // Otherwise return.
+ var inputState = vim.inputState;
+ var motion = inputState.motion;
+ var motionArgs = inputState.motionArgs || {};
+ var operator = inputState.operator;
+ var operatorArgs = inputState.operatorArgs || {};
+ var registerName = inputState.registerName;
+ var sel = vim.sel;
+ // TODO: Make sure cm and vim selections are identical outside visual mode.
+ var origHead = copyCursor(vim.visualMode ? clipCursorToContent(cm, sel.head): cm.getCursor('head'));
+ var origAnchor = copyCursor(vim.visualMode ? clipCursorToContent(cm, sel.anchor) : cm.getCursor('anchor'));
+ var oldHead = copyCursor(origHead);
+ var oldAnchor = copyCursor(origAnchor);
+ var newHead, newAnchor;
+ var repeat;
+ if (operator) {
+ this.recordLastEdit(vim, inputState);
+ }
+ if (inputState.repeatOverride !== undefined) {
+ // If repeatOverride is specified, that takes precedence over the
+ // input state's repeat. Used by Ex mode and can be user defined.
+ repeat = inputState.repeatOverride;
+ } else {
+ repeat = inputState.getRepeat();
+ }
+ if (repeat > 0 && motionArgs.explicitRepeat) {
+ motionArgs.repeatIsExplicit = true;
+ } else if (motionArgs.noRepeat ||
+ (!motionArgs.explicitRepeat && repeat === 0)) {
+ repeat = 1;
+ motionArgs.repeatIsExplicit = false;
+ }
+ if (inputState.selectedCharacter) {
+ // If there is a character input, stick it in all of the arg arrays.
+ motionArgs.selectedCharacter = operatorArgs.selectedCharacter =
+ inputState.selectedCharacter;
+ }
+ motionArgs.repeat = repeat;
+ clearInputState(cm);
+ if (motion) {
+ var motionResult = motions[motion](cm, origHead, motionArgs, vim);
+ vim.lastMotion = motions[motion];
+ if (!motionResult) {
+ return;
+ }
+ if (motionArgs.toJumplist) {
+ var jumpList = vimGlobalState.jumpList;
+ // if the current motion is # or *, use cachedCursor
+ var cachedCursor = jumpList.cachedCursor;
+ if (cachedCursor) {
+ recordJumpPosition(cm, cachedCursor, motionResult);
+ delete jumpList.cachedCursor;
+ } else {
+ recordJumpPosition(cm, origHead, motionResult);
+ }
+ }
+ if (motionResult instanceof Array) {
+ newAnchor = motionResult[0];
+ newHead = motionResult[1];
+ } else {
+ newHead = motionResult;
+ }
+ // TODO: Handle null returns from motion commands better.
+ if (!newHead) {
+ newHead = copyCursor(origHead);
+ }
+ if (vim.visualMode) {
+ if (!(vim.visualBlock && newHead.ch === Infinity)) {
+ newHead = clipCursorToContent(cm, newHead, vim.visualBlock);
+ }
+ if (newAnchor) {
+ newAnchor = clipCursorToContent(cm, newAnchor, true);
+ }
+ newAnchor = newAnchor || oldAnchor;
+ sel.anchor = newAnchor;
+ sel.head = newHead;
+ updateCmSelection(cm);
+ updateMark(cm, vim, '<',
+ cursorIsBefore(newAnchor, newHead) ? newAnchor
+ : newHead);
+ updateMark(cm, vim, '>',
+ cursorIsBefore(newAnchor, newHead) ? newHead
+ : newAnchor);
+ } else if (!operator) {
+ newHead = clipCursorToContent(cm, newHead);
+ cm.setCursor(newHead.line, newHead.ch);
+ }
+ }
+ if (operator) {
+ if (operatorArgs.lastSel) {
+ // Replaying a visual mode operation
+ newAnchor = oldAnchor;
+ var lastSel = operatorArgs.lastSel;
+ var lineOffset = Math.abs(lastSel.head.line - lastSel.anchor.line);
+ var chOffset = Math.abs(lastSel.head.ch - lastSel.anchor.ch);
+ if (lastSel.visualLine) {
+ // Linewise Visual mode: The same number of lines.
+ newHead = Pos(oldAnchor.line + lineOffset, oldAnchor.ch);
+ } else if (lastSel.visualBlock) {
+ // Blockwise Visual mode: The same number of lines and columns.
+ newHead = Pos(oldAnchor.line + lineOffset, oldAnchor.ch + chOffset);
+ } else if (lastSel.head.line == lastSel.anchor.line) {
+ // Normal Visual mode within one line: The same number of characters.
+ newHead = Pos(oldAnchor.line, oldAnchor.ch + chOffset);
+ } else {
+ // Normal Visual mode with several lines: The same number of lines, in the
+ // last line the same number of characters as in the last line the last time.
+ newHead = Pos(oldAnchor.line + lineOffset, oldAnchor.ch);
+ }
+ vim.visualMode = true;
+ vim.visualLine = lastSel.visualLine;
+ vim.visualBlock = lastSel.visualBlock;
+ sel = vim.sel = {
+ anchor: newAnchor,
+ head: newHead
+ };
+ updateCmSelection(cm);
+ } else if (vim.visualMode) {
+ operatorArgs.lastSel = {
+ anchor: copyCursor(sel.anchor),
+ head: copyCursor(sel.head),
+ visualBlock: vim.visualBlock,
+ visualLine: vim.visualLine
+ };
+ }
+ var curStart, curEnd, linewise, mode;
+ var cmSel;
+ if (vim.visualMode) {
+ // Init visual op
+ curStart = cursorMin(sel.head, sel.anchor);
+ curEnd = cursorMax(sel.head, sel.anchor);
+ linewise = vim.visualLine || operatorArgs.linewise;
+ mode = vim.visualBlock ? 'block' :
+ linewise ? 'line' :
+ 'char';
+ cmSel = makeCmSelection(cm, {
+ anchor: curStart,
+ head: curEnd
+ }, mode);
+ if (linewise) {
+ var ranges = cmSel.ranges;
+ if (mode == 'block') {
+ // Linewise operators in visual block mode extend to end of line
+ for (var i = 0; i < ranges.length; i++) {
+ ranges[i].head.ch = lineLength(cm, ranges[i].head.line);
+ }
+ } else if (mode == 'line') {
+ ranges[0].head = Pos(ranges[0].head.line + 1, 0);
+ }
+ }
+ } else {
+ // Init motion op
+ curStart = copyCursor(newAnchor || oldAnchor);
+ curEnd = copyCursor(newHead || oldHead);
+ if (cursorIsBefore(curEnd, curStart)) {
+ var tmp = curStart;
+ curStart = curEnd;
+ curEnd = tmp;
+ }
+ linewise = motionArgs.linewise || operatorArgs.linewise;
+ if (linewise) {
+ // Expand selection to entire line.
+ expandSelectionToLine(cm, curStart, curEnd);
+ } else if (motionArgs.forward) {
+ // Clip to trailing newlines only if the motion goes forward.
+ clipToLine(cm, curStart, curEnd);
+ }
+ mode = 'char';
+ var exclusive = !motionArgs.inclusive || linewise;
+ cmSel = makeCmSelection(cm, {
+ anchor: curStart,
+ head: curEnd
+ }, mode, exclusive);
+ }
+ cm.setSelections(cmSel.ranges, cmSel.primary);
+ vim.lastMotion = null;
+ operatorArgs.repeat = repeat; // For indent in visual mode.
+ operatorArgs.registerName = registerName;
+ // Keep track of linewise as it affects how paste and change behave.
+ operatorArgs.linewise = linewise;
+ var operatorMoveTo = operators[operator](
+ cm, operatorArgs, cmSel.ranges, oldAnchor, newHead);
+ if (vim.visualMode) {
+ exitVisualMode(cm, operatorMoveTo != null);
+ }
+ if (operatorMoveTo) {
+ cm.setCursor(operatorMoveTo);
+ }
+ }
+ },
+ recordLastEdit: function(vim, inputState, actionCommand) {
+ var macroModeState = vimGlobalState.macroModeState;
+ if (macroModeState.isPlaying) { return; }
+ vim.lastEditInputState = inputState;
+ vim.lastEditActionCommand = actionCommand;
+ macroModeState.lastInsertModeChanges.changes = [];
+ macroModeState.lastInsertModeChanges.expectCursorActivityForChange = false;
+ }
+ };
+
+ /**
+ * typedef {Object{line:number,ch:number}} Cursor An object containing the
+ * position of the cursor.
+ */
+ // All of the functions below return Cursor objects.
+ var motions = {
+ moveToTopLine: function(cm, _head, motionArgs) {
+ var line = getUserVisibleLines(cm).top + motionArgs.repeat -1;
+ return Pos(line, findFirstNonWhiteSpaceCharacter(cm.getLine(line)));
+ },
+ moveToMiddleLine: function(cm) {
+ var range = getUserVisibleLines(cm);
+ var line = Math.floor((range.top + range.bottom) * 0.5);
+ return Pos(line, findFirstNonWhiteSpaceCharacter(cm.getLine(line)));
+ },
+ moveToBottomLine: function(cm, _head, motionArgs) {
+ var line = getUserVisibleLines(cm).bottom - motionArgs.repeat +1;
+ return Pos(line, findFirstNonWhiteSpaceCharacter(cm.getLine(line)));
+ },
+ expandToLine: function(_cm, head, motionArgs) {
+ // Expands forward to end of line, and then to next line if repeat is
+ // >1. Does not handle backward motion!
+ var cur = head;
+ return Pos(cur.line + motionArgs.repeat - 1, Infinity);
+ },
+ findNext: function(cm, _head, motionArgs) {
+ var state = getSearchState(cm);
+ var query = state.getQuery();
+ if (!query) {
+ return;
+ }
+ var prev = !motionArgs.forward;
+ // If search is initiated with ? instead of /, negate direction.
+ prev = (state.isReversed()) ? !prev : prev;
+ highlightSearchMatches(cm, query);
+ return findNext(cm, prev/** prev */, query, motionArgs.repeat);
+ },
+ goToMark: function(cm, _head, motionArgs, vim) {
+ var mark = vim.marks[motionArgs.selectedCharacter];
+ if (mark) {
+ var pos = mark.find();
+ return motionArgs.linewise ? { line: pos.line, ch: findFirstNonWhiteSpaceCharacter(cm.getLine(pos.line)) } : pos;
+ }
+ return null;
+ },
+ moveToOtherHighlightedEnd: function(cm, _head, motionArgs, vim) {
+ if (vim.visualBlock && motionArgs.sameLine) {
+ var sel = vim.sel;
+ return [
+ clipCursorToContent(cm, Pos(sel.anchor.line, sel.head.ch)),
+ clipCursorToContent(cm, Pos(sel.head.line, sel.anchor.ch))
+ ];
+ } else {
+ return ([vim.sel.head, vim.sel.anchor]);
+ }
+ },
+ jumpToMark: function(cm, head, motionArgs, vim) {
+ var best = head;
+ for (var i = 0; i < motionArgs.repeat; i++) {
+ var cursor = best;
+ for (var key in vim.marks) {
+ if (!isLowerCase(key)) {
+ continue;
+ }
+ var mark = vim.marks[key].find();
+ var isWrongDirection = (motionArgs.forward) ?
+ cursorIsBefore(mark, cursor) : cursorIsBefore(cursor, mark);
+
+ if (isWrongDirection) {
+ continue;
+ }
+ if (motionArgs.linewise && (mark.line == cursor.line)) {
+ continue;
+ }
+
+ var equal = cursorEqual(cursor, best);
+ var between = (motionArgs.forward) ?
+ cursorIsBetween(cursor, mark, best) :
+ cursorIsBetween(best, mark, cursor);
+
+ if (equal || between) {
+ best = mark;
+ }
+ }
+ }
+
+ if (motionArgs.linewise) {
+ // Vim places the cursor on the first non-whitespace character of
+ // the line if there is one, else it places the cursor at the end
+ // of the line, regardless of whether a mark was found.
+ best = Pos(best.line, findFirstNonWhiteSpaceCharacter(cm.getLine(best.line)));
+ }
+ return best;
+ },
+ moveByCharacters: function(_cm, head, motionArgs) {
+ var cur = head;
+ var repeat = motionArgs.repeat;
+ var ch = motionArgs.forward ? cur.ch + repeat : cur.ch - repeat;
+ return Pos(cur.line, ch);
+ },
+ moveByLines: function(cm, head, motionArgs, vim) {
+ var cur = head;
+ var endCh = cur.ch;
+ // Depending what our last motion was, we may want to do different
+ // things. If our last motion was moving vertically, we want to
+ // preserve the HPos from our last horizontal move. If our last motion
+ // was going to the end of a line, moving vertically we should go to
+ // the end of the line, etc.
+ switch (vim.lastMotion) {
+ case this.moveByLines:
+ case this.moveByDisplayLines:
+ case this.moveByScroll:
+ case this.moveToColumn:
+ case this.moveToEol:
+ endCh = vim.lastHPos;
+ break;
+ default:
+ vim.lastHPos = endCh;
+ }
+ var repeat = motionArgs.repeat+(motionArgs.repeatOffset||0);
+ var line = motionArgs.forward ? cur.line + repeat : cur.line - repeat;
+ var first = cm.firstLine();
+ var last = cm.lastLine();
+ // Vim cancels linewise motions that start on an edge and move beyond
+ // that edge. It does not cancel motions that do not start on an edge.
+ if ((line < first && cur.line == first) ||
+ (line > last && cur.line == last)) {
+ return;
+ }
+ if (motionArgs.toFirstChar){
+ endCh=findFirstNonWhiteSpaceCharacter(cm.getLine(line));
+ vim.lastHPos = endCh;
+ }
+ vim.lastHSPos = cm.charCoords(Pos(line, endCh),'div').left;
+ return Pos(line, endCh);
+ },
+ moveByDisplayLines: function(cm, head, motionArgs, vim) {
+ var cur = head;
+ switch (vim.lastMotion) {
+ case this.moveByDisplayLines:
+ case this.moveByScroll:
+ case this.moveByLines:
+ case this.moveToColumn:
+ case this.moveToEol:
+ break;
+ default:
+ vim.lastHSPos = cm.charCoords(cur,'div').left;
+ }
+ var repeat = motionArgs.repeat;
+ var res=cm.findPosV(cur,(motionArgs.forward ? repeat : -repeat),'line',vim.lastHSPos);
+ if (res.hitSide) {
+ if (motionArgs.forward) {
+ var lastCharCoords = cm.charCoords(res, 'div');
+ var goalCoords = { top: lastCharCoords.top + 8, left: vim.lastHSPos };
+ var res = cm.coordsChar(goalCoords, 'div');
+ } else {
+ var resCoords = cm.charCoords(Pos(cm.firstLine(), 0), 'div');
+ resCoords.left = vim.lastHSPos;
+ res = cm.coordsChar(resCoords, 'div');
+ }
+ }
+ vim.lastHPos = res.ch;
+ return res;
+ },
+ moveByPage: function(cm, head, motionArgs) {
+ // CodeMirror only exposes functions that move the cursor page down, so
+ // doing this bad hack to move the cursor and move it back. evalInput
+ // will move the cursor to where it should be in the end.
+ var curStart = head;
+ var repeat = motionArgs.repeat;
+ return cm.findPosV(curStart, (motionArgs.forward ? repeat : -repeat), 'page');
+ },
+ moveByParagraph: function(cm, head, motionArgs) {
+ var dir = motionArgs.forward ? 1 : -1;
+ return findParagraph(cm, head, motionArgs.repeat, dir);
+ },
+ moveByScroll: function(cm, head, motionArgs, vim) {
+ var scrollbox = cm.getScrollInfo();
+ var curEnd = null;
+ var repeat = motionArgs.repeat;
+ if (!repeat) {
+ repeat = scrollbox.clientHeight / (2 * cm.defaultTextHeight());
+ }
+ var orig = cm.charCoords(head, 'local');
+ motionArgs.repeat = repeat;
+ var curEnd = motions.moveByDisplayLines(cm, head, motionArgs, vim);
+ if (!curEnd) {
+ return null;
+ }
+ var dest = cm.charCoords(curEnd, 'local');
+ cm.scrollTo(null, scrollbox.top + dest.top - orig.top);
+ return curEnd;
+ },
+ moveByWords: function(cm, head, motionArgs) {
+ return moveToWord(cm, head, motionArgs.repeat, !!motionArgs.forward,
+ !!motionArgs.wordEnd, !!motionArgs.bigWord);
+ },
+ moveTillCharacter: function(cm, _head, motionArgs) {
+ var repeat = motionArgs.repeat;
+ var curEnd = moveToCharacter(cm, repeat, motionArgs.forward,
+ motionArgs.selectedCharacter);
+ var increment = motionArgs.forward ? -1 : 1;
+ recordLastCharacterSearch(increment, motionArgs);
+ if (!curEnd) return null;
+ curEnd.ch += increment;
+ return curEnd;
+ },
+ moveToCharacter: function(cm, head, motionArgs) {
+ var repeat = motionArgs.repeat;
+ recordLastCharacterSearch(0, motionArgs);
+ return moveToCharacter(cm, repeat, motionArgs.forward,
+ motionArgs.selectedCharacter) || head;
+ },
+ moveToSymbol: function(cm, head, motionArgs) {
+ var repeat = motionArgs.repeat;
+ return findSymbol(cm, repeat, motionArgs.forward,
+ motionArgs.selectedCharacter) || head;
+ },
+ moveToColumn: function(cm, head, motionArgs, vim) {
+ var repeat = motionArgs.repeat;
+ // repeat is equivalent to which column we want to move to!
+ vim.lastHPos = repeat - 1;
+ vim.lastHSPos = cm.charCoords(head,'div').left;
+ return moveToColumn(cm, repeat);
+ },
+ moveToEol: function(cm, head, motionArgs, vim) {
+ var cur = head;
+ vim.lastHPos = Infinity;
+ var retval= Pos(cur.line + motionArgs.repeat - 1, Infinity);
+ var end=cm.clipPos(retval);
+ end.ch--;
+ vim.lastHSPos = cm.charCoords(end,'div').left;
+ return retval;
+ },
+ moveToFirstNonWhiteSpaceCharacter: function(cm, head) {
+ // Go to the start of the line where the text begins, or the end for
+ // whitespace-only lines
+ var cursor = head;
+ return Pos(cursor.line,
+ findFirstNonWhiteSpaceCharacter(cm.getLine(cursor.line)));
+ },
+ moveToMatchedSymbol: function(cm, head) {
+ var cursor = head;
+ var line = cursor.line;
+ var ch = cursor.ch;
+ var lineText = cm.getLine(line);
+ var symbol;
+ do {
+ symbol = lineText.charAt(ch++);
+ if (symbol && isMatchableSymbol(symbol)) {
+ var style = cm.getTokenTypeAt(Pos(line, ch));
+ if (style !== "string" && style !== "comment") {
+ break;
+ }
+ }
+ } while (symbol);
+ if (symbol) {
+ var matched = cm.findMatchingBracket(Pos(line, ch));
+ return matched.to;
+ } else {
+ return cursor;
+ }
+ },
+ moveToStartOfLine: function(_cm, head) {
+ return Pos(head.line, 0);
+ },
+ moveToLineOrEdgeOfDocument: function(cm, _head, motionArgs) {
+ var lineNum = motionArgs.forward ? cm.lastLine() : cm.firstLine();
+ if (motionArgs.repeatIsExplicit) {
+ lineNum = motionArgs.repeat - cm.getOption('firstLineNumber');
+ }
+ return Pos(lineNum,
+ findFirstNonWhiteSpaceCharacter(cm.getLine(lineNum)));
+ },
+ textObjectManipulation: function(cm, head, motionArgs, vim) {
+ // TODO: lots of possible exceptions that can be thrown here. Try da(
+ // outside of a () block.
+
+ // TODO: adding <> >< to this map doesn't work, presumably because
+ // they're operators
+ var mirroredPairs = {'(': ')', ')': '(',
+ '{': '}', '}': '{',
+ '[': ']', ']': '['};
+ var selfPaired = {'\'': true, '"': true};
+
+ var character = motionArgs.selectedCharacter;
+ // 'b' refers to '()' block.
+ // 'B' refers to '{}' block.
+ if (character == 'b') {
+ character = '(';
+ } else if (character == 'B') {
+ character = '{';
+ }
+
+ // Inclusive is the difference between a and i
+ // TODO: Instead of using the additional text object map to perform text
+ // object operations, merge the map into the defaultKeyMap and use
+ // motionArgs to define behavior. Define separate entries for 'aw',
+ // 'iw', 'a[', 'i[', etc.
+ var inclusive = !motionArgs.textObjectInner;
+
+ var tmp;
+ if (mirroredPairs[character]) {
+ tmp = selectCompanionObject(cm, head, character, inclusive);
+ } else if (selfPaired[character]) {
+ tmp = findBeginningAndEnd(cm, head, character, inclusive);
+ } else if (character === 'W') {
+ tmp = expandWordUnderCursor(cm, inclusive, true /** forward */,
+ true /** bigWord */);
+ } else if (character === 'w') {
+ tmp = expandWordUnderCursor(cm, inclusive, true /** forward */,
+ false /** bigWord */);
+ } else if (character === 'p') {
+ tmp = findParagraph(cm, head, motionArgs.repeat, 0, inclusive);
+ motionArgs.linewise = true;
+ if (vim.visualMode) {
+ if (!vim.visualLine) { vim.visualLine = true; }
+ } else {
+ var operatorArgs = vim.inputState.operatorArgs;
+ if (operatorArgs) { operatorArgs.linewise = true; }
+ tmp.end.line--;
+ }
+ } else {
+ // No text object defined for this, don't move.
+ return null;
+ }
+
+ if (!cm.state.vim.visualMode) {
+ return [tmp.start, tmp.end];
+ } else {
+ return expandSelection(cm, tmp.start, tmp.end);
+ }
+ },
+
+ repeatLastCharacterSearch: function(cm, head, motionArgs) {
+ var lastSearch = vimGlobalState.lastChararacterSearch;
+ var repeat = motionArgs.repeat;
+ var forward = motionArgs.forward === lastSearch.forward;
+ var increment = (lastSearch.increment ? 1 : 0) * (forward ? -1 : 1);
+ cm.moveH(-increment, 'char');
+ motionArgs.inclusive = forward ? true : false;
+ var curEnd = moveToCharacter(cm, repeat, forward, lastSearch.selectedCharacter);
+ if (!curEnd) {
+ cm.moveH(increment, 'char');
+ return head;
+ }
+ curEnd.ch += increment;
+ return curEnd;
+ }
+ };
+
+ function defineMotion(name, fn) {
+ motions[name] = fn;
+ }
+
+ function fillArray(val, times) {
+ var arr = [];
+ for (var i = 0; i < times; i++) {
+ arr.push(val);
+ }
+ return arr;
+ }
+ /**
+ * An operator acts on a text selection. It receives the list of selections
+ * as input. The corresponding CodeMirror selection is guaranteed to
+ * match the input selection.
+ */
+ var operators = {
+ change: function(cm, args, ranges) {
+ var finalHead, text;
+ var vim = cm.state.vim;
+ vimGlobalState.macroModeState.lastInsertModeChanges.inVisualBlock = vim.visualBlock;
+ if (!vim.visualMode) {
+ var anchor = ranges[0].anchor,
+ head = ranges[0].head;
+ text = cm.getRange(anchor, head);
+ var lastState = vim.lastEditInputState || {};
+ if (lastState.motion == "moveByWords" && !isWhiteSpaceString(text)) {
+ // Exclude trailing whitespace if the range is not all whitespace.
+ var match = (/\s+$/).exec(text);
+ if (match && lastState.motionArgs && lastState.motionArgs.forward) {
+ head = offsetCursor(head, 0, - match[0].length);
+ text = text.slice(0, - match[0].length);
+ }
+ }
+ var wasLastLine = head.line - 1 == cm.lastLine();
+ cm.replaceRange('', anchor, head);
+ if (args.linewise && !wasLastLine) {
+ // Push the next line back down, if there is a next line.
+ CodeMirror.commands.newlineAndIndent(cm);
+ // null ch so setCursor moves to end of line.
+ anchor.ch = null;
+ }
+ finalHead = anchor;
+ } else {
+ text = cm.getSelection();
+ var replacement = fillArray('', ranges.length);
+ cm.replaceSelections(replacement);
+ finalHead = cursorMin(ranges[0].head, ranges[0].anchor);
+ }
+ vimGlobalState.registerController.pushText(
+ args.registerName, 'change', text,
+ args.linewise, ranges.length > 1);
+ actions.enterInsertMode(cm, {head: finalHead}, cm.state.vim);
+ },
+ // delete is a javascript keyword.
+ 'delete': function(cm, args, ranges) {
+ var finalHead, text;
+ var vim = cm.state.vim;
+ if (!vim.visualBlock) {
+ var anchor = ranges[0].anchor,
+ head = ranges[0].head;
+ if (args.linewise &&
+ head.line != cm.firstLine() &&
+ anchor.line == cm.lastLine() &&
+ anchor.line == head.line - 1) {
+ // Special case for dd on last line (and first line).
+ if (anchor.line == cm.firstLine()) {
+ anchor.ch = 0;
+ } else {
+ anchor = Pos(anchor.line - 1, lineLength(cm, anchor.line - 1));
+ }
+ }
+ text = cm.getRange(anchor, head);
+ cm.replaceRange('', anchor, head);
+ finalHead = anchor;
+ if (args.linewise) {
+ finalHead = motions.moveToFirstNonWhiteSpaceCharacter(cm, anchor);
+ }
+ } else {
+ text = cm.getSelection();
+ var replacement = fillArray('', ranges.length);
+ cm.replaceSelections(replacement);
+ finalHead = ranges[0].anchor;
+ }
+ vimGlobalState.registerController.pushText(
+ args.registerName, 'delete', text,
+ args.linewise, vim.visualBlock);
+ return clipCursorToContent(cm, finalHead);
+ },
+ indent: function(cm, args, ranges) {
+ var vim = cm.state.vim;
+ var startLine = ranges[0].anchor.line;
+ var endLine = vim.visualBlock ?
+ ranges[ranges.length - 1].anchor.line :
+ ranges[0].head.line;
+ // In visual mode, n> shifts the selection right n times, instead of
+ // shifting n lines right once.
+ var repeat = (vim.visualMode) ? args.repeat : 1;
+ if (args.linewise) {
+ // The only way to delete a newline is to delete until the start of
+ // the next line, so in linewise mode evalInput will include the next
+ // line. We don't want this in indent, so we go back a line.
+ endLine--;
+ }
+ for (var i = startLine; i <= endLine; i++) {
+ for (var j = 0; j < repeat; j++) {
+ cm.indentLine(i, args.indentRight);
+ }
+ }
+ return motions.moveToFirstNonWhiteSpaceCharacter(cm, ranges[0].anchor);
+ },
+ changeCase: function(cm, args, ranges, oldAnchor, newHead) {
+ var selections = cm.getSelections();
+ var swapped = [];
+ var toLower = args.toLower;
+ for (var j = 0; j < selections.length; j++) {
+ var toSwap = selections[j];
+ var text = '';
+ if (toLower === true) {
+ text = toSwap.toLowerCase();
+ } else if (toLower === false) {
+ text = toSwap.toUpperCase();
+ } else {
+ for (var i = 0; i < toSwap.length; i++) {
+ var character = toSwap.charAt(i);
+ text += isUpperCase(character) ? character.toLowerCase() :
+ character.toUpperCase();
+ }
+ }
+ swapped.push(text);
+ }
+ cm.replaceSelections(swapped);
+ if (args.shouldMoveCursor){
+ return newHead;
+ } else if (!cm.state.vim.visualMode && args.linewise && ranges[0].anchor.line + 1 == ranges[0].head.line) {
+ return motions.moveToFirstNonWhiteSpaceCharacter(cm, oldAnchor);
+ } else if (args.linewise){
+ return oldAnchor;
+ } else {
+ return cursorMin(ranges[0].anchor, ranges[0].head);
+ }
+ },
+ yank: function(cm, args, ranges, oldAnchor) {
+ var vim = cm.state.vim;
+ var text = cm.getSelection();
+ var endPos = vim.visualMode
+ ? cursorMin(vim.sel.anchor, vim.sel.head, ranges[0].head, ranges[0].anchor)
+ : oldAnchor;
+ vimGlobalState.registerController.pushText(
+ args.registerName, 'yank',
+ text, args.linewise, vim.visualBlock);
+ return endPos;
+ }
+ };
+
+ function defineOperator(name, fn) {
+ operators[name] = fn;
+ }
+
+ var actions = {
+ jumpListWalk: function(cm, actionArgs, vim) {
+ if (vim.visualMode) {
+ return;
+ }
+ var repeat = actionArgs.repeat;
+ var forward = actionArgs.forward;
+ var jumpList = vimGlobalState.jumpList;
+
+ var mark = jumpList.move(cm, forward ? repeat : -repeat);
+ var markPos = mark ? mark.find() : undefined;
+ markPos = markPos ? markPos : cm.getCursor();
+ cm.setCursor(markPos);
+ },
+ scroll: function(cm, actionArgs, vim) {
+ if (vim.visualMode) {
+ return;
+ }
+ var repeat = actionArgs.repeat || 1;
+ var lineHeight = cm.defaultTextHeight();
+ var top = cm.getScrollInfo().top;
+ var delta = lineHeight * repeat;
+ var newPos = actionArgs.forward ? top + delta : top - delta;
+ var cursor = copyCursor(cm.getCursor());
+ var cursorCoords = cm.charCoords(cursor, 'local');
+ if (actionArgs.forward) {
+ if (newPos > cursorCoords.top) {
+ cursor.line += (newPos - cursorCoords.top) / lineHeight;
+ cursor.line = Math.ceil(cursor.line);
+ cm.setCursor(cursor);
+ cursorCoords = cm.charCoords(cursor, 'local');
+ cm.scrollTo(null, cursorCoords.top);
+ } else {
+ // Cursor stays within bounds. Just reposition the scroll window.
+ cm.scrollTo(null, newPos);
+ }
+ } else {
+ var newBottom = newPos + cm.getScrollInfo().clientHeight;
+ if (newBottom < cursorCoords.bottom) {
+ cursor.line -= (cursorCoords.bottom - newBottom) / lineHeight;
+ cursor.line = Math.floor(cursor.line);
+ cm.setCursor(cursor);
+ cursorCoords = cm.charCoords(cursor, 'local');
+ cm.scrollTo(
+ null, cursorCoords.bottom - cm.getScrollInfo().clientHeight);
+ } else {
+ // Cursor stays within bounds. Just reposition the scroll window.
+ cm.scrollTo(null, newPos);
+ }
+ }
+ },
+ scrollToCursor: function(cm, actionArgs) {
+ var lineNum = cm.getCursor().line;
+ var charCoords = cm.charCoords(Pos(lineNum, 0), 'local');
+ var height = cm.getScrollInfo().clientHeight;
+ var y = charCoords.top;
+ var lineHeight = charCoords.bottom - y;
+ switch (actionArgs.position) {
+ case 'center': y = y - (height / 2) + lineHeight;
+ break;
+ case 'bottom': y = y - height + lineHeight*1.4;
+ break;
+ case 'top': y = y + lineHeight*0.4;
+ break;
+ }
+ cm.scrollTo(null, y);
+ },
+ replayMacro: function(cm, actionArgs, vim) {
+ var registerName = actionArgs.selectedCharacter;
+ var repeat = actionArgs.repeat;
+ var macroModeState = vimGlobalState.macroModeState;
+ if (registerName == '@') {
+ registerName = macroModeState.latestRegister;
+ }
+ while(repeat--){
+ executeMacroRegister(cm, vim, macroModeState, registerName);
+ }
+ },
+ enterMacroRecordMode: function(cm, actionArgs) {
+ var macroModeState = vimGlobalState.macroModeState;
+ var registerName = actionArgs.selectedCharacter;
+ macroModeState.enterMacroRecordMode(cm, registerName);
+ },
+ enterInsertMode: function(cm, actionArgs, vim) {
+ if (cm.getOption('readOnly')) { return; }
+ vim.insertMode = true;
+ vim.insertModeRepeat = actionArgs && actionArgs.repeat || 1;
+ var insertAt = (actionArgs) ? actionArgs.insertAt : null;
+ var sel = vim.sel;
+ var head = actionArgs.head || cm.getCursor('head');
+ var height = cm.listSelections().length;
+ if (insertAt == 'eol') {
+ head = Pos(head.line, lineLength(cm, head.line));
+ } else if (insertAt == 'charAfter') {
+ head = offsetCursor(head, 0, 1);
+ } else if (insertAt == 'firstNonBlank') {
+ head = motions.moveToFirstNonWhiteSpaceCharacter(cm, head);
+ } else if (insertAt == 'startOfSelectedArea') {
+ if (!vim.visualBlock) {
+ if (sel.head.line < sel.anchor.line) {
+ head = sel.head;
+ } else {
+ head = Pos(sel.anchor.line, 0);
+ }
+ } else {
+ head = Pos(
+ Math.min(sel.head.line, sel.anchor.line),
+ Math.min(sel.head.ch, sel.anchor.ch));
+ height = Math.abs(sel.head.line - sel.anchor.line) + 1;
+ }
+ } else if (insertAt == 'endOfSelectedArea') {
+ if (!vim.visualBlock) {
+ if (sel.head.line >= sel.anchor.line) {
+ head = offsetCursor(sel.head, 0, 1);
+ } else {
+ head = Pos(sel.anchor.line, 0);
+ }
+ } else {
+ head = Pos(
+ Math.min(sel.head.line, sel.anchor.line),
+ Math.max(sel.head.ch + 1, sel.anchor.ch));
+ height = Math.abs(sel.head.line - sel.anchor.line) + 1;
+ }
+ } else if (insertAt == 'inplace') {
+ if (vim.visualMode){
+ return;
+ }
+ }
+ cm.setOption('keyMap', 'vim-insert');
+ cm.setOption('disableInput', false);
+ if (actionArgs && actionArgs.replace) {
+ // Handle Replace-mode as a special case of insert mode.
+ cm.toggleOverwrite(true);
+ cm.setOption('keyMap', 'vim-replace');
+ CodeMirror.signal(cm, "vim-mode-change", {mode: "replace"});
+ } else {
+ cm.setOption('keyMap', 'vim-insert');
+ CodeMirror.signal(cm, "vim-mode-change", {mode: "insert"});
+ }
+ if (!vimGlobalState.macroModeState.isPlaying) {
+ // Only record if not replaying.
+ cm.on('change', onChange);
+ CodeMirror.on(cm.getInputField(), 'keydown', onKeyEventTargetKeyDown);
+ }
+ if (vim.visualMode) {
+ exitVisualMode(cm);
+ }
+ selectForInsert(cm, head, height);
+ },
+ toggleVisualMode: function(cm, actionArgs, vim) {
+ var repeat = actionArgs.repeat;
+ var anchor = cm.getCursor();
+ var head;
+ // TODO: The repeat should actually select number of characters/lines
+ // equal to the repeat times the size of the previous visual
+ // operation.
+ if (!vim.visualMode) {
+ // Entering visual mode
+ vim.visualMode = true;
+ vim.visualLine = !!actionArgs.linewise;
+ vim.visualBlock = !!actionArgs.blockwise;
+ head = clipCursorToContent(
+ cm, Pos(anchor.line, anchor.ch + repeat - 1),
+ true /** includeLineBreak */);
+ vim.sel = {
+ anchor: anchor,
+ head: head
+ };
+ CodeMirror.signal(cm, "vim-mode-change", {mode: "visual", subMode: vim.visualLine ? "linewise" : vim.visualBlock ? "blockwise" : ""});
+ updateCmSelection(cm);
+ updateMark(cm, vim, '<', cursorMin(anchor, head));
+ updateMark(cm, vim, '>', cursorMax(anchor, head));
+ } else if (vim.visualLine ^ actionArgs.linewise ||
+ vim.visualBlock ^ actionArgs.blockwise) {
+ // Toggling between modes
+ vim.visualLine = !!actionArgs.linewise;
+ vim.visualBlock = !!actionArgs.blockwise;
+ CodeMirror.signal(cm, "vim-mode-change", {mode: "visual", subMode: vim.visualLine ? "linewise" : vim.visualBlock ? "blockwise" : ""});
+ updateCmSelection(cm);
+ } else {
+ exitVisualMode(cm);
+ }
+ },
+ reselectLastSelection: function(cm, _actionArgs, vim) {
+ var lastSelection = vim.lastSelection;
+ if (vim.visualMode) {
+ updateLastSelection(cm, vim);
+ }
+ if (lastSelection) {
+ var anchor = lastSelection.anchorMark.find();
+ var head = lastSelection.headMark.find();
+ if (!anchor || !head) {
+ // If the marks have been destroyed due to edits, do nothing.
+ return;
+ }
+ vim.sel = {
+ anchor: anchor,
+ head: head
+ };
+ vim.visualMode = true;
+ vim.visualLine = lastSelection.visualLine;
+ vim.visualBlock = lastSelection.visualBlock;
+ updateCmSelection(cm);
+ updateMark(cm, vim, '<', cursorMin(anchor, head));
+ updateMark(cm, vim, '>', cursorMax(anchor, head));
+ CodeMirror.signal(cm, 'vim-mode-change', {
+ mode: 'visual',
+ subMode: vim.visualLine ? 'linewise' :
+ vim.visualBlock ? 'blockwise' : ''});
+ }
+ },
+ joinLines: function(cm, actionArgs, vim) {
+ var curStart, curEnd;
+ if (vim.visualMode) {
+ curStart = cm.getCursor('anchor');
+ curEnd = cm.getCursor('head');
+ if (cursorIsBefore(curEnd, curStart)) {
+ var tmp = curEnd;
+ curEnd = curStart;
+ curStart = tmp;
+ }
+ curEnd.ch = lineLength(cm, curEnd.line) - 1;
+ } else {
+ // Repeat is the number of lines to join. Minimum 2 lines.
+ var repeat = Math.max(actionArgs.repeat, 2);
+ curStart = cm.getCursor();
+ curEnd = clipCursorToContent(cm, Pos(curStart.line + repeat - 1,
+ Infinity));
+ }
+ var finalCh = 0;
+ for (var i = curStart.line; i < curEnd.line; i++) {
+ finalCh = lineLength(cm, curStart.line);
+ var tmp = Pos(curStart.line + 1,
+ lineLength(cm, curStart.line + 1));
+ var text = cm.getRange(curStart, tmp);
+ text = text.replace(/\n\s*/g, ' ');
+ cm.replaceRange(text, curStart, tmp);
+ }
+ var curFinalPos = Pos(curStart.line, finalCh);
+ if (vim.visualMode) {
+ exitVisualMode(cm, false);
+ }
+ cm.setCursor(curFinalPos);
+ },
+ newLineAndEnterInsertMode: function(cm, actionArgs, vim) {
+ vim.insertMode = true;
+ var insertAt = copyCursor(cm.getCursor());
+ if (insertAt.line === cm.firstLine() && !actionArgs.after) {
+ // Special case for inserting newline before start of document.
+ cm.replaceRange('\n', Pos(cm.firstLine(), 0));
+ cm.setCursor(cm.firstLine(), 0);
+ } else {
+ insertAt.line = (actionArgs.after) ? insertAt.line :
+ insertAt.line - 1;
+ insertAt.ch = lineLength(cm, insertAt.line);
+ cm.setCursor(insertAt);
+ var newlineFn = CodeMirror.commands.newlineAndIndentContinueComment ||
+ CodeMirror.commands.newlineAndIndent;
+ newlineFn(cm);
+ }
+ this.enterInsertMode(cm, { repeat: actionArgs.repeat }, vim);
+ },
+ paste: function(cm, actionArgs, vim) {
+ var cur = copyCursor(cm.getCursor());
+ var register = vimGlobalState.registerController.getRegister(
+ actionArgs.registerName);
+ var text = register.toString();
+ if (!text) {
+ return;
+ }
+ if (actionArgs.matchIndent) {
+ var tabSize = cm.getOption("tabSize");
+ // length that considers tabs and tabSize
+ var whitespaceLength = function(str) {
+ var tabs = (str.split("\t").length - 1);
+ var spaces = (str.split(" ").length - 1);
+ return tabs * tabSize + spaces * 1;
+ };
+ var currentLine = cm.getLine(cm.getCursor().line);
+ var indent = whitespaceLength(currentLine.match(/^\s*/)[0]);
+ // chomp last newline b/c don't want it to match /^\s*/gm
+ var chompedText = text.replace(/\n$/, '');
+ var wasChomped = text !== chompedText;
+ var firstIndent = whitespaceLength(text.match(/^\s*/)[0]);
+ var text = chompedText.replace(/^\s*/gm, function(wspace) {
+ var newIndent = indent + (whitespaceLength(wspace) - firstIndent);
+ if (newIndent < 0) {
+ return "";
+ }
+ else if (cm.getOption("indentWithTabs")) {
+ var quotient = Math.floor(newIndent / tabSize);
+ return Array(quotient + 1).join('\t');
+ }
+ else {
+ return Array(newIndent + 1).join(' ');
+ }
+ });
+ text += wasChomped ? "\n" : "";
+ }
+ if (actionArgs.repeat > 1) {
+ var text = Array(actionArgs.repeat + 1).join(text);
+ }
+ var linewise = register.linewise;
+ var blockwise = register.blockwise;
+ if (linewise) {
+ if(vim.visualMode) {
+ text = vim.visualLine ? text.slice(0, -1) : '\n' + text.slice(0, text.length - 1) + '\n';
+ } else if (actionArgs.after) {
+ // Move the newline at the end to the start instead, and paste just
+ // before the newline character of the line we are on right now.
+ text = '\n' + text.slice(0, text.length - 1);
+ cur.ch = lineLength(cm, cur.line);
+ } else {
+ cur.ch = 0;
+ }
+ } else {
+ if (blockwise) {
+ text = text.split('\n');
+ for (var i = 0; i < text.length; i++) {
+ text[i] = (text[i] == '') ? ' ' : text[i];
+ }
+ }
+ cur.ch += actionArgs.after ? 1 : 0;
+ }
+ var curPosFinal;
+ var idx;
+ if (vim.visualMode) {
+ // save the pasted text for reselection if the need arises
+ vim.lastPastedText = text;
+ var lastSelectionCurEnd;
+ var selectedArea = getSelectedAreaRange(cm, vim);
+ var selectionStart = selectedArea[0];
+ var selectionEnd = selectedArea[1];
+ var selectedText = cm.getSelection();
+ var selections = cm.listSelections();
+ var emptyStrings = new Array(selections.length).join('1').split('1');
+ // save the curEnd marker before it get cleared due to cm.replaceRange.
+ if (vim.lastSelection) {
+ lastSelectionCurEnd = vim.lastSelection.headMark.find();
+ }
+ // push the previously selected text to unnamed register
+ vimGlobalState.registerController.unnamedRegister.setText(selectedText);
+ if (blockwise) {
+ // first delete the selected text
+ cm.replaceSelections(emptyStrings);
+ // Set new selections as per the block length of the yanked text
+ selectionEnd = Pos(selectionStart.line + text.length-1, selectionStart.ch);
+ cm.setCursor(selectionStart);
+ selectBlock(cm, selectionEnd);
+ cm.replaceSelections(text);
+ curPosFinal = selectionStart;
+ } else if (vim.visualBlock) {
+ cm.replaceSelections(emptyStrings);
+ cm.setCursor(selectionStart);
+ cm.replaceRange(text, selectionStart, selectionStart);
+ curPosFinal = selectionStart;
+ } else {
+ cm.replaceRange(text, selectionStart, selectionEnd);
+ curPosFinal = cm.posFromIndex(cm.indexFromPos(selectionStart) + text.length - 1);
+ }
+ // restore the the curEnd marker
+ if(lastSelectionCurEnd) {
+ vim.lastSelection.headMark = cm.setBookmark(lastSelectionCurEnd);
+ }
+ if (linewise) {
+ curPosFinal.ch=0;
+ }
+ } else {
+ if (blockwise) {
+ cm.setCursor(cur);
+ for (var i = 0; i < text.length; i++) {
+ var line = cur.line+i;
+ if (line > cm.lastLine()) {
+ cm.replaceRange('\n', Pos(line, 0));
+ }
+ var lastCh = lineLength(cm, line);
+ if (lastCh < cur.ch) {
+ extendLineToColumn(cm, line, cur.ch);
+ }
+ }
+ cm.setCursor(cur);
+ selectBlock(cm, Pos(cur.line + text.length-1, cur.ch));
+ cm.replaceSelections(text);
+ curPosFinal = cur;
+ } else {
+ cm.replaceRange(text, cur);
+ // Now fine tune the cursor to where we want it.
+ if (linewise && actionArgs.after) {
+ curPosFinal = Pos(
+ cur.line + 1,
+ findFirstNonWhiteSpaceCharacter(cm.getLine(cur.line + 1)));
+ } else if (linewise && !actionArgs.after) {
+ curPosFinal = Pos(
+ cur.line,
+ findFirstNonWhiteSpaceCharacter(cm.getLine(cur.line)));
+ } else if (!linewise && actionArgs.after) {
+ idx = cm.indexFromPos(cur);
+ curPosFinal = cm.posFromIndex(idx + text.length - 1);
+ } else {
+ idx = cm.indexFromPos(cur);
+ curPosFinal = cm.posFromIndex(idx + text.length);
+ }
+ }
+ }
+ if (vim.visualMode) {
+ exitVisualMode(cm, false);
+ }
+ cm.setCursor(curPosFinal);
+ },
+ undo: function(cm, actionArgs) {
+ cm.operation(function() {
+ repeatFn(cm, CodeMirror.commands.undo, actionArgs.repeat)();
+ cm.setCursor(cm.getCursor('anchor'));
+ });
+ },
+ redo: function(cm, actionArgs) {
+ repeatFn(cm, CodeMirror.commands.redo, actionArgs.repeat)();
+ },
+ setRegister: function(_cm, actionArgs, vim) {
+ vim.inputState.registerName = actionArgs.selectedCharacter;
+ },
+ setMark: function(cm, actionArgs, vim) {
+ var markName = actionArgs.selectedCharacter;
+ updateMark(cm, vim, markName, cm.getCursor());
+ },
+ replace: function(cm, actionArgs, vim) {
+ var replaceWith = actionArgs.selectedCharacter;
+ var curStart = cm.getCursor();
+ var replaceTo;
+ var curEnd;
+ var selections = cm.listSelections();
+ if (vim.visualMode) {
+ curStart = cm.getCursor('start');
+ curEnd = cm.getCursor('end');
+ } else {
+ var line = cm.getLine(curStart.line);
+ replaceTo = curStart.ch + actionArgs.repeat;
+ if (replaceTo > line.length) {
+ replaceTo=line.length;
+ }
+ curEnd = Pos(curStart.line, replaceTo);
+ }
+ if (replaceWith=='\n') {
+ if (!vim.visualMode) cm.replaceRange('', curStart, curEnd);
+ // special case, where vim help says to replace by just one line-break
+ (CodeMirror.commands.newlineAndIndentContinueComment || CodeMirror.commands.newlineAndIndent)(cm);
+ } else {
+ var replaceWithStr = cm.getRange(curStart, curEnd);
+ //replace all characters in range by selected, but keep linebreaks
+ replaceWithStr = replaceWithStr.replace(/[^\n]/g, replaceWith);
+ if (vim.visualBlock) {
+ // Tabs are split in visua block before replacing
+ var spaces = new Array(cm.getOption("tabSize")+1).join(' ');
+ replaceWithStr = cm.getSelection();
+ replaceWithStr = replaceWithStr.replace(/\t/g, spaces).replace(/[^\n]/g, replaceWith).split('\n');
+ cm.replaceSelections(replaceWithStr);
+ } else {
+ cm.replaceRange(replaceWithStr, curStart, curEnd);
+ }
+ if (vim.visualMode) {
+ curStart = cursorIsBefore(selections[0].anchor, selections[0].head) ?
+ selections[0].anchor : selections[0].head;
+ cm.setCursor(curStart);
+ exitVisualMode(cm, false);
+ } else {
+ cm.setCursor(offsetCursor(curEnd, 0, -1));
+ }
+ }
+ },
+ incrementNumberToken: function(cm, actionArgs) {
+ var cur = cm.getCursor();
+ var lineStr = cm.getLine(cur.line);
+ var re = /-?\d+/g;
+ var match;
+ var start;
+ var end;
+ var numberStr;
+ var token;
+ while ((match = re.exec(lineStr)) !== null) {
+ token = match[0];
+ start = match.index;
+ end = start + token.length;
+ if (cur.ch < end)break;
+ }
+ if (!actionArgs.backtrack && (end <= cur.ch))return;
+ if (token) {
+ var increment = actionArgs.increase ? 1 : -1;
+ var number = parseInt(token) + (increment * actionArgs.repeat);
+ var from = Pos(cur.line, start);
+ var to = Pos(cur.line, end);
+ numberStr = number.toString();
+ cm.replaceRange(numberStr, from, to);
+ } else {
+ return;
+ }
+ cm.setCursor(Pos(cur.line, start + numberStr.length - 1));
+ },
+ repeatLastEdit: function(cm, actionArgs, vim) {
+ var lastEditInputState = vim.lastEditInputState;
+ if (!lastEditInputState) { return; }
+ var repeat = actionArgs.repeat;
+ if (repeat && actionArgs.repeatIsExplicit) {
+ vim.lastEditInputState.repeatOverride = repeat;
+ } else {
+ repeat = vim.lastEditInputState.repeatOverride || repeat;
+ }
+ repeatLastEdit(cm, vim, repeat, false /** repeatForInsert */);
+ },
+ exitInsertMode: exitInsertMode
+ };
+
+ function defineAction(name, fn) {
+ actions[name] = fn;
+ }
+
+ /*
+ * Below are miscellaneous utility functions used by vim.js
+ */
+
+ /**
+ * Clips cursor to ensure that line is within the buffer's range
+ * If includeLineBreak is true, then allow cur.ch == lineLength.
+ */
+ function clipCursorToContent(cm, cur, includeLineBreak) {
+ var line = Math.min(Math.max(cm.firstLine(), cur.line), cm.lastLine() );
+ var maxCh = lineLength(cm, line) - 1;
+ maxCh = (includeLineBreak) ? maxCh + 1 : maxCh;
+ var ch = Math.min(Math.max(0, cur.ch), maxCh);
+ return Pos(line, ch);
+ }
+ function copyArgs(args) {
+ var ret = {};
+ for (var prop in args) {
+ if (args.hasOwnProperty(prop)) {
+ ret[prop] = args[prop];
+ }
+ }
+ return ret;
+ }
+ function offsetCursor(cur, offsetLine, offsetCh) {
+ if (typeof offsetLine === 'object') {
+ offsetCh = offsetLine.ch;
+ offsetLine = offsetLine.line;
+ }
+ return Pos(cur.line + offsetLine, cur.ch + offsetCh);
+ }
+ function getOffset(anchor, head) {
+ return {
+ line: head.line - anchor.line,
+ ch: head.line - anchor.line
+ };
+ }
+ function commandMatches(keys, keyMap, context, inputState) {
+ // Partial matches are not applied. They inform the key handler
+ // that the current key sequence is a subsequence of a valid key
+ // sequence, so that the key buffer is not cleared.
+ var match, partial = [], full = [];
+ for (var i = 0; i < keyMap.length; i++) {
+ var command = keyMap[i];
+ if (context == 'insert' && command.context != 'insert' ||
+ command.context && command.context != context ||
+ inputState.operator && command.type == 'action' ||
+ !(match = commandMatch(keys, command.keys))) { continue; }
+ if (match == 'partial') { partial.push(command); }
+ if (match == 'full') { full.push(command); }
+ }
+ return {
+ partial: partial.length && partial,
+ full: full.length && full
+ };
+ }
+ function commandMatch(pressed, mapped) {
+ if (mapped.slice(-11) == '') {
+ // Last character matches anything.
+ var prefixLen = mapped.length - 11;
+ var pressedPrefix = pressed.slice(0, prefixLen);
+ var mappedPrefix = mapped.slice(0, prefixLen);
+ return pressedPrefix == mappedPrefix && pressed.length > prefixLen ? 'full' :
+ mappedPrefix.indexOf(pressedPrefix) == 0 ? 'partial' : false;
+ } else {
+ return pressed == mapped ? 'full' :
+ mapped.indexOf(pressed) == 0 ? 'partial' : false;
+ }
+ }
+ function lastChar(keys) {
+ var match = /^.*(<[\w\-]+>)$/.exec(keys);
+ var selectedCharacter = match ? match[1] : keys.slice(-1);
+ if (selectedCharacter.length > 1){
+ switch(selectedCharacter){
+ case '':
+ selectedCharacter='\n';
+ break;
+ case '':
+ selectedCharacter=' ';
+ break;
+ default:
+ break;
+ }
+ }
+ return selectedCharacter;
+ }
+ function repeatFn(cm, fn, repeat) {
+ return function() {
+ for (var i = 0; i < repeat; i++) {
+ fn(cm);
+ }
+ };
+ }
+ function copyCursor(cur) {
+ return Pos(cur.line, cur.ch);
+ }
+ function cursorEqual(cur1, cur2) {
+ return cur1.ch == cur2.ch && cur1.line == cur2.line;
+ }
+ function cursorIsBefore(cur1, cur2) {
+ if (cur1.line < cur2.line) {
+ return true;
+ }
+ if (cur1.line == cur2.line && cur1.ch < cur2.ch) {
+ return true;
+ }
+ return false;
+ }
+ function cursorMin(cur1, cur2) {
+ if (arguments.length > 2) {
+ cur2 = cursorMin.apply(undefined, Array.prototype.slice.call(arguments, 1));
+ }
+ return cursorIsBefore(cur1, cur2) ? cur1 : cur2;
+ }
+ function cursorMax(cur1, cur2) {
+ if (arguments.length > 2) {
+ cur2 = cursorMax.apply(undefined, Array.prototype.slice.call(arguments, 1));
+ }
+ return cursorIsBefore(cur1, cur2) ? cur2 : cur1;
+ }
+ function cursorIsBetween(cur1, cur2, cur3) {
+ // returns true if cur2 is between cur1 and cur3.
+ var cur1before2 = cursorIsBefore(cur1, cur2);
+ var cur2before3 = cursorIsBefore(cur2, cur3);
+ return cur1before2 && cur2before3;
+ }
+ function lineLength(cm, lineNum) {
+ return cm.getLine(lineNum).length;
+ }
+ function trim(s) {
+ if (s.trim) {
+ return s.trim();
+ }
+ return s.replace(/^\s+|\s+$/g, '');
+ }
+ function escapeRegex(s) {
+ return s.replace(/([.?*+$\[\]\/\\(){}|\-])/g, '\\$1');
+ }
+ function extendLineToColumn(cm, lineNum, column) {
+ var endCh = lineLength(cm, lineNum);
+ var spaces = new Array(column-endCh+1).join(' ');
+ cm.setCursor(Pos(lineNum, endCh));
+ cm.replaceRange(spaces, cm.getCursor());
+ }
+ // This functions selects a rectangular block
+ // of text with selectionEnd as any of its corner
+ // Height of block:
+ // Difference in selectionEnd.line and first/last selection.line
+ // Width of the block:
+ // Distance between selectionEnd.ch and any(first considered here) selection.ch
+ function selectBlock(cm, selectionEnd) {
+ var selections = [], ranges = cm.listSelections();
+ var head = copyCursor(cm.clipPos(selectionEnd));
+ var isClipped = !cursorEqual(selectionEnd, head);
+ var curHead = cm.getCursor('head');
+ var primIndex = getIndex(ranges, curHead);
+ var wasClipped = cursorEqual(ranges[primIndex].head, ranges[primIndex].anchor);
+ var max = ranges.length - 1;
+ var index = max - primIndex > primIndex ? max : 0;
+ var base = ranges[index].anchor;
+
+ var firstLine = Math.min(base.line, head.line);
+ var lastLine = Math.max(base.line, head.line);
+ var baseCh = base.ch, headCh = head.ch;
+
+ var dir = ranges[index].head.ch - baseCh;
+ var newDir = headCh - baseCh;
+ if (dir > 0 && newDir <= 0) {
+ baseCh++;
+ if (!isClipped) { headCh--; }
+ } else if (dir < 0 && newDir >= 0) {
+ baseCh--;
+ if (!wasClipped) { headCh++; }
+ } else if (dir < 0 && newDir == -1) {
+ baseCh--;
+ headCh++;
+ }
+ for (var line = firstLine; line <= lastLine; line++) {
+ var range = {anchor: new Pos(line, baseCh), head: new Pos(line, headCh)};
+ selections.push(range);
+ }
+ primIndex = head.line == lastLine ? selections.length - 1 : 0;
+ cm.setSelections(selections);
+ selectionEnd.ch = headCh;
+ base.ch = baseCh;
+ return base;
+ }
+ function selectForInsert(cm, head, height) {
+ var sel = [];
+ for (var i = 0; i < height; i++) {
+ var lineHead = offsetCursor(head, i, 0);
+ sel.push({anchor: lineHead, head: lineHead});
+ }
+ cm.setSelections(sel, 0);
+ }
+ // getIndex returns the index of the cursor in the selections.
+ function getIndex(ranges, cursor, end) {
+ for (var i = 0; i < ranges.length; i++) {
+ var atAnchor = end != 'head' && cursorEqual(ranges[i].anchor, cursor);
+ var atHead = end != 'anchor' && cursorEqual(ranges[i].head, cursor);
+ if (atAnchor || atHead) {
+ return i;
+ }
+ }
+ return -1;
+ }
+ function getSelectedAreaRange(cm, vim) {
+ var lastSelection = vim.lastSelection;
+ var getCurrentSelectedAreaRange = function() {
+ var selections = cm.listSelections();
+ var start = selections[0];
+ var end = selections[selections.length-1];
+ var selectionStart = cursorIsBefore(start.anchor, start.head) ? start.anchor : start.head;
+ var selectionEnd = cursorIsBefore(end.anchor, end.head) ? end.head : end.anchor;
+ return [selectionStart, selectionEnd];
+ };
+ var getLastSelectedAreaRange = function() {
+ var selectionStart = cm.getCursor();
+ var selectionEnd = cm.getCursor();
+ var block = lastSelection.visualBlock;
+ if (block) {
+ var width = block.width;
+ var height = block.height;
+ selectionEnd = Pos(selectionStart.line + height, selectionStart.ch + width);
+ var selections = [];
+ // selectBlock creates a 'proper' rectangular block.
+ // We do not want that in all cases, so we manually set selections.
+ for (var i = selectionStart.line; i < selectionEnd.line; i++) {
+ var anchor = Pos(i, selectionStart.ch);
+ var head = Pos(i, selectionEnd.ch);
+ var range = {anchor: anchor, head: head};
+ selections.push(range);
+ }
+ cm.setSelections(selections);
+ } else {
+ var start = lastSelection.anchorMark.find();
+ var end = lastSelection.headMark.find();
+ var line = end.line - start.line;
+ var ch = end.ch - start.ch;
+ selectionEnd = {line: selectionEnd.line + line, ch: line ? selectionEnd.ch : ch + selectionEnd.ch};
+ if (lastSelection.visualLine) {
+ selectionStart = Pos(selectionStart.line, 0);
+ selectionEnd = Pos(selectionEnd.line, lineLength(cm, selectionEnd.line));
+ }
+ cm.setSelection(selectionStart, selectionEnd);
+ }
+ return [selectionStart, selectionEnd];
+ };
+ if (!vim.visualMode) {
+ // In case of replaying the action.
+ return getLastSelectedAreaRange();
+ } else {
+ return getCurrentSelectedAreaRange();
+ }
+ }
+ // Updates the previous selection with the current selection's values. This
+ // should only be called in visual mode.
+ function updateLastSelection(cm, vim) {
+ var anchor = vim.sel.anchor;
+ var head = vim.sel.head;
+ // To accommodate the effect of lastPastedText in the last selection
+ if (vim.lastPastedText) {
+ head = cm.posFromIndex(cm.indexFromPos(anchor) + vim.lastPastedText.length);
+ vim.lastPastedText = null;
+ }
+ vim.lastSelection = {'anchorMark': cm.setBookmark(anchor),
+ 'headMark': cm.setBookmark(head),
+ 'anchor': copyCursor(anchor),
+ 'head': copyCursor(head),
+ 'visualMode': vim.visualMode,
+ 'visualLine': vim.visualLine,
+ 'visualBlock': vim.visualBlock};
+ }
+ function expandSelection(cm, start, end) {
+ var sel = cm.state.vim.sel;
+ var head = sel.head;
+ var anchor = sel.anchor;
+ var tmp;
+ if (cursorIsBefore(end, start)) {
+ tmp = end;
+ end = start;
+ start = tmp;
+ }
+ if (cursorIsBefore(head, anchor)) {
+ head = cursorMin(start, head);
+ anchor = cursorMax(anchor, end);
+ } else {
+ anchor = cursorMin(start, anchor);
+ head = cursorMax(head, end);
+ head = offsetCursor(head, 0, -1);
+ if (head.ch == -1 && head.line != cm.firstLine()) {
+ head = Pos(head.line - 1, lineLength(cm, head.line - 1));
+ }
+ }
+ return [anchor, head];
+ }
+ /**
+ * Updates the CodeMirror selection to match the provided vim selection.
+ * If no arguments are given, it uses the current vim selection state.
+ */
+ function updateCmSelection(cm, sel, mode) {
+ var vim = cm.state.vim;
+ sel = sel || vim.sel;
+ var mode = mode ||
+ vim.visualLine ? 'line' : vim.visualBlock ? 'block' : 'char';
+ var cmSel = makeCmSelection(cm, sel, mode);
+ cm.setSelections(cmSel.ranges, cmSel.primary);
+ updateFakeCursor(cm);
+ }
+ function makeCmSelection(cm, sel, mode, exclusive) {
+ var head = copyCursor(sel.head);
+ var anchor = copyCursor(sel.anchor);
+ if (mode == 'char') {
+ var headOffset = !exclusive && !cursorIsBefore(sel.head, sel.anchor) ? 1 : 0;
+ var anchorOffset = cursorIsBefore(sel.head, sel.anchor) ? 1 : 0;
+ head = offsetCursor(sel.head, 0, headOffset);
+ anchor = offsetCursor(sel.anchor, 0, anchorOffset);
+ return {
+ ranges: [{anchor: anchor, head: head}],
+ primary: 0
+ };
+ } else if (mode == 'line') {
+ if (!cursorIsBefore(sel.head, sel.anchor)) {
+ anchor.ch = 0;
+
+ var lastLine = cm.lastLine();
+ if (head.line > lastLine) {
+ head.line = lastLine;
+ }
+ head.ch = lineLength(cm, head.line);
+ } else {
+ head.ch = 0;
+ anchor.ch = lineLength(cm, anchor.line);
+ }
+ return {
+ ranges: [{anchor: anchor, head: head}],
+ primary: 0
+ };
+ } else if (mode == 'block') {
+ var top = Math.min(anchor.line, head.line),
+ left = Math.min(anchor.ch, head.ch),
+ bottom = Math.max(anchor.line, head.line),
+ right = Math.max(anchor.ch, head.ch) + 1;
+ var height = bottom - top + 1;
+ var primary = head.line == top ? 0 : height - 1;
+ var ranges = [];
+ for (var i = 0; i < height; i++) {
+ ranges.push({
+ anchor: Pos(top + i, left),
+ head: Pos(top + i, right)
+ });
+ }
+ return {
+ ranges: ranges,
+ primary: primary
+ };
+ }
+ }
+ function getHead(cm) {
+ var cur = cm.getCursor('head');
+ if (cm.getSelection().length == 1) {
+ // Small corner case when only 1 character is selected. The "real"
+ // head is the left of head and anchor.
+ cur = cursorMin(cur, cm.getCursor('anchor'));
+ }
+ return cur;
+ }
+
+ /**
+ * If moveHead is set to false, the CodeMirror selection will not be
+ * touched. The caller assumes the responsibility of putting the cursor
+ * in the right place.
+ */
+ function exitVisualMode(cm, moveHead) {
+ var vim = cm.state.vim;
+ if (moveHead !== false) {
+ cm.setCursor(clipCursorToContent(cm, vim.sel.head));
+ }
+ updateLastSelection(cm, vim);
+ vim.visualMode = false;
+ vim.visualLine = false;
+ vim.visualBlock = false;
+ CodeMirror.signal(cm, "vim-mode-change", {mode: "normal"});
+ if (vim.fakeCursor) {
+ vim.fakeCursor.clear();
+ }
+ }
+
+ // Remove any trailing newlines from the selection. For
+ // example, with the caret at the start of the last word on the line,
+ // 'dw' should word, but not the newline, while 'w' should advance the
+ // caret to the first character of the next line.
+ function clipToLine(cm, curStart, curEnd) {
+ var selection = cm.getRange(curStart, curEnd);
+ // Only clip if the selection ends with trailing newline + whitespace
+ if (/\n\s*$/.test(selection)) {
+ var lines = selection.split('\n');
+ // We know this is all whitepsace.
+ lines.pop();
+
+ // Cases:
+ // 1. Last word is an empty line - do not clip the trailing '\n'
+ // 2. Last word is not an empty line - clip the trailing '\n'
+ var line;
+ // Find the line containing the last word, and clip all whitespace up
+ // to it.
+ for (var line = lines.pop(); lines.length > 0 && line && isWhiteSpaceString(line); line = lines.pop()) {
+ curEnd.line--;
+ curEnd.ch = 0;
+ }
+ // If the last word is not an empty line, clip an additional newline
+ if (line) {
+ curEnd.line--;
+ curEnd.ch = lineLength(cm, curEnd.line);
+ } else {
+ curEnd.ch = 0;
+ }
+ }
+ }
+
+ // Expand the selection to line ends.
+ function expandSelectionToLine(_cm, curStart, curEnd) {
+ curStart.ch = 0;
+ curEnd.ch = 0;
+ curEnd.line++;
+ }
+
+ function findFirstNonWhiteSpaceCharacter(text) {
+ if (!text) {
+ return 0;
+ }
+ var firstNonWS = text.search(/\S/);
+ return firstNonWS == -1 ? text.length : firstNonWS;
+ }
+
+ function expandWordUnderCursor(cm, inclusive, _forward, bigWord, noSymbol) {
+ var cur = getHead(cm);
+ var line = cm.getLine(cur.line);
+ var idx = cur.ch;
+
+ // Seek to first word or non-whitespace character, depending on if
+ // noSymbol is true.
+ var test = noSymbol ? wordCharTest[0] : bigWordCharTest [0];
+ while (!test(line.charAt(idx))) {
+ idx++;
+ if (idx >= line.length) { return null; }
+ }
+
+ if (bigWord) {
+ test = bigWordCharTest[0];
+ } else {
+ test = wordCharTest[0];
+ if (!test(line.charAt(idx))) {
+ test = wordCharTest[1];
+ }
+ }
+
+ var end = idx, start = idx;
+ while (test(line.charAt(end)) && end < line.length) { end++; }
+ while (test(line.charAt(start)) && start >= 0) { start--; }
+ start++;
+
+ if (inclusive) {
+ // If present, include all whitespace after word.
+ // Otherwise, include all whitespace before word, except indentation.
+ var wordEnd = end;
+ while (/\s/.test(line.charAt(end)) && end < line.length) { end++; }
+ if (wordEnd == end) {
+ var wordStart = start;
+ while (/\s/.test(line.charAt(start - 1)) && start > 0) { start--; }
+ if (!start) { start = wordStart; }
+ }
+ }
+ return { start: Pos(cur.line, start), end: Pos(cur.line, end) };
+ }
+
+ function recordJumpPosition(cm, oldCur, newCur) {
+ if (!cursorEqual(oldCur, newCur)) {
+ vimGlobalState.jumpList.add(cm, oldCur, newCur);
+ }
+ }
+
+ function recordLastCharacterSearch(increment, args) {
+ vimGlobalState.lastChararacterSearch.increment = increment;
+ vimGlobalState.lastChararacterSearch.forward = args.forward;
+ vimGlobalState.lastChararacterSearch.selectedCharacter = args.selectedCharacter;
+ }
+
+ var symbolToMode = {
+ '(': 'bracket', ')': 'bracket', '{': 'bracket', '}': 'bracket',
+ '[': 'section', ']': 'section',
+ '*': 'comment', '/': 'comment',
+ 'm': 'method', 'M': 'method',
+ '#': 'preprocess'
+ };
+ var findSymbolModes = {
+ bracket: {
+ isComplete: function(state) {
+ if (state.nextCh === state.symb) {
+ state.depth++;
+ if (state.depth >= 1)return true;
+ } else if (state.nextCh === state.reverseSymb) {
+ state.depth--;
+ }
+ return false;
+ }
+ },
+ section: {
+ init: function(state) {
+ state.curMoveThrough = true;
+ state.symb = (state.forward ? ']' : '[') === state.symb ? '{' : '}';
+ },
+ isComplete: function(state) {
+ return state.index === 0 && state.nextCh === state.symb;
+ }
+ },
+ comment: {
+ isComplete: function(state) {
+ var found = state.lastCh === '*' && state.nextCh === '/';
+ state.lastCh = state.nextCh;
+ return found;
+ }
+ },
+ // TODO: The original Vim implementation only operates on level 1 and 2.
+ // The current implementation doesn't check for code block level and
+ // therefore it operates on any levels.
+ method: {
+ init: function(state) {
+ state.symb = (state.symb === 'm' ? '{' : '}');
+ state.reverseSymb = state.symb === '{' ? '}' : '{';
+ },
+ isComplete: function(state) {
+ if (state.nextCh === state.symb)return true;
+ return false;
+ }
+ },
+ preprocess: {
+ init: function(state) {
+ state.index = 0;
+ },
+ isComplete: function(state) {
+ if (state.nextCh === '#') {
+ var token = state.lineText.match(/#(\w+)/)[1];
+ if (token === 'endif') {
+ if (state.forward && state.depth === 0) {
+ return true;
+ }
+ state.depth++;
+ } else if (token === 'if') {
+ if (!state.forward && state.depth === 0) {
+ return true;
+ }
+ state.depth--;
+ }
+ if (token === 'else' && state.depth === 0)return true;
+ }
+ return false;
+ }
+ }
+ };
+ function findSymbol(cm, repeat, forward, symb) {
+ var cur = copyCursor(cm.getCursor());
+ var increment = forward ? 1 : -1;
+ var endLine = forward ? cm.lineCount() : -1;
+ var curCh = cur.ch;
+ var line = cur.line;
+ var lineText = cm.getLine(line);
+ var state = {
+ lineText: lineText,
+ nextCh: lineText.charAt(curCh),
+ lastCh: null,
+ index: curCh,
+ symb: symb,
+ reverseSymb: (forward ? { ')': '(', '}': '{' } : { '(': ')', '{': '}' })[symb],
+ forward: forward,
+ depth: 0,
+ curMoveThrough: false
+ };
+ var mode = symbolToMode[symb];
+ if (!mode)return cur;
+ var init = findSymbolModes[mode].init;
+ var isComplete = findSymbolModes[mode].isComplete;
+ if (init) { init(state); }
+ while (line !== endLine && repeat) {
+ state.index += increment;
+ state.nextCh = state.lineText.charAt(state.index);
+ if (!state.nextCh) {
+ line += increment;
+ state.lineText = cm.getLine(line) || '';
+ if (increment > 0) {
+ state.index = 0;
+ } else {
+ var lineLen = state.lineText.length;
+ state.index = (lineLen > 0) ? (lineLen-1) : 0;
+ }
+ state.nextCh = state.lineText.charAt(state.index);
+ }
+ if (isComplete(state)) {
+ cur.line = line;
+ cur.ch = state.index;
+ repeat--;
+ }
+ }
+ if (state.nextCh || state.curMoveThrough) {
+ return Pos(line, state.index);
+ }
+ return cur;
+ }
+
+ /*
+ * Returns the boundaries of the next word. If the cursor in the middle of
+ * the word, then returns the boundaries of the current word, starting at
+ * the cursor. If the cursor is at the start/end of a word, and we are going
+ * forward/backward, respectively, find the boundaries of the next word.
+ *
+ * @param {CodeMirror} cm CodeMirror object.
+ * @param {Cursor} cur The cursor position.
+ * @param {boolean} forward True to search forward. False to search
+ * backward.
+ * @param {boolean} bigWord True if punctuation count as part of the word.
+ * False if only [a-zA-Z0-9] characters count as part of the word.
+ * @param {boolean} emptyLineIsWord True if empty lines should be treated
+ * as words.
+ * @return {Object{from:number, to:number, line: number}} The boundaries of
+ * the word, or null if there are no more words.
+ */
+ function findWord(cm, cur, forward, bigWord, emptyLineIsWord) {
+ var lineNum = cur.line;
+ var pos = cur.ch;
+ var line = cm.getLine(lineNum);
+ var dir = forward ? 1 : -1;
+ var charTests = bigWord ? bigWordCharTest: wordCharTest;
+
+ if (emptyLineIsWord && line == '') {
+ lineNum += dir;
+ line = cm.getLine(lineNum);
+ if (!isLine(cm, lineNum)) {
+ return null;
+ }
+ pos = (forward) ? 0 : line.length;
+ }
+
+ while (true) {
+ if (emptyLineIsWord && line == '') {
+ return { from: 0, to: 0, line: lineNum };
+ }
+ var stop = (dir > 0) ? line.length : -1;
+ var wordStart = stop, wordEnd = stop;
+ // Find bounds of next word.
+ while (pos != stop) {
+ var foundWord = false;
+ for (var i = 0; i < charTests.length && !foundWord; ++i) {
+ if (charTests[i](line.charAt(pos))) {
+ wordStart = pos;
+ // Advance to end of word.
+ while (pos != stop && charTests[i](line.charAt(pos))) {
+ pos += dir;
+ }
+ wordEnd = pos;
+ foundWord = wordStart != wordEnd;
+ if (wordStart == cur.ch && lineNum == cur.line &&
+ wordEnd == wordStart + dir) {
+ // We started at the end of a word. Find the next one.
+ continue;
+ } else {
+ return {
+ from: Math.min(wordStart, wordEnd + 1),
+ to: Math.max(wordStart, wordEnd),
+ line: lineNum };
+ }
+ }
+ }
+ if (!foundWord) {
+ pos += dir;
+ }
+ }
+ // Advance to next/prev line.
+ lineNum += dir;
+ if (!isLine(cm, lineNum)) {
+ return null;
+ }
+ line = cm.getLine(lineNum);
+ pos = (dir > 0) ? 0 : line.length;
+ }
+ // Should never get here.
+ throw new Error('The impossible happened.');
+ }
+
+ /**
+ * @param {CodeMirror} cm CodeMirror object.
+ * @param {Pos} cur The position to start from.
+ * @param {int} repeat Number of words to move past.
+ * @param {boolean} forward True to search forward. False to search
+ * backward.
+ * @param {boolean} wordEnd True to move to end of word. False to move to
+ * beginning of word.
+ * @param {boolean} bigWord True if punctuation count as part of the word.
+ * False if only alphabet characters count as part of the word.
+ * @return {Cursor} The position the cursor should move to.
+ */
+ function moveToWord(cm, cur, repeat, forward, wordEnd, bigWord) {
+ var curStart = copyCursor(cur);
+ var words = [];
+ if (forward && !wordEnd || !forward && wordEnd) {
+ repeat++;
+ }
+ // For 'e', empty lines are not considered words, go figure.
+ var emptyLineIsWord = !(forward && wordEnd);
+ for (var i = 0; i < repeat; i++) {
+ var word = findWord(cm, cur, forward, bigWord, emptyLineIsWord);
+ if (!word) {
+ var eodCh = lineLength(cm, cm.lastLine());
+ words.push(forward
+ ? {line: cm.lastLine(), from: eodCh, to: eodCh}
+ : {line: 0, from: 0, to: 0});
+ break;
+ }
+ words.push(word);
+ cur = Pos(word.line, forward ? (word.to - 1) : word.from);
+ }
+ var shortCircuit = words.length != repeat;
+ var firstWord = words[0];
+ var lastWord = words.pop();
+ if (forward && !wordEnd) {
+ // w
+ if (!shortCircuit && (firstWord.from != curStart.ch || firstWord.line != curStart.line)) {
+ // We did not start in the middle of a word. Discard the extra word at the end.
+ lastWord = words.pop();
+ }
+ return Pos(lastWord.line, lastWord.from);
+ } else if (forward && wordEnd) {
+ return Pos(lastWord.line, lastWord.to - 1);
+ } else if (!forward && wordEnd) {
+ // ge
+ if (!shortCircuit && (firstWord.to != curStart.ch || firstWord.line != curStart.line)) {
+ // We did not start in the middle of a word. Discard the extra word at the end.
+ lastWord = words.pop();
+ }
+ return Pos(lastWord.line, lastWord.to);
+ } else {
+ // b
+ return Pos(lastWord.line, lastWord.from);
+ }
+ }
+
+ function moveToCharacter(cm, repeat, forward, character) {
+ var cur = cm.getCursor();
+ var start = cur.ch;
+ var idx;
+ for (var i = 0; i < repeat; i ++) {
+ var line = cm.getLine(cur.line);
+ idx = charIdxInLine(start, line, character, forward, true);
+ if (idx == -1) {
+ return null;
+ }
+ start = idx;
+ }
+ return Pos(cm.getCursor().line, idx);
+ }
+
+ function moveToColumn(cm, repeat) {
+ // repeat is always >= 1, so repeat - 1 always corresponds
+ // to the column we want to go to.
+ var line = cm.getCursor().line;
+ return clipCursorToContent(cm, Pos(line, repeat - 1));
+ }
+
+ function updateMark(cm, vim, markName, pos) {
+ if (!inArray(markName, validMarks)) {
+ return;
+ }
+ if (vim.marks[markName]) {
+ vim.marks[markName].clear();
+ }
+ vim.marks[markName] = cm.setBookmark(pos);
+ }
+
+ function charIdxInLine(start, line, character, forward, includeChar) {
+ // Search for char in line.
+ // motion_options: {forward, includeChar}
+ // If includeChar = true, include it too.
+ // If forward = true, search forward, else search backwards.
+ // If char is not found on this line, do nothing
+ var idx;
+ if (forward) {
+ idx = line.indexOf(character, start + 1);
+ if (idx != -1 && !includeChar) {
+ idx -= 1;
+ }
+ } else {
+ idx = line.lastIndexOf(character, start - 1);
+ if (idx != -1 && !includeChar) {
+ idx += 1;
+ }
+ }
+ return idx;
+ }
+
+ function findParagraph(cm, head, repeat, dir, inclusive) {
+ var line = head.line;
+ var min = cm.firstLine();
+ var max = cm.lastLine();
+ var start, end, i = line;
+ function isEmpty(i) { return !cm.getLine(i); }
+ function isBoundary(i, dir, any) {
+ if (any) { return isEmpty(i) != isEmpty(i + dir); }
+ return !isEmpty(i) && isEmpty(i + dir);
+ }
+ if (dir) {
+ while (min <= i && i <= max && repeat > 0) {
+ if (isBoundary(i, dir)) { repeat--; }
+ i += dir;
+ }
+ return new Pos(i, 0);
+ }
+
+ var vim = cm.state.vim;
+ if (vim.visualLine && isBoundary(line, 1, true)) {
+ var anchor = vim.sel.anchor;
+ if (isBoundary(anchor.line, -1, true)) {
+ if (!inclusive || anchor.line != line) {
+ line += 1;
+ }
+ }
+ }
+ var startState = isEmpty(line);
+ for (i = line; i <= max && repeat; i++) {
+ if (isBoundary(i, 1, true)) {
+ if (!inclusive || isEmpty(i) != startState) {
+ repeat--;
+ }
+ }
+ }
+ end = new Pos(i, 0);
+ // select boundary before paragraph for the last one
+ if (i > max && !startState) { startState = true; }
+ else { inclusive = false; }
+ for (i = line; i > min; i--) {
+ if (!inclusive || isEmpty(i) == startState || i == line) {
+ if (isBoundary(i, -1, true)) { break; }
+ }
+ }
+ start = new Pos(i, 0);
+ return { start: start, end: end };
+ }
+
+ // TODO: perhaps this finagling of start and end positions belonds
+ // in codmirror/replaceRange?
+ function selectCompanionObject(cm, head, symb, inclusive) {
+ var cur = head, start, end;
+
+ var bracketRegexp = ({
+ '(': /[()]/, ')': /[()]/,
+ '[': /[[\]]/, ']': /[[\]]/,
+ '{': /[{}]/, '}': /[{}]/})[symb];
+ var openSym = ({
+ '(': '(', ')': '(',
+ '[': '[', ']': '[',
+ '{': '{', '}': '{'})[symb];
+ var curChar = cm.getLine(cur.line).charAt(cur.ch);
+ // Due to the behavior of scanForBracket, we need to add an offset if the
+ // cursor is on a matching open bracket.
+ var offset = curChar === openSym ? 1 : 0;
+
+ start = cm.scanForBracket(Pos(cur.line, cur.ch + offset), -1, null, {'bracketRegex': bracketRegexp});
+ end = cm.scanForBracket(Pos(cur.line, cur.ch + offset), 1, null, {'bracketRegex': bracketRegexp});
+
+ if (!start || !end) {
+ return { start: cur, end: cur };
+ }
+
+ start = start.pos;
+ end = end.pos;
+
+ if ((start.line == end.line && start.ch > end.ch)
+ || (start.line > end.line)) {
+ var tmp = start;
+ start = end;
+ end = tmp;
+ }
+
+ if (inclusive) {
+ end.ch += 1;
+ } else {
+ start.ch += 1;
+ }
+
+ return { start: start, end: end };
+ }
+
+ // Takes in a symbol and a cursor and tries to simulate text objects that
+ // have identical opening and closing symbols
+ // TODO support across multiple lines
+ function findBeginningAndEnd(cm, head, symb, inclusive) {
+ var cur = copyCursor(head);
+ var line = cm.getLine(cur.line);
+ var chars = line.split('');
+ var start, end, i, len;
+ var firstIndex = chars.indexOf(symb);
+
+ // the decision tree is to always look backwards for the beginning first,
+ // but if the cursor is in front of the first instance of the symb,
+ // then move the cursor forward
+ if (cur.ch < firstIndex) {
+ cur.ch = firstIndex;
+ // Why is this line even here???
+ // cm.setCursor(cur.line, firstIndex+1);
+ }
+ // otherwise if the cursor is currently on the closing symbol
+ else if (firstIndex < cur.ch && chars[cur.ch] == symb) {
+ end = cur.ch; // assign end to the current cursor
+ --cur.ch; // make sure to look backwards
+ }
+
+ // if we're currently on the symbol, we've got a start
+ if (chars[cur.ch] == symb && !end) {
+ start = cur.ch + 1; // assign start to ahead of the cursor
+ } else {
+ // go backwards to find the start
+ for (i = cur.ch; i > -1 && !start; i--) {
+ if (chars[i] == symb) {
+ start = i + 1;
+ }
+ }
+ }
+
+ // look forwards for the end symbol
+ if (start && !end) {
+ for (i = start, len = chars.length; i < len && !end; i++) {
+ if (chars[i] == symb) {
+ end = i;
+ }
+ }
+ }
+
+ // nothing found
+ if (!start || !end) {
+ return { start: cur, end: cur };
+ }
+
+ // include the symbols
+ if (inclusive) {
+ --start; ++end;
+ }
+
+ return {
+ start: Pos(cur.line, start),
+ end: Pos(cur.line, end)
+ };
+ }
+
+ // Search functions
+ defineOption('pcre', true, 'boolean');
+ function SearchState() {}
+ SearchState.prototype = {
+ getQuery: function() {
+ return vimGlobalState.query;
+ },
+ setQuery: function(query) {
+ vimGlobalState.query = query;
+ },
+ getOverlay: function() {
+ return this.searchOverlay;
+ },
+ setOverlay: function(overlay) {
+ this.searchOverlay = overlay;
+ },
+ isReversed: function() {
+ return vimGlobalState.isReversed;
+ },
+ setReversed: function(reversed) {
+ vimGlobalState.isReversed = reversed;
+ },
+ getScrollbarAnnotate: function() {
+ return this.annotate;
+ },
+ setScrollbarAnnotate: function(annotate) {
+ this.annotate = annotate;
+ }
+ };
+ function getSearchState(cm) {
+ var vim = cm.state.vim;
+ return vim.searchState_ || (vim.searchState_ = new SearchState());
+ }
+ function dialog(cm, template, shortText, onClose, options) {
+ if (cm.openDialog) {
+ cm.openDialog(template, onClose, { bottom: true, value: options.value,
+ onKeyDown: options.onKeyDown, onKeyUp: options.onKeyUp,
+ selectValueOnOpen: false});
+ }
+ else {
+ onClose(prompt(shortText, ''));
+ }
+ }
+ function splitBySlash(argString) {
+ var slashes = findUnescapedSlashes(argString) || [];
+ if (!slashes.length) return [];
+ var tokens = [];
+ // in case of strings like foo/bar
+ if (slashes[0] !== 0) return;
+ for (var i = 0; i < slashes.length; i++) {
+ if (typeof slashes[i] == 'number')
+ tokens.push(argString.substring(slashes[i] + 1, slashes[i+1]));
+ }
+ return tokens;
+ }
+
+ function findUnescapedSlashes(str) {
+ var escapeNextChar = false;
+ var slashes = [];
+ for (var i = 0; i < str.length; i++) {
+ var c = str.charAt(i);
+ if (!escapeNextChar && c == '/') {
+ slashes.push(i);
+ }
+ escapeNextChar = !escapeNextChar && (c == '\\');
+ }
+ return slashes;
+ }
+
+ // Translates a search string from ex (vim) syntax into javascript form.
+ function translateRegex(str) {
+ // When these match, add a '\' if unescaped or remove one if escaped.
+ var specials = '|(){';
+ // Remove, but never add, a '\' for these.
+ var unescape = '}';
+ var escapeNextChar = false;
+ var out = [];
+ for (var i = -1; i < str.length; i++) {
+ var c = str.charAt(i) || '';
+ var n = str.charAt(i+1) || '';
+ var specialComesNext = (n && specials.indexOf(n) != -1);
+ if (escapeNextChar) {
+ if (c !== '\\' || !specialComesNext) {
+ out.push(c);
+ }
+ escapeNextChar = false;
+ } else {
+ if (c === '\\') {
+ escapeNextChar = true;
+ // Treat the unescape list as special for removing, but not adding '\'.
+ if (n && unescape.indexOf(n) != -1) {
+ specialComesNext = true;
+ }
+ // Not passing this test means removing a '\'.
+ if (!specialComesNext || n === '\\') {
+ out.push(c);
+ }
+ } else {
+ out.push(c);
+ if (specialComesNext && n !== '\\') {
+ out.push('\\');
+ }
+ }
+ }
+ }
+ return out.join('');
+ }
+
+ // Translates the replace part of a search and replace from ex (vim) syntax into
+ // javascript form. Similar to translateRegex, but additionally fixes back references
+ // (translates '\[0..9]' to '$[0..9]') and follows different rules for escaping '$'.
+ function translateRegexReplace(str) {
+ var escapeNextChar = false;
+ var out = [];
+ for (var i = -1; i < str.length; i++) {
+ var c = str.charAt(i) || '';
+ var n = str.charAt(i+1) || '';
+ if (escapeNextChar) {
+ // At any point in the loop, escapeNextChar is true if the previous
+ // character was a '\' and was not escaped.
+ out.push(c);
+ escapeNextChar = false;
+ } else {
+ if (c === '\\') {
+ escapeNextChar = true;
+ if ((isNumber(n) || n === '$')) {
+ out.push('$');
+ } else if (n !== '/' && n !== '\\') {
+ out.push('\\');
+ }
+ } else {
+ if (c === '$') {
+ out.push('$');
+ }
+ out.push(c);
+ if (n === '/') {
+ out.push('\\');
+ }
+ }
+ }
+ }
+ return out.join('');
+ }
+
+ // Unescape \ and / in the replace part, for PCRE mode.
+ function unescapeRegexReplace(str) {
+ var stream = new CodeMirror.StringStream(str);
+ var output = [];
+ while (!stream.eol()) {
+ // Search for \.
+ while (stream.peek() && stream.peek() != '\\') {
+ output.push(stream.next());
+ }
+ if (stream.match('\\/', true)) {
+ // \/ => /
+ output.push('/');
+ } else if (stream.match('\\\\', true)) {
+ // \\ => \
+ output.push('\\');
+ } else {
+ // Don't change anything
+ output.push(stream.next());
+ }
+ }
+ return output.join('');
+ }
+
+ /**
+ * Extract the regular expression from the query and return a Regexp object.
+ * Returns null if the query is blank.
+ * If ignoreCase is passed in, the Regexp object will have the 'i' flag set.
+ * If smartCase is passed in, and the query contains upper case letters,
+ * then ignoreCase is overridden, and the 'i' flag will not be set.
+ * If the query contains the /i in the flag part of the regular expression,
+ * then both ignoreCase and smartCase are ignored, and 'i' will be passed
+ * through to the Regex object.
+ */
+ function parseQuery(query, ignoreCase, smartCase) {
+ // First update the last search register
+ var lastSearchRegister = vimGlobalState.registerController.getRegister('/');
+ lastSearchRegister.setText(query);
+ // Check if the query is already a regex.
+ if (query instanceof RegExp) { return query; }
+ // First try to extract regex + flags from the input. If no flags found,
+ // extract just the regex. IE does not accept flags directly defined in
+ // the regex string in the form /regex/flags
+ var slashes = findUnescapedSlashes(query);
+ var regexPart;
+ var forceIgnoreCase;
+ if (!slashes.length) {
+ // Query looks like 'regexp'
+ regexPart = query;
+ } else {
+ // Query looks like 'regexp/...'
+ regexPart = query.substring(0, slashes[0]);
+ var flagsPart = query.substring(slashes[0]);
+ forceIgnoreCase = (flagsPart.indexOf('i') != -1);
+ }
+ if (!regexPart) {
+ return null;
+ }
+ if (!getOption('pcre')) {
+ regexPart = translateRegex(regexPart);
+ }
+ if (smartCase) {
+ ignoreCase = (/^[^A-Z]*$/).test(regexPart);
+ }
+ var regexp = new RegExp(regexPart,
+ (ignoreCase || forceIgnoreCase) ? 'i' : undefined);
+ return regexp;
+ }
+ function showConfirm(cm, text) {
+ if (cm.openNotification) {
+ cm.openNotification('' + text + ' ',
+ {bottom: true, duration: 5000});
+ } else {
+ alert(text);
+ }
+ }
+ function makePrompt(prefix, desc) {
+ var raw = '';
+ if (prefix) {
+ raw += '' + prefix + ' ';
+ }
+ raw += ' ' +
+ '';
+ if (desc) {
+ raw += '';
+ raw += desc;
+ raw += ' ';
+ }
+ return raw;
+ }
+ var searchPromptDesc = '(Javascript regexp)';
+ function showPrompt(cm, options) {
+ var shortText = (options.prefix || '') + ' ' + (options.desc || '');
+ var prompt = makePrompt(options.prefix, options.desc);
+ dialog(cm, prompt, shortText, options.onClose, options);
+ }
+ function regexEqual(r1, r2) {
+ if (r1 instanceof RegExp && r2 instanceof RegExp) {
+ var props = ['global', 'multiline', 'ignoreCase', 'source'];
+ for (var i = 0; i < props.length; i++) {
+ var prop = props[i];
+ if (r1[prop] !== r2[prop]) {
+ return false;
+ }
+ }
+ return true;
+ }
+ return false;
+ }
+ // Returns true if the query is valid.
+ function updateSearchQuery(cm, rawQuery, ignoreCase, smartCase) {
+ if (!rawQuery) {
+ return;
+ }
+ var state = getSearchState(cm);
+ var query = parseQuery(rawQuery, !!ignoreCase, !!smartCase);
+ if (!query) {
+ return;
+ }
+ highlightSearchMatches(cm, query);
+ if (regexEqual(query, state.getQuery())) {
+ return query;
+ }
+ state.setQuery(query);
+ return query;
+ }
+ function searchOverlay(query) {
+ if (query.source.charAt(0) == '^') {
+ var matchSol = true;
+ }
+ return {
+ token: function(stream) {
+ if (matchSol && !stream.sol()) {
+ stream.skipToEnd();
+ return;
+ }
+ var match = stream.match(query, false);
+ if (match) {
+ if (match[0].length == 0) {
+ // Matched empty string, skip to next.
+ stream.next();
+ return 'searching';
+ }
+ if (!stream.sol()) {
+ // Backtrack 1 to match \b
+ stream.backUp(1);
+ if (!query.exec(stream.next() + match[0])) {
+ stream.next();
+ return null;
+ }
+ }
+ stream.match(query);
+ return 'searching';
+ }
+ while (!stream.eol()) {
+ stream.next();
+ if (stream.match(query, false)) break;
+ }
+ },
+ query: query
+ };
+ }
+ function highlightSearchMatches(cm, query) {
+ var searchState = getSearchState(cm);
+ var overlay = searchState.getOverlay();
+ if (!overlay || query != overlay.query) {
+ if (overlay) {
+ cm.removeOverlay(overlay);
+ }
+ overlay = searchOverlay(query);
+ cm.addOverlay(overlay);
+ if (cm.showMatchesOnScrollbar) {
+ if (searchState.getScrollbarAnnotate()) {
+ searchState.getScrollbarAnnotate().clear();
+ }
+ searchState.setScrollbarAnnotate(cm.showMatchesOnScrollbar(query));
+ }
+ searchState.setOverlay(overlay);
+ }
+ }
+ function findNext(cm, prev, query, repeat) {
+ if (repeat === undefined) { repeat = 1; }
+ return cm.operation(function() {
+ var pos = cm.getCursor();
+ var cursor = cm.getSearchCursor(query, pos);
+ for (var i = 0; i < repeat; i++) {
+ var found = cursor.find(prev);
+ if (i == 0 && found && cursorEqual(cursor.from(), pos)) { found = cursor.find(prev); }
+ if (!found) {
+ // SearchCursor may have returned null because it hit EOF, wrap
+ // around and try again.
+ cursor = cm.getSearchCursor(query,
+ (prev) ? Pos(cm.lastLine()) : Pos(cm.firstLine(), 0) );
+ if (!cursor.find(prev)) {
+ return;
+ }
+ }
+ }
+ return cursor.from();
+ });
+ }
+ function clearSearchHighlight(cm) {
+ var state = getSearchState(cm);
+ cm.removeOverlay(getSearchState(cm).getOverlay());
+ state.setOverlay(null);
+ if (state.getScrollbarAnnotate()) {
+ state.getScrollbarAnnotate().clear();
+ state.setScrollbarAnnotate(null);
+ }
+ }
+ /**
+ * Check if pos is in the specified range, INCLUSIVE.
+ * Range can be specified with 1 or 2 arguments.
+ * If the first range argument is an array, treat it as an array of line
+ * numbers. Match pos against any of the lines.
+ * If the first range argument is a number,
+ * if there is only 1 range argument, check if pos has the same line
+ * number
+ * if there are 2 range arguments, then check if pos is in between the two
+ * range arguments.
+ */
+ function isInRange(pos, start, end) {
+ if (typeof pos != 'number') {
+ // Assume it is a cursor position. Get the line number.
+ pos = pos.line;
+ }
+ if (start instanceof Array) {
+ return inArray(pos, start);
+ } else {
+ if (end) {
+ return (pos >= start && pos <= end);
+ } else {
+ return pos == start;
+ }
+ }
+ }
+ function getUserVisibleLines(cm) {
+ var scrollInfo = cm.getScrollInfo();
+ var occludeToleranceTop = 6;
+ var occludeToleranceBottom = 10;
+ var from = cm.coordsChar({left:0, top: occludeToleranceTop + scrollInfo.top}, 'local');
+ var bottomY = scrollInfo.clientHeight - occludeToleranceBottom + scrollInfo.top;
+ var to = cm.coordsChar({left:0, top: bottomY}, 'local');
+ return {top: from.line, bottom: to.line};
+ }
+
+ // Ex command handling
+ // Care must be taken when adding to the default Ex command map. For any
+ // pair of commands that have a shared prefix, at least one of their
+ // shortNames must not match the prefix of the other command.
+ var defaultExCommandMap = [
+ { name: 'colorscheme', shortName: 'colo' },
+ { name: 'map' },
+ { name: 'imap', shortName: 'im' },
+ { name: 'nmap', shortName: 'nm' },
+ { name: 'vmap', shortName: 'vm' },
+ { name: 'unmap' },
+ { name: 'write', shortName: 'w' },
+ { name: 'undo', shortName: 'u' },
+ { name: 'redo', shortName: 'red' },
+ { name: 'set', shortName: 'se' },
+ { name: 'set', shortName: 'se' },
+ { name: 'setlocal', shortName: 'setl' },
+ { name: 'setglobal', shortName: 'setg' },
+ { name: 'sort', shortName: 'sor' },
+ { name: 'substitute', shortName: 's', possiblyAsync: true },
+ { name: 'nohlsearch', shortName: 'noh' },
+ { name: 'delmarks', shortName: 'delm' },
+ { name: 'registers', shortName: 'reg', excludeFromCommandHistory: true },
+ { name: 'global', shortName: 'g' }
+ ];
+ var ExCommandDispatcher = function() {
+ this.buildCommandMap_();
+ };
+ ExCommandDispatcher.prototype = {
+ processCommand: function(cm, input, opt_params) {
+ var that = this;
+ cm.operation(function () {
+ cm.curOp.isVimOp = true;
+ that._processCommand(cm, input, opt_params);
+ });
+ },
+ _processCommand: function(cm, input, opt_params) {
+ var vim = cm.state.vim;
+ var commandHistoryRegister = vimGlobalState.registerController.getRegister(':');
+ var previousCommand = commandHistoryRegister.toString();
+ if (vim.visualMode) {
+ exitVisualMode(cm);
+ }
+ var inputStream = new CodeMirror.StringStream(input);
+ // update ": with the latest command whether valid or invalid
+ commandHistoryRegister.setText(input);
+ var params = opt_params || {};
+ params.input = input;
+ try {
+ this.parseInput_(cm, inputStream, params);
+ } catch(e) {
+ showConfirm(cm, e);
+ throw e;
+ }
+ var command;
+ var commandName;
+ if (!params.commandName) {
+ // If only a line range is defined, move to the line.
+ if (params.line !== undefined) {
+ commandName = 'move';
+ }
+ } else {
+ command = this.matchCommand_(params.commandName);
+ if (command) {
+ commandName = command.name;
+ if (command.excludeFromCommandHistory) {
+ commandHistoryRegister.setText(previousCommand);
+ }
+ this.parseCommandArgs_(inputStream, params, command);
+ if (command.type == 'exToKey') {
+ // Handle Ex to Key mapping.
+ for (var i = 0; i < command.toKeys.length; i++) {
+ CodeMirror.Vim.handleKey(cm, command.toKeys[i], 'mapping');
+ }
+ return;
+ } else if (command.type == 'exToEx') {
+ // Handle Ex to Ex mapping.
+ this.processCommand(cm, command.toInput);
+ return;
+ }
+ }
+ }
+ if (!commandName) {
+ showConfirm(cm, 'Not an editor command ":' + input + '"');
+ return;
+ }
+ try {
+ exCommands[commandName](cm, params);
+ // Possibly asynchronous commands (e.g. substitute, which might have a
+ // user confirmation), are responsible for calling the callback when
+ // done. All others have it taken care of for them here.
+ if ((!command || !command.possiblyAsync) && params.callback) {
+ params.callback();
+ }
+ } catch(e) {
+ showConfirm(cm, e);
+ throw e;
+ }
+ },
+ parseInput_: function(cm, inputStream, result) {
+ inputStream.eatWhile(':');
+ // Parse range.
+ if (inputStream.eat('%')) {
+ result.line = cm.firstLine();
+ result.lineEnd = cm.lastLine();
+ } else {
+ result.line = this.parseLineSpec_(cm, inputStream);
+ if (result.line !== undefined && inputStream.eat(',')) {
+ result.lineEnd = this.parseLineSpec_(cm, inputStream);
+ }
+ }
+
+ // Parse command name.
+ var commandMatch = inputStream.match(/^(\w+)/);
+ if (commandMatch) {
+ result.commandName = commandMatch[1];
+ } else {
+ result.commandName = inputStream.match(/.*/)[0];
+ }
+
+ return result;
+ },
+ parseLineSpec_: function(cm, inputStream) {
+ var numberMatch = inputStream.match(/^(\d+)/);
+ if (numberMatch) {
+ return parseInt(numberMatch[1], 10) - 1;
+ }
+ switch (inputStream.next()) {
+ case '.':
+ return cm.getCursor().line;
+ case '$':
+ return cm.lastLine();
+ case '\'':
+ var mark = cm.state.vim.marks[inputStream.next()];
+ if (mark && mark.find()) {
+ return mark.find().line;
+ }
+ throw new Error('Mark not set');
+ default:
+ inputStream.backUp(1);
+ return undefined;
+ }
+ },
+ parseCommandArgs_: function(inputStream, params, command) {
+ if (inputStream.eol()) {
+ return;
+ }
+ params.argString = inputStream.match(/.*/)[0];
+ // Parse command-line arguments
+ var delim = command.argDelimiter || /\s+/;
+ var args = trim(params.argString).split(delim);
+ if (args.length && args[0]) {
+ params.args = args;
+ }
+ },
+ matchCommand_: function(commandName) {
+ // Return the command in the command map that matches the shortest
+ // prefix of the passed in command name. The match is guaranteed to be
+ // unambiguous if the defaultExCommandMap's shortNames are set up
+ // correctly. (see @code{defaultExCommandMap}).
+ for (var i = commandName.length; i > 0; i--) {
+ var prefix = commandName.substring(0, i);
+ if (this.commandMap_[prefix]) {
+ var command = this.commandMap_[prefix];
+ if (command.name.indexOf(commandName) === 0) {
+ return command;
+ }
+ }
+ }
+ return null;
+ },
+ buildCommandMap_: function() {
+ this.commandMap_ = {};
+ for (var i = 0; i < defaultExCommandMap.length; i++) {
+ var command = defaultExCommandMap[i];
+ var key = command.shortName || command.name;
+ this.commandMap_[key] = command;
+ }
+ },
+ map: function(lhs, rhs, ctx) {
+ if (lhs != ':' && lhs.charAt(0) == ':') {
+ if (ctx) { throw Error('Mode not supported for ex mappings'); }
+ var commandName = lhs.substring(1);
+ if (rhs != ':' && rhs.charAt(0) == ':') {
+ // Ex to Ex mapping
+ this.commandMap_[commandName] = {
+ name: commandName,
+ type: 'exToEx',
+ toInput: rhs.substring(1),
+ user: true
+ };
+ } else {
+ // Ex to key mapping
+ this.commandMap_[commandName] = {
+ name: commandName,
+ type: 'exToKey',
+ toKeys: rhs,
+ user: true
+ };
+ }
+ } else {
+ if (rhs != ':' && rhs.charAt(0) == ':') {
+ // Key to Ex mapping.
+ var mapping = {
+ keys: lhs,
+ type: 'keyToEx',
+ exArgs: { input: rhs.substring(1) },
+ user: true};
+ if (ctx) { mapping.context = ctx; }
+ defaultKeymap.unshift(mapping);
+ } else {
+ // Key to key mapping
+ var mapping = {
+ keys: lhs,
+ type: 'keyToKey',
+ toKeys: rhs,
+ user: true
+ };
+ if (ctx) { mapping.context = ctx; }
+ defaultKeymap.unshift(mapping);
+ }
+ }
+ },
+ unmap: function(lhs, ctx) {
+ if (lhs != ':' && lhs.charAt(0) == ':') {
+ // Ex to Ex or Ex to key mapping
+ if (ctx) { throw Error('Mode not supported for ex mappings'); }
+ var commandName = lhs.substring(1);
+ if (this.commandMap_[commandName] && this.commandMap_[commandName].user) {
+ delete this.commandMap_[commandName];
+ return;
+ }
+ } else {
+ // Key to Ex or key to key mapping
+ var keys = lhs;
+ for (var i = 0; i < defaultKeymap.length; i++) {
+ if (keys == defaultKeymap[i].keys
+ && defaultKeymap[i].context === ctx
+ && defaultKeymap[i].user) {
+ defaultKeymap.splice(i, 1);
+ return;
+ }
+ }
+ }
+ throw Error('No such mapping.');
+ }
+ };
+
+ var exCommands = {
+ colorscheme: function(cm, params) {
+ if (!params.args || params.args.length < 1) {
+ showConfirm(cm, cm.getOption('theme'));
+ return;
+ }
+ cm.setOption('theme', params.args[0]);
+ },
+ map: function(cm, params, ctx) {
+ var mapArgs = params.args;
+ if (!mapArgs || mapArgs.length < 2) {
+ if (cm) {
+ showConfirm(cm, 'Invalid mapping: ' + params.input);
+ }
+ return;
+ }
+ exCommandDispatcher.map(mapArgs[0], mapArgs[1], ctx);
+ },
+ imap: function(cm, params) { this.map(cm, params, 'insert'); },
+ nmap: function(cm, params) { this.map(cm, params, 'normal'); },
+ vmap: function(cm, params) { this.map(cm, params, 'visual'); },
+ unmap: function(cm, params, ctx) {
+ var mapArgs = params.args;
+ if (!mapArgs || mapArgs.length < 1) {
+ if (cm) {
+ showConfirm(cm, 'No such mapping: ' + params.input);
+ }
+ return;
+ }
+ exCommandDispatcher.unmap(mapArgs[0], ctx);
+ },
+ move: function(cm, params) {
+ commandDispatcher.processCommand(cm, cm.state.vim, {
+ type: 'motion',
+ motion: 'moveToLineOrEdgeOfDocument',
+ motionArgs: { forward: false, explicitRepeat: true,
+ linewise: true },
+ repeatOverride: params.line+1});
+ },
+ set: function(cm, params) {
+ var setArgs = params.args;
+ // Options passed through to the setOption/getOption calls. May be passed in by the
+ // local/global versions of the set command
+ var setCfg = params.setCfg || {};
+ if (!setArgs || setArgs.length < 1) {
+ if (cm) {
+ showConfirm(cm, 'Invalid mapping: ' + params.input);
+ }
+ return;
+ }
+ var expr = setArgs[0].split('=');
+ var optionName = expr[0];
+ var value = expr[1];
+ var forceGet = false;
+
+ if (optionName.charAt(optionName.length - 1) == '?') {
+ // If post-fixed with ?, then the set is actually a get.
+ if (value) { throw Error('Trailing characters: ' + params.argString); }
+ optionName = optionName.substring(0, optionName.length - 1);
+ forceGet = true;
+ }
+ if (value === undefined && optionName.substring(0, 2) == 'no') {
+ // To set boolean options to false, the option name is prefixed with
+ // 'no'.
+ optionName = optionName.substring(2);
+ value = false;
+ }
+
+ var optionIsBoolean = options[optionName] && options[optionName].type == 'boolean';
+ if (optionIsBoolean && value == undefined) {
+ // Calling set with a boolean option sets it to true.
+ value = true;
+ }
+ // If no value is provided, then we assume this is a get.
+ if (!optionIsBoolean && value === undefined || forceGet) {
+ var oldValue = getOption(optionName, cm, setCfg);
+ if (oldValue === true || oldValue === false) {
+ showConfirm(cm, ' ' + (oldValue ? '' : 'no') + optionName);
+ } else {
+ showConfirm(cm, ' ' + optionName + '=' + oldValue);
+ }
+ } else {
+ setOption(optionName, value, cm, setCfg);
+ }
+ },
+ setlocal: function (cm, params) {
+ // setCfg is passed through to setOption
+ params.setCfg = {scope: 'local'};
+ this.set(cm, params);
+ },
+ setglobal: function (cm, params) {
+ // setCfg is passed through to setOption
+ params.setCfg = {scope: 'global'};
+ this.set(cm, params);
+ },
+ registers: function(cm, params) {
+ var regArgs = params.args;
+ var registers = vimGlobalState.registerController.registers;
+ var regInfo = '----------Registers---------- ';
+ if (!regArgs) {
+ for (var registerName in registers) {
+ var text = registers[registerName].toString();
+ if (text.length) {
+ regInfo += '"' + registerName + ' ' + text + ' ';
+ }
+ }
+ } else {
+ var registerName;
+ regArgs = regArgs.join('');
+ for (var i = 0; i < regArgs.length; i++) {
+ registerName = regArgs.charAt(i);
+ if (!vimGlobalState.registerController.isValidRegister(registerName)) {
+ continue;
+ }
+ var register = registers[registerName] || new Register();
+ regInfo += '"' + registerName + ' ' + register.toString() + ' ';
+ }
+ }
+ showConfirm(cm, regInfo);
+ },
+ sort: function(cm, params) {
+ var reverse, ignoreCase, unique, number;
+ function parseArgs() {
+ if (params.argString) {
+ var args = new CodeMirror.StringStream(params.argString);
+ if (args.eat('!')) { reverse = true; }
+ if (args.eol()) { return; }
+ if (!args.eatSpace()) { return 'Invalid arguments'; }
+ var opts = args.match(/[a-z]+/);
+ if (opts) {
+ opts = opts[0];
+ ignoreCase = opts.indexOf('i') != -1;
+ unique = opts.indexOf('u') != -1;
+ var decimal = opts.indexOf('d') != -1 && 1;
+ var hex = opts.indexOf('x') != -1 && 1;
+ var octal = opts.indexOf('o') != -1 && 1;
+ if (decimal + hex + octal > 1) { return 'Invalid arguments'; }
+ number = decimal && 'decimal' || hex && 'hex' || octal && 'octal';
+ }
+ if (args.eatSpace() && args.match(/\/.*\//)) { 'patterns not supported'; }
+ }
+ }
+ var err = parseArgs();
+ if (err) {
+ showConfirm(cm, err + ': ' + params.argString);
+ return;
+ }
+ var lineStart = params.line || cm.firstLine();
+ var lineEnd = params.lineEnd || params.line || cm.lastLine();
+ if (lineStart == lineEnd) { return; }
+ var curStart = Pos(lineStart, 0);
+ var curEnd = Pos(lineEnd, lineLength(cm, lineEnd));
+ var text = cm.getRange(curStart, curEnd).split('\n');
+ var numberRegex = (number == 'decimal') ? /(-?)([\d]+)/ :
+ (number == 'hex') ? /(-?)(?:0x)?([0-9a-f]+)/i :
+ (number == 'octal') ? /([0-7]+)/ : null;
+ var radix = (number == 'decimal') ? 10 : (number == 'hex') ? 16 : (number == 'octal') ? 8 : null;
+ var numPart = [], textPart = [];
+ if (number) {
+ for (var i = 0; i < text.length; i++) {
+ if (numberRegex.exec(text[i])) {
+ numPart.push(text[i]);
+ } else {
+ textPart.push(text[i]);
+ }
+ }
+ } else {
+ textPart = text;
+ }
+ function compareFn(a, b) {
+ if (reverse) { var tmp; tmp = a; a = b; b = tmp; }
+ if (ignoreCase) { a = a.toLowerCase(); b = b.toLowerCase(); }
+ var anum = number && numberRegex.exec(a);
+ var bnum = number && numberRegex.exec(b);
+ if (!anum) { return a < b ? -1 : 1; }
+ anum = parseInt((anum[1] + anum[2]).toLowerCase(), radix);
+ bnum = parseInt((bnum[1] + bnum[2]).toLowerCase(), radix);
+ return anum - bnum;
+ }
+ numPart.sort(compareFn);
+ textPart.sort(compareFn);
+ text = (!reverse) ? textPart.concat(numPart) : numPart.concat(textPart);
+ if (unique) { // Remove duplicate lines
+ var textOld = text;
+ var lastLine;
+ text = [];
+ for (var i = 0; i < textOld.length; i++) {
+ if (textOld[i] != lastLine) {
+ text.push(textOld[i]);
+ }
+ lastLine = textOld[i];
+ }
+ }
+ cm.replaceRange(text.join('\n'), curStart, curEnd);
+ },
+ global: function(cm, params) {
+ // a global command is of the form
+ // :[range]g/pattern/[cmd]
+ // argString holds the string /pattern/[cmd]
+ var argString = params.argString;
+ if (!argString) {
+ showConfirm(cm, 'Regular Expression missing from global');
+ return;
+ }
+ // range is specified here
+ var lineStart = (params.line !== undefined) ? params.line : cm.firstLine();
+ var lineEnd = params.lineEnd || params.line || cm.lastLine();
+ // get the tokens from argString
+ var tokens = splitBySlash(argString);
+ var regexPart = argString, cmd;
+ if (tokens.length) {
+ regexPart = tokens[0];
+ cmd = tokens.slice(1, tokens.length).join('/');
+ }
+ if (regexPart) {
+ // If regex part is empty, then use the previous query. Otherwise
+ // use the regex part as the new query.
+ try {
+ updateSearchQuery(cm, regexPart, true /** ignoreCase */,
+ true /** smartCase */);
+ } catch (e) {
+ showConfirm(cm, 'Invalid regex: ' + regexPart);
+ return;
+ }
+ }
+ // now that we have the regexPart, search for regex matches in the
+ // specified range of lines
+ var query = getSearchState(cm).getQuery();
+ var matchedLines = [], content = '';
+ for (var i = lineStart; i <= lineEnd; i++) {
+ var matched = query.test(cm.getLine(i));
+ if (matched) {
+ matchedLines.push(i+1);
+ content+= cm.getLine(i) + ' ';
+ }
+ }
+ // if there is no [cmd], just display the list of matched lines
+ if (!cmd) {
+ showConfirm(cm, content);
+ return;
+ }
+ var index = 0;
+ var nextCommand = function() {
+ if (index < matchedLines.length) {
+ var command = matchedLines[index] + cmd;
+ exCommandDispatcher.processCommand(cm, command, {
+ callback: nextCommand
+ });
+ }
+ index++;
+ };
+ nextCommand();
+ },
+ substitute: function(cm, params) {
+ if (!cm.getSearchCursor) {
+ throw new Error('Search feature not available. Requires searchcursor.js or ' +
+ 'any other getSearchCursor implementation.');
+ }
+ var argString = params.argString;
+ var tokens = argString ? splitBySlash(argString) : [];
+ var regexPart, replacePart = '', trailing, flagsPart, count;
+ var confirm = false; // Whether to confirm each replace.
+ var global = false; // True to replace all instances on a line, false to replace only 1.
+ if (tokens.length) {
+ regexPart = tokens[0];
+ replacePart = tokens[1];
+ if (replacePart !== undefined) {
+ if (getOption('pcre')) {
+ replacePart = unescapeRegexReplace(replacePart);
+ } else {
+ replacePart = translateRegexReplace(replacePart);
+ }
+ vimGlobalState.lastSubstituteReplacePart = replacePart;
+ }
+ trailing = tokens[2] ? tokens[2].split(' ') : [];
+ } else {
+ // either the argString is empty or its of the form ' hello/world'
+ // actually splitBySlash returns a list of tokens
+ // only if the string starts with a '/'
+ if (argString && argString.length) {
+ showConfirm(cm, 'Substitutions should be of the form ' +
+ ':s/pattern/replace/');
+ return;
+ }
+ }
+ // After the 3rd slash, we can have flags followed by a space followed
+ // by count.
+ if (trailing) {
+ flagsPart = trailing[0];
+ count = parseInt(trailing[1]);
+ if (flagsPart) {
+ if (flagsPart.indexOf('c') != -1) {
+ confirm = true;
+ flagsPart.replace('c', '');
+ }
+ if (flagsPart.indexOf('g') != -1) {
+ global = true;
+ flagsPart.replace('g', '');
+ }
+ regexPart = regexPart + '/' + flagsPart;
+ }
+ }
+ if (regexPart) {
+ // If regex part is empty, then use the previous query. Otherwise use
+ // the regex part as the new query.
+ try {
+ updateSearchQuery(cm, regexPart, true /** ignoreCase */,
+ true /** smartCase */);
+ } catch (e) {
+ showConfirm(cm, 'Invalid regex: ' + regexPart);
+ return;
+ }
+ }
+ replacePart = replacePart || vimGlobalState.lastSubstituteReplacePart;
+ if (replacePart === undefined) {
+ showConfirm(cm, 'No previous substitute regular expression');
+ return;
+ }
+ var state = getSearchState(cm);
+ var query = state.getQuery();
+ var lineStart = (params.line !== undefined) ? params.line : cm.getCursor().line;
+ var lineEnd = params.lineEnd || lineStart;
+ if (count) {
+ lineStart = lineEnd;
+ lineEnd = lineStart + count - 1;
+ }
+ var startPos = clipCursorToContent(cm, Pos(lineStart, 0));
+ var cursor = cm.getSearchCursor(query, startPos);
+ doReplace(cm, confirm, global, lineStart, lineEnd, cursor, query, replacePart, params.callback);
+ },
+ redo: CodeMirror.commands.redo,
+ undo: CodeMirror.commands.undo,
+ write: function(cm) {
+ if (CodeMirror.commands.save) {
+ // If a save command is defined, call it.
+ CodeMirror.commands.save(cm);
+ } else {
+ // Saves to text area if no save command is defined.
+ cm.save();
+ }
+ },
+ nohlsearch: function(cm) {
+ clearSearchHighlight(cm);
+ },
+ delmarks: function(cm, params) {
+ if (!params.argString || !trim(params.argString)) {
+ showConfirm(cm, 'Argument required');
+ return;
+ }
+
+ var state = cm.state.vim;
+ var stream = new CodeMirror.StringStream(trim(params.argString));
+ while (!stream.eol()) {
+ stream.eatSpace();
+
+ // Record the streams position at the beginning of the loop for use
+ // in error messages.
+ var count = stream.pos;
+
+ if (!stream.match(/[a-zA-Z]/, false)) {
+ showConfirm(cm, 'Invalid argument: ' + params.argString.substring(count));
+ return;
+ }
+
+ var sym = stream.next();
+ // Check if this symbol is part of a range
+ if (stream.match('-', true)) {
+ // This symbol is part of a range.
+
+ // The range must terminate at an alphabetic character.
+ if (!stream.match(/[a-zA-Z]/, false)) {
+ showConfirm(cm, 'Invalid argument: ' + params.argString.substring(count));
+ return;
+ }
+
+ var startMark = sym;
+ var finishMark = stream.next();
+ // The range must terminate at an alphabetic character which
+ // shares the same case as the start of the range.
+ if (isLowerCase(startMark) && isLowerCase(finishMark) ||
+ isUpperCase(startMark) && isUpperCase(finishMark)) {
+ var start = startMark.charCodeAt(0);
+ var finish = finishMark.charCodeAt(0);
+ if (start >= finish) {
+ showConfirm(cm, 'Invalid argument: ' + params.argString.substring(count));
+ return;
+ }
+
+ // Because marks are always ASCII values, and we have
+ // determined that they are the same case, we can use
+ // their char codes to iterate through the defined range.
+ for (var j = 0; j <= finish - start; j++) {
+ var mark = String.fromCharCode(start + j);
+ delete state.marks[mark];
+ }
+ } else {
+ showConfirm(cm, 'Invalid argument: ' + startMark + '-');
+ return;
+ }
+ } else {
+ // This symbol is a valid mark, and is not part of a range.
+ delete state.marks[sym];
+ }
+ }
+ }
+ };
+
+ var exCommandDispatcher = new ExCommandDispatcher();
+
+ /**
+ * @param {CodeMirror} cm CodeMirror instance we are in.
+ * @param {boolean} confirm Whether to confirm each replace.
+ * @param {Cursor} lineStart Line to start replacing from.
+ * @param {Cursor} lineEnd Line to stop replacing at.
+ * @param {RegExp} query Query for performing matches with.
+ * @param {string} replaceWith Text to replace matches with. May contain $1,
+ * $2, etc for replacing captured groups using Javascript replace.
+ * @param {function()} callback A callback for when the replace is done.
+ */
+ function doReplace(cm, confirm, global, lineStart, lineEnd, searchCursor, query,
+ replaceWith, callback) {
+ // Set up all the functions.
+ cm.state.vim.exMode = true;
+ var done = false;
+ var lastPos = searchCursor.from();
+ function replaceAll() {
+ cm.operation(function() {
+ while (!done) {
+ replace();
+ next();
+ }
+ stop();
+ });
+ }
+ function replace() {
+ var text = cm.getRange(searchCursor.from(), searchCursor.to());
+ var newText = text.replace(query, replaceWith);
+ searchCursor.replace(newText);
+ }
+ function next() {
+ var found;
+ // The below only loops to skip over multiple occurrences on the same
+ // line when 'global' is not true.
+ while(found = searchCursor.findNext() &&
+ isInRange(searchCursor.from(), lineStart, lineEnd)) {
+ if (!global && lastPos && searchCursor.from().line == lastPos.line) {
+ continue;
+ }
+ cm.scrollIntoView(searchCursor.from(), 30);
+ cm.setSelection(searchCursor.from(), searchCursor.to());
+ lastPos = searchCursor.from();
+ done = false;
+ return;
+ }
+ done = true;
+ }
+ function stop(close) {
+ if (close) { close(); }
+ cm.focus();
+ if (lastPos) {
+ cm.setCursor(lastPos);
+ var vim = cm.state.vim;
+ vim.exMode = false;
+ vim.lastHPos = vim.lastHSPos = lastPos.ch;
+ }
+ if (callback) { callback(); }
+ }
+ function onPromptKeyDown(e, _value, close) {
+ // Swallow all keys.
+ CodeMirror.e_stop(e);
+ var keyName = CodeMirror.keyName(e);
+ switch (keyName) {
+ case 'Y':
+ replace(); next(); break;
+ case 'N':
+ next(); break;
+ case 'A':
+ // replaceAll contains a call to close of its own. We don't want it
+ // to fire too early or multiple times.
+ var savedCallback = callback;
+ callback = undefined;
+ cm.operation(replaceAll);
+ callback = savedCallback;
+ break;
+ case 'L':
+ replace();
+ // fall through and exit.
+ case 'Q':
+ case 'Esc':
+ case 'Ctrl-C':
+ case 'Ctrl-[':
+ stop(close);
+ break;
+ }
+ if (done) { stop(close); }
+ return true;
+ }
+
+ // Actually do replace.
+ next();
+ if (done) {
+ showConfirm(cm, 'No matches for ' + query.source);
+ return;
+ }
+ if (!confirm) {
+ replaceAll();
+ if (callback) { callback(); };
+ return;
+ }
+ showPrompt(cm, {
+ prefix: 'replace with ' + replaceWith + ' (y/n/a/q/l)',
+ onKeyDown: onPromptKeyDown
+ });
+ }
+
+ CodeMirror.keyMap.vim = {
+ attach: attachVimMap,
+ detach: detachVimMap,
+ call: cmKey
+ };
+
+ function exitInsertMode(cm) {
+ var vim = cm.state.vim;
+ var macroModeState = vimGlobalState.macroModeState;
+ var insertModeChangeRegister = vimGlobalState.registerController.getRegister('.');
+ var isPlaying = macroModeState.isPlaying;
+ var lastChange = macroModeState.lastInsertModeChanges;
+ // In case of visual block, the insertModeChanges are not saved as a
+ // single word, so we convert them to a single word
+ // so as to update the ". register as expected in real vim.
+ var text = [];
+ if (!isPlaying) {
+ var selLength = lastChange.inVisualBlock ? vim.lastSelection.visualBlock.height : 1;
+ var changes = lastChange.changes;
+ var text = [];
+ var i = 0;
+ // In case of multiple selections in blockwise visual,
+ // the inserted text, for example: 'foo', is stored as
+ // 'f', 'f', InsertModeKey 'o', 'o', 'o', 'o'. (if you have a block with 2 lines).
+ // We push the contents of the changes array as per the following:
+ // 1. In case of InsertModeKey, just increment by 1.
+ // 2. In case of a character, jump by selLength (2 in the example).
+ while (i < changes.length) {
+ // This loop will convert 'ffoooo' to 'foo'.
+ text.push(changes[i]);
+ if (changes[i] instanceof InsertModeKey) {
+ i++;
+ } else {
+ i+= selLength;
+ }
+ }
+ lastChange.changes = text;
+ cm.off('change', onChange);
+ CodeMirror.off(cm.getInputField(), 'keydown', onKeyEventTargetKeyDown);
+ }
+ if (!isPlaying && vim.insertModeRepeat > 1) {
+ // Perform insert mode repeat for commands like 3,a and 3,o.
+ repeatLastEdit(cm, vim, vim.insertModeRepeat - 1,
+ true /** repeatForInsert */);
+ vim.lastEditInputState.repeatOverride = vim.insertModeRepeat;
+ }
+ delete vim.insertModeRepeat;
+ vim.insertMode = false;
+ cm.setCursor(cm.getCursor().line, cm.getCursor().ch-1);
+ cm.setOption('keyMap', 'vim');
+ cm.setOption('disableInput', true);
+ cm.toggleOverwrite(false); // exit replace mode if we were in it.
+ // update the ". register before exiting insert mode
+ insertModeChangeRegister.setText(lastChange.changes.join(''));
+ CodeMirror.signal(cm, "vim-mode-change", {mode: "normal"});
+ if (macroModeState.isRecording) {
+ logInsertModeChange(macroModeState);
+ }
+ }
+
+ function _mapCommand(command) {
+ defaultKeymap.push(command);
+ }
+
+ function mapCommand(keys, type, name, args, extra) {
+ var command = {keys: keys, type: type};
+ command[type] = name;
+ command[type + "Args"] = args;
+ for (var key in extra)
+ command[key] = extra[key];
+ _mapCommand(command);
+ }
+
+ // The timeout in milliseconds for the two-character ESC keymap should be
+ // adjusted according to your typing speed to prevent false positives.
+ defineOption('insertModeEscKeysTimeout', 200, 'number');
+
+ CodeMirror.keyMap['vim-insert'] = {
+ // TODO: override navigation keys so that Esc will cancel automatic
+ // indentation from o, O, i_
+ 'Ctrl-N': 'autocomplete',
+ 'Ctrl-P': 'autocomplete',
+ 'Enter': function(cm) {
+ var fn = CodeMirror.commands.newlineAndIndentContinueComment ||
+ CodeMirror.commands.newlineAndIndent;
+ fn(cm);
+ },
+ fallthrough: ['default'],
+ attach: attachVimMap,
+ detach: detachVimMap,
+ call: cmKey
+ };
+
+ CodeMirror.keyMap['vim-replace'] = {
+ 'Backspace': 'goCharLeft',
+ fallthrough: ['vim-insert'],
+ attach: attachVimMap,
+ detach: detachVimMap,
+ call: cmKey
+ };
+
+ function executeMacroRegister(cm, vim, macroModeState, registerName) {
+ var register = vimGlobalState.registerController.getRegister(registerName);
+ var keyBuffer = register.keyBuffer;
+ var imc = 0;
+ macroModeState.isPlaying = true;
+ macroModeState.replaySearchQueries = register.searchQueries.slice(0);
+ for (var i = 0; i < keyBuffer.length; i++) {
+ var text = keyBuffer[i];
+ var match, key;
+ while (text) {
+ // Pull off one command key, which is either a single character
+ // or a special sequence wrapped in '<' and '>', e.g. ''.
+ match = (/<\w+-.+?>|<\w+>|./).exec(text);
+ key = match[0];
+ text = text.substring(match.index + key.length);
+ CodeMirror.Vim.handleKey(cm, key, 'macro');
+ if (vim.insertMode) {
+ var changes = register.insertModeChanges[imc++].changes;
+ vimGlobalState.macroModeState.lastInsertModeChanges.changes =
+ changes;
+ repeatInsertModeChanges(cm, changes, 1);
+ exitInsertMode(cm);
+ }
+ }
+ };
+ macroModeState.isPlaying = false;
+ }
+
+ function logKey(macroModeState, key) {
+ if (macroModeState.isPlaying) { return; }
+ var registerName = macroModeState.latestRegister;
+ var register = vimGlobalState.registerController.getRegister(registerName);
+ if (register) {
+ register.pushText(key);
+ }
+ }
+
+ function logInsertModeChange(macroModeState) {
+ if (macroModeState.isPlaying) { return; }
+ var registerName = macroModeState.latestRegister;
+ var register = vimGlobalState.registerController.getRegister(registerName);
+ if (register) {
+ register.pushInsertModeChanges(macroModeState.lastInsertModeChanges);
+ }
+ }
+
+ function logSearchQuery(macroModeState, query) {
+ if (macroModeState.isPlaying) { return; }
+ var registerName = macroModeState.latestRegister;
+ var register = vimGlobalState.registerController.getRegister(registerName);
+ if (register) {
+ register.pushSearchQuery(query);
+ }
+ }
+
+ /**
+ * Listens for changes made in insert mode.
+ * Should only be active in insert mode.
+ */
+ function onChange(_cm, changeObj) {
+ var macroModeState = vimGlobalState.macroModeState;
+ var lastChange = macroModeState.lastInsertModeChanges;
+ if (!macroModeState.isPlaying) {
+ while(changeObj) {
+ lastChange.expectCursorActivityForChange = true;
+ if (changeObj.origin == '+input' || changeObj.origin == 'paste'
+ || changeObj.origin === undefined /* only in testing */) {
+ var text = changeObj.text.join('\n');
+ lastChange.changes.push(text);
+ }
+ // Change objects may be chained with next.
+ changeObj = changeObj.next;
+ }
+ }
+ }
+
+ /**
+ * Listens for any kind of cursor activity on CodeMirror.
+ */
+ function onCursorActivity(cm) {
+ var vim = cm.state.vim;
+ if (vim.insertMode) {
+ // Tracking cursor activity in insert mode (for macro support).
+ var macroModeState = vimGlobalState.macroModeState;
+ if (macroModeState.isPlaying) { return; }
+ var lastChange = macroModeState.lastInsertModeChanges;
+ if (lastChange.expectCursorActivityForChange) {
+ lastChange.expectCursorActivityForChange = false;
+ } else {
+ // Cursor moved outside the context of an edit. Reset the change.
+ lastChange.changes = [];
+ }
+ } else if (!cm.curOp.isVimOp) {
+ handleExternalSelection(cm, vim);
+ }
+ if (vim.visualMode) {
+ updateFakeCursor(cm);
+ }
+ }
+ function updateFakeCursor(cm) {
+ var vim = cm.state.vim;
+ var from = clipCursorToContent(cm, copyCursor(vim.sel.head));
+ var to = offsetCursor(from, 0, 1);
+ if (vim.fakeCursor) {
+ vim.fakeCursor.clear();
+ }
+ vim.fakeCursor = cm.markText(from, to, {className: 'cm-animate-fat-cursor'});
+ }
+ function handleExternalSelection(cm, vim) {
+ var anchor = cm.getCursor('anchor');
+ var head = cm.getCursor('head');
+ // Enter or exit visual mode to match mouse selection.
+ if (vim.visualMode && !cm.somethingSelected()) {
+ exitVisualMode(cm, false);
+ } else if (!vim.visualMode && !vim.insertMode && cm.somethingSelected()) {
+ vim.visualMode = true;
+ vim.visualLine = false;
+ CodeMirror.signal(cm, "vim-mode-change", {mode: "visual"});
+ }
+ if (vim.visualMode) {
+ // Bind CodeMirror selection model to vim selection model.
+ // Mouse selections are considered visual characterwise.
+ var headOffset = !cursorIsBefore(head, anchor) ? -1 : 0;
+ var anchorOffset = cursorIsBefore(head, anchor) ? -1 : 0;
+ head = offsetCursor(head, 0, headOffset);
+ anchor = offsetCursor(anchor, 0, anchorOffset);
+ vim.sel = {
+ anchor: anchor,
+ head: head
+ };
+ updateMark(cm, vim, '<', cursorMin(head, anchor));
+ updateMark(cm, vim, '>', cursorMax(head, anchor));
+ } else if (!vim.insertMode) {
+ // Reset lastHPos if selection was modified by something outside of vim mode e.g. by mouse.
+ vim.lastHPos = cm.getCursor().ch;
+ }
+ }
+
+ /** Wrapper for special keys pressed in insert mode */
+ function InsertModeKey(keyName) {
+ this.keyName = keyName;
+ }
+
+ /**
+ * Handles raw key down events from the text area.
+ * - Should only be active in insert mode.
+ * - For recording deletes in insert mode.
+ */
+ function onKeyEventTargetKeyDown(e) {
+ var macroModeState = vimGlobalState.macroModeState;
+ var lastChange = macroModeState.lastInsertModeChanges;
+ var keyName = CodeMirror.keyName(e);
+ if (!keyName) { return; }
+ function onKeyFound() {
+ lastChange.changes.push(new InsertModeKey(keyName));
+ return true;
+ }
+ if (keyName.indexOf('Delete') != -1 || keyName.indexOf('Backspace') != -1) {
+ CodeMirror.lookupKey(keyName, 'vim-insert', onKeyFound);
+ }
+ }
+
+ /**
+ * Repeats the last edit, which includes exactly 1 command and at most 1
+ * insert. Operator and motion commands are read from lastEditInputState,
+ * while action commands are read from lastEditActionCommand.
+ *
+ * If repeatForInsert is true, then the function was called by
+ * exitInsertMode to repeat the insert mode changes the user just made. The
+ * corresponding enterInsertMode call was made with a count.
+ */
+ function repeatLastEdit(cm, vim, repeat, repeatForInsert) {
+ var macroModeState = vimGlobalState.macroModeState;
+ macroModeState.isPlaying = true;
+ var isAction = !!vim.lastEditActionCommand;
+ var cachedInputState = vim.inputState;
+ function repeatCommand() {
+ if (isAction) {
+ commandDispatcher.processAction(cm, vim, vim.lastEditActionCommand);
+ } else {
+ commandDispatcher.evalInput(cm, vim);
+ }
+ }
+ function repeatInsert(repeat) {
+ if (macroModeState.lastInsertModeChanges.changes.length > 0) {
+ // For some reason, repeat cw in desktop VIM does not repeat
+ // insert mode changes. Will conform to that behavior.
+ repeat = !vim.lastEditActionCommand ? 1 : repeat;
+ var changeObject = macroModeState.lastInsertModeChanges;
+ repeatInsertModeChanges(cm, changeObject.changes, repeat);
+ }
+ }
+ vim.inputState = vim.lastEditInputState;
+ if (isAction && vim.lastEditActionCommand.interlaceInsertRepeat) {
+ // o and O repeat have to be interlaced with insert repeats so that the
+ // insertions appear on separate lines instead of the last line.
+ for (var i = 0; i < repeat; i++) {
+ repeatCommand();
+ repeatInsert(1);
+ }
+ } else {
+ if (!repeatForInsert) {
+ // Hack to get the cursor to end up at the right place. If I is
+ // repeated in insert mode repeat, cursor will be 1 insert
+ // change set left of where it should be.
+ repeatCommand();
+ }
+ repeatInsert(repeat);
+ }
+ vim.inputState = cachedInputState;
+ if (vim.insertMode && !repeatForInsert) {
+ // Don't exit insert mode twice. If repeatForInsert is set, then we
+ // were called by an exitInsertMode call lower on the stack.
+ exitInsertMode(cm);
+ }
+ macroModeState.isPlaying = false;
+ };
+
+ function repeatInsertModeChanges(cm, changes, repeat) {
+ function keyHandler(binding) {
+ if (typeof binding == 'string') {
+ CodeMirror.commands[binding](cm);
+ } else {
+ binding(cm);
+ }
+ return true;
+ }
+ var head = cm.getCursor('head');
+ var inVisualBlock = vimGlobalState.macroModeState.lastInsertModeChanges.inVisualBlock;
+ if (inVisualBlock) {
+ // Set up block selection again for repeating the changes.
+ var vim = cm.state.vim;
+ var lastSel = vim.lastSelection;
+ var offset = getOffset(lastSel.anchor, lastSel.head);
+ selectForInsert(cm, head, offset.line + 1);
+ repeat = cm.listSelections().length;
+ cm.setCursor(head);
+ }
+ for (var i = 0; i < repeat; i++) {
+ if (inVisualBlock) {
+ cm.setCursor(offsetCursor(head, i, 0));
+ }
+ for (var j = 0; j < changes.length; j++) {
+ var change = changes[j];
+ if (change instanceof InsertModeKey) {
+ CodeMirror.lookupKey(change.keyName, 'vim-insert', keyHandler);
+ } else {
+ var cur = cm.getCursor();
+ cm.replaceRange(change, cur, cur);
+ }
+ }
+ }
+ if (inVisualBlock) {
+ cm.setCursor(offsetCursor(head, 0, 1));
+ }
+ }
+
+ resetVimGlobalState();
+ return vimApi;
+ };
+ // Initialize Vim and make it available as an API.
+ CodeMirror.Vim = Vim();
+});
diff --git a/public/vendor/codemirror/lib/codemirror.css b/public/vendor/codemirror/lib/codemirror.css
new file mode 100755
index 00000000..ceacd130
--- /dev/null
+++ b/public/vendor/codemirror/lib/codemirror.css
@@ -0,0 +1,325 @@
+/* BASICS */
+
+.CodeMirror {
+ /* Set height, width, borders, and global font properties here */
+ font-family: monospace;
+ height: 300px;
+ color: black;
+}
+
+/* PADDING */
+
+.CodeMirror-lines {
+ padding: 4px 0; /* Vertical padding around content */
+}
+.CodeMirror pre {
+ padding: 0 4px; /* Horizontal padding of content */
+}
+
+.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
+ background-color: white; /* The little square between H and V scrollbars */
+}
+
+/* GUTTER */
+
+.CodeMirror-gutters {
+ border-right: 1px solid #ddd;
+ background-color: #f7f7f7;
+ white-space: nowrap;
+}
+.CodeMirror-linenumbers {}
+.CodeMirror-linenumber {
+ padding: 0 3px 0 5px;
+ min-width: 20px;
+ text-align: right;
+ color: #999;
+ white-space: nowrap;
+}
+
+.CodeMirror-guttermarker { color: black; }
+.CodeMirror-guttermarker-subtle { color: #999; }
+
+/* CURSOR */
+
+.CodeMirror div.CodeMirror-cursor {
+ border-left: 1px solid black;
+}
+/* Shown when moving in bi-directional text */
+.CodeMirror div.CodeMirror-secondarycursor {
+ border-left: 1px solid silver;
+}
+.CodeMirror.cm-fat-cursor div.CodeMirror-cursor {
+ width: auto;
+ border: 0;
+ background: #7e7;
+}
+.CodeMirror.cm-fat-cursor div.CodeMirror-cursors {
+ z-index: 1;
+}
+
+.cm-animate-fat-cursor {
+ width: auto;
+ border: 0;
+ -webkit-animation: blink 1.06s steps(1) infinite;
+ -moz-animation: blink 1.06s steps(1) infinite;
+ animation: blink 1.06s steps(1) infinite;
+}
+@-moz-keyframes blink {
+ 0% { background: #7e7; }
+ 50% { background: none; }
+ 100% { background: #7e7; }
+}
+@-webkit-keyframes blink {
+ 0% { background: #7e7; }
+ 50% { background: none; }
+ 100% { background: #7e7; }
+}
+@keyframes blink {
+ 0% { background: #7e7; }
+ 50% { background: none; }
+ 100% { background: #7e7; }
+}
+
+/* Can style cursor different in overwrite (non-insert) mode */
+div.CodeMirror-overwrite div.CodeMirror-cursor {}
+
+.cm-tab { display: inline-block; text-decoration: inherit; }
+
+.CodeMirror-ruler {
+ border-left: 1px solid #ccc;
+ position: absolute;
+}
+
+/* DEFAULT THEME */
+
+.cm-s-default .cm-keyword {color: #708;}
+.cm-s-default .cm-atom {color: #219;}
+.cm-s-default .cm-number {color: #164;}
+.cm-s-default .cm-def {color: #00f;}
+.cm-s-default .cm-variable,
+.cm-s-default .cm-punctuation,
+.cm-s-default .cm-property,
+.cm-s-default .cm-operator {}
+.cm-s-default .cm-variable-2 {color: #05a;}
+.cm-s-default .cm-variable-3 {color: #085;}
+.cm-s-default .cm-comment {color: #a50;}
+.cm-s-default .cm-string {color: #a11;}
+.cm-s-default .cm-string-2 {color: #f50;}
+.cm-s-default .cm-meta {color: #555;}
+.cm-s-default .cm-qualifier {color: #555;}
+.cm-s-default .cm-builtin {color: #30a;}
+.cm-s-default .cm-bracket {color: #997;}
+.cm-s-default .cm-tag {color: #170;}
+.cm-s-default .cm-attribute {color: #00c;}
+.cm-s-default .cm-header {color: blue;}
+.cm-s-default .cm-quote {color: #090;}
+.cm-s-default .cm-hr {color: #999;}
+.cm-s-default .cm-link {color: #00c;}
+
+.cm-negative {color: #d44;}
+.cm-positive {color: #292;}
+.cm-header, .cm-strong {font-weight: bold;}
+.cm-em {font-style: italic;}
+.cm-link {text-decoration: underline;}
+.cm-strikethrough {text-decoration: line-through;}
+
+.cm-s-default .cm-error {color: #f00;}
+.cm-invalidchar {color: #f00;}
+
+.CodeMirror-composing { border-bottom: 2px solid; }
+
+/* Default styles for common addons */
+
+div.CodeMirror span.CodeMirror-matchingbracket {color: #0f0;}
+div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
+.CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }
+.CodeMirror-activeline-background {background: #e8f2ff;}
+
+/* STOP */
+
+/* The rest of this file contains styles related to the mechanics of
+ the editor. You probably shouldn't touch them. */
+
+.CodeMirror {
+ position: relative;
+ overflow: hidden;
+ background: white;
+}
+
+.CodeMirror-scroll {
+ overflow: scroll !important; /* Things will break if this is overridden */
+ /* 30px is the magic margin used to hide the element's real scrollbars */
+ /* See overflow: hidden in .CodeMirror */
+ margin-bottom: -30px; margin-right: -30px;
+ padding-bottom: 30px;
+ height: 100%;
+ outline: none; /* Prevent dragging from highlighting the element */
+ position: relative;
+}
+.CodeMirror-sizer {
+ position: relative;
+ border-right: 30px solid transparent;
+}
+
+/* The fake, visible scrollbars. Used to force redraw during scrolling
+ before actuall scrolling happens, thus preventing shaking and
+ flickering artifacts. */
+.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
+ position: absolute;
+ z-index: 6;
+ display: none;
+}
+.CodeMirror-vscrollbar {
+ right: 0; top: 0;
+ overflow-x: hidden;
+ overflow-y: scroll;
+}
+.CodeMirror-hscrollbar {
+ bottom: 0; left: 0;
+ overflow-y: hidden;
+ overflow-x: scroll;
+}
+.CodeMirror-scrollbar-filler {
+ right: 0; bottom: 0;
+}
+.CodeMirror-gutter-filler {
+ left: 0; bottom: 0;
+}
+
+.CodeMirror-gutters {
+ position: absolute; left: 0; top: 0;
+ z-index: 3;
+}
+.CodeMirror-gutter {
+ white-space: normal;
+ height: 100%;
+ display: inline-block;
+ margin-bottom: -30px;
+ /* Hack to make IE7 behave */
+ *zoom:1;
+ *display:inline;
+}
+.CodeMirror-gutter-wrapper {
+ position: absolute;
+ z-index: 4;
+ height: 100%;
+}
+.CodeMirror-gutter-elt {
+ position: absolute;
+ cursor: default;
+ z-index: 4;
+}
+.CodeMirror-gutter-wrapper {
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ user-select: none;
+}
+
+.CodeMirror-lines {
+ cursor: text;
+ min-height: 1px; /* prevents collapsing before first draw */
+}
+.CodeMirror pre {
+ /* Reset some styles that the rest of the page might have set */
+ -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;
+ border-width: 0;
+ background: transparent;
+ font-family: inherit;
+ font-size: inherit;
+ margin: 0;
+ white-space: pre;
+ word-wrap: normal;
+ line-height: inherit;
+ color: inherit;
+ z-index: 2;
+ position: relative;
+ overflow: visible;
+ -webkit-tap-highlight-color: transparent;
+}
+.CodeMirror-wrap pre {
+ word-wrap: break-word;
+ white-space: pre-wrap;
+ word-break: normal;
+}
+
+.CodeMirror-linebackground {
+ position: absolute;
+ left: 0; right: 0; top: 0; bottom: 0;
+ z-index: 0;
+}
+
+.CodeMirror-linewidget {
+ position: relative;
+ z-index: 2;
+ overflow: auto;
+}
+
+.CodeMirror-widget {}
+
+.CodeMirror-code {
+ outline: none;
+}
+
+/* Force content-box sizing for the elements where we expect it */
+.CodeMirror-scroll,
+.CodeMirror-sizer,
+.CodeMirror-gutter,
+.CodeMirror-gutters,
+.CodeMirror-linenumber {
+ -moz-box-sizing: content-box;
+ box-sizing: content-box;
+}
+
+.CodeMirror-measure {
+ position: absolute;
+ width: 100%;
+ height: 0;
+ overflow: hidden;
+ visibility: hidden;
+}
+.CodeMirror-measure pre { position: static; }
+
+.CodeMirror div.CodeMirror-cursor {
+ position: absolute;
+ border-right: none;
+ width: 0;
+}
+
+div.CodeMirror-cursors {
+ visibility: hidden;
+ position: relative;
+ z-index: 3;
+}
+.CodeMirror-focused div.CodeMirror-cursors {
+ visibility: visible;
+}
+
+.CodeMirror-selected { background: #d9d9d9; }
+.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }
+.CodeMirror-crosshair { cursor: crosshair; }
+.CodeMirror ::selection { background: #d7d4f0; }
+.CodeMirror ::-moz-selection { background: #d7d4f0; }
+
+.cm-searching {
+ background: #ffa;
+ background: rgba(255, 255, 0, .4);
+}
+
+/* IE7 hack to prevent it from returning funny offsetTops on the spans */
+.CodeMirror span { *vertical-align: text-bottom; }
+
+/* Used to force a border model for a node */
+.cm-force-border { padding-right: .1px; }
+
+@media print {
+ /* Hide the cursor when printing */
+ .CodeMirror div.CodeMirror-cursors {
+ visibility: hidden;
+ }
+}
+
+/* See issue #2901 */
+.cm-tab-wrap-hack:after { content: ''; }
+
+/* Help users use markselection to safely style text background */
+span.CodeMirror-selectedtext { background: none; }
diff --git a/public/vendor/codemirror/lib/codemirror.js b/public/vendor/codemirror/lib/codemirror.js
new file mode 100755
index 00000000..a78ebdf5
--- /dev/null
+++ b/public/vendor/codemirror/lib/codemirror.js
@@ -0,0 +1,8745 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+// This is CodeMirror (http://codemirror.net), a code editor
+// implemented in JavaScript on top of the browser's DOM.
+//
+// You can find some technical background for some of the code below
+// at http://marijnhaverbeke.nl/blog/#cm-internals .
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ module.exports = mod();
+ else if (typeof define == "function" && define.amd) // AMD
+ return define([], mod);
+ else // Plain browser env
+ this.CodeMirror = mod();
+})(function() {
+ "use strict";
+
+ // BROWSER SNIFFING
+
+ // Kludges for bugs and behavior differences that can't be feature
+ // detected are enabled based on userAgent etc sniffing.
+
+ var gecko = /gecko\/\d/i.test(navigator.userAgent);
+ var ie_upto10 = /MSIE \d/.test(navigator.userAgent);
+ var ie_11up = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);
+ var ie = ie_upto10 || ie_11up;
+ var ie_version = ie && (ie_upto10 ? document.documentMode || 6 : ie_11up[1]);
+ var webkit = /WebKit\//.test(navigator.userAgent);
+ var qtwebkit = webkit && /Qt\/\d+\.\d+/.test(navigator.userAgent);
+ var chrome = /Chrome\//.test(navigator.userAgent);
+ var presto = /Opera\//.test(navigator.userAgent);
+ var safari = /Apple Computer/.test(navigator.vendor);
+ var mac_geMountainLion = /Mac OS X 1\d\D([8-9]|\d\d)\D/.test(navigator.userAgent);
+ var phantom = /PhantomJS/.test(navigator.userAgent);
+
+ var ios = /AppleWebKit/.test(navigator.userAgent) && /Mobile\/\w+/.test(navigator.userAgent);
+ // This is woefully incomplete. Suggestions for alternative methods welcome.
+ var mobile = ios || /Android|webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(navigator.userAgent);
+ var mac = ios || /Mac/.test(navigator.platform);
+ var windows = /win/i.test(navigator.platform);
+
+ var presto_version = presto && navigator.userAgent.match(/Version\/(\d*\.\d*)/);
+ if (presto_version) presto_version = Number(presto_version[1]);
+ if (presto_version && presto_version >= 15) { presto = false; webkit = true; }
+ // Some browsers use the wrong event properties to signal cmd/ctrl on OS X
+ var flipCtrlCmd = mac && (qtwebkit || presto && (presto_version == null || presto_version < 12.11));
+ var captureRightClick = gecko || (ie && ie_version >= 9);
+
+ // Optimize some code when these features are not used.
+ var sawReadOnlySpans = false, sawCollapsedSpans = false;
+
+ // EDITOR CONSTRUCTOR
+
+ // A CodeMirror instance represents an editor. This is the object
+ // that user code is usually dealing with.
+
+ function CodeMirror(place, options) {
+ if (!(this instanceof CodeMirror)) return new CodeMirror(place, options);
+
+ this.options = options = options ? copyObj(options) : {};
+ // Determine effective options based on given values and defaults.
+ copyObj(defaults, options, false);
+ setGuttersForLineNumbers(options);
+
+ var doc = options.value;
+ if (typeof doc == "string") doc = new Doc(doc, options.mode);
+ this.doc = doc;
+
+ var input = new CodeMirror.inputStyles[options.inputStyle](this);
+ var display = this.display = new Display(place, doc, input);
+ display.wrapper.CodeMirror = this;
+ updateGutters(this);
+ themeChanged(this);
+ if (options.lineWrapping)
+ this.display.wrapper.className += " CodeMirror-wrap";
+ if (options.autofocus && !mobile) display.input.focus();
+ initScrollbars(this);
+
+ this.state = {
+ keyMaps: [], // stores maps added by addKeyMap
+ overlays: [], // highlighting overlays, as added by addOverlay
+ modeGen: 0, // bumped when mode/overlay changes, used to invalidate highlighting info
+ overwrite: false,
+ delayingBlurEvent: false,
+ focused: false,
+ suppressEdits: false, // used to disable editing during key handlers when in readOnly mode
+ pasteIncoming: false, cutIncoming: false, // help recognize paste/cut edits in input.poll
+ draggingText: false,
+ highlight: new Delayed(), // stores highlight worker timeout
+ keySeq: null, // Unfinished key sequence
+ specialChars: null
+ };
+
+ var cm = this;
+
+ // Override magic textarea content restore that IE sometimes does
+ // on our hidden textarea on reload
+ if (ie && ie_version < 11) setTimeout(function() { cm.display.input.reset(true); }, 20);
+
+ registerEventHandlers(this);
+ ensureGlobalHandlers();
+
+ startOperation(this);
+ this.curOp.forceUpdate = true;
+ attachDoc(this, doc);
+
+ if ((options.autofocus && !mobile) || cm.hasFocus())
+ setTimeout(bind(onFocus, this), 20);
+ else
+ onBlur(this);
+
+ for (var opt in optionHandlers) if (optionHandlers.hasOwnProperty(opt))
+ optionHandlers[opt](this, options[opt], Init);
+ maybeUpdateLineNumberWidth(this);
+ if (options.finishInit) options.finishInit(this);
+ for (var i = 0; i < initHooks.length; ++i) initHooks[i](this);
+ endOperation(this);
+ // Suppress optimizelegibility in Webkit, since it breaks text
+ // measuring on line wrapping boundaries.
+ if (webkit && options.lineWrapping &&
+ getComputedStyle(display.lineDiv).textRendering == "optimizelegibility")
+ display.lineDiv.style.textRendering = "auto";
+ }
+
+ // DISPLAY CONSTRUCTOR
+
+ // The display handles the DOM integration, both for input reading
+ // and content drawing. It holds references to DOM nodes and
+ // display-related state.
+
+ function Display(place, doc, input) {
+ var d = this;
+ this.input = input;
+
+ // Covers bottom-right square when both scrollbars are present.
+ d.scrollbarFiller = elt("div", null, "CodeMirror-scrollbar-filler");
+ d.scrollbarFiller.setAttribute("cm-not-content", "true");
+ // Covers bottom of gutter when coverGutterNextToScrollbar is on
+ // and h scrollbar is present.
+ d.gutterFiller = elt("div", null, "CodeMirror-gutter-filler");
+ d.gutterFiller.setAttribute("cm-not-content", "true");
+ // Will contain the actual code, positioned to cover the viewport.
+ d.lineDiv = elt("div", null, "CodeMirror-code");
+ // Elements are added to these to represent selection and cursors.
+ d.selectionDiv = elt("div", null, null, "position: relative; z-index: 1");
+ d.cursorDiv = elt("div", null, "CodeMirror-cursors");
+ // A visibility: hidden element used to find the size of things.
+ d.measure = elt("div", null, "CodeMirror-measure");
+ // When lines outside of the viewport are measured, they are drawn in this.
+ d.lineMeasure = elt("div", null, "CodeMirror-measure");
+ // Wraps everything that needs to exist inside the vertically-padded coordinate system
+ d.lineSpace = elt("div", [d.measure, d.lineMeasure, d.selectionDiv, d.cursorDiv, d.lineDiv],
+ null, "position: relative; outline: none");
+ // Moved around its parent to cover visible view.
+ d.mover = elt("div", [elt("div", [d.lineSpace], "CodeMirror-lines")], null, "position: relative");
+ // Set to the height of the document, allowing scrolling.
+ d.sizer = elt("div", [d.mover], "CodeMirror-sizer");
+ d.sizerWidth = null;
+ // Behavior of elts with overflow: auto and padding is
+ // inconsistent across browsers. This is used to ensure the
+ // scrollable area is big enough.
+ d.heightForcer = elt("div", null, null, "position: absolute; height: " + scrollerGap + "px; width: 1px;");
+ // Will contain the gutters, if any.
+ d.gutters = elt("div", null, "CodeMirror-gutters");
+ d.lineGutter = null;
+ // Actual scrollable element.
+ d.scroller = elt("div", [d.sizer, d.heightForcer, d.gutters], "CodeMirror-scroll");
+ d.scroller.setAttribute("tabIndex", "-1");
+ // The element in which the editor lives.
+ d.wrapper = elt("div", [d.scrollbarFiller, d.gutterFiller, d.scroller], "CodeMirror");
+
+ // Work around IE7 z-index bug (not perfect, hence IE7 not really being supported)
+ if (ie && ie_version < 8) { d.gutters.style.zIndex = -1; d.scroller.style.paddingRight = 0; }
+ if (!webkit && !(gecko && mobile)) d.scroller.draggable = true;
+
+ if (place) {
+ if (place.appendChild) place.appendChild(d.wrapper);
+ else place(d.wrapper);
+ }
+
+ // Current rendered range (may be bigger than the view window).
+ d.viewFrom = d.viewTo = doc.first;
+ d.reportedViewFrom = d.reportedViewTo = doc.first;
+ // Information about the rendered lines.
+ d.view = [];
+ d.renderedView = null;
+ // Holds info about a single rendered line when it was rendered
+ // for measurement, while not in view.
+ d.externalMeasured = null;
+ // Empty space (in pixels) above the view
+ d.viewOffset = 0;
+ d.lastWrapHeight = d.lastWrapWidth = 0;
+ d.updateLineNumbers = null;
+
+ d.nativeBarWidth = d.barHeight = d.barWidth = 0;
+ d.scrollbarsClipped = false;
+
+ // Used to only resize the line number gutter when necessary (when
+ // the amount of lines crosses a boundary that makes its width change)
+ d.lineNumWidth = d.lineNumInnerWidth = d.lineNumChars = null;
+ // Set to true when a non-horizontal-scrolling line widget is
+ // added. As an optimization, line widget aligning is skipped when
+ // this is false.
+ d.alignWidgets = false;
+
+ d.cachedCharWidth = d.cachedTextHeight = d.cachedPaddingH = null;
+
+ // Tracks the maximum line length so that the horizontal scrollbar
+ // can be kept static when scrolling.
+ d.maxLine = null;
+ d.maxLineLength = 0;
+ d.maxLineChanged = false;
+
+ // Used for measuring wheel scrolling granularity
+ d.wheelDX = d.wheelDY = d.wheelStartX = d.wheelStartY = null;
+
+ // True when shift is held down.
+ d.shift = false;
+
+ // Used to track whether anything happened since the context menu
+ // was opened.
+ d.selForContextMenu = null;
+
+ d.activeTouch = null;
+
+ input.init(d);
+ }
+
+ // STATE UPDATES
+
+ // Used to get the editor into a consistent state again when options change.
+
+ function loadMode(cm) {
+ cm.doc.mode = CodeMirror.getMode(cm.options, cm.doc.modeOption);
+ resetModeState(cm);
+ }
+
+ function resetModeState(cm) {
+ cm.doc.iter(function(line) {
+ if (line.stateAfter) line.stateAfter = null;
+ if (line.styles) line.styles = null;
+ });
+ cm.doc.frontier = cm.doc.first;
+ startWorker(cm, 100);
+ cm.state.modeGen++;
+ if (cm.curOp) regChange(cm);
+ }
+
+ function wrappingChanged(cm) {
+ if (cm.options.lineWrapping) {
+ addClass(cm.display.wrapper, "CodeMirror-wrap");
+ cm.display.sizer.style.minWidth = "";
+ cm.display.sizerWidth = null;
+ } else {
+ rmClass(cm.display.wrapper, "CodeMirror-wrap");
+ findMaxLine(cm);
+ }
+ estimateLineHeights(cm);
+ regChange(cm);
+ clearCaches(cm);
+ setTimeout(function(){updateScrollbars(cm);}, 100);
+ }
+
+ // Returns a function that estimates the height of a line, to use as
+ // first approximation until the line becomes visible (and is thus
+ // properly measurable).
+ function estimateHeight(cm) {
+ var th = textHeight(cm.display), wrapping = cm.options.lineWrapping;
+ var perLine = wrapping && Math.max(5, cm.display.scroller.clientWidth / charWidth(cm.display) - 3);
+ return function(line) {
+ if (lineIsHidden(cm.doc, line)) return 0;
+
+ var widgetsHeight = 0;
+ if (line.widgets) for (var i = 0; i < line.widgets.length; i++) {
+ if (line.widgets[i].height) widgetsHeight += line.widgets[i].height;
+ }
+
+ if (wrapping)
+ return widgetsHeight + (Math.ceil(line.text.length / perLine) || 1) * th;
+ else
+ return widgetsHeight + th;
+ };
+ }
+
+ function estimateLineHeights(cm) {
+ var doc = cm.doc, est = estimateHeight(cm);
+ doc.iter(function(line) {
+ var estHeight = est(line);
+ if (estHeight != line.height) updateLineHeight(line, estHeight);
+ });
+ }
+
+ function themeChanged(cm) {
+ cm.display.wrapper.className = cm.display.wrapper.className.replace(/\s*cm-s-\S+/g, "") +
+ cm.options.theme.replace(/(^|\s)\s*/g, " cm-s-");
+ clearCaches(cm);
+ }
+
+ function guttersChanged(cm) {
+ updateGutters(cm);
+ regChange(cm);
+ setTimeout(function(){alignHorizontally(cm);}, 20);
+ }
+
+ // Rebuild the gutter elements, ensure the margin to the left of the
+ // code matches their width.
+ function updateGutters(cm) {
+ var gutters = cm.display.gutters, specs = cm.options.gutters;
+ removeChildren(gutters);
+ for (var i = 0; i < specs.length; ++i) {
+ var gutterClass = specs[i];
+ var gElt = gutters.appendChild(elt("div", null, "CodeMirror-gutter " + gutterClass));
+ if (gutterClass == "CodeMirror-linenumbers") {
+ cm.display.lineGutter = gElt;
+ gElt.style.width = (cm.display.lineNumWidth || 1) + "px";
+ }
+ }
+ gutters.style.display = i ? "" : "none";
+ updateGutterSpace(cm);
+ }
+
+ function updateGutterSpace(cm) {
+ var width = cm.display.gutters.offsetWidth;
+ cm.display.sizer.style.marginLeft = width + "px";
+ }
+
+ // Compute the character length of a line, taking into account
+ // collapsed ranges (see markText) that might hide parts, and join
+ // other lines onto it.
+ function lineLength(line) {
+ if (line.height == 0) return 0;
+ var len = line.text.length, merged, cur = line;
+ while (merged = collapsedSpanAtStart(cur)) {
+ var found = merged.find(0, true);
+ cur = found.from.line;
+ len += found.from.ch - found.to.ch;
+ }
+ cur = line;
+ while (merged = collapsedSpanAtEnd(cur)) {
+ var found = merged.find(0, true);
+ len -= cur.text.length - found.from.ch;
+ cur = found.to.line;
+ len += cur.text.length - found.to.ch;
+ }
+ return len;
+ }
+
+ // Find the longest line in the document.
+ function findMaxLine(cm) {
+ var d = cm.display, doc = cm.doc;
+ d.maxLine = getLine(doc, doc.first);
+ d.maxLineLength = lineLength(d.maxLine);
+ d.maxLineChanged = true;
+ doc.iter(function(line) {
+ var len = lineLength(line);
+ if (len > d.maxLineLength) {
+ d.maxLineLength = len;
+ d.maxLine = line;
+ }
+ });
+ }
+
+ // Make sure the gutters options contains the element
+ // "CodeMirror-linenumbers" when the lineNumbers option is true.
+ function setGuttersForLineNumbers(options) {
+ var found = indexOf(options.gutters, "CodeMirror-linenumbers");
+ if (found == -1 && options.lineNumbers) {
+ options.gutters = options.gutters.concat(["CodeMirror-linenumbers"]);
+ } else if (found > -1 && !options.lineNumbers) {
+ options.gutters = options.gutters.slice(0);
+ options.gutters.splice(found, 1);
+ }
+ }
+
+ // SCROLLBARS
+
+ // Prepare DOM reads needed to update the scrollbars. Done in one
+ // shot to minimize update/measure roundtrips.
+ function measureForScrollbars(cm) {
+ var d = cm.display, gutterW = d.gutters.offsetWidth;
+ var docH = Math.round(cm.doc.height + paddingVert(cm.display));
+ return {
+ clientHeight: d.scroller.clientHeight,
+ viewHeight: d.wrapper.clientHeight,
+ scrollWidth: d.scroller.scrollWidth, clientWidth: d.scroller.clientWidth,
+ viewWidth: d.wrapper.clientWidth,
+ barLeft: cm.options.fixedGutter ? gutterW : 0,
+ docHeight: docH,
+ scrollHeight: docH + scrollGap(cm) + d.barHeight,
+ nativeBarWidth: d.nativeBarWidth,
+ gutterWidth: gutterW
+ };
+ }
+
+ function NativeScrollbars(place, scroll, cm) {
+ this.cm = cm;
+ var vert = this.vert = elt("div", [elt("div", null, null, "min-width: 1px")], "CodeMirror-vscrollbar");
+ var horiz = this.horiz = elt("div", [elt("div", null, null, "height: 100%; min-height: 1px")], "CodeMirror-hscrollbar");
+ place(vert); place(horiz);
+
+ on(vert, "scroll", function() {
+ if (vert.clientHeight) scroll(vert.scrollTop, "vertical");
+ });
+ on(horiz, "scroll", function() {
+ if (horiz.clientWidth) scroll(horiz.scrollLeft, "horizontal");
+ });
+
+ this.checkedOverlay = false;
+ // Need to set a minimum width to see the scrollbar on IE7 (but must not set it on IE8).
+ if (ie && ie_version < 8) this.horiz.style.minHeight = this.vert.style.minWidth = "18px";
+ }
+
+ NativeScrollbars.prototype = copyObj({
+ update: function(measure) {
+ var needsH = measure.scrollWidth > measure.clientWidth + 1;
+ var needsV = measure.scrollHeight > measure.clientHeight + 1;
+ var sWidth = measure.nativeBarWidth;
+
+ if (needsV) {
+ this.vert.style.display = "block";
+ this.vert.style.bottom = needsH ? sWidth + "px" : "0";
+ var totalHeight = measure.viewHeight - (needsH ? sWidth : 0);
+ // A bug in IE8 can cause this value to be negative, so guard it.
+ this.vert.firstChild.style.height =
+ Math.max(0, measure.scrollHeight - measure.clientHeight + totalHeight) + "px";
+ } else {
+ this.vert.style.display = "";
+ this.vert.firstChild.style.height = "0";
+ }
+
+ if (needsH) {
+ this.horiz.style.display = "block";
+ this.horiz.style.right = needsV ? sWidth + "px" : "0";
+ this.horiz.style.left = measure.barLeft + "px";
+ var totalWidth = measure.viewWidth - measure.barLeft - (needsV ? sWidth : 0);
+ this.horiz.firstChild.style.width =
+ (measure.scrollWidth - measure.clientWidth + totalWidth) + "px";
+ } else {
+ this.horiz.style.display = "";
+ this.horiz.firstChild.style.width = "0";
+ }
+
+ if (!this.checkedOverlay && measure.clientHeight > 0) {
+ if (sWidth == 0) this.overlayHack();
+ this.checkedOverlay = true;
+ }
+
+ return {right: needsV ? sWidth : 0, bottom: needsH ? sWidth : 0};
+ },
+ setScrollLeft: function(pos) {
+ if (this.horiz.scrollLeft != pos) this.horiz.scrollLeft = pos;
+ },
+ setScrollTop: function(pos) {
+ if (this.vert.scrollTop != pos) this.vert.scrollTop = pos;
+ },
+ overlayHack: function() {
+ var w = mac && !mac_geMountainLion ? "12px" : "18px";
+ this.horiz.style.minHeight = this.vert.style.minWidth = w;
+ var self = this;
+ var barMouseDown = function(e) {
+ if (e_target(e) != self.vert && e_target(e) != self.horiz)
+ operation(self.cm, onMouseDown)(e);
+ };
+ on(this.vert, "mousedown", barMouseDown);
+ on(this.horiz, "mousedown", barMouseDown);
+ },
+ clear: function() {
+ var parent = this.horiz.parentNode;
+ parent.removeChild(this.horiz);
+ parent.removeChild(this.vert);
+ }
+ }, NativeScrollbars.prototype);
+
+ function NullScrollbars() {}
+
+ NullScrollbars.prototype = copyObj({
+ update: function() { return {bottom: 0, right: 0}; },
+ setScrollLeft: function() {},
+ setScrollTop: function() {},
+ clear: function() {}
+ }, NullScrollbars.prototype);
+
+ CodeMirror.scrollbarModel = {"native": NativeScrollbars, "null": NullScrollbars};
+
+ function initScrollbars(cm) {
+ if (cm.display.scrollbars) {
+ cm.display.scrollbars.clear();
+ if (cm.display.scrollbars.addClass)
+ rmClass(cm.display.wrapper, cm.display.scrollbars.addClass);
+ }
+
+ cm.display.scrollbars = new CodeMirror.scrollbarModel[cm.options.scrollbarStyle](function(node) {
+ cm.display.wrapper.insertBefore(node, cm.display.scrollbarFiller);
+ // Prevent clicks in the scrollbars from killing focus
+ on(node, "mousedown", function() {
+ if (cm.state.focused) setTimeout(function() { cm.display.input.focus(); }, 0);
+ });
+ node.setAttribute("cm-not-content", "true");
+ }, function(pos, axis) {
+ if (axis == "horizontal") setScrollLeft(cm, pos);
+ else setScrollTop(cm, pos);
+ }, cm);
+ if (cm.display.scrollbars.addClass)
+ addClass(cm.display.wrapper, cm.display.scrollbars.addClass);
+ }
+
+ function updateScrollbars(cm, measure) {
+ if (!measure) measure = measureForScrollbars(cm);
+ var startWidth = cm.display.barWidth, startHeight = cm.display.barHeight;
+ updateScrollbarsInner(cm, measure);
+ for (var i = 0; i < 4 && startWidth != cm.display.barWidth || startHeight != cm.display.barHeight; i++) {
+ if (startWidth != cm.display.barWidth && cm.options.lineWrapping)
+ updateHeightsInViewport(cm);
+ updateScrollbarsInner(cm, measureForScrollbars(cm));
+ startWidth = cm.display.barWidth; startHeight = cm.display.barHeight;
+ }
+ }
+
+ // Re-synchronize the fake scrollbars with the actual size of the
+ // content.
+ function updateScrollbarsInner(cm, measure) {
+ var d = cm.display;
+ var sizes = d.scrollbars.update(measure);
+
+ d.sizer.style.paddingRight = (d.barWidth = sizes.right) + "px";
+ d.sizer.style.paddingBottom = (d.barHeight = sizes.bottom) + "px";
+
+ if (sizes.right && sizes.bottom) {
+ d.scrollbarFiller.style.display = "block";
+ d.scrollbarFiller.style.height = sizes.bottom + "px";
+ d.scrollbarFiller.style.width = sizes.right + "px";
+ } else d.scrollbarFiller.style.display = "";
+ if (sizes.bottom && cm.options.coverGutterNextToScrollbar && cm.options.fixedGutter) {
+ d.gutterFiller.style.display = "block";
+ d.gutterFiller.style.height = sizes.bottom + "px";
+ d.gutterFiller.style.width = measure.gutterWidth + "px";
+ } else d.gutterFiller.style.display = "";
+ }
+
+ // Compute the lines that are visible in a given viewport (defaults
+ // the the current scroll position). viewport may contain top,
+ // height, and ensure (see op.scrollToPos) properties.
+ function visibleLines(display, doc, viewport) {
+ var top = viewport && viewport.top != null ? Math.max(0, viewport.top) : display.scroller.scrollTop;
+ top = Math.floor(top - paddingTop(display));
+ var bottom = viewport && viewport.bottom != null ? viewport.bottom : top + display.wrapper.clientHeight;
+
+ var from = lineAtHeight(doc, top), to = lineAtHeight(doc, bottom);
+ // Ensure is a {from: {line, ch}, to: {line, ch}} object, and
+ // forces those lines into the viewport (if possible).
+ if (viewport && viewport.ensure) {
+ var ensureFrom = viewport.ensure.from.line, ensureTo = viewport.ensure.to.line;
+ if (ensureFrom < from) {
+ from = ensureFrom;
+ to = lineAtHeight(doc, heightAtLine(getLine(doc, ensureFrom)) + display.wrapper.clientHeight);
+ } else if (Math.min(ensureTo, doc.lastLine()) >= to) {
+ from = lineAtHeight(doc, heightAtLine(getLine(doc, ensureTo)) - display.wrapper.clientHeight);
+ to = ensureTo;
+ }
+ }
+ return {from: from, to: Math.max(to, from + 1)};
+ }
+
+ // LINE NUMBERS
+
+ // Re-align line numbers and gutter marks to compensate for
+ // horizontal scrolling.
+ function alignHorizontally(cm) {
+ var display = cm.display, view = display.view;
+ if (!display.alignWidgets && (!display.gutters.firstChild || !cm.options.fixedGutter)) return;
+ var comp = compensateForHScroll(display) - display.scroller.scrollLeft + cm.doc.scrollLeft;
+ var gutterW = display.gutters.offsetWidth, left = comp + "px";
+ for (var i = 0; i < view.length; i++) if (!view[i].hidden) {
+ if (cm.options.fixedGutter && view[i].gutter)
+ view[i].gutter.style.left = left;
+ var align = view[i].alignable;
+ if (align) for (var j = 0; j < align.length; j++)
+ align[j].style.left = left;
+ }
+ if (cm.options.fixedGutter)
+ display.gutters.style.left = (comp + gutterW) + "px";
+ }
+
+ // Used to ensure that the line number gutter is still the right
+ // size for the current document size. Returns true when an update
+ // is needed.
+ function maybeUpdateLineNumberWidth(cm) {
+ if (!cm.options.lineNumbers) return false;
+ var doc = cm.doc, last = lineNumberFor(cm.options, doc.first + doc.size - 1), display = cm.display;
+ if (last.length != display.lineNumChars) {
+ var test = display.measure.appendChild(elt("div", [elt("div", last)],
+ "CodeMirror-linenumber CodeMirror-gutter-elt"));
+ var innerW = test.firstChild.offsetWidth, padding = test.offsetWidth - innerW;
+ display.lineGutter.style.width = "";
+ display.lineNumInnerWidth = Math.max(innerW, display.lineGutter.offsetWidth - padding) + 1;
+ display.lineNumWidth = display.lineNumInnerWidth + padding;
+ display.lineNumChars = display.lineNumInnerWidth ? last.length : -1;
+ display.lineGutter.style.width = display.lineNumWidth + "px";
+ updateGutterSpace(cm);
+ return true;
+ }
+ return false;
+ }
+
+ function lineNumberFor(options, i) {
+ return String(options.lineNumberFormatter(i + options.firstLineNumber));
+ }
+
+ // Computes display.scroller.scrollLeft + display.gutters.offsetWidth,
+ // but using getBoundingClientRect to get a sub-pixel-accurate
+ // result.
+ function compensateForHScroll(display) {
+ return display.scroller.getBoundingClientRect().left - display.sizer.getBoundingClientRect().left;
+ }
+
+ // DISPLAY DRAWING
+
+ function DisplayUpdate(cm, viewport, force) {
+ var display = cm.display;
+
+ this.viewport = viewport;
+ // Store some values that we'll need later (but don't want to force a relayout for)
+ this.visible = visibleLines(display, cm.doc, viewport);
+ this.editorIsHidden = !display.wrapper.offsetWidth;
+ this.wrapperHeight = display.wrapper.clientHeight;
+ this.wrapperWidth = display.wrapper.clientWidth;
+ this.oldDisplayWidth = displayWidth(cm);
+ this.force = force;
+ this.dims = getDimensions(cm);
+ this.events = [];
+ }
+
+ DisplayUpdate.prototype.signal = function(emitter, type) {
+ if (hasHandler(emitter, type))
+ this.events.push(arguments);
+ };
+ DisplayUpdate.prototype.finish = function() {
+ for (var i = 0; i < this.events.length; i++)
+ signal.apply(null, this.events[i]);
+ };
+
+ function maybeClipScrollbars(cm) {
+ var display = cm.display;
+ if (!display.scrollbarsClipped && display.scroller.offsetWidth) {
+ display.nativeBarWidth = display.scroller.offsetWidth - display.scroller.clientWidth;
+ display.heightForcer.style.height = scrollGap(cm) + "px";
+ display.sizer.style.marginBottom = -display.nativeBarWidth + "px";
+ display.sizer.style.borderRightWidth = scrollGap(cm) + "px";
+ display.scrollbarsClipped = true;
+ }
+ }
+
+ // Does the actual updating of the line display. Bails out
+ // (returning false) when there is nothing to be done and forced is
+ // false.
+ function updateDisplayIfNeeded(cm, update) {
+ var display = cm.display, doc = cm.doc;
+
+ if (update.editorIsHidden) {
+ resetView(cm);
+ return false;
+ }
+
+ // Bail out if the visible area is already rendered and nothing changed.
+ if (!update.force &&
+ update.visible.from >= display.viewFrom && update.visible.to <= display.viewTo &&
+ (display.updateLineNumbers == null || display.updateLineNumbers >= display.viewTo) &&
+ display.renderedView == display.view && countDirtyView(cm) == 0)
+ return false;
+
+ if (maybeUpdateLineNumberWidth(cm)) {
+ resetView(cm);
+ update.dims = getDimensions(cm);
+ }
+
+ // Compute a suitable new viewport (from & to)
+ var end = doc.first + doc.size;
+ var from = Math.max(update.visible.from - cm.options.viewportMargin, doc.first);
+ var to = Math.min(end, update.visible.to + cm.options.viewportMargin);
+ if (display.viewFrom < from && from - display.viewFrom < 20) from = Math.max(doc.first, display.viewFrom);
+ if (display.viewTo > to && display.viewTo - to < 20) to = Math.min(end, display.viewTo);
+ if (sawCollapsedSpans) {
+ from = visualLineNo(cm.doc, from);
+ to = visualLineEndNo(cm.doc, to);
+ }
+
+ var different = from != display.viewFrom || to != display.viewTo ||
+ display.lastWrapHeight != update.wrapperHeight || display.lastWrapWidth != update.wrapperWidth;
+ adjustView(cm, from, to);
+
+ display.viewOffset = heightAtLine(getLine(cm.doc, display.viewFrom));
+ // Position the mover div to align with the current scroll position
+ cm.display.mover.style.top = display.viewOffset + "px";
+
+ var toUpdate = countDirtyView(cm);
+ if (!different && toUpdate == 0 && !update.force && display.renderedView == display.view &&
+ (display.updateLineNumbers == null || display.updateLineNumbers >= display.viewTo))
+ return false;
+
+ // For big changes, we hide the enclosing element during the
+ // update, since that speeds up the operations on most browsers.
+ var focused = activeElt();
+ if (toUpdate > 4) display.lineDiv.style.display = "none";
+ patchDisplay(cm, display.updateLineNumbers, update.dims);
+ if (toUpdate > 4) display.lineDiv.style.display = "";
+ display.renderedView = display.view;
+ // There might have been a widget with a focused element that got
+ // hidden or updated, if so re-focus it.
+ if (focused && activeElt() != focused && focused.offsetHeight) focused.focus();
+
+ // Prevent selection and cursors from interfering with the scroll
+ // width and height.
+ removeChildren(display.cursorDiv);
+ removeChildren(display.selectionDiv);
+ display.gutters.style.height = 0;
+
+ if (different) {
+ display.lastWrapHeight = update.wrapperHeight;
+ display.lastWrapWidth = update.wrapperWidth;
+ startWorker(cm, 400);
+ }
+
+ display.updateLineNumbers = null;
+
+ return true;
+ }
+
+ function postUpdateDisplay(cm, update) {
+ var force = update.force, viewport = update.viewport;
+ for (var first = true;; first = false) {
+ if (first && cm.options.lineWrapping && update.oldDisplayWidth != displayWidth(cm)) {
+ force = true;
+ } else {
+ force = false;
+ // Clip forced viewport to actual scrollable area.
+ if (viewport && viewport.top != null)
+ viewport = {top: Math.min(cm.doc.height + paddingVert(cm.display) - displayHeight(cm), viewport.top)};
+ // Updated line heights might result in the drawn area not
+ // actually covering the viewport. Keep looping until it does.
+ update.visible = visibleLines(cm.display, cm.doc, viewport);
+ if (update.visible.from >= cm.display.viewFrom && update.visible.to <= cm.display.viewTo)
+ break;
+ }
+ if (!updateDisplayIfNeeded(cm, update)) break;
+ updateHeightsInViewport(cm);
+ var barMeasure = measureForScrollbars(cm);
+ updateSelection(cm);
+ setDocumentHeight(cm, barMeasure);
+ updateScrollbars(cm, barMeasure);
+ }
+
+ update.signal(cm, "update", cm);
+ if (cm.display.viewFrom != cm.display.reportedViewFrom || cm.display.viewTo != cm.display.reportedViewTo) {
+ update.signal(cm, "viewportChange", cm, cm.display.viewFrom, cm.display.viewTo);
+ cm.display.reportedViewFrom = cm.display.viewFrom; cm.display.reportedViewTo = cm.display.viewTo;
+ }
+ }
+
+ function updateDisplaySimple(cm, viewport) {
+ var update = new DisplayUpdate(cm, viewport);
+ if (updateDisplayIfNeeded(cm, update)) {
+ updateHeightsInViewport(cm);
+ postUpdateDisplay(cm, update);
+ var barMeasure = measureForScrollbars(cm);
+ updateSelection(cm);
+ setDocumentHeight(cm, barMeasure);
+ updateScrollbars(cm, barMeasure);
+ update.finish();
+ }
+ }
+
+ function setDocumentHeight(cm, measure) {
+ cm.display.sizer.style.minHeight = measure.docHeight + "px";
+ var total = measure.docHeight + cm.display.barHeight;
+ cm.display.heightForcer.style.top = total + "px";
+ cm.display.gutters.style.height = Math.max(total + scrollGap(cm), measure.clientHeight) + "px";
+ }
+
+ // Read the actual heights of the rendered lines, and update their
+ // stored heights to match.
+ function updateHeightsInViewport(cm) {
+ var display = cm.display;
+ var prevBottom = display.lineDiv.offsetTop;
+ for (var i = 0; i < display.view.length; i++) {
+ var cur = display.view[i], height;
+ if (cur.hidden) continue;
+ if (ie && ie_version < 8) {
+ var bot = cur.node.offsetTop + cur.node.offsetHeight;
+ height = bot - prevBottom;
+ prevBottom = bot;
+ } else {
+ var box = cur.node.getBoundingClientRect();
+ height = box.bottom - box.top;
+ }
+ var diff = cur.line.height - height;
+ if (height < 2) height = textHeight(display);
+ if (diff > .001 || diff < -.001) {
+ updateLineHeight(cur.line, height);
+ updateWidgetHeight(cur.line);
+ if (cur.rest) for (var j = 0; j < cur.rest.length; j++)
+ updateWidgetHeight(cur.rest[j]);
+ }
+ }
+ }
+
+ // Read and store the height of line widgets associated with the
+ // given line.
+ function updateWidgetHeight(line) {
+ if (line.widgets) for (var i = 0; i < line.widgets.length; ++i)
+ line.widgets[i].height = line.widgets[i].node.offsetHeight;
+ }
+
+ // Do a bulk-read of the DOM positions and sizes needed to draw the
+ // view, so that we don't interleave reading and writing to the DOM.
+ function getDimensions(cm) {
+ var d = cm.display, left = {}, width = {};
+ var gutterLeft = d.gutters.clientLeft;
+ for (var n = d.gutters.firstChild, i = 0; n; n = n.nextSibling, ++i) {
+ left[cm.options.gutters[i]] = n.offsetLeft + n.clientLeft + gutterLeft;
+ width[cm.options.gutters[i]] = n.clientWidth;
+ }
+ return {fixedPos: compensateForHScroll(d),
+ gutterTotalWidth: d.gutters.offsetWidth,
+ gutterLeft: left,
+ gutterWidth: width,
+ wrapperWidth: d.wrapper.clientWidth};
+ }
+
+ // Sync the actual display DOM structure with display.view, removing
+ // nodes for lines that are no longer in view, and creating the ones
+ // that are not there yet, and updating the ones that are out of
+ // date.
+ function patchDisplay(cm, updateNumbersFrom, dims) {
+ var display = cm.display, lineNumbers = cm.options.lineNumbers;
+ var container = display.lineDiv, cur = container.firstChild;
+
+ function rm(node) {
+ var next = node.nextSibling;
+ // Works around a throw-scroll bug in OS X Webkit
+ if (webkit && mac && cm.display.currentWheelTarget == node)
+ node.style.display = "none";
+ else
+ node.parentNode.removeChild(node);
+ return next;
+ }
+
+ var view = display.view, lineN = display.viewFrom;
+ // Loop over the elements in the view, syncing cur (the DOM nodes
+ // in display.lineDiv) with the view as we go.
+ for (var i = 0; i < view.length; i++) {
+ var lineView = view[i];
+ if (lineView.hidden) {
+ } else if (!lineView.node || lineView.node.parentNode != container) { // Not drawn yet
+ var node = buildLineElement(cm, lineView, lineN, dims);
+ container.insertBefore(node, cur);
+ } else { // Already drawn
+ while (cur != lineView.node) cur = rm(cur);
+ var updateNumber = lineNumbers && updateNumbersFrom != null &&
+ updateNumbersFrom <= lineN && lineView.lineNumber;
+ if (lineView.changes) {
+ if (indexOf(lineView.changes, "gutter") > -1) updateNumber = false;
+ updateLineForChanges(cm, lineView, lineN, dims);
+ }
+ if (updateNumber) {
+ removeChildren(lineView.lineNumber);
+ lineView.lineNumber.appendChild(document.createTextNode(lineNumberFor(cm.options, lineN)));
+ }
+ cur = lineView.node.nextSibling;
+ }
+ lineN += lineView.size;
+ }
+ while (cur) cur = rm(cur);
+ }
+
+ // When an aspect of a line changes, a string is added to
+ // lineView.changes. This updates the relevant part of the line's
+ // DOM structure.
+ function updateLineForChanges(cm, lineView, lineN, dims) {
+ for (var j = 0; j < lineView.changes.length; j++) {
+ var type = lineView.changes[j];
+ if (type == "text") updateLineText(cm, lineView);
+ else if (type == "gutter") updateLineGutter(cm, lineView, lineN, dims);
+ else if (type == "class") updateLineClasses(lineView);
+ else if (type == "widget") updateLineWidgets(cm, lineView, dims);
+ }
+ lineView.changes = null;
+ }
+
+ // Lines with gutter elements, widgets or a background class need to
+ // be wrapped, and have the extra elements added to the wrapper div
+ function ensureLineWrapped(lineView) {
+ if (lineView.node == lineView.text) {
+ lineView.node = elt("div", null, null, "position: relative");
+ if (lineView.text.parentNode)
+ lineView.text.parentNode.replaceChild(lineView.node, lineView.text);
+ lineView.node.appendChild(lineView.text);
+ if (ie && ie_version < 8) lineView.node.style.zIndex = 2;
+ }
+ return lineView.node;
+ }
+
+ function updateLineBackground(lineView) {
+ var cls = lineView.bgClass ? lineView.bgClass + " " + (lineView.line.bgClass || "") : lineView.line.bgClass;
+ if (cls) cls += " CodeMirror-linebackground";
+ if (lineView.background) {
+ if (cls) lineView.background.className = cls;
+ else { lineView.background.parentNode.removeChild(lineView.background); lineView.background = null; }
+ } else if (cls) {
+ var wrap = ensureLineWrapped(lineView);
+ lineView.background = wrap.insertBefore(elt("div", null, cls), wrap.firstChild);
+ }
+ }
+
+ // Wrapper around buildLineContent which will reuse the structure
+ // in display.externalMeasured when possible.
+ function getLineContent(cm, lineView) {
+ var ext = cm.display.externalMeasured;
+ if (ext && ext.line == lineView.line) {
+ cm.display.externalMeasured = null;
+ lineView.measure = ext.measure;
+ return ext.built;
+ }
+ return buildLineContent(cm, lineView);
+ }
+
+ // Redraw the line's text. Interacts with the background and text
+ // classes because the mode may output tokens that influence these
+ // classes.
+ function updateLineText(cm, lineView) {
+ var cls = lineView.text.className;
+ var built = getLineContent(cm, lineView);
+ if (lineView.text == lineView.node) lineView.node = built.pre;
+ lineView.text.parentNode.replaceChild(built.pre, lineView.text);
+ lineView.text = built.pre;
+ if (built.bgClass != lineView.bgClass || built.textClass != lineView.textClass) {
+ lineView.bgClass = built.bgClass;
+ lineView.textClass = built.textClass;
+ updateLineClasses(lineView);
+ } else if (cls) {
+ lineView.text.className = cls;
+ }
+ }
+
+ function updateLineClasses(lineView) {
+ updateLineBackground(lineView);
+ if (lineView.line.wrapClass)
+ ensureLineWrapped(lineView).className = lineView.line.wrapClass;
+ else if (lineView.node != lineView.text)
+ lineView.node.className = "";
+ var textClass = lineView.textClass ? lineView.textClass + " " + (lineView.line.textClass || "") : lineView.line.textClass;
+ lineView.text.className = textClass || "";
+ }
+
+ function updateLineGutter(cm, lineView, lineN, dims) {
+ if (lineView.gutter) {
+ lineView.node.removeChild(lineView.gutter);
+ lineView.gutter = null;
+ }
+ var markers = lineView.line.gutterMarkers;
+ if (cm.options.lineNumbers || markers) {
+ var wrap = ensureLineWrapped(lineView);
+ var gutterWrap = lineView.gutter = elt("div", null, "CodeMirror-gutter-wrapper", "left: " +
+ (cm.options.fixedGutter ? dims.fixedPos : -dims.gutterTotalWidth) +
+ "px; width: " + dims.gutterTotalWidth + "px");
+ cm.display.input.setUneditable(gutterWrap);
+ wrap.insertBefore(gutterWrap, lineView.text);
+ if (lineView.line.gutterClass)
+ gutterWrap.className += " " + lineView.line.gutterClass;
+ if (cm.options.lineNumbers && (!markers || !markers["CodeMirror-linenumbers"]))
+ lineView.lineNumber = gutterWrap.appendChild(
+ elt("div", lineNumberFor(cm.options, lineN),
+ "CodeMirror-linenumber CodeMirror-gutter-elt",
+ "left: " + dims.gutterLeft["CodeMirror-linenumbers"] + "px; width: "
+ + cm.display.lineNumInnerWidth + "px"));
+ if (markers) for (var k = 0; k < cm.options.gutters.length; ++k) {
+ var id = cm.options.gutters[k], found = markers.hasOwnProperty(id) && markers[id];
+ if (found)
+ gutterWrap.appendChild(elt("div", [found], "CodeMirror-gutter-elt", "left: " +
+ dims.gutterLeft[id] + "px; width: " + dims.gutterWidth[id] + "px"));
+ }
+ }
+ }
+
+ function updateLineWidgets(cm, lineView, dims) {
+ if (lineView.alignable) lineView.alignable = null;
+ for (var node = lineView.node.firstChild, next; node; node = next) {
+ var next = node.nextSibling;
+ if (node.className == "CodeMirror-linewidget")
+ lineView.node.removeChild(node);
+ }
+ insertLineWidgets(cm, lineView, dims);
+ }
+
+ // Build a line's DOM representation from scratch
+ function buildLineElement(cm, lineView, lineN, dims) {
+ var built = getLineContent(cm, lineView);
+ lineView.text = lineView.node = built.pre;
+ if (built.bgClass) lineView.bgClass = built.bgClass;
+ if (built.textClass) lineView.textClass = built.textClass;
+
+ updateLineClasses(lineView);
+ updateLineGutter(cm, lineView, lineN, dims);
+ insertLineWidgets(cm, lineView, dims);
+ return lineView.node;
+ }
+
+ // A lineView may contain multiple logical lines (when merged by
+ // collapsed spans). The widgets for all of them need to be drawn.
+ function insertLineWidgets(cm, lineView, dims) {
+ insertLineWidgetsFor(cm, lineView.line, lineView, dims, true);
+ if (lineView.rest) for (var i = 0; i < lineView.rest.length; i++)
+ insertLineWidgetsFor(cm, lineView.rest[i], lineView, dims, false);
+ }
+
+ function insertLineWidgetsFor(cm, line, lineView, dims, allowAbove) {
+ if (!line.widgets) return;
+ var wrap = ensureLineWrapped(lineView);
+ for (var i = 0, ws = line.widgets; i < ws.length; ++i) {
+ var widget = ws[i], node = elt("div", [widget.node], "CodeMirror-linewidget");
+ if (!widget.handleMouseEvents) node.setAttribute("cm-ignore-events", "true");
+ positionLineWidget(widget, node, lineView, dims);
+ cm.display.input.setUneditable(node);
+ if (allowAbove && widget.above)
+ wrap.insertBefore(node, lineView.gutter || lineView.text);
+ else
+ wrap.appendChild(node);
+ signalLater(widget, "redraw");
+ }
+ }
+
+ function positionLineWidget(widget, node, lineView, dims) {
+ if (widget.noHScroll) {
+ (lineView.alignable || (lineView.alignable = [])).push(node);
+ var width = dims.wrapperWidth;
+ node.style.left = dims.fixedPos + "px";
+ if (!widget.coverGutter) {
+ width -= dims.gutterTotalWidth;
+ node.style.paddingLeft = dims.gutterTotalWidth + "px";
+ }
+ node.style.width = width + "px";
+ }
+ if (widget.coverGutter) {
+ node.style.zIndex = 5;
+ node.style.position = "relative";
+ if (!widget.noHScroll) node.style.marginLeft = -dims.gutterTotalWidth + "px";
+ }
+ }
+
+ // POSITION OBJECT
+
+ // A Pos instance represents a position within the text.
+ var Pos = CodeMirror.Pos = function(line, ch) {
+ if (!(this instanceof Pos)) return new Pos(line, ch);
+ this.line = line; this.ch = ch;
+ };
+
+ // Compare two positions, return 0 if they are the same, a negative
+ // number when a is less, and a positive number otherwise.
+ var cmp = CodeMirror.cmpPos = function(a, b) { return a.line - b.line || a.ch - b.ch; };
+
+ function copyPos(x) {return Pos(x.line, x.ch);}
+ function maxPos(a, b) { return cmp(a, b) < 0 ? b : a; }
+ function minPos(a, b) { return cmp(a, b) < 0 ? a : b; }
+
+ // INPUT HANDLING
+
+ function ensureFocus(cm) {
+ if (!cm.state.focused) { cm.display.input.focus(); onFocus(cm); }
+ }
+
+ function isReadOnly(cm) {
+ return cm.options.readOnly || cm.doc.cantEdit;
+ }
+
+ // This will be set to an array of strings when copying, so that,
+ // when pasting, we know what kind of selections the copied text
+ // was made out of.
+ var lastCopied = null;
+
+ function applyTextInput(cm, inserted, deleted, sel, origin) {
+ var doc = cm.doc;
+ cm.display.shift = false;
+ if (!sel) sel = doc.sel;
+
+ var textLines = splitLines(inserted), multiPaste = null;
+ // When pasing N lines into N selections, insert one line per selection
+ if (cm.state.pasteIncoming && sel.ranges.length > 1) {
+ if (lastCopied && lastCopied.join("\n") == inserted)
+ multiPaste = sel.ranges.length % lastCopied.length == 0 && map(lastCopied, splitLines);
+ else if (textLines.length == sel.ranges.length)
+ multiPaste = map(textLines, function(l) { return [l]; });
+ }
+
+ // Normal behavior is to insert the new text into every selection
+ for (var i = sel.ranges.length - 1; i >= 0; i--) {
+ var range = sel.ranges[i];
+ var from = range.from(), to = range.to();
+ if (range.empty()) {
+ if (deleted && deleted > 0) // Handle deletion
+ from = Pos(from.line, from.ch - deleted);
+ else if (cm.state.overwrite && !cm.state.pasteIncoming) // Handle overwrite
+ to = Pos(to.line, Math.min(getLine(doc, to.line).text.length, to.ch + lst(textLines).length));
+ }
+ var updateInput = cm.curOp.updateInput;
+ var changeEvent = {from: from, to: to, text: multiPaste ? multiPaste[i % multiPaste.length] : textLines,
+ origin: origin || (cm.state.pasteIncoming ? "paste" : cm.state.cutIncoming ? "cut" : "+input")};
+ makeChange(cm.doc, changeEvent);
+ signalLater(cm, "inputRead", cm, changeEvent);
+ // When an 'electric' character is inserted, immediately trigger a reindent
+ if (inserted && !cm.state.pasteIncoming && cm.options.electricChars &&
+ cm.options.smartIndent && range.head.ch < 100 &&
+ (!i || sel.ranges[i - 1].head.line != range.head.line)) {
+ var mode = cm.getModeAt(range.head);
+ var end = changeEnd(changeEvent);
+ var indented = false;
+ if (mode.electricChars) {
+ for (var j = 0; j < mode.electricChars.length; j++)
+ if (inserted.indexOf(mode.electricChars.charAt(j)) > -1) {
+ indented = indentLine(cm, end.line, "smart");
+ break;
+ }
+ } else if (mode.electricInput) {
+ if (mode.electricInput.test(getLine(doc, end.line).text.slice(0, end.ch)))
+ indented = indentLine(cm, end.line, "smart");
+ }
+ if (indented) signalLater(cm, "electricInput", cm, end.line);
+ }
+ }
+ ensureCursorVisible(cm);
+ cm.curOp.updateInput = updateInput;
+ cm.curOp.typing = true;
+ cm.state.pasteIncoming = cm.state.cutIncoming = false;
+ }
+
+ function copyableRanges(cm) {
+ var text = [], ranges = [];
+ for (var i = 0; i < cm.doc.sel.ranges.length; i++) {
+ var line = cm.doc.sel.ranges[i].head.line;
+ var lineRange = {anchor: Pos(line, 0), head: Pos(line + 1, 0)};
+ ranges.push(lineRange);
+ text.push(cm.getRange(lineRange.anchor, lineRange.head));
+ }
+ return {text: text, ranges: ranges};
+ }
+
+ function disableBrowserMagic(field) {
+ field.setAttribute("autocorrect", "off");
+ field.setAttribute("autocapitalize", "off");
+ field.setAttribute("spellcheck", "false");
+ }
+
+ // TEXTAREA INPUT STYLE
+
+ function TextareaInput(cm) {
+ this.cm = cm;
+ // See input.poll and input.reset
+ this.prevInput = "";
+
+ // Flag that indicates whether we expect input to appear real soon
+ // now (after some event like 'keypress' or 'input') and are
+ // polling intensively.
+ this.pollingFast = false;
+ // Self-resetting timeout for the poller
+ this.polling = new Delayed();
+ // Tracks when input.reset has punted to just putting a short
+ // string into the textarea instead of the full selection.
+ this.inaccurateSelection = false;
+ // Used to work around IE issue with selection being forgotten when focus moves away from textarea
+ this.hasSelection = false;
+ this.composing = null;
+ };
+
+ function hiddenTextarea() {
+ var te = elt("textarea", null, null, "position: absolute; padding: 0; width: 1px; height: 1em; outline: none");
+ var div = elt("div", [te], null, "overflow: hidden; position: relative; width: 3px; height: 0px;");
+ // The textarea is kept positioned near the cursor to prevent the
+ // fact that it'll be scrolled into view on input from scrolling
+ // our fake cursor out of view. On webkit, when wrap=off, paste is
+ // very slow. So make the area wide instead.
+ if (webkit) te.style.width = "1000px";
+ else te.setAttribute("wrap", "off");
+ // If border: 0; -- iOS fails to open keyboard (issue #1287)
+ if (ios) te.style.border = "1px solid black";
+ disableBrowserMagic(te);
+ return div;
+ }
+
+ TextareaInput.prototype = copyObj({
+ init: function(display) {
+ var input = this, cm = this.cm;
+
+ // Wraps and hides input textarea
+ var div = this.wrapper = hiddenTextarea();
+ // The semihidden textarea that is focused when the editor is
+ // focused, and receives input.
+ var te = this.textarea = div.firstChild;
+ display.wrapper.insertBefore(div, display.wrapper.firstChild);
+
+ // Needed to hide big blue blinking cursor on Mobile Safari (doesn't seem to work in iOS 8 anymore)
+ if (ios) te.style.width = "0px";
+
+ on(te, "input", function() {
+ if (ie && ie_version >= 9 && input.hasSelection) input.hasSelection = null;
+ input.poll();
+ });
+
+ on(te, "paste", function() {
+ // Workaround for webkit bug https://bugs.webkit.org/show_bug.cgi?id=90206
+ // Add a char to the end of textarea before paste occur so that
+ // selection doesn't span to the end of textarea.
+ if (webkit && !cm.state.fakedLastChar && !(new Date - cm.state.lastMiddleDown < 200)) {
+ var start = te.selectionStart, end = te.selectionEnd;
+ te.value += "$";
+ // The selection end needs to be set before the start, otherwise there
+ // can be an intermediate non-empty selection between the two, which
+ // can override the middle-click paste buffer on linux and cause the
+ // wrong thing to get pasted.
+ te.selectionEnd = end;
+ te.selectionStart = start;
+ cm.state.fakedLastChar = true;
+ }
+ cm.state.pasteIncoming = true;
+ input.fastPoll();
+ });
+
+ function prepareCopyCut(e) {
+ if (cm.somethingSelected()) {
+ lastCopied = cm.getSelections();
+ if (input.inaccurateSelection) {
+ input.prevInput = "";
+ input.inaccurateSelection = false;
+ te.value = lastCopied.join("\n");
+ selectInput(te);
+ }
+ } else if (!cm.options.lineWiseCopyCut) {
+ return;
+ } else {
+ var ranges = copyableRanges(cm);
+ lastCopied = ranges.text;
+ if (e.type == "cut") {
+ cm.setSelections(ranges.ranges, null, sel_dontScroll);
+ } else {
+ input.prevInput = "";
+ te.value = ranges.text.join("\n");
+ selectInput(te);
+ }
+ }
+ if (e.type == "cut") cm.state.cutIncoming = true;
+ }
+ on(te, "cut", prepareCopyCut);
+ on(te, "copy", prepareCopyCut);
+
+ on(display.scroller, "paste", function(e) {
+ if (eventInWidget(display, e)) return;
+ cm.state.pasteIncoming = true;
+ input.focus();
+ });
+
+ // Prevent normal selection in the editor (we handle our own)
+ on(display.lineSpace, "selectstart", function(e) {
+ if (!eventInWidget(display, e)) e_preventDefault(e);
+ });
+
+ on(te, "compositionstart", function() {
+ var start = cm.getCursor("from");
+ input.composing = {
+ start: start,
+ range: cm.markText(start, cm.getCursor("to"), {className: "CodeMirror-composing"})
+ };
+ });
+ on(te, "compositionend", function() {
+ if (input.composing) {
+ input.poll();
+ input.composing.range.clear();
+ input.composing = null;
+ }
+ });
+ },
+
+ prepareSelection: function() {
+ // Redraw the selection and/or cursor
+ var cm = this.cm, display = cm.display, doc = cm.doc;
+ var result = prepareSelection(cm);
+
+ // Move the hidden textarea near the cursor to prevent scrolling artifacts
+ if (cm.options.moveInputWithCursor) {
+ var headPos = cursorCoords(cm, doc.sel.primary().head, "div");
+ var wrapOff = display.wrapper.getBoundingClientRect(), lineOff = display.lineDiv.getBoundingClientRect();
+ result.teTop = Math.max(0, Math.min(display.wrapper.clientHeight - 10,
+ headPos.top + lineOff.top - wrapOff.top));
+ result.teLeft = Math.max(0, Math.min(display.wrapper.clientWidth - 10,
+ headPos.left + lineOff.left - wrapOff.left));
+ }
+
+ return result;
+ },
+
+ showSelection: function(drawn) {
+ var cm = this.cm, display = cm.display;
+ removeChildrenAndAdd(display.cursorDiv, drawn.cursors);
+ removeChildrenAndAdd(display.selectionDiv, drawn.selection);
+ if (drawn.teTop != null) {
+ this.wrapper.style.top = drawn.teTop + "px";
+ this.wrapper.style.left = drawn.teLeft + "px";
+ }
+ },
+
+ // Reset the input to correspond to the selection (or to be empty,
+ // when not typing and nothing is selected)
+ reset: function(typing) {
+ if (this.contextMenuPending) return;
+ var minimal, selected, cm = this.cm, doc = cm.doc;
+ if (cm.somethingSelected()) {
+ this.prevInput = "";
+ var range = doc.sel.primary();
+ minimal = hasCopyEvent &&
+ (range.to().line - range.from().line > 100 || (selected = cm.getSelection()).length > 1000);
+ var content = minimal ? "-" : selected || cm.getSelection();
+ this.textarea.value = content;
+ if (cm.state.focused) selectInput(this.textarea);
+ if (ie && ie_version >= 9) this.hasSelection = content;
+ } else if (!typing) {
+ this.prevInput = this.textarea.value = "";
+ if (ie && ie_version >= 9) this.hasSelection = null;
+ }
+ this.inaccurateSelection = minimal;
+ },
+
+ getField: function() { return this.textarea; },
+
+ supportsTouch: function() { return false; },
+
+ focus: function() {
+ if (this.cm.options.readOnly != "nocursor" && (!mobile || activeElt() != this.textarea)) {
+ try { this.textarea.focus(); }
+ catch (e) {} // IE8 will throw if the textarea is display: none or not in DOM
+ }
+ },
+
+ blur: function() { this.textarea.blur(); },
+
+ resetPosition: function() {
+ this.wrapper.style.top = this.wrapper.style.left = 0;
+ },
+
+ receivedFocus: function() { this.slowPoll(); },
+
+ // Poll for input changes, using the normal rate of polling. This
+ // runs as long as the editor is focused.
+ slowPoll: function() {
+ var input = this;
+ if (input.pollingFast) return;
+ input.polling.set(this.cm.options.pollInterval, function() {
+ input.poll();
+ if (input.cm.state.focused) input.slowPoll();
+ });
+ },
+
+ // When an event has just come in that is likely to add or change
+ // something in the input textarea, we poll faster, to ensure that
+ // the change appears on the screen quickly.
+ fastPoll: function() {
+ var missed = false, input = this;
+ input.pollingFast = true;
+ function p() {
+ var changed = input.poll();
+ if (!changed && !missed) {missed = true; input.polling.set(60, p);}
+ else {input.pollingFast = false; input.slowPoll();}
+ }
+ input.polling.set(20, p);
+ },
+
+ // Read input from the textarea, and update the document to match.
+ // When something is selected, it is present in the textarea, and
+ // selected (unless it is huge, in which case a placeholder is
+ // used). When nothing is selected, the cursor sits after previously
+ // seen text (can be empty), which is stored in prevInput (we must
+ // not reset the textarea when typing, because that breaks IME).
+ poll: function() {
+ var cm = this.cm, input = this.textarea, prevInput = this.prevInput;
+ // Since this is called a *lot*, try to bail out as cheaply as
+ // possible when it is clear that nothing happened. hasSelection
+ // will be the case when there is a lot of text in the textarea,
+ // in which case reading its value would be expensive.
+ if (!cm.state.focused || (hasSelection(input) && !prevInput) ||
+ isReadOnly(cm) || cm.options.disableInput || cm.state.keySeq)
+ return false;
+ // See paste handler for more on the fakedLastChar kludge
+ if (cm.state.pasteIncoming && cm.state.fakedLastChar) {
+ input.value = input.value.substring(0, input.value.length - 1);
+ cm.state.fakedLastChar = false;
+ }
+ var text = input.value;
+ // If nothing changed, bail.
+ if (text == prevInput && !cm.somethingSelected()) return false;
+ // Work around nonsensical selection resetting in IE9/10, and
+ // inexplicable appearance of private area unicode characters on
+ // some key combos in Mac (#2689).
+ if (ie && ie_version >= 9 && this.hasSelection === text ||
+ mac && /[\uf700-\uf7ff]/.test(text)) {
+ cm.display.input.reset();
+ return false;
+ }
+
+ if (cm.doc.sel == cm.display.selForContextMenu) {
+ var first = text.charCodeAt(0);
+ if (first == 0x200b && !prevInput) prevInput = "\u200b";
+ if (first == 0x21da) { this.reset(); return this.cm.execCommand("undo"); }
+ }
+ // Find the part of the input that is actually new
+ var same = 0, l = Math.min(prevInput.length, text.length);
+ while (same < l && prevInput.charCodeAt(same) == text.charCodeAt(same)) ++same;
+
+ var self = this;
+ runInOp(cm, function() {
+ applyTextInput(cm, text.slice(same), prevInput.length - same,
+ null, self.composing ? "*compose" : null);
+
+ // Don't leave long text in the textarea, since it makes further polling slow
+ if (text.length > 1000 || text.indexOf("\n") > -1) input.value = self.prevInput = "";
+ else self.prevInput = text;
+
+ if (self.composing) {
+ self.composing.range.clear();
+ self.composing.range = cm.markText(self.composing.start, cm.getCursor("to"),
+ {className: "CodeMirror-composing"});
+ }
+ });
+ return true;
+ },
+
+ ensurePolled: function() {
+ if (this.pollingFast && this.poll()) this.pollingFast = false;
+ },
+
+ onKeyPress: function() {
+ if (ie && ie_version >= 9) this.hasSelection = null;
+ this.fastPoll();
+ },
+
+ onContextMenu: function(e) {
+ var input = this, cm = input.cm, display = cm.display, te = input.textarea;
+ var pos = posFromMouse(cm, e), scrollPos = display.scroller.scrollTop;
+ if (!pos || presto) return; // Opera is difficult.
+
+ // Reset the current text selection only if the click is done outside of the selection
+ // and 'resetSelectionOnContextMenu' option is true.
+ var reset = cm.options.resetSelectionOnContextMenu;
+ if (reset && cm.doc.sel.contains(pos) == -1)
+ operation(cm, setSelection)(cm.doc, simpleSelection(pos), sel_dontScroll);
+
+ var oldCSS = te.style.cssText;
+ input.wrapper.style.position = "absolute";
+ te.style.cssText = "position: fixed; width: 30px; height: 30px; top: " + (e.clientY - 5) +
+ "px; left: " + (e.clientX - 5) + "px; z-index: 1000; background: " +
+ (ie ? "rgba(255, 255, 255, .05)" : "transparent") +
+ "; outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);";
+ if (webkit) var oldScrollY = window.scrollY; // Work around Chrome issue (#2712)
+ display.input.focus();
+ if (webkit) window.scrollTo(null, oldScrollY);
+ display.input.reset();
+ // Adds "Select all" to context menu in FF
+ if (!cm.somethingSelected()) te.value = input.prevInput = " ";
+ input.contextMenuPending = true;
+ display.selForContextMenu = cm.doc.sel;
+ clearTimeout(display.detectingSelectAll);
+
+ // Select-all will be greyed out if there's nothing to select, so
+ // this adds a zero-width space so that we can later check whether
+ // it got selected.
+ function prepareSelectAllHack() {
+ if (te.selectionStart != null) {
+ var selected = cm.somethingSelected();
+ var extval = "\u200b" + (selected ? te.value : "");
+ te.value = "\u21da"; // Used to catch context-menu undo
+ te.value = extval;
+ input.prevInput = selected ? "" : "\u200b";
+ te.selectionStart = 1; te.selectionEnd = extval.length;
+ // Re-set this, in case some other handler touched the
+ // selection in the meantime.
+ display.selForContextMenu = cm.doc.sel;
+ }
+ }
+ function rehide() {
+ input.contextMenuPending = false;
+ input.wrapper.style.position = "relative";
+ te.style.cssText = oldCSS;
+ if (ie && ie_version < 9) display.scrollbars.setScrollTop(display.scroller.scrollTop = scrollPos);
+
+ // Try to detect the user choosing select-all
+ if (te.selectionStart != null) {
+ if (!ie || (ie && ie_version < 9)) prepareSelectAllHack();
+ var i = 0, poll = function() {
+ if (display.selForContextMenu == cm.doc.sel && te.selectionStart == 0 &&
+ te.selectionEnd > 0 && input.prevInput == "\u200b")
+ operation(cm, commands.selectAll)(cm);
+ else if (i++ < 10) display.detectingSelectAll = setTimeout(poll, 500);
+ else display.input.reset();
+ };
+ display.detectingSelectAll = setTimeout(poll, 200);
+ }
+ }
+
+ if (ie && ie_version >= 9) prepareSelectAllHack();
+ if (captureRightClick) {
+ e_stop(e);
+ var mouseup = function() {
+ off(window, "mouseup", mouseup);
+ setTimeout(rehide, 20);
+ };
+ on(window, "mouseup", mouseup);
+ } else {
+ setTimeout(rehide, 50);
+ }
+ },
+
+ setUneditable: nothing,
+
+ needsContentAttribute: false
+ }, TextareaInput.prototype);
+
+ // CONTENTEDITABLE INPUT STYLE
+
+ function ContentEditableInput(cm) {
+ this.cm = cm;
+ this.lastAnchorNode = this.lastAnchorOffset = this.lastFocusNode = this.lastFocusOffset = null;
+ this.polling = new Delayed();
+ this.gracePeriod = false;
+ }
+
+ ContentEditableInput.prototype = copyObj({
+ init: function(display) {
+ var input = this, cm = input.cm;
+ var div = input.div = display.lineDiv;
+ div.contentEditable = "true";
+ disableBrowserMagic(div);
+
+ on(div, "paste", function(e) {
+ var pasted = e.clipboardData && e.clipboardData.getData("text/plain");
+ if (pasted) {
+ e.preventDefault();
+ cm.replaceSelection(pasted, null, "paste");
+ }
+ });
+
+ on(div, "compositionstart", function(e) {
+ var data = e.data;
+ input.composing = {sel: cm.doc.sel, data: data, startData: data};
+ if (!data) return;
+ var prim = cm.doc.sel.primary();
+ var line = cm.getLine(prim.head.line);
+ var found = line.indexOf(data, Math.max(0, prim.head.ch - data.length));
+ if (found > -1 && found <= prim.head.ch)
+ input.composing.sel = simpleSelection(Pos(prim.head.line, found),
+ Pos(prim.head.line, found + data.length));
+ });
+ on(div, "compositionupdate", function(e) {
+ input.composing.data = e.data;
+ });
+ on(div, "compositionend", function(e) {
+ var ours = input.composing;
+ if (!ours) return;
+ if (e.data != ours.startData && !/\u200b/.test(e.data))
+ ours.data = e.data;
+ // Need a small delay to prevent other code (input event,
+ // selection polling) from doing damage when fired right after
+ // compositionend.
+ setTimeout(function() {
+ if (!ours.handled)
+ input.applyComposition(ours);
+ if (input.composing == ours)
+ input.composing = null;
+ }, 50);
+ });
+
+ on(div, "touchstart", function() {
+ input.forceCompositionEnd();
+ });
+
+ on(div, "input", function() {
+ if (input.composing) return;
+ if (!input.pollContent())
+ runInOp(input.cm, function() {regChange(cm);});
+ });
+
+ function onCopyCut(e) {
+ if (cm.somethingSelected()) {
+ lastCopied = cm.getSelections();
+ if (e.type == "cut") cm.replaceSelection("", null, "cut");
+ } else if (!cm.options.lineWiseCopyCut) {
+ return;
+ } else {
+ var ranges = copyableRanges(cm);
+ lastCopied = ranges.text;
+ if (e.type == "cut") {
+ cm.operation(function() {
+ cm.setSelections(ranges.ranges, 0, sel_dontScroll);
+ cm.replaceSelection("", null, "cut");
+ });
+ }
+ }
+ // iOS exposes the clipboard API, but seems to discard content inserted into it
+ if (e.clipboardData && !ios) {
+ e.preventDefault();
+ e.clipboardData.clearData();
+ e.clipboardData.setData("text/plain", lastCopied.join("\n"));
+ } else {
+ // Old-fashioned briefly-focus-a-textarea hack
+ var kludge = hiddenTextarea(), te = kludge.firstChild;
+ cm.display.lineSpace.insertBefore(kludge, cm.display.lineSpace.firstChild);
+ te.value = lastCopied.join("\n");
+ var hadFocus = document.activeElement;
+ selectInput(te);
+ setTimeout(function() {
+ cm.display.lineSpace.removeChild(kludge);
+ hadFocus.focus();
+ }, 50);
+ }
+ }
+ on(div, "copy", onCopyCut);
+ on(div, "cut", onCopyCut);
+ },
+
+ prepareSelection: function() {
+ var result = prepareSelection(this.cm, false);
+ result.focus = this.cm.state.focused;
+ return result;
+ },
+
+ showSelection: function(info) {
+ if (!info || !this.cm.display.view.length) return;
+ if (info.focus) this.showPrimarySelection();
+ this.showMultipleSelections(info);
+ },
+
+ showPrimarySelection: function() {
+ var sel = window.getSelection(), prim = this.cm.doc.sel.primary();
+ var curAnchor = domToPos(this.cm, sel.anchorNode, sel.anchorOffset);
+ var curFocus = domToPos(this.cm, sel.focusNode, sel.focusOffset);
+ if (curAnchor && !curAnchor.bad && curFocus && !curFocus.bad &&
+ cmp(minPos(curAnchor, curFocus), prim.from()) == 0 &&
+ cmp(maxPos(curAnchor, curFocus), prim.to()) == 0)
+ return;
+
+ var start = posToDOM(this.cm, prim.from());
+ var end = posToDOM(this.cm, prim.to());
+ if (!start && !end) return;
+
+ var view = this.cm.display.view;
+ var old = sel.rangeCount && sel.getRangeAt(0);
+ if (!start) {
+ start = {node: view[0].measure.map[2], offset: 0};
+ } else if (!end) { // FIXME dangerously hacky
+ var measure = view[view.length - 1].measure;
+ var map = measure.maps ? measure.maps[measure.maps.length - 1] : measure.map;
+ end = {node: map[map.length - 1], offset: map[map.length - 2] - map[map.length - 3]};
+ }
+
+ try { var rng = range(start.node, start.offset, end.offset, end.node); }
+ catch(e) {} // Our model of the DOM might be outdated, in which case the range we try to set can be impossible
+ if (rng) {
+ sel.removeAllRanges();
+ sel.addRange(rng);
+ if (old && sel.anchorNode == null) sel.addRange(old);
+ else if (gecko) this.startGracePeriod();
+ }
+ this.rememberSelection();
+ },
+
+ startGracePeriod: function() {
+ var input = this;
+ clearTimeout(this.gracePeriod);
+ this.gracePeriod = setTimeout(function() {
+ input.gracePeriod = false;
+ if (input.selectionChanged())
+ input.cm.operation(function() { input.cm.curOp.selectionChanged = true; });
+ }, 20);
+ },
+
+ showMultipleSelections: function(info) {
+ removeChildrenAndAdd(this.cm.display.cursorDiv, info.cursors);
+ removeChildrenAndAdd(this.cm.display.selectionDiv, info.selection);
+ },
+
+ rememberSelection: function() {
+ var sel = window.getSelection();
+ this.lastAnchorNode = sel.anchorNode; this.lastAnchorOffset = sel.anchorOffset;
+ this.lastFocusNode = sel.focusNode; this.lastFocusOffset = sel.focusOffset;
+ },
+
+ selectionInEditor: function() {
+ var sel = window.getSelection();
+ if (!sel.rangeCount) return false;
+ var node = sel.getRangeAt(0).commonAncestorContainer;
+ return contains(this.div, node);
+ },
+
+ focus: function() {
+ if (this.cm.options.readOnly != "nocursor") this.div.focus();
+ },
+ blur: function() { this.div.blur(); },
+ getField: function() { return this.div; },
+
+ supportsTouch: function() { return true; },
+
+ receivedFocus: function() {
+ var input = this;
+ if (this.selectionInEditor())
+ this.pollSelection();
+ else
+ runInOp(this.cm, function() { input.cm.curOp.selectionChanged = true; });
+
+ function poll() {
+ if (input.cm.state.focused) {
+ input.pollSelection();
+ input.polling.set(input.cm.options.pollInterval, poll);
+ }
+ }
+ this.polling.set(this.cm.options.pollInterval, poll);
+ },
+
+ selectionChanged: function() {
+ var sel = window.getSelection();
+ return sel.anchorNode != this.lastAnchorNode || sel.anchorOffset != this.lastAnchorOffset ||
+ sel.focusNode != this.lastFocusNode || sel.focusOffset != this.lastFocusOffset;
+ },
+
+ pollSelection: function() {
+ if (!this.composing && !this.gracePeriod && this.selectionChanged()) {
+ var sel = window.getSelection(), cm = this.cm;
+ this.rememberSelection();
+ var anchor = domToPos(cm, sel.anchorNode, sel.anchorOffset);
+ var head = domToPos(cm, sel.focusNode, sel.focusOffset);
+ if (anchor && head) runInOp(cm, function() {
+ setSelection(cm.doc, simpleSelection(anchor, head), sel_dontScroll);
+ if (anchor.bad || head.bad) cm.curOp.selectionChanged = true;
+ });
+ }
+ },
+
+ pollContent: function() {
+ var cm = this.cm, display = cm.display, sel = cm.doc.sel.primary();
+ var from = sel.from(), to = sel.to();
+ if (from.line < display.viewFrom || to.line > display.viewTo - 1) return false;
+
+ var fromIndex;
+ if (from.line == display.viewFrom || (fromIndex = findViewIndex(cm, from.line)) == 0) {
+ var fromLine = lineNo(display.view[0].line);
+ var fromNode = display.view[0].node;
+ } else {
+ var fromLine = lineNo(display.view[fromIndex].line);
+ var fromNode = display.view[fromIndex - 1].node.nextSibling;
+ }
+ var toIndex = findViewIndex(cm, to.line);
+ if (toIndex == display.view.length - 1) {
+ var toLine = display.viewTo - 1;
+ var toNode = display.view[toIndex].node;
+ } else {
+ var toLine = lineNo(display.view[toIndex + 1].line) - 1;
+ var toNode = display.view[toIndex + 1].node.previousSibling;
+ }
+
+ var newText = splitLines(domTextBetween(cm, fromNode, toNode, fromLine, toLine));
+ var oldText = getBetween(cm.doc, Pos(fromLine, 0), Pos(toLine, getLine(cm.doc, toLine).text.length));
+ while (newText.length > 1 && oldText.length > 1) {
+ if (lst(newText) == lst(oldText)) { newText.pop(); oldText.pop(); toLine--; }
+ else if (newText[0] == oldText[0]) { newText.shift(); oldText.shift(); fromLine++; }
+ else break;
+ }
+
+ var cutFront = 0, cutEnd = 0;
+ var newTop = newText[0], oldTop = oldText[0], maxCutFront = Math.min(newTop.length, oldTop.length);
+ while (cutFront < maxCutFront && newTop.charCodeAt(cutFront) == oldTop.charCodeAt(cutFront))
+ ++cutFront;
+ var newBot = lst(newText), oldBot = lst(oldText);
+ var maxCutEnd = Math.min(newBot.length - (newText.length == 1 ? cutFront : 0),
+ oldBot.length - (oldText.length == 1 ? cutFront : 0));
+ while (cutEnd < maxCutEnd &&
+ newBot.charCodeAt(newBot.length - cutEnd - 1) == oldBot.charCodeAt(oldBot.length - cutEnd - 1))
+ ++cutEnd;
+
+ newText[newText.length - 1] = newBot.slice(0, newBot.length - cutEnd);
+ newText[0] = newText[0].slice(cutFront);
+
+ var chFrom = Pos(fromLine, cutFront);
+ var chTo = Pos(toLine, oldText.length ? lst(oldText).length - cutEnd : 0);
+ if (newText.length > 1 || newText[0] || cmp(chFrom, chTo)) {
+ replaceRange(cm.doc, newText, chFrom, chTo, "+input");
+ return true;
+ }
+ },
+
+ ensurePolled: function() {
+ this.forceCompositionEnd();
+ },
+ reset: function() {
+ this.forceCompositionEnd();
+ },
+ forceCompositionEnd: function() {
+ if (!this.composing || this.composing.handled) return;
+ this.applyComposition(this.composing);
+ this.composing.handled = true;
+ this.div.blur();
+ this.div.focus();
+ },
+ applyComposition: function(composing) {
+ if (composing.data && composing.data != composing.startData)
+ operation(this.cm, applyTextInput)(this.cm, composing.data, 0, composing.sel);
+ },
+
+ setUneditable: function(node) {
+ node.setAttribute("contenteditable", "false");
+ },
+
+ onKeyPress: function(e) {
+ e.preventDefault();
+ operation(this.cm, applyTextInput)(this.cm, String.fromCharCode(e.charCode == null ? e.keyCode : e.charCode), 0);
+ },
+
+ onContextMenu: nothing,
+ resetPosition: nothing,
+
+ needsContentAttribute: true
+ }, ContentEditableInput.prototype);
+
+ function posToDOM(cm, pos) {
+ var view = findViewForLine(cm, pos.line);
+ if (!view || view.hidden) return null;
+ var line = getLine(cm.doc, pos.line);
+ var info = mapFromLineView(view, line, pos.line);
+
+ var order = getOrder(line), side = "left";
+ if (order) {
+ var partPos = getBidiPartAt(order, pos.ch);
+ side = partPos % 2 ? "right" : "left";
+ }
+ var result = nodeAndOffsetInLineMap(info.map, pos.ch, "left");
+ result.offset = result.collapse == "right" ? result.end : result.start;
+ return result;
+ }
+
+ function badPos(pos, bad) { if (bad) pos.bad = true; return pos; }
+
+ function domToPos(cm, node, offset) {
+ var lineNode;
+ if (node == cm.display.lineDiv) {
+ lineNode = cm.display.lineDiv.childNodes[offset];
+ if (!lineNode) return badPos(cm.clipPos(Pos(cm.display.viewTo - 1)), true);
+ node = null; offset = 0;
+ } else {
+ for (lineNode = node;; lineNode = lineNode.parentNode) {
+ if (!lineNode || lineNode == cm.display.lineDiv) return null;
+ if (lineNode.parentNode && lineNode.parentNode == cm.display.lineDiv) break;
+ }
+ }
+ for (var i = 0; i < cm.display.view.length; i++) {
+ var lineView = cm.display.view[i];
+ if (lineView.node == lineNode)
+ return locateNodeInLineView(lineView, node, offset);
+ }
+ }
+
+ function locateNodeInLineView(lineView, node, offset) {
+ var wrapper = lineView.text.firstChild, bad = false;
+ if (!node || !contains(wrapper, node)) return badPos(Pos(lineNo(lineView.line), 0), true);
+ if (node == wrapper) {
+ bad = true;
+ node = wrapper.childNodes[offset];
+ offset = 0;
+ if (!node) {
+ var line = lineView.rest ? lst(lineView.rest) : lineView.line;
+ return badPos(Pos(lineNo(line), line.text.length), bad);
+ }
+ }
+
+ var textNode = node.nodeType == 3 ? node : null, topNode = node;
+ if (!textNode && node.childNodes.length == 1 && node.firstChild.nodeType == 3) {
+ textNode = node.firstChild;
+ if (offset) offset = textNode.nodeValue.length;
+ }
+ while (topNode.parentNode != wrapper) topNode = topNode.parentNode;
+ var measure = lineView.measure, maps = measure.maps;
+
+ function find(textNode, topNode, offset) {
+ for (var i = -1; i < (maps ? maps.length : 0); i++) {
+ var map = i < 0 ? measure.map : maps[i];
+ for (var j = 0; j < map.length; j += 3) {
+ var curNode = map[j + 2];
+ if (curNode == textNode || curNode == topNode) {
+ var line = lineNo(i < 0 ? lineView.line : lineView.rest[i]);
+ var ch = map[j] + offset;
+ if (offset < 0 || curNode != textNode) ch = map[j + (offset ? 1 : 0)];
+ return Pos(line, ch);
+ }
+ }
+ }
+ }
+ var found = find(textNode, topNode, offset);
+ if (found) return badPos(found, bad);
+
+ // FIXME this is all really shaky. might handle the few cases it needs to handle, but likely to cause problems
+ for (var after = topNode.nextSibling, dist = textNode ? textNode.nodeValue.length - offset : 0; after; after = after.nextSibling) {
+ found = find(after, after.firstChild, 0);
+ if (found)
+ return badPos(Pos(found.line, found.ch - dist), bad);
+ else
+ dist += after.textContent.length;
+ }
+ for (var before = topNode.previousSibling, dist = offset; before; before = before.previousSibling) {
+ found = find(before, before.firstChild, -1);
+ if (found)
+ return badPos(Pos(found.line, found.ch + dist), bad);
+ else
+ dist += after.textContent.length;
+ }
+ }
+
+ function domTextBetween(cm, from, to, fromLine, toLine) {
+ var text = "", closing = false;
+ function recognizeMarker(id) { return function(marker) { return marker.id == id; }; }
+ function walk(node) {
+ if (node.nodeType == 1) {
+ var cmText = node.getAttribute("cm-text");
+ if (cmText != null) {
+ if (cmText == "") cmText = node.textContent.replace(/\u200b/g, "");
+ text += cmText;
+ return;
+ }
+ var markerID = node.getAttribute("cm-marker"), range;
+ if (markerID) {
+ var found = cm.findMarks(Pos(fromLine, 0), Pos(toLine + 1, 0), recognizeMarker(+markerID));
+ if (found.length && (range = found[0].find()))
+ text += getBetween(cm.doc, range.from, range.to).join("\n");
+ return;
+ }
+ if (node.getAttribute("contenteditable") == "false") return;
+ for (var i = 0; i < node.childNodes.length; i++)
+ walk(node.childNodes[i]);
+ if (/^(pre|div|p)$/i.test(node.nodeName))
+ closing = true;
+ } else if (node.nodeType == 3) {
+ var val = node.nodeValue;
+ if (!val) return;
+ if (closing) {
+ text += "\n";
+ closing = false;
+ }
+ text += val;
+ }
+ }
+ for (;;) {
+ walk(from);
+ if (from == to) break;
+ from = from.nextSibling;
+ }
+ return text;
+ }
+
+ CodeMirror.inputStyles = {"textarea": TextareaInput, "contenteditable": ContentEditableInput};
+
+ // SELECTION / CURSOR
+
+ // Selection objects are immutable. A new one is created every time
+ // the selection changes. A selection is one or more non-overlapping
+ // (and non-touching) ranges, sorted, and an integer that indicates
+ // which one is the primary selection (the one that's scrolled into
+ // view, that getCursor returns, etc).
+ function Selection(ranges, primIndex) {
+ this.ranges = ranges;
+ this.primIndex = primIndex;
+ }
+
+ Selection.prototype = {
+ primary: function() { return this.ranges[this.primIndex]; },
+ equals: function(other) {
+ if (other == this) return true;
+ if (other.primIndex != this.primIndex || other.ranges.length != this.ranges.length) return false;
+ for (var i = 0; i < this.ranges.length; i++) {
+ var here = this.ranges[i], there = other.ranges[i];
+ if (cmp(here.anchor, there.anchor) != 0 || cmp(here.head, there.head) != 0) return false;
+ }
+ return true;
+ },
+ deepCopy: function() {
+ for (var out = [], i = 0; i < this.ranges.length; i++)
+ out[i] = new Range(copyPos(this.ranges[i].anchor), copyPos(this.ranges[i].head));
+ return new Selection(out, this.primIndex);
+ },
+ somethingSelected: function() {
+ for (var i = 0; i < this.ranges.length; i++)
+ if (!this.ranges[i].empty()) return true;
+ return false;
+ },
+ contains: function(pos, end) {
+ if (!end) end = pos;
+ for (var i = 0; i < this.ranges.length; i++) {
+ var range = this.ranges[i];
+ if (cmp(end, range.from()) >= 0 && cmp(pos, range.to()) <= 0)
+ return i;
+ }
+ return -1;
+ }
+ };
+
+ function Range(anchor, head) {
+ this.anchor = anchor; this.head = head;
+ }
+
+ Range.prototype = {
+ from: function() { return minPos(this.anchor, this.head); },
+ to: function() { return maxPos(this.anchor, this.head); },
+ empty: function() {
+ return this.head.line == this.anchor.line && this.head.ch == this.anchor.ch;
+ }
+ };
+
+ // Take an unsorted, potentially overlapping set of ranges, and
+ // build a selection out of it. 'Consumes' ranges array (modifying
+ // it).
+ function normalizeSelection(ranges, primIndex) {
+ var prim = ranges[primIndex];
+ ranges.sort(function(a, b) { return cmp(a.from(), b.from()); });
+ primIndex = indexOf(ranges, prim);
+ for (var i = 1; i < ranges.length; i++) {
+ var cur = ranges[i], prev = ranges[i - 1];
+ if (cmp(prev.to(), cur.from()) >= 0) {
+ var from = minPos(prev.from(), cur.from()), to = maxPos(prev.to(), cur.to());
+ var inv = prev.empty() ? cur.from() == cur.head : prev.from() == prev.head;
+ if (i <= primIndex) --primIndex;
+ ranges.splice(--i, 2, new Range(inv ? to : from, inv ? from : to));
+ }
+ }
+ return new Selection(ranges, primIndex);
+ }
+
+ function simpleSelection(anchor, head) {
+ return new Selection([new Range(anchor, head || anchor)], 0);
+ }
+
+ // Most of the external API clips given positions to make sure they
+ // actually exist within the document.
+ function clipLine(doc, n) {return Math.max(doc.first, Math.min(n, doc.first + doc.size - 1));}
+ function clipPos(doc, pos) {
+ if (pos.line < doc.first) return Pos(doc.first, 0);
+ var last = doc.first + doc.size - 1;
+ if (pos.line > last) return Pos(last, getLine(doc, last).text.length);
+ return clipToLen(pos, getLine(doc, pos.line).text.length);
+ }
+ function clipToLen(pos, linelen) {
+ var ch = pos.ch;
+ if (ch == null || ch > linelen) return Pos(pos.line, linelen);
+ else if (ch < 0) return Pos(pos.line, 0);
+ else return pos;
+ }
+ function isLine(doc, l) {return l >= doc.first && l < doc.first + doc.size;}
+ function clipPosArray(doc, array) {
+ for (var out = [], i = 0; i < array.length; i++) out[i] = clipPos(doc, array[i]);
+ return out;
+ }
+
+ // SELECTION UPDATES
+
+ // The 'scroll' parameter given to many of these indicated whether
+ // the new cursor position should be scrolled into view after
+ // modifying the selection.
+
+ // If shift is held or the extend flag is set, extends a range to
+ // include a given position (and optionally a second position).
+ // Otherwise, simply returns the range between the given positions.
+ // Used for cursor motion and such.
+ function extendRange(doc, range, head, other) {
+ if (doc.cm && doc.cm.display.shift || doc.extend) {
+ var anchor = range.anchor;
+ if (other) {
+ var posBefore = cmp(head, anchor) < 0;
+ if (posBefore != (cmp(other, anchor) < 0)) {
+ anchor = head;
+ head = other;
+ } else if (posBefore != (cmp(head, other) < 0)) {
+ head = other;
+ }
+ }
+ return new Range(anchor, head);
+ } else {
+ return new Range(other || head, head);
+ }
+ }
+
+ // Extend the primary selection range, discard the rest.
+ function extendSelection(doc, head, other, options) {
+ setSelection(doc, new Selection([extendRange(doc, doc.sel.primary(), head, other)], 0), options);
+ }
+
+ // Extend all selections (pos is an array of selections with length
+ // equal the number of selections)
+ function extendSelections(doc, heads, options) {
+ for (var out = [], i = 0; i < doc.sel.ranges.length; i++)
+ out[i] = extendRange(doc, doc.sel.ranges[i], heads[i], null);
+ var newSel = normalizeSelection(out, doc.sel.primIndex);
+ setSelection(doc, newSel, options);
+ }
+
+ // Updates a single range in the selection.
+ function replaceOneSelection(doc, i, range, options) {
+ var ranges = doc.sel.ranges.slice(0);
+ ranges[i] = range;
+ setSelection(doc, normalizeSelection(ranges, doc.sel.primIndex), options);
+ }
+
+ // Reset the selection to a single range.
+ function setSimpleSelection(doc, anchor, head, options) {
+ setSelection(doc, simpleSelection(anchor, head), options);
+ }
+
+ // Give beforeSelectionChange handlers a change to influence a
+ // selection update.
+ function filterSelectionChange(doc, sel) {
+ var obj = {
+ ranges: sel.ranges,
+ update: function(ranges) {
+ this.ranges = [];
+ for (var i = 0; i < ranges.length; i++)
+ this.ranges[i] = new Range(clipPos(doc, ranges[i].anchor),
+ clipPos(doc, ranges[i].head));
+ }
+ };
+ signal(doc, "beforeSelectionChange", doc, obj);
+ if (doc.cm) signal(doc.cm, "beforeSelectionChange", doc.cm, obj);
+ if (obj.ranges != sel.ranges) return normalizeSelection(obj.ranges, obj.ranges.length - 1);
+ else return sel;
+ }
+
+ function setSelectionReplaceHistory(doc, sel, options) {
+ var done = doc.history.done, last = lst(done);
+ if (last && last.ranges) {
+ done[done.length - 1] = sel;
+ setSelectionNoUndo(doc, sel, options);
+ } else {
+ setSelection(doc, sel, options);
+ }
+ }
+
+ // Set a new selection.
+ function setSelection(doc, sel, options) {
+ setSelectionNoUndo(doc, sel, options);
+ addSelectionToHistory(doc, doc.sel, doc.cm ? doc.cm.curOp.id : NaN, options);
+ }
+
+ function setSelectionNoUndo(doc, sel, options) {
+ if (hasHandler(doc, "beforeSelectionChange") || doc.cm && hasHandler(doc.cm, "beforeSelectionChange"))
+ sel = filterSelectionChange(doc, sel);
+
+ var bias = options && options.bias ||
+ (cmp(sel.primary().head, doc.sel.primary().head) < 0 ? -1 : 1);
+ setSelectionInner(doc, skipAtomicInSelection(doc, sel, bias, true));
+
+ if (!(options && options.scroll === false) && doc.cm)
+ ensureCursorVisible(doc.cm);
+ }
+
+ function setSelectionInner(doc, sel) {
+ if (sel.equals(doc.sel)) return;
+
+ doc.sel = sel;
+
+ if (doc.cm) {
+ doc.cm.curOp.updateInput = doc.cm.curOp.selectionChanged = true;
+ signalCursorActivity(doc.cm);
+ }
+ signalLater(doc, "cursorActivity", doc);
+ }
+
+ // Verify that the selection does not partially select any atomic
+ // marked ranges.
+ function reCheckSelection(doc) {
+ setSelectionInner(doc, skipAtomicInSelection(doc, doc.sel, null, false), sel_dontScroll);
+ }
+
+ // Return a selection that does not partially select any atomic
+ // ranges.
+ function skipAtomicInSelection(doc, sel, bias, mayClear) {
+ var out;
+ for (var i = 0; i < sel.ranges.length; i++) {
+ var range = sel.ranges[i];
+ var newAnchor = skipAtomic(doc, range.anchor, bias, mayClear);
+ var newHead = skipAtomic(doc, range.head, bias, mayClear);
+ if (out || newAnchor != range.anchor || newHead != range.head) {
+ if (!out) out = sel.ranges.slice(0, i);
+ out[i] = new Range(newAnchor, newHead);
+ }
+ }
+ return out ? normalizeSelection(out, sel.primIndex) : sel;
+ }
+
+ // Ensure a given position is not inside an atomic range.
+ function skipAtomic(doc, pos, bias, mayClear) {
+ var flipped = false, curPos = pos;
+ var dir = bias || 1;
+ doc.cantEdit = false;
+ search: for (;;) {
+ var line = getLine(doc, curPos.line);
+ if (line.markedSpans) {
+ for (var i = 0; i < line.markedSpans.length; ++i) {
+ var sp = line.markedSpans[i], m = sp.marker;
+ if ((sp.from == null || (m.inclusiveLeft ? sp.from <= curPos.ch : sp.from < curPos.ch)) &&
+ (sp.to == null || (m.inclusiveRight ? sp.to >= curPos.ch : sp.to > curPos.ch))) {
+ if (mayClear) {
+ signal(m, "beforeCursorEnter");
+ if (m.explicitlyCleared) {
+ if (!line.markedSpans) break;
+ else {--i; continue;}
+ }
+ }
+ if (!m.atomic) continue;
+ var newPos = m.find(dir < 0 ? -1 : 1);
+ if (cmp(newPos, curPos) == 0) {
+ newPos.ch += dir;
+ if (newPos.ch < 0) {
+ if (newPos.line > doc.first) newPos = clipPos(doc, Pos(newPos.line - 1));
+ else newPos = null;
+ } else if (newPos.ch > line.text.length) {
+ if (newPos.line < doc.first + doc.size - 1) newPos = Pos(newPos.line + 1, 0);
+ else newPos = null;
+ }
+ if (!newPos) {
+ if (flipped) {
+ // Driven in a corner -- no valid cursor position found at all
+ // -- try again *with* clearing, if we didn't already
+ if (!mayClear) return skipAtomic(doc, pos, bias, true);
+ // Otherwise, turn off editing until further notice, and return the start of the doc
+ doc.cantEdit = true;
+ return Pos(doc.first, 0);
+ }
+ flipped = true; newPos = pos; dir = -dir;
+ }
+ }
+ curPos = newPos;
+ continue search;
+ }
+ }
+ }
+ return curPos;
+ }
+ }
+
+ // SELECTION DRAWING
+
+ function updateSelection(cm) {
+ cm.display.input.showSelection(cm.display.input.prepareSelection());
+ }
+
+ function prepareSelection(cm, primary) {
+ var doc = cm.doc, result = {};
+ var curFragment = result.cursors = document.createDocumentFragment();
+ var selFragment = result.selection = document.createDocumentFragment();
+
+ for (var i = 0; i < doc.sel.ranges.length; i++) {
+ if (primary === false && i == doc.sel.primIndex) continue;
+ var range = doc.sel.ranges[i];
+ var collapsed = range.empty();
+ if (collapsed || cm.options.showCursorWhenSelecting)
+ drawSelectionCursor(cm, range, curFragment);
+ if (!collapsed)
+ drawSelectionRange(cm, range, selFragment);
+ }
+ return result;
+ }
+
+ // Draws a cursor for the given range
+ function drawSelectionCursor(cm, range, output) {
+ var pos = cursorCoords(cm, range.head, "div", null, null, !cm.options.singleCursorHeightPerLine);
+
+ var cursor = output.appendChild(elt("div", "\u00a0", "CodeMirror-cursor"));
+ cursor.style.left = pos.left + "px";
+ cursor.style.top = pos.top + "px";
+ cursor.style.height = Math.max(0, pos.bottom - pos.top) * cm.options.cursorHeight + "px";
+
+ if (pos.other) {
+ // Secondary cursor, shown when on a 'jump' in bi-directional text
+ var otherCursor = output.appendChild(elt("div", "\u00a0", "CodeMirror-cursor CodeMirror-secondarycursor"));
+ otherCursor.style.display = "";
+ otherCursor.style.left = pos.other.left + "px";
+ otherCursor.style.top = pos.other.top + "px";
+ otherCursor.style.height = (pos.other.bottom - pos.other.top) * .85 + "px";
+ }
+
+ $('.other-cursor').each(function(key, value) {
+ var coord = cm.charCoords({line:$(value).attr('data-line'), ch:$(value).attr('data-ch')}, 'windows');
+ $(value)[0].style.left = coord.left + 'px';
+ $(value)[0].style.top = coord.top + 'px';
+ });
+ }
+
+ // Draws the given range as a highlighted selection
+ function drawSelectionRange(cm, range, output) {
+ var display = cm.display, doc = cm.doc;
+ var fragment = document.createDocumentFragment();
+ var padding = paddingH(cm.display), leftSide = padding.left;
+ var rightSide = Math.max(display.sizerWidth, displayWidth(cm) - display.sizer.offsetLeft) - padding.right;
+
+ function add(left, top, width, bottom) {
+ if (top < 0) top = 0;
+ top = Math.round(top);
+ bottom = Math.round(bottom);
+ fragment.appendChild(elt("div", null, "CodeMirror-selected", "position: absolute; left: " + left +
+ "px; top: " + top + "px; width: " + (width == null ? rightSide - left : width) +
+ "px; height: " + (bottom - top) + "px"));
+ }
+
+ function drawForLine(line, fromArg, toArg) {
+ var lineObj = getLine(doc, line);
+ var lineLen = lineObj.text.length;
+ var start, end;
+ function coords(ch, bias) {
+ return charCoords(cm, Pos(line, ch), "div", lineObj, bias);
+ }
+
+ iterateBidiSections(getOrder(lineObj), fromArg || 0, toArg == null ? lineLen : toArg, function(from, to, dir) {
+ var leftPos = coords(from, "left"), rightPos, left, right;
+ if (from == to) {
+ rightPos = leftPos;
+ left = right = leftPos.left;
+ } else {
+ rightPos = coords(to - 1, "right");
+ if (dir == "rtl") { var tmp = leftPos; leftPos = rightPos; rightPos = tmp; }
+ left = leftPos.left;
+ right = rightPos.right;
+ }
+ if (fromArg == null && from == 0) left = leftSide;
+ if (rightPos.top - leftPos.top > 3) { // Different lines, draw top part
+ add(left, leftPos.top, null, leftPos.bottom);
+ left = leftSide;
+ if (leftPos.bottom < rightPos.top) add(left, leftPos.bottom, null, rightPos.top);
+ }
+ if (toArg == null && to == lineLen) right = rightSide;
+ if (!start || leftPos.top < start.top || leftPos.top == start.top && leftPos.left < start.left)
+ start = leftPos;
+ if (!end || rightPos.bottom > end.bottom || rightPos.bottom == end.bottom && rightPos.right > end.right)
+ end = rightPos;
+ if (left < leftSide + 1) left = leftSide;
+ add(left, rightPos.top, right - left, rightPos.bottom);
+ });
+ return {start: start, end: end};
+ }
+
+ var sFrom = range.from(), sTo = range.to();
+ if (sFrom.line == sTo.line) {
+ drawForLine(sFrom.line, sFrom.ch, sTo.ch);
+ } else {
+ var fromLine = getLine(doc, sFrom.line), toLine = getLine(doc, sTo.line);
+ var singleVLine = visualLine(fromLine) == visualLine(toLine);
+ var leftEnd = drawForLine(sFrom.line, sFrom.ch, singleVLine ? fromLine.text.length + 1 : null).end;
+ var rightStart = drawForLine(sTo.line, singleVLine ? 0 : null, sTo.ch).start;
+ if (singleVLine) {
+ if (leftEnd.top < rightStart.top - 2) {
+ add(leftEnd.right, leftEnd.top, null, leftEnd.bottom);
+ add(leftSide, rightStart.top, rightStart.left, rightStart.bottom);
+ } else {
+ add(leftEnd.right, leftEnd.top, rightStart.left - leftEnd.right, leftEnd.bottom);
+ }
+ }
+ if (leftEnd.bottom < rightStart.top)
+ add(leftSide, leftEnd.bottom, null, rightStart.top);
+ }
+
+ output.appendChild(fragment);
+ }
+
+ // Cursor-blinking
+ function restartBlink(cm) {
+ if (!cm.state.focused) return;
+ var display = cm.display;
+ clearInterval(display.blinker);
+ var on = true;
+ display.cursorDiv.style.visibility = "";
+ if (cm.options.cursorBlinkRate > 0)
+ display.blinker = setInterval(function() {
+ display.cursorDiv.style.visibility = (on = !on) ? "" : "hidden";
+ }, cm.options.cursorBlinkRate);
+ else if (cm.options.cursorBlinkRate < 0)
+ display.cursorDiv.style.visibility = "hidden";
+ }
+
+ // HIGHLIGHT WORKER
+
+ function startWorker(cm, time) {
+ if (cm.doc.mode.startState && cm.doc.frontier < cm.display.viewTo)
+ cm.state.highlight.set(time, bind(highlightWorker, cm));
+ }
+
+ function highlightWorker(cm) {
+ var doc = cm.doc;
+ if (doc.frontier < doc.first) doc.frontier = doc.first;
+ if (doc.frontier >= cm.display.viewTo) return;
+ var end = +new Date + cm.options.workTime;
+ var state = copyState(doc.mode, getStateBefore(cm, doc.frontier));
+ var changedLines = [];
+
+ doc.iter(doc.frontier, Math.min(doc.first + doc.size, cm.display.viewTo + 500), function(line) {
+ if (doc.frontier >= cm.display.viewFrom) { // Visible
+ var oldStyles = line.styles;
+ var highlighted = highlightLine(cm, line, state, true);
+ line.styles = highlighted.styles;
+ var oldCls = line.styleClasses, newCls = highlighted.classes;
+ if (newCls) line.styleClasses = newCls;
+ else if (oldCls) line.styleClasses = null;
+ var ischange = !oldStyles || oldStyles.length != line.styles.length ||
+ oldCls != newCls && (!oldCls || !newCls || oldCls.bgClass != newCls.bgClass || oldCls.textClass != newCls.textClass);
+ for (var i = 0; !ischange && i < oldStyles.length; ++i) ischange = oldStyles[i] != line.styles[i];
+ if (ischange) changedLines.push(doc.frontier);
+ line.stateAfter = copyState(doc.mode, state);
+ } else {
+ processLine(cm, line.text, state);
+ line.stateAfter = doc.frontier % 5 == 0 ? copyState(doc.mode, state) : null;
+ }
+ ++doc.frontier;
+ if (+new Date > end) {
+ startWorker(cm, cm.options.workDelay);
+ return true;
+ }
+ });
+ if (changedLines.length) runInOp(cm, function() {
+ for (var i = 0; i < changedLines.length; i++)
+ regLineChange(cm, changedLines[i], "text");
+ });
+ }
+
+ // Finds the line to start with when starting a parse. Tries to
+ // find a line with a stateAfter, so that it can start with a
+ // valid state. If that fails, it returns the line with the
+ // smallest indentation, which tends to need the least context to
+ // parse correctly.
+ function findStartLine(cm, n, precise) {
+ var minindent, minline, doc = cm.doc;
+ var lim = precise ? -1 : n - (cm.doc.mode.innerMode ? 1000 : 100);
+ for (var search = n; search > lim; --search) {
+ if (search <= doc.first) return doc.first;
+ var line = getLine(doc, search - 1);
+ if (line.stateAfter && (!precise || search <= doc.frontier)) return search;
+ var indented = countColumn(line.text, null, cm.options.tabSize);
+ if (minline == null || minindent > indented) {
+ minline = search - 1;
+ minindent = indented;
+ }
+ }
+ return minline;
+ }
+
+ function getStateBefore(cm, n, precise) {
+ var doc = cm.doc, display = cm.display;
+ if (!doc.mode.startState) return true;
+ var pos = findStartLine(cm, n, precise), state = pos > doc.first && getLine(doc, pos-1).stateAfter;
+ if (!state) state = startState(doc.mode);
+ else state = copyState(doc.mode, state);
+ doc.iter(pos, n, function(line) {
+ processLine(cm, line.text, state);
+ var save = pos == n - 1 || pos % 5 == 0 || pos >= display.viewFrom && pos < display.viewTo;
+ line.stateAfter = save ? copyState(doc.mode, state) : null;
+ ++pos;
+ });
+ if (precise) doc.frontier = pos;
+ return state;
+ }
+
+ // POSITION MEASUREMENT
+
+ function paddingTop(display) {return display.lineSpace.offsetTop;}
+ function paddingVert(display) {return display.mover.offsetHeight - display.lineSpace.offsetHeight;}
+ function paddingH(display) {
+ if (display.cachedPaddingH) return display.cachedPaddingH;
+ var e = removeChildrenAndAdd(display.measure, elt("pre", "x"));
+ var style = window.getComputedStyle ? window.getComputedStyle(e) : e.currentStyle;
+ var data = {left: parseInt(style.paddingLeft), right: parseInt(style.paddingRight)};
+ if (!isNaN(data.left) && !isNaN(data.right)) display.cachedPaddingH = data;
+ return data;
+ }
+
+ function scrollGap(cm) { return scrollerGap - cm.display.nativeBarWidth; }
+ function displayWidth(cm) {
+ return cm.display.scroller.clientWidth - scrollGap(cm) - cm.display.barWidth;
+ }
+ function displayHeight(cm) {
+ return cm.display.scroller.clientHeight - scrollGap(cm) - cm.display.barHeight;
+ }
+
+ // Ensure the lineView.wrapping.heights array is populated. This is
+ // an array of bottom offsets for the lines that make up a drawn
+ // line. When lineWrapping is on, there might be more than one
+ // height.
+ function ensureLineHeights(cm, lineView, rect) {
+ var wrapping = cm.options.lineWrapping;
+ var curWidth = wrapping && displayWidth(cm);
+ if (!lineView.measure.heights || wrapping && lineView.measure.width != curWidth) {
+ var heights = lineView.measure.heights = [];
+ if (wrapping) {
+ lineView.measure.width = curWidth;
+ var rects = lineView.text.firstChild.getClientRects();
+ for (var i = 0; i < rects.length - 1; i++) {
+ var cur = rects[i], next = rects[i + 1];
+ if (Math.abs(cur.bottom - next.bottom) > 2)
+ heights.push((cur.bottom + next.top) / 2 - rect.top);
+ }
+ }
+ heights.push(rect.bottom - rect.top);
+ }
+ }
+
+ // Find a line map (mapping character offsets to text nodes) and a
+ // measurement cache for the given line number. (A line view might
+ // contain multiple lines when collapsed ranges are present.)
+ function mapFromLineView(lineView, line, lineN) {
+ if (lineView.line == line)
+ return {map: lineView.measure.map, cache: lineView.measure.cache};
+ for (var i = 0; i < lineView.rest.length; i++)
+ if (lineView.rest[i] == line)
+ return {map: lineView.measure.maps[i], cache: lineView.measure.caches[i]};
+ for (var i = 0; i < lineView.rest.length; i++)
+ if (lineNo(lineView.rest[i]) > lineN)
+ return {map: lineView.measure.maps[i], cache: lineView.measure.caches[i], before: true};
+ }
+
+ // Render a line into the hidden node display.externalMeasured. Used
+ // when measurement is needed for a line that's not in the viewport.
+ function updateExternalMeasurement(cm, line) {
+ line = visualLine(line);
+ var lineN = lineNo(line);
+ var view = cm.display.externalMeasured = new LineView(cm.doc, line, lineN);
+ view.lineN = lineN;
+ var built = view.built = buildLineContent(cm, view);
+ view.text = built.pre;
+ removeChildrenAndAdd(cm.display.lineMeasure, built.pre);
+ return view;
+ }
+
+ // Get a {top, bottom, left, right} box (in line-local coordinates)
+ // for a given character.
+ function measureChar(cm, line, ch, bias) {
+ return measureCharPrepared(cm, prepareMeasureForLine(cm, line), ch, bias);
+ }
+
+ // Find a line view that corresponds to the given line number.
+ function findViewForLine(cm, lineN) {
+ if (lineN >= cm.display.viewFrom && lineN < cm.display.viewTo)
+ return cm.display.view[findViewIndex(cm, lineN)];
+ var ext = cm.display.externalMeasured;
+ if (ext && lineN >= ext.lineN && lineN < ext.lineN + ext.size)
+ return ext;
+ }
+
+ // Measurement can be split in two steps, the set-up work that
+ // applies to the whole line, and the measurement of the actual
+ // character. Functions like coordsChar, that need to do a lot of
+ // measurements in a row, can thus ensure that the set-up work is
+ // only done once.
+ function prepareMeasureForLine(cm, line) {
+ var lineN = lineNo(line);
+ var view = findViewForLine(cm, lineN);
+ if (view && !view.text)
+ view = null;
+ else if (view && view.changes)
+ updateLineForChanges(cm, view, lineN, getDimensions(cm));
+ if (!view)
+ view = updateExternalMeasurement(cm, line);
+
+ var info = mapFromLineView(view, line, lineN);
+ return {
+ line: line, view: view, rect: null,
+ map: info.map, cache: info.cache, before: info.before,
+ hasHeights: false
+ };
+ }
+
+ // Given a prepared measurement object, measures the position of an
+ // actual character (or fetches it from the cache).
+ function measureCharPrepared(cm, prepared, ch, bias, varHeight) {
+ if (prepared.before) ch = -1;
+ var key = ch + (bias || ""), found;
+ if (prepared.cache.hasOwnProperty(key)) {
+ found = prepared.cache[key];
+ } else {
+ if (!prepared.rect)
+ prepared.rect = prepared.view.text.getBoundingClientRect();
+ if (!prepared.hasHeights) {
+ ensureLineHeights(cm, prepared.view, prepared.rect);
+ prepared.hasHeights = true;
+ }
+ found = measureCharInner(cm, prepared, ch, bias);
+ if (!found.bogus) prepared.cache[key] = found;
+ }
+ return {left: found.left, right: found.right,
+ top: varHeight ? found.rtop : found.top,
+ bottom: varHeight ? found.rbottom : found.bottom};
+ }
+
+ var nullRect = {left: 0, right: 0, top: 0, bottom: 0};
+
+ function nodeAndOffsetInLineMap(map, ch, bias) {
+ var node, start, end, collapse;
+ // First, search the line map for the text node corresponding to,
+ // or closest to, the target character.
+ for (var i = 0; i < map.length; i += 3) {
+ var mStart = map[i], mEnd = map[i + 1];
+ if (ch < mStart) {
+ start = 0; end = 1;
+ collapse = "left";
+ } else if (ch < mEnd) {
+ start = ch - mStart;
+ end = start + 1;
+ } else if (i == map.length - 3 || ch == mEnd && map[i + 3] > ch) {
+ end = mEnd - mStart;
+ start = end - 1;
+ if (ch >= mEnd) collapse = "right";
+ }
+ if (start != null) {
+ node = map[i + 2];
+ if (mStart == mEnd && bias == (node.insertLeft ? "left" : "right"))
+ collapse = bias;
+ if (bias == "left" && start == 0)
+ while (i && map[i - 2] == map[i - 3] && map[i - 1].insertLeft) {
+ node = map[(i -= 3) + 2];
+ collapse = "left";
+ }
+ if (bias == "right" && start == mEnd - mStart)
+ while (i < map.length - 3 && map[i + 3] == map[i + 4] && !map[i + 5].insertLeft) {
+ node = map[(i += 3) + 2];
+ collapse = "right";
+ }
+ break;
+ }
+ }
+ return {node: node, start: start, end: end, collapse: collapse, coverStart: mStart, coverEnd: mEnd};
+ }
+
+ function measureCharInner(cm, prepared, ch, bias) {
+ var place = nodeAndOffsetInLineMap(prepared.map, ch, bias);
+ var node = place.node, start = place.start, end = place.end, collapse = place.collapse;
+
+ var rect;
+ if (node.nodeType == 3) { // If it is a text node, use a range to retrieve the coordinates.
+ for (var i = 0; i < 4; i++) { // Retry a maximum of 4 times when nonsense rectangles are returned
+ while (start && isExtendingChar(prepared.line.text.charAt(place.coverStart + start))) --start;
+ while (place.coverStart + end < place.coverEnd && isExtendingChar(prepared.line.text.charAt(place.coverStart + end))) ++end;
+ if (ie && ie_version < 9 && start == 0 && end == place.coverEnd - place.coverStart) {
+ rect = node.parentNode.getBoundingClientRect();
+ } else if (ie && cm.options.lineWrapping) {
+ var rects = range(node, start, end).getClientRects();
+ if (rects.length)
+ rect = rects[bias == "right" ? rects.length - 1 : 0];
+ else
+ rect = nullRect;
+ } else {
+ rect = range(node, start, end).getBoundingClientRect() || nullRect;
+ }
+ if (rect.left || rect.right || start == 0) break;
+ end = start;
+ start = start - 1;
+ collapse = "right";
+ }
+ if (ie && ie_version < 11) rect = maybeUpdateRectForZooming(cm.display.measure, rect);
+ } else { // If it is a widget, simply get the box for the whole widget.
+ if (start > 0) collapse = bias = "right";
+ var rects;
+ if (cm.options.lineWrapping && (rects = node.getClientRects()).length > 1)
+ rect = rects[bias == "right" ? rects.length - 1 : 0];
+ else
+ rect = node.getBoundingClientRect();
+ }
+ if (ie && ie_version < 9 && !start && (!rect || !rect.left && !rect.right)) {
+ var rSpan = node.parentNode.getClientRects()[0];
+ if (rSpan)
+ rect = {left: rSpan.left, right: rSpan.left + charWidth(cm.display), top: rSpan.top, bottom: rSpan.bottom};
+ else
+ rect = nullRect;
+ }
+
+ var rtop = rect.top - prepared.rect.top, rbot = rect.bottom - prepared.rect.top;
+ var mid = (rtop + rbot) / 2;
+ var heights = prepared.view.measure.heights;
+ for (var i = 0; i < heights.length - 1; i++)
+ if (mid < heights[i]) break;
+ var top = i ? heights[i - 1] : 0, bot = heights[i];
+ var result = {left: (collapse == "right" ? rect.right : rect.left) - prepared.rect.left,
+ right: (collapse == "left" ? rect.left : rect.right) - prepared.rect.left,
+ top: top, bottom: bot};
+ if (!rect.left && !rect.right) result.bogus = true;
+ if (!cm.options.singleCursorHeightPerLine) { result.rtop = rtop; result.rbottom = rbot; }
+
+ return result;
+ }
+
+ // Work around problem with bounding client rects on ranges being
+ // returned incorrectly when zoomed on IE10 and below.
+ function maybeUpdateRectForZooming(measure, rect) {
+ if (!window.screen || screen.logicalXDPI == null ||
+ screen.logicalXDPI == screen.deviceXDPI || !hasBadZoomedRects(measure))
+ return rect;
+ var scaleX = screen.logicalXDPI / screen.deviceXDPI;
+ var scaleY = screen.logicalYDPI / screen.deviceYDPI;
+ return {left: rect.left * scaleX, right: rect.right * scaleX,
+ top: rect.top * scaleY, bottom: rect.bottom * scaleY};
+ }
+
+ function clearLineMeasurementCacheFor(lineView) {
+ if (lineView.measure) {
+ lineView.measure.cache = {};
+ lineView.measure.heights = null;
+ if (lineView.rest) for (var i = 0; i < lineView.rest.length; i++)
+ lineView.measure.caches[i] = {};
+ }
+ }
+
+ function clearLineMeasurementCache(cm) {
+ cm.display.externalMeasure = null;
+ removeChildren(cm.display.lineMeasure);
+ for (var i = 0; i < cm.display.view.length; i++)
+ clearLineMeasurementCacheFor(cm.display.view[i]);
+ }
+
+ function clearCaches(cm) {
+ clearLineMeasurementCache(cm);
+ cm.display.cachedCharWidth = cm.display.cachedTextHeight = cm.display.cachedPaddingH = null;
+ if (!cm.options.lineWrapping) cm.display.maxLineChanged = true;
+ cm.display.lineNumChars = null;
+ }
+
+ function pageScrollX() { return window.pageXOffset || (document.documentElement || document.body).scrollLeft; }
+ function pageScrollY() { return window.pageYOffset || (document.documentElement || document.body).scrollTop; }
+
+ // Converts a {top, bottom, left, right} box from line-local
+ // coordinates into another coordinate system. Context may be one of
+ // "line", "div" (display.lineDiv), "local"/null (editor), "window",
+ // or "page".
+ function intoCoordSystem(cm, lineObj, rect, context) {
+ if (lineObj.widgets) for (var i = 0; i < lineObj.widgets.length; ++i) if (lineObj.widgets[i].above) {
+ var size = widgetHeight(lineObj.widgets[i]);
+ rect.top += size; rect.bottom += size;
+ }
+ if (context == "line") return rect;
+ if (!context) context = "local";
+ var yOff = heightAtLine(lineObj);
+ if (context == "local") yOff += paddingTop(cm.display);
+ else yOff -= cm.display.viewOffset;
+ if (context == "page" || context == "window") {
+ var lOff = cm.display.lineSpace.getBoundingClientRect();
+ yOff += lOff.top + (context == "window" ? 0 : pageScrollY());
+ var xOff = lOff.left + (context == "window" ? 0 : pageScrollX());
+ rect.left += xOff; rect.right += xOff;
+ }
+ rect.top += yOff; rect.bottom += yOff;
+ return rect;
+ }
+
+ // Coverts a box from "div" coords to another coordinate system.
+ // Context may be "window", "page", "div", or "local"/null.
+ function fromCoordSystem(cm, coords, context) {
+ if (context == "div") return coords;
+ var left = coords.left, top = coords.top;
+ // First move into "page" coordinate system
+ if (context == "page") {
+ left -= pageScrollX();
+ top -= pageScrollY();
+ } else if (context == "local" || !context) {
+ var localBox = cm.display.sizer.getBoundingClientRect();
+ left += localBox.left;
+ top += localBox.top;
+ }
+
+ var lineSpaceBox = cm.display.lineSpace.getBoundingClientRect();
+ return {left: left - lineSpaceBox.left, top: top - lineSpaceBox.top};
+ }
+
+ function charCoords(cm, pos, context, lineObj, bias) {
+ if (!lineObj) lineObj = getLine(cm.doc, pos.line);
+ return intoCoordSystem(cm, lineObj, measureChar(cm, lineObj, pos.ch, bias), context);
+ }
+
+ // Returns a box for a given cursor position, which may have an
+ // 'other' property containing the position of the secondary cursor
+ // on a bidi boundary.
+ function cursorCoords(cm, pos, context, lineObj, preparedMeasure, varHeight) {
+ lineObj = lineObj || getLine(cm.doc, pos.line);
+ if (!preparedMeasure) preparedMeasure = prepareMeasureForLine(cm, lineObj);
+ function get(ch, right) {
+ var m = measureCharPrepared(cm, preparedMeasure, ch, right ? "right" : "left", varHeight);
+ if (right) m.left = m.right; else m.right = m.left;
+ return intoCoordSystem(cm, lineObj, m, context);
+ }
+ function getBidi(ch, partPos) {
+ var part = order[partPos], right = part.level % 2;
+ if (ch == bidiLeft(part) && partPos && part.level < order[partPos - 1].level) {
+ part = order[--partPos];
+ ch = bidiRight(part) - (part.level % 2 ? 0 : 1);
+ right = true;
+ } else if (ch == bidiRight(part) && partPos < order.length - 1 && part.level < order[partPos + 1].level) {
+ part = order[++partPos];
+ ch = bidiLeft(part) - part.level % 2;
+ right = false;
+ }
+ if (right && ch == part.to && ch > part.from) return get(ch - 1);
+ return get(ch, right);
+ }
+ var order = getOrder(lineObj), ch = pos.ch;
+ if (!order) return get(ch);
+ var partPos = getBidiPartAt(order, ch);
+ var val = getBidi(ch, partPos);
+ if (bidiOther != null) val.other = getBidi(ch, bidiOther);
+ return val;
+ }
+
+ // Used to cheaply estimate the coordinates for a position. Used for
+ // intermediate scroll updates.
+ function estimateCoords(cm, pos) {
+ var left = 0, pos = clipPos(cm.doc, pos);
+ if (!cm.options.lineWrapping) left = charWidth(cm.display) * pos.ch;
+ var lineObj = getLine(cm.doc, pos.line);
+ var top = heightAtLine(lineObj) + paddingTop(cm.display);
+ return {left: left, right: left, top: top, bottom: top + lineObj.height};
+ }
+
+ // Positions returned by coordsChar contain some extra information.
+ // xRel is the relative x position of the input coordinates compared
+ // to the found position (so xRel > 0 means the coordinates are to
+ // the right of the character position, for example). When outside
+ // is true, that means the coordinates lie outside the line's
+ // vertical range.
+ function PosWithInfo(line, ch, outside, xRel) {
+ var pos = Pos(line, ch);
+ pos.xRel = xRel;
+ if (outside) pos.outside = true;
+ return pos;
+ }
+
+ // Compute the character position closest to the given coordinates.
+ // Input must be lineSpace-local ("div" coordinate system).
+ function coordsChar(cm, x, y) {
+ var doc = cm.doc;
+ y += cm.display.viewOffset;
+ if (y < 0) return PosWithInfo(doc.first, 0, true, -1);
+ var lineN = lineAtHeight(doc, y), last = doc.first + doc.size - 1;
+ if (lineN > last)
+ return PosWithInfo(doc.first + doc.size - 1, getLine(doc, last).text.length, true, 1);
+ if (x < 0) x = 0;
+
+ var lineObj = getLine(doc, lineN);
+ for (;;) {
+ var found = coordsCharInner(cm, lineObj, lineN, x, y);
+ var merged = collapsedSpanAtEnd(lineObj);
+ var mergedPos = merged && merged.find(0, true);
+ if (merged && (found.ch > mergedPos.from.ch || found.ch == mergedPos.from.ch && found.xRel > 0))
+ lineN = lineNo(lineObj = mergedPos.to.line);
+ else
+ return found;
+ }
+ }
+
+ function coordsCharInner(cm, lineObj, lineNo, x, y) {
+ var innerOff = y - heightAtLine(lineObj);
+ var wrongLine = false, adjust = 2 * cm.display.wrapper.clientWidth;
+ var preparedMeasure = prepareMeasureForLine(cm, lineObj);
+
+ function getX(ch) {
+ var sp = cursorCoords(cm, Pos(lineNo, ch), "line", lineObj, preparedMeasure);
+ wrongLine = true;
+ if (innerOff > sp.bottom) return sp.left - adjust;
+ else if (innerOff < sp.top) return sp.left + adjust;
+ else wrongLine = false;
+ return sp.left;
+ }
+
+ var bidi = getOrder(lineObj), dist = lineObj.text.length;
+ var from = lineLeft(lineObj), to = lineRight(lineObj);
+ var fromX = getX(from), fromOutside = wrongLine, toX = getX(to), toOutside = wrongLine;
+
+ if (x > toX) return PosWithInfo(lineNo, to, toOutside, 1);
+ // Do a binary search between these bounds.
+ for (;;) {
+ if (bidi ? to == from || to == moveVisually(lineObj, from, 1) : to - from <= 1) {
+ var ch = x < fromX || x - fromX <= toX - x ? from : to;
+ var xDiff = x - (ch == from ? fromX : toX);
+ while (isExtendingChar(lineObj.text.charAt(ch))) ++ch;
+ var pos = PosWithInfo(lineNo, ch, ch == from ? fromOutside : toOutside,
+ xDiff < -1 ? -1 : xDiff > 1 ? 1 : 0);
+ return pos;
+ }
+ var step = Math.ceil(dist / 2), middle = from + step;
+ if (bidi) {
+ middle = from;
+ for (var i = 0; i < step; ++i) middle = moveVisually(lineObj, middle, 1);
+ }
+ var middleX = getX(middle);
+ if (middleX > x) {to = middle; toX = middleX; if (toOutside = wrongLine) toX += 1000; dist = step;}
+ else {from = middle; fromX = middleX; fromOutside = wrongLine; dist -= step;}
+ }
+ }
+
+ var measureText;
+ // Compute the default text height.
+ function textHeight(display) {
+ if (display.cachedTextHeight != null) return display.cachedTextHeight;
+ if (measureText == null) {
+ measureText = elt("pre");
+ // Measure a bunch of lines, for browsers that compute
+ // fractional heights.
+ for (var i = 0; i < 49; ++i) {
+ measureText.appendChild(document.createTextNode("x"));
+ measureText.appendChild(elt("br"));
+ }
+ measureText.appendChild(document.createTextNode("x"));
+ }
+ removeChildrenAndAdd(display.measure, measureText);
+ var height = measureText.offsetHeight / 50;
+ if (height > 3) display.cachedTextHeight = height;
+ removeChildren(display.measure);
+ return height || 1;
+ }
+
+ // Compute the default character width.
+ function charWidth(display) {
+ if (display.cachedCharWidth != null) return display.cachedCharWidth;
+ var anchor = elt("span", "xxxxxxxxxx");
+ var pre = elt("pre", [anchor]);
+ removeChildrenAndAdd(display.measure, pre);
+ var rect = anchor.getBoundingClientRect(), width = (rect.right - rect.left) / 10;
+ if (width > 2) display.cachedCharWidth = width;
+ return width || 10;
+ }
+
+ // OPERATIONS
+
+ // Operations are used to wrap a series of changes to the editor
+ // state in such a way that each change won't have to update the
+ // cursor and display (which would be awkward, slow, and
+ // error-prone). Instead, display updates are batched and then all
+ // combined and executed at once.
+
+ var operationGroup = null;
+
+ var nextOpId = 0;
+ // Start a new operation.
+ function startOperation(cm) {
+ cm.curOp = {
+ cm: cm,
+ viewChanged: false, // Flag that indicates that lines might need to be redrawn
+ startHeight: cm.doc.height, // Used to detect need to update scrollbar
+ forceUpdate: false, // Used to force a redraw
+ updateInput: null, // Whether to reset the input textarea
+ typing: false, // Whether this reset should be careful to leave existing text (for compositing)
+ changeObjs: null, // Accumulated changes, for firing change events
+ cursorActivityHandlers: null, // Set of handlers to fire cursorActivity on
+ cursorActivityCalled: 0, // Tracks which cursorActivity handlers have been called already
+ selectionChanged: false, // Whether the selection needs to be redrawn
+ updateMaxLine: false, // Set when the widest line needs to be determined anew
+ scrollLeft: null, scrollTop: null, // Intermediate scroll position, not pushed to DOM yet
+ scrollToPos: null, // Used to scroll to a specific position
+ focus: false,
+ id: ++nextOpId // Unique ID
+ };
+ if (operationGroup) {
+ operationGroup.ops.push(cm.curOp);
+ } else {
+ cm.curOp.ownsGroup = operationGroup = {
+ ops: [cm.curOp],
+ delayedCallbacks: []
+ };
+ }
+ }
+
+ function fireCallbacksForOps(group) {
+ // Calls delayed callbacks and cursorActivity handlers until no
+ // new ones appear
+ var callbacks = group.delayedCallbacks, i = 0;
+ do {
+ for (; i < callbacks.length; i++)
+ callbacks[i]();
+ for (var j = 0; j < group.ops.length; j++) {
+ var op = group.ops[j];
+ if (op.cursorActivityHandlers)
+ while (op.cursorActivityCalled < op.cursorActivityHandlers.length)
+ op.cursorActivityHandlers[op.cursorActivityCalled++](op.cm);
+ }
+ } while (i < callbacks.length);
+ }
+
+ // Finish an operation, updating the display and signalling delayed events
+ function endOperation(cm) {
+ var op = cm.curOp, group = op.ownsGroup;
+ if (!group) return;
+
+ try { fireCallbacksForOps(group); }
+ finally {
+ operationGroup = null;
+ for (var i = 0; i < group.ops.length; i++)
+ group.ops[i].cm.curOp = null;
+ endOperations(group);
+ }
+ }
+
+ // The DOM updates done when an operation finishes are batched so
+ // that the minimum number of relayouts are required.
+ function endOperations(group) {
+ var ops = group.ops;
+ for (var i = 0; i < ops.length; i++) // Read DOM
+ endOperation_R1(ops[i]);
+ for (var i = 0; i < ops.length; i++) // Write DOM (maybe)
+ endOperation_W1(ops[i]);
+ for (var i = 0; i < ops.length; i++) // Read DOM
+ endOperation_R2(ops[i]);
+ for (var i = 0; i < ops.length; i++) // Write DOM (maybe)
+ endOperation_W2(ops[i]);
+ for (var i = 0; i < ops.length; i++) // Read DOM
+ endOperation_finish(ops[i]);
+ }
+
+ function endOperation_R1(op) {
+ var cm = op.cm, display = cm.display;
+ maybeClipScrollbars(cm);
+ if (op.updateMaxLine) findMaxLine(cm);
+
+ op.mustUpdate = op.viewChanged || op.forceUpdate || op.scrollTop != null ||
+ op.scrollToPos && (op.scrollToPos.from.line < display.viewFrom ||
+ op.scrollToPos.to.line >= display.viewTo) ||
+ display.maxLineChanged && cm.options.lineWrapping;
+ op.update = op.mustUpdate &&
+ new DisplayUpdate(cm, op.mustUpdate && {top: op.scrollTop, ensure: op.scrollToPos}, op.forceUpdate);
+ }
+
+ function endOperation_W1(op) {
+ op.updatedDisplay = op.mustUpdate && updateDisplayIfNeeded(op.cm, op.update);
+ }
+
+ function endOperation_R2(op) {
+ var cm = op.cm, display = cm.display;
+ if (op.updatedDisplay) updateHeightsInViewport(cm);
+
+ op.barMeasure = measureForScrollbars(cm);
+
+ // If the max line changed since it was last measured, measure it,
+ // and ensure the document's width matches it.
+ // updateDisplay_W2 will use these properties to do the actual resizing
+ if (display.maxLineChanged && !cm.options.lineWrapping) {
+ op.adjustWidthTo = measureChar(cm, display.maxLine, display.maxLine.text.length).left + 3;
+ cm.display.sizerWidth = op.adjustWidthTo;
+ op.barMeasure.scrollWidth =
+ Math.max(display.scroller.clientWidth, display.sizer.offsetLeft + op.adjustWidthTo + scrollGap(cm) + cm.display.barWidth);
+ op.maxScrollLeft = Math.max(0, display.sizer.offsetLeft + op.adjustWidthTo - displayWidth(cm));
+ }
+
+ if (op.updatedDisplay || op.selectionChanged)
+ op.preparedSelection = display.input.prepareSelection();
+ }
+
+ function endOperation_W2(op) {
+ var cm = op.cm;
+
+ if (op.adjustWidthTo != null) {
+ cm.display.sizer.style.minWidth = op.adjustWidthTo + "px";
+ if (op.maxScrollLeft < cm.doc.scrollLeft)
+ setScrollLeft(cm, Math.min(cm.display.scroller.scrollLeft, op.maxScrollLeft), true);
+ cm.display.maxLineChanged = false;
+ }
+
+ if (op.preparedSelection)
+ cm.display.input.showSelection(op.preparedSelection);
+ if (op.updatedDisplay)
+ setDocumentHeight(cm, op.barMeasure);
+ if (op.updatedDisplay || op.startHeight != cm.doc.height)
+ updateScrollbars(cm, op.barMeasure);
+
+ if (op.selectionChanged) restartBlink(cm);
+
+ if (cm.state.focused && op.updateInput)
+ cm.display.input.reset(op.typing);
+ if (op.focus && op.focus == activeElt()) ensureFocus(op.cm);
+ }
+
+ function endOperation_finish(op) {
+ var cm = op.cm, display = cm.display, doc = cm.doc;
+
+ if (op.updatedDisplay) postUpdateDisplay(cm, op.update);
+
+ // Abort mouse wheel delta measurement, when scrolling explicitly
+ if (display.wheelStartX != null && (op.scrollTop != null || op.scrollLeft != null || op.scrollToPos))
+ display.wheelStartX = display.wheelStartY = null;
+
+ // Propagate the scroll position to the actual DOM scroller
+ if (op.scrollTop != null && (display.scroller.scrollTop != op.scrollTop || op.forceScroll)) {
+ doc.scrollTop = Math.max(0, Math.min(display.scroller.scrollHeight - display.scroller.clientHeight, op.scrollTop));
+ display.scrollbars.setScrollTop(doc.scrollTop);
+ display.scroller.scrollTop = doc.scrollTop;
+ }
+ if (op.scrollLeft != null && (display.scroller.scrollLeft != op.scrollLeft || op.forceScroll)) {
+ doc.scrollLeft = Math.max(0, Math.min(display.scroller.scrollWidth - displayWidth(cm), op.scrollLeft));
+ display.scrollbars.setScrollLeft(doc.scrollLeft);
+ display.scroller.scrollLeft = doc.scrollLeft;
+ alignHorizontally(cm);
+ }
+ // If we need to scroll a specific position into view, do so.
+ if (op.scrollToPos) {
+ var coords = scrollPosIntoView(cm, clipPos(doc, op.scrollToPos.from),
+ clipPos(doc, op.scrollToPos.to), op.scrollToPos.margin);
+ if (op.scrollToPos.isCursor && cm.state.focused) maybeScrollWindow(cm, coords);
+ }
+
+ // Fire events for markers that are hidden/unidden by editing or
+ // undoing
+ var hidden = op.maybeHiddenMarkers, unhidden = op.maybeUnhiddenMarkers;
+ if (hidden) for (var i = 0; i < hidden.length; ++i)
+ if (!hidden[i].lines.length) signal(hidden[i], "hide");
+ if (unhidden) for (var i = 0; i < unhidden.length; ++i)
+ if (unhidden[i].lines.length) signal(unhidden[i], "unhide");
+
+ if (display.wrapper.offsetHeight)
+ doc.scrollTop = cm.display.scroller.scrollTop;
+
+ // Fire change events, and delayed event handlers
+ if (op.changeObjs)
+ signal(cm, "changes", cm, op.changeObjs);
+ if (op.update)
+ op.update.finish();
+ }
+
+ // Run the given function in an operation
+ function runInOp(cm, f) {
+ if (cm.curOp) return f();
+ startOperation(cm);
+ try { return f(); }
+ finally { endOperation(cm); }
+ }
+ // Wraps a function in an operation. Returns the wrapped function.
+ function operation(cm, f) {
+ return function() {
+ if (cm.curOp) return f.apply(cm, arguments);
+ startOperation(cm);
+ try { return f.apply(cm, arguments); }
+ finally { endOperation(cm); }
+ };
+ }
+ // Used to add methods to editor and doc instances, wrapping them in
+ // operations.
+ function methodOp(f) {
+ return function() {
+ if (this.curOp) return f.apply(this, arguments);
+ startOperation(this);
+ try { return f.apply(this, arguments); }
+ finally { endOperation(this); }
+ };
+ }
+ function docMethodOp(f) {
+ return function() {
+ var cm = this.cm;
+ if (!cm || cm.curOp) return f.apply(this, arguments);
+ startOperation(cm);
+ try { return f.apply(this, arguments); }
+ finally { endOperation(cm); }
+ };
+ }
+
+ // VIEW TRACKING
+
+ // These objects are used to represent the visible (currently drawn)
+ // part of the document. A LineView may correspond to multiple
+ // logical lines, if those are connected by collapsed ranges.
+ function LineView(doc, line, lineN) {
+ // The starting line
+ this.line = line;
+ // Continuing lines, if any
+ this.rest = visualLineContinued(line);
+ // Number of logical lines in this visual line
+ this.size = this.rest ? lineNo(lst(this.rest)) - lineN + 1 : 1;
+ this.node = this.text = null;
+ this.hidden = lineIsHidden(doc, line);
+ }
+
+ // Create a range of LineView objects for the given lines.
+ function buildViewArray(cm, from, to) {
+ var array = [], nextPos;
+ for (var pos = from; pos < to; pos = nextPos) {
+ var view = new LineView(cm.doc, getLine(cm.doc, pos), pos);
+ nextPos = pos + view.size;
+ array.push(view);
+ }
+ return array;
+ }
+
+ // Updates the display.view data structure for a given change to the
+ // document. From and to are in pre-change coordinates. Lendiff is
+ // the amount of lines added or subtracted by the change. This is
+ // used for changes that span multiple lines, or change the way
+ // lines are divided into visual lines. regLineChange (below)
+ // registers single-line changes.
+ function regChange(cm, from, to, lendiff) {
+ if (from == null) from = cm.doc.first;
+ if (to == null) to = cm.doc.first + cm.doc.size;
+ if (!lendiff) lendiff = 0;
+
+ var display = cm.display;
+ if (lendiff && to < display.viewTo &&
+ (display.updateLineNumbers == null || display.updateLineNumbers > from))
+ display.updateLineNumbers = from;
+
+ cm.curOp.viewChanged = true;
+
+ if (from >= display.viewTo) { // Change after
+ if (sawCollapsedSpans && visualLineNo(cm.doc, from) < display.viewTo)
+ resetView(cm);
+ } else if (to <= display.viewFrom) { // Change before
+ if (sawCollapsedSpans && visualLineEndNo(cm.doc, to + lendiff) > display.viewFrom) {
+ resetView(cm);
+ } else {
+ display.viewFrom += lendiff;
+ display.viewTo += lendiff;
+ }
+ } else if (from <= display.viewFrom && to >= display.viewTo) { // Full overlap
+ resetView(cm);
+ } else if (from <= display.viewFrom) { // Top overlap
+ var cut = viewCuttingPoint(cm, to, to + lendiff, 1);
+ if (cut) {
+ display.view = display.view.slice(cut.index);
+ display.viewFrom = cut.lineN;
+ display.viewTo += lendiff;
+ } else {
+ resetView(cm);
+ }
+ } else if (to >= display.viewTo) { // Bottom overlap
+ var cut = viewCuttingPoint(cm, from, from, -1);
+ if (cut) {
+ display.view = display.view.slice(0, cut.index);
+ display.viewTo = cut.lineN;
+ } else {
+ resetView(cm);
+ }
+ } else { // Gap in the middle
+ var cutTop = viewCuttingPoint(cm, from, from, -1);
+ var cutBot = viewCuttingPoint(cm, to, to + lendiff, 1);
+ if (cutTop && cutBot) {
+ display.view = display.view.slice(0, cutTop.index)
+ .concat(buildViewArray(cm, cutTop.lineN, cutBot.lineN))
+ .concat(display.view.slice(cutBot.index));
+ display.viewTo += lendiff;
+ } else {
+ resetView(cm);
+ }
+ }
+
+ var ext = display.externalMeasured;
+ if (ext) {
+ if (to < ext.lineN)
+ ext.lineN += lendiff;
+ else if (from < ext.lineN + ext.size)
+ display.externalMeasured = null;
+ }
+ }
+
+ // Register a change to a single line. Type must be one of "text",
+ // "gutter", "class", "widget"
+ function regLineChange(cm, line, type) {
+ cm.curOp.viewChanged = true;
+ var display = cm.display, ext = cm.display.externalMeasured;
+ if (ext && line >= ext.lineN && line < ext.lineN + ext.size)
+ display.externalMeasured = null;
+
+ if (line < display.viewFrom || line >= display.viewTo) return;
+ var lineView = display.view[findViewIndex(cm, line)];
+ if (lineView.node == null) return;
+ var arr = lineView.changes || (lineView.changes = []);
+ if (indexOf(arr, type) == -1) arr.push(type);
+ }
+
+ // Clear the view.
+ function resetView(cm) {
+ cm.display.viewFrom = cm.display.viewTo = cm.doc.first;
+ cm.display.view = [];
+ cm.display.viewOffset = 0;
+ }
+
+ // Find the view element corresponding to a given line. Return null
+ // when the line isn't visible.
+ function findViewIndex(cm, n) {
+ if (n >= cm.display.viewTo) return null;
+ n -= cm.display.viewFrom;
+ if (n < 0) return null;
+ var view = cm.display.view;
+ for (var i = 0; i < view.length; i++) {
+ n -= view[i].size;
+ if (n < 0) return i;
+ }
+ }
+
+ function viewCuttingPoint(cm, oldN, newN, dir) {
+ var index = findViewIndex(cm, oldN), diff, view = cm.display.view;
+ if (!sawCollapsedSpans || newN == cm.doc.first + cm.doc.size)
+ return {index: index, lineN: newN};
+ for (var i = 0, n = cm.display.viewFrom; i < index; i++)
+ n += view[i].size;
+ if (n != oldN) {
+ if (dir > 0) {
+ if (index == view.length - 1) return null;
+ diff = (n + view[index].size) - oldN;
+ index++;
+ } else {
+ diff = n - oldN;
+ }
+ oldN += diff; newN += diff;
+ }
+ while (visualLineNo(cm.doc, newN) != newN) {
+ if (index == (dir < 0 ? 0 : view.length - 1)) return null;
+ newN += dir * view[index - (dir < 0 ? 1 : 0)].size;
+ index += dir;
+ }
+ return {index: index, lineN: newN};
+ }
+
+ // Force the view to cover a given range, adding empty view element
+ // or clipping off existing ones as needed.
+ function adjustView(cm, from, to) {
+ var display = cm.display, view = display.view;
+ if (view.length == 0 || from >= display.viewTo || to <= display.viewFrom) {
+ display.view = buildViewArray(cm, from, to);
+ display.viewFrom = from;
+ } else {
+ if (display.viewFrom > from)
+ display.view = buildViewArray(cm, from, display.viewFrom).concat(display.view);
+ else if (display.viewFrom < from)
+ display.view = display.view.slice(findViewIndex(cm, from));
+ display.viewFrom = from;
+ if (display.viewTo < to)
+ display.view = display.view.concat(buildViewArray(cm, display.viewTo, to));
+ else if (display.viewTo > to)
+ display.view = display.view.slice(0, findViewIndex(cm, to));
+ }
+ display.viewTo = to;
+ }
+
+ // Count the number of lines in the view whose DOM representation is
+ // out of date (or nonexistent).
+ function countDirtyView(cm) {
+ var view = cm.display.view, dirty = 0;
+ for (var i = 0; i < view.length; i++) {
+ var lineView = view[i];
+ if (!lineView.hidden && (!lineView.node || lineView.changes)) ++dirty;
+ }
+ return dirty;
+ }
+
+ // EVENT HANDLERS
+
+ // Attach the necessary event handlers when initializing the editor
+ function registerEventHandlers(cm) {
+ var d = cm.display;
+ on(d.scroller, "mousedown", operation(cm, onMouseDown));
+ // Older IE's will not fire a second mousedown for a double click
+ if (ie && ie_version < 11)
+ on(d.scroller, "dblclick", operation(cm, function(e) {
+ if (signalDOMEvent(cm, e)) return;
+ var pos = posFromMouse(cm, e);
+ if (!pos || clickInGutter(cm, e) || eventInWidget(cm.display, e)) return;
+ e_preventDefault(e);
+ var word = cm.findWordAt(pos);
+ extendSelection(cm.doc, word.anchor, word.head);
+ }));
+ else
+ on(d.scroller, "dblclick", function(e) { signalDOMEvent(cm, e) || e_preventDefault(e); });
+ // Some browsers fire contextmenu *after* opening the menu, at
+ // which point we can't mess with it anymore. Context menu is
+ // handled in onMouseDown for these browsers.
+ if (!captureRightClick) on(d.scroller, "contextmenu", function(e) {onContextMenu(cm, e);});
+
+ // Used to suppress mouse event handling when a touch happens
+ var touchFinished, prevTouch = {end: 0};
+ function finishTouch() {
+ if (d.activeTouch) {
+ touchFinished = setTimeout(function() {d.activeTouch = null;}, 1000);
+ prevTouch = d.activeTouch;
+ prevTouch.end = +new Date;
+ }
+ };
+ function isMouseLikeTouchEvent(e) {
+ if (e.touches.length != 1) return false;
+ var touch = e.touches[0];
+ return touch.radiusX <= 1 && touch.radiusY <= 1;
+ }
+ function farAway(touch, other) {
+ if (other.left == null) return true;
+ var dx = other.left - touch.left, dy = other.top - touch.top;
+ return dx * dx + dy * dy > 20 * 20;
+ }
+ on(d.scroller, "touchstart", function(e) {
+ if (!isMouseLikeTouchEvent(e)) {
+ clearTimeout(touchFinished);
+ var now = +new Date;
+ d.activeTouch = {start: now, moved: false,
+ prev: now - prevTouch.end <= 300 ? prevTouch : null};
+ if (e.touches.length == 1) {
+ d.activeTouch.left = e.touches[0].pageX;
+ d.activeTouch.top = e.touches[0].pageY;
+ }
+ }
+ });
+ on(d.scroller, "touchmove", function() {
+ if (d.activeTouch) d.activeTouch.moved = true;
+ });
+ on(d.scroller, "touchend", function(e) {
+ var touch = d.activeTouch;
+ if (touch && !eventInWidget(d, e) && touch.left != null &&
+ !touch.moved && new Date - touch.start < 300) {
+ var pos = cm.coordsChar(d.activeTouch, "page"), range;
+ if (!touch.prev || farAway(touch, touch.prev)) // Single tap
+ range = new Range(pos, pos);
+ else if (!touch.prev.prev || farAway(touch, touch.prev.prev)) // Double tap
+ range = cm.findWordAt(pos);
+ else // Triple tap
+ range = new Range(Pos(pos.line, 0), clipPos(cm.doc, Pos(pos.line + 1, 0)));
+ cm.setSelection(range.anchor, range.head);
+ cm.focus();
+ e_preventDefault(e);
+ }
+ finishTouch();
+ });
+ on(d.scroller, "touchcancel", finishTouch);
+
+ // Sync scrolling between fake scrollbars and real scrollable
+ // area, ensure viewport is updated when scrolling.
+ on(d.scroller, "scroll", function() {
+ if (d.scroller.clientHeight) {
+ setScrollTop(cm, d.scroller.scrollTop);
+ setScrollLeft(cm, d.scroller.scrollLeft, true);
+ signal(cm, "scroll", cm);
+ }
+ });
+
+ // Listen to wheel events in order to try and update the viewport on time.
+ on(d.scroller, "mousewheel", function(e){onScrollWheel(cm, e);});
+ on(d.scroller, "DOMMouseScroll", function(e){onScrollWheel(cm, e);});
+
+ // Prevent wrapper from ever scrolling
+ on(d.wrapper, "scroll", function() { d.wrapper.scrollTop = d.wrapper.scrollLeft = 0; });
+
+ d.dragFunctions = {
+ simple: function(e) {if (!signalDOMEvent(cm, e)) e_stop(e);},
+ start: function(e){onDragStart(cm, e);},
+ drop: operation(cm, onDrop)
+ };
+
+ var inp = d.input.getField();
+ on(inp, "keyup", function(e) { onKeyUp.call(cm, e); });
+ on(inp, "keydown", operation(cm, onKeyDown));
+ on(inp, "keypress", operation(cm, onKeyPress));
+ on(inp, "focus", bind(onFocus, cm));
+ on(inp, "blur", bind(onBlur, cm));
+ }
+
+ function dragDropChanged(cm, value, old) {
+ var wasOn = old && old != CodeMirror.Init;
+ if (!value != !wasOn) {
+ var funcs = cm.display.dragFunctions;
+ var toggle = value ? on : off;
+ toggle(cm.display.scroller, "dragstart", funcs.start);
+ toggle(cm.display.scroller, "dragenter", funcs.simple);
+ toggle(cm.display.scroller, "dragover", funcs.simple);
+ toggle(cm.display.scroller, "drop", funcs.drop);
+ }
+ }
+
+ // Called when the window resizes
+ function onResize(cm) {
+ var d = cm.display;
+ if (d.lastWrapHeight == d.wrapper.clientHeight && d.lastWrapWidth == d.wrapper.clientWidth)
+ return;
+ // Might be a text scaling operation, clear size caches.
+ d.cachedCharWidth = d.cachedTextHeight = d.cachedPaddingH = null;
+ d.scrollbarsClipped = false;
+ cm.setSize();
+ }
+
+ // MOUSE EVENTS
+
+ // Return true when the given mouse event happened in a widget
+ function eventInWidget(display, e) {
+ for (var n = e_target(e); n != display.wrapper; n = n.parentNode) {
+ if (!n || (n.nodeType == 1 && n.getAttribute("cm-ignore-events") == "true") ||
+ (n.parentNode == display.sizer && n != display.mover))
+ return true;
+ }
+ }
+
+ // Given a mouse event, find the corresponding position. If liberal
+ // is false, it checks whether a gutter or scrollbar was clicked,
+ // and returns null if it was. forRect is used by rectangular
+ // selections, and tries to estimate a character position even for
+ // coordinates beyond the right of the text.
+ function posFromMouse(cm, e, liberal, forRect) {
+ var display = cm.display;
+ if (!liberal && e_target(e).getAttribute("cm-not-content") == "true") return null;
+
+ var x, y, space = display.lineSpace.getBoundingClientRect();
+ // Fails unpredictably on IE[67] when mouse is dragged around quickly.
+ try { x = e.clientX - space.left; y = e.clientY - space.top; }
+ catch (e) { return null; }
+ var coords = coordsChar(cm, x, y), line;
+ if (forRect && coords.xRel == 1 && (line = getLine(cm.doc, coords.line).text).length == coords.ch) {
+ var colDiff = countColumn(line, line.length, cm.options.tabSize) - line.length;
+ coords = Pos(coords.line, Math.max(0, Math.round((x - paddingH(cm.display).left) / charWidth(cm.display)) - colDiff));
+ }
+ return coords;
+ }
+
+ // A mouse down can be a single click, double click, triple click,
+ // start of selection drag, start of text drag, new cursor
+ // (ctrl-click), rectangle drag (alt-drag), or xwin
+ // middle-click-paste. Or it might be a click on something we should
+ // not interfere with, such as a scrollbar or widget.
+ function onMouseDown(e) {
+ var cm = this, display = cm.display;
+ if (display.activeTouch && display.input.supportsTouch() || signalDOMEvent(cm, e)) return;
+ display.shift = e.shiftKey;
+
+ if (eventInWidget(display, e)) {
+ if (!webkit) {
+ // Briefly turn off draggability, to allow widgets to do
+ // normal dragging things.
+ display.scroller.draggable = false;
+ setTimeout(function(){display.scroller.draggable = true;}, 100);
+ }
+ return;
+ }
+ if (clickInGutter(cm, e)) return;
+ var start = posFromMouse(cm, e);
+ window.focus();
+
+ switch (e_button(e)) {
+ case 1:
+ if (start)
+ leftButtonDown(cm, e, start);
+ else if (e_target(e) == display.scroller)
+ e_preventDefault(e);
+ break;
+ case 2:
+ if (webkit) cm.state.lastMiddleDown = +new Date;
+ if (start) extendSelection(cm.doc, start);
+ setTimeout(function() {display.input.focus();}, 20);
+ e_preventDefault(e);
+ break;
+ case 3:
+ if (captureRightClick) onContextMenu(cm, e);
+ else delayBlurEvent(cm);
+ break;
+ }
+ }
+
+ var lastClick, lastDoubleClick;
+ function leftButtonDown(cm, e, start) {
+ if (ie) setTimeout(bind(ensureFocus, cm), 0);
+ else cm.curOp.focus = activeElt();
+
+ var now = +new Date, type;
+ if (lastDoubleClick && lastDoubleClick.time > now - 400 && cmp(lastDoubleClick.pos, start) == 0) {
+ type = "triple";
+ } else if (lastClick && lastClick.time > now - 400 && cmp(lastClick.pos, start) == 0) {
+ type = "double";
+ lastDoubleClick = {time: now, pos: start};
+ } else {
+ type = "single";
+ lastClick = {time: now, pos: start};
+ }
+
+ var sel = cm.doc.sel, modifier = mac ? e.metaKey : e.ctrlKey, contained;
+ if (cm.options.dragDrop && dragAndDrop && !isReadOnly(cm) &&
+ type == "single" && (contained = sel.contains(start)) > -1 &&
+ !sel.ranges[contained].empty())
+ leftButtonStartDrag(cm, e, start, modifier);
+ else
+ leftButtonSelect(cm, e, start, type, modifier);
+ }
+
+ // Start a text drag. When it ends, see if any dragging actually
+ // happen, and treat as a click if it didn't.
+ function leftButtonStartDrag(cm, e, start, modifier) {
+ var display = cm.display, startTime = +new Date;
+ var dragEnd = operation(cm, function(e2) {
+ if (webkit) display.scroller.draggable = false;
+ cm.state.draggingText = false;
+ off(document, "mouseup", dragEnd);
+ off(display.scroller, "drop", dragEnd);
+ if (Math.abs(e.clientX - e2.clientX) + Math.abs(e.clientY - e2.clientY) < 10) {
+ e_preventDefault(e2);
+ if (!modifier && +new Date - 200 < startTime)
+ extendSelection(cm.doc, start);
+ // Work around unexplainable focus problem in IE9 (#2127) and Chrome (#3081)
+ if (webkit || ie && ie_version == 9)
+ setTimeout(function() {document.body.focus(); display.input.focus();}, 20);
+ else
+ display.input.focus();
+ }
+ });
+ // Let the drag handler handle this.
+ if (webkit) display.scroller.draggable = true;
+ cm.state.draggingText = dragEnd;
+ // IE's approach to draggable
+ if (display.scroller.dragDrop) display.scroller.dragDrop();
+ on(document, "mouseup", dragEnd);
+ on(display.scroller, "drop", dragEnd);
+ }
+
+ // Normal selection, as opposed to text dragging.
+ function leftButtonSelect(cm, e, start, type, addNew) {
+ var display = cm.display, doc = cm.doc;
+ e_preventDefault(e);
+
+ var ourRange, ourIndex, startSel = doc.sel, ranges = startSel.ranges;
+ if (addNew && !e.shiftKey) {
+ ourIndex = doc.sel.contains(start);
+ if (ourIndex > -1)
+ ourRange = ranges[ourIndex];
+ else
+ ourRange = new Range(start, start);
+ } else {
+ ourRange = doc.sel.primary();
+ ourIndex = doc.sel.primIndex;
+ }
+
+ if (e.altKey) {
+ type = "rect";
+ if (!addNew) ourRange = new Range(start, start);
+ start = posFromMouse(cm, e, true, true);
+ ourIndex = -1;
+ } else if (type == "double") {
+ var word = cm.findWordAt(start);
+ if (cm.display.shift || doc.extend)
+ ourRange = extendRange(doc, ourRange, word.anchor, word.head);
+ else
+ ourRange = word;
+ } else if (type == "triple") {
+ var line = new Range(Pos(start.line, 0), clipPos(doc, Pos(start.line + 1, 0)));
+ if (cm.display.shift || doc.extend)
+ ourRange = extendRange(doc, ourRange, line.anchor, line.head);
+ else
+ ourRange = line;
+ } else {
+ ourRange = extendRange(doc, ourRange, start);
+ }
+
+ if (!addNew) {
+ ourIndex = 0;
+ setSelection(doc, new Selection([ourRange], 0), sel_mouse);
+ startSel = doc.sel;
+ } else if (ourIndex == -1) {
+ ourIndex = ranges.length;
+ setSelection(doc, normalizeSelection(ranges.concat([ourRange]), ourIndex),
+ {scroll: false, origin: "*mouse"});
+ } else if (ranges.length > 1 && ranges[ourIndex].empty() && type == "single" && !e.shiftKey) {
+ setSelection(doc, normalizeSelection(ranges.slice(0, ourIndex).concat(ranges.slice(ourIndex + 1)), 0));
+ startSel = doc.sel;
+ } else {
+ replaceOneSelection(doc, ourIndex, ourRange, sel_mouse);
+ }
+
+ var lastPos = start;
+ function extendTo(pos) {
+ if (cmp(lastPos, pos) == 0) return;
+ lastPos = pos;
+
+ if (type == "rect") {
+ var ranges = [], tabSize = cm.options.tabSize;
+ var startCol = countColumn(getLine(doc, start.line).text, start.ch, tabSize);
+ var posCol = countColumn(getLine(doc, pos.line).text, pos.ch, tabSize);
+ var left = Math.min(startCol, posCol), right = Math.max(startCol, posCol);
+ for (var line = Math.min(start.line, pos.line), end = Math.min(cm.lastLine(), Math.max(start.line, pos.line));
+ line <= end; line++) {
+ var text = getLine(doc, line).text, leftPos = findColumn(text, left, tabSize);
+ if (left == right)
+ ranges.push(new Range(Pos(line, leftPos), Pos(line, leftPos)));
+ else if (text.length > leftPos)
+ ranges.push(new Range(Pos(line, leftPos), Pos(line, findColumn(text, right, tabSize))));
+ }
+ if (!ranges.length) ranges.push(new Range(start, start));
+ setSelection(doc, normalizeSelection(startSel.ranges.slice(0, ourIndex).concat(ranges), ourIndex),
+ {origin: "*mouse", scroll: false});
+ cm.scrollIntoView(pos);
+ } else {
+ var oldRange = ourRange;
+ var anchor = oldRange.anchor, head = pos;
+ if (type != "single") {
+ if (type == "double")
+ var range = cm.findWordAt(pos);
+ else
+ var range = new Range(Pos(pos.line, 0), clipPos(doc, Pos(pos.line + 1, 0)));
+ if (cmp(range.anchor, anchor) > 0) {
+ head = range.head;
+ anchor = minPos(oldRange.from(), range.anchor);
+ } else {
+ head = range.anchor;
+ anchor = maxPos(oldRange.to(), range.head);
+ }
+ }
+ var ranges = startSel.ranges.slice(0);
+ ranges[ourIndex] = new Range(clipPos(doc, anchor), head);
+ setSelection(doc, normalizeSelection(ranges, ourIndex), sel_mouse);
+ }
+ }
+
+ var editorSize = display.wrapper.getBoundingClientRect();
+ // Used to ensure timeout re-tries don't fire when another extend
+ // happened in the meantime (clearTimeout isn't reliable -- at
+ // least on Chrome, the timeouts still happen even when cleared,
+ // if the clear happens after their scheduled firing time).
+ var counter = 0;
+
+ function extend(e) {
+ var curCount = ++counter;
+ var cur = posFromMouse(cm, e, true, type == "rect");
+ if (!cur) return;
+ if (cmp(cur, lastPos) != 0) {
+ cm.curOp.focus = activeElt();
+ extendTo(cur);
+ var visible = visibleLines(display, doc);
+ if (cur.line >= visible.to || cur.line < visible.from)
+ setTimeout(operation(cm, function(){if (counter == curCount) extend(e);}), 150);
+ } else {
+ var outside = e.clientY < editorSize.top ? -20 : e.clientY > editorSize.bottom ? 20 : 0;
+ if (outside) setTimeout(operation(cm, function() {
+ if (counter != curCount) return;
+ display.scroller.scrollTop += outside;
+ extend(e);
+ }), 50);
+ }
+ }
+
+ function done(e) {
+ counter = Infinity;
+ e_preventDefault(e);
+ display.input.focus();
+ off(document, "mousemove", move);
+ off(document, "mouseup", up);
+ doc.history.lastSelOrigin = null;
+ }
+
+ var move = operation(cm, function(e) {
+ if (!e_button(e)) done(e);
+ else extend(e);
+ });
+ var up = operation(cm, done);
+ on(document, "mousemove", move);
+ on(document, "mouseup", up);
+ }
+
+ // Determines whether an event happened in the gutter, and fires the
+ // handlers for the corresponding event.
+ function gutterEvent(cm, e, type, prevent, signalfn) {
+ try { var mX = e.clientX, mY = e.clientY; }
+ catch(e) { return false; }
+ if (mX >= Math.floor(cm.display.gutters.getBoundingClientRect().right)) return false;
+ if (prevent) e_preventDefault(e);
+
+ var display = cm.display;
+ var lineBox = display.lineDiv.getBoundingClientRect();
+
+ if (mY > lineBox.bottom || !hasHandler(cm, type)) return e_defaultPrevented(e);
+ mY -= lineBox.top - display.viewOffset;
+
+ for (var i = 0; i < cm.options.gutters.length; ++i) {
+ var g = display.gutters.childNodes[i];
+ if (g && g.getBoundingClientRect().right >= mX) {
+ var line = lineAtHeight(cm.doc, mY);
+ var gutter = cm.options.gutters[i];
+ signalfn(cm, type, cm, line, gutter, e);
+ return e_defaultPrevented(e);
+ }
+ }
+ }
+
+ function clickInGutter(cm, e) {
+ return gutterEvent(cm, e, "gutterClick", true, signalLater);
+ }
+
+ // Kludge to work around strange IE behavior where it'll sometimes
+ // re-fire a series of drag-related events right after the drop (#1551)
+ var lastDrop = 0;
+
+ function onDrop(e) {
+ var cm = this;
+ if (signalDOMEvent(cm, e) || eventInWidget(cm.display, e))
+ return;
+ e_preventDefault(e);
+ if (ie) lastDrop = +new Date;
+ var pos = posFromMouse(cm, e, true), files = e.dataTransfer.files;
+ if (!pos || isReadOnly(cm)) return;
+ // Might be a file drop, in which case we simply extract the text
+ // and insert it.
+ if (files && files.length && window.FileReader && window.File) {
+ var n = files.length, text = Array(n), read = 0;
+ var loadFile = function(file, i) {
+ var reader = new FileReader;
+ reader.onload = operation(cm, function() {
+ text[i] = reader.result;
+ if (++read == n) {
+ pos = clipPos(cm.doc, pos);
+ var change = {from: pos, to: pos, text: splitLines(text.join("\n")), origin: "paste"};
+ makeChange(cm.doc, change);
+ setSelectionReplaceHistory(cm.doc, simpleSelection(pos, changeEnd(change)));
+ }
+ });
+ reader.readAsText(file);
+ };
+ for (var i = 0; i < n; ++i) loadFile(files[i], i);
+ } else { // Normal drop
+ // Don't do a replace if the drop happened inside of the selected text.
+ if (cm.state.draggingText && cm.doc.sel.contains(pos) > -1) {
+ cm.state.draggingText(e);
+ // Ensure the editor is re-focused
+ setTimeout(function() {cm.display.input.focus();}, 20);
+ return;
+ }
+ try {
+ var text = e.dataTransfer.getData("Text");
+ if (text) {
+ if (cm.state.draggingText && !(mac ? e.altKey : e.ctrlKey))
+ var selected = cm.listSelections();
+ setSelectionNoUndo(cm.doc, simpleSelection(pos, pos));
+ if (selected) for (var i = 0; i < selected.length; ++i)
+ replaceRange(cm.doc, "", selected[i].anchor, selected[i].head, "drag");
+ cm.replaceSelection(text, "around", "paste");
+ cm.display.input.focus();
+ }
+ }
+ catch(e){}
+ }
+ }
+
+ function onDragStart(cm, e) {
+ if (ie && (!cm.state.draggingText || +new Date - lastDrop < 100)) { e_stop(e); return; }
+ if (signalDOMEvent(cm, e) || eventInWidget(cm.display, e)) return;
+
+ e.dataTransfer.setData("Text", cm.getSelection());
+
+ // Use dummy image instead of default browsers image.
+ // Recent Safari (~6.0.2) have a tendency to segfault when this happens, so we don't do it there.
+ if (e.dataTransfer.setDragImage && !safari) {
+ var img = elt("img", null, null, "position: fixed; left: 0; top: 0;");
+ img.src = "data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==";
+ if (presto) {
+ img.width = img.height = 1;
+ cm.display.wrapper.appendChild(img);
+ // Force a relayout, or Opera won't use our image for some obscure reason
+ img._top = img.offsetTop;
+ }
+ e.dataTransfer.setDragImage(img, 0, 0);
+ if (presto) img.parentNode.removeChild(img);
+ }
+ }
+
+ // SCROLL EVENTS
+
+ // Sync the scrollable area and scrollbars, ensure the viewport
+ // covers the visible area.
+ function setScrollTop(cm, val) {
+ if (Math.abs(cm.doc.scrollTop - val) < 2) return;
+ cm.doc.scrollTop = val;
+ if (!gecko) updateDisplaySimple(cm, {top: val});
+ if (cm.display.scroller.scrollTop != val) cm.display.scroller.scrollTop = val;
+ cm.display.scrollbars.setScrollTop(val);
+ if (gecko) updateDisplaySimple(cm);
+ startWorker(cm, 100);
+ }
+ // Sync scroller and scrollbar, ensure the gutter elements are
+ // aligned.
+ function setScrollLeft(cm, val, isScroller) {
+ if (isScroller ? val == cm.doc.scrollLeft : Math.abs(cm.doc.scrollLeft - val) < 2) return;
+ val = Math.min(val, cm.display.scroller.scrollWidth - cm.display.scroller.clientWidth);
+ cm.doc.scrollLeft = val;
+ alignHorizontally(cm);
+ if (cm.display.scroller.scrollLeft != val) cm.display.scroller.scrollLeft = val;
+ cm.display.scrollbars.setScrollLeft(val);
+ }
+
+ // Since the delta values reported on mouse wheel events are
+ // unstandardized between browsers and even browser versions, and
+ // generally horribly unpredictable, this code starts by measuring
+ // the scroll effect that the first few mouse wheel events have,
+ // and, from that, detects the way it can convert deltas to pixel
+ // offsets afterwards.
+ //
+ // The reason we want to know the amount a wheel event will scroll
+ // is that it gives us a chance to update the display before the
+ // actual scrolling happens, reducing flickering.
+
+ var wheelSamples = 0, wheelPixelsPerUnit = null;
+ // Fill in a browser-detected starting value on browsers where we
+ // know one. These don't have to be accurate -- the result of them
+ // being wrong would just be a slight flicker on the first wheel
+ // scroll (if it is large enough).
+ if (ie) wheelPixelsPerUnit = -.53;
+ else if (gecko) wheelPixelsPerUnit = 15;
+ else if (chrome) wheelPixelsPerUnit = -.7;
+ else if (safari) wheelPixelsPerUnit = -1/3;
+
+ var wheelEventDelta = function(e) {
+ var dx = e.wheelDeltaX, dy = e.wheelDeltaY;
+ if (dx == null && e.detail && e.axis == e.HORIZONTAL_AXIS) dx = e.detail;
+ if (dy == null && e.detail && e.axis == e.VERTICAL_AXIS) dy = e.detail;
+ else if (dy == null) dy = e.wheelDelta;
+ return {x: dx, y: dy};
+ };
+ CodeMirror.wheelEventPixels = function(e) {
+ var delta = wheelEventDelta(e);
+ delta.x *= wheelPixelsPerUnit;
+ delta.y *= wheelPixelsPerUnit;
+ return delta;
+ };
+
+ function onScrollWheel(cm, e) {
+ var delta = wheelEventDelta(e), dx = delta.x, dy = delta.y;
+
+ var display = cm.display, scroll = display.scroller;
+ // Quit if there's nothing to scroll here
+ if (!(dx && scroll.scrollWidth > scroll.clientWidth ||
+ dy && scroll.scrollHeight > scroll.clientHeight)) return;
+
+ // Webkit browsers on OS X abort momentum scrolls when the target
+ // of the scroll event is removed from the scrollable element.
+ // This hack (see related code in patchDisplay) makes sure the
+ // element is kept around.
+ if (dy && mac && webkit) {
+ outer: for (var cur = e.target, view = display.view; cur != scroll; cur = cur.parentNode) {
+ for (var i = 0; i < view.length; i++) {
+ if (view[i].node == cur) {
+ cm.display.currentWheelTarget = cur;
+ break outer;
+ }
+ }
+ }
+ }
+
+ // On some browsers, horizontal scrolling will cause redraws to
+ // happen before the gutter has been realigned, causing it to
+ // wriggle around in a most unseemly way. When we have an
+ // estimated pixels/delta value, we just handle horizontal
+ // scrolling entirely here. It'll be slightly off from native, but
+ // better than glitching out.
+ if (dx && !gecko && !presto && wheelPixelsPerUnit != null) {
+ if (dy)
+ setScrollTop(cm, Math.max(0, Math.min(scroll.scrollTop + dy * wheelPixelsPerUnit, scroll.scrollHeight - scroll.clientHeight)));
+ setScrollLeft(cm, Math.max(0, Math.min(scroll.scrollLeft + dx * wheelPixelsPerUnit, scroll.scrollWidth - scroll.clientWidth)));
+ e_preventDefault(e);
+ display.wheelStartX = null; // Abort measurement, if in progress
+ return;
+ }
+
+ // 'Project' the visible viewport to cover the area that is being
+ // scrolled into view (if we know enough to estimate it).
+ if (dy && wheelPixelsPerUnit != null) {
+ var pixels = dy * wheelPixelsPerUnit;
+ var top = cm.doc.scrollTop, bot = top + display.wrapper.clientHeight;
+ if (pixels < 0) top = Math.max(0, top + pixels - 50);
+ else bot = Math.min(cm.doc.height, bot + pixels + 50);
+ updateDisplaySimple(cm, {top: top, bottom: bot});
+ }
+
+ if (wheelSamples < 20) {
+ if (display.wheelStartX == null) {
+ display.wheelStartX = scroll.scrollLeft; display.wheelStartY = scroll.scrollTop;
+ display.wheelDX = dx; display.wheelDY = dy;
+ setTimeout(function() {
+ if (display.wheelStartX == null) return;
+ var movedX = scroll.scrollLeft - display.wheelStartX;
+ var movedY = scroll.scrollTop - display.wheelStartY;
+ var sample = (movedY && display.wheelDY && movedY / display.wheelDY) ||
+ (movedX && display.wheelDX && movedX / display.wheelDX);
+ display.wheelStartX = display.wheelStartY = null;
+ if (!sample) return;
+ wheelPixelsPerUnit = (wheelPixelsPerUnit * wheelSamples + sample) / (wheelSamples + 1);
+ ++wheelSamples;
+ }, 200);
+ } else {
+ display.wheelDX += dx; display.wheelDY += dy;
+ }
+ }
+ }
+
+ // KEY EVENTS
+
+ // Run a handler that was bound to a key.
+ function doHandleBinding(cm, bound, dropShift) {
+ if (typeof bound == "string") {
+ bound = commands[bound];
+ if (!bound) return false;
+ }
+ // Ensure previous input has been read, so that the handler sees a
+ // consistent view of the document
+ cm.display.input.ensurePolled();
+ var prevShift = cm.display.shift, done = false;
+ try {
+ if (isReadOnly(cm)) cm.state.suppressEdits = true;
+ if (dropShift) cm.display.shift = false;
+ done = bound(cm) != Pass;
+ } finally {
+ cm.display.shift = prevShift;
+ cm.state.suppressEdits = false;
+ }
+ return done;
+ }
+
+ function lookupKeyForEditor(cm, name, handle) {
+ for (var i = 0; i < cm.state.keyMaps.length; i++) {
+ var result = lookupKey(name, cm.state.keyMaps[i], handle, cm);
+ if (result) return result;
+ }
+ return (cm.options.extraKeys && lookupKey(name, cm.options.extraKeys, handle, cm))
+ || lookupKey(name, cm.options.keyMap, handle, cm);
+ }
+
+ var stopSeq = new Delayed;
+ function dispatchKey(cm, name, e, handle) {
+ var seq = cm.state.keySeq;
+ if (seq) {
+ if (isModifierKey(name)) return "handled";
+ stopSeq.set(50, function() {
+ if (cm.state.keySeq == seq) {
+ cm.state.keySeq = null;
+ cm.display.input.reset();
+ }
+ });
+ name = seq + " " + name;
+ }
+ var result = lookupKeyForEditor(cm, name, handle);
+
+ if (result == "multi")
+ cm.state.keySeq = name;
+ if (result == "handled")
+ signalLater(cm, "keyHandled", cm, name, e);
+
+ if (result == "handled" || result == "multi") {
+ e_preventDefault(e);
+ restartBlink(cm);
+ }
+
+ if (seq && !result && /\'$/.test(name)) {
+ e_preventDefault(e);
+ return true;
+ }
+ return !!result;
+ }
+
+ // Handle a key from the keydown event.
+ function handleKeyBinding(cm, e) {
+ var name = keyName(e, true);
+ if (!name) return false;
+
+ if (e.shiftKey && !cm.state.keySeq) {
+ // First try to resolve full name (including 'Shift-'). Failing
+ // that, see if there is a cursor-motion command (starting with
+ // 'go') bound to the keyname without 'Shift-'.
+ return dispatchKey(cm, "Shift-" + name, e, function(b) {return doHandleBinding(cm, b, true);})
+ || dispatchKey(cm, name, e, function(b) {
+ if (typeof b == "string" ? /^go[A-Z]/.test(b) : b.motion)
+ return doHandleBinding(cm, b);
+ });
+ } else {
+ return dispatchKey(cm, name, e, function(b) { return doHandleBinding(cm, b); });
+ }
+ }
+
+ // Handle a key from the keypress event
+ function handleCharBinding(cm, e, ch) {
+ return dispatchKey(cm, "'" + ch + "'", e,
+ function(b) { return doHandleBinding(cm, b, true); });
+ }
+
+ var lastStoppedKey = null;
+ function onKeyDown(e) {
+ var cm = this;
+ cm.curOp.focus = activeElt();
+ if (signalDOMEvent(cm, e)) return;
+ // IE does strange things with escape.
+ if (ie && ie_version < 11 && e.keyCode == 27) e.returnValue = false;
+ var code = e.keyCode;
+ cm.display.shift = code == 16 || e.shiftKey;
+ var handled = handleKeyBinding(cm, e);
+ if (presto) {
+ lastStoppedKey = handled ? code : null;
+ // Opera has no cut event... we try to at least catch the key combo
+ if (!handled && code == 88 && !hasCopyEvent && (mac ? e.metaKey : e.ctrlKey))
+ cm.replaceSelection("", null, "cut");
+ }
+
+ // Turn mouse into crosshair when Alt is held on Mac.
+ if (code == 18 && !/\bCodeMirror-crosshair\b/.test(cm.display.lineDiv.className))
+ showCrossHair(cm);
+ }
+
+ function showCrossHair(cm) {
+ var lineDiv = cm.display.lineDiv;
+ addClass(lineDiv, "CodeMirror-crosshair");
+
+ function up(e) {
+ if (e.keyCode == 18 || !e.altKey) {
+ rmClass(lineDiv, "CodeMirror-crosshair");
+ off(document, "keyup", up);
+ off(document, "mouseover", up);
+ }
+ }
+ on(document, "keyup", up);
+ on(document, "mouseover", up);
+ }
+
+ function onKeyUp(e) {
+ if (e.keyCode == 16) this.doc.sel.shift = false;
+ signalDOMEvent(this, e);
+ }
+
+ function onKeyPress(e) {
+ var cm = this;
+ if (eventInWidget(cm.display, e) || signalDOMEvent(cm, e) || e.ctrlKey && !e.altKey || mac && e.metaKey) return;
+ var keyCode = e.keyCode, charCode = e.charCode;
+ if (presto && keyCode == lastStoppedKey) {lastStoppedKey = null; e_preventDefault(e); return;}
+ if ((presto && (!e.which || e.which < 10)) && handleKeyBinding(cm, e)) return;
+ var ch = String.fromCharCode(charCode == null ? keyCode : charCode);
+ if (handleCharBinding(cm, e, ch)) return;
+ cm.display.input.onKeyPress(e);
+ }
+
+ // FOCUS/BLUR EVENTS
+
+ function delayBlurEvent(cm) {
+ cm.state.delayingBlurEvent = true;
+ setTimeout(function() {
+ if (cm.state.delayingBlurEvent) {
+ cm.state.delayingBlurEvent = false;
+ onBlur(cm);
+ }
+ }, 100);
+ }
+
+ function onFocus(cm) {
+ if (cm.state.delayingBlurEvent) cm.state.delayingBlurEvent = false;
+
+ if (cm.options.readOnly == "nocursor") return;
+ if (!cm.state.focused) {
+ signal(cm, "focus", cm);
+ cm.state.focused = true;
+ addClass(cm.display.wrapper, "CodeMirror-focused");
+ // This test prevents this from firing when a context
+ // menu is closed (since the input reset would kill the
+ // select-all detection hack)
+ if (!cm.curOp && cm.display.selForContextMenu != cm.doc.sel) {
+ cm.display.input.reset();
+ if (webkit) setTimeout(function() { cm.display.input.reset(true); }, 20); // Issue #1730
+ }
+ cm.display.input.receivedFocus();
+ }
+ restartBlink(cm);
+ }
+ function onBlur(cm) {
+ if (cm.state.delayingBlurEvent) return;
+
+ if (cm.state.focused) {
+ signal(cm, "blur", cm);
+ cm.state.focused = false;
+ rmClass(cm.display.wrapper, "CodeMirror-focused");
+ }
+ clearInterval(cm.display.blinker);
+ setTimeout(function() {if (!cm.state.focused) cm.display.shift = false;}, 150);
+ }
+
+ // CONTEXT MENU HANDLING
+
+ // To make the context menu work, we need to briefly unhide the
+ // textarea (making it as unobtrusive as possible) to let the
+ // right-click take effect on it.
+ function onContextMenu(cm, e) {
+ if (eventInWidget(cm.display, e) || contextMenuInGutter(cm, e)) return;
+ cm.display.input.onContextMenu(e);
+ }
+
+ function contextMenuInGutter(cm, e) {
+ if (!hasHandler(cm, "gutterContextMenu")) return false;
+ return gutterEvent(cm, e, "gutterContextMenu", false, signal);
+ }
+
+ // UPDATING
+
+ // Compute the position of the end of a change (its 'to' property
+ // refers to the pre-change end).
+ var changeEnd = CodeMirror.changeEnd = function(change) {
+ if (!change.text) return change.to;
+ return Pos(change.from.line + change.text.length - 1,
+ lst(change.text).length + (change.text.length == 1 ? change.from.ch : 0));
+ };
+
+ // Adjust a position to refer to the post-change position of the
+ // same text, or the end of the change if the change covers it.
+ function adjustForChange(pos, change) {
+ if (cmp(pos, change.from) < 0) return pos;
+ if (cmp(pos, change.to) <= 0) return changeEnd(change);
+
+ var line = pos.line + change.text.length - (change.to.line - change.from.line) - 1, ch = pos.ch;
+ if (pos.line == change.to.line) ch += changeEnd(change).ch - change.to.ch;
+ return Pos(line, ch);
+ }
+
+ function computeSelAfterChange(doc, change) {
+ var out = [];
+ for (var i = 0; i < doc.sel.ranges.length; i++) {
+ var range = doc.sel.ranges[i];
+ out.push(new Range(adjustForChange(range.anchor, change),
+ adjustForChange(range.head, change)));
+ }
+ return normalizeSelection(out, doc.sel.primIndex);
+ }
+
+ function offsetPos(pos, old, nw) {
+ if (pos.line == old.line)
+ return Pos(nw.line, pos.ch - old.ch + nw.ch);
+ else
+ return Pos(nw.line + (pos.line - old.line), pos.ch);
+ }
+
+ // Used by replaceSelections to allow moving the selection to the
+ // start or around the replaced test. Hint may be "start" or "around".
+ function computeReplacedSel(doc, changes, hint) {
+ var out = [];
+ var oldPrev = Pos(doc.first, 0), newPrev = oldPrev;
+ for (var i = 0; i < changes.length; i++) {
+ var change = changes[i];
+ var from = offsetPos(change.from, oldPrev, newPrev);
+ var to = offsetPos(changeEnd(change), oldPrev, newPrev);
+ oldPrev = change.to;
+ newPrev = to;
+ if (hint == "around") {
+ var range = doc.sel.ranges[i], inv = cmp(range.head, range.anchor) < 0;
+ out[i] = new Range(inv ? to : from, inv ? from : to);
+ } else {
+ out[i] = new Range(from, from);
+ }
+ }
+ return new Selection(out, doc.sel.primIndex);
+ }
+
+ // Allow "beforeChange" event handlers to influence a change
+ function filterChange(doc, change, update) {
+ var obj = {
+ canceled: false,
+ from: change.from,
+ to: change.to,
+ text: change.text,
+ origin: change.origin,
+ cancel: function() { this.canceled = true; }
+ };
+ if (update) obj.update = function(from, to, text, origin) {
+ if (from) this.from = clipPos(doc, from);
+ if (to) this.to = clipPos(doc, to);
+ if (text) this.text = text;
+ if (origin !== undefined) this.origin = origin;
+ };
+ signal(doc, "beforeChange", doc, obj);
+ if (doc.cm) signal(doc.cm, "beforeChange", doc.cm, obj);
+
+ if (obj.canceled) return null;
+ return {from: obj.from, to: obj.to, text: obj.text, origin: obj.origin};
+ }
+
+ // Apply a change to a document, and add it to the document's
+ // history, and propagating it to all linked documents.
+ function makeChange(doc, change, ignoreReadOnly) {
+ if (doc.cm) {
+ if (!doc.cm.curOp) return operation(doc.cm, makeChange)(doc, change, ignoreReadOnly);
+ if (doc.cm.state.suppressEdits) return;
+ }
+
+ if (hasHandler(doc, "beforeChange") || doc.cm && hasHandler(doc.cm, "beforeChange")) {
+ change = filterChange(doc, change, true);
+ if (!change) return;
+ }
+
+ // Possibly split or suppress the update based on the presence
+ // of read-only spans in its range.
+ var split = sawReadOnlySpans && !ignoreReadOnly && removeReadOnlyRanges(doc, change.from, change.to);
+ if (split) {
+ for (var i = split.length - 1; i >= 0; --i)
+ makeChangeInner(doc, {from: split[i].from, to: split[i].to, text: i ? [""] : change.text});
+ } else {
+ makeChangeInner(doc, change);
+ }
+ }
+
+ function makeChangeInner(doc, change) {
+ if (change.text.length == 1 && change.text[0] == "" && cmp(change.from, change.to) == 0) return;
+ var selAfter = computeSelAfterChange(doc, change);
+ addChangeToHistory(doc, change, selAfter, doc.cm ? doc.cm.curOp.id : NaN);
+
+ makeChangeSingleDoc(doc, change, selAfter, stretchSpansOverChange(doc, change));
+ var rebased = [];
+
+ linkedDocs(doc, function(doc, sharedHist) {
+ if (!sharedHist && indexOf(rebased, doc.history) == -1) {
+ rebaseHist(doc.history, change);
+ rebased.push(doc.history);
+ }
+ makeChangeSingleDoc(doc, change, null, stretchSpansOverChange(doc, change));
+ });
+ }
+
+ // Revert a change stored in a document's history.
+ function makeChangeFromHistory(doc, type, allowSelectionOnly) {
+ if (doc.cm && doc.cm.state.suppressEdits) return;
+
+ var hist = doc.history, event, selAfter = doc.sel;
+ var source = type == "undo" ? hist.done : hist.undone, dest = type == "undo" ? hist.undone : hist.done;
+
+ // Verify that there is a useable event (so that ctrl-z won't
+ // needlessly clear selection events)
+ for (var i = 0; i < source.length; i++) {
+ event = source[i];
+ if (allowSelectionOnly ? event.ranges && !event.equals(doc.sel) : !event.ranges)
+ break;
+ }
+ if (i == source.length) return;
+ hist.lastOrigin = hist.lastSelOrigin = null;
+
+ for (;;) {
+ event = source.pop();
+ if (event.ranges) {
+ pushSelectionToHistory(event, dest);
+ if (allowSelectionOnly && !event.equals(doc.sel)) {
+ setSelection(doc, event, {clearRedo: false});
+ return;
+ }
+ selAfter = event;
+ }
+ else break;
+ }
+
+ // Build up a reverse change object to add to the opposite history
+ // stack (redo when undoing, and vice versa).
+ var antiChanges = [];
+ pushSelectionToHistory(selAfter, dest);
+ dest.push({changes: antiChanges, generation: hist.generation});
+ hist.generation = event.generation || ++hist.maxGeneration;
+
+ var filter = hasHandler(doc, "beforeChange") || doc.cm && hasHandler(doc.cm, "beforeChange");
+
+ for (var i = event.changes.length - 1; i >= 0; --i) {
+ var change = event.changes[i];
+ change.origin = type;
+ if (filter && !filterChange(doc, change, false)) {
+ source.length = 0;
+ return;
+ }
+
+ antiChanges.push(historyChangeFromChange(doc, change));
+
+ var after = i ? computeSelAfterChange(doc, change) : lst(source);
+ makeChangeSingleDoc(doc, change, after, mergeOldSpans(doc, change));
+ if (!i && doc.cm) doc.cm.scrollIntoView({from: change.from, to: changeEnd(change)});
+ var rebased = [];
+
+ // Propagate to the linked documents
+ linkedDocs(doc, function(doc, sharedHist) {
+ if (!sharedHist && indexOf(rebased, doc.history) == -1) {
+ rebaseHist(doc.history, change);
+ rebased.push(doc.history);
+ }
+ makeChangeSingleDoc(doc, change, null, mergeOldSpans(doc, change));
+ });
+ }
+ }
+
+ // Sub-views need their line numbers shifted when text is added
+ // above or below them in the parent document.
+ function shiftDoc(doc, distance) {
+ if (distance == 0) return;
+ doc.first += distance;
+ doc.sel = new Selection(map(doc.sel.ranges, function(range) {
+ return new Range(Pos(range.anchor.line + distance, range.anchor.ch),
+ Pos(range.head.line + distance, range.head.ch));
+ }), doc.sel.primIndex);
+ if (doc.cm) {
+ regChange(doc.cm, doc.first, doc.first - distance, distance);
+ for (var d = doc.cm.display, l = d.viewFrom; l < d.viewTo; l++)
+ regLineChange(doc.cm, l, "gutter");
+ }
+ }
+
+ // More lower-level change function, handling only a single document
+ // (not linked ones).
+ function makeChangeSingleDoc(doc, change, selAfter, spans) {
+ if (doc.cm && !doc.cm.curOp)
+ return operation(doc.cm, makeChangeSingleDoc)(doc, change, selAfter, spans);
+
+ if (change.to.line < doc.first) {
+ shiftDoc(doc, change.text.length - 1 - (change.to.line - change.from.line));
+ return;
+ }
+ if (change.from.line > doc.lastLine()) return;
+
+ // Clip the change to the size of this doc
+ if (change.from.line < doc.first) {
+ var shift = change.text.length - 1 - (doc.first - change.from.line);
+ shiftDoc(doc, shift);
+ change = {from: Pos(doc.first, 0), to: Pos(change.to.line + shift, change.to.ch),
+ text: [lst(change.text)], origin: change.origin};
+ }
+ var last = doc.lastLine();
+ if (change.to.line > last) {
+ change = {from: change.from, to: Pos(last, getLine(doc, last).text.length),
+ text: [change.text[0]], origin: change.origin};
+ }
+
+ change.removed = getBetween(doc, change.from, change.to);
+
+ if (!selAfter) selAfter = computeSelAfterChange(doc, change);
+ if (doc.cm) makeChangeSingleDocInEditor(doc.cm, change, spans);
+ else updateDoc(doc, change, spans);
+ setSelectionNoUndo(doc, selAfter, sel_dontScroll);
+ }
+
+ // Handle the interaction of a change to a document with the editor
+ // that this document is part of.
+ function makeChangeSingleDocInEditor(cm, change, spans) {
+ var doc = cm.doc, display = cm.display, from = change.from, to = change.to;
+
+ var recomputeMaxLength = false, checkWidthStart = from.line;
+ if (!cm.options.lineWrapping) {
+ checkWidthStart = lineNo(visualLine(getLine(doc, from.line)));
+ doc.iter(checkWidthStart, to.line + 1, function(line) {
+ if (line == display.maxLine) {
+ recomputeMaxLength = true;
+ return true;
+ }
+ });
+ }
+
+ if (doc.sel.contains(change.from, change.to) > -1)
+ signalCursorActivity(cm);
+
+ updateDoc(doc, change, spans, estimateHeight(cm));
+
+ if (!cm.options.lineWrapping) {
+ doc.iter(checkWidthStart, from.line + change.text.length, function(line) {
+ var len = lineLength(line);
+ if (len > display.maxLineLength) {
+ display.maxLine = line;
+ display.maxLineLength = len;
+ display.maxLineChanged = true;
+ recomputeMaxLength = false;
+ }
+ });
+ if (recomputeMaxLength) cm.curOp.updateMaxLine = true;
+ }
+
+ // Adjust frontier, schedule worker
+ doc.frontier = Math.min(doc.frontier, from.line);
+ startWorker(cm, 400);
+
+ var lendiff = change.text.length - (to.line - from.line) - 1;
+ // Remember that these lines changed, for updating the display
+ if (change.full)
+ regChange(cm);
+ else if (from.line == to.line && change.text.length == 1 && !isWholeLineUpdate(cm.doc, change))
+ regLineChange(cm, from.line, "text");
+ else
+ regChange(cm, from.line, to.line + 1, lendiff);
+
+ var changesHandler = hasHandler(cm, "changes"), changeHandler = hasHandler(cm, "change");
+ if (changeHandler || changesHandler) {
+ var obj = {
+ from: from, to: to,
+ text: change.text,
+ removed: change.removed,
+ origin: change.origin
+ };
+ if (changeHandler) signalLater(cm, "change", cm, obj);
+ if (changesHandler) (cm.curOp.changeObjs || (cm.curOp.changeObjs = [])).push(obj);
+ }
+ cm.display.selForContextMenu = null;
+ }
+
+ function replaceRange(doc, code, from, to, origin) {
+ if (!to) to = from;
+ if (cmp(to, from) < 0) { var tmp = to; to = from; from = tmp; }
+ if (typeof code == "string") code = splitLines(code);
+ makeChange(doc, {from: from, to: to, text: code, origin: origin});
+ }
+
+ // SCROLLING THINGS INTO VIEW
+
+ // If an editor sits on the top or bottom of the window, partially
+ // scrolled out of view, this ensures that the cursor is visible.
+ function maybeScrollWindow(cm, coords) {
+ if (signalDOMEvent(cm, "scrollCursorIntoView")) return;
+
+ var display = cm.display, box = display.sizer.getBoundingClientRect(), doScroll = null;
+ if (coords.top + box.top < 0) doScroll = true;
+ else if (coords.bottom + box.top > (window.innerHeight || document.documentElement.clientHeight)) doScroll = false;
+ if (doScroll != null && !phantom) {
+ var scrollNode = elt("div", "\u200b", null, "position: absolute; top: " +
+ (coords.top - display.viewOffset - paddingTop(cm.display)) + "px; height: " +
+ (coords.bottom - coords.top + scrollGap(cm) + display.barHeight) + "px; left: " +
+ coords.left + "px; width: 2px;");
+ cm.display.lineSpace.appendChild(scrollNode);
+ scrollNode.scrollIntoView(doScroll);
+ cm.display.lineSpace.removeChild(scrollNode);
+ }
+ }
+
+ // Scroll a given position into view (immediately), verifying that
+ // it actually became visible (as line heights are accurately
+ // measured, the position of something may 'drift' during drawing).
+ function scrollPosIntoView(cm, pos, end, margin) {
+ if (margin == null) margin = 0;
+ for (var limit = 0; limit < 5; limit++) {
+ var changed = false, coords = cursorCoords(cm, pos);
+ var endCoords = !end || end == pos ? coords : cursorCoords(cm, end);
+ var scrollPos = calculateScrollPos(cm, Math.min(coords.left, endCoords.left),
+ Math.min(coords.top, endCoords.top) - margin,
+ Math.max(coords.left, endCoords.left),
+ Math.max(coords.bottom, endCoords.bottom) + margin);
+ var startTop = cm.doc.scrollTop, startLeft = cm.doc.scrollLeft;
+ if (scrollPos.scrollTop != null) {
+ setScrollTop(cm, scrollPos.scrollTop);
+ if (Math.abs(cm.doc.scrollTop - startTop) > 1) changed = true;
+ }
+ if (scrollPos.scrollLeft != null) {
+ setScrollLeft(cm, scrollPos.scrollLeft);
+ if (Math.abs(cm.doc.scrollLeft - startLeft) > 1) changed = true;
+ }
+ if (!changed) break;
+ }
+ return coords;
+ }
+
+ // Scroll a given set of coordinates into view (immediately).
+ function scrollIntoView(cm, x1, y1, x2, y2) {
+ var scrollPos = calculateScrollPos(cm, x1, y1, x2, y2);
+ if (scrollPos.scrollTop != null) setScrollTop(cm, scrollPos.scrollTop);
+ if (scrollPos.scrollLeft != null) setScrollLeft(cm, scrollPos.scrollLeft);
+ }
+
+ // Calculate a new scroll position needed to scroll the given
+ // rectangle into view. Returns an object with scrollTop and
+ // scrollLeft properties. When these are undefined, the
+ // vertical/horizontal position does not need to be adjusted.
+ function calculateScrollPos(cm, x1, y1, x2, y2) {
+ var display = cm.display, snapMargin = textHeight(cm.display);
+ if (y1 < 0) y1 = 0;
+ var screentop = cm.curOp && cm.curOp.scrollTop != null ? cm.curOp.scrollTop : display.scroller.scrollTop;
+ var screen = displayHeight(cm), result = {};
+ if (y2 - y1 > screen) y2 = y1 + screen;
+ var docBottom = cm.doc.height + paddingVert(display);
+ var atTop = y1 < snapMargin, atBottom = y2 > docBottom - snapMargin;
+ if (y1 < screentop) {
+ result.scrollTop = atTop ? 0 : y1;
+ } else if (y2 > screentop + screen) {
+ var newTop = Math.min(y1, (atBottom ? docBottom : y2) - screen);
+ if (newTop != screentop) result.scrollTop = newTop;
+ }
+
+ var screenleft = cm.curOp && cm.curOp.scrollLeft != null ? cm.curOp.scrollLeft : display.scroller.scrollLeft;
+ var screenw = displayWidth(cm) - (cm.options.fixedGutter ? display.gutters.offsetWidth : 0);
+ var tooWide = x2 - x1 > screenw;
+ if (tooWide) x2 = x1 + screenw;
+ if (x1 < 10)
+ result.scrollLeft = 0;
+ else if (x1 < screenleft)
+ result.scrollLeft = Math.max(0, x1 - (tooWide ? 0 : 10));
+ else if (x2 > screenw + screenleft - 3)
+ result.scrollLeft = x2 + (tooWide ? 0 : 10) - screenw;
+ return result;
+ }
+
+ // Store a relative adjustment to the scroll position in the current
+ // operation (to be applied when the operation finishes).
+ function addToScrollPos(cm, left, top) {
+ if (left != null || top != null) resolveScrollToPos(cm);
+ if (left != null)
+ cm.curOp.scrollLeft = (cm.curOp.scrollLeft == null ? cm.doc.scrollLeft : cm.curOp.scrollLeft) + left;
+ if (top != null)
+ cm.curOp.scrollTop = (cm.curOp.scrollTop == null ? cm.doc.scrollTop : cm.curOp.scrollTop) + top;
+ }
+
+ // Make sure that at the end of the operation the current cursor is
+ // shown.
+ function ensureCursorVisible(cm) {
+ resolveScrollToPos(cm);
+ var cur = cm.getCursor(), from = cur, to = cur;
+ if (!cm.options.lineWrapping) {
+ from = cur.ch ? Pos(cur.line, cur.ch - 1) : cur;
+ to = Pos(cur.line, cur.ch + 1);
+ }
+ cm.curOp.scrollToPos = {from: from, to: to, margin: cm.options.cursorScrollMargin, isCursor: true};
+ }
+
+ // When an operation has its scrollToPos property set, and another
+ // scroll action is applied before the end of the operation, this
+ // 'simulates' scrolling that position into view in a cheap way, so
+ // that the effect of intermediate scroll commands is not ignored.
+ function resolveScrollToPos(cm) {
+ var range = cm.curOp.scrollToPos;
+ if (range) {
+ cm.curOp.scrollToPos = null;
+ var from = estimateCoords(cm, range.from), to = estimateCoords(cm, range.to);
+ var sPos = calculateScrollPos(cm, Math.min(from.left, to.left),
+ Math.min(from.top, to.top) - range.margin,
+ Math.max(from.right, to.right),
+ Math.max(from.bottom, to.bottom) + range.margin);
+ cm.scrollTo(sPos.scrollLeft, sPos.scrollTop);
+ }
+ }
+
+ // API UTILITIES
+
+ // Indent the given line. The how parameter can be "smart",
+ // "add"/null, "subtract", or "prev". When aggressive is false
+ // (typically set to true for forced single-line indents), empty
+ // lines are not indented, and places where the mode returns Pass
+ // are left alone.
+ function indentLine(cm, n, how, aggressive) {
+ var doc = cm.doc, state;
+ if (how == null) how = "add";
+ if (how == "smart") {
+ // Fall back to "prev" when the mode doesn't have an indentation
+ // method.
+ if (!doc.mode.indent) how = "prev";
+ else state = getStateBefore(cm, n);
+ }
+
+ var tabSize = cm.options.tabSize;
+ var line = getLine(doc, n), curSpace = countColumn(line.text, null, tabSize);
+ if (line.stateAfter) line.stateAfter = null;
+ var curSpaceString = line.text.match(/^\s*/)[0], indentation;
+ if (!aggressive && !/\S/.test(line.text)) {
+ indentation = 0;
+ how = "not";
+ } else if (how == "smart") {
+ indentation = doc.mode.indent(state, line.text.slice(curSpaceString.length), line.text);
+ if (indentation == Pass || indentation > 150) {
+ if (!aggressive) return;
+ how = "prev";
+ }
+ }
+ if (how == "prev") {
+ if (n > doc.first) indentation = countColumn(getLine(doc, n-1).text, null, tabSize);
+ else indentation = 0;
+ } else if (how == "add") {
+ indentation = curSpace + cm.options.indentUnit;
+ } else if (how == "subtract") {
+ indentation = curSpace - cm.options.indentUnit;
+ } else if (typeof how == "number") {
+ indentation = curSpace + how;
+ }
+ indentation = Math.max(0, indentation);
+
+ var indentString = "", pos = 0;
+ if (cm.options.indentWithTabs)
+ for (var i = Math.floor(indentation / tabSize); i; --i) {pos += tabSize; indentString += "\t";}
+ if (pos < indentation) indentString += spaceStr(indentation - pos);
+
+ if (indentString != curSpaceString) {
+ replaceRange(doc, indentString, Pos(n, 0), Pos(n, curSpaceString.length), "+input");
+ line.stateAfter = null;
+ return true;
+ } else {
+ // Ensure that, if the cursor was in the whitespace at the start
+ // of the line, it is moved to the end of that space.
+ for (var i = 0; i < doc.sel.ranges.length; i++) {
+ var range = doc.sel.ranges[i];
+ if (range.head.line == n && range.head.ch < curSpaceString.length) {
+ var pos = Pos(n, curSpaceString.length);
+ replaceOneSelection(doc, i, new Range(pos, pos));
+ break;
+ }
+ }
+ }
+ }
+
+ // Utility for applying a change to a line by handle or number,
+ // returning the number and optionally registering the line as
+ // changed.
+ function changeLine(doc, handle, changeType, op) {
+ var no = handle, line = handle;
+ if (typeof handle == "number") line = getLine(doc, clipLine(doc, handle));
+ else no = lineNo(handle);
+ if (no == null) return null;
+ if (op(line, no) && doc.cm) regLineChange(doc.cm, no, changeType);
+ return line;
+ }
+
+ // Helper for deleting text near the selection(s), used to implement
+ // backspace, delete, and similar functionality.
+ function deleteNearSelection(cm, compute) {
+ var ranges = cm.doc.sel.ranges, kill = [];
+ // Build up a set of ranges to kill first, merging overlapping
+ // ranges.
+ for (var i = 0; i < ranges.length; i++) {
+ var toKill = compute(ranges[i]);
+ while (kill.length && cmp(toKill.from, lst(kill).to) <= 0) {
+ var replaced = kill.pop();
+ if (cmp(replaced.from, toKill.from) < 0) {
+ toKill.from = replaced.from;
+ break;
+ }
+ }
+ kill.push(toKill);
+ }
+ // Next, remove those actual ranges.
+ runInOp(cm, function() {
+ for (var i = kill.length - 1; i >= 0; i--)
+ replaceRange(cm.doc, "", kill[i].from, kill[i].to, "+delete");
+ ensureCursorVisible(cm);
+ });
+ }
+
+ // Used for horizontal relative motion. Dir is -1 or 1 (left or
+ // right), unit can be "char", "column" (like char, but doesn't
+ // cross line boundaries), "word" (across next word), or "group" (to
+ // the start of next group of word or non-word-non-whitespace
+ // chars). The visually param controls whether, in right-to-left
+ // text, direction 1 means to move towards the next index in the
+ // string, or towards the character to the right of the current
+ // position. The resulting position will have a hitSide=true
+ // property if it reached the end of the document.
+ function findPosH(doc, pos, dir, unit, visually) {
+ var line = pos.line, ch = pos.ch, origDir = dir;
+ var lineObj = getLine(doc, line);
+ var possible = true;
+ function findNextLine() {
+ var l = line + dir;
+ if (l < doc.first || l >= doc.first + doc.size) return (possible = false);
+ line = l;
+ return lineObj = getLine(doc, l);
+ }
+ function moveOnce(boundToLine) {
+ var next = (visually ? moveVisually : moveLogically)(lineObj, ch, dir, true);
+ if (next == null) {
+ if (!boundToLine && findNextLine()) {
+ if (visually) ch = (dir < 0 ? lineRight : lineLeft)(lineObj);
+ else ch = dir < 0 ? lineObj.text.length : 0;
+ } else return (possible = false);
+ } else ch = next;
+ return true;
+ }
+
+ if (unit == "char") moveOnce();
+ else if (unit == "column") moveOnce(true);
+ else if (unit == "word" || unit == "group") {
+ var sawType = null, group = unit == "group";
+ var helper = doc.cm && doc.cm.getHelper(pos, "wordChars");
+ for (var first = true;; first = false) {
+ if (dir < 0 && !moveOnce(!first)) break;
+ var cur = lineObj.text.charAt(ch) || "\n";
+ var type = isWordChar(cur, helper) ? "w"
+ : group && cur == "\n" ? "n"
+ : !group || /\s/.test(cur) ? null
+ : "p";
+ if (group && !first && !type) type = "s";
+ if (sawType && sawType != type) {
+ if (dir < 0) {dir = 1; moveOnce();}
+ break;
+ }
+
+ if (type) sawType = type;
+ if (dir > 0 && !moveOnce(!first)) break;
+ }
+ }
+ var result = skipAtomic(doc, Pos(line, ch), origDir, true);
+ if (!possible) result.hitSide = true;
+ return result;
+ }
+
+ // For relative vertical movement. Dir may be -1 or 1. Unit can be
+ // "page" or "line". The resulting position will have a hitSide=true
+ // property if it reached the end of the document.
+ function findPosV(cm, pos, dir, unit) {
+ var doc = cm.doc, x = pos.left, y;
+ if (unit == "page") {
+ var pageSize = Math.min(cm.display.wrapper.clientHeight, window.innerHeight || document.documentElement.clientHeight);
+ y = pos.top + dir * (pageSize - (dir < 0 ? 1.5 : .5) * textHeight(cm.display));
+ } else if (unit == "line") {
+ y = dir > 0 ? pos.bottom + 3 : pos.top - 3;
+ }
+ for (;;) {
+ var target = coordsChar(cm, x, y);
+ if (!target.outside) break;
+ if (dir < 0 ? y <= 0 : y >= doc.height) { target.hitSide = true; break; }
+ y += dir * 5;
+ }
+ return target;
+ }
+
+ // EDITOR METHODS
+
+ // The publicly visible API. Note that methodOp(f) means
+ // 'wrap f in an operation, performed on its `this` parameter'.
+
+ // This is not the complete set of editor methods. Most of the
+ // methods defined on the Doc type are also injected into
+ // CodeMirror.prototype, for backwards compatibility and
+ // convenience.
+
+ CodeMirror.prototype = {
+ constructor: CodeMirror,
+ focus: function(){window.focus(); this.display.input.focus();},
+
+ setOption: function(option, value) {
+ var options = this.options, old = options[option];
+ if (options[option] == value && option != "mode") return;
+ options[option] = value;
+ if (optionHandlers.hasOwnProperty(option))
+ operation(this, optionHandlers[option])(this, value, old);
+ },
+
+ getOption: function(option) {return this.options[option];},
+ getDoc: function() {return this.doc;},
+
+ addKeyMap: function(map, bottom) {
+ this.state.keyMaps[bottom ? "push" : "unshift"](getKeyMap(map));
+ },
+ removeKeyMap: function(map) {
+ var maps = this.state.keyMaps;
+ for (var i = 0; i < maps.length; ++i)
+ if (maps[i] == map || maps[i].name == map) {
+ maps.splice(i, 1);
+ return true;
+ }
+ },
+
+ addOverlay: methodOp(function(spec, options) {
+ var mode = spec.token ? spec : CodeMirror.getMode(this.options, spec);
+ if (mode.startState) throw new Error("Overlays may not be stateful.");
+ this.state.overlays.push({mode: mode, modeSpec: spec, opaque: options && options.opaque});
+ this.state.modeGen++;
+ regChange(this);
+ }),
+ removeOverlay: methodOp(function(spec) {
+ var overlays = this.state.overlays;
+ for (var i = 0; i < overlays.length; ++i) {
+ var cur = overlays[i].modeSpec;
+ if (cur == spec || typeof spec == "string" && cur.name == spec) {
+ overlays.splice(i, 1);
+ this.state.modeGen++;
+ regChange(this);
+ return;
+ }
+ }
+ }),
+
+ indentLine: methodOp(function(n, dir, aggressive) {
+ if (typeof dir != "string" && typeof dir != "number") {
+ if (dir == null) dir = this.options.smartIndent ? "smart" : "prev";
+ else dir = dir ? "add" : "subtract";
+ }
+ if (isLine(this.doc, n)) indentLine(this, n, dir, aggressive);
+ }),
+ indentSelection: methodOp(function(how) {
+ var ranges = this.doc.sel.ranges, end = -1;
+ for (var i = 0; i < ranges.length; i++) {
+ var range = ranges[i];
+ if (!range.empty()) {
+ var from = range.from(), to = range.to();
+ var start = Math.max(end, from.line);
+ end = Math.min(this.lastLine(), to.line - (to.ch ? 0 : 1)) + 1;
+ for (var j = start; j < end; ++j)
+ indentLine(this, j, how);
+ var newRanges = this.doc.sel.ranges;
+ if (from.ch == 0 && ranges.length == newRanges.length && newRanges[i].from().ch > 0)
+ replaceOneSelection(this.doc, i, new Range(from, newRanges[i].to()), sel_dontScroll);
+ } else if (range.head.line > end) {
+ indentLine(this, range.head.line, how, true);
+ end = range.head.line;
+ if (i == this.doc.sel.primIndex) ensureCursorVisible(this);
+ }
+ }
+ }),
+
+ // Fetch the parser token for a given character. Useful for hacks
+ // that want to inspect the mode state (say, for completion).
+ getTokenAt: function(pos, precise) {
+ return takeToken(this, pos, precise);
+ },
+
+ getLineTokens: function(line, precise) {
+ return takeToken(this, Pos(line), precise, true);
+ },
+
+ getTokenTypeAt: function(pos) {
+ pos = clipPos(this.doc, pos);
+ var styles = getLineStyles(this, getLine(this.doc, pos.line));
+ var before = 0, after = (styles.length - 1) / 2, ch = pos.ch;
+ var type;
+ if (ch == 0) type = styles[2];
+ else for (;;) {
+ var mid = (before + after) >> 1;
+ if ((mid ? styles[mid * 2 - 1] : 0) >= ch) after = mid;
+ else if (styles[mid * 2 + 1] < ch) before = mid + 1;
+ else { type = styles[mid * 2 + 2]; break; }
+ }
+ var cut = type ? type.indexOf("cm-overlay ") : -1;
+ return cut < 0 ? type : cut == 0 ? null : type.slice(0, cut - 1);
+ },
+
+ getModeAt: function(pos) {
+ var mode = this.doc.mode;
+ if (!mode.innerMode) return mode;
+ return CodeMirror.innerMode(mode, this.getTokenAt(pos).state).mode;
+ },
+
+ getHelper: function(pos, type) {
+ return this.getHelpers(pos, type)[0];
+ },
+
+ getHelpers: function(pos, type) {
+ var found = [];
+ if (!helpers.hasOwnProperty(type)) return found;
+ var help = helpers[type], mode = this.getModeAt(pos);
+ if (typeof mode[type] == "string") {
+ if (help[mode[type]]) found.push(help[mode[type]]);
+ } else if (mode[type]) {
+ for (var i = 0; i < mode[type].length; i++) {
+ var val = help[mode[type][i]];
+ if (val) found.push(val);
+ }
+ } else if (mode.helperType && help[mode.helperType]) {
+ found.push(help[mode.helperType]);
+ } else if (help[mode.name]) {
+ found.push(help[mode.name]);
+ }
+ for (var i = 0; i < help._global.length; i++) {
+ var cur = help._global[i];
+ if (cur.pred(mode, this) && indexOf(found, cur.val) == -1)
+ found.push(cur.val);
+ }
+ return found;
+ },
+
+ getStateAfter: function(line, precise) {
+ var doc = this.doc;
+ line = clipLine(doc, line == null ? doc.first + doc.size - 1: line);
+ return getStateBefore(this, line + 1, precise);
+ },
+
+ cursorCoords: function(start, mode) {
+ var pos, range = this.doc.sel.primary();
+ if (start == null) pos = range.head;
+ else if (typeof start == "object") pos = clipPos(this.doc, start);
+ else pos = start ? range.from() : range.to();
+ return cursorCoords(this, pos, mode || "page");
+ },
+
+ charCoords: function(pos, mode) {
+ return charCoords(this, clipPos(this.doc, pos), mode || "page");
+ },
+
+ coordsChar: function(coords, mode) {
+ coords = fromCoordSystem(this, coords, mode || "page");
+ return coordsChar(this, coords.left, coords.top);
+ },
+
+ lineAtHeight: function(height, mode) {
+ height = fromCoordSystem(this, {top: height, left: 0}, mode || "page").top;
+ return lineAtHeight(this.doc, height + this.display.viewOffset);
+ },
+ heightAtLine: function(line, mode) {
+ var end = false, lineObj;
+ if (typeof line == "number") {
+ var last = this.doc.first + this.doc.size - 1;
+ if (line < this.doc.first) line = this.doc.first;
+ else if (line > last) { line = last; end = true; }
+ lineObj = getLine(this.doc, line);
+ } else {
+ lineObj = line;
+ }
+ return intoCoordSystem(this, lineObj, {top: 0, left: 0}, mode || "page").top +
+ (end ? this.doc.height - heightAtLine(lineObj) : 0);
+ },
+
+ defaultTextHeight: function() { return textHeight(this.display); },
+ defaultCharWidth: function() { return charWidth(this.display); },
+
+ setGutterMarker: methodOp(function(line, gutterID, value) {
+ return changeLine(this.doc, line, "gutter", function(line) {
+ var markers = line.gutterMarkers || (line.gutterMarkers = {});
+ markers[gutterID] = value;
+ if (!value && isEmpty(markers)) line.gutterMarkers = null;
+ return true;
+ });
+ }),
+
+ clearGutter: methodOp(function(gutterID) {
+ var cm = this, doc = cm.doc, i = doc.first;
+ doc.iter(function(line) {
+ if (line.gutterMarkers && line.gutterMarkers[gutterID]) {
+ line.gutterMarkers[gutterID] = null;
+ regLineChange(cm, i, "gutter");
+ if (isEmpty(line.gutterMarkers)) line.gutterMarkers = null;
+ }
+ ++i;
+ });
+ }),
+
+ lineInfo: function(line) {
+ if (typeof line == "number") {
+ if (!isLine(this.doc, line)) return null;
+ var n = line;
+ line = getLine(this.doc, line);
+ if (!line) return null;
+ } else {
+ var n = lineNo(line);
+ if (n == null) return null;
+ }
+ return {line: n, handle: line, text: line.text, gutterMarkers: line.gutterMarkers,
+ textClass: line.textClass, bgClass: line.bgClass, wrapClass: line.wrapClass,
+ widgets: line.widgets};
+ },
+
+ getViewport: function() { return {from: this.display.viewFrom, to: this.display.viewTo};},
+
+ addWidget: function(pos, node, scroll, vert, horiz) {
+ var display = this.display;
+ pos = cursorCoords(this, clipPos(this.doc, pos));
+ var top = pos.bottom, left = pos.left;
+ node.style.position = "absolute";
+ node.setAttribute("cm-ignore-events", "true");
+ this.display.input.setUneditable(node);
+ display.sizer.appendChild(node);
+ if (vert == "over") {
+ top = pos.top;
+ } else if (vert == "above" || vert == "near") {
+ var vspace = Math.max(display.wrapper.clientHeight, this.doc.height),
+ hspace = Math.max(display.sizer.clientWidth, display.lineSpace.clientWidth);
+ // Default to positioning above (if specified and possible); otherwise default to positioning below
+ if ((vert == 'above' || pos.bottom + node.offsetHeight > vspace) && pos.top > node.offsetHeight)
+ top = pos.top - node.offsetHeight;
+ else if (pos.bottom + node.offsetHeight <= vspace)
+ top = pos.bottom;
+ if (left + node.offsetWidth > hspace)
+ left = hspace - node.offsetWidth;
+ }
+ node.style.top = top + "px";
+ node.style.left = node.style.right = "";
+ if (horiz == "right") {
+ left = display.sizer.clientWidth - node.offsetWidth;
+ node.style.right = "0px";
+ } else {
+ if (horiz == "left") left = 0;
+ else if (horiz == "middle") left = (display.sizer.clientWidth - node.offsetWidth) / 2;
+ node.style.left = left + "px";
+ }
+ if (scroll)
+ scrollIntoView(this, left, top, left + node.offsetWidth, top + node.offsetHeight);
+ },
+
+ triggerOnKeyDown: methodOp(onKeyDown),
+ triggerOnKeyPress: methodOp(onKeyPress),
+ triggerOnKeyUp: onKeyUp,
+
+ execCommand: function(cmd) {
+ if (commands.hasOwnProperty(cmd))
+ return commands[cmd](this);
+ },
+
+ findPosH: function(from, amount, unit, visually) {
+ var dir = 1;
+ if (amount < 0) { dir = -1; amount = -amount; }
+ for (var i = 0, cur = clipPos(this.doc, from); i < amount; ++i) {
+ cur = findPosH(this.doc, cur, dir, unit, visually);
+ if (cur.hitSide) break;
+ }
+ return cur;
+ },
+
+ moveH: methodOp(function(dir, unit) {
+ var cm = this;
+ cm.extendSelectionsBy(function(range) {
+ if (cm.display.shift || cm.doc.extend || range.empty())
+ return findPosH(cm.doc, range.head, dir, unit, cm.options.rtlMoveVisually);
+ else
+ return dir < 0 ? range.from() : range.to();
+ }, sel_move);
+ }),
+
+ deleteH: methodOp(function(dir, unit) {
+ var sel = this.doc.sel, doc = this.doc;
+ if (sel.somethingSelected())
+ doc.replaceSelection("", null, "+delete");
+ else
+ deleteNearSelection(this, function(range) {
+ var other = findPosH(doc, range.head, dir, unit, false);
+ return dir < 0 ? {from: other, to: range.head} : {from: range.head, to: other};
+ });
+ }),
+
+ findPosV: function(from, amount, unit, goalColumn) {
+ var dir = 1, x = goalColumn;
+ if (amount < 0) { dir = -1; amount = -amount; }
+ for (var i = 0, cur = clipPos(this.doc, from); i < amount; ++i) {
+ var coords = cursorCoords(this, cur, "div");
+ if (x == null) x = coords.left;
+ else coords.left = x;
+ cur = findPosV(this, coords, dir, unit);
+ if (cur.hitSide) break;
+ }
+ return cur;
+ },
+
+ moveV: methodOp(function(dir, unit) {
+ var cm = this, doc = this.doc, goals = [];
+ var collapse = !cm.display.shift && !doc.extend && doc.sel.somethingSelected();
+ doc.extendSelectionsBy(function(range) {
+ if (collapse)
+ return dir < 0 ? range.from() : range.to();
+ var headPos = cursorCoords(cm, range.head, "div");
+ if (range.goalColumn != null) headPos.left = range.goalColumn;
+ goals.push(headPos.left);
+ var pos = findPosV(cm, headPos, dir, unit);
+ if (unit == "page" && range == doc.sel.primary())
+ addToScrollPos(cm, null, charCoords(cm, pos, "div").top - headPos.top);
+ return pos;
+ }, sel_move);
+ if (goals.length) for (var i = 0; i < doc.sel.ranges.length; i++)
+ doc.sel.ranges[i].goalColumn = goals[i];
+ }),
+
+ // Find the word at the given position (as returned by coordsChar).
+ findWordAt: function(pos) {
+ var doc = this.doc, line = getLine(doc, pos.line).text;
+ var start = pos.ch, end = pos.ch;
+ if (line) {
+ var helper = this.getHelper(pos, "wordChars");
+ if ((pos.xRel < 0 || end == line.length) && start) --start; else ++end;
+ var startChar = line.charAt(start);
+ var check = isWordChar(startChar, helper)
+ ? function(ch) { return isWordChar(ch, helper); }
+ : /\s/.test(startChar) ? function(ch) {return /\s/.test(ch);}
+ : function(ch) {return !/\s/.test(ch) && !isWordChar(ch);};
+ while (start > 0 && check(line.charAt(start - 1))) --start;
+ while (end < line.length && check(line.charAt(end))) ++end;
+ }
+ return new Range(Pos(pos.line, start), Pos(pos.line, end));
+ },
+
+ toggleOverwrite: function(value) {
+ if (value != null && value == this.state.overwrite) return;
+ if (this.state.overwrite = !this.state.overwrite)
+ addClass(this.display.cursorDiv, "CodeMirror-overwrite");
+ else
+ rmClass(this.display.cursorDiv, "CodeMirror-overwrite");
+
+ signal(this, "overwriteToggle", this, this.state.overwrite);
+ },
+ hasFocus: function() { return this.display.input.getField() == activeElt(); },
+
+ scrollTo: methodOp(function(x, y) {
+ if (x != null || y != null) resolveScrollToPos(this);
+ if (x != null) this.curOp.scrollLeft = x;
+ if (y != null) this.curOp.scrollTop = y;
+ }),
+ getScrollInfo: function() {
+ var scroller = this.display.scroller;
+ return {left: scroller.scrollLeft, top: scroller.scrollTop,
+ height: scroller.scrollHeight - scrollGap(this) - this.display.barHeight,
+ width: scroller.scrollWidth - scrollGap(this) - this.display.barWidth,
+ clientHeight: displayHeight(this), clientWidth: displayWidth(this)};
+ },
+
+ scrollIntoView: methodOp(function(range, margin) {
+ if (range == null) {
+ range = {from: this.doc.sel.primary().head, to: null};
+ if (margin == null) margin = this.options.cursorScrollMargin;
+ } else if (typeof range == "number") {
+ range = {from: Pos(range, 0), to: null};
+ } else if (range.from == null) {
+ range = {from: range, to: null};
+ }
+ if (!range.to) range.to = range.from;
+ range.margin = margin || 0;
+
+ if (range.from.line != null) {
+ resolveScrollToPos(this);
+ this.curOp.scrollToPos = range;
+ } else {
+ var sPos = calculateScrollPos(this, Math.min(range.from.left, range.to.left),
+ Math.min(range.from.top, range.to.top) - range.margin,
+ Math.max(range.from.right, range.to.right),
+ Math.max(range.from.bottom, range.to.bottom) + range.margin);
+ this.scrollTo(sPos.scrollLeft, sPos.scrollTop);
+ }
+ }),
+
+ setSize: methodOp(function(width, height) {
+ var cm = this;
+ function interpret(val) {
+ return typeof val == "number" || /^\d+$/.test(String(val)) ? val + "px" : val;
+ }
+ if (width != null) cm.display.wrapper.style.width = interpret(width);
+ if (height != null) cm.display.wrapper.style.height = interpret(height);
+ if (cm.options.lineWrapping) clearLineMeasurementCache(this);
+ var lineNo = cm.display.viewFrom;
+ cm.doc.iter(lineNo, cm.display.viewTo, function(line) {
+ if (line.widgets) for (var i = 0; i < line.widgets.length; i++)
+ if (line.widgets[i].noHScroll) { regLineChange(cm, lineNo, "widget"); break; }
+ ++lineNo;
+ });
+ cm.curOp.forceUpdate = true;
+ signal(cm, "refresh", this);
+ }),
+
+ operation: function(f){return runInOp(this, f);},
+
+ refresh: methodOp(function() {
+ var oldHeight = this.display.cachedTextHeight;
+ regChange(this);
+ this.curOp.forceUpdate = true;
+ clearCaches(this);
+ this.scrollTo(this.doc.scrollLeft, this.doc.scrollTop);
+ updateGutterSpace(this);
+ if (oldHeight == null || Math.abs(oldHeight - textHeight(this.display)) > .5)
+ estimateLineHeights(this);
+ signal(this, "refresh", this);
+ }),
+
+ swapDoc: methodOp(function(doc) {
+ var old = this.doc;
+ old.cm = null;
+ attachDoc(this, doc);
+ clearCaches(this);
+ this.display.input.reset();
+ this.scrollTo(doc.scrollLeft, doc.scrollTop);
+ this.curOp.forceScroll = true;
+ signalLater(this, "swapDoc", this, old);
+ return old;
+ }),
+
+ getInputField: function(){return this.display.input.getField();},
+ getWrapperElement: function(){return this.display.wrapper;},
+ getScrollerElement: function(){return this.display.scroller;},
+ getGutterElement: function(){return this.display.gutters;}
+ };
+ eventMixin(CodeMirror);
+
+ // OPTION DEFAULTS
+
+ // The default configuration options.
+ var defaults = CodeMirror.defaults = {};
+ // Functions to run when options are changed.
+ var optionHandlers = CodeMirror.optionHandlers = {};
+
+ function option(name, deflt, handle, notOnInit) {
+ CodeMirror.defaults[name] = deflt;
+ if (handle) optionHandlers[name] =
+ notOnInit ? function(cm, val, old) {if (old != Init) handle(cm, val, old);} : handle;
+ }
+
+ // Passed to option handlers when there is no old value.
+ var Init = CodeMirror.Init = {toString: function(){return "CodeMirror.Init";}};
+
+ // These two are, on init, called from the constructor because they
+ // have to be initialized before the editor can start at all.
+ option("value", "", function(cm, val) {
+ cm.setValue(val);
+ }, true);
+ option("mode", null, function(cm, val) {
+ cm.doc.modeOption = val;
+ loadMode(cm);
+ }, true);
+
+ option("indentUnit", 2, loadMode, true);
+ option("indentWithTabs", false);
+ option("smartIndent", true);
+ option("tabSize", 4, function(cm) {
+ resetModeState(cm);
+ clearCaches(cm);
+ regChange(cm);
+ }, true);
+ option("specialChars", /[\t\u0000-\u0019\u00ad\u200b-\u200f\u2028\u2029\ufeff]/g, function(cm, val, old) {
+ cm.state.specialChars = new RegExp(val.source + (val.test("\t") ? "" : "|\t"), "g");
+ if (old != CodeMirror.Init) cm.refresh();
+ });
+ option("specialCharPlaceholder", defaultSpecialCharPlaceholder, function(cm) {cm.refresh();}, true);
+ option("electricChars", true);
+ option("inputStyle", mobile ? "contenteditable" : "textarea", function() {
+ throw new Error("inputStyle can not (yet) be changed in a running editor"); // FIXME
+ }, true);
+ option("rtlMoveVisually", !windows);
+ option("wholeLineUpdateBefore", true);
+
+ option("theme", "default", function(cm) {
+ themeChanged(cm);
+ guttersChanged(cm);
+ }, true);
+ option("keyMap", "default", function(cm, val, old) {
+ var next = getKeyMap(val);
+ var prev = old != CodeMirror.Init && getKeyMap(old);
+ if (prev && prev.detach) prev.detach(cm, next);
+ if (next.attach) next.attach(cm, prev || null);
+ });
+ option("extraKeys", null);
+
+ option("lineWrapping", false, wrappingChanged, true);
+ option("gutters", [], function(cm) {
+ setGuttersForLineNumbers(cm.options);
+ guttersChanged(cm);
+ }, true);
+ option("fixedGutter", true, function(cm, val) {
+ cm.display.gutters.style.left = val ? compensateForHScroll(cm.display) + "px" : "0";
+ cm.refresh();
+ }, true);
+ option("coverGutterNextToScrollbar", false, function(cm) {updateScrollbars(cm);}, true);
+ option("scrollbarStyle", "native", function(cm) {
+ initScrollbars(cm);
+ updateScrollbars(cm);
+ cm.display.scrollbars.setScrollTop(cm.doc.scrollTop);
+ cm.display.scrollbars.setScrollLeft(cm.doc.scrollLeft);
+ }, true);
+ option("lineNumbers", false, function(cm) {
+ setGuttersForLineNumbers(cm.options);
+ guttersChanged(cm);
+ }, true);
+ option("firstLineNumber", 1, guttersChanged, true);
+ option("lineNumberFormatter", function(integer) {return integer;}, guttersChanged, true);
+ option("showCursorWhenSelecting", false, updateSelection, true);
+
+ option("resetSelectionOnContextMenu", true);
+ option("lineWiseCopyCut", true);
+
+ option("readOnly", false, function(cm, val) {
+ if (val == "nocursor") {
+ onBlur(cm);
+ cm.display.input.blur();
+ cm.display.disabled = true;
+ } else {
+ cm.display.disabled = false;
+ if (!val) cm.display.input.reset();
+ }
+ });
+ option("disableInput", false, function(cm, val) {if (!val) cm.display.input.reset();}, true);
+ option("dragDrop", true, dragDropChanged);
+
+ option("cursorBlinkRate", 530);
+ option("cursorScrollMargin", 0);
+ option("cursorHeight", 1, updateSelection, true);
+ option("singleCursorHeightPerLine", true, updateSelection, true);
+ option("workTime", 100);
+ option("workDelay", 100);
+ option("flattenSpans", true, resetModeState, true);
+ option("addModeClass", false, resetModeState, true);
+ option("pollInterval", 100);
+ option("undoDepth", 200, function(cm, val){cm.doc.history.undoDepth = val;});
+ option("historyEventDelay", 1250);
+ option("viewportMargin", 10, function(cm){cm.refresh();}, true);
+ option("maxHighlightLength", 10000, resetModeState, true);
+ option("moveInputWithCursor", true, function(cm, val) {
+ if (!val) cm.display.input.resetPosition();
+ });
+
+ option("tabindex", null, function(cm, val) {
+ cm.display.input.getField().tabIndex = val || "";
+ });
+ option("autofocus", null);
+
+ // MODE DEFINITION AND QUERYING
+
+ // Known modes, by name and by MIME
+ var modes = CodeMirror.modes = {}, mimeModes = CodeMirror.mimeModes = {};
+
+ // Extra arguments are stored as the mode's dependencies, which is
+ // used by (legacy) mechanisms like loadmode.js to automatically
+ // load a mode. (Preferred mechanism is the require/define calls.)
+ CodeMirror.defineMode = function(name, mode) {
+ if (!CodeMirror.defaults.mode && name != "null") CodeMirror.defaults.mode = name;
+ if (arguments.length > 2)
+ mode.dependencies = Array.prototype.slice.call(arguments, 2);
+ modes[name] = mode;
+ };
+
+ CodeMirror.defineMIME = function(mime, spec) {
+ mimeModes[mime] = spec;
+ };
+
+ // Given a MIME type, a {name, ...options} config object, or a name
+ // string, return a mode config object.
+ CodeMirror.resolveMode = function(spec) {
+ if (typeof spec == "string" && mimeModes.hasOwnProperty(spec)) {
+ spec = mimeModes[spec];
+ } else if (spec && typeof spec.name == "string" && mimeModes.hasOwnProperty(spec.name)) {
+ var found = mimeModes[spec.name];
+ if (typeof found == "string") found = {name: found};
+ spec = createObj(found, spec);
+ spec.name = found.name;
+ } else if (typeof spec == "string" && /^[\w\-]+\/[\w\-]+\+xml$/.test(spec)) {
+ return CodeMirror.resolveMode("application/xml");
+ }
+ if (typeof spec == "string") return {name: spec};
+ else return spec || {name: "null"};
+ };
+
+ // Given a mode spec (anything that resolveMode accepts), find and
+ // initialize an actual mode object.
+ CodeMirror.getMode = function(options, spec) {
+ var spec = CodeMirror.resolveMode(spec);
+ var mfactory = modes[spec.name];
+ if (!mfactory) return CodeMirror.getMode(options, "text/plain");
+ var modeObj = mfactory(options, spec);
+ if (modeExtensions.hasOwnProperty(spec.name)) {
+ var exts = modeExtensions[spec.name];
+ for (var prop in exts) {
+ if (!exts.hasOwnProperty(prop)) continue;
+ if (modeObj.hasOwnProperty(prop)) modeObj["_" + prop] = modeObj[prop];
+ modeObj[prop] = exts[prop];
+ }
+ }
+ modeObj.name = spec.name;
+ if (spec.helperType) modeObj.helperType = spec.helperType;
+ if (spec.modeProps) for (var prop in spec.modeProps)
+ modeObj[prop] = spec.modeProps[prop];
+
+ return modeObj;
+ };
+
+ // Minimal default mode.
+ CodeMirror.defineMode("null", function() {
+ return {token: function(stream) {stream.skipToEnd();}};
+ });
+ CodeMirror.defineMIME("text/plain", "null");
+
+ // This can be used to attach properties to mode objects from
+ // outside the actual mode definition.
+ var modeExtensions = CodeMirror.modeExtensions = {};
+ CodeMirror.extendMode = function(mode, properties) {
+ var exts = modeExtensions.hasOwnProperty(mode) ? modeExtensions[mode] : (modeExtensions[mode] = {});
+ copyObj(properties, exts);
+ };
+
+ // EXTENSIONS
+
+ CodeMirror.defineExtension = function(name, func) {
+ CodeMirror.prototype[name] = func;
+ };
+ CodeMirror.defineDocExtension = function(name, func) {
+ Doc.prototype[name] = func;
+ };
+ CodeMirror.defineOption = option;
+
+ var initHooks = [];
+ CodeMirror.defineInitHook = function(f) {initHooks.push(f);};
+
+ var helpers = CodeMirror.helpers = {};
+ CodeMirror.registerHelper = function(type, name, value) {
+ if (!helpers.hasOwnProperty(type)) helpers[type] = CodeMirror[type] = {_global: []};
+ helpers[type][name] = value;
+ };
+ CodeMirror.registerGlobalHelper = function(type, name, predicate, value) {
+ CodeMirror.registerHelper(type, name, value);
+ helpers[type]._global.push({pred: predicate, val: value});
+ };
+
+ // MODE STATE HANDLING
+
+ // Utility functions for working with state. Exported because nested
+ // modes need to do this for their inner modes.
+
+ var copyState = CodeMirror.copyState = function(mode, state) {
+ if (state === true) return state;
+ if (mode.copyState) return mode.copyState(state);
+ var nstate = {};
+ for (var n in state) {
+ var val = state[n];
+ if (val instanceof Array) val = val.concat([]);
+ nstate[n] = val;
+ }
+ return nstate;
+ };
+
+ var startState = CodeMirror.startState = function(mode, a1, a2) {
+ return mode.startState ? mode.startState(a1, a2) : true;
+ };
+
+ // Given a mode and a state (for that mode), find the inner mode and
+ // state at the position that the state refers to.
+ CodeMirror.innerMode = function(mode, state) {
+ while (mode.innerMode) {
+ var info = mode.innerMode(state);
+ if (!info || info.mode == mode) break;
+ state = info.state;
+ mode = info.mode;
+ }
+ return info || {mode: mode, state: state};
+ };
+
+ // STANDARD COMMANDS
+
+ // Commands are parameter-less actions that can be performed on an
+ // editor, mostly used for keybindings.
+ var commands = CodeMirror.commands = {
+ selectAll: function(cm) {cm.setSelection(Pos(cm.firstLine(), 0), Pos(cm.lastLine()), sel_dontScroll);},
+ singleSelection: function(cm) {
+ cm.setSelection(cm.getCursor("anchor"), cm.getCursor("head"), sel_dontScroll);
+ },
+ killLine: function(cm) {
+ deleteNearSelection(cm, function(range) {
+ if (range.empty()) {
+ var len = getLine(cm.doc, range.head.line).text.length;
+ if (range.head.ch == len && range.head.line < cm.lastLine())
+ return {from: range.head, to: Pos(range.head.line + 1, 0)};
+ else
+ return {from: range.head, to: Pos(range.head.line, len)};
+ } else {
+ return {from: range.from(), to: range.to()};
+ }
+ });
+ },
+ deleteLine: function(cm) {
+ deleteNearSelection(cm, function(range) {
+ return {from: Pos(range.from().line, 0),
+ to: clipPos(cm.doc, Pos(range.to().line + 1, 0))};
+ });
+ },
+ delLineLeft: function(cm) {
+ deleteNearSelection(cm, function(range) {
+ return {from: Pos(range.from().line, 0), to: range.from()};
+ });
+ },
+ delWrappedLineLeft: function(cm) {
+ deleteNearSelection(cm, function(range) {
+ var top = cm.charCoords(range.head, "div").top + 5;
+ var leftPos = cm.coordsChar({left: 0, top: top}, "div");
+ return {from: leftPos, to: range.from()};
+ });
+ },
+ delWrappedLineRight: function(cm) {
+ deleteNearSelection(cm, function(range) {
+ var top = cm.charCoords(range.head, "div").top + 5;
+ var rightPos = cm.coordsChar({left: cm.display.lineDiv.offsetWidth + 100, top: top}, "div");
+ return {from: range.from(), to: rightPos };
+ });
+ },
+ undo: function(cm) {cm.undo();},
+ redo: function(cm) {cm.redo();},
+ undoSelection: function(cm) {cm.undoSelection();},
+ redoSelection: function(cm) {cm.redoSelection();},
+ goDocStart: function(cm) {cm.extendSelection(Pos(cm.firstLine(), 0));},
+ goDocEnd: function(cm) {cm.extendSelection(Pos(cm.lastLine()));},
+ goLineStart: function(cm) {
+ cm.extendSelectionsBy(function(range) { return lineStart(cm, range.head.line); },
+ {origin: "+move", bias: 1});
+ },
+ goLineStartSmart: function(cm) {
+ cm.extendSelectionsBy(function(range) {
+ return lineStartSmart(cm, range.head);
+ }, {origin: "+move", bias: 1});
+ },
+ goLineEnd: function(cm) {
+ cm.extendSelectionsBy(function(range) { return lineEnd(cm, range.head.line); },
+ {origin: "+move", bias: -1});
+ },
+ goLineRight: function(cm) {
+ cm.extendSelectionsBy(function(range) {
+ var top = cm.charCoords(range.head, "div").top + 5;
+ return cm.coordsChar({left: cm.display.lineDiv.offsetWidth + 100, top: top}, "div");
+ }, sel_move);
+ },
+ goLineLeft: function(cm) {
+ cm.extendSelectionsBy(function(range) {
+ var top = cm.charCoords(range.head, "div").top + 5;
+ return cm.coordsChar({left: 0, top: top}, "div");
+ }, sel_move);
+ },
+ goLineLeftSmart: function(cm) {
+ cm.extendSelectionsBy(function(range) {
+ var top = cm.charCoords(range.head, "div").top + 5;
+ var pos = cm.coordsChar({left: 0, top: top}, "div");
+ if (pos.ch < cm.getLine(pos.line).search(/\S/)) return lineStartSmart(cm, range.head);
+ return pos;
+ }, sel_move);
+ },
+ goLineUp: function(cm) {cm.moveV(-1, "line");},
+ goLineDown: function(cm) {cm.moveV(1, "line");},
+ goPageUp: function(cm) {cm.moveV(-1, "page");},
+ goPageDown: function(cm) {cm.moveV(1, "page");},
+ goCharLeft: function(cm) {cm.moveH(-1, "char");},
+ goCharRight: function(cm) {cm.moveH(1, "char");},
+ goColumnLeft: function(cm) {cm.moveH(-1, "column");},
+ goColumnRight: function(cm) {cm.moveH(1, "column");},
+ goWordLeft: function(cm) {cm.moveH(-1, "word");},
+ goGroupRight: function(cm) {cm.moveH(1, "group");},
+ goGroupLeft: function(cm) {cm.moveH(-1, "group");},
+ goWordRight: function(cm) {cm.moveH(1, "word");},
+ delCharBefore: function(cm) {cm.deleteH(-1, "char");},
+ delCharAfter: function(cm) {cm.deleteH(1, "char");},
+ delWordBefore: function(cm) {cm.deleteH(-1, "word");},
+ delWordAfter: function(cm) {cm.deleteH(1, "word");},
+ delGroupBefore: function(cm) {cm.deleteH(-1, "group");},
+ delGroupAfter: function(cm) {cm.deleteH(1, "group");},
+ indentAuto: function(cm) {cm.indentSelection("smart");},
+ indentMore: function(cm) {cm.indentSelection("add");},
+ indentLess: function(cm) {cm.indentSelection("subtract");},
+ insertTab: function(cm) {cm.replaceSelection("\t");},
+ insertSoftTab: function(cm) {
+ var spaces = [], ranges = cm.listSelections(), tabSize = cm.options.tabSize;
+ for (var i = 0; i < ranges.length; i++) {
+ var pos = ranges[i].from();
+ var col = countColumn(cm.getLine(pos.line), pos.ch, tabSize);
+ spaces.push(new Array(tabSize - col % tabSize + 1).join(" "));
+ }
+ cm.replaceSelections(spaces);
+ },
+ defaultTab: function(cm) {
+ if (cm.somethingSelected()) cm.indentSelection("add");
+ else cm.execCommand("insertTab");
+ },
+ transposeChars: function(cm) {
+ runInOp(cm, function() {
+ var ranges = cm.listSelections(), newSel = [];
+ for (var i = 0; i < ranges.length; i++) {
+ var cur = ranges[i].head, line = getLine(cm.doc, cur.line).text;
+ if (line) {
+ if (cur.ch == line.length) cur = new Pos(cur.line, cur.ch - 1);
+ if (cur.ch > 0) {
+ cur = new Pos(cur.line, cur.ch + 1);
+ cm.replaceRange(line.charAt(cur.ch - 1) + line.charAt(cur.ch - 2),
+ Pos(cur.line, cur.ch - 2), cur, "+transpose");
+ } else if (cur.line > cm.doc.first) {
+ var prev = getLine(cm.doc, cur.line - 1).text;
+ if (prev)
+ cm.replaceRange(line.charAt(0) + "\n" + prev.charAt(prev.length - 1),
+ Pos(cur.line - 1, prev.length - 1), Pos(cur.line, 1), "+transpose");
+ }
+ }
+ newSel.push(new Range(cur, cur));
+ }
+ cm.setSelections(newSel);
+ });
+ },
+ newlineAndIndent: function(cm) {
+ runInOp(cm, function() {
+ var len = cm.listSelections().length;
+ for (var i = 0; i < len; i++) {
+ var range = cm.listSelections()[i];
+ cm.replaceRange("\n", range.anchor, range.head, "+input");
+ cm.indentLine(range.from().line + 1, null, true);
+ ensureCursorVisible(cm);
+ }
+ });
+ },
+ toggleOverwrite: function(cm) {cm.toggleOverwrite();}
+ };
+
+
+ // STANDARD KEYMAPS
+
+ var keyMap = CodeMirror.keyMap = {};
+
+ keyMap.basic = {
+ "Left": "goCharLeft", "Right": "goCharRight", "Up": "goLineUp", "Down": "goLineDown",
+ "End": "goLineEnd", "Home": "goLineStartSmart", "PageUp": "goPageUp", "PageDown": "goPageDown",
+ "Delete": "delCharAfter", "Backspace": "delCharBefore", "Shift-Backspace": "delCharBefore",
+ "Tab": "defaultTab", "Shift-Tab": "indentAuto",
+ "Enter": "newlineAndIndent", "Insert": "toggleOverwrite",
+ "Esc": "singleSelection"
+ };
+ // Note that the save and find-related commands aren't defined by
+ // default. User code or addons can define them. Unknown commands
+ // are simply ignored.
+ keyMap.pcDefault = {
+ "Ctrl-A": "selectAll", "Ctrl-D": "deleteLine", "Ctrl-Z": "undo", "Shift-Ctrl-Z": "redo", "Ctrl-Y": "redo",
+ "Ctrl-Home": "goDocStart", "Ctrl-End": "goDocEnd", "Ctrl-Up": "goLineUp", "Ctrl-Down": "goLineDown",
+ "Ctrl-Left": "goGroupLeft", "Ctrl-Right": "goGroupRight", "Alt-Left": "goLineStart", "Alt-Right": "goLineEnd",
+ "Ctrl-Backspace": "delGroupBefore", "Ctrl-Delete": "delGroupAfter", "Ctrl-S": "save", "Ctrl-F": "find",
+ "Ctrl-G": "findNext", "Shift-Ctrl-G": "findPrev", "Shift-Ctrl-F": "replace", "Shift-Ctrl-R": "replaceAll",
+ "Ctrl-[": "indentLess", "Ctrl-]": "indentMore",
+ "Ctrl-U": "undoSelection", "Shift-Ctrl-U": "redoSelection", "Alt-U": "redoSelection",
+ fallthrough: "basic"
+ };
+ // Very basic readline/emacs-style bindings, which are standard on Mac.
+ keyMap.emacsy = {
+ "Ctrl-F": "goCharRight", "Ctrl-B": "goCharLeft", "Ctrl-P": "goLineUp", "Ctrl-N": "goLineDown",
+ "Alt-F": "goWordRight", "Alt-B": "goWordLeft", "Ctrl-A": "goLineStart", "Ctrl-E": "goLineEnd",
+ "Ctrl-V": "goPageDown", "Shift-Ctrl-V": "goPageUp", "Ctrl-D": "delCharAfter", "Ctrl-H": "delCharBefore",
+ "Alt-D": "delWordAfter", "Alt-Backspace": "delWordBefore", "Ctrl-K": "killLine", "Ctrl-T": "transposeChars"
+ };
+ keyMap.macDefault = {
+ "Cmd-A": "selectAll", "Cmd-D": "deleteLine", "Cmd-Z": "undo", "Shift-Cmd-Z": "redo", "Cmd-Y": "redo",
+ "Cmd-Home": "goDocStart", "Cmd-Up": "goDocStart", "Cmd-End": "goDocEnd", "Cmd-Down": "goDocEnd", "Alt-Left": "goGroupLeft",
+ "Alt-Right": "goGroupRight", "Cmd-Left": "goLineLeft", "Cmd-Right": "goLineRight", "Alt-Backspace": "delGroupBefore",
+ "Ctrl-Alt-Backspace": "delGroupAfter", "Alt-Delete": "delGroupAfter", "Cmd-S": "save", "Cmd-F": "find",
+ "Cmd-G": "findNext", "Shift-Cmd-G": "findPrev", "Cmd-Alt-F": "replace", "Shift-Cmd-Alt-F": "replaceAll",
+ "Cmd-[": "indentLess", "Cmd-]": "indentMore", "Cmd-Backspace": "delWrappedLineLeft", "Cmd-Delete": "delWrappedLineRight",
+ "Cmd-U": "undoSelection", "Shift-Cmd-U": "redoSelection", "Ctrl-Up": "goDocStart", "Ctrl-Down": "goDocEnd",
+ fallthrough: ["basic", "emacsy"]
+ };
+ keyMap["default"] = mac ? keyMap.macDefault : keyMap.pcDefault;
+
+ // KEYMAP DISPATCH
+
+ function normalizeKeyName(name) {
+ var parts = name.split(/-(?!$)/), name = parts[parts.length - 1];
+ var alt, ctrl, shift, cmd;
+ for (var i = 0; i < parts.length - 1; i++) {
+ var mod = parts[i];
+ if (/^(cmd|meta|m)$/i.test(mod)) cmd = true;
+ else if (/^a(lt)?$/i.test(mod)) alt = true;
+ else if (/^(c|ctrl|control)$/i.test(mod)) ctrl = true;
+ else if (/^s(hift)$/i.test(mod)) shift = true;
+ else throw new Error("Unrecognized modifier name: " + mod);
+ }
+ if (alt) name = "Alt-" + name;
+ if (ctrl) name = "Ctrl-" + name;
+ if (cmd) name = "Cmd-" + name;
+ if (shift) name = "Shift-" + name;
+ return name;
+ }
+
+ // This is a kludge to keep keymaps mostly working as raw objects
+ // (backwards compatibility) while at the same time support features
+ // like normalization and multi-stroke key bindings. It compiles a
+ // new normalized keymap, and then updates the old object to reflect
+ // this.
+ CodeMirror.normalizeKeyMap = function(keymap) {
+ var copy = {};
+ for (var keyname in keymap) if (keymap.hasOwnProperty(keyname)) {
+ var value = keymap[keyname];
+ if (/^(name|fallthrough|(de|at)tach)$/.test(keyname)) continue;
+ if (value == "...") { delete keymap[keyname]; continue; }
+
+ var keys = map(keyname.split(" "), normalizeKeyName);
+ for (var i = 0; i < keys.length; i++) {
+ var val, name;
+ if (i == keys.length - 1) {
+ name = keyname;
+ val = value;
+ } else {
+ name = keys.slice(0, i + 1).join(" ");
+ val = "...";
+ }
+ var prev = copy[name];
+ if (!prev) copy[name] = val;
+ else if (prev != val) throw new Error("Inconsistent bindings for " + name);
+ }
+ delete keymap[keyname];
+ }
+ for (var prop in copy) keymap[prop] = copy[prop];
+ return keymap;
+ };
+
+ var lookupKey = CodeMirror.lookupKey = function(key, map, handle, context) {
+ map = getKeyMap(map);
+ var found = map.call ? map.call(key, context) : map[key];
+ if (found === false) return "nothing";
+ if (found === "...") return "multi";
+ if (found != null && handle(found)) return "handled";
+
+ if (map.fallthrough) {
+ if (Object.prototype.toString.call(map.fallthrough) != "[object Array]")
+ return lookupKey(key, map.fallthrough, handle, context);
+ for (var i = 0; i < map.fallthrough.length; i++) {
+ var result = lookupKey(key, map.fallthrough[i], handle, context);
+ if (result) return result;
+ }
+ }
+ };
+
+ // Modifier key presses don't count as 'real' key presses for the
+ // purpose of keymap fallthrough.
+ var isModifierKey = CodeMirror.isModifierKey = function(value) {
+ var name = typeof value == "string" ? value : keyNames[value.keyCode];
+ return name == "Ctrl" || name == "Alt" || name == "Shift" || name == "Mod";
+ };
+
+ // Look up the name of a key as indicated by an event object.
+ var keyName = CodeMirror.keyName = function(event, noShift) {
+ if (presto && event.keyCode == 34 && event["char"]) return false;
+ var base = keyNames[event.keyCode], name = base;
+ if (name == null || event.altGraphKey) return false;
+ if (event.altKey && base != "Alt") name = "Alt-" + name;
+ if ((flipCtrlCmd ? event.metaKey : event.ctrlKey) && base != "Ctrl") name = "Ctrl-" + name;
+ if ((flipCtrlCmd ? event.ctrlKey : event.metaKey) && base != "Cmd") name = "Cmd-" + name;
+ if (!noShift && event.shiftKey && base != "Shift") name = "Shift-" + name;
+ return name;
+ };
+
+ function getKeyMap(val) {
+ return typeof val == "string" ? keyMap[val] : val;
+ }
+
+ // FROMTEXTAREA
+
+ CodeMirror.fromTextArea = function(textarea, options) {
+ options = options ? copyObj(options) : {};
+ options.value = textarea.value;
+ if (!options.tabindex && textarea.tabIndex)
+ options.tabindex = textarea.tabIndex;
+ if (!options.placeholder && textarea.placeholder)
+ options.placeholder = textarea.placeholder;
+ // Set autofocus to true if this textarea is focused, or if it has
+ // autofocus and no other element is focused.
+ if (options.autofocus == null) {
+ var hasFocus = activeElt();
+ options.autofocus = hasFocus == textarea ||
+ textarea.getAttribute("autofocus") != null && hasFocus == document.body;
+ }
+
+ function save() {textarea.value = cm.getValue();}
+ if (textarea.form) {
+ on(textarea.form, "submit", save);
+ // Deplorable hack to make the submit method do the right thing.
+ if (!options.leaveSubmitMethodAlone) {
+ var form = textarea.form, realSubmit = form.submit;
+ try {
+ var wrappedSubmit = form.submit = function() {
+ save();
+ form.submit = realSubmit;
+ form.submit();
+ form.submit = wrappedSubmit;
+ };
+ } catch(e) {}
+ }
+ }
+
+ options.finishInit = function(cm) {
+ cm.save = save;
+ cm.getTextArea = function() { return textarea; };
+ cm.toTextArea = function() {
+ cm.toTextArea = isNaN; // Prevent this from being ran twice
+ save();
+ textarea.parentNode.removeChild(cm.getWrapperElement());
+ textarea.style.display = "";
+ if (textarea.form) {
+ off(textarea.form, "submit", save);
+ if (typeof textarea.form.submit == "function")
+ textarea.form.submit = realSubmit;
+ }
+ };
+ };
+
+ textarea.style.display = "none";
+ var cm = CodeMirror(function(node) {
+ textarea.parentNode.insertBefore(node, textarea.nextSibling);
+ }, options);
+ return cm;
+ };
+
+ // STRING STREAM
+
+ // Fed to the mode parsers, provides helper functions to make
+ // parsers more succinct.
+
+ var StringStream = CodeMirror.StringStream = function(string, tabSize) {
+ this.pos = this.start = 0;
+ this.string = string;
+ this.tabSize = tabSize || 8;
+ this.lastColumnPos = this.lastColumnValue = 0;
+ this.lineStart = 0;
+ };
+
+ StringStream.prototype = {
+ eol: function() {return this.pos >= this.string.length;},
+ sol: function() {return this.pos == this.lineStart;},
+ peek: function() {return this.string.charAt(this.pos) || undefined;},
+ next: function() {
+ if (this.pos < this.string.length)
+ return this.string.charAt(this.pos++);
+ },
+ eat: function(match) {
+ var ch = this.string.charAt(this.pos);
+ if (typeof match == "string") var ok = ch == match;
+ else var ok = ch && (match.test ? match.test(ch) : match(ch));
+ if (ok) {++this.pos; return ch;}
+ },
+ eatWhile: function(match) {
+ var start = this.pos;
+ while (this.eat(match)){}
+ return this.pos > start;
+ },
+ eatSpace: function() {
+ var start = this.pos;
+ while (/[\s\u00a0]/.test(this.string.charAt(this.pos))) ++this.pos;
+ return this.pos > start;
+ },
+ skipToEnd: function() {this.pos = this.string.length;},
+ skipTo: function(ch) {
+ var found = this.string.indexOf(ch, this.pos);
+ if (found > -1) {this.pos = found; return true;}
+ },
+ backUp: function(n) {this.pos -= n;},
+ column: function() {
+ if (this.lastColumnPos < this.start) {
+ this.lastColumnValue = countColumn(this.string, this.start, this.tabSize, this.lastColumnPos, this.lastColumnValue);
+ this.lastColumnPos = this.start;
+ }
+ return this.lastColumnValue - (this.lineStart ? countColumn(this.string, this.lineStart, this.tabSize) : 0);
+ },
+ indentation: function() {
+ return countColumn(this.string, null, this.tabSize) -
+ (this.lineStart ? countColumn(this.string, this.lineStart, this.tabSize) : 0);
+ },
+ match: function(pattern, consume, caseInsensitive) {
+ if (typeof pattern == "string") {
+ var cased = function(str) {return caseInsensitive ? str.toLowerCase() : str;};
+ var substr = this.string.substr(this.pos, pattern.length);
+ if (cased(substr) == cased(pattern)) {
+ if (consume !== false) this.pos += pattern.length;
+ return true;
+ }
+ } else {
+ var match = this.string.slice(this.pos).match(pattern);
+ if (match && match.index > 0) return null;
+ if (match && consume !== false) this.pos += match[0].length;
+ return match;
+ }
+ },
+ current: function(){return this.string.slice(this.start, this.pos);},
+ hideFirstChars: function(n, inner) {
+ this.lineStart += n;
+ try { return inner(); }
+ finally { this.lineStart -= n; }
+ }
+ };
+
+ // TEXTMARKERS
+
+ // Created with markText and setBookmark methods. A TextMarker is a
+ // handle that can be used to clear or find a marked position in the
+ // document. Line objects hold arrays (markedSpans) containing
+ // {from, to, marker} object pointing to such marker objects, and
+ // indicating that such a marker is present on that line. Multiple
+ // lines may point to the same marker when it spans across lines.
+ // The spans will have null for their from/to properties when the
+ // marker continues beyond the start/end of the line. Markers have
+ // links back to the lines they currently touch.
+
+ var nextMarkerId = 0;
+
+ var TextMarker = CodeMirror.TextMarker = function(doc, type) {
+ this.lines = [];
+ this.type = type;
+ this.doc = doc;
+ this.id = ++nextMarkerId;
+ };
+ eventMixin(TextMarker);
+
+ // Clear the marker.
+ TextMarker.prototype.clear = function() {
+ if (this.explicitlyCleared) return;
+ var cm = this.doc.cm, withOp = cm && !cm.curOp;
+ if (withOp) startOperation(cm);
+ if (hasHandler(this, "clear")) {
+ var found = this.find();
+ if (found) signalLater(this, "clear", found.from, found.to);
+ }
+ var min = null, max = null;
+ for (var i = 0; i < this.lines.length; ++i) {
+ var line = this.lines[i];
+ var span = getMarkedSpanFor(line.markedSpans, this);
+ if (cm && !this.collapsed) regLineChange(cm, lineNo(line), "text");
+ else if (cm) {
+ if (span.to != null) max = lineNo(line);
+ if (span.from != null) min = lineNo(line);
+ }
+ line.markedSpans = removeMarkedSpan(line.markedSpans, span);
+ if (span.from == null && this.collapsed && !lineIsHidden(this.doc, line) && cm)
+ updateLineHeight(line, textHeight(cm.display));
+ }
+ if (cm && this.collapsed && !cm.options.lineWrapping) for (var i = 0; i < this.lines.length; ++i) {
+ var visual = visualLine(this.lines[i]), len = lineLength(visual);
+ if (len > cm.display.maxLineLength) {
+ cm.display.maxLine = visual;
+ cm.display.maxLineLength = len;
+ cm.display.maxLineChanged = true;
+ }
+ }
+
+ if (min != null && cm && this.collapsed) regChange(cm, min, max + 1);
+ this.lines.length = 0;
+ this.explicitlyCleared = true;
+ if (this.atomic && this.doc.cantEdit) {
+ this.doc.cantEdit = false;
+ if (cm) reCheckSelection(cm.doc);
+ }
+ if (cm) signalLater(cm, "markerCleared", cm, this);
+ if (withOp) endOperation(cm);
+ if (this.parent) this.parent.clear();
+ };
+
+ // Find the position of the marker in the document. Returns a {from,
+ // to} object by default. Side can be passed to get a specific side
+ // -- 0 (both), -1 (left), or 1 (right). When lineObj is true, the
+ // Pos objects returned contain a line object, rather than a line
+ // number (used to prevent looking up the same line twice).
+ TextMarker.prototype.find = function(side, lineObj) {
+ if (side == null && this.type == "bookmark") side = 1;
+ var from, to;
+ for (var i = 0; i < this.lines.length; ++i) {
+ var line = this.lines[i];
+ var span = getMarkedSpanFor(line.markedSpans, this);
+ if (span.from != null) {
+ from = Pos(lineObj ? line : lineNo(line), span.from);
+ if (side == -1) return from;
+ }
+ if (span.to != null) {
+ to = Pos(lineObj ? line : lineNo(line), span.to);
+ if (side == 1) return to;
+ }
+ }
+ return from && {from: from, to: to};
+ };
+
+ // Signals that the marker's widget changed, and surrounding layout
+ // should be recomputed.
+ TextMarker.prototype.changed = function() {
+ var pos = this.find(-1, true), widget = this, cm = this.doc.cm;
+ if (!pos || !cm) return;
+ runInOp(cm, function() {
+ var line = pos.line, lineN = lineNo(pos.line);
+ var view = findViewForLine(cm, lineN);
+ if (view) {
+ clearLineMeasurementCacheFor(view);
+ cm.curOp.selectionChanged = cm.curOp.forceUpdate = true;
+ }
+ cm.curOp.updateMaxLine = true;
+ if (!lineIsHidden(widget.doc, line) && widget.height != null) {
+ var oldHeight = widget.height;
+ widget.height = null;
+ var dHeight = widgetHeight(widget) - oldHeight;
+ if (dHeight)
+ updateLineHeight(line, line.height + dHeight);
+ }
+ });
+ };
+
+ TextMarker.prototype.attachLine = function(line) {
+ if (!this.lines.length && this.doc.cm) {
+ var op = this.doc.cm.curOp;
+ if (!op.maybeHiddenMarkers || indexOf(op.maybeHiddenMarkers, this) == -1)
+ (op.maybeUnhiddenMarkers || (op.maybeUnhiddenMarkers = [])).push(this);
+ }
+ this.lines.push(line);
+ };
+ TextMarker.prototype.detachLine = function(line) {
+ this.lines.splice(indexOf(this.lines, line), 1);
+ if (!this.lines.length && this.doc.cm) {
+ var op = this.doc.cm.curOp;
+ (op.maybeHiddenMarkers || (op.maybeHiddenMarkers = [])).push(this);
+ }
+ };
+
+ // Collapsed markers have unique ids, in order to be able to order
+ // them, which is needed for uniquely determining an outer marker
+ // when they overlap (they may nest, but not partially overlap).
+ var nextMarkerId = 0;
+
+ // Create a marker, wire it up to the right lines, and
+ function markText(doc, from, to, options, type) {
+ // Shared markers (across linked documents) are handled separately
+ // (markTextShared will call out to this again, once per
+ // document).
+ if (options && options.shared) return markTextShared(doc, from, to, options, type);
+ // Ensure we are in an operation.
+ if (doc.cm && !doc.cm.curOp) return operation(doc.cm, markText)(doc, from, to, options, type);
+
+ var marker = new TextMarker(doc, type), diff = cmp(from, to);
+ if (options) copyObj(options, marker, false);
+ // Don't connect empty markers unless clearWhenEmpty is false
+ if (diff > 0 || diff == 0 && marker.clearWhenEmpty !== false)
+ return marker;
+ if (marker.replacedWith) {
+ // Showing up as a widget implies collapsed (widget replaces text)
+ marker.collapsed = true;
+ marker.widgetNode = elt("span", [marker.replacedWith], "CodeMirror-widget");
+ if (!options.handleMouseEvents) marker.widgetNode.setAttribute("cm-ignore-events", "true");
+ if (options.insertLeft) marker.widgetNode.insertLeft = true;
+ }
+ if (marker.collapsed) {
+ if (conflictingCollapsedRange(doc, from.line, from, to, marker) ||
+ from.line != to.line && conflictingCollapsedRange(doc, to.line, from, to, marker))
+ throw new Error("Inserting collapsed marker partially overlapping an existing one");
+ sawCollapsedSpans = true;
+ }
+
+ if (marker.addToHistory)
+ addChangeToHistory(doc, {from: from, to: to, origin: "markText"}, doc.sel, NaN);
+
+ var curLine = from.line, cm = doc.cm, updateMaxLine;
+ doc.iter(curLine, to.line + 1, function(line) {
+ if (cm && marker.collapsed && !cm.options.lineWrapping && visualLine(line) == cm.display.maxLine)
+ updateMaxLine = true;
+ if (marker.collapsed && curLine != from.line) updateLineHeight(line, 0);
+ addMarkedSpan(line, new MarkedSpan(marker,
+ curLine == from.line ? from.ch : null,
+ curLine == to.line ? to.ch : null));
+ ++curLine;
+ });
+ // lineIsHidden depends on the presence of the spans, so needs a second pass
+ if (marker.collapsed) doc.iter(from.line, to.line + 1, function(line) {
+ if (lineIsHidden(doc, line)) updateLineHeight(line, 0);
+ });
+
+ if (marker.clearOnEnter) on(marker, "beforeCursorEnter", function() { marker.clear(); });
+
+ if (marker.readOnly) {
+ sawReadOnlySpans = true;
+ if (doc.history.done.length || doc.history.undone.length)
+ doc.clearHistory();
+ }
+ if (marker.collapsed) {
+ marker.id = ++nextMarkerId;
+ marker.atomic = true;
+ }
+ if (cm) {
+ // Sync editor state
+ if (updateMaxLine) cm.curOp.updateMaxLine = true;
+ if (marker.collapsed)
+ regChange(cm, from.line, to.line + 1);
+ else if (marker.className || marker.title || marker.startStyle || marker.endStyle || marker.css)
+ for (var i = from.line; i <= to.line; i++) regLineChange(cm, i, "text");
+ if (marker.atomic) reCheckSelection(cm.doc);
+ signalLater(cm, "markerAdded", cm, marker);
+ }
+ return marker;
+ }
+
+ // SHARED TEXTMARKERS
+
+ // A shared marker spans multiple linked documents. It is
+ // implemented as a meta-marker-object controlling multiple normal
+ // markers.
+ var SharedTextMarker = CodeMirror.SharedTextMarker = function(markers, primary) {
+ this.markers = markers;
+ this.primary = primary;
+ for (var i = 0; i < markers.length; ++i)
+ markers[i].parent = this;
+ };
+ eventMixin(SharedTextMarker);
+
+ SharedTextMarker.prototype.clear = function() {
+ if (this.explicitlyCleared) return;
+ this.explicitlyCleared = true;
+ for (var i = 0; i < this.markers.length; ++i)
+ this.markers[i].clear();
+ signalLater(this, "clear");
+ };
+ SharedTextMarker.prototype.find = function(side, lineObj) {
+ return this.primary.find(side, lineObj);
+ };
+
+ function markTextShared(doc, from, to, options, type) {
+ options = copyObj(options);
+ options.shared = false;
+ var markers = [markText(doc, from, to, options, type)], primary = markers[0];
+ var widget = options.widgetNode;
+ linkedDocs(doc, function(doc) {
+ if (widget) options.widgetNode = widget.cloneNode(true);
+ markers.push(markText(doc, clipPos(doc, from), clipPos(doc, to), options, type));
+ for (var i = 0; i < doc.linked.length; ++i)
+ if (doc.linked[i].isParent) return;
+ primary = lst(markers);
+ });
+ return new SharedTextMarker(markers, primary);
+ }
+
+ function findSharedMarkers(doc) {
+ return doc.findMarks(Pos(doc.first, 0), doc.clipPos(Pos(doc.lastLine())),
+ function(m) { return m.parent; });
+ }
+
+ function copySharedMarkers(doc, markers) {
+ for (var i = 0; i < markers.length; i++) {
+ var marker = markers[i], pos = marker.find();
+ var mFrom = doc.clipPos(pos.from), mTo = doc.clipPos(pos.to);
+ if (cmp(mFrom, mTo)) {
+ var subMark = markText(doc, mFrom, mTo, marker.primary, marker.primary.type);
+ marker.markers.push(subMark);
+ subMark.parent = marker;
+ }
+ }
+ }
+
+ function detachSharedMarkers(markers) {
+ for (var i = 0; i < markers.length; i++) {
+ var marker = markers[i], linked = [marker.primary.doc];;
+ linkedDocs(marker.primary.doc, function(d) { linked.push(d); });
+ for (var j = 0; j < marker.markers.length; j++) {
+ var subMarker = marker.markers[j];
+ if (indexOf(linked, subMarker.doc) == -1) {
+ subMarker.parent = null;
+ marker.markers.splice(j--, 1);
+ }
+ }
+ }
+ }
+
+ // TEXTMARKER SPANS
+
+ function MarkedSpan(marker, from, to) {
+ this.marker = marker;
+ this.from = from; this.to = to;
+ }
+
+ // Search an array of spans for a span matching the given marker.
+ function getMarkedSpanFor(spans, marker) {
+ if (spans) for (var i = 0; i < spans.length; ++i) {
+ var span = spans[i];
+ if (span.marker == marker) return span;
+ }
+ }
+ // Remove a span from an array, returning undefined if no spans are
+ // left (we don't store arrays for lines without spans).
+ function removeMarkedSpan(spans, span) {
+ for (var r, i = 0; i < spans.length; ++i)
+ if (spans[i] != span) (r || (r = [])).push(spans[i]);
+ return r;
+ }
+ // Add a span to a line.
+ function addMarkedSpan(line, span) {
+ line.markedSpans = line.markedSpans ? line.markedSpans.concat([span]) : [span];
+ span.marker.attachLine(line);
+ }
+
+ // Used for the algorithm that adjusts markers for a change in the
+ // document. These functions cut an array of spans at a given
+ // character position, returning an array of remaining chunks (or
+ // undefined if nothing remains).
+ function markedSpansBefore(old, startCh, isInsert) {
+ if (old) for (var i = 0, nw; i < old.length; ++i) {
+ var span = old[i], marker = span.marker;
+ var startsBefore = span.from == null || (marker.inclusiveLeft ? span.from <= startCh : span.from < startCh);
+ if (startsBefore || span.from == startCh && marker.type == "bookmark" && (!isInsert || !span.marker.insertLeft)) {
+ var endsAfter = span.to == null || (marker.inclusiveRight ? span.to >= startCh : span.to > startCh);
+ (nw || (nw = [])).push(new MarkedSpan(marker, span.from, endsAfter ? null : span.to));
+ }
+ }
+ return nw;
+ }
+ function markedSpansAfter(old, endCh, isInsert) {
+ if (old) for (var i = 0, nw; i < old.length; ++i) {
+ var span = old[i], marker = span.marker;
+ var endsAfter = span.to == null || (marker.inclusiveRight ? span.to >= endCh : span.to > endCh);
+ if (endsAfter || span.from == endCh && marker.type == "bookmark" && (!isInsert || span.marker.insertLeft)) {
+ var startsBefore = span.from == null || (marker.inclusiveLeft ? span.from <= endCh : span.from < endCh);
+ (nw || (nw = [])).push(new MarkedSpan(marker, startsBefore ? null : span.from - endCh,
+ span.to == null ? null : span.to - endCh));
+ }
+ }
+ return nw;
+ }
+
+ // Given a change object, compute the new set of marker spans that
+ // cover the line in which the change took place. Removes spans
+ // entirely within the change, reconnects spans belonging to the
+ // same marker that appear on both sides of the change, and cuts off
+ // spans partially within the change. Returns an array of span
+ // arrays with one element for each line in (after) the change.
+ function stretchSpansOverChange(doc, change) {
+ if (change.full) return null;
+ var oldFirst = isLine(doc, change.from.line) && getLine(doc, change.from.line).markedSpans;
+ var oldLast = isLine(doc, change.to.line) && getLine(doc, change.to.line).markedSpans;
+ if (!oldFirst && !oldLast) return null;
+
+ var startCh = change.from.ch, endCh = change.to.ch, isInsert = cmp(change.from, change.to) == 0;
+ // Get the spans that 'stick out' on both sides
+ var first = markedSpansBefore(oldFirst, startCh, isInsert);
+ var last = markedSpansAfter(oldLast, endCh, isInsert);
+
+ // Next, merge those two ends
+ var sameLine = change.text.length == 1, offset = lst(change.text).length + (sameLine ? startCh : 0);
+ if (first) {
+ // Fix up .to properties of first
+ for (var i = 0; i < first.length; ++i) {
+ var span = first[i];
+ if (span.to == null) {
+ var found = getMarkedSpanFor(last, span.marker);
+ if (!found) span.to = startCh;
+ else if (sameLine) span.to = found.to == null ? null : found.to + offset;
+ }
+ }
+ }
+ if (last) {
+ // Fix up .from in last (or move them into first in case of sameLine)
+ for (var i = 0; i < last.length; ++i) {
+ var span = last[i];
+ if (span.to != null) span.to += offset;
+ if (span.from == null) {
+ var found = getMarkedSpanFor(first, span.marker);
+ if (!found) {
+ span.from = offset;
+ if (sameLine) (first || (first = [])).push(span);
+ }
+ } else {
+ span.from += offset;
+ if (sameLine) (first || (first = [])).push(span);
+ }
+ }
+ }
+ // Make sure we didn't create any zero-length spans
+ if (first) first = clearEmptySpans(first);
+ if (last && last != first) last = clearEmptySpans(last);
+
+ var newMarkers = [first];
+ if (!sameLine) {
+ // Fill gap with whole-line-spans
+ var gap = change.text.length - 2, gapMarkers;
+ if (gap > 0 && first)
+ for (var i = 0; i < first.length; ++i)
+ if (first[i].to == null)
+ (gapMarkers || (gapMarkers = [])).push(new MarkedSpan(first[i].marker, null, null));
+ for (var i = 0; i < gap; ++i)
+ newMarkers.push(gapMarkers);
+ newMarkers.push(last);
+ }
+ return newMarkers;
+ }
+
+ // Remove spans that are empty and don't have a clearWhenEmpty
+ // option of false.
+ function clearEmptySpans(spans) {
+ for (var i = 0; i < spans.length; ++i) {
+ var span = spans[i];
+ if (span.from != null && span.from == span.to && span.marker.clearWhenEmpty !== false)
+ spans.splice(i--, 1);
+ }
+ if (!spans.length) return null;
+ return spans;
+ }
+
+ // Used for un/re-doing changes from the history. Combines the
+ // result of computing the existing spans with the set of spans that
+ // existed in the history (so that deleting around a span and then
+ // undoing brings back the span).
+ function mergeOldSpans(doc, change) {
+ var old = getOldSpans(doc, change);
+ var stretched = stretchSpansOverChange(doc, change);
+ if (!old) return stretched;
+ if (!stretched) return old;
+
+ for (var i = 0; i < old.length; ++i) {
+ var oldCur = old[i], stretchCur = stretched[i];
+ if (oldCur && stretchCur) {
+ spans: for (var j = 0; j < stretchCur.length; ++j) {
+ var span = stretchCur[j];
+ for (var k = 0; k < oldCur.length; ++k)
+ if (oldCur[k].marker == span.marker) continue spans;
+ oldCur.push(span);
+ }
+ } else if (stretchCur) {
+ old[i] = stretchCur;
+ }
+ }
+ return old;
+ }
+
+ // Used to 'clip' out readOnly ranges when making a change.
+ function removeReadOnlyRanges(doc, from, to) {
+ var markers = null;
+ doc.iter(from.line, to.line + 1, function(line) {
+ if (line.markedSpans) for (var i = 0; i < line.markedSpans.length; ++i) {
+ var mark = line.markedSpans[i].marker;
+ if (mark.readOnly && (!markers || indexOf(markers, mark) == -1))
+ (markers || (markers = [])).push(mark);
+ }
+ });
+ if (!markers) return null;
+ var parts = [{from: from, to: to}];
+ for (var i = 0; i < markers.length; ++i) {
+ var mk = markers[i], m = mk.find(0);
+ for (var j = 0; j < parts.length; ++j) {
+ var p = parts[j];
+ if (cmp(p.to, m.from) < 0 || cmp(p.from, m.to) > 0) continue;
+ var newParts = [j, 1], dfrom = cmp(p.from, m.from), dto = cmp(p.to, m.to);
+ if (dfrom < 0 || !mk.inclusiveLeft && !dfrom)
+ newParts.push({from: p.from, to: m.from});
+ if (dto > 0 || !mk.inclusiveRight && !dto)
+ newParts.push({from: m.to, to: p.to});
+ parts.splice.apply(parts, newParts);
+ j += newParts.length - 1;
+ }
+ }
+ return parts;
+ }
+
+ // Connect or disconnect spans from a line.
+ function detachMarkedSpans(line) {
+ var spans = line.markedSpans;
+ if (!spans) return;
+ for (var i = 0; i < spans.length; ++i)
+ spans[i].marker.detachLine(line);
+ line.markedSpans = null;
+ }
+ function attachMarkedSpans(line, spans) {
+ if (!spans) return;
+ for (var i = 0; i < spans.length; ++i)
+ spans[i].marker.attachLine(line);
+ line.markedSpans = spans;
+ }
+
+ // Helpers used when computing which overlapping collapsed span
+ // counts as the larger one.
+ function extraLeft(marker) { return marker.inclusiveLeft ? -1 : 0; }
+ function extraRight(marker) { return marker.inclusiveRight ? 1 : 0; }
+
+ // Returns a number indicating which of two overlapping collapsed
+ // spans is larger (and thus includes the other). Falls back to
+ // comparing ids when the spans cover exactly the same range.
+ function compareCollapsedMarkers(a, b) {
+ var lenDiff = a.lines.length - b.lines.length;
+ if (lenDiff != 0) return lenDiff;
+ var aPos = a.find(), bPos = b.find();
+ var fromCmp = cmp(aPos.from, bPos.from) || extraLeft(a) - extraLeft(b);
+ if (fromCmp) return -fromCmp;
+ var toCmp = cmp(aPos.to, bPos.to) || extraRight(a) - extraRight(b);
+ if (toCmp) return toCmp;
+ return b.id - a.id;
+ }
+
+ // Find out whether a line ends or starts in a collapsed span. If
+ // so, return the marker for that span.
+ function collapsedSpanAtSide(line, start) {
+ var sps = sawCollapsedSpans && line.markedSpans, found;
+ if (sps) for (var sp, i = 0; i < sps.length; ++i) {
+ sp = sps[i];
+ if (sp.marker.collapsed && (start ? sp.from : sp.to) == null &&
+ (!found || compareCollapsedMarkers(found, sp.marker) < 0))
+ found = sp.marker;
+ }
+ return found;
+ }
+ function collapsedSpanAtStart(line) { return collapsedSpanAtSide(line, true); }
+ function collapsedSpanAtEnd(line) { return collapsedSpanAtSide(line, false); }
+
+ // Test whether there exists a collapsed span that partially
+ // overlaps (covers the start or end, but not both) of a new span.
+ // Such overlap is not allowed.
+ function conflictingCollapsedRange(doc, lineNo, from, to, marker) {
+ var line = getLine(doc, lineNo);
+ var sps = sawCollapsedSpans && line.markedSpans;
+ if (sps) for (var i = 0; i < sps.length; ++i) {
+ var sp = sps[i];
+ if (!sp.marker.collapsed) continue;
+ var found = sp.marker.find(0);
+ var fromCmp = cmp(found.from, from) || extraLeft(sp.marker) - extraLeft(marker);
+ var toCmp = cmp(found.to, to) || extraRight(sp.marker) - extraRight(marker);
+ if (fromCmp >= 0 && toCmp <= 0 || fromCmp <= 0 && toCmp >= 0) continue;
+ if (fromCmp <= 0 && (cmp(found.to, from) > 0 || (sp.marker.inclusiveRight && marker.inclusiveLeft)) ||
+ fromCmp >= 0 && (cmp(found.from, to) < 0 || (sp.marker.inclusiveLeft && marker.inclusiveRight)))
+ return true;
+ }
+ }
+
+ // A visual line is a line as drawn on the screen. Folding, for
+ // example, can cause multiple logical lines to appear on the same
+ // visual line. This finds the start of the visual line that the
+ // given line is part of (usually that is the line itself).
+ function visualLine(line) {
+ var merged;
+ while (merged = collapsedSpanAtStart(line))
+ line = merged.find(-1, true).line;
+ return line;
+ }
+
+ // Returns an array of logical lines that continue the visual line
+ // started by the argument, or undefined if there are no such lines.
+ function visualLineContinued(line) {
+ var merged, lines;
+ while (merged = collapsedSpanAtEnd(line)) {
+ line = merged.find(1, true).line;
+ (lines || (lines = [])).push(line);
+ }
+ return lines;
+ }
+
+ // Get the line number of the start of the visual line that the
+ // given line number is part of.
+ function visualLineNo(doc, lineN) {
+ var line = getLine(doc, lineN), vis = visualLine(line);
+ if (line == vis) return lineN;
+ return lineNo(vis);
+ }
+ // Get the line number of the start of the next visual line after
+ // the given line.
+ function visualLineEndNo(doc, lineN) {
+ if (lineN > doc.lastLine()) return lineN;
+ var line = getLine(doc, lineN), merged;
+ if (!lineIsHidden(doc, line)) return lineN;
+ while (merged = collapsedSpanAtEnd(line))
+ line = merged.find(1, true).line;
+ return lineNo(line) + 1;
+ }
+
+ // Compute whether a line is hidden. Lines count as hidden when they
+ // are part of a visual line that starts with another line, or when
+ // they are entirely covered by collapsed, non-widget span.
+ function lineIsHidden(doc, line) {
+ var sps = sawCollapsedSpans && line.markedSpans;
+ if (sps) for (var sp, i = 0; i < sps.length; ++i) {
+ sp = sps[i];
+ if (!sp.marker.collapsed) continue;
+ if (sp.from == null) return true;
+ if (sp.marker.widgetNode) continue;
+ if (sp.from == 0 && sp.marker.inclusiveLeft && lineIsHiddenInner(doc, line, sp))
+ return true;
+ }
+ }
+ function lineIsHiddenInner(doc, line, span) {
+ if (span.to == null) {
+ var end = span.marker.find(1, true);
+ return lineIsHiddenInner(doc, end.line, getMarkedSpanFor(end.line.markedSpans, span.marker));
+ }
+ if (span.marker.inclusiveRight && span.to == line.text.length)
+ return true;
+ for (var sp, i = 0; i < line.markedSpans.length; ++i) {
+ sp = line.markedSpans[i];
+ if (sp.marker.collapsed && !sp.marker.widgetNode && sp.from == span.to &&
+ (sp.to == null || sp.to != span.from) &&
+ (sp.marker.inclusiveLeft || span.marker.inclusiveRight) &&
+ lineIsHiddenInner(doc, line, sp)) return true;
+ }
+ }
+
+ // LINE WIDGETS
+
+ // Line widgets are block elements displayed above or below a line.
+
+ var LineWidget = CodeMirror.LineWidget = function(doc, node, options) {
+ if (options) for (var opt in options) if (options.hasOwnProperty(opt))
+ this[opt] = options[opt];
+ this.doc = doc;
+ this.node = node;
+ };
+ eventMixin(LineWidget);
+
+ function adjustScrollWhenAboveVisible(cm, line, diff) {
+ if (heightAtLine(line) < ((cm.curOp && cm.curOp.scrollTop) || cm.doc.scrollTop))
+ addToScrollPos(cm, null, diff);
+ }
+
+ LineWidget.prototype.clear = function() {
+ var cm = this.doc.cm, ws = this.line.widgets, line = this.line, no = lineNo(line);
+ if (no == null || !ws) return;
+ for (var i = 0; i < ws.length; ++i) if (ws[i] == this) ws.splice(i--, 1);
+ if (!ws.length) line.widgets = null;
+ var height = widgetHeight(this);
+ updateLineHeight(line, Math.max(0, line.height - height));
+ if (cm) runInOp(cm, function() {
+ adjustScrollWhenAboveVisible(cm, line, -height);
+ regLineChange(cm, no, "widget");
+ });
+ };
+ LineWidget.prototype.changed = function() {
+ var oldH = this.height, cm = this.doc.cm, line = this.line;
+ this.height = null;
+ var diff = widgetHeight(this) - oldH;
+ if (!diff) return;
+ updateLineHeight(line, line.height + diff);
+ if (cm) runInOp(cm, function() {
+ cm.curOp.forceUpdate = true;
+ adjustScrollWhenAboveVisible(cm, line, diff);
+ });
+ };
+
+ function widgetHeight(widget) {
+ if (widget.height != null) return widget.height;
+ var cm = widget.doc.cm;
+ if (!cm) return 0;
+ if (!contains(document.body, widget.node)) {
+ var parentStyle = "position: relative;";
+ if (widget.coverGutter)
+ parentStyle += "margin-left: -" + cm.display.gutters.offsetWidth + "px;";
+ if (widget.noHScroll)
+ parentStyle += "width: " + cm.display.wrapper.clientWidth + "px;";
+ removeChildrenAndAdd(cm.display.measure, elt("div", [widget.node], null, parentStyle));
+ }
+ return widget.height = widget.node.offsetHeight;
+ }
+
+ function addLineWidget(doc, handle, node, options) {
+ var widget = new LineWidget(doc, node, options);
+ var cm = doc.cm;
+ if (cm && widget.noHScroll) cm.display.alignWidgets = true;
+ changeLine(doc, handle, "widget", function(line) {
+ var widgets = line.widgets || (line.widgets = []);
+ if (widget.insertAt == null) widgets.push(widget);
+ else widgets.splice(Math.min(widgets.length - 1, Math.max(0, widget.insertAt)), 0, widget);
+ widget.line = line;
+ if (cm && !lineIsHidden(doc, line)) {
+ var aboveVisible = heightAtLine(line) < doc.scrollTop;
+ updateLineHeight(line, line.height + widgetHeight(widget));
+ if (aboveVisible) addToScrollPos(cm, null, widget.height);
+ cm.curOp.forceUpdate = true;
+ }
+ return true;
+ });
+ return widget;
+ }
+
+ // LINE DATA STRUCTURE
+
+ // Line objects. These hold state related to a line, including
+ // highlighting info (the styles array).
+ var Line = CodeMirror.Line = function(text, markedSpans, estimateHeight) {
+ this.text = text;
+ attachMarkedSpans(this, markedSpans);
+ this.height = estimateHeight ? estimateHeight(this) : 1;
+ };
+ eventMixin(Line);
+ Line.prototype.lineNo = function() { return lineNo(this); };
+
+ // Change the content (text, markers) of a line. Automatically
+ // invalidates cached information and tries to re-estimate the
+ // line's height.
+ function updateLine(line, text, markedSpans, estimateHeight) {
+ line.text = text;
+ if (line.stateAfter) line.stateAfter = null;
+ if (line.styles) line.styles = null;
+ if (line.order != null) line.order = null;
+ detachMarkedSpans(line);
+ attachMarkedSpans(line, markedSpans);
+ var estHeight = estimateHeight ? estimateHeight(line) : 1;
+ if (estHeight != line.height) updateLineHeight(line, estHeight);
+ }
+
+ // Detach a line from the document tree and its markers.
+ function cleanUpLine(line) {
+ line.parent = null;
+ detachMarkedSpans(line);
+ }
+
+ function extractLineClasses(type, output) {
+ if (type) for (;;) {
+ var lineClass = type.match(/(?:^|\s+)line-(background-)?(\S+)/);
+ if (!lineClass) break;
+ type = type.slice(0, lineClass.index) + type.slice(lineClass.index + lineClass[0].length);
+ var prop = lineClass[1] ? "bgClass" : "textClass";
+ if (output[prop] == null)
+ output[prop] = lineClass[2];
+ else if (!(new RegExp("(?:^|\s)" + lineClass[2] + "(?:$|\s)")).test(output[prop]))
+ output[prop] += " " + lineClass[2];
+ }
+ return type;
+ }
+
+ function callBlankLine(mode, state) {
+ if (mode.blankLine) return mode.blankLine(state);
+ if (!mode.innerMode) return;
+ var inner = CodeMirror.innerMode(mode, state);
+ if (inner.mode.blankLine) return inner.mode.blankLine(inner.state);
+ }
+
+ function readToken(mode, stream, state, inner) {
+ for (var i = 0; i < 10; i++) {
+ if (inner) inner[0] = CodeMirror.innerMode(mode, state).mode;
+ var style = mode.token(stream, state);
+ if (stream.pos > stream.start) return style;
+ }
+ throw new Error("Mode " + mode.name + " failed to advance stream.");
+ }
+
+ // Utility for getTokenAt and getLineTokens
+ function takeToken(cm, pos, precise, asArray) {
+ function getObj(copy) {
+ return {start: stream.start, end: stream.pos,
+ string: stream.current(),
+ type: style || null,
+ state: copy ? copyState(doc.mode, state) : state};
+ }
+
+ var doc = cm.doc, mode = doc.mode, style;
+ pos = clipPos(doc, pos);
+ var line = getLine(doc, pos.line), state = getStateBefore(cm, pos.line, precise);
+ var stream = new StringStream(line.text, cm.options.tabSize), tokens;
+ if (asArray) tokens = [];
+ while ((asArray || stream.pos < pos.ch) && !stream.eol()) {
+ stream.start = stream.pos;
+ style = readToken(mode, stream, state);
+ if (asArray) tokens.push(getObj(true));
+ }
+ return asArray ? tokens : getObj();
+ }
+
+ // Run the given mode's parser over a line, calling f for each token.
+ function runMode(cm, text, mode, state, f, lineClasses, forceToEnd) {
+ var flattenSpans = mode.flattenSpans;
+ if (flattenSpans == null) flattenSpans = cm.options.flattenSpans;
+ var curStart = 0, curStyle = null;
+ var stream = new StringStream(text, cm.options.tabSize), style;
+ var inner = cm.options.addModeClass && [null];
+ if (text == "") extractLineClasses(callBlankLine(mode, state), lineClasses);
+ while (!stream.eol()) {
+ if (stream.pos > cm.options.maxHighlightLength) {
+ flattenSpans = false;
+ if (forceToEnd) processLine(cm, text, state, stream.pos);
+ stream.pos = text.length;
+ style = null;
+ } else {
+ style = extractLineClasses(readToken(mode, stream, state, inner), lineClasses);
+ }
+ if (inner) {
+ var mName = inner[0].name;
+ if (mName) style = "m-" + (style ? mName + " " + style : mName);
+ }
+ if (!flattenSpans || curStyle != style) {
+ while (curStart < stream.start) {
+ curStart = Math.min(stream.start, curStart + 50000);
+ f(curStart, curStyle);
+ }
+ curStyle = style;
+ }
+ stream.start = stream.pos;
+ }
+ while (curStart < stream.pos) {
+ // Webkit seems to refuse to render text nodes longer than 57444 characters
+ var pos = Math.min(stream.pos, curStart + 50000);
+ f(pos, curStyle);
+ curStart = pos;
+ }
+ }
+
+ // Compute a style array (an array starting with a mode generation
+ // -- for invalidation -- followed by pairs of end positions and
+ // style strings), which is used to highlight the tokens on the
+ // line.
+ function highlightLine(cm, line, state, forceToEnd) {
+ // A styles array always starts with a number identifying the
+ // mode/overlays that it is based on (for easy invalidation).
+ var st = [cm.state.modeGen], lineClasses = {};
+ // Compute the base array of styles
+ runMode(cm, line.text, cm.doc.mode, state, function(end, style) {
+ st.push(end, style);
+ }, lineClasses, forceToEnd);
+
+ // Run overlays, adjust style array.
+ for (var o = 0; o < cm.state.overlays.length; ++o) {
+ var overlay = cm.state.overlays[o], i = 1, at = 0;
+ runMode(cm, line.text, overlay.mode, true, function(end, style) {
+ var start = i;
+ // Ensure there's a token end at the current position, and that i points at it
+ while (at < end) {
+ var i_end = st[i];
+ if (i_end > end)
+ st.splice(i, 1, end, st[i+1], i_end);
+ i += 2;
+ at = Math.min(end, i_end);
+ }
+ if (!style) return;
+ if (overlay.opaque) {
+ st.splice(start, i - start, end, "cm-overlay " + style);
+ i = start + 2;
+ } else {
+ for (; start < i; start += 2) {
+ var cur = st[start+1];
+ st[start+1] = (cur ? cur + " " : "") + "cm-overlay " + style;
+ }
+ }
+ }, lineClasses);
+ }
+
+ return {styles: st, classes: lineClasses.bgClass || lineClasses.textClass ? lineClasses : null};
+ }
+
+ function getLineStyles(cm, line, updateFrontier) {
+ if (!line.styles || line.styles[0] != cm.state.modeGen) {
+ var result = highlightLine(cm, line, line.stateAfter = getStateBefore(cm, lineNo(line)));
+ line.styles = result.styles;
+ if (result.classes) line.styleClasses = result.classes;
+ else if (line.styleClasses) line.styleClasses = null;
+ if (updateFrontier === cm.doc.frontier) cm.doc.frontier++;
+ }
+ return line.styles;
+ }
+
+ // Lightweight form of highlight -- proceed over this line and
+ // update state, but don't save a style array. Used for lines that
+ // aren't currently visible.
+ function processLine(cm, text, state, startAt) {
+ var mode = cm.doc.mode;
+ var stream = new StringStream(text, cm.options.tabSize);
+ stream.start = stream.pos = startAt || 0;
+ if (text == "") callBlankLine(mode, state);
+ while (!stream.eol() && stream.pos <= cm.options.maxHighlightLength) {
+ readToken(mode, stream, state);
+ stream.start = stream.pos;
+ }
+ }
+
+ // Convert a style as returned by a mode (either null, or a string
+ // containing one or more styles) to a CSS style. This is cached,
+ // and also looks for line-wide styles.
+ var styleToClassCache = {}, styleToClassCacheWithMode = {};
+ function interpretTokenStyle(style, options) {
+ if (!style || /^\s*$/.test(style)) return null;
+ var cache = options.addModeClass ? styleToClassCacheWithMode : styleToClassCache;
+ return cache[style] ||
+ (cache[style] = style.replace(/\S+/g, "cm-$&"));
+ }
+
+ // Render the DOM representation of the text of a line. Also builds
+ // up a 'line map', which points at the DOM nodes that represent
+ // specific stretches of text, and is used by the measuring code.
+ // The returned object contains the DOM node, this map, and
+ // information about line-wide styles that were set by the mode.
+ function buildLineContent(cm, lineView) {
+ // The padding-right forces the element to have a 'border', which
+ // is needed on Webkit to be able to get line-level bounding
+ // rectangles for it (in measureChar).
+ var content = elt("span", null, null, webkit ? "padding-right: .1px" : null);
+ var builder = {pre: elt("pre", [content]), content: content,
+ col: 0, pos: 0, cm: cm,
+ splitSpaces: (ie || webkit) && cm.getOption("lineWrapping")};
+ lineView.measure = {};
+
+ // Iterate over the logical lines that make up this visual line.
+ for (var i = 0; i <= (lineView.rest ? lineView.rest.length : 0); i++) {
+ var line = i ? lineView.rest[i - 1] : lineView.line, order;
+ builder.pos = 0;
+ builder.addToken = buildToken;
+ // Optionally wire in some hacks into the token-rendering
+ // algorithm, to deal with browser quirks.
+ if (hasBadBidiRects(cm.display.measure) && (order = getOrder(line)))
+ builder.addToken = buildTokenBadBidi(builder.addToken, order);
+ builder.map = [];
+ var allowFrontierUpdate = lineView != cm.display.externalMeasured && lineNo(line);
+ insertLineContent(line, builder, getLineStyles(cm, line, allowFrontierUpdate));
+ if (line.styleClasses) {
+ if (line.styleClasses.bgClass)
+ builder.bgClass = joinClasses(line.styleClasses.bgClass, builder.bgClass || "");
+ if (line.styleClasses.textClass)
+ builder.textClass = joinClasses(line.styleClasses.textClass, builder.textClass || "");
+ }
+
+ // Ensure at least a single node is present, for measuring.
+ if (builder.map.length == 0)
+ builder.map.push(0, 0, builder.content.appendChild(zeroWidthElement(cm.display.measure)));
+
+ // Store the map and a cache object for the current logical line
+ if (i == 0) {
+ lineView.measure.map = builder.map;
+ lineView.measure.cache = {};
+ } else {
+ (lineView.measure.maps || (lineView.measure.maps = [])).push(builder.map);
+ (lineView.measure.caches || (lineView.measure.caches = [])).push({});
+ }
+ }
+
+ // See issue #2901
+ if (webkit && /\bcm-tab\b/.test(builder.content.lastChild.className))
+ builder.content.className = "cm-tab-wrap-hack";
+
+ signal(cm, "renderLine", cm, lineView.line, builder.pre);
+ if (builder.pre.className)
+ builder.textClass = joinClasses(builder.pre.className, builder.textClass || "");
+
+ return builder;
+ }
+
+ function defaultSpecialCharPlaceholder(ch) {
+ var token = elt("span", "\u2022", "cm-invalidchar");
+ token.title = "\\u" + ch.charCodeAt(0).toString(16);
+ token.setAttribute("aria-label", token.title);
+ return token;
+ }
+
+ // Build up the DOM representation for a single token, and add it to
+ // the line map. Takes care to render special characters separately.
+ function buildToken(builder, text, style, startStyle, endStyle, title, css) {
+ if (!text) return;
+ var displayText = builder.splitSpaces ? text.replace(/ {3,}/g, splitSpaces) : text;
+ var special = builder.cm.state.specialChars, mustWrap = false;
+ if (!special.test(text)) {
+ builder.col += text.length;
+ var content = document.createTextNode(displayText);
+ builder.map.push(builder.pos, builder.pos + text.length, content);
+ if (ie && ie_version < 9) mustWrap = true;
+ builder.pos += text.length;
+ } else {
+ var content = document.createDocumentFragment(), pos = 0;
+ while (true) {
+ special.lastIndex = pos;
+ var m = special.exec(text);
+ var skipped = m ? m.index - pos : text.length - pos;
+ if (skipped) {
+ var txt = document.createTextNode(displayText.slice(pos, pos + skipped));
+ if (ie && ie_version < 9) content.appendChild(elt("span", [txt]));
+ else content.appendChild(txt);
+ builder.map.push(builder.pos, builder.pos + skipped, txt);
+ builder.col += skipped;
+ builder.pos += skipped;
+ }
+ if (!m) break;
+ pos += skipped + 1;
+ if (m[0] == "\t") {
+ var tabSize = builder.cm.options.tabSize, tabWidth = tabSize - builder.col % tabSize;
+ var txt = content.appendChild(elt("span", spaceStr(tabWidth), "cm-tab"));
+ txt.setAttribute("role", "presentation");
+ txt.setAttribute("cm-text", "\t");
+ builder.col += tabWidth;
+ } else {
+ var txt = builder.cm.options.specialCharPlaceholder(m[0]);
+ txt.setAttribute("cm-text", m[0]);
+ if (ie && ie_version < 9) content.appendChild(elt("span", [txt]));
+ else content.appendChild(txt);
+ builder.col += 1;
+ }
+ builder.map.push(builder.pos, builder.pos + 1, txt);
+ builder.pos++;
+ }
+ }
+ if (style || startStyle || endStyle || mustWrap || css) {
+ var fullStyle = style || "";
+ if (startStyle) fullStyle += startStyle;
+ if (endStyle) fullStyle += endStyle;
+ var token = elt("span", [content], fullStyle, css);
+ if (title) token.title = title;
+ return builder.content.appendChild(token);
+ }
+ builder.content.appendChild(content);
+ }
+
+ function splitSpaces(old) {
+ var out = " ";
+ for (var i = 0; i < old.length - 2; ++i) out += i % 2 ? " " : "\u00a0";
+ out += " ";
+ return out;
+ }
+
+ // Work around nonsense dimensions being reported for stretches of
+ // right-to-left text.
+ function buildTokenBadBidi(inner, order) {
+ return function(builder, text, style, startStyle, endStyle, title, css) {
+ style = style ? style + " cm-force-border" : "cm-force-border";
+ var start = builder.pos, end = start + text.length;
+ for (;;) {
+ // Find the part that overlaps with the start of this text
+ for (var i = 0; i < order.length; i++) {
+ var part = order[i];
+ if (part.to > start && part.from <= start) break;
+ }
+ if (part.to >= end) return inner(builder, text, style, startStyle, endStyle, title, css);
+ inner(builder, text.slice(0, part.to - start), style, startStyle, null, title, css);
+ startStyle = null;
+ text = text.slice(part.to - start);
+ start = part.to;
+ }
+ };
+ }
+
+ function buildCollapsedSpan(builder, size, marker, ignoreWidget) {
+ var widget = !ignoreWidget && marker.widgetNode;
+ if (widget) builder.map.push(builder.pos, builder.pos + size, widget);
+ if (!ignoreWidget && builder.cm.display.input.needsContentAttribute) {
+ if (!widget)
+ widget = builder.content.appendChild(document.createElement("span"));
+ widget.setAttribute("cm-marker", marker.id);
+ }
+ if (widget) {
+ builder.cm.display.input.setUneditable(widget);
+ builder.content.appendChild(widget);
+ }
+ builder.pos += size;
+ }
+
+ // Outputs a number of spans to make up a line, taking highlighting
+ // and marked text into account.
+ function insertLineContent(line, builder, styles) {
+ var spans = line.markedSpans, allText = line.text, at = 0;
+ if (!spans) {
+ for (var i = 1; i < styles.length; i+=2)
+ builder.addToken(builder, allText.slice(at, at = styles[i]), interpretTokenStyle(styles[i+1], builder.cm.options));
+ return;
+ }
+
+ var len = allText.length, pos = 0, i = 1, text = "", style, css;
+ var nextChange = 0, spanStyle, spanEndStyle, spanStartStyle, title, collapsed;
+ for (;;) {
+ if (nextChange == pos) { // Update current marker set
+ spanStyle = spanEndStyle = spanStartStyle = title = css = "";
+ collapsed = null; nextChange = Infinity;
+ var foundBookmarks = [];
+ for (var j = 0; j < spans.length; ++j) {
+ var sp = spans[j], m = sp.marker;
+ if (m.type == "bookmark" && sp.from == pos && m.widgetNode) {
+ foundBookmarks.push(m);
+ } else if (sp.from <= pos && (sp.to == null || sp.to > pos || m.collapsed && sp.to == pos && sp.from == pos)) {
+ if (sp.to != null && sp.to != pos && nextChange > sp.to) {
+ nextChange = sp.to;
+ spanEndStyle = "";
+ }
+ if (m.className) spanStyle += " " + m.className;
+ if (m.css) css = m.css;
+ if (m.startStyle && sp.from == pos) spanStartStyle += " " + m.startStyle;
+ if (m.endStyle && sp.to == nextChange) spanEndStyle += " " + m.endStyle;
+ if (m.title && !title) title = m.title;
+ if (m.collapsed && (!collapsed || compareCollapsedMarkers(collapsed.marker, m) < 0))
+ collapsed = sp;
+ } else if (sp.from > pos && nextChange > sp.from) {
+ nextChange = sp.from;
+ }
+ }
+ if (collapsed && (collapsed.from || 0) == pos) {
+ buildCollapsedSpan(builder, (collapsed.to == null ? len + 1 : collapsed.to) - pos,
+ collapsed.marker, collapsed.from == null);
+ if (collapsed.to == null) return;
+ if (collapsed.to == pos) collapsed = false;
+ }
+ if (!collapsed && foundBookmarks.length) for (var j = 0; j < foundBookmarks.length; ++j)
+ buildCollapsedSpan(builder, 0, foundBookmarks[j]);
+ }
+ if (pos >= len) break;
+
+ var upto = Math.min(len, nextChange);
+ while (true) {
+ if (text) {
+ var end = pos + text.length;
+ if (!collapsed) {
+ var tokenText = end > upto ? text.slice(0, upto - pos) : text;
+ builder.addToken(builder, tokenText, style ? style + spanStyle : spanStyle,
+ spanStartStyle, pos + tokenText.length == nextChange ? spanEndStyle : "", title, css);
+ }
+ if (end >= upto) {text = text.slice(upto - pos); pos = upto; break;}
+ pos = end;
+ spanStartStyle = "";
+ }
+ text = allText.slice(at, at = styles[i++]);
+ style = interpretTokenStyle(styles[i++], builder.cm.options);
+ }
+ }
+ }
+
+ // DOCUMENT DATA STRUCTURE
+
+ // By default, updates that start and end at the beginning of a line
+ // are treated specially, in order to make the association of line
+ // widgets and marker elements with the text behave more intuitive.
+ function isWholeLineUpdate(doc, change) {
+ return change.from.ch == 0 && change.to.ch == 0 && lst(change.text) == "" &&
+ (!doc.cm || doc.cm.options.wholeLineUpdateBefore);
+ }
+
+ // Perform a change on the document data structure.
+ function updateDoc(doc, change, markedSpans, estimateHeight) {
+ function spansFor(n) {return markedSpans ? markedSpans[n] : null;}
+ function update(line, text, spans) {
+ updateLine(line, text, spans, estimateHeight);
+ signalLater(line, "change", line, change);
+ }
+ function linesFor(start, end) {
+ for (var i = start, result = []; i < end; ++i)
+ result.push(new Line(text[i], spansFor(i), estimateHeight));
+ return result;
+ }
+
+ var from = change.from, to = change.to, text = change.text;
+ var firstLine = getLine(doc, from.line), lastLine = getLine(doc, to.line);
+ var lastText = lst(text), lastSpans = spansFor(text.length - 1), nlines = to.line - from.line;
+
+ // Adjust the line structure
+ if (change.full) {
+ doc.insert(0, linesFor(0, text.length));
+ doc.remove(text.length, doc.size - text.length);
+ } else if (isWholeLineUpdate(doc, change)) {
+ // This is a whole-line replace. Treated specially to make
+ // sure line objects move the way they are supposed to.
+ var added = linesFor(0, text.length - 1);
+ update(lastLine, lastLine.text, lastSpans);
+ if (nlines) doc.remove(from.line, nlines);
+ if (added.length) doc.insert(from.line, added);
+ } else if (firstLine == lastLine) {
+ if (text.length == 1) {
+ update(firstLine, firstLine.text.slice(0, from.ch) + lastText + firstLine.text.slice(to.ch), lastSpans);
+ } else {
+ var added = linesFor(1, text.length - 1);
+ added.push(new Line(lastText + firstLine.text.slice(to.ch), lastSpans, estimateHeight));
+ update(firstLine, firstLine.text.slice(0, from.ch) + text[0], spansFor(0));
+ doc.insert(from.line + 1, added);
+ }
+ } else if (text.length == 1) {
+ update(firstLine, firstLine.text.slice(0, from.ch) + text[0] + lastLine.text.slice(to.ch), spansFor(0));
+ doc.remove(from.line + 1, nlines);
+ } else {
+ update(firstLine, firstLine.text.slice(0, from.ch) + text[0], spansFor(0));
+ update(lastLine, lastText + lastLine.text.slice(to.ch), lastSpans);
+ var added = linesFor(1, text.length - 1);
+ if (nlines > 1) doc.remove(from.line + 1, nlines - 1);
+ doc.insert(from.line + 1, added);
+ }
+
+ signalLater(doc, "change", doc, change);
+ }
+
+ // The document is represented as a BTree consisting of leaves, with
+ // chunk of lines in them, and branches, with up to ten leaves or
+ // other branch nodes below them. The top node is always a branch
+ // node, and is the document object itself (meaning it has
+ // additional methods and properties).
+ //
+ // All nodes have parent links. The tree is used both to go from
+ // line numbers to line objects, and to go from objects to numbers.
+ // It also indexes by height, and is used to convert between height
+ // and line object, and to find the total height of the document.
+ //
+ // See also http://marijnhaverbeke.nl/blog/codemirror-line-tree.html
+
+ function LeafChunk(lines) {
+ this.lines = lines;
+ this.parent = null;
+ for (var i = 0, height = 0; i < lines.length; ++i) {
+ lines[i].parent = this;
+ height += lines[i].height;
+ }
+ this.height = height;
+ }
+
+ LeafChunk.prototype = {
+ chunkSize: function() { return this.lines.length; },
+ // Remove the n lines at offset 'at'.
+ removeInner: function(at, n) {
+ for (var i = at, e = at + n; i < e; ++i) {
+ var line = this.lines[i];
+ this.height -= line.height;
+ cleanUpLine(line);
+ signalLater(line, "delete");
+ }
+ this.lines.splice(at, n);
+ },
+ // Helper used to collapse a small branch into a single leaf.
+ collapse: function(lines) {
+ lines.push.apply(lines, this.lines);
+ },
+ // Insert the given array of lines at offset 'at', count them as
+ // having the given height.
+ insertInner: function(at, lines, height) {
+ this.height += height;
+ this.lines = this.lines.slice(0, at).concat(lines).concat(this.lines.slice(at));
+ for (var i = 0; i < lines.length; ++i) lines[i].parent = this;
+ },
+ // Used to iterate over a part of the tree.
+ iterN: function(at, n, op) {
+ for (var e = at + n; at < e; ++at)
+ if (op(this.lines[at])) return true;
+ }
+ };
+
+ function BranchChunk(children) {
+ this.children = children;
+ var size = 0, height = 0;
+ for (var i = 0; i < children.length; ++i) {
+ var ch = children[i];
+ size += ch.chunkSize(); height += ch.height;
+ ch.parent = this;
+ }
+ this.size = size;
+ this.height = height;
+ this.parent = null;
+ }
+
+ BranchChunk.prototype = {
+ chunkSize: function() { return this.size; },
+ removeInner: function(at, n) {
+ this.size -= n;
+ for (var i = 0; i < this.children.length; ++i) {
+ var child = this.children[i], sz = child.chunkSize();
+ if (at < sz) {
+ var rm = Math.min(n, sz - at), oldHeight = child.height;
+ child.removeInner(at, rm);
+ this.height -= oldHeight - child.height;
+ if (sz == rm) { this.children.splice(i--, 1); child.parent = null; }
+ if ((n -= rm) == 0) break;
+ at = 0;
+ } else at -= sz;
+ }
+ // If the result is smaller than 25 lines, ensure that it is a
+ // single leaf node.
+ if (this.size - n < 25 &&
+ (this.children.length > 1 || !(this.children[0] instanceof LeafChunk))) {
+ var lines = [];
+ this.collapse(lines);
+ this.children = [new LeafChunk(lines)];
+ this.children[0].parent = this;
+ }
+ },
+ collapse: function(lines) {
+ for (var i = 0; i < this.children.length; ++i) this.children[i].collapse(lines);
+ },
+ insertInner: function(at, lines, height) {
+ this.size += lines.length;
+ this.height += height;
+ for (var i = 0; i < this.children.length; ++i) {
+ var child = this.children[i], sz = child.chunkSize();
+ if (at <= sz) {
+ child.insertInner(at, lines, height);
+ if (child.lines && child.lines.length > 50) {
+ while (child.lines.length > 50) {
+ var spilled = child.lines.splice(child.lines.length - 25, 25);
+ var newleaf = new LeafChunk(spilled);
+ child.height -= newleaf.height;
+ this.children.splice(i + 1, 0, newleaf);
+ newleaf.parent = this;
+ }
+ this.maybeSpill();
+ }
+ break;
+ }
+ at -= sz;
+ }
+ },
+ // When a node has grown, check whether it should be split.
+ maybeSpill: function() {
+ if (this.children.length <= 10) return;
+ var me = this;
+ do {
+ var spilled = me.children.splice(me.children.length - 5, 5);
+ var sibling = new BranchChunk(spilled);
+ if (!me.parent) { // Become the parent node
+ var copy = new BranchChunk(me.children);
+ copy.parent = me;
+ me.children = [copy, sibling];
+ me = copy;
+ } else {
+ me.size -= sibling.size;
+ me.height -= sibling.height;
+ var myIndex = indexOf(me.parent.children, me);
+ me.parent.children.splice(myIndex + 1, 0, sibling);
+ }
+ sibling.parent = me.parent;
+ } while (me.children.length > 10);
+ me.parent.maybeSpill();
+ },
+ iterN: function(at, n, op) {
+ for (var i = 0; i < this.children.length; ++i) {
+ var child = this.children[i], sz = child.chunkSize();
+ if (at < sz) {
+ var used = Math.min(n, sz - at);
+ if (child.iterN(at, used, op)) return true;
+ if ((n -= used) == 0) break;
+ at = 0;
+ } else at -= sz;
+ }
+ }
+ };
+
+ var nextDocId = 0;
+ var Doc = CodeMirror.Doc = function(text, mode, firstLine) {
+ if (!(this instanceof Doc)) return new Doc(text, mode, firstLine);
+ if (firstLine == null) firstLine = 0;
+
+ BranchChunk.call(this, [new LeafChunk([new Line("", null)])]);
+ this.first = firstLine;
+ this.scrollTop = this.scrollLeft = 0;
+ this.cantEdit = false;
+ this.cleanGeneration = 1;
+ this.frontier = firstLine;
+ var start = Pos(firstLine, 0);
+ this.sel = simpleSelection(start);
+ this.history = new History(null);
+ this.id = ++nextDocId;
+ this.modeOption = mode;
+
+ if (typeof text == "string") text = splitLines(text);
+ updateDoc(this, {from: start, to: start, text: text});
+ setSelection(this, simpleSelection(start), sel_dontScroll);
+ };
+
+ Doc.prototype = createObj(BranchChunk.prototype, {
+ constructor: Doc,
+ // Iterate over the document. Supports two forms -- with only one
+ // argument, it calls that for each line in the document. With
+ // three, it iterates over the range given by the first two (with
+ // the second being non-inclusive).
+ iter: function(from, to, op) {
+ if (op) this.iterN(from - this.first, to - from, op);
+ else this.iterN(this.first, this.first + this.size, from);
+ },
+
+ // Non-public interface for adding and removing lines.
+ insert: function(at, lines) {
+ var height = 0;
+ for (var i = 0; i < lines.length; ++i) height += lines[i].height;
+ this.insertInner(at - this.first, lines, height);
+ },
+ remove: function(at, n) { this.removeInner(at - this.first, n); },
+
+ // From here, the methods are part of the public interface. Most
+ // are also available from CodeMirror (editor) instances.
+
+ getValue: function(lineSep) {
+ var lines = getLines(this, this.first, this.first + this.size);
+ if (lineSep === false) return lines;
+ return lines.join(lineSep || "\n");
+ },
+ setValue: docMethodOp(function(code) {
+ var top = Pos(this.first, 0), last = this.first + this.size - 1;
+ makeChange(this, {from: top, to: Pos(last, getLine(this, last).text.length),
+ text: splitLines(code), origin: "setValue", full: true}, true);
+ setSelection(this, simpleSelection(top));
+ }),
+ replaceRange: function(code, from, to, origin) {
+ from = clipPos(this, from);
+ to = to ? clipPos(this, to) : from;
+ replaceRange(this, code, from, to, origin);
+ },
+ getRange: function(from, to, lineSep) {
+ var lines = getBetween(this, clipPos(this, from), clipPos(this, to));
+ if (lineSep === false) return lines;
+ return lines.join(lineSep || "\n");
+ },
+
+ getLine: function(line) {var l = this.getLineHandle(line); return l && l.text;},
+
+ getLineHandle: function(line) {if (isLine(this, line)) return getLine(this, line);},
+ getLineNumber: function(line) {return lineNo(line);},
+
+ getLineHandleVisualStart: function(line) {
+ if (typeof line == "number") line = getLine(this, line);
+ return visualLine(line);
+ },
+
+ lineCount: function() {return this.size;},
+ firstLine: function() {return this.first;},
+ lastLine: function() {return this.first + this.size - 1;},
+
+ clipPos: function(pos) {return clipPos(this, pos);},
+
+ getCursor: function(start) {
+ var range = this.sel.primary(), pos;
+ if (start == null || start == "head") pos = range.head;
+ else if (start == "anchor") pos = range.anchor;
+ else if (start == "end" || start == "to" || start === false) pos = range.to();
+ else pos = range.from();
+ return pos;
+ },
+ listSelections: function() { return this.sel.ranges; },
+ somethingSelected: function() {return this.sel.somethingSelected();},
+
+ setCursor: docMethodOp(function(line, ch, options) {
+ setSimpleSelection(this, clipPos(this, typeof line == "number" ? Pos(line, ch || 0) : line), null, options);
+ }),
+ setSelection: docMethodOp(function(anchor, head, options) {
+ setSimpleSelection(this, clipPos(this, anchor), clipPos(this, head || anchor), options);
+ }),
+ extendSelection: docMethodOp(function(head, other, options) {
+ extendSelection(this, clipPos(this, head), other && clipPos(this, other), options);
+ }),
+ extendSelections: docMethodOp(function(heads, options) {
+ extendSelections(this, clipPosArray(this, heads, options));
+ }),
+ extendSelectionsBy: docMethodOp(function(f, options) {
+ extendSelections(this, map(this.sel.ranges, f), options);
+ }),
+ setSelections: docMethodOp(function(ranges, primary, options) {
+ if (!ranges.length) return;
+ for (var i = 0, out = []; i < ranges.length; i++)
+ out[i] = new Range(clipPos(this, ranges[i].anchor),
+ clipPos(this, ranges[i].head));
+ if (primary == null) primary = Math.min(ranges.length - 1, this.sel.primIndex);
+ setSelection(this, normalizeSelection(out, primary), options);
+ }),
+ addSelection: docMethodOp(function(anchor, head, options) {
+ var ranges = this.sel.ranges.slice(0);
+ ranges.push(new Range(clipPos(this, anchor), clipPos(this, head || anchor)));
+ setSelection(this, normalizeSelection(ranges, ranges.length - 1), options);
+ }),
+
+ getSelection: function(lineSep) {
+ var ranges = this.sel.ranges, lines;
+ for (var i = 0; i < ranges.length; i++) {
+ var sel = getBetween(this, ranges[i].from(), ranges[i].to());
+ lines = lines ? lines.concat(sel) : sel;
+ }
+ if (lineSep === false) return lines;
+ else return lines.join(lineSep || "\n");
+ },
+ getSelections: function(lineSep) {
+ var parts = [], ranges = this.sel.ranges;
+ for (var i = 0; i < ranges.length; i++) {
+ var sel = getBetween(this, ranges[i].from(), ranges[i].to());
+ if (lineSep !== false) sel = sel.join(lineSep || "\n");
+ parts[i] = sel;
+ }
+ return parts;
+ },
+ replaceSelection: function(code, collapse, origin) {
+ var dup = [];
+ for (var i = 0; i < this.sel.ranges.length; i++)
+ dup[i] = code;
+ this.replaceSelections(dup, collapse, origin || "+input");
+ },
+ replaceSelections: docMethodOp(function(code, collapse, origin) {
+ var changes = [], sel = this.sel;
+ for (var i = 0; i < sel.ranges.length; i++) {
+ var range = sel.ranges[i];
+ changes[i] = {from: range.from(), to: range.to(), text: splitLines(code[i]), origin: origin};
+ }
+ var newSel = collapse && collapse != "end" && computeReplacedSel(this, changes, collapse);
+ for (var i = changes.length - 1; i >= 0; i--)
+ makeChange(this, changes[i]);
+ if (newSel) setSelectionReplaceHistory(this, newSel);
+ else if (this.cm) ensureCursorVisible(this.cm);
+ }),
+ undo: docMethodOp(function() {makeChangeFromHistory(this, "undo");}),
+ redo: docMethodOp(function() {makeChangeFromHistory(this, "redo");}),
+ undoSelection: docMethodOp(function() {makeChangeFromHistory(this, "undo", true);}),
+ redoSelection: docMethodOp(function() {makeChangeFromHistory(this, "redo", true);}),
+
+ setExtending: function(val) {this.extend = val;},
+ getExtending: function() {return this.extend;},
+
+ historySize: function() {
+ var hist = this.history, done = 0, undone = 0;
+ for (var i = 0; i < hist.done.length; i++) if (!hist.done[i].ranges) ++done;
+ for (var i = 0; i < hist.undone.length; i++) if (!hist.undone[i].ranges) ++undone;
+ return {undo: done, redo: undone};
+ },
+ clearHistory: function() {this.history = new History(this.history.maxGeneration);},
+
+ markClean: function() {
+ this.cleanGeneration = this.changeGeneration(true);
+ },
+ changeGeneration: function(forceSplit) {
+ if (forceSplit)
+ this.history.lastOp = this.history.lastSelOp = this.history.lastOrigin = null;
+ return this.history.generation;
+ },
+ isClean: function (gen) {
+ return this.history.generation == (gen || this.cleanGeneration);
+ },
+
+ getHistory: function() {
+ return {done: copyHistoryArray(this.history.done),
+ undone: copyHistoryArray(this.history.undone)};
+ },
+ setHistory: function(histData) {
+ var hist = this.history = new History(this.history.maxGeneration);
+ hist.done = copyHistoryArray(histData.done.slice(0), null, true);
+ hist.undone = copyHistoryArray(histData.undone.slice(0), null, true);
+ },
+
+ addLineClass: docMethodOp(function(handle, where, cls) {
+ return changeLine(this, handle, where == "gutter" ? "gutter" : "class", function(line) {
+ var prop = where == "text" ? "textClass"
+ : where == "background" ? "bgClass"
+ : where == "gutter" ? "gutterClass" : "wrapClass";
+ if (!line[prop]) line[prop] = cls;
+ else if (classTest(cls).test(line[prop])) return false;
+ else line[prop] += " " + cls;
+ return true;
+ });
+ }),
+ removeLineClass: docMethodOp(function(handle, where, cls) {
+ return changeLine(this, handle, where == "gutter" ? "gutter" : "class", function(line) {
+ var prop = where == "text" ? "textClass"
+ : where == "background" ? "bgClass"
+ : where == "gutter" ? "gutterClass" : "wrapClass";
+ var cur = line[prop];
+ if (!cur) return false;
+ else if (cls == null) line[prop] = null;
+ else {
+ var found = cur.match(classTest(cls));
+ if (!found) return false;
+ var end = found.index + found[0].length;
+ line[prop] = cur.slice(0, found.index) + (!found.index || end == cur.length ? "" : " ") + cur.slice(end) || null;
+ }
+ return true;
+ });
+ }),
+
+ addLineWidget: docMethodOp(function(handle, node, options) {
+ return addLineWidget(this, handle, node, options);
+ }),
+ removeLineWidget: function(widget) { widget.clear(); },
+
+ markText: function(from, to, options) {
+ return markText(this, clipPos(this, from), clipPos(this, to), options, "range");
+ },
+ setBookmark: function(pos, options) {
+ var realOpts = {replacedWith: options && (options.nodeType == null ? options.widget : options),
+ insertLeft: options && options.insertLeft,
+ clearWhenEmpty: false, shared: options && options.shared,
+ handleMouseEvents: options && options.handleMouseEvents};
+ pos = clipPos(this, pos);
+ return markText(this, pos, pos, realOpts, "bookmark");
+ },
+ findMarksAt: function(pos) {
+ pos = clipPos(this, pos);
+ var markers = [], spans = getLine(this, pos.line).markedSpans;
+ if (spans) for (var i = 0; i < spans.length; ++i) {
+ var span = spans[i];
+ if ((span.from == null || span.from <= pos.ch) &&
+ (span.to == null || span.to >= pos.ch))
+ markers.push(span.marker.parent || span.marker);
+ }
+ return markers;
+ },
+ findMarks: function(from, to, filter) {
+ from = clipPos(this, from); to = clipPos(this, to);
+ var found = [], lineNo = from.line;
+ this.iter(from.line, to.line + 1, function(line) {
+ var spans = line.markedSpans;
+ if (spans) for (var i = 0; i < spans.length; i++) {
+ var span = spans[i];
+ if (!(lineNo == from.line && from.ch > span.to ||
+ span.from == null && lineNo != from.line||
+ lineNo == to.line && span.from > to.ch) &&
+ (!filter || filter(span.marker)))
+ found.push(span.marker.parent || span.marker);
+ }
+ ++lineNo;
+ });
+ return found;
+ },
+ getAllMarks: function() {
+ var markers = [];
+ this.iter(function(line) {
+ var sps = line.markedSpans;
+ if (sps) for (var i = 0; i < sps.length; ++i)
+ if (sps[i].from != null) markers.push(sps[i].marker);
+ });
+ return markers;
+ },
+
+ posFromIndex: function(off) {
+ var ch, lineNo = this.first;
+ this.iter(function(line) {
+ var sz = line.text.length + 1;
+ if (sz > off) { ch = off; return true; }
+ off -= sz;
+ ++lineNo;
+ });
+ return clipPos(this, Pos(lineNo, ch));
+ },
+ indexFromPos: function (coords) {
+ coords = clipPos(this, coords);
+ var index = coords.ch;
+ if (coords.line < this.first || coords.ch < 0) return 0;
+ this.iter(this.first, coords.line, function (line) {
+ index += line.text.length + 1;
+ });
+ return index;
+ },
+
+ copy: function(copyHistory) {
+ var doc = new Doc(getLines(this, this.first, this.first + this.size), this.modeOption, this.first);
+ doc.scrollTop = this.scrollTop; doc.scrollLeft = this.scrollLeft;
+ doc.sel = this.sel;
+ doc.extend = false;
+ if (copyHistory) {
+ doc.history.undoDepth = this.history.undoDepth;
+ doc.setHistory(this.getHistory());
+ }
+ return doc;
+ },
+
+ linkedDoc: function(options) {
+ if (!options) options = {};
+ var from = this.first, to = this.first + this.size;
+ if (options.from != null && options.from > from) from = options.from;
+ if (options.to != null && options.to < to) to = options.to;
+ var copy = new Doc(getLines(this, from, to), options.mode || this.modeOption, from);
+ if (options.sharedHist) copy.history = this.history;
+ (this.linked || (this.linked = [])).push({doc: copy, sharedHist: options.sharedHist});
+ copy.linked = [{doc: this, isParent: true, sharedHist: options.sharedHist}];
+ copySharedMarkers(copy, findSharedMarkers(this));
+ return copy;
+ },
+ unlinkDoc: function(other) {
+ if (other instanceof CodeMirror) other = other.doc;
+ if (this.linked) for (var i = 0; i < this.linked.length; ++i) {
+ var link = this.linked[i];
+ if (link.doc != other) continue;
+ this.linked.splice(i, 1);
+ other.unlinkDoc(this);
+ detachSharedMarkers(findSharedMarkers(this));
+ break;
+ }
+ // If the histories were shared, split them again
+ if (other.history == this.history) {
+ var splitIds = [other.id];
+ linkedDocs(other, function(doc) {splitIds.push(doc.id);}, true);
+ other.history = new History(null);
+ other.history.done = copyHistoryArray(this.history.done, splitIds);
+ other.history.undone = copyHistoryArray(this.history.undone, splitIds);
+ }
+ },
+ iterLinkedDocs: function(f) {linkedDocs(this, f);},
+
+ getMode: function() {return this.mode;},
+ getEditor: function() {return this.cm;}
+ });
+
+ // Public alias.
+ Doc.prototype.eachLine = Doc.prototype.iter;
+
+ // Set up methods on CodeMirror's prototype to redirect to the editor's document.
+ var dontDelegate = "iter insert remove copy getEditor".split(" ");
+ for (var prop in Doc.prototype) if (Doc.prototype.hasOwnProperty(prop) && indexOf(dontDelegate, prop) < 0)
+ CodeMirror.prototype[prop] = (function(method) {
+ return function() {return method.apply(this.doc, arguments);};
+ })(Doc.prototype[prop]);
+
+ eventMixin(Doc);
+
+ // Call f for all linked documents.
+ function linkedDocs(doc, f, sharedHistOnly) {
+ function propagate(doc, skip, sharedHist) {
+ if (doc.linked) for (var i = 0; i < doc.linked.length; ++i) {
+ var rel = doc.linked[i];
+ if (rel.doc == skip) continue;
+ var shared = sharedHist && rel.sharedHist;
+ if (sharedHistOnly && !shared) continue;
+ f(rel.doc, shared);
+ propagate(rel.doc, doc, shared);
+ }
+ }
+ propagate(doc, null, true);
+ }
+
+ // Attach a document to an editor.
+ function attachDoc(cm, doc) {
+ if (doc.cm) throw new Error("This document is already in use.");
+ cm.doc = doc;
+ doc.cm = cm;
+ estimateLineHeights(cm);
+ loadMode(cm);
+ if (!cm.options.lineWrapping) findMaxLine(cm);
+ cm.options.mode = doc.modeOption;
+ regChange(cm);
+ }
+
+ // LINE UTILITIES
+
+ // Find the line object corresponding to the given line number.
+ function getLine(doc, n) {
+ n -= doc.first;
+ if (n < 0 || n >= doc.size) throw new Error("There is no line " + (n + doc.first) + " in the document.");
+ for (var chunk = doc; !chunk.lines;) {
+ for (var i = 0;; ++i) {
+ var child = chunk.children[i], sz = child.chunkSize();
+ if (n < sz) { chunk = child; break; }
+ n -= sz;
+ }
+ }
+ return chunk.lines[n];
+ }
+
+ // Get the part of a document between two positions, as an array of
+ // strings.
+ function getBetween(doc, start, end) {
+ var out = [], n = start.line;
+ doc.iter(start.line, end.line + 1, function(line) {
+ var text = line.text;
+ if (n == end.line) text = text.slice(0, end.ch);
+ if (n == start.line) text = text.slice(start.ch);
+ out.push(text);
+ ++n;
+ });
+ return out;
+ }
+ // Get the lines between from and to, as array of strings.
+ function getLines(doc, from, to) {
+ var out = [];
+ doc.iter(from, to, function(line) { out.push(line.text); });
+ return out;
+ }
+
+ // Update the height of a line, propagating the height change
+ // upwards to parent nodes.
+ function updateLineHeight(line, height) {
+ var diff = height - line.height;
+ if (diff) for (var n = line; n; n = n.parent) n.height += diff;
+ }
+
+ // Given a line object, find its line number by walking up through
+ // its parent links.
+ function lineNo(line) {
+ if (line.parent == null) return null;
+ var cur = line.parent, no = indexOf(cur.lines, line);
+ for (var chunk = cur.parent; chunk; cur = chunk, chunk = chunk.parent) {
+ for (var i = 0;; ++i) {
+ if (chunk.children[i] == cur) break;
+ no += chunk.children[i].chunkSize();
+ }
+ }
+ return no + cur.first;
+ }
+
+ // Find the line at the given vertical position, using the height
+ // information in the document tree.
+ function lineAtHeight(chunk, h) {
+ var n = chunk.first;
+ outer: do {
+ for (var i = 0; i < chunk.children.length; ++i) {
+ var child = chunk.children[i], ch = child.height;
+ if (h < ch) { chunk = child; continue outer; }
+ h -= ch;
+ n += child.chunkSize();
+ }
+ return n;
+ } while (!chunk.lines);
+ for (var i = 0; i < chunk.lines.length; ++i) {
+ var line = chunk.lines[i], lh = line.height;
+ if (h < lh) break;
+ h -= lh;
+ }
+ return n + i;
+ }
+
+
+ // Find the height above the given line.
+ function heightAtLine(lineObj) {
+ lineObj = visualLine(lineObj);
+
+ var h = 0, chunk = lineObj.parent;
+ for (var i = 0; i < chunk.lines.length; ++i) {
+ var line = chunk.lines[i];
+ if (line == lineObj) break;
+ else h += line.height;
+ }
+ for (var p = chunk.parent; p; chunk = p, p = chunk.parent) {
+ for (var i = 0; i < p.children.length; ++i) {
+ var cur = p.children[i];
+ if (cur == chunk) break;
+ else h += cur.height;
+ }
+ }
+ return h;
+ }
+
+ // Get the bidi ordering for the given line (and cache it). Returns
+ // false for lines that are fully left-to-right, and an array of
+ // BidiSpan objects otherwise.
+ function getOrder(line) {
+ var order = line.order;
+ if (order == null) order = line.order = bidiOrdering(line.text);
+ return order;
+ }
+
+ // HISTORY
+
+ function History(startGen) {
+ // Arrays of change events and selections. Doing something adds an
+ // event to done and clears undo. Undoing moves events from done
+ // to undone, redoing moves them in the other direction.
+ this.done = []; this.undone = [];
+ this.undoDepth = Infinity;
+ // Used to track when changes can be merged into a single undo
+ // event
+ this.lastModTime = this.lastSelTime = 0;
+ this.lastOp = this.lastSelOp = null;
+ this.lastOrigin = this.lastSelOrigin = null;
+ // Used by the isClean() method
+ this.generation = this.maxGeneration = startGen || 1;
+ }
+
+ // Create a history change event from an updateDoc-style change
+ // object.
+ function historyChangeFromChange(doc, change) {
+ var histChange = {from: copyPos(change.from), to: changeEnd(change), text: getBetween(doc, change.from, change.to)};
+ attachLocalSpans(doc, histChange, change.from.line, change.to.line + 1);
+ linkedDocs(doc, function(doc) {attachLocalSpans(doc, histChange, change.from.line, change.to.line + 1);}, true);
+ return histChange;
+ }
+
+ // Pop all selection events off the end of a history array. Stop at
+ // a change event.
+ function clearSelectionEvents(array) {
+ while (array.length) {
+ var last = lst(array);
+ if (last.ranges) array.pop();
+ else break;
+ }
+ }
+
+ // Find the top change event in the history. Pop off selection
+ // events that are in the way.
+ function lastChangeEvent(hist, force) {
+ if (force) {
+ clearSelectionEvents(hist.done);
+ return lst(hist.done);
+ } else if (hist.done.length && !lst(hist.done).ranges) {
+ return lst(hist.done);
+ } else if (hist.done.length > 1 && !hist.done[hist.done.length - 2].ranges) {
+ hist.done.pop();
+ return lst(hist.done);
+ }
+ }
+
+ // Register a change in the history. Merges changes that are within
+ // a single operation, ore are close together with an origin that
+ // allows merging (starting with "+") into a single event.
+ function addChangeToHistory(doc, change, selAfter, opId) {
+ if(change.origin == "ignoreHistory") return;
+ var hist = doc.history;
+ hist.undone.length = 0;
+ var time = +new Date, cur;
+
+ if ((hist.lastOp == opId ||
+ hist.lastOrigin == change.origin && change.origin &&
+ ((change.origin.charAt(0) == "+" && doc.cm && hist.lastModTime > time - doc.cm.options.historyEventDelay) ||
+ change.origin.charAt(0) == "*")) &&
+ (cur = lastChangeEvent(hist, hist.lastOp == opId))) {
+ // Merge this change into the last event
+ var last = lst(cur.changes);
+ if (cmp(change.from, change.to) == 0 && cmp(change.from, last.to) == 0) {
+ // Optimized case for simple insertion -- don't want to add
+ // new changesets for every character typed
+ last.to = changeEnd(change);
+ } else {
+ // Add new sub-event
+ cur.changes.push(historyChangeFromChange(doc, change));
+ }
+ } else {
+ // Can not be merged, start a new event.
+ var before = lst(hist.done);
+ if (!before || !before.ranges)
+ pushSelectionToHistory(doc.sel, hist.done);
+ cur = {changes: [historyChangeFromChange(doc, change)],
+ generation: hist.generation};
+ hist.done.push(cur);
+ while (hist.done.length > hist.undoDepth) {
+ hist.done.shift();
+ if (!hist.done[0].ranges) hist.done.shift();
+ }
+ }
+ hist.done.push(selAfter);
+ hist.generation = ++hist.maxGeneration;
+ hist.lastModTime = hist.lastSelTime = time;
+ hist.lastOp = hist.lastSelOp = opId;
+ hist.lastOrigin = hist.lastSelOrigin = change.origin;
+
+ if (!last) signal(doc, "historyAdded");
+ }
+
+ function selectionEventCanBeMerged(doc, origin, prev, sel) {
+ var ch = origin.charAt(0);
+ return ch == "*" ||
+ ch == "+" &&
+ prev.ranges.length == sel.ranges.length &&
+ prev.somethingSelected() == sel.somethingSelected() &&
+ new Date - doc.history.lastSelTime <= (doc.cm ? doc.cm.options.historyEventDelay : 500);
+ }
+
+ // Called whenever the selection changes, sets the new selection as
+ // the pending selection in the history, and pushes the old pending
+ // selection into the 'done' array when it was significantly
+ // different (in number of selected ranges, emptiness, or time).
+ function addSelectionToHistory(doc, sel, opId, options) {
+ var hist = doc.history, origin = options && options.origin;
+
+ // A new event is started when the previous origin does not match
+ // the current, or the origins don't allow matching. Origins
+ // starting with * are always merged, those starting with + are
+ // merged when similar and close together in time.
+ if (opId == hist.lastSelOp ||
+ (origin && hist.lastSelOrigin == origin &&
+ (hist.lastModTime == hist.lastSelTime && hist.lastOrigin == origin ||
+ selectionEventCanBeMerged(doc, origin, lst(hist.done), sel))))
+ hist.done[hist.done.length - 1] = sel;
+ else
+ pushSelectionToHistory(sel, hist.done);
+
+ hist.lastSelTime = +new Date;
+ hist.lastSelOrigin = origin;
+ hist.lastSelOp = opId;
+ if (options && options.clearRedo !== false)
+ clearSelectionEvents(hist.undone);
+ }
+
+ function pushSelectionToHistory(sel, dest) {
+ var top = lst(dest);
+ if (!(top && top.ranges && top.equals(sel)))
+ dest.push(sel);
+ }
+
+ // Used to store marked span information in the history.
+ function attachLocalSpans(doc, change, from, to) {
+ var existing = change["spans_" + doc.id], n = 0;
+ doc.iter(Math.max(doc.first, from), Math.min(doc.first + doc.size, to), function(line) {
+ if (line.markedSpans)
+ (existing || (existing = change["spans_" + doc.id] = {}))[n] = line.markedSpans;
+ ++n;
+ });
+ }
+
+ // When un/re-doing restores text containing marked spans, those
+ // that have been explicitly cleared should not be restored.
+ function removeClearedSpans(spans) {
+ if (!spans) return null;
+ for (var i = 0, out; i < spans.length; ++i) {
+ if (spans[i].marker.explicitlyCleared) { if (!out) out = spans.slice(0, i); }
+ else if (out) out.push(spans[i]);
+ }
+ return !out ? spans : out.length ? out : null;
+ }
+
+ // Retrieve and filter the old marked spans stored in a change event.
+ function getOldSpans(doc, change) {
+ var found = change["spans_" + doc.id];
+ if (!found) return null;
+ for (var i = 0, nw = []; i < change.text.length; ++i)
+ nw.push(removeClearedSpans(found[i]));
+ return nw;
+ }
+
+ // Used both to provide a JSON-safe object in .getHistory, and, when
+ // detaching a document, to split the history in two
+ function copyHistoryArray(events, newGroup, instantiateSel) {
+ for (var i = 0, copy = []; i < events.length; ++i) {
+ var event = events[i];
+ if (event.ranges) {
+ copy.push(instantiateSel ? Selection.prototype.deepCopy.call(event) : event);
+ continue;
+ }
+ var changes = event.changes, newChanges = [];
+ copy.push({changes: newChanges});
+ for (var j = 0; j < changes.length; ++j) {
+ var change = changes[j], m;
+ newChanges.push({from: change.from, to: change.to, text: change.text});
+ if (newGroup) for (var prop in change) if (m = prop.match(/^spans_(\d+)$/)) {
+ if (indexOf(newGroup, Number(m[1])) > -1) {
+ lst(newChanges)[prop] = change[prop];
+ delete change[prop];
+ }
+ }
+ }
+ }
+ return copy;
+ }
+
+ // Rebasing/resetting history to deal with externally-sourced changes
+
+ function rebaseHistSelSingle(pos, from, to, diff) {
+ if (to < pos.line) {
+ pos.line += diff;
+ } else if (from < pos.line) {
+ pos.line = from;
+ pos.ch = 0;
+ }
+ }
+
+ // Tries to rebase an array of history events given a change in the
+ // document. If the change touches the same lines as the event, the
+ // event, and everything 'behind' it, is discarded. If the change is
+ // before the event, the event's positions are updated. Uses a
+ // copy-on-write scheme for the positions, to avoid having to
+ // reallocate them all on every rebase, but also avoid problems with
+ // shared position objects being unsafely updated.
+ function rebaseHistArray(array, from, to, diff) {
+ for (var i = 0; i < array.length; ++i) {
+ var sub = array[i], ok = true;
+ if (sub.ranges) {
+ if (!sub.copied) { sub = array[i] = sub.deepCopy(); sub.copied = true; }
+ for (var j = 0; j < sub.ranges.length; j++) {
+ rebaseHistSelSingle(sub.ranges[j].anchor, from, to, diff);
+ rebaseHistSelSingle(sub.ranges[j].head, from, to, diff);
+ }
+ continue;
+ }
+ for (var j = 0; j < sub.changes.length; ++j) {
+ var cur = sub.changes[j];
+ if (to < cur.from.line) {
+ cur.from = Pos(cur.from.line + diff, cur.from.ch);
+ cur.to = Pos(cur.to.line + diff, cur.to.ch);
+ } else if (from <= cur.to.line) {
+ ok = false;
+ break;
+ }
+ }
+ if (!ok) {
+ array.splice(0, i + 1);
+ i = 0;
+ }
+ }
+ }
+
+ function rebaseHist(hist, change) {
+ var from = change.from.line, to = change.to.line, diff = change.text.length - (to - from) - 1;
+ rebaseHistArray(hist.done, from, to, diff);
+ rebaseHistArray(hist.undone, from, to, diff);
+ }
+
+ // EVENT UTILITIES
+
+ // Due to the fact that we still support jurassic IE versions, some
+ // compatibility wrappers are needed.
+
+ var e_preventDefault = CodeMirror.e_preventDefault = function(e) {
+ if (e.preventDefault) e.preventDefault();
+ else e.returnValue = false;
+ };
+ var e_stopPropagation = CodeMirror.e_stopPropagation = function(e) {
+ if (e.stopPropagation) e.stopPropagation();
+ else e.cancelBubble = true;
+ };
+ function e_defaultPrevented(e) {
+ return e.defaultPrevented != null ? e.defaultPrevented : e.returnValue == false;
+ }
+ var e_stop = CodeMirror.e_stop = function(e) {e_preventDefault(e); e_stopPropagation(e);};
+
+ function e_target(e) {return e.target || e.srcElement;}
+ function e_button(e) {
+ var b = e.which;
+ if (b == null) {
+ if (e.button & 1) b = 1;
+ else if (e.button & 2) b = 3;
+ else if (e.button & 4) b = 2;
+ }
+ if (mac && e.ctrlKey && b == 1) b = 3;
+ return b;
+ }
+
+ // EVENT HANDLING
+
+ // Lightweight event framework. on/off also work on DOM nodes,
+ // registering native DOM handlers.
+
+ var on = CodeMirror.on = function(emitter, type, f) {
+ if (emitter.addEventListener)
+ emitter.addEventListener(type, f, false);
+ else if (emitter.attachEvent)
+ emitter.attachEvent("on" + type, f);
+ else {
+ var map = emitter._handlers || (emitter._handlers = {});
+ var arr = map[type] || (map[type] = []);
+ arr.push(f);
+ }
+ };
+
+ var off = CodeMirror.off = function(emitter, type, f) {
+ if (emitter.removeEventListener)
+ emitter.removeEventListener(type, f, false);
+ else if (emitter.detachEvent)
+ emitter.detachEvent("on" + type, f);
+ else {
+ var arr = emitter._handlers && emitter._handlers[type];
+ if (!arr) return;
+ for (var i = 0; i < arr.length; ++i)
+ if (arr[i] == f) { arr.splice(i, 1); break; }
+ }
+ };
+
+ var signal = CodeMirror.signal = function(emitter, type /*, values...*/) {
+ var arr = emitter._handlers && emitter._handlers[type];
+ if (!arr) return;
+ var args = Array.prototype.slice.call(arguments, 2);
+ for (var i = 0; i < arr.length; ++i) arr[i].apply(null, args);
+ };
+
+ var orphanDelayedCallbacks = null;
+
+ // Often, we want to signal events at a point where we are in the
+ // middle of some work, but don't want the handler to start calling
+ // other methods on the editor, which might be in an inconsistent
+ // state or simply not expect any other events to happen.
+ // signalLater looks whether there are any handlers, and schedules
+ // them to be executed when the last operation ends, or, if no
+ // operation is active, when a timeout fires.
+ function signalLater(emitter, type /*, values...*/) {
+ var arr = emitter._handlers && emitter._handlers[type];
+ if (!arr) return;
+ var args = Array.prototype.slice.call(arguments, 2), list;
+ if (operationGroup) {
+ list = operationGroup.delayedCallbacks;
+ } else if (orphanDelayedCallbacks) {
+ list = orphanDelayedCallbacks;
+ } else {
+ list = orphanDelayedCallbacks = [];
+ setTimeout(fireOrphanDelayed, 0);
+ }
+ function bnd(f) {return function(){f.apply(null, args);};};
+ for (var i = 0; i < arr.length; ++i)
+ list.push(bnd(arr[i]));
+ }
+
+ function fireOrphanDelayed() {
+ var delayed = orphanDelayedCallbacks;
+ orphanDelayedCallbacks = null;
+ for (var i = 0; i < delayed.length; ++i) delayed[i]();
+ }
+
+ // The DOM events that CodeMirror handles can be overridden by
+ // registering a (non-DOM) handler on the editor for the event name,
+ // and preventDefault-ing the event in that handler.
+ function signalDOMEvent(cm, e, override) {
+ if (typeof e == "string")
+ e = {type: e, preventDefault: function() { this.defaultPrevented = true; }};
+ signal(cm, override || e.type, cm, e);
+ return e_defaultPrevented(e) || e.codemirrorIgnore;
+ }
+
+ function signalCursorActivity(cm) {
+ var arr = cm._handlers && cm._handlers.cursorActivity;
+ if (!arr) return;
+ var set = cm.curOp.cursorActivityHandlers || (cm.curOp.cursorActivityHandlers = []);
+ for (var i = 0; i < arr.length; ++i) if (indexOf(set, arr[i]) == -1)
+ set.push(arr[i]);
+ }
+
+ function hasHandler(emitter, type) {
+ var arr = emitter._handlers && emitter._handlers[type];
+ return arr && arr.length > 0;
+ }
+
+ // Add on and off methods to a constructor's prototype, to make
+ // registering events on such objects more convenient.
+ function eventMixin(ctor) {
+ ctor.prototype.on = function(type, f) {on(this, type, f);};
+ ctor.prototype.off = function(type, f) {off(this, type, f);};
+ }
+
+ // MISC UTILITIES
+
+ // Number of pixels added to scroller and sizer to hide scrollbar
+ var scrollerGap = 30;
+
+ // Returned or thrown by various protocols to signal 'I'm not
+ // handling this'.
+ var Pass = CodeMirror.Pass = {toString: function(){return "CodeMirror.Pass";}};
+
+ // Reused option objects for setSelection & friends
+ var sel_dontScroll = {scroll: false}, sel_mouse = {origin: "*mouse"}, sel_move = {origin: "+move"};
+
+ function Delayed() {this.id = null;}
+ Delayed.prototype.set = function(ms, f) {
+ clearTimeout(this.id);
+ this.id = setTimeout(f, ms);
+ };
+
+ // Counts the column offset in a string, taking tabs into account.
+ // Used mostly to find indentation.
+ var countColumn = CodeMirror.countColumn = function(string, end, tabSize, startIndex, startValue) {
+ if (end == null) {
+ end = string.search(/[^\s\u00a0]/);
+ if (end == -1) end = string.length;
+ }
+ for (var i = startIndex || 0, n = startValue || 0;;) {
+ var nextTab = string.indexOf("\t", i);
+ if (nextTab < 0 || nextTab >= end)
+ return n + (end - i);
+ n += nextTab - i;
+ n += tabSize - (n % tabSize);
+ i = nextTab + 1;
+ }
+ };
+
+ // The inverse of countColumn -- find the offset that corresponds to
+ // a particular column.
+ function findColumn(string, goal, tabSize) {
+ for (var pos = 0, col = 0;;) {
+ var nextTab = string.indexOf("\t", pos);
+ if (nextTab == -1) nextTab = string.length;
+ var skipped = nextTab - pos;
+ if (nextTab == string.length || col + skipped >= goal)
+ return pos + Math.min(skipped, goal - col);
+ col += nextTab - pos;
+ col += tabSize - (col % tabSize);
+ pos = nextTab + 1;
+ if (col >= goal) return pos;
+ }
+ }
+
+ var spaceStrs = [""];
+ function spaceStr(n) {
+ while (spaceStrs.length <= n)
+ spaceStrs.push(lst(spaceStrs) + " ");
+ return spaceStrs[n];
+ }
+
+ function lst(arr) { return arr[arr.length-1]; }
+
+ var selectInput = function(node) { node.select(); };
+ if (ios) // Mobile Safari apparently has a bug where select() is broken.
+ selectInput = function(node) { node.selectionStart = 0; node.selectionEnd = node.value.length; };
+ else if (ie) // Suppress mysterious IE10 errors
+ selectInput = function(node) { try { node.select(); } catch(_e) {} };
+
+ function indexOf(array, elt) {
+ for (var i = 0; i < array.length; ++i)
+ if (array[i] == elt) return i;
+ return -1;
+ }
+ function map(array, f) {
+ var out = [];
+ for (var i = 0; i < array.length; i++) out[i] = f(array[i], i);
+ return out;
+ }
+
+ function nothing() {}
+
+ function createObj(base, props) {
+ var inst;
+ if (Object.create) {
+ inst = Object.create(base);
+ } else {
+ nothing.prototype = base;
+ inst = new nothing();
+ }
+ if (props) copyObj(props, inst);
+ return inst;
+ };
+
+ function copyObj(obj, target, overwrite) {
+ if (!target) target = {};
+ for (var prop in obj)
+ if (obj.hasOwnProperty(prop) && (overwrite !== false || !target.hasOwnProperty(prop)))
+ target[prop] = obj[prop];
+ return target;
+ }
+
+ function bind(f) {
+ var args = Array.prototype.slice.call(arguments, 1);
+ return function(){return f.apply(null, args);};
+ }
+
+ var nonASCIISingleCaseWordChar = /[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;
+ var isWordCharBasic = CodeMirror.isWordChar = function(ch) {
+ return /\w/.test(ch) || ch > "\x80" &&
+ (ch.toUpperCase() != ch.toLowerCase() || nonASCIISingleCaseWordChar.test(ch));
+ };
+ function isWordChar(ch, helper) {
+ if (!helper) return isWordCharBasic(ch);
+ if (helper.source.indexOf("\\w") > -1 && isWordCharBasic(ch)) return true;
+ return helper.test(ch);
+ }
+
+ function isEmpty(obj) {
+ for (var n in obj) if (obj.hasOwnProperty(n) && obj[n]) return false;
+ return true;
+ }
+
+ // Extending unicode characters. A series of a non-extending char +
+ // any number of extending chars is treated as a single unit as far
+ // as editing and measuring is concerned. This is not fully correct,
+ // since some scripts/fonts/browsers also treat other configurations
+ // of code points as a group.
+ 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]/;
+ function isExtendingChar(ch) { return ch.charCodeAt(0) >= 768 && extendingChars.test(ch); }
+
+ // DOM UTILITIES
+
+ function elt(tag, content, className, style) {
+ var e = document.createElement(tag);
+ if (className) e.className = className;
+ if (style) e.style.cssText = style;
+ if (typeof content == "string") e.appendChild(document.createTextNode(content));
+ else if (content) for (var i = 0; i < content.length; ++i) e.appendChild(content[i]);
+ return e;
+ }
+
+ var range;
+ if (document.createRange) range = function(node, start, end, endNode) {
+ var r = document.createRange();
+ r.setEnd(endNode || node, end);
+ r.setStart(node, start);
+ return r;
+ };
+ else range = function(node, start, end) {
+ var r = document.body.createTextRange();
+ try { r.moveToElementText(node.parentNode); }
+ catch(e) { return r; }
+ r.collapse(true);
+ r.moveEnd("character", end);
+ r.moveStart("character", start);
+ return r;
+ };
+
+ function removeChildren(e) {
+ for (var count = e.childNodes.length; count > 0; --count)
+ e.removeChild(e.firstChild);
+ return e;
+ }
+
+ function removeChildrenAndAdd(parent, e) {
+ return removeChildren(parent).appendChild(e);
+ }
+
+ var contains = CodeMirror.contains = function(parent, child) {
+ if (child.nodeType == 3) // Android browser always returns false when child is a textnode
+ child = child.parentNode;
+ if (parent.contains)
+ return parent.contains(child);
+ do {
+ if (child.nodeType == 11) child = child.host;
+ if (child == parent) return true;
+ } while (child = child.parentNode);
+ };
+
+ function activeElt() { return document.activeElement; }
+ // Older versions of IE throws unspecified error when touching
+ // document.activeElement in some cases (during loading, in iframe)
+ if (ie && ie_version < 11) activeElt = function() {
+ try { return document.activeElement; }
+ catch(e) { return document.body; }
+ };
+
+ function classTest(cls) { return new RegExp("(^|\\s)" + cls + "(?:$|\\s)\\s*"); }
+ var rmClass = CodeMirror.rmClass = function(node, cls) {
+ var current = node.className;
+ var match = classTest(cls).exec(current);
+ if (match) {
+ var after = current.slice(match.index + match[0].length);
+ node.className = current.slice(0, match.index) + (after ? match[1] + after : "");
+ }
+ };
+ var addClass = CodeMirror.addClass = function(node, cls) {
+ var current = node.className;
+ if (!classTest(cls).test(current)) node.className += (current ? " " : "") + cls;
+ };
+ function joinClasses(a, b) {
+ var as = a.split(" ");
+ for (var i = 0; i < as.length; i++)
+ if (as[i] && !classTest(as[i]).test(b)) b += " " + as[i];
+ return b;
+ }
+
+ // WINDOW-WIDE EVENTS
+
+ // These must be handled carefully, because naively registering a
+ // handler for each editor will cause the editors to never be
+ // garbage collected.
+
+ function forEachCodeMirror(f) {
+ if (!document.body.getElementsByClassName) return;
+ var byClass = document.body.getElementsByClassName("CodeMirror");
+ for (var i = 0; i < byClass.length; i++) {
+ var cm = byClass[i].CodeMirror;
+ if (cm) f(cm);
+ }
+ }
+
+ var globalsRegistered = false;
+ function ensureGlobalHandlers() {
+ if (globalsRegistered) return;
+ registerGlobalHandlers();
+ globalsRegistered = true;
+ }
+ function registerGlobalHandlers() {
+ // When the window resizes, we need to refresh active editors.
+ var resizeTimer;
+ on(window, "resize", function() {
+ if (resizeTimer == null) resizeTimer = setTimeout(function() {
+ resizeTimer = null;
+ forEachCodeMirror(onResize);
+ }, 100);
+ });
+ // When the window loses focus, we want to show the editor as blurred
+ on(window, "blur", function() {
+ forEachCodeMirror(onBlur);
+ });
+ }
+
+ // FEATURE DETECTION
+
+ // Detect drag-and-drop
+ var dragAndDrop = function() {
+ // There is *some* kind of drag-and-drop support in IE6-8, but I
+ // couldn't get it to work yet.
+ if (ie && ie_version < 9) return false;
+ var div = elt('div');
+ return "draggable" in div || "dragDrop" in div;
+ }();
+
+ var zwspSupported;
+ function zeroWidthElement(measure) {
+ if (zwspSupported == null) {
+ var test = elt("span", "\u200b");
+ removeChildrenAndAdd(measure, elt("span", [test, document.createTextNode("x")]));
+ if (measure.firstChild.offsetHeight != 0)
+ zwspSupported = test.offsetWidth <= 1 && test.offsetHeight > 2 && !(ie && ie_version < 8);
+ }
+ var node = zwspSupported ? elt("span", "\u200b") :
+ elt("span", "\u00a0", null, "display: inline-block; width: 1px; margin-right: -1px");
+ node.setAttribute("cm-text", "");
+ return node;
+ }
+
+ // Feature-detect IE's crummy client rect reporting for bidi text
+ var badBidiRects;
+ function hasBadBidiRects(measure) {
+ if (badBidiRects != null) return badBidiRects;
+ var txt = removeChildrenAndAdd(measure, document.createTextNode("A\u062eA"));
+ var r0 = range(txt, 0, 1).getBoundingClientRect();
+ if (!r0 || r0.left == r0.right) return false; // Safari returns null in some cases (#2780)
+ var r1 = range(txt, 1, 2).getBoundingClientRect();
+ return badBidiRects = (r1.right - r0.right < 3);
+ }
+
+ // See if "".split is the broken IE version, if so, provide an
+ // alternative way to split lines.
+ var splitLines = CodeMirror.splitLines = "\n\nb".split(/\n/).length != 3 ? function(string) {
+ var pos = 0, result = [], l = string.length;
+ while (pos <= l) {
+ var nl = string.indexOf("\n", pos);
+ if (nl == -1) nl = string.length;
+ var line = string.slice(pos, string.charAt(nl - 1) == "\r" ? nl - 1 : nl);
+ var rt = line.indexOf("\r");
+ if (rt != -1) {
+ result.push(line.slice(0, rt));
+ pos += rt + 1;
+ } else {
+ result.push(line);
+ pos = nl + 1;
+ }
+ }
+ return result;
+ } : function(string){return string.split(/\r\n?|\n/);};
+
+ var hasSelection = window.getSelection ? function(te) {
+ try { return te.selectionStart != te.selectionEnd; }
+ catch(e) { return false; }
+ } : function(te) {
+ try {var range = te.ownerDocument.selection.createRange();}
+ catch(e) {}
+ if (!range || range.parentElement() != te) return false;
+ return range.compareEndPoints("StartToEnd", range) != 0;
+ };
+
+ var hasCopyEvent = (function() {
+ var e = elt("div");
+ if ("oncopy" in e) return true;
+ e.setAttribute("oncopy", "return;");
+ return typeof e.oncopy == "function";
+ })();
+
+ var badZoomedRects = null;
+ function hasBadZoomedRects(measure) {
+ if (badZoomedRects != null) return badZoomedRects;
+ var node = removeChildrenAndAdd(measure, elt("span", "x"));
+ var normal = node.getBoundingClientRect();
+ var fromRange = range(node, 0, 1).getBoundingClientRect();
+ return badZoomedRects = Math.abs(normal.left - fromRange.left) > 1;
+ }
+
+ // KEY NAMES
+
+ var keyNames = {3: "Enter", 8: "Backspace", 9: "Tab", 13: "Enter", 16: "Shift", 17: "Ctrl", 18: "Alt",
+ 19: "Pause", 20: "CapsLock", 27: "Esc", 32: "Space", 33: "PageUp", 34: "PageDown", 35: "End",
+ 36: "Home", 37: "Left", 38: "Up", 39: "Right", 40: "Down", 44: "PrintScrn", 45: "Insert",
+ 46: "Delete", 59: ";", 61: "=", 91: "Mod", 92: "Mod", 93: "Mod", 107: "=", 109: "-", 127: "Delete",
+ 173: "-", 186: ";", 187: "=", 188: ",", 189: "-", 190: ".", 191: "/", 192: "`", 219: "[", 220: "\\",
+ 221: "]", 222: "'", 63232: "Up", 63233: "Down", 63234: "Left", 63235: "Right", 63272: "Delete",
+ 63273: "Home", 63275: "End", 63276: "PageUp", 63277: "PageDown", 63302: "Insert"};
+ CodeMirror.keyNames = keyNames;
+ (function() {
+ // Number keys
+ for (var i = 0; i < 10; i++) keyNames[i + 48] = keyNames[i + 96] = String(i);
+ // Alphabetic keys
+ for (var i = 65; i <= 90; i++) keyNames[i] = String.fromCharCode(i);
+ // Function keys
+ for (var i = 1; i <= 12; i++) keyNames[i + 111] = keyNames[i + 63235] = "F" + i;
+ })();
+
+ // BIDI HELPERS
+
+ function iterateBidiSections(order, from, to, f) {
+ if (!order) return f(from, to, "ltr");
+ var found = false;
+ for (var i = 0; i < order.length; ++i) {
+ var part = order[i];
+ if (part.from < to && part.to > from || from == to && part.to == from) {
+ f(Math.max(part.from, from), Math.min(part.to, to), part.level == 1 ? "rtl" : "ltr");
+ found = true;
+ }
+ }
+ if (!found) f(from, to, "ltr");
+ }
+
+ function bidiLeft(part) { return part.level % 2 ? part.to : part.from; }
+ function bidiRight(part) { return part.level % 2 ? part.from : part.to; }
+
+ function lineLeft(line) { var order = getOrder(line); return order ? bidiLeft(order[0]) : 0; }
+ function lineRight(line) {
+ var order = getOrder(line);
+ if (!order) return line.text.length;
+ return bidiRight(lst(order));
+ }
+
+ function lineStart(cm, lineN) {
+ var line = getLine(cm.doc, lineN);
+ var visual = visualLine(line);
+ if (visual != line) lineN = lineNo(visual);
+ var order = getOrder(visual);
+ var ch = !order ? 0 : order[0].level % 2 ? lineRight(visual) : lineLeft(visual);
+ return Pos(lineN, ch);
+ }
+ function lineEnd(cm, lineN) {
+ var merged, line = getLine(cm.doc, lineN);
+ while (merged = collapsedSpanAtEnd(line)) {
+ line = merged.find(1, true).line;
+ lineN = null;
+ }
+ var order = getOrder(line);
+ var ch = !order ? line.text.length : order[0].level % 2 ? lineLeft(line) : lineRight(line);
+ return Pos(lineN == null ? lineNo(line) : lineN, ch);
+ }
+ function lineStartSmart(cm, pos) {
+ var start = lineStart(cm, pos.line);
+ var line = getLine(cm.doc, start.line);
+ var order = getOrder(line);
+ if (!order || order[0].level == 0) {
+ var firstNonWS = Math.max(0, line.text.search(/\S/));
+ var inWS = pos.line == start.line && pos.ch <= firstNonWS && pos.ch;
+ return Pos(start.line, inWS ? 0 : firstNonWS);
+ }
+ return start;
+ }
+
+ function compareBidiLevel(order, a, b) {
+ var linedir = order[0].level;
+ if (a == linedir) return true;
+ if (b == linedir) return false;
+ return a < b;
+ }
+ var bidiOther;
+ function getBidiPartAt(order, pos) {
+ bidiOther = null;
+ for (var i = 0, found; i < order.length; ++i) {
+ var cur = order[i];
+ if (cur.from < pos && cur.to > pos) return i;
+ if ((cur.from == pos || cur.to == pos)) {
+ if (found == null) {
+ found = i;
+ } else if (compareBidiLevel(order, cur.level, order[found].level)) {
+ if (cur.from != cur.to) bidiOther = found;
+ return i;
+ } else {
+ if (cur.from != cur.to) bidiOther = i;
+ return found;
+ }
+ }
+ }
+ return found;
+ }
+
+ function moveInLine(line, pos, dir, byUnit) {
+ if (!byUnit) return pos + dir;
+ do pos += dir;
+ while (pos > 0 && isExtendingChar(line.text.charAt(pos)));
+ return pos;
+ }
+
+ // This is needed in order to move 'visually' through bi-directional
+ // text -- i.e., pressing left should make the cursor go left, even
+ // when in RTL text. The tricky part is the 'jumps', where RTL and
+ // LTR text touch each other. This often requires the cursor offset
+ // to move more than one unit, in order to visually move one unit.
+ function moveVisually(line, start, dir, byUnit) {
+ var bidi = getOrder(line);
+ if (!bidi) return moveLogically(line, start, dir, byUnit);
+ var pos = getBidiPartAt(bidi, start), part = bidi[pos];
+ var target = moveInLine(line, start, part.level % 2 ? -dir : dir, byUnit);
+
+ for (;;) {
+ if (target > part.from && target < part.to) return target;
+ if (target == part.from || target == part.to) {
+ if (getBidiPartAt(bidi, target) == pos) return target;
+ part = bidi[pos += dir];
+ return (dir > 0) == part.level % 2 ? part.to : part.from;
+ } else {
+ part = bidi[pos += dir];
+ if (!part) return null;
+ if ((dir > 0) == part.level % 2)
+ target = moveInLine(line, part.to, -1, byUnit);
+ else
+ target = moveInLine(line, part.from, 1, byUnit);
+ }
+ }
+ }
+
+ function moveLogically(line, start, dir, byUnit) {
+ var target = start + dir;
+ if (byUnit) while (target > 0 && isExtendingChar(line.text.charAt(target))) target += dir;
+ return target < 0 || target > line.text.length ? null : target;
+ }
+
+ // Bidirectional ordering algorithm
+ // See http://unicode.org/reports/tr9/tr9-13.html for the algorithm
+ // that this (partially) implements.
+
+ // One-char codes used for character types:
+ // L (L): Left-to-Right
+ // R (R): Right-to-Left
+ // r (AL): Right-to-Left Arabic
+ // 1 (EN): European Number
+ // + (ES): European Number Separator
+ // % (ET): European Number Terminator
+ // n (AN): Arabic Number
+ // , (CS): Common Number Separator
+ // m (NSM): Non-Spacing Mark
+ // b (BN): Boundary Neutral
+ // s (B): Paragraph Separator
+ // t (S): Segment Separator
+ // w (WS): Whitespace
+ // N (ON): Other Neutrals
+
+ // Returns null if characters are ordered as they appear
+ // (left-to-right), or an array of sections ({from, to, level}
+ // objects) in the order in which they occur visually.
+ var bidiOrdering = (function() {
+ // Character types for codepoints 0 to 0xff
+ var lowTypes = "bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN";
+ // Character types for codepoints 0x600 to 0x6ff
+ var arabicTypes = "rrrrrrrrrrrr,rNNmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmrrrrrrrnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmNmmmm";
+ function charType(code) {
+ if (code <= 0xf7) return lowTypes.charAt(code);
+ else if (0x590 <= code && code <= 0x5f4) return "R";
+ else if (0x600 <= code && code <= 0x6ed) return arabicTypes.charAt(code - 0x600);
+ else if (0x6ee <= code && code <= 0x8ac) return "r";
+ else if (0x2000 <= code && code <= 0x200b) return "w";
+ else if (code == 0x200c) return "b";
+ else return "L";
+ }
+
+ var bidiRE = /[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;
+ var isNeutral = /[stwN]/, isStrong = /[LRr]/, countsAsLeft = /[Lb1n]/, countsAsNum = /[1n]/;
+ // Browsers seem to always treat the boundaries of block elements as being L.
+ var outerType = "L";
+
+ function BidiSpan(level, from, to) {
+ this.level = level;
+ this.from = from; this.to = to;
+ }
+
+ return function(str) {
+ if (!bidiRE.test(str)) return false;
+ var len = str.length, types = [];
+ for (var i = 0, type; i < len; ++i)
+ types.push(type = charType(str.charCodeAt(i)));
+
+ // W1. Examine each non-spacing mark (NSM) in the level run, and
+ // change the type of the NSM to the type of the previous
+ // character. If the NSM is at the start of the level run, it will
+ // get the type of sor.
+ for (var i = 0, prev = outerType; i < len; ++i) {
+ var type = types[i];
+ if (type == "m") types[i] = prev;
+ else prev = type;
+ }
+
+ // W2. Search backwards from each instance of a European number
+ // until the first strong type (R, L, AL, or sor) is found. If an
+ // AL is found, change the type of the European number to Arabic
+ // number.
+ // W3. Change all ALs to R.
+ for (var i = 0, cur = outerType; i < len; ++i) {
+ var type = types[i];
+ if (type == "1" && cur == "r") types[i] = "n";
+ else if (isStrong.test(type)) { cur = type; if (type == "r") types[i] = "R"; }
+ }
+
+ // W4. A single European separator between two European numbers
+ // changes to a European number. A single common separator between
+ // two numbers of the same type changes to that type.
+ for (var i = 1, prev = types[0]; i < len - 1; ++i) {
+ var type = types[i];
+ if (type == "+" && prev == "1" && types[i+1] == "1") types[i] = "1";
+ else if (type == "," && prev == types[i+1] &&
+ (prev == "1" || prev == "n")) types[i] = prev;
+ prev = type;
+ }
+
+ // W5. A sequence of European terminators adjacent to European
+ // numbers changes to all European numbers.
+ // W6. Otherwise, separators and terminators change to Other
+ // Neutral.
+ for (var i = 0; i < len; ++i) {
+ var type = types[i];
+ if (type == ",") types[i] = "N";
+ else if (type == "%") {
+ for (var end = i + 1; end < len && types[end] == "%"; ++end) {}
+ var replace = (i && types[i-1] == "!") || (end < len && types[end] == "1") ? "1" : "N";
+ for (var j = i; j < end; ++j) types[j] = replace;
+ i = end - 1;
+ }
+ }
+
+ // W7. Search backwards from each instance of a European number
+ // until the first strong type (R, L, or sor) is found. If an L is
+ // found, then change the type of the European number to L.
+ for (var i = 0, cur = outerType; i < len; ++i) {
+ var type = types[i];
+ if (cur == "L" && type == "1") types[i] = "L";
+ else if (isStrong.test(type)) cur = type;
+ }
+
+ // N1. A sequence of neutrals takes the direction of the
+ // surrounding strong text if the text on both sides has the same
+ // direction. European and Arabic numbers act as if they were R in
+ // terms of their influence on neutrals. Start-of-level-run (sor)
+ // and end-of-level-run (eor) are used at level run boundaries.
+ // N2. Any remaining neutrals take the embedding direction.
+ for (var i = 0; i < len; ++i) {
+ if (isNeutral.test(types[i])) {
+ for (var end = i + 1; end < len && isNeutral.test(types[end]); ++end) {}
+ var before = (i ? types[i-1] : outerType) == "L";
+ var after = (end < len ? types[end] : outerType) == "L";
+ var replace = before || after ? "L" : "R";
+ for (var j = i; j < end; ++j) types[j] = replace;
+ i = end - 1;
+ }
+ }
+
+ // Here we depart from the documented algorithm, in order to avoid
+ // building up an actual levels array. Since there are only three
+ // levels (0, 1, 2) in an implementation that doesn't take
+ // explicit embedding into account, we can build up the order on
+ // the fly, without following the level-based algorithm.
+ var order = [], m;
+ for (var i = 0; i < len;) {
+ if (countsAsLeft.test(types[i])) {
+ var start = i;
+ for (++i; i < len && countsAsLeft.test(types[i]); ++i) {}
+ order.push(new BidiSpan(0, start, i));
+ } else {
+ var pos = i, at = order.length;
+ for (++i; i < len && types[i] != "L"; ++i) {}
+ for (var j = pos; j < i;) {
+ if (countsAsNum.test(types[j])) {
+ if (pos < j) order.splice(at, 0, new BidiSpan(1, pos, j));
+ var nstart = j;
+ for (++j; j < i && countsAsNum.test(types[j]); ++j) {}
+ order.splice(at, 0, new BidiSpan(2, nstart, j));
+ pos = j;
+ } else ++j;
+ }
+ if (pos < i) order.splice(at, 0, new BidiSpan(1, pos, i));
+ }
+ }
+ if (order[0].level == 1 && (m = str.match(/^\s+/))) {
+ order[0].from = m[0].length;
+ order.unshift(new BidiSpan(0, 0, m[0].length));
+ }
+ if (lst(order).level == 1 && (m = str.match(/\s+$/))) {
+ lst(order).to -= m[0].length;
+ order.push(new BidiSpan(0, len - m[0].length, len));
+ }
+ if (order[0].level == 2)
+ order.unshift(new BidiSpan(1, order[0].to, order[0].to));
+ if (order[0].level != lst(order).level)
+ order.push(new BidiSpan(order[0].level, len, len));
+
+ return order;
+ };
+ })();
+
+ // THE END
+
+ CodeMirror.version = "5.2.0";
+
+ return CodeMirror;
+});
diff --git a/public/vendor/codemirror/mode/apl/apl.js b/public/vendor/codemirror/mode/apl/apl.js
new file mode 100755
index 00000000..4357bed4
--- /dev/null
+++ b/public/vendor/codemirror/mode/apl/apl.js
@@ -0,0 +1,175 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+"use strict";
+
+CodeMirror.defineMode("apl", function() {
+ var builtInOps = {
+ ".": "innerProduct",
+ "\\": "scan",
+ "/": "reduce",
+ "⌿": "reduce1Axis",
+ "⍀": "scan1Axis",
+ "¨": "each",
+ "⍣": "power"
+ };
+ var builtInFuncs = {
+ "+": ["conjugate", "add"],
+ "−": ["negate", "subtract"],
+ "×": ["signOf", "multiply"],
+ "÷": ["reciprocal", "divide"],
+ "⌈": ["ceiling", "greaterOf"],
+ "⌊": ["floor", "lesserOf"],
+ "∣": ["absolute", "residue"],
+ "⍳": ["indexGenerate", "indexOf"],
+ "?": ["roll", "deal"],
+ "⋆": ["exponentiate", "toThePowerOf"],
+ "⍟": ["naturalLog", "logToTheBase"],
+ "○": ["piTimes", "circularFuncs"],
+ "!": ["factorial", "binomial"],
+ "⌹": ["matrixInverse", "matrixDivide"],
+ "<": [null, "lessThan"],
+ "≤": [null, "lessThanOrEqual"],
+ "=": [null, "equals"],
+ ">": [null, "greaterThan"],
+ "≥": [null, "greaterThanOrEqual"],
+ "≠": [null, "notEqual"],
+ "≡": ["depth", "match"],
+ "≢": [null, "notMatch"],
+ "∈": ["enlist", "membership"],
+ "⍷": [null, "find"],
+ "∪": ["unique", "union"],
+ "∩": [null, "intersection"],
+ "∼": ["not", "without"],
+ "∨": [null, "or"],
+ "∧": [null, "and"],
+ "⍱": [null, "nor"],
+ "⍲": [null, "nand"],
+ "⍴": ["shapeOf", "reshape"],
+ ",": ["ravel", "catenate"],
+ "⍪": [null, "firstAxisCatenate"],
+ "⌽": ["reverse", "rotate"],
+ "⊖": ["axis1Reverse", "axis1Rotate"],
+ "⍉": ["transpose", null],
+ "↑": ["first", "take"],
+ "↓": [null, "drop"],
+ "⊂": ["enclose", "partitionWithAxis"],
+ "⊃": ["diclose", "pick"],
+ "⌷": [null, "index"],
+ "⍋": ["gradeUp", null],
+ "⍒": ["gradeDown", null],
+ "⊤": ["encode", null],
+ "⊥": ["decode", null],
+ "⍕": ["format", "formatByExample"],
+ "⍎": ["execute", null],
+ "⊣": ["stop", "left"],
+ "⊢": ["pass", "right"]
+ };
+
+ var isOperator = /[\.\/⌿⍀¨⍣]/;
+ var isNiladic = /⍬/;
+ var isFunction = /[\+−×÷⌈⌊∣⍳\?⋆⍟○!⌹<≤=>≥≠≡≢∈⍷∪∩∼∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⌷⍋⍒⊤⊥⍕⍎⊣⊢]/;
+ var isArrow = /←/;
+ var isComment = /[⍝#].*$/;
+
+ var stringEater = function(type) {
+ var prev;
+ prev = false;
+ return function(c) {
+ prev = c;
+ if (c === type) {
+ return prev === "\\";
+ }
+ return true;
+ };
+ };
+ return {
+ startState: function() {
+ return {
+ prev: false,
+ func: false,
+ op: false,
+ string: false,
+ escape: false
+ };
+ },
+ token: function(stream, state) {
+ var ch, funcName, word;
+ if (stream.eatSpace()) {
+ return null;
+ }
+ ch = stream.next();
+ if (ch === '"' || ch === "'") {
+ stream.eatWhile(stringEater(ch));
+ stream.next();
+ state.prev = true;
+ return "string";
+ }
+ if (/[\[{\(]/.test(ch)) {
+ state.prev = false;
+ return null;
+ }
+ if (/[\]}\)]/.test(ch)) {
+ state.prev = true;
+ return null;
+ }
+ if (isNiladic.test(ch)) {
+ state.prev = false;
+ return "niladic";
+ }
+ if (/[¯\d]/.test(ch)) {
+ if (state.func) {
+ state.func = false;
+ state.prev = false;
+ } else {
+ state.prev = true;
+ }
+ stream.eatWhile(/[\w\.]/);
+ return "number";
+ }
+ if (isOperator.test(ch)) {
+ return "operator apl-" + builtInOps[ch];
+ }
+ if (isArrow.test(ch)) {
+ return "apl-arrow";
+ }
+ if (isFunction.test(ch)) {
+ funcName = "apl-";
+ if (builtInFuncs[ch] != null) {
+ if (state.prev) {
+ funcName += builtInFuncs[ch][1];
+ } else {
+ funcName += builtInFuncs[ch][0];
+ }
+ }
+ state.func = true;
+ state.prev = false;
+ return "function " + funcName;
+ }
+ if (isComment.test(ch)) {
+ stream.skipToEnd();
+ return "comment";
+ }
+ if (ch === "∘" && stream.peek() === ".") {
+ stream.next();
+ return "function jot-dot";
+ }
+ stream.eatWhile(/[\w\$_]/);
+ word = stream.current();
+ state.prev = true;
+ return "keyword";
+ }
+ };
+});
+
+CodeMirror.defineMIME("text/apl", "apl");
+
+});
diff --git a/public/vendor/codemirror/mode/apl/index.html b/public/vendor/codemirror/mode/apl/index.html
new file mode 100755
index 00000000..53dda6b5
--- /dev/null
+++ b/public/vendor/codemirror/mode/apl/index.html
@@ -0,0 +1,72 @@
+
+
+CodeMirror: APL mode
+
+
+
+
+
+
+
+
+
+
+
+APL mode
+
+
+
+
+ Simple mode that tries to handle APL as well as it can.
+ It attempts to label functions/operators based upon
+ monadic/dyadic usage (but this is far from fully fleshed out).
+ This means there are meaningful classnames so hover states can
+ have popups etc.
+
+ MIME types defined: text/apl
(APL code)
+
diff --git a/public/vendor/codemirror/mode/asciiarmor/asciiarmor.js b/public/vendor/codemirror/mode/asciiarmor/asciiarmor.js
new file mode 100755
index 00000000..d8309037
--- /dev/null
+++ b/public/vendor/codemirror/mode/asciiarmor/asciiarmor.js
@@ -0,0 +1,73 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+ "use strict";
+
+ function errorIfNotEmpty(stream) {
+ var nonWS = stream.match(/^\s*\S/);
+ stream.skipToEnd();
+ return nonWS ? "error" : null;
+ }
+
+ CodeMirror.defineMode("asciiarmor", function() {
+ return {
+ token: function(stream, state) {
+ var m;
+ if (state.state == "top") {
+ if (stream.sol() && (m = stream.match(/^-----BEGIN (.*)?-----\s*$/))) {
+ state.state = "headers";
+ state.type = m[1];
+ return "tag";
+ }
+ return errorIfNotEmpty(stream);
+ } else if (state.state == "headers") {
+ if (stream.sol() && stream.match(/^\w+:/)) {
+ state.state = "header";
+ return "atom";
+ } else {
+ var result = errorIfNotEmpty(stream);
+ if (result) state.state = "body";
+ return result;
+ }
+ } else if (state.state == "header") {
+ stream.skipToEnd();
+ state.state = "headers";
+ return "string";
+ } else if (state.state == "body") {
+ if (stream.sol() && (m = stream.match(/^-----END (.*)?-----\s*$/))) {
+ if (m[1] != state.type) return "error";
+ state.state = "end";
+ return "tag";
+ } else {
+ if (stream.eatWhile(/[A-Za-z0-9+\/=]/)) {
+ return null;
+ } else {
+ stream.next();
+ return "error";
+ }
+ }
+ } else if (state.state == "end") {
+ return errorIfNotEmpty(stream);
+ }
+ },
+ blankLine: function(state) {
+ if (state.state == "headers") state.state = "body";
+ },
+ startState: function() {
+ return {state: "top", type: null};
+ }
+ };
+ });
+
+ CodeMirror.defineMIME("application/pgp", "asciiarmor");
+ CodeMirror.defineMIME("application/pgp-keys", "asciiarmor");
+ CodeMirror.defineMIME("application/pgp-signature", "asciiarmor");
+});
diff --git a/public/vendor/codemirror/mode/asciiarmor/index.html b/public/vendor/codemirror/mode/asciiarmor/index.html
new file mode 100755
index 00000000..8ba1b5c7
--- /dev/null
+++ b/public/vendor/codemirror/mode/asciiarmor/index.html
@@ -0,0 +1,46 @@
+
+
+CodeMirror: ASCII Armor (PGP) mode
+
+
+
+
+
+
+
+
+
+
+ASCII Armor (PGP) mode
+
+-----BEGIN PGP MESSAGE-----
+Version: OpenPrivacy 0.99
+
+yDgBO22WxBHv7O8X7O/jygAEzol56iUKiXmV+XmpCtmpqQUKiQrFqclFqUDBovzS
+vBSFjNSiVHsuAA==
+=njUN
+-----END PGP MESSAGE-----
+
+
+
+
+MIME types
+defined: application/pgp
, application/pgp-keys
, application/pgp-signature
+
+
diff --git a/public/vendor/codemirror/mode/asterisk/asterisk.js b/public/vendor/codemirror/mode/asterisk/asterisk.js
new file mode 100755
index 00000000..a1ead115
--- /dev/null
+++ b/public/vendor/codemirror/mode/asterisk/asterisk.js
@@ -0,0 +1,198 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+/*
+ * =====================================================================================
+ *
+ * Filename: mode/asterisk/asterisk.js
+ *
+ * Description: CodeMirror mode for Asterisk dialplan
+ *
+ * Created: 05/17/2012 09:20:25 PM
+ * Revision: none
+ *
+ * Author: Stas Kobzar (stas@modulis.ca),
+ * Company: Modulis.ca Inc.
+ *
+ * =====================================================================================
+ */
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+"use strict";
+
+CodeMirror.defineMode("asterisk", function() {
+ var atoms = ["exten", "same", "include","ignorepat","switch"],
+ dpcmd = ["#include","#exec"],
+ apps = [
+ "addqueuemember","adsiprog","aelsub","agentlogin","agentmonitoroutgoing","agi",
+ "alarmreceiver","amd","answer","authenticate","background","backgrounddetect",
+ "bridge","busy","callcompletioncancel","callcompletionrequest","celgenuserevent",
+ "changemonitor","chanisavail","channelredirect","chanspy","clearhash","confbridge",
+ "congestion","continuewhile","controlplayback","dahdiacceptr2call","dahdibarge",
+ "dahdiras","dahdiscan","dahdisendcallreroutingfacility","dahdisendkeypadfacility",
+ "datetime","dbdel","dbdeltree","deadagi","dial","dictate","directory","disa",
+ "dumpchan","eagi","echo","endwhile","exec","execif","execiftime","exitwhile","extenspy",
+ "externalivr","festival","flash","followme","forkcdr","getcpeid","gosub","gosubif",
+ "goto","gotoif","gotoiftime","hangup","iax2provision","ices","importvar","incomplete",
+ "ivrdemo","jabberjoin","jabberleave","jabbersend","jabbersendgroup","jabberstatus",
+ "jack","log","macro","macroexclusive","macroexit","macroif","mailboxexists","meetme",
+ "meetmeadmin","meetmechanneladmin","meetmecount","milliwatt","minivmaccmess","minivmdelete",
+ "minivmgreet","minivmmwi","minivmnotify","minivmrecord","mixmonitor","monitor","morsecode",
+ "mp3player","mset","musiconhold","nbscat","nocdr","noop","odbc","odbc","odbcfinish",
+ "originate","ospauth","ospfinish","osplookup","ospnext","page","park","parkandannounce",
+ "parkedcall","pausemonitor","pausequeuemember","pickup","pickupchan","playback","playtones",
+ "privacymanager","proceeding","progress","queue","queuelog","raiseexception","read","readexten",
+ "readfile","receivefax","receivefax","receivefax","record","removequeuemember",
+ "resetcdr","retrydial","return","ringing","sayalpha","saycountedadj","saycountednoun",
+ "saycountpl","saydigits","saynumber","sayphonetic","sayunixtime","senddtmf","sendfax",
+ "sendfax","sendfax","sendimage","sendtext","sendurl","set","setamaflags",
+ "setcallerpres","setmusiconhold","sipaddheader","sipdtmfmode","sipremoveheader","skel",
+ "slastation","slatrunk","sms","softhangup","speechactivategrammar","speechbackground",
+ "speechcreate","speechdeactivategrammar","speechdestroy","speechloadgrammar","speechprocessingsound",
+ "speechstart","speechunloadgrammar","stackpop","startmusiconhold","stopmixmonitor","stopmonitor",
+ "stopmusiconhold","stopplaytones","system","testclient","testserver","transfer","tryexec",
+ "trysystem","unpausemonitor","unpausequeuemember","userevent","verbose","vmauthenticate",
+ "vmsayname","voicemail","voicemailmain","wait","waitexten","waitfornoise","waitforring",
+ "waitforsilence","waitmusiconhold","waituntil","while","zapateller"
+ ];
+
+ function basicToken(stream,state){
+ var cur = '';
+ var ch = '';
+ ch = stream.next();
+ // comment
+ if(ch == ";") {
+ stream.skipToEnd();
+ return "comment";
+ }
+ // context
+ if(ch == '[') {
+ stream.skipTo(']');
+ stream.eat(']');
+ return "header";
+ }
+ // string
+ if(ch == '"') {
+ stream.skipTo('"');
+ return "string";
+ }
+ if(ch == "'") {
+ stream.skipTo("'");
+ return "string-2";
+ }
+ // dialplan commands
+ if(ch == '#') {
+ stream.eatWhile(/\w/);
+ cur = stream.current();
+ if(dpcmd.indexOf(cur) !== -1) {
+ stream.skipToEnd();
+ return "strong";
+ }
+ }
+ // application args
+ if(ch == '$'){
+ var ch1 = stream.peek();
+ if(ch1 == '{'){
+ stream.skipTo('}');
+ stream.eat('}');
+ return "variable-3";
+ }
+ }
+ // extension
+ stream.eatWhile(/\w/);
+ cur = stream.current();
+ if(atoms.indexOf(cur) !== -1) {
+ state.extenStart = true;
+ switch(cur) {
+ case 'same': state.extenSame = true; break;
+ case 'include':
+ case 'switch':
+ case 'ignorepat':
+ state.extenInclude = true;break;
+ default:break;
+ }
+ return "atom";
+ }
+ }
+
+ return {
+ startState: function() {
+ return {
+ extenStart: false,
+ extenSame: false,
+ extenInclude: false,
+ extenExten: false,
+ extenPriority: false,
+ extenApplication: false
+ };
+ },
+ token: function(stream, state) {
+
+ var cur = '';
+ var ch = '';
+ if(stream.eatSpace()) return null;
+ // extension started
+ if(state.extenStart){
+ stream.eatWhile(/[^\s]/);
+ cur = stream.current();
+ if(/^=>?$/.test(cur)){
+ state.extenExten = true;
+ state.extenStart = false;
+ return "strong";
+ } else {
+ state.extenStart = false;
+ stream.skipToEnd();
+ return "error";
+ }
+ } else if(state.extenExten) {
+ // set exten and priority
+ state.extenExten = false;
+ state.extenPriority = true;
+ stream.eatWhile(/[^,]/);
+ if(state.extenInclude) {
+ stream.skipToEnd();
+ state.extenPriority = false;
+ state.extenInclude = false;
+ }
+ if(state.extenSame) {
+ state.extenPriority = false;
+ state.extenSame = false;
+ state.extenApplication = true;
+ }
+ return "tag";
+ } else if(state.extenPriority) {
+ state.extenPriority = false;
+ state.extenApplication = true;
+ ch = stream.next(); // get comma
+ if(state.extenSame) return null;
+ stream.eatWhile(/[^,]/);
+ return "number";
+ } else if(state.extenApplication) {
+ stream.eatWhile(/,/);
+ cur = stream.current();
+ if(cur === ',') return null;
+ stream.eatWhile(/\w/);
+ cur = stream.current().toLowerCase();
+ state.extenApplication = false;
+ if(apps.indexOf(cur) !== -1){
+ return "def strong";
+ }
+ } else{
+ return basicToken(stream,state);
+ }
+
+ return null;
+ }
+ };
+});
+
+CodeMirror.defineMIME("text/x-asterisk", "asterisk");
+
+});
diff --git a/public/vendor/codemirror/mode/asterisk/index.html b/public/vendor/codemirror/mode/asterisk/index.html
new file mode 100755
index 00000000..257bd398
--- /dev/null
+++ b/public/vendor/codemirror/mode/asterisk/index.html
@@ -0,0 +1,154 @@
+
+
+CodeMirror: Asterisk dialplan mode
+
+
+
+
+
+
+
+
+
+
+Asterisk dialplan mode
+
+; extensions.conf - the Asterisk dial plan
+;
+
+[general]
+;
+; If static is set to no, or omitted, then the pbx_config will rewrite
+; this file when extensions are modified. Remember that all comments
+; made in the file will be lost when that happens.
+static=yes
+
+#include "/etc/asterisk/additional_general.conf
+
+[iaxprovider]
+switch => IAX2/user:[key]@myserver/mycontext
+
+[dynamic]
+#exec /usr/bin/dynamic-peers.pl
+
+[trunkint]
+;
+; International long distance through trunk
+;
+exten => _9011.,1,Macro(dundi-e164,${EXTEN:4})
+exten => _9011.,n,Dial(${GLOBAL(TRUNK)}/${FILTER(0-9,${EXTEN:${GLOBAL(TRUNKMSD)}})})
+
+[local]
+;
+; Master context for local, toll-free, and iaxtel calls only
+;
+ignorepat => 9
+include => default
+
+[demo]
+include => stdexten
+;
+; We start with what to do when a call first comes in.
+;
+exten => s,1,Wait(1) ; Wait a second, just for fun
+same => n,Answer ; Answer the line
+same => n,Set(TIMEOUT(digit)=5) ; Set Digit Timeout to 5 seconds
+same => n,Set(TIMEOUT(response)=10) ; Set Response Timeout to 10 seconds
+same => n(restart),BackGround(demo-congrats) ; Play a congratulatory message
+same => n(instruct),BackGround(demo-instruct) ; Play some instructions
+same => n,WaitExten ; Wait for an extension to be dialed.
+
+exten => 2,1,BackGround(demo-moreinfo) ; Give some more information.
+exten => 2,n,Goto(s,instruct)
+
+exten => 3,1,Set(LANGUAGE()=fr) ; Set language to french
+exten => 3,n,Goto(s,restart) ; Start with the congratulations
+
+exten => 1000,1,Goto(default,s,1)
+;
+; We also create an example user, 1234, who is on the console and has
+; voicemail, etc.
+;
+exten => 1234,1,Playback(transfer,skip) ; "Please hold while..."
+ ; (but skip if channel is not up)
+exten => 1234,n,Gosub(${EXTEN},stdexten(${GLOBAL(CONSOLE)}))
+exten => 1234,n,Goto(default,s,1) ; exited Voicemail
+
+exten => 1235,1,Voicemail(1234,u) ; Right to voicemail
+
+exten => 1236,1,Dial(Console/dsp) ; Ring forever
+exten => 1236,n,Voicemail(1234,b) ; Unless busy
+
+;
+; # for when they're done with the demo
+;
+exten => #,1,Playback(demo-thanks) ; "Thanks for trying the demo"
+exten => #,n,Hangup ; Hang them up.
+
+;
+; A timeout and "invalid extension rule"
+;
+exten => t,1,Goto(#,1) ; If they take too long, give up
+exten => i,1,Playback(invalid) ; "That's not valid, try again"
+
+;
+; Create an extension, 500, for dialing the
+; Asterisk demo.
+;
+exten => 500,1,Playback(demo-abouttotry); Let them know what's going on
+exten => 500,n,Dial(IAX2/guest@pbx.digium.com/s@default) ; Call the Asterisk demo
+exten => 500,n,Playback(demo-nogo) ; Couldn't connect to the demo site
+exten => 500,n,Goto(s,6) ; Return to the start over message.
+
+;
+; Create an extension, 600, for evaluating echo latency.
+;
+exten => 600,1,Playback(demo-echotest) ; Let them know what's going on
+exten => 600,n,Echo ; Do the echo test
+exten => 600,n,Playback(demo-echodone) ; Let them know it's over
+exten => 600,n,Goto(s,6) ; Start over
+
+;
+; You can use the Macro Page to intercom a individual user
+exten => 76245,1,Macro(page,SIP/Grandstream1)
+; or if your peernames are the same as extensions
+exten => _7XXX,1,Macro(page,SIP/${EXTEN})
+;
+;
+; System Wide Page at extension 7999
+;
+exten => 7999,1,Set(TIMEOUT(absolute)=60)
+exten => 7999,2,Page(Local/Grandstream1@page&Local/Xlite1@page&Local/1234@page/n,d)
+
+; Give voicemail at extension 8500
+;
+exten => 8500,1,VoicemailMain
+exten => 8500,n,Goto(s,6)
+
+
+
+
+ MIME types defined: text/x-asterisk
.
+
+
diff --git a/public/vendor/codemirror/mode/clike/clike.js b/public/vendor/codemirror/mode/clike/clike.js
new file mode 100755
index 00000000..b209910b
--- /dev/null
+++ b/public/vendor/codemirror/mode/clike/clike.js
@@ -0,0 +1,494 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+"use strict";
+
+CodeMirror.defineMode("clike", function(config, parserConfig) {
+ var indentUnit = config.indentUnit,
+ statementIndentUnit = parserConfig.statementIndentUnit || indentUnit,
+ dontAlignCalls = parserConfig.dontAlignCalls,
+ keywords = parserConfig.keywords || {},
+ builtin = parserConfig.builtin || {},
+ blockKeywords = parserConfig.blockKeywords || {},
+ atoms = parserConfig.atoms || {},
+ hooks = parserConfig.hooks || {},
+ multiLineStrings = parserConfig.multiLineStrings,
+ indentStatements = parserConfig.indentStatements !== false;
+ var isOperatorChar = /[+\-*&%=<>!?|\/]/;
+
+ var curPunc;
+
+ function tokenBase(stream, state) {
+ var ch = stream.next();
+ if (hooks[ch]) {
+ var result = hooks[ch](stream, state);
+ if (result !== false) return result;
+ }
+ if (ch == '"' || ch == "'") {
+ state.tokenize = tokenString(ch);
+ return state.tokenize(stream, state);
+ }
+ if (/[\[\]{}\(\),;\:\.]/.test(ch)) {
+ curPunc = ch;
+ return null;
+ }
+ if (/\d/.test(ch)) {
+ stream.eatWhile(/[\w\.]/);
+ return "number";
+ }
+ if (ch == "/") {
+ if (stream.eat("*")) {
+ state.tokenize = tokenComment;
+ return tokenComment(stream, state);
+ }
+ if (stream.eat("/")) {
+ stream.skipToEnd();
+ return "comment";
+ }
+ }
+ if (isOperatorChar.test(ch)) {
+ stream.eatWhile(isOperatorChar);
+ return "operator";
+ }
+ stream.eatWhile(/[\w\$_\xa1-\uffff]/);
+ var cur = stream.current();
+ if (keywords.propertyIsEnumerable(cur)) {
+ if (blockKeywords.propertyIsEnumerable(cur)) curPunc = "newstatement";
+ return "keyword";
+ }
+ if (builtin.propertyIsEnumerable(cur)) {
+ if (blockKeywords.propertyIsEnumerable(cur)) curPunc = "newstatement";
+ return "builtin";
+ }
+ if (atoms.propertyIsEnumerable(cur)) return "atom";
+ return "variable";
+ }
+
+ function tokenString(quote) {
+ return function(stream, state) {
+ var escaped = false, next, end = false;
+ while ((next = stream.next()) != null) {
+ if (next == quote && !escaped) {end = true; break;}
+ escaped = !escaped && next == "\\";
+ }
+ if (end || !(escaped || multiLineStrings))
+ state.tokenize = null;
+ return "string";
+ };
+ }
+
+ function tokenComment(stream, state) {
+ var maybeEnd = false, ch;
+ while (ch = stream.next()) {
+ if (ch == "/" && maybeEnd) {
+ state.tokenize = null;
+ break;
+ }
+ maybeEnd = (ch == "*");
+ }
+ return "comment";
+ }
+
+ function Context(indented, column, type, align, prev) {
+ this.indented = indented;
+ this.column = column;
+ this.type = type;
+ this.align = align;
+ this.prev = prev;
+ }
+ function pushContext(state, col, type) {
+ var indent = state.indented;
+ if (state.context && state.context.type == "statement")
+ indent = state.context.indented;
+ return state.context = new Context(indent, col, type, null, state.context);
+ }
+ function popContext(state) {
+ var t = state.context.type;
+ if (t == ")" || t == "]" || t == "}")
+ state.indented = state.context.indented;
+ return state.context = state.context.prev;
+ }
+
+ // Interface
+
+ return {
+ startState: function(basecolumn) {
+ return {
+ tokenize: null,
+ context: new Context((basecolumn || 0) - indentUnit, 0, "top", false),
+ indented: 0,
+ startOfLine: true
+ };
+ },
+
+ token: function(stream, state) {
+ var ctx = state.context;
+ if (stream.sol()) {
+ if (ctx.align == null) ctx.align = false;
+ state.indented = stream.indentation();
+ state.startOfLine = true;
+ }
+ if (stream.eatSpace()) return null;
+ curPunc = null;
+ var style = (state.tokenize || tokenBase)(stream, state);
+ if (style == "comment" || style == "meta") return style;
+ if (ctx.align == null) ctx.align = true;
+
+ if ((curPunc == ";" || curPunc == ":" || curPunc == ",") && ctx.type == "statement") popContext(state);
+ else if (curPunc == "{") pushContext(state, stream.column(), "}");
+ else if (curPunc == "[") pushContext(state, stream.column(), "]");
+ else if (curPunc == "(") pushContext(state, stream.column(), ")");
+ else if (curPunc == "}") {
+ while (ctx.type == "statement") ctx = popContext(state);
+ if (ctx.type == "}") ctx = popContext(state);
+ while (ctx.type == "statement") ctx = popContext(state);
+ }
+ else if (curPunc == ctx.type) popContext(state);
+ else if (indentStatements &&
+ (((ctx.type == "}" || ctx.type == "top") && curPunc != ';') ||
+ (ctx.type == "statement" && curPunc == "newstatement")))
+ pushContext(state, stream.column(), "statement");
+ state.startOfLine = false;
+ return style;
+ },
+
+ indent: function(state, textAfter) {
+ if (state.tokenize != tokenBase && state.tokenize != null) return CodeMirror.Pass;
+ var ctx = state.context, firstChar = textAfter && textAfter.charAt(0);
+ if (ctx.type == "statement" && firstChar == "}") ctx = ctx.prev;
+ var closing = firstChar == ctx.type;
+ if (ctx.type == "statement") return ctx.indented + (firstChar == "{" ? 0 : statementIndentUnit);
+ else if (ctx.align && (!dontAlignCalls || ctx.type != ")")) return ctx.column + (closing ? 0 : 1);
+ else if (ctx.type == ")" && !closing) return ctx.indented + statementIndentUnit;
+ else return ctx.indented + (closing ? 0 : indentUnit);
+ },
+
+ electricChars: "{}",
+ blockCommentStart: "/*",
+ blockCommentEnd: "*/",
+ lineComment: "//",
+ fold: "brace"
+ };
+});
+
+ function words(str) {
+ var obj = {}, words = str.split(" ");
+ for (var i = 0; i < words.length; ++i) obj[words[i]] = true;
+ return obj;
+ }
+ var cKeywords = "auto if break int case long char register continue return default short do sizeof " +
+ "double static else struct switch extern typedef float union for unsigned " +
+ "goto while enum void const signed volatile";
+
+ function cppHook(stream, state) {
+ if (!state.startOfLine) return false;
+ for (;;) {
+ if (stream.skipTo("\\")) {
+ stream.next();
+ if (stream.eol()) {
+ state.tokenize = cppHook;
+ break;
+ }
+ } else {
+ stream.skipToEnd();
+ state.tokenize = null;
+ break;
+ }
+ }
+ return "meta";
+ }
+
+ function cpp11StringHook(stream, state) {
+ stream.backUp(1);
+ // Raw strings.
+ if (stream.match(/(R|u8R|uR|UR|LR)/)) {
+ var match = stream.match(/"([^\s\\()]{0,16})\(/);
+ if (!match) {
+ return false;
+ }
+ state.cpp11RawStringDelim = match[1];
+ state.tokenize = tokenRawString;
+ return tokenRawString(stream, state);
+ }
+ // Unicode strings/chars.
+ if (stream.match(/(u8|u|U|L)/)) {
+ if (stream.match(/["']/, /* eat */ false)) {
+ return "string";
+ }
+ return false;
+ }
+ // Ignore this hook.
+ stream.next();
+ return false;
+ }
+
+ // C#-style strings where "" escapes a quote.
+ function tokenAtString(stream, state) {
+ var next;
+ while ((next = stream.next()) != null) {
+ if (next == '"' && !stream.eat('"')) {
+ state.tokenize = null;
+ break;
+ }
+ }
+ return "string";
+ }
+
+ // C++11 raw string literal is "( anything )", where
+ // can be a string up to 16 characters long.
+ function tokenRawString(stream, state) {
+ // Escape characters that have special regex meanings.
+ var delim = state.cpp11RawStringDelim.replace(/[^\w\s]/g, '\\$&');
+ var match = stream.match(new RegExp(".*?\\)" + delim + '"'));
+ if (match)
+ state.tokenize = null;
+ else
+ stream.skipToEnd();
+ return "string";
+ }
+
+ function def(mimes, mode) {
+ if (typeof mimes == "string") mimes = [mimes];
+ var words = [];
+ function add(obj) {
+ if (obj) for (var prop in obj) if (obj.hasOwnProperty(prop))
+ words.push(prop);
+ }
+ add(mode.keywords);
+ add(mode.builtin);
+ add(mode.atoms);
+ if (words.length) {
+ mode.helperType = mimes[0];
+ CodeMirror.registerHelper("hintWords", mimes[0], words);
+ }
+
+ for (var i = 0; i < mimes.length; ++i)
+ CodeMirror.defineMIME(mimes[i], mode);
+ }
+
+ def(["text/x-csrc", "text/x-c", "text/x-chdr"], {
+ name: "clike",
+ keywords: words(cKeywords),
+ blockKeywords: words("case do else for if switch while struct"),
+ atoms: words("null"),
+ hooks: {"#": cppHook},
+ modeProps: {fold: ["brace", "include"]}
+ });
+
+ def(["text/x-c++src", "text/x-c++hdr"], {
+ name: "clike",
+ keywords: words(cKeywords + " asm dynamic_cast namespace reinterpret_cast try bool explicit new " +
+ "static_cast typeid catch operator template typename class friend private " +
+ "this using const_cast inline public throw virtual delete mutable protected " +
+ "wchar_t alignas alignof constexpr decltype nullptr noexcept thread_local final " +
+ "static_assert override"),
+ blockKeywords: words("catch class do else finally for if struct switch try while"),
+ atoms: words("true false null"),
+ hooks: {
+ "#": cppHook,
+ "u": cpp11StringHook,
+ "U": cpp11StringHook,
+ "L": cpp11StringHook,
+ "R": cpp11StringHook
+ },
+ modeProps: {fold: ["brace", "include"]}
+ });
+
+ def("text/x-java", {
+ name: "clike",
+ keywords: words("abstract assert boolean break byte case catch char class const continue default " +
+ "do double else enum extends final finally float for goto if implements import " +
+ "instanceof int interface long native new package private protected public " +
+ "return short static strictfp super switch synchronized this throw throws transient " +
+ "try void volatile while"),
+ blockKeywords: words("catch class do else finally for if switch try while"),
+ atoms: words("true false null"),
+ hooks: {
+ "@": function(stream) {
+ stream.eatWhile(/[\w\$_]/);
+ return "meta";
+ }
+ },
+ modeProps: {fold: ["brace", "import"]}
+ });
+
+ def("text/x-csharp", {
+ name: "clike",
+ keywords: words("abstract as base break case catch checked class const continue" +
+ " default delegate do else enum event explicit extern finally fixed for" +
+ " foreach goto if implicit in interface internal is lock namespace new" +
+ " operator out override params private protected public readonly ref return sealed" +
+ " sizeof stackalloc static struct switch this throw try typeof unchecked" +
+ " unsafe using virtual void volatile while add alias ascending descending dynamic from get" +
+ " global group into join let orderby partial remove select set value var yield"),
+ blockKeywords: words("catch class do else finally for foreach if struct switch try while"),
+ builtin: words("Boolean Byte Char DateTime DateTimeOffset Decimal Double" +
+ " Guid Int16 Int32 Int64 Object SByte Single String TimeSpan UInt16 UInt32" +
+ " UInt64 bool byte char decimal double short int long object" +
+ " sbyte float string ushort uint ulong"),
+ atoms: words("true false null"),
+ hooks: {
+ "@": function(stream, state) {
+ if (stream.eat('"')) {
+ state.tokenize = tokenAtString;
+ return tokenAtString(stream, state);
+ }
+ stream.eatWhile(/[\w\$_]/);
+ return "meta";
+ }
+ }
+ });
+
+ function tokenTripleString(stream, state) {
+ var escaped = false;
+ while (!stream.eol()) {
+ if (!escaped && stream.match('"""')) {
+ state.tokenize = null;
+ break;
+ }
+ escaped = stream.next() == "\\" && !escaped;
+ }
+ return "string";
+ }
+
+ def("text/x-scala", {
+ name: "clike",
+ keywords: words(
+
+ /* scala */
+ "abstract case catch class def do else extends false final finally for forSome if " +
+ "implicit import lazy match new null object override package private protected return " +
+ "sealed super this throw trait try trye type val var while with yield _ : = => <- <: " +
+ "<% >: # @ " +
+
+ /* package scala */
+ "assert assume require print println printf readLine readBoolean readByte readShort " +
+ "readChar readInt readLong readFloat readDouble " +
+
+ "AnyVal App Application Array BufferedIterator BigDecimal BigInt Char Console Either " +
+ "Enumeration Equiv Error Exception Fractional Function IndexedSeq Integral Iterable " +
+ "Iterator List Map Numeric Nil NotNull Option Ordered Ordering PartialFunction PartialOrdering " +
+ "Product Proxy Range Responder Seq Serializable Set Specializable Stream StringBuilder " +
+ "StringContext Symbol Throwable Traversable TraversableOnce Tuple Unit Vector :: #:: " +
+
+ /* package java.lang */
+ "Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable " +
+ "Compiler Double Exception Float Integer Long Math Number Object Package Pair Process " +
+ "Runtime Runnable SecurityManager Short StackTraceElement StrictMath String " +
+ "StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void"
+ ),
+ multiLineStrings: true,
+ blockKeywords: words("catch class do else finally for forSome if match switch try while"),
+ atoms: words("true false null"),
+ indentStatements: false,
+ hooks: {
+ "@": function(stream) {
+ stream.eatWhile(/[\w\$_]/);
+ return "meta";
+ },
+ '"': function(stream, state) {
+ if (!stream.match('""')) return false;
+ state.tokenize = tokenTripleString;
+ return state.tokenize(stream, state);
+ },
+ "'": function(stream) {
+ stream.eatWhile(/[\w\$_\xa1-\uffff]/);
+ return "atom";
+ }
+ },
+ modeProps: {closeBrackets: {triples: '"'}}
+ });
+
+ def(["x-shader/x-vertex", "x-shader/x-fragment"], {
+ name: "clike",
+ keywords: words("float int bool void " +
+ "vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 " +
+ "mat2 mat3 mat4 " +
+ "sampler1D sampler2D sampler3D samplerCube " +
+ "sampler1DShadow sampler2DShadow " +
+ "const attribute uniform varying " +
+ "break continue discard return " +
+ "for while do if else struct " +
+ "in out inout"),
+ blockKeywords: words("for while do if else struct"),
+ builtin: words("radians degrees sin cos tan asin acos atan " +
+ "pow exp log exp2 sqrt inversesqrt " +
+ "abs sign floor ceil fract mod min max clamp mix step smoothstep " +
+ "length distance dot cross normalize ftransform faceforward " +
+ "reflect refract matrixCompMult " +
+ "lessThan lessThanEqual greaterThan greaterThanEqual " +
+ "equal notEqual any all not " +
+ "texture1D texture1DProj texture1DLod texture1DProjLod " +
+ "texture2D texture2DProj texture2DLod texture2DProjLod " +
+ "texture3D texture3DProj texture3DLod texture3DProjLod " +
+ "textureCube textureCubeLod " +
+ "shadow1D shadow2D shadow1DProj shadow2DProj " +
+ "shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod " +
+ "dFdx dFdy fwidth " +
+ "noise1 noise2 noise3 noise4"),
+ atoms: words("true false " +
+ "gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex " +
+ "gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 " +
+ "gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 " +
+ "gl_FogCoord gl_PointCoord " +
+ "gl_Position gl_PointSize gl_ClipVertex " +
+ "gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor " +
+ "gl_TexCoord gl_FogFragCoord " +
+ "gl_FragCoord gl_FrontFacing " +
+ "gl_FragData gl_FragDepth " +
+ "gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix " +
+ "gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse " +
+ "gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse " +
+ "gl_TexureMatrixTranspose gl_ModelViewMatrixInverseTranspose " +
+ "gl_ProjectionMatrixInverseTranspose " +
+ "gl_ModelViewProjectionMatrixInverseTranspose " +
+ "gl_TextureMatrixInverseTranspose " +
+ "gl_NormalScale gl_DepthRange gl_ClipPlane " +
+ "gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel " +
+ "gl_FrontLightModelProduct gl_BackLightModelProduct " +
+ "gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ " +
+ "gl_FogParameters " +
+ "gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords " +
+ "gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats " +
+ "gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits " +
+ "gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits " +
+ "gl_MaxDrawBuffers"),
+ hooks: {"#": cppHook},
+ modeProps: {fold: ["brace", "include"]}
+ });
+
+ def("text/x-nesc", {
+ name: "clike",
+ keywords: words(cKeywords + "as atomic async call command component components configuration event generic " +
+ "implementation includes interface module new norace nx_struct nx_union post provides " +
+ "signal task uses abstract extends"),
+ blockKeywords: words("case do else for if switch while struct"),
+ atoms: words("null"),
+ hooks: {"#": cppHook},
+ modeProps: {fold: ["brace", "include"]}
+ });
+
+ def("text/x-objectivec", {
+ name: "clike",
+ keywords: words(cKeywords + "inline restrict _Bool _Complex _Imaginery BOOL Class bycopy byref id IMP in " +
+ "inout nil oneway out Protocol SEL self super atomic nonatomic retain copy readwrite readonly"),
+ atoms: words("YES NO NULL NILL ON OFF"),
+ hooks: {
+ "@": function(stream) {
+ stream.eatWhile(/[\w\$]/);
+ return "keyword";
+ },
+ "#": cppHook
+ },
+ modeProps: {fold: "brace"}
+ });
+
+});
diff --git a/public/vendor/codemirror/mode/clike/index.html b/public/vendor/codemirror/mode/clike/index.html
new file mode 100755
index 00000000..8b386d22
--- /dev/null
+++ b/public/vendor/codemirror/mode/clike/index.html
@@ -0,0 +1,251 @@
+
+
+CodeMirror: C-like mode
+
+
+
+
+
+
+
+
+
+
+
+
+
+C-like mode
+
+
+/* C demo code */
+
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+typedef struct {
+ void* arg_socket;
+ zmq_msg_t* arg_msg;
+ char* arg_string;
+ unsigned long arg_len;
+ int arg_int, arg_command;
+
+ int signal_fd;
+ int pad;
+ void* context;
+ sem_t sem;
+} acl_zmq_context;
+
+#define p(X) (context->arg_##X)
+
+void* zmq_thread(void* context_pointer) {
+ acl_zmq_context* context = (acl_zmq_context*)context_pointer;
+ char ok = 'K', err = 'X';
+ int res;
+
+ while (1) {
+ while ((res = sem_wait(&context->sem)) == EINTR);
+ if (res) {write(context->signal_fd, &err, 1); goto cleanup;}
+ switch(p(command)) {
+ case 0: goto cleanup;
+ case 1: p(socket) = zmq_socket(context->context, p(int)); break;
+ case 2: p(int) = zmq_close(p(socket)); break;
+ case 3: p(int) = zmq_bind(p(socket), p(string)); break;
+ case 4: p(int) = zmq_connect(p(socket), p(string)); break;
+ case 5: p(int) = zmq_getsockopt(p(socket), p(int), (void*)p(string), &p(len)); break;
+ case 6: p(int) = zmq_setsockopt(p(socket), p(int), (void*)p(string), p(len)); break;
+ case 7: p(int) = zmq_send(p(socket), p(msg), p(int)); break;
+ case 8: p(int) = zmq_recv(p(socket), p(msg), p(int)); break;
+ case 9: p(int) = zmq_poll(p(socket), p(int), p(len)); break;
+ }
+ p(command) = errno;
+ write(context->signal_fd, &ok, 1);
+ }
+ cleanup:
+ close(context->signal_fd);
+ free(context_pointer);
+ return 0;
+}
+
+void* zmq_thread_init(void* zmq_context, int signal_fd) {
+ acl_zmq_context* context = malloc(sizeof(acl_zmq_context));
+ pthread_t thread;
+
+ context->context = zmq_context;
+ context->signal_fd = signal_fd;
+ sem_init(&context->sem, 1, 0);
+ pthread_create(&thread, 0, &zmq_thread, context);
+ pthread_detach(thread);
+ return context;
+}
+
+
+C++ example
+
+
+#include
+#include "mystuff/util.h"
+
+namespace {
+enum Enum {
+ VAL1, VAL2, VAL3
+};
+
+char32_t unicode_string = U"\U0010FFFF";
+string raw_string = R"delim(anything
+you
+want)delim";
+
+int Helper(const MyType& param) {
+ return 0;
+}
+} // namespace
+
+class ForwardDec;
+
+template
+class Class : public BaseClass {
+ const MyType member_;
+
+ public:
+ const MyType& Method() const {
+ return member_;
+ }
+
+ void Method2(MyType* value);
+}
+
+template
+void Class::Method2(MyType* value) {
+ std::out << 1 >> method();
+ value->Method3(member_);
+ member_ = value;
+}
+
+
+Objective-C example
+
+
+/*
+This is a longer comment
+That spans two lines
+*/
+
+#import
+@implementation YourAppDelegate
+
+// This is a one-line comment
+
+- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{
+ char myString[] = "This is a C character array";
+ int test = 5;
+ return YES;
+}
+
+
+Java example
+
+
+import com.demo.util.MyType;
+import com.demo.util.MyInterface;
+
+public enum Enum {
+ VAL1, VAL2, VAL3
+}
+
+public class Class implements MyInterface {
+ public static final MyType member;
+
+ private class InnerClass {
+ public int zero() {
+ return 0;
+ }
+ }
+
+ @Override
+ public MyType method() {
+ return member;
+ }
+
+ public void method2(MyType value) {
+ method();
+ value.method3();
+ member = value;
+ }
+}
+
+
+Scala example
+
+
+object FilterTest extends App {
+ def filter(xs: List[Int], threshold: Int) = {
+ def process(ys: List[Int]): List[Int] =
+ if (ys.isEmpty) ys
+ else if (ys.head < threshold) ys.head :: process(ys.tail)
+ else process(ys.tail)
+ process(xs)
+ }
+ println(filter(List(1, 9, 2, 8, 3, 7, 4), 5))
+}
+
+
+
+
+ Simple mode that tries to handle C-like languages as well as it
+ can. Takes two configuration parameters: keywords
, an
+ object whose property names are the keywords in the language,
+ and useCPP
, which determines whether C preprocessor
+ directives are recognized.
+
+ MIME types defined: text/x-csrc
+ (C), text/x-c++src
(C++), text/x-java
+ (Java), text/x-csharp
(C#),
+ text/x-objectivec
(Objective-C),
+ text/x-scala
(Scala), text/x-vertex
+ and x-shader/x-fragment
(shader programs).
+
diff --git a/public/vendor/codemirror/mode/clike/scala.html b/public/vendor/codemirror/mode/clike/scala.html
new file mode 100755
index 00000000..aa04cf0f
--- /dev/null
+++ b/public/vendor/codemirror/mode/clike/scala.html
@@ -0,0 +1,767 @@
+
+
+CodeMirror: Scala mode
+
+
+
+
+
+
+
+
+
+
+
+Scala mode
+
+
+
+ /* __ *\
+ ** ________ ___ / / ___ Scala API **
+ ** / __/ __// _ | / / / _ | (c) 2003-2011, LAMP/EPFL **
+ ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ **
+ ** /____/\___/_/ |_/____/_/ | | **
+ ** |/ **
+ \* */
+
+ package scala.collection
+
+ import generic._
+ import mutable.{ Builder, ListBuffer }
+ import annotation.{tailrec, migration, bridge}
+ import annotation.unchecked.{ uncheckedVariance => uV }
+ import parallel.ParIterable
+
+ /** A template trait for traversable collections of type `Traversable[A]`.
+ *
+ * $traversableInfo
+ * @define mutability
+ * @define traversableInfo
+ * This is a base trait of all kinds of $mutability Scala collections. It
+ * implements the behavior common to all collections, in terms of a method
+ * `foreach` with signature:
+ * {{{
+ * def foreach[U](f: Elem => U): Unit
+ * }}}
+ * Collection classes mixing in this trait provide a concrete
+ * `foreach` method which traverses all the
+ * elements contained in the collection, applying a given function to each.
+ * They also need to provide a method `newBuilder`
+ * which creates a builder for collections of the same kind.
+ *
+ * A traversable class might or might not have two properties: strictness
+ * and orderedness. Neither is represented as a type.
+ *
+ * The instances of a strict collection class have all their elements
+ * computed before they can be used as values. By contrast, instances of
+ * a non-strict collection class may defer computation of some of their
+ * elements until after the instance is available as a value.
+ * A typical example of a non-strict collection class is a
+ *
+ * `scala.collection.immutable.Stream` .
+ * A more general class of examples are `TraversableViews`.
+ *
+ * If a collection is an instance of an ordered collection class, traversing
+ * its elements with `foreach` will always visit elements in the
+ * same order, even for different runs of the program. If the class is not
+ * ordered, `foreach` can visit elements in different orders for
+ * different runs (but it will keep the same order in the same run).'
+ *
+ * A typical example of a collection class which is not ordered is a
+ * `HashMap` of objects. The traversal order for hash maps will
+ * depend on the hash codes of its elements, and these hash codes might
+ * differ from one run to the next. By contrast, a `LinkedHashMap`
+ * is ordered because it's `foreach` method visits elements in the
+ * order they were inserted into the `HashMap`.
+ *
+ * @author Martin Odersky
+ * @version 2.8
+ * @since 2.8
+ * @tparam A the element type of the collection
+ * @tparam Repr the type of the actual collection containing the elements.
+ *
+ * @define Coll Traversable
+ * @define coll traversable collection
+ */
+ trait TraversableLike[+A, +Repr] extends HasNewBuilder[A, Repr]
+ with FilterMonadic[A, Repr]
+ with TraversableOnce[A]
+ with GenTraversableLike[A, Repr]
+ with Parallelizable[A, ParIterable[A]]
+ {
+ self =>
+
+ import Traversable.breaks._
+
+ /** The type implementing this traversable */
+ protected type Self = Repr
+
+ /** The collection of type $coll underlying this `TraversableLike` object.
+ * By default this is implemented as the `TraversableLike` object itself,
+ * but this can be overridden.
+ */
+ def repr: Repr = this.asInstanceOf[Repr]
+
+ /** The underlying collection seen as an instance of `$Coll`.
+ * By default this is implemented as the current collection object itself,
+ * but this can be overridden.
+ */
+ protected[this] def thisCollection: Traversable[A] = this.asInstanceOf[Traversable[A]]
+
+ /** A conversion from collections of type `Repr` to `$Coll` objects.
+ * By default this is implemented as just a cast, but this can be overridden.
+ */
+ protected[this] def toCollection(repr: Repr): Traversable[A] = repr.asInstanceOf[Traversable[A]]
+
+ /** Creates a new builder for this collection type.
+ */
+ protected[this] def newBuilder: Builder[A, Repr]
+
+ protected[this] def parCombiner = ParIterable.newCombiner[A]
+
+ /** Applies a function `f` to all elements of this $coll.
+ *
+ * Note: this method underlies the implementation of most other bulk operations.
+ * It's important to implement this method in an efficient way.
+ *
+ *
+ * @param f the function that is applied for its side-effect to every element.
+ * The result of function `f` is discarded.
+ *
+ * @tparam U the type parameter describing the result of function `f`.
+ * This result will always be ignored. Typically `U` is `Unit`,
+ * but this is not necessary.
+ *
+ * @usecase def foreach(f: A => Unit): Unit
+ */
+ def foreach[U](f: A => U): Unit
+
+ /** Tests whether this $coll is empty.
+ *
+ * @return `true` if the $coll contain no elements, `false` otherwise.
+ */
+ def isEmpty: Boolean = {
+ var result = true
+ breakable {
+ for (x <- this) {
+ result = false
+ break
+ }
+ }
+ result
+ }
+
+ /** Tests whether this $coll is known to have a finite size.
+ * All strict collections are known to have finite size. For a non-strict collection
+ * such as `Stream`, the predicate returns `true` if all elements have been computed.
+ * It returns `false` if the stream is not yet evaluated to the end.
+ *
+ * Note: many collection methods will not work on collections of infinite sizes.
+ *
+ * @return `true` if this collection is known to have finite size, `false` otherwise.
+ */
+ def hasDefiniteSize = true
+
+ def ++[B >: A, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[Repr, B, That]): That = {
+ val b = bf(repr)
+ if (that.isInstanceOf[IndexedSeqLike[_, _]]) b.sizeHint(this, that.seq.size)
+ b ++= thisCollection
+ b ++= that.seq
+ b.result
+ }
+
+ @bridge
+ def ++[B >: A, That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[Repr, B, That]): That =
+ ++(that: GenTraversableOnce[B])(bf)
+
+ /** Concatenates this $coll with the elements of a traversable collection.
+ * It differs from ++ in that the right operand determines the type of the
+ * resulting collection rather than the left one.
+ *
+ * @param that the traversable to append.
+ * @tparam B the element type of the returned collection.
+ * @tparam That $thatinfo
+ * @param bf $bfinfo
+ * @return a new collection of type `That` which contains all elements
+ * of this $coll followed by all elements of `that`.
+ *
+ * @usecase def ++:[B](that: TraversableOnce[B]): $Coll[B]
+ *
+ * @return a new $coll which contains all elements of this $coll
+ * followed by all elements of `that`.
+ */
+ def ++:[B >: A, That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[Repr, B, That]): That = {
+ val b = bf(repr)
+ if (that.isInstanceOf[IndexedSeqLike[_, _]]) b.sizeHint(this, that.size)
+ b ++= that
+ b ++= thisCollection
+ b.result
+ }
+
+ /** This overload exists because: for the implementation of ++: we should reuse
+ * that of ++ because many collections override it with more efficient versions.
+ * Since TraversableOnce has no '++' method, we have to implement that directly,
+ * but Traversable and down can use the overload.
+ */
+ def ++:[B >: A, That](that: Traversable[B])(implicit bf: CanBuildFrom[Repr, B, That]): That =
+ (that ++ seq)(breakOut)
+
+ def map[B, That](f: A => B)(implicit bf: CanBuildFrom[Repr, B, That]): That = {
+ val b = bf(repr)
+ b.sizeHint(this)
+ for (x <- this) b += f(x)
+ b.result
+ }
+
+ def flatMap[B, That](f: A => GenTraversableOnce[B])(implicit bf: CanBuildFrom[Repr, B, That]): That = {
+ val b = bf(repr)
+ for (x <- this) b ++= f(x).seq
+ b.result
+ }
+
+ /** Selects all elements of this $coll which satisfy a predicate.
+ *
+ * @param p the predicate used to test elements.
+ * @return a new $coll consisting of all elements of this $coll that satisfy the given
+ * predicate `p`. The order of the elements is preserved.
+ */
+ def filter(p: A => Boolean): Repr = {
+ val b = newBuilder
+ for (x <- this)
+ if (p(x)) b += x
+ b.result
+ }
+
+ /** Selects all elements of this $coll which do not satisfy a predicate.
+ *
+ * @param p the predicate used to test elements.
+ * @return a new $coll consisting of all elements of this $coll that do not satisfy the given
+ * predicate `p`. The order of the elements is preserved.
+ */
+ def filterNot(p: A => Boolean): Repr = filter(!p(_))
+
+ def collect[B, That](pf: PartialFunction[A, B])(implicit bf: CanBuildFrom[Repr, B, That]): That = {
+ val b = bf(repr)
+ for (x <- this) if (pf.isDefinedAt(x)) b += pf(x)
+ b.result
+ }
+
+ /** Builds a new collection by applying an option-valued function to all
+ * elements of this $coll on which the function is defined.
+ *
+ * @param f the option-valued function which filters and maps the $coll.
+ * @tparam B the element type of the returned collection.
+ * @tparam That $thatinfo
+ * @param bf $bfinfo
+ * @return a new collection of type `That` resulting from applying the option-valued function
+ * `f` to each element and collecting all defined results.
+ * The order of the elements is preserved.
+ *
+ * @usecase def filterMap[B](f: A => Option[B]): $Coll[B]
+ *
+ * @param pf the partial function which filters and maps the $coll.
+ * @return a new $coll resulting from applying the given option-valued function
+ * `f` to each element and collecting all defined results.
+ * The order of the elements is preserved.
+ def filterMap[B, That](f: A => Option[B])(implicit bf: CanBuildFrom[Repr, B, That]): That = {
+ val b = bf(repr)
+ for (x <- this)
+ f(x) match {
+ case Some(y) => b += y
+ case _ =>
+ }
+ b.result
+ }
+ */
+
+ /** Partitions this $coll in two ${coll}s according to a predicate.
+ *
+ * @param p the predicate on which to partition.
+ * @return a pair of ${coll}s: the first $coll consists of all elements that
+ * satisfy the predicate `p` and the second $coll consists of all elements
+ * that don't. The relative order of the elements in the resulting ${coll}s
+ * is the same as in the original $coll.
+ */
+ def partition(p: A => Boolean): (Repr, Repr) = {
+ val l, r = newBuilder
+ for (x <- this) (if (p(x)) l else r) += x
+ (l.result, r.result)
+ }
+
+ def groupBy[K](f: A => K): immutable.Map[K, Repr] = {
+ val m = mutable.Map.empty[K, Builder[A, Repr]]
+ for (elem <- this) {
+ val key = f(elem)
+ val bldr = m.getOrElseUpdate(key, newBuilder)
+ bldr += elem
+ }
+ val b = immutable.Map.newBuilder[K, Repr]
+ for ((k, v) <- m)
+ b += ((k, v.result))
+
+ b.result
+ }
+
+ /** Tests whether a predicate holds for all elements of this $coll.
+ *
+ * $mayNotTerminateInf
+ *
+ * @param p the predicate used to test elements.
+ * @return `true` if the given predicate `p` holds for all elements
+ * of this $coll, otherwise `false`.
+ */
+ def forall(p: A => Boolean): Boolean = {
+ var result = true
+ breakable {
+ for (x <- this)
+ if (!p(x)) { result = false; break }
+ }
+ result
+ }
+
+ /** Tests whether a predicate holds for some of the elements of this $coll.
+ *
+ * $mayNotTerminateInf
+ *
+ * @param p the predicate used to test elements.
+ * @return `true` if the given predicate `p` holds for some of the
+ * elements of this $coll, otherwise `false`.
+ */
+ def exists(p: A => Boolean): Boolean = {
+ var result = false
+ breakable {
+ for (x <- this)
+ if (p(x)) { result = true; break }
+ }
+ result
+ }
+
+ /** Finds the first element of the $coll satisfying a predicate, if any.
+ *
+ * $mayNotTerminateInf
+ * $orderDependent
+ *
+ * @param p the predicate used to test elements.
+ * @return an option value containing the first element in the $coll
+ * that satisfies `p`, or `None` if none exists.
+ */
+ def find(p: A => Boolean): Option[A] = {
+ var result: Option[A] = None
+ breakable {
+ for (x <- this)
+ if (p(x)) { result = Some(x); break }
+ }
+ result
+ }
+
+ def scan[B >: A, That](z: B)(op: (B, B) => B)(implicit cbf: CanBuildFrom[Repr, B, That]): That = scanLeft(z)(op)
+
+ def scanLeft[B, That](z: B)(op: (B, A) => B)(implicit bf: CanBuildFrom[Repr, B, That]): That = {
+ val b = bf(repr)
+ b.sizeHint(this, 1)
+ var acc = z
+ b += acc
+ for (x <- this) { acc = op(acc, x); b += acc }
+ b.result
+ }
+
+ @migration(2, 9,
+ "This scanRight definition has changed in 2.9.\n" +
+ "The previous behavior can be reproduced with scanRight.reverse."
+ )
+ def scanRight[B, That](z: B)(op: (A, B) => B)(implicit bf: CanBuildFrom[Repr, B, That]): That = {
+ var scanned = List(z)
+ var acc = z
+ for (x <- reversed) {
+ acc = op(x, acc)
+ scanned ::= acc
+ }
+ val b = bf(repr)
+ for (elem <- scanned) b += elem
+ b.result
+ }
+
+ /** Selects the first element of this $coll.
+ * $orderDependent
+ * @return the first element of this $coll.
+ * @throws `NoSuchElementException` if the $coll is empty.
+ */
+ def head: A = {
+ var result: () => A = () => throw new NoSuchElementException
+ breakable {
+ for (x <- this) {
+ result = () => x
+ break
+ }
+ }
+ result()
+ }
+
+ /** Optionally selects the first element.
+ * $orderDependent
+ * @return the first element of this $coll if it is nonempty, `None` if it is empty.
+ */
+ def headOption: Option[A] = if (isEmpty) None else Some(head)
+
+ /** Selects all elements except the first.
+ * $orderDependent
+ * @return a $coll consisting of all elements of this $coll
+ * except the first one.
+ * @throws `UnsupportedOperationException` if the $coll is empty.
+ */
+ override def tail: Repr = {
+ if (isEmpty) throw new UnsupportedOperationException("empty.tail")
+ drop(1)
+ }
+
+ /** Selects the last element.
+ * $orderDependent
+ * @return The last element of this $coll.
+ * @throws NoSuchElementException If the $coll is empty.
+ */
+ def last: A = {
+ var lst = head
+ for (x <- this)
+ lst = x
+ lst
+ }
+
+ /** Optionally selects the last element.
+ * $orderDependent
+ * @return the last element of this $coll$ if it is nonempty, `None` if it is empty.
+ */
+ def lastOption: Option[A] = if (isEmpty) None else Some(last)
+
+ /** Selects all elements except the last.
+ * $orderDependent
+ * @return a $coll consisting of all elements of this $coll
+ * except the last one.
+ * @throws `UnsupportedOperationException` if the $coll is empty.
+ */
+ def init: Repr = {
+ if (isEmpty) throw new UnsupportedOperationException("empty.init")
+ var lst = head
+ var follow = false
+ val b = newBuilder
+ b.sizeHint(this, -1)
+ for (x <- this.seq) {
+ if (follow) b += lst
+ else follow = true
+ lst = x
+ }
+ b.result
+ }
+
+ def take(n: Int): Repr = slice(0, n)
+
+ def drop(n: Int): Repr =
+ if (n <= 0) {
+ val b = newBuilder
+ b.sizeHint(this)
+ b ++= thisCollection result
+ }
+ else sliceWithKnownDelta(n, Int.MaxValue, -n)
+
+ def slice(from: Int, until: Int): Repr = sliceWithKnownBound(math.max(from, 0), until)
+
+ // Precondition: from >= 0, until > 0, builder already configured for building.
+ private[this] def sliceInternal(from: Int, until: Int, b: Builder[A, Repr]): Repr = {
+ var i = 0
+ breakable {
+ for (x <- this.seq) {
+ if (i >= from) b += x
+ i += 1
+ if (i >= until) break
+ }
+ }
+ b.result
+ }
+ // Precondition: from >= 0
+ private[scala] def sliceWithKnownDelta(from: Int, until: Int, delta: Int): Repr = {
+ val b = newBuilder
+ if (until <= from) b.result
+ else {
+ b.sizeHint(this, delta)
+ sliceInternal(from, until, b)
+ }
+ }
+ // Precondition: from >= 0
+ private[scala] def sliceWithKnownBound(from: Int, until: Int): Repr = {
+ val b = newBuilder
+ if (until <= from) b.result
+ else {
+ b.sizeHintBounded(until - from, this)
+ sliceInternal(from, until, b)
+ }
+ }
+
+ def takeWhile(p: A => Boolean): Repr = {
+ val b = newBuilder
+ breakable {
+ for (x <- this) {
+ if (!p(x)) break
+ b += x
+ }
+ }
+ b.result
+ }
+
+ def dropWhile(p: A => Boolean): Repr = {
+ val b = newBuilder
+ var go = false
+ for (x <- this) {
+ if (!p(x)) go = true
+ if (go) b += x
+ }
+ b.result
+ }
+
+ def span(p: A => Boolean): (Repr, Repr) = {
+ val l, r = newBuilder
+ var toLeft = true
+ for (x <- this) {
+ toLeft = toLeft && p(x)
+ (if (toLeft) l else r) += x
+ }
+ (l.result, r.result)
+ }
+
+ def splitAt(n: Int): (Repr, Repr) = {
+ val l, r = newBuilder
+ l.sizeHintBounded(n, this)
+ if (n >= 0) r.sizeHint(this, -n)
+ var i = 0
+ for (x <- this) {
+ (if (i < n) l else r) += x
+ i += 1
+ }
+ (l.result, r.result)
+ }
+
+ /** Iterates over the tails of this $coll. The first value will be this
+ * $coll and the final one will be an empty $coll, with the intervening
+ * values the results of successive applications of `tail`.
+ *
+ * @return an iterator over all the tails of this $coll
+ * @example `List(1,2,3).tails = Iterator(List(1,2,3), List(2,3), List(3), Nil)`
+ */
+ def tails: Iterator[Repr] = iterateUntilEmpty(_.tail)
+
+ /** Iterates over the inits of this $coll. The first value will be this
+ * $coll and the final one will be an empty $coll, with the intervening
+ * values the results of successive applications of `init`.
+ *
+ * @return an iterator over all the inits of this $coll
+ * @example `List(1,2,3).inits = Iterator(List(1,2,3), List(1,2), List(1), Nil)`
+ */
+ def inits: Iterator[Repr] = iterateUntilEmpty(_.init)
+
+ /** Copies elements of this $coll to an array.
+ * Fills the given array `xs` with at most `len` elements of
+ * this $coll, starting at position `start`.
+ * Copying will stop once either the end of the current $coll is reached,
+ * or the end of the array is reached, or `len` elements have been copied.
+ *
+ * $willNotTerminateInf
+ *
+ * @param xs the array to fill.
+ * @param start the starting index.
+ * @param len the maximal number of elements to copy.
+ * @tparam B the type of the elements of the array.
+ *
+ *
+ * @usecase def copyToArray(xs: Array[A], start: Int, len: Int): Unit
+ */
+ def copyToArray[B >: A](xs: Array[B], start: Int, len: Int) {
+ var i = start
+ val end = (start + len) min xs.length
+ breakable {
+ for (x <- this) {
+ if (i >= end) break
+ xs(i) = x
+ i += 1
+ }
+ }
+ }
+
+ def toTraversable: Traversable[A] = thisCollection
+ def toIterator: Iterator[A] = toStream.iterator
+ def toStream: Stream[A] = toBuffer.toStream
+
+ /** Converts this $coll to a string.
+ *
+ * @return a string representation of this collection. By default this
+ * string consists of the `stringPrefix` of this $coll,
+ * followed by all elements separated by commas and enclosed in parentheses.
+ */
+ override def toString = mkString(stringPrefix + "(", ", ", ")")
+
+ /** Defines the prefix of this object's `toString` representation.
+ *
+ * @return a string representation which starts the result of `toString`
+ * applied to this $coll. By default the string prefix is the
+ * simple name of the collection class $coll.
+ */
+ def stringPrefix : String = {
+ var string = repr.asInstanceOf[AnyRef].getClass.getName
+ val idx1 = string.lastIndexOf('.' : Int)
+ if (idx1 != -1) string = string.substring(idx1 + 1)
+ val idx2 = string.indexOf('$')
+ if (idx2 != -1) string = string.substring(0, idx2)
+ string
+ }
+
+ /** Creates a non-strict view of this $coll.
+ *
+ * @return a non-strict view of this $coll.
+ */
+ def view = new TraversableView[A, Repr] {
+ protected lazy val underlying = self.repr
+ override def foreach[U](f: A => U) = self foreach f
+ }
+
+ /** Creates a non-strict view of a slice of this $coll.
+ *
+ * Note: the difference between `view` and `slice` is that `view` produces
+ * a view of the current $coll, whereas `slice` produces a new $coll.
+ *
+ * Note: `view(from, to)` is equivalent to `view.slice(from, to)`
+ * $orderDependent
+ *
+ * @param from the index of the first element of the view
+ * @param until the index of the element following the view
+ * @return a non-strict view of a slice of this $coll, starting at index `from`
+ * and extending up to (but not including) index `until`.
+ */
+ def view(from: Int, until: Int): TraversableView[A, Repr] = view.slice(from, until)
+
+ /** Creates a non-strict filter of this $coll.
+ *
+ * Note: the difference between `c filter p` and `c withFilter p` is that
+ * the former creates a new collection, whereas the latter only
+ * restricts the domain of subsequent `map`, `flatMap`, `foreach`,
+ * and `withFilter` operations.
+ * $orderDependent
+ *
+ * @param p the predicate used to test elements.
+ * @return an object of class `WithFilter`, which supports
+ * `map`, `flatMap`, `foreach`, and `withFilter` operations.
+ * All these operations apply to those elements of this $coll which
+ * satisfy the predicate `p`.
+ */
+ def withFilter(p: A => Boolean): FilterMonadic[A, Repr] = new WithFilter(p)
+
+ /** A class supporting filtered operations. Instances of this class are
+ * returned by method `withFilter`.
+ */
+ class WithFilter(p: A => Boolean) extends FilterMonadic[A, Repr] {
+
+ /** Builds a new collection by applying a function to all elements of the
+ * outer $coll containing this `WithFilter` instance that satisfy predicate `p`.
+ *
+ * @param f the function to apply to each element.
+ * @tparam B the element type of the returned collection.
+ * @tparam That $thatinfo
+ * @param bf $bfinfo
+ * @return a new collection of type `That` resulting from applying
+ * the given function `f` to each element of the outer $coll
+ * that satisfies predicate `p` and collecting the results.
+ *
+ * @usecase def map[B](f: A => B): $Coll[B]
+ *
+ * @return a new $coll resulting from applying the given function
+ * `f` to each element of the outer $coll that satisfies
+ * predicate `p` and collecting the results.
+ */
+ def map[B, That](f: A => B)(implicit bf: CanBuildFrom[Repr, B, That]): That = {
+ val b = bf(repr)
+ for (x <- self)
+ if (p(x)) b += f(x)
+ b.result
+ }
+
+ /** Builds a new collection by applying a function to all elements of the
+ * outer $coll containing this `WithFilter` instance that satisfy
+ * predicate `p` and concatenating the results.
+ *
+ * @param f the function to apply to each element.
+ * @tparam B the element type of the returned collection.
+ * @tparam That $thatinfo
+ * @param bf $bfinfo
+ * @return a new collection of type `That` resulting from applying
+ * the given collection-valued function `f` to each element
+ * of the outer $coll that satisfies predicate `p` and
+ * concatenating the results.
+ *
+ * @usecase def flatMap[B](f: A => TraversableOnce[B]): $Coll[B]
+ *
+ * @return a new $coll resulting from applying the given collection-valued function
+ * `f` to each element of the outer $coll that satisfies predicate `p` and concatenating the results.
+ */
+ def flatMap[B, That](f: A => GenTraversableOnce[B])(implicit bf: CanBuildFrom[Repr, B, That]): That = {
+ val b = bf(repr)
+ for (x <- self)
+ if (p(x)) b ++= f(x).seq
+ b.result
+ }
+
+ /** Applies a function `f` to all elements of the outer $coll containing
+ * this `WithFilter` instance that satisfy predicate `p`.
+ *
+ * @param f the function that is applied for its side-effect to every element.
+ * The result of function `f` is discarded.
+ *
+ * @tparam U the type parameter describing the result of function `f`.
+ * This result will always be ignored. Typically `U` is `Unit`,
+ * but this is not necessary.
+ *
+ * @usecase def foreach(f: A => Unit): Unit
+ */
+ def foreach[U](f: A => U): Unit =
+ for (x <- self)
+ if (p(x)) f(x)
+
+ /** Further refines the filter for this $coll.
+ *
+ * @param q the predicate used to test elements.
+ * @return an object of class `WithFilter`, which supports
+ * `map`, `flatMap`, `foreach`, and `withFilter` operations.
+ * All these operations apply to those elements of this $coll which
+ * satisfy the predicate `q` in addition to the predicate `p`.
+ */
+ def withFilter(q: A => Boolean): WithFilter =
+ new WithFilter(x => p(x) && q(x))
+ }
+
+ // A helper for tails and inits.
+ private def iterateUntilEmpty(f: Traversable[A @uV] => Traversable[A @uV]): Iterator[Repr] = {
+ val it = Iterator.iterate(thisCollection)(f) takeWhile (x => !x.isEmpty)
+ it ++ Iterator(Nil) map (newBuilder ++= _ result)
+ }
+ }
+
+
+
+
+
+
+
diff --git a/public/vendor/codemirror/mode/clojure/clojure.js b/public/vendor/codemirror/mode/clojure/clojure.js
new file mode 100755
index 00000000..d531022a
--- /dev/null
+++ b/public/vendor/codemirror/mode/clojure/clojure.js
@@ -0,0 +1,244 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+/**
+ * Author: Hans Engel
+ * Branched from CodeMirror's Scheme mode (by Koh Zi Han, based on implementation by Koh Zi Chun)
+ */
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+"use strict";
+
+CodeMirror.defineMode("clojure", function (options) {
+ var BUILTIN = "builtin", COMMENT = "comment", STRING = "string", CHARACTER = "string-2",
+ ATOM = "atom", NUMBER = "number", BRACKET = "bracket", KEYWORD = "keyword", VAR = "variable";
+ var INDENT_WORD_SKIP = options.indentUnit || 2;
+ var NORMAL_INDENT_UNIT = options.indentUnit || 2;
+
+ function makeKeywords(str) {
+ var obj = {}, words = str.split(" ");
+ for (var i = 0; i < words.length; ++i) obj[words[i]] = true;
+ return obj;
+ }
+
+ var atoms = makeKeywords("true false nil");
+
+ var keywords = makeKeywords(
+ "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");
+
+ var builtins = makeKeywords(
+ "* *' *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->>");
+
+ var indentKeys = makeKeywords(
+ // Built-ins
+ "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 " +
+
+ // Binding forms
+ "let letfn binding loop for doseq dotimes when-let if-let " +
+
+ // Data structures
+ "defstruct struct-map assoc " +
+
+ // clojure.test
+ "testing deftest " +
+
+ // contrib
+ "handler-case handle dotrace deftrace");
+
+ var tests = {
+ digit: /\d/,
+ digit_or_colon: /[\d:]/,
+ hex: /[0-9a-f]/i,
+ sign: /[+-]/,
+ exponent: /e/i,
+ keyword_char: /[^\s\(\[\;\)\]]/,
+ symbol: /[\w*+!\-\._?:<>\/\xa1-\uffff]/
+ };
+
+ function stateStack(indent, type, prev) { // represents a state stack object
+ this.indent = indent;
+ this.type = type;
+ this.prev = prev;
+ }
+
+ function pushStack(state, indent, type) {
+ state.indentStack = new stateStack(indent, type, state.indentStack);
+ }
+
+ function popStack(state) {
+ state.indentStack = state.indentStack.prev;
+ }
+
+ function isNumber(ch, stream){
+ // hex
+ if ( ch === '0' && stream.eat(/x/i) ) {
+ stream.eatWhile(tests.hex);
+ return true;
+ }
+
+ // leading sign
+ if ( ( ch == '+' || ch == '-' ) && ( tests.digit.test(stream.peek()) ) ) {
+ stream.eat(tests.sign);
+ ch = stream.next();
+ }
+
+ if ( tests.digit.test(ch) ) {
+ stream.eat(ch);
+ stream.eatWhile(tests.digit);
+
+ if ( '.' == stream.peek() ) {
+ stream.eat('.');
+ stream.eatWhile(tests.digit);
+ }
+
+ if ( stream.eat(tests.exponent) ) {
+ stream.eat(tests.sign);
+ stream.eatWhile(tests.digit);
+ }
+
+ return true;
+ }
+
+ return false;
+ }
+
+ // Eat character that starts after backslash \
+ function eatCharacter(stream) {
+ var first = stream.next();
+ // Read special literals: backspace, newline, space, return.
+ // Just read all lowercase letters.
+ if (first && first.match(/[a-z]/) && stream.match(/[a-z]+/, true)) {
+ return;
+ }
+ // Read unicode character: \u1000 \uA0a1
+ if (first === "u") {
+ stream.match(/[0-9a-z]{4}/i, true);
+ }
+ }
+
+ return {
+ startState: function () {
+ return {
+ indentStack: null,
+ indentation: 0,
+ mode: false
+ };
+ },
+
+ token: function (stream, state) {
+ if (state.indentStack == null && stream.sol()) {
+ // update indentation, but only if indentStack is empty
+ state.indentation = stream.indentation();
+ }
+
+ // skip spaces
+ if (stream.eatSpace()) {
+ return null;
+ }
+ var returnType = null;
+
+ switch(state.mode){
+ case "string": // multi-line string parsing mode
+ var next, escaped = false;
+ while ((next = stream.next()) != null) {
+ if (next == "\"" && !escaped) {
+
+ state.mode = false;
+ break;
+ }
+ escaped = !escaped && next == "\\";
+ }
+ returnType = STRING; // continue on in string mode
+ break;
+ default: // default parsing mode
+ var ch = stream.next();
+
+ if (ch == "\"") {
+ state.mode = "string";
+ returnType = STRING;
+ } else if (ch == "\\") {
+ eatCharacter(stream);
+ returnType = CHARACTER;
+ } else if (ch == "'" && !( tests.digit_or_colon.test(stream.peek()) )) {
+ returnType = ATOM;
+ } else if (ch == ";") { // comment
+ stream.skipToEnd(); // rest of the line is a comment
+ returnType = COMMENT;
+ } else if (isNumber(ch,stream)){
+ returnType = NUMBER;
+ } else if (ch == "(" || ch == "[" || ch == "{" ) {
+ var keyWord = '', indentTemp = stream.column(), letter;
+ /**
+ Either
+ (indent-word ..
+ (non-indent-word ..
+ (;something else, bracket, etc.
+ */
+
+ if (ch == "(") while ((letter = stream.eat(tests.keyword_char)) != null) {
+ keyWord += letter;
+ }
+
+ if (keyWord.length > 0 && (indentKeys.propertyIsEnumerable(keyWord) ||
+ /^(?:def|with)/.test(keyWord))) { // indent-word
+ pushStack(state, indentTemp + INDENT_WORD_SKIP, ch);
+ } else { // non-indent word
+ // we continue eating the spaces
+ stream.eatSpace();
+ if (stream.eol() || stream.peek() == ";") {
+ // nothing significant after
+ // we restart indentation the user defined spaces after
+ pushStack(state, indentTemp + NORMAL_INDENT_UNIT, ch);
+ } else {
+ pushStack(state, indentTemp + stream.current().length, ch); // else we match
+ }
+ }
+ stream.backUp(stream.current().length - 1); // undo all the eating
+
+ returnType = BRACKET;
+ } else if (ch == ")" || ch == "]" || ch == "}") {
+ returnType = BRACKET;
+ if (state.indentStack != null && state.indentStack.type == (ch == ")" ? "(" : (ch == "]" ? "[" :"{"))) {
+ popStack(state);
+ }
+ } else if ( ch == ":" ) {
+ stream.eatWhile(tests.symbol);
+ return ATOM;
+ } else {
+ stream.eatWhile(tests.symbol);
+
+ if (keywords && keywords.propertyIsEnumerable(stream.current())) {
+ returnType = KEYWORD;
+ } else if (builtins && builtins.propertyIsEnumerable(stream.current())) {
+ returnType = BUILTIN;
+ } else if (atoms && atoms.propertyIsEnumerable(stream.current())) {
+ returnType = ATOM;
+ } else {
+ returnType = VAR;
+ }
+ }
+ }
+
+ return returnType;
+ },
+
+ indent: function (state) {
+ if (state.indentStack == null) return state.indentation;
+ return state.indentStack.indent;
+ },
+
+ closeBrackets: {pairs: "()[]{}\"\""},
+ lineComment: ";;"
+ };
+});
+
+CodeMirror.defineMIME("text/x-clojure", "clojure");
+
+});
diff --git a/public/vendor/codemirror/mode/clojure/index.html b/public/vendor/codemirror/mode/clojure/index.html
new file mode 100755
index 00000000..3ecf4c48
--- /dev/null
+++ b/public/vendor/codemirror/mode/clojure/index.html
@@ -0,0 +1,88 @@
+
+
+CodeMirror: Clojure mode
+
+
+
+
+
+
+
+
+
+
+Clojure mode
+
+; Conway's Game of Life, based on the work of:
+;; Laurent Petit https://gist.github.com/1200343
+;; Christophe Grand http://clj-me.cgrand.net/2011/08/19/conways-game-of-life
+
+(ns ^{:doc "Conway's Game of Life."}
+ game-of-life)
+
+;; Core game of life's algorithm functions
+
+(defn neighbours
+ "Given a cell's coordinates, returns the coordinates of its neighbours."
+ [[x y]]
+ (for [dx [-1 0 1] dy (if (zero? dx) [-1 1] [-1 0 1])]
+ [(+ dx x) (+ dy y)]))
+
+(defn step
+ "Given a set of living cells, computes the new set of living cells."
+ [cells]
+ (set (for [[cell n] (frequencies (mapcat neighbours cells))
+ :when (or (= n 3) (and (= n 2) (cells cell)))]
+ cell)))
+
+;; Utility methods for displaying game on a text terminal
+
+(defn print-board
+ "Prints a board on *out*, representing a step in the game."
+ [board w h]
+ (doseq [x (range (inc w)) y (range (inc h))]
+ (if (= y 0) (print "\n"))
+ (print (if (board [x y]) "[X]" " . "))))
+
+(defn display-grids
+ "Prints a squence of boards on *out*, representing several steps."
+ [grids w h]
+ (doseq [board grids]
+ (print-board board w h)
+ (print "\n")))
+
+;; Launches an example board
+
+(def
+ ^{:doc "board represents the initial set of living cells"}
+ board #{[2 1] [2 2] [2 3]})
+
+(display-grids (take 3 (iterate step board)) 5 5)
+
+;; Let's play with characters
+(println \1 \a \# \\
+ \" \( \newline
+ \} \" \space
+ \tab \return \backspace
+ \u1000 \uAaAa \u9F9F)
+
+
+
+
+ MIME types defined: text/x-clojure
.
+
+
diff --git a/public/vendor/codemirror/mode/cmake/cmake.js b/public/vendor/codemirror/mode/cmake/cmake.js
new file mode 100755
index 00000000..9f9eda54
--- /dev/null
+++ b/public/vendor/codemirror/mode/cmake/cmake.js
@@ -0,0 +1,97 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object")
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd)
+ define(["../../lib/codemirror"], mod);
+ else
+ mod(CodeMirror);
+})(function(CodeMirror) {
+"use strict";
+
+CodeMirror.defineMode("cmake", function () {
+ var variable_regex = /({)?[a-zA-Z0-9_]+(})?/;
+
+ function tokenString(stream, state) {
+ var current, prev, found_var = false;
+ while (!stream.eol() && (current = stream.next()) != state.pending) {
+ if (current === '$' && prev != '\\' && state.pending == '"') {
+ found_var = true;
+ break;
+ }
+ prev = current;
+ }
+ if (found_var) {
+ stream.backUp(1);
+ }
+ if (current == state.pending) {
+ state.continueString = false;
+ } else {
+ state.continueString = true;
+ }
+ return "string";
+ }
+
+ function tokenize(stream, state) {
+ var ch = stream.next();
+
+ // Have we found a variable?
+ if (ch === '$') {
+ if (stream.match(variable_regex)) {
+ return 'variable-2';
+ }
+ return 'variable';
+ }
+ // Should we still be looking for the end of a string?
+ if (state.continueString) {
+ // If so, go through the loop again
+ stream.backUp(1);
+ return tokenString(stream, state);
+ }
+ // Do we just have a function on our hands?
+ // In 'cmake_minimum_required (VERSION 2.8.8)', 'cmake_minimum_required' is matched
+ if (stream.match(/(\s+)?\w+\(/) || stream.match(/(\s+)?\w+\ \(/)) {
+ stream.backUp(1);
+ return 'def';
+ }
+ if (ch == "#") {
+ stream.skipToEnd();
+ return "comment";
+ }
+ // Have we found a string?
+ if (ch == "'" || ch == '"') {
+ // Store the type (single or double)
+ state.pending = ch;
+ // Perform the looping function to find the end
+ return tokenString(stream, state);
+ }
+ if (ch == '(' || ch == ')') {
+ return 'bracket';
+ }
+ if (ch.match(/[0-9]/)) {
+ return 'number';
+ }
+ stream.eatWhile(/[\w-]/);
+ return null;
+ }
+ return {
+ startState: function () {
+ var state = {};
+ state.inDefinition = false;
+ state.inInclude = false;
+ state.continueString = false;
+ state.pending = false;
+ return state;
+ },
+ token: function (stream, state) {
+ if (stream.eatSpace()) return null;
+ return tokenize(stream, state);
+ }
+ };
+});
+
+CodeMirror.defineMIME("text/x-cmake", "cmake");
+
+});
diff --git a/public/vendor/codemirror/mode/cmake/index.html b/public/vendor/codemirror/mode/cmake/index.html
new file mode 100755
index 00000000..ed114fec
--- /dev/null
+++ b/public/vendor/codemirror/mode/cmake/index.html
@@ -0,0 +1,129 @@
+
+
+CodeMirror: CMake mode
+
+
+
+
+
+
+
+
+
+
+
+CMake mode
+
+# vim: syntax=cmake
+if(NOT CMAKE_BUILD_TYPE)
+ # default to Release build for GCC builds
+ set(CMAKE_BUILD_TYPE Release CACHE STRING
+ "Choose the type of build, options are: None(CMAKE_CXX_FLAGS or CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel."
+ FORCE)
+endif()
+message(STATUS "cmake version ${CMAKE_VERSION}")
+if(POLICY CMP0025)
+ cmake_policy(SET CMP0025 OLD) # report Apple's Clang as just Clang
+endif()
+if(POLICY CMP0042)
+ cmake_policy(SET CMP0042 NEW) # MACOSX_RPATH
+endif()
+
+project (x265)
+cmake_minimum_required (VERSION 2.8.8) # OBJECT libraries require 2.8.8
+include(CheckIncludeFiles)
+include(CheckFunctionExists)
+include(CheckSymbolExists)
+include(CheckCXXCompilerFlag)
+
+# X265_BUILD must be incremented each time the public API is changed
+set(X265_BUILD 48)
+configure_file("${PROJECT_SOURCE_DIR}/x265.def.in"
+ "${PROJECT_BINARY_DIR}/x265.def")
+configure_file("${PROJECT_SOURCE_DIR}/x265_config.h.in"
+ "${PROJECT_BINARY_DIR}/x265_config.h")
+
+SET(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake" "${CMAKE_MODULE_PATH}")
+
+# System architecture detection
+string(TOLOWER "${CMAKE_SYSTEM_PROCESSOR}" SYSPROC)
+set(X86_ALIASES x86 i386 i686 x86_64 amd64)
+list(FIND X86_ALIASES "${SYSPROC}" X86MATCH)
+if("${SYSPROC}" STREQUAL "" OR X86MATCH GREATER "-1")
+ message(STATUS "Detected x86 target processor")
+ set(X86 1)
+ add_definitions(-DX265_ARCH_X86=1)
+ if("${CMAKE_SIZEOF_VOID_P}" MATCHES 8)
+ set(X64 1)
+ add_definitions(-DX86_64=1)
+ endif()
+elseif(${SYSPROC} STREQUAL "armv6l")
+ message(STATUS "Detected ARM target processor")
+ set(ARM 1)
+ add_definitions(-DX265_ARCH_ARM=1 -DHAVE_ARMV6=1)
+else()
+ message(STATUS "CMAKE_SYSTEM_PROCESSOR value `${CMAKE_SYSTEM_PROCESSOR}` is unknown")
+ message(STATUS "Please add this value near ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE}")
+endif()
+
+if(UNIX)
+ list(APPEND PLATFORM_LIBS pthread)
+ find_library(LIBRT rt)
+ if(LIBRT)
+ list(APPEND PLATFORM_LIBS rt)
+ endif()
+ find_package(Numa)
+ if(NUMA_FOUND)
+ list(APPEND CMAKE_REQUIRED_LIBRARIES ${NUMA_LIBRARY})
+ check_symbol_exists(numa_node_of_cpu numa.h NUMA_V2)
+ if(NUMA_V2)
+ add_definitions(-DHAVE_LIBNUMA)
+ message(STATUS "libnuma found, building with support for NUMA nodes")
+ list(APPEND PLATFORM_LIBS ${NUMA_LIBRARY})
+ link_directories(${NUMA_LIBRARY_DIR})
+ include_directories(${NUMA_INCLUDE_DIR})
+ endif()
+ endif()
+ mark_as_advanced(LIBRT NUMA_FOUND)
+endif(UNIX)
+
+if(X64 AND NOT WIN32)
+ option(ENABLE_PIC "Enable Position Independent Code" ON)
+else()
+ option(ENABLE_PIC "Enable Position Independent Code" OFF)
+endif(X64 AND NOT WIN32)
+
+# Compiler detection
+if(CMAKE_GENERATOR STREQUAL "Xcode")
+ set(XCODE 1)
+endif()
+if (APPLE)
+ add_definitions(-DMACOS)
+endif()
+
+
+
+ MIME types defined: text/x-cmake
.
+
+
diff --git a/public/vendor/codemirror/mode/cobol/cobol.js b/public/vendor/codemirror/mode/cobol/cobol.js
new file mode 100755
index 00000000..897022b1
--- /dev/null
+++ b/public/vendor/codemirror/mode/cobol/cobol.js
@@ -0,0 +1,255 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+/**
+ * Author: Gautam Mehta
+ * Branched from CodeMirror's Scheme mode
+ */
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+"use strict";
+
+CodeMirror.defineMode("cobol", function () {
+ var BUILTIN = "builtin", COMMENT = "comment", STRING = "string",
+ ATOM = "atom", NUMBER = "number", KEYWORD = "keyword", MODTAG = "header",
+ COBOLLINENUM = "def", PERIOD = "link";
+ function makeKeywords(str) {
+ var obj = {}, words = str.split(" ");
+ for (var i = 0; i < words.length; ++i) obj[words[i]] = true;
+ return obj;
+ }
+ var atoms = makeKeywords("TRUE FALSE ZEROES ZEROS ZERO SPACES SPACE LOW-VALUE LOW-VALUES ");
+ var keywords = makeKeywords(
+ "ACCEPT ACCESS ACQUIRE ADD ADDRESS " +
+ "ADVANCING AFTER ALIAS ALL ALPHABET " +
+ "ALPHABETIC ALPHABETIC-LOWER ALPHABETIC-UPPER ALPHANUMERIC ALPHANUMERIC-EDITED " +
+ "ALSO ALTER ALTERNATE AND ANY " +
+ "ARE AREA AREAS ARITHMETIC ASCENDING " +
+ "ASSIGN AT ATTRIBUTE AUTHOR AUTO " +
+ "AUTO-SKIP AUTOMATIC B-AND B-EXOR B-LESS " +
+ "B-NOT B-OR BACKGROUND-COLOR BACKGROUND-COLOUR BEEP " +
+ "BEFORE BELL BINARY BIT BITS " +
+ "BLANK BLINK BLOCK BOOLEAN BOTTOM " +
+ "BY CALL CANCEL CD CF " +
+ "CH CHARACTER CHARACTERS CLASS CLOCK-UNITS " +
+ "CLOSE COBOL CODE CODE-SET COL " +
+ "COLLATING COLUMN COMMA COMMIT COMMITMENT " +
+ "COMMON COMMUNICATION COMP COMP-0 COMP-1 " +
+ "COMP-2 COMP-3 COMP-4 COMP-5 COMP-6 " +
+ "COMP-7 COMP-8 COMP-9 COMPUTATIONAL COMPUTATIONAL-0 " +
+ "COMPUTATIONAL-1 COMPUTATIONAL-2 COMPUTATIONAL-3 COMPUTATIONAL-4 COMPUTATIONAL-5 " +
+ "COMPUTATIONAL-6 COMPUTATIONAL-7 COMPUTATIONAL-8 COMPUTATIONAL-9 COMPUTE " +
+ "CONFIGURATION CONNECT CONSOLE CONTAINED CONTAINS " +
+ "CONTENT CONTINUE CONTROL CONTROL-AREA CONTROLS " +
+ "CONVERTING COPY CORR CORRESPONDING COUNT " +
+ "CRT CRT-UNDER CURRENCY CURRENT CURSOR " +
+ "DATA DATE DATE-COMPILED DATE-WRITTEN DAY " +
+ "DAY-OF-WEEK DB DB-ACCESS-CONTROL-KEY DB-DATA-NAME DB-EXCEPTION " +
+ "DB-FORMAT-NAME DB-RECORD-NAME DB-SET-NAME DB-STATUS DBCS " +
+ "DBCS-EDITED DE DEBUG-CONTENTS DEBUG-ITEM DEBUG-LINE " +
+ "DEBUG-NAME DEBUG-SUB-1 DEBUG-SUB-2 DEBUG-SUB-3 DEBUGGING " +
+ "DECIMAL-POINT DECLARATIVES DEFAULT DELETE DELIMITED " +
+ "DELIMITER DEPENDING DESCENDING DESCRIBED DESTINATION " +
+ "DETAIL DISABLE DISCONNECT DISPLAY DISPLAY-1 " +
+ "DISPLAY-2 DISPLAY-3 DISPLAY-4 DISPLAY-5 DISPLAY-6 " +
+ "DISPLAY-7 DISPLAY-8 DISPLAY-9 DIVIDE DIVISION " +
+ "DOWN DROP DUPLICATE DUPLICATES DYNAMIC " +
+ "EBCDIC EGI EJECT ELSE EMI " +
+ "EMPTY EMPTY-CHECK ENABLE END END. END-ACCEPT END-ACCEPT. " +
+ "END-ADD END-CALL END-COMPUTE END-DELETE END-DISPLAY " +
+ "END-DIVIDE END-EVALUATE END-IF END-INVOKE END-MULTIPLY " +
+ "END-OF-PAGE END-PERFORM END-READ END-RECEIVE END-RETURN " +
+ "END-REWRITE END-SEARCH END-START END-STRING END-SUBTRACT " +
+ "END-UNSTRING END-WRITE END-XML ENTER ENTRY " +
+ "ENVIRONMENT EOP EQUAL EQUALS ERASE " +
+ "ERROR ESI EVALUATE EVERY EXCEEDS " +
+ "EXCEPTION EXCLUSIVE EXIT EXTEND EXTERNAL " +
+ "EXTERNALLY-DESCRIBED-KEY FD FETCH FILE FILE-CONTROL " +
+ "FILE-STREAM FILES FILLER FINAL FIND " +
+ "FINISH FIRST FOOTING FOR FOREGROUND-COLOR " +
+ "FOREGROUND-COLOUR FORMAT FREE FROM FULL " +
+ "FUNCTION GENERATE GET GIVING GLOBAL " +
+ "GO GOBACK GREATER GROUP HEADING " +
+ "HIGH-VALUE HIGH-VALUES HIGHLIGHT I-O I-O-CONTROL " +
+ "ID IDENTIFICATION IF IN INDEX " +
+ "INDEX-1 INDEX-2 INDEX-3 INDEX-4 INDEX-5 " +
+ "INDEX-6 INDEX-7 INDEX-8 INDEX-9 INDEXED " +
+ "INDIC INDICATE INDICATOR INDICATORS INITIAL " +
+ "INITIALIZE INITIATE INPUT INPUT-OUTPUT INSPECT " +
+ "INSTALLATION INTO INVALID INVOKE IS " +
+ "JUST JUSTIFIED KANJI KEEP KEY " +
+ "LABEL LAST LD LEADING LEFT " +
+ "LEFT-JUSTIFY LENGTH LENGTH-CHECK LESS LIBRARY " +
+ "LIKE LIMIT LIMITS LINAGE LINAGE-COUNTER " +
+ "LINE LINE-COUNTER LINES LINKAGE LOCAL-STORAGE " +
+ "LOCALE LOCALLY LOCK " +
+ "MEMBER MEMORY MERGE MESSAGE METACLASS " +
+ "MODE MODIFIED MODIFY MODULES MOVE " +
+ "MULTIPLE MULTIPLY NATIONAL NATIVE NEGATIVE " +
+ "NEXT NO NO-ECHO NONE NOT " +
+ "NULL NULL-KEY-MAP NULL-MAP NULLS NUMBER " +
+ "NUMERIC NUMERIC-EDITED OBJECT OBJECT-COMPUTER OCCURS " +
+ "OF OFF OMITTED ON ONLY " +
+ "OPEN OPTIONAL OR ORDER ORGANIZATION " +
+ "OTHER OUTPUT OVERFLOW OWNER PACKED-DECIMAL " +
+ "PADDING PAGE PAGE-COUNTER PARSE PERFORM " +
+ "PF PH PIC PICTURE PLUS " +
+ "POINTER POSITION POSITIVE PREFIX PRESENT " +
+ "PRINTING PRIOR PROCEDURE PROCEDURE-POINTER PROCEDURES " +
+ "PROCEED PROCESS PROCESSING PROGRAM PROGRAM-ID " +
+ "PROMPT PROTECTED PURGE QUEUE QUOTE " +
+ "QUOTES RANDOM RD READ READY " +
+ "REALM RECEIVE RECONNECT RECORD RECORD-NAME " +
+ "RECORDS RECURSIVE REDEFINES REEL REFERENCE " +
+ "REFERENCE-MONITOR REFERENCES RELATION RELATIVE RELEASE " +
+ "REMAINDER REMOVAL RENAMES REPEATED REPLACE " +
+ "REPLACING REPORT REPORTING REPORTS REPOSITORY " +
+ "REQUIRED RERUN RESERVE RESET RETAINING " +
+ "RETRIEVAL RETURN RETURN-CODE RETURNING REVERSE-VIDEO " +
+ "REVERSED REWIND REWRITE RF RH " +
+ "RIGHT RIGHT-JUSTIFY ROLLBACK ROLLING ROUNDED " +
+ "RUN SAME SCREEN SD SEARCH " +
+ "SECTION SECURE SECURITY SEGMENT SEGMENT-LIMIT " +
+ "SELECT SEND SENTENCE SEPARATE SEQUENCE " +
+ "SEQUENTIAL SET SHARED SIGN SIZE " +
+ "SKIP1 SKIP2 SKIP3 SORT SORT-MERGE " +
+ "SORT-RETURN SOURCE SOURCE-COMPUTER SPACE-FILL " +
+ "SPECIAL-NAMES STANDARD STANDARD-1 STANDARD-2 " +
+ "START STARTING STATUS STOP STORE " +
+ "STRING SUB-QUEUE-1 SUB-QUEUE-2 SUB-QUEUE-3 SUB-SCHEMA " +
+ "SUBFILE SUBSTITUTE SUBTRACT SUM SUPPRESS " +
+ "SYMBOLIC SYNC SYNCHRONIZED SYSIN SYSOUT " +
+ "TABLE TALLYING TAPE TENANT TERMINAL " +
+ "TERMINATE TEST TEXT THAN THEN " +
+ "THROUGH THRU TIME TIMES TITLE " +
+ "TO TOP TRAILING TRAILING-SIGN TRANSACTION " +
+ "TYPE TYPEDEF UNDERLINE UNEQUAL UNIT " +
+ "UNSTRING UNTIL UP UPDATE UPON " +
+ "USAGE USAGE-MODE USE USING VALID " +
+ "VALIDATE VALUE VALUES VARYING VLR " +
+ "WAIT WHEN WHEN-COMPILED WITH WITHIN " +
+ "WORDS WORKING-STORAGE WRITE XML XML-CODE " +
+ "XML-EVENT XML-NTEXT XML-TEXT ZERO ZERO-FILL " );
+
+ var builtins = makeKeywords("- * ** / + < <= = > >= ");
+ var tests = {
+ digit: /\d/,
+ digit_or_colon: /[\d:]/,
+ hex: /[0-9a-f]/i,
+ sign: /[+-]/,
+ exponent: /e/i,
+ keyword_char: /[^\s\(\[\;\)\]]/,
+ symbol: /[\w*+\-]/
+ };
+ function isNumber(ch, stream){
+ // hex
+ if ( ch === '0' && stream.eat(/x/i) ) {
+ stream.eatWhile(tests.hex);
+ return true;
+ }
+ // leading sign
+ if ( ( ch == '+' || ch == '-' ) && ( tests.digit.test(stream.peek()) ) ) {
+ stream.eat(tests.sign);
+ ch = stream.next();
+ }
+ if ( tests.digit.test(ch) ) {
+ stream.eat(ch);
+ stream.eatWhile(tests.digit);
+ if ( '.' == stream.peek()) {
+ stream.eat('.');
+ stream.eatWhile(tests.digit);
+ }
+ if ( stream.eat(tests.exponent) ) {
+ stream.eat(tests.sign);
+ stream.eatWhile(tests.digit);
+ }
+ return true;
+ }
+ return false;
+ }
+ return {
+ startState: function () {
+ return {
+ indentStack: null,
+ indentation: 0,
+ mode: false
+ };
+ },
+ token: function (stream, state) {
+ if (state.indentStack == null && stream.sol()) {
+ // update indentation, but only if indentStack is empty
+ state.indentation = 6 ; //stream.indentation();
+ }
+ // skip spaces
+ if (stream.eatSpace()) {
+ return null;
+ }
+ var returnType = null;
+ switch(state.mode){
+ case "string": // multi-line string parsing mode
+ var next = false;
+ while ((next = stream.next()) != null) {
+ if (next == "\"" || next == "\'") {
+ state.mode = false;
+ break;
+ }
+ }
+ returnType = STRING; // continue on in string mode
+ break;
+ default: // default parsing mode
+ var ch = stream.next();
+ var col = stream.column();
+ if (col >= 0 && col <= 5) {
+ returnType = COBOLLINENUM;
+ } else if (col >= 72 && col <= 79) {
+ stream.skipToEnd();
+ returnType = MODTAG;
+ } else if (ch == "*" && col == 6) { // comment
+ stream.skipToEnd(); // rest of the line is a comment
+ returnType = COMMENT;
+ } else if (ch == "\"" || ch == "\'") {
+ state.mode = "string";
+ returnType = STRING;
+ } else if (ch == "'" && !( tests.digit_or_colon.test(stream.peek()) )) {
+ returnType = ATOM;
+ } else if (ch == ".") {
+ returnType = PERIOD;
+ } else if (isNumber(ch,stream)){
+ returnType = NUMBER;
+ } else {
+ if (stream.current().match(tests.symbol)) {
+ while (col < 71) {
+ if (stream.eat(tests.symbol) === undefined) {
+ break;
+ } else {
+ col++;
+ }
+ }
+ }
+ if (keywords && keywords.propertyIsEnumerable(stream.current().toUpperCase())) {
+ returnType = KEYWORD;
+ } else if (builtins && builtins.propertyIsEnumerable(stream.current().toUpperCase())) {
+ returnType = BUILTIN;
+ } else if (atoms && atoms.propertyIsEnumerable(stream.current().toUpperCase())) {
+ returnType = ATOM;
+ } else returnType = null;
+ }
+ }
+ return returnType;
+ },
+ indent: function (state) {
+ if (state.indentStack == null) return state.indentation;
+ return state.indentStack.indent;
+ }
+ };
+});
+
+CodeMirror.defineMIME("text/x-cobol", "cobol");
+
+});
diff --git a/public/vendor/codemirror/mode/cobol/index.html b/public/vendor/codemirror/mode/cobol/index.html
new file mode 100755
index 00000000..4352419a
--- /dev/null
+++ b/public/vendor/codemirror/mode/cobol/index.html
@@ -0,0 +1,210 @@
+
+
+CodeMirror: COBOL mode
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+COBOL mode
+
+ Select Theme
+ default
+ ambiance
+ blackboard
+ cobalt
+ eclipse
+ elegant
+ erlang-dark
+ lesser-dark
+ midnight
+ monokai
+ neat
+ night
+ rubyblue
+ solarized dark
+ solarized light
+ twilight
+ vibrant-ink
+ xq-dark
+ xq-light
+ Select Font Size
+ 13px
+ 14px
+ 16px
+ 18px
+ 20px
+ 24px
+ 26px
+ 28px
+ 30px
+ 32px
+ 34px
+ 36px
+
+Read-only
+
+Insert Spaces on Tab
+
+
+
+---------1---------2---------3---------4---------5---------6---------7---------8
+12345678911234567892123456789312345678941234567895123456789612345678971234567898
+000010 IDENTIFICATION DIVISION. MODTGHERE
+000020 PROGRAM-ID. SAMPLE.
+000030 AUTHOR. TEST SAM.
+000040 DATE-WRITTEN. 5 February 2013
+000041
+000042* A sample program just to show the form.
+000043* The program copies its input to the output,
+000044* and counts the number of records.
+000045* At the end this number is printed.
+000046
+000050 ENVIRONMENT DIVISION.
+000060 INPUT-OUTPUT SECTION.
+000070 FILE-CONTROL.
+000080 SELECT STUDENT-FILE ASSIGN TO SYSIN
+000090 ORGANIZATION IS LINE SEQUENTIAL.
+000100 SELECT PRINT-FILE ASSIGN TO SYSOUT
+000110 ORGANIZATION IS LINE SEQUENTIAL.
+000120
+000130 DATA DIVISION.
+000140 FILE SECTION.
+000150 FD STUDENT-FILE
+000160 RECORD CONTAINS 43 CHARACTERS
+000170 DATA RECORD IS STUDENT-IN.
+000180 01 STUDENT-IN PIC X(43).
+000190
+000200 FD PRINT-FILE
+000210 RECORD CONTAINS 80 CHARACTERS
+000220 DATA RECORD IS PRINT-LINE.
+000230 01 PRINT-LINE PIC X(80).
+000240
+000250 WORKING-STORAGE SECTION.
+000260 01 DATA-REMAINS-SWITCH PIC X(2) VALUE SPACES.
+000261 01 RECORDS-WRITTEN PIC 99.
+000270
+000280 01 DETAIL-LINE.
+000290 05 FILLER PIC X(7) VALUE SPACES.
+000300 05 RECORD-IMAGE PIC X(43).
+000310 05 FILLER PIC X(30) VALUE SPACES.
+000311
+000312 01 SUMMARY-LINE.
+000313 05 FILLER PIC X(7) VALUE SPACES.
+000314 05 TOTAL-READ PIC 99.
+000315 05 FILLER PIC X VALUE SPACE.
+000316 05 FILLER PIC X(17)
+000317 VALUE 'Records were read'.
+000318 05 FILLER PIC X(53) VALUE SPACES.
+000319
+000320 PROCEDURE DIVISION.
+000321
+000330 PREPARE-SENIOR-REPORT.
+000340 OPEN INPUT STUDENT-FILE
+000350 OUTPUT PRINT-FILE.
+000351 MOVE ZERO TO RECORDS-WRITTEN.
+000360 READ STUDENT-FILE
+000370 AT END MOVE 'NO' TO DATA-REMAINS-SWITCH
+000380 END-READ.
+000390 PERFORM PROCESS-RECORDS
+000410 UNTIL DATA-REMAINS-SWITCH = 'NO'.
+000411 PERFORM PRINT-SUMMARY.
+000420 CLOSE STUDENT-FILE
+000430 PRINT-FILE.
+000440 STOP RUN.
+000450
+000460 PROCESS-RECORDS.
+000470 MOVE STUDENT-IN TO RECORD-IMAGE.
+000480 MOVE DETAIL-LINE TO PRINT-LINE.
+000490 WRITE PRINT-LINE.
+000500 ADD 1 TO RECORDS-WRITTEN.
+000510 READ STUDENT-FILE
+000520 AT END MOVE 'NO' TO DATA-REMAINS-SWITCH
+000530 END-READ.
+000540
+000550 PRINT-SUMMARY.
+000560 MOVE RECORDS-WRITTEN TO TOTAL-READ.
+000570 MOVE SUMMARY-LINE TO PRINT-LINE.
+000571 WRITE PRINT-LINE.
+000572
+000580
+
+
+
diff --git a/public/vendor/codemirror/mode/coffeescript/coffeescript.js b/public/vendor/codemirror/mode/coffeescript/coffeescript.js
new file mode 100755
index 00000000..da0eb2d5
--- /dev/null
+++ b/public/vendor/codemirror/mode/coffeescript/coffeescript.js
@@ -0,0 +1,369 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+/**
+ * Link to the project's GitHub page:
+ * https://github.com/pickhardt/coffeescript-codemirror-mode
+ */
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+"use strict";
+
+CodeMirror.defineMode("coffeescript", function(conf, parserConf) {
+ var ERRORCLASS = "error";
+
+ function wordRegexp(words) {
+ return new RegExp("^((" + words.join(")|(") + "))\\b");
+ }
+
+ var operators = /^(?:->|=>|\+[+=]?|-[\-=]?|\*[\*=]?|\/[\/=]?|[=!]=|<[><]?=?|>>?=?|%=?|&=?|\|=?|\^=?|\~|!|\?|(or|and|\|\||&&|\?)=)/;
+ var delimiters = /^(?:[()\[\]{},:`=;]|\.\.?\.?)/;
+ var identifiers = /^[_A-Za-z$][_A-Za-z$0-9]*/;
+ var properties = /^(@|this\.)[_A-Za-z$][_A-Za-z$0-9]*/;
+
+ var wordOperators = wordRegexp(["and", "or", "not",
+ "is", "isnt", "in",
+ "instanceof", "typeof"]);
+ var indentKeywords = ["for", "while", "loop", "if", "unless", "else",
+ "switch", "try", "catch", "finally", "class"];
+ var commonKeywords = ["break", "by", "continue", "debugger", "delete",
+ "do", "in", "of", "new", "return", "then",
+ "this", "@", "throw", "when", "until", "extends"];
+
+ var keywords = wordRegexp(indentKeywords.concat(commonKeywords));
+
+ indentKeywords = wordRegexp(indentKeywords);
+
+
+ var stringPrefixes = /^('{3}|\"{3}|['\"])/;
+ var regexPrefixes = /^(\/{3}|\/)/;
+ var commonConstants = ["Infinity", "NaN", "undefined", "null", "true", "false", "on", "off", "yes", "no"];
+ var constants = wordRegexp(commonConstants);
+
+ // Tokenizers
+ function tokenBase(stream, state) {
+ // Handle scope changes
+ if (stream.sol()) {
+ if (state.scope.align === null) state.scope.align = false;
+ var scopeOffset = state.scope.offset;
+ if (stream.eatSpace()) {
+ var lineOffset = stream.indentation();
+ if (lineOffset > scopeOffset && state.scope.type == "coffee") {
+ return "indent";
+ } else if (lineOffset < scopeOffset) {
+ return "dedent";
+ }
+ return null;
+ } else {
+ if (scopeOffset > 0) {
+ dedent(stream, state);
+ }
+ }
+ }
+ if (stream.eatSpace()) {
+ return null;
+ }
+
+ var ch = stream.peek();
+
+ // Handle docco title comment (single line)
+ if (stream.match("####")) {
+ stream.skipToEnd();
+ return "comment";
+ }
+
+ // Handle multi line comments
+ if (stream.match("###")) {
+ state.tokenize = longComment;
+ return state.tokenize(stream, state);
+ }
+
+ // Single line comment
+ if (ch === "#") {
+ stream.skipToEnd();
+ return "comment";
+ }
+
+ // Handle number literals
+ if (stream.match(/^-?[0-9\.]/, false)) {
+ var floatLiteral = false;
+ // Floats
+ if (stream.match(/^-?\d*\.\d+(e[\+\-]?\d+)?/i)) {
+ floatLiteral = true;
+ }
+ if (stream.match(/^-?\d+\.\d*/)) {
+ floatLiteral = true;
+ }
+ if (stream.match(/^-?\.\d+/)) {
+ floatLiteral = true;
+ }
+
+ if (floatLiteral) {
+ // prevent from getting extra . on 1..
+ if (stream.peek() == "."){
+ stream.backUp(1);
+ }
+ return "number";
+ }
+ // Integers
+ var intLiteral = false;
+ // Hex
+ if (stream.match(/^-?0x[0-9a-f]+/i)) {
+ intLiteral = true;
+ }
+ // Decimal
+ if (stream.match(/^-?[1-9]\d*(e[\+\-]?\d+)?/)) {
+ intLiteral = true;
+ }
+ // Zero by itself with no other piece of number.
+ if (stream.match(/^-?0(?![\dx])/i)) {
+ intLiteral = true;
+ }
+ if (intLiteral) {
+ return "number";
+ }
+ }
+
+ // Handle strings
+ if (stream.match(stringPrefixes)) {
+ state.tokenize = tokenFactory(stream.current(), false, "string");
+ return state.tokenize(stream, state);
+ }
+ // Handle regex literals
+ if (stream.match(regexPrefixes)) {
+ if (stream.current() != "/" || stream.match(/^.*\//, false)) { // prevent highlight of division
+ state.tokenize = tokenFactory(stream.current(), true, "string-2");
+ return state.tokenize(stream, state);
+ } else {
+ stream.backUp(1);
+ }
+ }
+
+ // Handle operators and delimiters
+ if (stream.match(operators) || stream.match(wordOperators)) {
+ return "operator";
+ }
+ if (stream.match(delimiters)) {
+ return "punctuation";
+ }
+
+ if (stream.match(constants)) {
+ return "atom";
+ }
+
+ if (stream.match(keywords)) {
+ return "keyword";
+ }
+
+ if (stream.match(identifiers)) {
+ return "variable";
+ }
+
+ if (stream.match(properties)) {
+ return "property";
+ }
+
+ // Handle non-detected items
+ stream.next();
+ return ERRORCLASS;
+ }
+
+ function tokenFactory(delimiter, singleline, outclass) {
+ return function(stream, state) {
+ while (!stream.eol()) {
+ stream.eatWhile(/[^'"\/\\]/);
+ if (stream.eat("\\")) {
+ stream.next();
+ if (singleline && stream.eol()) {
+ return outclass;
+ }
+ } else if (stream.match(delimiter)) {
+ state.tokenize = tokenBase;
+ return outclass;
+ } else {
+ stream.eat(/['"\/]/);
+ }
+ }
+ if (singleline) {
+ if (parserConf.singleLineStringErrors) {
+ outclass = ERRORCLASS;
+ } else {
+ state.tokenize = tokenBase;
+ }
+ }
+ return outclass;
+ };
+ }
+
+ function longComment(stream, state) {
+ while (!stream.eol()) {
+ stream.eatWhile(/[^#]/);
+ if (stream.match("###")) {
+ state.tokenize = tokenBase;
+ break;
+ }
+ stream.eatWhile("#");
+ }
+ return "comment";
+ }
+
+ function indent(stream, state, type) {
+ type = type || "coffee";
+ var offset = 0, align = false, alignOffset = null;
+ for (var scope = state.scope; scope; scope = scope.prev) {
+ if (scope.type === "coffee" || scope.type == "}") {
+ offset = scope.offset + conf.indentUnit;
+ break;
+ }
+ }
+ if (type !== "coffee") {
+ align = null;
+ alignOffset = stream.column() + stream.current().length;
+ } else if (state.scope.align) {
+ state.scope.align = false;
+ }
+ state.scope = {
+ offset: offset,
+ type: type,
+ prev: state.scope,
+ align: align,
+ alignOffset: alignOffset
+ };
+ }
+
+ function dedent(stream, state) {
+ if (!state.scope.prev) return;
+ if (state.scope.type === "coffee") {
+ var _indent = stream.indentation();
+ var matched = false;
+ for (var scope = state.scope; scope; scope = scope.prev) {
+ if (_indent === scope.offset) {
+ matched = true;
+ break;
+ }
+ }
+ if (!matched) {
+ return true;
+ }
+ while (state.scope.prev && state.scope.offset !== _indent) {
+ state.scope = state.scope.prev;
+ }
+ return false;
+ } else {
+ state.scope = state.scope.prev;
+ return false;
+ }
+ }
+
+ function tokenLexer(stream, state) {
+ var style = state.tokenize(stream, state);
+ var current = stream.current();
+
+ // Handle "." connected identifiers
+ if (current === ".") {
+ style = state.tokenize(stream, state);
+ current = stream.current();
+ if (/^\.[\w$]+$/.test(current)) {
+ return "variable";
+ } else {
+ return ERRORCLASS;
+ }
+ }
+
+ // Handle scope changes.
+ if (current === "return") {
+ state.dedent = true;
+ }
+ if (((current === "->" || current === "=>") &&
+ !state.lambda &&
+ !stream.peek())
+ || style === "indent") {
+ indent(stream, state);
+ }
+ var delimiter_index = "[({".indexOf(current);
+ if (delimiter_index !== -1) {
+ indent(stream, state, "])}".slice(delimiter_index, delimiter_index+1));
+ }
+ if (indentKeywords.exec(current)){
+ indent(stream, state);
+ }
+ if (current == "then"){
+ dedent(stream, state);
+ }
+
+
+ if (style === "dedent") {
+ if (dedent(stream, state)) {
+ return ERRORCLASS;
+ }
+ }
+ delimiter_index = "])}".indexOf(current);
+ if (delimiter_index !== -1) {
+ while (state.scope.type == "coffee" && state.scope.prev)
+ state.scope = state.scope.prev;
+ if (state.scope.type == current)
+ state.scope = state.scope.prev;
+ }
+ if (state.dedent && stream.eol()) {
+ if (state.scope.type == "coffee" && state.scope.prev)
+ state.scope = state.scope.prev;
+ state.dedent = false;
+ }
+
+ return style;
+ }
+
+ var external = {
+ startState: function(basecolumn) {
+ return {
+ tokenize: tokenBase,
+ scope: {offset:basecolumn || 0, type:"coffee", prev: null, align: false},
+ lastToken: null,
+ lambda: false,
+ dedent: 0
+ };
+ },
+
+ token: function(stream, state) {
+ var fillAlign = state.scope.align === null && state.scope;
+ if (fillAlign && stream.sol()) fillAlign.align = false;
+
+ var style = tokenLexer(stream, state);
+ if (fillAlign && style && style != "comment") fillAlign.align = true;
+
+ state.lastToken = {style:style, content: stream.current()};
+
+ if (stream.eol() && stream.lambda) {
+ state.lambda = false;
+ }
+
+ return style;
+ },
+
+ indent: function(state, text) {
+ if (state.tokenize != tokenBase) return 0;
+ var scope = state.scope;
+ var closer = text && "])}".indexOf(text.charAt(0)) > -1;
+ if (closer) while (scope.type == "coffee" && scope.prev) scope = scope.prev;
+ var closes = closer && scope.type === text.charAt(0);
+ if (scope.align)
+ return scope.alignOffset - (closes ? 1 : 0);
+ else
+ return (closes ? scope.prev : scope).offset;
+ },
+
+ lineComment: "#",
+ fold: "indent"
+ };
+ return external;
+});
+
+CodeMirror.defineMIME("text/x-coffeescript", "coffeescript");
+
+});
diff --git a/public/vendor/codemirror/mode/coffeescript/index.html b/public/vendor/codemirror/mode/coffeescript/index.html
new file mode 100755
index 00000000..93a5f4f3
--- /dev/null
+++ b/public/vendor/codemirror/mode/coffeescript/index.html
@@ -0,0 +1,740 @@
+
+
+CodeMirror: CoffeeScript mode
+
+
+
+
+
+
+
+
+
+
+CoffeeScript mode
+
+# CoffeeScript mode for CodeMirror
+# Copyright (c) 2011 Jeff Pickhardt, released under
+# the MIT License.
+#
+# Modified from the Python CodeMirror mode, which also is
+# under the MIT License Copyright (c) 2010 Timothy Farrell.
+#
+# The following script, Underscore.coffee, is used to
+# demonstrate CoffeeScript mode for CodeMirror.
+#
+# To download CoffeeScript mode for CodeMirror, go to:
+# https://github.com/pickhardt/coffeescript-codemirror-mode
+
+# **Underscore.coffee
+# (c) 2011 Jeremy Ashkenas, DocumentCloud Inc.**
+# Underscore is freely distributable under the terms of the
+# [MIT license](http://en.wikipedia.org/wiki/MIT_License).
+# Portions of Underscore are inspired by or borrowed from
+# [Prototype.js](http://prototypejs.org/api), Oliver Steele's
+# [Functional](http://osteele.com), and John Resig's
+# [Micro-Templating](http://ejohn.org).
+# For all details and documentation:
+# http://documentcloud.github.com/underscore/
+
+
+# Baseline setup
+# --------------
+
+# Establish the root object, `window` in the browser, or `global` on the server.
+root = this
+
+
+# Save the previous value of the `_` variable.
+previousUnderscore = root._
+
+### Multiline
+ comment
+###
+
+# Establish the object that gets thrown to break out of a loop iteration.
+# `StopIteration` is SOP on Mozilla.
+breaker = if typeof(StopIteration) is 'undefined' then '__break__' else StopIteration
+
+
+#### Docco style single line comment (title)
+
+
+# Helper function to escape **RegExp** contents, because JS doesn't have one.
+escapeRegExp = (string) -> string.replace(/([.*+?^${}()|[\]\/\\])/g, '\\$1')
+
+
+# Save bytes in the minified (but not gzipped) version:
+ArrayProto = Array.prototype
+ObjProto = Object.prototype
+
+
+# Create quick reference variables for speed access to core prototypes.
+slice = ArrayProto.slice
+unshift = ArrayProto.unshift
+toString = ObjProto.toString
+hasOwnProperty = ObjProto.hasOwnProperty
+propertyIsEnumerable = ObjProto.propertyIsEnumerable
+
+
+# All **ECMA5** native implementations we hope to use are declared here.
+nativeForEach = ArrayProto.forEach
+nativeMap = ArrayProto.map
+nativeReduce = ArrayProto.reduce
+nativeReduceRight = ArrayProto.reduceRight
+nativeFilter = ArrayProto.filter
+nativeEvery = ArrayProto.every
+nativeSome = ArrayProto.some
+nativeIndexOf = ArrayProto.indexOf
+nativeLastIndexOf = ArrayProto.lastIndexOf
+nativeIsArray = Array.isArray
+nativeKeys = Object.keys
+
+
+# Create a safe reference to the Underscore object for use below.
+_ = (obj) -> new wrapper(obj)
+
+
+# Export the Underscore object for **CommonJS**.
+if typeof(exports) != 'undefined' then exports._ = _
+
+
+# Export Underscore to global scope.
+root._ = _
+
+
+# Current version.
+_.VERSION = '1.1.0'
+
+
+# Collection Functions
+# --------------------
+
+# The cornerstone, an **each** implementation.
+# Handles objects implementing **forEach**, arrays, and raw objects.
+_.each = (obj, iterator, context) ->
+ try
+ if nativeForEach and obj.forEach is nativeForEach
+ obj.forEach iterator, context
+ else if _.isNumber obj.length
+ iterator.call context, obj[i], i, obj for i in [0...obj.length]
+ else
+ iterator.call context, val, key, obj for own key, val of obj
+ catch e
+ throw e if e isnt breaker
+ obj
+
+
+# Return the results of applying the iterator to each element. Use JavaScript
+# 1.6's version of **map**, if possible.
+_.map = (obj, iterator, context) ->
+ return obj.map(iterator, context) if nativeMap and obj.map is nativeMap
+ results = []
+ _.each obj, (value, index, list) ->
+ results.push iterator.call context, value, index, list
+ results
+
+
+# **Reduce** builds up a single result from a list of values. Also known as
+# **inject**, or **foldl**. Uses JavaScript 1.8's version of **reduce**, if possible.
+_.reduce = (obj, iterator, memo, context) ->
+ if nativeReduce and obj.reduce is nativeReduce
+ iterator = _.bind iterator, context if context
+ return obj.reduce iterator, memo
+ _.each obj, (value, index, list) ->
+ memo = iterator.call context, memo, value, index, list
+ memo
+
+
+# The right-associative version of **reduce**, also known as **foldr**. Uses
+# JavaScript 1.8's version of **reduceRight**, if available.
+_.reduceRight = (obj, iterator, memo, context) ->
+ if nativeReduceRight and obj.reduceRight is nativeReduceRight
+ iterator = _.bind iterator, context if context
+ return obj.reduceRight iterator, memo
+ reversed = _.clone(_.toArray(obj)).reverse()
+ _.reduce reversed, iterator, memo, context
+
+
+# Return the first value which passes a truth test.
+_.detect = (obj, iterator, context) ->
+ result = null
+ _.each obj, (value, index, list) ->
+ if iterator.call context, value, index, list
+ result = value
+ _.breakLoop()
+ result
+
+
+# Return all the elements that pass a truth test. Use JavaScript 1.6's
+# **filter**, if it exists.
+_.filter = (obj, iterator, context) ->
+ return obj.filter iterator, context if nativeFilter and obj.filter is nativeFilter
+ results = []
+ _.each obj, (value, index, list) ->
+ results.push value if iterator.call context, value, index, list
+ results
+
+
+# Return all the elements for which a truth test fails.
+_.reject = (obj, iterator, context) ->
+ results = []
+ _.each obj, (value, index, list) ->
+ results.push value if not iterator.call context, value, index, list
+ results
+
+
+# Determine whether all of the elements match a truth test. Delegate to
+# JavaScript 1.6's **every**, if it is present.
+_.every = (obj, iterator, context) ->
+ iterator ||= _.identity
+ return obj.every iterator, context if nativeEvery and obj.every is nativeEvery
+ result = true
+ _.each obj, (value, index, list) ->
+ _.breakLoop() unless (result = result and iterator.call(context, value, index, list))
+ result
+
+
+# Determine if at least one element in the object matches a truth test. Use
+# JavaScript 1.6's **some**, if it exists.
+_.some = (obj, iterator, context) ->
+ iterator ||= _.identity
+ return obj.some iterator, context if nativeSome and obj.some is nativeSome
+ result = false
+ _.each obj, (value, index, list) ->
+ _.breakLoop() if (result = iterator.call(context, value, index, list))
+ result
+
+
+# Determine if a given value is included in the array or object,
+# based on `===`.
+_.include = (obj, target) ->
+ return _.indexOf(obj, target) isnt -1 if nativeIndexOf and obj.indexOf is nativeIndexOf
+ return true for own key, val of obj when val is target
+ false
+
+
+# Invoke a method with arguments on every item in a collection.
+_.invoke = (obj, method) ->
+ args = _.rest arguments, 2
+ (if method then val[method] else val).apply(val, args) for val in obj
+
+
+# Convenience version of a common use case of **map**: fetching a property.
+_.pluck = (obj, key) ->
+ _.map(obj, (val) -> val[key])
+
+
+# Return the maximum item or (item-based computation).
+_.max = (obj, iterator, context) ->
+ return Math.max.apply(Math, obj) if not iterator and _.isArray(obj)
+ result = computed: -Infinity
+ _.each obj, (value, index, list) ->
+ computed = if iterator then iterator.call(context, value, index, list) else value
+ computed >= result.computed and (result = {value: value, computed: computed})
+ result.value
+
+
+# Return the minimum element (or element-based computation).
+_.min = (obj, iterator, context) ->
+ return Math.min.apply(Math, obj) if not iterator and _.isArray(obj)
+ result = computed: Infinity
+ _.each obj, (value, index, list) ->
+ computed = if iterator then iterator.call(context, value, index, list) else value
+ computed < result.computed and (result = {value: value, computed: computed})
+ result.value
+
+
+# Sort the object's values by a criterion produced by an iterator.
+_.sortBy = (obj, iterator, context) ->
+ _.pluck(((_.map obj, (value, index, list) ->
+ {value: value, criteria: iterator.call(context, value, index, list)}
+ ).sort((left, right) ->
+ a = left.criteria; b = right.criteria
+ if a < b then -1 else if a > b then 1 else 0
+ )), 'value')
+
+
+# Use a comparator function to figure out at what index an object should
+# be inserted so as to maintain order. Uses binary search.
+_.sortedIndex = (array, obj, iterator) ->
+ iterator ||= _.identity
+ low = 0
+ high = array.length
+ while low < high
+ mid = (low + high) >> 1
+ if iterator(array[mid]) < iterator(obj) then low = mid + 1 else high = mid
+ low
+
+
+# Convert anything iterable into a real, live array.
+_.toArray = (iterable) ->
+ return [] if (!iterable)
+ return iterable.toArray() if (iterable.toArray)
+ return iterable if (_.isArray(iterable))
+ return slice.call(iterable) if (_.isArguments(iterable))
+ _.values(iterable)
+
+
+# Return the number of elements in an object.
+_.size = (obj) -> _.toArray(obj).length
+
+
+# Array Functions
+# ---------------
+
+# Get the first element of an array. Passing `n` will return the first N
+# values in the array. Aliased as **head**. The `guard` check allows it to work
+# with **map**.
+_.first = (array, n, guard) ->
+ if n and not guard then slice.call(array, 0, n) else array[0]
+
+
+# Returns everything but the first entry of the array. Aliased as **tail**.
+# Especially useful on the arguments object. Passing an `index` will return
+# the rest of the values in the array from that index onward. The `guard`
+# check allows it to work with **map**.
+_.rest = (array, index, guard) ->
+ slice.call(array, if _.isUndefined(index) or guard then 1 else index)
+
+
+# Get the last element of an array.
+_.last = (array) -> array[array.length - 1]
+
+
+# Trim out all falsy values from an array.
+_.compact = (array) -> item for item in array when item
+
+
+# Return a completely flattened version of an array.
+_.flatten = (array) ->
+ _.reduce array, (memo, value) ->
+ return memo.concat(_.flatten(value)) if _.isArray value
+ memo.push value
+ memo
+ , []
+
+
+# Return a version of the array that does not contain the specified value(s).
+_.without = (array) ->
+ values = _.rest arguments
+ val for val in _.toArray(array) when not _.include values, val
+
+
+# Produce a duplicate-free version of the array. If the array has already
+# been sorted, you have the option of using a faster algorithm.
+_.uniq = (array, isSorted) ->
+ memo = []
+ for el, i in _.toArray array
+ memo.push el if i is 0 || (if isSorted is true then _.last(memo) isnt el else not _.include(memo, el))
+ memo
+
+
+# Produce an array that contains every item shared between all the
+# passed-in arrays.
+_.intersect = (array) ->
+ rest = _.rest arguments
+ _.select _.uniq(array), (item) ->
+ _.all rest, (other) ->
+ _.indexOf(other, item) >= 0
+
+
+# Zip together multiple lists into a single array -- elements that share
+# an index go together.
+_.zip = ->
+ length = _.max _.pluck arguments, 'length'
+ results = new Array length
+ for i in [0...length]
+ results[i] = _.pluck arguments, String i
+ results
+
+
+# If the browser doesn't supply us with **indexOf** (I'm looking at you, MSIE),
+# we need this function. Return the position of the first occurrence of an
+# item in an array, or -1 if the item is not included in the array.
+_.indexOf = (array, item) ->
+ return array.indexOf item if nativeIndexOf and array.indexOf is nativeIndexOf
+ i = 0; l = array.length
+ while l - i
+ if array[i] is item then return i else i++
+ -1
+
+
+# Provide JavaScript 1.6's **lastIndexOf**, delegating to the native function,
+# if possible.
+_.lastIndexOf = (array, item) ->
+ return array.lastIndexOf(item) if nativeLastIndexOf and array.lastIndexOf is nativeLastIndexOf
+ i = array.length
+ while i
+ if array[i] is item then return i else i--
+ -1
+
+
+# Generate an integer Array containing an arithmetic progression. A port of
+# [the native Python **range** function](http://docs.python.org/library/functions.html#range).
+_.range = (start, stop, step) ->
+ a = arguments
+ solo = a.length <= 1
+ i = start = if solo then 0 else a[0]
+ stop = if solo then a[0] else a[1]
+ step = a[2] or 1
+ len = Math.ceil((stop - start) / step)
+ return [] if len <= 0
+ range = new Array len
+ idx = 0
+ loop
+ return range if (if step > 0 then i - stop else stop - i) >= 0
+ range[idx] = i
+ idx++
+ i+= step
+
+
+# Function Functions
+# ------------------
+
+# Create a function bound to a given object (assigning `this`, and arguments,
+# optionally). Binding with arguments is also known as **curry**.
+_.bind = (func, obj) ->
+ args = _.rest arguments, 2
+ -> func.apply obj or root, args.concat arguments
+
+
+# Bind all of an object's methods to that object. Useful for ensuring that
+# all callbacks defined on an object belong to it.
+_.bindAll = (obj) ->
+ funcs = if arguments.length > 1 then _.rest(arguments) else _.functions(obj)
+ _.each funcs, (f) -> obj[f] = _.bind obj[f], obj
+ obj
+
+
+# Delays a function for the given number of milliseconds, and then calls
+# it with the arguments supplied.
+_.delay = (func, wait) ->
+ args = _.rest arguments, 2
+ setTimeout((-> func.apply(func, args)), wait)
+
+
+# Memoize an expensive function by storing its results.
+_.memoize = (func, hasher) ->
+ memo = {}
+ hasher or= _.identity
+ ->
+ key = hasher.apply this, arguments
+ return memo[key] if key of memo
+ memo[key] = func.apply this, arguments
+
+
+# Defers a function, scheduling it to run after the current call stack has
+# cleared.
+_.defer = (func) ->
+ _.delay.apply _, [func, 1].concat _.rest arguments
+
+
+# Returns the first function passed as an argument to the second,
+# allowing you to adjust arguments, run code before and after, and
+# conditionally execute the original function.
+_.wrap = (func, wrapper) ->
+ -> wrapper.apply wrapper, [func].concat arguments
+
+
+# Returns a function that is the composition of a list of functions, each
+# consuming the return value of the function that follows.
+_.compose = ->
+ funcs = arguments
+ ->
+ args = arguments
+ for i in [funcs.length - 1..0] by -1
+ args = [funcs[i].apply(this, args)]
+ args[0]
+
+
+# Object Functions
+# ----------------
+
+# Retrieve the names of an object's properties.
+_.keys = nativeKeys or (obj) ->
+ return _.range 0, obj.length if _.isArray(obj)
+ key for key, val of obj
+
+
+# Retrieve the values of an object's properties.
+_.values = (obj) ->
+ _.map obj, _.identity
+
+
+# Return a sorted list of the function names available in Underscore.
+_.functions = (obj) ->
+ _.filter(_.keys(obj), (key) -> _.isFunction(obj[key])).sort()
+
+
+# Extend a given object with all of the properties in a source object.
+_.extend = (obj) ->
+ for source in _.rest(arguments)
+ obj[key] = val for key, val of source
+ obj
+
+
+# Create a (shallow-cloned) duplicate of an object.
+_.clone = (obj) ->
+ return obj.slice 0 if _.isArray obj
+ _.extend {}, obj
+
+
+# Invokes interceptor with the obj, and then returns obj.
+# The primary purpose of this method is to "tap into" a method chain,
+# in order to perform operations on intermediate results within
+ the chain.
+_.tap = (obj, interceptor) ->
+ interceptor obj
+ obj
+
+
+# Perform a deep comparison to check if two objects are equal.
+_.isEqual = (a, b) ->
+ # Check object identity.
+ return true if a is b
+ # Different types?
+ atype = typeof(a); btype = typeof(b)
+ return false if atype isnt btype
+ # Basic equality test (watch out for coercions).
+ return true if `a == b`
+ # One is falsy and the other truthy.
+ return false if (!a and b) or (a and !b)
+ # One of them implements an `isEqual()`?
+ return a.isEqual(b) if a.isEqual
+ # Check dates' integer values.
+ return a.getTime() is b.getTime() if _.isDate(a) and _.isDate(b)
+ # Both are NaN?
+ return false if _.isNaN(a) and _.isNaN(b)
+ # Compare regular expressions.
+ if _.isRegExp(a) and _.isRegExp(b)
+ return a.source is b.source and
+ a.global is b.global and
+ a.ignoreCase is b.ignoreCase and
+ a.multiline is b.multiline
+ # If a is not an object by this point, we can't handle it.
+ return false if atype isnt 'object'
+ # Check for different array lengths before comparing contents.
+ return false if a.length and (a.length isnt b.length)
+ # Nothing else worked, deep compare the contents.
+ aKeys = _.keys(a); bKeys = _.keys(b)
+ # Different object sizes?
+ return false if aKeys.length isnt bKeys.length
+ # Recursive comparison of contents.
+ return false for key, val of a when !(key of b) or !_.isEqual(val, b[key])
+ true
+
+
+# Is a given array or object empty?
+_.isEmpty = (obj) ->
+ return obj.length is 0 if _.isArray(obj) or _.isString(obj)
+ return false for own key of obj
+ true
+
+
+# Is a given value a DOM element?
+_.isElement = (obj) -> obj and obj.nodeType is 1
+
+
+# Is a given value an array?
+_.isArray = nativeIsArray or (obj) -> !!(obj and obj.concat and obj.unshift and not obj.callee)
+
+
+# Is a given variable an arguments object?
+_.isArguments = (obj) -> obj and obj.callee
+
+
+# Is the given value a function?
+_.isFunction = (obj) -> !!(obj and obj.constructor and obj.call and obj.apply)
+
+
+# Is the given value a string?
+_.isString = (obj) -> !!(obj is '' or (obj and obj.charCodeAt and obj.substr))
+
+
+# Is a given value a number?
+_.isNumber = (obj) -> (obj is +obj) or toString.call(obj) is '[object Number]'
+
+
+# Is a given value a boolean?
+_.isBoolean = (obj) -> obj is true or obj is false
+
+
+# Is a given value a Date?
+_.isDate = (obj) -> !!(obj and obj.getTimezoneOffset and obj.setUTCFullYear)
+
+
+# Is the given value a regular expression?
+_.isRegExp = (obj) -> !!(obj and obj.exec and (obj.ignoreCase or obj.ignoreCase is false))
+
+
+# Is the given value NaN -- this one is interesting. `NaN != NaN`, and
+# `isNaN(undefined) == true`, so we make sure it's a number first.
+_.isNaN = (obj) -> _.isNumber(obj) and window.isNaN(obj)
+
+
+# Is a given value equal to null?
+_.isNull = (obj) -> obj is null
+
+
+# Is a given variable undefined?
+_.isUndefined = (obj) -> typeof obj is 'undefined'
+
+
+# Utility Functions
+# -----------------
+
+# Run Underscore.js in noConflict mode, returning the `_` variable to its
+# previous owner. Returns a reference to the Underscore object.
+_.noConflict = ->
+ root._ = previousUnderscore
+ this
+
+
+# Keep the identity function around for default iterators.
+_.identity = (value) -> value
+
+
+# Run a function `n` times.
+_.times = (n, iterator, context) ->
+ iterator.call context, i for i in [0...n]
+
+
+# Break out of the middle of an iteration.
+_.breakLoop = -> throw breaker
+
+
+# Add your own custom functions to the Underscore object, ensuring that
+# they're correctly added to the OOP wrapper as well.
+_.mixin = (obj) ->
+ for name in _.functions(obj)
+ addToWrapper name, _[name] = obj[name]
+
+
+# Generate a unique integer id (unique within the entire client session).
+# Useful for temporary DOM ids.
+idCounter = 0
+_.uniqueId = (prefix) ->
+ (prefix or '') + idCounter++
+
+
+# By default, Underscore uses **ERB**-style template delimiters, change the
+# following template settings to use alternative delimiters.
+_.templateSettings = {
+ start: '<%'
+ end: '%>'
+ interpolate: /<%=(.+?)%>/g
+}
+
+
+# JavaScript templating a-la **ERB**, pilfered from John Resig's
+# *Secrets of the JavaScript Ninja*, page 83.
+# Single-quote fix from Rick Strahl.
+# With alterations for arbitrary delimiters, and to preserve whitespace.
+_.template = (str, data) ->
+ c = _.templateSettings
+ endMatch = new RegExp("'(?=[^"+c.end.substr(0, 1)+"]*"+escapeRegExp(c.end)+")","g")
+ fn = new Function 'obj',
+ 'var p=[],print=function(){p.push.apply(p,arguments);};' +
+ 'with(obj||{}){p.push(\'' +
+ str.replace(/\r/g, '\\r')
+ .replace(/\n/g, '\\n')
+ .replace(/\t/g, '\\t')
+ .replace(endMatch,"���")
+ .split("'").join("\\'")
+ .split("���").join("'")
+ .replace(c.interpolate, "',$1,'")
+ .split(c.start).join("');")
+ .split(c.end).join("p.push('") +
+ "');}return p.join('');"
+ if data then fn(data) else fn
+
+
+# Aliases
+# -------
+
+_.forEach = _.each
+_.foldl = _.inject = _.reduce
+_.foldr = _.reduceRight
+_.select = _.filter
+_.all = _.every
+_.any = _.some
+_.contains = _.include
+_.head = _.first
+_.tail = _.rest
+_.methods = _.functions
+
+
+# Setup the OOP Wrapper
+# ---------------------
+
+# If Underscore is called as a function, it returns a wrapped object that
+# can be used OO-style. This wrapper holds altered versions of all the
+# underscore functions. Wrapped objects may be chained.
+wrapper = (obj) ->
+ this._wrapped = obj
+ this
+
+
+# Helper function to continue chaining intermediate results.
+result = (obj, chain) ->
+ if chain then _(obj).chain() else obj
+
+
+# A method to easily add functions to the OOP wrapper.
+addToWrapper = (name, func) ->
+ wrapper.prototype[name] = ->
+ args = _.toArray arguments
+ unshift.call args, this._wrapped
+ result func.apply(_, args), this._chain
+
+
+# Add all ofthe Underscore functions to the wrapper object.
+_.mixin _
+
+
+# Add all mutator Array functions to the wrapper.
+_.each ['pop', 'push', 'reverse', 'shift', 'sort', 'splice', 'unshift'], (name) ->
+ method = Array.prototype[name]
+ wrapper.prototype[name] = ->
+ method.apply(this._wrapped, arguments)
+ result(this._wrapped, this._chain)
+
+
+# Add all accessor Array functions to the wrapper.
+_.each ['concat', 'join', 'slice'], (name) ->
+ method = Array.prototype[name]
+ wrapper.prototype[name] = ->
+ result(method.apply(this._wrapped, arguments), this._chain)
+
+
+# Start chaining a wrapped Underscore object.
+wrapper::chain = ->
+ this._chain = true
+ this
+
+
+# Extracts the result from a wrapped and chained object.
+wrapper::value = -> this._wrapped
+
+
+
+ MIME types defined: text/x-coffeescript
.
+
+ The CoffeeScript mode was written by Jeff Pickhardt.
+
+
diff --git a/public/vendor/codemirror/mode/commonlisp/commonlisp.js b/public/vendor/codemirror/mode/commonlisp/commonlisp.js
new file mode 100755
index 00000000..fb1f99c6
--- /dev/null
+++ b/public/vendor/codemirror/mode/commonlisp/commonlisp.js
@@ -0,0 +1,123 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+"use strict";
+
+CodeMirror.defineMode("commonlisp", function (config) {
+ var specialForm = /^(block|let*|return-from|catch|load-time-value|setq|eval-when|locally|symbol-macrolet|flet|macrolet|tagbody|function|multiple-value-call|the|go|multiple-value-prog1|throw|if|progn|unwind-protect|labels|progv|let|quote)$/;
+ var assumeBody = /^with|^def|^do|^prog|case$|^cond$|bind$|when$|unless$/;
+ var numLiteral = /^(?:[+\-]?(?:\d+|\d*\.\d+)(?:[efd][+\-]?\d+)?|[+\-]?\d+(?:\/[+\-]?\d+)?|#b[+\-]?[01]+|#o[+\-]?[0-7]+|#x[+\-]?[\da-f]+)/;
+ var symbol = /[^\s'`,@()\[\]";]/;
+ var type;
+
+ function readSym(stream) {
+ var ch;
+ while (ch = stream.next()) {
+ if (ch == "\\") stream.next();
+ else if (!symbol.test(ch)) { stream.backUp(1); break; }
+ }
+ return stream.current();
+ }
+
+ function base(stream, state) {
+ if (stream.eatSpace()) {type = "ws"; return null;}
+ if (stream.match(numLiteral)) return "number";
+ var ch = stream.next();
+ if (ch == "\\") ch = stream.next();
+
+ if (ch == '"') return (state.tokenize = inString)(stream, state);
+ else if (ch == "(") { type = "open"; return "bracket"; }
+ else if (ch == ")" || ch == "]") { type = "close"; return "bracket"; }
+ else if (ch == ";") { stream.skipToEnd(); type = "ws"; return "comment"; }
+ else if (/['`,@]/.test(ch)) return null;
+ else if (ch == "|") {
+ if (stream.skipTo("|")) { stream.next(); return "symbol"; }
+ else { stream.skipToEnd(); return "error"; }
+ } else if (ch == "#") {
+ var ch = stream.next();
+ if (ch == "[") { type = "open"; return "bracket"; }
+ else if (/[+\-=\.']/.test(ch)) return null;
+ else if (/\d/.test(ch) && stream.match(/^\d*#/)) return null;
+ else if (ch == "|") return (state.tokenize = inComment)(stream, state);
+ else if (ch == ":") { readSym(stream); return "meta"; }
+ else return "error";
+ } else {
+ var name = readSym(stream);
+ if (name == ".") return null;
+ type = "symbol";
+ if (name == "nil" || name == "t" || name.charAt(0) == ":") return "atom";
+ if (state.lastType == "open" && (specialForm.test(name) || assumeBody.test(name))) return "keyword";
+ if (name.charAt(0) == "&") return "variable-2";
+ return "variable";
+ }
+ }
+
+ function inString(stream, state) {
+ var escaped = false, next;
+ while (next = stream.next()) {
+ if (next == '"' && !escaped) { state.tokenize = base; break; }
+ escaped = !escaped && next == "\\";
+ }
+ return "string";
+ }
+
+ function inComment(stream, state) {
+ var next, last;
+ while (next = stream.next()) {
+ if (next == "#" && last == "|") { state.tokenize = base; break; }
+ last = next;
+ }
+ type = "ws";
+ return "comment";
+ }
+
+ return {
+ startState: function () {
+ return {ctx: {prev: null, start: 0, indentTo: 0}, lastType: null, tokenize: base};
+ },
+
+ token: function (stream, state) {
+ if (stream.sol() && typeof state.ctx.indentTo != "number")
+ state.ctx.indentTo = state.ctx.start + 1;
+
+ type = null;
+ var style = state.tokenize(stream, state);
+ if (type != "ws") {
+ if (state.ctx.indentTo == null) {
+ if (type == "symbol" && assumeBody.test(stream.current()))
+ state.ctx.indentTo = state.ctx.start + config.indentUnit;
+ else
+ state.ctx.indentTo = "next";
+ } else if (state.ctx.indentTo == "next") {
+ state.ctx.indentTo = stream.column();
+ }
+ state.lastType = type;
+ }
+ if (type == "open") state.ctx = {prev: state.ctx, start: stream.column(), indentTo: null};
+ else if (type == "close") state.ctx = state.ctx.prev || state.ctx;
+ return style;
+ },
+
+ indent: function (state, _textAfter) {
+ var i = state.ctx.indentTo;
+ return typeof i == "number" ? i : state.ctx.start + 1;
+ },
+
+ closeBrackets: {pairs: "()[]{}\"\""},
+ lineComment: ";;",
+ blockCommentStart: "#|",
+ blockCommentEnd: "|#"
+ };
+});
+
+CodeMirror.defineMIME("text/x-common-lisp", "commonlisp");
+
+});
diff --git a/public/vendor/codemirror/mode/commonlisp/index.html b/public/vendor/codemirror/mode/commonlisp/index.html
new file mode 100755
index 00000000..f2bf4522
--- /dev/null
+++ b/public/vendor/codemirror/mode/commonlisp/index.html
@@ -0,0 +1,177 @@
+
+
+CodeMirror: Common Lisp mode
+
+
+
+
+
+
+
+
+
+
+Common Lisp mode
+(in-package :cl-postgres)
+
+;; These are used to synthesize reader and writer names for integer
+;; reading/writing functions when the amount of bytes and the
+;; signedness is known. Both the macro that creates the functions and
+;; some macros that use them create names this way.
+(eval-when (:compile-toplevel :load-toplevel :execute)
+ (defun integer-reader-name (bytes signed)
+ (intern (with-standard-io-syntax
+ (format nil "~a~a~a~a" '#:read- (if signed "" '#:u) '#:int bytes))))
+ (defun integer-writer-name (bytes signed)
+ (intern (with-standard-io-syntax
+ (format nil "~a~a~a~a" '#:write- (if signed "" '#:u) '#:int bytes)))))
+
+(defmacro integer-reader (bytes)
+ "Create a function to read integers from a binary stream."
+ (let ((bits (* bytes 8)))
+ (labels ((return-form (signed)
+ (if signed
+ `(if (logbitp ,(1- bits) result)
+ (dpb result (byte ,(1- bits) 0) -1)
+ result)
+ `result))
+ (generate-reader (signed)
+ `(defun ,(integer-reader-name bytes signed) (socket)
+ (declare (type stream socket)
+ #.*optimize*)
+ ,(if (= bytes 1)
+ `(let ((result (the (unsigned-byte 8) (read-byte socket))))
+ (declare (type (unsigned-byte 8) result))
+ ,(return-form signed))
+ `(let ((result 0))
+ (declare (type (unsigned-byte ,bits) result))
+ ,@(loop :for byte :from (1- bytes) :downto 0
+ :collect `(setf (ldb (byte 8 ,(* 8 byte)) result)
+ (the (unsigned-byte 8) (read-byte socket))))
+ ,(return-form signed))))))
+ `(progn
+;; This causes weird errors on SBCL in some circumstances. Disabled for now.
+;; (declaim (inline ,(integer-reader-name bytes t)
+;; ,(integer-reader-name bytes nil)))
+ (declaim (ftype (function (t) (signed-byte ,bits))
+ ,(integer-reader-name bytes t)))
+ ,(generate-reader t)
+ (declaim (ftype (function (t) (unsigned-byte ,bits))
+ ,(integer-reader-name bytes nil)))
+ ,(generate-reader nil)))))
+
+(defmacro integer-writer (bytes)
+ "Create a function to write integers to a binary stream."
+ (let ((bits (* 8 bytes)))
+ `(progn
+ (declaim (inline ,(integer-writer-name bytes t)
+ ,(integer-writer-name bytes nil)))
+ (defun ,(integer-writer-name bytes nil) (socket value)
+ (declare (type stream socket)
+ (type (unsigned-byte ,bits) value)
+ #.*optimize*)
+ ,@(if (= bytes 1)
+ `((write-byte value socket))
+ (loop :for byte :from (1- bytes) :downto 0
+ :collect `(write-byte (ldb (byte 8 ,(* byte 8)) value)
+ socket)))
+ (values))
+ (defun ,(integer-writer-name bytes t) (socket value)
+ (declare (type stream socket)
+ (type (signed-byte ,bits) value)
+ #.*optimize*)
+ ,@(if (= bytes 1)
+ `((write-byte (ldb (byte 8 0) value) socket))
+ (loop :for byte :from (1- bytes) :downto 0
+ :collect `(write-byte (ldb (byte 8 ,(* byte 8)) value)
+ socket)))
+ (values)))))
+
+;; All the instances of the above that we need.
+
+(integer-reader 1)
+(integer-reader 2)
+(integer-reader 4)
+(integer-reader 8)
+
+(integer-writer 1)
+(integer-writer 2)
+(integer-writer 4)
+
+(defun write-bytes (socket bytes)
+ "Write a byte-array to a stream."
+ (declare (type stream socket)
+ (type (simple-array (unsigned-byte 8)) bytes)
+ #.*optimize*)
+ (write-sequence bytes socket))
+
+(defun write-str (socket string)
+ "Write a null-terminated string to a stream \(encoding it when UTF-8
+support is enabled.)."
+ (declare (type stream socket)
+ (type string string)
+ #.*optimize*)
+ (enc-write-string string socket)
+ (write-uint1 socket 0))
+
+(declaim (ftype (function (t unsigned-byte)
+ (simple-array (unsigned-byte 8) (*)))
+ read-bytes))
+(defun read-bytes (socket length)
+ "Read a byte array of the given length from a stream."
+ (declare (type stream socket)
+ (type fixnum length)
+ #.*optimize*)
+ (let ((result (make-array length :element-type '(unsigned-byte 8))))
+ (read-sequence result socket)
+ result))
+
+(declaim (ftype (function (t) string) read-str))
+(defun read-str (socket)
+ "Read a null-terminated string from a stream. Takes care of encoding
+when UTF-8 support is enabled."
+ (declare (type stream socket)
+ #.*optimize*)
+ (enc-read-string socket :null-terminated t))
+
+(defun skip-bytes (socket length)
+ "Skip a given number of bytes in a binary stream."
+ (declare (type stream socket)
+ (type (unsigned-byte 32) length)
+ #.*optimize*)
+ (dotimes (i length)
+ (read-byte socket)))
+
+(defun skip-str (socket)
+ "Skip a null-terminated string."
+ (declare (type stream socket)
+ #.*optimize*)
+ (loop :for char :of-type fixnum = (read-byte socket)
+ :until (zerop char)))
+
+(defun ensure-socket-is-closed (socket &key abort)
+ (when (open-stream-p socket)
+ (handler-case
+ (close socket :abort abort)
+ (error (error)
+ (warn "Ignoring the error which happened while trying to close PostgreSQL socket: ~A" error)))))
+
+
+
+ MIME types defined: text/x-common-lisp
.
+
+
diff --git a/public/vendor/codemirror/mode/css/css.js b/public/vendor/codemirror/mode/css/css.js
new file mode 100755
index 00000000..7fc9098f
--- /dev/null
+++ b/public/vendor/codemirror/mode/css/css.js
@@ -0,0 +1,769 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+"use strict";
+
+CodeMirror.defineMode("css", function(config, parserConfig) {
+ if (!parserConfig.propertyKeywords) parserConfig = CodeMirror.resolveMode("text/css");
+
+ var indentUnit = config.indentUnit,
+ tokenHooks = parserConfig.tokenHooks,
+ documentTypes = parserConfig.documentTypes || {},
+ mediaTypes = parserConfig.mediaTypes || {},
+ mediaFeatures = parserConfig.mediaFeatures || {},
+ propertyKeywords = parserConfig.propertyKeywords || {},
+ nonStandardPropertyKeywords = parserConfig.nonStandardPropertyKeywords || {},
+ fontProperties = parserConfig.fontProperties || {},
+ counterDescriptors = parserConfig.counterDescriptors || {},
+ colorKeywords = parserConfig.colorKeywords || {},
+ valueKeywords = parserConfig.valueKeywords || {},
+ allowNested = parserConfig.allowNested;
+
+ var type, override;
+ function ret(style, tp) { type = tp; return style; }
+
+ // Tokenizers
+
+ function tokenBase(stream, state) {
+ var ch = stream.next();
+ if (tokenHooks[ch]) {
+ var result = tokenHooks[ch](stream, state);
+ if (result !== false) return result;
+ }
+ if (ch == "@") {
+ stream.eatWhile(/[\w\\\-]/);
+ return ret("def", stream.current());
+ } else if (ch == "=" || (ch == "~" || ch == "|") && stream.eat("=")) {
+ return ret(null, "compare");
+ } else if (ch == "\"" || ch == "'") {
+ state.tokenize = tokenString(ch);
+ return state.tokenize(stream, state);
+ } else if (ch == "#") {
+ stream.eatWhile(/[\w\\\-]/);
+ return ret("atom", "hash");
+ } else if (ch == "!") {
+ stream.match(/^\s*\w*/);
+ return ret("keyword", "important");
+ } else if (/\d/.test(ch) || ch == "." && stream.eat(/\d/)) {
+ stream.eatWhile(/[\w.%]/);
+ return ret("number", "unit");
+ } else if (ch === "-") {
+ if (/[\d.]/.test(stream.peek())) {
+ stream.eatWhile(/[\w.%]/);
+ return ret("number", "unit");
+ } else if (stream.match(/^-[\w\\\-]+/)) {
+ stream.eatWhile(/[\w\\\-]/);
+ if (stream.match(/^\s*:/, false))
+ return ret("variable-2", "variable-definition");
+ return ret("variable-2", "variable");
+ } else if (stream.match(/^\w+-/)) {
+ return ret("meta", "meta");
+ }
+ } else if (/[,+>*\/]/.test(ch)) {
+ return ret(null, "select-op");
+ } else if (ch == "." && stream.match(/^-?[_a-z][_a-z0-9-]*/i)) {
+ return ret("qualifier", "qualifier");
+ } else if (/[:;{}\[\]\(\)]/.test(ch)) {
+ return ret(null, ch);
+ } else if ((ch == "u" && stream.match(/rl(-prefix)?\(/)) ||
+ (ch == "d" && stream.match("omain(")) ||
+ (ch == "r" && stream.match("egexp("))) {
+ stream.backUp(1);
+ state.tokenize = tokenParenthesized;
+ return ret("property", "word");
+ } else if (/[\w\\\-]/.test(ch)) {
+ stream.eatWhile(/[\w\\\-]/);
+ return ret("property", "word");
+ } else {
+ return ret(null, null);
+ }
+ }
+
+ function tokenString(quote) {
+ return function(stream, state) {
+ var escaped = false, ch;
+ while ((ch = stream.next()) != null) {
+ if (ch == quote && !escaped) {
+ if (quote == ")") stream.backUp(1);
+ break;
+ }
+ escaped = !escaped && ch == "\\";
+ }
+ if (ch == quote || !escaped && quote != ")") state.tokenize = null;
+ return ret("string", "string");
+ };
+ }
+
+ function tokenParenthesized(stream, state) {
+ stream.next(); // Must be '('
+ if (!stream.match(/\s*[\"\')]/, false))
+ state.tokenize = tokenString(")");
+ else
+ state.tokenize = null;
+ return ret(null, "(");
+ }
+
+ // Context management
+
+ function Context(type, indent, prev) {
+ this.type = type;
+ this.indent = indent;
+ this.prev = prev;
+ }
+
+ function pushContext(state, stream, type) {
+ state.context = new Context(type, stream.indentation() + indentUnit, state.context);
+ return type;
+ }
+
+ function popContext(state) {
+ state.context = state.context.prev;
+ return state.context.type;
+ }
+
+ function pass(type, stream, state) {
+ return states[state.context.type](type, stream, state);
+ }
+ function popAndPass(type, stream, state, n) {
+ for (var i = n || 1; i > 0; i--)
+ state.context = state.context.prev;
+ return pass(type, stream, state);
+ }
+
+ // Parser
+
+ function wordAsValue(stream) {
+ var word = stream.current().toLowerCase();
+ if (valueKeywords.hasOwnProperty(word))
+ override = "atom";
+ else if (colorKeywords.hasOwnProperty(word))
+ override = "keyword";
+ else
+ override = "variable";
+ }
+
+ var states = {};
+
+ states.top = function(type, stream, state) {
+ if (type == "{") {
+ return pushContext(state, stream, "block");
+ } else if (type == "}" && state.context.prev) {
+ return popContext(state);
+ } else if (/@(media|supports|(-moz-)?document)/.test(type)) {
+ return pushContext(state, stream, "atBlock");
+ } else if (/@(font-face|counter-style)/.test(type)) {
+ state.stateArg = type;
+ return "restricted_atBlock_before";
+ } else if (/^@(-(moz|ms|o|webkit)-)?keyframes$/.test(type)) {
+ return "keyframes";
+ } else if (type && type.charAt(0) == "@") {
+ return pushContext(state, stream, "at");
+ } else if (type == "hash") {
+ override = "builtin";
+ } else if (type == "word") {
+ override = "tag";
+ } else if (type == "variable-definition") {
+ return "maybeprop";
+ } else if (type == "interpolation") {
+ return pushContext(state, stream, "interpolation");
+ } else if (type == ":") {
+ return "pseudo";
+ } else if (allowNested && type == "(") {
+ return pushContext(state, stream, "parens");
+ }
+ return state.context.type;
+ };
+
+ states.block = function(type, stream, state) {
+ if (type == "word") {
+ var word = stream.current().toLowerCase();
+ if (propertyKeywords.hasOwnProperty(word)) {
+ override = "property";
+ return "maybeprop";
+ } else if (nonStandardPropertyKeywords.hasOwnProperty(word)) {
+ override = "string-2";
+ return "maybeprop";
+ } else if (allowNested) {
+ override = stream.match(/^\s*:(?:\s|$)/, false) ? "property" : "tag";
+ return "block";
+ } else {
+ override += " error";
+ return "maybeprop";
+ }
+ } else if (type == "meta") {
+ return "block";
+ } else if (!allowNested && (type == "hash" || type == "qualifier")) {
+ override = "error";
+ return "block";
+ } else {
+ return states.top(type, stream, state);
+ }
+ };
+
+ states.maybeprop = function(type, stream, state) {
+ if (type == ":") return pushContext(state, stream, "prop");
+ return pass(type, stream, state);
+ };
+
+ states.prop = function(type, stream, state) {
+ if (type == ";") return popContext(state);
+ if (type == "{" && allowNested) return pushContext(state, stream, "propBlock");
+ if (type == "}" || type == "{") return popAndPass(type, stream, state);
+ if (type == "(") return pushContext(state, stream, "parens");
+
+ if (type == "hash" && !/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(stream.current())) {
+ override += " error";
+ } else if (type == "word") {
+ wordAsValue(stream);
+ } else if (type == "interpolation") {
+ return pushContext(state, stream, "interpolation");
+ }
+ return "prop";
+ };
+
+ states.propBlock = function(type, _stream, state) {
+ if (type == "}") return popContext(state);
+ if (type == "word") { override = "property"; return "maybeprop"; }
+ return state.context.type;
+ };
+
+ states.parens = function(type, stream, state) {
+ if (type == "{" || type == "}") return popAndPass(type, stream, state);
+ if (type == ")") return popContext(state);
+ if (type == "(") return pushContext(state, stream, "parens");
+ if (type == "interpolation") return pushContext(state, stream, "interpolation");
+ if (type == "word") wordAsValue(stream);
+ return "parens";
+ };
+
+ states.pseudo = function(type, stream, state) {
+ if (type == "word") {
+ override = "variable-3";
+ return state.context.type;
+ }
+ return pass(type, stream, state);
+ };
+
+ states.atBlock = function(type, stream, state) {
+ if (type == "(") return pushContext(state, stream, "atBlock_parens");
+ if (type == "}") return popAndPass(type, stream, state);
+ if (type == "{") return popContext(state) && pushContext(state, stream, allowNested ? "block" : "top");
+
+ if (type == "word") {
+ var word = stream.current().toLowerCase();
+ if (word == "only" || word == "not" || word == "and" || word == "or")
+ override = "keyword";
+ else if (documentTypes.hasOwnProperty(word))
+ override = "tag";
+ else if (mediaTypes.hasOwnProperty(word))
+ override = "attribute";
+ else if (mediaFeatures.hasOwnProperty(word))
+ override = "property";
+ else if (propertyKeywords.hasOwnProperty(word))
+ override = "property";
+ else if (nonStandardPropertyKeywords.hasOwnProperty(word))
+ override = "string-2";
+ else if (valueKeywords.hasOwnProperty(word))
+ override = "atom";
+ else
+ override = "error";
+ }
+ return state.context.type;
+ };
+
+ states.atBlock_parens = function(type, stream, state) {
+ if (type == ")") return popContext(state);
+ if (type == "{" || type == "}") return popAndPass(type, stream, state, 2);
+ return states.atBlock(type, stream, state);
+ };
+
+ states.restricted_atBlock_before = function(type, stream, state) {
+ if (type == "{")
+ return pushContext(state, stream, "restricted_atBlock");
+ if (type == "word" && state.stateArg == "@counter-style") {
+ override = "variable";
+ return "restricted_atBlock_before";
+ }
+ return pass(type, stream, state);
+ };
+
+ states.restricted_atBlock = function(type, stream, state) {
+ if (type == "}") {
+ state.stateArg = null;
+ return popContext(state);
+ }
+ if (type == "word") {
+ if ((state.stateArg == "@font-face" && !fontProperties.hasOwnProperty(stream.current().toLowerCase())) ||
+ (state.stateArg == "@counter-style" && !counterDescriptors.hasOwnProperty(stream.current().toLowerCase())))
+ override = "error";
+ else
+ override = "property";
+ return "maybeprop";
+ }
+ return "restricted_atBlock";
+ };
+
+ states.keyframes = function(type, stream, state) {
+ if (type == "word") { override = "variable"; return "keyframes"; }
+ if (type == "{") return pushContext(state, stream, "top");
+ return pass(type, stream, state);
+ };
+
+ states.at = function(type, stream, state) {
+ if (type == ";") return popContext(state);
+ if (type == "{" || type == "}") return popAndPass(type, stream, state);
+ if (type == "word") override = "tag";
+ else if (type == "hash") override = "builtin";
+ return "at";
+ };
+
+ states.interpolation = function(type, stream, state) {
+ if (type == "}") return popContext(state);
+ if (type == "{" || type == ";") return popAndPass(type, stream, state);
+ if (type == "word") override = "variable";
+ else if (type != "variable") override = "error";
+ return "interpolation";
+ };
+
+ return {
+ startState: function(base) {
+ return {tokenize: null,
+ state: "top",
+ stateArg: null,
+ context: new Context("top", base || 0, null)};
+ },
+
+ token: function(stream, state) {
+ if (!state.tokenize && stream.eatSpace()) return null;
+ var style = (state.tokenize || tokenBase)(stream, state);
+ if (style && typeof style == "object") {
+ type = style[1];
+ style = style[0];
+ }
+ override = style;
+ state.state = states[state.state](type, stream, state);
+ return override;
+ },
+
+ indent: function(state, textAfter) {
+ var cx = state.context, ch = textAfter && textAfter.charAt(0);
+ var indent = cx.indent;
+ if (cx.type == "prop" && (ch == "}" || ch == ")")) cx = cx.prev;
+ if (cx.prev &&
+ (ch == "}" && (cx.type == "block" || cx.type == "top" || cx.type == "interpolation" || cx.type == "restricted_atBlock") ||
+ ch == ")" && (cx.type == "parens" || cx.type == "atBlock_parens") ||
+ ch == "{" && (cx.type == "at" || cx.type == "atBlock"))) {
+ indent = cx.indent - indentUnit;
+ cx = cx.prev;
+ }
+ return indent;
+ },
+
+ electricChars: "}",
+ blockCommentStart: "/*",
+ blockCommentEnd: "*/",
+ fold: "brace"
+ };
+});
+
+ function keySet(array) {
+ var keys = {};
+ for (var i = 0; i < array.length; ++i) {
+ keys[array[i]] = true;
+ }
+ return keys;
+ }
+
+ var documentTypes_ = [
+ "domain", "regexp", "url", "url-prefix"
+ ], documentTypes = keySet(documentTypes_);
+
+ var mediaTypes_ = [
+ "all", "aural", "braille", "handheld", "print", "projection", "screen",
+ "tty", "tv", "embossed"
+ ], mediaTypes = keySet(mediaTypes_);
+
+ var mediaFeatures_ = [
+ "width", "min-width", "max-width", "height", "min-height", "max-height",
+ "device-width", "min-device-width", "max-device-width", "device-height",
+ "min-device-height", "max-device-height", "aspect-ratio",
+ "min-aspect-ratio", "max-aspect-ratio", "device-aspect-ratio",
+ "min-device-aspect-ratio", "max-device-aspect-ratio", "color", "min-color",
+ "max-color", "color-index", "min-color-index", "max-color-index",
+ "monochrome", "min-monochrome", "max-monochrome", "resolution",
+ "min-resolution", "max-resolution", "scan", "grid"
+ ], mediaFeatures = keySet(mediaFeatures_);
+
+ var propertyKeywords_ = [
+ "align-content", "align-items", "align-self", "alignment-adjust",
+ "alignment-baseline", "anchor-point", "animation", "animation-delay",
+ "animation-direction", "animation-duration", "animation-fill-mode",
+ "animation-iteration-count", "animation-name", "animation-play-state",
+ "animation-timing-function", "appearance", "azimuth", "backface-visibility",
+ "background", "background-attachment", "background-clip", "background-color",
+ "background-image", "background-origin", "background-position",
+ "background-repeat", "background-size", "baseline-shift", "binding",
+ "bleed", "bookmark-label", "bookmark-level", "bookmark-state",
+ "bookmark-target", "border", "border-bottom", "border-bottom-color",
+ "border-bottom-left-radius", "border-bottom-right-radius",
+ "border-bottom-style", "border-bottom-width", "border-collapse",
+ "border-color", "border-image", "border-image-outset",
+ "border-image-repeat", "border-image-slice", "border-image-source",
+ "border-image-width", "border-left", "border-left-color",
+ "border-left-style", "border-left-width", "border-radius", "border-right",
+ "border-right-color", "border-right-style", "border-right-width",
+ "border-spacing", "border-style", "border-top", "border-top-color",
+ "border-top-left-radius", "border-top-right-radius", "border-top-style",
+ "border-top-width", "border-width", "bottom", "box-decoration-break",
+ "box-shadow", "box-sizing", "break-after", "break-before", "break-inside",
+ "caption-side", "clear", "clip", "color", "color-profile", "column-count",
+ "column-fill", "column-gap", "column-rule", "column-rule-color",
+ "column-rule-style", "column-rule-width", "column-span", "column-width",
+ "columns", "content", "counter-increment", "counter-reset", "crop", "cue",
+ "cue-after", "cue-before", "cursor", "direction", "display",
+ "dominant-baseline", "drop-initial-after-adjust",
+ "drop-initial-after-align", "drop-initial-before-adjust",
+ "drop-initial-before-align", "drop-initial-size", "drop-initial-value",
+ "elevation", "empty-cells", "fit", "fit-position", "flex", "flex-basis",
+ "flex-direction", "flex-flow", "flex-grow", "flex-shrink", "flex-wrap",
+ "float", "float-offset", "flow-from", "flow-into", "font", "font-feature-settings",
+ "font-family", "font-kerning", "font-language-override", "font-size", "font-size-adjust",
+ "font-stretch", "font-style", "font-synthesis", "font-variant",
+ "font-variant-alternates", "font-variant-caps", "font-variant-east-asian",
+ "font-variant-ligatures", "font-variant-numeric", "font-variant-position",
+ "font-weight", "grid", "grid-area", "grid-auto-columns", "grid-auto-flow",
+ "grid-auto-position", "grid-auto-rows", "grid-column", "grid-column-end",
+ "grid-column-start", "grid-row", "grid-row-end", "grid-row-start",
+ "grid-template", "grid-template-areas", "grid-template-columns",
+ "grid-template-rows", "hanging-punctuation", "height", "hyphens",
+ "icon", "image-orientation", "image-rendering", "image-resolution",
+ "inline-box-align", "justify-content", "left", "letter-spacing",
+ "line-break", "line-height", "line-stacking", "line-stacking-ruby",
+ "line-stacking-shift", "line-stacking-strategy", "list-style",
+ "list-style-image", "list-style-position", "list-style-type", "margin",
+ "margin-bottom", "margin-left", "margin-right", "margin-top",
+ "marker-offset", "marks", "marquee-direction", "marquee-loop",
+ "marquee-play-count", "marquee-speed", "marquee-style", "max-height",
+ "max-width", "min-height", "min-width", "move-to", "nav-down", "nav-index",
+ "nav-left", "nav-right", "nav-up", "object-fit", "object-position",
+ "opacity", "order", "orphans", "outline",
+ "outline-color", "outline-offset", "outline-style", "outline-width",
+ "overflow", "overflow-style", "overflow-wrap", "overflow-x", "overflow-y",
+ "padding", "padding-bottom", "padding-left", "padding-right", "padding-top",
+ "page", "page-break-after", "page-break-before", "page-break-inside",
+ "page-policy", "pause", "pause-after", "pause-before", "perspective",
+ "perspective-origin", "pitch", "pitch-range", "play-during", "position",
+ "presentation-level", "punctuation-trim", "quotes", "region-break-after",
+ "region-break-before", "region-break-inside", "region-fragment",
+ "rendering-intent", "resize", "rest", "rest-after", "rest-before", "richness",
+ "right", "rotation", "rotation-point", "ruby-align", "ruby-overhang",
+ "ruby-position", "ruby-span", "shape-image-threshold", "shape-inside", "shape-margin",
+ "shape-outside", "size", "speak", "speak-as", "speak-header",
+ "speak-numeral", "speak-punctuation", "speech-rate", "stress", "string-set",
+ "tab-size", "table-layout", "target", "target-name", "target-new",
+ "target-position", "text-align", "text-align-last", "text-decoration",
+ "text-decoration-color", "text-decoration-line", "text-decoration-skip",
+ "text-decoration-style", "text-emphasis", "text-emphasis-color",
+ "text-emphasis-position", "text-emphasis-style", "text-height",
+ "text-indent", "text-justify", "text-outline", "text-overflow", "text-shadow",
+ "text-size-adjust", "text-space-collapse", "text-transform", "text-underline-position",
+ "text-wrap", "top", "transform", "transform-origin", "transform-style",
+ "transition", "transition-delay", "transition-duration",
+ "transition-property", "transition-timing-function", "unicode-bidi",
+ "vertical-align", "visibility", "voice-balance", "voice-duration",
+ "voice-family", "voice-pitch", "voice-range", "voice-rate", "voice-stress",
+ "voice-volume", "volume", "white-space", "widows", "width", "word-break",
+ "word-spacing", "word-wrap", "z-index",
+ // SVG-specific
+ "clip-path", "clip-rule", "mask", "enable-background", "filter", "flood-color",
+ "flood-opacity", "lighting-color", "stop-color", "stop-opacity", "pointer-events",
+ "color-interpolation", "color-interpolation-filters",
+ "color-rendering", "fill", "fill-opacity", "fill-rule", "image-rendering",
+ "marker", "marker-end", "marker-mid", "marker-start", "shape-rendering", "stroke",
+ "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin",
+ "stroke-miterlimit", "stroke-opacity", "stroke-width", "text-rendering",
+ "baseline-shift", "dominant-baseline", "glyph-orientation-horizontal",
+ "glyph-orientation-vertical", "text-anchor", "writing-mode"
+ ], propertyKeywords = keySet(propertyKeywords_);
+
+ var nonStandardPropertyKeywords_ = [
+ "scrollbar-arrow-color", "scrollbar-base-color", "scrollbar-dark-shadow-color",
+ "scrollbar-face-color", "scrollbar-highlight-color", "scrollbar-shadow-color",
+ "scrollbar-3d-light-color", "scrollbar-track-color", "shape-inside",
+ "searchfield-cancel-button", "searchfield-decoration", "searchfield-results-button",
+ "searchfield-results-decoration", "zoom"
+ ], nonStandardPropertyKeywords = keySet(nonStandardPropertyKeywords_);
+
+ var fontProperties_ = [
+ "font-family", "src", "unicode-range", "font-variant", "font-feature-settings",
+ "font-stretch", "font-weight", "font-style"
+ ], fontProperties = keySet(fontProperties_);
+
+ var counterDescriptors_ = [
+ "additive-symbols", "fallback", "negative", "pad", "prefix", "range",
+ "speak-as", "suffix", "symbols", "system"
+ ], counterDescriptors = keySet(counterDescriptors_);
+
+ var colorKeywords_ = [
+ "aliceblue", "antiquewhite", "aqua", "aquamarine", "azure", "beige",
+ "bisque", "black", "blanchedalmond", "blue", "blueviolet", "brown",
+ "burlywood", "cadetblue", "chartreuse", "chocolate", "coral", "cornflowerblue",
+ "cornsilk", "crimson", "cyan", "darkblue", "darkcyan", "darkgoldenrod",
+ "darkgray", "darkgreen", "darkkhaki", "darkmagenta", "darkolivegreen",
+ "darkorange", "darkorchid", "darkred", "darksalmon", "darkseagreen",
+ "darkslateblue", "darkslategray", "darkturquoise", "darkviolet",
+ "deeppink", "deepskyblue", "dimgray", "dodgerblue", "firebrick",
+ "floralwhite", "forestgreen", "fuchsia", "gainsboro", "ghostwhite",
+ "gold", "goldenrod", "gray", "grey", "green", "greenyellow", "honeydew",
+ "hotpink", "indianred", "indigo", "ivory", "khaki", "lavender",
+ "lavenderblush", "lawngreen", "lemonchiffon", "lightblue", "lightcoral",
+ "lightcyan", "lightgoldenrodyellow", "lightgray", "lightgreen", "lightpink",
+ "lightsalmon", "lightseagreen", "lightskyblue", "lightslategray",
+ "lightsteelblue", "lightyellow", "lime", "limegreen", "linen", "magenta",
+ "maroon", "mediumaquamarine", "mediumblue", "mediumorchid", "mediumpurple",
+ "mediumseagreen", "mediumslateblue", "mediumspringgreen", "mediumturquoise",
+ "mediumvioletred", "midnightblue", "mintcream", "mistyrose", "moccasin",
+ "navajowhite", "navy", "oldlace", "olive", "olivedrab", "orange", "orangered",
+ "orchid", "palegoldenrod", "palegreen", "paleturquoise", "palevioletred",
+ "papayawhip", "peachpuff", "peru", "pink", "plum", "powderblue",
+ "purple", "rebeccapurple", "red", "rosybrown", "royalblue", "saddlebrown",
+ "salmon", "sandybrown", "seagreen", "seashell", "sienna", "silver", "skyblue",
+ "slateblue", "slategray", "snow", "springgreen", "steelblue", "tan",
+ "teal", "thistle", "tomato", "turquoise", "violet", "wheat", "white",
+ "whitesmoke", "yellow", "yellowgreen"
+ ], colorKeywords = keySet(colorKeywords_);
+
+ var valueKeywords_ = [
+ "above", "absolute", "activeborder", "additive", "activecaption", "afar",
+ "after-white-space", "ahead", "alias", "all", "all-scroll", "alphabetic", "alternate",
+ "always", "amharic", "amharic-abegede", "antialiased", "appworkspace",
+ "arabic-indic", "armenian", "asterisks", "attr", "auto", "avoid", "avoid-column", "avoid-page",
+ "avoid-region", "background", "backwards", "baseline", "below", "bidi-override", "binary",
+ "bengali", "blink", "block", "block-axis", "bold", "bolder", "border", "border-box",
+ "both", "bottom", "break", "break-all", "break-word", "bullets", "button", "button-bevel",
+ "buttonface", "buttonhighlight", "buttonshadow", "buttontext", "calc", "cambodian",
+ "capitalize", "caps-lock-indicator", "caption", "captiontext", "caret",
+ "cell", "center", "checkbox", "circle", "cjk-decimal", "cjk-earthly-branch",
+ "cjk-heavenly-stem", "cjk-ideographic", "clear", "clip", "close-quote",
+ "col-resize", "collapse", "column", "compact", "condensed", "contain", "content",
+ "content-box", "context-menu", "continuous", "copy", "counter", "counters", "cover", "crop",
+ "cross", "crosshair", "currentcolor", "cursive", "cyclic", "dashed", "decimal",
+ "decimal-leading-zero", "default", "default-button", "destination-atop",
+ "destination-in", "destination-out", "destination-over", "devanagari",
+ "disc", "discard", "disclosure-closed", "disclosure-open", "document",
+ "dot-dash", "dot-dot-dash",
+ "dotted", "double", "down", "e-resize", "ease", "ease-in", "ease-in-out", "ease-out",
+ "element", "ellipse", "ellipsis", "embed", "end", "ethiopic", "ethiopic-abegede",
+ "ethiopic-abegede-am-et", "ethiopic-abegede-gez", "ethiopic-abegede-ti-er",
+ "ethiopic-abegede-ti-et", "ethiopic-halehame-aa-er",
+ "ethiopic-halehame-aa-et", "ethiopic-halehame-am-et",
+ "ethiopic-halehame-gez", "ethiopic-halehame-om-et",
+ "ethiopic-halehame-sid-et", "ethiopic-halehame-so-et",
+ "ethiopic-halehame-ti-er", "ethiopic-halehame-ti-et", "ethiopic-halehame-tig",
+ "ethiopic-numeric", "ew-resize", "expanded", "extends", "extra-condensed",
+ "extra-expanded", "fantasy", "fast", "fill", "fixed", "flat", "flex", "footnotes",
+ "forwards", "from", "geometricPrecision", "georgian", "graytext", "groove",
+ "gujarati", "gurmukhi", "hand", "hangul", "hangul-consonant", "hebrew",
+ "help", "hidden", "hide", "higher", "highlight", "highlighttext",
+ "hiragana", "hiragana-iroha", "horizontal", "hsl", "hsla", "icon", "ignore",
+ "inactiveborder", "inactivecaption", "inactivecaptiontext", "infinite",
+ "infobackground", "infotext", "inherit", "initial", "inline", "inline-axis",
+ "inline-block", "inline-flex", "inline-table", "inset", "inside", "intrinsic", "invert",
+ "italic", "japanese-formal", "japanese-informal", "justify", "kannada",
+ "katakana", "katakana-iroha", "keep-all", "khmer",
+ "korean-hangul-formal", "korean-hanja-formal", "korean-hanja-informal",
+ "landscape", "lao", "large", "larger", "left", "level", "lighter",
+ "line-through", "linear", "linear-gradient", "lines", "list-item", "listbox", "listitem",
+ "local", "logical", "loud", "lower", "lower-alpha", "lower-armenian",
+ "lower-greek", "lower-hexadecimal", "lower-latin", "lower-norwegian",
+ "lower-roman", "lowercase", "ltr", "malayalam", "match", "matrix", "matrix3d",
+ "media-controls-background", "media-current-time-display",
+ "media-fullscreen-button", "media-mute-button", "media-play-button",
+ "media-return-to-realtime-button", "media-rewind-button",
+ "media-seek-back-button", "media-seek-forward-button", "media-slider",
+ "media-sliderthumb", "media-time-remaining-display", "media-volume-slider",
+ "media-volume-slider-container", "media-volume-sliderthumb", "medium",
+ "menu", "menulist", "menulist-button", "menulist-text",
+ "menulist-textfield", "menutext", "message-box", "middle", "min-intrinsic",
+ "mix", "mongolian", "monospace", "move", "multiple", "myanmar", "n-resize",
+ "narrower", "ne-resize", "nesw-resize", "no-close-quote", "no-drop",
+ "no-open-quote", "no-repeat", "none", "normal", "not-allowed", "nowrap",
+ "ns-resize", "numbers", "numeric", "nw-resize", "nwse-resize", "oblique", "octal", "open-quote",
+ "optimizeLegibility", "optimizeSpeed", "oriya", "oromo", "outset",
+ "outside", "outside-shape", "overlay", "overline", "padding", "padding-box",
+ "painted", "page", "paused", "persian", "perspective", "plus-darker", "plus-lighter",
+ "pointer", "polygon", "portrait", "pre", "pre-line", "pre-wrap", "preserve-3d",
+ "progress", "push-button", "radial-gradient", "radio", "read-only",
+ "read-write", "read-write-plaintext-only", "rectangle", "region",
+ "relative", "repeat", "repeating-linear-gradient",
+ "repeating-radial-gradient", "repeat-x", "repeat-y", "reset", "reverse",
+ "rgb", "rgba", "ridge", "right", "rotate", "rotate3d", "rotateX", "rotateY",
+ "rotateZ", "round", "row-resize", "rtl", "run-in", "running",
+ "s-resize", "sans-serif", "scale", "scale3d", "scaleX", "scaleY", "scaleZ",
+ "scroll", "scrollbar", "se-resize", "searchfield",
+ "searchfield-cancel-button", "searchfield-decoration",
+ "searchfield-results-button", "searchfield-results-decoration",
+ "semi-condensed", "semi-expanded", "separate", "serif", "show", "sidama",
+ "simp-chinese-formal", "simp-chinese-informal", "single",
+ "skew", "skewX", "skewY", "skip-white-space", "slide", "slider-horizontal",
+ "slider-vertical", "sliderthumb-horizontal", "sliderthumb-vertical", "slow",
+ "small", "small-caps", "small-caption", "smaller", "solid", "somali",
+ "source-atop", "source-in", "source-out", "source-over", "space", "spell-out", "square",
+ "square-button", "start", "static", "status-bar", "stretch", "stroke", "sub",
+ "subpixel-antialiased", "super", "sw-resize", "symbolic", "symbols", "table",
+ "table-caption", "table-cell", "table-column", "table-column-group",
+ "table-footer-group", "table-header-group", "table-row", "table-row-group",
+ "tamil",
+ "telugu", "text", "text-bottom", "text-top", "textarea", "textfield", "thai",
+ "thick", "thin", "threeddarkshadow", "threedface", "threedhighlight",
+ "threedlightshadow", "threedshadow", "tibetan", "tigre", "tigrinya-er",
+ "tigrinya-er-abegede", "tigrinya-et", "tigrinya-et-abegede", "to", "top",
+ "trad-chinese-formal", "trad-chinese-informal",
+ "translate", "translate3d", "translateX", "translateY", "translateZ",
+ "transparent", "ultra-condensed", "ultra-expanded", "underline", "up",
+ "upper-alpha", "upper-armenian", "upper-greek", "upper-hexadecimal",
+ "upper-latin", "upper-norwegian", "upper-roman", "uppercase", "urdu", "url",
+ "var", "vertical", "vertical-text", "visible", "visibleFill", "visiblePainted",
+ "visibleStroke", "visual", "w-resize", "wait", "wave", "wider",
+ "window", "windowframe", "windowtext", "words", "x-large", "x-small", "xor",
+ "xx-large", "xx-small"
+ ], valueKeywords = keySet(valueKeywords_);
+
+ var allWords = documentTypes_.concat(mediaTypes_).concat(mediaFeatures_).concat(propertyKeywords_)
+ .concat(nonStandardPropertyKeywords_).concat(colorKeywords_).concat(valueKeywords_);
+ CodeMirror.registerHelper("hintWords", "css", allWords);
+
+ function tokenCComment(stream, state) {
+ var maybeEnd = false, ch;
+ while ((ch = stream.next()) != null) {
+ if (maybeEnd && ch == "/") {
+ state.tokenize = null;
+ break;
+ }
+ maybeEnd = (ch == "*");
+ }
+ return ["comment", "comment"];
+ }
+
+ function tokenSGMLComment(stream, state) {
+ if (stream.skipTo("-->")) {
+ stream.match("-->");
+ state.tokenize = null;
+ } else {
+ stream.skipToEnd();
+ }
+ return ["comment", "comment"];
+ }
+
+ CodeMirror.defineMIME("text/css", {
+ documentTypes: documentTypes,
+ mediaTypes: mediaTypes,
+ mediaFeatures: mediaFeatures,
+ propertyKeywords: propertyKeywords,
+ nonStandardPropertyKeywords: nonStandardPropertyKeywords,
+ fontProperties: fontProperties,
+ counterDescriptors: counterDescriptors,
+ colorKeywords: colorKeywords,
+ valueKeywords: valueKeywords,
+ tokenHooks: {
+ "<": function(stream, state) {
+ if (!stream.match("!--")) return false;
+ state.tokenize = tokenSGMLComment;
+ return tokenSGMLComment(stream, state);
+ },
+ "/": function(stream, state) {
+ if (!stream.eat("*")) return false;
+ state.tokenize = tokenCComment;
+ return tokenCComment(stream, state);
+ }
+ },
+ name: "css"
+ });
+
+ CodeMirror.defineMIME("text/x-scss", {
+ mediaTypes: mediaTypes,
+ mediaFeatures: mediaFeatures,
+ propertyKeywords: propertyKeywords,
+ nonStandardPropertyKeywords: nonStandardPropertyKeywords,
+ colorKeywords: colorKeywords,
+ valueKeywords: valueKeywords,
+ fontProperties: fontProperties,
+ allowNested: true,
+ tokenHooks: {
+ "/": function(stream, state) {
+ if (stream.eat("/")) {
+ stream.skipToEnd();
+ return ["comment", "comment"];
+ } else if (stream.eat("*")) {
+ state.tokenize = tokenCComment;
+ return tokenCComment(stream, state);
+ } else {
+ return ["operator", "operator"];
+ }
+ },
+ ":": function(stream) {
+ if (stream.match(/\s*\{/))
+ return [null, "{"];
+ return false;
+ },
+ "$": function(stream) {
+ stream.match(/^[\w-]+/);
+ if (stream.match(/^\s*:/, false))
+ return ["variable-2", "variable-definition"];
+ return ["variable-2", "variable"];
+ },
+ "#": function(stream) {
+ if (!stream.eat("{")) return false;
+ return [null, "interpolation"];
+ }
+ },
+ name: "css",
+ helperType: "scss"
+ });
+
+ CodeMirror.defineMIME("text/x-less", {
+ mediaTypes: mediaTypes,
+ mediaFeatures: mediaFeatures,
+ propertyKeywords: propertyKeywords,
+ nonStandardPropertyKeywords: nonStandardPropertyKeywords,
+ colorKeywords: colorKeywords,
+ valueKeywords: valueKeywords,
+ fontProperties: fontProperties,
+ allowNested: true,
+ tokenHooks: {
+ "/": function(stream, state) {
+ if (stream.eat("/")) {
+ stream.skipToEnd();
+ return ["comment", "comment"];
+ } else if (stream.eat("*")) {
+ state.tokenize = tokenCComment;
+ return tokenCComment(stream, state);
+ } else {
+ return ["operator", "operator"];
+ }
+ },
+ "@": function(stream) {
+ if (stream.eat("{")) return [null, "interpolation"];
+ if (stream.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/, false)) return false;
+ stream.eatWhile(/[\w\\\-]/);
+ if (stream.match(/^\s*:/, false))
+ return ["variable-2", "variable-definition"];
+ return ["variable-2", "variable"];
+ },
+ "&": function() {
+ return ["atom", "atom"];
+ }
+ },
+ name: "css",
+ helperType: "less"
+ });
+
+});
diff --git a/public/vendor/codemirror/mode/css/index.html b/public/vendor/codemirror/mode/css/index.html
new file mode 100755
index 00000000..2d2b9b07
--- /dev/null
+++ b/public/vendor/codemirror/mode/css/index.html
@@ -0,0 +1,75 @@
+
+
+CodeMirror: CSS mode
+
+
+
+
+
+
+
+
+
+
+
+
+
+CSS mode
+
+/* Some example CSS */
+
+@import url("something.css");
+
+body {
+ margin: 0;
+ padding: 3em 6em;
+ font-family: tahoma, arial, sans-serif;
+ color: #000;
+}
+
+#navigation a {
+ font-weight: bold;
+ text-decoration: none !important;
+}
+
+h1 {
+ font-size: 2.5em;
+}
+
+h2 {
+ font-size: 1.7em;
+}
+
+h1:before, h2:before {
+ content: "::";
+}
+
+code {
+ font-family: courier, monospace;
+ font-size: 80%;
+ color: #418A8A;
+}
+
+
+
+ MIME types defined: text/css
, text/x-scss
(demo ), text/x-less
(demo ).
+
+ Parsing/Highlighting Tests: normal , verbose .
+
+
diff --git a/public/vendor/codemirror/mode/css/less.html b/public/vendor/codemirror/mode/css/less.html
new file mode 100755
index 00000000..adf7427d
--- /dev/null
+++ b/public/vendor/codemirror/mode/css/less.html
@@ -0,0 +1,152 @@
+
+
+CodeMirror: LESS mode
+
+
+
+
+
+
+
+
+
+
+
+LESS mode
+@media screen and (device-aspect-ratio: 16/9) { … }
+@media screen and (device-aspect-ratio: 1280/720) { … }
+@media screen and (device-aspect-ratio: 2560/1440) { … }
+
+html:lang(fr-be)
+
+tr:nth-child(2n+1) /* represents every odd row of an HTML table */
+
+img:nth-of-type(2n+1) { float: right; }
+img:nth-of-type(2n) { float: left; }
+
+body > h2:not(:first-of-type):not(:last-of-type)
+
+html|*:not(:link):not(:visited)
+*|*:not(:hover)
+p::first-line { text-transform: uppercase }
+
+@namespace foo url(http://www.example.com);
+foo|h1 { color: blue } /* first rule */
+
+span[hello="Ocean"][goodbye="Land"]
+
+E[foo]{
+ padding:65px;
+}
+
+input[type="search"]::-webkit-search-decoration,
+input[type="search"]::-webkit-search-cancel-button {
+ -webkit-appearance: none; // Inner-padding issues in Chrome OSX, Safari 5
+}
+button::-moz-focus-inner,
+input::-moz-focus-inner { // Inner padding and border oddities in FF3/4
+ padding: 0;
+ border: 0;
+}
+.btn {
+ // reset here as of 2.0.3 due to Recess property order
+ border-color: #ccc;
+ border-color: rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);
+}
+fieldset span button, fieldset span input[type="file"] {
+ font-size:12px;
+ font-family:Arial, Helvetica, sans-serif;
+}
+
+.rounded-corners (@radius: 5px) {
+ border-radius: @radius;
+ -webkit-border-radius: @radius;
+ -moz-border-radius: @radius;
+}
+
+@import url("something.css");
+
+@light-blue: hsl(190, 50%, 65%);
+
+#menu {
+ position: absolute;
+ width: 100%;
+ z-index: 3;
+ clear: both;
+ display: block;
+ background-color: @blue;
+ height: 42px;
+ border-top: 2px solid lighten(@alpha-blue, 20%);
+ border-bottom: 2px solid darken(@alpha-blue, 25%);
+ .box-shadow(0, 1px, 8px, 0.6);
+ -moz-box-shadow: 0 0 0 #000; // Because firefox sucks.
+
+ &.docked {
+ background-color: hsla(210, 60%, 40%, 0.4);
+ }
+ &:hover {
+ background-color: @blue;
+ }
+
+ #dropdown {
+ margin: 0 0 0 117px;
+ padding: 0;
+ padding-top: 5px;
+ display: none;
+ width: 190px;
+ border-top: 2px solid @medium;
+ color: @highlight;
+ border: 2px solid darken(@medium, 25%);
+ border-left-color: darken(@medium, 15%);
+ border-right-color: darken(@medium, 15%);
+ border-top-width: 0;
+ background-color: darken(@medium, 10%);
+ ul {
+ padding: 0px;
+ }
+ li {
+ font-size: 14px;
+ display: block;
+ text-align: left;
+ padding: 0;
+ border: 0;
+ a {
+ display: block;
+ padding: 0px 15px;
+ text-decoration: none;
+ color: white;
+ &:hover {
+ background-color: darken(@medium, 15%);
+ text-decoration: none;
+ }
+ }
+ }
+ .border-radius(5px, bottom);
+ .box-shadow(0, 6px, 8px, 0.5);
+ }
+}
+
+
+
+ The LESS mode is a sub-mode of the CSS mode (defined in css.js
).
+
+ Parsing/Highlighting Tests: normal , verbose .
+
diff --git a/public/vendor/codemirror/mode/css/less_test.js b/public/vendor/codemirror/mode/css/less_test.js
new file mode 100755
index 00000000..7b77f584
--- /dev/null
+++ b/public/vendor/codemirror/mode/css/less_test.js
@@ -0,0 +1,54 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function() {
+ "use strict";
+
+ var mode = CodeMirror.getMode({indentUnit: 2}, "text/x-less");
+ function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1), "less"); }
+
+ MT("variable",
+ "[variable-2 @base]: [atom #f04615];",
+ "[qualifier .class] {",
+ " [property width]: [variable percentage]([number 0.5]); [comment // returns `50%`]",
+ " [property color]: [variable saturate]([variable-2 @base], [number 5%]);",
+ "}");
+
+ MT("amp",
+ "[qualifier .child], [qualifier .sibling] {",
+ " [qualifier .parent] [atom &] {",
+ " [property color]: [keyword black];",
+ " }",
+ " [atom &] + [atom &] {",
+ " [property color]: [keyword red];",
+ " }",
+ "}");
+
+ MT("mixin",
+ "[qualifier .mixin] ([variable dark]; [variable-2 @color]) {",
+ " [property color]: [variable darken]([variable-2 @color], [number 10%]);",
+ "}",
+ "[qualifier .mixin] ([variable light]; [variable-2 @color]) {",
+ " [property color]: [variable lighten]([variable-2 @color], [number 10%]);",
+ "}",
+ "[qualifier .mixin] ([variable-2 @_]; [variable-2 @color]) {",
+ " [property display]: [atom block];",
+ "}",
+ "[variable-2 @switch]: [variable light];",
+ "[qualifier .class] {",
+ " [qualifier .mixin]([variable-2 @switch]; [atom #888]);",
+ "}");
+
+ MT("nest",
+ "[qualifier .one] {",
+ " [def @media] ([property width]: [number 400px]) {",
+ " [property font-size]: [number 1.2em];",
+ " [def @media] [attribute print] [keyword and] [property color] {",
+ " [property color]: [keyword blue];",
+ " }",
+ " }",
+ "}");
+
+
+ MT("interpolation", ".@{[variable foo]} { [property font-weight]: [atom bold]; }");
+})();
diff --git a/public/vendor/codemirror/mode/css/scss.html b/public/vendor/codemirror/mode/css/scss.html
new file mode 100755
index 00000000..f8e4d373
--- /dev/null
+++ b/public/vendor/codemirror/mode/css/scss.html
@@ -0,0 +1,157 @@
+
+
+CodeMirror: SCSS mode
+
+
+
+
+
+
+
+
+
+
+SCSS mode
+
+/* Some example SCSS */
+
+@import "compass/css3";
+$variable: #333;
+
+$blue: #3bbfce;
+$margin: 16px;
+
+.content-navigation {
+ #nested {
+ background-color: black;
+ }
+ border-color: $blue;
+ color:
+ darken($blue, 9%);
+}
+
+.border {
+ padding: $margin / 2;
+ margin: $margin / 2;
+ border-color: $blue;
+}
+
+@mixin table-base {
+ th {
+ text-align: center;
+ font-weight: bold;
+ }
+ td, th {padding: 2px}
+}
+
+table.hl {
+ margin: 2em 0;
+ td.ln {
+ text-align: right;
+ }
+}
+
+li {
+ font: {
+ family: serif;
+ weight: bold;
+ size: 1.2em;
+ }
+}
+
+@mixin left($dist) {
+ float: left;
+ margin-left: $dist;
+}
+
+#data {
+ @include left(10px);
+ @include table-base;
+}
+
+.source {
+ @include flow-into(target);
+ border: 10px solid green;
+ margin: 20px;
+ width: 200px; }
+
+.new-container {
+ @include flow-from(target);
+ border: 10px solid red;
+ margin: 20px;
+ width: 200px; }
+
+body {
+ margin: 0;
+ padding: 3em 6em;
+ font-family: tahoma, arial, sans-serif;
+ color: #000;
+}
+
+@mixin yellow() {
+ background: yellow;
+}
+
+.big {
+ font-size: 14px;
+}
+
+.nested {
+ @include border-radius(3px);
+ @extend .big;
+ p {
+ background: whitesmoke;
+ a {
+ color: red;
+ }
+ }
+}
+
+#navigation a {
+ font-weight: bold;
+ text-decoration: none !important;
+}
+
+h1 {
+ font-size: 2.5em;
+}
+
+h2 {
+ font-size: 1.7em;
+}
+
+h1:before, h2:before {
+ content: "::";
+}
+
+code {
+ font-family: courier, monospace;
+ font-size: 80%;
+ color: #418A8A;
+}
+
+
+
+ The SCSS mode is a sub-mode of the CSS mode (defined in css.js
).
+
+ Parsing/Highlighting Tests: normal , verbose .
+
+
diff --git a/public/vendor/codemirror/mode/css/scss_test.js b/public/vendor/codemirror/mode/css/scss_test.js
new file mode 100755
index 00000000..26c226a1
--- /dev/null
+++ b/public/vendor/codemirror/mode/css/scss_test.js
@@ -0,0 +1,110 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function() {
+ var mode = CodeMirror.getMode({indentUnit: 2}, "text/x-scss");
+ function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1), "scss"); }
+
+ MT('url_with_quotation',
+ "[tag foo] { [property background]:[atom url]([string test.jpg]) }");
+
+ MT('url_with_double_quotes',
+ "[tag foo] { [property background]:[atom url]([string \"test.jpg\"]) }");
+
+ MT('url_with_single_quotes',
+ "[tag foo] { [property background]:[atom url]([string \'test.jpg\']) }");
+
+ MT('string',
+ "[def @import] [string \"compass/css3\"]");
+
+ MT('important_keyword',
+ "[tag foo] { [property background]:[atom url]([string \'test.jpg\']) [keyword !important] }");
+
+ MT('variable',
+ "[variable-2 $blue]:[atom #333]");
+
+ MT('variable_as_attribute',
+ "[tag foo] { [property color]:[variable-2 $blue] }");
+
+ MT('numbers',
+ "[tag foo] { [property padding]:[number 10px] [number 10] [number 10em] [number 8in] }");
+
+ MT('number_percentage',
+ "[tag foo] { [property width]:[number 80%] }");
+
+ MT('selector',
+ "[builtin #hello][qualifier .world]{}");
+
+ MT('singleline_comment',
+ "[comment // this is a comment]");
+
+ MT('multiline_comment',
+ "[comment /*foobar*/]");
+
+ MT('attribute_with_hyphen',
+ "[tag foo] { [property font-size]:[number 10px] }");
+
+ MT('string_after_attribute',
+ "[tag foo] { [property content]:[string \"::\"] }");
+
+ MT('directives',
+ "[def @include] [qualifier .mixin]");
+
+ MT('basic_structure',
+ "[tag p] { [property background]:[keyword red]; }");
+
+ MT('nested_structure',
+ "[tag p] { [tag a] { [property color]:[keyword red]; } }");
+
+ MT('mixin',
+ "[def @mixin] [tag table-base] {}");
+
+ MT('number_without_semicolon',
+ "[tag p] {[property width]:[number 12]}",
+ "[tag a] {[property color]:[keyword red];}");
+
+ MT('atom_in_nested_block',
+ "[tag p] { [tag a] { [property color]:[atom #000]; } }");
+
+ MT('interpolation_in_property',
+ "[tag foo] { #{[variable-2 $hello]}:[number 2]; }");
+
+ MT('interpolation_in_selector',
+ "[tag foo]#{[variable-2 $hello]} { [property color]:[atom #000]; }");
+
+ MT('interpolation_error',
+ "[tag foo]#{[variable foo]} { [property color]:[atom #000]; }");
+
+ MT("divide_operator",
+ "[tag foo] { [property width]:[number 4] [operator /] [number 2] }");
+
+ MT('nested_structure_with_id_selector',
+ "[tag p] { [builtin #hello] { [property color]:[keyword red]; } }");
+
+ MT('indent_mixin',
+ "[def @mixin] [tag container] (",
+ " [variable-2 $a]: [number 10],",
+ " [variable-2 $b]: [number 10])",
+ "{}");
+
+ MT('indent_nested',
+ "[tag foo] {",
+ " [tag bar] {",
+ " }",
+ "}");
+
+ MT('indent_parentheses',
+ "[tag foo] {",
+ " [property color]: [variable darken]([variable-2 $blue],",
+ " [number 9%]);",
+ "}");
+
+ MT('indent_vardef',
+ "[variable-2 $name]:",
+ " [string 'val'];",
+ "[tag tag] {",
+ " [tag inner] {",
+ " [property margin]: [number 3px];",
+ " }",
+ "}");
+})();
diff --git a/public/vendor/codemirror/mode/css/test.js b/public/vendor/codemirror/mode/css/test.js
new file mode 100755
index 00000000..bef71561
--- /dev/null
+++ b/public/vendor/codemirror/mode/css/test.js
@@ -0,0 +1,195 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function() {
+ var mode = CodeMirror.getMode({indentUnit: 2}, "css");
+ function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); }
+
+ // Error, because "foobarhello" is neither a known type or property, but
+ // property was expected (after "and"), and it should be in parenthese.
+ MT("atMediaUnknownType",
+ "[def @media] [attribute screen] [keyword and] [error foobarhello] { }");
+
+ // Soft error, because "foobarhello" is not a known property or type.
+ MT("atMediaUnknownProperty",
+ "[def @media] [attribute screen] [keyword and] ([error foobarhello]) { }");
+
+ // Make sure nesting works with media queries
+ MT("atMediaMaxWidthNested",
+ "[def @media] [attribute screen] [keyword and] ([property max-width]: [number 25px]) { [tag foo] { } }");
+
+ MT("tagSelector",
+ "[tag foo] { }");
+
+ MT("classSelector",
+ "[qualifier .foo-bar_hello] { }");
+
+ MT("idSelector",
+ "[builtin #foo] { [error #foo] }");
+
+ MT("tagSelectorUnclosed",
+ "[tag foo] { [property margin]: [number 0] } [tag bar] { }");
+
+ MT("tagStringNoQuotes",
+ "[tag foo] { [property font-family]: [variable hello] [variable world]; }");
+
+ MT("tagStringDouble",
+ "[tag foo] { [property font-family]: [string \"hello world\"]; }");
+
+ MT("tagStringSingle",
+ "[tag foo] { [property font-family]: [string 'hello world']; }");
+
+ MT("tagColorKeyword",
+ "[tag foo] {",
+ " [property color]: [keyword black];",
+ " [property color]: [keyword navy];",
+ " [property color]: [keyword yellow];",
+ "}");
+
+ MT("tagColorHex3",
+ "[tag foo] { [property background]: [atom #fff]; }");
+
+ MT("tagColorHex6",
+ "[tag foo] { [property background]: [atom #ffffff]; }");
+
+ MT("tagColorHex4",
+ "[tag foo] { [property background]: [atom&error #ffff]; }");
+
+ MT("tagColorHexInvalid",
+ "[tag foo] { [property background]: [atom&error #ffg]; }");
+
+ MT("tagNegativeNumber",
+ "[tag foo] { [property margin]: [number -5px]; }");
+
+ MT("tagPositiveNumber",
+ "[tag foo] { [property padding]: [number 5px]; }");
+
+ MT("tagVendor",
+ "[tag foo] { [meta -foo-][property box-sizing]: [meta -foo-][atom border-box]; }");
+
+ MT("tagBogusProperty",
+ "[tag foo] { [property&error barhelloworld]: [number 0]; }");
+
+ MT("tagTwoProperties",
+ "[tag foo] { [property margin]: [number 0]; [property padding]: [number 0]; }");
+
+ MT("tagTwoPropertiesURL",
+ "[tag foo] { [property background]: [atom url]([string //example.com/foo.png]); [property padding]: [number 0]; }");
+
+ MT("commentSGML",
+ "[comment ]");
+
+ MT("commentSGML2",
+ "[comment ] [tag div] {}");
+
+ MT("indent_tagSelector",
+ "[tag strong], [tag em] {",
+ " [property background]: [atom rgba](",
+ " [number 255], [number 255], [number 0], [number .2]",
+ " );",
+ "}");
+
+ MT("indent_atMedia",
+ "[def @media] {",
+ " [tag foo] {",
+ " [property color]:",
+ " [keyword yellow];",
+ " }",
+ "}");
+
+ MT("indent_comma",
+ "[tag foo] {",
+ " [property font-family]: [variable verdana],",
+ " [atom sans-serif];",
+ "}");
+
+ MT("indent_parentheses",
+ "[tag foo]:[variable-3 before] {",
+ " [property background]: [atom url](",
+ "[string blahblah]",
+ "[string etc]",
+ "[string ]) [keyword !important];",
+ "}");
+
+ MT("font_face",
+ "[def @font-face] {",
+ " [property font-family]: [string 'myfont'];",
+ " [error nonsense]: [string 'abc'];",
+ " [property src]: [atom url]([string http://blah]),",
+ " [atom url]([string http://foo]);",
+ "}");
+
+ MT("empty_url",
+ "[def @import] [tag url]() [tag screen];");
+
+ MT("parens",
+ "[qualifier .foo] {",
+ " [property background-image]: [variable fade]([atom #000], [number 20%]);",
+ " [property border-image]: [atom linear-gradient](",
+ " [atom to] [atom bottom],",
+ " [variable fade]([atom #000], [number 20%]) [number 0%],",
+ " [variable fade]([atom #000], [number 20%]) [number 100%]",
+ " );",
+ "}");
+
+ MT("css_variable",
+ ":[variable-3 root] {",
+ " [variable-2 --main-color]: [atom #06c];",
+ "}",
+ "[tag h1][builtin #foo] {",
+ " [property color]: [atom var]([variable-2 --main-color]);",
+ "}");
+
+ MT("supports",
+ "[def @supports] ([keyword not] (([property text-align-last]: [atom justify]) [keyword or] ([meta -moz-][property text-align-last]: [atom justify])) {",
+ " [property text-align-last]: [atom justify];",
+ "}");
+
+ MT("document",
+ "[def @document] [tag url]([string http://blah]),",
+ " [tag url-prefix]([string https://]),",
+ " [tag domain]([string blah.com]),",
+ " [tag regexp]([string \".*blah.+\"]) {",
+ " [builtin #id] {",
+ " [property background-color]: [keyword white];",
+ " }",
+ " [tag foo] {",
+ " [property font-family]: [variable Verdana], [atom sans-serif];",
+ " }",
+ " }");
+
+ MT("document_url",
+ "[def @document] [tag url]([string http://blah]) { [qualifier .class] { } }");
+
+ MT("document_urlPrefix",
+ "[def @document] [tag url-prefix]([string https://]) { [builtin #id] { } }");
+
+ MT("document_domain",
+ "[def @document] [tag domain]([string blah.com]) { [tag foo] { } }");
+
+ MT("document_regexp",
+ "[def @document] [tag regexp]([string \".*blah.+\"]) { [builtin #id] { } }");
+
+ MT("counter-style",
+ "[def @counter-style] [variable binary] {",
+ " [property system]: [atom numeric];",
+ " [property symbols]: [number 0] [number 1];",
+ " [property suffix]: [string \".\"];",
+ " [property range]: [atom infinite];",
+ " [property speak-as]: [atom numeric];",
+ "}");
+
+ MT("counter-style-additive-symbols",
+ "[def @counter-style] [variable simple-roman] {",
+ " [property system]: [atom additive];",
+ " [property additive-symbols]: [number 10] [variable X], [number 5] [variable V], [number 1] [variable I];",
+ " [property range]: [number 1] [number 49];",
+ "}");
+
+ MT("counter-style-use",
+ "[tag ol][qualifier .roman] { [property list-style]: [variable simple-roman]; }");
+
+ MT("counter-style-symbols",
+ "[tag ol] { [property list-style]: [atom symbols]([atom cyclic] [string \"*\"] [string \"\\2020\"] [string \"\\2021\"] [string \"\\A7\"]); }");
+})();
diff --git a/public/vendor/codemirror/mode/cypher/cypher.js b/public/vendor/codemirror/mode/cypher/cypher.js
new file mode 100755
index 00000000..9decf307
--- /dev/null
+++ b/public/vendor/codemirror/mode/cypher/cypher.js
@@ -0,0 +1,146 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+// By the Neo4j Team and contributors.
+// https://github.com/neo4j-contrib/CodeMirror
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+ "use strict";
+ var wordRegexp = function(words) {
+ return new RegExp("^(?:" + words.join("|") + ")$", "i");
+ };
+
+ CodeMirror.defineMode("cypher", function(config) {
+ var tokenBase = function(stream/*, state*/) {
+ var ch = stream.next(), curPunc = null;
+ if (ch === "\"" || ch === "'") {
+ stream.match(/.+?["']/);
+ return "string";
+ }
+ if (/[{}\(\),\.;\[\]]/.test(ch)) {
+ curPunc = ch;
+ return "node";
+ } else if (ch === "/" && stream.eat("/")) {
+ stream.skipToEnd();
+ return "comment";
+ } else if (operatorChars.test(ch)) {
+ stream.eatWhile(operatorChars);
+ return null;
+ } else {
+ stream.eatWhile(/[_\w\d]/);
+ if (stream.eat(":")) {
+ stream.eatWhile(/[\w\d_\-]/);
+ return "atom";
+ }
+ var word = stream.current();
+ if (funcs.test(word)) return "builtin";
+ if (preds.test(word)) return "def";
+ if (keywords.test(word)) return "keyword";
+ return "variable";
+ }
+ };
+ var pushContext = function(state, type, col) {
+ return state.context = {
+ prev: state.context,
+ indent: state.indent,
+ col: col,
+ type: type
+ };
+ };
+ var popContext = function(state) {
+ state.indent = state.context.indent;
+ return state.context = state.context.prev;
+ };
+ var indentUnit = config.indentUnit;
+ var curPunc;
+ var funcs = wordRegexp(["abs", "acos", "allShortestPaths", "asin", "atan", "atan2", "avg", "ceil", "coalesce", "collect", "cos", "cot", "count", "degrees", "e", "endnode", "exp", "extract", "filter", "floor", "haversin", "head", "id", "keys", "labels", "last", "left", "length", "log", "log10", "lower", "ltrim", "max", "min", "node", "nodes", "percentileCont", "percentileDisc", "pi", "radians", "rand", "range", "reduce", "rel", "relationship", "relationships", "replace", "right", "round", "rtrim", "shortestPath", "sign", "sin", "split", "sqrt", "startnode", "stdev", "stdevp", "str", "substring", "sum", "tail", "tan", "timestamp", "toFloat", "toInt", "trim", "type", "upper"]);
+ var preds = wordRegexp(["all", "and", "any", "has", "in", "none", "not", "or", "single", "xor"]);
+ var keywords = wordRegexp(["as", "asc", "ascending", "assert", "by", "case", "commit", "constraint", "create", "csv", "cypher", "delete", "desc", "descending", "distinct", "drop", "else", "end", "explain", "false", "fieldterminator", "foreach", "from", "headers", "in", "index", "is", "limit", "load", "match", "merge", "null", "on", "optional", "order", "periodic", "profile", "remove", "return", "scan", "set", "skip", "start", "then", "true", "union", "unique", "unwind", "using", "when", "where", "with"]);
+ var operatorChars = /[*+\-<>=&|~%^]/;
+
+ return {
+ startState: function(/*base*/) {
+ return {
+ tokenize: tokenBase,
+ context: null,
+ indent: 0,
+ col: 0
+ };
+ },
+ token: function(stream, state) {
+ if (stream.sol()) {
+ if (state.context && (state.context.align == null)) {
+ state.context.align = false;
+ }
+ state.indent = stream.indentation();
+ }
+ if (stream.eatSpace()) {
+ return null;
+ }
+ var style = state.tokenize(stream, state);
+ if (style !== "comment" && state.context && (state.context.align == null) && state.context.type !== "pattern") {
+ state.context.align = true;
+ }
+ if (curPunc === "(") {
+ pushContext(state, ")", stream.column());
+ } else if (curPunc === "[") {
+ pushContext(state, "]", stream.column());
+ } else if (curPunc === "{") {
+ pushContext(state, "}", stream.column());
+ } else if (/[\]\}\)]/.test(curPunc)) {
+ while (state.context && state.context.type === "pattern") {
+ popContext(state);
+ }
+ if (state.context && curPunc === state.context.type) {
+ popContext(state);
+ }
+ } else if (curPunc === "." && state.context && state.context.type === "pattern") {
+ popContext(state);
+ } else if (/atom|string|variable/.test(style) && state.context) {
+ if (/[\}\]]/.test(state.context.type)) {
+ pushContext(state, "pattern", stream.column());
+ } else if (state.context.type === "pattern" && !state.context.align) {
+ state.context.align = true;
+ state.context.col = stream.column();
+ }
+ }
+ return style;
+ },
+ indent: function(state, textAfter) {
+ var firstChar = textAfter && textAfter.charAt(0);
+ var context = state.context;
+ if (/[\]\}]/.test(firstChar)) {
+ while (context && context.type === "pattern") {
+ context = context.prev;
+ }
+ }
+ var closing = context && firstChar === context.type;
+ if (!context) return 0;
+ if (context.type === "keywords") return CodeMirror.commands.newlineAndIndent;
+ if (context.align) return context.col + (closing ? 0 : 1);
+ return context.indent + (closing ? 0 : indentUnit);
+ }
+ };
+ });
+
+ CodeMirror.modeExtensions["cypher"] = {
+ autoFormatLineBreaks: function(text) {
+ var i, lines, reProcessedPortion;
+ var lines = text.split("\n");
+ var reProcessedPortion = /\s+\b(return|where|order by|match|with|skip|limit|create|delete|set)\b\s/g;
+ for (var i = 0; i < lines.length; i++)
+ lines[i] = lines[i].replace(reProcessedPortion, " \n$1 ").trim();
+ return lines.join("\n");
+ }
+ };
+
+ CodeMirror.defineMIME("application/x-cypher-query", "cypher");
+
+});
diff --git a/public/vendor/codemirror/mode/cypher/index.html b/public/vendor/codemirror/mode/cypher/index.html
new file mode 100755
index 00000000..b8bd75c8
--- /dev/null
+++ b/public/vendor/codemirror/mode/cypher/index.html
@@ -0,0 +1,63 @@
+
+
+CodeMirror: Cypher Mode for CodeMirror
+
+
+
+
+
+
+
+
+
+
+
+Cypher Mode for CodeMirror
+
+ // Cypher Mode for CodeMirror, using the neo theme
+MATCH (joe { name: 'Joe' })-[:knows*2..2]-(friend_of_friend)
+WHERE NOT (joe)-[:knows]-(friend_of_friend)
+RETURN friend_of_friend.name, COUNT(*)
+ORDER BY COUNT(*) DESC , friend_of_friend.name
+
+
+ MIME types defined:
+ application/x-cypher-query
+
+
+
+
diff --git a/public/vendor/codemirror/mode/d/d.js b/public/vendor/codemirror/mode/d/d.js
new file mode 100755
index 00000000..c927a7e3
--- /dev/null
+++ b/public/vendor/codemirror/mode/d/d.js
@@ -0,0 +1,218 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+"use strict";
+
+CodeMirror.defineMode("d", function(config, parserConfig) {
+ var indentUnit = config.indentUnit,
+ statementIndentUnit = parserConfig.statementIndentUnit || indentUnit,
+ keywords = parserConfig.keywords || {},
+ builtin = parserConfig.builtin || {},
+ blockKeywords = parserConfig.blockKeywords || {},
+ atoms = parserConfig.atoms || {},
+ hooks = parserConfig.hooks || {},
+ multiLineStrings = parserConfig.multiLineStrings;
+ var isOperatorChar = /[+\-*&%=<>!?|\/]/;
+
+ var curPunc;
+
+ function tokenBase(stream, state) {
+ var ch = stream.next();
+ if (hooks[ch]) {
+ var result = hooks[ch](stream, state);
+ if (result !== false) return result;
+ }
+ if (ch == '"' || ch == "'" || ch == "`") {
+ state.tokenize = tokenString(ch);
+ return state.tokenize(stream, state);
+ }
+ if (/[\[\]{}\(\),;\:\.]/.test(ch)) {
+ curPunc = ch;
+ return null;
+ }
+ if (/\d/.test(ch)) {
+ stream.eatWhile(/[\w\.]/);
+ return "number";
+ }
+ if (ch == "/") {
+ if (stream.eat("+")) {
+ state.tokenize = tokenComment;
+ return tokenNestedComment(stream, state);
+ }
+ if (stream.eat("*")) {
+ state.tokenize = tokenComment;
+ return tokenComment(stream, state);
+ }
+ if (stream.eat("/")) {
+ stream.skipToEnd();
+ return "comment";
+ }
+ }
+ if (isOperatorChar.test(ch)) {
+ stream.eatWhile(isOperatorChar);
+ return "operator";
+ }
+ stream.eatWhile(/[\w\$_\xa1-\uffff]/);
+ var cur = stream.current();
+ if (keywords.propertyIsEnumerable(cur)) {
+ if (blockKeywords.propertyIsEnumerable(cur)) curPunc = "newstatement";
+ return "keyword";
+ }
+ if (builtin.propertyIsEnumerable(cur)) {
+ if (blockKeywords.propertyIsEnumerable(cur)) curPunc = "newstatement";
+ return "builtin";
+ }
+ if (atoms.propertyIsEnumerable(cur)) return "atom";
+ return "variable";
+ }
+
+ function tokenString(quote) {
+ return function(stream, state) {
+ var escaped = false, next, end = false;
+ while ((next = stream.next()) != null) {
+ if (next == quote && !escaped) {end = true; break;}
+ escaped = !escaped && next == "\\";
+ }
+ if (end || !(escaped || multiLineStrings))
+ state.tokenize = null;
+ return "string";
+ };
+ }
+
+ function tokenComment(stream, state) {
+ var maybeEnd = false, ch;
+ while (ch = stream.next()) {
+ if (ch == "/" && maybeEnd) {
+ state.tokenize = null;
+ break;
+ }
+ maybeEnd = (ch == "*");
+ }
+ return "comment";
+ }
+
+ function tokenNestedComment(stream, state) {
+ var maybeEnd = false, ch;
+ while (ch = stream.next()) {
+ if (ch == "/" && maybeEnd) {
+ state.tokenize = null;
+ break;
+ }
+ maybeEnd = (ch == "+");
+ }
+ return "comment";
+ }
+
+ function Context(indented, column, type, align, prev) {
+ this.indented = indented;
+ this.column = column;
+ this.type = type;
+ this.align = align;
+ this.prev = prev;
+ }
+ function pushContext(state, col, type) {
+ var indent = state.indented;
+ if (state.context && state.context.type == "statement")
+ indent = state.context.indented;
+ return state.context = new Context(indent, col, type, null, state.context);
+ }
+ function popContext(state) {
+ var t = state.context.type;
+ if (t == ")" || t == "]" || t == "}")
+ state.indented = state.context.indented;
+ return state.context = state.context.prev;
+ }
+
+ // Interface
+
+ return {
+ startState: function(basecolumn) {
+ return {
+ tokenize: null,
+ context: new Context((basecolumn || 0) - indentUnit, 0, "top", false),
+ indented: 0,
+ startOfLine: true
+ };
+ },
+
+ token: function(stream, state) {
+ var ctx = state.context;
+ if (stream.sol()) {
+ if (ctx.align == null) ctx.align = false;
+ state.indented = stream.indentation();
+ state.startOfLine = true;
+ }
+ if (stream.eatSpace()) return null;
+ curPunc = null;
+ var style = (state.tokenize || tokenBase)(stream, state);
+ if (style == "comment" || style == "meta") return style;
+ if (ctx.align == null) ctx.align = true;
+
+ if ((curPunc == ";" || curPunc == ":" || curPunc == ",") && ctx.type == "statement") popContext(state);
+ else if (curPunc == "{") pushContext(state, stream.column(), "}");
+ else if (curPunc == "[") pushContext(state, stream.column(), "]");
+ else if (curPunc == "(") pushContext(state, stream.column(), ")");
+ else if (curPunc == "}") {
+ while (ctx.type == "statement") ctx = popContext(state);
+ if (ctx.type == "}") ctx = popContext(state);
+ while (ctx.type == "statement") ctx = popContext(state);
+ }
+ else if (curPunc == ctx.type) popContext(state);
+ else if (((ctx.type == "}" || ctx.type == "top") && curPunc != ';') || (ctx.type == "statement" && curPunc == "newstatement"))
+ pushContext(state, stream.column(), "statement");
+ state.startOfLine = false;
+ return style;
+ },
+
+ indent: function(state, textAfter) {
+ if (state.tokenize != tokenBase && state.tokenize != null) return CodeMirror.Pass;
+ var ctx = state.context, firstChar = textAfter && textAfter.charAt(0);
+ if (ctx.type == "statement" && firstChar == "}") ctx = ctx.prev;
+ var closing = firstChar == ctx.type;
+ if (ctx.type == "statement") return ctx.indented + (firstChar == "{" ? 0 : statementIndentUnit);
+ else if (ctx.align) return ctx.column + (closing ? 0 : 1);
+ else return ctx.indented + (closing ? 0 : indentUnit);
+ },
+
+ electricChars: "{}"
+ };
+});
+
+ function words(str) {
+ var obj = {}, words = str.split(" ");
+ for (var i = 0; i < words.length; ++i) obj[words[i]] = true;
+ return obj;
+ }
+
+ var blockKeywords = "body catch class do else enum for foreach foreach_reverse if in interface mixin " +
+ "out scope struct switch try union unittest version while with";
+
+ CodeMirror.defineMIME("text/x-d", {
+ name: "d",
+ keywords: words("abstract alias align asm assert auto break case cast cdouble cent cfloat const continue " +
+ "debug default delegate delete deprecated export extern final finally function goto immutable " +
+ "import inout invariant is lazy macro module new nothrow override package pragma private " +
+ "protected public pure ref return shared short static super synchronized template this " +
+ "throw typedef typeid typeof volatile __FILE__ __LINE__ __gshared __traits __vector __parameters " +
+ blockKeywords),
+ blockKeywords: words(blockKeywords),
+ builtin: words("bool byte char creal dchar double float idouble ifloat int ireal long real short ubyte " +
+ "ucent uint ulong ushort wchar wstring void size_t sizediff_t"),
+ atoms: words("exit failure success true false null"),
+ hooks: {
+ "@": function(stream, _state) {
+ stream.eatWhile(/[\w\$_]/);
+ return "meta";
+ }
+ }
+ });
+
+});
diff --git a/public/vendor/codemirror/mode/d/index.html b/public/vendor/codemirror/mode/d/index.html
new file mode 100755
index 00000000..08cabd8a
--- /dev/null
+++ b/public/vendor/codemirror/mode/d/index.html
@@ -0,0 +1,273 @@
+
+
+CodeMirror: D mode
+
+
+
+
+
+
+
+
+
+
+
+D mode
+
+/* D demo code // copied from phobos/sd/metastrings.d */
+// Written in the D programming language.
+
+/**
+Templates with which to do compile-time manipulation of strings.
+
+Macros:
+ WIKI = Phobos/StdMetastrings
+
+Copyright: Copyright Digital Mars 2007 - 2009.
+License: Boost License 1.0 .
+Authors: $(WEB digitalmars.com, Walter Bright),
+ Don Clugston
+Source: $(PHOBOSSRC std/_metastrings.d)
+*/
+/*
+ Copyright Digital Mars 2007 - 2009.
+Distributed under the Boost Software License, Version 1.0.
+ (See accompanying file LICENSE_1_0.txt or copy at
+ http://www.boost.org/LICENSE_1_0.txt)
+ */
+module std.metastrings;
+
+/**
+Formats constants into a string at compile time. Analogous to $(XREF
+string,format).
+
+Parameters:
+
+A = tuple of constants, which can be strings, characters, or integral
+ values.
+
+Formats:
+ * The formats supported are %s for strings, and %%
+ * for the % character.
+Example:
+---
+import std.metastrings;
+import std.stdio;
+
+void main()
+{
+ string s = Format!("Arg %s = %s", "foo", 27);
+ writefln(s); // "Arg foo = 27"
+}
+ * ---
+ */
+
+template Format(A...)
+{
+ static if (A.length == 0)
+ enum Format = "";
+ else static if (is(typeof(A[0]) : const(char)[]))
+ enum Format = FormatString!(A[0], A[1..$]);
+ else
+ enum Format = toStringNow!(A[0]) ~ Format!(A[1..$]);
+}
+
+template FormatString(const(char)[] F, A...)
+{
+ static if (F.length == 0)
+ enum FormatString = Format!(A);
+ else static if (F.length == 1)
+ enum FormatString = F[0] ~ Format!(A);
+ else static if (F[0..2] == "%s")
+ enum FormatString
+ = toStringNow!(A[0]) ~ FormatString!(F[2..$],A[1..$]);
+ else static if (F[0..2] == "%%")
+ enum FormatString = "%" ~ FormatString!(F[2..$],A);
+ else
+ {
+ static assert(F[0] != '%', "unrecognized format %" ~ F[1]);
+ enum FormatString = F[0] ~ FormatString!(F[1..$],A);
+ }
+}
+
+unittest
+{
+ auto s = Format!("hel%slo", "world", -138, 'c', true);
+ assert(s == "helworldlo-138ctrue", "[" ~ s ~ "]");
+}
+
+/**
+ * Convert constant argument to a string.
+ */
+
+template toStringNow(ulong v)
+{
+ static if (v < 10)
+ enum toStringNow = "" ~ cast(char)(v + '0');
+ else
+ enum toStringNow = toStringNow!(v / 10) ~ toStringNow!(v % 10);
+}
+
+unittest
+{
+ static assert(toStringNow!(1uL << 62) == "4611686018427387904");
+}
+
+/// ditto
+template toStringNow(long v)
+{
+ static if (v < 0)
+ enum toStringNow = "-" ~ toStringNow!(cast(ulong) -v);
+ else
+ enum toStringNow = toStringNow!(cast(ulong) v);
+}
+
+unittest
+{
+ static assert(toStringNow!(0x100000000) == "4294967296");
+ static assert(toStringNow!(-138L) == "-138");
+}
+
+/// ditto
+template toStringNow(uint U)
+{
+ enum toStringNow = toStringNow!(cast(ulong)U);
+}
+
+/// ditto
+template toStringNow(int I)
+{
+ enum toStringNow = toStringNow!(cast(long)I);
+}
+
+/// ditto
+template toStringNow(bool B)
+{
+ enum toStringNow = B ? "true" : "false";
+}
+
+/// ditto
+template toStringNow(string S)
+{
+ enum toStringNow = S;
+}
+
+/// ditto
+template toStringNow(char C)
+{
+ enum toStringNow = "" ~ C;
+}
+
+
+/********
+ * Parse unsigned integer literal from the start of string s.
+ * returns:
+ * .value = the integer literal as a string,
+ * .rest = the string following the integer literal
+ * Otherwise:
+ * .value = null,
+ * .rest = s
+ */
+
+template parseUinteger(const(char)[] s)
+{
+ static if (s.length == 0)
+ {
+ enum value = "";
+ enum rest = "";
+ }
+ else static if (s[0] >= '0' && s[0] <= '9')
+ {
+ enum value = s[0] ~ parseUinteger!(s[1..$]).value;
+ enum rest = parseUinteger!(s[1..$]).rest;
+ }
+ else
+ {
+ enum value = "";
+ enum rest = s;
+ }
+}
+
+/********
+Parse integer literal optionally preceded by $(D '-') from the start
+of string $(D s).
+
+Returns:
+ .value = the integer literal as a string,
+ .rest = the string following the integer literal
+
+Otherwise:
+ .value = null,
+ .rest = s
+*/
+
+template parseInteger(const(char)[] s)
+{
+ static if (s.length == 0)
+ {
+ enum value = "";
+ enum rest = "";
+ }
+ else static if (s[0] >= '0' && s[0] <= '9')
+ {
+ enum value = s[0] ~ parseUinteger!(s[1..$]).value;
+ enum rest = parseUinteger!(s[1..$]).rest;
+ }
+ else static if (s.length >= 2 &&
+ s[0] == '-' && s[1] >= '0' && s[1] <= '9')
+ {
+ enum value = s[0..2] ~ parseUinteger!(s[2..$]).value;
+ enum rest = parseUinteger!(s[2..$]).rest;
+ }
+ else
+ {
+ enum value = "";
+ enum rest = s;
+ }
+}
+
+unittest
+{
+ assert(parseUinteger!("1234abc").value == "1234");
+ assert(parseUinteger!("1234abc").rest == "abc");
+ assert(parseInteger!("-1234abc").value == "-1234");
+ assert(parseInteger!("-1234abc").rest == "abc");
+}
+
+/**
+Deprecated aliases held for backward compatibility.
+*/
+deprecated alias toStringNow ToString;
+/// Ditto
+deprecated alias parseUinteger ParseUinteger;
+/// Ditto
+deprecated alias parseUinteger ParseInteger;
+
+
+
+
+
+ Simple mode that handle D-Syntax (DLang Homepage ).
+
+ MIME types defined: text/x-d
+ .
+
diff --git a/public/vendor/codemirror/mode/dart/dart.js b/public/vendor/codemirror/mode/dart/dart.js
new file mode 100755
index 00000000..a49e218c
--- /dev/null
+++ b/public/vendor/codemirror/mode/dart/dart.js
@@ -0,0 +1,50 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"), require("../clike/clike"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror", "../clike/clike"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+ "use strict";
+
+ var keywords = ("this super static final const abstract class extends external factory " +
+ "implements get native operator set typedef with enum throw rethrow " +
+ "assert break case continue default in return new deferred async await " +
+ "try catch finally do else for if switch while import library export " +
+ "part of show hide is").split(" ");
+ var blockKeywords = "try catch finally do else for if switch while".split(" ");
+ var atoms = "true false null".split(" ");
+ var builtins = "void bool num int double dynamic var String".split(" ");
+
+ function set(words) {
+ var obj = {};
+ for (var i = 0; i < words.length; ++i) obj[words[i]] = true;
+ return obj;
+ }
+
+ CodeMirror.defineMIME("application/dart", {
+ name: "clike",
+ keywords: set(keywords),
+ multiLineStrings: true,
+ blockKeywords: set(blockKeywords),
+ builtin: set(builtins),
+ atoms: set(atoms),
+ hooks: {
+ "@": function(stream) {
+ stream.eatWhile(/[\w\$_]/);
+ return "meta";
+ }
+ }
+ });
+
+ CodeMirror.registerHelper("hintWords", "application/dart", keywords.concat(atoms).concat(builtins));
+
+ // This is needed to make loading through meta.js work.
+ CodeMirror.defineMode("dart", function(conf) {
+ return CodeMirror.getMode(conf, "application/dart");
+ }, "clike");
+});
diff --git a/public/vendor/codemirror/mode/dart/index.html b/public/vendor/codemirror/mode/dart/index.html
new file mode 100755
index 00000000..e79da5a8
--- /dev/null
+++ b/public/vendor/codemirror/mode/dart/index.html
@@ -0,0 +1,71 @@
+
+
+CodeMirror: Dart mode
+
+
+
+
+
+
+
+
+
+
+Dart mode
+
+
+import 'dart:math' show Random;
+
+void main() {
+ print(new Die(n: 12).roll());
+}
+
+// Define a class.
+class Die {
+ // Define a class variable.
+ static Random shaker = new Random();
+
+ // Define instance variables.
+ int sides, value;
+
+ // Define a method using shorthand syntax.
+ String toString() => '$value';
+
+ // Define a constructor.
+ Die({int n: 6}) {
+ if (4 <= n && n <= 20) {
+ sides = n;
+ } else {
+ // Support for errors and exceptions.
+ throw new ArgumentError(/* */);
+ }
+ }
+
+ // Define an instance method.
+ int roll() {
+ return value = shaker.nextInt(sides) + 1;
+ }
+}
+
+
+
+
+
+
diff --git a/public/vendor/codemirror/mode/diff/diff.js b/public/vendor/codemirror/mode/diff/diff.js
new file mode 100755
index 00000000..fe0305e7
--- /dev/null
+++ b/public/vendor/codemirror/mode/diff/diff.js
@@ -0,0 +1,47 @@
+// CodeMirror, copyright (c) by Marijn Haverbeke and others
+// Distributed under an MIT license: http://codemirror.net/LICENSE
+
+(function(mod) {
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
+ mod(require("../../lib/codemirror"));
+ else if (typeof define == "function" && define.amd) // AMD
+ define(["../../lib/codemirror"], mod);
+ else // Plain browser env
+ mod(CodeMirror);
+})(function(CodeMirror) {
+"use strict";
+
+CodeMirror.defineMode("diff", function() {
+
+ var TOKEN_NAMES = {
+ '+': 'positive',
+ '-': 'negative',
+ '@': 'meta'
+ };
+
+ return {
+ token: function(stream) {
+ var tw_pos = stream.string.search(/[\t ]+?$/);
+
+ if (!stream.sol() || tw_pos === 0) {
+ stream.skipToEnd();
+ return ("error " + (
+ TOKEN_NAMES[stream.string.charAt(0)] || '')).replace(/ $/, '');
+ }
+
+ var token_name = TOKEN_NAMES[stream.peek()] || stream.skipToEnd();
+
+ if (tw_pos === -1) {
+ stream.skipToEnd();
+ } else {
+ stream.pos = tw_pos;
+ }
+
+ return token_name;
+ }
+ };
+});
+
+CodeMirror.defineMIME("text/x-diff", "diff");
+
+});
diff --git a/public/vendor/codemirror/mode/diff/index.html b/public/vendor/codemirror/mode/diff/index.html
new file mode 100755
index 00000000..0af611fa
--- /dev/null
+++ b/public/vendor/codemirror/mode/diff/index.html
@@ -0,0 +1,117 @@
+
+
+CodeMirror: Diff mode
+
+
+
+
+
+
+
+
+
+
+Diff mode
+
+diff --git a/index.html b/index.html
+index c1d9156..7764744 100644
+--- a/index.html
++++ b/index.html
+@@ -95,7 +95,8 @@ StringStream.prototype = {
+
+