(()=>{"use strict";Math.pow(10,8);const e=Symbol.for("constructDateFrom");function t(t,n){return r=t,"function"==typeof(o=n||t)?o(r):o&&"object"==typeof o&&e in o?o[e](r):o instanceof Date?new o.constructor(r):new Date(r);var o,r}function n(e,n){return t(1e3*e,n?.in)}function o(e,t){return(e<0?"-":"")+Math.abs(e).toString().padStart(t,"0")}function r(e){return!(!((n=e)instanceof Date||"object"==typeof n&&"[object Date]"===Object.prototype.toString.call(n))&&"number"!=typeof e||isNaN(+t(e)));var n}const a=e=>e.replace(/[\u00A0-\u9999<>\&]/gim,e=>""+e.charCodeAt(0)+";"),c=function(e,t){return"image"===e.type_of?t?`
`:`
`:e.source};(e=>{console.log("배너매니저 실행"),console.log("프로젝트: "+e.name),console.log("수정일자: "+function(e,n){const a=t(e,n?.in);if(!r(a))throw new RangeError("Invalid time value");const c=n?.format??"extended",l=n?.representation??"complete";let i="";const s="extended"===c?"-":"",d="extended"===c?":":"";if("time"!==l){const e=o(a.getDate(),2),t=o(a.getMonth()+1,2);i=`${o(a.getFullYear(),4)}${s}${t}${s}${e}`}return"date"!==l&&(i=`${i}${""===i?"":" "}${o(a.getHours(),2)}${d}${o(a.getMinutes(),2)}${d}${o(a.getSeconds(),2)}`),i}(n(e.updated_at)));const a=new Date;for(const t of e.groups){const e=document.querySelectorAll(`[df-banner-code="${t.code}"]`);if(0!==e.length)for(const o of e){if(!t.activated){o.parentNode.removeChild(o);continue}o.hidden=!1,o.classList.add("df-bannermanager"),o.classList.add(`df-bannermanager-${t.code}`);const e=o.querySelector("[df-banner-clone]");if(!e)continue;const r=e.outerHTML;let l=0;for(const o of t.banners){if(o.start_at&&o.end_at){if(an(o.end_at))continue}let t=decodeURIComponent(r);t=t.replace(/{#html}/,o.html||"").replace(/{#real_href}/,o.real_href||"").replace(/{#index}/g,l).replace(/{#href}/g,o.href||"#none").replace(/{#target}/g,"_blank"===o.target?"_blank":"").replace(/{#rel}/g,"_blank"===o.target?"noopener noreferrer":"").replace(/{#title}/g,o.title).replace(/{#item}/g,c(o,!1)).replace(/{#item_lazy}/g,c(o,!0)).replace(/{#img_src}/g,o.source).replace(/{#type}/g,"df-bannermanager-type_"+o.type_of),e.insertAdjacentHTML("beforebegin",t),l+=1}e.parentNode.removeChild(e)}}(()=>{const e=document.querySelectorAll("[df-banner-wrap]");for(const t of e)t.querySelector("[df-banner-clone]")||t.parentNode.removeChild(t)})()})({"name":"PC","use_ftp":false,"project_id":"55993","updated_at":1783987120,"groups":[{"code":"bn-md","id":"432040","activated":true,"banners":[{"title":"제목을 입력해주세요.","type_of":"image","source":"https://ecimg.cafe24img.com/pg2023b80263846091/foxdak/web/upload/appfiles/ZaReJam3QiELznoZeGGkMG/610d2324782484a71f39cfc58ad9a354.gif","html":"","id":"1978122","href":"https://foxdak.co.kr/product/%EC%8B%A0%EA%B7%9C%ED%9A%8C%EC%9B%90-only-%EC%B2%AB-%EA%B5%AC%EB%A7%A4-%EC%A0%84%EC%9A%A9-20%ED%8C%A9-%ED%8C%A8%ED%82%A4%EC%A7%80/48/category/83/display/1/","real_href":"https://foxdak.co.kr/product/%EC%8B%A0%EA%B7%9C%ED%9A%8C%EC%9B%90-only-%EC%B2%AB-%EA%B5%AC%EB%A7%A4-%EC%A0%84%EC%9A%A9-20%ED%8C%A9-%ED%8C%A8%ED%82%A4%EC%A7%80/48/category/83/display/1/","target":null}]},{"code":"bn-quick","id":"418736","activated":true,"banners":[{"title":"신제품","type_of":"image","source":"https://ecimg.cafe24img.com/pg2023b80263846091/foxdak/web/upload/appfiles/ZaReJam3QiELznoZeGGkMG/a5ce08c2d3802117a52c4407aa118db2.png","html":"신제품","id":"1937699","href":"https://foxdak.co.kr/product/list.html?cate_no=79","real_href":"https://foxdak.co.kr/product/list.html?cate_no=79","target":null},{"title":"첫구매 전용 ","type_of":"image","source":"https://ecimg.cafe24img.com/pg2023b80263846091/foxdak/web/upload/appfiles/ZaReJam3QiELznoZeGGkMG/b79498c8ff2cf5d19c0c25d5d1bc66f6.png","html":"첫구매 전용 ","id":"1937698","href":"https://foxdak.co.kr/product/list.html?cate_no=80","real_href":"https://foxdak.co.kr/product/list.html?cate_no=80","target":null},{"title":"닭가슴살 ","type_of":"image","source":"https://ecimg.cafe24img.com/pg2023b80263846091/foxdak/web/upload/appfiles/ZaReJam3QiELznoZeGGkMG/81245733dcc899c2c381e3705760cd8a.png","html":"닭가슴살 ","id":"1937697","href":"https://foxdak.co.kr/product/list.html?cate_no=65","real_href":"https://foxdak.co.kr/product/list.html?cate_no=65","target":null},{"title":"대용량","type_of":"image","source":"https://ecimg.cafe24img.com/pg2023b80263846091/foxdak/web/upload/appfiles/ZaReJam3QiELznoZeGGkMG/cb99bcb7467e021f8efe9151f3cd21b6.png","html":"대용량","id":"1961194","href":"https://foxdak.co.kr/product/list.html?cate_no=61","real_href":"https://foxdak.co.kr/product/list.html?cate_no=61","target":null},{"title":"이벤트","type_of":"image","source":"https://ecimg.cafe24img.com/pg2023b80263846091/foxdak/web/upload/appfiles/ZaReJam3QiELznoZeGGkMG/e5f698d6becf963b8f8858b5126ad27e.png","html":"이벤트","id":"1937696","href":"https://foxdak.co.kr/event/list.html","real_href":"https://foxdak.co.kr/event/list.html","target":null},{"title":"등급별 혜택","type_of":"image","source":"https://ecimg.cafe24img.com/pg2023b80263846091/foxdak/web/upload/appfiles/ZaReJam3QiELznoZeGGkMG/e625a48e94e4ddc8582891609d0caabd.png","html":"등급별 혜택","id":"1937695","href":"https://foxdak.co.kr/event/read.html?no=4&board_no=2","real_href":"https://foxdak.co.kr/event/read.html?no=4&board_no=2","target":null}]},{"code":"bn-car","id":"418735","activated":true,"banners":[{"title":"04421","type_of":"image","source":"https://ecimg.cafe24img.com/pg2023b80263846091/foxdak/web/upload/appfiles/ZaReJam3QiELznoZeGGkMG/6459408252dc4b4fddfbb26d582aab09.jpg","html":"","id":"2367819","href":"https://foxdak.co.kr/product/%EC%8A%A4%ED%8C%80-%EC%8A%AC%EB%9D%BC%EC%9D%B4%EC%8A%A4-%EB%8B%AD%EA%B0%80%EC%8A%B4%EC%82%B4-%EB%A7%A4%EC%9A%B4%EB%A7%9B-%ED%8C%A8%ED%82%A4%EC%A7%80/59/category/1/display/5/?icid=MAIN.product_listmain_4","real_href":"https://foxdak.co.kr/product/%EC%8A%A4%ED%8C%80-%EC%8A%AC%EB%9D%BC%EC%9D%B4%EC%8A%A4-%EB%8B%AD%EA%B0%80%EC%8A%B4%EC%82%B4-%EB%A7%A4%EC%9A%B4%EB%A7%9B-%ED%8C%A8%ED%82%A4%EC%A7%80/59/category/1/display/5/?icid=MAIN.product_listmain_4","target":null},{"title":"자사몰_신상5종_배너_pc","type_of":"image","source":"https://ecimg.cafe24img.com/pg2023b80263846091/foxdak/web/upload/appfiles/ZaReJam3QiELznoZeGGkMG/ab95cfbe15610970ec0c6a7edd1a561b.jpg","html":"","id":"2251698","href":"https://foxdak.co.kr/product/new-%EC%97%AC%EC%9A%B0%EB%8B%AD-%EC%8A%A4%ED%8C%80-%EC%8A%AC%EB%9D%BC%EC%9D%B4%EC%8A%A4-%EB%8B%AD%EA%B0%80%EC%8A%B4%EC%82%B4-5%EC%A2%85-150g/50/category/1/display/2/?icid=MAIN.product_listmain_1","real_href":"https://foxdak.co.kr/product/new-%EC%97%AC%EC%9A%B0%EB%8B%AD-%EC%8A%A4%ED%8C%80-%EC%8A%AC%EB%9D%BC%EC%9D%B4%EC%8A%A4-%EB%8B%AD%EA%B0%80%EC%8A%B4%EC%82%B4-5%EC%A2%85-150g/50/category/1/display/2/?icid=MAIN.product_listmain_1","target":null},{"title":"여우닭_첫구매전용배너","type_of":"image","source":"https://ecimg.cafe24img.com/pg2023b80263846091/foxdak/web/upload/appfiles/ZaReJam3QiELznoZeGGkMG/e429a08d9fc6bf8ce844ef09ad251b2a.jpg","html":"","id":"2186857","href":"https://foxdak.co.kr/product/%EC%8B%A0%EA%B7%9C%ED%9A%8C%EC%9B%90-only-%EC%B2%AB-%EA%B5%AC%EB%A7%A4-%EC%A0%84%EC%9A%A9-20%ED%8C%A9-%ED%8C%A8%ED%82%A4%EC%A7%80/48/category/80/display/1/","real_href":"https://foxdak.co.kr/product/%EC%8B%A0%EA%B7%9C%ED%9A%8C%EC%9B%90-only-%EC%B2%AB-%EA%B5%AC%EB%A7%A4-%EC%A0%84%EC%9A%A9-20%ED%8C%A9-%ED%8C%A8%ED%82%A4%EC%A7%80/48/category/80/display/1/","target":null},{"title":"여우닭_회원전용배너_PC","type_of":"image","source":"https://ecimg.cafe24img.com/pg2023b80263846091/foxdak/web/upload/appfiles/ZaReJam3QiELznoZeGGkMG/52ec828bd72dae106a3e0da66c6e8eda.jpg","html":"","id":"2184075","href":"https://foxdak.co.kr/event/read.html?no=4&board_no=2","real_href":"https://foxdak.co.kr/event/read.html?no=4&board_no=2","target":null},{"title":"여우닭_신제품5종_배너_pc","type_of":"image","source":"https://ecimg.cafe24img.com/pg2023b80263846091/foxdak/web/upload/appfiles/ZaReJam3QiELznoZeGGkMG/33f3d2b89e04509f36c8216a65bc048f.jpg","html":"","id":"2177330"}]},{"code":"bn-top","id":"418734","activated":false,"banners":[]}]})})();