
/*/////////////////////////////////////////////////////////////////////////////////
                    loadComplete (wird vor </body> aufgerufen)
/////////////////////////////////////////////////////////////////////////////////*/
/**
 * @projectDescription wird vor &lt;/body&gt; aufgerufen,	Beinhaltet die Anweisungen die beim onLoad ausgeführt werden sollen.
 */
function loadComplete(){
	

  loadGMaps();
	parseExternalLinks();
	var dropdown = new DrMenu('menu');
	dropdown.init();
	
  if(document.getElementById('q_jscalender1')){	
  	q_kalender1 = new Calender(document.getElementById('q_jscalender1'), 'de');
  	q_kalender1.callBackFunction = function(tag,monat,jahr){
  		document.forms[0].vdd.value = tag;
  		document.forms[0].vmm.value = monat;
  		document.forms[0].vyy.value = jahr;
  		q_kalender1.hide();
  	}
  	q_kalender2 = new Calender(document.getElementById('q_jscalender2'), 'de');
  	q_kalender2.callBackFunction = function(tag,monat,jahr){
  		document.forms[0].bdd.value = tag;
  		document.forms[0].bmm.value = monat;
  		document.forms[0].byy.value = jahr;
  		q_kalender2.hide();
  	}
  } 
  /* Hier die Anweisungen einfügen */
}

/*/////////////////////////////////////////////////////////////////////////////////
                                       popup
	öffnet ein neuse Fenster,
	obj = Link der das Fenster öffnet
	w = Breite des Fensters
	h = Höhe des Fensters
/////////////////////////////////////////////////////////////////////////////////*/
/**
 * @projectDescription öffnet ein neues Browserfenster falls möglich, ansonsten wird die url des Links direkt aufgerufen.
 * @param {LinkObject} obj
 * @param {Breite} w
 * @param {Hoehe} h
 * @return {Boolean}
 */

function popup(obj,w,h) {
	var url = (obj.getAttribute) ? obj.getAttribute('href') : obj.href;
	if (!url) return true;
	if(w && h){
		var args = 'width='+w+',height='+h+',resizable=yes';
	}
	else{
		var args = 'resizable=yes,hotkeys=yes,location=yes,menubar=yes,scrollbars=yes,status=yes,toolbar=yes';
	}
	pop = window.open(url,'',args);
	return (pop) ? false : true;
}

/*/////////////////////////////////////////////////////////////////////////////////
                                 parseExternalLinks
	öffnet Links mit target="_blank" oder rel="external" in einem neuen Fenster
/////////////////////////////////////////////////////////////////////////////////*/
/**
 * @projectDescription öffnet Links mit target="_blank" oder rel="external" in einem neuen Fenster (sollte in der loadComplete-Funktion aufgerufen werden)
 */
function parseExternalLinks(){
	for(i=0; i<document.getElementsByTagName("a").length; i++){
		zwobj = document.getElementsByTagName("a")[i];
		if(zwobj.getAttribute && zwobj.getAttribute('rel') && zwobj.getAttribute('rel') == "external"){
			zwobj.onclick = function(){
				return popup(this);	
			}
		}
		else if((zwobj.getAttribute) ? zwobj.getAttribute('target') : zwobj.target == "_blank"){
			zwobj.onclick = function(){
				return popup(this);
			}
			zwobj.target="";
		} 
    }
}

/*/////////////////////////////////////////////////////////////////////////////////
                                      Ajax
	getNewHttpObject() giebt ein neues Ajax-Objekt zurück
	getsrc(url,elementContainer) füllte den elementContainer mit dem Quellcode von 
	der angegebenen url
/////////////////////////////////////////////////////////////////////////////////*/
/**
 * @projectDescription giebt ein neues Ajax-Objekt zurück
 * @return {XMLHttpRequest}
 */
function getNewHttpObject() {
    var objType = false;
    try {
        objType = new ActiveXObject('Msxml2.XMLHTTP');
    } catch(e) {
        try {
            objType = new ActiveXObject('Microsoft.XMLHTTP');
        } catch(e) {
            objType = new XMLHttpRequest();
        }
    }
    return objType;
}
/**
 * @projectDescription füllte den elementContainer mit dem Quellcode von url
 * @param {String} url
 * @param {id} elementContainer
 */
function getsrc(url,elementContainer){
	document.getElementById(elementContainer).innerHTML = '<blink>Loading...<\/blink>';
	var theHttpRequest = getNewHttpObject();
	theHttpRequest.onreadystatechange = function() {processAXAH(elementContainer);};
	theHttpRequest.open("GET", url);
	theHttpRequest.send(false);
	function processAXAH(elementContainer){
	   if (theHttpRequest.readyState == 4) {
		   if (theHttpRequest.status == 200) {
			   document.getElementById(elementContainer).innerHTML = theHttpRequest.responseText;
		   } else {
			   document.getElementById(elementContainer).innerHTML="<p><span class='redtxt'>Error!<\/span> HTTP request return the following status message:&nbsp;" + theHttpRequest.statusText +"<\/p>";
		   }
	   }
	}			
}

/*/////////////////////////////////////////////////////////////////////////////////
                                    JS Kalender
	Beispiel:
		kalender = new Calender(document.getElementById('jscalender'), 'de');
		kalender.callBackFunction = function(tag,monat,jahr){
			document.forms[0].vdd.value = tag;
			document.forms[0].vmm.value = monat;
			document.forms[0].vyy.value = jahr;
			kalender.hide();
		}
	callBackFunction wird aufgerufen wenn auf ein Datum geklickt wird
/////////////////////////////////////////////////////////////////////////////////*/
/**
 * @projectDescription JS Kalender, callBackFunction wird aufgerufen wenn auf ein Item geklickt wird
 * @param {String} obref
 * @param {String} lang
 */
function Calender(obref, lang){
	var self = this;
	this.obref = obref;
	this.day_names_l = new Array();
	this.month_names_l = new Array();
	this.day_names_l['de'] = new Array('Mo','Di','Mi','Do','Fr','Sa','So');
	this.month_names_l['de'] = new Array('Jänner','Februar','März','April','Mai','Juni','Juli','August','September','Oktober','November','Dezember');
	this.day_names_l['en'] = new Array('Mo','Tu','We','Th','Fr','Sa','Su');
	this.month_names_l['en'] = new Array('January','February','March','April','May','June','July','August','September','October','November','December');
	this.day_names_l['fr'] = new Array('Lu','Ma','Me','Je','Ve','Sa','Di');
	this.month_names_l['fr'] = new Array('Janvier','Février','Mars','Avril','Mai','Juin','Juillet','Août','Septembre','Octobre','Novembre','Décembre');
	this.day_names_l['it'] = new Array('Lun','Mar','Mer','Gio','Ven','Sab','Dom');
	this.month_names_l['it'] = new Array('gennaio','febbraio','marzo','aprile','maggio','giugno','luglio','agosto','settembre','ottobre','novembre','dicembre');
	this.day_names = this.day_names_l[lang];
	this.month_names = this.month_names_l[lang];
	this.days = new Array();
	/**
	 * @projectDescription initialisiert den Kalender und befüllt den Container mit HTML-Code
	 */
	this.init = function(){
		html_output = '<div class="jsc_head"><a class="jsc_back" href="javascript:void(0);">&laquo;</a><h2></h2><a class="jsc_next" href="javascript:void(0);">&raquo;</a></div>\n';
		html_output += '<div class="jsc_body">\n';
		for(i=0;i<7;i++){
			html_output += '<span>' + self.day_names[i] + '</span>\n';
		}
		zw=0;
		for(i=0;i<41;i++){
			zw++;
			if(zw==6 || zw==7){
				html_output += '<a href="javascript:void(0);" class="jsc_special"></a>\n';
			}
			else{
				html_output += '<a href="javascript:void(0);"></a>\n';
			}
			if(zw==7){
				zw=0;
			}
		}
		html_output += '<a class="jsc_close" href="javascript:void(0);">x</a>\n';
		html_output += '</div>';
		self.obref.innerHTML = html_output;
		self.obref.getElementsByTagName('a')[self.obref.getElementsByTagName('a').length-1].onclick = function(){
			self.hide();
		}
		self.obref.getElementsByTagName('a')[0].onclick = function(){
			if(self.akt_month>1){
				self.setDate(self.akt_month-1, self.akt_year);
			}
			else{
				self.setDate(12, self.akt_year-1);
			}
		}
		self.obref.getElementsByTagName('a')[1].onclick = function(){
			if(self.akt_month<12){
				self.setDate(self.akt_month+1, self.akt_year);
			}
			else{
				self.setDate(1, self.akt_year+1);
			}
		}
		for(i=2;i<43;i++){
			self.obref.getElementsByTagName('a')[i].onclick = function(){
				self.itemOnClick(this);
			}
		}
		zw = new Date();
	}
	/**
	 * @projectDescription blendet den Kalender ein
	 */
	this.show = function(){
		self.obref.style.display = 'block';
	}
	/**
	 * @projectDescription blendet den Kalender aus
	 */
	this.hide = function(){
		self.obref.style.display = 'none';	
	}
	/**
	 * @projectDescription setzt Monat und Jahr
	 */
	this.setDate = function(month, year){
		self.akt_month = month;
		self.akt_year = year;
		blankdays = new Date(year,month-1,1).getDay();
		blankdays += -1;
		if(blankdays<0){
			blankdays=6;
		}
		for(i=27;month-1==new Date(year,month-1,i).getMonth();i++){
			maxdays = i;
		}
		for(i=0;i<blankdays+1;i++){
			self.days[i] = '';
		}
		for(i=i-1;i<maxdays+blankdays;i++){
			self.days[i] = i-blankdays+1;
		}
		for(;i<41;i++){
			self.days[i] = '';
		}
		self.aktualHTML();
	}
	/**
	 * @projectDescription aktualisiert den HTML-Code des Kalenders
	 */
	this.aktualHTML = function(){
		self.obref.getElementsByTagName('h2')[0].innerHTML = self.month_names[self.akt_month-1] + ' ' + self.akt_year;
		for(i=0;i<self.days.length;i++){
			self.obref.getElementsByTagName('a')[i+2].innerHTML = self.days[i];
			self.obref.getElementsByTagName('a')[i+2].className = self.obref.getElementsByTagName('a')[i+2].className.replace(/jsc_blank/gi, '');
			if(self.days[i]==""){
				self.obref.getElementsByTagName('a')[i+2].className += " jsc_blank";
			}
		}
	}
	/**
	 * @projectDescription wird aufgerufen wenn ein Item ausgewält wird
	 * @param {Object} obj
	 */
	this.itemOnClick = function(obj){
		if(obj.innerHTML!=''){
			self.callBackFunction(obj.innerHTML*1,self.akt_month,self.akt_year);
		}
	}
	this.hide();
	this.init();
	self.setDate(zw.getMonth()+1,zw.getFullYear());
}


