103 lines
4.3 KiB
Plaintext
103 lines
4.3 KiB
Plaintext
var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; };
|
|
if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } }
|
|
{
|
|
let window = _____WB$wombat$assign$function_____("window");
|
|
let self = _____WB$wombat$assign$function_____("self");
|
|
let document = _____WB$wombat$assign$function_____("document");
|
|
let location = _____WB$wombat$assign$function_____("location");
|
|
let top = _____WB$wombat$assign$function_____("top");
|
|
let parent = _____WB$wombat$assign$function_____("parent");
|
|
let frames = _____WB$wombat$assign$function_____("frames");
|
|
let opener = _____WB$wombat$assign$function_____("opener");
|
|
|
|
/**
|
|
* SyntaxHighlighter
|
|
* http://alexgorbatchev.com/SyntaxHighlighter
|
|
*
|
|
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
|
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
|
*
|
|
* @version
|
|
* 3.0.83 (July 02 2010)
|
|
*
|
|
* @copyright
|
|
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
|
*
|
|
* @license
|
|
* Dual licensed under the MIT and GPL licenses.
|
|
*/
|
|
;(function()
|
|
{
|
|
// CommonJS
|
|
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
|
|
|
function Brush()
|
|
{
|
|
// Contributed by Andres Almiray
|
|
// http://jroller.com/aalmiray/entry/nice_source_code_syntax_highlighter
|
|
|
|
var keywords = 'as assert break case catch class continue def default do else extends finally ' +
|
|
'if in implements import instanceof interface new package property return switch ' +
|
|
'throw throws try while public protected private static';
|
|
var types = 'void boolean byte char short int long float double';
|
|
var constants = 'null';
|
|
var methods = 'allProperties count get size '+
|
|
'collect each eachProperty eachPropertyName eachWithIndex find findAll ' +
|
|
'findIndexOf grep inject max min reverseEach sort ' +
|
|
'asImmutable asSynchronized flatten intersect join pop reverse subMap toList ' +
|
|
'padRight padLeft contains eachMatch toCharacter toLong toUrl tokenize ' +
|
|
'eachFile eachFileRecurse eachB yte eachLine readBytes readLine getText ' +
|
|
'splitEachLine withReader append encodeBase64 decodeBase64 filterLine ' +
|
|
'transformChar transformLine withOutputStream withPrintWriter withStream ' +
|
|
'withStreams withWriter withWriterAppend write writeLine '+
|
|
'dump inspect invokeMethod print println step times upto use waitForOrKill '+
|
|
'getText';
|
|
|
|
this.regexList = [
|
|
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
|
|
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
|
|
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
|
|
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
|
|
{ regex: /""".*"""/g, css: 'string' }, // GStrings
|
|
{ regex: new RegExp('\\b([\\d]+(\\.[\\d]+)?|0x[a-f0-9]+)\\b', 'gi'), css: 'value' }, // numbers
|
|
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // goovy keyword
|
|
{ regex: new RegExp(this.getKeywords(types), 'gm'), css: 'color1' }, // goovy/java type
|
|
{ regex: new RegExp(this.getKeywords(constants), 'gm'), css: 'constants' }, // constants
|
|
{ regex: new RegExp(this.getKeywords(methods), 'gm'), css: 'functions' } // methods
|
|
];
|
|
|
|
this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
|
|
}
|
|
|
|
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
|
Brush.aliases = ['groovy'];
|
|
|
|
SyntaxHighlighter.brushes.Groovy = Brush;
|
|
|
|
// CommonJS
|
|
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
|
})();
|
|
|
|
|
|
}
|
|
/*
|
|
FILE ARCHIVED ON 00:27:44 Oct 25, 2012 AND RETRIEVED FROM THE
|
|
INTERNET ARCHIVE ON 01:58:35 Dec 09, 2020.
|
|
JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.
|
|
|
|
ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
|
|
SECTION 108(a)(3)).
|
|
*/
|
|
/*
|
|
playback timings (ms):
|
|
exclusion.robots.policy: 0.206
|
|
esindex: 0.013
|
|
exclusion.robots: 0.221
|
|
LoadShardBlock: 184.223 (3)
|
|
CDXLines.iter: 20.665 (3)
|
|
RedisCDXSource: 5.013
|
|
captures_list: 213.832
|
|
PetaboxLoader3.datanode: 187.699 (4)
|
|
load_resource: 48.953
|
|
PetaboxLoader3.resolve: 28.416
|
|
*/ |