(function(){typeof spiritecApi=="undefined"&&(window.spiritecApi={});typeof window.spiritecApi.log=="undefined"&&(window.spiritecApi.log=function(n){console.log(n)})})();
(function(){typeof asyncLoader=="undefined"&&(window.asyncLoader=new function(){var n=this;this._onReadyCallbacks=[];this.registerInit=function(t){typeof t=="function"&&n._onReadyCallbacks.push(t)};this.triggerAsyncInit=function(){for(var t=0;t<n._onReadyCallbacks.length;t++)try{n._onReadyCallbacks[t]()}catch(i){console.log('The "triggerAsyncInit" threw an exception! - Message: '+i)}}});typeof componentInitialization=="undefined"&&(window.componentInitialization=new function(){var n=this;this._onReadyCallbacks=[];this.registerReadyEvent=function(t){typeof t=="function"&&n._onReadyCallbacks.push(t)};this.triggerReadyEvent=function(){for(var t=0;t<n._onReadyCallbacks.length;t++)try{n._onReadyCallbacks[t]()}catch(i){console.log('The "triggerReadyEvent" threw an exception! - Message: '+i)}}})})();
var e,i;if(function(){for(var n,u=function(){},t=["assert","clear","count","debug","dir","dirxml","error","exception","group","groupCollapsed","groupEnd","info","log","markTimeline","profile","profileEnd","table","time","timeEnd","timeStamp","trace","warn"],i=t.length,r=window.console=window.console||{};i--;)n=t[i],r[n]||(r[n]=u)}(),document.getElementsByTagName("html")[0].className.indexOf("lt-ie9")!==-1)for(e="abbr,article,aside,audio,canvas,datalist,details,figure,figcaption,footer,header,hgroup,mark,menu,meter,nav,output,progress,section,summary,time,video,figcaption,summary".split(","),i=0;i<e.length;i++)document.createElement(e[i]);
function throttle(n,t){var u,i,r=50;return typeof t=="number"&&(r=t),function(){var t=this,f=arguments;i?(clearTimeout(u),u=setTimeout(function(){Date.now()-i>=r&&(n.apply(t,f),i=Date.now())},r-(Date.now()-i))):(n.apply(t,f),i=Date.now())}};
function getBreakpoint(){return isMobile?"mobile":isTabletPortrait?"tabletPortrait":isTabletLandscape?"tabletLandscape":isDesktop?"desktop":isDesktopLarge?"desktopLarge":void 0}function checkBreakpoints(){var n=window.innerWidth,t;(typeof n!="number"?console.log("Breakpoints cound not be evaluated."):(resetBreakpoints(),n<500?isMobile=!0:n<900?isTabletPortrait=!0:n<1200?isTabletLandscape=!0:n<1800?isDesktop=!0:isDesktopLarge=!0),t=getBreakpoint(),oldBreakpoint!==t)&&(window.breakpoints.triggerFunctions(),oldBreakpoint=t)}function resetBreakpoints(){isMobile=!1;isTabletPortrait=!1;isTabletLandscape=!1;isDesktop=!1;isDesktopLarge=!1}var isMobile=!1,isTabletPortrait=!1,isTabletLandscape=!1,isDesktop=!1,isDesktopLarge=!1,oldBreakpoint="",newBreakpoint="";(function(){typeof breakpoints=="undefined"&&(window.breakpoints=new function(){var n=this;this._onBreakpointChangeCallbacks=[];this.registerFunction=function(t){typeof t=="function"&&n._onBreakpointChangeCallbacks.push(t)};this.triggerFunctions=function(){for(var t=0;t<n._onBreakpointChangeCallbacks.length;t++)try{n._onBreakpointChangeCallbacks[t]()}catch(i){console.log('The "triggerFunctions" threw an exception! - Message: '+i)}}})})();window.componentInitialization.registerReadyEvent(function(){$(window).resize(throttle(function(){checkBreakpoints()}))});checkBreakpoints();
function checkStaticDevelopment(){document.location.href.toLowerCase().indexOf("frontendstatic")!==-1&&(isStaticDevelopment=!0)}var isStaticDevelopment=!1;checkStaticDevelopment();
