UNPKG

@galaxyproject/galaxy-client

Version:

Galaxy client application build system

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