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