﻿(function(a){if(typeof exports=="object"&&typeof module=="object"){a(require("../../lib/codemirror"))}else{if(typeof define=="function"&&define.amd){define(["../../lib/codemirror"],a)}else{a(CodeMirror)}}})(function(a){var b={autoSelfClosers:{area:true,base:true,br:true,col:true,command:true,embed:true,frame:true,hr:true,img:true,input:true,keygen:true,link:true,meta:true,param:true,source:true,track:true,wbr:true,menuitem:true},implicitlyClosed:{dd:true,li:true,optgroup:true,option:true,p:true,rp:true,rt:true,tbody:true,td:true,tfoot:true,th:true,tr:true},contextGrabbers:{dd:{dd:true,dt:true},dt:{dd:true,dt:true},li:{li:true},option:{option:true,optgroup:true},optgroup:{optgroup:true},p:{address:true,article:true,aside:true,blockquote:true,dir:true,div:true,dl:true,fieldset:true,footer:true,form:true,h1:true,h2:true,h3:true,h4:true,h5:true,h6:true,header:true,hgroup:true,hr:true,menu:true,nav:true,ol:true,p:true,pre:true,section:true,table:true,ul:true},rp:{rp:true,rt:true},rt:{rp:true,rt:true},tbody:{tbody:true,tfoot:true},td:{td:true,th:true},tfoot:{tbody:true},th:{td:true,th:true},thead:{tbody:true,tfoot:true},tr:{tr:true}},doNotIndent:{pre:true},allowUnquoted:true,allowMissing:true,caseFold:true};var c={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:false,allowMissing:false,allowMissingTagName:false,caseFold:false};a.defineMode("xml",function(m,y){var r=m.indentUnit;var z={};var l=y.htmlMode?b:c;for(var f in l){z[f]=l[f]}for(var f in y){z[f]=y[f]}var g,h;function p(G,F){function D(H){F.tokenize=H;return H(G,F)}var E=G.next();if(E=="<"){if(G.eat("!")){if(G.eat("[")){if(G.match("CDATA[")){return D(x("atom","]]>"))}else{return null}}else{if(G.match("--")){return D(x("comment","-->"))}else{if(G.match("DOCTYPE",true,true)){G.eatWhile(/[\w\._\-]/);return D(A(1))}else{return null}}}}else{if(G.eat("?")){G.eatWhile(/[\w\._\-]/);F.tokenize=x("meta","?>");return"meta"}else{g=G.eat("/")?"closeTag":"openTag";F.tokenize=o;return"tag bracket"}}}else{if(E=="&"){var C;if(G.eat("#")){if(G.eat("x")){C=G.eatWhile(/[a-fA-F\d]/)&&G.eat(";")}else{C=G.eatWhile(/[\d]/)&&G.eat(";")}}else{C=G.eatWhile(/[\w\.\-:]/)&&G.eat(";")}return C?"atom":"error"}else{G.eatWhile(/[^&<]/);return null}}}p.isInText=true;function o(F,E){var D=F.next();if(D==">"||(D=="/"&&F.eat(">"))){E.tokenize=p;g=D==">"?"endTag":"selfcloseTag";return"tag bracket"}else{if(D=="="){g="equals";return null}else{if(D=="<"){E.tokenize=p;E.state=n;E.tagName=E.tagStart=null;var C=E.tokenize(F,E);return C?C+" tag error":"tag error"}else{if(/[\'\"]/.test(D)){E.tokenize=k(D);E.stringStartCol=F.column();return E.tokenize(F,E)}else{F.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/);return"word"}}}}}function k(C){var D=function(F,E){while(!F.eol()){if(F.next()==C){E.tokenize=o;break}}return"string"};D.isInAttribute=true;return D}function x(D,C){return function(F,E){while(!F.eol()){if(F.match(C)){E.tokenize=p;break}F.next()}return D}}function A(C){return function(F,E){var D;while((D=F.next())!=null){if(D=="<"){E.tokenize=A(C+1);return E.tokenize(F,E)}else{if(D==">"){if(C==1){E.tokenize=p;break}else{E.tokenize=A(C-1);return E.tokenize(F,E)}}}}return"meta"}}function t(D,C,E){this.prev=D.context;this.tagName=C;this.indent=D.indented;this.startOfLine=E;if(z.doNotIndent.hasOwnProperty(C)||(D.context&&D.context.noIndent)){this.noIndent=true}}function w(C){if(C.context){C.context=C.context.prev}}function s(E,D){var C;while(true){if(!E.context){return}C=E.context.tagName;if(!z.contextGrabbers.hasOwnProperty(C)||!z.contextGrabbers[C].hasOwnProperty(D)){return}w(E)}}function n(C,E,D){if(C=="openTag"){D.tagStart=E.column();return d}else{if(C=="closeTag"){return v}else{return n}}}function d(C,E,D){if(C=="word"){D.tagName=E.current();h="tag";return e}else{if(z.allowMissingTagName&&C=="endTag"){h="tag bracket";return e(C,E,D)}else{h="error";return d}}}function v(D,F,E){if(D=="word"){var C=F.current();if(E.context&&E.context.tagName!=C&&z.implicitlyClosed.hasOwnProperty(E.context.tagName)){w(E)}if((E.context&&E.context.tagName==C)||z.matchClosing===false){h="tag";return u}else{h="tag error";return B}}else{if(z.allowMissingTagName&&D=="endTag"){h="tag bracket";return u(D,F,E)}else{h="error";return B}}}function u(D,C,E){if(D!="endTag"){h="error";return u}w(E);return n}function B(C,E,D){h="error";return u(C,E,D)}function e(F,D,G){if(F=="word"){h="attribute";return j}else{if(F=="endTag"||F=="selfcloseTag"){var E=G.tagName,C=G.tagStart;G.tagName=G.tagStart=null;if(F=="selfcloseTag"||z.autoSelfClosers.hasOwnProperty(E)){s(G,E)}else{s(G,E);G.context=new t(G,E,C==G.indented)}return n}}h="error";return e}function j(C,E,D){if(C=="equals"){return q}if(!z.allowMissing){h="error"}return e(C,E,D)}function q(C,E,D){if(C=="string"){return i}if(C=="word"&&z.allowUnquoted){h="string";return e}h="error";return e(C,E,D)}function i(C,E,D){if(C=="string"){return i}return e(C,E,D)}return{startState:function(C){var D={tokenize:p,state:n,indented:C||0,tagName:null,tagStart:null,context:null};if(C!=null){D.baseIndent=C}return D},token:function(E,D){if(!D.tagName&&E.sol()){D.indented=E.indentation()}if(E.eatSpace()){return null}g=null;var C=D.tokenize(E,D);if((C||g)&&C!="comment"){h=null;D.state=D.state(g||C,E,D);if(h){C=h=="error"?C+" error":h}}return C},indent:function(H,D,G){var F=H.context;if(H.tokenize.isInAttribute){if(H.tagStart==H.indented){return H.stringStartCol+1}else{return H.indented+r}}if(F&&F.noIndent){return a.Pass}if(H.tokenize!=o&&H.tokenize!=p){return G?G.match(/^(\s*)/)[0].length:0}if(H.tagName){if(z.multilineTagIndentPastTag!==false){return H.tagStart+H.tagName.length+2}else{return H.tagStart+r*(z.multilineTagIndentFactor||1)}}if(z.alignCDATA&&/<!\[CDATA\[/.test(D)){return 0}var C=D&&/^<(\/)?([\w_:\.-]*)/.exec(D);if(C&&C[1]){while(F){if(F.tagName==C[2]){F=F.prev;break}else{if(z.implicitlyClosed.hasOwnProperty(F.tagName)){F=F.prev}else{break}}}}else{if(C){while(F){var E=z.contextGrabbers[F.tagName];if(E&&E.hasOwnProperty(C[2])){F=F.prev}else{break}}}}while(F&&F.prev&&!F.startOfLine){F=F.prev}if(F){return F.indent+r}else{return H.baseIndent||0}},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:z.htmlMode?"html":"xml",helperType:z.htmlMode?"html":"xml",skipAttribute:function(C){if(C.state==q){C.state=e}}}});a.defineMIME("text/xml","xml");a.defineMIME("application/xml","xml");if(!a.mimeModes.hasOwnProperty("text/html")){a.defineMIME("text/html",{name:"xml",htmlMode:true})}});(function(a){if(typeof exports=="object"&&typeof module=="object"){a(require("../../lib/codemirror"))}else{if(typeof define=="function"&&define.amd){define(["../../lib/codemirror"],a)}else{a(CodeMirror)}}})(function(a){a.defineMode("javascript",function(ao,aA){var p=ao.indentUnit;var F=aA.statementIndent;var aT=aA.jsonld;var E=aA.json||aT;var h=aA.typescript;var aL=aA.wordCharacters||/[\w$\xa1-\uffff]/;var aJ=function(){function a7(bb){return{type:bb,style:"keyword"}}var a4=a7("keyword a"),ba=a7("keyword b"),a9=a7("keyword c"),a8=a7("keyword d");var a5=a7("operator"),a6={type:"atom",style:"atom"};return{"if":a7("if"),"while":a4,"with":a4,"else":ba,"do":ba,"try":ba,"finally":ba,"return":a8,"break":a8,"continue":a8,"new":a7("new"),"delete":a9,"void":a9,"throw":a9,"debugger":a7("debugger"),"var":a7("var"),"const":a7("var"),let:a7("var"),"function":a7("function"),"catch":a7("catch"),"for":a7("for"),"switch":a7("switch"),"case":a7("case"),"default":a7("default"),"in":a5,"typeof":a5,"instanceof":a5,"true":a6,"false":a6,"null":a6,"undefined":a6,"NaN":a6,"Infinity":a6,"this":a7("this"),"class":a7("class"),"super":a7("atom"),yield:a9,"export":a7("export"),"import":a7("import"),"extends":a9,await:a9}}();var Z=/[+\-*&%=<>!?|~^@]/;var aI=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function K(a7){var a5=false,a4,a6=false;while((a4=a7.next())!=null){if(!a5){if(a4=="/"&&!a6){return}if(a4=="["){a6=true}else{if(a6&&a4=="]"){a6=false}}}a5=!a5&&a4=="\\"}}var ae,L;function T(a6,a5,a4){ae=a6;L=a4;return a5}function ag(a8,a6){var a4=a8.next();if(a4=='"'||a4=="'"){a6.tokenize=ad(a4);return a6.tokenize(a8,a6)}else{if(a4=="."&&a8.match(/^\d+(?:[eE][+\-]?\d+)?/)){return T("number","number")}else{if(a4=="."&&a8.match("..")){return T("spread","meta")}else{if(/[\[\]{}\(\),;\:\.]/.test(a4)){return T(a4)}else{if(a4=="="&&a8.eat(">")){return T("=>","operator")}else{if(a4=="0"&&a8.match(/^(?:x[\da-f]+|o[0-7]+|b[01]+)n?/i)){return T("number","number")}else{if(/\d/.test(a4)){a8.match(/^\d*(?:n|(?:\.\d*)?(?:[eE][+\-]?\d+)?)?/);return T("number","number")}else{if(a4=="/"){if(a8.eat("*")){a6.tokenize=aS;return aS(a8,a6)}else{if(a8.eat("/")){a8.skipToEnd();return T("comment","comment")}else{if(a1(a8,a6,1)){K(a8);a8.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/);return T("regexp","string-2")}else{a8.eat("=");return T("operator","operator",a8.current())}}}}else{if(a4=="`"){a6.tokenize=aV;return aV(a8,a6)}else{if(a4=="#"){a8.skipToEnd();return T("error","error")}else{if(Z.test(a4)){if(a4!=">"||!a6.lexical||a6.lexical.type!=">"){if(a8.eat("=")){if(a4=="!"||a4=="="){a8.eat("=")}}else{if(/[<>*+\-]/.test(a4)){a8.eat(a4);if(a4==">"){a8.eat(a4)}}}}return T("operator","operator",a8.current())}else{if(aL.test(a4)){a8.eatWhile(aL);var a7=a8.current();if(a6.lastType!="."){if(aJ.propertyIsEnumerable(a7)){var a5=aJ[a7];return T(a5.type,a5.style,a7)}if(a7=="async"&&a8.match(/^(\s|\/\*.*?\*\/)*[\[\(\w]/,false)){return T("async","keyword",a7)}}return T("variable","variable",a7)}}}}}}}}}}}}}function ad(a4){return function(a8,a6){var a7=false,a5;if(aT&&a8.peek()=="@"&&a8.match(aI)){a6.tokenize=ag;return T("jsonld-keyword","meta")}while((a5=a8.next())!=null){if(a5==a4&&!a7){break}a7=!a7&&a5=="\\"}if(!a7){a6.tokenize=ag}return T("string","string")}}function aS(a7,a6){var a4=false,a5;while(a5=a7.next()){if(a5=="/"&&a4){a6.tokenize=ag;break}a4=(a5=="*")}return T("comment","comment")}function aV(a7,a5){var a6=false,a4;while((a4=a7.next())!=null){if(!a6&&(a4=="`"||a4=="$"&&a7.eat("{"))){a5.tokenize=ag;break}a6=!a6&&a4=="\\"}return T("quasi","string-2",a7.current())}var q="([{}])";function aP(bc,a6){if(a6.fatArrowAt){a6.fatArrowAt=null}var bb=bc.string.indexOf("=>",bc.start);if(bb<0){return}if(h){var a8=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(bc.string.slice(bc.start,bb));if(a8){bb=a8.index}}var a9=0,a7=false;for(var ba=bb-1;ba>=0;--ba){var a4=bc.string.charAt(ba);var a5=q.indexOf(a4);if(a5>=0&&a5<3){if(!a9){++ba;break}if(--a9==0){if(a4=="("){a7=true}break}}else{if(a5>=3&&a5<6){++a9}else{if(aL.test(a4)){a7=true}else{if(/["'\/]/.test(a4)){return}else{if(a7&&!a9){++ba;break}}}}}}if(a7&&!a9){a6.fatArrowAt=ba}}var b={atom:true,number:true,variable:true,string:true,regexp:true,"this":true,"jsonld-keyword":true};function R(a9,a5,a4,a8,a6,a7){this.indented=a9;this.column=a5;this.type=a4;this.prev=a6;this.info=a7;if(a8!=null){this.align=a8}}function x(a7,a6){for(var a5=a7.localVars;a5;a5=a5.next){if(a5.name==a6){return true}}for(var a4=a7.context;a4;a4=a4.prev){for(var a5=a4.vars;a5;a5=a5.next){if(a5.name==a6){return true}}}}function g(a8,a5,a4,a7,a9){var ba=a8.cc;J.state=a8;J.stream=a9;J.marked=null,J.cc=ba;J.style=a5;if(!a8.lexical.hasOwnProperty("align")){a8.lexical.align=true}while(true){var a6=ba.length?ba.pop():E?aE:aZ;if(a6(a4,a7)){while(ba.length&&ba[ba.length-1].lex){ba.pop()()}if(J.marked){return J.marked}if(a4=="variable"&&x(a8,a7)){return"variable-2"}return a5}}}var J={state:null,column:null,marked:null,cc:null};function ap(){for(var a4=arguments.length-1;a4>=0;a4--){J.cc.push(arguments[a4])}}function av(){ap.apply(null,arguments);return true}function f(a5,a6){for(var a4=a6;a4;a4=a4.next){if(a4.name==a5){return true}}return false}function aO(a4){var a5=J.state;J.marked="def";if(a5.context){if(a5.lexical.info=="var"&&a5.context&&a5.context.block){var a6=aN(a4,a5.context);if(a6!=null){a5.context=a6;return}}else{if(!f(a4,a5.localVars)){a5.localVars=new a0(a4,a5.localVars);return}}}if(aA.globalVars&&!f(a4,a5.globalVars)){a5.globalVars=new a0(a4,a5.globalVars)}}function aN(a5,a6){if(!a6){return null}else{if(a6.block){var a4=aN(a5,a6.prev);if(!a4){return null}if(a4==a6.prev){return a6}return new Q(a4,a6.vars,true)}else{if(f(a5,a6.vars)){return a6}else{return new Q(a6.prev,new a0(a5,a6.vars),false)}}}}function aB(a4){return a4=="public"||a4=="private"||a4=="protected"||a4=="abstract"||a4=="readonly"}function Q(a4,a5,a6){this.prev=a4;this.vars=a5;this.block=a6}function a0(a4,a5){this.name=a4;this.next=a5}var v=new a0("this",new a0("arguments",null));function B(){J.state.context=new Q(J.state.context,J.state.localVars,false);J.state.localVars=v}function am(){J.state.context=new Q(J.state.context,J.state.localVars,true);J.state.localVars=null}function C(){J.state.localVars=J.state.context.vars;J.state.context=J.state.context.prev}C.lex=true;function aX(a5,a6){var a4=function(){var a9=J.state,a7=a9.indented;if(a9.lexical.type=="stat"){a7=a9.lexical.indented}else{for(var a8=a9.lexical;a8&&a8.type==")"&&a8.align;a8=a8.prev){a7=a8.indented}}a9.lexical=new R(a7,J.stream.column(),a5,null,a9.lexical,a6)};a4.lex=true;return a4}function i(){var a4=J.state;if(a4.lexical.prev){if(a4.lexical.type==")"){a4.indented=a4.lexical.indented}a4.lexical=a4.lexical.prev}}i.lex=true;function w(a4){function a5(a6){if(a6==a4){return av()}else{if(a4==";"||a6=="}"||a6==")"||a6=="]"){return ap()}else{return av(a5)}}}return a5}function aZ(a4,a5){if(a4=="var"){return av(aX("vardef",a5),c,w(";"),i)}if(a4=="keyword a"){return av(aX("form"),aF,aZ,i)}if(a4=="keyword b"){return av(aX("form"),aZ,i)}if(a4=="keyword d"){return J.stream.match(/^\s*$/,false)?av():av(aX("stat"),az,w(";"),i)}if(a4=="debugger"){return av(w(";"))}if(a4=="{"){return av(aX("}"),am,D,i,C)}if(a4==";"){return av()}if(a4=="if"){if(J.state.lexical.info=="else"&&J.state.cc[J.state.cc.length-1]==i){J.state.cc.pop()()}return av(aX("form"),aF,aZ,i,d)}if(a4=="function"){return av(U)}if(a4=="for"){return av(aX("form"),z,aZ,i)}if(a4=="class"||(h&&a5=="interface")){J.marked="keyword";return av(aX("form"),aj,i)}if(a4=="variable"){if(h&&a5=="declare"){J.marked="keyword";return av(aZ)}else{if(h&&(a5=="module"||a5=="enum"||a5=="type")&&J.stream.match(/^\s*\w/,false)){J.marked="keyword";if(a5=="enum"){return av(aM)}else{if(a5=="type"){return av(k,w("operator"),k,w(";"))}else{return av(aX("form"),j,w("{"),aX("}"),D,i,i)}}}else{if(h&&a5=="namespace"){J.marked="keyword";return av(aX("form"),aE,D,i)}else{if(h&&a5=="abstract"){J.marked="keyword";return av(aZ)}else{return av(aX("stat"),a2)}}}}}if(a4=="switch"){return av(aX("form"),aF,w("{"),aX("}","switch"),am,D,i,i,C)}if(a4=="case"){return av(aE,w(":"))}if(a4=="default"){return av(w(":"))}if(a4=="catch"){return av(aX("form"),B,X,aZ,i,C)}if(a4=="export"){return av(aX("stat"),aY,i)}if(a4=="import"){return av(aX("stat"),aw,i)}if(a4=="async"){return av(aZ)}if(a5=="@"){return av(aE,aZ)}return ap(aX("stat"),aE,w(";"),i)}function X(a4){if(a4=="("){return av(au,w(")"))}}function aE(a4,a5){return an(a4,a5,false)}function aW(a4,a5){return an(a4,a5,true)}function aF(a4){if(a4!="("){return ap()}return av(aX(")"),aE,w(")"),i)}function an(a5,a6,a8){if(J.state.fatArrowAt==J.stream.start){var a4=a8?V:ak;if(a5=="("){return av(B,aX(")"),aK(au,")"),i,w("=>"),a4,C)}else{if(a5=="variable"){return ap(B,j,w("=>"),a4,C)}}}var a7=a8?l:ar;if(b.hasOwnProperty(a5)){return av(a7)}if(a5=="function"){return av(U,a7)}if(a5=="class"||(h&&a6=="interface")){J.marked="keyword";return av(aX("form"),O,i)}if(a5=="keyword c"||a5=="async"){return av(a8?aW:aE)}if(a5=="("){return av(aX(")"),az,w(")"),i,a7)}if(a5=="operator"||a5=="spread"){return av(a8?aW:aE)}if(a5=="["){return av(aX("]"),r,i,a7)}if(a5=="{"){return aQ(y,"}",null,a7)}if(a5=="quasi"){return ap(aa,a7)}if(a5=="new"){return av(N(a8))}if(a5=="import"){return av(aE)}return av()}function az(a4){if(a4.match(/[;\}\)\],]/)){return ap()}return ap(aE)}function ar(a4,a5){if(a4==","){return av(aE)}return l(a4,a5,false)}function l(a4,a6,a8){var a5=a8==false?ar:l;var a7=a8==false?aE:aW;if(a4=="=>"){return av(B,a8?V:ak,C)}if(a4=="operator"){if(/\+\+|--/.test(a6)||h&&a6=="!"){return av(a5)}if(h&&a6=="<"&&J.stream.match(/^([^>]|<.*?>)*>\s*\(/,false)){return av(aX(">"),aK(k,">"),i,a5)}if(a6=="?"){return av(aE,w(":"),a7)}return av(a7)}if(a4=="quasi"){return ap(aa,a5)}if(a4==";"){return}if(a4=="("){return aQ(aW,")","call",a5)}if(a4=="."){return av(aC,a5)}if(a4=="["){return av(aX("]"),az,w("]"),i,a5)}if(h&&a6=="as"){J.marked="keyword";return av(k,a5)}if(a4=="regexp"){J.state.lastType=J.marked="operator";J.stream.backUp(J.stream.pos-J.stream.start-1);return av(a7)}}function aa(a4,a5){if(a4!="quasi"){return ap()}if(a5.slice(a5.length-2)!="${"){return av(aa)}return av(aE,u)}function u(a4){if(a4=="}"){J.marked="string-2";J.state.tokenize=aV;return av(aa)}}function ak(a4){aP(J.stream,J.state);return ap(a4=="{"?aZ:aE)}function V(a4){aP(J.stream,J.state);return ap(a4=="{"?aZ:aW)}function N(a4){return function(a5){if(a5=="."){return av(a4?s:ai)}else{if(a5=="variable"&&h){return av(e,a4?l:ar)}else{return ap(a4?aW:aE)}}}}function ai(a4,a5){if(a5=="target"){J.marked="keyword";return av(ar)}}function s(a4,a5){if(a5=="target"){J.marked="keyword";return av(l)}}function a2(a4){if(a4==":"){return av(i,aZ)}return ap(ar,w(";"),i)}function aC(a4){if(a4=="variable"){J.marked="property";return av()}}function y(a5,a6){if(a5=="async"){J.marked="property";return av(y)}else{if(a5=="variable"||J.style=="keyword"){J.marked="property";if(a6=="get"||a6=="set"){return av(P)}var a4;if(h&&J.state.fatArrowAt==J.stream.start&&(a4=J.stream.match(/^\s*:\s*/,false))){J.state.fatArrowAt=J.stream.pos+a4[0].length}return av(S)}else{if(a5=="number"||a5=="string"){J.marked=aT?"property":(J.style+" property");return av(S)}else{if(a5=="jsonld-keyword"){return av(S)}else{if(h&&aB(a6)){J.marked="keyword";return av(y)}else{if(a5=="["){return av(aE,af,w("]"),S)}else{if(a5=="spread"){return av(aW,S)}else{if(a6=="*"){J.marked="keyword";return av(y)}else{if(a5==":"){return ap(S)}}}}}}}}}}function P(a4){if(a4!="variable"){return ap(S)}J.marked="property";return av(U)}function S(a4){if(a4==":"){return av(aW)}if(a4=="("){return ap(U)}}function aK(a7,a4,a5){function a6(a9,ba){if(a5?a5.indexOf(a9)>-1:a9==","){var a8=J.state.lexical;if(a8.info=="call"){a8.pos=(a8.pos||0)+1}return av(function(bb,bc){if(bb==a4||bc==a4){return ap()}return ap(a7)},a6)}if(a9==a4||ba==a4){return av()}return av(w(a4))}return function(a8,a9){if(a8==a4||a9==a4){return av()}return ap(a7,a6)}}function aQ(a7,a4,a6){for(var a5=3;a5<arguments.length;a5++){J.cc.push(arguments[a5])}return av(aX(a4,a6),aK(a7,a4),i)}function D(a4){if(a4=="}"){return av()}return ap(aZ,D)}function af(a4,a5){if(h){if(a4==":"){return av(k)}if(a5=="?"){return av(af)}}}function W(a4){if(h&&a4==":"){if(J.stream.match(/^\s*\w+\s+is\b/,false)){return av(aE,ab,k)}else{return av(k)}}}function ab(a4,a5){if(a5=="is"){J.marked="keyword";return av()}}function k(a4,a5){if(a5=="keyof"||a5=="typeof"){J.marked="keyword";return av(a5=="keyof"?k:aW)}if(a4=="variable"||a5=="void"){J.marked="type";return av(M)}if(a4=="string"||a4=="number"||a4=="atom"){return av(M)}if(a4=="["){return av(aX("]"),aK(k,"]",","),i,M)}if(a4=="{"){return av(aX("}"),aK(aD,"}",",;"),i,M)}if(a4=="("){return av(aK(aq,")"),ac)}if(a4=="<"){return av(aK(k,">"),k)}}function ac(a4){if(a4=="=>"){return av(k)}}function aD(a4,a5){if(a4=="variable"||J.style=="keyword"){J.marked="property";return av(aD)}else{if(a5=="?"){return av(aD)}else{if(a4==":"){return av(k)}else{if(a4=="["){return av(aE,af,w("]"),aD)}}}}}function aq(a4,a5){if(a4=="variable"&&J.stream.match(/^\s*[?:]/,false)||a5=="?"){return av(aq)}if(a4==":"){return av(k)}return ap(k)}function M(a4,a5){if(a5=="<"){return av(aX(">"),aK(k,">"),i,M)}if(a5=="|"||a4=="."||a5=="&"){return av(k)}if(a4=="["){return av(w("]"),M)}if(a5=="extends"||a5=="implements"){J.marked="keyword";return av(k)}}function e(a4,a5){if(a5=="<"){return av(aX(">"),aK(k,">"),i,M)}}function o(){return ap(k,ah)}function ah(a4,a5){if(a5=="="){return av(k)}}function c(a4,a5){if(a5=="enum"){J.marked="keyword";return av(aM)}return ap(j,af,at,al)}function j(a4,a5){if(h&&aB(a5)){J.marked="keyword";return av(j)}if(a4=="variable"){aO(a5);return av()}if(a4=="spread"){return av(j)}if(a4=="["){return aQ(j,"]")}if(a4=="{"){return aQ(aU,"}")}}function aU(a4,a5){if(a4=="variable"&&!J.stream.match(/^\s*:/,false)){aO(a5);return av(at)}if(a4=="variable"){J.marked="property"}if(a4=="spread"){return av(j)}if(a4=="}"){return ap()}return av(w(":"),j,at)}function at(a4,a5){if(a5=="="){return av(aW)}}function al(a4){if(a4==","){return av(c)}}function d(a4,a5){if(a4=="keyword b"&&a5=="else"){return av(aX("form","else"),aZ,i)}}function z(a4,a5){if(a5=="await"){return av(z)}if(a4=="("){return av(aX(")"),I,w(")"),i)}}function I(a4){if(a4=="var"){return av(c,w(";"),H)}if(a4==";"){return av(H)}if(a4=="variable"){return av(A)}return ap(aE,w(";"),H)}function A(a4,a5){if(a5=="in"||a5=="of"){J.marked="keyword";return av(aE)}return av(ar,H)}function H(a4,a5){if(a4==";"){return av(G)}if(a5=="in"||a5=="of"){J.marked="keyword";return av(aE)}return ap(aE,w(";"),G)}function G(a4){if(a4!=")"){av(aE)}}function U(a4,a5){if(a5=="*"){J.marked="keyword";return av(U)}if(a4=="variable"){aO(a5);return av(U)}if(a4=="("){return av(B,aX(")"),aK(au,")"),i,W,aZ,C)}if(h&&a5=="<"){return av(aX(">"),aK(o,">"),i,U)}}function au(a4,a5){if(a5=="@"){av(aE,au)}if(a4=="spread"){return av(au)}if(h&&aB(a5)){J.marked="keyword";return av(au)}return ap(j,af,at)}function O(a4,a5){if(a4=="variable"){return aj(a4,a5)}return Y(a4,a5)}function aj(a4,a5){if(a4=="variable"){aO(a5);return av(Y)}}function Y(a4,a5){if(a5=="<"){return av(aX(">"),aK(o,">"),i,Y)}if(a5=="extends"||a5=="implements"||(h&&a4==",")){if(a5=="implements"){J.marked="keyword"}return av(h?k:aE,Y)}if(a4=="{"){return av(aX("}"),t,i)}}function t(a4,a5){if(a4=="async"||(a4=="variable"&&(a5=="static"||a5=="get"||a5=="set"||(h&&aB(a5)))&&J.stream.match(/^\s+[\w$\xa1-\uffff]/,false))){J.marked="keyword";return av(t)}if(a4=="variable"||J.style=="keyword"){J.marked="property";return av(h?a3:U,t)}if(a4=="["){return av(aE,af,w("]"),h?a3:U,t)}if(a5=="*"){J.marked="keyword";return av(t)}if(a4==";"){return av(t)}if(a4=="}"){return av()}if(a5=="@"){return av(aE,t)}}function a3(a4,a5){if(a5=="?"){return av(a3)}if(a4==":"){return av(k,at)}if(a5=="="){return av(aW)}return ap(U)}function aY(a4,a5){if(a5=="*"){J.marked="keyword";return av(ay,w(";"))}if(a5=="default"){J.marked="keyword";return av(aE,w(";"))}if(a4=="{"){return av(aK(ax,"}"),ay,w(";"))}return ap(aZ)}function ax(a4,a5){if(a5=="as"){J.marked="keyword";return av(w("variable"))}if(a4=="variable"){return ap(aW,ax)}}function aw(a4){if(a4=="string"){return av()}if(a4=="("){return ap(aE)}return ap(aH,n,ay)}function aH(a4,a5){if(a4=="{"){return aQ(aH,"}")}if(a4=="variable"){aO(a5)}if(a5=="*"){J.marked="keyword"}return av(m)}function n(a4){if(a4==","){return av(aH,n)}}function m(a4,a5){if(a5=="as"){J.marked="keyword";return av(aH)}}function ay(a4,a5){if(a5=="from"){J.marked="keyword";return av(aE)}}function r(a4){if(a4=="]"){return av()}return ap(aK(aW,"]"))}function aM(){return ap(aX("form"),j,w("{"),aX("}"),aK(aR,"}"),i,i)}function aR(){return ap(j,at)}function aG(a5,a4){return a5.lastType=="operator"||a5.lastType==","||Z.test(a4.charAt(0))||/[,.]/.test(a4.charAt(0))}function a1(a6,a5,a4){return a5.tokenize==ag&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(a5.lastType)||(a5.lastType=="quasi"&&/\{\s*$/.test(a6.string.slice(0,a6.pos-(a4||0))))}return{startState:function(a5){var a4={tokenize:ag,lastType:"sof",cc:[],lexical:new R((a5||0)-p,0,"block",false),localVars:aA.localVars,context:aA.localVars&&new Q(null,null,false),indented:a5||0};if(aA.globalVars&&typeof aA.globalVars=="object"){a4.globalVars=aA.globalVars}return a4},token:function(a6,a5){if(a6.sol()){if(!a5.lexical.hasOwnProperty("align")){a5.lexical.align=false}a5.indented=a6.indentation();aP(a6,a5)}if(a5.tokenize!=aS&&a6.eatSpace()){return null}var a4=a5.tokenize(a6,a5);if(ae=="comment"){return a4}a5.lastType=ae=="operator"&&(L=="++"||L=="--")?"incdec":ae;return g(a5,a4,ae,L,a6)},indent:function(a4,a7){if(a4.tokenize==aS){return a.Pass}if(a4.tokenize!=ag){return 0}var bb=a7&&a7.charAt(0),bc=a4.lexical,ba;if(!/^\s*else\b/.test(a7)){for(var a6=a4.cc.length-1;a6>=0;--a6){var a8=a4.cc[a6];if(a8==i){bc=bc.prev}else{if(a8!=d){break}}}}while((bc.type=="stat"||bc.type=="form")&&(bb=="}"||((ba=a4.cc[a4.cc.length-1])&&(ba==ar||ba==l)&&!/^[,\.=+\-*:?[\(]/.test(a7)))){bc=bc.prev}if(F&&bc.type==")"&&bc.prev.type=="stat"){bc=bc.prev}var a9=bc.type,a5=bb==a9;if(a9=="vardef"){return bc.indented+(a4.lastType=="operator"||a4.lastType==","?bc.info.length+1:0)}else{if(a9=="form"&&bb=="{"){return bc.indented}else{if(a9=="form"){return bc.indented+p}else{if(a9=="stat"){return bc.indented+(aG(a4,a7)?F||p:0)}else{if(bc.info=="switch"&&!a5&&aA.doubleIndentSwitch!=false){return bc.indented+(/^(?:case|default)\b/.test(a7)?p:2*p)}else{if(bc.align){return bc.column+(a5?0:1)}else{return bc.indented+(a5?0:p)}}}}}}},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:E?null:"/*",blockCommentEnd:E?null:"*/",blockCommentContinue:E?null:" * ",lineComment:E?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:E?"json":"javascript",jsonldMode:aT,jsonMode:E,expressionAllowed:a1,skipExpression:function(a4){var a5=a4.cc[a4.cc.length-1];if(a5==aE||a5==aW){a4.cc.pop()}}}});a.registerHelper("wordChars","javascript",/[\w$]/);a.defineMIME("text/javascript","javascript");a.defineMIME("text/ecmascript","javascript");a.defineMIME("application/javascript","javascript");a.defineMIME("application/x-javascript","javascript");a.defineMIME("application/ecmascript","javascript");a.defineMIME("application/json",{name:"javascript",json:true});a.defineMIME("application/x-json",{name:"javascript",json:true});a.defineMIME("application/ld+json",{name:"javascript",jsonld:true});a.defineMIME("text/typescript",{name:"javascript",typescript:true});a.defineMIME("application/typescript",{name:"javascript",typescript:true})});(function(a){if(typeof exports=="object"&&typeof module=="object"){a(require("../../lib/codemirror"))}else{if(typeof define=="function"&&define.amd){define(["../../lib/codemirror"],a)}else{a(CodeMirror)}}})(function(r){r.defineMode("css",function(Z,J){var D=J.inline;if(!J.propertyKeywords){J=r.resolveMode("text/css")}var Q=Z.indentUnit,A=J.tokenHooks,y=J.documentTypes||{},Y=J.mediaTypes||{},L=J.mediaFeatures||{},P=J.mediaValueKeywords||{},I=J.propertyKeywords||{},B=J.nonStandardPropertyKeywords||{},E=J.fontProperties||{},X=J.counterDescriptors||{},O=J.colorKeywords||{},T=J.valueKeywords||{},M=J.allowNested,S=J.lineComment,V=J.supportsAtComponent===true;var C,N;function aa(ad,ae){C=ae;return ad}function ac(ag,af){var ae=ag.next();if(A[ae]){var ad=A[ae](ag,af);if(ad!==false){return ad}}if(ae=="@"){ag.eatWhile(/[\w\\\-]/);return aa("def",ag.current())}else{if(ae=="="||(ae=="~"||ae=="|")&&ag.eat("=")){return aa(null,"compare")}else{if(ae=='"'||ae=="'"){af.tokenize=K(ae);return af.tokenize(ag,af)}else{if(ae=="#"){ag.eatWhile(/[\w\\\-]/);return aa("atom","hash")}else{if(ae=="!"){ag.match(/^\s*\w*/);return aa("keyword","important")}else{if(/\d/.test(ae)||ae=="."&&ag.eat(/\d/)){ag.eatWhile(/[\w.%]/);return aa("number","unit")}else{if(ae==="-"){if(/[\d.]/.test(ag.peek())){ag.eatWhile(/[\w.%]/);return aa("number","unit")}else{if(ag.match(/^-[\w\\\-]+/)){ag.eatWhile(/[\w\\\-]/);if(ag.match(/^\s*:/,false)){return aa("variable-2","variable-definition")}return aa("variable-2","variable")}else{if(ag.match(/^\w+-/)){return aa("meta","meta")}}}}else{if(/[,+>*\/]/.test(ae)){return aa(null,"select-op")}else{if(ae=="."&&ag.match(/^-?[_a-z][_a-z0-9-]*/i)){return aa("qualifier","qualifier")}else{if(/[:;{}\[\]\(\)]/.test(ae)){return aa(null,ae)}else{if(((ae=="u"||ae=="U")&&ag.match(/rl(-prefix)?\(/i))||((ae=="d"||ae=="D")&&ag.match("omain(",true,true))||((ae=="r"||ae=="R")&&ag.match("egexp(",true,true))){ag.backUp(1);af.tokenize=ab;return aa("property","word")}else{if(/[\w\\\-]/.test(ae)){ag.eatWhile(/[\w\\\-]/);return aa("property","word")}else{return aa(null,null)}}}}}}}}}}}}}function K(ad){return function(ah,af){var ag=false,ae;while((ae=ah.next())!=null){if(ae==ad&&!ag){if(ad==")"){ah.backUp(1)}break}ag=!ag&&ae=="\\"}if(ae==ad||!ag&&ad!=")"){af.tokenize=null}return aa("string","string")}}function ab(ae,ad){ae.next();if(!ae.match(/\s*[\"\')]/,false)){ad.tokenize=K(")")}else{ad.tokenize=null}return aa(null,"(")}function R(ae,ad,af){this.type=ae;this.indent=ad;this.prev=af}function G(af,ag,ae,ad){af.context=new R(ae,ag.indentation()+(ad===false?0:Q),af.context);return ae}function U(ad){if(ad.context.prev){ad.context=ad.context.prev}return ad.context.type}function z(ad,af,ae){return F[ae.context.type](ad,af,ae)}function W(ae,ag,af,ah){for(var ad=ah||1;ad>0;ad--){af.context=af.context.prev}return z(ae,ag,af)}function H(ae){var ad=ae.current().toLowerCase();if(T.hasOwnProperty(ad)){N="atom"}else{if(O.hasOwnProperty(ad)){N="keyword"}else{N="variable"}}}var F={};F.top=function(ad,af,ae){if(ad=="{"){return G(ae,af,"block")}else{if(ad=="}"&&ae.context.prev){return U(ae)}else{if(V&&/@component/i.test(ad)){return G(ae,af,"atComponentBlock")}else{if(/^@(-moz-)?document$/i.test(ad)){return G(ae,af,"documentTypes")}else{if(/^@(media|supports|(-moz-)?document|import)$/i.test(ad)){return G(ae,af,"atBlock")}else{if(/^@(font-face|counter-style)/i.test(ad)){ae.stateArg=ad;return"restricted_atBlock_before"}else{if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(ad)){return"keyframes"}else{if(ad&&ad.charAt(0)=="@"){return G(ae,af,"at")}else{if(ad=="hash"){N="builtin"}else{if(ad=="word"){N="tag"}else{if(ad=="variable-definition"){return"maybeprop"}else{if(ad=="interpolation"){return G(ae,af,"interpolation")}else{if(ad==":"){return"pseudo"}else{if(M&&ad=="("){return G(ae,af,"parens")}}}}}}}}}}}}}}return ae.context.type};F.block=function(ad,ag,ae){if(ad=="word"){var af=ag.current().toLowerCase();if(I.hasOwnProperty(af)){N="property";return"maybeprop"}else{if(B.hasOwnProperty(af)){N="string-2";return"maybeprop"}else{if(M){N=ag.match(/^\s*:(?:\s|$)/,false)?"property":"tag";return"block"}else{N+=" error";return"maybeprop"}}}}else{if(ad=="meta"){return"block"}else{if(!M&&(ad=="hash"||ad=="qualifier")){N="error";return"block"}else{return F.top(ad,ag,ae)}}}};F.maybeprop=function(ad,af,ae){if(ad==":"){return G(ae,af,"prop")}return z(ad,af,ae)};F.prop=function(ad,af,ae){if(ad==";"){return U(ae)}if(ad=="{"&&M){return G(ae,af,"propBlock")}if(ad=="}"||ad=="{"){return W(ad,af,ae)}if(ad=="("){return G(ae,af,"parens")}if(ad=="hash"&&!/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(af.current())){N+=" error"}else{if(ad=="word"){H(af)}else{if(ad=="interpolation"){return G(ae,af,"interpolation")}}}return"prop"};F.propBlock=function(ae,ad,af){if(ae=="}"){return U(af)}if(ae=="word"){N="property";return"maybeprop"}return af.context.type};F.parens=function(ad,af,ae){if(ad=="{"||ad=="}"){return W(ad,af,ae)}if(ad==")"){return U(ae)}if(ad=="("){return G(ae,af,"parens")}if(ad=="interpolation"){return G(ae,af,"interpolation")}if(ad=="word"){H(af)}return"parens"};F.pseudo=function(ad,af,ae){if(ad=="meta"){return"pseudo"}if(ad=="word"){N="variable-3";return ae.context.type}return z(ad,af,ae)};F.documentTypes=function(ad,af,ae){if(ad=="word"&&y.hasOwnProperty(af.current())){N="tag";return ae.context.type}else{return F.atBlock(ad,af,ae)}};F.atBlock=function(ad,ag,ae){if(ad=="("){return G(ae,ag,"atBlock_parens")}if(ad=="}"||ad==";"){return W(ad,ag,ae)}if(ad=="{"){return U(ae)&&G(ae,ag,M?"block":"top")}if(ad=="interpolation"){return G(ae,ag,"interpolation")}if(ad=="word"){var af=ag.current().toLowerCase();if(af=="only"||af=="not"||af=="and"||af=="or"){N="keyword"}else{if(Y.hasOwnProperty(af)){N="attribute"}else{if(L.hasOwnProperty(af)){N="property"}else{if(P.hasOwnProperty(af)){N="keyword"}else{if(I.hasOwnProperty(af)){N="property"}else{if(B.hasOwnProperty(af)){N="string-2"}else{if(T.hasOwnProperty(af)){N="atom"}else{if(O.hasOwnProperty(af)){N="keyword"}else{N="error"}}}}}}}}}return ae.context.type};F.atComponentBlock=function(ad,af,ae){if(ad=="}"){return W(ad,af,ae)}if(ad=="{"){return U(ae)&&G(ae,af,M?"block":"top",false)}if(ad=="word"){N="error"}return ae.context.type};F.atBlock_parens=function(ad,af,ae){if(ad==")"){return U(ae)}if(ad=="{"||ad=="}"){return W(ad,af,ae,2)}return F.atBlock(ad,af,ae)};F.restricted_atBlock_before=function(ad,af,ae){if(ad=="{"){return G(ae,af,"restricted_atBlock")}if(ad=="word"&&ae.stateArg=="@counter-style"){N="variable";return"restricted_atBlock_before"}return z(ad,af,ae)};F.restricted_atBlock=function(ad,af,ae){if(ad=="}"){ae.stateArg=null;return U(ae)}if(ad=="word"){if((ae.stateArg=="@font-face"&&!E.hasOwnProperty(af.current().toLowerCase()))||(ae.stateArg=="@counter-style"&&!X.hasOwnProperty(af.current().toLowerCase()))){N="error"}else{N="property"}return"maybeprop"}return"restricted_atBlock"};F.keyframes=function(ad,af,ae){if(ad=="word"){N="variable";return"keyframes"}if(ad=="{"){return G(ae,af,"top")}return z(ad,af,ae)};F.at=function(ad,af,ae){if(ad==";"){return U(ae)}if(ad=="{"||ad=="}"){return W(ad,af,ae)}if(ad=="word"){N="tag"}else{if(ad=="hash"){N="builtin"}}return"at"};F.interpolation=function(ad,af,ae){if(ad=="}"){return U(ae)}if(ad=="{"||ad==";"){return W(ad,af,ae)}if(ad=="word"){N="variable"}else{if(ad!="variable"&&ad!="("&&ad!=")"){N="error"}}return"interpolation"};return{startState:function(ad){return{tokenize:null,state:D?"block":"top",stateArg:null,context:new R(D?"block":"top",ad||0,null)}},token:function(af,ae){if(!ae.tokenize&&af.eatSpace()){return null}var ad=(ae.tokenize||ac)(af,ae);if(ad&&typeof ad=="object"){C=ad[1];ad=ad[0]}N=ad;if(C!="comment"){ae.state=F[ae.state](C,af,ae)}return N},indent:function(ah,af){var ae=ah.context,ag=af&&af.charAt(0);var ad=ae.indent;if(ae.type=="prop"&&(ag=="}"||ag==")")){ae=ae.prev}if(ae.prev){if(ag=="}"&&(ae.type=="block"||ae.type=="top"||ae.type=="interpolation"||ae.type=="restricted_atBlock")){ae=ae.prev;ad=ae.indent}else{if(ag==")"&&(ae.type=="parens"||ae.type=="atBlock_parens")||ag=="{"&&(ae.type=="at"||ae.type=="atBlock")){ad=Math.max(0,ae.indent-Q)}}}return ad},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:S,fold:"brace"}});function g(A){var z={};for(var y=0;y<A.length;++y){z[A[y].toLowerCase()]=true}return z}var k=["domain","regexp","url","url-prefix"],a=g(k);var b=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],v=g(b);var x=["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","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover"],i=g(x);var l=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],p=g(l);var d=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-blend-mode","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","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","justify-items","justify-self","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","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],h=g(d);var n=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],e=g(n);var t=["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],f=g(t);var q=["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"],u=g(q);var c=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],m=g(c);var j=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],s=g(j);var o=k.concat(b).concat(x).concat(l).concat(d).concat(n).concat(c).concat(j);r.registerHelper("hintWords","css",o);function w(B,A){var y=false,z;while((z=B.next())!=null){if(y&&z=="/"){A.tokenize=null;break}y=(z=="*")}return["comment","comment"]}r.defineMIME("text/css",{documentTypes:a,mediaTypes:v,mediaFeatures:i,mediaValueKeywords:p,propertyKeywords:h,nonStandardPropertyKeywords:e,fontProperties:f,counterDescriptors:u,colorKeywords:m,valueKeywords:s,tokenHooks:{"/":function(z,y){if(!z.eat("*")){return false}y.tokenize=w;return w(z,y)}},name:"css"});r.defineMIME("text/x-scss",{mediaTypes:v,mediaFeatures:i,mediaValueKeywords:p,propertyKeywords:h,nonStandardPropertyKeywords:e,colorKeywords:m,valueKeywords:s,fontProperties:f,allowNested:true,lineComment:"//",tokenHooks:{"/":function(z,y){if(z.eat("/")){z.skipToEnd();return["comment","comment"]}else{if(z.eat("*")){y.tokenize=w;return w(z,y)}else{return["operator","operator"]}}},":":function(y){if(y.match(/\s*\{/,false)){return[null,null]}return false},"$":function(y){y.match(/^[\w-]+/);if(y.match(/^\s*:/,false)){return["variable-2","variable-definition"]}return["variable-2","variable"]},"#":function(y){if(!y.eat("{")){return false}return[null,"interpolation"]}},name:"css",helperType:"scss"});r.defineMIME("text/x-less",{mediaTypes:v,mediaFeatures:i,mediaValueKeywords:p,propertyKeywords:h,nonStandardPropertyKeywords:e,colorKeywords:m,valueKeywords:s,fontProperties:f,allowNested:true,lineComment:"//",tokenHooks:{"/":function(z,y){if(z.eat("/")){z.skipToEnd();return["comment","comment"]}else{if(z.eat("*")){y.tokenize=w;return w(z,y)}else{return["operator","operator"]}}},"@":function(y){if(y.eat("{")){return[null,"interpolation"]}if(y.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,false)){return false}y.eatWhile(/[\w\\\-]/);if(y.match(/^\s*:/,false)){return["variable-2","variable-definition"]}return["variable-2","variable"]},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"});r.defineMIME("text/x-gss",{documentTypes:a,mediaTypes:v,mediaFeatures:i,propertyKeywords:h,nonStandardPropertyKeywords:e,fontProperties:f,counterDescriptors:u,colorKeywords:m,valueKeywords:s,supportsAtComponent:true,tokenHooks:{"/":function(z,y){if(!z.eat("*")){return false}y.tokenize=w;return w(z,y)}},name:"css",helperType:"gss"})});(function(a){if(typeof exports=="object"&&typeof module=="object"){a(require("../../lib/codemirror"),require("../xml/xml"),require("../javascript/javascript"),require("../css/css"))}else{if(typeof define=="function"&&define.amd){define(["../../lib/codemirror","../xml/xml","../javascript/javascript","../css/css"],a)}else{a(CodeMirror)}}})(function(d){var g={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]};function f(n,j,k){var m=n.current(),l=m.search(j);if(l>-1){n.backUp(m.length-l)}else{if(m.match(/<\/?$/)){n.backUp(m.length);if(!n.match(j,false)){n.match(m)}}}return k}var e={};function c(j){var k=e[j];if(k){return k}return e[j]=new RegExp("\\s+"+j+"\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*")}function a(l,j){var k=l.match(c(j));return k?/^\s*(.*?)\s*$/.exec(k[2])[1]:""}function i(k,j){return new RegExp((j?"^":"")+"</s*"+k+"s*>","i")}function h(o,n){for(var j in o){var k=n[j]||(n[j]=[]);var m=o[j];for(var l=m.length-1;l>=0;l--){k.unshift(m[l])}}}function b(l,m){for(var k=0;k<l.length;k++){var j=l[k];if(!j[0]||j[1].test(a(m,j[0]))){return j[2]}}}d.defineMode("htmlmixed",function(k,o){var q=d.getMode(k,{name:"xml",htmlMode:true,multilineTagIndentFactor:o.multilineTagIndentFactor,multilineTagIndentPastTag:o.multilineTagIndentPastTag});var j={};var p=o&&o.tags,n=o&&o.scriptTypes;h(g,j);if(p){h(p,j)}if(n){for(var m=n.length-1;m>=0;m--){j.script.unshift(["type",n[m].matches,n[m].mode])}}function l(z,r){var s=q.token(z,r.htmlState),A=/\btag\b/.test(s),u;if(A&&!/[<>\s\/]/.test(z.current())&&(u=r.htmlState.tagName&&r.htmlState.tagName.toLowerCase())&&j.hasOwnProperty(u)){r.inTag=u+" "}else{if(r.inTag&&A&&/>$/.test(z.current())){var t=/^([\S]+) (.*)/.exec(r.inTag);r.inTag=null;var y=z.current()==">"&&b(j[t[1]],t[2]);var x=d.getMode(k,y);var w=i(t[1],true),v=i(t[1],false);r.token=function(C,B){if(C.match(w,false)){B.token=l;B.localState=B.localMode=null;return null}return f(C,v,B.localMode.token(C,B.localState))};r.localMode=x;r.localState=d.startState(x,q.indent(r.htmlState,""))}else{if(r.inTag){r.inTag+=z.current();if(z.eol()){r.inTag+=" "}}}}return s}return{startState:function(){var r=d.startState(q);return{token:l,inTag:null,localMode:null,localState:null,htmlState:r}},copyState:function(s){var r;if(s.localState){r=d.copyState(s.localMode,s.localState)}return{token:s.token,inTag:s.inTag,localMode:s.localMode,localState:r,htmlState:d.copyState(q,s.htmlState)}},token:function(s,r){return r.token(s,r)},indent:function(t,s,r){if(!t.localMode||/^\s*<\//.test(s)){return q.indent(t.htmlState,s)}else{if(t.localMode.indent){return t.localMode.indent(t.localState,s,r)}else{return d.Pass}}},innerMode:function(r){return{state:r.localState||r.htmlState,mode:r.localMode||q}}}},"xml","javascript","css");d.defineMIME("text/html","htmlmixed")});CodeMirror.defineMode("bbcodemixed",function(c){var f,e,g,d,h=CodeMirror.getMode(c,"htmlmixed"),b=CodeMirror.getMode(c,"bbcode"),f={bbCodeLiteral:"literal"};if(c.hasOwnProperty("bbCodeLiteral")){f.bbCodeLiteral=c.bbCodeLiteral}function a(i){return i.replace(/([\[\]\.\-\+\<\>\?\:\(\)\{\}])/g,"\\$1")}e={hasLeftDelimeter:/.*\[/,htmlHasLeftDelimeter:/[^\<\>]*\[/,literalOpen:new RegExp(a("["+f.bbCodeLiteral+"]")),literalClose:new RegExp(a("[/"+f.bbCodeLiteral+"]"))};g={chain:function(j,i,k){i.tokenize=k;return k(j,i)},cleanChain:function(j,i,k){i.tokenize=null;i.localState=null;i.localMode=null;return(typeof k=="string")?(k?k:null):k(j,i)},maybeBackup:function(o,j,k){j=a(j);var n=o.current();var l=n.search(j),i;if(l>-1){o.backUp(n.length-l)}else{if(i=n.match(/<\/?$/)){o.backUp(n.length);if(!o.match(j,false)){o.match(n[0])}}}return k}};d={html:function(j,i){if(!i.inLiteral&&j.match(e.htmlHasLeftDelimeter,false)&&i.htmlMixedState.htmlState.tagName===null){i.tokenize=d.bbcode;i.localMode=b;i.localState=b.startState(h.indent(i.htmlMixedState,""));return g.maybeBackup(j,"[",b.token(j,i.localState))}else{if(!i.inLiteral&&j.match("[",false)){i.tokenize=d.bbcode;i.localMode=b;i.localState=b.startState(h.indent(i.htmlMixedState,""));return g.maybeBackup(j,"[",b.token(j,i.localState))}}return h.token(j,i.htmlMixedState)},bbcode:function(j,i){if(j.match("]",false)){j.eat("]");i.tokenize=d.html;i.localMode=h;i.localState=i.htmlMixedState;return"tag"}return g.maybeBackup(j,"]",b.token(j,i.localState))},inBlock:function(j,i){return function(l,k){while(!l.eol()){if(l.match(i)){g.cleanChain(l,k,"");break}l.next()}return j}}};return{startState:function(){var i=h.startState();return{token:d.html,localMode:null,localState:null,htmlMixedState:i,tokenize:null,inLiteral:false}},copyState:function(k){var j=null,i=(k.tokenize||k.token);if(k.localState){j=CodeMirror.copyState((i!=d.html?b:h),k.localState)}return{token:k.token,tokenize:k.tokenize,localMode:k.localMode,localState:j,htmlMixedState:CodeMirror.copyState(h,k.htmlMixedState),inLiteral:k.inLiteral}},token:function(k,j){if(k.match("[",false)){if(!j.inLiteral&&k.match(e.literalOpen,true)){j.inLiteral=true;return"keyword"}else{if(j.inLiteral&&k.match(e.literalClose,true)){j.inLiteral=false;return"keyword"}}}if(j.inLiteral&&j.localState!=j.htmlMixedState){j.tokenize=d.html;j.localMode=h;j.localState=j.htmlMixedState}var i=(j.tokenize||j.token)(k,j);return i},indent:function(j,i){if(j.localMode==b||(j.inLiteral&&!j.localMode)||e.hasLeftDelimeter.test(i)){return CodeMirror.Pass}return h.indent(j.htmlMixedState,i)},innerMode:function(i){return{state:i.localState||i.htmlMixedState,mode:i.localMode||h}}}},"xml","javascript","css");CodeMirror.defineMIME("text/x-bbcode","bbcodemixed");
