define("ace/mode/rst_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highlight_rules"],function(e,t,o){"use strict";function n(){var e="markup.heading",t="markup.heading",o="constant",n="keyword.operator",r="string",x="markup.underline.list",i="markup.bold",g="markup.italic",l="support.function",k="comment",s="(^|\\s|[\"'(<\\[{\\-/:])",a="(?:$|(?=\\s|[\\\\.,;!?\\-/:\"')>\\]}]))";this.$rules={start:[{token:e,regex:"(^)([\\=\\-`:\\.'\"~\\^_\\*\\+#])(\\2{2,}\\s*$)"},{token:["text",n,l],regex:"(^\\s*\\.\\. )([^: ]+::)(.*$)",next:"codeblock"},{token:n,regex:"::$",next:"codeblock"},{token:[r,x],regex:"(^\\.\\. _[^:]+:)(.*$)"},{token:[r,x],regex:"(^__ )(https?://.*$)"},{token:r,regex:"^\\.\\. \\[[^\\]]+\\] "},{token:k,regex:"^\\.\\. .*$",next:"comment"},{token:t,regex:"^\\s*[\\*\\+-] "},{token:t,regex:"^\\s*(?:[A-Za-z]|[0-9]+|[ivxlcdmIVXLCDM]+)\\. "},{token:t,regex:"^\\s*\\(?(?:[A-Za-z]|[0-9]+|[ivxlcdmIVXLCDM]+)\\) "},{token:o,regex:"^={2,}(?: +={2,})+$"},{token:o,regex:"^\\+-{2,}(?:\\+-{2,})+\\+$"},{token:o,regex:"^\\+={2,}(?:\\+={2,})+\\+$"},{token:["text",l],regex:s+"(``)(?=\\S)",next:"code"},{token:["text",i],regex:s+"(\\*\\*)(?=\\S)",next:"bold"},{token:["text",g],regex:s+"(\\*)(?=\\S)",next:"italic"},{token:r,regex:"\\|[\\w\\-]+?\\|"},{token:r,regex:":[\\w-:]+:`\\S",next:"entity"},{token:["text",r],regex:s+"(_`)(?=\\S)",next:"entity"},{token:r,regex:"_[A-Za-z0-9\\-]+?"},{token:["text",x],regex:s+"(`)(?=\\S)",next:"link"},{token:x,regex:"[A-Za-z0-9\\-]+?__?"},{token:x,regex:"\\[[^\\]]+?\\]_"},{token:x,regex:"https?://\\S+"},{token:o,regex:"\\|"}],codeblock:[{token:l,regex:"^ +.+$",next:"codeblock"},{token:l,regex:"^$",next:"codeblock"},{token:"empty",regex:"",next:"start"}],code:[{token:l,regex:"\\S``"+a,next:"start"},{defaultToken:l}],bold:[{token:i,regex:"\\S\\*\\*"+a,next:"start"},{defaultToken:i}],italic:[{token:g,regex:"\\S\\*"+a,next:"start"},{defaultToken:g}],entity:[{token:r,regex:"\\S`"+a,next:"start"},{defaultToken:r}],link:[{token:x,regex:"\\S`__?"+a,next:"start"},{defaultToken:x}],comment:[{token:k,regex:"^ +.+$",next:"comment"},{token:k,regex:"^$",next:"comment"},{token:"empty",regex:"",next:"start"}]}}var r=e("../lib/oop"),e=(e("../lib/lang"),e("./text_highlight_rules").TextHighlightRules);r.inherits(n,e),t.RSTHighlightRules=n}),define("ace/mode/rst",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/rst_highlight_rules"],function(e,t,o){"use strict";function n(){this.HighlightRules=i}var r=e("../lib/oop"),x=e("./text").Mode,i=e("./rst_highlight_rules").RSTHighlightRules;r.inherits(n,x),function(){this.type="text",this.$id="ace/mode/rst"}.call(n.prototype),t.Mode=n}),window.require(["ace/mode/rst"],function(e){"object"==typeof module&&"object"==typeof exports&&module&&(module.exports=e)});