var ___dmc___adSwipe___slt_testspotal_13 = [{'adTag': 'https://allthatboots.com/data/ad/all_300x250.png', 'clickTag': 'https://adapi.feeldmc.com/ad/p/in/v1_0/clk?slotid=slt_testspotal_13&adgroupid=agr_spotaltest_20240809_3&adid=adc_spotaltest_20240809_2', 'viewableTag': 'https://adapi.feeldmc.com/ad/p/in/v1_0/vwi?slotid=slt_testspotal_13&adgroupid=agr_spotaltest_20240809_3&adid=adc_spotaltest_20240809_2&rnd=f7a32e7ab0d2480db576ab9867a3073e', 'slotWidth': '300', 'slotHeight': '250', 'landingType': '_blank', 'landingType2': '_blank'}, {'adTag': 'https://allthatboots.com/data/ad/20230823.gif', 'clickTag': 'https://adapi.feeldmc.com/ad/p/in/v1_0/clk?slotid=slt_testspotal_13&adgroupid=agr_spotaltest_20240809_3&adid=adc_spotaltest_20240809_3', 'viewableTag': 'https://adapi.feeldmc.com/ad/p/in/v1_0/vwi?slotid=slt_testspotal_13&adgroupid=agr_spotaltest_20240809_3&adid=adc_spotaltest_20240809_3&rnd=c0f95eea5dad40579eaef2a539776029', 'slotWidth': '300', 'slotHeight': '250', 'landingType': '_blank', 'landingType2': '_blank'}]; ___dmc___loadScript___slt_testspotal_13 = function (src, callback) { var script = document.createElement('script'); script.src = src; script.onload = callback; document.head.appendChild(script); } ___dmc___loadCss___slt_testspotal_13 = function (href, callback) { var link = document.createElement('link'); link.rel = 'stylesheet'; link.type = 'text/css'; link.href = href; link.onload = callback; document.head.appendChild(link); } ___dmc___adTagTemp___slt_testspotal_13 = function () { var str = ''; var divtemptag = ''; if (___dmc___adSwipe___slt_testspotal_13.length > 0) { str += '
'; str += '
'; str += '
'; ___dmc___adSwipe___slt_testspotal_13.forEach(function (value, index) { value.id="___dmc___adSwipeId___slt_testspotal_13___" + index; str += '
'; const match = value.adTag.match(/[^\/\\]+\.mp4$/); if(match) { str += ''; } else { str += ''; } str += '
'; }); str += '
'; str += '
'; if(300 > 500){ str += '
'; str += '
'; } str += '
'; str += '
'; document.write(str); // swipe ids viewable event(loop) document.addEventListener("DOMContentLoaded", function() { ___dmc___adSwipe___slt_testspotal_13.forEach(function (value, index) { if(value.viewableTag){ var tmpAdTimer = null; var tmpImage = document.getElementById(value.id), tmpOption = { threshold: 0.5 }; if ('IntersectionObserver' in window && 'IntersectionObserverEntry' in window && 'intersectionRatio' in window.IntersectionObserverEntry.prototype) { var tmpAdObserver = new IntersectionObserver(function(entries) { entries.forEach(function(entry) { if (entry.isIntersecting) { tmpAdTimer = setTimeout(function() { var xhr = new XMLHttpRequest(); xhr.open("GET", value.viewableTag + '&clihnt=' + parent.___dmc___unique___get___id___() + '&clisid=' + parent.___dmc___unique___get___sid___(), true); xhr.send(); }, 1000); } else { clearTimeout(tmpAdTimer) } }); }, tmpOption); tmpAdObserver.observe(tmpImage); } else { console.warn('dmc ::: Intersection Observer Not Available'); } } }); }); } } ___dmc___adTagSwiper___slt_testspotal_13 = function () { swiper = new Swiper('.swiper-container-main', { // Optional parameters loop: true, pagination: { el: '.swiper-pagination', clickable: true, }, // Navigation arrows navigation: { nextEl: '.swiper-button-next', prevEl: '.swiper-button-prev', }, autoplay: { delay: 5000, disableOnInteraction: true, } }); } ___dmc___handleClick___slt_testspotal_13 = function (clickTag, landingType) { parent.___dmc___click___evt___call(clickTag, landingType); /* if(landingType === "_self") { window.location.href = clickTag; }else{ window.open(clickTag) } */ } ___dmc___adTagTemp___slt_testspotal_13(); ___dmc___loadScript___slt_testspotal_13('https://unpkg.com/swiper/swiper-bundle.min.js?ver=slt_testspotal_13', function() { ___dmc___loadCss___slt_testspotal_13('https://unpkg.com/swiper/swiper-bundle.min.css?ver=slt_testspotal_13', ___dmc___adTagSwiper___slt_testspotal_13) });