<?php
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}
?>
<div class="sticky-lg-top pt-3 pt-md-5">
	<div class="placeresult d-grid">
		<div class="mb-3 text-center wrapresult">
			<div class="resultholder">
				<img alt="qr" width="400" height="400" class="img-fluid" src="<?php echo esc_url( qrcdr_settings()->get_option( 'placeholder', dirname( plugin_dir_url( __FILE__ ) ) . '/images/placeholder.svg' ) ); ?>" />
				<div class="infopanel"></div>
			</div>
			<div class="qrcdr-preloader"><div class="spinner-border" role="status">
				<span class="visually-hidden">Loading...</span></div></div>
			<div class="qrcdr_alert_placeholder toast rounded-0" role="alert" aria-live="assertive" aria-atomic="true" data-autohide="false">
				<div class="toast-header">
					<div class="mr-auto">
						<?php qrcdr_icons()->the_icon( 'ui', 'exlamation_circle' ); ?>
					</div>
					<button type="button" class="ml-2 ms-auto mb-1 btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
				</div>
				<div class="toast-body"></div>
			</div>
		</div>

		<input type="hidden" class="holdresult">

		<button type="button" class="update-qrcode qrcdr-shake btn btn-primary mb-3 d-flex align-items-center justify-content-center" disabled>
			<?php qrcdr_icons()->the_icon( 'ui', 'repeat' ); ?> <span class="ms-2"><?php esc_html_e( 'Update', 'qrcdr' ); ?></span></button>
		<button class="generate_qrcode save-qrcode btn btn-lg btn-primary ellipsis d-flex align-items-center justify-content-center" disabled>
			<?php qrcdr_icons()->the_icon( 'ui', 'download' ); ?> <span class="ms-2"><?php esc_html_e( 'Download', 'qrcdr' ); ?></span></button>
		<div class="text-center mt-2 linksholder"></div>
	</div>
</div>
