!function(e){if(!(void 0!==e.window&&e.document||e.require&&e.define)){e.console||(e.console=function(){var e=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:e})},e.console.error=e.console.warn=e.console.log=e.console.trace=e.console),e.window=e,e.ace=e,e.onerror=function(e,t,r,n,a){postMessage({type:"error",data:{message:e,data:a&&a.data,file:t,line:r,col:n,stack:a&&a.stack}})},e.normalizeModule=function(t,r){if(-1!==r.indexOf("!")){var n=r.split("!");return e.normalizeModule(t,n[0])+"!"+e.normalizeModule(t,n[1])}if("."==r.charAt(0)){var a=t.split("/").slice(0,-1).join("/");for(r=(a?a+"/":"")+r;-1!==r.indexOf(".")&&o!=r;){var o=r;r=r.replace(/^\.\//,"").replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return r},e.require=function(t,r){if(r||(r=t,t=null),!r.charAt)throw new Error("worker.js require() accepts only (parentId, id) as arguments");r=e.normalizeModule(t,r);var n=e.require.modules[r];if(n)return n.initialized||(n.initialized=!0,n.exports=n.factory().exports),n.exports;if(!e.require.tlns)return console.log("unable to load "+r);var a=function(e,t){var r=e,n="";for(;r;){var a=t[r];if("string"==typeof a)return a+n;if(a)return a.location.replace(/\/*$/,"/")+(n||a.main||a.name);if(!1===a)return"";var o=r.lastIndexOf("/");if(-1===o)break;n=r.substr(o)+n,r=r.slice(0,o)}return e}(r,e.require.tlns);return".js"!=a.slice(-3)&&(a+=".js"),e.require.id=r,e.require.modules[r]={},importScripts(a),e.require(t,r)},e.require.modules={},e.require.tlns={},e.define=function(t,r,n){if(2==arguments.length?(n=r,"string"!=typeof t&&(r=t,t=e.require.id)):1==arguments.length&&(n=t,r=[],t=e.require.id),"function"==typeof n){r.length||(r=["require","exports","module"]);var a=function(r){return e.require(t,r)};e.require.modules[t]={exports:{},factory:function(){var e=this,t=n.apply(this,r.slice(0,n.length).map((function(t){switch(t){case"require":return a;case"exports":return e.exports;case"module":return e;default:return a(t)}})));return t&&(e.exports=t),e}}}else e.require.modules[t]={exports:n,initialized:!0}},e.define.amd={},e.require.tlns={},e.initBaseUrls=function(e){for(var t in e)this.require.tlns[t]=e[t]},e.initSender=function(){var t=e.require("ace/lib/event_emitter").EventEmitter,r=e.require("ace/lib/oop"),n=function(){};return function(){r.implement(this,t),this.callback=function(e,t){postMessage({type:"call",id:t,data:e})},this.emit=function(e,t){postMessage({type:"event",name:e,data:t})}}.call(n.prototype),new n};var t=e.main=null,r=e.sender=null;e.onmessage=function(n){var a=n.data;if(a.event&&r)r._signal(a.event,a.data);else if(a.command)if(t[a.command])t[a.command].apply(t,a.args);else{if(!e[a.command])throw new Error("Unknown command:"+a.command);e[a.command].apply(e,a.args)}else if(a.init){e.initBaseUrls(a.tlns),r=e.sender=e.initSender();var o=this.require(a.module)[a.classname];t=e.main=new o(r)}}}}(this),ace.define("ace/lib/oop",[],(function(e,t,r){"use strict";t.inherits=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})},t.mixin=function(e,t){for(var r in t)e[r]=t[r];return e},t.implement=function(e,r){t.mixin(e,r)}})),ace.define("ace/lib/lang",[],(function(e,t,r){"use strict";t.last=function(e){return e[e.length-1]},t.stringReverse=function(e){return e.split("").reverse().join("")},t.stringRepeat=function(e,t){for(var r="";t>0;)1&t&&(r+=e),(t>>=1)&&(e+=e);return r};var n=/^\s\s*/,a=/\s\s*$/;t.stringTrimLeft=function(e){return e.replace(n,"")},t.stringTrimRight=function(e){return e.replace(a,"")},t.copyObject=function(e){var t={};for(var r in e)t[r]=e[r];return t},t.copyArray=function(e){for(var t=[],r=0,n=e.length;r ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(e,t){return 0==this.compare(e,t)},this.compareRange=function(e){var t,r=e.end,n=e.start;return 1==(t=this.compare(r.row,r.column))?1==(t=this.compare(n.row,n.column))?2:0==t?1:0:-1==t?-2:-1==(t=this.compare(n.row,n.column))?-1:1==t?42:0},this.comparePoint=function(e){return this.compare(e.row,e.column)},this.containsRange=function(e){return 0==this.comparePoint(e.start)&&0==this.comparePoint(e.end)},this.intersects=function(e){var t=this.compareRange(e);return-1==t||0==t||1==t},this.isEnd=function(e,t){return this.end.row==e&&this.end.column==t},this.isStart=function(e,t){return this.start.row==e&&this.start.column==t},this.setStart=function(e,t){"object"==typeof e?(this.start.column=e.column,this.start.row=e.row):(this.start.row=e,this.start.column=t)},this.setEnd=function(e,t){"object"==typeof e?(this.end.column=e.column,this.end.row=e.row):(this.end.row=e,this.end.column=t)},this.inside=function(e,t){return 0==this.compare(e,t)&&(!this.isEnd(e,t)&&!this.isStart(e,t))},this.insideStart=function(e,t){return 0==this.compare(e,t)&&!this.isEnd(e,t)},this.insideEnd=function(e,t){return 0==this.compare(e,t)&&!this.isStart(e,t)},this.compare=function(e,t){return this.isMultiLine()||e!==this.start.row?ethis.end.row?1:this.start.row===e?t>=this.start.column?0:-1:this.end.row===e?t<=this.end.column?0:1:0:tthis.end.column?1:0},this.compareStart=function(e,t){return this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.compareEnd=function(e,t){return this.end.row==e&&this.end.column==t?1:this.compare(e,t)},this.compareInside=function(e,t){return this.end.row==e&&this.end.column==t?1:this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.clipRows=function(e,t){if(this.end.row>t)var r={row:t+1,column:0};else if(this.end.rowt)var a={row:t+1,column:0};else if(this.start.rowthis.row)){var r=function(t,r,n){var a="insert"==t.action,o=(a?1:-1)*(t.end.row-t.start.row),i=(a?1:-1)*(t.end.column-t.start.column),s=t.start,c=a?s:t.end;if(e(r,s,n))return{row:r.row,column:r.column};if(e(c,r,!n))return{row:r.row+o,column:r.column+(r.row==c.row?i:0)};return{row:s.row,column:s.column}}(t,{row:this.row,column:this.column},this.$insertRight);this.setPosition(r.row,r.column,!0)}},this.setPosition=function(e,t,r){var n;if(n=r?{row:e,column:t}:this.$clipPositionToDocument(e,t),this.row!=n.row||this.column!=n.column){var a={row:this.row,column:this.column};this.row=n.row,this.column=n.column,this._signal("change",{old:a,value:n})}},this.detach=function(){this.document.off("change",this.$onChange)},this.attach=function(e){this.document=e||this.document,this.document.on("change",this.$onChange)},this.$clipPositionToDocument=function(e,t){var r={};return e>=this.document.getLength()?(r.row=Math.max(0,this.document.getLength()-1),r.column=this.document.getLine(r.row).length):e<0?(r.row=0,r.column=0):(r.row=e,r.column=Math.min(this.document.getLine(r.row).length,Math.max(0,t))),t<0&&(r.column=0),r}}).call(o.prototype)})),ace.define("ace/document",[],(function(e,t,r){"use strict";var n=e("./lib/oop"),a=e("./apply_delta").applyDelta,o=e("./lib/event_emitter").EventEmitter,i=e("./range").Range,s=e("./anchor").Anchor,c=function(e){this.$lines=[""],0===e.length?this.$lines=[""]:Array.isArray(e)?this.insertMergedLines({row:0,column:0},e):this.insert({row:0,column:0},e)};(function(){n.implement(this,o),this.setValue=function(e){var t=this.getLength()-1;this.remove(new i(0,0,t,this.getLine(t).length)),this.insert({row:0,column:0},e)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(e,t){return new s(this,e,t)},0==="aaa".split(/a/).length?this.$split=function(e){return e.replace(/\r\n|\r/g,"\n").split("\n")}:this.$split=function(e){return e.split(/\r\n|\r|\n/)},this.$detectNewLine=function(e){var t=e.match(/^.*?(\r\n|\r|\n)/m);this.$autoNewLine=t?t[1]:"\n",this._signal("changeNewLineMode")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\r\n";case"unix":return"\n";default:return this.$autoNewLine||"\n"}},this.$autoNewLine="",this.$newLineMode="auto",this.setNewLineMode=function(e){this.$newLineMode!==e&&(this.$newLineMode=e,this._signal("changeNewLineMode"))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(e){return"\r\n"==e||"\r"==e||"\n"==e},this.getLine=function(e){return this.$lines[e]||""},this.getLines=function(e,t){return this.$lines.slice(e,t+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(e){return this.getLinesForRange(e).join(this.getNewLineCharacter())},this.getLinesForRange=function(e){var t;if(e.start.row===e.end.row)t=[this.getLine(e.start.row).substring(e.start.column,e.end.column)];else{(t=this.getLines(e.start.row,e.end.row))[0]=(t[0]||"").substring(e.start.column);var r=t.length-1;e.end.row-e.start.row==r&&(t[r]=t[r].substring(0,e.end.column))}return t},this.insertLines=function(e,t){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(e,t)},this.removeLines=function(e,t){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(e,t)},this.insertNewLine=function(e){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead."),this.insertMergedLines(e,["",""])},this.insert=function(e,t){return this.getLength()<=1&&this.$detectNewLine(t),this.insertMergedLines(e,this.$split(t))},this.insertInLine=function(e,t){var r=this.clippedPos(e.row,e.column),n=this.pos(e.row,e.column+t.length);return this.applyDelta({start:r,end:n,action:"insert",lines:[t]},!0),this.clonePos(n)},this.clippedPos=function(e,t){var r=this.getLength();void 0===e?e=r:e<0?e=0:e>=r&&(e=r-1,t=void 0);var n=this.getLine(e);return null==t&&(t=n.length),{row:e,column:t=Math.min(Math.max(t,0),n.length)}},this.clonePos=function(e){return{row:e.row,column:e.column}},this.pos=function(e,t){return{row:e,column:t}},this.$clipPosition=function(e){var t=this.getLength();return e.row>=t?(e.row=Math.max(0,t-1),e.column=this.getLine(t-1).length):(e.row=Math.max(0,e.row),e.column=Math.min(Math.max(e.column,0),this.getLine(e.row).length)),e},this.insertFullLines=function(e,t){var r=0;(e=Math.min(Math.max(e,0),this.getLength()))0,n=t=0&&this.applyDelta({start:this.pos(e,this.getLine(e).length),end:this.pos(e+1,0),action:"remove",lines:["",""]})},this.replace=function(e,t){return e instanceof i||(e=i.fromPoints(e.start,e.end)),0===t.length&&e.isEmpty()?e.start:t==this.getTextRange(e)?e.end:(this.remove(e),t?this.insert(e.start,t):e.start)},this.applyDeltas=function(e){for(var t=0;t=0;t--)this.revertDelta(e[t])},this.applyDelta=function(e,t){var r="insert"==e.action;(r?e.lines.length<=1&&!e.lines[0]:!i.comparePoints(e.start,e.end))||(r&&e.lines.length>2e4?this.$splitAndapplyLargeDelta(e,2e4):(a(this.$lines,e,t),this._signal("change",e)))},this.$safeApplyDelta=function(e){var t=this.$lines.length;("remove"==e.action&&e.start.row=t.$lines.length)throw(s=new Error("Invalid delta")).data={path:o.$path,linesLength:t.$lines.length,start:i.start,end:i.end},s;t.applyDelta(i,!0)}if(o.$timeout)return r.schedule(o.$timeout);o.onUpdate()}))};(function(){this.$timeout=500,this.setTimeout=function(e){this.$timeout=e},this.setValue=function(e){this.doc.setValue(e),this.deferredUpdate.schedule(this.$timeout)},this.getValue=function(e){this.sender.callback(this.doc.getValue(),e)},this.onUpdate=function(){},this.isPending=function(){return this.deferredUpdate.isPending()}}).call(o.prototype)})),ace.define("ace/mode/html/saxparser",[],(function(e,t,r){r.exports=function t(r,n,a){function o(s,c){if(!n[s]){if(!r[s]){var l="function"==typeof e&&e;if(!c&&l)return l(s,!0);if(i)return i(s,!0);throw new Error("Cannot find module '"+s+"'")}var d=n[s]={exports:{}};r[s][0].call(d.exports,(function(e){var t=r[s][1][e];return o(t||e)}),d,d.exports,t,r,n,a)}return n[s].exports}for(var i="function"==typeof e&&e,s=0;s=0;r--){var n=this.elements[r];if(n.localName===e)return!0;if(t(n))return!1}},c.prototype.push=function(e){this.elements.push(e)},c.prototype.pushHtmlElement=function(e){this.rootNode=e.node,this.push(e)},c.prototype.pushHeadElement=function(e){this.headElement=e.node,this.push(e)},c.prototype.pushBodyElement=function(e){this.bodyElement=e.node,this.push(e)},c.prototype.pop=function(){return this.elements.pop()},c.prototype.remove=function(e){this.elements.splice(this.elements.indexOf(e),1)},c.prototype.popUntilPopped=function(e){var t;do{t=this.pop()}while(t.localName!=e)},c.prototype.popUntilTableScopeMarker=function(){for(;!o(this.top);)this.pop()},c.prototype.popUntilTableBodyScopeMarker=function(){for(;!("http://www.w3.org/1999/xhtml"===(e=this.top).namespaceURI&&"tbody"===e.localName||"http://www.w3.org/1999/xhtml"===e.namespaceURI&&"tfoot"===e.localName||"http://www.w3.org/1999/xhtml"===e.namespaceURI&&"thead"===e.localName||"http://www.w3.org/1999/xhtml"===e.namespaceURI&&"html"===e.localName);)this.pop();var e},c.prototype.popUntilTableRowScopeMarker=function(){for(;!("http://www.w3.org/1999/xhtml"===(e=this.top).namespaceURI&&"tr"===e.localName||"http://www.w3.org/1999/xhtml"===e.namespaceURI&&"html"===e.localName);)this.pop();var e},c.prototype.item=function(e){return this.elements[e]},c.prototype.contains=function(e){return-1!==this.elements.indexOf(e)},c.prototype.inScope=function(e){return this._inScope(e,n)},c.prototype.inListItemScope=function(e){return this._inScope(e,a)},c.prototype.inTableScope=function(e){return this._inScope(e,o)},c.prototype.inButtonScope=function(e){return this._inScope(e,i)},c.prototype.inSelectScope=function(e){return this._inScope(e,s)},c.prototype.hasNumberedHeaderElementInScope=function(){for(var e=this.elements.length-1;e>=0;e--){var t=this.elements[e];if(t.isNumberedHeader())return!0;if(n(t))return!1}},c.prototype.furthestBlockForFormattingElement=function(e){for(var t=null,r=this.elements.length-1;r>=0;r--){var n=this.elements[r];if(n.node===e)break;n.isSpecial()&&(t=n)}return t},c.prototype.findIndex=function(e){for(var t=this.elements.length-1;t>=0;t--)if(this.elements[t].localName==e)return t;return-1},c.prototype.remove_openElements_until=function(e){for(var t,r=!1;!r;)r=e(t=this.elements.pop());return t},Object.defineProperty(c.prototype,"top",{get:function(){return this.elements[this.elements.length-1]}}),Object.defineProperty(c.prototype,"length",{get:function(){return this.elements.length}}),r.ElementStack=c},{}],2:[function(e,t,r){var n=e("html5-entities"),a=e("./InputStream").InputStream,o={};function i(e){return e>="0"&&e<="9"||e>="a"&&e<="f"||e>="A"&&e<="F"}function s(e){return e>="0"&&e<="9"}Object.keys(n).forEach((function(e){for(var t=0;t65535&&m<=1114111){var f=55296+((1047552&(m-=65536))>>10),T=56320+(1023&m);l=String.fromCharCode(f,T)}else l=String.fromCharCode(m);return";"!==p&&(t._parseError("numeric-entity-without-semicolon"),e.unget(p)),l}return e.unget(d),t._parseError("expected-numeric-entity"),!1}if(p>="a"&&p<="z"||p>="A"&&p<="Z"){for(var b="";o[d]&&(n[d]&&(b=d),";"!=p)&&(p=e.char())!==a.EOF;)d+=p;return b?(l=n[b],";"!==p&&r&&((c=p)>="0"&&c<="9"||c>="a"&&c<="z"||c>="A"&&c<="Z"||"="===p)?(e.unget(d),!1):(d.length>b.length&&e.unget(d.substring(b.length)),";"!==p&&t._parseError("named-entity-without-semicolon"),l)):(t._parseError("expected-named-entity"),e.unget(d),!1)}},replaceEntityNumbers:function(e){switch(e){case 0:return 65533;case 19:return 16;case 128:return 8364;case 129:return 129;case 130:return 8218;case 131:return 402;case 132:return 8222;case 133:return 8230;case 134:return 8224;case 135:return 8225;case 136:return 710;case 137:return 8240;case 138:return 352;case 139:return 8249;case 140:return 338;case 141:return 141;case 142:return 381;case 143:return 143;case 144:return 144;case 145:return 8216;case 146:return 8217;case 147:return 8220;case 148:return 8221;case 149:return 8226;case 150:return 8211;case 151:return 8212;case 152:return 732;case 153:return 8482;case 154:return 353;case 155:return 8250;case 156:return 339;case 157:return 157;case 158:return 382;case 159:return 376;default:if(e>=55296&&e<=57343||e>1114111)return 65533;if(e>=1&&e<=8||e>=14&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||11==e||65534==e||131070==e||3145726==e||196607==e||262142==e||262143==e||327678==e||327679==e||393214==e||393215==e||458750==e||458751==e||524286==e||524287==e||589822==e||589823==e||655358==e||655359==e||720894==e||720895==e||786430==e||786431==e||851966==e||851967==e||917502==e||917503==e||983038==e||983039==e||1048574==e||1048575==e||1114110==e||1114111==e)return e}}};r.EntityParser=c},{"./InputStream":3,"html5-entities":12}],3:[function(e,t,r){function n(){this.data="",this.start=0,this.committed=0,this.eof=!1,this.lastLocation={line:0,column:0}}n.EOF=-1,n.DRAIN=-2,n.prototype={slice:function(){if(this.start>=this.data.length){if(!this.eof)throw n.DRAIN;return n.EOF}return this.data.slice(this.start,this.data.length)},char:function(){if(!this.eof&&this.start>=this.data.length-1)throw n.DRAIN;if(this.start>=this.data.length)return n.EOF;var e=this.data[this.start++];return"\r"===e&&(e="\n"),e},advance:function(e){if(this.start+=e,this.start>=this.data.length){if(!this.eof)throw n.DRAIN;return n.EOF}this.committed>this.data.length/2&&(this.lastLocation=this.location(),this.data=this.data.slice(this.committed),this.start=this.start-this.committed,this.committed=0)},matchWhile:function(e){if(this.eof&&this.start>=this.data.length)return"";var t=new RegExp("^"+e+"+").exec(this.slice());if(t){if(!this.eof&&t[0].length==this.data.length-this.start)throw n.DRAIN;return this.advance(t[0].length),t[0]}return""},matchUntil:function(e){var t,r;if((r=this.slice())===n.EOF)return"";if(t=new RegExp(e+(this.eof?"|$":"")).exec(r)){var a=this.data.slice(this.start,this.start+t.index);return this.advance(t.index),a.replace(/\r/g,"\n").replace(/\n{2,}/g,"\n")}throw n.DRAIN},append:function(e){this.data+=e},shift:function(e){if(!this.eof&&this.start+e>=this.data.length)throw n.DRAIN;if(this.eof&&this.start>=this.data.length)return n.EOF;var t=this.data.slice(this.start,this.start+e).toString();return this.advance(Math.min(e,this.data.length-this.start)),t},peek:function(e){if(!this.eof&&this.start+e>=this.data.length)throw n.DRAIN;return this.eof&&this.start>=this.data.length?n.EOF:this.data.slice(this.start,Math.min(this.start+e,this.data.length)).toString()},length:function(){return this.data.length-this.start-1},unget:function(e){e!==n.EOF&&(this.start-=e.length)},undo:function(){this.start=this.committed},commit:function(){this.committed=this.start},location:function(){var e=this.lastLocation.line,t=this.lastLocation.column,r=this.data.slice(0,this.committed),n=r.match(/\n/g);return{line:n?e+n.length:e,column:n?r.length-r.lastIndexOf("\n")-1:t+r.length}}},r.InputStream=n},{}],4:[function(e,t,r){var n={"http://www.w3.org/1999/xhtml":["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],"http://www.w3.org/1998/Math/MathML":["mi","mo","mn","ms","mtext","annotation-xml"],"http://www.w3.org/2000/svg":["foreignObject","desc","title"]};function a(e,t,r,n){this.localName=t,this.namespaceURI=e,this.attributes=r,this.node=n}a.prototype.isSpecial=function(){return this.namespaceURI in n&&n[this.namespaceURI].indexOf(this.localName)>-1},a.prototype.isFosterParenting=function(){return"http://www.w3.org/1999/xhtml"===this.namespaceURI&&("table"===this.localName||"tbody"===this.localName||"tfoot"===this.localName||"thead"===this.localName||"tr"===this.localName)},a.prototype.isNumberedHeader=function(){return"http://www.w3.org/1999/xhtml"===this.namespaceURI&&("h1"===this.localName||"h2"===this.localName||"h3"===this.localName||"h4"===this.localName||"h5"===this.localName||"h6"===this.localName)},a.prototype.isForeign=function(){return"http://www.w3.org/1999/xhtml"!=this.namespaceURI},a.prototype.isHtmlIntegrationPoint=function(){if("http://www.w3.org/1998/Math/MathML"===this.namespaceURI){if("annotation-xml"!==this.localName)return!1;var e=function(e,t){for(var r=0;r="A"&&e<="Z"||e>="a"&&e<="z"}function s(e){this._tokenHandler=e,this._state=s.DATA,this._inputStream=new n,this._currentToken=null,this._temporaryBuffer="",this._additionalAllowedCharacter=""}s.prototype._parseError=function(e,t){this._tokenHandler.parseError(e,t)},s.prototype._emitToken=function(e){if("StartTag"===e.type)for(var t=1;t"===a&&n?(t._currentToken={type:"EndTag",name:this._temporaryBuffer,data:[],selfClosing:!1},t._emitCurrentToken(),t.setState(r)):i(a)?(this._temporaryBuffer+=a,e.commit()):(t._emitToken({type:"Characters",data:""===a&&n?(t._currentToken={type:"EndTag",name:this._temporaryBuffer,data:[],selfClosing:!1},t._emitCurrentToken(),t.setState(r)):i(a)?(this._temporaryBuffer+=a,e.commit()):(t._emitToken({type:"Characters",data:""===n&&r?(t._currentToken={type:"EndTag",name:"script",data:[],selfClosing:!1},t._emitCurrentToken()):i(n)?(this._temporaryBuffer+=n,e.commit()):(t._emitToken({type:"Characters",data:""===a?(t._emitToken({type:"Characters",data:">"}),t.setState(u)):"\0"===a?(t._parseError("invalid-codepoint"),t._emitToken({type:"Characters",data:"�"}),t.setState(k)):(t._emitToken({type:"Characters",data:a}),t.setState(k)),!0}function C(e){var r=e.char();return"/"===r?(this._temporaryBuffer="",t.setState(N)):i(r)?(t._emitToken({type:"Characters",data:"<"+r}),this._temporaryBuffer=r,t.setState(O)):(t._emitToken({type:"Characters",data:"<"}),e.unget(r),t.setState(k)),!0}function N(e){var r=e.char();return i(r)?(this._temporaryBuffer=r,t.setState(I)):(t._emitToken({type:"Characters",data:""===a&&n?(t._currentToken={type:"EndTag",name:"script",data:[],selfClosing:!1},t.setState(r),t._emitCurrentToken()):i(a)?(this._temporaryBuffer+=a,e.commit()):(t._emitToken({type:"Characters",data:""===r?(t._emitToken({type:"Characters",data:r}),"script"===this._temporaryBuffer.toLowerCase()?t.setState(M):t.setState(k)):i(r)?(t._emitToken({type:"Characters",data:r}),this._temporaryBuffer+=r,e.commit()):(e.unget(r),t.setState(k)),!0}function M(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-script"),e.unget(a),t.setState(r)):"-"===a?(t._emitToken({type:"Characters",data:"-"}),t.setState(F)):"<"===a?(t._emitToken({type:"Characters",data:"<"}),t.setState(A)):"\0"===a?(t._parseError("invalid-codepoint"),t._emitToken({type:"Characters",data:"�"}),e.commit()):(t._emitToken({type:"Characters",data:a}),e.commit()),!0}function F(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-script"),e.unget(a),t.setState(r)):"-"===a?(t._emitToken({type:"Characters",data:"-"}),t.setState(L)):"<"===a?(t._emitToken({type:"Characters",data:"<"}),t.setState(A)):"\0"===a?(t._parseError("invalid-codepoint"),t._emitToken({type:"Characters",data:"�"}),t.setState(M)):(t._emitToken({type:"Characters",data:a}),t.setState(M)),!0}function L(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-script"),e.unget(a),t.setState(r)):"-"===a?(t._emitToken({type:"Characters",data:"-"}),e.commit()):"<"===a?(t._emitToken({type:"Characters",data:"<"}),t.setState(A)):">"===a?(t._emitToken({type:"Characters",data:">"}),t.setState(u)):"\0"===a?(t._parseError("invalid-codepoint"),t._emitToken({type:"Characters",data:"�"}),t.setState(M)):(t._emitToken({type:"Characters",data:a}),t.setState(M)),!0}function A(e){var r=e.char();return"/"===r?(t._emitToken({type:"Characters",data:"/"}),this._temporaryBuffer="",t.setState(B)):(e.unget(r),t.setState(M)),!0}function B(e){var r=e.char();return o(r)||"/"===r||">"===r?(t._emitToken({type:"Characters",data:r}),"script"===this._temporaryBuffer.toLowerCase()?t.setState(k):t.setState(M)):i(r)?(t._emitToken({type:"Characters",data:r}),this._temporaryBuffer+=r,e.commit()):(e.unget(r),t.setState(M)),!0}function q(e){var a=e.char();return a===n.EOF?(t._parseError("bare-less-than-sign-at-eof"),t._emitToken({type:"Characters",data:"<"}),e.unget(a),t.setState(r)):i(a)?(t._currentToken={type:"StartTag",name:a.toLowerCase(),data:[]},t.setState(D)):"!"===a?t.setState(X):"/"===a?t.setState(H):">"===a?(t._parseError("expected-tag-name-but-got-right-bracket"),t._emitToken({type:"Characters",data:"<>"}),t.setState(r)):"?"===a?(t._parseError("expected-tag-name-but-got-question-mark"),e.unget(a),t.setState(W)):(t._parseError("expected-tag-name"),t._emitToken({type:"Characters",data:"<"}),e.unget(a),t.setState(r)),!0}function H(e){var a=e.char();return a===n.EOF?(t._parseError("expected-closing-tag-but-got-eof"),t._emitToken({type:"Characters",data:""===a?(t._parseError("expected-closing-tag-but-got-right-bracket"),t.setState(r)):(t._parseError("expected-closing-tag-but-got-char",{data:a}),e.unget(a),t.setState(W)),!0}function D(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-tag-name"),e.unget(a),t.setState(r)):o(a)?t.setState(R):i(a)?t._currentToken.name+=a.toLowerCase():">"===a?t._emitCurrentToken():"/"===a?t.setState(Y):"\0"===a?(t._parseError("invalid-codepoint"),t._currentToken.name+="�"):t._currentToken.name+=a,e.commit(),!0}function R(e){var a=e.char();if(a===n.EOF)t._parseError("expected-attribute-name-but-got-eof"),e.unget(a),t.setState(r);else{if(o(a))return!0;i(a)?(t._currentToken.data.push({nodeName:a.toLowerCase(),nodeValue:""}),t.setState(U)):">"===a?t._emitCurrentToken():"/"===a?t.setState(Y):"'"===a||'"'===a||"="===a||"<"===a?(t._parseError("invalid-character-in-attribute-name"),t._currentToken.data.push({nodeName:a,nodeValue:""}),t.setState(U)):"\0"===a?(t._parseError("invalid-codepoint"),t._currentToken.data.push({nodeName:"�",nodeValue:""})):(t._currentToken.data.push({nodeName:a,nodeValue:""}),t.setState(U))}return!0}function U(e){var a=e.char(),s=!0,c=!1;if(a===n.EOF?(t._parseError("eof-in-attribute-name"),e.unget(a),t.setState(r),c=!0):"="===a?t.setState(j):i(a)?(t._currentAttribute().nodeName+=a.toLowerCase(),s=!1):">"===a?c=!0:o(a)?t.setState(P):"/"===a?t.setState(Y):"'"===a||'"'===a?(t._parseError("invalid-character-in-attribute-name"),t._currentAttribute().nodeName+=a,s=!1):"\0"===a?(t._parseError("invalid-codepoint"),t._currentAttribute().nodeName+="�"):(t._currentAttribute().nodeName+=a,s=!1),s){for(var l=t._currentToken.data,d=l[l.length-1],p=l.length-2;p>=0;p--)if(d.nodeName===l[p].nodeName){t._parseError("duplicate-attribute",{name:d.nodeName}),d.nodeName=null;break}c&&t._emitCurrentToken()}else e.commit();return!0}function P(e){var a=e.char();if(a===n.EOF)t._parseError("expected-end-of-tag-but-got-eof"),e.unget(a),t.setState(r);else{if(o(a))return!0;"="===a?t.setState(j):">"===a?t._emitCurrentToken():i(a)?(t._currentToken.data.push({nodeName:a,nodeValue:""}),t.setState(U)):"/"===a?t.setState(Y):"'"===a||'"'===a||"<"===a?(t._parseError("invalid-character-after-attribute-name"),t._currentToken.data.push({nodeName:a,nodeValue:""}),t.setState(U)):"\0"===a?(t._parseError("invalid-codepoint"),t._currentToken.data.push({nodeName:"�",nodeValue:""})):(t._currentToken.data.push({nodeName:a,nodeValue:""}),t.setState(U))}return!0}function j(e){var a=e.char();if(a===n.EOF)t._parseError("expected-attribute-value-but-got-eof"),e.unget(a),t.setState(r);else{if(o(a))return!0;'"'===a?t.setState(V):"&"===a?(t.setState(z),e.unget(a)):"'"===a?t.setState(G):">"===a?(t._parseError("expected-attribute-value-but-got-right-bracket"),t._emitCurrentToken()):"="===a||"<"===a||"`"===a?(t._parseError("unexpected-character-in-unquoted-attribute-value"),t._currentAttribute().nodeValue+=a,t.setState(z)):"\0"===a?(t._parseError("invalid-codepoint"),t._currentAttribute().nodeValue+="�"):(t._currentAttribute().nodeValue+=a,t.setState(z))}return!0}function V(e){var a=e.char();if(a===n.EOF)t._parseError("eof-in-attribute-value-double-quote"),e.unget(a),t.setState(r);else if('"'===a)t.setState(Q);else if("&"===a)this._additionalAllowedCharacter='"',t.setState($);else if("\0"===a)t._parseError("invalid-codepoint"),t._currentAttribute().nodeValue+="�";else{a+=e.matchUntil('[\0"&]'),t._currentAttribute().nodeValue+=a}return!0}function G(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-attribute-value-single-quote"),e.unget(a),t.setState(r)):"'"===a?t.setState(Q):"&"===a?(this._additionalAllowedCharacter="'",t.setState($)):"\0"===a?(t._parseError("invalid-codepoint"),t._currentAttribute().nodeValue+="�"):t._currentAttribute().nodeValue+=a+e.matchUntil("\0|['&]"),!0}function z(e){var a=e.char();if(a===n.EOF)t._parseError("eof-after-attribute-value"),e.unget(a),t.setState(r);else if(o(a))t.setState(R);else if("&"===a)this._additionalAllowedCharacter=">",t.setState($);else if(">"===a)t._emitCurrentToken();else if('"'===a||"'"===a||"="===a||"`"===a||"<"===a)t._parseError("unexpected-character-in-unquoted-attribute-value"),t._currentAttribute().nodeValue+=a,e.commit();else if("\0"===a)t._parseError("invalid-codepoint"),t._currentAttribute().nodeValue+="�";else{var i=e.matchUntil("\0|[\t\n\v\f \r&<>\"'=`]");i===n.EOF&&(t._parseError("eof-in-attribute-value-no-quotes"),t._emitCurrentToken()),e.commit(),t._currentAttribute().nodeValue+=a+i}return!0}function $(e){var r=a.consumeEntity(e,t,this._additionalAllowedCharacter);return this._currentAttribute().nodeValue+=r||"&",'"'===this._additionalAllowedCharacter?t.setState(V):"'"===this._additionalAllowedCharacter?t.setState(G):">"===this._additionalAllowedCharacter&&t.setState(z),!0}function Q(e){var a=e.char();return a===n.EOF?(t._parseError("eof-after-attribute-value"),e.unget(a),t.setState(r)):o(a)?t.setState(R):">"===a?(t.setState(r),t._emitCurrentToken()):"/"===a?t.setState(Y):(t._parseError("unexpected-character-after-attribute-value"),e.unget(a),t.setState(R)),!0}function Y(e){var a=e.char();return a===n.EOF?(t._parseError("unexpected-eof-after-solidus-in-tag"),e.unget(a),t.setState(r)):">"===a?(t._currentToken.selfClosing=!0,t.setState(r),t._emitCurrentToken()):(t._parseError("unexpected-character-after-solidus-in-tag"),e.unget(a),t.setState(R)),!0}function W(e){var n=e.matchUntil(">");return n=n.replace(/\u0000/g,"�"),e.char(),t._emitToken({type:"Comment",data:n}),t.setState(r),!0}function X(e){var r=e.shift(2);if("--"===r)t._currentToken={type:"Comment",data:""},t.setState(Z);else{var a=e.shift(5);if(a===n.EOF||r===n.EOF)return t._parseError("expected-dashes-or-doctype"),t.setState(W),e.unget(r),!0;"DOCTYPE"===(r+=a).toUpperCase()?(t._currentToken={type:"Doctype",name:"",publicId:null,systemId:null,forceQuirks:!1},t.setState(ae)):t._tokenHandler.isCdataSectionAllowed()&&"[CDATA["===r?t.setState(J):(t._parseError("expected-dashes-or-doctype"),e.unget(r),t.setState(W))}return!0}function J(e){var n=e.matchUntil("]]>");return e.shift(3),n&&t._emitToken({type:"Characters",data:n}),t.setState(r),!0}function Z(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-comment"),t._emitToken(t._currentToken),e.unget(a),t.setState(r)):"-"===a?t.setState(K):">"===a?(t._parseError("incorrect-comment"),t._emitToken(t._currentToken),t.setState(r)):"\0"===a?(t._parseError("invalid-codepoint"),t._currentToken.data+="�"):(t._currentToken.data+=a,t.setState(ee)),!0}function K(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-comment"),t._emitToken(t._currentToken),e.unget(a),t.setState(r)):"-"===a?t.setState(re):">"===a?(t._parseError("incorrect-comment"),t._emitToken(t._currentToken),t.setState(r)):"\0"===a?(t._parseError("invalid-codepoint"),t._currentToken.data+="�"):(t._currentToken.data+="-"+a,t.setState(ee)),!0}function ee(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-comment"),t._emitToken(t._currentToken),e.unget(a),t.setState(r)):"-"===a?t.setState(te):"\0"===a?(t._parseError("invalid-codepoint"),t._currentToken.data+="�"):(t._currentToken.data+=a,e.commit()),!0}function te(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-comment-end-dash"),t._emitToken(t._currentToken),e.unget(a),t.setState(r)):"-"===a?t.setState(re):"\0"===a?(t._parseError("invalid-codepoint"),t._currentToken.data+="-�",t.setState(ee)):(t._currentToken.data+="-"+a+e.matchUntil("\0|-"),e.char()),!0}function re(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-comment-double-dash"),t._emitToken(t._currentToken),e.unget(a),t.setState(r)):">"===a?(t._emitToken(t._currentToken),t.setState(r)):"!"===a?(t._parseError("unexpected-bang-after-double-dash-in-comment"),t.setState(ne)):"-"===a?(t._parseError("unexpected-dash-after-double-dash-in-comment"),t._currentToken.data+=a):"\0"===a?(t._parseError("invalid-codepoint"),t._currentToken.data+="--�",t.setState(ee)):(t._parseError("unexpected-char-in-comment"),t._currentToken.data+="--"+a,t.setState(ee)),!0}function ne(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-comment-end-bang-state"),t._emitToken(t._currentToken),e.unget(a),t.setState(r)):">"===a?(t._emitToken(t._currentToken),t.setState(r)):"-"===a?(t._currentToken.data+="--!",t.setState(te)):(t._currentToken.data+="--!"+a,t.setState(ee)),!0}function ae(e){var a=e.char();return a===n.EOF?(t._parseError("expected-doctype-name-but-got-eof"),t._currentToken.forceQuirks=!0,e.unget(a),t.setState(r),t._emitCurrentToken()):(o(a)||(t._parseError("need-space-after-doctype"),e.unget(a)),t.setState(oe)),!0}function oe(e){var a=e.char();return a===n.EOF?(t._parseError("expected-doctype-name-but-got-eof"),t._currentToken.forceQuirks=!0,e.unget(a),t.setState(r),t._emitCurrentToken()):o(a)||(">"===a?(t._parseError("expected-doctype-name-but-got-right-bracket"),t._currentToken.forceQuirks=!0,t.setState(r),t._emitCurrentToken()):(i(a)&&(a=a.toLowerCase()),t._currentToken.name=a,t.setState(ie))),!0}function ie(e){var a=e.char();return a===n.EOF?(t._currentToken.forceQuirks=!0,e.unget(a),t._parseError("eof-in-doctype-name"),t.setState(r),t._emitCurrentToken()):o(a)?t.setState(se):">"===a?(t.setState(r),t._emitCurrentToken()):(i(a)&&(a=a.toLowerCase()),t._currentToken.name+=a,e.commit()),!0}function se(e){var a=e.char();if(a===n.EOF)t._currentToken.forceQuirks=!0,e.unget(a),t._parseError("eof-in-doctype"),t.setState(r),t._emitCurrentToken();else if(o(a));else if(">"===a)t.setState(r),t._emitCurrentToken();else{if(["p","P"].indexOf(a)>-1){var i=[["u","U"],["b","B"],["l","L"],["i","I"],["c","C"]].every((function(t){return a=e.char(),t.indexOf(a)>-1}));if(i)return t.setState(ce),!0}else if(["s","S"].indexOf(a)>-1){i=[["y","Y"],["s","S"],["t","T"],["e","E"],["m","M"]].every((function(t){return a=e.char(),t.indexOf(a)>-1}));if(i)return t.setState(me),!0}e.unget(a),t._currentToken.forceQuirks=!0,a===n.EOF?(t._parseError("eof-in-doctype"),e.unget(a),t.setState(r),t._emitCurrentToken()):(t._parseError("expected-space-or-right-bracket-in-doctype",{data:a}),t.setState(ye))}return!0}function ce(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-doctype"),t._currentToken.forceQuirks=!0,e.unget(a),t.setState(r),t._emitCurrentToken()):o(a)?t.setState(le):"'"===a||'"'===a?(t._parseError("unexpected-char-in-doctype"),e.unget(a),t.setState(le)):(e.unget(a),t.setState(le)),!0}function le(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-doctype"),t._currentToken.forceQuirks=!0,e.unget(a),t.setState(r),t._emitCurrentToken()):o(a)||('"'===a?(t._currentToken.publicId="",t.setState(de)):"'"===a?(t._currentToken.publicId="",t.setState(pe)):">"===a?(t._parseError("unexpected-end-of-doctype"),t._currentToken.forceQuirks=!0,t.setState(r),t._emitCurrentToken()):(t._parseError("unexpected-char-in-doctype"),t._currentToken.forceQuirks=!0,t.setState(ye))),!0}function de(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-doctype"),t._currentToken.forceQuirks=!0,e.unget(a),t.setState(r),t._emitCurrentToken()):'"'===a?t.setState(ue):">"===a?(t._parseError("unexpected-end-of-doctype"),t._currentToken.forceQuirks=!0,t.setState(r),t._emitCurrentToken()):t._currentToken.publicId+=a,!0}function pe(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-doctype"),t._currentToken.forceQuirks=!0,e.unget(a),t.setState(r),t._emitCurrentToken()):"'"===a?t.setState(ue):">"===a?(t._parseError("unexpected-end-of-doctype"),t._currentToken.forceQuirks=!0,t.setState(r),t._emitCurrentToken()):t._currentToken.publicId+=a,!0}function ue(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-doctype"),t._currentToken.forceQuirks=!0,t._emitCurrentToken(),e.unget(a),t.setState(r)):o(a)?t.setState(he):">"===a?(t.setState(r),t._emitCurrentToken()):'"'===a?(t._parseError("unexpected-char-in-doctype"),t._currentToken.systemId="",t.setState(fe)):"'"===a?(t._parseError("unexpected-char-in-doctype"),t._currentToken.systemId="",t.setState(Te)):(t._parseError("unexpected-char-in-doctype"),t._currentToken.forceQuirks=!0,t.setState(ye)),!0}function he(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-doctype"),t._currentToken.forceQuirks=!0,t._emitCurrentToken(),e.unget(a),t.setState(r)):o(a)||(">"===a?(t._emitCurrentToken(),t.setState(r)):'"'===a?(t._currentToken.systemId="",t.setState(fe)):"'"===a?(t._currentToken.systemId="",t.setState(Te)):(t._parseError("unexpected-char-in-doctype"),t._currentToken.forceQuirks=!0,t.setState(ye))),!0}function me(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-doctype"),t._currentToken.forceQuirks=!0,t._emitCurrentToken(),e.unget(a),t.setState(r)):o(a)?t.setState(ge):"'"===a||'"'===a?(t._parseError("unexpected-char-in-doctype"),e.unget(a),t.setState(ge)):(e.unget(a),t.setState(ge)),!0}function ge(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-doctype"),t._currentToken.forceQuirks=!0,t._emitCurrentToken(),e.unget(a),t.setState(r)):o(a)||('"'===a?(t._currentToken.systemId="",t.setState(fe)):"'"===a?(t._currentToken.systemId="",t.setState(Te)):">"===a?(t._parseError("unexpected-end-of-doctype"),t._currentToken.forceQuirks=!0,t._emitCurrentToken(),t.setState(r)):(t._parseError("unexpected-char-in-doctype"),t._currentToken.forceQuirks=!0,t.setState(ye))),!0}function fe(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-doctype"),t._currentToken.forceQuirks=!0,t._emitCurrentToken(),e.unget(a),t.setState(r)):'"'===a?t.setState(be):">"===a?(t._parseError("unexpected-end-of-doctype"),t._currentToken.forceQuirks=!0,t._emitCurrentToken(),t.setState(r)):t._currentToken.systemId+=a,!0}function Te(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-doctype"),t._currentToken.forceQuirks=!0,t._emitCurrentToken(),e.unget(a),t.setState(r)):"'"===a?t.setState(be):">"===a?(t._parseError("unexpected-end-of-doctype"),t._currentToken.forceQuirks=!0,t._emitCurrentToken(),t.setState(r)):t._currentToken.systemId+=a,!0}function be(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-doctype"),t._currentToken.forceQuirks=!0,t._emitCurrentToken(),e.unget(a),t.setState(r)):o(a)||(">"===a?(t._emitCurrentToken(),t.setState(r)):(t._parseError("unexpected-char-in-doctype"),t.setState(ye))),!0}function ye(e){var a=e.char();return a===n.EOF?(e.unget(a),t._emitCurrentToken(),t.setState(r)):">"===a&&(t._emitCurrentToken(),t.setState(r)),!0}},Object.defineProperty(s.prototype,"lineNumber",{get:function(){return this._inputStream.location().line}}),Object.defineProperty(s.prototype,"columnNumber",{get:function(){return this._inputStream.location().column}}),r.Tokenizer=s},{"./EntityParser":2,"./InputStream":3}],6:[function(e,t,r){var n=e("assert"),a=e("./messages.json"),o=e("./constants"),i=(e("events").EventEmitter,e("./Tokenizer").Tokenizer),s=e("./ElementStack").ElementStack,c=e("./StackItem").StackItem,l={};function d(e){return" "===e||"\n"===e||"\t"===e||"\r"===e||"\f"===e}function p(e){return d(e)||"�"===e}function u(e){for(var t=0;t2||2==e.openElements.length&&"body"!=e.openElements.item(1).localName?e.parseError("expected-closing-tag-but-got-eof"):e.context&&e.openElements.length},processComment:function(t){e.insertComment(t,e.currentStackItem().node)},processDoctype:function(t,r,n,a){e.parseError("unexpected-doctype")},processStartTag:function(e,t,r){if(this[this.start_tag_handlers[e]])this[this.start_tag_handlers[e]](e,t,r);else{if(!this[this.start_tag_handlers["-default"]])throw new Error("No handler found for "+e);this[this.start_tag_handlers["-default"]](e,t,r)}},processEndTag:function(e){if(this[this.end_tag_handlers[e]])this[this.end_tag_handlers[e]](e);else{if(!this[this.end_tag_handlers["-default"]])throw new Error("No handler found for "+e);this[this.end_tag_handlers["-default"]](e)}},startTagHtml:function(e,r){t.inBody.startTagHtml(e,r)}},t.initial=Object.create(t.base),t.initial.processEOF=function(){e.parseError("expected-doctype-but-got-eof"),this.anythingElse(),e.insertionMode.processEOF()},t.initial.processComment=function(t){e.insertComment(t,e.document)},t.initial.processDoctype=function(t,r,n,a){function o(e){return 0===r.toLowerCase().indexOf(e)}e.insertDoctype(t||"",r||"",n||""),a||"html"!=t||null!=r&&(["+//silmaril//dtd html pro v0r11 19970101//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//as//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html strict//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//ietf//dtd html//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//spyglass//dtd html 2.0 extended//","-//sq//dtd html 2.0 hotmetal + extensions//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//","html"].some(o)||["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"].indexOf(r.toLowerCase())>-1||null==n&&["-//w3c//dtd html 4.01 transitional//","-//w3c//dtd html 4.01 frameset//"].some(o))||null!=n&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"==n.toLowerCase()?(e.compatMode="quirks",e.parseError("quirky-doctype")):null!=r&&(["-//w3c//dtd xhtml 1.0 transitional//","-//w3c//dtd xhtml 1.0 frameset//"].some(o)||null!=n&&["-//w3c//dtd html 4.01 transitional//","-//w3c//dtd html 4.01 frameset//"].indexOf(r.toLowerCase())>-1)?(e.compatMode="limited quirks",e.parseError("almost-standards-doctype")):"-//W3C//DTD HTML 4.0//EN"==r&&(null==n||"http://www.w3.org/TR/REC-html40/strict.dtd"==n)||"-//W3C//DTD HTML 4.01//EN"==r&&(null==n||"http://www.w3.org/TR/html4/strict.dtd"==n)||"-//W3C//DTD XHTML 1.0 Strict//EN"==r&&"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"==n||"-//W3C//DTD XHTML 1.1//EN"==r&&"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"==n||(null!=n&&"about:legacy-compat"!=n||null!=r)&&e.parseError("unknown-doctype"),e.setInsertionMode("beforeHTML")},t.initial.processCharacters=function(t){t.skipLeadingWhitespace(),t.length&&(e.parseError("expected-doctype-but-got-chars"),this.anythingElse(),e.insertionMode.processCharacters(t))},t.initial.processStartTag=function(t,r,n){e.parseError("expected-doctype-but-got-start-tag",{name:t}),this.anythingElse(),e.insertionMode.processStartTag(t,r,n)},t.initial.processEndTag=function(t){e.parseError("expected-doctype-but-got-end-tag",{name:t}),this.anythingElse(),e.insertionMode.processEndTag(t)},t.initial.anythingElse=function(){e.compatMode="quirks",e.setInsertionMode("beforeHTML")},t.beforeHTML=Object.create(t.base),t.beforeHTML.start_tag_handlers={html:"startTagHtml","-default":"startTagOther"},t.beforeHTML.processEOF=function(){this.anythingElse(),e.insertionMode.processEOF()},t.beforeHTML.processComment=function(t){e.insertComment(t,e.document)},t.beforeHTML.processCharacters=function(t){t.skipLeadingWhitespace(),t.length&&(this.anythingElse(),e.insertionMode.processCharacters(t))},t.beforeHTML.startTagHtml=function(t,r,n){e.insertHtmlElement(r),e.setInsertionMode("beforeHead")},t.beforeHTML.startTagOther=function(t,r,n){this.anythingElse(),e.insertionMode.processStartTag(t,r,n)},t.beforeHTML.processEndTag=function(t){this.anythingElse(),e.insertionMode.processEndTag(t)},t.beforeHTML.anythingElse=function(){e.insertHtmlElement(),e.setInsertionMode("beforeHead")},t.afterAfterBody=Object.create(t.base),t.afterAfterBody.start_tag_handlers={html:"startTagHtml","-default":"startTagOther"},t.afterAfterBody.processComment=function(t){e.insertComment(t,e.document)},t.afterAfterBody.processDoctype=function(e){t.inBody.processDoctype(e)},t.afterAfterBody.startTagHtml=function(e,r){t.inBody.startTagHtml(e,r)},t.afterAfterBody.startTagOther=function(t,r,n){e.parseError("unexpected-start-tag",{name:t}),e.setInsertionMode("inBody"),e.insertionMode.processStartTag(t,r,n)},t.afterAfterBody.endTagOther=function(t){e.parseError("unexpected-end-tag",{name:t}),e.setInsertionMode("inBody"),e.insertionMode.processEndTag(t)},t.afterAfterBody.processCharacters=function(r){if(!u(r.characters))return e.parseError("unexpected-char-after-body"),e.setInsertionMode("inBody"),e.insertionMode.processCharacters(r);t.inBody.processCharacters(r)},t.afterBody=Object.create(t.base),t.afterBody.end_tag_handlers={html:"endTagHtml","-default":"endTagOther"},t.afterBody.processComment=function(t){e.insertComment(t,e.openElements.rootNode)},t.afterBody.processCharacters=function(r){if(!u(r.characters))return e.parseError("unexpected-char-after-body"),e.setInsertionMode("inBody"),e.insertionMode.processCharacters(r);t.inBody.processCharacters(r)},t.afterBody.processStartTag=function(t,r,n){e.parseError("unexpected-start-tag-after-body",{name:t}),e.setInsertionMode("inBody"),e.insertionMode.processStartTag(t,r,n)},t.afterBody.endTagHtml=function(t){e.context?e.parseError("end-html-in-innerhtml"):e.setInsertionMode("afterAfterBody")},t.afterBody.endTagOther=function(t){e.parseError("unexpected-end-tag-after-body",{name:t}),e.setInsertionMode("inBody"),e.insertionMode.processEndTag(t)},t.afterFrameset=Object.create(t.base),t.afterFrameset.start_tag_handlers={html:"startTagHtml",noframes:"startTagNoframes","-default":"startTagOther"},t.afterFrameset.end_tag_handlers={html:"endTagHtml","-default":"endTagOther"},t.afterFrameset.processCharacters=function(t){for(var r=t.takeRemaining(),n="",a=0;a1;)e.openElements.pop();e.insertElement(t,r),e.setInsertionMode("inFrameset")}},t.inBody.startTagCloseP=function(t,r){e.openElements.inButtonScope("p")&&this.endTagP("p"),e.insertElement(t,r)},t.inBody.startTagPreListing=function(t,r){e.openElements.inButtonScope("p")&&this.endTagP("p"),e.insertElement(t,r),e.framesetOk=!1,e.shouldSkipLeadingNewline=!0},t.inBody.startTagForm=function(t,r){e.form?e.parseError("unexpected-start-tag",{name:t}):(e.openElements.inButtonScope("p")&&this.endTagP("p"),e.insertElement(t,r),e.form=e.currentStackItem())},t.inBody.startTagRpRt=function(t,r){e.openElements.inScope("ruby")&&(e.generateImpliedEndTags(),"ruby"!=e.currentStackItem().localName&&e.parseError("unexpected-start-tag",{name:t})),e.insertElement(t,r)},t.inBody.startTagListItem=function(t,r){for(var n={li:["li"],dd:["dd","dt"],dt:["dd","dt"]}[t],a=e.openElements,o=a.length-1;o>=0;o--){var i=a.item(o);if(-1!=n.indexOf(i.localName)){e.insertionMode.processEndTag(i.localName);break}if(i.isSpecial()&&"p"!==i.localName&&"address"!==i.localName&&"div"!==i.localName)break}e.openElements.inButtonScope("p")&&this.endTagP("p"),e.insertElement(t,r),e.framesetOk=!1},t.inBody.startTagPlaintext=function(t,r){e.openElements.inButtonScope("p")&&this.endTagP("p"),e.insertElement(t,r),e.tokenizer.setState(i.PLAINTEXT)},t.inBody.startTagHeading=function(t,r){e.openElements.inButtonScope("p")&&this.endTagP("p"),e.currentStackItem().isNumberedHeader()&&(e.parseError("unexpected-start-tag",{name:t}),e.popElement()),e.insertElement(t,r)},t.inBody.startTagA=function(t,r){var n=e.elementInActiveFormattingElements("a");n&&(e.parseError("unexpected-start-tag-implies-end-tag",{startName:"a",endName:"a"}),e.adoptionAgencyEndTag("a"),e.openElements.contains(n)&&e.openElements.remove(n),e.removeElementFromActiveFormattingElements(n)),e.reconstructActiveFormattingElements(),e.insertFormattingElement(t,r)},t.inBody.startTagFormatting=function(t,r){e.reconstructActiveFormattingElements(),e.insertFormattingElement(t,r)},t.inBody.startTagNobr=function(t,r){e.reconstructActiveFormattingElements(),e.openElements.inScope("nobr")&&(e.parseError("unexpected-start-tag-implies-end-tag",{startName:"nobr",endName:"nobr"}),this.processEndTag("nobr"),e.reconstructActiveFormattingElements()),e.insertFormattingElement(t,r)},t.inBody.startTagButton=function(t,r){e.openElements.inScope("button")?(e.parseError("unexpected-start-tag-implies-end-tag",{startName:"button",endName:"button"}),this.processEndTag("button"),e.insertionMode.processStartTag(t,r)):(e.framesetOk=!1,e.reconstructActiveFormattingElements(),e.insertElement(t,r))},t.inBody.startTagAppletMarqueeObject=function(t,r){e.reconstructActiveFormattingElements(),e.insertElement(t,r),e.activeFormattingElements.push(l),e.framesetOk=!1},t.inBody.endTagAppletMarqueeObject=function(t){e.openElements.inScope(t)?(e.generateImpliedEndTags(),e.currentStackItem().localName!=t&&e.parseError("end-tag-too-early",{name:t}),e.openElements.popUntilPopped(t),e.clearActiveFormattingElements()):e.parseError("unexpected-end-tag",{name:t})},t.inBody.startTagXmp=function(t,r){e.openElements.inButtonScope("p")&&this.processEndTag("p"),e.reconstructActiveFormattingElements(),e.processGenericRawTextStartTag(t,r),e.framesetOk=!1},t.inBody.startTagTable=function(t,r){"quirks"!==e.compatMode&&e.openElements.inButtonScope("p")&&this.processEndTag("p"),e.insertElement(t,r),e.setInsertionMode("inTable"),e.framesetOk=!1},t.inBody.startTagVoidFormatting=function(t,r){e.reconstructActiveFormattingElements(),e.insertSelfClosingElement(t,r),e.framesetOk=!1},t.inBody.startTagParamSourceTrack=function(t,r){e.insertSelfClosingElement(t,r)},t.inBody.startTagHr=function(t,r){e.openElements.inButtonScope("p")&&this.endTagP("p"),e.insertSelfClosingElement(t,r),e.framesetOk=!1},t.inBody.startTagImage=function(t,r){e.parseError("unexpected-start-tag-treated-as",{originalName:"image",newName:"img"}),this.processStartTag("img",r)},t.inBody.startTagInput=function(t,r){var n=e.framesetOk;for(var a in this.startTagVoidFormatting(t,r),r)if("type"==r[a].nodeName){"hidden"==r[a].nodeValue.toLowerCase()&&(e.framesetOk=n);break}},t.inBody.startTagIsindex=function(t,r){if(e.parseError("deprecated-tag",{name:"isindex"}),e.selfClosingFlagAcknowledged=!0,!e.form){var n=[],a=[],o="This is a searchable index. Enter search keywords: ";for(var i in r)switch(r[i].nodeName){case"action":n.push({nodeName:"action",nodeValue:r[i].nodeValue});break;case"prompt":o=r[i].nodeValue;break;case"name":break;default:a.push({nodeName:r[i].nodeName,nodeValue:r[i].nodeValue})}a.push({nodeName:"name",nodeValue:"isindex"}),this.processStartTag("form",n),this.processStartTag("hr"),this.processStartTag("label"),this.processCharacters(new g(o)),this.processStartTag("input",a),this.processEndTag("label"),this.processStartTag("hr"),this.processEndTag("form")}},t.inBody.startTagTextarea=function(t,r){e.insertElement(t,r),e.tokenizer.setState(i.RCDATA),e.originalInsertionMode=e.insertionModeName,e.shouldSkipLeadingNewline=!0,e.framesetOk=!1,e.setInsertionMode("text")},t.inBody.startTagIFrame=function(t,r){e.framesetOk=!1,this.startTagRawText(t,r)},t.inBody.startTagRawText=function(t,r){e.processGenericRawTextStartTag(t,r)},t.inBody.startTagSelect=function(t,r){e.reconstructActiveFormattingElements(),e.insertElement(t,r),e.framesetOk=!1;var n=e.insertionModeName;"inTable"==n||"inCaption"==n||"inColumnGroup"==n||"inTableBody"==n||"inRow"==n||"inCell"==n?e.setInsertionMode("inSelectInTable"):e.setInsertionMode("inSelect")},t.inBody.startTagMisplaced=function(t,r){e.parseError("unexpected-start-tag-ignored",{name:t})},t.inBody.endTagMisplaced=function(t){e.parseError("unexpected-end-tag",{name:t})},t.inBody.endTagBr=function(t){e.parseError("unexpected-end-tag-treated-as",{originalName:"br",newName:"br element"}),e.reconstructActiveFormattingElements(),e.insertElement(t,[]),e.popElement()},t.inBody.startTagOptionOptgroup=function(t,r){"option"==e.currentStackItem().localName&&e.popElement(),e.reconstructActiveFormattingElements(),e.insertElement(t,r)},t.inBody.startTagOther=function(t,r){e.reconstructActiveFormattingElements(),e.insertElement(t,r)},t.inBody.endTagOther=function(t){for(var r,n=e.openElements.length-1;n>0;n--){if((r=e.openElements.item(n)).localName==t){e.generateImpliedEndTags(t),e.currentStackItem().localName!=t&&e.parseError("unexpected-end-tag",{name:t}),e.openElements.remove_openElements_until((function(e){return e===r}));break}if(r.isSpecial()){e.parseError("unexpected-end-tag",{name:t});break}}},t.inBody.startTagMath=function(t,r,n){e.reconstructActiveFormattingElements(),r=e.adjustMathMLAttributes(r),r=e.adjustForeignAttributes(r),e.insertForeignElement(t,r,"http://www.w3.org/1998/Math/MathML",n)},t.inBody.startTagSVG=function(t,r,n){e.reconstructActiveFormattingElements(),r=e.adjustSVGAttributes(r),r=e.adjustForeignAttributes(r),e.insertForeignElement(t,r,"http://www.w3.org/2000/svg",n)},t.inBody.endTagP=function(t){e.openElements.inButtonScope("p")?(e.generateImpliedEndTags("p"),"p"!=e.currentStackItem().localName&&e.parseError("unexpected-implied-end-tag",{name:"p"}),e.openElements.popUntilPopped(t)):(e.parseError("unexpected-end-tag",{name:"p"}),this.startTagCloseP("p",[]),this.endTagP("p"))},t.inBody.endTagBody=function(t){e.openElements.inScope("body")?("body"!=e.currentStackItem().localName&&e.parseError("expected-one-end-tag-but-got-another",{expectedName:e.currentStackItem().localName,gotName:t}),e.setInsertionMode("afterBody")):e.parseError("unexpected-end-tag",{name:t})},t.inBody.endTagHtml=function(t){e.openElements.inScope("body")?("body"!=e.currentStackItem().localName&&e.parseError("expected-one-end-tag-but-got-another",{expectedName:e.currentStackItem().localName,gotName:t}),e.setInsertionMode("afterBody"),e.insertionMode.processEndTag(t)):e.parseError("unexpected-end-tag",{name:t})},t.inBody.endTagBlock=function(t){e.openElements.inScope(t)?(e.generateImpliedEndTags(),e.currentStackItem().localName!=t&&e.parseError("end-tag-too-early",{name:t}),e.openElements.popUntilPopped(t)):e.parseError("unexpected-end-tag",{name:t})},t.inBody.endTagForm=function(t){var r=e.form;e.form=null,r&&e.openElements.inScope(t)?(e.generateImpliedEndTags(),e.currentStackItem()!=r&&e.parseError("end-tag-too-early-ignored",{name:"form"}),e.openElements.remove(r)):e.parseError("unexpected-end-tag",{name:t})},t.inBody.endTagListItem=function(t){e.openElements.inListItemScope(t)?(e.generateImpliedEndTags(t),e.currentStackItem().localName!=t&&e.parseError("end-tag-too-early",{name:t}),e.openElements.popUntilPopped(t)):e.parseError("unexpected-end-tag",{name:t})},t.inBody.endTagHeading=function(t){e.openElements.hasNumberedHeaderElementInScope()?(e.generateImpliedEndTags(),e.currentStackItem().localName!=t&&e.parseError("end-tag-too-early",{name:t}),e.openElements.remove_openElements_until((function(e){return e.isNumberedHeader()}))):e.parseError("unexpected-end-tag",{name:t})},t.inBody.endTagFormatting=function(t,r){e.adoptionAgencyEndTag(t)||this.endTagOther(t,r)},t.inCaption=Object.create(t.base),t.inCaption.start_tag_handlers={html:"startTagHtml",caption:"startTagTableElement",col:"startTagTableElement",colgroup:"startTagTableElement",tbody:"startTagTableElement",td:"startTagTableElement",tfoot:"startTagTableElement",thead:"startTagTableElement",tr:"startTagTableElement","-default":"startTagOther"},t.inCaption.end_tag_handlers={caption:"endTagCaption",table:"endTagTable",body:"endTagIgnore",col:"endTagIgnore",colgroup:"endTagIgnore",html:"endTagIgnore",tbody:"endTagIgnore",td:"endTagIgnore",tfood:"endTagIgnore",thead:"endTagIgnore",tr:"endTagIgnore","-default":"endTagOther"},t.inCaption.processCharacters=function(e){t.inBody.processCharacters(e)},t.inCaption.startTagTableElement=function(t,r){e.parseError("unexpected-end-tag",{name:t});var n=!e.openElements.inTableScope("caption");e.insertionMode.processEndTag("caption"),n||e.insertionMode.processStartTag(t,r)},t.inCaption.startTagOther=function(e,r,n){t.inBody.processStartTag(e,r,n)},t.inCaption.endTagCaption=function(t){e.openElements.inTableScope("caption")?(e.generateImpliedEndTags(),"caption"!=e.currentStackItem().localName&&e.parseError("expected-one-end-tag-but-got-another",{gotName:"caption",expectedName:e.currentStackItem().localName}),e.openElements.popUntilPopped("caption"),e.clearActiveFormattingElements(),e.setInsertionMode("inTable")):(n.ok(e.context),e.parseError("unexpected-end-tag",{name:t}))},t.inCaption.endTagTable=function(t){e.parseError("unexpected-end-table-in-caption");var r=!e.openElements.inTableScope("caption");e.insertionMode.processEndTag("caption"),r||e.insertionMode.processEndTag(t)},t.inCaption.endTagIgnore=function(t){e.parseError("unexpected-end-tag",{name:t})},t.inCaption.endTagOther=function(e){t.inBody.processEndTag(e)},t.inCell=Object.create(t.base),t.inCell.start_tag_handlers={html:"startTagHtml",caption:"startTagTableOther",col:"startTagTableOther",colgroup:"startTagTableOther",tbody:"startTagTableOther",td:"startTagTableOther",tfoot:"startTagTableOther",th:"startTagTableOther",thead:"startTagTableOther",tr:"startTagTableOther","-default":"startTagOther"},t.inCell.end_tag_handlers={td:"endTagTableCell",th:"endTagTableCell",body:"endTagIgnore",caption:"endTagIgnore",col:"endTagIgnore",colgroup:"endTagIgnore",html:"endTagIgnore",table:"endTagImply",tbody:"endTagImply",tfoot:"endTagImply",thead:"endTagImply",tr:"endTagImply","-default":"endTagOther"},t.inCell.processCharacters=function(e){t.inBody.processCharacters(e)},t.inCell.startTagTableOther=function(t,r,n){e.openElements.inTableScope("td")||e.openElements.inTableScope("th")?(this.closeCell(),e.insertionMode.processStartTag(t,r,n)):e.parseError("unexpected-start-tag",{name:t})},t.inCell.startTagOther=function(e,r,n){t.inBody.processStartTag(e,r,n)},t.inCell.endTagTableCell=function(t){e.openElements.inTableScope(t)?(e.generateImpliedEndTags(t),e.currentStackItem().localName!=t.toLowerCase()?(e.parseError("unexpected-cell-end-tag",{name:t}),e.openElements.popUntilPopped(t)):e.popElement(),e.clearActiveFormattingElements(),e.setInsertionMode("inRow")):e.parseError("unexpected-end-tag",{name:t})},t.inCell.endTagIgnore=function(t){e.parseError("unexpected-end-tag",{name:t})},t.inCell.endTagImply=function(t){e.openElements.inTableScope(t)?(this.closeCell(),e.insertionMode.processEndTag(t)):e.parseError("unexpected-end-tag",{name:t})},t.inCell.endTagOther=function(e){t.inBody.processEndTag(e)},t.inCell.closeCell=function(){e.openElements.inTableScope("td")?this.endTagTableCell("td"):e.openElements.inTableScope("th")&&this.endTagTableCell("th")},t.inColumnGroup=Object.create(t.base),t.inColumnGroup.start_tag_handlers={html:"startTagHtml",col:"startTagCol","-default":"startTagOther"},t.inColumnGroup.end_tag_handlers={colgroup:"endTagColgroup",col:"endTagCol","-default":"endTagOther"},t.inColumnGroup.ignoreEndTagColgroup=function(){return"html"==e.currentStackItem().localName},t.inColumnGroup.processCharacters=function(t){var r=t.takeLeadingWhitespace();if(r&&e.insertText(r),t.length){var n=this.ignoreEndTagColgroup();this.endTagColgroup("colgroup"),n||e.insertionMode.processCharacters(t)}},t.inColumnGroup.startTagCol=function(t,r){e.insertSelfClosingElement(t,r)},t.inColumnGroup.startTagOther=function(t,r,n){var a=this.ignoreEndTagColgroup();this.endTagColgroup("colgroup"),a||e.insertionMode.processStartTag(t,r,n)},t.inColumnGroup.endTagColgroup=function(t){this.ignoreEndTagColgroup()?(n.ok(e.context),e.parseError("unexpected-end-tag",{name:t})):(e.popElement(),e.setInsertionMode("inTable"))},t.inColumnGroup.endTagCol=function(t){e.parseError("no-end-tag",{name:"col"})},t.inColumnGroup.endTagOther=function(t){var r=this.ignoreEndTagColgroup();this.endTagColgroup("colgroup"),r||e.insertionMode.processEndTag(t)},t.inForeignContent=Object.create(t.base),t.inForeignContent.processStartTag=function(t,r,n){if(-1!=["b","big","blockquote","body","br","center","code","dd","div","dl","dt","em","embed","h1","h2","h3","h4","h5","h6","head","hr","i","img","li","listing","menu","meta","nobr","ol","p","pre","ruby","s","small","span","strong","strike","sub","sup","table","tt","u","ul","var"].indexOf(t)||"font"==t&&r.some((function(e){return["color","face","size"].indexOf(e.nodeName)>=0}))){for(e.parseError("unexpected-html-element-in-foreign-content",{name:t});e.currentStackItem().isForeign()&&!e.currentStackItem().isHtmlIntegrationPoint()&&!e.currentStackItem().isMathMLTextIntegrationPoint();)e.openElements.pop();e.insertionMode.processStartTag(t,r,n)}else"http://www.w3.org/1998/Math/MathML"==e.currentStackItem().namespaceURI&&(r=e.adjustMathMLAttributes(r)),"http://www.w3.org/2000/svg"==e.currentStackItem().namespaceURI&&(t=e.adjustSVGTagNameCase(t),r=e.adjustSVGAttributes(r)),r=e.adjustForeignAttributes(r),e.insertForeignElement(t,r,e.currentStackItem().namespaceURI,n)},t.inForeignContent.processEndTag=function(t){var r=e.currentStackItem(),n=e.openElements.length-1;for(r.localName.toLowerCase()!=t&&e.parseError("unexpected-end-tag",{name:t});0!==n;){if(r.localName.toLowerCase()==t){for(;e.openElements.pop()!=r;);break}if(n-=1,!(r=e.openElements.item(n)).isForeign()){e.insertionMode.processEndTag(t);break}}},t.inForeignContent.processCharacters=function(t){var r=t.takeRemaining();r=r.replace(/\u0000/g,(function(t,r){return e.parseError("invalid-codepoint"),"�"})),e.framesetOk&&!h(r)&&(e.framesetOk=!1),e.insertText(r)},t.inHeadNoscript=Object.create(t.base),t.inHeadNoscript.start_tag_handlers={html:"startTagHtml",basefont:"startTagBasefontBgsoundLinkMetaNoframesStyle",bgsound:"startTagBasefontBgsoundLinkMetaNoframesStyle",link:"startTagBasefontBgsoundLinkMetaNoframesStyle",meta:"startTagBasefontBgsoundLinkMetaNoframesStyle",noframes:"startTagBasefontBgsoundLinkMetaNoframesStyle",style:"startTagBasefontBgsoundLinkMetaNoframesStyle",head:"startTagHeadNoscript",noscript:"startTagHeadNoscript","-default":"startTagOther"},t.inHeadNoscript.end_tag_handlers={noscript:"endTagNoscript",br:"endTagBr","-default":"endTagOther"},t.inHeadNoscript.processCharacters=function(t){var r=t.takeLeadingWhitespace();r&&e.insertText(r),t.length&&(e.parseError("unexpected-char-in-frameset"),this.anythingElse(),e.insertionMode.processCharacters(t))},t.inHeadNoscript.processComment=function(e){t.inHead.processComment(e)},t.inHeadNoscript.startTagBasefontBgsoundLinkMetaNoframesStyle=function(e,r){t.inHead.processStartTag(e,r)},t.inHeadNoscript.startTagHeadNoscript=function(t,r){e.parseError("unexpected-start-tag-in-frameset",{name:t})},t.inHeadNoscript.startTagOther=function(t,r){e.parseError("unexpected-start-tag-in-frameset",{name:t}),this.anythingElse(),e.insertionMode.processStartTag(t,r)},t.inHeadNoscript.endTagBr=function(t,r){e.parseError("unexpected-end-tag-in-frameset",{name:t}),this.anythingElse(),e.insertionMode.processEndTag(t,r)},t.inHeadNoscript.endTagNoscript=function(t,r){e.popElement(),e.setInsertionMode("inHead")},t.inHeadNoscript.endTagOther=function(t,r){e.parseError("unexpected-end-tag-in-frameset",{name:t})},t.inHeadNoscript.anythingElse=function(){e.popElement(),e.setInsertionMode("inHead")},t.inFrameset=Object.create(t.base),t.inFrameset.start_tag_handlers={html:"startTagHtml",frameset:"startTagFrameset",frame:"startTagFrame",noframes:"startTagNoframes","-default":"startTagOther"},t.inFrameset.end_tag_handlers={frameset:"endTagFrameset",noframes:"endTagNoframes","-default":"endTagOther"},t.inFrameset.processCharacters=function(t){e.parseError("unexpected-char-in-frameset")},t.inFrameset.startTagFrameset=function(t,r){e.insertElement(t,r)},t.inFrameset.startTagFrame=function(t,r){e.insertSelfClosingElement(t,r)},t.inFrameset.startTagNoframes=function(e,r){t.inBody.processStartTag(e,r)},t.inFrameset.startTagOther=function(t,r){e.parseError("unexpected-start-tag-in-frameset",{name:t})},t.inFrameset.endTagFrameset=function(t,r){"html"==e.currentStackItem().localName?e.parseError("unexpected-frameset-in-frameset-innerhtml"):e.popElement(),e.context||"frameset"==e.currentStackItem().localName||e.setInsertionMode("afterFrameset")},t.inFrameset.endTagNoframes=function(e){t.inBody.processEndTag(e)},t.inFrameset.endTagOther=function(t){e.parseError("unexpected-end-tag-in-frameset",{name:t})},t.inTable=Object.create(t.base),t.inTable.start_tag_handlers={html:"startTagHtml",caption:"startTagCaption",colgroup:"startTagColgroup",col:"startTagCol",table:"startTagTable",tbody:"startTagRowGroup",tfoot:"startTagRowGroup",thead:"startTagRowGroup",td:"startTagImplyTbody",th:"startTagImplyTbody",tr:"startTagImplyTbody",style:"startTagStyleScript",script:"startTagStyleScript",input:"startTagInput",form:"startTagForm","-default":"startTagOther"},t.inTable.end_tag_handlers={table:"endTagTable",body:"endTagIgnore",caption:"endTagIgnore",col:"endTagIgnore",colgroup:"endTagIgnore",html:"endTagIgnore",tbody:"endTagIgnore",td:"endTagIgnore",tfoot:"endTagIgnore",th:"endTagIgnore",thead:"endTagIgnore",tr:"endTagIgnore","-default":"endTagOther"},t.inTable.processCharacters=function(r){if(e.currentStackItem().isFosterParenting()){var n=e.insertionModeName;e.setInsertionMode("inTableText"),e.originalInsertionMode=n,e.insertionMode.processCharacters(r)}else e.redirectAttachToFosterParent=!0,t.inBody.processCharacters(r),e.redirectAttachToFosterParent=!1},t.inTable.startTagCaption=function(t,r){e.openElements.popUntilTableScopeMarker(),e.activeFormattingElements.push(l),e.insertElement(t,r),e.setInsertionMode("inCaption")},t.inTable.startTagColgroup=function(t,r){e.openElements.popUntilTableScopeMarker(),e.insertElement(t,r),e.setInsertionMode("inColumnGroup")},t.inTable.startTagCol=function(t,r){this.startTagColgroup("colgroup",[]),e.insertionMode.processStartTag(t,r)},t.inTable.startTagRowGroup=function(t,r){e.openElements.popUntilTableScopeMarker(),e.insertElement(t,r),e.setInsertionMode("inTableBody")},t.inTable.startTagImplyTbody=function(t,r){this.startTagRowGroup("tbody",[]),e.insertionMode.processStartTag(t,r)},t.inTable.startTagTable=function(t,r){e.parseError("unexpected-start-tag-implies-end-tag",{startName:"table",endName:"table"}),e.insertionMode.processEndTag("table"),e.context||e.insertionMode.processStartTag(t,r)},t.inTable.startTagStyleScript=function(e,r){t.inHead.processStartTag(e,r)},t.inTable.startTagInput=function(t,r){for(var n in r)if("type"==r[n].nodeName.toLowerCase()){if("hidden"==r[n].nodeValue.toLowerCase())return e.parseError("unexpected-hidden-input-in-table"),e.insertElement(t,r),void e.openElements.pop();break}this.startTagOther(t,r)},t.inTable.startTagForm=function(t,r){e.parseError("unexpected-form-in-table"),e.form||(e.insertElement(t,r),e.form=e.currentStackItem(),e.openElements.pop())},t.inTable.startTagOther=function(r,n,a){e.parseError("unexpected-start-tag-implies-table-voodoo",{name:r}),e.redirectAttachToFosterParent=!0,t.inBody.processStartTag(r,n,a),e.redirectAttachToFosterParent=!1},t.inTable.endTagTable=function(t){e.openElements.inTableScope(t)?(e.generateImpliedEndTags(),e.currentStackItem().localName!=t&&e.parseError("end-tag-too-early-named",{gotName:"table",expectedName:e.currentStackItem().localName}),e.openElements.popUntilPopped("table"),e.resetInsertionMode()):(n.ok(e.context),e.parseError("unexpected-end-tag",{name:t}))},t.inTable.endTagIgnore=function(t){e.parseError("unexpected-end-tag",{name:t})},t.inTable.endTagOther=function(r){e.parseError("unexpected-end-tag-implies-table-voodoo",{name:r}),e.redirectAttachToFosterParent=!0,t.inBody.processEndTag(r),e.redirectAttachToFosterParent=!1},t.inTableText=Object.create(t.base),t.inTableText.flushCharacters=function(){var t=e.pendingTableCharacters.join("");u(t)?e.insertText(t):(e.redirectAttachToFosterParent=!0,e.reconstructActiveFormattingElements(),e.insertText(t),e.framesetOk=!1,e.redirectAttachToFosterParent=!1),e.pendingTableCharacters=[]},t.inTableText.processComment=function(t){this.flushCharacters(),e.setInsertionMode(e.originalInsertionMode),e.insertionMode.processComment(t)},t.inTableText.processEOF=function(t){this.flushCharacters(),e.setInsertionMode(e.originalInsertionMode),e.insertionMode.processEOF()},t.inTableText.processCharacters=function(t){var r=t.takeRemaining();(r=r.replace(/\u0000/g,(function(t,r){return e.parseError("invalid-codepoint"),""})))&&e.pendingTableCharacters.push(r)},t.inTableText.processStartTag=function(t,r,n){this.flushCharacters(),e.setInsertionMode(e.originalInsertionMode),e.insertionMode.processStartTag(t,r,n)},t.inTableText.processEndTag=function(t,r){this.flushCharacters(),e.setInsertionMode(e.originalInsertionMode),e.insertionMode.processEndTag(t,r)},t.inTableBody=Object.create(t.base),t.inTableBody.start_tag_handlers={html:"startTagHtml",tr:"startTagTr",td:"startTagTableCell",th:"startTagTableCell",caption:"startTagTableOther",col:"startTagTableOther",colgroup:"startTagTableOther",tbody:"startTagTableOther",tfoot:"startTagTableOther",thead:"startTagTableOther","-default":"startTagOther"},t.inTableBody.end_tag_handlers={table:"endTagTable",tbody:"endTagTableRowGroup",tfoot:"endTagTableRowGroup",thead:"endTagTableRowGroup",body:"endTagIgnore",caption:"endTagIgnore",col:"endTagIgnore",colgroup:"endTagIgnore",html:"endTagIgnore",td:"endTagIgnore",th:"endTagIgnore",tr:"endTagIgnore","-default":"endTagOther"},t.inTableBody.processCharacters=function(e){t.inTable.processCharacters(e)},t.inTableBody.startTagTr=function(t,r){e.openElements.popUntilTableBodyScopeMarker(),e.insertElement(t,r),e.setInsertionMode("inRow")},t.inTableBody.startTagTableCell=function(t,r){e.parseError("unexpected-cell-in-table-body",{name:t}),this.startTagTr("tr",[]),e.insertionMode.processStartTag(t,r)},t.inTableBody.startTagTableOther=function(t,r){e.openElements.inTableScope("tbody")||e.openElements.inTableScope("thead")||e.openElements.inTableScope("tfoot")?(e.openElements.popUntilTableBodyScopeMarker(),this.endTagTableRowGroup(e.currentStackItem().localName),e.insertionMode.processStartTag(t,r)):e.parseError("unexpected-start-tag",{name:t})},t.inTableBody.startTagOther=function(e,r){t.inTable.processStartTag(e,r)},t.inTableBody.endTagTableRowGroup=function(t){e.openElements.inTableScope(t)?(e.openElements.popUntilTableBodyScopeMarker(),e.popElement(),e.setInsertionMode("inTable")):e.parseError("unexpected-end-tag-in-table-body",{name:t})},t.inTableBody.endTagTable=function(t){e.openElements.inTableScope("tbody")||e.openElements.inTableScope("thead")||e.openElements.inTableScope("tfoot")?(e.openElements.popUntilTableBodyScopeMarker(),this.endTagTableRowGroup(e.currentStackItem().localName),e.insertionMode.processEndTag(t)):e.parseError("unexpected-end-tag",{name:t})},t.inTableBody.endTagIgnore=function(t){e.parseError("unexpected-end-tag-in-table-body",{name:t})},t.inTableBody.endTagOther=function(e){t.inTable.processEndTag(e)},t.inSelect=Object.create(t.base),t.inSelect.start_tag_handlers={html:"startTagHtml",option:"startTagOption",optgroup:"startTagOptgroup",select:"startTagSelect",input:"startTagInput",keygen:"startTagInput",textarea:"startTagInput",script:"startTagScript","-default":"startTagOther"},t.inSelect.end_tag_handlers={option:"endTagOption",optgroup:"endTagOptgroup",select:"endTagSelect",caption:"endTagTableElements",table:"endTagTableElements",tbody:"endTagTableElements",tfoot:"endTagTableElements",thead:"endTagTableElements",tr:"endTagTableElements",td:"endTagTableElements",th:"endTagTableElements","-default":"endTagOther"},t.inSelect.processCharacters=function(t){var r=t.takeRemaining();(r=r.replace(/\u0000/g,(function(t,r){return e.parseError("invalid-codepoint"),""})))&&e.insertText(r)},t.inSelect.startTagOption=function(t,r){"option"==e.currentStackItem().localName&&e.popElement(),e.insertElement(t,r)},t.inSelect.startTagOptgroup=function(t,r){"option"==e.currentStackItem().localName&&e.popElement(),"optgroup"==e.currentStackItem().localName&&e.popElement(),e.insertElement(t,r)},t.inSelect.endTagOption=function(t){"option"===e.currentStackItem().localName?e.popElement():e.parseError("unexpected-end-tag-in-select",{name:t})},t.inSelect.endTagOptgroup=function(t){"option"==e.currentStackItem().localName&&"optgroup"==e.openElements.item(e.openElements.length-2).localName&&e.popElement(),"optgroup"==e.currentStackItem().localName?e.popElement():e.parseError("unexpected-end-tag-in-select",{name:"optgroup"})},t.inSelect.startTagSelect=function(t){e.parseError("unexpected-select-in-select"),this.endTagSelect("select")},t.inSelect.endTagSelect=function(t){e.openElements.inTableScope("select")?(e.openElements.popUntilPopped("select"),e.resetInsertionMode()):e.parseError("unexpected-end-tag",{name:t})},t.inSelect.startTagInput=function(t,r){e.parseError("unexpected-input-in-select"),e.openElements.inSelectScope("select")&&(this.endTagSelect("select"),e.insertionMode.processStartTag(t,r))},t.inSelect.startTagScript=function(e,r){t.inHead.processStartTag(e,r)},t.inSelect.endTagTableElements=function(t){e.parseError("unexpected-end-tag-in-select",{name:t}),e.openElements.inTableScope(t)&&(this.endTagSelect("select"),e.insertionMode.processEndTag(t))},t.inSelect.startTagOther=function(t,r){e.parseError("unexpected-start-tag-in-select",{name:t})},t.inSelect.endTagOther=function(t){e.parseError("unexpected-end-tag-in-select",{name:t})},t.inSelectInTable=Object.create(t.base),t.inSelectInTable.start_tag_handlers={caption:"startTagTable",table:"startTagTable",tbody:"startTagTable",tfoot:"startTagTable",thead:"startTagTable",tr:"startTagTable",td:"startTagTable",th:"startTagTable","-default":"startTagOther"},t.inSelectInTable.end_tag_handlers={caption:"endTagTable",table:"endTagTable",tbody:"endTagTable",tfoot:"endTagTable",thead:"endTagTable",tr:"endTagTable",td:"endTagTable",th:"endTagTable","-default":"endTagOther"},t.inSelectInTable.processCharacters=function(e){t.inSelect.processCharacters(e)},t.inSelectInTable.startTagTable=function(t,r){e.parseError("unexpected-table-element-start-tag-in-select-in-table",{name:t}),this.endTagOther("select"),e.insertionMode.processStartTag(t,r)},t.inSelectInTable.startTagOther=function(e,r,n){t.inSelect.processStartTag(e,r,n)},t.inSelectInTable.endTagTable=function(t){e.parseError("unexpected-table-element-end-tag-in-select-in-table",{name:t}),e.openElements.inTableScope(t)&&(this.endTagOther("select"),e.insertionMode.processEndTag(t))},t.inSelectInTable.endTagOther=function(e){t.inSelect.processEndTag(e)},t.inRow=Object.create(t.base),t.inRow.start_tag_handlers={html:"startTagHtml",td:"startTagTableCell",th:"startTagTableCell",caption:"startTagTableOther",col:"startTagTableOther",colgroup:"startTagTableOther",tbody:"startTagTableOther",tfoot:"startTagTableOther",thead:"startTagTableOther",tr:"startTagTableOther","-default":"startTagOther"},t.inRow.end_tag_handlers={tr:"endTagTr",table:"endTagTable",tbody:"endTagTableRowGroup",tfoot:"endTagTableRowGroup",thead:"endTagTableRowGroup",body:"endTagIgnore",caption:"endTagIgnore",col:"endTagIgnore",colgroup:"endTagIgnore",html:"endTagIgnore",td:"endTagIgnore",th:"endTagIgnore","-default":"endTagOther"},t.inRow.processCharacters=function(e){t.inTable.processCharacters(e)},t.inRow.startTagTableCell=function(t,r){e.openElements.popUntilTableRowScopeMarker(),e.insertElement(t,r),e.setInsertionMode("inCell"),e.activeFormattingElements.push(l)},t.inRow.startTagTableOther=function(t,r){var n=this.ignoreEndTagTr();this.endTagTr("tr"),n||e.insertionMode.processStartTag(t,r)},t.inRow.startTagOther=function(e,r,n){t.inTable.processStartTag(e,r,n)},t.inRow.endTagTr=function(t){this.ignoreEndTagTr()?(n.ok(e.context),e.parseError("unexpected-end-tag",{name:t})):(e.openElements.popUntilTableRowScopeMarker(),e.popElement(),e.setInsertionMode("inTableBody"))},t.inRow.endTagTable=function(t){var r=this.ignoreEndTagTr();this.endTagTr("tr"),r||e.insertionMode.processEndTag(t)},t.inRow.endTagTableRowGroup=function(t){e.openElements.inTableScope(t)?(this.endTagTr("tr"),e.insertionMode.processEndTag(t)):e.parseError("unexpected-end-tag",{name:t})},t.inRow.endTagIgnore=function(t){e.parseError("unexpected-end-tag-in-table-row",{name:t})},t.inRow.endTagOther=function(e){t.inTable.processEndTag(e)},t.inRow.ignoreEndTagTr=function(){return!e.openElements.inTableScope("tr")},t.afterAfterFrameset=Object.create(t.base),t.afterAfterFrameset.start_tag_handlers={html:"startTagHtml",noframes:"startTagNoFrames","-default":"startTagOther"},t.afterAfterFrameset.processEOF=function(){},t.afterAfterFrameset.processComment=function(t){e.insertComment(t,e.document)},t.afterAfterFrameset.processCharacters=function(t){for(var r=t.takeRemaining(),n="",a=0;a0&&this.currentStackItem().isForeign()},f.prototype.isSelfClosingFlagAcknowledged=function(){return this.selfClosingFlagAcknowledged},f.prototype.createElement=function(e,t,r){throw new Error("Not implemented")},f.prototype.attachNode=function(e,t){throw new Error("Not implemented")},f.prototype.attachNodeToFosterParent=function(e,t,r){throw new Error("Not implemented")},f.prototype.detachFromParent=function(e){throw new Error("Not implemented")},f.prototype.addAttributesToElement=function(e,t){throw new Error("Not implemented")},f.prototype.insertHtmlElement=function(e){var t=this.createElement("http://www.w3.org/1999/xhtml","html",e);return this.attachNode(t,this.document),this.openElements.pushHtmlElement(new c("http://www.w3.org/1999/xhtml","html",e,t)),t},f.prototype.insertHeadElement=function(e){var t=this.createElement("http://www.w3.org/1999/xhtml","head",e);return this.head=new c("http://www.w3.org/1999/xhtml","head",e,t),this.attachNode(t,this.openElements.top.node),this.openElements.pushHeadElement(this.head),t},f.prototype.insertBodyElement=function(e){var t=this.createElement("http://www.w3.org/1999/xhtml","body",e);return this.attachNode(t,this.openElements.top.node),this.openElements.pushBodyElement(new c("http://www.w3.org/1999/xhtml","body",e,t)),t},f.prototype.insertIntoFosterParent=function(e){var t=this.openElements.findIndex("table"),r=this.openElements.item(t).node;if(0===t)return this.attachNode(e,r);this.attachNodeToFosterParent(e,r,this.openElements.item(t-1).node)},f.prototype.insertElement=function(e,t,r,n){r||(r="http://www.w3.org/1999/xhtml");var a=this.createElement(r,e,t);this.shouldFosterParent()?this.insertIntoFosterParent(a):this.attachNode(a,this.openElements.top.node),n||this.openElements.push(new c(r,e,t,a))},f.prototype.insertFormattingElement=function(e,t){this.insertElement(e,t,"http://www.w3.org/1999/xhtml"),this.appendElementToActiveFormattingElements(this.currentStackItem())},f.prototype.insertSelfClosingElement=function(e,t){this.selfClosingFlagAcknowledged=!0,this.insertElement(e,t,"http://www.w3.org/1999/xhtml",!0)},f.prototype.insertForeignElement=function(e,t,r,n){n&&(this.selfClosingFlagAcknowledged=!0),this.insertElement(e,t,r,n)},f.prototype.insertComment=function(e,t){throw new Error("Not implemented")},f.prototype.insertDoctype=function(e,t,r){throw new Error("Not implemented")},f.prototype.insertText=function(e){throw new Error("Not implemented")},f.prototype.currentStackItem=function(){return this.openElements.top},f.prototype.popElement=function(){return this.openElements.pop()},f.prototype.shouldFosterParent=function(){return this.redirectAttachToFosterParent&&this.currentStackItem().isFosterParenting()},f.prototype.generateImpliedEndTags=function(e){var t=this.openElements.top.localName;-1!=["dd","dt","li","option","optgroup","p","rp","rt"].indexOf(t)&&t!=e&&(this.popElement(),this.generateImpliedEndTags(e))},f.prototype.reconstructActiveFormattingElements=function(){if(0!==this.activeFormattingElements.length){var e=this.activeFormattingElements.length-1,t=this.activeFormattingElements[e];if(t!=l&&!this.openElements.contains(t)){for(;t!=l&&!this.openElements.contains(t)&&(e-=1,t=this.activeFormattingElements[e]););for(;;){e+=1,t=this.activeFormattingElements[e],this.insertElement(t.localName,t.attributes);var r=this.currentStackItem();if(this.activeFormattingElements[e]=r,r==this.activeFormattingElements[this.activeFormattingElements.length-1])break}}}},f.prototype.ensureNoahsArkCondition=function(e){if(!(this.activeFormattingElements.length<3)){for(var t=[],r=e.attributes.length,n=this.activeFormattingElements.length-1;n>=0;n--){if((c=this.activeFormattingElements[n])===l)break;e.localName===c.localName&&e.namespaceURI===c.namespaceURI&&(c.attributes.length==r&&t.push(c))}if(!(t.length<3)){var a=[],o=e.attributes;for(n=0;n=0&&this.activeFormattingElements.splice(t,1)},f.prototype.elementInActiveFormattingElements=function(e){for(var t=this.activeFormattingElements,r=t.length-1;r>=0&&t[r]!=l;r--)if(t[r].localName==e)return t[r];return!1},f.prototype.clearActiveFormattingElements=function(){for(;0!==this.activeFormattingElements.length&&this.activeFormattingElements.pop()!=l;);},f.prototype.reparentChildren=function(e,t){throw new Error("Not implemented")},f.prototype.setFragmentContext=function(e){this.context=e},f.prototype.parseError=function(e,t){if(this.errorHandler){var r=function(e,t){return e.replace(new RegExp("{[0-9a-z-]+}","gi"),(function(e){return t[e.slice(1,-1)]||e}))}(a[e],t);this.errorHandler.error(r,this.tokenizer._inputStream.location(),e)}},f.prototype.resetInsertionMode=function(){for(var e=!1,t=null,r=this.openElements.length-1;r>=0;r--){if(t=this.openElements.item(r),0===r&&(n.ok(this.context),e=!0,t=new c("http://www.w3.org/1999/xhtml",this.context,[],null)),"http://www.w3.org/1999/xhtml"===t.namespaceURI){if("select"===t.localName)return this.setInsertionMode("inSelect");if("td"===t.localName||"th"===t.localName)return this.setInsertionMode("inCell");if("tr"===t.localName)return this.setInsertionMode("inRow");if("tbody"===t.localName||"thead"===t.localName||"tfoot"===t.localName)return this.setInsertionMode("inTableBody");if("caption"===t.localName)return this.setInsertionMode("inCaption");if("colgroup"===t.localName)return this.setInsertionMode("inColumnGroup");if("table"===t.localName)return this.setInsertionMode("inTable");if("head"===t.localName)return this.setInsertionMode("inHead");if("body"===t.localName)return this.setInsertionMode("inBody");if("frameset"===t.localName)return this.setInsertionMode("inFrameset");if("html"===t.localName)return this.openElements.headElement?this.setInsertionMode("afterHead"):this.setInsertionMode("beforeHead")}if(e)return this.setInsertionMode("inBody")}},f.prototype.processGenericRCDATAStartTag=function(e,t){this.insertElement(e,t),this.tokenizer.setState(i.RCDATA),this.originalInsertionMode=this.insertionModeName,this.setInsertionMode("text")},f.prototype.processGenericRawTextStartTag=function(e,t){this.insertElement(e,t),this.tokenizer.setState(i.RAWTEXT),this.originalInsertionMode=this.insertionModeName,this.setInsertionMode("text")},f.prototype.adjustMathMLAttributes=function(e){return e.forEach((function(e){e.namespaceURI="http://www.w3.org/1998/Math/MathML",o.MATHMLAttributeMap[e.nodeName]&&(e.nodeName=o.MATHMLAttributeMap[e.nodeName])})),e},f.prototype.adjustSVGTagNameCase=function(e){return o.SVGTagMap[e]||e},f.prototype.adjustSVGAttributes=function(e){return e.forEach((function(e){e.namespaceURI="http://www.w3.org/2000/svg",o.SVGAttributeMap[e.nodeName]&&(e.nodeName=o.SVGAttributeMap[e.nodeName])})),e},f.prototype.adjustForeignAttributes=function(e){for(var t=0;t' instead.","expected-tag-name-but-got-question-mark":"Expected tag name. Got '?' instead. (HTML doesn't support processing instructions.)","expected-tag-name":"Expected tag name. Got something else instead.","expected-closing-tag-but-got-right-bracket":"Expected closing tag. Got '>' instead. Ignoring ''.","expected-closing-tag-but-got-eof":"Expected closing tag. Unexpected end of file.","expected-closing-tag-but-got-char":"Expected closing tag. Unexpected character '{data}' found.","eof-in-tag-name":"Unexpected end of file in the tag name.","expected-attribute-name-but-got-eof":"Unexpected end of file. Expected attribute name instead.","eof-in-attribute-name":"Unexpected end of file in attribute name.","invalid-character-in-attribute-name":"Invalid character in attribute name.","duplicate-attribute":"Dropped duplicate attribute '{name}' on tag.","expected-end-of-tag-but-got-eof":"Unexpected end of file. Expected = or end of tag.","expected-attribute-value-but-got-eof":"Unexpected end of file. Expected attribute value.","expected-attribute-value-but-got-right-bracket":"Expected attribute value. Got '>' instead.","unexpected-character-in-unquoted-attribute-value":"Unexpected character in unquoted attribute","invalid-character-after-attribute-name":"Unexpected character after attribute name.","unexpected-character-after-attribute-value":"Unexpected character after attribute value.","eof-in-attribute-value-double-quote":'Unexpected end of file in attribute value (").',"eof-in-attribute-value-single-quote":"Unexpected end of file in attribute value (').","eof-in-attribute-value-no-quotes":"Unexpected end of file in attribute value.","eof-after-attribute-value":"Unexpected end of file after attribute value.","unexpected-eof-after-solidus-in-tag":"Unexpected end of file in tag. Expected >.","unexpected-character-after-solidus-in-tag":"Unexpected character after / in tag. Expected >.","expected-dashes-or-doctype":"Expected '--' or 'DOCTYPE'. Not found.","unexpected-bang-after-double-dash-in-comment":"Unexpected ! after -- in comment.","incorrect-comment":"Incorrect comment.","eof-in-comment":"Unexpected end of file in comment.","eof-in-comment-end-dash":"Unexpected end of file in comment (-).","unexpected-dash-after-double-dash-in-comment":"Unexpected '-' after '--' found in comment.","eof-in-comment-double-dash":"Unexpected end of file in comment (--).","eof-in-comment-end-bang-state":"Unexpected end of file in comment.","unexpected-char-in-comment":"Unexpected character in comment found.","need-space-after-doctype":"No space after literal string 'DOCTYPE'.","expected-doctype-name-but-got-right-bracket":"Unexpected > character. Expected DOCTYPE name.","expected-doctype-name-but-got-eof":"Unexpected end of file. Expected DOCTYPE name.","eof-in-doctype-name":"Unexpected end of file in DOCTYPE name.","eof-in-doctype":"Unexpected end of file in DOCTYPE.","expected-space-or-right-bracket-in-doctype":"Expected space or '>'. Got '{data}'.","unexpected-end-of-doctype":"Unexpected end of DOCTYPE.","unexpected-char-in-doctype":"Unexpected character in DOCTYPE.","eof-in-bogus-doctype":"Unexpected end of file in bogus doctype.","eof-in-innerhtml":"Unexpected EOF in inner html mode.","unexpected-doctype":"Unexpected DOCTYPE. Ignored.","non-html-root":"html needs to be the first start tag.","expected-doctype-but-got-eof":"Unexpected End of file. Expected DOCTYPE.","unknown-doctype":"Erroneous DOCTYPE. Expected .","quirky-doctype":"Quirky doctype. Expected .","almost-standards-doctype":"Almost standards mode doctype. Expected .","obsolete-doctype":"Obsolete doctype. Expected .","expected-doctype-but-got-chars":"Non-space characters found without seeing a doctype first. Expected e.g. .","expected-doctype-but-got-start-tag":"Start tag seen without seeing a doctype first. Expected e.g. .","expected-doctype-but-got-end-tag":"End tag seen without seeing a doctype first. Expected e.g. .","end-tag-after-implied-root":"Unexpected end tag ({name}) after the (implied) root element.","expected-named-closing-tag-but-got-eof":"Unexpected end of file. Expected end tag ({name}).","two-heads-are-not-better-than-one":"Unexpected start tag head in existing head. Ignored.","unexpected-end-tag":"Unexpected end tag ({name}). Ignored.","unexpected-implied-end-tag":"End tag {name} implied, but there were open elements.","unexpected-start-tag-out-of-my-head":"Unexpected start tag ({name}) that can be in head. Moved.","unexpected-start-tag":"Unexpected start tag ({name}).","missing-end-tag":"Missing end tag ({name}).","missing-end-tags":"Missing end tags ({name}).","unexpected-start-tag-implies-end-tag":"Unexpected start tag ({startName}) implies end tag ({endName}).","unexpected-start-tag-treated-as":"Unexpected start tag ({originalName}). Treated as {newName}.","deprecated-tag":"Unexpected start tag {name}. Don't use it!","unexpected-start-tag-ignored":"Unexpected start tag {name}. Ignored.","expected-one-end-tag-but-got-another":"Unexpected end tag ({gotName}). Missing end tag ({expectedName}).","end-tag-too-early":"End tag ({name}) seen too early. Expected other end tag.","end-tag-too-early-named":"Unexpected end tag ({gotName}). Expected end tag ({expectedName}.","end-tag-too-early-ignored":"End tag ({name}) seen too early. Ignored.","adoption-agency-1.1":"End tag ({name}) violates step 1, paragraph 1 of the adoption agency algorithm.","adoption-agency-1.2":"End tag ({name}) violates step 1, paragraph 2 of the adoption agency algorithm.","adoption-agency-1.3":"End tag ({name}) violates step 1, paragraph 3 of the adoption agency algorithm.","adoption-agency-4.4":"End tag ({name}) violates step 4, paragraph 4 of the adoption agency algorithm.","unexpected-end-tag-treated-as":"Unexpected end tag ({originalName}). Treated as {newName}.","no-end-tag":"This element ({name}) has no end tag.","unexpected-implied-end-tag-in-table":"Unexpected implied end tag ({name}) in the table phase.","unexpected-implied-end-tag-in-table-body":"Unexpected implied end tag ({name}) in the table body phase.","unexpected-char-implies-table-voodoo":"Unexpected non-space characters in table context caused voodoo mode.","unexpected-hidden-input-in-table":"Unexpected input with type hidden in table context.","unexpected-form-in-table":"Unexpected form in table context.","unexpected-start-tag-implies-table-voodoo":"Unexpected start tag ({name}) in table context caused voodoo mode.","unexpected-end-tag-implies-table-voodoo":"Unexpected end tag ({name}) in table context caused voodoo mode.","unexpected-cell-in-table-body":"Unexpected table cell start tag ({name}) in the table body phase.","unexpected-cell-end-tag":"Got table cell end tag ({name}) while required end tags are missing.","unexpected-end-tag-in-table-body":"Unexpected end tag ({name}) in the table body phase. Ignored.","unexpected-implied-end-tag-in-table-row":"Unexpected implied end tag ({name}) in the table row phase.","unexpected-end-tag-in-table-row":"Unexpected end tag ({name}) in the table row phase. Ignored.","unexpected-select-in-select":"Unexpected select start tag in the select phase treated as select end tag.","unexpected-input-in-select":"Unexpected input start tag in the select phase.","unexpected-start-tag-in-select":"Unexpected start tag token ({name}) in the select phase. Ignored.","unexpected-end-tag-in-select":"Unexpected end tag ({name}) in the select phase. Ignored.","unexpected-table-element-start-tag-in-select-in-table":"Unexpected table element start tag ({name}) in the select in table phase.","unexpected-table-element-end-tag-in-select-in-table":"Unexpected table element end tag ({name}) in the select in table phase.","unexpected-char-after-body":"Unexpected non-space characters in the after body phase.","unexpected-start-tag-after-body":"Unexpected start tag token ({name}) in the after body phase.","unexpected-end-tag-after-body":"Unexpected end tag token ({name}) in the after body phase.","unexpected-char-in-frameset":"Unepxected characters in the frameset phase. Characters ignored.","unexpected-start-tag-in-frameset":"Unexpected start tag token ({name}) in the frameset phase. Ignored.","unexpected-frameset-in-frameset-innerhtml":"Unexpected end tag token (frameset in the frameset phase (innerHTML).","unexpected-end-tag-in-frameset":"Unexpected end tag token ({name}) in the frameset phase. Ignored.","unexpected-char-after-frameset":"Unexpected non-space characters in the after frameset phase. Ignored.","unexpected-start-tag-after-frameset":"Unexpected start tag ({name}) in the after frameset phase. Ignored.","unexpected-end-tag-after-frameset":"Unexpected end tag ({name}) in the after frameset phase. Ignored.","expected-eof-but-got-char":"Unexpected non-space characters. Expected end of file.","expected-eof-but-got-start-tag":"Unexpected start tag ({name}). Expected end of file.","expected-eof-but-got-end-tag":"Unexpected end tag ({name}). Expected end of file.","unexpected-end-table-in-caption":"Unexpected end table tag in caption. Generates implied end caption.","end-html-in-innerhtml":"Unexpected html end tag in inner html mode.","eof-in-table":"Unexpected end of file. Expected table content.","eof-in-script":"Unexpected end of file. Expected script content.","non-void-element-with-trailing-solidus":"Trailing solidus not allowed on element {name}.","unexpected-html-element-in-foreign-content":'HTML start tag "{name}" in a foreign namespace context.',"unexpected-start-tag-in-table":"Unexpected {name}. Expected table content."}},{}],9:[function(e,t,r){var n=e("./SAXTreeBuilder").SAXTreeBuilder,a=e("../Tokenizer").Tokenizer,o=e("./TreeParser").TreeParser;function i(){this.contentHandler=null,this._errorHandler=null,this._treeBuilder=new n,this._tokenizer=new a(this._treeBuilder),this._scriptingEnabled=!1}i.prototype.parse=function(e,t){t&&this._treeBuilder.setFragmentContext(t),this._tokenizer.tokenize(e);var r=this._treeBuilder.document;r&&new o(this.contentHandler).parse(r)},i.prototype.parseFragment=function(e,t){this._treeBuilder.setFragmentContext(t),this._tokenizer.tokenize(e);var r=this._treeBuilder.getFragment();r&&new o(this.contentHandler).parse(r)},Object.defineProperty(i.prototype,"scriptingEnabled",{get:function(){return this._scriptingEnabled},set:function(e){this._scriptingEnabled=e,this._treeBuilder.scriptingEnabled=e}}),Object.defineProperty(i.prototype,"errorHandler",{get:function(){return this._errorHandler},set:function(e){this._errorHandler=e,this._treeBuilder.errorHandler=e}}),r.SAXParser=i},{"../Tokenizer":5,"./SAXTreeBuilder":10,"./TreeParser":11}],10:[function(e,t,r){var n=e("util"),a=e("../TreeBuilder").TreeBuilder;function o(){a.call(this)}function i(e,t){for(var r=0;r",gt:">","GT;":">",GT:">","Gt;":"≫","gtdot;":"⋗","gtlPar;":"⦕","gtquest;":"⩼","gtrapprox;":"⪆","gtrarr;":"⥸","gtrdot;":"⋗","gtreqless;":"⋛","gtreqqless;":"⪌","gtrless;":"≷","gtrsim;":"≳","gvertneqq;":"≩︀","gvnE;":"≩︀","Hacek;":"ˇ","hairsp;":" ","half;":"½","hamilt;":"ℋ","HARDcy;":"Ъ","hardcy;":"ъ","harrcir;":"⥈","harr;":"↔","hArr;":"⇔","harrw;":"↭","Hat;":"^","hbar;":"ℏ","Hcirc;":"Ĥ","hcirc;":"ĥ","hearts;":"♥","heartsuit;":"♥","hellip;":"…","hercon;":"⊹","hfr;":"𝔥","Hfr;":"ℌ","HilbertSpace;":"ℋ","hksearow;":"⤥","hkswarow;":"⤦","hoarr;":"⇿","homtht;":"∻","hookleftarrow;":"↩","hookrightarrow;":"↪","hopf;":"𝕙","Hopf;":"ℍ","horbar;":"―","HorizontalLine;":"─","hscr;":"𝒽","Hscr;":"ℋ","hslash;":"ℏ","Hstrok;":"Ħ","hstrok;":"ħ","HumpDownHump;":"≎","HumpEqual;":"≏","hybull;":"⁃","hyphen;":"‐","Iacute;":"Í",Iacute:"Í","iacute;":"í",iacute:"í","ic;":"⁣","Icirc;":"Î",Icirc:"Î","icirc;":"î",icirc:"î","Icy;":"И","icy;":"и","Idot;":"İ","IEcy;":"Е","iecy;":"е","iexcl;":"¡",iexcl:"¡","iff;":"⇔","ifr;":"𝔦","Ifr;":"ℑ","Igrave;":"Ì",Igrave:"Ì","igrave;":"ì",igrave:"ì","ii;":"ⅈ","iiiint;":"⨌","iiint;":"∭","iinfin;":"⧜","iiota;":"℩","IJlig;":"IJ","ijlig;":"ij","Imacr;":"Ī","imacr;":"ī","image;":"ℑ","ImaginaryI;":"ⅈ","imagline;":"ℐ","imagpart;":"ℑ","imath;":"ı","Im;":"ℑ","imof;":"⊷","imped;":"Ƶ","Implies;":"⇒","incare;":"℅","in;":"∈","infin;":"∞","infintie;":"⧝","inodot;":"ı","intcal;":"⊺","int;":"∫","Int;":"∬","integers;":"ℤ","Integral;":"∫","intercal;":"⊺","Intersection;":"⋂","intlarhk;":"⨗","intprod;":"⨼","InvisibleComma;":"⁣","InvisibleTimes;":"⁢","IOcy;":"Ё","iocy;":"ё","Iogon;":"Į","iogon;":"į","Iopf;":"𝕀","iopf;":"𝕚","Iota;":"Ι","iota;":"ι","iprod;":"⨼","iquest;":"¿",iquest:"¿","iscr;":"𝒾","Iscr;":"ℐ","isin;":"∈","isindot;":"⋵","isinE;":"⋹","isins;":"⋴","isinsv;":"⋳","isinv;":"∈","it;":"⁢","Itilde;":"Ĩ","itilde;":"ĩ","Iukcy;":"І","iukcy;":"і","Iuml;":"Ï",Iuml:"Ï","iuml;":"ï",iuml:"ï","Jcirc;":"Ĵ","jcirc;":"ĵ","Jcy;":"Й","jcy;":"й","Jfr;":"𝔍","jfr;":"𝔧","jmath;":"ȷ","Jopf;":"𝕁","jopf;":"𝕛","Jscr;":"𝒥","jscr;":"𝒿","Jsercy;":"Ј","jsercy;":"ј","Jukcy;":"Є","jukcy;":"є","Kappa;":"Κ","kappa;":"κ","kappav;":"ϰ","Kcedil;":"Ķ","kcedil;":"ķ","Kcy;":"К","kcy;":"к","Kfr;":"𝔎","kfr;":"𝔨","kgreen;":"ĸ","KHcy;":"Х","khcy;":"х","KJcy;":"Ќ","kjcy;":"ќ","Kopf;":"𝕂","kopf;":"𝕜","Kscr;":"𝒦","kscr;":"𝓀","lAarr;":"⇚","Lacute;":"Ĺ","lacute;":"ĺ","laemptyv;":"⦴","lagran;":"ℒ","Lambda;":"Λ","lambda;":"λ","lang;":"⟨","Lang;":"⟪","langd;":"⦑","langle;":"⟨","lap;":"⪅","Laplacetrf;":"ℒ","laquo;":"«",laquo:"«","larrb;":"⇤","larrbfs;":"⤟","larr;":"←","Larr;":"↞","lArr;":"⇐","larrfs;":"⤝","larrhk;":"↩","larrlp;":"↫","larrpl;":"⤹","larrsim;":"⥳","larrtl;":"↢","latail;":"⤙","lAtail;":"⤛","lat;":"⪫","late;":"⪭","lates;":"⪭︀","lbarr;":"⤌","lBarr;":"⤎","lbbrk;":"❲","lbrace;":"{","lbrack;":"[","lbrke;":"⦋","lbrksld;":"⦏","lbrkslu;":"⦍","Lcaron;":"Ľ","lcaron;":"ľ","Lcedil;":"Ļ","lcedil;":"ļ","lceil;":"⌈","lcub;":"{","Lcy;":"Л","lcy;":"л","ldca;":"⤶","ldquo;":"“","ldquor;":"„","ldrdhar;":"⥧","ldrushar;":"⥋","ldsh;":"↲","le;":"≤","lE;":"≦","LeftAngleBracket;":"⟨","LeftArrowBar;":"⇤","leftarrow;":"←","LeftArrow;":"←","Leftarrow;":"⇐","LeftArrowRightArrow;":"⇆","leftarrowtail;":"↢","LeftCeiling;":"⌈","LeftDoubleBracket;":"⟦","LeftDownTeeVector;":"⥡","LeftDownVectorBar;":"⥙","LeftDownVector;":"⇃","LeftFloor;":"⌊","leftharpoondown;":"↽","leftharpoonup;":"↼","leftleftarrows;":"⇇","leftrightarrow;":"↔","LeftRightArrow;":"↔","Leftrightarrow;":"⇔","leftrightarrows;":"⇆","leftrightharpoons;":"⇋","leftrightsquigarrow;":"↭","LeftRightVector;":"⥎","LeftTeeArrow;":"↤","LeftTee;":"⊣","LeftTeeVector;":"⥚","leftthreetimes;":"⋋","LeftTriangleBar;":"⧏","LeftTriangle;":"⊲","LeftTriangleEqual;":"⊴","LeftUpDownVector;":"⥑","LeftUpTeeVector;":"⥠","LeftUpVectorBar;":"⥘","LeftUpVector;":"↿","LeftVectorBar;":"⥒","LeftVector;":"↼","lEg;":"⪋","leg;":"⋚","leq;":"≤","leqq;":"≦","leqslant;":"⩽","lescc;":"⪨","les;":"⩽","lesdot;":"⩿","lesdoto;":"⪁","lesdotor;":"⪃","lesg;":"⋚︀","lesges;":"⪓","lessapprox;":"⪅","lessdot;":"⋖","lesseqgtr;":"⋚","lesseqqgtr;":"⪋","LessEqualGreater;":"⋚","LessFullEqual;":"≦","LessGreater;":"≶","lessgtr;":"≶","LessLess;":"⪡","lesssim;":"≲","LessSlantEqual;":"⩽","LessTilde;":"≲","lfisht;":"⥼","lfloor;":"⌊","Lfr;":"𝔏","lfr;":"𝔩","lg;":"≶","lgE;":"⪑","lHar;":"⥢","lhard;":"↽","lharu;":"↼","lharul;":"⥪","lhblk;":"▄","LJcy;":"Љ","ljcy;":"љ","llarr;":"⇇","ll;":"≪","Ll;":"⋘","llcorner;":"⌞","Lleftarrow;":"⇚","llhard;":"⥫","lltri;":"◺","Lmidot;":"Ŀ","lmidot;":"ŀ","lmoustache;":"⎰","lmoust;":"⎰","lnap;":"⪉","lnapprox;":"⪉","lne;":"⪇","lnE;":"≨","lneq;":"⪇","lneqq;":"≨","lnsim;":"⋦","loang;":"⟬","loarr;":"⇽","lobrk;":"⟦","longleftarrow;":"⟵","LongLeftArrow;":"⟵","Longleftarrow;":"⟸","longleftrightarrow;":"⟷","LongLeftRightArrow;":"⟷","Longleftrightarrow;":"⟺","longmapsto;":"⟼","longrightarrow;":"⟶","LongRightArrow;":"⟶","Longrightarrow;":"⟹","looparrowleft;":"↫","looparrowright;":"↬","lopar;":"⦅","Lopf;":"𝕃","lopf;":"𝕝","loplus;":"⨭","lotimes;":"⨴","lowast;":"∗","lowbar;":"_","LowerLeftArrow;":"↙","LowerRightArrow;":"↘","loz;":"◊","lozenge;":"◊","lozf;":"⧫","lpar;":"(","lparlt;":"⦓","lrarr;":"⇆","lrcorner;":"⌟","lrhar;":"⇋","lrhard;":"⥭","lrm;":"‎","lrtri;":"⊿","lsaquo;":"‹","lscr;":"𝓁","Lscr;":"ℒ","lsh;":"↰","Lsh;":"↰","lsim;":"≲","lsime;":"⪍","lsimg;":"⪏","lsqb;":"[","lsquo;":"‘","lsquor;":"‚","Lstrok;":"Ł","lstrok;":"ł","ltcc;":"⪦","ltcir;":"⩹","lt;":"<",lt:"<","LT;":"<",LT:"<","Lt;":"≪","ltdot;":"⋖","lthree;":"⋋","ltimes;":"⋉","ltlarr;":"⥶","ltquest;":"⩻","ltri;":"◃","ltrie;":"⊴","ltrif;":"◂","ltrPar;":"⦖","lurdshar;":"⥊","luruhar;":"⥦","lvertneqq;":"≨︀","lvnE;":"≨︀","macr;":"¯",macr:"¯","male;":"♂","malt;":"✠","maltese;":"✠","Map;":"⤅","map;":"↦","mapsto;":"↦","mapstodown;":"↧","mapstoleft;":"↤","mapstoup;":"↥","marker;":"▮","mcomma;":"⨩","Mcy;":"М","mcy;":"м","mdash;":"—","mDDot;":"∺","measuredangle;":"∡","MediumSpace;":" ","Mellintrf;":"ℳ","Mfr;":"𝔐","mfr;":"𝔪","mho;":"℧","micro;":"µ",micro:"µ","midast;":"*","midcir;":"⫰","mid;":"∣","middot;":"·",middot:"·","minusb;":"⊟","minus;":"−","minusd;":"∸","minusdu;":"⨪","MinusPlus;":"∓","mlcp;":"⫛","mldr;":"…","mnplus;":"∓","models;":"⊧","Mopf;":"𝕄","mopf;":"𝕞","mp;":"∓","mscr;":"𝓂","Mscr;":"ℳ","mstpos;":"∾","Mu;":"Μ","mu;":"μ","multimap;":"⊸","mumap;":"⊸","nabla;":"∇","Nacute;":"Ń","nacute;":"ń","nang;":"∠⃒","nap;":"≉","napE;":"⩰̸","napid;":"≋̸","napos;":"ʼn","napprox;":"≉","natural;":"♮","naturals;":"ℕ","natur;":"♮","nbsp;":" ",nbsp:" ","nbump;":"≎̸","nbumpe;":"≏̸","ncap;":"⩃","Ncaron;":"Ň","ncaron;":"ň","Ncedil;":"Ņ","ncedil;":"ņ","ncong;":"≇","ncongdot;":"⩭̸","ncup;":"⩂","Ncy;":"Н","ncy;":"н","ndash;":"–","nearhk;":"⤤","nearr;":"↗","neArr;":"⇗","nearrow;":"↗","ne;":"≠","nedot;":"≐̸","NegativeMediumSpace;":"​","NegativeThickSpace;":"​","NegativeThinSpace;":"​","NegativeVeryThinSpace;":"​","nequiv;":"≢","nesear;":"⤨","nesim;":"≂̸","NestedGreaterGreater;":"≫","NestedLessLess;":"≪","NewLine;":"\n","nexist;":"∄","nexists;":"∄","Nfr;":"𝔑","nfr;":"𝔫","ngE;":"≧̸","nge;":"≱","ngeq;":"≱","ngeqq;":"≧̸","ngeqslant;":"⩾̸","nges;":"⩾̸","nGg;":"⋙̸","ngsim;":"≵","nGt;":"≫⃒","ngt;":"≯","ngtr;":"≯","nGtv;":"≫̸","nharr;":"↮","nhArr;":"⇎","nhpar;":"⫲","ni;":"∋","nis;":"⋼","nisd;":"⋺","niv;":"∋","NJcy;":"Њ","njcy;":"њ","nlarr;":"↚","nlArr;":"⇍","nldr;":"‥","nlE;":"≦̸","nle;":"≰","nleftarrow;":"↚","nLeftarrow;":"⇍","nleftrightarrow;":"↮","nLeftrightarrow;":"⇎","nleq;":"≰","nleqq;":"≦̸","nleqslant;":"⩽̸","nles;":"⩽̸","nless;":"≮","nLl;":"⋘̸","nlsim;":"≴","nLt;":"≪⃒","nlt;":"≮","nltri;":"⋪","nltrie;":"⋬","nLtv;":"≪̸","nmid;":"∤","NoBreak;":"⁠","NonBreakingSpace;":" ","nopf;":"𝕟","Nopf;":"ℕ","Not;":"⫬","not;":"¬",not:"¬","NotCongruent;":"≢","NotCupCap;":"≭","NotDoubleVerticalBar;":"∦","NotElement;":"∉","NotEqual;":"≠","NotEqualTilde;":"≂̸","NotExists;":"∄","NotGreater;":"≯","NotGreaterEqual;":"≱","NotGreaterFullEqual;":"≧̸","NotGreaterGreater;":"≫̸","NotGreaterLess;":"≹","NotGreaterSlantEqual;":"⩾̸","NotGreaterTilde;":"≵","NotHumpDownHump;":"≎̸","NotHumpEqual;":"≏̸","notin;":"∉","notindot;":"⋵̸","notinE;":"⋹̸","notinva;":"∉","notinvb;":"⋷","notinvc;":"⋶","NotLeftTriangleBar;":"⧏̸","NotLeftTriangle;":"⋪","NotLeftTriangleEqual;":"⋬","NotLess;":"≮","NotLessEqual;":"≰","NotLessGreater;":"≸","NotLessLess;":"≪̸","NotLessSlantEqual;":"⩽̸","NotLessTilde;":"≴","NotNestedGreaterGreater;":"⪢̸","NotNestedLessLess;":"⪡̸","notni;":"∌","notniva;":"∌","notnivb;":"⋾","notnivc;":"⋽","NotPrecedes;":"⊀","NotPrecedesEqual;":"⪯̸","NotPrecedesSlantEqual;":"⋠","NotReverseElement;":"∌","NotRightTriangleBar;":"⧐̸","NotRightTriangle;":"⋫","NotRightTriangleEqual;":"⋭","NotSquareSubset;":"⊏̸","NotSquareSubsetEqual;":"⋢","NotSquareSuperset;":"⊐̸","NotSquareSupersetEqual;":"⋣","NotSubset;":"⊂⃒","NotSubsetEqual;":"⊈","NotSucceeds;":"⊁","NotSucceedsEqual;":"⪰̸","NotSucceedsSlantEqual;":"⋡","NotSucceedsTilde;":"≿̸","NotSuperset;":"⊃⃒","NotSupersetEqual;":"⊉","NotTilde;":"≁","NotTildeEqual;":"≄","NotTildeFullEqual;":"≇","NotTildeTilde;":"≉","NotVerticalBar;":"∤","nparallel;":"∦","npar;":"∦","nparsl;":"⫽⃥","npart;":"∂̸","npolint;":"⨔","npr;":"⊀","nprcue;":"⋠","nprec;":"⊀","npreceq;":"⪯̸","npre;":"⪯̸","nrarrc;":"⤳̸","nrarr;":"↛","nrArr;":"⇏","nrarrw;":"↝̸","nrightarrow;":"↛","nRightarrow;":"⇏","nrtri;":"⋫","nrtrie;":"⋭","nsc;":"⊁","nsccue;":"⋡","nsce;":"⪰̸","Nscr;":"𝒩","nscr;":"𝓃","nshortmid;":"∤","nshortparallel;":"∦","nsim;":"≁","nsime;":"≄","nsimeq;":"≄","nsmid;":"∤","nspar;":"∦","nsqsube;":"⋢","nsqsupe;":"⋣","nsub;":"⊄","nsubE;":"⫅̸","nsube;":"⊈","nsubset;":"⊂⃒","nsubseteq;":"⊈","nsubseteqq;":"⫅̸","nsucc;":"⊁","nsucceq;":"⪰̸","nsup;":"⊅","nsupE;":"⫆̸","nsupe;":"⊉","nsupset;":"⊃⃒","nsupseteq;":"⊉","nsupseteqq;":"⫆̸","ntgl;":"≹","Ntilde;":"Ñ",Ntilde:"Ñ","ntilde;":"ñ",ntilde:"ñ","ntlg;":"≸","ntriangleleft;":"⋪","ntrianglelefteq;":"⋬","ntriangleright;":"⋫","ntrianglerighteq;":"⋭","Nu;":"Ν","nu;":"ν","num;":"#","numero;":"№","numsp;":" ","nvap;":"≍⃒","nvdash;":"⊬","nvDash;":"⊭","nVdash;":"⊮","nVDash;":"⊯","nvge;":"≥⃒","nvgt;":">⃒","nvHarr;":"⤄","nvinfin;":"⧞","nvlArr;":"⤂","nvle;":"≤⃒","nvlt;":"<⃒","nvltrie;":"⊴⃒","nvrArr;":"⤃","nvrtrie;":"⊵⃒","nvsim;":"∼⃒","nwarhk;":"⤣","nwarr;":"↖","nwArr;":"⇖","nwarrow;":"↖","nwnear;":"⤧","Oacute;":"Ó",Oacute:"Ó","oacute;":"ó",oacute:"ó","oast;":"⊛","Ocirc;":"Ô",Ocirc:"Ô","ocirc;":"ô",ocirc:"ô","ocir;":"⊚","Ocy;":"О","ocy;":"о","odash;":"⊝","Odblac;":"Ő","odblac;":"ő","odiv;":"⨸","odot;":"⊙","odsold;":"⦼","OElig;":"Œ","oelig;":"œ","ofcir;":"⦿","Ofr;":"𝔒","ofr;":"𝔬","ogon;":"˛","Ograve;":"Ò",Ograve:"Ò","ograve;":"ò",ograve:"ò","ogt;":"⧁","ohbar;":"⦵","ohm;":"Ω","oint;":"∮","olarr;":"↺","olcir;":"⦾","olcross;":"⦻","oline;":"‾","olt;":"⧀","Omacr;":"Ō","omacr;":"ō","Omega;":"Ω","omega;":"ω","Omicron;":"Ο","omicron;":"ο","omid;":"⦶","ominus;":"⊖","Oopf;":"𝕆","oopf;":"𝕠","opar;":"⦷","OpenCurlyDoubleQuote;":"“","OpenCurlyQuote;":"‘","operp;":"⦹","oplus;":"⊕","orarr;":"↻","Or;":"⩔","or;":"∨","ord;":"⩝","order;":"ℴ","orderof;":"ℴ","ordf;":"ª",ordf:"ª","ordm;":"º",ordm:"º","origof;":"⊶","oror;":"⩖","orslope;":"⩗","orv;":"⩛","oS;":"Ⓢ","Oscr;":"𝒪","oscr;":"ℴ","Oslash;":"Ø",Oslash:"Ø","oslash;":"ø",oslash:"ø","osol;":"⊘","Otilde;":"Õ",Otilde:"Õ","otilde;":"õ",otilde:"õ","otimesas;":"⨶","Otimes;":"⨷","otimes;":"⊗","Ouml;":"Ö",Ouml:"Ö","ouml;":"ö",ouml:"ö","ovbar;":"⌽","OverBar;":"‾","OverBrace;":"⏞","OverBracket;":"⎴","OverParenthesis;":"⏜","para;":"¶",para:"¶","parallel;":"∥","par;":"∥","parsim;":"⫳","parsl;":"⫽","part;":"∂","PartialD;":"∂","Pcy;":"П","pcy;":"п","percnt;":"%","period;":".","permil;":"‰","perp;":"⊥","pertenk;":"‱","Pfr;":"𝔓","pfr;":"𝔭","Phi;":"Φ","phi;":"φ","phiv;":"ϕ","phmmat;":"ℳ","phone;":"☎","Pi;":"Π","pi;":"π","pitchfork;":"⋔","piv;":"ϖ","planck;":"ℏ","planckh;":"ℎ","plankv;":"ℏ","plusacir;":"⨣","plusb;":"⊞","pluscir;":"⨢","plus;":"+","plusdo;":"∔","plusdu;":"⨥","pluse;":"⩲","PlusMinus;":"±","plusmn;":"±",plusmn:"±","plussim;":"⨦","plustwo;":"⨧","pm;":"±","Poincareplane;":"ℌ","pointint;":"⨕","popf;":"𝕡","Popf;":"ℙ","pound;":"£",pound:"£","prap;":"⪷","Pr;":"⪻","pr;":"≺","prcue;":"≼","precapprox;":"⪷","prec;":"≺","preccurlyeq;":"≼","Precedes;":"≺","PrecedesEqual;":"⪯","PrecedesSlantEqual;":"≼","PrecedesTilde;":"≾","preceq;":"⪯","precnapprox;":"⪹","precneqq;":"⪵","precnsim;":"⋨","pre;":"⪯","prE;":"⪳","precsim;":"≾","prime;":"′","Prime;":"″","primes;":"ℙ","prnap;":"⪹","prnE;":"⪵","prnsim;":"⋨","prod;":"∏","Product;":"∏","profalar;":"⌮","profline;":"⌒","profsurf;":"⌓","prop;":"∝","Proportional;":"∝","Proportion;":"∷","propto;":"∝","prsim;":"≾","prurel;":"⊰","Pscr;":"𝒫","pscr;":"𝓅","Psi;":"Ψ","psi;":"ψ","puncsp;":" ","Qfr;":"𝔔","qfr;":"𝔮","qint;":"⨌","qopf;":"𝕢","Qopf;":"ℚ","qprime;":"⁗","Qscr;":"𝒬","qscr;":"𝓆","quaternions;":"ℍ","quatint;":"⨖","quest;":"?","questeq;":"≟","quot;":'"',quot:'"',"QUOT;":'"',QUOT:'"',"rAarr;":"⇛","race;":"∽̱","Racute;":"Ŕ","racute;":"ŕ","radic;":"√","raemptyv;":"⦳","rang;":"⟩","Rang;":"⟫","rangd;":"⦒","range;":"⦥","rangle;":"⟩","raquo;":"»",raquo:"»","rarrap;":"⥵","rarrb;":"⇥","rarrbfs;":"⤠","rarrc;":"⤳","rarr;":"→","Rarr;":"↠","rArr;":"⇒","rarrfs;":"⤞","rarrhk;":"↪","rarrlp;":"↬","rarrpl;":"⥅","rarrsim;":"⥴","Rarrtl;":"⤖","rarrtl;":"↣","rarrw;":"↝","ratail;":"⤚","rAtail;":"⤜","ratio;":"∶","rationals;":"ℚ","rbarr;":"⤍","rBarr;":"⤏","RBarr;":"⤐","rbbrk;":"❳","rbrace;":"}","rbrack;":"]","rbrke;":"⦌","rbrksld;":"⦎","rbrkslu;":"⦐","Rcaron;":"Ř","rcaron;":"ř","Rcedil;":"Ŗ","rcedil;":"ŗ","rceil;":"⌉","rcub;":"}","Rcy;":"Р","rcy;":"р","rdca;":"⤷","rdldhar;":"⥩","rdquo;":"”","rdquor;":"”","rdsh;":"↳","real;":"ℜ","realine;":"ℛ","realpart;":"ℜ","reals;":"ℝ","Re;":"ℜ","rect;":"▭","reg;":"®",reg:"®","REG;":"®",REG:"®","ReverseElement;":"∋","ReverseEquilibrium;":"⇋","ReverseUpEquilibrium;":"⥯","rfisht;":"⥽","rfloor;":"⌋","rfr;":"𝔯","Rfr;":"ℜ","rHar;":"⥤","rhard;":"⇁","rharu;":"⇀","rharul;":"⥬","Rho;":"Ρ","rho;":"ρ","rhov;":"ϱ","RightAngleBracket;":"⟩","RightArrowBar;":"⇥","rightarrow;":"→","RightArrow;":"→","Rightarrow;":"⇒","RightArrowLeftArrow;":"⇄","rightarrowtail;":"↣","RightCeiling;":"⌉","RightDoubleBracket;":"⟧","RightDownTeeVector;":"⥝","RightDownVectorBar;":"⥕","RightDownVector;":"⇂","RightFloor;":"⌋","rightharpoondown;":"⇁","rightharpoonup;":"⇀","rightleftarrows;":"⇄","rightleftharpoons;":"⇌","rightrightarrows;":"⇉","rightsquigarrow;":"↝","RightTeeArrow;":"↦","RightTee;":"⊢","RightTeeVector;":"⥛","rightthreetimes;":"⋌","RightTriangleBar;":"⧐","RightTriangle;":"⊳","RightTriangleEqual;":"⊵","RightUpDownVector;":"⥏","RightUpTeeVector;":"⥜","RightUpVectorBar;":"⥔","RightUpVector;":"↾","RightVectorBar;":"⥓","RightVector;":"⇀","ring;":"˚","risingdotseq;":"≓","rlarr;":"⇄","rlhar;":"⇌","rlm;":"‏","rmoustache;":"⎱","rmoust;":"⎱","rnmid;":"⫮","roang;":"⟭","roarr;":"⇾","robrk;":"⟧","ropar;":"⦆","ropf;":"𝕣","Ropf;":"ℝ","roplus;":"⨮","rotimes;":"⨵","RoundImplies;":"⥰","rpar;":")","rpargt;":"⦔","rppolint;":"⨒","rrarr;":"⇉","Rrightarrow;":"⇛","rsaquo;":"›","rscr;":"𝓇","Rscr;":"ℛ","rsh;":"↱","Rsh;":"↱","rsqb;":"]","rsquo;":"’","rsquor;":"’","rthree;":"⋌","rtimes;":"⋊","rtri;":"▹","rtrie;":"⊵","rtrif;":"▸","rtriltri;":"⧎","RuleDelayed;":"⧴","ruluhar;":"⥨","rx;":"℞","Sacute;":"Ś","sacute;":"ś","sbquo;":"‚","scap;":"⪸","Scaron;":"Š","scaron;":"š","Sc;":"⪼","sc;":"≻","sccue;":"≽","sce;":"⪰","scE;":"⪴","Scedil;":"Ş","scedil;":"ş","Scirc;":"Ŝ","scirc;":"ŝ","scnap;":"⪺","scnE;":"⪶","scnsim;":"⋩","scpolint;":"⨓","scsim;":"≿","Scy;":"С","scy;":"с","sdotb;":"⊡","sdot;":"⋅","sdote;":"⩦","searhk;":"⤥","searr;":"↘","seArr;":"⇘","searrow;":"↘","sect;":"§",sect:"§","semi;":";","seswar;":"⤩","setminus;":"∖","setmn;":"∖","sext;":"✶","Sfr;":"𝔖","sfr;":"𝔰","sfrown;":"⌢","sharp;":"♯","SHCHcy;":"Щ","shchcy;":"щ","SHcy;":"Ш","shcy;":"ш","ShortDownArrow;":"↓","ShortLeftArrow;":"←","shortmid;":"∣","shortparallel;":"∥","ShortRightArrow;":"→","ShortUpArrow;":"↑","shy;":"­",shy:"­","Sigma;":"Σ","sigma;":"σ","sigmaf;":"ς","sigmav;":"ς","sim;":"∼","simdot;":"⩪","sime;":"≃","simeq;":"≃","simg;":"⪞","simgE;":"⪠","siml;":"⪝","simlE;":"⪟","simne;":"≆","simplus;":"⨤","simrarr;":"⥲","slarr;":"←","SmallCircle;":"∘","smallsetminus;":"∖","smashp;":"⨳","smeparsl;":"⧤","smid;":"∣","smile;":"⌣","smt;":"⪪","smte;":"⪬","smtes;":"⪬︀","SOFTcy;":"Ь","softcy;":"ь","solbar;":"⌿","solb;":"⧄","sol;":"/","Sopf;":"𝕊","sopf;":"𝕤","spades;":"♠","spadesuit;":"♠","spar;":"∥","sqcap;":"⊓","sqcaps;":"⊓︀","sqcup;":"⊔","sqcups;":"⊔︀","Sqrt;":"√","sqsub;":"⊏","sqsube;":"⊑","sqsubset;":"⊏","sqsubseteq;":"⊑","sqsup;":"⊐","sqsupe;":"⊒","sqsupset;":"⊐","sqsupseteq;":"⊒","square;":"□","Square;":"□","SquareIntersection;":"⊓","SquareSubset;":"⊏","SquareSubsetEqual;":"⊑","SquareSuperset;":"⊐","SquareSupersetEqual;":"⊒","SquareUnion;":"⊔","squarf;":"▪","squ;":"□","squf;":"▪","srarr;":"→","Sscr;":"𝒮","sscr;":"𝓈","ssetmn;":"∖","ssmile;":"⌣","sstarf;":"⋆","Star;":"⋆","star;":"☆","starf;":"★","straightepsilon;":"ϵ","straightphi;":"ϕ","strns;":"¯","sub;":"⊂","Sub;":"⋐","subdot;":"⪽","subE;":"⫅","sube;":"⊆","subedot;":"⫃","submult;":"⫁","subnE;":"⫋","subne;":"⊊","subplus;":"⪿","subrarr;":"⥹","subset;":"⊂","Subset;":"⋐","subseteq;":"⊆","subseteqq;":"⫅","SubsetEqual;":"⊆","subsetneq;":"⊊","subsetneqq;":"⫋","subsim;":"⫇","subsub;":"⫕","subsup;":"⫓","succapprox;":"⪸","succ;":"≻","succcurlyeq;":"≽","Succeeds;":"≻","SucceedsEqual;":"⪰","SucceedsSlantEqual;":"≽","SucceedsTilde;":"≿","succeq;":"⪰","succnapprox;":"⪺","succneqq;":"⪶","succnsim;":"⋩","succsim;":"≿","SuchThat;":"∋","sum;":"∑","Sum;":"∑","sung;":"♪","sup1;":"¹",sup1:"¹","sup2;":"²",sup2:"²","sup3;":"³",sup3:"³","sup;":"⊃","Sup;":"⋑","supdot;":"⪾","supdsub;":"⫘","supE;":"⫆","supe;":"⊇","supedot;":"⫄","Superset;":"⊃","SupersetEqual;":"⊇","suphsol;":"⟉","suphsub;":"⫗","suplarr;":"⥻","supmult;":"⫂","supnE;":"⫌","supne;":"⊋","supplus;":"⫀","supset;":"⊃","Supset;":"⋑","supseteq;":"⊇","supseteqq;":"⫆","supsetneq;":"⊋","supsetneqq;":"⫌","supsim;":"⫈","supsub;":"⫔","supsup;":"⫖","swarhk;":"⤦","swarr;":"↙","swArr;":"⇙","swarrow;":"↙","swnwar;":"⤪","szlig;":"ß",szlig:"ß","Tab;":"\t","target;":"⌖","Tau;":"Τ","tau;":"τ","tbrk;":"⎴","Tcaron;":"Ť","tcaron;":"ť","Tcedil;":"Ţ","tcedil;":"ţ","Tcy;":"Т","tcy;":"т","tdot;":"⃛","telrec;":"⌕","Tfr;":"𝔗","tfr;":"𝔱","there4;":"∴","therefore;":"∴","Therefore;":"∴","Theta;":"Θ","theta;":"θ","thetasym;":"ϑ","thetav;":"ϑ","thickapprox;":"≈","thicksim;":"∼","ThickSpace;":"  ","ThinSpace;":" ","thinsp;":" ","thkap;":"≈","thksim;":"∼","THORN;":"Þ",THORN:"Þ","thorn;":"þ",thorn:"þ","tilde;":"˜","Tilde;":"∼","TildeEqual;":"≃","TildeFullEqual;":"≅","TildeTilde;":"≈","timesbar;":"⨱","timesb;":"⊠","times;":"×",times:"×","timesd;":"⨰","tint;":"∭","toea;":"⤨","topbot;":"⌶","topcir;":"⫱","top;":"⊤","Topf;":"𝕋","topf;":"𝕥","topfork;":"⫚","tosa;":"⤩","tprime;":"‴","trade;":"™","TRADE;":"™","triangle;":"▵","triangledown;":"▿","triangleleft;":"◃","trianglelefteq;":"⊴","triangleq;":"≜","triangleright;":"▹","trianglerighteq;":"⊵","tridot;":"◬","trie;":"≜","triminus;":"⨺","TripleDot;":"⃛","triplus;":"⨹","trisb;":"⧍","tritime;":"⨻","trpezium;":"⏢","Tscr;":"𝒯","tscr;":"𝓉","TScy;":"Ц","tscy;":"ц","TSHcy;":"Ћ","tshcy;":"ћ","Tstrok;":"Ŧ","tstrok;":"ŧ","twixt;":"≬","twoheadleftarrow;":"↞","twoheadrightarrow;":"↠","Uacute;":"Ú",Uacute:"Ú","uacute;":"ú",uacute:"ú","uarr;":"↑","Uarr;":"↟","uArr;":"⇑","Uarrocir;":"⥉","Ubrcy;":"Ў","ubrcy;":"ў","Ubreve;":"Ŭ","ubreve;":"ŭ","Ucirc;":"Û",Ucirc:"Û","ucirc;":"û",ucirc:"û","Ucy;":"У","ucy;":"у","udarr;":"⇅","Udblac;":"Ű","udblac;":"ű","udhar;":"⥮","ufisht;":"⥾","Ufr;":"𝔘","ufr;":"𝔲","Ugrave;":"Ù",Ugrave:"Ù","ugrave;":"ù",ugrave:"ù","uHar;":"⥣","uharl;":"↿","uharr;":"↾","uhblk;":"▀","ulcorn;":"⌜","ulcorner;":"⌜","ulcrop;":"⌏","ultri;":"◸","Umacr;":"Ū","umacr;":"ū","uml;":"¨",uml:"¨","UnderBar;":"_","UnderBrace;":"⏟","UnderBracket;":"⎵","UnderParenthesis;":"⏝","Union;":"⋃","UnionPlus;":"⊎","Uogon;":"Ų","uogon;":"ų","Uopf;":"𝕌","uopf;":"𝕦","UpArrowBar;":"⤒","uparrow;":"↑","UpArrow;":"↑","Uparrow;":"⇑","UpArrowDownArrow;":"⇅","updownarrow;":"↕","UpDownArrow;":"↕","Updownarrow;":"⇕","UpEquilibrium;":"⥮","upharpoonleft;":"↿","upharpoonright;":"↾","uplus;":"⊎","UpperLeftArrow;":"↖","UpperRightArrow;":"↗","upsi;":"υ","Upsi;":"ϒ","upsih;":"ϒ","Upsilon;":"Υ","upsilon;":"υ","UpTeeArrow;":"↥","UpTee;":"⊥","upuparrows;":"⇈","urcorn;":"⌝","urcorner;":"⌝","urcrop;":"⌎","Uring;":"Ů","uring;":"ů","urtri;":"◹","Uscr;":"𝒰","uscr;":"𝓊","utdot;":"⋰","Utilde;":"Ũ","utilde;":"ũ","utri;":"▵","utrif;":"▴","uuarr;":"⇈","Uuml;":"Ü",Uuml:"Ü","uuml;":"ü",uuml:"ü","uwangle;":"⦧","vangrt;":"⦜","varepsilon;":"ϵ","varkappa;":"ϰ","varnothing;":"∅","varphi;":"ϕ","varpi;":"ϖ","varpropto;":"∝","varr;":"↕","vArr;":"⇕","varrho;":"ϱ","varsigma;":"ς","varsubsetneq;":"⊊︀","varsubsetneqq;":"⫋︀","varsupsetneq;":"⊋︀","varsupsetneqq;":"⫌︀","vartheta;":"ϑ","vartriangleleft;":"⊲","vartriangleright;":"⊳","vBar;":"⫨","Vbar;":"⫫","vBarv;":"⫩","Vcy;":"В","vcy;":"в","vdash;":"⊢","vDash;":"⊨","Vdash;":"⊩","VDash;":"⊫","Vdashl;":"⫦","veebar;":"⊻","vee;":"∨","Vee;":"⋁","veeeq;":"≚","vellip;":"⋮","verbar;":"|","Verbar;":"‖","vert;":"|","Vert;":"‖","VerticalBar;":"∣","VerticalLine;":"|","VerticalSeparator;":"❘","VerticalTilde;":"≀","VeryThinSpace;":" ","Vfr;":"𝔙","vfr;":"𝔳","vltri;":"⊲","vnsub;":"⊂⃒","vnsup;":"⊃⃒","Vopf;":"𝕍","vopf;":"𝕧","vprop;":"∝","vrtri;":"⊳","Vscr;":"𝒱","vscr;":"𝓋","vsubnE;":"⫋︀","vsubne;":"⊊︀","vsupnE;":"⫌︀","vsupne;":"⊋︀","Vvdash;":"⊪","vzigzag;":"⦚","Wcirc;":"Ŵ","wcirc;":"ŵ","wedbar;":"⩟","wedge;":"∧","Wedge;":"⋀","wedgeq;":"≙","weierp;":"℘","Wfr;":"𝔚","wfr;":"𝔴","Wopf;":"𝕎","wopf;":"𝕨","wp;":"℘","wr;":"≀","wreath;":"≀","Wscr;":"𝒲","wscr;":"𝓌","xcap;":"⋂","xcirc;":"◯","xcup;":"⋃","xdtri;":"▽","Xfr;":"𝔛","xfr;":"𝔵","xharr;":"⟷","xhArr;":"⟺","Xi;":"Ξ","xi;":"ξ","xlarr;":"⟵","xlArr;":"⟸","xmap;":"⟼","xnis;":"⋻","xodot;":"⨀","Xopf;":"𝕏","xopf;":"𝕩","xoplus;":"⨁","xotime;":"⨂","xrarr;":"⟶","xrArr;":"⟹","Xscr;":"𝒳","xscr;":"𝓍","xsqcup;":"⨆","xuplus;":"⨄","xutri;":"△","xvee;":"⋁","xwedge;":"⋀","Yacute;":"Ý",Yacute:"Ý","yacute;":"ý",yacute:"ý","YAcy;":"Я","yacy;":"я","Ycirc;":"Ŷ","ycirc;":"ŷ","Ycy;":"Ы","ycy;":"ы","yen;":"¥",yen:"¥","Yfr;":"𝔜","yfr;":"𝔶","YIcy;":"Ї","yicy;":"ї","Yopf;":"𝕐","yopf;":"𝕪","Yscr;":"𝒴","yscr;":"𝓎","YUcy;":"Ю","yucy;":"ю","yuml;":"ÿ",yuml:"ÿ","Yuml;":"Ÿ","Zacute;":"Ź","zacute;":"ź","Zcaron;":"Ž","zcaron;":"ž","Zcy;":"З","zcy;":"з","Zdot;":"Ż","zdot;":"ż","zeetrf;":"ℨ","ZeroWidthSpace;":"​","Zeta;":"Ζ","zeta;":"ζ","zfr;":"𝔷","Zfr;":"ℨ","ZHcy;":"Ж","zhcy;":"ж","zigrarr;":"⇝","zopf;":"𝕫","Zopf;":"ℤ","Zscr;":"𝒵","zscr;":"𝓏","zwj;":"‍","zwnj;":"‌"}},{}],13:[function(e,t,r){var n=e("util/"),a=Array.prototype.slice,o=Object.prototype.hasOwnProperty,i=t.exports=d;function s(e,t){return n.isUndefined(t)?""+t:!n.isNumber(t)||!isNaN(t)&&isFinite(t)?n.isFunction(t)||n.isRegExp(t)?t.toString():t:t.toString()}function c(e,t){return n.isString(e)?e.length=0;o--)if(i[o]!=s[o])return!1;for(o=i.length-1;o>=0;o--)if(!p(e[r=i[o]],t[r]))return!1;return!0}(e,t):e==t}function u(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function h(e,t){return!(!e||!t)&&("[object RegExp]"==Object.prototype.toString.call(t)?t.test(e):e instanceof t||!0===t.call({},e))}function m(e,t,r,a){var o;n.isString(r)&&(a=r,r=null);try{t()}catch(e){o=e}if(a=(r&&r.name?" ("+r.name+").":".")+(a?" "+a:"."),e&&!o&&l(o,r,"Missing expected exception"+a),!e&&h(o,r)&&l(o,r,"Got unwanted exception"+a),e&&o&&r&&!h(o,r)||!e&&o)throw o}i.AssertionError=function(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=function(e){return c(JSON.stringify(e.actual,s),128)+" "+e.operator+" "+c(JSON.stringify(e.expected,s),128)}(this),this.generatedMessage=!0);var t=e.stackStartFunction||l;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var r=new Error;if(r.stack){var n=r.stack,a=t.name,o=n.indexOf("\n"+a);if(o>=0){var i=n.indexOf("\n",o+1);n=n.substring(i+1)}this.stack=n}}},n.inherits(i.AssertionError,Error),i.fail=l,i.ok=d,i.equal=function(e,t,r){e!=t&&l(e,t,r,"==",i.equal)},i.notEqual=function(e,t,r){e==t&&l(e,t,r,"!=",i.notEqual)},i.deepEqual=function(e,t,r){p(e,t)||l(e,t,r,"deepEqual",i.deepEqual)},i.notDeepEqual=function(e,t,r){p(e,t)&&l(e,t,r,"notDeepEqual",i.notDeepEqual)},i.strictEqual=function(e,t,r){e!==t&&l(e,t,r,"===",i.strictEqual)},i.notStrictEqual=function(e,t,r){e===t&&l(e,t,r,"!==",i.notStrictEqual)},i.throws=function(e,t,r){m.apply(this,[!0].concat(a.call(arguments)))},i.doesNotThrow=function(e,t){m.apply(this,[!1].concat(a.call(arguments)))},i.ifError=function(e){if(e)throw e};var g=Object.keys||function(e){var t=[];for(var r in e)o.call(e,r)&&t.push(r);return t}},{"util/":15}],14:[function(e,t,r){t.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},{}],15:[function(e,t,r){(function(t,n){var a=/%[sdj%]/g;r.format=function(e){if(!T(e)){for(var t=[],r=0;r=o)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}})),c=n[r];r=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),m(t)?n.showHidden=t:t&&r._extend(n,t),b(n.showHidden)&&(n.showHidden=!1),b(n.depth)&&(n.depth=2),b(n.colors)&&(n.colors=!1),b(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=c),d(n,e,n.depth)}function c(e,t){var r=s.styles[t];return r?"["+s.colors[r][0]+"m"+e+"["+s.colors[r][1]+"m":e}function l(e,t){return e}function d(e,t,n){if(e.customInspect&&t&&x(t.inspect)&&t.inspect!==r.inspect&&(!t.constructor||t.constructor.prototype!==t)){var a=t.inspect(n,e);return T(a)||(a=d(e,a,n)),a}var o=function(e,t){if(b(t))return e.stylize("undefined","undefined");if(T(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(f(t))return e.stylize(""+t,"number");if(m(t))return e.stylize(""+t,"boolean");if(g(t))return e.stylize("null","null")}(e,t);if(o)return o;var i=Object.keys(t),s=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(i);if(e.showHidden&&(i=Object.getOwnPropertyNames(t)),v(t)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return p(t);if(0===i.length){if(x(t)){var c=t.name?": "+t.name:"";return e.stylize("[Function"+c+"]","special")}if(y(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(w(t))return e.stylize(Date.prototype.toString.call(t),"date");if(v(t))return p(t)}var l,E="",k=!1,S=["{","}"];(h(t)&&(k=!0,S=["[","]"]),x(t))&&(E=" [Function"+(t.name?": "+t.name:"")+"]");return y(t)&&(E=" "+RegExp.prototype.toString.call(t)),w(t)&&(E=" "+Date.prototype.toUTCString.call(t)),v(t)&&(E=" "+p(t)),0!==i.length||k&&0!=t.length?n<0?y(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),l=k?function(e,t,r,n,a){for(var o=[],i=0,s=t.length;i=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(l,E,S)):S[0]+E+S[1]}function p(e){return"["+Error.prototype.toString.call(e)+"]"}function u(e,t,r,n,a,o){var i,s,c;if((c=Object.getOwnPropertyDescriptor(t,a)||{value:t[a]}).get?s=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(s=e.stylize("[Setter]","special")),N(n,a)||(i="["+a+"]"),s||(e.seen.indexOf(c.value)<0?(s=g(r)?d(e,c.value,null):d(e,c.value,r-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),b(i)){if(o&&a.match(/^\d+$/))return s;(i=JSON.stringify(""+a)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(i=i.substr(1,i.length-2),i=e.stylize(i,"name")):(i=i.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),i=e.stylize(i,"string"))}return i+": "+s}function h(e){return Array.isArray(e)}function m(e){return"boolean"==typeof e}function g(e){return null===e}function f(e){return"number"==typeof e}function T(e){return"string"==typeof e}function b(e){return void 0===e}function y(e){return E(e)&&"[object RegExp]"===k(e)}function E(e){return"object"==typeof e&&null!==e}function w(e){return E(e)&&"[object Date]"===k(e)}function v(e){return E(e)&&("[object Error]"===k(e)||e instanceof Error)}function x(e){return"function"==typeof e}function k(e){return Object.prototype.toString.call(e)}function S(e){return e<10?"0"+e.toString(10):e.toString(10)}r.debuglog=function(e){if(b(o)&&(o=t.env.NODE_DEBUG||""),e=e.toUpperCase(),!i[e])if(new RegExp("\\b"+e+"\\b","i").test(o)){var n=t.pid;i[e]=function(){var t=r.format.apply(r,arguments);console.error("%s %d: %s",e,n,t)}}else i[e]=function(){};return i[e]},r.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},r.isArray=h,r.isBoolean=m,r.isNull=g,r.isNullOrUndefined=function(e){return null==e},r.isNumber=f,r.isString=T,r.isSymbol=function(e){return"symbol"==typeof e},r.isUndefined=b,r.isRegExp=y,r.isObject=E,r.isDate=w,r.isError=v,r.isFunction=x,r.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},r.isBuffer=e("./support/isBuffer");var _=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function C(){var e=new Date,t=[S(e.getHours()),S(e.getMinutes()),S(e.getSeconds())].join(":");return[e.getDate(),_[e.getMonth()],t].join(" ")}function N(e,t){return Object.prototype.hasOwnProperty.call(e,t)}r.log=function(){console.log("%s - %s",C(),r.format.apply(r,arguments))},r.inherits=e("inherits"),r._extend=function(e,t){if(!t||!E(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e}}).call(this,e("/usr/local/lib/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./support/isBuffer":14,"/usr/local/lib/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":18,inherits:17}],16:[function(e,t,r){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function a(e){return"function"==typeof e}function o(e){return"object"==typeof e&&null!==e}function i(e){return void 0===e}t.exports=n,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},n.prototype.emit=function(e){var t,r,n,s,c,l;if(this._events||(this._events={}),"error"===e&&(!this._events.error||o(this._events.error)&&!this._events.error.length))throw(t=arguments[1])instanceof Error?t:TypeError('Uncaught, unspecified "error" event.');if(i(r=this._events[e]))return!1;if(a(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:for(n=arguments.length,s=new Array(n-1),c=1;c0&&this._events[e].length>r&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),console.trace()));return this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(e,t){if(!a(t))throw TypeError("listener must be a function");var r=!1;function n(){this.removeListener(e,n),r||(r=!0,t.apply(this,arguments))}return n.listener=t,this.on(e,n),this},n.prototype.removeListener=function(e,t){var r,n,i,s;if(!a(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(i=(r=this._events[e]).length,n=-1,r===t||a(r.listener)&&r.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(o(r)){for(s=i;s-- >0;)if(r[s]===t||r[s].listener&&r[s].listener===t){n=s;break}if(n<0)return this;1===r.length?(r.length=0,delete this._events[e]):r.splice(n,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},n.prototype.removeAllListeners=function(e){var t,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(a(r=this._events[e]))this.removeListener(e,r);else for(;r.length;)this.removeListener(e,r[r.length-1]);return delete this._events[e],this},n.prototype.listeners=function(e){return this._events&&this._events[e]?a(this._events[e])?[this._events[e]]:this._events[e].slice():[]},n.listenerCount=function(e,t){return e._events&&e._events[t]?a(e._events[t])?1:e._events[t].length:0}},{}],17:[function(e,t,r){"function"==typeof Object.create?t.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},{}],18:[function(e,t,r){var n=t.exports={};function a(){}n.nextTick=function(){var e="undefined"!=typeof window&&window.setImmediate,t="undefined"!=typeof window&&window.postMessage&&window.addEventListener;if(e)return function(e){return window.setImmediate(e)};if(t){var r=[];return window.addEventListener("message",(function(e){var t=e.source;t!==window&&null!==t||"process-tick"!==e.data||(e.stopPropagation(),r.length>0&&r.shift()())}),!0),function(e){r.push(e),window.postMessage("process-tick","*")}}return function(e){setTimeout(e,0)}}(),n.title="browser",n.browser=!0,n.env={},n.argv=[],n.on=a,n.once=a,n.off=a,n.emit=a,n.binding=function(e){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(e){throw new Error("process.chdir is not supported")}},{}],19:[function(e,t,r){t.exports=e(14)},{}],20:[function(e,t,r){t.exports=e(15)},{"./support/isBuffer":19,"/usr/local/lib/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":18,inherits:17}]},{},[9])(9)})),ace.define("ace/mode/html_worker",[],(function(e,t,r){"use strict";var n=e("../lib/oop"),a=(e("../lib/lang"),e("../worker/mirror").Mirror),o=e("./html/saxparser").SAXParser,i={"expected-doctype-but-got-start-tag":"info","expected-doctype-but-got-chars":"info","non-html-root":"info"},s=t.Worker=function(e){a.call(this,e),this.setTimeout(400),this.context=null};n.inherits(s,a),function(){this.setOptions=function(e){this.context=e.context},this.onUpdate=function(){var e=this.doc.getValue();if(e){var t=new o,r=[],n=function(){};t.contentHandler={startDocument:n,endDocument:n,startElement:n,endElement:n,characters:n},t.errorHandler={error:function(e,t,n){r.push({row:t.line,column:t.column,text:e,type:i[n]||"error"})}},t.parse(e,this.context),this.sender.emit("error",r)}}}.call(s.prototype)}));