import{b as u}from"./antd-FjOLgRLC.js";import{r as Y}from"./index-B2pVq3rV.js";function d(U,e){for(var R=0;RO[A]})}}}return Object.freeze(Object.defineProperty(U,Symbol.toStringTag,{value:"Module"}))}var H={exports:{}};(function(U,e){(function(R){R(Y())})(function(R){R.defineMode("cobol",function(){var O="builtin",A="comment",D="string",M="atom",G="number",o="keyword",B="header",l="def",f="link";function P(E){for(var T={},I=E.split(" "),C=0;C >= "),N={digit:/\d/,digit_or_colon:/[\d:]/,hex:/[0-9a-f]/i,sign:/[+-]/,exponent:/e/i,keyword_char:/[^\s\(\[\;\)\]]/,symbol:/[\w*+\-]/};function F(E,T){return E==="0"&&T.eat(/x/i)?(T.eatWhile(N.hex),!0):((E=="+"||E=="-")&&N.digit.test(T.peek())&&(T.eat(N.sign),E=T.next()),N.digit.test(E)?(T.eat(E),T.eatWhile(N.digit),T.peek()=="."&&(T.eat("."),T.eatWhile(N.digit)),T.eat(N.exponent)&&(T.eat(N.sign),T.eatWhile(N.digit)),!0):!1)}return{startState:function(){return{indentStack:null,indentation:0,mode:!1}},token:function(E,T){if(T.indentStack==null&&E.sol()&&(T.indentation=6),E.eatSpace())return null;var I=null;switch(T.mode){case"string":for(var C=!1;(C=E.next())!=null;)if((C=='"'||C=="'")&&!E.match(/['"]/,!1)){T.mode=!1;break}I=D;break;default:var S=E.next(),L=E.column();if(L>=0&&L<=5)I=l;else if(L>=72&&L<=79)E.skipToEnd(),I=B;else if(S=="*"&&L==6)E.skipToEnd(),I=A;else if(S=='"'||S=="'")T.mode="string",I=D;else if(S=="'"&&!N.digit_or_colon.test(E.peek()))I=M;else if(S==".")I=f;else if(F(S,E))I=G;else{if(E.current().match(N.symbol))for(;L<71&&E.eat(N.symbol)!==void 0;)L++;t&&t.propertyIsEnumerable(E.current().toUpperCase())?I=o:i&&i.propertyIsEnumerable(E.current().toUpperCase())?I=O:n&&n.propertyIsEnumerable(E.current().toUpperCase())?I=M:I=null}}return I},indent:function(E){return E.indentStack==null?E.indentation:E.indentStack.indent}}}),R.defineMIME("text/x-cobol","cobol")})})();var r=H.exports;const a=u(r),s=d({__proto__:null,default:a},[r]);export{s as c};