	<?php
	$active_new_user  = get_option('ssgsw_new_user_activated_key12', '0' );
	$already_update   = get_option('ssgsw_already_updated_key11', '0' );
	$new_trigger_notice = false;
	if ( '1' != $active_new_user && '1' != $already_update && is_admin() ) { //phpcs:ignore
		?>
	<style>
		.osgsw-wrapper .ssgs-dashboard__header {
			display: flex;
			align-items: center;
			justify-content: space-between;
			line-height: 40px;
			padding-top: 20px;
		}
		.ssgsw_notice_container2 {
			display: inline-block;
			position: relative;
			top: -23px;
			right: -46px;
		}
		p.ossgw_setup_now_button {
			position: absolute;
			top: -56px;
			right: -61px;
		}
	</style>
	<div class="ssgsw_appscript_trigger ssgsw_appscript_notice233 ">
		<div class="ssgsw_notice_container">
			<p> <?php esc_html_e('Hey! 👋 We’ve updated our Apps Script Please','stock-sync-with-google-sheet-for-woocommerce'); ?> <strong class="ssgsw_extra_strong"> <?php esc_html_e('update your Apps Script','stock-sync-with-google-sheet-for-woocommerce'); ?> </strong> <?php esc_html_e('on Google sheets ','stock-sync-with-google-sheet-for-woocommerce'); ?> <?php esc_html_e('to enjoy all the new changes.','stock-sync-with-google-sheet-for-woocommerce'); ?>  <span class="ssgsw_remove_text_dec osgsw_remove_text_dec23"><?php esc_html_e('Setup Now →','stock-sync-with-google-sheet-for-woocommerce'); ?></span></p>
			
		</div>
		<div class="ssgsw_notice_container2">
			<span class="dashicons dashicons-dismiss osgsw_notice_off" x-on:click="show_notice_popup_setup = true"></span>
		</div>	
	</div>
		<?php
	}
	?>
	<div id="popup1" class="ssgs_popup-container" x-show="show_notice_popup_setup" style="display: none">
	<div class="ssgs_popup-content" @click.away="show_notice_popup_setup = false">
		<div class="profile-section">
			<div class="profile-details">
				<h3 class="ossgw_profile-title2"><?php esc_html_e('Are you sure to close?','stock-sync-with-google-sheet-for-woocommerce'); ?></h3>
				<p class="ossgw_extra_class2"><?php esc_html_e('Please make sure that you have updated the Apps Script. Otherwise the plugin functionality may not work properly.','stock-sync-with-google-sheet-for-woocommerce'); ?></p>
			</div>
		</div>
		<div class="ssgs_first_section">
			<div class="osgs_button_section">
				
				<button type="button" class="osgsw_save_changes231 button" x-on:click="show_notice_popup_setup = false"><?php esc_html_e(' Later','stock-sync-with-google-sheet-for-woocommerce'); ?></button>
				<button type="button" class="ssgsw_dismiss_notice button" style="background-color:#005ae0; color:#fff"><?php esc_html_e('Confirm & close','stock-sync-with-google-sheet-for-woocommerce'); ?></button>
			</div>
		</div>
	</div>
</div>