';
} );
}
/**
* Not Installed
*
* List of not installed required plugins.
*/
if (
typeof required_plugins.notinstalled !== 'undefined'
) {
// Add not have installed plugins count.
remaining_plugins += parseInt(
required_plugins.notinstalled.length
);
$( required_plugins.notinstalled ).each( function (
index,
plugin
) {
if ( 'elementor' == plugin.slug ) {
return;
}
output +=
'
' +
plugin.name +
'
';
} );
}
/**
* Inactive
*
* List of not inactive required plugins.
*/
if (
typeof required_plugins.inactive !== 'undefined'
) {
// Add inactive plugins count.
remaining_plugins += parseInt(
required_plugins.inactive.length
);
$( required_plugins.inactive ).each( function (
index,
plugin
) {
if ( 'elementor' == plugin.slug ) {
return;
}
output +=
'
' +
plugin.name +
'
';
} );
}
/**
* Active
*
* List of not active required plugins.
*/
if ( typeof required_plugins.active !== 'undefined' ) {
$( required_plugins.active ).each( function (
index,
plugin
) {
if ( 'elementor' == plugin.slug ) {
return;
}
output +=
'
' +
plugin.name +
'
';
} );
}
if ( '' != output ) {
output =
'
' +
astraElementorSites.install_plugin_text +
'
' +
output;
$elscope
.find( '.required-plugins-list' )
.html( output );
$elscope
.find( '.ast-tooltip-wrap' )
.css( 'opacity', 1 );
$elscope
.find( '.astra-sites-tooltip' )
.css( 'opacity', 1 );
}
/**
* Enable Demo Import Button
* @type number
*/
AstraElementorSitesAdmin.requiredPlugins =
response.data[ 'required_plugins' ];
AstraElementorSitesAdmin[ 'initial-page-refresh' ] =
AstraElementorSitesAdmin[ 'requiredPlugins' ][
'notinstalled'
]?.length ||
AstraElementorSitesAdmin[ 'requiredPlugins' ][
'inactive'
]?.length
? true
: false;
if (
AstraElementorSitesAdmin[ 'initial-page-refresh' ]
) {
document.querySelectorAll(
'.astra-sites-import-template-action .ast-library-template-insert'
)[ 0 ].innerText =
'Install Required Plugins & Import';
}
AstraElementorSitesAdmin.canImport = true;
AstraElementorSitesAdmin.canInsert = true;
$elscope
.find( '.astra-sites-import-template-action > div' )
.removeClass( 'disabled' );
}
} );
},
removeAddedParams: function () {
const urlObj = new URL( window.location.href );
// Check if the query parameters exist
if (
urlObj.searchParams.has( 'remoteST' ) &&
urlObj.searchParams.has( 'blockID' )
) {
// Remove specific query parameters
urlObj.searchParams.delete( 'remoteST' );
urlObj.searchParams.delete( 'blockID' );
urlObj.searchParams.delete( 'type' );
// Update the URL in the browser
window.history.replaceState( {}, '', urlObj.href );
}
},
saveContentAndRefresh: function () {
const elementorPanel = document.querySelector( '.elementor-panel' ); // Get the Elementor panel element
if ( elementorPanel ) {
const updateButton = elementorPanel.querySelector(
'#elementor-panel-saver-button-publish'
); // Find the Elementor update button
if ( updateButton ) {
updateButton.click(); // Trigger a click event on the update button
let id =
'blocks' === AstraElementorSitesAdmin.type
? AstraElementorSitesAdmin.block_id?.replace(
'id-',
''
)
: AstraElementorSitesAdmin.page_id?.replace(
'id-',
''
);
if ( id ) {
AstraElementorSitesAdmin.updateURLParams( id );
window.location.reload(); // Refresh the page
}
}
}
},
updateURLParams: function ( block_id ) {
// Get the current URL
var url = new URL( window.location.href );
// Create a new URLSearchParams object from the URL's search params
var searchParams = new URLSearchParams( url.search );
let type = AstraElementorSitesAdmin.type;
// Add parameters to the searchParams object
searchParams.append( 'remoteST', 'true' );
searchParams.append( 'blockID', block_id );
searchParams.append( 'type', type );
// Update the search property of the URL object with the new search params
url.search = searchParams.toString();
// Get the modified URL
var modifiedUrl = url.toString();
// Update the browser's live URL
window.history.pushState( { path: modifiedUrl }, '', modifiedUrl );
},
_libraryClick: function ( e ) {
$elscope
.find( '.elementor-template-library-menu-item' )
.each( function () {
$( this ).removeClass( 'elementor-active' );
} );
$( this ).addClass( 'elementor-active' );
},
_loadLargeImage: function ( el ) {
if ( el.hasClass( 'loaded' ) ) {
return;
}
if ( el.parents( '.astra-theme' ).isInViewport() ) {
var large_img_url = el.data( 'src' ) || '';
var imgLarge = new Image();
imgLarge.src = large_img_url;
imgLarge.onload = function () {
el.removeClass( 'loading' );
el.addClass( 'loaded' );
el.css( 'background-image', "url('" + imgLarge.src + "'" );
};
}
},
_loadLargeImages: function () {
$elscope.find( '.theme-screenshot' ).each( function ( key, el ) {
AstraElementorSitesAdmin._loadLargeImage( $( el ) );
} );
},
_close: function ( e ) {
console.groupEnd( 'Process Done.' );
$( document ).trigger( 'astra-sites__elementor-close-before' );
setTimeout( function () {
$elscope.fadeOut();
$( 'body' ).removeClass( 'astra-sites__elementor-open' );
}, 300 );
$( document ).trigger( 'astra-sites__elementor-close-after' );
},
_open: function ( e ) {
$( document ).trigger( 'astra-sites__elementor-open-before' );
$( 'body' ).addClass( 'astra-sites__elementor-open' );
let add_section = $( this ).closest( '.elementor-add-section' );
if ( add_section.hasClass( 'elementor-add-section-inline' ) ) {
AstraElementorSitesAdmin.index = add_section.prevAll().length;
} else {
AstraElementorSitesAdmin.index = add_section
.prev()
.children().length;
}
AstraElementorSitesAdmin._home();
$elscope.fadeIn();
if ( $( '.refreshed-notice' ).length == 1 ) {
setTimeout( function () {
$( '.refreshed-notice' ).find( '.notice-dismiss' ).click();
}, 2500 );
}
$( document ).trigger( 'astra-sites__elementor-open-after' );
},
_beforeOpen: function ( e ) {
let userPrefersDark = matchMedia(
'(prefers-color-scheme: dark)'
).matches;
let uiTheme =
elementor.settings.editorPreferences.model.get( 'ui_theme' );
if (
'dark' === uiTheme ||
( 'auto' === uiTheme && userPrefersDark )
) {
$( 'body' ).addClass( 'ast-sites-dark-mode' );
} else {
$( 'body' ).removeClass( 'ast-sites-dark-mode' );
}
// Hide preview page.
$elscope.find( '.theme-preview' ).hide();
$elscope.find( '.theme-preview' ).html( '' );
// Show site listing page.
$elscope.find( '.dialog-lightbox-content' ).show();
// Hide Back button.
$elscope.find( '.back-to-layout' ).css( 'visibility', 'hidden' );
$elscope.find( '.back-to-layout' ).css( 'opacity', '0' );
},
_initSites: function ( e ) {
AstraElementorSitesAdmin._appendSites(
astraElementorSites.default_page_builder_sites
);
AstraElementorSitesAdmin._goBack();
},
_initBlocks: function ( e ) {
AstraElementorSitesAdmin._appendBlocks(
astraElementorSites.astra_blocks
);
AstraElementorSitesAdmin._goBack();
},
/**
* Install Success
*/
_installSuccess: function ( event, response ) {
event.preventDefault();
// Transform the 'Install' button into an 'Activate' button.
var $init = $( '.plugin-card-' + response.slug ).data( 'init' );
var $name = $( '.plugin-card-' + response.slug ).data( 'name' );
// Reset not installed plugins list.
var pluginsList =
AstraElementorSitesAdmin.requiredPlugins.notinstalled;
var curr_plugin = AstraElementorSitesAdmin._getPluginFromQueue(
response.slug,
pluginsList
);
AstraElementorSitesAdmin.requiredPlugins.notinstalled =
AstraElementorSitesAdmin._removePluginFromQueue(
response.slug,
pluginsList
);
// WordPress adds "Activate" button after waiting for 1000ms. So we will run our activation after that.
setTimeout( function () {
console.log( 'Activating Plugin - ' + curr_plugin.name );
$.ajax( {
url: astraElementorSites.ajaxurl,
type: 'POST',
data: {
action: 'astra-sites-required_plugin_activate',
init: curr_plugin.init,
_ajax_nonce: astraElementorSites._ajax_nonce,
},
} ).done( function ( result ) {
if ( result.success ) {
var pluginsList =
AstraElementorSitesAdmin.requiredPlugins.inactive;
console.log( 'Activated Plugin - ' + curr_plugin.name );
// Reset not installed plugins list.
AstraElementorSitesAdmin.requiredPlugins.inactive =
AstraElementorSitesAdmin._removePluginFromQueue(
response.slug,
pluginsList
);
// Enable Demo Import Button
AstraElementorSitesAdmin._enableImport();
}
} );
}, 1200 );
},
/**
* Plugin Installation Error.
*/
_installError: function ( event, response ) {
console.log( response );
console.log( 'Error Installing Plugin - ' + response.slug );
console.log( response.errorMessage );
},
/**
* Installing Plugin
*/
_pluginInstalling: function ( event, args ) {
console.log( 'Installing Plugin - ' + args.slug );
},
};
/**
* Initialize AstraElementorSitesAdmin
*/
$( function () {
AstraElementorSitesAdmin.init();
} );
} )( jQuery );
import{r as s,h as e}from"./p-e97fde0a.js";const t=":host{display:inline-block}";const i=t;const o={open:wp.i18n.__("Return in progress","surecart"),completed:wp.i18n.__("Returned","surecart")};const n={open:"warning",completed:"success"};const r=class{constructor(e){s(this,e);this.status=undefined;this.size="medium";this.pill=false;this.clearable=false}render(){return e("sc-tag",{key:"bae24922b7ee77d821455a17d4b66e4afc596bc2",type:n===null||n===void 0?void 0:n[this===null||this===void 0?void 0:this.status],pill:this.pill},(o===null||o===void 0?void 0:o[this.status])||this.status)}};r.style=i;export{r as sc_order_return_badge};
//# sourceMappingURL=p-c0a24abc.entry.js.map
Infuse Fashionhttps://validator.w3.org/feed/docs/rss2.htmlHome PageBeyond Restrictions Experience Limitless Wins & Fast Payouts at a Leading non gamstop casino.Ma 22 Bedste Betting Sider som marts 2026 Xon Bet tilmeldingsbonus Guidebog til odds siderBetinia Indbetalingsbonus: 100% Ybets Danmark login indtil 1,000 krأفضل الكازينوهات النقدية الحقيقية في كندا 2026Понимание зависимости от азартных игр шаги к выздоровлению с PinUpGreatest Lucky Charms to use within 15 free no deposit casinos the CloverPitJangkau Hiburan Tanpa Batas Panduan Lengkap Memperoleh Aplikasi 1xbet dengan download dan rasakan peSaying your acceptance provide at the Betway is an easy processes, no added bonus code called forEfectos del Decadurabolin 300 Mg y su Relación con los PéptidosИстория казино как азартные игры изменили мир развлечений Pin-upLaccès illimité au divertissement sportif Téléchargez 1xbet apk et vivez lexcitation du jeu où queBagong Karanasan sa Pagsusugal Paano Makapasok sa 1xbet login at Masiyahan sa Libu-libong PagkakataoMobilna rozrywka na najwyższym poziomie – poznaj możliwości aplikacji voxcasino app i ciesz się ulubОнлайн-казино против наземных где лучше играть с Pinco casinoThunderstruck II Slot Game Trial Gamble & Totally free real money casino for android Revolves Inspirational Tennis GetawaysGlimlach naar je winst ontdek de innovatieve wereld van casino vox en speel vandaag nog!Elevate Your Game Download the 1xbet apk for Mobile Sports Betting & Casino Bonuses.Beyond the Bets Find Your Winning Streak & Exclusive Perks at casino vox.Spinsmama Casino : Votre Plateforme de Jeu Haut de gamme en Ligne digitaleأكثر من مجرد ألعاب، 1xbet تمنحك فرصة لتعيش تجربة لا تُنسى مليئة بالتشويق والمكاسب.Booms Bet: Una Vostra Meta Premium per il Gaming OnlineAdrenalin pur beim Spielen So findest du das passende Angebot von vox casino deutschland und sichersAssapora lemozione del gioco online e moltiplica le tue chance con un incredibile spinwinera bonus,Atraskite azarto skonį namuose vox casino online – naujas žaidimų lygis tiesiai jūsų ekranėlyje.Азарт ближе, чем кажется pinco casino казахстан – ваш билет в мир больших побед и захватывающих развАзарт ближе, чем кажется pinco – секрет успешных ставок и ярких эмоций в онлайн-казино.Test E 250: Risultati, Benefici e Considerazioni1 Androstenedion 1 Andro hatásai és előnyeiFlintstones Video slot: Play Zero Download free Position On the web from the PlaytechDiscord Talk, Play, Spend time Apps on the internet Enjoyfifty Free Revolves No deposit Incentive NZ 50 Free Spins for the MembershipWarum Sustanon 250 zu den beliebtesten Testosteronpräparaten gehörtMethyltestosterone – Ein Überblick über das AnabolikumСекреты успешных стратегий для игр в азартные игры от Pin-upMethyltestosterone: Effetti Positivi e Vantaggi nell’UtilizzoPlay Goldilocks plus the Nuts Contains Position OnlinePokies Spots in the Adelaide Discover Southern Australia pokies Metropolitan areasElevate Your Play 88% of Players Choose a casino non gamstop for Unrestricted Access & Generous BonuAdrenalina Pura e Moltiplicatori Incredibili Crazy Time Live, la Sfida che Cambia il Gioco.눈부신 행운의 세계, spinmama casino에서 매일 펼쳐지는 놀라운 경험을 만나보세요!Bildschirm 1 – seven Einsteigen unter anderem Einschreiben, damit Spiele zu Ihrer Tabelle ihr bevorzugten Spiele hinzuzufugenAdrenalin pur beim Fallenlassen Mit dem plinko app die Spannung maximieren und bis zu 10.000€ gewinnBeyond Chance Mastering the Art of Plinko Gambling for Significant WinsQumar asılılığının əlamətləri Pin-Up ilə necə mübarizə aparmaq olarBước Chân Vào Thế Giới Giải Trí Khám Phá Sức Hút Vô Tận và Ưu Đãi Đặc Quyền Chỉ Có Tại mcw.Adrenalin pur Geflügelfreunde – Navigiere die chicken road und kassiere bares Geld!Adrenalin pur So einfach gelangen Sie zum nv casino online login und erschließen unglaubliche SpielwAdrenalin pur beim Hühner-Überqueren Chicken Road Demo meistern und Rekordwerte erzielen – StrategieBlog