"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function u(r,n){return r.skipToEnd(),n.cur=e,"error"}function c(r,n){return r.match(/^HTTP\/\d\.\d/)?(n.cur=f,"keyword"):r.match(/^[A-Z]+/)&&/[ \t]/.test(r.peek())?(n.cur=d,"keyword"):u(r,n)}function f(r,n){var t=r.match(/^\d+/);if(!t)return u(r,n);n.cur=l;var o=Number(t[0]);return o>=100&&o<400?"atom":"error"}function l(r,n){return r.skipToEnd(),n.cur=e,null}function d(r,n){return r.eatWhile(/\S/),n.cur=s,"string.special"}function s(r,n){return r.match(/^HTTP\/\d\.\d$/)?(n.cur=e,"keyword"):u(r,n)}function e(r){return r.sol()&&!r.eat(/[ \t]/)?r.match(/^.*?:/)?"atom":(r.skipToEnd(),"error"):(r.skipToEnd(),"string")}function i(r){return r.skipToEnd(),null}const p={name:"http",token:function(r,n){var t=n.cur;return t!=e&&t!=i&&r.eatSpace()?null:t(r,n)},blankLine:function(r){r.cur=i},startState:function(){return{cur:c}}};exports.http=p;
//# sourceMappingURL=http-BkLifcnL.js.map
