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}))})();; 2/** 3 * File navigation.js. 4 * 5 * Handles toggling the navigation menu for small screens and enables TAB key 6 * navigation support for dropdown menus. 7 */ 8( function() { 9 var container, button, menu, links, subMenus, i, len; 10 11 container = document.getElementById( 'site-navigation' ); 12 if ( ! container ) { 13 return; 14 } 15 16 button = container.getElementsByTagName( 'button' )[0]; 17 if ( 'undefined' === typeof button ) { 18 return; 19 } 20 21 menu = container.getElementsByTagName( 'ul' )[0]; 22 23 // Hide menu toggle button if menu is empty and return early. 24 if ( 'undefined' === typeof menu ) { 25 button.style.display = 'none'; 26 return; 27 } 28 29 menu.setAttribute( 'aria-expanded', 'false' ); 30 if ( -1 === menu.className.indexOf( 'nav-menu' ) ) { 31 menu.className += ' nav-menu'; 32 } 33 34 button.onclick = function() { 35 if ( -1 !== container.className.indexOf( 'toggled' ) ) { 36 container.className = container.className.replace( ' toggled', '' ); 37 button.setAttribute( 'aria-expanded', 'false' ); 38 menu.setAttribute( 'aria-expanded', 'false' ); 39 } else { 40 container.className += ' toggled'; 41 button.setAttribute( 'aria-expanded', 'true' ); 42 menu.setAttribute( 'aria-expanded', 'true' ); 43 } 44 }; 45 46 // Get all the link elements within the menu. 47 links = menu.getElementsByTagName( 'a' ); 48 subMenus = menu.getElementsByTagName( 'ul' ); 49 50 // Set menu items with submenus to aria-haspopup="true". 51 for ( i = 0, len = subMenus.length; i < len; i++ ) { 52 subMenus[i].parentNode.setAttribute( 'aria-haspopup', 'true' ); 53 } 54 55 // Each time a menu link is focused or blurred, toggle focus. 56 for ( i = 0, len = links.length; i < len; i++ ) { 57 links[i].addEventListener( 'focus', toggleFocus, true ); 58 links[i].addEventListener( 'blur', toggleFocus, true ); 59 } 60 61 /** 62 * Sets or removes .focus class on an element. 63 */ 64 function toggleFocus() { 65 var self = this; 66 67 // Move up through the ancestors of the current link until we hit .nav-menu. 68 while ( -1 === self.className.indexOf( 'nav-menu' ) ) { 69 70 // On li elements toggle the class .focus. 71 if ( 'li' === self.tagName.toLowerCase() ) { 72 if ( -1 !== self.className.indexOf( 'focus' ) ) { 73 self.className = self.className.replace( ' focus', '' ); 74 } else { 75 self.className += ' focus'; 76 } 77 } 78 79 self = self.parentElement; 80 } 81 } 82 83 /** 84 * Toggles `focus` class to allow submenu access on tablets. 85 */ 86 ( function ( container ) { 87 var touchStartFn, 88 parentLink = container.querySelectorAll( '.menu-item-has-children > a, .page_item_has_children > a' ); 89 90 if ( 'ontouchstart' in window ) { 91 touchStartFn = function( e ) { 92 var menuItem = this.parentNode; 93 94 if ( ! menuItem.classList.contains( 'focus' ) ) { 95 e.preventDefault(); 96 for( var i = 0; i < menuItem.parentNode.children.length; ++i ) { 97 if ( menuItem === menuItem.parentNode.children[i] ) { 98 continue; 99 } 100 menuItem.parentNode.children[i].classList.remove( 'focus' ); 101 } 102 menuItem.classList.add( 'focus' ); 103 } else { 104 menuItem.classList.remove( 'focus' ); 105 } 106 }; 107 108 for ( var i = 0; i < parentLink.length; ++i ) { 109 parentLink[i].addEventListener( 'touchstart', touchStartFn, false ); 110 } 111 } 112 } ( container ) ); 113} )(); 114; 115/** 116 * File skip-link-focus-fix.js. 117 * 118 * Helps with accessibility for keyboard only users. 119 * 120 * Learn more: https://git.io/vWdr2 121 */ 122( function() { 123 var isWebkit = navigator.userAgent.toLowerCase().indexOf( 'webkit' ) > -1, 124 isOpera = navigator.userAgent.toLowerCase().indexOf( 'opera' ) > -1, 125 isIe = navigator.userAgent.toLowerCase().indexOf( 'msie' ) > -1; 126 127 if ( ( isWebkit || isOpera || isIe ) && document.getElementById && window.addEventListener ) { 128 window.addEventListener( 'hashchange', function() { 129 var id = location.hash.substring( 1 ), 130 element; 131 132 if ( ! ( /^[A-z0-9_-]+$/.test( id ) ) ) { 133 return; 134 } 135 136 element = document.getElementById( id ); 137 138 if ( element ) { 139 if ( ! ( /^(?:a|select|input|button|textarea)$/i.test( element.tagName ) ) ) { 140 element.tabIndex = -1; 141 } 142 143 element.focus(); 144 } 145 }, false ); 146 } 147})(); 148; 149/** 150 * Handles sticky header 151 */ 152 153( function () { 154 'use strict'; 155 156 var stickyHeader = document.querySelector( '.sticky-wrapper' ); 157 var topBar = document.querySelector( '.top-bar' ); 158 var stickyHeaderOffset = parseFloat( 159 ( getComputedStyle( topBar ).height || '0' ).replace( 'px', '' ) 160 ); 161 162 var nextFrame = null; 163 164 if ( ! stickyHeader || ! topBar ) { 165 return; 166 } 167 168 function stickyTime() { 169 var windowWidth = document.documentElement.clientWidth; 170 171 if ( window.pageYOffset >= stickyHeaderOffset && windowWidth >= 1100 ) { 172 stickyHeader.classList.add( 'sticking' ); 173 174 var stuckHeader = document.querySelector( '.sticky-wrapper.sticking' ); 175 var stickyHeaderHeight = getComputedStyle( stuckHeader ).height; 176 177 document.body.style.paddingTop = stickyHeaderHeight; 178 topBar.style.visibility = 'hidden'; 179 } else { 180 stickyHeader.classList.remove( 'sticking' ); 181 document.body.removeAttribute( 'style' ); 182 topBar.removeAttribute( 'style' ); 183 } 184 185 nextFrame = null; 186 } 187 188 if ( document.readyState === 'complete' ) { 189 stickyTime(); 190 } else { 191 window.addEventListener( 'load', stickyTime ); 192 } 193 194 document.addEventListener( 'scroll', function () { 195 if ( window.requestAnimationFrame ) { 196 nextFrame = nextFrame || requestAnimationFrame( stickyTime ); 197 } else { 198 stickyTime(); 199 } 200 } ); 201} )(); 202; 203(()=>{var e=[],t=!1,n=2e3,i=[],o=new Promise(e=>{"loading"!==document.readyState?e():window.addEventListener("DOMContentLoaded",()=>e())});function s(e,t){if("string"==typeof e)try{e=JSON.parse(e)}catch{return}if(t&&"function"==typeof t.postMessage)try{t.postMessage(JSON.stringify({type:"likesMessage",data:e}),"*")}catch{}}function r(){const t=[];document.querySelectorAll("div.jetpack-likes-widget-unloaded").forEach(n=>{if(!(e.indexOf(n.id)>-1)&&d(n)){e.push(n.id);var i,o=/like-(post|comment)-wrapper-(\d+)-(\d+)-(\w+)/.exec(n.id);o&&5===o.length&&(i={blog_id:o[2],width:n.width},"post"===o[1]?i.post_id=o[3]:"comment"===o[1]&&(i.comment_id=o[3]),i.obj_id=o[4],t.push(i))}}),t.length>0&&s({event:"initialBatch",requests:t},window.frames["likes-master"])}function a(){const e=document.querySelector("#likes-other-gravatars");if(e){e.style.display="none",e.setAttribute("aria-hidden","true");const t=e.__resizeHandler;t&&(window.removeEventListener("resize",t),delete e.__resizeHandler)}}function l(){var e;if(!t)return s({event:"queryMasterReady"},window.frames["likes-master"]),void setTimeout(l,500);!function(){for(let e=i.length-1;e>=0;e--){const t=i[e];if(!d(t)){const n=t&&t.parentElement&&t.parentElement.parentElement;n.classList.remove("jetpack-likes-widget-loaded"),n.classList.remove("jetpack-likes-widget-loading"),n.classList.add("jetpack-likes-widget-unloaded");const o=n.querySelector(".likes-widget-placeholder");o&&(o.style.display=""),i.splice(e,1),t.remove()}}}(),function(){if(!g)return;document.querySelectorAll("div.jetpack-likes-widget-unloaded").forEach(e
203=>g.observe(e))}();var n=[...document.querySelectorAll("div.jetpack-likes-widget-unloaded")].filter(e=>d(e));n.length>0&&r();for(var o=0,a=n.length;o<=a-1;o++)(e=n[o].id)&&c(e)}function c(e){if(void 0===e)return;const t=document.querySelector("#"+e);t.querySelectorAll("iframe").forEach(e=>e.remove());const n=t.querySelector(".likes-widget-placeholder");if(n&&n.classList.contains("post-likes-widget-placeholder")){const e=document.createElement("iframe");e.classList.add("post-likes-widget","jetpack-likes-widget"),e.name=t.dataset.name,e.src=t.dataset.src,e.height="55px",e.width="100%",e.frameBorder="0",e.scrolling="no",e.title=t.dataset.title,n.after(e)}if(n.classList.contains("comment-likes-widget-placeholder")){const e=document.createElement("iframe");e.class="comment-likes-widget-frame jetpack-likes-widget-frame",e.name=t.dataset.name,e.src=t.dataset.src,e.height="18px",e.width="100%",e.frameBorder="0",e.scrolling="no",t.querySelector(".comment-like-feedback").after(e),i.push(e)}t.classList.remove("jetpack-likes-widget-unloaded"),t.classList.add("jetpack-likes-widget-loading"),t.querySelector("iframe").addEventListener("load",e=>{t.contains(e.target)&&(s({event:"loadLikeWidget",name:e.target.name,width:e.target.width},window.frames["likes-master"]),n&&(n.style.display="none"),t.classList.remove("jetpack-likes-widget-loading"),t.classList.add("jetpack-likes-widget-loaded"))})}function d(e){const t=e.getBoundingClientRect().top,i=e.getBoundingClientRect().bottom;return t+n>=0&&i<=window.innerHeight+n}window.addEventListener("message",function(e){let n=e&&e.data;if("string"==typeof n)try{n=JSON.parse(n)}catch{return}const i=n&&n.type,l=n&&n.data;if("likesMessage"!==i||void 0===l.event)return;if("https://widgets.wp.com"===e.origin)switch(l.event){case"masterReady":o.then(()=>{t=!0;const e={event:"injectStyles"},n=document.querySelector(".sd-text-color"),i=document.querySelector(".sd-link-color"),o=n&&getComputedStyle(n)||{},a=i&&getComputedStyle(i)||{};document.body.classList.contains("single")&&s({event:"reblogsEnabled"},window.frames["likes-master"]),e.textStyles={color:o.color,fontFamily:o["font-family"],fontSize:o["font-size"],direction:o.direction,fontWeight:o["font-weight"],fontStyle:o["font-style"],textDecoration:o["text-decoration"]},e.linkStyles={color:a.color,fontFamily:a["font-family"],fontSize:a["font-size"],textDecoration:a["text-decoration"],fontWeight:a["font-weight"],fontStyle:a["font-style"]},s(e,window.frames["likes-master"]),r()});break;case"showLikeWidget":case"showCommentLikeWidget":break;case"killCommentLikes":document.querySelectorAll(".jetpack-comment-likes-widget-wrapper").forEach(e=>e.remove());break;case"clickReblogFlair":wpcom_reblog&&"function"==typeof wpcom_reblog.toggle_reblog_box_flair&&wpcom_reblog.toggle_reblog_box_flair(l.obj_id);break;case"hideOtherGravatars":a();break;case"showOtherGravatars":{const e=document.querySelector("#likes-other-gravatars");if(!e)break;const t=e.querySelector("ul");e.style.display="none",t.innerHTML="",e.querySelectorAll(".likes-text span").forEach(e=>e.textContent=l.totalLikesLabel),(l.likers||[]).forEach(async(e,n)=>{if("http"!==e.profile_URL.substr(0,4))return;const i=document.createElement("li");t.append(i);const o=encodeURI(e.profile_URL),r=encodeURI(e.avatar_URL);i.innerHTML=`<a href="${o}" rel="nofollow" target="_parent" class="wpl-liker">\n\t\t\t\t\t\t<img src="${r}"\n\t\t\t\t\t\t\talt=""\n\t\t\t\t\t\t\tstyle="width: 28px; height: 28px;" />\n\t\t\t\t\t\t<span></span>\n\t\t\t\t\t</a>`,i.classList.add(e.css_class),i.querySelector("img").alt=l.avatarAltTitle.replace("%s",e.name),i.querySelector("span").innerText=e.name,n===l.likers.length-1&&i.addEventListener("keydown",e=>{"Tab"!==e.key||e.shiftKey||(e.preventDefault(),a(),s({event:"focusLikesCount",parent:l.parent},window.frames["likes-master"]))})});const n=function(){const t="rtl"===getComputedStyle(e).direction,n=document.querySelector(`*[name='${l.parent}']`),i=n.getBoundingClientRect(),o=n.ownerDocument.defaultView,s=i.top+o.pageYOffset,r=i.left+o.pageXOffset;let a;if(e.style.top=s+l.position.top-1+"px",t){const t=l&&l.likers?Math.min(l.likers.length,5):0;a=r+l.position.left+24*t+4,e.style.transform="translateX(-100%)"}else a=r+l.position.left;e.style.left=a+"px",e.style.left="-9999px",e.style.display="block";const c=e.offsetWidth;a+c>o.innerWidth&&(a=i.right-c),e.style.left=a+"px",e.setAttribute("aria-hidden","false")};n(),e.focus();const i=function(e,t){var n;return function(){var i=this,o=arguments;clearTimeout(n),n=setTimeout(function(){e.apply(i,o)},t)}},o=i(n,100);e.__resizeHandler=o,window.addEventListener("resize",o),e.focus()}}}),document.addEventListener("click",a);var f,m,u,p=(f=250,m=l,function(){clearTimeout(u),u=setTimeout(m,f)}),g="function"==typeof IntersectionObserver?new IntersectionObserver(p,{rootMargin:"2000px",threshold:[0,1]}):null;l(),window.addEventListener("scroll",p,!0)})();;
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.