SILENT KILLERPanel

Current Path: > home > transcarter > public_html > wp-includes > > js


Operation   : Linux host59.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Software     : Apache
Server IP    : 198.54.126.42 | Your IP: 216.73.216.135
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/transcarter/public_html/wp-includes//js

NameTypeSizeLast ModifiedActions
codemirror Directory - -
crop Directory - -
dist Directory - -
imgareaselect Directory - -
jcrop Directory - -
jquery Directory - -
mediaelement Directory - -
plupload Directory - -
swfupload Directory - -
thickbox Directory - -
tinymce Directory - -
admin-bar.js File 10547 bytes May 11 2024 17:28:08.
admin-bar.min.js File 3487 bytes May 11 2024 17:28:08.
api-request.js File 3324 bytes December 01 2020 03:44:06.
api-request.min.js File 1023 bytes April 08 2022 19:07:18.
autosave.js File 22476 bytes March 18 2021 18:01:04.
autosave.min.js File 5807 bytes February 02 2023 16:36:32.
backbone.js File 79742 bytes August 11 2023 15:12:22.
backbone.min.js File 24140 bytes June 27 2024 12:51:44.
clipboard.js File 26807 bytes October 04 2022 14:55:24.
clipboard.min.js File 9009 bytes June 27 2024 12:51:44.
colorpicker.js File 29083 bytes November 17 2012 15:11:30.
colorpicker.min.js File 16517 bytes September 23 2022 18:55:30.
comment-reply.js File 12457 bytes January 10 2023 09:30:14.
comment-reply.min.js File 2981 bytes June 27 2024 12:51:44.
customize-base.js File 25822 bytes May 20 2023 09:19:24.
customize-base.min.js File 7852 bytes February 02 2023 16:36:32.
customize-loader.js File 7903 bytes April 12 2024 16:47:14.
customize-loader.min.js File 3551 bytes February 02 2023 16:36:32.
customize-models.js File 6821 bytes June 25 2020 11:43:08.
customize-models.min.js File 3681 bytes February 02 2023 16:36:32.
customize-preview-nav-menus.js File 15024 bytes July 27 2020 22:35:02.
customize-preview-nav-menus.min.js File 5038 bytes June 27 2024 12:51:44.
customize-preview-widgets.js File 23253 bytes June 20 2020 11:58:10.
customize-preview-widgets.min.js File 7825 bytes February 02 2023 16:36:32.
customize-preview.js File 27960 bytes July 27 2020 22:35:02.
customize-preview.min.js File 10704 bytes February 02 2023 16:36:32.
customize-selective-refresh.js File 33335 bytes April 12 2024 16:47:14.
customize-selective-refresh.min.js File 10695 bytes June 27 2024 12:51:44.
customize-views.js File 5065 bytes June 28 2018 01:30:16.
customize-views.min.js File 2451 bytes January 06 2021 15:29:24.
heartbeat.js File 23952 bytes October 09 2023 20:31:28.
heartbeat.min.js File 6013 bytes October 09 2023 20:31:28.
hoverIntent.js File 7225 bytes January 03 2022 15:03:18.
hoverIntent.min.js File 1499 bytes June 27 2024 12:51:44.
hoverintent-js.min.js File 1718 bytes December 10 2019 01:03:02.
imagesloaded.min.js File 5520 bytes August 11 2023 17:18:26.
json2.js File 18422 bytes October 06 2015 13:02:26.
json2.min.js File 3143 bytes June 27 2024 12:51:44.
masonry.min.js File 24138 bytes June 13 2020 17:53:28.
mce-view.js File 25849 bytes October 09 2023 20:31:28.
mce-view.min.js File 9770 bytes June 27 2024 12:51:44.
media-audiovideo.js File 24976 bytes February 15 2024 16:53:16.
media-audiovideo.min.js File 12058 bytes February 15 2024 16:53:16.
media-editor.js File 29119 bytes July 27 2020 22:35:02.
media-editor.min.js File 10885 bytes February 02 2023 16:36:32.
media-grid.js File 26808 bytes February 15 2024 16:53:16.
media-grid.min.js File 13260 bytes February 15 2024 16:53:16.
media-models.js File 43761 bytes February 15 2024 16:53:16.
media-models.min.js File 13288 bytes June 27 2024 12:51:44.
media-views.js File 271508 bytes May 14 2024 15:49:10.
media-views.min.js File 109998 bytes June 27 2024 12:51:44.
quicktags.js File 22601 bytes September 08 2021 22:29:58.
quicktags.min.js File 11132 bytes February 02 2023 16:36:32.
shortcode.js File 10758 bytes January 29 2020 00:45:18.
shortcode.min.js File 2643 bytes September 23 2022 18:55:30.
swfobject.js File 10231 bytes April 17 2012 22:09:30.
tw-sack.js File 4969 bytes August 22 2012 23:04:18.
tw-sack.min.js File 3288 bytes April 08 2022 19:07:18.
twemoji.js File 32934 bytes February 13 2024 14:36:08.
twemoji.min.js File 15787 bytes June 27 2024 12:51:44.
underscore.js File 68373 bytes September 27 2022 14:18:26.
underscore.min.js File 18833 bytes June 27 2024 12:51:44.
utils.js File 4665 bytes January 29 2020 00:45:18.
utils.min.js File 1864 bytes September 23 2022 18:55:30.
wp-ajax-response.js File 3837 bytes June 21 2024 17:17:14.
wp-ajax-response.min.js File 2505 bytes June 21 2024 17:17:14.
wp-api.js File 46983 bytes January 10 2023 09:30:14.
wp-api.min.js File 14682 bytes June 27 2024 12:51:44.
wp-auth-check.js File 4207 bytes March 18 2021 18:01:04.
wp-auth-check.min.js File 1658 bytes March 18 2021 18:01:04.
wp-backbone.js File 15241 bytes April 12 2024 16:47:14.
wp-backbone.min.js File 3039 bytes April 08 2022 19:07:18.
wp-custom-header.js File 10465 bytes April 10 2021 11:40:06.
wp-custom-header.min.js File 4442 bytes February 02 2023 16:36:32.
wp-embed-template.js File 6779 bytes November 11 2021 02:49:18.
wp-embed-template.min.js File 3174 bytes June 27 2024 12:51:44.
wp-embed.js File 3214 bytes August 10 2023 18:49:18.
wp-embed.min.js File 1251 bytes June 27 2024 12:51:44.
wp-emoji-loader.js File 12204 bytes February 13 2024 14:36:08.
wp-emoji-loader.min.js File 2929 bytes February 13 2024 14:36:08.
wp-emoji-release.min.js File 18726 bytes June 27 2024 12:51:44.
wp-emoji.js File 8969 bytes February 02 2023 00:53:26.
wp-emoji.min.js File 2890 bytes February 02 2023 00:53:26.
wp-list-revisions.js File 970 bytes June 28 2018 01:30:16.
wp-list-revisions.min.js File 597 bytes January 06 2021 15:29:24.
wp-lists.js File 25315 bytes June 24 2023 13:32:20.
wp-lists.min.js File 7521 bytes June 24 2023 13:32:20.
wp-pointer.js File 10233 bytes February 16 2021 20:25:04.
wp-pointer.min.js File 3621 bytes April 08 2022 19:07:18.
wp-sanitize.js File 1350 bytes September 04 2019 16:13:22.
wp-sanitize.min.js File 458 bytes April 08 2022 19:07:18.
wp-util.js File 4679 bytes September 20 2022 02:52:10.
wp-util.min.js File 1426 bytes September 20 2022 02:52:10.
wpdialog.js File 569 bytes January 24 2023 21:13:12.
wpdialog.min.js File 281 bytes January 24 2023 21:13:12.
wplink.js File 21255 bytes June 20 2024 19:27:12.
wplink.min.js File 11332 bytes June 20 2024 19:27:12.
zxcvbn-async.js File 821 bytes June 28 2018 01:30:16.
zxcvbn-async.min.js File 351 bytes February 23 2021 16:45:20.
zxcvbn.min.js File 822237 bytes October 25 2019 23:17:08.

