PageSourceSearch

https://www.matl-bula.cz/shared/imgs_system/ferda-mravenec/functions.js

js matl-bula.cz collected 2026-10-08 07:25:09 UTC 7,973 bytes, 1 lines download raw bytes

1function detectmob(){return window.innerWidth<=600||window.mobilecheck()}function handleTimeoutClose(t){clearTimeout(interval[t]),handlers[t].fadeOut(speed,function(){setInfo($(this).data("id"),"expired")})}function setInfo(t,i,e){window.opti&&("expired"==i||e===!0?window.opti._trackEvent("marketing_banners",i,""+t,null,!0):window.opti._trackEvent("marketing_banners",i,""+t));try{$cookie=$.cookie("marketing_banners"),$cookie=JSON.parse($cookie),$cookie||($cookie={})}catch(o){$cookie={}}$cookie[t]={status:i,timestamp:Math.round(+new Date/1e3)},$.cookie("marketing_banners",JSON.stringify($cookie),{expires:30})}!function(t,i,e){function o(o,a){function n(i){t(s).each(function(){var e=t(this);this===i.target||e.has(i.target).length||e.triggerHandler(a,[i.target])})}a=a||o+e;var s=t(),c=o+"."+a+"-special-event";t.event.special[a]={setup:function(){s=s.add(this),1===s.length&&t(i).bind(c,n)},teardown:function(){s=s.not(this),0===s.length&&t(i).unbind(c)},add:function(t){var i=t.handler;t.handler=function(t,e){t.target=e,i.apply(this,arguments)}}}}t.map("click dblclick mousemove mousedown mouseup mouseover mouseout change select submit keydown keypress keyup".split(" "),function(t){o(t)}),o("focusin","focus"+e),o("focusout","blur"+e),t.addOutsideEvent=o}(jQuery,document,"outside");var speed=550,zajizdejici=2,hide=90,interval={},handlers={},blockingActive=!1;window.mobilecheck=function(){var t=!1;return function(i){(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(i)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(i.substr(0,4)))&&(t=!0)}(navigator.userAgent||navigator.vendor||window.opera),t},$(window).on("ready load resize",function(t){if(detectmob())return void $("#mb").hide();$("#mb").show();var i=$(".mb-blocking");i.each(function(){var t=$(this);t.outerHeight()>$(window).height()&&(bannerHeight=$(window).height()-(t.outerHeight()-t.height())-15,t.height(bannerHeight)),t.css("margin-top","-"+t.outerHeight()/2+"px").css("margin-right","-"+t.outerWidth()/2+"px");var i=t.position().top+parseFloat(t.css("margin-top"));5>i&&t.css("margin-top",parseFloat(t.css("margin-top"))-i+10)})}),$(function(){function t(){$(".mb-notification").each(function(){setInfo($(this).closest(".mb-notification").data("id"),"rendered")})}function i(){$(".mb-notification").fadeIn(speed),t(),e()}function e(){$(".mb-notification[data-time]").each(function(){$(this).data("time")>1&&(interval[$(this).data("id")]=setTimeout("handleTimeoutClose('"+$(this).data("id")+"')",1e3*$(this).data("time")),handlers[$(this).data("id")]=$(this))})}function o(t,i){setInfo(i,"clicked"),"_blank"!==t.attr("target")?window.location.href=t.attr("href"):window.open(t.attr("href"))}function a(t,i){setInfo(t,"closed",i)}if(detectmob())return void $("#mb").hide();$("#mb").show(),$("#mb-form").ajaxForm({url:"marketing-banners.html",type:"post",dataType:"json",success:function(t){t.status?($("#mb-form").hide(),$("#mb-status").removeClass("mb-failed").addClass("mb-success").show().html(t.message)):($("#mb-status").removeClass("mb-success").addClass("mb-failed").show().html(t.message),$("#mb-btn-email").val($("#mb-form").data("btn-repeat")))},error:function(t){},beforeSubmit:function(){if($("#mb-btn-email").val($("#mb-form").data("btn-process")),window.opti){var t=$("#mb-form").closest(".mb-blocking").attr("data-id");window.opti._trackEvent("marketing_banners","submit-form",""+t)}}}
1),$(".mb-blocking").is(":visible")?(blockingActive=!0,$(".mb-notification").hide(),$(".mb-blocking").load(function(){$(this).css({"margin-top":-($(".mb-blocking").height()+110)/2+30})}),setInfo($(".mb-blocking").data("id"),"rendered")):(t(),e()),$(".mb-notification .mb-close").click(function(t){t.stopPropagation(),notifikace=$(this).parent(".mb-notification"),notifikace.data("close")==zajizdejici?(width=notifikace.outerWidth()/100*hide,umisteni=notifikace.parent(".mb-location"),umisteni.hasClass("mb-top-left")||umisteni.hasClass("mb-bottom-left")?notifikace.animate({opacity:.7,left:"-="+width},speed).find("a.mb-close").hide(speed):notifikace.animate({opacity:.7,right:"-="+width},speed).find("a.mb-close").hide(speed),notifikace.addClass("mb-docked").addClass("mb-docked-now")):$(this).parent(".mb-notification").fadeOut(speed),a($(this).closest(".mb-notification").data("id"))}),$(".mb-notification").hoverIntent(function(){$(this).hasClass("mb-docked")&&(width=$(this).outerWidth()/100*hide,umisteni=$(this).parent(".mb-location"),umisteni.hasClass("mb-top-left")||umisteni.hasClass("mb-bottom-left")?$(this).animate({opacity:1,left:"+="+width},speed):$(this).animate({opacity:1,right:"+="+width},speed),$(this).removeClass("mb-docked").addClass("mb-undocked"))},function(){$(this).hasClass("mb-undocked")&&(width=$(this).outerWidth()/100*hide,umisteni=$(this).parent(".mb-location"),umisteni.hasClass("mb-top-left")||umisteni.hasClass("mb-bottom-left")?$(this).animate({opacity:.7,left:"-="+width},speed):$(this).animate({opacity:.7,right:"-="+width},speed),$(this).removeClass("mb-undocked").addClass("mb-docked"))});var n=$(".mb-blocking .mb-close");n.click(function(t){blockingActive=!1,t.stopPropagation(),$(".mb-center").fadeTo(speed,0,function(){$(this).hide(),i()}),a($(this).closest(".mb-blocking").data("id"),!0)}),$(document).keyup(function(t){27==t.keyCode&&1==blockingActive&&n.trigger("click")}),$(".mb-blocking").bind("clickoutside",function(){1==blockingActive&&n.trigger("click")}),$(".mb-bottom .mb-close").click(function(t){t.stopPropagation(),$(".mb-bottom").animate({bottom:"-100%"},1.3*speed),a($(this).closest(".mb-strip").data("id"))}),$(".mb-link").click(function(){setInfo($(this).data("id"),"clicked"),$(this).data("link")&&$(this).data("target")&&1==$(this).data("target")?window.open($(this).data("link")):$(this).data("link")&&(window.location.href=$(this).data("link"))}),$('.mb-blocking a[class!="mb-close"]').click(function(t){t.stopPropagation(),t.preventDefault(),source=$(this).closest(".mb-blocking"),o($(this),source.data("id"))}),$('.mb-notification a[class!="mb-close"]').click(function(t){t.stopPropagation(),t.preventDefault(),source=$(this).closest(".mb-notification"),o($(this),source.data("id"))})});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.