1require(['jquery','mage/tooltip'],function($){function removeAccessibilityDivs(){$('.ui-helper-hidden-accessible').remove();} 2$('.switcher-store .brand-logo').each(function(index,element){$(element).tooltip({items:'.switcher-store .brand-logo',tooltipClass:'ui-brand-tooltip',disabled:false,track:false,show:{delay:500,duration:500},content:function(){return $(element).siblings('.brand-tooltip').html();},position:{my:"center top+10",at:"center bottom",collision:"fit",of:element,using:function(position,feedback){$(this).css(position);var arrow=$("<div>").addClass("ui-tooltip-arrow");arrow.css('left',(feedback.target.left-feedback.element.left+(feedback.target.width/2))+'px');arrow.appendTo(this);}},hide:{effect:""},open:function(event,ui){removeAccessibilityDivs();},close:function(event,ui){ui.tooltip.on("click",function(){$(this).hide();});ui.tooltip.on('mouseenter.brandtooltip',function(){$(this).stop(true).fadeTo(500,1);}).on('mouseleave.brandtooltip',function(){$(this).fadeOut("500",function(){$(this).remove();})});setTimeout(removeAccessibilityDivs,50);}});});});
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.