rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
13
136k
meta
stringlengths
132
347
var items = [];
function $$(){ if (!arguments) return false; if (arguments.length == 1){ if (!arguments[0]) return false; if (arguments[0]._elements_extended_) return arguments[0]; } var items = []; var elements = []; $each(arguments, function(selector){ if ($type(selector) == 'string') items.extend(document.getElementsBySelector(selector)); else if ($type(selector) == 'element') items.push($(selector)); else if (selector.length){ $each(selector, function(sel){ items.push(sel); }); } }); items.each(function(item){ if ($(item)) elements.push(item); }); elements._elements_extended_ = true; return Object.extend(elements, new Elements);};
5409 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5409/af66a6919b8d36f1a1d048c31276da23a227b278/Element.js/clean/Native/Element.js
if ($type(selector) == 'string') items.extend(document.getElementsBySelector(selector)); else if ($type(selector) == 'element') items.push($(selector)); else if (selector.length){ $each(selector, function(sel){ items.push(sel); });
switch ($type(selector)){ case 'element': elements.push($(selector)); break; case 'string': selector = document.getElementsBySelector(selector); default: if (selector.length){ $each(selector, function(el){ if ($(el)) elements.push(el); }); }
function $$(){ if (!arguments) return false; if (arguments.length == 1){ if (!arguments[0]) return false; if (arguments[0]._elements_extended_) return arguments[0]; } var items = []; var elements = []; $each(arguments, function(selector){ if ($type(selector) == 'string') items.extend(document.getElementsBySelector(selector)); else if ($type(selector) == 'element') items.push($(selector)); else if (selector.length){ $each(selector, function(sel){ items.push(sel); }); } }); items.each(function(item){ if ($(item)) elements.push(item); }); elements._elements_extended_ = true; return Object.extend(elements, new Elements);};
5409 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5409/af66a6919b8d36f1a1d048c31276da23a227b278/Element.js/clean/Native/Element.js
}); items.each(function(item){ if ($(item)) elements.push(item);
function $$(){ if (!arguments) return false; if (arguments.length == 1){ if (!arguments[0]) return false; if (arguments[0]._elements_extended_) return arguments[0]; } var items = []; var elements = []; $each(arguments, function(selector){ if ($type(selector) == 'string') items.extend(document.getElementsBySelector(selector)); else if ($type(selector) == 'element') items.push($(selector)); else if (selector.length){ $each(selector, function(sel){ items.push(sel); }); } }); items.each(function(item){ if ($(item)) elements.push(item); }); elements._elements_extended_ = true; return Object.extend(elements, new Elements);};
5409 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5409/af66a6919b8d36f1a1d048c31276da23a227b278/Element.js/clean/Native/Element.js
var items = [];
function $$(){ if (!arguments) return false; if (arguments.length == 1){ if (!arguments[0]) return false; if (arguments[0]._elements_extended_) return arguments[0]; } var items = []; var elements = []; $each(arguments, function(selector){ if ($type(selector) == 'string') items.extend(document.getElementsBySelector(selector)); else if ($type(selector) == 'element') items.push($(selector)); else if (selector.length){ $each(selector, function(sel){ items.push(sel); }); } }); items.each(function(item){ if ($(item)) elements.push(item); }); elements._elements_extended_ = true; return Object.extend(elements, new Elements);};
6991 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6991/af66a6919b8d36f1a1d048c31276da23a227b278/Element.js/clean/Native/Element.js
if ($type(selector) == 'string') items.extend(document.getElementsBySelector(selector)); else if ($type(selector) == 'element') items.push($(selector)); else if (selector.length){ $each(selector, function(sel){ items.push(sel); });
switch ($type(selector)){ case 'element': elements.push($(selector)); break; case 'string': selector = document.getElementsBySelector(selector); default: if (selector.length){ $each(selector, function(el){ if ($(el)) elements.push(el); }); }
function $$(){ if (!arguments) return false; if (arguments.length == 1){ if (!arguments[0]) return false; if (arguments[0]._elements_extended_) return arguments[0]; } var items = []; var elements = []; $each(arguments, function(selector){ if ($type(selector) == 'string') items.extend(document.getElementsBySelector(selector)); else if ($type(selector) == 'element') items.push($(selector)); else if (selector.length){ $each(selector, function(sel){ items.push(sel); }); } }); items.each(function(item){ if ($(item)) elements.push(item); }); elements._elements_extended_ = true; return Object.extend(elements, new Elements);};
6991 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6991/af66a6919b8d36f1a1d048c31276da23a227b278/Element.js/clean/Native/Element.js
}); items.each(function(item){ if ($(item)) elements.push(item);
function $$(){ if (!arguments) return false; if (arguments.length == 1){ if (!arguments[0]) return false; if (arguments[0]._elements_extended_) return arguments[0]; } var items = []; var elements = []; $each(arguments, function(selector){ if ($type(selector) == 'string') items.extend(document.getElementsBySelector(selector)); else if ($type(selector) == 'element') items.push($(selector)); else if (selector.length){ $each(selector, function(sel){ items.push(sel); }); } }); items.each(function(item){ if ($(item)) elements.push(item); }); elements._elements_extended_ = true; return Object.extend(elements, new Elements);};
6991 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6991/af66a6919b8d36f1a1d048c31276da23a227b278/Element.js/clean/Native/Element.js
for (i = 0; i < arguments.length; i++) {
for (var i = 0; i < arguments.length; i++) {
function $() { var elements = new Array(); for (i = 0; i < arguments.length; i++) { var element = arguments[i]; if (typeof element == 'string') element = document.getElementById(element); if (arguments.length == 1) return element; elements.push(element); } return elements;}
107 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/107/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/clean/railties/html/javascripts/prototype.js
for (i = 0; i < arguments.length; i++) {
for (var i = 0; i < arguments.length; i++) {
function $() { var elements = new Array(); for (i = 0; i < arguments.length; i++) { var element = arguments[i]; if (typeof element == 'string') element = document.getElementById(element); if (arguments.length == 1) return element; elements.push(element); } return elements;}
1534 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1534/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/clean/railties/html/javascripts/prototype.js
for (i = 0; i < arguments.length; i++) {
for (var i = 0; i < arguments.length; i++) {
function $() { var elements = new Array(); for (i = 0; i < arguments.length; i++) { var element = arguments[i]; if (typeof element == 'string') element = document.getElementById(element); if (arguments.length == 1) return element; elements.push(element); } return elements;}
949 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/949/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/clean/railties/html/javascripts/prototype.js
for (i = 0; i < arguments.length; i++) {
for (var i = 0; i < arguments.length; i++) {
function $() { var elements = new Array(); for (i = 0; i < arguments.length; i++) { var element = arguments[i]; if (typeof element == 'string') element = document.getElementById(element); if (arguments.length == 1) return element; elements.push(element); } return elements;}
2069 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2069/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js
for (i = 0; i < arguments.length; i++) {
for (var i = 0; i < arguments.length; i++) {
function $() { var elements = new Array(); for (i = 0; i < arguments.length; i++) { var element = arguments[i]; if (typeof element == 'string') element = document.getElementById(element); if (arguments.length == 1) return element; elements.push(element); } return elements;}
949 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/949/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js
for (i = 0; i < arguments.length; i++) {
for (var i = 0; i < arguments.length; i++) {
function $() { var elements = new Array(); for (i = 0; i < arguments.length; i++) { var element = arguments[i]; if (typeof element == 'string') element = document.getElementById(element); if (arguments.length == 1) return element; elements.push(element); } return elements;}
5523 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5523/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/clean/actionpack/lib/action_view/helpers/javascripts/prototype.js
for (i = 0; i < arguments.length; i++) {
for (var i = 0; i < arguments.length; i++) {
function $() { var elements = new Array(); for (i = 0; i < arguments.length; i++) { var element = arguments[i]; if (typeof element == 'string') element = document.getElementById(element); if (arguments.length == 1) return element; elements.push(element); } return elements;}
2338 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2338/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/clean/actionpack/lib/action_view/helpers/javascripts/prototype.js
for (i = 0; i < arguments.length; i++) {
for (var i = 0; i < arguments.length; i++) {
function $() { var elements = new Array(); for (i = 0; i < arguments.length; i++) { var element = arguments[i]; if (typeof element == 'string') element = document.getElementById(element); if (arguments.length == 1) return element; elements.push(element); } return elements;}
107 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/107/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js
for (i = 0; i < arguments.length; i++) {
for (var i = 0; i < arguments.length; i++) {
function $() { var elements = new Array(); for (i = 0; i < arguments.length; i++) { var element = arguments[i]; if (typeof element == 'string') element = document.getElementById(element); if (arguments.length == 1) return element; elements.push(element); } return elements;}
6649 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6649/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js
for (i = 0; i < arguments.length; i++) {
for (var i = 0; i < arguments.length; i++) {
function $() { var elements = new Array(); for (i = 0; i < arguments.length; i++) { var element = arguments[i]; if (typeof element == 'string') element = document.getElementById(element); if (arguments.length == 1) return element; elements.push(element); } return elements;}
4687 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4687/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/buggy/railties/html/javascripts/prototype.js
for (i = 0; i < arguments.length; i++) {
for (var i = 0; i < arguments.length; i++) {
function $() { var elements = new Array(); for (i = 0; i < arguments.length; i++) { var element = arguments[i]; if (typeof element == 'string') element = document.getElementById(element); if (arguments.length == 1) return element; elements.push(element); } return elements;}
4687 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4687/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/clean/actionpack/lib/action_view/helpers/javascripts/prototype.js
el._element_extended_ = true; Garbage.collect(el); el.extend = Object.extend; if (!(el instanceof HTMLElement)) el.extend(Element.prototype);
if (!el.extend){ el._element_extended_ = true; Garbage.collect(el); el.extend = Object.extend; if (!(el instanceof HTMLElement)) el.extend(Element.prototype); }
function $(el){ if (!el) return false; if (el._element_extended_) return el; if ($type(el) == 'string') el = document.getElementById(el); if ([window, document].test(el)) return el; if ($type(el) != 'element') return false; if (['object', 'embed'].test(el.tagName.toLowerCase())) return el; el._element_extended_ = true; Garbage.collect(el); el.extend = Object.extend; if (!(el instanceof HTMLElement)) el.extend(Element.prototype); return el;};
5409 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5409/e7dd910693884a63178478122a8cdcbd826b62c2/Element.js/clean/Native/Element.js
for (i = 0; i < arguments.length; i++) {
for (var i = 0; i < arguments.length; i++) {
function $() { var elements = new Array(); for (i = 0; i < arguments.length; i++) { var element = arguments[i]; if (typeof element == 'string') element = document.getElementById(element); if (arguments.length == 1) return element; elements.push(element); } return elements;}
167 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/167/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/buggy/railties/html/javascripts/prototype.js
for (i = 0; i < arguments.length; i++) {
for (var i = 0; i < arguments.length; i++) {
function $() { var elements = new Array(); for (i = 0; i < arguments.length; i++) { var element = arguments[i]; if (typeof element == 'string') element = document.getElementById(element); if (arguments.length == 1) return element; elements.push(element); } return elements;}
167 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/167/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js
if (el._element_extended_) return el; if ([window, document].test(el)) return el;
if (el._element_extended_ || [window, document].test(el)) return el;
function $(el){ if (!el) return false; if (el._element_extended_) return el; if ([window, document].test(el)) return el; if ($type(el) == 'string') el = document.getElementById(el); if ($type(el) != 'element') return false; if (['object', 'embed'].test(el.tagName.toLowerCase())) return el; if (!el.extend){ el._element_extended_ = true; Garbage.collect(el); el.extend = Object.extend; if (!(el instanceof HTMLElement)) el.extend(Element.prototype); } return el;};
5409 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5409/af66a6919b8d36f1a1d048c31276da23a227b278/Element.js/clean/Native/Element.js
if (['object', 'embed'].test(el.tagName.toLowerCase())) return el; if (!el.extend){
if (!['object', 'embed'].test(el.tagName.toLowerCase()) && !el.extend){
function $(el){ if (!el) return false; if (el._element_extended_) return el; if ([window, document].test(el)) return el; if ($type(el) == 'string') el = document.getElementById(el); if ($type(el) != 'element') return false; if (['object', 'embed'].test(el.tagName.toLowerCase())) return el; if (!el.extend){ el._element_extended_ = true; Garbage.collect(el); el.extend = Object.extend; if (!(el instanceof HTMLElement)) el.extend(Element.prototype); } return el;};
5409 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5409/af66a6919b8d36f1a1d048c31276da23a227b278/Element.js/clean/Native/Element.js
for (i = 0; i < arguments.length; i++) {
for (var i = 0; i < arguments.length; i++) {
function $() { var elements = new Array(); for (i = 0; i < arguments.length; i++) { var element = arguments[i]; if (typeof element == 'string') element = document.getElementById(element); if (arguments.length == 1) return element; elements.push(element); } return elements;}
2338 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2338/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/clean/railties/html/javascripts/prototype.js
for (i = 0; i < arguments.length; i++) {
for (var i = 0; i < arguments.length; i++) {
function $() { var elements = new Array(); for (i = 0; i < arguments.length; i++) { var element = arguments[i]; if (typeof element == 'string') element = document.getElementById(element); if (arguments.length == 1) return element; elements.push(element); } return elements;}
269 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/269/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/buggy/railties/html/javascripts/prototype.js
for (i = 0; i < arguments.length; i++) {
for (var i = 0; i < arguments.length; i++) {
function $() { var elements = new Array(); for (i = 0; i < arguments.length; i++) { var element = arguments[i]; if (typeof element == 'string') element = document.getElementById(element); if (arguments.length == 1) return element; elements.push(element); } return elements;}
1604 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1604/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/clean/actionpack/lib/action_view/helpers/javascripts/prototype.js
for (i = 0; i < arguments.length; i++) {
for (var i = 0; i < arguments.length; i++) {
function $() { var elements = new Array(); for (i = 0; i < arguments.length; i++) { var element = arguments[i]; if (typeof element == 'string') element = document.getElementById(element); if (arguments.length == 1) return element; elements.push(element); } return elements;}
2069 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2069/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/buggy/railties/html/javascripts/prototype.js
for (i = 0; i < arguments.length; i++) {
for (var i = 0; i < arguments.length; i++) {
function $() { var elements = new Array(); for (i = 0; i < arguments.length; i++) { var element = arguments[i]; if (typeof element == 'string') element = document.getElementById(element); if (arguments.length == 1) return element; elements.push(element); } return elements;}
5523 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5523/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/buggy/railties/html/javascripts/prototype.js
for (i = 0; i < arguments.length; i++) {
for (var i = 0; i < arguments.length; i++) {
function $() { var elements = new Array(); for (i = 0; i < arguments.length; i++) { var element = arguments[i]; if (typeof element == 'string') element = document.getElementById(element); if (arguments.length == 1) return element; elements.push(element); } return elements;}
5521 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5521/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js
for (i = 0; i < arguments.length; i++) {
for (var i = 0; i < arguments.length; i++) {
function $() { var elements = new Array(); for (i = 0; i < arguments.length; i++) { var element = arguments[i]; if (typeof element == 'string') element = document.getElementById(element); if (arguments.length == 1) return element; elements.push(element); } return elements;}
1534 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1534/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/clean/actionpack/lib/action_view/helpers/javascripts/prototype.js
for (i = 0; i < arguments.length; i++) {
for (var i = 0; i < arguments.length; i++) {
function $() { var elements = new Array(); for (i = 0; i < arguments.length; i++) { var element = arguments[i]; if (typeof element == 'string') element = document.getElementById(element); if (arguments.length == 1) return element; elements.push(element); } return elements;}
5521 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5521/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/buggy/railties/html/javascripts/prototype.js
for (i = 0; i < arguments.length; i++) {
for (var i = 0; i < arguments.length; i++) {
function $() { var elements = new Array(); for (i = 0; i < arguments.length; i++) { var element = arguments[i]; if (typeof element == 'string') element = document.getElementById(element); if (arguments.length == 1) return element; elements.push(element); } return elements;}
269 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/269/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js
if (arguments.length == 1)
if (arguments.length == 1)
function $() { var elements = new Array(); for (var i = 0; i < arguments.length; i++) { var element = arguments[i]; if (typeof element == 'string') element = document.getElementById(element); if (arguments.length == 1) return element; elements.push(element); } return elements;}
742 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/742/3f913f897829fb026ef98df2d57f8da94ee5339d/prototype.js/buggy/public/javascripts/prototype.js
if (el._element_extended_) return el; if ([window, document].test(el)) return el;
if (el._element_extended_ || [window, document].test(el)) return el;
function $(el){ if (!el) return false; if (el._element_extended_) return el; if ([window, document].test(el)) return el; if ($type(el) == 'string') el = document.getElementById(el); if ($type(el) != 'element') return false; if (['object', 'embed'].test(el.tagName.toLowerCase())) return el; if (!el.extend){ el._element_extended_ = true; Garbage.collect(el); el.extend = Object.extend; if (!(el instanceof HTMLElement)) el.extend(Element.prototype); } return el;};
6991 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6991/af66a6919b8d36f1a1d048c31276da23a227b278/Element.js/clean/Native/Element.js
if (['object', 'embed'].test(el.tagName.toLowerCase())) return el; if (!el.extend){
if (!['object', 'embed'].test(el.tagName.toLowerCase()) && !el.extend){
function $(el){ if (!el) return false; if (el._element_extended_) return el; if ([window, document].test(el)) return el; if ($type(el) == 'string') el = document.getElementById(el); if ($type(el) != 'element') return false; if (['object', 'embed'].test(el.tagName.toLowerCase())) return el; if (!el.extend){ el._element_extended_ = true; Garbage.collect(el); el.extend = Object.extend; if (!(el instanceof HTMLElement)) el.extend(Element.prototype); } return el;};
6991 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6991/af66a6919b8d36f1a1d048c31276da23a227b278/Element.js/clean/Native/Element.js
for (i = 0; i < arguments.length; i++) {
for (var i = 0; i < arguments.length; i++) {
function $() { var elements = new Array(); for (i = 0; i < arguments.length; i++) { var element = arguments[i]; if (typeof element == 'string') element = document.getElementById(element); if (arguments.length == 1) return element; elements.push(element); } return elements;}
1604 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1604/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/clean/railties/html/javascripts/prototype.js
if (!['object', 'embed'].test(el.tagName.toLowerCase()) && !el.extend){ el._element_extended_ = true; Garbage.collect(el); el.extend = Object.extend; if (!(el instanceof HTMLElement)) el.extend(Element.prototype); }
if (['object', 'embed'].test(el.tagName.toLowerCase()) || el.extend) return el; el._element_extended_ = true; Garbage.collect(el); el.extend = Object.extend; if (!(el instanceof HTMLElement)) el.extend(Element.prototype);
function $(el){ if (!el) return false; if (el._element_extended_ || [window, document].test(el)) return el; if ($type(el) == 'string') el = document.getElementById(el); if ($type(el) != 'element') return false; if (!['object', 'embed'].test(el.tagName.toLowerCase()) && !el.extend){ el._element_extended_ = true; Garbage.collect(el); el.extend = Object.extend; if (!(el instanceof HTMLElement)) el.extend(Element.prototype); } return el;};
5409 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5409/40abbc9297ec4379ee70e76011e4bfc1dc45a5a6/Element.js/clean/Native/Element.js
el._element_extended_ = true; Garbage.collect(el); el.extend = Object.extend; if (!(el instanceof HTMLElement)) el.extend(Element.prototype);
if (!el.extend){ el._element_extended_ = true; Garbage.collect(el); el.extend = Object.extend; if (!(el instanceof HTMLElement)) el.extend(Element.prototype); }
function $(el){ if (!el) return false; if (el._element_extended_) return el; if ($type(el) == 'string') el = document.getElementById(el); if ([window, document].test(el)) return el; if ($type(el) != 'element') return false; if (['object', 'embed'].test(el.tagName.toLowerCase())) return el; el._element_extended_ = true; Garbage.collect(el); el.extend = Object.extend; if (!(el instanceof HTMLElement)) el.extend(Element.prototype); return el;};
6991 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6991/e7dd910693884a63178478122a8cdcbd826b62c2/Element.js/buggy/Native/Element.js
if (!['object', 'embed'].test(el.tagName.toLowerCase()) && !el.extend){ el._element_extended_ = true; Garbage.collect(el); el.extend = Object.extend; if (!(el instanceof HTMLElement)) el.extend(Element.prototype); }
if (['object', 'embed'].test(el.tagName.toLowerCase()) || el.extend) return el; el._element_extended_ = true; Garbage.collect(el); el.extend = Object.extend; if (!(el instanceof HTMLElement)) el.extend(Element.prototype);
function $(el){ if (!el) return false; if (el._element_extended_ || [window, document].test(el)) return el; if ($type(el) == 'string') el = document.getElementById(el); if ($type(el) != 'element') return false; if (!['object', 'embed'].test(el.tagName.toLowerCase()) && !el.extend){ el._element_extended_ = true; Garbage.collect(el); el.extend = Object.extend; if (!(el instanceof HTMLElement)) el.extend(Element.prototype); } return el;};
6991 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6991/40abbc9297ec4379ee70e76011e4bfc1dc45a5a6/Element.js/clean/Native/Element.js
var elements = new Array();
var results = [], element;
function $() { var elements = new Array(); for (var i = 0; i < arguments.length; i++) { var element = arguments[i]; if (typeof element == 'string') element = document.getElementById(element); if (arguments.length == 1) return element; elements.push(element); } return elements;}
2019 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2019/cb20644c026e010b58d134c622b7dd70eddae16a/prototype.js/buggy/phpmyfaq/inc/js/prototype.js
var element = arguments[i];
element = arguments[i];
function $() { var elements = new Array(); for (var i = 0; i < arguments.length; i++) { var element = arguments[i]; if (typeof element == 'string') element = document.getElementById(element); if (arguments.length == 1) return element; elements.push(element); } return elements;}
2019 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2019/cb20644c026e010b58d134c622b7dd70eddae16a/prototype.js/buggy/phpmyfaq/inc/js/prototype.js
if (arguments.length == 1) return element; elements.push(element);
results.push(Element.extend(element));
function $() { var elements = new Array(); for (var i = 0; i < arguments.length; i++) { var element = arguments[i]; if (typeof element == 'string') element = document.getElementById(element); if (arguments.length == 1) return element; elements.push(element); } return elements;}
2019 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2019/cb20644c026e010b58d134c622b7dd70eddae16a/prototype.js/buggy/phpmyfaq/inc/js/prototype.js
return elements;
return results.length < 2 ? results[0] : results;
function $() { var elements = new Array(); for (var i = 0; i < arguments.length; i++) { var element = arguments[i]; if (typeof element == 'string') element = document.getElementById(element); if (arguments.length == 1) return element; elements.push(element); } return elements;}
2019 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2019/cb20644c026e010b58d134c622b7dd70eddae16a/prototype.js/buggy/phpmyfaq/inc/js/prototype.js
for (i = 0; i < arguments.length; i++) {
for (var i = 0; i < arguments.length; i++) {
function $() { var elements = new Array(); for (i = 0; i < arguments.length; i++) { var element = arguments[i]; if (typeof element == 'string') element = document.getElementById(element); if (arguments.length == 1) return element; elements.push(element); } return elements;}
6649 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6649/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/clean/railties/html/javascripts/prototype.js
if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute';
if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute';
function(element, update){ if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute'; var offsets = Position.cumulativeOffset(element); update.style.left = offsets[0] + 'px'; update.style.top = (offsets[1] + element.offsetHeight) + 'px'; update.style.width = element.offsetWidth + 'px'; } new Effect.Appear(update,{duration:0.3}); };
6649 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6649/16669774903dd7bfaaf1bf8f0c72e49ebaeffeeb/controls.js/buggy/railties/html/javascripts/controls.js
} new Effect.Appear(update,{duration:0.3}); };
} new Effect.Appear(update,{duration:0.15}); };
function(element, update){ if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute'; var offsets = Position.cumulativeOffset(element); update.style.left = offsets[0] + 'px'; update.style.top = (offsets[1] + element.offsetHeight) + 'px'; update.style.width = element.offsetWidth + 'px'; } new Effect.Appear(update,{duration:0.3}); };
6649 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6649/16669774903dd7bfaaf1bf8f0c72e49ebaeffeeb/controls.js/buggy/railties/html/javascripts/controls.js
if(element.document != undefined && element.document==null) return; Element.setStyle(element, {"background-color" : originalColor});
if (element.document != undefined && element.document == null) { return; } Element.setStyle(element, {"background-color" : element.originalColor});
window.setTimeout(function() { if(element.document != undefined && element.document==null) return; Element.setStyle(element, {"background-color" : originalColor}); }, 200);
4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/ec6623fd9e0ddb1c56b1a65fd8a5d205da7629e2/htmlutils.js/clean/code/javascript/core/scripts/htmlutils.js
if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute';
if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute';
function(element, update){ if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute'; var offsets = Position.cumulativeOffset(element); update.style.left = offsets[0] + 'px'; update.style.top = (offsets[1] + element.offsetHeight) + 'px'; update.style.width = element.offsetWidth + 'px'; } new Effect.Appear(update,{duration:0.3}); };
4687 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4687/16669774903dd7bfaaf1bf8f0c72e49ebaeffeeb/controls.js/clean/railties/html/javascripts/controls.js
} new Effect.Appear(update,{duration:0.3}); };
} new Effect.Appear(update,{duration:0.15}); };
function(element, update){ if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute'; var offsets = Position.cumulativeOffset(element); update.style.left = offsets[0] + 'px'; update.style.top = (offsets[1] + element.offsetHeight) + 'px'; update.style.width = element.offsetWidth + 'px'; } new Effect.Appear(update,{duration:0.3}); };
4687 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4687/16669774903dd7bfaaf1bf8f0c72e49ebaeffeeb/controls.js/clean/railties/html/javascripts/controls.js
HTTPGet(db.uri +'/'+ searchString +'/'+ db.max, db.receive, db);
HTTPGet(db.uri +'/'+ encodeURIComponent(searchString), db.receive, db);
this.timer = setTimeout(function() { addClass(db.owner.input, 'throbbing'); HTTPGet(db.uri +'/'+ searchString +'/'+ db.max, db.receive, db); }, this.delay);
3650 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3650/a1e4655bbcb7f6682689391975dfda5a60a304de/autocomplete.js/clean/misc/autocomplete.js
"OpenLayers/Control/LayerSwitcher.js", "OpenLayers/Control/LayerTabs.js"
"OpenLayers/Control/LayerSwitcher.js"
(function() { var jsfiles=new Array( "Prototype.js", "Rico/Corner.js", "Rico/Color.js", "OpenLayers/BaseTypes.js", "OpenLayers/Util.js", "OpenLayers/Ajax.js", "OpenLayers/Events.js", "OpenLayers/Map.js", "OpenLayers/Layer.js", "OpenLayers/Icon.js", "OpenLayers/Marker.js", "OpenLayers/Marker/Box.js", "OpenLayers/Popup.js", "OpenLayers/Tile.js", "OpenLayers/Feature.js", "OpenLayers/Feature/WFS.js", "OpenLayers/Tile/Image.js", "OpenLayers/Tile/WFS.js", "OpenLayers/Layer/EventPane.js", "OpenLayers/Layer/FixedZoomLevels.js", "OpenLayers/Layer/Google.js", "OpenLayers/Layer/VirtualEarth.js", "OpenLayers/Layer/Yahoo.js", "OpenLayers/Layer/HTTPRequest.js", "OpenLayers/Layer/Grid.js", "OpenLayers/Layer/KaMap.js", "OpenLayers/Layer/MultiMap.js", "OpenLayers/Layer/Markers.js", "OpenLayers/Layer/Text.js", "OpenLayers/Layer/WorldWind.js", "OpenLayers/Layer/WMS.js", "OpenLayers/Layer/WFS.js", "OpenLayers/Layer/WMS/Untiled.js", "OpenLayers/Layer/GeoRSS.js", "OpenLayers/Layer/Boxes.js", "OpenLayers/Layer/Canvas.js", "OpenLayers/Popup/Anchored.js", "OpenLayers/Popup/AnchoredBubble.js", "OpenLayers/Control.js", "OpenLayers/Control/MouseDefaults.js", "OpenLayers/Control/MouseToolbar.js", "OpenLayers/Control/KeyboardDefaults.js", "OpenLayers/Control/PanZoom.js", "OpenLayers/Control/PanZoomBar.js", "OpenLayers/Control/Permalink.js", "OpenLayers/Control/Scale.js", "OpenLayers/Control/LayerSwitcher.js", "OpenLayers/Control/LayerTabs.js" ); // etc. var allScriptTags = ""; var host = OpenLayers._getScriptLocation() + "lib/"; // check to see if prototype.js was already loaded // if so, skip the first dynamic include // var start=1; try { x = Prototype; } catch (e) { start=0; } for (var i = start; i < jsfiles.length; i++) { var currentScriptTag = "<script src='" + host + jsfiles[i] + "'></script>"; allScriptTags += currentScriptTag; } document.write(allScriptTags); })();
2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/14a2418a626039d0e26a6f87c60cb207c00cb867/OpenLayers.js/clean/lib/OpenLayers.js
if (!el || ((param[1] != '*') && ($Element(el, 'getTag') != param[1]))) return;
if (!el || ((param[1] != '*') && (Element.prototype.getTag.call(el) != param[1]))) return;
selector.clean().split(' ').each(function(sel, i){ var param = sel.match('^(\\w*|\\*)(?:#([\\w_-]+)|\\.([\\w_-]+))?(?:\\[["\']?(\\w+)["\']?(?:([\\*\\^\\$]?=)["\']?(\\w*)["\']?)?\\])?$'); //PARAM ARRAY: 0 = full string: 1 = tag; 2 = id; 3 = class; 4 = attribute; 5 = operator; 6 = value; if (!param) return; param[1] = param[1] || '*'; if (i == 0){ if (param[2]){ var el = this.getElementById(param[2]); if (!el || ((param[1] != '*') && ($Element(el, 'getTag') != param[1]))) return; filters = [el]; } else { filters = $A(this.getElementsByTagName(param[1])); } } else { filters = Elements.prototype.filterByTagName.call(filters, param[1]); if (param[2]) filters = Elements.prototype.filterById.call(filters, param[2]); } if (param[3]) filters = Elements.prototype.filterByClassName.call(filters, param[3]); if (param[4]) filters = Elements.prototype.filterByAttribute.call(filters, param[4], param[6], param[5]); }, this);
5409 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5409/b57774298a216831aaf9ee0a5b41fa9aa6fc447e/Dom.js/buggy/Addons/Dom.js
window.setTimeout(function() {self.pollForLoad(loadFunction, windowObject, originalLocation, originalHref);}, 500);
window.setTimeout(function() { self.pollForLoad(loadFunction, windowObject, originalLocation, originalHref); }, 500);
window.setTimeout(function() {self.pollForLoad(loadFunction, windowObject, originalLocation, originalHref);}, 500);
4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/0e14a53996e4d4f6077da9fa5f25415f4fff0108/selenium-browserbot.js/buggy/code/javascript/core/scripts/selenium-browserbot.js
if (!el || ((param[1] != '*') && ($Element(el, 'getTag') != param[1]))) return;
if (!el || ((param[1] != '*') && (Element.prototype.getTag.call(el) != param[1]))) return;
selector.clean().split(' ').each(function(sel, i){ var param = sel.match('^(\\w*|\\*)(?:#([\\w_-]+)|\\.([\\w_-]+))?(?:\\[["\']?(\\w+)["\']?(?:([\\*\\^\\$]?=)["\']?(\\w*)["\']?)?\\])?$'); //PARAM ARRAY: 0 = full string: 1 = tag; 2 = id; 3 = class; 4 = attribute; 5 = operator; 6 = value; if (!param) return; param[1] = param[1] || '*'; if (i == 0){ if (param[2]){ var el = this.getElementById(param[2]); if (!el || ((param[1] != '*') && ($Element(el, 'getTag') != param[1]))) return; filters = [el]; } else { filters = $A(this.getElementsByTagName(param[1])); } } else { filters = Elements.prototype.filterByTagName.call(filters, param[1]); if (param[2]) filters = Elements.prototype.filterById.call(filters, param[2]); } if (param[3]) filters = Elements.prototype.filterByClassName.call(filters, param[3]); if (param[4]) filters = Elements.prototype.filterByAttribute.call(filters, param[4], param[6], param[5]); }, this);
6991 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6991/b57774298a216831aaf9ee0a5b41fa9aa6fc447e/Dom.js/clean/Addons/Dom.js
this.drops = this.drops.reject(function(e) { return e==element });
this.drops = this.drops.reject(function(d) { return d.element==element });
this.drops = this.drops.reject(function(e) { return e==element });
1604 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1604/7d101d58400acaff232091485c8e140f0a37cbaf/dragdrop.js/buggy/actionpack/lib/action_view/helpers/javascripts/dragdrop.js
new Effect.Appear(update,{duration:0.15});
Effect.Appear(update,{duration:0.15});
function(element, update){ if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute'; Position.clone(element, update, {setHeight: false, offsetTop: element.offsetHeight}); } new Effect.Appear(update,{duration:0.15}); };
2338 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2338/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/buggy/railties/html/javascripts/controls.js
if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute';
if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute';
function(element, update){ if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute'; var offsets = Position.cumulativeOffset(element); update.style.left = offsets[0] + 'px'; update.style.top = (offsets[1] + element.offsetHeight) + 'px'; update.style.width = element.offsetWidth + 'px'; } new Effect.Appear(update,{duration:0.3}); };
949 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/949/16669774903dd7bfaaf1bf8f0c72e49ebaeffeeb/controls.js/buggy/actionpack/lib/action_view/helpers/javascripts/controls.js
} new Effect.Appear(update,{duration:0.3}); };
} new Effect.Appear(update,{duration:0.15}); };
function(element, update){ if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute'; var offsets = Position.cumulativeOffset(element); update.style.left = offsets[0] + 'px'; update.style.top = (offsets[1] + element.offsetHeight) + 'px'; update.style.width = element.offsetWidth + 'px'; } new Effect.Appear(update,{duration:0.3}); };
949 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/949/16669774903dd7bfaaf1bf8f0c72e49ebaeffeeb/controls.js/buggy/actionpack/lib/action_view/helpers/javascripts/controls.js
$('commentform').elements('comment[author]').value = getCookie('author'); $('commentform').elements('comment[url]').value = getCookie('url');
$('commentform').elements['comment[author]'].value = getCookie('author'); $('commentform').elements['comment[url]'].value = getCookie('url');
register_onload(function() { if ($('commentform')) { $('commentform').elements('comment[author]').value = getCookie('author'); $('commentform').elements('comment[url]').value = getCookie('url'); if ($('commentform').elements('comment[url]').value != '' || $('commentform').elements('comment[email]').value != '') { Element.show('guest_url'); Element.show('guest_email'); } }})
742 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/742/e54c6218a8882326c89f938db0302cdbace6d933/typo.js/clean/public/javascripts/typo.js
if ($('commentform').elements('comment[url]').value != '' || $('commentform').elements('comment[email]').value != '') {
if ($('commentform').elements['comment[url]'].value != '' || $('commentform').elements['comment[email]'].value != '') {
register_onload(function() { if ($('commentform')) { $('commentform').elements('comment[author]').value = getCookie('author'); $('commentform').elements('comment[url]').value = getCookie('url'); if ($('commentform').elements('comment[url]').value != '' || $('commentform').elements('comment[email]').value != '') { Element.show('guest_url'); Element.show('guest_email'); } }})
742 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/742/e54c6218a8882326c89f938db0302cdbace6d933/typo.js/clean/public/javascripts/typo.js
window.setTimeout(function() {self.pollForLoad(loadFunction, windowObject, originalDocument);}, 500);
window.setTimeout(function() {self.pollForLoad(loadFunction, windowObject, originalLocation, originalHref);}, 500);
window.setTimeout(function() {self.pollForLoad(loadFunction, windowObject, originalDocument);}, 500);
4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/5a068b4300c7479e884b8a0c259ed1a39ef6496a/selenium-browserbot.js/buggy/code/javascript/core/scripts/selenium-browserbot.js
if (element.document != undefined && element.document == null) {
if (!element.parentNode) {
window.setTimeout(function() { if (element.document != undefined && element.document == null) { return; } Element.setStyle(element, {"background-color" : element.originalColor}); }, 200);
4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/d2d9e51dc6d66a449cd040d6128a3a72712e239c/htmlutils.js/clean/code/javascript/core/scripts/htmlutils.js
cal.parseDate(dateEl.value || dateEl.innerHTML);
triggerEl["on" + params.eventName] = function() { var dateEl = params.inputField || params.displayArea; var dateFmt = params.inputField ? params.ifFormat : params.daFormat; var mustCreate = false; var cal = window.calendar; if (!(cal && params.cache)) { window.calendar = cal = new Calendar(params.firstDay, params.date, params.onSelect || onSelect, params.onClose || function(cal) { cal.hide(); }); cal.showsTime = params.showsTime; cal.time24 = (params.timeFormat == "24"); cal.weekNumbers = params.weekNumbers; mustCreate = true; } else { if (params.date) cal.setDate(params.date); cal.hide(); } cal.showsOtherMonths = params.showOthers; cal.yearStep = params.step; cal.setRange(params.range[0], params.range[1]); cal.params = params; cal.setDateStatusHandler(params.dateStatusFunc); cal.setDateFormat(dateFmt); if (mustCreate) cal.create(); cal.parseDate(dateEl.value || dateEl.innerHTML); cal.refresh(); if (!params.position) cal.showAtElement(params.button || params.displayArea || params.inputField, params.align); else cal.showAt(params.position[0], params.position[1]); return false; };
5527 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5527/8aafb027d457b746fd546c4a097b431e06b00849/calendar-setup.js/clean/trunk/cacti/include/js/jscalendar/calendar-setup.js
new Effect.Appear(update,{duration:0.15});
Effect.Appear(update,{duration:0.15});
function(element, update){ if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute'; Position.clone(element, update, {setHeight: false, offsetTop: element.offsetHeight}); } new Effect.Appear(update,{duration:0.15}); };
4687 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4687/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/railties/html/javascripts/controls.js
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('l(1Y 1O.6=="P"){1O.P=1O.P;6=q(a,c){l(a&&1Y a=="q"&&6.C.1T)v 6(15).1T(a);a=a||6.1k||15;l(a.2J)v 6(6.1X(a,[]));l(c&&c.2J)v 6(c).2j(a);l(1O==7)v 1f 6(a,c);u m=/^[^<]*(<.+>)[^>]*$/.36(a);l(m)a=6.31([m[1]]);7.1o(a.N==2y||a.D&&!a.1S&&a[0]!=P&&a[0].1S?6.1X(a,[]):6.2j(a,c));u C=1d[1d.D-1];l(C&&1Y C=="q")7.U(C)};l(1Y $!="P")6.3W$=$;u $=6;6.C=6.89={2J:"1.0.2",4u:q(){v 7.D},1o:q(26){l(26&&26.N==2y){7.D=0;[].1l.17(7,26);v 7}F v 26==P?6.1X(7,[]):7[26]},U:q(C,1h){v 6.U(7,C,1h)},8b:q(16){u 2c=-1;7.U(q(i){l(7==16)2c=i});v 2c},1r:q(1P,W,B){v 1P.N!=1N||W!=P?7.U(q(){l(W==P)H(u I 1q 1P)6.1r(B?7.1a:7,I,1P[I]);F 6.1r(B?7.1a:7,1P,W)}):6[B||"1r"](7[0],1P)},1g:q(1P,W){v 7.1r(1P,W,"20")},2V:q(e){e=e||7;u t="";H(u j=0;j<e.D;j++){u r=e[j].2e;H(u i=0;i<r.D;i++)l(r[i].1S!=8)t+=r[i].1S!=1?r[i].5a:6.C.2V([r[i]])}v t},8c:q(){u a=6.31(1d);v 7.U(q(){u b=a[0].3D(V);7.1n.2B(b,7);2d(b.1M)b=b.1M;b.44(7)})},5h:q(){v 7.2K(1d,V,1,q(a){7.44(a)})},5j:q(){v 7.2K(1d,V,-1,q(a){7.2B(a,7.1M)})},5k:q(){v 7.2K(1d,14,1,q(a){7.1n.2B(a,7)})},5l:q(){v 7.2K(1d,14,-1,q(a){7.1n.2B(a,7.8g)})},7x:q(){v 7.1o(7.3d.5X())},2j:q(t){v 7.28(6.2t(7,q(a){v 6.2j(t,a)}),1d)},3G:q(4g){v 7.28(6.2t(7,q(a){v a.3D(4g!=P?4g:V)}),1d)},19:q(t){v 7.28(t.N==2y&&6.2t(7,q(a){H(u i=0;i<t.D;i++)l(6.19(t[i],[a]).r.D)v a})||t.N==5Y&&(t?7.1o():[])||1Y t=="q"&&6.2E(7,t)||6.19(t,7).r,1d)},2s:q(t){v 7.28(t.N==1N?6.19(t,7,14).r:6.2E(7,q(a){v a!=t}),1d)},1Z:q(t){v 7.28(6.1X(7,t.N==1N?6.2j(t):t.N==2y?t:[t]),1d)},4o:q(2r){v 2r?6.19(2r,7).r.D>0:14},2K:q(1h,1p,2N,C){u 3G=7.4u()>1;u a=6.31(1h);v 7.U(q(){u 16=7;l(1p&&7.2x.2h()=="60"&&a[0].2x.2h()!="61"){u 25=7.4R("25");l(!25.D){16=15.4E("25");7.44(16)}F 16=25[0]}H(u i=(2N<0?a.D-1:0);i!=(2N<0?2N:a.D);i+=2N){C.17(16,[3G?a[i].3D(V):a[i]])}})},28:q(a,1h){u C=1h&&1h[1h.D-1];u 2i=1h&&1h[1h.D-2];l(C&&C.N!=1v)C=Q;l(2i&&2i.N!=1v)2i=Q;l(!C){l(!7.3d)7.3d=[];7.3d.1l(7.1o());7.1o(a)}F{u 1U=7.1o();7.1o(a);l(2i&&a.D||!2i)7.U(2i||C).1o(1U);F 7.1o(1U).U(C)}v 7}};6.1L=6.C.1L=q(16,I){l(!I){I=16;16=7}H(u i 1q I)16[i]=I[i];v 16};6.1L({5C:q(){6.63=V;6.U(6.2l.5u,q(i,n){6.C[i]=q(a){u K=6.2t(7,n);l(a&&a.N==1N)K=6.19(a,K).r;v 7.28(K,1d)}});6.U(6.2l.2q,q(i,n){6.C[i]=q(){u a=1d;v 7.U(q(){H(u j=0;j<a.D;j++)6(a[j])[n](7)})}});6.U(6.2l.U,q(i,n){6.C[i]=q(){v 7.U(n,1d)}});6.U(6.2l.19,q(i,n){6.C[n]=q(26,C){v 7.19(":"+n+"("+26+")",C)}});6.U(6.2l.1r,q(i,n){n=n||i;6.C[i]=q(h){v h==P?7.D?7[0][n]:Q:7.1r(n,h)}});6.U(6.2l.1g,q(i,n){6.C[n]=q(h){v h==P?(7.D?6.1g(7[0],n):Q):7.1g(n,h)}})},U:q(16,C,1h){l(16.D==P)H(u i 1q 16)C.17(16[i],1h||[i,16[i]]);F H(u i=0;i<16.D;i++)C.17(16[i],1h||[i,16[i]]);v 16},1e:{1Z:q(o,c){l(6.1e.3l(o,c))v;o.1e+=(o.1e?" ":"")+c},22:q(o,c){l(!c){o.1e=""}F{u 2H=o.1e.3y(" ");H(u i=0;i<2H.D;i++){l(2H[i]==c){2H.67(i,1);4Y}}o.1e=2H.5U(\' \')}},3l:q(e,a){l(e.1e!=P)e=e.1e;v 1f 3T("(^|\\\\s)"+a+"(\\\\s|$)").23(e)}},3L:q(e,o,f){H(u i 1q o){e.1a["1U"+i]=e.1a[i];e.1a[i]=o[i]}f.17(e,[]);H(u i 1q o)e.1a[i]=e.1a["1U"+i]},1g:q(e,p){l(p=="1z"||p=="27"){u 1U={},3E,3z,d=["6o","6p","69","6a"];H(u i 1q d){1U["66"+d[i]]=0;1U["6c"+d[i]+"6d"]=0}6.3L(e,1U,q(){l(6.1g(e,"1t")!="21"){3E=e.6e;3z=e.6f}F{e=6(e.3D(V)).1g({4e:"1V",2S:"8h",1t:"2Q",6g:"0",5m:"0"}).4w(e.1n)[0];u 2X=6.1g(e.1n,"2S");l(2X==""||2X=="3K")e.1n.1a.2S="8f";3E=e.8e;3z=e.8d;l(2X==""||2X=="3K")e.1n.1a.2S="3K";e.1n.3g(e)}});v p=="1z"?3E:3z}v 6.20(e,p)},20:q(E,I,4A){u K;l(I==\'1j\'&&6.18.1y)v 6.1r(E.1a,\'1j\');l(!4A&&E.1a[I]){K=E.1a[I]}F l(E.3t){u 4C=I.1A(/\\-(\\w)/g,q(m,c){v c.2h()});K=E.3t[I]||E.3t[4C]}F l(15.3A&&15.3A.4s){I=I.1A(/([A-Z])/g,"-$1").41();u 1m=15.3A.4s(E,Q);l(1m)K=1m.5Q(I);F l(I==\'1t\')K=\'21\';F 6.3L(E,{1t:\'2Q\'},q(){K=15.3A.4s(7,Q).5Q(I)})}v K},31:q(a){u r=[];H(u i=0;i<a.D;i++){l(a[i].N==1N){a[i]=6.2I(a[i]);u 1p="";l(!a[i].1c("<4j")||!a[i].1c("<25")){1p="4j";a[i]="<1p>"+a[i]+"</1p>"}F l(!a[i].1c("<3v")){1p="3v";a[i]="<1p>"+a[i]+"</1p>"}F l(!a[i].1c("<3M")||!a[i].1c("<6r")){1p="3M";a[i]="<1p><25><3v>"+a[i]+"</3v></25></1p>"}u 1F=15.4E("1F");1F.2u=a[i];l(1p){1F=1F.1M;l(1p!="4j")1F=1F.1M;l(1p=="3M")1F=1F.1M}H(u j=0;j<1F.2e.D;j++)r.1l(1F.2e[j])}F l(a[i].2J||a[i].D&&!a[i].1S)H(u k=0;k<a[i].D;k++)r.1l(a[i][k]);F l(a[i]!==Q)r.1l(a[i].1S?a[i]:15.6t(a[i].6u()))}v r},2r:{"":"m[2]== \'*\'||a.2x.2h()==m[2].2h()","#":"a.3a(\'3w\')&&a.3a(\'3w\')==m[2]",":":{5p:"i<m[3]-0",5q:"i>m[3]-0",4J:"m[3]-0==i",5o:"m[3]-0==i",2f:"i==0",1R:"i==r.D-1",52:"i%2==0",53:"i%2","4J-32":"6.1x(a,m[3]).1m","2f-32":"6.1x(a,0).1m","1R-32":"6.1x(a,0).1R","6v-32":"6.1x(a).D==1",5v:"a.2e.D",5A:"!a.2e.D",5r:"(a.7L||a.2u).1c(m[3])>=0",6w:"a.B!=\'1V\'&&6.1g(a,\'1t\')!=\'21\'&&6.1g(a,\'4e\')!=\'1V\'",1V:"a.B==\'1V\'||6.1g(a,\'1t\')==\'21\'||6.1g(a,\'4e\')==\'1V\'",7I:"!a.2R",2R:"a.2R",34:"a.34",4f:"a.4f || 6.1r(a, \'4f\')",2V:"a.B==\'2V\'",5G:"a.B==\'5G\'",5H:"a.B==\'5H\'",4l:"a.B==\'4l\'",4L:"a.B==\'4L\'",4n:"a.B==\'4n\'",5I:"a.B==\'5I\'",4m:"a.B==\'4m\'",48:"a.B==\'48\'",5B:"a.2x.41().4U(/5B|5O|6C|48/)"},".":"6.1e.3l(a,m[2])","@":{"=":"z==m[4]","!=":"z!=m[4]","^=":"z && !z.1c(m[4])","$=":"z && z.2U(z.D - m[4].D,m[4].D)==m[4]","*=":"z && z.1c(m[4])>=0","":"z"},"[":"6.2j(m[2],a).D"},3j:["\\\\.\\\\.|/\\\\.\\\\.","a.1n",">|/","6.1x(a.1M)","\\\\+","6.1x(a).3p","~",q(a){u r=[];u s=6.1x(a);l(s.n>0)H(u i=s.n;i<s.D;i++)r.1l(s[i]);v r}],2j:q(t,1k){l(1k&&1k.1S==P)1k=Q;1k=1k||6.1k||15;l(t.N!=1N)v[t];l(!t.1c("
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('l(1X 1P.6=="Q"){1P.Q=1P.Q;u 6=q(a,c){l(a&&1X a=="q"&&6.C.1V)v 6(17).1V(a);a=a||6.1l||17;l(a.3C)v 6(6.1T(a,[]));l(c&&c.3C)v 6(c).1U(a);l(1P==7)v 1h 6(a,c);l(a.N==1y){u m=/^[^<]*(<.+>)[^>]*$/.3b(a);l(m)a=6.3q([m[1]])}7.1m(a.N==2B||a.D&&!a.1Y&&a[0]!=Q&&a[0].1Y?6.1T(a,[]):6.1U(a,c));u C=1a[1a.D-1];l(C&&1X C=="q")7.T(C);v 7};l(1X $!="Q")6.44$=$;u $=6;6.C=6.8c={3C:"1.0.2",5I:q(){v 7.D},1m:q(29){l(29&&29.N==2B){7.D=0;[].1o.15(7,29);v 7}H v 29==Q?6.1T(7,[]):7[29]},T:q(C,1g){v 6.T(7,C,1g)},8h:q(12){u 2f=-1;7.T(q(i){l(7==12)2f=i});v 2f},1r:q(1N,Y,B){v 1N.N!=1y||Y!=Q?7.T(q(){l(Y==Q)I(u E 1s 1N)6.1r(B?7.1b:7,E,1N[E]);H 6.1r(B?7.1b:7,1N,Y)}):6[B||"1r"](7[0],1N)},1f:q(1N,Y){v 7.1r(1N,Y,"28")},2z:q(e){e=e||7;u t="";I(u j=0;j<e.D;j++){u r=e[j].2r;I(u i=0;i<r.D;i++)l(r[i].1Y!=8)t+=r[i].1Y!=1?r[i].4X:6.C.2z([r[i]])}v t},1Q:q(){u a=6.3q(1a);v 7.T(q(){u b=a[0].3c(R);7.1n.2O(b,7);20(b.23)b=b.23;b.3L(7)})},5g:q(){v 7.2R(1a,R,1,q(a){7.3L(a)})},5h:q(){v 7.2R(1a,R,-1,q(a){7.2O(a,7.23)})},5i:q(){v 7.2R(1a,U,1,q(a){7.1n.2O(a,7)})},4F:q(){v 7.2R(1a,U,-1,q(a){7.1n.2O(a,7.8k)})},4r:q(){v 7.1m(7.30.8l())},1U:q(t){v 7.2h(6.2w(7,q(a){v 6.1U(t,a)}),1a)},4g:q(4C){v 7.2h(6.2w(7,q(a){v a.3c(4C!=Q?4C:R)}),1a)},19:q(t){v 7.2h(t.N==2B&&6.2w(7,q(a){I(u i=0;i<t.D;i++)l(6.19(t[i],[a]).r.D)v a;v U})||t.N==8m&&(t?7.1m():[])||1X t=="q"&&6.2G(7,t)||6.19(t,7).r,1a)},2q:q(t){v 7.2h(t.N==1y?6.19(t,7,U).r:6.2G(7,q(a){v a!=t}),1a)},21:q(t){v 7.2h(6.1T(7,t.N==1y?6.1U(t):t.N==2B?t:[t]),1a)},4B:q(2t){v 2t?6.19(2t,7).r.D>0:U},2R:q(1g,2a,2Y,C){u 4g=7.5I()>1;u a=6.3q(1g);v 7.T(q(){u 12=7;l(2a&&7.2D.2b()=="8n"&&a[0].2D.2b()!="62"){u 25=7.4Q("25");l(!25.D){12=17.5O("25");7.3L(12)}H 12=25[0]}I(u i=(2Y<0?a.D-1:0);i!=(2Y<0?2Y:a.D);i+=2Y){C.15(12,[4g?a[i].3c(R):a[i]])}})},2h:q(a,1g){u C=1g&&1g[1g.D-1];u 2g=1g&&1g[1g.D-2];l(C&&C.N!=1w)C=O;l(2g&&2g.N!=1w)2g=O;l(!C){l(!7.30)7.30=[];7.30.1o(7.1m());7.1m(a)}H{u 1W=7.1m();7.1m(a);l(2g&&a.D||!2g)7.T(2g||C).1m(1W);H 7.1m(1W).T(C)}v 7}};6.1I=6.C.1I=q(12,E){l(1a.D>1&&(E===O||E==Q))v 12;l(!E){E=12;12=7}I(u i 1s E)12[i]=E[i];v 12};6.1I({5A:q(){6.65=R;6.T(6.2c.5q,q(i,n){6.C[i]=q(a){u K=6.2w(7,n);l(a&&a.N==1y)K=6.19(a,K).r;v 7.2h(K,1a)}});6.T(6.2c.2o,q(i,n){6.C[i]=q(){u a=1a;v 7.T(q(){I(u j=0;j<a.D;j++)6(a[j])[n](7)})}});6.T(6.2c.T,q(i,n){6.C[i]=q(){v 7.T(n,1a)}});6.T(6.2c.19,q(i,n){6.C[n]=q(29,C){v 7.19(":"+n+"("+29+")",C)}});6.T(6.2c.1r,q(i,n){n=n||i;6.C[i]=q(h){v h==Q?7.D?7[0][n]:O:7.1r(n,h)}});6.T(6.2c.1f,q(i,n){6.C[n]=q(h){v h==Q?(7.D?6.1f(7[0],n):O):7.1f(n,h)}})},T:q(12,C,1g){l(12.D==Q)I(u i 1s 12)C.15(12[i],1g||[i,12[i]]);H I(u i=0;i<12.D;i++)l(C.15(12[i],1g||[i,12[i]])===U)45;v 12},1i:{21:q(o,c){l(6.1i.3t(o,c))v;o.1i+=(o.1i?" ":"")+c},24:q(o,c){l(!c){o.1i=""}H{u 2J=o.1i.3d(" ");I(u i=0;i<2J.D;i++){l(2J[i]==c){2J.67(i,1);45}}o.1i=2J.60(\' \')}},3t:q(e,a){l(e.1i!=Q)e=e.1i;v 1h 43("(^|\\\\s)"+a+"(\\\\s|$)").26(e)}},4x:q(e,o,f){I(u i 1s o){e.1b["1W"+i]=e.1b[i];e.1b[i]=o[i]}f.15(e,[]);I(u i 1s o)e.1b[i]=e.1b["1W"+i]},1f:q(e,p){l(p=="1D"||p=="2k"){u 1W={},3E,3D,d=["68","6O","69","7d"];I(u i 1s d){1W["6b"+d[i]]=0;1W["6c"+d[i]+"6e"]=0}6.4x(e,1W,q(){l(6.1f(e,"1u")!="22"){3E=e.6f;3D=e.6g}H{e=6(e.3c(R)).1U(":3W").5t("2I").4r().1f({3U:"1R",2Q:"6i",1u:"2U",6j:"0",5k:"0"}).5f(e.1n)[0];u 2F=6.1f(e.1n,"2Q");l(2F==""||2F=="3R")e.1n.1b.2Q="6k";3E=e.6l;3D=e.6m;l(2F==""||2F=="3R")e.1n.1b.2Q="3R";e.1n.3r(e)}});v p=="1D"?3E:3D}v 6.28(e,p)},28:q(F,E,4G){u K;l(E==\'1j\'&&6.18.1t)v 6.1r(F.1b,\'1j\');l(E=="3I"||E=="2n")E=6.18.1t?"35":"2n";l(!4G&&F.1b[E]){K=F.1b[E]}H l(F.31){u 61=E.1A(/\\-(\\w)/g,q(m,c){v c.2b()});K=F.31[E]||F.31[61]}H l(17.3e&&17.3e.4u){l(E=="2n"||E=="35")E="3I";E=E.1A(/([A-Z])/g,"-$1").3P();u 1k=17.3e.4u(F,O);l(1k)K=1k.5N(E);H l(E==\'1u\')K=\'22\';H 6.4x(F,{1u:\'2U\'},q(){K=17.3e.4u(7,O).5N(E)})}v K},3q:q(a){u r=[];I(u i=0;i<a.D;i++){u 1E=a[i];l(1E.N==1y){u s=6.2K(1E),2d=17.5O("2d"),1Q=[0,"",""];l(!s.1c("<6v"))1Q=[1,"<3B>","</3B>"];H l(!s.1c("<6w")||!s.1c("<25"))1Q=[1,"<2a>","</2a>"];H l(!s.1c("<4t"))1Q=[2,"<2a>","</2a>"];H l(!s.1c("<6x")||!s.1c("<6z"))1Q=[3,"<2a><25><4t>","</4t></25></2a>"];2d.2V=1Q[1]+s+1Q[2];20(1Q[0]--)2d=2d.23;1E=2d.2r}l(1E.D!=Q&&!1E.1Y)I(u n=0;n<1E.D;n++)r.1o(1E[n]);H r.1o(1E.1Y?1E:17.6A(1E.6C()))}v r},2t:{"":"m[2]== \'*\'||a.2D.2b()==m[2].2b()","#":"a.3a(\'3G\')&&a.3a(\'3G\')==m[2]",":":{5X:"i<m[3]-0",5n:"i>m[3]-0",5J:"m[3]-0==i",5l:"m[3]-0==i",2m:"i==0",1O:"i==r.D-1",51:"i%2==0",52:"i%2","5J-3w":"6.1x(a,m[3]).1k","2m-3w":"6.1x(a,0).1k","1O-3w":"6.1x(a,0).1O","6D-3w":"6.1x(a).D==1",5r:"a.2r.D",5z:"!a.2r.D",5p:"6.C.2z.15([a]).1c(m[3])>=0",6E:"a.B!=\'1R\'&&6.1f(a,\'1u\')!=\'22\'&&6.1f(a,\'3U\')!=\'1R\'",1R:"a.B==\'1R\'||6.1f(a,\'1u\')==\'22\'||6.1f(a,\'3U\')==\'1R\'",6F:"!a.2E",2E:"a.2E",2I:"a.2I",3V:"a.3V || 6.1r(a, \'3V\')",2z:"a.B==\'2z\'",3W:"a.B==\'3W\'",5w:"a.B==\'5w\'",3Q:"a.B==\'3Q\'",5u:"a.B==\'5u\'",4z:"a.B==\'4z\'",5x:"a.B==\'5x\'",4y:"a.B==\'4y\'",4D:"a.B==\'4D\'",5B:"a.2D.3P().4R(/5B|3B|6L|4D/)"},".":"6.1i.3t(a,m[2])","@":{"=":"z==m[4]","!=":"z!=m[4]","^=":"z && !z.1c(m[4])","$=":"z && z.2W(z.D - m[4].D,m[4].D)==m[4]","*=":"z && z.1c(m[4])>=0","":"z"},"[":"6.1U(m[2],a).D"},3z:["\\\\.\\\\.|/\\\\.\\\\.","a.1n",">|/","6.1x(a.23)","\\\\+","6.1x(a).3y","~",q(a){u r=[];u s=6.1x(a);l(s.n>0)I(u i=s.n;i<s.D;i++)r.1o(s[i]);v r}],1U:q(t,1l){l(1l&&1l.1Y==Q)1l=O;1l=1l||6.1l||17;l(t.N!=1y)v[t];l(!t.1c("
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('l(1Y 1O.6=="P"){1O.P=1O.P;6=q(a,c){l(a&&1Y a=="q"&&6.C.1T)v 6(15).1T(a);a=a||6.1k||15;l(a.2J)v 6(6.1X(a,[]));l(c&&c.2J)v 6(c).2j(a);l(1O==7)v 1f 6(a,c);u m=/^[^<]*(<.+>)[^>]*$/.36(a);l(m)a=6.31([m[1]]);7.1o(a.N==2y||a.D&&!a.1S&&a[0]!=P&&a[0].1S?6.1X(a,[]):6.2j(a,c));u C=1d[1d.D-1];l(C&&1Y C=="q")7.U(C)};l(1Y $!="P")6.3W$=$;u $=6;6.C=6.89={2J:"1.0.2",4u:q(){v 7.D},1o:q(26){l(26&&26.N==2y){7.D=0;[].1l.17(7,26);v 7}F v 26==P?6.1X(7,[]):7[26]},U:q(C,1h){v 6.U(7,C,1h)},8b:q(16){u 2c=-1;7.U(q(i){l(7==16)2c=i});v 2c},1r:q(1P,W,B){v 1P.N!=1N||W!=P?7.U(q(){l(W==P)H(u I 1q 1P)6.1r(B?7.1a:7,I,1P[I]);F 6.1r(B?7.1a:7,1P,W)}):6[B||"1r"](7[0],1P)},1g:q(1P,W){v 7.1r(1P,W,"20")},2V:q(e){e=e||7;u t="";H(u j=0;j<e.D;j++){u r=e[j].2e;H(u i=0;i<r.D;i++)l(r[i].1S!=8)t+=r[i].1S!=1?r[i].5a:6.C.2V([r[i]])}v t},8c:q(){u a=6.31(1d);v 7.U(q(){u b=a[0].3D(V);7.1n.2B(b,7);2d(b.1M)b=b.1M;b.44(7)})},5h:q(){v 7.2K(1d,V,1,q(a){7.44(a)})},5j:q(){v 7.2K(1d,V,-1,q(a){7.2B(a,7.1M)})},5k:q(){v 7.2K(1d,14,1,q(a){7.1n.2B(a,7)})},5l:q(){v 7.2K(1d,14,-1,q(a){7.1n.2B(a,7.8g)})},7x:q(){v 7.1o(7.3d.5X())},2j:q(t){v 7.28(6.2t(7,q(a){v 6.2j(t,a)}),1d)},3G:q(4g){v 7.28(6.2t(7,q(a){v a.3D(4g!=P?4g:V)}),1d)},19:q(t){v 7.28(t.N==2y&&6.2t(7,q(a){H(u i=0;i<t.D;i++)l(6.19(t[i],[a]).r.D)v a})||t.N==5Y&&(t?7.1o():[])||1Y t=="q"&&6.2E(7,t)||6.19(t,7).r,1d)},2s:q(t){v 7.28(t.N==1N?6.19(t,7,14).r:6.2E(7,q(a){v a!=t}),1d)},1Z:q(t){v 7.28(6.1X(7,t.N==1N?6.2j(t):t.N==2y?t:[t]),1d)},4o:q(2r){v 2r?6.19(2r,7).r.D>0:14},2K:q(1h,1p,2N,C){u 3G=7.4u()>1;u a=6.31(1h);v 7.U(q(){u 16=7;l(1p&&7.2x.2h()=="60"&&a[0].2x.2h()!="61"){u 25=7.4R("25");l(!25.D){16=15.4E("25");7.44(16)}F 16=25[0]}H(u i=(2N<0?a.D-1:0);i!=(2N<0?2N:a.D);i+=2N){C.17(16,[3G?a[i].3D(V):a[i]])}})},28:q(a,1h){u C=1h&&1h[1h.D-1];u 2i=1h&&1h[1h.D-2];l(C&&C.N!=1v)C=Q;l(2i&&2i.N!=1v)2i=Q;l(!C){l(!7.3d)7.3d=[];7.3d.1l(7.1o());7.1o(a)}F{u 1U=7.1o();7.1o(a);l(2i&&a.D||!2i)7.U(2i||C).1o(1U);F 7.1o(1U).U(C)}v 7}};6.1L=6.C.1L=q(16,I){l(!I){I=16;16=7}H(u i 1q I)16[i]=I[i];v 16};6.1L({5C:q(){6.63=V;6.U(6.2l.5u,q(i,n){6.C[i]=q(a){u K=6.2t(7,n);l(a&&a.N==1N)K=6.19(a,K).r;v 7.28(K,1d)}});6.U(6.2l.2q,q(i,n){6.C[i]=q(){u a=1d;v 7.U(q(){H(u j=0;j<a.D;j++)6(a[j])[n](7)})}});6.U(6.2l.U,q(i,n){6.C[i]=q(){v 7.U(n,1d)}});6.U(6.2l.19,q(i,n){6.C[n]=q(26,C){v 7.19(":"+n+"("+26+")",C)}});6.U(6.2l.1r,q(i,n){n=n||i;6.C[i]=q(h){v h==P?7.D?7[0][n]:Q:7.1r(n,h)}});6.U(6.2l.1g,q(i,n){6.C[n]=q(h){v h==P?(7.D?6.1g(7[0],n):Q):7.1g(n,h)}})},U:q(16,C,1h){l(16.D==P)H(u i 1q 16)C.17(16[i],1h||[i,16[i]]);F H(u i=0;i<16.D;i++)C.17(16[i],1h||[i,16[i]]);v 16},1e:{1Z:q(o,c){l(6.1e.3l(o,c))v;o.1e+=(o.1e?" ":"")+c},22:q(o,c){l(!c){o.1e=""}F{u 2H=o.1e.3y(" ");H(u i=0;i<2H.D;i++){l(2H[i]==c){2H.67(i,1);4Y}}o.1e=2H.5U(\' \')}},3l:q(e,a){l(e.1e!=P)e=e.1e;v 1f 3T("(^|\\\\s)"+a+"(\\\\s|$)").23(e)}},3L:q(e,o,f){H(u i 1q o){e.1a["1U"+i]=e.1a[i];e.1a[i]=o[i]}f.17(e,[]);H(u i 1q o)e.1a[i]=e.1a["1U"+i]},1g:q(e,p){l(p=="1z"||p=="27"){u 1U={},3E,3z,d=["6o","6p","69","6a"];H(u i 1q d){1U["66"+d[i]]=0;1U["6c"+d[i]+"6d"]=0}6.3L(e,1U,q(){l(6.1g(e,"1t")!="21"){3E=e.6e;3z=e.6f}F{e=6(e.3D(V)).1g({4e:"1V",2S:"8h",1t:"2Q",6g:"0",5m:"0"}).4w(e.1n)[0];u 2X=6.1g(e.1n,"2S");l(2X==""||2X=="3K")e.1n.1a.2S="8f";3E=e.8e;3z=e.8d;l(2X==""||2X=="3K")e.1n.1a.2S="3K";e.1n.3g(e)}});v p=="1z"?3E:3z}v 6.20(e,p)},20:q(E,I,4A){u K;l(I==\'1j\'&&6.18.1y)v 6.1r(E.1a,\'1j\');l(!4A&&E.1a[I]){K=E.1a[I]}F l(E.3t){u 4C=I.1A(/\\-(\\w)/g,q(m,c){v c.2h()});K=E.3t[I]||E.3t[4C]}F l(15.3A&&15.3A.4s){I=I.1A(/([A-Z])/g,"-$1").41();u 1m=15.3A.4s(E,Q);l(1m)K=1m.5Q(I);F l(I==\'1t\')K=\'21\';F 6.3L(E,{1t:\'2Q\'},q(){K=15.3A.4s(7,Q).5Q(I)})}v K},31:q(a){u r=[];H(u i=0;i<a.D;i++){l(a[i].N==1N){a[i]=6.2I(a[i]);u 1p="";l(!a[i].1c("<4j")||!a[i].1c("<25")){1p="4j";a[i]="<1p>"+a[i]+"</1p>"}F l(!a[i].1c("<3v")){1p="3v";a[i]="<1p>"+a[i]+"</1p>"}F l(!a[i].1c("<3M")||!a[i].1c("<6r")){1p="3M";a[i]="<1p><25><3v>"+a[i]+"</3v></25></1p>"}u 1F=15.4E("1F");1F.2u=a[i];l(1p){1F=1F.1M;l(1p!="4j")1F=1F.1M;l(1p=="3M")1F=1F.1M}H(u j=0;j<1F.2e.D;j++)r.1l(1F.2e[j])}F l(a[i].2J||a[i].D&&!a[i].1S)H(u k=0;k<a[i].D;k++)r.1l(a[i][k]);F l(a[i]!==Q)r.1l(a[i].1S?a[i]:15.6t(a[i].6u()))}v r},2r:{"":"m[2]== \'*\'||a.2x.2h()==m[2].2h()","#":"a.3a(\'3w\')&&a.3a(\'3w\')==m[2]",":":{5p:"i<m[3]-0",5q:"i>m[3]-0",4J:"m[3]-0==i",5o:"m[3]-0==i",2f:"i==0",1R:"i==r.D-1",52:"i%2==0",53:"i%2","4J-32":"6.1x(a,m[3]).1m","2f-32":"6.1x(a,0).1m","1R-32":"6.1x(a,0).1R","6v-32":"6.1x(a).D==1",5v:"a.2e.D",5A:"!a.2e.D",5r:"(a.7L||a.2u).1c(m[3])>=0",6w:"a.B!=\'1V\'&&6.1g(a,\'1t\')!=\'21\'&&6.1g(a,\'4e\')!=\'1V\'",1V:"a.B==\'1V\'||6.1g(a,\'1t\')==\'21\'||6.1g(a,\'4e\')==\'1V\'",7I:"!a.2R",2R:"a.2R",34:"a.34",4f:"a.4f || 6.1r(a, \'4f\')",2V:"a.B==\'2V\'",5G:"a.B==\'5G\'",5H:"a.B==\'5H\'",4l:"a.B==\'4l\'",4L:"a.B==\'4L\'",4n:"a.B==\'4n\'",5I:"a.B==\'5I\'",4m:"a.B==\'4m\'",48:"a.B==\'48\'",5B:"a.2x.41().4U(/5B|5O|6C|48/)"},".":"6.1e.3l(a,m[2])","@":{"=":"z==m[4]","!=":"z!=m[4]","^=":"z && !z.1c(m[4])","$=":"z && z.2U(z.D - m[4].D,m[4].D)==m[4]","*=":"z && z.1c(m[4])>=0","":"z"},"[":"6.2j(m[2],a).D"},3j:["\\\\.\\\\.|/\\\\.\\\\.","a.1n",">|/","6.1x(a.1M)","\\\\+","6.1x(a).3p","~",q(a){u r=[];u s=6.1x(a);l(s.n>0)H(u i=s.n;i<s.D;i++)r.1l(s[i]);v r}],2j:q(t,1k){l(1k&&1k.1S==P)1k=Q;1k=1k||6.1k||15;l(t.N!=1N)v[t];l(!t.1c("//")){1k=1k.4O;t=t.2U(2,t.D)}F l(!t.1c("/")){1k=1k.4O;t=t.2U(1,t.D);l(t.1c("/")>=1)t=t.2U(t.1c("/"),t.D)}u K=[1k];u 1J=[];u 1R=Q;2d(t.D>0&&1R!=t){u r=[];1R=t;t=6.2I(t).1A(/^\\/\\//i,"");u 3k=14;H(u i=0;i<6.3j.D;i+=2){l(3k)51;u 2o=1f 3T("^("+6.3j[i]+")");u m=2o.36(t);l(m){r=K=6.2t(K,6.3j[i+1]);t=6.2I(t.1A(2o,""));3k=V}}l(!3k){l(!t.1c(",")||!t.1c("|")){l(K[0]==1k)K.3O();1J=6.1X(1J,K);r=K=[1k];t=" "+t.2U(1,t.D)}F{u 3P=/^([#.]?)([a-4X-9\\\\*3W-]*)/i;u m=3P.36(t);l(m[1]=="#"){u 4q=15.5z(m[2]);r=K=4q?[4q]:[];t=t.1A(3P,"")}F{l(!m[2]||m[1]==".")m[2]="*";H(u i=0;i<K.D;i++)r=6.1X(r,m[2]=="*"?6.3Q(K[i]):K[i].4R(m[2]))}}}l(t){u 1B=6.19(t,r);K=r=1B.r;t=6.2I(1B.t)}}l(K&&K[0]==1k)K.3O();1J=6.1X(1J,K);v 1J},3Q:q(o,r){r=r||[];u s=o.2e;H(u i=0;i<s.D;i++)l(s[i].1S==1){r.1l(s[i]);6.3Q(s[i],r)}v r},1r:q(E,1b,W){u 29={"H":"6G","6H":"1e","5n":"6I",2u:"2u",1e:"1e",W:"W",2R:"2R",34:"34"};l(1b=="1j"&&6.18.1y&&W!=P){E[\'6K\']=1;l(W==1)v E["19"]=E["19"].1A(/35\\([^\\)]*\\)/5g,"");F v E["19"]=E["19"].1A(/35\\([^\\)]*\\)/5g,"")+"35(1j="+W*5w+")"}F l(1b=="1j"&&6.18.1y){v E["19"]?3Z(E["19"].4U(/35\\(1j=(.*)\\)/)[1])/5w:1}l(1b=="1j"&&6.18.2W&&W==1)W=0.6M;l(29[1b]){l(W!=P)E[29[1b]]=W;v E[29[1b]]}F l(W==P&&6.18.1y&&E.2x&&E.2x.2h()==\'6N\'&&(1b==\'7b\'||1b==\'6P\')){v E.6Q(1b).5a}F l(E.3a!=P){l(W!=P)E.6T(1b,W);v E.3a(1b,2)}F{1b=1b.1A(/-([a-z])/6U,q(z,b){v b.2h()});l(W!=P)E[1b]=W;v E[1b]}},4V:["\\\\[ *(@)S *([!*$^=]*) *(\'?\\"?)(.*?)\\\\4 *\\\\]","(\\\\[)\\s*(.*?)\\s*\\\\]","(:)S\\\\(\\"?\'?([^\\\\)]*?)\\"?\'?\\\\)","([:.#]*)S"],19:q(t,r,2s){u g=2s!==14?6.2E:q(a,f){v 6.2E(a,f,V)};2d(t&&/^[a-z[({<*:.#]/i.23(t)){u p=6.4V;H(u i=0;i<p.D;i++){u 2o=1f 3T("^"+p[i].1A("S","([a-z*3W-][a-4X-6X-]*)"),"i");u m=2o.36(t);l(m){l(!i)m=["",m[1],m[3],m[2],m[5]];t=t.1A(2o,"");4Y}}l(m[1]==":"&&m[2]=="2s")r=6.19(m[3],r,14).r;F{u f=6.2r[m[1]];l(f.N!=1N)f=6.2r[m[1]][m[2]];37("f = q(a,i){"+(m[1]=="@"?"z=6.1r(a,m[3]);":"")+"v "+f+"}");r=g(r,f)}}v{r:r,t:t}},2I:q(t){v t.1A(/^\\s+|\\s+$/g,"")},3i:q(E){u 3U=[];u 1m=E.1n;2d(1m&&1m!=15){3U.1l(1m);1m=1m.1n}v 3U},1x:q(E,2c,2s){u Y=[];l(E){u 2g=E.1n.2e;H(u i=0;i<2g.D;i++){l(2s===V&&2g[i]==E)51;l(2g[i].1S==1)Y.1l(2g[i]);l(2g[i]==E)Y.n=Y.D-1}}v 6.1L(Y,{1R:Y.n==Y.D-1,1m:2c=="52"&&Y.n%2==0||2c=="53"&&Y.n%2||Y[2c]==E,45:Y[Y.n-1],3p:Y[Y.n+1]})},1X:q(2f,33){u 1D=[];H(u k=0;k<2f.D;k++)1D[k]=2f[k];H(u i=0;i<33.D;i++){u 3N=V;H(u j=0;j<2f.D;j++)l(33[i]==2f[j])3N=14;l(3N)1D.1l(33[i])}v 1D},2E:q(Y,C,3X){l(C.N==1N)C=1f 1v("a","i","v "+C);u 1D=[];H(u i=0;i<Y.D;i++)l(!3X&&C(Y[i],i)||3X&&!C(Y[i],i))1D.1l(Y[i]);v 1D},2t:q(Y,C){l(C.N==1N)C=1f 1v("a","v "+C);u 1D=[];H(u i=0;i<Y.D;i++){u 1B=C(Y[i],i);l(1B!==Q&&1B!=P){l(1B.N!=2y)1B=[1B];1D=6.1X(1D,1B)}}v 1D},L:{1Z:q(T,B,24){l(6.18.1y&&T.3R!=P)T=1O;l(!24.2n)24.2n=7.2n++;l(!T.1H)T.1H={};u 2L=T.1H[B];l(!2L){2L=T.1H[B]={};l(T["2D"+B])2L[0]=T["2D"+B]}2L[24.2n]=24;T["2D"+B]=7.5b;l(!7.1i[B])7.1i[B]=[];7.1i[B].1l(T)},2n:1,1i:{},22:q(T,B,24){l(T.1H)l(B&&T.1H[B])l(24)58 T.1H[B][24.2n];F H(u i 1q T.1H[B])58 T.1H[B][i];F H(u j 1q T.1H)7.22(T,j)},1Q:q(B,J,T){J=J||[];l(!T){u g=7.1i[B];l(g)H(u i=0;i<g.D;i++)7.1Q(B,J,g[i])}F l(T["2D"+B]){J.5c(7.29({B:B,76:T}));T["2D"+B].17(T,J)}},5b:q(L){l(1Y 6=="P")v;L=L||6.L.29(1O.L);l(!L)v;u 3c=V;u c=7.1H[L.B];u 1h=[].77.4i(1d,1);1h.5c(L);H(u j 1q c){l(c[j].17(7,1h)===14){L.4c();L.5d();3c=14}}v 3c},29:q(L){l(L){L.4c=q(){7.3c=14};L.5d=q(){7.79=V}}v L}}});1f q(){u b=5J.5K.41();6.18={3e:/5e/.23(b),2G:/2G/.23(b),1y:/1y/.23(b)&&!/2G/.23(b),2W:/2W/.23(b)&&!/(7a|5e)/.23(b)};6.7d=!6.18.1y||15.7e=="7f"};6.2l={2q:{4w:"5h",7h:"5j",2B:"5k",7i:"5l"},1g:"27,1z,7j,5m,2S,5n,39,7k,7l".3y(","),19:["5o","5p","5q","5r"],1r:{1B:"W",5y:"2u",3w:Q,7n:Q,1b:Q,7o:Q,3m:Q,7p:Q},5u:{5v:"a.1n",7r:6.3i,3i:6.3i,3p:"6.1x(a).3p",45:"6.1x(a).45",2g:"6.1x(a, Q, V)",7s:"6.1x(a.1M)"},U:{7t:q(1P){7.7u(1P)},1C:q(){7.1a.1t=7.2v?7.2v:"";l(6.1g(7,"1t")=="21")7.1a.1t="2Q"},1s:q(){7.2v=7.2v||6.1g(7,"1t");l(7.2v=="21")7.2v="2Q";7.1a.1t="21"},4a:q(){6(7)[6(7).4o(":1V")?"1C":"1s"].17(6(7),1d)},7w:q(c){6.1e.1Z(7,c)},7y:q(c){6.1e.22(7,c)},7z:q(c){6.1e[6.1e.3l(7,c)?"22":"1Z"](7,c)},22:q(a){l(!a||6.19(a,[7]).r)7.1n.3g(7)},5A:q(){2d(7.1M)7.3g(7.1M)},3B:q(B,C){l(C.N==1N)C=1f 1v("e",(!C.1c(".")?"6(7)":"v ")+C);6.L.1Z(7,B,C)},5R:q(B,C){6.L.22(7,B,C)},1Q:q(B,J){6.L.1Q(B,J,7)}}};6.5C();6.C.1L({5E:6.C.4a,4a:q(a,b){v a&&b&&a.N==1v&&b.N==1v?7.5L(q(e){7.1R=7.1R==a?b:a;e.4c();v 7.1R.17(7,[e])||14}):7.5E.17(7,1d)},7B:q(f,g){q 4h(e){u p=(e.B=="3u"?e.7C:e.7D)||e.7E;2d(p&&p!=7)3x{p=p.1n}3h(e){p=7};l(p==7)v 14;v(e.B=="3u"?f:g).17(7,[e])}v 7.3u(4h).5N(4h)},1T:q(f){l(6.3s)f.17(15);F{6.2z.1l(f)}v 7}});6.1L({3s:14,2z:[],1T:q(){l(!6.3s){6.3s=V;l(6.2z){H(u i=0;i<6.2z.D;i++)6.2z[i].17(15);6.2z=Q}l(6.18.2W||6.18.2G)15.7H("5T",6.1T,14)}}});1f q(){u e=("7J,7M,2T,7N,7O,3J,5L,7P,"+"7Q,7S,7T,3u,5N,7V,4m,5O,"+"4n,7Y,7Z,80,2k").3y(",");H(u i=0;i<e.D;i++)1f q(){u o=e[i];6.C[o]=q(f){v f?7.3B(o,f):7.1Q(o)};6.C["81"+o]=q(f){v 7.5R(o,f)};6.C["83"+o]=q(f){v 7.U(q(){u 5S=0;6.L.1Z(7,o,q(e){l(5S++)v;v f.17(7,[e])})})}};l(6.18.2W||6.18.2G){15.86("5T",6.1T,14)}F l(6.18.1y){15.87("<88"+"8a 3w=5V 8i=V "+"3m=//:><\\/2b>");u 2b=15.5z("5V");2b.2A=q(){l(7.2Y!="1I")v;7.1n.3g(7);6.1T()};2b=Q}F l(6.18.3e){6.4r=3R(q(){l(15.2Y=="62"||15.2Y=="1I"){56(6.4r);6.4r=Q;6.1T()}},10)}6.L.1Z(1O,"2T",6.1T)};l(6.18.1y)6(1O).3J(q(){u L=6.L,1i=L.1i;H(u B 1q 1i){u 3H=1i[B],i=3H.D;l(i>0)68 l(B!=\'3J\')L.22(3H[i-1],B);2d(--i)}});6.C.1L({4z:6.C.1C,1C:q(11,G){v 11?7.1W({1z:"1C",27:"1C",1j:"1C"},11,G):7.4z()},5W:6.C.1s,1s:q(11,G){v 11?7.1W({1z:"1s",27:"1s",1j:"1s"},11,G):7.5W()},6h:q(11,G){v 7.1W({1z:"1C"},11,G)},6j:q(11,G){v 7.1W({1z:"1s"},11,G)},6k:q(11,G){v 7.U(q(){u 4B=6(7).4o(":1V")?"1C":"1s";6(7).1W({1z:4B},11,G)})},84:q(11,G){v 7.1W({1j:"1C"},11,G)},6n:q(11,G){v 7.1W({1j:"1s"},11,G)},6q:q(11,2q,G){v 7.1W({1j:2q},11,G)},1W:q(I,11,G){v 7.1w(q(){7.2P=I;H(u p 1q I){u e=1f 6.2O(7,6.11(11,G),p);l(I[p].N==4M)e.2M(e.1m(),I[p]);F e[I[p]](I)}})},1w:q(B,C){l(!C){C=B;B="2O"}v 7.U(q(){l(!7.1w)7.1w={};l(!7.1w[B])7.1w[B]=[];7.1w[B].1l(C);l(7.1w[B].D==1)C.17(7)})}});6.1L({5i:q(e,p){l(e.4K)v;l(p=="1z"&&e.4D!=3f(6.20(e,p)))v;l(p=="27"&&e.4F!=3f(6.20(e,p)))v;u a=e.1a[p];u o=6.20(e,p,1);l(p=="1z"&&e.4D!=o||p=="27"&&e.4F!=o)v;e.1a[p]=e.3t?"":"4I";u n=6.20(e,p,1);l(o!=n&&n!="4I"){e.1a[p]=a;e.4K=V}},11:q(s,o){o=o||{};l(o.N==1v)o={1I:o};u 4N={6x:6z,6A:4H};o.2F=(s&&s.N==4M?s:4N[s])||4S;o.3o=o.1I;o.1I=q(){6.4P(7,"2O");l(o.3o&&o.3o.N==1v)o.3o.17(7)};v o},1w:{},4P:q(E,B){B=B||"2O";l(E.1w&&E.1w[B]){E.1w[B].3O();u f=E.1w[B][0];l(f)f.17(E)}},2O:q(E,2m,I){u z=7;z.o={2F:2m.2F||4S,1I:2m.1I,2p:2m.2p};z.R=E;u y=z.R.1a;z.a=q(){l(2m.2p)2m.2p.17(E,[z.2a]);l(I=="1j")6.1r(y,"1j",z.2a);F l(3f(z.2a))y[I]=3f(z.2a)+"5f";y.1t="2Q"};z.57=q(){v 3Z(6.1g(z.R,I))};z.1m=q(){u r=3Z(6.20(z.R,I));v r&&r>-6R?r:z.57()};z.2M=q(4t,2q){z.42=(1f 54()).55();z.2a=4t;z.a();z.3Y=3R(q(){z.2p(4t,2q)},13)};z.1C=q(p){l(!z.R.1G)z.R.1G={};z.R.1G[I]=7.1m();l(I=="1j")z.2M(z.R.1G[I],1);F z.2M(0,z.R.1G[I]);l(I!="1j")y[I]="6Z"};z.1s=q(){l(!z.R.1G)z.R.1G={};z.R.1G[I]=7.1m();z.o.1s=V;z.2M(z.R.1G[I],0)};l(!z.R.71)z.R.59=6.1g(z.R,"39");y.39="1V";z.2p=q(47,46){u t=(1f 54()).55();l(t>z.o.2F+z.42){56(z.3Y);z.3Y=Q;z.2a=46;z.a();z.R.2P[I]=V;u 1J=V;H(u i 1q z.R.2P)l(z.R.2P[i]!==V)1J=14;l(1J){y.39=z.R.59;l(z.o.1s)y.1t=\'21\';l(z.o.1s){H(u p 1q z.R.2P){l(p=="1j"&&6.18.1y)6.1r(y,p,z.R.1G[p]);F y[p]=z.R.1G[p]+"5f";l(p==\'1z\'||p==\'27\')6.5i(z.R,p)}}}l(1J&&z.o.1I&&z.o.1I.N==1v)z.o.1I.17(z.R)}F{u p=(t-7.42)/z.o.2F;z.2a=((-5t.7m(p*5t.7q)/2)+0.5)*(46-47)+47;z.a()}}}});6.C.1L({7v:q(M,1K,G){7.2T(M,1K,G,1)},2T:q(M,1K,G,1E){l(M.N==1v)v 7.3B("2T",M);G=G||q(){};u B="4d";l(1K){l(1K.N==1v){G=1K;1K=Q}F{1K=6.2C(1K);B="4x"}}u 3q=7;6.3C(B,M,1K,q(3r,12){l(12=="2w"||!1E&&12=="5s"){3q.5y(3r.2Z).U(G,[3r.2Z,12]);6("2b",3q).U(q(){l(7.3m)6.4v(7.3m);F 37.4i(1O,7.2V||7.7A||7.2u||"")})}F G.17(3q,[3r.2Z,12])},1E);v 7},7F:q(){v 6.2C(7)}});l(6.18.1y&&1Y 3b=="P")3b=q(){v 1f 7K(5J.5K.1c("7R 5")>=0?"7U.5P":"7W.5P")};1f q(){u e="4G,5M,5F,5D,5x".3y(",");H(u i=0;i<e.D;i++)1f q(){u o=e[i];6.C[o]=q(f){v 7.3B(o,f)}}};6.1L({1o:q(M,J,G,B,1E){l(J.N==1v){B=G;G=J;J=Q}l(J)M+=((M.1c("?")>-1)?"&":"?")+6.2C(J);6.3C("4d",M,Q,q(r,12){l(G)G(6.3n(r,B),12)},1E)},5Z:q(M,J,G,B){6.1o(M,J,G,B,1)},4v:q(M,G){6.1o(M,G,"2b")},64:q(M,J,G){l(G)6.1o(M,J,G,"3S");F{6.1o(M,J,"3S")}},6b:q(M,J,G,B){6.3C("4x",M,6.2C(J),q(r,12){l(G)G(6.3n(r,B),12)})},1u:0,6i:q(1u){6.1u=1u},38:{},3C:q(B,M,J,K,1E){l(!M){K=B.1I;u 2w=B.2w;u 2k=B.2k;u 49=B.49;u 1i=1Y B.1i=="85"?B.1i:V;u 1u=1Y B.1u=="6s"?B.1u:6.1u;u 1E=B.1E||14;J=B.J;M=B.M;B=B.B}l(1i&&!6.3I++)6.L.1Q("4G");u 4p=14;u O=1f 3b();O.6y(B||"4d",M,V);l(J)O.30("6D-6E","6F/x-6J-6L-6O");l(1E)O.30("6S-40-6V",6.38[M]||"6W, 6Y 70 72 3V:3V:3V 73");O.30("X-74-75","3b");l(O.78)O.30("7c","7g");u 2A=q(43){l(O&&(O.2Y==4||43=="1u")){4p=V;u 12=6.4y(O)&&43!="1u"?1E&&6.4Q(O,M)?"5s":"2w":"2k";l(12!="2k"){u 3F;3x{3F=O.4b("4T-40")}3h(e){}l(1E&&3F)6.38[M]=3F;l(2w)2w(6.3n(O,49),12);l(1i)6.L.1Q("5x")}F{l(2k)2k(O,12);l(1i)6.L.1Q("5D")}l(1i)6.L.1Q("5F");l(1i&&!--6.3I)6.L.1Q("5M");l(K)K(O,12);O.2A=q(){};O=Q}};O.2A=2A;l(1u>0)7X(q(){l(O){O.82();l(!4p)2A("1u");O=Q}},1u);O.65(J)},3I:0,4y:q(r){3x{v!r.12&&6l.6m=="4l:"||(r.12>=4H&&r.12<6B)||r.12==4W||6.18.3e&&r.12==P}3h(e){}v 14},4Q:q(O,M){3x{u 50=O.4b("4T-40");v O.12==4W||50==6.38[M]||6.18.3e&&O.12==P}3h(e){}v 14},3n:q(r,B){u 4k=r.4b("7G-B");u J=!B&&4k&&4k.1c("O")>=0;J=B=="O"||J?r.8j:r.2Z;l(B=="2b")37.4i(1O,J);l(B=="3S")37("J = "+J);v J},2C:q(a){u s=[];l(a.N==2y||a.2J){H(u i=0;i<a.D;i++)s.1l(a[i].1b+"="+4Z(a[i].W))}F{H(u j 1q a)s.1l(j+"="+4Z(a[j]))}v s.5U("&")}})}',62,516,'||||||jQuery|this||||||||||||||if|||||function||||var|return||||||type|fn|length|elem|else|callback|for|prop|data|ret|event|url|constructor|xml|undefined|null|el||element|each|true|value||elems|||speed|status||false|document|obj|apply|browser|filter|style|name|indexOf|arguments|className|new|css|args|global|opacity|context|push|cur|parentNode|get|table|in|attr|hide|display|timeout|Function|queue|sibling|msie|height|replace|val|show|result|ifModified|div|orig|events|complete|done|params|extend|firstChild|String|window|key|trigger|last|nodeType|ready|old|hidden|animate|merge|typeof|add|curCSS|none|remove|test|handler|tbody|num|width|pushStack|fix|now|script|pos|while|childNodes|first|siblings|toUpperCase|fn2|find|error|macros|options|guid|re|step|to|expr|not|map|innerHTML|oldblock|success|nodeName|Array|readyList|onreadystatechange|insertBefore|param|on|grep|duration|opera|classes|trim|jquery|domManip|handlers|custom|dir|fx|curAnim|block|disabled|position|load|substr|text|mozilla|parPos|readyState|responseText|setRequestHeader|clean|child|second|checked|alpha|exec|eval|lastModified|overflow|getAttribute|XMLHttpRequest|returnValue|stack|safari|parseInt|removeChild|catch|parents|token|foundToken|has|src|httpData|oldComplete|next|self|res|isReady|currentStyle|mouseover|tr|id|try|split|oWidth|defaultView|bind|ajax|cloneNode|oHeight|modRes|clone|els|active|unload|static|swap|td|noCollision|shift|re2|getAll|setInterval|json|RegExp|matched|00|_|inv|timer|parseFloat|Modified|toLowerCase|startTime|istimeout|appendChild|prev|lastNum|firstNum|button|dataType|toggle|getResponseHeader|preventDefault|GET|visibility|selected|deep|handleHover|call|thead|ct|file|reset|submit|is|requestDone|oid|safariTimer|getComputedStyle|from|size|getScript|appendTo|POST|httpSuccess|_show|force|state|newProp|scrollHeight|createElement|scrollWidth|ajaxStart|200|auto|nth|notAuto|password|Number|ss|documentElement|dequeue|httpNotModified|getElementsByTagName|400|Last|match|parse|304|z0|break|encodeURIComponent|xmlRes|continue|even|odd|Date|getTime|clearInterval|max|delete|oldOverflow|nodeValue|handle|unshift|stopPropagation|webkit|px|gi|append|setAuto|prepend|before|after|left|float|eq|lt|gt|contains|notmodified|Math|axis|parent|100|ajaxSuccess|html|getElementById|empty|input|init|ajaxError|_toggle|ajaxComplete|radio|checkbox|image|navigator|userAgent|click|ajaxStop|mouseout|select|XMLHTTP|getPropertyValue|unbind|count|DOMContentLoaded|join|__ie_init|_hide|pop|Boolean|getIfModified|TABLE|THEAD|loaded|initDone|getJSON|send|padding|splice|do|Right|Left|post|border|Width|offsetHeight|offsetWidth|right|slideDown|ajaxTimeout|slideUp|slideToggle|location|protocol|fadeOut|Top|Bottom|fadeTo|th|number|createTextNode|toString|only|visible|slow|open|600|fast|300|textarea|Content|Type|application|htmlFor|class|cssFloat|www|zoom|form|9999|FORM|urlencoded|method|getAttributeNode|10000|If|setAttribute|ig|Since|Thu|9_|01|1px|Jan|oldOverlay|1970|GMT|Requested|With|target|slice|overrideMimeType|cancelBubble|compatible|action|Connection|boxModel|compatMode|CSS1Compat|close|prependTo|insertAfter|top|color|background|cos|title|href|rel|PI|ancestors|children|removeAttr|removeAttribute|loadIfModified|addClass|end|removeClass|toggleClass|textContent|hover|fromElement|toElement|relatedTarget|serialize|content|removeEventListener|enabled|blur|ActiveXObject|innerText|focus|resize|scroll|dblclick|mousedown|MSIE|mouseup|mousemove|Microsoft|change|Msxml2|setTimeout|keydown|keypress|keyup|un|abort|one|fadeIn|boolean|addEventListener|write|scr|prototype|ipt|index|wrap|clientWidth|clientHeight|relative|nextSibling|absolute|defer|responseXML'.split('|'),0,{}))
3650 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3650/5ec06d3ee492bb9dc216e1bbbc4b31714ef15f2a/jquery.js/clean/misc/jquery.js
this.drops = this.drops.reject(function(e) { return e==element });
this.drops = this.drops.reject(function(d) { return d.element==element });
this.drops = this.drops.reject(function(e) { return e==element });
5523 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5523/7d101d58400acaff232091485c8e140f0a37cbaf/dragdrop.js/buggy/actionpack/lib/action_view/helpers/javascripts/dragdrop.js
return Element.findFirstMatchingChild(element, function(element){return element.id==id} );
return elementFindFirstMatchingChild(element, function(element){return element.id==id} );
return Element.findFirstMatchingChild(element, function(element){return element.id==id} );
4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/697a29d268d2448c4391184afe752f6497773118/find_matching_child.js/clean/code/javascript/core/scripts/find_matching_child.js
tinyMCE.importPluginLanguagePack('layer','en');var TinyMCE_LayerPlugin={getInfo:function(){return{longname:'Layer',author:'Moxiecode Systems',authorurl:'http:
tinyMCE.importPluginLanguagePack('layer');var TinyMCE_LayerPlugin={getInfo:function(){return{longname:'Layer',author:'Moxiecode Systems AB',authorurl:'http:
tinyMCE.importPluginLanguagePack('layer','en');var TinyMCE_LayerPlugin={getInfo:function(){return{longname:'Layer',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_layer.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};},initInstance:function(inst){if(tinyMCE.isMSIE&&!tinyMCE.isOpera)inst.getDoc().execCommand('2D-Position');},handleEvent:function(e){var inst=tinyMCE.selectedInstance,self=TinyMCE_LayerPlugin;var w=inst.getWin(),le=inst._lastStyleElm,e;if(tinyMCE.isGecko){e=self._getParentLayer(inst.getFocusElement());if(e){if(!inst._lastStyleElm){e.style.overflow='auto';inst._lastStyleElm=e;}}else if(le){le=inst._lastStyleElm;le.style.width=le.scrollWidth+'px';le.style.height=le.scrollHeight+'px';le.style.overflow='';inst._lastStyleElm=null;}}return true;},handleVisualAid:function(el,deep,state,inst){var nl=inst.getDoc().getElementsByTagName("div"),i;for(i=0;i<nl.length;i++){if(new RegExp('absolute|relative|static','gi').test(nl[i].style.position)){if(state)tinyMCE.addCSSClass(nl[i],'mceVisualAid');else tinyMCE.removeCSSClass(nl[i],'mceVisualAid');}}},getControlHTML:function(cn){switch(cn){case"moveforward":return tinyMCE.getButtonHTML(cn,'lang_layer_forward_desc','{$pluginurl}/images/forward.gif','mceMoveForward',true);case"movebackward":return tinyMCE.getButtonHTML(cn,'lang_layer_backward_desc','{$pluginurl}/images/backward.gif','mceMoveBackward',true);case"absolute":return tinyMCE.getButtonHTML(cn,'lang_layer_absolute_desc','{$pluginurl}/images/absolute.gif','mceMakeAbsolute',true);case"insertlayer":return tinyMCE.getButtonHTML(cn,'lang_layer_insertlayer_desc','{$pluginurl}/images/insert_layer.gif','mceInsertLayer',true);}return"";},execCommand:function(editor_id,element,command,user_interface,value){var self=TinyMCE_LayerPlugin;switch(command){case"mceInsertLayer":self._insertLayer();return true;case"mceMoveForward":self._move(1);return true;case"mceMoveBackward":self._move(-1);return true;case"mceMakeAbsolute":self._toggleAbsolute();return true;}return false;},handleNodeChange:function(editor_id,node,undo_index,undo_levels,visual_aid,any_selection){var inst=tinyMCE.getInstanceById(editor_id),self=TinyMCE_LayerPlugin;var le=self._getParentLayer(inst.getFocusElement());var p=tinyMCE.getParentElement(inst.getFocusElement(),'div,p,img');tinyMCE.switchClass(editor_id+'_absolute','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_moveforward','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_movebackward','mceButtonDisabled');if(p)tinyMCE.switchClass(editor_id+'_absolute','mceButtonNormal');if(le&&le.style.position.toLowerCase()=="absolute"){tinyMCE.switchClass(editor_id+'_absolute','mceButtonSelected');tinyMCE.switchClass(editor_id+'_moveforward','mceButtonNormal');tinyMCE.switchClass(editor_id+'_movebackward','mceButtonNormal');}},_move:function(d){var inst=tinyMCE.selectedInstance,self=TinyMCE_LayerPlugin,i,z=new Array();var le=self._getParentLayer(inst.getFocusElement()),ci=-1,fi=-1;var nl=tinyMCE.selectNodes(inst.getBody(),function(n){return n.nodeType==1&&new RegExp('absolute|relative|static','gi').test(n.style.position);});for(i=0;i<nl.length;i++){z[i]=nl[i].style.zIndex?parseInt(nl[i].style.zIndex):0;if(ci<0&&nl[i]==le)ci=i;}if(d<0){for(i=0;i<z.length;i++){if(z[i]<z[ci]){fi=i;break;}}if(fi>-1){nl[ci].style.zIndex=z[fi];nl[fi].style.zIndex=z[ci];}else{if(z[ci]>0)nl[ci].style.zIndex=z[ci]-1;}}else{for(i=0;i<z.length;i++){if(z[i]>z[ci]){fi=i;break;}}if(fi>-1){nl[ci].style.zIndex=z[fi];nl[fi].style.zIndex=z[ci];}else nl[ci].style.zIndex=z[ci]+1;}inst.repaint();},_getParentLayer:function(n){return tinyMCE.getParentNode(n,function(n){return n.nodeType==1&&new RegExp('absolute|relative|static','gi').test(n.style.position);});},_insertLayer:function(){var inst=tinyMCE.selectedInstance;var e=tinyMCE.getParentElement(inst.getFocusElement());var p=tinyMCE.getAbsPosition(e);var d=inst.getDoc();var ne=d.createElement('div');var h=inst.selection.getSelectedHTML();ne.style.position='absolute';ne.style.left=p.absLeft+'px';ne.style.top=(p.absTop>20?p.absTop:20)+'px';ne.style.width='100px';ne.style.height='100px';ne.className='mceVisualAid';if(!h)h=tinyMCE.getLang('lang_layer_content');ne.innerHTML=h;d.body.appendChild(ne);},_toggleAbsolute:function(){var inst=tinyMCE.selectedInstance,self=TinyMCE_LayerPlugin;var le=self._getParentLayer(inst.getFocusElement());if(le==null)le=tinyMCE.getParentElement(inst.getFocusElement(),'div,p,img');if(le){if(le.style.position.toLowerCase()=="absolute"){le.style.position="";le.style.left="";le.style.top="";}else{le.style.position="absolute";if(le.style.left=="")le.style.left=20+'px';if(le.style.top=="")le.style.top=20+'px';if(le.style.width=="")le.style.width=le.width?(le.width+'px'):'100px';if(le.style.height=="")le.style.height=le.height?(le.height+'px'):'100px';tinyMCE.handleVisualAid(inst.getBody(),true,inst.visualAid,inst);}inst.repaint();tinyMCE.triggerNodeChange();}}};tinyMCE.addPlugin("layer",TinyMCE_LayerPlugin);
10343 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10343/524e24acf79702622c51dba4bb678337072e34b9/editor_plugin.js/clean/mambots/editors/tinymce/jscripts/tiny_mce/plugins/layer/editor_plugin.js
new Effect.Appear(update,{duration:0.15});
Effect.Appear(update,{duration:0.15});
function(element, update){ if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute'; Position.clone(element, update, {setHeight: false, offsetTop: element.offsetHeight}); } new Effect.Appear(update,{duration:0.15}); };
167 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/167/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/railties/html/javascripts/controls.js
new Effect.Appear(update,{duration:0.15});
Effect.Appear(update,{duration:0.15});
function(element, update){ if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute'; Position.clone(element, update, {setHeight: false, offsetTop: element.offsetHeight}); } new Effect.Appear(update,{duration:0.15}); };
6649 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6649/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/buggy/actionpack/lib/action_view/helpers/javascripts/controls.js
webProgress.removeProgressListener(GM_DocStartListener);
Components.classes["@mozilla.org/docloaderservice;1"] .getService(Components.interfaces.nsIWebProgress) .removeProgressListener(GM_DocStartListener);
window.addEventListener("unload", function() { webProgress.removeProgressListener(GM_DocStartListener);}, false);
2115 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2115/bb15ba07d80451d03ef5be42d32c71c9f78959f0/browser.js/clean/src/content/browser.js
if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute';
if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute';
function(element, update){ if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute'; var offsets = Position.cumulativeOffset(element); update.style.left = offsets[0] + 'px'; update.style.top = (offsets[1] + element.offsetHeight) + 'px'; update.style.width = element.offsetWidth + 'px'; } new Effect.Appear(update,{duration:0.3}); };
5523 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5523/16669774903dd7bfaaf1bf8f0c72e49ebaeffeeb/controls.js/clean/actionpack/lib/action_view/helpers/javascripts/controls.js
} new Effect.Appear(update,{duration:0.3}); };
} new Effect.Appear(update,{duration:0.15}); };
function(element, update){ if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute'; var offsets = Position.cumulativeOffset(element); update.style.left = offsets[0] + 'px'; update.style.top = (offsets[1] + element.offsetHeight) + 'px'; update.style.width = element.offsetWidth + 'px'; } new Effect.Appear(update,{duration:0.3}); };
5523 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5523/16669774903dd7bfaaf1bf8f0c72e49ebaeffeeb/controls.js/clean/actionpack/lib/action_view/helpers/javascripts/controls.js
this.drops = this.drops.reject(function(e) { return e==element });
this.drops = this.drops.reject(function(d) { return d.element==element });
this.drops = this.drops.reject(function(e) { return e==element });
6649 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6649/7d101d58400acaff232091485c8e140f0a37cbaf/dragdrop.js/clean/railties/html/javascripts/dragdrop.js
new Effect.Appear(update,{duration:0.15});
Effect.Appear(update,{duration:0.15});
function(element, update){ if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute'; Position.clone(element, update, {setHeight: false, offsetTop: element.offsetHeight}); } new Effect.Appear(update,{duration:0.15}); };
5521 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5521/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/railties/html/javascripts/controls.js
this.progress = new progressBar('updateprogress', updateCallback, HTTPPost);
this.progress = new progressBar('updateprogress', updateCallback, HTTPGet);
addLoadEvent(function() { if ($('edit-has_js')) { $('edit-has_js').value = 1; } if ($('progress')) { updateCallback = function (progress, status) { if (progress == 100) { window.location = window.location.href.split('op=')[0] +'op=finished'; } } this.progress = new progressBar('updateprogress', updateCallback, HTTPPost); this.progress.setProgress(-1, 'Starting updates...'); $('progress').appendChild(this.progress.element); this.progress.startMonitoring('update.php?op=do_update', 0); } });
3650 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3650/5c29f5cc9a245ffdf22d1f7846aa709af029fcb4/update.js/clean/misc/update.js
this.drops = this.drops.reject(function(e) { return e==element });
this.drops = this.drops.reject(function(d) { return d.element==element });
this.drops = this.drops.reject(function(e) { return e==element });
1534 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1534/7d101d58400acaff232091485c8e140f0a37cbaf/dragdrop.js/clean/railties/html/javascripts/dragdrop.js
if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute';
if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute';
function(element, update){ if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute'; var offsets = Position.cumulativeOffset(element); update.style.left = offsets[0] + 'px'; update.style.top = (offsets[1] + element.offsetHeight) + 'px'; update.style.width = element.offsetWidth + 'px'; } new Effect.Appear(update,{duration:0.3}); };
2069 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2069/16669774903dd7bfaaf1bf8f0c72e49ebaeffeeb/controls.js/clean/actionpack/lib/action_view/helpers/javascripts/controls.js
} new Effect.Appear(update,{duration:0.3}); };
} new Effect.Appear(update,{duration:0.15}); };
function(element, update){ if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute'; var offsets = Position.cumulativeOffset(element); update.style.left = offsets[0] + 'px'; update.style.top = (offsets[1] + element.offsetHeight) + 'px'; update.style.width = element.offsetWidth + 'px'; } new Effect.Appear(update,{duration:0.3}); };
2069 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2069/16669774903dd7bfaaf1bf8f0c72e49ebaeffeeb/controls.js/clean/actionpack/lib/action_view/helpers/javascripts/controls.js
this.drops = this.drops.reject(function(e) { return e==element });
this.drops = this.drops.reject(function(d) { return d.element==element });
this.drops = this.drops.reject(function(e) { return e==element });
2069 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2069/7d101d58400acaff232091485c8e140f0a37cbaf/dragdrop.js/clean/actionpack/lib/action_view/helpers/javascripts/dragdrop.js
new Effect.Appear(update,{duration:0.15});
Effect.Appear(update,{duration:0.15});
function(element, update){ if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute'; Position.clone(element, update, {setHeight: false, offsetTop: element.offsetHeight}); } new Effect.Appear(update,{duration:0.15}); };
1534 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1534/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/actionpack/lib/action_view/helpers/javascripts/controls.js
register_onload(function() { if( $('commentform') && $('commentform').elements[1].value != '' ) { Element.show('guest_url');} })
register_onload(function() { if( $('commentform') && $('commentform').elements[1].value != '' || $('commentform').elements[2].value != '' ) { Element.show('guest_url'); Element.show('guest_email');} })
register_onload(function() { if( $('commentform') && $('commentform').elements[1].value != '' ) { Element.show('guest_url');} })
742 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/742/a177a4b5687599ecd0d63f0e57f998a1eef06307/typo.js/buggy/public/javascripts/typo.js
window.setTimeout(function() { self.pollForLoad(loadFunction, windowObject, originalLocation, originalHref); }, 500);
window.setTimeout(function() {self.pollForLoad(loadFunction, windowObject, originalLocation, originalHref);}, 500);
window.setTimeout(function() { self.pollForLoad(loadFunction, windowObject, originalLocation, originalHref); }, 500);
4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/6b0b260c628dcdbf842d816728bb3bdcc6219faa/selenium-browserbot.js/buggy/code/javascript/core/scripts/selenium-browserbot.js
if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute';
if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute';
function(element, update){ if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute'; var offsets = Position.cumulativeOffset(element); update.style.left = offsets[0] + 'px'; update.style.top = (offsets[1] + element.offsetHeight) + 'px'; update.style.width = element.offsetWidth + 'px'; } new Effect.Appear(update,{duration:0.3}); };
107 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/107/16669774903dd7bfaaf1bf8f0c72e49ebaeffeeb/controls.js/buggy/railties/html/javascripts/controls.js
} new Effect.Appear(update,{duration:0.3}); };
} new Effect.Appear(update,{duration:0.15}); };
function(element, update){ if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute'; var offsets = Position.cumulativeOffset(element); update.style.left = offsets[0] + 'px'; update.style.top = (offsets[1] + element.offsetHeight) + 'px'; update.style.width = element.offsetWidth + 'px'; } new Effect.Appear(update,{duration:0.3}); };
107 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/107/16669774903dd7bfaaf1bf8f0c72e49ebaeffeeb/controls.js/buggy/railties/html/javascripts/controls.js
new textArea(textarea);
new textArea(textarea);
addLoadEvent(function() { // Attach to all visible textareas textareas = document.getElementsByTagName('textarea'); var textarea; for (var i = 0; textarea = textareas[i]; ++i) { if (hasClass(textarea, 'resizable')) { if (typeof dimensions(textarea).width != 'undefined' && dimensions(textarea).width != 0) { new textArea(textarea); } } } });
3650 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3650/ea2d79109595f0c936259ffacfccd904f8dcd599/textarea.js/clean/misc/textarea.js
this.drops = this.drops.reject(function(e) { return e==element });
this.drops = this.drops.reject(function(d) { return d.element==element });
this.drops = this.drops.reject(function(e) { return e==element });
5523 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5523/7d101d58400acaff232091485c8e140f0a37cbaf/dragdrop.js/clean/railties/html/javascripts/dragdrop.js
this.bound.start[i] = this.start.bindWithEvent(this, el);
this.elements.each(function(el, i){ this.handles[i].addEvent('mousedown', this.start.bindWithEvent(this, el)); }, this);
5409 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5409/8ac103886cf6d33ed267fc2e146d71159138c0d8/Sortables.js/clean/Plugins/Sortables.js
if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute';
if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute';
function(element, update){ if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute'; var offsets = Position.cumulativeOffset(element); update.style.left = offsets[0] + 'px'; update.style.top = (offsets[1] + element.offsetHeight) + 'px'; update.style.width = element.offsetWidth + 'px'; } new Effect.Appear(update,{duration:0.3}); };
269 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/269/16669774903dd7bfaaf1bf8f0c72e49ebaeffeeb/controls.js/buggy/actionpack/lib/action_view/helpers/javascripts/controls.js
} new Effect.Appear(update,{duration:0.3}); };
} new Effect.Appear(update,{duration:0.15}); };
function(element, update){ if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute'; var offsets = Position.cumulativeOffset(element); update.style.left = offsets[0] + 'px'; update.style.top = (offsets[1] + element.offsetHeight) + 'px'; update.style.width = element.offsetWidth + 'px'; } new Effect.Appear(update,{duration:0.3}); };
269 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/269/16669774903dd7bfaaf1bf8f0c72e49ebaeffeeb/controls.js/buggy/actionpack/lib/action_view/helpers/javascripts/controls.js
el.innerHTML = http.responseText;
document.getElementById(around).innerHTML = http.responseText;
function( http ) { if (http.responseText != null) { el.innerHTML = http.responseText; hop_js_eval( http ); change_style(); } });
4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/79884d39bb3ebe81f6eb6fd4fc692d536ca815da/hop-window.js/clean/share/hop-window.js
tinyMCE.importPluginLanguagePack('table','en,tr,ar,cs,da,de,el,es,fi,fr_ca,hu,it,ja,ko,nl,nb,pl,pt,pt_br,sv,tw,zh_cn,fr,de,he,nb,ru,ru_KOI8-R,ru_UTF-8,nn,cy,is,zh_tw,zh_tw_utf8,sk');var TinyMCE_TablePlugin={getInfo:function(){return{longname:'Tables',author:'Moxiecode Systems',authorurl:'http:
tinyMCE.importPluginLanguagePack('table');var TinyMCE_TablePlugin={getInfo:function(){return{longname:'Tables',author:'Moxiecode Systems AB',authorurl:'http:
tinyMCE.importPluginLanguagePack('table','en,tr,ar,cs,da,de,el,es,fi,fr_ca,hu,it,ja,ko,nl,nb,pl,pt,pt_br,sv,tw,zh_cn,fr,de,he,nb,ru,ru_KOI8-R,ru_UTF-8,nn,cy,is,zh_tw,zh_tw_utf8,sk');var TinyMCE_TablePlugin={getInfo:function(){return{longname:'Tables',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_table.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};},initInstance:function(inst){if(tinyMCE.isGecko){var doc=inst.getDoc();tinyMCE.addEvent(doc,"mouseup",TinyMCE_TablePlugin._mouseDownHandler);}inst.tableRowClipboard=null;},getControlHTML:function(control_name){var controls=new Array(['table','table.gif','lang_table_desc','mceInsertTable',true],['delete_col','table_delete_col.gif','lang_table_delete_col_desc','mceTableDeleteCol'],['delete_row','table_delete_row.gif','lang_table_delete_row_desc','mceTableDeleteRow'],['col_after','table_insert_col_after.gif','lang_table_col_after_desc','mceTableInsertColAfter'],['col_before','table_insert_col_before.gif','lang_table_col_before_desc','mceTableInsertColBefore'],['row_after','table_insert_row_after.gif','lang_table_row_after_desc','mceTableInsertRowAfter'],['row_before','table_insert_row_before.gif','lang_table_row_before_desc','mceTableInsertRowBefore'],['row_props','table_row_props.gif','lang_table_row_desc','mceTableRowProps',true],['cell_props','table_cell_props.gif','lang_table_cell_desc','mceTableCellProps',true],['split_cells','table_split_cells.gif','lang_table_split_cells_desc','mceTableSplitCells',true],['merge_cells','table_merge_cells.gif','lang_table_merge_cells_desc','mceTableMergeCells',true]);for(var i=0;i<controls.length;i++){var but=controls[i];var cmd='tinyMCE.execInstanceCommand(\'{$editor_id}\',\''+but[3]+'\', '+(but.length>4?but[4]:false)+(but.length>5?', \''+but[5]+'\'':'')+');return false;';if(but[0]==control_name)return tinyMCE.getButtonHTML(control_name,but[2],'{$pluginurl}/images/'+but[1],but[3],(but.length>4?but[4]:false));}if(control_name=="tablecontrols"){var html="";html+=tinyMCE.getControlHTML("table");html+=tinyMCE.getControlHTML("separator");html+=tinyMCE.getControlHTML("row_props");html+=tinyMCE.getControlHTML("cell_props");html+=tinyMCE.getControlHTML("separator");html+=tinyMCE.getControlHTML("row_before");html+=tinyMCE.getControlHTML("row_after");html+=tinyMCE.getControlHTML("delete_row");html+=tinyMCE.getControlHTML("separator");html+=tinyMCE.getControlHTML("col_before");html+=tinyMCE.getControlHTML("col_after");html+=tinyMCE.getControlHTML("delete_col");html+=tinyMCE.getControlHTML("separator");html+=tinyMCE.getControlHTML("split_cells");html+=tinyMCE.getControlHTML("merge_cells");return html;}return"";},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case"mceInsertTable":case"mceTableRowProps":case"mceTableCellProps":case"mceTableSplitCells":case"mceTableMergeCells":case"mceTableInsertRowBefore":case"mceTableInsertRowAfter":case"mceTableDeleteRow":case"mceTableInsertColBefore":case"mceTableInsertColAfter":case"mceTableDeleteCol":case"mceTableCutRow":case"mceTableCopyRow":case"mceTablePasteRowBefore":case"mceTablePasteRowAfter":case"mceTableDelete":var inst=tinyMCE.getInstanceById(editor_id);inst.execCommand('mceBeginUndoLevel');TinyMCE_TablePlugin._doExecCommand(editor_id,element,command,user_interface,value);inst.execCommand('mceEndUndoLevel');return true;}return false;},handleNodeChange:function(editor_id,node,undo_index,undo_levels,visual_aid,any_selection){var colspan="1",rowspan="1";var inst=tinyMCE.getInstanceById(editor_id);tinyMCE.switchClass(editor_id+'_table','mceButtonNormal');tinyMCE.switchClass(editor_id+'_row_props','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_cell_props','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_row_before','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_row_after','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_delete_row','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_col_before','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_col_after','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_delete_col','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_split_cells','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_merge_cells','mceButtonDisabled');if(tdElm=tinyMCE.getParentElement(node,"td,th")){tinyMCE.switchClass(editor_id+'_cell_props','mceButtonSelected');tinyMCE.switchClass(editor_id+'_row_before','mceButtonNormal');tinyMCE.switchClass(editor_id+'_row_after','mceButtonNormal');tinyMCE.switchClass(editor_id+'_delete_row','mceButtonNormal');tinyMCE.switchClass(editor_id+'_col_before','mceButtonNormal');tinyMCE.switchClass(editor_id+'_col_after','mceButtonNormal');tinyMCE.switchClass(editor_id+'_delete_col','mceButtonNormal');colspan=tinyMCE.getAttrib(tdElm,"colspan");rowspan=tinyMCE.getAttrib(tdElm,"rowspan");colspan=colspan==""?"1":colspan;rowspan=rowspan==""?"1":rowspan;if(colspan!="1"||rowspan!="1")tinyMCE.switchClass(editor_id+'_split_cells','mceButtonNormal');}if(tinyMCE.getParentElement(node,"tr"))tinyMCE.switchClass(editor_id+'_row_props','mceButtonSelected');if(tinyMCE.getParentElement(node,"table")){tinyMCE.switchClass(editor_id+'_table','mceButtonSelected');tinyMCE.switchClass(editor_id+'_merge_cells','mceButtonNormal');}},_mouseDownHandler:function(e){var elm=tinyMCE.isMSIE?event.srcElement:e.target;var focusElm=tinyMCE.selectedInstance.getFocusElement();if(elm.nodeName=="BODY"&&(focusElm.nodeName=="TD"||focusElm.nodeName=="TH"||(focusElm.parentNode&&focusElm.parentNode.nodeName=="TD")||(focusElm.parentNode&&focusElm.parentNode.nodeName=="TH"))){window.setTimeout(function(){var tableElm=tinyMCE.getParentElement(focusElm,"table");tinyMCE.handleVisualAid(tableElm,true,tinyMCE.settings['visual'],tinyMCE.selectedInstance);},10);}},_doExecCommand:function(editor_id,element,command,user_interface,value){var inst=tinyMCE.getInstanceById(editor_id);var focusElm=inst.getFocusElement();var trElm=tinyMCE.getParentElement(focusElm,"tr");var tdElm=tinyMCE.getParentElement(focusElm,"td,th");var tableElm=tinyMCE.getParentElement(focusElm,"table");var doc=inst.contentWindow.document;var tableBorder=tableElm?tableElm.getAttribute("border"):"";if(trElm&&tdElm==null)tdElm=trElm.cells[0];function inArray(ar,v){for(var i=0;i<ar.length;i++){if(ar[i].length>0&&inArray(ar[i],v))return true;if(ar[i]==v)return true;}return false;}function makeTD(){var newTD=doc.createElement("td");newTD.innerHTML="&nbsp;";}function getColRowSpan(td){var colspan=tinyMCE.getAttrib(td,"colspan");var rowspan=tinyMCE.getAttrib(td,"rowspan");colspan=colspan==""?1:parseInt(colspan);rowspan=rowspan==""?1:parseInt(rowspan);return{colspan:colspan,rowspan:rowspan};}function getCellPos(grid,td){for(var y=0;y<grid.length;y++){for(var x=0;x<grid[y].length;x++){if(grid[y][x]==td)return{cellindex:x,rowindex:y};}}return null;}function getCell(grid,row,col){if(grid[row]&&grid[row][col])return grid[row][col];return null;}function getTableGrid(table){var grid=new Array();var rows=table.rows;for(var y=0;y<rows.length;y++){for(var x=0;x<rows[y].cells.length;x++){var td=rows[y].cells[x];var sd=getColRowSpan(td);for(xstart=x;grid[y]&&grid[y][xstart];xstart++);for(var y2=y;y2<y+sd['rowspan'];y2++){if(!grid[y2])grid[y2]=new Array();for(var x2=xstart;x2<xstart+sd['colspan'];x2++){grid[y2][x2]=td;}}}}return grid;}function trimRow(table,tr,td,new_tr){var grid=getTableGrid(table);var cpos=getCellPos(grid,td);if(new_tr.cells.length!=tr.childNodes.length){var cells=tr.childNodes;var lastElm=null;for(var x=0;td=getCell(grid,cpos.rowindex,x);x++){var remove=true;var sd=getColRowSpan(td);if(inArray(cells,td)){new_tr.childNodes[x]._delete=true;}else if((lastElm==null||td!=lastElm)&&sd.colspan>1){for(var i=x;i<x+td.colSpan;i++)new_tr.childNodes[i]._delete=true;}if((lastElm==null||td!=lastElm)&&sd.rowspan>1)td.rowSpan=sd.rowspan+1;lastElm=td;}deleteMarked(tableElm);}}function prevElm(node,name){while((node=node.previousSibling)!=null){if(node.nodeName==name)return node;}return null;}function nextElm(node,names){var namesAr=names.split(',');while((node=node.nextSibling)!=null){for(var i=0;i<namesAr.length;i++){if(node.nodeName.toLowerCase()==namesAr[i].toLowerCase())return node;}}return null;}function deleteMarked(tbl){if(tbl.rows==0)return;var tr=tbl.rows[0];do{var next=nextElm(tr,"TR");if(tr._delete){tr.parentNode.removeChild(tr);continue;}var td=tr.cells[0];if(td.cells>1){do{var nexttd=nextElm(td,"TD,TH");if(td._delete)td.parentNode.removeChild(td);}while((td=nexttd)!=null);}}while((tr=next)!=null);}function addRows(td_elm,tr_elm,rowspan){td_elm.rowSpan=1;var trNext=nextElm(tr_elm,"TR");for(var i=1;i<rowspan&&trNext;i++){var newTD=doc.createElement("td");newTD.innerHTML="&nbsp;";if(tinyMCE.isMSIE)trNext.insertBefore(newTD,trNext.cells(td_elm.cellIndex));else trNext.insertBefore(newTD,trNext.cells[td_elm.cellIndex]);trNext=nextElm(trNext,"TR");}}function copyRow(doc,table,tr){var grid=getTableGrid(table);var newTR=tr.cloneNode(false);var cpos=getCellPos(grid,tr.cells[0]);var lastCell=null;var tableBorder=tinyMCE.getAttrib(table,"border");var tdElm=null;for(var x=0;tdElm=getCell(grid,cpos.rowindex,x);x++){var newTD=null;if(lastCell!=tdElm){for(var i=0;i<tr.cells.length;i++){if(tdElm==tr.cells[i]){newTD=tdElm.cloneNode(true);break;}}}if(newTD==null){newTD=doc.createElement("td");newTD.innerHTML="&nbsp;";}newTD.colSpan=1;newTD.rowSpan=1;newTR.appendChild(newTD);lastCell=tdElm;}return newTR;}switch(command){case"mceTableRowProps":if(trElm==null)return true;if(user_interface){var template=new Array();template['file']='../../plugins/table/row.htm';template['width']=380;template['height']=295;template['width']+=tinyMCE.getLang('lang_table_rowprops_delta_width',0);template['height']+=tinyMCE.getLang('lang_table_rowprops_delta_height',0);tinyMCE.openWindow(template,{editor_id:inst.editorId,inline:"yes"});}return true;case"mceTableCellProps":if(tdElm==null)return true;if(user_interface){var template=new Array();template['file']='../../plugins/table/cell.htm';template['width']=380;template['height']=295;template['width']+=tinyMCE.getLang('lang_table_cellprops_delta_width',0);template['height']+=tinyMCE.getLang('lang_table_cellprops_delta_height',0);tinyMCE.openWindow(template,{editor_id:inst.editorId,inline:"yes"});}return true;case"mceInsertTable":if(user_interface){var template=new Array();template['file']='../../plugins/table/table.htm';template['width']=380;template['height']=295;template['width']+=tinyMCE.getLang('lang_table_table_delta_width',0);template['height']+=tinyMCE.getLang('lang_table_table_delta_height',0);tinyMCE.openWindow(template,{editor_id:inst.editorId,inline:"yes",action:value});}return true;case"mceTableDelete":var table=tinyMCE.getParentElement(inst.getFocusElement(),"table");if(table){table.parentNode.removeChild(table);inst.repaint();}return true;case"mceTableSplitCells":case"mceTableMergeCells":case"mceTableInsertRowBefore":case"mceTableInsertRowAfter":case"mceTableDeleteRow":case"mceTableInsertColBefore":case"mceTableInsertColAfter":case"mceTableDeleteCol":case"mceTableCutRow":case"mceTableCopyRow":case"mceTablePasteRowBefore":case"mceTablePasteRowAfter":if(!tableElm)return true;if(tableElm!=trElm.parentNode)tableElm=trElm.parentNode;if(tableElm&&trElm){switch(command){case"mceTableInsertRowBefore":if(!trElm||!tdElm)return true;var grid=getTableGrid(tableElm);var cpos=getCellPos(grid,tdElm);var newTR=doc.createElement("tr");var lastTDElm=null;cpos.rowindex--;if(cpos.rowindex<0)cpos.rowindex=0;for(var x=0;tdElm=getCell(grid,cpos.rowindex,x);x++){if(tdElm!=lastTDElm){var sd=getColRowSpan(tdElm);if(sd['rowspan']==1){var newTD=doc.createElement("td");newTD.innerHTML="&nbsp;";newTD.colSpan=tdElm.colSpan;newTR.appendChild(newTD);}else tdElm.rowSpan=sd['rowspan']+1;lastTDElm=tdElm;}}trElm.parentNode.insertBefore(newTR,trElm);break;case"mceTableCutRow":if(!trElm||!tdElm)return true;inst.tableRowClipboard=copyRow(doc,tableElm,trElm);inst.execCommand("mceTableDeleteRow");break;case"mceTableCopyRow":if(!trElm||!tdElm)return true;inst.tableRowClipboard=copyRow(doc,tableElm,trElm);break;case"mceTablePasteRowBefore":if(!trElm||!tdElm)return true;var newTR=inst.tableRowClipboard.cloneNode(true);var prevTR=prevElm(trElm,"TR");if(prevTR!=null)trimRow(tableElm,prevTR,prevTR.cells[0],newTR);trElm.parentNode.insertBefore(newTR,trElm);break;case"mceTablePasteRowAfter":if(!trElm||!tdElm)return true;var nextTR=nextElm(trElm,"TR");var newTR=inst.tableRowClipboard.cloneNode(true);trimRow(tableElm,trElm,tdElm,newTR);if(nextTR==null)trElm.parentNode.appendChild(newTR);else nextTR.parentNode.insertBefore(newTR,nextTR);break;case"mceTableInsertRowAfter":if(!trElm||!tdElm)return true;var grid=getTableGrid(tableElm);var cpos=getCellPos(grid,tdElm);var newTR=doc.createElement("tr");var lastTDElm=null;for(var x=0;tdElm=getCell(grid,cpos.rowindex,x);x++){if(tdElm!=lastTDElm){var sd=getColRowSpan(tdElm);if(sd['rowspan']==1){var newTD=doc.createElement("td");newTD.innerHTML="&nbsp;";newTD.colSpan=tdElm.colSpan;newTR.appendChild(newTD);}else tdElm.rowSpan=sd['rowspan']+1;lastTDElm=tdElm;}}if(newTR.hasChildNodes()){var nextTR=nextElm(trElm,"TR");if(nextTR)nextTR.parentNode.insertBefore(newTR,nextTR);else tableElm.appendChild(newTR);}break;case"mceTableDeleteRow":if(!trElm||!tdElm)return true;var grid=getTableGrid(tableElm);var cpos=getCellPos(grid,tdElm);if(grid.length==1){tableElm.parentNode.removeChild(tableElm);return true;}var cells=trElm.cells;var nextTR=nextElm(trElm,"TR");for(var x=0;x<cells.length;x++){if(cells[x].rowSpan>1){var newTD=cells[x].cloneNode(true);var sd=getColRowSpan(cells[x]);newTD.rowSpan=sd.rowspan-1;var nextTD=nextTR.cells[x];if(nextTD==null)nextTR.appendChild(newTD);else nextTR.insertBefore(newTD,nextTD);}}var lastTDElm=null;for(var x=0;tdElm=getCell(grid,cpos.rowindex,x);x++){if(tdElm!=lastTDElm){var sd=getColRowSpan(tdElm);if(sd.rowspan>1){tdElm.rowSpan=sd.rowspan-1;}else{trElm=tdElm.parentNode;if(trElm.parentNode)trElm._delete=true;}lastTDElm=tdElm;}}deleteMarked(tableElm);cpos.rowindex--;if(cpos.rowindex<0)cpos.rowindex=0;inst.selection.selectNode(getCell(grid,cpos.rowindex,0),true,true);break;case"mceTableInsertColBefore":if(!trElm||!tdElm)return true;var grid=getTableGrid(tableElm);var cpos=getCellPos(grid,tdElm);var lastTDElm=null;for(var y=0;tdElm=getCell(grid,y,cpos.cellindex);y++){if(tdElm!=lastTDElm){var sd=getColRowSpan(tdElm);if(sd['colspan']==1){var newTD=doc.createElement(tdElm.nodeName);newTD.innerHTML="&nbsp;";newTD.rowSpan=tdElm.rowSpan;tdElm.parentNode.insertBefore(newTD,tdElm);}else tdElm.colSpan++;lastTDElm=tdElm;}}break;case"mceTableInsertColAfter":if(!trElm||!tdElm)return true;var grid=getTableGrid(tableElm);var cpos=getCellPos(grid,tdElm);var lastTDElm=null;for(var y=0;tdElm=getCell(grid,y,cpos.cellindex);y++){if(tdElm!=lastTDElm){var sd=getColRowSpan(tdElm);if(sd['colspan']==1){var newTD=doc.createElement(tdElm.nodeName);newTD.innerHTML="&nbsp;";newTD.rowSpan=tdElm.rowSpan;var nextTD=nextElm(tdElm,"TD,TH");if(nextTD==null)tdElm.parentNode.appendChild(newTD);else nextTD.parentNode.insertBefore(newTD,nextTD);}else tdElm.colSpan++;lastTDElm=tdElm;}}break;case"mceTableDeleteCol":if(!trElm||!tdElm)return true;var grid=getTableGrid(tableElm);var cpos=getCellPos(grid,tdElm);var lastTDElm=null;if(grid.length>1&&grid[0].length<=1){tableElm.parentNode.removeChild(tableElm);return true;}for(var y=0;tdElm=getCell(grid,y,cpos.cellindex);y++){if(tdElm!=lastTDElm){var sd=getColRowSpan(tdElm);if(sd['colspan']>1)tdElm.colSpan=sd['colspan']-1;else{if(tdElm.parentNode)tdElm.parentNode.removeChild(tdElm);}lastTDElm=tdElm;}}cpos.cellindex--;if(cpos.cellindex<0)cpos.cellindex=0;inst.selection.selectNode(getCell(grid,0,cpos.cellindex),true,true);break;case"mceTableSplitCells":if(!trElm||!tdElm)return true;var spandata=getColRowSpan(tdElm);var colspan=spandata["colspan"];var rowspan=spandata["rowspan"];if(colspan>1||rowspan>1){tdElm.colSpan=1;for(var i=1;i<colspan;i++){var newTD=doc.createElement("td");newTD.innerHTML="&nbsp;";trElm.insertBefore(newTD,nextElm(tdElm,"TD,TH"));if(rowspan>1)addRows(newTD,trElm,rowspan);}addRows(tdElm,trElm,rowspan);}tableElm=tinyMCE.getParentElement(inst.getFocusElement(),"table");break;case"mceTableMergeCells":var rows=new Array();var sel=inst.getSel();var grid=getTableGrid(tableElm);if(tinyMCE.isMSIE||sel.rangeCount==1){if(user_interface){var template=new Array();var sp=getColRowSpan(tdElm);template['file']='../../plugins/table/merge_cells.htm';template['width']=250;template['height']=105+(tinyMCE.isNS7?25:0);template['width']+=tinyMCE.getLang('lang_table_merge_cells_delta_width',0);template['height']+=tinyMCE.getLang('lang_table_merge_cells_delta_height',0);tinyMCE.openWindow(template,{editor_id:inst.editorId,inline:"yes",action:"update",numcols:sp.colspan,numrows:sp.rowspan});return true;}else{var numRows=parseInt(value['numrows']);var numCols=parseInt(value['numcols']);var cpos=getCellPos(grid,tdElm);if((""+numRows)=="NaN")numRows=1;if((""+numCols)=="NaN")numCols=1;var tRows=tableElm.rows;for(var y=cpos.rowindex;y<grid.length;y++){var rowCells=new Array();for(var x=cpos.cellindex;x<grid[y].length;x++){var td=getCell(grid,y,x);if(td&&!inArray(rows,td)&&!inArray(rowCells,td)){var cp=getCellPos(grid,td);if(cp.cellindex<cpos.cellindex+numCols&&cp.rowindex<cpos.rowindex+numRows)rowCells[rowCells.length]=td;}}if(rowCells.length>0)rows[rows.length]=rowCells;}}}else{var cells=new Array();var sel=inst.getSel();var lastTR=null;var curRow=null;var x1=-1,y1=-1,x2,y2;if(sel.rangeCount<2)return true;for(var i=0;i<sel.rangeCount;i++){var rng=sel.getRangeAt(i);var tdElm=rng.startContainer.childNodes[rng.startOffset];if(!tdElm)break;if(tdElm.nodeName=="TD")cells[cells.length]=tdElm;}var tRows=tableElm.rows;for(var y=0;y<tRows.length;y++){var rowCells=new Array();for(var x=0;x<tRows[y].cells.length;x++){var td=tRows[y].cells[x];for(var i=0;i<cells.length;i++){if(td==cells[i]){rowCells[rowCells.length]=td;}}}if(rowCells.length>0)rows[rows.length]=rowCells;}var curRow=new Array();var lastTR=null;for(var y=0;y<grid.length;y++){for(var x=0;x<grid[y].length;x++){grid[y][x]._selected=false;for(var i=0;i<cells.length;i++){if(grid[y][x]==cells[i]){if(x1==-1){x1=x;y1=y;}x2=x;y2=y;grid[y][x]._selected=true;}}}}for(var y=y1;y<=y2;y++){for(var x=x1;x<=x2;x++){if(!grid[y][x]._selected){alert("Invalid selection for merge.");return true;}}}}var rowSpan=1,colSpan=1;var lastRowSpan=-1;for(var y=0;y<rows.length;y++){var rowColSpan=0;for(var x=0;x<rows[y].length;x++){var sd=getColRowSpan(rows[y][x]);rowColSpan+=sd['colspan'];if(lastRowSpan!=-1&&sd['rowspan']!=lastRowSpan){alert("Invalid selection for merge.");return true;}lastRowSpan=sd['rowspan'];}if(rowColSpan>colSpan)colSpan=rowColSpan;lastRowSpan=-1;}var lastColSpan=-1;for(var x=0;x<rows[0].length;x++){var colRowSpan=0;for(var y=0;y<rows.length;y++){var sd=getColRowSpan(rows[y][x]);colRowSpan+=sd['rowspan'];if(lastColSpan!=-1&&sd['colspan']!=lastColSpan){alert("Invalid selection for merge.");return true;}lastColSpan=sd['colspan'];}if(colRowSpan>rowSpan)rowSpan=colRowSpan;lastColSpan=-1;}tdElm=rows[0][0];tdElm.rowSpan=rowSpan;tdElm.colSpan=colSpan;for(var y=0;y<rows.length;y++){for(var x=0;x<rows[y].length;x++){var html=rows[y][x].innerHTML;var chk=tinyMCE.regexpReplace(html,"[ \t\r\n]","");if(chk!="<br/>"&&chk!="<br>"&&chk!="&nbsp;"&&(x+y>0))tdElm.innerHTML+=html;if(rows[y][x]!=tdElm&&!rows[y][x]._deleted){var cpos=getCellPos(grid,rows[y][x]);var tr=rows[y][x].parentNode;tr.removeChild(rows[y][x]);rows[y][x]._deleted=true;if(!tr.hasChildNodes()){tr.parentNode.removeChild(tr);var lastCell=null;for(var x=0;cellElm=getCell(grid,cpos.rowindex,x);x++){if(cellElm!=lastCell&&cellElm.rowSpan>1)cellElm.rowSpan--;lastCell=cellElm;}if(tdElm.rowSpan>1)tdElm.rowSpan--;}}}}break;}tableElm=tinyMCE.getParentElement(inst.getFocusElement(),"table");tinyMCE.handleVisualAid(tableElm,true,tinyMCE.settings['visual'],tinyMCE.selectedInstance);tinyMCE.triggerNodeChange();inst.repaint();}return true;}return false;}};tinyMCE.addPlugin("table",TinyMCE_TablePlugin);
10343 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10343/524e24acf79702622c51dba4bb678337072e34b9/editor_plugin.js/buggy/mambots/editors/tinymce/jscripts/tiny_mce/plugins/table/editor_plugin.js
new Effect.Appear(update,{duration:0.15});
Effect.Appear(update,{duration:0.15});
function(element, update){ if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute'; Position.clone(element, update, {setHeight: false, offsetTop: element.offsetHeight}); } new Effect.Appear(update,{duration:0.15}); };
949 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/949/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/actionpack/lib/action_view/helpers/javascripts/controls.js
if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute';
if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute';
function(element, update){ if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute'; var offsets = Position.cumulativeOffset(element); update.style.left = offsets[0] + 'px'; update.style.top = (offsets[1] + element.offsetHeight) + 'px'; update.style.width = element.offsetWidth + 'px'; } new Effect.Appear(update,{duration:0.3}); };
167 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/167/16669774903dd7bfaaf1bf8f0c72e49ebaeffeeb/controls.js/buggy/railties/html/javascripts/controls.js
} new Effect.Appear(update,{duration:0.3}); };
} new Effect.Appear(update,{duration:0.15}); };
function(element, update){ if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute'; var offsets = Position.cumulativeOffset(element); update.style.left = offsets[0] + 'px'; update.style.top = (offsets[1] + element.offsetHeight) + 'px'; update.style.width = element.offsetWidth + 'px'; } new Effect.Appear(update,{duration:0.3}); };
167 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/167/16669774903dd7bfaaf1bf8f0c72e49ebaeffeeb/controls.js/buggy/railties/html/javascripts/controls.js
part.appendChild(document.createTextNode(init));
part.innerHTML = init;
(function(){ function makeTimePart(className, init, range_start, range_end) { var part = Calendar.createElement("span", cell); part.className = className; part.appendChild(document.createTextNode(init)); part.calendar = cal; part.ttip = Calendar._TT["TIME_PART"]; part.navtype = 50; part._range = []; if (typeof range_start != "number") part._range = range_start; else { for (var i = range_start; i <= range_end; ++i) { var txt; if (i < 10 && range_end >= 10) txt = '0' + i; else txt = '' + i; part._range[part._range.length] = txt; } } Calendar._add_evs(part); return part; }; var hrs = cal.date.getHours(); var mins = cal.date.getMinutes(); var t12 = !cal.time24; var pm = (hrs > 12); if (t12 && pm) hrs -= 12; var H = makeTimePart("hour", hrs, t12 ? 1 : 0, t12 ? 12 : 23); var span = Calendar.createElement("span", cell); span.appendChild(document.createTextNode(":")); span.className = "colon"; var M = makeTimePart("minute", mins, 0, 59); var AP = null; cell = Calendar.createElement("td", row); cell.className = "time"; cell.colSpan = 2; if (t12) AP = makeTimePart("ampm", pm ? "pm" : "am", ["am", "pm"]); else cell.innerHTML = "&nbsp;"; cal.onSetTime = function() { var hrs = this.date.getHours(); var mins = this.date.getMinutes(); var pm = (hrs > 12); if (pm && t12) hrs -= 12; H.firstChild.data = (hrs < 10) ? ("0" + hrs) : hrs; M.firstChild.data = (mins < 10) ? ("0" + mins) : mins; if (t12) AP.firstChild.data = pm ? "pm" : "am"; }; cal.onUpdateTime = function() { var date = this.date; var h = parseInt(H.firstChild.data, 10); if (t12) { if (/pm/i.test(AP.firstChild.data) && h < 12) h += 12; else if (/am/i.test(AP.firstChild.data) && h == 12) h = 0; } var d = date.getDate(); var m = date.getMonth(); var y = date.getFullYear(); date.setHours(h); date.setMinutes(parseInt(M.firstChild.data, 10)); date.setFullYear(y); date.setMonth(m); date.setDate(d); this.dateClicked = false; this.callHandler(); }; })();
5527 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5527/8aafb027d457b746fd546c4a097b431e06b00849/calendar.js/buggy/branches/BRANCH_0_8_6/cacti/include/jscalendar/calendar.js
span.appendChild(document.createTextNode(":"));
span.innerHTML = ":";
(function(){ function makeTimePart(className, init, range_start, range_end) { var part = Calendar.createElement("span", cell); part.className = className; part.appendChild(document.createTextNode(init)); part.calendar = cal; part.ttip = Calendar._TT["TIME_PART"]; part.navtype = 50; part._range = []; if (typeof range_start != "number") part._range = range_start; else { for (var i = range_start; i <= range_end; ++i) { var txt; if (i < 10 && range_end >= 10) txt = '0' + i; else txt = '' + i; part._range[part._range.length] = txt; } } Calendar._add_evs(part); return part; }; var hrs = cal.date.getHours(); var mins = cal.date.getMinutes(); var t12 = !cal.time24; var pm = (hrs > 12); if (t12 && pm) hrs -= 12; var H = makeTimePart("hour", hrs, t12 ? 1 : 0, t12 ? 12 : 23); var span = Calendar.createElement("span", cell); span.appendChild(document.createTextNode(":")); span.className = "colon"; var M = makeTimePart("minute", mins, 0, 59); var AP = null; cell = Calendar.createElement("td", row); cell.className = "time"; cell.colSpan = 2; if (t12) AP = makeTimePart("ampm", pm ? "pm" : "am", ["am", "pm"]); else cell.innerHTML = "&nbsp;"; cal.onSetTime = function() { var hrs = this.date.getHours(); var mins = this.date.getMinutes(); var pm = (hrs > 12); if (pm && t12) hrs -= 12; H.firstChild.data = (hrs < 10) ? ("0" + hrs) : hrs; M.firstChild.data = (mins < 10) ? ("0" + mins) : mins; if (t12) AP.firstChild.data = pm ? "pm" : "am"; }; cal.onUpdateTime = function() { var date = this.date; var h = parseInt(H.firstChild.data, 10); if (t12) { if (/pm/i.test(AP.firstChild.data) && h < 12) h += 12; else if (/am/i.test(AP.firstChild.data) && h == 12) h = 0; } var d = date.getDate(); var m = date.getMonth(); var y = date.getFullYear(); date.setHours(h); date.setMinutes(parseInt(M.firstChild.data, 10)); date.setFullYear(y); date.setMonth(m); date.setDate(d); this.dateClicked = false; this.callHandler(); }; })();
5527 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5527/8aafb027d457b746fd546c4a097b431e06b00849/calendar.js/buggy/branches/BRANCH_0_8_6/cacti/include/jscalendar/calendar.js
var hrs = this.date.getHours(); var mins = this.date.getMinutes(); var pm = (hrs > 12); if (pm && t12) hrs -= 12; H.firstChild.data = (hrs < 10) ? ("0" + hrs) : hrs; M.firstChild.data = (mins < 10) ? ("0" + mins) : mins; if (t12) AP.firstChild.data = pm ? "pm" : "am";
var pm, hrs = this.date.getHours(), mins = this.date.getMinutes(); if (t12) { pm = (hrs >= 12); if (pm) hrs -= 12; if (hrs == 0) hrs = 12; AP.innerHTML = pm ? "pm" : "am"; } H.innerHTML = (hrs < 10) ? ("0" + hrs) : hrs; M.innerHTML = (mins < 10) ? ("0" + mins) : mins;
(function(){ function makeTimePart(className, init, range_start, range_end) { var part = Calendar.createElement("span", cell); part.className = className; part.appendChild(document.createTextNode(init)); part.calendar = cal; part.ttip = Calendar._TT["TIME_PART"]; part.navtype = 50; part._range = []; if (typeof range_start != "number") part._range = range_start; else { for (var i = range_start; i <= range_end; ++i) { var txt; if (i < 10 && range_end >= 10) txt = '0' + i; else txt = '' + i; part._range[part._range.length] = txt; } } Calendar._add_evs(part); return part; }; var hrs = cal.date.getHours(); var mins = cal.date.getMinutes(); var t12 = !cal.time24; var pm = (hrs > 12); if (t12 && pm) hrs -= 12; var H = makeTimePart("hour", hrs, t12 ? 1 : 0, t12 ? 12 : 23); var span = Calendar.createElement("span", cell); span.appendChild(document.createTextNode(":")); span.className = "colon"; var M = makeTimePart("minute", mins, 0, 59); var AP = null; cell = Calendar.createElement("td", row); cell.className = "time"; cell.colSpan = 2; if (t12) AP = makeTimePart("ampm", pm ? "pm" : "am", ["am", "pm"]); else cell.innerHTML = "&nbsp;"; cal.onSetTime = function() { var hrs = this.date.getHours(); var mins = this.date.getMinutes(); var pm = (hrs > 12); if (pm && t12) hrs -= 12; H.firstChild.data = (hrs < 10) ? ("0" + hrs) : hrs; M.firstChild.data = (mins < 10) ? ("0" + mins) : mins; if (t12) AP.firstChild.data = pm ? "pm" : "am"; }; cal.onUpdateTime = function() { var date = this.date; var h = parseInt(H.firstChild.data, 10); if (t12) { if (/pm/i.test(AP.firstChild.data) && h < 12) h += 12; else if (/am/i.test(AP.firstChild.data) && h == 12) h = 0; } var d = date.getDate(); var m = date.getMonth(); var y = date.getFullYear(); date.setHours(h); date.setMinutes(parseInt(M.firstChild.data, 10)); date.setFullYear(y); date.setMonth(m); date.setDate(d); this.dateClicked = false; this.callHandler(); }; })();
5527 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5527/8aafb027d457b746fd546c4a097b431e06b00849/calendar.js/buggy/branches/BRANCH_0_8_6/cacti/include/jscalendar/calendar.js
var h = parseInt(H.firstChild.data, 10);
var h = parseInt(H.innerHTML, 10);
(function(){ function makeTimePart(className, init, range_start, range_end) { var part = Calendar.createElement("span", cell); part.className = className; part.appendChild(document.createTextNode(init)); part.calendar = cal; part.ttip = Calendar._TT["TIME_PART"]; part.navtype = 50; part._range = []; if (typeof range_start != "number") part._range = range_start; else { for (var i = range_start; i <= range_end; ++i) { var txt; if (i < 10 && range_end >= 10) txt = '0' + i; else txt = '' + i; part._range[part._range.length] = txt; } } Calendar._add_evs(part); return part; }; var hrs = cal.date.getHours(); var mins = cal.date.getMinutes(); var t12 = !cal.time24; var pm = (hrs > 12); if (t12 && pm) hrs -= 12; var H = makeTimePart("hour", hrs, t12 ? 1 : 0, t12 ? 12 : 23); var span = Calendar.createElement("span", cell); span.appendChild(document.createTextNode(":")); span.className = "colon"; var M = makeTimePart("minute", mins, 0, 59); var AP = null; cell = Calendar.createElement("td", row); cell.className = "time"; cell.colSpan = 2; if (t12) AP = makeTimePart("ampm", pm ? "pm" : "am", ["am", "pm"]); else cell.innerHTML = "&nbsp;"; cal.onSetTime = function() { var hrs = this.date.getHours(); var mins = this.date.getMinutes(); var pm = (hrs > 12); if (pm && t12) hrs -= 12; H.firstChild.data = (hrs < 10) ? ("0" + hrs) : hrs; M.firstChild.data = (mins < 10) ? ("0" + mins) : mins; if (t12) AP.firstChild.data = pm ? "pm" : "am"; }; cal.onUpdateTime = function() { var date = this.date; var h = parseInt(H.firstChild.data, 10); if (t12) { if (/pm/i.test(AP.firstChild.data) && h < 12) h += 12; else if (/am/i.test(AP.firstChild.data) && h == 12) h = 0; } var d = date.getDate(); var m = date.getMonth(); var y = date.getFullYear(); date.setHours(h); date.setMinutes(parseInt(M.firstChild.data, 10)); date.setFullYear(y); date.setMonth(m); date.setDate(d); this.dateClicked = false; this.callHandler(); }; })();
5527 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5527/8aafb027d457b746fd546c4a097b431e06b00849/calendar.js/buggy/branches/BRANCH_0_8_6/cacti/include/jscalendar/calendar.js
if (/pm/i.test(AP.firstChild.data) && h < 12)
if (/pm/i.test(AP.innerHTML) && h < 12)
(function(){ function makeTimePart(className, init, range_start, range_end) { var part = Calendar.createElement("span", cell); part.className = className; part.appendChild(document.createTextNode(init)); part.calendar = cal; part.ttip = Calendar._TT["TIME_PART"]; part.navtype = 50; part._range = []; if (typeof range_start != "number") part._range = range_start; else { for (var i = range_start; i <= range_end; ++i) { var txt; if (i < 10 && range_end >= 10) txt = '0' + i; else txt = '' + i; part._range[part._range.length] = txt; } } Calendar._add_evs(part); return part; }; var hrs = cal.date.getHours(); var mins = cal.date.getMinutes(); var t12 = !cal.time24; var pm = (hrs > 12); if (t12 && pm) hrs -= 12; var H = makeTimePart("hour", hrs, t12 ? 1 : 0, t12 ? 12 : 23); var span = Calendar.createElement("span", cell); span.appendChild(document.createTextNode(":")); span.className = "colon"; var M = makeTimePart("minute", mins, 0, 59); var AP = null; cell = Calendar.createElement("td", row); cell.className = "time"; cell.colSpan = 2; if (t12) AP = makeTimePart("ampm", pm ? "pm" : "am", ["am", "pm"]); else cell.innerHTML = "&nbsp;"; cal.onSetTime = function() { var hrs = this.date.getHours(); var mins = this.date.getMinutes(); var pm = (hrs > 12); if (pm && t12) hrs -= 12; H.firstChild.data = (hrs < 10) ? ("0" + hrs) : hrs; M.firstChild.data = (mins < 10) ? ("0" + mins) : mins; if (t12) AP.firstChild.data = pm ? "pm" : "am"; }; cal.onUpdateTime = function() { var date = this.date; var h = parseInt(H.firstChild.data, 10); if (t12) { if (/pm/i.test(AP.firstChild.data) && h < 12) h += 12; else if (/am/i.test(AP.firstChild.data) && h == 12) h = 0; } var d = date.getDate(); var m = date.getMonth(); var y = date.getFullYear(); date.setHours(h); date.setMinutes(parseInt(M.firstChild.data, 10)); date.setFullYear(y); date.setMonth(m); date.setDate(d); this.dateClicked = false; this.callHandler(); }; })();
5527 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5527/8aafb027d457b746fd546c4a097b431e06b00849/calendar.js/buggy/branches/BRANCH_0_8_6/cacti/include/jscalendar/calendar.js
else if (/am/i.test(AP.firstChild.data) && h == 12)
else if (/am/i.test(AP.innerHTML) && h == 12)
(function(){ function makeTimePart(className, init, range_start, range_end) { var part = Calendar.createElement("span", cell); part.className = className; part.appendChild(document.createTextNode(init)); part.calendar = cal; part.ttip = Calendar._TT["TIME_PART"]; part.navtype = 50; part._range = []; if (typeof range_start != "number") part._range = range_start; else { for (var i = range_start; i <= range_end; ++i) { var txt; if (i < 10 && range_end >= 10) txt = '0' + i; else txt = '' + i; part._range[part._range.length] = txt; } } Calendar._add_evs(part); return part; }; var hrs = cal.date.getHours(); var mins = cal.date.getMinutes(); var t12 = !cal.time24; var pm = (hrs > 12); if (t12 && pm) hrs -= 12; var H = makeTimePart("hour", hrs, t12 ? 1 : 0, t12 ? 12 : 23); var span = Calendar.createElement("span", cell); span.appendChild(document.createTextNode(":")); span.className = "colon"; var M = makeTimePart("minute", mins, 0, 59); var AP = null; cell = Calendar.createElement("td", row); cell.className = "time"; cell.colSpan = 2; if (t12) AP = makeTimePart("ampm", pm ? "pm" : "am", ["am", "pm"]); else cell.innerHTML = "&nbsp;"; cal.onSetTime = function() { var hrs = this.date.getHours(); var mins = this.date.getMinutes(); var pm = (hrs > 12); if (pm && t12) hrs -= 12; H.firstChild.data = (hrs < 10) ? ("0" + hrs) : hrs; M.firstChild.data = (mins < 10) ? ("0" + mins) : mins; if (t12) AP.firstChild.data = pm ? "pm" : "am"; }; cal.onUpdateTime = function() { var date = this.date; var h = parseInt(H.firstChild.data, 10); if (t12) { if (/pm/i.test(AP.firstChild.data) && h < 12) h += 12; else if (/am/i.test(AP.firstChild.data) && h == 12) h = 0; } var d = date.getDate(); var m = date.getMonth(); var y = date.getFullYear(); date.setHours(h); date.setMinutes(parseInt(M.firstChild.data, 10)); date.setFullYear(y); date.setMonth(m); date.setDate(d); this.dateClicked = false; this.callHandler(); }; })();
5527 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5527/8aafb027d457b746fd546c4a097b431e06b00849/calendar.js/buggy/branches/BRANCH_0_8_6/cacti/include/jscalendar/calendar.js

Dataset Card for CoCoNuT-JavaScript(2010)

Dataset Summary

Part of the data used to train the models in the "CoCoNuT: Combining Context-Aware Neural Translation Models using Ensemble for Program Repair" paper. These datasets contain raw data extracted from GitHub, GitLab, and Bitbucket, and have neither been shuffled nor tokenized. The year in the dataset’s name is the cutting year that shows the year of the newest commit in the dataset.

Languages

  • JavaScript

Dataset Structure

Data Fields

The dataset consists of 4 columns: add, rem, context, and meta. These match the original dataset files: add.txt, rem.txt, context.txt, and meta.txt.

Data Instances

There is a mapping between the 4 columns for each instance. For example:

5 first rows of rem (i.e., the buggy line/hunk):

1 public synchronized StringBuffer append(char ch)
2 ensureCapacity_unsynchronized(count + 1); value[count++] = ch; return this;
3 public String substring(int beginIndex, int endIndex)
4 if (beginIndex < 0 || endIndex > count || beginIndex > endIndex) throw new StringIndexOutOfBoundsException(); if (beginIndex == 0 && endIndex == count) return this; int len = endIndex - beginIndex;  return new String(value, beginIndex + offset, len, (len << 2) >= value.length);
5 public Object next() {

5 first rows of add (i.e., the fixed line/hunk):

1 public StringBuffer append(Object obj)
2 return append(obj == null ? "null" : obj.toString());
3 public String substring(int begin)
4 return substring(begin, count);
5 public FSEntry next() {

These map to the 5 instances:

- public synchronized StringBuffer append(char ch)
+ public StringBuffer append(Object obj)
- ensureCapacity_unsynchronized(count + 1); value[count++] = ch; return this;
+ return append(obj == null ? "null" : obj.toString());
- public String substring(int beginIndex, int endIndex)
+ public String substring(int begin)
- if (beginIndex < 0 || endIndex > count || beginIndex > endIndex) throw new StringIndexOutOfBoundsException(); if (beginIndex == 0 && endIndex == count) return this; int len = endIndex - beginIndex;  return new String(value, beginIndex + offset, len, (len << 2) >= value.length);
+ return substring(begin, count);
- public Object next() {
+ public FSEntry next() { 

context contains the associated "context". Context is the (in-lined) buggy function (including the buggy lines and comments). For example, the context of

public synchronized StringBuffer append(char ch)

is its associated function:

public synchronized StringBuffer append(char ch)  {    ensureCapacity_unsynchronized(count + 1);    value[count++] = ch;    return this;  }

meta contains some metadata about the project:

1056	/local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/68a6301301378680519f2b146daec37812a1bc22/StringBuffer.java/buggy/core/src/classpath/java/java/lang/StringBuffer.java

1056 is the project id. /local/... is the absolute path to the buggy file. This can be parsed to extract the commit id: 68a6301301378680519f2b146daec37812a1bc22, the file name: StringBuffer.java and the original path within the project core/src/classpath/java/java/lang/StringBuffer.java

Number of projects Number of Instances
10,163 2,254,253

Dataset Creation

Curation Rationale

Data is collected to train automated program repair (APR) models.

Citation Information

@inproceedings{lutellierCoCoNuTCombiningContextaware2020,
  title = {{{CoCoNuT}}: Combining Context-Aware Neural Translation Models Using Ensemble for Program Repair},
  shorttitle = {{{CoCoNuT}}},
  booktitle = {Proceedings of the 29th {{ACM SIGSOFT International Symposium}} on {{Software Testing}} and {{Analysis}}},
  author = {Lutellier, Thibaud and Pham, Hung Viet and Pang, Lawrence and Li, Yitong and Wei, Moshi and Tan, Lin},
  year = {2020},
  month = jul,
  series = {{{ISSTA}} 2020},
  pages = {101--114},
  publisher = {{Association for Computing Machinery}},
  address = {{New York, NY, USA}},
  doi = {10.1145/3395363.3397369},
  url = {https://doi.org/10.1145/3395363.3397369},
  urldate = {2022-12-06},
  isbn = {978-1-4503-8008-9},
  keywords = {AI and Software Engineering,Automated program repair,Deep Learning,Neural Machine Translation}
}
Downloads last month
86
Edit dataset card

Collection including h4iku/coconut_javascript2010