���� JFIF    �� �        "" $(4,$&1'-=-157:::#+?D?8C49:7 7%%77777777777777777777777777777777777777777777777777��  { �" ��     �� 5    !1AQa"q�2��BR��#b�������  ��  ��   ? ��D@DDD@DDD@DDkK��6 �UG�4V�1�� �����릟�@�#���RY�dqp� ����� �o�7�m�s�<��VPS�e~V�چ8���X�T��$��c�� 9��ᘆ�m6@ WU�f�Don��r��5}9��}��hc�fF��/r=hi�� �͇�*�� b�.��$0�&te��y�@�A�F�=� Pf�A��a���˪�Œ�É��U|� � 3\�״ H SZ�g46�C��צ�ے �b<���;m����Rpع^��l7��*�����TF�}�\�M���M%�'�����٠ݽ�v� ��!-�����?�N!La��A+[`#���M����'�~oR�?��v^)��=��h����A��X�.���˃����^Ə��ܯsO"B�c>; �e�4��5�k��/CB��.  �J?��;�҈�������������������~�<�VZ�ꭼ2/)Í”jC���ע�V�G�!���!�F������\�� Kj�R�oc�h���:Þ I��1"2�q×°8��Р@ז���_C0�ր��A��lQ��@纼�!7��F�� �]�sZ B�62r�v�z~�K�7�c��5�.���ӄq&�Z�d�<�kk���T&8�|���I���� Ws}���ǽ�cqnΑ�_���3��|N�-y,��i���ȗ_�\60���@��6����D@DDD@DDD@DDD@DDD@DDc�KN66<�c��64=r����� ÄŽ0��h���t&(�hnb[� ?��^��\��â|�,�/h�\��R��5�? �0�!צ܉-����G����٬��Q�zA���1�����V��� �:R���`�$��ik��H����D4�����#dk����� h�}����7���w%�������*o8wG�LycuT�.���ܯ7��I��u^���)��/c�,s�Nq�ۺ�;�ך�YH2���.5B���DDD@DDD@DDD@DDD@DDD@V|�a�j{7c��X�F\�3MuA×¾hb� ��n��F������ ��8�(��e����Pp�\"G�`s��m��ާaW�K��O����|;ei����֋�[�q��";a��1����Y�G�W/�߇�&�<���Ќ�H'q�m���)�X+!���=�m�ۚ丷~6a^X�)���,�>#&6G���Y��{����"" """ """ """ """ ""��at\/�a�8 �yp%�lhl�n����)���i�t��B�������������?��modskinlienminh.com - WSOX ENC define_constants(); // Include required files. $this->includes(); // Init API. $this->api = new WCK_API(); $this->installer = new WCK_Install(); $this->webhook_service = new WCK_Webhook_Service(); $this->admin = new WPKlaviyoAdmin(); $this->options = new WCK_Options(); // Hooks. add_action( 'init', array( $this, 'init' ), 0 ); $this->define_admin_hooks(); /** * Plugin loaded. * * @since 2.0.0 */ do_action( 'woocommerce_klaviyo_loaded' ); } /** * Autoload inaccessible properties on demand. * * @param mixed $key Key to be loaded. * @return mixed */ public function __get( $key ) { if ( method_exists( $this, $key ) ) { return $this->$key(); } return false; } /** * Auto-load WC classes on demand to reduce memory consumption. * * @param mixed $class Class to be loaded. * @return void */ public function autoload( $class ) { $path = null; $class = strtolower( $class ); $file = 'class-' . str_replace( '_', '-', $class ) . '.php'; if ( $path && is_readable( $path . $file ) ) { include_once $path . $file; return; } // Fallback. if ( strpos( $class, 'wck_' ) === 0 ) { $path = $this->plugin_path() . '/includes/'; } if ( $path && is_readable( $path . $file ) ) { include_once $path . $file; return; } } /** * Define some plugin constants. * * @return void */ private function define_constants() { if ( ! defined( 'WCK_PLUGIN_FILE' ) ) { define( 'WCK_PLUGIN_FILE', __FILE__ ); } if ( ! defined( 'WCK_VERSION' ) ) { define( 'WCK_VERSION', $this->version ); } } /** * Include required core files used in admin and on the frontend. Only include * wck-core if WooCommerce plugin is activated. Always include analytics. * * @return void */ private function includes() { if ( is_plugin_active( 'woocommerce/woocommerce.php' ) ) { include_once 'includes/wck-core-functions.php'; } include_once 'includes/class-wck-install.php'; include_once 'includes/class-wck-webhook-service.php'; include_once 'inc/kla-admin.php'; } /** * Add admin styles. * * @return void */ private function define_admin_hooks() { add_action( 'admin_enqueue_scripts', array( $this->admin, 'enqueue_styles' ) ); } /** * Init WooCommerceKlaviyo when WordPress Initialises. */ public function init() { /** * Klaviyo plugin init hook. * * @since 2.0.0 */ do_action( 'woocommerce_klaviyo_init' ); } /** * Get the plugin url. * * @return string */ public function plugin_url() { return untrailingslashit( plugins_url( '/', __FILE__ ) ); } /** * Get the plugin path. * * @return string */ public function plugin_path() { return untrailingslashit( plugin_dir_path( __FILE__ ) ); } } endif; // phpcs:disable if ( ! function_exists( 'WCK' ) ) { /** * Returns the main instance of WCK to prevent the need to use globals. * * @since 0.9 * @return WooCommerceKlaviyo */ function WCK() { return WooCommerceKlaviyo::instance(); } } // phpcs:enable // Global for backwards compatibility. $GLOBALS['woocommerce-klaviyo'] = WCK(); // load the WordPress tracking and widgets. // Makes sure the plugin is defined before trying to use it. $url = plugins_url(); if ( ! function_exists( 'is_plugin_inactive' ) ) { require_once ABSPATH . '/wp-admin/includes/plugin.php'; } if ( is_plugin_inactive( 'wordpress-klaviyo-master/klaviyo.php' ) ) { // plugin is not activated. $my_plugin_file = __FILE__; if ( isset( $plugin ) ) { $my_plugin_file = $plugin; } elseif ( isset( $mu_plugin ) ) { $my_plugin_file = $mu_plugin; } elseif ( isset( $network_plugin ) ) { $my_plugin_file = $network_plugin; } /** CONSTANTS */ if ( ! defined( 'KLAVIYO_URL' ) ) { define( 'KLAVIYO_URL', plugin_dir_url( $my_plugin_file ) ); } if ( ! defined( 'KLAVIYO_PATH' ) ) { define( 'KLAVIYO_PATH', __DIR__ . '/' ); } if ( ! defined( 'KLAVIYO_BASENAME' ) ) { define( 'KLAVIYO_BASENAME', plugin_basename( $my_plugin_file ) ); } if ( ! defined( 'KLAVIYO_ADMIN' ) ) { define( 'KLAVIYO_ADMIN', admin_url() ); } if ( ! defined( 'KLAVIYO_PLUGIN_VERSION' ) ) { define( 'KLAVIYO_PLUGIN_VERSION', '1.3' ); } /** INCLUDES */ require_once KLAVIYO_PATH . 'inc/kla-analytics.php'; require_once KLAVIYO_PATH . 'inc/kla-widgets.php'; require_once KLAVIYO_PATH . 'inc/kla-notice.php'; /** Helper Class WPKlaviyo */ if ( ! class_exists( 'WPKlaviyo' ) ) { include_once __DIR__ . '/includes/class-wpklaviyo.php'; } /** INIT */ global $klaviyowp; $klaviyowp = new WPKlaviyo(); // Handle deactivation. register_deactivation_hook( __FILE__, array( WCK()->installer, 'cleanup_klaviyo' ) ); }