Liferay.Loader.define("fragment-web$codemirror@5.65.2/mode/http/http",["module","exports","require","../../lib/codemirror"],(function(e,r,t){var n,o=void 0;window;n=function(e){"use strict";e.defineMode("http",(function(){function failFirstLine(e,r){return e.skipToEnd(),r.cur=header,"error"}function start(e,r){return e.match(/^HTTP\/\d\.\d/)?(r.cur=responseStatusCode,"keyword"):e.match(/^[A-Z]+/)&&/[ \t]/.test(e.peek())?(r.cur=requestPath,"keyword"):failFirstLine(e,r)}function responseStatusCode(e,r){var t=e.match(/^\d+/);if(!t)return failFirstLine(e,r);r.cur=responseStatusText;var n=Number(t[0]);return n>=100&&n<200?"positive informational":n>=200&&n<300?"positive success":n>=300&&n<400?"positive redirect":n>=400&&n<500?"negative client-error":n>=500&&n<600?"negative server-error":"error"}function responseStatusText(e,r){return e.skipToEnd(),r.cur=header,null}function requestPath(e,r){return e.eatWhile(/\S/),r.cur=requestProtocol,"string-2"}function requestProtocol(e,r){return e.match(/^HTTP\/\d\.\d$/)?(r.cur=header,"keyword"):failFirstLine(e,r)}function header(e){return e.sol()&&!e.eat(/[ \t]/)?e.match(/^.*?:/)?"atom":(e.skipToEnd(),"error"):(e.skipToEnd(),"string")}function body(e){return e.skipToEnd(),null}return{token:function(e,r){var t=r.cur;return t!=header&&t!=body&&e.eatSpace()?null:t(e,r)},blankLine:function(e){e.cur=body},startState:function(){return{cur:start}}}})),e.defineMIME("message/http","http")},"object"==typeof r&&"object"==typeof e?n(t("../../lib/codemirror")):"function"==typeof o&&o.amd?o(["../../lib/codemirror"],n):n(CodeMirror)}));
//# sourceMappingURL=http.js.map