1!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.JetpackScriptDataModule=t():e.JetpackScriptDataModule=t()}(globalThis,()=>(()=>{"use strict";var e={729(e,t,r){r.d(t,{$8:()=>n.$8,IT:()=>n.IT,KS:()=>n.KS,L2:()=>n.L2,Sy:()=>n.Sy,au:()=>n.au,d_:()=>n.d_,e5:()=>n.e5,hT:()=>n.hT,lI:()=>n.lI,mH:()=>n.mH,oQ:()=>n.oQ,sV:()=>n.sV});var n=r(336)},336(e,t,r){function n(){return window.JetpackScriptData}function o(){return n()?.site}function i(e=""){return`${n()?.site.admin_url}${e}`}function a(e=""){return i(`admin.php?page=jetpack${e}`)}function u(e=""){return i(`admin.php?page=my-jetpack${e}`)}function p(){return n()?.site.plan?.features?.active??[]}function c(e){return-1!==p().indexOf(e)}function s(){return"wpcom"===n()?.site?.host}function f(){return"woa"===n()?.site?.host}function d(){return n()?.site?.is_wpcom_platform}function l(){return"unknown"===n()?.site?.host}function S(){return s()?"simple":f()?"woa":"jetpack"}function m(e){return n()?.user.current_user.capabilities[e]}r.d(t,{$8:()=>d,IT:()=>c,KS:()=>S,L2:()=>l,Sy:()=>s,au:()=>n,d_:()=>m,e5:()=>u,hT:()=>i,lI:()=>f,mH:()=>p,oQ:()=>a,sV:()=>o})}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};r.r(n),r.d(n,{currentUserCan:()=>o.d_,getActiveFeatures:()=>o.mH,getAdminUrl:()=>o.hT,getJetpackAdminPageUrl:()=>o.oQ,getMyJetpackUrl:()=>o.e5,getScriptData:()=>o.au,getSiteData:()=>o.sV,getSiteType:()=>o.KS,isJetpackSelfHostedSite:()=>o.L2,isSimpleSite:()=>o.Sy,isWoASite:()=>o.lI,isWpcomPlatformSite:()=>o.$8,siteHasFeature:()=>o.IT});var o=r(729);return n})());; 2/** 3 * Observe how the user enters content into the comment form in order to determine whether it's a bot or not. 4 * 5 * Note that no actual input is being saved here, only counts and timings between events. 6 */ 7 8( function() { 9 // Passive event listeners are guaranteed to never call e.preventDefault(), 10 // but they're not supported in all browsers. Use this feature detection 11 // to determine whether they're available for use. 12 var supportsPassive = false; 13 14 try { 15 var opts = Object.defineProperty( {}, 'passive', { 16 get : function() { 17 supportsPassive = true; 18 } 19 } ); 20 21 window.addEventListener( 'testPassive', null, opts ); 22 window.removeEventListener( 'testPassive', null, opts ); 23 } catch ( e ) {} 24 25 function init() { 26 var input_begin = ''; 27 28 var keydowns = {}; 29 var lastKeyup = null; 30 var lastKeydown = null; 31 var keypresses = []; 32 33 var modifierKeys = []; 34 var correctionKeys = []; 35 36 var lastMouseup = null; 37 var lastMousedown = null; 38 var mouseclicks = []; 39 var mouseclickCoordinates = []; 40 41 var mousemoveTimer = null; 42 var lastMousemoveX = null; 43 var lastMousemoveY = null; 44 var lastMousemoveTime = null; 45 var mousemoveStart = null; 46 var mousemoves = []; 47 var intervalsBetweenMousemovesAndClicks = []; 48 49 var touchmoveCountTimer = null; 50 var touchmoveCount = 0; 51 52 var lastTouchEnd = null; 53 var lastTouchStart = null; 54 var touchEvents = []; 55 56 var scrollCountTimer = null; 57 var scrollCount = 0; 58 59 var correctionKeyCodes = [ 'Backspace', 'Delete', 'ArrowUp', 'ArrowDown', 'ArrowLeft', 'ArrowRight', 'Home', 'End', 'PageUp', 'PageDown' ]; 60 var modifierKeyCodes = [ 'Shift', 'CapsLock' ]; 61 62 var forms = document.querySelectorAll( 'form[method=post]' ); 63 64 for ( var i = 0; i < forms.length; i++ ) { 65 var form = forms[i]; 66 67 var formAction = form.getAttribute( 'action' ); 68 69 // Ignore forms that POST directly to other domains; these could be things like payment forms. 70 if ( formAction ) { 71 // Check that the form is posting to an external URL, not a path. 72 if ( formAction.indexOf( 'http://' ) == 0 || formAction.indexOf( 'https://' ) == 0 ) { 73 if ( formAction.indexOf( 'http://' + window.location.hostname + '/' ) != 0 && formAction.indexOf( 'https://' + window.location.hostname + '/' ) != 0 ) { 74 continue; 75 } 76 } 77 } 78 79 form.addEventListener( 'submit', function () { 80 var ak_bkp = prepare_array_for_request( keypresses ); 81 var ak_bmc = prepare_array_for_request( mouseclicks ); 82 var ak_bte = prepare_array_for_request( touchEvents ); 83 var ak_bmm = prepare_array_for_request( mousemoves ); 84 var ak_bcc = prepare_array_for_request( mouseclickCoordinates ); 85 var ak_bibmac = intervalsBetweenMousemovesAndClicks.slice( 0, 100 ).join( ';' ); 86 87 var input_fields = { 88 // When did the user begin entering any input? 89 'bib': input_begin, 90 91 // When was the form submitted? 92 'bfs': Date.now(), 93 94 // How many keypresses did they make? 95 'bkpc': keypresses.length, 96
97 // How quickly did they press a sample of keys, and how long between them? 98 'bkp': ak_bkp, 99 100 // How quickly did they click the mouse, and how long between clicks? 101 'bmc': ak_bmc, 102 103 // How many mouseclicks did they make? 104 'bmcc': mouseclicks.length, 105 106 // When did they press modifier keys (like Shift or Capslock)? 107 'bmk': modifierKeys.join( ';' ), 108 109 // When did they correct themselves? e.g., press Backspace, or use the arrow keys to move the cursor back 110 'bck': correctionKeys.join( ';' ), 111 112 // How many times did they move the mouse? 113 'bmmc': mousemoves.length, 114 115 // How many times did they move around using a touchscreen? 116 'btmc': touchmoveCount, 117 118 // How many times did they scroll? 119 'bsc': scrollCount, 120 121 // How quickly did they perform touch events, and how long between them? 122 'bte': ak_bte, 123 124 // How many touch events were there? 125 'btec' : touchEvents.length, 126 127 // How quickly did they move the mouse, and how long between moves? 128 'bmm' : ak_bmm, 129 130 // Click coordinates 131 'bcc' : ak_bcc, 132 133 // Milliseconds between last mouse movement and each click 134 'bibmac' : ak_bibmac 135 }; 136 137 var akismet_field_prefix = 'ak_'; 138 139 if ( this.getElementsByClassName ) { 140 // Check to see if we've used an alternate field name prefix. We store this as an attribute of the container around some of the Akismet fields. 141 var possible_akismet_containers = this.getElementsByClassName( 'akismet-fields-container' ); 142 143 for ( var containerIndex = 0; containerIndex < possible_akismet_containers.length; containerIndex++ ) { 144 var container = possible_akismet_containers.item( containerIndex ); 145 146 if ( container.getAttribute( 'data-prefix' ) ) { 147 akismet_field_prefix = container.getAttribute( 'data-prefix' ); 148 break; 149 } 150 } 151 } 152 153 for ( var field_name in input_fields ) { 154 var field = document.createElement( 'input' ); 155 field.setAttribute( 'type', 'hidden' ); 156 field.setAttribute( 'name', akismet_field_prefix + field_name ); 157 field.setAttribute( 'value', input_fields[ field_name ] ); 158 this.appendChild( field ); 159 } 160 }, supportsPassive ? { passive: true } : false ); 161 162 form.addEventListener( 'keydown', function ( e ) { 163 // If you hold a key down, some browsers send multiple keydown events in a row. 164 // Ignore any keydown events for a key that hasn't come back up yet. 165 if ( e.key in keydowns ) { 166 return; 167 } 168 169 var keydownTime = ( new Date() ).getTime(); 170 keydowns[ e.key ] = [ keydownTime ]; 171 172 if ( ! input_begin ) { 173 input_begin = keydownTime; 174 } 175 176 // In some situations, we don't want to record an interval since the last keypress -- for example, 177 // on the first keypress, or on a keypress after focus has changed to another element. Normally, 178 // we want to record the time between the last keyup and this keydown. But if they press a 179 // key while already pressing a key, we want to record the time between the two keydowns. 180 181 var lastKeyEvent = Math.max( lastKeydown, lastKeyup ); 182 183 if ( lastKeyEvent ) { 184 keydowns[ e.key ].push( keydownTime - lastKeyEvent ); 185 } 186 187 lastKeydown = keydownTime; 188 }, supportsPassive ? { passive: true } : false ); 189 190 form.addEventListener( 'keyup', function ( e ) { 191 if ( ! ( e.key in keydowns ) ) { 192 // This key was pressed before this script was loaded, or a mouseclick happened during the keypress, or... 193 return; 194 } 195 196 var keyupTime = ( new Date() ).getTime(); 197 198 if ( 'TEXTAREA' === e.target.nodeName || 'INPUT' === e.target.nodeName ) { 199 if ( -1 !== modifierKeyCodes.indexOf( e.key ) ) { 200 modifierKeys.push( keypresses.length - 1 ); 201 } else if ( -1 !== correctionKeyCodes.indexOf( e.key ) ) { 202 correctionKeys.push( keypresses.length - 1 ); 203 } else { 204 // ^ Don't record timings for keys like Shift or backspace, since they 205 // typically get held down for longer than regular typing. 206 207 var keydownTime = keydowns[ e.key ][0]; 208 209 var keypress = []; 210 211 // Keypress duration. 212 keypress.push( keyupTime - keydownTime ); 213 214 // Amount of time between this keypress and the previous keypress. 215 if ( keydowns[ e.key ].length > 1 ) { 216 keypress.push( keydowns[ e.key ][1] ); 217 } 218 219 keypresses.push( keypress ); 220 } 221 } 222
223 delete keydowns[ e.key ]; 224 225 lastKeyup = keyupTime; 226 }, supportsPassive ? { passive: true } : false ); 227 228 form.addEventListener( "focusin", function ( e ) { 229 lastKeydown = null; 230 lastKeyup = null; 231 keydowns = {}; 232 }, supportsPassive ? { passive: true } : false ); 233 234 form.addEventListener( "focusout", function ( e ) { 235 lastKeydown = null; 236 lastKeyup = null; 237 keydowns = {}; 238 }, supportsPassive ? { passive: true } : false ); 239 } 240 241 document.addEventListener( 'mousedown', function ( e ) { 242 lastMousedown = ( new Date() ).getTime(); 243 244 if ( lastMousemoveTime ) { 245 intervalsBetweenMousemovesAndClicks.push( lastMousedown - lastMousemoveTime ); 246 } 247 248 var mouseclickCoordinate = []; 249 250 var rect = e.target.getBoundingClientRect(); 251 var relativeX = e.clientX - rect.left; 252 var relativeY = e.clientY - rect.top; 253 254 // Pixel offset of the click within the target element. 255 mouseclickCoordinate.push( Math.round( relativeX ) ); 256 mouseclickCoordinate.push( Math.round( relativeY ) ); 257 258 // Percentage offset of the click within the target element. 259 mouseclickCoordinate.push( rect.width > 0 ? Math.round( relativeX / rect.width * 100 ) : 0 ); 260 mouseclickCoordinate.push( rect.height > 0 ? Math.round( relativeY / rect.height * 100 ) : 0 ); 261 262 mouseclickCoordinates.push( mouseclickCoordinate ); 263 }, supportsPassive ? { passive: true } : false ); 264 265 document.addEventListener( 'mouseup', function ( e ) { 266 if ( ! lastMousedown ) { 267 // If the mousedown happened before this script was loaded, but the mouseup happened after... 268 return; 269 } 270 271 var now = ( new Date() ).getTime(); 272 273 var mouseclick = []; 274 mouseclick.push( now - lastMousedown ); 275 276 if ( lastMouseup ) { 277 mouseclick.push( lastMousedown - lastMouseup ); 278 } 279 280 mouseclicks.push( mouseclick ); 281 282 lastMouseup = now; 283 284 // If the mouse has been clicked, don't record this time as an interval between keypresses. 285 lastKeydown = null; 286 lastKeyup = null; 287 keydowns = {}; 288 }, supportsPassive ? { passive: true } : false ); 289 290 document.addEventListener( 'mousemove', function ( e ) { 291 lastMousemoveTime = ( new Date() ).getTime(); 292 293 if ( mousemoveTimer ) { 294 clearTimeout( mousemoveTimer ); 295 mousemoveTimer = null; 296 } 297 else { 298 mousemoveStart = lastMousemoveTime; 299 lastMousemoveX = e.offsetX; 300 lastMousemoveY = e.offsetY; 301 } 302 303 mousemoveTimer = setTimeout( function ( theEvent, originalMousemoveStart ) { 304 var now = ( new Date() ).getTime() - 500; // To account for the timer delay. 305 306 var mousemove = []; 307 mousemove.push( now - originalMousemoveStart ); 308 mousemove.push( 309 Math.round( 310 Math.sqrt( 311 Math.pow( theEvent.offsetX - lastMousemoveX, 2 ) + 312 Math.pow( theEvent.offsetY - lastMousemoveY, 2 ) 313 ) 314 ) 315 ); 316 317 if ( mousemove[1] > 0 ) { 318 // If there was no measurable distance, then it wasn't really a move. 319 mousemoves.push( mousemove ); 320 } 321 322 mousemoveStart = null; 323 mousemoveTimer = null; 324 }, 500, e, mousemoveStart ); 325 }, supportsPassive ? { passive: true } : false ); 326 327 document.addEventListener( 'touchmove', function ( e ) { 328 if ( touchmoveCountTimer ) { 329 clearTimeout( touchmoveCountTimer ); 330 } 331 332 touchmoveCountTimer = setTimeout( function () { 333 touchmoveCount++; 334 }, 500 ); 335 }, supportsPassive ? { passive: true } : false ); 336 337 document.addEventListener( 'touchstart', function ( e ) { 338 lastTouchStart = ( new Date() ).getTime(); 339 }, supportsPassive ? { passive: true } : false ); 340 341 document.addEventListener( 'touchend', function ( e ) { 342 if ( ! lastTouchStart ) { 343 // If the touchstart happened before this script was loaded, but the touchend happened after... 344 return; 345 } 346 347 var now = ( new Date() ).getTime(); 348 349 var touchEvent = []; 350 touchEvent.push( now - lastTouchStart ); 351 352 if ( lastTouchEnd ) { 353 touchEvent.push( lastTouchStart - lastTouchEnd ); 354 } 355 356 touchEvents.push( touchEvent ); 357 358 lastTouchEnd = now; 359 360 // Don't record this time as an interval between keypresses. 361 lastKeydown = null; 362 lastKeyup = null; 363 keydowns = {}; 364 }, supportsPassive ? { passive: true } : false ); 365 366 document.addEventListener( 'scroll', function ( e ) {
367 if ( scrollCountTimer ) { 368 clearTimeout( scrollCountTimer ); 369 } 370 371 scrollCountTimer = setTimeout( function () { 372 scrollCount++; 373 }, 500 ); 374 }, supportsPassive ? { passive: true } : false ); 375 } 376 377 /** 378 * For the timing/coordinate data that is collected, don't send more than `limit` data points in the request. 379 * Choose a random slice and send those, with each batch separated by semicolons and the items in each batch 380 * separated by commas. 381 */ 382 function prepare_array_for_request( a, limit ) { 383 if ( ! limit ) { 384 limit = 100; 385 } 386 387 var rv = ''; 388 389 if ( a.length > 0 ) { 390 var random_starting_point = Math.max( 0, Math.floor( Math.random() * a.length - limit ) ); 391 392 for ( var i = 0; i < limit && i < a.length; i++ ) { 393 var entry = a[ random_starting_point + i ]; 394 rv += entry.join( ',' ) + ';'; 395 } 396 } 397 398 return rv; 399 } 400 401 if ( document.readyState !== 'loading' ) { 402 init(); 403 } else { 404 document.addEventListener( 'DOMContentLoaded', init ); 405 } 406})();; 407!function(){var e=document.currentScript;function t(t){var n=document.createElement("script"),o=e||document.getElementsByTagName("script")[0];n.setAttribute("async",!0),n.setAttribute("src",t),o.parentNode.insertBefore(n,o)}function n(e,t){return Element.prototype.matches?e.matches(t):Element.prototype.msMatchesSelector?e.msMatchesSelector(t):void 0}function o(e,t){if(e.closest)return e.closest(t);var o=e;do{if(n(o,t))return o;o=o.parentElement||o.parentNode}while(null!==o&&1===o.nodeType);return null}function i(e,t){for(var n=0;n<e.length;n++)t(e[n],n,e)}var r,s=".sharing-hidden .inner",a="data-sharing-more-button-id";function c(e){this.button=e,this.pane=o(e,"div").querySelector(s),this.openedBy=null,this.recentlyOpenedByHover=!1,c.instances.push(this),this.pane.setAttribute(a,c.instances.length-1),this.attachHandlers()}if(c.instances=[],c.hoverOpenDelay=200,c.recentOpenDelay=400,c.hoverCloseDelay=300,c.instantiateOrReuse=function(e){var t=o(e,"div").querySelector(s),n=t&&t.getAttribute(a),i=c.instances[n];return i||new c(e)},c.getButtonInstanceFromPane=function(e){var t=e&&e.getAttribute(a);return c.instances[t]},c.closeAll=function(){for(var e=0;e<c.instances.length;e++)c.instances[e].close()},c.prototype.open=function(){var e,t,n=[0,0];function o(e){var t=e.getBoundingClientRect();return[t.left+(window.scrollX||window.pageXOffset||0),t.top+(window.scrollY||window.pageYOffset||0)]}function i(e,t){return parseInt(getComputedStyle(e).getPropertyValue(t)||0)}for(e=o(this.button),t=this.button.offsetParent||document.documentElement;t&&(t===document.body||t===document.documentElement)&&"static"===getComputedStyle(t).getPropertyValue("position");)t=t.parentNode;t&&t!==this.button&&1===t.nodeType&&(n=[(n=o(t))[0]+i(t,"border-left-width"),n[1]+i(t,"border-top-width")]);var r,s=e[0]-n[0]-i(this.button,"margin-left"),a=e[1]-n[1]-i(this.button,"margin-top");this.pane.style.left=s+"px",this.pane.style.top=a+this.button.offsetHeight+3+"px",(r=this.pane)&&r.style.removeProperty("display")},c.prototype.close=function(){var e;(e=this.pane)&&(e.style.display="none"),this.openedBy=null},c.prototype.toggle=function(){var e;(e=this.pane)&&"none"!==e.style.display?this.close():this.open()},c.prototype.nonHoverOpen=function(){clearTimeout(this.openTimer),clearTimeout(this.closeTimer),this.recentlyOpenedByHover?(this.recentlyOpenedByHover=!1,clearTimeout(this.hoverOpenTimer),this.open()):this.toggle()},c.prototype.resetCloseTimer=function(){clearTimeout(this.closeTimer),this.closeTimer=setTimeout(this.close.bind(this),c.hoverCloseDelay)},c.prototype.attachHandlers=function(){this.buttonClick=function(e){e.preventDefault(),e.stopPropagation(),this.openedBy="click",this.nonHoverOpen()}.bind(this),this.buttonKeydown=function(e){13!==e.keyCode&&32!==e.keyCode||(e.preventDefault(),e.stopPropagation(),this.openedBy="keydown",this.nonHoverOpen())}.bind(this),this.buttonEnter=function(){this.openedBy||(this.openTimer=setTimeout(function(){this.open(),this.openedBy="hover",this.recentlyOpenedByHover=!0,this.hoverOpenTimer=setTimeout(function(){this.recentlyOpenedByHover=!1}.bind(this),c.recentOpenDelay)}.bind(this),c.hoverOpenDelay)),clearTimeout(this.closeTimer)}.bind(this),this.buttonLeave=function(){"hover"===this.openedBy&&this.resetCloseTimer(),clearTimeout(this.openTimer)}.bind(this),this.paneEnter=function(){clearTimeout(this.closeTimer)}.bind(this),this.paneLeave=function(){"hover"===this.openedBy&&this.resetCloseTimer()}.bind(this),this.documentClick=function(){this.close()}.bind(this),this.button.addEventListener("click",this.buttonClick),this.button.addEventListener("keydown",this.buttonKeydown),document.addEventListener("click",this.documentClick),void 0===document.ontouchstart&&(this.button.addEventListener("mouseenter",this.buttonEnter),this.button.addEventListener("mouseleave",this.buttonLeave),this.pane.addEventListener("mouseenter",this.paneEnter),this.pane.addEventListener("mouseleave",this.paneLeave))},window.sharing_js_options&&window.sharing_js_options.counts){var u={done_urls:[],get_counts:function(){var e,n,o,i,r;if("undefined"!=typeof WPCOM_sharing_counts)for(e in WPCOM_sharing_counts)if(o=WPCOM_sharing_counts[e],void 0===u.done_urls[o]){for(i in n={pinterest:[window.location.protocol+"//api.pinterest.com/v1/urls/count.json?callback=WPCOMSharing.update_pinterest_count&url="+encodeURIComponent(e)]})if(document.querySelector("a[data-shared=sharing-"+i+"-"+o+"]")){for(;r=n[i].pop();)t(r);window.sharing_js_options.is_stats_active&&u.bump_sharing_count_stat(i)}u.done_urls[o]=!0}},update_pinterest_count:function(e){void 0!==e.count&&1*e.count>0&&u.inject_share_count("sharing-pinterest-"+WPCOM_sharing_counts[e.url],e.count)},inject_share_count:function(e,t){i(document.querySelectorAll("a[data-shared="+e+"] > span"),function(e){var n,o=e.querySelector(".share-count");(n=o)&&n.parentNode&&n.parentNode.removeChild(n);var i=document.createElement("span");
407i.className="share-count",i.textContent=u.format_count(t),e.appendChild(i)})},format_count:function(e){return e<1e3?e:e>=1e3&&e<1e4?String(e).substring(0,1)+"K+":"10K+"},bump_sharing_count_stat:function(e){(new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv&x_sharing-count-request="+e+"&r="+Math.random()}};window.WPCOMSharing=u}function d(e,t){e.setAttribute("jetpack-share-click-count",t)}function l(e){var t=e.getAttribute("jetpack-share-click-count");return null===t?0:parseInt(t,10)}function h(e,t){var n,o=new XMLHttpRequest;o.open("POST",e,!0),o.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"),o.setRequestHeader("x-requested-with","XMLHttpRequest"),o.send((n=t,(encodeURIComponent("email-share-nonce")+"="+encodeURIComponent(n)).replace(/%20/g,"+")))}function p(){m()}function m(){window.WPCOMSharing&&window.WPCOMSharing.get_counts(),i(document.querySelectorAll(".sharedaddy a"),function(e){var t=e.getAttribute("href");t&&-1!==t.indexOf("share=")&&-1===t.indexOf("&nb=1")&&e.setAttribute("href",t+"&nb=1")}),i(document.querySelectorAll(".sharedaddy a.sharing-anchor"),function(e){c.instantiateOrReuse(e)}),void 0!==document.ontouchstart&&document.body.classList.add("jp-sharing-input-touch"),i(document.querySelectorAll(".sharedaddy ul"),function(e){"true"!==e.getAttribute("data-sharing-events-added")&&(e.setAttribute("data-sharing-events-added","true"),i(e.querySelectorAll("a.share-print"),function(e){e.addEventListener("click",function(t){t.preventDefault(),t.stopPropagation();var n=e.getAttribute("href")||"",i=function(){if(-1===n.indexOf("#print")){var e=(new Date).getTime();t=e,o=n,(i=document.createElement("iframe")).setAttribute("style","position:fixed; top:100; left:100; height:1px; width:1px; border:none;"),i.setAttribute("id","printFrame-"+t),i.setAttribute("name",i.getAttribute("id")),i.setAttribute("src",o),i.setAttribute("onload",'frames["printFrame-'+t+'"].focus();frames["printFrame-'+t+'"].print();'),document.body.appendChild(i)}else window.print();var t,o,i},r=o(e,s);if(r){var a=c.getButtonInstanceFromPane(r);a&&(a.close(),i())}else i()})}),i(e.querySelectorAll("a.share-press-this"),function(e){var t="wp-press-this-"+Math.random().toString(36).slice(2);e.addEventListener("click",function(n){n.preventDefault(),n.stopPropagation();var o="";if(window.getSelection?o=window.getSelection():document.getSelection?o=document.getSelection():document.selection&&(o=document.selection.createRange().text),o){var i=e.getAttribute("href");e.setAttribute("href",i+"&sel="+encodeURI(o))}window.open(e.getAttribute("href"),t,"toolbar=0,resizable=1,scrollbars=1,status=1,width=720,height=570")||(document.location.href=e.getAttribute("href"))})}),i(e.querySelectorAll("a.share-email"),function(t){d(t,0);var n,o,r=t.getAttribute("data-email-share-nonce"),s=t.getAttribute("data-email-share-track-url");r&&s&&(n=s,o=window.location.protocol+"//"+window.location.hostname+"/",0===String(n).indexOf(o))&&t.addEventListener("click",function(){var n;d(n=t,l(n)+1),l(t)>2&&function(e,t){var n=t.parentElement;if(n.classList.contains("sd-content")){i(n.querySelectorAll(".share-email-error"),function(e){e.parentElement.removeChild(e)});var o=document.createElement("div");o.className="share-email-error";var r=document.createElement("h6");r.className="share-email-error-title",r.innerText=e.getAttribute("data-email-share-error-title"),o.appendChild(r);var s=document.createElement("p");s.className="share-email-error-text",s.innerText=e.getAttribute("data-email-share-error-text"),o.appendChild(s),n.appendChild(o)}}(t,e),h(s,r)})}))}),i(document.querySelectorAll("li.share-email, li.share-custom a.sharing-anchor"),function(e){e.classList.add("share-service-visible")})}"loading"!==document.readyState?p():document.addEventListener("DOMContentLoaded",p),document.body.addEventListener("is.post-load",m);var f={};!0!==window.WPCOM_sharing_popups_bound&&(document.body.addEventListener("click",function(e){var t=e.target;if(t&&1===t.nodeType){var n=function(e){if("A"===e.nodeName)return e;var t=e.parentNode;return t&&"A"===t.nodeName?t:null}(t);if(n){var o=function(e){var t=window.WPCOM_sharing_popups;if(!t)return null;for(var n="share-",o=(e.getAttribute("class")||"").split(/\s+/),i=0;i<o.length;i++)if(0===o[i].indexOf(n)){var r=o[i].slice(6);if("string"==typeof t[r])return r}return null}(n);o&&(e.preventDefault(),r&&r.close(),r=window.open(n.getAttribute("href"),function(e){return"string"!=typeof f[e]&&(f[e]="wpcom"+e+"-"+Math.random().toString(36).slice(2)),f[e]}(o),window.WPCOM_sharing_popups[o]))}}}
407),window.WPCOM_sharing_popups_bound=!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.