<?php
// defaults.
$vars = array(
	'auth_url' => '',
	'token'    => '',
);
/** @var array $template_vars */
foreach ( $template_vars as $key => $val ) {
	$vars[ $key ] = $val;
}
?>

<div class="forminator-integration-popup__header">

	<span class="sui-icon-loader sui-loading" style="margin-bottom: 10px;" aria-hidden="true"></span>

	<h3 id="forminator-integration-popup__title" class="sui-box-title sui-lg" style="overflow: initial; white-space: normal; text-overflow: initial;"><?php esc_html__( 'Waiting...', 'forminator' ); ?></h3>

</div>

<p id="forminator-integration-popup__descripton" class="sui-description" style="text-align: center;"><?php esc_html_e( 'We are waiting for authorization from Slack...', 'forminator' ); ?></p>

<div class="forminator-integration-popup__footer-temp">
	<a href="<?php echo esc_attr( $vars['auth_url'] ); ?>" target="_blank" class="sui-button forminator-integration-popup__close"><?php esc_html_e( 'Retry', 'forminator' ); ?></a>
</div>
