HEX
Server: nginx/1.28.3
System: Linux ip-172-31-12-242 6.17.0-1007-aws #7~24.04.1-Ubuntu SMP Thu Jan 22 21:04:49 UTC 2026 x86_64
User: root (0)
PHP: 7.4.33
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/server/panel/BTPanel/static/editor/ext-linking.js
ace.define(
	'ace/ext/linking',
	['require', 'exports', 'module', 'ace/editor', 'ace/config'],
	function (e, t, n) {
		function i(e) {
			var n = e.editor,
				r = e.getAccelKey()
			if (r) {
				var n = e.editor,
					i = e.getDocumentPosition(),
					s = n.session,
					o = s.getTokenAt(i.row, i.column)
				t.previousLinkingHover && t.previousLinkingHover != o && n._emit('linkHoverOut'),
					n._emit('linkHover', { position: i, token: o }),
					(t.previousLinkingHover = o)
			} else t.previousLinkingHover && (n._emit('linkHoverOut'), (t.previousLinkingHover = !1))
		}
		function s(e) {
			var t = e.getAccelKey(),
				n = e.getButton()
			if (n == 0 && t) {
				var r = e.editor,
					i = e.getDocumentPosition(),
					s = r.session,
					o = s.getTokenAt(i.row, i.column)
				r._emit('linkClick', { position: i, token: o })
			}
		}
		var r = e('../editor').Editor
		e('../config').defineOptions(r.prototype, 'editor', {
			enableLinking: {
				set: function (e) {
					e
						? (this.on('click', s), this.on('mousemove', i))
						: (this.off('click', s), this.off('mousemove', i))
				},
				value: !1,
			},
		}),
			(t.previousLinkingHover = !1)
	}
)
;(function () {
	ace.require(['ace/ext/linking'], function (m) {
		if (typeof module == 'object' && typeof exports == 'object' && module) {
			module.exports = m
		}
	})
})()