Magnific Popup
Examples using this library to implement and use custom-coded popups (a library that comes within the theme and is lazy loaded)
Ensure that dependencies are correct when enqueuing a script array( 'jquery', 'flatsome-js' )
with wp_enqueue_script or wp_register_script