").append(m.parseHTML(a)).find(d):a)}).complete(c&&function(a,b){g.each(c,e||[a.responseText,b,a])}),this},m.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){m.fn[b]=function(a){return this.on(b,a)}}),m.expr.filters.animated=function(a){return m.grep(m.timers,function(b){return a===b.elem}).length};var cc=a.document.documentElement;function dc(a){return m.isWindow(a)?a:9===a.nodeType?a.defaultView||a.parentWindow:!1}m.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=m.css(a,"position"),l=m(a),n={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=m.css(a,"top"),i=m.css(a,"left"),j=("absolute"===k||"fixed"===k)&&m.inArray("auto",[f,i])>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),m.isFunction(b)&&(b=b.call(a,c,h)),null!=b.top&&(n.top=b.top-h.top+g),null!=b.left&&(n.left=b.left-h.left+e),"using"in b?b.using.call(a,n):l.css(n)}},m.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){m.offset.setOffset(this,a,b)});var b,c,d={top:0,left:0},e=this[0],f=e&&e.ownerDocument;if(f)return b=f.documentElement,m.contains(b,e)?(typeof e.getBoundingClientRect!==K&&(d=e.getBoundingClientRect()),c=dc(f),{top:d.top+(c.pageYOffset||b.scrollTop)-(b.clientTop||0),left:d.left+(c.pageXOffset||b.scrollLeft)-(b.clientLeft||0)}):d},position:function(){if(this[0]){var a,b,c={top:0,left:0},d=this[0];return"fixed"===m.css(d,"position")?b=d.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),m.nodeName(a[0],"html")||(c=a.offset()),c.top+=m.css(a[0],"borderTopWidth",!0),c.left+=m.css(a[0],"borderLeftWidth",!0)),{top:b.top-c.top-m.css(d,"marginTop",!0),left:b.left-c.left-m.css(d,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||cc;while(a&&!m.nodeName(a,"html")&&"static"===m.css(a,"position"))a=a.offsetParent;return a||cc})}}),m.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c=/Y/.test(b);m.fn[a]=function(d){return V(this,function(a,d,e){var f=dc(a);return void 0===e?f?b in f?f[b]:f.document.documentElement[d]:a[d]:void(f?f.scrollTo(c?m(f).scrollLeft():e,c?e:m(f).scrollTop()):a[d]=e)},a,d,arguments.length,null)}}),m.each(["top","left"],function(a,b){m.cssHooks[b]=La(k.pixelPosition,function(a,c){return c?(c=Ja(a,b),Ha.test(c)?m(a).position()[b]+"px":c):void 0})}),m.each({Height:"height",Width:"width"},function(a,b){m.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){m.fn[d]=function(d,e){var f=arguments.length&&(c||"boolean"!=typeof d),g=c||(d===!0||e===!0?"margin":"border");return V(this,function(b,c,d){var e;return m.isWindow(b)?b.document.documentElement["client"+a]:9===b.nodeType?(e=b.documentElement,Math.max(b.body["scroll"+a],e["scroll"+a],b.body["offset"+a],e["offset"+a],e["client"+a])):void 0===d?m.css(b,c,g):m.style(b,c,d,g)},b,f?d:void 0,f,null)}})}),m.fn.size=function(){return this.length},m.fn.andSelf=m.fn.addBack,"function"==typeof define175123&&define.amd&&_abt_define("jquery",[],function(){return m});var ec=a.jQuery,fc=a.$;return m.noConflict=function(b){return a.$===m&&(a.$=fc),b&&a.jQuery===m&&(a.jQuery=ec),m},typeof b===K&&(a.jQuery=a.$=m),m});
;window['_abt_jQuery'] = jQuery.noConflict( true );
// --
// Thu, 31 Aug 2023 20:57:01 +0200
;window['_abt_scn'] = 13;
;window['_abt_aItems'] = {"930":[1926,1927],"931":[1928,1929]};window['_abt_gf'] = [function () { /*console.info('ABT', 'FCE', 0);*/ /* Empty */ },function () { /*console.info('ABT', 'FCE', 1);*/ /* Empty */ }];window['_abt_g'] = {'169-371':[function () { return 0; },function () { return 1; }]};;window['_abt_f'] = {'_abt_action_fce_static': function () {_abt('action', "js-execute", "_abt_action_fce_13178");/*;console.log("YAT","_abt_action_fce_75907");*/
;try{_abt('stat', 'add', "js-execute", "_abt_action_fce_75907", {"fceExecuteCountBegin":0,"fceExecuteCountEnd":0,"fceExecuteLimitCountMax":null,"fceExecuteLimitCountMaxLeft":null}); } catch (e) {/* Pravděpodobně stav 'already exists' */};
_abt('action', "js-execute", "_abt_action_fce_75907", "a");_abt('action', "css-raw", "\/* ActionTypeCssRawMasterHelper::SetupPost *\/\nbody._abt-run-mode-dev ._abt-g-x {\n display: inline-block; }\n body._abt-run-mode-dev ._abt-g-201 {\n border: 2px solid yellow !important; }\n body._abt-run-mode-dev ._abt-g-202 {\n border: 2px solid red !important; }");}};window['_abt_f']['_abt_action_fce_13178'] = function () {
var $ = window['_abt_jQuery'];
var $body = $('body');
var isRunModeDev = _abt('run', "mode", "get") === 'dev', isDev = isRunModeDev;
var isRunStateLive = _abt('run', "state", "get") === 'live', isLive = isRunStateLive;
if (isRunModeDev) {
var actionTypeJsRawExecuteCounter = window['_abt_718715616_c'] = (window['_abt_718715616_c'] || 0)+1;
if (actionTypeJsRawExecuteCounter==1) {
console.info("%cIncrever | action-type-js-raw%c %c// First time run info:", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green; font-weight: bold; ");
console.info("%cIncrever | action-type-js-element%c %c// Context general: $body, isDev, isLive // onLoad state", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green");
}
console.info("%cIncrever | action-type-js-raw", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;");
}
// =========================================================================
// #601: Zobrazení stránek
window.setTimeout(function () {
_abt('heartbeat', 'data', 'add', 'g-601-view-c', 1);
// ------------------------------------------------------------
_abt('heartbeat', 'start');
_abt('heartbeat', 'stop');
}, 600);
// =========================================================================
// #422: Odskrolování do poloviny stránek
function callGoal422() {
if (_abt('getCookie', '_abt_g422')) return ;
_abt('goal', 'data', 'type', 422);
_abt('goal', 'track');
_abt('setCookie', '_abt_g422', 1, 1*60); // 1 minut
};
$(window).scroll(function () {
_abt('lazy', 'scroll.422', {
call: function (Parent, AbtEvent, mData) {
console.log( $(document).height()/2, ($(window).scrollTop()+$(window).height()) , 1/3*$(window).height() );
var wst = $(window).scrollTop();
var dh = $(document).height(), wh = $(window).height();
var middlePageH = wst+wh/2;
if (middlePageH
dh/2+wh/2) {
console.info('END 422 DOWN');
return;
}
console.info('END 422 MIDDLE');
callGoal422();
}
});
});
// =========================================================================
// #423: Odskrolování na konec stránek
function callGoal423() {
if (_abt('getCookie', '_abt_g423')) return ;
_abt('goal', 'data', 'type', 423);
_abt('goal', 'track');
_abt('setCookie', '_abt_g423', 1, 1*60); // 1 minut
};
$(window).scroll(function () {
_abt('lazy', 'scroll.423', {
call: function (Parent, AbtEvent, mData) {
if ($(document).height() - ($(window).scrollTop()+$(window).height()) < 1/3*$(window).height() ) {
console.info('END 423');
callGoal423();
}
}
});
});;
};;window['_abt_f']['_abt_action_fce_75907'] = function (domPath) {
var $ = window['_abt_jQuery'];
var $body = $('body');
var isRunModeDev = _abt('run', "mode", "get") === 'dev', isDev = isRunModeDev;
var isRunStateLive = _abt('run', "state", "get") === 'live', isLive = isRunStateLive;
var $aList = $(domPath);
var length = $aList.length;
if (isRunModeDev) {
var actionTypeJsElementExecuteCounter = window['_abt_718715617_c'] = (window['_abt_718715617_c'] || 0)+1;
if (actionTypeJsElementExecuteCounter==1) {
console.info("%cIncrever | action-type-js-element%c %c// First time run info:", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green; font-weight: bold; ");
console.info("%cIncrever | action-type-js-element%c %c// Context general: $body, isDev, isLive // onLoad state", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green");
console.info("%cIncrever | action-type-js-element%c %c// Context collection: $aList, length", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green");
console.info("%cIncrever | action-type-js-element%c %c// Context element: $input, $this, this, index", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", /* Comment */ "font-style: italic; color: green");
}
console.info("%cIncrever | action-type-js-element%c %c/* Collection */ %c$aList = $(%c\""+domPath+"\"%c)", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* space */ "", /* Comment */ "font-style: italic; color: green", /* bracked start */" ", /* DOM_PATH */"color: darkred; ", /* bracket end */"", "length =", length);
}
$aList.each(function (index) {
var $input, $this = $(this), $input = $this;
if (isRunModeDev) {
console.info("%cIncrever | action-type-js-element%c %c/* Element "+(index+1)+"/"+length+" */%c %c\""+domPath+"\"", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* space */ "", /* Comment */ "font-style: italic; color: green", /* space */"", /* DOM_PATH */"color: darkred; ", "index =", index, "$this =", $this);
}
var codeExecuteCount, eventFireLimitCountMax, codeExecuteCount = 0, eventFireLimitCountMax = null;
$input.addClass("_abt-action-js-element _abt-change");
if (eventFireLimitCountMax!==null && !eventFireLimitCountMax) {return; }
eventFireLimitCountMax--;
codeExecuteCount++;
/*console.log(codeExecuteCount, eventFireLimitCountMax);*/
$input.addClass("_abt-action-js-element-event-firing");
if ($input.attr('onclick')) {
return;
}
if (isDev && $input.closest('._abt_service_info').length) {
return;
}
var href = $input.attr('href');
if (!href) {
return;
}
href = href || '';
var isCurrentHost = false;
if (!isCurrentHost && /(www\.)?alkoholia\.cz/.test(href)) {
isCurrentHost = true;
}
if (!isCurrentHost && !/^https?\:/.test(href)) isCurrentHost = true;
if (isCurrentHost) { // #201: Kliknutí na jakýkoli odkaz směřující na web
$input.addClass('_abt-g-x _abt-g-201');
}
else { // #202: Kliknutí na jakýkoli odkaz směřující mimo web
$input.addClass('_abt-g-x _abt-g-202');
}
function callGoal(type) {
if (_abt('getCookie', '_abt_g'+type)) return false;
_abt('goal', 'data', 'type', type);
_abt('goal', 'track');
_abt('setCookie', '_abt_g'+type, 1, 2); // 2 vteřiny
return true;
}
$input.click(function (e) {
e.preventDefault();
var r;
if (isCurrentHost) { // #201: Kliknutí na jakýkoli odkaz směřující na web
r = callGoal(201);
}
else { // #202: Kliknutí na jakýkoli odkaz směřující mimo web
r = callGoal(202);
}
if (!r) { // Čekání nemá smysl
location.href = href;
return;
}
// Chvilku počkáme
window.setTimeout(function () {
location.href = href;
}, 80);
});;
this.className = this.className.split("_abt-action-js-element-event-firing").join('');
$input.addClass("_abt-action-js-element-event-fired");
});
};;window['_abt_p'] = {/*Celý web: Přebarvení pozadí na starorůžové*/'930-1926': function () {window['_abt_gf'][window['_abt_g']['169-371'][0]()](); }, '930-1927': function () {/* Note */_abt('action', "css-raw", "\/* ActionTypeCssRawMasterHelper::SetupPost *\/\nbody, #footer {\n background-color: #fff5f5; }\n\n.ghost, a.page-numbers {\n background-color: #fcecec; }");}, /*Celý web: Přeformátování písma běžného textu z nepatkového na patkové*/'931-1928': function () {window['_abt_gf'][window['_abt_g']['169-371'][1]()](); }, '931-1929': function () {/* Note */_abt('action', "css-raw", "\/* ActionTypeCssRawMasterHelper::SetupPost *\/\n.entry, .blog-item p, .entry h4, .partner-podporte {\n font-family: 'Merriweather', sans-serif; }");}};
// --
var _abtLoader=function(aW,aZ){if(!aW._abtHandler){return}var aO=new Date().getTime();if(aZ.getElementsByTagName("body")[0]===undefined){console.warn("No in document");return}if(aZ.getElementsByTagName("body")[0].className.indexOf("_abt-campaign-loaded")!==-1){console.warn("_abt is already loaded! Current version ["+aW[aW._abtHandler]("version")+"] ERROR: 8512");return}try{if(aW[aW._abtHandler]("version").split("=")[0]=="campaign"){console.warn("_abt is already loaded! Current version ["+aW[aW._abtHandler]("version")+"] ERROR: 8513");return}}catch(W){}var b=aW._abtHandler;var u=aW[b];var aR=aW[b];var ae="std";function Y(){return ae==="std"}function F(){return ae==="dev"}var ab="unknown";var am=null;var ao=null;function aw(){if(am===null){console.error("%cIncrever: RUN_STATE_IS_LIVE IS NULL",at)}return am}function aa(){if(ao===null){console.error("%cIncrever: RUN_STATE_IS_DEV IS NULL",at)}return ao}function aU(){return ab==="unknown"}var aq="https:";var aJ="";var f="//track-abt.increverhq.com";if(!location.hostname){f=aq+f;aJ=aq}var a="background-color: white; color: black; ";var at="background-color: red; color: white; ";var S="background-color: black; color: yellow; ";var J="background-color: #027FBE; color: white; font-weight: bold; ";aR("callback","run","onLoad:begin");var av=typeof(Storage)!=="undefined";var x=av?aW.localStorage:null;function Z(e,q){if(typeof e==="function"){q=e;e=true}if(!av){if(e){throw"localStorage is not supported"}return undefined}var i=q(x);if(i===undefined){return true}return i}var A={log:a,error:at,warn:S,info:J,};var aV=function(e){return(A[e]!==undefined)?A[e]:a};var D=function(q,i){var e=[].slice.call(arguments,1);R(q,e)};var R=function(a1,q){if(aU()){return}if(!F()){return}if(window.console===undefined){return}var i=["%cIncrever "+a1.toUpperCase(),aV(a1)].concat(q);try{console[a1].apply(null,i)}catch(a0){console.log(a1,i)}};clog=function(){R("log",[].slice.call(arguments))};cinfo=function(){R("info",[].slice.call(arguments))};cwarn=function(){R("warn",[].slice.call(arguments))};cerror=function(){R("error",[].slice.call(arguments))};function aT(a0,q,i,e){aR("rl",a0,q,i,e)}function y(q,i,e){return aT(0,q,i,e)}function ak(q,i,e){return aT(1,q,i,e)}function k(q,i,e){return aT(2,q,i,e)}function aM(q,i,e){return aT(3,q,i,e)}function ah(q,i,e){return aT(4,q,i,e)}function H(q,i,e){return aT(5,q,i,e)}function T(q,i,e){return aT(6,q,i,e)}function M(q,i,e){return aT(7,q,i,e)}var ad;if(aW._abt_service===undefined){ad=aW._abt_service=function(){var q=this;var a0=[].slice.call(arguments);var a2={};var e=["version","isTestEnabled","isTestDisabled","test"];for(var a1=0;a1
=0}function aN(e){return typeof e==="string"||e instanceof String}function ag(e){return typeof e==="object"&&e&&e.jquery}function aG(e){return typeof e==="function"}function ai(e){Array.prototype.slice.call(arguments,1).forEach(function(i){if(i){for(var q in i){if(i[q]!==null&&i[q].constructor===Object){if(!e[q]||e[q].constructor===Object){e[q]=e[q]||{};ai(e[q],i[q])}else{e[q]=i[q]}}else{e[q]=i[q]}}}});return e}function aB(e){return e.split(",").join("&").split(":").join("=")}function aL(e,i,a2){if(!i){i=false}if(a2===undefined){a2=e}if(!e){cwarn("goal ELEMENT is LINK, but empty or hash, href=",a2);return false}var a1=e.toLowerCase();if(a1.indexOf("http:")===0||a1.indexOf("https:")===0){return true}if(a1.indexOf("javascript:")===0){if(i){D(i,"goal ELEMENT is LINK, but JAVASCRIPT, href=",a2)}return false}if(a1.indexOf("mailto:")===0){if(i){D(i,"goal ELEMENT is LINK, but MAILTO, href=",a2)}return false}var a0=a1.indexOf(":"),q=a1.indexOf("/");if(a0!==-1&&(q===-1||a0")}var aR=aW[b]=function(){Q.push(arguments);if(v[arguments[0]]!==undefined){return v[arguments[0]](arguments)}throw P(arguments,0,"is unknown")};var ar=aW[b+"ByArray"]=function(e){return aR.apply(aR,e)};if(Object.defineProperty&&Object.getOwnPropertyDescriptor&&Object.getOwnPropertyDescriptor(Element.prototype,"textContent")&&!Object.getOwnPropertyDescriptor(Element.prototype,"textContent").get){(function(){var e=Object.getOwnPropertyDescriptor(Element.prototype,"innerText");Object.defineProperty(Element.prototype,"textContent",{get:function(){return e.get.call(this)},set:function(i){return e.set.call(this,i)}})})()}function C(e){aW.alert(e)}function V(){C(JSON.stringify(Array.prototype.concat.apply([],arguments)))}var au=(function(){var e,a0,q;function i(a2,a1){e=a2;a0=a1!=null?a1:{};q=new Date().getTime()}i.prototype.getType=function(){return e};i.prototype.getParams=function(){return a0};i.prototype.getTime=function(){return q};i.prototype.toString=function(){return"tAbtEvent[type="+this.type+"params="+(JSON.stringify(this.mParams))+"]"};return i})();function B(){this.__CLASS__="tAbtOnEventThread";this._aList=[];this._listLen=0;this._repeat_mCurrentSettings=null;this._mCalls={change:function(i,e){if(e[0].nodeName==="INPUT"){if(e.attr("type")==="checkbox"){return e.prop("checked")}}return e.val()},"change:hasClass":function(i,e){return e.hasClass(i[3][0])},click:function(q,e){var i=parseInt(e.attr("abt-on-click")?e.attr("abt-on-click"):0)+1;e.attr("abt-on-click",i);return i},}}B.prototype.start=function(i){var e=this;this._repeat_mCurrentSettings=aR("repeat","runDelay",100000000,100,function(a1,a0,q){e.run()});return this};B.prototype.run=function(){var q=this;var a1=[];for(var a0=0;a0a1.expires){delete x[a5];return undefined}q=a1.value;if(!G(q)){if(a7[2]){q=aR("parseQuery",q)}}if(a7[2]&&a7[2]!==true){q=q[a7[2]]||undefined}return q}if(aj[1].storage.type[0]==="c"){var a0=a7[1]+"=";var a2=aZ.cookie.split(";");for(var a3=0;a3>3;return a0}throw P(a2,1,"is unknown")},uniqueId:function(i){var a2=i[1],q=i[2],e=i[3];if(G(a2)){a2="acquire";q=i[1];e=i[2]}function a1(a3){var a4="abt-unique-id";var a5=a3.data(a4);if(!a5){while(true){a5=aR("rnd","unif",100000,999999);if(aH[a5]===undefined){break}}aH[a5]={$el:a3,id:a5,uniqueId:a5,htmlId:a3.attr("id"),};a3.data(a4,a5);a3.attr("data-"+a4,a5)}aH[a5].htmlId=a3.attr("id");return aH[a5]}if(a2==="acquire"){var a0=[];q.each(function(a4){var a3=aD(this);a0.push(a1(a3))});return a0}if(a2==="get"){return Object.keys(aH)}if(a2==="aIds"){return Object.keys(aH)}if(a2==="list"){return aH}throw P(i,1,"is unknown")},localStorage:function(i){var a2=i[1],q=i[2],a1=i[3];if(!av){return}function a0(a3){return b+"."+a3}if(a2==="get"){var e=x.getItem(a0(q));if(e===null){return a1}return JSON.parse(e)}if(a2==="set"){x.setItem(a0(q),JSON.stringify(a1));return}throw P(i,1,"is unknown")},nextTime:function(a3){var e=a3[1];if(!av){return}var a1=b+".aNextTime";var q=JSON.parse(x.getItem(a1)||"[]");function a2(a7,a8){var a6=JSON.stringify(a8);x.setItem(a7,a6);return a6}function a4(){return a2(a1,[])}var i=[{},{},{"goal,track":function(a6,a7){if(a7[2]===undefined){a7[2]={}}if(a7[2]["url"]===undefined){a7[2]["url"]=a6.mMeta.url}return a7}}];function a5(a7,ba){var a9,bb=i.length,a6=ba;for(var a8=0;a8");e.css("display","none");aD("body").append(e);for(var bb=0;bb<100000;bb++){a1*=a1}e.text(a1)}if(a9.alert){var bh=a9.alert;if(bh===true){bh=JSON.stringify({aData:aS,args:q})}C(bh)}}var a7={key:bc,url:bg,aData:aS,execute:a2,args:q};aR("callback","run","goal.track",a7);an.push(a7);aS=[];E={};return}throw P(q,1,"is unknown")},callback:function(a4){var e=a4[1],a5=a4[2];var a7,a2,a3,a1,a6,q,i;var a0={debug:function(){if(a5===undefined){cinfo(h);return h}cinfo(h[a5]);return h[a5]},add:function(){var a8=a4[3],a9=a4[4];if(!d(a8)){a8=[undefined,a8]}if(h[a5]===undefined){h[a5]=[]}h[a5].push({key:a8[0],callable:a8[1],defaultParams:a9||{}})},run:function(){if(h[a5]===undefined){return}var bb=a4[3]||{},a8=a4[4]||this;var a9=h[a5],bc=[];for(a3=a1=0,a6=a9.length;a1").text(e).attr("style",A[a1]).css({fontSize:9,position:"absolute",padding:"1px 2px",borderRadius:3,lineHeight:1.25,}));return a0},"dom:closest":function aC(i){var a0=i[1],a1=i[2],e=i[3];if(!a0.length){cinfo("dom:log ... $el dont exists, $el=",a0);return}if(e===undefined){e=5}var q=0;while(a0.length>0){if(a0.is(a1)){return a0}if(q++>=e){break}a0=a0.parent()}return null},"dom:moveToLast":function(a0){var a1=a0[1],q=a0[2];var a3=aD(a1),i=aD(q),a2=a3.children();var e=a2.index(i);if(e===-1){throw P(a0,3,"is not child of parent")}if(e!==a2.length-1){a3.append(i)}return true},"dom:clone":function(a0){var a2=a0[1],i=a0[2],e=a0[3],q=a0[4];if(i===undefined){i=false}if(e===undefined){e=true}if(i){throw P(a0,2,"is unsupported now")}var a4=null,a3;if(a2 instanceof HTMLElement){a4=a2;a3=1}else{if(ag(a2)){a4=a2[0];a3=2}else{throw P(a0,1,"is nor HTMLElement or jQuery instance")}}var a1=a4.cloneNode(true);a4.parentNode.replaceChild(a1,a4);if(a3==1){return a1}if(a3==2){return aD(a1)}throw P(a0,0,"unpossible determinate return type")},"dom:swap":function(a2){var a0=a2[1],q=a2[2],a1=a2[3];var e=aD(a0),a3=aD(q);var i=aD("").insertAfter(e);e.insertAfter(a3);a3.insertBefore(i);i.remove()},"dom:on":function(a3){var a7=a3[1],a2=a3[2],q=a3[3],a6=a3[4],i=a3[5];var a4;var a0="default";if(ap[a0]===undefined){ap[a0]=new B().start()}AbtOnEventThread=ap[a0];if(aG(q)){a6=q;q=a2;a2=null}console.log("callback",a6);console.log("selector",q);console.log("$wrapper",a2);var e=a7.split(" ");var a1=[/^click$/m,/^change$/m,/^(change)(\:hasClass)\((\'.+\'\,? *)+\)$/m,];var a5=a1.length;aD.each(e,function(ba,bf){var be=null;for(var bc=0;bc
=0){a6.callback(this,a6.key,a6);a6.howManyTimesCall++}}var a4="repeat_"+aR("rnd","unif",100000,999999);var e;j[a4]=e={timer:-1,key:a4,howManyTimesYet:0,howManyTimesCall:0,howManyTimesTotal:a0,intervalInMs:a2,callback:a5,args:i,stop:function(){aW.clearInterval(e.timer);e.timer=0}};if(q==="run"){a1(e,false);if(e.timer===-1){e.timer=aW.setInterval(function(){a1(e,true)},a2)}return e}if(q==="runDelay"){e.timer=aW.setInterval(function(){a1(e,true)},a2);return e}throw P(a3,1,"is unknown")},heartbeat:function(a2){var a1=a2[1],a6=a2[2];var q;function a5(ba){var bb="heartbeat_callback_"+Math.floor(Math.random()*100000);aR[bb]=function(bf){console.log("heartbeat.execute["+bb+"] fired t+"+(new Date().getTime()-q)+"ms");if(bf.status||bf.status===undefined){console.warn("heartbeat.execute["+bb+"] result ERROR status = "+JSON.stringify(bf.status))}else{console.info("heartbeat.execute["+bb+"] result OK status = "+JSON.stringify(bf.status))}if(ba){ba(bf)}delete aR[bb]};console.log("heartbeat.execute["+bb+"] init");var bd={d:{rc:O.requestCounter,pwd:new Date().getTime()-O.startTime}};var a8=O.aData.length,bc,a7;for(var a9=0;a9120000){a7=10000}if(a9>30000){a7=5000}else{if(a9>10000){a7=2000}else{a7=1000}}console.info("heartbeat.planExecute next t+"+a7+"ms",a9);O.timer=window.setTimeout(function(){a5(function(){a3()})},a7)}if(a1==="start"){var i=new Date().getTime();O.startTime=i;if(aE.methodHeartbeatFirstStartExecution===null){aE.methodHeartbeatFirstStartExecution=i}if(O.pageViewId===null){if(av){var a0=x.getItem(aX);if(!a0){a0=Math.floor(10000*Math.random()+10000)}a0++;O.pageViewId=a0;x.setItem(aX,a0)}else{O.pageViewId=Math.floor(8999999*Math.random()+1000000)}}O.timer_clearTimeoutDelayed=false;a5(function(){a3()});return}if(a1==="beat"){a5(function(){});return}if(a1==="stop"){a4();return}if(a1==="data"){if(a6==="add"){var e=[];if(a2[3]){e.push(a2[3]);if(a2[4]){e.push(a2[4]);if(a2[5]){throw P(a2,5,"is not supported");e.push(a2[5])}}}else{throw P(a2,3,"is unknown")}O.aData.push(e);return}throw P(a2,2,"is unknown")}if(a1==="debug"){console.log("_ABT('heartbeat', 'debug') ... ",O);return}throw P(a2,1,"is unknown")},rl:function(a5,a3,a2,a0){var q={emergency:0,alert:1,critical:2,error:3,warning:4,notice:5,informational:6,debug:7,};var a1=null;if(w(a5)){if(a5<0){throw P(a0,1,"is less then zero")}else{if(a5>7){throw P(a0,1,"is more then seven")}}a1=a5}else{try{a5=a5.toLowerCase()}catch(a4){}if(q[a5]===undefined){throw P(a0,1,"is unknown, valid are ["+Object.keys(q).join(",")+"]")}a1=q[a5]}var i="["+a5+"] ["+(a2?a2:"null")+"]"+a3+"";if(a1<=2){console.warn(i)}else{if(a1<=4){console.warn(i)}else{if(a1<=6){console.info(i)}else{if(a1<=99){console.log(i)}}}}return},run:function(bu){console.info("%cIncrever RUN",J,bu);if(aE.methodRunFirstExecution===null){aE.methodRunFirstExecution=new Date().getTime()}var bc=aZ.getElementsByTagName("body")[0];if(bu[1]==="live"){if(bc.className.indexOf("_abt-run-state-live")!==-1){console.warn(P(bu,"1="," can be called only once! Current version ["+aW[aW._abtHandler]("version")+"] ERROR: 9002"));return}}if(bc.className.indexOf("_abt-run-state-"+bu[1])===-1){bc.className+=" _abt-run-state-"+bu[1]}function a5(){n=true;aR("action","js-execute","_abt_action_fce_static")}function bC(){if(n){return}a5()}function a8(e){var i={std:true,dev:true,};if(i[e]===undefined){throw"MODE = "+e+" IS NOT VALID"}ae=e;aD.each(i,function(q,bF){bc.className=bc.className.replace(new RegExp("\\s+_abt-run-mode-"+q+"(\\s+|$)"),"$1")});if(!Y()){bc.className+=" _abt-run-mode-"+ae}aR("setCookie","_abt_runMode",ae,365*24*60*60)}function br(q){var i={created:true,prepare:true,testing:true,live:true,"live-no-run":true,pause:true,ended:true,"static":true};var bF={live:true,};var e={created:true,prepare:true,testing:true,"live-no-run":true,pause:true,};if(i[q]===undefined){throw"STATE = "+q+" IS NOT VALID"}ab=q;am=bF[ab]!==undefined;ao=e[ab]!==undefined}cinfo(bu);aR("callback","run","run:call",{args:bu});if(bu[1]==="state"){var a0=bu[2],bt=bu[3];if(a0==="get"){return ab}if(a0==="set"){if(!bt){throw P(bu,3,"is unknown")}try{br(bt)}catch(bB){throw P(bu,3,"is not valid")}return ab}throw P(bu,2,"is unknown")}if(bu[1]==="mode"){var a0=bu[2],bt=bu[3];if(a0==="get"){return ae}if(a0==="set"){if(!bt){throw P(bu,3,"is unknown")}try{a8(bt)}catch(bB){console.error(bB);throw P(bu,3,"is not valid")}return ae}throw P(bu,2,"is unknown")}if(bu[1]==="isStateLive"||bu[1]==="isLive"){return aw()}if(bu[1]==="isModeDev"||bu[1]==="isDev"){return F()}if(bu[1]==="group"||bu[1]==="group.loader"){aR("callback","run","run:begin",{args:bu});aR("callback","run","run.group:begin",{args:bu});if(bu[1]==="group"){bC()}var bn,bk,bp,bD={};var bE=bu[2]||[];if(!d(bE)){bE=[bE]}bn=bE.length;for(var bz=0;bz=bd){console.info("_abt incorrectly loaded configuration, cancaling configuration and STOP PAGE SETUP",bq,bd);aR("delCookie","_abt_uid");aR("delCookie","_abt_co");aR("delCookie","_abt_sl");aR("delCookie","_abt_t");aR("callback","run","run:delCookie",{args:bu});return}bC();if(bb){var a4=aR("getCookie","_abt_uid")||"";var bh=f+"/v1b.userUpdate.php?&c="+s+"&uid="+a4+"&jsHandler="+b+"&"+aD.param({co:bg});aR("loadJs",bh+"&_="+Math.random(),true)}var a2=0,be=0;aD.each(bg,function(i,e){be++;var q=i+"-"+e;aZ.body.className+=" _abt-option-"+q;if(aW._abt_p[q]===undefined){a2++;return}aW._abt_p[q]()});if(a2===be){aR("delCookie","_abt_uid");aR("delCookie","_abt_co");aR("delCookie","_abt_sl");aR("delCookie","_abt_t");aR("callback","run","run:delCookie",{args:bu})}aR("callback","run","run.live:end",{args:bu});aR("callback","run","run:end",{args:bu})}},stat:function(e){var a1=e[1],q=e[2],i=e[3];var a0={debug:function(){cinfo(aQ);return aQ},add:function(){if(aQ[q]===undefined){aQ[q]={}}if(aQ[q][i]!==undefined){throw P(e,3,"key is already defined")}var a2=e[4]||{};aQ[q][i]={meta:{group:q,key:i,created:new Date().getTime()},value:a2};return aQ[q][i].value},get:function(){if(aQ[q]===undefined){throw P(e,2,"group is not defined")}if(aQ[q][i]===undefined){throw P(e,3,"key is not defined")}return aQ[q][i].value},remove:function(){if(aQ[q]===undefined){throw P(e,2,"group is not defined")}if(i===undefined){delete aQ[q];return true}if(aQ[q][i]===undefined){throw P(e,3,"key is not defined")}delete aQ[q][i];return true}};if(a0[a1]===undefined){throw P(e,1,"is unknown")}return a0[a1]()},getLastReferrer:function(i){try{var q=Z(function(e){return e.getItem(z)});return q}catch(a0){throw P(i,-1,a0)}},action:function(e){var i={"css-raw":function(q){return aR("addCss",q[2],q[3])},"css-element":function(a0){var a3=a0[3],q=a3.length,a2,a5,a1;if(a0[2].indexOf(":hover")!==-1){var a4="";for(a2=0;a2=0,a3;if(a4){a1.filter(q).each(function(){a3=aD(this);a3.val(a2.split(r).join(a3.val()||""))});a1.not(q).each(function(){this.innerHTML=a2.split(r).join(this.innerHTML||"")})}else{a1.filter(q).val(a2);a1.not(q).html(a2)}a1.addClass("_abt-action-content-element");a1.addClass("_abt-change")},"url-element":function(a7){var q=a7[2],a4,a6,bd;var a2=window._abt_jQuery;var ba=a2(q);if(!ba.length){return false}ba=ba.eq(0);switch(ba[0].nodeName){case"A":a6="href";break;case"FORM":a6="action";break;case"IMG":case"IFRAME":a6="src";break;default:throw"Zdrojový element neznámý"}ba.addClass("_abt-action-url-element");ba.addClass("_abt-change");var bb=aR("parseUrl",ba.attr(a6));var a9={};var a5=aW._abt_f[a7[3]];for(var a3,a1=0,bc=a5.length;a1=0;--a6){a7.attributes.setNamedItem(a5.attributes[a6].cloneNode())}a5.parentNode.insertBefore(a7,a5);a5.parentNode.removeChild(a5);if(a8&&!a9){a7.innerHTML=a4}else{if(!a8&&a9){a7.value=a4}}a7.className+=" _abt-change _abt-action-tag-change-element _abt-action-tag-change-element-tagName _abt-action-tag-change-element-tagName-from-"+this.tagName+" _abt-action-tag-change-element-tagName-to-"+a7.tagName;a3.push(a7)});return aD(a3)},"tag-change-element:attr":function(a0){var a2=a0[2],a1=a0[3];var q=a2.attr(a1.attr);a2.attr(a1.attr,a1.value.split(r).join(q));return a2},"tag-change-element:content":function(q){var a1=q[2],a0=q[3];if(a1.is("input")){return i["tag-change-element:value"](q)}else{return i["tag-change-element:html"](q)}},"tag-change-element:html":function(q){var a1=q[2],a0=q[3];a1.html(a0.value.split(r).join(a1.html()));return a1},"tag-change-element:value":function(q){var a1=q[2],a0=q[3];a1.val(a0.value.split(r).join(a1.val()));return a1},"tag-change-element:textContent":function(a3){function a6(bh,bi){bh.textContent=bi}function a1(bk,bj){var bi=bk.length;for(var bh=0;bh1||ba.length===1&&ba[0][0]==="["){ba[0]=ba[0].substring(1);ba[bc-1]=ba[bc-1].substring(0,ba[bc-1].length-1)}for(var a9=0;a91){q[1]=aD.trim(q[1]);if(!w(q[1])){throw P(a0,3," setCaret.settings: positionEnd is not a number")}}}a2.each(function(){aR("setCaret",this,q[0],q[1])});a2.addClass("_abt-change _abt-action-tag-change-element _abt-action-tag-change-element-setCaret");return a2},end:undefined};if(i[e[1]]===undefined){throw P(e,1," type of action is unknown")}return i[e[1]](e)}};cinfo("INIT",aR("version"),"co",K,"|",aj);var t=aj[1].cookieLifetime;if(!t){t=0}t=parseInt(t);if(t<0){t=0}t=t||604800;if(aj[1].source!=true&&ax){if(aR("getCookie","_abt_uid")!=ax){aR("delCookie","_abt_uid");aR("setCookie","_abt_uid",ax,t)}}if(aj[1].source!=true&&K){if(aR("getCookie","_abt_co")!=K){K=aB(K);aR("delCookie","_abt_co");aR("setCookie","_abt_co",K,t)}}aW[b].t=new Date().getTime();var m,aP;function aI(){Z(false,function(q){if(q.getItem(z)===null){q.setItem(z,"")}});var e,i;if(aZ.referrer){m=aR("parseUrl",aZ.referrer);e=m.host.split(/^www\./).join("")}aP=aR("parseUrl",location.href);i=aP.host.split(/^www\./).join("");if(e==i){return}if(aZ.referrer){Z(false,function(q){q.setItem(z,aZ.referrer)})}}aI();function p(a0,e){var a1,a2,q=e.length;for(a1=0;a1 is undefined, waiting...")}}else{if(_isConsole){console.info("ABT:_abtLoader:prepare ... call")}_abtLoader(_window,_document);_abtLoader=null};
// --
var _ABT_DEBUG = false;
(function (_window, _performance) {
if (!_performance) return;
var _timeDiffFromBegining = _performance.timing.domLoading - _performance.timing.navigationStart
_window['_abt_timeFromDomLoading'] = function () {
return performance.now() - _timeDiffFromBegining;
};
var _timeDiffFromBegining2 = _performance.timing.domInteractive - _performance.timing.navigationStart
function _setup(_step) {
if (_ABT_DEBUG) {
console.log('_abt_performance>_setup', _step);
}
_window['_abt_timeFromDomInteractive'] = function () {
return performance.now() - _timeDiffFromBegining2;
};
if (_ABT_DEBUG) {
console.log('_abt_performance>_abt_timeFromDomLoading', _abt_timeFromDomLoading(), _performance.now());
console.log('_abt_performance>_abt_timeFromDomInteractive', _abt_timeFromDomInteractive(), _performance.now());
}
};
_setup('raw');
document.addEventListener('readystatechange', function() {
if (_ABT_DEBUG) {
console.info('_abt_performance>document.readyState', document.readyState, _performance.now());
}
if (document.readyState === 'interactive') {
_setup('interactive');
}
});
})(window, performance);
function bindReady(handler, callbackOnReady){
if (_ABT_DEBUG) {
console.warn('bindReady');
}
var called = false;
function ready(_helperWhen_3) {
if (_ABT_DEBUG) {
console.info('->ready', _helperWhen_3);
console.log('->_abt_timeFromDomLoading', _abt_timeFromDomLoading(), performance.now());
console.log('->_abt_timeFromDomInteractive', _abt_timeFromDomInteractive(), performance.now());
}
/*console.trace();*/
if (called) {
if (_ABT_DEBUG) {
console.info('-->cancel', _helperWhen_3);
}
return;
}
called = true;
handler(_helperWhen_3);
callbackOnReady(_helperWhen_3);
}
if (document.readyState == "interactive") { // Nebere FF
if (_ABT_DEBUG) {
console.warn('I');
}
ready('document.readyState='+document.readyState);
return ;
}
if (document.readyState == "complete" || document.readyState == "loaded") {
if (_ABT_DEBUG) {
console.warn('G');
}
ready('document.readyState='+document.readyState);
return ;
}
if ( document.addEventListener ) {
if (_ABT_DEBUG) {
console.warn('A0');
}
/* @see https://developer.mozilla.org/en-US/docs/Web/API/Document/readyState */
document.addEventListener('readystatechange', function() {
if (_ABT_DEBUG) {
console.info('document.readyState', document.readyState);
}
if (document.readyState === 'interactive') {
if (_ABT_DEBUG) {
console.warn('H', performance.now());
}
ready('document.readyState is interactive');
}
});
document.addEventListener( "DOMContentLoaded", function(){
if (_ABT_DEBUG) {
console.warn('F', performance.now());
}
ready('DOMContentLoaded');
}, false );
}
else if ( document.attachEvent ) {
if (_ABT_DEBUG) {
console.warn('A1');
}
if ( document.documentElement.doScroll && window == window.top ) {
function tryScroll(){
if (called) return
if (!document.body) return
try {
document.documentElement.doScroll("left");
if (_ABT_DEBUG) {
console.warn('E');
}
ready('tryScroll');
} catch(e) {
setTimeout(tryScroll, 0)
}
}
tryScroll()
}
document.attachEvent("onreadystatechange", function(){
if ( document.readyState === "complete" ) {
if (_ABT_DEBUG) {
console.warn('D');
}
ready('onreadystatechange & document.readyState = '+document.readyState);
}
})
}
if (window.addEventListener) {
if (_ABT_DEBUG) {
console.warn('A2');
}
window.addEventListener('load', ready, false);
}
else if (window.attachEvent) {
if (_ABT_DEBUG) {
console.warn('A3');
}
window.attachEvent('onload', ready);
}
else { // use this 'else' statement for very old browsers :)
if (_ABT_DEBUG) {
console.warn('A4');
}
window.onload=ready;
}
}
readyList = []
function onReady(handler) {
if (_ABT_DEBUG) {
console.warn('onReady');
}
var isCalled = false;
var calledBy = null;
if (!readyList.length) {
bindReady(function(_helperWhen_2) {
for(var i=0; i