CodeMirror.defineMode("clike",function(g,c){function e(a,d){var b=a.next();if(k[b]){var e=k[b](a,d);if(!1!==e)return e}if('"'==b||"'"==b)return d.tokenize=function(a,d){for(var f=!1,h,e=!1;null!=(h=a.next());){if(h==b&&!f){e=!0;break}f=!f&&"\\"==h}if(e||!f&&!u)d.tokenize=null;return"string"},d.tokenize(a,d);if(/[\[\]{}\(\),;\:\.]/.test(b))return f=b,null;if(/\d/.test(b))return a.eatWhile(/[\w\.]/),"number";if("/"==b){if(a.eat("*"))return d.tokenize=j,j(a,d);if(a.eat("/"))return a.skipToEnd(),"comment"}if(l.test(b))return a.eatWhile(l),
"operator";a.eatWhile(/[\w\$_]/);e=a.current();return v.propertyIsEnumerable(e)?(h.propertyIsEnumerable(e)&&(f="newstatement"),"keyword"):t.propertyIsEnumerable(e)?(h.propertyIsEnumerable(e)&&(f="newstatement"),"builtin"):m.propertyIsEnumerable(e)?"atom":"variable"}function j(a,d){for(var f=!1,b;b=a.next();){if("/"==b&&f){d.tokenize=null;break}f="*"==b}return"comment"}function n(a,d,f,b,h){this.indented=a;this.column=d;this.type=f;this.align=b;this.prev=h}function q(a,d,f){var b=a.indented;a.context&&
"statement"==a.context.type&&(b=a.context.indented);return a.context=new n(b,d,f,null,a.context)}function b(a){var d=a.context.type;if(")"==d||"]"==d||"}"==d)a.indented=a.context.indented;return a.context=a.context.prev}var d=g.indentUnit,a=c.statementIndentUnit||d,x=c.dontAlignCalls,v=c.keywords||{},t=c.builtin||{},h=c.blockKeywords||{},m=c.atoms||{},k=c.hooks||{},u=c.multiLineStrings,l=/[+\-*&%=<>!?|\/]/,f;return{startState:function(a){return{tokenize:null,context:new n((a||0)-d,0,"top",!1),indented:0,
startOfLine:!0}},token:function(a,d){var h=d.context;a.sol()&&(null==h.align&&(h.align=!1),d.indented=a.indentation(),d.startOfLine=!0);if(a.eatSpace())return null;f=null;var l=(d.tokenize||e)(a,d);if("comment"==l||"meta"==l)return l;null==h.align&&(h.align=!0);if((";"==f||":"==f||","==f)&&"statement"==h.type)b(d);else if("{"==f)q(d,a.column(),"}");else if("["==f)q(d,a.column(),"]");else if("("==f)q(d,a.column(),")");else if("}"==f){for(;"statement"==h.type;)h=b(d);for("}"==h.type&&(h=b(d));"statement"==
h.type;)h=b(d)}else f==h.type?b(d):(("}"==h.type||"top"==h.type)&&";"!=f||"statement"==h.type&&"newstatement"==f)&&q(d,a.column(),"statement");d.startOfLine=!1;return l},indent:function(f,h){if(f.tokenize!=e&&null!=f.tokenize)return CodeMirror.Pass;var b=f.context,l=h&&h.charAt(0);"statement"==b.type&&"}"==l&&(b=b.prev);var m=l==b.type;return"statement"==b.type?b.indented+("{"==l?0:a):b.align&&(!x||")"!=b.type)?b.column+(m?0:1):")"==b.type&&!m?b.indented+a:b.indented+(m?0:d)},electricChars:"{}",blockCommentStart:"/*",
blockCommentEnd:"*/",lineComment:"//"}});
(function(){function g(e){var c={};e=e.split(" ");for(var b=0;b<e.length;++b)c[e[b]]=!0;return c}function c(e,j){if(!j.startOfLine)return!1;for(;;)if(e.skipTo("\\")){if(e.next(),e.eol()){j.tokenize=c;break}}else{e.skipToEnd();j.tokenize=null;break}return"meta"}function e(e,c){for(var b;null!=(b=e.next());)if('"'==b&&!e.eat('"')){c.tokenize=null;break}return"string"}function j(e,c){for(var b=0;b<e.length;++b)CodeMirror.defineMIME(e[b],c)}j(["text/x-csrc","text/x-c","text/x-chdr"],{name:"clike",keywords:g("auto if break int case long char register continue return default short do sizeof double static else struct entry switch extern typedef float union for unsigned goto while enum void const signed volatile"),
blockKeywords:g("case do else for if switch while struct"),atoms:g("null"),hooks:{"#":c}});j(["text/x-c++src","text/x-c++hdr"],{name:"clike",keywords:g("auto if break int case long char register continue return default short do sizeof double static else struct entry switch extern typedef float union for unsigned goto while enum void const signed volatile asm dynamic_cast namespace reinterpret_cast try bool explicit new static_cast typeid catch operator template typename class friend private this using const_cast inline public throw virtual delete mutable protected wchar_t"),
blockKeywords:g("catch class do else finally for if struct switch try while"),atoms:g("true false null"),hooks:{"#":c}});CodeMirror.defineMIME("text/x-java",{name:"clike",keywords:g("abstract assert boolean break byte case catch char class const continue default do double else enum extends final finally float for goto if implements import instanceof int interface long native new package private protected public return short static strictfp super switch synchronized this throw throws transient try void volatile while"),
blockKeywords:g("catch class do else finally for if switch try while"),atoms:g("true false null"),hooks:{"@":function(e){e.eatWhile(/[\w\$_]/);return"meta"}}});CodeMirror.defineMIME("text/x-csharp",{name:"clike",keywords:g("abstract as base break case catch checked class const continue default delegate do else enum event explicit extern finally fixed for foreach goto if implicit in interface internal is lock namespace new operator out override params private protected public readonly ref return sealed sizeof stackalloc static struct switch this throw try typeof unchecked unsafe using virtual void volatile while add alias ascending descending dynamic from get global group into join let orderby partial remove select set value var yield"),
blockKeywords:g("catch class do else finally for foreach if struct switch try while"),builtin:g("Boolean Byte Char DateTime DateTimeOffset Decimal Double Guid Int16 Int32 Int64 Object SByte Single String TimeSpan UInt16 UInt32 UInt64 bool byte char decimal double short int long object sbyte float string ushort uint ulong"),atoms:g("true false null"),hooks:{"@":function(c,j){if(c.eat('"'))return j.tokenize=e,e(c,j);c.eatWhile(/[\w\$_]/);return"meta"}}});CodeMirror.defineMIME("text/x-scala",{name:"clike",
keywords:g("abstract case catch class def do else extends false final finally for forSome if implicit import lazy match new null object override package private protected return sealed super this throw trait try trye type val var while with yield _ : = => <- <: <% >: # @ assert assume require print println printf readLine readBoolean readByte readShort readChar readInt readLong readFloat readDouble AnyVal App Application Array BufferedIterator BigDecimal BigInt Char Console Either Enumeration Equiv Error Exception Fractional Function IndexedSeq Integral Iterable Iterator List Map Numeric Nil NotNull Option Ordered Ordering PartialFunction PartialOrdering Product Proxy Range Responder Seq Serializable Set Specializable Stream StringBuilder StringContext Symbol Throwable Traversable TraversableOnce Tuple Unit Vector :: #:: Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void"),
blockKeywords:g("catch class do else finally for forSome if match switch try while"),atoms:g("true false null"),hooks:{"@":function(e){e.eatWhile(/[\w\$_]/);return"meta"}}})})();CodeMirror.defineMode("css",function(g){return CodeMirror.getMode(g,"text/css")});
CodeMirror.defineMode("css-base",function(g,c){function e(a,d){k=d;return a}function j(a,b){var f=a.next();if(d[f]){var h=d[f](a,b);if(!1!==h)return h}if("@"==f)return a.eatWhile(/[\w\\\-]/),e("def",a.current());if("="==f)e(null,"compare");else{if(("~"==f||"|"==f)&&a.eat("="))return e(null,"compare");if('"'==f||"'"==f)return b.tokenize=n(f),b.tokenize(a,b);if("#"==f)return a.eatWhile(/[\w\\\-]/),e("atom","hash");if("!"==f)return a.match(/^\s*\w*/),e("keyword","important");if(/\d/.test(f))return a.eatWhile(/[\w.%]/),
e("number","unit");if("-"===f){if(/\d/.test(a.peek()))return a.eatWhile(/[\w.%]/),e("number","unit");if(a.match(/^[^-]+-/))return e("meta","meta")}else{if(/[,+>*\/]/.test(f))return e(null,"select-op");if("."==f&&a.match(/^-?[_a-z][_a-z0-9-]*/i))return e("qualifier","qualifier");if(":"==f)return e("operator",f);if(/[;{}\[\]\(\)]/.test(f))return e(null,f);"u"==f&&a.match("rl(")?(a.backUp(1),b.tokenize=q):a.eatWhile(/[\w\\\-]/);return e("property","variable")}}}function n(a,d){return function(b,h){for(var m=
!1,c;null!=(c=b.next())&&(c!=a||m);)m=!m&&"\\"==c;m||(d&&b.backUp(1),h.tokenize=j);return e("string","string")}}function q(a,d){a.next();d.tokenize=a.match(/\s*[\"\']/,!1)?j:n(")",!0);return e(null,"(")}var b=g.indentUnit,d=c.hooks||{},a=c.atMediaTypes||{},x=c.atMediaFeatures||{},v=c.propertyKeywords||{},t=c.colorKeywords||{},h=c.valueKeywords||{},m=!!c.allowNested,k=null;return{startState:function(a){return{tokenize:j,baseIndent:a||0,stack:[]}},token:function(d,b){b.tokenize=b.tokenize||j;if(b.tokenize==
j&&d.eatSpace())return null;var f=b.tokenize(d,b);f&&"string"!=typeof f&&(f=e(f[0],f[1]));var c=b.stack[b.stack.length-1];if("variable"==f)return"variable-definition"==k&&b.stack.push("propertyValue"),"variable-2";if("property"==f){var g=d.current().toLowerCase();"propertyValue"==c?f=h.hasOwnProperty(g)?"string-2":t.hasOwnProperty(g)?"keyword":"variable-2":"rule"==c?v.hasOwnProperty(g)||(f+=" error"):"block"==c?f=v.hasOwnProperty(g)?"property":t.hasOwnProperty(g)?"keyword":h.hasOwnProperty(g)?"string-2":
"tag":!c||"@media{"==c?f="tag":"@media"==c?f=a[d.current()]?"attribute":/^(only|not)$/.test(g)?"keyword":"and"==g?"error":x.hasOwnProperty(g)?"error":"attribute error":"@mediaType"==c?a.hasOwnProperty(g)?f="attribute":"and"==g?f="operator":(/^(only|not)$/.test(g),f="error"):"@mediaType("==c?v.hasOwnProperty(g)||(f=a.hasOwnProperty(g)?"error":"and"==g?"operator":/^(only|not)$/.test(g)?"error":f+" error"):f="@import"==c?"tag":"error"}else"atom"==f?!c||"@media{"==c||"block"==c?f="builtin":"propertyValue"==
c?/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(d.current())||(f+=" error"):f="error":"@media"==c&&"{"==k&&(f="error");"{"==k?"@media"==c||"@mediaType"==c?(b.stack.pop(),b.stack[b.stack.length-1]="@media{"):b.stack.push(m?"block":"rule"):"}"==k?("interpolation"==b.stack[b.stack.length-1]&&(f="operator"),b.stack.pop(),"propertyValue"==c&&b.stack.pop()):"interpolation"==k?b.stack.push("interpolation"):"@media"==k?b.stack.push("@media"):"@import"==k?b.stack.push("@import"):"@media"==c&&/\b(keyword|attribute)\b/.test(f)?
b.stack.push("@mediaType"):"@mediaType"==c&&","==d.current()?b.stack.pop():"@mediaType"==c&&"("==k?b.stack.push("@mediaType("):"@mediaType("==c&&")"==k?b.stack.pop():("rule"==c||"block"==c)&&":"==k?b.stack.push("propertyValue"):"propertyValue"==c&&";"==k?b.stack.pop():"@import"==c&&";"==k&&b.stack.pop();return f},indent:function(a,d){var f=a.stack.length;/^\}/.test(d)&&(f-="propertyValue"==a.stack[a.stack.length-1]?2:1);return a.baseIndent+f*b},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/"}});
(function(){function g(d){for(var a={},b=0;b<d.length;++b)a[d[b]]=!0;return a}function c(b,a){for(var e=!1,c;null!=(c=b.next());){if(e&&"/"==c){a.tokenize=null;break}e="*"==c}return["comment","comment"]}var e=g("all aural braille handheld print projection screen tty tv embossed".split(" ")),j=g("width min-width max-width height min-height max-height device-width min-device-width max-device-width device-height min-device-height max-device-height aspect-ratio min-aspect-ratio max-aspect-ratio device-aspect-ratio min-device-aspect-ratio max-device-aspect-ratio color min-color max-color color-index min-color-index max-color-index monochrome min-monochrome max-monochrome resolution min-resolution max-resolution scan grid".split(" ")),
n=g("align-content align-items align-self alignment-adjust alignment-baseline anchor-point animation animation-delay animation-direction animation-duration animation-iteration-count animation-name animation-play-state animation-timing-function appearance azimuth backface-visibility background background-attachment background-clip background-color background-image background-origin background-position background-repeat background-size baseline-shift binding bleed bookmark-label bookmark-level bookmark-state bookmark-target border border-bottom border-bottom-color border-bottom-left-radius border-bottom-right-radius border-bottom-style border-bottom-width border-collapse border-color border-image border-image-outset border-image-repeat border-image-slice border-image-source border-image-width border-left border-left-color border-left-style border-left-width border-radius border-right border-right-color border-right-style border-right-width border-spacing border-style border-top border-top-color border-top-left-radius border-top-right-radius border-top-style border-top-width border-width bottom box-decoration-break box-shadow box-sizing break-after break-before break-inside caption-side clear clip color color-profile column-count column-fill column-gap column-rule column-rule-color column-rule-style column-rule-width column-span column-width columns content counter-increment counter-reset crop cue cue-after cue-before cursor direction display dominant-baseline drop-initial-after-adjust drop-initial-after-align drop-initial-before-adjust drop-initial-before-align drop-initial-size drop-initial-value elevation empty-cells fit fit-position flex flex-basis flex-direction flex-flow flex-grow flex-shrink flex-wrap float float-offset font font-feature-settings font-family font-kerning font-language-override font-size font-size-adjust font-stretch font-style font-synthesis font-variant font-variant-alternates font-variant-caps font-variant-east-asian font-variant-ligatures font-variant-numeric font-variant-position font-weight grid-cell grid-column grid-column-align grid-column-sizing grid-column-span grid-columns grid-flow grid-row grid-row-align grid-row-sizing grid-row-span grid-rows grid-template hanging-punctuation height hyphens icon image-orientation image-rendering image-resolution inline-box-align justify-content left letter-spacing line-break line-height line-stacking line-stacking-ruby line-stacking-shift line-stacking-strategy list-style list-style-image list-style-position list-style-type margin margin-bottom margin-left margin-right margin-top marker-offset marks marquee-direction marquee-loop marquee-play-count marquee-speed marquee-style max-height max-width min-height min-width move-to nav-down nav-index nav-left nav-right nav-up opacity order orphans outline outline-color outline-offset outline-style outline-width overflow overflow-style overflow-wrap overflow-x overflow-y padding padding-bottom padding-left padding-right padding-top page page-break-after page-break-before page-break-inside page-policy pause pause-after pause-before perspective perspective-origin pitch pitch-range play-during position presentation-level punctuation-trim quotes rendering-intent resize rest rest-after rest-before richness right rotation rotation-point ruby-align ruby-overhang ruby-position ruby-span size speak speak-as speak-header speak-numeral speak-punctuation speech-rate stress string-set tab-size table-layout target target-name target-new target-position text-align text-align-last text-decoration text-decoration-color text-decoration-line text-decoration-skip text-decoration-style text-emphasis text-emphasis-color text-emphasis-position text-emphasis-style text-height text-indent text-justify text-outline text-shadow text-space-collapse text-transform text-underline-position text-wrap top transform transform-origin transform-style transition transition-delay transition-duration transition-property transition-timing-function unicode-bidi vertical-align visibility voice-balance voice-duration voice-family voice-pitch voice-range voice-rate voice-stress voice-volume volume white-space widows width word-break word-spacing word-wrap z-index clip-path clip-rule mask enable-background filter flood-color flood-opacity lighting-color stop-color stop-opacity pointer-events color-interpolation color-interpolation-filters color-profile color-rendering fill fill-opacity fill-rule image-rendering marker marker-end marker-mid marker-start shape-rendering stroke stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-rendering baseline-shift dominant-baseline glyph-orientation-horizontal glyph-orientation-vertical kerning text-anchor writing-mode".split(" ")),
q=g("aliceblue antiquewhite aqua aquamarine azure beige bisque black blanchedalmond blue blueviolet brown burlywood cadetblue chartreuse chocolate coral cornflowerblue cornsilk crimson cyan darkblue darkcyan darkgoldenrod darkgray darkgreen darkkhaki darkmagenta darkolivegreen darkorange darkorchid darkred darksalmon darkseagreen darkslateblue darkslategray darkturquoise darkviolet deeppink deepskyblue dimgray dodgerblue firebrick floralwhite forestgreen fuchsia gainsboro ghostwhite gold goldenrod gray green greenyellow honeydew hotpink indianred indigo ivory khaki lavender lavenderblush lawngreen lemonchiffon lightblue lightcoral lightcyan lightgoldenrodyellow lightgray lightgreen lightpink lightsalmon lightseagreen lightskyblue lightslategray lightsteelblue lightyellow lime limegreen linen magenta maroon mediumaquamarine mediumblue mediumorchid mediumpurple mediumseagreen mediumslateblue mediumspringgreen mediumturquoise mediumvioletred midnightblue mintcream mistyrose moccasin navajowhite navy oldlace olive olivedrab orange orangered orchid palegoldenrod palegreen paleturquoise palevioletred papayawhip peachpuff peru pink plum powderblue purple red rosybrown royalblue saddlebrown salmon sandybrown seagreen seashell sienna silver skyblue slateblue slategray snow springgreen steelblue tan teal thistle tomato turquoise violet wheat white whitesmoke yellow yellowgreen".split(" ")),
b=g("above absolute activeborder activecaption afar after-white-space ahead alias all all-scroll alternate always amharic amharic-abegede antialiased appworkspace arabic-indic armenian asterisks auto avoid background backwards baseline below bidi-override binary bengali blink block block-axis bold bolder border border-box both bottom break-all break-word button button-bevel buttonface buttonhighlight buttonshadow buttontext cambodian capitalize caps-lock-indicator caption captiontext caret cell center checkbox circle cjk-earthly-branch cjk-heavenly-stem cjk-ideographic clear clip close-quote col-resize collapse compact condensed contain content content-box context-menu continuous copy cover crop cross crosshair currentcolor cursive dashed decimal decimal-leading-zero default default-button destination-atop destination-in destination-out destination-over devanagari disc discard document dot-dash dot-dot-dash dotted double down e-resize ease ease-in ease-in-out ease-out element ellipsis embed end ethiopic ethiopic-abegede ethiopic-abegede-am-et ethiopic-abegede-gez ethiopic-abegede-ti-er ethiopic-abegede-ti-et ethiopic-halehame-aa-er ethiopic-halehame-aa-et ethiopic-halehame-am-et ethiopic-halehame-gez ethiopic-halehame-om-et ethiopic-halehame-sid-et ethiopic-halehame-so-et ethiopic-halehame-ti-er ethiopic-halehame-ti-et ethiopic-halehame-tig ew-resize expanded extra-condensed extra-expanded fantasy fast fill fixed flat footnotes forwards from geometricPrecision georgian graytext groove gujarati gurmukhi hand hangul hangul-consonant hebrew help hidden hide higher highlight highlighttext hiragana hiragana-iroha horizontal hsl hsla icon ignore inactiveborder inactivecaption inactivecaptiontext infinite infobackground infotext inherit initial inline inline-axis inline-block inline-table inset inside intrinsic invert italic justify kannada katakana katakana-iroha khmer landscape lao large larger left level lighter line-through linear lines list-item listbox listitem local logical loud lower lower-alpha lower-armenian lower-greek lower-hexadecimal lower-latin lower-norwegian lower-roman lowercase ltr malayalam match media-controls-background media-current-time-display media-fullscreen-button media-mute-button media-play-button media-return-to-realtime-button media-rewind-button media-seek-back-button media-seek-forward-button media-slider media-sliderthumb media-time-remaining-display media-volume-slider media-volume-slider-container media-volume-sliderthumb medium menu menulist menulist-button menulist-text menulist-textfield menutext message-box middle min-intrinsic mix mongolian monospace move multiple myanmar n-resize narrower ne-resize nesw-resize no-close-quote no-drop no-open-quote no-repeat none normal not-allowed nowrap ns-resize nw-resize nwse-resize oblique octal open-quote optimizeLegibility optimizeSpeed oriya oromo outset outside overlay overline padding padding-box painted paused persian plus-darker plus-lighter pointer portrait pre pre-line pre-wrap preserve-3d progress push-button radio read-only read-write read-write-plaintext-only relative repeat repeat-x repeat-y reset reverse rgb rgba ridge right round row-resize rtl run-in running s-resize sans-serif scroll scrollbar se-resize searchfield searchfield-cancel-button searchfield-decoration searchfield-results-button searchfield-results-decoration semi-condensed semi-expanded separate serif show sidama single skip-white-space slide slider-horizontal slider-vertical sliderthumb-horizontal sliderthumb-vertical slow small small-caps small-caption smaller solid somali source-atop source-in source-out source-over space square square-button start static status-bar stretch stroke sub subpixel-antialiased super sw-resize table table-caption table-cell table-column table-column-group table-footer-group table-header-group table-row table-row-group telugu text text-bottom text-top textarea textfield thai thick thin threeddarkshadow threedface threedhighlight threedlightshadow threedshadow tibetan tigre tigrinya-er tigrinya-er-abegede tigrinya-et tigrinya-et-abegede to top transparent ultra-condensed ultra-expanded underline up upper-alpha upper-armenian upper-greek upper-hexadecimal upper-latin upper-norwegian upper-roman uppercase urdu url vertical vertical-text visible visibleFill visiblePainted visibleStroke visual w-resize wait wave wider window windowframe windowtext x-large x-small xor xx-large xx-small".split(" "));
CodeMirror.defineMIME("text/css",{atMediaTypes:e,atMediaFeatures:j,propertyKeywords:n,colorKeywords:q,valueKeywords:b,hooks:{"<":function(b,a){function e(a,b){for(var d=0,c;null!=(c=a.next());){if(2<=d&&">"==c){b.tokenize=null;break}d="-"==c?d+1:0}return["comment","comment"]}if(b.eat("!"))return a.tokenize=e,e(b,a)},"/":function(b,a){return b.eat("*")?(a.tokenize=c,c(b,a)):!1}},name:"css-base"});CodeMirror.defineMIME("text/x-scss",{atMediaTypes:e,atMediaFeatures:j,propertyKeywords:n,colorKeywords:q,
valueKeywords:b,allowNested:!0,hooks:{$:function(b){b.match(/^[\w-]+/);return":"==b.peek()?["variable","variable-definition"]:["variable","variable"]},"/":function(b,a){return b.eat("/")?(b.skipToEnd(),["comment","comment"]):b.eat("*")?(a.tokenize=c,c(b,a)):["operator","operator"]},"#":function(b){if(b.eat("{"))return["operator","interpolation"];b.eatWhile(/[\w\\\-]/);return["atom","hash"]}},name:"css-base"})})();CodeMirror.defineMode("htmlmixed",function(g,c){function e(e,c){var g=c.htmlState.tagName,j=b.token(e,c.htmlState);if("script"==g&&/\btag\b/.test(j)&&">"==e.current()){(g=(g=e.string.slice(Math.max(0,e.pos-100),e.pos).match(/\btype\s*=\s*("[^"]+"|'[^']+'|\S+)[^<]*$/i))?g[1]:"")&&/[\"\']/.test(g.charAt(0))&&(g=g.slice(1,g.length-1));for(var l=0;l<a.length;++l){var f=a[l];if("string"==typeof f.matches?g==f.matches:f.matches.test(g)){f.mode&&(c.token=n,c.localMode=f.mode,c.localState=f.mode.startState&&
f.mode.startState(b.indent(c.htmlState,"")));break}}}else"style"==g&&(/\btag\b/.test(j)&&">"==e.current())&&(c.token=q,c.localMode=d,c.localState=d.startState(b.indent(c.htmlState,"")));return j}function j(a,b,d){var e=a.current(),c=e.search(b);-1<c?a.backUp(e.length-c):e.match(/<\/?$/)&&(a.backUp(e.length),a.match(b,!1)||a.match(e[0]));return d}function n(a,b){return a.match(/^<\/\s*script\s*>/i,!1)?(b.token=e,b.localState=b.localMode=null,e(a,b)):j(a,/<\/\s*script\s*>/,b.localMode.token(a,b.localState))}
function q(a,b){return a.match(/^<\/\s*style\s*>/i,!1)?(b.token=e,b.localState=b.localMode=null,e(a,b)):j(a,/<\/\s*style\s*>/,d.token(a,b.localState))}var b=CodeMirror.getMode(g,{name:"xml",htmlMode:!0}),d=CodeMirror.getMode(g,"css"),a=[],x=c&&c.scriptTypes;a.push({matches:/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^$/i,mode:CodeMirror.getMode(g,"javascript")});if(x)for(var v=0;v<x.length;++v){var t=x[v];a.push({matches:t.matches,mode:t.mode&&CodeMirror.getMode(g,t.mode)})}a.push({matches:/./,
mode:CodeMirror.getMode(g,"text/plain")});return{startState:function(){var a=b.startState();return{token:e,localMode:null,localState:null,htmlState:a}},copyState:function(a){if(a.localState)var d=CodeMirror.copyState(a.localMode,a.localState);return{token:a.token,localMode:a.localMode,localState:d,htmlState:CodeMirror.copyState(b,a.htmlState)}},token:function(a,b){return b.token(a,b)},indent:function(a,d){return!a.localMode||/^\s*<\//.test(d)?b.indent(a.htmlState,d):a.localMode.indent?a.localMode.indent(a.localState,
d):CodeMirror.Pass},electricChars:"/{}:",innerMode:function(a){return{state:a.localState||a.htmlState,mode:a.localMode||b}}}},"xml","javascript","css");CodeMirror.defineMIME("text/html","htmlmixed");CodeMirror.defineMode("javascript",function(g,c){function e(a,b){for(var d=!1,e;null!=(e=a.next());){if(e==b&&!d)return!1;d=!d&&"\\"==e}return d}function j(a,b,d){F=a;L=d;return b}function n(a,b){var d=a.next();if('"'==d||"'"==d){var c=function(a,b){e(a,d)||(b.tokenize=n);return j("string","string")};b.tokenize=c;return c(a,b)}if(/[\[\]{}\(\),;\:\.]/.test(d))return j(d);if("0"==d&&a.eat(/x/i))return a.eatWhile(/[\da-f]/i),j("number","number");if(/\d/.test(d)||"-"==d&&a.eat(/\d/))return a.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/),
j("number","number");if("/"==d){if(a.eat("*"))return c=q,b.tokenize=c,c(a,b);if(a.eat("/"))return a.skipToEnd(),j("comment","comment");if("operator"==b.lastType||"keyword c"==b.lastType||/^[\[{}\(,;:]$/.test(b.lastType))return e(a,"/"),a.eatWhile(/[gimy]/),j("regexp","string-2");a.eatWhile(O);return j("operator",null,a.current())}if("#"==d)return a.skipToEnd(),j("error","error");if(O.test(d))return a.eatWhile(O),j("operator",null,a.current());a.eatWhile(/[\w\$_]/);var c=a.current(),f=P.propertyIsEnumerable(c)&&
P[c];return f&&"."!=b.lastType?j(f.type,f.style,c):j("variable","variable",c)}function q(a,b){for(var d=!1,c;c=a.next();){if("/"==c&&d){b.tokenize=n;break}d="*"==c}return j("comment","comment")}function b(a,b,d,c,e,f){this.indented=a;this.column=b;this.type=d;this.prev=e;this.info=f;null!=c&&(this.align=c)}function d(){for(var a=arguments.length-1;0<=a;a--)p.cc.push(arguments[a])}function a(){d.apply(null,arguments);return!0}function x(a){function b(d){for(;d;d=d.next)if(d.name==a)return!0;return!1}
var d=p.state;d.context?(p.marked="def",b(d.localVars)||(d.localVars={name:a,next:d.localVars})):b(d.globalVars)||(d.globalVars={name:a,next:d.globalVars})}function v(){p.state.context={prev:p.state.context,vars:p.state.localVars};p.state.localVars=aa}function t(){p.state.localVars=p.state.context.vars;p.state.context=p.state.context.prev}function h(a,d){var c=function(){var c=p.state;c.lexical=new b(c.indented,p.stream.column(),a,null,c.lexical,d)};c.lex=!0;return c}function m(){var a=p.state;a.lexical.prev&&
(")"==a.lexical.type&&(a.indented=a.lexical.indented),a.lexical=a.lexical.prev)}function k(b){return function(c){return c==b?a():";"==b?d():a(arguments.callee)}}function u(c){if("var"==c)return a(h("vardef"),Q,k(";"),m);if("keyword a"==c)return a(h("form"),l,u,m);if("keyword b"==c)return a(h("form"),u,m);if("{"==c)return a(h("}"),R,m);if(";"==c)return a();if("if"==c){c=a;var e=h("form"),f=p.state.indented;return c(e,l,u,m,function(c,e){return"keyword b"==c&&"else"==e?(p.state.lexical=new b(f,0,"form",
null,p.state.lexical),a(u,m)):d()})}return"function"==c?a(M):"for"==c?a(h("form"),k("("),h(")"),ba,k(")"),m,u,m):"variable"==c?a(h("stat"),J):"switch"==c?a(h("form"),l,h("}","switch"),k("{"),R,m,m):"case"==c?a(l,k(":")):"default"==c?a(k(":")):"catch"==c?a(h("form"),v,k("("),W,k(")"),u,m,t):d(h("stat"),l,k(";"),m)}function l(a){return I(a,y)}function f(a){return I(a,r)}function I(b,d){return X.hasOwnProperty(b)?a(d):"function"==b?a(M):"keyword c"==b?a(z):"("==b?a(h(")"),z,k(")"),m,d):"operator"==b?
a(l):"["==b?a(h("]"),K(f,"]"),m,d):"{"==b?a(h("}"),K(E,"}"),m,d):a()}function z(a){return a.match(/[;\}\)\],]/)?d():d(l)}function y(a,b){return","==a?d():r(a,b,y)}function r(b,d,c){c||(c=r);if("operator"==b)return/\+\+|--/.test(d)?a(c):"?"==d?a(l,k(":"),l):a(l);if(";"!=b){if("("==b)return a(h(")","call"),K(f,")"),m,c);if("."==b)return a(w,c);if("["==b)return a(h("]"),l,k("]"),m,c)}}function J(b){return":"==b?a(m,u):d(y,k(";"),m)}function w(b){if("variable"==b)return p.marked="property",a()}function E(b,
d){if("variable"==b){if(p.marked="property","get"==d||"set"==d)return a($)}else if("number"==b||"string"==b)p.marked=b+" property";if(X.hasOwnProperty(b))return a(k(":"),f)}function $(b){if(":"==b)return a(l);if("variable"!=b)return a(k(":"),l);p.marked="property";return a(M)}function K(b,c){function e(d){return","==d?(d=p.state.lexical,"call"==d.info&&(d.pos=(d.pos||0)+1),a(b,e)):d==c?a():a(k(c))}return function(f){return f==c?a():d(b,e)}}function R(b){return"}"==b?a():d(u,R)}function Y(b){return":"==
b?a(ca):d()}function ca(b){return"variable"==b?(p.marked="variable-3",a()):d()}function Q(b,c){return"variable"==b?(x(c),S?a(Y,T):a(T)):d()}function T(b,d){if("="==d)return a(f,T);if(","==b)return a(Q)}function ba(b){return"var"==b?a(Q,k(";"),N):";"==b?a(N):"variable"==b?a(da):d(l,k(";"),N)}function da(b,d){return"in"==d?a(l):a(y,N)}function N(b,c){return";"==b?a(Z):"in"==c?a(l):d(l,k(";"),Z)}function Z(b){")"!=b&&a(l)}function M(b,d){if("variable"==b)return x(d),a(M);if("("==b)return a(h(")"),v,
K(W,")"),m,u,t)}function W(b,d){if("variable"==b)return x(d),S?a(Y):a()}var B=g.indentUnit,G=c.json,S=c.typescript,P,s=function(a){return{type:a,style:"keyword"}},H=s("keyword a"),A=s("keyword b"),C=s("keyword c"),U=s("operator"),D={type:"atom",style:"atom"},H={"if":s("if"),"while":H,"with":H,"else":A,"do":A,"try":A,"finally":A,"return":C,"break":C,"continue":C,"new":C,"delete":C,"throw":C,"var":s("var"),"const":s("var"),let:s("var"),"function":s("function"),"catch":s("catch"),"for":s("for"),"switch":s("switch"),
"case":s("case"),"default":s("default"),"in":U,"typeof":U,"instanceof":U,"true":D,"false":D,"null":D,undefined:D,NaN:D,Infinity:D,"this":s("this")};if(S){var A={type:"variable",style:"variable-3"},s={"interface":s("interface"),"class":s("class"),"extends":s("extends"),constructor:s("constructor"),"public":s("public"),"private":s("private"),"protected":s("protected"),"static":s("static"),"super":s("super"),string:A,number:A,bool:A,any:A},V;for(V in s)H[V]=s[V]}P=H;var O=/[+\-*&%=<>!?|~^]/,F,L,X={atom:!0,
number:!0,variable:!0,string:!0,regexp:!0,"this":!0},p={state:null,column:null,marked:null,cc:null},aa={name:"this",next:{name:"arguments"}};m.lex=!0;return{startState:function(a){return{tokenize:n,lastType:null,cc:[],lexical:new b((a||0)-B,0,"block",!1),localVars:c.localVars,globalVars:c.globalVars,context:c.localVars&&{vars:c.localVars},indented:0}},token:function(a,b){a.sol()&&(b.lexical.hasOwnProperty("align")||(b.lexical.align=!1),b.indented=a.indentation());if(b.tokenize!=q&&a.eatSpace())return null;
var d=b.tokenize(a,b);if("comment"==F)return d;b.lastType="operator"==F&&("++"==L||"--"==L)?"incdec":F;a:{var c=F,e=L,f=b.cc;p.state=b;p.stream=a;p.marked=null;p.cc=f;b.lexical.hasOwnProperty("align")||(b.lexical.align=!0);for(;;)if((f.length?f.pop():G?l:u)(c,e)){for(;f.length&&f[f.length-1].lex;)f.pop()();if(p.marked){d=p.marked;break a}if(c="variable"==c)b:{for(c=b.localVars;c;c=c.next)if(c.name==e){c=!0;break b}c=void 0}if(c){d="variable-2";break a}break a}d=void 0}return d},indent:function(a,
b){if(a.tokenize==q)return CodeMirror.Pass;if(a.tokenize!=n)return 0;var d=b&&b.charAt(0),e=a.lexical;"stat"==e.type&&"}"==d&&(e=e.prev);var f=e.type,E=d==f;return null!=c.statementIndent&&(")"==f&&(e.prev&&"stat"==e.prev.type)&&(e=e.prev),"stat"==e.type)?e.indented+c.statementIndent:"vardef"==f?e.indented+("operator"==a.lastType||","==a.lastType?4:0):"form"==f&&"{"==d?e.indented:"form"==f?e.indented+B:"stat"==f?e.indented+("operator"==a.lastType||","==a.lastType?B:0):"switch"==e.info&&!E?e.indented+
(/^(?:case|default)\b/.test(b)?B:2*B):e.align?e.column+(E?0:1):e.indented+(E?0:B)},electricChars:":{}",blockCommentStart:G?null:"/*",blockCommentEnd:G?null:"*/",lineComment:G?null:"//",jsonMode:G}});CodeMirror.defineMIME("text/javascript","javascript");CodeMirror.defineMIME("text/ecmascript","javascript");CodeMirror.defineMIME("application/javascript","javascript");CodeMirror.defineMIME("application/ecmascript","javascript");CodeMirror.defineMIME("application/json",{name:"javascript",json:!0});
CodeMirror.defineMIME("application/x-json",{name:"javascript",json:!0});CodeMirror.defineMIME("text/typescript",{name:"javascript",typescript:!0});CodeMirror.defineMIME("application/typescript",{name:"javascript",typescript:!0});(function(){function g(c){var g={};c=c.split(" ");for(var n=0;n<c.length;++n)g[c[n]]=!0;return g}var c={name:"clike",keywords:g("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"),
blockKeywords:g("catch do else elseif for foreach if switch try while"),atoms:g("true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__"),builtin:g("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 sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport echo print global static exit array empty eval isset unset die include require include_once require_once"),
multiLineStrings:!0,hooks:{$:function(c){c.eatWhile(/[\w\$_]/);return"variable-2"},"<":function(c,g){if(c.match(/<</)){c.eatWhile(/[\w\.]/);var n=c.current().slice(3);g.tokenize=function(c,b){c.match(n)?b.tokenize=null:c.skipToEnd();return"string"};return g.tokenize(c,g)}return!1},"#":function(c){for(;!c.eol()&&!c.match("?>",!1);)c.next();return"comment"},"/":function(c){if(c.eat("/")){for(;!c.eol()&&!c.match("?>",!1);)c.next();return"comment"}return!1}}};CodeMirror.defineMode("php",function(e,g){var n=
CodeMirror.getMode(e,"text/html"),q=CodeMirror.getMode(e,c);return{startState:function(){var b=CodeMirror.startState(n),d=CodeMirror.startState(q);return{html:b,php:d,curMode:g.startOpen?q:n,curState:g.startOpen?d:b,pending:null}},copyState:function(b){var d=CodeMirror.copyState(n,b.html),a=CodeMirror.copyState(q,b.php);return{html:d,php:a,curMode:b.curMode,curState:b.curMode==n?d:a,pending:b.pending}},token:function(b,d){var a=d.curMode==q;b.sol()&&'"'!=d.pending&&(d.pending=null);if(a)return a&&
null==d.php.tokenize&&b.match("?>")?(d.curMode=n,d.curState=d.html,"meta"):q.token(b,d.curState);if(b.match(/^<\?\w*/))return d.curMode=q,d.curState=d.php,"meta";if('"'==d.pending){for(;!b.eol()&&'"'!=b.next(););a="string"}else d.pending&&b.pos<d.pending.end?(b.pos=d.pending.end,a=d.pending.style):a=n.token(b,d.curState);d.pending=null;var c=b.current(),e=c.search(/<\?/);-1!=e&&(d.pending="string"==a&&/\"$/.test(c)&&!/\?>/.test(c)?'"':{end:b.pos,style:a},b.backUp(c.length-e));return a},indent:function(b,
d){return b.curMode!=q&&/^\s*<\//.test(d)||b.curMode==q&&/^\?>/.test(d)?n.indent(b.html,d):b.curMode.indent(b.curState,d)},electricChars:"/{}:",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",innerMode:function(b){return{state:b.curState,mode:b.curMode}}}},"htmlmixed","clike");CodeMirror.defineMIME("application/x-httpd-php","php");CodeMirror.defineMIME("application/x-httpd-php-open",{name:"php",startOpen:!0});CodeMirror.defineMIME("text/x-php",c)})();CodeMirror.defineMode("xml",function(g,c){function e(a,b){function d(c){b.tokenize=c;return c(a,b)}var c=a.next();if("<"==c){if(a.eat("!"))return a.eat("[")?a.match("CDATA[")?d(n("atom","]]\x3e")):null:a.match("--")?d(n("comment","--\x3e")):a.match("DOCTYPE",!0,!0)?(a.eatWhile(/[\w\._\-]/),d(q(1))):null;if(a.eat("?"))return a.eatWhile(/[\w\._\-]/),b.tokenize=n("meta","?>"),"meta";c=a.eat("/");z="";for(var e;e=a.eat(/[^\s\u00a0=<>\"\'\/?]/);)z+=e;if(!z)return"error";y=c?"closeTag":"openTag";b.tokenize=
j;return"tag"}if("&"==c)return(a.eat("#")?a.eat("x")?a.eatWhile(/[a-fA-F\d]/)&&a.eat(";"):a.eatWhile(/[\d]/)&&a.eat(";"):a.eatWhile(/[\w\.\-:]/)&&a.eat(";"))?"atom":"error";a.eatWhile(/[^&<]/);return null}function j(a,b){var c=a.next();if(">"==c||"/"==c&&a.eat(">"))return b.tokenize=e,y=">"==c?"endTag":"selfcloseTag","tag";if("="==c)return y="equals",null;if(/[\'\"]/.test(c))return b.tokenize=function(a,b){for(;!a.eol();)if(a.next()==c){b.tokenize=j;break}return"string"},b.tokenize(a,b);a.eatWhile(/[^\s\u00a0=<>\"\']/);
return"word"}function n(a,b){return function(c,d){for(;!c.eol();){if(c.match(b)){d.tokenize=e;break}c.next()}return a}}function q(a){return function(b,c){for(var d;null!=(d=b.next());){if("<"==d)return c.tokenize=q(a+1),c.tokenize(b,c);if(">"==d)if(1==a){c.tokenize=e;break}else return c.tokenize=q(a-1),c.tokenize(b,c)}return"meta"}}function b(){for(var a=arguments.length-1;0<=a;a--)r.cc.push(arguments[a])}function d(){b.apply(null,arguments);return!0}function a(){r.context&&(r.context=r.context.prev)}
function x(b){if("openTag"==b){r.tagName=z;r.tagStart=J.column();var c=r.startOfLine;return d(t,function(a){var b=r.tagName;r.tagName=r.tagStart=null;if("selfcloseTag"==a||"endTag"==a&&f.autoSelfClosers.hasOwnProperty(b.toLowerCase()))return v(b.toLowerCase()),d();"endTag"==a&&(v(b.toLowerCase()),a=f.doNotIndent.hasOwnProperty(b)||r.context&&r.context.noIndent,r.context={prev:r.context,tagName:b,indent:r.indented,startOfLine:c,noIndent:a});return d()})}if("closeTag"==b){b=!1;r.context?r.context.tagName!=
z&&(f.implicitlyClosed.hasOwnProperty(r.context.tagName.toLowerCase())&&a(),b=!r.context||r.context.tagName!=z):b=!0;b&&(w="error");var e=b;return d(function(b){e&&(w="error");if("endTag"==b)return a(),d();w="error";return d(arguments.callee)})}return d()}function v(b){for(var c;r.context;){c=r.context.tagName.toLowerCase();if(!f.contextGrabbers.hasOwnProperty(c)||!f.contextGrabbers[c].hasOwnProperty(b))break;a()}}function t(a){if("word"==a)return w="attribute",d(h,t);if("endTag"==a||"selfcloseTag"==
a)return b();w="error";return d(t)}function h(a){if("equals"==a)return d(m,t);f.allowMissing?"word"==a&&(w="attribute"):w="error";return"endTag"==a||"selfcloseTag"==a?b():d()}function m(a){if("string"==a)return d(k);if("word"==a&&f.allowUnquoted)return w="string",d();w="error";return"endTag"==a||"selfCloseTag"==a?b():d()}function k(a){return"string"==a?d(k):b()}var u=g.indentUnit,l=c.multilineTagIndentFactor||1,f=c.htmlMode?{autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,
hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,
table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0}:{autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1},I=c.alignCDATA,z,y,r,J,w;return{startState:function(){return{tokenize:e,cc:[],indented:0,startOfLine:!0,tagName:null,tagStart:null,context:null}},token:function(a,b){!b.tagName&&
a.sol()&&(b.startOfLine=!0,b.indented=a.indentation());if(a.eatSpace())return null;w=y=z=null;var c=b.tokenize(a,b);b.type=y;if((c||y)&&"comment"!=c){r=b;for(J=a;!(b.cc.pop()||x)(y||c););}b.startOfLine=!1;return w||c},indent:function(a,b,c){var d=a.context;if(a.tokenize!=j&&a.tokenize!=e||d&&d.noIndent)return c?c.match(/^(\s*)/)[0].length:0;if(a.tagName)return a.tagStart+u*l;if(I&&/<!\[CDATA\[/.test(b))return 0;d&&/^<\//.test(b)&&(d=d.prev);for(;d&&!d.startOfLine;)d=d.prev;return d?d.indent+u:0},
electricChars:"/",blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:c.htmlMode?"html":"xml"}});CodeMirror.defineMIME("text/xml","xml");CodeMirror.defineMIME("application/xml","xml");CodeMirror.mimeModes.hasOwnProperty("text/html")||CodeMirror.defineMIME("text/html",{name:"xml",htmlMode:!0});