( function( window, document, $ ) {
	'use strict';

	// document ready
	$( function() {
		if ( ! $.tcAPIGet ) {
			return;
		}
		$( document ).on( 'show.bs.aromodal', '.product-aromodal', function( event ) {
			var epo = $( event.currentTarget ).find( $.tcAPIGet( 'epoSelector' ) );
			$( window ).trigger( 'tc_manual_init', { container: epo, reactivate: true } );
		} );
	} );
}( window, document, window.jQuery ) );
