Liferay.Loader.define("fragment-web$codemirror@5.65.2/mode/octave/octave",["module","exports","require","../../lib/codemirror"],(function(e,n,t){var r,o=void 0;window;r=function(e){"use strict";e.defineMode("octave",(function(){function wordRegexp(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var e=new RegExp("^[\\+\\-\\*/&|\\^~<>!@'\\\\]"),n=new RegExp("^[\\(\\[\\{\\},:=;\\.]"),t=new RegExp("^((==)|(~=)|(<=)|(>=)|(<<)|(>>)|(\\.[\\+\\-\\*/\\^\\\\]))"),r=new RegExp("^((!=)|(\\+=)|(\\-=)|(\\*=)|(/=)|(&=)|(\\|=)|(\\^=))"),o=new RegExp("^((>>=)|(<<=))"),i=new RegExp("^[\\]\\)]"),a=new RegExp("^[_A-Za-z¡-][_A-Za-z0-9¡-]*"),c=wordRegexp(["error","eval","function","abs","acos","atan","asin","cos","cosh","exp","log","prod","sum","log10","max","min","sign","sin","sinh","sqrt","tan","reshape","break","zeros","default","margin","round","ones","rand","syn","ceil","floor","size","clear","zeros","eye","mean","std","cov","det","eig","inv","norm","rank","trace","expm","logm","sqrtm","linspace","plot","title","xlabel","ylabel","legend","text","grid","meshgrid","mesh","num2str","fft","ifft","arrayfun","cellfun","input","fliplr","flipud","ismember"]),m=wordRegexp(["return","case","switch","else","elseif","end","endif","endfunction","if","otherwise","do","for","while","try","catch","classdef","properties","events","methods","global","persistent","endfor","endwhile","printf","sprintf","disp","until","continue","pkg"]);function tokenTranspose(e,n){return e.sol()||"'"!==e.peek()?(n.tokenize=tokenBase,tokenBase(e,n)):(e.next(),n.tokenize=tokenBase,"operator")}function tokenComment(e,n){return e.match(/^.*%}/)?(n.tokenize=tokenBase,"comment"):(e.skipToEnd(),"comment")}function tokenBase(s,d){if(s.eatSpace())return null;if(s.match("%{"))return d.tokenize=tokenComment,s.skipToEnd(),"comment";if(s.match(/^[%#]/))return s.skipToEnd(),"comment";if(s.match(/^[0-9\.+-]/,!1)){if(s.match(/^[+-]?0x[0-9a-fA-F]+[ij]?/))return s.tokenize=tokenBase,"number";if(s.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?[ij]?/))return"number";if(s.match(/^[+-]?\d+([EeDd][+-]?\d+)?[ij]?/))return"number"}if(s.match(wordRegexp(["nan","NaN","inf","Inf"])))return"number";var f=s.match(/^"(?:[^"]|"")*("|$)/)||s.match(/^'(?:[^']|'')*('|$)/);return f?f[1]?"string":"string error":s.match(m)?"keyword":s.match(c)?"builtin":s.match(a)?"variable":s.match(e)||s.match(t)?"operator":s.match(n)||s.match(r)||s.match(o)?null:s.match(i)?(d.tokenize=tokenTranspose,null):(s.next(),"error")}return{startState:function(){return{tokenize:tokenBase}},token:function(e,n){var t=n.tokenize(e,n);return"number"!==t&&"variable"!==t||(n.tokenize=tokenTranspose),t},lineComment:"%",fold:"indent"}})),e.defineMIME("text/x-octave","octave")},"object"==typeof n&&"object"==typeof e?r(t("../../lib/codemirror")):"function"==typeof o&&o.amd?o(["../../lib/codemirror"],r):r(CodeMirror)}));
//# sourceMappingURL=octave.js.map