PageSourceSearch

https://frectal.com/_static/??-eJx9jksOwjAMBS9EalBVoAvEUSqTGJQ2P8U…/gXv9yE7ba7wcTudh7MdhPM5vs9tVjQ==

js frectal.com collected 2026-09-27 03:41:24 UTC 17,579 bytes, 408 lines download raw bytes

1/*! This file is auto-generated */
2window.addComment=function(v){var I,C,h,E=v.document,b={commentReplyClass:"comment-reply-link",commentReplyTitleId:"reply-title",cancelReplyId:"cancel-comment-reply-link",commentFormId:"commentform",temporaryFormId:"wp-temp-form-div",parentIdFieldId:"comment_parent",postIdFieldId:"comment_post_ID"},e=v.MutationObserver||v.WebKitMutationObserver||v.MozMutationObserver,i="querySelector"in E&&"addEventListener"in v,n=!!E.documentElement.dataset;function t(){o(),e&&new e(d).observe(E.body,{childList:!0,subtree:!0})}function o(e){if(i&&(I=g(b.cancelReplyId),C=g(b.commentFormId),I)){I.addEventListener("click",l);function t(e){if((e.metaKey||e.ctrlKey)&&13===e.keyCode&&"a"!==E.activeElement.tagName.toLowerCase())return C.removeEventListener("keydown",t),e.preventDefault(),C.submit.click(),!1}C&&C.addEventListener("keydown",t);for(var n=function(e){var t=b.commentReplyClass;e&&e.childNodes||(e=E);e=E.getElementsByClassName?e.getElementsByClassName(t):e.querySelectorAll("."+t);return e}(e),o=0,d=n.length;o<d;o++)n[o].addEventListener("click",r)}}function l(e){var t,n,o=g(b.temporaryFormId);o&&h&&(g(b.parentIdFieldId).value="0",t=o.textContent,o.parentNode.replaceChild(h,o),this.style.display="none",n=(o=(o=g(b.commentReplyTitleId))&&o.firstChild)&&o.nextSibling,o&&o.nodeType===Node.TEXT_NODE&&t&&(n&&"A"===n.nodeName&&n.id!==b.cancelReplyId&&(n.style.display=""),o.textContent=t),e.preventDefault())}function r(e){var t=g(b.commentReplyTitleId),t=t&&t.firstChild.textContent,n=this,o=a(n,"belowelement"),d=a(n,"commentid"),i=a(n,"respondelement"),l=a(n,"postid"),n=a(n,"replyto")||t;o&&d&&i&&l&&!1===v.addComment.moveForm(o,d,i,l,n)&&e.preventDefault()}function d(e){for(var t=e.length;t--;)if(e[t].addedNodes.length)return void o()}function a(e,t){return n?e.dataset[t]:e.getAttribute("data-"+t)}function g(e){return E.getElementById(e)}return i&&"loading"!==E.readyState?t():i&&v.addEventListener("DOMContentLoaded",t,!1),{init:o,moveForm:function(e,t,n,o,d){var i,l,r,a,m,c,s,e=g(e),n=(h=g(n),g(b.parentIdFieldId)),y=g(b.postIdFieldId),p=g(b.commentReplyTitleId),u=(p=p&&p.firstChild)&&p.nextSibling;if(e&&h&&n){void 0===d&&(d=p&&p.textContent),a=h,m=b.temporaryFormId,c=g(m),s=(s=g(b.commentReplyTitleId))?s.firstChild.textContent:"",c||((c=E.createElement("div")).id=m,c.style.display="none",c.textContent=s,a.parentNode.insertBefore(c,a)),o&&y&&(y.value=o),n.value=t,I.style.display="",e.parentNode.insertBefore(h,e.nextSibling),p&&p.nodeType===Node.TEXT_NODE&&(u&&"A"===u.nodeName&&u.id!==b.cancelReplyId&&(u.style.display="none"),p.textContent=d),I.onclick=function(){return!1};try{for(var f=0;f<C.elements.length;f++)if(i=C.elements[f],l=!1,"getComputedStyle"in v?r=v.getComputedStyle(i):E.documentElement.currentStyle&&(r=i.currentStyle),(i.offsetWidth<=0&&i.offsetHeight<=0||"hidden"===r.visibility)&&(l=!0),"hidden"!==i.type&&!i.disabled&&!l){i.focus();break}}catch(e){}return!1}}}}(window);;
3!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"}
3),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})());;
4/**
5 * Observe how the user enters content into the comment form in order to determine whether it's a bot or not.
6 *
7 * Note that no actual input is being saved here, only counts and timings between events.
8 */
9
10( function() {
11	// Passive event listeners are guaranteed to never call e.preventDefault(),
12	// but they're not supported in all browsers.  Use this feature detection
13	// to determine whether they're available for use.
14	var supportsPassive = false;
15
16	try {
17		var opts = Object.defineProperty( {}, 'passive', {
18			get : function() {
19				supportsPassive = true;
20			}
21		} );
22
23		window.addEventListener( 'testPassive', null, opts );
24		window.removeEventListener( 'testPassive', null, opts );
25	} catch ( e ) {}
26
27	function init() {
28		var input_begin = '';
29
30		var keydowns = {};
31		var lastKeyup = null;
32		var lastKeydown = null;
33		var keypresses = [];
34
35		var modifierKeys = [];
36		var correctionKeys = [];
37
38		var lastMouseup = null;
39		var lastMousedown = null;
40		var mouseclicks = [];
41		var mouseclickCoordinates = [];
42
43		var mousemoveTimer = null;
44		var lastMousemoveX = null;
45		var lastMousemoveY = null;
46		var lastMousemoveTime = null;
47		var mousemoveStart = null;
48		var mousemoves = [];
49		var intervalsBetweenMousemovesAndClicks = [];
50
51		var touchmoveCountTimer = null;
52		var touchmoveCount = 0;
53
54		var lastTouchEnd = null;
55		var lastTouchStart = null;
56		var touchEvents = [];
57
58		var scrollCountTimer = null;
59		var scrollCount = 0;
60
61		var correctionKeyCodes = [ 'Backspace', 'Delete', 'ArrowUp', 'ArrowDown', 'ArrowLeft', 'ArrowRight', 'Home', 'End', 'PageUp', 'PageDown' ];
62		var modifierKeyCodes = [ 'Shift', 'CapsLock' ];
63
64		var forms = document.querySelectorAll( 'form[method=post]' );
65
66		for ( var i = 0; i < forms.length; i++ ) {
67			var form = forms[i];
68
69			var formAction = form.getAttribute( 'action' );
70
71			// Ignore forms that POST directly to other domains; these could be things like payment forms.
72			if ( formAction ) {
73				// Check that the form is posting to an external URL, not a path.
74				if ( formAction.indexOf( 'http://' ) == 0 || formAction.indexOf( 'https://' ) == 0 ) {
75					if ( formAction.indexOf( 'http://' + window.location.hostname + '/' ) != 0 && formAction.indexOf( 'https://' + window.location.hostname + '/' ) != 0 ) {
76						continue;
77					}
78				}
79			}
80
81			form.addEventListener( 'submit', function () {
82				var ak_bkp = prepare_array_for_request( keypresses );
83				var ak_bmc = prepare_array_for_request( mouseclicks );
84				var ak_bte = prepare_array_for_request( touchEvents );
85				var ak_bmm = prepare_array_for_request( mousemoves );
86				var ak_bcc = prepare_array_for_request( mouseclickCoordinates );
87				var ak_bibmac = intervalsBetweenMousemovesAndClicks.slice( 0, 100 ).join( ';' );
88
89				var input_fields = {
90					// When did the user begin entering any input?
91					'bib': input_begin,
92
93					// When was the form submitted?
94					'bfs': Date.now(),
95
96					// How many keypresses did they make?
97					'bkpc': keypresses.length,
98
99					// How quickly did they press a sample of keys, and how long between them?
100					'bkp': ak_bkp,
101
102					// How quickly did they click the mouse, and how long between clicks?
103					'bmc': ak_bmc,
104
105					// How many mouseclicks did they make?
106					'bmcc': mouseclicks.length,
107
108					// When did they press modifier keys (like Shift or Capslock)?
109					'bmk': modifierKeys.join( ';' ),
110
111					// When did they correct themselves? e.g., press Backspace, or use the arrow keys to move the cursor back
112					'bck': correctionKeys.join( ';' ),
113
114					// How many times did they move the mouse?
115					'bmmc': mousemoves.length,
116
117					// How many times did they move around using a touchscreen?
118					'btmc': touchmoveCount,
119
120					// How many times did they scroll?
121					'bsc': scrollCount,
122
123					// How quickly did they perform touch events, and how long between them?
124					'bte': ak_bte,
125
126					// How many touch events were there?
127					'btec' : touchEvents.length,
128
129					// How quickly did they move the mouse, and how long between moves?
130					'bmm' : ak_bmm,
131
132					// Click coordinates
133					'bcc' : ak_bcc,
134
135					// Milliseconds between last mouse movement and each click
136					'bibmac' : ak_bibmac
137				};
138
139				var akismet_field_prefix = 'ak_';
140
141				if ( this.getElementsByClassName ) {
142					// 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.
143					var possible_akismet_containers = this.getElementsByClassName( 'akismet-fields-container' );
144
145					for ( var containerIndex = 0; containerIndex < possible_akismet_containers.length; containerIndex++ ) {
146						var container = possible_akismet_containers.item( containerIndex );
147
148						if ( container.getAttribute( 'data-prefix' ) ) {
149							akismet_field_prefix = container.getAttribute( 'data-prefix' );
150							break;
151						}
152					}
153				}
154
155				for ( var field_name in input_fields ) {
156					var field = document.createElement( 'input' );
157					field.setAttribute( 'type', 'hidden' );
158					field.setAttribute( 'name', akismet_field_prefix + field_name );
159					field.setAttribute( 'value', input_fields[ field_name ] );
160					this.appendChild( field );
161				}
162			}, supportsPassive ? { passive: true } : false  );
163
164			form.addEventListener( 'keydown', function ( e ) {
165				// If you hold a key down, some browsers send multiple keydown events in a row.
166				// Ignore any keydown events for a key that hasn't come back up yet.
167				if ( e.key in keydowns ) {
168					return;
169				}
170
171				var keydownTime = ( new Date() ).getTime();
172				keydowns[ e.key ] = [ keydownTime ];
173
174				if ( ! input_begin ) {
175					input_begin = keydownTime;
176				}
177
178				// In some situations, we don't want to record an interval since the last keypress -- for example,
179				// on the first keypress, or on a keypress after focus has changed to another element. Normally,
180				// we want to record the time between the last keyup and this keydown. But if they press a
181				// key while already pressing a key, we want to record the time between the two keydowns.
182
183				var lastKeyEvent = Math.max( lastKeydown, lastKeyup );
184
185				if ( lastKeyEvent ) {
186					keydowns[ e.key ].push( keydownTime - lastKeyEvent );
187				}
188
189				lastKeydown = keydownTime;
190			}, supportsPassive ? { passive: true } : false  );
191
192			form.addEventListener( 'keyup', function ( e ) {
193				if ( ! ( e.key in keydowns ) ) {
194					// This key was pressed before this script was loaded, or a mouseclick happened during the keypress, or...
195					return;
196				}
197
198				var keyupTime = ( new Date() ).getTime();
199
200				if ( 'TEXTAREA' === e.target.nodeName || 'INPUT' === e.target.nodeName ) {
201					if ( -1 !== modifierKeyCodes.indexOf( e.key ) ) {
202						modifierKeys.push( keypresses.length - 1 );
203					} else if ( -1 !== correctionKeyCodes.indexOf( e.key ) ) {
204						correctionKeys.push( keypresses.length - 1 );
205					} else {
206						// ^ Don't record timings for keys like Shift or backspace, since they
207						// typically get held down for longer than regular typing.
208
209						var keydownTime = keydowns[ e.key ][0];
210
211						var keypress = [];
212
213						// Keypress duration.
214						keypress.push( keyupTime - keydownTime );
215
216						// Amount of time between this keypress and the previous keypress.
217						if ( keydowns[ e.key ].length > 1 ) {
218							keypress.push( keydowns[ e.key ][1] );
219						}
220
221						keypresses.push( keypress );
222					}
223				}
224
225				delete keydowns[ e.key ];
226
227				lastKeyup = keyupTime;
228			}, supportsPassive ? { passive: true } : false  );
229
230			form.addEventListener( "focusin", function ( e ) {
231				lastKeydown = null;
232				lastKeyup = null;
233				keydowns = {};
234			}, supportsPassive ? { passive: true } : false  );
235
236			form.addEventListener( "focusout", function ( e ) {
237				lastKeydown = null;
238				lastKeyup = null;
239				keydowns = {};
240			}, supportsPassive ? { passive: true } : false  );
241		}
242
243		document.addEventListener( 'mousedown', function ( e ) {
244			lastMousedown = ( new Date() ).getTime();
245
246			if ( lastMousemoveTime ) {
247				intervalsBetweenMousemovesAndClicks.push( lastMousedown - lastMousemoveTime );
248			}
249
250			var mouseclickCoordinate = [];
251
252			var rect = e.target.getBoundingClientRect();
253			var relativeX = e.clientX - rect.left;
254			var relativeY = e.clientY - rect.top;
255
256			// Pixel offset of the click within the target element.
257			mouseclickCoordinate.push( Math.round( relativeX ) );
258			mouseclickCoordinate.push( Math.round( relativeY ) );
259
260			// Percentage offset of the click within the target element.
261			mouseclickCoordinate.push( rect.width > 0 ? Math.round( relativeX / rect.width * 100 ) : 0 );
262			mouseclickCoordinate.push( rect.height > 0 ? Math.round( relativeY / rect.height * 100 ) : 0 );
263
264			mouseclickCoordinates.push( mouseclickCoordinate );
265		}, supportsPassive ? { passive: true } : false  );
266
267		document.addEventListener( 'mouseup', function ( e ) {
268			if ( ! lastMousedown ) {
269				// If the mousedown happened before this script was loaded, but the mouseup happened after...
270				return;
271			}
272
273			var now = ( new Date() ).getTime();
274
275			var mouseclick = [];
276			mouseclick.push( now - lastMousedown );
277
278			if ( lastMouseup ) {
279				mouseclick.push( lastMousedown - lastMouseup );
280			}
281
282			mouseclicks.push( mouseclick );
283
284			lastMouseup = now;
285
286			// If the mouse has been clicked, don't record this time as an interval between keypresses.
287			lastKeydown = null;
288			lastKeyup = null;
289			keydowns = {};
290		}, supportsPassive ? { passive: true } : false  );
291
292		document.addEventListener( 'mousemove', function ( e ) {
293			lastMousemoveTime = ( new Date() ).getTime();
294
295			if ( mousemoveTimer ) {
296				clearTimeout( mousemoveTimer );
297				mousemoveTimer = null;
298			}
299			else {
300				mousemoveStart = lastMousemoveTime;
301				lastMousemoveX = e.offsetX;
302				lastMousemoveY = e.offsetY;
303			}
304
305			mousemoveTimer = setTimeout( function ( theEvent, originalMousemoveStart ) {
306				var now = ( new Date() ).getTime() - 500; // To account for the timer delay.
307
308				var mousemove = [];
309				mousemove.push( now - originalMousemoveStart );
310				mousemove.push(
311					Math.round(
312						Math.sqrt(
313							Math.pow( theEvent.offsetX - lastMousemoveX, 2 ) +
314							Math.pow( theEvent.offsetY - lastMousemoveY, 2 )
315						)
316					)
317				);
318
319				if ( mousemove[1] > 0 ) {
320					// If there was no measurable distance, then it wasn't really a move.
321					mousemoves.push( mousemove );
322				}
323
324				mousemoveStart = null;
325				mousemoveTimer = null;
326			}, 500, e, mousemoveStart );
327		}, supportsPassive ? { passive: true } : false  );
328
329		document.addEventListener( 'touchmove', function ( e ) {
330			if ( touchmoveCountTimer ) {
331				clearTimeout( touchmoveCountTimer );
332			}
333
334			touchmoveCountTimer = setTimeout( function () {
335				touchmoveCount++;
336			}, 500 );
337		}, supportsPassive ? { passive: true } : false );
338
339		document.addEventListener( 'touchstart', function ( e ) {
340			lastTouchStart = ( new Date() ).getTime();
341		}, supportsPassive ? { passive: true } : false );
342
343		document.addEventListener( 'touchend', function ( e ) {
344			if ( ! lastTouchStart ) {
345				// If the touchstart happened before this script was loaded, but the touchend happened after...
346				return;
347			}
348
349			var now = ( new Date() ).getTime();
350
351			var touchEvent = [];
352			touchEvent.push( now - lastTouchStart );
353
354			if ( lastTouchEnd ) {
355				touchEvent.push( lastTouchStart - lastTouchEnd );
356			}
357
358			touchEvents.push( touchEvent );
359
360			lastTouchEnd = now;
361
362			// Don't record this time as an interval between keypresses.
363			lastKeydown = null;
364			lastKeyup = null;
365			keydowns = {};
366		}, supportsPassive ? { passive: true } : false );
367
368		document.addEventListener( 'scroll', function ( e ) {
369			if ( scrollCountTimer ) {
370				clearTimeout( scrollCountTimer );
371			}
372
373			scrollCountTimer = setTimeout( function () {
374				scrollCount++;
375			}, 500 );
376		}, supportsPassive ? { passive: true } : false );
377	}
378
379	/**
380	 * For the timing/coordinate data that is collected, don't send more than `limit` data points in the request.
381	 * Choose a random slice and send those, with each batch separated by semicolons and the items in each batch
382	 * separated by commas.
383	 */
384	function prepare_array_for_request( a, limit ) {
385		if ( ! limit ) {
386			limit = 100;
387		}
388
389		var rv = '';
390
391		if ( a.length > 0 ) {
392			var random_starting_point = Math.max( 0, Math.floor( Math.random() * a.length - limit ) );
393
394			for ( var i = 0; i < limit && i < a.length; i++ ) {
395				var entry = a[ random_starting_point + i ];
396				rv += entry.join( ',' ) + ';';
397			}
398		}
399
400		return rv;
401	}
402
403	if ( document.readyState !== 'loading' ) {
404		init();
405	} else {
406		document.addEventListener( 'DOMContentLoaded', init );
407	}
408})();;

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.