


<?xml version="1.0"?>
<oembed><version>1.0</version><provider_name>Pacific Petro</provider_name><provider_url>https://demo15.mikotech.com.vn/en/</provider_url><author_name>sysadmin</author_name><author_url>https://demo15.mikotech.com.vn/en/author/sysadmin/</author_url><title>Quality Policy - Pacific Petro</title><type>rich</type><width>600</width><height>338</height><html>&lt;blockquote class="wp-embedded-content" data-secret="aNlbCxoAgP"&gt;&lt;a href="https://demo15.mikotech.com.vn/en/quality-policy/"&gt;Quality Policy&lt;/a&gt;&lt;/blockquote&gt;&lt;iframe sandbox="allow-scripts" security="restricted" src="https://demo15.mikotech.com.vn/en/quality-policy/embed/#?secret=aNlbCxoAgP" width="600" height="338" title="&#x201C;Quality Policy&#x201D; &#x2014; Pacific Petro" data-secret="aNlbCxoAgP" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" class="wp-embedded-content"&gt;&lt;/iframe&gt;&lt;script type="text/javascript"&gt;
/* &lt;![CDATA[ */
/**&#xD;&#xD;
 * WordPress inline HTML embed&#xD;&#xD;
 *&#xD;&#xD;
 * @since 4.4.0&#xD;&#xD;
 * @output wp-includes/js/wp-embed.js&#xD;&#xD;
 *&#xD;&#xD;
 * Single line comments should not be used since they will break&#xD;&#xD;
 * the script when inlined in get_post_embed_html(), specifically&#xD;&#xD;
 * when the comments are not stripped out due to SCRIPT_DEBUG&#xD;&#xD;
 * being turned on.&#xD;&#xD;
 */&#xD;&#xD;
