// source --> https://trisparkacademy.com/wp-content/plugins/solid_affiliate/app/../assets/js/solid-shared.js?ver=11.5.1 //////////////////////////////////////////////////////////////////////////////////////// // STORE CREDIT // This is currently being used by the Store Credit addon to enable the // 'apply store credit' button for logged in affiliates, on the cart and checkout pages. //////////////////////////////////////////////////////////////////////////////////////// jQuery(document).ready(function () { jQuery(".sld-ajax-button").click(function (e) { e.preventDefault(); $this = jQuery(this); var ajax_action = $this.data("ajax-action"); var ajaxurl = sld_affiliate_js_variables.ajaxurl + "?action=" + ajax_action; var post_data = $this.data("postdata"); post_data.action = ajax_action; jQuery.ajax({ url: ajaxurl, type: 'POST', data: post_data, beforeSend: function () { $this.addClass("sld-ajax-button-loading"); }, success: function (response) { if (response["success"] && response["data"]["valid"]) { jQuery(document.body).trigger("wc_update_cart"); jQuery(document.body).trigger("update_checkout"); } else if (response["success"] == false) { var msg = response["data"]["error"]; alert(msg); } $this.removeClass("sld-ajax-button-loading"); }, error: function (response) { $this.removeClass("sld-ajax-button-loading"); var msg = response["data"]["error"]; alert(msg); }, }); }); }); // source --> https://trisparkacademy.com/wp-content/plugins/tutor-lms-elementor-addons/assets/js/slick.min.js?ver=2.1.2 ! function(i) { "use strict"; "function" == typeof define && define.amd ? define(["jquery"], i) : "undefined" != typeof exports ? module.exports = i(require("jquery")) : i(jQuery) }(function(i) { "use strict"; var e = window.Slick || {}; (e = function() { var e = 0; return function(t, o) { var s, n = this; n.defaults = { accessibility: !0, adaptiveHeight: !1, appendArrows: i(t), appendDots: i(t), arrows: !0, asNavFor: null, prevArrow: '', nextArrow: '', autoplay: !1, autoplaySpeed: 3e3, centerMode: !1, centerPadding: "50px", cssEase: "ease", customPaging: function(e, t) { return i('