function startSlideShow(object, path, size){
	object.picsize = size;
	object.aktpic = 0;
	object.path = path;
	setTimeout('runSlideShow("' + object.id + '")', 4000);
}
function runSlideShow(objectid){
	object = document.getElementById(objectid);
	if (document.all){
		object.style.filter='blendTrans(duration='+'2'+')';
		object.filters.blendTrans.Apply();   
	}
	object.aktpic++;
	if(object.aktpic>=object.picsize){
		object.aktpic=0;
	}
	object.src = object.path + object.aktpic + ".jpg";
	if (document.all){
		object.filters.blendTrans.Play();
	}
	setTimeout('runSlideShow("' + objectid + '")', 4000);
}

///// GOOOOOOGLE MAPS ///////

    function loadGMaps() {
	if(!document.getElementById("map")){
		return false;
	}
if (GBrowserIsCompatible()) {


// Marker erstellen
function createMarker(point,icon,html) {
 var marker = new GMarker(point,icon);

// Zeige Info Fenster bei Klick
 GEvent.addListener(marker, 'click', function() {
	marker.openInfoWindowHtml(html);
 });
	return marker;
	
}

// Karte auf Gizeh Pyramiden ausrichten, Zoom und Navigationsleiste anzeigen, Kartentyp festlegen
var map = new GMap2(document.getElementById("map"));


 //Kartenposition anzeigen:
//GEvent.addListener(map, "moveend", function() {
// var center = map.getCenter();
// document.getElementById("message").innerHTML = center.toString();
//});


// navigation links
map.addControl(new GLargeMapControl());
// map.addControl(new GSmallMapControl());

// Map Satellite Hybrid rechts oben
map.addControl(new GMapTypeControl());

map.setCenter(new GLatLng(46.82939226711914, 12.769728899002075), 15, G_NORMAL_MAP);
map.setCenter(new GLatLng(46.82939226711914, 12.769728899002075), 15);


// Create our "tiny" marker icon
var icon = new GIcon();
icon.image = "/nav/traube.png";
icon.shadow = "/nav/map_shadow.png";
icon.iconSize = new GSize(165, 71);
icon.shadowSize = new GSize(89, 77);
icon.iconAnchor = new GPoint(0, 71);
icon.infoWindowAnchor = new GPoint(0, 71);



// Icons mit Info-Fenster 
var point = new GLatLng(46.82939226711914, 12.769728899002075);
var html= "<div style='width:165px;font-family:Verdana,Arial;font-size:11px;'><strong>Romantikhotel Vergeiner's Traube</strong><br />Hauptplatz 14 . A-9900 Lienz<br /><a href='mailto:info@hoteltraube.at'>info@hoteltraube.at</a><br /><a href='/anfrage/?lang=de'>unverbindlich anfragen</a></div>";
var marker = createMarker(point,icon,html)
map.addOverlay(marker);

}
    }



/* ////////////////////////////////////////////////////////////////                            
                               By i4m                              
///////////////////////////////////////////////////////////////////

Struktur:
<ul>
	<li><a>TXT</a>
		<ul>
			<li><a>TXT</a>
		</ul>
	</li>
</ul>

<ul>
	<span><a>TXT</a>
		<div>
			<span><a>TXT</a></span>
		</div>
	</span>
</ul>
*/