(function ( window, document ) {&#xD;&#xD;
	'use strict';&#xD;&#xD;
&#xD;&#xD;
	/* Abort for ancient browsers. */&#xD;&#xD;
	if ( ! document.querySelector || ! window.addEventListener || typeof URL === 'undefined' ) {&#xD;&#xD;
		return;&#xD;&#xD;
	}&#xD;&#xD;
&#xD;&#xD;
	/** @namespace wp */&#xD;&#xD;
	window.wp = window.wp || {};&#xD;&#xD;
&#xD;&#xD;
	/* Abort if script was already executed. */&#xD;&#xD;
	if ( !! window.wp.receiveEmbedMessage ) {&#xD;&#xD;
		return;&#xD;&#xD;
	}&#xD;&#xD;
&#xD;&#xD;
	/**&#xD;&#xD;
	 * Receive embed message.&#xD;&#xD;
	 *&#xD;&#xD;
	 * @param {MessageEvent} e&#xD;&#xD;
	 */&#xD;&#xD;
	window.wp.receiveEmbedMessage = function( e ) {&#xD;&#xD;
		var data = e.data;&#xD;&#xD;
&#xD;&#xD;
		/* Verify shape of message. */&#xD;&#xD;
		if (&#xD;&#xD;
			! ( data || data.secret || data.message || data.value ) ||&#xD;&#xD;
			/[^a-zA-Z0-9]/.test( data.secret )&#xD;&#xD;
		) {&#xD;&#xD;
			return;&#xD;&#xD;
		}&#xD;&#xD;
&#xD;&#xD;
		var iframes = document.querySelectorAll( 'iframe[data-secret="' + data.secret + '"]' ),&#xD;&#xD;
			blockquotes = document.querySelectorAll( 'blockquote[data-secret="' + data.secret + '"]' ),&#xD;&#xD;
			allowedProtocols = new RegExp( '^https?:$', 'i' ),&#xD;&#xD;
			i, source, height, sourceURL, targetURL;&#xD;&#xD;
&#xD;&#xD;
		for ( i = 0; i &lt; blockquotes.length; i++ ) {&#xD;&#xD;
			blockquotes[ i ].style.display = 'none';&#xD;&#xD;
		}&#xD;&#xD;
&#xD;&#xD;
		for ( i = 0; i &lt; iframes.length; i++ ) {&#xD;&#xD;
			source = iframes[ i ];&#xD;&#xD;
&#xD;&#xD;
			if ( e.source !== source.contentWindow ) {&#xD;&#xD;
				continue;&#xD;&#xD;
			}&#xD;&#xD;
&#xD;&#xD;
			source.removeAttribute( 'style' );&#xD;&#xD;
&#xD;&#xD;
			if ( 'height' === data.message ) {&#xD;&#xD;
				/* Resize the iframe on request. */&#xD;&#xD;
				height = parseInt( data.value, 10 );&#xD;&#xD;
				if ( height &gt; 1000 ) {&#xD;&#xD;
					height = 1000;&#xD;&#xD;
				} else if ( ~~height &lt; 200 ) {&#xD;&#xD;
					height = 200;&#xD;&#xD;
				}&#xD;&#xD;
&#xD;&#xD;
				source.height = height;&#xD;&#xD;
			} else if ( 'link' === data.message ) {&#xD;&#xD;
				/* Link to a specific URL on request. */&#xD;&#xD;
				sourceURL = new URL( source.getAttribute( 'src' ) );&#xD;&#xD;
				targetURL = new URL( data.value );&#xD;&#xD;
&#xD;&#xD;
				if (&#xD;&#xD;
					allowedProtocols.test( targetURL.protocol ) &amp;&amp;&#xD;&#xD;
					targetURL.host === sourceURL.host &amp;&amp;&#xD;&#xD;
					document.activeElement === source&#xD;&#xD;
				) {&#xD;&#xD;
					window.top.location.href = data.value;&#xD;&#xD;
				}&#xD;&#xD;
			}&#xD;&#xD;
		}&#xD;&#xD;
	};&#xD;&#xD;
&#xD;&#xD;
	function onLoad() {&#xD;&#xD;
		var iframes = document.querySelectorAll( 'iframe.wp-embedded-content' ),&#xD;&#xD;
			i, source, secret;&#xD;&#xD;
&#xD;&#xD;
		for ( i = 0; i &lt; iframes.length; i++ ) {&#xD;&#xD;
			/** @var {IframeElement} */&#xD;&#xD;
			source = iframes[ i ];&#xD;&#xD;
&#xD;&#xD;
			secret = source.getAttribute( 'data-secret' );&#xD;&#xD;
			if ( ! secret ) {&#xD;&#xD;
				/* Add secret to iframe */&#xD;&#xD;
				secret = Math.random().toString( 36 ).substring( 2, 12 );&#xD;&#xD;
				source.src += '#?secret=' + secret;&#xD;&#xD;
				source.setAttribute( 'data-secret', secret );&#xD;&#xD;
			}&#xD;&#xD;
&#xD;&#xD;
			/*&#xD;&#xD;
			 * Let post embed window know that the parent is ready for receiving the height message, in case the iframe&#xD;&#xD;
			 * loaded before wp-embed.js was loaded. When the ready message is received by the post embed window, the&#xD;&#xD;
			 * window will then (re-)send the height message right away.&#xD;&#xD;
			 */&#xD;&#xD;
			source.contentWindow.postMessage( {&#xD;&#xD;
				message: 'ready',&#xD;&#xD;
				secret: secret&#xD;&#xD;
			}, '*' );&#xD;&#xD;
		}&#xD;&#xD;
	}&#xD;&#xD;
&#xD;&#xD;
	window.addEventListener( 'message', window.wp.receiveEmbedMessage, false );&#xD;&#xD;
	document.addEventListener( 'DOMContentLoaded', onLoad, false );&#xD;&#xD;
})( window, document );&#xD;&#xD;

/* ]]&gt; */
&lt;/script&gt;
</html></oembed>
