/* /tools/js/Basic/plugins/jquery.megaMenu.js */ (function($){$.fn.megaMenu=function(opts){this.each(function(){init.call(this,opts);});return this;};function init(opts){var $menu=$(this),activeMenuElement=null,mouseLocs=[],lastDelayLoc=null,timeoutId=null,options=$.extend({forceHwAcceleration:false,useCssAnimation:false,menuSelector:"> li",focusSelector:"> a",submenuSelector:"ul",submenuDirection:"below",tolerance:75,subDelay:400,subDelayHide:100},opts);var MOUSE_LOCS_TRACKED=3,DELAY=200;var mousemoveDocument=function(e){mouseLocs.push({x:e.pageX,y:e.pageY});if(mouseLocs.length>MOUSE_LOCS_TRACKED){mouseLocs.shift();}};var mouseleaveMenu=function(){if(timeoutId){clearTimeout(timeoutId);} possiblyActivateElement(null);};var mouseenterElement=function(){if(timeoutId){clearTimeout(timeoutId);} possiblyActivateElement(this);};var mouseleaveElement=function(){};var mouseenterSubMenu=function(){};var mouseleaveSubMenu=function(){};var possiblyActivateElement=function(item){var delay=activationDelay(item);if(delay==-1){return;}else if(delay===null){deactivateElement(activeMenuElement);} if(delay){timeoutId=setTimeout(function(){possiblyActivateElement(item);},delay);}else{activateElement(item);}};var activateElement=function(item){if(item==activeMenuElement){return;} if(activeMenuElement){deactivateElement(activeMenuElement);} activateSubMenu(item);activeMenuElement=item;};var deactivateElement=function(item){if(activeMenuElement){deactivateSubMenu(activeMenuElement);} activeMenuElement=null;};var activationDelay=function(item){if(activeMenuElement===null){return 0;} if((item!=null)&&(activeMenuElement==item)){return-1;} var menuOffset=$menu.offset(),manuOffsetLowerRightX=menuOffset.left+$menu.outerWidth(),manuOffsetLowerRightY=menuOffset.top+$menu.outerHeight(),activeSubMenu=$(activeMenuElement).children(options.submenuSelector),subMenuOffset,widthHeightElement;if(activeSubMenu.length>0){elementOffset=$(activeSubMenu).offset();widthHeightElement=activeSubMenu;}else{elementOffset=menuOffset;widthHeightElement=$menu;} var upperLeft={x:elementOffset.left,y:elementOffset.top},upperRight={x:elementOffset.left+widthHeightElement.outerWidth(),y:upperLeft.y},lowerLeft={x:elementOffset.left,y:elementOffset.top+widthHeightElement.outerHeight()},lowerRight={x:elementOffset.left+widthHeightElement.outerWidth(),y:lowerLeft.y};var loc=mouseLocs[mouseLocs.length-1],prevLoc=mouseLocs[0];if(!loc){return 0;} if(!prevLoc){prevLoc=loc;} if(options.submenuDirection=="left"){upperRight.y-=options.tolerance;lowerRight.y+=options.tolerance;}else if(options.submenuDirection=="right"){upperLeft.y-=options.tolerance;lowerLeft.y+=options.tolerance;}else if(options.submenuDirection=="above"){upperLeft.x-=options.tolerance;upperRight.x+=options.tolerance;}else if(options.submenuDirection=="below"){lowerLeft.x-=options.tolerance;lowerRight.x+=options.tolerance;} if((prevLoc.xmanuOffsetLowerRightX)||(prevLoc.ymanuOffsetLowerRightY)){return 0;} if(lastDelayLoc&&(loc.x==lastDelayLoc.x)&&(loc.y==lastDelayLoc.y)){return 0;} function slope(a,b){return(b.y-a.y)/(b.x-a.x);} var decreasingCorner=upperRight,increasingCorner=lowerRight;if(options.submenuDirection=="right"){decreasingCorner=lowerLeft;increasingCorner=upperLeft;}else if(options.submenuDirection=="above"){decreasingCorner=lowerRight;increasingCorner=lowerLeft;}else if(options.submenuDirection=="below"){decreasingCorner=upperLeft;increasingCorner=upperRight;} var decreasingSlope=slope(loc,decreasingCorner),increasingSlope=slope(loc,increasingCorner),prevDecreasingSlope=slope(prevLoc,decreasingCorner),prevIncreasingSlope=slope(prevLoc,increasingCorner);if((decreasingSlope>prevDecreasingSlope)&&(increasingSlope");"undefined"!=typeof l.myClass&&d.addClass(l.myClass);var e,n,r,i,h,o="";a.addClass("stacktable large-only"),e=a.find(">caption").clone(),n=a.find(">thead>tr,>tbody>tr,>tfoot>tr,>tr").eq(0),a.siblings().filter(".small-only").remove(),a.find(">tbody>tr").each(function(){r="",i="",h=t(this).prop("class"),t(this).find(">td,>th").each(function(a){""!==t(this).html()&&(i+='',i+=n.find(">td,>th").eq(a).html()?''+n.find(">td,>th").eq(a).html()+"":'',i+=''+t(this).html()+"",i+="")}),o+=''+r+i+"
"}),a.find(">tfoot>tr>td").each(function(a,d){""!==t.trim(t(d).text())&&(o+='
'+t(d).html()+"
")}),d.prepend(e),d.append(t(o)),a.before(d)}})},t.fn.stacktable=function(a){var s,d=this,e={headIndex:0,displayHeader:!0},l=t.extend({},e,a);return s=a&&a.headIndex?a.headIndex:0,d.each(function(){var a=t(this).prop("class"),d=t('
');"undefined"!=typeof l.myClass&&d.addClass(l.myClass);var e,n,r,i,h,o,c,f="";e=t(this),e.addClass("stacktable large-only"),n=e.find(">caption").clone(),r=e.find(">thead>tr,>tbody>tr,>tfoot>tr").eq(0),c=void 0===e.data("display-header")?l.displayHeader:e.data("display-header"),e.find(">tbody>tr, >thead>tr").each(function(a){i="",h="",o=t(this).prop("class"),0===a?c&&(f+=''+t(this).find(">th,>td").eq(s).html()+""):(t(this).find(">td,>th").each(function(a){a===s?i=''+t(this).html()+"":""!==t(this).html()&&(h+='',h+=r.find(">td,>th").eq(a).html()?''+r.find(">td,>th").eq(a).html()+"":'',h+=''+t(this).html()+"",h+="")}),f+=i+h)}),d.prepend(n),d.append(t(f)),e.before(d)})},t.fn.stackcolumns=function(a){var s=this,d={},e=t.extend({},d,a);return s.each(function(){var a=t(this),s=a.find(">caption").clone(),d=a.find(">thead>tr,>tbody>tr,>tfoot>tr").eq(0).find(">td,>th").length;if(!(3>d)){var l=t('
');"undefined"!=typeof e.myClass&&l.addClass(e.myClass),a.addClass("stacktable large-only");for(var n=t(""),r=1;d>r;)a.find(">thead>tr,>tbody>tr,>tfoot>tr").each(function(a){var s=t("");0===a&&s.addClass("st-head-row st-head-row-main");var d=t(this).find(">td,>th").eq(0).clone().addClass("st-key"),e=r;if(t(this).find("*[colspan]").length){var l=0;t(this).find(">td,>th").each(function(){var a=t(this).attr("colspan");return a?(a=parseInt(a,10),e-=a-1,l+a>r&&(e+=l+a-r-1),l+=a):l++,l>r?!1:void 0})}var i=t(this).find(">td,>th").eq(e).clone().addClass("st-val").removeAttr("colspan");s.append(d,i),n.append(s)}),++r;l.append(t(n)),l.prepend(s),a.before(l)}})}}(jQuery); /* /tools/js/Basic/plugins/slick.min.js */ /* _ _ _ _ ___| (_) ___| | __ (_)___ / __| | |/ __| |/ / | / __| \__ \ | | (__| < _ | \__ \ |___/_|_|\___|_|\_(_)/ |___/ |__/ Version: 1.6.0 Author: Ken Wheeler Website: http://kenwheeler.github.io Docs: http://kenwheeler.github.io/slick Repo: http://github.com/kenwheeler/slick Issues: http://github.com/kenwheeler/slick/issues */ !function(a){"use strict";"function"==typeof define&&define.amd?define(["jquery"],a):"undefined"!=typeof exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){"use strict";var b=window.Slick||{};b=function(){function c(c,d){var f,e=this;e.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:a(c),appendDots:a(c),arrows:!0,asNavFor:null,prevArrow:'',nextArrow:'',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(b,c){return a('');$warningButton.prependTo('#madChickCss_pageMaster');$warningBannerArea.prependTo('#madChickCss_pageMaster');$warningBannerArea.show();$('body').addClass('warningActive');let $days=0;$warningButton.click(function(){$('body').removeClass('warningActive');setCookie('seenWarning','yes',$days);});}}});$(function(){function make_base_auth(user,password){var tok=user+':'+password;var hash=Base64.encode(tok);return"Basic "+hash;} var auth=make_base_auth('mdb_rest','69OAmLtMrGb8');var imageWrapper='
';$('img.predefinedImageSize_Content').each(function(index,element){var imageId=$(this).attr('data-resourceid');var url='/ceasy/rest/item/resource/'+imageId+'?valueSet=copyrighttitle';$.ajax({url:url,type:'GET',dataType:'json',data:'',beforeSend:function(xhr){xhr.setRequestHeader('Authorization',auth);},success:function(result){$(element).wrap(imageWrapper);if(result.copyright!==null){if(result.description!==null){$(element).after('
'+result.description+'Foto: '+result.copyright.title+'
');} else{$(element).after('
'+result.title+'Foto: '+result.copyright.title+'
');}} else{if(result.description!==null){$(element).after('
'+result.description+'
');} else{$(element).after('
'+result.title+'
');}}}});});});$(document).on("satMapMarkerSelected",function(){var satMapEl=$(".mainExtraContentArea > iframe");if($(window).width()<768){$('html, body').animate({scrollTop:($(satMapEl).offset().top+$(satMapEl).height()-$(window).height())},500);}});});})(jQuery);