     1:  2:  3:  4:  5:  6:  7:  8:  9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24:

    <?php

    namespace WPGMZA;

    /**
     * Base class for remodal dependent modal dialogs. This class enqueues the relevant scripts and styles.
     */
    class ModalDialog extends DOMDocument
    {
        /**
         * Constructor
         */
        public function __construct()
        {
            DOMDocument::__construct();

            wp_enqueue_script('remodal', plugin_dir_url(__DIR__) . 'lib/remodal.min.js');
            wp_enqueue_style('remodal', plugin_dir_url(__DIR__) . 'lib/remodal.css');
            wp_enqueue_style('remodal-default-theme', plugin_dir_url(__DIR__) . 'lib/remodal-default-theme.css');

            wp_enqueue_style('wpgmaps-style-pro', plugin_dir_url(__DIR__) . 'css/wpgmza_style_pro.css');
        }
    }