(self.webpackChunkbackstage_community_plugin_redhat_resource_optimization=self.webpackChunkbackstage_community_plugin_redhat_resource_optimization||[]).push([[1489],{61902:e=>{e.exports=function(e){const n="~?[a-z$_][0-9a-zA-Z$_]*",a="`?[A-Z$_][0-9a-zA-Z$_]*",s="'?[a-z$_][0-9a-z$_]*",i=n+"(\\s*:\\s*[a-z$_][0-9a-z$_]*(\\(\\s*("+s+"\\s*(,"+s+"\\s*)*)?\\))?){0,2}",r="("+["||","++","**","+.","*","/","*.","/.","..."].map((function(e){return e.split("").map((function(e){return"\\"+e})).join("")})).join("|")+"|\\|>|&&|==|===)",l="\\s+"+r+"\\s+",t={keyword:"and as asr assert begin class constraint do done downto else end exception external for fun function functor if in include inherit initializer land lazy let lor lsl lsr lxor match method mod module mutable new nonrec object of open or private rec sig struct then to try type val virtual when while with",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 ref string unit ",literal:"true false"},c="\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",o={className:"number",relevance:0,variants:[{begin:c},{begin:"\\(-"+c+"\\)"}]},g={className:"operator",relevance:0,begin:r},b=[{className:"identifier",relevance:0,begin:n},g,o],m=[e.QUOTE_STRING_MODE,g,{className:"module",begin:"\\b"+a,returnBegin:!0,end:".",contains:[{className:"identifier",begin:a,relevance:0}]}],u=[{className:"module",begin:"\\b"+a,returnBegin:!0,end:".",relevance:0,contains:[{className:"identifier",begin:a,relevance:0}]}],d={className:"function",relevance:0,keywords:t,variants:[{begin:"\\s(\\(\\.?.*?\\)|"+n+")\\s*=>",end:"\\s*=>",returnBegin:!0,relevance:0,contains:[{className:"params",variants:[{begin:n},{begin:i},{begin:/\(\s*\)/}]}]},{begin:"\\s\\(\\.?[^;\\|]*\\)\\s*=>",end:"\\s=>",returnBegin:!0,relevance:0,contains:[{className:"params",relevance:0,variants:[{begin:n,end:"(,|\\n|\\))",relevance:0,contains:[g,{className:"typing",begin:":",end:"(,|\\n)",returnBegin:!0,relevance:0,contains:u}]}]}]},{begin:"\\(\\.\\s"+n+"\\)\\s*=>"}]};m.push(d);const _={className:"constructor",begin:a+"\\(",end:"\\)",illegal:"\\n",keywords:t,contains:[e.QUOTE_STRING_MODE,g,{className:"params",begin:"\\b"+n}]},v={className:"pattern-match",begin:"\\|",returnBegin:!0,keywords:t,end:"=>",relevance:0,contains:[_,g,{relevance:0,className:"constructor",begin:a}]},N={className:"module-access",keywords:t,returnBegin:!0,variants:[{begin:"\\b("+a+"\\.)+"+n},{begin:"\\b("+a+"\\.)+\\(",end:"\\)",returnBegin:!0,contains:[d,{begin:"\\(",end:"\\)",skip:!0}].concat(m)},{begin:"\\b("+a+"\\.)+\\{",end:/\}/}],contains:m};return u.push(N),{name:"ReasonML",aliases:["re"],keywords:t,illegal:"(:-|:=|\\$\\{|\\+=)",contains:[e.COMMENT("/\\*","\\*/",{illegal:"^(#,\\/\\/)"}),{className:"character",begin:"'(\\\\[^']+|[^'])'",illegal:"\\n",relevance:0},e.QUOTE_STRING_MODE,{className:"literal",begin:"\\(\\)",relevance:0},{className:"literal",begin:"\\[\\|",end:"\\|\\]",relevance:0,contains:b},{className:"literal",begin:"\\[",end:"\\]",relevance:0,contains:b},_,{className:"operator",begin:l,illegal:"--\x3e",relevance:0},o,e.C_LINE_COMMENT_MODE,v,d,{className:"module-def",begin:"\\bmodule\\s+"+n+"\\s+"+a+"\\s+=\\s+\\{",end:/\}/,returnBegin:!0,keywords:t,relevance:0,contains:[{className:"module",relevance:0,begin:a},{begin:/\{/,end:/\}/,skip:!0}].concat(m)},N]}}}}]);
//# sourceMappingURL=react-syntax-highlighter_languages_highlight_reasonml.198609e4.chunk.js.map