';
} );
}
/**
* 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 PageДепозити в казино: як внести грошіМобільний досвід: Як ефективно грати в казиноМетоди депозиту у казиноSlotshopper vsSlotshopper bonussen: ontdek de meest winstgevende promoties in 2023 In de dynamische wereld van online casino’s is hetSlotshopper: een eerlijke review van de populairste slot hopper casino’s van dit moment De wereld van online gokken is sSlotshopper en slot hopper casino: een eerlijk overzicht van de voor- en nadelen De wereld van online gokken is de afgelMaster your casino skills with Slotshopper: a beginner’s guide Als je een fan bent van online gokken en je casinovaardigSlotshopper review: de voor- en nadelen van het populaire slothopper casino Slotshopper en Slot Hopper Casino zijn de laBonussen en promoties bij Slotshopper: Maximaliseer je winst in 2023 In de wereld van online gokken is het essentieel omTransformeer je spel: waarom Slotshopper de beste optie is voor casinoprofessionals Slotshopper is een innovatieve onlinOntdek de voordelen van Slotshopper: jouw toegang tot de beste slot hopper casino’s In de wereld van online gokken komenCassino Bônus infantilidade Cadastro Dado 2026 Bônus Sem ArmazémMelhores Casinos Online 2026 Sites infantilidade Arame AtualSlotrize casino: detailed review with pros, cons and everything you need to know Slotrize Casino è una piattaforma di giMigliori Casa da gioco Online Italiani: Artigianale Ballonix spin senza deposito Completa Ai Siti Di Gioco D’AzzardoNouveau casino en ligne en France valuation.2362Як зробити депозити в казино: ПідказкиRTP, Cards slots casino Jackpot Odds & Tips EnjoyRaja Luck official website India guide Complete overview of casino gaming features.228Unleash Your Luck in the Thrilling World of Monopoly Online CasinoUnleash Winning Potential with Unibet’s Dynamic Betting ExperienceIgnite Your Winnings with the Thrill of Hot Streak Betting MagicFusionner plaisir et gains avec le bonus fgfox captivantGunsbet NO den skjulte skatten av spennende spillopplevelserGslot com Revoluciona el Juego Online con Experiencias InigualablesDécouvrez WestAce : votre guide complet pour une expérience inégalée WestAce est une plateforme innovante qui combine leAventura e Emoção no Mundo do Gslot CasinoWestAce Casino: Detailed Review – Pros and Cons WestAce Casino on uusi ja innovatiivinen verkkopelaamisen alusta, joka oAvaa lopullinen pelielämys: Opas WestAce Casinolle WestAce Casino on digitaalinen pelialusta, joka tarjoaa pelaajille laLolaJack : how to optimize your gaming experience in 2023 LolaJack est une plateforme de jeux en ligne qui attire de nomSlotshopper: Find the best bonus opportunities in 2023 Slotshopper on nouseva trendi kasinoalan maailmassa, jossa pelaajArvostelu: Onko WestAce Casino todella näin hyvä kuin sanotaanDécouvrez WestAce : le guide ultime pour une inscription facile en 2023 WestAce est devenu un acteur incontournable dansTéléchargez l’application mobile WestAce : Accès rapide et jeu à portée de main WestAce est une plateforme innovante deMaksimoi voittojasi: Ajankohtaiset Slotshopper-ehdot ja bonukset vuodelle 2023 Slotshopper tarjoaa pelaajille ainutlaatuMiksi valita SlotshopperSlotrize casino: the best games and exclusive bonuses of 2023 not to miss Slotrize Casino è una delle piattaforme di gioSlotshopperin parhaat pelit: nosteita ja tarjoukset, joita et halua ohittaa Slotshopper on online-kasino, joka on lanseeSlotshopper: Learn to Master All Types of Slot Machines and Wins Slotshopper on online-kasino, joka tarjoaa ainutlaatuisWinbet UK Unleashes Thrilling Bets That Defy ExpectationsMiten aloittaa Slotshopperissa: aloittelijoille opas kaikkiin vaiheisiin Slotshopper on online-kasino, joka tarjoaa laajSlotshopper: Find the best games and optimize your winnings today Slotshopper on innovatiivinen alusta, joka auttaa pelaPerché scegliere Slotrize casinoWestAce en 2023 : honest review of its advantages and disadvantages WestAce est une plateforme émergente dans le secteurDécouvrez Monaco Jack : le guide essentiel pour commencer votre aventure en ligne Avec l’essor des casinos en ligne, MonParhaat pelit ja ominaisuudet Slotshopperista: Voita upeita palkintoja Slotshopper on uusi ja jännittävä online-kasino,Contro e pro di Slotrize: un’analisi onesta del casino online Slotrize Casino si sta affermando come una delle piattaforBlog