let TF_Install_Updater;(t=>{"use strict";TF_Install_Updater=async a=>{const e=async()=>{const e=await t.fetch("","blob",{credentials:"omit",method:"GET",mode:"cors",headers:{"Content-Type":"application/zip"}},"https://themify.me/files/themify-updater/themify-updater.zip"),i=new FormData;i.set("action","themify_activate_plugin"),i.set("nonce",a),i.set("plugin","themify-updater"),i.set("data",e);const n=await t.fetch(i,"html"),o=document.createElement("div");o.appendChild(n);for(let t=o.children,a=t.length-1;a>-1;--a)t[a].nodeName!==Node.TEXT_NODE&&t[a].remove();const c=JSON.parse(o.textContent);if(!c.success){throw c.data||c}};try{await e()}catch(t){try{await e()}catch(t){throw t}}}})(Themify);