XWWitPark/witpark_jzzs/xw_jzzs_web/public/lib/ace/ace.js

2 lines
351 KiB
JavaScript
Raw Normal View History

2024-09-12 00:10:00 +00:00
/* 2020-9-22 15:23:18 | 版权所有 军懋国兴 */
function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}(function(){var o,r,l,h,e,t,i=function(){return this}();i||"undefined"==typeof window||(i=window),"undefined"==typeof requirejs&&((o=function e(t,i,n){"string"==typeof t?(2==arguments.length&&(n=i),e.modules[t]||(e.payloads[t]=n,e.modules[t]=null)):e.original?e.original.apply(this,arguments):(console.error("dropping module because define wasn't a string."),console.trace())}).modules={},o.payloads={},r=function(e,t,i){if("string"==typeof t){var n=h(e,t);if(null!=n)return i&&i(),n}else if("[object Array]"===Object.prototype.toString.call(t)){for(var s=[],o=0,r=t.length;o<r;++o){var a=h(e,t[o]);if(null==a&&l.original)return;s.push(a)}return i&&i.apply(null,s)||!0}},l=function e(t,i){var n=r("",t,i);return null==n&&e.original?e.original.apply(this,arguments):n},h=function(e,i){i=function e(t,i){if(-1!==i.indexOf("!")){var n=i.split("!");return e(t,n[0])+"!"+e(t,n[1])}if("."==i.charAt(0))for(i=t.split("/").slice(0,-1).join("/")+"/"+i;-1!==i.indexOf(".")&&s!=i;){var s=i;i=i.replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}return i}(e,i);var t,n,s=o.modules[i];return s||(s=o.payloads[i],"function"==typeof s&&(t={id:i,uri:"",exports:n={},packaged:!0},n=s(function(e,t){return r(i,e,t)},n,t)||t.exports,o.modules[i]=n,delete o.payloads[i]),s=o.modules[i]=n||s),s},t=i,(e="")&&(i[e]||(i[e]={}),t=i[e]),t.define&&t.define.packaged||(o.original=t.define,t.define=o,t.define.packaged=!0),t.require&&t.require.packaged||(l.original=t.require,t.require=l,t.require.packaged=!0))})(),define("ace/lib/regexp",["require","exports","module"],function(e,t,i){"use strict";var n,r={exec:RegExp.prototype.exec,test:RegExp.prototype.test,match:String.prototype.match,replace:String.prototype.replace,split:String.prototype.split},a=void 0===r.exec.call(/()??/,"")[1],l=(n=/^/g,r.test.call(n,""),!n.lastIndex);l&&a||(RegExp.prototype.exec=function(e){var t,i,n,s=r.exec.apply(this,arguments);if("string"==typeof e&&s){if(!a&&1<s.length&&-1<function(e,t,i){if(Array.prototype.indexOf)return e.indexOf(t,i);for(var n=i||0;n<e.length;n++)if(e[n]===t)return n;return-1}(s,"")&&(i=RegExp(this.source,r.replace.call(((n=this).global?"g":"")+(n.ignoreCase?"i":"")+(n.multiline?"m":"")+(n.extended?"x":"")+(n.sticky?"y":""),"g","")),r.replace.call(e.slice(s.index),i,function(){for(var e=1;e<arguments.length-2;e++)void 0===arguments[e]&&(s[e]=void 0)})),this._xregexp&&this._xregexp.captureNames)for(var o=1;o<s.length;o++)(t=this._xregexp.captureNames[o-1])&&(s[t]=s[o]);!l&&this.global&&!s[0].length&&this.lastIndex>s.index&&this.lastIndex--}return s},l||(RegExp.prototype.test=function(e){var t=r.exec.call(this,e);return t&&this.global&&!t[0].length&&this.lastIndex>t.index&&this.lastIndex--,!!t}))}),define("ace/lib/es5-shim",["require","exports","module"],function(e,t,i){function o(){}function n(e){try{return Object.defineProperty(e,"sentinel",{}),"sentinel"in e}catch(e){}}function s(e){return(e=+e)!=e?e=0:0!==e&&e!==1/0&&e!==-1/0&&(e=(0<e||-1)*Math.floor(Math.abs(e))),e}Function.prototype.bind||(Function.prototype.bind=function(t){var i=this;if("function"!=typeof i)throw new TypeError("Function.prototype.bind called on incompatible "+i);function n(){if(this instanceof n){var e=i.apply(this,s.concat(w.call(arguments)));return Object(e)===e?e:this}return i.apply(t,s.concat(w.call(arguments)))}var s=w.call(arguments,1);return i.prototype&&(o.prototype=i.prototype,n.prototype=new o,o.prototype=null),n});var r,a,l,h,c,u,d,g,f=Function.prototype.call,m=Array.prototype,p=Object.prototype,w=m.slice,v=f.bind(p.toString),$=f.bind(p.hasOwnProperty);function b(e){var t=new Array(e+2);return t[0]=t[1]=0,t}(c=$(p,"__defineGetter__"))&&(r=f.bind(p.__defineGetter__),a=f.bind(p.__defineSetter__),l=f.bind(p.__lookupGetter__),h=f.bind(p.__lookupSetter__)),2!=[1,2].splice(0).length&&((g=[]).splice.apply(g,b(20)),g.splice.apply(g,b(26)),d=g.length,g.splice(