PageSourceSearch

https://hatzunginsurance.com/files/cache/themes/paperclip-plus/nav-resize.min.js?v=1791358295

js hatzunginsurance.com collected 2026-10-08 01:17:00 UTC 2,085 bytes, 8 lines download raw bytes

1function getWindowWidth(){var windowWidth=0;if(typeof(window.innerWidth)==='number'){windowWidth=window.innerWidth}else{if(document.documentElement&&document.documentElement.clientWidth){windowWidth=document.documentElement.clientWidth}else{if(document.body&&document.body.clientWidth){windowWidth=document.body.clientWidth}}}
2return windowWidth}
3function addNavClasses(){$('#navigation>ul').addClass('nav navbar-nav');$('#navigation>ul>li').has('ul').addClass('dropdown');$('#navigation>ul>li>ul').addClass('dropdown-menu');$('#navigation>ul>li>ul>li').has('ul').addClass('dropdown-submenu');$('#navigation>ul>li>ul>li>ul').addClass('dropdown-menu');$('#navigation>ul>.dropdown>a').addClass('dropdown-toggle');$('#navigation>ul>.dropdown>a').attr('data-toggle','dropdown')}
4function addWrapperPadding(){if(getWindowWidth()<768){var navHeight=$('.navbar-fixed-top').height()}else{var navHeight=$('.navbar-fixed-top').height();navHeight=navHeight+31}}
5function resizeNav(){if(getWindowWidth()>767){$('#navigation > ul > li > a').each(function(){var p=$(this).parent();var morebuttonsize=115;var sum=morebuttonsize;while($(p).html()){sum+=$(p).find('a').outerWidth(!0)+2;p=$(p).prev()}
6$('#nav-more').remove();if($(this).closest('#navigation ul').width()<sum){$(this).parent().addClass('nav-hidden')}else{$(this).parent().removeClass('nav-hidden')}});$('.nav-hidden:eq(0)').before('<li id="nav-more"><a href="#">More...</a><ul id="more-menu"></ul></li>');$('.nav-hidden').each(function(){$('#more-menu').append('<li>'+$(this).html()+'</li>')});$('.navbar-brand').css('display','block');addNavClasses()}else{$('.nav-hidden').removeClass('nav-hidden');$('#nav-more').remove();$('#navigation>ul').css('width','');if(($('.navbar-brand').width()+$('#company-info').width()+75)>($('.navbar > .container').width())){$('.navbar-brand').css('display','none')}else{$('.navbar-brand').css('display','block')}}
7$('#navigation').css('visibility','visible')}
8$(document).ready(function(){addNavClasses();resizeNav();addWrapperPadding()});$(window).resize(resizeNav);$(window).resize(addWrapperPadding)

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.