pixelfed/public/js/ace.js

1 line
359 KiB
JavaScript
Raw Normal View History

2019-12-05 06:33:58 +00:00
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{13:function(e,t,i){e.exports=i("HFBm")},B9Yq:function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}},HFBm:function(e,t,i){(function(e){function n(e){return(n="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 e=function(){return this}();e||"undefined"==typeof window||(e=window);var t=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())};t.modules={},t.payloads={};var i,n,s=function(e,t,i){if("string"==typeof t){var n=r(e,t);if(null!=n)return i&&i(),n}else if("[object Array]"===Object.prototype.toString.call(t)){for(var s=[],a=0,l=t.length;a<l;++a){var h=r(e,t[a]);if(null==h&&o.original)return;s.push(h)}return i&&i.apply(null,s)||!0}},o=function e(t,i){var n=s("",t,i);return null==n&&e.original?e.original.apply(this,arguments):n},r=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 n=t.modules[i];if(!n){if("function"==typeof(n=t.payloads[i])){var o={},r={id:i,uri:"",exports:o,packaged:!0};o=n((function(e,t){return s(i,e,t)}),o,r)||r.exports,t.modules[i]=o,delete t.payloads[i]}n=t.modules[i]=o||n}return n};n=e,(i="ace")&&(e[i]||(e[i]={}),n=e[i]),n.define&&n.define.packaged||(t.original=n.define,n.define=t,n.define.packaged=!0),n.require&&n.require.packaged||(o.original=n.require,n.require=o,n.require.packaged=!0)}(),ace.define("ace/lib/regexp",["require","exports","module"],(function(e,t,i){"use strict";var n,s={exec:RegExp.prototype.exec,test:RegExp.prototype.test,match:String.prototype.match,replace:String.prototype.replace,split:String.prototype.split},o=void 0===s.exec.call(/()??/,"")[1],r=(n=/^/g,s.test.call(n,""),!n.lastIndex);function a(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.extended?"x":"")+(e.sticky?"y":"")}function l(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}r&&o||(RegExp.prototype.exec=function(e){var t,i,n=s.exec.apply(this,arguments);if("string"==typeof e&&n){if(!o&&n.length>1&&l(n,"")>-1&&(i=RegExp(this.source,s.replace.call(a(this),"g","")),s.replace.call(e.slice(n.index),i,(function(){for(var e=1;e<arguments.length-2;e++)void 0===arguments[e]&&(n[e]=void 0)}))),this._xregexp&&this._xregexp.captureNames)for(var h=1;h<n.length;h++)(t=this._xregexp.captureNames[h-1])&&(n[t]=n[h]);!r&&this.global&&!n[0].length&&this.lastIndex>n.index&&this.lastIndex--}return n},r||(RegExp.prototype.test=function(e){var t=s.exec.call(this,e);return t&&this.global&&!t[0].length&&this.lastIndex>t.index&&this.lastIndex--,!!t}))})),ace.define("ace/lib/es5-shim",["require","exports","module"],(function(e,t,i){function s(){}Function.prototype.bind||(Function.prototype.bind=function(e){var t=this;if("function"!=typeof t)throw new TypeError("Function.prototype.bind called on incompatible "+t);var i=g.call(arguments,1),n=function n(){if(this instanceof n){var s=t.apply(this,i.concat(g.call(arguments)));return Object(s)===s?s:this}return t.apply(e,i.concat(g.call(arguments)))};return t.prototype&&(s.prototype=t.prototype,n.prototype=new s,s.prototype=null),n});var o,r,a,l,h,c=Function.prototype.call,u=Array.prototype,d=Object.prototype,g=u.slice,f=c.bind(d.toString),m=c.bind(d.hasOwnProperty);if((h=m(d,"__defineGetter__"))&&(o=c.bind(d.__defineGetter__),r=c.bind(d.__defineSetter__),a=c.bind(d.__lookupGetter__),l=c.bind(d.__lookupSetter__)),2!=[1,2].splice(0).length)if(function(){function e(e){var t=new Array(e+2);return t[0]=t[1]=0,t}var t,i=[];if(i.splice.apply(i