<?php
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}
$popOut = '<div id="tamiCheckoutPaymentFormPopupContainer">
    <div class="tami-card-popup">
        <div class="tami-card-popup-inner" id="tami-card-popup-inner">
            <div>
                <button type="button" class="tami-card-popup-close-btn" id="tami-card-popup-close-btn">
                    <span>&times;</span>
                </button>
                <iframe
                        id="tami-card-popup-iframe"
                        class="tami-card-popup-iframe"
                        width="100%" height="100%" frameborder="0">
                </iframe>
            </div>
            <div class="tami-card-popup-loading">
                <p>' . esc_attr__( 'Contacting your bank.', 'tami-payment' ) . '</p>
                <p><strong>' . esc_attr__( 'Please wait...', 'tami-payment' ) . '</strong></p>
            </div>
        </div>
    </div>
</div>';

echo wp_kses( $popOut, array(
	'a'      => array( 'href' => true, 'class' => true ),
	'div'    => array( 'id' => true, 'class' => true ),
	'span'   => array( 'class' => true ),
	'strong' => array( 'class' => true ),
	'p'      => array( 'class' => true ),
	'button' => array( 'class' => true, 'type' => true, 'id' => true ),
	'iframe' => array( 'src'         => true,
	                   'class'       => true,
	                   'id'          => true,
	                   'width'       => true,
	                   'height'      => true,
	                   'frameborder' => true
	),
) );
