!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(self,(function(){return function(){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function n(n){t(1,arguments);var r=Object.prototype.toString.call(n);return n instanceof Date||"object"===e(n)&&"[object Date]"===r?new Date(n.getTime()):"number"==typeof n||"[object Number]"===r?new Date(n):("string"!=typeof n&&"[object String]"!==r||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}function r(e){return t(1,arguments),n(1e3*function(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}(e))}function o(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.lengthe.replace(/[\u00A0-\u9999<>\&]/gim,(e=>"&#"+e.charCodeAt(0)+";"));const c=function(e,t){return"image"===e.type_of?t?`${a(e.title)}`:`${a(e.title)}`:e.source};return(a=>{console.log("배너매니저 실행"),console.log("프로젝트: "+a.name),console.log("수정일자: "+function(r,a){var c,i;if(arguments.length<1)throw new TypeError("1 argument required, but only ".concat(arguments.length," present"));var l=n(r);if(!function(r){if(t(1,arguments),!function(n){return t(1,arguments),n instanceof Date||"object"===e(n)&&"[object Date]"===Object.prototype.toString.call(n)}(r)&&"number"!=typeof r)return!1;var o=n(r);return!isNaN(Number(o))}(l))throw new RangeError("Invalid time value");var f=String(null!==(c=null==a?void 0:a.format)&&void 0!==c?c:"extended"),u=String(null!==(i=null==a?void 0:a.representation)&&void 0!==i?i:"complete");if("extended"!==f&&"basic"!==f)throw new RangeError("format must be 'extended' or 'basic'");if("date"!==u&&"time"!==u&&"complete"!==u)throw new RangeError("representation must be 'date', 'time', or 'complete'");var s="",d="extended"===f?"-":"",p="extended"===f?":":"";if("time"!==u){var g=o(l.getDate(),2),m=o(l.getMonth()+1,2),b=o(l.getFullYear(),4);s="".concat(b).concat(d).concat(m).concat(d).concat(g)}if("date"!==u){var y=o(l.getHours(),2),h=o(l.getMinutes(),2),v=o(l.getSeconds(),2),w=""===s?"":" ";s="".concat(s).concat(w).concat(y).concat(p).concat(h).concat(p).concat(v)}return s}(r(a.updated_at)));const i=new Date;for(const e of a.groups){const t=document.querySelectorAll(`[df-banner-code="${e.code}"]`);if(0!==t.length)for(const n of t){if(!e.activated){n.parentNode.removeChild(n);continue}n.hidden=!1,n.classList.add("df-bannermanager"),n.classList.add(`df-bannermanager-${e.code}`);const t=n.querySelector("[df-banner-clone]");if(!t)continue;const o=t.outerHTML;let a=0;for(const n of e.banners){if(n.start_at&&n.end_at){if(ir(n.end_at))continue}let e=decodeURIComponent(o);e=e.replace(/{#html}/,n.html||"").replace(/{#real_href}/,n.real_href||"").replace(/{#index}/g,a).replace(/{#href}/g,n.href||"#none").replace(/{#target}/g,"_blank"===n.target?"_blank":"").replace(/{#rel}/g,"_blank"===n.target?"noopener noreferrer":"").replace(/{#title}/g,n.title).replace(/{#item}/g,c(n,!1)).replace(/{#item_lazy}/g,c(n,!0)).replace(/{#img_src}/g,n.source).replace(/{#type}/g,"df-bannermanager-type_"+n.type_of),t.insertAdjacentHTML("beforebegin",e),a+=1}t.parentNode.removeChild(t)}}(()=>{const e=document.querySelectorAll("[df-banner-wrap]");for(const t of e)t.querySelector("[df-banner-clone]")||t.parentNode.removeChild(t)})()})({"name":"기본","use_ftp":false,"updated_at":1765260323,"groups":[{"code":"pc-main-banner","activated":true,"banners":[{"title":"홈배너_pc_양감작","type_of":"image","source":"https://ecimg.cafe24img.com/pg434b75783818095/conrolsc2/web/upload/appfiles/ZaReJam3QiELznoZeGGkMG/cb50f473aa3a14c2723fe920008c3281.gif","html":null,"href":"https://xn--in2b81owrpjjc.com/product/detail.html?product_no=74","real_href":"https://xn--in2b81owrpjjc.com/product/detail.html?product_no=74","target":null},{"title":"pc-banner000","type_of":"image","source":"https://ecimg.cafe24img.com/pg434b75783818095/conrolsc2/web/upload/appfiles/ZaReJam3QiELznoZeGGkMG/27fdfa7aaaaaa382856ac42de4f5b463.gif","html":null,"href":"https://xn--in2b81owrpjjc.com/product/detail.html?product_no=64","real_href":"https://xn--in2b81owrpjjc.com/product/detail.html?product_no=64","target":null},{"title":"홈배너_pc_대상","type_of":"image","source":"https://ecimg.cafe24img.com/pg434b75783818095/conrolsc2/web/upload/appfiles/ZaReJam3QiELznoZeGGkMG/208264f3c589e71ff698a1ecc80b0bfd.gif","html":null},{"title":"홈배너_pc_쿠폰","type_of":"image","source":"https://ecimg.cafe24img.com/pg434b75783818095/conrolsc2/web/upload/appfiles/ZaReJam3QiELznoZeGGkMG/a7a61480967c4406bb65003b26c8ac58.gif","html":null,"href":"https://xn--in2b81owrpjjc.com/member/login.html","real_href":"https://xn--in2b81owrpjjc.com/member/login.html","target":null},{"title":"pc-banner04","type_of":"image","source":"https://ecimg.cafe24img.com/pg434b75783818095/conrolsc2/web/upload/appfiles/ZaReJam3QiELznoZeGGkMG/8dc2da370be3d2fa77d0d49a819ad3bf.gif","html":null}]},{"code":"mo-main-banner","activated":true,"banners":[{"title":"모바일배너_양감작","type_of":"image","source":"https://ecimg.cafe24img.com/pg434b75783818095/conrolsc2/web/upload/appfiles/ZaReJam3QiELznoZeGGkMG/b875ff1d96561b029877996f895f8b7d.gif","html":null,"href":"https://xn--in2b81owrpjjc.com/product/detail.html?product_no=74","real_href":"https://xn--in2b81owrpjjc.com/product/detail.html?product_no=74","target":null},{"title":"mo-banner000","type_of":"image","source":"https://ecimg.cafe24img.com/pg434b75783818095/conrolsc2/web/upload/appfiles/ZaReJam3QiELznoZeGGkMG/e9edf4089da841dc4176bf7d356dda48.gif","html":null,"href":"https://xn--in2b81owrpjjc.com/product/detail.html?product_no=64","real_href":"https://xn--in2b81owrpjjc.com/product/detail.html?product_no=64","target":null},{"title":"모바일배너_대상","type_of":"image","source":"https://ecimg.cafe24img.com/pg434b75783818095/conrolsc2/web/upload/appfiles/ZaReJam3QiELznoZeGGkMG/4fae275bcf7eba1b0596bd3d13e2d4dd.gif","html":null},{"title":"모바일배너_쿠폰","type_of":"image","source":"https://ecimg.cafe24img.com/pg434b75783818095/conrolsc2/web/upload/appfiles/ZaReJam3QiELznoZeGGkMG/14ba9101139d49b25992243cb06a1f93.gif","html":null,"href":"https://xn--in2b81owrpjjc.com/member/login.html","real_href":"https://xn--in2b81owrpjjc.com/member/login.html","target":null},{"title":"mo-banner04","type_of":"image","source":"https://ecimg.cafe24img.com/pg434b75783818095/conrolsc2/web/upload/appfiles/ZaReJam3QiELznoZeGGkMG/a3060bb8d3a7e3dc46aaeba4bdd82eed.gif","html":null}]},{"code":"main-brand-img","activated":true,"banners":[{"title":"main-brand","type_of":"image","source":"https://ecimg.cafe24img.com/pg434b75783818095/conrolsc2/web/upload/appfiles/ZaReJam3QiELznoZeGGkMG/e8770b0e6e694f1973554cb267721c1b.jpg","html":null,"href":"/brand/","real_href":"/brand/","target":null}]},{"code":"detail-bnr","activated":true,"banners":[{"title":"detail_coupon","type_of":"image","source":"https://ecimg.cafe24img.com/pg434b75783818095/conrolsc2/web/upload/appfiles/ZaReJam3QiELznoZeGGkMG/8e22599426088cbac44b56cda3b67231.png","html":null,"href":"/member/login.html","real_href":"/member/login.html","target":null}]},{"code":"pc-brand01","activated":true,"banners":[{"title":"ep01_pc","type_of":"image","source":"https://ecimg.cafe24img.com/pg434b75783818095/conrolsc2/web/upload/appfiles/ZaReJam3QiELznoZeGGkMG/ad8d2ab426a569ab2e85efb26e5e47d1.jpg","html":null}]},{"code":"pc-brand02","activated":true,"banners":[{"title":"ep02_pc","type_of":"image","source":"https://ecimg.cafe24img.com/pg434b75783818095/conrolsc2/web/upload/appfiles/ZaReJam3QiELznoZeGGkMG/8200e2e1a41fde2502f323faac437e79.jpg","html":null}]},{"code":"pc-brand03","activated":true,"banners":[{"title":"ep03_pc","type_of":"image","source":"https://ecimg.cafe24img.com/pg434b75783818095/conrolsc2/web/upload/appfiles/ZaReJam3QiELznoZeGGkMG/bdbfcea899dfa2148f598a2f2fe88d68.jpg","html":null}]},{"code":"mo-brand01","activated":true,"banners":[{"title":"ep01_mo","type_of":"image","source":"https://ecimg.cafe24img.com/pg434b75783818095/conrolsc2/web/upload/appfiles/ZaReJam3QiELznoZeGGkMG/bccf21c95d2f995bf04318acb9bdc48f.jpg","html":null}]},{"code":"mo-brand02","activated":true,"banners":[{"title":"ep02_mo","type_of":"image","source":"https://ecimg.cafe24img.com/pg434b75783818095/conrolsc2/web/upload/appfiles/ZaReJam3QiELznoZeGGkMG/00c920688000d3fd95d54049cbafcbb2.jpg","html":null}]},{"code":"mo-brand03","activated":true,"banners":[{"title":"ep03_mo","type_of":"image","source":"https://ecimg.cafe24img.com/pg434b75783818095/conrolsc2/web/upload/appfiles/ZaReJam3QiELznoZeGGkMG/4cc7884e713de9ec1cc9e14d00db254b.jpg","html":null}]}]}),{}}()}));