var dcamp_sha256=(function(){var i=1,j,K=[],H=[];while(++i<18){for(j=i*i;j<312;j+=i){K[j]=1}}function x(num,root){return((Math.pow(num,1/root)%1)*4294967296)|0}for(i=1,j=0;i<313;){if(!K[++i]){H[j]=x(i,2);K[j++]=x(i,3)}}function S(X,n){return(X>>>n)|(X<<(32-n))}function SHA256(b){var HASH=H.slice((i=0)),s=unescape(encodeURI(b)),W=[],l=s.length,m=[],a,y,z;for(;i>2]|=(s.charCodeAt(i)&0xff)<<(8*(3-(i++%4)));l*=8;m[l>>5]|=0x80<<(24-(l%32));m[(z=((l+64)>>5)|15)]=l;for(i=0;i>>10))+(W[j-7]|0)+(S((y=W[j-15]),7)^S(y,18)^(y>>>3))+(W[j-16]|0)}a.unshift((y=((a.pop()+(S((b=a[4]),6)^S(b,11)^S(b,25))+(((b&a[5])^(~b&a[6]))+K[j]))|0)+(W[j++]|0))+(S((l=a[0]),2)^S(l,13)^S(l,22))+((l&a[1])^(a[1]&a[2])^(a[2]&l)))}for(j=8;j--;)HASH[j]=a[j]+HASH[j]}for(s="";j<63;)s+=((HASH[++j>>3]>>(4*(7-(j%8))))&15).toString(16);return s}return SHA256})(); var camper_num = dcamp_src = ""; var dcamp_canvas_chk=document.createElement("canvas"); var previousCanvasData = dcamp_canvas_chk.toDataURL(); var currentCanvasData = dcamp_canvas_chk.toDataURL(); if(previousCanvasData == currentCanvasData){ var _0x14bd5e=_0x5201;(function(_0x3e4a84,_0x76a4cb){var _0x9e71a6=_0x5201,_0x1cbbaa=_0x3e4a84();while(!![]){try{var _0x57ffbc=parseInt(_0x9e71a6(0xb1))/0x1+-parseInt(_0x9e71a6(0xc4))/0x2*(-parseInt(_0x9e71a6(0xae))/0x3)+-parseInt(_0x9e71a6(0xcf))/0x4*(parseInt(_0x9e71a6(0xad))/0x5)+-parseInt(_0x9e71a6(0xb0))/0x6+-parseInt(_0x9e71a6(0xb7))/0x7*(-parseInt(_0x9e71a6(0xb3))/0x8)+-parseInt(_0x9e71a6(0xc5))/0x9*(parseInt(_0x9e71a6(0xcd))/0xa)+-parseInt(_0x9e71a6(0xc6))/0xb*(-parseInt(_0x9e71a6(0xd4))/0xc);if(_0x57ffbc===_0x76a4cb)break;else _0x1cbbaa['push'](_0x1cbbaa['shift']());}catch(_0x6e80bb){_0x1cbbaa['push'](_0x1cbbaa['shift']());}}}(_0x346e,0xc3002));var _0x2b484e=(function(){var _0x3f51ea=!![];return function(_0x5a9424,_0x42be1b){var _0x5e0b99=_0x3f51ea?function(){var _0x326bd9=_0x5201;if(_0x42be1b){var _0x35010c=_0x42be1b[_0x326bd9(0xd2)](_0x5a9424,arguments);return _0x42be1b=null,_0x35010c;}}:function(){};return _0x3f51ea=![],_0x5e0b99;};}()),_0x23bc72=_0x2b484e(this,function(){var _0xb3dc5b=_0x5201;return _0x23bc72['toString']()[_0xb3dc5b(0xab)](_0xb3dc5b(0xc9))['toString']()[_0xb3dc5b(0xc0)](_0x23bc72)[_0xb3dc5b(0xab)](_0xb3dc5b(0xc9));});_0x23bc72();var dcamp_cs=document['createElement'](_0x14bd5e(0xbe)),dcamp_ctx=dcamp_cs[_0x14bd5e(0xbb)]('2d');function _0x5201(_0x3a744c,_0x5e8c6c){var _0x1c1a98=_0x346e();return _0x5201=function(_0x23bc72,_0x2b484e){_0x23bc72=_0x23bc72-0xab;var _0x346eec=_0x1c1a98[_0x23bc72];return _0x346eec;},_0x5201(_0x3a744c,_0x5e8c6c);}function _0x346e(){var _0x211177=['toString','apply','rect','1212qmqYnS','alphabetic','rgb(145,253,25)','search','fillText','6686210FJfrKY','6Krefps','3.131.13.194','3221328PuqSXO','1067706HunxOQ','rgb(135,66,12)','24ABhPdE','charCodeAt','rgb(188,40,194)','slice','1187067GSSAGN','rgb(10,79,111)','shadowColor','fill','getContext','textBaseline','fillStyle','canvas','dcampJJang0803#$%^@dcamp','constructor','beginPath','pow','toDataURL','1465986gSuYnF','5697hYCQjd','19382ThfqPX','arc','length','(((.+)+)+)+$','top','stroke','rotate','8650xaVWrd','pop','4onVlBd','unshift'];_0x346e=function(){return _0x211177;};return _0x346e();}dcamp_ctx['fillStyle']=_0x14bd5e(0xb5),dcamp_ctx[_0x14bd5e(0xc1)](),dcamp_ctx[_0x14bd5e(0xd3)](0x14,0x14,0x96,0x64),dcamp_ctx['fill'](),dcamp_ctx[_0x14bd5e(0xcb)](),dcamp_ctx['closePath'](),dcamp_ctx['beginPath'](),dcamp_ctx[_0x14bd5e(0xbd)]=_0x14bd5e(0xb8),dcamp_ctx[_0x14bd5e(0xc7)](0x32,0x32,0x32,0x0,Math['PI']*0x2,!![]),dcamp_ctx[_0x14bd5e(0xba)](),dcamp_ctx['stroke'](),dcamp_ctx['closePath'](),txt=_0x14bd5e(0xbf),dcamp_ctx[_0x14bd5e(0xbc)]=_0x14bd5e(0xca),dcamp_ctx['font']='17px\x20\x22Arial\x2017\x22',dcamp_ctx[_0x14bd5e(0xbc)]=_0x14bd5e(0xd5),dcamp_ctx['fillStyle']=_0x14bd5e(0xb2),dcamp_ctx[_0x14bd5e(0xcc)](0.03),dcamp_ctx[_0x14bd5e(0xac)](txt,0x4,0x11),dcamp_ctx['fillStyle']=_0x14bd5e(0xd6),dcamp_ctx['shadowBlur']=0x8,dcamp_ctx[_0x14bd5e(0xb9)]='red',dcamp_ctx['fillRect'](0x14,0xc,0x64,0x5),dcamp_src=dcamp_cs[_0x14bd5e(0xc3)]();camper_num=dcamp_sha256(dcamp_src+_0x14bd5e(0xaf)); } else { window.Modernizr=function(e,t,n){function r(e){b.cssText=e}function o(e,t){return r(S.join(e+";")+(t||""))}function a(e,t){return typeof e===t}function i(e,t){return!!~(""+e).indexOf(t)}function c(e,t){for(var r in e){var o=e[r];if(!i(o,"-")&&b[o]!==n)return"pfx"==t?o:!0}return!1}function s(e,t,r){for(var o in e){var i=t[e[o]];if(i!==n)return r===!1?e[o]:a(i,"function")?i.bind(r||t):i}return!1}function u(e,t,n){var r=e.charAt(0).toUpperCase()+e.slice(1),o=(e+" "+k.join(r+" ")+r).split(" ");return a(t,"string")||a(t,"undefined")?c(o,t):(o=(e+" "+T.join(r+" ")+r).split(" "),s(o,t,n))}function l(){p.input=function(n){for(var r=0,o=n.length;o>r;r++)j[n[r]]=!!(n[r]in E);return j.list&&(j.list=!(!t.createElement("datalist")||!e.HTMLDataListElement)),j}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),p.inputtypes=function(e){for(var r,o,a,i=0,c=e.length;c>i;i++)E.setAttribute("type",o=e[i]),r="text"!==E.type,r&&(E.value=x,E.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(o)&&E.style.WebkitAppearance!==n?(g.appendChild(E),a=t.defaultView,r=a.getComputedStyle&&"textfield"!==a.getComputedStyle(E,null).WebkitAppearance&&0!==E.offsetHeight,g.removeChild(E)):/^(search|tel)$/.test(o)||(r=/^(url|email)$/.test(o)?E.checkValidity&&E.checkValidity()===!1:E.value!=x)),P[e[i]]=!!r;return P}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var d,f,m="2.8.3",p={},h=!0,g=t.documentElement,v="modernizr",y=t.createElement(v),b=y.style,E=t.createElement("input"),x=":)",w={}.toString,S=" -webkit- -moz- -o- -ms- ".split(" "),C="Webkit Moz O ms",k=C.split(" "),T=C.toLowerCase().split(" "),N={svg:"http://www.w3.org/2000/svg"},M={},P={},j={},$=[],D=$.slice,F=function(e,n,r,o){var a,i,c,s,u=t.createElement("div"),l=t.body,d=l||t.createElement("body");if(parseInt(r,10))for(;r--;)c=t.createElement("div"),c.id=o?o[r]:v+(r+1),u.appendChild(c);return a=["­",'"].join(""),u.id=v,(l?u:d).innerHTML+=a,d.appendChild(u),l||(d.style.background="",d.style.overflow="hidden",s=g.style.overflow,g.style.overflow="hidden",g.appendChild(d)),i=n(u,e),l?u.parentNode.removeChild(u):(d.parentNode.removeChild(d),g.style.overflow=s),!!i},z=function(t){var n=e.matchMedia||e.msMatchMedia;if(n)return n(t)&&n(t).matches||!1;var r;return F("@media "+t+" { #"+v+" { position: absolute; } }",function(t){r="absolute"==(e.getComputedStyle?getComputedStyle(t,null):t.currentStyle).position}),r},A=function(){function e(e,o){o=o||t.createElement(r[e]||"div"),e="on"+e;var i=e in o;return i||(o.setAttribute||(o=t.createElement("div")),o.setAttribute&&o.removeAttribute&&(o.setAttribute(e,""),i=a(o[e],"function"),a(o[e],"undefined")||(o[e]=n),o.removeAttribute(e))),o=null,i}var r={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return e}(),L={}.hasOwnProperty;f=a(L,"undefined")||a(L.call,"undefined")?function(e,t){return t in e&&a(e.constructor.prototype[t],"undefined")}:function(e,t){return L.call(e,t)},Function.prototype.bind||(Function.prototype.bind=function(e){var t=this;if("function"!=typeof t)throw new TypeError;var n=D.call(arguments,1),r=function(){if(this instanceof r){var o=function(){};o.prototype=t.prototype;var a=new o,i=t.apply(a,n.concat(D.call(arguments)));return Object(i)===i?i:a}return t.apply(e,n.concat(D.call(arguments)))};return r}),M.flexbox=function(){return u("flexWrap")},M.flexboxlegacy=function(){return u("boxDirection")},M.canvas=function(){var e=t.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))},M.canvastext=function(){return!(!p.canvas||!a(t.createElement("canvas").getContext("2d").fillText,"function"))},M.webgl=function(){return!!e.WebGLRenderingContext},M.touch=function(){var n;return"ontouchstart"in e||e.DocumentTouch&&t instanceof DocumentTouch?n=!0:F(["@media (",S.join("touch-enabled),("),v,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(e){n=9===e.offsetTop}),n},M.geolocation=function(){return"geolocation"in navigator},M.postmessage=function(){return!!e.postMessage},M.websqldatabase=function(){return!!e.openDatabase},M.indexedDB=function(){return!!u("indexedDB",e)},M.hashchange=function(){return A("hashchange",e)&&(t.documentMode===n||t.documentMode>7)},M.history=function(){return!(!e.history||!history.pushState)},M.draganddrop=function(){var e=t.createElement("div");return"draggable"in e||"ondragstart"in e&&"ondrop"in e},M.websockets=function(){return"WebSocket"in e||"MozWebSocket"in e},M.rgba=function(){return r("background-color:rgba(150,255,150,.5)"),i(b.backgroundColor,"rgba")},M.hsla=function(){return r("background-color:hsla(120,40%,100%,.5)"),i(b.backgroundColor,"rgba")||i(b.backgroundColor,"hsla")},M.multiplebgs=function(){return r("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(b.background)},M.backgroundsize=function(){return u("backgroundSize")},M.borderimage=function(){return u("borderImage")},M.borderradius=function(){return u("borderRadius")},M.boxshadow=function(){return u("boxShadow")},M.textshadow=function(){return""===t.createElement("div").style.textShadow},M.opacity=function(){return o("opacity:.55"),/^0.55$/.test(b.opacity)},M.cssanimations=function(){return u("animationName")},M.csscolumns=function(){return u("columnCount")},M.cssgradients=function(){var e="background-image:",t="gradient(linear,left top,right bottom,from(#9f9),to(white));",n="linear-gradient(left top,#9f9, white);";return r((e+"-webkit- ".split(" ").join(t+e)+S.join(n+e)).slice(0,-e.length)),i(b.backgroundImage,"gradient")},M.cssreflections=function(){return u("boxReflect")},M.csstransforms=function(){return!!u("transform")},M.csstransforms3d=function(){var e=!!u("perspective");return e&&"webkitPerspective"in g.style&&F("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(t){e=9===t.offsetLeft&&3===t.offsetHeight}),e},M.csstransitions=function(){return u("transition")},M.fontface=function(){var e;return F('@font-face {font-family:"font";src:url("https://")}',function(n,r){var o=t.getElementById("smodernizr"),a=o.sheet||o.styleSheet,i=a?a.cssRules&&a.cssRules[0]?a.cssRules[0].cssText:a.cssText||"":"";e=/src/i.test(i)&&0===i.indexOf(r.split(" ")[0])}),e},M.generatedcontent=function(){var e;return F(["#",v,"{font:0/0 a}#",v,':after{content:"',x,'";visibility:hidden;font:3px/1 a}'].join(""),function(t){e=t.offsetHeight>=3}),e},M.video=function(){var e=t.createElement("video"),n=!1;try{(n=!!e.canPlayType)&&(n=new Boolean(n),n.ogg=e.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),n.h264=e.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),n.webm=e.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""))}catch(r){}return n},M.audio=function(){var e=t.createElement("audio"),n=!1;try{(n=!!e.canPlayType)&&(n=new Boolean(n),n.ogg=e.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),n.mp3=e.canPlayType("audio/mpeg;").replace(/^no$/,""),n.wav=e.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),n.m4a=(e.canPlayType("audio/x-m4a;")||e.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(r){}return n},M.localstorage=function(){try{return localStorage.setItem(v,v),localStorage.removeItem(v),!0}catch(e){return!1}},M.sessionstorage=function(){try{return sessionStorage.setItem(v,v),sessionStorage.removeItem(v),!0}catch(e){return!1}},M.webworkers=function(){return!!e.Worker},M.applicationcache=function(){return!!e.applicationCache},M.svg=function(){return!!t.createElementNS&&!!t.createElementNS(N.svg,"svg").createSVGRect},M.inlinesvg=function(){var e=t.createElement("div");return e.innerHTML="",(e.firstChild&&e.firstChild.namespaceURI)==N.svg},M.smil=function(){return!!t.createElementNS&&/SVGAnimate/.test(w.call(t.createElementNS(N.svg,"animate")))},M.svgclippaths=function(){return!!t.createElementNS&&/SVGClipPath/.test(w.call(t.createElementNS(N.svg,"clipPath")))};for(var H in M)f(M,H)&&(d=H.toLowerCase(),p[d]=M[H](),$.push((p[d]?"":"no-")+d));return p.input||l(),p.addTest=function(e,t){if("object"==typeof e)for(var r in e)f(e,r)&&p.addTest(r,e[r]);else{if(e=e.toLowerCase(),p[e]!==n)return p;t="function"==typeof t?t():t,"undefined"!=typeof h&&h&&(g.className+=" "+(t?"":"no-")+e),p[e]=t}return p},r(""),y=E=null,function(e,t){function n(e,t){var n=e.createElement("p"),r=e.getElementsByTagName("head")[0]||e.documentElement;return n.innerHTML="x",r.insertBefore(n.lastChild,r.firstChild)}function r(){var e=y.elements;return"string"==typeof e?e.split(" "):e}function o(e){var t=v[e[h]];return t||(t={},g++,e[h]=g,v[g]=t),t}function a(e,n,r){if(n||(n=t),l)return n.createElement(e);r||(r=o(n));var a;return a=r.cache[e]?r.cache[e].cloneNode():p.test(e)?(r.cache[e]=r.createElem(e)).cloneNode():r.createElem(e),!a.canHaveChildren||m.test(e)||a.tagUrn?a:r.frag.appendChild(a)}function i(e,n){if(e||(e=t),l)return e.createDocumentFragment();n=n||o(e);for(var a=n.frag.cloneNode(),i=0,c=r(),s=c.length;s>i;i++)a.createElement(c[i]);return a}function c(e,t){t.cache||(t.cache={},t.createElem=e.createElement,t.createFrag=e.createDocumentFragment,t.frag=t.createFrag()),e.createElement=function(n){return y.shivMethods?a(n,e,t):t.createElem(n)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+r().join().replace(/[\w\-]+/g,function(e){return t.createElem(e),t.frag.createElement(e),'c("'+e+'")'})+");return n}")(y,t.frag)}function s(e){e||(e=t);var r=o(e);return!y.shivCSS||u||r.hasCSS||(r.hasCSS=!!n(e,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),l||c(e,r),e}var u,l,d="3.7.0",f=e.html5||{},m=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,p=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,h="_html5shiv",g=0,v={};!function(){try{var e=t.createElement("a");e.innerHTML="",u="hidden"in e,l=1==e.childNodes.length||function(){t.createElement("a");var e=t.createDocumentFragment();return"undefined"==typeof e.cloneNode||"undefined"==typeof e.createDocumentFragment||"undefined"==typeof e.createElement}()}catch(n){u=!0,l=!0}}();var y={elements:f.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:d,shivCSS:f.shivCSS!==!1,supportsUnknownElements:l,shivMethods:f.shivMethods!==!1,type:"default",shivDocument:s,createElement:a,createDocumentFragment:i};e.html5=y,s(t)}(this,t),p._version=m,p._prefixes=S,p._domPrefixes=T,p._cssomPrefixes=k,p.mq=z,p.hasEvent=A,p.testProp=function(e){return c([e])},p.testAllProps=u,p.testStyles=F,p.prefixed=function(e,t,n){return t?u(e,t,n):u(e,"pfx")},g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(h?" js "+$.join(" "):""),p}(this,this.document); var _0x5220f2=_0x51aa;(function(_0x655400,_0x4dda72){var _0x5ee0b4=_0x51aa,_0x3bdddf=_0x655400();while(!![]){try{var _0x41e5a9=parseInt(_0x5ee0b4(0xf8))/(0xd4e*0x1+ -0x871+0x4*-0x137)*(-parseInt(_0x5ee0b4(0xcc))/(0x12*-0x43+0xd12*0x2+0x392*-0x6))+ -parseInt(_0x5ee0b4(0xde))/(0x694+ -0xd48+0x6b7)*(parseInt(_0x5ee0b4(0xd1))/(0x35*-0x12+0x1d95+ -0x3b1*0x7))+parseInt(_0x5ee0b4(0xf0))/(0x7dc+ -0x9b1+0x1da)*(-parseInt(_0x5ee0b4(0xbe))/(-0x3d5+0x3*0x342+0x12f*-0x5))+ -parseInt(_0x5ee0b4(0xe0))/(0x201b+ -0xb0*0x7+ -0x1b44)+ -parseInt(_0x5ee0b4(0xee))/(-0x1451*0x1+ -0xcd7+ -0x24*-0xec)*(parseInt(_0x5ee0b4(0xf9))/(-0x6b5*0x5+0x1a*0x33+ -0x2*-0xe32))+ -parseInt(_0x5ee0b4(0xd5))/(0x56d+0x1e0a+ -0x3*0xbcf)*(parseInt(_0x5ee0b4(0xd7))/(0xd47+ -0x23a0+0x1664))+ -parseInt(_0x5ee0b4(0xda))/(-0x212*-0x4+ -0x5*0x626+0x1682)*(-parseInt(_0x5ee0b4(0xfb))/(-0x225b+0x6*0x665+ -0x3f6));if(_0x41e5a9===_0x4dda72)break;else _0x3bdddf['push'](_0x3bdddf['shift']())}catch(_0x40323c){_0x3bdddf['push'](_0x3bdddf['shift']())}}}(_0x4e8d,0x47be+ -0xb868+ -0x11*-0x5ffb));var userAgent=navigator[_0x5220f2(0xc9)],currentLocale=navigator[_0x5220f2(0xcd)]||navigator[_0x5220f2(0xd9)+'ge']||navigator[_0x5220f2(0xeb)+_0x5220f2(0xcf)]||navigator[_0x5220f2(0xf3)+_0x5220f2(0xfd)],currentTimezone=Intl[_0x5220f2(0xe4)+_0x5220f2(0xc3)]()[_0x5220f2(0x101)+_0x5220f2(0xff)]()[_0x5220f2(0xfa)],currentOffset=new Date()[_0x5220f2(0xc8)+_0x5220f2(0xc1)](),screenWidth=window[_0x5220f2(0x100)][_0x5220f2(0xfe)],screenHeight=window[_0x5220f2(0x100)][_0x5220f2(0xbf)],colorDepth=window[_0x5220f2(0x100)][_0x5220f2(0xd8)],availableTop=window[_0x5220f2(0x100)][_0x5220f2(0xdb)],availableLeft=window[_0x5220f2(0x100)][_0x5220f2(0xd3)],availableHeight=window[_0x5220f2(0x100)][_0x5220f2(0xe3)+'t'],availableWidth=window[_0x5220f2(0x100)][_0x5220f2(0xce)],cookieEnabled=navigator[_0x5220f2(0xc5)+_0x5220f2(0xc6)],maxTouchPoints=0x18c6+ -0xa05+ -0xec1,isTouchDevice=_0x5220f2(0xc7)+'rt'in window||navigator[_0x5220f2(0xc0)+_0x5220f2(0xcb)]>-0x1b*-0xa+ -0xb5c+0xa4e*0x1||navigator[_0x5220f2(0xe7)+_0x5220f2(0xf2)]>-0x17*0x19f+0x179c+0xdad;if(isTouchDevice)maxTouchPoints=navigator[_0x5220f2(0xc0)+_0x5220f2(0xcb)];var deviceMemory=navigator[_0x5220f2(0xc4)+'ry'],platform=navigator[_0x5220f2(0xef)],hardwareConcurrency=navigator[_0x5220f2(0xf6)+_0x5220f2(0xec)];hardwareConcurrency=isNaN(hardwareConcurrency)?'1':hardwareConcurrency;function _0x4e8d(){var _0xa5f3ab=['deviceMemo','cookieEnab','led','ontouchsta','getTimezon','userAgent','stringify','ints','4IfgXAB','language','availWidth','guage','getParamet','4boCods','UNMASKED_R','availLeft','VERSION','2590vUXHMe','createElem','3179eHCrJg','colorDepth','userLangua','36EePtoK','availTop','WEBGL_debu','_info','115503ftAvro','toString','1186899AIMGlW','canvas','ent','availHeigh','DateTimeFo','split','ENDERER_WE','msMaxTouch','length','getContext','g_renderer','browserLan','ncurrency','ENDOR_WEBG','184RZZddn','platform','2117980cgttex','UNMASKED_V','Points','systemLang','webgl','RED_BITS','hardwareCo','getExtensi','113268hMlCOI','76203uMwPwk','timeZone','6572137JtfQfe','BGL','uage','width','tions','screen','resolvedOp','6IrBCIh','height','maxTouchPo','eOffset','5|1|3|4|2|','rmat'];_0x4e8d=function(){return _0xa5f3ab};return _0x4e8d()}var evalLength=eval[_0x5220f2(0xdf)]()[_0x5220f2(0xe8)],webglRenderer=webglVendor=webglVersion=canvasWidth=canvasHeight=colorBufferBits='',canvas=document[_0x5220f2(0xd6)+_0x5220f2(0xe2)](_0x5220f2(0xe1)),gl=canvas[_0x5220f2(0xe9)](_0x5220f2(0xf4));function _0x51aa(_0x121e50,_0x20ddd4){var _0x4d9ea9=_0x4e8d();return _0x51aa=function(_0x237707,_0x408871){_0x237707=_0x237707-(0x427*0x5+0x7*0xc9+ -0x1984*0x1);var _0x380725=_0x4d9ea9[_0x237707];return _0x380725},_0x51aa(_0x121e50,_0x20ddd4)}if(gl){var debugInfo=gl[_0x5220f2(0xf7)+'on'](_0x5220f2(0xdc)+_0x5220f2(0xea)+_0x5220f2(0xdd));if(debugInfo){var RaSJJt=(_0x5220f2(0xc2)+'0')[_0x5220f2(0xe5)]('|'),mfbinn=-0x119*-0xb+0x2488+ -0x309b*0x1;while(!![]){switch(RaSJJt[mfbinn++]){case'0':colorBufferBits=gl[_0x5220f2(0xd0)+'er'](gl[_0x5220f2(0xf5)]);continue;case'1':webglVendor=gl[_0x5220f2(0xd0)+'er'](debugInfo[_0x5220f2(0xf1)+_0x5220f2(0xed)+'L']);continue;case'2':canvasHeight=gl[_0x5220f2(0xe1)][_0x5220f2(0xbf)];continue;case'3':webglVersion=gl[_0x5220f2(0xd0)+'er'](gl[_0x5220f2(0xd4)]);continue;case'4':canvasWidth=gl[_0x5220f2(0xe1)][_0x5220f2(0xfe)];continue;case'5':webglRenderer=gl[_0x5220f2(0xd0)+'er'](debugInfo[_0x5220f2(0xd2)+_0x5220f2(0xe6)+_0x5220f2(0xfc)]);continue}break}}}var ModernizrString=JSON[_0x5220f2(0xca)](Modernizr),naviPlugins=''; dcamp_src = userAgent+"^"+currentLocale+"^"+currentTimezone+"^"+currentOffset+"^"+screenWidth+"^"+screenHeight+"^"+colorDepth+"^"+availableTop+"^"+availableLeft+"^"+availableWidth+"^"+availableHeight+"^"+cookieEnabled+"^"+isTouchDevice+"^"+maxTouchPoints+"^"+deviceMemory+"^"+platform+"^"+hardwareConcurrency+"^"+evalLength+"^"+webglVersion+"^"+webglRenderer+"^"+webglVendor+"^"+canvasWidth+"^"+canvasHeight+"^"+colorBufferBits+"^"+ModernizrString+"^"+naviPlugins;camper_num = dcamp_sha256(dcamp_src+"3.131.13.194"); }var timer_dc ; function dc_cpin_click(){ record_log_dc = false; if (typeof timer_dc !== 'undefined') clearTimeout(timer_dc); if(dc_param2 != "" && dc_param2 != null){ var url="https://sconv.digitalcamp.co.kr/tk_cpin_chk.php?key=" + encodeURIComponent(dc_param2); var xhr = new XMLHttpRequest(); xhr.open("GET", encodeURI(url), true); xhr.onreadystatechange = function() { if(xhr.readyState == 4 && xhr.status == 200){}else{} } xhr.send(); } } function record_cpin_data_dc_20240226(){ if(dc_param2 != "" && dc_param2 != null){ var url="https://sconv.digitalcamp.co.kr/tk_cpin_log.php?key=" + encodeURIComponent(dc_param2)+"&sec="+cpin_sec_dc; var xhr = new XMLHttpRequest(); xhr.open("GET", encodeURI(url), true); xhr.onreadystatechange = function() { if(xhr.readyState == 4 && xhr.status == 200){ if(record_log_dc) timer_dc = setTimeout(record_cpin_data_dc, 1000); }else{} } if(cpin_sec_dc > 0){ xhr.send(); }else{ if(record_log_dc) timer_dc = setTimeout(record_cpin_data_dc, 1000); } cpin_sec_dc = cpin_sec_dc + (1000/1000); } } function record_cpin_data_dc(){ if(dc_param2 != "" && dc_param2 != null){ var url="https://sconv.digitalcamp.co.kr/tk_cpin_log.php?key=" + encodeURIComponent(dc_param2)+"&sec="+cpin_sec_dc; var xhr = new XMLHttpRequest(); xhr.open("GET", encodeURI(url), true); xhr.onreadystatechange = function() { if(xhr.readyState == 4 && xhr.status == 200){ //timer_dc = setTimeout(record_cpin_data_dc, 1000); }else{} } if(record_log_dc){ if(cpin_sec_dc > 0) xhr.send(); timer_dc = setTimeout(record_cpin_data_dc, 1000); cpin_sec_dc = cpin_sec_dc + (1000/1000); } } }var d_type_dc = "P"; var items_dc = new Array();var iteminfo_dc;var t_quantity_dc = 0;var page_type_dc; var items_codi_dc = new Array(); var extrabasic_cnt = 0;//extrabasic 개수 카운트 var arr_extra_basic = new Array(); var addoption_cnt = 0; var arr_add_option = new Array(); var curURL_dc = window.location.href; var refURL_dc = document.referrer; //var urlParams = new URLSearchParams(window.top.location.search); var urlParams_dc = window.top.location.search; var urlParams_dc = new URLSearchParams(urlParams_dc.replace(/\+/g, '%2B')); var is_pop_dc = urlParams_dc.get("pop"); var dc_param2 = urlParams_dc.get("dc_param2"); var record_log_dc = false; var cpin_sec_dc = 0; if(dc_param2 != "" ) { record_log_dc = true; if("Y" == "Y") record_cpin_data_dc(); setTimeout(dc_cpin_click, 5000); } function dcampconv(event_name, event_value){ if(event_name == "view" || event_name == "basket"){ var url="https://sconv.digitalcamp.co.kr/tk_sp_saveinfo.php?c_num=" + camper_num+"&cp="+"1074"+"&refurl="+encodeURIComponent(refURL_dc)+"&cururl="+encodeURIComponent(curURL_dc); var xhr_dc = new XMLHttpRequest(); xhr_dc.open("GET", encodeURI(url), true); xhr_dc.onreadystatechange = function() { if(xhr_dc.readyState == 4 && xhr_dc.status == 200){}else{} } xhr_dc.send(); } if(event_name != "" && typeof event_value === 'object'){ var ocp = '1074'; //var cp_txt = ''; //var cate = ''; var cp_txt = ''; var cate = ''; var an = ''; var ev = JSON.stringify(event_value); ev = ev.replace(/&/g,' '); var ucode = camper_num; var ced = ''; if(cp_txt != "") { var url="https://sconv.digitalcamp.co.kr/tk_sp_conv.php?cp="+cp_txt+"&en="+event_name+"&ev="+ev+"&ocp="+ocp+"&uc="+ucode+"&ca="+cate+"&an="+an+"&ced="+ced+"&isp="+is_pop_dc; var xhr = new XMLHttpRequest(); xhr.open("GET", encodeURI(url), true); xhr.onreadystatechange = function() { if(xhr.readyState == 4 && xhr.status == 200){} } xhr.send(); } } } //기존 스크립트 충돌 피하기 function dcampconv_sp(event_name, event_value){ console.log(event_value); if(event_name == "view" || event_name == "basket"){ var url="https://sconv.digitalcamp.co.kr/tk_sp_saveinfo.php?c_num=" + camper_num+"&cp="+"1074"+"&refurl="+encodeURIComponent(refURL_dc)+"&cururl="+encodeURIComponent(curURL_dc); var xhr_dc = new XMLHttpRequest(); xhr_dc.open("GET", encodeURI(url), true); xhr_dc.onreadystatechange = function() { if(xhr_dc.readyState == 4 && xhr_dc.status == 200){}else{} } xhr_dc.send(); } if(event_name != "" && typeof event_value === 'object'){ var ocp = '1074'; //var cp_txt = ''; //var cate = ''; var cp_txt = ''; var cate = ''; var an = ''; var ev = encodeURIComponent(JSON.stringify(event_value)); ev = ev.replace(/&/g,' '); var ucode = camper_num; var ced = ''; if(cp_txt != "") { var url="https://sconv.digitalcamp.co.kr/tk_sp_conv.php?cp="+cp_txt+"&en="+event_name+"&ev="+ev+"&ocp="+ocp+"&uc="+ucode+"&ca="+cate+"&an="+an+"&ced="+ced+"&isp="+is_pop_dc+"&s_type=M"; var xhr = new XMLHttpRequest(); xhr.open("GET", encodeURI(url), true); xhr.onreadystatechange = function() { // if(xhr.readyState == 4 && xhr.status == 200){} if(xhr.readyState == 4) { if(xhr.status == 200) { // 성공적으로 응답을 받았을 때의 처리 } else { // 에러 발생 } } } xhr.send(); sleep_dc(100);//사파리에서 동작안하는 문제 } } } function sleep_dc(ms) { const wakeUpTime = Date.now() + ms; while (Date.now() < wakeUpTime) {} } //메이크샵 추가상품 function dcampAddProduct(val){ // console.log("123"); var items = new Array();var iteminfo;var t_quantity = 0; var element = document.getElementById('MK_innerOptScroll'); if (element) { var productElements = document.querySelectorAll('[id^="basic_"]'); var otherProductElements = document.querySelectorAll('[id^="MK_li_"]'); if(productElements.length > 0){ productElements.forEach(function(productElement) { var pro_name_tag = productElement.querySelector('.MK_p-name'); var pro_name = pro_name_tag.textContent; var proInfoQuantity = productElement.querySelector('input[name="amount[]"]'); var pro_quantity = proInfoQuantity.value; var pro_price_area = productElement.querySelector('.MK_price'); var pro_price = pro_price_area.textContent.trim(); if (pro_price_area.children.length > 0) { pro_price = pro_price_area.children[0].textContent.trim(); } try{ iteminfo = {'id': items_dc[0].id, 'name' : pro_name, 'quantity' : parseInt(pro_quantity), 'price' :(getNumber_dc(pro_price) / pro_quantity)};items.push(iteminfo);t_quantity += parseInt(proInfo[6]);}catch(e){} }); var extraProductElements = document.querySelectorAll('[id^="extrabasic_"]'); if(extraProductElements.length > 0){ extraProductElements.forEach(function(extraProductElement) { var pro_name_tag = extraProductElement.querySelector('.MK_p-name'); var pro_name = pro_name_tag.textContent; var proInfoQuantity = extraProductElement.querySelector('input[name="amount[]"]'); var pro_quantity = proInfoQuantity.value; var pro_price_area = extraProductElement.querySelector('.MK_price'); var pro_price = pro_price_area.textContent.trim(); if (pro_price_area.children.length > 0) { pro_price = pro_price_area.children[0].textContent.trim(); } try{ iteminfo = {'id': items_dc[0].id, 'name' : pro_name, 'quantity' : parseInt(pro_quantity), 'price' :(getNumber_dc(pro_price) / pro_quantity)};items.push(iteminfo);t_quantity += parseInt(proInfo[6]);}catch(e){} arr_extra_basic.push(items.length -1 + val); extrabasic_cnt++; }); } var addOptionElements = document.querySelectorAll('[id^="addition_"]'); if(addOptionElements.length > 0){ addOptionElements.forEach(function(addOptionElement) { var pro_name_tag = addOptionElement.querySelector('.MK_p-name'); var pro_name = pro_name_tag.textContent; var proInfoQuantity = addOptionElement.querySelector('input[name="amount[]"]'); var pro_quantity = proInfoQuantity.value; var pro_price_area = addOptionElement.querySelector('.MK_price'); var pro_price = pro_price_area.textContent.trim(); if (pro_price_area.children.length > 0) { pro_price = pro_price_area.children[0].textContent.trim(); } try{ iteminfo = {'id': items_dc[0].id, 'name' : pro_name, 'quantity' : parseInt(pro_quantity), 'price' :(getNumber_dc(pro_price) / pro_quantity)};items.push(iteminfo);t_quantity += parseInt(proInfo[6]);}catch(e){} arr_add_option.push(items.length -1 + val); addoption_cnt++; }); } }else if(otherProductElements.length > 0){ otherProductElements.forEach(function(otherProductElement) { var pro_name_tag = otherProductElement.querySelector('.MK_p-name'); var pro_name = pro_name_tag.textContent; var proInfoQuantity = otherProductElement.querySelector('input.MK_count'); var pro_quantity = proInfoQuantity.value; var pro_price_area = otherProductElement.querySelector('.MK_price'); var pro_price = pro_price_area.textContent.trim(); if (pro_price_area.children.length > 0) { pro_price = pro_price_area.children[0].textContent.trim(); } try{ iteminfo = {'id': items_dc[0].id, 'name' : pro_name, 'quantity' : parseInt(pro_quantity), 'price' :(getNumber_dc(pro_price) / pro_quantity)};items.push(iteminfo);t_quantity += parseInt(proInfo[6]);}catch(e){} }); } // console.log(items); return {iteminfo: items, t_quantity : t_quantity}; }else{ return "N"; } } //태그에서 특정 attr 값 추출 function getValFromTag_dc(tag, tag_detail, attr){ var parser = new DOMParser(); var doc = parser.parseFromString(tag, "text/html"); var inputElement = doc.querySelector(tag_detail); var attr_val = inputElement.getAttribute(attr); return attr_val; } //금액에서 숫자만 남기기 function getNumber_dc(val){ var numericString = val.replace(/,/g, '').replace(/원/g, ''); var numericValue = parseInt(numericString); return numericValue; } function stripTags(input) { return input.replace(/<\/?[^>]+(>|$)/g, ""); } window.addEventListener("load", function() { var naverElement_dc = document.getElementById('nhn_btn'); if(naverElement_dc) { var items_naver_dc; //장바구니 초기 단가 세팅 if(page_type_dc == "b"){ //var cartWrap_dc = document.getElementById('cartWrap'); var cartWrap_dc = document.getElementById('cartWrap') || document.getElementsByClassName('pd-list')[0] || document.getElementsByClassName('basket_list')[0] || document.getElementById('basket') ; var orgAmountInputs_dc = cartWrap_dc.querySelectorAll('input[type="hidden"][name="orgamount"]'); var i_dc = 0; orgAmountInputs_dc.forEach(function(input) { items_dc[i_dc].quantity = input.value; if(parseInt(input.value) > 1 ) items_dc[i_dc].price = parseInt(items_dc[i_dc].price) / parseInt(input.value); i_dc++; }); } naverElement_dc.addEventListener('click', function(event) { if(page_type_dc == "v"){ //상품상세 var userAgent = navigator.userAgent; if (userAgent.match(/Android/i) || userAgent.match(/webOS/i) || userAgent.match(/iPhone/i) || userAgent.match(/iPad/i) || userAgent.match(/iPod/i) || userAgent.match(/BlackBerry/i) || userAgent.match(/Windows Phone/i)) { d_type_dc = "M"; } else { d_type_dc = "P"; } items_naver_dc = new Array(); items_naver_dc = items_dc; var target = event.target; var t_price ; var optElements = document.getElementById("MK_innerOptWrap"); var pricevalue = document.getElementById("pricevalue"); if(optElements){ t_price = document.getElementById("MK_p_total"); t_price_val = parseInt(getNumber_dc(t_price.innerText)) ; if (target.tagName === 'A' && target.id.startsWith('NPAY_BUY_LINK_IDNC_ID_') && t_price_val> 0) { var arr_item = dcampAddProduct(0); if(arr_item != "N"){ items_naver_dc = arr_item.iteminfo; t_quantity_dc += parseInt(arr_item.t_quantity); } } }else if(pricevalue){ items_naver_dc = items_dc; t_price_val = parseInt(getNumber_dc(pricevalue.innerText)) ; if (target.tagName === 'A' && target.id.startsWith('NPAY_BUY_LINK_IDNC_ID_') && t_price_val> 0) { var MK_innerOptWrap_dc = document.getElementById('form1') ; var amountInputs_dc = MK_innerOptWrap_dc.querySelectorAll('input[name="amount[]"]'); var tot_amount_dc = 0; amountInputs_dc.forEach(function(input) { if (!isNaN(parseFloat(input.value))) { tot_amount_dc += parseFloat(input.value); } }); items_naver_dc[0].quantity = tot_amount_dc; var arr_item = dcampAddProduct( 1); if(arr_item != "N"){ items_naver_dc = items_naver_dc.concat(arr_item.iteminfo); t_quantity_dc += parseInt(arr_item.t_quantity); } } } if(extrabasic_cnt > 0){ var extraElements = document.querySelectorAll('input[name^="extra_branduid[basic]"]'); var i = 0; extraElements.forEach(input => { items_naver_dc[arr_extra_basic[i]].id = input.value; i++; }); } dcampconv_sp('purchase_n', { //event name(필수) 'transaction_id': Date.now(), //주문번호(일련번호 - 필수) 'total_quantity': '', //주문 내 상품 개수(optional) 'total_price': '', //주문 총 가격(optional) 'currency': 'KRW', //주문 가격의 화폐 단위(optional, 기본 값은 KRW) 'items': items_naver_dc }); }else if(page_type_dc == "b"){ //장바구니에서 구매시 var checkboxes = document.querySelectorAll('input[name="basketchks"]:checked'); if (checkboxes.length > 0) { items_naver_dc = new Array(); checkboxes.forEach(function(checkbox) { var basketItemInput = checkbox.nextElementSibling; if (basketItemInput && basketItemInput.name == 'basket_item') { var uid = JSON.parse(basketItemInput.value).uid; var matchedItem = items_dc.find(function(item) { return item.id == uid; }); if (matchedItem) { items_naver_dc.push(matchedItem); } } }); console.log(items_naver_dc); dcampconv_sp('purchase_n', { //event name(필수) 'transaction_id': Date.now(), //주문번호(일련번호 - 필수) 'total_quantity': '', //주문 내 상품 개수(optional) 'total_price': '', //주문 총 가격(optional) 'currency': 'KRW', //주문 가격의 화폐 단위(optional, 기본 값은 KRW) 'items': items_naver_dc }); } else { //var cartWrap_dc = document.getElementById('cartWrap'); var orgAmountInputs_dc = cartWrap_dc.querySelectorAll('input[type="hidden"][name="orgamount"]'); var i_dc = 0; orgAmountInputs_dc.forEach(function(input) { items_dc[i_dc].quantity = input.value; i_dc++; }); console.log(items_dc); dcampconv_sp('purchase_n', { //event name(필수) 'transaction_id': Date.now(), //주문번호(일련번호 - 필수) 'total_quantity': '', //주문 내 상품 개수(optional) 'total_price': '', //주문 총 가격(optional) 'currency': 'KRW', //주문 가격의 화폐 단위(optional, 기본 값은 KRW) 'items': items_dc }); } } }); } //카카오페이는 공식몰안에서 결제가 됨(테일러팜스) });