var ___dmc___adSwipe___slt_dmcreport_1 = [{'adTag': 'https://tsn.dmcmedia.co.kr/dmcreportCDN/mainbanner/banner03/pc/img/1705990746481.jpg', 'clickTag': 'http://adapi.feeldmc.com/ad/p/in/v1_0/clk?publisherid=dmcreport&adid=ads_guidda_20240319_1&substitute=Y', 'viewableTag': '', 'slotWidth': '177', 'slotHeight': '290', 'landingType': '_blank', 'landingType2': '_blank'}]; ___dmc___loadScript___slt_dmcreport_1 = function (src, callback) { var script = document.createElement('script'); script.src = src; script.onload = callback; document.head.appendChild(script); } ___dmc___loadCss___slt_dmcreport_1 = 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_dmcreport_1 = function () { var str = ''; var divtemptag = ''; if (___dmc___adSwipe___slt_dmcreport_1.length > 0) { str += '
'; str += '
'; str += '
'; ___dmc___adSwipe___slt_dmcreport_1.forEach(function (value, index) { value.id="___dmc___adSwipeId___slt_dmcreport_1___" + index; str += '
'; const match = value.adTag.match(/[^\/\\]+\.mp4$/); if(match) { str += ''; } else { str += ''; } str += '
'; }); str += '
'; str += '
'; if(177 > 500){ str += '
'; str += '
'; } str += '
'; str += '
'; document.write(str); // swipe ids viewable event(loop) document.addEventListener("DOMContentLoaded", function() { ___dmc___adSwipe___slt_dmcreport_1.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_dmcreport_1 = 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_dmcreport_1 = function (clickTag, landingType) { parent.___dmc___click___evt___call(clickTag, landingType); /* if(landingType === "_self") { window.location.href = clickTag; }else{ window.open(clickTag) } */ } ___dmc___adTagTemp___slt_dmcreport_1(); ___dmc___loadScript___slt_dmcreport_1('https://unpkg.com/swiper/swiper-bundle.min.js?ver=slt_dmcreport_1', function() { ___dmc___loadCss___slt_dmcreport_1('https://unpkg.com/swiper/swiper-bundle.min.css?ver=slt_dmcreport_1', ___dmc___adTagSwiper___slt_dmcreport_1) });