1 |
- import{g as d}from"./index-15e3682d.js";function L(n,u){for(var t=0;t<u.length;t++){const e=u[t];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in n)){const a=Object.getOwnPropertyDescriptor(e,r);a&&Object.defineProperty(n,r,a.get?a:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}var k={exports:{}};(function(n,u){ace.define("ace/ext/linking",["require","exports","module","ace/editor","ace/config"],function(t,e,r){var a=t("../editor").Editor;t("../config").defineOptions(a.prototype,"editor",{enableLinking:{set:function(i){i?(this.on("click",g),this.on("mousemove",l)):(this.off("click",g),this.off("mousemove",l))},value:!1}}),e.previousLinkingHover=!1;function l(i){var o=i.editor,v=i.getAccelKey();if(v){var o=i.editor,s=i.getDocumentPosition(),c=o.session,f=c.getTokenAt(s.row,s.column);e.previousLinkingHover&&e.previousLinkingHover!=f&&o._emit("linkHoverOut"),o._emit("linkHover",{position:s,token:f}),e.previousLinkingHover=f}else e.previousLinkingHover&&(o._emit("linkHoverOut"),e.previousLinkingHover=!1)}function g(i){var o=i.getAccelKey(),v=i.getButton();if(v==0&&o){var s=i.editor,c=i.getDocumentPosition(),f=s.session,m=f.getTokenAt(c.row,c.column);s._emit("linkClick",{position:c,token:m})}}}),function(){ace.require(["ace/ext/linking"],function(t){n&&(n.exports=t)})}()})(k);var p=k.exports;const y=d(p),H=L({__proto__:null,default:y},[p]);export{H as e};
|