Reading File: /home/transcarter/public_html/wp-includes//js/wp-emoji-loader.js

/**
 * @output wp-includes/js/wp-emoji-loader.js
 */

/**
 * Emoji Settings as exported in PHP via _print_emoji_detection_script().
 * @typedef WPEmojiSettings
 * @type {object}
 * @property {?object} source
 * @property {?string} source.concatemoji
 * @property {?string} source.twemoji
 * @property {?string} source.wpemoji
 * @property {?boolean} DOMReady
 * @property {?Function} readyCallback
 */

/**
 * Support tests.
 * @typedef SupportTests
 * @type {object}
 * @property {?boolean} flag
 * @property {?boolean} emoji
 */

/**
 * IIFE to detect emoji support and load Twemoji if needed.
 *
 * @param {Window} window
 * @param {Document} document
 * @param {WPEmojiSettings} settings
 */
( function wpEmojiLoader( window, document, settings ) {
	if ( typeof Promise === 'undefined' ) {
		return;
	}

	var sessionStorageKey = 'wpEmojiSettingsSupports';
	var tests = [ 'flag', 'emoji' ];

	/**
	 * Checks whether the browser supports offloading to a Worker.
	 *
	 * @since 6.3.0
	 *
	 * @private
	 *
	 * @returns {boolean}
	 */
	function supportsWorkerOffloading() {
		return (
			typeof Worker !== 'undefined' &&
			typeof OffscreenCanvas !== 'undefined' &&
			typeof URL !== 'undefined' &&
			URL.createObjectURL &&
			typeof Blob !== 'undefined'
		);
	}

	/**
	 * @typedef SessionSupportTests
	 * @type {object}
	 * @property {number} timestamp
	 * @property {SupportTests} supportTests
	 */

	/**
	 * Get support tests from session.
	 *
	 * @since 6.3.0
	 *
	 * @private
	 *
	 * @returns {?SupportTests} Support tests, or null if not set or older than 1 week.
	 */
	function getSessionSupportTests() {
		try {
			/** @type {SessionSupportTests} */
			var item = JSON.parse(
				sessionStorage.getItem( sessionStorageKey )
			);
			if (
				typeof item === 'object' &&
				typeof item.timestamp === 'number' &&
				new Date().valueOf() < item.timestamp + 604800 && // Note: Number is a week in seconds.
				typeof item.supportTests === 'object'
			) {
				return item.supportTests;
			}
		} catch ( e ) {}
		return null;
	}

	/**
	 * Persist the supports in session storage.
	 *
	 * @since 6.3.0
	 *
	 * @private
	 *
	 * @param {SupportTests} supportTests Support tests.
	 */
	function setSessionSupportTests( supportTests ) {
		try {
			/** @type {SessionSupportTests} */
			var item = {
				supportTests: supportTests,
				timestamp: new Date().valueOf()
			};

			sessionStorage.setItem(
				sessionStorageKey,
				JSON.stringify( item )
			);
		} catch ( e ) {}
	}

	/**
	 * Checks if two sets of Emoji characters render the same visually.
	 *
	 * This function may be serialized to run in a Worker. Therefore, it cannot refer to variables from the containing
	 * scope. Everything must be passed by parameters.
	 *
	 * @since 4.9.0
	 *
	 * @private
	 *
	 * @param {CanvasRenderingContext2D} context 2D Context.
	 * @param {string} set1 Set of Emoji to test.
	 * @param {string} set2 Set of Emoji to test.
	 *
	 * @return {boolean} True if the two sets render the same.
	 */
	function emojiSetsRenderIdentically( context, set1, set2 ) {
		// Cleanup from previous test.
		context.clearRect( 0, 0, context.canvas.width, context.canvas.height );
		context.fillText( set1, 0, 0 );
		var rendered1 = new Uint32Array(
			context.getImageData(
				0,
				0,
				context.canvas.width,
				context.canvas.height
			).data
		);

		// Cleanup from previous test.
		context.clearRect( 0, 0, context.canvas.width, context.canvas.height );
		context.fillText( set2, 0, 0 );
		var rendered2 = new Uint32Array(
			context.getImageData(
				0,
				0,
				context.canvas.width,
				context.canvas.height
			).data
		);

		return rendered1.every( function ( rendered2Data, index ) {
			return rendered2Data === rendered2[ index ];
		} );
	}

	/**
	 * Determines if the browser properly renders Emoji that Twemoji can supplement.
	 *
	 * This function may be serialized to run in a Worker. Therefore, it cannot refer to variables from the containing
	 * scope. Everything must be passed by parameters.
	 *
	 * @since 4.2.0
	 *
	 * @private
	 *
	 * @param {CanvasRenderingContext2D} context 2D Context.
	 * @param {string} type Whether to test for support of "flag" or "emoji".
	 * @param {Function} emojiSetsRenderIdentically Reference to emojiSetsRenderIdentically function, needed due to minification.
	 *
	 * @return {boolean} True if the browser can render emoji, false if it cannot.
	 */
	function browserSupportsEmoji( context, type, emojiSetsRenderIdentically ) {
		var isIdentical;

		switch ( type ) {
			case 'flag':
				/*
				 * Test for Transgender flag compatibility. Added in Unicode 13.
				 *
				 * To test for support, we try to render it, and compare the rendering to how it would look if
				 * the browser doesn't render it correctly (white flag emoji + transgender symbol).
				 */
				isIdentical = emojiSetsRenderIdentically(
					context,
					'\uD83C\uDFF3\uFE0F\u200D\u26A7\uFE0F', // as a zero-width joiner sequence
					'\uD83C\uDFF3\uFE0F\u200B\u26A7\uFE0F' // separated by a zero-width space
				);

				if ( isIdentical ) {
					return false;
				}

				/*
				 * Test for UN flag compatibility. This is the least supported of the letter locale flags,
				 * so gives us an easy test for full support.
				 *
				 * To test for support, we try to render it, and compare the rendering to how it would look if
				 * the browser doesn't render it correctly ([U] + [N]).
				 */
				isIdentical = emojiSetsRenderIdentically(
					context,
					'\uD83C\uDDFA\uD83C\uDDF3', // as the sequence of two code points
					'\uD83C\uDDFA\u200B\uD83C\uDDF3' // as the two code points separated by a zero-width space
				);

				if ( isIdentical ) {
					return false;
				}

				/*
				 * Test for English flag compatibility. England is a country in the United Kingdom, it
				 * does not have a two letter locale code but rather a five letter sub-division code.
				 *
				 * To test for support, we try to render it, and compare the rendering to how it would look if
				 * the browser doesn't render it correctly (black flag emoji + [G] + [B] + [E] + [N] + [G]).
				 */
				isIdentical = emojiSetsRenderIdentically(
					context,
					// as the flag sequence
					'\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67\uDB40\uDC7F',
					// with each code point separated by a zero-width space
					'\uD83C\uDFF4\u200B\uDB40\uDC67\u200B\uDB40\uDC62\u200B\uDB40\uDC65\u200B\uDB40\uDC6E\u200B\uDB40\uDC67\u200B\uDB40\uDC7F'
				);

				return ! isIdentical;
			case 'emoji':
				/*
				 * Four and twenty blackbirds baked in a pie.
				 *
				 * To test for Emoji 15.0 support, try to render a new emoji: Blackbird.
				 *
				 * The Blackbird is a ZWJ sequence combining 🐦 Bird and ⬛ large black square.,
				 *
				 * 0x1F426 (\uD83D\uDC26) == Bird
				 * 0x200D == Zero-Width Joiner (ZWJ) that links the code points for the new emoji or
				 * 0x200B == Zero-Width Space (ZWS) that is rendered for clients not supporting the new emoji.
				 * 0x2B1B == Large Black Square
				 *
				 * When updating this test for future Emoji releases, ensure that individual emoji that make up the
				 * sequence come from older emoji standards.
				 */
				isIdentical = emojiSetsRenderIdentically(
					context,
					'\uD83D\uDC26\u200D\u2B1B', // as the zero-width joiner sequence
					'\uD83D\uDC26\u200B\u2B1B' // separated by a zero-width space
				);

				return ! isIdentical;
		}

		return false;
	}

	/**
	 * Checks emoji support tests.
	 *
	 * This function may be serialized to run in a Worker. Therefore, it cannot refer to variables from the containing
	 * scope. Everything must be passed by parameters.
	 *
	 * @since 6.3.0
	 *
	 * @private
	 *
	 * @param {string[]} tests Tests.
	 * @param {Function} browserSupportsEmoji Reference to browserSupportsEmoji function, needed due to minification.
	 * @param {Function} emojiSetsRenderIdentically Reference to emojiSetsRenderIdentically function, needed due to minification.
	 *
	 * @return {SupportTests} Support tests.
	 */
	function testEmojiSupports( tests, browserSupportsEmoji, emojiSetsRenderIdentically ) {
		var canvas;
		if (
			typeof WorkerGlobalScope !== 'undefined' &&
			self instanceof WorkerGlobalScope
		) {
			canvas = new OffscreenCanvas( 300, 150 ); // Dimensions are default for HTMLCanvasElement.
		} else {
			canvas = document.createElement( 'canvas' );
		}

		var context = canvas.getContext( '2d', { willReadFrequently: true } );

		/*
		 * Chrome on OS X added native emoji rendering in M41. Unfortunately,
		 * it doesn't work when the font is bolder than 500 weight. So, we
		 * check for bold rendering support to avoid invisible emoji in Chrome.
		 */
		context.textBaseline = 'top';
		context.font = '600 32px Arial';

		var supports = {};
		tests.forEach( function ( test ) {
			supports[ test ] = browserSupportsEmoji( context, test, emojiSetsRenderIdentically );
		} );
		return supports;
	}

	/**
	 * Adds a script to the head of the document.
	 *
	 * @ignore
	 *
	 * @since 4.2.0
	 *
	 * @param {string} src The url where the script is located.
	 *
	 * @return {void}
	 */
	function addScript( src ) {
		var script = document.createElement( 'script' );
		script.src = src;
		script.defer = true;
		document.head.appendChild( script );
	}

	settings.supports = {
		everything: true,
		everythingExceptFlag: true
	};

	// Create a promise for DOMContentLoaded since the worker logic may finish after the event has fired.
	var domReadyPromise = new Promise( function ( resolve ) {
		document.addEventListener( 'DOMContentLoaded', resolve, {
			once: true
		} );
	} );

	// Obtain the emoji support from the browser, asynchronously when possible.
	new Promise( function ( resolve ) {
		var supportTests = getSessionSupportTests();
		if ( supportTests ) {
			resolve( supportTests );
			return;
		}

		if ( supportsWorkerOffloading() ) {
			try {
				// Note that the functions are being passed as arguments due to minification.
				var workerScript =
					'postMessage(' +
					testEmojiSupports.toString() +
					'(' +
					[
						JSON.stringify( tests ),
						browserSupportsEmoji.toString(),
						emojiSetsRenderIdentically.toString()
					].join( ',' ) +
					'));';
				var blob = new Blob( [ workerScript ], {
					type: 'text/javascript'
				} );
				var worker = new Worker( URL.createObjectURL( blob ), { name: 'wpTestEmojiSupports' } );
				worker.onmessage = function ( event ) {
					supportTests = event.data;
					setSessionSupportTests( supportTests );
					worker.terminate();
					resolve( supportTests );
				};
				return;
			} catch ( e ) {}
		}

		supportTests = testEmojiSupports( tests, browserSupportsEmoji, emojiSetsRenderIdentically );
		setSessionSupportTests( supportTests );
		resolve( supportTests );
	} )
		// Once the browser emoji support has been obtained from the session, finalize the settings.
		.then( function ( supportTests ) {
			/*
			 * Tests the browser support for flag emojis and other emojis, and adjusts the
			 * support settings accordingly.
			 */
			for ( var test in supportTests ) {
				settings.supports[ test ] = supportTests[ test ];

				settings.supports.everything =
					settings.supports.everything && settings.supports[ test ];

				if ( 'flag' !== test ) {
					settings.supports.everythingExceptFlag =
						settings.supports.everythingExceptFlag &&
						settings.supports[ test ];
				}
			}

			settings.supports.everythingExceptFlag =
				settings.supports.everythingExceptFlag &&
				! settings.supports.flag;

			// Sets DOMReady to false and assigns a ready function to settings.
			settings.DOMReady = false;
			settings.readyCallback = function () {
				settings.DOMReady = true;
			};
		} )
		.then( function () {
			return domReadyPromise;
		} )
		.then( function () {
			// When the browser can not render everything we need to load a polyfill.
			if ( ! settings.supports.everything ) {
				settings.readyCallback();

				var src = settings.source || {};

				if ( src.concatemoji ) {
					addScript( src.concatemoji );
				} else if ( src.wpemoji && src.twemoji ) {
					addScript( src.twemoji );
					addScript( src.wpemoji );
				}
			}
		} );
} )( window, document, window._wpemojiSettings );

SILENT KILLER Tool