1 |
- import{g as R}from"./index-b2e76ed2.js";function M(g,m){for(var o=0;o<m.length;o++){const a=m[o];if(typeof a!="string"&&!Array.isArray(a)){for(const l in a)if(l!=="default"&&!(l in g)){const i=Object.getOwnPropertyDescriptor(a,l);i&&Object.defineProperty(g,l,i.get?i:{enumerable:!0,get:()=>a[l]})}}}return Object.freeze(Object.defineProperty(g,Symbol.toStringTag,{value:"Module"}))}var y={exports:{}};(function(g,m){ace.define("ace/mode/folding/coffee",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode","ace/range"],function(o,a,l){var i=o("../../lib/oop"),u=o("./fold_mode").FoldMode,c=o("../../range").Range,s=a.FoldMode=function(){};i.inherits(s,u),function(){this.getFoldWidgetRange=function(e,b,t){var f=this.indentationBlock(e,t);if(f)return f;var r=/\S/,n=e.getLine(t),h=n.search(r);if(!(h==-1||n[h]!="#")){for(var d=n.length,p=e.getLength(),x=t,v=t;++t<p;){n=e.getLine(t);var _=n.search(r);if(_!=-1){if(n[_]!="#")break;v=t}}if(v>x){var k=e.getLine(v).length;return new c(x,d,v,k)}}},this.getFoldWidget=function(e,b,t){var f=e.getLine(t),r=f.search(/\S/),n=e.getLine(t+1),h=e.getLine(t-1),d=h.search(/\S/),p=n.search(/\S/);if(r==-1)return e.foldWidgets[t-1]=d!=-1&&d<p?"start":"","";if(d==-1){if(r==p&&f[r]=="#"&&n[r]=="#")return e.foldWidgets[t-1]="",e.foldWidgets[t+1]="","start"}else if(d==r&&f[r]=="#"&&h[r]=="#"&&e.getLine(t-2).search(/\S/)==-1)return e.foldWidgets[t-1]="start",e.foldWidgets[t+1]="","";return d!=-1&&d<r?e.foldWidgets[t-1]="start":e.foldWidgets[t-1]="",r<p?"start":""}}.call(s.prototype)}),ace.define("ace/mode/space_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(o,a,l){var i=o("../lib/oop"),u=o("./text_highlight_rules").TextHighlightRules,c=function(){this.$rules={start:[{token:"empty_line",regex:/ */,next:"key"},{token:"empty_line",regex:/$/,next:"key"}],key:[{token:"variable",regex:/\S+/},{token:"empty_line",regex:/$/,next:"start"},{token:"keyword.operator",regex:/ /,next:"value"}],value:[{token:"keyword.operator",regex:/$/,next:"start"},{token:"string",regex:/[^$]/}]}};i.inherits(c,u),a.SpaceHighlightRules=c}),ace.define("ace/mode/space",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/folding/coffee","ace/mode/space_highlight_rules"],function(o,a,l){var i=o("../lib/oop"),u=o("./text").Mode,c=o("./folding/coffee").FoldMode,s=o("./space_highlight_rules").SpaceHighlightRules,e=function(){this.HighlightRules=s,this.foldingRules=new c,this.$behaviour=this.$defaultBehaviour};i.inherits(e,u),function(){this.$id="ace/mode/space"}.call(e.prototype),a.Mode=e}),function(){ace.require(["ace/mode/space"],function(o){g&&(g.exports=o)})}()})(y);var S=y.exports;const $=R(S),L=M({__proto__:null,default:$},[S]);export{L as m};
|