function DrMenu(menuid){
	var self = this;
	this.menuid = menuid;
	this.active_items = new Array();  // Array für aktive Elemente
	this.html_menu = document.getElementById(this.menuid);  // Referenz auf die UL des Menus
	this.menu_event = "over"; // over oder click möglich
	this.show_parent_active = true; // wenn der/die Parent(s) aktiv bleiben sollen wird über die .hover classe gesteuert
	this.linkOut = true;  // ob beim überfahren einens anderen Menüpunktes das aktive Submenu verschwinden soll.
	this.needIeSelectBoxBugFix = ((navigator.appVersion.indexOf("MSIE 5") != -1 || navigator.appVersion.indexOf("MSIE 6") != -1) && navigator.userAgent.indexOf("Opera")==-1); // ob der IeSelectBoxBug gefixt werden muss
	this.init = function(){
		this.html_menu.obref = this;  // Referenz auf das DrMenu-Object
		this.html_menu.innerHTML = this.html_menu.innerHTML.replace(/<UL([^>]*)>/gi, '<div$1>').replace(/<\/UL>/gi, "</div>").replace(/<LI([^>]*)>/gi, '<span$1>').replace(/<\/LI>/gi, "</span>");  // ul wird durch div ersetzt und li durch span
		for(i=0; i<this.html_menu.getElementsByTagName("a").length; i++){  // Ereignissfunktionen werden gesetzt
			if(this.menu_event=="over" && this.html_menu.getElementsByTagName("a")[i].parentNode.getElementsByTagName("div").length>0){  // Wenn der Link ein Submenü beinhaltet
				this.html_menu.getElementsByTagName("a")[i].onmouseover = this.itemOver;
				this.html_menu.getElementsByTagName("a")[i].onmouseout = this.itemOut;
				this.html_menu.getElementsByTagName("a")[i].className += " nextlevel";
				this.html_menu.getElementsByTagName("a")[i].parentNode.getElementsByTagName("div")[0].onmouseover = this.drOver;
				this.html_menu.getElementsByTagName("a")[i].parentNode.getElementsByTagName("div")[0].onmouseout = this.drOut;
				this.html_menu.getElementsByTagName("a")[i].parentNode.getElementsByTagName("div")[0].style.display = "block";  // Das Submenü wird sichtbar gemacht (für die Breitenfeststellung nötig)
				this.setClassWidth(this.html_menu.getElementsByTagName("a")[i].parentNode.getElementsByTagName("div")[0]);  // Breitenfeststellung und Setzung
			}
			else if(this.menu_event=="over" && this.linkOut){  // Wenn der Link kein Submenü beinhaltet
				this.html_menu.getElementsByTagName("a")[i].onmouseover = this.lwsmItemOver;
			}
			else if(this.menu_event=="click" && this.html_menu.getElementsByTagName("a")[i].parentNode.getElementsByTagName("div").length>0){
				this.html_menu.getElementsByTagName("a")[i].onclick = this.itemOver;
				this.html_menu.getElementsByTagName("a")[i].parentNode.getElementsByTagName("div")[0].style.display = "block";  // Das Submenü wird sichtbar gemacht (für die Breitenfeststellung nötig)
				this.setClassWidth(this.html_menu.getElementsByTagName("a")[i].parentNode.getElementsByTagName("div")[0]);  // Breitenfeststellung und Setzung
			}
		}
		for(i=this.html_menu.getElementsByTagName("a").length-1; i>=0; i--){
			if(this.html_menu.getElementsByTagName("a")[i].parentNode.getElementsByTagName("div").length>0){
				this.html_menu.getElementsByTagName("a")[i].parentNode.getElementsByTagName("div")[0].style.display = "none";
				this.html_menu.getElementsByTagName("a")[i].parentNode.getElementsByTagName("div")[0].style.width = this.html_menu.getElementsByTagName("a")[i].parentNode.getElementsByTagName("div")[0].zw_width
			}
		}
	}
	this.lwsmItemOver = function(){
		for(i=0; i<this.parentNode.parentNode.getElementsByTagName("div").length; i++){
			if(this.parentNode.parentNode.getElementsByTagName("div")[i].style.display == "block"){
				self.itemOutTime(this.parentNode.parentNode.getElementsByTagName("div")[i].parentNode.getElementsByTagName("a")[0]);
			}
		}
	}
	this.itemOver = function(){
		zw = true;
		for(i=0; i<this.parentNode.getElementsByTagName("div").length; i++){
			if(this.parentNode.getElementsByTagName("div")[i].style.display == "block"){
				zw=false;
				break;
			}
		}
		if(zw){		
			for(i=0; i<	self.active_items.length; i++){
				self.itemOutTime(self.active_items[i]);
			}
			old_items = self.active_items;
			self.active_items = new Array();
			for(zw=this;zw; zw=zw.parentNode.parentNode.parentNode.getElementsByTagName("a")[0]){
				if(!zw.parentNode.getElementsByTagName("div")[0]){
					zw=false;
					break;
				}
				zw.parentNode.getElementsByTagName("div")[0].style.display = "block";
				self.active_items[self.active_items.length] = zw;
				if(zw.parentNode.parentNode.id==self.menuid){
					zw=false;
					break;
				}
			}
		}
		this.parentNode.getElementsByTagName("div")[0].style.display = "block";
		if(self.show_parent_active){
			this.className += " hover";
		}
		if(old_items){
			for(i=0; i<old_items.length; i++){
				zw=false;
				for(j=0; j<self.active_items.length; j++){
					if(old_items[i].parentNode.innerHTML == self.active_items[j].parentNode.innerHTML){
						zw=true;
						break;
					}
				}
				if(!zw){
					self.itemOutTime(old_items[i]);
				}
			}
			old_items = false;
		}
		if(this.timeout){
			clearTimeout(this.timeout);
		}
	}
	this.drOver = function(){
		this.parentNode.getElementsByTagName("a")[0].onmouseover();
	}
	this.drOut = function(){
		this.parentNode.getElementsByTagName("a")[0].onmouseout();
	}
	this.itemOut = function(){
		this.timeout = setTimeout(function(a,b) { return function() { b.itemOutTime(a); } } (this,self), 300);
	}
	this.itemOutTime = function(object){
		object.parentNode.getElementsByTagName("div")[0].style.display = "none";
		object.className = object.className.replace(/hover/g, "");
	}
	this.setClassWidth = function(object){
		maxwidth = 0;
		for(j=0; j<object.childNodes.length; j++){
			if(object.childNodes[j].getElementsByTagName){
				if(object.childNodes[j].getElementsByTagName("a")[0].offsetWidth>maxwidth){
					maxwidth = object.childNodes[j].getElementsByTagName("a")[0].offsetWidth;
				}
			}
		}
		for(j=0; j<object.childNodes.length; j++){
			if(object.childNodes[j].getElementsByTagName){
				if((maxwidth - getCurrentStyle(object.childNodes[j].getElementsByTagName("a")[0], 'padding-left').replace(/px/, "") - getCurrentStyle(object.childNodes[j].getElementsByTagName("a")[0], 'padding-right').replace(/px/, "")) < 0){
					object.childNodes[j].getElementsByTagName("a")[0].style.width = "0px";
				}
				else{
					object.childNodes[j].getElementsByTagName("a")[0].style.width = (maxwidth - getCurrentStyle(object.childNodes[j].getElementsByTagName("a")[0], 'padding-left').replace(/px/, "") - getCurrentStyle(object.childNodes[j].getElementsByTagName("a")[0], 'padding-right').replace(/px/, "")) + "px";
				}
				if(navigator.appVersion.indexOf("MSIE 5.5") != -1 || navigator.appVersion.indexOf("MSIE 5.0") != -1){
					object.childNodes[j].getElementsByTagName("a")[0].style.width = maxwidth;
				}
				if(object.childNodes[j].getElementsByTagName("div").length>0){
					object.childNodes[j].getElementsByTagName("div")[0].style.left = maxwidth + "px";
				}
			}
		}
		object.zw_width = maxwidth + "px";
		if(self.needIeSelectBoxBugFix){  // Nur für IE 5 bis 6
			zw_iframe = document.createElement("iframe");
			object.insertBefore(zw_iframe, object.firstChild);
			zw_iframe.style.position = "absolute";
			zw_iframe.style.filter = 'alpha(opacity=0)';
			zw_iframe.style.left = (getCurrentStyle(object, "border-left-width").replace(/px/g, "")*(-1)) + (getCurrentStyle(object, "padding-left").replace(/px/g, "")*(-1)) + "px";
			zw_iframe.style.top = (getCurrentStyle(object, "border-top-width").replace(/px/g, "")*(-1)) + (getCurrentStyle(object, "padding-top").replace(/px/g, "")*(-1)) + "px";
			zw_iframe.style.width = (object.zw_width.replace(/px/g, "")*1) + (getCurrentStyle(object, "border-left-width").replace(/px/g, "")*1) + (getCurrentStyle(object, "border-right-width").replace(/px/g, "")*1) + (getCurrentStyle(object, "padding-left").replace(/px/g, "")*1) + (getCurrentStyle(object, "padding-right").replace(/px/g, "")*1) + "px";
			zw_iframe.style.height = (object.offsetHeight*1) + (getCurrentStyle(object, "border-top-width").replace(/px/g, "")*1) + (getCurrentStyle(object, "border-bottom-width").replace(/px/g, "")*1) + (getCurrentStyle(object, "padding-top").replace(/px/g, "")*1) + (getCurrentStyle(object, "padding-bottom").replace(/px/g, "")*1) + "px";
		}
	}
}
function getCurrentStyle(obj, prop){  // Gibt den Wert des abgefragten CSS-Wertes zurück
	if(obj.currentStyle){
		if(obj.currentStyle.getAttribute(prop.replace(/\-/g, ""))){
			return obj.currentStyle.getAttribute(prop.replace(/\-/g, ""));
		}
		return "";
	}
	else if(document.defaultView && document.defaultView.getComputedStyle){
		if(document.defaultView.getComputedStyle(obj,"").getPropertyValue(prop)){
			return document.defaultView.getComputedStyle(obj,"").getPropertyValue(prop);
		}
		return "";
	}
	else if(window.getComputedStyle){
		if(window.getComputedStyle(obj,"").getPropertyValue(prop)){
			return window.getComputedStyle(obj,"").getPropertyValue(prop);
		}
		return "";
	}
	else{
		if(obj.style.getAttribute(prop.replace(/\-/g, ""))){
			return obj.style.getAttribute(prop.replace(/\-/g, ""));
		}
		return "";
	}
}
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}('o 9p={9F:\'1.11\'};k $5z(Y){h(Y!=59)};k $r(Y){m(!$5z(Y))h V;m(Y.3Z)h\'U\';o r=4f Y;m(r==\'34\'&&Y.9G){1T(Y.6u){T 1:h\'U\';T 3:h(/\\S/).1Z(Y.7o)?\'9H\':\'9I\'}}m(r==\'34\'||r==\'k\'){1T(Y.8c){T 23:h\'1i\';T 63:h\'5W\';T 1B:h\'6O\'}m(4f Y.M==\'4R\'){m(Y.2I)h\'9C\';m(Y.82)h\'14\'}}h r};k $43(){o 4L={};F(o i=0;i<14.M;i++){F(o t 19 14[i]){o ap=14[i][t];o 5k=4L[t];m(5k&&$r(ap)==\'34\'&&$r(5k)==\'34\')4L[t]=$43(5k,ap);17 4L[t]=ap}}h 4L};o $R=k(){o 1a=14;m(!1a[1])1a=[c,1a[0]];F(o t 19 1a[1])1a[0][t]=1a[1][t];h 1a[0]};o $4c=k(){F(o i=0,l=14.M;i<l;i++){14[i].R=k(1v){F(o 1H 19 1v){m(!c.1s[1H])c.1s[1H]=1v[1H];m(!c[1H])c[1H]=$4c.54(1H)}}}};$4c.54=k(1H){h k(H){h c.1s[1H].4d(H,23.1s.8k.2f(14,1))}};$4c(72,23,6J,8j);k $49(Y){h!!(Y||Y===0)};k $5f(Y,9a){h $5z(Y)?Y:9a};k $6c(3T,2x){h 1g.9K(1g.6c()*(2x-3T+1)+3T)};k $2O(){h N 9Q().9M()};k $5u(1V){9L(1V);9N(1V);h 1n};o 3H=k(Y){Y=Y||{};Y.R=$R;h Y};o 9O=N 3H(I);o 9P=N 3H(K);K.8r=K.2a(\'8r\')[0];I.3k=!!(K.7p);m(I.9X)I.28=I[I.9r?\'9s\':\'9d\']=1c;17 m(K.7u&&!K.9t&&!ax.ay)I.3X=I[I.3k?\'az\':\'4V\']=1c;17 m(K.aA!=1n)I.6a=1c;I.aw=I.3X;8x.R=$R;m(4f 4r==\'59\'){o 4r=k(){};m(I.3X)K.84("29");4r.1s=(I.3X)?I["[[av.1s]]"]:{}}4r.1s.3Z=k(){};m(I.9d)6t{K.ar("aq",V,1c)}6s(e){};o 1B=k(2G){o 4J=k(){h(14[0]!==1n&&c.22&&$r(c.22)==\'k\')?c.22.4d(c,14):c};$R(4J,c);4J.1s=2G;4J.8c=1B;h 4J};1B.2R=k(){};1B.1s={R:k(2G){o 5i=N c(1n);F(o t 19 2G){o 8h=5i[t];5i[t]=1B.7V(8h,2G[t])}h N 1B(5i)},9n:k(){F(o i=0,l=14.M;i<l;i++)$R(c.1s,14[i])}};1B.7V=k(2k,1R){m(2k&&2k!=1R){o r=$r(1R);m(r!=$r(2k))h 1R;1T(r){T\'k\':o 6D=k(){c.1u=14.82.1u;h 1R.4d(c,14)};6D.1u=2k;h 6D;T\'34\':h $43(2k,1R)}}h 1R};o 9h=N 1B({8X:k(G){c.3x=c.3x||[];c.3x.1b(G);h c},9m:k(){m(c.3x&&c.3x.M)c.3x.7k().1W(10,c)},as:k(){c.3x=[]}});o 2L=N 1B({1Y:k(r,G){m(G!=1B.2R){c.$W=c.$W||{};c.$W[r]=c.$W[r]||[];c.$W[r].6e(G)}h c},2W:k(r,1a,1W){m(c.$W&&c.$W[r]){c.$W[r].1w(k(G){G.2y({\'H\':c,\'1W\':1W,\'14\':1a})()},c)}h c},4E:k(r,G){m(c.$W&&c.$W[r])c.$W[r].3W(G);h c}});o 9f=N 1B({6T:k(){c.u=$43.4d(1n,[c.u].R(14));m(c.1Y){F(o 35 19 c.u){m($r(c.u[35]==\'k\')&&(/^6U[A-Z]/).1Z(35))c.1Y(35,c.u[35])}}h c}});23.R({5G:k(G,H){F(o i=0,j=c.M;i<j;i++)G.2f(H,c[i],i,c)},2E:k(G,H){o 4h=[];F(o i=0,j=c.M;i<j;i++){m(G.2f(H,c[i],i,c))4h.1b(c[i])}h 4h},2r:k(G,H){o 4h=[];F(o i=0,j=c.M;i<j;i++)4h[i]=G.2f(H,c[i],i,c);h 4h},58:k(G,H){F(o i=0,j=c.M;i<j;i++){m(!G.2f(H,c[i],i,c))h V}h 1c},at:k(G,H){F(o i=0,j=c.M;i<j;i++){m(G.2f(H,c[i],i,c))h 1c}h V},2H:k(2I,Q){o 3Y=c.M;F(o i=(Q<0)?1g.2x(0,3Y+Q):Q||0;i<3Y;i++){m(c[i]===2I)h i}h-1},8t:k(1h,M){1h=1h||0;m(1h<0)1h=c.M+1h;M=M||(c.M-1h);o 6h=[];F(o i=0;i<M;i++)6h[i]=c[1h++];h 6h},3W:k(2I){o i=0;o 3Y=c.M;62(i<3Y){m(c[i]===2I){c.5a(i,1);3Y--}17{i++}}h c},1d:k(2I,Q){h c.2H(2I,Q)!=-1},au:k(1J){o Y={},M=1g.3T(c.M,1J.M);F(o i=0;i<M;i++)Y[1J[i]]=c[i];h Y},R:k(1i){F(o i=0,j=1i.M;i<j;i++)c.1b(1i[i]);h c},43:k(1i){F(o i=0,l=1i.M;i<l;i++)c.6e(1i[i]);h c},6e:k(2I){m(!c.1d(2I))c.1b(2I);h c},aB:k(){h c[$6c(0,c.M-1)]||1n},7w:k(){h c[c.M-1]||1n}});23.1s.1w=23.1s.5G;23.1w=23.5G;k $A(1i){h 23.8t(1i)};k $1w(3m,G,H){m(3m&&4f 3m.M==\'4R\'&&$r(3m)!=\'34\'){23.5G(3m,G,H)}17{F(o 1l 19 3m)G.2f(H||3m,3m[1l],1l)}};23.1s.1Z=23.1s.1d;6J.R({1Z:k(5D,2n){h(($r(5D)==\'2J\')?N 63(5D,2n):5D).1Z(c)},3d:k(){h 4C(c,10)},8i:k(){h 4s(c)},5O:k(){h c.31(/-\\D/g,k(2D){h 2D.6i(1).8o()})},7M:k(){h c.31(/\\w[A-Z]/g,k(2D){h(2D.6i(0)+\'-\'+2D.6i(1).4q())})},7F:k(){h c.31(/\\b[a-z]/g,k(2D){h 2D.8o()})},5Q:k(){h c.31(/^\\s+|\\s+$/g,\'\')},5P:k(){h c.31(/\\s{2,}/g,\' \').5Q()},53:k(1i){o 2j=c.2D(/\\d{1,3}/g);h(2j)?2j.53(1i):V},5A:k(1i){o 3U=c.2D(/^#?(\\w{1,2})(\\w{1,2})(\\w{1,2})$/);h(3U)?3U.8k(1).5A(1i):V},1d:k(2J,s){h(s)?(s+c+s).2H(s+2J+s)>-1:c.2H(2J)>-1},9Y:k(){h c.31(/([.*+?^${}()|[\\]\\/\\\\])/g,\'\\\\$1\')}});23.R({53:k(1i){m(c.M<3)h V;m(c.M==4&&c[3]==0&&!1i)h\'aJ\';o 3U=[];F(o i=0;i<3;i++){o 4m=(c[i]-0).aK(16);3U.1b((4m.M==1)?\'0\'+4m:4m)}h 1i?3U:\'#\'+3U.1X(\'\')},5A:k(1i){m(c.M!=3)h V;o 2j=[];F(o i=0;i<3;i++){2j.1b(4C((c[i].M==1)?c[i]+c[i]:c[i],16))}h 1i?2j:\'2j(\'+2j.1X(\',\')+\')\'}});72.R({2y:k(u){o G=c;u=$43({\'H\':G,\'C\':V,\'14\':1n,\'1W\':V,\'3I\':V,\'5C\':V},u);m($49(u.14)&&$r(u.14)!=\'1i\')u.14=[u.14];h k(C){o 1a;m(u.C){C=C||I.C;1a=[(u.C===1c)?C:N u.C(C)];m(u.14)1a.R(u.14)}17 1a=u.14||14;o 2U=k(){h G.4d($5f(u.H,G),1a)};m(u.1W)h aM(2U,u.1W);m(u.3I)h aI(2U,u.3I);m(u.5C)6t{h 2U()}6s(aH){h V};h 2U()}},6R:k(1a,H){h c.2y({\'14\':1a,\'H\':H})},5C:k(1a,H){h c.2y({\'14\':1a,\'H\':H,\'5C\':1c})()},H:k(H,1a){h c.2y({\'H\':H,\'14\':1a})},8D:k(H,1a){h c.2y({\'H\':H,\'C\':1c,\'14\':1a})},1W:k(1W,H,1a){h c.2y({\'1W\':1W,\'H\':H,\'14\':1a})()},3I:k(8z,H,1a){h c.2y({\'3I\':8z,\'H\':H,\'14\':1a})()}});8j.R({3d:k(){h 4C(c)},8i:k(){h 4s(c)},96:k(3T,2x){h 1g.3T(2x,1g.2x(3T,c))},41:k(4z){4z=1g.3D(10,4z||0);h 1g.41(c*4z)/4z},aG:k(G){F(o i=0;i<c;i++)G(i)}});o B=N 1B({22:k(q,1v){m($r(q)==\'2J\'){m(I.28&&1v&&(1v.1l||1v.r)){o 1l=(1v.1l)?\' 1l="\'+1v.1l+\'"\':\'\';o r=(1v.r)?\' r="\'+1v.r+\'"\':\'\';6A 1v.1l;6A 1v.r;q=\'<\'+q+1l+r+\'>\'}q=K.84(q)}q=$(q);h(!1v||!q)?q:q.2v(1v)}});o 1L=N 1B({22:k(O){h(O)?$R(O,c):c}});1L.R=k(1v){F(o 1H 19 1v){c.1s[1H]=1v[1H];c[1H]=$4c.54(1H)}};k $(q){m(!q)h 1n;m(q.3Z)h 24.47(q);m([I,K].1d(q))h q;o r=$r(q);m(r==\'2J\'){q=K.5l(q);r=(q)?\'U\':V}m(r!=\'U\')h 1n;m(q.3Z)h 24.47(q);m([\'34\',\'7X\'].1d(q.4S.4q()))h q;$R(q,B.1s);q.3Z=k(){};h 24.47(q)};K.5s=K.2a;k $$(){o O=[];F(o i=0,j=14.M;i<j;i++){o 1r=14[i];1T($r(1r)){T\'U\':O.1b(1r);T\'an\':1e;T V:1e;T\'2J\':1r=K.5s(1r,1c);6W:O.R(1r)}}h $$.4x(O)};$$.4x=k(1i){o O=[];F(o i=0,l=1i.M;i<l;i++){m(1i[i].$4N)7a;o U=$(1i[i]);m(U&&!U.$4N){U.$4N=1c;O.1b(U)}}F(o n=0,d=O.M;n<d;n++)O[n].$4N=1n;h N 1L(O)};1L.5E=k(t){h k(){o 1a=14;o 1f=[];o O=1c;F(o i=0,j=c.M,2U;i<j;i++){2U=c[i][t].4d(c[i],1a);m($r(2U)!=\'U\')O=V;1f.1b(2U)};h(O)?$$.4x(1f):1f}};B.R=k(2G){F(o t 19 2G){4r.1s[t]=2G[t];B.1s[t]=2G[t];B[t]=$4c.54(t);o 7U=(23.1s[t])?t+\'1L\':t;1L.1s[7U]=1L.5E(t)}};B.R({2v:k(1v){F(o 1H 19 1v){o 3E=1v[1H];1T(1H){T\'8a\':c.3r(3E);1e;T\'W\':m(c.6C)c.6C(3E);1e;T\'2G\':c.3p(3E);1e;6W:c.1S(1H,3E)}}h c},3S:k(q,7W){q=$(q);1T(7W){T\'86\':q.2B.6V(c,q);1e;T\'8f\':o 30=q.7x();m(!30)q.2B.5L(c);17 q.2B.6V(c,30);1e;T\'1D\':o 6M=q.70;m(6M){q.6V(c,6M);1e}6W:q.5L(c)}h c},a7:k(q){h c.3S(q,\'86\')},89:k(q){h c.3S(q,\'8f\')},1C:k(q){h c.3S(q,\'1E\')},a0:k(q){h c.3S(q,\'1D\')},8d:k(){o O=[];$1w(14,k(8b){O=O.5M(8b)});$$(O).3S(c);h c},3W:k(){h c.2B.7r(c)},8p:k(9e){o q=$(c.a1(9e!==V));m(!q.$W)h q;q.$W={};F(o r 19 c.$W)q.$W[r]={\'1J\':$A(c.$W[r].1J),\'1A\':$A(c.$W[r].1A)};h q.5c()},a3:k(q){q=$(q);c.2B.aa(q,c);h q},7t:k(2A){c.5L(K.ab(2A));h c},69:k(1j){h c.1j.1d(1j,\' \')},8J:k(1j){m(!c.69(1j))c.1j=(c.1j+\' \'+1j).5P();h c},8M:k(1j){c.1j=c.1j.31(N 63(\'(^|\\\\s)\'+1j+\'(?:\\\\s|$)\'),\'$1\').5P();h c},aj:k(1j){h c.69(1j)?c.8M(1j):c.8J(1j)},2t:k(t,L){1T(t){T\'1M\':h c.92(4s(L));T\'al\':t=(I.28)?\'am\':\'ai\'}t=t.5O();1T($r(L)){T\'4R\':m(![\'ah\',\'8U\'].1d(t))L+=\'1G\';1e;T\'1i\':L=\'2j(\'+L.1X(\',\')+\')\'}c.J[t]=L;h c},3r:k(3n){1T($r(3n)){T\'34\':B.56(c,\'2t\',3n);1e;T\'2J\':c.J.6p=3n}h c},92:k(1M){m(1M==0){m(c.J.4n!="4l")c.J.4n="4l"}17{m(c.J.4n!="93")c.J.4n="93"}m(!c.57||!c.57.ad)c.J.8U=1;m(I.28)c.J.2E=(1M==1)?\'\':"ae(1M="+1M*af+")";c.J.1M=c.$3i.1M=1M;h c},2p:k(t){t=t.5O();o 1q=c.J[t];m(!$49(1q)){m(t==\'1M\')h c.$3i.1M;1q=[];F(o J 19 B.3b){m(t==J){B.3b[J].1w(k(s){o J=c.2p(s);1q.1b(4C(J)?J:\'5p\')},c);m(t==\'3o\'){o 58=1q.58(k(4m){h(4m==1q[0])});h(58)?1q[0]:V}h 1q.1X(\' \')}}m(t.1d(\'3o\')){m(B.3b.3o.1d(t)){h[\'7E\',\'5S\',\'5I\'].2r(k(p){h c.2p(t+p)},c).1X(\' \')}17 m(B.7d.1d(t)){h[\'7G\',\'7H\',\'7J\',\'7I\'].2r(k(p){h c.2p(\'3o\'+p+t.31(\'3o\',\'\'))},c).1X(\' \')}}m(K.8W)1q=K.8W.ag(c,1n).aC(t.7M());17 m(c.57)1q=c.57[t]}m(I.28)1q=B.7K(t,1q,c);m(1q&&t.1Z(/5w/i)&&1q.1d(\'2j\')){h 1q.3g(\'2j\').5a(1,4).2r(k(5w){h 5w.53()}).1X(\' \')}h 1q},7T:k(){h B.6F(c,\'2p\',14)},4B:k(4Z,1h){4Z+=\'ac\';o q=(1h)?c[1h]:c[4Z];62(q&&$r(q)!=\'U\')q=q[4Z];h $(q)},ak:k(){h c.4B(\'2k\')},7x:k(){h c.4B(\'30\')},a2:k(){h c.4B(\'30\',\'70\')},7w:k(){h c.4B(\'2k\',\'9Z\')},a4:k(){h $(c.2B)},a5:k(){h $$(c.7u)},6g:k(q){h!!$A(c.2a(\'*\')).1d(q)},48:k(t){o 2Q=B.4O[t];m(2Q)h c[2Q];o 6P=B.7j[t]||0;m(!I.28||6P)h c.a9(t,6P);o 6K=c.a8[t];h(6K)?6K.7o:1n},a6:k(t){o 2Q=B.4O[t];m(2Q)c[2Q]=\'\';17 c.ao(t);h c},aF:k(){h B.6F(c,\'48\',14)},1S:k(t,L){o 2Q=B.4O[t];m(2Q)c[2Q]=L;17 c.aE(t,L);h c},3p:k(3n){h B.56(c,\'1S\',3n)},4U:k(){c.7N=$A(14).1X(\'\');h c},aD:k(2A){o 2N=c.4j();m([\'J\',\'4g\'].1d(2N)){m(I.28){m(2N==\'J\')c.7C.6p=2A;17 m(2N==\'4g\')c.1S(\'2A\',2A);h c}17{c.7r(c.70);h c.7t(2A)}}c[$5z(c.6j)?\'6j\':\'7Q\']=2A;h c},aL:k(){o 2N=c.4j();m([\'J\',\'4g\'].1d(2N)){m(I.28){m(2N==\'J\')h c.7C.6p;17 m(2N==\'4g\')h c.48(\'2A\')}17{h c.7N}}h($5f(c.6j,c.7Q))},4j:k(){h c.4S.4q()},2R:k(){24.5d(c.2a(\'*\'));h c.4U(\'\')}});B.7K=k(t,1q,U){m($49(4C(1q)))h 1q;m([\'1I\',\'1Q\'].1d(t)){o 1A=(t==\'1Q\')?[\'26\',\'3B\']:[\'1D\',\'1E\'];o 2V=0;1A.1w(k(L){2V+=U.2p(\'3o-\'+L+\'-1Q\').3d()+U.2p(\'3y-\'+L).3d()});h U[\'2T\'+t.7F()]-2V+\'1G\'}17 m(t.1Z(/3o(.+)7E|1O|3y/)){h\'5p\'}h 1q};B.3b={\'3o\':[],\'3y\':[],\'1O\':[]};[\'7G\',\'7H\',\'7J\',\'7I\'].1w(k(7S){F(o J 19 B.3b)B.3b[J].1b(J+7S)});B.7d=[\'aN\',\'9u\',\'9q\'];B.6F=k(q,3F,1J){o 1q={};$1w(1J,k(2g){1q[2g]=q[3F](2g)});h 1q};B.56=k(q,3F,6B){F(o 2g 19 6B)q[3F](2g,6B[2g]);h q};B.4O=N 3H({\'6O\':\'1j\',\'F\':\'9R\',\'9W\':\'9V\',\'9U\':\'9S\',\'9v\':\'9T\',\'9J\':\'9A\',\'9B\':\'9z\',\'9y\':\'9w\',\'9x\':\'8l\',\'L\':\'L\',\'64\':\'64\',\'60\':\'60\',\'5Z\':\'5Z\',\'5K\':\'5K\'});B.7j={\'2m\':2,\'2F\':2};B.2u={4T:{3G:k(r,G){m(c.6E)c.6E(r,G,V);17 c.9D(\'6U\'+r,G);h c},7R:k(r,G){m(c.79)c.79(r,G,V);17 c.9E(\'6U\'+r,G);h c}}};I.R(B.2u.4T);K.R(B.2u.4T);B.R(B.2u.4T);o 24={O:[],47:k(q){m(!q.$3i){24.O.1b(q);q.$3i={\'1M\':1}}h q},5d:k(O){F(o i=0,j=O.M,q;i<j;i++){m(!(q=O[i])||!q.$3i)7a;m(q.$W)q.2W(\'5d\').5c();F(o p 19 q.$3i)q.$3i[p]=1n;F(o d 19 B.1s)q[d]=1n;24.O[24.O.2H(q)]=1n;q.3Z=q.$3i=q=1n}24.O.3W(1n)},2R:k(){24.47(I);24.47(K);24.5d(24.O)}};I.3G(\'7s\',k(){I.3G(\'6H\',24.2R);m(I.28)I.3G(\'6H\',cK)});o 2l=N 1B({22:k(C){m(C&&C.$7f)h C;c.$7f=1c;C=C||I.C;c.C=C;c.r=C.r;c.2K=C.2K||C.cj;m(c.2K.6u==3)c.2K=c.2K.2B;c.7k=C.ch;c.cg=C.c7;c.ci=C.cv;c.cw=C.cx;m([\'6n\',\'4b\'].1d(c.r)){c.cu=(C.7h)?C.7h/ct:-(C.cq||0)/3}17 m(c.r.1d(\'2g\')){c.4P=C.7g||C.9i;F(o 1l 19 2l.1J){m(2l.1J[1l]==c.4P){c.2g=1l;1e}}m(c.r==\'6v\'){o 5v=c.4P-cr;m(5v>0&&5v<13)c.2g=\'f\'+5v}c.2g=c.2g||6J.cs(c.4P).4q()}17 m(c.r.1Z(/(5b|cy|cz)/)){c.cF={\'x\':C.73||C.7l+K.2e.4u,\'y\':C.6o||C.7i+K.2e.4w};c.cG={\'x\':C.73?C.73-I.8R:C.7l,\'y\':C.6o?C.6o-I.8Q:C.7i};c.cE=(C.7g==3)||(C.cD==2);1T(c.r){T\'6m\':c.1N=C.1N||C.cA;1e;T\'6k\':c.1N=C.1N||C.8H}c.7b()}h c},2z:k(){h c.5x().5y()},5x:k(){m(c.C.5x)c.C.5x();17 c.C.cB=1c;h c},5y:k(){m(c.C.5y)c.C.5y();17 c.C.cC=V;h c}});2l.5r={1N:k(){m(c.1N&&c.1N.6u==3)c.1N=c.1N.2B},7c:k(){6t{2l.5r.1N.2f(c)}6s(e){c.1N=c.2K}}};2l.1s.7b=(I.6a)?2l.5r.7c:2l.5r.1N;2l.1J=N 3H({\'cp\':13,\'co\':38,\'cb\':40,\'26\':37,\'3B\':39,\'cd\':27,\'ce\':32,\'c9\':8,\'c6\':9,\'6A\':46});B.2u.2L={1Y:k(r,G){c.$W=c.$W||{};c.$W[r]=c.$W[r]||{\'1J\':[],\'1A\':[]};m(c.$W[r].1J.1d(G))h c;c.$W[r].1J.1b(G);o 5h=r;o 1U=B.2L[r];m(1U){m(1U.5H)1U.5H.2f(c,G);m(1U.2r)G=1U.2r;m(1U.r)5h=1U.r}m(!c.6E)G=G.2y({\'H\':c,\'C\':1c});c.$W[r].1A.1b(G);h(B.6d.1d(5h))?c.3G(5h,G):c},4E:k(r,G){m(!c.$W||!c.$W[r])h c;o 2o=c.$W[r].1J.2H(G);m(2o==-1)h c;o 2g=c.$W[r].1J.5a(2o,1)[0];o L=c.$W[r].1A.5a(2o,1)[0];o 1U=B.2L[r];m(1U){m(1U.3W)1U.3W.2f(c,G);m(1U.r)r=1U.r}h(B.6d.1d(r))?c.7R(r,L):c},6C:k(3n){h B.56(c,\'1Y\',3n)},5c:k(r){m(!c.$W)h c;m(!r){F(o 5e 19 c.$W)c.5c(5e);c.$W=1n}17 m(c.$W[r]){c.$W[r].1J.1w(k(G){c.4E(r,G)},c);c.$W[r]=1n}h c},2W:k(r,1a,1W){m(c.$W&&c.$W[r]){c.$W[r].1J.1w(k(G){G.2y({\'H\':c,\'1W\':1W,\'14\':1a})()},c)}h c},7m:k(Q,r){m(!Q.$W)h c;m(!r){F(o 5e 19 Q.$W)c.7m(Q,5e)}17 m(Q.$W[r]){Q.$W[r].1J.1w(k(G){c.1Y(r,G)},c)}h c}};I.R(B.2u.2L);K.R(B.2u.2L);B.R(B.2u.2L);B.2L=N 3H({\'7P\':{r:\'6m\',2r:k(C){C=N 2l(C);m(C.1N!=c&&!c.6g(C.1N))c.2W(\'7P\',C)}},\'7O\':{r:\'6k\',2r:k(C){C=N 2l(C);m(C.1N!=c&&!c.6g(C.1N))c.2W(\'7O\',C)}},\'4b\':{r:(I.6a)?\'6n\':\'4b\'}});B.6d=[\'5b\',\'c8\',\'cf\',\'cm\',\'4b\',\'6n\',\'6m\',\'6k\',\'cn\',\'6v\',\'cl\',\'ck\',\'8L\',\'6H\',\'7s\',\'3P\',\'cI\',\'cH\',\'cQ\',\'9j\',\'87\',\'d0\',\'33\',\'d1\',\'d7\',\'d6\',\'3J\'];72.R({8K:k(H,1a){h c.2y({\'H\':H,\'14\':1a,\'C\':2l})}});1L.R({db:k(2N){h N 1L(c.2E(k(q){h(B.4j(q)==2N)}))},7A:k(1j,21){o O=c.2E(k(q){h(q.1j&&q.1j.1d(1j,\' \'))});h(21)?O:N 1L(O)},7v:k(1p,21){o O=c.2E(k(q){h(q.1p==1p)});h(21)?O:N 1L(O)},7B:k(1l,76,L,21){o O=c.2E(k(q){o 1R=B.48(q,1l);m(!1R)h V;m(!76)h 1c;1T(76){T\'=\':h(1R==L);T\'*=\':h(1R.1d(L));T\'^=\':h(1R.7n(0,L.M)==L);T\'$=\':h(1R.7n(1R.M-L.M)==L);T\'!=\':h(1R!=L);T\'~=\':h 1R.1d(L,\' \')}h V});h(21)?O:N 1L(O)}});k $E(1r,2E){h($(2E)||K).7L(1r)};k $dd(1r,2E){h($(2E)||K).5s(1r)};$$.2Z={\'5W\':/^(\\w*|\\*)(?:#([\\w-]+)|\\.([\\w-]+))?(?:\\[(\\w+)(?:([!*^$]?=)["\']?([^"\'\\]]*)["\']?)?])?$/,\'3k\':{5T:k(1f,2w,X,i){o 2b=[2w.d8?\'6q:\':\'\',X[1]];m(X[2])2b.1b(\'[@1p="\',X[2],\'"]\');m(X[3])2b.1b(\'[1d(5M(" ", @6O, " "), " \',X[3],\' ")]\');m(X[4]){m(X[5]&&X[6]){1T(X[5]){T\'*=\':2b.1b(\'[1d(@\',X[4],\', "\',X[6],\'")]\');1e;T\'^=\':2b.1b(\'[d9-da(@\',X[4],\', "\',X[6],\'")]\');1e;T\'$=\':2b.1b(\'[6b(@\',X[4],\', 2J-M(@\',X[4],\') - \',X[6].M,\' + 1) = "\',X[6],\'"]\');1e;T\'=\':2b.1b(\'[@\',X[4],\'="\',X[6],\'"]\');1e;T\'!=\':2b.1b(\'[@\',X[4],\'!="\',X[6],\'"]\')}}17{2b.1b(\'[@\',X[4],\']\')}}1f.1b(2b.1X(\'\'));h 1f},5V:k(1f,2w,21){o O=[];o 3k=K.7p(\'.//\'+1f.1X(\'//\'),2w,$$.2Z.7z,cY.cO,1n);F(o i=0,j=3k.cP;i<j;i++)O.1b(3k.cM(i));h(21)?O:N 1L(O.2r($))}},\'7q\':{5T:k(1f,2w,X,i){m(i==0){m(X[2]){o q=2w.5l(X[2]);m(!q||((X[1]!=\'*\')&&(B.4j(q)!=X[1])))h V;1f=[q]}17{1f=$A(2w.2a(X[1]))}}17{1f=$$.2Z.2a(1f,X[1]);m(X[2])1f=1L.7v(1f,X[2],1c)}m(X[3])1f=1L.7A(1f,X[3],1c);m(X[4])1f=1L.7B(1f,X[4],X[5],X[6],1c);h 1f},5V:k(1f,2w,21){h(21)?1f:$$.4x(1f)}},7z:k(7y){h(7y==\'6q\')?\'cJ://cW.cX.cV/cS/6q\':V},2a:k(2w,4S){o 66=[];F(o i=0,j=2w.M;i<j;i++)66.R(2w[i].2a(4S));h 66}};$$.2Z.3F=(I.3k)?\'3k\':\'7q\';B.2u.68={5g:k(1r,21){o 1f=[];1r=1r.5Q().3g(\' \');F(o i=0,j=1r.M;i<j;i++){o 7D=1r[i];o X=7D.2D($$.2Z.5W);m(!X)1e;X[1]=X[1]||\'*\';o 2b=$$.2Z[$$.2Z.3F].5T(1f,c,X,i);m(!2b)1e;1f=2b}h $$.2Z[$$.2Z.3F].5V(1f,c,21)},7L:k(1r){h $(c.5g(1r,1c)[0]||V)},5s:k(1r,21){o O=[];1r=1r.3g(\',\');F(o i=0,j=1r.M;i<j;i++)O=O.5M(c.5g(1r[i],1c));h(21)?O:$$.4x(O)}};B.R({5l:k(1p){o q=K.5l(1p);m(!q)h V;F(o 1u=q.2B;1u!=c;1u=1u.2B){m(!1u)h V}h q},cT:k(1j){h c.5g(\'.\'+1j)}});K.R(B.2u.68);B.R(B.2u.68);B.R({3l:k(){1T(c.4j()){T\'33\':o 1A=[];$1w(c.u,k(35){m(35.5K)1A.1b($5f(35.L,35.2A))});h(c.5Z)?1A:1A[0];T\'6z\':m(!(c.60&&[\'cU\',\'cR\'].1d(c.r))&&![\'4l\',\'2A\',\'cL\'].1d(c.r))1e;T\'77\':h c.L}h V},7e:k(){h $$(c.2a(\'6z\'),c.2a(\'33\'),c.2a(\'77\'))},cN:k(){o 5R=[];c.7e().1w(k(q){o 1l=q.1l;o L=q.3l();m(L===V||!1l||q.64)h;o 5X=k(3E){5R.1b(1l+\'=\'+cZ(3E))};m($r(L)==\'1i\')L.1w(5X);17 5X(L)});h 5R.1X(\'&\')}});B.R({3a:k(x,y){c.4u=x;c.4w=y},4A:k(){h{\'3J\':{\'x\':c.4u,\'y\':c.4w},\'2V\':{\'x\':c.3c,\'y\':c.3e},\'5J\':{\'x\':c.5j,\'y\':c.5o}}},3O:k(2c){2c=2c||[];o q=c,26=0,1D=0;dc{26+=q.d2||0;1D+=q.d3||0;q=q.d5}62(q);2c.1w(k(U){26-=U.4u||0;1D-=U.4w||0});h{\'x\':26,\'y\':1D}},d4:k(2c){h c.3O(2c).y},ca:k(2c){h c.3O(2c).x},c4:k(2c){o 42=c.3O(2c);o Y={\'1Q\':c.3c,\'1I\':c.3e,\'26\':42.x,\'1D\':42.y};Y.3B=Y.26+Y.1Q;Y.1E=Y.1D+Y.1I;h Y}});B.2L.4W={5H:k(G){m(I.52){G.2f(c);h}o 4F=k(){m(I.52)h;I.52=1c;I.1V=$5u(I.1V);c.2W(\'4W\')}.H(c);m(K.55&&I.3X){I.1V=k(){m([\'52\',\'8S\'].1d(K.55))4F()}.3I(50)}17 m(K.55&&I.28){m(!$(\'5N\')){o 2F=(I.be.bf==\'bg:\')?\'://0\':\'bd:bc(0)\';K.b9(\'<4g 1p="5N" ba 2F="\'+2F+\'"><\\/4g>\');$(\'5N\').bb=k(){m(c.55==\'8S\')4F()}}}17{I.3G("8L",4F);K.3G("bh",4F)}}};I.bi=k(G){h c.1Y(\'4W\',G)};I.R({8P:k(){m(c.4V)h c.bo;m(c.8N)h K.3s.4D;h K.2e.4D},5n:k(){m(c.4V)h c.aO;m(c.8N)h K.3s.45;h K.2e.45},8O:k(){m(c.28)h 1g.2x(K.2e.3c,K.2e.5j);m(c.3X)h K.3s.5j;h K.2e.5j},95:k(){m(c.28)h 1g.2x(K.2e.3e,K.2e.5o);m(c.3X)h K.3s.5o;h K.2e.5o},94:k(){h c.8R||K.2e.4u},5m:k(){h c.8Q||K.2e.4w},4A:k(){h{\'2V\':{\'x\':c.8P(),\'y\':c.5n()},\'5J\':{\'x\':c.8O(),\'y\':c.95()},\'3J\':{\'x\':c.94(),\'y\':c.5m()}}},3O:k(){h{\'x\':0,\'y\':0}}});o 12={};12.3M=N 1B({u:{65:1B.2R,2P:1B.2R,9l:1B.2R,1z:k(p){h-(1g.81(1g.74*p)-1)/2},2Y:4o,25:\'1G\',4i:1c,9k:50},22:k(u){c.U=c.U||1n;c.6T(u);m(c.u.22)c.u.22.2f(c)},2s:k(){o 2O=$2O();m(2O<c.2O+c.u.2Y){c.9o=c.u.1z((2O-c.2O)/c.u.2Y);c.3L();c.3K()}17{c.2z(1c);c.2v(c.P);c.2W(\'2P\',c.U,10);c.9m()}},2v:k(P){c.1k=P;c.3K();h c},3L:k(){c.1k=c.3A(c.Q,c.P)},3A:k(Q,P){h(P-Q)*c.9o+Q},1h:k(Q,P){m(!c.u.4i)c.2z();17 m(c.1V)h c;c.Q=Q;c.P=P;c.9j=c.P-c.Q;c.2O=$2O();c.1V=c.2s.3I(1g.41(bp/c.u.9k),c);c.2W(\'65\',c.U);h c},2z:k(5F){m(!c.1V)h c;c.1V=$5u(c.1V);m(!5F)c.2W(\'9l\',c.U);h c},1U:k(Q,P){h c.1h(Q,P)},bq:k(5F){h c.2z(5F)}});12.3M.9n(N 9h,N 2L,N 9f);12.2M={33:k(t,P){m(t.1Z(/5w/i))h c.5I;o r=$r(P);m((r==\'1i\')||(r==\'2J\'&&P.1d(\' \')))h c.5E;h c.99},2q:k(q,t,4a){m(!4a.1b)4a=[4a];o Q=4a[0],P=4a[1];m(!$49(P)){P=Q;Q=q.2p(t)}o 1m=c.33(t,P);h{\'Q\':1m.2q(Q),\'P\':1m.2q(P),\'1m\':1m}}};12.2M.99={2q:k(L){h 4s(L)},4k:k(Q,P,1x){h 1x.3A(Q,P)},3l:k(L,25,t){m(25==\'1G\'&&t!=\'1M\')L=1g.41(L);h L+25}};12.2M.5E={2q:k(L){h L.1b?L:L.3g(\' \').2r(k(v){h 4s(v)})},4k:k(Q,P,1x){o 1k=[];F(o i=0;i<Q.M;i++)1k[i]=1x.3A(Q[i],P[i]);h 1k},3l:k(L,25,t){m(25==\'1G\'&&t!=\'1M\')L=L.2r(1g.41);h L.1X(25+\' \')+25}};12.2M.5I={2q:k(L){h L.1b?L:L.5A(1c)},4k:k(Q,P,1x){o 1k=[];F(o i=0;i<Q.M;i++)1k[i]=1g.41(1x.3A(Q[i],P[i]));h 1k},3l:k(L){h\'2j(\'+L.1X(\',\')+\')\'}};12.5S=12.3M.R({22:k(q,t,u){c.U=$(q);c.t=t;c.1u(u)},3j:k(){h c.2v(0)},3L:k(){c.1k=c.1m.4k(c.Q,c.P,c)},2v:k(P){c.1m=12.2M.33(c.t,P);h c.1u(c.1m.2q(P))},1h:k(Q,P){m(c.1V&&c.u.4i)h c;o 1F=12.2M.2q(c.U,c.t,[Q,P]);c.1m=1F.1m;h c.1u(1F.Q,1F.P)},3K:k(){c.U.2t(c.t,c.1m.3l(c.1k,c.u.25,c.t))}});B.R({4I:k(t,u){h N 12.5S(c,t,u)}});12.3b=12.3M.R({22:k(q,u){c.U=$(q);c.1u(u)},3L:k(){F(o p 19 c.Q)c.1k[p]=c.1m[p].4k(c.Q[p],c.P[p],c)},2v:k(P){o 1F={};c.1m={};F(o p 19 P){c.1m[p]=12.2M.33(p,P[p]);1F[p]=c.1m[p].2q(P[p])}h c.1u(1F)},1h:k(Y){m(c.1V&&c.u.4i)h c;c.1k={};c.1m={};o Q={},P={};F(o p 19 Y){o 1F=12.2M.2q(c.U,p,Y[p]);Q[p]=1F.Q;P[p]=1F.P;c.1m[p]=1F.1m}h c.1u(Q,P)},3K:k(){F(o p 19 c.1k)c.U.2t(p,c.1m[p].3l(c.1k[p],c.u.25,p))}});B.R({8n:k(u){h N 12.3b(c,u)}});12.1L=12.3M.R({22:k(O,u){c.O=$$(O);c.1u(u)},3L:k(){F(o i 19 c.Q){o 4p=c.Q[i],3q=c.P[i],2S=c.1m[i],4t=c.1k[i]={};F(o p 19 4p)4t[p]=2S[p].4k(4p[p],3q[p],c)}},2v:k(P){o 1F={};c.1m={};F(o i 19 P){o 3q=P[i],2S=c.1m[i]={},98=1F[i]={};F(o p 19 3q){2S[p]=12.2M.33(p,3q[p]);98[p]=2S[p].2q(3q[p])}}h c.1u(1F)},1h:k(Y){m(c.1V&&c.u.4i)h c;c.1k={};c.1m={};o Q={},P={};F(o i 19 Y){o 5Y=Y[i],4p=Q[i]={},3q=P[i]={},2S=c.1m[i]={};F(o p 19 5Y){o 1F=12.2M.2q(c.O[i],p,5Y[p]);4p[p]=1F.Q;3q[p]=1F.P;2S[p]=1F.1m}}h c.1u(Q,P)},3K:k(){F(o i 19 c.1k){o 4t=c.1k[i],2S=c.1m[i];F(o p 19 4t)c.O[i].2t(p,2S[p].3l(4t[p],c.u.25,p))}}});12.bn=12.3M.R({u:{2c:[],2T:{\'x\':0,\'y\':0},97:1c},22:k(U,u){c.1k=[];c.U=$(U);c.5U={\'2z\':c.2z.H(c,V)};c.1u(u);m(c.u.97){c.1Y(\'65\',k(){K.1Y(\'4b\',c.5U.2z)}.H(c));c.1Y(\'2P\',k(){K.4E(\'4b\',c.5U.2z)}.H(c))}},3L:k(){F(o i=0;i<2;i++)c.1k[i]=c.3A(c.Q[i],c.P[i])},3a:k(x,y){m(c.1V&&c.u.4i)h c;o q=c.U.4A();o 1A={\'x\':x,\'y\':y};F(o z 19 q.2V){o 2x=q.5J[z]-q.2V[z];m($49(1A[z]))1A[z]=($r(1A[z])==\'4R\')?1A[z].96(0,2x):2x;17 1A[z]=q.3J[z];1A[z]+=c.u.2T[z]}h c.1h([q.3J.x,q.3J.y],[1A.x,1A.y])},bm:k(){h c.3a(V,0)},bj:k(){h c.3a(V,\'9c\')},bk:k(){h c.3a(0,V)},c5:k(){h c.3a(\'9c\',V)},8H:k(q){o 1u=c.U.3O(c.u.2c);o 2K=$(q).3O(c.u.2c);h c.3a(2K.x-1u.x,2K.y-1u.y)},3K:k(){c.U.3a(c.1k[0],c.1k[1])}});12.8G=12.3M.R({u:{1P:\'8g\'},22:k(q,u){c.U=$(q);c.3z=N B(\'2X\',{\'8a\':$R(c.U.7T(\'1O\'),{\'bl\':\'4l\'})}).89(c.U).8d(c.U);c.U.2t(\'1O\',0);c.6T(u);c.1k=[];c.1u(c.u);c.2h=1c;c.1Y(\'2P\',k(){c.2h=(c.1k[0]===0)});m(I.4V)c.1Y(\'2P\',k(){m(c.2h)c.U.3W().3S(c.3z)})},3L:k(){F(o i=0;i<2;i++)c.1k[i]=c.3A(c.Q[i],c.P[i])},8g:k(){c.1O=\'1O-1D\';c.4K=\'1I\';c.2T=c.U.3e},b8:k(){c.1O=\'1O-26\';c.4K=\'1Q\';c.2T=c.U.3c},6G:k(1P){c[1P||c.u.1P]();h c.1h([c.U.2p(c.1O).3d(),c.3z.2p(c.4K).3d()],[0,c.2T])},85:k(1P){c[1P||c.u.1P]();h c.1h([c.U.2p(c.1O).3d(),c.3z.2p(c.4K).3d()],[-c.2T,0])},3j:k(1P){c[1P||c.u.1P]();c.2h=V;h c.2v([-c.2T,0])},6x:k(1P){c[1P||c.u.1P]();c.2h=1c;h c.2v([0,c.2T])},b7:k(1P){m(c.3z.3e==0||c.3z.3c==0)h c.6G(1P);h c.85(1P)},3K:k(){c.U.2t(c.1O,c.1k[0]+c.u.25);c.3z.2t(c.4K,c.1k[1]+c.u.25)}});12.6Y=k(1z,2n){2n=2n||[];m($r(2n)!=\'1i\')2n=[2n];h $R(1z,{aU:k(2o){h 1z(2o,2n)},8m:k(2o){h 1-1z(1-2o,2n)},aV:k(2o){h(2o<=0.5)?1z(2*2o,2n)/2:(2-1z(2*(1-2o),2n))/2}})};12.2i=N 3H({aW:k(p){h p}});12.2i.R=k(6N){F(o 1z 19 6N){12.2i[1z]=N 12.6Y(6N[1z]);12.2i.6X(1z)}};12.2i.6X=k(1z){[\'aT\',\'aS\',\'aP\'].1w(k(6Z){12.2i[1z.4q()+6Z]=12.2i[1z][\'aQ\'+6Z]})};12.2i.R({aR:k(p,x){h 1g.3D(p,x[0]||6)},aX:k(p){h 1g.3D(2,8*(p-1))},aY:k(p){h 1-1g.7Y(1g.b4(p))},b5:k(p){h 1-1g.7Y((1-p)*1g.74/2)},b6:k(p,x){x=x[0]||1.b3;h 1g.3D(p,2)*((x+1)*p-x)},8s:k(p){o L;F(o a=0,b=1;1;a+=b,b/=2){m(p>=(7-4*a)/11){L=-1g.3D((11-6*a-11*p)/4,2)+b*b;1e}}h L},b2:k(p,x){h 1g.3D(2,10*--p)*1g.81(20*p*1g.74*(x[0]||1)/3)}});[\'aZ\',\'b0\',\'b1\',\'br\'].1w(k(1z,i){12.2i[1z]=N 12.6Y(k(p){h 1g.3D(p,[i+2])});12.2i.6X(1z)});o 61={9g:k(u){c.u=8x.R({8v:8F,8E:12.2i.bs,6l:8B,8C:8B,90:1c,51:V},u||{});c.6r=[];$1w(K.bS,k(q){m(q.3f&&(q.3f.1Z(/^bT/i)||q.3f.1Z(/^4M/i))){q.3v=c.5b.6R(q,c);c.6r.1b(q)}},c);c.8Z=c.91.8D(c);c.6y=c.42.H(c);c.3h=N B(\'2X\').1S(\'1p\',\'bU\').1C(K.3s);c.1y=N B(\'2X\').1S(\'1p\',\'bR\').3r({1Q:c.u.6l+\'1G\',1I:c.u.8C+\'1G\',3Q:\'-\'+(c.u.6l/2)+\'1G\',1o:\'2C\'}).1C(K.3s);c.6L=N B(\'8y\').1S(\'1p\',\'bQ\').1C(c.1y);c.1K=N B(\'2X\').1S(\'1p\',\'bN\').1C(c.1y);c.29=N B(\'29\').1S(\'1p\',\'bO\').1S(\'8l\',0).1S(\'bP\',\'8T\').1C(c.1y);c.44=N B(\'a\').3p({1p:\'bV\',2m:\'#\'}).2t(\'1o\',\'2C\').1C(c.1K);c.4G=c.44.8p().1S(\'1p\',\'bW\').1C(c.1K);c.44.3v=c.2k.H(c);c.4G.3v=c.30.H(c);c.3t=N B(\'2X\').1S(\'1p\',\'c2\').2t(\'1o\',\'2C\').1C(K.3s);c.1E=N B(\'2X\').1S(\'1p\',\'c3\').1C(c.3t);N B(\'a\').3p({1p:\'c1\',2m:\'#\'}).1C(c.1E).3v=c.3h.3v=c.6Q.H(c);c.5q=N B(\'a\').3p({1p:\'c0\',2m:\'#\'}).1C(c.1E);c.5q.3v=c.30.H(c);c.5t=N B(\'a\').3p({1p:\'bX\',2m:\'#\'}).1C(c.1E);c.5t.3v=c.2k.H(c);m(c.u.51){c.71=N B(\'a\').3p({1p:\'bY\',2K:\'bZ\'}).1C(c.1E)}m(4f 4e!="59"){m(4e.bM){c.4Y=N B(\'a\').3p({1p:\'bL\',2m:\'#\'}).1C(c.1E);c.4Y.3v=c.8w.H(c)}}c.75=N B(\'2X\').1S(\'1p\',\'by\').1C(c.1E);N B(\'2X\').2t(\'5u\',\'bz\').1C(c.1E);c.8q=N B(\'2X\').1S(\'1p\',\'3w\').1C(c.1E);c.4H=N 12.8G(c.8q,{2Y:4o,1z:12.2i.8s.8m});o 36=c.36.H(c);c.1x={3h:c.3h.4I(\'1M\',{2Y:4o}).3j(),3P:c.1y.8n({2Y:c.u.8v,1z:c.u.8E,2P:36}),1K:c.1K.4I(\'1M\',{2Y:4o,2P:36}),29:c.29.4I(\'1M\',{2Y:4o,2P:36}),1E:c.1E.4I(\'1O-1D\',{2Y:8F,2P:36})};c.83=N 6f();c.7Z=N 6f()},5b:k(3C){m(3C.3f.M==8)h c.6x(3C.2m,3C.4y);o j,2d,18=[];c.6r.1w(k(q){m(q.3f==3C.3f){m(q.1l&&q.1l!=""){F(j=0;j<18.M;j++)m(18[j][0]==q.1l)1e;m(j==18.M){18.1b([q.1l,q.4y,q.3f,q.1j.3g(\'8A\').1X(\'\')*1]);m(q.1l==3C.1l)2d=j}}17{F(j=0;j<18.M;j++)m(18[j][0]==q.2m)1e;m(j==18.M){18.1b([q.2m,q.4y,q.3f,q.1j.3g(\'8A\').1X(\'\')*1]);m(q.2m==3C.2m)2d=j}}}},c);h c.2h(18,2d)},8w:k(){m(4f 4e!="59"){c.4Q=1c;bA(4e[\'bx\']+\'?9b=bw&bt=\'+c.18[c.1t][3]+\'&8e=\'+4e[\'8e\']+\'&cc=1&bu=\'+4e[\'bv\'],\'3w\',1n,c.6w.H(c))}h V},6w:k(bB){c.4H.3j();c.4H.6G();m($E(\'#3w 4v\')){$E(\'#3w 4v\').1Y(\'87\',(k(e){N B(\'6z\',{\'r\':\'4l\',\'1l\':\'bC\',\'L\':\'1\'}).1C($E(\'#3w 4v bI bJ\'));bK($E(\'#3w 4v\').48(\'9b\'),$E(\'#3w 4v\').48(\'1p\'),\'3w\',1n,c.6w.H(c));e.2z()}).8K(c))}},6x:k(6I,4y){h c.2h([[6I,4y]],0)},2h:k(18,2d){c.18=18;c.42();c.6S(1c);c.1D=I.5m()+(I.5n()/15);c.1y.3r({1D:c.1D+\'1G\',1o:\'\'});c.1x.3h.1h(0.5);h c.5B(2d)},42:k(){o 3V=(I.4A()[\'2V\'][\'x\']-$(K.3s).4A()[\'2V\'][\'x\'])/(-2);m(3V>0){3V=0}c.3h.3r({\'1D\':I.5m()+\'1G\',\'1I\':I.5n()+\'1G\',\'1O-26\':3V,\'1O-3B\':3V,\'3y-26\':3V*-1,\'3y-3B\':3V*-1})},6S:k(2h){o O=$A(K.2a(\'34\'));O.R(K.2a(I.28?\'33\':\'7X\'));O.1w(k(q){m(2h)q.8V=q.J.4n;q.J.4n=2h?\'4l\':q.8V});o G=2h?\'1Y\':\'4E\';I[G](\'3J\',c.6y)[G](\'3P\',c.6y);K[G](\'6v\',c.8Z);c.2s=0},91:k(C){m(!c.4Q){1T(C.9i){T 27:T 88:T 67:c.6Q();1e;T 37:T 80:c.2k();1e;T 39:T 78:c.30()}}},2k:k(){h c.5B(c.1t-1)},30:k(){h c.5B(c.1t+1)},5B:k(2d){m(c.2s||(2d<0)||(2d>=c.18.M))h V;c.2s=1;c.1t=2d;c.4H.3j();c.4Q=V;c.1y.J.8I=\'\';c.3t.J.1o=c.44.J.1o=c.4G.J.1o=c.5t.J.1o=c.5q.J.1o=\'2C\';c.1x.1K.3j();c.1x.29.3j();c.1y.1j=\'bH\';m(!c.18[2d][2].1Z(/^4M/i)){c.3u=N 6f();c.3u.8Y=c.36.H(c);c.3u.2F=c.18[2d][0]}17{c.36();c.29.2F=c.18[c.1t][0]}h V},36:k(){1T(c.2s++){T 1:c.1y.1j=\'\';m(c.18[c.1t][2].1Z(/^4M/i)){c.1K.J.1o=\'2C\';c.6L.J.1o=\'2C\';m(c.u.51){c.71.J.1o=\'2C\'}m(c.4Y){c.4Y.J.1o=\'2C\'}c.29.J.1o=\'8u\';3R=c.18[c.1t][2];c.3N=3R.6b(3R.2H(\'[\')+1,3R.2H(\']\')).3g(\',\')[0]*1;c.4X=3R.6b(3R.2H(\'[\')+1,3R.2H(\']\')).3g(\',\')[1]*1;c.29.J.1Q=c.3N+"1G";c.29.J.1I=c.4X+"1G";c.75.4U(c.18[c.1t][1]||\'\');c.1E.J.1Q=c.3N+"1G";m(c.1y.45!=c.4X+20){c.1x.3P.1h({1I:c.4X+20});1e}}17{c.1K.J.1o=\'8u\';c.29.J.1o=\'2C\';c.1K.J.bG=\'6I(\'+c.18[c.1t][0]+\')\';c.6L.2F=c.18[c.1t][0];m(c.u.51){c.71.2m=c.18[c.1t][0].31(\'/18/\',\'/18/bD.bE?8y=\')}c.1K.J.1Q=c.1E.J.1Q=c.3u.1Q+\'1G\';c.1K.J.1I=c.44.J.1I=c.4G.J.1I=c.3u.1I+\'1G\';c.75.4U(c.18[c.1t][1]||\'\');m(c.1t)c.83.2F=c.18[c.1t-1][0];m(c.1t!=(c.18.M-1))c.7Z.2F=c.18[c.1t+1][0];m(c.1y.45!=c.1K.3e){c.1x.3P.1h({1I:c.1K.3e});1e}}c.2s++;T 2:m(c.18[c.1t][2].1Z(/^4M/i)){m(c.1y.4D!=c.3N+20){c.1x.3P.1h({1Q:c.3N+20,3Q:-(c.3N+20)/2});1e}}17{m(c.1y.4D!=c.1K.3c){c.1x.3P.1h({1Q:c.1K.3c,3Q:-c.1K.3c/2});1e}}c.2s++;T 3:m(c.18[c.1t][2].1Z(/^4M/i)){c.3t.3r({1D:(c.1D+c.1y.45)+\'1G\',1I:\'5p\',3Q:c.1y.J.3Q,1o:\'\',1Q:c.3N+20});c.1x.29.1h(1)}17{c.3t.3r({1D:(c.1D+c.1y.45)+\'1G\',1I:\'5p\',3Q:c.1y.J.3Q,1o:\'\',1Q:c.1y.4D});c.1x.1K.1h(1)}m(c.1t)c.5t.J.1o=\'\';m(c.1t!=(c.18.M-1))c.5q.J.1o=\'\';1e;T 4:c.1y.J.8I=\'#bF\';m(c.u.90){c.1x.1E.2v(-c.1E.3e);c.3t.J.1I=\'\';c.1x.1E.1h(0);1e}c.3t.J.1I=\'\';T 5:m(c.1t)c.44.J.1o=\'\';m(c.1t!=(c.18.M-1))c.4G.J.1o=\'\';c.2s=0}},6Q:k(){m(c.2s<0)h;c.2s=-1;c.29.2F="";m(c.3u){c.3u.8Y=1B.2R;c.3u=1n}F(o f 19 c.1x)c.1x[f].2z();c.1y.J.1o=c.3t.J.1o=\'2C\';c.4H.3j();c.4Q=V;c.1x.3h.8X(c.6S.6R(V,c)).1h(0);(k(){c.3h.3r({\'1I\':\'8T\',\'1O-26\':0,\'1O-3B\':0,\'3y-26\':0,\'3y-3B\':0})}).H(c).1W(4o);h V}};I.1Y(\'4W\',61.9g.H(61));',62,820,'||||||||||||this|||||return|||function||if||var||el|type||property|options|||||||Element|event|||for|fn|bind|window|style|document|value|length|new|elements|to|from|extend||case|element|false|events|param|obj||||Fx||arguments|||else|images|in|args|push|true|contains|break|items|Math|start|array|className|now|name|css|null|display|id|result|selector|prototype|activeImage|parent|props|each|fx|center|transition|values|Class|injectInside|top|bottom|parsed|px|prop|height|keys|image|Elements|opacity|relatedTarget|margin|mode|width|current|setProperty|switch|custom|timer|delay|join|addEvent|test||nocash|initialize|Array|Garbage|unit|left||ie|iframe|getElementsByTagName|temp|overflown|imageNum|documentElement|call|key|open|Transitions|rgb|previous|Event|href|params|pos|getStyle|parse|map|step|setStyle|Methods|set|context|max|create|stop|text|parentNode|none|match|filter|src|properties|indexOf|item|string|target|Events|CSS|tag|time|onComplete|index|empty|iCss|offset|returns|size|fireEvent|div|duration|shared|next|replace||select|object|option|nextEffect||||scrollTo|Styles|offsetWidth|toInt|offsetHeight|rel|split|overlay|tmp|hide|xpath|getValue|iterable|source|border|setProperties|iTo|setStyles|body|bottomContainer|preload|onclick|lbSendContainer|chains|padding|wrapper|compute|right|link|pow|val|method|addListener|Abstract|periodical|scroll|increase|setNow|Base|ifw|getPosition|resize|marginLeft|zws|inject|min|hex|difw|remove|webkit|len|htmlElement||round|position|merge|prevLink|clientHeight||collect|getProperty|chk|fromTo|mousewheel|native|apply|fotoalbum_settings|typeof|script|results|wait|getTag|getNow|hidden|bit|visibility|500|iFrom|toLowerCase|HTMLElement|parseFloat|iNow|scrollLeft|form|scrollTop|unique|title|precision|getSize|walk|parseInt|clientWidth|removeEvent|domReady|nextLink|sendContainerSlider|effect|klass|layout|mix|lightpopup|included|Properties|code|isSending|number|tagName|Listeners|setHTML|webkit419|domready|ifh|sendLink|brother||printable|loaded|rgbToHex|generic|readyState|setMany|currentStyle|every|undefined|splice|click|removeEvents|trash|evType|pick|getElements|realType|proto|scrollWidth|mp|getElementById|getScrollTop|getHeight|scrollHeight|0px|nextLink2|fix|getElementsBySelector|prevLink2|clear|fKey|color|stopPropagation|preventDefault|defined|hexToRgb|changeImage|attempt|regex|Multi|end|forEach|add|Color|scrollSize|selected|appendChild|concat|ie_ready|camelCase|clean|trim|queryString|Style|getParam|bound|getItems|regexp|qs|iProps|multiple|checked|Lightbox|while|RegExp|disabled|onStart|found||Dom|hasClass|gecko|substring|random|NativeEvents|include|Image|hasChild|newArray|charAt|innerText|mouseout|initialWidth|mouseover|DOMMouseScroll|pageY|cssText|xhtml|anchors|catch|try|nodeType|keydown|sendContainerOnLoad|show|eventPosition|input|delete|pairs|addEvents|merged|addEventListener|getMany|slideIn|unload|url|String|node|imagePrint|first|transitions|class|flag|close|pass|setup|setOptions|on|insertBefore|default|compat|Transition|easeType|firstChild|printLink|Function|pageX|PI|caption|operator|textarea||removeEventListener|continue|fixRelatedTarget|relatedTargetGecko|borderShort|getFormElements|extended|which|wheelDelta|clientY|PropertiesIFlag|shift|clientX|cloneEvents|substr|nodeValue|evaluate|normal|removeChild|beforeunload|appendText|childNodes|filterById|getLast|getNext|prefix|resolver|filterByClass|filterByAttribute|styleSheet|sel|Width|capitalize|Top|Right|Left|Bottom|fixStyle|getElement|hyphenate|innerHTML|mouseleave|mouseenter|textContent|removeListener|direction|getStyles|elementsProperty|Merge|where|embed|sin|preloadNext||cos|callee|preloadPrev|createElement|slideOut|before|submit||injectAfter|styles|argument|constructor|adopt|album_id|after|vertical|pp|toFloat|Number|slice|frameBorder|easeOut|effects|toUpperCase|clone|sendContainer|head|Bounce|copy|block|resizeDuration|send|Object|img|interval|id_|250|initialHeight|bindAsEventListener|resizeTransition|400|Slide|toElement|backgroundColor|addClass|bindWithEvent|load|removeClass|opera|getScrollWidth|getWidth|pageYOffset|pageXOffset|complete|auto|zoom|lbBackupStyle|defaultView|chain|onload|eventKeyDown|animateCaption|keyboardListener|setOpacity|visible|getScrollLeft|getScrollHeight|limit|wheelStops|iParsed|Single|picked|action|full|ie6|contents|Options|init|Chain|keyCode|change|fps|onCancel|callChain|implement|delta|MooTools|borderColor|XMLHttpRequest|ie7|all|borderStyle|accesskey|readOnly|frameborder|readonly|maxLength|tabIndex|maxlength|collection|attachEvent|detachEvent|version|nodeName|textnode|whitespace|tabindex|floor|clearTimeout|getTime|clearInterval|Window|Document|Date|htmlFor|rowSpan|accessKey|rowspan|colSpan|colspan|ActiveXObject|escapeRegExp|lastChild|injectTop|cloneNode|getFirst|replaceWith|getParent|getChildren|removeProperty|injectBefore|attributes|getAttribute|replaceChild|createTextNode|Sibling|hasLayout|alpha|100|getComputedStyle|zIndex|cssFloat|toggleClass|getPrevious|float|styleFloat|boolean|removeAttribute||BackgroundImageCache|execCommand|clearChain|some|associate|DOMElement|khtml|navigator|taintEnabled|webkit420|getBoxObjectFor|getRandom|getPropertyValue|setText|setAttribute|getProperties|times|err|setInterval|transparent|toString|getText|setTimeout|borderWidth|innerHeight|InOut|ease|Pow|Out|In|easeIn|easeInOut|linear|Expo|Circ|Quad|Cubic|Quart|Elastic|618|acos|Sine|Back|toggle|horizontal|write|defer|onreadystatechange|void|javascript|location|protocol|https|DOMContentLoaded|onDomReady|toBottom|toLeft|overflow|toTop|Scroll|innerWidth|1000|clearTimer|Quint|sineInOut|foto_id|lang|language|send_foto|toolpath|lbCaption|both|getsrc|ajaxObj|nohf|print|php|000|backgroundImage|lbLoading|table|td|postform|lbSendLink|sendable|lbImage|lbIframe|scrolling|lbImagePrint|lbCenter|links|lightbox|lbOverlay|lbPrevLink|lbNextLink|lbPrevLink2|lbPrintLink|_blank|lbNextLink2|lbCloseLink|lbBottomContainer|lbBottom|getCoordinates|toRight|tab|ctrlKey|dblclick|backspace|getLeft|down||esc|space|mouseup|control|shiftKey|alt|srcElement|keyup|keypress|mousedown|mousemove|up|enter|detail|111|fromCharCode|120|wheel|altKey|meta|metaKey|mouse|menu|fromElement|cancelBubble|returnValue|button|rightClick|page|client|focus|move|http|CollectGarbage|password|snapshotItem|toQueryString|UNORDERED_NODE_SNAPSHOT_TYPE|snapshotLength|blur|radio|1999|getElementsByClassName|checkbox|org|www|w3|XPathResult|encodeURIComponent|reset|error|offsetLeft|offsetTop|getTop|offsetParent|contextmenu|abort|namespaceURI|starts|with|filterByTag|do|ES'.split('|'),0,{}))
function documentWrite(str){document.write(str)}function elementSetHTML(element,code){element.innerHTML=code}