/
www
/
wwwroot
/
alo88.autos
/
wp-content
/
plugins
/
seo-by-rank-math-pro
/
assets
/
admin
/
js
/
Upload File
HOME
(()=>{"use strict";var e={n:a=>{var d=a&&a.__esModule?()=>a.default:()=>a;return e.d(d,{a:d}),d},d:(a,d)=>{for(var s in d)e.o(d,s)&&!e.o(a,s)&&Object.defineProperty(a,s,{enumerable:!0,get:d[s]})},o:(e,a)=>Object.prototype.hasOwnProperty.call(e,a)};const a=jQuery;var d,s,r,t,o,i,n,l,p,m,c,u,h;d=e.n(a)(),r=d((s="#rank-math-custom-mode-")+"form"),t=d(s+"form-initial"),o=d(s+"file-field",r),i=d(s+"submit",r),n=d(s+"import-success",r),l=d(s+"import-fail",r),p=d(s+"import-message",r),m=d(s+"import-progress",r),c=r.siblings(".rank-math-mode-description"),u=d(".form-footer .button"),(h=d('input[name="setup_mode"]')).on("change",(function(){"custom"===d(this).val()?(r.removeClass("hidden"),c.addClass("hidden"),u.addClass("disabled")):(r.addClass("hidden"),c.removeClass("hidden"),u.removeClass("disabled"))})).filter(":checked").trigger("change"),i.on("click",(function(e){e.preventDefault();var a=new FormData;a.append("action","rank_math_import_settings"),a.append("security",rankMath.security),a.append("import-me",o[0].files[0]||""),h.prop("disabled",!0),i.prop("disabled",!0),t.addClass("hidden"),l.addClass("hidden"),n.addClass("hidden"),m.removeClass("hidden"),d.ajax({url:rankMath.ajaxurl,type:"POST",enctype:"multipart/form-data",data:a,processData:!1,contentType:!1}).always((function(){h.prop("disabled",!1),m.addClass("hidden"),i.prop("disabled",!1)})).done((function(e){e.success?(n.removeClass("hidden"),u.removeClass("disabled").prop("disabled",!1)):(l.removeClass("hidden"),p.html(""),e.error&&p.text(e.error),t.removeClass("hidden"))}))}))})();