admin-common-rtl.css
1 month ago
admin-common.asset.php
1 month ago
admin-common.css
1 month ago
admin-common.js
3 months ago
advanced.asset.php
3 months ago
advanced.js
3 months ago
app-rtl.css
1 day ago
app.asset.php
1 day ago
app.css
1 day ago
app.js
1 day ago
commands.asset.php
3 months ago
commands.js
3 months ago
frontend-picker.asset.php
2 months ago
frontend-picker.js
2 months ago
notifications-rtl.css
3 months ago
notifications.asset.php
3 months ago
notifications.css
3 months ago
notifications.js
3 months ago
post-quick-edit.asset.php
3 months ago
post-quick-edit.js
3 months ago
screen-ads-editing-rtl.css
3 months ago
screen-ads-editing.asset.php
3 months ago
screen-ads-editing.css
3 months ago
screen-ads-editing.js
3 months ago
screen-ads-listing-rtl.css
1 week ago
screen-ads-listing.asset.php
1 week ago
screen-ads-listing.css
1 week ago
screen-ads-listing.js
1 week ago
screen-dashboard-rtl.css
1 month ago
screen-dashboard.asset.php
1 month ago
screen-dashboard.css
1 month ago
screen-dashboard.js
3 months ago
screen-groups-listing-rtl.css
3 months ago
screen-groups-listing.asset.php
1 month ago
screen-groups-listing.css
3 months ago
screen-groups-listing.js
1 month ago
screen-placements-listing-rtl.css
3 months ago
screen-placements-listing.asset.php
1 week ago
screen-placements-listing.css
3 months ago
screen-placements-listing.js
1 week ago
screen-settings-rtl.css
1 month ago
screen-settings.asset.php
1 month ago
screen-settings.css
1 month ago
screen-settings.js
3 months ago
screen-tools-rtl.css
1 month ago
screen-tools.asset.php
1 month ago
screen-tools.css
1 month ago
screen-tools.js
3 months ago
wp-dashboard-rtl.css
5 days ago
wp-dashboard.asset.php
5 days ago
wp-dashboard.css
5 days ago
wp-dashboard.js
3 months ago
screen-settings.js
1 lines
| 1 | (()=>{"use strict";var e={n:t=>{var s=t&&t.__esModule?()=>t.default:()=>t;return e.d(s,{a:s}),s},d:(t,s)=>{for(var n in s)e.o(s,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:s[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window.jQuery;e.n(t)()(()=>{!function(){const e=document.getElementById("advads_overview_addons");e&&e.addEventListener("click",e=>{const t=e.target;if("a"===t.tagName.toLowerCase()&&t.classList.contains("disabled"))e.preventDefault();else if(t.classList.contains("button")&&t.classList.contains("subscribe")&&(e.preventDefault(),t.disabled=!0,t.classList.add("disabled"),wp.ajax.post("advads_newsletter",{nonce:t.dataset.nonce}).done(function(e){e&&(t.closest(".item-details").querySelector(".description").innerHTML=`<p style="font-weight: 600;">${e}</p>`)}).fail(function(e){try{t.closest(".item-details").querySelector(".description").innerHTML=`<p style="font-weight: 600;">${e.responseJSON.data.message}</p>`}catch(e){}})),t.classList.contains("button")&&t.classList.contains("installed")){const s="#activate-aaplugin_",n=t.href?t.href:"";if(-1!==n.indexOf(s)){e.preventDefault();const s=n.split("_");((e,t,s,n)=>{n.classList.add("disabled");const a=e.substring(e.indexOf("/")+1,e.indexOf("."));wp.ajax.post("advads_activate_addon",{_ajax_nonce:s,plugin:e,slug:a,name:t}).done(function(){n.className="button active disabled",n.innerText=window.advadstxt.active;const e=document.createElement("i");e.className="dashicons",e.style.cssText='content:"\\f147"',n.insertBefore(e,n.firstChild)}).fail(function(e){void 0!==e.errorMessage&&(n.closest(".cta").parentNode.querySelector(".description").innerText=e.errorMessage)})})(s[2],decodeURIComponent(s[3]),s[1],t)}}})}()})})(); |