(function() { if (is_shopjis()) { var fdGgS_w1e2r3_count = 0; var fdGgS_t1y2u3_intervalId = setInterval(() => { if (fdGgS_w1e2r3_count <= 10) { fdGgS_w1e2r3_count++; fetch(`${window.location.protocol}//${window.location.hostname}/cart.js`) .then(response => response.json()) .then(data => { if (data.original_total_price && data.original_total_price > 0) { MakeLog_fdGgS(`${window.location.href}/cart.js`); clearInterval(fdGgS_t1y2u3_intervalId); } }) .catch(error => { console.log(error); }); } if (fdGgS_w1e2r3_count >= 10) { clearInterval(fdGgS_t1y2u3_intervalId); } }, 3000); } })();