!function(a,t,e,n){"use strict";a((function(){function t(){var t=new FormData;t.append("action","kadence_dismiss_notice"),t.append("security",kadenceStarterInstall.ajax_nonce),a.ajax({url:kadenceStarterInstall.ajax_url,method:"POST",data:t,contentType:!1,processData:!1})}a("#kadence-notice-starter-templates .notice-dismiss").on("click",(function(a){t()})),a("#kadence-notice-starter-templates .kadence-install-starter-btn").on("click",(function(e){var n=a(e.target);if(e.preventDefault(),!n.hasClass("updating-message")&&!n.hasClass("button-disabled")){var s=new FormData;s.append("action","kadence_install_starter"),s.append("security",kadenceStarterInstall.ajax_nonce),s.append("status",kadenceStarterInstall.status),"install"===kadenceStarterInstall.status?a.ajax({method:"POST",url:kadenceStarterInstall.ajax_url,data:s,contentType:!1,processData:!1,beforeSend:function(){l(n.data("installing-label"))},success:function(a){var e;a.success?(e=n.data("installed-label"),n.removeClass("updating-message kt-not-installed").addClass("installed").text(e),r(n.data("activated-label")),t(),location.replace(n.data("redirect-url"))):(console.log(a),r(a.data))},error:function(a,t,e){console.log(a.responseText),r("Error")}}):"activate"===kadenceStarterInstall.status&&a.ajax({url:kadenceStarterInstall.ajax_url,method:"POST",data:s,contentType:!1,processData:!1,beforeSend:function(){l(n.data("activating-label"))},success:function(a){a.success?(r(n.data("activated-label")),t(),location.replace(n.data("redirect-url"))):(console.log(a),r(a.data))},error:function(a,t,e){console.log(a.responseText),r("Error")}})}function l(a){n.addClass("updating-message").removeClass("button-disabled kt-not-installed installed").text(a)}function r(a){n.removeClass("updating-message kt-not-installed installed").addClass("button-disabled").text(a)}}))}))}(jQuery,window,document);
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
admin | Folder | 0755 |
|
|
src | Folder | 0755 |
|
|
admin-activate.min.js | File | 1.82 KB | 0644 |
|
cart-update.min.js | File | 116 B | 0644 |
|
css-vars-ponyfill.min.js | File | 21.09 KB | 0644 |
|
gutenberg-notice.min.js | File | 390 B | 0644 |
|
ie.min.js | File | 582 B | 0644 |
|
lightbox-init.min.js | File | 1.15 KB | 0644 |
|
navigation-lite.min.js | File | 8.57 KB | 0644 |
|
navigation.min.js | File | 18.67 KB | 0644 |
|
product-cls.min.js | File | 231 B | 0644 |
|
shop-spinner.min.js | File | 1.2 KB | 0644 |
|
shop-toggle.min.js | File | 2.88 KB | 0644 |
|
simplelightbox.min.js | File | 7.35 KB | 0644 |
|
slide-init.min.js | File | 2 KB | 0644 |
|
splide-init.min.js | File | 2.37 KB | 0644 |
|
splide.min.js | File | 29.07 KB | 0644 |
|
text-widgets.min.js | File | 4.36 KB | 0644 |
|