Code Snippets - Version 2.8.3

Version Description

Fixes potential security exploit; please update immediately

Download this release

Release Info

Developer bungeshea
Plugin Icon Code Snippets
Version 2.8.3
Comparing to
See all releases

Code changes from version 2.8.2 to 2.8.3

Files changed (99) hide show
  1. code-snippets.php +3 -3
  2. css/min/cmthemes/dracula.css +1 -1
  3. css/min/cmthemes/material.css +1 -1
  4. css/min/codemirror.css +1 -1
  5. js/min/codemirror.js +7 -7
  6. languages/code-snippets.mo +0 -0
  7. languages/code-snippets.po +0 -419
  8. languages/code-snippets.pot +47 -38
  9. php/admin-menus/class-settings-menu.php +1 -1
  10. php/class-admin.php +1 -1
  11. php/class-code-snippets.php +22 -4
  12. php/class-list-table.php +78 -54
  13. php/editor.php +1 -1
  14. php/settings/editor-preview.php +1 -1
  15. php/settings/render-fields.php +5 -5
  16. php/upgrade.php +1 -1
  17. readme.txt +10 -2
  18. trunk/code-snippets.php +0 -108
  19. trunk/css/font/code-snippets.eot +0 -0
  20. trunk/css/font/code-snippets.svg +0 -11
  21. trunk/css/font/code-snippets.ttf +0 -0
  22. trunk/css/font/code-snippets.woff +0 -0
  23. trunk/css/min/cmthemes/3024-day.css +0 -1
  24. trunk/css/min/cmthemes/3024-night.css +0 -1
  25. trunk/css/min/cmthemes/abcdef.css +0 -1
  26. trunk/css/min/cmthemes/ambiance-mobile.css +0 -1
  27. trunk/css/min/cmthemes/ambiance.css +0 -1
  28. trunk/css/min/cmthemes/base16-dark.css +0 -1
  29. trunk/css/min/cmthemes/base16-light.css +0 -1
  30. trunk/css/min/cmthemes/bespin.css +0 -1
  31. trunk/css/min/cmthemes/blackboard.css +0 -1
  32. trunk/css/min/cmthemes/cobalt.css +0 -1
  33. trunk/css/min/cmthemes/colorforth.css +0 -1
  34. trunk/css/min/cmthemes/dracula.css +0 -1
  35. trunk/css/min/cmthemes/duotone-dark.css +0 -1
  36. trunk/css/min/cmthemes/duotone-light.css +0 -1
  37. trunk/css/min/cmthemes/eclipse.css +0 -1
  38. trunk/css/min/cmthemes/elegant.css +0 -1
  39. trunk/css/min/cmthemes/erlang-dark.css +0 -1
  40. trunk/css/min/cmthemes/hopscotch.css +0 -1
  41. trunk/css/min/cmthemes/icecoder.css +0 -1
  42. trunk/css/min/cmthemes/isotope.css +0 -1
  43. trunk/css/min/cmthemes/lesser-dark.css +0 -1
  44. trunk/css/min/cmthemes/liquibyte.css +0 -1
  45. trunk/css/min/cmthemes/material.css +0 -1
  46. trunk/css/min/cmthemes/mbo.css +0 -1
  47. trunk/css/min/cmthemes/mdn-like.css +0 -1
  48. trunk/css/min/cmthemes/midnight.css +0 -1
  49. trunk/css/min/cmthemes/monokai.css +0 -1
  50. trunk/css/min/cmthemes/neat.css +0 -1
  51. trunk/css/min/cmthemes/neo.css +0 -1
  52. trunk/css/min/cmthemes/night.css +0 -1
  53. trunk/css/min/cmthemes/panda-syntax.css +0 -1
  54. trunk/css/min/cmthemes/paraiso-dark.css +0 -1
  55. trunk/css/min/cmthemes/paraiso-light.css +0 -1
  56. trunk/css/min/cmthemes/pastel-on-dark.css +0 -1
  57. trunk/css/min/cmthemes/railscasts.css +0 -1
  58. trunk/css/min/cmthemes/rubyblue.css +0 -1
  59. trunk/css/min/cmthemes/seti.css +0 -1
  60. trunk/css/min/cmthemes/solarized.css +0 -1
  61. trunk/css/min/cmthemes/the-matrix.css +0 -1
  62. trunk/css/min/cmthemes/tomorrow-night-bright.css +0 -1
  63. trunk/css/min/cmthemes/tomorrow-night-eighties.css +0 -1
  64. trunk/css/min/cmthemes/ttcn.css +0 -1
  65. trunk/css/min/cmthemes/twilight.css +0 -1
  66. trunk/css/min/cmthemes/vibrant-ink.css +0 -1
  67. trunk/css/min/cmthemes/xq-dark.css +0 -1
  68. trunk/css/min/cmthemes/xq-light.css +0 -1
  69. trunk/css/min/cmthemes/yeti.css +0 -1
  70. trunk/css/min/cmthemes/zenburn.css +0 -1
  71. trunk/css/min/codemirror.css +0 -1
  72. trunk/css/min/edit.css +0 -1
  73. trunk/css/min/manage.css +0 -1
  74. trunk/css/min/menu-icon.css +0 -1
  75. trunk/css/min/settings.css +0 -1
  76. trunk/css/min/tagit.css +0 -1
  77. trunk/js/min/codemirror.js +0 -7
  78. trunk/js/min/tag-it.js +0 -1
  79. trunk/languages/code-snippets-de_DE.mo +0 -0
  80. trunk/languages/code-snippets-de_DE.po +0 -1253
  81. trunk/languages/code-snippets-fr_FR.mo +0 -0
  82. trunk/languages/code-snippets-fr_FR.po +0 -821
  83. trunk/languages/code-snippets-it_IT.mo +0 -0
  84. trunk/languages/code-snippets-it_IT.po +0 -502
  85. trunk/languages/code-snippets-ja_JP.mo +0 -0
  86. trunk/languages/code-snippets-ja_JP.po +0 -569
  87. trunk/languages/code-snippets-nl_NL.mo +0 -0
  88. trunk/languages/code-snippets-nl_NL.po +0 -912
  89. trunk/languages/code-snippets-ru_RU.mo +0 -0
  90. trunk/languages/code-snippets-ru_RU.po +0 -874
  91. trunk/languages/code-snippets-sk_SK.mo +0 -0
  92. trunk/languages/code-snippets-sk_SK.po +0 -596
  93. trunk/languages/code-snippets-sr_RS.mo +0 -0
  94. trunk/languages/code-snippets-sr_RS.po +0 -571
  95. trunk/languages/code-snippets-zh_CN.mo +0 -0
  96. trunk/languages/code-snippets-zh_CN.po +0 -517
  97. trunk/languages/code-snippets.mo +0 -0
  98. trunk/languages/code-snippets.po +0 -419
  99. trunk/languages/code-snippets.pot +0 -762
code-snippets.php CHANGED
@@ -10,7 +10,7 @@
10
  * @author Shea Bunge <shea@bungeshea.com>
11
  * @copyright 2012-2017 Shea Bunge
12
  * @license MIT http://opensource.org/licenses/MIT
13
- * @version 2.8.2
14
  * @link https://github.com/sheabunge/code-snippets
15
  */
16
 
@@ -20,7 +20,7 @@ Plugin URI: https://github.com/sheabunge/code-snippets
20
  Description: An easy, clean and simple way to add code snippets to your site. No need to edit to your theme's functions.php file again!
21
  Author: Shea Bunge
22
  Author URI: https://bungeshea.com
23
- Version: 2.8.2
24
  License: MIT
25
  License URI: license.txt
26
  Text Domain: code-snippets
@@ -42,7 +42,7 @@ if ( ! defined( 'ABSPATH' ) ) {
42
  * @since 2.0
43
  * @var string A PHP-standardized version number string
44
  */
45
- define( 'CODE_SNIPPETS_VERSION', '2.8.2' );
46
 
47
  /**
48
  * The full path to the main file of this plugin
10
  * @author Shea Bunge <shea@bungeshea.com>
11
  * @copyright 2012-2017 Shea Bunge
12
  * @license MIT http://opensource.org/licenses/MIT
13
+ * @version 2.8.3
14
  * @link https://github.com/sheabunge/code-snippets
15
  */
16
 
20
  Description: An easy, clean and simple way to add code snippets to your site. No need to edit to your theme's functions.php file again!
21
  Author: Shea Bunge
22
  Author URI: https://bungeshea.com
23
+ Version: 2.8.3
24
  License: MIT
25
  License URI: license.txt
26
  Text Domain: code-snippets
42
  * @since 2.0
43
  * @var string A PHP-standardized version number string
44
  */
45
+ define( 'CODE_SNIPPETS_VERSION', '2.8.3' );
46
 
47
  /**
48
  * The full path to the main file of this plugin
css/min/cmthemes/dracula.css CHANGED
@@ -1 +1 @@
1
- .cm-s-dracula .CodeMirror-gutters,.cm-s-dracula.CodeMirror{background-color:#282a36!important;color:#f8f8f2!important;border:none}.cm-s-dracula .CodeMirror-gutters{}.cm-s-dracula .CodeMirror-cursor{border-left:solid thin #f8f8f0}.cm-s-dracula .CodeMirror-linenumber{color:#6d8a88}.cm-s-dracula .CodeMirror-activeline-background,.cm-s-dracula .CodeMirror-selected{background:rgba(255,255,255,.1)}.cm-s-dracula .CodeMirror-line::selection,.cm-s-dracula .CodeMirror-line>span::selection,.cm-s-dracula .CodeMirror-line>span>span::selection{background:rgba(255,255,255,.1)}.cm-s-dracula .CodeMirror-line::-moz-selection,.cm-s-dracula .CodeMirror-line>span::-moz-selection,.cm-s-dracula .CodeMirror-line>span>span::-moz-selection{background:rgba(255,255,255,.1)}.cm-s-dracula span.cm-comment{color:#6272a4}.cm-s-dracula span.cm-string,.cm-s-dracula span.cm-string-2{color:#f1fa8c}.cm-s-dracula span.cm-number{color:#bd93f9}.cm-s-dracula span.cm-variable{color:#50fa7b}.cm-s-dracula span.cm-variable-2{color:#fff}.cm-s-dracula span.cm-def{color:#ffb86c}.cm-s-dracula span.cm-keyword,.cm-s-dracula span.cm-operator{color:#ff79c6}.cm-s-dracula span.cm-atom{color:#bd93f9}.cm-s-dracula span.cm-meta{color:#f8f8f2}.cm-s-dracula span.cm-tag{color:#ff79c6}.cm-s-dracula span.cm-attribute,.cm-s-dracula span.cm-qualifier{color:#50fa7b}.cm-s-dracula span.cm-property{color:#66d9ef}.cm-s-dracula span.cm-builtin,.cm-s-dracula span.cm-variable-3{color:#50fa7b}.cm-s-dracula .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}
1
+ .cm-s-dracula .CodeMirror-gutters,.cm-s-dracula.CodeMirror{background-color:#282a36!important;color:#f8f8f2!important;border:none}.cm-s-dracula .CodeMirror-gutters{}.cm-s-dracula .CodeMirror-cursor{border-left:solid thin #f8f8f0}.cm-s-dracula .CodeMirror-linenumber{color:#6d8a88}.cm-s-dracula .CodeMirror-activeline-background,.cm-s-dracula .CodeMirror-selected{background:rgba(255,255,255,.1)}.cm-s-dracula .CodeMirror-line::selection,.cm-s-dracula .CodeMirror-line>span::selection,.cm-s-dracula .CodeMirror-line>span>span::selection{background:rgba(255,255,255,.1)}.cm-s-dracula .CodeMirror-line::-moz-selection,.cm-s-dracula .CodeMirror-line>span::-moz-selection,.cm-s-dracula .CodeMirror-line>span>span::-moz-selection{background:rgba(255,255,255,.1)}.cm-s-dracula span.cm-comment{color:#6272a4}.cm-s-dracula span.cm-string,.cm-s-dracula span.cm-string-2{color:#f1fa8c}.cm-s-dracula span.cm-number{color:#bd93f9}.cm-s-dracula span.cm-variable{color:#50fa7b}.cm-s-dracula span.cm-variable-2{color:#fff}.cm-s-dracula span.cm-def{color:#50fa7b}.cm-s-dracula span.cm-keyword,.cm-s-dracula span.cm-operator{color:#ff79c6}.cm-s-dracula span.cm-atom{color:#bd93f9}.cm-s-dracula span.cm-meta{color:#f8f8f2}.cm-s-dracula span.cm-tag{color:#ff79c6}.cm-s-dracula span.cm-attribute,.cm-s-dracula span.cm-qualifier{color:#50fa7b}.cm-s-dracula span.cm-property{color:#66d9ef}.cm-s-dracula span.cm-builtin{color:#50fa7b}.cm-s-dracula span.cm-variable-3{color:#ffb86c}.cm-s-dracula .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}
css/min/cmthemes/material.css CHANGED
@@ -1 +1 @@
1
- .cm-s-material{background-color:#263238;color:#e9eded}.cm-s-material .CodeMirror-gutters{background:#263238;color:#537f7e;border:none}.cm-s-material .CodeMirror-guttermarker,.cm-s-material .CodeMirror-guttermarker-subtle,.cm-s-material .CodeMirror-linenumber{color:#537f7e}.cm-s-material .CodeMirror-cursor{border-left:1px solid #f8f8f0}.cm-s-material div.CodeMirror-selected{background:rgba(255,255,255,.15)}.cm-s-material.CodeMirror-focused div.CodeMirror-selected{background:rgba(255,255,255,.1)}.cm-s-material .CodeMirror-line::selection,.cm-s-material .CodeMirror-line>span::selection,.cm-s-material .CodeMirror-line>span>span::selection{background:rgba(255,255,255,.1)}.cm-s-material .CodeMirror-line::-moz-selection,.cm-s-material .CodeMirror-line>span::-moz-selection,.cm-s-material .CodeMirror-line>span>span::-moz-selection{background:rgba(255,255,255,.1)}.cm-s-material .CodeMirror-activeline-background{background:rgba(0,0,0,0)}.cm-s-material .cm-keyword{color:#c792ea}.cm-s-material .cm-operator{color:#e9eded}.cm-s-material .cm-variable-2{color:#80cbc4}.cm-s-material .cm-builtin{color:#decb6b}.cm-s-material .cm-atom,.cm-s-material .cm-number{color:#f77669}.cm-s-material .cm-def{color:#e9eded}.cm-s-material .cm-string{color:#c3e88d}.cm-s-material .cm-string-2{color:#80cbc4}.cm-s-material .cm-comment{color:#546e7a}.cm-s-material .cm-variable{color:#82b1ff}.cm-s-material .cm-meta{color:#80cbc4}.cm-s-material .cm-attribute{color:#ffcb6b}.cm-s-material .cm-property{color:#80cbae}.cm-s-material .cm-qualifier,.cm-s-material .cm-variable-3{color:#decb6b}.cm-s-material .cm-tag{color:#ff5370}.cm-s-material .cm-error{color:#fff;background-color:#ec5f67}.cm-s-material .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}
1
+ .cm-s-material.CodeMirror{background-color:#263238;color:#e9eded}.cm-s-material .CodeMirror-gutters{background:#263238;color:#537f7e;border:none}.cm-s-material .CodeMirror-guttermarker,.cm-s-material .CodeMirror-guttermarker-subtle,.cm-s-material .CodeMirror-linenumber{color:#537f7e}.cm-s-material .CodeMirror-cursor{border-left:1px solid #f8f8f0}.cm-s-material div.CodeMirror-selected{background:rgba(255,255,255,.15)}.cm-s-material.CodeMirror-focused div.CodeMirror-selected{background:rgba(255,255,255,.1)}.cm-s-material .CodeMirror-line::selection,.cm-s-material .CodeMirror-line>span::selection,.cm-s-material .CodeMirror-line>span>span::selection{background:rgba(255,255,255,.1)}.cm-s-material .CodeMirror-line::-moz-selection,.cm-s-material .CodeMirror-line>span::-moz-selection,.cm-s-material .CodeMirror-line>span>span::-moz-selection{background:rgba(255,255,255,.1)}.cm-s-material .CodeMirror-activeline-background{background:rgba(0,0,0,0)}.cm-s-material .cm-keyword{color:#c792ea}.cm-s-material .cm-operator{color:#e9eded}.cm-s-material .cm-variable-2{color:#80cbc4}.cm-s-material .cm-builtin{color:#decb6b}.cm-s-material .cm-atom,.cm-s-material .cm-number{color:#f77669}.cm-s-material .cm-def{color:#e9eded}.cm-s-material .cm-string{color:#c3e88d}.cm-s-material .cm-string-2{color:#80cbc4}.cm-s-material .cm-comment{color:#546e7a}.cm-s-material .cm-variable{color:#82b1ff}.cm-s-material .cm-meta{color:#80cbc4}.cm-s-material .cm-attribute{color:#ffcb6b}.cm-s-material .cm-property{color:#80cbae}.cm-s-material .cm-qualifier,.cm-s-material .cm-variable-3{color:#decb6b}.cm-s-material .cm-tag{color:#ff5370}.cm-s-material .cm-error{color:#fff;background-color:#ec5f67}.cm-s-material .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}
css/min/codemirror.css CHANGED
@@ -1 +1 @@
1
- .CodeMirror{font-family:monospace;height:300px;color:#000}.CodeMirror-lines{padding:4px 0}.CodeMirror pre{padding:0 4px;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;border-width:0;background:0 0;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;-webkit-font-variant-ligatures:none;font-variant-ligatures:none}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.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;background-color:#7e7}@-moz-keyframes blink{50%{background-color:transparent}}@-webkit-keyframes blink{50%{background-color:transparent}}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;left:0;right:0;top:-50px;bottom:-20px;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.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-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,.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-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}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}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-30px;margin-right:-30px;padding-bottom:30px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:30px solid transparent}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{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;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-30px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:0 0!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.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}.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-code{outline:none}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{-moz-box-sizing:content-box;box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background:#ffa;background:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:''}span.CodeMirror-selectedtext{background:0 0}
1
+ .CodeMirror{font-family:monospace;height:300px;color:#000}.CodeMirror-lines{padding:4px 0}.CodeMirror pre{padding:0 4px;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;border-width:0;background:0 0;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;-webkit-font-variant-ligatures:contextual;font-variant-ligatures:contextual}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.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;background-color:#7e7}@-moz-keyframes blink{50%{background-color:transparent}}@-webkit-keyframes blink{50%{background-color:transparent}}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;left:0;right:0;top:-50px;bottom:-20px;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.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-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,.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-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}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}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-30px;margin-right:-30px;padding-bottom:30px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:30px solid transparent}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{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;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-30px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:0 0!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.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-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{-moz-box-sizing:content-box;box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background:#ffa;background:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:''}span.CodeMirror-selectedtext{background:0 0}
js/min/codemirror.js CHANGED
@@ -1,7 +1,7 @@
1
- !function(a,b){"object"==typeof exports&&"undefined"!=typeof module?module.exports=b():"function"==typeof define&&define.amd?define(b):a.CodeMirror=b()}(this,function(){"use strict";function a(a){return new RegExp("(^|\\s)"+a+"(?:$|\\s)\\s*")}function b(a){for(var b=a.childNodes.length;b>0;--b)a.removeChild(a.firstChild);return a}function c(a,c){return b(a).appendChild(c)}function d(a,b,c,d){var e=document.createElement(a);if(c&&(e.className=c),d&&(e.style.cssText=d),"string"==typeof b)e.appendChild(document.createTextNode(b));else if(b)for(var f=0;f<b.length;++f)e.appendChild(b[f]);return e}function e(a,b){if(3==b.nodeType&&(b=b.parentNode),a.contains)return a.contains(b);do if(11==b.nodeType&&(b=b.host),b==a)return!0;while(b=b.parentNode)}function f(){var a;try{a=document.activeElement}catch(b){a=document.body||null}for(;a&&a.root&&a.root.activeElement;)a=a.root.activeElement;return a}function g(b,c){var d=b.className;a(c).test(d)||(b.className+=(d?" ":"")+c)}function h(b,c){for(var d=b.split(" "),e=0;e<d.length;e++)d[e]&&!a(d[e]).test(c)&&(c+=" "+d[e]);return c}function i(a){var b=Array.prototype.slice.call(arguments,1);return function(){return a.apply(null,b)}}function j(a,b,c){b||(b={});for(var d in a)!a.hasOwnProperty(d)||c===!1&&b.hasOwnProperty(d)||(b[d]=a[d]);return b}function k(a,b,c,d,e){null==b&&(b=a.search(/[^\s\u00a0]/),b==-1&&(b=a.length));for(var f=d||0,g=e||0;;){var h=a.indexOf("\t",f);if(h<0||h>=b)return g+(b-f);g+=h-f,g+=c-g%c,f=h+1}}function l(){this.id=null}function m(a,b){for(var c=0;c<a.length;++c)if(a[c]==b)return c;return-1}function n(a,b,c){for(var d=0,e=0;;){var f=a.indexOf("\t",d);f==-1&&(f=a.length);var g=f-d;if(f==a.length||e+g>=b)return d+Math.min(g,b-e);if(e+=f-d,e+=c-e%c,d=f+1,e>=b)return d}}function o(a){for(;Hg.length<=a;)Hg.push(p(Hg)+" ");return Hg[a]}function p(a){return a[a.length-1]}function q(a,b){for(var c=[],d=0;d<a.length;d++)c[d]=b(a[d],d);return c}function r(a,b,c){for(var d=0,e=c(b);d<a.length&&c(a[d])<=e;)d++;a.splice(d,0,b)}function s(){}function t(a,b){var c;return Object.create?c=Object.create(a):(s.prototype=a,c=new s),b&&j(b,c),c}function u(a){return/\w/.test(a)||a>"€"&&(a.toUpperCase()!=a.toLowerCase()||Ig.test(a))}function v(a,b){return b?!!(b.source.indexOf("\\w")>-1&&u(a))||b.test(a):u(a)}function w(a){for(var b in a)if(a.hasOwnProperty(b)&&a[b])return!1;return!0}function x(a){return a.charCodeAt(0)>=768&&Jg.test(a)}function y(a,b,c){var e=this;this.input=c,e.scrollbarFiller=d("div",null,"CodeMirror-scrollbar-filler"),e.scrollbarFiller.setAttribute("cm-not-content","true"),e.gutterFiller=d("div",null,"CodeMirror-gutter-filler"),e.gutterFiller.setAttribute("cm-not-content","true"),e.lineDiv=d("div",null,"CodeMirror-code"),e.selectionDiv=d("div",null,null,"position: relative; z-index: 1"),e.cursorDiv=d("div",null,"CodeMirror-cursors"),e.measure=d("div",null,"CodeMirror-measure"),e.lineMeasure=d("div",null,"CodeMirror-measure"),e.lineSpace=d("div",[e.measure,e.lineMeasure,e.selectionDiv,e.cursorDiv,e.lineDiv],null,"position: relative; outline: none"),e.mover=d("div",[d("div",[e.lineSpace],"CodeMirror-lines")],null,"position: relative"),e.sizer=d("div",[e.mover],"CodeMirror-sizer"),e.sizerWidth=null,e.heightForcer=d("div",null,null,"position: absolute; height: "+Cg+"px; width: 1px;"),e.gutters=d("div",null,"CodeMirror-gutters"),e.lineGutter=null,e.scroller=d("div",[e.sizer,e.heightForcer,e.gutters],"CodeMirror-scroll"),e.scroller.setAttribute("tabIndex","-1"),e.wrapper=d("div",[e.scrollbarFiller,e.gutterFiller,e.scroller],"CodeMirror"),gg&&hg<8&&(e.gutters.style.zIndex=-1,e.scroller.style.paddingRight=0),ig||dg&&qg||(e.scroller.draggable=!0),a&&(a.appendChild?a.appendChild(e.wrapper):a(e.wrapper)),e.viewFrom=e.viewTo=b.first,e.reportedViewFrom=e.reportedViewTo=b.first,e.view=[],e.renderedView=null,e.externalMeasured=null,e.viewOffset=0,e.lastWrapHeight=e.lastWrapWidth=0,e.updateLineNumbers=null,e.nativeBarWidth=e.barHeight=e.barWidth=0,e.scrollbarsClipped=!1,e.lineNumWidth=e.lineNumInnerWidth=e.lineNumChars=null,e.alignWidgets=!1,e.cachedCharWidth=e.cachedTextHeight=e.cachedPaddingH=null,e.maxLine=null,e.maxLineLength=0,e.maxLineChanged=!1,e.wheelDX=e.wheelDY=e.wheelStartX=e.wheelStartY=null,e.shift=!1,e.selForContextMenu=null,e.activeTouch=null,c.init(e)}function z(a,b){if(b-=a.first,b<0||b>=a.size)throw new Error("There is no line "+(b+a.first)+" in the document.");for(var c=a;!c.lines;)for(var d=0;;++d){var e=c.children[d],f=e.chunkSize();if(b<f){c=e;break}b-=f}return c.lines[b]}function A(a,b,c){var d=[],e=b.line;return a.iter(b.line,c.line+1,function(a){var f=a.text;e==c.line&&(f=f.slice(0,c.ch)),e==b.line&&(f=f.slice(b.ch)),d.push(f),++e}),d}function B(a,b,c){var d=[];return a.iter(b,c,function(a){d.push(a.text)}),d}function C(a,b){var c=b-a.height;if(c)for(var d=a;d;d=d.parent)d.height+=c}function D(a){if(null==a.parent)return null;for(var b=a.parent,c=m(b.lines,a),d=b.parent;d;b=d,d=d.parent)for(var e=0;d.children[e]!=b;++e)c+=d.children[e].chunkSize();return c+b.first}function E(a,b){var c=a.first;a:do{for(var d=0;d<a.children.length;++d){var e=a.children[d],f=e.height;if(b<f){a=e;continue a}b-=f,c+=e.chunkSize()}return c}while(!a.lines);for(var g=0;g<a.lines.length;++g){var h=a.lines[g],i=h.height;if(b<i)break;b-=i}return c+g}function F(a,b){return b>=a.first&&b<a.first+a.size}function G(a,b){return String(a.lineNumberFormatter(b+a.firstLineNumber))}function H(a,b){return this instanceof H?(this.line=a,void(this.ch=b)):new H(a,b)}function I(a,b){return a.line-b.line||a.ch-b.ch}function J(a){return H(a.line,a.ch)}function K(a,b){return I(a,b)<0?b:a}function L(a,b){return I(a,b)<0?a:b}function M(a,b){return Math.max(a.first,Math.min(b,a.first+a.size-1))}function N(a,b){if(b.line<a.first)return H(a.first,0);var c=a.first+a.size-1;return b.line>c?H(c,z(a,c).text.length):O(b,z(a,b.line).text.length)}function O(a,b){var c=a.ch;return null==c||c>b?H(a.line,b):c<0?H(a.line,0):a}function P(a,b){for(var c=[],d=0;d<b.length;d++)c[d]=N(a,b[d]);return c}function Q(){Kg=!0}function R(){Lg=!0}function S(a,b,c){this.marker=a,this.from=b,this.to=c}function T(a,b){if(a)for(var c=0;c<a.length;++c){var d=a[c];if(d.marker==b)return d}}function U(a,b){for(var c,d=0;d<a.length;++d)a[d]!=b&&(c||(c=[])).push(a[d]);return c}function V(a,b){a.markedSpans=a.markedSpans?a.markedSpans.concat([b]):[b],b.marker.attachLine(a)}function W(a,b,c){var d;if(a)for(var e=0;e<a.length;++e){var f=a[e],g=f.marker,h=null==f.from||(g.inclusiveLeft?f.from<=b:f.from<b);if(h||f.from==b&&"bookmark"==g.type&&(!c||!f.marker.insertLeft)){var i=null==f.to||(g.inclusiveRight?f.to>=b:f.to>b);(d||(d=[])).push(new S(g,f.from,i?null:f.to))}}return d}function X(a,b,c){var d;if(a)for(var e=0;e<a.length;++e){var f=a[e],g=f.marker,h=null==f.to||(g.inclusiveRight?f.to>=b:f.to>b);if(h||f.from==b&&"bookmark"==g.type&&(!c||f.marker.insertLeft)){var i=null==f.from||(g.inclusiveLeft?f.from<=b:f.from<b);(d||(d=[])).push(new S(g,i?null:f.from-b,null==f.to?null:f.to-b))}}return d}function Y(a,b){if(b.full)return null;var c=F(a,b.from.line)&&z(a,b.from.line).markedSpans,d=F(a,b.to.line)&&z(a,b.to.line).markedSpans;if(!c&&!d)return null;var e=b.from.ch,f=b.to.ch,g=0==I(b.from,b.to),h=W(c,e,g),i=X(d,f,g),j=1==b.text.length,k=p(b.text).length+(j?e:0);if(h)for(var l=0;l<h.length;++l){var m=h[l];if(null==m.to){var n=T(i,m.marker);n?j&&(m.to=null==n.to?null:n.to+k):m.to=e}}if(i)for(var o=0;o<i.length;++o){var q=i[o];if(null!=q.to&&(q.to+=k),null==q.from){var r=T(h,q.marker);r||(q.from=k,j&&(h||(h=[])).push(q))}else q.from+=k,j&&(h||(h=[])).push(q)}h&&(h=Z(h)),i&&i!=h&&(i=Z(i));var s=[h];if(!j){var t,u=b.text.length-2;if(u>0&&h)for(var v=0;v<h.length;++v)null==h[v].to&&(t||(t=[])).push(new S(h[v].marker,null,null));for(var w=0;w<u;++w)s.push(t);s.push(i)}return s}function Z(a){for(var b=0;b<a.length;++b){var c=a[b];null!=c.from&&c.from==c.to&&c.marker.clearWhenEmpty!==!1&&a.splice(b--,1)}return a.length?a:null}function $(a,b,c){var d=null;if(a.iter(b.line,c.line+1,function(a){if(a.markedSpans)for(var b=0;b<a.markedSpans.length;++b){var c=a.markedSpans[b].marker;!c.readOnly||d&&m(d,c)!=-1||(d||(d=[])).push(c)}}),!d)return null;for(var e=[{from:b,to:c}],f=0;f<d.length;++f)for(var g=d[f],h=g.find(0),i=0;i<e.length;++i){var j=e[i];if(!(I(j.to,h.from)<0||I(j.from,h.to)>0)){var k=[i,1],l=I(j.from,h.from),n=I(j.to,h.to);(l<0||!g.inclusiveLeft&&!l)&&k.push({from:j.from,to:h.from}),(n>0||!g.inclusiveRight&&!n)&&k.push({from:h.to,to:j.to}),e.splice.apply(e,k),i+=k.length-1}}return e}function _(a){var b=a.markedSpans;if(b){for(var c=0;c<b.length;++c)b[c].marker.detachLine(a);a.markedSpans=null}}function aa(a,b){if(b){for(var c=0;c<b.length;++c)b[c].marker.attachLine(a);a.markedSpans=b}}function ba(a){return a.inclusiveLeft?-1:0}function ca(a){return a.inclusiveRight?1:0}function da(a,b){var c=a.lines.length-b.lines.length;if(0!=c)return c;var d=a.find(),e=b.find(),f=I(d.from,e.from)||ba(a)-ba(b);if(f)return-f;var g=I(d.to,e.to)||ca(a)-ca(b);return g?g:b.id-a.id}function ea(a,b){var c,d=Lg&&a.markedSpans;if(d)for(var e=void 0,f=0;f<d.length;++f)e=d[f],e.marker.collapsed&&null==(b?e.from:e.to)&&(!c||da(c,e.marker)<0)&&(c=e.marker);return c}function fa(a){return ea(a,!0)}function ga(a){return ea(a,!1)}function ha(a,b,c,d,e){var f=z(a,b),g=Lg&&f.markedSpans;if(g)for(var h=0;h<g.length;++h){var i=g[h];if(i.marker.collapsed){var j=i.marker.find(0),k=I(j.from,c)||ba(i.marker)-ba(e),l=I(j.to,d)||ca(i.marker)-ca(e);if(!(k>=0&&l<=0||k<=0&&l>=0)&&(k<=0&&(i.marker.inclusiveRight&&e.inclusiveLeft?I(j.to,c)>=0:I(j.to,c)>0)||k>=0&&(i.marker.inclusiveRight&&e.inclusiveLeft?I(j.from,d)<=0:I(j.from,d)<0)))return!0}}}function ia(a){for(var b;b=fa(a);)a=b.find(-1,!0).line;return a}function ja(a){for(var b,c;b=ga(a);)a=b.find(1,!0).line,(c||(c=[])).push(a);return c}function ka(a,b){var c=z(a,b),d=ia(c);return c==d?b:D(d)}function la(a,b){if(b>a.lastLine())return b;var c,d=z(a,b);if(!ma(a,d))return b;for(;c=ga(d);)d=c.find(1,!0).line;return D(d)+1}function ma(a,b){var c=Lg&&b.markedSpans;if(c)for(var d=void 0,e=0;e<c.length;++e)if(d=c[e],d.marker.collapsed){if(null==d.from)return!0;if(!d.marker.widgetNode&&0==d.from&&d.marker.inclusiveLeft&&na(a,b,d))return!0}}function na(a,b,c){if(null==c.to){var d=c.marker.find(1,!0);return na(a,d.line,T(d.line.markedSpans,c.marker))}if(c.marker.inclusiveRight&&c.to==b.text.length)return!0;for(var e=void 0,f=0;f<b.markedSpans.length;++f)if(e=b.markedSpans[f],e.marker.collapsed&&!e.marker.widgetNode&&e.from==c.to&&(null==e.to||e.to!=c.from)&&(e.marker.inclusiveLeft||c.marker.inclusiveRight)&&na(a,b,e))return!0}function oa(a){a=ia(a);for(var b=0,c=a.parent,d=0;d<c.lines.length;++d){var e=c.lines[d];if(e==a)break;b+=e.height}for(var f=c.parent;f;c=f,f=c.parent)for(var g=0;g<f.children.length;++g){var h=f.children[g];if(h==c)break;b+=h.height}return b}function pa(a){if(0==a.height)return 0;for(var b,c=a.text.length,d=a;b=fa(d);){var e=b.find(0,!0);d=e.from.line,c+=e.from.ch-e.to.ch}for(d=a;b=ga(d);){var f=b.find(0,!0);c-=d.text.length-f.from.ch,d=f.to.line,c+=d.text.length-f.to.ch}return c}function qa(a){var b=a.display,c=a.doc;b.maxLine=z(c,c.first),b.maxLineLength=pa(b.maxLine),b.maxLineChanged=!0,c.iter(function(a){var c=pa(a);c>b.maxLineLength&&(b.maxLineLength=c,b.maxLine=a)})}function ra(a,b,c,d){if(!a)return d(b,c,"ltr");for(var e=!1,f=0;f<a.length;++f){var g=a[f];(g.from<c&&g.to>b||b==c&&g.to==b)&&(d(Math.max(g.from,b),Math.min(g.to,c),1==g.level?"rtl":"ltr"),e=!0)}e||d(b,c,"ltr")}function sa(a){return a.level%2?a.to:a.from}function ta(a){return a.level%2?a.from:a.to}function ua(a){var b=Ba(a);return b?sa(b[0]):0}function va(a){var b=Ba(a);return b?ta(p(b)):a.text.length}function wa(a,b,c){var d=a[0].level;return b==d||c!=d&&b<c}function xa(a,b){var c;Mg=null;for(var d=0;d<a.length;++d){var e=a[d];if(e.from<b&&e.to>b)return d;if(e.from==b||e.to==b){if(null!=c)return wa(a,e.level,a[c].level)?(e.from!=e.to&&(Mg=c),d):(e.from!=e.to&&(Mg=d),c);c=d}}return c}function ya(a,b,c,d){if(!d)return b+c;do b+=c;while(b>0&&x(a.text.charAt(b)));return b}function za(a,b,c,d){var e=Ba(a);if(!e)return Aa(a,b,c,d);for(var f=xa(e,b),g=e[f],h=ya(a,b,g.level%2?-c:c,d);;){if(h>g.from&&h<g.to)return h;if(h==g.from||h==g.to)return xa(e,h)==f?h:(g=e[f+=c],c>0==g.level%2?g.to:g.from);if(g=e[f+=c],!g)return null;h=c>0==g.level%2?ya(a,g.to,-1,d):ya(a,g.from,1,d)}}function Aa(a,b,c,d){var e=b+c;if(d)for(;e>0&&x(a.text.charAt(e));)e+=c;return e<0||e>a.text.length?null:e}function Ba(a){var b=a.order;return null==b&&(b=a.order=Ng(a.text)),b}function Ca(a,b){return a._handlers&&a._handlers[b]||Og}function Da(a,b,c){if(a.removeEventListener)a.removeEventListener(b,c,!1);else if(a.detachEvent)a.detachEvent("on"+b,c);else{var d=a._handlers,e=d&&d[b];if(e){var f=m(e,c);f>-1&&(d[b]=e.slice(0,f).concat(e.slice(f+1)))}}}function Ea(a,b){var c=Ca(a,b);if(c.length)for(var d=Array.prototype.slice.call(arguments,2),e=0;e<c.length;++e)c[e].apply(null,d)}function Fa(a,b,c){return"string"==typeof b&&(b={type:b,preventDefault:function(){this.defaultPrevented=!0}}),Ea(a,c||b.type,a,b),La(b)||b.codemirrorIgnore}function Ga(a){var b=a._handlers&&a._handlers.cursorActivity;if(b)for(var c=a.curOp.cursorActivityHandlers||(a.curOp.cursorActivityHandlers=[]),d=0;d<b.length;++d)m(c,b[d])==-1&&c.push(b[d])}function Ha(a,b){return Ca(a,b).length>0}function Ia(a){a.prototype.on=function(a,b){Pg(this,a,b)},a.prototype.off=function(a,b){Da(this,a,b)}}function Ja(a){a.preventDefault?a.preventDefault():a.returnValue=!1}function Ka(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=!0}function La(a){return null!=a.defaultPrevented?a.defaultPrevented:0==a.returnValue}function Ma(a){Ja(a),Ka(a)}function Na(a){return a.target||a.srcElement}function Oa(a){var b=a.which;return null==b&&(1&a.button?b=1:2&a.button?b=3:4&a.button&&(b=2)),rg&&a.ctrlKey&&1==b&&(b=3),b}function Pa(a){if(null==Ag){var b=d("span","​");c(a,d("span",[b,document.createTextNode("x")])),0!=a.firstChild.offsetHeight&&(Ag=b.offsetWidth<=1&&b.offsetHeight>2&&!(gg&&hg<8))}var e=Ag?d("span","​"):d("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return e.setAttribute("cm-text",""),e}function Qa(a){if(null!=Bg)return Bg;var d=c(a,document.createTextNode("AخA")),e=vg(d,0,1).getBoundingClientRect(),f=vg(d,1,2).getBoundingClientRect();return b(a),!(!e||e.left==e.right)&&(Bg=f.right-e.right<3)}function Ra(a){if(null!=Ug)return Ug;var b=c(a,d("span","x")),e=b.getBoundingClientRect(),f=vg(b,0,1).getBoundingClientRect();return Ug=Math.abs(e.left-f.left)>1}function Sa(a,b){arguments.length>2&&(b.dependencies=Array.prototype.slice.call(arguments,2)),Vg[a]=b}function Ta(a,b){Wg[a]=b}function Ua(a){if("string"==typeof a&&Wg.hasOwnProperty(a))a=Wg[a];else if(a&&"string"==typeof a.name&&Wg.hasOwnProperty(a.name)){var b=Wg[a.name];"string"==typeof b&&(b={name:b}),a=t(b,a),a.name=b.name}else{if("string"==typeof a&&/^[\w\-]+\/[\w\-]+\+xml$/.test(a))return Ua("application/xml");if("string"==typeof a&&/^[\w\-]+\/[\w\-]+\+json$/.test(a))return Ua("application/json")}return"string"==typeof a?{name:a}:a||{name:"null"}}function Va(a,b){b=Ua(b);var c=Vg[b.name];if(!c)return Va(a,"text/plain");var d=c(a,b);if(Xg.hasOwnProperty(b.name)){var e=Xg[b.name];for(var f in e)e.hasOwnProperty(f)&&(d.hasOwnProperty(f)&&(d["_"+f]=d[f]),d[f]=e[f])}if(d.name=b.name,b.helperType&&(d.helperType=b.helperType),b.modeProps)for(var g in b.modeProps)d[g]=b.modeProps[g];return d}function Wa(a,b){var c=Xg.hasOwnProperty(a)?Xg[a]:Xg[a]={};j(b,c)}function Xa(a,b){if(b===!0)return b;if(a.copyState)return a.copyState(b);var c={};for(var d in b){var e=b[d];e instanceof Array&&(e=e.concat([])),c[d]=e}return c}function Ya(a,b){for(var c;a.innerMode&&(c=a.innerMode(b),c&&c.mode!=a);)b=c.state,a=c.mode;return c||{mode:a,state:b}}function Za(a,b,c){return!a.startState||a.startState(b,c)}function $a(a,b,c,d){var e=[a.state.modeGen],f={};gb(a,b.text,a.doc.mode,c,function(a,b){return e.push(a,b)},f,d);for(var g=function(c){var d=a.state.overlays[c],g=1,h=0;gb(a,b.text,d.mode,!0,function(a,b){for(var c=g;h<a;){var f=e[g];f>a&&e.splice(g,1,a,e[g+1],f),g+=2,h=Math.min(a,f)}if(b)if(d.opaque)e.splice(c,g-c,a,"overlay "+b),g=c+2;else for(;c<g;c+=2){var i=e[c+1];e[c+1]=(i?i+" ":"")+"overlay "+b}},f)},h=0;h<a.state.overlays.length;++h)g(h);return{styles:e,classes:f.bgClass||f.textClass?f:null}}function _a(a,b,c){if(!b.styles||b.styles[0]!=a.state.modeGen){var d=ab(a,D(b)),e=$a(a,b,b.text.length>a.options.maxHighlightLength?Xa(a.doc.mode,d):d);b.stateAfter=d,b.styles=e.styles,e.classes?b.styleClasses=e.classes:b.styleClasses&&(b.styleClasses=null),c===a.doc.frontier&&a.doc.frontier++}return b.styles}function ab(a,b,c){var d=a.doc,e=a.display;if(!d.mode.startState)return!0;var f=hb(a,b,c),g=f>d.first&&z(d,f-1).stateAfter;return g=g?Xa(d.mode,g):Za(d.mode),d.iter(f,b,function(c){bb(a,c.text,g);var h=f==b-1||f%5==0||f>=e.viewFrom&&f<e.viewTo;c.stateAfter=h?Xa(d.mode,g):null,++f}),c&&(d.frontier=f),g}function bb(a,b,c,d){var e=a.doc.mode,f=new Yg(b,a.options.tabSize);for(f.start=f.pos=d||0,""==b&&cb(e,c);!f.eol();)db(e,f,c),f.start=f.pos}function cb(a,b){if(a.blankLine)return a.blankLine(b);if(a.innerMode){var c=Ya(a,b);return c.mode.blankLine?c.mode.blankLine(c.state):void 0}}function db(a,b,c,d){for(var e=0;e<10;e++){d&&(d[0]=Ya(a,c).mode);var f=a.token(b,c);if(b.pos>b.start)return f}throw new Error("Mode "+a.name+" failed to advance stream.")}function eb(a,b,c,d){var e,f=function(a){return{start:l.start,end:l.pos,string:l.current(),type:e||null,state:a?Xa(g.mode,k):k}},g=a.doc,h=g.mode;b=N(g,b);var i,j=z(g,b.line),k=ab(a,b.line,c),l=new Yg(j.text,a.options.tabSize);for(d&&(i=[]);(d||l.pos<b.ch)&&!l.eol();)l.start=l.pos,e=db(h,l,k),d&&i.push(f(!0));return d?i:f()}function fb(a,b){if(a)for(;;){var c=a.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!c)break;a=a.slice(0,c.index)+a.slice(c.index+c[0].length);var d=c[1]?"bgClass":"textClass";null==b[d]?b[d]=c[2]:new RegExp("(?:^|s)"+c[2]+"(?:$|s)").test(b[d])||(b[d]+=" "+c[2])}return a}function gb(a,b,c,d,e,f,g){var h=c.flattenSpans;null==h&&(h=a.options.flattenSpans);var i,j=0,k=null,l=new Yg(b,a.options.tabSize),m=a.options.addModeClass&&[null];for(""==b&&fb(cb(c,d),f);!l.eol();){if(l.pos>a.options.maxHighlightLength?(h=!1,g&&bb(a,b,d,l.pos),l.pos=b.length,i=null):i=fb(db(c,l,d,m),f),m){var n=m[0].name;n&&(i="m-"+(i?n+" "+i:n))}if(!h||k!=i){for(;j<l.start;)j=Math.min(l.start,j+5e3),e(j,k);k=i}l.start=l.pos}for(;j<l.pos;){var o=Math.min(l.pos,j+5e3);e(o,k),j=o}}function hb(a,b,c){for(var d,e,f=a.doc,g=c?-1:b-(a.doc.mode.innerMode?1e3:100),h=b;h>g;--h){if(h<=f.first)return f.first;var i=z(f,h-1);if(i.stateAfter&&(!c||h<=f.frontier))return h;var j=k(i.text,null,a.options.tabSize);(null==e||d>j)&&(e=h-1,d=j)}return e}function ib(a,b,c){this.text=a,aa(this,b),this.height=c?c(this):1}function jb(a,b,c,d){a.text=b,a.stateAfter&&(a.stateAfter=null),a.styles&&(a.styles=null),null!=a.order&&(a.order=null),_(a),aa(a,c);var e=d?d(a):1;e!=a.height&&C(a,e)}function kb(a){a.parent=null,_(a)}function lb(a,b){if(!a||/^\s*$/.test(a))return null;var c=b.addModeClass?_g:$g;return c[a]||(c[a]=a.replace(/\S+/g,"cm-$&"))}function mb(a,b){var c=d("span",null,null,ig?"padding-right: .1px":null),e={pre:d("pre",[c],"CodeMirror-line"),content:c,col:0,pos:0,cm:a,trailingSpace:!1,splitSpaces:(gg||ig)&&a.getOption("lineWrapping")};b.measure={};for(var f=0;f<=(b.rest?b.rest.length:0);f++){var g=f?b.rest[f-1]:b.line,i=void 0;e.pos=0,e.addToken=ob,Qa(a.display.measure)&&(i=Ba(g))&&(e.addToken=qb(e.addToken,i)),e.map=[];var j=b!=a.display.externalMeasured&&D(g);sb(g,e,_a(a,g,j)),g.styleClasses&&(g.styleClasses.bgClass&&(e.bgClass=h(g.styleClasses.bgClass,e.bgClass||"")),g.styleClasses.textClass&&(e.textClass=h(g.styleClasses.textClass,e.textClass||""))),0==e.map.length&&e.map.push(0,0,e.content.appendChild(Pa(a.display.measure))),0==f?(b.measure.map=e.map,b.measure.cache={}):((b.measure.maps||(b.measure.maps=[])).push(e.map),(b.measure.caches||(b.measure.caches=[])).push({}))}if(ig){var k=e.content.lastChild;(/\bcm-tab\b/.test(k.className)||k.querySelector&&k.querySelector(".cm-tab"))&&(e.content.className="cm-tab-wrap-hack")}return Ea(a,"renderLine",a,b.line,e.pre),e.pre.className&&(e.textClass=h(e.pre.className,e.textClass||"")),e}function nb(a){var b=d("span","•","cm-invalidchar");return b.title="\\u"+a.charCodeAt(0).toString(16),b.setAttribute("aria-label",b.title),b}function ob(a,b,c,e,f,g,h){if(b){var i,j=a.splitSpaces?pb(b,a.trailingSpace):b,k=a.cm.state.specialChars,l=!1;if(k.test(b)){i=document.createDocumentFragment();for(var m=0;;){k.lastIndex=m;var n=k.exec(b),p=n?n.index-m:b.length-m;if(p){var q=document.createTextNode(j.slice(m,m+p));gg&&hg<9?i.appendChild(d("span",[q])):i.appendChild(q),a.map.push(a.pos,a.pos+p,q),a.col+=p,a.pos+=p}if(!n)break;m+=p+1;var r=void 0;if("\t"==n[0]){var s=a.cm.options.tabSize,t=s-a.col%s;r=i.appendChild(d("span",o(t),"cm-tab")),r.setAttribute("role","presentation"),r.setAttribute("cm-text","\t"),a.col+=t}else"\r"==n[0]||"\n"==n[0]?(r=i.appendChild(d("span","\r"==n[0]?"␍":"␤","cm-invalidchar")),r.setAttribute("cm-text",n[0]),a.col+=1):(r=a.cm.options.specialCharPlaceholder(n[0]),r.setAttribute("cm-text",n[0]),gg&&hg<9?i.appendChild(d("span",[r])):i.appendChild(r),a.col+=1);a.map.push(a.pos,a.pos+1,r),a.pos++}}else a.col+=b.length,i=document.createTextNode(j),a.map.push(a.pos,a.pos+b.length,i),gg&&hg<9&&(l=!0),a.pos+=b.length;if(a.trailingSpace=32==j.charCodeAt(b.length-1),c||e||f||l||h){var u=c||"";e&&(u+=e),f&&(u+=f);var v=d("span",[i],u,h);return g&&(v.title=g),a.content.appendChild(v)}a.content.appendChild(i)}}function pb(a,b){if(a.length>1&&!/ /.test(a))return a;for(var c=b,d="",e=0;e<a.length;e++){var f=a.charAt(e);" "!=f||!c||e!=a.length-1&&32!=a.charCodeAt(e+1)||(f=" "),d+=f,c=" "==f}return d}function qb(a,b){return function(c,d,e,f,g,h,i){e=e?e+" cm-force-border":"cm-force-border";for(var j=c.pos,k=j+d.length;;){for(var l=void 0,m=0;m<b.length&&(l=b[m],!(l.to>j&&l.from<=j));m++);if(l.to>=k)return a(c,d,e,f,g,h,i);a(c,d.slice(0,l.to-j),e,f,null,h,i),f=null,d=d.slice(l.to-j),j=l.to}}}function rb(a,b,c,d){var e=!d&&c.widgetNode;e&&a.map.push(a.pos,a.pos+b,e),!d&&a.cm.display.input.needsContentAttribute&&(e||(e=a.content.appendChild(document.createElement("span"))),e.setAttribute("cm-marker",c.id)),e&&(a.cm.display.input.setUneditable(e),a.content.appendChild(e)),a.pos+=b,a.trailingSpace=!1}function sb(a,b,c){var d=a.markedSpans,e=a.text,f=0;if(d)for(var g,h,i,j,k,l,m,n=e.length,o=0,p=1,q="",r=0;;){if(r==o){i=j=k=l=h="",m=null,r=1/0;for(var s=[],t=void 0,u=0;u<d.length;++u){var v=d[u],w=v.marker;"bookmark"==w.type&&v.from==o&&w.widgetNode?s.push(w):v.from<=o&&(null==v.to||v.to>o||w.collapsed&&v.to==o&&v.from==o)?(null!=v.to&&v.to!=o&&r>v.to&&(r=v.to,j=""),w.className&&(i+=" "+w.className),w.css&&(h=(h?h+";":"")+w.css),w.startStyle&&v.from==o&&(k+=" "+w.startStyle),w.endStyle&&v.to==r&&(t||(t=[])).push(w.endStyle,v.to),w.title&&!l&&(l=w.title),w.collapsed&&(!m||da(m.marker,w)<0)&&(m=v)):v.from>o&&r>v.from&&(r=v.from)}if(t)for(var x=0;x<t.length;x+=2)t[x+1]==r&&(j+=" "+t[x]);if(!m||m.from==o)for(var y=0;y<s.length;++y)rb(b,0,s[y]);if(m&&(m.from||0)==o){if(rb(b,(null==m.to?n+1:m.to)-o,m.marker,null==m.from),null==m.to)return;m.to==o&&(m=!1)}}if(o>=n)break;for(var z=Math.min(n,r);;){if(q){var A=o+q.length;if(!m){var B=A>z?q.slice(0,z-o):q;b.addToken(b,B,g?g+i:i,k,o+B.length==r?j:"",l,h)}if(A>=z){q=q.slice(z-o),o=z;break}o=A,k=""}q=e.slice(f,f=c[p++]),g=lb(c[p++],b.cm.options)}}else for(var C=1;C<c.length;C+=2)b.addToken(b,e.slice(f,f=c[C]),lb(c[C+1],b.cm.options))}function tb(a,b,c){this.line=b,this.rest=ja(b),this.size=this.rest?D(p(this.rest))-c+1:1,this.node=this.text=null,this.hidden=ma(a,b)}function ub(a,b,c){for(var d,e=[],f=b;f<c;f=d){var g=new tb(a.doc,z(a.doc,f),f);d=f+g.size,e.push(g)}return e}function vb(a){ah?ah.ops.push(a):a.ownsGroup=ah={ops:[a],delayedCallbacks:[]}}function wb(a){var b=a.delayedCallbacks,c=0;do{for(;c<b.length;c++)b[c].call(null);for(var d=0;d<a.ops.length;d++){var e=a.ops[d];if(e.cursorActivityHandlers)for(;e.cursorActivityCalled<e.cursorActivityHandlers.length;)e.cursorActivityHandlers[e.cursorActivityCalled++].call(null,e.cm)}}while(c<b.length)}function xb(a,b){var c=a.ownsGroup;if(c)try{wb(c)}finally{ah=null,b(c)}}function yb(a,b){var c=Ca(a,b);if(c.length){var d,e=Array.prototype.slice.call(arguments,2);ah?d=ah.delayedCallbacks:bh?d=bh:(d=bh=[],setTimeout(zb,0));for(var f=function(a){d.push(function(){return c[a].apply(null,e)})},g=0;g<c.length;++g)f(g)}}function zb(){var a=bh;bh=null;for(var b=0;b<a.length;++b)a[b]()}function Ab(a,b,c,d){for(var e=0;e<b.changes.length;e++){var f=b.changes[e];"text"==f?Eb(a,b):"gutter"==f?Gb(a,b,c,d):"class"==f?Fb(b):"widget"==f&&Hb(a,b,d)}b.changes=null}function Bb(a){return a.node==a.text&&(a.node=d("div",null,null,"position: relative"),a.text.parentNode&&a.text.parentNode.replaceChild(a.node,a.text),a.node.appendChild(a.text),gg&&hg<8&&(a.node.style.zIndex=2)),a.node}function Cb(a){var b=a.bgClass?a.bgClass+" "+(a.line.bgClass||""):a.line.bgClass;if(b&&(b+=" CodeMirror-linebackground"),a.background)b?a.background.className=b:(a.background.parentNode.removeChild(a.background),a.background=null);else if(b){var c=Bb(a);a.background=c.insertBefore(d("div",null,b),c.firstChild)}}function Db(a,b){var c=a.display.externalMeasured;return c&&c.line==b.line?(a.display.externalMeasured=null,b.measure=c.measure,c.built):mb(a,b)}function Eb(a,b){var c=b.text.className,d=Db(a,b);b.text==b.node&&(b.node=d.pre),b.text.parentNode.replaceChild(d.pre,b.text),b.text=d.pre,d.bgClass!=b.bgClass||d.textClass!=b.textClass?(b.bgClass=d.bgClass,b.textClass=d.textClass,Fb(b)):c&&(b.text.className=c)}function Fb(a){Cb(a),a.line.wrapClass?Bb(a).className=a.line.wrapClass:a.node!=a.text&&(a.node.className="");var b=a.textClass?a.textClass+" "+(a.line.textClass||""):a.line.textClass;a.text.className=b||""}function Gb(a,b,c,e){if(b.gutter&&(b.node.removeChild(b.gutter),b.gutter=null),b.gutterBackground&&(b.node.removeChild(b.gutterBackground),b.gutterBackground=null),b.line.gutterClass){var f=Bb(b);b.gutterBackground=d("div",null,"CodeMirror-gutter-background "+b.line.gutterClass,"left: "+(a.options.fixedGutter?e.fixedPos:-e.gutterTotalWidth)+"px; width: "+e.gutterTotalWidth+"px"),f.insertBefore(b.gutterBackground,b.text)}var g=b.line.gutterMarkers;if(a.options.lineNumbers||g){var h=Bb(b),i=b.gutter=d("div",null,"CodeMirror-gutter-wrapper","left: "+(a.options.fixedGutter?e.fixedPos:-e.gutterTotalWidth)+"px");if(a.display.input.setUneditable(i),h.insertBefore(i,b.text),b.line.gutterClass&&(i.className+=" "+b.line.gutterClass),!a.options.lineNumbers||g&&g["CodeMirror-linenumbers"]||(b.lineNumber=i.appendChild(d("div",G(a.options,c),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+e.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+a.display.lineNumInnerWidth+"px"))),g)for(var j=0;j<a.options.gutters.length;++j){var k=a.options.gutters[j],l=g.hasOwnProperty(k)&&g[k];l&&i.appendChild(d("div",[l],"CodeMirror-gutter-elt","left: "+e.gutterLeft[k]+"px; width: "+e.gutterWidth[k]+"px"))}}}function Hb(a,b,c){b.alignable&&(b.alignable=null);for(var d=b.node.firstChild,e=void 0;d;d=e)e=d.nextSibling,"CodeMirror-linewidget"==d.className&&b.node.removeChild(d);Jb(a,b,c)}function Ib(a,b,c,d){var e=Db(a,b);return b.text=b.node=e.pre,e.bgClass&&(b.bgClass=e.bgClass),e.textClass&&(b.textClass=e.textClass),Fb(b),Gb(a,b,c,d),Jb(a,b,d),b.node}function Jb(a,b,c){if(Kb(a,b.line,b,c,!0),b.rest)for(var d=0;d<b.rest.length;d++)Kb(a,b.rest[d],b,c,!1)}function Kb(a,b,c,e,f){if(b.widgets)for(var g=Bb(c),h=0,i=b.widgets;h<i.length;++h){var j=i[h],k=d("div",[j.node],"CodeMirror-linewidget");j.handleMouseEvents||k.setAttribute("cm-ignore-events","true"),Lb(j,k,c,e),a.display.input.setUneditable(k),f&&j.above?g.insertBefore(k,c.gutter||c.text):g.appendChild(k),yb(j,"redraw")}}function Lb(a,b,c,d){if(a.noHScroll){(c.alignable||(c.alignable=[])).push(b);var e=d.wrapperWidth;b.style.left=d.fixedPos+"px",a.coverGutter||(e-=d.gutterTotalWidth,b.style.paddingLeft=d.gutterTotalWidth+"px"),b.style.width=e+"px"}a.coverGutter&&(b.style.zIndex=5,b.style.position="relative",a.noHScroll||(b.style.marginLeft=-d.gutterTotalWidth+"px"))}function Mb(a){if(null!=a.height)return a.height;var b=a.doc.cm;if(!b)return 0;if(!e(document.body,a.node)){var f="position: relative;";a.coverGutter&&(f+="margin-left: -"+b.display.gutters.offsetWidth+"px;"),a.noHScroll&&(f+="width: "+b.display.wrapper.clientWidth+"px;"),c(b.display.measure,d("div",[a.node],null,f))}return a.height=a.node.parentNode.offsetHeight}function Nb(a,b){for(var c=Na(b);c!=a.wrapper;c=c.parentNode)if(!c||1==c.nodeType&&"true"==c.getAttribute("cm-ignore-events")||c.parentNode==a.sizer&&c!=a.mover)return!0}function Ob(a){return a.lineSpace.offsetTop}function Pb(a){return a.mover.offsetHeight-a.lineSpace.offsetHeight}function Qb(a){if(a.cachedPaddingH)return a.cachedPaddingH;var b=c(a.measure,d("pre","x")),e=window.getComputedStyle?window.getComputedStyle(b):b.currentStyle,f={left:parseInt(e.paddingLeft),right:parseInt(e.paddingRight)};return isNaN(f.left)||isNaN(f.right)||(a.cachedPaddingH=f),f}function Rb(a){return Cg-a.display.nativeBarWidth}function Sb(a){return a.display.scroller.clientWidth-Rb(a)-a.display.barWidth}function Tb(a){return a.display.scroller.clientHeight-Rb(a)-a.display.barHeight}function Ub(a,b,c){var d=a.options.lineWrapping,e=d&&Sb(a);if(!b.measure.heights||d&&b.measure.width!=e){var f=b.measure.heights=[];if(d){b.measure.width=e;for(var g=b.text.firstChild.getClientRects(),h=0;h<g.length-1;h++){var i=g[h],j=g[h+1];Math.abs(i.bottom-j.bottom)>2&&f.push((i.bottom+j.top)/2-c.top)}}f.push(c.bottom-c.top)}}function Vb(a,b,c){if(a.line==b)return{map:a.measure.map,cache:a.measure.cache};for(var d=0;d<a.rest.length;d++)if(a.rest[d]==b)return{map:a.measure.maps[d],cache:a.measure.caches[d]};for(var e=0;e<a.rest.length;e++)if(D(a.rest[e])>c)return{map:a.measure.maps[e],cache:a.measure.caches[e],before:!0}}function Wb(a,b){b=ia(b);var d=D(b),e=a.display.externalMeasured=new tb(a.doc,b,d);e.lineN=d;var f=e.built=mb(a,e);return e.text=f.pre,c(a.display.lineMeasure,f.pre),e}function Xb(a,b,c,d){return $b(a,Zb(a,b),c,d)}function Yb(a,b){if(b>=a.display.viewFrom&&b<a.display.viewTo)return a.display.view[xc(a,b)];var c=a.display.externalMeasured;return c&&b>=c.lineN&&b<c.lineN+c.size?c:void 0}function Zb(a,b){var c=D(b),d=Yb(a,c);d&&!d.text?d=null:d&&d.changes&&(Ab(a,d,c,sc(a)),a.curOp.forceUpdate=!0),d||(d=Wb(a,b));var e=Vb(d,b,c);return{line:b,view:d,rect:null,map:e.map,cache:e.cache,before:e.before,hasHeights:!1}}function $b(a,b,c,d,e){b.before&&(c=-1);var f,g=c+(d||"");return b.cache.hasOwnProperty(g)?f=b.cache[g]:(b.rect||(b.rect=b.view.text.getBoundingClientRect()),b.hasHeights||(Ub(a,b.view,b.rect),b.hasHeights=!0),f=bc(a,b,c,d),f.bogus||(b.cache[g]=f)),{left:f.left,right:f.right,top:e?f.rtop:f.top,bottom:e?f.rbottom:f.bottom}}function _b(a,b,c){for(var d,e,f,g,h,i,j=0;j<a.length;j+=3)if(h=a[j],i=a[j+1],b<h?(e=0,f=1,g="left"):b<i?(e=b-h,f=e+1):(j==a.length-3||b==i&&a[j+3]>b)&&(f=i-h,e=f-1,b>=i&&(g="right")),null!=e){if(d=a[j+2],h==i&&c==(d.insertLeft?"left":"right")&&(g=c),"left"==c&&0==e)for(;j&&a[j-2]==a[j-3]&&a[j-1].insertLeft;)d=a[(j-=3)+2],g="left";if("right"==c&&e==i-h)for(;j<a.length-3&&a[j+3]==a[j+4]&&!a[j+5].insertLeft;)d=a[(j+=3)+2],g="right";break}return{node:d,start:e,end:f,collapse:g,coverStart:h,coverEnd:i}}function ac(a,b){var c=ch;if("left"==b)for(var d=0;d<a.length&&(c=a[d]).left==c.right;d++);else for(var e=a.length-1;e>=0&&(c=a[e]).left==c.right;e--);return c}function bc(a,b,c,d){var e,f=_b(b.map,c,d),g=f.node,h=f.start,i=f.end,j=f.collapse;if(3==g.nodeType){for(var k=0;k<4;k++){for(;h&&x(b.line.text.charAt(f.coverStart+h));)--h;for(;f.coverStart+i<f.coverEnd&&x(b.line.text.charAt(f.coverStart+i));)++i;if(e=gg&&hg<9&&0==h&&i==f.coverEnd-f.coverStart?g.parentNode.getBoundingClientRect():ac(vg(g,h,i).getClientRects(),d),
2
- e.left||e.right||0==h)break;i=h,h-=1,j="right"}gg&&hg<11&&(e=cc(a.display.measure,e))}else{h>0&&(j=d="right");var l;e=a.options.lineWrapping&&(l=g.getClientRects()).length>1?l["right"==d?l.length-1:0]:g.getBoundingClientRect()}if(gg&&hg<9&&!h&&(!e||!e.left&&!e.right)){var m=g.parentNode.getClientRects()[0];e=m?{left:m.left,right:m.left+rc(a.display),top:m.top,bottom:m.bottom}:ch}for(var n=e.top-b.rect.top,o=e.bottom-b.rect.top,p=(n+o)/2,q=b.view.measure.heights,r=0;r<q.length-1&&!(p<q[r]);r++);var s=r?q[r-1]:0,t=q[r],u={left:("right"==j?e.right:e.left)-b.rect.left,right:("left"==j?e.left:e.right)-b.rect.left,top:s,bottom:t};return e.left||e.right||(u.bogus=!0),a.options.singleCursorHeightPerLine||(u.rtop=n,u.rbottom=o),u}function cc(a,b){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!Ra(a))return b;var c=screen.logicalXDPI/screen.deviceXDPI,d=screen.logicalYDPI/screen.deviceYDPI;return{left:b.left*c,right:b.right*c,top:b.top*d,bottom:b.bottom*d}}function dc(a){if(a.measure&&(a.measure.cache={},a.measure.heights=null,a.rest))for(var b=0;b<a.rest.length;b++)a.measure.caches[b]={}}function ec(a){a.display.externalMeasure=null,b(a.display.lineMeasure);for(var c=0;c<a.display.view.length;c++)dc(a.display.view[c])}function fc(a){ec(a),a.display.cachedCharWidth=a.display.cachedTextHeight=a.display.cachedPaddingH=null,a.options.lineWrapping||(a.display.maxLineChanged=!0),a.display.lineNumChars=null}function gc(){return window.pageXOffset||(document.documentElement||document.body).scrollLeft}function hc(){return window.pageYOffset||(document.documentElement||document.body).scrollTop}function ic(a,b,c,d,e){if(!e&&b.widgets)for(var f=0;f<b.widgets.length;++f)if(b.widgets[f].above){var g=Mb(b.widgets[f]);c.top+=g,c.bottom+=g}if("line"==d)return c;d||(d="local");var h=oa(b);if("local"==d?h+=Ob(a.display):h-=a.display.viewOffset,"page"==d||"window"==d){var i=a.display.lineSpace.getBoundingClientRect();h+=i.top+("window"==d?0:hc());var j=i.left+("window"==d?0:gc());c.left+=j,c.right+=j}return c.top+=h,c.bottom+=h,c}function jc(a,b,c){if("div"==c)return b;var d=b.left,e=b.top;if("page"==c)d-=gc(),e-=hc();else if("local"==c||!c){var f=a.display.sizer.getBoundingClientRect();d+=f.left,e+=f.top}var g=a.display.lineSpace.getBoundingClientRect();return{left:d-g.left,top:e-g.top}}function kc(a,b,c,d,e){return d||(d=z(a.doc,b.line)),ic(a,d,Xb(a,d,b.ch,e),c)}function lc(a,b,c,d,e,f){function g(b,g){var h=$b(a,e,b,g?"right":"left",f);return g?h.left=h.right:h.right=h.left,ic(a,d,h,c)}function h(a,b){var c=i[b],d=c.level%2;return a==sa(c)&&b&&c.level<i[b-1].level?(c=i[--b],a=ta(c)-(c.level%2?0:1),d=!0):a==ta(c)&&b<i.length-1&&c.level<i[b+1].level&&(c=i[++b],a=sa(c)-c.level%2,d=!1),d&&a==c.to&&a>c.from?g(a-1):g(a,d)}d=d||z(a.doc,b.line),e||(e=Zb(a,d));var i=Ba(d),j=b.ch;if(!i)return g(j);var k=xa(i,j),l=h(j,k);return null!=Mg&&(l.other=h(j,Mg)),l}function mc(a,b){var c=0;b=N(a.doc,b),a.options.lineWrapping||(c=rc(a.display)*b.ch);var d=z(a.doc,b.line),e=oa(d)+Ob(a.display);return{left:c,right:c,top:e,bottom:e+d.height}}function nc(a,b,c,d){var e=H(a,b);return e.xRel=d,c&&(e.outside=!0),e}function oc(a,b,c){var d=a.doc;if(c+=a.display.viewOffset,c<0)return nc(d.first,0,!0,-1);var e=E(d,c),f=d.first+d.size-1;if(e>f)return nc(d.first+d.size-1,z(d,f).text.length,!0,1);b<0&&(b=0);for(var g=z(d,e);;){var h=pc(a,g,e,b,c),i=ga(g),j=i&&i.find(0,!0);if(!i||!(h.ch>j.from.ch||h.ch==j.from.ch&&h.xRel>0))return h;e=D(g=j.to.line)}}function pc(a,b,c,d,e){function f(d){var e=lc(a,H(c,d),"line",b,j);return h=!0,g>e.bottom?e.left-i:g<e.top?e.left+i:(h=!1,e.left)}var g=e-oa(b),h=!1,i=2*a.display.wrapper.clientWidth,j=Zb(a,b),k=Ba(b),l=b.text.length,m=ua(b),n=va(b),o=f(m),p=h,q=f(n),r=h;if(d>q)return nc(c,n,r,1);for(;;){if(k?n==m||n==za(b,m,1):n-m<=1){var s=d<o||d-o<=q-d?m:n,t=s==m?p:r,u=d-(s==m?o:q);if(r&&!k&&!/\s/.test(b.text.charAt(s))&&u>0&&s<b.text.length&&j.view.measure.heights.length>1){var v=$b(a,j,s,"right");g<=v.bottom&&g>=v.top&&Math.abs(d-v.right)<u&&(t=!1,s++,u=d-v.right)}for(;x(b.text.charAt(s));)++s;var w=nc(c,s,t,u<-1?-1:u>1?1:0);return w}var y=Math.ceil(l/2),z=m+y;if(k){z=m;for(var A=0;A<y;++A)z=za(b,z,1)}var B=f(z);B>d?(n=z,q=B,(r=h)&&(q+=1e3),l=y):(m=z,o=B,p=h,l-=y)}}function qc(a){if(null!=a.cachedTextHeight)return a.cachedTextHeight;if(null==Zg){Zg=d("pre");for(var e=0;e<49;++e)Zg.appendChild(document.createTextNode("x")),Zg.appendChild(d("br"));Zg.appendChild(document.createTextNode("x"))}c(a.measure,Zg);var f=Zg.offsetHeight/50;return f>3&&(a.cachedTextHeight=f),b(a.measure),f||1}function rc(a){if(null!=a.cachedCharWidth)return a.cachedCharWidth;var b=d("span","xxxxxxxxxx"),e=d("pre",[b]);c(a.measure,e);var f=b.getBoundingClientRect(),g=(f.right-f.left)/10;return g>2&&(a.cachedCharWidth=g),g||10}function sc(a){for(var b=a.display,c={},d={},e=b.gutters.clientLeft,f=b.gutters.firstChild,g=0;f;f=f.nextSibling,++g)c[a.options.gutters[g]]=f.offsetLeft+f.clientLeft+e,d[a.options.gutters[g]]=f.clientWidth;return{fixedPos:tc(b),gutterTotalWidth:b.gutters.offsetWidth,gutterLeft:c,gutterWidth:d,wrapperWidth:b.wrapper.clientWidth}}function tc(a){return a.scroller.getBoundingClientRect().left-a.sizer.getBoundingClientRect().left}function uc(a){var b=qc(a.display),c=a.options.lineWrapping,d=c&&Math.max(5,a.display.scroller.clientWidth/rc(a.display)-3);return function(e){if(ma(a.doc,e))return 0;var f=0;if(e.widgets)for(var g=0;g<e.widgets.length;g++)e.widgets[g].height&&(f+=e.widgets[g].height);return c?f+(Math.ceil(e.text.length/d)||1)*b:f+b}}function vc(a){var b=a.doc,c=uc(a);b.iter(function(a){var b=c(a);b!=a.height&&C(a,b)})}function wc(a,b,c,d){var e=a.display;if(!c&&"true"==Na(b).getAttribute("cm-not-content"))return null;var f,g,h=e.lineSpace.getBoundingClientRect();try{f=b.clientX-h.left,g=b.clientY-h.top}catch(b){return null}var i,j=oc(a,f,g);if(d&&1==j.xRel&&(i=z(a.doc,j.line).text).length==j.ch){var l=k(i,i.length,a.options.tabSize)-i.length;j=H(j.line,Math.max(0,Math.round((f-Qb(a.display).left)/rc(a.display))-l))}return j}function xc(a,b){if(b>=a.display.viewTo)return null;if(b-=a.display.viewFrom,b<0)return null;for(var c=a.display.view,d=0;d<c.length;d++)if(b-=c[d].size,b<0)return d}function yc(a){a.display.input.showSelection(a.display.input.prepareSelection())}function zc(a,b){for(var c=a.doc,d={},e=d.cursors=document.createDocumentFragment(),f=d.selection=document.createDocumentFragment(),g=0;g<c.sel.ranges.length;g++)if(b!==!1||g!=c.sel.primIndex){var h=c.sel.ranges[g];if(!(h.from().line>=a.display.viewTo||h.to().line<a.display.viewFrom)){var i=h.empty();(i||a.options.showCursorWhenSelecting)&&Ac(a,h.head,e),i||Bc(a,h,f)}}return d}function Ac(a,b,c){var e=lc(a,b,"div",null,null,!a.options.singleCursorHeightPerLine),f=c.appendChild(d("div"," ","CodeMirror-cursor"));if(f.style.left=e.left+"px",f.style.top=e.top+"px",f.style.height=Math.max(0,e.bottom-e.top)*a.options.cursorHeight+"px",e.other){var g=c.appendChild(d("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));g.style.display="",g.style.left=e.other.left+"px",g.style.top=e.other.top+"px",g.style.height=.85*(e.other.bottom-e.other.top)+"px"}}function Bc(a,b,c){function e(a,b,c,e){b<0&&(b=0),b=Math.round(b),e=Math.round(e),i.appendChild(d("div",null,"CodeMirror-selected","position: absolute; left: "+a+"px;\n top: "+b+"px; width: "+(null==c?l-a:c)+"px;\n height: "+(e-b)+"px"))}function f(b,c,d){function f(c,d){return kc(a,H(b,c),"div",j,d)}var g,i,j=z(h,b),m=j.text.length;return ra(Ba(j),c||0,null==d?m:d,function(a,b,h){var j,n,o,p=f(a,"left");if(a==b)j=p,n=o=p.left;else{if(j=f(b-1,"right"),"rtl"==h){var q=p;p=j,j=q}n=p.left,o=j.right}null==c&&0==a&&(n=k),j.top-p.top>3&&(e(n,p.top,null,p.bottom),n=k,p.bottom<j.top&&e(n,p.bottom,null,j.top)),null==d&&b==m&&(o=l),(!g||p.top<g.top||p.top==g.top&&p.left<g.left)&&(g=p),(!i||j.bottom>i.bottom||j.bottom==i.bottom&&j.right>i.right)&&(i=j),n<k+1&&(n=k),e(n,j.top,o-n,j.bottom)}),{start:g,end:i}}var g=a.display,h=a.doc,i=document.createDocumentFragment(),j=Qb(a.display),k=j.left,l=Math.max(g.sizerWidth,Sb(a)-g.sizer.offsetLeft)-j.right,m=b.from(),n=b.to();if(m.line==n.line)f(m.line,m.ch,n.ch);else{var o=z(h,m.line),p=z(h,n.line),q=ia(o)==ia(p),r=f(m.line,m.ch,q?o.text.length+1:null).end,s=f(n.line,q?0:null,n.ch).start;q&&(r.top<s.top-2?(e(r.right,r.top,null,r.bottom),e(k,s.top,s.left,s.bottom)):e(r.right,r.top,s.left-r.right,r.bottom)),r.bottom<s.top&&e(k,r.bottom,null,s.top)}c.appendChild(i)}function Cc(a){if(a.state.focused){var b=a.display;clearInterval(b.blinker);var c=!0;b.cursorDiv.style.visibility="",a.options.cursorBlinkRate>0?b.blinker=setInterval(function(){return b.cursorDiv.style.visibility=(c=!c)?"":"hidden"},a.options.cursorBlinkRate):a.options.cursorBlinkRate<0&&(b.cursorDiv.style.visibility="hidden")}}function Dc(a){a.state.focused||(a.display.input.focus(),Fc(a))}function Ec(a){a.state.delayingBlurEvent=!0,setTimeout(function(){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1,Gc(a))},100)}function Fc(a,b){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1),"nocursor"!=a.options.readOnly&&(a.state.focused||(Ea(a,"focus",a,b),a.state.focused=!0,g(a.display.wrapper,"CodeMirror-focused"),a.curOp||a.display.selForContextMenu==a.doc.sel||(a.display.input.reset(),ig&&setTimeout(function(){return a.display.input.reset(!0)},20)),a.display.input.receivedFocus()),Cc(a))}function Gc(a,b){a.state.delayingBlurEvent||(a.state.focused&&(Ea(a,"blur",a,b),a.state.focused=!1,yg(a.display.wrapper,"CodeMirror-focused")),clearInterval(a.display.blinker),setTimeout(function(){a.state.focused||(a.display.shift=!1)},150))}function Hc(a){var b=a.display,c=b.view;if(b.alignWidgets||b.gutters.firstChild&&a.options.fixedGutter){for(var d=tc(b)-b.scroller.scrollLeft+a.doc.scrollLeft,e=b.gutters.offsetWidth,f=d+"px",g=0;g<c.length;g++)if(!c[g].hidden){a.options.fixedGutter&&(c[g].gutter&&(c[g].gutter.style.left=f),c[g].gutterBackground&&(c[g].gutterBackground.style.left=f));var h=c[g].alignable;if(h)for(var i=0;i<h.length;i++)h[i].style.left=f}a.options.fixedGutter&&(b.gutters.style.left=d+e+"px")}}function Ic(a){if(!a.options.lineNumbers)return!1;var b=a.doc,c=G(a.options,b.first+b.size-1),e=a.display;if(c.length!=e.lineNumChars){var f=e.measure.appendChild(d("div",[d("div",c)],"CodeMirror-linenumber CodeMirror-gutter-elt")),g=f.firstChild.offsetWidth,h=f.offsetWidth-g;return e.lineGutter.style.width="",e.lineNumInnerWidth=Math.max(g,e.lineGutter.offsetWidth-h)+1,e.lineNumWidth=e.lineNumInnerWidth+h,e.lineNumChars=e.lineNumInnerWidth?c.length:-1,e.lineGutter.style.width=e.lineNumWidth+"px",Cd(a),!0}return!1}function Jc(a){for(var b=a.display,c=b.lineDiv.offsetTop,d=0;d<b.view.length;d++){var e=b.view[d],f=void 0;if(!e.hidden){if(gg&&hg<8){var g=e.node.offsetTop+e.node.offsetHeight;f=g-c,c=g}else{var h=e.node.getBoundingClientRect();f=h.bottom-h.top}var i=e.line.height-f;if(f<2&&(f=qc(b)),(i>.001||i<-.001)&&(C(e.line,f),Kc(e.line),e.rest))for(var j=0;j<e.rest.length;j++)Kc(e.rest[j])}}}function Kc(a){if(a.widgets)for(var b=0;b<a.widgets.length;++b)a.widgets[b].height=a.widgets[b].node.parentNode.offsetHeight}function Lc(a,b,c){var d=c&&null!=c.top?Math.max(0,c.top):a.scroller.scrollTop;d=Math.floor(d-Ob(a));var e=c&&null!=c.bottom?c.bottom:d+a.wrapper.clientHeight,f=E(b,d),g=E(b,e);if(c&&c.ensure){var h=c.ensure.from.line,i=c.ensure.to.line;h<f?(f=h,g=E(b,oa(z(b,h))+a.wrapper.clientHeight)):Math.min(i,b.lastLine())>=g&&(f=E(b,oa(z(b,i))-a.wrapper.clientHeight),g=i)}return{from:f,to:Math.max(g,f+1)}}function Mc(a,b){Math.abs(a.doc.scrollTop-b)<2||(a.doc.scrollTop=b,dg||Ad(a,{top:b}),a.display.scroller.scrollTop!=b&&(a.display.scroller.scrollTop=b),a.display.scrollbars.setScrollTop(b),dg&&Ad(a),ud(a,100))}function Nc(a,b,c){(c?b==a.doc.scrollLeft:Math.abs(a.doc.scrollLeft-b)<2)||(b=Math.min(b,a.display.scroller.scrollWidth-a.display.scroller.clientWidth),a.doc.scrollLeft=b,Hc(a),a.display.scroller.scrollLeft!=b&&(a.display.scroller.scrollLeft=b),a.display.scrollbars.setScrollLeft(b))}function Oc(a){var b=a.wheelDeltaX,c=a.wheelDeltaY;return null==b&&a.detail&&a.axis==a.HORIZONTAL_AXIS&&(b=a.detail),null==c&&a.detail&&a.axis==a.VERTICAL_AXIS?c=a.detail:null==c&&(c=a.wheelDelta),{x:b,y:c}}function Pc(a){var b=Oc(a);return b.x*=eh,b.y*=eh,b}function Qc(a,b){var c=Oc(b),d=c.x,e=c.y,f=a.display,g=f.scroller,h=g.scrollWidth>g.clientWidth,i=g.scrollHeight>g.clientHeight;if(d&&h||e&&i){if(e&&rg&&ig)a:for(var j=b.target,k=f.view;j!=g;j=j.parentNode)for(var l=0;l<k.length;l++)if(k[l].node==j){a.display.currentWheelTarget=j;break a}if(d&&!dg&&!lg&&null!=eh)return e&&i&&Mc(a,Math.max(0,Math.min(g.scrollTop+e*eh,g.scrollHeight-g.clientHeight))),Nc(a,Math.max(0,Math.min(g.scrollLeft+d*eh,g.scrollWidth-g.clientWidth))),(!e||e&&i)&&Ja(b),void(f.wheelStartX=null);if(e&&null!=eh){var m=e*eh,n=a.doc.scrollTop,o=n+f.wrapper.clientHeight;m<0?n=Math.max(0,n+m-50):o=Math.min(a.doc.height,o+m+50),Ad(a,{top:n,bottom:o})}dh<20&&(null==f.wheelStartX?(f.wheelStartX=g.scrollLeft,f.wheelStartY=g.scrollTop,f.wheelDX=d,f.wheelDY=e,setTimeout(function(){if(null!=f.wheelStartX){var a=g.scrollLeft-f.wheelStartX,b=g.scrollTop-f.wheelStartY,c=b&&f.wheelDY&&b/f.wheelDY||a&&f.wheelDX&&a/f.wheelDX;f.wheelStartX=f.wheelStartY=null,c&&(eh=(eh*dh+c)/(dh+1),++dh)}},200)):(f.wheelDX+=d,f.wheelDY+=e))}}function Rc(a){var b=a.display,c=b.gutters.offsetWidth,d=Math.round(a.doc.height+Pb(a.display));return{clientHeight:b.scroller.clientHeight,viewHeight:b.wrapper.clientHeight,scrollWidth:b.scroller.scrollWidth,clientWidth:b.scroller.clientWidth,viewWidth:b.wrapper.clientWidth,barLeft:a.options.fixedGutter?c:0,docHeight:d,scrollHeight:d+Rb(a)+b.barHeight,nativeBarWidth:b.nativeBarWidth,gutterWidth:c}}function Sc(a,b,c){this.cm=c;var e=this.vert=d("div",[d("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),f=this.horiz=d("div",[d("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");a(e),a(f),Pg(e,"scroll",function(){e.clientHeight&&b(e.scrollTop,"vertical")}),Pg(f,"scroll",function(){f.clientWidth&&b(f.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,gg&&hg<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")}function Tc(){}function Uc(a,b){b||(b=Rc(a));var c=a.display.barWidth,d=a.display.barHeight;Vc(a,b);for(var e=0;e<4&&c!=a.display.barWidth||d!=a.display.barHeight;e++)c!=a.display.barWidth&&a.options.lineWrapping&&Jc(a),Vc(a,Rc(a)),c=a.display.barWidth,d=a.display.barHeight}function Vc(a,b){var c=a.display,d=c.scrollbars.update(b);c.sizer.style.paddingRight=(c.barWidth=d.right)+"px",c.sizer.style.paddingBottom=(c.barHeight=d.bottom)+"px",c.heightForcer.style.borderBottom=d.bottom+"px solid transparent",d.right&&d.bottom?(c.scrollbarFiller.style.display="block",c.scrollbarFiller.style.height=d.bottom+"px",c.scrollbarFiller.style.width=d.right+"px"):c.scrollbarFiller.style.display="",d.bottom&&a.options.coverGutterNextToScrollbar&&a.options.fixedGutter?(c.gutterFiller.style.display="block",c.gutterFiller.style.height=d.bottom+"px",c.gutterFiller.style.width=b.gutterWidth+"px"):c.gutterFiller.style.display=""}function Wc(a){a.display.scrollbars&&(a.display.scrollbars.clear(),a.display.scrollbars.addClass&&yg(a.display.wrapper,a.display.scrollbars.addClass)),a.display.scrollbars=new fh[a.options.scrollbarStyle](function(b){a.display.wrapper.insertBefore(b,a.display.scrollbarFiller),Pg(b,"mousedown",function(){a.state.focused&&setTimeout(function(){return a.display.input.focus()},0)}),b.setAttribute("cm-not-content","true")},function(b,c){"horizontal"==c?Nc(a,b):Mc(a,b)},a),a.display.scrollbars.addClass&&g(a.display.wrapper,a.display.scrollbars.addClass)}function Xc(a,b){if(!Fa(a,"scrollCursorIntoView")){var c=a.display,e=c.sizer.getBoundingClientRect(),f=null;if(b.top+e.top<0?f=!0:b.bottom+e.top>(window.innerHeight||document.documentElement.clientHeight)&&(f=!1),null!=f&&!og){var g=d("div","​",null,"position: absolute;\n top: "+(b.top-c.viewOffset-Ob(a.display))+"px;\n height: "+(b.bottom-b.top+Rb(a)+c.barHeight)+"px;\n left: "+b.left+"px; width: 2px;");a.display.lineSpace.appendChild(g),g.scrollIntoView(f),a.display.lineSpace.removeChild(g)}}}function Yc(a,b,c,d){null==d&&(d=0);for(var e,f=0;f<5;f++){var g=!1;e=lc(a,b);var h=c&&c!=b?lc(a,c):e,i=$c(a,Math.min(e.left,h.left),Math.min(e.top,h.top)-d,Math.max(e.left,h.left),Math.max(e.bottom,h.bottom)+d),j=a.doc.scrollTop,k=a.doc.scrollLeft;if(null!=i.scrollTop&&(Mc(a,i.scrollTop),Math.abs(a.doc.scrollTop-j)>1&&(g=!0)),null!=i.scrollLeft&&(Nc(a,i.scrollLeft),Math.abs(a.doc.scrollLeft-k)>1&&(g=!0)),!g)break}return e}function Zc(a,b,c,d,e){var f=$c(a,b,c,d,e);null!=f.scrollTop&&Mc(a,f.scrollTop),null!=f.scrollLeft&&Nc(a,f.scrollLeft)}function $c(a,b,c,d,e){var f=a.display,g=qc(a.display);c<0&&(c=0);var h=a.curOp&&null!=a.curOp.scrollTop?a.curOp.scrollTop:f.scroller.scrollTop,i=Tb(a),j={};e-c>i&&(e=c+i);var k=a.doc.height+Pb(f),l=c<g,m=e>k-g;if(c<h)j.scrollTop=l?0:c;else if(e>h+i){var n=Math.min(c,(m?k:e)-i);n!=h&&(j.scrollTop=n)}var o=a.curOp&&null!=a.curOp.scrollLeft?a.curOp.scrollLeft:f.scroller.scrollLeft,p=Sb(a)-(a.options.fixedGutter?f.gutters.offsetWidth:0),q=d-b>p;return q&&(d=b+p),b<10?j.scrollLeft=0:b<o?j.scrollLeft=Math.max(0,b-(q?0:10)):d>p+o-3&&(j.scrollLeft=d+(q?0:10)-p),j}function _c(a,b,c){null==b&&null==c||bd(a),null!=b&&(a.curOp.scrollLeft=(null==a.curOp.scrollLeft?a.doc.scrollLeft:a.curOp.scrollLeft)+b),null!=c&&(a.curOp.scrollTop=(null==a.curOp.scrollTop?a.doc.scrollTop:a.curOp.scrollTop)+c)}function ad(a){bd(a);var b=a.getCursor(),c=b,d=b;a.options.lineWrapping||(c=b.ch?H(b.line,b.ch-1):b,d=H(b.line,b.ch+1)),a.curOp.scrollToPos={from:c,to:d,margin:a.options.cursorScrollMargin,isCursor:!0}}function bd(a){var b=a.curOp.scrollToPos;if(b){a.curOp.scrollToPos=null;var c=mc(a,b.from),d=mc(a,b.to),e=$c(a,Math.min(c.left,d.left),Math.min(c.top,d.top)-b.margin,Math.max(c.right,d.right),Math.max(c.bottom,d.bottom)+b.margin);a.scrollTo(e.scrollLeft,e.scrollTop)}}function cd(a){a.curOp={cm:a,viewChanged:!1,startHeight:a.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:++gh},vb(a.curOp)}function dd(a){var b=a.curOp;xb(b,function(a){for(var b=0;b<a.ops.length;b++)a.ops[b].cm.curOp=null;ed(a)})}function ed(a){for(var b=a.ops,c=0;c<b.length;c++)fd(b[c]);for(var d=0;d<b.length;d++)gd(b[d]);for(var e=0;e<b.length;e++)hd(b[e]);for(var f=0;f<b.length;f++)id(b[f]);for(var g=0;g<b.length;g++)jd(b[g])}function fd(a){var b=a.cm,c=b.display;xd(b),a.updateMaxLine&&qa(b),a.mustUpdate=a.viewChanged||a.forceUpdate||null!=a.scrollTop||a.scrollToPos&&(a.scrollToPos.from.line<c.viewFrom||a.scrollToPos.to.line>=c.viewTo)||c.maxLineChanged&&b.options.lineWrapping,a.update=a.mustUpdate&&new wd(b,a.mustUpdate&&{top:a.scrollTop,ensure:a.scrollToPos},a.forceUpdate)}function gd(a){a.updatedDisplay=a.mustUpdate&&yd(a.cm,a.update)}function hd(a){var b=a.cm,c=b.display;a.updatedDisplay&&Jc(b),a.barMeasure=Rc(b),c.maxLineChanged&&!b.options.lineWrapping&&(a.adjustWidthTo=Xb(b,c.maxLine,c.maxLine.text.length).left+3,b.display.sizerWidth=a.adjustWidthTo,a.barMeasure.scrollWidth=Math.max(c.scroller.clientWidth,c.sizer.offsetLeft+a.adjustWidthTo+Rb(b)+b.display.barWidth),a.maxScrollLeft=Math.max(0,c.sizer.offsetLeft+a.adjustWidthTo-Sb(b))),(a.updatedDisplay||a.selectionChanged)&&(a.preparedSelection=c.input.prepareSelection(a.focus))}function id(a){var b=a.cm;null!=a.adjustWidthTo&&(b.display.sizer.style.minWidth=a.adjustWidthTo+"px",a.maxScrollLeft<b.doc.scrollLeft&&Nc(b,Math.min(b.display.scroller.scrollLeft,a.maxScrollLeft),!0),b.display.maxLineChanged=!1);var c=a.focus&&a.focus==f()&&(!document.hasFocus||document.hasFocus());a.preparedSelection&&b.display.input.showSelection(a.preparedSelection,c),(a.updatedDisplay||a.startHeight!=b.doc.height)&&Uc(b,a.barMeasure),a.updatedDisplay&&Dd(b,a.barMeasure),a.selectionChanged&&Cc(b),b.state.focused&&a.updateInput&&b.display.input.reset(a.typing),c&&Dc(a.cm)}function jd(a){var b=a.cm,c=b.display,d=b.doc;if(a.updatedDisplay&&zd(b,a.update),null==c.wheelStartX||null==a.scrollTop&&null==a.scrollLeft&&!a.scrollToPos||(c.wheelStartX=c.wheelStartY=null),null==a.scrollTop||c.scroller.scrollTop==a.scrollTop&&!a.forceScroll||(d.scrollTop=Math.max(0,Math.min(c.scroller.scrollHeight-c.scroller.clientHeight,a.scrollTop)),c.scrollbars.setScrollTop(d.scrollTop),c.scroller.scrollTop=d.scrollTop),null==a.scrollLeft||c.scroller.scrollLeft==a.scrollLeft&&!a.forceScroll||(d.scrollLeft=Math.max(0,Math.min(c.scroller.scrollWidth-c.scroller.clientWidth,a.scrollLeft)),c.scrollbars.setScrollLeft(d.scrollLeft),c.scroller.scrollLeft=d.scrollLeft,Hc(b)),a.scrollToPos){var e=Yc(b,N(d,a.scrollToPos.from),N(d,a.scrollToPos.to),a.scrollToPos.margin);a.scrollToPos.isCursor&&b.state.focused&&Xc(b,e)}var f=a.maybeHiddenMarkers,g=a.maybeUnhiddenMarkers;if(f)for(var h=0;h<f.length;++h)f[h].lines.length||Ea(f[h],"hide");if(g)for(var i=0;i<g.length;++i)g[i].lines.length&&Ea(g[i],"unhide");c.wrapper.offsetHeight&&(d.scrollTop=b.display.scroller.scrollTop),a.changeObjs&&Ea(b,"changes",b,a.changeObjs),a.update&&a.update.finish()}function kd(a,b){if(a.curOp)return b();cd(a);try{return b()}finally{dd(a)}}function ld(a,b){return function(){if(a.curOp)return b.apply(a,arguments);cd(a);try{return b.apply(a,arguments)}finally{dd(a)}}}function md(a){return function(){if(this.curOp)return a.apply(this,arguments);cd(this);try{return a.apply(this,arguments)}finally{dd(this)}}}function nd(a){return function(){var b=this.cm;if(!b||b.curOp)return a.apply(this,arguments);cd(b);try{return a.apply(this,arguments)}finally{dd(b)}}}function od(a,b,c,d){null==b&&(b=a.doc.first),null==c&&(c=a.doc.first+a.doc.size),d||(d=0);var e=a.display;if(d&&c<e.viewTo&&(null==e.updateLineNumbers||e.updateLineNumbers>b)&&(e.updateLineNumbers=b),a.curOp.viewChanged=!0,b>=e.viewTo)Lg&&ka(a.doc,b)<e.viewTo&&qd(a);else if(c<=e.viewFrom)Lg&&la(a.doc,c+d)>e.viewFrom?qd(a):(e.viewFrom+=d,e.viewTo+=d);else if(b<=e.viewFrom&&c>=e.viewTo)qd(a);else if(b<=e.viewFrom){var f=rd(a,c,c+d,1);f?(e.view=e.view.slice(f.index),e.viewFrom=f.lineN,e.viewTo+=d):qd(a)}else if(c>=e.viewTo){var g=rd(a,b,b,-1);g?(e.view=e.view.slice(0,g.index),e.viewTo=g.lineN):qd(a)}else{var h=rd(a,b,b,-1),i=rd(a,c,c+d,1);h&&i?(e.view=e.view.slice(0,h.index).concat(ub(a,h.lineN,i.lineN)).concat(e.view.slice(i.index)),e.viewTo+=d):qd(a)}var j=e.externalMeasured;j&&(c<j.lineN?j.lineN+=d:b<j.lineN+j.size&&(e.externalMeasured=null))}function pd(a,b,c){a.curOp.viewChanged=!0;var d=a.display,e=a.display.externalMeasured;if(e&&b>=e.lineN&&b<e.lineN+e.size&&(d.externalMeasured=null),!(b<d.viewFrom||b>=d.viewTo)){var f=d.view[xc(a,b)];if(null!=f.node){var g=f.changes||(f.changes=[]);m(g,c)==-1&&g.push(c)}}}function qd(a){a.display.viewFrom=a.display.viewTo=a.doc.first,a.display.view=[],a.display.viewOffset=0}function rd(a,b,c,d){var e,f=xc(a,b),g=a.display.view;if(!Lg||c==a.doc.first+a.doc.size)return{index:f,lineN:c};for(var h=a.display.viewFrom,i=0;i<f;i++)h+=g[i].size;if(h!=b){if(d>0){if(f==g.length-1)return null;e=h+g[f].size-b,f++}else e=h-b;b+=e,c+=e}for(;ka(a.doc,c)!=c;){if(f==(d<0?0:g.length-1))return null;c+=d*g[f-(d<0?1:0)].size,f+=d}return{index:f,lineN:c}}function sd(a,b,c){var d=a.display,e=d.view;0==e.length||b>=d.viewTo||c<=d.viewFrom?(d.view=ub(a,b,c),d.viewFrom=b):(d.viewFrom>b?d.view=ub(a,b,d.viewFrom).concat(d.view):d.viewFrom<b&&(d.view=d.view.slice(xc(a,b))),d.viewFrom=b,d.viewTo<c?d.view=d.view.concat(ub(a,d.viewTo,c)):d.viewTo>c&&(d.view=d.view.slice(0,xc(a,c)))),d.viewTo=c}function td(a){for(var b=a.display.view,c=0,d=0;d<b.length;d++){var e=b[d];e.hidden||e.node&&!e.changes||++c}return c}function ud(a,b){a.doc.mode.startState&&a.doc.frontier<a.display.viewTo&&a.state.highlight.set(b,i(vd,a))}function vd(a){var b=a.doc;if(b.frontier<b.first&&(b.frontier=b.first),!(b.frontier>=a.display.viewTo)){var c=+new Date+a.options.workTime,d=Xa(b.mode,ab(a,b.frontier)),e=[];b.iter(b.frontier,Math.min(b.first+b.size,a.display.viewTo+500),function(f){if(b.frontier>=a.display.viewFrom){var g=f.styles,h=f.text.length>a.options.maxHighlightLength,i=$a(a,f,h?Xa(b.mode,d):d,!0);f.styles=i.styles;var j=f.styleClasses,k=i.classes;k?f.styleClasses=k:j&&(f.styleClasses=null);for(var l=!g||g.length!=f.styles.length||j!=k&&(!j||!k||j.bgClass!=k.bgClass||j.textClass!=k.textClass),m=0;!l&&m<g.length;++m)l=g[m]!=f.styles[m];l&&e.push(b.frontier),f.stateAfter=h?d:Xa(b.mode,d)}else f.text.length<=a.options.maxHighlightLength&&bb(a,f.text,d),f.stateAfter=b.frontier%5==0?Xa(b.mode,d):null;if(++b.frontier,+new Date>c)return ud(a,a.options.workDelay),!0}),e.length&&kd(a,function(){for(var b=0;b<e.length;b++)pd(a,e[b],"text")})}}function wd(a,b,c){var d=a.display;this.viewport=b,this.visible=Lc(d,a.doc,b),this.editorIsHidden=!d.wrapper.offsetWidth,this.wrapperHeight=d.wrapper.clientHeight,this.wrapperWidth=d.wrapper.clientWidth,this.oldDisplayWidth=Sb(a),this.force=c,this.dims=sc(a),this.events=[]}function xd(a){var b=a.display;!b.scrollbarsClipped&&b.scroller.offsetWidth&&(b.nativeBarWidth=b.scroller.offsetWidth-b.scroller.clientWidth,b.heightForcer.style.height=Rb(a)+"px",b.sizer.style.marginBottom=-b.nativeBarWidth+"px",b.sizer.style.borderRightWidth=Rb(a)+"px",b.scrollbarsClipped=!0)}function yd(a,c){var d=a.display,e=a.doc;if(c.editorIsHidden)return qd(a),!1;if(!c.force&&c.visible.from>=d.viewFrom&&c.visible.to<=d.viewTo&&(null==d.updateLineNumbers||d.updateLineNumbers>=d.viewTo)&&d.renderedView==d.view&&0==td(a))return!1;Ic(a)&&(qd(a),c.dims=sc(a));var g=e.first+e.size,h=Math.max(c.visible.from-a.options.viewportMargin,e.first),i=Math.min(g,c.visible.to+a.options.viewportMargin);d.viewFrom<h&&h-d.viewFrom<20&&(h=Math.max(e.first,d.viewFrom)),d.viewTo>i&&d.viewTo-i<20&&(i=Math.min(g,d.viewTo)),Lg&&(h=ka(a.doc,h),i=la(a.doc,i));var j=h!=d.viewFrom||i!=d.viewTo||d.lastWrapHeight!=c.wrapperHeight||d.lastWrapWidth!=c.wrapperWidth;sd(a,h,i),d.viewOffset=oa(z(a.doc,d.viewFrom)),a.display.mover.style.top=d.viewOffset+"px";var k=td(a);if(!j&&0==k&&!c.force&&d.renderedView==d.view&&(null==d.updateLineNumbers||d.updateLineNumbers>=d.viewTo))return!1;var l=f();return k>4&&(d.lineDiv.style.display="none"),Bd(a,d.updateLineNumbers,c.dims),k>4&&(d.lineDiv.style.display=""),d.renderedView=d.view,l&&f()!=l&&l.offsetHeight&&l.focus(),b(d.cursorDiv),b(d.selectionDiv),d.gutters.style.height=d.sizer.style.minHeight=0,j&&(d.lastWrapHeight=c.wrapperHeight,d.lastWrapWidth=c.wrapperWidth,ud(a,400)),d.updateLineNumbers=null,!0}function zd(a,b){for(var c=b.viewport,d=!0;(d&&a.options.lineWrapping&&b.oldDisplayWidth!=Sb(a)||(c&&null!=c.top&&(c={top:Math.min(a.doc.height+Pb(a.display)-Tb(a),c.top)}),b.visible=Lc(a.display,a.doc,c),!(b.visible.from>=a.display.viewFrom&&b.visible.to<=a.display.viewTo)))&&yd(a,b);d=!1){Jc(a);var e=Rc(a);yc(a),Uc(a,e),Dd(a,e)}b.signal(a,"update",a),a.display.viewFrom==a.display.reportedViewFrom&&a.display.viewTo==a.display.reportedViewTo||(b.signal(a,"viewportChange",a,a.display.viewFrom,a.display.viewTo),a.display.reportedViewFrom=a.display.viewFrom,a.display.reportedViewTo=a.display.viewTo)}function Ad(a,b){var c=new wd(a,b);if(yd(a,c)){Jc(a),zd(a,c);var d=Rc(a);yc(a),Uc(a,d),Dd(a,d),c.finish()}}function Bd(a,c,d){function e(b){var c=b.nextSibling;return ig&&rg&&a.display.currentWheelTarget==b?b.style.display="none":b.parentNode.removeChild(b),c}for(var f=a.display,g=a.options.lineNumbers,h=f.lineDiv,i=h.firstChild,j=f.view,k=f.viewFrom,l=0;l<j.length;l++){var n=j[l];if(n.hidden);else if(n.node&&n.node.parentNode==h){for(;i!=n.node;)i=e(i);var o=g&&null!=c&&c<=k&&n.lineNumber;n.changes&&(m(n.changes,"gutter")>-1&&(o=!1),Ab(a,n,k,d)),o&&(b(n.lineNumber),n.lineNumber.appendChild(document.createTextNode(G(a.options,k)))),i=n.node.nextSibling}else{var p=Ib(a,n,k,d);h.insertBefore(p,i)}k+=n.size}for(;i;)i=e(i)}function Cd(a){var b=a.display.gutters.offsetWidth;a.display.sizer.style.marginLeft=b+"px"}function Dd(a,b){a.display.sizer.style.minHeight=b.docHeight+"px",a.display.heightForcer.style.top=b.docHeight+"px",a.display.gutters.style.height=b.docHeight+a.display.barHeight+Rb(a)+"px"}function Ed(a){var c=a.display.gutters,e=a.options.gutters;b(c);for(var f=0;f<e.length;++f){var g=e[f],h=c.appendChild(d("div",null,"CodeMirror-gutter "+g));"CodeMirror-linenumbers"==g&&(a.display.lineGutter=h,h.style.width=(a.display.lineNumWidth||1)+"px")}c.style.display=f?"":"none",Cd(a)}function Fd(a){var b=m(a.gutters,"CodeMirror-linenumbers");b==-1&&a.lineNumbers?a.gutters=a.gutters.concat(["CodeMirror-linenumbers"]):b>-1&&!a.lineNumbers&&(a.gutters=a.gutters.slice(0),a.gutters.splice(b,1))}function Gd(a,b){this.ranges=a,this.primIndex=b}function Hd(a,b){this.anchor=a,this.head=b}function Id(a,b){var c=a[b];a.sort(function(a,b){return I(a.from(),b.from())}),b=m(a,c);for(var d=1;d<a.length;d++){var e=a[d],f=a[d-1];if(I(f.to(),e.from())>=0){var g=L(f.from(),e.from()),h=K(f.to(),e.to()),i=f.empty()?e.from()==e.head:f.from()==f.head;d<=b&&--b,a.splice(--d,2,new Hd(i?h:g,i?g:h))}}return new Gd(a,b)}function Jd(a,b){return new Gd([new Hd(a,b||a)],0)}function Kd(a){return a.text?H(a.from.line+a.text.length-1,p(a.text).length+(1==a.text.length?a.from.ch:0)):a.to}function Ld(a,b){if(I(a,b.from)<0)return a;if(I(a,b.to)<=0)return Kd(b);var c=a.line+b.text.length-(b.to.line-b.from.line)-1,d=a.ch;return a.line==b.to.line&&(d+=Kd(b).ch-b.to.ch),H(c,d)}function Md(a,b){for(var c=[],d=0;d<a.sel.ranges.length;d++){var e=a.sel.ranges[d];c.push(new Hd(Ld(e.anchor,b),Ld(e.head,b)))}return Id(c,a.sel.primIndex)}function Nd(a,b,c){return a.line==b.line?H(c.line,a.ch-b.ch+c.ch):H(c.line+(a.line-b.line),a.ch)}function Od(a,b,c){for(var d=[],e=H(a.first,0),f=e,g=0;g<b.length;g++){var h=b[g],i=Nd(h.from,e,f),j=Nd(Kd(h),e,f);if(e=h.to,f=j,"around"==c){var k=a.sel.ranges[g],l=I(k.head,k.anchor)<0;d[g]=new Hd(l?j:i,l?i:j)}else d[g]=new Hd(i,i)}return new Gd(d,a.sel.primIndex)}function Pd(a){a.doc.mode=Va(a.options,a.doc.modeOption),Qd(a)}function Qd(a){a.doc.iter(function(a){a.stateAfter&&(a.stateAfter=null),a.styles&&(a.styles=null)}),a.doc.frontier=a.doc.first,ud(a,100),a.state.modeGen++,a.curOp&&od(a)}function Rd(a,b){return 0==b.from.ch&&0==b.to.ch&&""==p(b.text)&&(!a.cm||a.cm.options.wholeLineUpdateBefore)}function Sd(a,b,c,d){function e(a){return c?c[a]:null}function f(a,c,e){jb(a,c,e,d),yb(a,"change",a,b)}function g(a,b){for(var c=[],f=a;f<b;++f)c.push(new ib(j[f],e(f),d));return c}var h=b.from,i=b.to,j=b.text,k=z(a,h.line),l=z(a,i.line),m=p(j),n=e(j.length-1),o=i.line-h.line;if(b.full)a.insert(0,g(0,j.length)),a.remove(j.length,a.size-j.length);else if(Rd(a,b)){var q=g(0,j.length-1);f(l,l.text,n),o&&a.remove(h.line,o),q.length&&a.insert(h.line,q)}else if(k==l)if(1==j.length)f(k,k.text.slice(0,h.ch)+m+k.text.slice(i.ch),n);else{var r=g(1,j.length-1);r.push(new ib(m+k.text.slice(i.ch),n,d)),f(k,k.text.slice(0,h.ch)+j[0],e(0)),a.insert(h.line+1,r)}else if(1==j.length)f(k,k.text.slice(0,h.ch)+j[0]+l.text.slice(i.ch),e(0)),a.remove(h.line+1,o);else{f(k,k.text.slice(0,h.ch)+j[0],e(0)),f(l,m+l.text.slice(i.ch),n);var s=g(1,j.length-1);o>1&&a.remove(h.line+1,o-1),a.insert(h.line+1,s)}yb(a,"change",a,b)}function Td(a,b,c){function d(a,e,f){if(a.linked)for(var g=0;g<a.linked.length;++g){var h=a.linked[g];if(h.doc!=e){var i=f&&h.sharedHist;c&&!i||(b(h.doc,i),d(h.doc,a,i))}}}d(a,null,!0)}function Ud(a,b){if(b.cm)throw new Error("This document is already in use.");a.doc=b,b.cm=a,vc(a),Pd(a),a.options.lineWrapping||qa(a),a.options.mode=b.modeOption,od(a)}function Vd(a){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=a||1}function Wd(a,b){var c={from:J(b.from),
3
- to:Kd(b),text:A(a,b.from,b.to)};return be(a,c,b.from.line,b.to.line+1),Td(a,function(a){return be(a,c,b.from.line,b.to.line+1)},!0),c}function Xd(a){for(;a.length;){var b=p(a);if(!b.ranges)break;a.pop()}}function Yd(a,b){return b?(Xd(a.done),p(a.done)):a.done.length&&!p(a.done).ranges?p(a.done):a.done.length>1&&!a.done[a.done.length-2].ranges?(a.done.pop(),p(a.done)):void 0}function Zd(a,b,c,d){var e=a.history;e.undone.length=0;var f,g,h=+new Date;if((e.lastOp==d||e.lastOrigin==b.origin&&b.origin&&("+"==b.origin.charAt(0)&&a.cm&&e.lastModTime>h-a.cm.options.historyEventDelay||"*"==b.origin.charAt(0)))&&(f=Yd(e,e.lastOp==d)))g=p(f.changes),0==I(b.from,b.to)&&0==I(b.from,g.to)?g.to=Kd(b):f.changes.push(Wd(a,b));else{var i=p(e.done);for(i&&i.ranges||ae(a.sel,e.done),f={changes:[Wd(a,b)],generation:e.generation},e.done.push(f);e.done.length>e.undoDepth;)e.done.shift(),e.done[0].ranges||e.done.shift()}e.done.push(c),e.generation=++e.maxGeneration,e.lastModTime=e.lastSelTime=h,e.lastOp=e.lastSelOp=d,e.lastOrigin=e.lastSelOrigin=b.origin,g||Ea(a,"historyAdded")}function $d(a,b,c,d){var e=b.charAt(0);return"*"==e||"+"==e&&c.ranges.length==d.ranges.length&&c.somethingSelected()==d.somethingSelected()&&new Date-a.history.lastSelTime<=(a.cm?a.cm.options.historyEventDelay:500)}function _d(a,b,c,d){var e=a.history,f=d&&d.origin;c==e.lastSelOp||f&&e.lastSelOrigin==f&&(e.lastModTime==e.lastSelTime&&e.lastOrigin==f||$d(a,f,p(e.done),b))?e.done[e.done.length-1]=b:ae(b,e.done),e.lastSelTime=+new Date,e.lastSelOrigin=f,e.lastSelOp=c,d&&d.clearRedo!==!1&&Xd(e.undone)}function ae(a,b){var c=p(b);c&&c.ranges&&c.equals(a)||b.push(a)}function be(a,b,c,d){var e=b["spans_"+a.id],f=0;a.iter(Math.max(a.first,c),Math.min(a.first+a.size,d),function(c){c.markedSpans&&((e||(e=b["spans_"+a.id]={}))[f]=c.markedSpans),++f})}function ce(a){if(!a)return null;for(var b,c=0;c<a.length;++c)a[c].marker.explicitlyCleared?b||(b=a.slice(0,c)):b&&b.push(a[c]);return b?b.length?b:null:a}function de(a,b){var c=b["spans_"+a.id];if(!c)return null;for(var d=[],e=0;e<b.text.length;++e)d.push(ce(c[e]));return d}function ee(a,b){var c=de(a,b),d=Y(a,b);if(!c)return d;if(!d)return c;for(var e=0;e<c.length;++e){var f=c[e],g=d[e];if(f&&g)a:for(var h=0;h<g.length;++h){for(var i=g[h],j=0;j<f.length;++j)if(f[j].marker==i.marker)continue a;f.push(i)}else g&&(c[e]=g)}return c}function fe(a,b,c){for(var d=[],e=0;e<a.length;++e){var f=a[e];if(f.ranges)d.push(c?Gd.prototype.deepCopy.call(f):f);else{var g=f.changes,h=[];d.push({changes:h});for(var i=0;i<g.length;++i){var j=g[i],k=void 0;if(h.push({from:j.from,to:j.to,text:j.text}),b)for(var l in j)(k=l.match(/^spans_(\d+)$/))&&m(b,Number(k[1]))>-1&&(p(h)[l]=j[l],delete j[l])}}}return d}function ge(a,b,c,d){if(a.cm&&a.cm.display.shift||a.extend){var e=b.anchor;if(d){var f=I(c,e)<0;f!=I(d,e)<0?(e=c,c=d):f!=I(c,d)<0&&(c=d)}return new Hd(e,c)}return new Hd(d||c,c)}function he(a,b,c,d){ne(a,new Gd([ge(a,a.sel.primary(),b,c)],0),d)}function ie(a,b,c){for(var d=[],e=0;e<a.sel.ranges.length;e++)d[e]=ge(a,a.sel.ranges[e],b[e],null);var f=Id(d,a.sel.primIndex);ne(a,f,c)}function je(a,b,c,d){var e=a.sel.ranges.slice(0);e[b]=c,ne(a,Id(e,a.sel.primIndex),d)}function ke(a,b,c,d){ne(a,Jd(b,c),d)}function le(a,b,c){var d={ranges:b.ranges,update:function(b){var c=this;this.ranges=[];for(var d=0;d<b.length;d++)c.ranges[d]=new Hd(N(a,b[d].anchor),N(a,b[d].head))},origin:c&&c.origin};return Ea(a,"beforeSelectionChange",a,d),a.cm&&Ea(a.cm,"beforeSelectionChange",a.cm,d),d.ranges!=b.ranges?Id(d.ranges,d.ranges.length-1):b}function me(a,b,c){var d=a.history.done,e=p(d);e&&e.ranges?(d[d.length-1]=b,oe(a,b,c)):ne(a,b,c)}function ne(a,b,c){oe(a,b,c),_d(a,a.sel,a.cm?a.cm.curOp.id:NaN,c)}function oe(a,b,c){(Ha(a,"beforeSelectionChange")||a.cm&&Ha(a.cm,"beforeSelectionChange"))&&(b=le(a,b,c));var d=c&&c.bias||(I(b.primary().head,a.sel.primary().head)<0?-1:1);pe(a,re(a,b,d,!0)),c&&c.scroll===!1||!a.cm||ad(a.cm)}function pe(a,b){b.equals(a.sel)||(a.sel=b,a.cm&&(a.cm.curOp.updateInput=a.cm.curOp.selectionChanged=!0,Ga(a.cm)),yb(a,"cursorActivity",a))}function qe(a){pe(a,re(a,a.sel,null,!1),Eg)}function re(a,b,c,d){for(var e,f=0;f<b.ranges.length;f++){var g=b.ranges[f],h=b.ranges.length==a.sel.ranges.length&&a.sel.ranges[f],i=te(a,g.anchor,h&&h.anchor,c,d),j=te(a,g.head,h&&h.head,c,d);(e||i!=g.anchor||j!=g.head)&&(e||(e=b.ranges.slice(0,f)),e[f]=new Hd(i,j))}return e?Id(e,b.primIndex):b}function se(a,b,c,d,e){var f=z(a,b.line);if(f.markedSpans)for(var g=0;g<f.markedSpans.length;++g){var h=f.markedSpans[g],i=h.marker;if((null==h.from||(i.inclusiveLeft?h.from<=b.ch:h.from<b.ch))&&(null==h.to||(i.inclusiveRight?h.to>=b.ch:h.to>b.ch))){if(e&&(Ea(i,"beforeCursorEnter"),i.explicitlyCleared)){if(f.markedSpans){--g;continue}break}if(!i.atomic)continue;if(c){var j=i.find(d<0?1:-1),k=void 0;if((d<0?i.inclusiveRight:i.inclusiveLeft)&&(j=ue(a,j,-d,j&&j.line==b.line?f:null)),j&&j.line==b.line&&(k=I(j,c))&&(d<0?k<0:k>0))return se(a,j,b,d,e)}var l=i.find(d<0?-1:1);return(d<0?i.inclusiveLeft:i.inclusiveRight)&&(l=ue(a,l,d,l.line==b.line?f:null)),l?se(a,l,b,d,e):null}}return b}function te(a,b,c,d,e){var f=d||1,g=se(a,b,c,f,e)||!e&&se(a,b,c,f,!0)||se(a,b,c,-f,e)||!e&&se(a,b,c,-f,!0);return g?g:(a.cantEdit=!0,H(a.first,0))}function ue(a,b,c,d){return c<0&&0==b.ch?b.line>a.first?N(a,H(b.line-1)):null:c>0&&b.ch==(d||z(a,b.line)).text.length?b.line<a.first+a.size-1?H(b.line+1,0):null:new H(b.line,b.ch+c)}function ve(a){a.setSelection(H(a.firstLine(),0),H(a.lastLine()),Eg)}function we(a,b,c){var d={canceled:!1,from:b.from,to:b.to,text:b.text,origin:b.origin,cancel:function(){return d.canceled=!0}};return c&&(d.update=function(b,c,e,f){b&&(d.from=N(a,b)),c&&(d.to=N(a,c)),e&&(d.text=e),void 0!==f&&(d.origin=f)}),Ea(a,"beforeChange",a,d),a.cm&&Ea(a.cm,"beforeChange",a.cm,d),d.canceled?null:{from:d.from,to:d.to,text:d.text,origin:d.origin}}function xe(a,b,c){if(a.cm){if(!a.cm.curOp)return ld(a.cm,xe)(a,b,c);if(a.cm.state.suppressEdits)return}if(!(Ha(a,"beforeChange")||a.cm&&Ha(a.cm,"beforeChange"))||(b=we(a,b,!0))){var d=Kg&&!c&&$(a,b.from,b.to);if(d)for(var e=d.length-1;e>=0;--e)ye(a,{from:d[e].from,to:d[e].to,text:e?[""]:b.text});else ye(a,b)}}function ye(a,b){if(1!=b.text.length||""!=b.text[0]||0!=I(b.from,b.to)){var c=Md(a,b);Zd(a,b,c,a.cm?a.cm.curOp.id:NaN),Be(a,b,c,Y(a,b));var d=[];Td(a,function(a,c){c||m(d,a.history)!=-1||(Ge(a.history,b),d.push(a.history)),Be(a,b,null,Y(a,b))})}}function ze(a,b,c){if(!a.cm||!a.cm.state.suppressEdits||c){for(var d,e=a.history,f=a.sel,g="undo"==b?e.done:e.undone,h="undo"==b?e.undone:e.done,i=0;i<g.length&&(d=g[i],c?!d.ranges||d.equals(a.sel):d.ranges);i++);if(i!=g.length){for(e.lastOrigin=e.lastSelOrigin=null;d=g.pop(),d.ranges;){if(ae(d,h),c&&!d.equals(a.sel))return void ne(a,d,{clearRedo:!1});f=d}var j=[];ae(f,h),h.push({changes:j,generation:e.generation}),e.generation=d.generation||++e.maxGeneration;for(var k=Ha(a,"beforeChange")||a.cm&&Ha(a.cm,"beforeChange"),l=function(c){var e=d.changes[c];if(e.origin=b,k&&!we(a,e,!1))return g.length=0,{};j.push(Wd(a,e));var f=c?Md(a,e):p(g);Be(a,e,f,ee(a,e)),!c&&a.cm&&a.cm.scrollIntoView({from:e.from,to:Kd(e)});var h=[];Td(a,function(a,b){b||m(h,a.history)!=-1||(Ge(a.history,e),h.push(a.history)),Be(a,e,null,ee(a,e))})},n=d.changes.length-1;n>=0;--n){var o=l(n);if(o)return o.v}}}}function Ae(a,b){if(0!=b&&(a.first+=b,a.sel=new Gd(q(a.sel.ranges,function(a){return new Hd(H(a.anchor.line+b,a.anchor.ch),H(a.head.line+b,a.head.ch))}),a.sel.primIndex),a.cm)){od(a.cm,a.first,a.first-b,b);for(var c=a.cm.display,d=c.viewFrom;d<c.viewTo;d++)pd(a.cm,d,"gutter")}}function Be(a,b,c,d){if(a.cm&&!a.cm.curOp)return ld(a.cm,Be)(a,b,c,d);if(b.to.line<a.first)return void Ae(a,b.text.length-1-(b.to.line-b.from.line));if(!(b.from.line>a.lastLine())){if(b.from.line<a.first){var e=b.text.length-1-(a.first-b.from.line);Ae(a,e),b={from:H(a.first,0),to:H(b.to.line+e,b.to.ch),text:[p(b.text)],origin:b.origin}}var f=a.lastLine();b.to.line>f&&(b={from:b.from,to:H(f,z(a,f).text.length),text:[b.text[0]],origin:b.origin}),b.removed=A(a,b.from,b.to),c||(c=Md(a,b)),a.cm?Ce(a.cm,b,d):Sd(a,b,d),oe(a,c,Eg)}}function Ce(a,b,c){var d=a.doc,e=a.display,f=b.from,g=b.to,h=!1,i=f.line;a.options.lineWrapping||(i=D(ia(z(d,f.line))),d.iter(i,g.line+1,function(a){if(a==e.maxLine)return h=!0,!0})),d.sel.contains(b.from,b.to)>-1&&Ga(a),Sd(d,b,c,uc(a)),a.options.lineWrapping||(d.iter(i,f.line+b.text.length,function(a){var b=pa(a);b>e.maxLineLength&&(e.maxLine=a,e.maxLineLength=b,e.maxLineChanged=!0,h=!1)}),h&&(a.curOp.updateMaxLine=!0)),d.frontier=Math.min(d.frontier,f.line),ud(a,400);var j=b.text.length-(g.line-f.line)-1;b.full?od(a):f.line!=g.line||1!=b.text.length||Rd(a.doc,b)?od(a,f.line,g.line+1,j):pd(a,f.line,"text");var k=Ha(a,"changes"),l=Ha(a,"change");if(l||k){var m={from:f,to:g,text:b.text,removed:b.removed,origin:b.origin};l&&yb(a,"change",a,m),k&&(a.curOp.changeObjs||(a.curOp.changeObjs=[])).push(m)}a.display.selForContextMenu=null}function De(a,b,c,d,e){if(d||(d=c),I(d,c)<0){var f=d;d=c,c=f}"string"==typeof b&&(b=a.splitLines(b)),xe(a,{from:c,to:d,text:b,origin:e})}function Ee(a,b,c,d){c<a.line?a.line+=d:b<a.line&&(a.line=b,a.ch=0)}function Fe(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e],g=!0;if(f.ranges){f.copied||(f=a[e]=f.deepCopy(),f.copied=!0);for(var h=0;h<f.ranges.length;h++)Ee(f.ranges[h].anchor,b,c,d),Ee(f.ranges[h].head,b,c,d)}else{for(var i=0;i<f.changes.length;++i){var j=f.changes[i];if(c<j.from.line)j.from=H(j.from.line+d,j.from.ch),j.to=H(j.to.line+d,j.to.ch);else if(b<=j.to.line){g=!1;break}}g||(a.splice(0,e+1),e=0)}}}function Ge(a,b){var c=b.from.line,d=b.to.line,e=b.text.length-(d-c)-1;Fe(a.done,c,d,e),Fe(a.undone,c,d,e)}function He(a,b,c,d){var e=b,f=b;return"number"==typeof b?f=z(a,M(a,b)):e=D(b),null==e?null:(d(f,e)&&a.cm&&pd(a.cm,e,c),f)}function Ie(a){var b=this;this.lines=a,this.parent=null;for(var c=0,d=0;d<a.length;++d)a[d].parent=b,c+=a[d].height;this.height=c}function Je(a){var b=this;this.children=a;for(var c=0,d=0,e=0;e<a.length;++e){var f=a[e];c+=f.chunkSize(),d+=f.height,f.parent=b}this.size=c,this.height=d,this.parent=null}function Ke(a,b,c){var d=this;if(c)for(var e in c)c.hasOwnProperty(e)&&(d[e]=c[e]);this.doc=a,this.node=b}function Le(a,b,c){oa(b)<(a.curOp&&a.curOp.scrollTop||a.doc.scrollTop)&&_c(a,null,c)}function Me(a,b,c,d){var e=new Ke(a,c,d),f=a.cm;return f&&e.noHScroll&&(f.display.alignWidgets=!0),He(a,b,"widget",function(b){var c=b.widgets||(b.widgets=[]);if(null==e.insertAt?c.push(e):c.splice(Math.min(c.length-1,Math.max(0,e.insertAt)),0,e),e.line=b,f&&!ma(a,b)){var d=oa(b)<a.scrollTop;C(b,b.height+Mb(e)),d&&_c(f,null,e.height),f.curOp.forceUpdate=!0}return!0}),e}function Ne(a,b){this.lines=[],this.type=b,this.doc=a,this.id=++hh}function Oe(a,b,c,e,f){if(e&&e.shared)return Qe(a,b,c,e,f);if(a.cm&&!a.cm.curOp)return ld(a.cm,Oe)(a,b,c,e,f);var g=new Ne(a,f),h=I(b,c);if(e&&j(e,g,!1),h>0||0==h&&g.clearWhenEmpty!==!1)return g;if(g.replacedWith&&(g.collapsed=!0,g.widgetNode=d("span",[g.replacedWith],"CodeMirror-widget"),e.handleMouseEvents||g.widgetNode.setAttribute("cm-ignore-events","true"),e.insertLeft&&(g.widgetNode.insertLeft=!0)),g.collapsed){if(ha(a,b.line,b,c,g)||b.line!=c.line&&ha(a,c.line,b,c,g))throw new Error("Inserting collapsed marker partially overlapping an existing one");R()}g.addToHistory&&Zd(a,{from:b,to:c,origin:"markText"},a.sel,NaN);var i,k=b.line,l=a.cm;if(a.iter(k,c.line+1,function(a){l&&g.collapsed&&!l.options.lineWrapping&&ia(a)==l.display.maxLine&&(i=!0),g.collapsed&&k!=b.line&&C(a,0),V(a,new S(g,k==b.line?b.ch:null,k==c.line?c.ch:null)),++k}),g.collapsed&&a.iter(b.line,c.line+1,function(b){ma(a,b)&&C(b,0)}),g.clearOnEnter&&Pg(g,"beforeCursorEnter",function(){return g.clear()}),g.readOnly&&(Q(),(a.history.done.length||a.history.undone.length)&&a.clearHistory()),g.collapsed&&(g.id=++hh,g.atomic=!0),l){if(i&&(l.curOp.updateMaxLine=!0),g.collapsed)od(l,b.line,c.line+1);else if(g.className||g.title||g.startStyle||g.endStyle||g.css)for(var m=b.line;m<=c.line;m++)pd(l,m,"text");g.atomic&&qe(l.doc),yb(l,"markerAdded",l,g)}return g}function Pe(a,b){var c=this;this.markers=a,this.primary=b;for(var d=0;d<a.length;++d)a[d].parent=c}function Qe(a,b,c,d,e){d=j(d),d.shared=!1;var f=[Oe(a,b,c,d,e)],g=f[0],h=d.widgetNode;return Td(a,function(a){h&&(d.widgetNode=h.cloneNode(!0)),f.push(Oe(a,N(a,b),N(a,c),d,e));for(var i=0;i<a.linked.length;++i)if(a.linked[i].isParent)return;g=p(f)}),new Pe(f,g)}function Re(a){return a.findMarks(H(a.first,0),a.clipPos(H(a.lastLine())),function(a){return a.parent})}function Se(a,b){for(var c=0;c<b.length;c++){var d=b[c],e=d.find(),f=a.clipPos(e.from),g=a.clipPos(e.to);if(I(f,g)){var h=Oe(a,f,g,d.primary,d.primary.type);d.markers.push(h),h.parent=d}}}function Te(a){for(var b=function(b){var c=a[b],d=[c.primary.doc];Td(c.primary.doc,function(a){return d.push(a)});for(var e=0;e<c.markers.length;e++){var f=c.markers[e];m(d,f.doc)==-1&&(f.parent=null,c.markers.splice(e--,1))}},c=0;c<a.length;c++)b(c)}function Ue(a){var b=this;if(Xe(b),!Fa(b,a)&&!Nb(b.display,a)){Ja(a),gg&&(kh=+new Date);var c=wc(b,a,!0),d=a.dataTransfer.files;if(c&&!b.isReadOnly())if(d&&d.length&&window.FileReader&&window.File)for(var e=d.length,f=Array(e),g=0,h=function(a,d){if(!b.options.allowDropFileTypes||m(b.options.allowDropFileTypes,a.type)!=-1){var h=new FileReader;h.onload=ld(b,function(){var a=h.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(a)&&(a=""),f[d]=a,++g==e){c=N(b.doc,c);var i={from:c,to:c,text:b.doc.splitLines(f.join(b.doc.lineSeparator())),origin:"paste"};xe(b.doc,i),me(b.doc,Jd(c,Kd(i)))}}),h.readAsText(a)}},i=0;i<e;++i)h(d[i],i);else{if(b.state.draggingText&&b.doc.sel.contains(c)>-1)return b.state.draggingText(a),void setTimeout(function(){return b.display.input.focus()},20);try{var j=a.dataTransfer.getData("Text");if(j){var k;if(b.state.draggingText&&!b.state.draggingText.copy&&(k=b.listSelections()),oe(b.doc,Jd(c,c)),k)for(var l=0;l<k.length;++l)De(b.doc,"",k[l].anchor,k[l].head,"drag");b.replaceSelection(j,"around","paste"),b.display.input.focus()}}catch(a){}}}}function Ve(a,b){if(gg&&(!a.state.draggingText||+new Date-kh<100))return void Ma(b);if(!Fa(a,b)&&!Nb(a.display,b)&&(b.dataTransfer.setData("Text",a.getSelection()),b.dataTransfer.effectAllowed="copyMove",b.dataTransfer.setDragImage&&!mg)){var c=d("img",null,null,"position: fixed; left: 0; top: 0;");c.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",lg&&(c.width=c.height=1,a.display.wrapper.appendChild(c),c._top=c.offsetTop),b.dataTransfer.setDragImage(c,0,0),lg&&c.parentNode.removeChild(c)}}function We(a,b){var e=wc(a,b);if(e){var f=document.createDocumentFragment();Ac(a,e,f),a.display.dragCursor||(a.display.dragCursor=d("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),a.display.lineSpace.insertBefore(a.display.dragCursor,a.display.cursorDiv)),c(a.display.dragCursor,f)}}function Xe(a){a.display.dragCursor&&(a.display.lineSpace.removeChild(a.display.dragCursor),a.display.dragCursor=null)}function Ye(a){if(document.body.getElementsByClassName)for(var b=document.body.getElementsByClassName("CodeMirror"),c=0;c<b.length;c++){var d=b[c].CodeMirror;d&&a(d)}}function Ze(){lh||($e(),lh=!0)}function $e(){var a;Pg(window,"resize",function(){null==a&&(a=setTimeout(function(){a=null,Ye(_e)},100))}),Pg(window,"blur",function(){return Ye(Gc)})}function _e(a){var b=a.display;b.lastWrapHeight==b.wrapper.clientHeight&&b.lastWrapWidth==b.wrapper.clientWidth||(b.cachedCharWidth=b.cachedTextHeight=b.cachedPaddingH=null,b.scrollbarsClipped=!1,a.setSize())}function af(a){var b=a.split(/-(?!$)/);a=b[b.length-1];for(var c,d,e,f,g=0;g<b.length-1;g++){var h=b[g];if(/^(cmd|meta|m)$/i.test(h))f=!0;else if(/^a(lt)?$/i.test(h))c=!0;else if(/^(c|ctrl|control)$/i.test(h))d=!0;else{if(!/^s(hift)?$/i.test(h))throw new Error("Unrecognized modifier name: "+h);e=!0}}return c&&(a="Alt-"+a),d&&(a="Ctrl-"+a),f&&(a="Cmd-"+a),e&&(a="Shift-"+a),a}function bf(a){var b={};for(var c in a)if(a.hasOwnProperty(c)){var d=a[c];if(/^(name|fallthrough|(de|at)tach)$/.test(c))continue;if("..."==d){delete a[c];continue}for(var e=q(c.split(" "),af),f=0;f<e.length;f++){var g=void 0,h=void 0;f==e.length-1?(h=e.join(" "),g=d):(h=e.slice(0,f+1).join(" "),g="...");var i=b[h];if(i){if(i!=g)throw new Error("Inconsistent bindings for "+h)}else b[h]=g}delete a[c]}for(var j in b)a[j]=b[j];return a}function cf(a,b,c,d){b=ff(b);var e=b.call?b.call(a,d):b[a];if(e===!1)return"nothing";if("..."===e)return"multi";if(null!=e&&c(e))return"handled";if(b.fallthrough){if("[object Array]"!=Object.prototype.toString.call(b.fallthrough))return cf(a,b.fallthrough,c,d);for(var f=0;f<b.fallthrough.length;f++){var g=cf(a,b.fallthrough[f],c,d);if(g)return g}}}function df(a){var b="string"==typeof a?a:mh[a.keyCode];return"Ctrl"==b||"Alt"==b||"Shift"==b||"Mod"==b}function ef(a,b){if(lg&&34==a.keyCode&&a["char"])return!1;var c=mh[a.keyCode],d=c;return null!=d&&!a.altGraphKey&&(a.altKey&&"Alt"!=c&&(d="Alt-"+d),(wg?a.metaKey:a.ctrlKey)&&"Ctrl"!=c&&(d="Ctrl-"+d),(wg?a.ctrlKey:a.metaKey)&&"Cmd"!=c&&(d="Cmd-"+d),!b&&a.shiftKey&&"Shift"!=c&&(d="Shift-"+d),d)}function ff(a){return"string"==typeof a?qh[a]:a}function gf(a,b){for(var c=a.doc.sel.ranges,d=[],e=0;e<c.length;e++){for(var f=b(c[e]);d.length&&I(f.from,p(d).to)<=0;){var g=d.pop();if(I(g.from,f.from)<0){f.from=g.from;break}}d.push(f)}kd(a,function(){for(var b=d.length-1;b>=0;b--)De(a.doc,"",d[b].from,d[b].to,"+delete");ad(a)})}function hf(a,b){var c=z(a.doc,b),d=ia(c);d!=c&&(b=D(d));var e=Ba(d),f=e?e[0].level%2?va(d):ua(d):0;return H(b,f)}function jf(a,b){for(var c,d=z(a.doc,b);c=ga(d);)d=c.find(1,!0).line,b=null;var e=Ba(d),f=e?e[0].level%2?ua(d):va(d):d.text.length;return H(null==b?D(d):b,f)}function kf(a,b){var c=hf(a,b.line),d=z(a.doc,c.line),e=Ba(d);if(!e||0==e[0].level){var f=Math.max(0,d.text.search(/\S/)),g=b.line==c.line&&b.ch<=f&&b.ch;return H(c.line,g?0:f)}return c}function lf(a,b,c){if("string"==typeof b&&(b=th[b],!b))return!1;a.display.input.ensurePolled();var d=a.display.shift,e=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),c&&(a.display.shift=!1),e=b(a)!=Dg}finally{a.display.shift=d,a.state.suppressEdits=!1}return e}function mf(a,b,c){for(var d=0;d<a.state.keyMaps.length;d++){var e=cf(b,a.state.keyMaps[d],c,a);if(e)return e}return a.options.extraKeys&&cf(b,a.options.extraKeys,c,a)||cf(b,a.options.keyMap,c,a)}function nf(a,b,c,d){var e=a.state.keySeq;if(e){if(df(b))return"handled";uh.set(50,function(){a.state.keySeq==e&&(a.state.keySeq=null,a.display.input.reset())}),b=e+" "+b}var f=mf(a,b,d);return"multi"==f&&(a.state.keySeq=b),"handled"==f&&yb(a,"keyHandled",a,b,c),"handled"!=f&&"multi"!=f||(Ja(c),Cc(a)),e&&!f&&/\'$/.test(b)?(Ja(c),!0):!!f}function of(a,b){var c=ef(b,!0);return!!c&&(b.shiftKey&&!a.state.keySeq?nf(a,"Shift-"+c,b,function(b){return lf(a,b,!0)})||nf(a,c,b,function(b){if("string"==typeof b?/^go[A-Z]/.test(b):b.motion)return lf(a,b)}):nf(a,c,b,function(b){return lf(a,b)}))}function pf(a,b,c){return nf(a,"'"+c+"'",b,function(b){return lf(a,b,!0)})}function qf(a){var b=this;if(b.curOp.focus=f(),!Fa(b,a)){gg&&hg<11&&27==a.keyCode&&(a.returnValue=!1);var c=a.keyCode;b.display.shift=16==c||a.shiftKey;var d=of(b,a);lg&&(vh=d?c:null,!d&&88==c&&!Tg&&(rg?a.metaKey:a.ctrlKey)&&b.replaceSelection("",null,"cut")),18!=c||/\bCodeMirror-crosshair\b/.test(b.display.lineDiv.className)||rf(b)}}function rf(a){function b(a){18!=a.keyCode&&a.altKey||(yg(c,"CodeMirror-crosshair"),Da(document,"keyup",b),Da(document,"mouseover",b))}var c=a.display.lineDiv;g(c,"CodeMirror-crosshair"),Pg(document,"keyup",b),Pg(document,"mouseover",b)}function sf(a){16==a.keyCode&&(this.doc.sel.shift=!1),Fa(this,a)}function tf(a){var b=this;if(!(Nb(b.display,a)||Fa(b,a)||a.ctrlKey&&!a.altKey||rg&&a.metaKey)){var c=a.keyCode,d=a.charCode;if(lg&&c==vh)return vh=null,void Ja(a);if(!lg||a.which&&!(a.which<10)||!of(b,a)){var e=String.fromCharCode(null==d?c:d);"\b"!=e&&(pf(b,a,e)||b.display.input.onKeyPress(a))}}}function uf(a){var b=this,c=b.display;if(!(Fa(b,a)||c.activeTouch&&c.input.supportsTouch())){if(c.input.ensurePolled(),c.shift=a.shiftKey,Nb(c,a))return void(ig||(c.scroller.draggable=!1,setTimeout(function(){return c.scroller.draggable=!0},100)));if(!zf(b,a)){var d=wc(b,a);switch(window.focus(),Oa(a)){case 1:b.state.selectingText?b.state.selectingText(a):d?vf(b,a,d):Na(a)==c.scroller&&Ja(a);break;case 2:ig&&(b.state.lastMiddleDown=+new Date),d&&he(b.doc,d),setTimeout(function(){return c.input.focus()},20),Ja(a);break;case 3:xg?Af(b,a):Ec(b)}}}}function vf(a,b,c){gg?setTimeout(i(Dc,a),0):a.curOp.focus=f();var d,e=+new Date;sh&&sh.time>e-400&&0==I(sh.pos,c)?d="triple":rh&&rh.time>e-400&&0==I(rh.pos,c)?(d="double",sh={time:e,pos:c}):(d="single",rh={time:e,pos:c});var g,h=a.doc.sel,j=rg?b.metaKey:b.ctrlKey;a.options.dragDrop&&Qg&&!a.isReadOnly()&&"single"==d&&(g=h.contains(c))>-1&&(I((g=h.ranges[g]).from(),c)<0||c.xRel>0)&&(I(g.to(),c)>0||c.xRel<0)?wf(a,b,c,j):xf(a,b,c,d,j)}function wf(a,b,c,d){var e=a.display,f=+new Date,g=ld(a,function(h){ig&&(e.scroller.draggable=!1),a.state.draggingText=!1,Da(document,"mouseup",g),Da(e.scroller,"drop",g),Math.abs(b.clientX-h.clientX)+Math.abs(b.clientY-h.clientY)<10&&(Ja(h),!d&&+new Date-200<f&&he(a.doc,c),ig||gg&&9==hg?setTimeout(function(){document.body.focus(),e.input.focus()},20):e.input.focus())});ig&&(e.scroller.draggable=!0),a.state.draggingText=g,g.copy=rg?b.altKey:b.ctrlKey,e.scroller.dragDrop&&e.scroller.dragDrop(),Pg(document,"mouseup",g),Pg(e.scroller,"drop",g)}function xf(a,b,c,d,e){function g(b){if(0!=I(t,b))if(t=b,"rect"==d){for(var e=[],f=a.options.tabSize,g=k(z(l,c.line).text,c.ch,f),h=k(z(l,b.line).text,b.ch,f),i=Math.min(g,h),j=Math.max(g,h),q=Math.min(c.line,b.line),r=Math.min(a.lastLine(),Math.max(c.line,b.line));q<=r;q++){var s=z(l,q).text,u=n(s,i,f);i==j?e.push(new Hd(H(q,u),H(q,u))):s.length>u&&e.push(new Hd(H(q,u),H(q,n(s,j,f))))}e.length||e.push(new Hd(c,c)),ne(l,Id(p.ranges.slice(0,o).concat(e),o),{origin:"*mouse",scroll:!1}),a.scrollIntoView(b)}else{var v=m,w=v.anchor,x=b;if("single"!=d){var y;y="double"==d?a.findWordAt(b):new Hd(H(b.line,0),N(l,H(b.line+1,0))),I(y.anchor,w)>0?(x=y.head,w=L(v.from(),y.anchor)):(x=y.anchor,w=K(v.to(),y.head))}var A=p.ranges.slice(0);A[o]=new Hd(N(l,w),x),ne(l,Id(A,o),Fg)}}function h(b){var c=++v,e=wc(a,b,!0,"rect"==d);if(e)if(0!=I(e,t)){a.curOp.focus=f(),g(e);var i=Lc(j,l);(e.line>=i.to||e.line<i.from)&&setTimeout(ld(a,function(){v==c&&h(b)}),150)}else{var k=b.clientY<u.top?-20:b.clientY>u.bottom?20:0;k&&setTimeout(ld(a,function(){v==c&&(j.scroller.scrollTop+=k,h(b))}),50)}}function i(b){a.state.selectingText=!1,v=1/0,Ja(b),j.input.focus(),Da(document,"mousemove",w),Da(document,"mouseup",x),l.history.lastSelOrigin=null}var j=a.display,l=a.doc;Ja(b);var m,o,p=l.sel,q=p.ranges;if(e&&!b.shiftKey?(o=l.sel.contains(c),m=o>-1?q[o]:new Hd(c,c)):(m=l.sel.primary(),o=l.sel.primIndex),sg?b.shiftKey&&b.metaKey:b.altKey)d="rect",e||(m=new Hd(c,c)),c=wc(a,b,!0,!0),o=-1;else if("double"==d){var r=a.findWordAt(c);m=a.display.shift||l.extend?ge(l,m,r.anchor,r.head):r}else if("triple"==d){var s=new Hd(H(c.line,0),N(l,H(c.line+1,0)));m=a.display.shift||l.extend?ge(l,m,s.anchor,s.head):s}else m=ge(l,m,c);e?o==-1?(o=q.length,ne(l,Id(q.concat([m]),o),{scroll:!1,origin:"*mouse"})):q.length>1&&q[o].empty()&&"single"==d&&!b.shiftKey?(ne(l,Id(q.slice(0,o).concat(q.slice(o+1)),0),{scroll:!1,origin:"*mouse"}),p=l.sel):je(l,o,m,Fg):(o=0,ne(l,new Gd([m],0),Fg),p=l.sel);var t=c,u=j.wrapper.getBoundingClientRect(),v=0,w=ld(a,function(a){Oa(a)?h(a):i(a)}),x=ld(a,i);a.state.selectingText=x,Pg(document,"mousemove",w),Pg(document,"mouseup",x)}function yf(a,b,c,d){var e,f;try{e=b.clientX,f=b.clientY}catch(b){return!1}if(e>=Math.floor(a.display.gutters.getBoundingClientRect().right))return!1;d&&Ja(b);var g=a.display,h=g.lineDiv.getBoundingClientRect();if(f>h.bottom||!Ha(a,c))return La(b);f-=h.top-g.viewOffset;for(var i=0;i<a.options.gutters.length;++i){var j=g.gutters.childNodes[i];if(j&&j.getBoundingClientRect().right>=e){var k=E(a.doc,f),l=a.options.gutters[i];return Ea(a,c,a,k,l,b),La(b)}}}function zf(a,b){return yf(a,b,"gutterClick",!0)}function Af(a,b){Nb(a.display,b)||Bf(a,b)||Fa(a,b,"contextmenu")||a.display.input.onContextMenu(b)}function Bf(a,b){return!!Ha(a,"gutterContextMenu")&&yf(a,b,"gutterContextMenu",!1)}function Cf(a){a.display.wrapper.className=a.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+a.options.theme.replace(/(^|\s)\s*/g," cm-s-"),fc(a)}function Df(a){function b(b,d,e,f){a.defaults[b]=d,e&&(c[b]=f?function(a,b,c){c!=wh&&e(a,b,c)}:e)}var c=a.optionHandlers;a.defineOption=b,a.Init=wh,b("value","",function(a,b){return a.setValue(b)},!0),b("mode",null,function(a,b){a.doc.modeOption=b,Pd(a)},!0),b("indentUnit",2,Pd,!0),b("indentWithTabs",!1),b("smartIndent",!0),b("tabSize",4,function(a){Qd(a),fc(a),od(a)},!0),b("lineSeparator",null,function(a,b){if(a.doc.lineSep=b,b){var c=[],d=a.doc.first;a.doc.iter(function(a){for(var e=0;;){var f=a.text.indexOf(b,e);if(f==-1)break;e=f+b.length,c.push(H(d,f))}d++});for(var e=c.length-1;e>=0;e--)De(a.doc,b,c[e],H(c[e].line,c[e].ch+b.length))}}),b("specialChars",/[\u0000-\u001f\u007f\u00ad\u200b-\u200f\u2028\u2029\ufeff]/g,function(a,b,c){a.state.specialChars=new RegExp(b.source+(b.test("\t")?"":"|\t"),"g"),c!=wh&&a.refresh()}),b("specialCharPlaceholder",nb,function(a){return a.refresh()},!0),b("electricChars",!0),b("inputStyle",qg?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),b("spellcheck",!1,function(a,b){return a.getInputField().spellcheck=b},!0),b("rtlMoveVisually",!tg),b("wholeLineUpdateBefore",!0),b("theme","default",function(a){Cf(a),Ef(a)},!0),b("keyMap","default",function(a,b,c){var d=ff(b),e=c!=wh&&ff(c);e&&e.detach&&e.detach(a,d),d.attach&&d.attach(a,e||null)}),b("extraKeys",null),b("lineWrapping",!1,Gf,!0),b("gutters",[],function(a){Fd(a.options),Ef(a)},!0),b("fixedGutter",!0,function(a,b){a.display.gutters.style.left=b?tc(a.display)+"px":"0",a.refresh()},!0),b("coverGutterNextToScrollbar",!1,function(a){return Uc(a)},!0),b("scrollbarStyle","native",function(a){Wc(a),Uc(a),a.display.scrollbars.setScrollTop(a.doc.scrollTop),a.display.scrollbars.setScrollLeft(a.doc.scrollLeft)},!0),b("lineNumbers",!1,function(a){Fd(a.options),Ef(a)},!0),b("firstLineNumber",1,Ef,!0),b("lineNumberFormatter",function(a){return a},Ef,!0),b("showCursorWhenSelecting",!1,yc,!0),b("resetSelectionOnContextMenu",!0),b("lineWiseCopyCut",!0),b("readOnly",!1,function(a,b){"nocursor"==b?(Gc(a),a.display.input.blur(),a.display.disabled=!0):a.display.disabled=!1,a.display.input.readOnlyChanged(b)}),b("disableInput",!1,function(a,b){b||a.display.input.reset()},!0),b("dragDrop",!0,Ff),b("allowDropFileTypes",null),b("cursorBlinkRate",530),b("cursorScrollMargin",0),b("cursorHeight",1,yc,!0),b("singleCursorHeightPerLine",!0,yc,!0),b("workTime",100),b("workDelay",100),b("flattenSpans",!0,Qd,!0),b("addModeClass",!1,Qd,!0),b("pollInterval",100),b("undoDepth",200,function(a,b){return a.doc.history.undoDepth=b}),b("historyEventDelay",1250),b("viewportMargin",10,function(a){return a.refresh()},!0),b("maxHighlightLength",1e4,Qd,!0),b("moveInputWithCursor",!0,function(a,b){b||a.display.input.resetPosition()}),b("tabindex",null,function(a,b){return a.display.input.getField().tabIndex=b||""}),b("autofocus",null)}function Ef(a){Ed(a),od(a),setTimeout(function(){return Hc(a)},20)}function Ff(a,b,c){var d=c&&c!=wh;if(!b!=!d){var e=a.display.dragFunctions,f=b?Pg:Da;f(a.display.scroller,"dragstart",e.start),f(a.display.scroller,"dragenter",e.enter),f(a.display.scroller,"dragover",e.over),f(a.display.scroller,"dragleave",e.leave),f(a.display.scroller,"drop",e.drop)}}function Gf(a){a.options.lineWrapping?(g(a.display.wrapper,"CodeMirror-wrap"),a.display.sizer.style.minWidth="",a.display.sizerWidth=null):(yg(a.display.wrapper,"CodeMirror-wrap"),qa(a)),vc(a),od(a),fc(a),setTimeout(function(){return Uc(a)},100)}function Hf(a,b){var c=this;if(!(this instanceof Hf))return new Hf(a,b);this.options=b=b?j(b):{},j(xh,b,!1),Fd(b);var d=b.value;"string"==typeof d&&(d=new jh(d,b.mode,null,b.lineSeparator)),this.doc=d;var e=new Hf.inputStyles[b.inputStyle](this),f=this.display=new y(a,d,e);f.wrapper.CodeMirror=this,Ed(this),Cf(this),b.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),b.autofocus&&!qg&&f.input.focus(),Wc(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:!1,cutIncoming:!1,selectingText:!1,draggingText:!1,highlight:new l,keySeq:null,specialChars:null},gg&&hg<11&&setTimeout(function(){return c.display.input.reset(!0)},20),If(this),Ze(),cd(this),this.curOp.forceUpdate=!0,Ud(this,d),b.autofocus&&!qg||this.hasFocus()?setTimeout(i(Fc,this),20):Gc(this);for(var g in yh)yh.hasOwnProperty(g)&&yh[g](c,b[g],wh);Ic(this),b.finishInit&&b.finishInit(this);for(var h=0;h<zh.length;++h)zh[h](c);dd(this),ig&&b.lineWrapping&&"optimizelegibility"==getComputedStyle(f.lineDiv).textRendering&&(f.lineDiv.style.textRendering="auto")}function If(a){function b(){e.activeTouch&&(f=setTimeout(function(){return e.activeTouch=null},1e3),g=e.activeTouch,g.end=+new Date)}function c(a){if(1!=a.touches.length)return!1;var b=a.touches[0];return b.radiusX<=1&&b.radiusY<=1}function d(a,b){if(null==b.left)return!0;var c=b.left-a.left,d=b.top-a.top;return c*c+d*d>400}var e=a.display;Pg(e.scroller,"mousedown",ld(a,uf)),gg&&hg<11?Pg(e.scroller,"dblclick",ld(a,function(b){if(!Fa(a,b)){var c=wc(a,b);if(c&&!zf(a,b)&&!Nb(a.display,b)){Ja(b);var d=a.findWordAt(c);he(a.doc,d.anchor,d.head)}}})):Pg(e.scroller,"dblclick",function(b){return Fa(a,b)||Ja(b)}),xg||Pg(e.scroller,"contextmenu",function(b){return Af(a,b)});var f,g={end:0};Pg(e.scroller,"touchstart",function(b){if(!Fa(a,b)&&!c(b)){e.input.ensurePolled(),clearTimeout(f);var d=+new Date;e.activeTouch={start:d,moved:!1,prev:d-g.end<=300?g:null},1==b.touches.length&&(e.activeTouch.left=b.touches[0].pageX,e.activeTouch.top=b.touches[0].pageY)}}),Pg(e.scroller,"touchmove",function(){e.activeTouch&&(e.activeTouch.moved=!0)}),Pg(e.scroller,"touchend",function(c){var f=e.activeTouch;if(f&&!Nb(e,c)&&null!=f.left&&!f.moved&&new Date-f.start<300){var g,h=a.coordsChar(e.activeTouch,"page");g=!f.prev||d(f,f.prev)?new Hd(h,h):!f.prev.prev||d(f,f.prev.prev)?a.findWordAt(h):new Hd(H(h.line,0),N(a.doc,H(h.line+1,0))),a.setSelection(g.anchor,g.head),a.focus(),Ja(c)}b()}),Pg(e.scroller,"touchcancel",b),Pg(e.scroller,"scroll",function(){e.scroller.clientHeight&&(Mc(a,e.scroller.scrollTop),Nc(a,e.scroller.scrollLeft,!0),Ea(a,"scroll",a))}),Pg(e.scroller,"mousewheel",function(b){return Qc(a,b)}),Pg(e.scroller,"DOMMouseScroll",function(b){return Qc(a,b)}),Pg(e.wrapper,"scroll",function(){return e.wrapper.scrollTop=e.wrapper.scrollLeft=0}),e.dragFunctions={enter:function(b){Fa(a,b)||Ma(b)},over:function(b){Fa(a,b)||(We(a,b),Ma(b))},start:function(b){return Ve(a,b)},drop:ld(a,Ue),leave:function(b){Fa(a,b)||Xe(a)}};var h=e.input.getField();Pg(h,"keyup",function(b){return sf.call(a,b)}),Pg(h,"keydown",ld(a,qf)),Pg(h,"keypress",ld(a,tf)),Pg(h,"focus",function(b){return Fc(a,b)}),Pg(h,"blur",function(b){return Gc(a,b)})}function Jf(a,b,c,d){var e,f=a.doc;null==c&&(c="add"),"smart"==c&&(f.mode.indent?e=ab(a,b):c="prev");var g=a.options.tabSize,h=z(f,b),i=k(h.text,null,g);h.stateAfter&&(h.stateAfter=null);var j,l=h.text.match(/^\s*/)[0];if(d||/\S/.test(h.text)){if("smart"==c&&(j=f.mode.indent(e,h.text.slice(l.length),h.text),j==Dg||j>150)){if(!d)return;c="prev"}}else j=0,c="not";"prev"==c?j=b>f.first?k(z(f,b-1).text,null,g):0:"add"==c?j=i+a.options.indentUnit:"subtract"==c?j=i-a.options.indentUnit:"number"==typeof c&&(j=i+c),j=Math.max(0,j);var m="",n=0;if(a.options.indentWithTabs)for(var p=Math.floor(j/g);p;--p)n+=g,m+="\t";if(n<j&&(m+=o(j-n)),m!=l)return De(f,m,H(b,0),H(b,l.length),"+input"),h.stateAfter=null,!0;for(var q=0;q<f.sel.ranges.length;q++){var r=f.sel.ranges[q];if(r.head.line==b&&r.head.ch<l.length){
4
- var s=H(b,l.length);je(f,q,new Hd(s,s));break}}}function Kf(a){Ah=a}function Lf(a,b,c,d,e){var f=a.doc;a.display.shift=!1,d||(d=f.sel);var g=a.state.pasteIncoming||"paste"==e,h=Rg(b),i=null;if(g&&d.ranges.length>1)if(Ah&&Ah.text.join("\n")==b){if(d.ranges.length%Ah.text.length==0){i=[];for(var j=0;j<Ah.text.length;j++)i.push(f.splitLines(Ah.text[j]))}}else h.length==d.ranges.length&&(i=q(h,function(a){return[a]}));for(var k,l=d.ranges.length-1;l>=0;l--){var m=d.ranges[l],n=m.from(),o=m.to();m.empty()&&(c&&c>0?n=H(n.line,n.ch-c):a.state.overwrite&&!g?o=H(o.line,Math.min(z(f,o.line).text.length,o.ch+p(h).length)):Ah&&Ah.lineWise&&Ah.text.join("\n")==b&&(n=o=H(n.line,0))),k=a.curOp.updateInput;var r={from:n,to:o,text:i?i[l%i.length]:h,origin:e||(g?"paste":a.state.cutIncoming?"cut":"+input")};xe(a.doc,r),yb(a,"inputRead",a,r)}b&&!g&&Nf(a,b),ad(a),a.curOp.updateInput=k,a.curOp.typing=!0,a.state.pasteIncoming=a.state.cutIncoming=!1}function Mf(a,b){var c=a.clipboardData&&a.clipboardData.getData("Text");if(c)return a.preventDefault(),b.isReadOnly()||b.options.disableInput||kd(b,function(){return Lf(b,c,0,null,"paste")}),!0}function Nf(a,b){if(a.options.electricChars&&a.options.smartIndent)for(var c=a.doc.sel,d=c.ranges.length-1;d>=0;d--){var e=c.ranges[d];if(!(e.head.ch>100||d&&c.ranges[d-1].head.line==e.head.line)){var f=a.getModeAt(e.head),g=!1;if(f.electricChars){for(var h=0;h<f.electricChars.length;h++)if(b.indexOf(f.electricChars.charAt(h))>-1){g=Jf(a,e.head.line,"smart");break}}else f.electricInput&&f.electricInput.test(z(a.doc,e.head.line).text.slice(0,e.head.ch))&&(g=Jf(a,e.head.line,"smart"));g&&yb(a,"electricInput",a,e.head.line)}}}function Of(a){for(var b=[],c=[],d=0;d<a.doc.sel.ranges.length;d++){var e=a.doc.sel.ranges[d].head.line,f={anchor:H(e,0),head:H(e+1,0)};c.push(f),b.push(a.getRange(f.anchor,f.head))}return{text:b,ranges:c}}function Pf(a,b){a.setAttribute("autocorrect","off"),a.setAttribute("autocapitalize","off"),a.setAttribute("spellcheck",!!b)}function Qf(){var a=d("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),b=d("div",[a],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return ig?a.style.width="1000px":a.setAttribute("wrap","off"),pg&&(a.style.border="1px solid black"),Pf(a),b}function Rf(a){var b=a.optionHandlers,c=a.helpers={};a.prototype={constructor:a,focus:function(){window.focus(),this.display.input.focus()},setOption:function(a,c){var d=this.options,e=d[a];d[a]==c&&"mode"!=a||(d[a]=c,b.hasOwnProperty(a)&&ld(this,b[a])(this,c,e))},getOption:function(a){return this.options[a]},getDoc:function(){return this.doc},addKeyMap:function(a,b){this.state.keyMaps[b?"push":"unshift"](ff(a))},removeKeyMap:function(a){for(var b=this.state.keyMaps,c=0;c<b.length;++c)if(b[c]==a||b[c].name==a)return b.splice(c,1),!0},addOverlay:md(function(b,c){var d=b.token?b:a.getMode(this.options,b);if(d.startState)throw new Error("Overlays may not be stateful.");r(this.state.overlays,{mode:d,modeSpec:b,opaque:c&&c.opaque,priority:c&&c.priority||0},function(a){return a.priority}),this.state.modeGen++,od(this)}),removeOverlay:md(function(a){for(var b=this,c=this.state.overlays,d=0;d<c.length;++d){var e=c[d].modeSpec;if(e==a||"string"==typeof a&&e.name==a)return c.splice(d,1),b.state.modeGen++,void od(b)}}),indentLine:md(function(a,b,c){"string"!=typeof b&&"number"!=typeof b&&(b=null==b?this.options.smartIndent?"smart":"prev":b?"add":"subtract"),F(this.doc,a)&&Jf(this,a,b,c)}),indentSelection:md(function(a){for(var b=this,c=this.doc.sel.ranges,d=-1,e=0;e<c.length;e++){var f=c[e];if(f.empty())f.head.line>d&&(Jf(b,f.head.line,a,!0),d=f.head.line,e==b.doc.sel.primIndex&&ad(b));else{var g=f.from(),h=f.to(),i=Math.max(d,g.line);d=Math.min(b.lastLine(),h.line-(h.ch?0:1))+1;for(var j=i;j<d;++j)Jf(b,j,a);var k=b.doc.sel.ranges;0==g.ch&&c.length==k.length&&k[e].from().ch>0&&je(b.doc,e,new Hd(g,k[e].to()),Eg)}}}),getTokenAt:function(a,b){return eb(this,a,b)},getLineTokens:function(a,b){return eb(this,H(a),b,!0)},getTokenTypeAt:function(a){a=N(this.doc,a);var b,c=_a(this,z(this.doc,a.line)),d=0,e=(c.length-1)/2,f=a.ch;if(0==f)b=c[2];else for(;;){var g=d+e>>1;if((g?c[2*g-1]:0)>=f)e=g;else{if(!(c[2*g+1]<f)){b=c[2*g+2];break}d=g+1}}var h=b?b.indexOf("overlay "):-1;return h<0?b:0==h?null:b.slice(0,h-1)},getModeAt:function(b){var c=this.doc.mode;return c.innerMode?a.innerMode(c,this.getTokenAt(b).state).mode:c},getHelper:function(a,b){return this.getHelpers(a,b)[0]},getHelpers:function(a,b){var d=this,e=[];if(!c.hasOwnProperty(b))return e;var f=c[b],g=this.getModeAt(a);if("string"==typeof g[b])f[g[b]]&&e.push(f[g[b]]);else if(g[b])for(var h=0;h<g[b].length;h++){var i=f[g[b][h]];i&&e.push(i)}else g.helperType&&f[g.helperType]?e.push(f[g.helperType]):f[g.name]&&e.push(f[g.name]);for(var j=0;j<f._global.length;j++){var k=f._global[j];k.pred(g,d)&&m(e,k.val)==-1&&e.push(k.val)}return e},getStateAfter:function(a,b){var c=this.doc;return a=M(c,null==a?c.first+c.size-1:a),ab(this,a+1,b)},cursorCoords:function(a,b){var c,d=this.doc.sel.primary();return c=null==a?d.head:"object"==typeof a?N(this.doc,a):a?d.from():d.to(),lc(this,c,b||"page")},charCoords:function(a,b){return kc(this,N(this.doc,a),b||"page")},coordsChar:function(a,b){return a=jc(this,a,b||"page"),oc(this,a.left,a.top)},lineAtHeight:function(a,b){return a=jc(this,{top:a,left:0},b||"page").top,E(this.doc,a+this.display.viewOffset)},heightAtLine:function(a,b,c){var d,e=!1;if("number"==typeof a){var f=this.doc.first+this.doc.size-1;a<this.doc.first?a=this.doc.first:a>f&&(a=f,e=!0),d=z(this.doc,a)}else d=a;return ic(this,d,{top:0,left:0},b||"page",c).top+(e?this.doc.height-oa(d):0)},defaultTextHeight:function(){return qc(this.display)},defaultCharWidth:function(){return rc(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(a,b,c,d,e){var f=this.display;a=lc(this,N(this.doc,a));var g=a.bottom,h=a.left;if(b.style.position="absolute",b.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(b),f.sizer.appendChild(b),"over"==d)g=a.top;else if("above"==d||"near"==d){var i=Math.max(f.wrapper.clientHeight,this.doc.height),j=Math.max(f.sizer.clientWidth,f.lineSpace.clientWidth);("above"==d||a.bottom+b.offsetHeight>i)&&a.top>b.offsetHeight?g=a.top-b.offsetHeight:a.bottom+b.offsetHeight<=i&&(g=a.bottom),h+b.offsetWidth>j&&(h=j-b.offsetWidth)}b.style.top=g+"px",b.style.left=b.style.right="","right"==e?(h=f.sizer.clientWidth-b.offsetWidth,b.style.right="0px"):("left"==e?h=0:"middle"==e&&(h=(f.sizer.clientWidth-b.offsetWidth)/2),b.style.left=h+"px"),c&&Zc(this,h,g,h+b.offsetWidth,g+b.offsetHeight)},triggerOnKeyDown:md(qf),triggerOnKeyPress:md(tf),triggerOnKeyUp:sf,execCommand:function(a){if(th.hasOwnProperty(a))return th[a].call(null,this)},triggerElectric:md(function(a){Nf(this,a)}),findPosH:function(a,b,c,d){var e=this,f=1;b<0&&(f=-1,b=-b);for(var g=N(this.doc,a),h=0;h<b&&(g=Sf(e.doc,g,f,c,d),!g.hitSide);++h);return g},moveH:md(function(a,b){var c=this;this.extendSelectionsBy(function(d){return c.display.shift||c.doc.extend||d.empty()?Sf(c.doc,d.head,a,b,c.options.rtlMoveVisually):a<0?d.from():d.to()},Gg)}),deleteH:md(function(a,b){var c=this.doc.sel,d=this.doc;c.somethingSelected()?d.replaceSelection("",null,"+delete"):gf(this,function(c){var e=Sf(d,c.head,a,b,!1);return a<0?{from:e,to:c.head}:{from:c.head,to:e}})}),findPosV:function(a,b,c,d){var e=this,f=1,g=d;b<0&&(f=-1,b=-b);for(var h=N(this.doc,a),i=0;i<b;++i){var j=lc(e,h,"div");if(null==g?g=j.left:j.left=g,h=Tf(e,j,f,c),h.hitSide)break}return h},moveV:md(function(a,b){var c=this,d=this.doc,e=[],f=!this.display.shift&&!d.extend&&d.sel.somethingSelected();if(d.extendSelectionsBy(function(g){if(f)return a<0?g.from():g.to();var h=lc(c,g.head,"div");null!=g.goalColumn&&(h.left=g.goalColumn),e.push(h.left);var i=Tf(c,h,a,b);return"page"==b&&g==d.sel.primary()&&_c(c,null,kc(c,i,"div").top-h.top),i},Gg),e.length)for(var g=0;g<d.sel.ranges.length;g++)d.sel.ranges[g].goalColumn=e[g]}),findWordAt:function(a){var b=this.doc,c=z(b,a.line).text,d=a.ch,e=a.ch;if(c){var f=this.getHelper(a,"wordChars");(a.xRel<0||e==c.length)&&d?--d:++e;for(var g=c.charAt(d),h=v(g,f)?function(a){return v(a,f)}:/\s/.test(g)?function(a){return/\s/.test(a)}:function(a){return!/\s/.test(a)&&!v(a)};d>0&&h(c.charAt(d-1));)--d;for(;e<c.length&&h(c.charAt(e));)++e}return new Hd(H(a.line,d),H(a.line,e))},toggleOverwrite:function(a){null!=a&&a==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?g(this.display.cursorDiv,"CodeMirror-overwrite"):yg(this.display.cursorDiv,"CodeMirror-overwrite"),Ea(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==f()},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:md(function(a,b){null==a&&null==b||bd(this),null!=a&&(this.curOp.scrollLeft=a),null!=b&&(this.curOp.scrollTop=b)}),getScrollInfo:function(){var a=this.display.scroller;return{left:a.scrollLeft,top:a.scrollTop,height:a.scrollHeight-Rb(this)-this.display.barHeight,width:a.scrollWidth-Rb(this)-this.display.barWidth,clientHeight:Tb(this),clientWidth:Sb(this)}},scrollIntoView:md(function(a,b){if(null==a?(a={from:this.doc.sel.primary().head,to:null},null==b&&(b=this.options.cursorScrollMargin)):"number"==typeof a?a={from:H(a,0),to:null}:null==a.from&&(a={from:a,to:null}),a.to||(a.to=a.from),a.margin=b||0,null!=a.from.line)bd(this),this.curOp.scrollToPos=a;else{var c=$c(this,Math.min(a.from.left,a.to.left),Math.min(a.from.top,a.to.top)-a.margin,Math.max(a.from.right,a.to.right),Math.max(a.from.bottom,a.to.bottom)+a.margin);this.scrollTo(c.scrollLeft,c.scrollTop)}}),setSize:md(function(a,b){var c=this,d=function(a){return"number"==typeof a||/^\d+$/.test(String(a))?a+"px":a};null!=a&&(this.display.wrapper.style.width=d(a)),null!=b&&(this.display.wrapper.style.height=d(b)),this.options.lineWrapping&&ec(this);var e=this.display.viewFrom;this.doc.iter(e,this.display.viewTo,function(a){if(a.widgets)for(var b=0;b<a.widgets.length;b++)if(a.widgets[b].noHScroll){pd(c,e,"widget");break}++e}),this.curOp.forceUpdate=!0,Ea(this,"refresh",this)}),operation:function(a){return kd(this,a)},refresh:md(function(){var a=this.display.cachedTextHeight;od(this),this.curOp.forceUpdate=!0,fc(this),this.scrollTo(this.doc.scrollLeft,this.doc.scrollTop),Cd(this),(null==a||Math.abs(a-qc(this.display))>.5)&&vc(this),Ea(this,"refresh",this)}),swapDoc:md(function(a){var b=this.doc;return b.cm=null,Ud(this,a),fc(this),this.display.input.reset(),this.scrollTo(a.scrollLeft,a.scrollTop),this.curOp.forceScroll=!0,yb(this,"swapDoc",this,b),b}),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}},Ia(a),a.registerHelper=function(b,d,e){c.hasOwnProperty(b)||(c[b]=a[b]={_global:[]}),c[b][d]=e},a.registerGlobalHelper=function(b,d,e,f){a.registerHelper(b,d,f),c[b]._global.push({pred:e,val:f})}}function Sf(a,b,c,d,e){function f(){var b=h+c;return!(b<a.first||b>=a.first+a.size)&&(h=b,k=z(a,b))}function g(a){var b=(e?za:Aa)(k,i,c,!0);if(null==b){if(a||!f())return!1;i=e?(c<0?va:ua)(k):c<0?k.text.length:0}else i=b;return!0}var h=b.line,i=b.ch,j=c,k=z(a,h);if("char"==d)g();else if("column"==d)g(!0);else if("word"==d||"group"==d)for(var l=null,m="group"==d,n=a.cm&&a.cm.getHelper(b,"wordChars"),o=!0;!(c<0)||g(!o);o=!1){var p=k.text.charAt(i)||"\n",q=v(p,n)?"w":m&&"\n"==p?"n":!m||/\s/.test(p)?null:"p";if(!m||o||q||(q="s"),l&&l!=q){c<0&&(c=1,g());break}if(q&&(l=q),c>0&&!g(!o))break}var r=te(a,H(h,i),b,j,!0);return I(b,r)||(r.hitSide=!0),r}function Tf(a,b,c,d){var e,f=a.doc,g=b.left;if("page"==d){var h=Math.min(a.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),i=Math.max(h-.5*qc(a.display),3);e=(c>0?b.bottom:b.top)+c*i}else"line"==d&&(e=c>0?b.bottom+3:b.top-3);for(var j;j=oc(a,g,e),j.outside;){if(c<0?e<=0:e>=f.height){j.hitSide=!0;break}e+=5*c}return j}function Uf(a){this.cm=a,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new l,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null}function Vf(a,b){var c=Yb(a,b.line);if(!c||c.hidden)return null;var d=z(a.doc,b.line),e=Vb(c,d,b.line),f=Ba(d),g="left";if(f){var h=xa(f,b.ch);g=h%2?"right":"left"}var i=_b(e.map,b.ch,g);return i.offset="right"==i.collapse?i.end:i.start,i}function Wf(a,b){return b&&(a.bad=!0),a}function Xf(a,b,c,d,e){function f(a){return function(b){return b.id==a}}function g(b){if(1==b.nodeType){var c=b.getAttribute("cm-text");if(null!=c)return void(h+=""==c?b.textContent.replace(/\u200b/g,""):c);var k,l=b.getAttribute("cm-marker");if(l){var m=a.findMarks(H(d,0),H(e+1,0),f(+l));return void(m.length&&(k=m[0].find())&&(h+=A(a.doc,k.from,k.to).join(j)))}if("false"==b.getAttribute("contenteditable"))return;for(var n=0;n<b.childNodes.length;n++)g(b.childNodes[n]);/^(pre|div|p)$/i.test(b.nodeName)&&(i=!0)}else if(3==b.nodeType){var o=b.nodeValue;if(!o)return;i&&(h+=j,i=!1),h+=o}}for(var h="",i=!1,j=a.doc.lineSeparator();g(b),b!=c;)b=b.nextSibling;return h}function Yf(a,b,c){var d;if(b==a.display.lineDiv){if(d=a.display.lineDiv.childNodes[c],!d)return Wf(a.clipPos(H(a.display.viewTo-1)),!0);b=null,c=0}else for(d=b;;d=d.parentNode){if(!d||d==a.display.lineDiv)return null;if(d.parentNode&&d.parentNode==a.display.lineDiv)break}for(var e=0;e<a.display.view.length;e++){var f=a.display.view[e];if(f.node==d)return Zf(f,b,c)}}function Zf(a,b,c){function d(b,c,d){for(var e=-1;e<(l?l.length:0);e++)for(var f=e<0?k.map:l[e],g=0;g<f.length;g+=3){var h=f[g+2];if(h==b||h==c){var i=D(e<0?a.line:a.rest[e]),j=f[g]+d;return(d<0||h!=b)&&(j=f[g+(d?1:0)]),H(i,j)}}}var f=a.text.firstChild,g=!1;if(!b||!e(f,b))return Wf(H(D(a.line),0),!0);if(b==f&&(g=!0,b=f.childNodes[c],c=0,!b)){var h=a.rest?p(a.rest):a.line;return Wf(H(D(h),h.text.length),g)}var i=3==b.nodeType?b:null,j=b;for(i||1!=b.childNodes.length||3!=b.firstChild.nodeType||(i=b.firstChild,c&&(c=i.nodeValue.length));j.parentNode!=f;)j=j.parentNode;var k=a.measure,l=k.maps,m=d(i,j,c);if(m)return Wf(m,g);for(var n=j.nextSibling,o=i?i.nodeValue.length-c:0;n;n=n.nextSibling){if(m=d(n,n.firstChild,0))return Wf(H(m.line,m.ch-o),g);o+=n.textContent.length}for(var q=j.previousSibling,r=c;q;q=q.previousSibling){if(m=d(q,q.firstChild,-1))return Wf(H(m.line,m.ch+r),g);r+=q.textContent.length}}function $f(a){this.cm=a,this.prevInput="",this.pollingFast=!1,this.polling=new l,this.inaccurateSelection=!1,this.hasSelection=!1,this.composing=null}function _f(a,b){function c(){a.value=k.getValue()}if(b=b?j(b):{},b.value=a.value,!b.tabindex&&a.tabIndex&&(b.tabindex=a.tabIndex),!b.placeholder&&a.placeholder&&(b.placeholder=a.placeholder),null==b.autofocus){var d=f();b.autofocus=d==a||null!=a.getAttribute("autofocus")&&d==document.body}var e;if(a.form&&(Pg(a.form,"submit",c),!b.leaveSubmitMethodAlone)){var g=a.form;e=g.submit;try{var h=g.submit=function(){c(),g.submit=e,g.submit(),g.submit=h}}catch(i){}}b.finishInit=function(b){b.save=c,b.getTextArea=function(){return a},b.toTextArea=function(){b.toTextArea=isNaN,c(),a.parentNode.removeChild(b.getWrapperElement()),a.style.display="",a.form&&(Da(a.form,"submit",c),"function"==typeof a.form.submit&&(a.form.submit=e))}},a.style.display="none";var k=Hf(function(b){return a.parentNode.insertBefore(b,a.nextSibling)},b);return k}function ag(a){a.off=Da,a.on=Pg,a.wheelEventPixels=Pc,a.Doc=jh,a.splitLines=Rg,a.countColumn=k,a.findColumn=n,a.isWordChar=u,a.Pass=Dg,a.signal=Ea,a.Line=ib,a.changeEnd=Kd,a.scrollbarModel=fh,a.Pos=H,a.cmpPos=I,a.modes=Vg,a.mimeModes=Wg,a.resolveMode=Ua,a.getMode=Va,a.modeExtensions=Xg,a.extendMode=Wa,a.copyState=Xa,a.startState=Za,a.innerMode=Ya,a.commands=th,a.keyMap=qh,a.keyName=ef,a.isModifierKey=df,a.lookupKey=cf,a.normalizeKeyMap=bf,a.StringStream=Yg,a.SharedTextMarker=Pe,a.TextMarker=Ne,a.LineWidget=Ke,a.e_preventDefault=Ja,a.e_stopPropagation=Ka,a.e_stop=Ma,a.addClass=g,a.contains=e,a.rmClass=yg,a.keyNames=mh}var bg=navigator.userAgent,cg=navigator.platform,dg=/gecko\/\d/i.test(bg),eg=/MSIE \d/.test(bg),fg=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(bg),gg=eg||fg,hg=gg&&(eg?document.documentMode||6:fg[1]),ig=/WebKit\//.test(bg),jg=ig&&/Qt\/\d+\.\d+/.test(bg),kg=/Chrome\//.test(bg),lg=/Opera\//.test(bg),mg=/Apple Computer/.test(navigator.vendor),ng=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(bg),og=/PhantomJS/.test(bg),pg=/AppleWebKit/.test(bg)&&/Mobile\/\w+/.test(bg),qg=pg||/Android|webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(bg),rg=pg||/Mac/.test(cg),sg=/\bCrOS\b/.test(bg),tg=/win/i.test(cg),ug=lg&&bg.match(/Version\/(\d*\.\d*)/);ug&&(ug=Number(ug[1])),ug&&ug>=15&&(lg=!1,ig=!0);var vg,wg=rg&&(jg||lg&&(null==ug||ug<12.11)),xg=dg||gg&&hg>=9,yg=function(b,c){var d=b.className,e=a(c).exec(d);if(e){var f=d.slice(e.index+e[0].length);b.className=d.slice(0,e.index)+(f?e[1]+f:"")}};vg=document.createRange?function(a,b,c,d){var e=document.createRange();return e.setEnd(d||a,c),e.setStart(a,b),e}:function(a,b,c){var d=document.body.createTextRange();try{d.moveToElementText(a.parentNode)}catch(e){return d}return d.collapse(!0),d.moveEnd("character",c),d.moveStart("character",b),d};var zg=function(a){a.select()};pg?zg=function(a){a.selectionStart=0,a.selectionEnd=a.value.length}:gg&&(zg=function(a){try{a.select()}catch(b){}}),l.prototype.set=function(a,b){clearTimeout(this.id),this.id=setTimeout(b,a)};var Ag,Bg,Cg=30,Dg={toString:function(){return"CodeMirror.Pass"}},Eg={scroll:!1},Fg={origin:"*mouse"},Gg={origin:"+move"},Hg=[""],Ig=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/,Jg=/[\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]/,Kg=!1,Lg=!1,Mg=null,Ng=function(){function a(a){return a<=247?c.charAt(a):1424<=a&&a<=1524?"R":1536<=a&&a<=1773?d.charAt(a-1536):1774<=a&&a<=2220?"r":8192<=a&&a<=8203?"w":8204==a?"b":"L"}function b(a,b,c){this.level=a,this.from=b,this.to=c}var c="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",d="rrrrrrrrrrrr,rNNmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmrrrrrrrnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmNmmmm",e=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,f=/[stwN]/,g=/[LRr]/,h=/[Lb1n]/,i=/[1n]/,j="L";return function(c){if(!e.test(c))return!1;for(var d=c.length,k=[],l=0;l<d;++l)k.push(a(c.charCodeAt(l)));for(var m=0,n=j;m<d;++m){var o=k[m];"m"==o?k[m]=n:n=o}for(var q=0,r=j;q<d;++q){var s=k[q];"1"==s&&"r"==r?k[q]="n":g.test(s)&&(r=s,"r"==s&&(k[q]="R"))}for(var t=1,u=k[0];t<d-1;++t){var v=k[t];"+"==v&&"1"==u&&"1"==k[t+1]?k[t]="1":","!=v||u!=k[t+1]||"1"!=u&&"n"!=u||(k[t]=u),u=v}for(var w=0;w<d;++w){var x=k[w];if(","==x)k[w]="N";else if("%"==x){var y=void 0;for(y=w+1;y<d&&"%"==k[y];++y);for(var z=w&&"!"==k[w-1]||y<d&&"1"==k[y]?"1":"N",A=w;A<y;++A)k[A]=z;w=y-1}}for(var B=0,C=j;B<d;++B){var D=k[B];"L"==C&&"1"==D?k[B]="L":g.test(D)&&(C=D)}for(var E=0;E<d;++E)if(f.test(k[E])){var F=void 0;for(F=E+1;F<d&&f.test(k[F]);++F);for(var G="L"==(E?k[E-1]:j),H="L"==(F<d?k[F]:j),I=G||H?"L":"R",J=E;J<F;++J)k[J]=I;E=F-1}for(var K,L=[],M=0;M<d;)if(h.test(k[M])){var N=M;for(++M;M<d&&h.test(k[M]);++M);L.push(new b(0,N,M))}else{var O=M,P=L.length;for(++M;M<d&&"L"!=k[M];++M);for(var Q=O;Q<M;)if(i.test(k[Q])){O<Q&&L.splice(P,0,new b(1,O,Q));var R=Q;for(++Q;Q<M&&i.test(k[Q]);++Q);L.splice(P,0,new b(2,R,Q)),O=Q}else++Q;O<M&&L.splice(P,0,new b(1,O,M))}return 1==L[0].level&&(K=c.match(/^\s+/))&&(L[0].from=K[0].length,L.unshift(new b(0,0,K[0].length))),1==p(L).level&&(K=c.match(/\s+$/))&&(p(L).to-=K[0].length,L.push(new b(0,d-K[0].length,d))),2==L[0].level&&L.unshift(new b(1,L[0].to,L[0].to)),L[0].level!=p(L).level&&L.push(new b(L[0].level,d,d)),L}}(),Og=[],Pg=function(a,b,c){if(a.addEventListener)a.addEventListener(b,c,!1);else if(a.attachEvent)a.attachEvent("on"+b,c);else{var d=a._handlers||(a._handlers={});d[b]=(d[b]||Og).concat(c)}},Qg=function(){if(gg&&hg<9)return!1;var a=d("div");return"draggable"in a||"dragDrop"in a}(),Rg=3!="\n\nb".split(/\n/).length?function(a){for(var b=0,c=[],d=a.length;b<=d;){var e=a.indexOf("\n",b);e==-1&&(e=a.length);var f=a.slice(b,"\r"==a.charAt(e-1)?e-1:e),g=f.indexOf("\r");g!=-1?(c.push(f.slice(0,g)),b+=g+1):(c.push(f),b=e+1)}return c}:function(a){return a.split(/\r\n?|\n/)},Sg=window.getSelection?function(a){try{return a.selectionStart!=a.selectionEnd}catch(b){return!1}}:function(a){var b;try{b=a.ownerDocument.selection.createRange()}catch(c){}return!(!b||b.parentElement()!=a)&&0!=b.compareEndPoints("StartToEnd",b)},Tg=function(){var a=d("div");return"oncopy"in a||(a.setAttribute("oncopy","return;"),"function"==typeof a.oncopy)}(),Ug=null,Vg={},Wg={},Xg={},Yg=function(a,b){this.pos=this.start=0,this.string=a,this.tabSize=b||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0};Yg.prototype={eol:function(){return this.pos>=this.string.length},sol:function(){return this.pos==this.lineStart},peek:function(){return this.string.charAt(this.pos)||void 0},next:function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},eat:function(a){var b,c=this.string.charAt(this.pos);if(b="string"==typeof a?c==a:c&&(a.test?a.test(c):a(c)))return++this.pos,c},eatWhile:function(a){for(var b=this.pos;this.eat(a););return this.pos>b},eatSpace:function(){for(var a=this,b=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++a.pos;return this.pos>b},skipToEnd:function(){this.pos=this.string.length},skipTo:function(a){var b=this.string.indexOf(a,this.pos);if(b>-1)return this.pos=b,!0},backUp:function(a){this.pos-=a},column:function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=k(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?k(this.string,this.lineStart,this.tabSize):0)},indentation:function(){return k(this.string,null,this.tabSize)-(this.lineStart?k(this.string,this.lineStart,this.tabSize):0)},match:function(a,b,c){if("string"!=typeof a){var d=this.string.slice(this.pos).match(a);return d&&d.index>0?null:(d&&b!==!1&&(this.pos+=d[0].length),d)}var e=function(a){return c?a.toLowerCase():a},f=this.string.substr(this.pos,a.length);if(e(f)==e(a))return b!==!1&&(this.pos+=a.length),!0},current:function(){return this.string.slice(this.start,this.pos)},hideFirstChars:function(a,b){this.lineStart+=a;try{return b()}finally{this.lineStart-=a}}},Ia(ib),ib.prototype.lineNo=function(){return D(this)};var Zg,$g={},_g={},ah=null,bh=null,ch={left:0,right:0,top:0,bottom:0},dh=0,eh=null;gg?eh=-.53:dg?eh=15:kg?eh=-.7:mg&&(eh=-1/3),Sc.prototype=j({update:function(a){var b=a.scrollWidth>a.clientWidth+1,c=a.scrollHeight>a.clientHeight+1,d=a.nativeBarWidth;if(c){this.vert.style.display="block",this.vert.style.bottom=b?d+"px":"0";var e=a.viewHeight-(b?d:0);this.vert.firstChild.style.height=Math.max(0,a.scrollHeight-a.clientHeight+e)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(b){this.horiz.style.display="block",this.horiz.style.right=c?d+"px":"0",this.horiz.style.left=a.barLeft+"px";var f=a.viewWidth-a.barLeft-(c?d:0);this.horiz.firstChild.style.width=a.scrollWidth-a.clientWidth+f+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&a.clientHeight>0&&(0==d&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:c?d:0,bottom:b?d:0}},setScrollLeft:function(a){this.horiz.scrollLeft!=a&&(this.horiz.scrollLeft=a),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz)},setScrollTop:function(a){this.vert.scrollTop!=a&&(this.vert.scrollTop=a),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert)},zeroWidthHack:function(){var a=rg&&!ng?"12px":"18px";this.horiz.style.height=this.vert.style.width=a,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new l,this.disableVert=new l},enableZeroWidthBar:function(a,b){function c(){var d=a.getBoundingClientRect(),e=document.elementFromPoint(d.left+1,d.bottom-1);e!=a?a.style.pointerEvents="none":b.set(1e3,c)}a.style.pointerEvents="auto",b.set(1e3,c)},clear:function(){var a=this.horiz.parentNode;a.removeChild(this.horiz),a.removeChild(this.vert)}},Sc.prototype),Tc.prototype=j({update:function(){return{bottom:0,right:0}},setScrollLeft:function(){},setScrollTop:function(){},clear:function(){}},Tc.prototype);var fh={"native":Sc,"null":Tc},gh=0;wd.prototype.signal=function(a,b){Ha(a,b)&&this.events.push(arguments)},wd.prototype.finish=function(){for(var a=this,b=0;b<this.events.length;b++)Ea.apply(null,a.events[b])},Gd.prototype={primary:function(){return this.ranges[this.primIndex]},equals:function(a){var b=this;if(a==this)return!0;if(a.primIndex!=this.primIndex||a.ranges.length!=this.ranges.length)return!1;for(var c=0;c<this.ranges.length;c++){var d=b.ranges[c],e=a.ranges[c];if(0!=I(d.anchor,e.anchor)||0!=I(d.head,e.head))return!1}return!0},deepCopy:function(){for(var a=this,b=[],c=0;c<this.ranges.length;c++)b[c]=new Hd(J(a.ranges[c].anchor),J(a.ranges[c].head));return new Gd(b,this.primIndex)},somethingSelected:function(){for(var a=this,b=0;b<this.ranges.length;b++)if(!a.ranges[b].empty())return!0;return!1},contains:function(a,b){var c=this;b||(b=a);for(var d=0;d<this.ranges.length;d++){var e=c.ranges[d];if(I(b,e.from())>=0&&I(a,e.to())<=0)return d}return-1}},Hd.prototype={from:function(){return L(this.anchor,this.head)},to:function(){return K(this.anchor,this.head)},empty:function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch}},Ie.prototype={chunkSize:function(){return this.lines.length},removeInner:function(a,b){for(var c=this,d=a,e=a+b;d<e;++d){var f=c.lines[d];c.height-=f.height,kb(f),yb(f,"delete")}this.lines.splice(a,b)},collapse:function(a){a.push.apply(a,this.lines)},insertInner:function(a,b,c){var d=this;this.height+=c,this.lines=this.lines.slice(0,a).concat(b).concat(this.lines.slice(a));for(var e=0;e<b.length;++e)b[e].parent=d},iterN:function(a,b,c){for(var d=this,e=a+b;a<e;++a)if(c(d.lines[a]))return!0}},Je.prototype={chunkSize:function(){return this.size},removeInner:function(a,b){var c=this;this.size-=b;for(var d=0;d<this.children.length;++d){var e=c.children[d],f=e.chunkSize();if(a<f){var g=Math.min(b,f-a),h=e.height;if(e.removeInner(a,g),c.height-=h-e.height,f==g&&(c.children.splice(d--,1),e.parent=null),0==(b-=g))break;a=0}else a-=f}if(this.size-b<25&&(this.children.length>1||!(this.children[0]instanceof Ie))){var i=[];this.collapse(i),this.children=[new Ie(i)],this.children[0].parent=this}},collapse:function(a){for(var b=this,c=0;c<this.children.length;++c)b.children[c].collapse(a)},insertInner:function(a,b,c){var d=this;this.size+=b.length,this.height+=c;for(var e=0;e<this.children.length;++e){var f=d.children[e],g=f.chunkSize();if(a<=g){if(f.insertInner(a,b,c),f.lines&&f.lines.length>50){for(var h=f.lines.length%25+25,i=h;i<f.lines.length;){var j=new Ie(f.lines.slice(i,i+=25));f.height-=j.height,d.children.splice(++e,0,j),j.parent=d}f.lines=f.lines.slice(0,h),d.maybeSpill()}break}a-=g}},maybeSpill:function(){if(!(this.children.length<=10)){var a=this;do{var b=a.children.splice(a.children.length-5,5),c=new Je(b);if(a.parent){a.size-=c.size,a.height-=c.height;var d=m(a.parent.children,a);a.parent.children.splice(d+1,0,c)}else{var e=new Je(a.children);e.parent=a,a.children=[e,c],a=e}c.parent=a.parent}while(a.children.length>10);a.parent.maybeSpill()}},iterN:function(a,b,c){for(var d=this,e=0;e<this.children.length;++e){var f=d.children[e],g=f.chunkSize();if(a<g){var h=Math.min(b,g-a);if(f.iterN(a,h,c))return!0;if(0==(b-=h))break;a=0}else a-=g}}},Ia(Ke),Ke.prototype.clear=function(){var a=this,b=this.doc.cm,c=this.line.widgets,d=this.line,e=D(d);if(null!=e&&c){for(var f=0;f<c.length;++f)c[f]==a&&c.splice(f--,1);c.length||(d.widgets=null);var g=Mb(this);C(d,Math.max(0,d.height-g)),b&&kd(b,function(){Le(b,d,-g),pd(b,e,"widget")})}},Ke.prototype.changed=function(){var a=this.height,b=this.doc.cm,c=this.line;this.height=null;var d=Mb(this)-a;d&&(C(c,c.height+d),b&&kd(b,function(){b.curOp.forceUpdate=!0,Le(b,c,d)}))};var hh=0;Ia(Ne),Ne.prototype.clear=function(){var a=this;if(!this.explicitlyCleared){var b=this.doc.cm,c=b&&!b.curOp;if(c&&cd(b),Ha(this,"clear")){var d=this.find();d&&yb(this,"clear",d.from,d.to)}for(var e=null,f=null,g=0;g<this.lines.length;++g){var h=a.lines[g],i=T(h.markedSpans,a);b&&!a.collapsed?pd(b,D(h),"text"):b&&(null!=i.to&&(f=D(h)),null!=i.from&&(e=D(h))),h.markedSpans=U(h.markedSpans,i),null==i.from&&a.collapsed&&!ma(a.doc,h)&&b&&C(h,qc(b.display))}if(b&&this.collapsed&&!b.options.lineWrapping)for(var j=0;j<this.lines.length;++j){var k=ia(a.lines[j]),l=pa(k);l>b.display.maxLineLength&&(b.display.maxLine=k,b.display.maxLineLength=l,b.display.maxLineChanged=!0)}null!=e&&b&&this.collapsed&&od(b,e,f+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,b&&qe(b.doc)),b&&yb(b,"markerCleared",b,this),c&&dd(b),this.parent&&this.parent.clear()}},Ne.prototype.find=function(a,b){var c=this;null==a&&"bookmark"==this.type&&(a=1);for(var d,e,f=0;f<this.lines.length;++f){var g=c.lines[f],h=T(g.markedSpans,c);if(null!=h.from&&(d=H(b?g:D(g),h.from),a==-1))return d;if(null!=h.to&&(e=H(b?g:D(g),h.to),1==a))return e}return d&&{from:d,to:e}},Ne.prototype.changed=function(){var a=this.find(-1,!0),b=this,c=this.doc.cm;a&&c&&kd(c,function(){var d=a.line,e=D(a.line),f=Yb(c,e);if(f&&(dc(f),c.curOp.selectionChanged=c.curOp.forceUpdate=!0),c.curOp.updateMaxLine=!0,!ma(b.doc,d)&&null!=b.height){var g=b.height;b.height=null;var h=Mb(b)-g;h&&C(d,d.height+h)}})},Ne.prototype.attachLine=function(a){if(!this.lines.length&&this.doc.cm){
5
- var b=this.doc.cm.curOp;b.maybeHiddenMarkers&&m(b.maybeHiddenMarkers,this)!=-1||(b.maybeUnhiddenMarkers||(b.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(a)},Ne.prototype.detachLine=function(a){if(this.lines.splice(m(this.lines,a),1),!this.lines.length&&this.doc.cm){var b=this.doc.cm.curOp;(b.maybeHiddenMarkers||(b.maybeHiddenMarkers=[])).push(this)}},Ia(Pe),Pe.prototype.clear=function(){var a=this;if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var b=0;b<this.markers.length;++b)a.markers[b].clear();yb(this,"clear")}},Pe.prototype.find=function(a,b){return this.primary.find(a,b)};var ih=0,jh=function(a,b,c,d){if(!(this instanceof jh))return new jh(a,b,c,d);null==c&&(c=0),Je.call(this,[new Ie([new ib("",null)])]),this.first=c,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.frontier=c;var e=H(c,0);this.sel=Jd(e),this.history=new Vd(null),this.id=++ih,this.modeOption=b,this.lineSep=d,this.extend=!1,"string"==typeof a&&(a=this.splitLines(a)),Sd(this,{from:e,to:e,text:a}),ne(this,Jd(e),Eg)};jh.prototype=t(Je.prototype,{constructor:jh,iter:function(a,b,c){c?this.iterN(a-this.first,b-a,c):this.iterN(this.first,this.first+this.size,a)},insert:function(a,b){for(var c=0,d=0;d<b.length;++d)c+=b[d].height;this.insertInner(a-this.first,b,c)},remove:function(a,b){this.removeInner(a-this.first,b)},getValue:function(a){var b=B(this,this.first,this.first+this.size);return a===!1?b:b.join(a||this.lineSeparator())},setValue:nd(function(a){var b=H(this.first,0),c=this.first+this.size-1;xe(this,{from:b,to:H(c,z(this,c).text.length),text:this.splitLines(a),origin:"setValue",full:!0},!0),ne(this,Jd(b))}),replaceRange:function(a,b,c,d){b=N(this,b),c=c?N(this,c):b,De(this,a,b,c,d)},getRange:function(a,b,c){var d=A(this,N(this,a),N(this,b));return c===!1?d:d.join(c||this.lineSeparator())},getLine:function(a){var b=this.getLineHandle(a);return b&&b.text},getLineHandle:function(a){if(F(this,a))return z(this,a)},getLineNumber:function(a){return D(a)},getLineHandleVisualStart:function(a){return"number"==typeof a&&(a=z(this,a)),ia(a)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(a){return N(this,a)},getCursor:function(a){var b,c=this.sel.primary();return b=null==a||"head"==a?c.head:"anchor"==a?c.anchor:"end"==a||"to"==a||a===!1?c.to():c.from()},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:nd(function(a,b,c){ke(this,N(this,"number"==typeof a?H(a,b||0):a),null,c)}),setSelection:nd(function(a,b,c){ke(this,N(this,a),N(this,b||a),c)}),extendSelection:nd(function(a,b,c){he(this,N(this,a),b&&N(this,b),c)}),extendSelections:nd(function(a,b){ie(this,P(this,a),b)}),extendSelectionsBy:nd(function(a,b){var c=q(this.sel.ranges,a);ie(this,P(this,c),b)}),setSelections:nd(function(a,b,c){var d=this;if(a.length){for(var e=[],f=0;f<a.length;f++)e[f]=new Hd(N(d,a[f].anchor),N(d,a[f].head));null==b&&(b=Math.min(a.length-1,this.sel.primIndex)),ne(this,Id(e,b),c)}}),addSelection:nd(function(a,b,c){var d=this.sel.ranges.slice(0);d.push(new Hd(N(this,a),N(this,b||a))),ne(this,Id(d,d.length-1),c)}),getSelection:function(a){for(var b,c=this,d=this.sel.ranges,e=0;e<d.length;e++){var f=A(c,d[e].from(),d[e].to());b=b?b.concat(f):f}return a===!1?b:b.join(a||this.lineSeparator())},getSelections:function(a){for(var b=this,c=[],d=this.sel.ranges,e=0;e<d.length;e++){var f=A(b,d[e].from(),d[e].to());a!==!1&&(f=f.join(a||b.lineSeparator())),c[e]=f}return c},replaceSelection:function(a,b,c){for(var d=[],e=0;e<this.sel.ranges.length;e++)d[e]=a;this.replaceSelections(d,b,c||"+input")},replaceSelections:nd(function(a,b,c){for(var d=this,e=[],f=this.sel,g=0;g<f.ranges.length;g++){var h=f.ranges[g];e[g]={from:h.from(),to:h.to(),text:d.splitLines(a[g]),origin:c}}for(var i=b&&"end"!=b&&Od(this,e,b),j=e.length-1;j>=0;j--)xe(d,e[j]);i?me(this,i):this.cm&&ad(this.cm)}),undo:nd(function(){ze(this,"undo")}),redo:nd(function(){ze(this,"redo")}),undoSelection:nd(function(){ze(this,"undo",!0)}),redoSelection:nd(function(){ze(this,"redo",!0)}),setExtending:function(a){this.extend=a},getExtending:function(){return this.extend},historySize:function(){for(var a=this.history,b=0,c=0,d=0;d<a.done.length;d++)a.done[d].ranges||++b;for(var e=0;e<a.undone.length;e++)a.undone[e].ranges||++c;return{undo:b,redo:c}},clearHistory:function(){this.history=new Vd(this.history.maxGeneration)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(a){return a&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(a){return this.history.generation==(a||this.cleanGeneration)},getHistory:function(){return{done:fe(this.history.done),undone:fe(this.history.undone)}},setHistory:function(a){var b=this.history=new Vd(this.history.maxGeneration);b.done=fe(a.done.slice(0),null,!0),b.undone=fe(a.undone.slice(0),null,!0)},setGutterMarker:nd(function(a,b,c){return He(this,a,"gutter",function(a){var d=a.gutterMarkers||(a.gutterMarkers={});return d[b]=c,!c&&w(d)&&(a.gutterMarkers=null),!0})}),clearGutter:nd(function(a){var b=this,c=this.first;this.iter(function(d){d.gutterMarkers&&d.gutterMarkers[a]&&He(b,d,"gutter",function(){return d.gutterMarkers[a]=null,w(d.gutterMarkers)&&(d.gutterMarkers=null),!0}),++c})}),lineInfo:function(a){var b;if("number"==typeof a){if(!F(this,a))return null;if(b=a,a=z(this,a),!a)return null}else if(b=D(a),null==b)return null;return{line:b,handle:a,text:a.text,gutterMarkers:a.gutterMarkers,textClass:a.textClass,bgClass:a.bgClass,wrapClass:a.wrapClass,widgets:a.widgets}},addLineClass:nd(function(b,c,d){return He(this,b,"gutter"==c?"gutter":"class",function(b){var e="text"==c?"textClass":"background"==c?"bgClass":"gutter"==c?"gutterClass":"wrapClass";if(b[e]){if(a(d).test(b[e]))return!1;b[e]+=" "+d}else b[e]=d;return!0})}),removeLineClass:nd(function(b,c,d){return He(this,b,"gutter"==c?"gutter":"class",function(b){var e="text"==c?"textClass":"background"==c?"bgClass":"gutter"==c?"gutterClass":"wrapClass",f=b[e];if(!f)return!1;if(null==d)b[e]=null;else{var g=f.match(a(d));if(!g)return!1;var h=g.index+g[0].length;b[e]=f.slice(0,g.index)+(g.index&&h!=f.length?" ":"")+f.slice(h)||null}return!0})}),addLineWidget:nd(function(a,b,c){return Me(this,a,b,c)}),removeLineWidget:function(a){a.clear()},markText:function(a,b,c){return Oe(this,N(this,a),N(this,b),c,c&&c.type||"range")},setBookmark:function(a,b){var c={replacedWith:b&&(null==b.nodeType?b.widget:b),insertLeft:b&&b.insertLeft,clearWhenEmpty:!1,shared:b&&b.shared,handleMouseEvents:b&&b.handleMouseEvents};return a=N(this,a),Oe(this,a,a,c,"bookmark")},findMarksAt:function(a){a=N(this,a);var b=[],c=z(this,a.line).markedSpans;if(c)for(var d=0;d<c.length;++d){var e=c[d];(null==e.from||e.from<=a.ch)&&(null==e.to||e.to>=a.ch)&&b.push(e.marker.parent||e.marker)}return b},findMarks:function(a,b,c){a=N(this,a),b=N(this,b);var d=[],e=a.line;return this.iter(a.line,b.line+1,function(f){var g=f.markedSpans;if(g)for(var h=0;h<g.length;h++){var i=g[h];null!=i.to&&e==a.line&&a.ch>=i.to||null==i.from&&e!=a.line||null!=i.from&&e==b.line&&i.from>=b.ch||c&&!c(i.marker)||d.push(i.marker.parent||i.marker)}++e}),d},getAllMarks:function(){var a=[];return this.iter(function(b){var c=b.markedSpans;if(c)for(var d=0;d<c.length;++d)null!=c[d].from&&a.push(c[d].marker)}),a},posFromIndex:function(a){var b,c=this.first,d=this.lineSeparator().length;return this.iter(function(e){var f=e.text.length+d;return f>a?(b=a,!0):(a-=f,void++c)}),N(this,H(c,b))},indexFromPos:function(a){a=N(this,a);var b=a.ch;if(a.line<this.first||a.ch<0)return 0;var c=this.lineSeparator().length;return this.iter(this.first,a.line,function(a){b+=a.text.length+c}),b},copy:function(a){var b=new jh(B(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep);return b.scrollTop=this.scrollTop,b.scrollLeft=this.scrollLeft,b.sel=this.sel,b.extend=!1,a&&(b.history.undoDepth=this.history.undoDepth,b.setHistory(this.getHistory())),b},linkedDoc:function(a){a||(a={});var b=this.first,c=this.first+this.size;null!=a.from&&a.from>b&&(b=a.from),null!=a.to&&a.to<c&&(c=a.to);var d=new jh(B(this,b,c),a.mode||this.modeOption,b,this.lineSep);return a.sharedHist&&(d.history=this.history),(this.linked||(this.linked=[])).push({doc:d,sharedHist:a.sharedHist}),d.linked=[{doc:this,isParent:!0,sharedHist:a.sharedHist}],Se(d,Re(this)),d},unlinkDoc:function(a){var b=this;if(a instanceof Hf&&(a=a.doc),this.linked)for(var c=0;c<this.linked.length;++c){var d=b.linked[c];if(d.doc==a){b.linked.splice(c,1),a.unlinkDoc(b),Te(Re(b));break}}if(a.history==this.history){var e=[a.id];Td(a,function(a){return e.push(a.id)},!0),a.history=new Vd(null),a.history.done=fe(this.history.done,e),a.history.undone=fe(this.history.undone,e)}},iterLinkedDocs:function(a){Td(this,a)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(a){return this.lineSep?a.split(this.lineSep):Rg(a)},lineSeparator:function(){return this.lineSep||"\n"}}),jh.prototype.eachLine=jh.prototype.iter;for(var kh=0,lh=!1,mh={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",106:"*",107:"=",109:"-",110:".",111:"/",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"},nh=0;nh<10;nh++)mh[nh+48]=mh[nh+96]=String(nh);for(var oh=65;oh<=90;oh++)mh[oh]=String.fromCharCode(oh);for(var ph=1;ph<=12;ph++)mh[ph+111]=mh[ph+63235]="F"+ph;var qh={};qh.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"},qh.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"},qh.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","Ctrl-O":"openLine"},qh.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"]},qh["default"]=rg?qh.macDefault:qh.pcDefault;var rh,sh,th={selectAll:ve,singleSelection:function(a){return a.setSelection(a.getCursor("anchor"),a.getCursor("head"),Eg)},killLine:function(a){return gf(a,function(b){if(b.empty()){var c=z(a.doc,b.head.line).text.length;return b.head.ch==c&&b.head.line<a.lastLine()?{from:b.head,to:H(b.head.line+1,0)}:{from:b.head,to:H(b.head.line,c)}}return{from:b.from(),to:b.to()}})},deleteLine:function(a){return gf(a,function(b){return{from:H(b.from().line,0),to:N(a.doc,H(b.to().line+1,0))}})},delLineLeft:function(a){return gf(a,function(a){return{from:H(a.from().line,0),to:a.from()}})},delWrappedLineLeft:function(a){return gf(a,function(b){var c=a.charCoords(b.head,"div").top+5,d=a.coordsChar({left:0,top:c},"div");return{from:d,to:b.from()}})},delWrappedLineRight:function(a){return gf(a,function(b){var c=a.charCoords(b.head,"div").top+5,d=a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:c},"div");return{from:b.from(),to:d}})},undo:function(a){return a.undo()},redo:function(a){return a.redo()},undoSelection:function(a){return a.undoSelection()},redoSelection:function(a){return a.redoSelection()},goDocStart:function(a){return a.extendSelection(H(a.firstLine(),0))},goDocEnd:function(a){return a.extendSelection(H(a.lastLine()))},goLineStart:function(a){return a.extendSelectionsBy(function(b){return hf(a,b.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(a){return a.extendSelectionsBy(function(b){return kf(a,b.head)},{origin:"+move",bias:1})},goLineEnd:function(a){return a.extendSelectionsBy(function(b){return jf(a,b.head.line)},{origin:"+move",bias:-1})},goLineRight:function(a){return a.extendSelectionsBy(function(b){var c=a.charCoords(b.head,"div").top+5;return a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:c},"div")},Gg)},goLineLeft:function(a){return a.extendSelectionsBy(function(b){var c=a.charCoords(b.head,"div").top+5;return a.coordsChar({left:0,top:c},"div")},Gg)},goLineLeftSmart:function(a){return a.extendSelectionsBy(function(b){var c=a.charCoords(b.head,"div").top+5,d=a.coordsChar({left:0,top:c},"div");return d.ch<a.getLine(d.line).search(/\S/)?kf(a,b.head):d},Gg)},goLineUp:function(a){return a.moveV(-1,"line")},goLineDown:function(a){return a.moveV(1,"line")},goPageUp:function(a){return a.moveV(-1,"page")},goPageDown:function(a){return a.moveV(1,"page")},goCharLeft:function(a){return a.moveH(-1,"char")},goCharRight:function(a){return a.moveH(1,"char")},goColumnLeft:function(a){return a.moveH(-1,"column")},goColumnRight:function(a){return a.moveH(1,"column")},goWordLeft:function(a){return a.moveH(-1,"word")},goGroupRight:function(a){return a.moveH(1,"group")},goGroupLeft:function(a){return a.moveH(-1,"group")},goWordRight:function(a){return a.moveH(1,"word")},delCharBefore:function(a){return a.deleteH(-1,"char")},delCharAfter:function(a){return a.deleteH(1,"char")},delWordBefore:function(a){return a.deleteH(-1,"word")},delWordAfter:function(a){return a.deleteH(1,"word")},delGroupBefore:function(a){return a.deleteH(-1,"group")},delGroupAfter:function(a){return a.deleteH(1,"group")},indentAuto:function(a){return a.indentSelection("smart")},indentMore:function(a){return a.indentSelection("add")},indentLess:function(a){return a.indentSelection("subtract")},insertTab:function(a){return a.replaceSelection("\t")},insertSoftTab:function(a){for(var b=[],c=a.listSelections(),d=a.options.tabSize,e=0;e<c.length;e++){var f=c[e].from(),g=k(a.getLine(f.line),f.ch,d);b.push(o(d-g%d))}a.replaceSelections(b)},defaultTab:function(a){a.somethingSelected()?a.indentSelection("add"):a.execCommand("insertTab")},transposeChars:function(a){return kd(a,function(){for(var b=a.listSelections(),c=[],d=0;d<b.length;d++)if(b[d].empty()){var e=b[d].head,f=z(a.doc,e.line).text;if(f)if(e.ch==f.length&&(e=new H(e.line,e.ch-1)),e.ch>0)e=new H(e.line,e.ch+1),a.replaceRange(f.charAt(e.ch-1)+f.charAt(e.ch-2),H(e.line,e.ch-2),e,"+transpose");else if(e.line>a.doc.first){var g=z(a.doc,e.line-1).text;g&&(e=new H(e.line,1),a.replaceRange(f.charAt(0)+a.doc.lineSeparator()+g.charAt(g.length-1),H(e.line-1,g.length-1),e,"+transpose"))}c.push(new Hd(e,e))}a.setSelections(c)})},newlineAndIndent:function(a){return kd(a,function(){for(var b=a.listSelections(),c=b.length-1;c>=0;c--)a.replaceRange(a.doc.lineSeparator(),b[c].anchor,b[c].head,"+input");b=a.listSelections();for(var d=0;d<b.length;d++)a.indentLine(b[d].from().line,null,!0);ad(a)})},openLine:function(a){return a.replaceSelection("\n","start")},toggleOverwrite:function(a){return a.toggleOverwrite()}},uh=new l,vh=null,wh={toString:function(){return"CodeMirror.Init"}},xh={},yh={};Hf.defaults=xh,Hf.optionHandlers=yh;var zh=[];Hf.defineInitHook=function(a){return zh.push(a)};var Ah=null;Uf.prototype=j({init:function(a){function b(a){if(!Fa(e,a)){if(e.somethingSelected())Kf({lineWise:!1,text:e.getSelections()}),"cut"==a.type&&e.replaceSelection("",null,"cut");else{if(!e.options.lineWiseCopyCut)return;var b=Of(e);Kf({lineWise:!0,text:b.text}),"cut"==a.type&&e.operation(function(){e.setSelections(b.ranges,0,Eg),e.replaceSelection("",null,"cut")})}if(a.clipboardData){a.clipboardData.clearData();var c=Ah.text.join("\n");if(a.clipboardData.setData("Text",c),a.clipboardData.getData("Text")==c)return void a.preventDefault()}var g=Qf(),h=g.firstChild;e.display.lineSpace.insertBefore(g,e.display.lineSpace.firstChild),h.value=Ah.text.join("\n");var i=document.activeElement;zg(h),setTimeout(function(){e.display.lineSpace.removeChild(g),i.focus(),i==f&&d.showPrimarySelection()},50)}}var c=this,d=this,e=d.cm,f=d.div=a.lineDiv;Pf(f,e.options.spellcheck),Pg(f,"paste",function(a){Fa(e,a)||Mf(a,e)||hg<=11&&setTimeout(ld(e,function(){d.pollContent()||od(e)}),20)}),Pg(f,"compositionstart",function(a){c.composing={data:a.data}}),Pg(f,"compositionupdate",function(a){c.composing||(c.composing={data:a.data})}),Pg(f,"compositionend",function(a){c.composing&&(a.data!=c.composing.data&&c.readFromDOMSoon(),c.composing=null)}),Pg(f,"touchstart",function(){return d.forceCompositionEnd()}),Pg(f,"input",function(){c.composing||c.readFromDOMSoon()}),Pg(f,"copy",b),Pg(f,"cut",b)},prepareSelection:function(){var a=zc(this.cm,!1);return a.focus=this.cm.state.focused,a},showSelection:function(a,b){a&&this.cm.display.view.length&&((a.focus||b)&&this.showPrimarySelection(),this.showMultipleSelections(a))},showPrimarySelection:function(){var a=window.getSelection(),b=this.cm.doc.sel.primary(),c=Yf(this.cm,a.anchorNode,a.anchorOffset),d=Yf(this.cm,a.focusNode,a.focusOffset);if(!c||c.bad||!d||d.bad||0!=I(L(c,d),b.from())||0!=I(K(c,d),b.to())){var e=Vf(this.cm,b.from()),f=Vf(this.cm,b.to());if(e||f){var g=this.cm.display.view,h=a.rangeCount&&a.getRangeAt(0);if(e){if(!f){var i=g[g.length-1].measure,j=i.maps?i.maps[i.maps.length-1]:i.map;f={node:j[j.length-1],offset:j[j.length-2]-j[j.length-3]}}}else e={node:g[0].measure.map[2],offset:0};var k;try{k=vg(e.node,e.offset,f.offset,f.node)}catch(l){}k&&(!dg&&this.cm.state.focused?(a.collapse(e.node,e.offset),k.collapsed||(a.removeAllRanges(),a.addRange(k))):(a.removeAllRanges(),a.addRange(k)),h&&null==a.anchorNode?a.addRange(h):dg&&this.startGracePeriod()),this.rememberSelection()}}},startGracePeriod:function(){var a=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){a.gracePeriod=!1,a.selectionChanged()&&a.cm.operation(function(){return a.cm.curOp.selectionChanged=!0})},20)},showMultipleSelections:function(a){c(this.cm.display.cursorDiv,a.cursors),c(this.cm.display.selectionDiv,a.selection)},rememberSelection:function(){var a=window.getSelection();this.lastAnchorNode=a.anchorNode,this.lastAnchorOffset=a.anchorOffset,this.lastFocusNode=a.focusNode,this.lastFocusOffset=a.focusOffset},selectionInEditor:function(){var a=window.getSelection();if(!a.rangeCount)return!1;var b=a.getRangeAt(0).commonAncestorContainer;return e(this.div,b)},focus:function(){"nocursor"!=this.cm.options.readOnly&&(this.selectionInEditor()||this.showSelection(this.prepareSelection(),!0),this.div.focus())},blur:function(){this.div.blur()},getField:function(){return this.div},supportsTouch:function(){return!0},receivedFocus:function(){function a(){b.cm.state.focused&&(b.pollSelection(),b.polling.set(b.cm.options.pollInterval,a))}var b=this;this.selectionInEditor()?this.pollSelection():kd(this.cm,function(){return b.cm.curOp.selectionChanged=!0}),this.polling.set(this.cm.options.pollInterval,a)},selectionChanged:function(){var a=window.getSelection();return a.anchorNode!=this.lastAnchorNode||a.anchorOffset!=this.lastAnchorOffset||a.focusNode!=this.lastFocusNode||a.focusOffset!=this.lastFocusOffset},pollSelection:function(){if(!this.composing&&null==this.readDOMTimeout&&!this.gracePeriod&&this.selectionChanged()){var a=window.getSelection(),b=this.cm;this.rememberSelection();var c=Yf(b,a.anchorNode,a.anchorOffset),d=Yf(b,a.focusNode,a.focusOffset);c&&d&&kd(b,function(){ne(b.doc,Jd(c,d),Eg),(c.bad||d.bad)&&(b.curOp.selectionChanged=!0)})}},pollContent:function(){null!=this.readDOMTimeout&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var a=this.cm,b=a.display,c=a.doc.sel.primary(),d=c.from(),e=c.to();if(0==d.ch&&d.line>a.firstLine()&&(d=H(d.line-1,z(a.doc,d.line-1).length)),e.ch==z(a.doc,e.line).text.length&&e.line<a.lastLine()&&(e=H(e.line+1,0)),d.line<b.viewFrom||e.line>b.viewTo-1)return!1;var f,g,h;d.line==b.viewFrom||0==(f=xc(a,d.line))?(g=D(b.view[0].line),h=b.view[0].node):(g=D(b.view[f].line),h=b.view[f-1].node.nextSibling);var i,j,k=xc(a,e.line);if(k==b.view.length-1?(i=b.viewTo-1,j=b.lineDiv.lastChild):(i=D(b.view[k+1].line)-1,j=b.view[k+1].node.previousSibling),!h)return!1;for(var l=a.doc.splitLines(Xf(a,h,j,g,i)),m=A(a.doc,H(g,0),H(i,z(a.doc,i).text.length));l.length>1&&m.length>1;)if(p(l)==p(m))l.pop(),m.pop(),i--;else{if(l[0]!=m[0])break;l.shift(),m.shift(),g++}for(var n=0,o=0,q=l[0],r=m[0],s=Math.min(q.length,r.length);n<s&&q.charCodeAt(n)==r.charCodeAt(n);)++n;for(var t=p(l),u=p(m),v=Math.min(t.length-(1==l.length?n:0),u.length-(1==m.length?n:0));o<v&&t.charCodeAt(t.length-o-1)==u.charCodeAt(u.length-o-1);)++o;l[l.length-1]=t.slice(0,t.length-o).replace(/^\u200b+/,""),l[0]=l[0].slice(n).replace(/\u200b+$/,"");var w=H(g,n),x=H(i,m.length?p(m).length-o:0);return l.length>1||l[0]||I(w,x)?(De(a.doc,l,w,x,"+input"),!0):void 0},ensurePolled:function(){this.forceCompositionEnd()},reset:function(){this.forceCompositionEnd()},forceCompositionEnd:function(){this.composing&&(this.composing=null,this.pollContent()||od(this.cm),this.div.blur(),this.div.focus())},readFromDOMSoon:function(){var a=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout(function(){a.readDOMTimeout=null,a.composing||!a.cm.isReadOnly()&&a.pollContent()||kd(a.cm,function(){return od(a.cm)})},80))},setUneditable:function(a){a.contentEditable="false"},onKeyPress:function(a){a.preventDefault(),this.cm.isReadOnly()||ld(this.cm,Lf)(this.cm,String.fromCharCode(null==a.charCode?a.keyCode:a.charCode),0)},readOnlyChanged:function(a){this.div.contentEditable=String("nocursor"!=a)},onContextMenu:s,resetPosition:s,needsContentAttribute:!0},Uf.prototype),$f.prototype=j({init:function(a){function b(a){if(!Fa(e,a)){if(e.somethingSelected())Kf({lineWise:!1,text:e.getSelections()}),d.inaccurateSelection&&(d.prevInput="",d.inaccurateSelection=!1,g.value=Ah.text.join("\n"),zg(g));else{if(!e.options.lineWiseCopyCut)return;var b=Of(e);Kf({lineWise:!0,text:b.text}),"cut"==a.type?e.setSelections(b.ranges,null,Eg):(d.prevInput="",g.value=b.text.join("\n"),zg(g))}"cut"==a.type&&(e.state.cutIncoming=!0)}}var c=this,d=this,e=this.cm,f=this.wrapper=Qf(),g=this.textarea=f.firstChild;a.wrapper.insertBefore(f,a.wrapper.firstChild),pg&&(g.style.width="0px"),Pg(g,"input",function(){gg&&hg>=9&&c.hasSelection&&(c.hasSelection=null),d.poll()}),Pg(g,"paste",function(a){Fa(e,a)||Mf(a,e)||(e.state.pasteIncoming=!0,d.fastPoll())}),Pg(g,"cut",b),Pg(g,"copy",b),Pg(a.scroller,"paste",function(b){Nb(a,b)||Fa(e,b)||(e.state.pasteIncoming=!0,d.focus())}),Pg(a.lineSpace,"selectstart",function(b){Nb(a,b)||Ja(b)}),Pg(g,"compositionstart",function(){var a=e.getCursor("from");d.composing&&d.composing.range.clear(),d.composing={start:a,range:e.markText(a,e.getCursor("to"),{className:"CodeMirror-composing"})}}),Pg(g,"compositionend",function(){d.composing&&(d.poll(),d.composing.range.clear(),d.composing=null)})},prepareSelection:function(){var a=this.cm,b=a.display,c=a.doc,d=zc(a);if(a.options.moveInputWithCursor){var e=lc(a,c.sel.primary().head,"div"),f=b.wrapper.getBoundingClientRect(),g=b.lineDiv.getBoundingClientRect();d.teTop=Math.max(0,Math.min(b.wrapper.clientHeight-10,e.top+g.top-f.top)),d.teLeft=Math.max(0,Math.min(b.wrapper.clientWidth-10,e.left+g.left-f.left))}return d},showSelection:function(a){var b=this.cm,d=b.display;c(d.cursorDiv,a.cursors),c(d.selectionDiv,a.selection),null!=a.teTop&&(this.wrapper.style.top=a.teTop+"px",this.wrapper.style.left=a.teLeft+"px")},reset:function(a){if(!this.contextMenuPending){var b,c,d=this.cm,e=d.doc;if(d.somethingSelected()){this.prevInput="";var f=e.sel.primary();b=Tg&&(f.to().line-f.from().line>100||(c=d.getSelection()).length>1e3);var g=b?"-":c||d.getSelection();this.textarea.value=g,d.state.focused&&zg(this.textarea),gg&&hg>=9&&(this.hasSelection=g)}else a||(this.prevInput=this.textarea.value="",gg&&hg>=9&&(this.hasSelection=null));this.inaccurateSelection=b}},getField:function(){return this.textarea},supportsTouch:function(){return!1},focus:function(){if("nocursor"!=this.cm.options.readOnly&&(!qg||f()!=this.textarea))try{this.textarea.focus()}catch(a){}},blur:function(){this.textarea.blur()},resetPosition:function(){this.wrapper.style.top=this.wrapper.style.left=0},receivedFocus:function(){this.slowPoll()},slowPoll:function(){var a=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){a.poll(),a.cm.state.focused&&a.slowPoll()})},fastPoll:function(){function a(){var d=c.poll();d||b?(c.pollingFast=!1,c.slowPoll()):(b=!0,c.polling.set(60,a))}var b=!1,c=this;c.pollingFast=!0,c.polling.set(20,a)},poll:function(){var a=this,b=this.cm,c=this.textarea,d=this.prevInput;if(this.contextMenuPending||!b.state.focused||Sg(c)&&!d&&!this.composing||b.isReadOnly()||b.options.disableInput||b.state.keySeq)return!1;var e=c.value;if(e==d&&!b.somethingSelected())return!1;if(gg&&hg>=9&&this.hasSelection===e||rg&&/[\uf700-\uf7ff]/.test(e))return b.display.input.reset(),!1;if(b.doc.sel==b.display.selForContextMenu){var f=e.charCodeAt(0);if(8203!=f||d||(d="​"),8666==f)return this.reset(),this.cm.execCommand("undo")}for(var g=0,h=Math.min(d.length,e.length);g<h&&d.charCodeAt(g)==e.charCodeAt(g);)++g;return kd(b,function(){Lf(b,e.slice(g),d.length-g,null,a.composing?"*compose":null),e.length>1e3||e.indexOf("\n")>-1?c.value=a.prevInput="":a.prevInput=e,a.composing&&(a.composing.range.clear(),a.composing.range=b.markText(a.composing.start,b.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},ensurePolled:function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},onKeyPress:function(){gg&&hg>=9&&(this.hasSelection=null),this.fastPoll()},onContextMenu:function(a){function b(){if(null!=g.selectionStart){var a=e.somethingSelected(),b="​"+(a?g.value:"");g.value="⇚",g.value=b,d.prevInput=a?"":"​",g.selectionStart=1,g.selectionEnd=b.length,f.selForContextMenu=e.doc.sel}}function c(){if(d.contextMenuPending=!1,d.wrapper.style.cssText=l,g.style.cssText=k,gg&&hg<9&&f.scrollbars.setScrollTop(f.scroller.scrollTop=i),null!=g.selectionStart){(!gg||gg&&hg<9)&&b();var a=0,c=function(){f.selForContextMenu==e.doc.sel&&0==g.selectionStart&&g.selectionEnd>0&&"​"==d.prevInput?ld(e,ve)(e):a++<10?f.detectingSelectAll=setTimeout(c,500):f.input.reset()};f.detectingSelectAll=setTimeout(c,200)}}var d=this,e=d.cm,f=e.display,g=d.textarea,h=wc(e,a),i=f.scroller.scrollTop;if(h&&!lg){var j=e.options.resetSelectionOnContextMenu;j&&e.doc.sel.contains(h)==-1&&ld(e,ne)(e.doc,Jd(h),Eg);var k=g.style.cssText,l=d.wrapper.style.cssText;d.wrapper.style.cssText="position: absolute";var m=d.wrapper.getBoundingClientRect();g.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(a.clientY-m.top-5)+"px; left: "+(a.clientX-m.left-5)+"px;\n z-index: 1000; background: "+(gg?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);";var n;if(ig&&(n=window.scrollY),f.input.focus(),ig&&window.scrollTo(null,n),f.input.reset(),e.somethingSelected()||(g.value=d.prevInput=" "),d.contextMenuPending=!0,f.selForContextMenu=e.doc.sel,clearTimeout(f.detectingSelectAll),gg&&hg>=9&&b(),xg){Ma(a);var o=function(){Da(window,"mouseup",o),setTimeout(c,20)};Pg(window,"mouseup",o)}else setTimeout(c,50)}},readOnlyChanged:function(a){a||this.reset()},setUneditable:s,needsContentAttribute:!1},$f.prototype),Df(Hf),Rf(Hf);var Bh="iter insert remove copy getEditor constructor".split(" ");for(var Ch in jh.prototype)jh.prototype.hasOwnProperty(Ch)&&m(Bh,Ch)<0&&(Hf.prototype[Ch]=function(a){return function(){return a.apply(this.doc,arguments)}}(jh.prototype[Ch]));return Ia(jh),Hf.inputStyles={textarea:$f,contenteditable:Uf},Hf.defineMode=function(a){Hf.defaults.mode||"null"==a||(Hf.defaults.mode=a),Sa.apply(this,arguments)},Hf.defineMIME=Ta,Hf.defineMode("null",function(){return{token:function(a){return a.skipToEnd()}}}),Hf.defineMIME("text/plain","null"),Hf.defineExtension=function(a,b){Hf.prototype[a]=b},Hf.defineDocExtension=function(a,b){jh.prototype[a]=b},Hf.fromTextArea=_f,ag(Hf),Hf.version="5.21.0",Hf}),function(a){"object"==typeof exports&&"object"==typeof module?a(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],a):a(CodeMirror)}(function(a){"use strict";function b(a,b,c,d,e,f){this.indented=a,this.column=b,this.type=c,this.info=d,this.align=e,this.prev=f}function c(a,c,d,e){var f=a.indented;return a.context&&"statement"==a.context.type&&"statement"!=d&&(f=a.context.indented),a.context=new b(f,c,d,e,null,a.context)}function d(a){var b=a.context.type;return")"!=b&&"]"!=b&&"}"!=b||(a.indented=a.context.indented),a.context=a.context.prev}function e(a,b,c){return"variable"==b.prevToken||"variable-3"==b.prevToken||(!!/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(a.string.slice(0,c))||(!(!b.typeAtEndOfLine||a.column()!=a.indentation())||void 0))}function f(a){for(;;){if(!a||"top"==a.type)return!0;if("}"==a.type&&"namespace"!=a.prev.info)return!1;a=a.prev}}function g(a){for(var b={},c=a.split(" "),d=0;d<c.length;++d)b[c[d]]=!0;return b}function h(a,b){return"function"==typeof a?a(b):a.propertyIsEnumerable(b)}function i(a,b){if(!b.startOfLine)return!1;for(var c,d=null;c=a.peek();){if("\\"==c&&a.match(/^.$/)){d=i;break}if("/"==c&&a.match(/^\/[\/\*]/,!1))break;a.next()}return b.tokenize=d,"meta"}function j(a,b){return"variable-3"==b.prevToken&&"variable-3"}function k(a){return a.eatWhile(/[\w\.']/),"number"}function l(a,b){if(a.backUp(1),a.match(/(R|u8R|uR|UR|LR)/)){var c=a.match(/"([^\s\\()]{0,16})\(/);return!!c&&(b.cpp11RawStringDelim=c[1],b.tokenize=o,o(a,b))}return a.match(/(u8|u|U|L)/)?!!a.match(/["']/,!1)&&"string":(a.next(),!1)}function m(a){var b=/(\w+)::(\w+)$/.exec(a);return b&&b[1]==b[2]}function n(a,b){for(var c;null!=(c=a.next());)if('"'==c&&!a.eat('"')){b.tokenize=null;break}return"string"}function o(a,b){var c=b.cpp11RawStringDelim.replace(/[^\w\s]/g,"\\$&"),d=a.match(new RegExp(".*?\\)"+c+'"'));return d?b.tokenize=null:a.skipToEnd(),"string"}function p(b,c){function d(a){if(a)for(var b in a)a.hasOwnProperty(b)&&e.push(b)}"string"==typeof b&&(b=[b]);var e=[];d(c.keywords),d(c.types),d(c.builtin),d(c.atoms),e.length&&(c.helperType=b[0],a.registerHelper("hintWords",b[0],e));for(var f=0;f<b.length;++f)a.defineMIME(b[f],c)}function q(a,b){for(var c=!1;!a.eol();){if(!c&&a.match('"""')){b.tokenize=null;break}c="\\"==a.next()&&!c;
6
- }return"string"}function r(a){return function(b,c){for(var d,e=!1,f=!1;!b.eol();){if(!a&&!e&&b.match('"')){f=!0;break}if(a&&b.match('"""')){f=!0;break}d=b.next(),!e&&"$"==d&&b.match("{")&&b.skipTo("}"),e=!e&&"\\"==d&&!a}return!f&&a||(c.tokenize=null),"string"}}function s(a){return function(b,c){for(var d,e=!1,f=!1;!b.eol();){if(!e&&b.match('"')&&("single"==a||b.match('""'))){f=!0;break}if(!e&&b.match("``")){v=s(a),f=!0;break}d=b.next(),e="single"==a&&!e&&"\\"==d}return f&&(c.tokenize=null),"string"}}a.defineMode("clike",function(g,i){function j(a,b){var c=a.next();if(y[c]){var d=y[c](a,b);if(d!==!1)return d}if('"'==c||"'"==c)return b.tokenize=k(c),b.tokenize(a,b);if(D.test(c))return n=c,null;if(E.test(c)){if(a.backUp(1),a.match(F))return"number";a.next()}if("/"==c){if(a.eat("*"))return b.tokenize=l,l(a,b);if(a.eat("/"))return a.skipToEnd(),"comment"}if(G.test(c)){for(;!a.match(/^\/[\/*]/,!1)&&a.eat(G););return"operator"}if(a.eatWhile(/[\w\$_\xa1-\uffff]/),C)for(;a.match(C);)a.eatWhile(/[\w\$_\xa1-\uffff]/);var e=a.current();return h(s,e)?(h(v,e)&&(n="newstatement"),h(w,e)&&(o=!0),"keyword"):h(t,e)?"variable-3":h(u,e)?(h(v,e)&&(n="newstatement"),"builtin"):h(x,e)?"atom":"variable"}function k(a){return function(b,c){for(var d,e=!1,f=!1;null!=(d=b.next());){if(d==a&&!e){f=!0;break}e=!e&&"\\"==d}return(f||!e&&!z)&&(c.tokenize=null),"string"}}function l(a,b){for(var c,d=!1;c=a.next();){if("/"==c&&d){b.tokenize=null;break}d="*"==c}return"comment"}function m(a,b){i.typeFirstDefinitions&&a.eol()&&f(b.context)&&(b.typeAtEndOfLine=e(a,b,a.pos))}var n,o,p=g.indentUnit,q=i.statementIndentUnit||p,r=i.dontAlignCalls,s=i.keywords||{},t=i.types||{},u=i.builtin||{},v=i.blockKeywords||{},w=i.defKeywords||{},x=i.atoms||{},y=i.hooks||{},z=i.multiLineStrings,A=i.indentStatements!==!1,B=i.indentSwitch!==!1,C=i.namespaceSeparator,D=i.isPunctuationChar||/[\[\]{}\(\),;\:\.]/,E=i.numberStart||/[\d\.]/,F=i.number||/^(?:0x[a-f\d]+|0b[01]+|(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?)(u|ll?|l|f)?/i,G=i.isOperatorChar||/[+\-*&%=<>!?|\/]/;return{startState:function(a){return{tokenize:null,context:new b((a||0)-p,0,"top",null,(!1)),indented:0,startOfLine:!0,prevToken:null}},token:function(a,b){var g=b.context;if(a.sol()&&(null==g.align&&(g.align=!1),b.indented=a.indentation(),b.startOfLine=!0),a.eatSpace())return m(a,b),null;n=o=null;var h=(b.tokenize||j)(a,b);if("comment"==h||"meta"==h)return h;if(null==g.align&&(g.align=!0),";"==n||":"==n||","==n&&a.match(/^\s*(?:\/\/.*)?$/,!1))for(;"statement"==b.context.type;)d(b);else if("{"==n)c(b,a.column(),"}");else if("["==n)c(b,a.column(),"]");else if("("==n)c(b,a.column(),")");else if("}"==n){for(;"statement"==g.type;)g=d(b);for("}"==g.type&&(g=d(b));"statement"==g.type;)g=d(b)}else n==g.type?d(b):A&&(("}"==g.type||"top"==g.type)&&";"!=n||"statement"==g.type&&"newstatement"==n)&&c(b,a.column(),"statement",a.current());if("variable"==h&&("def"==b.prevToken||i.typeFirstDefinitions&&e(a,b,a.start)&&f(b.context)&&a.match(/^\s*\(/,!1))&&(h="def"),y.token){var k=y.token(a,b,h);void 0!==k&&(h=k)}return"def"==h&&i.styleDefs===!1&&(h="variable"),b.startOfLine=!1,b.prevToken=o?"def":h||n,m(a,b),h},indent:function(b,c){if(b.tokenize!=j&&null!=b.tokenize||b.typeAtEndOfLine)return a.Pass;var d=b.context,e=c&&c.charAt(0);if("statement"==d.type&&"}"==e&&(d=d.prev),i.dontIndentStatements)for(;"statement"==d.type&&i.dontIndentStatements.test(d.info);)d=d.prev;if(y.indent){var f=y.indent(b,d,c);if("number"==typeof f)return f}var g=e==d.type,h=d.prev&&"switch"==d.prev.info;if(i.allmanIndentation&&/[{(]/.test(e)){for(;"top"!=d.type&&"}"!=d.type;)d=d.prev;return d.indented}return"statement"==d.type?d.indented+("{"==e?0:q):!d.align||r&&")"==d.type?")"!=d.type||g?d.indented+(g?0:p)+(g||!h||/^(?:case|default)\b/.test(c)?0:p):d.indented+q:d.column+(g?0:1)},electricInput:B?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",fold:"brace"}});var t="auto if break case register continue return default do sizeof static else struct switch extern typedef union for goto while enum const volatile",u="int long char short double float unsigned signed void size_t ptrdiff_t";p(["text/x-csrc","text/x-c","text/x-chdr"],{name:"clike",keywords:g(t),types:g(u+" bool _Complex _Bool float_t double_t intptr_t intmax_t int8_t int16_t int32_t int64_t uintptr_t uintmax_t uint8_t uint16_t uint32_t uint64_t"),blockKeywords:g("case do else for if switch while struct"),defKeywords:g("struct"),typeFirstDefinitions:!0,atoms:g("null true false"),hooks:{"#":i,"*":j},modeProps:{fold:["brace","include"]}}),p(["text/x-c++src","text/x-c++hdr"],{name:"clike",keywords:g(t+" asm dynamic_cast namespace reinterpret_cast try explicit new static_cast typeid catch operator template typename class friend private this using const_cast inline public throw virtual delete mutable protected alignas alignof constexpr decltype nullptr noexcept thread_local final static_assert override"),types:g(u+" bool wchar_t"),blockKeywords:g("catch class do else finally for if struct switch try while"),defKeywords:g("class namespace struct enum union"),typeFirstDefinitions:!0,atoms:g("true false null"),dontIndentStatements:/^template$/,hooks:{"#":i,"*":j,u:l,U:l,L:l,R:l,0:k,1:k,2:k,3:k,4:k,5:k,6:k,7:k,8:k,9:k,token:function(a,b,c){if("variable"==c&&"("==a.peek()&&(";"==b.prevToken||null==b.prevToken||"}"==b.prevToken)&&m(a.current()))return"def"}},namespaceSeparator:"::",modeProps:{fold:["brace","include"]}}),p("text/x-java",{name:"clike",keywords:g("abstract assert break case catch class const continue default do else enum extends final finally float for goto if implements import instanceof interface native new package private protected public return static strictfp super switch synchronized this throw throws transient try volatile while"),types:g("byte short int long float double boolean char void Boolean Byte Character Double Float Integer Long Number Object Short String StringBuffer StringBuilder Void"),blockKeywords:g("catch class do else finally for if switch try while"),defKeywords:g("class interface package enum"),typeFirstDefinitions:!0,atoms:g("true false null"),number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+\.?\d*|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,hooks:{"@":function(a){return a.eatWhile(/[\w\$_]/),"meta"}},modeProps:{fold:["brace","import"]}}),p("text/x-csharp",{name:"clike",keywords:g("abstract as async await 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"),types:g("Action Boolean Byte Char DateTime DateTimeOffset Decimal Double Func Guid Int16 Int32 Int64 Object SByte Single String Task TimeSpan UInt16 UInt32 UInt64 bool byte char decimal double short int long object sbyte float string ushort uint ulong"),blockKeywords:g("catch class do else finally for foreach if struct switch try while"),defKeywords:g("class interface namespace struct var"),typeFirstDefinitions:!0,atoms:g("true false null"),hooks:{"@":function(a,b){return a.eat('"')?(b.tokenize=n,n(a,b)):(a.eatWhile(/[\w\$_]/),"meta")}}}),p("text/x-scala",{name:"clike",keywords:g("abstract case catch class def do else extends final finally for forSome if implicit import lazy match new null object override package private protected return sealed super this throw trait try type val var while with yield _ : = => <- <: <% >: # @ assert assume require print println printf readLine readBoolean readByte readShort readChar readInt readLong readFloat readDouble :: #:: "),types:g("AnyVal App Application Array BufferedIterator BigDecimal BigInt Char Console Either Enumeration Equiv Error Exception Fractional Function IndexedSeq Int 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:g("catch class do else finally for forSome if match switch try while"),defKeywords:g("class def object package trait type val var"),atoms:g("true false null"),indentStatements:!1,indentSwitch:!1,hooks:{"@":function(a){return a.eatWhile(/[\w\$_]/),"meta"},'"':function(a,b){return!!a.match('""')&&(b.tokenize=q,b.tokenize(a,b))},"'":function(a){return a.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},"=":function(a,c){var d=c.context;return!("}"!=d.type||!d.align||!a.eat(">"))&&(c.context=new b(d.indented,d.column,d.type,d.info,null,d.prev),"operator")}},modeProps:{closeBrackets:{triples:'"'}}}),p("text/x-kotlin",{name:"clike",keywords:g("package as typealias class interface this super val var fun for is in This throw return break continue object if else while do try when !in !is as? file import where by get set abstract enum open inner override private public internal protected catch finally out final vararg reified dynamic companion constructor init sealed field property receiver param sparam lateinit data inline noinline tailrec external annotation crossinline const operator infix"),types:g("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"),intendSwitch:!1,indentStatements:!1,multiLineStrings:!0,blockKeywords:g("catch class do else finally for if where try while enum"),defKeywords:g("class val var object package interface fun"),atoms:g("true false null this"),hooks:{'"':function(a,b){return b.tokenize=r(a.match('""')),b.tokenize(a,b)}},modeProps:{closeBrackets:{triples:'"'}}}),p(["x-shader/x-vertex","x-shader/x-fragment"],{name:"clike",keywords:g("sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout"),types:g("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4"),blockKeywords:g("for while do if else struct"),builtin:g("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:g("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"),indentSwitch:!1,hooks:{"#":i},modeProps:{fold:["brace","include"]}}),p("text/x-nesc",{name:"clike",keywords:g(t+"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"),types:g(u),blockKeywords:g("case do else for if switch while struct"),atoms:g("null true false"),hooks:{"#":i},modeProps:{fold:["brace","include"]}}),p("text/x-objectivec",{name:"clike",keywords:g(t+"inline restrict _Bool _Complex _Imaginary BOOL Class bycopy byref id IMP in inout nil oneway out Protocol SEL self super atomic nonatomic retain copy readwrite readonly"),types:g(u),atoms:g("YES NO NULL NILL ON OFF true false"),hooks:{"@":function(a){return a.eatWhile(/[\w\$]/),"keyword"},"#":i,indent:function(a,b,c){if("statement"==b.type&&/^@\w/.test(c))return b.indented}},modeProps:{fold:"brace"}}),p("text/x-squirrel",{name:"clike",keywords:g("base break clone continue const default delete enum extends function in class foreach local resume return this throw typeof yield constructor instanceof static"),types:g(u),blockKeywords:g("case catch class else for foreach if switch try while"),defKeywords:g("function local class"),typeFirstDefinitions:!0,atoms:g("true false null"),hooks:{"#":i},modeProps:{fold:["brace","include"]}});var v=null;p("text/x-ceylon",{name:"clike",keywords:g("abstracts alias assembly assert assign break case catch class continue dynamic else exists extends finally for function given if import in interface is let module new nonempty object of out outer package return satisfies super switch then this throw try value void while"),types:function(a){var b=a.charAt(0);return b===b.toUpperCase()&&b!==b.toLowerCase()},blockKeywords:g("case catch class dynamic else finally for function if interface module new object switch try while"),defKeywords:g("class dynamic function interface module object package value"),builtin:g("abstract actual aliased annotation by default deprecated doc final formal late license native optional sealed see serializable shared suppressWarnings tagged throws variable"),isPunctuationChar:/[\[\]{}\(\),;\:\.`]/,isOperatorChar:/[+\-*&%=<>!?|^~:\/]/,numberStart:/[\d#$]/,number:/^(?:#[\da-fA-F_]+|\$[01_]+|[\d_]+[kMGTPmunpf]?|[\d_]+\.[\d_]+(?:[eE][-+]?\d+|[kMGTPmunpf]|)|)/i,multiLineStrings:!0,typeFirstDefinitions:!0,atoms:g("true false null larger smaller equal empty finished"),indentSwitch:!1,styleDefs:!1,hooks:{"@":function(a){return a.eatWhile(/[\w\$_]/),"meta"},'"':function(a,b){return b.tokenize=s(a.match('""')?"triple":"single"),b.tokenize(a,b)},"`":function(a,b){return!(!v||!a.match("`"))&&(b.tokenize=v,v=null,b.tokenize(a,b))},"'":function(a){return a.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},token:function(a,b,c){if(("variable"==c||"variable-3"==c)&&"."==b.prevToken)return"variable-2"}},modeProps:{fold:["brace","import"],closeBrackets:{triples:'"'}}})}),function(a){"object"==typeof exports&&"object"==typeof module?a(require("../../lib/codemirror"),require("../htmlmixed/htmlmixed"),require("../clike/clike")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../htmlmixed/htmlmixed","../clike/clike"],a):a(CodeMirror)}(function(a){"use strict";function b(a){for(var b={},c=a.split(" "),d=0;d<c.length;++d)b[c[d]]=!0;return b}function c(a,b,e){return 0==a.length?d(b):function(f,g){for(var h=a[0],i=0;i<h.length;i++)if(f.match(h[i][0]))return g.tokenize=c(a.slice(1),b),h[i][1];return g.tokenize=d(b,e),"string"}}function d(a,b){return function(c,d){return e(c,d,a,b)}}function e(a,b,d,e){if(e!==!1&&a.match("${",!1)||a.match("{$",!1))return b.tokenize=null,"string";if(e!==!1&&a.match(/^\$[a-zA-Z_][a-zA-Z0-9_]*/))return a.match("[",!1)&&(b.tokenize=c([[["[",null]],[[/\d[\w\.]*/,"number"],[/\$[a-zA-Z_][a-zA-Z0-9_]*/,"variable-2"],[/[\w\$]+/,"variable"]],[["]",null]]],d,e)),a.match(/\-\>\w/,!1)&&(b.tokenize=c([[["->",null]],[[/[\w]+/,"variable"]]],d,e)),"variable-2";for(var f=!1;!a.eol()&&(f||e===!1||!a.match("{$",!1)&&!a.match(/^(\$[a-zA-Z_][a-zA-Z0-9_]*|\$\{)/,!1));){if(!f&&a.match(d)){b.tokenize=null,b.tokStack.pop(),b.tokStack.pop();break}f="\\"==a.next()&&!f}return"string"}var f="abstract and array as break case catch class clone const continue declare default do else elseif enddeclare endfor endforeach endif endswitch endwhile extends final for foreach function global goto if implements interface instanceof namespace new or private protected public static switch throw trait try use var while xor die echo empty exit eval include include_once isset list require require_once return print unset __halt_compiler self static parent yield insteadof finally",g="true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__",h="func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents file_put_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists array_intersect_key array_combine array_column pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once json_decode json_encode json_last_error json_last_error_msg curl_close curl_copy_handle curl_errno curl_error curl_escape curl_exec curl_file_create curl_getinfo curl_init curl_multi_add_handle curl_multi_close curl_multi_exec curl_multi_getcontent curl_multi_info_read curl_multi_init curl_multi_remove_handle curl_multi_select curl_multi_setopt curl_multi_strerror curl_pause curl_reset curl_setopt_array curl_setopt curl_share_close curl_share_init curl_share_setopt curl_strerror curl_unescape curl_version mysqli_affected_rows mysqli_autocommit mysqli_change_user mysqli_character_set_name mysqli_close mysqli_commit mysqli_connect_errno mysqli_connect_error mysqli_connect mysqli_data_seek mysqli_debug mysqli_dump_debug_info mysqli_errno mysqli_error_list mysqli_error mysqli_fetch_all mysqli_fetch_array mysqli_fetch_assoc mysqli_fetch_field_direct mysqli_fetch_field mysqli_fetch_fields mysqli_fetch_lengths mysqli_fetch_object mysqli_fetch_row mysqli_field_count mysqli_field_seek mysqli_field_tell mysqli_free_result mysqli_get_charset mysqli_get_client_info mysqli_get_client_stats mysqli_get_client_version mysqli_get_connection_stats mysqli_get_host_info mysqli_get_proto_info mysqli_get_server_info mysqli_get_server_version mysqli_info mysqli_init mysqli_insert_id mysqli_kill mysqli_more_results mysqli_multi_query mysqli_next_result mysqli_num_fields mysqli_num_rows mysqli_options mysqli_ping mysqli_prepare mysqli_query mysqli_real_connect mysqli_real_escape_string mysqli_real_query mysqli_reap_async_query mysqli_refresh mysqli_rollback mysqli_select_db mysqli_set_charset mysqli_set_local_infile_default mysqli_set_local_infile_handler mysqli_sqlstate mysqli_ssl_set mysqli_stat mysqli_stmt_init mysqli_store_result mysqli_thread_id mysqli_thread_safe mysqli_use_result mysqli_warning_count";a.registerHelper("hintWords","php",[f,g,h].join(" ").split(" ")),a.registerHelper("wordChars","php",/[\w$]/);var i={name:"clike",helperType:"php",keywords:b(f),blockKeywords:b("catch do else elseif for foreach if switch try while finally"),defKeywords:b("class function interface namespace trait"),atoms:b(g),builtin:b(h),multiLineStrings:!0,hooks:{$:function(a){return a.eatWhile(/[\w\$_]/),"variable-2"},"<":function(a,b){var c;if(c=a.match(/<<\s*/)){var e=a.eat(/['"]/);a.eatWhile(/[\w\.]/);var f=a.current().slice(c[0].length+(e?2:1));if(e&&a.eat(e),f)return(b.tokStack||(b.tokStack=[])).push(f,0),b.tokenize=d(f,"'"!=e),"string"}return!1},"#":function(a){for(;!a.eol()&&!a.match("?>",!1);)a.next();return"comment"},"/":function(a){if(a.eat("/")){for(;!a.eol()&&!a.match("?>",!1);)a.next();return"comment"}return!1},'"':function(a,b){return(b.tokStack||(b.tokStack=[])).push('"',0),b.tokenize=d('"'),"string"},"{":function(a,b){return b.tokStack&&b.tokStack.length&&b.tokStack[b.tokStack.length-1]++,!1},"}":function(a,b){return b.tokStack&&b.tokStack.length>0&&!--b.tokStack[b.tokStack.length-1]&&(b.tokenize=d(b.tokStack[b.tokStack.length-2])),!1}}};a.defineMode("php",function(b,c){function d(b,c){var d=c.curMode==f;if(b.sol()&&c.pending&&'"'!=c.pending&&"'"!=c.pending&&(c.pending=null),d)return d&&null==c.php.tokenize&&b.match("?>")?(c.curMode=e,c.curState=c.html,c.php.context.prev||(c.php=null),"meta"):f.token(b,c.curState);if(b.match(/^<\?\w*/))return c.curMode=f,c.php||(c.php=a.startState(f,e.indent(c.html,""))),c.curState=c.php,"meta";if('"'==c.pending||"'"==c.pending){for(;!b.eol()&&b.next()!=c.pending;);var g="string"}else if(c.pending&&b.pos<c.pending.end){b.pos=c.pending.end;var g=c.pending.style}else var g=e.token(b,c.curState);c.pending&&(c.pending=null);var h,i=b.current(),j=i.search(/<\?/);return j!=-1&&("string"==g&&(h=i.match(/[\'\"]$/))&&!/\?>/.test(i)?c.pending=h[0]:c.pending={end:b.pos,style:g},b.backUp(i.length-j)),g}var e=a.getMode(b,"text/html"),f=a.getMode(b,i);return{startState:function(){var b=a.startState(e),d=c.startOpen?a.startState(f):null;return{html:b,php:d,curMode:c.startOpen?f:e,curState:c.startOpen?d:b,pending:null}},copyState:function(b){var c,d=b.html,g=a.copyState(e,d),h=b.php,i=h&&a.copyState(f,h);return c=b.curMode==e?g:i,{html:g,php:i,curMode:b.curMode,curState:c,pending:b.pending}},token:d,indent:function(a,b){return a.curMode!=f&&/^\s*<\//.test(b)||a.curMode==f&&/^\?>/.test(b)?e.indent(a.html,b):a.curMode.indent(a.curState,b)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",innerMode:function(a){return{state:a.curState,mode:a.curMode}}}},"htmlmixed","clike"),a.defineMIME("application/x-httpd-php","php"),a.defineMIME("application/x-httpd-php-open",{name:"php",startOpen:!0}),a.defineMIME("text/x-php",i)}),function(a){"object"==typeof exports&&"object"==typeof module?a(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],a):a(CodeMirror)}(function(a){function b(a,b,d,e){var f=a.getLineHandle(b.line),i=b.ch-1,j=i>=0&&h[f.text.charAt(i)]||h[f.text.charAt(++i)];if(!j)return null;var k=">"==j.charAt(1)?1:-1;if(d&&k>0!=(i==b.ch))return null;var l=a.getTokenTypeAt(g(b.line,i+1)),m=c(a,g(b.line,i+(k>0?1:0)),k,l||null,e);return null==m?null:{from:g(b.line,i),to:m&&m.pos,match:m&&m.ch==j.charAt(0),forward:k>0}}function c(a,b,c,d,e){for(var f=e&&e.maxScanLineLength||1e4,i=e&&e.maxScanLines||1e3,j=[],k=e&&e.bracketRegex?e.bracketRegex:/[(){}[\]]/,l=c>0?Math.min(b.line+i,a.lastLine()+1):Math.max(a.firstLine()-1,b.line-i),m=b.line;m!=l;m+=c){var n=a.getLine(m);if(n){var o=c>0?0:n.length-1,p=c>0?n.length:-1;if(!(n.length>f))for(m==b.line&&(o=b.ch-(c<0?1:0));o!=p;o+=c){var q=n.charAt(o);if(k.test(q)&&(void 0===d||a.getTokenTypeAt(g(m,o+1))==d)){var r=h[q];if(">"==r.charAt(1)==c>0)j.push(q);else{if(!j.length)return{pos:g(m,o),ch:q};j.pop()}}}}}return m-c!=(c>0?a.lastLine():a.firstLine())&&null}function d(a,c,d){for(var e=a.state.matchBrackets.maxHighlightLineLength||1e3,h=[],i=a.listSelections(),j=0;j<i.length;j++){var k=i[j].empty()&&b(a,i[j].head,!1,d);if(k&&a.getLine(k.from.line).length<=e){var l=k.match?"CodeMirror-matchingbracket":"CodeMirror-nonmatchingbracket";h.push(a.markText(k.from,g(k.from.line,k.from.ch+1),{className:l})),k.to&&a.getLine(k.to.line).length<=e&&h.push(a.markText(k.to,g(k.to.line,k.to.ch+1),{className:l}))}}if(h.length){f&&a.state.focused&&a.focus();var m=function(){a.operation(function(){for(var a=0;a<h.length;a++)h[a].clear()})};if(!c)return m;setTimeout(m,800)}}function e(a){a.operation(function(){i&&(i(),i=null),i=d(a,!1,a.state.matchBrackets)})}var f=/MSIE \d/.test(navigator.userAgent)&&(null==document.documentMode||document.documentMode<8),g=a.Pos,h={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<"},i=null;a.defineOption("matchBrackets",!1,function(b,c,d){d&&d!=a.Init&&(b.off("cursorActivity",e),i&&(i(),i=null)),c&&(b.state.matchBrackets="object"==typeof c?c:{},b.on("cursorActivity",e))}),a.defineExtension("matchBrackets",function(){d(this,!0)}),a.defineExtension("findMatchingBracket",function(a,c,d){return b(this,a,c,d);
7
- }),a.defineExtension("scanForBracket",function(a,b,d,e){return c(this,a,b,d,e)})});
1
+ !function(a,b){"object"==typeof exports&&"undefined"!=typeof module?module.exports=b():"function"==typeof define&&define.amd?define(b):a.CodeMirror=b()}(this,function(){"use strict";function a(a){return new RegExp("(^|\\s)"+a+"(?:$|\\s)\\s*")}function b(a){for(var b=a.childNodes.length;b>0;--b)a.removeChild(a.firstChild);return a}function c(a,c){return b(a).appendChild(c)}function d(a,b,c,d){var e=document.createElement(a);if(c&&(e.className=c),d&&(e.style.cssText=d),"string"==typeof b)e.appendChild(document.createTextNode(b));else if(b)for(var f=0;f<b.length;++f)e.appendChild(b[f]);return e}function e(a,b,c,e){var f=d(a,b,c,e);return f.setAttribute("role","presentation"),f}function f(a,b){if(3==b.nodeType&&(b=b.parentNode),a.contains)return a.contains(b);do if(11==b.nodeType&&(b=b.host),b==a)return!0;while(b=b.parentNode)}function g(){var a;try{a=document.activeElement}catch(b){a=document.body||null}for(;a&&a.shadowRoot&&a.shadowRoot.activeElement;)a=a.shadowRoot.activeElement;return a}function h(b,c){var d=b.className;a(c).test(d)||(b.className+=(d?" ":"")+c)}function i(b,c){for(var d=b.split(" "),e=0;e<d.length;e++)d[e]&&!a(d[e]).test(c)&&(c+=" "+d[e]);return c}function j(a){var b=Array.prototype.slice.call(arguments,1);return function(){return a.apply(null,b)}}function k(a,b,c){b||(b={});for(var d in a)!a.hasOwnProperty(d)||c===!1&&b.hasOwnProperty(d)||(b[d]=a[d]);return b}function l(a,b,c,d,e){null==b&&(b=a.search(/[^\s\u00a0]/),b==-1&&(b=a.length));for(var f=d||0,g=e||0;;){var h=a.indexOf("\t",f);if(h<0||h>=b)return g+(b-f);g+=h-f,g+=c-g%c,f=h+1}}function m(a,b){for(var c=0;c<a.length;++c)if(a[c]==b)return c;return-1}function n(a,b,c){for(var d=0,e=0;;){var f=a.indexOf("\t",d);f==-1&&(f=a.length);var g=f-d;if(f==a.length||e+g>=b)return d+Math.min(g,b-e);if(e+=f-d,e+=c-e%c,d=f+1,e>=b)return d}}function o(a){for(;Bg.length<=a;)Bg.push(p(Bg)+" ");return Bg[a]}function p(a){return a[a.length-1]}function q(a,b){for(var c=[],d=0;d<a.length;d++)c[d]=b(a[d],d);return c}function r(a,b,c){for(var d=0,e=c(b);d<a.length&&c(a[d])<=e;)d++;a.splice(d,0,b)}function s(){}function t(a,b){var c;return Object.create?c=Object.create(a):(s.prototype=a,c=new s),b&&k(b,c),c}function u(a){return/\w/.test(a)||a>"€"&&(a.toUpperCase()!=a.toLowerCase()||Cg.test(a))}function v(a,b){return b?!!(b.source.indexOf("\\w")>-1&&u(a))||b.test(a):u(a)}function w(a){for(var b in a)if(a.hasOwnProperty(b)&&a[b])return!1;return!0}function x(a){return a.charCodeAt(0)>=768&&Dg.test(a)}function y(a,b,c){for(;(c<0?b>0:b<a.length)&&x(a.charAt(b));)b+=c;return b}function z(a,b,c){for(;;){if(Math.abs(b-c)<=1)return a(b)?b:c;var d=Math.floor((b+c)/2);a(d)?c=d:b=d}}function A(a,b,c){var f=this;this.input=c,f.scrollbarFiller=d("div",null,"CodeMirror-scrollbar-filler"),f.scrollbarFiller.setAttribute("cm-not-content","true"),f.gutterFiller=d("div",null,"CodeMirror-gutter-filler"),f.gutterFiller.setAttribute("cm-not-content","true"),f.lineDiv=e("div",null,"CodeMirror-code"),f.selectionDiv=d("div",null,null,"position: relative; z-index: 1"),f.cursorDiv=d("div",null,"CodeMirror-cursors"),f.measure=d("div",null,"CodeMirror-measure"),f.lineMeasure=d("div",null,"CodeMirror-measure"),f.lineSpace=e("div",[f.measure,f.lineMeasure,f.selectionDiv,f.cursorDiv,f.lineDiv],null,"position: relative; outline: none");var g=e("div",[f.lineSpace],"CodeMirror-lines");f.mover=d("div",[g],null,"position: relative"),f.sizer=d("div",[f.mover],"CodeMirror-sizer"),f.sizerWidth=null,f.heightForcer=d("div",null,null,"position: absolute; height: "+wg+"px; width: 1px;"),f.gutters=d("div",null,"CodeMirror-gutters"),f.lineGutter=null,f.scroller=d("div",[f.sizer,f.heightForcer,f.gutters],"CodeMirror-scroll"),f.scroller.setAttribute("tabIndex","-1"),f.wrapper=d("div",[f.scrollbarFiller,f.gutterFiller,f.scroller],"CodeMirror"),$f&&_f<8&&(f.gutters.style.zIndex=-1,f.scroller.style.paddingRight=0),ag||Wf&&jg||(f.scroller.draggable=!0),a&&(a.appendChild?a.appendChild(f.wrapper):a(f.wrapper)),f.viewFrom=f.viewTo=b.first,f.reportedViewFrom=f.reportedViewTo=b.first,f.view=[],f.renderedView=null,f.externalMeasured=null,f.viewOffset=0,f.lastWrapHeight=f.lastWrapWidth=0,f.updateLineNumbers=null,f.nativeBarWidth=f.barHeight=f.barWidth=0,f.scrollbarsClipped=!1,f.lineNumWidth=f.lineNumInnerWidth=f.lineNumChars=null,f.alignWidgets=!1,f.cachedCharWidth=f.cachedTextHeight=f.cachedPaddingH=null,f.maxLine=null,f.maxLineLength=0,f.maxLineChanged=!1,f.wheelDX=f.wheelDY=f.wheelStartX=f.wheelStartY=null,f.shift=!1,f.selForContextMenu=null,f.activeTouch=null,c.init(f)}function B(a,b){if(b-=a.first,b<0||b>=a.size)throw new Error("There is no line "+(b+a.first)+" in the document.");for(var c=a;!c.lines;)for(var d=0;;++d){var e=c.children[d],f=e.chunkSize();if(b<f){c=e;break}b-=f}return c.lines[b]}function C(a,b,c){var d=[],e=b.line;return a.iter(b.line,c.line+1,function(a){var f=a.text;e==c.line&&(f=f.slice(0,c.ch)),e==b.line&&(f=f.slice(b.ch)),d.push(f),++e}),d}function D(a,b,c){var d=[];return a.iter(b,c,function(a){d.push(a.text)}),d}function E(a,b){var c=b-a.height;if(c)for(var d=a;d;d=d.parent)d.height+=c}function F(a){if(null==a.parent)return null;for(var b=a.parent,c=m(b.lines,a),d=b.parent;d;b=d,d=d.parent)for(var e=0;d.children[e]!=b;++e)c+=d.children[e].chunkSize();return c+b.first}function G(a,b){var c=a.first;a:do{for(var d=0;d<a.children.length;++d){var e=a.children[d],f=e.height;if(b<f){a=e;continue a}b-=f,c+=e.chunkSize()}return c}while(!a.lines);for(var g=0;g<a.lines.length;++g){var h=a.lines[g],i=h.height;if(b<i)break;b-=i}return c+g}function H(a,b){return b>=a.first&&b<a.first+a.size}function I(a,b){return String(a.lineNumberFormatter(b+a.firstLineNumber))}function J(a,b,c){return void 0===c&&(c=null),this instanceof J?(this.line=a,this.ch=b,void(this.sticky=c)):new J(a,b,c)}function K(a,b){return a.line-b.line||a.ch-b.ch}function L(a,b){return a.sticky==b.sticky&&0==K(a,b)}function M(a){return J(a.line,a.ch)}function N(a,b){return K(a,b)<0?b:a}function O(a,b){return K(a,b)<0?a:b}function P(a,b){return Math.max(a.first,Math.min(b,a.first+a.size-1))}function Q(a,b){if(b.line<a.first)return J(a.first,0);var c=a.first+a.size-1;return b.line>c?J(c,B(a,c).text.length):R(b,B(a,b.line).text.length)}function R(a,b){var c=a.ch;return null==c||c>b?J(a.line,b):c<0?J(a.line,0):a}function S(a,b){for(var c=[],d=0;d<b.length;d++)c[d]=Q(a,b[d]);return c}function T(){Eg=!0}function U(){Fg=!0}function V(a,b,c){this.marker=a,this.from=b,this.to=c}function W(a,b){if(a)for(var c=0;c<a.length;++c){var d=a[c];if(d.marker==b)return d}}function X(a,b){for(var c,d=0;d<a.length;++d)a[d]!=b&&(c||(c=[])).push(a[d]);return c}function Y(a,b){a.markedSpans=a.markedSpans?a.markedSpans.concat([b]):[b],b.marker.attachLine(a)}function Z(a,b,c){var d;if(a)for(var e=0;e<a.length;++e){var f=a[e],g=f.marker,h=null==f.from||(g.inclusiveLeft?f.from<=b:f.from<b);if(h||f.from==b&&"bookmark"==g.type&&(!c||!f.marker.insertLeft)){var i=null==f.to||(g.inclusiveRight?f.to>=b:f.to>b);(d||(d=[])).push(new V(g,f.from,i?null:f.to))}}return d}function $(a,b,c){var d;if(a)for(var e=0;e<a.length;++e){var f=a[e],g=f.marker,h=null==f.to||(g.inclusiveRight?f.to>=b:f.to>b);if(h||f.from==b&&"bookmark"==g.type&&(!c||f.marker.insertLeft)){var i=null==f.from||(g.inclusiveLeft?f.from<=b:f.from<b);(d||(d=[])).push(new V(g,i?null:f.from-b,null==f.to?null:f.to-b))}}return d}function _(a,b){if(b.full)return null;var c=H(a,b.from.line)&&B(a,b.from.line).markedSpans,d=H(a,b.to.line)&&B(a,b.to.line).markedSpans;if(!c&&!d)return null;var e=b.from.ch,f=b.to.ch,g=0==K(b.from,b.to),h=Z(c,e,g),i=$(d,f,g),j=1==b.text.length,k=p(b.text).length+(j?e:0);if(h)for(var l=0;l<h.length;++l){var m=h[l];if(null==m.to){var n=W(i,m.marker);n?j&&(m.to=null==n.to?null:n.to+k):m.to=e}}if(i)for(var o=0;o<i.length;++o){var q=i[o];if(null!=q.to&&(q.to+=k),null==q.from){var r=W(h,q.marker);r||(q.from=k,j&&(h||(h=[])).push(q))}else q.from+=k,j&&(h||(h=[])).push(q)}h&&(h=aa(h)),i&&i!=h&&(i=aa(i));var s=[h];if(!j){var t,u=b.text.length-2;if(u>0&&h)for(var v=0;v<h.length;++v)null==h[v].to&&(t||(t=[])).push(new V(h[v].marker,null,null));for(var w=0;w<u;++w)s.push(t);s.push(i)}return s}function aa(a){for(var b=0;b<a.length;++b){var c=a[b];null!=c.from&&c.from==c.to&&c.marker.clearWhenEmpty!==!1&&a.splice(b--,1)}return a.length?a:null}function ba(a,b,c){var d=null;if(a.iter(b.line,c.line+1,function(a){if(a.markedSpans)for(var b=0;b<a.markedSpans.length;++b){var c=a.markedSpans[b].marker;!c.readOnly||d&&m(d,c)!=-1||(d||(d=[])).push(c)}}),!d)return null;for(var e=[{from:b,to:c}],f=0;f<d.length;++f)for(var g=d[f],h=g.find(0),i=0;i<e.length;++i){var j=e[i];if(!(K(j.to,h.from)<0||K(j.from,h.to)>0)){var k=[i,1],l=K(j.from,h.from),n=K(j.to,h.to);(l<0||!g.inclusiveLeft&&!l)&&k.push({from:j.from,to:h.from}),(n>0||!g.inclusiveRight&&!n)&&k.push({from:h.to,to:j.to}),e.splice.apply(e,k),i+=k.length-3}}return e}function ca(a){var b=a.markedSpans;if(b){for(var c=0;c<b.length;++c)b[c].marker.detachLine(a);a.markedSpans=null}}function da(a,b){if(b){for(var c=0;c<b.length;++c)b[c].marker.attachLine(a);a.markedSpans=b}}function ea(a){return a.inclusiveLeft?-1:0}function fa(a){return a.inclusiveRight?1:0}function ga(a,b){var c=a.lines.length-b.lines.length;if(0!=c)return c;var d=a.find(),e=b.find(),f=K(d.from,e.from)||ea(a)-ea(b);if(f)return-f;var g=K(d.to,e.to)||fa(a)-fa(b);return g?g:b.id-a.id}function ha(a,b){var c,d=Fg&&a.markedSpans;if(d)for(var e=void 0,f=0;f<d.length;++f)e=d[f],e.marker.collapsed&&null==(b?e.from:e.to)&&(!c||ga(c,e.marker)<0)&&(c=e.marker);return c}function ia(a){return ha(a,!0)}function ja(a){return ha(a,!1)}function ka(a,b,c,d,e){var f=B(a,b),g=Fg&&f.markedSpans;if(g)for(var h=0;h<g.length;++h){var i=g[h];if(i.marker.collapsed){var j=i.marker.find(0),k=K(j.from,c)||ea(i.marker)-ea(e),l=K(j.to,d)||fa(i.marker)-fa(e);if(!(k>=0&&l<=0||k<=0&&l>=0)&&(k<=0&&(i.marker.inclusiveRight&&e.inclusiveLeft?K(j.to,c)>=0:K(j.to,c)>0)||k>=0&&(i.marker.inclusiveRight&&e.inclusiveLeft?K(j.from,d)<=0:K(j.from,d)<0)))return!0}}}function la(a){for(var b;b=ia(a);)a=b.find(-1,!0).line;return a}function ma(a){for(var b;b=ja(a);)a=b.find(1,!0).line;return a}function na(a){for(var b,c;b=ja(a);)a=b.find(1,!0).line,(c||(c=[])).push(a);return c}function oa(a,b){var c=B(a,b),d=la(c);return c==d?b:F(d)}function pa(a,b){if(b>a.lastLine())return b;var c,d=B(a,b);if(!qa(a,d))return b;for(;c=ja(d);)d=c.find(1,!0).line;return F(d)+1}function qa(a,b){var c=Fg&&b.markedSpans;if(c)for(var d=void 0,e=0;e<c.length;++e)if(d=c[e],d.marker.collapsed){if(null==d.from)return!0;if(!d.marker.widgetNode&&0==d.from&&d.marker.inclusiveLeft&&ra(a,b,d))return!0}}function ra(a,b,c){if(null==c.to){var d=c.marker.find(1,!0);return ra(a,d.line,W(d.line.markedSpans,c.marker))}if(c.marker.inclusiveRight&&c.to==b.text.length)return!0;for(var e=void 0,f=0;f<b.markedSpans.length;++f)if(e=b.markedSpans[f],e.marker.collapsed&&!e.marker.widgetNode&&e.from==c.to&&(null==e.to||e.to!=c.from)&&(e.marker.inclusiveLeft||c.marker.inclusiveRight)&&ra(a,b,e))return!0}function sa(a){a=la(a);for(var b=0,c=a.parent,d=0;d<c.lines.length;++d){var e=c.lines[d];if(e==a)break;b+=e.height}for(var f=c.parent;f;c=f,f=c.parent)for(var g=0;g<f.children.length;++g){var h=f.children[g];if(h==c)break;b+=h.height}return b}function ta(a){if(0==a.height)return 0;for(var b,c=a.text.length,d=a;b=ia(d);){var e=b.find(0,!0);d=e.from.line,c+=e.from.ch-e.to.ch}for(d=a;b=ja(d);){var f=b.find(0,!0);c-=d.text.length-f.from.ch,d=f.to.line,c+=d.text.length-f.to.ch}return c}function ua(a){var b=a.display,c=a.doc;b.maxLine=B(c,c.first),b.maxLineLength=ta(b.maxLine),b.maxLineChanged=!0,c.iter(function(a){var c=ta(a);c>b.maxLineLength&&(b.maxLineLength=c,b.maxLine=a)})}function va(a,b,c,d){if(!a)return d(b,c,"ltr");for(var e=!1,f=0;f<a.length;++f){var g=a[f];(g.from<c&&g.to>b||b==c&&g.to==b)&&(d(Math.max(g.from,b),Math.min(g.to,c),1==g.level?"rtl":"ltr"),e=!0)}e||d(b,c,"ltr")}function wa(a,b,c){var d;Gg=null;for(var e=0;e<a.length;++e){var f=a[e];if(f.from<b&&f.to>b)return e;f.to==b&&(f.from!=f.to&&"before"==c?d=e:Gg=e),f.from==b&&(f.from!=f.to&&"before"!=c?d=e:Gg=e)}return null!=d?d:Gg}function xa(a,b){var c=a.order;return null==c&&(c=a.order=Hg(a.text,b)),c}function ya(a,b,c){var d=y(a.text,b+c,c);return d<0||d>a.text.length?null:d}function za(a,b,c){var d=ya(a,b.ch,c);return null==d?null:new J(b.line,d,c<0?"after":"before")}function Aa(a,b,c,d,e){if(a){var f=xa(c,b.doc.direction);if(f){var g,h=e<0?p(f):f[0],i=e<0==(1==h.level),j=i?"after":"before";if(h.level>0){var k=Yb(b,c);g=e<0?c.text.length-1:0;var l=Zb(b,k,g).top;g=z(function(a){return Zb(b,k,a).top==l},e<0==(1==h.level)?h.from:h.to-1,g),"before"==j&&(g=ya(c,g,1,!0))}else g=e<0?h.to:h.from;return new J(d,g,j)}}return new J(d,e<0?c.text.length:0,e<0?"before":"after")}function Ba(a,b,c,d){var e=xa(b,a.doc.direction);if(!e)return za(b,c,d);c.ch>=b.text.length?(c.ch=b.text.length,c.sticky="before"):c.ch<=0&&(c.ch=0,c.sticky="after");var f=wa(e,c.ch,c.sticky),g=e[f];if("ltr"==a.doc.direction&&g.level%2==0&&(d>0?g.to>c.ch:g.from<c.ch))return za(b,c,d);var h,i=function(a,c){return ya(b,a instanceof J?a.ch:a,c)},j=function(c){return a.options.lineWrapping?(h=h||Yb(a,b),pc(a,b,h,c)):{begin:0,end:b.text.length}},k=j("before"==c.sticky?i(c,-1):c.ch);if("rtl"==a.doc.direction||1==g.level){var l=1==g.level==d<0,m=i(c,l?1:-1);if(null!=m&&(l?m<=g.to&&m<=k.end:m>=g.from&&m>=k.begin)){var n=l?"before":"after";return new J(c.line,m,n)}}var o=function(a,b,d){for(var f=function(a,b){return b?new J(c.line,i(a,1),"before"):new J(c.line,a,"after")};a>=0&&a<e.length;a+=b){var g=e[a],h=b>0==(1!=g.level),j=h?d.begin:i(d.end,-1);if(g.from<=j&&j<g.to)return f(j,h);if(j=h?g.from:i(g.to,-1),d.begin<=j&&j<d.end)return f(j,h)}},p=o(f+d,d,k);if(p)return p;var q=d>0?k.end:i(k.begin,-1);return null==q||d>0&&q==b.text.length||!(p=o(d>0?0:e.length-1,d,j(q)))?null:p}function Ca(a,b){return a._handlers&&a._handlers[b]||Ig}function Da(a,b,c){if(a.removeEventListener)a.removeEventListener(b,c,!1);else if(a.detachEvent)a.detachEvent("on"+b,c);else{var d=a._handlers,e=d&&d[b];if(e){var f=m(e,c);f>-1&&(d[b]=e.slice(0,f).concat(e.slice(f+1)))}}}function Ea(a,b){var c=Ca(a,b);if(c.length)for(var d=Array.prototype.slice.call(arguments,2),e=0;e<c.length;++e)c[e].apply(null,d)}function Fa(a,b,c){return"string"==typeof b&&(b={type:b,preventDefault:function(){this.defaultPrevented=!0}}),Ea(a,c||b.type,a,b),La(b)||b.codemirrorIgnore}function Ga(a){var b=a._handlers&&a._handlers.cursorActivity;if(b)for(var c=a.curOp.cursorActivityHandlers||(a.curOp.cursorActivityHandlers=[]),d=0;d<b.length;++d)m(c,b[d])==-1&&c.push(b[d])}function Ha(a,b){return Ca(a,b).length>0}function Ia(a){a.prototype.on=function(a,b){Jg(this,a,b)},a.prototype.off=function(a,b){Da(this,a,b)}}function Ja(a){a.preventDefault?a.preventDefault():a.returnValue=!1}function Ka(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=!0}function La(a){return null!=a.defaultPrevented?a.defaultPrevented:0==a.returnValue}function Ma(a){Ja(a),Ka(a)}function Na(a){return a.target||a.srcElement}function Oa(a){var b=a.which;return null==b&&(1&a.button?b=1:2&a.button?b=3:4&a.button&&(b=2)),kg&&a.ctrlKey&&1==b&&(b=3),b}function Pa(a){if(null==ug){var b=d("span","​");c(a,d("span",[b,document.createTextNode("x")])),0!=a.firstChild.offsetHeight&&(ug=b.offsetWidth<=1&&b.offsetHeight>2&&!($f&&_f<8))}var e=ug?d("span","​"):d("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return e.setAttribute("cm-text",""),e}function Qa(a){if(null!=vg)return vg;var d=c(a,document.createTextNode("AخA")),e=og(d,0,1).getBoundingClientRect(),f=og(d,1,2).getBoundingClientRect();return b(a),!(!e||e.left==e.right)&&(vg=f.right-e.right<3)}function Ra(a){if(null!=Og)return Og;var b=c(a,d("span","x")),e=b.getBoundingClientRect(),f=og(b,0,1).getBoundingClientRect();return Og=Math.abs(e.left-f.left)>1}function Sa(a,b){arguments.length>2&&(b.dependencies=Array.prototype.slice.call(arguments,2)),Pg[a]=b}function Ta(a,b){Qg[a]=b}function Ua(a){if("string"==typeof a&&Qg.hasOwnProperty(a))a=Qg[a];else if(a&&"string"==typeof a.name&&Qg.hasOwnProperty(a.name)){var b=Qg[a.name];"string"==typeof b&&(b={name:b}),a=t(b,a),a.name=b.name}else{if("string"==typeof a&&/^[\w\-]+\/[\w\-]+\+xml$/.test(a))return Ua("application/xml");if("string"==typeof a&&/^[\w\-]+\/[\w\-]+\+json$/.test(a))return Ua("application/json")}return"string"==typeof a?{name:a}:a||{name:"null"}}function Va(a,b){b=Ua(b);var c=Pg[b.name];if(!c)return Va(a,"text/plain");var d=c(a,b);if(Rg.hasOwnProperty(b.name)){var e=Rg[b.name];for(var f in e)e.hasOwnProperty(f)&&(d.hasOwnProperty(f)&&(d["_"+f]=d[f]),d[f]=e[f])}if(d.name=b.name,b.helperType&&(d.helperType=b.helperType),b.modeProps)for(var g in b.modeProps)d[g]=b.modeProps[g];return d}function Wa(a,b){var c=Rg.hasOwnProperty(a)?Rg[a]:Rg[a]={};k(b,c)}function Xa(a,b){if(b===!0)return b;if(a.copyState)return a.copyState(b);var c={};for(var d in b){var e=b[d];e instanceof Array&&(e=e.concat([])),c[d]=e}return c}function Ya(a,b){for(var c;a.innerMode&&(c=a.innerMode(b),c&&c.mode!=a);)b=c.state,a=c.mode;return c||{mode:a,state:b}}function Za(a,b,c){return!a.startState||a.startState(b,c)}function $a(a,b,c,d){var e=[a.state.modeGen],f={};gb(a,b.text,a.doc.mode,c,function(a,b){return e.push(a,b)},f,d);for(var g=function(c){var d=a.state.overlays[c],g=1,h=0;gb(a,b.text,d.mode,!0,function(a,b){for(var c=g;h<a;){var f=e[g];f>a&&e.splice(g,1,a,e[g+1],f),g+=2,h=Math.min(a,f)}if(b)if(d.opaque)e.splice(c,g-c,a,"overlay "+b),g=c+2;else for(;c<g;c+=2){var i=e[c+1];e[c+1]=(i?i+" ":"")+"overlay "+b}},f)},h=0;h<a.state.overlays.length;++h)g(h);return{styles:e,classes:f.bgClass||f.textClass?f:null}}function _a(a,b,c){if(!b.styles||b.styles[0]!=a.state.modeGen){var d=ab(a,F(b)),e=$a(a,b,b.text.length>a.options.maxHighlightLength?Xa(a.doc.mode,d):d);b.stateAfter=d,b.styles=e.styles,e.classes?b.styleClasses=e.classes:b.styleClasses&&(b.styleClasses=null),c===a.doc.frontier&&a.doc.frontier++}return b.styles}function ab(a,b,c){var d=a.doc,e=a.display;if(!d.mode.startState)return!0;var f=hb(a,b,c),g=f>d.first&&B(d,f-1).stateAfter;return g=g?Xa(d.mode,g):Za(d.mode),d.iter(f,b,function(c){bb(a,c.text,g);var h=f==b-1||f%5==0||f>=e.viewFrom&&f<e.viewTo;c.stateAfter=h?Xa(d.mode,g):null,++f}),c&&(d.frontier=f),g}function bb(a,b,c,d){var e=a.doc.mode,f=new Sg(b,a.options.tabSize);for(f.start=f.pos=d||0,""==b&&cb(e,c);!f.eol();)db(e,f,c),f.start=f.pos}function cb(a,b){if(a.blankLine)return a.blankLine(b);if(a.innerMode){var c=Ya(a,b);return c.mode.blankLine?c.mode.blankLine(c.state):void 0}}function db(a,b,c,d){for(var e=0;e<10;e++){d&&(d[0]=Ya(a,c).mode);var f=a.token(b,c);if(b.pos>b.start)return f}throw new Error("Mode "+a.name+" failed to advance stream.")}function eb(a,b,c,d){var e,f=function(a){return{start:l.start,end:l.pos,string:l.current(),type:e||null,state:a?Xa(g.mode,k):k}},g=a.doc,h=g.mode;b=Q(g,b);var i,j=B(g,b.line),k=ab(a,b.line,c),l=new Sg(j.text,a.options.tabSize);for(d&&(i=[]);(d||l.pos<b.ch)&&!l.eol();)l.start=l.pos,e=db(h,l,k),d&&i.push(f(!0));return d?i:f()}function fb(a,b){if(a)for(;;){var c=a.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!c)break;a=a.slice(0,c.index)+a.slice(c.index+c[0].length);var d=c[1]?"bgClass":"textClass";null==b[d]?b[d]=c[2]:new RegExp("(?:^|s)"+c[2]+"(?:$|s)").test(b[d])||(b[d]+=" "+c[2])}return a}function gb(a,b,c,d,e,f,g){var h=c.flattenSpans;null==h&&(h=a.options.flattenSpans);var i,j=0,k=null,l=new Sg(b,a.options.tabSize),m=a.options.addModeClass&&[null];for(""==b&&fb(cb(c,d),f);!l.eol();){if(l.pos>a.options.maxHighlightLength?(h=!1,g&&bb(a,b,d,l.pos),l.pos=b.length,i=null):i=fb(db(c,l,d,m),f),m){var n=m[0].name;n&&(i="m-"+(i?n+" "+i:n))}if(!h||k!=i){for(;j<l.start;)j=Math.min(l.start,j+5e3),e(j,k);k=i}l.start=l.pos}for(;j<l.pos;){var o=Math.min(l.pos,j+5e3);e(o,k),j=o}}function hb(a,b,c){for(var d,e,f=a.doc,g=c?-1:b-(a.doc.mode.innerMode?1e3:100),h=b;h>g;--h){if(h<=f.first)return f.first;var i=B(f,h-1);if(i.stateAfter&&(!c||h<=f.frontier))return h;var j=l(i.text,null,a.options.tabSize);(null==e||d>j)&&(e=h-1,d=j)}return e}function ib(a,b,c,d){a.text=b,a.stateAfter&&(a.stateAfter=null),a.styles&&(a.styles=null),null!=a.order&&(a.order=null),ca(a),da(a,c);var e=d?d(a):1;e!=a.height&&E(a,e)}function jb(a){a.parent=null,ca(a)}function kb(a,b){if(!a||/^\s*$/.test(a))return null;var c=b.addModeClass?Wg:Vg;return c[a]||(c[a]=a.replace(/\S+/g,"cm-$&"))}function lb(a,b){var c=e("span",null,null,ag?"padding-right: .1px":null),d={pre:e("pre",[c],"CodeMirror-line"),content:c,col:0,pos:0,cm:a,trailingSpace:!1,splitSpaces:($f||ag)&&a.getOption("lineWrapping")};b.measure={};for(var f=0;f<=(b.rest?b.rest.length:0);f++){var g=f?b.rest[f-1]:b.line,h=void 0;d.pos=0,d.addToken=nb,Qa(a.display.measure)&&(h=xa(g,a.doc.direction))&&(d.addToken=pb(d.addToken,h)),d.map=[];var j=b!=a.display.externalMeasured&&F(g);rb(g,d,_a(a,g,j)),g.styleClasses&&(g.styleClasses.bgClass&&(d.bgClass=i(g.styleClasses.bgClass,d.bgClass||"")),g.styleClasses.textClass&&(d.textClass=i(g.styleClasses.textClass,d.textClass||""))),0==d.map.length&&d.map.push(0,0,d.content.appendChild(Pa(a.display.measure))),0==f?(b.measure.map=d.map,b.measure.cache={}):((b.measure.maps||(b.measure.maps=[])).push(d.map),(b.measure.caches||(b.measure.caches=[])).push({}))}if(ag){var k=d.content.lastChild;(/\bcm-tab\b/.test(k.className)||k.querySelector&&k.querySelector(".cm-tab"))&&(d.content.className="cm-tab-wrap-hack")}return Ea(a,"renderLine",a,b.line,d.pre),d.pre.className&&(d.textClass=i(d.pre.className,d.textClass||"")),d}function mb(a){var b=d("span","•","cm-invalidchar");return b.title="\\u"+a.charCodeAt(0).toString(16),b.setAttribute("aria-label",b.title),b}function nb(a,b,c,e,f,g,h){if(b){var i,j=a.splitSpaces?ob(b,a.trailingSpace):b,k=a.cm.state.specialChars,l=!1;if(k.test(b)){i=document.createDocumentFragment();for(var m=0;;){k.lastIndex=m;var n=k.exec(b),p=n?n.index-m:b.length-m;if(p){var q=document.createTextNode(j.slice(m,m+p));$f&&_f<9?i.appendChild(d("span",[q])):i.appendChild(q),a.map.push(a.pos,a.pos+p,q),a.col+=p,a.pos+=p}if(!n)break;m+=p+1;var r=void 0;if("\t"==n[0]){var s=a.cm.options.tabSize,t=s-a.col%s;r=i.appendChild(d("span",o(t),"cm-tab")),r.setAttribute("role","presentation"),r.setAttribute("cm-text","\t"),a.col+=t}else"\r"==n[0]||"\n"==n[0]?(r=i.appendChild(d("span","\r"==n[0]?"␍":"␤","cm-invalidchar")),r.setAttribute("cm-text",n[0]),a.col+=1):(r=a.cm.options.specialCharPlaceholder(n[0]),r.setAttribute("cm-text",n[0]),$f&&_f<9?i.appendChild(d("span",[r])):i.appendChild(r),a.col+=1);a.map.push(a.pos,a.pos+1,r),a.pos++}}else a.col+=b.length,i=document.createTextNode(j),a.map.push(a.pos,a.pos+b.length,i),$f&&_f<9&&(l=!0),a.pos+=b.length;if(a.trailingSpace=32==j.charCodeAt(b.length-1),c||e||f||l||h){var u=c||"";e&&(u+=e),f&&(u+=f);var v=d("span",[i],u,h);return g&&(v.title=g),a.content.appendChild(v)}a.content.appendChild(i)}}function ob(a,b){if(a.length>1&&!/ /.test(a))return a;for(var c=b,d="",e=0;e<a.length;e++){var f=a.charAt(e);" "!=f||!c||e!=a.length-1&&32!=a.charCodeAt(e+1)||(f=" "),d+=f,c=" "==f}return d}function pb(a,b){return function(c,d,e,f,g,h,i){e=e?e+" cm-force-border":"cm-force-border";for(var j=c.pos,k=j+d.length;;){for(var l=void 0,m=0;m<b.length&&(l=b[m],!(l.to>j&&l.from<=j));m++);if(l.to>=k)return a(c,d,e,f,g,h,i);a(c,d.slice(0,l.to-j),e,f,null,h,i),f=null,d=d.slice(l.to-j),j=l.to}}}function qb(a,b,c,d){var e=!d&&c.widgetNode;e&&a.map.push(a.pos,a.pos+b,e),!d&&a.cm.display.input.needsContentAttribute&&(e||(e=a.content.appendChild(document.createElement("span"))),e.setAttribute("cm-marker",c.id)),e&&(a.cm.display.input.setUneditable(e),a.content.appendChild(e)),a.pos+=b,a.trailingSpace=!1}function rb(a,b,c){var d=a.markedSpans,e=a.text,f=0;if(d)for(var g,h,i,j,k,l,m,n=e.length,o=0,p=1,q="",r=0;;){if(r==o){i=j=k=l=h="",m=null,r=1/0;for(var s=[],t=void 0,u=0;u<d.length;++u){var v=d[u],w=v.marker;"bookmark"==w.type&&v.from==o&&w.widgetNode?s.push(w):v.from<=o&&(null==v.to||v.to>o||w.collapsed&&v.to==o&&v.from==o)?(null!=v.to&&v.to!=o&&r>v.to&&(r=v.to,j=""),w.className&&(i+=" "+w.className),w.css&&(h=(h?h+";":"")+w.css),w.startStyle&&v.from==o&&(k+=" "+w.startStyle),w.endStyle&&v.to==r&&(t||(t=[])).push(w.endStyle,v.to),w.title&&!l&&(l=w.title),w.collapsed&&(!m||ga(m.marker,w)<0)&&(m=v)):v.from>o&&r>v.from&&(r=v.from)}if(t)for(var x=0;x<t.length;x+=2)t[x+1]==r&&(j+=" "+t[x]);if(!m||m.from==o)for(var y=0;y<s.length;++y)qb(b,0,s[y]);if(m&&(m.from||0)==o){if(qb(b,(null==m.to?n+1:m.to)-o,m.marker,null==m.from),null==m.to)return;m.to==o&&(m=!1)}}if(o>=n)break;for(var z=Math.min(n,r);;){if(q){var A=o+q.length;if(!m){var B=A>z?q.slice(0,z-o):q;b.addToken(b,B,g?g+i:i,k,o+B.length==r?j:"",l,h)}if(A>=z){q=q.slice(z-o),o=z;break}o=A,k=""}q=e.slice(f,f=c[p++]),g=kb(c[p++],b.cm.options)}}else for(var C=1;C<c.length;C+=2)b.addToken(b,e.slice(f,f=c[C]),kb(c[C+1],b.cm.options))}function sb(a,b,c){this.line=b,this.rest=na(b),this.size=this.rest?F(p(this.rest))-c+1:1,this.node=this.text=null,this.hidden=qa(a,b)}function tb(a,b,c){for(var d,e=[],f=b;f<c;f=d){var g=new sb(a.doc,B(a.doc,f),f);d=f+g.size,e.push(g)}return e}function ub(a){Xg?Xg.ops.push(a):a.ownsGroup=Xg={ops:[a],delayedCallbacks:[]}}function vb(a){var b=a.delayedCallbacks,c=0;do{for(;c<b.length;c++)b[c].call(null);for(var d=0;d<a.ops.length;d++){var e=a.ops[d];if(e.cursorActivityHandlers)for(;e.cursorActivityCalled<e.cursorActivityHandlers.length;)e.cursorActivityHandlers[e.cursorActivityCalled++].call(null,e.cm)}}while(c<b.length)}function wb(a,b){var c=a.ownsGroup;if(c)try{vb(c)}finally{Xg=null,b(c)}}function xb(a,b){var c=Ca(a,b);if(c.length){var d,e=Array.prototype.slice.call(arguments,2);Xg?d=Xg.delayedCallbacks:Yg?d=Yg:(d=Yg=[],setTimeout(yb,0));for(var f=function(a){d.push(function(){return c[a].apply(null,e)})},g=0;g<c.length;++g)f(g)}}function yb(){var a=Yg;Yg=null;for(var b=0;b<a.length;++b)a[b]()}function zb(a,b,c,d){for(var e=0;e<b.changes.length;e++){var f=b.changes[e];"text"==f?Db(a,b):"gutter"==f?Fb(a,b,c,d):"class"==f?Eb(a,b):"widget"==f&&Gb(a,b,d)}b.changes=null}function Ab(a){return a.node==a.text&&(a.node=d("div",null,null,"position: relative"),a.text.parentNode&&a.text.parentNode.replaceChild(a.node,a.text),a.node.appendChild(a.text),$f&&_f<8&&(a.node.style.zIndex=2)),a.node}function Bb(a,b){var c=b.bgClass?b.bgClass+" "+(b.line.bgClass||""):b.line.bgClass;if(c&&(c+=" CodeMirror-linebackground"),b.background)c?b.background.className=c:(b.background.parentNode.removeChild(b.background),b.background=null);else if(c){var e=Ab(b);b.background=e.insertBefore(d("div",null,c),e.firstChild),a.display.input.setUneditable(b.background)}}function Cb(a,b){var c=a.display.externalMeasured;return c&&c.line==b.line?(a.display.externalMeasured=null,b.measure=c.measure,c.built):lb(a,b)}function Db(a,b){var c=b.text.className,d=Cb(a,b);b.text==b.node&&(b.node=d.pre),b.text.parentNode.replaceChild(d.pre,b.text),b.text=d.pre,d.bgClass!=b.bgClass||d.textClass!=b.textClass?(b.bgClass=d.bgClass,b.textClass=d.textClass,Eb(a,b)):c&&(b.text.className=c)}function Eb(a,b){Bb(a,b),b.line.wrapClass?Ab(b).className=b.line.wrapClass:b.node!=b.text&&(b.node.className="");var c=b.textClass?b.textClass+" "+(b.line.textClass||""):b.line.textClass;b.text.className=c||""}function Fb(a,b,c,e){if(b.gutter&&(b.node.removeChild(b.gutter),b.gutter=null),b.gutterBackground&&(b.node.removeChild(b.gutterBackground),b.gutterBackground=null),b.line.gutterClass){var f=Ab(b);b.gutterBackground=d("div",null,"CodeMirror-gutter-background "+b.line.gutterClass,"left: "+(a.options.fixedGutter?e.fixedPos:-e.gutterTotalWidth)+"px; width: "+e.gutterTotalWidth+"px"),a.display.input.setUneditable(b.gutterBackground),f.insertBefore(b.gutterBackground,b.text)}var g=b.line.gutterMarkers;if(a.options.lineNumbers||g){var h=Ab(b),i=b.gutter=d("div",null,"CodeMirror-gutter-wrapper","left: "+(a.options.fixedGutter?e.fixedPos:-e.gutterTotalWidth)+"px");if(a.display.input.setUneditable(i),h.insertBefore(i,b.text),b.line.gutterClass&&(i.className+=" "+b.line.gutterClass),!a.options.lineNumbers||g&&g["CodeMirror-linenumbers"]||(b.lineNumber=i.appendChild(d("div",I(a.options,c),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+e.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+a.display.lineNumInnerWidth+"px"))),g)for(var j=0;j<a.options.gutters.length;++j){var k=a.options.gutters[j],l=g.hasOwnProperty(k)&&g[k];l&&i.appendChild(d("div",[l],"CodeMirror-gutter-elt","left: "+e.gutterLeft[k]+"px; width: "+e.gutterWidth[k]+"px"))}}}function Gb(a,b,c){b.alignable&&(b.alignable=null);for(var d=b.node.firstChild,e=void 0;d;d=e)e=d.nextSibling,"CodeMirror-linewidget"==d.className&&b.node.removeChild(d);Ib(a,b,c)}function Hb(a,b,c,d){var e=Cb(a,b);return b.text=b.node=e.pre,e.bgClass&&(b.bgClass=e.bgClass),e.textClass&&(b.textClass=e.textClass),Eb(a,b),Fb(a,b,c,d),Ib(a,b,d),b.node}function Ib(a,b,c){if(Jb(a,b.line,b,c,!0),b.rest)for(var d=0;d<b.rest.length;d++)Jb(a,b.rest[d],b,c,!1)}function Jb(a,b,c,e,f){if(b.widgets)for(var g=Ab(c),h=0,i=b.widgets;h<i.length;++h){var j=i[h],k=d("div",[j.node],"CodeMirror-linewidget");j.handleMouseEvents||k.setAttribute("cm-ignore-events","true"),Kb(j,k,c,e),a.display.input.setUneditable(k),f&&j.above?g.insertBefore(k,c.gutter||c.text):g.appendChild(k),xb(j,"redraw")}}function Kb(a,b,c,d){if(a.noHScroll){(c.alignable||(c.alignable=[])).push(b);var e=d.wrapperWidth;b.style.left=d.fixedPos+"px",a.coverGutter||(e-=d.gutterTotalWidth,b.style.paddingLeft=d.gutterTotalWidth+"px"),b.style.width=e+"px"}a.coverGutter&&(b.style.zIndex=5,b.style.position="relative",a.noHScroll||(b.style.marginLeft=-d.gutterTotalWidth+"px"))}function Lb(a){if(null!=a.height)return a.height;var b=a.doc.cm;if(!b)return 0;if(!f(document.body,a.node)){var e="position: relative;";a.coverGutter&&(e+="margin-left: -"+b.display.gutters.offsetWidth+"px;"),a.noHScroll&&(e+="width: "+b.display.wrapper.clientWidth+"px;"),c(b.display.measure,d("div",[a.node],null,e))}return a.height=a.node.parentNode.offsetHeight}function Mb(a,b){for(var c=Na(b);c!=a.wrapper;c=c.parentNode)if(!c||1==c.nodeType&&"true"==c.getAttribute("cm-ignore-events")||c.parentNode==a.sizer&&c!=a.mover)return!0}function Nb(a){return a.lineSpace.offsetTop}function Ob(a){return a.mover.offsetHeight-a.lineSpace.offsetHeight}function Pb(a){if(a.cachedPaddingH)return a.cachedPaddingH;var b=c(a.measure,d("pre","x")),e=window.getComputedStyle?window.getComputedStyle(b):b.currentStyle,f={left:parseInt(e.paddingLeft),right:parseInt(e.paddingRight)};return isNaN(f.left)||isNaN(f.right)||(a.cachedPaddingH=f),f}function Qb(a){return wg-a.display.nativeBarWidth}function Rb(a){return a.display.scroller.clientWidth-Qb(a)-a.display.barWidth}function Sb(a){return a.display.scroller.clientHeight-Qb(a)-a.display.barHeight}function Tb(a,b,c){var d=a.options.lineWrapping,e=d&&Rb(a);if(!b.measure.heights||d&&b.measure.width!=e){var f=b.measure.heights=[];if(d){b.measure.width=e;for(var g=b.text.firstChild.getClientRects(),h=0;h<g.length-1;h++){var i=g[h],j=g[h+1];Math.abs(i.bottom-j.bottom)>2&&f.push((i.bottom+j.top)/2-c.top)}}f.push(c.bottom-c.top)}}function Ub(a,b,c){if(a.line==b)return{map:a.measure.map,cache:a.measure.cache};for(var d=0;d<a.rest.length;d++)if(a.rest[d]==b)return{map:a.measure.maps[d],cache:a.measure.caches[d]};for(var e=0;e<a.rest.length;e++)if(F(a.rest[e])>c)return{map:a.measure.maps[e],cache:a.measure.caches[e],before:!0}}function Vb(a,b){b=la(b);var d=F(b),e=a.display.externalMeasured=new sb(a.doc,b,d);e.lineN=d;var f=e.built=lb(a,e);return e.text=f.pre,c(a.display.lineMeasure,f.pre),e}function Wb(a,b,c,d){return Zb(a,Yb(a,b),c,d)}function Xb(a,b){if(b>=a.display.viewFrom&&b<a.display.viewTo)return a.display.view[yc(a,b)];var c=a.display.externalMeasured;return c&&b>=c.lineN&&b<c.lineN+c.size?c:void 0}function Yb(a,b){var c=F(b),d=Xb(a,c);d&&!d.text?d=null:d&&d.changes&&(zb(a,d,c,tc(a)),a.curOp.forceUpdate=!0),d||(d=Vb(a,b));var e=Ub(d,b,c);return{line:b,view:d,rect:null,map:e.map,
2
+ cache:e.cache,before:e.before,hasHeights:!1}}function Zb(a,b,c,d,e){b.before&&(c=-1);var f,g=c+(d||"");return b.cache.hasOwnProperty(g)?f=b.cache[g]:(b.rect||(b.rect=b.view.text.getBoundingClientRect()),b.hasHeights||(Tb(a,b.view,b.rect),b.hasHeights=!0),f=ac(a,b,c,d),f.bogus||(b.cache[g]=f)),{left:f.left,right:f.right,top:e?f.rtop:f.top,bottom:e?f.rbottom:f.bottom}}function $b(a,b,c){for(var d,e,f,g,h,i,j=0;j<a.length;j+=3)if(h=a[j],i=a[j+1],b<h?(e=0,f=1,g="left"):b<i?(e=b-h,f=e+1):(j==a.length-3||b==i&&a[j+3]>b)&&(f=i-h,e=f-1,b>=i&&(g="right")),null!=e){if(d=a[j+2],h==i&&c==(d.insertLeft?"left":"right")&&(g=c),"left"==c&&0==e)for(;j&&a[j-2]==a[j-3]&&a[j-1].insertLeft;)d=a[(j-=3)+2],g="left";if("right"==c&&e==i-h)for(;j<a.length-3&&a[j+3]==a[j+4]&&!a[j+5].insertLeft;)d=a[(j+=3)+2],g="right";break}return{node:d,start:e,end:f,collapse:g,coverStart:h,coverEnd:i}}function _b(a,b){var c=Zg;if("left"==b)for(var d=0;d<a.length&&(c=a[d]).left==c.right;d++);else for(var e=a.length-1;e>=0&&(c=a[e]).left==c.right;e--);return c}function ac(a,b,c,d){var e,f=$b(b.map,c,d),g=f.node,h=f.start,i=f.end,j=f.collapse;if(3==g.nodeType){for(var k=0;k<4;k++){for(;h&&x(b.line.text.charAt(f.coverStart+h));)--h;for(;f.coverStart+i<f.coverEnd&&x(b.line.text.charAt(f.coverStart+i));)++i;if(e=$f&&_f<9&&0==h&&i==f.coverEnd-f.coverStart?g.parentNode.getBoundingClientRect():_b(og(g,h,i).getClientRects(),d),e.left||e.right||0==h)break;i=h,h-=1,j="right"}$f&&_f<11&&(e=bc(a.display.measure,e))}else{h>0&&(j=d="right");var l;e=a.options.lineWrapping&&(l=g.getClientRects()).length>1?l["right"==d?l.length-1:0]:g.getBoundingClientRect()}if($f&&_f<9&&!h&&(!e||!e.left&&!e.right)){var m=g.parentNode.getClientRects()[0];e=m?{left:m.left,right:m.left+sc(a.display),top:m.top,bottom:m.bottom}:Zg}for(var n=e.top-b.rect.top,o=e.bottom-b.rect.top,p=(n+o)/2,q=b.view.measure.heights,r=0;r<q.length-1&&!(p<q[r]);r++);var s=r?q[r-1]:0,t=q[r],u={left:("right"==j?e.right:e.left)-b.rect.left,right:("left"==j?e.left:e.right)-b.rect.left,top:s,bottom:t};return e.left||e.right||(u.bogus=!0),a.options.singleCursorHeightPerLine||(u.rtop=n,u.rbottom=o),u}function bc(a,b){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!Ra(a))return b;var c=screen.logicalXDPI/screen.deviceXDPI,d=screen.logicalYDPI/screen.deviceYDPI;return{left:b.left*c,right:b.right*c,top:b.top*d,bottom:b.bottom*d}}function cc(a){if(a.measure&&(a.measure.cache={},a.measure.heights=null,a.rest))for(var b=0;b<a.rest.length;b++)a.measure.caches[b]={}}function dc(a){a.display.externalMeasure=null,b(a.display.lineMeasure);for(var c=0;c<a.display.view.length;c++)cc(a.display.view[c])}function ec(a){dc(a),a.display.cachedCharWidth=a.display.cachedTextHeight=a.display.cachedPaddingH=null,a.options.lineWrapping||(a.display.maxLineChanged=!0),a.display.lineNumChars=null}function fc(){return cg&&ig?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function gc(){return cg&&ig?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function hc(a,b,c,d,e){if(!e&&b.widgets)for(var f=0;f<b.widgets.length;++f)if(b.widgets[f].above){var g=Lb(b.widgets[f]);c.top+=g,c.bottom+=g}if("line"==d)return c;d||(d="local");var h=sa(b);if("local"==d?h+=Nb(a.display):h-=a.display.viewOffset,"page"==d||"window"==d){var i=a.display.lineSpace.getBoundingClientRect();h+=i.top+("window"==d?0:gc());var j=i.left+("window"==d?0:fc());c.left+=j,c.right+=j}return c.top+=h,c.bottom+=h,c}function ic(a,b,c){if("div"==c)return b;var d=b.left,e=b.top;if("page"==c)d-=fc(),e-=gc();else if("local"==c||!c){var f=a.display.sizer.getBoundingClientRect();d+=f.left,e+=f.top}var g=a.display.lineSpace.getBoundingClientRect();return{left:d-g.left,top:e-g.top}}function jc(a,b,c,d,e){return d||(d=B(a.doc,b.line)),hc(a,d,Wb(a,d,b.ch,e),c)}function kc(a,b,c,d,e,f){function g(b,g){var h=Zb(a,e,b,g?"right":"left",f);return g?h.left=h.right:h.right=h.left,hc(a,d,h,c)}function h(a,b,c){var d=i[b],e=d.level%2!=0;return g(c?a-1:a,e!=c)}d=d||B(a.doc,b.line),e||(e=Yb(a,d));var i=xa(d,a.doc.direction),j=b.ch,k=b.sticky;if(j>=d.text.length?(j=d.text.length,k="before"):j<=0&&(j=0,k="after"),!i)return g("before"==k?j-1:j,"before"==k);var l=wa(i,j,k),m=Gg,n=h(j,l,"before"==k);return null!=m&&(n.other=h(j,m,"before"!=k)),n}function lc(a,b){var c=0;b=Q(a.doc,b),a.options.lineWrapping||(c=sc(a.display)*b.ch);var d=B(a.doc,b.line),e=sa(d)+Nb(a.display);return{left:c,right:c,top:e,bottom:e+d.height}}function mc(a,b,c,d,e){var f=J(a,b,c);return f.xRel=e,d&&(f.outside=!0),f}function nc(a,b,c){var d=a.doc;if(c+=a.display.viewOffset,c<0)return mc(d.first,0,null,!0,-1);var e=G(d,c),f=d.first+d.size-1;if(e>f)return mc(d.first+d.size-1,B(d,f).text.length,null,!0,1);b<0&&(b=0);for(var g=B(d,e);;){var h=qc(a,g,e,b,c),i=ja(g),j=i&&i.find(0,!0);if(!i||!(h.ch>j.from.ch||h.ch==j.from.ch&&h.xRel>0))return h;e=F(g=j.to.line)}}function oc(a,b,c,d){var e=function(d){return hc(a,b,Zb(a,c,d),"line")},f=b.text.length,g=z(function(a){return e(a-1).bottom<=d},f,0);return f=z(function(a){return e(a).top>d},g,f),{begin:g,end:f}}function pc(a,b,c,d){var e=hc(a,b,Zb(a,c,d),"line").top;return oc(a,b,c,e)}function qc(a,b,c,d,e){e-=sa(b);var f,g=0,h=b.text.length,i=Yb(a,b),j=xa(b,a.doc.direction);if(j){if(a.options.lineWrapping){var k;k=oc(a,b,i,e),g=k.begin,h=k.end,k}f=new J(c,g);var l,m,n=kc(a,f,"line",b,i).left,o=n<d?1:-1,p=n-d;do{if(l=p,m=f,f=Ba(a,b,f,o),null==f||f.ch<g||h<=("before"==f.sticky?f.ch-1:f.ch)){f=m;break}p=kc(a,f,"line",b,i).left-d}while(o<0!=p<0&&Math.abs(p)<=Math.abs(l));if(Math.abs(p)>Math.abs(l)){if(p<0==l<0)throw new Error("Broke out of infinite loop in coordsCharInner");f=m}}else{var q=z(function(c){var f=hc(a,b,Zb(a,i,c),"line");return f.top>e?(h=Math.min(c,h),!0):!(f.bottom<=e)&&(f.left>d||!(f.right<d)&&d-f.left<f.right-d)},g,h);q=y(b.text,q,1),f=new J(c,q,q==h?"before":"after")}var r=kc(a,f,"line",b,i);return(e<r.top||r.bottom<e)&&(f.outside=!0),f.xRel=d<r.left?-1:d>r.right?1:0,f}function rc(a){if(null!=a.cachedTextHeight)return a.cachedTextHeight;if(null==Ug){Ug=d("pre");for(var e=0;e<49;++e)Ug.appendChild(document.createTextNode("x")),Ug.appendChild(d("br"));Ug.appendChild(document.createTextNode("x"))}c(a.measure,Ug);var f=Ug.offsetHeight/50;return f>3&&(a.cachedTextHeight=f),b(a.measure),f||1}function sc(a){if(null!=a.cachedCharWidth)return a.cachedCharWidth;var b=d("span","xxxxxxxxxx"),e=d("pre",[b]);c(a.measure,e);var f=b.getBoundingClientRect(),g=(f.right-f.left)/10;return g>2&&(a.cachedCharWidth=g),g||10}function tc(a){for(var b=a.display,c={},d={},e=b.gutters.clientLeft,f=b.gutters.firstChild,g=0;f;f=f.nextSibling,++g)c[a.options.gutters[g]]=f.offsetLeft+f.clientLeft+e,d[a.options.gutters[g]]=f.clientWidth;return{fixedPos:uc(b),gutterTotalWidth:b.gutters.offsetWidth,gutterLeft:c,gutterWidth:d,wrapperWidth:b.wrapper.clientWidth}}function uc(a){return a.scroller.getBoundingClientRect().left-a.sizer.getBoundingClientRect().left}function vc(a){var b=rc(a.display),c=a.options.lineWrapping,d=c&&Math.max(5,a.display.scroller.clientWidth/sc(a.display)-3);return function(e){if(qa(a.doc,e))return 0;var f=0;if(e.widgets)for(var g=0;g<e.widgets.length;g++)e.widgets[g].height&&(f+=e.widgets[g].height);return c?f+(Math.ceil(e.text.length/d)||1)*b:f+b}}function wc(a){var b=a.doc,c=vc(a);b.iter(function(a){var b=c(a);b!=a.height&&E(a,b)})}function xc(a,b,c,d){var e=a.display;if(!c&&"true"==Na(b).getAttribute("cm-not-content"))return null;var f,g,h=e.lineSpace.getBoundingClientRect();try{f=b.clientX-h.left,g=b.clientY-h.top}catch(b){return null}var i,j=nc(a,f,g);if(d&&1==j.xRel&&(i=B(a.doc,j.line).text).length==j.ch){var k=l(i,i.length,a.options.tabSize)-i.length;j=J(j.line,Math.max(0,Math.round((f-Pb(a.display).left)/sc(a.display))-k))}return j}function yc(a,b){if(b>=a.display.viewTo)return null;if(b-=a.display.viewFrom,b<0)return null;for(var c=a.display.view,d=0;d<c.length;d++)if(b-=c[d].size,b<0)return d}function zc(a){a.display.input.showSelection(a.display.input.prepareSelection())}function Ac(a,b){for(var c=a.doc,d={},e=d.cursors=document.createDocumentFragment(),f=d.selection=document.createDocumentFragment(),g=0;g<c.sel.ranges.length;g++)if(b!==!1||g!=c.sel.primIndex){var h=c.sel.ranges[g];if(!(h.from().line>=a.display.viewTo||h.to().line<a.display.viewFrom)){var i=h.empty();(i||a.options.showCursorWhenSelecting)&&Bc(a,h.head,e),i||Cc(a,h,f)}}return d}function Bc(a,b,c){var e=kc(a,b,"div",null,null,!a.options.singleCursorHeightPerLine),f=c.appendChild(d("div"," ","CodeMirror-cursor"));if(f.style.left=e.left+"px",f.style.top=e.top+"px",f.style.height=Math.max(0,e.bottom-e.top)*a.options.cursorHeight+"px",e.other){var g=c.appendChild(d("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));g.style.display="",g.style.left=e.other.left+"px",g.style.top=e.other.top+"px",g.style.height=.85*(e.other.bottom-e.other.top)+"px"}}function Cc(a,b,c){function e(a,b,c,e){b<0&&(b=0),b=Math.round(b),e=Math.round(e),i.appendChild(d("div",null,"CodeMirror-selected","position: absolute; left: "+a+"px;\n top: "+b+"px; width: "+(null==c?l-a:c)+"px;\n height: "+(e-b)+"px"))}function f(b,c,d){function f(c,d){return jc(a,J(b,c),"div",j,d)}var g,i,j=B(h,b),m=j.text.length;return va(xa(j,h.direction),c||0,null==d?m:d,function(a,b,h){var j,n,o,p=f(a,"left");if(a==b)j=p,n=o=p.left;else{if(j=f(b-1,"right"),"rtl"==h){var q=p;p=j,j=q}n=p.left,o=j.right}null==c&&0==a&&(n=k),j.top-p.top>3&&(e(n,p.top,null,p.bottom),n=k,p.bottom<j.top&&e(n,p.bottom,null,j.top)),null==d&&b==m&&(o=l),(!g||p.top<g.top||p.top==g.top&&p.left<g.left)&&(g=p),(!i||j.bottom>i.bottom||j.bottom==i.bottom&&j.right>i.right)&&(i=j),n<k+1&&(n=k),e(n,j.top,o-n,j.bottom)}),{start:g,end:i}}var g=a.display,h=a.doc,i=document.createDocumentFragment(),j=Pb(a.display),k=j.left,l=Math.max(g.sizerWidth,Rb(a)-g.sizer.offsetLeft)-j.right,m=b.from(),n=b.to();if(m.line==n.line)f(m.line,m.ch,n.ch);else{var o=B(h,m.line),p=B(h,n.line),q=la(o)==la(p),r=f(m.line,m.ch,q?o.text.length+1:null).end,s=f(n.line,q?0:null,n.ch).start;q&&(r.top<s.top-2?(e(r.right,r.top,null,r.bottom),e(k,s.top,s.left,s.bottom)):e(r.right,r.top,s.left-r.right,r.bottom)),r.bottom<s.top&&e(k,r.bottom,null,s.top)}c.appendChild(i)}function Dc(a){if(a.state.focused){var b=a.display;clearInterval(b.blinker);var c=!0;b.cursorDiv.style.visibility="",a.options.cursorBlinkRate>0?b.blinker=setInterval(function(){return b.cursorDiv.style.visibility=(c=!c)?"":"hidden"},a.options.cursorBlinkRate):a.options.cursorBlinkRate<0&&(b.cursorDiv.style.visibility="hidden")}}function Ec(a){a.state.focused||(a.display.input.focus(),Gc(a))}function Fc(a){a.state.delayingBlurEvent=!0,setTimeout(function(){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1,Hc(a))},100)}function Gc(a,b){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1),"nocursor"!=a.options.readOnly&&(a.state.focused||(Ea(a,"focus",a,b),a.state.focused=!0,h(a.display.wrapper,"CodeMirror-focused"),a.curOp||a.display.selForContextMenu==a.doc.sel||(a.display.input.reset(),ag&&setTimeout(function(){return a.display.input.reset(!0)},20)),a.display.input.receivedFocus()),Dc(a))}function Hc(a,b){a.state.delayingBlurEvent||(a.state.focused&&(Ea(a,"blur",a,b),a.state.focused=!1,rg(a.display.wrapper,"CodeMirror-focused")),clearInterval(a.display.blinker),setTimeout(function(){a.state.focused||(a.display.shift=!1)},150))}function Ic(a){var b=a.display,c=b.view;if(b.alignWidgets||b.gutters.firstChild&&a.options.fixedGutter){for(var d=uc(b)-b.scroller.scrollLeft+a.doc.scrollLeft,e=b.gutters.offsetWidth,f=d+"px",g=0;g<c.length;g++)if(!c[g].hidden){a.options.fixedGutter&&(c[g].gutter&&(c[g].gutter.style.left=f),c[g].gutterBackground&&(c[g].gutterBackground.style.left=f));var h=c[g].alignable;if(h)for(var i=0;i<h.length;i++)h[i].style.left=f}a.options.fixedGutter&&(b.gutters.style.left=d+e+"px")}}function Jc(a){if(!a.options.lineNumbers)return!1;var b=a.doc,c=I(a.options,b.first+b.size-1),e=a.display;if(c.length!=e.lineNumChars){var f=e.measure.appendChild(d("div",[d("div",c)],"CodeMirror-linenumber CodeMirror-gutter-elt")),g=f.firstChild.offsetWidth,h=f.offsetWidth-g;return e.lineGutter.style.width="",e.lineNumInnerWidth=Math.max(g,e.lineGutter.offsetWidth-h)+1,e.lineNumWidth=e.lineNumInnerWidth+h,e.lineNumChars=e.lineNumInnerWidth?c.length:-1,e.lineGutter.style.width=e.lineNumWidth+"px",Ad(a),!0}return!1}function Kc(a){for(var b=a.display,c=b.lineDiv.offsetTop,d=0;d<b.view.length;d++){var e=b.view[d],f=void 0;if(!e.hidden){if($f&&_f<8){var g=e.node.offsetTop+e.node.offsetHeight;f=g-c,c=g}else{var h=e.node.getBoundingClientRect();f=h.bottom-h.top}var i=e.line.height-f;if(f<2&&(f=rc(b)),(i>.001||i<-.001)&&(E(e.line,f),Lc(e.line),e.rest))for(var j=0;j<e.rest.length;j++)Lc(e.rest[j])}}}function Lc(a){if(a.widgets)for(var b=0;b<a.widgets.length;++b)a.widgets[b].height=a.widgets[b].node.parentNode.offsetHeight}function Mc(a,b,c){var d=c&&null!=c.top?Math.max(0,c.top):a.scroller.scrollTop;d=Math.floor(d-Nb(a));var e=c&&null!=c.bottom?c.bottom:d+a.wrapper.clientHeight,f=G(b,d),g=G(b,e);if(c&&c.ensure){var h=c.ensure.from.line,i=c.ensure.to.line;h<f?(f=h,g=G(b,sa(B(b,h))+a.wrapper.clientHeight)):Math.min(i,b.lastLine())>=g&&(f=G(b,sa(B(b,i))-a.wrapper.clientHeight),g=i)}return{from:f,to:Math.max(g,f+1)}}function Nc(a,b){Math.abs(a.doc.scrollTop-b)<2||(a.doc.scrollTop=b,Wf||yd(a,{top:b}),a.display.scroller.scrollTop!=b&&(a.display.scroller.scrollTop=b),a.display.scrollbars.setScrollTop(b),Wf&&yd(a),td(a,100))}function Oc(a,b,c){(c?b==a.doc.scrollLeft:Math.abs(a.doc.scrollLeft-b)<2)||(b=Math.min(b,a.display.scroller.scrollWidth-a.display.scroller.clientWidth),a.doc.scrollLeft=b,Ic(a),a.display.scroller.scrollLeft!=b&&(a.display.scroller.scrollLeft=b),a.display.scrollbars.setScrollLeft(b))}function Pc(a){var b=a.wheelDeltaX,c=a.wheelDeltaY;return null==b&&a.detail&&a.axis==a.HORIZONTAL_AXIS&&(b=a.detail),null==c&&a.detail&&a.axis==a.VERTICAL_AXIS?c=a.detail:null==c&&(c=a.wheelDelta),{x:b,y:c}}function Qc(a){var b=Pc(a);return b.x*=_g,b.y*=_g,b}function Rc(a,b){var c=Pc(b),d=c.x,e=c.y,f=a.display,g=f.scroller,h=g.scrollWidth>g.clientWidth,i=g.scrollHeight>g.clientHeight;if(d&&h||e&&i){if(e&&kg&&ag)a:for(var j=b.target,k=f.view;j!=g;j=j.parentNode)for(var l=0;l<k.length;l++)if(k[l].node==j){a.display.currentWheelTarget=j;break a}if(d&&!Wf&&!dg&&null!=_g)return e&&i&&Nc(a,Math.max(0,Math.min(g.scrollTop+e*_g,g.scrollHeight-g.clientHeight))),Oc(a,Math.max(0,Math.min(g.scrollLeft+d*_g,g.scrollWidth-g.clientWidth))),(!e||e&&i)&&Ja(b),void(f.wheelStartX=null);if(e&&null!=_g){var m=e*_g,n=a.doc.scrollTop,o=n+f.wrapper.clientHeight;m<0?n=Math.max(0,n+m-50):o=Math.min(a.doc.height,o+m+50),yd(a,{top:n,bottom:o})}$g<20&&(null==f.wheelStartX?(f.wheelStartX=g.scrollLeft,f.wheelStartY=g.scrollTop,f.wheelDX=d,f.wheelDY=e,setTimeout(function(){if(null!=f.wheelStartX){var a=g.scrollLeft-f.wheelStartX,b=g.scrollTop-f.wheelStartY,c=b&&f.wheelDY&&b/f.wheelDY||a&&f.wheelDX&&a/f.wheelDX;f.wheelStartX=f.wheelStartY=null,c&&(_g=(_g*$g+c)/($g+1),++$g)}},200)):(f.wheelDX+=d,f.wheelDY+=e))}}function Sc(a){var b=a.display,c=b.gutters.offsetWidth,d=Math.round(a.doc.height+Ob(a.display));return{clientHeight:b.scroller.clientHeight,viewHeight:b.wrapper.clientHeight,scrollWidth:b.scroller.scrollWidth,clientWidth:b.scroller.clientWidth,viewWidth:b.wrapper.clientWidth,barLeft:a.options.fixedGutter?c:0,docHeight:d,scrollHeight:d+Qb(a)+b.barHeight,nativeBarWidth:b.nativeBarWidth,gutterWidth:c}}function Tc(a,b){b||(b=Sc(a));var c=a.display.barWidth,d=a.display.barHeight;Uc(a,b);for(var e=0;e<4&&c!=a.display.barWidth||d!=a.display.barHeight;e++)c!=a.display.barWidth&&a.options.lineWrapping&&Kc(a),Uc(a,Sc(a)),c=a.display.barWidth,d=a.display.barHeight}function Uc(a,b){var c=a.display,d=c.scrollbars.update(b);c.sizer.style.paddingRight=(c.barWidth=d.right)+"px",c.sizer.style.paddingBottom=(c.barHeight=d.bottom)+"px",c.heightForcer.style.borderBottom=d.bottom+"px solid transparent",d.right&&d.bottom?(c.scrollbarFiller.style.display="block",c.scrollbarFiller.style.height=d.bottom+"px",c.scrollbarFiller.style.width=d.right+"px"):c.scrollbarFiller.style.display="",d.bottom&&a.options.coverGutterNextToScrollbar&&a.options.fixedGutter?(c.gutterFiller.style.display="block",c.gutterFiller.style.height=d.bottom+"px",c.gutterFiller.style.width=b.gutterWidth+"px"):c.gutterFiller.style.display=""}function Vc(a){a.display.scrollbars&&(a.display.scrollbars.clear(),a.display.scrollbars.addClass&&rg(a.display.wrapper,a.display.scrollbars.addClass)),a.display.scrollbars=new ch[a.options.scrollbarStyle](function(b){a.display.wrapper.insertBefore(b,a.display.scrollbarFiller),Jg(b,"mousedown",function(){a.state.focused&&setTimeout(function(){return a.display.input.focus()},0)}),b.setAttribute("cm-not-content","true")},function(b,c){"horizontal"==c?Oc(a,b):Nc(a,b)},a),a.display.scrollbars.addClass&&h(a.display.wrapper,a.display.scrollbars.addClass)}function Wc(a,b){if(!Fa(a,"scrollCursorIntoView")){var c=a.display,e=c.sizer.getBoundingClientRect(),f=null;if(b.top+e.top<0?f=!0:b.bottom+e.top>(window.innerHeight||document.documentElement.clientHeight)&&(f=!1),null!=f&&!gg){var g=d("div","​",null,"position: absolute;\n top: "+(b.top-c.viewOffset-Nb(a.display))+"px;\n height: "+(b.bottom-b.top+Qb(a)+c.barHeight)+"px;\n left: "+b.left+"px; width: "+Math.max(2,b.right-b.left)+"px;");a.display.lineSpace.appendChild(g),g.scrollIntoView(f),a.display.lineSpace.removeChild(g)}}}function Xc(a,b,c,d){null==d&&(d=0);for(var e,f=0;f<5;f++){var g=!1,h=kc(a,b),i=c&&c!=b?kc(a,c):h;e={left:Math.min(h.left,i.left),top:Math.min(h.top,i.top)-d,right:Math.max(h.left,i.left),bottom:Math.max(h.bottom,i.bottom)+d};var j=Zc(a,e),k=a.doc.scrollTop,l=a.doc.scrollLeft;if(null!=j.scrollTop&&(Nc(a,j.scrollTop),Math.abs(a.doc.scrollTop-k)>1&&(g=!0)),null!=j.scrollLeft&&(Oc(a,j.scrollLeft),Math.abs(a.doc.scrollLeft-l)>1&&(g=!0)),!g)break}return e}function Yc(a,b){var c=Zc(a,b);null!=c.scrollTop&&Nc(a,c.scrollTop),null!=c.scrollLeft&&Oc(a,c.scrollLeft)}function Zc(a,b){var c=a.display,d=rc(a.display);b.top<0&&(b.top=0);var e=a.curOp&&null!=a.curOp.scrollTop?a.curOp.scrollTop:c.scroller.scrollTop,f=Sb(a),g={};b.bottom-b.top>f&&(b.bottom=b.top+f);var h=a.doc.height+Ob(c),i=b.top<d,j=b.bottom>h-d;if(b.top<e)g.scrollTop=i?0:b.top;else if(b.bottom>e+f){var k=Math.min(b.top,(j?h:b.bottom)-f);k!=e&&(g.scrollTop=k)}var l=a.curOp&&null!=a.curOp.scrollLeft?a.curOp.scrollLeft:c.scroller.scrollLeft,m=Rb(a)-(a.options.fixedGutter?c.gutters.offsetWidth:0),n=b.right-b.left>m;return n&&(b.right=b.left+m),b.left<10?g.scrollLeft=0:b.left<l?g.scrollLeft=Math.max(0,b.left-(n?0:10)):b.right>m+l-3&&(g.scrollLeft=b.right+(n?0:10)-m),g}function $c(a,b,c){null==b&&null==c||ad(a),null!=b&&(a.curOp.scrollLeft=(null==a.curOp.scrollLeft?a.doc.scrollLeft:a.curOp.scrollLeft)+b),null!=c&&(a.curOp.scrollTop=(null==a.curOp.scrollTop?a.doc.scrollTop:a.curOp.scrollTop)+c)}function _c(a){ad(a);var b=a.getCursor(),c=b,d=b;a.options.lineWrapping||(c=b.ch?J(b.line,b.ch-1):b,d=J(b.line,b.ch+1)),a.curOp.scrollToPos={from:c,to:d,margin:a.options.cursorScrollMargin}}function ad(a){var b=a.curOp.scrollToPos;if(b){a.curOp.scrollToPos=null;var c=lc(a,b.from),d=lc(a,b.to),e=Zc(a,{left:Math.min(c.left,d.left),top:Math.min(c.top,d.top)-b.margin,right:Math.max(c.right,d.right),bottom:Math.max(c.bottom,d.bottom)+b.margin});a.scrollTo(e.scrollLeft,e.scrollTop)}}function bd(a){a.curOp={cm:a,viewChanged:!1,startHeight:a.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:++dh},ub(a.curOp)}function cd(a){var b=a.curOp;wb(b,function(a){for(var b=0;b<a.ops.length;b++)a.ops[b].cm.curOp=null;dd(a)})}function dd(a){for(var b=a.ops,c=0;c<b.length;c++)ed(b[c]);for(var d=0;d<b.length;d++)fd(b[d]);for(var e=0;e<b.length;e++)gd(b[e]);for(var f=0;f<b.length;f++)hd(b[f]);for(var g=0;g<b.length;g++)id(b[g])}function ed(a){var b=a.cm,c=b.display;vd(b),a.updateMaxLine&&ua(b),a.mustUpdate=a.viewChanged||a.forceUpdate||null!=a.scrollTop||a.scrollToPos&&(a.scrollToPos.from.line<c.viewFrom||a.scrollToPos.to.line>=c.viewTo)||c.maxLineChanged&&b.options.lineWrapping,a.update=a.mustUpdate&&new eh(b,a.mustUpdate&&{top:a.scrollTop,ensure:a.scrollToPos},a.forceUpdate)}function fd(a){a.updatedDisplay=a.mustUpdate&&wd(a.cm,a.update)}function gd(a){var b=a.cm,c=b.display;a.updatedDisplay&&Kc(b),a.barMeasure=Sc(b),c.maxLineChanged&&!b.options.lineWrapping&&(a.adjustWidthTo=Wb(b,c.maxLine,c.maxLine.text.length).left+3,b.display.sizerWidth=a.adjustWidthTo,a.barMeasure.scrollWidth=Math.max(c.scroller.clientWidth,c.sizer.offsetLeft+a.adjustWidthTo+Qb(b)+b.display.barWidth),a.maxScrollLeft=Math.max(0,c.sizer.offsetLeft+a.adjustWidthTo-Rb(b))),(a.updatedDisplay||a.selectionChanged)&&(a.preparedSelection=c.input.prepareSelection(a.focus))}function hd(a){var b=a.cm;null!=a.adjustWidthTo&&(b.display.sizer.style.minWidth=a.adjustWidthTo+"px",a.maxScrollLeft<b.doc.scrollLeft&&Oc(b,Math.min(b.display.scroller.scrollLeft,a.maxScrollLeft),!0),b.display.maxLineChanged=!1);var c=a.focus&&a.focus==g()&&(!document.hasFocus||document.hasFocus());a.preparedSelection&&b.display.input.showSelection(a.preparedSelection,c),(a.updatedDisplay||a.startHeight!=b.doc.height)&&Tc(b,a.barMeasure),a.updatedDisplay&&Bd(b,a.barMeasure),a.selectionChanged&&Dc(b),b.state.focused&&a.updateInput&&b.display.input.reset(a.typing),c&&Ec(a.cm)}function id(a){var b=a.cm,c=b.display,d=b.doc;if(a.updatedDisplay&&xd(b,a.update),null==c.wheelStartX||null==a.scrollTop&&null==a.scrollLeft&&!a.scrollToPos||(c.wheelStartX=c.wheelStartY=null),null==a.scrollTop||c.scroller.scrollTop==a.scrollTop&&!a.forceScroll||(d.scrollTop=Math.max(0,Math.min(c.scroller.scrollHeight-c.scroller.clientHeight,a.scrollTop)),c.scrollbars.setScrollTop(d.scrollTop),c.scroller.scrollTop=d.scrollTop),null==a.scrollLeft||c.scroller.scrollLeft==a.scrollLeft&&!a.forceScroll||(d.scrollLeft=Math.max(0,Math.min(c.scroller.scrollWidth-c.scroller.clientWidth,a.scrollLeft)),c.scrollbars.setScrollLeft(d.scrollLeft),c.scroller.scrollLeft=d.scrollLeft,Ic(b)),a.scrollToPos){var e=Xc(b,Q(d,a.scrollToPos.from),Q(d,a.scrollToPos.to),a.scrollToPos.margin);Wc(b,e)}var f=a.maybeHiddenMarkers,g=a.maybeUnhiddenMarkers;if(f)for(var h=0;h<f.length;++h)f[h].lines.length||Ea(f[h],"hide");if(g)for(var i=0;i<g.length;++i)g[i].lines.length&&Ea(g[i],"unhide");c.wrapper.offsetHeight&&(d.scrollTop=b.display.scroller.scrollTop),a.changeObjs&&Ea(b,"changes",b,a.changeObjs),a.update&&a.update.finish()}function jd(a,b){if(a.curOp)return b();bd(a);try{return b()}finally{cd(a)}}function kd(a,b){return function(){if(a.curOp)return b.apply(a,arguments);bd(a);try{return b.apply(a,arguments)}finally{cd(a)}}}function ld(a){return function(){if(this.curOp)return a.apply(this,arguments);bd(this);try{return a.apply(this,arguments)}finally{cd(this)}}}function md(a){return function(){var b=this.cm;if(!b||b.curOp)return a.apply(this,arguments);bd(b);try{return a.apply(this,arguments)}finally{cd(b)}}}function nd(a,b,c,d){null==b&&(b=a.doc.first),null==c&&(c=a.doc.first+a.doc.size),d||(d=0);var e=a.display;if(d&&c<e.viewTo&&(null==e.updateLineNumbers||e.updateLineNumbers>b)&&(e.updateLineNumbers=b),a.curOp.viewChanged=!0,b>=e.viewTo)Fg&&oa(a.doc,b)<e.viewTo&&pd(a);else if(c<=e.viewFrom)Fg&&pa(a.doc,c+d)>e.viewFrom?pd(a):(e.viewFrom+=d,e.viewTo+=d);else if(b<=e.viewFrom&&c>=e.viewTo)pd(a);else if(b<=e.viewFrom){var f=qd(a,c,c+d,1);f?(e.view=e.view.slice(f.index),e.viewFrom=f.lineN,e.viewTo+=d):pd(a)}else if(c>=e.viewTo){var g=qd(a,b,b,-1);g?(e.view=e.view.slice(0,g.index),e.viewTo=g.lineN):pd(a)}else{var h=qd(a,b,b,-1),i=qd(a,c,c+d,1);h&&i?(e.view=e.view.slice(0,h.index).concat(tb(a,h.lineN,i.lineN)).concat(e.view.slice(i.index)),e.viewTo+=d):pd(a)}var j=e.externalMeasured;j&&(c<j.lineN?j.lineN+=d:b<j.lineN+j.size&&(e.externalMeasured=null))}function od(a,b,c){a.curOp.viewChanged=!0;var d=a.display,e=a.display.externalMeasured;if(e&&b>=e.lineN&&b<e.lineN+e.size&&(d.externalMeasured=null),!(b<d.viewFrom||b>=d.viewTo)){var f=d.view[yc(a,b)];if(null!=f.node){var g=f.changes||(f.changes=[]);m(g,c)==-1&&g.push(c)}}}function pd(a){a.display.viewFrom=a.display.viewTo=a.doc.first,a.display.view=[],a.display.viewOffset=0}function qd(a,b,c,d){var e,f=yc(a,b),g=a.display.view;if(!Fg||c==a.doc.first+a.doc.size)return{index:f,lineN:c};for(var h=a.display.viewFrom,i=0;i<f;i++)h+=g[i].size;if(h!=b){if(d>0){if(f==g.length-1)return null;e=h+g[f].size-b,f++}else e=h-b;b+=e,c+=e}for(;oa(a.doc,c)!=c;){if(f==(d<0?0:g.length-1))return null;c+=d*g[f-(d<0?1:0)].size,f+=d}return{index:f,lineN:c}}function rd(a,b,c){var d=a.display,e=d.view;0==e.length||b>=d.viewTo||c<=d.viewFrom?(d.view=tb(a,b,c),d.viewFrom=b):(d.viewFrom>b?d.view=tb(a,b,d.viewFrom).concat(d.view):d.viewFrom<b&&(d.view=d.view.slice(yc(a,b))),d.viewFrom=b,d.viewTo<c?d.view=d.view.concat(tb(a,d.viewTo,c)):d.viewTo>c&&(d.view=d.view.slice(0,yc(a,c)))),d.viewTo=c}function sd(a){for(var b=a.display.view,c=0,d=0;d<b.length;d++){var e=b[d];e.hidden||e.node&&!e.changes||++c}return c}function td(a,b){a.doc.mode.startState&&a.doc.frontier<a.display.viewTo&&a.state.highlight.set(b,j(ud,a))}function ud(a){var b=a.doc;if(b.frontier<b.first&&(b.frontier=b.first),!(b.frontier>=a.display.viewTo)){var c=+new Date+a.options.workTime,d=Xa(b.mode,ab(a,b.frontier)),e=[];b.iter(b.frontier,Math.min(b.first+b.size,a.display.viewTo+500),function(f){if(b.frontier>=a.display.viewFrom){var g=f.styles,h=f.text.length>a.options.maxHighlightLength,i=$a(a,f,h?Xa(b.mode,d):d,!0);f.styles=i.styles;var j=f.styleClasses,k=i.classes;k?f.styleClasses=k:j&&(f.styleClasses=null);for(var l=!g||g.length!=f.styles.length||j!=k&&(!j||!k||j.bgClass!=k.bgClass||j.textClass!=k.textClass),m=0;!l&&m<g.length;++m)l=g[m]!=f.styles[m];l&&e.push(b.frontier),f.stateAfter=h?d:Xa(b.mode,d)}else f.text.length<=a.options.maxHighlightLength&&bb(a,f.text,d),f.stateAfter=b.frontier%5==0?Xa(b.mode,d):null;if(++b.frontier,+new Date>c)return td(a,a.options.workDelay),!0}),e.length&&jd(a,function(){for(var b=0;b<e.length;b++)od(a,e[b],"text")})}}function vd(a){var b=a.display;!b.scrollbarsClipped&&b.scroller.offsetWidth&&(b.nativeBarWidth=b.scroller.offsetWidth-b.scroller.clientWidth,b.heightForcer.style.height=Qb(a)+"px",b.sizer.style.marginBottom=-b.nativeBarWidth+"px",b.sizer.style.borderRightWidth=Qb(a)+"px",b.scrollbarsClipped=!0)}function wd(a,c){var d=a.display,e=a.doc;if(c.editorIsHidden)return pd(a),!1;if(!c.force&&c.visible.from>=d.viewFrom&&c.visible.to<=d.viewTo&&(null==d.updateLineNumbers||d.updateLineNumbers>=d.viewTo)&&d.renderedView==d.view&&0==sd(a))return!1;Jc(a)&&(pd(a),c.dims=tc(a));var f=e.first+e.size,h=Math.max(c.visible.from-a.options.viewportMargin,e.first),i=Math.min(f,c.visible.to+a.options.viewportMargin);d.viewFrom<h&&h-d.viewFrom<20&&(h=Math.max(e.first,d.viewFrom)),d.viewTo>i&&d.viewTo-i<20&&(i=Math.min(f,d.viewTo)),Fg&&(h=oa(a.doc,h),i=pa(a.doc,i));var j=h!=d.viewFrom||i!=d.viewTo||d.lastWrapHeight!=c.wrapperHeight||d.lastWrapWidth!=c.wrapperWidth;rd(a,h,i),d.viewOffset=sa(B(a.doc,d.viewFrom)),a.display.mover.style.top=d.viewOffset+"px";var k=sd(a);if(!j&&0==k&&!c.force&&d.renderedView==d.view&&(null==d.updateLineNumbers||d.updateLineNumbers>=d.viewTo))return!1;var l=g();return k>4&&(d.lineDiv.style.display="none"),zd(a,d.updateLineNumbers,c.dims),k>4&&(d.lineDiv.style.display=""),d.renderedView=d.view,l&&g()!=l&&l.offsetHeight&&l.focus(),b(d.cursorDiv),b(d.selectionDiv),d.gutters.style.height=d.sizer.style.minHeight=0,j&&(d.lastWrapHeight=c.wrapperHeight,d.lastWrapWidth=c.wrapperWidth,td(a,400)),d.updateLineNumbers=null,!0}function xd(a,b){for(var c=b.viewport,d=!0;(d&&a.options.lineWrapping&&b.oldDisplayWidth!=Rb(a)||(c&&null!=c.top&&(c={top:Math.min(a.doc.height+Ob(a.display)-Sb(a),c.top)}),b.visible=Mc(a.display,a.doc,c),!(b.visible.from>=a.display.viewFrom&&b.visible.to<=a.display.viewTo)))&&wd(a,b);d=!1){Kc(a);var e=Sc(a);zc(a),Tc(a,e),Bd(a,e)}b.signal(a,"update",a),a.display.viewFrom==a.display.reportedViewFrom&&a.display.viewTo==a.display.reportedViewTo||(b.signal(a,"viewportChange",a,a.display.viewFrom,a.display.viewTo),a.display.reportedViewFrom=a.display.viewFrom,a.display.reportedViewTo=a.display.viewTo)}function yd(a,b){var c=new eh(a,b);if(wd(a,c)){Kc(a),xd(a,c);var d=Sc(a);zc(a),Tc(a,d),Bd(a,d),c.finish()}}function zd(a,c,d){function e(b){var c=b.nextSibling;return ag&&kg&&a.display.currentWheelTarget==b?b.style.display="none":b.parentNode.removeChild(b),c}for(var f=a.display,g=a.options.lineNumbers,h=f.lineDiv,i=h.firstChild,j=f.view,k=f.viewFrom,l=0;l<j.length;l++){var n=j[l];if(n.hidden);else if(n.node&&n.node.parentNode==h){for(;i!=n.node;)i=e(i);var o=g&&null!=c&&c<=k&&n.lineNumber;n.changes&&(m(n.changes,"gutter")>-1&&(o=!1),zb(a,n,k,d)),o&&(b(n.lineNumber),n.lineNumber.appendChild(document.createTextNode(I(a.options,k)))),i=n.node.nextSibling}else{var p=Hb(a,n,k,d);h.insertBefore(p,i)}k+=n.size}for(;i;)i=e(i)}function Ad(a){var b=a.display.gutters.offsetWidth;a.display.sizer.style.marginLeft=b+"px"}function Bd(a,b){a.display.sizer.style.minHeight=b.docHeight+"px",a.display.heightForcer.style.top=b.docHeight+"px",a.display.gutters.style.height=b.docHeight+a.display.barHeight+Qb(a)+"px"}function Cd(a){var c=a.display.gutters,e=a.options.gutters;b(c);for(var f=0;f<e.length;++f){var g=e[f],h=c.appendChild(d("div",null,"CodeMirror-gutter "+g));"CodeMirror-linenumbers"==g&&(a.display.lineGutter=h,h.style.width=(a.display.lineNumWidth||1)+"px")}c.style.display=f?"":"none",Ad(a)}function Dd(a){var b=m(a.gutters,"CodeMirror-linenumbers");b==-1&&a.lineNumbers?a.gutters=a.gutters.concat(["CodeMirror-linenumbers"]):b>-1&&!a.lineNumbers&&(a.gutters=a.gutters.slice(0),a.gutters.splice(b,1))}function Ed(a,b){var c=a[b];a.sort(function(a,b){return K(a.from(),b.from())}),b=m(a,c);for(var d=1;d<a.length;d++){var e=a[d],f=a[d-1];if(K(f.to(),e.from())>=0){var g=O(f.from(),e.from()),h=N(f.to(),e.to()),i=f.empty()?e.from()==e.head:f.from()==f.head;d<=b&&--b,a.splice(--d,2,new gh(i?h:g,i?g:h))}}return new fh(a,b)}function Fd(a,b){return new fh([new gh(a,b||a)],0)}function Gd(a){return a.text?J(a.from.line+a.text.length-1,p(a.text).length+(1==a.text.length?a.from.ch:0)):a.to}function Hd(a,b){if(K(a,b.from)<0)return a;if(K(a,b.to)<=0)return Gd(b);var c=a.line+b.text.length-(b.to.line-b.from.line)-1,d=a.ch;return a.line==b.to.line&&(d+=Gd(b).ch-b.to.ch),J(c,d)}function Id(a,b){for(var c=[],d=0;d<a.sel.ranges.length;d++){var e=a.sel.ranges[d];c.push(new gh(Hd(e.anchor,b),Hd(e.head,b)))}return Ed(c,a.sel.primIndex)}function Jd(a,b,c){return a.line==b.line?J(c.line,a.ch-b.ch+c.ch):J(c.line+(a.line-b.line),a.ch)}function Kd(a,b,c){for(var d=[],e=J(a.first,0),f=e,g=0;g<b.length;g++){var h=b[g],i=Jd(h.from,e,f),j=Jd(Gd(h),e,f);if(e=h.to,f=j,"around"==c){var k=a.sel.ranges[g],l=K(k.head,k.anchor)<0;d[g]=new gh(l?j:i,l?i:j)}else d[g]=new gh(i,i)}return new fh(d,a.sel.primIndex)}function Ld(a){a.doc.mode=Va(a.options,a.doc.modeOption),Md(a)}function Md(a){a.doc.iter(function(a){a.stateAfter&&(a.stateAfter=null),a.styles&&(a.styles=null)}),a.doc.frontier=a.doc.first,td(a,100),a.state.modeGen++,a.curOp&&nd(a)}function Nd(a,b){return 0==b.from.ch&&0==b.to.ch&&""==p(b.text)&&(!a.cm||a.cm.options.wholeLineUpdateBefore)}function Od(a,b,c,d){function e(a){return c?c[a]:null}function f(a,c,e){ib(a,c,e,d),xb(a,"change",a,b)}function g(a,b){for(var c=[],f=a;f<b;++f)c.push(new Tg(j[f],e(f),d));return c}var h=b.from,i=b.to,j=b.text,k=B(a,h.line),l=B(a,i.line),m=p(j),n=e(j.length-1),o=i.line-h.line;if(b.full)a.insert(0,g(0,j.length)),
3
+ a.remove(j.length,a.size-j.length);else if(Nd(a,b)){var q=g(0,j.length-1);f(l,l.text,n),o&&a.remove(h.line,o),q.length&&a.insert(h.line,q)}else if(k==l)if(1==j.length)f(k,k.text.slice(0,h.ch)+m+k.text.slice(i.ch),n);else{var r=g(1,j.length-1);r.push(new Tg(m+k.text.slice(i.ch),n,d)),f(k,k.text.slice(0,h.ch)+j[0],e(0)),a.insert(h.line+1,r)}else if(1==j.length)f(k,k.text.slice(0,h.ch)+j[0]+l.text.slice(i.ch),e(0)),a.remove(h.line+1,o);else{f(k,k.text.slice(0,h.ch)+j[0],e(0)),f(l,m+l.text.slice(i.ch),n);var s=g(1,j.length-1);o>1&&a.remove(h.line+1,o-1),a.insert(h.line+1,s)}xb(a,"change",a,b)}function Pd(a,b,c){function d(a,e,f){if(a.linked)for(var g=0;g<a.linked.length;++g){var h=a.linked[g];if(h.doc!=e){var i=f&&h.sharedHist;c&&!i||(b(h.doc,i),d(h.doc,a,i))}}}d(a,null,!0)}function Qd(a,b){if(b.cm)throw new Error("This document is already in use.");a.doc=b,b.cm=a,wc(a),Ld(a),Rd(a),a.options.lineWrapping||ua(a),a.options.mode=b.modeOption,nd(a)}function Rd(a){("rtl"==a.doc.direction?h:rg)(a.display.lineDiv,"CodeMirror-rtl")}function Sd(a){jd(a,function(){Rd(a),nd(a)})}function Td(a){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=a||1}function Ud(a,b){var c={from:M(b.from),to:Gd(b),text:C(a,b.from,b.to)};return _d(a,c,b.from.line,b.to.line+1),Pd(a,function(a){return _d(a,c,b.from.line,b.to.line+1)},!0),c}function Vd(a){for(;a.length;){var b=p(a);if(!b.ranges)break;a.pop()}}function Wd(a,b){return b?(Vd(a.done),p(a.done)):a.done.length&&!p(a.done).ranges?p(a.done):a.done.length>1&&!a.done[a.done.length-2].ranges?(a.done.pop(),p(a.done)):void 0}function Xd(a,b,c,d){var e=a.history;e.undone.length=0;var f,g,h=+new Date;if((e.lastOp==d||e.lastOrigin==b.origin&&b.origin&&("+"==b.origin.charAt(0)&&a.cm&&e.lastModTime>h-a.cm.options.historyEventDelay||"*"==b.origin.charAt(0)))&&(f=Wd(e,e.lastOp==d)))g=p(f.changes),0==K(b.from,b.to)&&0==K(b.from,g.to)?g.to=Gd(b):f.changes.push(Ud(a,b));else{var i=p(e.done);for(i&&i.ranges||$d(a.sel,e.done),f={changes:[Ud(a,b)],generation:e.generation},e.done.push(f);e.done.length>e.undoDepth;)e.done.shift(),e.done[0].ranges||e.done.shift()}e.done.push(c),e.generation=++e.maxGeneration,e.lastModTime=e.lastSelTime=h,e.lastOp=e.lastSelOp=d,e.lastOrigin=e.lastSelOrigin=b.origin,g||Ea(a,"historyAdded")}function Yd(a,b,c,d){var e=b.charAt(0);return"*"==e||"+"==e&&c.ranges.length==d.ranges.length&&c.somethingSelected()==d.somethingSelected()&&new Date-a.history.lastSelTime<=(a.cm?a.cm.options.historyEventDelay:500)}function Zd(a,b,c,d){var e=a.history,f=d&&d.origin;c==e.lastSelOp||f&&e.lastSelOrigin==f&&(e.lastModTime==e.lastSelTime&&e.lastOrigin==f||Yd(a,f,p(e.done),b))?e.done[e.done.length-1]=b:$d(b,e.done),e.lastSelTime=+new Date,e.lastSelOrigin=f,e.lastSelOp=c,d&&d.clearRedo!==!1&&Vd(e.undone)}function $d(a,b){var c=p(b);c&&c.ranges&&c.equals(a)||b.push(a)}function _d(a,b,c,d){var e=b["spans_"+a.id],f=0;a.iter(Math.max(a.first,c),Math.min(a.first+a.size,d),function(c){c.markedSpans&&((e||(e=b["spans_"+a.id]={}))[f]=c.markedSpans),++f})}function ae(a){if(!a)return null;for(var b,c=0;c<a.length;++c)a[c].marker.explicitlyCleared?b||(b=a.slice(0,c)):b&&b.push(a[c]);return b?b.length?b:null:a}function be(a,b){var c=b["spans_"+a.id];if(!c)return null;for(var d=[],e=0;e<b.text.length;++e)d.push(ae(c[e]));return d}function ce(a,b){var c=be(a,b),d=_(a,b);if(!c)return d;if(!d)return c;for(var e=0;e<c.length;++e){var f=c[e],g=d[e];if(f&&g)a:for(var h=0;h<g.length;++h){for(var i=g[h],j=0;j<f.length;++j)if(f[j].marker==i.marker)continue a;f.push(i)}else g&&(c[e]=g)}return c}function de(a,b,c){for(var d=[],e=0;e<a.length;++e){var f=a[e];if(f.ranges)d.push(c?fh.prototype.deepCopy.call(f):f);else{var g=f.changes,h=[];d.push({changes:h});for(var i=0;i<g.length;++i){var j=g[i],k=void 0;if(h.push({from:j.from,to:j.to,text:j.text}),b)for(var l in j)(k=l.match(/^spans_(\d+)$/))&&m(b,Number(k[1]))>-1&&(p(h)[l]=j[l],delete j[l])}}}return d}function ee(a,b,c,d){if(a.cm&&a.cm.display.shift||a.extend){var e=b.anchor;if(d){var f=K(c,e)<0;f!=K(d,e)<0?(e=c,c=d):f!=K(c,d)<0&&(c=d)}return new gh(e,c)}return new gh(d||c,c)}function fe(a,b,c,d){le(a,new fh([ee(a,a.sel.primary(),b,c)],0),d)}function ge(a,b,c){for(var d=[],e=0;e<a.sel.ranges.length;e++)d[e]=ee(a,a.sel.ranges[e],b[e],null);var f=Ed(d,a.sel.primIndex);le(a,f,c)}function he(a,b,c,d){var e=a.sel.ranges.slice(0);e[b]=c,le(a,Ed(e,a.sel.primIndex),d)}function ie(a,b,c,d){le(a,Fd(b,c),d)}function je(a,b,c){var d={ranges:b.ranges,update:function(b){var c=this;this.ranges=[];for(var d=0;d<b.length;d++)c.ranges[d]=new gh(Q(a,b[d].anchor),Q(a,b[d].head))},origin:c&&c.origin};return Ea(a,"beforeSelectionChange",a,d),a.cm&&Ea(a.cm,"beforeSelectionChange",a.cm,d),d.ranges!=b.ranges?Ed(d.ranges,d.ranges.length-1):b}function ke(a,b,c){var d=a.history.done,e=p(d);e&&e.ranges?(d[d.length-1]=b,me(a,b,c)):le(a,b,c)}function le(a,b,c){me(a,b,c),Zd(a,a.sel,a.cm?a.cm.curOp.id:NaN,c)}function me(a,b,c){(Ha(a,"beforeSelectionChange")||a.cm&&Ha(a.cm,"beforeSelectionChange"))&&(b=je(a,b,c));var d=c&&c.bias||(K(b.primary().head,a.sel.primary().head)<0?-1:1);ne(a,pe(a,b,d,!0)),c&&c.scroll===!1||!a.cm||_c(a.cm)}function ne(a,b){b.equals(a.sel)||(a.sel=b,a.cm&&(a.cm.curOp.updateInput=a.cm.curOp.selectionChanged=!0,Ga(a.cm)),xb(a,"cursorActivity",a))}function oe(a){ne(a,pe(a,a.sel,null,!1),yg)}function pe(a,b,c,d){for(var e,f=0;f<b.ranges.length;f++){var g=b.ranges[f],h=b.ranges.length==a.sel.ranges.length&&a.sel.ranges[f],i=re(a,g.anchor,h&&h.anchor,c,d),j=re(a,g.head,h&&h.head,c,d);(e||i!=g.anchor||j!=g.head)&&(e||(e=b.ranges.slice(0,f)),e[f]=new gh(i,j))}return e?Ed(e,b.primIndex):b}function qe(a,b,c,d,e){var f=B(a,b.line);if(f.markedSpans)for(var g=0;g<f.markedSpans.length;++g){var h=f.markedSpans[g],i=h.marker;if((null==h.from||(i.inclusiveLeft?h.from<=b.ch:h.from<b.ch))&&(null==h.to||(i.inclusiveRight?h.to>=b.ch:h.to>b.ch))){if(e&&(Ea(i,"beforeCursorEnter"),i.explicitlyCleared)){if(f.markedSpans){--g;continue}break}if(!i.atomic)continue;if(c){var j=i.find(d<0?1:-1),k=void 0;if((d<0?i.inclusiveRight:i.inclusiveLeft)&&(j=se(a,j,-d,j&&j.line==b.line?f:null)),j&&j.line==b.line&&(k=K(j,c))&&(d<0?k<0:k>0))return qe(a,j,b,d,e)}var l=i.find(d<0?-1:1);return(d<0?i.inclusiveLeft:i.inclusiveRight)&&(l=se(a,l,d,l.line==b.line?f:null)),l?qe(a,l,b,d,e):null}}return b}function re(a,b,c,d,e){var f=d||1,g=qe(a,b,c,f,e)||!e&&qe(a,b,c,f,!0)||qe(a,b,c,-f,e)||!e&&qe(a,b,c,-f,!0);return g?g:(a.cantEdit=!0,J(a.first,0))}function se(a,b,c,d){return c<0&&0==b.ch?b.line>a.first?Q(a,J(b.line-1)):null:c>0&&b.ch==(d||B(a,b.line)).text.length?b.line<a.first+a.size-1?J(b.line+1,0):null:new J(b.line,b.ch+c)}function te(a){a.setSelection(J(a.firstLine(),0),J(a.lastLine()),yg)}function ue(a,b,c){var d={canceled:!1,from:b.from,to:b.to,text:b.text,origin:b.origin,cancel:function(){return d.canceled=!0}};return c&&(d.update=function(b,c,e,f){b&&(d.from=Q(a,b)),c&&(d.to=Q(a,c)),e&&(d.text=e),void 0!==f&&(d.origin=f)}),Ea(a,"beforeChange",a,d),a.cm&&Ea(a.cm,"beforeChange",a.cm,d),d.canceled?null:{from:d.from,to:d.to,text:d.text,origin:d.origin}}function ve(a,b,c){if(a.cm){if(!a.cm.curOp)return kd(a.cm,ve)(a,b,c);if(a.cm.state.suppressEdits)return}if(!(Ha(a,"beforeChange")||a.cm&&Ha(a.cm,"beforeChange"))||(b=ue(a,b,!0))){var d=Eg&&!c&&ba(a,b.from,b.to);if(d)for(var e=d.length-1;e>=0;--e)we(a,{from:d[e].from,to:d[e].to,text:e?[""]:b.text});else we(a,b)}}function we(a,b){if(1!=b.text.length||""!=b.text[0]||0!=K(b.from,b.to)){var c=Id(a,b);Xd(a,b,c,a.cm?a.cm.curOp.id:NaN),ze(a,b,c,_(a,b));var d=[];Pd(a,function(a,c){c||m(d,a.history)!=-1||(Ee(a.history,b),d.push(a.history)),ze(a,b,null,_(a,b))})}}function xe(a,b,c){if(!a.cm||!a.cm.state.suppressEdits||c){for(var d,e=a.history,f=a.sel,g="undo"==b?e.done:e.undone,h="undo"==b?e.undone:e.done,i=0;i<g.length&&(d=g[i],c?!d.ranges||d.equals(a.sel):d.ranges);i++);if(i!=g.length){for(e.lastOrigin=e.lastSelOrigin=null;d=g.pop(),d.ranges;){if($d(d,h),c&&!d.equals(a.sel))return void le(a,d,{clearRedo:!1});f=d}var j=[];$d(f,h),h.push({changes:j,generation:e.generation}),e.generation=d.generation||++e.maxGeneration;for(var k=Ha(a,"beforeChange")||a.cm&&Ha(a.cm,"beforeChange"),l=function(c){var e=d.changes[c];if(e.origin=b,k&&!ue(a,e,!1))return g.length=0,{};j.push(Ud(a,e));var f=c?Id(a,e):p(g);ze(a,e,f,ce(a,e)),!c&&a.cm&&a.cm.scrollIntoView({from:e.from,to:Gd(e)});var h=[];Pd(a,function(a,b){b||m(h,a.history)!=-1||(Ee(a.history,e),h.push(a.history)),ze(a,e,null,ce(a,e))})},n=d.changes.length-1;n>=0;--n){var o=l(n);if(o)return o.v}}}}function ye(a,b){if(0!=b&&(a.first+=b,a.sel=new fh(q(a.sel.ranges,function(a){return new gh(J(a.anchor.line+b,a.anchor.ch),J(a.head.line+b,a.head.ch))}),a.sel.primIndex),a.cm)){nd(a.cm,a.first,a.first-b,b);for(var c=a.cm.display,d=c.viewFrom;d<c.viewTo;d++)od(a.cm,d,"gutter")}}function ze(a,b,c,d){if(a.cm&&!a.cm.curOp)return kd(a.cm,ze)(a,b,c,d);if(b.to.line<a.first)return void ye(a,b.text.length-1-(b.to.line-b.from.line));if(!(b.from.line>a.lastLine())){if(b.from.line<a.first){var e=b.text.length-1-(a.first-b.from.line);ye(a,e),b={from:J(a.first,0),to:J(b.to.line+e,b.to.ch),text:[p(b.text)],origin:b.origin}}var f=a.lastLine();b.to.line>f&&(b={from:b.from,to:J(f,B(a,f).text.length),text:[b.text[0]],origin:b.origin}),b.removed=C(a,b.from,b.to),c||(c=Id(a,b)),a.cm?Ae(a.cm,b,d):Od(a,b,d),me(a,c,yg)}}function Ae(a,b,c){var d=a.doc,e=a.display,f=b.from,g=b.to,h=!1,i=f.line;a.options.lineWrapping||(i=F(la(B(d,f.line))),d.iter(i,g.line+1,function(a){if(a==e.maxLine)return h=!0,!0})),d.sel.contains(b.from,b.to)>-1&&Ga(a),Od(d,b,c,vc(a)),a.options.lineWrapping||(d.iter(i,f.line+b.text.length,function(a){var b=ta(a);b>e.maxLineLength&&(e.maxLine=a,e.maxLineLength=b,e.maxLineChanged=!0,h=!1)}),h&&(a.curOp.updateMaxLine=!0)),d.frontier=Math.min(d.frontier,f.line),td(a,400);var j=b.text.length-(g.line-f.line)-1;b.full?nd(a):f.line!=g.line||1!=b.text.length||Nd(a.doc,b)?nd(a,f.line,g.line+1,j):od(a,f.line,"text");var k=Ha(a,"changes"),l=Ha(a,"change");if(l||k){var m={from:f,to:g,text:b.text,removed:b.removed,origin:b.origin};l&&xb(a,"change",a,m),k&&(a.curOp.changeObjs||(a.curOp.changeObjs=[])).push(m)}a.display.selForContextMenu=null}function Be(a,b,c,d,e){if(d||(d=c),K(d,c)<0){var f=d;d=c,c=f}"string"==typeof b&&(b=a.splitLines(b)),ve(a,{from:c,to:d,text:b,origin:e})}function Ce(a,b,c,d){c<a.line?a.line+=d:b<a.line&&(a.line=b,a.ch=0)}function De(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e],g=!0;if(f.ranges){f.copied||(f=a[e]=f.deepCopy(),f.copied=!0);for(var h=0;h<f.ranges.length;h++)Ce(f.ranges[h].anchor,b,c,d),Ce(f.ranges[h].head,b,c,d)}else{for(var i=0;i<f.changes.length;++i){var j=f.changes[i];if(c<j.from.line)j.from=J(j.from.line+d,j.from.ch),j.to=J(j.to.line+d,j.to.ch);else if(b<=j.to.line){g=!1;break}}g||(a.splice(0,e+1),e=0)}}}function Ee(a,b){var c=b.from.line,d=b.to.line,e=b.text.length-(d-c)-1;De(a.done,c,d,e),De(a.undone,c,d,e)}function Fe(a,b,c,d){var e=b,f=b;return"number"==typeof b?f=B(a,P(a,b)):e=F(b),null==e?null:(d(f,e)&&a.cm&&od(a.cm,e,c),f)}function Ge(a,b,c){sa(b)<(a.curOp&&a.curOp.scrollTop||a.doc.scrollTop)&&$c(a,null,c)}function He(a,b,c,d){var e=new jh(a,c,d),f=a.cm;return f&&e.noHScroll&&(f.display.alignWidgets=!0),Fe(a,b,"widget",function(b){var c=b.widgets||(b.widgets=[]);if(null==e.insertAt?c.push(e):c.splice(Math.min(c.length-1,Math.max(0,e.insertAt)),0,e),e.line=b,f&&!qa(a,b)){var d=sa(b)<a.scrollTop;E(b,b.height+Lb(e)),d&&$c(f,null,e.height),f.curOp.forceUpdate=!0}return!0}),xb(f,"lineWidgetAdded",f,e,"number"==typeof b?b:F(b)),e}function Ie(a,b,c,d,f){if(d&&d.shared)return Je(a,b,c,d,f);if(a.cm&&!a.cm.curOp)return kd(a.cm,Ie)(a,b,c,d,f);var g=new lh(a,f),h=K(b,c);if(d&&k(d,g,!1),h>0||0==h&&g.clearWhenEmpty!==!1)return g;if(g.replacedWith&&(g.collapsed=!0,g.widgetNode=e("span",[g.replacedWith],"CodeMirror-widget"),d.handleMouseEvents||g.widgetNode.setAttribute("cm-ignore-events","true"),d.insertLeft&&(g.widgetNode.insertLeft=!0)),g.collapsed){if(ka(a,b.line,b,c,g)||b.line!=c.line&&ka(a,c.line,b,c,g))throw new Error("Inserting collapsed marker partially overlapping an existing one");U()}g.addToHistory&&Xd(a,{from:b,to:c,origin:"markText"},a.sel,NaN);var i,j=b.line,l=a.cm;if(a.iter(j,c.line+1,function(a){l&&g.collapsed&&!l.options.lineWrapping&&la(a)==l.display.maxLine&&(i=!0),g.collapsed&&j!=b.line&&E(a,0),Y(a,new V(g,j==b.line?b.ch:null,j==c.line?c.ch:null)),++j}),g.collapsed&&a.iter(b.line,c.line+1,function(b){qa(a,b)&&E(b,0)}),g.clearOnEnter&&Jg(g,"beforeCursorEnter",function(){return g.clear()}),g.readOnly&&(T(),(a.history.done.length||a.history.undone.length)&&a.clearHistory()),g.collapsed&&(g.id=++kh,g.atomic=!0),l){if(i&&(l.curOp.updateMaxLine=!0),g.collapsed)nd(l,b.line,c.line+1);else if(g.className||g.title||g.startStyle||g.endStyle||g.css)for(var m=b.line;m<=c.line;m++)od(l,m,"text");g.atomic&&oe(l.doc),xb(l,"markerAdded",l,g)}return g}function Je(a,b,c,d,e){d=k(d),d.shared=!1;var f=[Ie(a,b,c,d,e)],g=f[0],h=d.widgetNode;return Pd(a,function(a){h&&(d.widgetNode=h.cloneNode(!0)),f.push(Ie(a,Q(a,b),Q(a,c),d,e));for(var i=0;i<a.linked.length;++i)if(a.linked[i].isParent)return;g=p(f)}),new mh(f,g)}function Ke(a){return a.findMarks(J(a.first,0),a.clipPos(J(a.lastLine())),function(a){return a.parent})}function Le(a,b){for(var c=0;c<b.length;c++){var d=b[c],e=d.find(),f=a.clipPos(e.from),g=a.clipPos(e.to);if(K(f,g)){var h=Ie(a,f,g,d.primary,d.primary.type);d.markers.push(h),h.parent=d}}}function Me(a){for(var b=function(b){var c=a[b],d=[c.primary.doc];Pd(c.primary.doc,function(a){return d.push(a)});for(var e=0;e<c.markers.length;e++){var f=c.markers[e];m(d,f.doc)==-1&&(f.parent=null,c.markers.splice(e--,1))}},c=0;c<a.length;c++)b(c)}function Ne(a){var b=this;if(Qe(b),!Fa(b,a)&&!Mb(b.display,a)){Ja(a),$f&&(ph=+new Date);var c=xc(b,a,!0),d=a.dataTransfer.files;if(c&&!b.isReadOnly())if(d&&d.length&&window.FileReader&&window.File)for(var e=d.length,f=Array(e),g=0,h=function(a,d){if(!b.options.allowDropFileTypes||m(b.options.allowDropFileTypes,a.type)!=-1){var h=new FileReader;h.onload=kd(b,function(){var a=h.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(a)&&(a=""),f[d]=a,++g==e){c=Q(b.doc,c);var i={from:c,to:c,text:b.doc.splitLines(f.join(b.doc.lineSeparator())),origin:"paste"};ve(b.doc,i),ke(b.doc,Fd(c,Gd(i)))}}),h.readAsText(a)}},i=0;i<e;++i)h(d[i],i);else{if(b.state.draggingText&&b.doc.sel.contains(c)>-1)return b.state.draggingText(a),void setTimeout(function(){return b.display.input.focus()},20);try{var j=a.dataTransfer.getData("Text");if(j){var k;if(b.state.draggingText&&!b.state.draggingText.copy&&(k=b.listSelections()),me(b.doc,Fd(c,c)),k)for(var l=0;l<k.length;++l)Be(b.doc,"",k[l].anchor,k[l].head,"drag");b.replaceSelection(j,"around","paste"),b.display.input.focus()}}catch(a){}}}}function Oe(a,b){if($f&&(!a.state.draggingText||+new Date-ph<100))return void Ma(b);if(!Fa(a,b)&&!Mb(a.display,b)&&(b.dataTransfer.setData("Text",a.getSelection()),b.dataTransfer.effectAllowed="copyMove",b.dataTransfer.setDragImage&&!eg)){var c=d("img",null,null,"position: fixed; left: 0; top: 0;");c.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",dg&&(c.width=c.height=1,a.display.wrapper.appendChild(c),c._top=c.offsetTop),b.dataTransfer.setDragImage(c,0,0),dg&&c.parentNode.removeChild(c)}}function Pe(a,b){var e=xc(a,b);if(e){var f=document.createDocumentFragment();Bc(a,e,f),a.display.dragCursor||(a.display.dragCursor=d("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),a.display.lineSpace.insertBefore(a.display.dragCursor,a.display.cursorDiv)),c(a.display.dragCursor,f)}}function Qe(a){a.display.dragCursor&&(a.display.lineSpace.removeChild(a.display.dragCursor),a.display.dragCursor=null)}function Re(a){if(document.body.getElementsByClassName)for(var b=document.body.getElementsByClassName("CodeMirror"),c=0;c<b.length;c++){var d=b[c].CodeMirror;d&&a(d)}}function Se(){qh||(Te(),qh=!0)}function Te(){var a;Jg(window,"resize",function(){null==a&&(a=setTimeout(function(){a=null,Re(Ue)},100))}),Jg(window,"blur",function(){return Re(Hc)})}function Ue(a){var b=a.display;b.lastWrapHeight==b.wrapper.clientHeight&&b.lastWrapWidth==b.wrapper.clientWidth||(b.cachedCharWidth=b.cachedTextHeight=b.cachedPaddingH=null,b.scrollbarsClipped=!1,a.setSize())}function Ve(a){var b=a.split(/-(?!$)/);a=b[b.length-1];for(var c,d,e,f,g=0;g<b.length-1;g++){var h=b[g];if(/^(cmd|meta|m)$/i.test(h))f=!0;else if(/^a(lt)?$/i.test(h))c=!0;else if(/^(c|ctrl|control)$/i.test(h))d=!0;else{if(!/^s(hift)?$/i.test(h))throw new Error("Unrecognized modifier name: "+h);e=!0}}return c&&(a="Alt-"+a),d&&(a="Ctrl-"+a),f&&(a="Cmd-"+a),e&&(a="Shift-"+a),a}function We(a){var b={};for(var c in a)if(a.hasOwnProperty(c)){var d=a[c];if(/^(name|fallthrough|(de|at)tach)$/.test(c))continue;if("..."==d){delete a[c];continue}for(var e=q(c.split(" "),Ve),f=0;f<e.length;f++){var g=void 0,h=void 0;f==e.length-1?(h=e.join(" "),g=d):(h=e.slice(0,f+1).join(" "),g="...");var i=b[h];if(i){if(i!=g)throw new Error("Inconsistent bindings for "+h)}else b[h]=g}delete a[c]}for(var j in b)a[j]=b[j];return a}function Xe(a,b,c,d){b=$e(b);var e=b.call?b.call(a,d):b[a];if(e===!1)return"nothing";if("..."===e)return"multi";if(null!=e&&c(e))return"handled";if(b.fallthrough){if("[object Array]"!=Object.prototype.toString.call(b.fallthrough))return Xe(a,b.fallthrough,c,d);for(var f=0;f<b.fallthrough.length;f++){var g=Xe(a,b.fallthrough[f],c,d);if(g)return g}}}function Ye(a){var b="string"==typeof a?a:rh[a.keyCode];return"Ctrl"==b||"Alt"==b||"Shift"==b||"Mod"==b}function Ze(a,b){if(dg&&34==a.keyCode&&a["char"])return!1;var c=rh[a.keyCode],d=c;return null!=d&&!a.altGraphKey&&(a.altKey&&"Alt"!=c&&(d="Alt-"+d),(pg?a.metaKey:a.ctrlKey)&&"Ctrl"!=c&&(d="Ctrl-"+d),(pg?a.ctrlKey:a.metaKey)&&"Cmd"!=c&&(d="Cmd-"+d),!b&&a.shiftKey&&"Shift"!=c&&(d="Shift-"+d),d)}function $e(a){return"string"==typeof a?vh[a]:a}function _e(a,b){for(var c=a.doc.sel.ranges,d=[],e=0;e<c.length;e++){for(var f=b(c[e]);d.length&&K(f.from,p(d).to)<=0;){var g=d.pop();if(K(g.from,f.from)<0){f.from=g.from;break}}d.push(f)}jd(a,function(){for(var b=d.length-1;b>=0;b--)Be(a.doc,"",d[b].from,d[b].to,"+delete");_c(a)})}function af(a,b){var c=B(a.doc,b),d=la(c);return d!=c&&(b=F(d)),Aa(!0,a,d,b,1)}function bf(a,b){var c=B(a.doc,b),d=ma(c);return d!=c&&(b=F(d)),Aa(!0,a,c,b,-1)}function cf(a,b){var c=af(a,b.line),d=B(a.doc,c.line),e=xa(d,a.doc.direction);if(!e||0==e[0].level){var f=Math.max(0,d.text.search(/\S/)),g=b.line==c.line&&b.ch<=f&&b.ch;return J(c.line,g?0:f,c.sticky)}return c}function df(a,b,c){if("string"==typeof b&&(b=yh[b],!b))return!1;a.display.input.ensurePolled();var d=a.display.shift,e=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),c&&(a.display.shift=!1),e=b(a)!=xg}finally{a.display.shift=d,a.state.suppressEdits=!1}return e}function ef(a,b,c){for(var d=0;d<a.state.keyMaps.length;d++){var e=Xe(b,a.state.keyMaps[d],c,a);if(e)return e}return a.options.extraKeys&&Xe(b,a.options.extraKeys,c,a)||Xe(b,a.options.keyMap,c,a)}function ff(a,b,c,d){var e=a.state.keySeq;if(e){if(Ye(b))return"handled";zh.set(50,function(){a.state.keySeq==e&&(a.state.keySeq=null,a.display.input.reset())}),b=e+" "+b}var f=ef(a,b,d);return"multi"==f&&(a.state.keySeq=b),"handled"==f&&xb(a,"keyHandled",a,b,c),"handled"!=f&&"multi"!=f||(Ja(c),Dc(a)),e&&!f&&/\'$/.test(b)?(Ja(c),!0):!!f}function gf(a,b){var c=Ze(b,!0);return!!c&&(b.shiftKey&&!a.state.keySeq?ff(a,"Shift-"+c,b,function(b){return df(a,b,!0)})||ff(a,c,b,function(b){if("string"==typeof b?/^go[A-Z]/.test(b):b.motion)return df(a,b)}):ff(a,c,b,function(b){return df(a,b)}))}function hf(a,b,c){return ff(a,"'"+c+"'",b,function(b){return df(a,b,!0)})}function jf(a){var b=this;if(b.curOp.focus=g(),!Fa(b,a)){$f&&_f<11&&27==a.keyCode&&(a.returnValue=!1);var c=a.keyCode;b.display.shift=16==c||a.shiftKey;var d=gf(b,a);dg&&(Ah=d?c:null,!d&&88==c&&!Ng&&(kg?a.metaKey:a.ctrlKey)&&b.replaceSelection("",null,"cut")),18!=c||/\bCodeMirror-crosshair\b/.test(b.display.lineDiv.className)||kf(b)}}function kf(a){function b(a){18!=a.keyCode&&a.altKey||(rg(c,"CodeMirror-crosshair"),Da(document,"keyup",b),Da(document,"mouseover",b))}var c=a.display.lineDiv;h(c,"CodeMirror-crosshair"),Jg(document,"keyup",b),Jg(document,"mouseover",b)}function lf(a){16==a.keyCode&&(this.doc.sel.shift=!1),Fa(this,a)}function mf(a){var b=this;if(!(Mb(b.display,a)||Fa(b,a)||a.ctrlKey&&!a.altKey||kg&&a.metaKey)){var c=a.keyCode,d=a.charCode;if(dg&&c==Ah)return Ah=null,void Ja(a);if(!dg||a.which&&!(a.which<10)||!gf(b,a)){var e=String.fromCharCode(null==d?c:d);"\b"!=e&&(hf(b,a,e)||b.display.input.onKeyPress(a))}}}function nf(a){var b=this,c=b.display;if(!(Fa(b,a)||c.activeTouch&&c.input.supportsTouch())){if(c.input.ensurePolled(),c.shift=a.shiftKey,Mb(c,a))return void(ag||(c.scroller.draggable=!1,setTimeout(function(){return c.scroller.draggable=!0},100)));if(!sf(b,a)){var d=xc(b,a);switch(window.focus(),Oa(a)){case 1:b.state.selectingText?b.state.selectingText(a):d?of(b,a,d):Na(a)==c.scroller&&Ja(a);break;case 2:ag&&(b.state.lastMiddleDown=+new Date),d&&fe(b.doc,d),setTimeout(function(){return c.input.focus()},20),Ja(a);break;case 3:qg?tf(b,a):Fc(b)}}}}function of(a,b,c){$f?setTimeout(j(Ec,a),0):a.curOp.focus=g();var d,e=+new Date;xh&&xh.time>e-400&&0==K(xh.pos,c)?d="triple":wh&&wh.time>e-400&&0==K(wh.pos,c)?(d="double",xh={time:e,pos:c}):(d="single",wh={time:e,pos:c});var f,h=a.doc.sel,i=kg?b.metaKey:b.ctrlKey;a.options.dragDrop&&Kg&&!a.isReadOnly()&&"single"==d&&(f=h.contains(c))>-1&&(K((f=h.ranges[f]).from(),c)<0||c.xRel>0)&&(K(f.to(),c)>0||c.xRel<0)?pf(a,b,c,i):qf(a,b,c,d,i)}function pf(a,b,c,d){var e=a.display,f=!1,g=kd(a,function(b){ag&&(e.scroller.draggable=!1),a.state.draggingText=!1,Da(document,"mouseup",g),Da(document,"mousemove",h),Da(e.scroller,"dragstart",i),Da(e.scroller,"drop",g),f||(Ja(b),d||fe(a.doc,c),ag||$f&&9==_f?setTimeout(function(){document.body.focus(),e.input.focus()},20):e.input.focus())}),h=function(a){f=f||Math.abs(b.clientX-a.clientX)+Math.abs(b.clientY-a.clientY)>=10},i=function(){return f=!0};ag&&(e.scroller.draggable=!0),a.state.draggingText=g,g.copy=kg?b.altKey:b.ctrlKey,e.scroller.dragDrop&&e.scroller.dragDrop(),Jg(document,"mouseup",g),Jg(document,"mousemove",h),Jg(e.scroller,"dragstart",i),Jg(e.scroller,"drop",g),Fc(a),setTimeout(function(){return e.input.focus()},20)}function qf(a,b,c,d,e){function f(b){if(0!=K(t,b))if(t=b,"rect"==d){for(var e=[],f=a.options.tabSize,g=l(B(k,c.line).text,c.ch,f),h=l(B(k,b.line).text,b.ch,f),i=Math.min(g,h),j=Math.max(g,h),q=Math.min(c.line,b.line),r=Math.min(a.lastLine(),Math.max(c.line,b.line));q<=r;q++){var s=B(k,q).text,u=n(s,i,f);i==j?e.push(new gh(J(q,u),J(q,u))):s.length>u&&e.push(new gh(J(q,u),J(q,n(s,j,f))))}e.length||e.push(new gh(c,c)),le(k,Ed(p.ranges.slice(0,o).concat(e),o),{origin:"*mouse",scroll:!1}),a.scrollIntoView(b)}else{var v=m,w=v.anchor,x=b;if("single"!=d){var y;y="double"==d?a.findWordAt(b):new gh(J(b.line,0),Q(k,J(b.line+1,0))),K(y.anchor,w)>0?(x=y.head,w=O(v.from(),y.anchor)):(x=y.anchor,w=N(v.to(),y.head))}var z=p.ranges.slice(0);z[o]=new gh(Q(k,w),x),le(k,Ed(z,o),zg)}}function h(b){var c=++v,e=xc(a,b,!0,"rect"==d);if(e)if(0!=K(e,t)){a.curOp.focus=g(),f(e);var i=Mc(j,k);(e.line>=i.to||e.line<i.from)&&setTimeout(kd(a,function(){v==c&&h(b)}),150)}else{var l=b.clientY<u.top?-20:b.clientY>u.bottom?20:0;l&&setTimeout(kd(a,function(){v==c&&(j.scroller.scrollTop+=l,h(b))}),50)}}function i(b){a.state.selectingText=!1,v=1/0,Ja(b),j.input.focus(),Da(document,"mousemove",w),Da(document,"mouseup",x),k.history.lastSelOrigin=null}var j=a.display,k=a.doc;Ja(b);var m,o,p=k.sel,q=p.ranges;if(e&&!b.shiftKey?(o=k.sel.contains(c),m=o>-1?q[o]:new gh(c,c)):(m=k.sel.primary(),o=k.sel.primIndex),lg?b.shiftKey&&b.metaKey:b.altKey)d="rect",e||(m=new gh(c,c)),c=xc(a,b,!0,!0),o=-1;else if("double"==d){var r=a.findWordAt(c);m=a.display.shift||k.extend?ee(k,m,r.anchor,r.head):r}else if("triple"==d){var s=new gh(J(c.line,0),Q(k,J(c.line+1,0)));m=a.display.shift||k.extend?ee(k,m,s.anchor,s.head):s}else m=ee(k,m,c);e?o==-1?(o=q.length,le(k,Ed(q.concat([m]),o),{scroll:!1,origin:"*mouse"})):q.length>1&&q[o].empty()&&"single"==d&&!b.shiftKey?(le(k,Ed(q.slice(0,o).concat(q.slice(o+1)),0),{scroll:!1,origin:"*mouse"}),p=k.sel):he(k,o,m,zg):(o=0,le(k,new fh([m],0),zg),p=k.sel);var t=c,u=j.wrapper.getBoundingClientRect(),v=0,w=kd(a,function(a){Oa(a)?h(a):i(a)}),x=kd(a,i);a.state.selectingText=x,Jg(document,"mousemove",w),Jg(document,"mouseup",x)}function rf(a,b,c,d){var e,f;try{e=b.clientX,f=b.clientY}catch(b){return!1}if(e>=Math.floor(a.display.gutters.getBoundingClientRect().right))return!1;d&&Ja(b);var g=a.display,h=g.lineDiv.getBoundingClientRect();if(f>h.bottom||!Ha(a,c))return La(b);f-=h.top-g.viewOffset;for(var i=0;i<a.options.gutters.length;++i){var j=g.gutters.childNodes[i];if(j&&j.getBoundingClientRect().right>=e){var k=G(a.doc,f),l=a.options.gutters[i];return Ea(a,c,a,k,l,b),La(b)}}}function sf(a,b){return rf(a,b,"gutterClick",!0)}function tf(a,b){Mb(a.display,b)||uf(a,b)||Fa(a,b,"contextmenu")||a.display.input.onContextMenu(b)}function uf(a,b){return!!Ha(a,"gutterContextMenu")&&rf(a,b,"gutterContextMenu",!1)}function vf(a){a.display.wrapper.className=a.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+a.options.theme.replace(/(^|\s)\s*/g," cm-s-"),ec(a)}function wf(a){function b(b,d,e,f){a.defaults[b]=d,e&&(c[b]=f?function(a,b,c){c!=Bh&&e(a,b,c)}:e)}var c=a.optionHandlers;a.defineOption=b,a.Init=Bh,b("value","",function(a,b){return a.setValue(b)},!0),b("mode",null,function(a,b){a.doc.modeOption=b,Ld(a)},!0),b("indentUnit",2,Ld,!0),b("indentWithTabs",!1),b("smartIndent",!0),b("tabSize",4,function(a){Md(a),ec(a),nd(a)},!0),b("lineSeparator",null,function(a,b){if(a.doc.lineSep=b,b){var c=[],d=a.doc.first;a.doc.iter(function(a){for(var e=0;;){var f=a.text.indexOf(b,e);if(f==-1)break;e=f+b.length,c.push(J(d,f))}d++});for(var e=c.length-1;e>=0;e--)Be(a.doc,b,c[e],J(c[e].line,c[e].ch+b.length))}}),b("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200f\u2028\u2029\ufeff]/g,function(a,b,c){a.state.specialChars=new RegExp(b.source+(b.test("\t")?"":"|\t"),"g"),c!=Bh&&a.refresh()}),b("specialCharPlaceholder",mb,function(a){return a.refresh()},!0),b("electricChars",!0),b("inputStyle",jg?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),b("spellcheck",!1,function(a,b){return a.getInputField().spellcheck=b},!0),b("rtlMoveVisually",!mg),b("wholeLineUpdateBefore",!0),b("theme","default",function(a){vf(a),xf(a)},!0),b("keyMap","default",function(a,b,c){var d=$e(b),e=c!=Bh&&$e(c);e&&e.detach&&e.detach(a,d),d.attach&&d.attach(a,e||null)}),b("extraKeys",null),b("lineWrapping",!1,zf,!0),b("gutters",[],function(a){Dd(a.options),xf(a)},!0),b("fixedGutter",!0,function(a,b){a.display.gutters.style.left=b?uc(a.display)+"px":"0",a.refresh()},!0),b("coverGutterNextToScrollbar",!1,function(a){return Tc(a)},!0),b("scrollbarStyle","native",function(a){Vc(a),Tc(a),a.display.scrollbars.setScrollTop(a.doc.scrollTop),a.display.scrollbars.setScrollLeft(a.doc.scrollLeft)},!0),b("lineNumbers",!1,function(a){Dd(a.options),xf(a)},!0),b("firstLineNumber",1,xf,!0),b("lineNumberFormatter",function(a){return a},xf,!0),b("showCursorWhenSelecting",!1,zc,!0),b("resetSelectionOnContextMenu",!0),b("lineWiseCopyCut",!0),b("readOnly",!1,function(a,b){"nocursor"==b?(Hc(a),a.display.input.blur(),a.display.disabled=!0):a.display.disabled=!1,a.display.input.readOnlyChanged(b)}),b("disableInput",!1,function(a,b){b||a.display.input.reset()},!0),b("dragDrop",!0,yf),b("allowDropFileTypes",null),b("cursorBlinkRate",530),b("cursorScrollMargin",0),b("cursorHeight",1,zc,!0),b("singleCursorHeightPerLine",!0,zc,!0),b("workTime",100),b("workDelay",100),b("flattenSpans",!0,Md,!0),b("addModeClass",!1,Md,!0),b("pollInterval",100),b("undoDepth",200,function(a,b){return a.doc.history.undoDepth=b}),b("historyEventDelay",1250),b("viewportMargin",10,function(a){return a.refresh()},!0),b("maxHighlightLength",1e4,Md,!0),b("moveInputWithCursor",!0,function(a,b){b||a.display.input.resetPosition()}),b("tabindex",null,function(a,b){return a.display.input.getField().tabIndex=b||""}),b("autofocus",null),b("direction","ltr",function(a,b){return a.doc.setDirection(b)},!0)}function xf(a){Cd(a),nd(a),Ic(a)}function yf(a,b,c){var d=c&&c!=Bh;if(!b!=!d){var e=a.display.dragFunctions,f=b?Jg:Da;f(a.display.scroller,"dragstart",e.start),f(a.display.scroller,"dragenter",e.enter),f(a.display.scroller,"dragover",e.over),f(a.display.scroller,"dragleave",e.leave),f(a.display.scroller,"drop",e.drop)}}function zf(a){a.options.lineWrapping?(h(a.display.wrapper,"CodeMirror-wrap"),a.display.sizer.style.minWidth="",a.display.sizerWidth=null):(rg(a.display.wrapper,"CodeMirror-wrap"),ua(a)),wc(a),nd(a),ec(a),setTimeout(function(){return Tc(a)},100)}function Af(a,b){var c=this;if(!(this instanceof Af))return new Af(a,b);this.options=b=b?k(b):{},k(Ch,b,!1),Dd(b);var d=b.value;"string"==typeof d&&(d=new oh(d,b.mode,null,b.lineSeparator,b.direction)),this.doc=d;var e=new Af.inputStyles[b.inputStyle](this),f=this.display=new A(a,d,e);f.wrapper.CodeMirror=this,Cd(this),vf(this),b.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Vc(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:!1,cutIncoming:!1,selectingText:!1,draggingText:!1,highlight:new tg,keySeq:null,specialChars:null},b.autofocus&&!jg&&f.input.focus(),$f&&_f<11&&setTimeout(function(){return c.display.input.reset(!0)},20),Bf(this),Se(),bd(this),this.curOp.forceUpdate=!0,Qd(this,d),b.autofocus&&!jg||this.hasFocus()?setTimeout(j(Gc,this),20):Hc(this);for(var g in Dh)Dh.hasOwnProperty(g)&&Dh[g](c,b[g],Bh);Jc(this),b.finishInit&&b.finishInit(this);for(var h=0;h<Eh.length;++h)Eh[h](c);cd(this),ag&&b.lineWrapping&&"optimizelegibility"==getComputedStyle(f.lineDiv).textRendering&&(f.lineDiv.style.textRendering="auto")}function Bf(a){function b(){e.activeTouch&&(f=setTimeout(function(){return e.activeTouch=null},1e3),g=e.activeTouch,g.end=+new Date)}function c(a){if(1!=a.touches.length)return!1;var b=a.touches[0];return b.radiusX<=1&&b.radiusY<=1}function d(a,b){if(null==b.left)return!0;var c=b.left-a.left,d=b.top-a.top;return c*c+d*d>400}var e=a.display;Jg(e.scroller,"mousedown",kd(a,nf)),$f&&_f<11?Jg(e.scroller,"dblclick",kd(a,function(b){if(!Fa(a,b)){var c=xc(a,b);if(c&&!sf(a,b)&&!Mb(a.display,b)){Ja(b);var d=a.findWordAt(c);fe(a.doc,d.anchor,d.head)}}})):Jg(e.scroller,"dblclick",function(b){return Fa(a,b)||Ja(b)}),qg||Jg(e.scroller,"contextmenu",function(b){return tf(a,b)});var f,g={end:0};Jg(e.scroller,"touchstart",function(b){if(!Fa(a,b)&&!c(b)){e.input.ensurePolled(),clearTimeout(f);var d=+new Date;e.activeTouch={start:d,moved:!1,prev:d-g.end<=300?g:null},1==b.touches.length&&(e.activeTouch.left=b.touches[0].pageX,e.activeTouch.top=b.touches[0].pageY)}}),Jg(e.scroller,"touchmove",function(){e.activeTouch&&(e.activeTouch.moved=!0)}),Jg(e.scroller,"touchend",function(c){var f=e.activeTouch;if(f&&!Mb(e,c)&&null!=f.left&&!f.moved&&new Date-f.start<300){var g,h=a.coordsChar(e.activeTouch,"page");g=!f.prev||d(f,f.prev)?new gh(h,h):!f.prev.prev||d(f,f.prev.prev)?a.findWordAt(h):new gh(J(h.line,0),Q(a.doc,J(h.line+1,0))),a.setSelection(g.anchor,g.head),a.focus(),Ja(c)}b()}),Jg(e.scroller,"touchcancel",b),Jg(e.scroller,"scroll",function(){e.scroller.clientHeight&&(Nc(a,e.scroller.scrollTop),Oc(a,e.scroller.scrollLeft,!0),Ea(a,"scroll",a))}),Jg(e.scroller,"mousewheel",function(b){return Rc(a,b)}),Jg(e.scroller,"DOMMouseScroll",function(b){return Rc(a,b)}),Jg(e.wrapper,"scroll",function(){return e.wrapper.scrollTop=e.wrapper.scrollLeft=0}),e.dragFunctions={enter:function(b){Fa(a,b)||Ma(b)},over:function(b){Fa(a,b)||(Pe(a,b),Ma(b))},start:function(b){return Oe(a,b)},drop:kd(a,Ne),leave:function(b){Fa(a,b)||Qe(a)}};var h=e.input.getField();
4
+ Jg(h,"keyup",function(b){return lf.call(a,b)}),Jg(h,"keydown",kd(a,jf)),Jg(h,"keypress",kd(a,mf)),Jg(h,"focus",function(b){return Gc(a,b)}),Jg(h,"blur",function(b){return Hc(a,b)})}function Cf(a,b,c,d){var e,f=a.doc;null==c&&(c="add"),"smart"==c&&(f.mode.indent?e=ab(a,b):c="prev");var g=a.options.tabSize,h=B(f,b),i=l(h.text,null,g);h.stateAfter&&(h.stateAfter=null);var j,k=h.text.match(/^\s*/)[0];if(d||/\S/.test(h.text)){if("smart"==c&&(j=f.mode.indent(e,h.text.slice(k.length),h.text),j==xg||j>150)){if(!d)return;c="prev"}}else j=0,c="not";"prev"==c?j=b>f.first?l(B(f,b-1).text,null,g):0:"add"==c?j=i+a.options.indentUnit:"subtract"==c?j=i-a.options.indentUnit:"number"==typeof c&&(j=i+c),j=Math.max(0,j);var m="",n=0;if(a.options.indentWithTabs)for(var p=Math.floor(j/g);p;--p)n+=g,m+="\t";if(n<j&&(m+=o(j-n)),m!=k)return Be(f,m,J(b,0),J(b,k.length),"+input"),h.stateAfter=null,!0;for(var q=0;q<f.sel.ranges.length;q++){var r=f.sel.ranges[q];if(r.head.line==b&&r.head.ch<k.length){var s=J(b,k.length);he(f,q,new gh(s,s));break}}}function Df(a){Fh=a}function Ef(a,b,c,d,e){var f=a.doc;a.display.shift=!1,d||(d=f.sel);var g=a.state.pasteIncoming||"paste"==e,h=Lg(b),i=null;if(g&&d.ranges.length>1)if(Fh&&Fh.text.join("\n")==b){if(d.ranges.length%Fh.text.length==0){i=[];for(var j=0;j<Fh.text.length;j++)i.push(f.splitLines(Fh.text[j]))}}else h.length==d.ranges.length&&(i=q(h,function(a){return[a]}));for(var k,l=d.ranges.length-1;l>=0;l--){var m=d.ranges[l],n=m.from(),o=m.to();m.empty()&&(c&&c>0?n=J(n.line,n.ch-c):a.state.overwrite&&!g?o=J(o.line,Math.min(B(f,o.line).text.length,o.ch+p(h).length)):Fh&&Fh.lineWise&&Fh.text.join("\n")==b&&(n=o=J(n.line,0))),k=a.curOp.updateInput;var r={from:n,to:o,text:i?i[l%i.length]:h,origin:e||(g?"paste":a.state.cutIncoming?"cut":"+input")};ve(a.doc,r),xb(a,"inputRead",a,r)}b&&!g&&Gf(a,b),_c(a),a.curOp.updateInput=k,a.curOp.typing=!0,a.state.pasteIncoming=a.state.cutIncoming=!1}function Ff(a,b){var c=a.clipboardData&&a.clipboardData.getData("Text");if(c)return a.preventDefault(),b.isReadOnly()||b.options.disableInput||jd(b,function(){return Ef(b,c,0,null,"paste")}),!0}function Gf(a,b){if(a.options.electricChars&&a.options.smartIndent)for(var c=a.doc.sel,d=c.ranges.length-1;d>=0;d--){var e=c.ranges[d];if(!(e.head.ch>100||d&&c.ranges[d-1].head.line==e.head.line)){var f=a.getModeAt(e.head),g=!1;if(f.electricChars){for(var h=0;h<f.electricChars.length;h++)if(b.indexOf(f.electricChars.charAt(h))>-1){g=Cf(a,e.head.line,"smart");break}}else f.electricInput&&f.electricInput.test(B(a.doc,e.head.line).text.slice(0,e.head.ch))&&(g=Cf(a,e.head.line,"smart"));g&&xb(a,"electricInput",a,e.head.line)}}}function Hf(a){for(var b=[],c=[],d=0;d<a.doc.sel.ranges.length;d++){var e=a.doc.sel.ranges[d].head.line,f={anchor:J(e,0),head:J(e+1,0)};c.push(f),b.push(a.getRange(f.anchor,f.head))}return{text:b,ranges:c}}function If(a,b){a.setAttribute("autocorrect","off"),a.setAttribute("autocapitalize","off"),a.setAttribute("spellcheck",!!b)}function Jf(){var a=d("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),b=d("div",[a],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return ag?a.style.width="1000px":a.setAttribute("wrap","off"),hg&&(a.style.border="1px solid black"),If(a),b}function Kf(a,b,c,d,e){function f(){var d=b.line+c;return!(d<a.first||d>=a.first+a.size)&&(b=new J(d,b.ch,b.sticky),j=B(a,d))}function g(d){var g;if(g=e?Ba(a.cm,j,b,c):za(j,b,c),null==g){if(d||!f())return!1;b=Aa(e,a.cm,j,b.line,c)}else b=g;return!0}var h=b,i=c,j=B(a,b.line);if("char"==d)g();else if("column"==d)g(!0);else if("word"==d||"group"==d)for(var k=null,l="group"==d,m=a.cm&&a.cm.getHelper(b,"wordChars"),n=!0;!(c<0)||g(!n);n=!1){var o=j.text.charAt(b.ch)||"\n",p=v(o,m)?"w":l&&"\n"==o?"n":!l||/\s/.test(o)?null:"p";if(!l||n||p||(p="s"),k&&k!=p){c<0&&(c=1,g(),b.sticky="after");break}if(p&&(k=p),c>0&&!g(!n))break}var q=re(a,b,h,i,!0);return L(h,q)&&(q.hitSide=!0),q}function Lf(a,b,c,d){var e,f=a.doc,g=b.left;if("page"==d){var h=Math.min(a.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),i=Math.max(h-.5*rc(a.display),3);e=(c>0?b.bottom:b.top)+c*i}else"line"==d&&(e=c>0?b.bottom+3:b.top-3);for(var j;j=nc(a,g,e),j.outside;){if(c<0?e<=0:e>=f.height){j.hitSide=!0;break}e+=5*c}return j}function Mf(a,b){var c=Xb(a,b.line);if(!c||c.hidden)return null;var d=B(a.doc,b.line),e=Ub(c,d,b.line),f=xa(d,a.doc.direction),g="left";if(f){var h=wa(f,b.ch);g=h%2?"right":"left"}var i=$b(e.map,b.ch,g);return i.offset="right"==i.collapse?i.end:i.start,i}function Nf(a){for(var b=a;b;b=b.parentNode)if(/CodeMirror-gutter-wrapper/.test(b.className))return!0;return!1}function Of(a,b){return b&&(a.bad=!0),a}function Pf(a,b,c,d,e){function f(a){return function(b){return b.id==a}}function g(){k&&(j+=l,k=!1)}function h(a){a&&(g(),j+=a)}function i(b){if(1==b.nodeType){var c=b.getAttribute("cm-text");if(null!=c)return void h(c||b.textContent.replace(/\u200b/g,""));var j,m=b.getAttribute("cm-marker");if(m){var n=a.findMarks(J(d,0),J(e+1,0),f(+m));return void(n.length&&(j=n[0].find())&&h(C(a.doc,j.from,j.to).join(l)))}if("false"==b.getAttribute("contenteditable"))return;var o=/^(pre|div|p)$/i.test(b.nodeName);o&&g();for(var p=0;p<b.childNodes.length;p++)i(b.childNodes[p]);o&&(k=!0)}else 3==b.nodeType&&h(b.nodeValue)}for(var j="",k=!1,l=a.doc.lineSeparator();i(b),b!=c;)b=b.nextSibling;return j}function Qf(a,b,c){var d;if(b==a.display.lineDiv){if(d=a.display.lineDiv.childNodes[c],!d)return Of(a.clipPos(J(a.display.viewTo-1)),!0);b=null,c=0}else for(d=b;;d=d.parentNode){if(!d||d==a.display.lineDiv)return null;if(d.parentNode&&d.parentNode==a.display.lineDiv)break}for(var e=0;e<a.display.view.length;e++){var f=a.display.view[e];if(f.node==d)return Rf(f,b,c)}}function Rf(a,b,c){function d(b,c,d){for(var e=-1;e<(l?l.length:0);e++)for(var f=e<0?k.map:l[e],g=0;g<f.length;g+=3){var h=f[g+2];if(h==b||h==c){var i=F(e<0?a.line:a.rest[e]),j=f[g]+d;return(d<0||h!=b)&&(j=f[g+(d?1:0)]),J(i,j)}}}var e=a.text.firstChild,g=!1;if(!b||!f(e,b))return Of(J(F(a.line),0),!0);if(b==e&&(g=!0,b=e.childNodes[c],c=0,!b)){var h=a.rest?p(a.rest):a.line;return Of(J(F(h),h.text.length),g)}var i=3==b.nodeType?b:null,j=b;for(i||1!=b.childNodes.length||3!=b.firstChild.nodeType||(i=b.firstChild,c&&(c=i.nodeValue.length));j.parentNode!=e;)j=j.parentNode;var k=a.measure,l=k.maps,m=d(i,j,c);if(m)return Of(m,g);for(var n=j.nextSibling,o=i?i.nodeValue.length-c:0;n;n=n.nextSibling){if(m=d(n,n.firstChild,0))return Of(J(m.line,m.ch-o),g);o+=n.textContent.length}for(var q=j.previousSibling,r=c;q;q=q.previousSibling){if(m=d(q,q.firstChild,-1))return Of(J(m.line,m.ch+r),g);r+=q.textContent.length}}function Sf(a,b){function c(){a.value=j.getValue()}if(b=b?k(b):{},b.value=a.value,!b.tabindex&&a.tabIndex&&(b.tabindex=a.tabIndex),!b.placeholder&&a.placeholder&&(b.placeholder=a.placeholder),null==b.autofocus){var d=g();b.autofocus=d==a||null!=a.getAttribute("autofocus")&&d==document.body}var e;if(a.form&&(Jg(a.form,"submit",c),!b.leaveSubmitMethodAlone)){var f=a.form;e=f.submit;try{var h=f.submit=function(){c(),f.submit=e,f.submit(),f.submit=h}}catch(i){}}b.finishInit=function(b){b.save=c,b.getTextArea=function(){return a},b.toTextArea=function(){b.toTextArea=isNaN,c(),a.parentNode.removeChild(b.getWrapperElement()),a.style.display="",a.form&&(Da(a.form,"submit",c),"function"==typeof a.form.submit&&(a.form.submit=e))}},a.style.display="none";var j=Af(function(b){return a.parentNode.insertBefore(b,a.nextSibling)},b);return j}function Tf(a){a.off=Da,a.on=Jg,a.wheelEventPixels=Qc,a.Doc=oh,a.splitLines=Lg,a.countColumn=l,a.findColumn=n,a.isWordChar=u,a.Pass=xg,a.signal=Ea,a.Line=Tg,a.changeEnd=Gd,a.scrollbarModel=ch,a.Pos=J,a.cmpPos=K,a.modes=Pg,a.mimeModes=Qg,a.resolveMode=Ua,a.getMode=Va,a.modeExtensions=Rg,a.extendMode=Wa,a.copyState=Xa,a.startState=Za,a.innerMode=Ya,a.commands=yh,a.keyMap=vh,a.keyName=Ze,a.isModifierKey=Ye,a.lookupKey=Xe,a.normalizeKeyMap=We,a.StringStream=Sg,a.SharedTextMarker=mh,a.TextMarker=lh,a.LineWidget=jh,a.e_preventDefault=Ja,a.e_stopPropagation=Ka,a.e_stop=Ma,a.addClass=h,a.contains=f,a.rmClass=rg,a.keyNames=rh}var Uf=navigator.userAgent,Vf=navigator.platform,Wf=/gecko\/\d/i.test(Uf),Xf=/MSIE \d/.test(Uf),Yf=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Uf),Zf=/Edge\/(\d+)/.exec(Uf),$f=Xf||Yf||Zf,_f=$f&&(Xf?document.documentMode||6:+(Zf||Yf)[1]),ag=!Zf&&/WebKit\//.test(Uf),bg=ag&&/Qt\/\d+\.\d+/.test(Uf),cg=!Zf&&/Chrome\//.test(Uf),dg=/Opera\//.test(Uf),eg=/Apple Computer/.test(navigator.vendor),fg=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(Uf),gg=/PhantomJS/.test(Uf),hg=!Zf&&/AppleWebKit/.test(Uf)&&/Mobile\/\w+/.test(Uf),ig=/Android/.test(Uf),jg=hg||ig||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(Uf),kg=hg||/Mac/.test(Vf),lg=/\bCrOS\b/.test(Uf),mg=/win/i.test(Vf),ng=dg&&Uf.match(/Version\/(\d*\.\d*)/);ng&&(ng=Number(ng[1])),ng&&ng>=15&&(dg=!1,ag=!0);var og,pg=kg&&(bg||dg&&(null==ng||ng<12.11)),qg=Wf||$f&&_f>=9,rg=function(b,c){var d=b.className,e=a(c).exec(d);if(e){var f=d.slice(e.index+e[0].length);b.className=d.slice(0,e.index)+(f?e[1]+f:"")}};og=document.createRange?function(a,b,c,d){var e=document.createRange();return e.setEnd(d||a,c),e.setStart(a,b),e}:function(a,b,c){var d=document.body.createTextRange();try{d.moveToElementText(a.parentNode)}catch(e){return d}return d.collapse(!0),d.moveEnd("character",c),d.moveStart("character",b),d};var sg=function(a){a.select()};hg?sg=function(a){a.selectionStart=0,a.selectionEnd=a.value.length}:$f&&(sg=function(a){try{a.select()}catch(b){}});var tg=function(){this.id=null};tg.prototype.set=function(a,b){clearTimeout(this.id),this.id=setTimeout(b,a)};var ug,vg,wg=30,xg={toString:function(){return"CodeMirror.Pass"}},yg={scroll:!1},zg={origin:"*mouse"},Ag={origin:"+move"},Bg=[""],Cg=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/,Dg=/[\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]/,Eg=!1,Fg=!1,Gg=null,Hg=function(){function a(a){return a<=247?c.charAt(a):1424<=a&&a<=1524?"R":1536<=a&&a<=1785?d.charAt(a-1536):1774<=a&&a<=2220?"r":8192<=a&&a<=8203?"w":8204==a?"b":"L"}function b(a,b,c){this.level=a,this.from=b,this.to=c}var c="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",d="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111",e=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,f=/[stwN]/,g=/[LRr]/,h=/[Lb1n]/,i=/[1n]/;return function(c,d){var j="ltr"==d?"L":"R";if(0==c.length||"ltr"==d&&!e.test(c))return!1;for(var k=c.length,l=[],m=0;m<k;++m)l.push(a(c.charCodeAt(m)));for(var n=0,o=j;n<k;++n){var q=l[n];"m"==q?l[n]=o:o=q}for(var r=0,s=j;r<k;++r){var t=l[r];"1"==t&&"r"==s?l[r]="n":g.test(t)&&(s=t,"r"==t&&(l[r]="R"))}for(var u=1,v=l[0];u<k-1;++u){var w=l[u];"+"==w&&"1"==v&&"1"==l[u+1]?l[u]="1":","!=w||v!=l[u+1]||"1"!=v&&"n"!=v||(l[u]=v),v=w}for(var x=0;x<k;++x){var y=l[x];if(","==y)l[x]="N";else if("%"==y){var z=void 0;for(z=x+1;z<k&&"%"==l[z];++z);for(var A=x&&"!"==l[x-1]||z<k&&"1"==l[z]?"1":"N",B=x;B<z;++B)l[B]=A;x=z-1}}for(var C=0,D=j;C<k;++C){var E=l[C];"L"==D&&"1"==E?l[C]="L":g.test(E)&&(D=E)}for(var F=0;F<k;++F)if(f.test(l[F])){var G=void 0;for(G=F+1;G<k&&f.test(l[G]);++G);for(var H="L"==(F?l[F-1]:j),I="L"==(G<k?l[G]:j),J=H==I?H?"L":"R":j,K=F;K<G;++K)l[K]=J;F=G-1}for(var L,M=[],N=0;N<k;)if(h.test(l[N])){var O=N;for(++N;N<k&&h.test(l[N]);++N);M.push(new b(0,O,N))}else{var P=N,Q=M.length;for(++N;N<k&&"L"!=l[N];++N);for(var R=P;R<N;)if(i.test(l[R])){P<R&&M.splice(Q,0,new b(1,P,R));var S=R;for(++R;R<N&&i.test(l[R]);++R);M.splice(Q,0,new b(2,S,R)),P=R}else++R;P<N&&M.splice(Q,0,new b(1,P,N))}return 1==M[0].level&&(L=c.match(/^\s+/))&&(M[0].from=L[0].length,M.unshift(new b(0,0,L[0].length))),1==p(M).level&&(L=c.match(/\s+$/))&&(p(M).to-=L[0].length,M.push(new b(0,k-L[0].length,k))),"rtl"==d?M.reverse():M}}(),Ig=[],Jg=function(a,b,c){if(a.addEventListener)a.addEventListener(b,c,!1);else if(a.attachEvent)a.attachEvent("on"+b,c);else{var d=a._handlers||(a._handlers={});d[b]=(d[b]||Ig).concat(c)}},Kg=function(){if($f&&_f<9)return!1;var a=d("div");return"draggable"in a||"dragDrop"in a}(),Lg=3!="\n\nb".split(/\n/).length?function(a){for(var b=0,c=[],d=a.length;b<=d;){var e=a.indexOf("\n",b);e==-1&&(e=a.length);var f=a.slice(b,"\r"==a.charAt(e-1)?e-1:e),g=f.indexOf("\r");g!=-1?(c.push(f.slice(0,g)),b+=g+1):(c.push(f),b=e+1)}return c}:function(a){return a.split(/\r\n?|\n/)},Mg=window.getSelection?function(a){try{return a.selectionStart!=a.selectionEnd}catch(b){return!1}}:function(a){var b;try{b=a.ownerDocument.selection.createRange()}catch(c){}return!(!b||b.parentElement()!=a)&&0!=b.compareEndPoints("StartToEnd",b)},Ng=function(){var a=d("div");return"oncopy"in a||(a.setAttribute("oncopy","return;"),"function"==typeof a.oncopy)}(),Og=null,Pg={},Qg={},Rg={},Sg=function(a,b){this.pos=this.start=0,this.string=a,this.tabSize=b||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0};Sg.prototype.eol=function(){return this.pos>=this.string.length},Sg.prototype.sol=function(){return this.pos==this.lineStart},Sg.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Sg.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Sg.prototype.eat=function(a){var b,c=this.string.charAt(this.pos);if(b="string"==typeof a?c==a:c&&(a.test?a.test(c):a(c)))return++this.pos,c},Sg.prototype.eatWhile=function(a){for(var b=this.pos;this.eat(a););return this.pos>b},Sg.prototype.eatSpace=function(){for(var a=this,b=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++a.pos;return this.pos>b},Sg.prototype.skipToEnd=function(){this.pos=this.string.length},Sg.prototype.skipTo=function(a){var b=this.string.indexOf(a,this.pos);if(b>-1)return this.pos=b,!0},Sg.prototype.backUp=function(a){this.pos-=a},Sg.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=l(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?l(this.string,this.lineStart,this.tabSize):0)},Sg.prototype.indentation=function(){return l(this.string,null,this.tabSize)-(this.lineStart?l(this.string,this.lineStart,this.tabSize):0)},Sg.prototype.match=function(a,b,c){if("string"!=typeof a){var d=this.string.slice(this.pos).match(a);return d&&d.index>0?null:(d&&b!==!1&&(this.pos+=d[0].length),d)}var e=function(a){return c?a.toLowerCase():a},f=this.string.substr(this.pos,a.length);if(e(f)==e(a))return b!==!1&&(this.pos+=a.length),!0},Sg.prototype.current=function(){return this.string.slice(this.start,this.pos)},Sg.prototype.hideFirstChars=function(a,b){this.lineStart+=a;try{return b()}finally{this.lineStart-=a}};var Tg=function(a,b,c){this.text=a,da(this,b),this.height=c?c(this):1};Tg.prototype.lineNo=function(){return F(this)},Ia(Tg);var Ug,Vg={},Wg={},Xg=null,Yg=null,Zg={left:0,right:0,top:0,bottom:0},$g=0,_g=null;$f?_g=-.53:Wf?_g=15:cg?_g=-.7:eg&&(_g=-1/3);var ah=function(a,b,c){this.cm=c;var e=this.vert=d("div",[d("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),f=this.horiz=d("div",[d("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");a(e),a(f),Jg(e,"scroll",function(){e.clientHeight&&b(e.scrollTop,"vertical")}),Jg(f,"scroll",function(){f.clientWidth&&b(f.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,$f&&_f<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};ah.prototype.update=function(a){var b=a.scrollWidth>a.clientWidth+1,c=a.scrollHeight>a.clientHeight+1,d=a.nativeBarWidth;if(c){this.vert.style.display="block",this.vert.style.bottom=b?d+"px":"0";var e=a.viewHeight-(b?d:0);this.vert.firstChild.style.height=Math.max(0,a.scrollHeight-a.clientHeight+e)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(b){this.horiz.style.display="block",this.horiz.style.right=c?d+"px":"0",this.horiz.style.left=a.barLeft+"px";var f=a.viewWidth-a.barLeft-(c?d:0);this.horiz.firstChild.style.width=Math.max(0,a.scrollWidth-a.clientWidth+f)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&a.clientHeight>0&&(0==d&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:c?d:0,bottom:b?d:0}},ah.prototype.setScrollLeft=function(a){this.horiz.scrollLeft!=a&&(this.horiz.scrollLeft=a),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},ah.prototype.setScrollTop=function(a){this.vert.scrollTop!=a&&(this.vert.scrollTop=a),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},ah.prototype.zeroWidthHack=function(){var a=kg&&!fg?"12px":"18px";this.horiz.style.height=this.vert.style.width=a,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new tg,this.disableVert=new tg},ah.prototype.enableZeroWidthBar=function(a,b,c){function d(){var e=a.getBoundingClientRect(),f="vert"==c?document.elementFromPoint(e.right-1,(e.top+e.bottom)/2):document.elementFromPoint((e.right+e.left)/2,e.bottom-1);f!=a?a.style.pointerEvents="none":b.set(1e3,d)}a.style.pointerEvents="auto",b.set(1e3,d)},ah.prototype.clear=function(){var a=this.horiz.parentNode;a.removeChild(this.horiz),a.removeChild(this.vert)};var bh=function(){};bh.prototype.update=function(){return{bottom:0,right:0}},bh.prototype.setScrollLeft=function(){},bh.prototype.setScrollTop=function(){},bh.prototype.clear=function(){};var ch={"native":ah,"null":bh},dh=0,eh=function(a,b,c){var d=a.display;this.viewport=b,this.visible=Mc(d,a.doc,b),this.editorIsHidden=!d.wrapper.offsetWidth,this.wrapperHeight=d.wrapper.clientHeight,this.wrapperWidth=d.wrapper.clientWidth,this.oldDisplayWidth=Rb(a),this.force=c,this.dims=tc(a),this.events=[]};eh.prototype.signal=function(a,b){Ha(a,b)&&this.events.push(arguments)},eh.prototype.finish=function(){for(var a=this,b=0;b<this.events.length;b++)Ea.apply(null,a.events[b])};var fh=function(a,b){this.ranges=a,this.primIndex=b};fh.prototype.primary=function(){return this.ranges[this.primIndex]},fh.prototype.equals=function(a){var b=this;if(a==this)return!0;if(a.primIndex!=this.primIndex||a.ranges.length!=this.ranges.length)return!1;for(var c=0;c<this.ranges.length;c++){var d=b.ranges[c],e=a.ranges[c];if(!L(d.anchor,e.anchor)||!L(d.head,e.head))return!1}return!0},fh.prototype.deepCopy=function(){for(var a=this,b=[],c=0;c<this.ranges.length;c++)b[c]=new gh(M(a.ranges[c].anchor),M(a.ranges[c].head));return new fh(b,this.primIndex)},fh.prototype.somethingSelected=function(){for(var a=this,b=0;b<this.ranges.length;b++)if(!a.ranges[b].empty())return!0;return!1},fh.prototype.contains=function(a,b){var c=this;b||(b=a);for(var d=0;d<this.ranges.length;d++){var e=c.ranges[d];if(K(b,e.from())>=0&&K(a,e.to())<=0)return d}return-1};var gh=function(a,b){this.anchor=a,this.head=b};gh.prototype.from=function(){return O(this.anchor,this.head)},gh.prototype.to=function(){return N(this.anchor,this.head)},gh.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};var hh=function(a){var b=this;this.lines=a,this.parent=null;for(var c=0,d=0;d<a.length;++d)a[d].parent=b,c+=a[d].height;this.height=c};hh.prototype.chunkSize=function(){return this.lines.length},hh.prototype.removeInner=function(a,b){for(var c=this,d=a,e=a+b;d<e;++d){var f=c.lines[d];c.height-=f.height,jb(f),xb(f,"delete")}this.lines.splice(a,b)},hh.prototype.collapse=function(a){a.push.apply(a,this.lines)},hh.prototype.insertInner=function(a,b,c){var d=this;this.height+=c,this.lines=this.lines.slice(0,a).concat(b).concat(this.lines.slice(a));for(var e=0;e<b.length;++e)b[e].parent=d},hh.prototype.iterN=function(a,b,c){for(var d=this,e=a+b;a<e;++a)if(c(d.lines[a]))return!0};var ih=function(a){var b=this;this.children=a;for(var c=0,d=0,e=0;e<a.length;++e){var f=a[e];c+=f.chunkSize(),d+=f.height,f.parent=b}this.size=c,this.height=d,this.parent=null};ih.prototype.chunkSize=function(){return this.size},ih.prototype.removeInner=function(a,b){var c=this;this.size-=b;for(var d=0;d<this.children.length;++d){var e=c.children[d],f=e.chunkSize();if(a<f){var g=Math.min(b,f-a),h=e.height;if(e.removeInner(a,g),c.height-=h-e.height,f==g&&(c.children.splice(d--,1),e.parent=null),0==(b-=g))break;a=0}else a-=f}if(this.size-b<25&&(this.children.length>1||!(this.children[0]instanceof hh))){var i=[];this.collapse(i),this.children=[new hh(i)],this.children[0].parent=this}},ih.prototype.collapse=function(a){for(var b=this,c=0;c<this.children.length;++c)b.children[c].collapse(a)},ih.prototype.insertInner=function(a,b,c){var d=this;this.size+=b.length,this.height+=c;for(var e=0;e<this.children.length;++e){var f=d.children[e],g=f.chunkSize();if(a<=g){if(f.insertInner(a,b,c),f.lines&&f.lines.length>50){for(var h=f.lines.length%25+25,i=h;i<f.lines.length;){var j=new hh(f.lines.slice(i,i+=25));f.height-=j.height,d.children.splice(++e,0,j),j.parent=d}f.lines=f.lines.slice(0,h),d.maybeSpill()}break}a-=g}},ih.prototype.maybeSpill=function(){if(!(this.children.length<=10)){var a=this;do{var b=a.children.splice(a.children.length-5,5),c=new ih(b);if(a.parent){a.size-=c.size,a.height-=c.height;var d=m(a.parent.children,a);a.parent.children.splice(d+1,0,c)}else{var e=new ih(a.children);e.parent=a,a.children=[e,c],a=e}c.parent=a.parent}while(a.children.length>10);a.parent.maybeSpill()}},ih.prototype.iterN=function(a,b,c){for(var d=this,e=0;e<this.children.length;++e){var f=d.children[e],g=f.chunkSize();if(a<g){var h=Math.min(b,g-a);if(f.iterN(a,h,c))return!0;if(0==(b-=h))break;a=0}else a-=g}};var jh=function(a,b,c){var d=this;if(c)for(var e in c)c.hasOwnProperty(e)&&(d[e]=c[e]);this.doc=a,this.node=b};jh.prototype.clear=function(){var a=this,b=this.doc.cm,c=this.line.widgets,d=this.line,e=F(d);if(null!=e&&c){for(var f=0;f<c.length;++f)c[f]==a&&c.splice(f--,1);c.length||(d.widgets=null);var g=Lb(this);E(d,Math.max(0,d.height-g)),b&&(jd(b,function(){Ge(b,d,-g),od(b,e,"widget")}),xb(b,"lineWidgetCleared",b,this,e))}},jh.prototype.changed=function(){var a=this,b=this.height,c=this.doc.cm,d=this.line;this.height=null;var e=Lb(this)-b;e&&(E(d,d.height+e),c&&jd(c,function(){c.curOp.forceUpdate=!0,Ge(c,d,e),xb(c,"lineWidgetChanged",c,a,F(d))}))},Ia(jh);var kh=0,lh=function(a,b){this.lines=[],this.type=b,this.doc=a,this.id=++kh};lh.prototype.clear=function(){var a=this;if(!this.explicitlyCleared){var b=this.doc.cm,c=b&&!b.curOp;if(c&&bd(b),Ha(this,"clear")){var d=this.find();d&&xb(this,"clear",d.from,d.to)}for(var e=null,f=null,g=0;g<this.lines.length;++g){var h=a.lines[g],i=W(h.markedSpans,a);b&&!a.collapsed?od(b,F(h),"text"):b&&(null!=i.to&&(f=F(h)),null!=i.from&&(e=F(h))),h.markedSpans=X(h.markedSpans,i),null==i.from&&a.collapsed&&!qa(a.doc,h)&&b&&E(h,rc(b.display))}if(b&&this.collapsed&&!b.options.lineWrapping)for(var j=0;j<this.lines.length;++j){var k=la(a.lines[j]),l=ta(k);l>b.display.maxLineLength&&(b.display.maxLine=k,b.display.maxLineLength=l,b.display.maxLineChanged=!0)}null!=e&&b&&this.collapsed&&nd(b,e,f+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,b&&oe(b.doc)),b&&xb(b,"markerCleared",b,this,e,f),c&&cd(b),this.parent&&this.parent.clear()}},lh.prototype.find=function(a,b){var c=this;null==a&&"bookmark"==this.type&&(a=1);for(var d,e,f=0;f<this.lines.length;++f){var g=c.lines[f],h=W(g.markedSpans,c);if(null!=h.from&&(d=J(b?g:F(g),h.from),a==-1))return d;if(null!=h.to&&(e=J(b?g:F(g),h.to),1==a))return e}return d&&{from:d,to:e}},lh.prototype.changed=function(){var a=this,b=this.find(-1,!0),c=this,d=this.doc.cm;b&&d&&jd(d,function(){var e=b.line,f=F(b.line),g=Xb(d,f);if(g&&(cc(g),d.curOp.selectionChanged=d.curOp.forceUpdate=!0),d.curOp.updateMaxLine=!0,!qa(c.doc,e)&&null!=c.height){var h=c.height;c.height=null;var i=Lb(c)-h;i&&E(e,e.height+i)}xb(d,"markerChanged",d,a)})},lh.prototype.attachLine=function(a){if(!this.lines.length&&this.doc.cm){var b=this.doc.cm.curOp;b.maybeHiddenMarkers&&m(b.maybeHiddenMarkers,this)!=-1||(b.maybeUnhiddenMarkers||(b.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(a)},lh.prototype.detachLine=function(a){if(this.lines.splice(m(this.lines,a),1),!this.lines.length&&this.doc.cm){var b=this.doc.cm.curOp;(b.maybeHiddenMarkers||(b.maybeHiddenMarkers=[])).push(this)}},Ia(lh);var mh=function(a,b){var c=this;this.markers=a,this.primary=b;for(var d=0;d<a.length;++d)a[d].parent=c};mh.prototype.clear=function(){var a=this;if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var b=0;b<this.markers.length;++b)a.markers[b].clear();xb(this,"clear")}},mh.prototype.find=function(a,b){return this.primary.find(a,b)},Ia(mh);var nh=0,oh=function(a,b,c,d,e){if(!(this instanceof oh))return new oh(a,b,c,d,e);null==c&&(c=0),ih.call(this,[new hh([new Tg("",null)])]),this.first=c,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.frontier=c;var f=J(c,0);this.sel=Fd(f),this.history=new Td(null),this.id=++nh,this.modeOption=b,this.lineSep=d,this.direction="rtl"==e?"rtl":"ltr",this.extend=!1,"string"==typeof a&&(a=this.splitLines(a)),Od(this,{from:f,to:f,text:a}),le(this,Fd(f),yg)};oh.prototype=t(ih.prototype,{constructor:oh,iter:function(a,b,c){c?this.iterN(a-this.first,b-a,c):this.iterN(this.first,this.first+this.size,a)},insert:function(a,b){for(var c=0,d=0;d<b.length;++d)c+=b[d].height;this.insertInner(a-this.first,b,c)},remove:function(a,b){this.removeInner(a-this.first,b)},getValue:function(a){var b=D(this,this.first,this.first+this.size);return a===!1?b:b.join(a||this.lineSeparator())},setValue:md(function(a){var b=J(this.first,0),c=this.first+this.size-1;ve(this,{from:b,to:J(c,B(this,c).text.length),text:this.splitLines(a),origin:"setValue",full:!0},!0),this.cm&&this.cm.scrollTo(0,0),le(this,Fd(b),yg)}),replaceRange:function(a,b,c,d){b=Q(this,b),c=c?Q(this,c):b,Be(this,a,b,c,d)},getRange:function(a,b,c){var d=C(this,Q(this,a),Q(this,b));return c===!1?d:d.join(c||this.lineSeparator())},getLine:function(a){var b=this.getLineHandle(a);return b&&b.text},getLineHandle:function(a){if(H(this,a))return B(this,a)},getLineNumber:function(a){return F(a)},getLineHandleVisualStart:function(a){return"number"==typeof a&&(a=B(this,a)),la(a)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(a){return Q(this,a)},getCursor:function(a){var b,c=this.sel.primary();return b=null==a||"head"==a?c.head:"anchor"==a?c.anchor:"end"==a||"to"==a||a===!1?c.to():c.from()},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:md(function(a,b,c){ie(this,Q(this,"number"==typeof a?J(a,b||0):a),null,c)}),setSelection:md(function(a,b,c){ie(this,Q(this,a),Q(this,b||a),c)}),extendSelection:md(function(a,b,c){fe(this,Q(this,a),b&&Q(this,b),c)}),extendSelections:md(function(a,b){ge(this,S(this,a),b)}),extendSelectionsBy:md(function(a,b){var c=q(this.sel.ranges,a);ge(this,S(this,c),b)}),setSelections:md(function(a,b,c){var d=this;if(a.length){for(var e=[],f=0;f<a.length;f++)e[f]=new gh(Q(d,a[f].anchor),Q(d,a[f].head));null==b&&(b=Math.min(a.length-1,this.sel.primIndex)),le(this,Ed(e,b),c)}}),addSelection:md(function(a,b,c){var d=this.sel.ranges.slice(0);d.push(new gh(Q(this,a),Q(this,b||a))),le(this,Ed(d,d.length-1),c)}),getSelection:function(a){for(var b,c=this,d=this.sel.ranges,e=0;e<d.length;e++){var f=C(c,d[e].from(),d[e].to());b=b?b.concat(f):f}return a===!1?b:b.join(a||this.lineSeparator())},getSelections:function(a){for(var b=this,c=[],d=this.sel.ranges,e=0;e<d.length;e++){var f=C(b,d[e].from(),d[e].to());a!==!1&&(f=f.join(a||b.lineSeparator())),c[e]=f}return c},replaceSelection:function(a,b,c){for(var d=[],e=0;e<this.sel.ranges.length;e++)d[e]=a;this.replaceSelections(d,b,c||"+input")},replaceSelections:md(function(a,b,c){for(var d=this,e=[],f=this.sel,g=0;g<f.ranges.length;g++){var h=f.ranges[g];e[g]={from:h.from(),to:h.to(),text:d.splitLines(a[g]),origin:c}}for(var i=b&&"end"!=b&&Kd(this,e,b),j=e.length-1;j>=0;j--)ve(d,e[j]);i?ke(this,i):this.cm&&_c(this.cm)}),undo:md(function(){xe(this,"undo")}),redo:md(function(){xe(this,"redo")}),undoSelection:md(function(){xe(this,"undo",!0)}),redoSelection:md(function(){xe(this,"redo",!0)}),setExtending:function(a){this.extend=a},getExtending:function(){return this.extend},historySize:function(){for(var a=this.history,b=0,c=0,d=0;d<a.done.length;d++)a.done[d].ranges||++b;for(var e=0;e<a.undone.length;e++)a.undone[e].ranges||++c;return{undo:b,redo:c}},clearHistory:function(){this.history=new Td(this.history.maxGeneration)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(a){return a&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(a){return this.history.generation==(a||this.cleanGeneration)},getHistory:function(){return{done:de(this.history.done),undone:de(this.history.undone)}},setHistory:function(a){var b=this.history=new Td(this.history.maxGeneration);b.done=de(a.done.slice(0),null,!0),b.undone=de(a.undone.slice(0),null,!0)},setGutterMarker:md(function(a,b,c){return Fe(this,a,"gutter",function(a){var d=a.gutterMarkers||(a.gutterMarkers={});return d[b]=c,!c&&w(d)&&(a.gutterMarkers=null),!0})}),clearGutter:md(function(a){var b=this;this.iter(function(c){c.gutterMarkers&&c.gutterMarkers[a]&&Fe(b,c,"gutter",function(){return c.gutterMarkers[a]=null,w(c.gutterMarkers)&&(c.gutterMarkers=null),!0})})}),lineInfo:function(a){var b;if("number"==typeof a){if(!H(this,a))return null;if(b=a,a=B(this,a),!a)return null}else if(b=F(a),null==b)return null;return{line:b,handle:a,text:a.text,gutterMarkers:a.gutterMarkers,textClass:a.textClass,bgClass:a.bgClass,
5
+ wrapClass:a.wrapClass,widgets:a.widgets}},addLineClass:md(function(b,c,d){return Fe(this,b,"gutter"==c?"gutter":"class",function(b){var e="text"==c?"textClass":"background"==c?"bgClass":"gutter"==c?"gutterClass":"wrapClass";if(b[e]){if(a(d).test(b[e]))return!1;b[e]+=" "+d}else b[e]=d;return!0})}),removeLineClass:md(function(b,c,d){return Fe(this,b,"gutter"==c?"gutter":"class",function(b){var e="text"==c?"textClass":"background"==c?"bgClass":"gutter"==c?"gutterClass":"wrapClass",f=b[e];if(!f)return!1;if(null==d)b[e]=null;else{var g=f.match(a(d));if(!g)return!1;var h=g.index+g[0].length;b[e]=f.slice(0,g.index)+(g.index&&h!=f.length?" ":"")+f.slice(h)||null}return!0})}),addLineWidget:md(function(a,b,c){return He(this,a,b,c)}),removeLineWidget:function(a){a.clear()},markText:function(a,b,c){return Ie(this,Q(this,a),Q(this,b),c,c&&c.type||"range")},setBookmark:function(a,b){var c={replacedWith:b&&(null==b.nodeType?b.widget:b),insertLeft:b&&b.insertLeft,clearWhenEmpty:!1,shared:b&&b.shared,handleMouseEvents:b&&b.handleMouseEvents};return a=Q(this,a),Ie(this,a,a,c,"bookmark")},findMarksAt:function(a){a=Q(this,a);var b=[],c=B(this,a.line).markedSpans;if(c)for(var d=0;d<c.length;++d){var e=c[d];(null==e.from||e.from<=a.ch)&&(null==e.to||e.to>=a.ch)&&b.push(e.marker.parent||e.marker)}return b},findMarks:function(a,b,c){a=Q(this,a),b=Q(this,b);var d=[],e=a.line;return this.iter(a.line,b.line+1,function(f){var g=f.markedSpans;if(g)for(var h=0;h<g.length;h++){var i=g[h];null!=i.to&&e==a.line&&a.ch>=i.to||null==i.from&&e!=a.line||null!=i.from&&e==b.line&&i.from>=b.ch||c&&!c(i.marker)||d.push(i.marker.parent||i.marker)}++e}),d},getAllMarks:function(){var a=[];return this.iter(function(b){var c=b.markedSpans;if(c)for(var d=0;d<c.length;++d)null!=c[d].from&&a.push(c[d].marker)}),a},posFromIndex:function(a){var b,c=this.first,d=this.lineSeparator().length;return this.iter(function(e){var f=e.text.length+d;return f>a?(b=a,!0):(a-=f,void++c)}),Q(this,J(c,b))},indexFromPos:function(a){a=Q(this,a);var b=a.ch;if(a.line<this.first||a.ch<0)return 0;var c=this.lineSeparator().length;return this.iter(this.first,a.line,function(a){b+=a.text.length+c}),b},copy:function(a){var b=new oh(D(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return b.scrollTop=this.scrollTop,b.scrollLeft=this.scrollLeft,b.sel=this.sel,b.extend=!1,a&&(b.history.undoDepth=this.history.undoDepth,b.setHistory(this.getHistory())),b},linkedDoc:function(a){a||(a={});var b=this.first,c=this.first+this.size;null!=a.from&&a.from>b&&(b=a.from),null!=a.to&&a.to<c&&(c=a.to);var d=new oh(D(this,b,c),a.mode||this.modeOption,b,this.lineSep,this.direction);return a.sharedHist&&(d.history=this.history),(this.linked||(this.linked=[])).push({doc:d,sharedHist:a.sharedHist}),d.linked=[{doc:this,isParent:!0,sharedHist:a.sharedHist}],Le(d,Ke(this)),d},unlinkDoc:function(a){var b=this;if(a instanceof Af&&(a=a.doc),this.linked)for(var c=0;c<this.linked.length;++c){var d=b.linked[c];if(d.doc==a){b.linked.splice(c,1),a.unlinkDoc(b),Me(Ke(b));break}}if(a.history==this.history){var e=[a.id];Pd(a,function(a){return e.push(a.id)},!0),a.history=new Td(null),a.history.done=de(this.history.done,e),a.history.undone=de(this.history.undone,e)}},iterLinkedDocs:function(a){Pd(this,a)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(a){return this.lineSep?a.split(this.lineSep):Lg(a)},lineSeparator:function(){return this.lineSep||"\n"},setDirection:md(function(a){"rtl"!=a&&(a="ltr"),a!=this.direction&&(this.direction=a,this.iter(function(a){return a.order=null}),this.cm&&Sd(this.cm))})}),oh.prototype.eachLine=oh.prototype.iter;for(var ph=0,qh=!1,rh={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",106:"*",107:"=",109:"-",110:".",111:"/",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"},sh=0;sh<10;sh++)rh[sh+48]=rh[sh+96]=String(sh);for(var th=65;th<=90;th++)rh[th]=String.fromCharCode(th);for(var uh=1;uh<=12;uh++)rh[uh+111]=rh[uh+63235]="F"+uh;var vh={};vh.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"},vh.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"},vh.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","Ctrl-O":"openLine"},vh.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"]},vh["default"]=kg?vh.macDefault:vh.pcDefault;var wh,xh,yh={selectAll:te,singleSelection:function(a){return a.setSelection(a.getCursor("anchor"),a.getCursor("head"),yg)},killLine:function(a){return _e(a,function(b){if(b.empty()){var c=B(a.doc,b.head.line).text.length;return b.head.ch==c&&b.head.line<a.lastLine()?{from:b.head,to:J(b.head.line+1,0)}:{from:b.head,to:J(b.head.line,c)}}return{from:b.from(),to:b.to()}})},deleteLine:function(a){return _e(a,function(b){return{from:J(b.from().line,0),to:Q(a.doc,J(b.to().line+1,0))}})},delLineLeft:function(a){return _e(a,function(a){return{from:J(a.from().line,0),to:a.from()}})},delWrappedLineLeft:function(a){return _e(a,function(b){var c=a.charCoords(b.head,"div").top+5,d=a.coordsChar({left:0,top:c},"div");return{from:d,to:b.from()}})},delWrappedLineRight:function(a){return _e(a,function(b){var c=a.charCoords(b.head,"div").top+5,d=a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:c},"div");return{from:b.from(),to:d}})},undo:function(a){return a.undo()},redo:function(a){return a.redo()},undoSelection:function(a){return a.undoSelection()},redoSelection:function(a){return a.redoSelection()},goDocStart:function(a){return a.extendSelection(J(a.firstLine(),0))},goDocEnd:function(a){return a.extendSelection(J(a.lastLine()))},goLineStart:function(a){return a.extendSelectionsBy(function(b){return af(a,b.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(a){return a.extendSelectionsBy(function(b){return cf(a,b.head)},{origin:"+move",bias:1})},goLineEnd:function(a){return a.extendSelectionsBy(function(b){return bf(a,b.head.line)},{origin:"+move",bias:-1})},goLineRight:function(a){return a.extendSelectionsBy(function(b){var c=a.charCoords(b.head,"div").top+5;return a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:c},"div")},Ag)},goLineLeft:function(a){return a.extendSelectionsBy(function(b){var c=a.charCoords(b.head,"div").top+5;return a.coordsChar({left:0,top:c},"div")},Ag)},goLineLeftSmart:function(a){return a.extendSelectionsBy(function(b){var c=a.charCoords(b.head,"div").top+5,d=a.coordsChar({left:0,top:c},"div");return d.ch<a.getLine(d.line).search(/\S/)?cf(a,b.head):d},Ag)},goLineUp:function(a){return a.moveV(-1,"line")},goLineDown:function(a){return a.moveV(1,"line")},goPageUp:function(a){return a.moveV(-1,"page")},goPageDown:function(a){return a.moveV(1,"page")},goCharLeft:function(a){return a.moveH(-1,"char")},goCharRight:function(a){return a.moveH(1,"char")},goColumnLeft:function(a){return a.moveH(-1,"column")},goColumnRight:function(a){return a.moveH(1,"column")},goWordLeft:function(a){return a.moveH(-1,"word")},goGroupRight:function(a){return a.moveH(1,"group")},goGroupLeft:function(a){return a.moveH(-1,"group")},goWordRight:function(a){return a.moveH(1,"word")},delCharBefore:function(a){return a.deleteH(-1,"char")},delCharAfter:function(a){return a.deleteH(1,"char")},delWordBefore:function(a){return a.deleteH(-1,"word")},delWordAfter:function(a){return a.deleteH(1,"word")},delGroupBefore:function(a){return a.deleteH(-1,"group")},delGroupAfter:function(a){return a.deleteH(1,"group")},indentAuto:function(a){return a.indentSelection("smart")},indentMore:function(a){return a.indentSelection("add")},indentLess:function(a){return a.indentSelection("subtract")},insertTab:function(a){return a.replaceSelection("\t")},insertSoftTab:function(a){for(var b=[],c=a.listSelections(),d=a.options.tabSize,e=0;e<c.length;e++){var f=c[e].from(),g=l(a.getLine(f.line),f.ch,d);b.push(o(d-g%d))}a.replaceSelections(b)},defaultTab:function(a){a.somethingSelected()?a.indentSelection("add"):a.execCommand("insertTab")},transposeChars:function(a){return jd(a,function(){for(var b=a.listSelections(),c=[],d=0;d<b.length;d++)if(b[d].empty()){var e=b[d].head,f=B(a.doc,e.line).text;if(f)if(e.ch==f.length&&(e=new J(e.line,e.ch-1)),e.ch>0)e=new J(e.line,e.ch+1),a.replaceRange(f.charAt(e.ch-1)+f.charAt(e.ch-2),J(e.line,e.ch-2),e,"+transpose");else if(e.line>a.doc.first){var g=B(a.doc,e.line-1).text;g&&(e=new J(e.line,1),a.replaceRange(f.charAt(0)+a.doc.lineSeparator()+g.charAt(g.length-1),J(e.line-1,g.length-1),e,"+transpose"))}c.push(new gh(e,e))}a.setSelections(c)})},newlineAndIndent:function(a){return jd(a,function(){for(var b=a.listSelections(),c=b.length-1;c>=0;c--)a.replaceRange(a.doc.lineSeparator(),b[c].anchor,b[c].head,"+input");b=a.listSelections();for(var d=0;d<b.length;d++)a.indentLine(b[d].from().line,null,!0);_c(a)})},openLine:function(a){return a.replaceSelection("\n","start")},toggleOverwrite:function(a){return a.toggleOverwrite()}},zh=new tg,Ah=null,Bh={toString:function(){return"CodeMirror.Init"}},Ch={},Dh={};Af.defaults=Ch,Af.optionHandlers=Dh;var Eh=[];Af.defineInitHook=function(a){return Eh.push(a)};var Fh=null,Gh=function(a){var b=a.optionHandlers,c=a.helpers={};a.prototype={constructor:a,focus:function(){window.focus(),this.display.input.focus()},setOption:function(a,c){var d=this.options,e=d[a];d[a]==c&&"mode"!=a||(d[a]=c,b.hasOwnProperty(a)&&kd(this,b[a])(this,c,e),Ea(this,"optionChange",this,a))},getOption:function(a){return this.options[a]},getDoc:function(){return this.doc},addKeyMap:function(a,b){this.state.keyMaps[b?"push":"unshift"]($e(a))},removeKeyMap:function(a){for(var b=this.state.keyMaps,c=0;c<b.length;++c)if(b[c]==a||b[c].name==a)return b.splice(c,1),!0},addOverlay:ld(function(b,c){var d=b.token?b:a.getMode(this.options,b);if(d.startState)throw new Error("Overlays may not be stateful.");r(this.state.overlays,{mode:d,modeSpec:b,opaque:c&&c.opaque,priority:c&&c.priority||0},function(a){return a.priority}),this.state.modeGen++,nd(this)}),removeOverlay:ld(function(a){for(var b=this,c=this.state.overlays,d=0;d<c.length;++d){var e=c[d].modeSpec;if(e==a||"string"==typeof a&&e.name==a)return c.splice(d,1),b.state.modeGen++,void nd(b)}}),indentLine:ld(function(a,b,c){"string"!=typeof b&&"number"!=typeof b&&(b=null==b?this.options.smartIndent?"smart":"prev":b?"add":"subtract"),H(this.doc,a)&&Cf(this,a,b,c)}),indentSelection:ld(function(a){for(var b=this,c=this.doc.sel.ranges,d=-1,e=0;e<c.length;e++){var f=c[e];if(f.empty())f.head.line>d&&(Cf(b,f.head.line,a,!0),d=f.head.line,e==b.doc.sel.primIndex&&_c(b));else{var g=f.from(),h=f.to(),i=Math.max(d,g.line);d=Math.min(b.lastLine(),h.line-(h.ch?0:1))+1;for(var j=i;j<d;++j)Cf(b,j,a);var k=b.doc.sel.ranges;0==g.ch&&c.length==k.length&&k[e].from().ch>0&&he(b.doc,e,new gh(g,k[e].to()),yg)}}}),getTokenAt:function(a,b){return eb(this,a,b)},getLineTokens:function(a,b){return eb(this,J(a),b,!0)},getTokenTypeAt:function(a){a=Q(this.doc,a);var b,c=_a(this,B(this.doc,a.line)),d=0,e=(c.length-1)/2,f=a.ch;if(0==f)b=c[2];else for(;;){var g=d+e>>1;if((g?c[2*g-1]:0)>=f)e=g;else{if(!(c[2*g+1]<f)){b=c[2*g+2];break}d=g+1}}var h=b?b.indexOf("overlay "):-1;return h<0?b:0==h?null:b.slice(0,h-1)},getModeAt:function(b){var c=this.doc.mode;return c.innerMode?a.innerMode(c,this.getTokenAt(b).state).mode:c},getHelper:function(a,b){return this.getHelpers(a,b)[0]},getHelpers:function(a,b){var d=this,e=[];if(!c.hasOwnProperty(b))return e;var f=c[b],g=this.getModeAt(a);if("string"==typeof g[b])f[g[b]]&&e.push(f[g[b]]);else if(g[b])for(var h=0;h<g[b].length;h++){var i=f[g[b][h]];i&&e.push(i)}else g.helperType&&f[g.helperType]?e.push(f[g.helperType]):f[g.name]&&e.push(f[g.name]);for(var j=0;j<f._global.length;j++){var k=f._global[j];k.pred(g,d)&&m(e,k.val)==-1&&e.push(k.val)}return e},getStateAfter:function(a,b){var c=this.doc;return a=P(c,null==a?c.first+c.size-1:a),ab(this,a+1,b)},cursorCoords:function(a,b){var c,d=this.doc.sel.primary();return c=null==a?d.head:"object"==typeof a?Q(this.doc,a):a?d.from():d.to(),kc(this,c,b||"page")},charCoords:function(a,b){return jc(this,Q(this.doc,a),b||"page")},coordsChar:function(a,b){return a=ic(this,a,b||"page"),nc(this,a.left,a.top)},lineAtHeight:function(a,b){return a=ic(this,{top:a,left:0},b||"page").top,G(this.doc,a+this.display.viewOffset)},heightAtLine:function(a,b,c){var d,e=!1;if("number"==typeof a){var f=this.doc.first+this.doc.size-1;a<this.doc.first?a=this.doc.first:a>f&&(a=f,e=!0),d=B(this.doc,a)}else d=a;return hc(this,d,{top:0,left:0},b||"page",c||e).top+(e?this.doc.height-sa(d):0)},defaultTextHeight:function(){return rc(this.display)},defaultCharWidth:function(){return sc(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(a,b,c,d,e){var f=this.display;a=kc(this,Q(this.doc,a));var g=a.bottom,h=a.left;if(b.style.position="absolute",b.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(b),f.sizer.appendChild(b),"over"==d)g=a.top;else if("above"==d||"near"==d){var i=Math.max(f.wrapper.clientHeight,this.doc.height),j=Math.max(f.sizer.clientWidth,f.lineSpace.clientWidth);("above"==d||a.bottom+b.offsetHeight>i)&&a.top>b.offsetHeight?g=a.top-b.offsetHeight:a.bottom+b.offsetHeight<=i&&(g=a.bottom),h+b.offsetWidth>j&&(h=j-b.offsetWidth)}b.style.top=g+"px",b.style.left=b.style.right="","right"==e?(h=f.sizer.clientWidth-b.offsetWidth,b.style.right="0px"):("left"==e?h=0:"middle"==e&&(h=(f.sizer.clientWidth-b.offsetWidth)/2),b.style.left=h+"px"),c&&Yc(this,{left:h,top:g,right:h+b.offsetWidth,bottom:g+b.offsetHeight})},triggerOnKeyDown:ld(jf),triggerOnKeyPress:ld(mf),triggerOnKeyUp:lf,execCommand:function(a){if(yh.hasOwnProperty(a))return yh[a].call(null,this)},triggerElectric:ld(function(a){Gf(this,a)}),findPosH:function(a,b,c,d){var e=this,f=1;b<0&&(f=-1,b=-b);for(var g=Q(this.doc,a),h=0;h<b&&(g=Kf(e.doc,g,f,c,d),!g.hitSide);++h);return g},moveH:ld(function(a,b){var c=this;this.extendSelectionsBy(function(d){return c.display.shift||c.doc.extend||d.empty()?Kf(c.doc,d.head,a,b,c.options.rtlMoveVisually):a<0?d.from():d.to()},Ag)}),deleteH:ld(function(a,b){var c=this.doc.sel,d=this.doc;c.somethingSelected()?d.replaceSelection("",null,"+delete"):_e(this,function(c){var e=Kf(d,c.head,a,b,!1);return a<0?{from:e,to:c.head}:{from:c.head,to:e}})}),findPosV:function(a,b,c,d){var e=this,f=1,g=d;b<0&&(f=-1,b=-b);for(var h=Q(this.doc,a),i=0;i<b;++i){var j=kc(e,h,"div");if(null==g?g=j.left:j.left=g,h=Lf(e,j,f,c),h.hitSide)break}return h},moveV:ld(function(a,b){var c=this,d=this.doc,e=[],f=!this.display.shift&&!d.extend&&d.sel.somethingSelected();if(d.extendSelectionsBy(function(g){if(f)return a<0?g.from():g.to();var h=kc(c,g.head,"div");null!=g.goalColumn&&(h.left=g.goalColumn),e.push(h.left);var i=Lf(c,h,a,b);return"page"==b&&g==d.sel.primary()&&$c(c,null,jc(c,i,"div").top-h.top),i},Ag),e.length)for(var g=0;g<d.sel.ranges.length;g++)d.sel.ranges[g].goalColumn=e[g]}),findWordAt:function(a){var b=this.doc,c=B(b,a.line).text,d=a.ch,e=a.ch;if(c){var f=this.getHelper(a,"wordChars");"before"!=a.sticky&&e!=c.length||!d?++e:--d;for(var g=c.charAt(d),h=v(g,f)?function(a){return v(a,f)}:/\s/.test(g)?function(a){return/\s/.test(a)}:function(a){return!/\s/.test(a)&&!v(a)};d>0&&h(c.charAt(d-1));)--d;for(;e<c.length&&h(c.charAt(e));)++e}return new gh(J(a.line,d),J(a.line,e))},toggleOverwrite:function(a){null!=a&&a==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?h(this.display.cursorDiv,"CodeMirror-overwrite"):rg(this.display.cursorDiv,"CodeMirror-overwrite"),Ea(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==g()},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:ld(function(a,b){null==a&&null==b||ad(this),null!=a&&(this.curOp.scrollLeft=a),null!=b&&(this.curOp.scrollTop=b)}),getScrollInfo:function(){var a=this.display.scroller;return{left:a.scrollLeft,top:a.scrollTop,height:a.scrollHeight-Qb(this)-this.display.barHeight,width:a.scrollWidth-Qb(this)-this.display.barWidth,clientHeight:Sb(this),clientWidth:Rb(this)}},scrollIntoView:ld(function(a,b){if(null==a?(a={from:this.doc.sel.primary().head,to:null},null==b&&(b=this.options.cursorScrollMargin)):"number"==typeof a?a={from:J(a,0),to:null}:null==a.from&&(a={from:a,to:null}),a.to||(a.to=a.from),a.margin=b||0,null!=a.from.line)ad(this),this.curOp.scrollToPos=a;else{var c=Zc(this,{left:Math.min(a.from.left,a.to.left),top:Math.min(a.from.top,a.to.top)-a.margin,right:Math.max(a.from.right,a.to.right),bottom:Math.max(a.from.bottom,a.to.bottom)+a.margin});this.scrollTo(c.scrollLeft,c.scrollTop)}}),setSize:ld(function(a,b){var c=this,d=function(a){return"number"==typeof a||/^\d+$/.test(String(a))?a+"px":a};null!=a&&(this.display.wrapper.style.width=d(a)),null!=b&&(this.display.wrapper.style.height=d(b)),this.options.lineWrapping&&dc(this);var e=this.display.viewFrom;this.doc.iter(e,this.display.viewTo,function(a){if(a.widgets)for(var b=0;b<a.widgets.length;b++)if(a.widgets[b].noHScroll){od(c,e,"widget");break}++e}),this.curOp.forceUpdate=!0,Ea(this,"refresh",this)}),operation:function(a){return jd(this,a)},refresh:ld(function(){var a=this.display.cachedTextHeight;nd(this),this.curOp.forceUpdate=!0,ec(this),this.scrollTo(this.doc.scrollLeft,this.doc.scrollTop),Ad(this),(null==a||Math.abs(a-rc(this.display))>.5)&&wc(this),Ea(this,"refresh",this)}),swapDoc:ld(function(a){var b=this.doc;return b.cm=null,Qd(this,a),ec(this),this.display.input.reset(),this.scrollTo(a.scrollLeft,a.scrollTop),this.curOp.forceScroll=!0,xb(this,"swapDoc",this,b),b}),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}},Ia(a),a.registerHelper=function(b,d,e){c.hasOwnProperty(b)||(c[b]=a[b]={_global:[]}),c[b][d]=e},a.registerGlobalHelper=function(b,d,e,f){a.registerHelper(b,d,f),c[b]._global.push({pred:e,val:f})}},Hh=function(a){this.cm=a,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new tg,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Hh.prototype.init=function(a){function b(a){if(!Fa(e,a)){if(e.somethingSelected())Df({lineWise:!1,text:e.getSelections()}),"cut"==a.type&&e.replaceSelection("",null,"cut");else{if(!e.options.lineWiseCopyCut)return;var b=Hf(e);Df({lineWise:!0,text:b.text}),"cut"==a.type&&e.operation(function(){e.setSelections(b.ranges,0,yg),e.replaceSelection("",null,"cut")})}if(a.clipboardData){a.clipboardData.clearData();var c=Fh.text.join("\n");if(a.clipboardData.setData("Text",c),a.clipboardData.getData("Text")==c)return void a.preventDefault()}var g=Jf(),h=g.firstChild;e.display.lineSpace.insertBefore(g,e.display.lineSpace.firstChild),h.value=Fh.text.join("\n");var i=document.activeElement;sg(h),setTimeout(function(){e.display.lineSpace.removeChild(g),i.focus(),i==f&&d.showPrimarySelection()},50)}}var c=this,d=this,e=d.cm,f=d.div=a.lineDiv;If(f,e.options.spellcheck),Jg(f,"paste",function(a){Fa(e,a)||Ff(a,e)||_f<=11&&setTimeout(kd(e,function(){return c.updateFromDOM()}),20)}),Jg(f,"compositionstart",function(a){c.composing={data:a.data,done:!1}}),Jg(f,"compositionupdate",function(a){c.composing||(c.composing={data:a.data,done:!1})}),Jg(f,"compositionend",function(a){c.composing&&(a.data!=c.composing.data&&c.readFromDOMSoon(),c.composing.done=!0)}),Jg(f,"touchstart",function(){return d.forceCompositionEnd()}),Jg(f,"input",function(){c.composing||c.readFromDOMSoon()}),Jg(f,"copy",b),Jg(f,"cut",b)},Hh.prototype.prepareSelection=function(){var a=Ac(this.cm,!1);return a.focus=this.cm.state.focused,a},Hh.prototype.showSelection=function(a,b){a&&this.cm.display.view.length&&((a.focus||b)&&this.showPrimarySelection(),this.showMultipleSelections(a))},Hh.prototype.showPrimarySelection=function(){var a=window.getSelection(),b=this.cm,c=b.doc.sel.primary(),d=c.from(),e=c.to();if(b.display.viewTo==b.display.viewFrom||d.line>=b.display.viewTo||e.line<b.display.viewFrom)return void a.removeAllRanges();var f=Qf(b,a.anchorNode,a.anchorOffset),g=Qf(b,a.focusNode,a.focusOffset);if(!f||f.bad||!g||g.bad||0!=K(O(f,g),d)||0!=K(N(f,g),e)){var h=b.display.view,i=d.line>=b.display.viewFrom&&Mf(b,d)||{node:h[0].measure.map[2],offset:0},j=e.line<b.display.viewTo&&Mf(b,e);if(!j){var k=h[h.length-1].measure,l=k.maps?k.maps[k.maps.length-1]:k.map;j={node:l[l.length-1],offset:l[l.length-2]-l[l.length-3]}}if(!i||!j)return void a.removeAllRanges();var m,n=a.rangeCount&&a.getRangeAt(0);try{m=og(i.node,i.offset,j.offset,j.node)}catch(o){}m&&(!Wf&&b.state.focused?(a.collapse(i.node,i.offset),m.collapsed||(a.removeAllRanges(),a.addRange(m))):(a.removeAllRanges(),a.addRange(m)),n&&null==a.anchorNode?a.addRange(n):Wf&&this.startGracePeriod()),this.rememberSelection()}},Hh.prototype.startGracePeriod=function(){var a=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){a.gracePeriod=!1,a.selectionChanged()&&a.cm.operation(function(){return a.cm.curOp.selectionChanged=!0})},20)},Hh.prototype.showMultipleSelections=function(a){c(this.cm.display.cursorDiv,a.cursors),c(this.cm.display.selectionDiv,a.selection)},Hh.prototype.rememberSelection=function(){var a=window.getSelection();this.lastAnchorNode=a.anchorNode,this.lastAnchorOffset=a.anchorOffset,this.lastFocusNode=a.focusNode,this.lastFocusOffset=a.focusOffset},Hh.prototype.selectionInEditor=function(){var a=window.getSelection();if(!a.rangeCount)return!1;var b=a.getRangeAt(0).commonAncestorContainer;return f(this.div,b)},Hh.prototype.focus=function(){"nocursor"!=this.cm.options.readOnly&&(this.selectionInEditor()||this.showSelection(this.prepareSelection(),!0),this.div.focus())},Hh.prototype.blur=function(){this.div.blur()},Hh.prototype.getField=function(){return this.div},Hh.prototype.supportsTouch=function(){return!0},Hh.prototype.receivedFocus=function(){function a(){b.cm.state.focused&&(b.pollSelection(),b.polling.set(b.cm.options.pollInterval,a))}var b=this;this.selectionInEditor()?this.pollSelection():jd(this.cm,function(){return b.cm.curOp.selectionChanged=!0}),this.polling.set(this.cm.options.pollInterval,a)},Hh.prototype.selectionChanged=function(){var a=window.getSelection();return a.anchorNode!=this.lastAnchorNode||a.anchorOffset!=this.lastAnchorOffset||a.focusNode!=this.lastFocusNode||a.focusOffset!=this.lastFocusOffset},Hh.prototype.pollSelection=function(){if(null==this.readDOMTimeout&&!this.gracePeriod&&this.selectionChanged()){var a=window.getSelection(),b=this.cm;if(ig&&cg&&this.cm.options.gutters.length&&Nf(a.anchorNode))return this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),void this.focus();if(!this.composing){this.rememberSelection();var c=Qf(b,a.anchorNode,a.anchorOffset),d=Qf(b,a.focusNode,a.focusOffset);c&&d&&jd(b,function(){le(b.doc,Fd(c,d),yg),(c.bad||d.bad)&&(b.curOp.selectionChanged=!0)})}}},Hh.prototype.pollContent=function(){null!=this.readDOMTimeout&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var a=this.cm,b=a.display,c=a.doc.sel.primary(),d=c.from(),e=c.to();if(0==d.ch&&d.line>a.firstLine()&&(d=J(d.line-1,B(a.doc,d.line-1).length)),e.ch==B(a.doc,e.line).text.length&&e.line<a.lastLine()&&(e=J(e.line+1,0)),d.line<b.viewFrom||e.line>b.viewTo-1)return!1;var f,g,h;d.line==b.viewFrom||0==(f=yc(a,d.line))?(g=F(b.view[0].line),h=b.view[0].node):(g=F(b.view[f].line),h=b.view[f-1].node.nextSibling);var i,j,k=yc(a,e.line);if(k==b.view.length-1?(i=b.viewTo-1,j=b.lineDiv.lastChild):(i=F(b.view[k+1].line)-1,j=b.view[k+1].node.previousSibling),!h)return!1;for(var l=a.doc.splitLines(Pf(a,h,j,g,i)),m=C(a.doc,J(g,0),J(i,B(a.doc,i).text.length));l.length>1&&m.length>1;)if(p(l)==p(m))l.pop(),m.pop(),i--;else{if(l[0]!=m[0])break;l.shift(),m.shift(),g++}for(var n=0,o=0,q=l[0],r=m[0],s=Math.min(q.length,r.length);n<s&&q.charCodeAt(n)==r.charCodeAt(n);)++n;for(var t=p(l),u=p(m),v=Math.min(t.length-(1==l.length?n:0),u.length-(1==m.length?n:0));o<v&&t.charCodeAt(t.length-o-1)==u.charCodeAt(u.length-o-1);)++o;if(1==l.length&&1==m.length&&g==d.line)for(;n&&n>d.ch&&t.charCodeAt(t.length-o-1)==u.charCodeAt(u.length-o-1);)n--,o++;l[l.length-1]=t.slice(0,t.length-o).replace(/^\u200b+/,""),l[0]=l[0].slice(n).replace(/\u200b+$/,"");var w=J(g,n),x=J(i,m.length?p(m).length-o:0);return l.length>1||l[0]||K(w,x)?(Be(a.doc,l,w,x,"+input"),!0):void 0},Hh.prototype.ensurePolled=function(){this.forceCompositionEnd()},Hh.prototype.reset=function(){this.forceCompositionEnd()},Hh.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Hh.prototype.readFromDOMSoon=function(){var a=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout(function(){if(a.readDOMTimeout=null,a.composing){if(!a.composing.done)return;a.composing=null}a.updateFromDOM()},80))},Hh.prototype.updateFromDOM=function(){var a=this;!this.cm.isReadOnly()&&this.pollContent()||jd(this.cm,function(){return nd(a.cm)})},Hh.prototype.setUneditable=function(a){a.contentEditable="false"},Hh.prototype.onKeyPress=function(a){0!=a.charCode&&(a.preventDefault(),this.cm.isReadOnly()||kd(this.cm,Ef)(this.cm,String.fromCharCode(null==a.charCode?a.keyCode:a.charCode),0))},Hh.prototype.readOnlyChanged=function(a){this.div.contentEditable=String("nocursor"!=a)},Hh.prototype.onContextMenu=function(){},Hh.prototype.resetPosition=function(){},Hh.prototype.needsContentAttribute=!0;var Ih=function(a){this.cm=a,this.prevInput="",this.pollingFast=!1,this.polling=new tg,this.inaccurateSelection=!1,this.hasSelection=!1,this.composing=null};Ih.prototype.init=function(a){function b(a){if(!Fa(e,a)){if(e.somethingSelected())Df({lineWise:!1,text:e.getSelections()}),d.inaccurateSelection&&(d.prevInput="",d.inaccurateSelection=!1,g.value=Fh.text.join("\n"),sg(g));else{if(!e.options.lineWiseCopyCut)return;var b=Hf(e);Df({lineWise:!0,text:b.text}),"cut"==a.type?e.setSelections(b.ranges,null,yg):(d.prevInput="",g.value=b.text.join("\n"),sg(g))}"cut"==a.type&&(e.state.cutIncoming=!0)}}var c=this,d=this,e=this.cm,f=this.wrapper=Jf(),g=this.textarea=f.firstChild;a.wrapper.insertBefore(f,a.wrapper.firstChild),hg&&(g.style.width="0px"),Jg(g,"input",function(){$f&&_f>=9&&c.hasSelection&&(c.hasSelection=null),d.poll()}),Jg(g,"paste",function(a){Fa(e,a)||Ff(a,e)||(e.state.pasteIncoming=!0,d.fastPoll())}),Jg(g,"cut",b),Jg(g,"copy",b),Jg(a.scroller,"paste",function(b){Mb(a,b)||Fa(e,b)||(e.state.pasteIncoming=!0,d.focus())}),Jg(a.lineSpace,"selectstart",function(b){Mb(a,b)||Ja(b)}),Jg(g,"compositionstart",function(){var a=e.getCursor("from");d.composing&&d.composing.range.clear(),d.composing={start:a,range:e.markText(a,e.getCursor("to"),{className:"CodeMirror-composing"})}}),Jg(g,"compositionend",function(){d.composing&&(d.poll(),d.composing.range.clear(),d.composing=null)})},Ih.prototype.prepareSelection=function(){var a=this.cm,b=a.display,c=a.doc,d=Ac(a);if(a.options.moveInputWithCursor){var e=kc(a,c.sel.primary().head,"div"),f=b.wrapper.getBoundingClientRect(),g=b.lineDiv.getBoundingClientRect();d.teTop=Math.max(0,Math.min(b.wrapper.clientHeight-10,e.top+g.top-f.top)),d.teLeft=Math.max(0,Math.min(b.wrapper.clientWidth-10,e.left+g.left-f.left))}return d},Ih.prototype.showSelection=function(a){var b=this.cm,d=b.display;c(d.cursorDiv,a.cursors),c(d.selectionDiv,a.selection),null!=a.teTop&&(this.wrapper.style.top=a.teTop+"px",this.wrapper.style.left=a.teLeft+"px")},Ih.prototype.reset=function(a){if(!this.contextMenuPending){var b,c,d=this.cm,e=d.doc;if(d.somethingSelected()){this.prevInput="";var f=e.sel.primary();b=Ng&&(f.to().line-f.from().line>100||(c=d.getSelection()).length>1e3);var g=b?"-":c||d.getSelection();this.textarea.value=g,d.state.focused&&sg(this.textarea),$f&&_f>=9&&(this.hasSelection=g)}else a||(this.prevInput=this.textarea.value="",$f&&_f>=9&&(this.hasSelection=null));this.inaccurateSelection=b}},Ih.prototype.getField=function(){return this.textarea},Ih.prototype.supportsTouch=function(){return!1},Ih.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!jg||g()!=this.textarea))try{this.textarea.focus()}catch(a){}},Ih.prototype.blur=function(){this.textarea.blur()},Ih.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Ih.prototype.receivedFocus=function(){this.slowPoll()},Ih.prototype.slowPoll=function(){var a=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){a.poll(),a.cm.state.focused&&a.slowPoll()})},Ih.prototype.fastPoll=function(){function a(){var d=c.poll();d||b?(c.pollingFast=!1,c.slowPoll()):(b=!0,c.polling.set(60,a))}var b=!1,c=this;c.pollingFast=!0,c.polling.set(20,a)},Ih.prototype.poll=function(){var a=this,b=this.cm,c=this.textarea,d=this.prevInput;if(this.contextMenuPending||!b.state.focused||Mg(c)&&!d&&!this.composing||b.isReadOnly()||b.options.disableInput||b.state.keySeq)return!1;var e=c.value;if(e==d&&!b.somethingSelected())return!1;if($f&&_f>=9&&this.hasSelection===e||kg&&/[\uf700-\uf7ff]/.test(e))return b.display.input.reset(),!1;if(b.doc.sel==b.display.selForContextMenu){var f=e.charCodeAt(0);if(8203!=f||d||(d="​"),8666==f)return this.reset(),this.cm.execCommand("undo")}for(var g=0,h=Math.min(d.length,e.length);g<h&&d.charCodeAt(g)==e.charCodeAt(g);)++g;return jd(b,function(){Ef(b,e.slice(g),d.length-g,null,a.composing?"*compose":null),e.length>1e3||e.indexOf("\n")>-1?c.value=a.prevInput="":a.prevInput=e,a.composing&&(a.composing.range.clear(),a.composing.range=b.markText(a.composing.start,b.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Ih.prototype.ensurePolled=function(){
6
+ this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Ih.prototype.onKeyPress=function(){$f&&_f>=9&&(this.hasSelection=null),this.fastPoll()},Ih.prototype.onContextMenu=function(a){function b(){if(null!=g.selectionStart){var a=e.somethingSelected(),b="​"+(a?g.value:"");g.value="⇚",g.value=b,d.prevInput=a?"":"​",g.selectionStart=1,g.selectionEnd=b.length,f.selForContextMenu=e.doc.sel}}function c(){if(d.contextMenuPending=!1,d.wrapper.style.cssText=l,g.style.cssText=k,$f&&_f<9&&f.scrollbars.setScrollTop(f.scroller.scrollTop=i),null!=g.selectionStart){(!$f||$f&&_f<9)&&b();var a=0,c=function(){f.selForContextMenu==e.doc.sel&&0==g.selectionStart&&g.selectionEnd>0&&"​"==d.prevInput?kd(e,te)(e):a++<10?f.detectingSelectAll=setTimeout(c,500):(f.selForContextMenu=null,f.input.reset())};f.detectingSelectAll=setTimeout(c,200)}}var d=this,e=d.cm,f=e.display,g=d.textarea,h=xc(e,a),i=f.scroller.scrollTop;if(h&&!dg){var j=e.options.resetSelectionOnContextMenu;j&&e.doc.sel.contains(h)==-1&&kd(e,le)(e.doc,Fd(h),yg);var k=g.style.cssText,l=d.wrapper.style.cssText;d.wrapper.style.cssText="position: absolute";var m=d.wrapper.getBoundingClientRect();g.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(a.clientY-m.top-5)+"px; left: "+(a.clientX-m.left-5)+"px;\n z-index: 1000; background: "+($f?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);";var n;if(ag&&(n=window.scrollY),f.input.focus(),ag&&window.scrollTo(null,n),f.input.reset(),e.somethingSelected()||(g.value=d.prevInput=" "),d.contextMenuPending=!0,f.selForContextMenu=e.doc.sel,clearTimeout(f.detectingSelectAll),$f&&_f>=9&&b(),qg){Ma(a);var o=function(){Da(window,"mouseup",o),setTimeout(c,20)};Jg(window,"mouseup",o)}else setTimeout(c,50)}},Ih.prototype.readOnlyChanged=function(a){a||this.reset()},Ih.prototype.setUneditable=function(){},Ih.prototype.needsContentAttribute=!1,wf(Af),Gh(Af);var Jh="iter insert remove copy getEditor constructor".split(" ");for(var Kh in oh.prototype)oh.prototype.hasOwnProperty(Kh)&&m(Jh,Kh)<0&&(Af.prototype[Kh]=function(a){return function(){return a.apply(this.doc,arguments)}}(oh.prototype[Kh]));return Ia(oh),Af.inputStyles={textarea:Ih,contenteditable:Hh},Af.defineMode=function(a){Af.defaults.mode||"null"==a||(Af.defaults.mode=a),Sa.apply(this,arguments)},Af.defineMIME=Ta,Af.defineMode("null",function(){return{token:function(a){return a.skipToEnd()}}}),Af.defineMIME("text/plain","null"),Af.defineExtension=function(a,b){Af.prototype[a]=b},Af.defineDocExtension=function(a,b){oh.prototype[a]=b},Af.fromTextArea=Sf,Tf(Af),Af.version="5.25.2",Af}),function(a){"object"==typeof exports&&"object"==typeof module?a(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],a):a(CodeMirror)}(function(a){"use strict";function b(a,b,c,d,e,f){this.indented=a,this.column=b,this.type=c,this.info=d,this.align=e,this.prev=f}function c(a,c,d,e){var f=a.indented;return a.context&&"statement"==a.context.type&&"statement"!=d&&(f=a.context.indented),a.context=new b(f,c,d,e,null,a.context)}function d(a){var b=a.context.type;return")"!=b&&"]"!=b&&"}"!=b||(a.indented=a.context.indented),a.context=a.context.prev}function e(a,b,c){return"variable"==b.prevToken||"variable-3"==b.prevToken||(!!/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(a.string.slice(0,c))||(!(!b.typeAtEndOfLine||a.column()!=a.indentation())||void 0))}function f(a){for(;;){if(!a||"top"==a.type)return!0;if("}"==a.type&&"namespace"!=a.prev.info)return!1;a=a.prev}}function g(a){for(var b={},c=a.split(" "),d=0;d<c.length;++d)b[c[d]]=!0;return b}function h(a,b){return"function"==typeof a?a(b):a.propertyIsEnumerable(b)}function i(a,b){if(!b.startOfLine)return!1;for(var c,d=null;c=a.peek();){if("\\"==c&&a.match(/^.$/)){d=i;break}if("/"==c&&a.match(/^\/[\/\*]/,!1))break;a.next()}return b.tokenize=d,"meta"}function j(a,b){return"variable-3"==b.prevToken&&"variable-3"}function k(a){return a.eatWhile(/[\w\.']/),"number"}function l(a,b){if(a.backUp(1),a.match(/(R|u8R|uR|UR|LR)/)){var c=a.match(/"([^\s\\()]{0,16})\(/);return!!c&&(b.cpp11RawStringDelim=c[1],b.tokenize=o,o(a,b))}return a.match(/(u8|u|U|L)/)?!!a.match(/["']/,!1)&&"string":(a.next(),!1)}function m(a){var b=/(\w+)::~?(\w+)$/.exec(a);return b&&b[1]==b[2]}function n(a,b){for(var c;null!=(c=a.next());)if('"'==c&&!a.eat('"')){b.tokenize=null;break}return"string"}function o(a,b){var c=b.cpp11RawStringDelim.replace(/[^\w\s]/g,"\\$&"),d=a.match(new RegExp(".*?\\)"+c+'"'));return d?b.tokenize=null:a.skipToEnd(),"string"}function p(b,c){function d(a){if(a)for(var b in a)a.hasOwnProperty(b)&&e.push(b)}"string"==typeof b&&(b=[b]);var e=[];d(c.keywords),d(c.types),d(c.builtin),d(c.atoms),e.length&&(c.helperType=b[0],a.registerHelper("hintWords",b[0],e));for(var f=0;f<b.length;++f)a.defineMIME(b[f],c)}function q(a,b){for(var c=!1;!a.eol();){if(!c&&a.match('"""')){b.tokenize=null;break}c="\\"==a.next()&&!c}return"string"}function r(a){return function(b,c){for(var d,e=!1,f=!1;!b.eol();){if(!a&&!e&&b.match('"')){f=!0;break}if(a&&b.match('"""')){f=!0;break}d=b.next(),!e&&"$"==d&&b.match("{")&&b.skipTo("}"),e=!e&&"\\"==d&&!a}return!f&&a||(c.tokenize=null),"string"}}function s(a){return function(b,c){for(var d,e=!1,f=!1;!b.eol();){if(!e&&b.match('"')&&("single"==a||b.match('""'))){f=!0;break}if(!e&&b.match("``")){v=s(a),f=!0;break}d=b.next(),e="single"==a&&!e&&"\\"==d}return f&&(c.tokenize=null),"string"}}a.defineMode("clike",function(g,i){function j(a,b){var c=a.next();if(y[c]){var d=y[c](a,b);if(d!==!1)return d}if('"'==c||"'"==c)return b.tokenize=k(c),b.tokenize(a,b);if(D.test(c))return n=c,null;if(E.test(c)){if(a.backUp(1),a.match(F))return"number";a.next()}if("/"==c){if(a.eat("*"))return b.tokenize=l,l(a,b);if(a.eat("/"))return a.skipToEnd(),"comment"}if(G.test(c)){for(;!a.match(/^\/[\/*]/,!1)&&a.eat(G););return"operator"}if(a.eatWhile(H),C)for(;a.match(C);)a.eatWhile(H);var e=a.current();return h(s,e)?(h(v,e)&&(n="newstatement"),h(w,e)&&(o=!0),"keyword"):h(t,e)?"variable-3":h(u,e)?(h(v,e)&&(n="newstatement"),"builtin"):h(x,e)?"atom":"variable"}function k(a){return function(b,c){for(var d,e=!1,f=!1;null!=(d=b.next());){if(d==a&&!e){f=!0;break}e=!e&&"\\"==d}return(f||!e&&!z)&&(c.tokenize=null),"string"}}function l(a,b){for(var c,d=!1;c=a.next();){if("/"==c&&d){b.tokenize=null;break}d="*"==c}return"comment"}function m(a,b){i.typeFirstDefinitions&&a.eol()&&f(b.context)&&(b.typeAtEndOfLine=e(a,b,a.pos))}var n,o,p=g.indentUnit,q=i.statementIndentUnit||p,r=i.dontAlignCalls,s=i.keywords||{},t=i.types||{},u=i.builtin||{},v=i.blockKeywords||{},w=i.defKeywords||{},x=i.atoms||{},y=i.hooks||{},z=i.multiLineStrings,A=i.indentStatements!==!1,B=i.indentSwitch!==!1,C=i.namespaceSeparator,D=i.isPunctuationChar||/[\[\]{}\(\),;\:\.]/,E=i.numberStart||/[\d\.]/,F=i.number||/^(?:0x[a-f\d]+|0b[01]+|(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?)(u|ll?|l|f)?/i,G=i.isOperatorChar||/[+\-*&%=<>!?|\/]/,H=i.isIdentifierChar||/[\w\$_\xa1-\uffff]/;return{startState:function(a){return{tokenize:null,context:new b((a||0)-p,0,"top",null,(!1)),indented:0,startOfLine:!0,prevToken:null}},token:function(a,b){var g=b.context;if(a.sol()&&(null==g.align&&(g.align=!1),b.indented=a.indentation(),b.startOfLine=!0),a.eatSpace())return m(a,b),null;n=o=null;var h=(b.tokenize||j)(a,b);if("comment"==h||"meta"==h)return h;if(null==g.align&&(g.align=!0),";"==n||":"==n||","==n&&a.match(/^\s*(?:\/\/.*)?$/,!1))for(;"statement"==b.context.type;)d(b);else if("{"==n)c(b,a.column(),"}");else if("["==n)c(b,a.column(),"]");else if("("==n)c(b,a.column(),")");else if("}"==n){for(;"statement"==g.type;)g=d(b);for("}"==g.type&&(g=d(b));"statement"==g.type;)g=d(b)}else n==g.type?d(b):A&&(("}"==g.type||"top"==g.type)&&";"!=n||"statement"==g.type&&"newstatement"==n)&&c(b,a.column(),"statement",a.current());if("variable"==h&&("def"==b.prevToken||i.typeFirstDefinitions&&e(a,b,a.start)&&f(b.context)&&a.match(/^\s*\(/,!1))&&(h="def"),y.token){var k=y.token(a,b,h);void 0!==k&&(h=k)}return"def"==h&&i.styleDefs===!1&&(h="variable"),b.startOfLine=!1,b.prevToken=o?"def":h||n,m(a,b),h},indent:function(b,c){if(b.tokenize!=j&&null!=b.tokenize||b.typeAtEndOfLine)return a.Pass;var d=b.context,e=c&&c.charAt(0);if("statement"==d.type&&"}"==e&&(d=d.prev),i.dontIndentStatements)for(;"statement"==d.type&&i.dontIndentStatements.test(d.info);)d=d.prev;if(y.indent){var f=y.indent(b,d,c);if("number"==typeof f)return f}var g=e==d.type,h=d.prev&&"switch"==d.prev.info;if(i.allmanIndentation&&/[{(]/.test(e)){for(;"top"!=d.type&&"}"!=d.type;)d=d.prev;return d.indented}return"statement"==d.type?d.indented+("{"==e?0:q):!d.align||r&&")"==d.type?")"!=d.type||g?d.indented+(g?0:p)+(g||!h||/^(?:case|default)\b/.test(c)?0:p):d.indented+q:d.column+(g?0:1)},electricInput:B?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",fold:"brace"}});var t="auto if break case register continue return default do sizeof static else struct switch extern typedef union for goto while enum const volatile",u="int long char short double float unsigned signed void size_t ptrdiff_t";p(["text/x-csrc","text/x-c","text/x-chdr"],{name:"clike",keywords:g(t),types:g(u+" bool _Complex _Bool float_t double_t intptr_t intmax_t int8_t int16_t int32_t int64_t uintptr_t uintmax_t uint8_t uint16_t uint32_t uint64_t"),blockKeywords:g("case do else for if switch while struct"),defKeywords:g("struct"),typeFirstDefinitions:!0,atoms:g("null true false"),hooks:{"#":i,"*":j},modeProps:{fold:["brace","include"]}}),p(["text/x-c++src","text/x-c++hdr"],{name:"clike",keywords:g(t+" asm dynamic_cast namespace reinterpret_cast try explicit new static_cast typeid catch operator template typename class friend private this using const_cast inline public throw virtual delete mutable protected alignas alignof constexpr decltype nullptr noexcept thread_local final static_assert override"),types:g(u+" bool wchar_t"),blockKeywords:g("catch class do else finally for if struct switch try while"),defKeywords:g("class namespace struct enum union"),typeFirstDefinitions:!0,atoms:g("true false null"),dontIndentStatements:/^template$/,isIdentifierChar:/[\w\$_~\xa1-\uffff]/,hooks:{"#":i,"*":j,u:l,U:l,L:l,R:l,0:k,1:k,2:k,3:k,4:k,5:k,6:k,7:k,8:k,9:k,token:function(a,b,c){if("variable"==c&&"("==a.peek()&&(";"==b.prevToken||null==b.prevToken||"}"==b.prevToken)&&m(a.current()))return"def"}},namespaceSeparator:"::",modeProps:{fold:["brace","include"]}}),p("text/x-java",{name:"clike",keywords:g("abstract assert break case catch class const continue default do else enum extends final finally float for goto if implements import instanceof interface native new package private protected public return static strictfp super switch synchronized this throw throws transient try volatile while @interface"),types:g("byte short int long float double boolean char void Boolean Byte Character Double Float Integer Long Number Object Short String StringBuffer StringBuilder Void"),blockKeywords:g("catch class do else finally for if switch try while"),defKeywords:g("class interface package enum @interface"),typeFirstDefinitions:!0,atoms:g("true false null"),number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+\.?\d*|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,hooks:{"@":function(a){return!a.match("interface",!1)&&(a.eatWhile(/[\w\$_]/),"meta")}},modeProps:{fold:["brace","import"]}}),p("text/x-csharp",{name:"clike",keywords:g("abstract as async await 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"),types:g("Action Boolean Byte Char DateTime DateTimeOffset Decimal Double Func Guid Int16 Int32 Int64 Object SByte Single String Task TimeSpan UInt16 UInt32 UInt64 bool byte char decimal double short int long object sbyte float string ushort uint ulong"),blockKeywords:g("catch class do else finally for foreach if struct switch try while"),defKeywords:g("class interface namespace struct var"),typeFirstDefinitions:!0,atoms:g("true false null"),hooks:{"@":function(a,b){return a.eat('"')?(b.tokenize=n,n(a,b)):(a.eatWhile(/[\w\$_]/),"meta")}}}),p("text/x-scala",{name:"clike",keywords:g("abstract case catch class def do else extends final finally for forSome if implicit import lazy match new null object override package private protected return sealed super this throw trait try type val var while with yield _ assert assume require print println printf readLine readBoolean readByte readShort readChar readInt readLong readFloat readDouble"),types:g("AnyVal App Application Array BufferedIterator BigDecimal BigInt Char Console Either Enumeration Equiv Error Exception Fractional Function IndexedSeq Int 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:g("catch class do else finally for forSome if match switch try while"),defKeywords:g("class def object package trait type val var"),atoms:g("true false null"),indentStatements:!1,indentSwitch:!1,isOperatorChar:/[+\-*&%=<>!?|\/#:@]/,hooks:{"@":function(a){return a.eatWhile(/[\w\$_]/),"meta"},'"':function(a,b){return!!a.match('""')&&(b.tokenize=q,b.tokenize(a,b))},"'":function(a){return a.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},"=":function(a,c){var d=c.context;return!("}"!=d.type||!d.align||!a.eat(">"))&&(c.context=new b(d.indented,d.column,d.type,d.info,null,d.prev),"operator")}},modeProps:{closeBrackets:{triples:'"'}}}),p("text/x-kotlin",{name:"clike",keywords:g("package as typealias class interface this super val var fun for is in This throw return break continue object if else while do try when !in !is as? file import where by get set abstract enum open inner override private public internal protected catch finally out final vararg reified dynamic companion constructor init sealed field property receiver param sparam lateinit data inline noinline tailrec external annotation crossinline const operator infix suspend"),types:g("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"),intendSwitch:!1,indentStatements:!1,multiLineStrings:!0,number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+\.?\d*|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,blockKeywords:g("catch class do else finally for if where try while enum"),defKeywords:g("class val var object package interface fun"),atoms:g("true false null this"),hooks:{'"':function(a,b){return b.tokenize=r(a.match('""')),b.tokenize(a,b)}},modeProps:{closeBrackets:{triples:'"'}}}),p(["x-shader/x-vertex","x-shader/x-fragment"],{name:"clike",keywords:g("sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout"),types:g("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4"),blockKeywords:g("for while do if else struct"),builtin:g("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:g("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"),indentSwitch:!1,hooks:{"#":i},modeProps:{fold:["brace","include"]}}),p("text/x-nesc",{name:"clike",keywords:g(t+"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"),types:g(u),blockKeywords:g("case do else for if switch while struct"),atoms:g("null true false"),hooks:{"#":i},modeProps:{fold:["brace","include"]}}),p("text/x-objectivec",{name:"clike",keywords:g(t+"inline restrict _Bool _Complex _Imaginary BOOL Class bycopy byref id IMP in inout nil oneway out Protocol SEL self super atomic nonatomic retain copy readwrite readonly"),types:g(u),atoms:g("YES NO NULL NILL ON OFF true false"),hooks:{"@":function(a){return a.eatWhile(/[\w\$]/),"keyword"},"#":i,indent:function(a,b,c){if("statement"==b.type&&/^@\w/.test(c))return b.indented}},modeProps:{fold:"brace"}}),p("text/x-squirrel",{name:"clike",keywords:g("base break clone continue const default delete enum extends function in class foreach local resume return this throw typeof yield constructor instanceof static"),types:g(u),blockKeywords:g("case catch class else for foreach if switch try while"),defKeywords:g("function local class"),typeFirstDefinitions:!0,atoms:g("true false null"),hooks:{"#":i},modeProps:{fold:["brace","include"]}});var v=null;p("text/x-ceylon",{name:"clike",keywords:g("abstracts alias assembly assert assign break case catch class continue dynamic else exists extends finally for function given if import in interface is let module new nonempty object of out outer package return satisfies super switch then this throw try value void while"),types:function(a){var b=a.charAt(0);return b===b.toUpperCase()&&b!==b.toLowerCase()},blockKeywords:g("case catch class dynamic else finally for function if interface module new object switch try while"),defKeywords:g("class dynamic function interface module object package value"),builtin:g("abstract actual aliased annotation by default deprecated doc final formal late license native optional sealed see serializable shared suppressWarnings tagged throws variable"),isPunctuationChar:/[\[\]{}\(\),;\:\.`]/,isOperatorChar:/[+\-*&%=<>!?|^~:\/]/,numberStart:/[\d#$]/,number:/^(?:#[\da-fA-F_]+|\$[01_]+|[\d_]+[kMGTPmunpf]?|[\d_]+\.[\d_]+(?:[eE][-+]?\d+|[kMGTPmunpf]|)|)/i,multiLineStrings:!0,typeFirstDefinitions:!0,atoms:g("true false null larger smaller equal empty finished"),indentSwitch:!1,styleDefs:!1,hooks:{"@":function(a){return a.eatWhile(/[\w\$_]/),"meta"},'"':function(a,b){return b.tokenize=s(a.match('""')?"triple":"single"),b.tokenize(a,b)},"`":function(a,b){return!(!v||!a.match("`"))&&(b.tokenize=v,v=null,b.tokenize(a,b))},"'":function(a){return a.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},token:function(a,b,c){if(("variable"==c||"variable-3"==c)&&"."==b.prevToken)return"variable-2"}},modeProps:{fold:["brace","import"],closeBrackets:{triples:'"'}}})}),function(a){"object"==typeof exports&&"object"==typeof module?a(require("../../lib/codemirror"),require("../htmlmixed/htmlmixed"),require("../clike/clike")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../htmlmixed/htmlmixed","../clike/clike"],a):a(CodeMirror)}(function(a){"use strict";function b(a){for(var b={},c=a.split(" "),d=0;d<c.length;++d)b[c[d]]=!0;return b}function c(a,b,e){return 0==a.length?d(b):function(f,g){for(var h=a[0],i=0;i<h.length;i++)if(f.match(h[i][0]))return g.tokenize=c(a.slice(1),b),h[i][1];return g.tokenize=d(b,e),"string"}}function d(a,b){return function(c,d){return e(c,d,a,b)}}function e(a,b,d,e){if(e!==!1&&a.match("${",!1)||a.match("{$",!1))return b.tokenize=null,"string";if(e!==!1&&a.match(/^\$[a-zA-Z_][a-zA-Z0-9_]*/))return a.match("[",!1)&&(b.tokenize=c([[["[",null]],[[/\d[\w\.]*/,"number"],[/\$[a-zA-Z_][a-zA-Z0-9_]*/,"variable-2"],[/[\w\$]+/,"variable"]],[["]",null]]],d,e)),a.match(/\-\>\w/,!1)&&(b.tokenize=c([[["->",null]],[[/[\w]+/,"variable"]]],d,e)),"variable-2";for(var f=!1;!a.eol()&&(f||e===!1||!a.match("{$",!1)&&!a.match(/^(\$[a-zA-Z_][a-zA-Z0-9_]*|\$\{)/,!1));){if(!f&&a.match(d)){b.tokenize=null,b.tokStack.pop(),b.tokStack.pop();break}f="\\"==a.next()&&!f}return"string"}var f="abstract and array as break case catch class clone const continue declare default do else elseif enddeclare endfor endforeach endif endswitch endwhile extends final for foreach function global goto if implements interface instanceof namespace new or private protected public static switch throw trait try use var while xor die echo empty exit eval include include_once isset list require require_once return print unset __halt_compiler self static parent yield insteadof finally",g="true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__",h="func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents file_put_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists array_intersect_key array_combine array_column pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once json_decode json_encode json_last_error json_last_error_msg curl_close curl_copy_handle curl_errno curl_error curl_escape curl_exec curl_file_create curl_getinfo curl_init curl_multi_add_handle curl_multi_close curl_multi_exec curl_multi_getcontent curl_multi_info_read curl_multi_init curl_multi_remove_handle curl_multi_select curl_multi_setopt curl_multi_strerror curl_pause curl_reset curl_setopt_array curl_setopt curl_share_close curl_share_init curl_share_setopt curl_strerror curl_unescape curl_version mysqli_affected_rows mysqli_autocommit mysqli_change_user mysqli_character_set_name mysqli_close mysqli_commit mysqli_connect_errno mysqli_connect_error mysqli_connect mysqli_data_seek mysqli_debug mysqli_dump_debug_info mysqli_errno mysqli_error_list mysqli_error mysqli_fetch_all mysqli_fetch_array mysqli_fetch_assoc mysqli_fetch_field_direct mysqli_fetch_field mysqli_fetch_fields mysqli_fetch_lengths mysqli_fetch_object mysqli_fetch_row mysqli_field_count mysqli_field_seek mysqli_field_tell mysqli_free_result mysqli_get_charset mysqli_get_client_info mysqli_get_client_stats mysqli_get_client_version mysqli_get_connection_stats mysqli_get_host_info mysqli_get_proto_info mysqli_get_server_info mysqli_get_server_version mysqli_info mysqli_init mysqli_insert_id mysqli_kill mysqli_more_results mysqli_multi_query mysqli_next_result mysqli_num_fields mysqli_num_rows mysqli_options mysqli_ping mysqli_prepare mysqli_query mysqli_real_connect mysqli_real_escape_string mysqli_real_query mysqli_reap_async_query mysqli_refresh mysqli_rollback mysqli_select_db mysqli_set_charset mysqli_set_local_infile_default mysqli_set_local_infile_handler mysqli_sqlstate mysqli_ssl_set mysqli_stat mysqli_stmt_init mysqli_store_result mysqli_thread_id mysqli_thread_safe mysqli_use_result mysqli_warning_count";
7
+ a.registerHelper("hintWords","php",[f,g,h].join(" ").split(" ")),a.registerHelper("wordChars","php",/[\w$]/);var i={name:"clike",helperType:"php",keywords:b(f),blockKeywords:b("catch do else elseif for foreach if switch try while finally"),defKeywords:b("class function interface namespace trait"),atoms:b(g),builtin:b(h),multiLineStrings:!0,hooks:{$:function(a){return a.eatWhile(/[\w\$_]/),"variable-2"},"<":function(a,b){var c;if(c=a.match(/<<\s*/)){var e=a.eat(/['"]/);a.eatWhile(/[\w\.]/);var f=a.current().slice(c[0].length+(e?2:1));if(e&&a.eat(e),f)return(b.tokStack||(b.tokStack=[])).push(f,0),b.tokenize=d(f,"'"!=e),"string"}return!1},"#":function(a){for(;!a.eol()&&!a.match("?>",!1);)a.next();return"comment"},"/":function(a){if(a.eat("/")){for(;!a.eol()&&!a.match("?>",!1);)a.next();return"comment"}return!1},'"':function(a,b){return(b.tokStack||(b.tokStack=[])).push('"',0),b.tokenize=d('"'),"string"},"{":function(a,b){return b.tokStack&&b.tokStack.length&&b.tokStack[b.tokStack.length-1]++,!1},"}":function(a,b){return b.tokStack&&b.tokStack.length>0&&!--b.tokStack[b.tokStack.length-1]&&(b.tokenize=d(b.tokStack[b.tokStack.length-2])),!1}}};a.defineMode("php",function(b,c){function d(b,c){var d=c.curMode==f;if(b.sol()&&c.pending&&'"'!=c.pending&&"'"!=c.pending&&(c.pending=null),d)return d&&null==c.php.tokenize&&b.match("?>")?(c.curMode=e,c.curState=c.html,c.php.context.prev||(c.php=null),"meta"):f.token(b,c.curState);if(b.match(/^<\?\w*/))return c.curMode=f,c.php||(c.php=a.startState(f,e.indent(c.html,""))),c.curState=c.php,"meta";if('"'==c.pending||"'"==c.pending){for(;!b.eol()&&b.next()!=c.pending;);var g="string"}else if(c.pending&&b.pos<c.pending.end){b.pos=c.pending.end;var g=c.pending.style}else var g=e.token(b,c.curState);c.pending&&(c.pending=null);var h,i=b.current(),j=i.search(/<\?/);return j!=-1&&("string"==g&&(h=i.match(/[\'\"]$/))&&!/\?>/.test(i)?c.pending=h[0]:c.pending={end:b.pos,style:g},b.backUp(i.length-j)),g}var e=a.getMode(b,"text/html"),f=a.getMode(b,i);return{startState:function(){var b=a.startState(e),d=c.startOpen?a.startState(f):null;return{html:b,php:d,curMode:c.startOpen?f:e,curState:c.startOpen?d:b,pending:null}},copyState:function(b){var c,d=b.html,g=a.copyState(e,d),h=b.php,i=h&&a.copyState(f,h);return c=b.curMode==e?g:i,{html:g,php:i,curMode:b.curMode,curState:c,pending:b.pending}},token:d,indent:function(a,b){return a.curMode!=f&&/^\s*<\//.test(b)||a.curMode==f&&/^\?>/.test(b)?e.indent(a.html,b):a.curMode.indent(a.curState,b)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",innerMode:function(a){return{state:a.curState,mode:a.curMode}}}},"htmlmixed","clike"),a.defineMIME("application/x-httpd-php","php"),a.defineMIME("application/x-httpd-php-open",{name:"php",startOpen:!0}),a.defineMIME("text/x-php",i)}),function(a){"object"==typeof exports&&"object"==typeof module?a(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],a):a(CodeMirror)}(function(a){function b(a,b,d,e){var f=a.getLineHandle(b.line),i=b.ch-1,j=i>=0&&h[f.text.charAt(i)]||h[f.text.charAt(++i)];if(!j)return null;var k=">"==j.charAt(1)?1:-1;if(d&&k>0!=(i==b.ch))return null;var l=a.getTokenTypeAt(g(b.line,i+1)),m=c(a,g(b.line,i+(k>0?1:0)),k,l||null,e);return null==m?null:{from:g(b.line,i),to:m&&m.pos,match:m&&m.ch==j.charAt(0),forward:k>0}}function c(a,b,c,d,e){for(var f=e&&e.maxScanLineLength||1e4,i=e&&e.maxScanLines||1e3,j=[],k=e&&e.bracketRegex?e.bracketRegex:/[(){}[\]]/,l=c>0?Math.min(b.line+i,a.lastLine()+1):Math.max(a.firstLine()-1,b.line-i),m=b.line;m!=l;m+=c){var n=a.getLine(m);if(n){var o=c>0?0:n.length-1,p=c>0?n.length:-1;if(!(n.length>f))for(m==b.line&&(o=b.ch-(c<0?1:0));o!=p;o+=c){var q=n.charAt(o);if(k.test(q)&&(void 0===d||a.getTokenTypeAt(g(m,o+1))==d)){var r=h[q];if(">"==r.charAt(1)==c>0)j.push(q);else{if(!j.length)return{pos:g(m,o),ch:q};j.pop()}}}}}return m-c!=(c>0?a.lastLine():a.firstLine())&&null}function d(a,c,d){for(var e=a.state.matchBrackets.maxHighlightLineLength||1e3,h=[],i=a.listSelections(),j=0;j<i.length;j++){var k=i[j].empty()&&b(a,i[j].head,!1,d);if(k&&a.getLine(k.from.line).length<=e){var l=k.match?"CodeMirror-matchingbracket":"CodeMirror-nonmatchingbracket";h.push(a.markText(k.from,g(k.from.line,k.from.ch+1),{className:l})),k.to&&a.getLine(k.to.line).length<=e&&h.push(a.markText(k.to,g(k.to.line,k.to.ch+1),{className:l}))}}if(h.length){f&&a.state.focused&&a.focus();var m=function(){a.operation(function(){for(var a=0;a<h.length;a++)h[a].clear()})};if(!c)return m;setTimeout(m,800)}}function e(a){a.operation(function(){i&&(i(),i=null),i=d(a,!1,a.state.matchBrackets)})}var f=/MSIE \d/.test(navigator.userAgent)&&(null==document.documentMode||document.documentMode<8),g=a.Pos,h={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<"},i=null;a.defineOption("matchBrackets",!1,function(b,c,d){d&&d!=a.Init&&(b.off("cursorActivity",e),i&&(i(),i=null)),c&&(b.state.matchBrackets="object"==typeof c?c:{},b.on("cursorActivity",e))}),a.defineExtension("matchBrackets",function(){d(this,!0)}),a.defineExtension("findMatchingBracket",function(a,c,d){return b(this,a,c,d)}),a.defineExtension("scanForBracket",function(a,b,d,e){return c(this,a,b,d,e)})});
languages/code-snippets.mo DELETED
Binary file
languages/code-snippets.po DELETED
@@ -1,419 +0,0 @@
1
- # This file is distributed under the same license as the Code Snippets package.
2
- msgid ""
3
- msgstr ""
4
- "PO-Revision-Date: 2013-03-27 15:45:42+0000\n"
5
- "MIME-Version: 1.0\n"
6
- "Content-Type: text/plain; charset=UTF-8\n"
7
- "Content-Transfer-Encoding: 8bit\n"
8
- "Plural-Forms: nplurals=2; plural=n != 1;\n"
9
- "X-Generator: GlotPress/0.1\n"
10
- "Project-Id-Version: Code Snippets\n"
11
-
12
- #: code-snippets.php:0 code-snippets.php:262
13
- msgid "Code Snippets"
14
- msgstr ""
15
-
16
- #: code-snippets.php:0
17
- msgid "An easy, clean and simple way to add code snippets to your site. No need to edit to your theme's functions.php file again!"
18
- msgstr ""
19
-
20
- #: code-snippets.php:0
21
- msgid "Shea Bunge"
22
- msgstr ""
23
-
24
- #: code-snippets.php:0
25
- msgid "http://bungeshea.com"
26
- msgstr ""
27
-
28
- #: code-snippets.php:577 code-snippets.php:578 code-snippets.php:588
29
- #: includes/admin/manage.php:36
30
- msgid "Snippets"
31
- msgstr ""
32
-
33
- #: code-snippets.php:612 code-snippets.php:1145 includes/admin/single.php:45
34
- msgid "Add New Snippet"
35
- msgstr ""
36
-
37
- #: code-snippets.php:613
38
- msgid "Add New"
39
- msgstr ""
40
-
41
- #: code-snippets.php:641 includes/admin/import.php:34
42
- msgid "Import Snippets"
43
- msgstr ""
44
-
45
- #: code-snippets.php:642
46
- msgid "Import"
47
- msgstr ""
48
-
49
- #: code-snippets.php:601 code-snippets.php:1146 includes/admin/single.php:37
50
- msgid "Edit Snippet"
51
- msgstr ""
52
-
53
- #: code-snippets.php:1465
54
- msgid "Manage your existing snippets"
55
- msgstr ""
56
-
57
- #: code-snippets.php:589 code-snippets.php:1466
58
- msgid "Manage"
59
- msgstr ""
60
-
61
- #: code-snippets.php:1486
62
- msgid "Visit the WordPress.org plugin page"
63
- msgstr ""
64
-
65
- #: code-snippets.php:1487
66
- msgid "About"
67
- msgstr ""
68
-
69
- #: code-snippets.php:1491
70
- msgid "Visit the support forums"
71
- msgstr ""
72
-
73
- #: code-snippets.php:1492
74
- msgid "Support"
75
- msgstr ""
76
-
77
- #: code-snippets.php:1496
78
- msgid "Support this plugin's development"
79
- msgstr ""
80
-
81
- #: code-snippets.php:1497
82
- msgid "Donate"
83
- msgstr ""
84
-
85
- #: includes/admin/import.php:38
86
- msgid "Howdy! Upload your Code Snippets export file and we&#8217;ll import the snippets to this site."
87
- msgstr ""
88
-
89
- #: includes/admin/import.php:40
90
- msgid "You will need to go to the <a href=\"%s\">Manage Snippets</a> page to activate the imported snippets."
91
- msgstr ""
92
-
93
- #: includes/admin/import.php:42
94
- msgid "Choose a Code Snippets (.xml) file to upload, then click Upload file and import."
95
- msgstr ""
96
-
97
- #: includes/admin/import.php:46
98
- msgid "Choose a file from your computer:"
99
- msgstr ""
100
-
101
- #: includes/admin/import.php:46
102
- msgid "(Maximum size: 8MB)"
103
- msgstr ""
104
-
105
- #: includes/admin/import.php:55
106
- msgid "Upload file and import"
107
- msgstr ""
108
-
109
- #: includes/admin/manage.php:21
110
- msgid "Snippet <strong>activated</strong>."
111
- msgstr ""
112
-
113
- #: includes/admin/manage.php:23
114
- msgid "Selected snippets <strong>activated</strong>."
115
- msgstr ""
116
-
117
- #: includes/admin/manage.php:25
118
- msgid "Snippet <strong>deactivated</strong>."
119
- msgstr ""
120
-
121
- #: includes/admin/manage.php:27
122
- msgid "Selected snippets <strong>deactivated</strong>."
123
- msgstr ""
124
-
125
- #: includes/admin/manage.php:29
126
- msgid "Snippet <strong>deleted</strong>."
127
- msgstr ""
128
-
129
- #: includes/admin/manage.php:31
130
- msgid "Selected snippets <strong>deleted</strong>."
131
- msgstr ""
132
-
133
- #: includes/admin/manage.php:38 includes/admin/single.php:42
134
- msgctxt "snippet"
135
- msgid "Add New"
136
- msgstr ""
137
-
138
- #: includes/admin/manage.php:47
139
- msgid "Search Installed Snippets"
140
- msgstr ""
141
-
142
- #: includes/admin/single.php:22
143
- msgid "Please provide a name for the snippet and its code."
144
- msgstr ""
145
-
146
- #: includes/admin/single.php:28
147
- msgid "Snippet <strong>updated</strong>."
148
- msgstr ""
149
-
150
- #: includes/admin/single.php:30
151
- msgid "Snippet <strong>added</strong>."
152
- msgstr ""
153
-
154
- #: includes/admin/single.php:55 includes/admin/single.php:56
155
- msgid "Name (short title)"
156
- msgstr ""
157
-
158
- #: includes/admin/single.php:61
159
- msgid "Code"
160
- msgstr ""
161
-
162
- #: code-snippets.php:1433 includes/class-list-table.php:189
163
- msgid "Description"
164
- msgstr ""
165
-
166
- #: code-snippets.php:1434
167
- msgid "(Optional)"
168
- msgstr ""
169
-
170
- #: includes/class-list-table.php:36
171
- msgid "Snippets per page"
172
- msgstr ""
173
-
174
- #: code-snippets.php:1118 includes/class-list-table.php:127
175
- #: includes/class-list-table.php:213
176
- msgid "Network Deactivate"
177
- msgstr ""
178
-
179
- #: code-snippets.php:1118 includes/class-list-table.php:127
180
- #: includes/class-list-table.php:213
181
- msgid "Deactivate"
182
- msgstr ""
183
-
184
- #: code-snippets.php:1127 includes/class-list-table.php:137
185
- #: includes/class-list-table.php:212
186
- msgid "Network Activate"
187
- msgstr ""
188
-
189
- #: code-snippets.php:1127 includes/class-list-table.php:137
190
- #: includes/class-list-table.php:212
191
- msgid "Activate"
192
- msgstr ""
193
-
194
- #: includes/class-list-table.php:187
195
- msgid "Name"
196
- msgstr ""
197
-
198
- #: includes/class-list-table.php:188
199
- msgid "ID"
200
- msgstr ""
201
-
202
- #: includes/class-list-table.php:147 includes/class-list-table.php:214
203
- msgid "Export"
204
- msgstr ""
205
-
206
- #: includes/class-list-table.php:155 includes/class-list-table.php:215
207
- msgid "Delete"
208
- msgstr ""
209
-
210
- #: includes/class-list-table.php:216
211
- msgid "Export to PHP"
212
- msgstr ""
213
-
214
- #: includes/class-list-table.php:236
215
- msgid "All <span class=\"count\">(%s)</span>"
216
- msgid_plural "All <span class=\"count\">(%s)</span>"
217
- msgstr[0] ""
218
- msgstr[1] ""
219
-
220
- #: includes/class-list-table.php:239
221
- msgid "Active <span class=\"count\">(%s)</span>"
222
- msgid_plural "Active <span class=\"count\">(%s)</span>"
223
- msgstr[0] ""
224
- msgstr[1] ""
225
-
226
- #: includes/class-list-table.php:242
227
- msgid "Recently Active <span class=\"count\">(%s)</span>"
228
- msgid_plural "Recently Active <span class=\"count\">(%s)</span>"
229
- msgstr[0] ""
230
- msgstr[1] ""
231
-
232
- #: includes/class-list-table.php:245
233
- msgid "Inactive <span class=\"count\">(%s)</span>"
234
- msgid_plural "Inactive <span class=\"count\">(%s)</span>"
235
- msgstr[0] ""
236
- msgstr[1] ""
237
-
238
- #: includes/class-list-table.php:279
239
- msgid "Clear List"
240
- msgstr ""
241
-
242
- #: includes/class-list-table.php:374
243
- msgid "You do not appear to have any snippets available at this time. <a href=\"%s\">Add New&rarr;</a>"
244
- msgstr ""
245
-
246
- #: includes/help/import.php:5 includes/help/manage.php:5
247
- #: includes/help/single.php:5
248
- msgid "Overview"
249
- msgstr ""
250
-
251
- #: includes/help/import.php:7
252
- msgid "Snippets are similar to plugins - they both extend and expand the functionality of WordPress. Snippets are more light-weight, just a few lines of code, and do not put as much load on your server. Here you can load snippets from a Code Snippets (.xml) import file into the database with your existing snippets."
253
- msgstr ""
254
-
255
- #: includes/help/import.php:12
256
- msgid "Importing"
257
- msgstr ""
258
-
259
- #: includes/help/import.php:15
260
- msgid "Snippets will be added to the database along with your existing snippets. Regardless of whether the snippets were active on the previous site, imported snippets are always inactive until activated using the <a href=\"%s\">Manage Snippets</a> page.</p>"
261
- msgstr ""
262
-
263
- #: includes/help/import.php:20
264
- msgid "Exporting"
265
- msgstr ""
266
-
267
- #: includes/help/import.php:22
268
- msgid "You can save your snippets to a Code Snippets (.xml) export file using the <a href=\"%s\">Manage Snippets</a> page."
269
- msgstr ""
270
-
271
- #: includes/help/import.php:26 includes/help/manage.php:27
272
- #: includes/help/single.php:31
273
- msgid "For more information:"
274
- msgstr ""
275
-
276
- #: includes/help/import.php:27 includes/help/single.php:32
277
- msgid "<a href=\"http://wordpress.org/plugins/code-snippets\" target=\"_blank\">WordPress Extend</a>"
278
- msgstr ""
279
-
280
- #: includes/help/import.php:28 includes/help/manage.php:29
281
- #: includes/help/single.php:33
282
- msgid "<a href=\"http://wordpress.org/support/plugin/code-snippets\" target=\"_blank\">Support Forums</a>"
283
- msgstr ""
284
-
285
- #: includes/help/manage.php:7
286
- msgid "Snippets are similar to plugins - they both extend and expand the functionality of WordPress. Snippets are more light-weight, just a few lines of code, and do not put as much load on your server. Here you can manage your existing snippets and perform tasks on them such as activating, deactivating, deleting and exporting."
287
- msgstr ""
288
-
289
- #: includes/help/manage.php:12
290
- msgid "Safe Mode"
291
- msgstr ""
292
-
293
- #: includes/help/manage.php:14
294
- msgid "Be sure to check your snippets for errors before you activate them, as a faulty snippet could bring your whole blog down. If your site starts doing strange things, deactivate all your snippets and activate them one at a time."
295
- msgstr ""
296
-
297
- #: includes/help/manage.php:20
298
- msgid "Uninstall"
299
- msgstr ""
300
-
301
- #: includes/help/manage.php:22
302
- msgid "When you delete Code Snippets through the Plugins menu in WordPress it will clear up the <code>%1$s</code> table and a few other bits of data stored in the database. If you want to keep this data (ie: you are only temporally uninstalling Code Snippets) then remove the <code>%2$s</code> folder using FTP."
303
- msgstr ""
304
-
305
- #: includes/help/manage.php:23
306
- msgid "Even if you're sure that you don't want to use Code Snippets ever again on this WordPress installation, you may want to use the export feature to back up your snippets."
307
- msgstr ""
308
-
309
- #: includes/help/manage.php:28
310
- msgid "<a href=\"http://wordpress.org/plugins/code-snippets\" target=\"_blank\">WordPress Extend</a></p>"
311
- msgstr ""
312
-
313
- #: includes/help/single.php:7
314
- msgid "Snippets are similar to plugins - they both extend and expand the functionality of WordPress. Snippets are more light-weight, just a few lines of code, and do not put as much load on your server. Here you can add a new snippet, or edit an existing one."
315
- msgstr ""
316
-
317
- #: includes/help/single.php:11
318
- msgid "Finding Snippets"
319
- msgstr ""
320
-
321
- #: includes/help/single.php:13
322
- msgid ""
323
- "Here are some links to websites which host a large number of snippets that you can add to your site.\n"
324
- "\t\t<ul>\n"
325
- "\t\t\t<li><a href=\"http://wp-snippets.com\" title=\"WordPress Snippets\">WP-Snippets</a></li>\n"
326
- "\t\t\t<li><a href=\"http://wpsnipp.com\" title=\"WP Snipp\">WP Snipp</a></li>\n"
327
- "\t\t\t<li><a href=\"http://www.catswhocode.com/blog/snippets\" title=\"Cats Who Code Snippet Library\">Cats Who Code</a></li>\n"
328
- "\t\t\t<li><a href=\"http://www.wpfunction.me\">WP Function Me</a></li>\n"
329
- "\t\t</ul>"
330
- msgstr ""
331
-
332
- #: includes/help/single.php:24
333
- msgid "Adding Snippets"
334
- msgstr ""
335
-
336
- #: includes/help/single.php:26
337
- msgid "You need to fill out the name and code fields for your snippet to be added. While the description field will add more information about how your snippet works, what is does and where you found it, it is completely optional."
338
- msgstr ""
339
-
340
- #: includes/help/single.php:27
341
- msgid "Please be sure to check that your snippet is valid PHP code and will not produce errors before adding it through this page. While doing so will not become active straight away, it will help to minimise the chance of a faulty snippet becoming active on your site."
342
- msgstr ""
343
-
344
- #: code-snippets.php:0
345
- msgid "http://bungeshea.com/plugins/code-snippets"
346
- msgstr ""
347
-
348
- #: code-snippets.php:263
349
- msgid "Import snippets from a <strong>Code Snippets</strong> export file"
350
- msgstr ""
351
-
352
- #: includes/admin/import.php:20
353
- msgid "Imported <strong>%d</strong> snippet."
354
- msgid_plural "Imported <strong>%d</strong> snippets."
355
- msgstr[0] ""
356
- msgstr[1] ""
357
-
358
- #: includes/help/import.php:29 includes/help/manage.php:30
359
- #: includes/help/single.php:34
360
- msgid "<a href=\"http://bungeshea.com/plugins/code-snippets/\" target=\"_blank\">Project Website</a>"
361
- msgstr ""
362
-
363
- #: includes/help/manage.php:15
364
- msgid "If something goes wrong with a snippet and you can't use WordPress, you can cause all snippets to stop executing by adding <code>define('CODE_SNIPPETS_SAFE_MODE', true);</code> to your <code>wp-config.php</code> file. After you have deactivated the offending snippet, you can turn off safe mode by removing this line or replacing <strong>true</strong> with <strong>false</strong>."
365
- msgstr ""
366
-
367
- #: includes/help/single.php:20
368
- msgid "More places to find snippets, as well as a selection of example snippets, can be found in the <a href=\"https://github.com/sheabunge/code-snippets/wiki/Finding-snippets\">plugin documentation</a>"
369
- msgstr ""
370
-
371
- #: code-snippets.php:0
372
- msgid "1.7"
373
- msgstr ""
374
-
375
- #: code-snippets.php:602 includes/class-list-table.php:142
376
- msgid "Edit"
377
- msgstr ""
378
-
379
- #: code-snippets.php:1227
380
- msgid "Sorry, you're not allowed to edit snippets"
381
- msgstr ""
382
-
383
- #: includes/admin/single.php:24
384
- msgid "Snippet <strong>updated</strong> and <strong>activated</strong>."
385
- msgstr ""
386
-
387
- #: includes/admin/single.php:26
388
- msgid "Snippet <strong>added</strong> and <strong>activated</strong>."
389
- msgstr ""
390
-
391
- #: includes/class-list-table.php:163
392
- msgid ""
393
- "You are about to permanently delete the selected item.\n"
394
- "\t\t\t\t'Cancel' to stop, 'OK' to delete."
395
- msgstr ""
396
-
397
- #: includes/class-list-table.php:270
398
- msgid "Filter"
399
- msgstr ""
400
-
401
- #: includes/class-list-table.php:541
402
- msgid "Search results"
403
- msgstr ""
404
-
405
- #: includes/class-list-table.php:544
406
- msgid " for &#8220;%s&#8221;"
407
- msgstr ""
408
-
409
- #: includes/class-list-table.php:550
410
- msgid "Clear Filters"
411
- msgstr ""
412
-
413
- #: includes/help/import.php:14
414
- msgid "You can load your snippets from a code snippets (.xml) export file using this page."
415
- msgstr ""
416
-
417
- #: includes/admin/single.php:74
418
- msgid "Save Changes &amp; Activate"
419
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/code-snippets.pot CHANGED
@@ -6,9 +6,9 @@
6
  #, fuzzy
7
  msgid ""
8
  msgstr ""
9
- "Project-Id-Version: code-snippets 2.8.2\n"
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2017-02-27 23:06+1100\n"
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -64,11 +64,11 @@ msgid ""
64
  "made. No changes will be made to this site."
65
  msgstr ""
66
 
67
- #: php/admin-menus/class-edit-menu.php:281 php/class-list-table.php:324
68
  msgid "Description"
69
  msgstr ""
70
 
71
- #: php/admin-menus/class-edit-menu.php:312 php/class-list-table.php:325
72
  msgid "Tags"
73
  msgstr ""
74
 
@@ -485,130 +485,139 @@ msgstr ""
485
  msgid "Snippets per page"
486
  msgstr ""
487
 
488
- #: php/class-list-table.php:117 php/class-list-table.php:370
489
  msgid "Network Deactivate"
490
  msgstr ""
491
 
492
- #: php/class-list-table.php:117 php/class-list-table.php:180
493
- #: php/class-list-table.php:370
494
  msgid "Deactivate"
495
  msgstr ""
496
 
497
- #: php/class-list-table.php:126 php/class-list-table.php:369
498
  msgid "Network Activate"
499
  msgstr ""
500
 
501
- #: php/class-list-table.php:126 php/class-list-table.php:180
502
- #: php/class-list-table.php:369
503
  msgid "Activate"
504
  msgstr ""
505
 
506
- #: php/class-list-table.php:136 php/class-list-table.php:196
507
  msgid "Edit"
508
  msgstr ""
509
 
510
- #: php/class-list-table.php:142 php/class-list-table.php:202
511
- #: php/class-list-table.php:371 php/views/edit.php:111
512
  msgid "Export"
513
  msgstr ""
514
 
515
- #: php/class-list-table.php:151 php/class-list-table.php:214
516
- #: php/class-list-table.php:372 php/views/edit.php:124
517
  msgid "Delete"
518
  msgstr ""
519
 
520
- #: php/class-list-table.php:158 php/class-list-table.php:224
521
  msgid "You are about to permanently delete the selected item."
522
  msgstr ""
523
 
524
- #: php/class-list-table.php:159 php/class-list-table.php:225
525
  #: php/views/edit.php:119
526
  msgid "'Cancel' to stop, 'OK' to delete."
527
  msgstr ""
528
 
529
- #: php/class-list-table.php:244
 
 
 
 
 
 
 
 
530
  #, php-format
531
  msgid "Untitled #%d"
532
  msgstr ""
533
 
534
- #: php/class-list-table.php:261
535
  msgid "Shared on Network"
536
  msgstr ""
537
 
538
- #: php/class-list-table.php:322 php/views/edit.php:48
539
  msgid "Name"
540
  msgstr ""
541
 
542
- #: php/class-list-table.php:323
543
  msgid "ID"
544
  msgstr ""
545
 
546
- #: php/class-list-table.php:373
547
  msgid "Export to PHP"
548
  msgstr ""
549
 
550
- #: php/class-list-table.php:411
551
  #, php-format
552
  msgid "All <span class=\"count\">(%s)</span>"
553
  msgid_plural "All <span class=\"count\">(%s)</span>"
554
  msgstr[0] ""
555
  msgstr[1] ""
556
 
557
- #: php/class-list-table.php:412
558
  #, php-format
559
  msgid "Active <span class=\"count\">(%s)</span>"
560
  msgid_plural "Active <span class=\"count\">(%s)</span>"
561
  msgstr[0] ""
562
  msgstr[1] ""
563
 
564
- #: php/class-list-table.php:413
565
  #, php-format
566
  msgid "Inactive <span class=\"count\">(%s)</span>"
567
  msgid_plural "Inactive <span class=\"count\">(%s)</span>"
568
  msgstr[0] ""
569
  msgstr[1] ""
570
 
571
- #: php/class-list-table.php:414
572
  #, php-format
573
  msgid "Recently Active <span class=\"count\">(%s)</span>"
574
  msgid_plural "Recently Active <span class=\"count\">(%s)</span>"
575
  msgstr[0] ""
576
  msgstr[1] ""
577
 
578
- #: php/class-list-table.php:477
579
  msgid "Show all tags"
580
  msgstr ""
581
 
582
- #: php/class-list-table.php:491
583
  msgid "Filter"
584
  msgstr ""
585
 
586
- #: php/class-list-table.php:499
587
  msgid "Clear List"
588
  msgstr ""
589
 
590
- #: php/class-list-table.php:686
591
- #, php-format
592
- msgid ""
593
- "You do not appear to have any snippets available at this time. <a href=\"%s"
594
- "\">Add New&rarr;</a>"
 
595
  msgstr ""
596
 
597
- #: php/class-list-table.php:959
598
  msgid "Search results"
599
  msgstr ""
600
 
601
- #: php/class-list-table.php:962
602
  #, php-format
603
  msgid " for &#8220;%s&#8221;"
604
  msgstr ""
605
 
606
- #: php/class-list-table.php:966
607
  #, php-format
608
  msgid " in tag &#8220;%s&#8221;"
609
  msgstr ""
610
 
611
- #: php/class-list-table.php:974
612
  msgid "Clear Filters"
613
  msgstr ""
614
 
6
  #, fuzzy
7
  msgid ""
8
  msgstr ""
9
+ "Project-Id-Version: code-snippets 2.8.3\n"
10
  "Report-Msgid-Bugs-To: \n"
11
+ "POT-Creation-Date: 2017-04-29 18:31+1000\n"
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
64
  "made. No changes will be made to this site."
65
  msgstr ""
66
 
67
+ #: php/admin-menus/class-edit-menu.php:281 php/class-list-table.php:341
68
  msgid "Description"
69
  msgstr ""
70
 
71
+ #: php/admin-menus/class-edit-menu.php:312 php/class-list-table.php:342
72
  msgid "Tags"
73
  msgstr ""
74
 
485
  msgid "Snippets per page"
486
  msgstr ""
487
 
488
+ #: php/class-list-table.php:119 php/class-list-table.php:387
489
  msgid "Network Deactivate"
490
  msgstr ""
491
 
492
+ #: php/class-list-table.php:119 php/class-list-table.php:191
493
+ #: php/class-list-table.php:387
494
  msgid "Deactivate"
495
  msgstr ""
496
 
497
+ #: php/class-list-table.php:128 php/class-list-table.php:386
498
  msgid "Network Activate"
499
  msgstr ""
500
 
501
+ #: php/class-list-table.php:128 php/class-list-table.php:191
502
+ #: php/class-list-table.php:386
503
  msgid "Activate"
504
  msgstr ""
505
 
506
+ #: php/class-list-table.php:138 php/class-list-table.php:207
507
  msgid "Edit"
508
  msgstr ""
509
 
510
+ #: php/class-list-table.php:144 php/class-list-table.php:213
511
+ #: php/class-list-table.php:388 php/views/edit.php:111
512
  msgid "Export"
513
  msgstr ""
514
 
515
+ #: php/class-list-table.php:153 php/class-list-table.php:225
516
+ #: php/class-list-table.php:389 php/views/edit.php:124
517
  msgid "Delete"
518
  msgstr ""
519
 
520
+ #: php/class-list-table.php:160 php/class-list-table.php:235
521
  msgid "You are about to permanently delete the selected item."
522
  msgstr ""
523
 
524
+ #: php/class-list-table.php:161 php/class-list-table.php:236
525
  #: php/views/edit.php:119
526
  msgid "'Cancel' to stop, 'OK' to delete."
527
  msgstr ""
528
 
529
+ #: php/class-list-table.php:168
530
+ msgid "Network Active"
531
+ msgstr ""
532
+
533
+ #: php/class-list-table.php:170
534
+ msgid "Network Only"
535
+ msgstr ""
536
+
537
+ #: php/class-list-table.php:255
538
  #, php-format
539
  msgid "Untitled #%d"
540
  msgstr ""
541
 
542
+ #: php/class-list-table.php:278
543
  msgid "Shared on Network"
544
  msgstr ""
545
 
546
+ #: php/class-list-table.php:339 php/views/edit.php:48
547
  msgid "Name"
548
  msgstr ""
549
 
550
+ #: php/class-list-table.php:340
551
  msgid "ID"
552
  msgstr ""
553
 
554
+ #: php/class-list-table.php:390
555
  msgid "Export to PHP"
556
  msgstr ""
557
 
558
+ #: php/class-list-table.php:428
559
  #, php-format
560
  msgid "All <span class=\"count\">(%s)</span>"
561
  msgid_plural "All <span class=\"count\">(%s)</span>"
562
  msgstr[0] ""
563
  msgstr[1] ""
564
 
565
+ #: php/class-list-table.php:429
566
  #, php-format
567
  msgid "Active <span class=\"count\">(%s)</span>"
568
  msgid_plural "Active <span class=\"count\">(%s)</span>"
569
  msgstr[0] ""
570
  msgstr[1] ""
571
 
572
+ #: php/class-list-table.php:430
573
  #, php-format
574
  msgid "Inactive <span class=\"count\">(%s)</span>"
575
  msgid_plural "Inactive <span class=\"count\">(%s)</span>"
576
  msgstr[0] ""
577
  msgstr[1] ""
578
 
579
+ #: php/class-list-table.php:431
580
  #, php-format
581
  msgid "Recently Active <span class=\"count\">(%s)</span>"
582
  msgid_plural "Recently Active <span class=\"count\">(%s)</span>"
583
  msgstr[0] ""
584
  msgstr[1] ""
585
 
586
+ #: php/class-list-table.php:494
587
  msgid "Show all tags"
588
  msgstr ""
589
 
590
+ #: php/class-list-table.php:508
591
  msgid "Filter"
592
  msgstr ""
593
 
594
+ #: php/class-list-table.php:516
595
  msgid "Clear List"
596
  msgstr ""
597
 
598
+ #: php/class-list-table.php:702
599
+ msgid "Whoops, it looks like no snippets could be found."
600
+ msgstr ""
601
+
602
+ #: php/class-list-table.php:706
603
+ msgid "Perhaps you would like to add a new one?"
604
  msgstr ""
605
 
606
+ #: php/class-list-table.php:983
607
  msgid "Search results"
608
  msgstr ""
609
 
610
+ #: php/class-list-table.php:986
611
  #, php-format
612
  msgid " for &#8220;%s&#8221;"
613
  msgstr ""
614
 
615
+ #: php/class-list-table.php:990
616
  #, php-format
617
  msgid " in tag &#8220;%s&#8221;"
618
  msgstr ""
619
 
620
+ #: php/class-list-table.php:998
621
  msgid "Clear Filters"
622
  msgstr ""
623
 
php/admin-menus/class-settings-menu.php CHANGED
@@ -40,7 +40,7 @@ class Code_Snippets_Settings_Menu extends Code_Snippets_Admin_Menu {
40
 
41
  <?php settings_errors( 'code-snippets-settings-notices' ); ?>
42
 
43
- <form action="<?php echo admin_url( 'options.php' ); ?>" method="post">
44
  <?php
45
 
46
  settings_fields( 'code-snippets' );
40
 
41
  <?php settings_errors( 'code-snippets-settings-notices' ); ?>
42
 
43
+ <form action="<?php echo esc_url( admin_url( 'options.php' ) ); ?>" method="post">
44
  <?php
45
 
46
  settings_fields( 'code-snippets' );
php/class-admin.php CHANGED
@@ -220,7 +220,7 @@ class Code_Snippets_Admin {
220
  <?php _e( 'Take the survey now', 'code-snippets' ); ?>
221
  </a>
222
 
223
- <a href="<?php echo esc_url( wp_nonce_url( add_query_arg( $key, true ), $key ) ); ?>"><?php _e( 'Dismiss', 'code-snippets' ); ?></a>
224
 
225
  </p></div>
226
 
220
  <?php _e( 'Take the survey now', 'code-snippets' ); ?>
221
  </a>
222
 
223
+ <a href="<?php echo esc_url( wp_nonce_url( add_query_arg( $key, true ), $key ) ); ?>"><?php esc_html_e( 'Dismiss', 'code-snippets' ); ?></a>
224
 
225
  </p></div>
226
 
php/class-code-snippets.php CHANGED
@@ -153,6 +153,24 @@ class Code_Snippets {
153
  return current_user_can( $this->get_cap() );
154
  }
155
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
156
  /**
157
  * Get the required capability to perform a certain action on snippets.
158
  * Does not check if the user has this capability or not.
@@ -171,11 +189,11 @@ class Code_Snippets {
171
  /* If multisite is enabled and the snippet menu is not activated,
172
  restrict snippet operations to super admins only */
173
  if ( empty( $menu_perms['snippets'] ) ) {
174
- return apply_filters( 'code_snippets_network_cap', 'manage_network_snippets' );
175
  }
176
  }
177
 
178
- return apply_filters( 'code_snippets_cap', 'manage_snippets' );
179
  }
180
 
181
  /**
@@ -190,7 +208,7 @@ class Code_Snippets {
190
  $user = new WP_User( $user_id );
191
 
192
  /* Add the capability */
193
- $user->add_cap( apply_filters( 'code_snippets_network_cap', 'manage_network_snippets' ) );
194
  }
195
 
196
  /**
@@ -205,7 +223,7 @@ class Code_Snippets {
205
  $user = new WP_User( $user_id );
206
 
207
  /* Remove the capability */
208
- $user->remove_cap( apply_filters( 'code_snippets_network_cap', 'manage_network_snippets' ) );
209
  }
210
 
211
  /**
153
  return current_user_can( $this->get_cap() );
154
  }
155
 
156
+ /**
157
+ * Retrieve the name of the capability required to manage sub-site snippets
158
+ *
159
+ * @return string
160
+ */
161
+ public function get_cap_name() {
162
+ return apply_filters( 'code_snippets_cap', 'manage_snippets' );
163
+ }
164
+
165
+ /**
166
+ * Retrieve the name of the capability required to manage network snippets
167
+ *
168
+ * @return string
169
+ */
170
+ public function get_network_cap_name() {
171
+ return apply_filters( 'code_snippets_network_cap', 'manage_network_snippets' );
172
+ }
173
+
174
  /**
175
  * Get the required capability to perform a certain action on snippets.
176
  * Does not check if the user has this capability or not.
189
  /* If multisite is enabled and the snippet menu is not activated,
190
  restrict snippet operations to super admins only */
191
  if ( empty( $menu_perms['snippets'] ) ) {
192
+ return $this->get_network_cap_name();
193
  }
194
  }
195
 
196
+ return $this->get_cap_name();
197
  }
198
 
199
  /**
208
  $user = new WP_User( $user_id );
209
 
210
  /* Add the capability */
211
+ $user->add_cap( $this->get_network_cap_name() );
212
  }
213
 
214
  /**
223
  $user = new WP_User( $user_id );
224
 
225
  /* Remove the capability */
226
+ $user->remove_cap( $this->get_network_cap_name() );
227
  }
228
 
229
  /**
php/class-list-table.php CHANGED
@@ -111,54 +111,65 @@ class Code_Snippets_List_Table extends WP_List_Table {
111
  $actions = array();
112
  $link_format = '<a href="%2$s">%1$s</a>';
113
 
114
- if ( $snippet->active ) {
115
- $actions['deactivate'] = sprintf(
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
116
  $link_format,
117
- $snippet->network ? __( 'Network Deactivate', 'code-snippets' ) : __( 'Deactivate', 'code-snippets' ),
118
- esc_url( add_query_arg( array(
119
- 'action' => 'deactivate',
120
- 'id' => $snippet->id,
121
- ) ) )
122
  );
123
- } else {
124
- $actions['activate'] = sprintf(
125
  $link_format,
126
- $snippet->network ? __( 'Network Activate', 'code-snippets' ) : __( 'Activate', 'code-snippets' ),
127
  esc_url( add_query_arg( array(
128
- 'action' => 'activate',
129
  'id' => $snippet->id,
130
  ) ) )
131
  );
132
- }
133
 
134
- $actions['edit'] = sprintf(
135
- $link_format,
136
- __( 'Edit', 'code-snippets' ),
137
- code_snippets()->get_snippet_edit_url( $snippet->id )
138
- );
 
 
 
 
 
 
 
 
139
 
140
- $actions['export'] = sprintf(
141
- $link_format,
142
- __( 'Export', 'code-snippets' ),
143
- esc_url( add_query_arg( array(
144
- 'action' => 'export',
145
- 'id' => $snippet->id,
146
- ) ) )
147
- );
148
 
149
- $actions['delete'] = sprintf(
150
- '<a href="%2$s" class="delete" onclick="%3$s">%1$s</a>',
151
- __( 'Delete', 'code-snippets' ),
152
- esc_url( add_query_arg( array(
153
- 'action' => 'delete',
154
- 'id' => $snippet->id,
155
- ) ) ),
156
- esc_js( sprintf(
157
- 'return confirm("%s");',
158
- __( 'You are about to permanently delete the selected item.', 'code-snippets' ) . "\n" .
159
- __( "'Cancel' to stop, 'OK' to delete.", 'code-snippets' )
160
- ) )
161
- );
162
 
163
  return $actions;
164
  }
@@ -177,7 +188,7 @@ class Code_Snippets_List_Table extends WP_List_Table {
177
  if ( ! $this->is_network ) {
178
 
179
  $action = $snippet->active ? 'deactivate' : 'activate';
180
- $label = $snippet->active ? __( 'Deactivate', 'code-snippets' ) : __( 'Activate', 'code-snippets' );
181
  $activate_url = add_query_arg( array(
182
  'action' => $action . '-shared',
183
  'id' => $snippet->id,
@@ -193,13 +204,13 @@ class Code_Snippets_List_Table extends WP_List_Table {
193
 
194
  $actions['edit'] = sprintf(
195
  $link_format,
196
- __( 'Edit', 'code-snippets' ),
197
  code_snippets()->get_snippet_edit_url( $snippet->id, 'network' )
198
  );
199
 
200
  $actions['export'] = sprintf(
201
  $link_format,
202
- __( 'Export', 'code-snippets' ),
203
  add_query_arg(
204
  array(
205
  'action' => 'export',
@@ -211,7 +222,7 @@ class Code_Snippets_List_Table extends WP_List_Table {
211
 
212
  $actions['delete'] = sprintf(
213
  '<a href="%2$s" class="delete" onclick="%3$s">%1$s</a>',
214
- __( 'Delete', 'code-snippets' ),
215
  add_query_arg(
216
  array(
217
  'action' => 'delete',
@@ -221,8 +232,8 @@ class Code_Snippets_List_Table extends WP_List_Table {
221
  ),
222
  esc_js( sprintf(
223
  'return confirm("%s");',
224
- __( 'You are about to permanently delete the selected item.', 'code-snippets' ) . "\n" .
225
- __( "'Cancel' to stop, 'OK' to delete.", 'code-snippets' )
226
  ) )
227
  );
228
 
@@ -244,14 +255,20 @@ class Code_Snippets_List_Table extends WP_List_Table {
244
  $title = empty( $snippet->name ) ? sprintf( __( 'Untitled #%d', 'code-snippets' ), $snippet->id ) : $snippet->name;
245
 
246
  $row_actions = $this->row_actions( $action_links,
247
- apply_filters( 'code_snippets/list_table/row_actions_always_visible', false )
248
  );
249
 
250
- $out = sprintf(
251
- '<a href="%s"><strong>%s</strong></a>',
252
- code_snippets()->get_snippet_edit_url( $snippet->id, $snippet->network ? 'network' : 'admin' ),
253
- $title
254
- );
 
 
 
 
 
 
255
 
256
  if ( $snippet->shared_network && ! current_user_can( apply_filters( 'code_snippets_network_cap', 'manage_network_snippets' ) ) ) {
257
  $out = sprintf( '<a><strong>%s</strong></a>', $title );
@@ -525,7 +542,7 @@ class Code_Snippets_List_Table extends WP_List_Table {
525
 
526
  foreach ( $vars as $var ) {
527
  if ( ! empty( $_REQUEST[ $var ] ) ) {
528
- printf( '<input type="hidden" name="%s" value="%s" />', $var, $_REQUEST[ $var ] );
529
  print "\n";
530
  }
531
  }
@@ -682,9 +699,11 @@ class Code_Snippets_List_Table extends WP_List_Table {
682
  * Message to display if no snippets are found
683
  */
684
  public function no_items() {
 
685
  printf(
686
- __( 'You do not appear to have any snippets available at this time. <a href="%s">Add New&rarr;</a>', 'code-snippets' ),
687
- code_snippets()->get_menu_url( 'add' )
 
688
  );
689
  }
690
 
@@ -755,7 +774,12 @@ class Code_Snippets_List_Table extends WP_List_Table {
755
  $snippets = array_fill_keys( $this->statuses, array() );
756
 
757
  /* Fetch all snippets */
758
- $snippets['all'] = get_snippets( array(), $this->is_network );
 
 
 
 
 
759
  $snippets['all'] = apply_filters( 'code_snippets/list_table/get_snippets', $snippets['all'] );
760
 
761
  /* Fetch shared network snippets */
111
  $actions = array();
112
  $link_format = '<a href="%2$s">%1$s</a>';
113
 
114
+ if ( $this->is_network || ! $snippet->network ) {
115
+
116
+ if ( $snippet->active ) {
117
+ $actions['deactivate'] = sprintf(
118
+ $link_format,
119
+ $snippet->network ? esc_html__( 'Network Deactivate', 'code-snippets' ) : esc_html__( 'Deactivate', 'code-snippets' ),
120
+ esc_url( add_query_arg( array(
121
+ 'action' => 'deactivate',
122
+ 'id' => $snippet->id,
123
+ ) ) )
124
+ );
125
+ } else {
126
+ $actions['activate'] = sprintf(
127
+ $link_format,
128
+ $snippet->network ? esc_html__( 'Network Activate', 'code-snippets' ) : esc_html__( 'Activate', 'code-snippets' ),
129
+ esc_url( add_query_arg( array(
130
+ 'action' => 'activate',
131
+ 'id' => $snippet->id,
132
+ ) ) )
133
+ );
134
+ }
135
+
136
+ $actions['edit'] = sprintf(
137
  $link_format,
138
+ esc_html__( 'Edit', 'code-snippets' ),
139
+ code_snippets()->get_snippet_edit_url( $snippet->id )
 
 
 
140
  );
141
+
142
+ $actions['export'] = sprintf(
143
  $link_format,
144
+ esc_html__( 'Export', 'code-snippets' ),
145
  esc_url( add_query_arg( array(
146
+ 'action' => 'export',
147
  'id' => $snippet->id,
148
  ) ) )
149
  );
 
150
 
151
+ $actions['delete'] = sprintf(
152
+ '<a href="%2$s" class="delete" onclick="%3$s">%1$s</a>',
153
+ esc_html__( 'Delete', 'code-snippets' ),
154
+ esc_url( add_query_arg( array(
155
+ 'action' => 'delete',
156
+ 'id' => $snippet->id,
157
+ ) ) ),
158
+ esc_js( sprintf(
159
+ 'return confirm("%s");',
160
+ esc_html__( 'You are about to permanently delete the selected item.', 'code-snippets' ) . "\n" .
161
+ esc_html__( "'Cancel' to stop, 'OK' to delete.", 'code-snippets' )
162
+ ) )
163
+ );
164
 
165
+ } else {
 
 
 
 
 
 
 
166
 
167
+ if ( $snippet->active ) {
168
+ $actions['network_active'] = esc_html__( 'Network Active', 'code-snippets' );
169
+ } else {
170
+ $actions['network_only'] = esc_html__( 'Network Only', 'code-snippets' );
171
+ }
172
+ }
 
 
 
 
 
 
 
173
 
174
  return $actions;
175
  }
188
  if ( ! $this->is_network ) {
189
 
190
  $action = $snippet->active ? 'deactivate' : 'activate';
191
+ $label = $snippet->active ? esc_html__( 'Deactivate', 'code-snippets' ) : esc_html__( 'Activate', 'code-snippets' );
192
  $activate_url = add_query_arg( array(
193
  'action' => $action . '-shared',
194
  'id' => $snippet->id,
204
 
205
  $actions['edit'] = sprintf(
206
  $link_format,
207
+ esc_html__( 'Edit', 'code-snippets' ),
208
  code_snippets()->get_snippet_edit_url( $snippet->id, 'network' )
209
  );
210
 
211
  $actions['export'] = sprintf(
212
  $link_format,
213
+ esc_html__( 'Export', 'code-snippets' ),
214
  add_query_arg(
215
  array(
216
  'action' => 'export',
222
 
223
  $actions['delete'] = sprintf(
224
  '<a href="%2$s" class="delete" onclick="%3$s">%1$s</a>',
225
+ esc_html__( 'Delete', 'code-snippets' ),
226
  add_query_arg(
227
  array(
228
  'action' => 'delete',
232
  ),
233
  esc_js( sprintf(
234
  'return confirm("%s");',
235
+ esc_html__( 'You are about to permanently delete the selected item.', 'code-snippets' ) . "\n" .
236
+ esc_html__( "'Cancel' to stop, 'OK' to delete.", 'code-snippets' )
237
  ) )
238
  );
239
 
255
  $title = empty( $snippet->name ) ? sprintf( __( 'Untitled #%d', 'code-snippets' ), $snippet->id ) : $snippet->name;
256
 
257
  $row_actions = $this->row_actions( $action_links,
258
+ apply_filters( 'code_snippets/list_table/row_actions_always_visible', true )
259
  );
260
 
261
+ $out = sprintf('<strong>%s</strong>', esc_html( $title ) );
262
+
263
+ /* Add a link to the snippet if it isn't an unreadable network-only snippet */
264
+ if ( $this->is_network || ! $snippet->network || current_user_can( code_snippets()->get_network_cap_name() ) ) {
265
+
266
+ $out = sprintf(
267
+ '<a href="%s"><strong>%s</strong></a>',
268
+ code_snippets()->get_snippet_edit_url( $snippet->id, $snippet->network ? 'network' : 'admin' ),
269
+ $title
270
+ );
271
+ }
272
 
273
  if ( $snippet->shared_network && ! current_user_can( apply_filters( 'code_snippets_network_cap', 'manage_network_snippets' ) ) ) {
274
  $out = sprintf( '<a><strong>%s</strong></a>', $title );
542
 
543
  foreach ( $vars as $var ) {
544
  if ( ! empty( $_REQUEST[ $var ] ) ) {
545
+ printf( '<input type="hidden" name="%s" value="%s" />', esc_attr( $var ), esc_attr( $_REQUEST[ $var ] ) );
546
  print "\n";
547
  }
548
  }
699
  * Message to display if no snippets are found
700
  */
701
  public function no_items() {
702
+ esc_html_e( 'Whoops, it looks like no snippets could be found.', 'code-snippets' );
703
  printf(
704
+ ' <a href="%s">%s</a>',
705
+ esc_url( code_snippets()->get_menu_url( 'add' ) ),
706
+ esc_html__( 'Perhaps you would like to add a new one?', 'code-snippets' )
707
  );
708
  }
709
 
774
  $snippets = array_fill_keys( $this->statuses, array() );
775
 
776
  /* Fetch all snippets */
777
+ $snippets['all'] = get_snippets( array(), true );
778
+
779
+ if ( ! $this->is_network ) {
780
+ $snippets['all'] += get_snippets( array(), false );
781
+ }
782
+
783
  $snippets['all'] = apply_filters( 'code_snippets/list_table/get_snippets', $snippets['all'] );
784
 
785
  /* Fetch shared network snippets */
php/editor.php CHANGED
@@ -46,7 +46,7 @@ function code_snippets_get_editor_atts( $override_atts, $json_encode ) {
46
  * @uses wp_enqueue_script() to add the scripts to the queue
47
  */
48
  function code_snippets_enqueue_codemirror() {
49
- $codemirror_version = '5.24.0';
50
  $url = plugin_dir_url( CODE_SNIPPETS_FILE );
51
 
52
  /* Remove other CodeMirror styles */
46
  * @uses wp_enqueue_script() to add the scripts to the queue
47
  */
48
  function code_snippets_enqueue_codemirror() {
49
+ $codemirror_version = '5.25.2';
50
  $url = plugin_dir_url( CODE_SNIPPETS_FILE );
51
 
52
  /* Remove other CodeMirror styles */
php/settings/editor-preview.php CHANGED
@@ -123,7 +123,7 @@ add_filter( 'admin_footer_text', 'example_custom_admin_footer_text' );
123
  continue;
124
  }
125
 
126
- $att_name = $field['codemirror'];
127
 
128
  switch ( $field['type'] ) {
129
 
123
  continue;
124
  }
125
 
126
+ $att_name = addslashes( $field['codemirror'] );
127
 
128
  switch ( $field['type'] ) {
129
 
php/settings/render-fields.php CHANGED
@@ -19,13 +19,13 @@ function code_snippets_checkbox_field( $atts ) {
19
 
20
  $output = sprintf(
21
  '<input type="checkbox" name="%s"%s>',
22
- $input_name,
23
  checked( $saved_value, true, false )
24
  );
25
 
26
  // Output the checkbox field, optionally with label
27
  if ( isset( $atts['label'] ) ) {
28
- printf( '<label for="%s">%s %s</label>', $input_name, $output, $atts['label'] );
29
  } else {
30
  echo $output;
31
  }
@@ -46,9 +46,9 @@ function code_snippets_number_field( $atts ) {
46
 
47
  printf(
48
  '<input type="number" name="code_snippets_settings[%s][%s]" value="%s"',
49
- $atts['section'],
50
- $atts['id'],
51
- code_snippets_get_setting( $atts['section'], $atts['id'] )
52
  );
53
 
54
  if ( isset( $atts['min'] ) ) {
19
 
20
  $output = sprintf(
21
  '<input type="checkbox" name="%s"%s>',
22
+ esc_attr( $input_name ),
23
  checked( $saved_value, true, false )
24
  );
25
 
26
  // Output the checkbox field, optionally with label
27
  if ( isset( $atts['label'] ) ) {
28
+ printf( '<label for="%s">%s %s</label>', esc_attr( $input_name ), $output, $atts['label'] );
29
  } else {
30
  echo $output;
31
  }
46
 
47
  printf(
48
  '<input type="number" name="code_snippets_settings[%s][%s]" value="%s"',
49
+ esc_attr( $atts['section'] ),
50
+ esc_attr( $atts['id'] ),
51
+ esc_attr( code_snippets_get_setting( $atts['section'], $atts['id'] ) )
52
  );
53
 
54
  if ( isset( $atts['min'] ) ) {
php/upgrade.php CHANGED
@@ -23,7 +23,7 @@ function code_snippets_upgrader() {
23
 
24
  /* Register capabilities */
25
  $role = get_role( apply_filters( 'code_snippets_role', 'administrator' ) );
26
- $role->add_cap( apply_filters( 'code_snippets_cap', 'manage_snippets' ) );
27
  }
28
 
29
  /* Check if we have upgraded from an older version */
23
 
24
  /* Register capabilities */
25
  $role = get_role( apply_filters( 'code_snippets_role', 'administrator' ) );
26
+ $role->add_cap( code_snippets()->get_cap_name() );
27
  }
28
 
29
  /* Check if we have upgraded from an older version */
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: bungeshea
3
  Donate link: https://bungeshea.com/donate/
4
  Tags: code-snippets, snippets, code, php, network, multisite
5
  Requires at least: 3.6
6
- Tested up to: 4.7.2
7
- Stable tag: 2.8.2
8
  License: MIT
9
  License URI: license.txt
10
 
@@ -108,6 +108,11 @@ That's fantastic! Fork the [repository on GitHub](http://github.com/sheabunge/co
108
 
109
  == Changelog ==
110
 
 
 
 
 
 
111
  = 2.8.2 (27 Feb 2017) =
112
  * Fix bug introduced in 2.8.1 that broke code verification functionality by executing code twice
113
 
@@ -436,6 +441,9 @@ That's fantastic! Fork the [repository on GitHub](http://github.com/sheabunge/co
436
 
437
  == Upgrade Notice ==
438
 
 
 
 
439
  = 2.8.2 =
440
  Fixed fatal error preventing activated snippets from saving
441
 
3
  Donate link: https://bungeshea.com/donate/
4
  Tags: code-snippets, snippets, code, php, network, multisite
5
  Requires at least: 3.6
6
+ Tested up to: 4.7.3
7
+ Stable tag: 2.8.3
8
  License: MIT
9
  License URI: license.txt
10
 
108
 
109
  == Changelog ==
110
 
111
+ = 2.8.3 (29 April 2017) =
112
+ * Updated CodeMirror to version 5.25.0
113
+ * Show network active snippets as read-only on multisite subsites
114
+ * Added more compete output escaping to prevent XSS errors
115
+
116
  = 2.8.2 (27 Feb 2017) =
117
  * Fix bug introduced in 2.8.1 that broke code verification functionality by executing code twice
118
 
441
 
442
  == Upgrade Notice ==
443
 
444
+ = 2.8.3 =
445
+ Fixes potential security exploit; please update immediately
446
+
447
  = 2.8.2 =
448
  Fixed fatal error preventing activated snippets from saving
449
 
trunk/code-snippets.php DELETED
@@ -1,108 +0,0 @@
1
- <?php
2
-
3
- /**
4
- * Code Snippets - An easy, clean and simple way to add code snippets to your site.
5
- *
6
- * If you're interested in helping to develop Code Snippets, or perhaps contribute
7
- * to the localization, please see https://github.com/sheabunge/code-snippets
8
- *
9
- * @package Code_Snippets
10
- * @author Shea Bunge <shea@bungeshea.com>
11
- * @copyright 2012-2017 Shea Bunge
12
- * @license MIT http://opensource.org/licenses/MIT
13
- * @version 2.8.2
14
- * @link https://github.com/sheabunge/code-snippets
15
- */
16
-
17
- /*
18
- Plugin Name: Code Snippets
19
- Plugin URI: https://github.com/sheabunge/code-snippets
20
- Description: An easy, clean and simple way to add code snippets to your site. No need to edit to your theme's functions.php file again!
21
- Author: Shea Bunge
22
- Author URI: https://bungeshea.com
23
- Version: 2.8.2
24
- License: MIT
25
- License URI: license.txt
26
- Text Domain: code-snippets
27
- Domain Path: /languages
28
- */
29
-
30
- /* Exit if accessed directly */
31
- if ( ! defined( 'ABSPATH' ) ) {
32
- exit;
33
- }
34
-
35
- /**
36
- * The version number for this release of the plugin.
37
- * This will later be used for upgrades and enqueuing files
38
- *
39
- * This should be set to the 'Plugin Version' value,
40
- * as defined above in the plugin header
41
- *
42
- * @since 2.0
43
- * @var string A PHP-standardized version number string
44
- */
45
- define( 'CODE_SNIPPETS_VERSION', '2.8.2' );
46
-
47
- /**
48
- * The full path to the main file of this plugin
49
- *
50
- * This can later be passed to functions such as
51
- * plugin_dir_path(), plugins_url() and plugin_basename()
52
- * to retrieve information about plugin paths
53
- *
54
- * @since 2.0
55
- * @var string
56
- */
57
- define( 'CODE_SNIPPETS_FILE', __FILE__ );
58
-
59
- /**
60
- * Enable autoloading of plugin classes
61
- * @param $class_name
62
- */
63
- function code_snippets_autoload( $class_name ) {
64
-
65
- /* Only autoload classes from this plugin */
66
- if ( 'Snippet' !== $class_name && 'Code_Snippets' !== substr( $class_name, 0, 13 ) ) {
67
- return;
68
- }
69
-
70
- /* Remove namespace from class name */
71
- $class_file = str_replace( 'Code_Snippets_', '', $class_name );
72
-
73
- /* Convert class name format to file name format */
74
- $class_file = strtolower( $class_file );
75
- $class_file = str_replace( '_', '-', $class_file );
76
-
77
- $class_path = dirname( __FILE__ ) . '/php/';
78
-
79
- if ( 'Menu' === substr( $class_name, -4, 4 ) ) {
80
- $class_path .= 'admin-menus/';
81
- }
82
-
83
- /* Load the class */
84
- require_once $class_path . "class-{$class_file}.php";
85
- }
86
-
87
- spl_autoload_register( 'code_snippets_autoload' );
88
-
89
- /**
90
- * Retrieve the instance of the main plugin class
91
- *
92
- * @since 2.6.0
93
- * @return Code_Snippets
94
- */
95
- function code_snippets() {
96
- static $plugin;
97
-
98
- if ( is_null( $plugin ) ) {
99
- $plugin = new Code_Snippets( CODE_SNIPPETS_VERSION, __FILE__ );
100
- }
101
-
102
- return $plugin;
103
- }
104
-
105
- code_snippets()->load_plugin();
106
-
107
- /* Execute the snippets once the plugins are loaded */
108
- add_action( 'plugins_loaded', 'execute_active_snippets', 1 );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/css/font/code-snippets.eot DELETED
Binary file
trunk/css/font/code-snippets.svg DELETED
@@ -1,11 +0,0 @@
1
- <?xml version="1.0" standalone="no"?>
2
- <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
- <svg xmlns="http://www.w3.org/2000/svg">
4
- <metadata>Generated by IcoMoon</metadata>
5
- <defs>
6
- <font id="code-snippets" horiz-adv-x="1024">
7
- <font-face units-per-em="1024" ascent="960" descent="-64" />
8
- <missing-glyph horiz-adv-x="1024" />
9
- <glyph unicode="&#x20;" d="" horiz-adv-x="512" />
10
- <glyph unicode="&#xe600;" d="M191.968 495.776h158.912c23.68 0 42.656-19.2 42.656-42.656 0-11.488-4.48-21.984-11.968-29.632l0.192-0.448-108.768-108.736c-75.104-75.136-75.104-196.512 0-271.584 74.88-74.848 196.448-74.848 271.552 0 74.88 75.104 74.88 196.48 0 271.584-21.76 21.504-47.36 37.12-74.464 46.272l28.608 28.576h365.248c87.040 0 157.856 74.016 159.968 166.4 0 1.472 0.224 2.752 0 4.256-2.112 23.904-22.368 42.656-46.912 42.656h-264.96l191.328 191.328c17.504 17.504 18.56 45.024 3.2 63.36-1.024 1.28-2.080 2.144-3.2 3.2-66.528 63.552-169.152 65.92-230.56 4.48l-262.368-262.368h-46.528c12.8 25.6 20.032 54.624 20.032 85.344 0 106.016-85.952 192-192 192-106.016 0-191.968-85.984-191.968-192 0.032-106.080 85.984-192.032 192-192.032zM277.312 687.744c0-47.136-38.176-85.344-85.344-85.344-47.136 0-85.312 38.176-85.312 85.344s38.176 85.344 85.312 85.344c47.168 0 85.344-38.208 85.344-85.344zM469.088 238.688c33.28-33.248 33.28-87.264 0-120.512-33.28-33.472-87.264-33.472-120.736 0-33.28 33.248-33.28 87.264 0 120.512 33.472 33.504 87.456 33.504 120.736 0z" />
11
- </font></defs></svg>
 
 
 
 
 
 
 
 
 
 
 
trunk/css/font/code-snippets.ttf DELETED
Binary file
trunk/css/font/code-snippets.woff DELETED
Binary file
trunk/css/min/cmthemes/3024-day.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-3024-day.CodeMirror{background:#f7f7f7;color:#3a3432}.cm-s-3024-day div.CodeMirror-selected{background:#d6d5d4}.cm-s-3024-day .CodeMirror-line::selection,.cm-s-3024-day .CodeMirror-line>span::selection,.cm-s-3024-day .CodeMirror-line>span>span::selection{background:#d6d5d4}.cm-s-3024-day .CodeMirror-line::-moz-selection,.cm-s-3024-day .CodeMirror-line>span::-moz-selection,.cm-s-3024-day .CodeMirror-line>span>span::selection{background:#d9d9d9}.cm-s-3024-day .CodeMirror-gutters{background:#f7f7f7;border-right:0}.cm-s-3024-day .CodeMirror-guttermarker{color:#db2d20}.cm-s-3024-day .CodeMirror-guttermarker-subtle,.cm-s-3024-day .CodeMirror-linenumber{color:#807d7c}.cm-s-3024-day .CodeMirror-cursor{border-left:1px solid #5c5855}.cm-s-3024-day span.cm-comment{color:#cdab53}.cm-s-3024-day span.cm-atom,.cm-s-3024-day span.cm-number{color:#a16a94}.cm-s-3024-day span.cm-attribute,.cm-s-3024-day span.cm-property{color:#01a252}.cm-s-3024-day span.cm-keyword{color:#db2d20}.cm-s-3024-day span.cm-string{color:#fded02}.cm-s-3024-day span.cm-variable{color:#01a252}.cm-s-3024-day span.cm-variable-2{color:#01a0e4}.cm-s-3024-day span.cm-def{color:#e8bbd0}.cm-s-3024-day span.cm-bracket{color:#3a3432}.cm-s-3024-day span.cm-tag{color:#db2d20}.cm-s-3024-day span.cm-link{color:#a16a94}.cm-s-3024-day span.cm-error{background:#db2d20;color:#5c5855}.cm-s-3024-day .CodeMirror-activeline-background{background:#e8f2ff}.cm-s-3024-day .CodeMirror-matchingbracket{text-decoration:underline;color:#a16a94!important}
 
trunk/css/min/cmthemes/3024-night.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-3024-night.CodeMirror{background:#090300;color:#d6d5d4}.cm-s-3024-night div.CodeMirror-selected{background:#3a3432}.cm-s-3024-night .CodeMirror-line::selection,.cm-s-3024-night .CodeMirror-line>span::selection,.cm-s-3024-night .CodeMirror-line>span>span::selection{background:rgba(58,52,50,.99)}.cm-s-3024-night .CodeMirror-line::-moz-selection,.cm-s-3024-night .CodeMirror-line>span::-moz-selection,.cm-s-3024-night .CodeMirror-line>span>span::-moz-selection{background:rgba(58,52,50,.99)}.cm-s-3024-night .CodeMirror-gutters{background:#090300;border-right:0}.cm-s-3024-night .CodeMirror-guttermarker{color:#db2d20}.cm-s-3024-night .CodeMirror-guttermarker-subtle,.cm-s-3024-night .CodeMirror-linenumber{color:#5c5855}.cm-s-3024-night .CodeMirror-cursor{border-left:1px solid #807d7c}.cm-s-3024-night span.cm-comment{color:#cdab53}.cm-s-3024-night span.cm-atom,.cm-s-3024-night span.cm-number{color:#a16a94}.cm-s-3024-night span.cm-attribute,.cm-s-3024-night span.cm-property{color:#01a252}.cm-s-3024-night span.cm-keyword{color:#db2d20}.cm-s-3024-night span.cm-string{color:#fded02}.cm-s-3024-night span.cm-variable{color:#01a252}.cm-s-3024-night span.cm-variable-2{color:#01a0e4}.cm-s-3024-night span.cm-def{color:#e8bbd0}.cm-s-3024-night span.cm-bracket{color:#d6d5d4}.cm-s-3024-night span.cm-tag{color:#db2d20}.cm-s-3024-night span.cm-link{color:#a16a94}.cm-s-3024-night span.cm-error{background:#db2d20;color:#807d7c}.cm-s-3024-night .CodeMirror-activeline-background{background:#2f2f2f}.cm-s-3024-night .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}
 
trunk/css/min/cmthemes/abcdef.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-abcdef.CodeMirror{background:#0f0f0f;color:#defdef}.cm-s-abcdef div.CodeMirror-selected{background:#515151}.cm-s-abcdef .CodeMirror-line::selection,.cm-s-abcdef .CodeMirror-line>span::selection,.cm-s-abcdef .CodeMirror-line>span>span::selection{background:rgba(56,56,56,.99)}.cm-s-abcdef .CodeMirror-line::-moz-selection,.cm-s-abcdef .CodeMirror-line>span::-moz-selection,.cm-s-abcdef .CodeMirror-line>span>span::-moz-selection{background:rgba(56,56,56,.99)}.cm-s-abcdef .CodeMirror-gutters{background:#555;border-right:2px solid #314151}.cm-s-abcdef .CodeMirror-guttermarker{color:#222}.cm-s-abcdef .CodeMirror-guttermarker-subtle{color:azure}.cm-s-abcdef .CodeMirror-linenumber{color:#fff}.cm-s-abcdef .CodeMirror-cursor{border-left:1px solid #0f0}.cm-s-abcdef span.cm-keyword{color:#b8860b;font-weight:700}.cm-s-abcdef span.cm-atom{color:#77f}.cm-s-abcdef span.cm-number{color:violet}.cm-s-abcdef span.cm-def{color:#fffabc}.cm-s-abcdef span.cm-variable{color:#abcdef}.cm-s-abcdef span.cm-variable-2{color:#cacbcc}.cm-s-abcdef span.cm-variable-3{color:#def}.cm-s-abcdef span.cm-property{color:#fedcba}.cm-s-abcdef span.cm-operator{color:#ff0}.cm-s-abcdef span.cm-comment{color:#7a7b7c;font-style:italic}.cm-s-abcdef span.cm-string{color:#2b4}.cm-s-abcdef span.cm-meta{color:#c9f}.cm-s-abcdef span.cm-qualifier{color:#fff700}.cm-s-abcdef span.cm-builtin{color:#30aabc}.cm-s-abcdef span.cm-bracket{color:#8a8a8a}.cm-s-abcdef span.cm-tag{color:#fd4}.cm-s-abcdef span.cm-attribute{color:#df0}.cm-s-abcdef span.cm-error{color:red}.cm-s-abcdef span.cm-header{color:#7fffd4;font-weight:700}.cm-s-abcdef span.cm-link{color:#8a2be2}.cm-s-abcdef .CodeMirror-activeline-background{background:#314151}
 
trunk/css/min/cmthemes/ambiance-mobile.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-ambiance.CodeMirror{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}
 
trunk/css/min/cmthemes/ambiance.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-ambiance .cm-header{color:#00f}.cm-s-ambiance .cm-quote{color:#24c2c7}.cm-s-ambiance .cm-keyword{color:#cda869}.cm-s-ambiance .cm-atom{color:#cf7ea9}.cm-s-ambiance .cm-number{color:#78cf8a}.cm-s-ambiance .cm-def{color:#aac6e3}.cm-s-ambiance .cm-variable{color:#ffb795}.cm-s-ambiance .cm-variable-2{color:#eed1b3}.cm-s-ambiance .cm-variable-3{color:#faded3}.cm-s-ambiance .cm-property{color:#eed1b3}.cm-s-ambiance .cm-operator{color:#fa8d6a}.cm-s-ambiance .cm-comment{color:#555;font-style:italic}.cm-s-ambiance .cm-string{color:#8f9d6a}.cm-s-ambiance .cm-string-2{color:#9d937c}.cm-s-ambiance .cm-meta{color:#d2a8a1}.cm-s-ambiance .cm-qualifier{color:#ff0}.cm-s-ambiance .cm-builtin{color:#99c}.cm-s-ambiance .cm-bracket{color:#24c2c7}.cm-s-ambiance .cm-tag{color:#fee4ff}.cm-s-ambiance .cm-attribute{color:#9b859d}.cm-s-ambiance .cm-hr{color:pink}.cm-s-ambiance .cm-link{color:#f4c20b}.cm-s-ambiance .cm-special{color:#ff9d00}.cm-s-ambiance .cm-error{color:#af2018}.cm-s-ambiance .CodeMirror-matchingbracket{color:#0f0}.cm-s-ambiance .CodeMirror-nonmatchingbracket{color:#f22}.cm-s-ambiance div.CodeMirror-selected{background:rgba(255,255,255,.15)}.cm-s-ambiance.CodeMirror-focused div.CodeMirror-selected{background:rgba(255,255,255,.1)}.cm-s-ambiance .CodeMirror-line::selection,.cm-s-ambiance .CodeMirror-line>span::selection,.cm-s-ambiance .CodeMirror-line>span>span::selection{background:rgba(255,255,255,.1)}.cm-s-ambiance .CodeMirror-line::-moz-selection,.cm-s-ambiance .CodeMirror-line>span::-moz-selection,.cm-s-ambiance .CodeMirror-line>span>span::-moz-selection{background:rgba(255,255,255,.1)}.cm-s-ambiance.CodeMirror{line-height:1.4em;color:#e6e1dc;background-color:#202020;-webkit-box-shadow:inset 0 0 10px #000;-moz-box-shadow:inset 0 0 10px #000;box-shadow:inset 0 0 10px #000}.cm-s-ambiance .CodeMirror-gutters{background:#3d3d3d;border-right:1px solid #4d4d4d;box-shadow:0 10px 20px #000}.cm-s-ambiance .CodeMirror-linenumber{text-shadow:0 1px 1px #4d4d4d;color:#111;padding:0 5px}.cm-s-ambiance .CodeMirror-guttermarker{color:#aaa}.cm-s-ambiance .CodeMirror-guttermarker-subtle{color:#111}.cm-s-ambiance .CodeMirror-cursor{border-left:1px solid #7991e8}.cm-s-ambiance .CodeMirror-activeline-background{background:0% 0% rgba(255,255,255,.031)}.cm-s-ambiance .CodeMirror-gutters,.cm-s-ambiance.CodeMirror{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAQAAAAHUWYVAABFFUlEQVQYGbzBCeDVU/74/6fj9HIcx/FRHx9JCFmzMyGRURhLZIkUsoeRfUjS2FNDtr6WkMhO9sm+S8maJfu+Jcsg+/o/c+Z4z/t97/vezy3z+z8ekGlnYICG/o7gdk+wmSHZ1z4pJItqapjoKXWahm8NmV6eOTbWUOp6/6a/XIg6GQqmenJ2lDHyvCFZ2cBDbmtHA043VFhHwXxClWmeYAdLhV00Bd85go8VmaFCkbVkzlQENzfBDZ5gtN7HwF0KDrTwJ0dypSOzpaKCMwQHKTIreYIxlmhXTzTWkVm+LTynZhiSBT3RZQ7aGfjGEd3qyXQ1FDymqbKxpspERQN2MiRjNZlFFQXfCNFm9nM1zpAsoYjmtRTc5ajwuaXc5xrWskT97RaKzAGe5ARHhVUsDbjKklziiX5WROcJwSNCNI+9w1Jwv4Zb2r7lCMZ4oq5C0EdTx+2GzNuKpJ+iFf38JEWkHJn9DNF7mmBDITrWEg0VWL3pHU20tSZnuqWu+R3BtYa8XxV1HO7GyD32UkOpL/yDloINFTmvtId+nmAjxRw40VMwVKiwrKLE4bK5UOVntYwhOcSSXKrJHKPJedocpGjVz/ZMIbnYUPB10/eKCrs5apqpgVmWzBYWpmtKHecJPjaUuEgRDDaU0oZghCJ6zNMQ5ZhDYx05r5v2muQdM0EILtXUsaKiQX9WMEUotagQzFbUNN6NUPC2nm5pxEWGCjMc3GdJHjSU2kORLK/JGSrkfGEIjncU/CYUnOipoYemwj8tST9NsJmB7TUVXtbUtXATJVZXBMvYeTXJfobgJUPmGMP/yFaWonaa6BcFO3nqcIqCozSZoZoSr1g4zJOzuyGnxTEX3lUEJ7WcZgme8ddaWvWJo2AJR9DZU3CUIbhCSG6ybSwN6qtJVnCU2svDTP2ZInOw2cBTrqtQahtNZn9NcJ4l2NaSmSkkP1noZWnVwkLmdUPOwLZEwy2Z3S3R+4rIG9hcbpPXHFVWcQdZkn2FOta3cKWQnNRC5g1LsJah4GCzSVsKnCOY5OAFRTBekyyryeyilhFKva75r4Mc0aWanGEaThcy31s439KKxTzJYY5WTHPU1FtIHjQU3Oip4xlNzj/lBw23dYZVliQa7WAXf4shetcQfatI+jWRDBPmyNeW6A1P5kdDgyYJlba0BIM8BZu1JfrFwItyjcAMR3K0BWOIrtMEXyhyrlVEx3ui5dUBjmB/Q3CXW85R4mBD0s7B+4q5tKUjOlb9qqmhi5AZ6GFIC5HXtOobdYGlVdMVbNJ8toNTFcHxnoL+muBagcctjWnbNMuR00uI7nQESwg5q2qqrKWIfrNUmeQocY6HuyxJV02wj36w00yhpmUFenv4p6fUkZYqLyuinx2RGOjhCXYyJF84oiU00YMOOhhquNdfbOB7gU88pY4xJO8LVdp6/q2voeB4R04vIdhSE40xZObx1HGGJ/ja0LBthFInKaLPPFzuCaYaoj8JjPME8yoyxo6zlBqkiUZYgq00OYMswbWO5NGmq+xhipxHLRW29ARjNKXO0wRnear8XSg4XFPLKEPUS1GqvyLwiuBUoa7zpZ0l5xxFwWmWZC1H5h5FwU8eQ7K+g8UcVY6TMQreVQT/8uQ8Z+ALIXnSEa2pYZQneE9RZbSBNYXfWYJzW/h/4j4Dp1tYVcFIC5019Vyi4ThPqSFCzjGWaHQTBU8q6vrVwgxP9Lkm840imWKpcLCjYTtrKuwvsKSnrvHCXGkSMk9p6lhckfRpIeis+N2PiszT+mFLspyGleUhDwcLrZqmyeylxwjBcKHEapqkmyangyLZRVOijwOtCY5SsG5zL0OwlCJ4y5KznF3EUNDDrinwiyLZRzOXtlBbK5ITHFGLp8Q0R6ab6mS7enI2cFrxOyHvOCFaT1HThS1krjCwqWeurCkk+willhCC+RSZnRXBiZaC5RXRIZYKp2lyfrHwiKPKR0JDzrdU2EFgpidawlFDR6FgXUMNa+g1FY3bUQh2cLCwosRdnuQTS/S+JVrGLeWIvtQUvONJxlqSQYYKpwoN2kaocLjdVsis4Mk80ESF2YpSkzwldjHkjFCUutI/r+EHDU8oCs6yzL3PhWiEooZdFMkymlas4AcI3KmoMMNSQ3tHzjGWCrcJJdYyZC7QFGwjRL9p+MrRkAGWzIaWCn9W0F3TsK01c2ZvQw0byvxuQU0r1lM0qJO7wW0kRIMdDTtXEdzi4VIh+EoIHm0mWtAtpCixlabgn83fKTI7anJe9ST7WIK1DMGpQmYeA58ImV6ezOGOzK2Kgq01pd60cKWiUi9Lievb/0vIDPHQ05Kzt4ddPckQBQtoaurjyHnek/nKzpQLrVgKPjIkh2v4uyezpv+Xoo7fPFXaGFp1vaLKxQ4uUpQQS5VuQs7BCq4xRJv7fwpVvvFEB3j+620haOuocqMhWd6TTPAEx+mdFNGHdranFe95WrWmIvlY4F1Dle2ECgc6cto7SryuqGGGha0tFQ5V53migUKmg6XKAo4qS3mik+0OZpAhOLeZKicacgaYcyx5hypYQE02ZA4xi/pNhOQxR4klNKyqacj+mpxnLTnnGSo85++3ZCZq6lrZkXlGEX3o+C9FieccJbZWVFjC0Yo1FZnJhoYMFoI1hEZ9r6hwg75HwzBNhbZCdJEfJwTPGzJvaKImw1yYX1HDAmpXR+ZJQ/SmgqMNVQb5vgamGwLtt7VwvP7Qk1xpiM5x5Cyv93E06MZmgs0Nya2azIKOYKCGBQQW97RmhKNKF02JZqHEJ4o58qp7X5EcZmc56trXEqzjCBZ1MFGR87Ql2tSTs6CGxS05PTzRQorkbw7aKoKXFDXsYW42VJih/q+FP2BdTzDTwVqOYB13liM50vG7wy28qagyuIXMeQI/Oqq8bcn5wJI50xH00CRntyfpL1T4hydYpoXgNiFzoIUTDZnLNRzh4TBHwbYGDvZkxmlyJloyr6tRihpeUG94GnKtIznREF0tzJG/OOr73JBcrSh1k6WuTprgLU+mnSGnv6Zge0NNz+kTDdH8nuAuTdJDCNb21LCiIuqlYbqGzT3RAoZofQfjFazkqeNWdYaGvYTM001EW2oKPvVk1ldUGSgUtHFwjKM1h9jnFcmy5lChoLNaQMGGDsYbKixlaMBmmsx1QjCfflwTfO/gckW0ruZ3jugKR3R5W9hGUWqCgxuFgsuaCHorotGKzGaeZB9DMsaTnKCpMtwTvOzhYk0rdrArKCqcaWmVk1+F372ur1YkKxgatI8Qfe1gIX9wE9FgS8ESmuABIXnRUbCapcKe+nO7slClSZFzpV/LkLncEb1qiO42fS3R855Su2mCLh62t1SYZZYVmKwIHjREF2uihTzB20JOkz7dkxzYQnK0UOU494wh+VWRc6Un2kpTaVgLDFEkJ/uhzRcI0YKGgpGWOlocBU/a4fKoJ/pEaNV6jip3+Es9VXY078rGnmAdf7t9ylPXS34RBSuYPs1UecZTU78WanhBCHpZ5sAoTz0LGZKjPf9TRypqWEiTvOFglL1fCEY3wY/++rbk7C8bWebA6p6om6PgOL2kp44TFJlVNBXae2rqqdZztOJpT87GQsE9jqCPIe9VReZuQ/CIgacsyZdCpIScSYqcZk8r+nsyCzhyfhOqHGOIvrLknC8wTpFcaYiGC/RU1NRbUeUpocQOnkRpGOrIOcNRx+1uA0UrzhSSt+VyS3SJpnFWkzNDqOFGIWcfR86DnmARTQ1HKIL33ExPiemeOhYSSjzlSUZZuE4TveoJLnBUOFof6KiysCbnAEcZgcUNTDOwkqWu3RWtmGpZwlHhJENdZ3miGz0lJlsKnjbwqSHQjpxnFDlTLLwqJPMZMjd7KrzkSG7VsxXBZE+F8YZkb01Oe00yyRK9psh5SYh29ySPKBo2ylNht7ZkZnsKenjKNJu9PNEyZpaCHv4Kt6RQsLvAVp7M9kIimmCUwGeWqLMmGuIotYMmWNpSahkhZw9FqZsVnKJhsjAHvtHMsTM9fCI06Dx/u3vfUXCqfsKRc4oFY2jMsoo/7DJDwZ1CsIKnJu+J9ldkpmiCxQx1rWjI+T9FwcWWzOuaYH0Hj7klNRVWEQpmaqosakiGNTFHdjS/qnUdmf0NJW5xsL0HhimCCZZSRzmSPTXJQ4aaztAwtZnoabebJ+htCaZ7Cm535ByoqXKbX1WRc4Eh2MkRXWzImVc96Cj4VdOKVxR84VdQsIUM8Psoou2byVHyZFuq7O8otbSQ2UAoeEWTudATLGSpZzVLlXVkPU2Jc+27lsw2jmg5T5VhbeE3BT083K9WsTTkFU/Osi0rC5lRlpwRHUiesNS0sOvmqGML1aRbPAxTJD9ZKtxuob+hhl8cwYGWpJ8nub7t5p6coYbMovZ1BTdaKn1jYD6h4GFDNFyT/Kqe1XCXphXHOKLZmuRSRdBPEfVUXQzJm5YGPGGJdvAEr7hHNdGZnuBvrpciGmopOLf5N0uVMy0FfYToJk90uUCbJupaVpO53UJXR2bVpoU00V2KOo4zMFrBd0Jtz2pa0clT5Q5L8IpQ177mWQejPMEJhuQjS10ref6HHjdEhy1P1EYR7GtO0uSsKJQYLiTnG1rVScj5lyazpqWGl5uBbRWl7m6ixGOOnEsMJR7z8J0n6KMnCdxhiNYQCoZ6CmYLnO8omC3MkW3bktlPmEt/VQQHejL3+dOE5FlPdK/Mq8hZxxJtLyRrepLThYKbLZxkSb5W52vYxNOaOxUF0yxMUPwBTYqCzy01XayYK0sJyWBLqX0MwU5CzoymRzV0EjjeUeLgDpTo6ij42ZAzvD01dHUUTPLU96MdLbBME8nFBn7zJCMtJcZokn8YoqU0FS5WFKyniHobguMcmW8N0XkWZjkyN3hqOMtS08r+/xTBwpZSZ3qiVRX8SzMHHjfUNFjgHEPmY9PL3ykEzxkSre/1ZD6z/NuznuB0RcE1TWTm9zRgfUWVJiG6yrzgmWPXC8EAR4Wxhlad0ZbgQyEz3pG5RVEwwDJH2mgKpjcTiCOzn1lfUWANFbZ2BA8balnEweJC9J0iuaeZoI+ippFCztEKVvckR2iice1JvhVytrQwUAZpgsubCPaU7xUe9vWnaOpaSBEspalykhC9bUlOMpT42ZHca6hyrqKmw/wMR8H5ZmdFoBVJb03O4UL0tSNnvIeRmkrLWqrs78gcrEn2tpcboh0UPOW3UUR9PMk4T4nnNKWmCjlrefhCwxRNztfmIQVdDElvS4m1/WuOujoZCs5XVOjtKPGokJzsYCtFYoWonSPT21DheU/wWhM19FcElwqNGOsp9Q8N/cwXaiND1MmeL1Q5XROtYYgGeFq1aTMsoMmcrKjQrOFQTQ1fmBYhmW6o8Jkjc7iDJRTBIo5kgJD5yMEYA3srCg7VFKwiVJkmRCc5ohGOKhsYMn/XBLdo5taZjlb9YAlGWRimqbCsoY7HFAXLa5I1HPRxMMsQDHFkWtRNniqT9UEeNjcE7RUlrCJ4R2CSJuqlKHWvJXjAUNcITYkenuBRB84TbeepcqTj3zZyFJzgYQdHnqfgI0ddUwS6GqWpsKWhjq9cV0vBAEMN2znq+EBfIWT+pClYw5xsTlJU6GeIBsjGmmANTzJZiIYpgrM0Oa8ZMjd7NP87jxhqGOhJlnQtjuQpB+8aEE00wZFznSJPyHxgH3HkPOsJFvYk8zqCHzTs1BYOa4J3PFU+UVRZxlHDM4YavlNUuMoRveiZA2d7grMNc2g+RbSCEKzmgYsUmWmazFJyoiOZ4KnyhKOGRzWJa0+moyV4TVHDzn51Awtqaphfk/lRQ08FX1iiqxTB/kLwd0VynKfEvI6cd4XMV5bMhZ7gZUWVzYQ6Nm2BYzxJbw3bGthEUUMfgbGeorae6DxHtJoZ6alhZ0+ytiVoK1R4z5PTrOECT/SugseEOlb1MMNR4VRNcJy+V1Hg9ONClSZFZjdHlc6W6FBLdJja2MC5hhpu0DBYEY1TFGwiFAxRRCsYkiM9JRb0JNMVkW6CZYT/2EiTGWmo8k+h4FhDNE7BvppoTSFnmCV5xZKzvcCdDo7VVPnIU+I+Rc68juApC90MwcFCsJ5hDqxgScYKreruyQwTqrzoqDCmhWi4IbhB0Yrt3RGa6GfDv52rKXWhh28dyZaWUvcZeMTBaZoSGyiCtRU5J8iviioHaErs7Jkj61syVzTTgOcUOQ8buFBTYWdL5g3T4qlpe0+wvD63heAXRfCCIed9RbCsp2CiI7raUOYOTU13N8PNHvpaGvayo4a3LLT1lDrVEPT2zLUlheB1R+ZTRfKWJ+dcocLJfi11vyJ51lLqJ0WD7tRwryezjiV5W28uJO9qykzX8JDe2lHl/9oyBwa2UMfOngpXCixvKdXTk3wrsKmiVYdZIqsoWEERjbcUNDuiaQomGoIbFdEHmsyWnuR+IeriKDVLnlawlyNHKwKlSU631PKep8J4Q+ayjkSLKYLhalNHlYvttb6fHm0p6OApsZ4l2VfdqZkjuysy6ysKLlckf1KUutCTs39bmCgEyyoasIWlVaMF7mgmWtBT8Kol5xpH9IGllo8cJdopcvZ2sImlDmMIbtDk3KIpeNiS08lQw11NFPTwVFlPP6pJ2gvRfI7gQUfmNAtf6Gs0wQxDsKGlVBdF8rCa3jzdwMaGHOsItrZk7hAyOzpK9VS06j5F49b0VNGOOfKs3lDToMsMBe9ZWtHFEgxTJLs7qrygKZjUnmCYoeAqeU6jqWuLJup4WghOdvCYJnrSkSzoyRkm5M2StQwVltPkfCAk58tET/CSg+8MUecmotMEnhBKfWBIZsg2ihruMJQaoIm+tkTLKEqspMh00w95gvFCQRtDwTT1gVDDSEVdlwqZfxoQRbK0g+tbiBZxzKlpnpypejdDwTaeOvorMk/IJE10h9CqRe28hhLbe0pMsdSwv4ZbhKivo2BjDWfL8UKJgeavwlwb5KlwhyE4u4XkGE2ytZCznKLCDZZq42VzT8HLCrpruFbIfOIINmh/qCdZ1ZBc65kLHR1Bkyf5zn6pN3SvGKIlFNGplhrO9QSXanLOMQTLCa0YJCRrCZm/CZmrLTm7WzCK4GJDiWUdFeYx1LCFg3NMd0XmCuF3Y5rITLDUsYS9zoHVzwnJoYpSTQoObyEzr4cFBNqYTopoaU/wkyLZ2lPhX/5Y95ulxGTV7KjhWrOZgl8MyUUafjYraNjNU1N3IWcjT5WzWqjwtoarHSUObGYO3GCJZpsBlnJGPd6ZYLyl1GdCA2625IwwJDP8GUKymbzuyPlZlvTUsaUh5zFDhRWFzPKKZLAlWdcQbObgF9tOqOsmB1dqcqYJmWstFbZRRI9poolmqiLnU0POvxScpah2iSL5UJNzgScY5+AuIbpO0YD3NCW+dLMszFSdFCWGqG6eVq2uYVNDdICGD6W7EPRWZEY5gpsE9rUkS3mijzzJnm6UpUFXG1hCUeVoS5WfNcFpblELL2qqrCvMvRfd45oalvKU2tiQ6ePJOVMRXase9iTtLJztPxJKLWpo2CRDcJwn2sWSLKIO1WQWNTCvpVUvOZhgSC40JD0dOctaSqzkCRbXsKlb11Oip6PCJ0IwSJM31j3akRxlP7Rwn6aGaUL0qiLnJkvB3xWZ2+Q1TfCwpQH3G0o92UzmX4o/oJNQMMSQc547wVHhdk+VCw01DFYEnTxzZKAm74QmeNNR1w6WzEhNK15VJzuCdxQ53dRUDws5KvwgBMOEgpcVNe0hZI6RXT1Jd0cyj5nsaEAHgVmGaJIlWdsc5Ui2ElrRR6jrRAttNMEAIWrTDFubkZaok7/AkzfIwfuWVq0jHzuCK4QabtLUMVPB3kJ0oyHTSVFlqMALilJf2Rf8k5aaHtMfayocLBS8L89oKoxpJvnAkDPa0qp5DAUTHKWmCcnthlou8iCKaFFLHWcINd1nyIwXqrSxMNmSs6KmoL2QrKuWtlQ5V0120xQ5vRyZS1rgFkWwhiOwiuQbR0OOVhQM9iS3tiXp4RawRPMp5tDletOOBL95MpM01dZTBM9pkn5qF010rIeHFcFZhmSGpYpTsI6nwhqe5C9ynhlpp5ophuRb6WcJFldkVnVEwwxVfrVkvnWUuNLCg5bgboFHPDlDPDmnK7hUrWiIbjadDclujlZcaokOFup4Ri1kacV6jmrrK1hN9bGwpKEBQ4Q6DvIUXOmo6U5LqQM6EPyiKNjVkPnJkDPNEaxhiFay5ExW1NXVUGqcpYYdPcGiCq7z/TSlbhL4pplWXKd7NZO5QQFrefhRQW/NHOsqcIglc4UhWklR8K0QzbAw08CBDnpbgqXdeD/QUsM4RZXDFBW6WJKe/mFPdH0LtBgiq57wFLzlyQzz82qYx5D5WJP5yVJDW01BfyHnS6HKO/reZqId1WGa4Hkh2kWodJ8i6KoIPlAj2hPt76CzXsVR6koPRzWTfKqIentatYpQw2me4AA3y1Kind3SwoOKZDcFXTwl9tWU6mfgRk9d71sKtlNwrjnYw5tC5n5LdKiGry3JKNlHEd3oaMCFHrazBPMp/uNJ+V7IudcSbeOIdjUEdwl0VHCOZo5t6YluEuaC9mQeMgSfOyKnYGFHcIeQ84yQWbuJYJpZw5CzglDH7gKnWqqM9ZTaXcN0TeYhR84eQtJT76JJ1lREe7WnnvsMmRc9FQ7SBBM9mV3lCUdmHk/S2RAMt0QjFNFqQpWjDPQ01DXWUdDBkXziKPjGEP3VP+zIWU2t7im41FOloyWzn/L6dkUy3VLDaZ6appgDLHPjJEsyvJngWEPUyVBiAaHCTEXwrLvSEbV1e1gKJniicWorC1MUrVjB3uDhJE/wgSOzk1DXpk0k73qCM8xw2UvD5kJmDUfOomqMpWCkJRlvKXGmoeBm18USjVIk04SClxTB6YrgLAPLWYK9HLUt5cmc0vYES8GnTeRc6skZbQkWdxRsIcyBRzx1DbTk9FbU0caTPOgJHhJKnOGIVhQqvKmo0llRw9sabrZkDtdg3PqaKi9oatjY8B+G371paMg6+mZFNNtQ04mWBq3rYLOmtWWQp8KJnpy9DdFensyjdqZ+yY40VJlH8wcdLzC8PZnvHMFUTZUrDTkLyQaGus5X5LzpYAf3i+e/ZlhqGqWhh6Ou6xTR9Z6oi5AZZtp7Mj2EEm8oSpxiYZCHU/1fbGdNNNRRoZMhmilEb2gqHOEJDtXkHK/JnG6IrvbPCwV3NhONVdS1thBMs1T4QOBcTWa2IzhMk2nW5Kyn9tXUtpv9RsG2msxk+ZsQzRQacJncpgke0+T8y5Fzj8BiGo7XlJjaTIlpQs7KFjpqGnKuoyEPeIKnFMkZHvopgh81ySxNFWvJWcKRs70j2FOT012IllEEO1n4pD1513Yg2ssQPOThOkvyrqHUdEXOSEsihmBbTbKX1kLBPWqWkLOqJbjB3GBIZmoa8qWl4CG/iZ7oiA72ZL7TJNeZUY7kFQftDcHHluBzRbCegzMtrRjVQpX2lgoPKKLJAkcbMl01XK2p7yhL8pCBbQ3BN2avJgKvttcrWDK3CiUOVxQ8ZP+pqXKyIxnmBymCg5vJjNfkPK4+c8cIfK8ocVt7kmfd/I5SR1hKvCzUtb+lhgc00ZaO6CyhIQP1Uv4yIZjload72PXX0OIJvnFU+0Zf6MhsJwTfW0r0UwQfW4LNLZl5HK261JCZ4qnBaAreVAS3WrjV0LBnNDUNNDToCEeFfwgcb4gOEqLRhirWkexrCEYKVV711DLYEE1XBEsp5tpTGjorkomKYF9FDXv7fR3BGwbettSxnyL53MBPjsxDZjMh+VUW9NRxq1DhVk+FSxQcaGjV9Pawv6eGByw5qzoy7xk4RsOShqjJwWKe/1pEEfzkobeD/dQJmpqedcyBTy2sr4nGNRH0c0SPWTLrqAc0OQcb/gemKgqucQT7ySWKCn2EUotoCvpZct7RO2sy/QW0IWcXd7pQRQyZVwT2USRO87uhjioTLKV2brpMUcMQRbKH/N2T+UlTpaMls6cmc6CCNy3JdYYSUzzJQ4oSD3oKLncULOiJvjBEC2oqnCJkJluCYy2ZQ5so9YYlZ1VLlQU1mXEW1jZERwj/MUSRc24TdexlqLKfQBtDTScJUV8FszXBEY5ktpD5Ur9hYB4Nb1iikw3JoYpkKX+RodRKFt53MMuRnKSpY31PwYaGaILh3wxJGz9TkTPEETxoCWZrgvOlmyMzxFEwVJE5xZKzvyJ4WxEc16Gd4Xe3Weq4XH2jKRikqOkGQ87hQnC7wBmGYLAnesX3M+S87eFATauuN+Qcrh7xIxXJbUIdMw3JGE3ylCWzrieaqCn4zhGM19TQ3z1oH1AX+pWEqIc7wNGAkULBo/ZxRaV9NNyh4Br3rCHZzbzmSfawBL0dNRwpW1kK9mxPXR9povcdrGSZK9c2k0xwFGzjuniCtRSZCZ6ccZ7gaktmgAOtKbG/JnOkJrjcQTdFMsxRQ2cLY3WTIrlCw1eWKn8R6pvt4GFDso3QoL4a3nLk3G6JrtME3dSenpx7PNFTmga0EaJTLQ061sEeQoWXhSo9LTXsaSjoJQRXeZLtDclbCrYzfzHHeaKjHCVOUkQHO3JeEepr56mhiyaYYKjjNU+Fed1wS5VlhWSqI/hYUdDOkaxiKehoyOnrCV5yBHtbWFqTHCCwtpDcYolesVR5yUzTZBb3RNMd0d6WP+SvhuBmRcGxnuQzT95IC285cr41cLGQ6aJJhmi4TMGempxeimBRQw1tFKV+8jd6KuzoSTqqDxzRtpZkurvKEHxlqXKRIjjfUNNXQsNOsRScoWFLT+YeRZVD3GRN0MdQcKqQjHDMrdGGVu3iYJpQx3WGUvfbmxwFfR20WBq0oYY7LMFhhgYtr8jpaEnaOzjawWWaTP8mMr0t/EPDPoqcnxTBI5o58L7uoWnMrpoqPwgVrlAUWE+V+TQl9rawoyP6QGAlQw2TPRX+YSkxyBC8Z6jhHkXBgQL7WII3DVFnRfCrBfxewv9D6xsyjys4VkhWb9pUU627JllV0YDNHMku/ldNMMXDEo4aFnAkk4U6frNEU4XgZUPmEKHUl44KrzmYamjAbh0JFvGnaTLPu1s9jPCwjFpYiN7z1DTOk/nc07CfDFzmCf7i+bfNHXhDtLeBXzTBT5rkMvWOIxpl4EMh2LGJBu2syDnAEx2naEhHDWMMzPZEhygyS1mS5RTJr5ZkoKbEUoYqr2kqdDUE8ztK7OaIntJkFrIECwv8LJTaVx5XJE86go8dFeZ3FN3rjabCAYpoYEeC9zzJVULBbmZhDyd7ko09ydpNZ3nm2Kee4FPPXHnYEF1nqOFEC08LUVcDvYXkJHW8gTaKCk9YGOeIJhqiE4ToPEepdp7IWFjdwnWaufGMwJJCMtUTTBBK9BGCOy2tGGrJTHIwyEOzp6aPzNMOtlZkDvcEWpP5SVNhfkvDxhmSazTJXYrM9U1E0xwFVwqZQwzJxw6+kGGGUj2FglGGmnb1/G51udRSMNlTw6GGnCcUwVcOpmsqTHa06o72sw1RL02p9z0VbnMLOaIX3QKaYKSCFQzBKEUNHTSc48k53RH9wxGMtpQa5KjjW0W0n6XCCCG4yxNNdhQ4R4l1Ff+2sSd6UFHiIEOyqqFgT01mEUMD+joy75jPhOA+oVVLm309FR4yVOlp4RhLiScNmSmaYF5Pw0STrOIoWMSR2UkRXOMp+M4SHW8o8Zoi6OZgjKOaFar8zZDzkWzvKOjkKBjmCXby8JahhjXULY4KlzgKLvAwxVGhvyd4zxB1d9T0piazmKLCVZY5sKiD0y2ZSYrkUEPUbIk+dlQ4SJHTR50k1DPaUWIdTZW9NJwnJMOECgd7ou/MnppMJ02O1VT4Wsh85MnZzcFTngpXGKo84qmwgKbCL/orR/SzJ2crA+t6Mp94KvxJUeIbT3CQu1uIdlQEOzlKfS3UMcrTiFmOuroocrZrT2AcmamOKg8YomeEKm/rlT2sociMaybaUlFhuqHCM2qIJ+rg4EcDFymiDSxzaHdPcpE62pD5kyM5SBMoA1PaUtfIthS85ig1VPiPPYXgYEMNk4Qq7TXBgo7oT57gPUdwgCHzhIVFPFU6OYJzHAX9m5oNrVjeE61miDrqQ4VSa1oiURTsKHC0IfjNwU2WzK6eqK8jWln4g15TVBnqmDteCJ501PGAocJhhqjZdtBEB6lnhLreFJKxmlKbeGrqLiSThVIbCdGzloasa6lpMQXHCME2boLpJgT7yWaemu6wBONbqGNVRS0PKIL7LckbjmQtR7K8I5qtqel+T/ChJTNIKLjdUMNIRyvOEko9YYl2cwQveBikCNawJKcLBbc7+JM92mysNvd/Fqp8a0k6CNEe7cnZrxlW0wQXaXjaktnRwNOGZKYiONwS7a1JVheq3WgJHlQUGKHKmp4KAxXR/ULURcNgoa4zhKSLpZR3kxRRb0NmD0OFn+UCS7CzI1nbP6+o4x47QZE5xRCt3ZagnYcvmpYQktXdk5YKXTzBC57kKEe0VVuiSYqapssMS3C9p2CKkHOg8B8Pa8p5atrIw3qezIWanMGa5HRDNF6RM9wcacl0N+Q8Z8hsIkSnaIIdHRUOEebAPy1zbCkhM062FCJtif7PU+UtoVXzWKqM1PxXO8cfdruhFQ/a6x3JKYagvVDhQEtNiyiiSQ7OsuRsZUku0CRNDs4Sog6KKjsZgk2bYJqijgsEenoKeniinRXBn/U3lgpPdyDZynQx8IiioMnCep5Ky8mjGs6Wty0l1hUQTcNWswS3WRp2kCNZwJG8omG8JphPUaFbC8lEfabwP7VtM9yoaNCAjpR41VNhrD9LkbN722v0CoZMByFzhaW+MyzRYEWFDQwN2M4/JiT76PuljT3VU/A36eaIThb+R9oZGOAJ9tewkgGvqOMNRWYjT/Cwu99Q8LqDE4TgbLWxJ1jaDDAERsFOFrobgjUsBScaguXU8kKm2RL19tRypSHnHNlHiIZqgufs4opgQdVdwxBNNFBR6kVFqb8ogimOzB6a6HTzrlDHEpYaxjiiA4TMQobkDg2vejjfwJGWmnbVFAw3H3hq2NyQfG7hz4aC+w3BbwbesG0swYayvpAs6++Ri1Vfzx93mFChvyN5xVHTS+0p9aqCAxyZ6ZacZyw5+7uuQkFPR9DDk9NOiE7X1PCYJVjVUqq7JlrHwWALF5nfHNGjApdpqgzx5OwilDhCiDYTgnc9waGW4BdLNNUQvOtpzDOWHDH8D7TR/A/85KljEQu3NREc4Pl/6B1Hhc8Umb5CsKMmGC9EPcxoT2amwHNCmeOEnOPbklnMkbOgIvO5UMOpQrS9UGVdt6iH/fURjhI/WOpaW9OKLYRod6HCUEdOX000wpDZQ6hwg6LgZfOqo1RfT/CrJzjekXOGhpc1VW71ZLbXyyp+93ILbC1kPtIEYx0FIx1VDrLoVzXRKRYWk809yYlC9ImcrinxtabKnzRJk3lAU1OLEN1j2zrYzr2myHRXJFf4h4QKT1qSTzTB5+ZNTzTRkAxX8FcLV2uS8eoQQ2aAkFzvCM72sJIcJET3WPjRk5wi32uSS9rfZajpWEvj9hW42F4o5NytSXYy8IKHay10VYdrcl4SkqscrXpMwyGOgtkajheSxdQqmpxP1L3t4R5PqasFnrQEjytq6qgp9Y09Qx9o4S1FzhUCn1kyHSzBWLemoSGvOqLNhZyBjmCaAUYpMgt4Ck7wBBMMwWKWgjsUwTaGVsxWC1mYoKiyqqeGKYqonSIRQ3KIkHO0pmAxTdBHkbOvfllfr+AA+7gnc50huVKYK393FOyg7rbPO/izI7hE4CnHHHnJ0ogNPRUGeUpsrZZTBJcrovUcJe51BPsr6GkJdhCCsZ6aTtMEb2pqWkqeVtDXE/QVggsU/Nl86d9RMF3DxvZTA58agu810RWawCiSzzXBeU3MMW9oyJUedvNEvQyNu1f10BSMddR1vaLCYpYa/mGocLSiYDcLbQz8aMn5iyF4xBNMs1P0QEOV7o5gaWGuzSeLue4tt3ro7y4Tgm4G/mopdZgl6q0o6KzJWE3mMksNr3r+a6CbT8g5wZNzT9O7fi/zpaOmnz3BRoqos+tv9zMbdpxsqDBOEewtJLt7cg5wtKKbvldpSzRRCD43VFheCI7yZLppggMVBS/KMAdHODJvOwq2NQSbKKKPLdFWQs7Fqo+mpl01JXYRgq8dnGLhTiFzqmWsUMdpllZdbKlyvSdYxhI9YghOtxR8LgSLWHK62mGGVoxzBE8LNWzqH9CUesQzFy5RQzTc56mhi6fgXEWwpKfE5Z7M05ZgZUPmo6auiv8YKzDYwWBLMErIbKHJvOwIrvEdhOBcQ9JdU1NHQ7CXn2XIDFBKU2WAgcX9UAUzDXWd5alwuyJ41Z9rjKLCL4aCp4WarhPm2rH+SaHUYE001JDZ2ZAzXPjdMpZWvC9wmqIB2lLhQ01D5jO06hghWMndbM7yRJMsoCj1vYbnFQVrW9jak3OlEJ3s/96+p33dEPRV5GxiqaGjIthUU6FFEZyqCa5qJrpBdzSw95IUnOPIrCUUjRZQFrbw5PR0R1qiYx3cb6nrWUMrBmmiBQxVHtTew5ICP/ip6g4hed/Akob/32wvBHsIOX83cI8hGeNeNPCIkPmXe8fPKx84OMSRM1MTdXSwjCZ4S30jVGhvqTRak/OVhgGazHuOCud5onEO1lJr6ecVyaOK6H7zqlBlIaHE0oroCgfvGJIdPcmfLNGLjpz7hZwZQpUbFME0A1cIJa7VNORkgfsMBatbKgwwJM9bSvQXeNOvbIjelg6WWvo5kvbKaJJNHexkKNHL9xRyFlH8Ti2riB5wVPhUk7nGkJnoCe428LR/wRGdYIlmWebCyxou1rCk4g/ShugBDX0V0ZQWkh0dOVsagkM0yV6OoLd5ye+pRlsCr0n+KiQrGuq5yJDzrTAXHtLUMduTDBVKrSm3eHL+6ijxhFDX9Z5gVU/wliHYTMiMFpKLNMEywu80wd3meoFmt6VbRMPenhrOc6DVe4pgXU8DnnHakLOIIrlF4FZPIw6R+zxBP0dyq6OOZ4Q5sLKCcz084ok+VsMMyQhNZmmBgX5xIXOEJTmi7VsGTvMTNdHHhpzdbE8Du2oKxgvBqQKdDDnTFOylCFaxR1syz2iqrOI/FEpNc3C6f11/7+ASS6l2inq2ciTrCCzgyemrCL5SVPjQkdPZUmGy2c9Sw9FtR1sS30RmsKPCS4rkIC/2U0MduwucYolGaPjKEyhzmiPYXagyWbYz8LWBDdzRimAXzxx4z8K9hpzlhLq+NiQ97HuKorMUfK/OVvC2JfiHUPCQI/q7J2gjK+tTDNxkCc4TMssqCs4TGtLVwQihyoAWgj9bosU80XGW6Ac9TJGziaUh5+hnFcHOnlaM1iRn29NaqGENTTTSUHCH2tWTeV0osUhH6psuVLjRUmGWhm6OZEshGeNowABHcJ2Bpy2ZszRcKkRXd2QuKVEeXnbfaEq825FguqfgfE2whlChSRMdron+LATTPQ2Z369t4B9C5gs/ylzv+CMmepIDPclFQl13W0rspPd1JOcbghGOEutqCv5qacURQl3dDKyvyJlqKXGPgcM9FfawJAMVmdcspcYKOZc4GjDYkFlK05olNMHyHn4zFNykyOxt99RkHlfwmiHo60l2EKI+mhreEKp080Tbug08BVPcgoqC5zWt+NLDTZ7oNSF51N1qie7Va3uCCwyZbkINf/NED6jzOsBdZjFN8oqG3wxVunqCSYYKf3EdhJyf9YWGf7tRU2oH3VHgPr1fe5J9hOgHd7xQ0y7qBwXr23aGErP0cm64JVjZwsOGqL+mhNgZmhJLW2oY4UhedsyBgzrCKrq7BmcpNVhR6jBPq64Vgi+kn6XE68pp8J5/+0wRHGOpsKenQn9DZntPzjRLZpDAdD2fnSgkG9tmIXnUwQ6WVighs7Yi2MxQ0N3CqYaCXkJ0oyOztMDJjmSSpcpvlrk0RMMOjmArQ04PRV1DO1FwhCVaUVPpKUM03JK5SxPsIWRu8/CGHi8UHChiqGFDTbSRJWeYUDDcH6vJWUxR4k1FXbMUwV6e4AJFXS8oMqsZKqzvYQ9DDQdZckY4aGsIhtlubbd2r3j4QBMoTamdPZk7O/Bf62lacZwneNjQoGcdVU7zJOd7ghsUHOkosagic6cnWc8+4gg285R6zZP5s1/LUbCKIznTwK36PkdwlOrl4U1LwfdCCa+IrvFkmgw1PCAUXKWo0sURXWcI2muKJlgyFzhynCY4RBOsqCjoI1R5zREco0n2Vt09BQtYSizgKNHfUmUrQ5UOCh51BFcLmY7umhYqXKQomOop8bUnWNNQcIiBcYaC6xzMNOS8JQQfeqKBmmglB+97ok/lfk3ygaHSyZaCRTzRxQo6GzLfa2jWBPepw+UmT7SQEJyiyRkhBLMVOfcoMjcK0eZChfUNzFAUzCsEN5vP/X1uP/n/aoMX+K+nw/Hjr/9xOo7j7Pju61tLcgvJpTWXNbfN5jLpi6VfCOviTktKlFusQixdEKWmEBUKNaIpjZRSSOXSgzaaKLdabrm1/9nZ+/f+vd/vz/v9+Xy+zZ7PRorYoZqyLrCwQdEAixxVOEXNNnjX2nUSRlkqGmWowk8lxR50JPy9Bo6qJXaXwNvREBvnThPEPrewryLhcAnj5WE15Fqi8W7R1sAuEu86S4ENikItFN4xkv9Af4nXSnUVcLiA9xzesFpivRRVeFKtsMRaKBhuSbjOELnAUtlSQUpXgdfB4Z1oSbnFEetbQ0IrAe+Y+pqnDcEJFj6S8LDZzZHwY4e3XONNlARraomNEt2bkvGsosA3ioyHm+6jCMbI59wqt4eeara28IzEmyPgoRaUOEDhTVdEJhmCoTWfC0p8aNkCp0oYqih2iqGi4yXeMkOsn4LdLLnmKfh/YogjNsPebeFGR4m9BJHLzB61XQ3BtpISfS2FugsK9FAtLWX1dCRcrCnUp44CNzuCowUZmxSRgYaE6Za0W2u/E7CVXCiI/UOR8aAm1+OSyE3mOUcwyc1zBBeoX1kiKy0Zfxck1Gsyulti11i83QTBF5Kg3pDQThFMVHiPSlK+0cSedng/VaS8bOZbtsBcTcZAR8JP5KeqQ1OYKAi20njdNNRpgnsU//K+JnaXJaGTomr7aYIphoRn9aeShJWKEq9LcozSF7QleEfDI5LYm5bgVkFkRwVDBCVu0DDIkGupo8TZBq+/pMQURYErJQmPKGKjNDkWOLx7Jd5QizdUweIaKrlP7SwJDhZvONjLkOsBBX9UpGxnydhXkfBLQ8IxgojQbLFnJf81JytSljclYYyEFyx0kVBvKWOFJmONpshGAcsduQY5giVNCV51eOdJYo/pLhbvM0uDHSevNKRcrKZIqnCtJeEsO95RoqcgGK4ocZcho1tTYtcZvH41pNQ7vA0WrhIfOSraIIntIAi+NXWCErdbkvrWwjRLrt0NKUdL6KSOscTOdMSOUtBHwL6OLA0vNSdynaWQEnCpIvKaIrJJEbvHkmuNhn6OjM8VkSGSqn1uYJCGHnq9I3aLhNME3t6GjIkO7xrNFumpyTNX/NrwX7CrIRiqqWijI9JO4d1iieykyfiposQIQ8YjjsjlBh6oHWbwRjgYJQn2NgSnNycmJAk3NiXhx44Sxykihxm8ybUwT1OVKySc7vi3OXVkdBJ4AyXBeksDXG0IhgtYY0lY5ahCD0ehborIk5aUWRJviMA7Xt5kyRjonrXENkm8yYqgs8VzgrJmClK20uMM3jRJ0FiQICQF9hdETlLQWRIb5ki6WDfWRPobvO6a4GP5mcOrNzDFELtTkONLh9dXE8xypEg7z8A9jkhrQ6Fhjlg/QVktJXxt4WXzT/03Q8IaQWSqIuEvloQ2mqC9Jfi7wRul4RX3pSPlzpoVlmCtI2jvKHCFhjcM3sN6lqF6HxnKelLjXWbwrpR4xzuCrTUZx2qq9oAh8p6ixCUGr78g8oyjRAtB5CZFwi80VerVpI0h+IeBxa6Zg6kWvpDHaioYYuEsRbDC3eOmC2JvGYLeioxGknL2UATNJN6hmtj1DlpLvDVmocYbrGCVJKOrg4X6DgddLA203BKMFngdJJFtFd7vJLm6KEpc5yjQrkk7M80SGe34X24nSex1Ra5Omgb71JKyg8SrU3i/kARKwWpH0kOGhKkObyfd0ZGjvyXlAkVZ4xRbYJ2irFMkFY1SwyWxr2oo4zlNiV+7zmaweFpT4kR3kaDAFW6xpSqzJay05FtYR4HmZhc9UxKbbfF2V8RG1MBmSaE+kmC6JnaRXK9gsiXhJHl/U0qM0WTcbyhwkYIvFGwjSbjfwhiJt8ZSQU+Bd5+marPMOkVkD0muxYLIfEuhh60x/J92itguihJSEMySVPQnTewnEm+620rTQEMsOfo4/kP/0ARvWjitlpSX7GxBgcMEsd3EEeYWvdytd+Saawi6aCIj1CkGb6Aj9rwhx16Cf3vAwFy5pyLhVonXzy51FDpdEblbkdJbUcEPDEFzQ8qNmhzzLTmmKWKbFCXeEuRabp6rxbvAtLF442QjQ+wEA9eL1xSR7Q0JXzlSHjJ4exq89yR0laScJ/FW6z4a73pFMEfDiRZvuvijIt86RaSFOl01riV2mD1UEvxGk/Geg5aWwGki1zgKPG9J2U8PEg8qYvMsZeytiTRXBMslCU8JSlxi8EabjwUldlDNLfzTUmCgxWsjqWCOHavYAqsknKFIO0yQ61VL5AVFxk6WhEaCAkdJgt9aSkzXlKNX2jEa79waYuc7gq0N3GDJGCBhoiTXUEPsdknCUE1CK0fwsiaylSF2uiDyO4XX3pFhNd7R4itFGc0k/ElBZwWvq+GC6szVeEoS/MZ+qylwpKNKv9Z469UOjqCjwlusicyTxG6VpNxcQ8IncoR4RhLbR+NdpGGmJWOcIzJGUuKPGpQg8rrG21dOMqQssJQ4RxH5jaUqnZuQ0F4Q+cjxLwPtpZbIAk3QTJHQWBE5S1BokoVtDd6lhqr9UpHSUxMcIYl9pojsb8h4SBOsMQcqvOWC2E8EVehqiJ1hrrAEbQxeK0NGZ0Gkq+guSRgniM23bIHVkqwx4hiHd7smaOyglyIyQuM978j4VS08J/A2G1KeMBRo4fBaSNhKUEZfQewVQ/C1I+MgfbEleEzCUw7mKXI0M3hd1EESVji8x5uQ41nxs1q4RMJCCXs7Iq9acpxn22oSDnQ/sJTxsCbHIYZiLyhY05TY0ZLIOQrGaSJDDN4t8pVaIrsqqFdEegtizc1iTew5Q4ayBDMUsQMkXocaYkc0hZua412siZ1rSXlR460zRJ5SlHGe5j801RLMlJTxtaOM3Q1pvxJ45zUlWFD7rsAbpfEm1JHxG0eh8w2R7QQVzBUw28FhFp5QZzq8t2rx2joqulYTWSuJdTYfWwqMFMcovFmSyJPNyLhE4E10pHzYjOC3huArRa571ZsGajQpQx38SBP5pyZB6lMU3khDnp0MBV51BE9o2E+TY5Ml2E8S7C0o6w1xvCZjf0HkVEHCzFoyNmqC+9wdcqN+Tp7jSDheE9ws8Y5V0NJCn2bk2tqSY4okdrEhx1iDN8cSudwepWmAGXKcJXK65H9to8jYQRH7SBF01ESUJdd0TayVInaWhLkOjlXE5irKGOnI6GSWGCJa482zBI9rCr0jyTVcEuzriC1vcr6mwFGSiqy5zMwxBH/TJHwjSPhL8+01kaaSUuMFKTcLEvaUePcrSmwn8DZrgikWb7CGPxkSjhQwrRk57tctmxLsb9sZvL9LSlyuSLlWkqOjwduo8b6Uv1DkmudIeFF2dHCgxVtk8dpIvHpBxhEOdhKk7OLIUSdJ+cSRY57B+0DgGUUlNfpthTfGkauzxrvTsUUaCVhlKeteTXCoJDCa2NOKhOmC4G1H8JBd4OBZReSRGkqcb/CO1PyLJTLB4j1q8JYaIutEjSLX8YKM+a6phdMsdLFUoV5RTm9JSkuDN8WcIon0NZMNZWh1q8C7SJEwV5HxrmnnTrf3KoJBlmCYI2ilSLlfEvlE4011NNgjgthzEua0oKK7JLE7HZHlEl60BLMVFewg4EWNt0ThrVNEVkkiTwpKXSWJzdRENgvKGq4IhjsiezgSFtsfCUq8qki5S1LRQeYQQ4nemmCkImWMw3tFUoUBZk4NOeZYEp4XRKTGa6wJjrWNHBVJR4m3FCnbuD6aak2WsMTh3SZImGCIPKNgsDpVwnsa70K31lCFJZYcwwSMFcQulGTsZuEaSdBXkPGZhu0FsdUO73RHjq8MPGGIfaGIbVTk6iuI3GFgucHrIQkmWSJdBd7BBu+uOryWAhY7+Lki9rK5wtEQzWwvtbqGhIMFwWRJsElsY4m9IIg9L6lCX0VklaPAYkfkZEGDnOWowlBJjtMUkcGK4Lg6EtoZInMUBVYLgn0UsdmCyCz7gIGHFfk+k1QwTh5We7A9x+IdJ6CvIkEagms0hR50eH9UnTQJ+2oiKyVlLFUE+8gBGu8MQ3CppUHesnjTHN4QB/UGPhCTHLFPHMFrCqa73gqObUJGa03wgbhHkrCfpEpzNLE7JDS25FMKhlhKKWKfCgqstLCPu1zBXy0J2ztwjtixBu8UTRn9LVtkmCN2iyFhtME70JHRQ1KVZXqKI/KNIKYMCYs1GUMEKbM1bKOI9LDXC7zbHS+bt+1MTWS9odA9DtrYtpbImQJ2VHh/lisEwaHqUk1kjKTAKknkBEXkbkdMGwq0dnhzLJF3NJH3JVwrqOB4Sca2hti75nmJN0WzxS6UxDYoEpxpa4htVlRjkYE7DZGzJVU72uC9IyhQL4i8YfGWSYLLNcHXloyz7QhNifmKSE9JgfGmuyLhc403Xm9vqcp6gXe3xuuv8F6VJNxkyTHEkHG2g0aKXL0MsXc1bGfgas2//dCONXiNLCX+5mB7eZIl1kHh7ajwpikyzlUUWOVOsjSQlsS+M0R+pPje/dzBXRZGO0rMtgQrLLG9VSu9n6CMXS3BhwYmSoIBhsjNBmZbgusE9BCPCP5triU4VhNbJfE+swSP27aayE8tuTpYYjtrYjMVGZdp2NpS1s6aBnKSHDsbKuplKbHM4a0wMFd/5/DmGyKrJSUaW4IBrqUhx0vyfzTBBLPIUcnZdrAkNsKR0sWRspumSns6Ch0v/qqIbBYUWKvPU/CFoyrDJGwSNFhbA/MlzKqjrO80hRbpKx0Jewsi/STftwGSlKc1JZyAzx05dhLEdnfQvhZOqiHWWEAHC7+30FuRcZUgaO5gpaIK+xsiHRUsqaPElTV40xQZQ107Q9BZE1nryDVGU9ZSQ47bmhBpLcYpUt7S+xuK/FiT8qKjwXYw5ypS2iuCv7q1gtgjhuBuB8LCFY5cUuCNtsQOFcT+4Ih9JX+k8Ea6v0iCIRZOtCT0Et00JW5UeC85Cg0ScK0k411HcG1zKtre3SeITBRk7WfwDhEvaYLTHP9le0m8By0JDwn4TlLW/aJOvGHxdjYUes+ScZigCkYQdNdEOhkiezgShqkx8ueKjI8lDfK2oNiOFvrZH1hS+tk7NV7nOmLHicGWEgubkXKdwdtZknCLJXaCpkrjZBtLZFsDP9CdxWsSr05Sxl6CMmoFbCOgryX40uDtamB7SVmXW4Ihlgpmq+00tBKUUa83WbjLUNkzDmY7cow1JDygyPGlhgGKYKz4vcV7QBNbJIgM11TUqZaMdwTeSguH6rOaw1JRKzaaGyxVm2EJ/uCIrVWUcZUkcp2grMsEjK+DMwS59jQk3Kd6SEq1d0S6uVmO4Bc1lDXTUcHjluCXEq+1OlBDj1pi9zgiXxnKuE0SqTXwhqbETW6RggMEnGl/q49UT2iCzgJvRwVXS2K/d6+ZkyUl7jawSVLit46EwxVljDZwoSQ20sDBihztHfk2yA8NVZghiXwrYHQdfKAOtzsayjhY9bY0yE2CWEeJ9xfzO423xhL5syS2TFJofO2pboHob0nY4GiAgRrvGQEDa/FWSsoaaYl0syRsEt3kWoH3B01shCXhTUWe9w3Bt44SC9QCh3eShQctwbaK2ApLroGCMlZrYqvlY3qYhM0aXpFkPOuoqJ3Dm6fxXrGwVF9gCWZagjPqznfkuMKQ8DPTQRO8ZqG1hPGKEm9IgpGW4DZDgTNriTxvFiq+Lz+0cKfp4wj6OCK9JSnzNSn9LFU7UhKZZMnYwcJ8s8yRsECScK4j5UOB95HFO0CzhY4xJxuCix0lDlEUeMdS6EZBkTsUkZ4K74dugyTXS7aNgL8aqjDfkCE0ZbwkCXpaWCKhl8P7VD5jxykivSyxyZrYERbe168LYu9ZYh86IkscgVLE7tWPKmJv11CgoyJltMEbrohtVAQfO4ImltiHEroYEs7RxAarVpY8AwXMcMReFOTYWe5iiLRQxJ5Q8DtJ8LQhWOhIeFESPGsILhbNDRljNbHzNRlTFbk2S3L0NOS6V1KFJYKUbSTcIIhM0wQ/s2TM0SRMNcQmSap3jCH4yhJZKSkwyRHpYYgsFeQ4U7xoCB7VVOExhXepo9ABBsYbvGWKXPME3lyH95YioZ0gssQRWWbI+FaSMkXijZXwgiTlYdPdkNLaETxlyDVIwqeaEus0aTcYcg0RVOkpR3CSJqIddK+90JCxzsDVloyrFd5ZAr4TBKfaWa6boEA7C7s6EpYaeFPjveooY72mjIccLHJ9HUwVlDhKkmutJDJBwnp1rvulJZggKDRfbXAkvC/4l3ozQOG9a8lxjx0i7nV4jSXc7vhe3OwIxjgSHjdEhhsif9YkPGlus3iLFDnWOFhtCZbJg0UbQcIaR67JjthoCyMEZRwhiXWyxO5QxI6w5NhT4U1WsJvDO60J34fW9hwzwlKij6ZAW9ne4L0s8C6XeBMEkd/LQy1VucBRot6QMlbivaBhoBgjqGiCJNhsqVp/S2SsG6DIONCR0dXhvWbJ+MRRZJkkuEjgDXJjFQW6SSL7GXK8Z2CZg7cVsbWGoKmEpzQ5elpiy8Ryg7dMkLLUEauzeO86CuwlSOlgYLojZWeJ9xM3S1PWfEfKl5ISLQ0MEKR8YOB2QfCxJBjrKPCN4f9MkaSsqoVXJBmP7EpFZ9UQfOoOFwSzBN4MQ8LsGrymlipcJQhmy0GaQjPqCHaXRwuCZwRbqK2Fg9wlClZqYicrIgMdZfxTQ0c7TBIbrChxmuzoKG8XRaSrIhhiyNFJkrC7oIAWMEOQa5aBekPCRknCo4IKPrYkvCDI8aYmY7WFtprgekcJZ3oLIqssCSMtFbQTJKwXYy3BY5oCh2iKPCpJOE+zRdpYgi6O2KmOAgvVCYaU4ySRek1sgyFhJ403QFHiVEmJHwtybO1gs8Hr5+BETQX3War0qZngYGgtVZtoqd6vFSk/UwdZElYqyjrF4HXUeFspIi9IGKf4j92pKGAdCYMVsbcV3kRF0N+R8LUd5PCsIGWoxDtBkCI0nKofdJQxT+LtZflvuc8Q3CjwWkq8KwUpHzkK/NmSsclCL0nseQdj5FRH5CNHSgtLiW80Of5HU9Hhlsga9bnBq3fEVltKfO5IaSTmGjjc4J0otcP7QsJUSQM8pEj5/wCuUuC2DWz8AAAAAElFTkSuQmCC)}
 
trunk/css/min/cmthemes/base16-dark.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-base16-dark.CodeMirror{background:#151515;color:#e0e0e0}.cm-s-base16-dark div.CodeMirror-selected{background:#303030}.cm-s-base16-dark .CodeMirror-line::selection,.cm-s-base16-dark .CodeMirror-line>span::selection,.cm-s-base16-dark .CodeMirror-line>span>span::selection{background:rgba(48,48,48,.99)}.cm-s-base16-dark .CodeMirror-line::-moz-selection,.cm-s-base16-dark .CodeMirror-line>span::-moz-selection,.cm-s-base16-dark .CodeMirror-line>span>span::-moz-selection{background:rgba(48,48,48,.99)}.cm-s-base16-dark .CodeMirror-gutters{background:#151515;border-right:0}.cm-s-base16-dark .CodeMirror-guttermarker{color:#ac4142}.cm-s-base16-dark .CodeMirror-guttermarker-subtle,.cm-s-base16-dark .CodeMirror-linenumber{color:#505050}.cm-s-base16-dark .CodeMirror-cursor{border-left:1px solid #b0b0b0}.cm-s-base16-dark span.cm-comment{color:#8f5536}.cm-s-base16-dark span.cm-atom,.cm-s-base16-dark span.cm-number{color:#aa759f}.cm-s-base16-dark span.cm-attribute,.cm-s-base16-dark span.cm-property{color:#90a959}.cm-s-base16-dark span.cm-keyword{color:#ac4142}.cm-s-base16-dark span.cm-string{color:#f4bf75}.cm-s-base16-dark span.cm-variable{color:#90a959}.cm-s-base16-dark span.cm-variable-2{color:#6a9fb5}.cm-s-base16-dark span.cm-def{color:#d28445}.cm-s-base16-dark span.cm-bracket{color:#e0e0e0}.cm-s-base16-dark span.cm-tag{color:#ac4142}.cm-s-base16-dark span.cm-link{color:#aa759f}.cm-s-base16-dark span.cm-error{background:#ac4142;color:#b0b0b0}.cm-s-base16-dark .CodeMirror-activeline-background{background:#202020}.cm-s-base16-dark .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}
 
trunk/css/min/cmthemes/base16-light.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-base16-light.CodeMirror{background:#f5f5f5;color:#202020}.cm-s-base16-light div.CodeMirror-selected{background:#e0e0e0}.cm-s-base16-light .CodeMirror-line::selection,.cm-s-base16-light .CodeMirror-line>span::selection,.cm-s-base16-light .CodeMirror-line>span>span::selection{background:#e0e0e0}.cm-s-base16-light .CodeMirror-line::-moz-selection,.cm-s-base16-light .CodeMirror-line>span::-moz-selection,.cm-s-base16-light .CodeMirror-line>span>span::-moz-selection{background:#e0e0e0}.cm-s-base16-light .CodeMirror-gutters{background:#f5f5f5;border-right:0}.cm-s-base16-light .CodeMirror-guttermarker{color:#ac4142}.cm-s-base16-light .CodeMirror-guttermarker-subtle,.cm-s-base16-light .CodeMirror-linenumber{color:#b0b0b0}.cm-s-base16-light .CodeMirror-cursor{border-left:1px solid #505050}.cm-s-base16-light span.cm-comment{color:#8f5536}.cm-s-base16-light span.cm-atom,.cm-s-base16-light span.cm-number{color:#aa759f}.cm-s-base16-light span.cm-attribute,.cm-s-base16-light span.cm-property{color:#90a959}.cm-s-base16-light span.cm-keyword{color:#ac4142}.cm-s-base16-light span.cm-string{color:#f4bf75}.cm-s-base16-light span.cm-variable{color:#90a959}.cm-s-base16-light span.cm-variable-2{color:#6a9fb5}.cm-s-base16-light span.cm-def{color:#d28445}.cm-s-base16-light span.cm-bracket{color:#202020}.cm-s-base16-light span.cm-tag{color:#ac4142}.cm-s-base16-light span.cm-link{color:#aa759f}.cm-s-base16-light span.cm-error{background:#ac4142;color:#505050}.cm-s-base16-light .CodeMirror-activeline-background{background:#dddcdc}.cm-s-base16-light .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}
 
trunk/css/min/cmthemes/bespin.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-bespin.CodeMirror{background:#28211c;color:#9d9b97}.cm-s-bespin div.CodeMirror-selected{background:#36312e!important}.cm-s-bespin .CodeMirror-gutters{background:#28211c;border-right:0}.cm-s-bespin .CodeMirror-linenumber{color:#666}.cm-s-bespin .CodeMirror-cursor{border-left:1px solid #797977!important}.cm-s-bespin span.cm-comment{color:#937121}.cm-s-bespin span.cm-atom,.cm-s-bespin span.cm-number{color:#9b859d}.cm-s-bespin span.cm-attribute,.cm-s-bespin span.cm-property{color:#54be0d}.cm-s-bespin span.cm-keyword{color:#cf6a4c}.cm-s-bespin span.cm-string{color:#f9ee98}.cm-s-bespin span.cm-variable{color:#54be0d}.cm-s-bespin span.cm-variable-2{color:#5ea6ea}.cm-s-bespin span.cm-def{color:#cf7d34}.cm-s-bespin span.cm-error{background:#cf6a4c;color:#797977}.cm-s-bespin span.cm-bracket{color:#9d9b97}.cm-s-bespin span.cm-tag{color:#cf6a4c}.cm-s-bespin span.cm-link{color:#9b859d}.cm-s-bespin .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}.cm-s-bespin .CodeMirror-activeline-background{background:#404040}
 
trunk/css/min/cmthemes/blackboard.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-blackboard.CodeMirror{background:#0c1021;color:#f8f8f8}.cm-s-blackboard div.CodeMirror-selected{background:#253b76}.cm-s-blackboard .CodeMirror-line::selection,.cm-s-blackboard .CodeMirror-line>span::selection,.cm-s-blackboard .CodeMirror-line>span>span::selection{background:rgba(37,59,118,.99)}.cm-s-blackboard .CodeMirror-line::-moz-selection,.cm-s-blackboard .CodeMirror-line>span::-moz-selection,.cm-s-blackboard .CodeMirror-line>span>span::-moz-selection{background:rgba(37,59,118,.99)}.cm-s-blackboard .CodeMirror-gutters{background:#0c1021;border-right:0}.cm-s-blackboard .CodeMirror-guttermarker{color:#fbde2d}.cm-s-blackboard .CodeMirror-guttermarker-subtle,.cm-s-blackboard .CodeMirror-linenumber{color:#888}.cm-s-blackboard .CodeMirror-cursor{border-left:1px solid #a7a7a7}.cm-s-blackboard .cm-keyword{color:#fbde2d}.cm-s-blackboard .cm-atom,.cm-s-blackboard .cm-number{color:#d8fa3c}.cm-s-blackboard .cm-def{color:#8da6ce}.cm-s-blackboard .cm-variable{color:#ff6400}.cm-s-blackboard .cm-operator{color:#fbde2d}.cm-s-blackboard .cm-comment{color:#aeaeae}.cm-s-blackboard .cm-string,.cm-s-blackboard .cm-string-2{color:#61ce3c}.cm-s-blackboard .cm-meta{color:#d8fa3c}.cm-s-blackboard .cm-attribute,.cm-s-blackboard .cm-builtin,.cm-s-blackboard .cm-tag{color:#8da6ce}.cm-s-blackboard .cm-header{color:#ff6400}.cm-s-blackboard .cm-hr{color:#aeaeae}.cm-s-blackboard .cm-link{color:#8da6ce}.cm-s-blackboard .cm-error{background:#9d1e15;color:#f8f8f8}.cm-s-blackboard .CodeMirror-activeline-background{background:#3c3636}.cm-s-blackboard .CodeMirror-matchingbracket{outline:1px solid gray;color:#fff!important}
 
trunk/css/min/cmthemes/cobalt.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-cobalt.CodeMirror{background:#002240;color:#fff}.cm-s-cobalt div.CodeMirror-selected{background:#b36539}.cm-s-cobalt .CodeMirror-line::selection,.cm-s-cobalt .CodeMirror-line>span::selection,.cm-s-cobalt .CodeMirror-line>span>span::selection{background:rgba(179,101,57,.99)}.cm-s-cobalt .CodeMirror-line::-moz-selection,.cm-s-cobalt .CodeMirror-line>span::-moz-selection,.cm-s-cobalt .CodeMirror-line>span>span::-moz-selection{background:rgba(179,101,57,.99)}.cm-s-cobalt .CodeMirror-gutters{background:#002240;border-right:1px solid #aaa}.cm-s-cobalt .CodeMirror-guttermarker{color:#ffee80}.cm-s-cobalt .CodeMirror-guttermarker-subtle,.cm-s-cobalt .CodeMirror-linenumber{color:#d0d0d0}.cm-s-cobalt .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-cobalt span.cm-comment{color:#08f}.cm-s-cobalt span.cm-atom{color:#845dc4}.cm-s-cobalt span.cm-attribute,.cm-s-cobalt span.cm-number{color:#ff80e1}.cm-s-cobalt span.cm-keyword{color:#ffee80}.cm-s-cobalt span.cm-string{color:#3ad900}.cm-s-cobalt span.cm-meta{color:#ff9d00}.cm-s-cobalt span.cm-tag,.cm-s-cobalt span.cm-variable-2{color:#9effff}.cm-s-cobalt span.cm-def,.cm-s-cobalt span.cm-variable-3{color:#fff}.cm-s-cobalt span.cm-bracket{color:#d8d8d8}.cm-s-cobalt span.cm-builtin,.cm-s-cobalt span.cm-special{color:#ff9e59}.cm-s-cobalt span.cm-link{color:#845dc4}.cm-s-cobalt span.cm-error{color:#9d1e15}.cm-s-cobalt .CodeMirror-activeline-background{background:#002d57}.cm-s-cobalt .CodeMirror-matchingbracket{outline:1px solid gray;color:#fff!important}
 
trunk/css/min/cmthemes/colorforth.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-colorforth.CodeMirror{background:#000;color:#f8f8f8}.cm-s-colorforth .CodeMirror-gutters{background:#0a001f;border-right:1px solid #aaa}.cm-s-colorforth .CodeMirror-guttermarker{color:#ffbd40}.cm-s-colorforth .CodeMirror-guttermarker-subtle{color:#78846f}.cm-s-colorforth .CodeMirror-linenumber{color:#bababa}.cm-s-colorforth .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-colorforth span.cm-comment{color:#ededed}.cm-s-colorforth span.cm-def{color:#ff1c1c;font-weight:700}.cm-s-colorforth span.cm-keyword{color:#ffd900}.cm-s-colorforth span.cm-builtin{color:#00d95a}.cm-s-colorforth span.cm-variable{color:#73ff00}.cm-s-colorforth span.cm-string{color:#007bff}.cm-s-colorforth span.cm-number{color:#00c4ff}.cm-s-colorforth span.cm-atom{color:#606060}.cm-s-colorforth span.cm-variable-2{color:#eee}.cm-s-colorforth span.cm-variable-3{color:#ddd}.cm-s-colorforth span.cm-meta{color:#ff0}.cm-s-colorforth span.cm-qualifier{color:#fff700}.cm-s-colorforth span.cm-bracket{color:#cc7}.cm-s-colorforth span.cm-tag{color:#ffbd40}.cm-s-colorforth span.cm-attribute{color:#fff700}.cm-s-colorforth span.cm-error{color:red}.cm-s-colorforth div.CodeMirror-selected{background:#333d53}.cm-s-colorforth span.cm-compilation{background:rgba(255,255,255,.12)}.cm-s-colorforth .CodeMirror-activeline-background{background:#253540}
 
trunk/css/min/cmthemes/dracula.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-dracula .CodeMirror-gutters,.cm-s-dracula.CodeMirror{background-color:#282a36!important;color:#f8f8f2!important;border:none}.cm-s-dracula .CodeMirror-gutters{}.cm-s-dracula .CodeMirror-cursor{border-left:solid thin #f8f8f0}.cm-s-dracula .CodeMirror-linenumber{color:#6d8a88}.cm-s-dracula .CodeMirror-activeline-background,.cm-s-dracula .CodeMirror-selected{background:rgba(255,255,255,.1)}.cm-s-dracula .CodeMirror-line::selection,.cm-s-dracula .CodeMirror-line>span::selection,.cm-s-dracula .CodeMirror-line>span>span::selection{background:rgba(255,255,255,.1)}.cm-s-dracula .CodeMirror-line::-moz-selection,.cm-s-dracula .CodeMirror-line>span::-moz-selection,.cm-s-dracula .CodeMirror-line>span>span::-moz-selection{background:rgba(255,255,255,.1)}.cm-s-dracula span.cm-comment{color:#6272a4}.cm-s-dracula span.cm-string,.cm-s-dracula span.cm-string-2{color:#f1fa8c}.cm-s-dracula span.cm-number{color:#bd93f9}.cm-s-dracula span.cm-variable{color:#50fa7b}.cm-s-dracula span.cm-variable-2{color:#fff}.cm-s-dracula span.cm-def{color:#ffb86c}.cm-s-dracula span.cm-keyword,.cm-s-dracula span.cm-operator{color:#ff79c6}.cm-s-dracula span.cm-atom{color:#bd93f9}.cm-s-dracula span.cm-meta{color:#f8f8f2}.cm-s-dracula span.cm-tag{color:#ff79c6}.cm-s-dracula span.cm-attribute,.cm-s-dracula span.cm-qualifier{color:#50fa7b}.cm-s-dracula span.cm-property{color:#66d9ef}.cm-s-dracula span.cm-builtin,.cm-s-dracula span.cm-variable-3{color:#50fa7b}.cm-s-dracula .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}
 
trunk/css/min/cmthemes/duotone-dark.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-duotone-dark.CodeMirror{background:#2a2734;color:#6c6783}.cm-s-duotone-dark div.CodeMirror-selected{background:#545167!important}.cm-s-duotone-dark .CodeMirror-gutters{background:#2a2734;border-right:0}.cm-s-duotone-dark .CodeMirror-linenumber{color:#545167}.cm-s-duotone-dark .CodeMirror-cursor{border-left:1px solid #ffad5c;border-right:.5em solid #ffad5c;opacity:.5}.cm-s-duotone-dark .CodeMirror-activeline-background{background:#363342;opacity:.5}.cm-s-duotone-dark .cm-fat-cursor .CodeMirror-cursor{background:#ffad5c;opacity:.5}.cm-s-duotone-dark span.cm-atom,.cm-s-duotone-dark span.cm-attribute,.cm-s-duotone-dark span.cm-hr,.cm-s-duotone-dark span.cm-keyword,.cm-s-duotone-dark span.cm-link,.cm-s-duotone-dark span.cm-number,.cm-s-duotone-dark span.cm-quote,.cm-s-duotone-dark span.cm-variable{color:#fc9}.cm-s-duotone-dark span.cm-property{color:#9a86fd}.cm-s-duotone-dark span.cm-negative,.cm-s-duotone-dark span.cm-punctuation,.cm-s-duotone-dark span.cm-unit{color:#e09142}.cm-s-duotone-dark span.cm-string{color:#ffb870}.cm-s-duotone-dark span.cm-operator{color:#ffad5c}.cm-s-duotone-dark span.cm-positive{color:#6a51e6}.cm-s-duotone-dark span.cm-string-2,.cm-s-duotone-dark span.cm-url,.cm-s-duotone-dark span.cm-variable-2,.cm-s-duotone-dark span.cm-variable-3{color:#7a63ee}.cm-s-duotone-dark span.cm-builtin,.cm-s-duotone-dark span.cm-def,.cm-s-duotone-dark span.cm-em,.cm-s-duotone-dark span.cm-header,.cm-s-duotone-dark span.cm-qualifier,.cm-s-duotone-dark span.cm-tag{color:#eeebff}.cm-s-duotone-dark span.cm-bracket,.cm-s-duotone-dark span.cm-comment{color:#6c6783}.cm-s-duotone-dark span.cm-error,.cm-s-duotone-dark span.cm-invalidchar{color:red}.cm-s-duotone-dark span.cm-header{font-weight:400}.cm-s-duotone-dark .CodeMirror-matchingbracket{text-decoration:underline;color:#eeebff!important}
 
trunk/css/min/cmthemes/duotone-light.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-duotone-light.CodeMirror{background:#faf8f5;color:#b29762}.cm-s-duotone-light div.CodeMirror-selected{background:#e3dcce!important}.cm-s-duotone-light .CodeMirror-gutters{background:#faf8f5;border-right:0}.cm-s-duotone-light .CodeMirror-linenumber{color:#cdc4b1}.cm-s-duotone-light .CodeMirror-cursor{border-left:1px solid #93abdc;border-right:.5em solid #93abdc;opacity:.5}.cm-s-duotone-light .CodeMirror-activeline-background{background:#e3dcce;opacity:.5}.cm-s-duotone-light .cm-fat-cursor .CodeMirror-cursor{background:#93abdc;opacity:.5}.cm-s-duotone-light span.cm-atom,.cm-s-duotone-light span.cm-attribute,.cm-s-duotone-light span.cm-keyword,.cm-s-duotone-light span.cm-number,.cm-s-duotone-light span.cm-quote,.cm-s-duotone-light span.cm-variable,.cm-s-duotone-light-light span.cm-hr,.cm-s-duotone-light-light span.cm-link{color:#063289}.cm-s-duotone-light span.cm-property{color:#b29762}.cm-s-duotone-light span.cm-negative,.cm-s-duotone-light span.cm-punctuation,.cm-s-duotone-light span.cm-unit{color:#063289}.cm-s-duotone-light span.cm-operator,.cm-s-duotone-light span.cm-string{color:#1659df}.cm-s-duotone-light span.cm-positive,.cm-s-duotone-light span.cm-string-2,.cm-s-duotone-light span.cm-url,.cm-s-duotone-light span.cm-variable-2,.cm-s-duotone-light span.cm-variable-3{color:#896724}.cm-s-duotone-light span.cm-builtin,.cm-s-duotone-light span.cm-def,.cm-s-duotone-light span.cm-em,.cm-s-duotone-light span.cm-header,.cm-s-duotone-light span.cm-qualifier,.cm-s-duotone-light span.cm-tag{color:#2d2006}.cm-s-duotone-light span.cm-bracket,.cm-s-duotone-light span.cm-comment{color:#b6ad9a}.cm-s-duotone-light span.cm-error,.cm-s-duotone-light span.cm-invalidchar{color:red}.cm-s-duotone-light span.cm-header{font-weight:400}.cm-s-duotone-light .CodeMirror-matchingbracket{text-decoration:underline;color:#faf8f5!important}
 
trunk/css/min/cmthemes/eclipse.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-eclipse span.cm-meta{color:#ff1717}.cm-s-eclipse span.cm-keyword{line-height:1em;font-weight:700;color:#7f0055}.cm-s-eclipse span.cm-atom{color:#219}.cm-s-eclipse span.cm-number{color:#164}.cm-s-eclipse span.cm-def{color:#00f}.cm-s-eclipse span.cm-variable{color:#000}.cm-s-eclipse span.cm-variable-2,.cm-s-eclipse span.cm-variable-3{color:#0000c0}.cm-s-eclipse span.cm-operator,.cm-s-eclipse span.cm-property{color:#000}.cm-s-eclipse span.cm-comment{color:#3f7f5f}.cm-s-eclipse span.cm-string{color:#2a00ff}.cm-s-eclipse span.cm-string-2{color:#f50}.cm-s-eclipse span.cm-qualifier{color:#555}.cm-s-eclipse span.cm-builtin{color:#30a}.cm-s-eclipse span.cm-bracket{color:#cc7}.cm-s-eclipse span.cm-tag{color:#170}.cm-s-eclipse span.cm-attribute{color:#00c}.cm-s-eclipse span.cm-link{color:#219}.cm-s-eclipse span.cm-error{color:red}.cm-s-eclipse .CodeMirror-activeline-background{background:#e8f2ff}.cm-s-eclipse .CodeMirror-matchingbracket{outline:1px solid gray;color:#000!important}
 
trunk/css/min/cmthemes/elegant.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-elegant span.cm-atom,.cm-s-elegant span.cm-number,.cm-s-elegant span.cm-string{color:#762}.cm-s-elegant span.cm-comment,.cm-s-elegant span.cm-meta{color:#262;font-style:italic;line-height:1em}.cm-s-elegant span.cm-meta{color:#555}.cm-s-elegant span.cm-variable{color:#000}.cm-s-elegant span.cm-variable-2{color:#b11}.cm-s-elegant span.cm-qualifier{color:#555}.cm-s-elegant span.cm-keyword{color:#730}.cm-s-elegant span.cm-builtin{color:#30a}.cm-s-elegant span.cm-link{color:#762}.cm-s-elegant span.cm-error{background-color:#fdd}.cm-s-elegant .CodeMirror-activeline-background{background:#e8f2ff}.cm-s-elegant .CodeMirror-matchingbracket{outline:1px solid gray;color:#000!important}
 
trunk/css/min/cmthemes/erlang-dark.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-erlang-dark.CodeMirror{background:#002240;color:#fff}.cm-s-erlang-dark div.CodeMirror-selected{background:#b36539}.cm-s-erlang-dark .CodeMirror-line::selection,.cm-s-erlang-dark .CodeMirror-line>span::selection,.cm-s-erlang-dark .CodeMirror-line>span>span::selection{background:rgba(179,101,57,.99)}.cm-s-erlang-dark .CodeMirror-line::-moz-selection,.cm-s-erlang-dark .CodeMirror-line>span::-moz-selection,.cm-s-erlang-dark .CodeMirror-line>span>span::-moz-selection{background:rgba(179,101,57,.99)}.cm-s-erlang-dark .CodeMirror-gutters{background:#002240;border-right:1px solid #aaa}.cm-s-erlang-dark .CodeMirror-guttermarker{color:#fff}.cm-s-erlang-dark .CodeMirror-guttermarker-subtle,.cm-s-erlang-dark .CodeMirror-linenumber{color:#d0d0d0}.cm-s-erlang-dark .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-erlang-dark span.cm-quote{color:#ccc}.cm-s-erlang-dark span.cm-atom{color:#f133f1}.cm-s-erlang-dark span.cm-attribute{color:#ff80e1}.cm-s-erlang-dark span.cm-bracket{color:#ff9d00}.cm-s-erlang-dark span.cm-builtin{color:#eaa}.cm-s-erlang-dark span.cm-comment{color:#77f}.cm-s-erlang-dark span.cm-def{color:#e7a}.cm-s-erlang-dark span.cm-keyword{color:#ffee80}.cm-s-erlang-dark span.cm-meta{color:#50fefe}.cm-s-erlang-dark span.cm-number{color:#ffd0d0}.cm-s-erlang-dark span.cm-operator{color:#d55}.cm-s-erlang-dark span.cm-property,.cm-s-erlang-dark span.cm-qualifier{color:#ccc}.cm-s-erlang-dark span.cm-special{color:#fbb}.cm-s-erlang-dark span.cm-string{color:#3ad900}.cm-s-erlang-dark span.cm-string-2{color:#ccc}.cm-s-erlang-dark span.cm-tag{color:#9effff}.cm-s-erlang-dark span.cm-variable{color:#50fe50}.cm-s-erlang-dark span.cm-variable-2{color:#e0e}.cm-s-erlang-dark span.cm-variable-3{color:#ccc}.cm-s-erlang-dark span.cm-error{color:#9d1e15}.cm-s-erlang-dark .CodeMirror-activeline-background{background:#013461}.cm-s-erlang-dark .CodeMirror-matchingbracket{outline:1px solid gray;color:#fff!important}
 
trunk/css/min/cmthemes/hopscotch.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-hopscotch.CodeMirror{background:#322931;color:#d5d3d5}.cm-s-hopscotch div.CodeMirror-selected{background:#433b42!important}.cm-s-hopscotch .CodeMirror-gutters{background:#322931;border-right:0}.cm-s-hopscotch .CodeMirror-linenumber{color:#797379}.cm-s-hopscotch .CodeMirror-cursor{border-left:1px solid #989498!important}.cm-s-hopscotch span.cm-comment{color:#b33508}.cm-s-hopscotch span.cm-atom,.cm-s-hopscotch span.cm-number{color:#c85e7c}.cm-s-hopscotch span.cm-attribute,.cm-s-hopscotch span.cm-property{color:#8fc13e}.cm-s-hopscotch span.cm-keyword{color:#dd464c}.cm-s-hopscotch span.cm-string{color:#fdcc59}.cm-s-hopscotch span.cm-variable{color:#8fc13e}.cm-s-hopscotch span.cm-variable-2{color:#1290bf}.cm-s-hopscotch span.cm-def{color:#fd8b19}.cm-s-hopscotch span.cm-error{background:#dd464c;color:#989498}.cm-s-hopscotch span.cm-bracket{color:#d5d3d5}.cm-s-hopscotch span.cm-tag{color:#dd464c}.cm-s-hopscotch span.cm-link{color:#c85e7c}.cm-s-hopscotch .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}.cm-s-hopscotch .CodeMirror-activeline-background{background:#302020}
 
trunk/css/min/cmthemes/icecoder.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-icecoder{color:#666;background:#1d1d1b}.cm-s-icecoder span.cm-keyword{color:#eee;font-weight:700}.cm-s-icecoder span.cm-atom{color:#e1c76e}.cm-s-icecoder span.cm-number{color:#6cb5d9}.cm-s-icecoder span.cm-def{color:#b9ca4a}.cm-s-icecoder span.cm-variable{color:#6cb5d9}.cm-s-icecoder span.cm-variable-2{color:#cc1e5c}.cm-s-icecoder span.cm-variable-3{color:#f9602c}.cm-s-icecoder span.cm-property{color:#eee}.cm-s-icecoder span.cm-operator{color:#9179bb}.cm-s-icecoder span.cm-comment{color:#97a3aa}.cm-s-icecoder span.cm-string{color:#b9ca4a}.cm-s-icecoder span.cm-string-2{color:#6cb5d9}.cm-s-icecoder span.cm-meta,.cm-s-icecoder span.cm-qualifier{color:#555}.cm-s-icecoder span.cm-builtin{color:#214e7b}.cm-s-icecoder span.cm-bracket{color:#cc7}.cm-s-icecoder span.cm-tag{color:#e8e8e8}.cm-s-icecoder span.cm-attribute{color:#099}.cm-s-icecoder span.cm-header{color:#6a0d6a}.cm-s-icecoder span.cm-quote{color:#186718}.cm-s-icecoder span.cm-hr{color:#888}.cm-s-icecoder span.cm-link{color:#e1c76e}.cm-s-icecoder span.cm-error{color:#d00}.cm-s-icecoder .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-icecoder div.CodeMirror-selected{color:#fff;background:#037}.cm-s-icecoder .CodeMirror-gutters{background:#1d1d1b;min-width:41px;border-right:0}.cm-s-icecoder .CodeMirror-linenumber{color:#555;cursor:default}.cm-s-icecoder .CodeMirror-matchingbracket{color:#fff!important;background:#555!important}.cm-s-icecoder .CodeMirror-activeline-background{background:#000}
 
trunk/css/min/cmthemes/isotope.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-isotope.CodeMirror{background:#000;color:#e0e0e0}.cm-s-isotope div.CodeMirror-selected{background:#404040!important}.cm-s-isotope .CodeMirror-gutters{background:#000;border-right:0}.cm-s-isotope .CodeMirror-linenumber{color:gray}.cm-s-isotope .CodeMirror-cursor{border-left:1px solid silver!important}.cm-s-isotope span.cm-comment{color:#30f}.cm-s-isotope span.cm-atom,.cm-s-isotope span.cm-number{color:#c0f}.cm-s-isotope span.cm-attribute,.cm-s-isotope span.cm-property{color:#3f0}.cm-s-isotope span.cm-keyword{color:red}.cm-s-isotope span.cm-string{color:#f09}.cm-s-isotope span.cm-variable{color:#3f0}.cm-s-isotope span.cm-variable-2{color:#06f}.cm-s-isotope span.cm-def{color:#f90}.cm-s-isotope span.cm-error{background:red;color:silver}.cm-s-isotope span.cm-bracket{color:#e0e0e0}.cm-s-isotope span.cm-tag{color:red}.cm-s-isotope span.cm-link{color:#c0f}.cm-s-isotope .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}.cm-s-isotope .CodeMirror-activeline-background{background:#202020}
 
trunk/css/min/cmthemes/lesser-dark.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-lesser-dark{line-height:1.3em}.cm-s-lesser-dark.CodeMirror{background:#262626;color:#ebefe7;text-shadow:0 -1px 1px #262626}.cm-s-lesser-dark div.CodeMirror-selected{background:#45443b}.cm-s-lesser-dark .CodeMirror-line::selection,.cm-s-lesser-dark .CodeMirror-line>span::selection,.cm-s-lesser-dark .CodeMirror-line>span>span::selection{background:rgba(69,68,59,.99)}.cm-s-lesser-dark .CodeMirror-line::-moz-selection,.cm-s-lesser-dark .CodeMirror-line>span::-moz-selection,.cm-s-lesser-dark .CodeMirror-line>span>span::-moz-selection{background:rgba(69,68,59,.99)}.cm-s-lesser-dark .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-lesser-dark pre{padding:0 8px}.cm-s-lesser-dark.CodeMirror span.CodeMirror-matchingbracket{color:#7efc7e}.cm-s-lesser-dark .CodeMirror-gutters{background:#262626;border-right:1px solid #aaa}.cm-s-lesser-dark .CodeMirror-guttermarker{color:#599eff}.cm-s-lesser-dark .CodeMirror-guttermarker-subtle,.cm-s-lesser-dark .CodeMirror-linenumber{color:#777}.cm-s-lesser-dark span.cm-header{color:#a0a}.cm-s-lesser-dark span.cm-quote{color:#090}.cm-s-lesser-dark span.cm-keyword{color:#599eff}.cm-s-lesser-dark span.cm-atom{color:#c2b470}.cm-s-lesser-dark span.cm-number{color:#b35e4d}.cm-s-lesser-dark span.cm-def{color:#fff}.cm-s-lesser-dark span.cm-variable{color:#d9bf8c}.cm-s-lesser-dark span.cm-variable-2{color:#669199}.cm-s-lesser-dark span.cm-variable-3{color:#fff}.cm-s-lesser-dark span.cm-operator,.cm-s-lesser-dark span.cm-property{color:#92a75c}.cm-s-lesser-dark span.cm-comment{color:#666}.cm-s-lesser-dark span.cm-string{color:#bcd279}.cm-s-lesser-dark span.cm-string-2{color:#f50}.cm-s-lesser-dark span.cm-meta{color:#738c73}.cm-s-lesser-dark span.cm-qualifier{color:#555}.cm-s-lesser-dark span.cm-builtin{color:#ff9e59}.cm-s-lesser-dark span.cm-bracket{color:#ebefe7}.cm-s-lesser-dark span.cm-tag{color:#669199}.cm-s-lesser-dark span.cm-attribute{color:#00c}.cm-s-lesser-dark span.cm-hr{color:#999}.cm-s-lesser-dark span.cm-link{color:#00c}.cm-s-lesser-dark span.cm-error{color:#9d1e15}.cm-s-lesser-dark .CodeMirror-activeline-background{background:#3c3a3a}.cm-s-lesser-dark .CodeMirror-matchingbracket{outline:1px solid gray;color:#fff!important}
 
trunk/css/min/cmthemes/liquibyte.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-liquibyte.CodeMirror{background-color:#000;color:#fff;line-height:1.2em;font-size:1em}.cm-s-liquibyte .CodeMirror-focused .cm-matchhighlight{text-decoration:underline;text-decoration-color:#0f0;text-decoration-style:wavy}.cm-s-liquibyte .cm-tab,.cm-s-liquibyte .cm-trailingspace{text-decoration:line-through;text-decoration-color:red;text-decoration-style:dotted}.cm-s-liquibyte .cm-tab{text-decoration-color:#404040}.cm-s-liquibyte .CodeMirror-gutters{background-color:#262626;border-right:1px solid #505050;padding-right:.8em}.cm-s-liquibyte .CodeMirror-gutter-elt div{font-size:1.2em}.cm-s-liquibyte .CodeMirror-linenumber{color:#606060;padding-left:0}.cm-s-liquibyte .CodeMirror-cursor{border-left:1px solid #eee}.cm-s-liquibyte span.cm-comment{color:green}.cm-s-liquibyte span.cm-def{color:#ffaf40;font-weight:700}.cm-s-liquibyte span.cm-keyword{color:#c080ff;font-weight:700}.cm-s-liquibyte span.cm-builtin{color:#ffaf40;font-weight:700}.cm-s-liquibyte span.cm-variable{color:#5967ff;font-weight:700}.cm-s-liquibyte span.cm-string{color:#ff8000}.cm-s-liquibyte .CodeMirror span.CodeMirror-matchingbracket,.cm-s-liquibyte span.cm-number{color:#0f0;font-weight:700}.cm-s-liquibyte span.cm-atom{color:#bf3030;font-weight:700}.cm-s-liquibyte span.cm-variable-2{color:#007f7f;font-weight:700}.cm-s-liquibyte span.cm-variable-3{color:#c080ff;font-weight:700}.cm-s-liquibyte span.cm-property{color:#999;font-weight:700}.cm-s-liquibyte span.cm-operator{color:#fff}.cm-s-liquibyte span.cm-meta{color:#0f0}.cm-s-liquibyte span.cm-qualifier{color:#fff700;font-weight:700}.cm-s-liquibyte span.cm-bracket{color:#cc7}.cm-s-liquibyte span.cm-tag{color:#ff0;font-weight:700}.cm-s-liquibyte span.cm-attribute{color:#c080ff;font-weight:700}.cm-s-liquibyte span.cm-error{color:red}.cm-s-liquibyte div.CodeMirror-selected{background-color:rgba(255,0,0,.25)}.cm-s-liquibyte span.cm-compilation{background-color:rgba(255,255,255,.12)}.cm-s-liquibyte .CodeMirror-activeline-background{background-color:rgba(0,255,0,.15)}.cm-s-liquibyte .CodeMirror span.CodeMirror-nonmatchingbracket{color:red;font-weight:700}.CodeMirror-matchingtag{background-color:rgba(150,255,0,.3)}.cm-s-liquibyte div.CodeMirror-simplescroll-horizontal div:hover,div.CodeMirror-simplescroll-vertical div:hover{background-color:rgba(80,80,80,.7)}.cm-s-liquibyte div.CodeMirror-simplescroll-horizontal div,div.CodeMirror-simplescroll-vertical div{background-color:rgba(80,80,80,.3);border:1px solid #404040;border-radius:5px}.cm-s-liquibyte div.CodeMirror-simplescroll-vertical div{border-top:1px solid #404040;border-bottom:1px solid #404040}.cm-s-liquibyte div.CodeMirror-simplescroll-horizontal div{border-left:1px solid #404040;border-right:1px solid #404040}.cm-s-liquibyte div.CodeMirror-simplescroll-vertical{background-color:#262626}.cm-s-liquibyte div.CodeMirror-simplescroll-horizontal{background-color:#262626;border-top:1px solid #404040}.cm-s-liquibyte div.CodeMirror-overlayscroll-horizontal div,div.CodeMirror-overlayscroll-vertical div{background-color:#404040;border-radius:5px}.cm-s-liquibyte div.CodeMirror-overlayscroll-horizontal div,.cm-s-liquibyte div.CodeMirror-overlayscroll-vertical div{border:1px solid #404040}
 
trunk/css/min/cmthemes/material.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-material{background-color:#263238;color:#e9eded}.cm-s-material .CodeMirror-gutters{background:#263238;color:#537f7e;border:none}.cm-s-material .CodeMirror-guttermarker,.cm-s-material .CodeMirror-guttermarker-subtle,.cm-s-material .CodeMirror-linenumber{color:#537f7e}.cm-s-material .CodeMirror-cursor{border-left:1px solid #f8f8f0}.cm-s-material div.CodeMirror-selected{background:rgba(255,255,255,.15)}.cm-s-material.CodeMirror-focused div.CodeMirror-selected{background:rgba(255,255,255,.1)}.cm-s-material .CodeMirror-line::selection,.cm-s-material .CodeMirror-line>span::selection,.cm-s-material .CodeMirror-line>span>span::selection{background:rgba(255,255,255,.1)}.cm-s-material .CodeMirror-line::-moz-selection,.cm-s-material .CodeMirror-line>span::-moz-selection,.cm-s-material .CodeMirror-line>span>span::-moz-selection{background:rgba(255,255,255,.1)}.cm-s-material .CodeMirror-activeline-background{background:rgba(0,0,0,0)}.cm-s-material .cm-keyword{color:#c792ea}.cm-s-material .cm-operator{color:#e9eded}.cm-s-material .cm-variable-2{color:#80cbc4}.cm-s-material .cm-builtin{color:#decb6b}.cm-s-material .cm-atom,.cm-s-material .cm-number{color:#f77669}.cm-s-material .cm-def{color:#e9eded}.cm-s-material .cm-string{color:#c3e88d}.cm-s-material .cm-string-2{color:#80cbc4}.cm-s-material .cm-comment{color:#546e7a}.cm-s-material .cm-variable{color:#82b1ff}.cm-s-material .cm-meta{color:#80cbc4}.cm-s-material .cm-attribute{color:#ffcb6b}.cm-s-material .cm-property{color:#80cbae}.cm-s-material .cm-qualifier,.cm-s-material .cm-variable-3{color:#decb6b}.cm-s-material .cm-tag{color:#ff5370}.cm-s-material .cm-error{color:#fff;background-color:#ec5f67}.cm-s-material .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}
 
trunk/css/min/cmthemes/mbo.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-mbo.CodeMirror{background:#2c2c2c;color:#ffffec}.cm-s-mbo div.CodeMirror-selected{background:#716c62}.cm-s-mbo .CodeMirror-line::selection,.cm-s-mbo .CodeMirror-line>span::selection,.cm-s-mbo .CodeMirror-line>span>span::selection{background:rgba(113,108,98,.99)}.cm-s-mbo .CodeMirror-line::-moz-selection,.cm-s-mbo .CodeMirror-line>span::-moz-selection,.cm-s-mbo .CodeMirror-line>span>span::-moz-selection{background:rgba(113,108,98,.99)}.cm-s-mbo .CodeMirror-gutters{background:#4e4e4e;border-right:0}.cm-s-mbo .CodeMirror-guttermarker{color:#fff}.cm-s-mbo .CodeMirror-guttermarker-subtle{color:gray}.cm-s-mbo .CodeMirror-linenumber{color:#dadada}.cm-s-mbo .CodeMirror-cursor{border-left:1px solid #ffffec}.cm-s-mbo span.cm-comment{color:#95958a}.cm-s-mbo span.cm-atom,.cm-s-mbo span.cm-number{color:#00a8c6}.cm-s-mbo span.cm-attribute,.cm-s-mbo span.cm-property{color:#9ddfe9}.cm-s-mbo span.cm-keyword{color:#ffb928}.cm-s-mbo span.cm-string{color:#ffcf6c}.cm-s-mbo span.cm-string.cm-property,.cm-s-mbo span.cm-variable{color:#ffffec}.cm-s-mbo span.cm-variable-2{color:#00a8c6}.cm-s-mbo span.cm-def{color:#ffffec}.cm-s-mbo span.cm-bracket{color:#fffffc;font-weight:700}.cm-s-mbo span.cm-tag{color:#9ddfe9}.cm-s-mbo span.cm-link{color:#f54b07}.cm-s-mbo span.cm-error{border-bottom:#636363;color:#ffffec}.cm-s-mbo span.cm-qualifier{color:#ffffec}.cm-s-mbo .CodeMirror-activeline-background{background:#494b41}.cm-s-mbo .CodeMirror-matchingbracket{color:#ffb928!important}.cm-s-mbo .CodeMirror-matchingtag{background:rgba(255,255,255,.37)}
 
trunk/css/min/cmthemes/mdn-like.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-mdn-like.CodeMirror{color:#999;background-color:#fff}.cm-s-mdn-like div.CodeMirror-selected{background:#cfc}.cm-s-mdn-like .CodeMirror-line::selection,.cm-s-mdn-like .CodeMirror-line>span::selection,.cm-s-mdn-like .CodeMirror-line>span>span::selection{background:#cfc}.cm-s-mdn-like .CodeMirror-line::-moz-selection,.cm-s-mdn-like .CodeMirror-line>span::-moz-selection,.cm-s-mdn-like .CodeMirror-line>span>span::-moz-selection{background:#cfc}.cm-s-mdn-like .CodeMirror-gutters{background:#f8f8f8;border-left:6px solid rgba(0,83,159,.65);color:#333}.cm-s-mdn-like .CodeMirror-linenumber{color:#aaa;padding-left:8px}.cm-s-mdn-like .CodeMirror-cursor{border-left:2px solid #222}.cm-s-mdn-like .cm-keyword{color:#6262ff}.cm-s-mdn-like .cm-atom{color:#f90}.cm-s-mdn-like .cm-number{color:#ca7841}.cm-s-mdn-like .cm-def{color:#8da6ce}.cm-s-mdn-like span.cm-tag,.cm-s-mdn-like span.cm-variable-2{color:#690}.cm-s-mdn-like .cm-variable,.cm-s-mdn-like span.cm-def,.cm-s-mdn-like span.cm-variable-3{color:#07a}.cm-s-mdn-like .cm-property{color:#905}.cm-s-mdn-like .cm-qualifier{color:#690}.cm-s-mdn-like .cm-operator{color:#cda869}.cm-s-mdn-like .cm-comment{color:#777;font-weight:400}.cm-s-mdn-like .cm-string{color:#07a;font-style:italic}.cm-s-mdn-like .cm-string-2{color:#bd6b18}.cm-s-mdn-like .cm-meta{color:#000}.cm-s-mdn-like .cm-builtin{color:#9b7536}.cm-s-mdn-like .cm-tag{color:#997643}.cm-s-mdn-like .cm-attribute{color:#d6bb6d}.cm-s-mdn-like .cm-header{color:#ff6400}.cm-s-mdn-like .cm-hr{color:#aeaeae}.cm-s-mdn-like .cm-link{color:#ad9361;font-style:italic;text-decoration:none}.cm-s-mdn-like .cm-error{border-bottom:1px solid red}div.cm-s-mdn-like .CodeMirror-activeline-background{background:#efefff}div.cm-s-mdn-like span.CodeMirror-matchingbracket{outline:1px solid gray;color:inherit}.cm-s-mdn-like.CodeMirror{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFcAAAAyCAYAAAAp8UeFAAAHvklEQVR42s2b63bcNgyEQZCSHCdt2vd/0tWF7I+Q6XgMXiTtuvU5Pl57ZQKkKHzEAOtF5KeIJBGJ8uvL599FRFREZhFx8DeXv8trn68RuGaC8TRfo3SNp9dlDDHedyLyTUTeRWStXKPZrjtpZxaRw5hPqozRs1N8/enzIiQRWcCgy4MUA0f+XWliDhyL8Lfyvx7ei/Ae3iQFHyw7U/59pQVIMEEPEz0G7XiwdRjzSfC3UTtz9vchIntxvry5iMgfIhJoEflOz2CQr3F5h/HfeFe+GTdLaKcu9L8LTeQb/R/7GgbsfKedyNdoHsN31uRPWrfZ5wsj/NzzRQHuToIdU3ahwnsKPxXCjJITuOsi7XLc7SG/v5GdALs7wf8JjTFiB5+QvTEfRyGOfX3Lrx8wxyQi3sNq46O7QahQiCsRFgqddjBouVEHOKDgXAQHD9gJCr5sMKkEdjwsarG/ww3BMHBU7OBjXnzdyY7SfCxf5/z6ATccrwlKuwC/jhznnPF4CgVzhhVf4xp2EixcBActO75iZ8/fM9zAs2OMzKdslgXWJ9XG8PQoOAMA5fGcsvORgv0doBXyHrCwfLJAOwo71QLNkb8n2Pl6EWiR7OCibtkPaz4Kc/0NNAze2gju3zOwekALDaCFPI5vjPFmgGY5AZqyGEvH1x7QfIb8YtxMnA/b+QQ0aQDAwc6JMFg8CbQZ4qoYEEHbRwNojuK3EHwd7VALSgq+MNDKzfT58T8qdpADrgW0GmgcAS1lhzztJmkAzcPNOQbsWEALBDSlMKUG0Eq4CLAQWvEVQ9WU57gZJwZtgPO3r9oBTQ9WO8TjqXINx8R0EYpiZEUWOF3FxkbJkgU9B2f41YBrIj5ZfsQa0M5kTgiAAqM3ShXLgu8XMqcrQBvJ0CL5pnTsfMB13oB8athpAq2XOQmcGmoACCLydx7nToa23ATaSIY2ichfOdPTGxlasXMLaL0MLZAOwAKIM+y8CmicobGdCcbbK9DzN+yYGVoNNI5iUKTMyYOjPse4A8SM1MmcXgU0toOq1yO/v8FOxlASyc7TgeYaAMBJHcY1CcCwGI/TK4AmDbDyKYBBtFUkRwto8gygiQEaByFgJ00BH2M8JWwQS1nafDXQCidWyOI8AcjDCSjCLk8ngObuAm3JAHAdubAmOaK06V8MNEsKPJOhobSprwQa6gD7DclRQdqcwL4zxqgBrQcabUiBLclRDKAlWp+etPkBaNMA0AKlrHwTdEByZAA4GM+SNluSY6wAzcMNewxmgig5Ks0nkrSpBvSaQHMdKTBAnLojOdYyGpQ254602ZILPdTD1hdlggdIm74jbTp8vDwF5ZYUeLWGJpWsh6XNyXgcYwVoJQTEhhTYkxzZjiU5npU2TaB979TQehlaAVq4kaGpiPwwwLkYUuBbQwocyQTv1tA0+1UFWoJF3iv1oq+qoSk8EQdJmwHkziIF7oOZk14EGitibAdjLYYK78H5vZOhtWpoI0ATGHs0Q8OMb4Ey+2bU2UYztCtA0wFAs7TplGLRVQCcqaFdGSPCeTI1QNIC52iWNzof6Uib7xjEp07mNNoUYmVosVItHrHzRlLgBn9LFyRHaQCtVUMbtTNhoXWiTOO9k/V8BdAc1Oq0ArSQs6/5SU0hckNy9NnXqQY0PGYo5dWJ7nINaN6o958FWin27aBaWRka1r5myvLOAm0j30eBJqCxHLReVclxhxOEN2JfDWjxBtAC7MIH1fVaGdoOp4qJYDgKtKPSFNID2gSnGldrCqkFZ+5UeQXQBIRrSwocbdZYQT/2LwRahBPBXoHrB8nxaGROST62DKUbQOMMzZIC9abkuELfQzQALWTnDNAm8KHWFOJgJ5+SHIvTPcmx1xQyZRhNL5Qci689aXMEaN/uNIWkEwDAvFpOZmgsBaaGnbs1NPa1Jm32gBZAIh1pCtG7TSH4aE0y1uVY4uqoFPisGlpP2rSA5qTecWn5agK6BzSpgAyD+wFaqhnYoSZ1Vwr8CmlTQbrcO3ZaX0NAEyMbYaAlyquFoLKK3SPby9CeVUPThrSJmkCAE0CrKUQadi4DrdSlWhmah0YL9z9vClH59YGbHx1J8VZTyAjQepJjmXwAKTDQI3omc3p1U4gDUf6RfcdYfrUp5ClAi2J3Ba6UOXGo+K+bQrjjssitG2SJzshaLwMtXgRagUNpYYoVkMSBLM+9GGiJZMvduG6DRZ4qc04DMPtQQxOjEtACmhO7K1AbNbQDEggZyJwscFpAGwENhoBeUwh3bWolhe8BTYVKxQEWrSUn/uhcM5KhvUu/+eQu0Lzhi+VrK0PrZZNDQKs9cpYUuFYgMVpD4/NxenJTiMCNqdUEUf1qZWjppLT5qSkkUZbCwkbZMSuVnu80hfSkzRbQeqCZSAh6huR4VtoM2gHAlLf72smuWgE+VV7XpE25Ab2WFDgyhnSuKbs4GuGzCjR+tIoUuMFg3kgcWKLTwRqanJQ2W00hAsenfaApRC42hbCvK1SlE0HtE9BGgneJO+ELamitD1YjjOYnNYVcraGhtKkW0EqVVeDx733I2NH581k1NNxNLG0i0IJ8/NjVaOZ0tYZ2Vtr0Xv7tPV3hkWp9EFkgS/J0vosngTaSoaG06WHi+xObQkaAdlbanP8B2+2l0f90LmUAAAAASUVORK5CYII=)}
 
trunk/css/min/cmthemes/midnight.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-midnight span.CodeMirror-matchhighlight{background:#494949}.cm-s-midnight.CodeMirror-focused span.CodeMirror-matchhighlight{background:#314d67!important}.cm-s-midnight .CodeMirror-activeline-background{background:#253540}.cm-s-midnight.CodeMirror{background:#0f192a;color:#d1edff;border-top:1px solid #000;border-bottom:1px solid #000}.cm-s-midnight div.CodeMirror-selected{background:#314d67}.cm-s-midnight .CodeMirror-line::selection,.cm-s-midnight .CodeMirror-line>span::selection,.cm-s-midnight .CodeMirror-line>span>span::selection{background:rgba(49,77,103,.99)}.cm-s-midnight .CodeMirror-line::-moz-selection,.cm-s-midnight .CodeMirror-line>span::-moz-selection,.cm-s-midnight .CodeMirror-line>span>span::-moz-selection{background:rgba(49,77,103,.99)}.cm-s-midnight .CodeMirror-gutters{background:#0f192a;border-right:1px solid}.cm-s-midnight .CodeMirror-guttermarker{color:#fff}.cm-s-midnight .CodeMirror-guttermarker-subtle,.cm-s-midnight .CodeMirror-linenumber{color:#d0d0d0}.cm-s-midnight .CodeMirror-cursor{border-left:1px solid #f8f8f0}.cm-s-midnight span.cm-comment{color:#428bdd}.cm-s-midnight span.cm-atom{color:#ae81ff}.cm-s-midnight span.cm-number{color:#d1edff}.cm-s-midnight span.cm-attribute,.cm-s-midnight span.cm-property{color:#a6e22e}.cm-s-midnight span.cm-keyword{color:#e83737}.cm-s-midnight span.cm-string{color:#1dc116}.cm-s-midnight span.cm-variable,.cm-s-midnight span.cm-variable-2{color:#ffaa3e}.cm-s-midnight span.cm-def{color:#4dd}.cm-s-midnight span.cm-bracket{color:#d1edff}.cm-s-midnight span.cm-tag{color:#449}.cm-s-midnight span.cm-link{color:#ae81ff}.cm-s-midnight span.cm-error{background:#f92672;color:#f8f8f0}.cm-s-midnight .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}
 
trunk/css/min/cmthemes/monokai.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-monokai.CodeMirror{background:#272822;color:#f8f8f2}.cm-s-monokai div.CodeMirror-selected{background:#49483e}.cm-s-monokai .CodeMirror-line::selection,.cm-s-monokai .CodeMirror-line>span::selection,.cm-s-monokai .CodeMirror-line>span>span::selection{background:rgba(73,72,62,.99)}.cm-s-monokai .CodeMirror-line::-moz-selection,.cm-s-monokai .CodeMirror-line>span::-moz-selection,.cm-s-monokai .CodeMirror-line>span>span::-moz-selection{background:rgba(73,72,62,.99)}.cm-s-monokai .CodeMirror-gutters{background:#272822;border-right:0}.cm-s-monokai .CodeMirror-guttermarker{color:#fff}.cm-s-monokai .CodeMirror-guttermarker-subtle,.cm-s-monokai .CodeMirror-linenumber{color:#d0d0d0}.cm-s-monokai .CodeMirror-cursor{border-left:1px solid #f8f8f0}.cm-s-monokai span.cm-comment{color:#75715e}.cm-s-monokai span.cm-atom,.cm-s-monokai span.cm-number{color:#ae81ff}.cm-s-monokai span.cm-attribute,.cm-s-monokai span.cm-property{color:#a6e22e}.cm-s-monokai span.cm-keyword{color:#f92672}.cm-s-monokai span.cm-builtin{color:#66d9ef}.cm-s-monokai span.cm-string{color:#e6db74}.cm-s-monokai span.cm-variable{color:#f8f8f2}.cm-s-monokai span.cm-variable-2{color:#9effff}.cm-s-monokai span.cm-variable-3{color:#66d9ef}.cm-s-monokai span.cm-def{color:#fd971f}.cm-s-monokai span.cm-bracket{color:#f8f8f2}.cm-s-monokai span.cm-tag{color:#f92672}.cm-s-monokai span.cm-header,.cm-s-monokai span.cm-link{color:#ae81ff}.cm-s-monokai span.cm-error{background:#f92672;color:#f8f8f0}.cm-s-monokai .CodeMirror-activeline-background{background:#373831}.cm-s-monokai .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}
 
trunk/css/min/cmthemes/neat.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-neat span.cm-comment{color:#a86}.cm-s-neat span.cm-keyword{line-height:1em;font-weight:700;color:#00f}.cm-s-neat span.cm-string{color:#a22}.cm-s-neat span.cm-builtin,.cm-s-neat span.cm-special{line-height:1em;font-weight:700;color:#077}.cm-s-neat span.cm-special{color:#0aa}.cm-s-neat span.cm-variable{color:#000}.cm-s-neat span.cm-atom,.cm-s-neat span.cm-number{color:#3a3}.cm-s-neat span.cm-meta{color:#555}.cm-s-neat span.cm-link{color:#3a3}.cm-s-neat .CodeMirror-activeline-background{background:#e8f2ff}.cm-s-neat .CodeMirror-matchingbracket{outline:1px solid gray;color:#000!important}
 
trunk/css/min/cmthemes/neo.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-neo.CodeMirror{background-color:#fff;color:#2e383c;line-height:1.4375}.cm-s-neo .cm-comment{color:#75787b}.cm-s-neo .cm-keyword,.cm-s-neo .cm-property{color:#1d75b3}.cm-s-neo .cm-atom,.cm-s-neo .cm-number{color:#75438a}.cm-s-neo .cm-node,.cm-s-neo .cm-tag{color:#9c3328}.cm-s-neo .cm-string{color:#b35e14}.cm-s-neo .cm-qualifier,.cm-s-neo .cm-variable{color:#047d65}.cm-s-neo pre{padding:0}.cm-s-neo .CodeMirror-gutters{border:none;border-right:10px solid transparent;background-color:transparent}.cm-s-neo .CodeMirror-linenumber{padding:0;color:#e0e2e5}.cm-s-neo .CodeMirror-guttermarker{color:#1d75b3}.cm-s-neo .CodeMirror-guttermarker-subtle{color:#e0e2e5}.cm-s-neo .CodeMirror-cursor{width:auto;border:0;background:rgba(155,157,162,.37);z-index:1}
 
trunk/css/min/cmthemes/night.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-night.CodeMirror{background:#0a001f;color:#f8f8f8}.cm-s-night div.CodeMirror-selected{background:#447}.cm-s-night .CodeMirror-line::selection,.cm-s-night .CodeMirror-line>span::selection,.cm-s-night .CodeMirror-line>span>span::selection{background:rgba(68,68,119,.99)}.cm-s-night .CodeMirror-line::-moz-selection,.cm-s-night .CodeMirror-line>span::-moz-selection,.cm-s-night .CodeMirror-line>span>span::-moz-selection{background:rgba(68,68,119,.99)}.cm-s-night .CodeMirror-gutters{background:#0a001f;border-right:1px solid #aaa}.cm-s-night .CodeMirror-guttermarker{color:#fff}.cm-s-night .CodeMirror-guttermarker-subtle{color:#bbb}.cm-s-night .CodeMirror-linenumber{color:#f8f8f8}.cm-s-night .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-night span.cm-comment{color:#8900d1}.cm-s-night span.cm-atom{color:#845dc4}.cm-s-night span.cm-attribute,.cm-s-night span.cm-number{color:#ffd500}.cm-s-night span.cm-keyword{color:#599eff}.cm-s-night span.cm-string{color:#37f14a}.cm-s-night span.cm-meta{color:#7678e2}.cm-s-night span.cm-tag,.cm-s-night span.cm-variable-2{color:#99b2ff}.cm-s-night span.cm-def,.cm-s-night span.cm-variable-3{color:#fff}.cm-s-night span.cm-bracket{color:#8da6ce}.cm-s-night span.cm-builtin,.cm-s-night span.cm-special{color:#ff9e59}.cm-s-night span.cm-link{color:#845dc4}.cm-s-night span.cm-error{color:#9d1e15}.cm-s-night .CodeMirror-activeline-background{background:#1c005a}.cm-s-night .CodeMirror-matchingbracket{outline:1px solid gray;color:#fff!important}
 
trunk/css/min/cmthemes/panda-syntax.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-panda-syntax{background:#292a2b;color:#e6e6e6;line-height:1.5;font-family:'Operator Mono','Source Sans Pro',Menlo,Monaco,Consolas,Courier New,monospace}.cm-s-panda-syntax .CodeMirror-cursor{border-color:#ff2c6d}.cm-s-panda-syntax .CodeMirror-activeline-background{background:rgba(99,123,156,.1)}.cm-s-panda-syntax .CodeMirror-selected{background:#fff}.cm-s-panda-syntax .cm-comment{font-style:italic;color:#676b79}.cm-s-panda-syntax .cm-operator{color:#f3f3f3}.cm-s-panda-syntax .cm-string{color:#19f9d8}.cm-s-panda-syntax .cm-string-2{color:#ffb86c}.cm-s-panda-syntax .cm-tag{color:#ff2c6d}.cm-s-panda-syntax .cm-meta{color:#b084eb}.cm-s-panda-syntax .cm-number{color:#ffb86c}.cm-s-panda-syntax .cm-atom{color:#ff2c6d}.cm-s-panda-syntax .cm-keyword{color:#ff75b5}.cm-s-panda-syntax .cm-variable{color:#ffb86c}.cm-s-panda-syntax .cm-variable-2,.cm-s-panda-syntax .cm-variable-3{color:#ff9ac1}.cm-s-panda-syntax .cm-def{color:#e6e6e6}.cm-s-panda-syntax .cm-property{color:#f3f3f3}.cm-s-panda-syntax .cm-attribute,.cm-s-panda-syntax .cm-unit{color:#ffb86c}.cm-s-panda-syntax .CodeMirror-matchingbracket{border-bottom:1px dotted #19f9d8;padding-bottom:2px;color:#e6e6e6}.cm-s-panda-syntax .CodeMirror-gutters{background:#292a2b;border-right-color:rgba(255,255,255,.1)}.cm-s-panda-syntax .CodeMirror-linenumber{color:#e6e6e6;opacity:.6}
 
trunk/css/min/cmthemes/paraiso-dark.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-paraiso-dark.CodeMirror{background:#2f1e2e;color:#b9b6b0}.cm-s-paraiso-dark div.CodeMirror-selected{background:#41323f}.cm-s-paraiso-dark .CodeMirror-line::selection,.cm-s-paraiso-dark .CodeMirror-line>span::selection,.cm-s-paraiso-dark .CodeMirror-line>span>span::selection{background:rgba(65,50,63,.99)}.cm-s-paraiso-dark .CodeMirror-line::-moz-selection,.cm-s-paraiso-dark .CodeMirror-line>span::-moz-selection,.cm-s-paraiso-dark .CodeMirror-line>span>span::-moz-selection{background:rgba(65,50,63,.99)}.cm-s-paraiso-dark .CodeMirror-gutters{background:#2f1e2e;border-right:0}.cm-s-paraiso-dark .CodeMirror-guttermarker{color:#ef6155}.cm-s-paraiso-dark .CodeMirror-guttermarker-subtle,.cm-s-paraiso-dark .CodeMirror-linenumber{color:#776e71}.cm-s-paraiso-dark .CodeMirror-cursor{border-left:1px solid #8d8687}.cm-s-paraiso-dark span.cm-comment{color:#e96ba8}.cm-s-paraiso-dark span.cm-atom,.cm-s-paraiso-dark span.cm-number{color:#815ba4}.cm-s-paraiso-dark span.cm-attribute,.cm-s-paraiso-dark span.cm-property{color:#48b685}.cm-s-paraiso-dark span.cm-keyword{color:#ef6155}.cm-s-paraiso-dark span.cm-string{color:#fec418}.cm-s-paraiso-dark span.cm-variable{color:#48b685}.cm-s-paraiso-dark span.cm-variable-2{color:#06b6ef}.cm-s-paraiso-dark span.cm-def{color:#f99b15}.cm-s-paraiso-dark span.cm-bracket{color:#b9b6b0}.cm-s-paraiso-dark span.cm-tag{color:#ef6155}.cm-s-paraiso-dark span.cm-link{color:#815ba4}.cm-s-paraiso-dark span.cm-error{background:#ef6155;color:#8d8687}.cm-s-paraiso-dark .CodeMirror-activeline-background{background:#4d344a}.cm-s-paraiso-dark .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}
 
trunk/css/min/cmthemes/paraiso-light.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-paraiso-light.CodeMirror{background:#e7e9db;color:#41323f}.cm-s-paraiso-light div.CodeMirror-selected{background:#b9b6b0}.cm-s-paraiso-light .CodeMirror-line::selection,.cm-s-paraiso-light .CodeMirror-line>span::selection,.cm-s-paraiso-light .CodeMirror-line>span>span::selection{background:#b9b6b0}.cm-s-paraiso-light .CodeMirror-line::-moz-selection,.cm-s-paraiso-light .CodeMirror-line>span::-moz-selection,.cm-s-paraiso-light .CodeMirror-line>span>span::-moz-selection{background:#b9b6b0}.cm-s-paraiso-light .CodeMirror-gutters{background:#e7e9db;border-right:0}.cm-s-paraiso-light .CodeMirror-guttermarker{color:#000}.cm-s-paraiso-light .CodeMirror-guttermarker-subtle,.cm-s-paraiso-light .CodeMirror-linenumber{color:#8d8687}.cm-s-paraiso-light .CodeMirror-cursor{border-left:1px solid #776e71}.cm-s-paraiso-light span.cm-comment{color:#e96ba8}.cm-s-paraiso-light span.cm-atom,.cm-s-paraiso-light span.cm-number{color:#815ba4}.cm-s-paraiso-light span.cm-attribute,.cm-s-paraiso-light span.cm-property{color:#48b685}.cm-s-paraiso-light span.cm-keyword{color:#ef6155}.cm-s-paraiso-light span.cm-string{color:#fec418}.cm-s-paraiso-light span.cm-variable{color:#48b685}.cm-s-paraiso-light span.cm-variable-2{color:#06b6ef}.cm-s-paraiso-light span.cm-def{color:#f99b15}.cm-s-paraiso-light span.cm-bracket{color:#41323f}.cm-s-paraiso-light span.cm-tag{color:#ef6155}.cm-s-paraiso-light span.cm-link{color:#815ba4}.cm-s-paraiso-light span.cm-error{background:#ef6155;color:#776e71}.cm-s-paraiso-light .CodeMirror-activeline-background{background:#cfd1c4}.cm-s-paraiso-light .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}
 
trunk/css/min/cmthemes/pastel-on-dark.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-pastel-on-dark.CodeMirror{background:#2c2827;color:#8f938f;line-height:1.5}.cm-s-pastel-on-dark div.CodeMirror-selected{background:rgba(221,240,255,.2)}.cm-s-pastel-on-dark .CodeMirror-line::selection,.cm-s-pastel-on-dark .CodeMirror-line>span::selection,.cm-s-pastel-on-dark .CodeMirror-line>span>span::selection{background:rgba(221,240,255,.2)}.cm-s-pastel-on-dark .CodeMirror-line::-moz-selection,.cm-s-pastel-on-dark .CodeMirror-line>span::-moz-selection,.cm-s-pastel-on-dark .CodeMirror-line>span>span::-moz-selection{background:rgba(221,240,255,.2)}.cm-s-pastel-on-dark .CodeMirror-gutters{background:#34302f;border-right:0;padding:0 3px}.cm-s-pastel-on-dark .CodeMirror-guttermarker{color:#fff}.cm-s-pastel-on-dark .CodeMirror-guttermarker-subtle,.cm-s-pastel-on-dark .CodeMirror-linenumber{color:#8f938f}.cm-s-pastel-on-dark .CodeMirror-cursor{border-left:1px solid #a7a7a7}.cm-s-pastel-on-dark span.cm-comment{color:#a6c6ff}.cm-s-pastel-on-dark span.cm-atom{color:#de8e30}.cm-s-pastel-on-dark span.cm-number{color:#ccc}.cm-s-pastel-on-dark span.cm-property{color:#8f938f}.cm-s-pastel-on-dark span.cm-attribute{color:#a6e22e}.cm-s-pastel-on-dark span.cm-keyword{color:#aeb2f8}.cm-s-pastel-on-dark span.cm-string{color:#66a968}.cm-s-pastel-on-dark span.cm-variable{color:#aeb2f8}.cm-s-pastel-on-dark span.cm-variable-2{color:#bebf55}.cm-s-pastel-on-dark span.cm-variable-3{color:#de8e30}.cm-s-pastel-on-dark span.cm-def{color:#757ad8}.cm-s-pastel-on-dark span.cm-bracket{color:#f8f8f2}.cm-s-pastel-on-dark span.cm-tag{color:#c1c144}.cm-s-pastel-on-dark span.cm-link{color:#ae81ff}.cm-s-pastel-on-dark span.cm-builtin,.cm-s-pastel-on-dark span.cm-qualifier{color:#c1c144}.cm-s-pastel-on-dark span.cm-error{background:#757ad8;color:#f8f8f0}.cm-s-pastel-on-dark .CodeMirror-activeline-background{background:rgba(255,255,255,.031)}.cm-s-pastel-on-dark .CodeMirror-matchingbracket{border:1px solid rgba(255,255,255,.25);color:#8f938f!important;margin:-1px -1px 0}
 
trunk/css/min/cmthemes/railscasts.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-railscasts.CodeMirror{background:#2b2b2b;color:#f4f1ed}.cm-s-railscasts div.CodeMirror-selected{background:#272935!important}.cm-s-railscasts .CodeMirror-gutters{background:#2b2b2b;border-right:0}.cm-s-railscasts .CodeMirror-linenumber{color:#5a647e}.cm-s-railscasts .CodeMirror-cursor{border-left:1px solid #d4cfc9!important}.cm-s-railscasts span.cm-comment{color:#bc9458}.cm-s-railscasts span.cm-atom,.cm-s-railscasts span.cm-number{color:#b6b3eb}.cm-s-railscasts span.cm-attribute,.cm-s-railscasts span.cm-property{color:#a5c261}.cm-s-railscasts span.cm-keyword{color:#da4939}.cm-s-railscasts span.cm-string{color:#ffc66d}.cm-s-railscasts span.cm-variable{color:#a5c261}.cm-s-railscasts span.cm-variable-2{color:#6d9cbe}.cm-s-railscasts span.cm-def{color:#cc7833}.cm-s-railscasts span.cm-error{background:#da4939;color:#d4cfc9}.cm-s-railscasts span.cm-bracket{color:#f4f1ed}.cm-s-railscasts span.cm-tag{color:#da4939}.cm-s-railscasts span.cm-link{color:#b6b3eb}.cm-s-railscasts .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}.cm-s-railscasts .CodeMirror-activeline-background{background:#303040}
 
trunk/css/min/cmthemes/rubyblue.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-rubyblue.CodeMirror{background:#112435;color:#fff}.cm-s-rubyblue div.CodeMirror-selected{background:#38566f}.cm-s-rubyblue .CodeMirror-line::selection,.cm-s-rubyblue .CodeMirror-line>span::selection,.cm-s-rubyblue .CodeMirror-line>span>span::selection{background:rgba(56,86,111,.99)}.cm-s-rubyblue .CodeMirror-line::-moz-selection,.cm-s-rubyblue .CodeMirror-line>span::-moz-selection,.cm-s-rubyblue .CodeMirror-line>span>span::-moz-selection{background:rgba(56,86,111,.99)}.cm-s-rubyblue .CodeMirror-gutters{background:#1f4661;border-right:7px solid #3e7087}.cm-s-rubyblue .CodeMirror-guttermarker{color:#fff}.cm-s-rubyblue .CodeMirror-guttermarker-subtle{color:#3e7087}.cm-s-rubyblue .CodeMirror-linenumber{color:#fff}.cm-s-rubyblue .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-rubyblue span.cm-comment{color:#999;font-style:italic;line-height:1em}.cm-s-rubyblue span.cm-atom{color:#f4c20b}.cm-s-rubyblue span.cm-attribute,.cm-s-rubyblue span.cm-number{color:#82c6e0}.cm-s-rubyblue span.cm-keyword{color:#f0f}.cm-s-rubyblue span.cm-string{color:#f08047}.cm-s-rubyblue span.cm-meta{color:#f0f}.cm-s-rubyblue span.cm-tag,.cm-s-rubyblue span.cm-variable-2{color:#7bd827}.cm-s-rubyblue span.cm-def,.cm-s-rubyblue span.cm-variable-3{color:#fff}.cm-s-rubyblue span.cm-bracket{color:#f0f}.cm-s-rubyblue span.cm-link{color:#f4c20b}.cm-s-rubyblue span.CodeMirror-matchingbracket{color:#f0f!important}.cm-s-rubyblue span.cm-builtin,.cm-s-rubyblue span.cm-special{color:#ff9d00}.cm-s-rubyblue span.cm-error{color:#af2018}.cm-s-rubyblue .CodeMirror-activeline-background{background:#173047}
 
trunk/css/min/cmthemes/seti.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-seti.CodeMirror{background-color:#151718!important;color:#cfd2d1!important;border:none}.cm-s-seti .CodeMirror-gutters{color:#404b53;background-color:#0e1112;border:none}.cm-s-seti .CodeMirror-cursor{border-left:solid thin #f8f8f0}.cm-s-seti .CodeMirror-linenumber{color:#6d8a88}.cm-s-seti.CodeMirror-focused div.CodeMirror-selected{background:rgba(255,255,255,.1)}.cm-s-seti .CodeMirror-line::selection,.cm-s-seti .CodeMirror-line>span::selection,.cm-s-seti .CodeMirror-line>span>span::selection{background:rgba(255,255,255,.1)}.cm-s-seti .CodeMirror-line::-moz-selection,.cm-s-seti .CodeMirror-line>span::-moz-selection,.cm-s-seti .CodeMirror-line>span>span::-moz-selection{background:rgba(255,255,255,.1)}.cm-s-seti span.cm-comment{color:#41535b}.cm-s-seti span.cm-string,.cm-s-seti span.cm-string-2{color:#55b5db}.cm-s-seti span.cm-number{color:#cd3f45}.cm-s-seti span.cm-variable{color:#55b5db}.cm-s-seti span.cm-variable-2{color:#a074c4}.cm-s-seti span.cm-def{color:#55b5db}.cm-s-seti span.cm-operator{color:#9fca56}.cm-s-seti span.cm-keyword{color:#e6cd69}.cm-s-seti span.cm-atom{color:#cd3f45}.cm-s-seti span.cm-meta,.cm-s-seti span.cm-tag{color:#55b5db}.cm-s-seti span.cm-attribute,.cm-s-seti span.cm-qualifier{color:#9fca56}.cm-s-seti span.cm-property{color:#a074c4}.cm-s-seti span.cm-builtin,.cm-s-seti span.cm-variable-3{color:#9fca56}.cm-s-seti .CodeMirror-activeline-background{background:#101213}.cm-s-seti .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}
 
trunk/css/min/cmthemes/solarized.css DELETED
@@ -1 +0,0 @@
1
- .solarized.base03{color:#002b36}.solarized.base02{color:#073642}.solarized.base01{color:#586e75}.solarized.base00{color:#657b83}.solarized.base0{color:#839496}.solarized.base1{color:#93a1a1}.solarized.base2{color:#eee8d5}.solarized.base3{color:#fdf6e3}.solarized.solar-yellow{color:#b58900}.solarized.solar-orange{color:#cb4b16}.solarized.solar-red{color:#dc322f}.solarized.solar-magenta{color:#d33682}.solarized.solar-violet{color:#6c71c4}.solarized.solar-blue{color:#268bd2}.solarized.solar-cyan{color:#2aa198}.solarized.solar-green{color:#859900}.cm-s-solarized{line-height:1.45em;color-profile:sRGB;rendering-intent:auto}.cm-s-solarized.cm-s-dark{color:#839496;background-color:#002b36;text-shadow:#002b36 0 1px}.cm-s-solarized.cm-s-light{background-color:#fdf6e3;color:#657b83;text-shadow:#eee8d5 0 1px}.cm-s-solarized .CodeMirror-widget{text-shadow:none}.cm-s-solarized .cm-header{color:#586e75}.cm-s-solarized .cm-quote{color:#93a1a1}.cm-s-solarized .cm-keyword{color:#cb4b16}.cm-s-solarized .cm-atom,.cm-s-solarized .cm-number{color:#d33682}.cm-s-solarized .cm-def{color:#2aa198}.cm-s-solarized .cm-variable{color:#839496}.cm-s-solarized .cm-variable-2{color:#b58900}.cm-s-solarized .cm-variable-3{color:#6c71c4}.cm-s-solarized .cm-property{color:#2aa198}.cm-s-solarized .cm-operator{color:#6c71c4}.cm-s-solarized .cm-comment{color:#586e75;font-style:italic}.cm-s-solarized .cm-string{color:#859900}.cm-s-solarized .cm-string-2{color:#b58900}.cm-s-solarized .cm-meta{color:#859900}.cm-s-solarized .cm-qualifier{color:#b58900}.cm-s-solarized .cm-builtin{color:#d33682}.cm-s-solarized .cm-bracket{color:#cb4b16}.cm-s-solarized .CodeMirror-matchingbracket{color:#859900}.cm-s-solarized .CodeMirror-nonmatchingbracket{color:#dc322f}.cm-s-solarized .cm-tag{color:#93a1a1}.cm-s-solarized .cm-attribute{color:#2aa198}.cm-s-solarized .cm-hr{color:transparent;border-top:1px solid #586e75;display:block}.cm-s-solarized .cm-link{color:#93a1a1;cursor:pointer}.cm-s-solarized .cm-special{color:#6c71c4}.cm-s-solarized .cm-em{color:#999;text-decoration:underline;text-decoration-style:dotted}.cm-s-solarized .cm-strong{color:#eee}.cm-s-solarized .cm-error,.cm-s-solarized .cm-invalidchar{color:#586e75;border-bottom:1px dotted #dc322f}.cm-s-solarized.cm-s-dark div.CodeMirror-selected{background:#073642}.cm-s-solarized.cm-s-dark.CodeMirror ::selection{background:rgba(7,54,66,.99)}.cm-s-dark .CodeMirror-line>span::-moz-selection,.cm-s-dark .CodeMirror-line>span>span::-moz-selection,.cm-s-solarized.cm-s-dark .CodeMirror-line::-moz-selection{background:rgba(7,54,66,.99)}.cm-s-solarized.cm-s-light div.CodeMirror-selected{background:#eee8d5}.cm-s-light .CodeMirror-line>span::selection,.cm-s-light .CodeMirror-line>span>span::selection,.cm-s-solarized.cm-s-light .CodeMirror-line::selection{background:#eee8d5}.cm-s-ligh .CodeMirror-line>span::-moz-selection,.cm-s-ligh .CodeMirror-line>span>span::-moz-selection,.cm-s-solarized.cm-s-light .CodeMirror-line::-moz-selection{background:#eee8d5}.cm-s-solarized.CodeMirror{-moz-box-shadow:inset 7px 0 12px -6px #000;-webkit-box-shadow:inset 7px 0 12px -6px #000;box-shadow:inset 7px 0 12px -6px #000}.cm-s-solarized .CodeMirror-gutters{border-right:0}.cm-s-solarized.cm-s-dark .CodeMirror-gutters{background-color:#073642}.cm-s-solarized.cm-s-dark .CodeMirror-linenumber{color:#586e75;text-shadow:#021014 0 -1px}.cm-s-solarized.cm-s-light .CodeMirror-gutters{background-color:#eee8d5}.cm-s-solarized.cm-s-light .CodeMirror-linenumber{color:#839496}.cm-s-solarized .CodeMirror-linenumber{padding:0 5px}.cm-s-solarized .CodeMirror-guttermarker-subtle{color:#586e75}.cm-s-solarized.cm-s-dark .CodeMirror-guttermarker{color:#ddd}.cm-s-solarized.cm-s-light .CodeMirror-guttermarker{color:#cb4b16}.cm-s-solarized .CodeMirror-gutter .CodeMirror-gutter-text{color:#586e75}.cm-s-solarized .CodeMirror-cursor{border-left:1px solid #819090}.cm-s-solarized.cm-s-light.cm-fat-cursor .CodeMirror-cursor{background:#7e7}.cm-s-solarized.cm-s-light .cm-animate-fat-cursor{background-color:#7e7}.cm-s-solarized.cm-s-dark.cm-fat-cursor .CodeMirror-cursor{background:#586e75}.cm-s-solarized.cm-s-dark .cm-animate-fat-cursor{background-color:#586e75}.cm-s-solarized.cm-s-dark .CodeMirror-activeline-background{background:rgba(255,255,255,.06)}.cm-s-solarized.cm-s-light .CodeMirror-activeline-background{background:rgba(0,0,0,.06)}
 
trunk/css/min/cmthemes/the-matrix.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-the-matrix.CodeMirror{background:#000;color:#0f0}.cm-s-the-matrix div.CodeMirror-selected{background:#2d2d2d}.cm-s-the-matrix .CodeMirror-line::selection,.cm-s-the-matrix .CodeMirror-line>span::selection,.cm-s-the-matrix .CodeMirror-line>span>span::selection{background:rgba(45,45,45,.99)}.cm-s-the-matrix .CodeMirror-line::-moz-selection,.cm-s-the-matrix .CodeMirror-line>span::-moz-selection,.cm-s-the-matrix .CodeMirror-line>span>span::-moz-selection{background:rgba(45,45,45,.99)}.cm-s-the-matrix .CodeMirror-gutters{background:#060;border-right:2px solid #0f0}.cm-s-the-matrix .CodeMirror-guttermarker{color:#0f0}.cm-s-the-matrix .CodeMirror-guttermarker-subtle,.cm-s-the-matrix .CodeMirror-linenumber{color:#fff}.cm-s-the-matrix .CodeMirror-cursor{border-left:1px solid #0f0}.cm-s-the-matrix span.cm-keyword{color:#008803;font-weight:700}.cm-s-the-matrix span.cm-atom{color:#3ff}.cm-s-the-matrix span.cm-number{color:#ffb94f}.cm-s-the-matrix span.cm-def{color:#99c}.cm-s-the-matrix span.cm-variable{color:#f6c}.cm-s-the-matrix span.cm-variable-2{color:#c6f}.cm-s-the-matrix span.cm-variable-3{color:#96f}.cm-s-the-matrix span.cm-property{color:#62ffa0}.cm-s-the-matrix span.cm-operator{color:#999}.cm-s-the-matrix span.cm-comment{color:#ccc}.cm-s-the-matrix span.cm-string{color:#39c}.cm-s-the-matrix span.cm-meta{color:#c9f}.cm-s-the-matrix span.cm-qualifier{color:#fff700}.cm-s-the-matrix span.cm-builtin{color:#30a}.cm-s-the-matrix span.cm-bracket{color:#cc7}.cm-s-the-matrix span.cm-tag{color:#ffbd40}.cm-s-the-matrix span.cm-attribute{color:#fff700}.cm-s-the-matrix span.cm-error{color:red}.cm-s-the-matrix .CodeMirror-activeline-background{background:#040}
 
trunk/css/min/cmthemes/tomorrow-night-bright.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-tomorrow-night-bright.CodeMirror{background:#000;color:#eaeaea}.cm-s-tomorrow-night-bright div.CodeMirror-selected{background:#424242}.cm-s-tomorrow-night-bright .CodeMirror-gutters{background:#000;border-right:0}.cm-s-tomorrow-night-bright .CodeMirror-guttermarker{color:#e78c45}.cm-s-tomorrow-night-bright .CodeMirror-guttermarker-subtle{color:#777}.cm-s-tomorrow-night-bright .CodeMirror-linenumber{color:#424242}.cm-s-tomorrow-night-bright .CodeMirror-cursor{border-left:1px solid #6a6a6a}.cm-s-tomorrow-night-bright span.cm-comment{color:#d27b53}.cm-s-tomorrow-night-bright span.cm-atom,.cm-s-tomorrow-night-bright span.cm-number{color:#a16a94}.cm-s-tomorrow-night-bright span.cm-attribute,.cm-s-tomorrow-night-bright span.cm-property{color:#9c9}.cm-s-tomorrow-night-bright span.cm-keyword{color:#d54e53}.cm-s-tomorrow-night-bright span.cm-string{color:#e7c547}.cm-s-tomorrow-night-bright span.cm-variable{color:#b9ca4a}.cm-s-tomorrow-night-bright span.cm-variable-2{color:#7aa6da}.cm-s-tomorrow-night-bright span.cm-def{color:#e78c45}.cm-s-tomorrow-night-bright span.cm-bracket{color:#eaeaea}.cm-s-tomorrow-night-bright span.cm-tag{color:#d54e53}.cm-s-tomorrow-night-bright span.cm-link{color:#a16a94}.cm-s-tomorrow-night-bright span.cm-error{background:#d54e53;color:#6a6a6a}.cm-s-tomorrow-night-bright .CodeMirror-activeline-background{background:#2a2a2a}.cm-s-tomorrow-night-bright .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}
 
trunk/css/min/cmthemes/tomorrow-night-eighties.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-tomorrow-night-eighties.CodeMirror{background:#000;color:#ccc}.cm-s-tomorrow-night-eighties div.CodeMirror-selected{background:#2d2d2d}.cm-s-tomorrow-night-eighties .CodeMirror-line::selection,.cm-s-tomorrow-night-eighties .CodeMirror-line>span::selection,.cm-s-tomorrow-night-eighties .CodeMirror-line>span>span::selection{background:rgba(45,45,45,.99)}.cm-s-tomorrow-night-eighties .CodeMirror-line::-moz-selection,.cm-s-tomorrow-night-eighties .CodeMirror-line>span::-moz-selection,.cm-s-tomorrow-night-eighties .CodeMirror-line>span>span::-moz-selection{background:rgba(45,45,45,.99)}.cm-s-tomorrow-night-eighties .CodeMirror-gutters{background:#000;border-right:0}.cm-s-tomorrow-night-eighties .CodeMirror-guttermarker{color:#f2777a}.cm-s-tomorrow-night-eighties .CodeMirror-guttermarker-subtle{color:#777}.cm-s-tomorrow-night-eighties .CodeMirror-linenumber{color:#515151}.cm-s-tomorrow-night-eighties .CodeMirror-cursor{border-left:1px solid #6a6a6a}.cm-s-tomorrow-night-eighties span.cm-comment{color:#d27b53}.cm-s-tomorrow-night-eighties span.cm-atom,.cm-s-tomorrow-night-eighties span.cm-number{color:#a16a94}.cm-s-tomorrow-night-eighties span.cm-attribute,.cm-s-tomorrow-night-eighties span.cm-property{color:#9c9}.cm-s-tomorrow-night-eighties span.cm-keyword{color:#f2777a}.cm-s-tomorrow-night-eighties span.cm-string{color:#fc6}.cm-s-tomorrow-night-eighties span.cm-variable{color:#9c9}.cm-s-tomorrow-night-eighties span.cm-variable-2{color:#69c}.cm-s-tomorrow-night-eighties span.cm-def{color:#f99157}.cm-s-tomorrow-night-eighties span.cm-bracket{color:#ccc}.cm-s-tomorrow-night-eighties span.cm-tag{color:#f2777a}.cm-s-tomorrow-night-eighties span.cm-link{color:#a16a94}.cm-s-tomorrow-night-eighties span.cm-error{background:#f2777a;color:#6a6a6a}.cm-s-tomorrow-night-eighties .CodeMirror-activeline-background{background:#343600}.cm-s-tomorrow-night-eighties .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}
 
trunk/css/min/cmthemes/ttcn.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-ttcn .cm-quote{color:#090}.cm-strong{font-weight:700}.cm-s-ttcn .cm-header{color:#00f;font-weight:700}.cm-s-ttcn .cm-atom{color:#219}.cm-s-ttcn .cm-attribute{color:#00c}.cm-s-ttcn .cm-bracket{color:#997}.cm-s-ttcn .cm-comment{color:#333}.cm-s-ttcn .cm-def{color:#00f}.cm-s-ttcn .cm-em{font-style:italic}.cm-s-ttcn .cm-error{color:red}.cm-s-ttcn .cm-hr{color:#999}.cm-s-ttcn .cm-keyword{font-weight:700}.cm-s-ttcn .cm-link{color:#00c;text-decoration:underline}.cm-s-ttcn .cm-meta{color:#555}.cm-s-ttcn .cm-negative{color:#d44}.cm-s-ttcn .cm-positive{color:#292}.cm-s-ttcn .cm-qualifier{color:#555}.cm-s-ttcn .cm-strikethrough{text-decoration:line-through}.cm-s-ttcn .cm-string{color:#006400}.cm-s-ttcn .cm-string-2{color:#f50}.cm-s-ttcn .cm-strong{font-weight:700}.cm-s-ttcn .cm-tag{color:#170}.cm-s-ttcn .cm-variable{color:#8b2252}.cm-s-ttcn .cm-variable-2{color:#05a}.cm-s-ttcn .cm-variable-3{color:#085}.cm-s-ttcn .cm-invalidchar{color:red}.cm-s-ttcn .cm-accessTypes,.cm-s-ttcn .cm-compareTypes{color:#27408b}.cm-s-ttcn .cm-cmipVerbs{color:#8b2252}.cm-s-ttcn .cm-modifier{color:#d2691e}.cm-s-ttcn .cm-status{color:#8b4545}.cm-s-ttcn .cm-storage{color:#a020f0}.cm-s-ttcn .cm-tags{color:#006400}.cm-s-ttcn .cm-externalCommands{color:#8b4545;font-weight:700}.cm-s-ttcn .cm-fileNCtrlMaskOptions,.cm-s-ttcn .cm-sectionTitle{color:#2e8b57;font-weight:700}.cm-s-ttcn .cm-booleanConsts,.cm-s-ttcn .cm-otherConsts,.cm-s-ttcn .cm-verdictConsts{color:#006400}.cm-s-ttcn .cm-configOps,.cm-s-ttcn .cm-functionOps,.cm-s-ttcn .cm-portOps,.cm-s-ttcn .cm-sutOps,.cm-s-ttcn .cm-timerOps,.cm-s-ttcn .cm-verdictOps{color:#00f}.cm-s-ttcn .cm-preprocessor,.cm-s-ttcn .cm-templateMatch,.cm-s-ttcn .cm-ttcn3Macros{color:#27408b}.cm-s-ttcn .cm-types{color:brown;font-weight:700}.cm-s-ttcn .cm-visibilityModifiers{font-weight:700}
 
trunk/css/min/cmthemes/twilight.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-twilight.CodeMirror{background:#141414;color:#f7f7f7}.cm-s-twilight div.CodeMirror-selected{background:#323232}.cm-s-twilight .CodeMirror-line::selection,.cm-s-twilight .CodeMirror-line>span::selection,.cm-s-twilight .CodeMirror-line>span>span::selection{background:rgba(50,50,50,.99)}.cm-s-twilight .CodeMirror-line::-moz-selection,.cm-s-twilight .CodeMirror-line>span::-moz-selection,.cm-s-twilight .CodeMirror-line>span>span::-moz-selection{background:rgba(50,50,50,.99)}.cm-s-twilight .CodeMirror-gutters{background:#222;border-right:1px solid #aaa}.cm-s-twilight .CodeMirror-guttermarker{color:#fff}.cm-s-twilight .CodeMirror-guttermarker-subtle,.cm-s-twilight .CodeMirror-linenumber{color:#aaa}.cm-s-twilight .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-twilight .cm-keyword{color:#f9ee98}.cm-s-twilight .cm-atom{color:#fc0}.cm-s-twilight .cm-number{color:#ca7841}.cm-s-twilight .cm-def{color:#8da6ce}.cm-s-twilight span.cm-def,.cm-s-twilight span.cm-tag,.cm-s-twilight span.cm-variable-2,.cm-s-twilight span.cm-variable-3{color:#607392}.cm-s-twilight .cm-operator{color:#cda869}.cm-s-twilight .cm-comment{color:#777;font-style:italic;font-weight:400}.cm-s-twilight .cm-string{color:#8f9d6a;font-style:italic}.cm-s-twilight .cm-string-2{color:#bd6b18}.cm-s-twilight .cm-meta{background-color:#141414;color:#f7f7f7}.cm-s-twilight .cm-builtin{color:#cda869}.cm-s-twilight .cm-tag{color:#997643}.cm-s-twilight .cm-attribute{color:#d6bb6d}.cm-s-twilight .cm-header{color:#ff6400}.cm-s-twilight .cm-hr{color:#aeaeae}.cm-s-twilight .cm-link{color:#ad9361;font-style:italic;text-decoration:none}.cm-s-twilight .cm-error{border-bottom:1px solid red}.cm-s-twilight .CodeMirror-activeline-background{background:#27282e}.cm-s-twilight .CodeMirror-matchingbracket{outline:1px solid gray;color:#fff!important}
 
trunk/css/min/cmthemes/vibrant-ink.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-vibrant-ink.CodeMirror{background:#000;color:#fff}.cm-s-vibrant-ink div.CodeMirror-selected{background:#35493c}.cm-s-vibrant-ink .CodeMirror-line::selection,.cm-s-vibrant-ink .CodeMirror-line>span::selection,.cm-s-vibrant-ink .CodeMirror-line>span>span::selection{background:rgba(53,73,60,.99)}.cm-s-vibrant-ink .CodeMirror-line::-moz-selection,.cm-s-vibrant-ink .CodeMirror-line>span::-moz-selection,.cm-s-vibrant-ink .CodeMirror-line>span>span::-moz-selection{background:rgba(53,73,60,.99)}.cm-s-vibrant-ink .CodeMirror-gutters{background:#002240;border-right:1px solid #aaa}.cm-s-vibrant-ink .CodeMirror-guttermarker{color:#fff}.cm-s-vibrant-ink .CodeMirror-guttermarker-subtle,.cm-s-vibrant-ink .CodeMirror-linenumber{color:#d0d0d0}.cm-s-vibrant-ink .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-vibrant-ink .cm-keyword{color:#cc7832}.cm-s-vibrant-ink .cm-atom{color:#fc0}.cm-s-vibrant-ink .cm-number{color:#ffee98}.cm-s-vibrant-ink .cm-def{color:#8da6ce}.cm-s-vibrant span.cm-def,.cm-s-vibrant span.cm-tag,.cm-s-vibrant-ink span.cm-variable-2,.cm-s-vibrant-ink span.cm-variable-3{color:#ffc66d}.cm-s-vibrant-ink .cm-operator{color:#888}.cm-s-vibrant-ink .cm-comment{color:gray;font-weight:700}.cm-s-vibrant-ink .cm-string{color:#a5c25c}.cm-s-vibrant-ink .cm-string-2{color:red}.cm-s-vibrant-ink .cm-meta{color:#d8fa3c}.cm-s-vibrant-ink .cm-attribute,.cm-s-vibrant-ink .cm-builtin,.cm-s-vibrant-ink .cm-tag{color:#8da6ce}.cm-s-vibrant-ink .cm-header{color:#ff6400}.cm-s-vibrant-ink .cm-hr{color:#aeaeae}.cm-s-vibrant-ink .cm-link{color:#00f}.cm-s-vibrant-ink .cm-error{border-bottom:1px solid red}.cm-s-vibrant-ink .CodeMirror-activeline-background{background:#27282e}.cm-s-vibrant-ink .CodeMirror-matchingbracket{outline:1px solid gray;color:#fff!important}
 
trunk/css/min/cmthemes/xq-dark.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-xq-dark.CodeMirror{background:#0a001f;color:#f8f8f8}.cm-s-xq-dark div.CodeMirror-selected{background:#27007a}.cm-s-xq-dark .CodeMirror-line::selection,.cm-s-xq-dark .CodeMirror-line>span::selection,.cm-s-xq-dark .CodeMirror-line>span>span::selection{background:rgba(39,0,122,.99)}.cm-s-xq-dark .CodeMirror-line::-moz-selection,.cm-s-xq-dark .CodeMirror-line>span::-moz-selection,.cm-s-xq-dark .CodeMirror-line>span>span::-moz-selection{background:rgba(39,0,122,.99)}.cm-s-xq-dark .CodeMirror-gutters{background:#0a001f;border-right:1px solid #aaa}.cm-s-xq-dark .CodeMirror-guttermarker,.cm-s-xq-dark span.cm-keyword{color:#ffbd40}.cm-s-xq-dark .CodeMirror-guttermarker-subtle,.cm-s-xq-dark .CodeMirror-linenumber{color:#f8f8f8}.cm-s-xq-dark .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-xq-dark span.cm-atom{color:#6c8cd5}.cm-s-xq-dark span.cm-number{color:#164}.cm-s-xq-dark span.cm-def{color:#fff;text-decoration:underline}.cm-s-xq-dark span.cm-variable{color:#fff}.cm-s-xq-dark span.cm-variable-2{color:#eee}.cm-s-xq-dark span.cm-variable-3{color:#ddd}.cm-s-xq-dark span.cm-comment{color:gray}.cm-s-xq-dark span.cm-string{color:#9fee00}.cm-s-xq-dark span.cm-meta{color:#ff0}.cm-s-xq-dark span.cm-qualifier{color:#fff700}.cm-s-xq-dark span.cm-builtin{color:#30a}.cm-s-xq-dark span.cm-bracket{color:#cc7}.cm-s-xq-dark span.cm-tag{color:#ffbd40}.cm-s-xq-dark span.cm-attribute{color:#fff700}.cm-s-xq-dark span.cm-error{color:red}.cm-s-xq-dark .CodeMirror-activeline-background{background:#27282e}.cm-s-xq-dark .CodeMirror-matchingbracket{outline:1px solid gray;color:#fff!important}
 
trunk/css/min/cmthemes/xq-light.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-xq-light span.cm-keyword{line-height:1em;font-weight:700;color:#5a5cad}.cm-s-xq-light span.cm-atom{color:#6c8cd5}.cm-s-xq-light span.cm-number{color:#164}.cm-s-xq-light span.cm-def{text-decoration:underline}.cm-s-xq-light span.cm-variable,.cm-s-xq-light span.cm-variable-2,.cm-s-xq-light span.cm-variable-3{color:#000}.cm-s-xq-light span.cm-comment{color:#0080ff;font-style:italic}.cm-s-xq-light span.cm-string{color:red}.cm-s-xq-light span.cm-meta{color:#ff0}.cm-s-xq-light span.cm-qualifier{color:gray}.cm-s-xq-light span.cm-builtin{color:#7ea656}.cm-s-xq-light span.cm-bracket{color:#cc7}.cm-s-xq-light span.cm-tag{color:#3f7f7f}.cm-s-xq-light span.cm-attribute{color:#7f007f}.cm-s-xq-light span.cm-error{color:red}.cm-s-xq-light .CodeMirror-activeline-background{background:#e8f2ff}.cm-s-xq-light .CodeMirror-matchingbracket{outline:1px solid gray;color:#000!important;background:#ff0}
 
trunk/css/min/cmthemes/yeti.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-yeti.CodeMirror{background-color:#eceae8!important;color:#d1c9c0!important;border:none}.cm-s-yeti .CodeMirror-gutters{color:#adaba6;background-color:#e5e1db;border:none}.cm-s-yeti .CodeMirror-cursor{border-left:solid thin #d1c9c0}.cm-s-yeti .CodeMirror-linenumber{color:#adaba6}.cm-s-yeti.CodeMirror-focused div.CodeMirror-selected{background:#dcd8d2}.cm-s-yeti .CodeMirror-line::selection,.cm-s-yeti .CodeMirror-line>span::selection,.cm-s-yeti .CodeMirror-line>span>span::selection{background:#dcd8d2}.cm-s-yeti .CodeMirror-line::-moz-selection,.cm-s-yeti .CodeMirror-line>span::-moz-selection,.cm-s-yeti .CodeMirror-line>span>span::-moz-selection{background:#dcd8d2}.cm-s-yeti span.cm-comment{color:#d4c8be}.cm-s-yeti span.cm-string,.cm-s-yeti span.cm-string-2{color:#96c0d8}.cm-s-yeti span.cm-number{color:#a074c4}.cm-s-yeti span.cm-variable{color:#55b5db}.cm-s-yeti span.cm-variable-2{color:#a074c4}.cm-s-yeti span.cm-def{color:#55b5db}.cm-s-yeti span.cm-keyword,.cm-s-yeti span.cm-operator{color:#9fb96e}.cm-s-yeti span.cm-atom{color:#a074c4}.cm-s-yeti span.cm-meta,.cm-s-yeti span.cm-tag{color:#96c0d8}.cm-s-yeti span.cm-attribute{color:#9fb96e}.cm-s-yeti span.cm-qualifier{color:#96c0d8}.cm-s-yeti span.cm-builtin,.cm-s-yeti span.cm-property{color:#a074c4}.cm-s-yeti span.cm-variable-3{color:#96c0d8}.cm-s-yeti .CodeMirror-activeline-background{background:#e7e4e0}.cm-s-yeti .CodeMirror-matchingbracket{text-decoration:underline}
 
trunk/css/min/cmthemes/zenburn.css DELETED
@@ -1 +0,0 @@
1
- .cm-s-zenburn .CodeMirror-gutters{background:#3f3f3f!important}.CodeMirror-foldgutter-folded,.cm-s-zenburn .CodeMirror-foldgutter-open{color:#999}.cm-s-zenburn .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-zenburn{background-color:#3f3f3f;color:#dcdccc}.cm-s-zenburn span.cm-builtin{color:#dcdccc;font-weight:700}.cm-s-zenburn span.cm-comment{color:#7f9f7f}.cm-s-zenburn span.cm-keyword{color:#f0dfaf;font-weight:700}.cm-s-zenburn span.cm-atom{color:#bfebbf}.cm-s-zenburn span.cm-def{color:#dcdccc}.cm-s-zenburn span.cm-variable{color:#dfaf8f}.cm-s-zenburn span.cm-variable-2{color:#dcdccc}.cm-s-zenburn span.cm-string,.cm-s-zenburn span.cm-string-2{color:#cc9393}.cm-s-zenburn span.cm-number{color:#dcdccc}.cm-s-zenburn span.cm-tag{color:#93e0e3}.cm-s-zenburn span.cm-attribute,.cm-s-zenburn span.cm-property{color:#dfaf8f}.cm-s-zenburn span.cm-qualifier{color:#7cb8bb}.cm-s-zenburn span.cm-meta{color:#f0dfaf}.cm-s-zenburn span.cm-header,.cm-s-zenburn span.cm-operator{color:#f0efd0}.cm-s-zenburn span.CodeMirror-matchingbracket{box-sizing:border-box;background:0 0;border-bottom:1px solid}.cm-s-zenburn span.CodeMirror-nonmatchingbracket{border-bottom:1px solid;background:0 0}.cm-s-zenburn .CodeMirror-activeline,.cm-s-zenburn .CodeMirror-activeline-background{background:#000}.cm-s-zenburn div.CodeMirror-selected{background:#545454}.cm-s-zenburn .CodeMirror-focused div.CodeMirror-selected{background:#4f4f4f}
 
trunk/css/min/codemirror.css DELETED
@@ -1 +0,0 @@
1
- .CodeMirror{font-family:monospace;height:300px;color:#000}.CodeMirror-lines{padding:4px 0}.CodeMirror pre{padding:0 4px;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;border-width:0;background:0 0;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;-webkit-font-variant-ligatures:none;font-variant-ligatures:none}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.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;background-color:#7e7}@-moz-keyframes blink{50%{background-color:transparent}}@-webkit-keyframes blink{50%{background-color:transparent}}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;left:0;right:0;top:-50px;bottom:-20px;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.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-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,.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-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}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}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-30px;margin-right:-30px;padding-bottom:30px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:30px solid transparent}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{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;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-30px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:0 0!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.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}.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-code{outline:none}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{-moz-box-sizing:content-box;box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background:#ffa;background:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:''}span.CodeMirror-selectedtext{background:0 0}
 
trunk/css/min/edit.css DELETED
@@ -1 +0,0 @@
1
- .form-table th{width:auto}h3{margin:1em 0}label{cursor:auto}label[for=snippet_description] h3 div{position:absolute}ul.tagit{background-color:#fff!important}.submit .button{margin-right:.5em}.snippet-scope div{margin-right:30px;display:inline-block}.CodeMirror{width:100%;height:auto!important;border:1px solid #dfdfdf;border-radius:3px;background-color:#fff}.CodeMirror-code{outline:none;direction:ltr;text-align:left}.CodeMirror-sizer{min-height:300px!important}.CodeMirror-focused .cm-matchhighlight{color:#fff!important;outline:1px solid green}.cm-s-rubyblue .CodeMirror-cursor{border-left:1px solid #fff!important}
 
trunk/css/min/manage.css DELETED
@@ -1 +0,0 @@
1
- .admin-scope .column-name>a:after,.frontend-scope .column-name>a:after{padding-left:5px;font-family:"dashicons";vertical-align:top}.admin-scope .column-name>a:after{font-size:14px;content:"\f111"}.frontend-scope .column-name>a:after{font-size:16px;content:"\f177"}.snippets .badge{margin-left:4px;padding:3px 6px;text-decoration:none;border:medium none;border-radius:2px;background:#e0e0e0;font-size:smaller}.clear-filters{vertical-align:bottom}.snippets td,.snippets th{color:#000}.snippets tr{background:#fff}.snippets .row-actions{color:#ddd}.snippets .clear-filters{vertical-align:middle}.snippets tfoot th{border-top:none!important}.snippets tfoot th.check-column{padding:13px 0 0 3px}.snippets .inactive th.check-column,.snippets tfoot th.check-column,.snippets thead th.check-column{padding-left:5px}.snippets .column-description p{color:#333}.snippets .inactive a{color:#579}.snippets .active td,.snippets .active th,.snippets .inactive td,.snippets .inactive th{padding:10px 9px;border:none;box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}.snippets .active td,.snippets .active th{background-color:rgba(120,200,230,.06)}.snippets .active th.check-column{border-left:2px solid #2ea2cc}.snippets tr.active+tr.inactive td,.snippets tr.active+tr.inactive th{border-top:1px solid rgba(0,0,0,.03);box-shadow:inset 0 1px 0 rgba(0,0,0,.02),inset 0 -1px 0 #e1e1e1}.snippets #all-snippets-table a.delete:hover,.snippets #search-snippets-table a.delete:hover,.snippets a.delete:hover{border-bottom:1px solid red;color:red}#wpbody-content .snippets .column-name{white-space:nowrap}
 
trunk/css/min/menu-icon.css DELETED
@@ -1 +0,0 @@
1
- @font-face{font-family:'code-snippets';src:url(../font/code-snippets.eot);src:url(../font/code-snippets.eot?#iefix) format('embedded-opentype'),url(../font/code-snippets.ttf) format('truetype'),url(../font/code-snippets.woff) format('woff'),url(../font/code-snippets.svg#code-snippets) format('svg');font-weight:400;font-style:normal}#toplevel_page_snippets div.wp-menu-image:before{font-family:'code-snippets'!important;content:'\e600'}
 
trunk/css/min/settings.css DELETED
@@ -1 +0,0 @@
1
- .form-table th{font-weight:400}#code_snippets_editor_preview .CodeMirror{height:auto}
 
trunk/css/min/tagit.css DELETED
@@ -1 +0,0 @@
1
- ul.tagit{padding:1px 5px;overflow:auto;margin-left:inherit;margin-right:inherit;border-style:solid;border-width:1px;border-color:#c6c6c6;background:inherit}ul.tagit li,ul.tagit li.tagit-choice input{display:block;float:left;margin:2px 5px 2px 0}ul.tagit li.tagit-choice{position:relative;line-height:inherit}input.tagit-hidden-field{display:none}ul.tagit li.tagit-choice-read-only{padding:.2em .5em}ul.tagit li.tagit-choice-editable{padding:.2em 18px .2em .5em}ul.tagit li.tagit-new{padding:.25em 4px .25em 0}ul.tagit li.tagit-choice a.tagit-label{cursor:pointer;text-decoration:none}ul.tagit li.tagit-choice .tagit-close{cursor:pointer;position:absolute;top:50%;margin-top:-8px;line-height:17px;right:.4em}ul.tagit input[type=text]{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;border:none;margin:0;padding:0;width:inherit;background-color:inherit;outline:none;color:#333;background:0 0}ul.tagit li.tagit-choice{-moz-border-radius:6px;border-radius:6px;-webkit-border-radius:6px;border:1px solid #cad8f3;background:0 0;background-color:#dee7f8;font-weight:400}ul.tagit li.tagit-choice .tagit-label:not(a){color:#555}ul.tagit li.tagit-choice a.tagit-close{text-decoration:none}ul.tagit li.tagit-choice .ui-icon{display:none}ul.tagit li.tagit-choice .tagit-close .text-icon{display:inline;font-family:arial,sans-serif;font-size:16px;line-height:16px;color:#777}ul.tagit li.tagit-choice.remove,ul.tagit li.tagit-choice:hover{background-color:#bbcef1;border-color:#6d95e0}ul.tagit li.tagit-choice a.tagLabel:hover,ul.tagit li.tagit-choice a.tagit-close .text-icon:hover{color:#222}.ui-widget{font-size:1.1em}.tagit-autocomplete.ui-autocomplete{position:absolute;cursor:default}* html .tagit-autocomplete.ui-autocomplete{width:1px}.tagit-autocomplete.ui-menu{list-style:none;padding:2px;margin:0;display:block;float:left}.tagit-autocomplete.ui-menu .ui-menu{margin-top:-3px}.tagit-autocomplete.ui-menu .ui-menu-item{margin:0;padding:0;zoom:1;float:left;clear:left;width:100%}.tagit-autocomplete.ui-menu .ui-menu-item a{text-decoration:none;display:block;padding:.2em .4em;line-height:1.5;zoom:1}.tagit-autocomplete .ui-menu .ui-menu-item a.ui-state-active,.tagit-autocomplete .ui-menu .ui-menu-item a.ui-state-hover{font-weight:400;margin:-1px}.tagit-autocomplete.ui-widget-content{border:1px solid #aaa;background:#fff 50% 50% repeat-x;color:#222}.tagit-autocomplete .ui-corner-all,.tagit-autocomplete.ui-corner-all{-moz-border-radius:4px;-webkit-border-radius:4px;-khtml-border-radius:4px;border-radius:4px}.tagit-autocomplete .ui-state-focus,.tagit-autocomplete .ui-state-hover{border:1px solid #999;background:#dadada;font-weight:400;color:#212121}.tagit-autocomplete .ui-state-active,.tagit-autocomplete .ui-widget-content{border:1px solid #aaa}.tagit .ui-helper-hidden-accessible{position:absolute!important;clip:rect(1px,1px,1px,1px)}
 
trunk/js/min/codemirror.js DELETED
@@ -1,7 +0,0 @@
1
- !function(a,b){"object"==typeof exports&&"undefined"!=typeof module?module.exports=b():"function"==typeof define&&define.amd?define(b):a.CodeMirror=b()}(this,function(){"use strict";function a(a){return new RegExp("(^|\\s)"+a+"(?:$|\\s)\\s*")}function b(a){for(var b=a.childNodes.length;b>0;--b)a.removeChild(a.firstChild);return a}function c(a,c){return b(a).appendChild(c)}function d(a,b,c,d){var e=document.createElement(a);if(c&&(e.className=c),d&&(e.style.cssText=d),"string"==typeof b)e.appendChild(document.createTextNode(b));else if(b)for(var f=0;f<b.length;++f)e.appendChild(b[f]);return e}function e(a,b){if(3==b.nodeType&&(b=b.parentNode),a.contains)return a.contains(b);do if(11==b.nodeType&&(b=b.host),b==a)return!0;while(b=b.parentNode)}function f(){var a;try{a=document.activeElement}catch(b){a=document.body||null}for(;a&&a.root&&a.root.activeElement;)a=a.root.activeElement;return a}function g(b,c){var d=b.className;a(c).test(d)||(b.className+=(d?" ":"")+c)}function h(b,c){for(var d=b.split(" "),e=0;e<d.length;e++)d[e]&&!a(d[e]).test(c)&&(c+=" "+d[e]);return c}function i(a){var b=Array.prototype.slice.call(arguments,1);return function(){return a.apply(null,b)}}function j(a,b,c){b||(b={});for(var d in a)!a.hasOwnProperty(d)||c===!1&&b.hasOwnProperty(d)||(b[d]=a[d]);return b}function k(a,b,c,d,e){null==b&&(b=a.search(/[^\s\u00a0]/),b==-1&&(b=a.length));for(var f=d||0,g=e||0;;){var h=a.indexOf("\t",f);if(h<0||h>=b)return g+(b-f);g+=h-f,g+=c-g%c,f=h+1}}function l(){this.id=null}function m(a,b){for(var c=0;c<a.length;++c)if(a[c]==b)return c;return-1}function n(a,b,c){for(var d=0,e=0;;){var f=a.indexOf("\t",d);f==-1&&(f=a.length);var g=f-d;if(f==a.length||e+g>=b)return d+Math.min(g,b-e);if(e+=f-d,e+=c-e%c,d=f+1,e>=b)return d}}function o(a){for(;Hg.length<=a;)Hg.push(p(Hg)+" ");return Hg[a]}function p(a){return a[a.length-1]}function q(a,b){for(var c=[],d=0;d<a.length;d++)c[d]=b(a[d],d);return c}function r(a,b,c){for(var d=0,e=c(b);d<a.length&&c(a[d])<=e;)d++;a.splice(d,0,b)}function s(){}function t(a,b){var c;return Object.create?c=Object.create(a):(s.prototype=a,c=new s),b&&j(b,c),c}function u(a){return/\w/.test(a)||a>"€"&&(a.toUpperCase()!=a.toLowerCase()||Ig.test(a))}function v(a,b){return b?!!(b.source.indexOf("\\w")>-1&&u(a))||b.test(a):u(a)}function w(a){for(var b in a)if(a.hasOwnProperty(b)&&a[b])return!1;return!0}function x(a){return a.charCodeAt(0)>=768&&Jg.test(a)}function y(a,b,c){var e=this;this.input=c,e.scrollbarFiller=d("div",null,"CodeMirror-scrollbar-filler"),e.scrollbarFiller.setAttribute("cm-not-content","true"),e.gutterFiller=d("div",null,"CodeMirror-gutter-filler"),e.gutterFiller.setAttribute("cm-not-content","true"),e.lineDiv=d("div",null,"CodeMirror-code"),e.selectionDiv=d("div",null,null,"position: relative; z-index: 1"),e.cursorDiv=d("div",null,"CodeMirror-cursors"),e.measure=d("div",null,"CodeMirror-measure"),e.lineMeasure=d("div",null,"CodeMirror-measure"),e.lineSpace=d("div",[e.measure,e.lineMeasure,e.selectionDiv,e.cursorDiv,e.lineDiv],null,"position: relative; outline: none"),e.mover=d("div",[d("div",[e.lineSpace],"CodeMirror-lines")],null,"position: relative"),e.sizer=d("div",[e.mover],"CodeMirror-sizer"),e.sizerWidth=null,e.heightForcer=d("div",null,null,"position: absolute; height: "+Cg+"px; width: 1px;"),e.gutters=d("div",null,"CodeMirror-gutters"),e.lineGutter=null,e.scroller=d("div",[e.sizer,e.heightForcer,e.gutters],"CodeMirror-scroll"),e.scroller.setAttribute("tabIndex","-1"),e.wrapper=d("div",[e.scrollbarFiller,e.gutterFiller,e.scroller],"CodeMirror"),gg&&hg<8&&(e.gutters.style.zIndex=-1,e.scroller.style.paddingRight=0),ig||dg&&qg||(e.scroller.draggable=!0),a&&(a.appendChild?a.appendChild(e.wrapper):a(e.wrapper)),e.viewFrom=e.viewTo=b.first,e.reportedViewFrom=e.reportedViewTo=b.first,e.view=[],e.renderedView=null,e.externalMeasured=null,e.viewOffset=0,e.lastWrapHeight=e.lastWrapWidth=0,e.updateLineNumbers=null,e.nativeBarWidth=e.barHeight=e.barWidth=0,e.scrollbarsClipped=!1,e.lineNumWidth=e.lineNumInnerWidth=e.lineNumChars=null,e.alignWidgets=!1,e.cachedCharWidth=e.cachedTextHeight=e.cachedPaddingH=null,e.maxLine=null,e.maxLineLength=0,e.maxLineChanged=!1,e.wheelDX=e.wheelDY=e.wheelStartX=e.wheelStartY=null,e.shift=!1,e.selForContextMenu=null,e.activeTouch=null,c.init(e)}function z(a,b){if(b-=a.first,b<0||b>=a.size)throw new Error("There is no line "+(b+a.first)+" in the document.");for(var c=a;!c.lines;)for(var d=0;;++d){var e=c.children[d],f=e.chunkSize();if(b<f){c=e;break}b-=f}return c.lines[b]}function A(a,b,c){var d=[],e=b.line;return a.iter(b.line,c.line+1,function(a){var f=a.text;e==c.line&&(f=f.slice(0,c.ch)),e==b.line&&(f=f.slice(b.ch)),d.push(f),++e}),d}function B(a,b,c){var d=[];return a.iter(b,c,function(a){d.push(a.text)}),d}function C(a,b){var c=b-a.height;if(c)for(var d=a;d;d=d.parent)d.height+=c}function D(a){if(null==a.parent)return null;for(var b=a.parent,c=m(b.lines,a),d=b.parent;d;b=d,d=d.parent)for(var e=0;d.children[e]!=b;++e)c+=d.children[e].chunkSize();return c+b.first}function E(a,b){var c=a.first;a:do{for(var d=0;d<a.children.length;++d){var e=a.children[d],f=e.height;if(b<f){a=e;continue a}b-=f,c+=e.chunkSize()}return c}while(!a.lines);for(var g=0;g<a.lines.length;++g){var h=a.lines[g],i=h.height;if(b<i)break;b-=i}return c+g}function F(a,b){return b>=a.first&&b<a.first+a.size}function G(a,b){return String(a.lineNumberFormatter(b+a.firstLineNumber))}function H(a,b){return this instanceof H?(this.line=a,void(this.ch=b)):new H(a,b)}function I(a,b){return a.line-b.line||a.ch-b.ch}function J(a){return H(a.line,a.ch)}function K(a,b){return I(a,b)<0?b:a}function L(a,b){return I(a,b)<0?a:b}function M(a,b){return Math.max(a.first,Math.min(b,a.first+a.size-1))}function N(a,b){if(b.line<a.first)return H(a.first,0);var c=a.first+a.size-1;return b.line>c?H(c,z(a,c).text.length):O(b,z(a,b.line).text.length)}function O(a,b){var c=a.ch;return null==c||c>b?H(a.line,b):c<0?H(a.line,0):a}function P(a,b){for(var c=[],d=0;d<b.length;d++)c[d]=N(a,b[d]);return c}function Q(){Kg=!0}function R(){Lg=!0}function S(a,b,c){this.marker=a,this.from=b,this.to=c}function T(a,b){if(a)for(var c=0;c<a.length;++c){var d=a[c];if(d.marker==b)return d}}function U(a,b){for(var c,d=0;d<a.length;++d)a[d]!=b&&(c||(c=[])).push(a[d]);return c}function V(a,b){a.markedSpans=a.markedSpans?a.markedSpans.concat([b]):[b],b.marker.attachLine(a)}function W(a,b,c){var d;if(a)for(var e=0;e<a.length;++e){var f=a[e],g=f.marker,h=null==f.from||(g.inclusiveLeft?f.from<=b:f.from<b);if(h||f.from==b&&"bookmark"==g.type&&(!c||!f.marker.insertLeft)){var i=null==f.to||(g.inclusiveRight?f.to>=b:f.to>b);(d||(d=[])).push(new S(g,f.from,i?null:f.to))}}return d}function X(a,b,c){var d;if(a)for(var e=0;e<a.length;++e){var f=a[e],g=f.marker,h=null==f.to||(g.inclusiveRight?f.to>=b:f.to>b);if(h||f.from==b&&"bookmark"==g.type&&(!c||f.marker.insertLeft)){var i=null==f.from||(g.inclusiveLeft?f.from<=b:f.from<b);(d||(d=[])).push(new S(g,i?null:f.from-b,null==f.to?null:f.to-b))}}return d}function Y(a,b){if(b.full)return null;var c=F(a,b.from.line)&&z(a,b.from.line).markedSpans,d=F(a,b.to.line)&&z(a,b.to.line).markedSpans;if(!c&&!d)return null;var e=b.from.ch,f=b.to.ch,g=0==I(b.from,b.to),h=W(c,e,g),i=X(d,f,g),j=1==b.text.length,k=p(b.text).length+(j?e:0);if(h)for(var l=0;l<h.length;++l){var m=h[l];if(null==m.to){var n=T(i,m.marker);n?j&&(m.to=null==n.to?null:n.to+k):m.to=e}}if(i)for(var o=0;o<i.length;++o){var q=i[o];if(null!=q.to&&(q.to+=k),null==q.from){var r=T(h,q.marker);r||(q.from=k,j&&(h||(h=[])).push(q))}else q.from+=k,j&&(h||(h=[])).push(q)}h&&(h=Z(h)),i&&i!=h&&(i=Z(i));var s=[h];if(!j){var t,u=b.text.length-2;if(u>0&&h)for(var v=0;v<h.length;++v)null==h[v].to&&(t||(t=[])).push(new S(h[v].marker,null,null));for(var w=0;w<u;++w)s.push(t);s.push(i)}return s}function Z(a){for(var b=0;b<a.length;++b){var c=a[b];null!=c.from&&c.from==c.to&&c.marker.clearWhenEmpty!==!1&&a.splice(b--,1)}return a.length?a:null}function $(a,b,c){var d=null;if(a.iter(b.line,c.line+1,function(a){if(a.markedSpans)for(var b=0;b<a.markedSpans.length;++b){var c=a.markedSpans[b].marker;!c.readOnly||d&&m(d,c)!=-1||(d||(d=[])).push(c)}}),!d)return null;for(var e=[{from:b,to:c}],f=0;f<d.length;++f)for(var g=d[f],h=g.find(0),i=0;i<e.length;++i){var j=e[i];if(!(I(j.to,h.from)<0||I(j.from,h.to)>0)){var k=[i,1],l=I(j.from,h.from),n=I(j.to,h.to);(l<0||!g.inclusiveLeft&&!l)&&k.push({from:j.from,to:h.from}),(n>0||!g.inclusiveRight&&!n)&&k.push({from:h.to,to:j.to}),e.splice.apply(e,k),i+=k.length-1}}return e}function _(a){var b=a.markedSpans;if(b){for(var c=0;c<b.length;++c)b[c].marker.detachLine(a);a.markedSpans=null}}function aa(a,b){if(b){for(var c=0;c<b.length;++c)b[c].marker.attachLine(a);a.markedSpans=b}}function ba(a){return a.inclusiveLeft?-1:0}function ca(a){return a.inclusiveRight?1:0}function da(a,b){var c=a.lines.length-b.lines.length;if(0!=c)return c;var d=a.find(),e=b.find(),f=I(d.from,e.from)||ba(a)-ba(b);if(f)return-f;var g=I(d.to,e.to)||ca(a)-ca(b);return g?g:b.id-a.id}function ea(a,b){var c,d=Lg&&a.markedSpans;if(d)for(var e=void 0,f=0;f<d.length;++f)e=d[f],e.marker.collapsed&&null==(b?e.from:e.to)&&(!c||da(c,e.marker)<0)&&(c=e.marker);return c}function fa(a){return ea(a,!0)}function ga(a){return ea(a,!1)}function ha(a,b,c,d,e){var f=z(a,b),g=Lg&&f.markedSpans;if(g)for(var h=0;h<g.length;++h){var i=g[h];if(i.marker.collapsed){var j=i.marker.find(0),k=I(j.from,c)||ba(i.marker)-ba(e),l=I(j.to,d)||ca(i.marker)-ca(e);if(!(k>=0&&l<=0||k<=0&&l>=0)&&(k<=0&&(i.marker.inclusiveRight&&e.inclusiveLeft?I(j.to,c)>=0:I(j.to,c)>0)||k>=0&&(i.marker.inclusiveRight&&e.inclusiveLeft?I(j.from,d)<=0:I(j.from,d)<0)))return!0}}}function ia(a){for(var b;b=fa(a);)a=b.find(-1,!0).line;return a}function ja(a){for(var b,c;b=ga(a);)a=b.find(1,!0).line,(c||(c=[])).push(a);return c}function ka(a,b){var c=z(a,b),d=ia(c);return c==d?b:D(d)}function la(a,b){if(b>a.lastLine())return b;var c,d=z(a,b);if(!ma(a,d))return b;for(;c=ga(d);)d=c.find(1,!0).line;return D(d)+1}function ma(a,b){var c=Lg&&b.markedSpans;if(c)for(var d=void 0,e=0;e<c.length;++e)if(d=c[e],d.marker.collapsed){if(null==d.from)return!0;if(!d.marker.widgetNode&&0==d.from&&d.marker.inclusiveLeft&&na(a,b,d))return!0}}function na(a,b,c){if(null==c.to){var d=c.marker.find(1,!0);return na(a,d.line,T(d.line.markedSpans,c.marker))}if(c.marker.inclusiveRight&&c.to==b.text.length)return!0;for(var e=void 0,f=0;f<b.markedSpans.length;++f)if(e=b.markedSpans[f],e.marker.collapsed&&!e.marker.widgetNode&&e.from==c.to&&(null==e.to||e.to!=c.from)&&(e.marker.inclusiveLeft||c.marker.inclusiveRight)&&na(a,b,e))return!0}function oa(a){a=ia(a);for(var b=0,c=a.parent,d=0;d<c.lines.length;++d){var e=c.lines[d];if(e==a)break;b+=e.height}for(var f=c.parent;f;c=f,f=c.parent)for(var g=0;g<f.children.length;++g){var h=f.children[g];if(h==c)break;b+=h.height}return b}function pa(a){if(0==a.height)return 0;for(var b,c=a.text.length,d=a;b=fa(d);){var e=b.find(0,!0);d=e.from.line,c+=e.from.ch-e.to.ch}for(d=a;b=ga(d);){var f=b.find(0,!0);c-=d.text.length-f.from.ch,d=f.to.line,c+=d.text.length-f.to.ch}return c}function qa(a){var b=a.display,c=a.doc;b.maxLine=z(c,c.first),b.maxLineLength=pa(b.maxLine),b.maxLineChanged=!0,c.iter(function(a){var c=pa(a);c>b.maxLineLength&&(b.maxLineLength=c,b.maxLine=a)})}function ra(a,b,c,d){if(!a)return d(b,c,"ltr");for(var e=!1,f=0;f<a.length;++f){var g=a[f];(g.from<c&&g.to>b||b==c&&g.to==b)&&(d(Math.max(g.from,b),Math.min(g.to,c),1==g.level?"rtl":"ltr"),e=!0)}e||d(b,c,"ltr")}function sa(a){return a.level%2?a.to:a.from}function ta(a){return a.level%2?a.from:a.to}function ua(a){var b=Ba(a);return b?sa(b[0]):0}function va(a){var b=Ba(a);return b?ta(p(b)):a.text.length}function wa(a,b,c){var d=a[0].level;return b==d||c!=d&&b<c}function xa(a,b){var c;Mg=null;for(var d=0;d<a.length;++d){var e=a[d];if(e.from<b&&e.to>b)return d;if(e.from==b||e.to==b){if(null!=c)return wa(a,e.level,a[c].level)?(e.from!=e.to&&(Mg=c),d):(e.from!=e.to&&(Mg=d),c);c=d}}return c}function ya(a,b,c,d){if(!d)return b+c;do b+=c;while(b>0&&x(a.text.charAt(b)));return b}function za(a,b,c,d){var e=Ba(a);if(!e)return Aa(a,b,c,d);for(var f=xa(e,b),g=e[f],h=ya(a,b,g.level%2?-c:c,d);;){if(h>g.from&&h<g.to)return h;if(h==g.from||h==g.to)return xa(e,h)==f?h:(g=e[f+=c],c>0==g.level%2?g.to:g.from);if(g=e[f+=c],!g)return null;h=c>0==g.level%2?ya(a,g.to,-1,d):ya(a,g.from,1,d)}}function Aa(a,b,c,d){var e=b+c;if(d)for(;e>0&&x(a.text.charAt(e));)e+=c;return e<0||e>a.text.length?null:e}function Ba(a){var b=a.order;return null==b&&(b=a.order=Ng(a.text)),b}function Ca(a,b){return a._handlers&&a._handlers[b]||Og}function Da(a,b,c){if(a.removeEventListener)a.removeEventListener(b,c,!1);else if(a.detachEvent)a.detachEvent("on"+b,c);else{var d=a._handlers,e=d&&d[b];if(e){var f=m(e,c);f>-1&&(d[b]=e.slice(0,f).concat(e.slice(f+1)))}}}function Ea(a,b){var c=Ca(a,b);if(c.length)for(var d=Array.prototype.slice.call(arguments,2),e=0;e<c.length;++e)c[e].apply(null,d)}function Fa(a,b,c){return"string"==typeof b&&(b={type:b,preventDefault:function(){this.defaultPrevented=!0}}),Ea(a,c||b.type,a,b),La(b)||b.codemirrorIgnore}function Ga(a){var b=a._handlers&&a._handlers.cursorActivity;if(b)for(var c=a.curOp.cursorActivityHandlers||(a.curOp.cursorActivityHandlers=[]),d=0;d<b.length;++d)m(c,b[d])==-1&&c.push(b[d])}function Ha(a,b){return Ca(a,b).length>0}function Ia(a){a.prototype.on=function(a,b){Pg(this,a,b)},a.prototype.off=function(a,b){Da(this,a,b)}}function Ja(a){a.preventDefault?a.preventDefault():a.returnValue=!1}function Ka(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=!0}function La(a){return null!=a.defaultPrevented?a.defaultPrevented:0==a.returnValue}function Ma(a){Ja(a),Ka(a)}function Na(a){return a.target||a.srcElement}function Oa(a){var b=a.which;return null==b&&(1&a.button?b=1:2&a.button?b=3:4&a.button&&(b=2)),rg&&a.ctrlKey&&1==b&&(b=3),b}function Pa(a){if(null==Ag){var b=d("span","​");c(a,d("span",[b,document.createTextNode("x")])),0!=a.firstChild.offsetHeight&&(Ag=b.offsetWidth<=1&&b.offsetHeight>2&&!(gg&&hg<8))}var e=Ag?d("span","​"):d("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return e.setAttribute("cm-text",""),e}function Qa(a){if(null!=Bg)return Bg;var d=c(a,document.createTextNode("AخA")),e=vg(d,0,1).getBoundingClientRect(),f=vg(d,1,2).getBoundingClientRect();return b(a),!(!e||e.left==e.right)&&(Bg=f.right-e.right<3)}function Ra(a){if(null!=Ug)return Ug;var b=c(a,d("span","x")),e=b.getBoundingClientRect(),f=vg(b,0,1).getBoundingClientRect();return Ug=Math.abs(e.left-f.left)>1}function Sa(a,b){arguments.length>2&&(b.dependencies=Array.prototype.slice.call(arguments,2)),Vg[a]=b}function Ta(a,b){Wg[a]=b}function Ua(a){if("string"==typeof a&&Wg.hasOwnProperty(a))a=Wg[a];else if(a&&"string"==typeof a.name&&Wg.hasOwnProperty(a.name)){var b=Wg[a.name];"string"==typeof b&&(b={name:b}),a=t(b,a),a.name=b.name}else{if("string"==typeof a&&/^[\w\-]+\/[\w\-]+\+xml$/.test(a))return Ua("application/xml");if("string"==typeof a&&/^[\w\-]+\/[\w\-]+\+json$/.test(a))return Ua("application/json")}return"string"==typeof a?{name:a}:a||{name:"null"}}function Va(a,b){b=Ua(b);var c=Vg[b.name];if(!c)return Va(a,"text/plain");var d=c(a,b);if(Xg.hasOwnProperty(b.name)){var e=Xg[b.name];for(var f in e)e.hasOwnProperty(f)&&(d.hasOwnProperty(f)&&(d["_"+f]=d[f]),d[f]=e[f])}if(d.name=b.name,b.helperType&&(d.helperType=b.helperType),b.modeProps)for(var g in b.modeProps)d[g]=b.modeProps[g];return d}function Wa(a,b){var c=Xg.hasOwnProperty(a)?Xg[a]:Xg[a]={};j(b,c)}function Xa(a,b){if(b===!0)return b;if(a.copyState)return a.copyState(b);var c={};for(var d in b){var e=b[d];e instanceof Array&&(e=e.concat([])),c[d]=e}return c}function Ya(a,b){for(var c;a.innerMode&&(c=a.innerMode(b),c&&c.mode!=a);)b=c.state,a=c.mode;return c||{mode:a,state:b}}function Za(a,b,c){return!a.startState||a.startState(b,c)}function $a(a,b,c,d){var e=[a.state.modeGen],f={};gb(a,b.text,a.doc.mode,c,function(a,b){return e.push(a,b)},f,d);for(var g=function(c){var d=a.state.overlays[c],g=1,h=0;gb(a,b.text,d.mode,!0,function(a,b){for(var c=g;h<a;){var f=e[g];f>a&&e.splice(g,1,a,e[g+1],f),g+=2,h=Math.min(a,f)}if(b)if(d.opaque)e.splice(c,g-c,a,"overlay "+b),g=c+2;else for(;c<g;c+=2){var i=e[c+1];e[c+1]=(i?i+" ":"")+"overlay "+b}},f)},h=0;h<a.state.overlays.length;++h)g(h);return{styles:e,classes:f.bgClass||f.textClass?f:null}}function _a(a,b,c){if(!b.styles||b.styles[0]!=a.state.modeGen){var d=ab(a,D(b)),e=$a(a,b,b.text.length>a.options.maxHighlightLength?Xa(a.doc.mode,d):d);b.stateAfter=d,b.styles=e.styles,e.classes?b.styleClasses=e.classes:b.styleClasses&&(b.styleClasses=null),c===a.doc.frontier&&a.doc.frontier++}return b.styles}function ab(a,b,c){var d=a.doc,e=a.display;if(!d.mode.startState)return!0;var f=hb(a,b,c),g=f>d.first&&z(d,f-1).stateAfter;return g=g?Xa(d.mode,g):Za(d.mode),d.iter(f,b,function(c){bb(a,c.text,g);var h=f==b-1||f%5==0||f>=e.viewFrom&&f<e.viewTo;c.stateAfter=h?Xa(d.mode,g):null,++f}),c&&(d.frontier=f),g}function bb(a,b,c,d){var e=a.doc.mode,f=new Yg(b,a.options.tabSize);for(f.start=f.pos=d||0,""==b&&cb(e,c);!f.eol();)db(e,f,c),f.start=f.pos}function cb(a,b){if(a.blankLine)return a.blankLine(b);if(a.innerMode){var c=Ya(a,b);return c.mode.blankLine?c.mode.blankLine(c.state):void 0}}function db(a,b,c,d){for(var e=0;e<10;e++){d&&(d[0]=Ya(a,c).mode);var f=a.token(b,c);if(b.pos>b.start)return f}throw new Error("Mode "+a.name+" failed to advance stream.")}function eb(a,b,c,d){var e,f=function(a){return{start:l.start,end:l.pos,string:l.current(),type:e||null,state:a?Xa(g.mode,k):k}},g=a.doc,h=g.mode;b=N(g,b);var i,j=z(g,b.line),k=ab(a,b.line,c),l=new Yg(j.text,a.options.tabSize);for(d&&(i=[]);(d||l.pos<b.ch)&&!l.eol();)l.start=l.pos,e=db(h,l,k),d&&i.push(f(!0));return d?i:f()}function fb(a,b){if(a)for(;;){var c=a.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!c)break;a=a.slice(0,c.index)+a.slice(c.index+c[0].length);var d=c[1]?"bgClass":"textClass";null==b[d]?b[d]=c[2]:new RegExp("(?:^|s)"+c[2]+"(?:$|s)").test(b[d])||(b[d]+=" "+c[2])}return a}function gb(a,b,c,d,e,f,g){var h=c.flattenSpans;null==h&&(h=a.options.flattenSpans);var i,j=0,k=null,l=new Yg(b,a.options.tabSize),m=a.options.addModeClass&&[null];for(""==b&&fb(cb(c,d),f);!l.eol();){if(l.pos>a.options.maxHighlightLength?(h=!1,g&&bb(a,b,d,l.pos),l.pos=b.length,i=null):i=fb(db(c,l,d,m),f),m){var n=m[0].name;n&&(i="m-"+(i?n+" "+i:n))}if(!h||k!=i){for(;j<l.start;)j=Math.min(l.start,j+5e3),e(j,k);k=i}l.start=l.pos}for(;j<l.pos;){var o=Math.min(l.pos,j+5e3);e(o,k),j=o}}function hb(a,b,c){for(var d,e,f=a.doc,g=c?-1:b-(a.doc.mode.innerMode?1e3:100),h=b;h>g;--h){if(h<=f.first)return f.first;var i=z(f,h-1);if(i.stateAfter&&(!c||h<=f.frontier))return h;var j=k(i.text,null,a.options.tabSize);(null==e||d>j)&&(e=h-1,d=j)}return e}function ib(a,b,c){this.text=a,aa(this,b),this.height=c?c(this):1}function jb(a,b,c,d){a.text=b,a.stateAfter&&(a.stateAfter=null),a.styles&&(a.styles=null),null!=a.order&&(a.order=null),_(a),aa(a,c);var e=d?d(a):1;e!=a.height&&C(a,e)}function kb(a){a.parent=null,_(a)}function lb(a,b){if(!a||/^\s*$/.test(a))return null;var c=b.addModeClass?_g:$g;return c[a]||(c[a]=a.replace(/\S+/g,"cm-$&"))}function mb(a,b){var c=d("span",null,null,ig?"padding-right: .1px":null),e={pre:d("pre",[c],"CodeMirror-line"),content:c,col:0,pos:0,cm:a,trailingSpace:!1,splitSpaces:(gg||ig)&&a.getOption("lineWrapping")};b.measure={};for(var f=0;f<=(b.rest?b.rest.length:0);f++){var g=f?b.rest[f-1]:b.line,i=void 0;e.pos=0,e.addToken=ob,Qa(a.display.measure)&&(i=Ba(g))&&(e.addToken=qb(e.addToken,i)),e.map=[];var j=b!=a.display.externalMeasured&&D(g);sb(g,e,_a(a,g,j)),g.styleClasses&&(g.styleClasses.bgClass&&(e.bgClass=h(g.styleClasses.bgClass,e.bgClass||"")),g.styleClasses.textClass&&(e.textClass=h(g.styleClasses.textClass,e.textClass||""))),0==e.map.length&&e.map.push(0,0,e.content.appendChild(Pa(a.display.measure))),0==f?(b.measure.map=e.map,b.measure.cache={}):((b.measure.maps||(b.measure.maps=[])).push(e.map),(b.measure.caches||(b.measure.caches=[])).push({}))}if(ig){var k=e.content.lastChild;(/\bcm-tab\b/.test(k.className)||k.querySelector&&k.querySelector(".cm-tab"))&&(e.content.className="cm-tab-wrap-hack")}return Ea(a,"renderLine",a,b.line,e.pre),e.pre.className&&(e.textClass=h(e.pre.className,e.textClass||"")),e}function nb(a){var b=d("span","•","cm-invalidchar");return b.title="\\u"+a.charCodeAt(0).toString(16),b.setAttribute("aria-label",b.title),b}function ob(a,b,c,e,f,g,h){if(b){var i,j=a.splitSpaces?pb(b,a.trailingSpace):b,k=a.cm.state.specialChars,l=!1;if(k.test(b)){i=document.createDocumentFragment();for(var m=0;;){k.lastIndex=m;var n=k.exec(b),p=n?n.index-m:b.length-m;if(p){var q=document.createTextNode(j.slice(m,m+p));gg&&hg<9?i.appendChild(d("span",[q])):i.appendChild(q),a.map.push(a.pos,a.pos+p,q),a.col+=p,a.pos+=p}if(!n)break;m+=p+1;var r=void 0;if("\t"==n[0]){var s=a.cm.options.tabSize,t=s-a.col%s;r=i.appendChild(d("span",o(t),"cm-tab")),r.setAttribute("role","presentation"),r.setAttribute("cm-text","\t"),a.col+=t}else"\r"==n[0]||"\n"==n[0]?(r=i.appendChild(d("span","\r"==n[0]?"␍":"␤","cm-invalidchar")),r.setAttribute("cm-text",n[0]),a.col+=1):(r=a.cm.options.specialCharPlaceholder(n[0]),r.setAttribute("cm-text",n[0]),gg&&hg<9?i.appendChild(d("span",[r])):i.appendChild(r),a.col+=1);a.map.push(a.pos,a.pos+1,r),a.pos++}}else a.col+=b.length,i=document.createTextNode(j),a.map.push(a.pos,a.pos+b.length,i),gg&&hg<9&&(l=!0),a.pos+=b.length;if(a.trailingSpace=32==j.charCodeAt(b.length-1),c||e||f||l||h){var u=c||"";e&&(u+=e),f&&(u+=f);var v=d("span",[i],u,h);return g&&(v.title=g),a.content.appendChild(v)}a.content.appendChild(i)}}function pb(a,b){if(a.length>1&&!/ /.test(a))return a;for(var c=b,d="",e=0;e<a.length;e++){var f=a.charAt(e);" "!=f||!c||e!=a.length-1&&32!=a.charCodeAt(e+1)||(f=" "),d+=f,c=" "==f}return d}function qb(a,b){return function(c,d,e,f,g,h,i){e=e?e+" cm-force-border":"cm-force-border";for(var j=c.pos,k=j+d.length;;){for(var l=void 0,m=0;m<b.length&&(l=b[m],!(l.to>j&&l.from<=j));m++);if(l.to>=k)return a(c,d,e,f,g,h,i);a(c,d.slice(0,l.to-j),e,f,null,h,i),f=null,d=d.slice(l.to-j),j=l.to}}}function rb(a,b,c,d){var e=!d&&c.widgetNode;e&&a.map.push(a.pos,a.pos+b,e),!d&&a.cm.display.input.needsContentAttribute&&(e||(e=a.content.appendChild(document.createElement("span"))),e.setAttribute("cm-marker",c.id)),e&&(a.cm.display.input.setUneditable(e),a.content.appendChild(e)),a.pos+=b,a.trailingSpace=!1}function sb(a,b,c){var d=a.markedSpans,e=a.text,f=0;if(d)for(var g,h,i,j,k,l,m,n=e.length,o=0,p=1,q="",r=0;;){if(r==o){i=j=k=l=h="",m=null,r=1/0;for(var s=[],t=void 0,u=0;u<d.length;++u){var v=d[u],w=v.marker;"bookmark"==w.type&&v.from==o&&w.widgetNode?s.push(w):v.from<=o&&(null==v.to||v.to>o||w.collapsed&&v.to==o&&v.from==o)?(null!=v.to&&v.to!=o&&r>v.to&&(r=v.to,j=""),w.className&&(i+=" "+w.className),w.css&&(h=(h?h+";":"")+w.css),w.startStyle&&v.from==o&&(k+=" "+w.startStyle),w.endStyle&&v.to==r&&(t||(t=[])).push(w.endStyle,v.to),w.title&&!l&&(l=w.title),w.collapsed&&(!m||da(m.marker,w)<0)&&(m=v)):v.from>o&&r>v.from&&(r=v.from)}if(t)for(var x=0;x<t.length;x+=2)t[x+1]==r&&(j+=" "+t[x]);if(!m||m.from==o)for(var y=0;y<s.length;++y)rb(b,0,s[y]);if(m&&(m.from||0)==o){if(rb(b,(null==m.to?n+1:m.to)-o,m.marker,null==m.from),null==m.to)return;m.to==o&&(m=!1)}}if(o>=n)break;for(var z=Math.min(n,r);;){if(q){var A=o+q.length;if(!m){var B=A>z?q.slice(0,z-o):q;b.addToken(b,B,g?g+i:i,k,o+B.length==r?j:"",l,h)}if(A>=z){q=q.slice(z-o),o=z;break}o=A,k=""}q=e.slice(f,f=c[p++]),g=lb(c[p++],b.cm.options)}}else for(var C=1;C<c.length;C+=2)b.addToken(b,e.slice(f,f=c[C]),lb(c[C+1],b.cm.options))}function tb(a,b,c){this.line=b,this.rest=ja(b),this.size=this.rest?D(p(this.rest))-c+1:1,this.node=this.text=null,this.hidden=ma(a,b)}function ub(a,b,c){for(var d,e=[],f=b;f<c;f=d){var g=new tb(a.doc,z(a.doc,f),f);d=f+g.size,e.push(g)}return e}function vb(a){ah?ah.ops.push(a):a.ownsGroup=ah={ops:[a],delayedCallbacks:[]}}function wb(a){var b=a.delayedCallbacks,c=0;do{for(;c<b.length;c++)b[c].call(null);for(var d=0;d<a.ops.length;d++){var e=a.ops[d];if(e.cursorActivityHandlers)for(;e.cursorActivityCalled<e.cursorActivityHandlers.length;)e.cursorActivityHandlers[e.cursorActivityCalled++].call(null,e.cm)}}while(c<b.length)}function xb(a,b){var c=a.ownsGroup;if(c)try{wb(c)}finally{ah=null,b(c)}}function yb(a,b){var c=Ca(a,b);if(c.length){var d,e=Array.prototype.slice.call(arguments,2);ah?d=ah.delayedCallbacks:bh?d=bh:(d=bh=[],setTimeout(zb,0));for(var f=function(a){d.push(function(){return c[a].apply(null,e)})},g=0;g<c.length;++g)f(g)}}function zb(){var a=bh;bh=null;for(var b=0;b<a.length;++b)a[b]()}function Ab(a,b,c,d){for(var e=0;e<b.changes.length;e++){var f=b.changes[e];"text"==f?Eb(a,b):"gutter"==f?Gb(a,b,c,d):"class"==f?Fb(b):"widget"==f&&Hb(a,b,d)}b.changes=null}function Bb(a){return a.node==a.text&&(a.node=d("div",null,null,"position: relative"),a.text.parentNode&&a.text.parentNode.replaceChild(a.node,a.text),a.node.appendChild(a.text),gg&&hg<8&&(a.node.style.zIndex=2)),a.node}function Cb(a){var b=a.bgClass?a.bgClass+" "+(a.line.bgClass||""):a.line.bgClass;if(b&&(b+=" CodeMirror-linebackground"),a.background)b?a.background.className=b:(a.background.parentNode.removeChild(a.background),a.background=null);else if(b){var c=Bb(a);a.background=c.insertBefore(d("div",null,b),c.firstChild)}}function Db(a,b){var c=a.display.externalMeasured;return c&&c.line==b.line?(a.display.externalMeasured=null,b.measure=c.measure,c.built):mb(a,b)}function Eb(a,b){var c=b.text.className,d=Db(a,b);b.text==b.node&&(b.node=d.pre),b.text.parentNode.replaceChild(d.pre,b.text),b.text=d.pre,d.bgClass!=b.bgClass||d.textClass!=b.textClass?(b.bgClass=d.bgClass,b.textClass=d.textClass,Fb(b)):c&&(b.text.className=c)}function Fb(a){Cb(a),a.line.wrapClass?Bb(a).className=a.line.wrapClass:a.node!=a.text&&(a.node.className="");var b=a.textClass?a.textClass+" "+(a.line.textClass||""):a.line.textClass;a.text.className=b||""}function Gb(a,b,c,e){if(b.gutter&&(b.node.removeChild(b.gutter),b.gutter=null),b.gutterBackground&&(b.node.removeChild(b.gutterBackground),b.gutterBackground=null),b.line.gutterClass){var f=Bb(b);b.gutterBackground=d("div",null,"CodeMirror-gutter-background "+b.line.gutterClass,"left: "+(a.options.fixedGutter?e.fixedPos:-e.gutterTotalWidth)+"px; width: "+e.gutterTotalWidth+"px"),f.insertBefore(b.gutterBackground,b.text)}var g=b.line.gutterMarkers;if(a.options.lineNumbers||g){var h=Bb(b),i=b.gutter=d("div",null,"CodeMirror-gutter-wrapper","left: "+(a.options.fixedGutter?e.fixedPos:-e.gutterTotalWidth)+"px");if(a.display.input.setUneditable(i),h.insertBefore(i,b.text),b.line.gutterClass&&(i.className+=" "+b.line.gutterClass),!a.options.lineNumbers||g&&g["CodeMirror-linenumbers"]||(b.lineNumber=i.appendChild(d("div",G(a.options,c),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+e.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+a.display.lineNumInnerWidth+"px"))),g)for(var j=0;j<a.options.gutters.length;++j){var k=a.options.gutters[j],l=g.hasOwnProperty(k)&&g[k];l&&i.appendChild(d("div",[l],"CodeMirror-gutter-elt","left: "+e.gutterLeft[k]+"px; width: "+e.gutterWidth[k]+"px"))}}}function Hb(a,b,c){b.alignable&&(b.alignable=null);for(var d=b.node.firstChild,e=void 0;d;d=e)e=d.nextSibling,"CodeMirror-linewidget"==d.className&&b.node.removeChild(d);Jb(a,b,c)}function Ib(a,b,c,d){var e=Db(a,b);return b.text=b.node=e.pre,e.bgClass&&(b.bgClass=e.bgClass),e.textClass&&(b.textClass=e.textClass),Fb(b),Gb(a,b,c,d),Jb(a,b,d),b.node}function Jb(a,b,c){if(Kb(a,b.line,b,c,!0),b.rest)for(var d=0;d<b.rest.length;d++)Kb(a,b.rest[d],b,c,!1)}function Kb(a,b,c,e,f){if(b.widgets)for(var g=Bb(c),h=0,i=b.widgets;h<i.length;++h){var j=i[h],k=d("div",[j.node],"CodeMirror-linewidget");j.handleMouseEvents||k.setAttribute("cm-ignore-events","true"),Lb(j,k,c,e),a.display.input.setUneditable(k),f&&j.above?g.insertBefore(k,c.gutter||c.text):g.appendChild(k),yb(j,"redraw")}}function Lb(a,b,c,d){if(a.noHScroll){(c.alignable||(c.alignable=[])).push(b);var e=d.wrapperWidth;b.style.left=d.fixedPos+"px",a.coverGutter||(e-=d.gutterTotalWidth,b.style.paddingLeft=d.gutterTotalWidth+"px"),b.style.width=e+"px"}a.coverGutter&&(b.style.zIndex=5,b.style.position="relative",a.noHScroll||(b.style.marginLeft=-d.gutterTotalWidth+"px"))}function Mb(a){if(null!=a.height)return a.height;var b=a.doc.cm;if(!b)return 0;if(!e(document.body,a.node)){var f="position: relative;";a.coverGutter&&(f+="margin-left: -"+b.display.gutters.offsetWidth+"px;"),a.noHScroll&&(f+="width: "+b.display.wrapper.clientWidth+"px;"),c(b.display.measure,d("div",[a.node],null,f))}return a.height=a.node.parentNode.offsetHeight}function Nb(a,b){for(var c=Na(b);c!=a.wrapper;c=c.parentNode)if(!c||1==c.nodeType&&"true"==c.getAttribute("cm-ignore-events")||c.parentNode==a.sizer&&c!=a.mover)return!0}function Ob(a){return a.lineSpace.offsetTop}function Pb(a){return a.mover.offsetHeight-a.lineSpace.offsetHeight}function Qb(a){if(a.cachedPaddingH)return a.cachedPaddingH;var b=c(a.measure,d("pre","x")),e=window.getComputedStyle?window.getComputedStyle(b):b.currentStyle,f={left:parseInt(e.paddingLeft),right:parseInt(e.paddingRight)};return isNaN(f.left)||isNaN(f.right)||(a.cachedPaddingH=f),f}function Rb(a){return Cg-a.display.nativeBarWidth}function Sb(a){return a.display.scroller.clientWidth-Rb(a)-a.display.barWidth}function Tb(a){return a.display.scroller.clientHeight-Rb(a)-a.display.barHeight}function Ub(a,b,c){var d=a.options.lineWrapping,e=d&&Sb(a);if(!b.measure.heights||d&&b.measure.width!=e){var f=b.measure.heights=[];if(d){b.measure.width=e;for(var g=b.text.firstChild.getClientRects(),h=0;h<g.length-1;h++){var i=g[h],j=g[h+1];Math.abs(i.bottom-j.bottom)>2&&f.push((i.bottom+j.top)/2-c.top)}}f.push(c.bottom-c.top)}}function Vb(a,b,c){if(a.line==b)return{map:a.measure.map,cache:a.measure.cache};for(var d=0;d<a.rest.length;d++)if(a.rest[d]==b)return{map:a.measure.maps[d],cache:a.measure.caches[d]};for(var e=0;e<a.rest.length;e++)if(D(a.rest[e])>c)return{map:a.measure.maps[e],cache:a.measure.caches[e],before:!0}}function Wb(a,b){b=ia(b);var d=D(b),e=a.display.externalMeasured=new tb(a.doc,b,d);e.lineN=d;var f=e.built=mb(a,e);return e.text=f.pre,c(a.display.lineMeasure,f.pre),e}function Xb(a,b,c,d){return $b(a,Zb(a,b),c,d)}function Yb(a,b){if(b>=a.display.viewFrom&&b<a.display.viewTo)return a.display.view[xc(a,b)];var c=a.display.externalMeasured;return c&&b>=c.lineN&&b<c.lineN+c.size?c:void 0}function Zb(a,b){var c=D(b),d=Yb(a,c);d&&!d.text?d=null:d&&d.changes&&(Ab(a,d,c,sc(a)),a.curOp.forceUpdate=!0),d||(d=Wb(a,b));var e=Vb(d,b,c);return{line:b,view:d,rect:null,map:e.map,cache:e.cache,before:e.before,hasHeights:!1}}function $b(a,b,c,d,e){b.before&&(c=-1);var f,g=c+(d||"");return b.cache.hasOwnProperty(g)?f=b.cache[g]:(b.rect||(b.rect=b.view.text.getBoundingClientRect()),b.hasHeights||(Ub(a,b.view,b.rect),b.hasHeights=!0),f=bc(a,b,c,d),f.bogus||(b.cache[g]=f)),{left:f.left,right:f.right,top:e?f.rtop:f.top,bottom:e?f.rbottom:f.bottom}}function _b(a,b,c){for(var d,e,f,g,h,i,j=0;j<a.length;j+=3)if(h=a[j],i=a[j+1],b<h?(e=0,f=1,g="left"):b<i?(e=b-h,f=e+1):(j==a.length-3||b==i&&a[j+3]>b)&&(f=i-h,e=f-1,b>=i&&(g="right")),null!=e){if(d=a[j+2],h==i&&c==(d.insertLeft?"left":"right")&&(g=c),"left"==c&&0==e)for(;j&&a[j-2]==a[j-3]&&a[j-1].insertLeft;)d=a[(j-=3)+2],g="left";if("right"==c&&e==i-h)for(;j<a.length-3&&a[j+3]==a[j+4]&&!a[j+5].insertLeft;)d=a[(j+=3)+2],g="right";break}return{node:d,start:e,end:f,collapse:g,coverStart:h,coverEnd:i}}function ac(a,b){var c=ch;if("left"==b)for(var d=0;d<a.length&&(c=a[d]).left==c.right;d++);else for(var e=a.length-1;e>=0&&(c=a[e]).left==c.right;e--);return c}function bc(a,b,c,d){var e,f=_b(b.map,c,d),g=f.node,h=f.start,i=f.end,j=f.collapse;if(3==g.nodeType){for(var k=0;k<4;k++){for(;h&&x(b.line.text.charAt(f.coverStart+h));)--h;for(;f.coverStart+i<f.coverEnd&&x(b.line.text.charAt(f.coverStart+i));)++i;if(e=gg&&hg<9&&0==h&&i==f.coverEnd-f.coverStart?g.parentNode.getBoundingClientRect():ac(vg(g,h,i).getClientRects(),d),
2
- e.left||e.right||0==h)break;i=h,h-=1,j="right"}gg&&hg<11&&(e=cc(a.display.measure,e))}else{h>0&&(j=d="right");var l;e=a.options.lineWrapping&&(l=g.getClientRects()).length>1?l["right"==d?l.length-1:0]:g.getBoundingClientRect()}if(gg&&hg<9&&!h&&(!e||!e.left&&!e.right)){var m=g.parentNode.getClientRects()[0];e=m?{left:m.left,right:m.left+rc(a.display),top:m.top,bottom:m.bottom}:ch}for(var n=e.top-b.rect.top,o=e.bottom-b.rect.top,p=(n+o)/2,q=b.view.measure.heights,r=0;r<q.length-1&&!(p<q[r]);r++);var s=r?q[r-1]:0,t=q[r],u={left:("right"==j?e.right:e.left)-b.rect.left,right:("left"==j?e.left:e.right)-b.rect.left,top:s,bottom:t};return e.left||e.right||(u.bogus=!0),a.options.singleCursorHeightPerLine||(u.rtop=n,u.rbottom=o),u}function cc(a,b){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!Ra(a))return b;var c=screen.logicalXDPI/screen.deviceXDPI,d=screen.logicalYDPI/screen.deviceYDPI;return{left:b.left*c,right:b.right*c,top:b.top*d,bottom:b.bottom*d}}function dc(a){if(a.measure&&(a.measure.cache={},a.measure.heights=null,a.rest))for(var b=0;b<a.rest.length;b++)a.measure.caches[b]={}}function ec(a){a.display.externalMeasure=null,b(a.display.lineMeasure);for(var c=0;c<a.display.view.length;c++)dc(a.display.view[c])}function fc(a){ec(a),a.display.cachedCharWidth=a.display.cachedTextHeight=a.display.cachedPaddingH=null,a.options.lineWrapping||(a.display.maxLineChanged=!0),a.display.lineNumChars=null}function gc(){return window.pageXOffset||(document.documentElement||document.body).scrollLeft}function hc(){return window.pageYOffset||(document.documentElement||document.body).scrollTop}function ic(a,b,c,d,e){if(!e&&b.widgets)for(var f=0;f<b.widgets.length;++f)if(b.widgets[f].above){var g=Mb(b.widgets[f]);c.top+=g,c.bottom+=g}if("line"==d)return c;d||(d="local");var h=oa(b);if("local"==d?h+=Ob(a.display):h-=a.display.viewOffset,"page"==d||"window"==d){var i=a.display.lineSpace.getBoundingClientRect();h+=i.top+("window"==d?0:hc());var j=i.left+("window"==d?0:gc());c.left+=j,c.right+=j}return c.top+=h,c.bottom+=h,c}function jc(a,b,c){if("div"==c)return b;var d=b.left,e=b.top;if("page"==c)d-=gc(),e-=hc();else if("local"==c||!c){var f=a.display.sizer.getBoundingClientRect();d+=f.left,e+=f.top}var g=a.display.lineSpace.getBoundingClientRect();return{left:d-g.left,top:e-g.top}}function kc(a,b,c,d,e){return d||(d=z(a.doc,b.line)),ic(a,d,Xb(a,d,b.ch,e),c)}function lc(a,b,c,d,e,f){function g(b,g){var h=$b(a,e,b,g?"right":"left",f);return g?h.left=h.right:h.right=h.left,ic(a,d,h,c)}function h(a,b){var c=i[b],d=c.level%2;return a==sa(c)&&b&&c.level<i[b-1].level?(c=i[--b],a=ta(c)-(c.level%2?0:1),d=!0):a==ta(c)&&b<i.length-1&&c.level<i[b+1].level&&(c=i[++b],a=sa(c)-c.level%2,d=!1),d&&a==c.to&&a>c.from?g(a-1):g(a,d)}d=d||z(a.doc,b.line),e||(e=Zb(a,d));var i=Ba(d),j=b.ch;if(!i)return g(j);var k=xa(i,j),l=h(j,k);return null!=Mg&&(l.other=h(j,Mg)),l}function mc(a,b){var c=0;b=N(a.doc,b),a.options.lineWrapping||(c=rc(a.display)*b.ch);var d=z(a.doc,b.line),e=oa(d)+Ob(a.display);return{left:c,right:c,top:e,bottom:e+d.height}}function nc(a,b,c,d){var e=H(a,b);return e.xRel=d,c&&(e.outside=!0),e}function oc(a,b,c){var d=a.doc;if(c+=a.display.viewOffset,c<0)return nc(d.first,0,!0,-1);var e=E(d,c),f=d.first+d.size-1;if(e>f)return nc(d.first+d.size-1,z(d,f).text.length,!0,1);b<0&&(b=0);for(var g=z(d,e);;){var h=pc(a,g,e,b,c),i=ga(g),j=i&&i.find(0,!0);if(!i||!(h.ch>j.from.ch||h.ch==j.from.ch&&h.xRel>0))return h;e=D(g=j.to.line)}}function pc(a,b,c,d,e){function f(d){var e=lc(a,H(c,d),"line",b,j);return h=!0,g>e.bottom?e.left-i:g<e.top?e.left+i:(h=!1,e.left)}var g=e-oa(b),h=!1,i=2*a.display.wrapper.clientWidth,j=Zb(a,b),k=Ba(b),l=b.text.length,m=ua(b),n=va(b),o=f(m),p=h,q=f(n),r=h;if(d>q)return nc(c,n,r,1);for(;;){if(k?n==m||n==za(b,m,1):n-m<=1){var s=d<o||d-o<=q-d?m:n,t=s==m?p:r,u=d-(s==m?o:q);if(r&&!k&&!/\s/.test(b.text.charAt(s))&&u>0&&s<b.text.length&&j.view.measure.heights.length>1){var v=$b(a,j,s,"right");g<=v.bottom&&g>=v.top&&Math.abs(d-v.right)<u&&(t=!1,s++,u=d-v.right)}for(;x(b.text.charAt(s));)++s;var w=nc(c,s,t,u<-1?-1:u>1?1:0);return w}var y=Math.ceil(l/2),z=m+y;if(k){z=m;for(var A=0;A<y;++A)z=za(b,z,1)}var B=f(z);B>d?(n=z,q=B,(r=h)&&(q+=1e3),l=y):(m=z,o=B,p=h,l-=y)}}function qc(a){if(null!=a.cachedTextHeight)return a.cachedTextHeight;if(null==Zg){Zg=d("pre");for(var e=0;e<49;++e)Zg.appendChild(document.createTextNode("x")),Zg.appendChild(d("br"));Zg.appendChild(document.createTextNode("x"))}c(a.measure,Zg);var f=Zg.offsetHeight/50;return f>3&&(a.cachedTextHeight=f),b(a.measure),f||1}function rc(a){if(null!=a.cachedCharWidth)return a.cachedCharWidth;var b=d("span","xxxxxxxxxx"),e=d("pre",[b]);c(a.measure,e);var f=b.getBoundingClientRect(),g=(f.right-f.left)/10;return g>2&&(a.cachedCharWidth=g),g||10}function sc(a){for(var b=a.display,c={},d={},e=b.gutters.clientLeft,f=b.gutters.firstChild,g=0;f;f=f.nextSibling,++g)c[a.options.gutters[g]]=f.offsetLeft+f.clientLeft+e,d[a.options.gutters[g]]=f.clientWidth;return{fixedPos:tc(b),gutterTotalWidth:b.gutters.offsetWidth,gutterLeft:c,gutterWidth:d,wrapperWidth:b.wrapper.clientWidth}}function tc(a){return a.scroller.getBoundingClientRect().left-a.sizer.getBoundingClientRect().left}function uc(a){var b=qc(a.display),c=a.options.lineWrapping,d=c&&Math.max(5,a.display.scroller.clientWidth/rc(a.display)-3);return function(e){if(ma(a.doc,e))return 0;var f=0;if(e.widgets)for(var g=0;g<e.widgets.length;g++)e.widgets[g].height&&(f+=e.widgets[g].height);return c?f+(Math.ceil(e.text.length/d)||1)*b:f+b}}function vc(a){var b=a.doc,c=uc(a);b.iter(function(a){var b=c(a);b!=a.height&&C(a,b)})}function wc(a,b,c,d){var e=a.display;if(!c&&"true"==Na(b).getAttribute("cm-not-content"))return null;var f,g,h=e.lineSpace.getBoundingClientRect();try{f=b.clientX-h.left,g=b.clientY-h.top}catch(b){return null}var i,j=oc(a,f,g);if(d&&1==j.xRel&&(i=z(a.doc,j.line).text).length==j.ch){var l=k(i,i.length,a.options.tabSize)-i.length;j=H(j.line,Math.max(0,Math.round((f-Qb(a.display).left)/rc(a.display))-l))}return j}function xc(a,b){if(b>=a.display.viewTo)return null;if(b-=a.display.viewFrom,b<0)return null;for(var c=a.display.view,d=0;d<c.length;d++)if(b-=c[d].size,b<0)return d}function yc(a){a.display.input.showSelection(a.display.input.prepareSelection())}function zc(a,b){for(var c=a.doc,d={},e=d.cursors=document.createDocumentFragment(),f=d.selection=document.createDocumentFragment(),g=0;g<c.sel.ranges.length;g++)if(b!==!1||g!=c.sel.primIndex){var h=c.sel.ranges[g];if(!(h.from().line>=a.display.viewTo||h.to().line<a.display.viewFrom)){var i=h.empty();(i||a.options.showCursorWhenSelecting)&&Ac(a,h.head,e),i||Bc(a,h,f)}}return d}function Ac(a,b,c){var e=lc(a,b,"div",null,null,!a.options.singleCursorHeightPerLine),f=c.appendChild(d("div"," ","CodeMirror-cursor"));if(f.style.left=e.left+"px",f.style.top=e.top+"px",f.style.height=Math.max(0,e.bottom-e.top)*a.options.cursorHeight+"px",e.other){var g=c.appendChild(d("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));g.style.display="",g.style.left=e.other.left+"px",g.style.top=e.other.top+"px",g.style.height=.85*(e.other.bottom-e.other.top)+"px"}}function Bc(a,b,c){function e(a,b,c,e){b<0&&(b=0),b=Math.round(b),e=Math.round(e),i.appendChild(d("div",null,"CodeMirror-selected","position: absolute; left: "+a+"px;\n top: "+b+"px; width: "+(null==c?l-a:c)+"px;\n height: "+(e-b)+"px"))}function f(b,c,d){function f(c,d){return kc(a,H(b,c),"div",j,d)}var g,i,j=z(h,b),m=j.text.length;return ra(Ba(j),c||0,null==d?m:d,function(a,b,h){var j,n,o,p=f(a,"left");if(a==b)j=p,n=o=p.left;else{if(j=f(b-1,"right"),"rtl"==h){var q=p;p=j,j=q}n=p.left,o=j.right}null==c&&0==a&&(n=k),j.top-p.top>3&&(e(n,p.top,null,p.bottom),n=k,p.bottom<j.top&&e(n,p.bottom,null,j.top)),null==d&&b==m&&(o=l),(!g||p.top<g.top||p.top==g.top&&p.left<g.left)&&(g=p),(!i||j.bottom>i.bottom||j.bottom==i.bottom&&j.right>i.right)&&(i=j),n<k+1&&(n=k),e(n,j.top,o-n,j.bottom)}),{start:g,end:i}}var g=a.display,h=a.doc,i=document.createDocumentFragment(),j=Qb(a.display),k=j.left,l=Math.max(g.sizerWidth,Sb(a)-g.sizer.offsetLeft)-j.right,m=b.from(),n=b.to();if(m.line==n.line)f(m.line,m.ch,n.ch);else{var o=z(h,m.line),p=z(h,n.line),q=ia(o)==ia(p),r=f(m.line,m.ch,q?o.text.length+1:null).end,s=f(n.line,q?0:null,n.ch).start;q&&(r.top<s.top-2?(e(r.right,r.top,null,r.bottom),e(k,s.top,s.left,s.bottom)):e(r.right,r.top,s.left-r.right,r.bottom)),r.bottom<s.top&&e(k,r.bottom,null,s.top)}c.appendChild(i)}function Cc(a){if(a.state.focused){var b=a.display;clearInterval(b.blinker);var c=!0;b.cursorDiv.style.visibility="",a.options.cursorBlinkRate>0?b.blinker=setInterval(function(){return b.cursorDiv.style.visibility=(c=!c)?"":"hidden"},a.options.cursorBlinkRate):a.options.cursorBlinkRate<0&&(b.cursorDiv.style.visibility="hidden")}}function Dc(a){a.state.focused||(a.display.input.focus(),Fc(a))}function Ec(a){a.state.delayingBlurEvent=!0,setTimeout(function(){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1,Gc(a))},100)}function Fc(a,b){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1),"nocursor"!=a.options.readOnly&&(a.state.focused||(Ea(a,"focus",a,b),a.state.focused=!0,g(a.display.wrapper,"CodeMirror-focused"),a.curOp||a.display.selForContextMenu==a.doc.sel||(a.display.input.reset(),ig&&setTimeout(function(){return a.display.input.reset(!0)},20)),a.display.input.receivedFocus()),Cc(a))}function Gc(a,b){a.state.delayingBlurEvent||(a.state.focused&&(Ea(a,"blur",a,b),a.state.focused=!1,yg(a.display.wrapper,"CodeMirror-focused")),clearInterval(a.display.blinker),setTimeout(function(){a.state.focused||(a.display.shift=!1)},150))}function Hc(a){var b=a.display,c=b.view;if(b.alignWidgets||b.gutters.firstChild&&a.options.fixedGutter){for(var d=tc(b)-b.scroller.scrollLeft+a.doc.scrollLeft,e=b.gutters.offsetWidth,f=d+"px",g=0;g<c.length;g++)if(!c[g].hidden){a.options.fixedGutter&&(c[g].gutter&&(c[g].gutter.style.left=f),c[g].gutterBackground&&(c[g].gutterBackground.style.left=f));var h=c[g].alignable;if(h)for(var i=0;i<h.length;i++)h[i].style.left=f}a.options.fixedGutter&&(b.gutters.style.left=d+e+"px")}}function Ic(a){if(!a.options.lineNumbers)return!1;var b=a.doc,c=G(a.options,b.first+b.size-1),e=a.display;if(c.length!=e.lineNumChars){var f=e.measure.appendChild(d("div",[d("div",c)],"CodeMirror-linenumber CodeMirror-gutter-elt")),g=f.firstChild.offsetWidth,h=f.offsetWidth-g;return e.lineGutter.style.width="",e.lineNumInnerWidth=Math.max(g,e.lineGutter.offsetWidth-h)+1,e.lineNumWidth=e.lineNumInnerWidth+h,e.lineNumChars=e.lineNumInnerWidth?c.length:-1,e.lineGutter.style.width=e.lineNumWidth+"px",Cd(a),!0}return!1}function Jc(a){for(var b=a.display,c=b.lineDiv.offsetTop,d=0;d<b.view.length;d++){var e=b.view[d],f=void 0;if(!e.hidden){if(gg&&hg<8){var g=e.node.offsetTop+e.node.offsetHeight;f=g-c,c=g}else{var h=e.node.getBoundingClientRect();f=h.bottom-h.top}var i=e.line.height-f;if(f<2&&(f=qc(b)),(i>.001||i<-.001)&&(C(e.line,f),Kc(e.line),e.rest))for(var j=0;j<e.rest.length;j++)Kc(e.rest[j])}}}function Kc(a){if(a.widgets)for(var b=0;b<a.widgets.length;++b)a.widgets[b].height=a.widgets[b].node.parentNode.offsetHeight}function Lc(a,b,c){var d=c&&null!=c.top?Math.max(0,c.top):a.scroller.scrollTop;d=Math.floor(d-Ob(a));var e=c&&null!=c.bottom?c.bottom:d+a.wrapper.clientHeight,f=E(b,d),g=E(b,e);if(c&&c.ensure){var h=c.ensure.from.line,i=c.ensure.to.line;h<f?(f=h,g=E(b,oa(z(b,h))+a.wrapper.clientHeight)):Math.min(i,b.lastLine())>=g&&(f=E(b,oa(z(b,i))-a.wrapper.clientHeight),g=i)}return{from:f,to:Math.max(g,f+1)}}function Mc(a,b){Math.abs(a.doc.scrollTop-b)<2||(a.doc.scrollTop=b,dg||Ad(a,{top:b}),a.display.scroller.scrollTop!=b&&(a.display.scroller.scrollTop=b),a.display.scrollbars.setScrollTop(b),dg&&Ad(a),ud(a,100))}function Nc(a,b,c){(c?b==a.doc.scrollLeft:Math.abs(a.doc.scrollLeft-b)<2)||(b=Math.min(b,a.display.scroller.scrollWidth-a.display.scroller.clientWidth),a.doc.scrollLeft=b,Hc(a),a.display.scroller.scrollLeft!=b&&(a.display.scroller.scrollLeft=b),a.display.scrollbars.setScrollLeft(b))}function Oc(a){var b=a.wheelDeltaX,c=a.wheelDeltaY;return null==b&&a.detail&&a.axis==a.HORIZONTAL_AXIS&&(b=a.detail),null==c&&a.detail&&a.axis==a.VERTICAL_AXIS?c=a.detail:null==c&&(c=a.wheelDelta),{x:b,y:c}}function Pc(a){var b=Oc(a);return b.x*=eh,b.y*=eh,b}function Qc(a,b){var c=Oc(b),d=c.x,e=c.y,f=a.display,g=f.scroller,h=g.scrollWidth>g.clientWidth,i=g.scrollHeight>g.clientHeight;if(d&&h||e&&i){if(e&&rg&&ig)a:for(var j=b.target,k=f.view;j!=g;j=j.parentNode)for(var l=0;l<k.length;l++)if(k[l].node==j){a.display.currentWheelTarget=j;break a}if(d&&!dg&&!lg&&null!=eh)return e&&i&&Mc(a,Math.max(0,Math.min(g.scrollTop+e*eh,g.scrollHeight-g.clientHeight))),Nc(a,Math.max(0,Math.min(g.scrollLeft+d*eh,g.scrollWidth-g.clientWidth))),(!e||e&&i)&&Ja(b),void(f.wheelStartX=null);if(e&&null!=eh){var m=e*eh,n=a.doc.scrollTop,o=n+f.wrapper.clientHeight;m<0?n=Math.max(0,n+m-50):o=Math.min(a.doc.height,o+m+50),Ad(a,{top:n,bottom:o})}dh<20&&(null==f.wheelStartX?(f.wheelStartX=g.scrollLeft,f.wheelStartY=g.scrollTop,f.wheelDX=d,f.wheelDY=e,setTimeout(function(){if(null!=f.wheelStartX){var a=g.scrollLeft-f.wheelStartX,b=g.scrollTop-f.wheelStartY,c=b&&f.wheelDY&&b/f.wheelDY||a&&f.wheelDX&&a/f.wheelDX;f.wheelStartX=f.wheelStartY=null,c&&(eh=(eh*dh+c)/(dh+1),++dh)}},200)):(f.wheelDX+=d,f.wheelDY+=e))}}function Rc(a){var b=a.display,c=b.gutters.offsetWidth,d=Math.round(a.doc.height+Pb(a.display));return{clientHeight:b.scroller.clientHeight,viewHeight:b.wrapper.clientHeight,scrollWidth:b.scroller.scrollWidth,clientWidth:b.scroller.clientWidth,viewWidth:b.wrapper.clientWidth,barLeft:a.options.fixedGutter?c:0,docHeight:d,scrollHeight:d+Rb(a)+b.barHeight,nativeBarWidth:b.nativeBarWidth,gutterWidth:c}}function Sc(a,b,c){this.cm=c;var e=this.vert=d("div",[d("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),f=this.horiz=d("div",[d("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");a(e),a(f),Pg(e,"scroll",function(){e.clientHeight&&b(e.scrollTop,"vertical")}),Pg(f,"scroll",function(){f.clientWidth&&b(f.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,gg&&hg<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")}function Tc(){}function Uc(a,b){b||(b=Rc(a));var c=a.display.barWidth,d=a.display.barHeight;Vc(a,b);for(var e=0;e<4&&c!=a.display.barWidth||d!=a.display.barHeight;e++)c!=a.display.barWidth&&a.options.lineWrapping&&Jc(a),Vc(a,Rc(a)),c=a.display.barWidth,d=a.display.barHeight}function Vc(a,b){var c=a.display,d=c.scrollbars.update(b);c.sizer.style.paddingRight=(c.barWidth=d.right)+"px",c.sizer.style.paddingBottom=(c.barHeight=d.bottom)+"px",c.heightForcer.style.borderBottom=d.bottom+"px solid transparent",d.right&&d.bottom?(c.scrollbarFiller.style.display="block",c.scrollbarFiller.style.height=d.bottom+"px",c.scrollbarFiller.style.width=d.right+"px"):c.scrollbarFiller.style.display="",d.bottom&&a.options.coverGutterNextToScrollbar&&a.options.fixedGutter?(c.gutterFiller.style.display="block",c.gutterFiller.style.height=d.bottom+"px",c.gutterFiller.style.width=b.gutterWidth+"px"):c.gutterFiller.style.display=""}function Wc(a){a.display.scrollbars&&(a.display.scrollbars.clear(),a.display.scrollbars.addClass&&yg(a.display.wrapper,a.display.scrollbars.addClass)),a.display.scrollbars=new fh[a.options.scrollbarStyle](function(b){a.display.wrapper.insertBefore(b,a.display.scrollbarFiller),Pg(b,"mousedown",function(){a.state.focused&&setTimeout(function(){return a.display.input.focus()},0)}),b.setAttribute("cm-not-content","true")},function(b,c){"horizontal"==c?Nc(a,b):Mc(a,b)},a),a.display.scrollbars.addClass&&g(a.display.wrapper,a.display.scrollbars.addClass)}function Xc(a,b){if(!Fa(a,"scrollCursorIntoView")){var c=a.display,e=c.sizer.getBoundingClientRect(),f=null;if(b.top+e.top<0?f=!0:b.bottom+e.top>(window.innerHeight||document.documentElement.clientHeight)&&(f=!1),null!=f&&!og){var g=d("div","​",null,"position: absolute;\n top: "+(b.top-c.viewOffset-Ob(a.display))+"px;\n height: "+(b.bottom-b.top+Rb(a)+c.barHeight)+"px;\n left: "+b.left+"px; width: 2px;");a.display.lineSpace.appendChild(g),g.scrollIntoView(f),a.display.lineSpace.removeChild(g)}}}function Yc(a,b,c,d){null==d&&(d=0);for(var e,f=0;f<5;f++){var g=!1;e=lc(a,b);var h=c&&c!=b?lc(a,c):e,i=$c(a,Math.min(e.left,h.left),Math.min(e.top,h.top)-d,Math.max(e.left,h.left),Math.max(e.bottom,h.bottom)+d),j=a.doc.scrollTop,k=a.doc.scrollLeft;if(null!=i.scrollTop&&(Mc(a,i.scrollTop),Math.abs(a.doc.scrollTop-j)>1&&(g=!0)),null!=i.scrollLeft&&(Nc(a,i.scrollLeft),Math.abs(a.doc.scrollLeft-k)>1&&(g=!0)),!g)break}return e}function Zc(a,b,c,d,e){var f=$c(a,b,c,d,e);null!=f.scrollTop&&Mc(a,f.scrollTop),null!=f.scrollLeft&&Nc(a,f.scrollLeft)}function $c(a,b,c,d,e){var f=a.display,g=qc(a.display);c<0&&(c=0);var h=a.curOp&&null!=a.curOp.scrollTop?a.curOp.scrollTop:f.scroller.scrollTop,i=Tb(a),j={};e-c>i&&(e=c+i);var k=a.doc.height+Pb(f),l=c<g,m=e>k-g;if(c<h)j.scrollTop=l?0:c;else if(e>h+i){var n=Math.min(c,(m?k:e)-i);n!=h&&(j.scrollTop=n)}var o=a.curOp&&null!=a.curOp.scrollLeft?a.curOp.scrollLeft:f.scroller.scrollLeft,p=Sb(a)-(a.options.fixedGutter?f.gutters.offsetWidth:0),q=d-b>p;return q&&(d=b+p),b<10?j.scrollLeft=0:b<o?j.scrollLeft=Math.max(0,b-(q?0:10)):d>p+o-3&&(j.scrollLeft=d+(q?0:10)-p),j}function _c(a,b,c){null==b&&null==c||bd(a),null!=b&&(a.curOp.scrollLeft=(null==a.curOp.scrollLeft?a.doc.scrollLeft:a.curOp.scrollLeft)+b),null!=c&&(a.curOp.scrollTop=(null==a.curOp.scrollTop?a.doc.scrollTop:a.curOp.scrollTop)+c)}function ad(a){bd(a);var b=a.getCursor(),c=b,d=b;a.options.lineWrapping||(c=b.ch?H(b.line,b.ch-1):b,d=H(b.line,b.ch+1)),a.curOp.scrollToPos={from:c,to:d,margin:a.options.cursorScrollMargin,isCursor:!0}}function bd(a){var b=a.curOp.scrollToPos;if(b){a.curOp.scrollToPos=null;var c=mc(a,b.from),d=mc(a,b.to),e=$c(a,Math.min(c.left,d.left),Math.min(c.top,d.top)-b.margin,Math.max(c.right,d.right),Math.max(c.bottom,d.bottom)+b.margin);a.scrollTo(e.scrollLeft,e.scrollTop)}}function cd(a){a.curOp={cm:a,viewChanged:!1,startHeight:a.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:++gh},vb(a.curOp)}function dd(a){var b=a.curOp;xb(b,function(a){for(var b=0;b<a.ops.length;b++)a.ops[b].cm.curOp=null;ed(a)})}function ed(a){for(var b=a.ops,c=0;c<b.length;c++)fd(b[c]);for(var d=0;d<b.length;d++)gd(b[d]);for(var e=0;e<b.length;e++)hd(b[e]);for(var f=0;f<b.length;f++)id(b[f]);for(var g=0;g<b.length;g++)jd(b[g])}function fd(a){var b=a.cm,c=b.display;xd(b),a.updateMaxLine&&qa(b),a.mustUpdate=a.viewChanged||a.forceUpdate||null!=a.scrollTop||a.scrollToPos&&(a.scrollToPos.from.line<c.viewFrom||a.scrollToPos.to.line>=c.viewTo)||c.maxLineChanged&&b.options.lineWrapping,a.update=a.mustUpdate&&new wd(b,a.mustUpdate&&{top:a.scrollTop,ensure:a.scrollToPos},a.forceUpdate)}function gd(a){a.updatedDisplay=a.mustUpdate&&yd(a.cm,a.update)}function hd(a){var b=a.cm,c=b.display;a.updatedDisplay&&Jc(b),a.barMeasure=Rc(b),c.maxLineChanged&&!b.options.lineWrapping&&(a.adjustWidthTo=Xb(b,c.maxLine,c.maxLine.text.length).left+3,b.display.sizerWidth=a.adjustWidthTo,a.barMeasure.scrollWidth=Math.max(c.scroller.clientWidth,c.sizer.offsetLeft+a.adjustWidthTo+Rb(b)+b.display.barWidth),a.maxScrollLeft=Math.max(0,c.sizer.offsetLeft+a.adjustWidthTo-Sb(b))),(a.updatedDisplay||a.selectionChanged)&&(a.preparedSelection=c.input.prepareSelection(a.focus))}function id(a){var b=a.cm;null!=a.adjustWidthTo&&(b.display.sizer.style.minWidth=a.adjustWidthTo+"px",a.maxScrollLeft<b.doc.scrollLeft&&Nc(b,Math.min(b.display.scroller.scrollLeft,a.maxScrollLeft),!0),b.display.maxLineChanged=!1);var c=a.focus&&a.focus==f()&&(!document.hasFocus||document.hasFocus());a.preparedSelection&&b.display.input.showSelection(a.preparedSelection,c),(a.updatedDisplay||a.startHeight!=b.doc.height)&&Uc(b,a.barMeasure),a.updatedDisplay&&Dd(b,a.barMeasure),a.selectionChanged&&Cc(b),b.state.focused&&a.updateInput&&b.display.input.reset(a.typing),c&&Dc(a.cm)}function jd(a){var b=a.cm,c=b.display,d=b.doc;if(a.updatedDisplay&&zd(b,a.update),null==c.wheelStartX||null==a.scrollTop&&null==a.scrollLeft&&!a.scrollToPos||(c.wheelStartX=c.wheelStartY=null),null==a.scrollTop||c.scroller.scrollTop==a.scrollTop&&!a.forceScroll||(d.scrollTop=Math.max(0,Math.min(c.scroller.scrollHeight-c.scroller.clientHeight,a.scrollTop)),c.scrollbars.setScrollTop(d.scrollTop),c.scroller.scrollTop=d.scrollTop),null==a.scrollLeft||c.scroller.scrollLeft==a.scrollLeft&&!a.forceScroll||(d.scrollLeft=Math.max(0,Math.min(c.scroller.scrollWidth-c.scroller.clientWidth,a.scrollLeft)),c.scrollbars.setScrollLeft(d.scrollLeft),c.scroller.scrollLeft=d.scrollLeft,Hc(b)),a.scrollToPos){var e=Yc(b,N(d,a.scrollToPos.from),N(d,a.scrollToPos.to),a.scrollToPos.margin);a.scrollToPos.isCursor&&b.state.focused&&Xc(b,e)}var f=a.maybeHiddenMarkers,g=a.maybeUnhiddenMarkers;if(f)for(var h=0;h<f.length;++h)f[h].lines.length||Ea(f[h],"hide");if(g)for(var i=0;i<g.length;++i)g[i].lines.length&&Ea(g[i],"unhide");c.wrapper.offsetHeight&&(d.scrollTop=b.display.scroller.scrollTop),a.changeObjs&&Ea(b,"changes",b,a.changeObjs),a.update&&a.update.finish()}function kd(a,b){if(a.curOp)return b();cd(a);try{return b()}finally{dd(a)}}function ld(a,b){return function(){if(a.curOp)return b.apply(a,arguments);cd(a);try{return b.apply(a,arguments)}finally{dd(a)}}}function md(a){return function(){if(this.curOp)return a.apply(this,arguments);cd(this);try{return a.apply(this,arguments)}finally{dd(this)}}}function nd(a){return function(){var b=this.cm;if(!b||b.curOp)return a.apply(this,arguments);cd(b);try{return a.apply(this,arguments)}finally{dd(b)}}}function od(a,b,c,d){null==b&&(b=a.doc.first),null==c&&(c=a.doc.first+a.doc.size),d||(d=0);var e=a.display;if(d&&c<e.viewTo&&(null==e.updateLineNumbers||e.updateLineNumbers>b)&&(e.updateLineNumbers=b),a.curOp.viewChanged=!0,b>=e.viewTo)Lg&&ka(a.doc,b)<e.viewTo&&qd(a);else if(c<=e.viewFrom)Lg&&la(a.doc,c+d)>e.viewFrom?qd(a):(e.viewFrom+=d,e.viewTo+=d);else if(b<=e.viewFrom&&c>=e.viewTo)qd(a);else if(b<=e.viewFrom){var f=rd(a,c,c+d,1);f?(e.view=e.view.slice(f.index),e.viewFrom=f.lineN,e.viewTo+=d):qd(a)}else if(c>=e.viewTo){var g=rd(a,b,b,-1);g?(e.view=e.view.slice(0,g.index),e.viewTo=g.lineN):qd(a)}else{var h=rd(a,b,b,-1),i=rd(a,c,c+d,1);h&&i?(e.view=e.view.slice(0,h.index).concat(ub(a,h.lineN,i.lineN)).concat(e.view.slice(i.index)),e.viewTo+=d):qd(a)}var j=e.externalMeasured;j&&(c<j.lineN?j.lineN+=d:b<j.lineN+j.size&&(e.externalMeasured=null))}function pd(a,b,c){a.curOp.viewChanged=!0;var d=a.display,e=a.display.externalMeasured;if(e&&b>=e.lineN&&b<e.lineN+e.size&&(d.externalMeasured=null),!(b<d.viewFrom||b>=d.viewTo)){var f=d.view[xc(a,b)];if(null!=f.node){var g=f.changes||(f.changes=[]);m(g,c)==-1&&g.push(c)}}}function qd(a){a.display.viewFrom=a.display.viewTo=a.doc.first,a.display.view=[],a.display.viewOffset=0}function rd(a,b,c,d){var e,f=xc(a,b),g=a.display.view;if(!Lg||c==a.doc.first+a.doc.size)return{index:f,lineN:c};for(var h=a.display.viewFrom,i=0;i<f;i++)h+=g[i].size;if(h!=b){if(d>0){if(f==g.length-1)return null;e=h+g[f].size-b,f++}else e=h-b;b+=e,c+=e}for(;ka(a.doc,c)!=c;){if(f==(d<0?0:g.length-1))return null;c+=d*g[f-(d<0?1:0)].size,f+=d}return{index:f,lineN:c}}function sd(a,b,c){var d=a.display,e=d.view;0==e.length||b>=d.viewTo||c<=d.viewFrom?(d.view=ub(a,b,c),d.viewFrom=b):(d.viewFrom>b?d.view=ub(a,b,d.viewFrom).concat(d.view):d.viewFrom<b&&(d.view=d.view.slice(xc(a,b))),d.viewFrom=b,d.viewTo<c?d.view=d.view.concat(ub(a,d.viewTo,c)):d.viewTo>c&&(d.view=d.view.slice(0,xc(a,c)))),d.viewTo=c}function td(a){for(var b=a.display.view,c=0,d=0;d<b.length;d++){var e=b[d];e.hidden||e.node&&!e.changes||++c}return c}function ud(a,b){a.doc.mode.startState&&a.doc.frontier<a.display.viewTo&&a.state.highlight.set(b,i(vd,a))}function vd(a){var b=a.doc;if(b.frontier<b.first&&(b.frontier=b.first),!(b.frontier>=a.display.viewTo)){var c=+new Date+a.options.workTime,d=Xa(b.mode,ab(a,b.frontier)),e=[];b.iter(b.frontier,Math.min(b.first+b.size,a.display.viewTo+500),function(f){if(b.frontier>=a.display.viewFrom){var g=f.styles,h=f.text.length>a.options.maxHighlightLength,i=$a(a,f,h?Xa(b.mode,d):d,!0);f.styles=i.styles;var j=f.styleClasses,k=i.classes;k?f.styleClasses=k:j&&(f.styleClasses=null);for(var l=!g||g.length!=f.styles.length||j!=k&&(!j||!k||j.bgClass!=k.bgClass||j.textClass!=k.textClass),m=0;!l&&m<g.length;++m)l=g[m]!=f.styles[m];l&&e.push(b.frontier),f.stateAfter=h?d:Xa(b.mode,d)}else f.text.length<=a.options.maxHighlightLength&&bb(a,f.text,d),f.stateAfter=b.frontier%5==0?Xa(b.mode,d):null;if(++b.frontier,+new Date>c)return ud(a,a.options.workDelay),!0}),e.length&&kd(a,function(){for(var b=0;b<e.length;b++)pd(a,e[b],"text")})}}function wd(a,b,c){var d=a.display;this.viewport=b,this.visible=Lc(d,a.doc,b),this.editorIsHidden=!d.wrapper.offsetWidth,this.wrapperHeight=d.wrapper.clientHeight,this.wrapperWidth=d.wrapper.clientWidth,this.oldDisplayWidth=Sb(a),this.force=c,this.dims=sc(a),this.events=[]}function xd(a){var b=a.display;!b.scrollbarsClipped&&b.scroller.offsetWidth&&(b.nativeBarWidth=b.scroller.offsetWidth-b.scroller.clientWidth,b.heightForcer.style.height=Rb(a)+"px",b.sizer.style.marginBottom=-b.nativeBarWidth+"px",b.sizer.style.borderRightWidth=Rb(a)+"px",b.scrollbarsClipped=!0)}function yd(a,c){var d=a.display,e=a.doc;if(c.editorIsHidden)return qd(a),!1;if(!c.force&&c.visible.from>=d.viewFrom&&c.visible.to<=d.viewTo&&(null==d.updateLineNumbers||d.updateLineNumbers>=d.viewTo)&&d.renderedView==d.view&&0==td(a))return!1;Ic(a)&&(qd(a),c.dims=sc(a));var g=e.first+e.size,h=Math.max(c.visible.from-a.options.viewportMargin,e.first),i=Math.min(g,c.visible.to+a.options.viewportMargin);d.viewFrom<h&&h-d.viewFrom<20&&(h=Math.max(e.first,d.viewFrom)),d.viewTo>i&&d.viewTo-i<20&&(i=Math.min(g,d.viewTo)),Lg&&(h=ka(a.doc,h),i=la(a.doc,i));var j=h!=d.viewFrom||i!=d.viewTo||d.lastWrapHeight!=c.wrapperHeight||d.lastWrapWidth!=c.wrapperWidth;sd(a,h,i),d.viewOffset=oa(z(a.doc,d.viewFrom)),a.display.mover.style.top=d.viewOffset+"px";var k=td(a);if(!j&&0==k&&!c.force&&d.renderedView==d.view&&(null==d.updateLineNumbers||d.updateLineNumbers>=d.viewTo))return!1;var l=f();return k>4&&(d.lineDiv.style.display="none"),Bd(a,d.updateLineNumbers,c.dims),k>4&&(d.lineDiv.style.display=""),d.renderedView=d.view,l&&f()!=l&&l.offsetHeight&&l.focus(),b(d.cursorDiv),b(d.selectionDiv),d.gutters.style.height=d.sizer.style.minHeight=0,j&&(d.lastWrapHeight=c.wrapperHeight,d.lastWrapWidth=c.wrapperWidth,ud(a,400)),d.updateLineNumbers=null,!0}function zd(a,b){for(var c=b.viewport,d=!0;(d&&a.options.lineWrapping&&b.oldDisplayWidth!=Sb(a)||(c&&null!=c.top&&(c={top:Math.min(a.doc.height+Pb(a.display)-Tb(a),c.top)}),b.visible=Lc(a.display,a.doc,c),!(b.visible.from>=a.display.viewFrom&&b.visible.to<=a.display.viewTo)))&&yd(a,b);d=!1){Jc(a);var e=Rc(a);yc(a),Uc(a,e),Dd(a,e)}b.signal(a,"update",a),a.display.viewFrom==a.display.reportedViewFrom&&a.display.viewTo==a.display.reportedViewTo||(b.signal(a,"viewportChange",a,a.display.viewFrom,a.display.viewTo),a.display.reportedViewFrom=a.display.viewFrom,a.display.reportedViewTo=a.display.viewTo)}function Ad(a,b){var c=new wd(a,b);if(yd(a,c)){Jc(a),zd(a,c);var d=Rc(a);yc(a),Uc(a,d),Dd(a,d),c.finish()}}function Bd(a,c,d){function e(b){var c=b.nextSibling;return ig&&rg&&a.display.currentWheelTarget==b?b.style.display="none":b.parentNode.removeChild(b),c}for(var f=a.display,g=a.options.lineNumbers,h=f.lineDiv,i=h.firstChild,j=f.view,k=f.viewFrom,l=0;l<j.length;l++){var n=j[l];if(n.hidden);else if(n.node&&n.node.parentNode==h){for(;i!=n.node;)i=e(i);var o=g&&null!=c&&c<=k&&n.lineNumber;n.changes&&(m(n.changes,"gutter")>-1&&(o=!1),Ab(a,n,k,d)),o&&(b(n.lineNumber),n.lineNumber.appendChild(document.createTextNode(G(a.options,k)))),i=n.node.nextSibling}else{var p=Ib(a,n,k,d);h.insertBefore(p,i)}k+=n.size}for(;i;)i=e(i)}function Cd(a){var b=a.display.gutters.offsetWidth;a.display.sizer.style.marginLeft=b+"px"}function Dd(a,b){a.display.sizer.style.minHeight=b.docHeight+"px",a.display.heightForcer.style.top=b.docHeight+"px",a.display.gutters.style.height=b.docHeight+a.display.barHeight+Rb(a)+"px"}function Ed(a){var c=a.display.gutters,e=a.options.gutters;b(c);for(var f=0;f<e.length;++f){var g=e[f],h=c.appendChild(d("div",null,"CodeMirror-gutter "+g));"CodeMirror-linenumbers"==g&&(a.display.lineGutter=h,h.style.width=(a.display.lineNumWidth||1)+"px")}c.style.display=f?"":"none",Cd(a)}function Fd(a){var b=m(a.gutters,"CodeMirror-linenumbers");b==-1&&a.lineNumbers?a.gutters=a.gutters.concat(["CodeMirror-linenumbers"]):b>-1&&!a.lineNumbers&&(a.gutters=a.gutters.slice(0),a.gutters.splice(b,1))}function Gd(a,b){this.ranges=a,this.primIndex=b}function Hd(a,b){this.anchor=a,this.head=b}function Id(a,b){var c=a[b];a.sort(function(a,b){return I(a.from(),b.from())}),b=m(a,c);for(var d=1;d<a.length;d++){var e=a[d],f=a[d-1];if(I(f.to(),e.from())>=0){var g=L(f.from(),e.from()),h=K(f.to(),e.to()),i=f.empty()?e.from()==e.head:f.from()==f.head;d<=b&&--b,a.splice(--d,2,new Hd(i?h:g,i?g:h))}}return new Gd(a,b)}function Jd(a,b){return new Gd([new Hd(a,b||a)],0)}function Kd(a){return a.text?H(a.from.line+a.text.length-1,p(a.text).length+(1==a.text.length?a.from.ch:0)):a.to}function Ld(a,b){if(I(a,b.from)<0)return a;if(I(a,b.to)<=0)return Kd(b);var c=a.line+b.text.length-(b.to.line-b.from.line)-1,d=a.ch;return a.line==b.to.line&&(d+=Kd(b).ch-b.to.ch),H(c,d)}function Md(a,b){for(var c=[],d=0;d<a.sel.ranges.length;d++){var e=a.sel.ranges[d];c.push(new Hd(Ld(e.anchor,b),Ld(e.head,b)))}return Id(c,a.sel.primIndex)}function Nd(a,b,c){return a.line==b.line?H(c.line,a.ch-b.ch+c.ch):H(c.line+(a.line-b.line),a.ch)}function Od(a,b,c){for(var d=[],e=H(a.first,0),f=e,g=0;g<b.length;g++){var h=b[g],i=Nd(h.from,e,f),j=Nd(Kd(h),e,f);if(e=h.to,f=j,"around"==c){var k=a.sel.ranges[g],l=I(k.head,k.anchor)<0;d[g]=new Hd(l?j:i,l?i:j)}else d[g]=new Hd(i,i)}return new Gd(d,a.sel.primIndex)}function Pd(a){a.doc.mode=Va(a.options,a.doc.modeOption),Qd(a)}function Qd(a){a.doc.iter(function(a){a.stateAfter&&(a.stateAfter=null),a.styles&&(a.styles=null)}),a.doc.frontier=a.doc.first,ud(a,100),a.state.modeGen++,a.curOp&&od(a)}function Rd(a,b){return 0==b.from.ch&&0==b.to.ch&&""==p(b.text)&&(!a.cm||a.cm.options.wholeLineUpdateBefore)}function Sd(a,b,c,d){function e(a){return c?c[a]:null}function f(a,c,e){jb(a,c,e,d),yb(a,"change",a,b)}function g(a,b){for(var c=[],f=a;f<b;++f)c.push(new ib(j[f],e(f),d));return c}var h=b.from,i=b.to,j=b.text,k=z(a,h.line),l=z(a,i.line),m=p(j),n=e(j.length-1),o=i.line-h.line;if(b.full)a.insert(0,g(0,j.length)),a.remove(j.length,a.size-j.length);else if(Rd(a,b)){var q=g(0,j.length-1);f(l,l.text,n),o&&a.remove(h.line,o),q.length&&a.insert(h.line,q)}else if(k==l)if(1==j.length)f(k,k.text.slice(0,h.ch)+m+k.text.slice(i.ch),n);else{var r=g(1,j.length-1);r.push(new ib(m+k.text.slice(i.ch),n,d)),f(k,k.text.slice(0,h.ch)+j[0],e(0)),a.insert(h.line+1,r)}else if(1==j.length)f(k,k.text.slice(0,h.ch)+j[0]+l.text.slice(i.ch),e(0)),a.remove(h.line+1,o);else{f(k,k.text.slice(0,h.ch)+j[0],e(0)),f(l,m+l.text.slice(i.ch),n);var s=g(1,j.length-1);o>1&&a.remove(h.line+1,o-1),a.insert(h.line+1,s)}yb(a,"change",a,b)}function Td(a,b,c){function d(a,e,f){if(a.linked)for(var g=0;g<a.linked.length;++g){var h=a.linked[g];if(h.doc!=e){var i=f&&h.sharedHist;c&&!i||(b(h.doc,i),d(h.doc,a,i))}}}d(a,null,!0)}function Ud(a,b){if(b.cm)throw new Error("This document is already in use.");a.doc=b,b.cm=a,vc(a),Pd(a),a.options.lineWrapping||qa(a),a.options.mode=b.modeOption,od(a)}function Vd(a){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=a||1}function Wd(a,b){var c={from:J(b.from),
3
- to:Kd(b),text:A(a,b.from,b.to)};return be(a,c,b.from.line,b.to.line+1),Td(a,function(a){return be(a,c,b.from.line,b.to.line+1)},!0),c}function Xd(a){for(;a.length;){var b=p(a);if(!b.ranges)break;a.pop()}}function Yd(a,b){return b?(Xd(a.done),p(a.done)):a.done.length&&!p(a.done).ranges?p(a.done):a.done.length>1&&!a.done[a.done.length-2].ranges?(a.done.pop(),p(a.done)):void 0}function Zd(a,b,c,d){var e=a.history;e.undone.length=0;var f,g,h=+new Date;if((e.lastOp==d||e.lastOrigin==b.origin&&b.origin&&("+"==b.origin.charAt(0)&&a.cm&&e.lastModTime>h-a.cm.options.historyEventDelay||"*"==b.origin.charAt(0)))&&(f=Yd(e,e.lastOp==d)))g=p(f.changes),0==I(b.from,b.to)&&0==I(b.from,g.to)?g.to=Kd(b):f.changes.push(Wd(a,b));else{var i=p(e.done);for(i&&i.ranges||ae(a.sel,e.done),f={changes:[Wd(a,b)],generation:e.generation},e.done.push(f);e.done.length>e.undoDepth;)e.done.shift(),e.done[0].ranges||e.done.shift()}e.done.push(c),e.generation=++e.maxGeneration,e.lastModTime=e.lastSelTime=h,e.lastOp=e.lastSelOp=d,e.lastOrigin=e.lastSelOrigin=b.origin,g||Ea(a,"historyAdded")}function $d(a,b,c,d){var e=b.charAt(0);return"*"==e||"+"==e&&c.ranges.length==d.ranges.length&&c.somethingSelected()==d.somethingSelected()&&new Date-a.history.lastSelTime<=(a.cm?a.cm.options.historyEventDelay:500)}function _d(a,b,c,d){var e=a.history,f=d&&d.origin;c==e.lastSelOp||f&&e.lastSelOrigin==f&&(e.lastModTime==e.lastSelTime&&e.lastOrigin==f||$d(a,f,p(e.done),b))?e.done[e.done.length-1]=b:ae(b,e.done),e.lastSelTime=+new Date,e.lastSelOrigin=f,e.lastSelOp=c,d&&d.clearRedo!==!1&&Xd(e.undone)}function ae(a,b){var c=p(b);c&&c.ranges&&c.equals(a)||b.push(a)}function be(a,b,c,d){var e=b["spans_"+a.id],f=0;a.iter(Math.max(a.first,c),Math.min(a.first+a.size,d),function(c){c.markedSpans&&((e||(e=b["spans_"+a.id]={}))[f]=c.markedSpans),++f})}function ce(a){if(!a)return null;for(var b,c=0;c<a.length;++c)a[c].marker.explicitlyCleared?b||(b=a.slice(0,c)):b&&b.push(a[c]);return b?b.length?b:null:a}function de(a,b){var c=b["spans_"+a.id];if(!c)return null;for(var d=[],e=0;e<b.text.length;++e)d.push(ce(c[e]));return d}function ee(a,b){var c=de(a,b),d=Y(a,b);if(!c)return d;if(!d)return c;for(var e=0;e<c.length;++e){var f=c[e],g=d[e];if(f&&g)a:for(var h=0;h<g.length;++h){for(var i=g[h],j=0;j<f.length;++j)if(f[j].marker==i.marker)continue a;f.push(i)}else g&&(c[e]=g)}return c}function fe(a,b,c){for(var d=[],e=0;e<a.length;++e){var f=a[e];if(f.ranges)d.push(c?Gd.prototype.deepCopy.call(f):f);else{var g=f.changes,h=[];d.push({changes:h});for(var i=0;i<g.length;++i){var j=g[i],k=void 0;if(h.push({from:j.from,to:j.to,text:j.text}),b)for(var l in j)(k=l.match(/^spans_(\d+)$/))&&m(b,Number(k[1]))>-1&&(p(h)[l]=j[l],delete j[l])}}}return d}function ge(a,b,c,d){if(a.cm&&a.cm.display.shift||a.extend){var e=b.anchor;if(d){var f=I(c,e)<0;f!=I(d,e)<0?(e=c,c=d):f!=I(c,d)<0&&(c=d)}return new Hd(e,c)}return new Hd(d||c,c)}function he(a,b,c,d){ne(a,new Gd([ge(a,a.sel.primary(),b,c)],0),d)}function ie(a,b,c){for(var d=[],e=0;e<a.sel.ranges.length;e++)d[e]=ge(a,a.sel.ranges[e],b[e],null);var f=Id(d,a.sel.primIndex);ne(a,f,c)}function je(a,b,c,d){var e=a.sel.ranges.slice(0);e[b]=c,ne(a,Id(e,a.sel.primIndex),d)}function ke(a,b,c,d){ne(a,Jd(b,c),d)}function le(a,b,c){var d={ranges:b.ranges,update:function(b){var c=this;this.ranges=[];for(var d=0;d<b.length;d++)c.ranges[d]=new Hd(N(a,b[d].anchor),N(a,b[d].head))},origin:c&&c.origin};return Ea(a,"beforeSelectionChange",a,d),a.cm&&Ea(a.cm,"beforeSelectionChange",a.cm,d),d.ranges!=b.ranges?Id(d.ranges,d.ranges.length-1):b}function me(a,b,c){var d=a.history.done,e=p(d);e&&e.ranges?(d[d.length-1]=b,oe(a,b,c)):ne(a,b,c)}function ne(a,b,c){oe(a,b,c),_d(a,a.sel,a.cm?a.cm.curOp.id:NaN,c)}function oe(a,b,c){(Ha(a,"beforeSelectionChange")||a.cm&&Ha(a.cm,"beforeSelectionChange"))&&(b=le(a,b,c));var d=c&&c.bias||(I(b.primary().head,a.sel.primary().head)<0?-1:1);pe(a,re(a,b,d,!0)),c&&c.scroll===!1||!a.cm||ad(a.cm)}function pe(a,b){b.equals(a.sel)||(a.sel=b,a.cm&&(a.cm.curOp.updateInput=a.cm.curOp.selectionChanged=!0,Ga(a.cm)),yb(a,"cursorActivity",a))}function qe(a){pe(a,re(a,a.sel,null,!1),Eg)}function re(a,b,c,d){for(var e,f=0;f<b.ranges.length;f++){var g=b.ranges[f],h=b.ranges.length==a.sel.ranges.length&&a.sel.ranges[f],i=te(a,g.anchor,h&&h.anchor,c,d),j=te(a,g.head,h&&h.head,c,d);(e||i!=g.anchor||j!=g.head)&&(e||(e=b.ranges.slice(0,f)),e[f]=new Hd(i,j))}return e?Id(e,b.primIndex):b}function se(a,b,c,d,e){var f=z(a,b.line);if(f.markedSpans)for(var g=0;g<f.markedSpans.length;++g){var h=f.markedSpans[g],i=h.marker;if((null==h.from||(i.inclusiveLeft?h.from<=b.ch:h.from<b.ch))&&(null==h.to||(i.inclusiveRight?h.to>=b.ch:h.to>b.ch))){if(e&&(Ea(i,"beforeCursorEnter"),i.explicitlyCleared)){if(f.markedSpans){--g;continue}break}if(!i.atomic)continue;if(c){var j=i.find(d<0?1:-1),k=void 0;if((d<0?i.inclusiveRight:i.inclusiveLeft)&&(j=ue(a,j,-d,j&&j.line==b.line?f:null)),j&&j.line==b.line&&(k=I(j,c))&&(d<0?k<0:k>0))return se(a,j,b,d,e)}var l=i.find(d<0?-1:1);return(d<0?i.inclusiveLeft:i.inclusiveRight)&&(l=ue(a,l,d,l.line==b.line?f:null)),l?se(a,l,b,d,e):null}}return b}function te(a,b,c,d,e){var f=d||1,g=se(a,b,c,f,e)||!e&&se(a,b,c,f,!0)||se(a,b,c,-f,e)||!e&&se(a,b,c,-f,!0);return g?g:(a.cantEdit=!0,H(a.first,0))}function ue(a,b,c,d){return c<0&&0==b.ch?b.line>a.first?N(a,H(b.line-1)):null:c>0&&b.ch==(d||z(a,b.line)).text.length?b.line<a.first+a.size-1?H(b.line+1,0):null:new H(b.line,b.ch+c)}function ve(a){a.setSelection(H(a.firstLine(),0),H(a.lastLine()),Eg)}function we(a,b,c){var d={canceled:!1,from:b.from,to:b.to,text:b.text,origin:b.origin,cancel:function(){return d.canceled=!0}};return c&&(d.update=function(b,c,e,f){b&&(d.from=N(a,b)),c&&(d.to=N(a,c)),e&&(d.text=e),void 0!==f&&(d.origin=f)}),Ea(a,"beforeChange",a,d),a.cm&&Ea(a.cm,"beforeChange",a.cm,d),d.canceled?null:{from:d.from,to:d.to,text:d.text,origin:d.origin}}function xe(a,b,c){if(a.cm){if(!a.cm.curOp)return ld(a.cm,xe)(a,b,c);if(a.cm.state.suppressEdits)return}if(!(Ha(a,"beforeChange")||a.cm&&Ha(a.cm,"beforeChange"))||(b=we(a,b,!0))){var d=Kg&&!c&&$(a,b.from,b.to);if(d)for(var e=d.length-1;e>=0;--e)ye(a,{from:d[e].from,to:d[e].to,text:e?[""]:b.text});else ye(a,b)}}function ye(a,b){if(1!=b.text.length||""!=b.text[0]||0!=I(b.from,b.to)){var c=Md(a,b);Zd(a,b,c,a.cm?a.cm.curOp.id:NaN),Be(a,b,c,Y(a,b));var d=[];Td(a,function(a,c){c||m(d,a.history)!=-1||(Ge(a.history,b),d.push(a.history)),Be(a,b,null,Y(a,b))})}}function ze(a,b,c){if(!a.cm||!a.cm.state.suppressEdits||c){for(var d,e=a.history,f=a.sel,g="undo"==b?e.done:e.undone,h="undo"==b?e.undone:e.done,i=0;i<g.length&&(d=g[i],c?!d.ranges||d.equals(a.sel):d.ranges);i++);if(i!=g.length){for(e.lastOrigin=e.lastSelOrigin=null;d=g.pop(),d.ranges;){if(ae(d,h),c&&!d.equals(a.sel))return void ne(a,d,{clearRedo:!1});f=d}var j=[];ae(f,h),h.push({changes:j,generation:e.generation}),e.generation=d.generation||++e.maxGeneration;for(var k=Ha(a,"beforeChange")||a.cm&&Ha(a.cm,"beforeChange"),l=function(c){var e=d.changes[c];if(e.origin=b,k&&!we(a,e,!1))return g.length=0,{};j.push(Wd(a,e));var f=c?Md(a,e):p(g);Be(a,e,f,ee(a,e)),!c&&a.cm&&a.cm.scrollIntoView({from:e.from,to:Kd(e)});var h=[];Td(a,function(a,b){b||m(h,a.history)!=-1||(Ge(a.history,e),h.push(a.history)),Be(a,e,null,ee(a,e))})},n=d.changes.length-1;n>=0;--n){var o=l(n);if(o)return o.v}}}}function Ae(a,b){if(0!=b&&(a.first+=b,a.sel=new Gd(q(a.sel.ranges,function(a){return new Hd(H(a.anchor.line+b,a.anchor.ch),H(a.head.line+b,a.head.ch))}),a.sel.primIndex),a.cm)){od(a.cm,a.first,a.first-b,b);for(var c=a.cm.display,d=c.viewFrom;d<c.viewTo;d++)pd(a.cm,d,"gutter")}}function Be(a,b,c,d){if(a.cm&&!a.cm.curOp)return ld(a.cm,Be)(a,b,c,d);if(b.to.line<a.first)return void Ae(a,b.text.length-1-(b.to.line-b.from.line));if(!(b.from.line>a.lastLine())){if(b.from.line<a.first){var e=b.text.length-1-(a.first-b.from.line);Ae(a,e),b={from:H(a.first,0),to:H(b.to.line+e,b.to.ch),text:[p(b.text)],origin:b.origin}}var f=a.lastLine();b.to.line>f&&(b={from:b.from,to:H(f,z(a,f).text.length),text:[b.text[0]],origin:b.origin}),b.removed=A(a,b.from,b.to),c||(c=Md(a,b)),a.cm?Ce(a.cm,b,d):Sd(a,b,d),oe(a,c,Eg)}}function Ce(a,b,c){var d=a.doc,e=a.display,f=b.from,g=b.to,h=!1,i=f.line;a.options.lineWrapping||(i=D(ia(z(d,f.line))),d.iter(i,g.line+1,function(a){if(a==e.maxLine)return h=!0,!0})),d.sel.contains(b.from,b.to)>-1&&Ga(a),Sd(d,b,c,uc(a)),a.options.lineWrapping||(d.iter(i,f.line+b.text.length,function(a){var b=pa(a);b>e.maxLineLength&&(e.maxLine=a,e.maxLineLength=b,e.maxLineChanged=!0,h=!1)}),h&&(a.curOp.updateMaxLine=!0)),d.frontier=Math.min(d.frontier,f.line),ud(a,400);var j=b.text.length-(g.line-f.line)-1;b.full?od(a):f.line!=g.line||1!=b.text.length||Rd(a.doc,b)?od(a,f.line,g.line+1,j):pd(a,f.line,"text");var k=Ha(a,"changes"),l=Ha(a,"change");if(l||k){var m={from:f,to:g,text:b.text,removed:b.removed,origin:b.origin};l&&yb(a,"change",a,m),k&&(a.curOp.changeObjs||(a.curOp.changeObjs=[])).push(m)}a.display.selForContextMenu=null}function De(a,b,c,d,e){if(d||(d=c),I(d,c)<0){var f=d;d=c,c=f}"string"==typeof b&&(b=a.splitLines(b)),xe(a,{from:c,to:d,text:b,origin:e})}function Ee(a,b,c,d){c<a.line?a.line+=d:b<a.line&&(a.line=b,a.ch=0)}function Fe(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e],g=!0;if(f.ranges){f.copied||(f=a[e]=f.deepCopy(),f.copied=!0);for(var h=0;h<f.ranges.length;h++)Ee(f.ranges[h].anchor,b,c,d),Ee(f.ranges[h].head,b,c,d)}else{for(var i=0;i<f.changes.length;++i){var j=f.changes[i];if(c<j.from.line)j.from=H(j.from.line+d,j.from.ch),j.to=H(j.to.line+d,j.to.ch);else if(b<=j.to.line){g=!1;break}}g||(a.splice(0,e+1),e=0)}}}function Ge(a,b){var c=b.from.line,d=b.to.line,e=b.text.length-(d-c)-1;Fe(a.done,c,d,e),Fe(a.undone,c,d,e)}function He(a,b,c,d){var e=b,f=b;return"number"==typeof b?f=z(a,M(a,b)):e=D(b),null==e?null:(d(f,e)&&a.cm&&pd(a.cm,e,c),f)}function Ie(a){var b=this;this.lines=a,this.parent=null;for(var c=0,d=0;d<a.length;++d)a[d].parent=b,c+=a[d].height;this.height=c}function Je(a){var b=this;this.children=a;for(var c=0,d=0,e=0;e<a.length;++e){var f=a[e];c+=f.chunkSize(),d+=f.height,f.parent=b}this.size=c,this.height=d,this.parent=null}function Ke(a,b,c){var d=this;if(c)for(var e in c)c.hasOwnProperty(e)&&(d[e]=c[e]);this.doc=a,this.node=b}function Le(a,b,c){oa(b)<(a.curOp&&a.curOp.scrollTop||a.doc.scrollTop)&&_c(a,null,c)}function Me(a,b,c,d){var e=new Ke(a,c,d),f=a.cm;return f&&e.noHScroll&&(f.display.alignWidgets=!0),He(a,b,"widget",function(b){var c=b.widgets||(b.widgets=[]);if(null==e.insertAt?c.push(e):c.splice(Math.min(c.length-1,Math.max(0,e.insertAt)),0,e),e.line=b,f&&!ma(a,b)){var d=oa(b)<a.scrollTop;C(b,b.height+Mb(e)),d&&_c(f,null,e.height),f.curOp.forceUpdate=!0}return!0}),e}function Ne(a,b){this.lines=[],this.type=b,this.doc=a,this.id=++hh}function Oe(a,b,c,e,f){if(e&&e.shared)return Qe(a,b,c,e,f);if(a.cm&&!a.cm.curOp)return ld(a.cm,Oe)(a,b,c,e,f);var g=new Ne(a,f),h=I(b,c);if(e&&j(e,g,!1),h>0||0==h&&g.clearWhenEmpty!==!1)return g;if(g.replacedWith&&(g.collapsed=!0,g.widgetNode=d("span",[g.replacedWith],"CodeMirror-widget"),e.handleMouseEvents||g.widgetNode.setAttribute("cm-ignore-events","true"),e.insertLeft&&(g.widgetNode.insertLeft=!0)),g.collapsed){if(ha(a,b.line,b,c,g)||b.line!=c.line&&ha(a,c.line,b,c,g))throw new Error("Inserting collapsed marker partially overlapping an existing one");R()}g.addToHistory&&Zd(a,{from:b,to:c,origin:"markText"},a.sel,NaN);var i,k=b.line,l=a.cm;if(a.iter(k,c.line+1,function(a){l&&g.collapsed&&!l.options.lineWrapping&&ia(a)==l.display.maxLine&&(i=!0),g.collapsed&&k!=b.line&&C(a,0),V(a,new S(g,k==b.line?b.ch:null,k==c.line?c.ch:null)),++k}),g.collapsed&&a.iter(b.line,c.line+1,function(b){ma(a,b)&&C(b,0)}),g.clearOnEnter&&Pg(g,"beforeCursorEnter",function(){return g.clear()}),g.readOnly&&(Q(),(a.history.done.length||a.history.undone.length)&&a.clearHistory()),g.collapsed&&(g.id=++hh,g.atomic=!0),l){if(i&&(l.curOp.updateMaxLine=!0),g.collapsed)od(l,b.line,c.line+1);else if(g.className||g.title||g.startStyle||g.endStyle||g.css)for(var m=b.line;m<=c.line;m++)pd(l,m,"text");g.atomic&&qe(l.doc),yb(l,"markerAdded",l,g)}return g}function Pe(a,b){var c=this;this.markers=a,this.primary=b;for(var d=0;d<a.length;++d)a[d].parent=c}function Qe(a,b,c,d,e){d=j(d),d.shared=!1;var f=[Oe(a,b,c,d,e)],g=f[0],h=d.widgetNode;return Td(a,function(a){h&&(d.widgetNode=h.cloneNode(!0)),f.push(Oe(a,N(a,b),N(a,c),d,e));for(var i=0;i<a.linked.length;++i)if(a.linked[i].isParent)return;g=p(f)}),new Pe(f,g)}function Re(a){return a.findMarks(H(a.first,0),a.clipPos(H(a.lastLine())),function(a){return a.parent})}function Se(a,b){for(var c=0;c<b.length;c++){var d=b[c],e=d.find(),f=a.clipPos(e.from),g=a.clipPos(e.to);if(I(f,g)){var h=Oe(a,f,g,d.primary,d.primary.type);d.markers.push(h),h.parent=d}}}function Te(a){for(var b=function(b){var c=a[b],d=[c.primary.doc];Td(c.primary.doc,function(a){return d.push(a)});for(var e=0;e<c.markers.length;e++){var f=c.markers[e];m(d,f.doc)==-1&&(f.parent=null,c.markers.splice(e--,1))}},c=0;c<a.length;c++)b(c)}function Ue(a){var b=this;if(Xe(b),!Fa(b,a)&&!Nb(b.display,a)){Ja(a),gg&&(kh=+new Date);var c=wc(b,a,!0),d=a.dataTransfer.files;if(c&&!b.isReadOnly())if(d&&d.length&&window.FileReader&&window.File)for(var e=d.length,f=Array(e),g=0,h=function(a,d){if(!b.options.allowDropFileTypes||m(b.options.allowDropFileTypes,a.type)!=-1){var h=new FileReader;h.onload=ld(b,function(){var a=h.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(a)&&(a=""),f[d]=a,++g==e){c=N(b.doc,c);var i={from:c,to:c,text:b.doc.splitLines(f.join(b.doc.lineSeparator())),origin:"paste"};xe(b.doc,i),me(b.doc,Jd(c,Kd(i)))}}),h.readAsText(a)}},i=0;i<e;++i)h(d[i],i);else{if(b.state.draggingText&&b.doc.sel.contains(c)>-1)return b.state.draggingText(a),void setTimeout(function(){return b.display.input.focus()},20);try{var j=a.dataTransfer.getData("Text");if(j){var k;if(b.state.draggingText&&!b.state.draggingText.copy&&(k=b.listSelections()),oe(b.doc,Jd(c,c)),k)for(var l=0;l<k.length;++l)De(b.doc,"",k[l].anchor,k[l].head,"drag");b.replaceSelection(j,"around","paste"),b.display.input.focus()}}catch(a){}}}}function Ve(a,b){if(gg&&(!a.state.draggingText||+new Date-kh<100))return void Ma(b);if(!Fa(a,b)&&!Nb(a.display,b)&&(b.dataTransfer.setData("Text",a.getSelection()),b.dataTransfer.effectAllowed="copyMove",b.dataTransfer.setDragImage&&!mg)){var c=d("img",null,null,"position: fixed; left: 0; top: 0;");c.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",lg&&(c.width=c.height=1,a.display.wrapper.appendChild(c),c._top=c.offsetTop),b.dataTransfer.setDragImage(c,0,0),lg&&c.parentNode.removeChild(c)}}function We(a,b){var e=wc(a,b);if(e){var f=document.createDocumentFragment();Ac(a,e,f),a.display.dragCursor||(a.display.dragCursor=d("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),a.display.lineSpace.insertBefore(a.display.dragCursor,a.display.cursorDiv)),c(a.display.dragCursor,f)}}function Xe(a){a.display.dragCursor&&(a.display.lineSpace.removeChild(a.display.dragCursor),a.display.dragCursor=null)}function Ye(a){if(document.body.getElementsByClassName)for(var b=document.body.getElementsByClassName("CodeMirror"),c=0;c<b.length;c++){var d=b[c].CodeMirror;d&&a(d)}}function Ze(){lh||($e(),lh=!0)}function $e(){var a;Pg(window,"resize",function(){null==a&&(a=setTimeout(function(){a=null,Ye(_e)},100))}),Pg(window,"blur",function(){return Ye(Gc)})}function _e(a){var b=a.display;b.lastWrapHeight==b.wrapper.clientHeight&&b.lastWrapWidth==b.wrapper.clientWidth||(b.cachedCharWidth=b.cachedTextHeight=b.cachedPaddingH=null,b.scrollbarsClipped=!1,a.setSize())}function af(a){var b=a.split(/-(?!$)/);a=b[b.length-1];for(var c,d,e,f,g=0;g<b.length-1;g++){var h=b[g];if(/^(cmd|meta|m)$/i.test(h))f=!0;else if(/^a(lt)?$/i.test(h))c=!0;else if(/^(c|ctrl|control)$/i.test(h))d=!0;else{if(!/^s(hift)?$/i.test(h))throw new Error("Unrecognized modifier name: "+h);e=!0}}return c&&(a="Alt-"+a),d&&(a="Ctrl-"+a),f&&(a="Cmd-"+a),e&&(a="Shift-"+a),a}function bf(a){var b={};for(var c in a)if(a.hasOwnProperty(c)){var d=a[c];if(/^(name|fallthrough|(de|at)tach)$/.test(c))continue;if("..."==d){delete a[c];continue}for(var e=q(c.split(" "),af),f=0;f<e.length;f++){var g=void 0,h=void 0;f==e.length-1?(h=e.join(" "),g=d):(h=e.slice(0,f+1).join(" "),g="...");var i=b[h];if(i){if(i!=g)throw new Error("Inconsistent bindings for "+h)}else b[h]=g}delete a[c]}for(var j in b)a[j]=b[j];return a}function cf(a,b,c,d){b=ff(b);var e=b.call?b.call(a,d):b[a];if(e===!1)return"nothing";if("..."===e)return"multi";if(null!=e&&c(e))return"handled";if(b.fallthrough){if("[object Array]"!=Object.prototype.toString.call(b.fallthrough))return cf(a,b.fallthrough,c,d);for(var f=0;f<b.fallthrough.length;f++){var g=cf(a,b.fallthrough[f],c,d);if(g)return g}}}function df(a){var b="string"==typeof a?a:mh[a.keyCode];return"Ctrl"==b||"Alt"==b||"Shift"==b||"Mod"==b}function ef(a,b){if(lg&&34==a.keyCode&&a["char"])return!1;var c=mh[a.keyCode],d=c;return null!=d&&!a.altGraphKey&&(a.altKey&&"Alt"!=c&&(d="Alt-"+d),(wg?a.metaKey:a.ctrlKey)&&"Ctrl"!=c&&(d="Ctrl-"+d),(wg?a.ctrlKey:a.metaKey)&&"Cmd"!=c&&(d="Cmd-"+d),!b&&a.shiftKey&&"Shift"!=c&&(d="Shift-"+d),d)}function ff(a){return"string"==typeof a?qh[a]:a}function gf(a,b){for(var c=a.doc.sel.ranges,d=[],e=0;e<c.length;e++){for(var f=b(c[e]);d.length&&I(f.from,p(d).to)<=0;){var g=d.pop();if(I(g.from,f.from)<0){f.from=g.from;break}}d.push(f)}kd(a,function(){for(var b=d.length-1;b>=0;b--)De(a.doc,"",d[b].from,d[b].to,"+delete");ad(a)})}function hf(a,b){var c=z(a.doc,b),d=ia(c);d!=c&&(b=D(d));var e=Ba(d),f=e?e[0].level%2?va(d):ua(d):0;return H(b,f)}function jf(a,b){for(var c,d=z(a.doc,b);c=ga(d);)d=c.find(1,!0).line,b=null;var e=Ba(d),f=e?e[0].level%2?ua(d):va(d):d.text.length;return H(null==b?D(d):b,f)}function kf(a,b){var c=hf(a,b.line),d=z(a.doc,c.line),e=Ba(d);if(!e||0==e[0].level){var f=Math.max(0,d.text.search(/\S/)),g=b.line==c.line&&b.ch<=f&&b.ch;return H(c.line,g?0:f)}return c}function lf(a,b,c){if("string"==typeof b&&(b=th[b],!b))return!1;a.display.input.ensurePolled();var d=a.display.shift,e=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),c&&(a.display.shift=!1),e=b(a)!=Dg}finally{a.display.shift=d,a.state.suppressEdits=!1}return e}function mf(a,b,c){for(var d=0;d<a.state.keyMaps.length;d++){var e=cf(b,a.state.keyMaps[d],c,a);if(e)return e}return a.options.extraKeys&&cf(b,a.options.extraKeys,c,a)||cf(b,a.options.keyMap,c,a)}function nf(a,b,c,d){var e=a.state.keySeq;if(e){if(df(b))return"handled";uh.set(50,function(){a.state.keySeq==e&&(a.state.keySeq=null,a.display.input.reset())}),b=e+" "+b}var f=mf(a,b,d);return"multi"==f&&(a.state.keySeq=b),"handled"==f&&yb(a,"keyHandled",a,b,c),"handled"!=f&&"multi"!=f||(Ja(c),Cc(a)),e&&!f&&/\'$/.test(b)?(Ja(c),!0):!!f}function of(a,b){var c=ef(b,!0);return!!c&&(b.shiftKey&&!a.state.keySeq?nf(a,"Shift-"+c,b,function(b){return lf(a,b,!0)})||nf(a,c,b,function(b){if("string"==typeof b?/^go[A-Z]/.test(b):b.motion)return lf(a,b)}):nf(a,c,b,function(b){return lf(a,b)}))}function pf(a,b,c){return nf(a,"'"+c+"'",b,function(b){return lf(a,b,!0)})}function qf(a){var b=this;if(b.curOp.focus=f(),!Fa(b,a)){gg&&hg<11&&27==a.keyCode&&(a.returnValue=!1);var c=a.keyCode;b.display.shift=16==c||a.shiftKey;var d=of(b,a);lg&&(vh=d?c:null,!d&&88==c&&!Tg&&(rg?a.metaKey:a.ctrlKey)&&b.replaceSelection("",null,"cut")),18!=c||/\bCodeMirror-crosshair\b/.test(b.display.lineDiv.className)||rf(b)}}function rf(a){function b(a){18!=a.keyCode&&a.altKey||(yg(c,"CodeMirror-crosshair"),Da(document,"keyup",b),Da(document,"mouseover",b))}var c=a.display.lineDiv;g(c,"CodeMirror-crosshair"),Pg(document,"keyup",b),Pg(document,"mouseover",b)}function sf(a){16==a.keyCode&&(this.doc.sel.shift=!1),Fa(this,a)}function tf(a){var b=this;if(!(Nb(b.display,a)||Fa(b,a)||a.ctrlKey&&!a.altKey||rg&&a.metaKey)){var c=a.keyCode,d=a.charCode;if(lg&&c==vh)return vh=null,void Ja(a);if(!lg||a.which&&!(a.which<10)||!of(b,a)){var e=String.fromCharCode(null==d?c:d);"\b"!=e&&(pf(b,a,e)||b.display.input.onKeyPress(a))}}}function uf(a){var b=this,c=b.display;if(!(Fa(b,a)||c.activeTouch&&c.input.supportsTouch())){if(c.input.ensurePolled(),c.shift=a.shiftKey,Nb(c,a))return void(ig||(c.scroller.draggable=!1,setTimeout(function(){return c.scroller.draggable=!0},100)));if(!zf(b,a)){var d=wc(b,a);switch(window.focus(),Oa(a)){case 1:b.state.selectingText?b.state.selectingText(a):d?vf(b,a,d):Na(a)==c.scroller&&Ja(a);break;case 2:ig&&(b.state.lastMiddleDown=+new Date),d&&he(b.doc,d),setTimeout(function(){return c.input.focus()},20),Ja(a);break;case 3:xg?Af(b,a):Ec(b)}}}}function vf(a,b,c){gg?setTimeout(i(Dc,a),0):a.curOp.focus=f();var d,e=+new Date;sh&&sh.time>e-400&&0==I(sh.pos,c)?d="triple":rh&&rh.time>e-400&&0==I(rh.pos,c)?(d="double",sh={time:e,pos:c}):(d="single",rh={time:e,pos:c});var g,h=a.doc.sel,j=rg?b.metaKey:b.ctrlKey;a.options.dragDrop&&Qg&&!a.isReadOnly()&&"single"==d&&(g=h.contains(c))>-1&&(I((g=h.ranges[g]).from(),c)<0||c.xRel>0)&&(I(g.to(),c)>0||c.xRel<0)?wf(a,b,c,j):xf(a,b,c,d,j)}function wf(a,b,c,d){var e=a.display,f=+new Date,g=ld(a,function(h){ig&&(e.scroller.draggable=!1),a.state.draggingText=!1,Da(document,"mouseup",g),Da(e.scroller,"drop",g),Math.abs(b.clientX-h.clientX)+Math.abs(b.clientY-h.clientY)<10&&(Ja(h),!d&&+new Date-200<f&&he(a.doc,c),ig||gg&&9==hg?setTimeout(function(){document.body.focus(),e.input.focus()},20):e.input.focus())});ig&&(e.scroller.draggable=!0),a.state.draggingText=g,g.copy=rg?b.altKey:b.ctrlKey,e.scroller.dragDrop&&e.scroller.dragDrop(),Pg(document,"mouseup",g),Pg(e.scroller,"drop",g)}function xf(a,b,c,d,e){function g(b){if(0!=I(t,b))if(t=b,"rect"==d){for(var e=[],f=a.options.tabSize,g=k(z(l,c.line).text,c.ch,f),h=k(z(l,b.line).text,b.ch,f),i=Math.min(g,h),j=Math.max(g,h),q=Math.min(c.line,b.line),r=Math.min(a.lastLine(),Math.max(c.line,b.line));q<=r;q++){var s=z(l,q).text,u=n(s,i,f);i==j?e.push(new Hd(H(q,u),H(q,u))):s.length>u&&e.push(new Hd(H(q,u),H(q,n(s,j,f))))}e.length||e.push(new Hd(c,c)),ne(l,Id(p.ranges.slice(0,o).concat(e),o),{origin:"*mouse",scroll:!1}),a.scrollIntoView(b)}else{var v=m,w=v.anchor,x=b;if("single"!=d){var y;y="double"==d?a.findWordAt(b):new Hd(H(b.line,0),N(l,H(b.line+1,0))),I(y.anchor,w)>0?(x=y.head,w=L(v.from(),y.anchor)):(x=y.anchor,w=K(v.to(),y.head))}var A=p.ranges.slice(0);A[o]=new Hd(N(l,w),x),ne(l,Id(A,o),Fg)}}function h(b){var c=++v,e=wc(a,b,!0,"rect"==d);if(e)if(0!=I(e,t)){a.curOp.focus=f(),g(e);var i=Lc(j,l);(e.line>=i.to||e.line<i.from)&&setTimeout(ld(a,function(){v==c&&h(b)}),150)}else{var k=b.clientY<u.top?-20:b.clientY>u.bottom?20:0;k&&setTimeout(ld(a,function(){v==c&&(j.scroller.scrollTop+=k,h(b))}),50)}}function i(b){a.state.selectingText=!1,v=1/0,Ja(b),j.input.focus(),Da(document,"mousemove",w),Da(document,"mouseup",x),l.history.lastSelOrigin=null}var j=a.display,l=a.doc;Ja(b);var m,o,p=l.sel,q=p.ranges;if(e&&!b.shiftKey?(o=l.sel.contains(c),m=o>-1?q[o]:new Hd(c,c)):(m=l.sel.primary(),o=l.sel.primIndex),sg?b.shiftKey&&b.metaKey:b.altKey)d="rect",e||(m=new Hd(c,c)),c=wc(a,b,!0,!0),o=-1;else if("double"==d){var r=a.findWordAt(c);m=a.display.shift||l.extend?ge(l,m,r.anchor,r.head):r}else if("triple"==d){var s=new Hd(H(c.line,0),N(l,H(c.line+1,0)));m=a.display.shift||l.extend?ge(l,m,s.anchor,s.head):s}else m=ge(l,m,c);e?o==-1?(o=q.length,ne(l,Id(q.concat([m]),o),{scroll:!1,origin:"*mouse"})):q.length>1&&q[o].empty()&&"single"==d&&!b.shiftKey?(ne(l,Id(q.slice(0,o).concat(q.slice(o+1)),0),{scroll:!1,origin:"*mouse"}),p=l.sel):je(l,o,m,Fg):(o=0,ne(l,new Gd([m],0),Fg),p=l.sel);var t=c,u=j.wrapper.getBoundingClientRect(),v=0,w=ld(a,function(a){Oa(a)?h(a):i(a)}),x=ld(a,i);a.state.selectingText=x,Pg(document,"mousemove",w),Pg(document,"mouseup",x)}function yf(a,b,c,d){var e,f;try{e=b.clientX,f=b.clientY}catch(b){return!1}if(e>=Math.floor(a.display.gutters.getBoundingClientRect().right))return!1;d&&Ja(b);var g=a.display,h=g.lineDiv.getBoundingClientRect();if(f>h.bottom||!Ha(a,c))return La(b);f-=h.top-g.viewOffset;for(var i=0;i<a.options.gutters.length;++i){var j=g.gutters.childNodes[i];if(j&&j.getBoundingClientRect().right>=e){var k=E(a.doc,f),l=a.options.gutters[i];return Ea(a,c,a,k,l,b),La(b)}}}function zf(a,b){return yf(a,b,"gutterClick",!0)}function Af(a,b){Nb(a.display,b)||Bf(a,b)||Fa(a,b,"contextmenu")||a.display.input.onContextMenu(b)}function Bf(a,b){return!!Ha(a,"gutterContextMenu")&&yf(a,b,"gutterContextMenu",!1)}function Cf(a){a.display.wrapper.className=a.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+a.options.theme.replace(/(^|\s)\s*/g," cm-s-"),fc(a)}function Df(a){function b(b,d,e,f){a.defaults[b]=d,e&&(c[b]=f?function(a,b,c){c!=wh&&e(a,b,c)}:e)}var c=a.optionHandlers;a.defineOption=b,a.Init=wh,b("value","",function(a,b){return a.setValue(b)},!0),b("mode",null,function(a,b){a.doc.modeOption=b,Pd(a)},!0),b("indentUnit",2,Pd,!0),b("indentWithTabs",!1),b("smartIndent",!0),b("tabSize",4,function(a){Qd(a),fc(a),od(a)},!0),b("lineSeparator",null,function(a,b){if(a.doc.lineSep=b,b){var c=[],d=a.doc.first;a.doc.iter(function(a){for(var e=0;;){var f=a.text.indexOf(b,e);if(f==-1)break;e=f+b.length,c.push(H(d,f))}d++});for(var e=c.length-1;e>=0;e--)De(a.doc,b,c[e],H(c[e].line,c[e].ch+b.length))}}),b("specialChars",/[\u0000-\u001f\u007f\u00ad\u200b-\u200f\u2028\u2029\ufeff]/g,function(a,b,c){a.state.specialChars=new RegExp(b.source+(b.test("\t")?"":"|\t"),"g"),c!=wh&&a.refresh()}),b("specialCharPlaceholder",nb,function(a){return a.refresh()},!0),b("electricChars",!0),b("inputStyle",qg?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),b("spellcheck",!1,function(a,b){return a.getInputField().spellcheck=b},!0),b("rtlMoveVisually",!tg),b("wholeLineUpdateBefore",!0),b("theme","default",function(a){Cf(a),Ef(a)},!0),b("keyMap","default",function(a,b,c){var d=ff(b),e=c!=wh&&ff(c);e&&e.detach&&e.detach(a,d),d.attach&&d.attach(a,e||null)}),b("extraKeys",null),b("lineWrapping",!1,Gf,!0),b("gutters",[],function(a){Fd(a.options),Ef(a)},!0),b("fixedGutter",!0,function(a,b){a.display.gutters.style.left=b?tc(a.display)+"px":"0",a.refresh()},!0),b("coverGutterNextToScrollbar",!1,function(a){return Uc(a)},!0),b("scrollbarStyle","native",function(a){Wc(a),Uc(a),a.display.scrollbars.setScrollTop(a.doc.scrollTop),a.display.scrollbars.setScrollLeft(a.doc.scrollLeft)},!0),b("lineNumbers",!1,function(a){Fd(a.options),Ef(a)},!0),b("firstLineNumber",1,Ef,!0),b("lineNumberFormatter",function(a){return a},Ef,!0),b("showCursorWhenSelecting",!1,yc,!0),b("resetSelectionOnContextMenu",!0),b("lineWiseCopyCut",!0),b("readOnly",!1,function(a,b){"nocursor"==b?(Gc(a),a.display.input.blur(),a.display.disabled=!0):a.display.disabled=!1,a.display.input.readOnlyChanged(b)}),b("disableInput",!1,function(a,b){b||a.display.input.reset()},!0),b("dragDrop",!0,Ff),b("allowDropFileTypes",null),b("cursorBlinkRate",530),b("cursorScrollMargin",0),b("cursorHeight",1,yc,!0),b("singleCursorHeightPerLine",!0,yc,!0),b("workTime",100),b("workDelay",100),b("flattenSpans",!0,Qd,!0),b("addModeClass",!1,Qd,!0),b("pollInterval",100),b("undoDepth",200,function(a,b){return a.doc.history.undoDepth=b}),b("historyEventDelay",1250),b("viewportMargin",10,function(a){return a.refresh()},!0),b("maxHighlightLength",1e4,Qd,!0),b("moveInputWithCursor",!0,function(a,b){b||a.display.input.resetPosition()}),b("tabindex",null,function(a,b){return a.display.input.getField().tabIndex=b||""}),b("autofocus",null)}function Ef(a){Ed(a),od(a),setTimeout(function(){return Hc(a)},20)}function Ff(a,b,c){var d=c&&c!=wh;if(!b!=!d){var e=a.display.dragFunctions,f=b?Pg:Da;f(a.display.scroller,"dragstart",e.start),f(a.display.scroller,"dragenter",e.enter),f(a.display.scroller,"dragover",e.over),f(a.display.scroller,"dragleave",e.leave),f(a.display.scroller,"drop",e.drop)}}function Gf(a){a.options.lineWrapping?(g(a.display.wrapper,"CodeMirror-wrap"),a.display.sizer.style.minWidth="",a.display.sizerWidth=null):(yg(a.display.wrapper,"CodeMirror-wrap"),qa(a)),vc(a),od(a),fc(a),setTimeout(function(){return Uc(a)},100)}function Hf(a,b){var c=this;if(!(this instanceof Hf))return new Hf(a,b);this.options=b=b?j(b):{},j(xh,b,!1),Fd(b);var d=b.value;"string"==typeof d&&(d=new jh(d,b.mode,null,b.lineSeparator)),this.doc=d;var e=new Hf.inputStyles[b.inputStyle](this),f=this.display=new y(a,d,e);f.wrapper.CodeMirror=this,Ed(this),Cf(this),b.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),b.autofocus&&!qg&&f.input.focus(),Wc(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:!1,cutIncoming:!1,selectingText:!1,draggingText:!1,highlight:new l,keySeq:null,specialChars:null},gg&&hg<11&&setTimeout(function(){return c.display.input.reset(!0)},20),If(this),Ze(),cd(this),this.curOp.forceUpdate=!0,Ud(this,d),b.autofocus&&!qg||this.hasFocus()?setTimeout(i(Fc,this),20):Gc(this);for(var g in yh)yh.hasOwnProperty(g)&&yh[g](c,b[g],wh);Ic(this),b.finishInit&&b.finishInit(this);for(var h=0;h<zh.length;++h)zh[h](c);dd(this),ig&&b.lineWrapping&&"optimizelegibility"==getComputedStyle(f.lineDiv).textRendering&&(f.lineDiv.style.textRendering="auto")}function If(a){function b(){e.activeTouch&&(f=setTimeout(function(){return e.activeTouch=null},1e3),g=e.activeTouch,g.end=+new Date)}function c(a){if(1!=a.touches.length)return!1;var b=a.touches[0];return b.radiusX<=1&&b.radiusY<=1}function d(a,b){if(null==b.left)return!0;var c=b.left-a.left,d=b.top-a.top;return c*c+d*d>400}var e=a.display;Pg(e.scroller,"mousedown",ld(a,uf)),gg&&hg<11?Pg(e.scroller,"dblclick",ld(a,function(b){if(!Fa(a,b)){var c=wc(a,b);if(c&&!zf(a,b)&&!Nb(a.display,b)){Ja(b);var d=a.findWordAt(c);he(a.doc,d.anchor,d.head)}}})):Pg(e.scroller,"dblclick",function(b){return Fa(a,b)||Ja(b)}),xg||Pg(e.scroller,"contextmenu",function(b){return Af(a,b)});var f,g={end:0};Pg(e.scroller,"touchstart",function(b){if(!Fa(a,b)&&!c(b)){e.input.ensurePolled(),clearTimeout(f);var d=+new Date;e.activeTouch={start:d,moved:!1,prev:d-g.end<=300?g:null},1==b.touches.length&&(e.activeTouch.left=b.touches[0].pageX,e.activeTouch.top=b.touches[0].pageY)}}),Pg(e.scroller,"touchmove",function(){e.activeTouch&&(e.activeTouch.moved=!0)}),Pg(e.scroller,"touchend",function(c){var f=e.activeTouch;if(f&&!Nb(e,c)&&null!=f.left&&!f.moved&&new Date-f.start<300){var g,h=a.coordsChar(e.activeTouch,"page");g=!f.prev||d(f,f.prev)?new Hd(h,h):!f.prev.prev||d(f,f.prev.prev)?a.findWordAt(h):new Hd(H(h.line,0),N(a.doc,H(h.line+1,0))),a.setSelection(g.anchor,g.head),a.focus(),Ja(c)}b()}),Pg(e.scroller,"touchcancel",b),Pg(e.scroller,"scroll",function(){e.scroller.clientHeight&&(Mc(a,e.scroller.scrollTop),Nc(a,e.scroller.scrollLeft,!0),Ea(a,"scroll",a))}),Pg(e.scroller,"mousewheel",function(b){return Qc(a,b)}),Pg(e.scroller,"DOMMouseScroll",function(b){return Qc(a,b)}),Pg(e.wrapper,"scroll",function(){return e.wrapper.scrollTop=e.wrapper.scrollLeft=0}),e.dragFunctions={enter:function(b){Fa(a,b)||Ma(b)},over:function(b){Fa(a,b)||(We(a,b),Ma(b))},start:function(b){return Ve(a,b)},drop:ld(a,Ue),leave:function(b){Fa(a,b)||Xe(a)}};var h=e.input.getField();Pg(h,"keyup",function(b){return sf.call(a,b)}),Pg(h,"keydown",ld(a,qf)),Pg(h,"keypress",ld(a,tf)),Pg(h,"focus",function(b){return Fc(a,b)}),Pg(h,"blur",function(b){return Gc(a,b)})}function Jf(a,b,c,d){var e,f=a.doc;null==c&&(c="add"),"smart"==c&&(f.mode.indent?e=ab(a,b):c="prev");var g=a.options.tabSize,h=z(f,b),i=k(h.text,null,g);h.stateAfter&&(h.stateAfter=null);var j,l=h.text.match(/^\s*/)[0];if(d||/\S/.test(h.text)){if("smart"==c&&(j=f.mode.indent(e,h.text.slice(l.length),h.text),j==Dg||j>150)){if(!d)return;c="prev"}}else j=0,c="not";"prev"==c?j=b>f.first?k(z(f,b-1).text,null,g):0:"add"==c?j=i+a.options.indentUnit:"subtract"==c?j=i-a.options.indentUnit:"number"==typeof c&&(j=i+c),j=Math.max(0,j);var m="",n=0;if(a.options.indentWithTabs)for(var p=Math.floor(j/g);p;--p)n+=g,m+="\t";if(n<j&&(m+=o(j-n)),m!=l)return De(f,m,H(b,0),H(b,l.length),"+input"),h.stateAfter=null,!0;for(var q=0;q<f.sel.ranges.length;q++){var r=f.sel.ranges[q];if(r.head.line==b&&r.head.ch<l.length){
4
- var s=H(b,l.length);je(f,q,new Hd(s,s));break}}}function Kf(a){Ah=a}function Lf(a,b,c,d,e){var f=a.doc;a.display.shift=!1,d||(d=f.sel);var g=a.state.pasteIncoming||"paste"==e,h=Rg(b),i=null;if(g&&d.ranges.length>1)if(Ah&&Ah.text.join("\n")==b){if(d.ranges.length%Ah.text.length==0){i=[];for(var j=0;j<Ah.text.length;j++)i.push(f.splitLines(Ah.text[j]))}}else h.length==d.ranges.length&&(i=q(h,function(a){return[a]}));for(var k,l=d.ranges.length-1;l>=0;l--){var m=d.ranges[l],n=m.from(),o=m.to();m.empty()&&(c&&c>0?n=H(n.line,n.ch-c):a.state.overwrite&&!g?o=H(o.line,Math.min(z(f,o.line).text.length,o.ch+p(h).length)):Ah&&Ah.lineWise&&Ah.text.join("\n")==b&&(n=o=H(n.line,0))),k=a.curOp.updateInput;var r={from:n,to:o,text:i?i[l%i.length]:h,origin:e||(g?"paste":a.state.cutIncoming?"cut":"+input")};xe(a.doc,r),yb(a,"inputRead",a,r)}b&&!g&&Nf(a,b),ad(a),a.curOp.updateInput=k,a.curOp.typing=!0,a.state.pasteIncoming=a.state.cutIncoming=!1}function Mf(a,b){var c=a.clipboardData&&a.clipboardData.getData("Text");if(c)return a.preventDefault(),b.isReadOnly()||b.options.disableInput||kd(b,function(){return Lf(b,c,0,null,"paste")}),!0}function Nf(a,b){if(a.options.electricChars&&a.options.smartIndent)for(var c=a.doc.sel,d=c.ranges.length-1;d>=0;d--){var e=c.ranges[d];if(!(e.head.ch>100||d&&c.ranges[d-1].head.line==e.head.line)){var f=a.getModeAt(e.head),g=!1;if(f.electricChars){for(var h=0;h<f.electricChars.length;h++)if(b.indexOf(f.electricChars.charAt(h))>-1){g=Jf(a,e.head.line,"smart");break}}else f.electricInput&&f.electricInput.test(z(a.doc,e.head.line).text.slice(0,e.head.ch))&&(g=Jf(a,e.head.line,"smart"));g&&yb(a,"electricInput",a,e.head.line)}}}function Of(a){for(var b=[],c=[],d=0;d<a.doc.sel.ranges.length;d++){var e=a.doc.sel.ranges[d].head.line,f={anchor:H(e,0),head:H(e+1,0)};c.push(f),b.push(a.getRange(f.anchor,f.head))}return{text:b,ranges:c}}function Pf(a,b){a.setAttribute("autocorrect","off"),a.setAttribute("autocapitalize","off"),a.setAttribute("spellcheck",!!b)}function Qf(){var a=d("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),b=d("div",[a],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return ig?a.style.width="1000px":a.setAttribute("wrap","off"),pg&&(a.style.border="1px solid black"),Pf(a),b}function Rf(a){var b=a.optionHandlers,c=a.helpers={};a.prototype={constructor:a,focus:function(){window.focus(),this.display.input.focus()},setOption:function(a,c){var d=this.options,e=d[a];d[a]==c&&"mode"!=a||(d[a]=c,b.hasOwnProperty(a)&&ld(this,b[a])(this,c,e))},getOption:function(a){return this.options[a]},getDoc:function(){return this.doc},addKeyMap:function(a,b){this.state.keyMaps[b?"push":"unshift"](ff(a))},removeKeyMap:function(a){for(var b=this.state.keyMaps,c=0;c<b.length;++c)if(b[c]==a||b[c].name==a)return b.splice(c,1),!0},addOverlay:md(function(b,c){var d=b.token?b:a.getMode(this.options,b);if(d.startState)throw new Error("Overlays may not be stateful.");r(this.state.overlays,{mode:d,modeSpec:b,opaque:c&&c.opaque,priority:c&&c.priority||0},function(a){return a.priority}),this.state.modeGen++,od(this)}),removeOverlay:md(function(a){for(var b=this,c=this.state.overlays,d=0;d<c.length;++d){var e=c[d].modeSpec;if(e==a||"string"==typeof a&&e.name==a)return c.splice(d,1),b.state.modeGen++,void od(b)}}),indentLine:md(function(a,b,c){"string"!=typeof b&&"number"!=typeof b&&(b=null==b?this.options.smartIndent?"smart":"prev":b?"add":"subtract"),F(this.doc,a)&&Jf(this,a,b,c)}),indentSelection:md(function(a){for(var b=this,c=this.doc.sel.ranges,d=-1,e=0;e<c.length;e++){var f=c[e];if(f.empty())f.head.line>d&&(Jf(b,f.head.line,a,!0),d=f.head.line,e==b.doc.sel.primIndex&&ad(b));else{var g=f.from(),h=f.to(),i=Math.max(d,g.line);d=Math.min(b.lastLine(),h.line-(h.ch?0:1))+1;for(var j=i;j<d;++j)Jf(b,j,a);var k=b.doc.sel.ranges;0==g.ch&&c.length==k.length&&k[e].from().ch>0&&je(b.doc,e,new Hd(g,k[e].to()),Eg)}}}),getTokenAt:function(a,b){return eb(this,a,b)},getLineTokens:function(a,b){return eb(this,H(a),b,!0)},getTokenTypeAt:function(a){a=N(this.doc,a);var b,c=_a(this,z(this.doc,a.line)),d=0,e=(c.length-1)/2,f=a.ch;if(0==f)b=c[2];else for(;;){var g=d+e>>1;if((g?c[2*g-1]:0)>=f)e=g;else{if(!(c[2*g+1]<f)){b=c[2*g+2];break}d=g+1}}var h=b?b.indexOf("overlay "):-1;return h<0?b:0==h?null:b.slice(0,h-1)},getModeAt:function(b){var c=this.doc.mode;return c.innerMode?a.innerMode(c,this.getTokenAt(b).state).mode:c},getHelper:function(a,b){return this.getHelpers(a,b)[0]},getHelpers:function(a,b){var d=this,e=[];if(!c.hasOwnProperty(b))return e;var f=c[b],g=this.getModeAt(a);if("string"==typeof g[b])f[g[b]]&&e.push(f[g[b]]);else if(g[b])for(var h=0;h<g[b].length;h++){var i=f[g[b][h]];i&&e.push(i)}else g.helperType&&f[g.helperType]?e.push(f[g.helperType]):f[g.name]&&e.push(f[g.name]);for(var j=0;j<f._global.length;j++){var k=f._global[j];k.pred(g,d)&&m(e,k.val)==-1&&e.push(k.val)}return e},getStateAfter:function(a,b){var c=this.doc;return a=M(c,null==a?c.first+c.size-1:a),ab(this,a+1,b)},cursorCoords:function(a,b){var c,d=this.doc.sel.primary();return c=null==a?d.head:"object"==typeof a?N(this.doc,a):a?d.from():d.to(),lc(this,c,b||"page")},charCoords:function(a,b){return kc(this,N(this.doc,a),b||"page")},coordsChar:function(a,b){return a=jc(this,a,b||"page"),oc(this,a.left,a.top)},lineAtHeight:function(a,b){return a=jc(this,{top:a,left:0},b||"page").top,E(this.doc,a+this.display.viewOffset)},heightAtLine:function(a,b,c){var d,e=!1;if("number"==typeof a){var f=this.doc.first+this.doc.size-1;a<this.doc.first?a=this.doc.first:a>f&&(a=f,e=!0),d=z(this.doc,a)}else d=a;return ic(this,d,{top:0,left:0},b||"page",c).top+(e?this.doc.height-oa(d):0)},defaultTextHeight:function(){return qc(this.display)},defaultCharWidth:function(){return rc(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(a,b,c,d,e){var f=this.display;a=lc(this,N(this.doc,a));var g=a.bottom,h=a.left;if(b.style.position="absolute",b.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(b),f.sizer.appendChild(b),"over"==d)g=a.top;else if("above"==d||"near"==d){var i=Math.max(f.wrapper.clientHeight,this.doc.height),j=Math.max(f.sizer.clientWidth,f.lineSpace.clientWidth);("above"==d||a.bottom+b.offsetHeight>i)&&a.top>b.offsetHeight?g=a.top-b.offsetHeight:a.bottom+b.offsetHeight<=i&&(g=a.bottom),h+b.offsetWidth>j&&(h=j-b.offsetWidth)}b.style.top=g+"px",b.style.left=b.style.right="","right"==e?(h=f.sizer.clientWidth-b.offsetWidth,b.style.right="0px"):("left"==e?h=0:"middle"==e&&(h=(f.sizer.clientWidth-b.offsetWidth)/2),b.style.left=h+"px"),c&&Zc(this,h,g,h+b.offsetWidth,g+b.offsetHeight)},triggerOnKeyDown:md(qf),triggerOnKeyPress:md(tf),triggerOnKeyUp:sf,execCommand:function(a){if(th.hasOwnProperty(a))return th[a].call(null,this)},triggerElectric:md(function(a){Nf(this,a)}),findPosH:function(a,b,c,d){var e=this,f=1;b<0&&(f=-1,b=-b);for(var g=N(this.doc,a),h=0;h<b&&(g=Sf(e.doc,g,f,c,d),!g.hitSide);++h);return g},moveH:md(function(a,b){var c=this;this.extendSelectionsBy(function(d){return c.display.shift||c.doc.extend||d.empty()?Sf(c.doc,d.head,a,b,c.options.rtlMoveVisually):a<0?d.from():d.to()},Gg)}),deleteH:md(function(a,b){var c=this.doc.sel,d=this.doc;c.somethingSelected()?d.replaceSelection("",null,"+delete"):gf(this,function(c){var e=Sf(d,c.head,a,b,!1);return a<0?{from:e,to:c.head}:{from:c.head,to:e}})}),findPosV:function(a,b,c,d){var e=this,f=1,g=d;b<0&&(f=-1,b=-b);for(var h=N(this.doc,a),i=0;i<b;++i){var j=lc(e,h,"div");if(null==g?g=j.left:j.left=g,h=Tf(e,j,f,c),h.hitSide)break}return h},moveV:md(function(a,b){var c=this,d=this.doc,e=[],f=!this.display.shift&&!d.extend&&d.sel.somethingSelected();if(d.extendSelectionsBy(function(g){if(f)return a<0?g.from():g.to();var h=lc(c,g.head,"div");null!=g.goalColumn&&(h.left=g.goalColumn),e.push(h.left);var i=Tf(c,h,a,b);return"page"==b&&g==d.sel.primary()&&_c(c,null,kc(c,i,"div").top-h.top),i},Gg),e.length)for(var g=0;g<d.sel.ranges.length;g++)d.sel.ranges[g].goalColumn=e[g]}),findWordAt:function(a){var b=this.doc,c=z(b,a.line).text,d=a.ch,e=a.ch;if(c){var f=this.getHelper(a,"wordChars");(a.xRel<0||e==c.length)&&d?--d:++e;for(var g=c.charAt(d),h=v(g,f)?function(a){return v(a,f)}:/\s/.test(g)?function(a){return/\s/.test(a)}:function(a){return!/\s/.test(a)&&!v(a)};d>0&&h(c.charAt(d-1));)--d;for(;e<c.length&&h(c.charAt(e));)++e}return new Hd(H(a.line,d),H(a.line,e))},toggleOverwrite:function(a){null!=a&&a==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?g(this.display.cursorDiv,"CodeMirror-overwrite"):yg(this.display.cursorDiv,"CodeMirror-overwrite"),Ea(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==f()},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:md(function(a,b){null==a&&null==b||bd(this),null!=a&&(this.curOp.scrollLeft=a),null!=b&&(this.curOp.scrollTop=b)}),getScrollInfo:function(){var a=this.display.scroller;return{left:a.scrollLeft,top:a.scrollTop,height:a.scrollHeight-Rb(this)-this.display.barHeight,width:a.scrollWidth-Rb(this)-this.display.barWidth,clientHeight:Tb(this),clientWidth:Sb(this)}},scrollIntoView:md(function(a,b){if(null==a?(a={from:this.doc.sel.primary().head,to:null},null==b&&(b=this.options.cursorScrollMargin)):"number"==typeof a?a={from:H(a,0),to:null}:null==a.from&&(a={from:a,to:null}),a.to||(a.to=a.from),a.margin=b||0,null!=a.from.line)bd(this),this.curOp.scrollToPos=a;else{var c=$c(this,Math.min(a.from.left,a.to.left),Math.min(a.from.top,a.to.top)-a.margin,Math.max(a.from.right,a.to.right),Math.max(a.from.bottom,a.to.bottom)+a.margin);this.scrollTo(c.scrollLeft,c.scrollTop)}}),setSize:md(function(a,b){var c=this,d=function(a){return"number"==typeof a||/^\d+$/.test(String(a))?a+"px":a};null!=a&&(this.display.wrapper.style.width=d(a)),null!=b&&(this.display.wrapper.style.height=d(b)),this.options.lineWrapping&&ec(this);var e=this.display.viewFrom;this.doc.iter(e,this.display.viewTo,function(a){if(a.widgets)for(var b=0;b<a.widgets.length;b++)if(a.widgets[b].noHScroll){pd(c,e,"widget");break}++e}),this.curOp.forceUpdate=!0,Ea(this,"refresh",this)}),operation:function(a){return kd(this,a)},refresh:md(function(){var a=this.display.cachedTextHeight;od(this),this.curOp.forceUpdate=!0,fc(this),this.scrollTo(this.doc.scrollLeft,this.doc.scrollTop),Cd(this),(null==a||Math.abs(a-qc(this.display))>.5)&&vc(this),Ea(this,"refresh",this)}),swapDoc:md(function(a){var b=this.doc;return b.cm=null,Ud(this,a),fc(this),this.display.input.reset(),this.scrollTo(a.scrollLeft,a.scrollTop),this.curOp.forceScroll=!0,yb(this,"swapDoc",this,b),b}),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}},Ia(a),a.registerHelper=function(b,d,e){c.hasOwnProperty(b)||(c[b]=a[b]={_global:[]}),c[b][d]=e},a.registerGlobalHelper=function(b,d,e,f){a.registerHelper(b,d,f),c[b]._global.push({pred:e,val:f})}}function Sf(a,b,c,d,e){function f(){var b=h+c;return!(b<a.first||b>=a.first+a.size)&&(h=b,k=z(a,b))}function g(a){var b=(e?za:Aa)(k,i,c,!0);if(null==b){if(a||!f())return!1;i=e?(c<0?va:ua)(k):c<0?k.text.length:0}else i=b;return!0}var h=b.line,i=b.ch,j=c,k=z(a,h);if("char"==d)g();else if("column"==d)g(!0);else if("word"==d||"group"==d)for(var l=null,m="group"==d,n=a.cm&&a.cm.getHelper(b,"wordChars"),o=!0;!(c<0)||g(!o);o=!1){var p=k.text.charAt(i)||"\n",q=v(p,n)?"w":m&&"\n"==p?"n":!m||/\s/.test(p)?null:"p";if(!m||o||q||(q="s"),l&&l!=q){c<0&&(c=1,g());break}if(q&&(l=q),c>0&&!g(!o))break}var r=te(a,H(h,i),b,j,!0);return I(b,r)||(r.hitSide=!0),r}function Tf(a,b,c,d){var e,f=a.doc,g=b.left;if("page"==d){var h=Math.min(a.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),i=Math.max(h-.5*qc(a.display),3);e=(c>0?b.bottom:b.top)+c*i}else"line"==d&&(e=c>0?b.bottom+3:b.top-3);for(var j;j=oc(a,g,e),j.outside;){if(c<0?e<=0:e>=f.height){j.hitSide=!0;break}e+=5*c}return j}function Uf(a){this.cm=a,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new l,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null}function Vf(a,b){var c=Yb(a,b.line);if(!c||c.hidden)return null;var d=z(a.doc,b.line),e=Vb(c,d,b.line),f=Ba(d),g="left";if(f){var h=xa(f,b.ch);g=h%2?"right":"left"}var i=_b(e.map,b.ch,g);return i.offset="right"==i.collapse?i.end:i.start,i}function Wf(a,b){return b&&(a.bad=!0),a}function Xf(a,b,c,d,e){function f(a){return function(b){return b.id==a}}function g(b){if(1==b.nodeType){var c=b.getAttribute("cm-text");if(null!=c)return void(h+=""==c?b.textContent.replace(/\u200b/g,""):c);var k,l=b.getAttribute("cm-marker");if(l){var m=a.findMarks(H(d,0),H(e+1,0),f(+l));return void(m.length&&(k=m[0].find())&&(h+=A(a.doc,k.from,k.to).join(j)))}if("false"==b.getAttribute("contenteditable"))return;for(var n=0;n<b.childNodes.length;n++)g(b.childNodes[n]);/^(pre|div|p)$/i.test(b.nodeName)&&(i=!0)}else if(3==b.nodeType){var o=b.nodeValue;if(!o)return;i&&(h+=j,i=!1),h+=o}}for(var h="",i=!1,j=a.doc.lineSeparator();g(b),b!=c;)b=b.nextSibling;return h}function Yf(a,b,c){var d;if(b==a.display.lineDiv){if(d=a.display.lineDiv.childNodes[c],!d)return Wf(a.clipPos(H(a.display.viewTo-1)),!0);b=null,c=0}else for(d=b;;d=d.parentNode){if(!d||d==a.display.lineDiv)return null;if(d.parentNode&&d.parentNode==a.display.lineDiv)break}for(var e=0;e<a.display.view.length;e++){var f=a.display.view[e];if(f.node==d)return Zf(f,b,c)}}function Zf(a,b,c){function d(b,c,d){for(var e=-1;e<(l?l.length:0);e++)for(var f=e<0?k.map:l[e],g=0;g<f.length;g+=3){var h=f[g+2];if(h==b||h==c){var i=D(e<0?a.line:a.rest[e]),j=f[g]+d;return(d<0||h!=b)&&(j=f[g+(d?1:0)]),H(i,j)}}}var f=a.text.firstChild,g=!1;if(!b||!e(f,b))return Wf(H(D(a.line),0),!0);if(b==f&&(g=!0,b=f.childNodes[c],c=0,!b)){var h=a.rest?p(a.rest):a.line;return Wf(H(D(h),h.text.length),g)}var i=3==b.nodeType?b:null,j=b;for(i||1!=b.childNodes.length||3!=b.firstChild.nodeType||(i=b.firstChild,c&&(c=i.nodeValue.length));j.parentNode!=f;)j=j.parentNode;var k=a.measure,l=k.maps,m=d(i,j,c);if(m)return Wf(m,g);for(var n=j.nextSibling,o=i?i.nodeValue.length-c:0;n;n=n.nextSibling){if(m=d(n,n.firstChild,0))return Wf(H(m.line,m.ch-o),g);o+=n.textContent.length}for(var q=j.previousSibling,r=c;q;q=q.previousSibling){if(m=d(q,q.firstChild,-1))return Wf(H(m.line,m.ch+r),g);r+=q.textContent.length}}function $f(a){this.cm=a,this.prevInput="",this.pollingFast=!1,this.polling=new l,this.inaccurateSelection=!1,this.hasSelection=!1,this.composing=null}function _f(a,b){function c(){a.value=k.getValue()}if(b=b?j(b):{},b.value=a.value,!b.tabindex&&a.tabIndex&&(b.tabindex=a.tabIndex),!b.placeholder&&a.placeholder&&(b.placeholder=a.placeholder),null==b.autofocus){var d=f();b.autofocus=d==a||null!=a.getAttribute("autofocus")&&d==document.body}var e;if(a.form&&(Pg(a.form,"submit",c),!b.leaveSubmitMethodAlone)){var g=a.form;e=g.submit;try{var h=g.submit=function(){c(),g.submit=e,g.submit(),g.submit=h}}catch(i){}}b.finishInit=function(b){b.save=c,b.getTextArea=function(){return a},b.toTextArea=function(){b.toTextArea=isNaN,c(),a.parentNode.removeChild(b.getWrapperElement()),a.style.display="",a.form&&(Da(a.form,"submit",c),"function"==typeof a.form.submit&&(a.form.submit=e))}},a.style.display="none";var k=Hf(function(b){return a.parentNode.insertBefore(b,a.nextSibling)},b);return k}function ag(a){a.off=Da,a.on=Pg,a.wheelEventPixels=Pc,a.Doc=jh,a.splitLines=Rg,a.countColumn=k,a.findColumn=n,a.isWordChar=u,a.Pass=Dg,a.signal=Ea,a.Line=ib,a.changeEnd=Kd,a.scrollbarModel=fh,a.Pos=H,a.cmpPos=I,a.modes=Vg,a.mimeModes=Wg,a.resolveMode=Ua,a.getMode=Va,a.modeExtensions=Xg,a.extendMode=Wa,a.copyState=Xa,a.startState=Za,a.innerMode=Ya,a.commands=th,a.keyMap=qh,a.keyName=ef,a.isModifierKey=df,a.lookupKey=cf,a.normalizeKeyMap=bf,a.StringStream=Yg,a.SharedTextMarker=Pe,a.TextMarker=Ne,a.LineWidget=Ke,a.e_preventDefault=Ja,a.e_stopPropagation=Ka,a.e_stop=Ma,a.addClass=g,a.contains=e,a.rmClass=yg,a.keyNames=mh}var bg=navigator.userAgent,cg=navigator.platform,dg=/gecko\/\d/i.test(bg),eg=/MSIE \d/.test(bg),fg=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(bg),gg=eg||fg,hg=gg&&(eg?document.documentMode||6:fg[1]),ig=/WebKit\//.test(bg),jg=ig&&/Qt\/\d+\.\d+/.test(bg),kg=/Chrome\//.test(bg),lg=/Opera\//.test(bg),mg=/Apple Computer/.test(navigator.vendor),ng=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(bg),og=/PhantomJS/.test(bg),pg=/AppleWebKit/.test(bg)&&/Mobile\/\w+/.test(bg),qg=pg||/Android|webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(bg),rg=pg||/Mac/.test(cg),sg=/\bCrOS\b/.test(bg),tg=/win/i.test(cg),ug=lg&&bg.match(/Version\/(\d*\.\d*)/);ug&&(ug=Number(ug[1])),ug&&ug>=15&&(lg=!1,ig=!0);var vg,wg=rg&&(jg||lg&&(null==ug||ug<12.11)),xg=dg||gg&&hg>=9,yg=function(b,c){var d=b.className,e=a(c).exec(d);if(e){var f=d.slice(e.index+e[0].length);b.className=d.slice(0,e.index)+(f?e[1]+f:"")}};vg=document.createRange?function(a,b,c,d){var e=document.createRange();return e.setEnd(d||a,c),e.setStart(a,b),e}:function(a,b,c){var d=document.body.createTextRange();try{d.moveToElementText(a.parentNode)}catch(e){return d}return d.collapse(!0),d.moveEnd("character",c),d.moveStart("character",b),d};var zg=function(a){a.select()};pg?zg=function(a){a.selectionStart=0,a.selectionEnd=a.value.length}:gg&&(zg=function(a){try{a.select()}catch(b){}}),l.prototype.set=function(a,b){clearTimeout(this.id),this.id=setTimeout(b,a)};var Ag,Bg,Cg=30,Dg={toString:function(){return"CodeMirror.Pass"}},Eg={scroll:!1},Fg={origin:"*mouse"},Gg={origin:"+move"},Hg=[""],Ig=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/,Jg=/[\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]/,Kg=!1,Lg=!1,Mg=null,Ng=function(){function a(a){return a<=247?c.charAt(a):1424<=a&&a<=1524?"R":1536<=a&&a<=1773?d.charAt(a-1536):1774<=a&&a<=2220?"r":8192<=a&&a<=8203?"w":8204==a?"b":"L"}function b(a,b,c){this.level=a,this.from=b,this.to=c}var c="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",d="rrrrrrrrrrrr,rNNmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmrrrrrrrnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmNmmmm",e=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,f=/[stwN]/,g=/[LRr]/,h=/[Lb1n]/,i=/[1n]/,j="L";return function(c){if(!e.test(c))return!1;for(var d=c.length,k=[],l=0;l<d;++l)k.push(a(c.charCodeAt(l)));for(var m=0,n=j;m<d;++m){var o=k[m];"m"==o?k[m]=n:n=o}for(var q=0,r=j;q<d;++q){var s=k[q];"1"==s&&"r"==r?k[q]="n":g.test(s)&&(r=s,"r"==s&&(k[q]="R"))}for(var t=1,u=k[0];t<d-1;++t){var v=k[t];"+"==v&&"1"==u&&"1"==k[t+1]?k[t]="1":","!=v||u!=k[t+1]||"1"!=u&&"n"!=u||(k[t]=u),u=v}for(var w=0;w<d;++w){var x=k[w];if(","==x)k[w]="N";else if("%"==x){var y=void 0;for(y=w+1;y<d&&"%"==k[y];++y);for(var z=w&&"!"==k[w-1]||y<d&&"1"==k[y]?"1":"N",A=w;A<y;++A)k[A]=z;w=y-1}}for(var B=0,C=j;B<d;++B){var D=k[B];"L"==C&&"1"==D?k[B]="L":g.test(D)&&(C=D)}for(var E=0;E<d;++E)if(f.test(k[E])){var F=void 0;for(F=E+1;F<d&&f.test(k[F]);++F);for(var G="L"==(E?k[E-1]:j),H="L"==(F<d?k[F]:j),I=G||H?"L":"R",J=E;J<F;++J)k[J]=I;E=F-1}for(var K,L=[],M=0;M<d;)if(h.test(k[M])){var N=M;for(++M;M<d&&h.test(k[M]);++M);L.push(new b(0,N,M))}else{var O=M,P=L.length;for(++M;M<d&&"L"!=k[M];++M);for(var Q=O;Q<M;)if(i.test(k[Q])){O<Q&&L.splice(P,0,new b(1,O,Q));var R=Q;for(++Q;Q<M&&i.test(k[Q]);++Q);L.splice(P,0,new b(2,R,Q)),O=Q}else++Q;O<M&&L.splice(P,0,new b(1,O,M))}return 1==L[0].level&&(K=c.match(/^\s+/))&&(L[0].from=K[0].length,L.unshift(new b(0,0,K[0].length))),1==p(L).level&&(K=c.match(/\s+$/))&&(p(L).to-=K[0].length,L.push(new b(0,d-K[0].length,d))),2==L[0].level&&L.unshift(new b(1,L[0].to,L[0].to)),L[0].level!=p(L).level&&L.push(new b(L[0].level,d,d)),L}}(),Og=[],Pg=function(a,b,c){if(a.addEventListener)a.addEventListener(b,c,!1);else if(a.attachEvent)a.attachEvent("on"+b,c);else{var d=a._handlers||(a._handlers={});d[b]=(d[b]||Og).concat(c)}},Qg=function(){if(gg&&hg<9)return!1;var a=d("div");return"draggable"in a||"dragDrop"in a}(),Rg=3!="\n\nb".split(/\n/).length?function(a){for(var b=0,c=[],d=a.length;b<=d;){var e=a.indexOf("\n",b);e==-1&&(e=a.length);var f=a.slice(b,"\r"==a.charAt(e-1)?e-1:e),g=f.indexOf("\r");g!=-1?(c.push(f.slice(0,g)),b+=g+1):(c.push(f),b=e+1)}return c}:function(a){return a.split(/\r\n?|\n/)},Sg=window.getSelection?function(a){try{return a.selectionStart!=a.selectionEnd}catch(b){return!1}}:function(a){var b;try{b=a.ownerDocument.selection.createRange()}catch(c){}return!(!b||b.parentElement()!=a)&&0!=b.compareEndPoints("StartToEnd",b)},Tg=function(){var a=d("div");return"oncopy"in a||(a.setAttribute("oncopy","return;"),"function"==typeof a.oncopy)}(),Ug=null,Vg={},Wg={},Xg={},Yg=function(a,b){this.pos=this.start=0,this.string=a,this.tabSize=b||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0};Yg.prototype={eol:function(){return this.pos>=this.string.length},sol:function(){return this.pos==this.lineStart},peek:function(){return this.string.charAt(this.pos)||void 0},next:function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},eat:function(a){var b,c=this.string.charAt(this.pos);if(b="string"==typeof a?c==a:c&&(a.test?a.test(c):a(c)))return++this.pos,c},eatWhile:function(a){for(var b=this.pos;this.eat(a););return this.pos>b},eatSpace:function(){for(var a=this,b=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++a.pos;return this.pos>b},skipToEnd:function(){this.pos=this.string.length},skipTo:function(a){var b=this.string.indexOf(a,this.pos);if(b>-1)return this.pos=b,!0},backUp:function(a){this.pos-=a},column:function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=k(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?k(this.string,this.lineStart,this.tabSize):0)},indentation:function(){return k(this.string,null,this.tabSize)-(this.lineStart?k(this.string,this.lineStart,this.tabSize):0)},match:function(a,b,c){if("string"!=typeof a){var d=this.string.slice(this.pos).match(a);return d&&d.index>0?null:(d&&b!==!1&&(this.pos+=d[0].length),d)}var e=function(a){return c?a.toLowerCase():a},f=this.string.substr(this.pos,a.length);if(e(f)==e(a))return b!==!1&&(this.pos+=a.length),!0},current:function(){return this.string.slice(this.start,this.pos)},hideFirstChars:function(a,b){this.lineStart+=a;try{return b()}finally{this.lineStart-=a}}},Ia(ib),ib.prototype.lineNo=function(){return D(this)};var Zg,$g={},_g={},ah=null,bh=null,ch={left:0,right:0,top:0,bottom:0},dh=0,eh=null;gg?eh=-.53:dg?eh=15:kg?eh=-.7:mg&&(eh=-1/3),Sc.prototype=j({update:function(a){var b=a.scrollWidth>a.clientWidth+1,c=a.scrollHeight>a.clientHeight+1,d=a.nativeBarWidth;if(c){this.vert.style.display="block",this.vert.style.bottom=b?d+"px":"0";var e=a.viewHeight-(b?d:0);this.vert.firstChild.style.height=Math.max(0,a.scrollHeight-a.clientHeight+e)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(b){this.horiz.style.display="block",this.horiz.style.right=c?d+"px":"0",this.horiz.style.left=a.barLeft+"px";var f=a.viewWidth-a.barLeft-(c?d:0);this.horiz.firstChild.style.width=a.scrollWidth-a.clientWidth+f+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&a.clientHeight>0&&(0==d&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:c?d:0,bottom:b?d:0}},setScrollLeft:function(a){this.horiz.scrollLeft!=a&&(this.horiz.scrollLeft=a),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz)},setScrollTop:function(a){this.vert.scrollTop!=a&&(this.vert.scrollTop=a),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert)},zeroWidthHack:function(){var a=rg&&!ng?"12px":"18px";this.horiz.style.height=this.vert.style.width=a,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new l,this.disableVert=new l},enableZeroWidthBar:function(a,b){function c(){var d=a.getBoundingClientRect(),e=document.elementFromPoint(d.left+1,d.bottom-1);e!=a?a.style.pointerEvents="none":b.set(1e3,c)}a.style.pointerEvents="auto",b.set(1e3,c)},clear:function(){var a=this.horiz.parentNode;a.removeChild(this.horiz),a.removeChild(this.vert)}},Sc.prototype),Tc.prototype=j({update:function(){return{bottom:0,right:0}},setScrollLeft:function(){},setScrollTop:function(){},clear:function(){}},Tc.prototype);var fh={"native":Sc,"null":Tc},gh=0;wd.prototype.signal=function(a,b){Ha(a,b)&&this.events.push(arguments)},wd.prototype.finish=function(){for(var a=this,b=0;b<this.events.length;b++)Ea.apply(null,a.events[b])},Gd.prototype={primary:function(){return this.ranges[this.primIndex]},equals:function(a){var b=this;if(a==this)return!0;if(a.primIndex!=this.primIndex||a.ranges.length!=this.ranges.length)return!1;for(var c=0;c<this.ranges.length;c++){var d=b.ranges[c],e=a.ranges[c];if(0!=I(d.anchor,e.anchor)||0!=I(d.head,e.head))return!1}return!0},deepCopy:function(){for(var a=this,b=[],c=0;c<this.ranges.length;c++)b[c]=new Hd(J(a.ranges[c].anchor),J(a.ranges[c].head));return new Gd(b,this.primIndex)},somethingSelected:function(){for(var a=this,b=0;b<this.ranges.length;b++)if(!a.ranges[b].empty())return!0;return!1},contains:function(a,b){var c=this;b||(b=a);for(var d=0;d<this.ranges.length;d++){var e=c.ranges[d];if(I(b,e.from())>=0&&I(a,e.to())<=0)return d}return-1}},Hd.prototype={from:function(){return L(this.anchor,this.head)},to:function(){return K(this.anchor,this.head)},empty:function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch}},Ie.prototype={chunkSize:function(){return this.lines.length},removeInner:function(a,b){for(var c=this,d=a,e=a+b;d<e;++d){var f=c.lines[d];c.height-=f.height,kb(f),yb(f,"delete")}this.lines.splice(a,b)},collapse:function(a){a.push.apply(a,this.lines)},insertInner:function(a,b,c){var d=this;this.height+=c,this.lines=this.lines.slice(0,a).concat(b).concat(this.lines.slice(a));for(var e=0;e<b.length;++e)b[e].parent=d},iterN:function(a,b,c){for(var d=this,e=a+b;a<e;++a)if(c(d.lines[a]))return!0}},Je.prototype={chunkSize:function(){return this.size},removeInner:function(a,b){var c=this;this.size-=b;for(var d=0;d<this.children.length;++d){var e=c.children[d],f=e.chunkSize();if(a<f){var g=Math.min(b,f-a),h=e.height;if(e.removeInner(a,g),c.height-=h-e.height,f==g&&(c.children.splice(d--,1),e.parent=null),0==(b-=g))break;a=0}else a-=f}if(this.size-b<25&&(this.children.length>1||!(this.children[0]instanceof Ie))){var i=[];this.collapse(i),this.children=[new Ie(i)],this.children[0].parent=this}},collapse:function(a){for(var b=this,c=0;c<this.children.length;++c)b.children[c].collapse(a)},insertInner:function(a,b,c){var d=this;this.size+=b.length,this.height+=c;for(var e=0;e<this.children.length;++e){var f=d.children[e],g=f.chunkSize();if(a<=g){if(f.insertInner(a,b,c),f.lines&&f.lines.length>50){for(var h=f.lines.length%25+25,i=h;i<f.lines.length;){var j=new Ie(f.lines.slice(i,i+=25));f.height-=j.height,d.children.splice(++e,0,j),j.parent=d}f.lines=f.lines.slice(0,h),d.maybeSpill()}break}a-=g}},maybeSpill:function(){if(!(this.children.length<=10)){var a=this;do{var b=a.children.splice(a.children.length-5,5),c=new Je(b);if(a.parent){a.size-=c.size,a.height-=c.height;var d=m(a.parent.children,a);a.parent.children.splice(d+1,0,c)}else{var e=new Je(a.children);e.parent=a,a.children=[e,c],a=e}c.parent=a.parent}while(a.children.length>10);a.parent.maybeSpill()}},iterN:function(a,b,c){for(var d=this,e=0;e<this.children.length;++e){var f=d.children[e],g=f.chunkSize();if(a<g){var h=Math.min(b,g-a);if(f.iterN(a,h,c))return!0;if(0==(b-=h))break;a=0}else a-=g}}},Ia(Ke),Ke.prototype.clear=function(){var a=this,b=this.doc.cm,c=this.line.widgets,d=this.line,e=D(d);if(null!=e&&c){for(var f=0;f<c.length;++f)c[f]==a&&c.splice(f--,1);c.length||(d.widgets=null);var g=Mb(this);C(d,Math.max(0,d.height-g)),b&&kd(b,function(){Le(b,d,-g),pd(b,e,"widget")})}},Ke.prototype.changed=function(){var a=this.height,b=this.doc.cm,c=this.line;this.height=null;var d=Mb(this)-a;d&&(C(c,c.height+d),b&&kd(b,function(){b.curOp.forceUpdate=!0,Le(b,c,d)}))};var hh=0;Ia(Ne),Ne.prototype.clear=function(){var a=this;if(!this.explicitlyCleared){var b=this.doc.cm,c=b&&!b.curOp;if(c&&cd(b),Ha(this,"clear")){var d=this.find();d&&yb(this,"clear",d.from,d.to)}for(var e=null,f=null,g=0;g<this.lines.length;++g){var h=a.lines[g],i=T(h.markedSpans,a);b&&!a.collapsed?pd(b,D(h),"text"):b&&(null!=i.to&&(f=D(h)),null!=i.from&&(e=D(h))),h.markedSpans=U(h.markedSpans,i),null==i.from&&a.collapsed&&!ma(a.doc,h)&&b&&C(h,qc(b.display))}if(b&&this.collapsed&&!b.options.lineWrapping)for(var j=0;j<this.lines.length;++j){var k=ia(a.lines[j]),l=pa(k);l>b.display.maxLineLength&&(b.display.maxLine=k,b.display.maxLineLength=l,b.display.maxLineChanged=!0)}null!=e&&b&&this.collapsed&&od(b,e,f+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,b&&qe(b.doc)),b&&yb(b,"markerCleared",b,this),c&&dd(b),this.parent&&this.parent.clear()}},Ne.prototype.find=function(a,b){var c=this;null==a&&"bookmark"==this.type&&(a=1);for(var d,e,f=0;f<this.lines.length;++f){var g=c.lines[f],h=T(g.markedSpans,c);if(null!=h.from&&(d=H(b?g:D(g),h.from),a==-1))return d;if(null!=h.to&&(e=H(b?g:D(g),h.to),1==a))return e}return d&&{from:d,to:e}},Ne.prototype.changed=function(){var a=this.find(-1,!0),b=this,c=this.doc.cm;a&&c&&kd(c,function(){var d=a.line,e=D(a.line),f=Yb(c,e);if(f&&(dc(f),c.curOp.selectionChanged=c.curOp.forceUpdate=!0),c.curOp.updateMaxLine=!0,!ma(b.doc,d)&&null!=b.height){var g=b.height;b.height=null;var h=Mb(b)-g;h&&C(d,d.height+h)}})},Ne.prototype.attachLine=function(a){if(!this.lines.length&&this.doc.cm){
5
- var b=this.doc.cm.curOp;b.maybeHiddenMarkers&&m(b.maybeHiddenMarkers,this)!=-1||(b.maybeUnhiddenMarkers||(b.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(a)},Ne.prototype.detachLine=function(a){if(this.lines.splice(m(this.lines,a),1),!this.lines.length&&this.doc.cm){var b=this.doc.cm.curOp;(b.maybeHiddenMarkers||(b.maybeHiddenMarkers=[])).push(this)}},Ia(Pe),Pe.prototype.clear=function(){var a=this;if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var b=0;b<this.markers.length;++b)a.markers[b].clear();yb(this,"clear")}},Pe.prototype.find=function(a,b){return this.primary.find(a,b)};var ih=0,jh=function(a,b,c,d){if(!(this instanceof jh))return new jh(a,b,c,d);null==c&&(c=0),Je.call(this,[new Ie([new ib("",null)])]),this.first=c,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.frontier=c;var e=H(c,0);this.sel=Jd(e),this.history=new Vd(null),this.id=++ih,this.modeOption=b,this.lineSep=d,this.extend=!1,"string"==typeof a&&(a=this.splitLines(a)),Sd(this,{from:e,to:e,text:a}),ne(this,Jd(e),Eg)};jh.prototype=t(Je.prototype,{constructor:jh,iter:function(a,b,c){c?this.iterN(a-this.first,b-a,c):this.iterN(this.first,this.first+this.size,a)},insert:function(a,b){for(var c=0,d=0;d<b.length;++d)c+=b[d].height;this.insertInner(a-this.first,b,c)},remove:function(a,b){this.removeInner(a-this.first,b)},getValue:function(a){var b=B(this,this.first,this.first+this.size);return a===!1?b:b.join(a||this.lineSeparator())},setValue:nd(function(a){var b=H(this.first,0),c=this.first+this.size-1;xe(this,{from:b,to:H(c,z(this,c).text.length),text:this.splitLines(a),origin:"setValue",full:!0},!0),ne(this,Jd(b))}),replaceRange:function(a,b,c,d){b=N(this,b),c=c?N(this,c):b,De(this,a,b,c,d)},getRange:function(a,b,c){var d=A(this,N(this,a),N(this,b));return c===!1?d:d.join(c||this.lineSeparator())},getLine:function(a){var b=this.getLineHandle(a);return b&&b.text},getLineHandle:function(a){if(F(this,a))return z(this,a)},getLineNumber:function(a){return D(a)},getLineHandleVisualStart:function(a){return"number"==typeof a&&(a=z(this,a)),ia(a)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(a){return N(this,a)},getCursor:function(a){var b,c=this.sel.primary();return b=null==a||"head"==a?c.head:"anchor"==a?c.anchor:"end"==a||"to"==a||a===!1?c.to():c.from()},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:nd(function(a,b,c){ke(this,N(this,"number"==typeof a?H(a,b||0):a),null,c)}),setSelection:nd(function(a,b,c){ke(this,N(this,a),N(this,b||a),c)}),extendSelection:nd(function(a,b,c){he(this,N(this,a),b&&N(this,b),c)}),extendSelections:nd(function(a,b){ie(this,P(this,a),b)}),extendSelectionsBy:nd(function(a,b){var c=q(this.sel.ranges,a);ie(this,P(this,c),b)}),setSelections:nd(function(a,b,c){var d=this;if(a.length){for(var e=[],f=0;f<a.length;f++)e[f]=new Hd(N(d,a[f].anchor),N(d,a[f].head));null==b&&(b=Math.min(a.length-1,this.sel.primIndex)),ne(this,Id(e,b),c)}}),addSelection:nd(function(a,b,c){var d=this.sel.ranges.slice(0);d.push(new Hd(N(this,a),N(this,b||a))),ne(this,Id(d,d.length-1),c)}),getSelection:function(a){for(var b,c=this,d=this.sel.ranges,e=0;e<d.length;e++){var f=A(c,d[e].from(),d[e].to());b=b?b.concat(f):f}return a===!1?b:b.join(a||this.lineSeparator())},getSelections:function(a){for(var b=this,c=[],d=this.sel.ranges,e=0;e<d.length;e++){var f=A(b,d[e].from(),d[e].to());a!==!1&&(f=f.join(a||b.lineSeparator())),c[e]=f}return c},replaceSelection:function(a,b,c){for(var d=[],e=0;e<this.sel.ranges.length;e++)d[e]=a;this.replaceSelections(d,b,c||"+input")},replaceSelections:nd(function(a,b,c){for(var d=this,e=[],f=this.sel,g=0;g<f.ranges.length;g++){var h=f.ranges[g];e[g]={from:h.from(),to:h.to(),text:d.splitLines(a[g]),origin:c}}for(var i=b&&"end"!=b&&Od(this,e,b),j=e.length-1;j>=0;j--)xe(d,e[j]);i?me(this,i):this.cm&&ad(this.cm)}),undo:nd(function(){ze(this,"undo")}),redo:nd(function(){ze(this,"redo")}),undoSelection:nd(function(){ze(this,"undo",!0)}),redoSelection:nd(function(){ze(this,"redo",!0)}),setExtending:function(a){this.extend=a},getExtending:function(){return this.extend},historySize:function(){for(var a=this.history,b=0,c=0,d=0;d<a.done.length;d++)a.done[d].ranges||++b;for(var e=0;e<a.undone.length;e++)a.undone[e].ranges||++c;return{undo:b,redo:c}},clearHistory:function(){this.history=new Vd(this.history.maxGeneration)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(a){return a&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(a){return this.history.generation==(a||this.cleanGeneration)},getHistory:function(){return{done:fe(this.history.done),undone:fe(this.history.undone)}},setHistory:function(a){var b=this.history=new Vd(this.history.maxGeneration);b.done=fe(a.done.slice(0),null,!0),b.undone=fe(a.undone.slice(0),null,!0)},setGutterMarker:nd(function(a,b,c){return He(this,a,"gutter",function(a){var d=a.gutterMarkers||(a.gutterMarkers={});return d[b]=c,!c&&w(d)&&(a.gutterMarkers=null),!0})}),clearGutter:nd(function(a){var b=this,c=this.first;this.iter(function(d){d.gutterMarkers&&d.gutterMarkers[a]&&He(b,d,"gutter",function(){return d.gutterMarkers[a]=null,w(d.gutterMarkers)&&(d.gutterMarkers=null),!0}),++c})}),lineInfo:function(a){var b;if("number"==typeof a){if(!F(this,a))return null;if(b=a,a=z(this,a),!a)return null}else if(b=D(a),null==b)return null;return{line:b,handle:a,text:a.text,gutterMarkers:a.gutterMarkers,textClass:a.textClass,bgClass:a.bgClass,wrapClass:a.wrapClass,widgets:a.widgets}},addLineClass:nd(function(b,c,d){return He(this,b,"gutter"==c?"gutter":"class",function(b){var e="text"==c?"textClass":"background"==c?"bgClass":"gutter"==c?"gutterClass":"wrapClass";if(b[e]){if(a(d).test(b[e]))return!1;b[e]+=" "+d}else b[e]=d;return!0})}),removeLineClass:nd(function(b,c,d){return He(this,b,"gutter"==c?"gutter":"class",function(b){var e="text"==c?"textClass":"background"==c?"bgClass":"gutter"==c?"gutterClass":"wrapClass",f=b[e];if(!f)return!1;if(null==d)b[e]=null;else{var g=f.match(a(d));if(!g)return!1;var h=g.index+g[0].length;b[e]=f.slice(0,g.index)+(g.index&&h!=f.length?" ":"")+f.slice(h)||null}return!0})}),addLineWidget:nd(function(a,b,c){return Me(this,a,b,c)}),removeLineWidget:function(a){a.clear()},markText:function(a,b,c){return Oe(this,N(this,a),N(this,b),c,c&&c.type||"range")},setBookmark:function(a,b){var c={replacedWith:b&&(null==b.nodeType?b.widget:b),insertLeft:b&&b.insertLeft,clearWhenEmpty:!1,shared:b&&b.shared,handleMouseEvents:b&&b.handleMouseEvents};return a=N(this,a),Oe(this,a,a,c,"bookmark")},findMarksAt:function(a){a=N(this,a);var b=[],c=z(this,a.line).markedSpans;if(c)for(var d=0;d<c.length;++d){var e=c[d];(null==e.from||e.from<=a.ch)&&(null==e.to||e.to>=a.ch)&&b.push(e.marker.parent||e.marker)}return b},findMarks:function(a,b,c){a=N(this,a),b=N(this,b);var d=[],e=a.line;return this.iter(a.line,b.line+1,function(f){var g=f.markedSpans;if(g)for(var h=0;h<g.length;h++){var i=g[h];null!=i.to&&e==a.line&&a.ch>=i.to||null==i.from&&e!=a.line||null!=i.from&&e==b.line&&i.from>=b.ch||c&&!c(i.marker)||d.push(i.marker.parent||i.marker)}++e}),d},getAllMarks:function(){var a=[];return this.iter(function(b){var c=b.markedSpans;if(c)for(var d=0;d<c.length;++d)null!=c[d].from&&a.push(c[d].marker)}),a},posFromIndex:function(a){var b,c=this.first,d=this.lineSeparator().length;return this.iter(function(e){var f=e.text.length+d;return f>a?(b=a,!0):(a-=f,void++c)}),N(this,H(c,b))},indexFromPos:function(a){a=N(this,a);var b=a.ch;if(a.line<this.first||a.ch<0)return 0;var c=this.lineSeparator().length;return this.iter(this.first,a.line,function(a){b+=a.text.length+c}),b},copy:function(a){var b=new jh(B(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep);return b.scrollTop=this.scrollTop,b.scrollLeft=this.scrollLeft,b.sel=this.sel,b.extend=!1,a&&(b.history.undoDepth=this.history.undoDepth,b.setHistory(this.getHistory())),b},linkedDoc:function(a){a||(a={});var b=this.first,c=this.first+this.size;null!=a.from&&a.from>b&&(b=a.from),null!=a.to&&a.to<c&&(c=a.to);var d=new jh(B(this,b,c),a.mode||this.modeOption,b,this.lineSep);return a.sharedHist&&(d.history=this.history),(this.linked||(this.linked=[])).push({doc:d,sharedHist:a.sharedHist}),d.linked=[{doc:this,isParent:!0,sharedHist:a.sharedHist}],Se(d,Re(this)),d},unlinkDoc:function(a){var b=this;if(a instanceof Hf&&(a=a.doc),this.linked)for(var c=0;c<this.linked.length;++c){var d=b.linked[c];if(d.doc==a){b.linked.splice(c,1),a.unlinkDoc(b),Te(Re(b));break}}if(a.history==this.history){var e=[a.id];Td(a,function(a){return e.push(a.id)},!0),a.history=new Vd(null),a.history.done=fe(this.history.done,e),a.history.undone=fe(this.history.undone,e)}},iterLinkedDocs:function(a){Td(this,a)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(a){return this.lineSep?a.split(this.lineSep):Rg(a)},lineSeparator:function(){return this.lineSep||"\n"}}),jh.prototype.eachLine=jh.prototype.iter;for(var kh=0,lh=!1,mh={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",106:"*",107:"=",109:"-",110:".",111:"/",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"},nh=0;nh<10;nh++)mh[nh+48]=mh[nh+96]=String(nh);for(var oh=65;oh<=90;oh++)mh[oh]=String.fromCharCode(oh);for(var ph=1;ph<=12;ph++)mh[ph+111]=mh[ph+63235]="F"+ph;var qh={};qh.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"},qh.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"},qh.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","Ctrl-O":"openLine"},qh.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"]},qh["default"]=rg?qh.macDefault:qh.pcDefault;var rh,sh,th={selectAll:ve,singleSelection:function(a){return a.setSelection(a.getCursor("anchor"),a.getCursor("head"),Eg)},killLine:function(a){return gf(a,function(b){if(b.empty()){var c=z(a.doc,b.head.line).text.length;return b.head.ch==c&&b.head.line<a.lastLine()?{from:b.head,to:H(b.head.line+1,0)}:{from:b.head,to:H(b.head.line,c)}}return{from:b.from(),to:b.to()}})},deleteLine:function(a){return gf(a,function(b){return{from:H(b.from().line,0),to:N(a.doc,H(b.to().line+1,0))}})},delLineLeft:function(a){return gf(a,function(a){return{from:H(a.from().line,0),to:a.from()}})},delWrappedLineLeft:function(a){return gf(a,function(b){var c=a.charCoords(b.head,"div").top+5,d=a.coordsChar({left:0,top:c},"div");return{from:d,to:b.from()}})},delWrappedLineRight:function(a){return gf(a,function(b){var c=a.charCoords(b.head,"div").top+5,d=a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:c},"div");return{from:b.from(),to:d}})},undo:function(a){return a.undo()},redo:function(a){return a.redo()},undoSelection:function(a){return a.undoSelection()},redoSelection:function(a){return a.redoSelection()},goDocStart:function(a){return a.extendSelection(H(a.firstLine(),0))},goDocEnd:function(a){return a.extendSelection(H(a.lastLine()))},goLineStart:function(a){return a.extendSelectionsBy(function(b){return hf(a,b.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(a){return a.extendSelectionsBy(function(b){return kf(a,b.head)},{origin:"+move",bias:1})},goLineEnd:function(a){return a.extendSelectionsBy(function(b){return jf(a,b.head.line)},{origin:"+move",bias:-1})},goLineRight:function(a){return a.extendSelectionsBy(function(b){var c=a.charCoords(b.head,"div").top+5;return a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:c},"div")},Gg)},goLineLeft:function(a){return a.extendSelectionsBy(function(b){var c=a.charCoords(b.head,"div").top+5;return a.coordsChar({left:0,top:c},"div")},Gg)},goLineLeftSmart:function(a){return a.extendSelectionsBy(function(b){var c=a.charCoords(b.head,"div").top+5,d=a.coordsChar({left:0,top:c},"div");return d.ch<a.getLine(d.line).search(/\S/)?kf(a,b.head):d},Gg)},goLineUp:function(a){return a.moveV(-1,"line")},goLineDown:function(a){return a.moveV(1,"line")},goPageUp:function(a){return a.moveV(-1,"page")},goPageDown:function(a){return a.moveV(1,"page")},goCharLeft:function(a){return a.moveH(-1,"char")},goCharRight:function(a){return a.moveH(1,"char")},goColumnLeft:function(a){return a.moveH(-1,"column")},goColumnRight:function(a){return a.moveH(1,"column")},goWordLeft:function(a){return a.moveH(-1,"word")},goGroupRight:function(a){return a.moveH(1,"group")},goGroupLeft:function(a){return a.moveH(-1,"group")},goWordRight:function(a){return a.moveH(1,"word")},delCharBefore:function(a){return a.deleteH(-1,"char")},delCharAfter:function(a){return a.deleteH(1,"char")},delWordBefore:function(a){return a.deleteH(-1,"word")},delWordAfter:function(a){return a.deleteH(1,"word")},delGroupBefore:function(a){return a.deleteH(-1,"group")},delGroupAfter:function(a){return a.deleteH(1,"group")},indentAuto:function(a){return a.indentSelection("smart")},indentMore:function(a){return a.indentSelection("add")},indentLess:function(a){return a.indentSelection("subtract")},insertTab:function(a){return a.replaceSelection("\t")},insertSoftTab:function(a){for(var b=[],c=a.listSelections(),d=a.options.tabSize,e=0;e<c.length;e++){var f=c[e].from(),g=k(a.getLine(f.line),f.ch,d);b.push(o(d-g%d))}a.replaceSelections(b)},defaultTab:function(a){a.somethingSelected()?a.indentSelection("add"):a.execCommand("insertTab")},transposeChars:function(a){return kd(a,function(){for(var b=a.listSelections(),c=[],d=0;d<b.length;d++)if(b[d].empty()){var e=b[d].head,f=z(a.doc,e.line).text;if(f)if(e.ch==f.length&&(e=new H(e.line,e.ch-1)),e.ch>0)e=new H(e.line,e.ch+1),a.replaceRange(f.charAt(e.ch-1)+f.charAt(e.ch-2),H(e.line,e.ch-2),e,"+transpose");else if(e.line>a.doc.first){var g=z(a.doc,e.line-1).text;g&&(e=new H(e.line,1),a.replaceRange(f.charAt(0)+a.doc.lineSeparator()+g.charAt(g.length-1),H(e.line-1,g.length-1),e,"+transpose"))}c.push(new Hd(e,e))}a.setSelections(c)})},newlineAndIndent:function(a){return kd(a,function(){for(var b=a.listSelections(),c=b.length-1;c>=0;c--)a.replaceRange(a.doc.lineSeparator(),b[c].anchor,b[c].head,"+input");b=a.listSelections();for(var d=0;d<b.length;d++)a.indentLine(b[d].from().line,null,!0);ad(a)})},openLine:function(a){return a.replaceSelection("\n","start")},toggleOverwrite:function(a){return a.toggleOverwrite()}},uh=new l,vh=null,wh={toString:function(){return"CodeMirror.Init"}},xh={},yh={};Hf.defaults=xh,Hf.optionHandlers=yh;var zh=[];Hf.defineInitHook=function(a){return zh.push(a)};var Ah=null;Uf.prototype=j({init:function(a){function b(a){if(!Fa(e,a)){if(e.somethingSelected())Kf({lineWise:!1,text:e.getSelections()}),"cut"==a.type&&e.replaceSelection("",null,"cut");else{if(!e.options.lineWiseCopyCut)return;var b=Of(e);Kf({lineWise:!0,text:b.text}),"cut"==a.type&&e.operation(function(){e.setSelections(b.ranges,0,Eg),e.replaceSelection("",null,"cut")})}if(a.clipboardData){a.clipboardData.clearData();var c=Ah.text.join("\n");if(a.clipboardData.setData("Text",c),a.clipboardData.getData("Text")==c)return void a.preventDefault()}var g=Qf(),h=g.firstChild;e.display.lineSpace.insertBefore(g,e.display.lineSpace.firstChild),h.value=Ah.text.join("\n");var i=document.activeElement;zg(h),setTimeout(function(){e.display.lineSpace.removeChild(g),i.focus(),i==f&&d.showPrimarySelection()},50)}}var c=this,d=this,e=d.cm,f=d.div=a.lineDiv;Pf(f,e.options.spellcheck),Pg(f,"paste",function(a){Fa(e,a)||Mf(a,e)||hg<=11&&setTimeout(ld(e,function(){d.pollContent()||od(e)}),20)}),Pg(f,"compositionstart",function(a){c.composing={data:a.data}}),Pg(f,"compositionupdate",function(a){c.composing||(c.composing={data:a.data})}),Pg(f,"compositionend",function(a){c.composing&&(a.data!=c.composing.data&&c.readFromDOMSoon(),c.composing=null)}),Pg(f,"touchstart",function(){return d.forceCompositionEnd()}),Pg(f,"input",function(){c.composing||c.readFromDOMSoon()}),Pg(f,"copy",b),Pg(f,"cut",b)},prepareSelection:function(){var a=zc(this.cm,!1);return a.focus=this.cm.state.focused,a},showSelection:function(a,b){a&&this.cm.display.view.length&&((a.focus||b)&&this.showPrimarySelection(),this.showMultipleSelections(a))},showPrimarySelection:function(){var a=window.getSelection(),b=this.cm.doc.sel.primary(),c=Yf(this.cm,a.anchorNode,a.anchorOffset),d=Yf(this.cm,a.focusNode,a.focusOffset);if(!c||c.bad||!d||d.bad||0!=I(L(c,d),b.from())||0!=I(K(c,d),b.to())){var e=Vf(this.cm,b.from()),f=Vf(this.cm,b.to());if(e||f){var g=this.cm.display.view,h=a.rangeCount&&a.getRangeAt(0);if(e){if(!f){var i=g[g.length-1].measure,j=i.maps?i.maps[i.maps.length-1]:i.map;f={node:j[j.length-1],offset:j[j.length-2]-j[j.length-3]}}}else e={node:g[0].measure.map[2],offset:0};var k;try{k=vg(e.node,e.offset,f.offset,f.node)}catch(l){}k&&(!dg&&this.cm.state.focused?(a.collapse(e.node,e.offset),k.collapsed||(a.removeAllRanges(),a.addRange(k))):(a.removeAllRanges(),a.addRange(k)),h&&null==a.anchorNode?a.addRange(h):dg&&this.startGracePeriod()),this.rememberSelection()}}},startGracePeriod:function(){var a=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){a.gracePeriod=!1,a.selectionChanged()&&a.cm.operation(function(){return a.cm.curOp.selectionChanged=!0})},20)},showMultipleSelections:function(a){c(this.cm.display.cursorDiv,a.cursors),c(this.cm.display.selectionDiv,a.selection)},rememberSelection:function(){var a=window.getSelection();this.lastAnchorNode=a.anchorNode,this.lastAnchorOffset=a.anchorOffset,this.lastFocusNode=a.focusNode,this.lastFocusOffset=a.focusOffset},selectionInEditor:function(){var a=window.getSelection();if(!a.rangeCount)return!1;var b=a.getRangeAt(0).commonAncestorContainer;return e(this.div,b)},focus:function(){"nocursor"!=this.cm.options.readOnly&&(this.selectionInEditor()||this.showSelection(this.prepareSelection(),!0),this.div.focus())},blur:function(){this.div.blur()},getField:function(){return this.div},supportsTouch:function(){return!0},receivedFocus:function(){function a(){b.cm.state.focused&&(b.pollSelection(),b.polling.set(b.cm.options.pollInterval,a))}var b=this;this.selectionInEditor()?this.pollSelection():kd(this.cm,function(){return b.cm.curOp.selectionChanged=!0}),this.polling.set(this.cm.options.pollInterval,a)},selectionChanged:function(){var a=window.getSelection();return a.anchorNode!=this.lastAnchorNode||a.anchorOffset!=this.lastAnchorOffset||a.focusNode!=this.lastFocusNode||a.focusOffset!=this.lastFocusOffset},pollSelection:function(){if(!this.composing&&null==this.readDOMTimeout&&!this.gracePeriod&&this.selectionChanged()){var a=window.getSelection(),b=this.cm;this.rememberSelection();var c=Yf(b,a.anchorNode,a.anchorOffset),d=Yf(b,a.focusNode,a.focusOffset);c&&d&&kd(b,function(){ne(b.doc,Jd(c,d),Eg),(c.bad||d.bad)&&(b.curOp.selectionChanged=!0)})}},pollContent:function(){null!=this.readDOMTimeout&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var a=this.cm,b=a.display,c=a.doc.sel.primary(),d=c.from(),e=c.to();if(0==d.ch&&d.line>a.firstLine()&&(d=H(d.line-1,z(a.doc,d.line-1).length)),e.ch==z(a.doc,e.line).text.length&&e.line<a.lastLine()&&(e=H(e.line+1,0)),d.line<b.viewFrom||e.line>b.viewTo-1)return!1;var f,g,h;d.line==b.viewFrom||0==(f=xc(a,d.line))?(g=D(b.view[0].line),h=b.view[0].node):(g=D(b.view[f].line),h=b.view[f-1].node.nextSibling);var i,j,k=xc(a,e.line);if(k==b.view.length-1?(i=b.viewTo-1,j=b.lineDiv.lastChild):(i=D(b.view[k+1].line)-1,j=b.view[k+1].node.previousSibling),!h)return!1;for(var l=a.doc.splitLines(Xf(a,h,j,g,i)),m=A(a.doc,H(g,0),H(i,z(a.doc,i).text.length));l.length>1&&m.length>1;)if(p(l)==p(m))l.pop(),m.pop(),i--;else{if(l[0]!=m[0])break;l.shift(),m.shift(),g++}for(var n=0,o=0,q=l[0],r=m[0],s=Math.min(q.length,r.length);n<s&&q.charCodeAt(n)==r.charCodeAt(n);)++n;for(var t=p(l),u=p(m),v=Math.min(t.length-(1==l.length?n:0),u.length-(1==m.length?n:0));o<v&&t.charCodeAt(t.length-o-1)==u.charCodeAt(u.length-o-1);)++o;l[l.length-1]=t.slice(0,t.length-o).replace(/^\u200b+/,""),l[0]=l[0].slice(n).replace(/\u200b+$/,"");var w=H(g,n),x=H(i,m.length?p(m).length-o:0);return l.length>1||l[0]||I(w,x)?(De(a.doc,l,w,x,"+input"),!0):void 0},ensurePolled:function(){this.forceCompositionEnd()},reset:function(){this.forceCompositionEnd()},forceCompositionEnd:function(){this.composing&&(this.composing=null,this.pollContent()||od(this.cm),this.div.blur(),this.div.focus())},readFromDOMSoon:function(){var a=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout(function(){a.readDOMTimeout=null,a.composing||!a.cm.isReadOnly()&&a.pollContent()||kd(a.cm,function(){return od(a.cm)})},80))},setUneditable:function(a){a.contentEditable="false"},onKeyPress:function(a){a.preventDefault(),this.cm.isReadOnly()||ld(this.cm,Lf)(this.cm,String.fromCharCode(null==a.charCode?a.keyCode:a.charCode),0)},readOnlyChanged:function(a){this.div.contentEditable=String("nocursor"!=a)},onContextMenu:s,resetPosition:s,needsContentAttribute:!0},Uf.prototype),$f.prototype=j({init:function(a){function b(a){if(!Fa(e,a)){if(e.somethingSelected())Kf({lineWise:!1,text:e.getSelections()}),d.inaccurateSelection&&(d.prevInput="",d.inaccurateSelection=!1,g.value=Ah.text.join("\n"),zg(g));else{if(!e.options.lineWiseCopyCut)return;var b=Of(e);Kf({lineWise:!0,text:b.text}),"cut"==a.type?e.setSelections(b.ranges,null,Eg):(d.prevInput="",g.value=b.text.join("\n"),zg(g))}"cut"==a.type&&(e.state.cutIncoming=!0)}}var c=this,d=this,e=this.cm,f=this.wrapper=Qf(),g=this.textarea=f.firstChild;a.wrapper.insertBefore(f,a.wrapper.firstChild),pg&&(g.style.width="0px"),Pg(g,"input",function(){gg&&hg>=9&&c.hasSelection&&(c.hasSelection=null),d.poll()}),Pg(g,"paste",function(a){Fa(e,a)||Mf(a,e)||(e.state.pasteIncoming=!0,d.fastPoll())}),Pg(g,"cut",b),Pg(g,"copy",b),Pg(a.scroller,"paste",function(b){Nb(a,b)||Fa(e,b)||(e.state.pasteIncoming=!0,d.focus())}),Pg(a.lineSpace,"selectstart",function(b){Nb(a,b)||Ja(b)}),Pg(g,"compositionstart",function(){var a=e.getCursor("from");d.composing&&d.composing.range.clear(),d.composing={start:a,range:e.markText(a,e.getCursor("to"),{className:"CodeMirror-composing"})}}),Pg(g,"compositionend",function(){d.composing&&(d.poll(),d.composing.range.clear(),d.composing=null)})},prepareSelection:function(){var a=this.cm,b=a.display,c=a.doc,d=zc(a);if(a.options.moveInputWithCursor){var e=lc(a,c.sel.primary().head,"div"),f=b.wrapper.getBoundingClientRect(),g=b.lineDiv.getBoundingClientRect();d.teTop=Math.max(0,Math.min(b.wrapper.clientHeight-10,e.top+g.top-f.top)),d.teLeft=Math.max(0,Math.min(b.wrapper.clientWidth-10,e.left+g.left-f.left))}return d},showSelection:function(a){var b=this.cm,d=b.display;c(d.cursorDiv,a.cursors),c(d.selectionDiv,a.selection),null!=a.teTop&&(this.wrapper.style.top=a.teTop+"px",this.wrapper.style.left=a.teLeft+"px")},reset:function(a){if(!this.contextMenuPending){var b,c,d=this.cm,e=d.doc;if(d.somethingSelected()){this.prevInput="";var f=e.sel.primary();b=Tg&&(f.to().line-f.from().line>100||(c=d.getSelection()).length>1e3);var g=b?"-":c||d.getSelection();this.textarea.value=g,d.state.focused&&zg(this.textarea),gg&&hg>=9&&(this.hasSelection=g)}else a||(this.prevInput=this.textarea.value="",gg&&hg>=9&&(this.hasSelection=null));this.inaccurateSelection=b}},getField:function(){return this.textarea},supportsTouch:function(){return!1},focus:function(){if("nocursor"!=this.cm.options.readOnly&&(!qg||f()!=this.textarea))try{this.textarea.focus()}catch(a){}},blur:function(){this.textarea.blur()},resetPosition:function(){this.wrapper.style.top=this.wrapper.style.left=0},receivedFocus:function(){this.slowPoll()},slowPoll:function(){var a=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){a.poll(),a.cm.state.focused&&a.slowPoll()})},fastPoll:function(){function a(){var d=c.poll();d||b?(c.pollingFast=!1,c.slowPoll()):(b=!0,c.polling.set(60,a))}var b=!1,c=this;c.pollingFast=!0,c.polling.set(20,a)},poll:function(){var a=this,b=this.cm,c=this.textarea,d=this.prevInput;if(this.contextMenuPending||!b.state.focused||Sg(c)&&!d&&!this.composing||b.isReadOnly()||b.options.disableInput||b.state.keySeq)return!1;var e=c.value;if(e==d&&!b.somethingSelected())return!1;if(gg&&hg>=9&&this.hasSelection===e||rg&&/[\uf700-\uf7ff]/.test(e))return b.display.input.reset(),!1;if(b.doc.sel==b.display.selForContextMenu){var f=e.charCodeAt(0);if(8203!=f||d||(d="​"),8666==f)return this.reset(),this.cm.execCommand("undo")}for(var g=0,h=Math.min(d.length,e.length);g<h&&d.charCodeAt(g)==e.charCodeAt(g);)++g;return kd(b,function(){Lf(b,e.slice(g),d.length-g,null,a.composing?"*compose":null),e.length>1e3||e.indexOf("\n")>-1?c.value=a.prevInput="":a.prevInput=e,a.composing&&(a.composing.range.clear(),a.composing.range=b.markText(a.composing.start,b.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},ensurePolled:function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},onKeyPress:function(){gg&&hg>=9&&(this.hasSelection=null),this.fastPoll()},onContextMenu:function(a){function b(){if(null!=g.selectionStart){var a=e.somethingSelected(),b="​"+(a?g.value:"");g.value="⇚",g.value=b,d.prevInput=a?"":"​",g.selectionStart=1,g.selectionEnd=b.length,f.selForContextMenu=e.doc.sel}}function c(){if(d.contextMenuPending=!1,d.wrapper.style.cssText=l,g.style.cssText=k,gg&&hg<9&&f.scrollbars.setScrollTop(f.scroller.scrollTop=i),null!=g.selectionStart){(!gg||gg&&hg<9)&&b();var a=0,c=function(){f.selForContextMenu==e.doc.sel&&0==g.selectionStart&&g.selectionEnd>0&&"​"==d.prevInput?ld(e,ve)(e):a++<10?f.detectingSelectAll=setTimeout(c,500):f.input.reset()};f.detectingSelectAll=setTimeout(c,200)}}var d=this,e=d.cm,f=e.display,g=d.textarea,h=wc(e,a),i=f.scroller.scrollTop;if(h&&!lg){var j=e.options.resetSelectionOnContextMenu;j&&e.doc.sel.contains(h)==-1&&ld(e,ne)(e.doc,Jd(h),Eg);var k=g.style.cssText,l=d.wrapper.style.cssText;d.wrapper.style.cssText="position: absolute";var m=d.wrapper.getBoundingClientRect();g.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(a.clientY-m.top-5)+"px; left: "+(a.clientX-m.left-5)+"px;\n z-index: 1000; background: "+(gg?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);";var n;if(ig&&(n=window.scrollY),f.input.focus(),ig&&window.scrollTo(null,n),f.input.reset(),e.somethingSelected()||(g.value=d.prevInput=" "),d.contextMenuPending=!0,f.selForContextMenu=e.doc.sel,clearTimeout(f.detectingSelectAll),gg&&hg>=9&&b(),xg){Ma(a);var o=function(){Da(window,"mouseup",o),setTimeout(c,20)};Pg(window,"mouseup",o)}else setTimeout(c,50)}},readOnlyChanged:function(a){a||this.reset()},setUneditable:s,needsContentAttribute:!1},$f.prototype),Df(Hf),Rf(Hf);var Bh="iter insert remove copy getEditor constructor".split(" ");for(var Ch in jh.prototype)jh.prototype.hasOwnProperty(Ch)&&m(Bh,Ch)<0&&(Hf.prototype[Ch]=function(a){return function(){return a.apply(this.doc,arguments)}}(jh.prototype[Ch]));return Ia(jh),Hf.inputStyles={textarea:$f,contenteditable:Uf},Hf.defineMode=function(a){Hf.defaults.mode||"null"==a||(Hf.defaults.mode=a),Sa.apply(this,arguments)},Hf.defineMIME=Ta,Hf.defineMode("null",function(){return{token:function(a){return a.skipToEnd()}}}),Hf.defineMIME("text/plain","null"),Hf.defineExtension=function(a,b){Hf.prototype[a]=b},Hf.defineDocExtension=function(a,b){jh.prototype[a]=b},Hf.fromTextArea=_f,ag(Hf),Hf.version="5.21.0",Hf}),function(a){"object"==typeof exports&&"object"==typeof module?a(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],a):a(CodeMirror)}(function(a){"use strict";function b(a,b,c,d,e,f){this.indented=a,this.column=b,this.type=c,this.info=d,this.align=e,this.prev=f}function c(a,c,d,e){var f=a.indented;return a.context&&"statement"==a.context.type&&"statement"!=d&&(f=a.context.indented),a.context=new b(f,c,d,e,null,a.context)}function d(a){var b=a.context.type;return")"!=b&&"]"!=b&&"}"!=b||(a.indented=a.context.indented),a.context=a.context.prev}function e(a,b,c){return"variable"==b.prevToken||"variable-3"==b.prevToken||(!!/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(a.string.slice(0,c))||(!(!b.typeAtEndOfLine||a.column()!=a.indentation())||void 0))}function f(a){for(;;){if(!a||"top"==a.type)return!0;if("}"==a.type&&"namespace"!=a.prev.info)return!1;a=a.prev}}function g(a){for(var b={},c=a.split(" "),d=0;d<c.length;++d)b[c[d]]=!0;return b}function h(a,b){return"function"==typeof a?a(b):a.propertyIsEnumerable(b)}function i(a,b){if(!b.startOfLine)return!1;for(var c,d=null;c=a.peek();){if("\\"==c&&a.match(/^.$/)){d=i;break}if("/"==c&&a.match(/^\/[\/\*]/,!1))break;a.next()}return b.tokenize=d,"meta"}function j(a,b){return"variable-3"==b.prevToken&&"variable-3"}function k(a){return a.eatWhile(/[\w\.']/),"number"}function l(a,b){if(a.backUp(1),a.match(/(R|u8R|uR|UR|LR)/)){var c=a.match(/"([^\s\\()]{0,16})\(/);return!!c&&(b.cpp11RawStringDelim=c[1],b.tokenize=o,o(a,b))}return a.match(/(u8|u|U|L)/)?!!a.match(/["']/,!1)&&"string":(a.next(),!1)}function m(a){var b=/(\w+)::(\w+)$/.exec(a);return b&&b[1]==b[2]}function n(a,b){for(var c;null!=(c=a.next());)if('"'==c&&!a.eat('"')){b.tokenize=null;break}return"string"}function o(a,b){var c=b.cpp11RawStringDelim.replace(/[^\w\s]/g,"\\$&"),d=a.match(new RegExp(".*?\\)"+c+'"'));return d?b.tokenize=null:a.skipToEnd(),"string"}function p(b,c){function d(a){if(a)for(var b in a)a.hasOwnProperty(b)&&e.push(b)}"string"==typeof b&&(b=[b]);var e=[];d(c.keywords),d(c.types),d(c.builtin),d(c.atoms),e.length&&(c.helperType=b[0],a.registerHelper("hintWords",b[0],e));for(var f=0;f<b.length;++f)a.defineMIME(b[f],c)}function q(a,b){for(var c=!1;!a.eol();){if(!c&&a.match('"""')){b.tokenize=null;break}c="\\"==a.next()&&!c;
6
- }return"string"}function r(a){return function(b,c){for(var d,e=!1,f=!1;!b.eol();){if(!a&&!e&&b.match('"')){f=!0;break}if(a&&b.match('"""')){f=!0;break}d=b.next(),!e&&"$"==d&&b.match("{")&&b.skipTo("}"),e=!e&&"\\"==d&&!a}return!f&&a||(c.tokenize=null),"string"}}function s(a){return function(b,c){for(var d,e=!1,f=!1;!b.eol();){if(!e&&b.match('"')&&("single"==a||b.match('""'))){f=!0;break}if(!e&&b.match("``")){v=s(a),f=!0;break}d=b.next(),e="single"==a&&!e&&"\\"==d}return f&&(c.tokenize=null),"string"}}a.defineMode("clike",function(g,i){function j(a,b){var c=a.next();if(y[c]){var d=y[c](a,b);if(d!==!1)return d}if('"'==c||"'"==c)return b.tokenize=k(c),b.tokenize(a,b);if(D.test(c))return n=c,null;if(E.test(c)){if(a.backUp(1),a.match(F))return"number";a.next()}if("/"==c){if(a.eat("*"))return b.tokenize=l,l(a,b);if(a.eat("/"))return a.skipToEnd(),"comment"}if(G.test(c)){for(;!a.match(/^\/[\/*]/,!1)&&a.eat(G););return"operator"}if(a.eatWhile(/[\w\$_\xa1-\uffff]/),C)for(;a.match(C);)a.eatWhile(/[\w\$_\xa1-\uffff]/);var e=a.current();return h(s,e)?(h(v,e)&&(n="newstatement"),h(w,e)&&(o=!0),"keyword"):h(t,e)?"variable-3":h(u,e)?(h(v,e)&&(n="newstatement"),"builtin"):h(x,e)?"atom":"variable"}function k(a){return function(b,c){for(var d,e=!1,f=!1;null!=(d=b.next());){if(d==a&&!e){f=!0;break}e=!e&&"\\"==d}return(f||!e&&!z)&&(c.tokenize=null),"string"}}function l(a,b){for(var c,d=!1;c=a.next();){if("/"==c&&d){b.tokenize=null;break}d="*"==c}return"comment"}function m(a,b){i.typeFirstDefinitions&&a.eol()&&f(b.context)&&(b.typeAtEndOfLine=e(a,b,a.pos))}var n,o,p=g.indentUnit,q=i.statementIndentUnit||p,r=i.dontAlignCalls,s=i.keywords||{},t=i.types||{},u=i.builtin||{},v=i.blockKeywords||{},w=i.defKeywords||{},x=i.atoms||{},y=i.hooks||{},z=i.multiLineStrings,A=i.indentStatements!==!1,B=i.indentSwitch!==!1,C=i.namespaceSeparator,D=i.isPunctuationChar||/[\[\]{}\(\),;\:\.]/,E=i.numberStart||/[\d\.]/,F=i.number||/^(?:0x[a-f\d]+|0b[01]+|(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?)(u|ll?|l|f)?/i,G=i.isOperatorChar||/[+\-*&%=<>!?|\/]/;return{startState:function(a){return{tokenize:null,context:new b((a||0)-p,0,"top",null,(!1)),indented:0,startOfLine:!0,prevToken:null}},token:function(a,b){var g=b.context;if(a.sol()&&(null==g.align&&(g.align=!1),b.indented=a.indentation(),b.startOfLine=!0),a.eatSpace())return m(a,b),null;n=o=null;var h=(b.tokenize||j)(a,b);if("comment"==h||"meta"==h)return h;if(null==g.align&&(g.align=!0),";"==n||":"==n||","==n&&a.match(/^\s*(?:\/\/.*)?$/,!1))for(;"statement"==b.context.type;)d(b);else if("{"==n)c(b,a.column(),"}");else if("["==n)c(b,a.column(),"]");else if("("==n)c(b,a.column(),")");else if("}"==n){for(;"statement"==g.type;)g=d(b);for("}"==g.type&&(g=d(b));"statement"==g.type;)g=d(b)}else n==g.type?d(b):A&&(("}"==g.type||"top"==g.type)&&";"!=n||"statement"==g.type&&"newstatement"==n)&&c(b,a.column(),"statement",a.current());if("variable"==h&&("def"==b.prevToken||i.typeFirstDefinitions&&e(a,b,a.start)&&f(b.context)&&a.match(/^\s*\(/,!1))&&(h="def"),y.token){var k=y.token(a,b,h);void 0!==k&&(h=k)}return"def"==h&&i.styleDefs===!1&&(h="variable"),b.startOfLine=!1,b.prevToken=o?"def":h||n,m(a,b),h},indent:function(b,c){if(b.tokenize!=j&&null!=b.tokenize||b.typeAtEndOfLine)return a.Pass;var d=b.context,e=c&&c.charAt(0);if("statement"==d.type&&"}"==e&&(d=d.prev),i.dontIndentStatements)for(;"statement"==d.type&&i.dontIndentStatements.test(d.info);)d=d.prev;if(y.indent){var f=y.indent(b,d,c);if("number"==typeof f)return f}var g=e==d.type,h=d.prev&&"switch"==d.prev.info;if(i.allmanIndentation&&/[{(]/.test(e)){for(;"top"!=d.type&&"}"!=d.type;)d=d.prev;return d.indented}return"statement"==d.type?d.indented+("{"==e?0:q):!d.align||r&&")"==d.type?")"!=d.type||g?d.indented+(g?0:p)+(g||!h||/^(?:case|default)\b/.test(c)?0:p):d.indented+q:d.column+(g?0:1)},electricInput:B?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",fold:"brace"}});var t="auto if break case register continue return default do sizeof static else struct switch extern typedef union for goto while enum const volatile",u="int long char short double float unsigned signed void size_t ptrdiff_t";p(["text/x-csrc","text/x-c","text/x-chdr"],{name:"clike",keywords:g(t),types:g(u+" bool _Complex _Bool float_t double_t intptr_t intmax_t int8_t int16_t int32_t int64_t uintptr_t uintmax_t uint8_t uint16_t uint32_t uint64_t"),blockKeywords:g("case do else for if switch while struct"),defKeywords:g("struct"),typeFirstDefinitions:!0,atoms:g("null true false"),hooks:{"#":i,"*":j},modeProps:{fold:["brace","include"]}}),p(["text/x-c++src","text/x-c++hdr"],{name:"clike",keywords:g(t+" asm dynamic_cast namespace reinterpret_cast try explicit new static_cast typeid catch operator template typename class friend private this using const_cast inline public throw virtual delete mutable protected alignas alignof constexpr decltype nullptr noexcept thread_local final static_assert override"),types:g(u+" bool wchar_t"),blockKeywords:g("catch class do else finally for if struct switch try while"),defKeywords:g("class namespace struct enum union"),typeFirstDefinitions:!0,atoms:g("true false null"),dontIndentStatements:/^template$/,hooks:{"#":i,"*":j,u:l,U:l,L:l,R:l,0:k,1:k,2:k,3:k,4:k,5:k,6:k,7:k,8:k,9:k,token:function(a,b,c){if("variable"==c&&"("==a.peek()&&(";"==b.prevToken||null==b.prevToken||"}"==b.prevToken)&&m(a.current()))return"def"}},namespaceSeparator:"::",modeProps:{fold:["brace","include"]}}),p("text/x-java",{name:"clike",keywords:g("abstract assert break case catch class const continue default do else enum extends final finally float for goto if implements import instanceof interface native new package private protected public return static strictfp super switch synchronized this throw throws transient try volatile while"),types:g("byte short int long float double boolean char void Boolean Byte Character Double Float Integer Long Number Object Short String StringBuffer StringBuilder Void"),blockKeywords:g("catch class do else finally for if switch try while"),defKeywords:g("class interface package enum"),typeFirstDefinitions:!0,atoms:g("true false null"),number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+\.?\d*|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,hooks:{"@":function(a){return a.eatWhile(/[\w\$_]/),"meta"}},modeProps:{fold:["brace","import"]}}),p("text/x-csharp",{name:"clike",keywords:g("abstract as async await 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"),types:g("Action Boolean Byte Char DateTime DateTimeOffset Decimal Double Func Guid Int16 Int32 Int64 Object SByte Single String Task TimeSpan UInt16 UInt32 UInt64 bool byte char decimal double short int long object sbyte float string ushort uint ulong"),blockKeywords:g("catch class do else finally for foreach if struct switch try while"),defKeywords:g("class interface namespace struct var"),typeFirstDefinitions:!0,atoms:g("true false null"),hooks:{"@":function(a,b){return a.eat('"')?(b.tokenize=n,n(a,b)):(a.eatWhile(/[\w\$_]/),"meta")}}}),p("text/x-scala",{name:"clike",keywords:g("abstract case catch class def do else extends final finally for forSome if implicit import lazy match new null object override package private protected return sealed super this throw trait try type val var while with yield _ : = => <- <: <% >: # @ assert assume require print println printf readLine readBoolean readByte readShort readChar readInt readLong readFloat readDouble :: #:: "),types:g("AnyVal App Application Array BufferedIterator BigDecimal BigInt Char Console Either Enumeration Equiv Error Exception Fractional Function IndexedSeq Int 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:g("catch class do else finally for forSome if match switch try while"),defKeywords:g("class def object package trait type val var"),atoms:g("true false null"),indentStatements:!1,indentSwitch:!1,hooks:{"@":function(a){return a.eatWhile(/[\w\$_]/),"meta"},'"':function(a,b){return!!a.match('""')&&(b.tokenize=q,b.tokenize(a,b))},"'":function(a){return a.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},"=":function(a,c){var d=c.context;return!("}"!=d.type||!d.align||!a.eat(">"))&&(c.context=new b(d.indented,d.column,d.type,d.info,null,d.prev),"operator")}},modeProps:{closeBrackets:{triples:'"'}}}),p("text/x-kotlin",{name:"clike",keywords:g("package as typealias class interface this super val var fun for is in This throw return break continue object if else while do try when !in !is as? file import where by get set abstract enum open inner override private public internal protected catch finally out final vararg reified dynamic companion constructor init sealed field property receiver param sparam lateinit data inline noinline tailrec external annotation crossinline const operator infix"),types:g("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"),intendSwitch:!1,indentStatements:!1,multiLineStrings:!0,blockKeywords:g("catch class do else finally for if where try while enum"),defKeywords:g("class val var object package interface fun"),atoms:g("true false null this"),hooks:{'"':function(a,b){return b.tokenize=r(a.match('""')),b.tokenize(a,b)}},modeProps:{closeBrackets:{triples:'"'}}}),p(["x-shader/x-vertex","x-shader/x-fragment"],{name:"clike",keywords:g("sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout"),types:g("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4"),blockKeywords:g("for while do if else struct"),builtin:g("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:g("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"),indentSwitch:!1,hooks:{"#":i},modeProps:{fold:["brace","include"]}}),p("text/x-nesc",{name:"clike",keywords:g(t+"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"),types:g(u),blockKeywords:g("case do else for if switch while struct"),atoms:g("null true false"),hooks:{"#":i},modeProps:{fold:["brace","include"]}}),p("text/x-objectivec",{name:"clike",keywords:g(t+"inline restrict _Bool _Complex _Imaginary BOOL Class bycopy byref id IMP in inout nil oneway out Protocol SEL self super atomic nonatomic retain copy readwrite readonly"),types:g(u),atoms:g("YES NO NULL NILL ON OFF true false"),hooks:{"@":function(a){return a.eatWhile(/[\w\$]/),"keyword"},"#":i,indent:function(a,b,c){if("statement"==b.type&&/^@\w/.test(c))return b.indented}},modeProps:{fold:"brace"}}),p("text/x-squirrel",{name:"clike",keywords:g("base break clone continue const default delete enum extends function in class foreach local resume return this throw typeof yield constructor instanceof static"),types:g(u),blockKeywords:g("case catch class else for foreach if switch try while"),defKeywords:g("function local class"),typeFirstDefinitions:!0,atoms:g("true false null"),hooks:{"#":i},modeProps:{fold:["brace","include"]}});var v=null;p("text/x-ceylon",{name:"clike",keywords:g("abstracts alias assembly assert assign break case catch class continue dynamic else exists extends finally for function given if import in interface is let module new nonempty object of out outer package return satisfies super switch then this throw try value void while"),types:function(a){var b=a.charAt(0);return b===b.toUpperCase()&&b!==b.toLowerCase()},blockKeywords:g("case catch class dynamic else finally for function if interface module new object switch try while"),defKeywords:g("class dynamic function interface module object package value"),builtin:g("abstract actual aliased annotation by default deprecated doc final formal late license native optional sealed see serializable shared suppressWarnings tagged throws variable"),isPunctuationChar:/[\[\]{}\(\),;\:\.`]/,isOperatorChar:/[+\-*&%=<>!?|^~:\/]/,numberStart:/[\d#$]/,number:/^(?:#[\da-fA-F_]+|\$[01_]+|[\d_]+[kMGTPmunpf]?|[\d_]+\.[\d_]+(?:[eE][-+]?\d+|[kMGTPmunpf]|)|)/i,multiLineStrings:!0,typeFirstDefinitions:!0,atoms:g("true false null larger smaller equal empty finished"),indentSwitch:!1,styleDefs:!1,hooks:{"@":function(a){return a.eatWhile(/[\w\$_]/),"meta"},'"':function(a,b){return b.tokenize=s(a.match('""')?"triple":"single"),b.tokenize(a,b)},"`":function(a,b){return!(!v||!a.match("`"))&&(b.tokenize=v,v=null,b.tokenize(a,b))},"'":function(a){return a.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},token:function(a,b,c){if(("variable"==c||"variable-3"==c)&&"."==b.prevToken)return"variable-2"}},modeProps:{fold:["brace","import"],closeBrackets:{triples:'"'}}})}),function(a){"object"==typeof exports&&"object"==typeof module?a(require("../../lib/codemirror"),require("../htmlmixed/htmlmixed"),require("../clike/clike")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../htmlmixed/htmlmixed","../clike/clike"],a):a(CodeMirror)}(function(a){"use strict";function b(a){for(var b={},c=a.split(" "),d=0;d<c.length;++d)b[c[d]]=!0;return b}function c(a,b,e){return 0==a.length?d(b):function(f,g){for(var h=a[0],i=0;i<h.length;i++)if(f.match(h[i][0]))return g.tokenize=c(a.slice(1),b),h[i][1];return g.tokenize=d(b,e),"string"}}function d(a,b){return function(c,d){return e(c,d,a,b)}}function e(a,b,d,e){if(e!==!1&&a.match("${",!1)||a.match("{$",!1))return b.tokenize=null,"string";if(e!==!1&&a.match(/^\$[a-zA-Z_][a-zA-Z0-9_]*/))return a.match("[",!1)&&(b.tokenize=c([[["[",null]],[[/\d[\w\.]*/,"number"],[/\$[a-zA-Z_][a-zA-Z0-9_]*/,"variable-2"],[/[\w\$]+/,"variable"]],[["]",null]]],d,e)),a.match(/\-\>\w/,!1)&&(b.tokenize=c([[["->",null]],[[/[\w]+/,"variable"]]],d,e)),"variable-2";for(var f=!1;!a.eol()&&(f||e===!1||!a.match("{$",!1)&&!a.match(/^(\$[a-zA-Z_][a-zA-Z0-9_]*|\$\{)/,!1));){if(!f&&a.match(d)){b.tokenize=null,b.tokStack.pop(),b.tokStack.pop();break}f="\\"==a.next()&&!f}return"string"}var f="abstract and array as break case catch class clone const continue declare default do else elseif enddeclare endfor endforeach endif endswitch endwhile extends final for foreach function global goto if implements interface instanceof namespace new or private protected public static switch throw trait try use var while xor die echo empty exit eval include include_once isset list require require_once return print unset __halt_compiler self static parent yield insteadof finally",g="true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__",h="func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents file_put_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists array_intersect_key array_combine array_column pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once json_decode json_encode json_last_error json_last_error_msg curl_close curl_copy_handle curl_errno curl_error curl_escape curl_exec curl_file_create curl_getinfo curl_init curl_multi_add_handle curl_multi_close curl_multi_exec curl_multi_getcontent curl_multi_info_read curl_multi_init curl_multi_remove_handle curl_multi_select curl_multi_setopt curl_multi_strerror curl_pause curl_reset curl_setopt_array curl_setopt curl_share_close curl_share_init curl_share_setopt curl_strerror curl_unescape curl_version mysqli_affected_rows mysqli_autocommit mysqli_change_user mysqli_character_set_name mysqli_close mysqli_commit mysqli_connect_errno mysqli_connect_error mysqli_connect mysqli_data_seek mysqli_debug mysqli_dump_debug_info mysqli_errno mysqli_error_list mysqli_error mysqli_fetch_all mysqli_fetch_array mysqli_fetch_assoc mysqli_fetch_field_direct mysqli_fetch_field mysqli_fetch_fields mysqli_fetch_lengths mysqli_fetch_object mysqli_fetch_row mysqli_field_count mysqli_field_seek mysqli_field_tell mysqli_free_result mysqli_get_charset mysqli_get_client_info mysqli_get_client_stats mysqli_get_client_version mysqli_get_connection_stats mysqli_get_host_info mysqli_get_proto_info mysqli_get_server_info mysqli_get_server_version mysqli_info mysqli_init mysqli_insert_id mysqli_kill mysqli_more_results mysqli_multi_query mysqli_next_result mysqli_num_fields mysqli_num_rows mysqli_options mysqli_ping mysqli_prepare mysqli_query mysqli_real_connect mysqli_real_escape_string mysqli_real_query mysqli_reap_async_query mysqli_refresh mysqli_rollback mysqli_select_db mysqli_set_charset mysqli_set_local_infile_default mysqli_set_local_infile_handler mysqli_sqlstate mysqli_ssl_set mysqli_stat mysqli_stmt_init mysqli_store_result mysqli_thread_id mysqli_thread_safe mysqli_use_result mysqli_warning_count";a.registerHelper("hintWords","php",[f,g,h].join(" ").split(" ")),a.registerHelper("wordChars","php",/[\w$]/);var i={name:"clike",helperType:"php",keywords:b(f),blockKeywords:b("catch do else elseif for foreach if switch try while finally"),defKeywords:b("class function interface namespace trait"),atoms:b(g),builtin:b(h),multiLineStrings:!0,hooks:{$:function(a){return a.eatWhile(/[\w\$_]/),"variable-2"},"<":function(a,b){var c;if(c=a.match(/<<\s*/)){var e=a.eat(/['"]/);a.eatWhile(/[\w\.]/);var f=a.current().slice(c[0].length+(e?2:1));if(e&&a.eat(e),f)return(b.tokStack||(b.tokStack=[])).push(f,0),b.tokenize=d(f,"'"!=e),"string"}return!1},"#":function(a){for(;!a.eol()&&!a.match("?>",!1);)a.next();return"comment"},"/":function(a){if(a.eat("/")){for(;!a.eol()&&!a.match("?>",!1);)a.next();return"comment"}return!1},'"':function(a,b){return(b.tokStack||(b.tokStack=[])).push('"',0),b.tokenize=d('"'),"string"},"{":function(a,b){return b.tokStack&&b.tokStack.length&&b.tokStack[b.tokStack.length-1]++,!1},"}":function(a,b){return b.tokStack&&b.tokStack.length>0&&!--b.tokStack[b.tokStack.length-1]&&(b.tokenize=d(b.tokStack[b.tokStack.length-2])),!1}}};a.defineMode("php",function(b,c){function d(b,c){var d=c.curMode==f;if(b.sol()&&c.pending&&'"'!=c.pending&&"'"!=c.pending&&(c.pending=null),d)return d&&null==c.php.tokenize&&b.match("?>")?(c.curMode=e,c.curState=c.html,c.php.context.prev||(c.php=null),"meta"):f.token(b,c.curState);if(b.match(/^<\?\w*/))return c.curMode=f,c.php||(c.php=a.startState(f,e.indent(c.html,""))),c.curState=c.php,"meta";if('"'==c.pending||"'"==c.pending){for(;!b.eol()&&b.next()!=c.pending;);var g="string"}else if(c.pending&&b.pos<c.pending.end){b.pos=c.pending.end;var g=c.pending.style}else var g=e.token(b,c.curState);c.pending&&(c.pending=null);var h,i=b.current(),j=i.search(/<\?/);return j!=-1&&("string"==g&&(h=i.match(/[\'\"]$/))&&!/\?>/.test(i)?c.pending=h[0]:c.pending={end:b.pos,style:g},b.backUp(i.length-j)),g}var e=a.getMode(b,"text/html"),f=a.getMode(b,i);return{startState:function(){var b=a.startState(e),d=c.startOpen?a.startState(f):null;return{html:b,php:d,curMode:c.startOpen?f:e,curState:c.startOpen?d:b,pending:null}},copyState:function(b){var c,d=b.html,g=a.copyState(e,d),h=b.php,i=h&&a.copyState(f,h);return c=b.curMode==e?g:i,{html:g,php:i,curMode:b.curMode,curState:c,pending:b.pending}},token:d,indent:function(a,b){return a.curMode!=f&&/^\s*<\//.test(b)||a.curMode==f&&/^\?>/.test(b)?e.indent(a.html,b):a.curMode.indent(a.curState,b)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",innerMode:function(a){return{state:a.curState,mode:a.curMode}}}},"htmlmixed","clike"),a.defineMIME("application/x-httpd-php","php"),a.defineMIME("application/x-httpd-php-open",{name:"php",startOpen:!0}),a.defineMIME("text/x-php",i)}),function(a){"object"==typeof exports&&"object"==typeof module?a(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],a):a(CodeMirror)}(function(a){function b(a,b,d,e){var f=a.getLineHandle(b.line),i=b.ch-1,j=i>=0&&h[f.text.charAt(i)]||h[f.text.charAt(++i)];if(!j)return null;var k=">"==j.charAt(1)?1:-1;if(d&&k>0!=(i==b.ch))return null;var l=a.getTokenTypeAt(g(b.line,i+1)),m=c(a,g(b.line,i+(k>0?1:0)),k,l||null,e);return null==m?null:{from:g(b.line,i),to:m&&m.pos,match:m&&m.ch==j.charAt(0),forward:k>0}}function c(a,b,c,d,e){for(var f=e&&e.maxScanLineLength||1e4,i=e&&e.maxScanLines||1e3,j=[],k=e&&e.bracketRegex?e.bracketRegex:/[(){}[\]]/,l=c>0?Math.min(b.line+i,a.lastLine()+1):Math.max(a.firstLine()-1,b.line-i),m=b.line;m!=l;m+=c){var n=a.getLine(m);if(n){var o=c>0?0:n.length-1,p=c>0?n.length:-1;if(!(n.length>f))for(m==b.line&&(o=b.ch-(c<0?1:0));o!=p;o+=c){var q=n.charAt(o);if(k.test(q)&&(void 0===d||a.getTokenTypeAt(g(m,o+1))==d)){var r=h[q];if(">"==r.charAt(1)==c>0)j.push(q);else{if(!j.length)return{pos:g(m,o),ch:q};j.pop()}}}}}return m-c!=(c>0?a.lastLine():a.firstLine())&&null}function d(a,c,d){for(var e=a.state.matchBrackets.maxHighlightLineLength||1e3,h=[],i=a.listSelections(),j=0;j<i.length;j++){var k=i[j].empty()&&b(a,i[j].head,!1,d);if(k&&a.getLine(k.from.line).length<=e){var l=k.match?"CodeMirror-matchingbracket":"CodeMirror-nonmatchingbracket";h.push(a.markText(k.from,g(k.from.line,k.from.ch+1),{className:l})),k.to&&a.getLine(k.to.line).length<=e&&h.push(a.markText(k.to,g(k.to.line,k.to.ch+1),{className:l}))}}if(h.length){f&&a.state.focused&&a.focus();var m=function(){a.operation(function(){for(var a=0;a<h.length;a++)h[a].clear()})};if(!c)return m;setTimeout(m,800)}}function e(a){a.operation(function(){i&&(i(),i=null),i=d(a,!1,a.state.matchBrackets)})}var f=/MSIE \d/.test(navigator.userAgent)&&(null==document.documentMode||document.documentMode<8),g=a.Pos,h={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<"},i=null;a.defineOption("matchBrackets",!1,function(b,c,d){d&&d!=a.Init&&(b.off("cursorActivity",e),i&&(i(),i=null)),c&&(b.state.matchBrackets="object"==typeof c?c:{},b.on("cursorActivity",e))}),a.defineExtension("matchBrackets",function(){d(this,!0)}),a.defineExtension("findMatchingBracket",function(a,c,d){return b(this,a,c,d);
7
- }),a.defineExtension("scanForBracket",function(a,b,d,e){return c(this,a,b,d,e)})});
 
 
 
 
 
 
 
trunk/js/min/tag-it.js DELETED
@@ -1 +0,0 @@
1
- !function(a){a.widget("ui.tagit",{options:{allowDuplicates:!1,caseSensitive:!0,fieldName:"tags",placeholderText:null,readOnly:!1,removeConfirmation:!1,tagLimit:null,availableTags:[],autocomplete:{},showAutocompleteOnFocus:!1,allowSpaces:!1,singleField:!1,singleFieldDelimiter:",",singleFieldNode:null,animate:!0,tabIndex:null,beforeTagAdded:null,afterTagAdded:null,beforeTagRemoved:null,afterTagRemoved:null,onTagClicked:null,onTagLimitExceeded:null,onTagAdded:null,onTagRemoved:null,tagSource:null},_create:function(){var b=this;this.element.is("input")?(this.tagList=a("<ul></ul>").insertAfter(this.element),this.options.singleField=!0,this.options.singleFieldNode=this.element,this.element.addClass("tagit-hidden-field")):this.tagList=this.element.find("ul, ol").andSelf().last(),this.tagInput=a('<input type="text" />').addClass("ui-widget-content"),this.options.readOnly&&this.tagInput.attr("disabled","disabled"),this.options.tabIndex&&this.tagInput.attr("tabindex",this.options.tabIndex),this.options.placeholderText&&this.tagInput.attr("placeholder",this.options.placeholderText),this.options.autocomplete.source||(this.options.autocomplete.source=function(b,c){var d=b.term.toLowerCase(),e=a.grep(this.options.availableTags,function(a){return 0===a.toLowerCase().indexOf(d)});this.options.allowDuplicates||(e=this._subtractArray(e,this.assignedTags())),c(e)}),this.options.showAutocompleteOnFocus&&(this.tagInput.focus(function(a,c){b._showAutocomplete()}),"undefined"==typeof this.options.autocomplete.minLength&&(this.options.autocomplete.minLength=0)),a.isFunction(this.options.autocomplete.source)&&(this.options.autocomplete.source=a.proxy(this.options.autocomplete.source,this)),a.isFunction(this.options.tagSource)&&(this.options.tagSource=a.proxy(this.options.tagSource,this)),this.tagList.addClass("tagit").addClass("ui-widget ui-widget-content ui-corner-all").append(a('<li class="tagit-new"></li>').append(this.tagInput)).click(function(c){var d=a(c.target);if(d.hasClass("tagit-label")){var e=d.closest(".tagit-choice");e.hasClass("removed")||b._trigger("onTagClicked",c,{tag:e,tagLabel:b.tagLabel(e)})}else b.tagInput.focus()});var c=!1;if(this.options.singleField)if(this.options.singleFieldNode){var d=a(this.options.singleFieldNode),e=d.val().split(this.options.singleFieldDelimiter);d.val(""),a.each(e,function(a,d){b.createTag(d,null,!0),c=!0})}else this.options.singleFieldNode=a('<input type="hidden" style="display:none;" value="" name="'+this.options.fieldName+'" />'),this.tagList.after(this.options.singleFieldNode);if(c||this.tagList.children("li").each(function(){a(this).hasClass("tagit-new")||(b.createTag(a(this).text(),a(this).attr("class"),!0),a(this).remove())}),this.tagInput.keydown(function(c){if(c.which==a.ui.keyCode.BACKSPACE&&""===b.tagInput.val()){var d=b._lastTag();!b.options.removeConfirmation||d.hasClass("remove")?b.removeTag(d):b.options.removeConfirmation&&d.addClass("remove ui-state-highlight")}else b.options.removeConfirmation&&b._lastTag().removeClass("remove ui-state-highlight");(c.which===a.ui.keyCode.COMMA&&c.shiftKey===!1||c.which===a.ui.keyCode.ENTER||c.which==a.ui.keyCode.TAB&&""!==b.tagInput.val()||c.which==a.ui.keyCode.SPACE&&b.options.allowSpaces!==!0&&('"'!=a.trim(b.tagInput.val()).replace(/^s*/,"").charAt(0)||'"'==a.trim(b.tagInput.val()).charAt(0)&&'"'==a.trim(b.tagInput.val()).charAt(a.trim(b.tagInput.val()).length-1)&&a.trim(b.tagInput.val()).length-1!==0))&&(c.which===a.ui.keyCode.ENTER&&""===b.tagInput.val()||c.preventDefault(),b.options.autocomplete.autoFocus&&b.tagInput.data("autocomplete-open")||(b.tagInput.autocomplete("close"),b.createTag(b._cleanedInput())))}).blur(function(a){b.tagInput.data("autocomplete-open")||b.createTag(b._cleanedInput())}),this.options.availableTags||this.options.tagSource||this.options.autocomplete.source){var f={select:function(a,c){return b.createTag(c.item.value),!1}};a.extend(f,this.options.autocomplete),f.source=this.options.tagSource||f.source,this.tagInput.autocomplete(f).bind("autocompleteopen.tagit",function(a,c){b.tagInput.data("autocomplete-open",!0)}).bind("autocompleteclose.tagit",function(a,c){b.tagInput.data("autocomplete-open",!1)}),this.tagInput.autocomplete("widget").addClass("tagit-autocomplete")}},destroy:function(){return a.Widget.prototype.destroy.call(this),this.element.unbind(".tagit"),this.tagList.unbind(".tagit"),this.tagInput.removeData("autocomplete-open"),this.tagList.removeClass(["tagit","ui-widget","ui-widget-content","ui-corner-all","tagit-hidden-field"].join(" ")),this.element.is("input")?(this.element.removeClass("tagit-hidden-field"),this.tagList.remove()):(this.element.children("li").each(function(){a(this).hasClass("tagit-new")?a(this).remove():(a(this).removeClass(["tagit-choice","ui-widget-content","ui-state-default","ui-state-highlight","ui-corner-all","remove","tagit-choice-editable","tagit-choice-read-only"].join(" ")),a(this).text(a(this).children(".tagit-label").text()))}),this.singleFieldNode&&this.singleFieldNode.remove()),this},_cleanedInput:function(){return a.trim(this.tagInput.val().replace(/^"(.*)"$/,"$1"))},_lastTag:function(){return this.tagList.find(".tagit-choice:last:not(.removed)")},_tags:function(){return this.tagList.find(".tagit-choice:not(.removed)")},assignedTags:function(){var b=this,c=[];return this.options.singleField?(c=a(this.options.singleFieldNode).val().split(this.options.singleFieldDelimiter),""===c[0]&&(c=[])):this._tags().each(function(){c.push(b.tagLabel(this))}),c},_updateSingleTagsField:function(b){a(this.options.singleFieldNode).val(b.join(this.options.singleFieldDelimiter)).trigger("change")},_subtractArray:function(b,c){for(var d=[],e=0;e<b.length;e++)a.inArray(b[e],c)==-1&&d.push(b[e]);return d},tagLabel:function(b){return this.options.singleField?a(b).find(".tagit-label:first").text():a(b).find("input:first").val()},_showAutocomplete:function(){this.tagInput.autocomplete("search","")},_findTagByLabel:function(b){var c=this,d=null;return this._tags().each(function(e){if(c._formatStr(b)==c._formatStr(c.tagLabel(this)))return d=a(this),!1}),d},_isNew:function(a){return!this._findTagByLabel(a)},_formatStr:function(b){return this.options.caseSensitive?b:a.trim(b.toLowerCase())},_effectExists:function(b){return Boolean(a.effects&&(a.effects[b]||a.effects.effect&&a.effects.effect[b]))},createTag:function(b,c,d){var e=this;if(b=a.trim(b),this.options.preprocessTag&&(b=this.options.preprocessTag(b)),""===b)return!1;if(!this.options.allowDuplicates&&!this._isNew(b)){var f=this._findTagByLabel(b);return this._trigger("onTagExists",null,{existingTag:f,duringInitialization:d})!==!1&&this._effectExists("highlight")&&f.effect("highlight"),!1}if(this.options.tagLimit&&this._tags().length>=this.options.tagLimit)return this._trigger("onTagLimitExceeded",null,{duringInitialization:d}),!1;var g=a(this.options.onTagClicked?'<a class="tagit-label"></a>':'<span class="tagit-label"></span>').text(b),h=a("<li></li>").addClass("tagit-choice ui-widget-content ui-state-default ui-corner-all").addClass(c).append(g);if(this.options.readOnly)h.addClass("tagit-choice-read-only");else{h.addClass("tagit-choice-editable");var i=a("<span></span>").addClass("ui-icon ui-icon-close"),j=a('<a><span class="text-icon">×</span></a>').addClass("tagit-close").append(i).click(function(a){e.removeTag(h)});h.append(j)}if(!this.options.singleField){var k=g.html();h.append('<input type="hidden" value="'+k+'" name="'+this.options.fieldName+'" class="tagit-hidden-field" />')}if(this._trigger("beforeTagAdded",null,{tag:h,tagLabel:this.tagLabel(h),duringInitialization:d})!==!1){if(this.options.singleField){var l=this.assignedTags();l.push(b),this._updateSingleTagsField(l)}this._trigger("onTagAdded",null,h),this.tagInput.val(""),this.tagInput.parent().before(h),this._trigger("afterTagAdded",null,{tag:h,tagLabel:this.tagLabel(h),duringInitialization:d}),this.options.showAutocompleteOnFocus&&!d&&setTimeout(function(){e._showAutocomplete()},0)}},removeTag:function(b,c){if(c="undefined"==typeof c?this.options.animate:c,b=a(b),this._trigger("onTagRemoved",null,b),this._trigger("beforeTagRemoved",null,{tag:b,tagLabel:this.tagLabel(b)})!==!1){if(this.options.singleField){var d=this.assignedTags(),e=this.tagLabel(b);d=a.grep(d,function(a){return a!=e}),this._updateSingleTagsField(d)}if(c){b.addClass("removed");var f=this._effectExists("blind")?["blind",{direction:"horizontal"},"fast"]:["fast"],g=this;f.push(function(){b.remove(),g._trigger("afterTagRemoved",null,{tag:b,tagLabel:g.tagLabel(b)})}),b.fadeOut("fast").hide.apply(b,f).dequeue()}else b.remove(),this._trigger("afterTagRemoved",null,{tag:b,tagLabel:this.tagLabel(b)})}},removeTagByLabel:function(a,b){var c=this._findTagByLabel(a);if(!c)throw"No such tag exists with the name '"+a+"'";this.removeTag(c,b)},removeAll:function(){var a=this;this._tags().each(function(b,c){a.removeTag(c,!1)})}})}(jQuery);
 
trunk/languages/code-snippets-de_DE.mo DELETED
Binary file
trunk/languages/code-snippets-de_DE.po DELETED
@@ -1,1253 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Code Snippets v2.8.0\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2017-02-18 15:58+1100\n"
6
- "PO-Revision-Date: 2017-02-18 16:00+1100\n"
7
- "Last-Translator: Mario Siegmann <mario_siegmann@web.de>\n"
8
- "Language-Team: Mario Siegmann <mario_siegmann@web.de>\n"
9
- "Language: de_DE\n"
10
- "MIME-Version: 1.0\n"
11
- "Content-Type: text/plain; charset=UTF-8\n"
12
- "Content-Transfer-Encoding: 8bit\n"
13
- "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
- "X-Generator: Poedit 1.8.11\n"
15
- "X-Poedit-SourceCharset: UTF-8\n"
16
- "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
17
- "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
18
- "X-Poedit-Basepath: ..\n"
19
- "X-Textdomain-Support: yes\n"
20
- "X-Poedit-SearchPath-0: .\n"
21
-
22
- #: php/admin-menus/class-admin-menu.php:98
23
- msgid "You are not authorized to access this page."
24
- msgstr "Du hast keine Berechtigung diese Seite zu betreten."
25
-
26
- # @ code-snippets
27
- #: php/admin-menus/class-edit-menu.php:13
28
- #: php/admin-menus/class-edit-menu.php:14 php/views/edit.php:25
29
- msgid "Edit Snippet"
30
- msgstr "Codeschnipsel bearbeiten"
31
-
32
- # @ code-snippets
33
- #: php/admin-menus/class-edit-menu.php:37
34
- msgctxt "menu label"
35
- msgid "Add New"
36
- msgstr "Hinzufügen"
37
-
38
- # @ code-snippets
39
- #: php/admin-menus/class-edit-menu.php:38 php/views/edit.php:31
40
- msgid "Add New Snippet"
41
- msgstr "Neuen Codeschnipsel hinzufügen"
42
-
43
- #: php/admin-menus/class-edit-menu.php:178
44
- msgid "Don't Panic"
45
- msgstr "Keine Panik"
46
-
47
- #: php/admin-menus/class-edit-menu.php:179
48
- #, php-format
49
- msgid ""
50
- "The code snippet you are trying to save produced a fatal error on line %d:"
51
- msgstr ""
52
- "Der Codeschnipsel, den Sie versuchen zu speichern, produziert einen fatalen "
53
- "Fehler in Zeile %d:"
54
-
55
- #: php/admin-menus/class-edit-menu.php:181
56
- msgid ""
57
- "The previous version of the snippet is unchanged, and the rest of this site "
58
- "should be functioning normally as before."
59
- msgstr ""
60
- "Die vorherige Version dieses Codeschnipsels ist unverändert und der Rest der "
61
- "Seite sollte normal wie zuvor funktionieren."
62
-
63
- #: php/admin-menus/class-edit-menu.php:182
64
- msgid ""
65
- "Please use the back button in your browser to return to the previous page "
66
- "and try to fix the code error."
67
- msgstr ""
68
- "Bitte nutzen Sie die Zurück-Schaltfläche in Ihrem Browser um zur vorherigen "
69
- "Seite zurückzukehren und versuchen Sie den Fehler zu korrigieren."
70
-
71
- #: php/admin-menus/class-edit-menu.php:183
72
- msgid ""
73
- "If you prefer, you can close this page and discard the changes you just "
74
- "made. No changes will be made to this site."
75
- msgstr ""
76
- "Wenn Sie möchten, können Sie diese Seite schließen und die gerade "
77
- "durchgeführten Änderungen verwerfen. Es werden keine Änderungen an dieser "
78
- "Website vorgenommen."
79
-
80
- # @ code-snippets
81
- #: php/admin-menus/class-edit-menu.php:303 php/class-list-table.php:324
82
- msgid "Description"
83
- msgstr "Beschreibung"
84
-
85
- #: php/admin-menus/class-edit-menu.php:334 php/class-list-table.php:325
86
- msgid "Tags"
87
- msgstr "Stichworte"
88
-
89
- #: php/admin-menus/class-edit-menu.php:338
90
- msgid "Enter a list of tags; separated by commas"
91
- msgstr "Schlagwortliste, Komma getrennt"
92
-
93
- #: php/admin-menus/class-edit-menu.php:358
94
- msgid "Run snippet everywhere"
95
- msgstr "Codeschnipsel überall ausführen"
96
-
97
- #: php/admin-menus/class-edit-menu.php:359
98
- msgid "Only run in administration area"
99
- msgstr "Nur im Administrationsbereich ausführen"
100
-
101
- #: php/admin-menus/class-edit-menu.php:360
102
- msgid "Only run on site front-end"
103
- msgstr "Nur auf öffentlicher Seite ausführen"
104
-
105
- #: php/admin-menus/class-edit-menu.php:364
106
- msgid "Scope"
107
- msgstr "Bereich"
108
-
109
- #: php/admin-menus/class-edit-menu.php:384
110
- msgid "Sharing"
111
- msgstr "Teilen"
112
-
113
- #: php/admin-menus/class-edit-menu.php:388
114
- msgid "Allow this snippet to be activated on individual sites on the network"
115
- msgstr ""
116
- "Diesem Codeschnipsel erlauben, auf individuellen Seiten im Netzwerk "
117
- "aktiviert zu werden"
118
-
119
- #: php/admin-menus/class-edit-menu.php:448
120
- #, php-format
121
- msgid "The snippet has been deactivated due to an error on line %d:"
122
- msgstr ""
123
- "Der Codeschnipsel deaktiviert wurde aufgrund eines Fehlers in Zeile %d:"
124
-
125
- #: php/admin-menus/class-edit-menu.php:453
126
- msgid "The snippet has been deactivated due to an error in the code."
127
- msgstr "Der Codeschnipsel wurde aufgrund eines Fehlers im Code deaktiviert."
128
-
129
- #: php/admin-menus/class-edit-menu.php:460
130
- msgid "An error occurred when saving the snippet."
131
- msgstr "Es trat ein Fehler beim Speichern des Codeschnipsel auf."
132
-
133
- # @ code-snippets
134
- #: php/admin-menus/class-edit-menu.php:465
135
- msgid "Snippet <strong>added</strong>."
136
- msgstr "Codeschnipsel <strong>hinzugefügt</strong>."
137
-
138
- # @ code-snippets
139
- #: php/admin-menus/class-edit-menu.php:466
140
- msgid "Snippet <strong>updated</strong>."
141
- msgstr "Codeschnipsel <strong>aktualisiert</strong>."
142
-
143
- # @ code-snippets
144
- #: php/admin-menus/class-edit-menu.php:467
145
- msgid "Snippet <strong>added</strong> and <strong>activated</strong>."
146
- msgstr ""
147
- "Codeschnipsel <strong>hinzugefügt</strong> und <strong>aktiviert</strong>."
148
-
149
- # @ code-snippets
150
- #: php/admin-menus/class-edit-menu.php:468
151
- msgid "Snippet <strong>updated</strong> and <strong>activated</strong>."
152
- msgstr ""
153
- "Codeschnipsel <strong>aktualisiert</strong> und <strong>aktiviert</strong>."
154
-
155
- #: php/admin-menus/class-edit-menu.php:469
156
- msgid "Snippet <strong>updated</strong> and <strong>deactivated</strong>."
157
- msgstr ""
158
- "Codeschnipsel <strong>aktualisiert</strong> und <strong>deaktiviert</strong>."
159
-
160
- #: php/admin-menus/class-import-menu.php:15
161
- msgctxt "menu label"
162
- msgid "Import"
163
- msgstr "Importieren"
164
-
165
- # @ code-snippets
166
- #: php/admin-menus/class-import-menu.php:16 php/views/import.php:17
167
- msgid "Import Snippets"
168
- msgstr "Codeschnipsel importieren"
169
-
170
- # @ code-snippets
171
- #: php/admin-menus/class-import-menu.php:78
172
- msgid "Code Snippets"
173
- msgstr "Codeschnipsel"
174
-
175
- #: php/admin-menus/class-import-menu.php:79
176
- msgid "Import snippets from a code snippets export file"
177
- msgstr "Importiere Codeschnipsel aus einer Code Snippets Export Datei."
178
-
179
- #: php/admin-menus/class-import-menu.php:93
180
- #, php-format
181
- msgid ""
182
- "Successfully imported <strong>%d</strong> snippet. <a href=\"%s\">Have fun!</"
183
- "a>"
184
- msgid_plural ""
185
- "Successfully imported <strong>%d</strong> snippets. <a href=\"%s\">Have fun!"
186
- "</a>"
187
- msgstr[0] ""
188
- "Erfolgreicher Import des <strong>%d</strong> Codeschnipsel. <a href=\"%s"
189
- "\">Viel Spass!</a>"
190
- msgstr[1] ""
191
- "Erfolgreicher Import der <strong>%d</strong> Codeschnipsel. <a href=\"%s"
192
- "\">Viel Spass!</a>"
193
-
194
- #: php/admin-menus/class-import-menu.php:106
195
- msgid "An error occurred when processing the import file."
196
- msgstr "Ein Fehler trat bei der Verarbeitung der importierten Datei auf."
197
-
198
- #: php/admin-menus/class-manage-menu.php:22
199
- msgctxt "menu label"
200
- msgid "All Snippets"
201
- msgstr "Alle Codeschnipsel"
202
-
203
- # @ code-snippets
204
- #: php/admin-menus/class-manage-menu.php:23
205
- #: php/admin-menus/class-manage-menu.php:39 php/class-admin.php:52
206
- #: php/class-admin.php:111 php/views/manage.php:19
207
- msgid "Snippets"
208
- msgstr "Codeschnipsel"
209
-
210
- #: php/admin-menus/class-manage-menu.php:40
211
- msgctxt "top-level menu label"
212
- msgid "Snippets"
213
- msgstr "Codeschnipsel"
214
-
215
- #: php/admin-menus/class-manage-menu.php:75
216
- msgid ""
217
- "<strong>Warning:</strong> Safe mode is active and snippets will not execute! "
218
- "Remove the <code>CODE_SNIPPETS_SAFE_MODE</code> constant from <code>wp-"
219
- "config.php</code> to turn off safe mode. <a href=\"https://github.com/"
220
- "sheabunge/code-snippets/wiki/Safe-Mode\" target=\"_blank\">Help</a>"
221
- msgstr ""
222
- "<strong>Warnung:</strong> Sicherheitsmodus aktiv! Codeschnipsel werden nicht "
223
- "ausgeführt. Entferne den Parameter <code>CODE_SNIPPETS_SAFE_MODE</code> aus "
224
- "deiner <code>wp-config.php</code> um den Sicherheitsmodus auszuschalten. <a "
225
- "href=\"https://github.com/sheabunge/code-snippets/wiki/Safe-Mode\" target="
226
- "\"_blank\">Hilfe hierzu (engl.)</a>"
227
-
228
- # @ code-snippets
229
- #: php/admin-menus/class-manage-menu.php:81
230
- msgid "Snippet <strong>activated</strong>."
231
- msgstr "Codeschnipsel <strong>aktiviert</strong>."
232
-
233
- # @ code-snippets
234
- #: php/admin-menus/class-manage-menu.php:82
235
- msgid "Selected snippets <strong>activated</strong>."
236
- msgstr "Ausgewählte Codeschnipsel wurden <strong>aktiviert</strong>."
237
-
238
- # @ code-snippets
239
- #: php/admin-menus/class-manage-menu.php:83
240
- msgid "Snippet <strong>deactivated</strong>."
241
- msgstr "Codeschnipsel <strong>deaktiviert</strong>."
242
-
243
- # @ code-snippets
244
- #: php/admin-menus/class-manage-menu.php:84
245
- msgid "Selected snippets <strong>deactivated</strong>."
246
- msgstr "Ausgewählte Codeschnipsel wurden <strong>deaktiviert</strong>."
247
-
248
- # @ code-snippets
249
- #: php/admin-menus/class-manage-menu.php:85
250
- msgid "Snippet <strong>deleted</strong>."
251
- msgstr "Codeschnipsel <strong>gelöscht</strong>."
252
-
253
- # @ code-snippets
254
- #: php/admin-menus/class-manage-menu.php:86
255
- msgid "Selected snippets <strong>deleted</strong>."
256
- msgstr "Ausgewählte Codeschnipsel wurden <strong>gelöscht</strong>."
257
-
258
- #: php/admin-menus/class-settings-menu.php:16
259
- msgctxt "menu label"
260
- msgid "Settings"
261
- msgstr "Einstellungen"
262
-
263
- #: php/admin-menus/class-settings-menu.php:17
264
- msgid "Snippets Settings"
265
- msgstr "Codeschnipsel Einstellungen"
266
-
267
- #: php/admin-menus/class-settings-menu.php:36 php/views/edit.php:135
268
- msgid "Settings"
269
- msgstr "Einstellungen"
270
-
271
- # @ code-snippets
272
- #: php/class-admin.php:110
273
- msgid "Manage your existing snippets"
274
- msgstr "Bestehende Codeschnipsel verwalten"
275
-
276
- # @ code-snippets
277
- #: php/class-admin.php:141
278
- msgid "Visit the WordPress.org plugin page"
279
- msgstr "Die Plugin-Seite bei WordPress.org aufrufen"
280
-
281
- # @ code-snippets
282
- #: php/class-admin.php:142
283
- msgid "About"
284
- msgstr "Über"
285
-
286
- # @ code-snippets
287
- #: php/class-admin.php:146
288
- msgid "Visit the support forums"
289
- msgstr "Die Support-Foren aufrufen"
290
-
291
- # @ code-snippets
292
- #: php/class-admin.php:147
293
- msgid "Support"
294
- msgstr "Support"
295
-
296
- # @ code-snippets
297
- #: php/class-admin.php:151
298
- msgid "Support this plugin's development"
299
- msgstr "Die Entwicklung dieses Plugins unterstützen"
300
-
301
- # @ code-snippets
302
- #: php/class-admin.php:152
303
- msgid "Donate"
304
- msgstr "Spenden"
305
-
306
- #: php/class-admin.php:183
307
- msgid ""
308
- "<strong>Have feedback on Code Snippets?</strong> Please take the time to "
309
- "answer a short survey on how you use this plugin and what you'd like to see "
310
- "changed or added in the future."
311
- msgstr ""
312
- "<strong>Kommentar zu Codeschnipsel?</strong> Nehmen sie sich ein wenig Zeit "
313
- "und beantworten sie bitte eine kurze Umfrage zum Plugin, wie sie es nutzen "
314
- "und welche Funktionen sie in Zukunft gerne verändert oder hinzugefügt haben "
315
- "möchten."
316
-
317
- #: php/class-admin.php:187
318
- msgid "Take the survey now"
319
- msgstr "An der Umfrage teilnehmen"
320
-
321
- #: php/class-admin.php:190
322
- msgid "Dismiss"
323
- msgstr "Verwerfen"
324
-
325
- # @ code-snippets
326
- #: php/class-contextual-help.php:40
327
- msgid "For more information:"
328
- msgstr "Weitere Informationen:"
329
-
330
- #: php/class-contextual-help.php:41
331
- msgid "About Plugin"
332
- msgstr "Über das Plugin"
333
-
334
- #: php/class-contextual-help.php:42
335
- msgid "FAQ"
336
- msgstr "FAQ"
337
-
338
- #: php/class-contextual-help.php:43
339
- msgid "Support Forums"
340
- msgstr "Support-Foren"
341
-
342
- #: php/class-contextual-help.php:44
343
- msgid "Plugin Website"
344
- msgstr "Plugin-Webseite"
345
-
346
- # @ code-snippets
347
- #: php/class-contextual-help.php:55 php/class-contextual-help.php:81
348
- #: php/class-contextual-help.php:114
349
- msgid "Overview"
350
- msgstr "Übersicht"
351
-
352
- # @ code-snippets
353
- #: php/class-contextual-help.php:56
354
- msgid ""
355
- "Snippets are similar to plugins - they both extend and expand the "
356
- "functionality of WordPress. Snippets are more light-weight, just a few lines "
357
- "of code, and do not put as much load on your server. Here you can manage "
358
- "your existing snippets and perform tasks on them such as activating, "
359
- "deactivating, deleting and exporting."
360
- msgstr ""
361
- "Codeschnipsel sind ähnlich wie Plugins - beide erweitern bzw. verändern die "
362
- "Funktionalität. Codeschnipsel sind jedoch weniger komplex und "
363
- "leichtgewichtiger; nur einige Zeilen Code. Damit fällt auch weniger Last auf "
364
- "dem Webserver an. Hier können Sie bereits existierende Codeschnipsel "
365
- "bearbeiten bzw. Aktionen damit ausführen, wie Aktivieren, Deaktivieren, "
366
- "Löschen sowie Exportieren."
367
-
368
- # @ code-snippets
369
- #: php/class-contextual-help.php:61
370
- msgid "Safe Mode"
371
- msgstr "Sicherheitsmodus"
372
-
373
- # @ code-snippets
374
- #: php/class-contextual-help.php:62
375
- msgid ""
376
- "Be sure to check your snippets for errors before you activate them, as a "
377
- "faulty snippet could bring your whole blog down. If your site starts doing "
378
- "strange things, deactivate all your snippets and activate them one at a time."
379
- msgstr ""
380
- "Stellen Sie sicher, dass Sie Ihre Codeschnipsel vor dem Aktivieren "
381
- "überprüfen. Fehlerhafte Codeschnipsel können Ihre gesamte Webseite zum Crash "
382
- "bringen. Falls Ihre Webseite eigenartige Dinge vollführt oder komische "
383
- "Sachen anzeigt, deaktivieren Sie bitte alle Codeschnipsel und aktivieren Sie "
384
- "diese eins nach dem anderen."
385
-
386
- # @ code-snippets
387
- #: php/class-contextual-help.php:63
388
- msgid ""
389
- "If something goes wrong with a snippet and you can't use WordPress, you can "
390
- "cause all snippets to stop executing by adding "
391
- "<code>define('CODE_SNIPPETS_SAFE_MODE', true);</code> to your <code>wp-"
392
- "config.php</code> file. After you have deactivated the offending snippet, "
393
- "you can turn off safe mode by removing this line or replacing <strong>true</"
394
- "strong> with <strong>false</strong>."
395
- msgstr ""
396
- "Falls etwas schief läuft und Sie WordPress nicht mehr verwenden können - "
397
- "sprich: den Admin-Bereich - können Sie alle Codeschnipsel dieses Plugins von "
398
- "der Ausführung abhalten, indem Sie folgende Konstante "
399
- "<code>define( 'CODE_SNIPPETS_SAFE_MODE', true );</code> Ihrer WordPress-"
400
- "Konfigurationsdatei <code>wp-config.php</code> hinzufügen. Nachdem Sie den "
401
- "fehlerhaften Codeschnipsel gefunden und deaktiviert haben, können Sie den "
402
- "Sicherheitsmodus in der <code>wp-config.php</code> wieder entfernen bzw. den "
403
- "Wert der Konstante von <strong>true</strong> auf dann <strong>false</strong> "
404
- "setzen."
405
-
406
- # @ code-snippets
407
- #: php/class-contextual-help.php:68
408
- msgid "Uninstall"
409
- msgstr "Deinstallieren"
410
-
411
- # @ code-snippets
412
- #: php/class-contextual-help.php:69
413
- #, php-format
414
- msgid ""
415
- "When you delete Code Snippets through the Plugins menu in WordPress it will "
416
- "clear up the <code>%1$s</code> table and a few other bits of data stored in "
417
- "the database. If you want to keep this data (ie: you are only temporally "
418
- "uninstalling Code Snippets) then remove the <code>%2$s</code> folder using "
419
- "FTP."
420
- msgstr ""
421
- "Wenn Sie das Codeschnipsel-Plugin <strong>über das Plugins-Menü in WordPress "
422
- "löschen</strong>, wird es die <code>%1$s</code> Tabelle leeren und einige "
423
- "anderen Einstellungen in Ihrer Datenbank. Falls Sie diese Daten jedoch "
424
- "sichern wollen (mit anderen Worten: Sie wollen das Plugin nur temporär "
425
- "deinstallieren), dann sollten Sie den <code>%2$s</code> Ordner lediglich "
426
- "<strong>via FTP</strong> entfernen."
427
-
428
- # @ code-snippets
429
- #: php/class-contextual-help.php:70
430
- msgid ""
431
- "Even if you're sure that you don't want to use Code Snippets ever again on "
432
- "this WordPress installation, you may want to use the export feature to back "
433
- "up your snippets."
434
- msgstr ""
435
- "Auch wenn Sie sicher sind, dass Sie das Codeschnipsel-Plugin niemals mehr in "
436
- "dieser WordPress-Installation verwenden werden, sollten sie vielleicht "
437
- "dennoch vorher die Export-Funktion verwenden, um Ihre Codeschnipsel zu "
438
- "sichern."
439
-
440
- # @ code-snippets
441
- #: php/class-contextual-help.php:82
442
- msgid ""
443
- "Snippets are similar to plugins - they both extend and expand the "
444
- "functionality of WordPress. Snippets are more light-weight, just a few lines "
445
- "of code, and do not put as much load on your server. Here you can add a new "
446
- "snippet, or edit an existing one."
447
- msgstr ""
448
- "Codeschnipsel sind ähnlich wie Plugins - beide erweitern bzw. verändern die "
449
- "Funktionalität. Codeschnipsel sind jedoch weniger komplex und "
450
- "leichtgewichtiger; nur einige Zeilen Code. Damit fällt auch weniger Last auf "
451
- "dem Webserver an. Hier können Sie einen neuen Codeschnipsel hinzufügen oder "
452
- "bereits Existierende bearbeiten."
453
-
454
- # @ code-snippets
455
- #: php/class-contextual-help.php:87
456
- msgid "Finding Snippets"
457
- msgstr "Codeschnipsel finden"
458
-
459
- #: php/class-contextual-help.php:88
460
- msgid ""
461
- "Here are some links to websites which host a large number of snippets that "
462
- "you can add to your site.\n"
463
- "\t\t\t\t<ul>\n"
464
- "\t\t\t\t\t<li><a href=\"http://wp-snippets.com\" title=\"WordPress Snippets"
465
- "\">WP-Snippets</a></li>\n"
466
- "\t\t\t\t\t<li><a href=\"http://wpsnipp.com\" title=\"WP Snipp\">WP Snipp</"
467
- "a></li>\n"
468
- "\t\t\t\t\t<li><a href=\"http://www.catswhocode.com/blog/snippets\" title="
469
- "\"Cats Who Code Snippet Library\">Cats Who Code</a></li>\n"
470
- "\t\t\t\t\t<li><a href=\"http://www.wpfunction.me\">WP Function Me</a></li>\n"
471
- "\t\t\t\t</ul>"
472
- msgstr ""
473
- "Hier sind einige Links zu Webseiten, welche eine große Anzahl an "
474
- "Codeschnipsel zur Verfügung stellen und die verwendet werden können.\n"
475
- "\t\t\t\t<ul>\n"
476
- "\t\t\t\t\t<li><a href=\"http://wp-snippets.com\" title=\"WordPress Snippets"
477
- "\">WP-Snippets</a></li>\n"
478
- "\t\t\t\t\t<li><a href=\"http://wpsnipp.com\" title=\"WP Snipp\">WP Snipp</"
479
- "a></li>\n"
480
- "\t\t\t\t\t<li><a href=\"http://www.catswhocode.com/blog/snippets\" title="
481
- "\"Cats Who Code Snippet Library\">Cats Who Code</a></li>\n"
482
- "\t\t\t\t\t<li><a href=\"http://www.wpfunction.me\">WP Function Me</a></li>\n"
483
- "\t\t\t\t</ul>"
484
-
485
- # @ code-snippets
486
- #: php/class-contextual-help.php:95
487
- msgid ""
488
- "More places to find snippets, as well as a selection of example snippets, "
489
- "can be found in the <a href=\"https://github.com/sheabunge/code-snippets/"
490
- "wiki/Finding-snippets\">plugin documentation</a>"
491
- msgstr ""
492
- "Weitere Orte, um Codeschnipsel zu finden und ebenso eine Sammlung von "
493
- "Beispiel-Schnipseln finden Sie in der <a href=\"https://github.com/sheabunge/"
494
- "code-snippets/wiki/Finding-snippets\">Dokumentation des Plugins</a>."
495
-
496
- # @ code-snippets
497
- #: php/class-contextual-help.php:100
498
- msgid "Adding Snippets"
499
- msgstr "Codeschnipsel hinzufügen"
500
-
501
- # @ code-snippets
502
- #: php/class-contextual-help.php:101
503
- msgid ""
504
- "You need to fill out the name and code fields for your snippet to be added. "
505
- "While the description field will add more information about how your snippet "
506
- "works, what is does and where you found it, it is completely optional."
507
- msgstr ""
508
- "Sie müssen die Felder für 'Name' und 'Code' ausfüllen, damit der Schnipsel "
509
- "hinzugefügt werden kann. Das Beschreibungsfeld ist völlig optional, es wird "
510
- "jedoch sehr empfohlen. Damit können Sie kurz notieren, was der Code "
511
- "eigentlich macht und bewahren sich so auf elegante Weise die Übersicht."
512
-
513
- # @ code-snippets
514
- #: php/class-contextual-help.php:102
515
- msgid ""
516
- "Please be sure to check that your snippet is valid PHP code and will not "
517
- "produce errors before adding it through this page. While doing so will not "
518
- "become active straight away, it will help to minimise the chance of a faulty "
519
- "snippet becoming active on your site."
520
- msgstr ""
521
- "Bitte stellen Sie vor dem Einfügen von Codeschnipseln sicher, dass Ihr "
522
- "entsprechender Codeschipsel valider PHP-Code ist und keine Fehler "
523
- "produziert. Somit erhöhen Sie von vornherein die Wahrscheinlichkeit, dass "
524
- "überhaupt fehlerhafte Codeschnipsel in Ihrer Installation aktiviert werden."
525
-
526
- # @ code-snippets
527
- #: php/class-contextual-help.php:115
528
- msgid ""
529
- "Snippets are similar to plugins - they both extend and expand the "
530
- "functionality of WordPress. Snippets are more light-weight, just a few lines "
531
- "of code, and do not put as much load on your server. Here you can load "
532
- "snippets from a Code Snippets (.xml) import file into the database with your "
533
- "existing snippets."
534
- msgstr ""
535
- "Codeschnipsel sind ähnlich wie Plugins - beide erweitern bzw. verändern die "
536
- "Funktionalität. Codeschnipsel sind jedoch weniger komplex und "
537
- "leichtgewichtiger; nur einige Zeilen Code. Damit fällt auch weniger Last auf "
538
- "dem Webserver an. Hier können Sie Codeschnipsel aus einer Codeschipsel-XML-"
539
- "Importdatei hinzufügen."
540
-
541
- # @ code-snippets
542
- #: php/class-contextual-help.php:120
543
- msgid "Importing"
544
- msgstr "Importieren"
545
-
546
- # @ code-snippets
547
- #: php/class-contextual-help.php:121
548
- msgid ""
549
- "You can load your snippets from a code snippets (.xml) export file using "
550
- "this page."
551
- msgstr ""
552
- "Auf dieser Seite können Sie Ihre Codeschnipsel von einer Codeschnipsel-"
553
- "Exportdatei (<code>.xml</code>) laden."
554
-
555
- #: php/class-contextual-help.php:122
556
- #, php-format
557
- msgid ""
558
- "Snippets will be added to the database along with your existing snippets. "
559
- "Regardless of whether the snippets were active on the previous site, "
560
- "imported snippets are always inactive until activated using the <a href=\"%s"
561
- "\">All Snippets</a> page.</p>"
562
- msgstr ""
563
- "Codeschnipsel werden der Datenbank hinzugefügt, zusammen mit Ihren bereits "
564
- "bestehenden Codeschnipseln. Unabhängig davon, ob diese Codeschnipsel auf der "
565
- "vorherigen Installation aktiv waren, sind importierte Codeschnipsel "
566
- "standardmäßig immer deaktiviert, solange Sie von Ihnen auf der <a href=\"%s"
567
- "\">Codeschnispel verwalten-Seite</a> aktiviert werden.</p>"
568
-
569
- # @ code-snippets
570
- #: php/class-contextual-help.php:127
571
- msgid "Exporting"
572
- msgstr "Exportieren"
573
-
574
- # @ code-snippets
575
- #: php/class-contextual-help.php:128
576
- #, php-format
577
- msgid ""
578
- "You can save your snippets to a Code Snippets (.xml) export file using the "
579
- "<a href=\"%s\">Manage Snippets</a> page."
580
- msgstr ""
581
- "Sie können Ihre Codeschnipsel auch als Codeschnipsel-XML-Exportdatei "
582
- "exportieren, über die <a href=\"%s\">Codeschnipsel verwalten-Seite</a>."
583
-
584
- #: php/class-export.php:87
585
- msgid ""
586
- "This is a code snippets export file generated by the Code Snippets WordPress "
587
- "plugin."
588
- msgstr ""
589
- "Dies ist eine Codeschnipsel-Export-Datei die durch das Code Snippets "
590
- "WordPress Plugin erstellt wurde."
591
-
592
- #: php/class-export.php:89
593
- msgid "To import these snippets a WordPress site follow these steps:"
594
- msgstr ""
595
- "Um Codeschnipsel in eine WordPress Seite zu importieren folge diesen "
596
- "Schritten:"
597
-
598
- #: php/class-export.php:90
599
- msgid "1. Log in to that site as an administrator."
600
- msgstr "1. Melde dich als Administrator an."
601
-
602
- #: php/class-export.php:91
603
- msgid ""
604
- "2. Install the Code Snippets plugin using the directions provided at the "
605
- "above link."
606
- msgstr ""
607
- "2. Installiere das Code Snippets Plugin nutze hierzu den Link und die "
608
- "Informationen von oben."
609
-
610
- #: php/class-export.php:92
611
- msgid "3. Go to 'Tools: Import' in the WordPress admin panel."
612
- msgstr ""
613
- "3. Navigiere zu 'Werkzeuge: Daten importieren' in der WordPress "
614
- "Administration."
615
-
616
- #: php/class-export.php:93
617
- msgid "4. Click on the \"Code Snippets\" importer in the list"
618
- msgstr "4. Klicke in der Liste der Importmodule auf \"Code Snippets\" "
619
-
620
- #: php/class-export.php:94
621
- msgid "5. Upload this file using the form provided on that page."
622
- msgstr "5. Lade diese Datei über den angebotenen Dialog der Importseite hoch."
623
-
624
- #: php/class-export.php:95
625
- msgid ""
626
- "6. Code Snippets will then import all of the snippets and associated "
627
- "information contained in this file into your site."
628
- msgstr ""
629
- "6. Die Codeschnipsel werden neben allen anderen Informationen aus dieser "
630
- "Datei in deine Seite importiert."
631
-
632
- #: php/class-export.php:96
633
- msgid ""
634
- "7. You will then have to visit the 'Snippets: All Snippets' admin menu and "
635
- "activate desired snippets."
636
- msgstr ""
637
- "7. Nach dem Import besuche die Seite 'Codeschnipsel: Verwalten' im "
638
- "Administrationsmenü und aktiviere die gewünschten Codeschnipsel."
639
-
640
- # @ code-snippets
641
- #: php/class-list-table.php:58
642
- msgid "Snippets per page"
643
- msgstr "Codeschnipsel pro Seite"
644
-
645
- # @ code-snippets
646
- #: php/class-list-table.php:117 php/class-list-table.php:370
647
- msgid "Network Deactivate"
648
- msgstr "Netzwerkweit deaktivieren"
649
-
650
- # @ code-snippets
651
- #: php/class-list-table.php:117 php/class-list-table.php:180
652
- #: php/class-list-table.php:370
653
- msgid "Deactivate"
654
- msgstr "Deaktivieren"
655
-
656
- # @ code-snippets
657
- #: php/class-list-table.php:126 php/class-list-table.php:369
658
- msgid "Network Activate"
659
- msgstr "Netzwerkweit aktivieren"
660
-
661
- # @ code-snippets
662
- #: php/class-list-table.php:126 php/class-list-table.php:180
663
- #: php/class-list-table.php:369
664
- msgid "Activate"
665
- msgstr "Aktivieren"
666
-
667
- # @ code-snippets
668
- #: php/class-list-table.php:136 php/class-list-table.php:196
669
- msgid "Edit"
670
- msgstr "Bearbeiten"
671
-
672
- # @ code-snippets
673
- #: php/class-list-table.php:142 php/class-list-table.php:202
674
- #: php/class-list-table.php:371 php/views/edit.php:111
675
- msgid "Export"
676
- msgstr "Exportieren"
677
-
678
- # @ code-snippets
679
- #: php/class-list-table.php:151 php/class-list-table.php:214
680
- #: php/class-list-table.php:372 php/views/edit.php:124
681
- msgid "Delete"
682
- msgstr "Löschen"
683
-
684
- #: php/class-list-table.php:158 php/class-list-table.php:224
685
- msgid "You are about to permanently delete the selected item."
686
- msgstr "Du bist dabei diesen Codeschnipsel endgültig zu löschen."
687
-
688
- #: php/class-list-table.php:159 php/class-list-table.php:225
689
- #: php/views/edit.php:119
690
- msgid "'Cancel' to stop, 'OK' to delete."
691
- msgstr "'Abbrechen' um zu stoppen, 'OK' um zu löschen."
692
-
693
- #: php/class-list-table.php:244
694
- #, php-format
695
- msgid "Untitled #%d"
696
- msgstr "Unbenannt #%d"
697
-
698
- #: php/class-list-table.php:261
699
- msgid "Shared on Network"
700
- msgstr "Im Netzwerk teilen"
701
-
702
- # @ code-snippets
703
- #: php/class-list-table.php:322 php/views/edit.php:48
704
- msgid "Name"
705
- msgstr "Name"
706
-
707
- # @ code-snippets
708
- #: php/class-list-table.php:323
709
- msgid "ID"
710
- msgstr "ID"
711
-
712
- # @ code-snippets
713
- #: php/class-list-table.php:373
714
- msgid "Export to PHP"
715
- msgstr "Als PHP exportieren"
716
-
717
- # @ code-snippets
718
- #: php/class-list-table.php:411
719
- #, php-format
720
- msgid "All <span class=\"count\">(%s)</span>"
721
- msgid_plural "All <span class=\"count\">(%s)</span>"
722
- msgstr[0] "Alle <span class=\"count\">(%s)</span>"
723
- msgstr[1] "Alle <span class=\"count\">(%s)</span>"
724
-
725
- # @ code-snippets
726
- #: php/class-list-table.php:412
727
- #, php-format
728
- msgid "Active <span class=\"count\">(%s)</span>"
729
- msgid_plural "Active <span class=\"count\">(%s)</span>"
730
- msgstr[0] "Aktiv <span class=\"count\">(%s)</span>"
731
- msgstr[1] "Aktive <span class=\"count\">(%s)</span>"
732
-
733
- # @ code-snippets
734
- #: php/class-list-table.php:413
735
- #, php-format
736
- msgid "Inactive <span class=\"count\">(%s)</span>"
737
- msgid_plural "Inactive <span class=\"count\">(%s)</span>"
738
- msgstr[0] "Inaktiv <span class=\"count\">(%s)</span>"
739
- msgstr[1] "Inaktive <span class=\"count\">(%s)</span>"
740
-
741
- # @ code-snippets
742
- #: php/class-list-table.php:414
743
- #, php-format
744
- msgid "Recently Active <span class=\"count\">(%s)</span>"
745
- msgid_plural "Recently Active <span class=\"count\">(%s)</span>"
746
- msgstr[0] "Kürzlich aktiv <span class=\"count\">(%s)</span>"
747
- msgstr[1] "Kürzlich aktive <span class=\"count\">(%s)</span>"
748
-
749
- #: php/class-list-table.php:477
750
- msgid "Show all tags"
751
- msgstr "Zeige alle Stichworte"
752
-
753
- # @ code-snippets
754
- #: php/class-list-table.php:491
755
- msgid "Filter"
756
- msgstr "Filter"
757
-
758
- # @ code-snippets
759
- #: php/class-list-table.php:499
760
- msgid "Clear List"
761
- msgstr "Liste bereinigen"
762
-
763
- # @ code-snippets
764
- #: php/class-list-table.php:686
765
- #, php-format
766
- msgid ""
767
- "You do not appear to have any snippets available at this time. <a href=\"%s"
768
- "\">Add New&rarr;</a>"
769
- msgstr ""
770
- "Sie scheinen derzeit keine Codeschnipsel in der Verwaltung zu haben. Einen "
771
- "neuen <a href=\"%s\">hinzufügen &rarr;</a>"
772
-
773
- # @ code-snippets
774
- #: php/class-list-table.php:959
775
- msgid "Search results"
776
- msgstr "Suchergebnisse"
777
-
778
- # @ code-snippets
779
- #: php/class-list-table.php:962
780
- #, php-format
781
- msgid " for &#8220;%s&#8221;"
782
- msgstr " für &#8220;%s&#8221;"
783
-
784
- #: php/class-list-table.php:966
785
- #, php-format
786
- msgid " in tag &#8220;%s&#8221;"
787
- msgstr " in Stichwort &#8220;%s&#8221;"
788
-
789
- # @ code-snippets
790
- #: php/class-list-table.php:974
791
- msgid "Clear Filters"
792
- msgstr "Filter zurücksetzen"
793
-
794
- #: php/settings/settings-fields.php:42
795
- msgid "Activate by Default"
796
- msgstr "Standardmäßig aktivieren"
797
-
798
- #: php/settings/settings-fields.php:44
799
- msgid ""
800
- "Make the 'Save and Activate' button the default action when saving a snippet."
801
- msgstr ""
802
- "Legt die 'Speichern und Aktivieren' Schaltfläche als Standard Aktion fest "
803
- "beim Speichern eines Codeschnipsel."
804
-
805
- #: php/settings/settings-fields.php:49
806
- msgid "Enable Scope Selector"
807
- msgstr "Aktiviere Bereichswahl"
808
-
809
- #: php/settings/settings-fields.php:51
810
- msgid "Enable the scope selector when editing a snippet"
811
- msgstr "Aktiviere die Bereichswahl bei der Bearbeitung eines Codeschnipsels"
812
-
813
- #: php/settings/settings-fields.php:56
814
- msgid "Enable Snippet Tags"
815
- msgstr "Codeschnipsel-Tags aktivieren"
816
-
817
- #: php/settings/settings-fields.php:58
818
- msgid "Show snippet tags on admin pages"
819
- msgstr "Codeschnipsel-Tags auf den Administrationsseiten anzeigen"
820
-
821
- #: php/settings/settings-fields.php:63
822
- msgid "Enable Snippet Descriptions"
823
- msgstr "Codeschnipsel-Beschreibungen aktivieren"
824
-
825
- #: php/settings/settings-fields.php:65
826
- msgid "Show snippet descriptions on admin pages"
827
- msgstr "Codeschnipsel-Beschreibungen auf den Administrationsseiten anzeigen"
828
-
829
- #: php/settings/settings-fields.php:69
830
- msgid "Disable shortcode syntax highlighter"
831
- msgstr "Codeschnipsel Syntax-Hervorhebung deaktivieren"
832
-
833
- #: php/settings/settings-fields.php:71
834
- msgid ""
835
- "Disable the syntax highlighting for the [code_snippet] shortcode on the "
836
- "front-end"
837
- msgstr ""
838
- "Syntax-Hervorhebung den [code_snippet] Shortcode auf der öffentlichen Seite "
839
- "deaktivieren"
840
-
841
- #: php/settings/settings-fields.php:80
842
- msgid "Row Height"
843
- msgstr "Zeilenhöhe"
844
-
845
- #: php/settings/settings-fields.php:82
846
- msgid "rows"
847
- msgstr "Zeilen"
848
-
849
- #: php/settings/settings-fields.php:88
850
- msgid "Use Full Editor"
851
- msgstr "Benutze den erweiterten Editor"
852
-
853
- #: php/settings/settings-fields.php:90
854
- msgid "Enable all features of the visual editor"
855
- msgstr "Aktiviere alle Funktionen des visuellen Editors"
856
-
857
- #: php/settings/settings-fields.php:95
858
- msgid "Media Buttons"
859
- msgstr "Medien Schaltflächen"
860
-
861
- #: php/settings/settings-fields.php:97
862
- msgid "Enable the add media buttons"
863
- msgstr "Aktiviere die Schaltfläche Medien hinzufügen."
864
-
865
- #: php/settings/settings-fields.php:106
866
- msgid "Theme"
867
- msgstr "Theme"
868
-
869
- #: php/settings/settings-fields.php:113
870
- msgid "Indent With Tabs"
871
- msgstr "Tabulatorbreite"
872
-
873
- #: php/settings/settings-fields.php:115
874
- msgid "Use hard tabs (not spaces) for indentation."
875
- msgstr "Benutze Tabulator anstelle von Leerzeichen."
876
-
877
- #: php/settings/settings-fields.php:121
878
- msgid "Tab Size"
879
- msgstr "Tabulatorweite"
880
-
881
- #: php/settings/settings-fields.php:123
882
- msgid "The width of a tab character."
883
- msgstr "Die Länge eines Tabulatorzeichens."
884
-
885
- #: php/settings/settings-fields.php:130
886
- msgid "Indent Unit"
887
- msgstr "Einheit des Einzugs"
888
-
889
- #: php/settings/settings-fields.php:132
890
- msgid "How many spaces a block should be indented."
891
- msgstr "Anzahl der Leerzeichen die einem Einzug entsprechen sollen."
892
-
893
- #: php/settings/settings-fields.php:139
894
- msgid "Wrap Lines"
895
- msgstr "Zeilen umbrechen"
896
-
897
- #: php/settings/settings-fields.php:141
898
- msgid "Whether the editor should scroll or wrap for long lines."
899
- msgstr ""
900
- "Legt fest ob der Editor Zeilen umbricht oder bei langen Zeilen scrollen soll."
901
-
902
- #: php/settings/settings-fields.php:147
903
- msgid "Line Numbers"
904
- msgstr "Zeilennummer"
905
-
906
- #: php/settings/settings-fields.php:149
907
- msgid "Show line numbers to the left of the editor."
908
- msgstr "Zeigt Zeilennummern auf der linken Seite des Editors."
909
-
910
- #: php/settings/settings-fields.php:155
911
- msgid "Auto Close Brackets"
912
- msgstr "Klammern automatisch schliessen."
913
-
914
- #: php/settings/settings-fields.php:157
915
- msgid "Auto-close brackets and quotes when typed."
916
- msgstr ""
917
- "Vervollständigt und schliesst Klammern und Anführungszeichen während der "
918
- "Eingabe."
919
-
920
- #: php/settings/settings-fields.php:163
921
- msgid "Highlight Selection Matches"
922
- msgstr "Auswahlhervorhebung"
923
-
924
- #: php/settings/settings-fields.php:164
925
- msgid "Highlight all instances of a currently selected word."
926
- msgstr ""
927
- "Eine Auswahl an anderen Stellen hervorheben an denen die Auswahl ebenfalls "
928
- "vorkommt."
929
-
930
- #: php/settings/settings.php:68
931
- msgid "General"
932
- msgstr "Allgemein"
933
-
934
- #: php/settings/settings.php:69
935
- msgid "Description Editor"
936
- msgstr "Beschreibungs-Editor"
937
-
938
- #: php/settings/settings.php:70
939
- msgid "Code Editor"
940
- msgstr "Quellcode-Editor"
941
-
942
- #: php/settings/settings.php:119
943
- msgid "Editor Preview"
944
- msgstr "Editor Vorschau"
945
-
946
- #: php/settings/settings.php:176
947
- msgid "Settings saved."
948
- msgstr "Einstellungen gespeichert."
949
-
950
- # @ code-snippets
951
- #: php/views/edit.php:28 php/views/manage.php:22
952
- msgctxt "snippet"
953
- msgid "Add New"
954
- msgstr "Hinzufügen"
955
-
956
- #: php/views/edit.php:49
957
- msgid "Enter title here"
958
- msgstr "Titel hier eingeben"
959
-
960
- # @ code-snippets
961
- #: php/views/edit.php:54
962
- msgid "Code"
963
- msgstr "Code"
964
-
965
- #: php/views/edit.php:81 php/views/edit.php:95
966
- msgid "Save Changes and Activate"
967
- msgstr "Speichere Änderungen und Aktiviere"
968
-
969
- #: php/views/edit.php:101
970
- msgid "Save Changes and Deactivate"
971
- msgstr "Speichere Änderungen und Deaktiviere"
972
-
973
- #: php/views/edit.php:118
974
- msgid "You are about to permanently delete this snippet."
975
- msgstr "Du bist dabei diesen Codeschnipsel endgültig zu löschen."
976
-
977
- # @ code-snippets
978
- #: php/views/import.php:21
979
- msgid ""
980
- "Howdy! Upload your Code Snippets export file and we&#8217;ll import the "
981
- "snippets to this site."
982
- msgstr ""
983
- "Servus! Laden Sie hier Ihre Codeschnipsel-XML-Exportdatei hoch und wir "
984
- "werden die Codeschnipsel dieser Installation hinzufügen."
985
-
986
- #: php/views/import.php:23
987
- #, php-format
988
- msgid ""
989
- "You will need to go to the <a href=\"%s\">All Snippets</a> page to activate "
990
- "the imported snippets."
991
- msgstr ""
992
- "Danach müssen Sie zur <a href=\"%s\">Codeschnispel verwalten-Seite</a> gehen "
993
- "und die importierten Codeschnipsel entsprechend aktivieren."
994
-
995
- # @ code-snippets
996
- #: php/views/import.php:25
997
- msgid ""
998
- "Choose a Code Snippets (.xml) file to upload, then click Upload file and "
999
- "import."
1000
- msgstr ""
1001
- "Wählen Sie eine Codeschnipsel-XML-Datei zum Hochladen, klicken Sie dann auf "
1002
- "'Datei hochladen &amp; importieren'."
1003
-
1004
- # @ code-snippets
1005
- #: php/views/import.php:32
1006
- msgid "Choose a file from your computer:"
1007
- msgstr "Datei von Ihrem Rechner wählen:"
1008
-
1009
- # @ code-snippets
1010
- #: php/views/import.php:33
1011
- msgid "(Maximum size: 8MB)"
1012
- msgstr "(Maximalgröße: 8 MB)"
1013
-
1014
- # @ code-snippets
1015
- #: php/views/import.php:39
1016
- msgid "Upload file and import"
1017
- msgstr "Datei hochladen &amp; importieren"
1018
-
1019
- # @ code-snippets
1020
- #: php/views/manage.php:34
1021
- msgid "Search Installed Snippets"
1022
- msgstr "Installierte Codeschnipsel suchen"
1023
-
1024
- # @ code-snippets
1025
- #~ msgid "Import"
1026
- #~ msgstr "Importieren"
1027
-
1028
- # @ code-snippets
1029
- #~ msgid "Manage"
1030
- #~ msgstr "Verwalten"
1031
-
1032
- # @ code-snippets
1033
- #~ msgid ""
1034
- #~ "Snippets will be added to the database along with your existing snippets. "
1035
- #~ "Regardless of whether the snippets were active on the previous site, "
1036
- #~ "imported snippets are always inactive until activated using the <a href="
1037
- #~ "\"%s\">Manage Snippets</a> page.</p>"
1038
- #~ msgstr ""
1039
- #~ "Codeschnipsel werden der Datenbank hinzugefügt, zusammen mit Ihren "
1040
- #~ "bereits bestehenden Codeschnipseln. Unabhängig davon, ob diese "
1041
- #~ "Codeschnipsel auf der vorherigen Installation aktiv waren, sind "
1042
- #~ "importierte Codeschnipsel standardmäßig immer deaktiviert, solange Sie "
1043
- #~ "von Ihnen auf der <a href=\"%s\">Codeschnispel verwalten-Seite</a> "
1044
- #~ "aktiviert werden.</p>"
1045
-
1046
- #~ msgid ""
1047
- #~ "7. You will then have to visit the 'Snippets: Manage' admin menu and "
1048
- #~ "activate desired snippets."
1049
- #~ msgstr ""
1050
- #~ "7. Nach dem Import besuche die Seite 'Codeschnipsel: Verwalten' im "
1051
- #~ "Administrationsmenü und aktiviere die gewünschten Codeschnipsel."
1052
-
1053
- #~ msgid ""
1054
- #~ "You are about to permanently delete the selected item.\n"
1055
- #~ "\t\t\t\t\t'Cancel' to stop, 'OK' to delete."
1056
- #~ msgstr ""
1057
- #~ "Sie sind dabei die ausgewählten Einträge zu löschen.\n"
1058
- #~ "\t\t\t\t\t'Abbrechen zum Stoppen, 'OK' zum Löschen."
1059
-
1060
- # @ code-snippets
1061
- #~ msgid "Name (short title)"
1062
- #~ msgstr "Name (Kurztitel)"
1063
-
1064
- #~ msgid ""
1065
- #~ "You are about to permanently delete this snippet.\n"
1066
- #~ "'Cancel' to stop, 'OK' to delete."
1067
- #~ msgstr ""
1068
- #~ "Du bist dabei diesen Codeschnipsel endgültig zu löschen.\n"
1069
- #~ "'Abbrechen' um zu stoppen, 'OK' um zu löschen."
1070
-
1071
- # @ code-snippets
1072
- #~ msgid ""
1073
- #~ "You will need to go to the <a href=\"%s\">Manage Snippets</a> page to "
1074
- #~ "activate the imported snippets."
1075
- #~ msgstr ""
1076
- #~ "Danach müssen Sie zur <a href=\"%s\">Codeschnispel verwalten-Seite</a> "
1077
- #~ "gehen und die importierten Codeschnipsel entsprechend aktivieren."
1078
-
1079
- #~ msgid "Plugin Website</a>"
1080
- #~ msgstr "Plugin-Webseite</a>"
1081
-
1082
- #~ msgid ""
1083
- #~ "Here are some links to websites which host a large number of snippets "
1084
- #~ "that you can add to your site.\n"
1085
- #~ "\t\t\t<ul>\n"
1086
- #~ "\t\t\t\t<li><a href=\"http://wp-snippets.com\" title=\"WordPress Snippets"
1087
- #~ "\">WP-Snippets</a></li>\n"
1088
- #~ "\t\t\t\t<li><a href=\"http://wpsnipp.com\" title=\"WP Snipp\">WP Snipp</"
1089
- #~ "a></li>\n"
1090
- #~ "\t\t\t\t<li><a href=\"http://www.catswhocode.com/blog/snippets\" title="
1091
- #~ "\"Cats Who Code Snippet Library\">Cats Who Code</a></li>\n"
1092
- #~ "\t\t\t\t<li><a href=\"http://www.wpfunction.me\">WP Function Me</a></li>\n"
1093
- #~ "\t\t\t</ul>"
1094
- #~ msgstr ""
1095
- #~ "Hier sind ein Links zu Webseiten, welche eine Menge an Codeschnipsel "
1096
- #~ "bereitstellen und auf ihrer Webseite verwendet werden können.\n"
1097
- #~ "\t\t\t<ul>\n"
1098
- #~ "\t\t\t\t<li><a href=\"http://wp-snippets.com\" title=\"WordPress Snippets"
1099
- #~ "\">WP-Snippets</a></li>\n"
1100
- #~ "\t\t\t\t<li><a href=\"http://wpsnipp.com\" title=\"WP Snipp\">WP Snipp</"
1101
- #~ "a></li>\n"
1102
- #~ "\t\t\t\t<li><a href=\"http://www.catswhocode.com/blog/snippets\" title="
1103
- #~ "\"Cats Who Code Snippet Library\">Cats Who Code</a></li>\n"
1104
- #~ "\t\t\t\t<li><a href=\"http://www.wpfunction.me\">WP Function Me</a></li>\n"
1105
- #~ "\t\t\t</ul>"
1106
-
1107
- #~ msgid "http://wordpress.org/plugins/code-snippets"
1108
- #~ msgstr "http://wordpress.org/plugins/code-snippets"
1109
-
1110
- # @ code-snippets
1111
- #~ msgid ""
1112
- #~ "Here are some links to websites which host a large number of snippets "
1113
- #~ "that you can add to your site.\n"
1114
- #~ "\t\t<ul>\n"
1115
- #~ "\t\t\t<li><a href=\"http://wp-snippets.com\" title=\"WordPress Snippets"
1116
- #~ "\">WP-Snippets</a></li>\n"
1117
- #~ "\t\t\t<li><a href=\"http://wpsnipp.com\" title=\"WP Snipp\">WP Snipp</a></"
1118
- #~ "li>\n"
1119
- #~ "\t\t\t<li><a href=\"http://www.catswhocode.com/blog/snippets\" title="
1120
- #~ "\"Cats Who Code Snippet Library\">Cats Who Code</a></li>\n"
1121
- #~ "\t\t\t<li><a href=\"http://www.wpfunction.me\">WP Function Me</a></li>\n"
1122
- #~ "\t\t</ul>"
1123
- #~ msgstr ""
1124
- #~ "Hier sind einige Links zu Webseiten, welche eine große Anzahl von "
1125
- #~ "WordPress-Codeschnipseln anbieten, die Sie vielleicht für Ihre Webseite "
1126
- #~ "verwenden könnten. Bitte seien Sie äußerst vorsichtig mit fremden "
1127
- #~ "Codeschnipseln, überprüfen Sie immer den Anbieter/ Herausgeber. Setzen "
1128
- #~ "Sie nur vertrauenswürdige Quellen ein!\n"
1129
- #~ "\\\t\\\t<ul>\n"
1130
- #~ "\\\t\\\t\\\t<li><a href=\"http://wp-snippets.com\" title=\"WordPress "
1131
- #~ "Snippets\">WP-Snippets</a></li>\n"
1132
- #~ "\\\t\\\t\\\t<li><a href=\"http://wpsnipp.com\" title=\"WP Snipp\">WP "
1133
- #~ "Snipp</a></li>\n"
1134
- #~ "\\\t\\\t\\\t<li><a href=\"http://www.catswhocode.com/blog/snippets\" "
1135
- #~ "title=\"Cats Who Code Snippet Library\">Cats Who Code</a></li>\n"
1136
- #~ "\\\t\\\t\\\t<li><a href=\"http://www.wpfunction.me\">WP Function Me</a></"
1137
- #~ "li>\n"
1138
- #~ "\\\t\\\t</ul>"
1139
-
1140
- # @ code-snippets
1141
- #~ msgid ""
1142
- #~ "<a href=\"http://wordpress.org/plugins/code-snippets\" target=\"_blank"
1143
- #~ "\">WordPress Extend</a>"
1144
- #~ msgstr ""
1145
- #~ "<a href=\"http://wordpress.org/plugins/code-snippets\" target=\"_blank"
1146
- #~ "\">Plugin-Seite bei WordPress.org</a>"
1147
-
1148
- # @ code-snippets
1149
- #~ msgid ""
1150
- #~ "<a href=\"http://wordpress.org/support/plugin/code-snippets\" target="
1151
- #~ "\"_blank\">Support Forums</a>"
1152
- #~ msgstr ""
1153
- #~ "<a href=\"http://wordpress.org/support/plugin/code-snippets\" target="
1154
- #~ "\"_blank\">Offizielles Support-Forum (Engl.)</a>"
1155
-
1156
- # @ code-snippets
1157
- #~ msgid ""
1158
- #~ "<a href=\"http://bungeshea.com/plugins/code-snippets/\" target=\"_blank"
1159
- #~ "\">Project Website</a>"
1160
- #~ msgstr ""
1161
- #~ "<a href=\"http://bungeshea.com/plugins/code-snippets/\" target=\"_blank"
1162
- #~ "\">Projektwebseite</a>"
1163
-
1164
- #~ msgid "Only run in adminstration area"
1165
- #~ msgstr "Nur im Admin-Bereich ausführen"
1166
-
1167
- #~ msgid "You are not access this page."
1168
- #~ msgstr "Du kannst diese Seite nicht betreten."
1169
-
1170
- # @ code-snippets
1171
- #~ msgid ""
1172
- #~ "<a href=\"http://wordpress.org/plugins/code-snippets\" target=\"_blank"
1173
- #~ "\">WordPress Extend</a></p>"
1174
- #~ msgstr ""
1175
- #~ "<a href=\"http://wordpress.org/plugins/code-snippets\" target=\"_blank"
1176
- #~ "\">Plugin-Seite auf WordPress.org</a></p>"
1177
-
1178
- # @ code-snippets
1179
- #~ msgid ""
1180
- #~ "You are about to permanently delete the selected item.\n"
1181
- #~ "\t\t\t\t'Cancel' to stop, 'OK' to delete."
1182
- #~ msgstr ""
1183
- #~ "Sie sind dabei das ausgewählte Element dauerhaft zu löschen.\n"
1184
- #~ "\t\t\t\t'Abbrechen', um das zu stoppen, 'OK', um wirklich zu löschen."
1185
-
1186
- #~ msgid "Admin <span class=\"count\">(%s)</span>"
1187
- #~ msgid_plural "Admin <span class=\"count\">(%s)</span>"
1188
- #~ msgstr[0] "Admin <span class=\"count\">(%s)</span>"
1189
- #~ msgstr[1] "Admin <span class=\"count\">(%s)</span>"
1190
-
1191
- #~ msgid "Front End <span class=\"count\">(%s)</span>"
1192
- #~ msgid_plural "Front End <span class=\"count\">(%s)</span>"
1193
- #~ msgstr[0] "Öffentliche Seite <span class=\"count\">(%s)</span>"
1194
- #~ msgstr[1] "Öffentliche Seiten <span class=\"count\">(%s)</span>"
1195
-
1196
- #~ msgid "Editor"
1197
- #~ msgstr "Editor"
1198
-
1199
- # @ code-snippets
1200
- #~ msgid ""
1201
- #~ "An easy, clean and simple way to add code snippets to your site. No need "
1202
- #~ "to edit to your theme's functions.php file again!"
1203
- #~ msgstr ""
1204
- #~ "Auf einfache, saubere und elegante Weise Codeschnipsel für Ihre Webseite "
1205
- #~ "hinzufügen. Änderungen an der 'functions.php' des Themes sind nicht mehr "
1206
- #~ "notwendig!"
1207
-
1208
- # @ code-snippets
1209
- #~ msgid "Shea Bunge"
1210
- #~ msgstr "Shea Bunge"
1211
-
1212
- # @ code-snippets
1213
- #~ msgid "http://bungeshea.com"
1214
- #~ msgstr "http://bungeshea.com/"
1215
-
1216
- # @ code-snippets
1217
- #~ msgid "Please provide a name for the snippet and its code."
1218
- #~ msgstr ""
1219
- #~ "Bitte geben Sie einen Namen für den Codeschnipsel und dessen Code an."
1220
-
1221
- # @ code-snippets
1222
- #~ msgid "(Optional)"
1223
- #~ msgstr "(optional, aber empfohlen für bessere Organisation &amp; Übersicht)"
1224
-
1225
- # @ code-snippets
1226
- #~ msgid "http://bungeshea.com/plugins/code-snippets"
1227
- #~ msgstr "http://bungeshea.com/plugins/code-snippets/"
1228
-
1229
- # @ code-snippets
1230
- #~ msgid "Import snippets from a <strong>Code Snippets</strong> export file"
1231
- #~ msgstr ""
1232
- #~ "Codeschnipsel aus einer <strong>Code Snippets</strong>-Exportdatei "
1233
- #~ "importieren"
1234
-
1235
- # @ code-snippets
1236
- #~ msgid "Imported <strong>%d</strong> snippet."
1237
- #~ msgid_plural "Imported <strong>%d</strong> snippets."
1238
- #~ msgstr[0] " <strong>%d</strong> Codeschnipsel importiert."
1239
- #~ msgstr[1] " <strong>%d</strong> Codeschnipsel importiert."
1240
-
1241
- # @ code-snippets
1242
- #~ msgid "1.7"
1243
- #~ msgstr "1.7"
1244
-
1245
- # @ code-snippets
1246
- #~ msgid "Sorry, you're not allowed to edit snippets"
1247
- #~ msgstr ""
1248
- #~ "Entschuldigung, aber Sie haben keine Berechtigung zum Bearbeiten von "
1249
- #~ "Codeschnipseln."
1250
-
1251
- # @ code-snippets
1252
- #~ msgid "Save Changes &amp; Activate"
1253
- #~ msgstr "Änderungen speichern &amp; Aktivieren"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/languages/code-snippets-fr_FR.mo DELETED
Binary file
trunk/languages/code-snippets-fr_FR.po DELETED
@@ -1,821 +0,0 @@
1
- # This file is distributed under the same license as the Code Snippets package.
2
- msgid ""
3
- msgstr ""
4
- "Project-Id-Version: Code Snippets\n"
5
- "Report-Msgid-Bugs-To: \n"
6
- "POT-Creation-Date: 2015-05-11 08:58+1000\n"
7
- "PO-Revision-Date: 2015-05-11 10:08+1000\n"
8
- "Last-Translator: Shea Bunge <info@bungeshea.com>"
9
- "Language-Team: oWEB <oweb@office-web.net>\n"
10
- "Language: fr\n"
11
- "MIME-Version: 1.0\n"
12
- "Content-Type: text/plain; charset=UTF-8\n"
13
- "Content-Transfer-Encoding: 8bit\n"
14
- "Plural-Forms: nplurals=2; plural=n != 1;\n"
15
- "X-Generator: Poedit 1.7.5\n"
16
-
17
- #: includes/admin.php:81 includes/manage/admin.php:21
18
- #: includes/manage/manage.php:22 includes/manage/manage.php:23
19
- #: includes/manage/manage.php:33
20
- msgid "Snippets"
21
- msgstr "Snippets"
22
-
23
- #: includes/admin.php:152
24
- msgid "Manage your existing snippets"
25
- msgstr "Gérer les snippets existants"
26
-
27
- #: includes/admin.php:153 includes/manage/manage.php:34
28
- msgid "Manage"
29
- msgstr "Gérer"
30
-
31
- #: includes/admin.php:182
32
- msgid "Visit the WordPress.org plugin page"
33
- msgstr "Page du plugin sur WordPress.org"
34
-
35
- #: includes/admin.php:183
36
- msgid "About"
37
- msgstr "A propos"
38
-
39
- #: includes/admin.php:187
40
- msgid "Visit the support forums"
41
- msgstr "Forums de support"
42
-
43
- #: includes/admin.php:188
44
- msgid "Support"
45
- msgstr "Support"
46
-
47
- #: includes/admin.php:192
48
- msgid "Support this plugin's development"
49
- msgstr "Aider au développement du plugin"
50
-
51
- #: includes/admin.php:193
52
- msgid "Donate"
53
- msgstr "Faire un don"
54
-
55
- #: includes/admin.php:226
56
- msgid ""
57
- "<strong>Have feedback on Code Snippets?</strong> Please take the time to "
58
- "answer a short survey on how you use this plugin and what you'd like to see "
59
- "changed or added in the future."
60
- msgstr ""
61
-
62
- #: includes/admin.php:229
63
- msgid "Take the survey now"
64
- msgstr ""
65
-
66
- #: includes/class-export.php:102
67
- msgid ""
68
- "This is a code snippets export file generated by the Code Snippets WordPress "
69
- "plugin."
70
- msgstr ""
71
-
72
- #: includes/class-export.php:103
73
- msgid "http://wordpress.org/plugins/code-snippets"
74
- msgstr ""
75
-
76
- #: includes/class-export.php:104
77
- msgid "To import these snippets a WordPress site follow these steps:"
78
- msgstr ""
79
-
80
- #: includes/class-export.php:105
81
- msgid "1. Log in to that site as an administrator."
82
- msgstr ""
83
-
84
- #: includes/class-export.php:106
85
- msgid ""
86
- "2. Install the Code Snippets plugin using the directions provided at the "
87
- "above link."
88
- msgstr ""
89
-
90
- #: includes/class-export.php:107
91
- msgid "3. Go to 'Tools: Import' in the WordPress admin panel."
92
- msgstr ""
93
-
94
- #: includes/class-export.php:108
95
- msgid "4. Click on the \"Code Snippets\" importer in the list"
96
- msgstr ""
97
-
98
- #: includes/class-export.php:109
99
- msgid "5. Upload this file using the form provided on that page."
100
- msgstr ""
101
-
102
- #: includes/class-export.php:110
103
- msgid ""
104
- "6. Code Snippets will then import all of the snippets and associated "
105
- "information contained in this file into your site."
106
- msgstr ""
107
-
108
- #: includes/class-export.php:111
109
- msgid ""
110
- "7. You will then have to visit the 'Snippets: Manage' admin menu and "
111
- "activate desired snippets."
112
- msgstr ""
113
-
114
- #: includes/edit/admin-help.php:15 includes/import/admin-help.php:16
115
- #: includes/manage/admin-help.php:15
116
- msgid "Overview"
117
- msgstr "Présentation "
118
-
119
- #: includes/edit/admin-help.php:17
120
- msgid ""
121
- "Snippets are similar to plugins - they both extend and expand the "
122
- "functionality of WordPress. Snippets are more light-weight, just a few lines "
123
- "of code, and do not put as much load on your server. Here you can add a new "
124
- "snippet, or edit an existing one."
125
- msgstr ""
126
- "Les Snippets sont similaires aux plugins. Ils permettent aussi d'étendre les "
127
- "fonctionnalités de WordPress. Les Snippets sont plus légers, juste quelques "
128
- "lignes de code : cela permet à votre site de se charger plus rapidement. "
129
- "Ici, vous pouvez en ajouter ou en éditer."
130
-
131
- #: includes/edit/admin-help.php:22
132
- msgid "Finding Snippets"
133
- msgstr "Trouver des Snippets"
134
-
135
- #: includes/edit/admin-help.php:24
136
- msgid ""
137
- "Here are some links to websites which host a large number of snippets that "
138
- "you can add to your site.\n"
139
- "\t\t<ul>\n"
140
- "\t\t\t<li><a href=\"http://wp-snippets.com\" title=\"WordPress Snippets\">WP-"
141
- "Snippets</a></li>\n"
142
- "\t\t\t<li><a href=\"http://wpsnipp.com\" title=\"WP Snipp\">WP Snipp</a></"
143
- "li>\n"
144
- "\t\t\t<li><a href=\"http://www.catswhocode.com/blog/snippets\" title=\"Cats "
145
- "Who Code Snippet Library\">Cats Who Code</a></li>\n"
146
- "\t\t\t<li><a href=\"http://www.wpfunction.me\">WP Function Me</a></li>\n"
147
- "\t\t</ul>"
148
- msgstr ""
149
- "Voici quelques liens vers des sites qui proposent une large panoplie de "
150
- "Snippets que vous pouvez ajouter à votre installation.\n"
151
- "\t\t<ul>\n"
152
- "\t\t\t<li><a href=\"http://wp-snippets.com\" title=\"WordPress Snippets\">WP-"
153
- "Snippets</a></li>\n"
154
- "\t\t\t<li><a href=\"http://wpsnipp.com\" title=\"WP Snipp\">WP Snipp</a></"
155
- "li>\n"
156
- "\t\t\t<li><a href=\"http://www.catswhocode.com/blog/snippets\" title=\"Cats "
157
- "Who Code Snippet Library\">Cats Who Code</a></li>\n"
158
- "\t\t\t<li><a href=\"http://www.wpfunction.me\">WP Function Me</a></li>\n"
159
- "\t\t</ul>"
160
-
161
- #: includes/edit/admin-help.php:31
162
- msgid ""
163
- "More places to find snippets, as well as a selection of example snippets, "
164
- "can be found in the <a href=\"https://github.com/sheabunge/code-snippets/"
165
- "wiki/Finding-snippets\">plugin documentation</a>"
166
- msgstr ""
167
- "Vous trouverez une collection de Snippets, ou des exemples sur la page de <a "
168
- "href=\"https://github.com/sheabunge/code-snippets/wiki/Finding-snippets"
169
- "\">documentation</a> du plugin. "
170
-
171
- #: includes/edit/admin-help.php:36
172
- msgid "Adding Snippets"
173
- msgstr "Ajout de Snippets"
174
-
175
- #: includes/edit/admin-help.php:38
176
- msgid ""
177
- "You need to fill out the name and code fields for your snippet to be added. "
178
- "While the description field will add more information about how your snippet "
179
- "works, what is does and where you found it, it is completely optional."
180
- msgstr ""
181
- "Vous devez remplir les champs Nom et Code pour ajouter un Snippet. Le champ "
182
- "description permet d'ajouter des informations sur la fonction ajoutée : "
183
- "utilité, où vous l'avez trouvé. C'est une option de confort."
184
-
185
- #: includes/edit/admin-help.php:39
186
- msgid ""
187
- "Please be sure to check that your snippet is valid PHP code and will not "
188
- "produce errors before adding it through this page. While doing so will not "
189
- "become active straight away, it will help to minimise the chance of a faulty "
190
- "snippet becoming active on your site."
191
- msgstr ""
192
- "Veuillez vérifier le code PHP de votre Snippet. En vérifiant le code avant "
193
- "d'activer le Snippet, vous vous assurerez que vous ne mettrez en danger "
194
- "votre installation."
195
-
196
- #: includes/edit/admin-help.php:43 includes/import/admin-help.php:37
197
- #: includes/manage/admin-help.php:37
198
- msgid "For more information:"
199
- msgstr "Pour plus d'informations : "
200
-
201
- #: includes/edit/admin-help.php:44 includes/import/admin-help.php:38
202
- msgid ""
203
- "<a href=\"http://wordpress.org/plugins/code-snippets\" target=\"_blank"
204
- "\">WordPress Extend</a>"
205
- msgstr ""
206
- "<a href=\"http://wordpress.org/plugins/code-snippets\" target=\"_blank"
207
- "\">WordPress Extend</a>"
208
-
209
- #: includes/edit/admin-help.php:45 includes/import/admin-help.php:39
210
- #: includes/manage/admin-help.php:39
211
- msgid ""
212
- "<a href=\"http://wordpress.org/support/plugin/code-snippets\" target=\"_blank"
213
- "\">Support Forums</a>"
214
- msgstr ""
215
- "<a href=\"http://wordpress.org/support/plugin/code-snippets\" target=\"_blank"
216
- "\">Support Forums</a>"
217
-
218
- #: includes/edit/admin-help.php:46 includes/import/admin-help.php:40
219
- #: includes/manage/admin-help.php:40
220
- msgid ""
221
- "<a href=\"http://bungeshea.com/plugins/code-snippets/\" target=\"_blank"
222
- "\">Project Website</a>"
223
- msgstr ""
224
- "<a href=\"http://bungeshea.com/plugins/code-snippets/\" target=\"_blank"
225
- "\">Site du Projet</a>"
226
-
227
- #: includes/edit/admin-messages.php:14
228
- msgid "An error occurred when saving the snippet."
229
- msgstr ""
230
-
231
- #: includes/edit/admin-messages.php:18
232
- msgid "Snippet <strong>updated</strong> and <strong>activated</strong>."
233
- msgstr "Snippet <strong>mis à jour</strong> et <strong>activé</strong>."
234
-
235
- #: includes/edit/admin-messages.php:22
236
- msgid "Snippet <strong>added</strong> and <strong>activated</strong>."
237
- msgstr "Snippet <strong>ajouté</strong> et <strong>activaté</strong>."
238
-
239
- #: includes/edit/admin-messages.php:26
240
- msgid "Snippet <strong>updated</strong> and <strong>deactivated</strong>."
241
- msgstr "Snippet <strong>mis à jour</strong> et <strong>désactivaté</strong>."
242
-
243
- #: includes/edit/admin-messages.php:30
244
- msgid "Snippet <strong>updated</strong>."
245
- msgstr "Snippet <strong>mis à jour</strong>."
246
-
247
- #: includes/edit/admin-messages.php:34
248
- msgid "Snippet <strong>added</strong>."
249
- msgstr "Snippet <strong>ajouté</strong>."
250
-
251
- #: includes/edit/admin.php:26 includes/edit/edit.php:48
252
- #: includes/edit/edit.php:49
253
- msgid "Edit Snippet"
254
- msgstr "Editer"
255
-
256
- #: includes/edit/admin.php:31 includes/edit/edit.php:35
257
- #: includes/manage/admin.php:26
258
- msgid "Add New"
259
- msgstr "Nouveau"
260
-
261
- #: includes/edit/admin.php:35 includes/edit/edit.php:34
262
- msgid "Add New Snippet"
263
- msgstr "Ajouter Snippet"
264
-
265
- #: includes/edit/admin.php:52 includes/edit/admin.php:53
266
- msgid "Name (short title)"
267
- msgstr "Nom (titre court) "
268
-
269
- #: includes/edit/admin.php:58
270
- msgid "Code"
271
- msgstr "Code"
272
-
273
- #: includes/edit/admin.php:78 includes/edit/admin.php:92
274
- msgid "Save Changes and Activate"
275
- msgstr "Enregistrer et activer"
276
-
277
- #: includes/edit/admin.php:98
278
- msgid "Save Changes and Deactivate"
279
- msgstr "Enregistrer et désactiver "
280
-
281
- #: includes/edit/admin.php:108 includes/manage/class-list-table.php:140
282
- #: includes/manage/class-list-table.php:265
283
- msgid "Export"
284
- msgstr "Exporter"
285
-
286
- #: includes/edit/admin.php:115
287
- msgid ""
288
- "You are about to permanently delete this snippet.\n"
289
- "'Cancel' to stop, 'OK' to delete."
290
- msgstr ""
291
-
292
- #: includes/edit/admin.php:120 includes/manage/class-list-table.php:149
293
- #: includes/manage/class-list-table.php:266
294
- msgid "Delete"
295
- msgstr "Supprimer"
296
-
297
- #: includes/edit/edit.php:83 includes/manage/manage.php:67
298
- msgid "You are not authorized to access this page."
299
- msgstr ""
300
-
301
- #: includes/edit/edit.php:177 includes/manage/class-list-table.php:225
302
- msgid "Description"
303
- msgstr "Description"
304
-
305
- #: includes/edit/edit.php:204
306
- msgid "Run snippet everywhere"
307
- msgstr ""
308
-
309
- #: includes/edit/edit.php:205
310
- msgid "Only run in adminstration area"
311
- msgstr ""
312
-
313
- #: includes/edit/edit.php:206
314
- msgid "Only run on site front-end"
315
- msgstr ""
316
-
317
- #: includes/edit/edit.php:210
318
- msgid "Scope"
319
- msgstr ""
320
-
321
- #: includes/edit/edit.php:231 includes/manage/class-list-table.php:226
322
- msgid "Tags"
323
- msgstr "Étiquettes"
324
-
325
- #: includes/import/admin-help.php:18
326
- msgid ""
327
- "Snippets are similar to plugins - they both extend and expand the "
328
- "functionality of WordPress. Snippets are more light-weight, just a few lines "
329
- "of code, and do not put as much load on your server. Here you can load "
330
- "snippets from a Code Snippets (.xml) import file into the database with your "
331
- "existing snippets."
332
- msgstr ""
333
- "Les Snippets sont similaires aux plugins. Ils permettent aussi d'étendre les "
334
- "fonctionnalités de WordPress. Les Snippets sont plus légers, juste quelques "
335
- "lignes de code : cela permet à votre site de se charger plus rapidement. "
336
- "Vous pouvez en charger plusieurs en important un fichier de Snippets (.xml)."
337
-
338
- #: includes/import/admin-help.php:23
339
- msgid "Importing"
340
- msgstr "Importation"
341
-
342
- #: includes/import/admin-help.php:25
343
- msgid ""
344
- "You can load your snippets from a code snippets (.xml) export file using "
345
- "this page."
346
- msgstr ""
347
- "Vous pouvez charger vos Snippets depuis un fichier Code Snippets (.xml) "
348
- "depuis cette page."
349
-
350
- #: includes/import/admin-help.php:26
351
- #, php-format
352
- msgid ""
353
- "Snippets will be added to the database along with your existing snippets. "
354
- "Regardless of whether the snippets were active on the previous site, "
355
- "imported snippets are always inactive until activated using the <a href=\"%s"
356
- "\">Manage Snippets</a> page.</p>"
357
- msgstr ""
358
- "Les Snippets seront ajoutés à votre base de données, en plus de ceux déjà "
359
- "existants. Tous les Snippets importés seront inactifs, même si lors de "
360
- "l'export précédent ils étaient actifs. Il vous restera à les <a href=\"%s"
361
- "\">activer</a> ensuite.</p>"
362
-
363
- #: includes/import/admin-help.php:31
364
- msgid "Exporting"
365
- msgstr "Exportation"
366
-
367
- #: includes/import/admin-help.php:33
368
- #, php-format
369
- msgid ""
370
- "You can save your snippets to a Code Snippets (.xml) export file using the "
371
- "<a href=\"%s\">Manage Snippets</a> page."
372
- msgstr ""
373
- "Vous pouvez sauvegarder vos Snippets dans un fichier de Codes (.xml) en les "
374
- "<a href=\"%s\">exportant</a> ."
375
-
376
- #: includes/import/admin-messages.php:16
377
- #, php-format
378
- msgid ""
379
- "Successfully imported <strong>%d</strong> snippet. <a href=\"%s\">Have fun!</"
380
- "a>"
381
- msgstr ""
382
-
383
- #: includes/import/admin-messages.php:30
384
- msgid "An error occurred when processing the import file."
385
- msgstr ""
386
-
387
- #: includes/import/admin.php:18 includes/import/import.php:55
388
- msgid "Import Snippets"
389
- msgstr "Import de Snippets"
390
-
391
- #: includes/import/admin.php:22
392
- msgid ""
393
- "Howdy! Upload your Code Snippets export file and we&#8217;ll import the "
394
- "snippets to this site."
395
- msgstr ""
396
- "Salutations ! Chargez votre fichier contenant les portions de code et nous "
397
- "importerons les Snippets dans ce site."
398
-
399
- #: includes/import/admin.php:24
400
- #, php-format
401
- msgid ""
402
- "You will need to go to the <a href=\"%s\">Manage Snippets</a> page to "
403
- "activate the imported snippets."
404
- msgstr ""
405
- "Vous devez vous rendre à la page <a href=\"%s\">Gérer les Snippets</a> pour "
406
- "activer l'import de snippets."
407
-
408
- #: includes/import/admin.php:26
409
- msgid ""
410
- "Choose a Code Snippets (.xml) file to upload, then click Upload file and "
411
- "import."
412
- msgstr ""
413
- "Choisissez un fichier Code Snippets (.xml) à transférer, puis cliquez "
414
- "Transférer et Importer."
415
-
416
- #: includes/import/admin.php:33
417
- msgid "Choose a file from your computer:"
418
- msgstr "Fichier sur votre ordinateur : "
419
-
420
- #: includes/import/admin.php:34
421
- msgid "(Maximum size: 8MB)"
422
- msgstr "(Taille maxi : 8MB)"
423
-
424
- #: includes/import/admin.php:40
425
- msgid "Upload file and import"
426
- msgstr "Transférer et Importer"
427
-
428
- #: includes/import/import.php:34
429
- msgid "Code Snippets"
430
- msgstr "Code Snippets"
431
-
432
- #: includes/import/import.php:35
433
- msgid "Import snippets from a code snippets export file"
434
- msgstr "Importer les Snippets d'un fichier Code Snippets (.xml)"
435
-
436
- #: includes/import/import.php:56
437
- msgid "Import"
438
- msgstr "Importer"
439
-
440
- #: includes/import/import.php:92
441
- msgid "You are not access this page."
442
- msgstr ""
443
-
444
- #: includes/manage/admin-help.php:17
445
- msgid ""
446
- "Snippets are similar to plugins - they both extend and expand the "
447
- "functionality of WordPress. Snippets are more light-weight, just a few lines "
448
- "of code, and do not put as much load on your server. Here you can manage "
449
- "your existing snippets and perform tasks on them such as activating, "
450
- "deactivating, deleting and exporting."
451
- msgstr ""
452
- "Les Snippets sont similaires au Plugins. Les deux permettent d'étendre les "
453
- "fonctionnalités de WordPress. Les Snippets sont plus légers et permettent, "
454
- "avec quelques lignes de code, de rendre votre site plus rapide. Ici vous "
455
- "avez la possibilité de gérer vos portions de code, automatiser des tâches, "
456
- "en activant, désactivant, supprimant et exportant. "
457
-
458
- #: includes/manage/admin-help.php:22
459
- msgid "Safe Mode"
460
- msgstr "Mode sécurité "
461
-
462
- #: includes/manage/admin-help.php:24
463
- msgid ""
464
- "Be sure to check your snippets for errors before you activate them, as a "
465
- "faulty snippet could bring your whole blog down. If your site starts doing "
466
- "strange things, deactivate all your snippets and activate them one at a time."
467
- msgstr ""
468
- "Veuillez bien vérifier vos Snippets avant de les activer. Si la syntaxe "
469
- "n'est pas correcte, il est possible de rendre votre site inaccessible. Si "
470
- "vous découvrez des comportements bizarres sur votre site, désactivez tous "
471
- "vos Snippets, puis activez-les un par un."
472
-
473
- #: includes/manage/admin-help.php:25
474
- msgid ""
475
- "If something goes wrong with a snippet and you can't use WordPress, you can "
476
- "cause all snippets to stop executing by adding "
477
- "<code>define('CODE_SNIPPETS_SAFE_MODE', true);</code> to your <code>wp-"
478
- "config.php</code> file. After you have deactivated the offending snippet, "
479
- "you can turn off safe mode by removing this line or replacing <strong>true</"
480
- "strong> with <strong>false</strong>."
481
- msgstr ""
482
- "Si un problème survient suite à l'activation d'un Snippet et que votre "
483
- "installation WordPress ne fonctionne plus, vous pouvez stopper l'activation "
484
- "de tous les Snippets en ajoutant <code>define('CODE_SNIPPETS_SAFE_MODE', "
485
- "true);</code> dans votre fichier <code>wp-config.php</code>. Vous pourrez "
486
- "alors désactiver le Snippet qui pose problème, puis désactiver le mode "
487
- "sécurité en retirant la ligne <code>define('CODE_SNIPPETS_SAFE_MODE', true);"
488
- "</code> dans votre fichier <code>wp-config.php</code> ou alors changer "
489
- "<strong>true</strong> par <strong>false</strong>."
490
-
491
- #: includes/manage/admin-help.php:30
492
- msgid "Uninstall"
493
- msgstr "Désinstaller"
494
-
495
- #: includes/manage/admin-help.php:32
496
- #, php-format
497
- msgid ""
498
- "When you delete Code Snippets through the Plugins menu in WordPress it will "
499
- "clear up the <code>%1$s</code> table and a few other bits of data stored in "
500
- "the database. If you want to keep this data (ie: you are only temporally "
501
- "uninstalling Code Snippets) then remove the <code>%2$s</code> folder using "
502
- "FTP."
503
- msgstr ""
504
- "Si vous désinstallez Code Snippets depuis le menu Plugins de votre "
505
- "installation WordPress, la table <code>%1$s</code> contenant les portions de "
506
- "code sera supprimée de la base de données. Si vous voulez conserver les "
507
- "données (par exemple : désinstaller temporairement Code Snippets) supprimez "
508
- "le dossier <code>%2$s</code> via votre client FTP."
509
-
510
- #: includes/manage/admin-help.php:33
511
- msgid ""
512
- "Even if you're sure that you don't want to use Code Snippets ever again on "
513
- "this WordPress installation, you may want to use the export feature to back "
514
- "up your snippets."
515
- msgstr ""
516
- "Même si vous êtes certain(e) de ne plus vouloir utiliser Code Snippets avec "
517
- "cette installation de WordPress, vous pouvez exporter vos Snippets."
518
-
519
- #: includes/manage/admin-help.php:38
520
- msgid ""
521
- "<a href=\"http://wordpress.org/plugins/code-snippets\" target=\"_blank"
522
- "\">WordPress Extend</a></p>"
523
- msgstr ""
524
- "<a href=\"http://wordpress.org/plugins/code-snippets\" target=\"_blank"
525
- "\">WordPress Extend</a></p>"
526
-
527
- #: includes/manage/admin-messages.php:14
528
- msgid ""
529
- "<strong>Warning:</strong> Safe mode is active and snippets will not execute! "
530
- "Remove the <code>CODE_SNIPPETS_SAFE_MODE</code> constant from <code>wp-"
531
- "config.php</code> to turn off safe mode. <a href=\"https://github.com/"
532
- "sheabunge/code-snippets/wiki/Safe-Mode\" target=\"_blank\">Help</a>"
533
- msgstr ""
534
-
535
- #: includes/manage/admin-messages.php:20
536
- msgid "Snippet <strong>activated</strong>."
537
- msgstr "Snippet <strong>activaté</strong>."
538
-
539
- #: includes/manage/admin-messages.php:24
540
- msgid "Selected snippets <strong>activated</strong>."
541
- msgstr "Snippets sélectionnés <strong>activés</strong>. "
542
-
543
- #: includes/manage/admin-messages.php:28
544
- msgid "Snippet <strong>deactivated</strong>."
545
- msgstr "Snippet <strong>désactivaté</strong>."
546
-
547
- #: includes/manage/admin-messages.php:32
548
- msgid "Selected snippets <strong>deactivated</strong>."
549
- msgstr "Snippets sélectionnés <strong>désactivés</strong>. "
550
-
551
- #: includes/manage/admin-messages.php:36
552
- msgid "Snippet <strong>deleted</strong>."
553
- msgstr "Snippet <strong>supprimé</strong>."
554
-
555
- #: includes/manage/admin-messages.php:40
556
- msgid "Selected snippets <strong>deleted</strong>."
557
- msgstr "Snippets sélectionnés <strong>supprimés</strong>. "
558
-
559
- #: includes/manage/admin.php:39
560
- msgid "Search Installed Snippets"
561
- msgstr "Chercher dans les Snippets installés"
562
-
563
- #: includes/manage/class-list-table.php:52
564
- msgid "Snippets per page"
565
- msgstr "Snippets par page "
566
-
567
- #: includes/manage/class-list-table.php:115
568
- #: includes/manage/class-list-table.php:264
569
- msgid "Network Deactivate"
570
- msgstr "Désactiver réseau "
571
-
572
- #: includes/manage/class-list-table.php:115
573
- #: includes/manage/class-list-table.php:264
574
- msgid "Deactivate"
575
- msgstr "Désactiver "
576
-
577
- #: includes/manage/class-list-table.php:124
578
- #: includes/manage/class-list-table.php:263
579
- msgid "Network Activate"
580
- msgstr "Activer réseau "
581
-
582
- #: includes/manage/class-list-table.php:124
583
- #: includes/manage/class-list-table.php:263
584
- msgid "Activate"
585
- msgstr "Activer"
586
-
587
- #: includes/manage/class-list-table.php:134
588
- msgid "Edit"
589
- msgstr "Editer"
590
-
591
- #: includes/manage/class-list-table.php:156
592
- msgid ""
593
- "You are about to permanently delete the selected item.\n"
594
- "\t\t\t\t'Cancel' to stop, 'OK' to delete."
595
- msgstr ""
596
- "Vous allez supprimer définitivement la sélection.\n"
597
- "\t\t\t\t'Cancel' pour annuler, 'OK' confirmer et supprimer."
598
-
599
- #: includes/manage/class-list-table.php:164
600
- #, php-format
601
- msgid "Untitled #%d"
602
- msgstr ""
603
-
604
- #: includes/manage/class-list-table.php:223
605
- msgid "Name"
606
- msgstr "Nom"
607
-
608
- #: includes/manage/class-list-table.php:224
609
- msgid "ID"
610
- msgstr "ID"
611
-
612
- #: includes/manage/class-list-table.php:267
613
- msgid "Export to PHP"
614
- msgstr "Export en PHP"
615
-
616
- #: includes/manage/class-list-table.php:304
617
- #, fuzzy, php-format
618
- msgid "All <span class=\"count\">(%s)</span>"
619
- msgstr "Tout <span class=\"count\">(%s)</span>"
620
-
621
- #: includes/manage/class-list-table.php:307
622
- #, fuzzy, php-format
623
- msgid "Active <span class=\"count\">(%s)</span>"
624
- msgstr "Activer <span class=\"count\">(%s)</span>"
625
-
626
- #: includes/manage/class-list-table.php:310
627
- #, fuzzy, php-format
628
- msgid "Recently Active <span class=\"count\">(%s)</span>"
629
- msgstr "Récemment activé <span class=\"count\">(%s)</span>"
630
-
631
- #: includes/manage/class-list-table.php:313
632
- #, fuzzy, php-format
633
- msgid "Inactive <span class=\"count\">(%s)</span>"
634
- msgstr "Inactif <span class=\"count\">(%s)</span>"
635
-
636
- #: includes/manage/class-list-table.php:373
637
- msgid "Show all tags"
638
- msgstr "Montre tout les étiquettes"
639
-
640
- #: includes/manage/class-list-table.php:387
641
- msgid "Filter"
642
- msgstr "Filtre "
643
-
644
- #: includes/manage/class-list-table.php:395
645
- msgid "Clear List"
646
- msgstr "Vider la liste"
647
-
648
- #: includes/manage/class-list-table.php:544
649
- #, php-format
650
- msgid ""
651
- "You do not appear to have any snippets available at this time. <a href=\"%s"
652
- "\">Add New&rarr;</a>"
653
- msgstr "Aucun Snippet pour l'instant. <a href=\"%s\">En ajouter un&rarr;</a>"
654
-
655
- #: includes/manage/class-list-table.php:765
656
- msgid "Search results"
657
- msgstr "Résultats de la recherche "
658
-
659
- #: includes/manage/class-list-table.php:768
660
- #, php-format
661
- msgid " for &#8220;%s&#8221;"
662
- msgstr " pour &#8220;%s&#8221;"
663
-
664
- #: includes/manage/class-list-table.php:772
665
- #, php-format
666
- msgid " in tag &#8220;%s&#8221;"
667
- msgstr " dans l'étiquette &#8220;%s&#8221;"
668
-
669
- #: includes/manage/class-list-table.php:778
670
- msgid "Clear Filters"
671
- msgstr "Annuler les filtres "
672
-
673
- #: includes/settings/admin.php:20
674
- msgid "Snippets Settings"
675
- msgstr "Réglages Snippets"
676
-
677
- #: includes/settings/admin.php:21 includes/settings/admin.php:39
678
- msgid "Settings"
679
- msgstr "Réglages"
680
-
681
- #: includes/settings/class-settings.php:47
682
- msgid "Activate by Default"
683
- msgstr ""
684
-
685
- #: includes/settings/class-settings.php:49
686
- msgid ""
687
- "Make the 'Save and Activate' button the default action when saving a snippet."
688
- msgstr ""
689
-
690
- #: includes/settings/class-settings.php:55
691
- msgid "Enable Scope Selector"
692
- msgstr ""
693
-
694
- #: includes/settings/class-settings.php:57
695
- msgid "Enable the scope selector when editing a snippet"
696
- msgstr ""
697
-
698
- #: includes/settings/class-settings.php:95
699
- msgid "Theme"
700
- msgstr "Thème"
701
-
702
- #: includes/settings/class-settings.php:103
703
- msgid "Indent With Tabs"
704
- msgstr ""
705
-
706
- #: includes/settings/class-settings.php:105
707
- msgid "Use hard tabs (not spaces) for indentation."
708
- msgstr ""
709
-
710
- #: includes/settings/class-settings.php:112
711
- msgid "Tab Size"
712
- msgstr ""
713
-
714
- #: includes/settings/class-settings.php:114
715
- msgid "The width of a tab character."
716
- msgstr ""
717
-
718
- #: includes/settings/class-settings.php:121
719
- msgid "Indent Unit"
720
- msgstr ""
721
-
722
- #: includes/settings/class-settings.php:123
723
- msgid "How many spaces a block should be indented."
724
- msgstr ""
725
-
726
- #: includes/settings/class-settings.php:130
727
- msgid "Wrap Lines"
728
- msgstr ""
729
-
730
- #: includes/settings/class-settings.php:132
731
- msgid "Whether the editor should scroll or wrap for long lines."
732
- msgstr ""
733
-
734
- #: includes/settings/class-settings.php:139
735
- msgid "Line Numbers"
736
- msgstr ""
737
-
738
- #: includes/settings/class-settings.php:141
739
- msgid "Show line numbers to the left of the editor."
740
- msgstr ""
741
-
742
- #: includes/settings/class-settings.php:148
743
- msgid "Auto Close Brackets"
744
- msgstr ""
745
-
746
- #: includes/settings/class-settings.php:150
747
- msgid "Auto-close brackets and quotes when typed."
748
- msgstr ""
749
-
750
- #: includes/settings/class-settings.php:157
751
- msgid "Highlight Selection Matches"
752
- msgstr ""
753
-
754
- #: includes/settings/class-settings.php:158
755
- msgid "Highlight all instances of a currently selected word."
756
- msgstr ""
757
-
758
- #: includes/settings/settings.php:93
759
- msgid "General"
760
- msgstr "Général"
761
-
762
- #: includes/settings/settings.php:94
763
- msgid "Description Editor"
764
- msgstr ""
765
-
766
- #: includes/settings/settings.php:95
767
- msgid "Code Editor"
768
- msgstr ""
769
-
770
- #: includes/settings/settings.php:141
771
- msgid "Editor Preview"
772
- msgstr ""
773
-
774
- #: includes/settings/settings.php:187
775
- msgid "Settings saved."
776
- msgstr ""
777
-
778
- #~ msgid ""
779
- #~ "An easy, clean and simple way to add code snippets to your site. No need "
780
- #~ "to edit to your theme's functions.php file again!"
781
- #~ msgstr ""
782
- #~ "Une manière simple d'ajouter des snippets, portions de code, dans votre "
783
- #~ "site. Plus besoin d'éditer le fichier functions.php de votre thème !"
784
-
785
- #~ msgid "Shea Bunge"
786
- #~ msgstr "Shea Bunge"
787
-
788
- #~ msgid "http://bungeshea.com"
789
- #~ msgstr "http://bungeshea.com"
790
-
791
- #~ msgctxt "snippet"
792
- #~ msgid "Add New"
793
- #~ msgstr "Ajouter "
794
-
795
- #~ msgid "Please provide a name for the snippet and its code."
796
- #~ msgstr "Veuillez indiauer un nom ainsi que le code pour ce Snippet. "
797
-
798
- #~ msgid "(Optional)"
799
- #~ msgstr "(Option)"
800
-
801
- #~ msgid "http://bungeshea.com/plugins/code-snippets"
802
- #~ msgstr "http://bungeshea.com/plugins/code-snippets"
803
-
804
- #~ msgid "Import snippets from a <strong>Code Snippets</strong> export file"
805
- #~ msgstr ""
806
- #~ "Importer des Snippets depuis un fichier <strong>Code Snippets</strong> "
807
- #~ "exporté préalablement. "
808
-
809
- #~ msgid "Imported <strong>%d</strong> snippet."
810
- #~ msgid_plural "Imported <strong>%d</strong> snippets."
811
- #~ msgstr[0] "Snippet <strong>%d</strong> importé."
812
- #~ msgstr[1] "Snippets <strong>%d</strong> importés."
813
-
814
- #~ msgid "1.7"
815
- #~ msgstr "1.7"
816
-
817
- #~ msgid "Sorry, you're not allowed to edit snippets"
818
- #~ msgstr "Désolé, vous n'êtes pas autorisé à éditer les Snippets "
819
-
820
- #~ msgid "Save Changes &amp; Activate"
821
- #~ msgstr "Enregistrer &amp; Activer"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/languages/code-snippets-it_IT.mo DELETED
Binary file
trunk/languages/code-snippets-it_IT.po DELETED
@@ -1,502 +0,0 @@
1
- # This file is distributed under the same license as the Code Snippets package.
2
- # Marco <troniclabs.crew@gmail.com>, 2014.
3
- msgid ""
4
- msgstr ""
5
- "Project-Id-Version: Code Snippets\n"
6
- "PO-Revision-Date: 2016-11-06 09:26+0200\n"
7
- "Last-Translator: Marco <troniclabs.crew@gmail.com>\n"
8
- "Language-Team: Tronic Labs\n"
9
- "Language: it\n"
10
- "MIME-Version: 1.0\n"
11
- "Content-Type: text/plain; charset=UTF-8\n"
12
- "Content-Transfer-Encoding: 8bit\n"
13
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
14
- "X-Generator: Virtaal 0.7.1\n"
15
-
16
- #: code-snippets.php:0 code-snippets.php:262
17
- msgid "Code Snippets"
18
- msgstr "Code Snippets"
19
-
20
- #: code-snippets.php:0
21
- msgid "An easy, clean and simple way to add code snippets to your site. No need to edit to your theme's functions.php file again!"
22
- msgstr ""
23
- "Un facile, semplice e pulito modo di aggiungere Snippet, frammenti di codice "
24
- "al tuo sito. Senza editare il tuo tema e il tuo file functions.php."
25
-
26
- #: code-snippets.php:0
27
- msgid "Shea Bunge"
28
- msgstr "Shea Bunge"
29
-
30
- #: code-snippets.php:0
31
- msgid "http://bungeshea.com"
32
- msgstr "http://bungeshea.com"
33
-
34
- #: code-snippets.php:577 code-snippets.php:578 code-snippets.php:588
35
- #: includes/admin/manage.php:36
36
- msgid "Snippets"
37
- msgstr "Snippets"
38
-
39
- #: code-snippets.php:612 code-snippets.php:1145 includes/admin/single.php:45
40
- msgid "Add New Snippet"
41
- msgstr "Aggiungi nuovo Snippet"
42
-
43
- #: code-snippets.php:613
44
- msgid "Add New"
45
- msgstr "Aggiungi Nuovo"
46
-
47
- #: code-snippets.php:641 includes/admin/import.php:34
48
- msgid "Import Snippets"
49
- msgstr "Importa Snippet"
50
-
51
- #: code-snippets.php:642
52
- msgid "Import"
53
- msgstr "Importa"
54
-
55
- #: code-snippets.php:601 code-snippets.php:1146 includes/admin/single.php:37
56
- msgid "Edit Snippet"
57
- msgstr "Edita Snippet"
58
-
59
- #: code-snippets.php:1465
60
- msgid "Manage your existing snippets"
61
- msgstr "Gestisci i tuoi snippets esistenti"
62
-
63
- #: code-snippets.php:589 code-snippets.php:1466
64
- msgid "Manage"
65
- msgstr "Gestisci"
66
-
67
- #: code-snippets.php:1486
68
- msgid "Visit the WordPress.org plugin page"
69
- msgstr "Visita la pagina del plugin su WordPress.org"
70
-
71
- #: code-snippets.php:1487
72
- msgid "About"
73
- msgstr "Info"
74
-
75
- #: code-snippets.php:1491
76
- msgid "Visit the support forums"
77
- msgstr "Visita il forum di supporto"
78
-
79
- #: code-snippets.php:1492
80
- msgid "Support"
81
- msgstr "Supporto"
82
-
83
- #: code-snippets.php:1496
84
- msgid "Support this plugin's development"
85
- msgstr "Supporta lo sviluppo di questo plugin"
86
-
87
- #: code-snippets.php:1497
88
- msgid "Donate"
89
- msgstr "Donazione"
90
-
91
- #: includes/admin/import.php:38
92
- msgid "Howdy! Upload your Code Snippets export file and we&#8217;ll import the snippets to this site."
93
- msgstr ""
94
- "Wella! Carica i tuoi Snippets di codice dal file esportato e li importeremo "
95
- "nel tuo sito. "
96
-
97
- #: includes/admin/import.php:40
98
- msgid "You will need to go to the <a href=\"%s\">Manage Snippets</a> page to activate the imported snippets."
99
- msgstr ""
100
- "Dovrai andare nella pagina <a href=\"%s\">Gestisci Snippets</a> per attivare "
101
- "gli snippets importati."
102
-
103
- #: includes/admin/import.php:42
104
- msgid "Choose a Code Snippets (.xml) file to upload, then click Upload file and import."
105
- msgstr ""
106
- "Scegli un file di Codice Snippets (.xml) da caricare, quindi clicca su "
107
- "Carica file e Importa."
108
-
109
- #: includes/admin/import.php:46
110
- msgid "Choose a file from your computer:"
111
- msgstr "Scegli un file dal computer:"
112
-
113
- #: includes/admin/import.php:46
114
- msgid "(Maximum size: 8MB)"
115
- msgstr "(Grandezza massima: 8MB)"
116
-
117
- #: includes/admin/import.php:55
118
- msgid "Upload file and import"
119
- msgstr "Carica un file e importa"
120
-
121
- #: includes/admin/manage.php:21
122
- msgid "Snippet <strong>activated</strong>."
123
- msgstr "Snippet <strong>attivato</strong>."
124
-
125
- #: includes/admin/manage.php:23
126
- msgid "Selected snippets <strong>activated</strong>."
127
- msgstr "Snippet selezionato <strong>attivato</strong>."
128
-
129
- #: includes/admin/manage.php:25
130
- msgid "Snippet <strong>deactivated</strong>."
131
- msgstr "Snippet <strong>disattivato</strong>."
132
-
133
- #: includes/admin/manage.php:27
134
- msgid "Selected snippets <strong>deactivated</strong>."
135
- msgstr "Snippet selezionato <strong>disattivato</strong>."
136
-
137
- #: includes/admin/manage.php:29
138
- msgid "Snippet <strong>deleted</strong>."
139
- msgstr "Snippet <strong>cancellato</strong>."
140
-
141
- #: includes/admin/manage.php:31
142
- msgid "Selected snippets <strong>deleted</strong>."
143
- msgstr "Snippet selezionato <strong>cancellato</strong>."
144
-
145
- #: includes/admin/manage.php:38 includes/admin/single.php:42
146
- msgctxt "snippet"
147
- msgid "Add New"
148
- msgstr "Aggiungi Nuovo"
149
-
150
- #: includes/admin/manage.php:47
151
- msgid "Search Installed Snippets"
152
- msgstr "Cerca Snippets Installati"
153
-
154
- #: includes/admin/single.php:22
155
- msgid "Please provide a name for the snippet and its code."
156
- msgstr "Per favore dai un nome allo snippet e al suo codice."
157
-
158
- #: includes/admin/single.php:28
159
- msgid "Snippet <strong>updated</strong>."
160
- msgstr "Snippet <strong>aggiornato</strong>."
161
-
162
- #: includes/admin/single.php:30
163
- msgid "Snippet <strong>added</strong>."
164
- msgstr "Snippet <strong>aggiunto</strong>."
165
-
166
- #: includes/admin/single.php:55 includes/admin/single.php:56
167
- msgid "Name (short title)"
168
- msgstr "Nome (titolo corto)"
169
-
170
- #: includes/admin/single.php:61
171
- msgid "Code"
172
- msgstr "Codice"
173
-
174
- #: code-snippets.php:1433 includes/class-list-table.php:189
175
- msgid "Description"
176
- msgstr "Descizione"
177
-
178
- #: code-snippets.php:1434
179
- msgid "(Optional)"
180
- msgstr "(Opzionale)"
181
-
182
- #: includes/class-list-table.php:36
183
- msgid "Snippets per page"
184
- msgstr "Snippets per pagina"
185
-
186
- #: code-snippets.php:1118 includes/class-list-table.php:127
187
- #: includes/class-list-table.php:213
188
- msgid "Network Deactivate"
189
- msgstr "Network Disattiva"
190
-
191
- #: code-snippets.php:1118 includes/class-list-table.php:127
192
- #: includes/class-list-table.php:213
193
- msgid "Deactivate"
194
- msgstr "Disattiva"
195
-
196
- #: code-snippets.php:1127 includes/class-list-table.php:137
197
- #: includes/class-list-table.php:212
198
- msgid "Network Activate"
199
- msgstr "Network Attiva"
200
-
201
- #: code-snippets.php:1127 includes/class-list-table.php:137
202
- #: includes/class-list-table.php:212
203
- msgid "Activate"
204
- msgstr "Attiva"
205
-
206
- #: includes/class-list-table.php:187
207
- msgid "Name"
208
- msgstr "Nome"
209
-
210
- #: includes/class-list-table.php:188
211
- msgid "ID"
212
- msgstr "ID"
213
-
214
- #: includes/class-list-table.php:147 includes/class-list-table.php:214
215
- msgid "Export"
216
- msgstr "Esporta"
217
-
218
- #: includes/class-list-table.php:155 includes/class-list-table.php:215
219
- msgid "Delete"
220
- msgstr "Cancella"
221
-
222
- #: includes/class-list-table.php:216
223
- msgid "Export to PHP"
224
- msgstr "Esporta in PHP"
225
-
226
- #: includes/class-list-table.php:236
227
- msgid "All <span class=\"count\">(%s)</span>"
228
- msgid_plural "All <span class=\"count\">(%s)</span>"
229
- msgstr[0] "Tutto <span class=\"count\">(%s)</span>"
230
- msgstr[1] "Tutti <span class=\"count\">(%s)</span>"
231
-
232
- #: includes/class-list-table.php:239
233
- msgid "Active <span class=\"count\">(%s)</span>"
234
- msgid_plural "Active <span class=\"count\">(%s)</span>"
235
- msgstr[0] "Attivo <span class=\"count\">(%s)</span>"
236
- msgstr[1] "Attivi <span class=\"count\">(%s)</span>"
237
-
238
- #: includes/class-list-table.php:242
239
- msgid "Recently Active <span class=\"count\">(%s)</span>"
240
- msgid_plural "Recently Active <span class=\"count\">(%s)</span>"
241
- msgstr[0] "Recentemente Attivo <span class=\"count\">(%s)</span>"
242
- msgstr[1] "Recentemente Attivi <span class=\"count\">(%s)</span>"
243
-
244
- #: includes/class-list-table.php:245
245
- msgid "Inactive <span class=\"count\">(%s)</span>"
246
- msgid_plural "Inactive <span class=\"count\">(%s)</span>"
247
- msgstr[0] "Inattivo <span class=\"count\">(%s)</span>"
248
- msgstr[1] "Inattivi <span class=\"count\">(%s)</span>"
249
-
250
- #: includes/class-list-table.php:279
251
- msgid "Clear List"
252
- msgstr "Cancella Lista"
253
-
254
- #: includes/class-list-table.php:374
255
- msgid "You do not appear to have any snippets available at this time. <a href=\"%s\">Add New&rarr;</a>"
256
- msgstr ""
257
- "Sembra che tu non abbia nessuno snippets disponibile fino ad ora. <a href=\"%"
258
- "s\">Aggiungi Nuovo&rarr;</a>"
259
-
260
- #: includes/help/import.php:5 includes/help/manage.php:5
261
- #: includes/help/single.php:5
262
- msgid "Overview"
263
- msgstr "Panoramica"
264
-
265
- #: includes/help/import.php:7
266
- msgid "Snippets are similar to plugins - they both extend and expand the functionality of WordPress. Snippets are more light-weight, just a few lines of code, and do not put as much load on your server. Here you can load snippets from a Code Snippets (.xml) import file into the database with your existing snippets."
267
- msgstr ""
268
- "Gli Snippets sono simili ai Plugin - tutti e due espandono le funzionalità "
269
- "di WordPress. Gli Snippets sono più leggeri, giusto poche righe di codice, e "
270
- "non appesantiscono il server. Qui tu puoi caricare snippet da un file di "
271
- "codice Snippets (.xml) ed importarli nel database aggiungendoli a gli altri "
272
- "esistenti."
273
-
274
- #: includes/help/import.php:12
275
- msgid "Importing"
276
- msgstr "Importando"
277
-
278
- #: includes/help/import.php:15
279
- msgid "Snippets will be added to the database along with your existing snippets. Regardless of whether the snippets were active on the previous site, imported snippets are always inactive until activated using the <a href=\"%s\">Manage Snippets</a> page.</p>"
280
- msgstr ""
281
- "Gli Snippets saranno aggiunti al database insieme ai quelli esistenti. "
282
- "Indipendentemente dal fatto che gli snippets erano attivi sul sito "
283
- "precedente, gli snippets importati sono sempre inattivi finché non vengono "
284
- "attivati utilizzando la <a href=\"%s\">Gestisci Snippets</a> pagina.</p>"
285
-
286
- #: includes/help/import.php:20
287
- msgid "Exporting"
288
- msgstr "Esportando"
289
-
290
- #: includes/help/import.php:22
291
- msgid "You can save your snippets to a Code Snippets (.xml) export file using the <a href=\"%s\">Manage Snippets</a> page."
292
- msgstr ""
293
- "Tu puoi salvare i tuoi snippets in un file di codice Snippets (.xml) usando "
294
- "la <a href=\"%s\">Gestisci Snippets</a> pagina."
295
-
296
- #: includes/help/import.php:26 includes/help/manage.php:27
297
- #: includes/help/single.php:31
298
- msgid "For more information:"
299
- msgstr "Per maggiori informazioni:"
300
-
301
- #: includes/help/import.php:27 includes/help/single.php:32
302
- msgid "<a href=\"http://wordpress.org/plugins/code-snippets\" target=\"_blank\">WordPress Extend</a>"
303
- msgstr ""
304
- "<a href=\"http://wordpress.org/plugins/code-snippets\" "
305
- "target=\"_blank\">WordPress Extend</a>"
306
-
307
- #: includes/help/import.php:28 includes/help/manage.php:29
308
- #: includes/help/single.php:33
309
- msgid "<a href=\"http://wordpress.org/support/plugin/code-snippets\" target=\"_blank\">Support Forums</a>"
310
- msgstr ""
311
- "<a href=\"http://wordpress.org/support/plugin/code-snippets\" "
312
- "target=\"_blank\">Support Forums</a>"
313
-
314
- #: includes/help/manage.php:7
315
- msgid "Snippets are similar to plugins - they both extend and expand the functionality of WordPress. Snippets are more light-weight, just a few lines of code, and do not put as much load on your server. Here you can manage your existing snippets and perform tasks on them such as activating, deactivating, deleting and exporting."
316
- msgstr ""
317
- "Gli Snippets sono simili ai Plugin - tutti e due espandono le funzionalità "
318
- "di WordPress. Gli Snippets sono più leggeri, giusto poche righe di codice, e "
319
- "non appesantiscono il server. Qui tu puoi gestire i tuoi snippets, "
320
- "attivarli, disattivarli, cancellarli ed esportarli."
321
-
322
- #: includes/help/manage.php:12
323
- msgid "Safe Mode"
324
- msgstr "Modalità Sicura"
325
-
326
- #: includes/help/manage.php:14
327
- msgid "Be sure to check your snippets for errors before you activate them, as a faulty snippet could bring your whole blog down. If your site starts doing strange things, deactivate all your snippets and activate them one at a time."
328
- msgstr ""
329
- "Assicuratevi di controllare i vostri snippets da errori prima di attivarli, "
330
- "uno snippet difettoso potrebbe bloccare tutto il tuo blog. Se il tuo sito "
331
- "inizia a fare cose strane, disattivare tutti gli snippets e attivarli uno "
332
- "alla volta."
333
-
334
- #: includes/help/manage.php:20
335
- msgid "Uninstall"
336
- msgstr "Disinstalla"
337
-
338
- #: includes/help/manage.php:22
339
- msgid "When you delete Code Snippets through the Plugins menu in WordPress it will clear up the <code>%1$s</code> table and a few other bits of data stored in the database. If you want to keep this data (ie: you are only temporally uninstalling Code Snippets) then remove the <code>%2$s</code> folder using FTP."
340
- msgstr ""
341
- "Quando tu disinstalli il Code Snippets dal Plugins menu in WordPress, esso "
342
- "cancellerà la <code>%1$s</code> tavola e pochi altri bit di dati "
343
- "memorizzati nel tuo database. Se tu vuoi mantenere questi dati (es. tu stai "
344
- "solo temporaneamente disinstallando il Code Snippets) allora rimuovi la "
345
- "<code>%2$s</code> cartella usando lo FTP."
346
-
347
- #: includes/help/manage.php:23
348
- msgid "Even if you're sure that you don't want to use Code Snippets ever again on this WordPress installation, you may want to use the export feature to back up your snippets."
349
- msgstr ""
350
- "Anche se sei sicuro che non vuoi più utilizzare Code Snippets in WordPress, "
351
- "è possibile utilizzare la funzione di esportazione per il backup degli "
352
- "snippets."
353
-
354
- #: includes/help/manage.php:28
355
- msgid "<a href=\"http://wordpress.org/plugins/code-snippets\" target=\"_blank\">WordPress Extend</a></p>"
356
- msgstr ""
357
- "<a href=\"http://wordpress.org/plugins/code-snippets\" "
358
- "target=\"_blank\">WordPress Extend</a></p>"
359
-
360
- #: includes/help/single.php:7
361
- msgid "Snippets are similar to plugins - they both extend and expand the functionality of WordPress. Snippets are more light-weight, just a few lines of code, and do not put as much load on your server. Here you can add a new snippet, or edit an existing one."
362
- msgstr ""
363
- "Gli Snippets sono simili ai Plugin - tutti e due espandono le funzionalità "
364
- "di WordPress. Gli Snippets sono più leggeri, giusto poche righe di codice, e "
365
- "non appesantiscono il server. Qui tu puoi aggiungere un nuovo snippet o "
366
- "modificarne uno esistente."
367
-
368
- #: includes/help/single.php:11
369
- msgid "Finding Snippets"
370
- msgstr "Cercando Snippets"
371
-
372
- #: includes/help/single.php:13
373
- msgid ""
374
- "Here are some links to websites which host a large number of snippets that you can add to your site.\n"
375
- "\t\t<ul>\n"
376
- "\t\t\t<li><a href=\"http://wp-snippets.com\" title=\"WordPress Snippets\">WP-Snippets</a></li>\n"
377
- "\t\t\t<li><a href=\"http://wpsnipp.com\" title=\"WP Snipp\">WP Snipp</a></li>\n"
378
- "\t\t\t<li><a href=\"http://www.catswhocode.com/blog/snippets\" title=\"Cats Who Code Snippet Library\">Cats Who Code</a></li>\n"
379
- "\t\t\t<li><a href=\"http://www.wpfunction.me\">WP Function Me</a></li>\n"
380
- "\t\t</ul>"
381
- msgstr ""
382
- "Qui ci sono alcuni link a siti web che ospitano un largo numero di snippets "
383
- "che puoi aggiungere al tuo sito.\n"
384
- "\t\t<ul>\n"
385
- "\t\t\t<li><a href=\"http://wp-snippets.com\" title=\"WordPress Snippets\">WP-"
386
- "Snippets</a></li>\n"
387
- "\t\t\t<li><a href=\"http://wpsnipp.com\" title=\"WP Snipp\">WP Snipp</a></li>\n"
388
- "\t\t\t<li><a href=\"http://www.catswhocode.com/blog/snippets\" title=\"Cats Who "
389
- "Code Snippet Library\">Cats Who Code</a></li>\n"
390
- "\t\t\t<li><a href=\"http://www.wpfunction.me\">WP Function Me</a></li>"
391
-
392
- #: includes/help/single.php:24
393
- msgid "Adding Snippets"
394
- msgstr "Aggiungendo Snippets"
395
-
396
- #: includes/help/single.php:26
397
- msgid "You need to fill out the name and code fields for your snippet to be added. While the description field will add more information about how your snippet works, what is does and where you found it, it is completely optional."
398
- msgstr ""
399
- "Devi riempire il campo del nome e il codice per aggiungere lo snippet. "
400
- "Mentre il campo della descrizione aggiungerà più informazioni riguardo a "
401
- "come lavora il tuo snippet, cosa fa e dove lo ritroviamo, ed è completamente "
402
- "opzionale. "
403
-
404
- #: includes/help/single.php:27
405
- msgid "Please be sure to check that your snippet is valid PHP code and will not produce errors before adding it through this page. While doing so will not become active straight away, it will help to minimise the chance of a faulty snippet becoming active on your site."
406
- msgstr ""
407
- "Per favore accertati che lo snippet abbia un codice PHP valido e non produca "
408
- "errori aggiungendolo a questa pagina. Facendo così, e non attivandolo "
409
- "immediatamente, ci assicureremo di minimizzare le probabilità che uno "
410
- "snippet difettoso sia attivato nel sito. "
411
-
412
- #: code-snippets.php:0
413
- msgid "http://bungeshea.com/plugins/code-snippets"
414
- msgstr "http://bungeshea.com/plugins/code-snippets"
415
-
416
- #: code-snippets.php:263
417
- msgid "Import snippets from a <strong>Code Snippets</strong> export file"
418
- msgstr "Importa snippets da un file <strong>Code Snippets</strong> esportato"
419
-
420
- #: includes/admin/import.php:20
421
- msgid "Imported <strong>%d</strong> snippet."
422
- msgid_plural "Imported <strong>%d</strong> snippets."
423
- msgstr[0] "Importato <strong>%d</strong> snippet."
424
- msgstr[1] "Importati <strong>%d</strong> snippets."
425
-
426
- #: includes/help/import.php:29 includes/help/manage.php:30
427
- #: includes/help/single.php:34
428
- msgid "<a href=\"http://bungeshea.com/plugins/code-snippets/\" target=\"_blank\">Project Website</a>"
429
- msgstr ""
430
- "<a href=\"http://bungeshea.com/plugins/code-snippets/\" target=\"_blank\">Project "
431
- "Website</a>"
432
-
433
- #: includes/help/manage.php:15
434
- msgid "If something goes wrong with a snippet and you can't use WordPress, you can cause all snippets to stop executing by adding <code>define('CODE_SNIPPETS_SAFE_MODE', true);</code> to your <code>wp-config.php</code> file. After you have deactivated the offending snippet, you can turn off safe mode by removing this line or replacing <strong>true</strong> with <strong>false</strong>."
435
- msgstr ""
436
- "Se qualcosa va storto con uno snippet e non puoi più usare WordPress, puoi "
437
- "bloccare la esecuzione di tutti gli snippets aggiungendo "
438
- "<code>define('CODE_SNIPPETS_SAFE_MODE', true);</code> al tuo file <code>wp-"
439
- "config.php</code>. Dopo aver disattivato lo snippet difettoso, puoi uscire "
440
- "dalla modalità sicura rimuovendo la linea oppure cambiando "
441
- "<strong>true</strong> con <strong>false</strong>."
442
-
443
- #: includes/help/single.php:20
444
- msgid "More places to find snippets, as well as a selection of example snippets, can be found in the <a href=\"https://github.com/sheabunge/code-snippets/wiki/Finding-snippets\">plugin documentation</a>"
445
- msgstr ""
446
- "Un po' di posti dove cercare snippets, una selezione e alcuni esempi li pui "
447
- "trovare nella <a href=\"https://github.com/sheabunge/code-snippets/wiki/"
448
- "Finding0-snippets\">documentazione del plugin</a>"
449
-
450
- #: code-snippets.php:0
451
- msgid "1.7"
452
- msgstr "1.7"
453
-
454
- #: code-snippets.php:602 includes/class-list-table.php:142
455
- msgid "Edit"
456
- msgstr "Modifica"
457
-
458
- #: code-snippets.php:1227
459
- msgid "Sorry, you're not allowed to edit snippets"
460
- msgstr "Scusa, tu non sei abilitato a modificare questo snippets"
461
-
462
- #: includes/admin/single.php:24
463
- msgid "Snippet <strong>updated</strong> and <strong>activated</strong>."
464
- msgstr "Snippet <strong>aggiornato</strong> e <strong>attivato</strong>."
465
-
466
- #: includes/admin/single.php:26
467
- msgid "Snippet <strong>added</strong> and <strong>activated</strong>."
468
- msgstr "Snippet <strong>aggiunto</strong> e <strong>attivato</strong>."
469
-
470
- #: includes/class-list-table.php:163
471
- msgid ""
472
- "You are about to permanently delete the selected item.\n"
473
- "\t\t\t\t'Cancel' to stop, 'OK' to delete."
474
- msgstr ""
475
- "Tu stai per cancellare in modo permanente questo elemento.\n"
476
- "\t\t\t\t'Cancella' per fermarti, 'OK' per cancellare."
477
-
478
- #: includes/class-list-table.php:270
479
- msgid "Filter"
480
- msgstr "Filtro"
481
-
482
- #: includes/class-list-table.php:541
483
- msgid "Search results"
484
- msgstr "Risultati ricerca"
485
-
486
- #: includes/class-list-table.php:544
487
- msgid " for &#8220;%s&#8221;"
488
- msgstr " per &#8220;%s&#8221;"
489
-
490
- #: includes/class-list-table.php:550
491
- msgid "Clear Filters"
492
- msgstr "Cancella Filtri"
493
-
494
- #: includes/help/import.php:14
495
- msgid "You can load your snippets from a code snippets (.xml) export file using this page."
496
- msgstr ""
497
- "Tu non puoi caricare i tuoi snippets da un file di codice snippets (.xml) "
498
- "usando questa pagina."
499
-
500
- #: includes/admin/single.php:74
501
- msgid "Save Changes &amp; Activate"
502
- msgstr "Salva Cambiamenti e Attivare"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/languages/code-snippets-ja_JP.mo DELETED
Binary file
trunk/languages/code-snippets-ja_JP.po DELETED
@@ -1,569 +0,0 @@
1
- # This file is distributed under the same license as the Code Snippets package.
2
- msgid ""
3
- msgstr ""
4
- "PO-Revision-Date: 2013-11-30 10:44+0900\n"
5
- "MIME-Version: 1.0\n"
6
- "Content-Type: text/plain; charset=UTF-8\n"
7
- "Content-Transfer-Encoding: 8bit\n"
8
- "Plural-Forms: nplurals=2; plural=n != 1;\n"
9
- "X-Generator: Poedit 1.5.7\n"
10
- "Project-Id-Version: Code Snippets\n"
11
- "POT-Creation-Date: \n"
12
- "Last-Translator: \n"
13
- "Language-Team: \n"
14
-
15
- #: code-snippets.php:0 code-snippets.php:262
16
- msgid "Code Snippets"
17
- msgstr "Code Snippets"
18
-
19
- #: code-snippets.php:0
20
- msgid ""
21
- "An easy, clean and simple way to add code snippets to your site. No need to "
22
- "edit to your theme's functions.php file again!"
23
- msgstr ""
24
- "簡単に、あなたのサイトにコードスニペットを追加する方法です。もうテーマの"
25
- "functions.phpを編集する必要はありません!"
26
-
27
- #: code-snippets.php:0
28
- msgid "Shea Bunge"
29
- msgstr "Shea Bunge"
30
-
31
- #: code-snippets.php:0
32
- msgid "http://bungeshea.com"
33
- msgstr "http://bungeshea.com"
34
-
35
- #: code-snippets.php:577 code-snippets.php:578 code-snippets.php:588
36
- #: includes/admin/manage.php:36
37
- msgid "Snippets"
38
- msgstr "スニペット"
39
-
40
- #: code-snippets.php:612 code-snippets.php:1145 includes/admin/single.php:45
41
- msgid "Add New Snippet"
42
- msgstr "スニペット新規追加"
43
-
44
- #: code-snippets.php:613
45
- msgid "Add New"
46
- msgstr "新規追加"
47
-
48
- #: code-snippets.php:641 includes/admin/import.php:34
49
- msgid "Import Snippets"
50
- msgstr "スニペットインポート"
51
-
52
- #: code-snippets.php:642
53
- msgid "Import"
54
- msgstr "インポート"
55
-
56
- #: code-snippets.php:601 code-snippets.php:1146 includes/admin/single.php:37
57
- msgid "Edit Snippet"
58
- msgstr "スニペット編集"
59
-
60
- #: code-snippets.php:1465
61
- msgid "Manage your existing snippets"
62
- msgstr "登録されているスニペットを管理"
63
-
64
- #: code-snippets.php:589 code-snippets.php:1466
65
- msgid "Manage"
66
- msgstr "管理"
67
-
68
- #: code-snippets.php:1486
69
- msgid "Visit the WordPress.org plugin page"
70
- msgstr "WordPress.orgプラグインページへ"
71
-
72
- #: code-snippets.php:1487
73
- msgid "About"
74
- msgstr "このプラグインについて"
75
-
76
- #: code-snippets.php:1491
77
- msgid "Visit the support forums"
78
- msgstr "サポートフォーラムへ"
79
-
80
- #: code-snippets.php:1492
81
- msgid "Support"
82
- msgstr "サポート"
83
-
84
- #: code-snippets.php:1496
85
- msgid "Support this plugin's development"
86
- msgstr "このプラグインの開発をサポート"
87
-
88
- #: code-snippets.php:1497
89
- msgid "Donate"
90
- msgstr "寄付"
91
-
92
- #: includes/admin/import.php:38
93
- msgid ""
94
- "Howdy! Upload your Code Snippets export file and we&#8217;ll import the "
95
- "snippets to this site."
96
- msgstr ""
97
- "こんにちは!あなたのコードスニペットエクスポートファイルをアップロードして、"
98
- "このサイトにスニペットをインポートします。"
99
-
100
- #: includes/admin/import.php:40
101
- msgid ""
102
- "You will need to go to the <a href=\"%s\">Manage Snippets</a> page to "
103
- "activate the imported snippets."
104
- msgstr ""
105
- "<a href=\"%s\">スニペットの管理</a> ページでインポートしたスニペットを有効に"
106
- "する必要があります。"
107
-
108
- #: includes/admin/import.php:42
109
- msgid ""
110
- "Choose a Code Snippets (.xml) file to upload, then click Upload file and "
111
- "import."
112
- msgstr ""
113
- "アップロードするスニペットファイル(.xml)を選択し、クリックしてファイルをアッ"
114
- "プロードし、インポートして下さい。"
115
-
116
- #: includes/admin/import.php:46
117
- msgid "Choose a file from your computer:"
118
- msgstr "ファイルをコンピュータから選択:"
119
-
120
- #: includes/admin/import.php:46
121
- msgid "(Maximum size: 8MB)"
122
- msgstr "(最大ファイルサイズ: 8MB)"
123
-
124
- #: includes/admin/import.php:55
125
- msgid "Upload file and import"
126
- msgstr "ファイルをアップロードし、インポート"
127
-
128
- #: includes/admin/manage.php:21
129
- msgid "Snippet <strong>activated</strong>."
130
- msgstr "スニペットを <strong>有効化</strong>。"
131
-
132
- #: includes/admin/manage.php:23
133
- msgid "Selected snippets <strong>activated</strong>."
134
- msgstr "選択されたスニペットを <strong>有効化</strong>。"
135
-
136
- #: includes/admin/manage.php:25
137
- msgid "Snippet <strong>deactivated</strong>."
138
- msgstr "スニペットを <strong>停止</strong>。"
139
-
140
- #: includes/admin/manage.php:27
141
- msgid "Selected snippets <strong>deactivated</strong>."
142
- msgstr "選択したスニペットを <strong>停止</strong>。"
143
-
144
- #: includes/admin/manage.php:29
145
- msgid "Snippet <strong>deleted</strong>."
146
- msgstr "スニペットを <strong>削除</strong>。"
147
-
148
- #: includes/admin/manage.php:31
149
- msgid "Selected snippets <strong>deleted</strong>."
150
- msgstr "選択されたスニペットを <strong>削除</strong>。"
151
-
152
- #: includes/admin/manage.php:38 includes/admin/single.php:42
153
- msgctxt "snippet"
154
- msgid "Add New"
155
- msgstr "新規追加"
156
-
157
- #: includes/admin/manage.php:47
158
- msgid "Search Installed Snippets"
159
- msgstr "インストールされているスニペットを検索"
160
-
161
- #: includes/admin/single.php:22
162
- msgid "Please provide a name for the snippet and its code."
163
- msgstr "スニペットもしくはコードに名前をつけて下さい。"
164
-
165
- #: includes/admin/single.php:28
166
- msgid "Snippet <strong>updated</strong>."
167
- msgstr "スニペットを <strong>更新</strong>。"
168
-
169
- #: includes/admin/single.php:30
170
- msgid "Snippet <strong>added</strong>."
171
- msgstr "スニペットを <strong>追加</strong>。"
172
-
173
- #: includes/admin/single.php:55 includes/admin/single.php:56
174
- msgid "Name (short title)"
175
- msgstr "名前 (短いタイトル)"
176
-
177
- #: includes/admin/single.php:61
178
- msgid "Code"
179
- msgstr "コード"
180
-
181
- #: code-snippets.php:1433 includes/class-list-table.php:189
182
- msgid "Description"
183
- msgstr "説明"
184
-
185
- #: code-snippets.php:1434
186
- msgid "(Optional)"
187
- msgstr "(オプション)"
188
-
189
- #: includes/class-list-table.php:36
190
- msgid "Snippets per page"
191
- msgstr "1ページあたりのスニペット表示件数"
192
-
193
- #: code-snippets.php:1118 includes/class-list-table.php:127
194
- #: includes/class-list-table.php:213
195
- msgid "Network Deactivate"
196
- msgstr "ネットワーク 無効"
197
-
198
- #: code-snippets.php:1118 includes/class-list-table.php:127
199
- #: includes/class-list-table.php:213
200
- msgid "Deactivate"
201
- msgstr "無効"
202
-
203
- #: code-snippets.php:1127 includes/class-list-table.php:137
204
- #: includes/class-list-table.php:212
205
- msgid "Network Activate"
206
- msgstr "ネットワーク 有効"
207
-
208
- #: code-snippets.php:1127 includes/class-list-table.php:137
209
- #: includes/class-list-table.php:212
210
- msgid "Activate"
211
- msgstr "有効"
212
-
213
- #: includes/class-list-table.php:187
214
- msgid "Name"
215
- msgstr "名前"
216
-
217
- #: includes/class-list-table.php:188
218
- msgid "ID"
219
- msgstr "ID"
220
-
221
- #: includes/class-list-table.php:147 includes/class-list-table.php:214
222
- msgid "Export"
223
- msgstr "エクスポート"
224
-
225
- #: includes/class-list-table.php:155 includes/class-list-table.php:215
226
- msgid "Delete"
227
- msgstr "削除"
228
-
229
- #: includes/class-list-table.php:216
230
- msgid "Export to PHP"
231
- msgstr "PHPにエクスポート"
232
-
233
- #: includes/class-list-table.php:236
234
- msgid "All <span class=\"count\">(%s)</span>"
235
- msgid_plural "All <span class=\"count\">(%s)</span>"
236
- msgstr[0] "全て <span class=\"count\">(%s)</span>"
237
- msgstr[1] "全て <span class=\"count\">(%s)</span>"
238
-
239
- #: includes/class-list-table.php:239
240
- msgid "Active <span class=\"count\">(%s)</span>"
241
- msgid_plural "Active <span class=\"count\">(%s)</span>"
242
- msgstr[0] "有効 <span class=\"count\">(%s)</span>"
243
- msgstr[1] "有効 <span class=\"count\">(%s)</span>"
244
-
245
- #: includes/class-list-table.php:242
246
- msgid "Recently Active <span class=\"count\">(%s)</span>"
247
- msgid_plural "Recently Active <span class=\"count\">(%s)</span>"
248
- msgstr[0] "最近まで使用 <span class=\"count\">(%s)</span>"
249
- msgstr[1] "最近の有効 <span class=\"count\">(%s)</span>"
250
-
251
- #: includes/class-list-table.php:245
252
- msgid "Inactive <span class=\"count\">(%s)</span>"
253
- msgid_plural "Inactive <span class=\"count\">(%s)</span>"
254
- msgstr[0] "停止 <span class=\"count\">(%s)</span>"
255
- msgstr[1] "停止 <span class=\"count\">(%s)</span>"
256
-
257
- #: includes/class-list-table.php:279
258
- msgid "Clear List"
259
- msgstr "一覧をクリア"
260
-
261
- #: includes/class-list-table.php:374
262
- msgid ""
263
- "You do not appear to have any snippets available at this time. <a href=\"%s"
264
- "\">Add New&rarr;</a>"
265
- msgstr "表示するスニペットがまだありません。<a href=\"%s\">新規追加&rarr;</a>"
266
-
267
- #: includes/help/import.php:5 includes/help/manage.php:5
268
- #: includes/help/single.php:5
269
- msgid "Overview"
270
- msgstr "概要"
271
-
272
- #: includes/help/import.php:7
273
- msgid ""
274
- "Snippets are similar to plugins - they both extend and expand the "
275
- "functionality of WordPress. Snippets are more light-weight, just a few lines "
276
- "of code, and do not put as much load on your server. Here you can load "
277
- "snippets from a Code Snippets (.xml) import file into the database with your "
278
- "existing snippets."
279
- msgstr ""
280
- "スニペットはプラグインに似ています。両方ともWordPressの機能を拡張します。スニ"
281
- "ペットは、より軽量、わずか数行のコードであり、サーバに負荷をかけません。ここ"
282
- "であなたが持つスニペットを Code Snippets のインポートファイル(.xml) からデー"
283
- "タベースに登録できます。"
284
-
285
- #: includes/help/import.php:12
286
- msgid "Importing"
287
- msgstr "インポート中"
288
-
289
- #: includes/help/import.php:15
290
- msgid ""
291
- "Snippets will be added to the database along with your existing snippets. "
292
- "Regardless of whether the snippets were active on the previous site, "
293
- "imported snippets are always inactive until activated using the <a href=\"%s"
294
- "\">Manage Snippets</a> page.</p>"
295
- msgstr ""
296
- "スニペットは、既存のスニペットと一緒にデータベースに追加されます。<a href="
297
- "\"%s\">スニペット管理</a> ページを使用して有効化されるまで、スニペットは、以"
298
- "前のサイト上でアクティブになっていたかどうかにかかわらず、インポートされたス"
299
- "ニペットは常に停止状態となります。</p>"
300
-
301
- #: includes/help/import.php:20
302
- msgid "Exporting"
303
- msgstr "エクスポート中"
304
-
305
- #: includes/help/import.php:22
306
- msgid ""
307
- "You can save your snippets to a Code Snippets (.xml) export file using the "
308
- "<a href=\"%s\">Manage Snippets</a> page."
309
- msgstr ""
310
- "<a href=\"%s\">スニペット管理</a> ページでスニペットをCode Snippetsエクスポー"
311
- "トファイル(.xml)に保存することができます。"
312
-
313
- #: includes/help/import.php:26 includes/help/manage.php:27
314
- #: includes/help/single.php:31
315
- msgid "For more information:"
316
- msgstr "より多くの情報:"
317
-
318
- #: includes/help/import.php:27 includes/help/single.php:32
319
- msgid ""
320
- "<a href=\"http://wordpress.org/plugins/code-snippets\" target=\"_blank"
321
- "\">WordPress Extend</a>"
322
- msgstr ""
323
- "<a href=\"http://wordpress.org/plugins/code-snippets\" target=\"_blank"
324
- "\">WordPress Extend</a>"
325
-
326
- #: includes/help/import.php:28 includes/help/manage.php:29
327
- #: includes/help/single.php:33
328
- msgid ""
329
- "<a href=\"http://wordpress.org/support/plugin/code-snippets\" target=\"_blank"
330
- "\">Support Forums</a>"
331
- msgstr ""
332
- "<a href=\"http://wordpress.org/support/plugin/code-snippets\" target=\"_blank"
333
- "\">サポートフォラム</a>"
334
-
335
- #: includes/help/manage.php:7
336
- msgid ""
337
- "Snippets are similar to plugins - they both extend and expand the "
338
- "functionality of WordPress. Snippets are more light-weight, just a few lines "
339
- "of code, and do not put as much load on your server. Here you can manage "
340
- "your existing snippets and perform tasks on them such as activating, "
341
- "deactivating, deleting and exporting."
342
- msgstr ""
343
- "スニペットはプラグインに似ています。両方ともWordPressの機能を拡張します。スニ"
344
- "ペットは、より軽量、わずか数行のコードであり、サーバに負荷をかけません。ここ"
345
- "では、既存のスニペットなどの有効化、停止、削除、エクスポートなど、それらのタ"
346
- "スクを管理することができます。"
347
-
348
- #: includes/help/manage.php:12
349
- msgid "Safe Mode"
350
- msgstr "セーフモード"
351
-
352
- #: includes/help/manage.php:14
353
- msgid ""
354
- "Be sure to check your snippets for errors before you activate them, as a "
355
- "faulty snippet could bring your whole blog down. If your site starts doing "
356
- "strange things, deactivate all your snippets and activate them one at a time."
357
- msgstr ""
358
- "サイト全体が障害のあるスニペットで停止しないように、それらを有効化する前にス"
359
- "ニペットを確認して下さい。サイトが奇妙な動作をした場合は、すべてのスニペット"
360
- "を無効化し、それらを一度に1をアクティブにします。"
361
-
362
- #: includes/help/manage.php:20
363
- msgid "Uninstall"
364
- msgstr "アンインストール"
365
-
366
- #: includes/help/manage.php:22
367
- msgid ""
368
- "When you delete Code Snippets through the Plugins menu in WordPress it will "
369
- "clear up the <code>%1$s</code> table and a few other bits of data stored in "
370
- "the database. If you want to keep this data (ie: you are only temporally "
371
- "uninstalling Code Snippets) then remove the <code>%2$s</code> folder using "
372
- "FTP."
373
- msgstr ""
374
- "あなたがワードプレスでのプラグインメニューからコードスニペットを削除すると"
375
- "き、<code>%1$s</code>テーブルと、データベースに格納されたデータのいくつかをク"
376
- "リアします。(例:あなただけの一時的コードスニペットをアンインストールする)"
377
- "このデータを保持する場合は、FTPを使用して <code>%2$s</code> フォルダを削除し"
378
- "ます。"
379
-
380
- #: includes/help/manage.php:23
381
- msgid ""
382
- "Even if you're sure that you don't want to use Code Snippets ever again on "
383
- "this WordPress installation, you may want to use the export feature to back "
384
- "up your snippets."
385
- msgstr ""
386
- "インストールされたスニペットコードをこのWordPressで使用しないとしても、スニ"
387
- "ペットをエクスポート機能でバックアップして使用することができます。"
388
-
389
- #: includes/help/manage.php:28
390
- msgid ""
391
- "<a href=\"http://wordpress.org/plugins/code-snippets\" target=\"_blank"
392
- "\">WordPress Extend</a></p>"
393
- msgstr ""
394
- "<a href=\"http://wordpress.org/plugins/code-snippets\" target=\"_blank"
395
- "\">WordPress Extend</a></p>"
396
-
397
- #: includes/help/single.php:7
398
- msgid ""
399
- "Snippets are similar to plugins - they both extend and expand the "
400
- "functionality of WordPress. Snippets are more light-weight, just a few lines "
401
- "of code, and do not put as much load on your server. Here you can add a new "
402
- "snippet, or edit an existing one."
403
- msgstr ""
404
- "スニペットはプラグインに似ています。両方ともWordPressの機能を拡張します。スニ"
405
- "ペットは、より軽量、わずか数行のコードであり、サーバに負荷をかけません。ここ"
406
- "では、新しいスニペットを追加するか、既存のものを編集することができます。"
407
-
408
- #: includes/help/single.php:11
409
- msgid "Finding Snippets"
410
- msgstr "スニペットを探す"
411
-
412
- #: includes/help/single.php:13
413
- msgid ""
414
- "Here are some links to websites which host a large number of snippets that "
415
- "you can add to your site.\n"
416
- "\t\t<ul>\n"
417
- "\t\t\t<li><a href=\"http://wp-snippets.com\" title=\"WordPress Snippets\">WP-"
418
- "Snippets</a></li>\n"
419
- "\t\t\t<li><a href=\"http://wpsnipp.com\" title=\"WP Snipp\">WP Snipp</a></"
420
- "li>\n"
421
- "\t\t\t<li><a href=\"http://www.catswhocode.com/blog/snippets\" title=\"Cats "
422
- "Who Code Snippet Library\">Cats Who Code</a></li>\n"
423
- "\t\t\t<li><a href=\"http://www.wpfunction.me\">WP Function Me</a></li>\n"
424
- "\t\t</ul>"
425
- msgstr ""
426
- "ここにあなたのサイトに追加できるスニペットをホストしているWebサイトを挙げま"
427
- "す。\n"
428
- "\t\t<ul>\n"
429
- "\t\t\t<li><a href=\"http://wp-snippets.com\" title=\"WordPress Snippets\">WP-"
430
- "Snippets</a></li>\n"
431
- "\t\t\t<li><a href=\"http://wpsnipp.com\" title=\"WP Snipp\">WP Snipp</a></"
432
- "li>\n"
433
- "\t\t\t<li><a href=\"http://www.catswhocode.com/blog/snippets\" title=\"Cats "
434
- "Who Code Snippet Library\">Cats Who Code</a></li>\n"
435
- "\t\t\t<li><a href=\"http://www.wpfunction.me\">WP Function Me</a></li>\n"
436
- "\t\t</ul>"
437
-
438
- #: includes/help/single.php:24
439
- msgid "Adding Snippets"
440
- msgstr "スニペットを追加"
441
-
442
- #: includes/help/single.php:26
443
- msgid ""
444
- "You need to fill out the name and code fields for your snippet to be added. "
445
- "While the description field will add more information about how your snippet "
446
- "works, what is does and where you found it, it is completely optional."
447
- msgstr ""
448
- "あなたは、追加するスニペットの名前とコードのフィールドに必要事項を記入する必"
449
- "要があります。説明フィールドには、あなたのスニペットがどのように機能するかに"
450
- "ついての詳細情報を記入しますが、これは任意です。"
451
-
452
- #: includes/help/single.php:27
453
- msgid ""
454
- "Please be sure to check that your snippet is valid PHP code and will not "
455
- "produce errors before adding it through this page. While doing so will not "
456
- "become active straight away, it will help to minimise the chance of a faulty "
457
- "snippet becoming active on your site."
458
- msgstr ""
459
- "このページで追加するスニペットのPHPコードがエラーを起こさないことを確認して下"
460
- "さい。そうすることですぐに有効になりませんが、障害のあるスニペットは、サイト"
461
- "上で有効になる可能性を最小限に抑えるのに役立ちます。"
462
-
463
- #: code-snippets.php:0
464
- msgid "http://bungeshea.com/plugins/code-snippets"
465
- msgstr "http://bungeshea.com/plugins/code-snippets"
466
-
467
- #: code-snippets.php:263
468
- msgid "Import snippets from a <strong>Code Snippets</strong> export file"
469
- msgstr ""
470
- "スニペットを<strong>Code Snippets</strong>のエクスポートファイルからインポー"
471
- "ト"
472
-
473
- #: includes/admin/import.php:20
474
- msgid "Imported <strong>%d</strong> snippet."
475
- msgid_plural "Imported <strong>%d</strong> snippets."
476
- msgstr[0] "スニペットを <strong>%d</strong> 件インポートしました。"
477
- msgstr[1] "スニペットを <strong>%d</strong> 件インポートしました。"
478
-
479
- #: includes/help/import.php:29 includes/help/manage.php:30
480
- #: includes/help/single.php:34
481
- msgid ""
482
- "<a href=\"http://bungeshea.com/plugins/code-snippets/\" target=\"_blank\">Project "
483
- "Website</a>"
484
- msgstr ""
485
- "<a href=\"http://bungeshea.com/plugins/code-snippets/\" target=\"_blank\">プロジェク"
486
- "トサイト</a>"
487
-
488
- #: includes/help/manage.php:15
489
- msgid ""
490
- "If something goes wrong with a snippet and you can't use WordPress, you can "
491
- "cause all snippets to stop executing by adding <code>define"
492
- "('CODE_SNIPPETS_SAFE_MODE', true);</code> to your <code>wp-config.php</code> "
493
- "file. After you have deactivated the offending snippet, you can turn off "
494
- "safe mode by removing this line or replacing <strong>true</strong> with "
495
- "<strong>false</strong>."
496
- msgstr ""
497
- "もしもスニペットに何か問題があってWordPressが使えなくなったら、<code>wp-"
498
- "config.php</code>ファイルに <code>define('CODE_SNIPPETS_SAFE_MODE', true);</"
499
- "code> と記述することでスニペットの実行を停止します。あなたが問題のスニペット"
500
- "を無効にした後は、この行を削除するか、<strong>true</strong> を "
501
- "<strong>false</strong> に置き換えることでセーフモードをオフにすることができま"
502
- "す。"
503
-
504
- #: includes/help/single.php:20
505
- msgid ""
506
- "More places to find snippets, as well as a selection of example snippets, "
507
- "can be found in the <a href=\"https://github.com/sheabunge/code-snippets/wiki/"
508
- "Finding-snippets\">plugin documentation</a>"
509
- msgstr ""
510
- "スニペットの例は、<a href=\"https://github.com/sheabunge/code-snippets/wiki/"
511
- "Finding-snippets\">プラグインドキュメント</a> に記載されています。"
512
-
513
- #: code-snippets.php:0
514
- msgid "1.7"
515
- msgstr "1.7"
516
-
517
- #: code-snippets.php:602 includes/class-list-table.php:142
518
- msgid "Edit"
519
- msgstr "編集"
520
-
521
- #: code-snippets.php:1227
522
- msgid "Sorry, you're not allowed to edit snippets"
523
- msgstr "申し訳ありません、スニペット編集の許可がないようです"
524
-
525
- #: includes/admin/single.php:24
526
- msgid "Snippet <strong>updated</strong> and <strong>activated</strong>."
527
- msgstr ""
528
- "スニペットを <strong>更新</strong> し、 <strong>有効化</strong>しました。"
529
-
530
- #: includes/admin/single.php:26
531
- msgid "Snippet <strong>added</strong> and <strong>activated</strong>."
532
- msgstr ""
533
- "スニペットを <strong>追加</strong> し、 <strong>有効化</strong>しました。"
534
-
535
- #: includes/class-list-table.php:163
536
- msgid ""
537
- "You are about to permanently delete the selected item.\n"
538
- "\t\t\t\t'Cancel' to stop, 'OK' to delete."
539
- msgstr ""
540
- "あなたは永久に���択した項目を削除しようとしています。\n"
541
- "\t\t\t\t 削除するには、'OK'を、中止するには 'Cancel'をクリックして下さい。"
542
-
543
- #: includes/class-list-table.php:270
544
- msgid "Filter"
545
- msgstr "検索条件"
546
-
547
- #: includes/class-list-table.php:541
548
- msgid "Search results"
549
- msgstr "検索結果"
550
-
551
- #: includes/class-list-table.php:544
552
- msgid " for &#8220;%s&#8221;"
553
- msgstr " for &#8220;%s&#8221;"
554
-
555
- #: includes/class-list-table.php:550
556
- msgid "Clear Filters"
557
- msgstr "検索条件を解除"
558
-
559
- #: includes/help/import.php:14
560
- msgid ""
561
- "You can load your snippets from a code snippets (.xml) export file using "
562
- "this page."
563
- msgstr ""
564
- "このページでスニペットコードをエクスポートファイル(.xml)から読み込むことがで"
565
- "きます。"
566
-
567
- #: includes/admin/single.php:74
568
- msgid "Save Changes &amp; Activate"
569
- msgstr "変更を保存 &amp; 有効化"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/languages/code-snippets-nl_NL.mo DELETED
Binary file
trunk/languages/code-snippets-nl_NL.po DELETED
@@ -1,912 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: code-snippets 2.7.0\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2016-08-02 02:40+0200\n"
6
- "PO-Revision-Date: 2016-08-07 15:28+0200\n"
7
- "Language-Team: \n"
8
- "MIME-Version: 1.0\n"
9
- "Content-Type: text/plain; charset=UTF-8\n"
10
- "Content-Transfer-Encoding: 8bit\n"
11
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
12
- "X-Generator: Poedit 1.8.8\n"
13
- "Last-Translator: Sander Spies <s@nderspi.es>\n"
14
- "Language: nl_NL\n"
15
-
16
- #: php/admin-menus/class-admin-menu.php:98
17
- msgid "You are not authorized to access this page."
18
- msgstr "U heeft geen toegang tot deze pagina."
19
-
20
- #: php/admin-menus/class-edit-menu.php:13
21
- #: php/admin-menus/class-edit-menu.php:14 php/views/edit.php:25
22
- msgid "Edit Snippet"
23
- msgstr "Fragment bewerken"
24
-
25
- #: php/admin-menus/class-edit-menu.php:32
26
- msgid "Add New"
27
- msgstr "Nieuwe toevoegen"
28
-
29
- #: php/admin-menus/class-edit-menu.php:33 php/views/edit.php:31
30
- msgid "Add New Snippet"
31
- msgstr "Nieuw fragment toevoegen"
32
-
33
- #: php/admin-menus/class-edit-menu.php:178
34
- msgid "Don't Panic"
35
- msgstr "Raak niet in paniek"
36
-
37
- #: php/admin-menus/class-edit-menu.php:179
38
- #, php-format
39
- msgid ""
40
- "The code snippet you are trying to save produced a fatal error on line %d:"
41
- msgstr ""
42
- "Het fragment dat u probeert op te slaan genereert een fatale fout op regel "
43
- "%d:"
44
-
45
- #: php/admin-menus/class-edit-menu.php:181
46
- msgid ""
47
- "The previous version of the snippet is unchanged, and the rest of this site "
48
- "should be functioning normally as before."
49
- msgstr ""
50
- "De vorige versie van het fragment is ongewijzigd en de rest van deze website "
51
- "dient normaal te functioneren zoals voorheen."
52
-
53
- #: php/admin-menus/class-edit-menu.php:182
54
- msgid ""
55
- "Please use the back button in your browser to return to the previous page "
56
- "and try to fix the code error."
57
- msgstr ""
58
- "Gebruik de terug-knop in uw browser om terug te keren naar de vorige pagina "
59
- "en probeer de fout in de code herstellen."
60
-
61
- #: php/admin-menus/class-edit-menu.php:183
62
- msgid ""
63
- "If you prefer, you can close this page and discard the changes you just "
64
- "made. No changes will be made to this site."
65
- msgstr ""
66
- "Als u wilt kunt u deze pagina te sluiten en de wijzigingen die u zojuist "
67
- "gemaakt heeft weggooien. Er worden geen wijzigingen aangebracht in deze "
68
- "website."
69
-
70
- #: php/admin-menus/class-edit-menu.php:303 php/class-list-table.php:324
71
- msgid "Description"
72
- msgstr "Omschijving"
73
-
74
- #: php/admin-menus/class-edit-menu.php:333 php/class-list-table.php:325
75
- msgid "Tags"
76
- msgstr "Labels"
77
-
78
- #: php/admin-menus/class-edit-menu.php:337
79
- msgid "Enter a list of tags; separated by commas"
80
- msgstr "Voer een lijst met labels in; gescheiden door komma's"
81
-
82
- #: php/admin-menus/class-edit-menu.php:356
83
- msgid "Run snippet everywhere"
84
- msgstr "Fragment overal uitvoeren"
85
-
86
- #: php/admin-menus/class-edit-menu.php:357
87
- msgid "Only run in administration area"
88
- msgstr "Alleen uitvoeren in het beheergedeelte"
89
-
90
- #: php/admin-menus/class-edit-menu.php:358
91
- msgid "Only run on site front-end"
92
- msgstr "Alleen uitvoeren op de website"
93
-
94
- #: php/admin-menus/class-edit-menu.php:362
95
- msgid "Scope"
96
- msgstr "Bereik"
97
-
98
- #: php/admin-menus/class-edit-menu.php:382
99
- msgid "Sharing"
100
- msgstr "Delen"
101
-
102
- #: php/admin-menus/class-edit-menu.php:386
103
- msgid "Allow this snippet to be activated on individual sites on the network"
104
- msgstr ""
105
- "Toestaan dat dit fragment geactiveerd kan worden op andere websites in het "
106
- "netwerk."
107
-
108
- #: php/admin-menus/class-edit-menu.php:446
109
- #, php-format
110
- msgid "The snippet has been deactivated due to an error on line %d:"
111
- msgstr "Dit fragment is gedeactiveerd vanwege een error in regel %d:"
112
-
113
- #: php/admin-menus/class-edit-menu.php:451
114
- msgid "The snippet has been deactivated due to an error in the code."
115
- msgstr "Dit fragment is gedeactiveerd vanwege een error in de code."
116
-
117
- #: php/admin-menus/class-edit-menu.php:458
118
- msgid "An error occurred when saving the snippet."
119
- msgstr "Er is een fout opgetreden bij het opslaan van het fragment."
120
-
121
- #: php/admin-menus/class-edit-menu.php:463
122
- msgid "Snippet <strong>added</strong>."
123
- msgstr "Fragment <strong>toegevoegd</strong>."
124
-
125
- #: php/admin-menus/class-edit-menu.php:464
126
- msgid "Snippet <strong>updated</strong>."
127
- msgstr "Fragment <strong>bijgewerkt</strong>."
128
-
129
- #: php/admin-menus/class-edit-menu.php:465
130
- msgid "Snippet <strong>added</strong> and <strong>activated</strong>."
131
- msgstr "Fragment <strong>toegevoegd</strong> en <strong>geactiveerd</strong>."
132
-
133
- #: php/admin-menus/class-edit-menu.php:466
134
- msgid "Snippet <strong>updated</strong> and <strong>activated</strong>."
135
- msgstr "Fragment <strong>bijgewerkt</strong> en <strong>geactiveerd.</strong>"
136
-
137
- #: php/admin-menus/class-edit-menu.php:467
138
- msgid "Snippet <strong>updated</strong> and <strong>deactivated</strong>."
139
- msgstr "Snippet <strong>bijgewerkt</strong> en <strong>gedeactiveerd.</strong>"
140
-
141
- #: php/admin-menus/class-import-menu.php:15
142
- msgid "Import"
143
- msgstr "Importeren"
144
-
145
- #: php/admin-menus/class-import-menu.php:16 php/views/import.php:17
146
- msgid "Import Snippets"
147
- msgstr "Importeren van fragmenten"
148
-
149
- #: php/admin-menus/class-import-menu.php:78
150
- msgid "Code Snippets"
151
- msgstr "Codefragmenten"
152
-
153
- #: php/admin-menus/class-import-menu.php:79
154
- msgid "Import snippets from a code snippets export file"
155
- msgstr "Fragmenten importeren vanuit een exportbestand"
156
-
157
- #: php/admin-menus/class-import-menu.php:93
158
- #, php-format
159
- msgid ""
160
- "Successfully imported <strong>%d</strong> snippet. <a href=\"%s\">Have fun!</"
161
- "a>"
162
- msgid_plural ""
163
- "Successfully imported <strong>%d</strong> snippets. <a href=\"%s\">Have fun!"
164
- "</a>"
165
- msgstr[0] ""
166
- "<strong>%d</strong> fragment met succes geïmporteerd. <a href=\"%s\">Veel "
167
- "plezier!</a>"
168
- msgstr[1] ""
169
- "<strong>%d</strong> fragmenten met succes geïmporteerd. <a href=\"%s\">Veel "
170
- "plezier!</a>"
171
-
172
- #: php/admin-menus/class-import-menu.php:106
173
- msgid "An error occurred when processing the import file."
174
- msgstr "Er is een fout opgetreden bij het verwerken van het importbestand."
175
-
176
- #: php/admin-menus/class-manage-menu.php:22 php/class-admin.php:111
177
- msgid "Manage"
178
- msgstr "Beheren"
179
-
180
- #: php/admin-menus/class-manage-menu.php:23
181
- #: php/admin-menus/class-manage-menu.php:39
182
- #: php/admin-menus/class-manage-menu.php:40 php/class-admin.php:52
183
- #: php/views/manage.php:19
184
- msgid "Snippets"
185
- msgstr "Fragmenten"
186
-
187
- #: php/admin-menus/class-manage-menu.php:75
188
- msgid ""
189
- "<strong>Warning:</strong> Safe mode is active and snippets will not execute! "
190
- "Remove the <code>CODE_SNIPPETS_SAFE_MODE</code> constant from <code>wp-"
191
- "config.php</code> to turn off safe mode. <a href=\"https://github.com/"
192
- "sheabunge/code-snippets/wiki/Safe-Mode\" target=\"_blank\">Help</a>"
193
- msgstr ""
194
- "<strong>Waarschuwing:</strong> Veilige modus is actief en fragmenten zullen "
195
- "niet worden uitgevoerd! Verwijder de <code>CODE_SNIPPETS_SAFE_MODE</code> "
196
- "constante uit <code>wp-config.php</code> om veilige modus uit te schakelen. "
197
- "<a href=\"https://github.com/sheabunge/code-snippets/wiki/Safe-Mode\" target="
198
- "\"_blank\">Help</a>"
199
-
200
- #: php/admin-menus/class-manage-menu.php:81
201
- msgid "Snippet <strong>activated</strong>."
202
- msgstr "Fragment <strong>geactiveerd</strong>."
203
-
204
- #: php/admin-menus/class-manage-menu.php:82
205
- msgid "Selected snippets <strong>activated</strong>."
206
- msgstr "Geselecteerde fragmenten <strong>geactiveerd</strong>."
207
-
208
- #: php/admin-menus/class-manage-menu.php:83
209
- msgid "Snippet <strong>deactivated</strong>."
210
- msgstr "Fragment <strong>gedeactiveerd</strong>."
211
-
212
- #: php/admin-menus/class-manage-menu.php:84
213
- msgid "Selected snippets <strong>deactivated</strong>."
214
- msgstr "Geselecteerde fragmenten <strong>gedeactiveerd</strong>."
215
-
216
- #: php/admin-menus/class-manage-menu.php:85
217
- msgid "Snippet <strong>deleted</strong>."
218
- msgstr "Fragment <strong>verwijderd</strong>."
219
-
220
- #: php/admin-menus/class-manage-menu.php:86
221
- msgid "Selected snippets <strong>deleted</strong>."
222
- msgstr "Geselecteerde fragmenten <strong>verwijderd</strong>."
223
-
224
- #: php/admin-menus/class-settings-menu.php:16
225
- #: php/admin-menus/class-settings-menu.php:36 php/views/edit.php:134
226
- msgid "Settings"
227
- msgstr "Instellingen"
228
-
229
- #: php/admin-menus/class-settings-menu.php:17
230
- msgid "Snippets Settings"
231
- msgstr "Fragmenten instellingen"
232
-
233
- #: php/class-admin.php:110
234
- msgid "Manage your existing snippets"
235
- msgstr "Beheren van uw bestaande fragmenten"
236
-
237
- #: php/class-admin.php:141
238
- msgid "Visit the WordPress.org plugin page"
239
- msgstr "Bezoek de WordPress.org plugin pagina"
240
-
241
- #: php/class-admin.php:142
242
- msgid "About"
243
- msgstr "Over"
244
-
245
- #: php/class-admin.php:146
246
- msgid "Visit the support forums"
247
- msgstr "Bezoek de support forums"
248
-
249
- #: php/class-admin.php:147
250
- msgid "Support"
251
- msgstr "Support"
252
-
253
- #: php/class-admin.php:151
254
- msgid "Support this plugin's development"
255
- msgstr "Ondersteun de ontwikkeling van deze plugin"
256
-
257
- #: php/class-admin.php:152
258
- msgid "Donate"
259
- msgstr "Doneren"
260
-
261
- #: php/class-admin.php:183
262
- msgid ""
263
- "<strong>Have feedback on Code Snippets?</strong> Please take the time to "
264
- "answer a short survey on how you use this plugin and what you'd like to see "
265
- "changed or added in the future."
266
- msgstr ""
267
- "<strong>Heeft u feedback op Code Snippets?</strong> Vult u alstublieft de "
268
- "korte enquête in over hoe u deze plugin gebruikt en wat u graag veranderd of "
269
- "toegevoegd zou zien in de toekomst."
270
-
271
- #: php/class-admin.php:187
272
- msgid "Take the survey now"
273
- msgstr "Deelnemen aan de enquête"
274
-
275
- #: php/class-admin.php:190
276
- msgid "Dismiss"
277
- msgstr "Annuleren"
278
-
279
- #: php/class-contextual-help.php:40
280
- msgid "For more information:"
281
- msgstr "Voor meer informatie:"
282
-
283
- #: php/class-contextual-help.php:41
284
- msgid "About Plugin"
285
- msgstr "Over de plugin"
286
-
287
- #: php/class-contextual-help.php:42
288
- msgid "FAQ"
289
- msgstr "Veelgestelde vragen"
290
-
291
- #: php/class-contextual-help.php:43
292
- msgid "Support Forums"
293
- msgstr "Support forums"
294
-
295
- #: php/class-contextual-help.php:44
296
- msgid "Plugin Website"
297
- msgstr "Plugin website"
298
-
299
- #: php/class-contextual-help.php:55 php/class-contextual-help.php:81
300
- #: php/class-contextual-help.php:114
301
- msgid "Overview"
302
- msgstr "Overzicht"
303
-
304
- #: php/class-contextual-help.php:56
305
- msgid ""
306
- "Snippets are similar to plugins - they both extend and expand the "
307
- "functionality of WordPress. Snippets are more light-weight, just a few lines "
308
- "of code, and do not put as much load on your server. Here you can manage "
309
- "your existing snippets and perform tasks on them such as activating, "
310
- "deactivating, deleting and exporting."
311
- msgstr ""
312
- "Fragmenten zijn vergelijkbaar met plugins - beiden breiden de "
313
- "functionaliteit van WordPress uit. Fragmenten zijn meer lichtgewicht, ze "
314
- "bestaan uit slechts een paar regels code en belasten uw server minder. Hier "
315
- "kunt u uw bestaande fragmenten beheren en taken uitvoeren zoals het "
316
- "activeren, deactiveren, verwijderen en exporteren van fragmenten."
317
-
318
- #: php/class-contextual-help.php:61
319
- msgid "Safe Mode"
320
- msgstr "Veilige modus"
321
-
322
- #: php/class-contextual-help.php:62
323
- msgid ""
324
- "Be sure to check your snippets for errors before you activate them, as a "
325
- "faulty snippet could bring your whole blog down. If your site starts doing "
326
- "strange things, deactivate all your snippets and activate them one at a time."
327
- msgstr ""
328
- "Controleer uw fragmenten op fouten voordat u ze activeert. Door een fout in "
329
- "de code kan uw website wellicht niet meer functioneren. Als u problemen "
330
- "constateert met uw website, deactiveer dan alle fragmenten en activeer ze "
331
- "één voor één."
332
-
333
- #: php/class-contextual-help.php:63
334
- msgid ""
335
- "If something goes wrong with a snippet and you can't use WordPress, you can "
336
- "cause all snippets to stop executing by adding "
337
- "<code>define('CODE_SNIPPETS_SAFE_MODE', true);</code> to your <code>wp-"
338
- "config.php</code> file. After you have deactivated the offending snippet, "
339
- "you can turn off safe mode by removing this line or replacing <strong>true</"
340
- "strong> with <strong>false</strong>."
341
- msgstr ""
342
- "Als er iets mis gaat met een fragment en u kunt geen gebruik meer maken van "
343
- "WordPress, dan kunt u alle fragmenten laten negeren door het toevoegen van "
344
- "<code>define('CODE_SNIPPETS_SAFE_MODE', true);</code> aan uw <code>wp-config."
345
- "php</code> bestand. Nadat u het probleem fragment heeft gedeactiveerd kunt u "
346
- "veilige modus weer uitschakelen door deze regel te verwijderen of door "
347
- "<strong>true</strong> te vervangen door <strong>false</strong>."
348
-
349
- #: php/class-contextual-help.php:68
350
- msgid "Uninstall"
351
- msgstr "Deïnstalleren"
352
-
353
- #: php/class-contextual-help.php:69
354
- #, php-format
355
- msgid ""
356
- "When you delete Code Snippets through the Plugins menu in WordPress it will "
357
- "clear up the <code>%1$s</code> table and a few other bits of data stored in "
358
- "the database. If you want to keep this data (ie: you are only temporally "
359
- "uninstalling Code Snippets) then remove the <code>%2$s</code> folder using "
360
- "FTP."
361
- msgstr ""
362
- "Wanneer u Code Snippets verwijdert via het Plugins menu in WordPress zal het "
363
- "de <code>%1$s</code> tabel en wat andere data uit de database verwijderen. "
364
- "Als u deze data wilt bewaren (bijvoorbeeld als u Code Snippets alleen maar "
365
- "tijdelijk wilt deïnstalleren), verwijder dan de map <code>%2$s</code> via "
366
- "FTP."
367
-
368
- #: php/class-contextual-help.php:70
369
- msgid ""
370
- "Even if you're sure that you don't want to use Code Snippets ever again on "
371
- "this WordPress installation, you may want to use the export feature to back "
372
- "up your snippets."
373
- msgstr ""
374
- "U kunt de exportfunctie gebruiken om een back-up van uw fragmenten te maken, "
375
- "zelfs als u zeker weet dat u nooit meer gebruik wilt maken van de Code "
376
- "Snippets plugin in deze WordPress installatie."
377
-
378
- #: php/class-contextual-help.php:82
379
- msgid ""
380
- "Snippets are similar to plugins - they both extend and expand the "
381
- "functionality of WordPress. Snippets are more light-weight, just a few lines "
382
- "of code, and do not put as much load on your server. Here you can add a new "
383
- "snippet, or edit an existing one."
384
- msgstr ""
385
- "Fragmenten zijn vergelijkbaar met plugins - beiden breiden de "
386
- "functionaliteit van WordPress uit. Fragmenten zijn meer lichtgewicht, ze "
387
- "bestaan uit slechts een paar regels code en belasten uw server minder. Hier "
388
- "kunt u nieuwe fragmenten toevoegen of bestaande fragmenten aanpassen."
389
-
390
- #: php/class-contextual-help.php:87
391
- msgid "Finding Snippets"
392
- msgstr "Fragmenten vinden"
393
-
394
- #: php/class-contextual-help.php:88
395
- msgid ""
396
- "Here are some links to websites which host a large number of snippets that "
397
- "you can add to your site.\n"
398
- "\t\t\t\t<ul>\n"
399
- "\t\t\t\t\t<li><a href=\"http://wp-snippets.com\" title=\"WordPress Snippets"
400
- "\">WP-Snippets</a></li>\n"
401
- "\t\t\t\t\t<li><a href=\"http://wpsnipp.com\" title=\"WP Snipp\">WP Snipp</"
402
- "a></li>\n"
403
- "\t\t\t\t\t<li><a href=\"http://www.catswhocode.com/blog/snippets\" title="
404
- "\"Cats Who Code Snippet Library\">Cats Who Code</a></li>\n"
405
- "\t\t\t\t\t<li><a href=\"http://www.wpfunction.me\">WP Function Me</a></li>\n"
406
- "\t\t\t\t</ul>"
407
- msgstr ""
408
- "Hier zijn enkele links naar websites die fragmenten bevatten om op uw eigen "
409
- "website te gebruiken.\n"
410
- "\t\t\t\t<ul>\n"
411
- "\t\t\t\t\t<li><a href=\"http://wp-snippets.com\" title=\"WordPress Snippets"
412
- "\">WP-Snippets</a></li>\n"
413
- "\t\t\t\t\t<li><a href=\"http://wpsnipp.com\" title=\"WP Snipp\">WP Snipp</"
414
- "a></li>\n"
415
- "\t\t\t\t\t<li><a href=\"http://www.catswhocode.com/blog/snippets\" title="
416
- "\"Cats Who Code Snippet Library\">Cats Who Code</a></li>\n"
417
- "\t\t\t\t\t<li><a href=\"http://www.wpfunction.me\">WP Function Me</a></li>\n"
418
- "\t\t\t\t</ul>"
419
-
420
- #: php/class-contextual-help.php:95
421
- msgid ""
422
- "More places to find snippets, as well as a selection of example snippets, "
423
- "can be found in the <a href=\"https://github.com/sheabunge/code-snippets/"
424
- "wiki/Finding-snippets\">plugin documentation</a>"
425
- msgstr ""
426
- "Websites met fragmenten en voorbeelden van fragmenten kunt u vinden in de <a "
427
- "href=\"https://github.com/sheabunge/code-snippets/wiki/Finding-snippets"
428
- "\">plugin documentatie</a>"
429
-
430
- #: php/class-contextual-help.php:100
431
- msgid "Adding Snippets"
432
- msgstr "Fragmenten toevoegen"
433
-
434
- #: php/class-contextual-help.php:101
435
- msgid ""
436
- "You need to fill out the name and code fields for your snippet to be added. "
437
- "While the description field will add more information about how your snippet "
438
- "works, what is does and where you found it, it is completely optional."
439
- msgstr ""
440
- "De naam en code voor een fragment zijn verplichte velden. In de omschrijving "
441
- "kunt u aangeven wat het fragment doet of waar u het gevonden heeft, maar dit "
442
- "veld is optioneel."
443
-
444
- #: php/class-contextual-help.php:102
445
- msgid ""
446
- "Please be sure to check that your snippet is valid PHP code and will not "
447
- "produce errors before adding it through this page. While doing so will not "
448
- "become active straight away, it will help to minimise the chance of a faulty "
449
- "snippet becoming active on your site."
450
- msgstr ""
451
- "Controleert u alstublieft of uw fragment geldige PHP code bevat en dat de "
452
- "code geen errors genereert. Door dit te doen verkleint u de kans dat er "
453
- "corrupte fragmenten actief worden op uw website."
454
-
455
- #: php/class-contextual-help.php:115
456
- msgid ""
457
- "Snippets are similar to plugins - they both extend and expand the "
458
- "functionality of WordPress. Snippets are more light-weight, just a few lines "
459
- "of code, and do not put as much load on your server. Here you can load "
460
- "snippets from a Code Snippets (.xml) import file into the database with your "
461
- "existing snippets."
462
- msgstr ""
463
- "Fragmenten zijn vergelijkbaar met plugins - beiden breiden de "
464
- "functionaliteit van WordPress uit. Fragmenten zijn meer lichtgewicht, ze "
465
- "bestaan uit slechts een paar regels code en belasten uw server minder. Hier "
466
- "kunt u fragmenten importeren uit Code Snippet (.xml) bestanden."
467
-
468
- #: php/class-contextual-help.php:120
469
- msgid "Importing"
470
- msgstr "Bezig met importeren"
471
-
472
- #: php/class-contextual-help.php:121
473
- msgid ""
474
- "You can load your snippets from a code snippets (.xml) export file using "
475
- "this page."
476
- msgstr ""
477
- "Op deze pagina kunt u uw fragmenten inladen vanuit een (.xml) export bestand."
478
-
479
- #: php/class-contextual-help.php:122
480
- #, php-format
481
- msgid ""
482
- "Snippets will be added to the database along with your existing snippets. "
483
- "Regardless of whether the snippets were active on the previous site, "
484
- "imported snippets are always inactive until activated using the <a href=\"%s"
485
- "\">Manage Snippets</a> page.</p>"
486
- msgstr ""
487
- "Fragmenten zullen aan de database worden toegevoegd tezamen met uw bestaande "
488
- "fragmenten. Ongeacht of de fragmenten actief waren op de vorige website, "
489
- "geïmporteerde fragmenten zijn altijd inactief totdat ze geactiveerd worden "
490
- "op de <a href=\"%s\">fragmenten beheerpagina</a>.</p>"
491
-
492
- #: php/class-contextual-help.php:127
493
- msgid "Exporting"
494
- msgstr "Bezig met exporteren"
495
-
496
- #: php/class-contextual-help.php:128
497
- #, php-format
498
- msgid ""
499
- "You can save your snippets to a Code Snippets (.xml) export file using the "
500
- "<a href=\"%s\">Manage Snippets</a> page."
501
- msgstr ""
502
- "U kunt fragmenten exporteren naar een Code Snippets (.xml) bestand op de <a "
503
- "href=\"%s\">fragmenten beheerpagina</a>."
504
-
505
- #: php/class-export.php:87
506
- msgid ""
507
- "This is a code snippets export file generated by the Code Snippets WordPress "
508
- "plugin."
509
- msgstr ""
510
- "Dit is een exportbestand van een fragment gegenereerd door de Code Snippets "
511
- "WordPress plugin."
512
-
513
- #: php/class-export.php:89
514
- msgid "To import these snippets a WordPress site follow these steps:"
515
- msgstr ""
516
- "Om deze fragmenten te importeren in een WordPress website gaat u als volgt "
517
- "te werk:"
518
-
519
- #: php/class-export.php:90
520
- msgid "1. Log in to that site as an administrator."
521
- msgstr "1. Log in als beheerder op de website."
522
-
523
- #: php/class-export.php:91
524
- msgid ""
525
- "2. Install the Code Snippets plugin using the directions provided at the "
526
- "above link."
527
- msgstr ""
528
- "2. Installeer de Code Snippets plugin volgens de instructies beschreven in "
529
- "de bovenstaande link."
530
-
531
- #: php/class-export.php:92
532
- msgid "3. Go to 'Tools: Import' in the WordPress admin panel."
533
- msgstr "3. Ga naar 'Extra: Importeren' in het WordPress beheergedeelte."
534
-
535
- #: php/class-export.php:93
536
- msgid "4. Click on the \"Code Snippets\" importer in the list"
537
- msgstr "4. Klik op de \"Code Snippets\" link."
538
-
539
- #: php/class-export.php:94
540
- msgid "5. Upload this file using the form provided on that page."
541
- msgstr "5. Upload dit bestand met behulp van het formulier op die pagina."
542
-
543
- #: php/class-export.php:95
544
- msgid ""
545
- "6. Code Snippets will then import all of the snippets and associated "
546
- "information contained in this file into your site."
547
- msgstr ""
548
- "6. Code Snippets zal vervolgens alle fragmenten en de bijbehorende gegevens "
549
- "in dit bestand importeren in uw website."
550
-
551
- #: php/class-export.php:96
552
- msgid ""
553
- "7. You will then have to visit the 'Snippets: Manage' admin menu and "
554
- "activate desired snippets."
555
- msgstr ""
556
- "7. Daarna kunt u via het 'Fragmenten: Beheren' menu de gewenste fragmenten "
557
- "activeren."
558
-
559
- #: php/class-list-table.php:58
560
- msgid "Snippets per page"
561
- msgstr "Fragmenten per pagina"
562
-
563
- #: php/class-list-table.php:117 php/class-list-table.php:370
564
- msgid "Network Deactivate"
565
- msgstr "Netwerk deactiveren"
566
-
567
- #: php/class-list-table.php:117 php/class-list-table.php:180
568
- #: php/class-list-table.php:370
569
- msgid "Deactivate"
570
- msgstr "Deactiveren"
571
-
572
- #: php/class-list-table.php:126 php/class-list-table.php:369
573
- msgid "Network Activate"
574
- msgstr "Netwerk-wijd activeren"
575
-
576
- #: php/class-list-table.php:126 php/class-list-table.php:180
577
- #: php/class-list-table.php:369
578
- msgid "Activate"
579
- msgstr "Activeren"
580
-
581
- #: php/class-list-table.php:136 php/class-list-table.php:196
582
- msgid "Edit"
583
- msgstr "Bewerken"
584
-
585
- #: php/class-list-table.php:142 php/class-list-table.php:202
586
- #: php/class-list-table.php:371 php/views/edit.php:111
587
- msgid "Export"
588
- msgstr "Exporteren"
589
-
590
- #: php/class-list-table.php:151 php/class-list-table.php:214
591
- #: php/class-list-table.php:372 php/views/edit.php:123
592
- msgid "Delete"
593
- msgstr "Verwijderen"
594
-
595
- #: php/class-list-table.php:158 php/class-list-table.php:224
596
- msgid ""
597
- "You are about to permanently delete the selected item.\n"
598
- "\t\t\t\t\t'Cancel' to stop, 'OK' to delete."
599
- msgstr ""
600
- "U staat op het punt om het geselecteerde item permanent te verwijderen.\n"
601
- "\t\t\t\t\t'Annuleren' om te stoppen, 'OK' om te verwijderen."
602
-
603
- #: php/class-list-table.php:244
604
- #, php-format
605
- msgid "Untitled #%d"
606
- msgstr "Naamloos #%d"
607
-
608
- #: php/class-list-table.php:261
609
- msgid "Shared on Network"
610
- msgstr "Gedeeld op het netwerk"
611
-
612
- #: php/class-list-table.php:322
613
- msgid "Name"
614
- msgstr "Naam"
615
-
616
- #: php/class-list-table.php:323
617
- msgid "ID"
618
- msgstr "ID"
619
-
620
- #: php/class-list-table.php:373
621
- msgid "Export to PHP"
622
- msgstr "Exporteren naar PHP"
623
-
624
- #: php/class-list-table.php:411
625
- #, php-format
626
- msgid "All <span class=\"count\">(%s)</span>"
627
- msgid_plural "All <span class=\"count\">(%s)</span>"
628
- msgstr[0] "Alles <span class=\"count\">(%s)</span>"
629
- msgstr[1] "Alles <span class=\"count\">(%s)</span>"
630
-
631
- #: php/class-list-table.php:412
632
- #, php-format
633
- msgid "Active <span class=\"count\">(%s)</span>"
634
- msgid_plural "Active <span class=\"count\">(%s)</span>"
635
- msgstr[0] "Actief <span class=\"count\">(%s)</span>"
636
- msgstr[1] "Actief <span class=\"count\">(%s)</span>"
637
-
638
- #: php/class-list-table.php:413
639
- #, php-format
640
- msgid "Inactive <span class=\"count\">(%s)</span>"
641
- msgid_plural "Inactive <span class=\"count\">(%s)</span>"
642
- msgstr[0] "Inactief <span class=\"count\">(%s)</span>"
643
- msgstr[1] "Inactief <span class=\"count\">(%s)</span>"
644
-
645
- #: php/class-list-table.php:414
646
- #, php-format
647
- msgid "Recently Active <span class=\"count\">(%s)</span>"
648
- msgid_plural "Recently Active <span class=\"count\">(%s)</span>"
649
- msgstr[0] "Recentelijk actief <span class=\"count\">(%s)</span>"
650
- msgstr[1] "Recentelijk actief <span class=\"count\">(%s)</span>"
651
-
652
- #: php/class-list-table.php:477
653
- msgid "Show all tags"
654
- msgstr "Alle labels weergeven"
655
-
656
- #: php/class-list-table.php:491
657
- msgid "Filter"
658
- msgstr "Filteren"
659
-
660
- #: php/class-list-table.php:499
661
- msgid "Clear List"
662
- msgstr "Lijst leegmaken"
663
-
664
- #: php/class-list-table.php:686
665
- #, php-format
666
- msgid ""
667
- "You do not appear to have any snippets available at this time. <a href=\"%s"
668
- "\">Add New&rarr;</a>"
669
- msgstr ""
670
- "U heeft op het moment geen fragmenten beschikbaar. <a href=\"%s\">Voeg een "
671
- "nieuwe toe&rarr;</a>"
672
-
673
- #: php/class-list-table.php:959
674
- msgid "Search results"
675
- msgstr "Zoekresultaten"
676
-
677
- #: php/class-list-table.php:962
678
- #, php-format
679
- msgid " for &#8220;%s&#8221;"
680
- msgstr " voor &#8220; %s &#8221;"
681
-
682
- #: php/class-list-table.php:966
683
- #, php-format
684
- msgid " in tag &#8220;%s&#8221;"
685
- msgstr " in label &#8220;%s&#8221;"
686
-
687
- #: php/class-list-table.php:974
688
- msgid "Clear Filters"
689
- msgstr "Filters wissen"
690
-
691
- #: php/settings/settings-fields.php:42
692
- msgid "Activate by Default"
693
- msgstr "Standaard activeren"
694
-
695
- #: php/settings/settings-fields.php:44
696
- msgid ""
697
- "Make the 'Save and Activate' button the default action when saving a snippet."
698
- msgstr ""
699
- "Maak de 'Opslaan en activeren' knop de standaardactie bij het opslaan van "
700
- "een fragment."
701
-
702
- #: php/settings/settings-fields.php:49
703
- msgid "Enable Scope Selector"
704
- msgstr "Optie om bereik te kiezen inschakelen"
705
-
706
- #: php/settings/settings-fields.php:51
707
- msgid "Enable the scope selector when editing a snippet"
708
- msgstr ""
709
- "Optie om bereik te kiezen inschakelen bij het bewerken van een fragment"
710
-
711
- #: php/settings/settings-fields.php:56
712
- msgid "Enable Snippet Tags"
713
- msgstr "Labels voor fragmenten inschakelen"
714
-
715
- #: php/settings/settings-fields.php:58
716
- msgid "Show snippet tags on admin pages"
717
- msgstr "Toon labels op beheerpagina's"
718
-
719
- #: php/settings/settings-fields.php:63
720
- msgid "Enable Snippet Descriptions"
721
- msgstr "Omschrijving voor fragmenten inschakelen"
722
-
723
- #: php/settings/settings-fields.php:65
724
- msgid "Show snippet descriptions on admin pages"
725
- msgstr "Toon beschrijvingen op beheerpagina's"
726
-
727
- #: php/settings/settings-fields.php:69
728
- msgid "Disable shortcode syntax highlighter"
729
- msgstr "Shortcode syntaxis highlighter uitschakelen"
730
-
731
- #: php/settings/settings-fields.php:71
732
- msgid ""
733
- "Disable the syntax highlighting for the [code_snippet] shortcode on the "
734
- "front-end"
735
- msgstr ""
736
- "Schakel de syntaxis highlighter uit op de website voor de [code_snippet] "
737
- "shortcode"
738
-
739
- #: php/settings/settings-fields.php:80
740
- msgid "Row Height"
741
- msgstr "Rijhoogte"
742
-
743
- #: php/settings/settings-fields.php:82
744
- msgid "rows"
745
- msgstr "rijen"
746
-
747
- #: php/settings/settings-fields.php:88
748
- msgid "Use Full Editor"
749
- msgstr "Gebruik volledige editor"
750
-
751
- #: php/settings/settings-fields.php:90
752
- msgid "Enable all features of the visual editor"
753
- msgstr "Alle functies van de visuele editor inschakelen"
754
-
755
- #: php/settings/settings-fields.php:95
756
- msgid "Media Buttons"
757
- msgstr "Mediaknoppen"
758
-
759
- #: php/settings/settings-fields.php:97
760
- msgid "Enable the add media buttons"
761
- msgstr "Schakel de knoppen in om media toe te voegen"
762
-
763
- #: php/settings/settings-fields.php:106
764
- msgid "Theme"
765
- msgstr "Thema"
766
-
767
- #: php/settings/settings-fields.php:113
768
- msgid "Indent With Tabs"
769
- msgstr "Inspringen met tabs"
770
-
771
- #: php/settings/settings-fields.php:115
772
- msgid "Use hard tabs (not spaces) for indentation."
773
- msgstr "Echte tabs (geen spaties) gebruiken voor de inspringing."
774
-
775
- #: php/settings/settings-fields.php:121
776
- msgid "Tab Size"
777
- msgstr "Tabgrootte"
778
-
779
- #: php/settings/settings-fields.php:123
780
- msgid "The width of a tab character."
781
- msgstr "De breedte van een tabteken."
782
-
783
- #: php/settings/settings-fields.php:130
784
- msgid "Indent Unit"
785
- msgstr "Tekst inspring eenheid"
786
-
787
- #: php/settings/settings-fields.php:132
788
- msgid "How many spaces a block should be indented."
789
- msgstr "Hoeveel spaties moet een blok worden ingesprongen."
790
-
791
- #: php/settings/settings-fields.php:139
792
- msgid "Wrap Lines"
793
- msgstr "Terugloop lange tekstregels"
794
-
795
- #: php/settings/settings-fields.php:141
796
- msgid "Whether the editor should scroll or wrap for long lines."
797
- msgstr ""
798
- "Moet de editor schuifbalken tonen bij lange regels of lange regels afbreken."
799
-
800
- #: php/settings/settings-fields.php:147
801
- msgid "Line Numbers"
802
- msgstr "Regelnummers"
803
-
804
- #: php/settings/settings-fields.php:149
805
- msgid "Show line numbers to the left of the editor."
806
- msgstr "Toon regelnummers aan de linkerzijde van de editor."
807
-
808
- #: php/settings/settings-fields.php:155
809
- msgid "Auto Close Brackets"
810
- msgstr "Sluit haakjes automatisch"
811
-
812
- #: php/settings/settings-fields.php:157
813
- msgid "Auto-close brackets and quotes when typed."
814
- msgstr "Sluit haakjes en aanhalingstekens automatisch tijdens het typen."
815
-
816
- #: php/settings/settings-fields.php:163
817
- msgid "Highlight Selection Matches"
818
- msgstr "Markeer selectie overeenkomsten"
819
-
820
- #: php/settings/settings-fields.php:164
821
- msgid "Highlight all instances of a currently selected word."
822
- msgstr "Markeer alle instanties van het huidig geselecteerde woord."
823
-
824
- #: php/settings/settings.php:68
825
- msgid "General"
826
- msgstr "Algemeen"
827
-
828
- #: php/settings/settings.php:69
829
- msgid "Description Editor"
830
- msgstr "Omschrijving editor"
831
-
832
- #: php/settings/settings.php:70
833
- msgid "Code Editor"
834
- msgstr "Code editor"
835
-
836
- #: php/settings/settings.php:119
837
- msgid "Editor Preview"
838
- msgstr "Editor voorbeeld"
839
-
840
- #: php/settings/settings.php:165
841
- msgid "Settings saved."
842
- msgstr "De instellingen zijn opgeslagen."
843
-
844
- #: php/views/edit.php:28 php/views/manage.php:22
845
- msgctxt "snippet"
846
- msgid "Add New"
847
- msgstr "Nieuwe toevoegen"
848
-
849
- #: php/views/edit.php:48 php/views/edit.php:49
850
- msgid "Name (short title)"
851
- msgstr "Naam (korte titel)"
852
-
853
- #: php/views/edit.php:54
854
- msgid "Code"
855
- msgstr "Code"
856
-
857
- #: php/views/edit.php:81 php/views/edit.php:95
858
- msgid "Save Changes and Activate"
859
- msgstr "Wijzigingen opslaan en activeren"
860
-
861
- #: php/views/edit.php:101
862
- msgid "Save Changes and Deactivate"
863
- msgstr "Wijzigingen opslaan en deactiveren"
864
-
865
- #: php/views/edit.php:118
866
- msgid ""
867
- "You are about to permanently delete this snippet.\n"
868
- "'Cancel' to stop, 'OK' to delete."
869
- msgstr ""
870
- "U staat op het punt om dit fragment definitief te verwijderen.\n"
871
- "'Annuleren' om te stoppen, 'OK' om te verwijderen."
872
-
873
- #: php/views/import.php:21
874
- msgid ""
875
- "Howdy! Upload your Code Snippets export file and we&#8217;ll import the "
876
- "snippets to this site."
877
- msgstr ""
878
- "Hallo! Upload uw Code Snippets export bestand en wij importeren de "
879
- "fragmenten in deze website."
880
-
881
- #: php/views/import.php:23
882
- #, php-format
883
- msgid ""
884
- "You will need to go to the <a href=\"%s\">Manage Snippets</a> page to "
885
- "activate the imported snippets."
886
- msgstr ""
887
- "U zult naar de <a href=\"%s\">fragmenten beheer</a> pagina moeten gaan om de "
888
- "geïmporteerde fragmenten te activeren."
889
-
890
- #: php/views/import.php:25
891
- msgid ""
892
- "Choose a Code Snippets (.xml) file to upload, then click Upload file and "
893
- "import."
894
- msgstr ""
895
- "Kies een Code Snippets (.xml) bestand om te uploaden, klik daarna op Upload "
896
- "bestand en importeer."
897
-
898
- #: php/views/import.php:32
899
- msgid "Choose a file from your computer:"
900
- msgstr "Kies een bestand van uw computer:"
901
-
902
- #: php/views/import.php:33
903
- msgid "(Maximum size: 8MB)"
904
- msgstr "(Maximale grootte: 8MB)"
905
-
906
- #: php/views/import.php:39
907
- msgid "Upload file and import"
908
- msgstr "Upload en importeer bestand"
909
-
910
- #: php/views/manage.php:34
911
- msgid "Search Installed Snippets"
912
- msgstr "Zoek geïnstalleerde fragmenten"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/languages/code-snippets-ru_RU.mo DELETED
Binary file
trunk/languages/code-snippets-ru_RU.po DELETED
@@ -1,874 +0,0 @@
1
- # This file is distributed under the same license as the Code Snippets package.
2
- msgid ""
3
- msgstr ""
4
- "Project-Id-Version: Code Snippets\n"
5
- "Report-Msgid-Bugs-To: \n"
6
- "POT-Creation-Date: 2015-05-20 15:56+1000\n"
7
- "PO-Revision-Date: 2015-05-20 12:15+0300\n"
8
- "Last-Translator: Alexey Chumakov <alex@chumakov.ru>\n"
9
- "Language-Team: Flector <rlector@gmail.com>\n"
10
- "Language: ru\n"
11
- "MIME-Version: 1.0\n"
12
- "Content-Type: text/plain; charset=UTF-8\n"
13
- "Content-Transfer-Encoding: 8bit\n"
14
- "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
15
- "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
16
- "X-Generator: Poedit 1.7.6\n"
17
- "X-Poedit-SourceCharset: UTF-8\n"
18
- "X-Poedit-Basepath: ../\n"
19
- "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;_x:1,2c;_n;_nx:4c,1,2;"
20
- "_nx_noop:4c,1,2;_ex:1,2c;__ngettext_noop:1,2;_n_noop:1,2;_x;esc_html_x;"
21
- "esc_html_e\n"
22
- "X-Poedit-SearchPath-0: .\n"
23
-
24
- #: includes/admin.php:81 includes/manage/admin.php:21
25
- #: includes/manage/manage.php:22 includes/manage/manage.php:23
26
- #: includes/manage/manage.php:33
27
- msgid "Snippets"
28
- msgstr "Сниппеты"
29
-
30
- #: includes/admin.php:152
31
- msgid "Manage your existing snippets"
32
- msgstr "Управление имеющимися сниппетами"
33
-
34
- #: includes/admin.php:153 includes/manage/manage.php:34
35
- msgid "Manage"
36
- msgstr "Управление"
37
-
38
- #: includes/admin.php:182
39
- msgid "Visit the WordPress.org plugin page"
40
- msgstr "Посетить страницу плагина на WordPress.org"
41
-
42
- #: includes/admin.php:183
43
- msgid "About"
44
- msgstr "О плагине"
45
-
46
- #: includes/admin.php:187
47
- msgid "Visit the support forums"
48
- msgstr "Посетить форумы поддержки"
49
-
50
- #: includes/admin.php:188
51
- msgid "Support"
52
- msgstr "Поддержка"
53
-
54
- #: includes/admin.php:192
55
- msgid "Support this plugin's development"
56
- msgstr "Поддержите развитие плагина"
57
-
58
- #: includes/admin.php:193
59
- msgid "Donate"
60
- msgstr "Пожертвования"
61
-
62
- #: includes/admin.php:226
63
- msgid ""
64
- "<strong>Have feedback on Code Snippets?</strong> Please take the time to "
65
- "answer a short survey on how you use this plugin and what you'd like to see "
66
- "changed or added in the future."
67
- msgstr ""
68
- "<strong>У вас есть замечания по работе Code Snippets?</strong> Тогда "
69
- "пожалуйста заполните анкету на сайте плагина."
70
-
71
- #: includes/admin.php:229
72
- msgid "Take the survey now"
73
- msgstr "Оставить отзыв"
74
-
75
- #: includes/class-export.php:102
76
- msgid ""
77
- "This is a code snippets export file generated by the Code Snippets WordPress "
78
- "plugin."
79
- msgstr ""
80
- "Это файл экспорта сниппетов кода, созданный плагином Code Snippets для "
81
- "WordPress."
82
-
83
- #: includes/class-export.php:103
84
- msgid "http://wordpress.org/plugins/code-snippets"
85
- msgstr "http://wordpress.org/plugins/code-snippets"
86
-
87
- #: includes/class-export.php:104
88
- msgid "To import these snippets a WordPress site follow these steps:"
89
- msgstr "Для импорта сниппетов на сайт WordPress выполните эти действия:"
90
-
91
- #: includes/class-export.php:105
92
- msgid "1. Log in to that site as an administrator."
93
- msgstr "1. Войдите на сайт как администратор."
94
-
95
- #: includes/class-export.php:106
96
- msgid ""
97
- "2. Install the Code Snippets plugin using the directions provided at the "
98
- "above link."
99
- msgstr "2. Установите плагин Code Snippets, следуя указаниям по ссылке выше."
100
-
101
- #: includes/class-export.php:107
102
- msgid "3. Go to 'Tools: Import' in the WordPress admin panel."
103
- msgstr "3. Перейдите в 'Инструменты: Импорт' в консоли WordPress."
104
-
105
- #: includes/class-export.php:108
106
- msgid "4. Click on the \"Code Snippets\" importer in the list"
107
- msgstr "4. Нажмите на импорт \"Code Snippets\" в списке"
108
-
109
- #: includes/class-export.php:109
110
- msgid "5. Upload this file using the form provided on that page."
111
- msgstr "5. Загрузите этот файл через форму на той странице."
112
-
113
- #: includes/class-export.php:110
114
- msgid ""
115
- "6. Code Snippets will then import all of the snippets and associated "
116
- "information contained in this file into your site."
117
- msgstr ""
118
- "6. Code Snippets импортирует из этого файла на сайт все сниппеты и "
119
- "сопутствующую информацию."
120
-
121
- #: includes/class-export.php:111
122
- msgid ""
123
- "7. You will then have to visit the 'Snippets: Manage' admin menu and "
124
- "activate desired snippets."
125
- msgstr ""
126
- "7. Потребуется зайти в <a href=\"%s\">Сниппеты: управление</a>, и "
127
- "активировать нужные сниппеты."
128
-
129
- #: includes/edit/admin-help.php:15 includes/import/admin-help.php:16
130
- #: includes/manage/admin-help.php:15
131
- msgid "Overview"
132
- msgstr "Обзор"
133
-
134
- #: includes/edit/admin-help.php:17
135
- msgid ""
136
- "Snippets are similar to plugins - they both extend and expand the "
137
- "functionality of WordPress. Snippets are more light-weight, just a few lines "
138
- "of code, and do not put as much load on your server. Here you can add a new "
139
- "snippet, or edit an existing one."
140
- msgstr ""
141
- "Сниппеты похожи на плагины — и те и другие расширяют функциональность "
142
- "WordPress. Сниппеты меньше, они состоят лишь из нескольких строк кода и не "
143
- "сильно нагружают ваш сервер. Здесь можно добавить или отредактировать "
144
- "сниппет."
145
-
146
- #: includes/edit/admin-help.php:22
147
- msgid "Finding Snippets"
148
- msgstr "Поиск сниппетов"
149
-
150
- #: includes/edit/admin-help.php:24
151
- msgid ""
152
- "Here are some links to websites which host a large number of snippets that "
153
- "you can add to your site.\n"
154
- "\t\t<ul>\n"
155
- "\t\t\t<li><a href=\"http://wp-snippets.com\" title=\"WordPress Snippets\">WP-"
156
- "Snippets</a></li>\n"
157
- "\t\t\t<li><a href=\"http://wpsnipp.com\" title=\"WP Snipp\">WP Snipp</a></"
158
- "li>\n"
159
- "\t\t\t<li><a href=\"http://www.catswhocode.com/blog/snippets\" title=\"Cats "
160
- "Who Code Snippet Library\">Cats Who Code</a></li>\n"
161
- "\t\t\t<li><a href=\"http://www.wpfunction.me\">WP Function Me</a></li>\n"
162
- "\t\t</ul>"
163
- msgstr ""
164
- "Здесь приведены ссылки на некоторые сайты со множеством сниппетов:\n"
165
- "\t\t<ul>\n"
166
- "\t\t\t<li><a href=\"http://www.wphook.ru\" title=\"WPHook.ru\">WPHook.ru</"
167
- "a></li>\n"
168
- "\t\t\t<li><a href=\"http://wp-snippets.com\" title=\"WordPress Snippets\">WP-"
169
- "Snippets</a></li>\n"
170
- "\t\t\t<li><a href=\"http://wpsnipp.com\" title=\"WP Snipp\">WP Snipp</a></"
171
- "li>\n"
172
- "\t\t\t<li><a href=\"http://www.catswhocode.com/blog/snippets\" title=\"Cats "
173
- "Who Code Snippet Library\">Cats Who Code</a></li>\n"
174
- "\t\t\t<li><a href=\"http://www.wpfunction.me\">WP Function Me</a></li>\n"
175
- "\t\t</ul>"
176
-
177
- #: includes/edit/admin-help.php:31
178
- msgid ""
179
- "More places to find snippets, as well as a selection of example snippets, "
180
- "can be found in the <a href=\"https://github.com/sheabunge/code-snippets/"
181
- "wiki/Finding-snippets\">plugin documentation</a>"
182
- msgstr ""
183
- "Места, где можно найти сниппеты, а также избранные примеры, находятся на <a "
184
- "href=\"https://github.com/sheabunge/code-snippets/wiki/Finding-snippets"
185
- "\">странице плагина</a>"
186
-
187
- #: includes/edit/admin-help.php:36
188
- msgid "Adding Snippets"
189
- msgstr "Добавление сниппетов"
190
-
191
- #: includes/edit/admin-help.php:38
192
- msgid ""
193
- "You need to fill out the name and code fields for your snippet to be added. "
194
- "While the description field will add more information about how your snippet "
195
- "works, what is does and where you found it, it is completely optional."
196
- msgstr ""
197
- "Для добавление сниппета нужно заполнить поля названия и кода. В поле "
198
- "описания можно добавить дополнительные сведения о том, как работает сниппет, "
199
- "но это совершенно необязательно."
200
-
201
- #: includes/edit/admin-help.php:39
202
- msgid ""
203
- "Please be sure to check that your snippet is valid PHP code and will not "
204
- "produce errors before adding it through this page. While doing so will not "
205
- "become active straight away, it will help to minimise the chance of a faulty "
206
- "snippet becoming active on your site."
207
- msgstr ""
208
- "Пожалуйста, перед добавление сниппета убедитесь в том, что он является "
209
- "корректным PHP кодом, и не приведет к сбоям. Хотя добавляемый сниппет сразу "
210
- "не активизируется, это поможет сократить вероятность включения неисправного "
211
- "сниппета в будущем."
212
-
213
- #: includes/edit/admin-help.php:43 includes/import/admin-help.php:37
214
- #: includes/manage/admin-help.php:37
215
- msgid "For more information:"
216
- msgstr "Дополнительная информация:"
217
-
218
- #: includes/edit/admin-help.php:44 includes/import/admin-help.php:38
219
- msgid ""
220
- "<a href=\"http://wordpress.org/plugins/code-snippets\" target=\"_blank"
221
- "\">WordPress Extend</a>"
222
- msgstr ""
223
- "<a href=\"http://wordpress.org/plugins/code-snippets\" target=\"_blank"
224
- "\">Страница плагина</a>"
225
-
226
- #: includes/edit/admin-help.php:45 includes/import/admin-help.php:39
227
- #: includes/manage/admin-help.php:39
228
- msgid ""
229
- "<a href=\"http://wordpress.org/support/plugin/code-snippets\" target=\"_blank"
230
- "\">Support Forums</a>"
231
- msgstr ""
232
- "<a href=\"http://wordpress.org/support/plugin/code-snippets\" target=\"_blank"
233
- "\">Форумы поддержки</a>"
234
-
235
- #: includes/edit/admin-help.php:46 includes/import/admin-help.php:40
236
- #: includes/manage/admin-help.php:40
237
- msgid ""
238
- "<a href=\"http://bungeshea.com/plugins/code-snippets/\" target=\"_blank"
239
- "\">Project Website</a>"
240
- msgstr ""
241
- "<a href=\"http://bungeshea.com/plugins/code-snippets/\" target=\"_blank"
242
- "\">Сайт плагина</a>"
243
-
244
- #: includes/edit/admin-messages.php:14
245
- msgid "An error occurred when saving the snippet."
246
- msgstr "Произошла ошибка при сохранении сниппета."
247
-
248
- #: includes/edit/admin-messages.php:18
249
- msgid "Snippet <strong>updated</strong> and <strong>activated</strong>."
250
- msgstr "Сниппет <strong>обновлен</strong> и <strong>активирован</strong>."
251
-
252
- #: includes/edit/admin-messages.php:22
253
- msgid "Snippet <strong>added</strong> and <strong>activated</strong>."
254
- msgstr "Сниппет <strong>добавлен</strong> и <strong>активирован</strong>."
255
-
256
- #: includes/edit/admin-messages.php:26
257
- msgid "Snippet <strong>updated</strong> and <strong>deactivated</strong>."
258
- msgstr "Сниппет <strong>обновлен</strong> и <strong>деактивирован</strong>."
259
-
260
- #: includes/edit/admin-messages.php:30
261
- msgid "Snippet <strong>updated</strong>."
262
- msgstr "Сниппет <strong>обновлен</strong>."
263
-
264
- #: includes/edit/admin-messages.php:34
265
- msgid "Snippet <strong>added</strong>."
266
- msgstr "Сниппет <strong>добавлен</strong>."
267
-
268
- #: includes/edit/admin.php:26 includes/edit/edit.php:48
269
- #: includes/edit/edit.php:49
270
- msgid "Edit Snippet"
271
- msgstr "Редактирование сниппета"
272
-
273
- #: includes/edit/admin.php:29 includes/manage/admin.php:24
274
- msgctxt "snippet"
275
- msgid "Add New"
276
- msgstr "Добавить новый"
277
-
278
- #: includes/edit/admin.php:32 includes/edit/edit.php:34
279
- msgid "Add New Snippet"
280
- msgstr "Добавление нового сниппета"
281
-
282
- #: includes/edit/admin.php:49 includes/edit/admin.php:50
283
- msgid "Name (short title)"
284
- msgstr "Название (короткий заголовок на английском)"
285
-
286
- #: includes/edit/admin.php:55
287
- msgid "Code"
288
- msgstr "Код"
289
-
290
- #: includes/edit/admin.php:75 includes/edit/admin.php:89
291
- msgid "Save Changes and Activate"
292
- msgstr "Сохранить изменения и активировать"
293
-
294
- #: includes/edit/admin.php:95
295
- msgid "Save Changes and Deactivate"
296
- msgstr "Сохранить изменения и деактивировать"
297
-
298
- #: includes/edit/admin.php:105 includes/manage/class-list-table.php:141
299
- #: includes/manage/class-list-table.php:266
300
- msgid "Export"
301
- msgstr "Экспорт"
302
-
303
- #: includes/edit/admin.php:112
304
- msgid ""
305
- "You are about to permanently delete this snippet.\n"
306
- "'Cancel' to stop, 'OK' to delete."
307
- msgstr ""
308
- "Вы собираетесь удалить этот сниппет.\n"
309
- "'Отмена' — прекратить, 'OK' — удалить."
310
-
311
- #: includes/edit/admin.php:117 includes/manage/class-list-table.php:150
312
- #: includes/manage/class-list-table.php:267
313
- msgid "Delete"
314
- msgstr "Удалить"
315
-
316
- #: includes/edit/edit.php:35
317
- msgid "Add New"
318
- msgstr "Добавить новый"
319
-
320
- #: includes/edit/edit.php:83 includes/manage/manage.php:67
321
- msgid "You are not authorized to access this page."
322
- msgstr "У вас нет доступа к этой странице."
323
-
324
- #: includes/edit/edit.php:177 includes/manage/class-list-table.php:226
325
- msgid "Description"
326
- msgstr "Описание"
327
-
328
- #: includes/edit/edit.php:204
329
- msgid "Run snippet everywhere"
330
- msgstr "Запускать сниппет везде"
331
-
332
- #: includes/edit/edit.php:205
333
- msgid "Only run in adminstration area"
334
- msgstr "Запускать только в консоли администратора"
335
-
336
- #: includes/edit/edit.php:206
337
- msgid "Only run on site front-end"
338
- msgstr "Запускать только на фронт-энде сайта"
339
-
340
- #: includes/edit/edit.php:210
341
- msgid "Scope"
342
- msgstr "Область"
343
-
344
- #: includes/edit/edit.php:231 includes/manage/class-list-table.php:227
345
- msgid "Tags"
346
- msgstr "Метки"
347
-
348
- #: includes/edit/edit.php:235
349
- msgid "Enter a list of tags; separated by commas"
350
- msgstr "Введите метки через запятую"
351
-
352
- #: includes/import/admin-help.php:18
353
- msgid ""
354
- "Snippets are similar to plugins - they both extend and expand the "
355
- "functionality of WordPress. Snippets are more light-weight, just a few lines "
356
- "of code, and do not put as much load on your server. Here you can load "
357
- "snippets from a Code Snippets (.xml) import file into the database with your "
358
- "existing snippets."
359
- msgstr ""
360
- "Сниппеты похожи на плагины — и те и другие расширяют функциональность "
361
- "WordPress. Сниппеты меньше, они состоят лишь из нескольких строк кода и не "
362
- "сильно нагружают ваш сервер. Здесь вы можете загрузить ваши сниппеты из "
363
- "файла экспорта плагина (.xml), чтобы добавить их на ваш сайт."
364
-
365
- #: includes/import/admin-help.php:23
366
- msgid "Importing"
367
- msgstr "Импорт"
368
-
369
- #: includes/import/admin-help.php:25
370
- msgid ""
371
- "You can load your snippets from a code snippets (.xml) export file using "
372
- "this page."
373
- msgstr ""
374
- "На этой странице вы можете загрузить свои сниппеты из файла экспорта (.xml)."
375
-
376
- #: includes/import/admin-help.php:26
377
- #, php-format
378
- msgid ""
379
- "Snippets will be added to the database along with your existing snippets. "
380
- "Regardless of whether the snippets were active on the previous site, "
381
- "imported snippets are always inactive until activated using the <a href=\"%s"
382
- "\">Manage Snippets</a> page.</p>"
383
- msgstr ""
384
- "Сниппеты будут добавлены в вашу базу к уже имеющимся. Независимо от того, "
385
- "были ли они активны на предыдущем сайте, импортированные сниппеты всегда "
386
- "неактивны, пока их не активировать на странице <a href=\"%s\">Управление "
387
- "сниппетами</a>).</p>"
388
-
389
- #: includes/import/admin-help.php:31
390
- msgid "Exporting"
391
- msgstr "Экспорт"
392
-
393
- #: includes/import/admin-help.php:33
394
- #, php-format
395
- msgid ""
396
- "You can save your snippets to a Code Snippets (.xml) export file using the "
397
- "<a href=\"%s\">Manage Snippets</a> page."
398
- msgstr ""
399
- "Вы можете сохранить свои сниппеты в файл экспорта (.xml) на странице <a href="
400
- "\"%s\">Управление сниппетами</a>."
401
-
402
- #: includes/import/admin-messages.php:16
403
- #, php-format
404
- msgid ""
405
- "Successfully imported <strong>%d</strong> snippet. <a href=\"%s\">Have fun!</"
406
- "a>"
407
- msgid_plural ""
408
- "Successfully imported <strong>%d</strong> snippets. <a href=\"%s\">Have fun!"
409
- "</a>"
410
- msgstr[0] ""
411
- "Успешно импортирован <strong>%d</strong> сниппет. <a href=\"%s\">Удачи!</a>"
412
- msgstr[1] ""
413
- "Успешно импортировано <strong>%d</strong> сниппета. <a href=\"%s\">Удачи!</a>"
414
- msgstr[2] ""
415
- "Усеешно импортировано <strong>%d</strong> сниппетов. <a href=\"%s\">Удачи!</"
416
- "a>"
417
-
418
- #: includes/import/admin-messages.php:30
419
- msgid "An error occurred when processing the import file."
420
- msgstr "Произошла ошибка при импортировании сниппета."
421
-
422
- #: includes/import/admin.php:18 includes/import/import.php:55
423
- msgid "Import Snippets"
424
- msgstr "Импортирование сниппетов"
425
-
426
- #: includes/import/admin.php:22
427
- msgid ""
428
- "Howdy! Upload your Code Snippets export file and we&#8217;ll import the "
429
- "snippets to this site."
430
- msgstr ""
431
- "Привет! Загрузите файл экспорта, чтобы импортировать сниппеты на этот сайт."
432
-
433
- #: includes/import/admin.php:24
434
- #, php-format
435
- msgid ""
436
- "You will need to go to the <a href=\"%s\">Manage Snippets</a> page to "
437
- "activate the imported snippets."
438
- msgstr ""
439
- "Чтобы активировать импортированные сниппеты, потребуется зайти в <a href=\"%s"
440
- "\">Управление сниппетами</a>, "
441
-
442
- #: includes/import/admin.php:26
443
- msgid ""
444
- "Choose a Code Snippets (.xml) file to upload, then click Upload file and "
445
- "import."
446
- msgstr ""
447
- "Выберите файл экспорта (.xml), а затем нажмите \"Загрузить файл и "
448
- "импортировать\"."
449
-
450
- #: includes/import/admin.php:33
451
- msgid "Choose a file from your computer:"
452
- msgstr "Выберите файл на вашем компьютере:"
453
-
454
- #: includes/import/admin.php:34
455
- msgid "(Maximum size: 8MB)"
456
- msgstr "(Максимальный размер: 8МБ)"
457
-
458
- #: includes/import/admin.php:40
459
- msgid "Upload file and import"
460
- msgstr "Загрузить файл и импортировать"
461
-
462
- #: includes/import/import.php:34
463
- msgid "Code Snippets"
464
- msgstr "Code Snippets"
465
-
466
- #: includes/import/import.php:35
467
- msgid "Import snippets from a code snippets export file"
468
- msgstr "Импортировать сниппеты из файла экспорта плагина \"Code Snippets\"."
469
-
470
- #: includes/import/import.php:56
471
- msgid "Import"
472
- msgstr "Импорт"
473
-
474
- #: includes/import/import.php:92
475
- msgid "You are not access this page."
476
- msgstr "У вас нет доступа к этой странице."
477
-
478
- #: includes/manage/admin-help.php:17
479
- msgid ""
480
- "Snippets are similar to plugins - they both extend and expand the "
481
- "functionality of WordPress. Snippets are more light-weight, just a few lines "
482
- "of code, and do not put as much load on your server. Here you can manage "
483
- "your existing snippets and perform tasks on them such as activating, "
484
- "deactivating, deleting and exporting."
485
- msgstr ""
486
- "Сниппеты похожи на плагины — и те и другие расширяют функциональность "
487
- "WordPress. Сниппеты меньше, они состоят лишь из нескольких строк кода и не "
488
- "сильно нагружают ваш сервер. Отсюда вы можете управлять вашими сниппетами "
489
- "(добавлять, редактировать, активировать и деактивировать)."
490
-
491
- #: includes/manage/admin-help.php:22
492
- msgid "Safe Mode"
493
- msgstr "Безопасный режим"
494
-
495
- #: includes/manage/admin-help.php:24
496
- msgid ""
497
- "Be sure to check your snippets for errors before you activate them, as a "
498
- "faulty snippet could bring your whole blog down. If your site starts doing "
499
- "strange things, deactivate all your snippets and activate them one at a time."
500
- msgstr ""
501
- "Прежде чем активировать сниппеты, убедитесь, что они не содержат ошибок. "
502
- "Некорректные сниппеты могут положить вам сайт! Если ваш сайт начинает вести "
503
- "себя странно, отключите все сниппеты и включайте их по одному."
504
-
505
- #: includes/manage/admin-help.php:25
506
- msgid ""
507
- "If something goes wrong with a snippet and you can't use WordPress, you can "
508
- "cause all snippets to stop executing by adding "
509
- "<code>define('CODE_SNIPPETS_SAFE_MODE', true);</code> to your <code>wp-"
510
- "config.php</code> file. After you have deactivated the offending snippet, "
511
- "you can turn off safe mode by removing this line or replacing <strong>true</"
512
- "strong> with <strong>false</strong>."
513
- msgstr ""
514
- "На случай любых проблем со сниппетом, приводящим к сбою WordPress, можно "
515
- "отключить все сниппеты, добавив строчку "
516
- "<code>define('CODE_SNIPPETS_SAFE_MODE', true);</code> в ваш файл "
517
- "конфигурации <code>wp-config.php</code> . Отключив виновный сниппет, можно "
518
- "отключить безопасный режим, удалив указанную строчку или "
519
- "поменяв<strong>true</strong> на <strong>false</strong>."
520
-
521
- #: includes/manage/admin-help.php:30
522
- msgid "Uninstall"
523
- msgstr "Удаление"
524
-
525
- #: includes/manage/admin-help.php:32
526
- #, php-format
527
- msgid ""
528
- "When you delete Code Snippets through the Plugins menu in WordPress it will "
529
- "clear up the <code>%1$s</code> table and a few other bits of data stored in "
530
- "the database. If you want to keep this data (ie: you are only temporally "
531
- "uninstalling Code Snippets) then remove the <code>%2$s</code> folder using "
532
- "FTP."
533
- msgstr ""
534
- "При удалении плагина через меню \"Плагины\" консоли таблица <code>%1$s</"
535
- "code> в базе данных и кое-какие еще следы в базе данных будут удалены. Если "
536
- "вы хотите сохранить настройки (сниппеты) плагина, то удаляйте плагин (<code>"
537
- "%2$s</code>) через FTP, а не через консоль."
538
-
539
- #: includes/manage/admin-help.php:33
540
- msgid ""
541
- "Even if you're sure that you don't want to use Code Snippets ever again on "
542
- "this WordPress installation, you may want to use the export feature to back "
543
- "up your snippets."
544
- msgstr ""
545
- "Даже если вы уверены, что никогда больше не будете использовать данный "
546
- "плагин на этом сайте, на всякий случай сделайте экспорт всех сниппетов."
547
-
548
- #: includes/manage/admin-help.php:38
549
- msgid ""
550
- "<a href=\"http://wordpress.org/plugins/code-snippets\" target=\"_blank"
551
- "\">WordPress Extend</a></p>"
552
- msgstr ""
553
- "<a href=\"http://wordpress.org/plugins/code-snippets\" target=\"_blank"
554
- "\">Страница плагина</a></p>"
555
-
556
- #: includes/manage/admin-messages.php:14
557
- msgid ""
558
- "<strong>Warning:</strong> Safe mode is active and snippets will not execute! "
559
- "Remove the <code>CODE_SNIPPETS_SAFE_MODE</code> constant from <code>wp-"
560
- "config.php</code> to turn off safe mode. <a href=\"https://github.com/"
561
- "sheabunge/code-snippets/wiki/Safe-Mode\" target=\"_blank\">Help</a>"
562
- msgstr ""
563
- "<strong>Внимание:</strong> включен безопасный режим, и сниппеты не будут "
564
- "выполняются! Удалите константу <code>CODE_SNIPPETS_SAFE_MODE</code> из файла "
565
- "<code>wp-config.php</code>, чтобы выключить безопасный режим. <a href="
566
- "\"https://github.com/sheabunge/code-snippets/wiki/Safe-Mode\" target=\"_blank"
567
- "\">Помощь</a>"
568
-
569
- #: includes/manage/admin-messages.php:20
570
- msgid "Snippet <strong>activated</strong>."
571
- msgstr "Сниппет <strong>активирован</strong>."
572
-
573
- #: includes/manage/admin-messages.php:24
574
- msgid "Selected snippets <strong>activated</strong>."
575
- msgstr "Выбранные сниппеты <strong>активированы</strong>."
576
-
577
- #: includes/manage/admin-messages.php:28
578
- msgid "Snippet <strong>deactivated</strong>."
579
- msgstr "Сниппет <strong>деактивирован</strong>."
580
-
581
- #: includes/manage/admin-messages.php:32
582
- msgid "Selected snippets <strong>deactivated</strong>."
583
- msgstr "Выбранные сниппеты <strong>деактивированы</strong>."
584
-
585
- #: includes/manage/admin-messages.php:36
586
- msgid "Snippet <strong>deleted</strong>."
587
- msgstr "Сниппет <strong>удален</strong>."
588
-
589
- #: includes/manage/admin-messages.php:40
590
- msgid "Selected snippets <strong>deleted</strong>."
591
- msgstr "Выбранные сниппеты <strong>удалены</strong>."
592
-
593
- #: includes/manage/admin.php:36
594
- msgid "Search Installed Snippets"
595
- msgstr "Искать установленные сниппеты"
596
-
597
- #: includes/manage/class-list-table.php:53
598
- msgid "Snippets per page"
599
- msgstr "Сниппетов на странице"
600
-
601
- #: includes/manage/class-list-table.php:116
602
- #: includes/manage/class-list-table.php:265
603
- msgid "Network Deactivate"
604
- msgstr "Деактивировать в сети"
605
-
606
- #: includes/manage/class-list-table.php:116
607
- #: includes/manage/class-list-table.php:265
608
- msgid "Deactivate"
609
- msgstr "Деактивировать"
610
-
611
- #: includes/manage/class-list-table.php:125
612
- #: includes/manage/class-list-table.php:264
613
- msgid "Network Activate"
614
- msgstr "Активировать в сети"
615
-
616
- #: includes/manage/class-list-table.php:125
617
- #: includes/manage/class-list-table.php:264
618
- msgid "Activate"
619
- msgstr "Активировать"
620
-
621
- #: includes/manage/class-list-table.php:135
622
- msgid "Edit"
623
- msgstr "Изменить"
624
-
625
- #: includes/manage/class-list-table.php:157
626
- msgid ""
627
- "You are about to permanently delete the selected item.\n"
628
- "\t\t\t\t'Cancel' to stop, 'OK' to delete."
629
- msgstr ""
630
- "Вы действительно хотите удалить выбранный сниппет?\n"
631
- "\t\t\t\t'Отмена' — прекратить, 'OK' — удалить."
632
-
633
- #: includes/manage/class-list-table.php:165
634
- #, php-format
635
- msgid "Untitled #%d"
636
- msgstr "Без названия #%d"
637
-
638
- #: includes/manage/class-list-table.php:224
639
- msgid "Name"
640
- msgstr "Название"
641
-
642
- #: includes/manage/class-list-table.php:225
643
- msgid "ID"
644
- msgstr "ID"
645
-
646
- #: includes/manage/class-list-table.php:268
647
- msgid "Export to PHP"
648
- msgstr "Экспорт в PHP"
649
-
650
- #: includes/manage/class-list-table.php:305
651
- #, php-format
652
- msgid "All <span class=\"count\">(%s)</span>"
653
- msgid_plural "All <span class=\"count\">(%s)</span>"
654
- msgstr[0] "Все <span class=\"count\">(%s)</span>"
655
- msgstr[1] "Все <span class=\"count\">(%s)</span>"
656
- msgstr[2] "Все <span class=\"count\">(%s)</span>"
657
-
658
- #: includes/manage/class-list-table.php:308
659
- #, php-format
660
- msgid "Active <span class=\"count\">(%s)</span>"
661
- msgid_plural "Active <span class=\"count\">(%s)</span>"
662
- msgstr[0] "Активный <span class=\"count\">(%s)</span>"
663
- msgstr[1] "Активные <span class=\"count\">(%s)</span>"
664
- msgstr[2] "Активные <span class=\"count\">(%s)</span>"
665
-
666
- #: includes/manage/class-list-table.php:311
667
- #, php-format
668
- msgid "Recently Active <span class=\"count\">(%s)</span>"
669
- msgid_plural "Recently Active <span class=\"count\">(%s)</span>"
670
- msgstr[0] "Недавно активный <span class=\"count\">(%s)</span>"
671
- msgstr[1] "Недавно активные <span class=\"count\">(%s)</span>"
672
- msgstr[2] "Недавно активные <span class=\"count\">(%s)</span>"
673
-
674
- #: includes/manage/class-list-table.php:314
675
- #, php-format
676
- msgid "Inactive <span class=\"count\">(%s)</span>"
677
- msgid_plural "Inactive <span class=\"count\">(%s)</span>"
678
- msgstr[0] "Неактивный <span class=\"count\">(%s)</span>"
679
- msgstr[1] "Неактивные <span class=\"count\">(%s)</span>"
680
- msgstr[2] "Неактивные <span class=\"count\">(%s)</span>"
681
-
682
- #: includes/manage/class-list-table.php:317
683
- #, php-format
684
- msgid "Admin <span class=\"count\">(%s)</span>"
685
- msgid_plural "Admin <span class=\"count\">(%s)</span>"
686
- msgstr[0] "В консоли <span class=\"count\">(%s)</span>"
687
- msgstr[1] "В консоли <span class=\"count\">(%s)</span>"
688
- msgstr[2] "В консоли <span class=\"count\">(%s)</span>"
689
-
690
- #: includes/manage/class-list-table.php:320
691
- #, php-format
692
- msgid "Front End <span class=\"count\">(%s)</span>"
693
- msgid_plural "Front End <span class=\"count\">(%s)</span>"
694
- msgstr[0] "На сайте <span class=\"count\">(%s)</span>"
695
- msgstr[1] "На сайте <span class=\"count\">(%s)</span>"
696
- msgstr[2] "На сайте <span class=\"count\">(%s)</span>"
697
-
698
- #: includes/manage/class-list-table.php:380
699
- msgid "Show all tags"
700
- msgstr "Показать все метки"
701
-
702
- #: includes/manage/class-list-table.php:394
703
- msgid "Filter"
704
- msgstr "Фильтр"
705
-
706
- #: includes/manage/class-list-table.php:402
707
- msgid "Clear List"
708
- msgstr "Очистить список"
709
-
710
- #: includes/manage/class-list-table.php:551
711
- #, php-format
712
- msgid ""
713
- "You do not appear to have any snippets available at this time. <a href=\"%s"
714
- "\">Add New&rarr;</a>"
715
- msgstr "Нет доступных сниппетов. <a href=\"%s\">Добавить новый&rarr;</a>"
716
-
717
- #: includes/manage/class-list-table.php:783
718
- msgid "Search results"
719
- msgstr "Результаты поиска"
720
-
721
- #: includes/manage/class-list-table.php:786
722
- #, php-format
723
- msgid " for &#8220;%s&#8221;"
724
- msgstr " по запросу &#8220;%s&#8221;"
725
-
726
- #: includes/manage/class-list-table.php:790
727
- #, php-format
728
- msgid " in tag &#8220;%s&#8221;"
729
- msgstr " в метке &#8220;%s&#8221;"
730
-
731
- #: includes/manage/class-list-table.php:796
732
- msgid "Clear Filters"
733
- msgstr "Очистить фильтры"
734
-
735
- #: includes/settings/admin.php:20
736
- msgid "Snippets Settings"
737
- msgstr "Настройки сниппетов"
738
-
739
- #: includes/settings/admin.php:21 includes/settings/admin.php:39
740
- msgid "Settings"
741
- msgstr "Настройки"
742
-
743
- #: includes/settings/class-settings.php:51
744
- msgid "Activate by Default"
745
- msgstr "Включать по умолчанию"
746
-
747
- #: includes/settings/class-settings.php:53
748
- msgid ""
749
- "Make the 'Save and Activate' button the default action when saving a snippet."
750
- msgstr ""
751
- "Сделать кнопку 'Сохранить и активировать' действием по умолчанию при "
752
- "сохранении сниппета"
753
-
754
- #: includes/settings/class-settings.php:59
755
- msgid "Enable Scope Selector"
756
- msgstr "Включить селектор области"
757
-
758
- #: includes/settings/class-settings.php:61
759
- msgid "Enable the scope selector when editing a snippet"
760
- msgstr "Включить селектор области применения при редактировании сниппета"
761
-
762
- #: includes/settings/class-settings.php:71
763
- msgid "Row Height"
764
- msgstr "Высота в строках"
765
-
766
- #: includes/settings/class-settings.php:73
767
- msgid "rows"
768
- msgstr "строк"
769
-
770
- #: includes/settings/class-settings.php:80
771
- msgid "Use Full Editor"
772
- msgstr "Использовать расширенный редактор"
773
-
774
- #: includes/settings/class-settings.php:82
775
- msgid "Enable all features of the visual editor"
776
- msgstr "Включить все функции визуального редактора"
777
-
778
- #: includes/settings/class-settings.php:88
779
- msgid "Media Buttons"
780
- msgstr "Кнопки медиа"
781
-
782
- #: includes/settings/class-settings.php:90
783
- msgid "Enable the add media buttons"
784
- msgstr "Включить кнопки добавления медиафайла"
785
-
786
- #: includes/settings/class-settings.php:100
787
- msgid "Theme"
788
- msgstr "Тема"
789
-
790
- #: includes/settings/class-settings.php:108
791
- msgid "Indent With Tabs"
792
- msgstr "Сдвигать табуляторами"
793
-
794
- #: includes/settings/class-settings.php:110
795
- msgid "Use hard tabs (not spaces) for indentation."
796
- msgstr "Использовать жесткие табуляторы (не пробелы) для сдвига"
797
-
798
- #: includes/settings/class-settings.php:117
799
- msgid "Tab Size"
800
- msgstr "Размер табулятора"
801
-
802
- #: includes/settings/class-settings.php:119
803
- msgid "The width of a tab character."
804
- msgstr "Ширина символа табуляции"
805
-
806
- #: includes/settings/class-settings.php:127
807
- msgid "Indent Unit"
808
- msgstr "Шаг сдвига"
809
-
810
- #: includes/settings/class-settings.php:129
811
- msgid "How many spaces a block should be indented."
812
- msgstr "На сколько пробелов сдвигать блок"
813
-
814
- #: includes/settings/class-settings.php:137
815
- msgid "Wrap Lines"
816
- msgstr "Переносить строки"
817
-
818
- #: includes/settings/class-settings.php:139
819
- msgid "Whether the editor should scroll or wrap for long lines."
820
- msgstr "Прокручивать или переносить длинные строки в редакторе"
821
-
822
- #: includes/settings/class-settings.php:146
823
- msgid "Line Numbers"
824
- msgstr "Номера строк"
825
-
826
- #: includes/settings/class-settings.php:148
827
- msgid "Show line numbers to the left of the editor."
828
- msgstr "Показывать номера строк в редакторе слева"
829
-
830
- #: includes/settings/class-settings.php:155
831
- msgid "Auto Close Brackets"
832
- msgstr "Автоматически закрывать скобки"
833
-
834
- #: includes/settings/class-settings.php:157
835
- msgid "Auto-close brackets and quotes when typed."
836
- msgstr "Автоматически закрывать скобки и кавычки при наборе"
837
-
838
- #: includes/settings/class-settings.php:164
839
- msgid "Highlight Selection Matches"
840
- msgstr "Выделять совпадения"
841
-
842
- #: includes/settings/class-settings.php:165
843
- msgid "Highlight all instances of a currently selected word."
844
- msgstr "Выделять все вхождения выбранного слова"
845
-
846
- #: includes/settings/settings.php:84
847
- msgid "General"
848
- msgstr "Основные"
849
-
850
- #: includes/settings/settings.php:85
851
- msgid "Description Editor"
852
- msgstr "Редактор описания"
853
-
854
- #: includes/settings/settings.php:86
855
- msgid "Code Editor"
856
- msgstr "Редактор кода"
857
-
858
- #: includes/settings/settings.php:134
859
- msgid "Editor Preview"
860
- msgstr "Предварительный просмотр в редакторе"
861
-
862
- #: includes/settings/settings.php:180
863
- msgid "Settings saved."
864
- msgstr "Настройки сохранены."
865
-
866
- #~ msgid "Вы действительно хотите удалить выбранный сниппет?"
867
- #~ msgstr "Вы действительно хотите удалить выбранный сниппет?"
868
-
869
- #, fuzzy
870
- #~ msgid "Все <span class=\"count\">(%s)</span>"
871
- #~ msgid_plural "Все <span class=\"count\">(%s)</span>"
872
- #~ msgstr[0] "All <span class=\"count\">(%s)</span>"
873
- #~ msgstr[1] "All <span class=\"count\">(%s)</span>"
874
- #~ msgstr[2] "All <span class=\"count\">(%s)</span>"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/languages/code-snippets-sk_SK.mo DELETED
Binary file
trunk/languages/code-snippets-sk_SK.po DELETED
@@ -1,596 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Code Snippets SK\n"
4
- "POT-Creation-Date: 2014-12-09 06:55+0100\n"
5
- "PO-Revision-Date: 2014-12-09 07:10+0100\n"
6
- "Last-Translator: Jan Fajcak <ja@fajo.name>\n"
7
- "Language-Team: WordPress Slovensko <info@wp.sk>\n"
8
- "Language: sk\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.7.1\n"
13
- "X-Poedit-KeywordsList: __;_e;esc_html_e;gettext;gettext_noop\n"
14
- "X-Poedit-Basepath: .\n"
15
- "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
16
- "X-Poedit-SourceCharset: UTF-8\n"
17
- "X-Poedit-SearchPath-0: .\n"
18
- "X-Poedit-SearchPath-1: ..\n"
19
-
20
- #: ../admin/help/import.php:16 ../admin/help/manage.php:16
21
- #: ../admin/help/single.php:15
22
- msgid "Overview"
23
- msgstr "Prehľad"
24
-
25
- #: ../admin/help/import.php:18
26
- msgid ""
27
- "Snippets are similar to plugins - they both extend and expand the "
28
- "functionality of WordPress. Snippets are more light-weight, just a few lines "
29
- "of code, and do not put as much load on your server. Here you can load "
30
- "snippets from a Code Snippets (.xml) import file into the database with your "
31
- "existing snippets."
32
- msgstr ""
33
- "Snippety sa podobajú modulom- oba rozširujú a prehlbujú funkčnosť WordPress. "
34
- "Snippety sú jednoduché kusy kódu veľké len pár riadkov, ktoré svojim objemom "
35
- "nezaťažujú server. Tu môžete nahrať snippety z Code Snippets (.xml) súboru "
36
- "do databáze k už existujúcim snippetom."
37
-
38
- #: ../admin/help/import.php:23
39
- msgid "Importing"
40
- msgstr "Import"
41
-
42
- #: ../admin/help/import.php:25
43
- msgid ""
44
- "You can load your snippets from a code snippets (.xml) export file using "
45
- "this page."
46
- msgstr ""
47
- "Môžete nahrať vaše snippety zo súboru Code Snippets (.xml) prostredníctvom "
48
- "tejto stránky."
49
-
50
- #: ../admin/help/import.php:26
51
- #, php-format
52
- msgid ""
53
- "Snippets will be added to the database along with your existing snippets. "
54
- "Regardless of whether the snippets were active on the previous site, "
55
- "imported snippets are always inactive until activated using the <a href=\"%s"
56
- "\">Manage Snippets</a> page.</p>"
57
- msgstr ""
58
- "Snippety budú pridané do databáze k už existujúcim snippetom. Bez ohľadu na "
59
- "to, že na predchádzajúcom webe boli aktívne, po importe je potrebné ich opäť "
60
- "aktivovať na stránke <a href=\"%s\">Spravovať snippety</a>.</p>"
61
-
62
- #: ../admin/help/import.php:31
63
- msgid "Exporting"
64
- msgstr "Export"
65
-
66
- #: ../admin/help/import.php:33
67
- #, php-format
68
- msgid ""
69
- "You can save your snippets to a Code Snippets (.xml) export file using the "
70
- "<a href=\"%s\">Manage Snippets</a> page."
71
- msgstr ""
72
- "Vaše snippety môžete uložiť pomocou súboru Code Snippets (.xml) na stránke "
73
- "<a href=\"%s\">Spravovať snippety</a>."
74
-
75
- #: ../admin/help/import.php:37 ../admin/help/manage.php:38
76
- #: ../admin/help/single.php:43
77
- msgid "For more information:"
78
- msgstr "Viac informácií:"
79
-
80
- #: ../admin/help/import.php:38 ../admin/help/single.php:44
81
- msgid ""
82
- "<a href=\"http://wordpress.org/plugins/code-snippets\" target=\"_blank"
83
- "\">WordPress Extend</a>"
84
- msgstr ""
85
- "<a href=\"http://wordpress.org/plugins/code-snippets\" target=\"_blank"
86
- "\">WordPress Extend</a>"
87
-
88
- #: ../admin/help/import.php:39 ../admin/help/manage.php:40
89
- #: ../admin/help/single.php:45
90
- msgid ""
91
- "<a href=\"http://wordpress.org/support/plugin/code-snippets\" target=\"_blank"
92
- "\">Support Forums</a>"
93
- msgstr ""
94
- "<a href=\"http://wordpress.org/support/plugin/code-snippets\" target=\"_blank"
95
- "\">Fórum podpory</a>"
96
-
97
- #: ../admin/help/import.php:40 ../admin/help/manage.php:41
98
- #: ../admin/help/single.php:46
99
- msgid ""
100
- "<a href=\"http://bungeshea.com/plugins/code-snippets/\" target=\"_blank\">Project "
101
- "Website</a>"
102
- msgstr ""
103
- "<a href=\"http://bungeshea.com/plugins/code-snippets/\" target=\"_blank\">Webová "
104
- "stránka projektu</a>"
105
-
106
- #: ../admin/help/manage.php:18
107
- msgid ""
108
- "Snippets are similar to plugins - they both extend and expand the "
109
- "functionality of WordPress. Snippets are more light-weight, just a few lines "
110
- "of code, and do not put as much load on your server. Here you can manage "
111
- "your existing snippets and perform tasks on them such as activating, "
112
- "deactivating, deleting and exporting."
113
- msgstr ""
114
- "Snippety sa podobajú modulom- oba rozširujú a prehlbujú funkčnosť WordPress. "
115
- "Snippety sú jednoduché kusy kódu veľké len pár riadkov, ktoré svojim objemom "
116
- "nezaťažujú server. Tu môžete spravovať svoje snippety: aktivovať ich a "
117
- "deaktivovať, mazať alebo exportovať."
118
-
119
- #: ../admin/help/manage.php:23
120
- msgid "Safe Mode"
121
- msgstr "Safe Mode"
122
-
123
- #: ../admin/help/manage.php:25
124
- msgid ""
125
- "Be sure to check your snippets for errors before you activate them, as a "
126
- "faulty snippet could bring your whole blog down. If your site starts doing "
127
- "strange things, deactivate all your snippets and activate them one at a time."
128
- msgstr ""
129
- "Pred aktivovaním vašich snippetov sa uistite, že neobsahujú žiadne chyby, "
130
- "inak riskujete pád vašich stránok. Ak sa začne diať niečo neočakávané, "
131
- "deaktivujte všetky snippety a aktivujte ich ešte raz."
132
-
133
- #: ../admin/help/manage.php:26
134
- msgid ""
135
- "If something goes wrong with a snippet and you can't use WordPress, you can "
136
- "cause all snippets to stop executing by adding "
137
- "<code>define('CODE_SNIPPETS_SAFE_MODE', true);</code> to your <code>wp-"
138
- "config.php</code> file. After you have deactivated the offending snippet, "
139
- "you can turn off safe mode by removing this line or replacing <strong>true</"
140
- "strong> with <strong>false</strong>."
141
- msgstr ""
142
- "Ak došlo k problému a nie je možné použiť WordPress, môžete zastaviť všetky "
143
- "snippety vložením <code>define('CODE_SNIPPETS_SAFE_MODE', true);</code> do "
144
- "súboru <code>wp-config.php</code>. Potom, ako deaktivujete problémový "
145
- "snippet, môžete tento kus kódu opäť odobrať alebo prepísať hodnotu "
146
- "<strong>true</strong> na <strong>false</strong>."
147
-
148
- #: ../admin/help/manage.php:31
149
- msgid "Uninstall"
150
- msgstr "Odinštalovať"
151
-
152
- #: ../admin/help/manage.php:33
153
- #, php-format
154
- msgid ""
155
- "When you delete Code Snippets through the Plugins menu in WordPress it will "
156
- "clear up the <code>%1$s</code> table and a few other bits of data stored in "
157
- "the database. If you want to keep this data (ie: you are only temporally "
158
- "uninstalling Code Snippets) then remove the <code>%2$s</code> folder using "
159
- "FTP."
160
- msgstr ""
161
- "Keď zmažete modul Code Snippets štandardnou cestou cez položku Moduly v "
162
- "administrácii WordPress, bude zmazaná aj tabuľka <code>%1$s</code> a ďalšie "
163
- "dáta, uložené v databáze. Ak chcete tieto dáta uchovať (napr. odinštalujete "
164
- "Code Snippets len dočasne), potom odstráňte zložku <code>%2$s</code> cez FTP "
165
- "ručne."
166
-
167
- #: ../admin/help/manage.php:34
168
- msgid ""
169
- "Even if you're sure that you don't want to use Code Snippets ever again on "
170
- "this WordPress installation, you may want to use the export feature to back "
171
- "up your snippets."
172
- msgstr ""
173
- "Ak máte istotu, že už v tejto inštalácii nechcete používať Code Snippets, "
174
- "môžete vaše snippety pomocou funkcie Export zálohovať."
175
-
176
- #: ../admin/help/manage.php:39
177
- msgid ""
178
- "<a href=\"http://wordpress.org/plugins/code-snippets\" target=\"_blank"
179
- "\">WordPress Extend</a></p>"
180
- msgstr ""
181
- "<a href=\"http://wordpress.org/plugins/code-snippets\" target=\"_blank"
182
- "\">WordPress Extend</a></p>"
183
-
184
- #: ../admin/help/single.php:17
185
- msgid ""
186
- "Snippets are similar to plugins - they both extend and expand the "
187
- "functionality of WordPress. Snippets are more light-weight, just a few lines "
188
- "of code, and do not put as much load on your server. Here you can add a new "
189
- "snippet, or edit an existing one."
190
- msgstr ""
191
- "Snippety sa podobajú modulom- oba rozširujú a prehlbujú funkčnosť WordPress. "
192
- "Snippety sú jednoduché kusy kódu veľké len pár riadkov, ktoré svojim objemom "
193
- "nezaťažujú server. Tu môžete pridávať nové snippety, alebo upravovať už "
194
- "existujúce."
195
-
196
- #: ../admin/help/single.php:22
197
- msgid "Finding Snippets"
198
- msgstr "Nájsť snippety"
199
-
200
- #: ../admin/help/single.php:24
201
- msgid ""
202
- "Here are some links to websites which host a large number of snippets that "
203
- "you can add to your site.\n"
204
- "\t\t<ul>\n"
205
- "\t\t\t<li><a href=\"http://wp-snippets.com\" title=\"WordPress Snippets\">WP-"
206
- "Snippets</a></li>\n"
207
- "\t\t\t<li><a href=\"http://wpsnipp.com\" title=\"WP Snipp\">WP Snipp</a></"
208
- "li>\n"
209
- "\t\t\t<li><a href=\"http://www.catswhocode.com/blog/snippets\" title=\"Cats "
210
- "Who Code Snippet Library\">Cats Who Code</a></li>\n"
211
- "\t\t\t<li><a href=\"http://www.wpfunction.me\">WP Function Me</a></li>\n"
212
- "\t\t</ul>"
213
- msgstr ""
214
- "Tu je niekoľko odkazov na weby, kde môžete nájsť množstvo snippetov, "
215
- "použiteľných aj na vašich stránkach.\n"
216
- "\t\t<ul>\n"
217
- "\t\t\t<li><a href=\"http://wp-snippets.com\" title=\"WordPress Snippets\">WP-"
218
- "Snippets</a></li>\n"
219
- "\t\t\t<li><a href=\"http://wpsnipp.com\" title=\"WP Snipp\">WP Snipp</a></"
220
- "li>\n"
221
- "\t\t\t<li><a href=\"http://www.catswhocode.com/blog/snippets\" title=\"Cats "
222
- "Who Code Snippet Library\">Cats Who Code</a></li>\n"
223
- "\t\t\t<li><a href=\"http://www.wpfunction.me\">WP Function Me</a></li>\n"
224
- "\t\t</ul>"
225
-
226
- #: ../admin/help/single.php:31
227
- msgid ""
228
- "More places to find snippets, as well as a selection of example snippets, "
229
- "can be found in the <a href=\"https://github.com/sheabunge/code-snippets/wiki/"
230
- "Finding-snippets\">plugin documentation</a>"
231
- msgstr ""
232
- "Viac miest, kde nájdete snippety a niekoľko ukážok snippetov nájdete v <a "
233
- "href=\"https://github.com/sheabunge/code-snippets/wiki/Finding-snippets"
234
- "\">dokumentácii modulu</a>"
235
-
236
- #: ../admin/help/single.php:36
237
- msgid "Adding Snippets"
238
- msgstr "Ako pridať snippet?"
239
-
240
- #: ../admin/help/single.php:38
241
- msgid ""
242
- "You need to fill out the name and code fields for your snippet to be added. "
243
- "While the description field will add more information about how your snippet "
244
- "works, what is does and where you found it, it is completely optional."
245
- msgstr "Je potrebné vyplniť názov snippetu a vložiť jeho kód."
246
-
247
- #: ../admin/help/single.php:39
248
- msgid ""
249
- "Please be sure to check that your snippet is valid PHP code and will not "
250
- "produce errors before adding it through this page. While doing so will not "
251
- "become active straight away, it will help to minimise the chance of a faulty "
252
- "snippet becoming active on your site."
253
- msgstr ""
254
- "Prosím skontrolujte, či vaše snippety obsahujú overený PHP kód a nespôsobia "
255
- "na tejto stránke chyby. Keďže nebudú hneď aktívne, nemusíte sa obávať "
256
- "možného pádu stránky po ich nahratí."
257
-
258
- #: ../admin/messages/import.php:32
259
- msgid "An error occurred when processing the import file."
260
- msgstr "Pri importe došlo ku chybe."
261
-
262
- #: ../admin/messages/manage.php:14
263
- msgid ""
264
- "<strong>Warning:</strong> Safe mode is active and snippets will not execute! "
265
- "Remove the <code>CODE_SNIPPETS_SAFE_MODE</code> constant from <code>wp-"
266
- "config.php</code> to turn off safe mode. <a href=\"http://code-snippets."
267
- "bungeshea.com/docs/safe-mode/\" target=\"_blank\">Help</a>"
268
- msgstr ""
269
- "<strong>Upozornenie:</strong> Safe mode je aktívny a snippety nebudú "
270
- "fungovať! Odstráňte konštantu <code>CODE_SNIPPETS_SAFE_MODE</code> z "
271
- "<code>wp-config.php</code> pre vypnutie safe mode. <a href=\"http://code-"
272
- "snippets.bungeshea.com/docs/safe-mode/\" target=\"_blank\">Pomoc</a>"
273
-
274
- #: ../admin/messages/manage.php:20
275
- msgid "Snippet <strong>activated</strong>."
276
- msgstr "Snippet <strong>aktivovaný</strong>."
277
-
278
- #: ../admin/messages/manage.php:24
279
- msgid "Selected snippets <strong>activated</strong>."
280
- msgstr "Vybrané snippety <strong>aktivované</strong>."
281
-
282
- #: ../admin/messages/manage.php:28
283
- msgid "Snippet <strong>deactivated</strong>."
284
- msgstr "Snippet <strong>deaktivovaný</strong>."
285
-
286
- #: ../admin/messages/manage.php:32
287
- msgid "Selected snippets <strong>deactivated</strong>."
288
- msgstr "Vybrané snippety <strong>deaktivované</strong>."
289
-
290
- #: ../admin/messages/manage.php:36
291
- msgid "Snippet <strong>deleted</strong>."
292
- msgstr "Snippet <strong>zmazaný</strong>."
293
-
294
- #: ../admin/messages/manage.php:40
295
- msgid "Selected snippets <strong>deleted</strong>."
296
- msgstr "Vybrané snippety <strong>zmazané</strong>."
297
-
298
- #: ../admin/messages/single.php:14
299
- msgid "An error occurred when saving the snippet."
300
- msgstr "Pri ukladaní snippetu došlo ku chybe."
301
-
302
- #: ../admin/messages/single.php:18
303
- msgid "Snippet <strong>updated</strong> and <strong>activated</strong>."
304
- msgstr "Snippet <strong>aktualizovaný</strong> a <strong>aktivovaný</strong>."
305
-
306
- #: ../admin/messages/single.php:22
307
- msgid "Snippet <strong>added</strong> and <strong>activated</strong>."
308
- msgstr "Snippet <strong>pridaný</strong> a <strong>aktivovaný</strong>."
309
-
310
- #: ../admin/messages/single.php:26
311
- msgid "Snippet <strong>updated</strong> and <strong>deactivated</strong>."
312
- msgstr ""
313
- "Snippet <strong>aktualizovaný</strong> a <strong>deaktivovaný</strong>."
314
-
315
- #: ../admin/messages/single.php:30
316
- msgid "Snippet <strong>updated</strong>."
317
- msgstr "Snippet <strong>aktualizovaný</strong>."
318
-
319
- #: ../admin/messages/single.php:34
320
- msgid "Snippet <strong>added</strong>."
321
- msgstr "Snippet <strong>pridaný</strong>."
322
-
323
- #: ../admin/views/import.php:20 ../includes/class-admin.php:327
324
- msgid "Import Snippets"
325
- msgstr "Importovať snippety"
326
-
327
- #: ../admin/views/import.php:24
328
- msgid ""
329
- "Howdy! Upload your Code Snippets export file and we&#8217;ll import the "
330
- "snippets to this site."
331
- msgstr ""
332
- "Nahrajte súbor Code Snippets (.xml) a naimportujte snippety na túto stránku."
333
-
334
- #: ../admin/views/import.php:26
335
- #, php-format
336
- msgid ""
337
- "You will need to go to the <a href=\"%s\">Manage Snippets</a> page to "
338
- "activate the imported snippets."
339
- msgstr ""
340
- "Po ukončení importu musíte ísť na stránku <a href=\"%s\">Spravovať snippety</"
341
- "a> a aktivovať importované snippety."
342
-
343
- #: ../admin/views/import.php:28
344
- msgid ""
345
- "Choose a Code Snippets (.xml) file to upload, then click Upload file and "
346
- "import."
347
- msgstr ""
348
- "Zvoľte súbor Code Snippets (.xml) a kliknite na tlačidlo Nahrať súbor a "
349
- "importovať."
350
-
351
- #: ../admin/views/import.php:35
352
- msgid "Choose a file from your computer:"
353
- msgstr "Zvoľte súbor vo vašom počítači:"
354
-
355
- #: ../admin/views/import.php:36
356
- msgid "(Maximum size: 8MB)"
357
- msgstr "(Maximálna veľkosť: 8MB)"
358
-
359
- #: ../admin/views/import.php:42
360
- msgid "Upload file and import"
361
- msgstr "Nahrať súbor a importovať"
362
-
363
- #: ../admin/views/manage.php:21 ../includes/class-admin.php:152
364
- #: ../includes/class-admin.php:276 ../includes/class-admin.php:277
365
- #: ../includes/class-admin.php:287
366
- msgid "Snippets"
367
- msgstr "Snippety"
368
-
369
- #: ../admin/views/manage.php:39
370
- msgid "Search Installed Snippets"
371
- msgstr "Hľadať nainštalované snippety"
372
-
373
- #: ../admin/views/single.php:29 ../includes/class-admin.php:299
374
- msgid "Edit Snippet"
375
- msgstr "Upraviť snippety"
376
-
377
- #: ../admin/views/single.php:37 ../includes/class-admin.php:299
378
- msgid "Add New Snippet"
379
- msgstr "Pridať nový snippet"
380
-
381
- #: ../admin/views/single.php:53 ../admin/views/single.php:54
382
- msgid "Name (short title)"
383
- msgstr "Názov (krátky nadpis)"
384
-
385
- #: ../admin/views/single.php:59
386
- msgid "Code"
387
- msgstr "Kód"
388
-
389
- #: ../admin/views/single.php:85
390
- msgid "Save Changes &amp; Activate"
391
- msgstr "Uložiť zmeny a aktivovať"
392
-
393
- #: ../admin/views/single.php:91
394
- msgid "Save Changes &amp; Deactivate"
395
- msgstr "Uložiť zmeny a deaktivovať"
396
-
397
- #: ../admin/views/single.php:100 ../includes/class-list-table.php:166
398
- #: ../includes/class-list-table.php:266
399
- msgid "Export"
400
- msgstr "Export"
401
-
402
- #: ../admin/views/single.php:107
403
- msgid ""
404
- "You are about to permanently delete this snippet.\n"
405
- "'Cancel' to stop, 'OK' to delete."
406
- msgstr ""
407
- "Chcete navždy zmazať tento snippet. \n"
408
- "'Cancel' pre zrušenie, 'OK' pre zmazanie."
409
-
410
- #: ../admin/views/single.php:112 ../includes/class-list-table.php:175
411
- #: ../includes/class-list-table.php:267
412
- msgid "Delete"
413
- msgstr "Zmazať"
414
-
415
- #: ../includes/class-admin.php:185
416
- msgid "Code Snippets"
417
- msgstr "Code Snippets"
418
-
419
- #: ../includes/class-admin.php:186
420
- msgid "Import snippets from a Code Snippets export file"
421
- msgstr "Importovať snippety zo súboru Code Snippets"
422
-
423
- #: ../includes/class-admin.php:246
424
- msgid "You are not authorized to access this page."
425
- msgstr "Nemáte prístup na túto stránku."
426
-
427
- #: ../includes/class-admin.php:288 ../includes/class-admin.php:695
428
- msgid "Manage"
429
- msgstr "Spravovať"
430
-
431
- #: ../includes/class-admin.php:300 ../includes/class-list-table.php:160
432
- msgid "Edit"
433
- msgstr "Upraviť"
434
-
435
- #: ../includes/class-admin.php:300
436
- msgid "Add New"
437
- msgstr "Pridať nový"
438
-
439
- #: ../includes/class-admin.php:328
440
- msgid "Import"
441
- msgstr "Import"
442
-
443
- #: ../includes/class-admin.php:663 ../includes/class-list-table.php:228
444
- msgid "Description"
445
- msgstr "Popis"
446
-
447
- #: ../includes/class-admin.php:694
448
- msgid "Manage your existing snippets"
449
- msgstr "Spravovať existujúce snippety"
450
-
451
- #: ../includes/class-admin.php:722
452
- msgid "Visit the WordPress.org plugin page"
453
- msgstr "Navštíviť stránku modulu na WordPress.org"
454
-
455
- #: ../includes/class-admin.php:723
456
- msgid "About"
457
- msgstr "O module"
458
-
459
- #: ../includes/class-admin.php:727
460
- msgid "Visit the support forums"
461
- msgstr "Navštíviť fórum podpory"
462
-
463
- #: ../includes/class-admin.php:728
464
- msgid "Support"
465
- msgstr "Podpora"
466
-
467
- #: ../includes/class-admin.php:732
468
- msgid "Support this plugin's development"
469
- msgstr "Podporiť vývoj tohoto modulu"
470
-
471
- #: ../includes/class-admin.php:733
472
- msgid "Donate"
473
- msgstr "Podporiť"
474
-
475
- #: ../includes/class-admin.php:764
476
- msgid ""
477
- "<strong>Have feedback on Code Snippets?</strong> Please take the time to "
478
- "answer a short survey on how you use this plugin and what you'd like to see "
479
- "changed or added in the future."
480
- msgstr ""
481
- "<strong>Máte spätnú väzbu na Code Snippets?</strong>Prosím, nájdite si čas a "
482
- "zúčastnite sa prieskumu o tom, ako používate tento modul a čo by ste na ňom "
483
- "v budúcnosti zmenili, alebo čím ho doplnili."
484
-
485
- #: ../includes/class-admin.php:767
486
- msgid "Take the survey now"
487
- msgstr "Zúčastnite sa prieskumu"
488
-
489
- #: ../includes/class-list-table.php:49
490
- msgid "Snippets per page"
491
- msgstr "Počet snippetov na stránke"
492
-
493
- #: ../includes/class-list-table.php:141 ../includes/class-list-table.php:265
494
- msgid "Network Deactivate"
495
- msgstr "Sieť deaktivovaná"
496
-
497
- #: ../includes/class-list-table.php:141 ../includes/class-list-table.php:265
498
- msgid "Deactivate"
499
- msgstr "Deaktivovať"
500
-
501
- #: ../includes/class-list-table.php:150 ../includes/class-list-table.php:264
502
- msgid "Network Activate"
503
- msgstr "Sieť aktivovaná"
504
-
505
- #: ../includes/class-list-table.php:150 ../includes/class-list-table.php:264
506
- msgid "Activate"
507
- msgstr "Aktivovať"
508
-
509
- #: ../includes/class-list-table.php:182
510
- msgid ""
511
- "You are about to permanently delete the selected item.\n"
512
- "\t\t\t\t'Cancel' to stop, 'OK' to delete."
513
- msgstr ""
514
- "Chcete navždy zmazať túto položku. \n"
515
- "\t\t\t\t'Cancel' pre zrušenie, 'OK' úre zmazanie."
516
-
517
- #: ../includes/class-list-table.php:190
518
- #, php-format
519
- msgid "Untitled #%d"
520
- msgstr "Bez názvu #%d"
521
-
522
- #: ../includes/class-list-table.php:226
523
- msgid "Name"
524
- msgstr "Názov"
525
-
526
- #: ../includes/class-list-table.php:227
527
- msgid "ID"
528
- msgstr "ID"
529
-
530
- #: ../includes/class-list-table.php:268
531
- msgid "Export to PHP"
532
- msgstr "Export do PHP"
533
-
534
- #: ../includes/class-list-table.php:342
535
- msgid "Filter"
536
- msgstr "Filter"
537
-
538
- #: ../includes/class-list-table.php:350
539
- msgid "Clear List"
540
- msgstr "Vyčistiť zoznam"
541
-
542
- #: ../includes/class-list-table.php:492
543
- #, php-format
544
- msgid ""
545
- "You do not appear to have any snippets available at this time. <a href=\"%s"
546
- "\">Add New&rarr;</a>"
547
- msgstr ""
548
- "Momentálne nemáte k dispozícii žiadne snippety. <a href=\"%s\">Pridať nový "
549
- "&rarr;</a>"
550
-
551
- #: ../includes/class-list-table.php:676
552
- msgid "Search results"
553
- msgstr "Výsledky hľadania"
554
-
555
- #: ../includes/class-list-table.php:679
556
- #, php-format
557
- msgid " for &#8220;%s&#8221;"
558
- msgstr "pre &#8220;%s&#8221;"
559
-
560
- #: ../includes/class-list-table.php:685
561
- msgid "Clear Filters"
562
- msgstr "Vyčistiť filtre"
563
-
564
- #~ msgid "Manage Snippets"
565
- #~ msgstr "Spravovať snippety"
566
-
567
- #~ msgid "Sorry, you&#8217;re not allowed to edit snippets"
568
- #~ msgstr "Prepáčte, ale nemáte oprávnenie na úpravu snippetov"
569
-
570
- #~ msgid "Please provide a name for the snippet and its code."
571
- #~ msgstr "Prosím, uveďte názov snippetu a vložte jeho kód."
572
-
573
- #~ msgid ""
574
- #~ "Enter or paste the snippet code without the <code>&lt;?php</code> and "
575
- #~ "<code>?&gt;</code> tags."
576
- #~ msgstr ""
577
- #~ "Napíšte alebo skopírujte kód snippetu bez značiek <code>&lt;?php</code> a "
578
- #~ "<code>?&gt;</code>."
579
-
580
- #~ msgid "(Optional)"
581
- #~ msgstr "(voliteľné)"
582
-
583
- #~ msgid "Save"
584
- #~ msgstr "Uložiť"
585
-
586
- #~ msgid "Cancel"
587
- #~ msgstr "Zrušiť"
588
-
589
- #~ msgid ""
590
- #~ "Make sure that you don't add the <code>&lt;?php</code>, <code>&lt;?</"
591
- #~ "code> or <code>?&gt;</code> the beginning and end of the code. You can "
592
- #~ "however use these tags in the code to stop and start PHP sections"
593
- #~ msgstr ""
594
- #~ "Uistite sa, že ste nevložili <code>&lt;?php</code>, <code>&lt;?</code> "
595
- #~ "alebo <code>?&gt;</code> v priebehu alebo na konci kódu. Tieto značky "
596
- #~ "však môžete použiť pre zastavenie alebo spustenie úsekov PHP."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/languages/code-snippets-sr_RS.mo DELETED
Binary file
trunk/languages/code-snippets-sr_RS.po DELETED
@@ -1,571 +0,0 @@
1
- # This file is distributed under the same license as the Code Snippets package.
2
- msgid ""
3
- msgstr ""
4
- "PO-Revision-Date: 2014-08-11 10:18+0100\n"
5
- "MIME-Version: 1.0\n"
6
- "Content-Type: text/plain; charset=UTF-8\n"
7
- "Content-Transfer-Encoding: 8bit\n"
8
- "Plural-Forms: nplurals=2; plural=n != 1;\n"
9
- "X-Generator: Poedit 1.5.5\n"
10
- "Project-Id-Version: Code Snippets\n"
11
- "POT-Creation-Date: \n"
12
- "Last-Translator: jelena kovacevic <jecajeca260@gmail.com>\n"
13
- "Language-Team: \n"
14
-
15
- #: code-snippets.php:0 code-snippets.php:262
16
- msgid "Code Snippets"
17
- msgstr "Code Snippets"
18
-
19
- #: code-snippets.php:0
20
- msgid ""
21
- "An easy, clean and simple way to add code snippets to your site. No need to "
22
- "edit to your theme's functions.php file again!"
23
- msgstr ""
24
- "Lak, jednostavan i jasan način da svom sajtu dodate dodate isečke koda! Nema "
25
- "potrebe da ponovo uređujete .php datoteku sa funkcijama teme! "
26
-
27
- #: code-snippets.php:0
28
- msgid "Shea Bunge"
29
- msgstr "Shea Bunge"
30
-
31
- #: code-snippets.php:0
32
- msgid "http://bungeshea.com"
33
- msgstr "http://bungeshea.com"
34
-
35
- #: code-snippets.php:577 code-snippets.php:578 code-snippets.php:588
36
- #: includes/admin/manage.php:36
37
- msgid "Snippets"
38
- msgstr "Isečci"
39
-
40
- #: code-snippets.php:612 code-snippets.php:1145 includes/admin/single.php:45
41
- msgid "Add New Snippet"
42
- msgstr "Dodaj novi isečak"
43
-
44
- #: code-snippets.php:613
45
- msgid "Add New"
46
- msgstr "Dodaj novi"
47
-
48
- #: code-snippets.php:641 includes/admin/import.php:34
49
- msgid "Import Snippets"
50
- msgstr "Uvezi isečke"
51
-
52
- #: code-snippets.php:642
53
- msgid "Import"
54
- msgstr "Uvezi"
55
-
56
- #: code-snippets.php:601 code-snippets.php:1146 includes/admin/single.php:37
57
- msgid "Edit Snippet"
58
- msgstr "Uredi isečak"
59
-
60
- #: code-snippets.php:1465
61
- msgid "Manage your existing snippets"
62
- msgstr "Upravljaj svojim postojećim isečcima"
63
-
64
- #: code-snippets.php:589 code-snippets.php:1466
65
- msgid "Manage"
66
- msgstr "Upravljaj"
67
-
68
- #: code-snippets.php:1486
69
- msgid "Visit the WordPress.org plugin page"
70
- msgstr "Posetite stranicu WordPress.org plugin"
71
-
72
- #: code-snippets.php:1487
73
- msgid "About"
74
- msgstr "O"
75
-
76
- #: code-snippets.php:1491
77
- msgid "Visit the support forums"
78
- msgstr "Posetite forume za podršku"
79
-
80
- #: code-snippets.php:1492
81
- msgid "Support"
82
- msgstr "Podrška"
83
-
84
- #: code-snippets.php:1496
85
- msgid "Support this plugin's development"
86
- msgstr "Podržite razvoj ovog plugin-a"
87
-
88
- #: code-snippets.php:1497
89
- msgid "Donate"
90
- msgstr "Donirajte"
91
-
92
- #: includes/admin/import.php:38
93
- msgid ""
94
- "Howdy! Upload your Code Snippets export file and we&#8217;ll import the "
95
- "snippets to this site."
96
- msgstr ""
97
- "Ćao! Otpremite svoju izvoznu datoteku sa isečcima koda, a mi&#8217 ćemo "
98
- "uvesti isečke na sajt."
99
-
100
- #: includes/admin/import.php:40
101
- msgid ""
102
- "You will need to go to the <a href=\"%s\">Manage Snippets</a> page to "
103
- "activate the imported snippets."
104
- msgstr ""
105
- "Da biste aktivirali uvezene isečke, idite na stranicu: <a href=\"%s\">Manage "
106
- "Snippets</a>. "
107
-
108
- #: includes/admin/import.php:42
109
- msgid ""
110
- "Choose a Code Snippets (.xml) file to upload, then click Upload file and "
111
- "import."
112
- msgstr ""
113
- "Izaberite (.xml) datoteku sa isečcima koda za otpremanje, a zatim kliknite "
114
- "na Otpremi datoteku i Uvezi."
115
-
116
- #: includes/admin/import.php:46
117
- msgid "Choose a file from your computer:"
118
- msgstr "Izaberite datoteku sa svog kompjutera:"
119
-
120
- #: includes/admin/import.php:46
121
- msgid "(Maximum size: 8MB)"
122
- msgstr "(Maksimalna veličina: 8MB)"
123
-
124
- #: includes/admin/import.php:55
125
- msgid "Upload file and import"
126
- msgstr "Otpremi datoteku i uvezi"
127
-
128
- #: includes/admin/manage.php:21
129
- msgid "Snippet <strong>activated</strong>."
130
- msgstr "Isečak <strong>aktiviran</strong>."
131
-
132
- #: includes/admin/manage.php:23
133
- msgid "Selected snippets <strong>activated</strong>."
134
- msgstr "Odabrani isečci <strong>aktivirani</strong>."
135
-
136
- #: includes/admin/manage.php:25
137
- msgid "Snippet <strong>deactivated</strong>."
138
- msgstr "Isečak <strong>deaktiviran</strong>."
139
-
140
- #: includes/admin/manage.php:27
141
- msgid "Selected snippets <strong>deactivated</strong>."
142
- msgstr "Odabrani isečci <strong>deaktivirani</strong>."
143
-
144
- #: includes/admin/manage.php:29
145
- msgid "Snippet <strong>deleted</strong>."
146
- msgstr "Isečak <strong>obrisan</strong>."
147
-
148
- #: includes/admin/manage.php:31
149
- msgid "Selected snippets <strong>deleted</strong>."
150
- msgstr "Odabrani isečci <strong>obrisani</strong>."
151
-
152
- #: includes/admin/manage.php:38 includes/admin/single.php:42
153
- msgctxt "snippet"
154
- msgid "Add New"
155
- msgstr "Dodaj novi"
156
-
157
- #: includes/admin/manage.php:47
158
- msgid "Search Installed Snippets"
159
- msgstr "Pretraži instalirane isečke"
160
-
161
- #: includes/admin/single.php:22
162
- msgid "Please provide a name for the snippet and its code."
163
- msgstr "Unesite naziv isečka i njegov kod."
164
-
165
- #: includes/admin/single.php:28
166
- msgid "Snippet <strong>updated</strong>."
167
- msgstr "Isečak <strong>ažuriran</strong>."
168
-
169
- #: includes/admin/single.php:30
170
- msgid "Snippet <strong>added</strong>."
171
- msgstr "Isećak <strong>dodat</strong>."
172
-
173
- #: includes/admin/single.php:55 includes/admin/single.php:56
174
- msgid "Name (short title)"
175
- msgstr "Naziv (kratak naslov)"
176
-
177
- #: includes/admin/single.php:61
178
- msgid "Code"
179
- msgstr "Kod"
180
-
181
- #: code-snippets.php:1433 includes/class-list-table.php:189
182
- msgid "Description"
183
- msgstr "Opsi"
184
-
185
- #: code-snippets.php:1434
186
- msgid "(Optional)"
187
- msgstr "(Opcioni)"
188
-
189
- #: includes/class-list-table.php:36
190
- msgid "Snippets per page"
191
- msgstr "Isečci po stranici"
192
-
193
- #: code-snippets.php:1118 includes/class-list-table.php:127
194
- #: includes/class-list-table.php:213
195
- msgid "Network Deactivate"
196
- msgstr "Deaktiviraj mrežu"
197
-
198
- #: code-snippets.php:1118 includes/class-list-table.php:127
199
- #: includes/class-list-table.php:213
200
- msgid "Deactivate"
201
- msgstr "Deaktiviraj"
202
-
203
- #: code-snippets.php:1127 includes/class-list-table.php:137
204
- #: includes/class-list-table.php:212
205
- msgid "Network Activate"
206
- msgstr "Aktiviraj mrežu"
207
-
208
- #: code-snippets.php:1127 includes/class-list-table.php:137
209
- #: includes/class-list-table.php:212
210
- msgid "Activate"
211
- msgstr "Aktiviraj"
212
-
213
- #: includes/class-list-table.php:187
214
- msgid "Name"
215
- msgstr "Naziv"
216
-
217
- #: includes/class-list-table.php:188
218
- msgid "ID"
219
- msgstr "ID"
220
-
221
- #: includes/class-list-table.php:147 includes/class-list-table.php:214
222
- msgid "Export"
223
- msgstr "Izvezi"
224
-
225
- #: includes/class-list-table.php:155 includes/class-list-table.php:215
226
- msgid "Delete"
227
- msgstr "Obriši"
228
-
229
- #: includes/class-list-table.php:216
230
- msgid "Export to PHP"
231
- msgstr "Izvezi u PHP"
232
-
233
- #: includes/class-list-table.php:236
234
- msgid "All <span class=\"count\">(%s)</span>"
235
- msgid_plural "All <span class=\"count\">(%s)</span>"
236
- msgstr[0] ""
237
- msgstr[1] ""
238
-
239
- #: includes/class-list-table.php:239
240
- msgid "Active <span class=\"count\">(%s)</span>"
241
- msgid_plural "Active <span class=\"count\">(%s)</span>"
242
- msgstr[0] ""
243
- msgstr[1] ""
244
-
245
- #: includes/class-list-table.php:242
246
- msgid "Recently Active <span class=\"count\">(%s)</span>"
247
- msgid_plural "Recently Active <span class=\"count\">(%s)</span>"
248
- msgstr[0] ""
249
- msgstr[1] ""
250
-
251
- #: includes/class-list-table.php:245
252
- msgid "Inactive <span class=\"count\">(%s)</span>"
253
- msgid_plural "Inactive <span class=\"count\">(%s)</span>"
254
- msgstr[0] ""
255
- msgstr[1] ""
256
-
257
- #: includes/class-list-table.php:279
258
- msgid "Clear List"
259
- msgstr "Obriši listu"
260
-
261
- #: includes/class-list-table.php:374
262
- msgid ""
263
- "You do not appear to have any snippets available at this time. <a href=\"%s"
264
- "\">Add New&rarr;</a>"
265
- msgstr ""
266
- "Čini se da trenutno nemate raspoložive isečke. <a href=\"%s\">Add New&rarr;"
267
- "</a>"
268
-
269
- #: includes/help/import.php:5 includes/help/manage.php:5
270
- #: includes/help/single.php:5
271
- msgid "Overview"
272
- msgstr "Pregled"
273
-
274
- #: includes/help/import.php:7
275
- msgid ""
276
- "Snippets are similar to plugins - they both extend and expand the "
277
- "functionality of WordPress. Snippets are more light-weight, just a few lines "
278
- "of code, and do not put as much load on your server. Here you can load "
279
- "snippets from a Code Snippets (.xml) import file into the database with your "
280
- "existing snippets."
281
- msgstr ""
282
- "Isečci liče na plugin-ove - i jedni i drugi proširuju funkcije WordPress-a. "
283
- "Isečci su lakši - sadrže samo nekoliko linija koda i ne opterećuju server. "
284
- "Ovde možete učitati isečke iz Code Snippets (.xml) datoteke za uvoz u bazu "
285
- "podataka sa svojim postojećim isečcima."
286
-
287
- #: includes/help/import.php:12
288
- msgid "Importing"
289
- msgstr "Uvoz u toku..."
290
-
291
- #: includes/help/import.php:15
292
- msgid ""
293
- "Snippets will be added to the database along with your existing snippets. "
294
- "Regardless of whether the snippets were active on the previous site, "
295
- "imported snippets are always inactive until activated using the <a href=\"%s"
296
- "\">Manage Snippets</a> page.</p>"
297
- msgstr ""
298
- "Isečci će biti dodati bazi podataka zajedno s vašim postojećim isečcima. Bez "
299
- "obzira na to da li su isečci bili aktivni na prethodnom sajtu, uvezeni "
300
- "isečci uvek su neaktivni sve dok se ne aktiviraju uz pomoć stranice: <a href="
301
- "\"%s\">Manage Snippets</a>."
302
-
303
- #: includes/help/import.php:20
304
- msgid "Exporting"
305
- msgstr "Izvoz u toku..."
306
-
307
- #: includes/help/import.php:22
308
- msgid ""
309
- "You can save your snippets to a Code Snippets (.xml) export file using the "
310
- "<a href=\"%s\">Manage Snippets</a> page."
311
- msgstr ""
312
- "Možete sačuvati svoje isečke u Code Snippets (.xml) datoteci sa isečcima uz "
313
- "pomoć stranice <a href=\"%s\">Manage Snippets</a>."
314
-
315
- #: includes/help/import.php:26 includes/help/manage.php:27
316
- #: includes/help/single.php:31
317
- msgid "For more information:"
318
- msgstr "Za više informacija:"
319
-
320
- #: includes/help/import.php:27 includes/help/single.php:32
321
- msgid ""
322
- "<a href=\"http://wordpress.org/plugins/code-snippets\" target=\"_blank"
323
- "\">WordPress Extend</a>"
324
- msgstr ""
325
- "<a href=\"http://wordpress.org/plugins/code-snippets\" target=\"_blank"
326
- "\">WordPress Extend</a>"
327
-
328
- #: includes/help/import.php:28 includes/help/manage.php:29
329
- #: includes/help/single.php:33
330
- msgid ""
331
- "<a href=\"http://wordpress.org/support/plugin/code-snippets\" target=\"_blank"
332
- "\">Support Forums</a>"
333
- msgstr ""
334
- "<a href=\"http://wordpress.org/support/plugin/code-snippets\" target=\"_blank"
335
- "\">Support Forums</a>"
336
-
337
- #: includes/help/manage.php:7
338
- msgid ""
339
- "Snippets are similar to plugins - they both extend and expand the "
340
- "functionality of WordPress. Snippets are more light-weight, just a few lines "
341
- "of code, and do not put as much load on your server. Here you can manage "
342
- "your existing snippets and perform tasks on them such as activating, "
343
- "deactivating, deleting and exporting."
344
- msgstr ""
345
- "Isečci liče na plugin-ove - i jedni i drugi proširuju funkcije WordPress-a. "
346
- "Isečci su lakši - sadrže samo nekoliko linija koda i ne opterećuju server. "
347
- "Ovde možete upravljati svojim postojećim isečcima i izvoditi operacije na "
348
- "njima, kao što su: aktiviranje, deaktiviranje, brisanje i izvoz."
349
-
350
- #: includes/help/manage.php:12
351
- msgid "Safe Mode"
352
- msgstr "Bezbedan režim"
353
-
354
- #: includes/help/manage.php:14
355
- msgid ""
356
- "Be sure to check your snippets for errors before you activate them, as a "
357
- "faulty snippet could bring your whole blog down. If your site starts doing "
358
- "strange things, deactivate all your snippets and activate them one at a time."
359
- msgstr ""
360
- "Proverite da li u vašim isečcima ima grešaka pre nego što ih aktivirate jer "
361
- "isečak sa greškom može da vam sruši ceo blog. Ako vam se sajt čudno ponaša, "
362
- "deaktivirajte sve isečke i aktivirajte jedan po jedan."
363
-
364
- #: includes/help/manage.php:20
365
- msgid "Uninstall"
366
- msgstr "Deinstaliraj"
367
-
368
- #: includes/help/manage.php:22
369
- msgid ""
370
- "When you delete Code Snippets through the Plugins menu in WordPress it will "
371
- "clear up the <code>%1$s</code> table and a few other bits of data stored in "
372
- "the database. If you want to keep this data (ie: you are only temporally "
373
- "uninstalling Code Snippets) then remove the <code>%2$s</code> folder using "
374
- "FTP."
375
- msgstr ""
376
- "Kad brišete isečke koda kroz Plugins meni u WordPress-u, obrisaće vam se "
377
- "<code>%1$s</code> tabela i još nekoliko bitova podataka sačuvanih u bazi "
378
- "podataka. Ako želite da zadržite ove podatke (tj. ako samo privremeno "
379
- "deinstalirate Code Snippets), uklonite <code>%2$s</code> folder koristeći "
380
- "FTP."
381
-
382
- #: includes/help/manage.php:23
383
- msgid ""
384
- "Even if you're sure that you don't want to use Code Snippets ever again on "
385
- "this WordPress installation, you may want to use the export feature to back "
386
- "up your snippets."
387
- msgstr ""
388
- "Čak i ako ste sigurni kako nikad više nećete poželeti da koristite Code "
389
- "Snippets na ovoj WordPress instalaciji, možda ćete hteti da koristite "
390
- "funkciju izvoza da biste obezbedili podršku za svoje isečke. "
391
-
392
- #: includes/help/manage.php:28
393
- msgid ""
394
- "<a href=\"http://wordpress.org/plugins/code-snippets\" target=\"_blank"
395
- "\">WordPress Extend</a></p>"
396
- msgstr ""
397
- "<a href=\"http://wordpress.org/plugins/code-snippets\" target=\"_blank"
398
- "\">WordPress Extend</a></p>"
399
-
400
- #: includes/help/single.php:7
401
- msgid ""
402
- "Snippets are similar to plugins - they both extend and expand the "
403
- "functionality of WordPress. Snippets are more light-weight, just a few lines "
404
- "of code, and do not put as much load on your server. Here you can add a new "
405
- "snippet, or edit an existing one."
406
- msgstr ""
407
- "Isečci liče na plugin-ove - i jedni i drugi proširuju funkcije WordPress-a. "
408
- "Isečci su lakši - sadrže samo nekoliko linija koda i ne opterećuju server. "
409
- "Ovde možete dodati novi isečak ili urediti postojeći."
410
-
411
- #: includes/help/single.php:11
412
- msgid "Finding Snippets"
413
- msgstr "Pretraživanje isečaka"
414
-
415
- #: includes/help/single.php:13
416
- msgid ""
417
- "Here are some links to websites which host a large number of snippets that "
418
- "you can add to your site.\n"
419
- "\t\t<ul>\n"
420
- "\t\t\t<li><a href=\"http://wp-snippets.com\" title=\"WordPress Snippets\">WP-"
421
- "Snippets</a></li>\n"
422
- "\t\t\t<li><a href=\"http://wpsnipp.com\" title=\"WP Snipp\">WP Snipp</a></"
423
- "li>\n"
424
- "\t\t\t<li><a href=\"http://www.catswhocode.com/blog/snippets\" title=\"Cats "
425
- "Who Code Snippet Library\">Cats Who Code</a></li>\n"
426
- "\t\t\t<li><a href=\"http://www.wpfunction.me\">WP Function Me</a></li>\n"
427
- "\t\t</ul>"
428
- msgstr ""
429
- "Navedeni su linkovi za web sajtove sa velikim brojem isečaka koje možete "
430
- "dodati svom sajtu: .\n"
431
- "\t\t<ul>\n"
432
- "\t\t\t<li><a href=\"http://wp-snippets.com\" title=\"WordPress Snippets\">WP-"
433
- "Snippets</a></li>\n"
434
- "\t\t\t<li><a href=\"http://wpsnipp.com\" title=\"WP Snipp\">WP Snipp</a></"
435
- "li>\n"
436
- "\t\t\t<li><a href=\"http://www.catswhocode.com/blog/snippets\" title=\"Cats "
437
- "Who Code Snippet Library\">Cats Who Code</a></li>\n"
438
- "\t\t\t<li><a href=\"http://www.wpfunction.me\">WP Function Me</a></li>\n"
439
- "\t\t</ul>"
440
-
441
- #: includes/help/single.php:24
442
- msgid "Adding Snippets"
443
- msgstr "Dodavanje isečaka"
444
-
445
- #: includes/help/single.php:26
446
- msgid ""
447
- "You need to fill out the name and code fields for your snippet to be added. "
448
- "While the description field will add more information about how your snippet "
449
- "works, what is does and where you found it, it is completely optional."
450
- msgstr ""
451
- "Morate popuniti polja sa nazivom i kodom za isečak koji želite da dodate. "
452
- "Iako opisno polje sadrži više podataka o tome kako vaš isečak funkcioniše, "
453
- "šta radi i gde ga možete naći, potpuno je proizvoljno."
454
-
455
- #: includes/help/single.php:27
456
- msgid ""
457
- "Please be sure to check that your snippet is valid PHP code and will not "
458
- "produce errors before adding it through this page. While doing so will not "
459
- "become active straight away, it will help to minimise the chance of a faulty "
460
- "snippet becoming active on your site."
461
- msgstr ""
462
- "Proverite da li vam je isečak važeći PHP kod i uverite se da neće praviti "
463
- "greške pre nego što ga dodate putem ove stranice. Dok to radite, neće odmah "
464
- "postati aktivan; pomoći će vam da smanjite na minimum šanse da se na vašem "
465
- "sajtu aktivira isečak sa greškom. "
466
-
467
- #: code-snippets.php:0
468
- msgid "http://bungeshea.com/plugins/code-snippets"
469
- msgstr "http://bungeshea.com/plugins/code-snippets"
470
-
471
- #: code-snippets.php:263
472
- msgid "Import snippets from a <strong>Code Snippets</strong> export file"
473
- msgstr "Uvezi isečke iz <strong>Code Snippets</strong> datoteke za izvoz."
474
-
475
- #: includes/admin/import.php:20
476
- msgid "Imported <strong>%d</strong> snippet."
477
- msgid_plural "Imported <strong>%d</strong> snippets."
478
- msgstr[0] ""
479
- msgstr[1] ""
480
-
481
- #: includes/help/import.php:29 includes/help/manage.php:30
482
- #: includes/help/single.php:34
483
- msgid ""
484
- "<a href=\"http://bungeshea.com/plugins/code-snippets/\" target=\"_blank\">Project "
485
- "Website</a>"
486
- msgstr ""
487
- "<a href=\"http://bungeshea.com/plugins/code-snippets/\" target=\"_blank\">Project "
488
- "Website</a>"
489
-
490
- #: includes/help/manage.php:15
491
- msgid ""
492
- "If something goes wrong with a snippet and you can't use WordPress, you can "
493
- "cause all snippets to stop executing by adding <code>define"
494
- "('CODE_SNIPPETS_SAFE_MODE', true);</code> to your <code>wp-config.php</code> "
495
- "file. After you have deactivated the offending snippet, you can turn off "
496
- "safe mode by removing this line or replacing <strong>true</strong> with "
497
- "<strong>false</strong>."
498
- msgstr ""
499
- "Ako se nešto u vezi sa isečkom pokvari i ne možete da koristite WordPress, "
500
- "možete deaktivirati sve isečke tako što ćete uneti: <code>define"
501
- "('CODE_SNIPPETS_SAFE_MODE', true);</code> u svoju <code>wp-config.php</code> "
502
- "datoteku. Kad deaktivirate pogrešan isečak, možete isključiti bezbedan režim "
503
- "tako što ćete ukloniti ovu liniju ili zameniti <strong>true</strong> sa "
504
- "<strong>false</strong>."
505
-
506
- #: includes/help/single.php:20
507
- msgid ""
508
- "More places to find snippets, as well as a selection of example snippets, "
509
- "can be found in the <a href=\"https://github.com/sheabunge/code-snippets/wiki/"
510
- "Finding-snippets\">plugin documentation</a>"
511
- msgstr ""
512
- "Više mesta za pronalaženje isečaka, kao i odabrane primere isečaka, možete "
513
- "naći na: <a href=\"https://github.com/sheabunge/code-snippets/wiki/Finding-snippets"
514
- "\">plugin documentation</a>"
515
-
516
- #: code-snippets.php:0
517
- msgid "1.7"
518
- msgstr "1.7"
519
-
520
- #: code-snippets.php:602 includes/class-list-table.php:142
521
- msgid "Edit"
522
- msgstr "Uredi"
523
-
524
- #: code-snippets.php:1227
525
- msgid "Sorry, you're not allowed to edit snippets"
526
- msgstr "Žao nam je, nije vam dozvoljeno da uređujete isečke."
527
-
528
- #: includes/admin/single.php:24
529
- msgid "Snippet <strong>updated</strong> and <strong>activated</strong>."
530
- msgstr "Isečak <strong>ažuriran</strong> i <strong>aktiviran</strong>."
531
-
532
- #: includes/admin/single.php:26
533
- msgid "Snippet <strong>added</strong> and <strong>activated</strong>."
534
- msgstr "Isečak <strong>dodat </strong> i <strong>aktiviran</strong>."
535
-
536
- #: includes/class-list-table.php:163
537
- msgid ""
538
- "You are about to permanently delete the selected item.\n"
539
- "\t\t\t\t'Cancel' to stop, 'OK' to delete."
540
- msgstr ""
541
- "Spremate se da trajno obrišete odabranu jedinicu. \n"
542
- "\t\t\t\t Kliknite na 'Poništi' da biste otkazali ili na 'OK' da biste "
543
- "obrisali. "
544
-
545
- #: includes/class-list-table.php:270
546
- msgid "Filter"
547
- msgstr "Filter"
548
-
549
- #: includes/class-list-table.php:541
550
- msgid "Search results"
551
- msgstr "Rezultati pretrage"
552
-
553
- #: includes/class-list-table.php:544
554
- msgid " for &#8220;%s&#8221;"
555
- msgstr "za &#8220;%s&#8221;"
556
-
557
- #: includes/class-list-table.php:550
558
- msgid "Clear Filters"
559
- msgstr "Obriši filtere"
560
-
561
- #: includes/help/import.php:14
562
- msgid ""
563
- "You can load your snippets from a code snippets (.xml) export file using "
564
- "this page."
565
- msgstr ""
566
- "Možete otpremiti svoje isečke iz code snippets (.xml) datoteke za izvoz uz "
567
- "pomoć sledeće stranice. "
568
-
569
- #: includes/admin/single.php:74
570
- msgid "Save Changes &amp; Activate"
571
- msgstr "Sačuvaj izmene &amp; Aktiviraj "
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/languages/code-snippets-zh_CN.mo DELETED
Binary file
trunk/languages/code-snippets-zh_CN.po DELETED
@@ -1,517 +0,0 @@
1
- # This file is distributed under the same license as the Code Snippets package.
2
- msgid ""
3
- msgstr ""
4
- "PO-Revision-Date: 2014-09-06 15:42+0800\n"
5
- "MIME-Version: 1.0\n"
6
- "Content-Type: text/plain; charset=UTF-8\n"
7
- "Content-Transfer-Encoding: 8bit\n"
8
- "Plural-Forms: nplurals=2; plural=n != 1;\n"
9
- "X-Generator: Poedit 1.6.9\n"
10
- "Project-Id-Version: Code Snippets\n"
11
- "POT-Creation-Date: \n"
12
- "Last-Translator: \n"
13
- "Language-Team: Jincheng Shan <hi@shanjincheng.com>\n"
14
- "Language: zh_Hans_CN\n"
15
- "X-Poedit-SourceCharset: UTF-8\n"
16
-
17
- #: code-snippets.php:0 code-snippets.php:262
18
- msgid "Code Snippets"
19
- msgstr "Code Snippets"
20
-
21
- #: code-snippets.php:0
22
- msgid ""
23
- "An easy, clean and simple way to add code snippets to your site. No need to "
24
- "edit to your theme's functions.php file again!"
25
- msgstr ""
26
- "以简单、简洁、简约的方式添加代码片段到您的站点。再也没有必要去编辑主题的 "
27
- "functions.php 文件!"
28
-
29
- #: code-snippets.php:0
30
- msgid "Shea Bunge"
31
- msgstr "Shea Bunge"
32
-
33
- #: code-snippets.php:0
34
- msgid "http://bungeshea.com"
35
- msgstr "http://bungeshea.com"
36
-
37
- #: code-snippets.php:577 code-snippets.php:578 code-snippets.php:588
38
- #: includes/admin/manage.php:36
39
- msgid "Snippets"
40
- msgstr "片段"
41
-
42
- #: code-snippets.php:612 code-snippets.php:1145 includes/admin/single.php:45
43
- msgid "Add New Snippet"
44
- msgstr "添加片段"
45
-
46
- #: code-snippets.php:613
47
- msgid "Add New"
48
- msgstr "添加"
49
-
50
- #: code-snippets.php:641 includes/admin/import.php:34
51
- msgid "Import Snippets"
52
- msgstr "导入片段"
53
-
54
- #: code-snippets.php:642
55
- msgid "Import"
56
- msgstr "导入"
57
-
58
- #: code-snippets.php:601 code-snippets.php:1146 includes/admin/single.php:37
59
- msgid "Edit Snippet"
60
- msgstr "编辑片段"
61
-
62
- #: code-snippets.php:1465
63
- msgid "Manage your existing snippets"
64
- msgstr "管理现有片段"
65
-
66
- #: code-snippets.php:589 code-snippets.php:1466
67
- msgid "Manage"
68
- msgstr "管理"
69
-
70
- #: code-snippets.php:1486
71
- msgid "Visit the WordPress.org plugin page"
72
- msgstr "访问往于 WordPress.org 的插件页面"
73
-
74
- #: code-snippets.php:1487
75
- msgid "About"
76
- msgstr "关于"
77
-
78
- #: code-snippets.php:1491
79
- msgid "Visit the support forums"
80
- msgstr "访问帮助论坛"
81
-
82
- #: code-snippets.php:1492
83
- msgid "Support"
84
- msgstr "支持"
85
-
86
- #: code-snippets.php:1496
87
- msgid "Support this plugin's development"
88
- msgstr "帮助此插件的开发"
89
-
90
- #: code-snippets.php:1497
91
- msgid "Donate"
92
- msgstr "捐助"
93
-
94
- #: includes/admin/import.php:38
95
- msgid ""
96
- "Howdy! Upload your Code Snippets export file and we&#8217;ll import the "
97
- "snippets to this site."
98
- msgstr "您好!请上传你的 Code Snippets 导出文件,我们会导入片段到此站点。"
99
-
100
- #: includes/admin/import.php:40
101
- msgid ""
102
- "You will need to go to the <a href=\"%s\">Manage Snippets</a> page to "
103
- "activate the imported snippets."
104
- msgstr "您需要访问 <a href=\"%s\">管理片段</a> 页面来激活导入的片段。"
105
-
106
- #: includes/admin/import.php:42
107
- msgid ""
108
- "Choose a Code Snippets (.xml) file to upload, then click Upload file and "
109
- "import."
110
- msgstr "选择一个 Code Snippets 导出文件(.xml)上传,并点击上传文件来导入。"
111
-
112
- #: includes/admin/import.php:46
113
- msgid "Choose a file from your computer:"
114
- msgstr "选择一个您电脑上的文件:"
115
-
116
- #: includes/admin/import.php:46
117
- msgid "(Maximum size: 8MB)"
118
- msgstr "(最大上传文件大小:8 MB)"
119
-
120
- #: includes/admin/import.php:55
121
- msgid "Upload file and import"
122
- msgstr "上传文件并导入"
123
-
124
- #: includes/admin/manage.php:21
125
- msgid "Snippet <strong>activated</strong>."
126
- msgstr "片段 <strong>已激活</strong>。"
127
-
128
- #: includes/admin/manage.php:23
129
- msgid "Selected snippets <strong>activated</strong>."
130
- msgstr "选择的片段 <strong>已激活</strong>。"
131
-
132
- #: includes/admin/manage.php:25
133
- msgid "Snippet <strong>deactivated</strong>."
134
- msgstr "片段 <strong>已禁用</strong>。"
135
-
136
- #: includes/admin/manage.php:27
137
- msgid "Selected snippets <strong>deactivated</strong>."
138
- msgstr "选择的片段 <strong>已禁用</strong>。"
139
-
140
- #: includes/admin/manage.php:29
141
- msgid "Snippet <strong>deleted</strong>."
142
- msgstr "片段 <strong>已删除</strong>。"
143
-
144
- #: includes/admin/manage.php:31
145
- msgid "Selected snippets <strong>deleted</strong>."
146
- msgstr "选择的片段 <strong>已删除</strong>。"
147
-
148
- #: includes/admin/manage.php:38 includes/admin/single.php:42
149
- msgctxt "snippet"
150
- msgid "Add New"
151
- msgstr "添加片段"
152
-
153
- #: includes/admin/manage.php:47
154
- msgid "Search Installed Snippets"
155
- msgstr "搜索已安装的片段"
156
-
157
- #: includes/admin/single.php:22
158
- msgid "Please provide a name for the snippet and its code."
159
- msgstr "请为片段命名。"
160
-
161
- #: includes/admin/single.php:28
162
- msgid "Snippet <strong>updated</strong>."
163
- msgstr "片段 <strong>已上传</strong>。"
164
-
165
- #: includes/admin/single.php:30
166
- msgid "Snippet <strong>added</strong>."
167
- msgstr "片段 <strong>已添加</strong>。"
168
-
169
- #: includes/admin/single.php:55 includes/admin/single.php:56
170
- msgid "Name (short title)"
171
- msgstr "名称(简称)"
172
-
173
- #: includes/admin/single.php:61
174
- msgid "Code"
175
- msgstr "代码"
176
-
177
- #: code-snippets.php:1433 includes/class-list-table.php:189
178
- msgid "Description"
179
- msgstr "简介"
180
-
181
- #: code-snippets.php:1434
182
- msgid "(Optional)"
183
- msgstr "(可选)"
184
-
185
- #: includes/class-list-table.php:36
186
- msgid "Snippets per page"
187
- msgstr "每页显示的片段数"
188
-
189
- #: code-snippets.php:1118 includes/class-list-table.php:127
190
- #: includes/class-list-table.php:213
191
- msgid "Network Deactivate"
192
- msgstr "网络禁用"
193
-
194
- #: code-snippets.php:1118 includes/class-list-table.php:127
195
- #: includes/class-list-table.php:213
196
- msgid "Deactivate"
197
- msgstr "禁用"
198
-
199
- #: code-snippets.php:1127 includes/class-list-table.php:137
200
- #: includes/class-list-table.php:212
201
- msgid "Network Activate"
202
- msgstr "网络启用"
203
-
204
- #: code-snippets.php:1127 includes/class-list-table.php:137
205
- #: includes/class-list-table.php:212
206
- msgid "Activate"
207
- msgstr "启用"
208
-
209
- #: includes/class-list-table.php:187
210
- msgid "Name"
211
- msgstr "名称"
212
-
213
- #: includes/class-list-table.php:188
214
- msgid "ID"
215
- msgstr "ID"
216
-
217
- #: includes/class-list-table.php:147 includes/class-list-table.php:214
218
- msgid "Export"
219
- msgstr "导出"
220
-
221
- #: includes/class-list-table.php:155 includes/class-list-table.php:215
222
- msgid "Delete"
223
- msgstr "删除"
224
-
225
- #: includes/class-list-table.php:216
226
- msgid "Export to PHP"
227
- msgstr "导出到 PHP"
228
-
229
- #: includes/class-list-table.php:236
230
- msgid "All <span class=\"count\">(%s)</span>"
231
- msgid_plural "All <span class=\"count\">(%s)</span>"
232
- msgstr[0] "所有<span class=\"count\">(%s)</span>"
233
- msgstr[1] "所有<span class=\"count\">(%s)</span>"
234
-
235
- #: includes/class-list-table.php:239
236
- msgid "Active <span class=\"count\">(%s)</span>"
237
- msgid_plural "Active <span class=\"count\">(%s)</span>"
238
- msgstr[0] "启用<span class=\"count\">(%s)</span>"
239
- msgstr[1] "启用<span class=\"count\">(%s)</span>"
240
-
241
- #: includes/class-list-table.php:242
242
- msgid "Recently Active <span class=\"count\">(%s)</span>"
243
- msgid_plural "Recently Active <span class=\"count\">(%s)</span>"
244
- msgstr[0] "最近启用<span class=\"count\">(%s)</span>"
245
- msgstr[1] "最近启用<span class=\"count\">(%s)</span>"
246
-
247
- #: includes/class-list-table.php:245
248
- msgid "Inactive <span class=\"count\">(%s)</span>"
249
- msgid_plural "Inactive <span class=\"count\">(%s)</span>"
250
- msgstr[0] "禁用<span class=\"count\">(%s)</span>"
251
- msgstr[1] "禁用<span class=\"count\">(%s)</span>"
252
-
253
- #: includes/class-list-table.php:279
254
- msgid "Clear List"
255
- msgstr "清除列表"
256
-
257
- #: includes/class-list-table.php:374
258
- msgid ""
259
- "You do not appear to have any snippets available at this time. <a href=\"%s"
260
- "\">Add New&rarr;</a>"
261
- msgstr "目前还没有一个可用的代码片段。<a href=\"%s\">添加&rarr;</a>"
262
-
263
- #: includes/help/import.php:5 includes/help/manage.php:5
264
- #: includes/help/single.php:5
265
- msgid "Overview"
266
- msgstr "概述"
267
-
268
- #: includes/help/import.php:7
269
- msgid ""
270
- "Snippets are similar to plugins - they both extend and expand the "
271
- "functionality of WordPress. Snippets are more light-weight, just a few lines "
272
- "of code, and do not put as much load on your server. Here you can load "
273
- "snippets from a Code Snippets (.xml) import file into the database with your "
274
- "existing snippets."
275
- msgstr ""
276
-
277
- #: includes/help/import.php:12
278
- msgid "Importing"
279
- msgstr "导入"
280
-
281
- #: includes/help/import.php:15
282
- msgid ""
283
- "Snippets will be added to the database along with your existing snippets. "
284
- "Regardless of whether the snippets were active on the previous site, "
285
- "imported snippets are always inactive until activated using the <a href=\"%s"
286
- "\">Manage Snippets</a> page.</p>"
287
- msgstr ""
288
-
289
- #: includes/help/import.php:20
290
- msgid "Exporting"
291
- msgstr "导出"
292
-
293
- #: includes/help/import.php:22
294
- msgid ""
295
- "You can save your snippets to a Code Snippets (.xml) export file using the "
296
- "<a href=\"%s\">Manage Snippets</a> page."
297
- msgstr ""
298
-
299
- #: includes/help/import.php:26 includes/help/manage.php:27
300
- #: includes/help/single.php:31
301
- msgid "For more information:"
302
- msgstr "更多信息:"
303
-
304
- #: includes/help/import.php:27 includes/help/single.php:32
305
- msgid ""
306
- "<a href=\"http://wordpress.org/plugins/code-snippets\" target=\"_blank"
307
- "\">WordPress Extend</a>"
308
- msgstr ""
309
- "<a href=\"http://wordpress.org/plugins/code-snippets\" target=\"_blank"
310
- "\">WordPress 插件页面</a>"
311
-
312
- #: includes/help/import.php:28 includes/help/manage.php:29
313
- #: includes/help/single.php:33
314
- msgid ""
315
- "<a href=\"http://wordpress.org/support/plugin/code-snippets\" target=\"_blank"
316
- "\">Support Forums</a>"
317
- msgstr ""
318
- "<a href=\"http://wordpress.org/support/plugin/code-snippets\" target=\"_blank"
319
- "\">帮助论坛</a>"
320
-
321
- #: includes/help/manage.php:7
322
- msgid ""
323
- "Snippets are similar to plugins - they both extend and expand the "
324
- "functionality of WordPress. Snippets are more light-weight, just a few lines "
325
- "of code, and do not put as much load on your server. Here you can manage "
326
- "your existing snippets and perform tasks on them such as activating, "
327
- "deactivating, deleting and exporting."
328
- msgstr ""
329
-
330
- #: includes/help/manage.php:12
331
- msgid "Safe Mode"
332
- msgstr "安全模式"
333
-
334
- #: includes/help/manage.php:14
335
- msgid ""
336
- "Be sure to check your snippets for errors before you activate them, as a "
337
- "faulty snippet could bring your whole blog down. If your site starts doing "
338
- "strange things, deactivate all your snippets and activate them one at a time."
339
- msgstr ""
340
-
341
- #: includes/help/manage.php:20
342
- msgid "Uninstall"
343
- msgstr "卸载"
344
-
345
- #: includes/help/manage.php:22
346
- msgid ""
347
- "When you delete Code Snippets through the Plugins menu in WordPress it will "
348
- "clear up the <code>%1$s</code> table and a few other bits of data stored in "
349
- "the database. If you want to keep this data (ie: you are only temporally "
350
- "uninstalling Code Snippets) then remove the <code>%2$s</code> folder using "
351
- "FTP."
352
- msgstr ""
353
-
354
- #: includes/help/manage.php:23
355
- msgid ""
356
- "Even if you're sure that you don't want to use Code Snippets ever again on "
357
- "this WordPress installation, you may want to use the export feature to back "
358
- "up your snippets."
359
- msgstr ""
360
-
361
- #: includes/help/manage.php:28
362
- msgid ""
363
- "<a href=\"http://wordpress.org/plugins/code-snippets\" target=\"_blank"
364
- "\">WordPress Extend</a></p>"
365
- msgstr ""
366
- "<a href=\"http://wordpress.org/plugins/code-snippets\" target=\"_blank"
367
- "\">WordPress 插件页面</a></p>"
368
-
369
- #: includes/help/single.php:7
370
- msgid ""
371
- "Snippets are similar to plugins - they both extend and expand the "
372
- "functionality of WordPress. Snippets are more light-weight, just a few lines "
373
- "of code, and do not put as much load on your server. Here you can add a new "
374
- "snippet, or edit an existing one."
375
- msgstr ""
376
-
377
- #: includes/help/single.php:11
378
- msgid "Finding Snippets"
379
- msgstr "寻找片段"
380
-
381
- #: includes/help/single.php:13
382
- msgid ""
383
- "Here are some links to websites which host a large number of snippets that "
384
- "you can add to your site.\n"
385
- "\t\t<ul>\n"
386
- "\t\t\t<li><a href=\"http://wp-snippets.com\" title=\"WordPress Snippets\">WP-"
387
- "Snippets</a></li>\n"
388
- "\t\t\t<li><a href=\"http://wpsnipp.com\" title=\"WP Snipp\">WP Snipp</a></"
389
- "li>\n"
390
- "\t\t\t<li><a href=\"http://www.catswhocode.com/blog/snippets\" title=\"Cats "
391
- "Who Code Snippet Library\">Cats Who Code</a></li>\n"
392
- "\t\t\t<li><a href=\"http://www.wpfunction.me\">WP Function Me</a></li>\n"
393
- "\t\t</ul>"
394
- msgstr ""
395
- "您可以将这里有着数量巨大的代码片段的网站中的片段添加到您的站点。\n"
396
- "\t\t<ul>\n"
397
- "\t\t\t<li><a href=\"http://wp-snippets.com\" title=\"WordPress Snippets\">WP-"
398
- "Snippets</a></li>\n"
399
- "\t\t\t<li><a href=\"http://wpsnipp.com\" title=\"WP Snipp\">WP Snipp</a></"
400
- "li>\n"
401
- "\t\t\t<li><a href=\"http://www.catswhocode.com/blog/snippets\" title=\"Cats "
402
- "Who Code Snippet Library\">Cats Who Code</a></li>\n"
403
- "\t\t\t<li><a href=\"http://www.wpfunction.me\">WP Function Me</a></li>\n"
404
- "\t\t</ul>"
405
-
406
- #: includes/help/single.php:24
407
- msgid "Adding Snippets"
408
- msgstr "添加片段"
409
-
410
- #: includes/help/single.php:26
411
- msgid ""
412
- "You need to fill out the name and code fields for your snippet to be added. "
413
- "While the description field will add more information about how your snippet "
414
- "works, what is does and where you found it, it is completely optional."
415
- msgstr ""
416
-
417
- #: includes/help/single.php:27
418
- msgid ""
419
- "Please be sure to check that your snippet is valid PHP code and will not "
420
- "produce errors before adding it through this page. While doing so will not "
421
- "become active straight away, it will help to minimise the chance of a faulty "
422
- "snippet becoming active on your site."
423
- msgstr ""
424
-
425
- #: code-snippets.php:0
426
- msgid "http://bungeshea.com/plugins/code-snippets"
427
- msgstr "http://bungeshea.com/plugins/code-snippets"
428
-
429
- #: code-snippets.php:263
430
- msgid "Import snippets from a <strong>Code Snippets</strong> export file"
431
- msgstr "上传来自于 <strong>Code Snippets</strong> 导出文件的代码片段。"
432
-
433
- #: includes/admin/import.php:20
434
- msgid "Imported <strong>%d</strong> snippet."
435
- msgid_plural "Imported <strong>%d</strong> snippets."
436
- msgstr[0] "已上传 <strong>%d</strong> 个片段。"
437
- msgstr[1] "已上传 <strong>%d</strong> 个片段。"
438
-
439
- #: includes/help/import.php:29 includes/help/manage.php:30
440
- #: includes/help/single.php:34
441
- msgid ""
442
- "<a href=\"http://bungeshea.com/plugins/code-snippets/\" target=\"_blank\">Project "
443
- "Website</a>"
444
- msgstr ""
445
- "<a href=\"http://bungeshea.com/plugins/code-snippets/\" target=\"_blank\">项目站点</"
446
- "a>"
447
-
448
- #: includes/help/manage.php:15
449
- msgid ""
450
- "If something goes wrong with a snippet and you can't use WordPress, you can "
451
- "cause all snippets to stop executing by adding "
452
- "<code>define('CODE_SNIPPETS_SAFE_MODE', true);</code> to your <code>wp-"
453
- "config.php</code> file. After you have deactivated the offending snippet, "
454
- "you can turn off safe mode by removing this line or replacing <strong>true</"
455
- "strong> with <strong>false</strong>."
456
- msgstr ""
457
-
458
- #: includes/help/single.php:20
459
- msgid ""
460
- "More places to find snippets, as well as a selection of example snippets, "
461
- "can be found in the <a href=\"https://github.com/sheabunge/code-snippets/wiki/"
462
- "Finding-snippets\">plugin documentation</a>"
463
- msgstr ""
464
-
465
- #: code-snippets.php:0
466
- msgid "1.7"
467
- msgstr "1.7"
468
-
469
- #: code-snippets.php:602 includes/class-list-table.php:142
470
- msgid "Edit"
471
- msgstr "编辑"
472
-
473
- #: code-snippets.php:1227
474
- msgid "Sorry, you're not allowed to edit snippets"
475
- msgstr "对不起,您未被授予修改片段的权限。"
476
-
477
- #: includes/admin/single.php:24
478
- msgid "Snippet <strong>updated</strong> and <strong>activated</strong>."
479
- msgstr "片段 <strong>已上传</strong> 并 <strong>已启用</strong>。"
480
-
481
- #: includes/admin/single.php:26
482
- msgid "Snippet <strong>added</strong> and <strong>activated</strong>."
483
- msgstr "片段 <strong>已添加</strong> 并 <strong>已启用</strong>。"
484
-
485
- #: includes/class-list-table.php:163
486
- msgid ""
487
- "You are about to permanently delete the selected item.\n"
488
- "\t\t\t\t'Cancel' to stop, 'OK' to delete."
489
- msgstr ""
490
- "您即将彻底删除所选条目。\n"
491
- "\t\t\t\t点击「取消」以停止, 「确认」以删除。"
492
-
493
- #: includes/class-list-table.php:270
494
- msgid "Filter"
495
- msgstr "关键词"
496
-
497
- #: includes/class-list-table.php:541
498
- msgid "Search results"
499
- msgstr "&#8220;%s&#8221"
500
-
501
- #: includes/class-list-table.php:544
502
- msgid " for &#8220;%s&#8221;"
503
- msgstr "的搜索结果"
504
-
505
- #: includes/class-list-table.php:550
506
- msgid "Clear Filters"
507
- msgstr "清除关键词"
508
-
509
- #: includes/help/import.php:14
510
- msgid ""
511
- "You can load your snippets from a code snippets (.xml) export file using "
512
- "this page."
513
- msgstr "您可以于此页加载 Code Snippets 导出文件(.xml)中的代码片段。"
514
-
515
- #: includes/admin/single.php:74
516
- msgid "Save Changes &amp; Activate"
517
- msgstr "保存设置并启用"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/languages/code-snippets.mo DELETED
Binary file
trunk/languages/code-snippets.po DELETED
@@ -1,419 +0,0 @@
1
- # This file is distributed under the same license as the Code Snippets package.
2
- msgid ""
3
- msgstr ""
4
- "PO-Revision-Date: 2013-03-27 15:45:42+0000\n"
5
- "MIME-Version: 1.0\n"
6
- "Content-Type: text/plain; charset=UTF-8\n"
7
- "Content-Transfer-Encoding: 8bit\n"
8
- "Plural-Forms: nplurals=2; plural=n != 1;\n"
9
- "X-Generator: GlotPress/0.1\n"
10
- "Project-Id-Version: Code Snippets\n"
11
-
12
- #: code-snippets.php:0 code-snippets.php:262
13
- msgid "Code Snippets"
14
- msgstr ""
15
-
16
- #: code-snippets.php:0
17
- msgid "An easy, clean and simple way to add code snippets to your site. No need to edit to your theme's functions.php file again!"
18
- msgstr ""
19
-
20
- #: code-snippets.php:0
21
- msgid "Shea Bunge"
22
- msgstr ""
23
-
24
- #: code-snippets.php:0
25
- msgid "http://bungeshea.com"
26
- msgstr ""
27
-
28
- #: code-snippets.php:577 code-snippets.php:578 code-snippets.php:588
29
- #: includes/admin/manage.php:36
30
- msgid "Snippets"
31
- msgstr ""
32
-
33
- #: code-snippets.php:612 code-snippets.php:1145 includes/admin/single.php:45
34
- msgid "Add New Snippet"
35
- msgstr ""
36
-
37
- #: code-snippets.php:613
38
- msgid "Add New"
39
- msgstr ""
40
-
41
- #: code-snippets.php:641 includes/admin/import.php:34
42
- msgid "Import Snippets"
43
- msgstr ""
44
-
45
- #: code-snippets.php:642
46
- msgid "Import"
47
- msgstr ""
48
-
49
- #: code-snippets.php:601 code-snippets.php:1146 includes/admin/single.php:37
50
- msgid "Edit Snippet"
51
- msgstr ""
52
-
53
- #: code-snippets.php:1465
54
- msgid "Manage your existing snippets"
55
- msgstr ""
56
-
57
- #: code-snippets.php:589 code-snippets.php:1466
58
- msgid "Manage"
59
- msgstr ""
60
-
61
- #: code-snippets.php:1486
62
- msgid "Visit the WordPress.org plugin page"
63
- msgstr ""
64
-
65
- #: code-snippets.php:1487
66
- msgid "About"
67
- msgstr ""
68
-
69
- #: code-snippets.php:1491
70
- msgid "Visit the support forums"
71
- msgstr ""
72
-
73
- #: code-snippets.php:1492
74
- msgid "Support"
75
- msgstr ""
76
-
77
- #: code-snippets.php:1496
78
- msgid "Support this plugin's development"
79
- msgstr ""
80
-
81
- #: code-snippets.php:1497
82
- msgid "Donate"
83
- msgstr ""
84
-
85
- #: includes/admin/import.php:38
86
- msgid "Howdy! Upload your Code Snippets export file and we&#8217;ll import the snippets to this site."
87
- msgstr ""
88
-
89
- #: includes/admin/import.php:40
90
- msgid "You will need to go to the <a href=\"%s\">Manage Snippets</a> page to activate the imported snippets."
91
- msgstr ""
92
-
93
- #: includes/admin/import.php:42
94
- msgid "Choose a Code Snippets (.xml) file to upload, then click Upload file and import."
95
- msgstr ""
96
-
97
- #: includes/admin/import.php:46
98
- msgid "Choose a file from your computer:"
99
- msgstr ""
100
-
101
- #: includes/admin/import.php:46
102
- msgid "(Maximum size: 8MB)"
103
- msgstr ""
104
-
105
- #: includes/admin/import.php:55
106
- msgid "Upload file and import"
107
- msgstr ""
108
-
109
- #: includes/admin/manage.php:21
110
- msgid "Snippet <strong>activated</strong>."
111
- msgstr ""
112
-
113
- #: includes/admin/manage.php:23
114
- msgid "Selected snippets <strong>activated</strong>."
115
- msgstr ""
116
-
117
- #: includes/admin/manage.php:25
118
- msgid "Snippet <strong>deactivated</strong>."
119
- msgstr ""
120
-
121
- #: includes/admin/manage.php:27
122
- msgid "Selected snippets <strong>deactivated</strong>."
123
- msgstr ""
124
-
125
- #: includes/admin/manage.php:29
126
- msgid "Snippet <strong>deleted</strong>."
127
- msgstr ""
128
-
129
- #: includes/admin/manage.php:31
130
- msgid "Selected snippets <strong>deleted</strong>."
131
- msgstr ""
132
-
133
- #: includes/admin/manage.php:38 includes/admin/single.php:42
134
- msgctxt "snippet"
135
- msgid "Add New"
136
- msgstr ""
137
-
138
- #: includes/admin/manage.php:47
139
- msgid "Search Installed Snippets"
140
- msgstr ""
141
-
142
- #: includes/admin/single.php:22
143
- msgid "Please provide a name for the snippet and its code."
144
- msgstr ""
145
-
146
- #: includes/admin/single.php:28
147
- msgid "Snippet <strong>updated</strong>."
148
- msgstr ""
149
-
150
- #: includes/admin/single.php:30
151
- msgid "Snippet <strong>added</strong>."
152
- msgstr ""
153
-
154
- #: includes/admin/single.php:55 includes/admin/single.php:56
155
- msgid "Name (short title)"
156
- msgstr ""
157
-
158
- #: includes/admin/single.php:61
159
- msgid "Code"
160
- msgstr ""
161
-
162
- #: code-snippets.php:1433 includes/class-list-table.php:189
163
- msgid "Description"
164
- msgstr ""
165
-
166
- #: code-snippets.php:1434
167
- msgid "(Optional)"
168
- msgstr ""
169
-
170
- #: includes/class-list-table.php:36
171
- msgid "Snippets per page"
172
- msgstr ""
173
-
174
- #: code-snippets.php:1118 includes/class-list-table.php:127
175
- #: includes/class-list-table.php:213
176
- msgid "Network Deactivate"
177
- msgstr ""
178
-
179
- #: code-snippets.php:1118 includes/class-list-table.php:127
180
- #: includes/class-list-table.php:213
181
- msgid "Deactivate"
182
- msgstr ""
183
-
184
- #: code-snippets.php:1127 includes/class-list-table.php:137
185
- #: includes/class-list-table.php:212
186
- msgid "Network Activate"
187
- msgstr ""
188
-
189
- #: code-snippets.php:1127 includes/class-list-table.php:137
190
- #: includes/class-list-table.php:212
191
- msgid "Activate"
192
- msgstr ""
193
-
194
- #: includes/class-list-table.php:187
195
- msgid "Name"
196
- msgstr ""
197
-
198
- #: includes/class-list-table.php:188
199
- msgid "ID"
200
- msgstr ""
201
-
202
- #: includes/class-list-table.php:147 includes/class-list-table.php:214
203
- msgid "Export"
204
- msgstr ""
205
-
206
- #: includes/class-list-table.php:155 includes/class-list-table.php:215
207
- msgid "Delete"
208
- msgstr ""
209
-
210
- #: includes/class-list-table.php:216
211
- msgid "Export to PHP"
212
- msgstr ""
213
-
214
- #: includes/class-list-table.php:236
215
- msgid "All <span class=\"count\">(%s)</span>"
216
- msgid_plural "All <span class=\"count\">(%s)</span>"
217
- msgstr[0] ""
218
- msgstr[1] ""
219
-
220
- #: includes/class-list-table.php:239
221
- msgid "Active <span class=\"count\">(%s)</span>"
222
- msgid_plural "Active <span class=\"count\">(%s)</span>"
223
- msgstr[0] ""
224
- msgstr[1] ""
225
-
226
- #: includes/class-list-table.php:242
227
- msgid "Recently Active <span class=\"count\">(%s)</span>"
228
- msgid_plural "Recently Active <span class=\"count\">(%s)</span>"
229
- msgstr[0] ""
230
- msgstr[1] ""
231
-
232
- #: includes/class-list-table.php:245
233
- msgid "Inactive <span class=\"count\">(%s)</span>"
234
- msgid_plural "Inactive <span class=\"count\">(%s)</span>"
235
- msgstr[0] ""
236
- msgstr[1] ""
237
-
238
- #: includes/class-list-table.php:279
239
- msgid "Clear List"
240
- msgstr ""
241
-
242
- #: includes/class-list-table.php:374
243
- msgid "You do not appear to have any snippets available at this time. <a href=\"%s\">Add New&rarr;</a>"
244
- msgstr ""
245
-
246
- #: includes/help/import.php:5 includes/help/manage.php:5
247
- #: includes/help/single.php:5
248
- msgid "Overview"
249
- msgstr ""
250
-
251
- #: includes/help/import.php:7
252
- msgid "Snippets are similar to plugins - they both extend and expand the functionality of WordPress. Snippets are more light-weight, just a few lines of code, and do not put as much load on your server. Here you can load snippets from a Code Snippets (.xml) import file into the database with your existing snippets."
253
- msgstr ""
254
-
255
- #: includes/help/import.php:12
256
- msgid "Importing"
257
- msgstr ""
258
-
259
- #: includes/help/import.php:15
260
- msgid "Snippets will be added to the database along with your existing snippets. Regardless of whether the snippets were active on the previous site, imported snippets are always inactive until activated using the <a href=\"%s\">Manage Snippets</a> page.</p>"
261
- msgstr ""
262
-
263
- #: includes/help/import.php:20
264
- msgid "Exporting"
265
- msgstr ""
266
-
267
- #: includes/help/import.php:22
268
- msgid "You can save your snippets to a Code Snippets (.xml) export file using the <a href=\"%s\">Manage Snippets</a> page."
269
- msgstr ""
270
-
271
- #: includes/help/import.php:26 includes/help/manage.php:27
272
- #: includes/help/single.php:31
273
- msgid "For more information:"
274
- msgstr ""
275
-
276
- #: includes/help/import.php:27 includes/help/single.php:32
277
- msgid "<a href=\"http://wordpress.org/plugins/code-snippets\" target=\"_blank\">WordPress Extend</a>"
278
- msgstr ""
279
-
280
- #: includes/help/import.php:28 includes/help/manage.php:29
281
- #: includes/help/single.php:33
282
- msgid "<a href=\"http://wordpress.org/support/plugin/code-snippets\" target=\"_blank\">Support Forums</a>"
283
- msgstr ""
284
-
285
- #: includes/help/manage.php:7
286
- msgid "Snippets are similar to plugins - they both extend and expand the functionality of WordPress. Snippets are more light-weight, just a few lines of code, and do not put as much load on your server. Here you can manage your existing snippets and perform tasks on them such as activating, deactivating, deleting and exporting."
287
- msgstr ""
288
-
289
- #: includes/help/manage.php:12
290
- msgid "Safe Mode"
291
- msgstr ""
292
-
293
- #: includes/help/manage.php:14
294
- msgid "Be sure to check your snippets for errors before you activate them, as a faulty snippet could bring your whole blog down. If your site starts doing strange things, deactivate all your snippets and activate them one at a time."
295
- msgstr ""
296
-
297
- #: includes/help/manage.php:20
298
- msgid "Uninstall"
299
- msgstr ""
300
-
301
- #: includes/help/manage.php:22
302
- msgid "When you delete Code Snippets through the Plugins menu in WordPress it will clear up the <code>%1$s</code> table and a few other bits of data stored in the database. If you want to keep this data (ie: you are only temporally uninstalling Code Snippets) then remove the <code>%2$s</code> folder using FTP."
303
- msgstr ""
304
-
305
- #: includes/help/manage.php:23
306
- msgid "Even if you're sure that you don't want to use Code Snippets ever again on this WordPress installation, you may want to use the export feature to back up your snippets."
307
- msgstr ""
308
-
309
- #: includes/help/manage.php:28
310
- msgid "<a href=\"http://wordpress.org/plugins/code-snippets\" target=\"_blank\">WordPress Extend</a></p>"
311
- msgstr ""
312
-
313
- #: includes/help/single.php:7
314
- msgid "Snippets are similar to plugins - they both extend and expand the functionality of WordPress. Snippets are more light-weight, just a few lines of code, and do not put as much load on your server. Here you can add a new snippet, or edit an existing one."
315
- msgstr ""
316
-
317
- #: includes/help/single.php:11
318
- msgid "Finding Snippets"
319
- msgstr ""
320
-
321
- #: includes/help/single.php:13
322
- msgid ""
323
- "Here are some links to websites which host a large number of snippets that you can add to your site.\n"
324
- "\t\t<ul>\n"
325
- "\t\t\t<li><a href=\"http://wp-snippets.com\" title=\"WordPress Snippets\">WP-Snippets</a></li>\n"
326
- "\t\t\t<li><a href=\"http://wpsnipp.com\" title=\"WP Snipp\">WP Snipp</a></li>\n"
327
- "\t\t\t<li><a href=\"http://www.catswhocode.com/blog/snippets\" title=\"Cats Who Code Snippet Library\">Cats Who Code</a></li>\n"
328
- "\t\t\t<li><a href=\"http://www.wpfunction.me\">WP Function Me</a></li>\n"
329
- "\t\t</ul>"
330
- msgstr ""
331
-
332
- #: includes/help/single.php:24
333
- msgid "Adding Snippets"
334
- msgstr ""
335
-
336
- #: includes/help/single.php:26
337
- msgid "You need to fill out the name and code fields for your snippet to be added. While the description field will add more information about how your snippet works, what is does and where you found it, it is completely optional."
338
- msgstr ""
339
-
340
- #: includes/help/single.php:27
341
- msgid "Please be sure to check that your snippet is valid PHP code and will not produce errors before adding it through this page. While doing so will not become active straight away, it will help to minimise the chance of a faulty snippet becoming active on your site."
342
- msgstr ""
343
-
344
- #: code-snippets.php:0
345
- msgid "http://bungeshea.com/plugins/code-snippets"
346
- msgstr ""
347
-
348
- #: code-snippets.php:263
349
- msgid "Import snippets from a <strong>Code Snippets</strong> export file"
350
- msgstr ""
351
-
352
- #: includes/admin/import.php:20
353
- msgid "Imported <strong>%d</strong> snippet."
354
- msgid_plural "Imported <strong>%d</strong> snippets."
355
- msgstr[0] ""
356
- msgstr[1] ""
357
-
358
- #: includes/help/import.php:29 includes/help/manage.php:30
359
- #: includes/help/single.php:34
360
- msgid "<a href=\"http://bungeshea.com/plugins/code-snippets/\" target=\"_blank\">Project Website</a>"
361
- msgstr ""
362
-
363
- #: includes/help/manage.php:15
364
- msgid "If something goes wrong with a snippet and you can't use WordPress, you can cause all snippets to stop executing by adding <code>define('CODE_SNIPPETS_SAFE_MODE', true);</code> to your <code>wp-config.php</code> file. After you have deactivated the offending snippet, you can turn off safe mode by removing this line or replacing <strong>true</strong> with <strong>false</strong>."
365
- msgstr ""
366
-
367
- #: includes/help/single.php:20
368
- msgid "More places to find snippets, as well as a selection of example snippets, can be found in the <a href=\"https://github.com/sheabunge/code-snippets/wiki/Finding-snippets\">plugin documentation</a>"
369
- msgstr ""
370
-
371
- #: code-snippets.php:0
372
- msgid "1.7"
373
- msgstr ""
374
-
375
- #: code-snippets.php:602 includes/class-list-table.php:142
376
- msgid "Edit"
377
- msgstr ""
378
-
379
- #: code-snippets.php:1227
380
- msgid "Sorry, you're not allowed to edit snippets"
381
- msgstr ""
382
-
383
- #: includes/admin/single.php:24
384
- msgid "Snippet <strong>updated</strong> and <strong>activated</strong>."
385
- msgstr ""
386
-
387
- #: includes/admin/single.php:26
388
- msgid "Snippet <strong>added</strong> and <strong>activated</strong>."
389
- msgstr ""
390
-
391
- #: includes/class-list-table.php:163
392
- msgid ""
393
- "You are about to permanently delete the selected item.\n"
394
- "\t\t\t\t'Cancel' to stop, 'OK' to delete."
395
- msgstr ""
396
-
397
- #: includes/class-list-table.php:270
398
- msgid "Filter"
399
- msgstr ""
400
-
401
- #: includes/class-list-table.php:541
402
- msgid "Search results"
403
- msgstr ""
404
-
405
- #: includes/class-list-table.php:544
406
- msgid " for &#8220;%s&#8221;"
407
- msgstr ""
408
-
409
- #: includes/class-list-table.php:550
410
- msgid "Clear Filters"
411
- msgstr ""
412
-
413
- #: includes/help/import.php:14
414
- msgid "You can load your snippets from a code snippets (.xml) export file using this page."
415
- msgstr ""
416
-
417
- #: includes/admin/single.php:74
418
- msgid "Save Changes &amp; Activate"
419
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/languages/code-snippets.pot DELETED
@@ -1,820 +0,0 @@
1
- # SOME DESCRIPTIVE TITLE.
2
- # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
- # This file is distributed under the same license as the code-snippets package.
4
- # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
- #
6
- #, fuzzy
7
- msgid ""
8
- msgstr ""
9
- "Project-Id-Version: code-snippets 2.8.2\n"
10
- "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2017-02-27 23:06+1100\n"
12
- "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
- "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
- "Language-Team: LANGUAGE <LL@li.org>\n"
15
- "Language: \n"
16
- "MIME-Version: 1.0\n"
17
- "Content-Type: text/plain; charset=CHARSET\n"
18
- "Content-Transfer-Encoding: 8bit\n"
19
- "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
20
-
21
- #: php/admin-menus/class-admin-menu.php:103
22
- msgid "You are not authorized to access this page."
23
- msgstr ""
24
-
25
- #: php/admin-menus/class-edit-menu.php:13
26
- #: php/admin-menus/class-edit-menu.php:14 php/views/edit.php:25
27
- msgid "Edit Snippet"
28
- msgstr ""
29
-
30
- #: php/admin-menus/class-edit-menu.php:39
31
- msgctxt "menu label"
32
- msgid "Add New"
33
- msgstr ""
34
-
35
- #: php/admin-menus/class-edit-menu.php:40 php/views/edit.php:31
36
- msgid "Add New Snippet"
37
- msgstr ""
38
-
39
- #: php/admin-menus/class-edit-menu.php:156
40
- msgid "Don't Panic"
41
- msgstr ""
42
-
43
- #: php/admin-menus/class-edit-menu.php:157
44
- #, php-format
45
- msgid ""
46
- "The code snippet you are trying to save produced a fatal error on line %d:"
47
- msgstr ""
48
-
49
- #: php/admin-menus/class-edit-menu.php:159
50
- msgid ""
51
- "The previous version of the snippet is unchanged, and the rest of this site "
52
- "should be functioning normally as before."
53
- msgstr ""
54
-
55
- #: php/admin-menus/class-edit-menu.php:160
56
- msgid ""
57
- "Please use the back button in your browser to return to the previous page "
58
- "and try to fix the code error."
59
- msgstr ""
60
-
61
- #: php/admin-menus/class-edit-menu.php:161
62
- msgid ""
63
- "If you prefer, you can close this page and discard the changes you just "
64
- "made. No changes will be made to this site."
65
- msgstr ""
66
-
67
- #: php/admin-menus/class-edit-menu.php:281 php/class-list-table.php:324
68
- msgid "Description"
69
- msgstr ""
70
-
71
- #: php/admin-menus/class-edit-menu.php:312 php/class-list-table.php:325
72
- msgid "Tags"
73
- msgstr ""
74
-
75
- #: php/admin-menus/class-edit-menu.php:316
76
- msgid "Enter a list of tags; separated by commas"
77
- msgstr ""
78
-
79
- #: php/admin-menus/class-edit-menu.php:336
80
- msgid "Run snippet everywhere"
81
- msgstr ""
82
-
83
- #: php/admin-menus/class-edit-menu.php:337
84
- msgid "Only run in administration area"
85
- msgstr ""
86
-
87
- #: php/admin-menus/class-edit-menu.php:338
88
- msgid "Only run on site front-end"
89
- msgstr ""
90
-
91
- #: php/admin-menus/class-edit-menu.php:342
92
- msgid "Scope"
93
- msgstr ""
94
-
95
- #: php/admin-menus/class-edit-menu.php:362
96
- msgid "Sharing"
97
- msgstr ""
98
-
99
- #: php/admin-menus/class-edit-menu.php:366
100
- msgid "Allow this snippet to be activated on individual sites on the network"
101
- msgstr ""
102
-
103
- #: php/admin-menus/class-edit-menu.php:426
104
- #, php-format
105
- msgid "The snippet has been deactivated due to an error on line %d:"
106
- msgstr ""
107
-
108
- #: php/admin-menus/class-edit-menu.php:431
109
- msgid "The snippet has been deactivated due to an error in the code."
110
- msgstr ""
111
-
112
- #: php/admin-menus/class-edit-menu.php:438
113
- msgid "An error occurred when saving the snippet."
114
- msgstr ""
115
-
116
- #: php/admin-menus/class-edit-menu.php:443
117
- msgid "Snippet <strong>added</strong>."
118
- msgstr ""
119
-
120
- #: php/admin-menus/class-edit-menu.php:444
121
- msgid "Snippet <strong>updated</strong>."
122
- msgstr ""
123
-
124
- #: php/admin-menus/class-edit-menu.php:445
125
- msgid "Snippet <strong>added</strong> and <strong>activated</strong>."
126
- msgstr ""
127
-
128
- #: php/admin-menus/class-edit-menu.php:446
129
- msgid "Snippet <strong>updated</strong> and <strong>activated</strong>."
130
- msgstr ""
131
-
132
- #: php/admin-menus/class-edit-menu.php:447
133
- msgid "Snippet <strong>updated</strong> and <strong>deactivated</strong>."
134
- msgstr ""
135
-
136
- #: php/admin-menus/class-import-menu.php:15
137
- msgctxt "menu label"
138
- msgid "Import"
139
- msgstr ""
140
-
141
- #: php/admin-menus/class-import-menu.php:16 php/views/import.php:17
142
- msgid "Import Snippets"
143
- msgstr ""
144
-
145
- #: php/admin-menus/class-import-menu.php:84
146
- msgid "Code Snippets"
147
- msgstr ""
148
-
149
- #: php/admin-menus/class-import-menu.php:85
150
- msgid "Import snippets from a code snippets export file"
151
- msgstr ""
152
-
153
- #: php/admin-menus/class-import-menu.php:99
154
- #, php-format
155
- msgid ""
156
- "Successfully imported <strong>%d</strong> snippet. <a href=\"%s\">Have fun!</"
157
- "a>"
158
- msgid_plural ""
159
- "Successfully imported <strong>%d</strong> snippets. <a href=\"%s\">Have fun!"
160
- "</a>"
161
- msgstr[0] ""
162
- msgstr[1] ""
163
-
164
- #: php/admin-menus/class-import-menu.php:112
165
- msgid "An error occurred when processing the import file."
166
- msgstr ""
167
-
168
- #: php/admin-menus/class-manage-menu.php:22
169
- msgctxt "menu label"
170
- msgid "All Snippets"
171
- msgstr ""
172
-
173
- #: php/admin-menus/class-manage-menu.php:23
174
- #: php/admin-menus/class-manage-menu.php:45 php/class-admin.php:61
175
- #: php/class-admin.php:144 php/views/manage.php:19
176
- msgid "Snippets"
177
- msgstr ""
178
-
179
- #: php/admin-menus/class-manage-menu.php:46
180
- msgctxt "top-level menu label"
181
- msgid "Snippets"
182
- msgstr ""
183
-
184
- #: php/admin-menus/class-manage-menu.php:81
185
- msgid ""
186
- "<strong>Warning:</strong> Safe mode is active and snippets will not execute! "
187
- "Remove the <code>CODE_SNIPPETS_SAFE_MODE</code> constant from <code>wp-"
188
- "config.php</code> to turn off safe mode. <a href=\"https://github.com/"
189
- "sheabunge/code-snippets/wiki/Safe-Mode\" target=\"_blank\">Help</a>"
190
- msgstr ""
191
-
192
- #: php/admin-menus/class-manage-menu.php:87
193
- msgid "Snippet <strong>activated</strong>."
194
- msgstr ""
195
-
196
- #: php/admin-menus/class-manage-menu.php:88
197
- msgid "Selected snippets <strong>activated</strong>."
198
- msgstr ""
199
-
200
- #: php/admin-menus/class-manage-menu.php:89
201
- msgid "Snippet <strong>deactivated</strong>."
202
- msgstr ""
203
-
204
- #: php/admin-menus/class-manage-menu.php:90
205
- msgid "Selected snippets <strong>deactivated</strong>."
206
- msgstr ""
207
-
208
- #: php/admin-menus/class-manage-menu.php:91
209
- msgid "Snippet <strong>deleted</strong>."
210
- msgstr ""
211
-
212
- #: php/admin-menus/class-manage-menu.php:92
213
- msgid "Selected snippets <strong>deleted</strong>."
214
- msgstr ""
215
-
216
- #: php/admin-menus/class-settings-menu.php:16
217
- msgctxt "menu label"
218
- msgid "Settings"
219
- msgstr ""
220
-
221
- #: php/admin-menus/class-settings-menu.php:17
222
- msgid "Snippets Settings"
223
- msgstr ""
224
-
225
- #: php/admin-menus/class-settings-menu.php:39 php/views/edit.php:135
226
- msgid "Settings"
227
- msgstr ""
228
-
229
- #: php/class-admin.php:143
230
- msgid "Manage your existing snippets"
231
- msgstr ""
232
-
233
- #: php/class-admin.php:174
234
- msgid "Visit the WordPress.org plugin page"
235
- msgstr ""
236
-
237
- #: php/class-admin.php:175
238
- msgid "About"
239
- msgstr ""
240
-
241
- #: php/class-admin.php:179
242
- msgid "Visit the support forums"
243
- msgstr ""
244
-
245
- #: php/class-admin.php:180
246
- msgid "Support"
247
- msgstr ""
248
-
249
- #: php/class-admin.php:184
250
- msgid "Support this plugin's development"
251
- msgstr ""
252
-
253
- #: php/class-admin.php:185
254
- msgid "Donate"
255
- msgstr ""
256
-
257
- #: php/class-admin.php:216
258
- msgid ""
259
- "<strong>Have feedback on Code Snippets?</strong> Please take the time to "
260
- "answer a short survey on how you use this plugin and what you'd like to see "
261
- "changed or added in the future."
262
- msgstr ""
263
-
264
- #: php/class-admin.php:220
265
- msgid "Take the survey now"
266
- msgstr ""
267
-
268
- #: php/class-admin.php:223
269
- msgid "Dismiss"
270
- msgstr ""
271
-
272
- #: php/class-contextual-help.php:40
273
- msgid "For more information:"
274
- msgstr ""
275
-
276
- #: php/class-contextual-help.php:41
277
- msgid "About Plugin"
278
- msgstr ""
279
-
280
- #: php/class-contextual-help.php:42
281
- msgid "FAQ"
282
- msgstr ""
283
-
284
- #: php/class-contextual-help.php:43
285
- msgid "Support Forums"
286
- msgstr ""
287
-
288
- #: php/class-contextual-help.php:44
289
- msgid "Plugin Website"
290
- msgstr ""
291
-
292
- #: php/class-contextual-help.php:55 php/class-contextual-help.php:81
293
- #: php/class-contextual-help.php:114
294
- msgid "Overview"
295
- msgstr ""
296
-
297
- #: php/class-contextual-help.php:56
298
- msgid ""
299
- "Snippets are similar to plugins - they both extend and expand the "
300
- "functionality of WordPress. Snippets are more light-weight, just a few lines "
301
- "of code, and do not put as much load on your server. Here you can manage "
302
- "your existing snippets and perform tasks on them such as activating, "
303
- "deactivating, deleting and exporting."
304
- msgstr ""
305
-
306
- #: php/class-contextual-help.php:61
307
- msgid "Safe Mode"
308
- msgstr ""
309
-
310
- #: php/class-contextual-help.php:62
311
- msgid ""
312
- "Be sure to check your snippets for errors before you activate them, as a "
313
- "faulty snippet could bring your whole blog down. If your site starts doing "
314
- "strange things, deactivate all your snippets and activate them one at a time."
315
- msgstr ""
316
-
317
- #: php/class-contextual-help.php:63
318
- msgid ""
319
- "If something goes wrong with a snippet and you can't use WordPress, you can "
320
- "cause all snippets to stop executing by adding "
321
- "<code>define('CODE_SNIPPETS_SAFE_MODE', true);</code> to your <code>wp-"
322
- "config.php</code> file. After you have deactivated the offending snippet, "
323
- "you can turn off safe mode by removing this line or replacing <strong>true</"
324
- "strong> with <strong>false</strong>."
325
- msgstr ""
326
-
327
- #: php/class-contextual-help.php:68
328
- msgid "Uninstall"
329
- msgstr ""
330
-
331
- #: php/class-contextual-help.php:69
332
- #, php-format
333
- msgid ""
334
- "When you delete Code Snippets through the Plugins menu in WordPress it will "
335
- "clear up the <code>%1$s</code> table and a few other bits of data stored in "
336
- "the database. If you want to keep this data (ie: you are only temporally "
337
- "uninstalling Code Snippets) then remove the <code>%2$s</code> folder using "
338
- "FTP."
339
- msgstr ""
340
-
341
- #: php/class-contextual-help.php:70
342
- msgid ""
343
- "Even if you're sure that you don't want to use Code Snippets ever again on "
344
- "this WordPress installation, you may want to use the export feature to back "
345
- "up your snippets."
346
- msgstr ""
347
-
348
- #: php/class-contextual-help.php:82
349
- msgid ""
350
- "Snippets are similar to plugins - they both extend and expand the "
351
- "functionality of WordPress. Snippets are more light-weight, just a few lines "
352
- "of code, and do not put as much load on your server. Here you can add a new "
353
- "snippet, or edit an existing one."
354
- msgstr ""
355
-
356
- #: php/class-contextual-help.php:87
357
- msgid "Finding Snippets"
358
- msgstr ""
359
-
360
- #: php/class-contextual-help.php:88
361
- msgid ""
362
- "Here are some links to websites which host a large number of snippets that "
363
- "you can add to your site.\n"
364
- "\t\t\t\t<ul>\n"
365
- "\t\t\t\t\t<li><a href=\"http://wp-snippets.com\" title=\"WordPress Snippets"
366
- "\">WP-Snippets</a></li>\n"
367
- "\t\t\t\t\t<li><a href=\"http://wpsnipp.com\" title=\"WP Snipp\">WP Snipp</"
368
- "a></li>\n"
369
- "\t\t\t\t\t<li><a href=\"http://www.catswhocode.com/blog/snippets\" title="
370
- "\"Cats Who Code Snippet Library\">Cats Who Code</a></li>\n"
371
- "\t\t\t\t\t<li><a href=\"http://www.wpfunction.me\">WP Function Me</a></li>\n"
372
- "\t\t\t\t</ul>"
373
- msgstr ""
374
-
375
- #: php/class-contextual-help.php:95
376
- msgid ""
377
- "More places to find snippets, as well as a selection of example snippets, "
378
- "can be found in the <a href=\"https://github.com/sheabunge/code-snippets/"
379
- "wiki/Finding-snippets\">plugin documentation</a>"
380
- msgstr ""
381
-
382
- #: php/class-contextual-help.php:100
383
- msgid "Adding Snippets"
384
- msgstr ""
385
-
386
- #: php/class-contextual-help.php:101
387
- msgid ""
388
- "You need to fill out the name and code fields for your snippet to be added. "
389
- "While the description field will add more information about how your snippet "
390
- "works, what is does and where you found it, it is completely optional."
391
- msgstr ""
392
-
393
- #: php/class-contextual-help.php:102
394
- msgid ""
395
- "Please be sure to check that your snippet is valid PHP code and will not "
396
- "produce errors before adding it through this page. While doing so will not "
397
- "become active straight away, it will help to minimise the chance of a faulty "
398
- "snippet becoming active on your site."
399
- msgstr ""
400
-
401
- #: php/class-contextual-help.php:115
402
- msgid ""
403
- "Snippets are similar to plugins - they both extend and expand the "
404
- "functionality of WordPress. Snippets are more light-weight, just a few lines "
405
- "of code, and do not put as much load on your server. Here you can load "
406
- "snippets from a Code Snippets (.xml) import file into the database with your "
407
- "existing snippets."
408
- msgstr ""
409
-
410
- #: php/class-contextual-help.php:120
411
- msgid "Importing"
412
- msgstr ""
413
-
414
- #: php/class-contextual-help.php:121
415
- msgid ""
416
- "You can load your snippets from a code snippets (.xml) export file using "
417
- "this page."
418
- msgstr ""
419
-
420
- #: php/class-contextual-help.php:122
421
- #, php-format
422
- msgid ""
423
- "Snippets will be added to the database along with your existing snippets. "
424
- "Regardless of whether the snippets were active on the previous site, "
425
- "imported snippets are always inactive until activated using the <a href=\"%s"
426
- "\">All Snippets</a> page.</p>"
427
- msgstr ""
428
-
429
- #: php/class-contextual-help.php:127
430
- msgid "Exporting"
431
- msgstr ""
432
-
433
- #: php/class-contextual-help.php:128
434
- #, php-format
435
- msgid ""
436
- "You can save your snippets to a Code Snippets (.xml) export file using the "
437
- "<a href=\"%s\">Manage Snippets</a> page."
438
- msgstr ""
439
-
440
- #: php/class-export.php:87
441
- msgid ""
442
- "This is a code snippets export file generated by the Code Snippets WordPress "
443
- "plugin."
444
- msgstr ""
445
-
446
- #: php/class-export.php:89
447
- msgid "To import these snippets a WordPress site follow these steps:"
448
- msgstr ""
449
-
450
- #: php/class-export.php:90
451
- msgid "1. Log in to that site as an administrator."
452
- msgstr ""
453
-
454
- #: php/class-export.php:91
455
- msgid ""
456
- "2. Install the Code Snippets plugin using the directions provided at the "
457
- "above link."
458
- msgstr ""
459
-
460
- #: php/class-export.php:92
461
- msgid "3. Go to 'Tools: Import' in the WordPress admin panel."
462
- msgstr ""
463
-
464
- #: php/class-export.php:93
465
- msgid "4. Click on the \"Code Snippets\" importer in the list"
466
- msgstr ""
467
-
468
- #: php/class-export.php:94
469
- msgid "5. Upload this file using the form provided on that page."
470
- msgstr ""
471
-
472
- #: php/class-export.php:95
473
- msgid ""
474
- "6. Code Snippets will then import all of the snippets and associated "
475
- "information contained in this file into your site."
476
- msgstr ""
477
-
478
- #: php/class-export.php:96
479
- msgid ""
480
- "7. You will then have to visit the 'Snippets: All Snippets' admin menu and "
481
- "activate desired snippets."
482
- msgstr ""
483
-
484
- #: php/class-list-table.php:58
485
- msgid "Snippets per page"
486
- msgstr ""
487
-
488
- #: php/class-list-table.php:117 php/class-list-table.php:370
489
- msgid "Network Deactivate"
490
- msgstr ""
491
-
492
- #: php/class-list-table.php:117 php/class-list-table.php:180
493
- #: php/class-list-table.php:370
494
- msgid "Deactivate"
495
- msgstr ""
496
-
497
- #: php/class-list-table.php:126 php/class-list-table.php:369
498
- msgid "Network Activate"
499
- msgstr ""
500
-
501
- #: php/class-list-table.php:126 php/class-list-table.php:180
502
- #: php/class-list-table.php:369
503
- msgid "Activate"
504
- msgstr ""
505
-
506
- #: php/class-list-table.php:136 php/class-list-table.php:196
507
- msgid "Edit"
508
- msgstr ""
509
-
510
- #: php/class-list-table.php:142 php/class-list-table.php:202
511
- #: php/class-list-table.php:371 php/views/edit.php:111
512
- msgid "Export"
513
- msgstr ""
514
-
515
- #: php/class-list-table.php:151 php/class-list-table.php:214
516
- #: php/class-list-table.php:372 php/views/edit.php:124
517
- msgid "Delete"
518
- msgstr ""
519
-
520
- #: php/class-list-table.php:158 php/class-list-table.php:224
521
- msgid "You are about to permanently delete the selected item."
522
- msgstr ""
523
-
524
- #: php/class-list-table.php:159 php/class-list-table.php:225
525
- #: php/views/edit.php:119
526
- msgid "'Cancel' to stop, 'OK' to delete."
527
- msgstr ""
528
-
529
- #: php/class-list-table.php:244
530
- #, php-format
531
- msgid "Untitled #%d"
532
- msgstr ""
533
-
534
- #: php/class-list-table.php:261
535
- msgid "Shared on Network"
536
- msgstr ""
537
-
538
- #: php/class-list-table.php:322 php/views/edit.php:48
539
- msgid "Name"
540
- msgstr ""
541
-
542
- #: php/class-list-table.php:323
543
- msgid "ID"
544
- msgstr ""
545
-
546
- #: php/class-list-table.php:373
547
- msgid "Export to PHP"
548
- msgstr ""
549
-
550
- #: php/class-list-table.php:411
551
- #, php-format
552
- msgid "All <span class=\"count\">(%s)</span>"
553
- msgid_plural "All <span class=\"count\">(%s)</span>"
554
- msgstr[0] ""
555
- msgstr[1] ""
556
-
557
- #: php/class-list-table.php:412
558
- #, php-format
559
- msgid "Active <span class=\"count\">(%s)</span>"
560
- msgid_plural "Active <span class=\"count\">(%s)</span>"
561
- msgstr[0] ""
562
- msgstr[1] ""
563
-
564
- #: php/class-list-table.php:413
565
- #, php-format
566
- msgid "Inactive <span class=\"count\">(%s)</span>"
567
- msgid_plural "Inactive <span class=\"count\">(%s)</span>"
568
- msgstr[0] ""
569
- msgstr[1] ""
570
-
571
- #: php/class-list-table.php:414
572
- #, php-format
573
- msgid "Recently Active <span class=\"count\">(%s)</span>"
574
- msgid_plural "Recently Active <span class=\"count\">(%s)</span>"
575
- msgstr[0] ""
576
- msgstr[1] ""
577
-
578
- #: php/class-list-table.php:477
579
- msgid "Show all tags"
580
- msgstr ""
581
-
582
- #: php/class-list-table.php:491
583
- msgid "Filter"
584
- msgstr ""
585
-
586
- #: php/class-list-table.php:499
587
- msgid "Clear List"
588
- msgstr ""
589
-
590
- #: php/class-list-table.php:686
591
- #, php-format
592
- msgid ""
593
- "You do not appear to have any snippets available at this time. <a href=\"%s"
594
- "\">Add New&rarr;</a>"
595
- msgstr ""
596
-
597
- #: php/class-list-table.php:959
598
- msgid "Search results"
599
- msgstr ""
600
-
601
- #: php/class-list-table.php:962
602
- #, php-format
603
- msgid " for &#8220;%s&#8221;"
604
- msgstr ""
605
-
606
- #: php/class-list-table.php:966
607
- #, php-format
608
- msgid " in tag &#8220;%s&#8221;"
609
- msgstr ""
610
-
611
- #: php/class-list-table.php:974
612
- msgid "Clear Filters"
613
- msgstr ""
614
-
615
- #: php/settings/settings-fields.php:42
616
- msgid "Activate by Default"
617
- msgstr ""
618
-
619
- #: php/settings/settings-fields.php:44
620
- msgid ""
621
- "Make the 'Save and Activate' button the default action when saving a snippet."
622
- msgstr ""
623
-
624
- #: php/settings/settings-fields.php:49
625
- msgid "Enable Scope Selector"
626
- msgstr ""
627
-
628
- #: php/settings/settings-fields.php:51
629
- msgid "Enable the scope selector when editing a snippet"
630
- msgstr ""
631
-
632
- #: php/settings/settings-fields.php:56
633
- msgid "Enable Snippet Tags"
634
- msgstr ""
635
-
636
- #: php/settings/settings-fields.php:58
637
- msgid "Show snippet tags on admin pages"
638
- msgstr ""
639
-
640
- #: php/settings/settings-fields.php:63
641
- msgid "Enable Snippet Descriptions"
642
- msgstr ""
643
-
644
- #: php/settings/settings-fields.php:65
645
- msgid "Show snippet descriptions on admin pages"
646
- msgstr ""
647
-
648
- #: php/settings/settings-fields.php:69
649
- msgid "Disable shortcode syntax highlighter"
650
- msgstr ""
651
-
652
- #: php/settings/settings-fields.php:71
653
- msgid ""
654
- "Disable the syntax highlighting for the [code_snippet] shortcode on the "
655
- "front-end"
656
- msgstr ""
657
-
658
- #: php/settings/settings-fields.php:80
659
- msgid "Row Height"
660
- msgstr ""
661
-
662
- #: php/settings/settings-fields.php:82
663
- msgid "rows"
664
- msgstr ""
665
-
666
- #: php/settings/settings-fields.php:88
667
- msgid "Use Full Editor"
668
- msgstr ""
669
-
670
- #: php/settings/settings-fields.php:90
671
- msgid "Enable all features of the visual editor"
672
- msgstr ""
673
-
674
- #: php/settings/settings-fields.php:95
675
- msgid "Media Buttons"
676
- msgstr ""
677
-
678
- #: php/settings/settings-fields.php:97
679
- msgid "Enable the add media buttons"
680
- msgstr ""
681
-
682
- #: php/settings/settings-fields.php:106
683
- msgid "Theme"
684
- msgstr ""
685
-
686
- #: php/settings/settings-fields.php:113
687
- msgid "Indent With Tabs"
688
- msgstr ""
689
-
690
- #: php/settings/settings-fields.php:115
691
- msgid "Use hard tabs (not spaces) for indentation."
692
- msgstr ""
693
-
694
- #: php/settings/settings-fields.php:121
695
- msgid "Tab Size"
696
- msgstr ""
697
-
698
- #: php/settings/settings-fields.php:123
699
- msgid "The width of a tab character."
700
- msgstr ""
701
-
702
- #: php/settings/settings-fields.php:130
703
- msgid "Indent Unit"
704
- msgstr ""
705
-
706
- #: php/settings/settings-fields.php:132
707
- msgid "How many spaces a block should be indented."
708
- msgstr ""
709
-
710
- #: php/settings/settings-fields.php:139
711
- msgid "Wrap Lines"
712
- msgstr ""
713
-
714
- #: php/settings/settings-fields.php:141
715
- msgid "Whether the editor should scroll or wrap for long lines."
716
- msgstr ""
717
-
718
- #: php/settings/settings-fields.php:147
719
- msgid "Line Numbers"
720
- msgstr ""
721
-
722
- #: php/settings/settings-fields.php:149
723
- msgid "Show line numbers to the left of the editor."
724
- msgstr ""
725
-
726
- #: php/settings/settings-fields.php:155
727
- msgid "Auto Close Brackets"
728
- msgstr ""
729
-
730
- #: php/settings/settings-fields.php:157
731
- msgid "Auto-close brackets and quotes when typed."
732
- msgstr ""
733
-
734
- #: php/settings/settings-fields.php:163
735
- msgid "Highlight Selection Matches"
736
- msgstr ""
737
-
738
- #: php/settings/settings-fields.php:164
739
- msgid "Highlight all instances of a currently selected word."
740
- msgstr ""
741
-
742
- #: php/settings/settings.php:68
743
- msgid "General"
744
- msgstr ""
745
-
746
- #: php/settings/settings.php:69
747
- msgid "Description Editor"
748
- msgstr ""
749
-
750
- #: php/settings/settings.php:70
751
- msgid "Code Editor"
752
- msgstr ""
753
-
754
- #: php/settings/settings.php:119
755
- msgid "Editor Preview"
756
- msgstr ""
757
-
758
- #: php/settings/settings.php:176
759
- msgid "Settings saved."
760
- msgstr ""
761
-
762
- #: php