1(()=>{const e=document.querySelectorAll(".coblocks-animate");if("IntersectionObserver"in window){const t=new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting&&(e.target.classList.add(e.target.dataset.coblocksAnimation),t.unobserve(e.target))}))}),{threshold:[.15]});e.forEach((e=>{t.observe(e)}))}else e.forEach((e=>{e.classList.remove("coblocks-animate"),delete e.dataset.coblocksAnimation}))})();; 2jQuery( document ).ready( function( $ ) { 3 4 /** 5 * Enables menu toggle for small screens 6 */ 7 ( function() { 8 var nav = $( '.main-navigation' ), button, menu; 9 if ( ! nav ) { 10 return; 11 } 12 13 button = nav.find( '.menu-toggle' ); 14 if ( ! button ) { 15 return; 16 } 17 18 // Hide button if menu is missing or empty. 19 menu = nav.find( '.menu' ); 20 if ( ! menu || ! menu.children().length ) { 21 button.hide(); 22 return; 23 } 24 25 button.on( 'click.snaps', function() { 26 nav.toggleClass( 'toggled-on' ); 27 $( this ).toggleClass( "active" ); 28 $( ".site-navigation" ).toggleClass( "open-menu" ); 29 } ); 30 31 // Fix sub-menus for touch devices. 32 if ( 'ontouchstart' in window ) { 33 34 menu.find( '.menu-item-has-children > a' ).on( 'touchstart.snaps', function( e ) { 35 var el = $( this ).parent( 'li' ); 36 37 if ( ! el.hasClass( 'focus' ) ) { 38 e.preventDefault(); 39 el.toggleClass( 'focus' ); 40 el.siblings( '.focus' ).removeClass( 'focus' ); 41 } 42 } ); 43 } 44 45 // Better focus for hidden submenu items for accessibility. 46 menu.find( 'a' ).on( 'focus.snaps blur.snaps', function() { 47 $( this ).parents( '.menu-item, .page_item' ).toggleClass( 'focus' ); 48 } ); 49 50 } )(); 51 52 53 /** 54 * Makes "skip to content" link work correctly in IE9 and Chrome for better accessibility 55 * @link http://www.nczonline.net/blog/2013/01/15/fixing-skip-to-content-links/ 56 */ 57 $( window ).on( 'hashchange.snaps', function() { 58 var hash = location.hash.substring( 1 ), element; 59 if ( ! hash ) { 60 return; 61 } 62 element = document.getElementById( hash ); 63 if ( element ) { 64 if ( ! /^(?:a|select|input|button|textarea)$/i.test( element.tagName ) ) { 65 element.tabIndex = -1; 66 } 67 element.focus(); 68 // Repositions the window on jump-to-anchor to account for header height. 69 window.scrollBy( 0, 0 ); 70 } 71 } ); 72 73 74 /** 75 * Fixes 'hover' behavior on posts so titles will display on tough devices 76 */ 77 if ( 'ontouchstart' in window ) { 78 var posts = $('#projects'); 79 posts.find( '.jetpack-portfolio a.block-link' ).on( 'touchstart.snaps', function( e ) { 80 81 var el = $( this ).closest( '.jetpack-portfolio' ); 82 83 if ( ! el.hasClass( 'highlight' ) ) { 84 e.preventDefault(); 85 el.toggleClass( 'highlight' ); 86 el.siblings( '.highlight' ).removeClass( 'highlight' ); 87 } 88 } ); 89 } 90 91 /** 92 * Triggers resize event to make sure video widgets in the footer maintain the correct aspect ratio 93 */ 94 $( window ).on( 'load', function() { 95 setTimeout( function(){ 96 if ( typeof( Event ) === 'function' ) { 97 window.dispatchEvent( new Event( 'resize' ) ); 98 } else { 99 var event = window.document.createEvent( 'UIEvents' ); 100 event.initUIEvent( 'resize', true, false, window, 0 ); 101 window.dispatchEvent( event ); 102 } 103 } ); 104 } ); 105 106} ); 107; 108!function(e){var n=function(){var e,n,t,d;"undefined"!=typeof FB&&FB.XFBML?FB.XFBML.parse():((e=document.createElement("div")).id="fb-root",document.getElementsByTagName("body")[0].appendChild(e),n="//connect.facebook.net/"+jpfbembed.locale+"/sdk.js#xfbml=1",jpfbembed.appid&&(n+="&appId="+jpfbembed.appid),n+="&version=v2.3",(t=document.createElement("script")).setAttribute("src",n),(d=document.querySelector("script")).parentNode.insertBefore(t,d))};e.fbAsyncInit=function(){FB.init({appId:jpfbembed.appid,version:"v2.3"}),FB.XFBML.parse()},"undefined"!=typeof infiniteScroll&&document.body.addEventListener("post-load",n),n()}(window);;
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.