1jQuery(document).ready(function(a){"undefined"!=typeof dataLayer&&"undefined"!=typeof ga&&"undefined"!=typeof mashsb?ga(function(){var b=ga.getAll()[0].get("name");a(".mashicon-facebook").click(function(){ga(b+".send","event",{eventCategory:"Social Shares",eventAction:"Facebook",eventLabel:"Facebook",eventValue:0})}),a(".mashicon-twitter").click(function(){ga(b+".send","event",{eventCategory:"Social Shares",eventAction:"Twitter",eventLabel:"Twitter",eventValue:0})}),a(".mashicon-subscribe").click(function(){ga(b+".send","event",{eventCategory:"Social Shares",eventAction:"Subscribe",eventLabel:"Subscribe",eventValue:0})}),a(".mashicon-google").click(function(){ga(b+".send","event",{eventCategory:"Social Shares",eventAction:"Google +",eventLabel:"Google +",eventValue:0})}),a(".mashicon-whatsapp").click(function(){ga(b+".send","event",{eventCategory:"Social Shares",eventAction:"Whatsapp",eventLabel:"Whatsapp",eventValue:0})}),a(".mashicon-buffer").click(function(){ga(b+".send","event",{eventCategory:"Social Shares",eventAction:"Buffer",eventLabel:"Buffer",eventValue:0})}),a(".mashicon-pinterest").click(function(){ga(b+".send","event",{eventCategory:"Social Shares",eventAction:"Pinterest",eventLabel:"Pinterest",eventValue:0})}),a(".mashicon-linkedin").click(function(){ga(b+".send","event",{eventCategory:"Social Shares",eventAction:"linkedin",eventLabel:"linkedin",eventValue:0})}),a(".mashicon-digg").click(function(){ga(b+".send","event",{eventCategory:"Social Shares",eventAction:"Digg",eventLabel:"Digg",eventValue:0})}),a(".mashicon-vk").click(function(){ga(b+".send","event",{eventCategory:"Social Shares",eventAction:"VK",eventLabel:"VK",eventValue:0})}),a(".mashicon-print").click(function(){ga(b+".send","event",{eventCategory:"Social Shares",eventAction:"Print",eventLabel:"Print",eventValue:0})}),a(".mashicon-reddit").click(function(){ga(b+".send","event",{eventCategory:"Social Shares",eventAction:"reddit",eventLabel:"reddit",eventValue:0})}),a(".mashicon-delicious").click(function(){ga(b+".send","event",{eventCategory:"Social Shares",eventAction:"Delicious",eventLabel:"Delicious",eventValue:0})}),a(".mashicon-weibo").click(function(){ga(b+".send","event",{eventCategory:"Social Shares",eventAction:"Weibo",eventLabel:"Weibo",eventValue:0})}),a(".mashicon-pocket").click(function(){ga(b+".send","event",{eventCategory:"Social Shares",eventAction:"Pocket",eventLabel:"Pocket",eventValue:0})}),a(".mashicon-xing").click(function(){ga(b+".send","event",{eventCategory:"Social Shares",eventAction:"Xing",eventLabel:"Xing",eventValue:0})}),a(".mashicon-odnoklassniki").click(function(){ga(b+".send","event",{eventCategory:"Social Shares",eventAction:"Odnoklassniki",eventLabel:"Odnoklassniki",eventValue:0})}),a(".mashicon-managewp").click(function(){ga(b+".send","event",{eventCategory:"Social Shares",eventAction:"ManageWP",eventLabel:"ManageWP",eventValue:0})}),a(".mashicon-tumblr").click(function(){ga(b+".send","event",{eventCategory:"Social Shares",eventAction:"Tumblr",eventLabel:"Tumblr",eventValue:0})}),a(".mashicon-meneame").click(function(){ga(b+".send","event",{eventCategory:"Social Shares",eventAction:"Memeame",eventLabel:"Memeame",eventValue:0})}),a(".mashicon-stumbleupon").click(function(){ga(b+".send","event",{eventCategory:"Social Shares",eventAction:"Stumbleupon",eventLabel:"Stumbleupon",eventValue:0})}),a(".mashicon-mail").click(function(){ga(b+".send","event",{eventCategory:"Social Shares",eventAction:"Mail",eventLabel:"Mail",eventValue:0})}),a(".mashicon-mailru").click(function(){ga(b+".send","event",{eventCategory:"Social Shares",eventAction:"Mail RU",eventLabel:"Mail RU",eventValue:0})}),a(".mashicon-line").click(function(){ga(b+".send","event",{eventCategory:"Social Shares",eventAction:"Line",eventLabel:"Line",eventValue:0})}),a(".mashicon-yummly").click(function(){ga(b+".send","event",{eventCategory:"Social Shares",eventAction:"Yummly",eventLabel:"Yummly",eventValue:0})}),a(".mashicon-frype").click(function(){ga(b+".send","event",{eventCategory:"Social Shares",eventAction:"Frype",eventLabel:"Frype",eventValue:0})}),a(".mashicon-skype").click(function(){ga(b+".send","event",{eventCategory:"Social Shares",eventAction:"Skype",eventLabel:"Skype",eventValue:0})}),a(".mashicon-telegram").click(function(){ga(b+".send","event",{eventCategory:"Social Shares",eventAction:"telegram",eventLabel:"telegram",eventValue:0})}),a(".mashicon-flipboard").click(function(){ga(b+".send","event",{eventCategory:"Social Shares",eventAction:"Flipboard",eventLabel:"Flipboard",eventValue:0})}),a(".mashicon-hackernews").click(function(){ga(b+".send","event",{eventCategory:"Social Shares",eventAction:"Hacker News",eventLabel:"Hacker News",eventValue:0})}),a(".onoffswitch").click(function(){ga(b+".send","event",{eventCategory:"Social Shares",eventAction:"MashShare Plus Button",eventLabel:"MashShare Plus Button",eventValue:0})})}):"undefined"!=typeof ga&&"undefined"!=typeof mashsb?(a(".mashicon-facebook").click(function(){ga("send","event","Social Shares","Facebook","Faceboook")}),a(".mashicon-twitter").click(function(){ga("send","event","Social Shares","Twitter","twitter")}),a(".mashicon-subscribe").click(function(){ga("send","event","Social Shares","Subscribe","Subscribe")}),a(".mashicon-google").click(function(){ga("send","event","Social Shares","Google G+","Google G+")}),a(".mashicon-whatsapp").click(function(){ga("send","event","Social Shares","WhatsApp","Whatsapp")}),a(".mashicon-buffer").click(function(){ga("send","event","Social Shares","Buffer","Buffer")}),a(".mashicon-pinterest").click(function(){ga("send","event","Social Shares","P
1interest","Pinterest")}),a(".mashicon-linkedin").click(function(){ga("send","event","Social Shares","LinkedIn","LinkedIn")}),a(".mashicon-digg").click(function(){ga("send","event","Social Shares","Digg","Digg")}),a(".mashicon-vk").click(function(){ga("send","event","Social Shares","VK","VK")}),a(".mashicon-print").click(function(){ga("send","event","Social Shares","Print","Print")}),a(".mashicon-reddit").click(function(){ga("send","event","Social Shares","Reddit","Reddit")}),a(".mashicon-delicious").click(function(){ga("send","event","Social Shares","Delicious","Delicious")}),a(".mashicon-weibo").click(function(){ga("send","event","Social Shares","Weibo","Weibo")}),a(".mashicon-pocket").click(function(){ga("send","event","Social Shares","Pocket","Pocket")}),a(".mashicon-xing").click(function(){ga("send","event","Social Shares","Xing","Xing")}),a(".mashicon-odnoklassniki").click(function(){ga("send","event","Social Shares","Odnoklassniki","Odnoklassniki")}),a(".mashicon-managewp").click(function(){ga("send","event","Social Shares","ManageWP","ManageWP")}),a(".mashicon-tumblr").click(function(){ga("send","event","Social Shares","Tumblr","Tumblr")}),a(".mashicon-meneame").click(function(){ga("send","event","Social Shares","Memeame","Memeame")}),a(".mashicon-stumbleupon").click(function(){ga("send","event","Social Shares","Stumbleupon","Stumbleupon")}),a(".mashicon-mail").click(function(){ga("send","event","Social Shares","Mail","Mail")}),a(".mashicon-mailru").click(function(){ga("send","event","Social Shares","Mail RU","Mail RU")}),a(".mashicon-line").click(function(){ga("send","event","Social Shares","Line","Line")}),a(".mashicon-yummly").click(function(){ga("send","event","Social Shares","Yummly","Yummly")}),a(".mashicon-frype").click(function(){ga("send","event","Social Shares","Frype","Frype")}),a(".mashicon-skype").click(function(){ga("send","event","Social Shares","Skype","Skype")}),a(".mashicon-telegram").click(function(){ga("send","event","Social Shares","Telegram","Telegram")}),a(".mashicon-flipboard").click(function(){ga("send","event","Social Shares","Flipboard","Flipboard")}),a(".mashicon-hackernews").click(function(){ga("send","event","Social Shares","Hacker News","Hacker News")}),a(".onoffswitch").click(function(){ga("send","event","Social Shares","Mashshare Plus Button","MashShare Plus Button")})):"undefined"!=typeof _gaq&&"undefined"!=typeof mashsb?(a(".mashicon-facebook").click(function(){_gaq.push(["_trackEvent"],"event","Social Shares","Facebook","Facebook")}),a(".mashicon-twitter").click(function(){_gaq.push(["_trackEvent"],"event","Social Shares","Twitter","Twitter")}),a(".mashicon-subscribe").click(function(){_gaq.push(["_trackEvent"],"event","Social Shares","Subscribe","Subscribe")}),a(".mashicon-google").click(function(){_gaq.push(["_trackEvent"],"event","Social Shares","Google G+","Google G+")}),a(".mashicon-whatsapp").click(function(){_gaq.push(["_trackEvent"],"event","Social Shares","WhatsApp","WhatsApp")}),a(".mashicon-buffer").click(function(){_gaq.push(["_trackEvent"],"event","Social Shares","Buffer","Buffer")}),a(".mashicon-pinterest").click(function(){_gaq.push(["_trackEvent"],"event","Social Shares","Pinterest","Pinterest")}),a(".mashicon-linkedin").click(function(){_gaq.push(["_trackEvent"],"event","Social Shares","LinkedIn","LinkedIn")}),a(".mashicon-digg").click(function(){_gaq.push(["_trackEvent"],"event","Social Shares","Digg","Digg")}),a(".mashicon-vk").click(function(){_gaq.push(["_trackEvent"],"event","Social Shares","VK","VK")}),a(".mashicon-print").click(function(){_gaq.push(["_trackEvent"],"event","Social Shares","Print","Print")}),a(".mashicon-reddit").click(function(){_gaq.push(["_trackEvent"],"event","Social Shares","Reddit","Reddit")}),a(".mashicon-delicious").click(function(){_gaq.push(["_trackEvent"],"event","Social Shares","Delicious","Delicious")}),a(".mashicon-weibo").click(function(){_gaq.push(["_trackEvent"],"event","Social Shares","Weibo","Weibo")}),a(".mashicon-pocket").click(function(){_gaq.push(["_trackEvent"],"event","Social Shares","Pocket","Pocket")}),a(".mashicon-xing").click(function(){_gaq.push(["_trackEvent"],"event","Social Shares","Xing","Xing")}),a(".mashicon-odnoklassniki").click(function(){_gaq.push(["_trackEvent"],"event","Social Shares","Odnoklassniki","Odnoklassniki")}),a(".mashicon-managewp").click(function(){_gaq.push(["_trackEvent"],"event","Social Shares","Managewp","Managewp")}),a(".mashicon-tumblr").click(function(){_gaq.push(["_trackEvent"],"event","Social Shares","Tumblr","Tumblr")}),a(".mashicon-meneame").click(function(){_gaq.push(["_trackEvent"],"event","Social Shares","Meneame","Meneame")}),a(".mashicon-stumbleupon").click(function(){_gaq.push("send","event","Social Shares","Stumbleupon","Stumbleupon")}),a(".mashicon-mail").click(function(){_gaq.push("send","event","Social Shares","Mail","Mail")}),a(".mashicon-mailru").click(function(){_gaq.push("send","event","Social Shares","Mail RU","Mail RU")}),a(".mashicon-line").click(function(){_gaq.push("send","event","Social Shares","Line","Line")}),a(".mashicon-yummly").click(function(){_gaq.push("send","event","Social Shares","Yummly","Yummly")}),a(".mashicon-frype").click(function(){_gaq.push("send","event","Social Shares","Frype","Frype")}),a(".mashicon-skype").click(function(){_gaq.push("send","event","Social Shares","Skype","Skype")}),a(".mashicon-telegram").click(function(){_gaq.push("send","event","Social Shares","Telegram","Telegram")}),a(".mashicon-flipboard").click(function(){_gaq.push("send","event","Social Shares","Flipboard","Flipboard")}),a(".mashicon-hackernews").click(function(){_gaq.push("send","event","Social Shares","Hackernews","Hackernews")}),a(".onoffswitch").click(function(){_gaq.push("send","event","Social Shares","Mashshare Plus Button","Mashshare Plus Button")})):"undefined"!=typeof __gaTracker&&"undefined"!=typeof mashsb&&(a(".mashicon-facebook").click(function(){__gaTracker("send","event","Social Shares","Facebook","Facebook")}),a(".mashicon-twitter").click(function(){__gaTracker("send","event","Social Shares","Twitter","Twitter")}),a(".mashicon-subscribe").click(function(){__gaTracker("send","event","Social Shares","Subscribe","Subscribe")}),a(".mashicon-google").click(function(){__gaTracker("send","event","Social Shares","Google G+","Google G+")}),a(".mashicon-whatsapp").click(function(){__gaTracker("send","event","Social Shares","WhatsApp","WhatsApp")}),a(".mashicon-buffer").click(function(){__gaTracker("send","event","Social Shares","Buffer","Buffer")}),a(".mashicon-pinterest").click(function(){__gaTracker("send","event","Social Shares","P
1interest","Pinterest")}),a(".mashicon-linkedin").click(function(){__gaTracker("send","event","Social Shares","LikedIn","LikedIn")}),a(".mashicon-digg").click(function(){__gaTracker("send","event","Social Shares","Digg","Digg")}),a(".mashicon-vk").click(function(){__gaTracker("send","event","Social Shares","VK","VK")}),a(".mashicon-print").click(function(){__gaTracker("send","event","Social Shares","Print","Print")}),a(".mashicon-reddit").click(function(){__gaTracker("send","event","Social Shares","Reddit","Reddit")}),a(".mashicon-delicious").click(function(){__gaTracker("send","event","Social Shares","Delicious","Delicious")}),a(".mashicon-weibo").click(function(){__gaTracker("send","event","Social Shares","Weibo","Weibo")}),a(".mashicon-pocket").click(function(){__gaTracker("send","event","Social Shares","Pocket","Pocket")}),a(".mashicon-xing").click(function(){__gaTracker("send","event","Social Shares","Xing","Xing")}),a(".mashicon-odnoklassniki").click(function(){__gaTracker("send","event","Social Shares","Odnoklassniki","Odnoklassniki")}),a(".mashicon-managewp").click(function(){__gaTracker("send","event","Social Shares","ManageWP","ManageWP")}),a(".mashicon-tumblr").click(function(){__gaTracker("send","event","Social Shares","Tumblr","Tumblr")}),a(".mashicon-meneame").click(function(){__gaTracker("send","event","Social Shares","Memeame","Memeame")}),a(".mashicon-stumbleupon").click(function(){__gaTracker("send","event","Social Shares","Stumbleupon","Stumbleupon")}),a(".mashicon-mail").click(function(){__gaTracker("send","event","Social Shares","Mail","Mail")}),a(".mashicon-mailru").click(function(){__gaTracker("send","event","Social Shares","Mail RU","Mail RU")}),a(".mashicon-line").click(function(){__gaTracker("send","event","Social Shares","Line","Line")}),a(".mashicon-yummly").click(function(){__gaTracker("send","event","Social Shares","Yummly","Yummly")}),a(".mashicon-frype").click(function(){__gaTracker("send","event","Social Shares","Frype","Frype")}),a(".mashicon-skype").click(function(){__gaTracker("send","event","Social Shares","Skype","Skype")}),a(".mashicon-telegram").click(function(){__gaTracker("send","event","Social Shares","Telegram","Telegram")}),a(".mashicon-flipboard").click(function(){__gaTracker("send","event","Social Shares","Flipboard","Flipboard")}),a(".mashicon-hackernews").click(function(){__gaTracker("send","event","Social Shares","Hacker News","Hacker News")}),a(".onoffswitch").click(function(){__gaTracker("send","event","Social Shares","Mashshare Plus Button","Mashshare Plus Button")}))}); 2function chiaToggleAriaExpanded(el, withListeners){ 3if('true'!==el.getAttribute('aria-expanded') ){ 4el.setAttribute('aria-expanded', 'true'); 5chiaSubmenuPosition(el.parentElement); 6if(withListeners){ 7document.addEventListener('click', chiaCollapseMenuOnClickOutside); 8}}else{ 9el.setAttribute('aria-expanded', 'false'); 10if(withListeners){ 11document.removeEventListener('click', chiaCollapseMenuOnClickOutside); 12}} 13} 14function chiaCollapseMenuOnClickOutside(event){ 15if(! document.getElementById('site-navigation').contains(event.target) ){ 16document.getElementById('site-navigation').querySelectorAll('.sub-menu-toggle').forEach(function(button){ 17button.setAttribute('aria-expanded', 'false'); 18}); 19}} 20function chiaSubmenuPosition(li){ 21var subMenu=li.querySelector('ul.sub-menu'), 22rect, 23right, 24left, 25windowWidth; 26if(! subMenu){ 27return; 28} 29rect=subMenu.getBoundingClientRect(); 30right=Math.round(rect.right); 31left=Math.round(rect.left); 32windowWidth=Math.round(window.innerWidth); 33if(right > windowWidth){ 34subMenu.classList.add('submenu-reposition-right'); 35}else if(document.body.classList.contains('rtl')&&left < 0){ 36subMenu.classList.add('submenu-reposition-left'); 37}} 38function chiaExpandSubMenu(el){ 39el.closest('nav').querySelectorAll('.sub-menu-toggle').forEach(function(button){ 40if(button!==el){ 41button.setAttribute('aria-expanded', 'false'); 42}}); 43chiaToggleAriaExpanded(el, true); 44el.parentNode.querySelectorAll('ul > li:last-child > a').forEach(function(linkEl){ 45linkEl.addEventListener('blur', function(event){ 46if(! el.parentNode.contains(event.relatedTarget) ){ 47el.setAttribute('aria-expanded', 'false'); 48}}); 49}); 50} 51(function(){ 52var navMenu=function(id){ 53var wrapper=document.body, 54mobileButton=document.getElementById(id + '-mobile-menu'); 55if(mobileButton){ 56mobileButton.onclick=function(){ 57wrapper.classList.toggle(id + '-navigation-open'); 58wrapper.classList.toggle('lock-scrolling'); 59chiaToggleAriaExpanded(mobileButton); 60mobileButton.focus(); 61};} 62document.addEventListener('keydown', function(event){ 63var modal, elements, selectors, lastEl, firstEl, activeEl, tabKey, shift
63Key, escKey; 64if(! wrapper.classList.contains(id + '-navigation-open') ){ 65return; 66} 67modal=document.querySelector('.' + id + '-navigation'); 68selectors='input, a, button'; 69elements=modal.querySelectorAll(selectors); 70elements=Array.prototype.slice.call(elements); 71tabKey=event.keyCode===9; 72shiftKey=event.shiftKey; 73escKey=event.keyCode===27; 74activeEl=document.activeElement; 75lastEl=elements[ elements.length - 1 ]; 76firstEl=elements[0]; 77if(escKey){ 78event.preventDefault(); 79wrapper.classList.remove(id + '-navigation-open', 'lock-scrolling'); 80chiaToggleAriaExpanded(mobileButton); 81mobileButton.focus(); 82} 83if(! shiftKey&&tabKey&&lastEl===activeEl){ 84event.preventDefault(); 85firstEl.focus(); 86} 87if(shiftKey&&tabKey&&firstEl===activeEl){ 88event.preventDefault(); 89lastEl.focus(); 90} 91if(tabKey&&firstEl===lastEl){ 92event.preventDefault(); 93}}); 94document.addEventListener('click', function(event){ 95if(event.target.hash&&event.target.hash.includes('#') ){ 96wrapper.classList.remove(id + '-navigation-open', 'lock-scrolling'); 97chiaToggleAriaExpanded(mobileButton); 98setTimeout(function (){ 99var anchor=document.getElementById(event.target.hash.slice(1)); 100anchor.scrollIntoView(); 101}, 550); 102}}); 103document.getElementById('site-navigation').querySelectorAll('.menu-wrapper > .menu-item-has-children').forEach(function(li){ 104li.addEventListener('mouseenter', function(){ 105this.querySelector('.sub-menu-toggle').setAttribute('aria-expanded', 'true'); 106chiaSubmenuPosition(li); 107}); 108li.addEventListener('mouseleave', function(){ 109this.querySelector('.sub-menu-toggle').setAttribute('aria-expanded', 'false'); 110}); 111}); 112}; 113window.addEventListener('load', function(){ 114new navMenu('primary'); 115}); 116}()); 117function chiaResponsiveEmbeds(){ 118var proportion, parentWidth; 119document.querySelectorAll('iframe').forEach(function(iframe){ 120if(iframe.width&&iframe.height){ 121proportion=parseFloat(iframe.width) / parseFloat(iframe.height); 122parentWidth=parseFloat(window.getComputedStyle(iframe.parentElement, null).width.replace('px', '') ); 123iframe.style.maxWidth='100%'; 124iframe.style.maxHeight=Math.round(parentWidth / proportion).toString() + 'px'; 125}}); 126} 127chiaResponsiveEmbeds(); 128window.onresize=chiaResponsiveEmbeds;
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.