PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/bettingbin.com/wp-content/themes/sinatra/inc/admin/assets/js/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : //home/trave494/bettingbin.com/wp-content/themes/sinatra/inc/admin/assets/js/sinatra-admin.min.js |
!function($){"use strict";var SinatraAdmin={init:function(){$(document).ready(SinatraAdmin.ready),$(window).on("load",SinatraAdmin.load),SinatraAdmin.bindUIActions(),$(document).trigger("sinatraReady")},ready:function(){},load:function(){window.dispatchEvent(new Event("resize"))},resize:function(){},bindUIActions:function(){var $this,$wrap=$("#wpwrap");$("body");$wrap.on("click",".plugins .si-btn:not(.active)",(function(e){e.preventDefault(),$wrap.find(".plugins .si-btn.in-progress").length||($this=$(this),SinatraAdmin.pluginAction($this))})),$(document).on("wp-plugin-install-success",SinatraAdmin.pluginInstallSuccess),$(document).on("wp-plugin-install-error",SinatraAdmin.pluginInstallError)},pluginAction:function($button){if($button.addClass("in-progress").attr("disabled","disabled").html(sinatra_strings.texts[$button.data("action")+"-inprogress"]),"install"===$button.data("action"))wp.updates.shouldRequestFilesystemCredentials&&!wp.updates.ajaxLocked&&(wp.updates.requestFilesystemCredentials(event),$(document).on("credential-modal-cancel",(function(){$button.removeAttr("disabled").removeClass("in-progress").html(sinatra_strings.texts.install),wp.a11y.speak(wp.updates.l10n.updateCancel,"polite")}))),wp.updates.installPlugin({slug:$button.data("plugin")});else{var data={_ajax_nonce:sinatra_strings.wpnonce,plugin:$button.data("plugin"),action:"sinatra-plugin-"+$button.data("action")};$.post(sinatra_strings.ajaxurl,data,(function(response){response.success?$button.data("redirect")?window.location.href=$button.data("redirect"):location.reload():$(".plugins .si-btn.in-progress").removeAttr("disabled").removeClass("in-progress primary").addClass("secondary").html(sinatra_strings.texts.retry)}))}},pluginInstallSuccess:function(event,response){event.preventDefault();var activatedSlug,$init=jQuery(event.target).data("init");activatedSlug=void 0===$init?response.slug:$init;var $button=$('.plugins a[data-plugin="'+activatedSlug+'"]');$button.data("action","activate"),SinatraAdmin.pluginAction($button)},pluginInstallError:function(event,response){event.preventDefault();var activatedSlug,$init=jQuery(event.target).data("init");activatedSlug=void 0===$init?response.slug:$init,$('.plugins a[data-plugin="'+activatedSlug+'"]').attr("disabled","disabled").removeClass("in-progress primary").addClass("secondary").html(wp.updates.l10n.installFailedShort)}};SinatraAdmin.init(),window.sinatraadmin=SinatraAdmin}(jQuery);