import{A as _}from"./index.f4d41e67.entry.js";function g(f,d){return d.forEach(function(u){u&&typeof u!="string"&&!Array.isArray(u)&&Object.keys(u).forEach(function(o){if(o!=="default"&&!(o in f)){var i=Object.getOwnPropertyDescriptor(u,o);Object.defineProperty(f,o,i.get?i:{enumerable:!0,get:function(){return u[o]}})}})}),Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var v={exports:{}};(function(f,d){(function(u){u(_.exports)})(function(u){u.defineMode("fcl",function(o){var i=o.indentUnit,y={term:!0,method:!0,accu:!0,rule:!0,then:!0,is:!0,and:!0,or:!0,if:!0,default:!0},p={var_input:!0,var_output:!0,fuzzify:!0,defuzzify:!0,function_block:!0,ruleblock:!0},l={end_ruleblock:!0,end_defuzzify:!0,end_function_block:!0,end_fuzzify:!0,end_var:!0},s={true:!0,false:!0,nan:!0,real:!0,min:!0,max:!0,cog:!0,cogs:!0},b=/[+\-*&^%:=<>!|\/]/;function a(e,n){var t=e.next();if(/[\d\.]/.test(t))return t=="."?e.match(/^[0-9]+([eE][\-+]?[0-9]+)?/):t=="0"?e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^0[0-7]+/):e.match(/^[0-9]*\.?[0-9]*([eE][\-+]?[0-9]+)?/),"number";if(t=="/"||t=="("){if(e.eat("*"))return n.tokenize=m,m(e,n);if(e.eat("/"))return e.skipToEnd(),"comment"}if(b.test(t))return e.eatWhile(b),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var r=e.current().toLowerCase();return y.propertyIsEnumerable(r)||p.propertyIsEnumerable(r)||l.propertyIsEnumerable(r)?"keyword":s.propertyIsEnumerable(r)?"atom":"variable"}function m(e,n){for(var t=!1,r;r=e.next();){if((r=="/"||r==")")&&t){n.tokenize=a;break}t=r=="*"}return"comment"}function x(e,n,t,r,c){this.indented=e,this.column=n,this.type=t,this.align=r,this.prev=c}function h(e,n,t){return e.context=new x(e.indented,n,t,null,e.context)}function k(e){if(!!e.context.prev){var n=e.context.type;return n=="end_block"&&(e.indented=e.context.indented),e.context=e.context.prev}}return{startState:function(e){return{tokenize:null,context:new x((e||0)-i,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,n){var t=n.context;if(e.sol()&&(t.align==null&&(t.align=!1),n.indented=e.indentation(),n.startOfLine=!0),e.eatSpace())return null;var r=(n.tokenize||a)(e,n);if(r=="comment")return r;t.align==null&&(t.align=!0);var c=e.current().toLowerCase();return p.propertyIsEnumerable(c)?h(n,e.column(),"end_block"):l.propertyIsEnumerable(c)&&k(n),n.startOfLine=!1,r},indent:function(e,n){if(e.tokenize!=a&&e.tokenize!=null)return 0;var t=e.context,r=l.propertyIsEnumerable(n);return t.align?t.column+(r?0:1):t.indented+(r?0:i)},electricChars:"ryk",fold:"brace",blockCommentStart:"(*",blockCommentEnd:"*)",lineComment:"//"}}),u.defineMIME("text/x-fcl","fcl")})})();var z=v.exports,C=g({__proto__:null,default:z},[v.exports]);export{C as f};
