(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d2213fc"],{ca19:function(e,t,n){(function(e){e(n("56b3"))})((function(e){"use strict";e.defineMode("oz",(function(e){function t(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var n=/[\^@!\|<>#~\.\*\-\+\\/,=]/,r=/(<-)|(:=)|(=<)|(>=)|(<=)|(<:)|(>:)|(=:)|(\\=)|(\\=:)|(!!)|(==)|(::)/,a=/(:::)|(\.\.\.)|(=<:)|(>=:)/,i=["in","then","else","of","elseof","elsecase","elseif","catch","finally","with","require","prepare","import","export","define","do"],o=["end"],c=t(["true","false","nil","unit"]),u=t(["andthen","at","attr","declare","feat","from","lex","mod","div","mode","orelse","parser","prod","prop","scanner","self","syn","token"]),f=t(["local","proc","fun","case","class","if","cond","or","dis","choice","not","thread","try","raise","lock","for","suchthat","meth","functor"]),s=t(i),d=t(o);function l(e,t){if(e.eatSpace())return null;if(e.match(/[{}]/))return"bracket";if(e.match(/(\[])/))return"keyword";if(e.match(a)||e.match(r))return"operator";if(e.match(c))return"atom";var i=e.match(f);if(i)return t.doInCurrentLine?t.doInCurrentLine=!1:t.currentIndent++,"proc"==i[0]||"fun"==i[0]?t.tokenize=k:"class"==i[0]?t.tokenize=h:"meth"==i[0]&&(t.tokenize=m),"keyword";if(e.match(s)||e.match(u))return"keyword";if(e.match(d))return t.currentIndent--,"keyword";var o=e.next();if('"'==o||"'"==o)return t.tokenize=z(o),t.tokenize(e,t);if(/[~\d]/.test(o)){if("~"==o){if(!/^[0-9]/.test(e.peek()))return null;if("0"==e.next()&&e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^[0-9]*(\.[0-9]+)?([eE][~+]?[0-9]+)?/))return"number"}return"0"==o&&e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^[0-9]*(\.[0-9]+)?([eE][~+]?[0-9]+)?/)?"number":null}return"%"==o?(e.skipToEnd(),"comment"):"/"==o&&e.eat("*")?(t.tokenize=p,p(e,t)):n.test(o)?"operator":(e.eatWhile(/\w/),"variable")}function h(e,t){return e.eatSpace()?null:(e.match(/([A-Z][A-Za-z0-9_]*)|(`.+`)/),t.tokenize=l,"variable-3")}function m(e,t){return e.eatSpace()?null:(e.match(/([a-zA-Z][A-Za-z0-9_]*)|(`.+`)/),t.tokenize=l,"def")}function k(e,t){return e.eatSpace()?null:!t.hasPassedFirstStage&&e.eat("{")?(t.hasPassedFirstStage=!0,"bracket"):t.hasPassedFirstStage?(e.match(/([A-Z][A-Za-z0-9_]*)|(`.+`)|\$/),t.hasPassedFirstStage=!1,t.tokenize=l,"def"):(t.tokenize=l,null)}function p(e,t){var n,r=!1;while(n=e.next()){if("/"==n&&r){t.tokenize=l;break}r="*"==n}return"comment"}function z(e){return function(t,n){var r,a=!1,i=!1;while(null!=(r=t.next())){if(r==e&&!a){i=!0;break}a=!a&&"\\"==r}return!i&&a||(n.tokenize=l),"string"}}function w(){var e=i.concat(o);return new RegExp("[\\[\\]]|("+e.join("|")+")$")}return{startState:function(){return{tokenize:l,currentIndent:0,doInCurrentLine:!1,hasPassedFirstStage:!1}},token:function(e,t){return e.sol()&&(t.doInCurrentLine=0),t.tokenize(e,t)},indent:function(t,n){var r=n.replace(/^\s+|\s+$/g,"");return r.match(d)||r.match(s)||r.match(/(\[])/)?e.indentUnit*(t.currentIndent-1):t.currentIndent<0?0:t.currentIndent*e.indentUnit},fold:"indent",electricInput:w(),lineComment:"%",blockCommentStart:"/*",blockCommentEnd:"*/"}})),e.defineMIME("text/x-oz","oz")}))}}]);
//# sourceMappingURL=chunk-2d2213fc.3e3b6472.js.map