var breeze_prefetch = {"local_url":"https:\/\/www.gioielliloghan.com","ignore_remote_prefetch":"1","ignore_list":["\/?wc-api=wc_facebook_get_feed_data&secret=e2bded6792631161c7cbb929b2c93bde","\/checkout\/","\/area-clienti\/","wp-admin","wp-login.php"]};
https://gioielliloghan.b-cdn.net/wp-content/plugins/breeze/assets/js/js-front-end/breeze-prefetch-links.min.js
https://gioielliloghan.b-cdn.net/wp-includes/js/jquery/jquery.min.js
https://gioielliloghan.b-cdn.net/wp-includes/js/jquery/jquery-migrate.min.js
var buy_together = {"ajaxurl":"https:\/\/www.gioielliloghan.com\/wp-admin\/admin-ajax.php","security":"d94a54f57e","text":{"for_num_of_items":"For {{number}} item(s)","add_to_cart_text":"Add All To Cart","adding_to_cart_text":"Adding To Cart...","view_cart":"View cart","no_product_selected_text":"You must select at least one product","add_to_cart_success":"{{number}} product(s) was successfully added to your cart.","add_to_cart_fail_single":"One product is out of stock.","add_to_cart_fail_plural":"{{number}} products were out of stocks."},"price_format":"%1$s%2$s","price_decimals":"2","price_thousand_separator":".","price_decimal_separator":",","currency_symbol":"\u20ac","wc_tax_enabled":"","cart_url":"https:\/\/www.gioielliloghan.com","ex_tax_or_vat":""};
https://gioielliloghan.b-cdn.net/wp-content/plugins/wpbingo/lib/buy-together/assets/js/frontend.js
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,
document,'script','https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '1231697284152034', {}, {
"agent": "woocommerce-8.2.1-3.2.7"
});
fbq( 'track', 'PageView', {
"source": "woocommerce",
"version": "8.2.1",
"pluginVersion": "3.2.7"
} );
document.addEventListener( 'DOMContentLoaded', function() {
// Insert placeholder for events injected when a product is added to the cart through AJAX.
document.body.insertAdjacentHTML( 'beforeend', '<div class=\"wc-facebook-pixel-event-placeholder\"></div>' );
}, false );
function setREVStartSize(e){
//window.requestAnimationFrame(function() {
window.RSIW = window.RSIW===undefined ? window.innerWidth : window.RSIW;
window.RSIH = window.RSIH===undefined ? window.innerHeight : window.RSIH;
try {
var pw = document.getElementById(e.c).parentNode.offsetWidth,
newh;
pw = pw===0 || isNaN(pw) || (e.l=="fullwidth" || e.layout=="fullwidth") ? window.RSIW : pw;
e.tabw = e.tabw===undefined ? 0 : parseInt(e.tabw);
e.thumbw = e.thumbw===undefined ? 0 : parseInt(e.thumbw);
e.tabh = e.tabh===undefined ? 0 : parseInt(e.tabh);
e.thumbh = e.thumbh===undefined ? 0 : parseInt(e.thumbh);
e.tabhide = e.tabhide===undefined ? 0 : parseInt(e.tabhide);
e.thumbhide = e.thumbhide===undefined ? 0 : parseInt(e.thumbhide);
e.mh = e.mh===undefined || e.mh=="" || e.mh==="auto" ? 0 : parseInt(e.mh,0);
if(e.layout==="fullscreen" || e.l==="fullscreen")
newh = Math.max(e.mh,window.RSIH);
else{
e.gw = Array.isArray(e.gw) ? e.gw : [e.gw];
for (var i in e.rl) if (e.gw[i]===undefined || e.gw[i]===0) e.gw[i] = e.gw[i-1];
e.gh = e.el===undefined || e.el==="" || (Array.isArray(e.el) && e.el.length==0)? e.gh : e.el;
e.gh = Array.isArray(e.gh) ? e.gh : [e.gh];
for (var i in e.rl) if (e.gh[i]===undefined || e.gh[i]===0) e.gh[i] = e.gh[i-1];
var nl = new Array(e.rl.length),
ix = 0,
sl;
e.tabw = e.tabhide>=pw ? 0 : e.tabw;
e.thumbw = e.thumbhide>=pw ? 0 : e.thumbw;
e.tabh = e.tabhide>=pw ? 0 : e.tabh;
e.thumbh = e.thumbhide>=pw ? 0 : e.thumbh;
for (var i in e.rl) nl[i] = e.rl[i]<window.RSIW ? 0 : e.rl[i];
sl = nl[0];
for (var i in nl) if (sl>nl[i] && nl[i]>0) { sl = nl[i]; ix=i;}
var m = pw>(e.gw[ix]+e.tabw+e.thumbw) ? 1 : (pw-(e.tabw+e.thumbw)) / (e.gw[ix]);
newh = (e.gh[ix] * m) + (e.tabh + e.thumbh);
}
var el = document.getElementById(e.c);
if (el!==null && el) el.style.height = newh+"px";
el = document.getElementById(e.c+"_wrapper");
if (el!==null && el) {
el.style.height = newh+"px";
el.style.display = "block";
}
} catch(e){
console.log("Failure at Presize of Slider:" + e)
}
//});
};
Gioielli Loghan
window.RS_MODULES = window.RS_MODULES || {};
window.RS_MODULES.modules = window.RS_MODULES.modules || {};
window.RS_MODULES.waiting = window.RS_MODULES.waiting || [];
window.RS_MODULES.defered = true;
window.RS_MODULES.moduleWaiting = window.RS_MODULES.moduleWaiting || {};
window.RS_MODULES.type = 'compiled';
window.addEventListener('DOMContentLoaded', () => {
var mobileDetect = /Android|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),
crestaContainer = document.querySelector('.cresta-whatsapp-chat-container'),
crestaBox = document.querySelector('.cresta-whatsapp-chat-box'),
crestaOverlay = document.querySelector('.cresta-whatsapp-chat-overlay');
if (mobileDetect) {
crestaContainer.style.display = 'none';
crestaBox.addEventListener('click', () => {
window.location = 'whatsapp://send?text=&phone=393339070087&abid=393339070087';
})
} else {
if (crestaOverlay) {
[crestaBox, crestaOverlay].forEach(item => {
item.addEventListener('click', () => {
if(crestaBox.classList.contains('open')) {
crestaBox.classList.remove('open');
crestaContainer.classList.remove('open');
crestaOverlay?.classList.remove('open');
} else {
crestaBox.classList.add('open');
crestaContainer.classList.add('open');
crestaOverlay?.classList.add('open');
setTimeout (function () {
document.querySelector('.cresta-whatsapp-chat-container .cresta-whatsapp-inner textarea.cresta-whatsapp-textarea').focus();
}, 100);
}
})
})
} else {
crestaBox.addEventListener('click', () => {
if(crestaBox.classList.contains('open')) {
crestaBox.classList.remove('open');
crestaContainer.classList.remove('open');
} else {
crestaBox.classList.add('open');
crestaContainer.classList.add('open');
setTimeout (function () {
document.querySelector('.cresta-whatsapp-chat-container .cresta-whatsapp-inner textarea.cresta-whatsapp-textarea').focus();
}, 100);
}
})
}
document.querySelector('.cresta-whatsapp-chat-container .cresta-whatsapp-send').addEventListener('click', () => {
var baseUrl = 'https://web.whatsapp.com/send?phone=393339070087&text=',
textEncode = encodeURIComponent(document.querySelector('.cresta-whatsapp-chat-container .cresta-whatsapp-textarea').value);
window.open(baseUrl + textEncode, '_blank');
})
}
})
const lazyloadRunObserver = () => {
const lazyloadBackgrounds = document.querySelectorAll( `.e-con.e-parent:not(.e-lazyloaded)` );
const lazyloadBackgroundObserver = new IntersectionObserver( ( entries ) => {
entries.forEach( ( entry ) => {
if ( entry.isIntersecting ) {
let lazyloadBackground = entry.target;
if( lazyloadBackground ) {
lazyloadBackground.classList.add( 'e-lazyloaded' );
}
lazyloadBackgroundObserver.unobserve( entry.target );
}
});
}, { rootMargin: '200px 0px 200px 0px' } );
lazyloadBackgrounds.forEach( ( lazyloadBackground ) => {
lazyloadBackgroundObserver.observe( lazyloadBackground );
} );
};
const events = [
'DOMContentLoaded',
'elementor/lazyload/observe',
];
events.forEach( ( event ) => {
document.addEventListener( event, lazyloadRunObserver );
} );
(function () {
var c = document.body.className;
c = c.replace(/woocommerce-no-js/, 'woocommerce-js');
document.body.className = c;
})();
https://gioielliloghan.b-cdn.net/wp-includes/js/dist/hooks.min.js
https://gioielliloghan.b-cdn.net/wp-includes/js/dist/i18n.min.js
wp.i18n.setLocaleData( { 'text direction\u0004ltr': [ 'ltr' ] } );
https://gioielliloghan.b-cdn.net/wp-content/plugins/contact-form-7/includes/swv/js/index.js
var wpcf7 = {"api":{"root":"https:\/\/www.gioielliloghan.com\/wp-json\/","namespace":"contact-form-7\/v1"},"cached":"1"};
( function( domain, translations ) {
var localeData = translations.locale_data[ domain ] || translations.locale_data.messages;
localeData[""].domain = domain;
wp.i18n.setLocaleData( localeData, domain );
} )( "contact-form-7", {"translation-revision-date":"2024-08-13 15:55:30+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"it"},"This contact form is placed in the wrong place.":["Questo modulo di contatto \u00e8 posizionato nel posto sbagliato."],"Error:":["Errore:"]}},"comment":{"reference":"includes\/js\/index.js"}} );
https://gioielliloghan.b-cdn.net/wp-content/plugins/contact-form-7/includes/js/index.js
https://gioielliloghan.b-cdn.net/wp-content/plugins/revslider/public/assets/js/rbtools.min.js
https://gioielliloghan.b-cdn.net/wp-content/plugins/revslider/public/assets/js/rs6.min.js
https://gioielliloghan.b-cdn.net/wp-content/plugins/woocommerce/assets/js/jquery-blockui/jquery.blockUI.min.js
https://gioielliloghan.b-cdn.net/wp-content/plugins/woocommerce/assets/js/js-cookie/js.cookie.min.js
var woocommerce_params = {"ajax_url":"\/wp-admin\/admin-ajax.php","wc_ajax_url":"\/?wc-ajax=%%endpoint%%"};
https://gioielliloghan.b-cdn.net/wp-content/plugins/woocommerce/assets/js/frontend/woocommerce.min.js
https://gioielliloghan.b-cdn.net/wp-includes/js/jquery/ui/core.min.js
https://gioielliloghan.b-cdn.net/wp-includes/js/jquery/ui/mouse.min.js
https://gioielliloghan.b-cdn.net/wp-includes/js/jquery/ui/slider.min.js
https://gioielliloghan.b-cdn.net/wp-content/plugins/wpbingo/assets/js/wpbingo.js
https://gioielliloghan.b-cdn.net/wp-content/plugins/woocommerce/assets/js/jquery-cookie/jquery.cookie.min.js
https://gioielliloghan.b-cdn.net/wp-content/plugins/wpbingo/assets/js/newsletter.js
var filter_ajax = {"ajaxurl":"https:\/\/www.gioielliloghan.com\/wp-admin\/admin-ajax.php"};
https://gioielliloghan.b-cdn.net/wp-content/plugins/wpbingo/assets/js/filter.js
https://gioielliloghan.b-cdn.net/wp-content/plugins/woo-smart-wishlist/assets/libs/perfect-scrollbar/js/perfect-scrollbar.jquery.min.js
var woosw_vars = {"ajax_url":"https:\/\/www.gioielliloghan.com\/wp-admin\/admin-ajax.php","nonce":"cf0dd18b9e","menu_action":"open_page","reload_count":"no","perfect_scrollbar":"yes","wishlist_url":"https:\/\/www.gioielliloghan.com\/wishlist\/","button_action":"list","message_position":"right-top","button_action_added":"popup","empty_confirm":"This action cannot be undone. Are you sure?","delete_confirm":"This action cannot be undone. Are you sure?","copied_text":"Link Lista desideri copiato:","menu_text":"Lista desideri","button_text":"Aggiungi alla Lista desideri","button_text_added":"Vedi la Lista desideri","button_normal_icon":"woosw-icon-5","button_added_icon":"woosw-icon-8","button_loading_icon":"woosw-icon-4"};
https://gioielliloghan.b-cdn.net/wp-content/plugins/woo-smart-wishlist/assets/js/frontend.js
https://gioielliloghan.b-cdn.net/wp-content/themes/davici/js/bootstrap.min.js
https://gioielliloghan.b-cdn.net/wp-content/themes/davici/js/jquery.mmenu.all.min.js
https://gioielliloghan.b-cdn.net/wp-content/themes/davici/js/slick.min.js
https://gioielliloghan.b-cdn.net/wp-content/themes/davici/js/instafeed.min.js
https://gioielliloghan.b-cdn.net/wp-content/themes/davici/js/jquery.countdown.min.js
https://gioielliloghan.b-cdn.net/wp-content/themes/davici/js/jquery.elevatezoom.js
https://gioielliloghan.b-cdn.net/wp-content/themes/davici/js/jquery.circlestime.js
https://gioielliloghan.b-cdn.net/wp-content/themes/davici/js/360imagerotate.js
https://gioielliloghan.b-cdn.net/wp-content/plugins/woocommerce/assets/js/photoswipe/photoswipe.min.js
https://gioielliloghan.b-cdn.net/wp-content/plugins/woocommerce/assets/js/photoswipe/photoswipe-ui-default.min.js
https://gioielliloghan.b-cdn.net/wp-content/themes/davici/js/portfolio.js
var davici_ajax = {"ajaxurl":"https:\/\/www.gioielliloghan.com\/wp-admin\/admin-ajax.php"};
https://gioielliloghan.b-cdn.net/wp-content/themes/davici/js/functions.js
jQuery(function($){ "use strict"; $(document).on("click",".plus, .minus",function(){var t=$(this).closest(".quantity").find(".qty"),a=parseFloat(t.val()),n=parseFloat(t.attr("max")),s=parseFloat(t.attr("min")),e=t.attr("step");a&&""!==a&&"NaN"!==a||(a=0),(""===n||"NaN"===n)&&(n=""),(""===s||"NaN"===s)&&(s=0),("any"===e||""===e||void 0===e||"NaN"===parseFloat(e))&&(e=1),$(this).is(".plus")?t.val(n&&(n==a||a>n)?n:a+parseFloat(e)):s&&(s==a||s>a)?t.val(s):a>0&&t.val(a-parseFloat(e)),t.trigger("change")})});
https://gioielliloghan.b-cdn.net/wp-includes/js/underscore.min.js
var _wpUtilSettings = {"ajax":{"url":"\/wp-admin\/admin-ajax.php"}};
https://gioielliloghan.b-cdn.net/wp-includes/js/wp-util.min.js
var wc_add_to_cart_variation_params = {"wc_ajax_url":"\/?wc-ajax=%%endpoint%%","i18n_no_matching_variations_text":"Sorry, no products matched your selection. Please choose a different combination.","i18n_make_a_selection_text":"Please select some product options before adding this product to your cart.","i18n_unavailable_text":"Sorry, this product is unavailable. Please choose a different combination."};
https://gioielliloghan.b-cdn.net/wp-content/plugins/woocommerce/assets/js/frontend/add-to-cart-variation.min.js
https://gioielliloghan.b-cdn.net/wp-content/plugins/breeze/assets/js/js-front-end/breeze-lazy-load.min.js
document.querySelectorAll('img[data-breeze]').forEach(img=>{if(img.getBoundingClientRect().top<=window.innerHeight){img.src=img.getAttribute('data-breeze');img.removeAttribute('data-breeze')}});
https://gioielliloghan.b-cdn.net/wp-content/plugins/elementor/assets/js/webpack.runtime.min.js
https://gioielliloghan.b-cdn.net/wp-content/plugins/elementor/assets/js/frontend-modules.min.js
https://gioielliloghan.b-cdn.net/wp-content/plugins/elementor/assets/lib/waypoints/waypoints.min.js
https://gioielliloghan.b-cdn.net/wp-content/plugins/elementor/assets/js/frontend.min.js