var changedContent = false; var trv_dialogContentChanged = false; var trv_multiContentChanged = new Object(); var trv_core_progressFetch = new Object(); var trv_core_progressInlineFetch = new Object(); Date.now = Date.now || function() { return +new Date(); }; $(function() { initTooltip();}); /**********************************************************************************************/ function initTooltip() { if ($.isFunction($.fn.tooltip)) { $('.trovarit_tooltip[title]').tooltip({ showURL: false, id: "trovarit_tooltip", showBody: "; ", fade: 250 }); $('.trovarit_tooltip_width[title]').tooltip({ showURL: false, id: "trovarit_tooltip", showBody: "; ", fade: 250, extraClass: "tooltip_width" }); } } /**********************************************************************************************/ function showBockscreenProgressBar(alternativeLable) { if (alternativeLable != null) { $(".trv_uploadProgressbar").parent().prev().text(alternativeLable); } $(".trv_uploadProgressbar").progressbar({ value: false, change: function() { $(".trv_uploadProgressbar .progress-label").text( $(".trv_uploadProgressbar").progressbar( "value" ) + "%" ); } }); $(".trv_uploadProgressbar").append('
'); $("#trv_blockScreenProgress").show(); } /**********************************************************************************************/ function hideBockscreenProgressBar() { $(".trv_uploadProgressbar .ui-progressbar-overlay").remove(); $("#trv_blockScreenProgress").hide(); } /**********************************************************************************************/ function setBockscreenText(text) { if (isScreenBlocked) { $("table td.trovarit_wait_dialog").html(text); } } /**********************************************************************************************/ function setBockscreenProgressValue(setPercent) { if (setPercent >= 0) { if (setPercent == 0 && $(".trv_uploadProgressbar .progress-label").text() == "") { $(".trv_uploadProgressbar .progress-label").text("0%"); } $(".trv_uploadProgressbar .ui-progressbar-overlay").remove(); } else if($(".trv_uploadProgressbar .ui-progressbar-overlay").length == 0) { $(".trv_uploadProgressbar").append('
'); } $(".trv_uploadProgressbar").progressbar( "option", {value:setPercent}); } /**********************************************************************************************/ function callOnEnter(e,functionToCall,argArray) { var keycode; if (window.event) keycode = window.event.keyCode; else if (e) keycode = e.which; else return true; if (keycode == 13) { if ((argArray == null) || (argArray == "")) { argArray = new Array(); } functionToCall.apply(this, argArray); return false; } else return true; } /**********************************************************************************************/ function submitEnter(myfield,e) { var keycode; if (window.event) keycode = window.event.keyCode; else if (e) keycode = e.which; else return true; if (keycode == 13) { myfield.form.submit(); return false; } else return true; } /**********************************************************************************************/ function confirmDialog(title, onYesClick, question, height, width, onNoClick, position) { if (height == null) { height="auto"; } if (width == null) { width=350; } if (onNoClick == null) { onNoClick=""; } if (position == null) { position="center"; } var currentTime = Date.now(); $("body").append(""); var dialogContent = "
question
JA NEIN
"; dialogContent = dialogContent.replace(/-CurrentTimeID-/g, currentTime); dialogContent = dialogContent.replace(/onYesClick/, onYesClick); dialogContent = dialogContent.replace(/onNoClick/, onNoClick); dialogContent = dialogContent.replace(/question/, question); $("#trv_core_confirm_dialog_"+currentTime).html(dialogContent); $("#trv_core_confirm_dialog_"+currentTime).dialog({ close: function(event, ui) { $(this).dialog('destroy'); $("#trv_core_confirm_dialog_"+currentTime).remove(); }, resizable: false, draggable: false, height: height, width: width, bgiframe: true, modal: true, position: position, title: title }); return currentTime; } /**********************************************************************************************/ function infoDialog(title, content, height, width, onCloseClick, position, alternativeButtonText, isErrorInfo) { if (height == null) { height="auto"; } if (width == null) { width=400; } if (onCloseClick == null) { onCloseClick=""; } if (position == null) { position="center"; } var currentTime = Date.now(); $("body").append(""); var dialogContent = "
boxcontent
SCHLIESSEN
"; if (alternativeButtonText != null) { dialogContent = dialogContent.replace("SCHLIESSEN", alternativeButtonText); } if (isErrorInfo == true) { dialogContent = dialogContent.replace(/trovarit_dialog_info/, 'trovarit_dialog_error'); } if (height!="auto") { dialogContent = dialogContent.replace(/height: 150px/, 'height: '+(height-100)+'px;'); } else { dialogContent = dialogContent.replace(/height: 150px/, ''); } dialogContent = dialogContent.replace(/-CurrentTimeID-/g, currentTime); dialogContent = dialogContent.replace(/boxcontent/, content); $("#trv_core_info_dialog_"+currentTime).html(dialogContent); $("#trv_core_info_dialog_"+currentTime).dialog({ close: function(event, ui) { if (typeof shortcut == "object") { shortcut.remove("Return"); } eval(onCloseClick); $(this).dialog('destroy'); $("#trv_core_info_dialog_"+currentTime).remove(); }, resizable: false, draggable: false, height: height, minHeight: 130, width: width, bgiframe: true, modal: true, position: position, title: title }); } /**********************************************************************************************/ function checkCookiesActive() { $.post( "http://holzmann.portal.it-matchmaker.com/core/ajax/ajax.php?PHPSESSID=6adc69dc30e2d7a8718ee07d484995b6", { type: "CHECK_COOKIES", app_language: "de", page_charset: "utf-8" }, function(html) { if (html != 1) { $(".trovarit_cookies_error").html(html); } }); } /**********************************************************************************************/ function encode_utf8( s ) { return unescape( encodeURIComponent( s ) ); } /**********************************************************************************************/ function decode_utf8( s ) { return decodeURIComponent( escape( s ) ); } /**********************************************************************************************/ function addslashes(str) { str=str.replace(/\\/g,'\\\\'); str=str.replace(/\"/g,'\\"'); str=str.replace(/\0/g,'\\0'); str=str.replace(/\n/g,''); str=str.replace(/\t/g,''); return str; } function stripslashes(str) { str=str.replace(/\\'/g,'\''); str=str.replace(/\\"/g,'"'); str=str.replace(/\\0/g,'\0'); str=str.replace(/\\\\/g,'\\'); return str; } /**********************************************************************************************/ function exportTableToExcel(tableID, savename) { if (savename == null || savename == '') { savename = "export" } if ($('#'+tableID).length > 0) { blockScreen(); var headerData = '"header":['; $('#'+tableID+' >thead>tr>th:not(.noExport)').each(function (index, element) { if ($(element).find("span").length != 0 && $(element).html().indexOf("data-index")==-1) { var idTH = $(element).attr("id"); var headerSet = 0; $('#'+idTH+' span:not(.noExport) ').each(function (secondIndex, test) { headerData += '"'+addslashes($(this).text().replace(/^\s+|\s+$/g, ''))+'",'; headerSet = 1; }); if(headerSet == 0) { headerData += '"'+addslashes($(this).text().replace(/^\s+|\s+$/g, ''))+'",'; } } else { headerData += '"'+addslashes($(this).text().replace(/^\s+|\s+$/g, ''))+'",'; } }); headerData = headerData.slice(0, -1) + '],'; var tableData = '"data": ['; $('#'+tableID+'>tbody>tr:visible:not([class*=repated-header])').each(function (i) { var rowData = '['; $("td:not(.noExport)",this).each(function(j) { var tdContent = ""; tdContent = addslashes($(".exportThis",this).text().replace(/^\s+|\s+$/g, '')); if (tdContent == "") { tdContent = addslashes($(".sortThis",this).text().replace(/^\s+|\s+$/g, '')); } rowData += '"'+tdContent+'",'; }); rowData = rowData.slice(0, -1) + '],'; tableData = tableData + rowData; }); tableData = tableData.slice(0, -1) + ']'; alldata = "{"+headerData+tableData+"}"; $.post( "http://holzmann.portal.it-matchmaker.com/core/ajax/ajax.php?PHPSESSID=6adc69dc30e2d7a8718ee07d484995b6", { type: "CREATE_EXCEL_FROM_TABLE", page_charset: "utf-8", app_language: "de", data: alldata, savename: savename }, function(data) { unblockScreen(); if (data.length != 32) { infoDialog("FEHLER", data); } else { var tempChangedContent = changedContent; var tempDialogContentChanged = trv_dialogContentChanged; if (tempChangedContent) { contentChanged(false); } if (tempDialogContentChanged) { dialogContentChanged(false); } location.href = "http://holzmann.portal.it-matchmaker.com/core/get_generated_file.php?file="+data; if (tempChangedContent) { contentChanged(true); } if (tempDialogContentChanged) { dialogContentChanged(true); } } }); } else { infoDialog("FEHLER", "Die Tabelle mit der ID existiert nicht!"); } } /**********************************************************************************************/ function tableToolbarFilter(tableID, callbackAfterSet) { if (!excelFilterExists(tableID)) { blockScreen(true); setTimeout(function(){callTableToolbarFilter(tableID,callbackAfterSet);}, 150); } else { $("div.trovarit_excel_filter_dialog").dialog('close'); if (eval(tableID+"_filter").getData().length) { eval(tableID+"_filter").clearExcelFilterData(); eval(tableID+"_filter").setFilter(); } } } /**********************************************************************************************/ function excelFilterExists(tableID) { return $('#'+tableID+' .trovarit_table_excel_filter').length > 0; } /**********************************************************************************************/ function callTableToolbarFilter(tableID,callbackAfterSet) { if (!excelFilterExists(tableID)) { var filterText = $('input#'+tableID+'_input_filter').val().trim(); $('table#'+tableID+'>tbody>tr:visible').removeHighlight(); if (!filterText.length && $("table#"+tableID+">tbody>tr:hidden").length) { $('table#'+tableID+'>tbody>tr').show(); setToolbarInfo(tableID, false); reinitTablesorter(tableID, false); } else if (filterText.length) { $('table#'+tableID+'>tbody>tr:containsNC("'+filterText+'")').show(); $('table#'+tableID+'>tbody>tr:not(:containsNC("'+filterText+'"))').hide(); $('table#'+tableID+'>tbody>tr:visible').highlight(filterText); setToolbarInfo(tableID, false); reinitTablesorter(tableID, false); } if (callbackAfterSet != null) { eval(callbackAfterSet); } unblockScreen(true); } } $.extend($.expr[":"], { "containsNC": function(elem, i, match, array) { return (elem.textContent || elem.innerText || "").toLowerCase().indexOf((match[3] || "").toLowerCase()) >= 0; } }); /**********************************************************************************************/ function setToolbarInfo(tableID, initTotalCount) { if ($('table#'+tableID+'>tbody>tr:not([class*="table_toolbar_no_count"])').length == 0) { $('#'+tableID+'_visible_count').text(0); } else { $('#'+tableID+'_visible_count').text($('table#'+tableID+'>tbody>tr:not([class*="table_toolbar_no_count"]):visible').length); } if (initTotalCount) { $('#'+tableID+'_all_count').text($('table#'+tableID+'>tbody>tr:not([class*="table_toolbar_no_count"])').length); } } /**********************************************************************************************/ function tableToolbarFilterReset(tableID,callbackAfterSet) { if (!excelFilterExists(tableID)) { $('input#'+tableID+'_input_filter').val(""); } tableToolbarFilter(tableID,callbackAfterSet); } /**********************************************************************************************/ function addTableToolbar(tableID, filename, legendeContent, helpLink, disableExcelFilter) { if (disableExcelFilter == null) { disableExcelFilter = false; } if (($('#'+tableID).length == 1) && ($('#'+tableID).prev().attr("class") != "trovarit_table_toolbar_container")) { $.post( "http://holzmann.portal.it-matchmaker.com/core/ajax/ajax.php?PHPSESSID=6adc69dc30e2d7a8718ee07d484995b6", { type: "GET_TABLE_TOOLBAR", page_charset: "utf-8", app_language: "de", tableID: tableID, filename: filename, disableExcelFilter: disableExcelFilter, legendeTemplate: legendeContent, helpLink: helpLink }, function(html) { $('#'+tableID).before(html); }); } else { infoDialog("FEHLER", "Die Tabelle mit der ID existiert nicht!"); } } /**********************************************************************************************/ function addTableExcelFilter(tableID, callbackAfterFilter,callbackAfterFilterToggle) { if (($('#'+tableID).length) && !excelFilterExists(tableID)) { var dialogPositions = ""; $('#'+tableID+'>thead:first th').each(function() { dialogPositions = dialogPositions + ($(this).is(":visible")?1:0).toString()+";"; }); $.trv_postJson({ url: "http://holzmann.portal.it-matchmaker.com/core/ajax/ajax.php?PHPSESSID=6adc69dc30e2d7a8718ee07d484995b6", ajax_type: "ADD_EXCEL_TABLE_FILTER", disableErrorOnReload: true, parameter: { page_charset: "utf-8", app_language: "de", appName: "itm-portal", tableID: tableID, callbackAfterFilter: callbackAfterFilter, dialogPositions: dialogPositions.rtrim(";") }, onSuccess: function(data) { $('#'+tableID+'>thead:first').prepend(data.filterContent); if (callbackAfterFilterToggle != null) { eval(callbackAfterFilterToggle); } if (data.filterData != "") { eval(tableID+"_filter").setJsonFilter(data.filterData); eval(tableID+"_filter").filterTable(); } } }); } else { infoDialog("FEHLER", "Die Tabelle mit der ID existiert nicht!"); } } /**********************************************************************************************/ function reinitTablesorter(tableID, tableUpdate = true) { if ($("table#"+tableID).length) { if (tableUpdate) { $("table#"+tableID).trigger("update"); $("table#"+tableID).trigger("appendCache"); } if ($("table#"+tableID)[0].config != null) { $("table#"+tableID).trigger("sorton", [$("table#"+tableID)[0].config.sortList]); } setZebraTableSorter(tableID); } } /**********************************************************************************************/ function initTablesorter(tableID, sortRow, sortDescending,sortList) { if (sortRow == null) { sortRow = 0; } if (sortDescending == null) { sortDescending = 0; } var sortArray = [[sortRow,sortDescending]]; if (sortList != null) sortArray = sortList; $('table#'+tableID).tablesorter({ widgets: ['zebra'], sortList: sortArray, delayInit: true, textExtraction: function(node) { return $("span.sortThis", node).text(); } }); setZebraTableSorter(tableID); } function setZebraTableSorter(tableID) { if ($('table#'+tableID+'>tbody>tr:visible').length == 1) { setTableZebra(tableID); } } function initTablesorterWithChilds(tableID, sortRow, sortDescending, collapsed) { if (sortRow == null) { sortRow = 0; } if (sortDescending == null) { sortDescending = 0; } $('table#'+tableID).collapsible("td.collapsible", {collapse: collapsed}); $('table#'+tableID).tablesorter ({ sortList: [[sortRow,sortDescending]], widgets: ['zebra'], headers: {0: {sorter: false}}, textExtraction: function(node) {return $("span.sortThis", node).text();} }); setZebraTableSorter(tableID); } /**********************************************************************************************/ function initFormValidator(formID, errorClass, ignoreElements) { if (errorClass == null) { errorClass = "trovarit_validation_error"; } if (ignoreElements == null) { ignoreElements = ":hidden"; } return $("#"+formID).validate({ meta: "validate", errorClass: errorClass, ignore: ignoreElements, errorPlacement: function(error, element) { } }); } /**********************************************************************************************/ function isFormValid(formID, position, isIFrame, focusErrorClassAfterClose, showFirstTabWithError, alternativeMessage) { if ($('#'+formID).length > 0) { if ($('#'+formID).valid()) { return true; } else { if (isIFrame == true) { setIframeTop(); } if (focusErrorClassAfterClose != null) { focusErrorClassAfterClose = "$('."+focusErrorClassAfterClose+":first').focus();"; } if (showFirstTabWithError == true) { findFirstTabWithError(formID); } if (alternativeMessage != null && alternativeMessage != "") { infoDialog("FEHLER", alternativeMessage, null, null, focusErrorClassAfterClose,position); } else { infoDialog("FEHLER","Bitte füllen Sie alle rot markierten Felder korrekt aus!", null, null, focusErrorClassAfterClose,position); } return false; } } else { infoDialog("FEHLER", "isFormValid(): Kein Formular mit der ID '"+formID+"' gefunden!", null, null, null,position); } } /**********************************************************************************************/ function findFirstTabWithError(formID) { $("#"+formID+" ul.tabs li.tabs a").each(function(tabIndex, domEle) { if ($(this).parents(".trv_core_tabs").find($(this).attr("href")).find(".trv_core_input_white_validator_error:first").length == 1) { $(this).parents(".trv_core_tabs").tabs("select",tabIndex); return false; } }); } /**********************************************************************************************/ function dialogContentChanged(changed) { multiContentChanged(changed); } /**********************************************************************************************/ function multiContentChanged(changed,contentID) { if (changed) { if (contentID != null) { trv_multiContentChanged[contentID] = changed; } trv_dialogContentChanged = changed; setUnload(changed); } else { if (contentID != null) { delete trv_multiContentChanged[contentID]; } if (Object.keys(trv_multiContentChanged).length == 0) { trv_dialogContentChanged = changed; setUnload(changed); } } } /**********************************************************************************************/ function contentChanged(changed) { changedContent = changed; setUnload(changed); } /**********************************************************************************************/ function setUnload(enabled, infoText) { if (enabled) { if (!isSetUnload()) { $("a.trv_core_show_block_screen").unbind("click"); $(window).bind('beforeunload', function() { if (infoText == null) { return 'Daten haben sich geändert und wurden noch nicht gespeichert!'; } else { return infoText; } }); $("body").data('setBeforeUnload',true); } } else if(!changedContent && !trv_dialogContentChanged && Object.keys(trv_multiContentChanged).length == 0) { if (isSetUnload()) { $(window).unbind('beforeunload'); $("a.trv_core_show_block_screen").bind("click", function(){blockScreen();}); $("body").data('setBeforeUnload',false); } } } /**********************************************************************************************/ function isSetUnload() { return $("body").data('setBeforeUnload')==true?true:false; } /**********************************************************************************************/ function trv_confirmClose(onYesFunction,type,isIFrame,contentID) { if ((type == 1 && (trv_dialogContentChanged || (contentID != null && trv_multiContentChanged[contentID]))) || (type == 0 && changedContent)) { isIFrame = (isIFrame == null || !isIFrame) ? 0:1; var position = getIFramePosition(isIFrame); var disableContentChanged = "dialogContentChanged(false);" if (contentID != null && type == 1) { disableContentChanged = "multiContentChanged(false,'"+contentID+"');" } if (type == 0) { disableContentChanged = "contentChanged(false);" } confirmDialog("BESTÄTIGUNG",disableContentChanged+onYesFunction,"Daten wurden geändert und noch nicht gespeichert!

Ohne speichern fortfahren?",null,400,null,position); return false; } else if (type == 1 || type == 0) { eval(onYesFunction); return true; } } /**********************************************************************************************/ function addValidatorCombobox() { jQuery.validator.addMethod("selectCombobox", function(value, element) { if (value == "") { return false; } return true; }, " "); } /**********************************************************************************************/ function addValidatorPositivNumber() { jQuery.validator.addMethod("numberPositiv", function(value, element) { return this.optional(element) || /^(?:0|[1-9][0-9]*)(?:[,][0-9]+)?$/.test(value); }, " "); } /**********************************************************************************************/ function addValidatorDateDE() { jQuery.validator.addMethod("dateDE", function(value, element) { var check = false; var re = /^\d{2}\.\d{2}\.\d{4}$/; if(value == "") { check = true; } else if( re.test(value)) { var adata = value.split('.'); var gg = parseInt(adata[0],10); var mm = parseInt(adata[1],10); var aaaa = parseInt(adata[2],10); var xdata = new Date(aaaa,mm-1,gg); if ( ( xdata.getFullYear() == aaaa ) && ( xdata.getMonth () == mm - 1 ) && ( xdata.getDate() == gg ) ) check = true; else check = false; } else check = false; return this.optional(element) || check; }, " "); } /**********************************************************************************************/ function addValidatorCurrency() { jQuery.validator.addMethod("currency", function(value, element) { if(value != "") { return String(value).search (/^-?\d{1,3}(?:\.?\d{3})*(?:,\d{1,2})?$/) != -1; } else { return true; } }, " "); } /**********************************************************************************************/ // this function Valitate a phone number. The right form must be +länderkennung(max 3 zahlen) (vorwahl(max 5 zahlen))nummer function addValidatorPhoneNumber() { jQuery.validator.addMethod("phoneNumber", function(value, element) { if (value != '' ) { var regPhone = new RegExp(/^\+[\d]{1,3} [\d (]{2,6}[)][\d]+$/); if (value.match(regPhone) == null) { return false; } return true; } return true; }, " "); } /**********************************************************************************************/ String.prototype.rtrim = function(chars) { chars = chars || "\\s"; return this.replace(new RegExp("[" + chars + "]+$", "g"), ""); } /**********************************************************************************************/ String.prototype.ltrim = function(chars) { chars = chars || "\\s"; return this.replace(new RegExp("^[" + chars + "]+", "g"), ""); } /**********************************************************************************************/ String.prototype.trim = function(chars) { return this.ltrim(chars).rtrim(chars); } /**********************************************************************************************/ /**********************************************************************************************/ function getTableCellText(tableCell) { if (jQuery(".multiSelectFilterData",tableCell).length) { var cellText = jQuery(".multiSelectFilterData",tableCell).text().trim(); return cellText.split("#;#"); } else { return (jQuery(".exportThis",tableCell).text().trim() || jQuery(".sortThis",tableCell).text().trim() || tableCell.textContent.trim() || ''); } } /**********************************************************************************************/ if(!Array.indexOf){ Array.prototype.indexOf = function(obj){ for(var i=0; i < this.length; i++){ if(this[i]==obj){ return i; } } return -1; } } /**********************************************************************************************/ function removeTableExcelFilter(tableID) { if (excelFilterExists(tableID)) { setExcelFilterVisible(tableID,0); if (eval(tableID+"_filter").hasExcelFilterData()) { $("#"+tableID+">tbody>tr").show(); setToolbarInfo(tableID,false); reinitTablesorter(tableID, false); } eval(tableID+"_filter = null"); $("div.trovarit_excel_filter_dialog").dialog('close'); $('table#'+tableID+'>thead>tr:first').remove(); } } /**********************************************************************************************/ function removeExcelFilterData(tableID) { $.post( "http://holzmann.portal.it-matchmaker.com/core/ajax/ajax.php?PHPSESSID=6adc69dc30e2d7a8718ee07d484995b6", { type: "REMOVE_EXCEL_TABLE_FILTER_DATA", app_language: "de", appName: "itm-portal", tableID: tableID }); } /**********************************************************************************************/ function saveExcelFilterData(tableID,filterData) { $.post( "http://holzmann.portal.it-matchmaker.com/core/ajax/ajax.php?PHPSESSID=6adc69dc30e2d7a8718ee07d484995b6", { type: "SAVE_EXCEL_TABLE_FILTER_DATA", page_charset: "utf-8", app_language: "de", appName: "itm-portal", tableID: tableID, filterData: filterData }); } /**********************************************************************************************/ function setExcelFilterVisible(tableID, filterVisible) { $.post( "http://holzmann.portal.it-matchmaker.com/core/ajax/ajax.php?PHPSESSID=6adc69dc30e2d7a8718ee07d484995b6", { type: "SET_EXCEL_TABLE_FILTER_VISIBLE", page_charset: "utf-8", app_language: "de", appName: "itm-portal", tableID: tableID, filterVisible: filterVisible }); } /**********************************************************************************************/ function getExcelFilterVisible(tableID,callbackAfterFilter,callbackAfterFilterToggle) { $.post( "http://holzmann.portal.it-matchmaker.com/core/ajax/ajax.php?PHPSESSID=6adc69dc30e2d7a8718ee07d484995b6", { type: "GET_EXCEL_TABLE_FILTER_VISIBLE", page_charset: "utf-8", app_language: "de", appName: "itm-portal", tableID: tableID }, function(data) { if (data == 1 && !excelFilterExists(tableID)) { toggleTableExcelFilter(tableID,callbackAfterFilter,callbackAfterFilterToggle); } }); } /**********************************************************************************************/ function toggleTableExcelFilter(tableID, callbackAfterFilter,callbackAfterFilterToggle) { blockScreen(true); if (excelFilterExists(tableID)) { removeTableExcelFilter(tableID); $('#'+tableID+'_excel_filter').removeClass('trovarit_toolbar_button_active'); eval(tableID+"_toggleSearch(true);"); if (callbackAfterFilterToggle != null) { eval(callbackAfterFilterToggle); } } else { $('input#'+tableID+'_input_filter').val(""); blockScreen(true);callTableToolbarFilter(tableID); addTableExcelFilter(tableID, callbackAfterFilter,callbackAfterFilterToggle); $('#'+tableID+'_excel_filter').addClass('trovarit_toolbar_button_active'); eval(tableID+"_toggleSearch(false);"); } unblockScreen(true); } /**********************************************************************************************/ function excelFilter(tableID, callbackAfterFilter) { var filterData = new Array(); var tableID = tableID; var colMapping = new Array(); var callbackAfterFilter = callbackAfterFilter; this.getFilterDialog = function(element,position) { if ($("div.trovarit_excel_filter_dialog:visible").length == 1) { $("div.trovarit_excel_filter_dialog").dialog('close'); } else { blockScreen(true); $.post( "http://holzmann.portal.it-matchmaker.com/core/ajax/ajax.php?PHPSESSID=6adc69dc30e2d7a8718ee07d484995b6", { type: "GET_EXCEL_FILTER_DIALOG", page_charset: "utf-8", app_language: "de", tableID: tableID, position: position, possibleFilter: JSON.stringify(this.getAllFilterData(element,position)) }, function(data) { openExcelSelectDialog(element,data, tableID, position); }); } } /**********************************************************************************************/ this.filterTable = function() { blockScreen(true); eval("setTimeout(function(){"+tableID+"_filter.filterTableNow();}, 150)"); } /**********************************************************************************************/ function openExcelSelectDialog(element,content, tableID,position) { var posElement = $(element).parent().parent(); $("body").append("
"); $("div.trovarit_excel_filter_dialog").hide().html(content); var pageOffsetTop = window.pageYOffset || document.documentElement && document.documentElement.scrollTop || document.body.scrollTop; var pageOffsetLeft = window.pageXOffset || document.documentElement && document.documentElement.scrollLeft || document.body.scrollLeft; var dialogWidth = 330; var dialogLeft = posElement.offset().left-1; if (dialogLeft+dialogWidth > ($('#'+tableID).position().left+$('#'+tableID).innerWidth())) { dialogLeft = posElement.offset().left+posElement.innerWidth()-dialogWidth-pageOffsetLeft-1; } $("div.trovarit_excel_filter_dialog").dialog({ close: function(event, ui) { $(this).dialog('destroy'); $("div.trovarit_excel_filter_dialog").remove(); }, resize: function(event, ui) { var tableHeight = $('.trovarit_excel_filter_dialog.ui-dialog-content').height()-$('.trovarit_excel_filter_dialog.ui-dialog-content .trovarit_table_toolbar_container').height()-8; $('div#trovarit_excel_filter_select').height(tableHeight); }, resizable: true, draggable: true, height: 300, width: 370, minWidth: 300, dialogClass: 'trovarit_filter_dialog', position: [Math.round(dialogLeft),Math.round(posElement.offset().top+posElement.innerHeight()-pageOffsetTop)+3], bgiframe: true, modal: false, buttons: { "Löschen": function() { $("#trovarit_excel_filter_select input:checked").removeAttr("checked");eval(tableID+"_filter").setFilter(position);$(this).dialog('close');},"Abbr.": function() { $(this).dialog("close"); },"OK": function() { eval(tableID+"_filter").setFilter(position);$(this).dialog('close'); } } }); } /**********************************************************************************************/ function getExcelFilterData(position, filterData) { if (position == null) { return filterData; } else { return filterData[position]; } } /**********************************************************************************************/ this.getData = function() { return filterData; } /**********************************************************************************************/ this.setData = function(newFilterData) { filterData = newFilterData; } /**********************************************************************************************/ this.setExcelFilterData = function(position, filter) { filterData[position] = filter; } /**********************************************************************************************/ this.clearExcelFilterData = function() { filterData = new Array(); } /**********************************************************************************************/ this.hasExcelFilterData = function() { for ( i=0; i < filterData.length; i++ ) { if (filterData[i] != 'undefined' && filterData[i] != null) { return true; } } return false; } /**********************************************************************************************/ this.getExcelFilterCount = function() { var filterCount = 0; for ( i=0; i < filterData.length; i++ ) { if (filterData[i] != 'undefined' && filterData[i] != null) { filterCount++; } } return filterCount; } /**********************************************************************************************/ this.getAllFilterData = function(element,position) { var filterData = {}; var table = $(element).parents(".trovarit_sort_table"); $("tbody tr td:nth-child("+position+")",table).each(function() { var rowText = getTableCellText(this); var isVisible = $(this).is(":visible"); var rowData = {}; if (rowText instanceof Array) { for( var k=0; k < rowText.length; k++ ) { rowText[k]=rowText[k].replace(/(\r\n|\n|\r)/gm,"").trim(); if (filterData[rowText[k]] == null) { filterData[rowText[k]] = {"isVisible": isVisible}; } else if (isVisible) { filterData[rowText[k]].isVisible = true; } } } else { rowText=rowText.replace(/(\r\n|\n|\r)/gm,"").trim(); if (filterData[rowText] == null) { filterData[rowText] = {"isVisible": isVisible}; } else if (isVisible) { filterData[rowText].isVisible = true; } } }); return filterData; } /**********************************************************************************************/ this.setCheckedDialogFilter = function(position) { var values = getExcelFilterData(position,filterData); if ((values != null) && (values != 'undefined')) { $.each(values, function(key, value) { $("input[value='"+value.replace(/\'/g,"\\'")+"']").attr("checked","checked"); }); } } /**********************************************************************************************/ this.setFilterHeader = function() { if (this.hasExcelFilterData()) { $.each(filterData, function(col, value) { if (value != 'undefined' && value != null) { $('#'+tableID+' thead .trv_excel_filter-'+(col-1)).addClass("trovarit_table_excel_filter_active"); $('#'+tableID+' thead .trv_excel_filter-'+(col-1)+" .trv_core_header_lable").text(value.length); $('#'+tableID+' thead .trv_excel_filter-'+(col-1)+" .trv_core_excel_filter_delete_header").show(); } else { $('#'+tableID+' thead .trv_excel_filter-'+(col-1)).removeClass("trovarit_table_excel_filter_active"); $('#'+tableID+' thead .trv_excel_filter-'+(col-1)+" .trv_core_header_lable").text(""); $('#'+tableID+' thead .trv_excel_filter-'+(col-1)+" .trv_core_excel_filter_delete_header").hide(); } }); } else { $('#'+tableID+' thead .trovarit_table_excel_filter').removeClass("trovarit_table_excel_filter_active"); $('#'+tableID+' thead .trovarit_table_excel_filter .trv_core_header_lable').text(""); $('#'+tableID+' thead .trovarit_table_excel_filter .trv_core_excel_filter_delete_header').hide(); } } /**********************************************************************************************/ this.setFilter = function(position) { var filterArray = new Array(); $("input[name='filter']:checked").each(function(key, value) { filterArray.push($(this).val()); }); if (filterArray.length == 0) { filterArray = null; } this.setExcelFilterData(position,filterArray); if (filterData.length == 0) { removeExcelFilterData(tableID); } else { saveExcelFilterData(tableID, this.getJsonFilter()); } this.filterTable(); } /**********************************************************************************************/ this.setHeaderLabel = function() { $.each(getExcelFilterData(position, filterData), function(key, value) { $("input[value='"+value+"']").attr("checked","checked"); }); } /**********************************************************************************************/ this.getFilterPositions = function() { var positions = new Array(); $.each(filterData, function(key, value) { if (value != 'undefined' && value != null) { positions.push(key); } }); return positions; } /**********************************************************************************************/ this.getJsonFilter = function() { var jsonString = '{"length":'+filterData.length+','; $.each(filterData, function(key, value) { if (value != 'undefined' && value != null) { jsonString += '"'+key+'":['; $.each(value, function(innerKey, innerValue) { jsonString += '"'+addslashes(innerValue)+'",'; }); jsonString = jsonString.rtrim(","); jsonString += '],'; } }); jsonString = jsonString.rtrim(","); jsonString += '}'; return jsonString; } /**********************************************************************************************/ this.setJsonFilter = function(jsonString) { var data = $.parseJSON(jsonString); this.clearExcelFilterData(); for(var i=0; i< data["length"]; i++) { if (data[i] != 'undefined' && data[i] != null) { this.setExcelFilterData(i,data[i]); } } } /**********************************************************************************************/ this.filterTableNow = function() { this.setFilterHeader(); $("#"+tableID+">tbody>tr").removeClass("trv_found"); if (this.hasExcelFilterData()) { var colPositions = this.getFilterPositions(); var foundRowsArray = new Array; var preselectFilter = new Array; $.each(colPositions, function(keyCol,colPosition) { preselectFilter.push(["#"+tableID+">tbody>tr>td:nth-child("+colPosition+")",":tableCellContains('"+filterData[colPosition].join("','")+"')"]); }); $.each(preselectFilter, function(index,selector) { var innerRows = new Array(); $(selector[0]).filter(selector[1]).each(function(){ innerRows.push($(this).parents("tr:first")); }); foundRowsArray.push(innerRows); }); var foundRows = foundRowsArray.shift().reduce(function(res, v) { if (!trv_isObjectInArray(v,res) && foundRowsArray.every(function(a) { return trv_isObjectInArray(v,a); })) res.push(v[0]); return res; }, []); $(foundRows).addClass("trv_found").show(); $("#"+tableID+">tbody>tr:visible:not('.trv_found')").hide(); } else { $("#"+tableID+">tbody>tr").show(); } setToolbarInfo(tableID,false); reinitTablesorter(tableID, false); if (callbackAfterFilter != null) { eval(callbackAfterFilter); } unblockScreen(true); } } function trv_isObjectInArray(obj, searchArray) { returnValue = false; $.each(searchArray, function(index,arrayObject) { if (obj.is(arrayObject)) { returnValue = true; return; } }); return returnValue; } jQuery.expr[':'].tableCellContains = function(obj, index, meta, stack){ var theList = []; if (meta[3].indexOf("','") !== -1) { theList = meta[3].substring(1, meta[3].length-1).split("','"); } else { theList.push(meta[3]); } if (jQuery(".multiSelectFilterData",obj).length) { var content = jQuery(".multiSelectFilterData",obj).text().trim(); } else { var content = (jQuery(".exportThis",obj).text().trim() || jQuery(".sortThis",obj).text().trim() || obj.textContent.trim() || ''); } content = content.replace(/(\r\n|\n|\r)/gm,""); if (content.indexOf("#;#") !== -1) { content = content.split("#;#"); if (theList.length == 1) { return content.indexOf(theList[0]) !== -1; } else { returnVal = false; $.each(content, function (index, searchText) { if (theList.indexOf(searchText) !== -1) { returnVal = true; return; } }); return returnVal; } } else { return theList.indexOf(content) !== -1; } }; /**********************************************************************************************/ function setTableZebra(tableID) { $("#"+tableID+">tbody>tr:not([class*='table_toolbar_no_count']):visible:even").removeClass("even odd").addClass("odd"); $("#"+tableID+">tbody>tr:not([class*='table_toolbar_no_count']):visible:odd").removeClass("even odd").addClass("even"); } /**********************************************************************************************/ function setIframeTop(jquerySelectorTag, offsetPixel) { var topPosition = 0; if (jquerySelectorTag == null) { jquerySelectorTag = "body,html,document"; } else { topPosition = $(jquerySelectorTag).position().top; } if (offsetPixel != null) { topPosition += offsetPixel; } $("body").append(''); $('#trv_top_scroll_dummy').focus(); $('#trv_top_scroll_dummy').remove(); } /**********************************************************************************************/ function getIFramePosition(isIFrame) { var position = "center"; if (isIFrame) { position = ['center',20]; setIframeTop(); } return position; } /**********************************************************************************************/ $.fn.animateHighlight = function(highlightColor, duration, onComplete) { var highlightBg = highlightColor || "#FF6060"; var animateMs = duration || 2000; var originalBg = this.css("backgroundColor"); this.stop().css("background-color", highlightBg).animate({backgroundColor: originalBg}, animateMs, function() {$(this).css({"background-color":""});eval(onComplete)}); }; /**********************************************************************************************/ function trv_setPiwik(url,title) { if (typeof _paq !== 'undefined') { _paq.push(['trackPageView',title]); } } /**********************************************************************************************/ $.extend({ getUrlVars: function(){ var vars = [], hash; var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&'); for(var i = 0; i < hashes.length; i++) { hash = hashes[i].split('='); vars.push(hash[0]); vars[hash[0]] = hash[1]; } return vars; }, getUrlVar: function(name){ return $.getUrlVars()[name]; } }); /**********************************************************************************************/ $(document).ready( function() { var trvShowInfo = $.getUrlVar('trvShowInfo'); var isIFrame = $.getUrlVar('isIFrame'); $("._blank").attr("target", "_blank"); if (trvShowInfo != null && trvShowInfo.length > 0) { isIFrame = (isIFrame == null || !isIFrame) ? 0:1; var position = getIFramePosition(isIFrame); infoDialog("INFORMATION",decodeURIComponent(trvShowInfo),null,null,null, position); } }); /**********************************************************************************************/ function showServiceWarning() { var serviceContainer = '
'; $(".trv_core_service_warning_container").html(serviceContainer); } /**********************************************************************************************/ function trv_printTable(tableID) { if ($('#'+tableID).prev().attr("class") != "trv_core_print_additional_info") { $('#'+tableID).before('
'); } if ($('#'+tableID).prev(".trv_core_print_additional_info").find(".trv_core_print_logo").length == 0) { $('#'+tableID).prev().prepend('
Gedruckt am:
Anzahl Einträge:
'); } $('#'+tableID).prev().find(".trv_core_print_row_count").text($('#'+tableID+"_visible_count").text()); $('#'+tableID).prev().find(".trv_core_print_lable_create_date").text(trv_core_get_current_date()); $('#'+tableID).parent().printElement( { printMode:'popup', leaveOpen:true, overrideElementCSS:['http://holzmann.portal.it-matchmaker.com/core/styles/table_print.css', {href:'http://holzmann.portal.it-matchmaker.com/core/styles/table_print.css',media:'print'}, 'http://holzmann.portal.it-matchmaker.com/core/modules/bar_chart/styles/bar_chart_print.css', {href:'http://holzmann.portal.it-matchmaker.com/core/modules/bar_chart/styles/bar_chart_print.css',media:'print'}] }); } /**********************************************************************************************/ function trv_core_get_current_date() { var now = new Date(); var month = (now.getMonth()+1)<10?"0"+(now.getMonth()+1):(now.getMonth()+1); var day = now.getDate()<10?"0"+now.getDate():now.getDate(); var year = now.getFullYear(); var hour = now.getHours()<10?"0"+now.getHours():now.getHours(); var min = now.getMinutes()<10?"0"+now.getMinutes():now.getMinutes(); return day+"."+month+"."+year+" - "+hour+":"+min; } /**********************************************************************************************/ function ie_fix_HrefJSLinks() { if (navigator.appVersion.indexOf("MSIE") != -1) { $('a').filter(function() { return (/^javascript\:/i).test($(this).attr('href')); }).each(function() { var hrefscript = $(this).attr('href'); hrefscript = hrefscript.substr(11); $(this).data('hrefscript', hrefscript); }).click(function() { var hrefscript = $(this).data('hrefscript'); eval(hrefscript); return false; }).attr('href', '#'); } } /**********************************************************************************************/ $.fn.focusToEnd = function(addSpaceAtEnd) { return this.each(function() { var v = $(this).val(); if (addSpaceAtEnd == true && v.length > 0) { v = v.rtrim()+" "; } $(this).focus().val("").val(v); }); }; function initTinyMCE(selector,afterInit, readonly_status, showTableEdit, showAddUserNameAndDate, showSerialLetterVariables, enableFullScreen) { var tablePlugin = ""; var tableToolbar = ""; var userNameAndDatePlugin = ""; var userNameAndDateToolbar = ""; var serialLetterVariablesPlugin = ""; var serialLetterVariablesToolbar = ""; var fullscreenPlugin = ""; var fullscreenToolbar = ""; if (selector == null) { selector = "textarea"; } if(readonly_status == null) { readonly_status = false; } if(showTableEdit == null) { showTableEdit = false; } if(showAddUserNameAndDate == null) { showAddUserNameAndDate = false; } if(enableFullScreen == null) { enableFullScreen = false; } if (showTableEdit) { tablePlugin = " table"; tableToolbar = " | table"; } if (showAddUserNameAndDate) { userNameAndDatePlugin = "user_and_date "; userNameAndDateToolbar = "user_and_date_on_top user_and_date_cursor | "; } if (showSerialLetterVariables != null) { serialLetterVariablesPlugin = " serial_letter_variables "; serialLetterVariablesToolbar = " | serial_letter_variables "; } if (enableFullScreen) { fullscreenPlugin = " fullscreen "; fullscreenToolbar = " | fullscreen"; } tinymce.baseURL = "http://holzmann.portal.it-matchmaker.com/core/jscripts/tinymce/"; tinymce.suffix = '.min'; tinymce.init({ readonly: readonly_status, selector: selector, skin_url: 'http://holzmann.portal.it-matchmaker.com/core/jscripts/tinymce/skins/lightgray', entity_encoding : "raw", elementpath: false, resize:true, branding: false, content_css: 'http://holzmann.portal.it-matchmaker.com/core/styles/tinymce_content_fix.css', menubar : false, plugins: [ userNameAndDatePlugin+"advlist autolink lists charmap hr searchreplace wordcount visualblocks visualchars code textcolor paste preview noneditable link"+tablePlugin+serialLetterVariablesPlugin+fullscreenPlugin ], toolbar: userNameAndDateToolbar+"undo redo | visualblocks | formatselect fontsizeselect forecolor | bold italic underline strikethrough | removeformat | alignleft aligncenter alignright alignjustify | hr | cut copy paste pastetext | bullist numlist | searchreplace | code preview | link"+tableToolbar+serialLetterVariablesToolbar+fullscreenToolbar, language : "de", paste_word_valid_elements: "@[style],-strong/b,-em/i,-span,-p,-ol,-ul,-li,-table,-tr,-td[colspan|rowspan],-th,-thead,-tfoot,-tbody,-a[href|name],sub,sup,strike,br,u", setup : function(editor) { editor.on("change", tinyOnChangeHandler); editor.on("init", afterInit); } }); } function tinyOnChangeHandler() { //JB 11.08.2014: Platzhalter, damit es keinen Fehler gibt, wenn die Funktion nicht gesetzt wird } function trv_getPossibleSerialLetterVars() { //JB 14.08.2018: Platzhalter, damit es keinen Fehler gibt, wenn die Funktion nicht gesetzt wird } function trv_core_jump_top() { if ($(".ui-dialog-titlebar").length > 0) { setIframeTop('.ui-dialog-titlebar:last'); } else { setIframeTop(); } } function trv_setLastViewedTableRowMarker(tableRowID) { $('tr#'+tableRowID).parent().find("tr").removeClass("trv_core_last_viewed_marker"); $('tr#'+tableRowID).addClass("trv_core_last_viewed_marker"); } function trv_number_format(nummer,nachkommastellen,seperator,tausender_seperator) { var isNegativNummer = false; if (nummer < 0) { isNegativNummer = true; nummer = nummer * (-1); } nummer = Math.round( nummer * Math.pow(10, nachkommastellen) ) / Math.pow(10, nachkommastellen); str_nummer = nummer+""; arr_int = str_nummer.split("."); if(!arr_int[0]) arr_int[0] = "0"; if(!arr_int[1]) arr_int[1] = ""; if(arr_int[1].length < nachkommastellen){ nachkomma = arr_int[1]; for(i=arr_int[1].length+1; i <= nachkommastellen; i++){ nachkomma += "0"; } arr_int[1] = nachkomma; } if(tausender_seperator != "" && arr_int[0].length > 3){ Begriff = arr_int[0]; arr_int[0] = ""; for(j = 3; j < Begriff.length ; j+=3){ Extrakt = Begriff.slice(Begriff.length - j, Begriff.length - j + 3); arr_int[0] = tausender_seperator + Extrakt + arr_int[0] + ""; } str_first = Begriff.substr(0, (Begriff.length % 3 == 0)?3:(Begriff.length % 3)); arr_int[0] = str_first + arr_int[0]; } return (isNegativNummer?"-":"")+arr_int[0]+seperator+arr_int[1]; } function nl2br (str) { var breakTag = '
'; return (str + '').replace(/([^>\r\n]?)(\r\n|\n\r|\r|\n)/g, '$1' + breakTag + '$2'); } (function ( $ ) { jQuery.trv_postJson = function (options) { var fullPath = "NVlFXzhjbUlsYDx5b3JMaH1gPksraD43NSs8Yy1FfXtCIF1wNWplPEkpSGFCe05rKHx9ST13UzZ6a3N8WmQhMHFDYUg,"; var logAjaxError = function (url,parameter,errorStatus,errorStatusText,errorResponseText,requestStatusText) { var errorData = new Object(); errorData["errorStatus"] = errorStatus; errorData["errorStatusText"] = errorStatusText; errorData["errorResponseText"] = errorResponseText; errorData["requestStatusText"] = requestStatusText; $.post( "http://holzmann.portal.it-matchmaker.com/core/ajax/ajax.php?PHPSESSID=6adc69dc30e2d7a8718ee07d484995b6",{ ajax_type: "LOG_AJAX_ERROR", full_path: fullPath, url: url, parameter: $.toJSON(parameter), error: $.toJSON(errorData) }); } var toggleSaveInfo = function(actionType) { if (settings.showSavingInfoIn != null) { trv_toggleSaveInfo($(settings.showSavingInfoIn),actionType,settings.alternativeSavingInfoText); } } var settings = $.extend({ disableErrorOnReload: false, errorDailogPosition: "top", errorDailogWidth: 950, errorDailogCenterText: false, alternativeErrorMessage: null, blockScreen: true, ajax_type: null, showSavingInfoIn: null, // must be element alternativeSavingInfoText: null, module_name: null, url: null, ajaxFile: "ajax.php", full_path: fullPath, parameter: null, onSuccess: function(data) {}, onErrorFirst:function(data) {} }, options ); if (settings.blockScreen) { blockScreen(true); } toggleSaveInfo("show"); if (settings.parameter == null) { settings.parameter = new Object(); } if (settings.full_path != null) { settings.parameter.full_path = settings.full_path; } if (settings.ajax_type != null) { settings.parameter.ajax_type = settings.ajax_type; } if (settings.url == null) { if (settings.module_name == null) { settings.url = "/ajax/"+settings.ajaxFile+"?PHPSESSID=6adc69dc30e2d7a8718ee07d484995b6"; } else { settings.url = "http://holzmann.portal.it-matchmaker.com/core/modules/"+settings.module_name+"/ajax/"+settings.ajaxFile+"?app_language=de&PHPSESSID=6adc69dc30e2d7a8718ee07d484995b6"; } } var internalErrorText = "INTERNER FEHLER: Wurde vielleicht Ihre Internetverbindung unterbrochen?

Bitte versuchen Sie Ihre Aktion zu wiederholen ...


Bitte überprüfen Sie Ihre Firewall oder Ihren Virusscanner! Diese können auch die Verbindung unterbrechen falls die Inhalte dieser Seite als gefährlich eingestuft worden sind. Das kann auch zu dieser Fehlermeldung führen."; $.post( settings.url, settings.parameter, function(data, status, xhr) { if (status == "success") { toggleSaveInfo("hide"); if (data === null || (!isNaN(parseFloat(data)) && typeof(data) !== 'object')) { settings.onErrorFirst.call(this,xhr); unblockScreen(); infoDialog("FEHLER",settings.alternativeErrorMessage || internalErrorText,null,600,null,settings.errorDailogPosition); var info = "Number returned"; if (data == null) { info = "NULL returned"; } logAjaxError(settings.url,settings.parameter,xhr.status,xhr.statusText,"",info); } else if (data.postJsonMessage != null) { settings.onErrorFirst.call(this,xhr); var messageTitle = "FEHLER"; var messageDialogWidth = 400; if (data.postJsonMessageTitle != null) { messageTitle = data.postJsonMessageTitle; } if (data.postJsonMessageDialogWidth != null) { messageDialogWidth = data.postJsonMessageDialogWidth; } unblockScreen(); infoDialog(messageTitle,data.postJsonMessage,null,messageDialogWidth,null,settings.errorDailogPosition,null,!settings.errorDailogCenterText); } else { settings.onSuccess.call(this,data); } } if (status == "error" || status == "timeout" || status == "parsererror") { settings.onErrorFirst.call(this,xhr); var statusResponseText = xhr.responseText; if (statusResponseText == "" || statusResponseText == null) { statusResponseText = internalErrorText; } toggleSaveInfo("hide"); unblockScreen(); infoDialog("FEHLER",settings.alternativeErrorMessage || (status+"
"+xhr.statusText+" ("+xhr.status+")
"+statusResponseText),null,settings.errorDailogWidth,null,settings.errorDailogPosition,null,!settings.errorDailogCenterText); logAjaxError(settings.url,settings.parameter,xhr.status,xhr.statusText,statusResponseText,status); } if (settings.blockScreen) { unblockScreen(true); } },"json").error(function (error) { settings.onErrorFirst.call(this,error); if (!settings.disableErrorOnReload || (settings.disableErrorOnReload && error.readyState != 0 && error.status != 0)) { toggleSaveInfo("hide"); unblockScreen(); var responseText = error.responseText; if (responseText == "" || responseText == null) { responseText = internalErrorText; } infoDialog("FEHLER",settings.alternativeErrorMessage || responseText,null,settings.errorDailogWidth,null,settings.errorDailogPosition,null,!settings.errorDailogCenterText); logAjaxError(settings.url,settings.parameter,error.status,error.statusText,responseText,"Is not a JSON string"); } }); } $.fn.trv_load = function (options) { var fullPath = "NVlFXzhjbUlsYDx5b3JMaH1gPksraD43NSs8Yy1FfXtCIF1wNWplPEkpSGFCe05rKHx9ST13UzZ6a3N8WmQhMHFDYUg,"; var logLoadError = function (url,errorStatus,errorStatusText,errorResponseText,requestStatusText) { var errorData = new Object(); errorData["errorStatus"] = errorStatus; errorData["errorStatusText"] = errorStatusText; errorData["errorResponseText"] = errorResponseText; errorData["requestStatusText"] = requestStatusText; $.post( "http://holzmann.portal.it-matchmaker.com/core/ajax/ajax.php?PHPSESSID=6adc69dc30e2d7a8718ee07d484995b6",{ ajax_type: "LOG_LOAD_ERROR", full_path: fullPath, url: url, error: $.toJSON(errorData) }); } var settings = $.extend({ disableErrorOnReload: false, errorDailogPosition: "top", errorDailogWidth: 750, errorDailogCenterText: false, blockScreen: true, div_id: null, path: null }, options ); var internalErrorText = "INTERNER FEHLER: Wurde vielleicht Ihre Internetverbindung unterbrochen?

Bitte versuchen Sie Ihre Aktion zu wiederholen ...


Bitte überprüfen Sie Ihre Firewall oder Ihren Virusscanner! Diese können auch die Verbindung unterbrechen falls die Inhalte dieser Seite als gefährlich eingestuft worden sind. Das kann auch zu dieser Fehlermeldung führen."; $("#"+settings.div_id).load(settings.path, function(response, status, xhr) { if(status == "error" || status == "timeout" || status == "parsererror") { unblockScreen(); var responseText = xhr.responseText; if (responseText == "" || responseText == null) { responseText = internalErrorText; } infoDialog("FEHLER",responseText,null,null,null,null,null,null); logLoadError('http://holzmann.portal.it-matchmaker.com',xhr.status,xhr.statusText,responseText,"Something is wrong in "+settings.div_id, 'NVlFXzhjbUlsYDx5b3JMaH1gPksraD43NSs8Yy1FfXtCIF1wNWplPEkpSGFCe05rKHx9ST13UzZ6a3N8WmQhMHFDYUg,'); $("#"+settings.div_id).remove(); } } ); return this; }; $.fn.trv_tinyMCE_isLengthValid = function(showInvalidInfo) { var invalidText = "Mindestens eine Texteingabe überschreitet die erlaubte Länge oder ist ein Pflichtfeld und muss einen Eintrag enthalten.

Bitte korrigieren Sie Ihre Eingabe ..."; var allValid = true; var foundElement = this; $(tinyMCE.editors).each(function(index,editor){ $(foundElement).each(function() { var textLength = editor.getContent().length; var textRequired = $(editor.targetElm).hasClass("{validate: {required:true}}"); if ($(editor.targetElm).get(0) == $(this).get(0) && (!editor.plugins.charcount_with_limit.isLengthValid() || (textRequired && textLength == 0))) { if (textRequired && textLength == 0) { var statusPanel = editor.theme.panel.find('#statusbar'); statusPanel.addClass("charcount_limit"); } allValid = false; return false; } }) if (!allValid) return false; }) if (!allValid && showInvalidInfo) { infoDialog("FEHLER",invalidText,null,500); } return allValid; } $.fn.trv_tinyMCE_destroy = function(){ var foundElement = this; $(tinyMCE.editors).each(function(index,editor){ $(foundElement).each(function() { if ($(editor.targetElm).get(0) == $(this).get(0)) { editor.destroy(); } }) }) } $.fn.trv_tinyMCE_init = function(options){ var settings = $.extend({ readOnly: false, enableFullscreen: false, enableMedia: false, showTableEdit: false, enablePasteImages: false, showAddUserNameAndDate: false, showSerialLetterVariables: false, maxChar: 0, afterInit: function(data) {}, onChange:function(data) {} }, options ); var tablePlugin = ""; var tableToolbar = ""; var userNameAndDatePlugin = ""; var userNameAndDateToolbar = ""; var serialLetterVariablesPlugin = ""; var serialLetterVariablesToolbar = ""; var fullscreenPlugin = ""; var fullscreenToolbar = ""; var mediaPlugin = ""; var mediaToolbar = ""; if (settings.showTableEdit) { tablePlugin = " table"; tableToolbar = " | table"; } if (settings.enableFullscreen) { fullscreenPlugin = " fullscreen "; fullscreenToolbar = " | fullscreen"; } if (settings.showAddUserNameAndDate) { userNameAndDatePlugin = "user_and_date "; userNameAndDateToolbar = "user_and_date_on_top user_and_date_cursor | "; } if (settings.showSerialLetterVariables) { serialLetterVariablesPlugin = " serial_letter_variables "; serialLetterVariablesToolbar = " | serial_letter_variables "; } if (settings.enableMedia) { mediaPlugin = " media "; mediaToolbar = " | media "; } tinymce.baseURL = "http://holzmann.portal.it-matchmaker.com/core/jscripts/tinymce"; tinymce.suffix = '.min'; tinymce.init({ readonly: settings.readOnly, selector: this.selector, content_css: 'http://holzmann.portal.it-matchmaker.com/core/styles/tinymce_content_fix.css', branding: false, skin_url: 'http://holzmann.portal.it-matchmaker.com/core/jscripts/tinymce/skins/lightgray', entity_encoding : "raw", elementpath: false, resize: true, paste_data_images: settings.enablePasteImages, menubar : false, max_char: settings.maxChar, plugins: [ userNameAndDatePlugin+"advlist autolink lists charmap hr searchreplace charcount_with_limit visualblocks visualchars code textcolor paste preview noneditable link"+tablePlugin+serialLetterVariablesPlugin+fullscreenPlugin+mediaPlugin ], toolbar: userNameAndDateToolbar+"undo redo | visualblocks | formatselect fontsizeselect forecolor | bold italic underline strikethrough | removeformat | alignleft aligncenter alignright alignjustify | hr | cut copy paste pastetext | bullist numlist | searchreplace | code preview | link"+tableToolbar+serialLetterVariablesToolbar+fullscreenToolbar+mediaToolbar, language : "de", paste_word_valid_elements: "@[style],-strong/b,-em/i,-span,-p,-ol,-ul,-li,-table,-tr,-td[colspan|rowspan],-th,-thead,-tfoot,-tbody,-a[href|name],sub,sup,strike,br,u", setup : function(editor) { editor.on("change", settings.onChange); editor.on("init", settings.afterInit); } }); } $.fn.trv_scrollTo = function( target, options, callback ){ if(typeof options == 'function' && arguments.length == 2){ callback = options; options = target; } var settings = $.extend({ scrollTarget : target, offsetTop : 50, duration : 500, easing : 'swing' }, options); return this.each(function(){ var scrollPane = $(this); var scrollTarget = (typeof settings.scrollTarget == "number") ? settings.scrollTarget : $(settings.scrollTarget); var scrollY = (typeof scrollTarget == "number") ? scrollTarget : scrollTarget.offset().top + scrollPane.scrollTop() - parseInt(settings.offsetTop); scrollPane.animate({scrollTop : scrollY }, parseInt(settings.duration), settings.easing, function(){ if (typeof callback == 'function') { callback.call(this); } }); }); } }( jQuery )); function trv_toggleSaveInfo(element,actionType,alternativeText) { var infoText = "Daten werden gespeichert ..."; if (actionType == null) { actionType = "auto"; } if (alternativeText != null) { infoText = alternativeText; } $(element).each(function() { var elementHeight = $(this).innerHeight(); var elementWidth = $(this).innerWidth(); var tableRowStyle = ''; var saveInfoPanel = '
'+infoText+'
'; if ($(this).css("position") == "static") { $(this).css("position","relative"); } if ($(this).find(".trv_core_save_info_overlay").length == 0 && (actionType == "show" || actionType == "auto")) { $(this).append(saveInfoPanel); } else if (actionType == "hide" || actionType == "auto") { $(this).find(".trv_core_save_info_overlay").remove(); } }); } function trv_searchTree(treeID,searchText) { if ($("#"+treeID).length > 0) { $("#"+treeID).jstree(true).search(searchText); } } function trv_core_startProgressFetch(progressID, alternativeLable) { showBockscreenProgressBar(alternativeLable); trv_core_progressFetch.currentProgressValue = 0; trv_core_progressFetch.progressID = progressID; trv_core_progressFetch.instance = setInterval(function() { $.get( "http://holzmann.portal.it-matchmaker.com/core/ajax/progress.php?id="+trv_core_progressFetch.progressID, function(data) { data = parseInt(data); if (data >= 0 && data <= 100 && data >= trv_core_progressFetch.currentProgressValue) { setBockscreenProgressValue(data); trv_core_progressFetch.currentProgressValue = data; } }); }, 150); } function trv_core_stopProgressBar() { if (trv_core_progressFetch != null) { clearInterval(trv_core_progressFetch.instance); hideBockscreenProgressBar(); trv_core_progressFetch = new Object(); } } function trv_core_startProgressInlilneFetch(progressID) { trv_core_progressInlineFetch.currentProgressValue = 0; trv_core_progressInlineFetch.progressID = progressID; trv_core_progressInlineFetch.instance = setInterval(function() { $.get( "http://holzmann.portal.it-matchmaker.com/core/ajax/progress.php?id="+trv_core_progressInlineFetch.progressID, function(data) { if (data.startsWith("intervall")) { if (trv_core_progressInlineFetch.intervall == null || (trv_core_progressInlineFetch.intervall != null && data != trv_core_progressInlineFetch.intervall.intervalName)) { trv_core_startIntervallProgressInline(data); } } else { if (trv_core_progressInlineFetch.intervall != null) { trv_core_stopIntervallProgressInline(); } trv_core_setProgressInline(data); } }); }, 150); } function trv_core_setProgressInline(percentValue) { percentValue = parseInt(percentValue); if (percentValue >= 0 && percentValue <= 100 && percentValue > trv_core_progressInlineFetch.currentProgressValue) { $(".trv_core_progress_inline_line").width(percentValue+"%").text(percentValue+"%"); trv_core_progressInlineFetch.currentProgressValue = percentValue; } } function trv_core_stopIntervallProgressInline() { if (trv_core_progressInlineFetch.intervall != null) { clearInterval(trv_core_progressInlineFetch.intervall.instance); trv_core_progressInlineFetch.intervall = null; } } function trv_core_startIntervallProgressInline(intervallData) { trv_core_stopIntervallProgressInline(); trv_core_progressInlineFetch.intervall = new Object(); trv_core_progressInlineFetch.intervall.intervalName = intervallData; $splitIntervallData = intervallData.split("-"); $startStop = $splitIntervallData[1].split("_"); trv_core_progressInlineFetch.intervall.currentProgressValue = parseInt($startStop[0]); trv_core_progressInlineFetch.intervall.intervalEnd = parseInt($startStop[1]); trv_core_progressInlineFetch.intervall.updateMilliseconds = parseInt($splitIntervallData[2]); trv_core_progressInlineFetch.intervall.instance = setInterval(function() { if (trv_core_progressInlineFetch.intervall.currentProgressValue == trv_core_progressInlineFetch.intervall.intervalEnd) { trv_core_stopIntervallProgressInline(); } else { trv_core_setProgressInline(trv_core_progressInlineFetch.intervall.currentProgressValue); trv_core_progressInlineFetch.intervall.currentProgressValue++; } }, trv_core_progressInlineFetch.intervall.updateMilliseconds); } function trv_core_stopProgressInline() { if (trv_core_progressInlineFetch != null) { trv_core_stopIntervallProgressInline(); clearInterval(trv_core_progressInlineFetch.instance); trv_core_progressInlineFetch = new Object(); } } function trv_core_calculate_table_sum(tableID) { if ($("#"+tableID+" tfoot tr.trv_core_table_row_sum").length) { $("#"+tableID+" tfoot tr.trv_core_table_row_sum td.trv_core_sum_this").each(function(index,element){ var colSum = 0; var countDigits = 0; $("#"+tableID+" tbody tr:visible td:nth-child("+($(element).data("column")+1)+")").each(function(indexRow, tableData){ var content = $('*:not(:has(*)):visible', tableData).text().trim(); if (content != "") { var splitDigits = content.split(","); content = content.replace(/\./g,"").replace(",","."); if (splitDigits[1] != null) { if (splitDigits[1].length != countDigits) { countDigits = splitDigits[1].length; } } colSum += parseFloat(content); } }); if ($(element).data("sum-digits") != null) { countDigits = $(element).data("sum-digits"); } colSum = trv_number_format(colSum,countDigits,countDigits > 0?",":"","."); if (colSum.indexOf("NaN") != -1) { colSum = "Keine Zahl"; } $(element).text(colSum); }); } } function trv_core_getRawNumber(value,returnFormated,numberDecimalDigits) { var returnValue = ""; if (value.trim() != "") { value = value.split(","); $.each(value, function(position,numberValue) { value[position] = numberValue.replace(/[^0-9]/g,''); }); if (value.length > 1) { var returnValue = ""; $.each(value, function(position,numberValue) { returnValue = returnValue+numberValue; if (position == 0) { returnValue = returnValue+"."; } }); if (numberDecimalDigits == null) { numberDecimalDigits = returnValue.split("."); numberDecimalDigits = numberDecimalDigits.length > 1?numberDecimalDigits[1].length:0; numberDecimalDigits = numberDecimalDigits > 3?3:numberDecimalDigits; } if (returnFormated) { returnValue = $.number(returnValue, numberDecimalDigits, "," ,"."); } else { returnValue = $.number(returnValue, numberDecimalDigits, "," ,""); } } else { if (returnFormated) { returnValue = $.number(value[0], numberDecimalDigits, "," ,"."); } else { returnValue = value[0]; } } } return returnValue; } function isInputNumber(event,element) { var hasKomma = $(element).val().indexOf(",") > -1; if ((event.keyCode > 36 && event.keyCode < 58) || (event.keyCode > 95 && event.keyCode < 106) || event.keyCode == 110|| event.keyCode == 8 || event.keyCode == 13 || event.keyCode == 9 || (event.keyCode == 188 && !hasKomma) || event.keyCode == 27 || event.keyCode == 35 || event.keyCode == 36 || (event.ctrlKey && event.keyCode == 65) || (event.ctrlKey && event.keyCode == 86) || (event.ctrlKey && event.keyCode == 67)) { return true; } return false; } /**********************************************************************************************/ function addValidatorNumberPositivDigits() { jQuery.validator.addMethod("numberPositivDigits", function(value, element, parameter) { const testExpression = new RegExp('^(?:0|[1-9][0-9]*)(?:[,][0-9]{1,'+parameter+'})?$'); return this.optional(element) || testExpression.test(value); }, " "); } /**********************************************************************************************/ function addValidatorNumberDigits() { jQuery.validator.addMethod("numberDigits", function(value, element, parameter) { const testExpression = new RegExp('^-?(?:0|[-1-9][0-9]*)(?:[,][0-9]{1,'+parameter+'})?$'); return this.optional(element) || testExpression.test(value); }, " "); } jQuery.expr[':'].icontains = function(a, i, m) { return jQuery(a).text().toLowerCase() .indexOf(m[3].toLowerCase()) >= 0; }; function checkUsernameModule(userName, inputFormID, errorClass, showSelectDialog, isIFrame, callbackOnValidUserName, checkUpperCase) { var position = getIFramePosition(isIFrame); if (checkUpperCase == null) { checkUpperCase = 1; } checkUpperCase = checkUpperCase?1:0; $.trv_postJson({ errorDailogPosition: position, module_name: "check_username", ajax_type: "CHECK_USER_NAME", parameter: { userName: userName, checkUpperCase: checkUpperCase }, onSuccess: function(data) { if (data.userValid == 1) { $("#"+inputFormID).removeClass(errorClass); if(callbackOnValidUserName != null && (typeof callbackOnValidUserName == "function")) { callbackOnValidUserName(); } } else if (data.userValid == 0) { $("#"+inputFormID).addClass(errorClass); if (showSelectDialog) { openSelectNewUserNameDialog(userName, inputFormID, errorClass, isIFrame); } } } }); } function openSelectNewUserNameDialog(userName, inputFormID, errorClass, isIFrame) { if ($("#trv_module_dialog_check_user_name").length == 0) { blockScreen(); isIFrame = (isIFrame == null || !isIFrame) ? 0:1; var position = getIFramePosition(isIFrame); $("body").append(""); $("#trv_module_dialog_check_user_name").load("http://holzmann.portal.it-matchmaker.com/core/modules/check_username/components/dialog_select_user_name.php?userName="+encodeURI(userName)+"&inputFormID="+encodeURI(inputFormID)+"&errorClass="+encodeURI(errorClass)+"&full_path=NVlFXzhjbUlsYDx5b3JMaH1gPksraD43NSs8Yy1FfXtCIF1wNWplPEkpSGFCe05rKHx9ST13UzZ6a3N8WmQhMHFDYUg,&app_language=de&PHPSESSID=6adc69dc30e2d7a8718ee07d484995b6").dialog({ close: function(event, ui) { $(this).dialog('destroy'); $("#trv_module_dialog_check_user_name").remove(); $("#"+inputFormID).focus(); $("#"+inputFormID).select(); }, closeOnEscape: true, resizable: false, position: position, minHeight: 300, height: 'auto', width: 400, modal: true, bgiframe: true, title: "Auswahl eines anderen Benutzernames" }); } } function openModuleContactDialog(mailSubject,isIFrame,useSessionData,mailAdressSelector,mailAdressCCSelector,mailAdressBCCSelector,portalName,userCoreHeaderImages,additionalText) { if ($("#trv_module_dialog_contact").length == 0) { var width = '530'; blockScreen(); mailAdressSelector = mailAdressSelector == null?"":mailAdressSelector; mailAdressCCSelector = mailAdressCCSelector == null?"":mailAdressCCSelector; mailAdressBCCSelector = mailAdressBCCSelector == null?"":mailAdressBCCSelector; portalName = portalName == null?"":portalName; additionalText = additionalText == null?"":additionalText; userCoreHeaderImages = userCoreHeaderImages == null || userCoreHeaderImages == 1?1:0; var dialogHeight = 470; useSessionData = (useSessionData == null || !useSessionData) ? 0:1; mailSubject = (mailSubject == null) ? "":mailSubject; isIFrame = (isIFrame == null || !isIFrame) ? 0:1; var position = getIFramePosition(isIFrame); if (useSessionData) { dialogHeight = 330; } $("body").append(""); $("#trv_module_dialog_contact").load("http://holzmann.portal.it-matchmaker.com/core/modules/contact/components/dialog_contact.php?userCoreHeaderImages="+encodeURIComponent(userCoreHeaderImages)+"&portalName="+encodeURIComponent(portalName)+"&additionalText="+encodeURIComponent(additionalText)+"&mailAdressSelector="+encodeURIComponent(mailAdressSelector)+"&mailAdressCCSelector="+encodeURIComponent(mailAdressCCSelector)+"&mailAdressBCCSelector="+encodeURIComponent(mailAdressBCCSelector)+"&isIFrame="+isIFrame+"&useSessionData="+useSessionData+"&mailSubject="+encodeURIComponent(mailSubject)+"&full_path=NVlFXzhjbUlsYDx5b3JMaH1gPksraD43NSs8Yy1FfXtCIF1wNWplPEkpSGFCe05rKHx9ST13UzZ6a3N8WmQhMHFDYUg,&app_language=de&PHPSESSID=6adc69dc30e2d7a8718ee07d484995b6").dialog({ close: function(event, ui) { moduleContactContentChanged(false); $(this).dialog('destroy'); $("#trv_module_dialog_contact").remove(); }, beforeClose: function(event, ui) { return closeContactDialog(isIFrame); }, closeOnEscape: false, resizable: false, position: position, minHeight: dialogHeight, height: 'auto', width: width, modal: true, bgiframe: true, title: "Kontakt" }); } } function moduleContactSend(isIFrame,mailAdressSelector,mailAdressCCSelector,mailAdressBCCSelector) { isIFrame = (isIFrame == null || !isIFrame) ? 0:1; var position = getIFramePosition(isIFrame); if (isFormValid('trv_module_contact_form',position, isIFrame,'trv_core_input_white_validator_error')) { mailAdressSelector = mailAdressSelector == null?"":mailAdressSelector; mailAdressCCSelector = mailAdressCCSelector == null?"":mailAdressCCSelector; mailAdressBCCSelector = mailAdressBCCSelector == null?"":mailAdressBCCSelector; $.trv_postJson({ module_name: "contact", ajax_type: "SEND_CONTACT", parameter: { mailAdressSelector: mailAdressSelector, mailAdressCCSelector: mailAdressCCSelector, mailAdressBCCSelector: mailAdressBCCSelector, contactData: $('#trv_module_contact_form').serialize() }, onSuccess: function(data) { moduleContactContentChanged(false); $("#trv_module_dialog_contact").dialog("close"); infoDialog("INFORMATION","Ihre Kontaktanfrage wurde an uns gesendet.
Wir setzen uns mit Ihnen schnellstmöglich in Verbindung.",null,null,null, position); } }); } } var moduleContactContentChangedVar = false; function moduleContactContentChanged(changed) { moduleContactContentChangedVar = changed; setUnload(changed, "Das Kontaktformular wurde ausgefüllt aber nicht abgesendet!"); } function closeContactDialog(isIFrame) { if (moduleContactContentChangedVar) { confirmCloseContactDialog(isIFrame); return false; } return true; } function confirmCloseContactDialog(isIFrame) { isIFrame = (isIFrame == null || !isIFrame) ? 0:1; var position = getIFramePosition(isIFrame); confirmDialog("BESTÄTIGUNG","moduleContactContentChanged(false);$('#trv_module_dialog_contact').dialog('close');","Das Kontaktformular wurde ausgefüllt aber nicht abgesendet!

Wollen Sie den Kontaktvorgang wirklich beenden?",null,400,null,position); } /** * @author Dan G. Switzer II */ (function ($){ /* declare defaults */ var defaults = { selector: "td.collapsible" // the default selector to use , toggleAllSelector: "" // the selector to use to attach the collapsibleToggle() function , classChildRow: "tablesorter-childRow" // define the "child row" css class , classCollapse: "collapsed" // define the "collapsed" css class , classExpand: "expanded" // define the "expanded" css class , showCollapsed: false // specifies if the default css state should show collapsed (use this if you want to collapse the rows using CSS by default) , collapse: true // if true will force rows to collapse via JS (use this if you want JS to force the rows collapsed) , fx: {hide:"hide",show:"show"} // the fx to use for showing/hiding elements (fx do not work correctly in IE6) , addAnchor: "prepend" // how should we add the anchor? append, wrapInner, etc , textExpand: "Expand All" // the text to show when expand all , textCollapse: "Collapse All" // the text to show when collase all }, bHideParentRow = ($.browser.msie && ($.browser.version <= 7)); $.fn.collapsible = function (sel, options){ var self = this, bIsElOpt = (sel && sel.constructor == Object), settings = $.extend({}, defaults, bIsElOpt ? sel : options); if( !bIsElOpt ) settings.selector = sel; // make sure that if we're forcing to collapse, that we show the collapsed css state if( settings.collapse ) settings.showCollapsed = true; return this.each(function (){ var $td = $(settings.selector, this), // look for existing anchors $a = $td.find("a"); // if a "toggle all" selector has been specified, find and attach the behavior if( settings.toggleAllSelector.length > 0 ) $(this).find(settings.toggleAllSelector).collapsibleToggle(this); // if no anchors, create them if( $a.length == 0 ) $a = $td[settings.addAnchor]('').find("a"); $a.bind("click", function (){ var $self = $(this), $tr = $self.parent().parent(), $trc = $tr.next(), bIsCollapsed = $self.hasClass(settings.classExpand); // change the css class $self[bIsCollapsed ? "removeClass" : "addClass"](settings.classExpand)[!bIsCollapsed ? "removeClass" : "addClass"](settings.classCollapse); while( $trc.hasClass(settings.classChildRow) ){ if( bHideParentRow ){ // get the tablesorter options var ts_config = $.data(self[0], "tablesorter"); // hide/show the row $trc[bIsCollapsed ? settings.fx.hide : settings.fx.show](); // if we have the ts settings, we need to up zebra stripping if active if( !bIsCollapsed && ts_config ){ if( $tr.hasClass(ts_config.widgetZebra.css[0]) ) $trc.addClass(ts_config.widgetZebra.css[0]).removeClass(ts_config.widgetZebra.css[1]); else if( $tr.hasClass(ts_config.widgetZebra.css[1]) ) $trc.addClass(ts_config.widgetZebra.css[1]).removeClass(ts_config.widgetZebra.css[0]); } } // show all the table cells $("td", $trc)[bIsCollapsed ? settings.fx.hide : settings.fx.show](); // get the next row $trc = $trc.next(); } return false; }); // if not IE and we're automatically collapsing rows, collapse them now if( settings.collapse && !bHideParentRow ){ $td // get the tr element .parent() .each(function (){ var $tr = $(this).next(); while( $tr.hasClass(settings.classChildRow) ){ // hide each table cell $tr = $tr.find("td").hide().end().next(); } }); } // if using IE, we need to hide the table rows if( settings.showCollapsed && bHideParentRow ){ $td // get the tr element .parent() .each(function (){ var $tr = $(this).next(); while( $tr.hasClass(settings.classChildRow) ){ $tr = $tr.hide().next(); } }); } }); } $.fn.collapsibleToggle = function(table, options){ var settings = $.extend({}, defaults, options), $table = $(table); // attach the expand behavior to all options this.toggle( // expand all entries function (){ var $el = $(this); $el.addClass(settings.classExpand).removeClass(settings.classCollapse); if( !$el.is("td,th") ) $el[$el.is(":input") ? "val" : "html"](settings.textCollapse); $(settings.selector + " a", $table).removeClass(settings.classExpand).click(); } // collapse all entries , function (){ var $el = $(this); $el.addClass(settings.classCollapse).removeClass(settings.classExpand); if( !$el.is("td,th") ) $el[$el.is(":input") ? "val" : "html"](settings.textExpand); $(settings.selector + " a", $table).addClass(settings.classExpand).click(); } ); // update text if( !this.is("td,th") ) this[this.is(":input") ? "val" : "html"](settings.textExpand); return this.addClass(settings.classCollapse).removeClass(settings.classExpand); } })(jQuery); (function(e,t){"use strict";function n(e){var t=Array.prototype.slice.call(arguments,1);return e.prop?e.prop.apply(e,t):e.attr.apply(e,t)}function s(e,t,n){var s,a;for(s in n)n.hasOwnProperty(s)&&(a=s.replace(/ |$/g,t.eventNamespace),e.bind(s,n[s]))}function a(e,t,n){s(e,n,{focus:function(){t.addClass(n.focusClass)},blur:function(){t.removeClass(n.focusClass),t.removeClass(n.activeClass)},mouseenter:function(){t.addClass(n.hoverClass)},mouseleave:function(){t.removeClass(n.hoverClass),t.removeClass(n.activeClass)},"mousedown touchbegin":function(){e.is(":disabled")||t.addClass(n.activeClass)},"mouseup touchend":function(){t.removeClass(n.activeClass)}})}function i(e,t){e.removeClass(t.hoverClass+" "+t.focusClass+" "+t.activeClass)}function r(e,t,n){n?e.addClass(t):e.removeClass(t)}function o(e,t,n){var s="checked",a=t.is(":"+s);t.prop?t.prop(s,a):a?t.attr(s,s):t.removeAttr(s),r(e,n.checkedClass,a)}function l(e,t,n){r(e,n.disabledClass,t.is(":disabled"))}function u(e,t,n){switch(n){case"after":return e.after(t),e.next();case"before":return e.before(t),e.prev();case"wrap":return e.wrap(t),e.parent()}return null}function c(t,s,a){var i,r,o;return a||(a={}),a=e.extend({bind:{},divClass:null,divWrap:"wrap",spanClass:null,spanHtml:null,spanWrap:"wrap"},a),i=e("
"),r=e(""),s.autoHide&&t.is(":hidden")&&"none"===t.css("display")&&i.hide(),a.divClass&&i.addClass(a.divClass),a.spanClass&&r.addClass(a.spanClass),o=n(t,"id"),s.useID&&o&&n(i,"id",s.idPrefix+"-"+o),a.spanHtml&&r.html(a.spanHtml),i=u(t,i,a.divWrap),r=u(t,r,a.spanWrap),l(i,t,s),{div:i,span:r}}function f(){var t,n,s,a;return a="rgb(120,2,153)",n=e('
'),e("body").append(n),s=n.get(0),t=window.getComputedStyle?window.getComputedStyle(s,"").color:(s.currentStyle||s.style||{}).color,n.remove(),t.replace(/ /g,"")!==a}function d(t){return t?e("").text(t).html():""}function m(e){var t;return e[0].multiple?!0:(t=n(e,"size"),!t||1>=t?!1:!0)}function p(){return!1}function v(e,t){var n="none";s(e,t,{"selectstart dragstart mousedown":p}),e.css({MozUserSelect:n,msUserSelect:n,webkitUserSelect:n,userSelect:n})}function h(e,t,n){var s=e.val();""===s?s=n.fileDefaultHtml:(s=s.split(/[\/\\]+/),s=s[s.length-1]),t.text(s)}function C(e,t,n){var s,a;for(s=[],e.each(function(){var e;for(e in t)Object.prototype.hasOwnProperty.call(t,e)&&(s.push({el:this,name:e,old:this.style[e]}),this.style[e]=t[e])}),n();s.length;)a=s.pop(),a.el.style[a.name]=a.old}function b(e,t){C(e.parents().andSelf().not(":visible"),{visibility:"hidden",display:"block",position:"absolute"},t)}function w(e,t){return function(){e.unwrap().unwrap().unbind(t.eventNamespace)}}var y=!0,g=!1,k=[{match:function(e){return e.is("a, button, :submit, :reset, input[type='button']")},apply:function(e,t){var r,o,u,f,m;return o=t.submitDefaultHtml,e.is(":reset")&&(o=t.resetDefaultHtml),f=e.is("a, button")?function(){return e.html()||o}:function(){return d(n(e,"value"))||o},u=c(e,t,{divClass:t.buttonClass,spanHtml:f()}),r=u.div,a(e,r,t),m=!1,s(r,t,{"click touchend":function(){var t,s,a,i;m||(m=!0,e[0].dispatchEvent?(t=document.createEvent("MouseEvents"),t.initEvent("click",!0,!0),s=e[0].dispatchEvent(t),(jQuery.browser.msie||jQuery.browser.mozilla)&&e.is("a")&&s&&(a=n(e,"target"),i=n(e,"href"),a&&"_self"!==a?window.open(i,a):document.location.href=i)):e.click(),m=!1)}}),v(r,t),{remove:function(){return r.after(e),r.remove(),e.unbind(t.eventNamespace),e},update:function(){i(r,t),l(r,e,t),u.span.html(f())}}}},{match:function(e){return e.is(":checkbox")},apply:function(e,t){var n,r,u;return n=c(e,t,{divClass:t.checkboxClass}),r=n.div,u=n.span,a(e,r,t),s(e,t,{"click touchend":function(){o(u,e,t)}}),o(u,e,t),{remove:w(e,t),update:function(){i(r,t),u.removeClass(t.checkedClass),o(u,e,t),l(r,e,t)}}}},{match:function(e){return e.is(":file")},apply:function(t,r){function o(){h(t,m,r)}var f,d,m,p;return f=c(t,r,{divClass:r.fileClass,spanClass:r.fileButtonClass,spanHtml:r.fileButtonHtml,spanWrap:"after"}),d=f.div,p=f.span,m=e("").html(r.fileDefaultHtml),m.addClass(r.filenameClass),m=u(t,m,"after"),n(t,"size")||n(t,"size",d.width()/10),a(t,d,r),o(),e.browser.msie?s(t,r,{click:function(){t.trigger("change"),setTimeout(o,0)}}):s(t,r,{change:o}),v(m,r),v(p,r),{remove:function(){return m.remove(),p.remove(),t.unwrap().unbind(r.eventNamespace)},update:function(){i(d,r),h(t,m,r),l(d,t,r)}}}},{match:function(e){if(e.is("input")){var t=(" "+n(e,"type")+" ").toLowerCase(),s=" color date datetime datetime-local email month number password search tel text time url week ";return s.indexOf(t)>=0}return!1},apply:function(e){var t=n(e,"type");return e.addClass(t),{remove:function(){e.removeClass(t)},update:p}}},{match:function(e){return e.is(":radio")},apply:function(t,r){var u,f,d;return u=c(t,r,{divClass:r.radioClass}),f=u.div,d=u.span,a(t,f,r),s(t,r,{"click touchend":function(){e.uniform.update(e(':radio[name="'+n(t,"name")+'"]'))}}),o(d,t,r),{remove:w(t,r),update:function(){i(f,r),o(d,t,r),l(f,t,r)}}}},{match:function(e){return e.is("select")&&!m(e)?!0:!1},apply:function(t,n){var r,o,u,f;return n.selectAutoWidth&&b(t,function(){f=t.width()}),r=c(t,n,{divClass:n.selectClass,spanHtml:(t.find(":selected:first")||t.find("option:first")).html(),spanWrap:"before"}),o=r.div,u=r.span,n.selectAutoWidth?b(t,function(){var e;e=u.outerWidth()-u.width(),o.width(f+e),u.width(f)}):o.addClass("fixedWidth"),a(t,o,n),s(t,n,{change:function(){u.html(t.find(":selected").html()),o.removeClass(n.activeClass)},"click touchend":function(){var e=t.find(":selected").html();u.html()!==e&&t.trigger("change")},keyup:function(){u.html(t.find(":selected").html())}}),v(u,n),{remove:function(){return u.remove(),t.unwrap().unbind(n.eventNamespace),t},update:function(){n.selectAutoWidth?(e.uniform.restore(t),t.uniform(n)):(i(o,n),u.html(t.find(":selected").html()),l(o,t,n))}}}},{match:function(e){return e.is("select")&&m(e)?!0:!1},apply:function(e,t){return e.addClass(t.selectMultiClass),{remove:function(){e.removeClass(t.selectMultiClass)},update:p}}},{match:function(e){return e.is("textarea")},apply:function(e,t){return e.addClass(t.textareaClass),{remove:function(){e.removeClass(t.textareaClass)},update:p}}}];e.browser.msie&&7>e.browser.version&&(y=!1),e.uniform={defaults:{activeClass:"active",autoHide:!0,buttonClass:"button",checkboxClass:"checker",checkedClass:"checked",disabledClass:"disabled",eventNamespace:".uniform",fileButtonClass:"action",fileButtonHtml:"Choose File",fileClass:"uploader",fileDefaultHtml:"No file selected",filenameClass:"filename",focusClass:"focus",hoverClass:"hover",idPrefix:"uniform",radioClass:"radio",resetDefaultHtml:"Reset",resetSelector:!1,selectAutoWidth:!0,selectClass:"selector",selectMultiClass:"uniform-multiselect",submitDefaultHtml:"Submit",textareaClass:"uniform",useID:!0},elements:[]},e.fn.uniform=function(t){var n=this;return t=e.extend({},e.uniform.defaults,t),g||(g=!0,f()&&(y=!1)),y?(t.resetSelector&&e(t.resetSelector).mouseup(function(){window.setTimeout(function(){e.uniform.update(n)},10)}),this.each(function(){var n,s,a,i=e(this);if(i.data("uniformed"))return e.uniform.update(i),void 0;for(n=0;k.length>n;n+=1)if(s=k[n],s.match(i,t))return a=s.apply(i,t),i.data("uniformed",a),e.uniform.elements.push(i.get(0)),void 0})):this},e.uniform.restore=e.fn.uniform.restore=function(n){n===t&&(n=e.uniform.elements),e(n).each(function(){var t,n,s=e(this);n=s.data("uniformed"),n&&(n.remove(),t=e.inArray(this,e.uniform.elements),t>=0&&e.uniform.elements.splice(t,1),s.removeData("uniformed"))})},e.uniform.update=e.fn.uniform.update=function(n){n===t&&(n=e.uniform.elements),e(n).each(function(){var t,n=e(this);t=n.data("uniformed"),t&&t.update(n,t.options)})}})(jQuery); function showUniformElements() { if ($(".trv_market_search_uniform_elements input").length == $.uniform.elements.length) { $(".trv_market_search_uniform_dummy").hide(); $(".trv_market_search_uniform_elements").show(); } else { setInterval(function(){showUniformElements()},100); } } function clearProfileName(profileName) { var zw = profileName.split("("); return zw[0].trim(); } function confirmResetSearchprofile(userID, patternID) { confirmDialog("Suchprofil löschen", "resetSearchprofile("+userID+", "+patternID+")" , "Möchten Sie das aktuelle Suchprofil zurücksetzen?"); } function resetSearchprofile(userID, patternID) { blockScreen(); $.trv_postJson({ module_name: "market_search", ajax_type: "RESET_SEARCHPROFILE", blockScreen: false, parameter: { userID: userID, patternID: patternID }, onSuccess: function(data) { window.location.reload(); } }); } function copyProfileToCurrentSearchprofileQuestion(tree_id, userID, patternID) { confirmDialog("Suchprofil überschreiben", "copyProfileToCurrentSearchprofile("+tree_id+", "+userID+", "+patternID+")", "Sie sind dabei ein gespeichertes Suchprofil zu laden. Ihre aktuellen Eingaben gehen dadurch verloren. Möchten Sie fortfahren?", null, null, "$('.trv_marketSearch_profileSearch_comboPattern').val(0)" ); } function copyProfileToCurrentSearchprofile(tree_id, userID, patternID) { blockScreen(true); $.trv_postJson({ module_name: "market_search", ajax_type: "LOAD_PATTERN", blockScreen: true, parameter: { userID: userID, profileID: $('.trv_marketSearch_profileSearch_comboPattern').val(), patternID: patternID }, onSuccess: function(data) { blockScreen(true); if(tree_id != 0) { showOtherSelectedModel(tree_id, userID); } else { window.location.reload(); } } }); } function showOtherSelectedModel(tree_id, userID) { // alert("wert von vorlage: "+$('.trv_marketSearch_profileSearch_comboPattern').val()); blockScreen(); document.location.href='/profile_closed.php?userID='+userID+'&item='+tree_id+'&drop='+$('.trv_marketSearch_profileSearch_comboCrit').val(); } function confirmSaveSearchProfile(patternID, userID) { if ($("#trv_module_marketSearch_PopUp").length == 0) { blockScreen(true); var profileID = $('.trv_marketSearch_profileSearch_comboPattern').val(); var selectedProfileName = ""; if(profileID > 0) { selectedProfileName = $(".trv_marketSearch_profileSearch_comboPattern option:selected").text(); } selectedProfileName = clearProfileName(selectedProfileName); $("body").append(""); $("#trv_module_marketSearch_PopUp").load("http://holzmann.portal.it-matchmaker.com/core/modules/market_search/components/saveProfile.php?selectedProfileName='"+selectedProfileName+"'&patternID="+patternID+"&userID="+userID+"&full_path=NVlFXzhjbUlsYDx5b3JMaH1gPksraD43NSs8Yy1FfXtCIF1wNWplPEkpSGFCe05rKHx9ST13UzZ6a3N8WmQhMHFDYUg,&app_language=de&PHPSESSID=6adc69dc30e2d7a8718ee07d484995b6").dialog({ close: function(event, ui) { $(this).dialog('destroy'); $("#trv_module_marketSearch_PopUp").remove(); }, beforeClose: function(event, ui) { }, closeOnEscape: false, resizable: true, position: ['center',5], width: 500, modal: true, bgiframe: true, draggable: false, title: 'Suchprofil speichern:' }); } } function setModuleMatchmakerLightProfileInput(element, itemID, inputTyp, forceValue, isIFrame) { if ($(element).length > 0) { blockScreen(true); var vorgaengerID = 0; if (inputTyp == "TMP_MEMO") { var value = $(element).val(); } else { var value = $(element).is(":checked")?1:0; } if (inputTyp == "TMP_RADIO") { vorgaengerID = itemID; itemID = $(element).val(); value = forceValue; } $.post( "http://holzmann.portal.it-matchmaker.com/core/modules/matchmaker_light/ajax/ajax.php?app_language=de&PHPSESSID=6adc69dc30e2d7a8718ee07d484995b6", { full_path: "NVlFXzhjbUlsYDx5b3JMaH1gPksraD43NSs8Yy1FfXtCIF1wNWplPEkpSGFCe05rKHx9ST13UzZ6a3N8WmQhMHFDYUg,", ajax_type: "SET_PROFILE_INPUT", inputTyp: inputTyp, itemID: itemID, value: value, vorgaengerID: vorgaengerID }, function(data) { if ((data == 1) || (data == 0)) { getModuleMatchmakerLightResultCount(); if (inputTyp != "TMP_MEMO") { if (data == 1) { $(element).each(function(){ this.checked = true; }); } else { $(element).each(function(){ this.checked = false; }); } } unblockScreen(true); } else { unblockScreen(true); var position = getIFramePosition(isIFrame); infoDialog("FEHLER", data, null,600, null, position); } }); } } function getModuleMatchmakerLightResultCount() { blockScreen(true); $.post( "http://holzmann.portal.it-matchmaker.com/core/modules/matchmaker_light/ajax/ajax.php?app_language=de&PHPSESSID=6adc69dc30e2d7a8718ee07d484995b6", { full_path: "NVlFXzhjbUlsYDx5b3JMaH1gPksraD43NSs8Yy1FfXtCIF1wNWplPEkpSGFCe05rKHx9ST13UzZ6a3N8WmQhMHFDYUg,", ajax_type: "GET_RESULT_COUNT" }, function(data) { $(".trv_module_matchmaker_light_profile_count").text(data); unblockScreen(true); }); } function openSelectLanguageDialog(isIFrame) { if ($("#trv_module_dialog_select_language").length == 0) { blockScreen(); isIFrame = (isIFrame == null || !isIFrame) ? 0:1; var position = getIFramePosition(isIFrame); $("body").append(""); $("#trv_module_dialog_select_language").load("http://holzmann.portal.it-matchmaker.com/core/modules/matchmaker_light/components/dialog_select_language.php?full_path=NVlFXzhjbUlsYDx5b3JMaH1gPksraD43NSs8Yy1FfXtCIF1wNWplPEkpSGFCe05rKHx9ST13UzZ6a3N8WmQhMHFDYUg,&app_language=de&PHPSESSID=6adc69dc30e2d7a8718ee07d484995b6").dialog({ close: function(event, ui) { $(this).dialog('destroy'); $("#trv_module_dialog_select_language").remove(); }, closeOnEscape: true, resizable: false, position: position, minHeight: 240, height: 'auto', width: 250, modal: true, bgiframe: true, title: "Land wechseln" }); } } function trvToggleFavorit(companyID, productID, isIFrame) { $.post( "http://holzmann.portal.it-matchmaker.com/core/ajax/ajax.php?app_language=de&PHPSESSID=6adc69dc30e2d7a8718ee07d484995b6", { full_path: "NVlFXzhjbUlsYDx5b3JMaH1gPksraD43NSs8Yy1FfXtCIF1wNWplPEkpSGFCe05rKHx9ST13UzZ6a3N8WmQhMHFDYUg,", ajax_type: "TOGGLE_ITM_FAVORITE", productID: productID, companyID: companyID }, function(data) { if ((data == 1) || (data == 0)) { if (data == 1) { $("#trv_favorite_"+companyID+"_"+productID).attr("src","/themes/holzmann/core/images/icons/star.png"); } else { $("#trv_favorite_"+companyID+"_"+productID).attr("src","/themes/holzmann/core/images/icons/star_off.png"); } trvSetFavoriteCount(isIFrame); } else { var position = getIFramePosition(isIFrame); infoDialog("FEHLER", data, null,600, null, position); } }); } function trvSetFavoriteCount(isIFrame) { $.post( "http://holzmann.portal.it-matchmaker.com/core/ajax/ajax.php?app_language=de&PHPSESSID=6adc69dc30e2d7a8718ee07d484995b6", { full_path: "NVlFXzhjbUlsYDx5b3JMaH1gPksraD43NSs8Yy1FfXtCIF1wNWplPEkpSGFCe05rKHx9ST13UzZ6a3N8WmQhMHFDYUg,", ajax_type: "GET_ITM_FAVORITE_COUNT" }, function(data) { if (isNaN(data)) { var position = getIFramePosition(isIFrame); infoDialog("FEHLER", data, null,600, null, position); } else { if ($(".trv_module_product_list_button_order_report").length > 0) { if ((data == 0) && ($(".trv_module_product_list_button_order_report .trv_itm_favcount").length > 0)) { $(".trv_module_product_list_button_order_report").replaceWith("Keine Favoriten ausgewählt!"); $(".trv_module_matchmaker_light_search_button").attr("href","#"); } else if ((data > 0) && ($(".trv_module_product_list_button_order_report .trv_itm_favcount").length == 0)) { $(".trv_module_product_list_button_order_report").replaceWith("Jetzt Report bestellen [{$favcount}]"); $(".trv_module_matchmaker_light_search_button").attr("href",trvSavedReportOrderLink); } } $(".trv_itm_favcount").text(data); if(1) { changeNaviIconFavorite(data); } } }); } var trvSavedReportOrderLink = "#"; $(document).ready( function() { if ($(".trv_module_product_list_button_order_report").length > 0) { trvSavedReportOrderLink = $(".trv_module_matchmaker_light_search_button").attr("href"); } }); function changeNaviIconFavorite(anzFav) { if(anzFav > 0) { $(".trv_module_matchmaker_light_navi_icon").attr("src", "/themes/holzmann/core/images/icons/star.png"); } else { $(".trv_module_matchmaker_light_navi_icon").attr("src","/themes/holzmann/core/images/icons/star_off.png"); } } function openModuleLoginDialog(isIFrame) { if ($("#trv_module_dialog_login:visible").length == 0) { isIFrame = (isIFrame == null || !isIFrame) ? 0:1; var position = getIFramePosition(isIFrame); $("#trv_module_dialog_login").dialog({ close: function(event, ui) { $(this).dialog('destroy'); moduleLoginClearForwardLoginUrl(); }, open: function(event, ui) { var loginValidator = initFormValidator('trv_module_login_form','trv_core_input_white_validator_error'); loginValidator.resetForm(); $('#moduleLoginInputUsername').select(); }, closeOnEscape: true, resizable: false, position: position, minHeight: 210, height: 'auto', width: 350, modal: true, bgiframe: true, title: "Login" }); } } function openModulePasswordForgotDialog(isIFrame) { if ($("#trv_module_dialog_password_forgot").length != 0) { $('#trv_module_dialog_login').dialog('close'); } if ($("#trv_module_dialog_password_forgot").length == 0) { blockScreen(); isIFrame = (isIFrame == null || !isIFrame) ? 0:1; var position = getIFramePosition(isIFrame); $("body").append(""); $("#trv_module_dialog_password_forgot").load("http://holzmann.portal.it-matchmaker.com/core/modules/matchmaker_login/components/dialog_password_forgot.php?isIFrame="+isIFrame+"&full_path=NVlFXzhjbUlsYDx5b3JMaH1gPksraD43NSs8Yy1FfXtCIF1wNWplPEkpSGFCe05rKHx9ST13UzZ6a3N8WmQhMHFDYUg,&app_language=de&PHPSESSID=6adc69dc30e2d7a8718ee07d484995b6").dialog({ close: function(event, ui) { $(this).dialog('destroy'); $("#trv_module_dialog_password_forgot").remove(); }, closeOnEscape: true, resizable: false, position: position, minHeight: 250, height: 'auto', width: 400, modal: true, bgiframe: true, title: "Passwort vergessen?" }); } } function moduleLoginSend(isIFrame) { isIFrame = (isIFrame == null || !isIFrame) ? 0:1; var position = getIFramePosition(isIFrame); if (isFormValid('trv_module_login_form',position, isIFrame,'trv_core_input_white_validator_error')) { blockScreen(); $.trv_postJson({ blockScreen: false, module_name: "matchmaker_login", errorDailogPosition: position, errorDailogCenterText: true, ajax_type: "LOGIN", parameter: { userName: $('input#moduleLoginInputUsername').val(), userPassword: $('input#moduleLoginInputPassword').val() }, onSuccess: function(data) { if (data.code == 0) { if (isIFrame) { setIFrameHeight(600); } if (data.domainSwitchLogin != null) { $("form#trv_module_login_form").attr("action", "http://www.it-matchmaker.com/quick_login.php?md5="+data.message+"&fromDomain="+data.domainSwitchLogin); } else if (data.forwardLoginUrl != null) { if (data.hasForwardUrlParams) { $("form#trv_module_login_form").attr("action", data.forwardLoginUrl+"?PHPSESSID=6adc69dc30e2d7a8718ee07d484995b6"); } else { $("form#trv_module_login_form").attr("action", data.forwardLoginUrl+"&PHPSESSID=6adc69dc30e2d7a8718ee07d484995b6"); } } else { $("form#trv_module_login_form").attr("action", "http://holzmann.portal.it-matchmaker.com/index.php?PHPSESSID=6adc69dc30e2d7a8718ee07d484995b6"); } $("form#trv_module_login_form").submit(); } else if (data.code == 20 || data.code == 21 || data.code == 22) { unblockScreen(); $("#trv_module_dialog_login").dialog("close"); var loginFunction = "moduleLoginVendorLogin('"+data.message+"')"; var infoText = "Sie werden automatisch auf Ihren Hersteller- bzw. Vertriebspartner-Account auf dem IT-Matchmaker® weitergeleitet!"; if (data.code == 21) { infoText = "Sie werden automatisch zu Ihrem Professional-Account auf dem IT-Matchmaker® weitergeleitet!"; } else if (data.code == 22) { infoText = "Sie werden automatisch zu Ihrem Account auf dem IT-Matchmaker® weitergeleitet!"; loginFunction = "moduleLoginPortalLogin('"+data.message+"','"+data.logoutUrl+"')"; } infoDialog("INFORMATION",infoText,null,null,loginFunction, position, "WEITER"); } } }); } } function moduleLoginJumpToITMWithDialog(md5, isIFrame, logoutUrl) { isIFrame = (isIFrame == null || !isIFrame) ? 0:1; var position = getIFramePosition(isIFrame); infoDialog("INFORMATION","Sie werden automatisch zu Ihrem Account auf dem IT-Matchmaker® weitergeleitet!",null,null,"moduleLoginPortalLogin('"+md5+"','"+logoutUrl+"')", position, "WEITER"); } function moduleLoginVendorLogin(md5) { var newWindow = window.open("http://www.it-matchmaker.com/quick_login.php?md5="+md5, "itmatchmaker"); newWindow.focus(); } function moduleLoginPortalLogin(md5, logoutUrl) { var newWindow = window.open("http://www.it-matchmaker.com/quick_login.php?md5="+md5+"&logoutUrl="+logoutUrl, "itmatchmaker"); newWindow.focus(); } function moduleLoginPasswordSend(isIFrame) { isIFrame = (isIFrame == null || !isIFrame) ? 0:1; var position = getIFramePosition(isIFrame); if (isFormValid('trv_module_login_password_forgoten_form',position, isIFrame,'trv_core_input_white_validator_error')) { $.trv_postJson({ module_name: "matchmaker_login", ajax_type: "NEW_PASSWORD", errorDailogPosition: position, errorDailogCenterText: true, parameter: { userName: $('input#moduleLoginForgotenInputUsername').val(), userEmail: $('input#moduleLoginInputEMail').val() }, onSuccess: function(data) { $("#trv_module_dialog_password_forgot").dialog("close"); infoDialog("INFORMATION","Das Passwort wurde ihnen per E-Mail zugestellt.",null,null,null, position); } }); } } function moduleLoginClearForwardLoginUrl() { $.trv_postJson({ blockScreen: false, module_name: "matchmaker_login", ajax_type: "CLEAR_FORWARD_LOGIN" }); } function moduleProductListToggleDetails(id) { if ($('#trv_module_product_list_products_'+id).css("display") == "none") { $('#trv_module_product_list_products_'+id).slideDown(500, function(){ $('#trv_module_product_list_button_'+id).html("ꜛ Zuklappen ꜛ"); $('#trv_module_product_list_button_'+id).addClass("trv_module_product_list_link_close"); setIFrameHeight(); }); } else { $('#trv_module_product_list_products_'+id).slideUp(500, function(){ $('#trv_module_product_list_button_'+id).removeClass("trv_module_product_list_link_close"); $('#trv_module_product_list_button_'+id).html("ꜜ Aufklappen ꜜ"); setIFrameHeight(); }); } } function moduleProductListFilter(isIFrame) { blockScreen(); setTimeout("callModuleProductListFilter("+isIFrame+")", 150); } function callModuleProductListFilter(isIFrame) { var filterText = $('input#trv_module_product_list_input_filter').val().trim(); $('.trv_module_product_list_search_text').removeHighlight(); if (filterText.length == 0) { $(".trv_module_product_list_box_container").show(); $('.trv_module_product_list_teaser').show(); } else { $(".trv_module_product_list_box_container").each( function (column) { var searchText = ""; $(".trv_module_product_list_search_text",this).each(function() { searchText += $(this).text()+" "; }); if (searchText.toLowerCase().indexOf(filterText.toLowerCase()) >= 0) { $(this).show(); } else { $(this).hide(); } }); $('.trv_module_product_list_search_text').highlight(filterText); $('.trv_module_product_list_teaser:not(:first)').hide(); } count = $(".trv_module_product_list_box_container:visible").length; $('.trv_module_product_list_result_systems').text(count); $('.trv_module_product_list_result_products').text($(".trv_module_product_list_box_container:visible .trv_module_product_list_count").length); if (count == 0) { $('.trv_module_product_list_result').addClass('trv_module_product_list_result_red'); } else { $('.trv_module_product_list_result').removeClass('trv_module_product_list_result_red'); } if (isIFrame) { setIframeTop(); setIFrameHeight(); } unblockScreen(); } function moduleProductListFilterReset(isIFrame) { $('input#trv_module_product_list_input_filter').val(""); moduleProductListFilter(isIFrame); } function moduleProductListSetProductLable() { $('.trv_module_product_list_product_count').each(function(){ $(this).html($(this).text()+" Produkte"); }); } function toogleHelpWindow(element, name) { var toggleElement = $(element).next(); if ($(toggleElement).is(":visible")) { $(toggleElement).hide(); $(element).parent().addClass("trv_help_container_hidden"); $(element).addClass("trv_help_container_navi_closed"); } else { $(toggleElement).show(); $(element).parent().removeClass("trv_help_container_hidden"); $(element).removeClass("trv_help_container_navi_closed"); } $.trv_postJson({ blockScreen: false, url: "http://holzmann.portal.it-matchmaker.com/core/ajax/ajax.php?app_language=de&PHPSESSID=6adc69dc30e2d7a8718ee07d484995b6", ajax_type: "SET_HELP_HIDDEN", parameter: { page_charset: "utf-8", appName: "itm-portal", hidden: $(toggleElement).is(":visible")?0:1, helpName: name }, onSuccess: function(data) { setIFrameHeight(); } }); } /************************************************************************ ************************************************************************* @Name : jRating - jQuery Plugin @Revison : 3.0 @Date : 28/01/2013 @Author: ALPIXEL - (www.myjqueryplugins.com - www.alpixel.fr) @License : Open Source - MIT License : http://www.opensource.org/licenses/mit-license.php ************************************************************************** *************************************************************************/ (function($) { $.fn.jRating = function(op) { var defaults = { /** String vars **/ bigStarsPath : 'jquery/icons/stars.png', // path of the icon stars.png smallStarsPath : 'jquery/icons/small.png', // path of the icon small.png phpPath : 'php/jRating.php', // path of the php file jRating.php type : 'big', // can be set to 'small' or 'big' /** Boolean vars **/ step:false, // if true, mouseover binded star by star, isDisabled:false, showRateInfo: true, canRateAgain : false, /** Integer vars **/ length:5, // number of star to display decimalLength : 0, // number of decimals.. Max 3, but you can complete the function 'getNote' rateMax : 20, // maximal rate - integer from 0 to 9999 (or more) rateInfosX : -45, // relative position in X axis of the info box when mouseover rateInfosY : 5, // relative position in Y axis of the info box when mouseover nbRates : 1, /** Functions **/ onSuccess : null, onError : null }; if(this.length>0) return this.each(function() { /*vars*/ var opts = $.extend(defaults, op), newWidth = 0, starWidth = 0, starHeight = 0, bgPath = '', hasRated = false, globalWidth = 0, nbOfRates = opts.nbRates; if($(this).hasClass('jDisabled') || opts.isDisabled) var jDisabled = true; else var jDisabled = false; getStarWidth(); $(this).height(starHeight); var average = parseFloat($(this).attr('data-average')), // get the average of all rates idBox = parseInt($(this).attr('data-id')), // get the id of the box widthRatingContainer = starWidth*opts.length, // Width of the Container widthColor = average/opts.rateMax*widthRatingContainer, // Width of the color Container quotient = $('
', { 'class' : 'jRatingColor', css:{ width:widthColor } }).appendTo($(this)), average = $('
', { 'class' : 'jRatingAverage', css:{ width:0, top:- starHeight } }).appendTo($(this)), jstar = $('
', { 'class' : 'jStar', css:{ width:widthRatingContainer, height:starHeight, top:- (starHeight*2), background: 'url('+bgPath+') repeat-x' } }).appendTo($(this)); $(this).css({width: widthRatingContainer,overflow:'hidden',zIndex:1,position:'relative'}); if(!jDisabled) $(this).unbind().bind({ mouseenter : function(e){ var realOffsetLeft = findRealLeft(this); var relativeX = e.pageX - realOffsetLeft; if (opts.showRateInfo) var tooltip = $('

',{ 'class' : 'jRatingInfos', html : getNote(relativeX)+' / '+opts.rateMax+'', css : { top: (e.pageY + opts.rateInfosY), left: (e.pageX + opts.rateInfosX) } }).appendTo('body').show(); }, mouseover : function(e){ $(this).css('cursor','pointer'); }, mouseout : function(){ $(this).css('cursor','default'); if(hasRated) average.width(globalWidth); else average.width(0); }, mousemove : function(e){ var realOffsetLeft = findRealLeft(this); var relativeX = e.pageX - realOffsetLeft; if(opts.step) newWidth = Math.floor(relativeX/starWidth)*starWidth + starWidth; else newWidth = relativeX; average.width(newWidth); if (opts.showRateInfo) $("p.jRatingInfos") .css({ left: (e.pageX + opts.rateInfosX) }) .html(getNote(newWidth) +' / '+opts.rateMax+''); }, mouseleave : function(){ $("p.jRatingInfos").remove(); }, click : function(e){ var element = this; /*set vars*/ hasRated = true; globalWidth = newWidth; nbOfRates--; if(!opts.canRateAgain || parseInt(nbOfRates) <= 0) $(this).unbind().css('cursor','default').addClass('jDisabled'); if (opts.showRateInfo) $("p.jRatingInfos").fadeOut('fast',function(){$(this).remove();}); e.preventDefault(); var rate = getNote(newWidth); average.width(newWidth); /** ONLY FOR THE DEMO, YOU CAN REMOVE THIS CODE **/ $('.datasSent p').html('idBox : '+idBox+'
rate : '+rate+'
action : rating'); $('.serverResponse p').html('Loading...'); /** END ONLY FOR THE DEMO **/ $.post(opts.phpPath,{ idBox : idBox, rate : rate, action : 'rating' }, function(data) { if(!data.error) { /** ONLY FOR THE DEMO, YOU CAN REMOVE THIS CODE **/ $('.serverResponse p').html(data.server); /** END ONLY FOR THE DEMO **/ /** Here you can display an alert box, or use the jNotify Plugin :) http://www.myqjqueryplugins.com/jNotify exemple : */ if(opts.onSuccess) opts.onSuccess( element, rate ); } else { /** ONLY FOR THE DEMO, YOU CAN REMOVE THIS CODE **/ $('.serverResponse p').html(data.server); /** END ONLY FOR THE DEMO **/ /** Here you can display an alert box, or use the jNotify Plugin :) http://www.myqjqueryplugins.com/jNotify exemple : */ if(opts.onError) opts.onError( element, rate ); } }, 'json' ); } }); function getNote(relativeX) { var noteBrut = parseFloat((relativeX*100/widthRatingContainer)*opts.rateMax/100); switch(opts.decimalLength) { case 1 : var note = Math.round(noteBrut*10)/10; break; case 2 : var note = Math.round(noteBrut*100)/100; break; case 3 : var note = Math.round(noteBrut*1000)/1000; break; default : var note = Math.round(noteBrut*1)/1; } return note; }; function getStarWidth(){ switch(opts.type) { case 'small' : starWidth = 12; // width of the picture small.png starHeight = 10; // height of the picture small.png bgPath = opts.smallStarsPath; break; default : starWidth = 23; // width of the picture stars.png starHeight = 20; // height of the picture stars.png bgPath = opts.bigStarsPath; } }; function findRealLeft(obj) { if( !obj ) return 0; return obj.offsetLeft + findRealLeft( obj.offsetParent ); }; }); } })(jQuery); function openRegistrationModule(registrationType, isIFrame, md5) { var dialogWidth=600; var dialogTeaserWidth=900; if ($("#trv_module_dialog_registration_matchmaker").length == 0) { if (($(".trv_itm_favcount:first").text() == "0") && (registrationType == "report")) { return; } blockScreen(); registrationTitle = "Registrierung"; if (registrationType == null) { registrationType = 'dsgvo'; } else if (registrationType == 'pro') { registrationTitle = "Registrierung Professional Lizenz"; } else if (registrationType == 'report') { registrationTitle = "Bestellung eines PDF-Reports"; } else if (registrationType == 'vendor') { registrationTitle = "Registrierung für Anbieter einer Business Software"; } isIFrame = (isIFrame == null || !isIFrame) ? 0:1; var position = getIFramePosition(isIFrame); if (md5 == null) { md5 = 0; } if (isIFrame && 0) { dialogMinHeight = 1100; } else { dialogMinHeight = 545; } if(registrationType == 'dsgvo') dialogMinHeight = 500; $("body").append("

"); $("#trv_module_dialog_registration_matchmaker").load("http://holzmann.portal.it-matchmaker.com/core/modules/registration_matchmaker/components/dialog_register.php?isIFrame="+isIFrame+"®istrationType="+registrationType+"&md5="+md5+"&full_path=NVlFXzhjbUlsYDx5b3JMaH1gPksraD43NSs8Yy1FfXtCIF1wNWplPEkpSGFCe05rKHx9ST13UzZ6a3N8WmQhMHFDYUg,&app_language=de&PHPSESSID=6adc69dc30e2d7a8718ee07d484995b6").dialog({ close: function(event, ui) { trv_setPiwik(null,"Registrierung - Dialog closed"); registrationMatchmakerContentChanged(false); shortcut.remove("Alt+r"); shortcut.remove("Alt+a"); shortcut.remove("Alt+w"); $(this).dialog('destroy'); $("#trv_module_dialog_registration_matchmaker").remove(); }, beforeClose: function(event, ui) { return closeRegistrationMatchmakerDialog(); }, open: function(event, ui) { if (isIFrame) { $("#trv_module_dialog_registration_matchmaker").css("height", "inherit"); if (isIFrame && typeof setIFrameHeight === "function") { setTimeout(function() { var dialogHeight = $("#trv_module_dialog_registration_matchmaker").parents(".ui-dialog").height(); if (dialogHeight > $('html').outerHeight( true )) { setIFrameHeight(dialogHeight+50); } },600); } } }, closeOnEscape: false, resizable: false, position: ['center',20], minHeight: dialogMinHeight, height: 'auto', width: dialogWidth, maxWidth: 600, modal: true, bgiframe: true, title: registrationTitle }); } } var changedRegistrationMatchmakerContent = false; function registrationMatchmakerContentChanged(changed) { changedRegistrationMatchmakerContent = changed; setUnload(changed, "Die Registrierung wurde ausgefüllt aber nicht abgesendet!"); } function trv_homepage_openRegistration() { if ($("body iframe#trv_portal_iframe").length) { $trv.pm({ target: window.frames[0], url: $("body iframe#trv_portal_iframe").attr("src").split("/")[2], type:"clickRegistration" }); } else { if (trv_homepage_registrationLink == "") { openRegistrationModule(); } else { location.href=trv_homepage_registrationLink; } } } /* ========================================================= // jquery.innerfade.js // Datum: 2008-02-14 // Firma: Medienfreunde Hofmann & Baldes GbR // Author: Torsten Baldes // Mail: t.baldes@medienfreunde.com // Web: http://medienfreunde.com // based on the work of Matt Oakes http://portfolio.gizone.co.uk/applications/slideshow/ // and Ralf S. Engelschall http://trainofthoughts.org/ // ========================================================= */ (function($){$.fn.innerfade=function(a){return this.each(function(){$.innerfade(this,a)})};$.innerfade=function(a,b){var c={'animationtype':'fade','speed':'normal','type':'sequence','timeout':2000,'containerheight':'auto','runningclass':'innerfade','children':null};if(b)$.extend(c,b);if(c.children===null)var d=$(a).children();else var d=$(a).children(c.children);if(d.length>1){$(a).css('position','relative').css('height',c.containerheight).addClass(c.runningclass);for(var i=0;i
"); $("#trv_module_dialog_template_display").load("http://holzmann.portal.it-matchmaker.com/core/modules/template_dialog_display/components/dialog_template_display.php?enablePrint="+enablePrint+"&isIFrame="+isIFrame+"&templateName="+encodeURI(templateName)+"&showContentFromID="+encodeURI(showContentFromID)+"&full_path=NVlFXzhjbUlsYDx5b3JMaH1gPksraD43NSs8Yy1FfXtCIF1wNWplPEkpSGFCe05rKHx9ST13UzZ6a3N8WmQhMHFDYUg,&app_language="+language+"&PHPSESSID=6adc69dc30e2d7a8718ee07d484995b6").dialog({ close: function(event, ui) { shortcut.remove("Return"); if (enablePrint) { shortcut.remove("Alt+d"); } $(this).dialog('destroy'); $("#trv_module_dialog_template_display").remove(); }, closeOnEscape: true, resizable: false, position: position, minHeight: 500, height: 'auto', width: 622, modal: true, bgiframe: true, title: title }); } } function trv_module_toolbar_toggle_button(element) { if ($(element).hasClass("trv_module_toolbar_toggle_button_active")) { $(element).removeClass("trv_module_toolbar_toggle_button_active"); $(element).find("div").removeClass("trv_module_toolbar_toggle_marker"); } else { $(element).addClass("trv_module_toolbar_toggle_button_active"); $(element).find("div").addClass("trv_module_toolbar_toggle_marker"); } } function trv_module_toolbar_is_checked(imageID) { return $("#"+imageID).parent().hasClass("trv_module_toolbar_toggle_button_active"); } /* * jsTree 1.0-rc3 * http://jstree.com/ * * Copyright (c) 2010 Ivan Bozhanov (vakata.com) * * Licensed same as jquery - under the terms of either the MIT License or the GPL Version 2 License * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * $Date: 2011-02-09 01:17:14 +0200 (ср, 09 февр 2011) $ * $Revision: 236 $ * * Änderung von Bartosz * Zeile: 1444 * * if($.inArray(theme_url, themes_loaded) == -1) { * if(theme_url != " ") // NEU * { // NEU * $.vakata.css.add_sheet({ "url" : theme_url }); * themes_loaded.push(theme_url); * } // NEU * } * */ eval(function(p,a,c,k,e,r){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[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}('"dw 7y";(F(){C(2u&&2u.D){H}N 66=G,7z=G,9B=G;(F($){$.K={};$.K.1j={6O:F(4D,aM,3z){4D=4D.5B();N 67=3z.dx||3z.dy,j=0;do{C(67.O&&j>67.O+5){H G}C(67[j].aN&&67[j].aN.5B()==4D){C(aM===P){C(3z.aO){3z.aO(j)}C(3z.aP){3z.aP(j)}H P}R{H 67[j]}}}8u(67[++j]);H G},dz:F(4D,3z){C($.D.1j.6O(4D,G,3z)){H G}C(3z.aQ){3z.aQ(4D+\' { }\',0)}R{3z.dA(4D,2E,0)}H $.K.1j.6O(4D)},dB:F(4D,3z){H $.K.1j.6O(4D,P,3z)},4g:F(3T){N 12=G,9C=P;C(3T.1o){C(3T.35){12=$("26[1L=\'"+3T.35+"-68\']")[0]}C(12){9C=G}R{12=1m.8v("26");12.aR(\'3A\',"1T/1j");C(3T.35){12.aR("1L",3T.35+"-68")}}C(12.6P){C(9C){1m.9D("9E")[0].8w(12);12.6P.9F=3T.1o}R{12.6P.9F=12.6P.9F+" "+3T.1o}}R{12.8w(1m.dC(3T.1o));1m.9D("9E")[0].8w(12)}H 12.3z||12.6P}C(3T.2g){C(1m.aS){6Q{12=1m.aS(3T.2g)}6R(e){}}R{12=1m.8v(\'dD\');12.8x=\'68\';12.3A=\'1T/1j\';12.9G="9H";12.3g=3T.2g;1m.9D("9E")[0].8w(12);H 12.6P}}}};N 2F=[],69=-1,28={},3h={};$.fn.D=F(3B){N aT=(1H 3B==\'3C\'),1D=8y.7A.7B.11(8z,1),8A=q;C(aT){C(3B.dE(0,1)==\'8B\'){H 8A}q.Z(F(){N 6S=2F[$.E(q,"7C")],7D=(6S&&$.2j(6S[3B]))?6S[3B].5C(6S,1D):6S;C(1H 7D!=="2c"&&(3B.4h("dF")===0||(7D!==P&&7D!==G))){8A=7D;H G}})}R{q.Z(F(){N 3D=$.E(q,"7C"),a=[],b=3B?$.6a({},P,3B):{},c=$(q),s=G,t=[];a=a.6T(1D);C(c.E("D")){a.1Y(c.E("D"))}b=a.O?$.6a.5C(2E,[P,b].6T(a)):b;C(1H 3D!=="2c"&&2F[3D]){2F[3D].9I()}3D=5a(2F.1Y({}),10)-1;$.E(q,"7C",3D);b.28=$.2z(b.28)?b.28:$.D.29.28.7B();b.28.dG("16");b.28=b.28.4E().46(",,").V(/(,|^)([^,]+)(,,\\2)+(,|$)/g,"$1$2$4").V(/,,+/g,",").V(/,$/,"").6b(",");s=$.6a(P,{},$.D.29,b);s.28=b.28;$.Z(28,F(i,1a){C($.3p(i,s.28)===-1){s[i]=2E;aU s[i]}R{t.1Y(i)}});s.28=t;2F[3D]=5D $.D.9J(3D,$(q).1b("D D-"+3D),s);$.Z(2F[3D].X().28,F(i,1a){2F[3D].E[1a]={}});$.Z(2F[3D].X().28,F(i,1a){C(28[1a]){28[1a].2O.5C(2F[3D])}});5E(F(){C(2F[3D]){2F[3D].6U()}},0)})}H 8A};$.D={29:{28:[]},9K:F(){H 2F[69]||2E},6V:F(6W){C(2F[6W]){H 2F[6W]}N o=$(6W);C(!o.O&&1H 6W==="3C"){o=$("#"+6W)}C(!o.O){H 2E}H 2F[o.6c(".D").E("7C")]||2E},9J:F(2Y,9L,3B){q.E={16:{}};q.3q=F(){H $.6a(P,{},3B)};q.X=F(){H 3B};q.3i=F(){H 2Y};q.U=F(){H 9L};q.3j=F(){H 9L.I("Q:eq(0)")};q.dH=F(s){3B=$.6a(P,{},3B,s)}},2d:{},1I:F(7E,6X){6X=$.6a({},{2O:$.5F,7F:$.5F,2d:{},29:G},6X);28[7E]=6X;$.D.29[7E]=6X.29;$.Z(6X.2d,F(i,1a){1a.1I=7E;1a.7G=$.D.2d[i];$.D.2d[i]=F(){N 1q,2e=1a,1D=8y.7A.7B.11(8z),aV=5D $.dI("1U.D"),7H=G;C(q.E.16.6d===P&&i!=="9M"&&i!=="aW"){H}do{C(2e&&2e.1I&&$.3p(2e.1I,q.X().28)!==-1){1J}2e=2e.7G}8u(2e);C(!2e){H}C(i.4h("8B")===0){1q=2e.5C(q,1D)}R{1q=q.U().5G(aV,{"2e":i,"5H":q,"1D":1D,"1I":2e.1I});C(1q===G){H}C(1H 1q!=="2c"){1D=1q}1q=2e.5C($.6a({},q,{1i:F(E){q.U().5G(i+\'.D\',{"5H":q,"1D":1D,"1q":E,"7H":7H})},5I:F(){7H=q.9N();H 7H},4F:F(aX){H 2e.7G.5C(q,(aX?8y.7A.7B.11(8z,1):1D))}}),1D)}H 1q};$.D.2d[i].7G=1a.7G;$.D.2d[i].1I=7E})},dJ:F(6Y){C(6Y){C(!$.2z(6Y)){6Y=[6Y]}$.Z(6Y,F(i,1a){2F[1a.i].9O(1a.h,1a.d)})}}};$.D.2d=$.D.9J.7A={};$(F(){N u=aY.aZ.5B(),v=(u.6Z(/.+?(?:dK|dL|dM|dN)[\\/: ]([\\d.]+)/)||[0,\'0\'])[1],2Z=\'\'+\'.D Q, .D L { 1Q:3E; 1Z:0 0 0 0; 2G:0 0 0 0; b0-26-3A:2H; } \'+\'.D L { 1Q:3E; 5J-1y:3F; 3G-1y:3F; 8C-70:b1; 1Z-1u:3F; 5J-1v:3F; } \'+\'.D-2o L { 1Z-1u:0; 1Z-2k:3F; } \'+\'.D > Q > L { 1Z-1u:36; } \'+\'.D-2o > Q > L { 1Z-2k:36; } \'+\'.D Y { 1Q:71-3E; 1T-7I:2H; 1v:3F; 1y:3F; 1Z:0 0 0 0; 2G:0; } \'+\'.D a { 1Q:71-3E; 3G-1y:4G; 1y:4G; 5K:b2; 8C-70:b1; 1T-7I:2H; 2G:2I 4Z; 1Z:0; } \'+\'.D a:dO { dP: 2H; } \'+\'.D a > Y { 1y:4G; 1v:4G; } \'+\'.D a > .D-S { 1Z-2k:8D; } \'+\'.D-2o a > .D-S { 1Z-1u:8D; 1Z-2k:0; } \'+\'L.D-1K > Q { 1Q:3E; } \'+\'L.D-1p > Q { 1Q:2H; } \';C(/9P/.2l(u)&&5a(v,10)==6){66=P;6Q{1m.dQ("dR",G,P)}6R(8E){}2Z+=\'\'+\'.D L { 1y:3F; 1Z-1u:0; 1Z-2k:0; } \'+\'.D L L { 1Z-1u:3F; } \'+\'.D-2o L L { 1Z-1u:36; 1Z-2k:3F; } \'+\'L.D-1K Q { 1Q:3E; } \'+\'L.D-1p Q { 1Q:2H !37; } \'+\'.D L a { 1Q:71; 2P-1v:0 !37; 2G:36 4Z !37; } \'+\'.D L a Y { 1y:4G; 1v:4G; 1Z-2k:8D; } \'+\'.D-2o L a Y { 1Z-2k:36; 1Z-1u:8D; } \'}C(/9P/.2l(u)&&5a(v,10)==7){7z=P;2Z+=\'.D L a { 2P-1v:0 !37; 2G:36 4Z !37; } \'}C(!/dS/.2l(u)&&/dT/.2l(u)&&dU(v,10)<1.9){9B=P;2Z+=\'\'+\'.D Y { 1Q:-72-71-7J; } \'+\'.D L { 3G-1y:9Q; } \'+\'.D a { 1Q:-72-71-7J; } \'+\'.D .D-2A-4H .D-1r { 1Q:-72-71-dV !37; } \'}$.K.1j.4g({1o:2Z,35:"D"})});$.D.1I("16",{2O:F(){q.E.16.6d=G;q.E.16.30=q.3q().16.b3;q.E.16.47=q.3q().16.b4},29:{5b:G,8F:b5,b3:[],b4:[],b6:P,b7:P,2o:G,b8:G,9R:{1x:"dW ...",9S:"dX 4i",b9:"dY 8G"}},2d:{6U:F(){q.8H();C(q.X().16.2o){q.U().1b("D-2o").1j("dZ","2o")}q.U().2m("I;I;"+q.73("1x")+"");q.E.16.3r=q.3j().W("L.D-1p, L.D-3H").eq(0).1y()||18;q.U().2v("L > Y","4I.D",$.15(F(1E){N ba=$(1E.2J);q.bb(ba)},q)).1e("8I.D",$.15(F(){q.8H()},q)).1e("e0.D",F(1E){N 8J;C(1m.8G&&1m.8G.2p){1m.8G.2p()}R{C(4J.bc){8J=4J.bc();6Q{8J.e3();8J.e4()}6R(8E){}}}});C(q.X().16.b7){q.U().1e("3J.D",$.15(F(e,E){N o=q.17(E.1q.B),t=q;C(o===-1){o=q.3j()}C(!o.O){H}o.W("L").Z(F(){N 8K=$(q);C(8K.E("D")){$.Z(8K.E("D"),F(1I,bd){C(t.E[1I]&&$.2j(t["8B"+1I+"be"])){t["8B"+1I+"be"].11(t,8K,bd)}})}})},q))}C(q.X().16.b8){q.U().1e("3J.D",$.15(F(e,E){N o=q.17(E.1q.B),t=q;C(o===-1){o=q.3j()}C(!o.O){H}o.W("L.D-1K:1M(:7K(Q))").Z(F(){t.3J(q,$.5F,$.5F)})},q))}q.1i();q.3J(-1,F(){q.74();q.7L()})},9I:F(){N i,n=q.3i(),s=q.X(),19=q;$.Z(s.28,F(i,1a){6Q{28[1a].7F.5C(19)}6R(8E){}});q.1i();C(q.8L()){2K(i e5 2F){C(2F.e6(i)&&i!=n){2F[i].8H();1J}}}C(n===69){69=-1}q.U().8M(".D").bf(".D").38("7C").W("[1g^=\'D\']").2L().1d("1g",F(){H q.4K.V(/D[^ ]*|$/2n,\'\')});$(1m).8M(".D-"+n).bf(".D-"+n);2F[n]=2E;aU 2F[n]},e7:F(n,E){C(E.75){q.2w(n,G,P)}},bg:F(){q.E.16.6d=P;q.U().I("Q").1b("D-6d").1j("bh","0.7");q.1i({})},9M:F(){q.E.16.6d=G;q.U().I("Q").1f("D-6d").1j("bh","1");q.1i({})},aW:F(){H q.E.16.6d},4L:F(){N 19=q;q.E.16.30=[];q.3j().W("L.D-1K").Z(F(){C(q.1L){19.E.16.30.1Y("#"+q.1L.2Q().V(/^#/,"").V(/\\\\\\//g,"/").V(/\\//g,"\\\\\\/").V(/\\\\\\./g,".").V(/\\./g,"\\\\.").V(/\\:/g,"\\\\:"))}});q.1i(19.E.16.30)},4M:F(){},7L:F(3s){N 19=q,76=P,5c=[],77=[];C(!3s){q.E.16.5d=G;q.E.16.9T=P;q.E.16.30=$.8N($.7M(q.E.16.30),F(n){H"#"+n.2Q().V(/^#/,"").V(/\\\\\\//g,"/").V(/\\//g,"\\\\\\/").V(/\\\\\\./g,".").V(/\\./g,"\\\\.").V(/\\:/g,"\\\\:")});q.E.16.47=$.8N($.7M(q.E.16.47),F(n){H"#"+n.2Q().V(/^#/,"").V(/\\\\\\//g,"/").V(/\\//g,"\\\\\\/").V(/\\\\\\./g,".").V(/\\./g,"\\\\.").V(/\\:/g,"\\\\:")});C(q.E.16.30.O){q.E.16.47=q.E.16.47.6T(q.E.16.30)}}C(q.E.16.47.O){$.Z(q.E.16.47,F(i,1a){C(1a=="#"){H P}C($(1a).O){5c.1Y(1a)}R{77.1Y(1a)}});C(5c.O){q.E.16.47=77;$.Z(5c,F(i,1a){C(!19.4j(1a)){19.3J(1a,F(){19.7L(P)},F(){19.7L(P)});76=G}})}}C(q.E.16.30.O){$.Z(q.E.16.30,F(i,1a){19.2w(1a,G,P)})}C(76){C(q.E.16.5d){4N(q.E.16.5d)}q.E.16.5d=5E(F(){19.1i({},19)},50);q.E.16.9T=G;q.5d()}},5d:F(){N 19=q;C(q.E.16.30.O){$.Z(q.E.16.30,F(i,1a){19.2w(1a,G,P)})}q.1i({})},78:F(B){N 19=q;q.4L();C(!B){B=-1}B=q.17(B);C(!B){B=-1}C(B!==-1){B.I("e8").2q()}R{q.3j().2p()}q.3J(B,F(){19.1i({"B":B});19.7L()})},74:F(){q.1i()},8H:F(){C(q.8L()){H}N f=$.D.9K();C(f){f.bi()}q.U().1b("D-bj");69=q.3i();q.1i()},8L:F(){H 69==q.3i()},bi:F(){C(q.8L()){q.U().1f("D-bj");69=-1}q.1i()},17:F(B){N $B=$(B,q.U());C($B.39(".D")||B==-1){H-1}$B=$B.6c("L",q.U());H $B.O?$B:G},6e:F(B,7y){B=q.17(B);C(B===-1){H q.U().W("> Q > L:3K-4k")}C(!B.O){H G}C(7y){H(B.7N("L").5e()>0)?B.7N("L:eq(0)"):G}C(B.1w("D-1K")){H B.W("L:eq(0)")}R C(B.7N("L").5e()>0){H B.7N("L:eq(0)")}R{H B.3a(".D","L").e9("L").eq(0)}},5f:F(B,7y){B=q.17(B);C(B===-1){H q.U().W("> Q > L:22-4k")}C(!B.O){H G}C(7y){H(B.9U("L").O>0)?B.9U("L:eq(0)"):G}C(B.4O("L").O){B=B.4O("L").eq(0);8u(B.1w("D-1K")){B=B.I("Q:eq(0)").I("L:22")}H B}R{N o=B.3a(".D","L:eq(0)");H o.O?o:G}},4l:F(B){B=q.17(B);C(B==-1||!B.O){H G}N o=B.3a(".D","L:eq(0)");H o.O?o:-1},ea:F(B){B=q.17(B);C(B===-1){H q.U().I("Q:eq(0)").I("L")}C(!B.O){H G}H B.I("Q:eq(0)").I("L")},eb:F(B,9V){N p=[],19=q;B=q.17(B);C(B===-1||!B||!B.O){H G}B.3a(".D","L").Z(F(){p.1Y(9V?q.1L:19.4m(q))});p.ec();p.1Y(9V?B.1d("1L"):q.4m(B));H p},73:F(3U){H q.X().16.9R[3U]||3U},ed:F(B){B=q.17(B);H B&&B!==-1&&B.1w("D-1K")},ee:F(B){B=q.17(B);H B&&B!==-1&&B.1w("D-1p")},eg:F(B){B=q.17(B);H B&&B!==-1&&B.1w("D-3H")},1R:F(B){B=q.17(B);C(!B||B===-1){H G}B.1f("D-1p D-1K").1b("D-3H").I("Q").2q();q.1i({"B":B})},2w:F(B,23,7O){B=q.17(B);C(!B.O){H G}C(!B.1w("D-1p")){C(23){23.11()}H G}N s=7O||66?0:q.X().16.8F,t=q;C(!q.4j(B)){B.I("a").1b("D-1x");q.3J(B,F(){t.2w(B,23,7O)},23)}R{C(q.X().16.b6){B.3a(".D",".D-1p").Z(F(){t.2w(q,G,P)})}C(s){B.I("Q").1j("1Q","2H")}B.1f("D-1p").1b("D-1K").I("a").1f("D-1x");C(s){B.I("Q").bk(P,P).eh(s,F(){q.26.1Q="";t.8O(B)})}R{t.8O(B)}q.1i({"B":B});C(23){23.11()}}},8O:F(B){q.1i({"B":B})},51:F(B,7O){B=q.17(B);N s=7O||66?0:q.X().16.8F,t=q;C(!B.O||!B.1w("D-1K")){H G}C(s){B.I("Q").1d("26","1Q:3E !37")}B.1f("D-1K").1b("D-1p");C(s){B.I("Q").bk(P,P).ei(s,F(){q.26.1Q="";t.7P(B)})}R{t.7P(B)}q.1i({"B":B})},7P:F(B){q.1i({"B":B})},bb:F(B){B=q.17(B);C(B.1w("D-1p")){H q.2w(B)}C(B.1w("D-1K")){H q.51(B)}},bl:F(B,79,7a){B=B?q.17(B):-1;C(!B||B===-1){B=q.3j()}C(7a){B=B.W("L.D-1p")}R{7a=B;C(B.39(".D-1p")){B=B.W("L.D-1p").2L()}R{B=B.W("L.D-1p")}}N 19=q;B.Z(F(){N bm=q;C(!19.4j(q)){19.2w(q,F(){19.bl(bm,79,7a)},!79)}R{19.2w(q,G,!79)}});C(7a.W(\'L.D-1p\').O===0){q.1i({"B":7a})}},ej:F(B,79){N 19=q;B=B?q.17(B):q.U();C(!B||B===-1){B=q.3j()}B.W("L.D-1K").2L().Z(F(){19.51(q,!79)});q.1i({"B":B})},2r:F(B){B=B&&B!=-1?$(B):q.3j();B=B.39("L")?B.W("L").2L():B.W("L");B.1f("D-22").2f("L:22-4k").1b("D-22").2s().2f(":7K(L)").1M(".D-1K").1f("D-3H").1b("D-1p");B.1M(".D-1K, .D-1p").1b("D-3H").I("Q").2q();q.1i({"B":B})},9N:F(){q.1i();H{i:q.3i(),h:q.U().I("Q").5g(P),d:q.E}},9O:F(2m,E){q.U().2p().1z(2m);q.E=E;q.1i()},3J:F(B,1n,3b){q.1i({"B":B})},4j:F(B){H P},4n:F(B,1k,1c,23,7Q){B=q.17(B);1k=1H 1k==="2c"?"22":1k;N d=$(""),s=q.X().16,12;C(B!==-1&&!B.O){H G}C(!7Q&&!q.4j(B)){q.3J(B,F(){q.4n(B,1k,1c,23,P)});H G}q.5I();C(1H 1c==="3C"){1c={"E":1c}}C(!1c){1c={}}C(1c.1d){d.1d(1c.1d)}C(1c.5L){d.E(1c.5L)}C(1c.2h){d.1b("D-"+1c.2h)}C(!1c.E){1c.E=q.73("9S")}C(!$.2z(1c.E)){12=1c.E;1c.E=[];1c.E.1Y(12)}$.Z(1c.E,F(i,m){12=$("");C($.2j(m)){m=m.11(q,1c)}C(1H m=="3C"){12.1d(\'3g\',\'#\')[s.5b?"2m":"1T"](m)}R{C(!m.1d){m.1d={}}C(!m.1d.3g){m.1d.3g=\'#\'}12.1d(m.1d)[s.5b?"2m":"1T"](m.35);C(m.7R){12.1b(m.7R)}}12.3t("I;");C(!m.S&&1c.S){m.S=1c.S}C(m.S){C(m.S.4h("/")===-1){12.I("Y").1b(m.S)}R{12.I("Y").1j("31","2g(\'"+m.S+"\') 52 52 2A-5h")}}d.1z(12)});d.3t("I;");C(B===-1){B=q.U();C(1k==="1U"){1k="3K"}C(1k==="2a"){1k="22"}}5i(1k){1B"1U":B.1U(d);12=q.4l(B);1J;1B"2a":B.2a(d);12=q.4l(B);1J;1B"2M":1B"3K":C(!B.I("Q").O){B.1z("")}B.I("Q").3t(d);12=B;1J;1B"22":C(!B.I("Q").O){B.1z("")}B.I("Q").1z(d);12=B;1J;3L:C(!B.I("Q").O){B.1z("")}C(!1k){1k=0}12=B.I("Q").I("L").eq(1k);C(12.O){12.1U(d)}R{B.I("Q").1z(d)}12=B;1J}C(12===-1||12.3M(0)===q.U().3M(0)){12=-1}q.2r(12);q.1i({"B":d,"2x":12});C(23){23.11(q,d)}H d},4m:F(B){B=q.17(B);C(!B.O){H G}N s=q.X().16.5b;B=B.I("a:eq(0)");C(s){B=B.5g();B.I("4P").2q();H B.2m()}R{B=B.7S().2f(F(){H q.7T==3})[0];H B.8P}},7U:F(B,1a){B=q.17(B);C(!B.O){H G}B=B.I("a:eq(0)");C(q.X().16.5b){N 12=B.I("4P").5g();B.2m(1a).3t(12);q.1i({"B":B,"1h":1a});H P}R{B=B.7S().2f(F(){H q.7T==3})[0];q.1i({"B":B,"1h":1a});H(B.8P=1a)}},7V:F(B,1a){B=q.17(B);q.5I();C(B&&B.O&&q.7U.5C(q,8y.7A.7B.11(8z))){q.1i({"B":B,"1h":1a})}},7W:F(B){B=q.17(B);C(!B.O){H G}q.5I();N p=q.4l(B),4O=$([]),t=q;B.Z(F(){4O=4O.8Q(t.5f(q))});B=B.ek();C(p!==-1&&p.W("> Q > L").O===0){p.1f("D-1K D-1p").1b("D-3H")}q.2r(p);q.1i({"B":B,"4O":4O,"2x":p});H B},6f:F(o,r,3N,cb,bn){N p={};p.4Q=$.D.6V(o)||q;p.o=p.4Q.17(o);p.r=r===-1?-1:q.17(r);p.p=(1H 3N==="2c"||3N===G)?"22":3N;C(!bn&&3h.o&&3h.o[0]===p.o[0]&&3h.r[0]===p.r[0]&&3h.p===p.p){q.1i(3h);C(cb){cb.11(q,3h)}H}p.4Q=$.D.6V(p.o)||q;p.3V=$.D.6V(p.r)||q;C(p.r===-1||!p.r){p.cr=-1;5i(p.p){1B"3K":1B"1U":1B"2M":p.cp=0;1J;1B"2a":1B"22":p.cp=p.3V.U().W(" > Q > L").O;1J;3L:p.cp=p.p;1J}}R{C(!/^(1U|2a)$/.2l(p.p)&&!q.4j(p.r)){H q.3J(p.r,F(){q.6f(o,r,3N,cb,P)})}5i(p.p){1B"1U":p.cp=p.r.2Y();p.cr=p.3V.4l(p.r);1J;1B"2a":p.cp=p.r.2Y()+1;p.cr=p.3V.4l(p.r);1J;1B"2M":1B"3K":p.cp=0;p.cr=p.r;1J;1B"22":p.cp=p.r.W(" > Q > L").O;p.cr=p.r;1J;3L:p.cp=p.p;p.cr=p.r;1J}}p.3O=p.cr==-1?p.3V.U():p.cr;p.4R=p.4Q.4l(p.o);p.el=p.o.2Y();C(p.4R===-1){p.4R=p.4Q?p.4Q.U():q.U()}C(!/^(1U|2a)$/.2l(p.p)&&p.4R&&p.3O&&p.4R[0]===p.3O[0]&&p.o.2Y() Q > L:em-4k("+(p.cp+1)+")");3h=p;q.1i(3h);C(cb){cb.11(q,3h)}},4o:F(){N B=3h,4p=P,r=B.r===-1?q.U():B.r;C(!B||!B.o||B.4S[0]===B.o[0]){H G}C(B.4R&&B.3O&&B.4R[0]===B.3O[0]&&B.cp-1===B.o.2Y()){H G}B.o.Z(F(){C(r.3a(".D","L").2L().2Y(q)!==-1){4p=G;H G}});H 4p},48:F(B,5j,1k,5k,8R,5l){C(!8R){H q.6f(B,5j,1k,F(p){q.48(p,G,G,5k,P,5l)})}C(5k){3h.cy=P}C(!5l&&!q.4o()){H G}q.5I();N o=G;C(5k){o=B.o.5g(P);o.W("*[1L]").2L().Z(F(){C(q.1L){q.1L="en"+q.1L}})}R{o=B.o}C(B.4S.O){B.4S.1U(o)}R{C(!B.3O.I("Q").O){$("").5M(B.3O)}B.3O.I("Q:eq(0)").1z(o)}6Q{B.4Q.2r(B.4R);B.3V.2r(B.3O);C(!B.4R.W("> Q > L").O){B.4R.1f("D-1K D-1p").1b("D-3H").I("Q").2q()}}6R(e){}C(5k){3h.cy=P;3h.bo=o}q.1i(3h);H 3h},8S:F(){H 3h}}})})(2u);(F($){N 7X,e1,e2;$(F(){C(/9P/.2l(aY.aZ.5B())){e1=$(\'<8T bp="10" bq="2">\').1j({1k:\'4q\',1A:-9W,1u:0}).5M(\'5m\');e2=$(\'<8T bp="10" bq="2" 26="6g: 5n;">\').1j({1k:\'4q\',1A:-9W,1u:0}).5M(\'5m\');7X=e1.1v()-e2.1v();e1.8Q(e2).2q()}R{e1=$(\'<53 />\').1j({1v:3W,1y:3W,6g:\'7Y\',1k:\'4q\',1A:-9W,1u:0}).eo(\'5m\').1z(\'<53 />\').W(\'53\').1j({1v:\'3W%\',1y:9X});7X=3W-e1.1v();e1.2x().2q()}});$.D.1I("T",{2O:F(){q.E.T.2U=$();q.E.T.25=G;q.E.T.1V=2E;q.E.T.5o=q.3q().T.br;q.U().2v("a","4I.D",$.15(F(1E){1E.3X();1E.2y.7Z();C(!$(1E.2y).1w("D-1x")){q.3u(1E.2y,P,1E)}},q)).2v("a","6h.D",$.15(F(1E){C(!$(1E.2y).1w("D-1x")){q.3c(1E.2J)}},q)).2v("a","54.D",$.15(F(1E){C(!$(1E.2y).1w("D-1x")){q.6i(1E.2J)}},q)).1e("5d.D",$.15(F(){q.80()},q)).1e("9N.D",$.15(F(){q.6i();q.49()},q)).1e("9O.D",$.15(F(){q.80()},q)).1e("51.D",$.15(F(1E,E){N s=q.X().T,B=q.17(E.1q.B),7b=(B&&B.O)?B.I("Q").W("a.D-3k"):$(),19=q;C(s.9Y===G||!7b.O){H}7b.Z(F(){19.4T(q);C(s.9Y==="bs"){19.3u(B)}})},q)).1e("7W.D",$.15(F(1E,E){N s=q.X().T.bt,B=q.17(E.1q.B),7b=(B&&B.O)?B.W("a.D-3k"):[],19=q;7b.Z(F(){19.4T(q)});C(s&&7b.O){E.1q.4O.Z(F(){C(q.9Z){19.3u(q);H G}})}},q)).1e("48.D",$.15(F(1E,E){C(E.1q.cy){E.1q.bo.W("a.D-3k").1f("D-3k")}},q))},29:{6j:-1,8U:"6k",a0:"7c",9Y:"bs",bu:P,bt:P,bv:G,br:[]},2d:{17:F(B,bw){C(1H B==="2c"||B===2E){H bw?q.E.T.2U:q.E.T.25}N $B=$(B,q.U());C($B.39(".D")||B==-1){H-1}$B=$B.6c("L",q.U());H $B.O?$B:G},ep:F(n,E){C(E.2U){q.3u(n,G)}},49:F(){N 19=q;q.E.T.5o=[];q.E.T.2U.Z(F(){C(q.1L){19.E.T.5o.1Y("#"+q.1L.2Q().V(/^#/,"").V(/\\\\\\//g,"/").V(/\\//g,"\\\\\\/").V(/\\\\\\./g,".").V(/\\./g,"\\\\.").V(/\\:/g,"\\\\:"))}});q.1i(q.E.T.5o)},80:F(){N 19=q,s=q.E.T.5o;s=$.8N($.7M(s),F(n){H"#"+n.2Q().V(/^#/,"").V(/\\\\\\//g,"/").V(/\\//g,"\\\\\\/").V(/\\\\\\./g,".").V(/\\./g,"\\\\.").V(/\\:/g,"\\\\:")});$.Z(s,F(i,1a){C(1a&&1a!=="#"){19.3u(1a)}});q.E.T.2U=q.E.T.2U.2f(F(){H q.9Z});q.1i()},78:F(B){q.49();H q.4F()},3c:F(B){B=q.17(B);C(!B.O){H G}C(!B.1w("D-1V")){q.6i()}q.E.T.1V=B.I("a").1b("D-1V").2x();q.a1(B);q.1i({"B":B})},6i:F(){N B=q.E.T.1V,p;C(!B||!B.O){H G}p=B.I("a").1f("D-1V").2x();C(q.E.T.1V[0]===p[0]){q.E.T.1V=2E}q.1i({"B":B})},3u:F(B,bx,e){B=q.17(B);C(B==-1||!B||!B.O){H G}N s=q.X().T,7d=(s.8U=="by"||(s.8U!==G&&e&&e[s.8U+"8V"])),a2=(s.a0!==G&&e&&e[s.a0+"8V"]&&q.E.T.25&&q.E.T.25[0]!==B[0]&&q.E.T.25.2x()[0]===B.2x()[0]),3P=q.3P(B),5N=P,t=q;C(bx){C(s.bv&&7d&&((B.3a(".D","L").I("a.D-3k").O)||(B.I("Q").W("a.D-3k:eq(0)").O))){H G}5N=G;5i(!0){1B(a2):q.E.T.25.1b("D-22-2U");B=B[B.2Y()0){q.5O();5N=P}1J;1B(3P&&7d):q.4T(B);1J;1B(!3P&&7d):C(s.6j==-1||q.E.T.2U.O+1<=s.6j){5N=P}1J}}C(5N&&!3P){C(!a2){q.E.T.25=B}B.I("a").1b("D-3k");C(s.bu){B.81(".D-1p").Z(F(){t.2w(q,G,P)})}q.E.T.2U=q.E.T.2U.8Q(B);q.a1(B.eq(0));q.1i({"B":B,"e":e})}},a1:F(B){N c=q.U()[0],t;C(c.eu>c.8W){B=q.17(B);C(!B||B===-1||!B.O||!B.39(":3Y")){H}t=B.4U().1A-q.U().4U().1A;C(t<0){c.4a=c.4a+t-1}C(t+q.E.16.3r+(c.a3>c.bz?7X:0)>c.8W){c.4a=c.4a+(t-c.8W+q.E.16.3r+1+(c.a3>c.bz?7X:0))}}},4T:F(B){B=q.17(B);C(!B.O){H G}C(q.3P(B)){B.I("a").1f("D-3k");q.E.T.2U=q.E.T.2U.1M(B);C(q.E.T.25.3M(0)===B.3M(0)){q.E.T.25=q.E.T.2U.eq(0)}q.1i({"B":B})}},ev:F(B){B=q.17(B);C(!B.O){H G}C(q.3P(B)){q.4T(B)}R{q.3u(B)}},3P:F(B){H q.E.T.2U.2Y(q.17(B))>=0},bA:F(1l){H 1l?$(1l).W("a.D-3k").2x():q.E.T.2U},5O:F(1l){N 4p=1l?$(1l).W("a.D-3k").2x():q.U().W("a.D-3k").2x();4p.I("a.D-3k").1f("D-3k");q.E.T.2U=$([]);q.E.T.25=G;q.1i({"B":4p})}}});$.D.29.28.1Y("T")})(2u);(F($){$.D.1I("32",{2O:F(){q.U().1e("48.D",$.15(F(e,E){C(q.X().32.8X.bB){N t=q;E.1q.3O.3a(".D").2L().2f(".D-1p").Z(F(){t.2w(q,G,P)})}},q))},29:{bC:9X,8X:{a4:G,bB:P,8Y:"22",4o:F(m){H P}}},2d:{a5:F(B,23){B=q.17(B);N 2o=q.X().16.2o,w=q.X().32.bC,a6=B.I("Y").1v(),a7=B.W("> a:3Y > Y").1v()*B.W("> a:3Y > Y").O,t=q.4m(B),82=$("<53 />",{1j:{"1k":"4q","1A":"-bD","1u":(2o?"36":"-ew"),"83":"5n"}}).5M("5m"),4r=B.1j("1k","84").1z($("<6l />",{"2B":t,"1g":"D-6m-6l","1j":{"2G":"0","2P":"2I 85 a8","1k":"4q","1u":(2o?"7Y":(a6+a7+4)+"3l"),"2k":(2o?(a6+a7+4)+"3l":"7Y"),"1A":"36","1y":(q.E.16.3r-2)+"3l","ex":(q.E.16.3r-2)+"3l","1v":"ey"},"7Z":$.15(F(){N i=B.I(".D-6m-6l"),v=i.1a();C(v===""){v=t}82.2q();i.2q();q.7U(B,t);q.7V(B,v);23.11(q,B,v,t);B.1j("1k","")},q),"ez":F(1E){N 3U=1E.bE||1E.a9;C(3U==27){q.2B=t;q.7Z();H}R C(3U==13){q.7Z();H}R{4r.1v(7e.5J(82.1T("bF"+q.2B).1v(),w))}},"eA":F(1E){N 3U=1E.bE||1E.a9;C(3U==13){H G}}})).I(".D-6m-6l");q.7U(B,"");82.1j({bG:4r.1j(\'bG\')||\'\',bH:4r.1j(\'bH\')||\'\',bI:4r.1j(\'bI\')||\'\',bJ:4r.1j(\'bJ\')||\'\',bK:4r.1j(\'bK\')||\'\',bL:4r.1j(\'bL\')||\'\',bM:4r.1j(\'bM\')||\'\',bN:4r.1j(\'bN\')||\'\'});4r.1v(7e.5J(82.1T("bF"+4r[0].2B).1v(),w))[0].1F()},6m:F(B){B=q.17(B);q.5I();N f=q.1i;q.a5(B,F(B,86,8Z){f.11(q,{"B":B,"86":86,"8Z":8Z})})},90:F(B,1k,1c,23,bO){N t,19=q;B=q.17(B);C(!B){B=-1}q.5I();t=q.4n(B,1k,1c,F(t){N p=q.4l(t),3N=$(t).2Y();C(23){23.11(q,t)}C(p.O&&p.1w("D-1p")){q.2w(p,G,P)}C(!bO){q.a5(t,F(B,86,8Z){19.1i({"B":B,"1h":86,"2x":p,"1k":3N})})}R{19.1i({"B":t,"1h":q.4m(t),"2x":p,"1k":3N})}});H t},2q:F(B){B=q.17(B,P);N p=q.4l(B),4O=q.5f(B);q.5I();B=q.7W(B);C(B!==G){q.1i({"B":B,"4O":4O,"2x":p})}},4o:F(){C(!q.4F()){H G}N s=q.X().32.8X;C(!s.4o.11(q,q.8S())){H G}H P},48:F(B,5j,1k,5k,8R,5l){N s=q.X().32.8X;C(!8R){C(1H 1k==="2c"){1k=s.8Y}C(1k==="2M"&&!s.8Y.6Z(/^(1U|2a)$/)){1k=s.8Y}H q.4F(P,B,5j,1k,5k,G,5l)}C(s.a4===P||(s.a4==="eB"&&B.3V.3i()!==B.4Q.3i())){5k=P}q.4F(P,B,5j,1k,5k,P,5l)},aa:F(B){B=q.17(B,P);C(!B||!B.O){H G}q.E.32.7f=G;q.E.32.5P=B;q.1i({"B":B})},87:F(B){B=q.17(B,P);C(!B||!B.O){H G}q.E.32.5P=G;q.E.32.7f=B;q.1i({"B":B})},ab:F(B){B=q.17(B);C(!B||!B.O){H G}N 4V=q.E.32.5P?q.E.32.5P:q.E.32.7f;C(!q.E.32.5P&&!q.E.32.7f){H G}C(q.E.32.5P){q.48(q.E.32.5P,B);q.E.32.5P=G}C(q.E.32.7f){q.48(q.E.32.7f,B,G,P)}q.1i({"B":B,"4V":4V})}}})})(2u);(F($){N ac=[];$.D.7g=G;$.D.1I("1N",{2O:F(){q.U().1e("6U.D",$.15(F(){N s=q.X().1N;q.E.1N.55=s.55;q.E.1N.4H=s.4H;q.bP(s.3v,s.2g)},q)).1e("74.D",$.15(F(){C(!q.E.1N.55){q.91()}R{q.92()}C(!q.E.1N.4H){q.93()}R{q.94()}},q))},29:{3v:"3L",2g:G,55:P,4H:P},2d:{bP:F(7h,6n){C(!7h){H G}C(!6n){6n=$.D.7g+7h+\'/26.1j\'}C($.3p(6n,ac)==-1){C(6n!=" "){$.K.1j.4g({"2g":6n});ac.1Y(6n)}}C(q.E.1N.3v!=7h){q.U().1f(\'D-\'+q.E.1N.3v);q.E.1N.3v=7h}q.U().1b(\'D-\'+7h);C(!q.E.1N.55){q.91()}R{q.92()}C(!q.E.1N.4H){q.93()}R{q.94()}q.1i()},eC:F(){H q.E.1N.3v},92:F(){q.E.1N.55=P;q.U().I("Q").1f("D-2A-55")},91:F(){q.E.1N.55=G;q.U().I("Q").1b("D-2A-55")},eD:F(){C(q.E.1N.55){q.91()}R{q.92()}},94:F(){q.E.1N.4H=P;q.U().I("Q").1f("D-2A-4H")},93:F(){q.E.1N.4H=G;q.U().I("Q").1b("D-2A-4H")},eE:F(){C(q.E.1N.4H){q.93()}R{q.94()}}}});$(F(){C($.D.7g===G){$("eF").Z(F(){C(q.bQ.2Q().6Z(/ad\\.D[^\\/]*?\\.1c(\\?.*)?$/)){$.D.7g=q.bQ.2Q().V(/ad\\.D[^\\/]*?\\.1c(\\?.*)?$/,"")+\'1N/\';H G}})}C($.D.7g===G){$.D.7g="1N/"}});$.D.29.28.1Y("1N")})(2u);(F($){N ae=[];F 88(i,1E){N f=$.D.9K(),12;C(f&&f.E&&f.E.3m&&f.E.3m.7i){12=f.X().3m[i];C(12){H 12.11(f,1E)}}}$.D.1I("3m",{2O:F(){C(1H $.3m==="2c"){6o"5Q 3m: 2u 3m 1I 1M 89.";}C(!q.E.T){6o"5Q 3m: 5Q bR 1I 1M 89.";}$.Z(q.X().3m,F(i,v){C(v!==G&&$.3p(i,ae)==-1){$(1m).1e("6p",i,F(1E){H 88(i,1E)});ae.1Y(i)}});q.U().1e("bg.D",$.15(F(){C(q.E.3m.7i){q.E.3m.7i=G;q.E.3m.bS=P}},q)).1e("9M.D",$.15(F(){C(q.E.3m.bS){q.E.3m.7i=P}},q));q.bT()},29:{"6q":F(){N o=q.E.T.1V||q.E.T.25||-1;q.3c(q.5f(o));H G},"6k+6q":F(){N o=q.E.T.1V||q.E.T.25||-1;q.3c(q.5f(o));H G},"7c+6q":F(){N o=q.E.T.1V||q.E.T.25||-1;q.3c(q.5f(o));H G},"6r":F(){N o=q.E.T.1V||q.E.T.25||-1;q.3c(q.6e(o));H G},"6k+6r":F(){N o=q.E.T.1V||q.E.T.25||-1;q.3c(q.6e(o));H G},"7c+6r":F(){N o=q.E.T.1V||q.E.T.25||-1;q.3c(q.6e(o));H G},"1u":F(){N o=q.E.T.1V||q.E.T.25;C(o){C(o.1w("D-1K")){q.51(o)}R{q.3c(q.5f(o))}}H G},"6k+1u":F(){N o=q.E.T.1V||q.E.T.25;C(o){C(o.1w("D-1K")){q.51(o)}R{q.3c(q.5f(o))}}H G},"7c+1u":F(){N o=q.E.T.1V||q.E.T.25;C(o){C(o.1w("D-1K")){q.51(o)}R{q.3c(q.5f(o))}}H G},"2k":F(){N o=q.E.T.1V||q.E.T.25;C(o&&o.O){C(o.1w("D-1p")){q.2w(o)}R{q.3c(q.6e(o))}}H G},"6k+2k":F(){N o=q.E.T.1V||q.E.T.25;C(o&&o.O){C(o.1w("D-1p")){q.2w(o)}R{q.3c(q.6e(o))}}H G},"7c+2k":F(){N o=q.E.T.1V||q.E.T.25;C(o&&o.O){C(o.1w("D-1p")){q.2w(o)}R{q.3c(q.6e(o))}}H G},"70":F(){C(q.E.T.1V){q.E.T.1V.I("a:eq(0)").4I()}H G},"6k+70":F(1E){1E.3A="4I";C(q.E.T.1V){q.E.T.1V.I("a:eq(0)").95(1E)}H G},"7c+70":F(1E){1E.3A="4I";C(q.E.T.1V){q.E.T.1V.I("a:eq(0)").95(1E)}H G},"f2":F(){q.6m(q.E.T.1V||q.E.T.25)},"eG":F(){q.2q(q.E.T.1V||q.17(2E))}},2d:{bT:F(){q.E.3m.7i=P},eH:F(){q.E.3m.7i=G}}})})(2u);(F($){$.D.1I("4W",{2O:F(){N s=q.X().4W;C(s.6s){q.U().1e("7P.D",F(e,E){E.1q.B.I("Q").2q()})}},29:{E:G,14:G,1R:P,96:G,6s:G},2d:{3J:F(B,1n,3b){N 19=q;q.bU(B,F(){19.1i({"B":19.17(B)});1n.11(q)},3b)},4j:F(B){N s=q.X().4W;B=q.17(B);H B==-1||!B||(!s.14&&!s.96&&!$.2j(s.E))||B.39(".D-1K, .D-3H")||B.I("Q").I("L").O>0},78:F(B){B=q.17(B);N s=q.X().4W;C(B&&B!==-1&&s.6s&&($.2j(s.E)||!!s.14)){B.38("6t")}H q.4F()},bU:F(B,1n,3b){N s=q.3q().4W,d,3Q=F(){},4s=F(){};B=q.17(B);C(B&&B!==-1&&(s.96||s.6s)&&!B.39(".D-1K, .D-3H")&&B.I("Q").I("L").O===0&&B.E("6t")){d=q.6u(B.E("6t"),B);C(d){B.1z(d);C(!s.6s){B.38("6t")}}q.2r(B);C(1n){1n.11(q)}H}C(B&&B!==-1){C(B.E("2R")){H}R{B.E("2R",P)}}5i(!0){1B(!s.E&&!s.14):6o"bV E bW 14 3B bX.";1B($.2j(s.E)):s.E.11(q,B,$.15(F(d){d=q.6u(d,B);C(!d){C(B===-1||!B){C(s.1R){q.U().I("Q").2p()}}R{B.I("a.D-1x").1f("D-1x");B.38("2R");C(s.1R){q.1R(B)}}C(3b){3b.11(q)}}R{C(B===-1||!B){q.U().I("Q").2p().1z(d.I())}R{B.1z(d).I("a.D-1x").1f("D-1x");B.38("2R")}q.2r(B);C(1n){1n.11(q)}}},q));1J;1B(!!s.E&&!s.14)||(!!s.E&&!!s.14&&(!B||B===-1)):C(!B||B==-1){d=q.6u(s.E,B);C(d){q.U().I("Q").2p().1z(d.I());q.2r()}R{C(s.1R){q.U().I("Q").2p()}}}C(1n){1n.11(q)}1J;1B(!s.E&&!!s.14)||(!!s.E&&!!s.14&&B&&B!==-1):3Q=F(x,t,e){N ef=q.3q().4W.14.6v;C(ef){ef.11(q,x,t,e)}C(B!=-1&&B.O){B.I("a.D-1x").1f("D-1x");B.38("2R");C(t==="3Z"&&s.1R){q.1R(B)}}R{C(t==="3Z"&&s.1R){q.U().I("Q").2p()}}C(3b){3b.11(q)}};4s=F(d,t,x){N 4t=q.3q().4W.14.3Z;C(4t){d=4t.11(q,d,t,x)||d}C(d===""||(d&&d.2Q&&d.2Q().V(/^[\\s\\n]+$/,"")==="")||(!$.2z(d)&&!$.eI(d))){H 3Q.11(q,x,t,"")}d=q.6u(d,B);C(d){C(B===-1||!B){q.U().I("Q").2p().1z(d.I())}R{B.1z(d).I("a.D-1x").1f("D-1x");B.38("2R")}q.2r(B);C(1n){1n.11(q)}}R{C(B===-1||!B){C(s.1R){q.U().I("Q").2p();C(1n){1n.11(q)}}}R{B.I("a.D-1x").1f("D-1x");B.38("2R");C(s.1R){q.1R(B);C(1n){1n.11(q)}}}}};s.14.1l=q;s.14.6v=3Q;s.14.3Z=4s;C(!s.14.5p){s.14.5p="af"}C($.2j(s.14.2g)){s.14.2g=s.14.2g.11(q,B)}C($.2j(s.14.E)){s.14.E=s.14.E.11(q,B)}$.14(s.14);1J}},6u:F(1c,B,3s){N d=G,p=q.X(),s=p.4W,t=p.16.5b,12,i,j,97,98;C(!1c){H d}C(s.6s&&B&&B!==-1){B.E("6t",d)}C($.2z(1c)){d=$();C(!1c.O){H G}2K(i=0,j=1c.O;i");C(1c.1d){d.1d(1c.1d)}C(1c.5L){d.E(1c.5L)}C(1c.2h){d.1b("D-"+1c.2h)}C(!$.2z(1c.E)){12=1c.E;1c.E=[];1c.E.1Y(12)}$.Z(1c.E,F(i,m){12=$("");C($.2j(m)){m=m.11(q,1c)}C(1H m=="3C"){12.1d(\'3g\',\'#\')[t?"2m":"1T"](m)}R{C(!m.1d){m.1d={}}C(!m.1d.3g){m.1d.3g=\'#\'}12.1d(m.1d)[t?"2m":"1T"](m.35);C(m.7R){12.1b(m.7R)}}12.3t("I;");C(!m.S&&1c.S){m.S=1c.S}C(m.S){C(m.S.4h("/")===-1){12.I("Y").1b(m.S)}R{12.I("Y").1j("31","2g(\'"+m.S+"\') 52 52 2A-5h")}}d.1z(12)});d.3t("I;");C(1c.I){C(s.96&&1c.2h!=="1K"){d.1b("D-1p").E("6t",1c.I)}R{C(s.6s){d.E("6t",1c.I)}C($.2z(1c.I)&&1c.I.O){12=q.6u(1c.I,B,P);C(12.O){98=$("");98.1z(12);d.1z(98)}}}}}C(!3s){97=$("");97.1z(d);d=97}H d},bY:F(B,3w,40,3s){N 1O=[],s=q.X(),19=q,2V,2S,L,a,t,1P;B=q.17(B);C(!B||B===-1){B=q.U().W("> Q > L")}3w=$.2z(3w)?3w:["1L","1g"];C(!3s&&q.E.1C){3w.1Y(s.1C.4u)}40=$.2z(40)?40:[];B.Z(F(){L=$(q);2V={E:[]};C(3w.O){2V.1d={}}$.Z(3w,F(i,v){2S=L.1d(v);C(2S&&2S.O&&2S.V(/D[^ ]*/2n,\'\').O){2V.1d[v]=(" "+2S).V(/ D[^ ]*/2n,\'\').V(/\\s+$/2n," ").V(/^ /,"").V(/ $/,"")}});C(L.1w("D-1K")){2V.2h="1K"}C(L.1w("D-1p")){2V.2h="1p"}C(L.E()){2V.5L=L.E()}a=L.I("a");a.Z(F(){t=$(q);C(40.O||$.3p("1S",s.28)!==-1||t.I("Y").3M(0).26.7j.O||(t.I("Y").3M(0).4K&&t.I("Y").3M(0).4K.V(/D[^ ]*|$/2n,\'\').O)){1P=G;C($.3p("1S",s.28)!==-1&&$.2z(s.1S)&&s.1S.O){$.Z(s.1S,F(l,ag){C(t.1w(ag)){1P=ag;H G}})}2S={1d:{},35:19.4m(t,1P)};$.Z(40,F(k,z){2S.1d[z]=(" "+(t.1d(z)||"")).V(/ D[^ ]*/2n,\'\').V(/\\s+$/2n," ").V(/^ /,"").V(/ $/,"")});C($.3p("1S",s.28)!==-1&&$.2z(s.1S)&&s.1S.O){$.Z(s.1S,F(k,z){C(t.1w(z)){2S.7R=z;H P}})}C(t.I("Y").3M(0).4K.V(/D[^ ]*|$/2n,\'\').V(/^\\s+$/2n,"").O){2S.S=t.I("Y").3M(0).4K.V(/D[^ ]*|$/2n,\'\').V(/\\s+$/2n," ").V(/^ /,"").V(/ $/,"")}C(t.I("Y").3M(0).26.7j.O){2S.S=t.I("Y").3M(0).26.7j.V("2g(","").V(")","")}}R{2S=19.4m(t)}C(a.O>1){2V.E.1Y(2S)}R{2V.E=2S}});L=L.W("> Q > L");C(L.O){2V.I=19.bY(L,3w,40,P)}1O.1Y(2V)});H 1O}}})})(2u);(F($){$.D.1I("1S",{2O:F(){q.bZ()},29:[],2d:{eJ:F(i){N 1W=q.X().1S,6w=G,8a=".D-"+q.3i()+\' a\';C(!$.2z(1W)||1W.O===0){H G}C($.3p(i,1W)==-1){C(!!1W[i]){i=1W[i]}R{H G}}C(i==q.E.1S.5q){H P}6w=$.K.1j.6O(8a+"."+q.E.1S.5q,G,q.E.1S.ah);C(6w!==G){6w.26.1Q="2H"}6w=$.K.1j.6O(8a+"."+i,G,q.E.1S.ah);C(6w!==G){6w.26.1Q=""}q.E.1S.5q=i;q.1i(i);H P},c0:F(){H q.E.1S.5q},73:F(3U,1P){N 1W=q.X().1S,s=q.X().16.9R;C($.2z(1W)&&1W.O){1P=(1P&&$.3p(1P,1W)!=-1)?1P:q.E.1S.5q}C(s[1P]&&s[1P][3U]){H s[1P][3U]}C(s[3U]){H s[3U]}H 3U},4m:F(B,1P){B=q.17(B)||q.E.T.25;C(!B.5e()){H G}N 1W=q.X().1S,s=q.X().16.5b;C($.2z(1W)&&1W.O){1P=(1P&&$.3p(1P,1W)!=-1)?1P:q.E.1S.5q;B=B.I("a."+1P)}R{B=B.I("a:eq(0)")}C(s){B=B.5g();B.I("4P").2q();H B.2m()}R{B=B.7S().2f(F(){H q.7T==3})[0];H B.8P}},7U:F(B,1a,1P){B=q.17(B)||q.E.T.25;C(!B.5e()){H G}N 1W=q.X().1S,s=q.X().16.5b,12;C($.2z(1W)&&1W.O){1P=(1P&&$.3p(1P,1W)!=-1)?1P:q.E.1S.5q;B=B.I("a."+1P)}R{B=B.I("a:eq(0)")}C(s){12=B.I("4P").5g();B.2m(1a).3t(12);q.1i({"B":B,"1h":1a,"1P":1P});H P}R{B=B.7S().2f(F(){H q.7T==3})[0];q.1i({"B":B,"1h":1a,"1P":1P});H(B.8P=1a)}},bZ:F(){N 1W=q.X().1S,1o="/* 1S 1j */",8a=".D-"+q.3i()+\' a\',4v;C($.2z(1W)&&1W.O){q.E.1S.5q=1W[0];2K(4v=0;4v<1W.O;4v++){1o+=8a+"."+1W[4v]+" {";C(1W[4v]!=q.E.1S.5q){1o+=" 1Q:2H; "}1o+=" } "}q.E.1S.ah=$.K.1j.4g({\'1o\':1o,\'35\':"D-1S"})}},4n:F(B,1k,1c,23){N t=q.4F(P,B,1k,1c,F(t){N 1W=q.X().1S,a=t.I("a"),4v;C($.2z(1W)&&1W.O){2K(4v=0;4v<1W.O;4v++){C(!a.39("."+1W[4v])){t.1z(a.eq(0).5g().1f(1W.46(" ")).1b(1W[4v]))}}a.1M("."+1W.46(", .")).2q()}C(23){23.11(q,t)}});H t}}})})(2u);(F($){$.D.1I("8b",{2O:F(){C(1H $.4w==="2c"){6o"5Q 4w: 2u 4w 1I 1M 89.";}N s=q.X().8b,12;C(!!s.4M){12=$.4w(s.4M);C(12&&12.O){q.E.16.47=12.6b(",")}}C(!!s.4L){12=$.4w(s.4L);C(12&&12.O){q.E.16.30=12.6b(",")}}C(!!s.49){12=$.4w(s.49);C(12&&12.O&&q.E.T){q.E.T.5o=12.6b(",")}}q.U().c1((q.E.T?"80":"5d")+".D",$.15(F(){q.U().1e("2w.D 51.D 3u.D 4T.D",$.15(F(e){C(q.X().8b.c2){q.ai((e.c3.eK+e.c3.3A).V("D",""))}},q))},q))},29:{4M:"eL",4L:"eM",49:"eN",c2:P,6x:{}},2d:{ai:F(c){C(q.E.16.9T){H}N s=q.X().8b;C(!c){C(s.4M){q.4M();$.4w(s.4M,q.E.16.47.46(","),s.6x)}C(s.4L){q.4L();$.4w(s.4L,q.E.16.30.46(","),s.6x)}C(s.49&&q.E.T){q.49();$.4w(s.49,q.E.T.5o.46(","),s.6x)}H}5i(c){1B"2w":1B"51":C(!!s.4L){q.4L();$.4w(s.4L,q.E.16.30.46(","),s.6x)}C(!!s.4M){q.4M();$.4w(s.4M,q.E.16.47.46(","),s.6x)}1J;1B"3u":1B"4T":C(!!s.49&&q.E.T){q.49();$.4w(s.49,q.E.T.5o.46(","),s.6x)}1J}}}})})(2u);(F($){$.D.1I("4E",{2O:F(){q.U().1e("3J.D",$.15(F(e,E){N B=q.17(E.1q.B);B=B===-1?q.U().I("Q"):B.I("Q");q.4E(B)},q)).1e("7V.D 4n.D 90.D",$.15(F(e,E){q.4E(E.1q.B.2x())},q)).1e("48.D",$.15(F(e,E){N m=E.1q.3O==-1?q.U():E.1q.3O;q.4E(m.I("Q"))},q))},29:F(a,b){H q.4m(a)>q.4m(b)?1:-1},2d:{4E:F(B){N s=q.X().4E,t=q;B.1z($.7M(B.I("L")).4E($.15(s,t)));B.W("> L > Q").Z(F(){t.4E($(q))});q.2r(B)}}})})(2u);(F($){N o=G,r=G,m=G,21=G,33=G,34=G,6y=G,6z=G,99=G;$.K.J={9a:G,41:G,2N:G,5r:10,9b:0,9c:0,eO:5,c4:5,c5:10,2T:{},7k:F(e,E,2m){C($.K.J.41){$.K.6A({})}6Q{e.2y.eP="by";e.2y.eQ=F(){H G};C(e.2y.26){e.2y.26.eR="2H"}}6R(8E){}$.K.J.9b=e.5R;$.K.J.9c=e.5s;$.K.J.2T=E;$.K.J.9a=P;$.K.J.2N=$("<53 1L=\'K-8c\' />").2m(2m);$(1m).1e("8d",$.K.J.9d);$(1m).1e("6B",$.K.J.6A);H G},9d:F(e){C(!$.K.J.9a){H}C(!$.K.J.41){C(7e.c6(e.5R-$.K.J.9b)>5||7e.c6(e.5s-$.K.J.9c)>5){$.K.J.2N.5M("5m");$.K.J.41=P;$(1m).5G("7k.K",{"1E":e,"E":$.K.J.2T})}R{H}}C(e.3A==="8d"){N d=$(1m),t=d.4a(),l=d.6C();C(e.5s-t<20){C(34&&6y==="6r"){2W(34);34=G}C(!34){6y="6q";34=5S(F(){$(1m).4a($(1m).4a()-$.K.J.5r)},9e)}}R{C(34&&6y==="6q"){2W(34);34=G}}C($(4J).1y()-(e.5s-t)<20){C(34&&6y==="6q"){2W(34);34=G}C(!34){6y="6r";34=5S(F(){$(1m).4a($(1m).4a()+$.K.J.5r)},9e)}}R{C(34&&6y==="6r"){2W(34);34=G}}C(e.5R-l<20){C(33&&6z==="2k"){2W(33);33=G}C(!33){6z="1u";33=5S(F(){$(1m).6C($(1m).6C()-$.K.J.5r)},9e)}}R{C(33&&6z==="1u"){2W(33);33=G}}C($(4J).1v()-(e.5R-l)<20){C(33&&6z==="1u"){2W(33);33=G}C(!33){6z="2k";33=5S(F(){$(1m).6C($(1m).6C()+$.K.J.5r)},9e)}}R{C(33&&6z==="2k"){2W(33);33=G}}}$.K.J.2N.1j({1u:(e.5R+$.K.J.c4)+"3l",1A:(e.5s+$.K.J.c5)+"3l"});$(1m).5G("9d.K",{"1E":e,"E":$.K.J.2T})},6A:F(e){C(33){2W(33)}C(34){2W(34)}$(1m).8M("8d",$.K.J.9d);$(1m).8M("6B",$.K.J.6A);$(1m).5G("6A.K",{"1E":e,"E":$.K.J.2T});$.K.J.2N.2q();$.K.J.9b=0;$.K.J.9c=0;$.K.J.2T={};$.K.J.9a=G;$.K.J.41=G}};$(F(){N 2Z=\'#K-8c { 1Q:3E; 1Z:0 0 0 0; 2G:5T 5T 5T eS; 1k:4q; 1A:-aj; 3G-1y:4G; z-2Y:9f; } \';$.K.1j.4g({1o:2Z,35:"K"})});$.D.1I("J",{2O:F(){q.E.J={6D:G,2a:G,2M:G,1U:G,3R:G,7l:G,w:0,4x:G,4b:G,6E:G,cw:G,ch:G,42:G,43:G,8e:G};q.U().1e("6h.D",$.15(F(e){C($.K.J.41&&$.K.J.2T.D){C(q.E.1N){m.1d("1g","D-"+q.E.1N.3v);C(21){21.1d("1g","D-"+q.E.1N.3v)}$.K.J.2N.1d("1g","D-J-2N D-"+q.E.1N.3v)}C(e.2y===e.2J&&$.K.J.2T.B&&$($.K.J.2T.B).O&&$($.K.J.2T.B).81(".D:eq(0)")[0]!==e.2J){N 3x=$.D.6V(e.2J),dc;C(3x.E.J.7m){dc=3x.X().J.9g.11(q,{"o":o,"r":3x.U(),ak:P});C(dc===P||dc.2M===P||dc.1U===P||dc.2a===P){$.K.J.2N.I("Y").1d("1g","D-6F")}}R{3x.6f(o,3x.U(),"22");C(3x.4o()){$.K.J.2N.I("Y").1d("1g","D-6F")}}}}},q)).1e("6B.D",$.15(F(e){C($.K.J.41&&$.K.J.2T.D&&e.2y===e.2J&&$.K.J.2T.B&&$($.K.J.2T.B).O&&$($.K.J.2T.B).81(".D:eq(0)")[0]!==e.2J){N 3x=$.D.6V(e.2y),dc;C(3x.E.J.7m){dc=3x.X().J.9g.11(q,{"o":o,"r":3x.U(),ak:P});C(dc===P||dc.2M===P||dc.1U===P||dc.2a===P){3x.X().J.al.11(q,{"o":o,"r":3x.U(),ak:P})}}R{3x.48(o,3x.U(),"22",e[3x.X().J.am+"8V"])}}},q)).1e("54.D",$.15(F(e){C(e.6G&&e.6G.1L&&e.6G.1L==="D-7n-3G"){H G}C($.K.J.41&&$.K.J.2T.D){C(q.E.J.42){2W(q.E.J.42)}C(q.E.J.43){2W(q.E.J.43)}C(q.E.J.4x){4N(q.E.J.4x)}C(q.E.J.4b){4N(q.E.J.4b)}C($.K.J.2N.I("Y").1w("D-6F")){$.K.J.2N.I("Y").1d("1g","D-7o")}}},q)).1e("8d.D",$.15(F(e){C($.K.J.41&&$.K.J.2T.D){N 1X=q.U()[0];C(e.5R+24>q.E.J.6E.1u+q.E.J.cw){C(q.E.J.42){2W(q.E.J.42)}q.E.J.42=5S($.15(F(){q.6C+=$.K.J.5r},1X),3W)}R C(e.5R-24q.E.J.6E.1A+q.E.J.ch){C(q.E.J.43){2W(q.E.J.43)}q.E.J.43=5S($.15(F(){q.4a+=$.K.J.5r},1X),3W)}R C(e.5s-24"+$(e.2J).1T());C(q.E.1N){C(m){m.1d("1g","D-"+q.E.1N.3v)}C(21){21.1d("1g","D-"+q.E.1N.3v)}$.K.J.2N.1d("1g","D-J-2N D-"+q.E.1N.3v)}$.K.J.2N.I("Y").1d("1g","D-7o");N 1X=q.U();q.E.J.6E=1X.4U();q.E.J.cw=5a(1X.1v(),10);q.E.J.ch=5a(1X.1y(),10);q.E.J.7m=P;e.3X()},q))}C(s.8f){$(1m).2v(s.8f,"6h.D-"+q.3i(),$.15(F(e){C(q.E.J.6D&&q.X().J.ca.11(q,{"o":o,"r":$(e.2J),"e":e})){$.K.J.2N.I("Y").1d("1g","D-6F")}},q)).2v(s.8f,"54.D-"+q.3i(),$.15(F(e){C(q.E.J.6D){$.K.J.2N.I("Y").1d("1g","D-7o")}},q)).2v(s.8f,"6B.D-"+q.3i(),$.15(F(e){C(q.E.J.6D&&$.K.J.2N.I("Y").1w("D-6F")){q.X().J.cc.11(q,{"o":o,"r":$(e.2J),"e":e})}},q))}},29:{am:"6k",ao:3W,ap:b5,8f:".D-eU",ca:F(E){H P},cc:$.5F,an:".D-eV",al:$.5F,9g:F(E){H{2a:G,1U:G,2M:P}}},2d:{8g:F(){C(!r||!r.O){H}q.E.J.3R=r.4U();C(q.X().16.2o){q.E.J.3R.2k=q.E.J.3R.1u+r.1v()}C(q.E.J.7m){N a=q.X().J.9g.11(q,{"o":o,"r":r});q.E.J.2a=a.2a;q.E.J.1U=a.1U;q.E.J.2M=a.2M;q.E.J.7l=P;H q.9i()}q.6f(o,r,"1U");q.E.J.1U=q.4o();q.6f(o,r,"2a");q.E.J.2a=q.4o();C(q.4j(r)){q.6f(o,r,"2M");q.E.J.2M=q.4o()}R{q.E.J.2M=G}q.E.J.7l=P;H q.9i()},9i:F(){C(!q.E.J.7l){H}N o=["1U","2M","2a"],r=G,2o=q.X().16.2o,3N;C(q.E.J.w1?q.73("b9"):q.4m(o),1X=q.U();C(!q.X().16.5b){dt=dt.V(//2n,"&9j;")}$.K.J.7k(e,{D:P,B:o},""+dt);C(q.E.1N){C(m){m.1d("1g","D-"+q.E.1N.3v)}C(21){21.1d("1g","D-"+q.E.1N.3v)}$.K.J.2N.1d("1g","D-J-2N D-"+q.E.1N.3v)}q.E.J.6E=1X.4U();q.E.J.cw=5a(1X.1v(),10);q.E.J.ch=5a(1X.1y(),10);q.E.J.6D=P}}});$(F(){N 2Z=\'\'+\'#K-8c Y { 1Q:3E; 1T-7I:2H; 1v:4G; 1y:4G; 1Z:0 0 0 0; 2G:0; 1k:4q; 1A:5T; 1u:5T; \'+\' -72-2P-7p:5T; 2P-7p:5T; -ar-2P-7p:5T; \'+\'} \'+\'#K-8c .D-6F { 31:eW; } \'+\'#K-8c .D-7o { 31:eX; } \'+\'#D-7n { 2G:0; 1Z:0; as-5e:9Q; 6g:5n; 1y:9Q; 1v:eY; 1k:4q; 1A:-ce; z-2Y:eZ; 31-5h:2A-5h; 1Q:2H; 31-5K:8h; 1T-9k:2I 2I 2I 8C; 5K:b2; 3G-1y:f0; } \'+\'#D-7n-3G { 2G:0; 1Z:0; 3G-1y:0%; as-5e:2I; 6g:5n; 1y:2I; 1v:f1; 1k:4q; 1A:-ce; z-2Y:9f; 31-5h:2A-5h; 1Q:2H; 31-5K:#f3; \'+\' cf:cg; 2P:2I 85 #f4; 2P-1u:0; -72-7J-9k: 36 36 4Z #at; -ar-7J-9k: 36 36 4Z #at; 7J-9k: 36 36 4Z #at; \'+\' -72-2P-7p:2I; 2P-7p:2I; -ar-2P-7p:2I; \'+\'}\'+\'\';$.K.1j.4g({1o:2Z,35:"D"});m=$("<53 />").1d({1L:"D-7n"}).2b().2m("&ci;").1e("54 6h",F(e){m.2b();21.2b();e.3X();e.4y();H G}).5M("5m");21=$("<53 />").1d({1L:"D-7n-3G"}).2b().1e("6B",F(e){C(r&&r.O){r.I("a").95(e);e.3X();e.4y();H G}}).1e("54",F(e){N 3V=$(e.6G);C(3V.39(".D")||3V.6c(".D").O===0){C(r&&r.O){r.I("a").95(e);m.2b();21.2b();e.3X();e.4y();H G}}}).5M("5m");$(1m).1e("7k.K",F(e,E){C(E.E.D){m.4c();C(21){21.4c()}}});$(1m).1e("6A.K",F(e,E){C(E.E.D){m.2b();C(21){21.2b()}}})})})(2u);(F($){$.D.1I("1r",{2O:F(){q.E.1r.7q=q.X().1r.cj;C(q.E.T&&q.E.1r.7q){q.3u=q.4T=q.5O=$.5F;q.bA=q.au}q.U().1e("2w.D 4n.D 2r.D 78.D",$.15(F(e,E){q.av(E.1q.B)},q)).1e("74.D",$.15(F(e){q.av()},q)).2v((q.E.T&&q.E.1r.7q?"a":"Y.D-1r"),"4I.D",$.15(F(e){e.3X();C(q.17(e.2J).1w("D-1t")){q.ck(e.2J)}R{q.9l(e.2J)}C(q.E.T&&q.E.1r.7q){q.49();C(q.E.8b){q.ai("3u")}}R{e.4y();H G}},q))},29:{cj:G,5U:G,9m:G,cl:P,cm:F(n){H[("f5"+(n[0].1L||7e.f6(7e.f7()*9f))),1]}},7F:F(){q.U().W("6l.D-4X-1r").1f("D-4X-1r").2s().W("Y.D-1r").2q()},2d:{f8:F(n,E){C(E.1t){q.9l(n,G)}},av:F(B){B=!B||B==-1?q.U().W("> Q > L"):q.17(B);C(B===G){H}N c,19=q,t,9n=q.X().1r.5U,44=q.X().1r.9m,cn=q.X().1r.cm;B.Z(F(){t=$(q);c=t.39("L")&&(t.1w("D-1t")||(44&&t.I(":1t").O))?"D-1t":"D-3d";t.W("L").2L().Z(F(){N $t=$(q),8i;$t.I("a"+(19.E.1S?"":":eq(0)")).1M(":7K(.D-1r)").3t("I;").2x().1M(".D-1t, .D-3d").1b(9n?"D-3d":c);C(44){C(!$t.I(":1r").O){8i=cn.11(19,$t);$t.3t("<6l 3A=\'1r\' 1g=\'D-4X-1r\' 1L=\'"+8i[0]+"\' 1h=\'"+8i[0]+"\' 2B=\'"+8i[1]+"\' />")}R{$t.I(":1r").1b("D-4X-1r")}}C(!9n){C(c==="D-1t"||$t.1w("D-1t")||$t.I(\':1t\').O){$t.W("L").2L().1b("D-1t").I(":1r").4z("1t",P)}}R{C($t.1w("D-1t")||$t.I(\':1t\').O){$t.1b("D-1t").I(":1r").4z("1t",P)}}})});C(!9n){B.W(".D-1t").2x().2x().Z(F(){19.co(q)})}},5V:F(B,2h){B=q.17(B);N 4d=G,44=q.X().1r.9m;C(!B||B===-1){H G}2h=(2h===G||2h===P)?2h:B.1w("D-1t");C(q.X().1r.5U){C(2h){B.1f("D-1t").1b("D-3d");C(44){B.I(":1r").4z("1t",G)}}R{B.1f("D-3d").1b("D-1t");C(44){B.I(":1r").4z("1t",P)}}}R{C(2h){4d=B.W("L").2L();C(!4d.2f(".D-1t, .D-3n").O){H G}4d.1f("D-1t D-3n").1b("D-3d");C(44){4d.I(":1r").4z("1t",G)}}R{4d=B.W("L").2L();C(!4d.2f(".D-3d, .D-3n").O){H G}4d.1f("D-3d D-3n").1b("D-1t");C(44){4d.I(":1r").4z("1t",P)}C(q.E.T){q.E.T.25=B}q.E.1r.25=B}B.3a(".D","L").Z(F(){N $q=$(q);C(2h){C($q.I("Q").I("L.D-1t, L.D-3n").O){$q.3a(".D","L").2L().1f("D-1t D-3d").1b("D-3n");C(44){$q.3a(".D","L").2L().I(":1r").4z("1t",G)}H G}R{$q.1f("D-1t D-3n").1b("D-3d");C(44){$q.I(":1r").4z("1t",G)}}}R{C($q.I("Q").I("L.D-3d, L.D-3n").O){$q.3a(".D","L").2L().1f("D-1t D-3d").1b("D-3n");C(44){$q.3a(".D","L").2L().I(":1r").4z("1t",G)}H G}R{$q.1f("D-3d D-3n").1b("D-1t");C(44){$q.I(":1r").4z("1t",P)}}}})}C(q.E.T&&q.E.1r.7q){q.E.T.2U=q.au()}q.1i(B);H P},9l:F(B){C(q.5V(B,G)){B=q.17(B);C(q.X().1r.cl){N t=q;B.81(".D-1p").Z(F(){t.2w(q,G,P)})}q.1i({"B":B})}},ck:F(B){C(q.5V(B,P)){q.1i({"B":q.17(B)})}},f9:F(){N 19=q,4d=q.X().1r.5U?q.3j().W("L"):q.3j().I("L");4d.Z(F(){19.5V(q,G)});q.1i()},fa:F(){N 19=q,4d=q.X().1r.5U?q.3j().W("L"):q.3j().I("L");4d.Z(F(){19.5V(q,P)});q.1i()},fb:F(B){B=q.17(B);H B.O?B.39(".D-1t"):G},au:F(B,9o){B=!B||B===-1?q.U():q.17(B);H 9o||q.X().1r.5U?B.W(".D-1t"):B.W("> Q > .D-1t, .D-3n > Q > .D-1t")},fc:F(B,9o){B=!B||B===-1?q.U():q.17(B);H 9o||q.X().1r.5U?B.W(".D-3d"):B.W("> Q > .D-3d, .D-3n > Q > .D-3d")},fd:F(){q.U().I("Q").1f("D-2A-cq")},fe:F(){q.U().I("Q").1b("D-2A-cq")},co:F(B){B=q.17(B);C(!B.O){H}C(q.X().1r.5U){B.W(\'L\').2L().1M(\'.D-1t\').1f(\'D-3n\').1b(\'D-3d\').I(\':1r\').4z(\'1t\',P);H}N 44=q.X().1r.9m,a=B.W("> Q > .D-1t").O,b=B.W("> Q > .D-3n").O,c=B.W("> Q > L").O;C(c===0){C(B.1w("D-3n")){q.5V(B,G)}}R C(a===0&&b===0){q.5V(B,P)}R C(a===c){q.5V(B,G)}R{B.3a(".D","L").2L().1f("D-1t D-3d").1b("D-3n");C(44){B.3a(".D","L").2L().I(":1r").4z("1t",G)}}},80:F(){C(q.E.T&&q.E.1r.7q){N 19=q,s=q.E.T.5o;s=$.8N($.7M(s),F(n){H"#"+n.2Q().V(/^#/,"").V(/\\\\\\//g,"/").V(/\\//g,"\\\\\\/").V(/\\\\\\./g,".").V(/\\./g,"\\\\.").V(/\\:/g,"\\\\:")});q.5O();$.Z(s,F(i,1a){19.9l(1a)});q.1i()}R{q.4F()}},4M:F(){N 19=q;q.E.16.47=[];q.3j().W("L.D-1p.D-3n").Z(F(){C(q.1L){19.E.16.47.1Y("#"+q.1L)}})}}});$(F(){N 2Z=\'.D .D-4X-1r { 1Q:2H; } \';$.K.1j.4g({1o:2Z,35:"D"})})})(2u);(F($){$.K.cs=F(2C,M,23){N 7r="",56,57,6H,aw;C(1m.ff){56=1m.8v(\'2C\');57=1m.8v(\'2C\');56.ct=2C;57.ct=M;$("5m").1z(56).1z(57);5E((F(56,57,23){H F(){23.11(2E,56.fg(57.fh));5E((F(56,57){H F(){$(56).2q();$(57).2q()}})(56,57),9X)}})(56,57,23),3W);H P}C(1H 4J.7s!=="2c"&&1H 4J.cu!=="2c"&&1H 4J.ax==="2c"){2C=5D 7s().9p(2C,"1T/2C");M=5D 7s().9p(M,"1T/2C")}C(1H 4J.7s!=="2c"&&1H 4J.cu!=="2c"&&1H 4J.ax!=="2c"){6H=5D ax();aw=$.2j(6H.ay)?(1H 4J.cv!=="2c"):P;C(!aw){H G}2C=5D 7s().9p(2C,"1T/2C");M=5D 7s().9p(M,"1T/2C");C($.2j(6H.ay)){7r=1m.fi.fj("","",2E);6H.ay(2C,M,7r,2E);23.11(2E,5D cv().fk(7r));H P}R{6H.fl(M);7r=6H.fm(2C,1m);23.11(2E,$("<53 />").1z(7r).2m());H P}}H G};N M={\'cx\':\'<\'+\'?2C 8j="1.0" 8k="9q-8" ?>\'+\'\'+\'\'+\'\'+\' \'+\' \'+\' \'+\'\'+\'\'+\' \'+\' \'+\' \'+\' \'+\' \'+\' \'+\' D-22 \'+\' \'+\' D-1K \'+\' D-1p \'+\' D-3H \'+\' \'+\' \'+\' \'+\' \'+\' \'+\' \'+\' \'+\' \'+\' r;\'+\' \'+\' \'+\' \'+\' \'+\' \'+\' #\'+\' \'+\' \'+\' \'+\' \'+\' \'+\' \'+\' \'+\' \'+\' \'+\' \'+\' D-S \'+\' \'+\' \'+\' 31:2g() 52 52 2A-5h;\'+\' r;\'+\' \'+\' \'+\' \'+\' \'+\' \'+\' \'+\' \'+\' \'+\'\'+\'\',\'8o\':\'<\'+\'?2C 8j="1.0" 8k="9q-8" ?>\'+\'\'+\'\'+\'\'+\' \'+\' \'+\' \'+\' \'+\' \'+\' \'+\' \'+\' \'+\'\'+\'\'+\' \'+\' \'+\' \'+\' \'+\' \'+\' D-22 \'+\' \'+\' D-1K \'+\' D-1p \'+\' D-3H \'+\' \'+\' \'+\' \'+\' \'+\' \'+\' \'+\' \'+\' \'+\' r;\'+\' \'+\' \'+\' \'+\' \'+\' \'+\' #\'+\' \'+\' \'+\' \'+\' \'+\' \'+\' \'+\' \'+\' \'+\' \'+\' \'+\' D-S \'+\' \'+\' \'+\' 31:2g() 52 52 2A-5h;\'+\' r;\'+\' \'+\' \'+\' \'+\' \'+\' \'+\' \'+\' \'+\' \'+\' \'+\' \'+\' \'+\' \'+\' \'+\' \'+\' \'+\'\'+\'\'},6J=F(3C){H 3C.2Q().V(/&/g,\'&fo;\').V(//g,\'&9j;\').V(/"/g,\'&fp;\').V(/\'/g,\'&fq;\')};$.D.1I("5u",{29:{E:G,14:G,M:"8o",2r:G,1R:P,aB:G,cP:P},2d:{3J:F(B,1n,3b){N 19=q;q.cQ(B,F(){19.1i({"B":19.17(B)});1n.11(q)},3b)},4j:F(B){N s=q.X().5u;B=q.17(B);H B==-1||!B||(!s.14&&!$.2j(s.E))||B.39(".D-1K, .D-3H")||B.I("Q").I("L").5e()>0},cQ:F(B,1n,3b){N s=q.3q().5u,3Q=F(){},4s=F(){};B=q.17(B);C(B&&B!==-1){C(B.E("2R")){H}R{B.E("2R",P)}}5i(!0){1B(!s.E&&!s.14):6o"bV E bW 14 3B bX.";1B($.2j(s.E)):s.E.11(q,B,$.15(F(d){q.9t(d,$.15(F(d){C(d){d=d.V(/ ?8l="[^"]*"/2n,"");C(d.O>10){d=$(d);C(B===-1||!B){q.U().I("Q").2p().1z(d.I())}R{B.I("a.D-1x").1f("D-1x");B.1z(d);B.38("2R")}C(s.2r){q.2r(B)}C(1n){1n.11(q)}}R{C(B&&B!==-1){B.I("a.D-1x").1f("D-1x");B.38("2R");C(s.1R){q.1R(B);C(1n){1n.11(q)}}}R{C(s.1R){q.U().I("Q").2p();C(1n){1n.11(q)}}}}}},q))},q));1J;1B(!!s.E&&!s.14)||(!!s.E&&!!s.14&&(!B||B===-1)):C(!B||B==-1){q.9t(s.E,$.15(F(d){C(d){d=d.V(/ ?8l="[^"]*"/2n,"");C(d.O>10){d=$(d);q.U().I("Q").2p().1z(d.I());C(s.2r){q.2r(B)}C(1n){1n.11(q)}}}R{C(s.1R){q.U().I("Q").2p();C(1n){1n.11(q)}}}},q))}1J;1B(!s.E&&!!s.14)||(!!s.E&&!!s.14&&B&&B!==-1):3Q=F(x,t,e){N ef=q.3q().5u.14.6v;C(ef){ef.11(q,x,t,e)}C(B!==-1&&B.O){B.I("a.D-1x").1f("D-1x");B.38("2R");C(t==="3Z"&&s.1R){q.1R(B)}}R{C(t==="3Z"&&s.1R){q.U().I("Q").2p()}}C(3b){3b.11(q)}};4s=F(d,t,x){d=x.fr;N 4t=q.3q().5u.14.3Z;C(4t){d=4t.11(q,d,t,x)||d}C(d===""||(d&&d.2Q&&d.2Q().V(/^[\\s\\n]+$/,"")==="")){H 3Q.11(q,x,t,"")}q.9t(d,$.15(F(d){C(d){d=d.V(/ ?8l="[^"]*"/2n,"");C(d.O>10){d=$(d);C(B===-1||!B){q.U().I("Q").2p().1z(d.I())}R{B.I("a.D-1x").1f("D-1x");B.1z(d);B.38("2R")}C(s.2r){q.2r(B)}C(1n){1n.11(q)}}R{C(B&&B!==-1){B.I("a.D-1x").1f("D-1x");B.38("2R");C(s.1R){q.1R(B);C(1n){1n.11(q)}}}R{C(s.1R){q.U().I("Q").2p();C(1n){1n.11(q)}}}}}},q))};s.14.1l=q;s.14.6v=3Q;s.14.3Z=4s;C(!s.14.5p){s.14.5p="2C"}C($.2j(s.14.2g)){s.14.2g=s.14.2g.11(q,B)}C($.2j(s.14.E)){s.14.E=s.14.E.11(q,B)}$.14(s.14);1J}},9t:F(2C,23){N s=q.X().5u;$.K.cs(2C,M[s.M],23)},cR:F(2D,B,3w,40,3s){N 1O="",s=q.X(),19=q,2V,2S,L,a,1P;C(!2D){2D="8o"}C(!3s){3s=0}B=q.17(B);C(!B||B===-1){B=q.U().W("> Q > L")}3w=$.2z(3w)?3w:["1L","1g"];C(!3s&&q.E.1C&&$.3p(s.1C.4u,3w)===-1){3w.1Y(s.1C.4u)}40=$.2z(40)?40:[];C(!3s){C(s.5u.cP){1O+=\'<\'+\'?2C 8j="1.0" 8k="fs-8"?\'+\'>\'}1O+=""}B.Z(F(){1O+="<4A";L=$(q);$.Z(3w,F(i,v){N t=L.1d(v);C(!s.5u.aB||1H t!=="2c"){1O+=" "+v+"=\\""+6J((" "+(t||"")).V(/ D[^ ]*/2n,\'\').V(/\\s+$/2n," ").V(/^ /,"").V(/ $/,""))+"\\""}});C(L.1w("D-1K")){1O+=" 2h=\\"1K\\""}C(L.1w("D-1p")){1O+=" 2h=\\"1p\\""}C(2D==="8o"){1O+=" 6I=\\""+6J(3s)+"\\""}1O+=">";1O+="<7u>";a=L.I("a");a.Z(F(){2V=$(q);1P=G;1O+="<1h";C($.3p("1S",s.28)!==-1){$.Z(s.1S,F(k,z){C(2V.1w(z)){1O+=" 1P=\\""+6J(z)+"\\"";1P=z;H G}})}C(40.O){$.Z(40,F(k,z){N t=2V.1d(z);C(!s.5u.aB||1H t!=="2c"){1O+=" "+z+"=\\""+6J((" "+t||"").V(/ D[^ ]*/2n,\'\').V(/\\s+$/2n," ").V(/^ /,"").V(/ $/,""))+"\\""}})}C(2V.I("Y").3M(0).4K.V(/D[^ ]*|$/2n,\'\').V(/^\\s+$/2n,"").O){1O+=\' S="\'+6J(2V.I("Y").3M(0).4K.V(/D[^ ]*|$/2n,\'\').V(/\\s+$/2n," ").V(/^ /,"").V(/ $/,""))+\'"\'}C(2V.I("Y").3M(0).26.7j.O){1O+=\' S="\'+6J(2V.I("Y").3M(0).26.7j.V("2g(","").V(")","").V(/\'/2n,"").V(/"/2n,""))+\'"\'}1O+=">";1O+="";1O+=""});1O+="";2S=L[0].1L||P;L=L.W("> Q > L");C(L.O){2S=19.cR(2D,L,3w,40,2S)}R{2S=""}C(2D=="cx"){1O+=2S}1O+="";C(2D=="8o"){1O+=2S}});C(!3s){1O+=""}H 1O}}})})(2u);(F($){$.cS[\':\'].cT=F(a,i,m){H(a.fu||a.fv||"").5B().4h(m[3].5B())>=0};$.cS[\':\'].fw=F(a,i,m){H(a.fx("35")||"").5B().4h(m[3].5B())>=0};$.D.1I("2i",{2O:F(){q.E.2i.1o="";q.E.2i.1O=$();C(q.X().2i.cU){q.U().1e("2i.D",F(e,E){$(q).I("Q").W("L").2b().1f("D-22");E.1q.4V.3a(".D").2L().4c().2f("Q").Z(F(){$(q).I("L:3Y").eq(-1).1b("D-22")})}).1e("8p.D",F(){$(q).I("Q").W("L").1j("1Q","").2s().2s().D("2r",-1)})}},29:{14:G,cV:"cT",cU:G},2d:{2i:F(1o,cW){C($.fy(1o)===""){q.8p();H}N s=q.3q().2i,t=q,3Q=F(){},4s=F(){};q.E.2i.1o=1o;C(!cW&&s.14!==G&&q.3j().W("L.D-1p:1M(:7K(Q)):eq(0)").O>0){q.2i.fz=P;3Q=F(){};4s=F(d,t,x){N 4t=q.3q().2i.14.3Z;C(4t){d=4t.11(q,d,t,x)||d}q.E.2i.30=d;q.aC()};s.14.1l=q;s.14.6v=3Q;s.14.3Z=4s;C($.2j(s.14.2g)){s.14.2g=s.14.2g.11(q,1o)}C($.2j(s.14.E)){s.14.E=s.14.E.11(q,1o)}C(!s.14.E){s.14.E={"fA":1o}}C(!s.14.5p||/^af/.88(s.14.5p)){s.14.5p="af"}$.14(s.14);H}C(q.E.2i.1O.O){q.8p()}q.E.2i.1O=q.U().W("a"+(q.E.1S?"."+q.c0():"")+":"+(s.cV)+"("+q.E.2i.1o+")");q.E.2i.1O.1b("D-2i").2x().81(".D-1p").Z(F(){t.2w(q,G,P)});q.1i({4V:q.E.2i.1O,1o:1o})},8p:F(1o){q.E.2i.1O.1f("D-2i");q.1i(q.E.2i.1O);q.E.2i.1O=$()},aC:F(3s){N 19=q,76=P,5c=[],77=[];C(q.E.2i.30.O){$.Z(q.E.2i.30,F(i,1a){C(1a=="#"){H P}C($(1a).O&&$(1a).39(".D-1p")){5c.1Y(1a)}R{77.1Y(1a)}});C(5c.O){q.E.2i.30=77;$.Z(5c,F(i,1a){19.2w(1a,F(){19.aC(P)})});76=G}}C(76){q.2i(q.E.2i.1o,P)}}}})})(2u);(F($){$.K.1l={cX:G,1X:$("<53 1L=\'K-2t\' />"),5Y:G,cY:G,aD:G,2e:G,E:G,2o:G,4c:F(s,t,x,y,d,p,2o){$.K.1l.2o=!!2o;N 2m=$.K.1l.aE(s),h,w;C(!2m){H}$.K.1l.5Y=P;$.K.1l.cY=t;$.K.1l.aD=p||t||2E;$.K.1l.E=d||2E;$.K.1l.1X.2m(2m).1j({"83":"5n","1Q":"3E","1u":0,"1A":0});C($.K.1l.cX){$.K.1l.1X.c1("54",F(e){$.K.1l.2b()})}h=$.K.1l.1X.1y();w=$.K.1l.1X.1v();C(x+w>$(1m).1v()){x=$(1m).1v()-(w+5);$.K.1l.1X.W("L > Q").1b("2k")}C(y+h>$(1m).1y()){y=y-(h+t[0].8W);$.K.1l.1X.W("L > Q").1b("9u")}$.K.1l.1X.1j({"1u":x,"1A":y}).W("L:7K(Q)").1e("6h",F(e){N w=$(1m).1v(),h=$(1m).1y(),Q=$(q).I("Q").4c();C(w!==$(1m).1v()){Q.cZ("2k")}C(h!==$(1m).1y()){Q.cZ("9u")}}).1e("54",F(e){$(q).I("Q").2b()}).2s().1j({"83":"3Y"}).4c();$(1m).5G("fB.K")},2b:F(){$.K.1l.5Y=G;$.K.1l.1X.1d("1g","").1j({"83":"5n"});$(1m).5G("d0.K")},aE:F(s,3s){C(!s){H G}N 1o="",12=G,9v=P;C(!3s){$.K.1l.2e={}}1o+="";$.Z(s,F(i,1a){C(!1a){H P}$.K.1l.2e[i]=1a.5Z;C(!9v&&1a.60){1o+=""}9v=G;1o+="";C(1a.9w){1o+="<58 26=\'d2:"+($.K.1l.2o?"1u":"2k")+";\'>&ci;"}1o+=1a.61+"";C(1a.9w){12=$.K.1l.aE(1a.9w,P);C(12){1o+=12}}1o+="";C(1a.62){1o+="";9v=P}});1o=1o.V(/<\\/L\\>$/,"");1o+="";$(1m).5G("fE.K");H 1o.O>10?1o:G},88:F(i){C($.2j($.K.1l.2e[i])){$.K.1l.2e[i].11($.K.1l.E,$.K.1l.aD);H P}R{H G}}};$(F(){N 2Z=\'\'+\'#K-2t { 1Q:3E; 83:5n; 1u:0; 1A:-bD; 1k:4q; 1Z:0; 2G:0; 5J-1v:9x; 31:#d3; 2P:2I 85 a8; z-2Y:9f; *1v:9x; } \'+\'#K-2t Q { 5J-1v:9x; *1v:9x; } \'+\'#K-2t Q, #K-2t L { 1Z:0; 2G:0; b0-26-3A:2H; 1Q:3E; } \'+\'#K-2t L { 3G-1y:d4; 5J-1y:d4; 1k:84; 2G:36; } \'+\'#K-2t L a { 2G:2I fF; 3G-1y:fG; 1Q:3E; 1T-7I:2H; 1Z:2I 2I 0 2I; } \'+\'#K-2t L Y { d2:1u; 1v:4G; 1y:4G; 1T-7I:2H; 1Z-2k:4Z; } \'+\'#K-2t L a:3e, #K-2t L.K-3e > a { 31:d5; 5K:8C; } \'+\'#K-2t L Q { 1Q:2H; 1k:4q; 1A:-4Z; 1u:3W%; 31:#d3; 2P:2I 85 d5; } \'+\'#K-2t .2k { 2k:3W%; 1u:7Y; } \'+\'#K-2t .9u { 9u:-2I; 1A:7Y; } \'+\'#K-2t L.K-4f { 5J-1y:0; 1y:2I; 3G-1y:2I; as-5e:2I; 6g:5n; 1Z:0 4Z; 31:a8; /* 2P-1A:2I 85 #fH; */ 2G:0; } \';$.K.1j.4g({1o:2Z,35:"K"});$.K.1l.1X.2v("a","4I",F(e){e.3X()}).2v("a","6B",F(e){C(!$(q).2x().1w("D-2t-d1")&&$.K.1l.88($(q).1d("8x"))){$.K.1l.2b()}R{$(q).7Z()}}).2v("a","d6",F(){$.K.1l.1X.W(".K-3e").1f("K-3e")}).5M("5m");$(1m).1e("8I",F(e){C($.K.1l.5Y&&!$.8n($.K.1l.1X[0],e.2J)){$.K.1l.2b()}});C(1H $.3m!=="2c"){$(1m).1e("6p","6q",F(e){C($.K.1l.5Y){N o=$.K.1l.1X.W("Q:3Y").22().I(".K-3e").1f("K-3e").9U("L:1M(.K-4f)").3K();C(!o.O){o=$.K.1l.1X.W("Q:3Y").22().I("L:1M(.K-4f)").22()}o.1b("K-3e");e.4y();e.3X()}}).1e("6p","6r",F(e){C($.K.1l.5Y){N o=$.K.1l.1X.W("Q:3Y").22().I(".K-3e").1f("K-3e").7N("L:1M(.K-4f)").3K();C(!o.O){o=$.K.1l.1X.W("Q:3Y").22().I("L:1M(.K-4f)").3K()}o.1b("K-3e");e.4y();e.3X()}}).1e("6p","2k",F(e){C($.K.1l.5Y){$.K.1l.1X.W(".K-3e").I("Q").4c().I("L:1M(.K-4f)").1f("K-3e").3K().1b("K-3e");e.4y();e.3X()}}).1e("6p","1u",F(e){C($.K.1l.5Y){$.K.1l.1X.W(".K-3e").I("Q").2b().I(".K-4f").1f("K-3e");e.4y();e.3X()}}).1e("6p","fI",F(e){$.K.1l.2b();e.3X()}).1e("6p","70",F(e){$.K.1l.1X.W(".K-3e").22().I("a").4I();e.3X()})}});$.D.1I("2t",{2O:F(){q.U().2v("a","2t.D",$.15(F(e){e.3X();C(!$(e.2y).1w("D-1x")){q.d7(e.2y,e.5R,e.5s)}},q)).2v("a","4I.D",$.15(F(e){C(q.E.2t){$.K.1l.2b()}},q)).1e("9I.D",$.15(F(){C(q.E.2t){$.K.1l.2b()}},q));$(1m).1e("d0.K",$.15(F(){q.E.2t=G},q))},29:{3u:G,d8:P,d9:{"90":{"60":G,"62":P,"61":"fJ","5Z":F(B){q.90(B)}},"6m":{"60":G,"62":G,"61":"fK","5Z":F(B){q.6m(B)}},"2q":{"60":G,"S":G,"62":G,"61":"fL","5Z":F(B){C(q.3P(B)){q.2q()}R{q.2q(B)}}},"fM":{"60":P,"S":G,"62":G,"61":"fN","5Z":G,"9w":{"aa":{"60":G,"62":G,"61":"fO","5Z":F(B){q.aa(B)}},"87":{"60":G,"S":G,"62":G,"61":"fP","5Z":F(B){q.87(B)}},"ab":{"60":G,"S":G,"62":G,"61":"fQ","5Z":F(B){q.ab(B)}}}}}},2d:{d7:F(B,x,y){B=q.17(B);N s=q.3q().2t,a=B.I("a:3Y:eq(0)"),o=G,i=G;C(s.3u&&q.E.T&&!q.3P(B)){q.5O();q.3u(B,P)}C(s.d8||1H x==="2c"||1H y==="2c"){o=a.4U();x=o.1u;y=o.1A+q.E.16.3r}i=B.E("D")&&B.E("D").2t?B.E("D").2t:s.d9;C($.2j(i)){i=i.11(q,B)}q.E.2t=P;$.K.1l.4c(i,a,x,y,q,B,q.X().16.2o);C(q.E.1N){$.K.1l.1X.1d("1g","D-"+q.E.1N.3v+"-1l")}}}})})(2u);(F($){$.D.1I("1C",{2O:F(){N s=q.X().1C;q.E.1C.aF=[];q.U().1e("6U.D",$.15(F(){N 1C=s.1C,1d=s.4u,5v="",19=q;$.Z(1C,F(i,2D){$.Z(2D,F(k,v){C(!/^(45|6K|S|8q)$/.2l(k)){19.E.1C.aF.1Y(k)}});C(!2D.S){H P}C(2D.S.6L||2D.S.1k){C(i=="3L"){5v+=\'.D-\'+19.3i()+\' a > .D-S { \'}R{5v+=\'.D-\'+19.3i()+\' L[\'+1d+\'="\'+i+\'"] > a > .D-S { \'}C(2D.S.6L){5v+=\' 31-6L:2g(\'+2D.S.6L+\'); \'}C(2D.S.1k){5v+=\' 31-1k:\'+2D.S.1k+\'; \'}R{5v+=\' 31-1k:0 0; \'}5v+=\'} \'}});C(5v!==""){$.K.1j.4g({\'1o\':5v,35:"D-1C"})}},q)).1e("1U.D",$.15(F(e,E){N s,t,o=q.X().1C.9y?q.17(E.1D[0]):G,d=o&&o!==-1&&o.O?o.E("D"):G;C(d&&d.1C&&d.1C[E.2e]===G){e.4y();H G}C($.3p(E.2e,q.E.1C.aF)!==-1){C(!E.1D[0]||(!E.1D[0].3S&&!E.1D[0].ad)){H}s=q.X().1C.1C;t=q.8r(E.1D[0]);C(((s[t]&&1H s[t][E.2e]!=="2c")||(s["3L"]&&1H s["3L"][E.2e]!=="2c"))&&q.5w(E.2e,E.1D[0])===G){e.4y();H G}}},q));C(66){q.U().1e("3J.D aG.D",$.15(F(e,E){N r=E&&E.1q&&E.1q.B&&E.1q.B!==-1?q.17(E.1q.B).2x():q.3j(),c=G,s=q.X().1C;$.Z(s.1C,F(i,2D){C(2D.S&&(2D.S.6L||2D.S.1k)){c=i==="3L"?r.W("L > a > .D-S"):r.W("L["+s.4u+"=\'"+i+"\'] > a > .D-S");C(2D.S.6L){c.1j("7j","2g("+2D.S.6L+")")}c.1j("fR",2D.S.1k||"0 0")}})},q))}},29:{6K:-1,45:-1,8q:"9H",9y:G,4u:"8x",1C:{"3L":{"6K":-1,"45":-1,"8q":"9H"}}},2d:{fS:F(n,E){C(E.3A&&q.X().1C.9y){q.aG(E.3A,n)}},8r:F(B){B=q.17(B);H(!B||!B.O)?G:B.1d(q.X().1C.4u)||"3L"},aG:F(1o,B){B=q.17(B);N 4p=(!B.O||!1o)?G:B.1d(q.X().1C.4u,1o);C(4p){q.1i({B:B,3A:1o})}H 4p},5w:F(4Y,B,3T){B=q.17(B);N v=G,t=q.8r(B),d=0,19=q,s=q.X().1C,E=G;C(B===-1){C(!!s[4Y]){v=s[4Y]}R{H}}R{C(t===G){H}E=s.9y?B.E("D"):G;C(E&&E.1C&&1H E.1C[4Y]!=="2c"){v=E.1C[4Y]}R C(!!s.1C[t]&&1H s.1C[t][4Y]!=="2c"){v=s.1C[t][4Y]}R C(!!s.1C["3L"]&&1H s.1C["3L"][4Y]!=="2c"){v=s.1C["3L"][4Y]}}C($.2j(v)){v=v.11(q,B)}C(4Y==="45"&&B!==-1&&3T!==G&&s.45!==-2&&v!==0){B.I("a:eq(0)").3a(".D","L").Z(F(i){C(s.45!==-1&&s.45-(i+1)<=0){v=0;H G}d=(i===0)?v:19.5w(4Y,q,G);C(d!==-1&&d-(i+1)<=0){v=0;H G}C(d>=0&&(d-(i+1)=0&&(s.45-(i+1) Q > L").1M(m.o).O:m.cr.W("> Q > L").1M(m.o).O;C(ch+m.o.O>7v){H G}}C(s.45!==-2&&6M!==-1){d=0;C(6M===0){H G}C(1H m.o.d==="2c"){t=m.o;8u(t.O>0){t=t.W("> Q > L");d++}m.o.d=d}C(6M-m.o.d<0){H G}}H P},4n:F(B,1k,1c,23,7Q,5l){C(!5l&&(7Q||q.4j(B))){N p=(1H 1k=="3C"&&1k.6Z(/^1U|2a$/i)&&B!==-1)?q.4l(B):q.17(B),s=q.X().1C,7v=q.5w("6K",p),6M=q.5w("45",p),5x=q.5w("8q",p),ch;C(1H 1c==="3C"){1c={E:1c}}C(!1c){1c={}}C(5x==="2H"){H G}C($.2z(5x)){C(!1c.1d||!1c.1d[s.4u]){C(!1c.1d){1c.1d={}}1c.1d[s.4u]=5x[0]}R{C($.3p(1c.1d[s.4u],5x)===-1){H G}}}C(s.6K!==-2&&7v!==-1){ch=p===-1?q.U().W("> Q > L").O:p.W("> Q > L").O;C(ch+1>7v){H G}}C(s.45!==-2&&6M!==-1&&(6M-1)<0){H G}}H q.4F(P,B,1k,1c,23,7Q,5l)}}})})(2u);(F($){$.D.1I("59",{2O:F(){q.E.59.aH=q.U().W(" > Q > L").5g(P);q.E.59.aH.W("L").2L().7S().2f(F(){H q.7T==3}).2q()},29:{E:G,14:G,1R:P},2d:{3J:F(B,1n,3b){N 19=q;q.da(B,F(){19.1i({"B":19.17(B)});1n.11(q)},3b)},4j:F(B){B=q.17(B);H B==-1||!B||(!q.X().59.14&&!$.2j(q.X().59.E))||B.39(".D-1K, .D-3H")||B.I("Q").I("L").5e()>0},da:F(B,1n,3b){N d,s=q.3q().59,3Q=F(){},4s=F(){};B=q.17(B);C(B&&B!==-1){C(B.E("2R")){H}R{B.E("2R",P)}}5i(!0){1B($.2j(s.E)):s.E.11(q,B,$.15(F(d){C(d&&d!==""&&d.2Q&&d.2Q().V(/^[\\s\\n]+$/,"")!==""){d=$(d);C(!d.39("Q")){d=$("").1z(d)}C(B==-1||!B){q.U().I("Q").2p().1z(d.I()).W("L, a").2f(F(){H!q.3f||!q.3f.3S||q.3f.3S!=="4P"}).3t("I;").2s().2f("a").I("Y:3K-4k").1M(".D-S").1b("D-S")}R{B.I("a.D-1x").1f("D-1x");B.1z(d).I("Q").W("L, a").2f(F(){H!q.3f||!q.3f.3S||q.3f.3S!=="4P"}).3t("I;").2s().2f("a").I("Y:3K-4k").1M(".D-S").1b("D-S");B.38("2R")}q.2r(B);C(1n){1n.11(q)}}R{C(B&&B!==-1){B.I("a.D-1x").1f("D-1x");B.38("2R");C(s.1R){q.1R(B);C(1n){1n.11(q)}}}R{C(s.1R){q.U().I("Q").2p();C(1n){1n.11(q)}}}}},q));1J;1B(!s.E&&!s.14):C(!B||B==-1){q.U().I("Q").2p().1z(q.E.59.aH).W("L, a").2f(F(){H!q.3f||!q.3f.3S||q.3f.3S!=="4P"}).3t("I;").2s().2f("a").I("Y:3K-4k").1M(".D-S").1b("D-S");q.2r()}C(1n){1n.11(q)}1J;1B(!!s.E&&!s.14)||(!!s.E&&!!s.14&&(!B||B===-1)):C(!B||B==-1){d=$(s.E);C(!d.39("Q")){d=$("").1z(d)}q.U().I("Q").2p().1z(d.I()).W("L, a").2f(F(){H!q.3f||!q.3f.3S||q.3f.3S!=="4P"}).3t("I;").2s().2f("a").I("Y:3K-4k").1M(".D-S").1b("D-S");q.2r()}C(1n){1n.11(q)}1J;1B(!s.E&&!!s.14)||(!!s.E&&!!s.14&&B&&B!==-1):B=q.17(B);3Q=F(x,t,e){N ef=q.3q().59.14.6v;C(ef){ef.11(q,x,t,e)}C(B!=-1&&B.O){B.I("a.D-1x").1f("D-1x");B.38("2R");C(t==="3Z"&&s.1R){q.1R(B)}}R{C(t==="3Z"&&s.1R){q.U().I("Q").2p()}}C(3b){3b.11(q)}};4s=F(d,t,x){N 4t=q.3q().59.14.3Z;C(4t){d=4t.11(q,d,t,x)||d}C(d===""||(d&&d.2Q&&d.2Q().V(/^[\\s\\n]+$/,"")==="")){H 3Q.11(q,x,t,"")}C(d){d=$(d);C(!d.39("Q")){d=$("").1z(d)}C(B==-1||!B){q.U().I("Q").2p().1z(d.I()).W("L, a").2f(F(){H!q.3f||!q.3f.3S||q.3f.3S!=="4P"}).3t("I;").2s().2f("a").I("Y:3K-4k").1M(".D-S").1b("D-S")}R{B.I("a.D-1x").1f("D-1x");B.1z(d).I("Q").W("L, a").2f(F(){H!q.3f||!q.3f.3S||q.3f.3S!=="4P"}).3t("I;").2s().2f("a").I("Y:3K-4k").1M(".D-S").1b("D-S");B.38("2R")}q.2r(B);C(1n){1n.11(q)}}R{C(B&&B!==-1){B.I("a.D-1x").1f("D-1x");B.38("2R");C(s.1R){q.1R(B);C(1n){1n.11(q)}}}R{C(s.1R){q.U().I("Q").2p();C(1n){1n.11(q)}}}}};s.14.1l=q;s.14.6v=3Q;s.14.3Z=4s;C(!s.14.5p){s.14.5p="2m"}C($.2j(s.14.2g)){s.14.2g=s.14.2g.11(q,B)}C($.2j(s.14.E)){s.14.E=s.14.E.11(q,B)}$.14(s.14);1J}}}});$.D.29.28.1Y("59")})(2u);(F($){$.D.1I("4C",{2O:F(){N s=q.X().4C;q.U().1b("T-db-7u").1b("D-4C").2v("a","6h.D",F(e){C(!$(e.2y).1w("D-1x")){$(q).1b(s.63)}}).2v("a","54.D",F(){$(q).1f(s.63)}).1e("6U.D",$.15(F(e,E){E.5H.U().W("> Q > L > .D-1x > Y").1b("T-S-78");q.64(E.5H.U().W("> Q > L"))},q)).1e("2w.D 4n.D",$.15(F(e,E){q.64(E.1q.B)},q)).1e("74.D 78.D",$.15(F(e){q.64()},q)).1e("51.D",$.15(F(e,E){q.64(E.1q.B)},q)).1e("7W.D",$.15(F(e,E){q.64(E.1q.2x)},q)).1e("1R.D",$.15(F(e,E){E.1q.B.I("Y.D-S").1f(s.75+" "+s.1p+" T-S").2s().W("> a > Y.T-S").2f(F(){H q.4K.2Q().V(s.5y,"").V(s.5z,"").V(s.5A,"").4h("T-S-")===-1}).1f(s.5z+" "+s.5y).1b(s.5A||"D-2A-S")},q)).1e("3u.D",$.15(F(e,E){E.1q.B.I("a").1b(s.7w)},q)).1e("4T.D 5O.D",$.15(F(e,E){q.U().W("a."+s.7w).1f(s.7w).2s().W("a.D-3k").1b(s.7w)},q)).1e("6i.D",$.15(F(e,E){E.1q.B.I("a").1f(s.63)},q)).1e("3c.D",$.15(F(e,E){q.U().W("a."+s.63).1M(E.1q.B).1f(s.63);E.1q.B.I("a").1b(s.63)},q)).1e("48.D",$.15(F(e,E){q.64(E.1q.o);q.64(E.1q.4R)},q))},7F:F(){N s=q.X().4C,c=["T-S"];$.Z(s,F(i,v){v=v.6b(" ");C(v.O){c=c.6T(v)}});q.U().1f("T-db-7u").W("."+c.46(", .")).1f(c.46(" "))},2d:{64:F(B){N s=q.X().4C;B=!B||B==-1?q.3j():q.17(B).2x();B.W("L.D-1p").I("Y.D-S").1f(s.75).1b("T-S "+s.1p).2s().I("a").1b(s.4A).I("Y.D-S").1b("T-S").2f(F(){H q.4K.2Q().V(s.5y,"").V(s.5z,"").V(s.5A,"").4h("T-S-")===-1}).1f(s.5A+" "+s.5z).1b(s.5y||"D-2A-S").2s().2s().2s().2s().W("L.D-1K").I("Y.D-S").1f(s.1p).1b("T-S "+s.75).2s().I("a").1b(s.4A).I("Y.D-S").1b("T-S").2f(F(){H q.4K.2Q().V(s.5y,"").V(s.5z,"").V(s.5A,"").4h("T-S-")===-1}).1f(s.5A+" "+s.5y).1b(s.5z||"D-2A-S").2s().2s().2s().2s().W("L.D-3H").I("Y.D-S").1f(s.1p+" T-S "+s.75).2s().I("a").1b(s.4A).I("Y.D-S").1b("T-S").2f(F(){H q.4K.2Q().V(s.5y,"").V(s.5z,"").V(s.5A,"").4h("T-S-")===-1}).1f(s.5y+" "+s.5z).1b(s.5A||"D-2A-S")}},29:{"75":"T-S-dd-1-fT","1p":"T-S-dd-1-e","4A":"T-2h-3L","63":"T-2h-3e","7w":"T-2h-6D","5z":"T-S-de-1K","5y":"T-S-de-fU","5A":"T-S-1m"}});$(F(){N 2Z=\'\'+\'.D-4C .T-S { 6g:3Y; } \'+\'.D-4C a { 2G:0 4Z; } \'+\'.D-4C .D-2A-S { 1Q:2H; }\';$.K.1j.4g({1o:2Z,35:"D"})})})(2u);(F($){$.D.1I("df",{2O:F(){q.U().1e("1U.D",$.15(F(e,E){N 3o=[],8s=P,p,t;C(E.2e=="48"){C(E.1D[4]===P){C(E.1D[0].o&&E.1D[0].o.O){E.1D[0].o.I("a").Z(F(){3o.1Y($(q).1T().V(/^\\s+/g,""))});8s=q.8t(3o,E.1D[0].3O.W("> Q > L").1M(E.1D[0].o),"48")}}}C(E.2e=="4n"){C(E.1D[4]||q.4j(E.1D[0])){p=q.17(E.1D[0]);C(E.1D[1]&&(E.1D[1]==="1U"||E.1D[1]==="2a")){p=q.4l(E.1D[0]);C(!p||p===-1){p=q.U()}}C(1H E.1D[2]==="3C"){3o.1Y(E.1D[2])}R C(!E.1D[2]||!E.1D[2].E){3o.1Y(q.73("9S"))}R{3o.1Y(E.1D[2].E)}8s=q.8t(3o,p.W("> Q > L"),"4n")}}C(E.2e=="7V"){3o.1Y(E.1D[1]);t=q.17(E.1D[0]);p=q.4l(t);C(!p||p===-1){p=q.U()}8s=q.8t(3o,p.W("> Q > L").1M(t),"7V")}C(!8s){e.fV();H G}},q))},29:{dg:$.5F},2d:{8t:F(3o,p,2e){N 6N=[];p.I("a").Z(F(){6N.1Y($(q).1T().V(/^\\s+/g,""))});C(!6N.O||!3o.O){H P}6N=6N.4E().46(",,").V(/(,|^)([^,]+)(,,\\2)+(,|$)/g,"$1$2$4").V(/,,+/g,",").V(/,$/,"").6b(",");C((6N.O+3o.O)!=6N.6T(3o).4E().46(",,").V(/(,|^)([^,]+)(,,\\2)+(,|$)/g,"$1$2$4").V(/,,+/g,",").V(/,$/,"").6b(",").O){q.X().df.dg.11(2E,3o,p,2e);H G}H P},4o:F(){C(!q.4F()){H G}N p=q.8S(),3o=[];C(p.o&&p.o.O){p.o.I("a").Z(F(){3o.1Y($(q).1T().V(/^\\s+/g,""))});H q.8t(3o,p.3O.W("> Q > L").1M(p.o),"4o")}H P}}})})(2u);(F($){$.D.1I("1s",{2O:F(){C(!q.E.T){6o"5Q 1s: 5Q bR 1I 1M 89.";}q.E.1s.2m=G;q.E.1s.9z=G;q.U().1e("6U.D",$.15(F(e,E){q.X().16.8F=0},q)).1e("2w.D 4n.D 2r.D 74.D",$.15(F(e,E){q.dh(E&&E.1q&&E.1q.B?E.1q.B:-1)},q)).1e("2i.D 8p.D 5d.D 8O.D 7P.D 4n.D 7W.D 2r.D",$.15(F(e,E){C(q.E.9z){4N(q.E.9z)}q.E.9z=5E((F(t,o){H F(){t.di(o)}})(q,E&&E.1q&&E.1q.B?E.1q.B:-1),0)},q)).1e("5O.D",$.15(F(e,E){q.U().W(" > .D-1s .D-3k").1f("D-3k "+(q.E.4C?q.X().4C.7w:""))},q)).1e("3u.D 4T.D ",$.15(F(e,E){E.1q.B.Z(F(){N 5j=E.5H.U().W(" > .D-1s L:3Y:eq("+(5a((($(q).4U().1A-E.5H.U().4U().1A+E.5H.U()[0].4a)/E.5H.E.16.3r),10))+")");5j.I("a").1d("1g",E.1q.B.I("a").1d("1g"))})},q)).1e("3c.D 6i.D",$.15(F(e,E){q.U().W(" > .D-1s .D-1V").1f("D-1V "+(q.E.4C?q.X().4C.63:""));C(e.3A==="3c"){N 5j=q.U().W(" > .D-1s L:3Y:eq("+(5a(((E.1q.B.4U().1A-q.U().4U().1A+q.U()[0].4a)/q.E.16.3r),10))+")");5j.I("a").1d("1g",E.1q.B.I(".D-1V").1d("1g"))}},q)).2v(".D-1s-58, Y.D-S, L","4I.D",F(e){N n=$(e.2y);C(e.2J.3S==="A"||(e.2J.3S==="4P"&&n.6c("L").39(".D-1K, .D-1p"))){H}n.6c("L").I("a:3Y:eq(0)").4I();e.4y()}).2v("L","d6.D",$.15(F(e){e.4y();C($(e.2y).I(".D-1V, .D-3k").O){H G}q.3c(e.2y);H G},q)).2v("L","54.D",$.15(F(e){C($(e.2y).I("a").1w("D-1V").O){H}q.6i(e.2y)},q));C(7z||66){$.K.1j.4g({1o:".D-"+q.3i()+" { 1k:84; } ",35:"D"})}},29:{},7F:F(){q.U().I(".D-1s").2q();q.U().W(".D-1s-58").2q()},2d:{dh:F(B){B=!B||B==-1?q.U().W("> Q > L"):q.17(B);C(B===G){H}B.Z(F(){$(q).W("L").2L().Z(F(){N $t=$(q);C($t.I(".D-1s-58").O){H P}$t.3t("<58 1g=\'D-1s-58\' 26=\'1v:"+($t.3a(".D","L").O*18)+"3l;\'>I;")})})},di:F(){N o=q.U().I("Q").eq(0),h=o.2m();o.1b("D-1s-4X");C(q.E.1s.dj!==h){q.E.1s.dj=h;q.U().I(".D-1s").2q();q.U().1z(o.5g().1f("D-1s-4X").fW("<53 1g=\'D-1s\' />").2x().1v(o.2x()[0].a3).1j("1A",(o.1y()+(7z?5:0))*-1).W("L[1L]").Z(F(){q.fX("1L")}).2s())}}}});$(F(){N 2Z=\'\'+\'.D .D-1s-4X { 1k:84; z-2Y:1; } \'+\'.D .D-1s-4X L { cf:cg; } \'+\'.D .D-1s-4X a { 2P-1u-5K:8h !37; 2P-2k-5K:8h !37; } \'+\'.D .D-1s { 1k:84; z-2Y:0; 1y:0; } \'+\'.D .D-1s Q, .D .D-1s L { 1v:3W%; } \'+\'.D .D-1s, .D .D-1s Q, .D .D-1s L, .D .D-1s a { 1Z:0 !37; 2G:0 !37; } \'+\'.D .D-1s, .D .D-1s Q, .D .D-1s L { 31:8h !37; }\'+\'.D .D-1s Y, .D .D-1s 58, .D .D-1s 6l { 1Q:2H !37; }\'+\'.D .D-1s a, .D .D-1s a:3e { 1T-az:-fY; !37; 1v:3W%; 2G:0 !37; 2P-2k-1v:36 !37; 2P-1u-1v:36 !37; } \'+\'.D .D-1s-58 { 1k:4q; 1u:0; 1Z:36; 2G:0; 1y:3F; 2P-1v:0; 2G:0; z-2Y:0; }\';C(9B){2Z+=\'\'+\'.D .D-1s a { 1Q:3E; 1y:3F; 1Z:0; 2G:0; 2P:0; } \'+\'.D .D-1s-4X a { 2P-5K:8h !37; } \'}C(7z||66){2Z+=\'\'+\'.D .D-1s, .D .D-1s L, .D .D-1s Q, .D .D-1s a { 1Z:0; 2G:0; 3G-1y:3F; } \'+\'.D .D-1s a { 1Q:3E; 1y:3F; 3G-1y:3F; 6g:5n; } \'}$.K.1j.4g({1o:2Z,35:"D"})})})(2u);(F($){N dk=["aI","dl","dm","dn","dp"],dq=F(B,9A){N aJ=P;B=B||{};9A=[].6T(9A);$.Z(9A,F(i,v){C(!$.2j(B[v])){aJ=G;H G}});H aJ};$.D.1I("7x",{2O:F(){C(!q.E.4W){6o"5Q 7x: 5Q 4W 1I 1M 89.";}q.X().4W.E=F(n,b){N B=(n==-1)?q.X().7x.dr:n.E("ds");C(!dq(B,dk)){H b.11(2E,G)}C(q.X().7x.du){B.aI($.15(F(E){q.aK(E,b)},q))}R{q.aK(B.aI(),b)}}},29:{dr:G,aL:G,du:G},2d:{aK:F(E,23){N 4p=[],s=q.X(),19=q;C(!$.2z(E)){E=[E]}$.Z(E,F(i,65){N r=65.dp()||{};r.1d=65.dm()||{};C(65.dl()){r.2h="1p"}r.E=65.dn();C(!$.2z(r.E)){r.E=[r.E]}C(19.E.1C&&$.2j(65.dv)){r.1d[s.1C.4u]=65.dv()}C(r.1d.1L&&s.7x.aL){r.1d.1L=s.7x.aL+r.1d.1L}C(!r.5L){r.5L={}}r.5L.ds=65;4p.1Y(r)});23.11(2E,4p)}}})})(2u)})();',62,991,'||||||||||||||||||||||||||this|||||||||||obj|if|jstree|data|function|false|return|children|dnd|vakata|li|xsl|var|length|true|ul|else|icon|ui|get_container|replace|find|_get_settings|ins|each||call|tmp||ajax|proxy|core|_get_node||_this|val|addClass|js|attr|bind|removeClass|class|name|__callback|css|position|context|document|s_call|str|closed|rslt|checkbox|wholerow|checked|left|width|hasClass|loading|height|append|top|case|types|args|event|select|attribute|typeof|plugin|break|open|id|not|themes|result|lang|display|correct_state|languages|text|before|hovered|langs|cnt|push|margin||ml|last|callback||last_selected|style||plugins|defaults|after|hide|undefined|_fn|func|filter|url|state|search|isFunction|right|test|html|ig|rtl|empty|remove|clean_node|end|contextmenu|jQuery|delegate|open_node|parent|currentTarget|isArray|no|value|xml|tp|null|instances|padding|none|1px|target|for|andSelf|inside|helper|__init|border|toString|jstree_is_loading|tmp2|user_data|selected|tmp1|clearInterval|of|index|css_string|to_open|background|crrm|sli|sti|title|0px|important|removeData|is|parentsUntil|e_call|hover_node|unchecked|hover|firstChild|href|prepared_move|get_index|get_container_ul|clicked|px|hotkeys|undetermined|nms|inArray|get_settings|li_height|is_callback|prepend|select_node|theme|li_attr|tr|template|sheet|type|settings|string|instance_id|block|18px|line|leaf|160|load_node|first|default|get|pos|np|is_selected|error_func|off|tagName|opts|key|rt|100|preventDefault|visible|success|a_attr|is_drag|i1|i2|rc|max_depth|join|to_load|move_node|save_selected|scrollTop|to2|show|coll|and|separator|add_sheet|indexOf|node|_is_loaded|child|_get_parent|get_text|create_node|check_move|ret|absolute|h2|success_func|sf|type_attr|ln|cookie|to1|stopImmediatePropagation|prop|item|when|themeroller|rule_name|sort|__call_old|16px|icons|click|window|className|save_opened|save_loaded|clearTimeout|prev|INS|ot|op|or|deselect_node|offset|nodes|json_data|real|rule|2px||close_node|center|div|mouseleave|dots|xm|xs|span|html_data|parseInt|html_titles|current|reopen|size|_get_prev|clone|repeat|switch|ref|is_copy|skip_check|body|hidden|to_select|dataType|current_language|scroll_spd|pageY|param|xml_data|icons_css|_check|vc|item_clsd|item_open|item_leaf|toLowerCase|apply|new|setTimeout|noop|triggerHandler|inst|__rollback|min|color|metadata|appendTo|proceed|deselect_all|ct_nodes|jsTree|pageX|setInterval|4px|two_state|change_state|choose|otherwise|vis|action|separator_before|label|separator_after|item_h|_themeroller|nd|is_ie6|css_rules|stylesheet|focused_instance|extend|split|closest|locked|_get_next|prepare_move|overflow|mouseenter|dehover_node|select_limit|ctrl|input|rename|theme_url|throw|keydown|up|down|progressive_unload|jstree_children|_parse_json|error|st|cookie_options|dir1|dir2|drag_stop|mouseup|scrollLeft|active|cof|ok|relatedTarget|processor|parent_id|escape_xml|max_children|image|md|cnms|get_css|styleSheet|try|catch|instance|concat|init|_reference|needle|pdata|rb|match|space|inline|moz|_get_string|loaded|opened|done|remaining|refresh|do_animation|original_obj|clk|shift|is_multiple|Math|cp_nodes|_themes|theme_name|enabled|backgroundImage|drag_start|prepared|foreign|marker|invalid|radius|noui|rs|DOMParser|with|content|mc|item_a|model|strict|is_ie7|prototype|slice|jstree_instance_id|methodValue|pname|__destroy|old|rlbk|decoration|box|has|reload_nodes|makeArray|nextAll|skip_animation|after_close|is_loaded|language|contents|nodeType|set_text|rename_node|delete_node|scrollbar_width|auto|blur|reselect|parents|h1|visibility|relative|solid|new_name|copy|exec|included|selector|cookies|dragged|mousemove|mto|drop_target|dnd_prepare|transparent|nm|version|encoding|xmlns|hasChildren|contains|flat|clear_search|valid_children|_get_type|res|_check_unique|while|createElement|appendChild|rel|Array|arguments|returnValue|_|white|3px|err|animation|selection|set_focus|mousedown|sel|th|is_focused|unbind|map|after_open|nodeValue|add|is_prepared|_get_move|textarea|select_multiple_modifier|Key|offsetHeight|move|default_position|old_name|create|hide_dots|show_dots|hide_icons|show_icons|trigger|progressive_render|ul1|ul2|last_pos|is_down|init_x|init_y|drag|150|10000|drag_check|dnd_enter|dnd_show|gt|shadow|check_node|real_checkboxes|ts|get_all|parseFromString|utf|xa0|is_last|parse_xml|bottom|was_sep|submenu|180px|use_data|to|inter|is_ff2|is_new|getElementsByTagName|head|cssText|media|all|destroy|_instance|_focused|container|unlock|get_rollback|set_rollback|msie|12px|strings|new_node|refreshing|prevAll|id_mode|1000|200|selected_parent_close|parentNode|select_range_modifier|_fix_scroll|is_range|scrollWidth|always_copy|_show_input|w1|w2|silver|which|cut|paste|themes_loaded|jquery|bound|json|lv|language_css|save_cookie|2000px|is_root|drag_finish|copy_modifier|drag_target|check_timeout|open_timeout|dnd_open|webkit|font|666|get_checked|_prepare_checkboxes|support|XSLTProcessor|transformDocument|indent|root|get_skip_empty|_search_open|par|parse|attach_to|set_type|original_container_html|getChildren|valid|model_done|id_prefix|delete_flag|selectorText|removeRule|deleteRule|insertRule|setAttribute|createStyleSheet|isMethodCall|delete|evnt|is_locked|replace_arguments|navigator|userAgent|list|nowrap|#555|initially_open|initially_load|500|open_parents|notify_plugins|load_open|multiple_selection|trgt|toggle_node|getSelection|values|_notify|undelegate|lock|opacity|unset_focus|focused|stop|open_all|__this|is_cb|oc|cols|rows|initially_select|select_parent|select_prev_on_delete|selected_parent_open|disable_selecting_children|allow_multiple|check|on|offsetWidth|get_selected|open_onmove|input_width_limit|200px|keyCode|pW|fontFamily|fontSize|fontWeight|fontStyle|fontStretch|fontVariant|letterSpacing|wordSpacing|skip_rename|set_theme|src|UI|revert|enable_hotkeys|load_node_json|Neither|nor|supplied|get_json|_load_css|get_lang|one|auto_save|handleObj|helper_left|helper_top|abs|start_drag|dnd_leave|dnd_finish|drop_check||drop_finish|lt|30px|cursor|pointer||raquo|override_ui|uncheck_node|checked_parent_open|real_checkboxes_names|rcn|_repair_state||checkboxes||xslt|innerHTML|XMLHttpRequest|XMLSerializer||nest||http|www|w3|org|1999|XSL|Transform|output|method|omit|declaration|yes|standalone|variable|count|number|get_include_preamble|load_node_xml|get_xml|expr|jstree_contains|show_only_matches|search_method|skip_async|hide_on_mouseleave|tgt|toggleClass|context_hide|disabled|float|ebebeb|20px|gray|mouseover|show_contextmenu|show_at_node|items|load_node_html|widget||triangle|folder|unique|error_callback|_prepare_wholerow_span|_prepare_wholerow_ul|last_html|nodeInterface|getChildrenCount|getAttr|getName||getProps|validateInterface|object|jstree_model||async|getType|use|cssRules|rules|add_css|addRule|remove_css|createTextNode|link|substring|is_|unshift|_set_settings|Event|rollback|rv|it|ra|ie|focus|outline|execCommand|BackgroundImageCache|compatible|mozilla|parseFloat|stack|Loading|New|Multiple|direction|dblclick|||removeAllRanges|collapse|in|hasOwnProperty|_core_notify|UL|next|_get_children|get_path|reverse|is_open|is_closed||is_leaf|slideDown|slideUp|close_all|detach|cop|nth|copy_|prependTo|_ui_notify||nextUntil|prevUntil||scrollHeight|toggle_select|1000px|lineHeight|150px|keyup|keypress|multitree|get_theme|toggle_dots|toggle_icons|script|del|disable_hotkeys|isPlainObject|set_lang|namespace|jstree_load|jstree_open|jstree_select|threshold|unselectable|onselectstart|MozUserSelect|24px|scroll|drop|draggable|green|red|8px|10001|10px|100px||456c43|eeeeee|check_|ceil|random|_checkbox_notify|check_all|uncheck_all|is_checked|get_unchecked|show_checkboxes|hide_checkboxes|recalc|transformNode|XMLDocument|implementation|createDocument|serializeToString|importStylesheet|transformToFragment||amp|quot|apos|responseText|UTF|CDATA|textContent|innerText|jstree_title_contains|getAttribute|trim|supress_callback|search_string|context_show|_class|_disabled|context_parse|6px|17px|fefefe|esc|Create|Rename|Delete|ccp|Edit|Cut|Copy|Paste|backgroundPosition|_types_notify|se|collapsed|stopPropagation|wrapAll|removeAttribute|9999px'.split('|'),0,{})); function trv_module_tree_search(treeID,searchString) { if (searchString == "") { $("#"+treeID).jstree("clear_search"); $("#trv_module_tree_input_search_filter_"+treeID).val(""); } else { $("#"+treeID).jstree("search", searchString); if ($("#"+treeID+" .jstree-search:first").length > 0) { setIframeTop('#'+treeID+' .jstree-search:first',50); } } } /** The MIT License Copyright (c) 2010 Daniel Park (http://metaweb.com, http://postmessage.freebaseapps.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: **/ var NO_JQUERY={};(function(h,$,j){if(!("console"in h)){var c=h.console={};c.log=c.warn=c.error=c.debug=function(){}}if($===NO_JQUERY){$={fn:{},extend:function(){var a=arguments[0];for(var i=1,len=arguments.length;i