!function(){"use strict";var e,t={857:function(e,t,n){var o,l;function r(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,a(o.key),o)}}function i(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e){return function(e){if(Array.isArray(e))return p(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return p(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function u(e){return u="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},u(e)}n(2675),n(9463),n(2259),n(5700),n(8706),n(2008),n(3418),n(3792),n(8598),n(4782),n(739),n(9572),n(2010),n(2892),n(6099),n(6034),n(3362),n(7495),n(8781),n(7764),n(1761),n(5440),n(744),n(3500),n(2953),(o=[Element.prototype,CharacterData.prototype,DocumentType.prototype]).forEach((function(e){if(!0===Object.prototype.hasOwnProperty.call(e,"remove"))return!0;Object.defineProperty(e,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){this.parentNode.removeChild(this)}})})),o[0]&&(l=function(e){var t=+e;return isNaN(t)||t===1/0||t===-1/0?0:t},Element.prototype.scroll||(Element.prototype.scroll=function(){var e,t,n=arguments.length,o=this.ownerDocument,r=document.defaultView,i="BackCompat"===document.compatMode,a=document.getElementsByTagName("BODY")[0],c={};if(o===window.document&&r&&0!==n){if(1===n){var s=arguments[0];if("object"!==u(s))throw new Error("Failed to execute 'scrollBy' on 'Element': parameter 1 ('options') is not an object.");"left"in s&&(c.left=l(s.left)),"top"in s&&(c.top=l(s.top)),e="left"in c?c.left:this.scrollLeft,t="top"in c?c.top:this.scrollTop}else c.left=l(arguments[0]),e=l(arguments[0]),c.top=l(arguments[1]),t=l(arguments[1]);if(this===document.documentElement){if(i)return;return _scrollX=this.scrollLeft,"pageXOffset"in r&&(_scrollX=r.pageXOffset),void r.scroll("scrollX"in r?r.scrollX:_scrollX,t)}this!==a||!i||function(e){var t=e||document.getElementsByTagName("BODY")[0],n=window.getComputedStyle(t),o=window.getComputedStyle(t.parent),l=n.overflowX,r=n.overflowY,i=o.overflowX,a=o.overflowY;return("table-column"===n.display||"table-column-group"===n.display)&&"visible"!==i&&"clip"!==i&&"visible"!==a&&"clip"!==a&&"visible"!==l&&"clip"!==l&&"visible"!==r&&"clip"!==r}(a)?(this.scrollLeft=e,this.scrollTop=t):r.scroll(c.left,c.top)}}),Element.prototype.scrollTo||(Element.prototype.scrollTo=Element.prototype.scroll),Element.prototype.scrollBy||(Element.prototype.scrollBy=function(){var e=arguments.length,t={};if(0!==e){if(1===e){var n=arguments[0];if("object"!==u(n))throw new Error("Failed to execute 'scrollBy' on 'Element': parameter 1 ('options') is not an object.");"left"in n&&(t.left=l(n.left)),"top"in n&&(t.top=l(n.top))}else t.left=l(arguments[0]),t.top=l(arguments[1]);t.left="left"in t?t.left+this.scrollLeft:this.scrollLeft,t.top="top"in t?t.top+this.scrollTop:this.scrollTop,this.scroll(t)}}),Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector),function(){var e=document.createElement("_");if(e.classList.add("c1","c2"),!e.classList.contains("c2")){var t=function(e){var t=DOMTokenList.prototype[e];DOMTokenList.prototype[e]=function(e){var n,o=arguments.length;for(n=0;n<o;n+=1)e=arguments[n],t.call(this,e)}};t("add"),t("remove")}if(e.classList.toggle("c3",!1),e.classList.contains("c3")){var n=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return 1 in arguments&&!this.contains(e)==!t?t:n.call(this,e)}}"replace"in document.createElement("_").classList||(DOMTokenList.prototype.replace=function(e,t){var n=this.toString().split(" "),o=n.indexOf("".concat(e));o>-1&&(n=n.slice(o),this.remove.apply(this,s(n)),this.add(t),this.add.apply(this,s(n.slice(1))))}),e=null}());var d=function(){var e={dg:[],dgUa:null,chkUa:{},flag:!1},t={animationFrame:0,animationFrameEffectX:0,animationFrameEffectY:0},n=new Array,o=new Array,l=i((function l(){c(this,l),this.init=function(){return{userAgent:e,animationFrameData:t,layerpopupInit:o,slideInit:n}}})),r=i((function e(){c(this,e),this.init=function(){}}),[{key:"device",value:function(){var t=e.dg,n=e.dgUa,o=e.chkUa;if(!1===e.flag){if(e.flag=!0,t.uaMatch=function(e){var t=e.toLowerCase();return o=/(edg)\/([\w.]+)/.exec(t)||/(opr)[\\/]([\w.]+)/.exec(t)||/(whale)[ \\/]([\w.]+)/.exec(t)||/(chrome)[ \\/]([\w.]+)/.exec(t)||/(crios)[ \\/]([\w.]+)/.exec(t)||/(iemobile)[\\/]([\w.]+)/.exec(t)||/(safari)[ \\/]([\w.]+)/.exec(t)||/(webkit)[ \\/]([\w.]+)/.exec(t)||/(opera)(?:.*version|)[ \\/]([\w.]+)/.exec(t)||/(msie) ([\w.]+)/.exec(t)||t.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(t)||t.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(t)||[],t=/(ipad)/.exec(t)||/(ipod)/.exec(t)||/(windows phone)/.exec(t)||/(iphone)/.exec(t)||/(android)/.exec(t)||/(blackberry)/.exec(t)||/(win)/.exec(t)||/(mac)/.exec(t)||/(linux)/.exec(t)||[],{browser:o[1]||"",version:o[2]||"0",platform:t[0]||""}},(n=t.uaMatch(window.navigator.userAgent)).browser&&(o[n.browser]=!0,o.version=n.version),n.platform&&(o[n.platform]=!0),(o.android||o.blackberry||o.ipad||o.iphone||o.ipod||o["windows phone"])&&(o.mobile=!0),(o.mac||o.linux||o.win)&&(o.desktop=!0),(o.chrome||o.opr||o.safari||o.whale)&&(o.webkit=!0),o.rv||o.iemobile){var l="msie";n.browser=l,o[l]=!0}if(o.safari&&o.blackberry){var r="blackberry";n.browser=r,o[r]=!0}if(o.safari&&o.android){var i="android";n.browser=i,o[i]=!0}t.browser=o;var a=t.browser.version.split(".");t.browser.mobile?document.querySelector("body").classList.add("mobile"):document.querySelector("body").classList.add("pc"),t.browser.win?document.querySelector("body").classList.add("win"):t.browser.mac?document.querySelector("body").classList.add("mac"):t.browser.iphone||t.browser.ipad?document.querySelector("body").classList.add("ios"):t.browser.android?document.querySelector("body").classList.add("android"):document.querySelector("body").classList.add("other"),t.browser.msie?document.querySelector("body").classList.add("ie","ie".concat(a[0])):t.browser.chrome||t.browser.crios?document.querySelector("body").classList.add("cr","cr".concat(a[0])):t.browser.safari?document.querySelector("body").classList.add("sf","sf".concat(a[0])):t.browser.edg?document.querySelector("body").classList.add("edg","edg".concat(a[0])):t.browser.mozilla?document.querySelector("body").classList.add("ff","ff".concat(a[0])):t.browser.whale?document.querySelector("body").classList.add("wha","wha".concat(a[0])):document.querySelector("body").classList.add("other","other".concat(a[0]))}return t}},{key:"loadingopen",value:function(){var e="loading selected ".concat(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"black");0===document.querySelectorAll("body > .loading").length?document.querySelector("body").insertAdjacentHTML("beforeend",'<div class="'.concat(e,'">LOADING...</div>')):document.querySelector("body > .loading").setAttribute("class",e)}},{key:"loadingclose",value:function(){1===document.querySelectorAll("body > .loading.selected").length&&document.querySelector("body > .loading.selected").remove()}},{key:"ajax_call",value:function(e,t,n,o){var l=new XMLHttpRequest;return new Promise((function(r){if(l.onreadystatechange=function(){l.readyState===l.DONE&&(200===l.status?r(o(l)):r(o("".concat(l.status,": ").concat(l.statusText))))},"POST"===e||"POSTJSON"===e){var i=e;"POSTJSON"===e&&(i="POST"),l.open(i,t,!0);var a=n;"POSTJSON"===e&&(a=JSON.stringify(n),l.setRequestHeader("Content-Type","application/json")),l.send(""!==n?a:"")}else{var c=e,s=n;"GETJSON"===e&&(c="GET",s=JSON.stringify(n)),l.open(c,"".concat(t).concat(t.match(/\?/g)?"&":"?").concat(s),!0),"GETJSON"===e&&l.setRequestHeader("Content-Type","application/json"),l.send()}}))}},{key:"add_cookie",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n={expireTime:new Date,hour:(new Date).getHours(),minute:(new Date).getMinutes(),second:(new Date).getSeconds()},o=n.expireTime,l=n.hour,r=n.minute,i=n.second;o.setTime(o.getTime()+36e5*(24*t-l)-6e4*r-1e3*i),document.cookie="".concat(e,"; path=/;expires=").concat(o.toUTCString(),";")}},{key:"getIndex",value:function(e){var t="string"===u(e)?document.querySelector(e):e;return Array.from(t.parentElement.children).indexOf(t)}},{key:"getSiblings",value:function(e){var t="string"===u(e)?document.querySelector(e).parentNode.firstChild:e.parentNode.firstChild,n=[];do{3!==t.nodeType&&n.push(t)}while(t=t.nextSibling);return n}},{key:"getParents",value:function(e,t){for(var n="string"===u(e)?document.querySelector(e):e,o=[];n&&n!==document;n=n.parentElement)void 0!==t&&!0===n.matches(t)&&o.push(n);return o}},{key:"GetVendorPrefix",value:function(e){for(var t=document.documentElement,n=0;n<e.length;n+=1)if(e[n]in t.style)return e[n]}},{key:"cancelAnimation",value:function(){var e=(new l).init().animationFrameData;cancelAnimationFrame(e.animationFrame)}},{key:"translateXYTo",value:function(e,t,n,o,r,i){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"linear",c=arguments.length>7&&void 0!==arguments[7]?arguments[7]:void 0,s=(new l).init().animationFrameData,p={increment:20,startX:t,changeX:o-t,startY:n,changeY:r-n,currentTime:0},u=p.increment,d=p.startX,_=p.changeX,y=p.startY,m=p.changeY,f=p.currentTime,g=function(e,t,n,o){if("easeOutQuad"===a){var l=e;return-n*(l/=o)*(l-2)+t}return n*e/o+t},h=function(){f+=u,s.animationFrameEffectX=g(f,d,_,i),s.animationFrameEffectY=g(f,y,m,i),e.style.transform="translate(".concat(s.animationFrameEffectX,"px, ").concat(s.animationFrameEffectY,"px)"),f<i?(cancelAnimationFrame(s.animationFrame),s.animationFrame=requestAnimationFrame(h)):void 0!==c&&c()};i>=100?h():e.style.transform="translate(".concat(o,"px, ").concat(r,"px)")}},{key:"scrollXYTo",value:function(e,t,n,o,r,i){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"linear",c=arguments.length>7&&void 0!==arguments[7]?arguments[7]:void 0,s=(new l).init().animationFrameData,p={increment:20,startX:t,changeX:o-t,startY:n,changeY:r-n,currentTime:0},u=p.increment,d=p.startX,_=p.changeX,y=p.startY,m=p.changeY,f=p.currentTime,g=function(e,t,n,o){if("easeOutQuad"===a){var l=e;return-n*(l/=o)*(l-2)+t}return n*e/o+t},h=function(){f+=u,s.animationFrameEffectX=g(f,d,_,i),s.animationFrameEffectY=g(f,y,m,i),e.scrollTo(s.animationFrameEffectX,s.animationFrameEffectY),f<i?(cancelAnimationFrame(s.animationFrame),s.animationFrame=requestAnimationFrame(h)):void 0!==c&&c()};i>=100?h():e.scrollTo(o,r)}},{key:"setScrollShadow",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=n.type,l=void 0===o?"vertical":o,r=n.size,i=void 0===r?"medium":r,a=n.wrapper,c=void 0===a?null:a,p=n.removeShadow,u=void 0!==p&&p,d=n.scrollToTop,_=void 0!==d&&d,y=n.scrollbarHidden,m=void 0!==y&&y,f="vertical"===l,g=f?e.scrollHeight>e.clientHeight:e.scrollWidth>e.clientWidth,h=f?.13*e.scrollHeight:.13*(e.scrollWidth-e.clientWidth),v=e.classList.contains("layerpopup_content"),w=c||e,b={top:"scroll_shadow_top",right:"scroll_shadow_right",bottom:"scroll_shadow_bottom",left:"scroll_shadow_left",hiddenScroll:"hidden_scrollbar",shadowSize:i},S=function(t,n){var o,l=[t,b.shadowSize,m&&b.hiddenScroll];c&&m&&e.classList.add(b.hiddenScroll),n?w.classList.remove(t):(o=w.classList).add.apply(o,l)},L=function(){var t={isBottom:e.scrollHeight-e.scrollTop-e.clientHeight<h,isTop:e.scrollTop<=h,isRight:e.scrollLeft>=e.scrollWidth-e.clientWidth-10,isLeft:e.scrollLeft<=h};f?(S(b.bottom,t.isBottom),S(b.top,t.isTop)):(S(b.right,t.isRight),S(b.left,t.isLeft))};if((t=w.classList).remove.apply(t,s(Object.values(b))),m&&e.classList.remove(b.hiddenScroll),!v&&w.removeEventListener("scroll",L),_&&(e.scrollTop=0),!u&&g)return v?function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).isInit,n=void 0!==t&&t,o=e.querySelector(".dg_content_wrap"),l=new MutationObserver((function(t){t.forEach((function(t){if("attributes"===t.type){var n=Number(o.dataset.scroll),l={isBottom:e.scrollHeight-e.clientHeight-15<=n,isTop:n-15<=0};S(b.bottom,l.isBottom),S(b.top,l.isTop)}}))}));n?l.disconnect:f&&l.observe(o,{attributes:!0})}():e.addEventListener("scroll",L),S(f?b.bottom:b.right)}}]),a=i((function e(){c(this,e),this.init=function(e,t,n){for(var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],l=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r={events:t.split(" "),qs:null,qsArray:null,obj:null,index:-1},i=r.events,a=r.qs,c=r.qsArray,s=r.obj,p=r.index,u=function(t){if(!0===o){var r=function(e){s=e.target,n.call(s,e)};document.querySelectorAll(e).forEach((function(e){e.addEventListener(i[t],r,{passive:l})}))}else document.addEventListener(i[t],(function(t){if(a=document.querySelectorAll(e),c=Array.from(a),a){for(s=t.target,p=-1;s&&-1===(p=c.indexOf(s));)s=s.parentElement;p>-1&&n.call(s,t)}}),{passive:l})},d=0;d<i.length;d+=1)u(d)}})),p=i((function e(){c(this,e),this.init=function(){}}),[{key:"scroll",value:function(e,t){var n,o,l=null;window.addEventListener("scroll",(n=e,o=t,function(){"function"===u(n)&&n(),clearTimeout(l),l=setTimeout((function(){"function"===u(o)&&o()}),200)}))}}]),d=i((function e(){c(this,e),this.init=function(){}}),[{key:"resize",value:function(e,t){var n,o,l=null;window.addEventListener("resize",(n=e,o=t,function(){"function"===u(n)&&n(),clearTimeout(l),l=setTimeout((function(){"function"===u(o)&&o()}),200)}))}}]),_=i((function e(){c(this,e),this.tooltipDelayFunc=null,this.init=function(){}}),[{key:"open",value:function(e,t){var n=Math.floor((window.scrollY||window.pageYOffset)<=0?0:window.scrollY||window.pageYOffset)-Math.floor("undefined"!==u(window.visualViewport)?window.visualViewport.offsetTop:0),o=document.querySelector("#wrap").scrollTop>0?document.querySelector("#wrap").scrollTop:n,l={tooltip:document.querySelector("".concat(e,".tooltip2019")),padding:5,top:0,left:t.getBoundingClientRect().left,layerpopupContent:(new r).getParents(t,".dg_content_wrap")[0],layerpopupContent2022:(new r).getParents(t,".layerpopup_content")[0]},i=l.tooltip,a=l.padding,c=l.layerpopupContent,s=l.layerpopupContent2022,p=l.top,d=l.left;p=t.getBoundingClientRect().top+o+t.offsetHeight+a,p-=document.querySelector("#page").getBoundingClientRect().top+o,d-=document.querySelector("#page").getBoundingClientRect().left+(window.scrollX||window.pageXOffset),void 0!==s&&(p=t.getBoundingClientRect().top-s.getBoundingClientRect().top+s.scrollTop+t.offsetHeight+a,d=t.getBoundingClientRect().left-s.getBoundingClientRect().left,void 0!==c&&!1===(new r).getParents(c,".layerpopup.selected")[0].classList.contains("not_translateY")&&!1===(new r).getParents(c,".layerpopup.selected")[0].classList.contains("not_scroll")&&(p=t.getBoundingClientRect().top-s.getBoundingClientRect().top+Math.abs(parseFloat(c.getAttribute("data-scroll")))+t.offsetHeight+a));var _=document.querySelector("body").offsetWidth,y=document.querySelector("body").offsetHeight;void 0!==s&&(_=s.scrollWidth,y=s.scrollHeight,void 0!==c&&(_=c.offsetWidth,y=c.offsetHeight)),i.style.visibility="hidden",i.style.display="block",p+i.offsetHeight+a>y&&(p+=y-p-i.offsetHeight-a,void 0===s&&(p-=document.querySelector("#page").getBoundingClientRect().top+o)),d+i.offsetWidth+a>_&&(d+=_-d-i.offsetWidth-a),i.style.visibility="",i.style.display="",i.classList.add("selected"),i.style.top="".concat(p,"px"),i.style.left="".concat(d,"px")}},{key:"close",value:function(e){var t=document.querySelector("".concat(e,".tooltip2019"));t.style.opacity=0;var n=1e3*parseFloat(window.getComputedStyle(t).transitionDuration);clearTimeout(this.tooltipDelayFunc),this.tooltipDelayFunc=setTimeout((function(){t.classList.remove("selected"),t.style.opacity="",t.style.top="",t.style.left=""}),n)}}]),y={delayfunc1:null,delayfunc2:null,delayfunc3:null,delayfunc4:null},m=i((function e(){c(this,e);var t=this;t._layerpopup_content={_this:null,_content_sel_obj:null,_content_translate_start:null,_content_clientX_start:null,_content_clientY_start:null,_content_clientY_move:0,_content_clientY_moveend:0,_content_clientY_moveend_slide:0,_content_scrollCheck:!1,_content_firstScrollObj:null,_content_scrollObj:null,_content_scrollObjDelayFunc:null,_content_dragDirection:"",_content_timestamp_start:0,_content_timestamp_end:0,_content_touch_duration:300,_content_scrollbar_move:0,_content_duration:800,_resizeWidth:window.innerWidth,_resizeHeight:window.innerHeight,cancelAnimation:function(e){var t=o[e.getAttribute("id")];(window.cancelAnimationFrame||window.mozCancelAnimationFrame)(t.animationFrame)},translateXYTo:function(e,t,n,l,i,a){var c=o[(new r).getParents(e,".layerpopup.selected")[0].getAttribute("id")],s=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)},p=t,u=l-p,d=n,_=i-d,y=0;Math.easeOutQuad=function(e,t,n,o){var l=e;return-n*(l/=o)*(l-2)+t};var m=function(e,t,n){var o,l;void 0!==(new r).getParents(e,".layerpopup.selected")[0]&&null!==e.nextElementSibling&&null!==e.nextElementSibling.querySelector("span")&&(e.nextElementSibling.querySelector("span").style.transform="translate(".concat((o=e,l=t,-l*(o.nextElementSibling.offsetWidth/o.scrollWidth)),"px, ").concat(function(e,t){return-t*(e.nextElementSibling.offsetHeight/e.scrollHeight)}(e,n),"px)"))},f=function(){y+=20,c.animationFrameEffectX=Math.easeOutQuad(y,p,u,a),c.animationFrameEffectY=Math.easeOutQuad(y,d,_,a),e.style.transform="translate(".concat(c.animationFrameEffectX,"px, ").concat(c.animationFrameEffectY,"px)"),m(e,c.animationFrameEffectX,c.animationFrameEffectY),y<a&&(c.animationFrame=s(f))};a>=100?f():(e.style.transform="translate(".concat(l,"px, ").concat(i,"px)"),m(e,l,i))},scrollXYTo:function(e,t,n,l,i,a){var c=o[(new r).getParents(e,".layerpopup.selected")[0].getAttribute("id")],s=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)},p=t,u=l-p,d=n,_=i-d,y=0;Math.easeOutQuad=function(e,t,n,o){var l=e;return-n*(l/=o)*(l-2)+t};var m=function(){y+=20,c.animationFrameEffectX=Math.easeOutQuad(y,p,u,a),c.animationFrameEffectY=Math.easeOutQuad(y,d,_,a),e.scrollTo(c.animationFrameEffectX,c.animationFrameEffectY),y<a&&(c.animationFrame=s(m))};a>=100?m():e.scrollTo(l,i)},getScrollParent:function(e){return("hidden"!==window.getComputedStyle(e).overflowX&&"visible"!==window.getComputedStyle(e).overflowX||"hidden"!==window.getComputedStyle(e).overflowY&&"visible"!==window.getComputedStyle(e).overflowY)&&(e.scrollWidth>e.offsetWidth||e.scrollHeight>e.offsetHeight)?{status:"scroll",obj:e}:null!==e.parentNode&&e.parentNode!==document&&!0!==e.parentNode.classList.contains("layerpopup_content")&&!0!==e.parentNode.classList.contains("dg_content_wrap")&&t._layerpopup_content.getScrollParent(e.parentElement)}},t._layerpopup_content_scroll={_this:null,_content_translate_start:null,_content_translate_move:null,_content_translate_moveend:null,_content_scroll_clientY_start:null,_content_scroll_clientY_move:0,_content_scroll_clientY_moveend:0},t._layerpopup_form={_wrap:document.querySelector("#wrap"),_form_window_height:0,_form_visualViewport_height:0,_form_layerpopup_selected:null},t._layerpopup_draggable={_start:0,_move:0,_layerpopup:null,_layerpopup_id:null,_layerpopup_height:0,_timestamp_start:0,_timestamp_end:0,_duration:200},t.layerpopup_custom_scrollbar_Y=function(e,t){return-t*(e.nextElementSibling.offsetHeight/e.scrollHeight)},t.layerpopup_content_scrollend_Y=function(e,n){var o=n,l=(new r).getParents(e,".layerpopup.selected")[0].offsetHeight-(new r).getParents(e,".layerpopup_content")[0].offsetHeight,i=t._layerpopup_form._form_visualViewport_height-l;return!1===(new r).getParents(e,".layerpopup.selected")[0].classList.contains("full")&&(i=(new r).getParents(e,".layerpopup_content")[0].offsetHeight),void 0!==(new r).getParents(e,".layerpopup.selected")[0]&&(!1===(new r).getParents(e,".layerpopup.selected")[0].classList.contains("not_translateY")?o>0||i>e.scrollHeight?o=0:o<i-e.scrollHeight&&(o=i-e.scrollHeight):o<0?o=0:o>e.scrollHeight-i&&(o=e.scrollHeight-i)),o},t.layerpopup_open_wrap=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];!1!==n&&(null!==(new r).getParents(n.target,".layerpopup.selected")[0].nextElementSibling&&!1!==(new r).getParents(n.target,".layerpopup.selected")[0].nextElementSibling.classList.contains("layerpopup_bg")||(t="none")),("open"===e&&"none"!==t||"touch"===e)&&(document.querySelector("body").style.overflow="hidden")},t.layerpopup_close_wrap=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];!1!==n&&(null!==(new r).getParents(n.target,".layerpopup.selected")[0].nextElementSibling&&!1!==(new r).getParents(n.target,".layerpopup.selected")[0].nextElementSibling.classList.contains("layerpopup_bg")||(t="none")),("close"===e&&"none"!==t||"touch"===e)&&(document.querySelector("body").style.overflow="")},t.init=function(n){var l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,l=null,i=null,a=0,c=e;void 0!==n&&"init"!==n&&(c=document.querySelector(e)),null!==c&&void 0===(new r).getParents(c,".toast.selected")[0]&&void 0===(new r).getParents(c,".tooltip2019.selected")[0]&&(0===t&&(c.parentElement.style.visibility="hidden",c.parentElement.classList.add("check")),c.setAttribute("data-customscroll",!0),c.querySelector(".layerpopup_content").style.padding="",i="".concat(window.getComputedStyle(c.querySelector(".layerpopup_content")).paddingTop," ").concat(window.getComputedStyle(c.querySelector(".layerpopup_content")).paddingRight," ").concat(window.getComputedStyle(c.querySelector(".layerpopup_content")).paddingBottom," ").concat(window.getComputedStyle(c.querySelector(".layerpopup_content")).paddingLeft),null===c.querySelector(".layerpopup_content > .dg_content_wrap")?(l=c.querySelector(".layerpopup_content").innerHTML,c.querySelector(".layerpopup_content").innerHTML='<div class="dg_content_wrap" data-scroll="0" style="padding:'.concat(i,';">').concat(l,"</div>")):(c.querySelector(".layerpopup_content > .dg_content_wrap").setAttribute("data-scroll",null!==c.querySelector(".layerpopup_content > .dg_content_wrap").getAttribute("data-scroll")?c.querySelector(".layerpopup_content > .dg_content_wrap").getAttribute("data-scroll"):0),c.querySelector(".layerpopup_content > .dg_content_wrap").style.padding=i),c.querySelector(".layerpopup_content").style.padding="0px",c.style.visibility="hidden",c.classList.add("check"),c.setAttribute("data-oriheight",c.offsetHeight),!0===(new r).device().browser.mobile?(null!==c.querySelector(".layerpopup_content > .dg_content_scroll")&&c.querySelector(".layerpopup_content > .dg_content_scroll").remove(),!1===c.classList.contains("not_translateY")&&!1===c.classList.contains("not_scroll")&&c.querySelector(".layerpopup_content").offsetHeight<c.querySelector(".layerpopup_content > .dg_content_wrap").scrollHeight&&(c.querySelector(".layerpopup_content > .dg_content_wrap").insertAdjacentHTML("afterend",'<div class="dg_content_scroll"><div class="scroll_wrap"><span></span></div></div>'),a=c.querySelector(".layerpopup_content").offsetHeight/c.querySelector(".layerpopup_content > .dg_content_wrap").scrollHeight*c.querySelector(".layerpopup_content > .dg_content_scroll").offsetHeight,c.querySelector(".layerpopup_content > .dg_content_scroll span").style.height="".concat(a,"px"))):c.classList.add("not_translateY"),c.classList.remove("check"),c.style.visibility="",t!==o-1&&0!==o||(c.parentElement.classList.remove("check"),c.parentElement.style.visibility=""))};if(void 0!==n&&"init"!==n)l(n);else if(t._layerpopup_form._form_window_height=window.innerHeight,t._layerpopup_form._form_visualViewport_height="undefined"!==u(window.visualViewport)?window.visualViewport.height:window.innerHeight,document.querySelectorAll(".layerpopup_wrap").forEach((function(e){e.querySelectorAll(".layerpopup").forEach((function(t,n){l(t,n,e.querySelectorAll(".layerpopup").length)}))})),"init"===n){document.querySelectorAll(".layerpopup_wrap").forEach((function(e){e.querySelectorAll(".layerpopup").forEach((function(e){o[e.getAttribute("id")]={animationFrame:null,animationFrameEffectX:0,animationFrameEffectY:0}}))}));var i=null;(new a).init(".layerpopup_wrap .layerpopup_bg","click touchstart touchend wheel",(function(t){var n={_layerpopup:this.previousElementSibling,_layerpopup_id:this.previousElementSibling.getAttribute("id")},o=n._layerpopup,l=n._layerpopup_id;if(void 0===t.touches||t.touches.length<2)if("touchstart"===t.type||"wheel"===t.type)!0===t.cancelable&&(t.preventDefault(),t.stopPropagation());else if(!1===o.classList.contains("not_close")){var r=0;null!==o.querySelector(":focus")&&(r=1e3*parseFloat(window.getComputedStyle(o).transitionDuration)+50,o.querySelector(":focus").blur()),clearTimeout(i),i=setTimeout((function(){(new e).close("#".concat(l))}),r)}})),(new a).init(".layerpopup.selected *","touchstart touchmove touchend wheel",(function(e){if("touchmove"!==e.type||!0!==e.target.classList.contains("layerpopup_content")&&void 0===(new r).getParents(e.target,".layerpopup_header")[0]&&void 0===(new r).getParents(e.target,".layerpopup_footer")[0]||!0===e.cancelable&&(e.preventDefault(),e.stopPropagation()),void 0!==(new r).getParents(e.target,".dg_content_wrap")[0]){t._layerpopup_content._this=(new r).getParents(this,".dg_content_wrap")[0],void 0===t._layerpopup_content._this&&(t._layerpopup_content._this=(new r).getParents(this,".layerpopup.selected")[0].querySelector(".dg_content_wrap")),"undefined"===u(o[(new r).getParents(t._layerpopup_content._this,".layerpopup.selected")[0].getAttribute("id")])&&(o[(new r).getParents(t._layerpopup_content._this,".layerpopup.selected")[0].getAttribute("id")]={animationFrame:null,animationFrameEffectX:0,animationFrameEffectY:0});var n=o[(new r).getParents(t._layerpopup_content._this,".layerpopup.selected")[0].getAttribute("id")],l=function(o){var l=void 0!==o.touches?o.touches[0]:o;if(""===t._layerpopup_content._content_dragDirection&&(t._layerpopup_content._content_dragDirection="vertical",("touchmove"===o.type&&Math.abs(t._layerpopup_content._content_clientX_start-l.clientX)>Math.abs(t._layerpopup_content._content_clientY_start-l.clientY)||"wheel"===o.type&&Math.abs(l.wheelDeltaX)>Math.abs(l.wheelDeltaY))&&(t._layerpopup_content._content_dragDirection="horizontal")),"vertical"===t._layerpopup_content._content_dragDirection)if(null===t._layerpopup_content._content_firstScrollObj&&(t._layerpopup_content._content_firstScrollObj=t._layerpopup_content.getScrollParent(o.target)),"scroll"===t._layerpopup_content.getScrollParent(o.target).status){"wheel"===o.type&&t.layerpopup_open_wrap("touch",null!==(new r).getParents(t._layerpopup_content._this,".layerpopup.selected")[0].nextElementSibling?window.getComputedStyle((new r).getParents(t._layerpopup_content._this,".layerpopup.selected")[0].nextElementSibling).display:"none",e),t._layerpopup_content._content_scrollObj=t._layerpopup_content.getScrollParent(o.target).obj,t._layerpopup_content._content_scrollObj.setAttribute("data-orioverflowx",t._layerpopup_content._content_scrollObj.style.overflowX),t._layerpopup_content._content_scrollObj.setAttribute("data-orioverflowy",t._layerpopup_content._content_scrollObj.style.overflowY);var i="touchmove"===o.type?l.clientY-t._layerpopup_content._content_clientY_start:l.wheelDeltaY;!1!==t._layerpopup_content._content_firstScrollObj&&!1===t._layerpopup_content._content_scrollCheck&&"hidden"!==t._layerpopup_content._content_scrollObj.style.overflow&&(0===t._layerpopup_content.getScrollParent(o.target).obj.scrollTop&&i>0||Math.ceil(t._layerpopup_content.getScrollParent(o.target).obj.scrollTop+t._layerpopup_content.getScrollParent(o.target).obj.offsetHeight)>=Math.floor(t._layerpopup_content.getScrollParent(o.target).obj.scrollHeight)&&i<0)?(t._layerpopup_content._content_scrollObj.style.overflow="hidden","touchmove"===o.type?t._layerpopup_content._content_clientY_start+=i:t._layerpopup_content._content_translate_start+=i):!1===t._layerpopup_content._content_firstScrollObj?t._layerpopup_content._content_scrollObj.style.overflow="hidden":(t._layerpopup_content._content_scrollCheck=!0,!0===(new r).getParents(t._layerpopup_content._this,".layerpopup.selected")[0].classList.contains("not_translateY")&&t._layerpopup_content._this.setAttribute("data-scroll",(new r).getParents(t._layerpopup_content._this,".layerpopup_content")[0].scrollTop))}else"touchmove"===o.type?t._layerpopup_content._content_clientY_move=l.clientY-t._layerpopup_content._content_clientY_start:t._layerpopup_content._content_translate_start=parseFloat(t._layerpopup_content._this.getAttribute("data-scroll"))||0,t._layerpopup_content._content_clientY_moveend=t._layerpopup_content._content_translate_start-("touchmove"===o.type?t._layerpopup_content._content_clientY_move:l.wheelDeltaY),!1===(new r).getParents(t._layerpopup_content._this,".layerpopup.selected")[0].classList.contains("not_translateY")&&(t._layerpopup_content._content_clientY_moveend=t._layerpopup_content._content_translate_start+("touchmove"===o.type?t._layerpopup_content._content_clientY_move:l.wheelDeltaY)),"wheel"===o.type&&(t._layerpopup_content._content_clientY_moveend_slide=t.layerpopup_content_scrollend_Y(t._layerpopup_content._this,t._layerpopup_content._content_clientY_moveend),n.animationFrameEffectY=t._layerpopup_content._content_clientY_moveend_slide),void 0===(new r).getParents(o.target,".toast.selected")[0]?!1===(new r).getParents(t._layerpopup_content._this,".layerpopup.selected")[0].classList.contains("not_translateY")?(!0===(new r).getParents(t._layerpopup_content._this,".layerpopup.selected")[0].classList.contains("not_bounce")&&(t._layerpopup_content._content_clientY_moveend>0?t._layerpopup_content._content_clientY_moveend=0:t._layerpopup_content._content_clientY_moveend<t._layerpopup_content._this.parentElement.offsetHeight-t._layerpopup_content._this.offsetHeight&&(t._layerpopup_content._content_clientY_moveend=t._layerpopup_content._this.parentElement.offsetHeight-t._layerpopup_content._this.offsetHeight)),t._layerpopup_content._this.setAttribute("data-scroll","touchmove"===o.type?t._layerpopup_content._content_clientY_moveend:t._layerpopup_content._content_clientY_moveend_slide),t._layerpopup_content._this.style.transform="translate(0px, ".concat("touchmove"===o.type?t._layerpopup_content._content_clientY_moveend:t._layerpopup_content._content_clientY_moveend_slide,"px)"),null!==t._layerpopup_content._this.nextElementSibling&&(!1===t._layerpopup_content._this.nextElementSibling.classList.contains("selected")&&(!1===t._layerpopup_content._this.parentElement.parentElement.classList.contains("not_bounce")||!0===t._layerpopup_content._this.parentElement.parentElement.classList.contains("not_bounce")&&t._layerpopup_content._content_clientY_moveend<0&&t._layerpopup_content._content_clientY_moveend>t._layerpopup_content._this.parentElement.offsetHeight-t._layerpopup_content._this.offsetHeight)&&t._layerpopup_content._this.nextElementSibling.classList.add("selected"),t._layerpopup_content._content_scrollbar_move=t.layerpopup_custom_scrollbar_Y(t._layerpopup_content._this,"touchmove"===o.type?t._layerpopup_content._content_clientY_moveend:t._layerpopup_content._content_clientY_moveend_slide),null!==t._layerpopup_content._this.nextElementSibling.querySelector("span")&&(t._layerpopup_content._this.nextElementSibling.querySelector("span").style.transform="translate(0px, ".concat(t._layerpopup_content._content_scrollbar_move,"px)")))):(t._layerpopup_content._this.setAttribute("data-scroll","touchmove"===o.type?t._layerpopup_content._content_clientY_moveend:t._layerpopup_content._content_clientY_moveend_slide),t._layerpopup_content._this.parentElement.scrollTo(0,"touchmove"===o.type?t._layerpopup_content._content_clientY_moveend:t._layerpopup_content._content_clientY_moveend_slide)):!0===(new r).getParents(t._layerpopup_content._this,".layerpopup.selected")[0].classList.contains("not_translateY")&&(new r).getParents(t._layerpopup_content._this,".layerpopup_content")[0].scrollTo(0,t._layerpopup_content._this.getAttribute("data-scroll")),!0===o.cancelable&&(o.preventDefault(),o.stopPropagation());"wheel"===o.type&&(t._layerpopup_content._content_clientY_moveend_slide=parseFloat(t._layerpopup_content._this.getAttribute("data-scroll")),n.animationFrameEffectY=t._layerpopup_content._content_clientY_moveend_slide,clearTimeout(t._layerpopup_content._content_scrollObjDelayFunc),t._layerpopup_content._content_scrollObjDelayFunc=setTimeout((function(){null!==t._layerpopup_content._content_scrollObj&&(t._layerpopup_content._this.querySelectorAll("*[data-orioverflowx]").forEach((function(e){e.style.overflow="",e.style.overflowX=e.getAttribute("data-orioverflowx"),e.style.overflowY=e.getAttribute("data-orioverflowy")})),t._layerpopup_content._content_scrollCheck=!1,t._layerpopup_content._content_firstScrollObj=null,t._layerpopup_content._content_scrollObj=null,t._layerpopup_content._content_dragDirection="",t._layerpopup_content._content_clientY_move=0,t.layerpopup_close_wrap("touch",null!==(new r).getParents(t._layerpopup_content._this,".layerpopup.selected")[0].nextElementSibling?window.getComputedStyle((new r).getParents(t._layerpopup_content._this,".layerpopup.selected")[0].nextElementSibling).display:"none",e))}),200),t._layerpopup_content._content_dragDirection="")},i=function(){clearTimeout(y.delayfunc1),y.delayfunc1=setTimeout((function(){null!==t._layerpopup_content._this.nextElementSibling&&t._layerpopup_content._this.nextElementSibling.classList.remove("selected")}),2*t._layerpopup_content._content_duration)};!1===(new r).getParents(t._layerpopup_content._this,".layerpopup.selected")[0].classList.contains("not_scroll")&&("wheel"===e.type?(l(e),i()):void 0!==e.touches&&e.touches.length<2?"touchstart"===e.type?(t._layerpopup_content._content_timestamp_start=(new Date).getTime(),t._layerpopup_form._form_window_height=window.innerHeight,t._layerpopup_form._form_visualViewport_height="undefined"!==u(window.visualViewport)?window.visualViewport.height:window.innerHeight,null!==t._layerpopup_content._this.nextElementSibling&&clearTimeout(y.delayfunc1),t._layerpopup_content._content_clientX_start=e.touches[0].clientX,t._layerpopup_content._content_clientY_start=e.touches[0].clientY,t._layerpopup_content.cancelAnimation((new r).getParents(t._layerpopup_content._this,".layerpopup.selected")[0]),t._layerpopup_content._content_sel_obj===t._layerpopup_content._this&&n.animationFrameEffectY!==t._layerpopup_content._content_clientY_moveend_slide&&(t._layerpopup_content._content_clientY_moveend_slide=n.animationFrameEffectY,t._layerpopup_content._this.setAttribute("data-scroll",t._layerpopup_content._content_clientY_moveend_slide),!1===(new r).getParents(t._layerpopup_content._this,".layerpopup.selected")[0].classList.contains("not_translateY")&&(t._layerpopup_content._this.style.transform="translate(0px, ".concat(t._layerpopup_content._content_clientY_moveend_slide,"px)"))),t._layerpopup_content._content_translate_start=parseFloat(t._layerpopup_content._this.getAttribute("data-scroll"))||0,t.layerpopup_open_wrap("touch",null!==(new r).getParents(t._layerpopup_content._this,".layerpopup.selected")[0].nextElementSibling?window.getComputedStyle((new r).getParents(t._layerpopup_content._this,".layerpopup.selected")[0].nextElementSibling).display:"none",e)):"touchmove"===e.type?l(e):"touchend"===e.type&&void 0===(new r).getParents(e.target,".toast.selected")[0]&&(t._layerpopup_content._content_timestamp_end=(new Date).getTime(),t._layerpopup_content._content_sel_obj=t._layerpopup_content._this,0===t._layerpopup_content._content_clientY_move&&(t._layerpopup_content._content_clientY_moveend=n.animationFrameEffectY),t._layerpopup_content._content_clientY_moveend_slide=t._layerpopup_content._content_clientY_moveend,t._layerpopup_content._content_timestamp_end-t._layerpopup_content._content_timestamp_start<=t._layerpopup_content._content_touch_duration&&(!1===(new r).getParents(t._layerpopup_content._this,".layerpopup.selected")[0].classList.contains("not_translateY")?t._layerpopup_content._content_clientY_moveend_slide+=5*t._layerpopup_content._content_clientY_move:t._layerpopup_content._content_clientY_moveend_slide-=5*t._layerpopup_content._content_clientY_move),t._layerpopup_content._content_clientY_moveend_slide=t.layerpopup_content_scrollend_Y(t._layerpopup_content._this,t._layerpopup_content._content_clientY_moveend_slide),t._layerpopup_content._this.setAttribute("data-scroll",t._layerpopup_content._content_clientY_moveend_slide),!1===(new r).getParents(t._layerpopup_content._this,".layerpopup.selected")[0].classList.contains("not_translateY")?t._layerpopup_content.translateXYTo(t._layerpopup_content._this,0,t._layerpopup_content._content_clientY_moveend,0,t._layerpopup_content._content_clientY_moveend_slide,t._layerpopup_content._content_duration):t._layerpopup_content.scrollXYTo(t._layerpopup_content._this.parentElement,0,t._layerpopup_content._content_clientY_moveend,0,t._layerpopup_content._content_clientY_moveend_slide,t._layerpopup_content._content_duration),i(),null!==t._layerpopup_content._content_scrollObj&&(t._layerpopup_content._content_scrollObj.style.overflow="",t._layerpopup_content._content_scrollObj.style.overflowX=t._layerpopup_content._content_scrollObj.getAttribute("data-orioverflowx"),t._layerpopup_content._content_scrollObj.style.overflowY=t._layerpopup_content._content_scrollObj.getAttribute("data-orioverflowy")),t._layerpopup_content._content_scrollCheck=!1,t._layerpopup_content._content_firstScrollObj=null,t._layerpopup_content._content_scrollObj=null,t._layerpopup_content._content_dragDirection="",t._layerpopup_content._content_clientY_move=0,t.layerpopup_close_wrap("touch",null!==(new r).getParents(t._layerpopup_content._this,".layerpopup.selected")[0].nextElementSibling?window.getComputedStyle((new r).getParents(t._layerpopup_content._this,".layerpopup.selected")[0].nextElementSibling).display:"none",e)):void 0===e.touches&&e.type.match(/touch/)&&("touchstart"===e.type?(t._layerpopup_content.cancelAnimation((new r).getParents(this,".layerpopup.selected")[0]),t._layerpopup_content._content_clientY_moveend_slide=n.animationFrameEffectY,t._layerpopup_content._this.setAttribute("data-scroll",t._layerpopup_content._content_clientY_moveend_slide),!1===(new r).getParents(t._layerpopup_content._this,".layerpopup.selected")[0].classList.contains("not_translateY")&&(t._layerpopup_content._this.style.transform="translate(0px, ".concat(t._layerpopup_content._content_clientY_moveend_slide,"px)"))):"touchend"===e.type&&(t._layerpopup_content._content_clientY_moveend=parseFloat(t._layerpopup_content._this.getAttribute("data-scroll")),t._layerpopup_content._content_clientY_moveend_slide=t._layerpopup_content._content_clientY_moveend,t._layerpopup_content._content_clientY_moveend_slide=t.layerpopup_content_scrollend_Y(t._layerpopup_content._this,t._layerpopup_content._content_clientY_moveend_slide),t._layerpopup_content._this.setAttribute("data-scroll",t._layerpopup_content._content_clientY_moveend_slide),!1===(new r).getParents(t._layerpopup_content._this,".layerpopup.selected")[0].classList.contains("not_translateY")?t._layerpopup_content.translateXYTo(t._layerpopup_content._this,0,t._layerpopup_content._content_clientY_moveend,0,t._layerpopup_content._content_clientY_moveend_slide,t._layerpopup_content._content_duration):t._layerpopup_content.scrollXYTo(t._layerpopup_content._this.parentElement,0,t._layerpopup_content._content_clientY_moveend,0,t._layerpopup_content._content_clientY_moveend_slide,t._layerpopup_content._content_duration))))}})),(new a).init(".layerpopup.selected .layerpopup_content > .dg_content_scroll .scroll_wrap span","touchstart touchmove touchend",(function(e){t._layerpopup_content_scroll._this=(new r).getParents(this,".dg_content_scroll")[0],(void 0===e.touches||e.touches.length<2)&&("touchstart"===e.type?(null!==t._layerpopup_content._this.nextElementSibling&&clearTimeout(y.delayfunc1),t._layerpopup_content_scroll._this.classList.add("selected","active"),t._layerpopup_content_scroll._content_scroll_clientY_start=e.touches[0].clientY,t._layerpopup_content_scroll._content_translate_start=parseFloat(t._layerpopup_content_scroll._this.previousElementSibling.getAttribute("data-scroll"))):"touchmove"===e.type?(t._layerpopup_content_scroll._content_scroll_clientY_move=e.touches[0].clientY-t._layerpopup_content_scroll._content_scroll_clientY_start,t._layerpopup_content_scroll._content_translate_move=t._layerpopup_content_scroll._content_translate_start+-t._layerpopup_content_scroll._content_scroll_clientY_move*(t._layerpopup_content_scroll._this.previousElementSibling.offsetHeight/t._layerpopup_content_scroll._this.offsetHeight),t._layerpopup_content_scroll._content_scroll_clientY_moveend=t.layerpopup_content_scrollend_Y(t._layerpopup_content_scroll._this.previousElementSibling,t._layerpopup_content_scroll._content_translate_move),t._layerpopup_content_scroll._content_translate_moveend=t.layerpopup_custom_scrollbar_Y(t._layerpopup_content_scroll._this.previousElementSibling,t._layerpopup_content_scroll._content_scroll_clientY_moveend),t._layerpopup_content_scroll._this.previousElementSibling.setAttribute("data-scroll",t._layerpopup_content_scroll._content_scroll_clientY_moveend),t._layerpopup_content_scroll._this.previousElementSibling.style.transform="translate(0px, ".concat(t._layerpopup_content_scroll._content_scroll_clientY_moveend,"px)"),t._layerpopup_content_scroll._this.querySelector("span").style.transform="translate(0px, ".concat(t._layerpopup_content_scroll._content_translate_moveend,"px)"),!0===e.cancelable&&(e.preventDefault(),e.stopPropagation())):"touchend"===e.type&&(t._layerpopup_content_scroll._this.classList.remove("active"),y.delayfunc1=setTimeout((function(){t._layerpopup_content_scroll._this.classList.remove("selected")}),2*t._layerpopup_content._content_duration)))})),(new p).scroll((function(){if(null!==document.querySelector(".layerpopup.selected")&&!1===document.querySelector(".layerpopup.selected").classList.contains("toast")){var e=Math.floor((window.scrollY||window.pageYOffset)<=0?0:window.scrollY||window.pageYOffset)-Math.floor("undefined"!==u(window.visualViewport)?window.visualViewport.offsetTop:0),n=null!==t._layerpopup_form._wrap&&t._layerpopup_form._wrap.scrollTop>0?t._layerpopup_form._wrap.scrollTop:e;t._layerpopup_form._form_layerpopup_selected=document.querySelector(".layerpopup.selected"),null!==t._layerpopup_form._form_layerpopup_selected.nextElementSibling&&!0===t._layerpopup_form._form_layerpopup_selected.nextElementSibling.classList.contains("layerpopup_bg")&&"none"===window.getComputedStyle(t._layerpopup_form._form_layerpopup_selected.nextElementSibling).display&&null!==t._layerpopup_form._wrap.getAttribute("data-scrolltop")&&t._layerpopup_form._wrap.setAttribute("data-scrolltop",n)}}),"");var c=function(){document.querySelectorAll(".layerpopup.selected").length>0&&(t._layerpopup_form._wrap.style.minHeight="".concat(window.innerHeight,"px"),t._layerpopup_form._form_window_height=window.innerHeight,t._layerpopup_form._form_visualViewport_height="undefined"!==u(window.visualViewport)?window.visualViewport.height:window.innerHeight,document.querySelectorAll(".layerpopup.selected .layerpopup_content > .dg_content_wrap").forEach((function(t){t.dispatchEvent(new Event("touchend",{bubbles:!0})),(new e).init("#".concat((new r).getParents(t,".layerpopup.selected")[0].getAttribute("id")))})))};(new d).resize("",(function(){t._layerpopup_content._resizeWidth===window.innerWidth&&t._layerpopup_content._resizeHeight===window.innerInnerHeight||(t._layerpopup_content._resizeWidth=window.innerWidth,t._layerpopup_content._resizeHeight=window.innerHeight,c())})),(new a).init(".layerpopup.bottom.selected .layerpopup_header","touchstart touchmove touchend",(function(n){if(t._layerpopup_draggable._layerpopup=(new r).getParents(this,".layerpopup")[0],t._layerpopup_draggable._layerpopup_id=t._layerpopup_draggable._layerpopup.getAttribute("id"),void 0===n.touches||n.touches.length<2)if("touchstart"===n.type)t._layerpopup_draggable._timestamp_start=(new Date).getTime(),t._layerpopup_draggable._layerpopup_height=t._layerpopup_draggable._layerpopup.offsetHeight,t._layerpopup_draggable._start=n.touches[0].clientY,t._layerpopup_draggable._layerpopup.querySelectorAll(".layerpopup_content > .dg_content_scroll").length>0&&t._layerpopup_draggable._layerpopup.querySelector(".layerpopup_content > .dg_content_scroll").classList.remove("selected");else if("touchmove"===n.type){if(t._layerpopup_draggable._move=t._layerpopup_draggable._start-n.touches[0].clientY,t._layerpopup_draggable._layerpopup.style.height="".concat(t._layerpopup_draggable._layerpopup_height+t._layerpopup_draggable._move,"px"),!1===t._layerpopup_draggable._layerpopup.classList.contains("not_translateY")&&!1===t._layerpopup_draggable._layerpopup.classList.contains("not_scroll")){var o=t.layerpopup_content_scrollend_Y(t._layerpopup_draggable._layerpopup.querySelector(".layerpopup_content > .dg_content_wrap"),parseFloat(t._layerpopup_draggable._layerpopup.querySelector(".layerpopup_content > .dg_content_wrap").getAttribute("data-scroll")));t._layerpopup_draggable._layerpopup.querySelector(".layerpopup_content > .dg_content_wrap").setAttribute("data-scroll",o),t._layerpopup_draggable._layerpopup.querySelector(".layerpopup_content > .dg_content_wrap").style.transform="translate(0px, ".concat(o,"px)")}!0===n.cancelable&&(n.preventDefault(),n.stopPropagation())}else"touchend"===n.type&&(t._layerpopup_draggable._timestamp_end=(new Date).getTime(),clearTimeout(y.delayfunc1),y.delayfunc1=setTimeout((function(){t._layerpopup_draggable._layerpopup.style.height="".concat(t._layerpopup_draggable._layerpopup.offsetHeight,"px"),c()}),t._layerpopup_draggable._duration),!1===t._layerpopup_draggable._layerpopup.classList.contains("not_close")&&(t._layerpopup_draggable._timestamp_end-t._layerpopup_draggable._timestamp_start<=t._layerpopup_draggable._duration&&t._layerpopup_draggable._layerpopup_height-30>parseFloat(t._layerpopup_draggable._layerpopup.style.height)||parseFloat(t._layerpopup_draggable._layerpopup.style.height)<t._layerpopup_draggable._layerpopup.querySelector(".layerpopup_header").offsetHeight-document.querySelector("#".concat(t._layerpopup_draggable._layerpopup_id," .layerpopup_content")).offsetHeight)&&(new e).close("#".concat(t._layerpopup_draggable._layerpopup_id)))}))}},t.focus=function(e,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t._layerpopup_content._content_duration/2,l=(new r).getParents(e,".dg_content_wrap")[0],i=function(e,n,o,r){"scroll"===e?t._layerpopup_content.scrollXYTo(l.parentElement,0,n,0,o,r):t._layerpopup_content.translateXYTo(l,0,n,0,o,r)};if(!1===(new r).getParents(l,".layerpopup.selected")[0].classList.contains("not_scroll")){var a=parseFloat(l.getAttribute("data-scroll")),c=n;!1===(new r).getParents(l,".layerpopup.selected")[0].classList.contains("not_translateY")&&(c=-n);var s=t.layerpopup_content_scrollend_Y(l,c);t._layerpopup_content.cancelAnimation((new r).getParents(e,".layerpopup.selected")[0]),l.setAttribute("data-scroll",s),!0===(new r).device().browser.mobile?(!1===(new r).getParents(l,".layerpopup.selected")[0].classList.contains("not_translateY")?(i("translate",a,s,o),null!==l.nextElementSibling&&a!==s&&l.nextElementSibling.classList.add("selected")):i("scroll",l.parentElement.scrollTop,s,o),clearTimeout(y.delayfunc4),y.delayfunc4=setTimeout((function(){!1===(new r).getParents(l,".layerpopup.selected")[0].classList.contains("not_translateY")&&!1===(new r).getParents(l,".layerpopup.selected")[0].classList.contains("not_scroll")&&null!==l.nextElementSibling&&a!==s&&l.nextElementSibling.classList.remove("selected")}),o)):i("scroll",l.parentElement.scrollTop,s,o)}}}),[{key:"open",value:function(e){var t=this;t._dg_layerpopup={_layerpopup:document.querySelector("".concat(e,".layerpopup")),_layerpopup_wrap:null,_wrap:document.querySelector("#wrap"),_layerpopup_bg:'<div class="layerpopup_bg"></div>'};var n=t._dg_layerpopup,l=n._layerpopup,i=n._wrap,a=n._layerpopup_bg,c=t._dg_layerpopup._layerpopup_wrap;if(null!==l&&(c=l.parentElement,!1===l.classList.contains("selected"))){"undefined"===u(o[t._dg_layerpopup._layerpopup.getAttribute("id")])&&(o[t._dg_layerpopup._layerpopup.getAttribute("id")]={animationFrame:null,animationFrameEffectX:0,animationFrameEffectY:0}),o[t._dg_layerpopup._layerpopup.getAttribute("id")].animationFrameEffectY=0,"true"!==l.getAttribute("data-customscroll")&&t.init(e),!0===(new r).device().browser.mobile&&(l.querySelector(".layerpopup_content > .dg_content_wrap").setAttribute("data-scroll",0),l.querySelector(".layerpopup_content > .dg_content_wrap").style.transform="translate(0px, 0px)"),!1===c.classList.contains("selected")&&c.classList.add("selected"),l.classList.add("selected"),l.querySelector(".layerpopup_content").scrollTo(0,0),l.insertAdjacentHTML("afterend",a);var s=Math.floor((window.scrollY||window.pageYOffset)<=0?0:window.scrollY||window.pageYOffset)-Math.floor("undefined"!==u(window.visualViewport)?window.visualViewport.offsetTop:0),p=null!==t._layerpopup_form._wrap&&t._layerpopup_form._wrap.scrollTop>0?t._layerpopup_form._wrap.scrollTop:s;"none"!==window.getComputedStyle(l.nextElementSibling).display&&null===i.getAttribute("data-scrolltop")&&(!0===(new r).device().browser.mobile?(i.style.overflow="hidden",i.style.minHeight="".concat(window.innerHeight,"px"),i.scrollTop=p):(document.querySelector("html").style.overflow="hidden",document.querySelector("body").style.overflow="hidden")),null!==l.getAttribute("data-oriheight")&&parseFloat(l.getAttribute("data-oriheight"))===l.offsetHeight||l.setAttribute("data-oriheight",l.offsetHeight),null===i.getAttribute("data-scrolltop")&&(i.setAttribute("data-scrolltop",p),window.scrollTo(0,p),t.layerpopup_open_wrap("open",null!==l.nextElementSibling?window.getComputedStyle(l.nextElementSibling).display:"none"))}}},{key:"close",value:function(e){var t=this;t._dg_layerpopup={_layerpopup:document.querySelector("".concat(e,".layerpopup")),_layerpopup_wrap:null,_wrap:document.querySelector("#wrap"),_selected_layer_length:0,_selected_bg_layer_length:0};var n=t._dg_layerpopup,o=n._layerpopup,l=n._wrap,i=t._dg_layerpopup,a=i._layerpopup_wrap,c=i._selected_layer_length,s=i._selected_bg_layer_length;null!==o&&(a=o.parentElement,!0===o.classList.contains("selected")&&(o.classList.remove("selected"),null!==o.getAttribute("data-oriheight")&&o.removeAttribute("data-oriheight")),c=0,s=0,Array.from(a.children).forEach((function(e,n){if(!0===e.classList.contains("layerpopup")&&!0===e.classList.contains("selected")&&(c+=1,null!==e.nextElementSibling&&"none"!==window.getComputedStyle(e.nextElementSibling).display&&(s+=1)),n===a.children.length-1){if(0===s&&(!0===(new r).device().browser.mobile?(l.style.overflow="",l.style.minHeight="".concat(window.innerHeight,"px"),l.scrollTop=0):(document.querySelector("html").style.overflow="",document.querySelector("body").style.overflow="")),0===c){t.layerpopup_close_wrap("close",null!==o.nextElementSibling?window.getComputedStyle(o.nextElementSibling).display:"none"),a.classList.remove("selected");var i=parseFloat(l.getAttribute("data-scrolltop"));null!==l.getAttribute("data-scrolltop")&&!0===o.nextElementSibling.classList.contains("layerpopup_bg")&&"none"!==window.getComputedStyle(o.nextElementSibling).display&&window.scrollTo(0,i),null===document.querySelector(".layerpopup_wrap.selected")&&l.removeAttribute("data-scrolltop")}null!==o.nextElementSibling&&!0===o.nextElementSibling.classList.contains("layerpopup_bg")&&o.nextElementSibling.remove()}})),clearTimeout(y.delayfunc4),y.delayfunc4=setTimeout((function(){!0===o.classList.contains("bottom")&&(o.style.height="",o.style.minHeight="",o.style.maxHeight="",o.style.bottom=""),t.init(e)}),1e3*parseFloat(window.getComputedStyle(o).transitionDuration)))}}]);(new m).init("init");var f={layerpopupBgDelayFunc:null},g=i((function e(){c(this,e);var t=this,n=0,o=0,l=0;t.layerpopupHold=function(){var e=document.querySelector("#wrap"),t=e.scrollTop>0?e.scrollTop:window.scrollY;document.querySelector("body").style.overflow="hidden",e.setAttribute("data-scrolltop","".concat(t)),window.scrollTo(0,t)},t.layerpopupRelease=function(){var e=document.querySelector("#wrap"),t=null!==e.getAttribute("data-scrolltop")?parseFloat(e.getAttribute("data-scrolltop")):window.scrollY;document.querySelector("body").style.overflow="",e.removeAttribute("data-scrolltop"),window.scrollTo(0,t)},t.createBg=function(e){null!==e.nextElementSibling&&!1!==e.nextElementSibling.classList.contains("layerpopup_bg")||e.insertAdjacentHTML("afterend",'<div class="layerpopup_bg"></div>')},t.cancelAnimation=function(){return window.cancelAnimationFrame(n)},t.scrollXYTo=function(e,t,r,i,a,c){var s=document.querySelector(e).querySelector(".layerpopup_content"),p={increment:20,startX:t,changeX:i-t,startY:r,changeY:a-r,currentTime:0},u=p.increment,d=p.startX,_=p.changeX,y=p.startY,m=p.changeY,f=p.currentTime,g=function(e,t,n,o){var l=e;return-n*(l/=o)*(l-2)+t},h=function(){o=g(f+=u,d,_,c),l=g(f,y,m,c),s.scrollTo(o,l),f<c&&(n=window.requestAnimationFrame(h))};c>=100?h():s.scrollTo(i,a)},t.getScrollParent=function(e){return"hidden"!==window.getComputedStyle(e).overflowX&&"visible"!==window.getComputedStyle(e).overflowX||"hidden"!==window.getComputedStyle(e).overflowY&&"visible"!==window.getComputedStyle(e).overflowY?{status:"scroll".concat(e.scrollWidth>e.offsetWidth?"x":"").concat(e.scrollHeight>e.offsetHeight?"y":""),obj:e}:null!==e.parentNode&&e.parentNode!==document&&!0!==e.parentNode.classList.contains("layerpopup_content")&&t.getScrollParent(e.parentElement)},t.createSpace=function(e){var t=e.querySelector(".layerpopup_content");null===t.querySelector("layerpopup-space")&&(t.insertAdjacentHTML("afterbegin",'<layerpopup-space style="height: '.concat(getComputedStyle(t).paddingTop,';"></layerpopup-space>')),t.insertAdjacentHTML("beforeend",'<layerpopup-space style="height: '.concat(getComputedStyle(t).paddingBottom,';"></layerpopup-space>')),t.style.paddingTop="0px",t.style.paddingBottom="0px")},t.init=function(){if("init"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"")){document.querySelectorAll(".layerpopup_wrap2022").forEach((function(e){e.querySelectorAll(".layerpopup2022").forEach((function(e){t.createSpace(e),t.createBg(e)}))})),(new a).init(".layerpopup2022_btn","click",(function(){var t=this.getAttribute("data-layerpopup");null!==t&&null!==document.querySelector("#layerpopup_".concat(t))&&(new e).open("#layerpopup_".concat(t))})),(new a).init(".layerpopup2022 .close_btn","click",(function(){var t=this;if(void 0!==(new r).getParents(t,".layerpopup2022.selected")[0]||void 0!==(new r).getParents(t,".layerpopup.selected")[0]){var n=Array.from((new r).getParents(t,".selected")).filter((function(e){return!0===e.classList.contains("layerpopup")||!0===e.classList.contains("layerpopup2022")}))[0].getAttribute("id");void 0===(new r).getParents(t,".tooltip.selected")[0]&&((new r).getParents(t,".layerpopup2022.selected")[0].querySelectorAll(".tooltip.selected").length>0&&(new r).getParents(t,".layerpopup2022.selected")[0].querySelectorAll(".tooltip.selected").forEach((function(e){var t=e.getAttribute("id");(new _).close("#".concat(t))})),(new e).close("#".concat(n)))}}));var n={oriHeight:0,start:0,move:0,timestamp:0};(new a).init(".layerpopup2022.bottom .layerpopup_header","touchstart touchmove touchend",(function(e){var o=(new r).getParents(e.target,".layerpopup2022")[0],l=o.querySelector(".layerpopup_header");if(e.touches.length<2)if("touchstart"===e.type)document.querySelector("body").style.overscrollBehavior="contain",n.timestamp=(new Date).getTime(),n.oriHeight=o.offsetHeight,n.start=e.touches[0].clientY,n.move=0;else if("touchmove"===e.type)!0===e.cancelable&&(e.preventDefault(),e.stopPropagation()),n.move=e.touches[0].clientY-n.start,o.style.height="".concat(n.oriHeight-n.move,"px");else if("touchend"===e.type){var i=(new Date).getTime()-n.timestamp;(void 0!==(new r).getParents(e.target,".close_btn")[0]&&i<=300||!1===o.classList.contains("not_close")&&n.move>0&&(i<=300||n.oriHeight-n.move<=l.offsetHeight))&&t.close("#".concat(o.getAttribute("id"))),document.querySelector("body").style.overscrollBehavior=""}}));var o={startX:0,startY:0,moveY:0,chkFlag:!1,direction:"",delayFunc:null};(new a).init(".layerpopup2022 .layerpopup_content","touchstart touchmove touchend wheel",(function(e){var n=(new r).getParents(e.target,".layerpopup2022")[0],l=n.querySelector(".layerpopup_content");if(!1===n.classList.contains("toast")){var i=function(n){var r,i;""===o.direction&&(o.direction="vertical",("touchmove"===n.type&&Math.abs(o.startX-n.touches[0].clientX)>Math.abs(o.startY-n.touches[0].clientY)||"wheel"===n.type&&Math.abs(n.deltaX)>Math.abs(n.deltaY))&&(o.direction="horizontal")),"touchmove"===n.type?o.moveY=n.touches[0].clientY-o.startY:o.moveY=0,"vertical"===o.direction?(r=!1===t.getScrollParent(n.target)||"scrollx"===t.getScrollParent(n.target).status?l:t.getScrollParent(n.target).obj,i="touchmove"===n.type?o.moveY:-n.deltaY/Math.abs(n.deltaY),(!0===o.chkFlag||i>0&&r.scrollTop-i<0&&l.scrollTop<=0||i<0&&r.scrollTop+r.offsetHeight-i>r.scrollHeight&&l.scrollTop+l.offsetHeight>=l.scrollHeight)&&(o.chkFlag=!0,!0===e.cancelable&&(e.preventDefault(),e.stopPropagation()))):"horizontal"===o.direction&&!1===t.getScrollParent(n.target)&&!0===n.cancelable&&(n.preventDefault(),n.stopPropagation())};null!==e.type.match(/touch/)&&e.touches.length<2?"touchstart"===e.type?(document.querySelector("body").style.overscrollBehavior="contain",o.startX=e.touches[0].clientX,o.startY=e.touches[0].clientY,o.direction="",o.chkFlag=!1):"touchmove"===e.type?i(e):"touchend"===e.type&&(document.querySelector("body").style.overscrollBehavior=""):"wheel"===e.type&&(i(e),clearTimeout(o.delayFunc),o.delayFunc=setTimeout((function(){o.direction="",o.chkFlag=!1}),100))}})),(new a).init(".layerpopup_wrap2022 .layerpopup_bg","click touchstart touchend",(function(e){var n=e.target,o=n.previousElementSibling;if("touchstart"===e.type)!0===e.cancelable&&(e.preventDefault(),e.stopPropagation());else if(!1===o.classList.contains("not_close")&&void 0===(new r).getParents(n,".layerpopup_wrap")[0]){var l=o.querySelector(":focus"),i=0;null!==l&&(i=1e3*parseFloat(window.getComputedStyle(o).transitionDuration)+50,l.blur()),setTimeout((function(){t.close("#".concat(n.previousElementSibling.getAttribute("id")))}),i)}}))}}}),[{key:"open",value:function(e){var t=this,n=document.querySelector(e);if(null!==n){t.createBg(n),t.createSpace(n);var o={layerpopupWrap:n.parentElement,layerpopupBg:n.nextElementSibling,content:n.querySelector(".layerpopup_content")},l=o.layerpopupWrap,r=o.layerpopupBg,i=o.content;clearTimeout(f.layerpopupBgDelayFunc),l.classList.add("selected"),setTimeout((function(){n.classList.add("selected"),i.scrollTo(0,0),"none"!==getComputedStyle(r).display&&t.layerpopupHold()}),!0===n.classList.contains("bottom")?10:0)}}},{key:"close",value:function(e){var t=this,n=document.querySelector(e);if(null!==n){var o=n.parentElement;if(!0===n.classList.contains("selected")){!0===n.classList.contains("bottom")&&(n.style.bottom="-".concat(n.offsetHeight,"px")),clearTimeout(f.layerpopupBgDelayFunc);var l=!0===n.classList.contains("bottom")?1e3*parseFloat(window.getComputedStyle(n).transitionDuration)+50:0;setTimeout((function(){n.classList.remove("selected"),!0===n.classList.contains("bottom")&&(n.style.transition="unset",n.style.height="",n.style.bottom="",setTimeout((function(){n.style.transition=""}),1)),f.layerpopupBgDelayFunc=setTimeout((function(){var e=Array.from(o.querySelectorAll(".layerpopup2022.selected + .layerpopup_bg")).filter((function(e){return"none"!==getComputedStyle(e).display})).length,n=Array.from(o.querySelectorAll(".layerpopup2022.selected")).length;0===e&&t.layerpopupRelease(),0===n&&o.classList.remove("selected")}),10)}),l)}}}},{key:"focus",value:function(e,t,n){var o=document.querySelector(e);if(null!==o){var l=o.querySelector(".layerpopup_content");!1===o.classList.contains("not_scroll")&&(this.cancelAnimation(),this.scrollXYTo(e,0,l.scrollTop,0,t,n))}}}]);(new g).init("init");var h={toastOpenCloseDelayFunc:null,toastOpenDelayFunc:null},v=i((function e(){c(this,e);var t=this;t.init=function(){"init"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"")&&(new a).init("#layerpopup_toast .toast_close_btn","click",(function(){t.close("#layerpopup_toast")}))}}),[{key:"open",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3e3,o=this;0===document.querySelectorAll(".layerpopup_wrap.toast").length&&document.querySelector("body").insertAdjacentHTML("beforeend",'<div class="layerpopup_wrap toast"><div id="layerpopup_toast" class="layerpopup toast"><div class="layerpopup_content"><p></p><button type="button" class="toast_close_btn">Close</button></div></div></div>');var l=document.querySelector("#layerpopup_toast"),r=document.querySelector(".layerpopup_wrap.toast");clearTimeout(h.toastOpenDelayFunc),clearTimeout(h.toastOpenCloseDelayFunc),r.classList.add("selected"),h.toastOpenDelayFunc=setTimeout((function(){l.setAttribute("class","layerpopup toast ".concat(e," selected")),l.querySelector(".layerpopup_content > p").innerHTML="".concat(t),h.toastOpenCloseDelayFunc=setTimeout((function(){o.close()}),n)}),10)}},{key:"close",value:function(){if(document.querySelectorAll("#layerpopup_toast").length>0){var e=document.querySelector("#layerpopup_toast"),t=document.querySelector(".layerpopup_wrap.toast");e.classList.remove("selected");var n=1e3*parseFloat(window.getComputedStyle(e).transitionDuration)+50;clearTimeout(h.toastOpenCloseDelayFunc),h.toastOpenCloseDelayFunc=setTimeout((function(){t.classList.remove("selected"),e.setAttribute("class","layerpopup toast")}),n)}}}]);(new v).init("init");var w=i((function e(){c(this,e),this.init=function(){}}),[{key:"get",value:function(e,t){var n,o={split1:"?",split2:"&",array:new Array,array1:null,array2:null,param:""},l=o.split1,r=o.split2,i=o.array,a=o.array1,c=o.param;a=new Array(e.split(l)[0]),n=e.split(l)[1].split(r),i=a.concat(n);for(var s=0;s<i.length;s+=1)(c=i[s].split("="))[0]===t?void 0!==c[1]&&(c=c[1].toLowerCase(),s=i.length):c="";return c}}]),b=i((function e(){c(this,e),this.init=function(){}}),[{key:"comma",value:function(e){var t={number:e.toString(),symbol:"",point:null,str:null},n=t.number,o=t.symbol,l=t.point,r=t.str;for("-"!==n.substring(0,1)&&"+"!==n.substring(0,1)||(o=n.substring(0,1),n=n.substring(1,n.length)),l=n.length%3,r=n.substring(0,l);l<n.length;)""!==r&&(r+=","),r+=n.substring(l,l+3),l+=3;return"".concat(o).concat(r)}},{key:"hyphen",value:function(e,t){var n={number:e.toString(),length:t,point:null,str:null},o=n.number,l=n.length,r=n.point,i=n.str;for(r=o.length%l,i=o.substring(0,r);r<o.length;)""!==i&&(i+="-"),i+=o.substring(r,r+l),r+=l;return i}},{key:"ymd",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:".",n={number:e.toString(),point:null,str:null},o=n.number,l=n.point,r=n.str;for(l=o.length%4,r=o.substring(0,l);l<o.length;){""!==r&&(r+=t);var i=4;""!==r&&(i=2),r+=o.substring(l,l+i),l+=i}return r}},{key:"chkText",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"byte",o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],l="string"===u(e)?document.querySelector(e):e,i={value:l.value,length:Array.from(l.value).length,totalByte:0,currentLength:0,result:new Array},a=i.value,c=i.length,s=i.totalByte,p=i.currentLength,d=i.result,_=0;_<c;_+=1){var y=Array.from(a)[_],m=!0;!0===o&&null!==y.match(/\s/gim)&&(m=!1),!0===m&&("byte"===n?s+=new Blob([y]).size:"️"===y||null!==y.match(/\uD83C[\uDFFB-\uDFFF]/)?s+=0:null!==y.match(/\u200D/)?!0!==(new r).device().browser.msie?s-=1:s+=0:null!==y.match(/\uD83C[\uDDE6-\uDDFF]/)&&!0!==(new r).device().browser.msie?s+=.5:s+=1),s<=t&&(p=_+1),s>=t?(l.value=Array.from(a).slice(0,p).join(""),(d={length:t}).end=!0):(d={length:s}).end=!1}return d}}]),S=i((function e(){c(this,e);var t=null;this.init=function(e,n){(new a).init("".concat(e," li button"),"click",(function(){var o=this,l=(new r).getIndex(o.parentElement);void 0!==(new r).getParents(o,".layerpopup.selected")[0]&&(clearTimeout(t),t=setTimeout((function(){var e=(new r).getParents(o,".layerpopup.selected")[0];e.setAttribute("data-oriheight",e.offsetHeight)}),10)),null!==document.querySelector("".concat(e," li.selected"))&&(document.querySelector("".concat(e," li.selected")).classList.remove("selected"),o.parentElement.classList.add("selected")),null!==document.querySelector("".concat(n," li.selected"))&&(document.querySelector("".concat(n," > li.selected")).classList.remove("selected"),document.querySelectorAll("".concat(n," > li"))[l].classList.add("selected"))}))}})),L=i((function e(){c(this,e);var t=this;t.init=function(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"init",l={slideWrap:e.wrap,slideIndicator:void 0!==e.indicator&&null!==e.indicator?e.indicator:null,slideButton:void 0!==e.button&&null!==e.button?e.button:null,slidePlay:void 0!==e.play&&null!==e.play?e.play:null,infinite:void 0!==e.infinite&&null!==e.infinite&&e.infinite,slideIndex:void 0!==e.index&&null!==e.index?e.index:0,slideVisible:void 0!==e.visible&&null!==e.visible?e.visible:1,slideShift:void 0!==e.shift&&null!==e.shift?e.shift:1,slideAnimation:void 0!==e.animation&&null!==e.animation?e.animation:300,slideAuto:void 0!==e.auto&&null!==e.auto&&e.auto,slideAutoDuration:void 0!==e.duration&&null!==e.duration?e.duration:3e3,beforeFunc:void 0!==e.beforeFunc&&null!==e.beforeFunc&&e.beforeFunc,afterFunc:void 0!==e.afterFunc&&null!==e.afterFunc&&e.afterFunc,slideMove:!1,slideOriVisible:void 0!==e.visible&&null!==e.visible?e.visible:1,slideList:null,slideListWidth:0,slideOriLength:0,slideLength:0,cloneLength:0,offsetsX:[],offsetX:0,autoDelayFunc:null,dragFlag:!1,resizeWidth:window.innerWidth,resizeHeight:window.innerHeight,slideUpdate:void 0!==n[e.wrap.replace(/[.|#| ]/gi,"")]&&null!==n[e.wrap.replace(/[.|#| ]/gi,"")]?n[e.wrap.replace(/[.|#| ]/gi,"")].slideUpdate+1:0,slideResize:void 0!==n[e.wrap.replace(/[.|#| ]/gi,"")]&&null!==n[e.wrap.replace(/[.|#| ]/gi,"")]&&n[e.wrap.replace(/[.|#| ]/gi,"")].slideResize,optOriginal:e,optChk:void 0!==n[e.wrap.replace(/[.|#| ]/gi,"")]&&null!==n[e.wrap.replace(/[.|#| ]/gi,"")]?n[e.wrap.replace(/[.|#| ]/gi,"")]:null,animationFrame:null,animationFrameEffectX:0,animationFrameEffectY:0,cancelAnimation:function(){var t=n[e.wrap.replace(/[.|#| ]/gi,"")];cancelAnimationFrame(t.animationFrame)},translateXYTo:function(t,o,l,r,i){var a=n[e.wrap.replace(/[.|#| ]/gi,"")],c={increment:20,startX:t,changeX:l-t,startY:o,changeY:r-o,currentTime:0},s=c.increment,p=c.startX,u=c.changeX,d=c.startY,_=c.changeY,y=c.currentTime,m=function(e,t,n,o){var l=e;return-n*(l/=o)*(l-2)+t},f=function(){y+=s,a.animationFrameEffectX=m(y,p,u,i),a.animationFrameEffectY=m(y,d,_,i),null!==document.querySelector(a.slideList)&&(document.querySelector(a.slideList).style.transform="translate(".concat(a.animationFrameEffectX,"px, ").concat(a.animationFrameEffectY,"px)")),y<i&&(cancelAnimationFrame(a.animationFrame),a.animationFrame=requestAnimationFrame(f))};f()},getScrollParent:function(e){return("hidden"!==window.getComputedStyle(e).overflowX&&"visible"!==window.getComputedStyle(e).overflowX||"hidden"!==window.getComputedStyle(e).overflowY&&"visible"!==window.getComputedStyle(e).overflowY)&&(e.scrollWidth>e.offsetWidth||e.scrollHeight>e.offsetHeight)?{status:"scroll",obj:e}:null!==e.parentNode&&e.parentNode!==document&&!0!==e.parentNode.classList.contains("slide_wrap")&&!0!==e.parentNode.classList.contains("slide_list")&&l.getScrollParent(e.parentElement)}},i=l.slideWrap,a=n[i.replace(/[.|#| ]/gi,"")];if(null!=a){if(clearInterval(a.autoDelayFunc),null!==document.querySelector(a.slideList)){document.querySelector(a.slideList).removeAttribute("data-translate"),document.querySelector(a.slideList).removeAttribute("style"),Array.from(document.querySelector(a.slideList).children).forEach((function(e){null!==e.getAttribute("data-slide")&&(!1===e.classList.contains("original")?e.remove():(e.classList.remove("original"),e.removeAttribute("data-slide"),e.removeAttribute("style")))}));var c=document.querySelector(a.slideList).cloneNode(!0);document.querySelector(a.slideList).insertAdjacentElement("afterend",c),document.querySelector(a.slideList).remove()}if(null!==document.querySelector(a.slideIndicator)&&(document.querySelector(a.slideIndicator).innerHTML="",null!==a.optChk&&null!==a.optChk.slideIndicator&&null!==document.querySelector(a.optChk.slideIndicator))){var s=document.querySelector(a.optChk.slideIndicator).cloneNode(!0);document.querySelector(a.optChk.slideIndicator).insertAdjacentElement("afterend",s),document.querySelector(a.optChk.slideIndicator).remove()}if(null!==document.querySelector(a.slidePlay)){var p=document.querySelector(a.slidePlay).cloneNode(!0);document.querySelector(a.slidePlay).insertAdjacentElement("afterend",p),document.querySelector(a.slidePlay).remove()}null!==document.querySelector(a.slideButton)&&document.querySelectorAll(a.slideButton).forEach((function(e){var t=e.cloneNode(!0);e.insertAdjacentElement("afterend",t),e.remove()}))}if("init"===o){(a=l).slideList=null===a.slideWrap.match(/slide_list/)?"".concat(a.slideWrap," .slide_list"):a.slideWrap,a.slideOriLength=document.querySelector(a.slideList).children.length,("auto"===a.slideOriVisible||a.slideOriLength>=a.slideVisible)&&(a.slideMove=!0,"auto"===a.slideOriVisible&&(a.slideVisible=1)),!0===a.slideMove&&!0===a.infinite&&(a.cloneLength=Array.from(document.querySelector(a.slideList).children).filter((function(e){return e.offsetLeft<document.querySelector(a.slideWrap).offsetWidth&&e})).length+1),Array.from(document.querySelector(a.slideList).children).forEach((function(e,t){e.setAttribute("data-slide",t)}));var u="",d="";if(!0===a.infinite)for(var _=a.cloneLength-1;_>=0;_-=1){var y=a.slideOriLength-_%a.slideOriLength-1,m=(a.cloneLength-_)%a.slideOriLength-1;m<0&&(m=a.slideOriLength+m);var f=Array.from(document.querySelector(a.slideList).children);u+=f[y].cloneNode(!0).outerHTML,d+=f[m].cloneNode(!0).outerHTML}Array.from(document.querySelector(a.slideList).children).forEach((function(e){e.classList.add("original")})),!0===a.infinite&&(document.querySelector(a.slideList).insertAdjacentHTML("beforeend",d),document.querySelector(a.slideList).insertAdjacentHTML("afterbegin",u)),a.slideLength=Array.from(document.querySelector(a.slideList).children).length;var g=0;Array.from(document.querySelector(a.slideList).children).forEach((function(e,t){var n=parseFloat(e.getBoundingClientRect().width);e.style.width="".concat(n,"px"),a.offsetsX.push(0===g?g:-g),g+=n+parseFloat(window.getComputedStyle(e).marginLeft)+parseFloat(window.getComputedStyle(e).marginRight),t>=a.slideIndex+a.cloneLength&&t<a.slideIndex+a.cloneLength+a.slideVisible?e.classList.add("selected"):e.classList.remove("selected")})),a.slideListWidth=g,"auto"===a.slideOriVisible&&a.slideListWidth<document.querySelector(a.slideWrap).offsetWidth&&(a.slideMove=!1),document.querySelector(a.slideList).style.width="".concat(g,"px"),a.slideIndex=parseFloat((new r).getIndex(document.querySelector("".concat(a.slideList,' > li.original.selected[data-slide="').concat(a.slideIndex,'"]')))),a.offsetX=a.offsetsX[a.slideIndex],a.animationFrameEffectX=a.offsetX,document.querySelector(a.slideList).style.transform="translate(".concat(a.offsetX,"px, 0px)"),document.querySelector(a.slideList).setAttribute("data-translate",a.offsetX),n[a.slideWrap.replace(/[.|#| ]/gi,"")]=a,t.setButton(a.slideWrap),t.setIndicator(a.slideWrap),t.setDrag(a.slideWrap),t.setAuto(a.slideWrap,a.slideAuto,"init"),t.setResize(a.slideWrap,"init")}else"unset"===o&&(a.slideUpdate=-1)}}),[{key:"chkIndex",value:function(e,t,o){var l=n[e.replace(/[.|#| ]/gi,"")],i={directionNew:t,move:""},a=i.directionNew,c=i.move,s=function(){l.slideIndex=0},p=function(){var e=l.slideLength%l.slideShift!=0?l.slideShift-l.slideLength%l.slideShift:0;l.slideIndex=l.slideLength+e-l.slideShift-l.cloneLength};null===t.match(/_indicator/)?("next_move"===a||"prev_move"===a?c="move":"next_btn"!==a&&"prev_btn"!==a||(c="btn"),null!==a.match(/next/)?(l.slideIndex+=l.slideShift,!1===l.infinite&&l.slideIndex>=l.slideLength&&("next"===a||"next_btn"===a?s():"next_move"===a&&p()),a="next"):null!==a.match(/prev/)?(l.slideIndex-=l.slideShift,!1===l.infinite&&l.slideIndex<0&&("prev"===a||"prev_btn"===a?p():"prev_move"===a&&s()),a="prev"):null!==a.match(/original/)&&(a="original")):null!==a.match(/prev/)?(a="prev",l.slideIndex-=l.slideShift*Math.abs(o-(new r).getIndex(document.querySelector("".concat(l.slideIndicator," ul li.selected"))))):null!==a.match(/next/)&&(a="next",l.slideIndex+=l.slideShift*Math.abs(o-(new r).getIndex(document.querySelector("".concat(l.slideIndicator," ul li.selected"))))),this.setSlide(l.slideWrap,a,c)}},{key:"setSlide",value:function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",l=n[e.replace(/[.|#| ]/gi,"")],r=this,i=l.offsetX;if(!0===l.slideAuto&&r.setAuto(l.slideWrap,!1),!0===l.infinite&&null!==document.querySelector("".concat(l.slideList," > li.selected")))if("prev"===t&&l.slideIndex<l.cloneLength){var a=l.offsetsX[l.slideIndex+l.slideVisible];l.slideIndex+=l.slideOriLength,i=l.offsetsX[l.slideIndex+l.slideVisible]-(a-i)}else if("next"===t&&l.slideIndex+1>l.slideOriLength+l.cloneLength){var c=l.offsetsX[l.slideIndex-l.slideVisible];l.slideIndex-=l.slideOriLength,i=l.offsetsX[l.slideIndex-l.slideVisible]-(c-i)}if(l.offsetX=l.offsetsX[l.slideIndex],"auto"===l.slideOriVisible&&!0===l.slideMove){var s=-(l.slideListWidth-document.querySelector(l.slideWrap).offsetWidth),p=!1;Array.from(l.offsetsX).forEach((function(e,n){!1===p&&("btn"===o?"next"===t?e===l.offsetX&&(p=!0,l.slideIndex=n,e<=s&&e+document.querySelector("".concat(l.slideList," > li.selected")).offsetWidth<=s&&(l.slideIndex=0)):"prev"===t&&(e<=s&&e+document.querySelector("".concat(l.slideList," > li.selected")).offsetWidth>=s||e===l.offsetX)&&(p=!0,l.slideIndex=n):"move"===o&&"original"!==t&&(i<0?(i<0&&i<=e||i>0&&i-document.querySelector(l.slideWrap).offsetWidth<=e)&&(l.slideIndex=n,"next"===t&&Array.from(l.offsetsX).length>1&&(l.slideIndex+=1,e<=s&&(p=!0,l.slideIndex-=1))):(p=!0,l.slideIndex=n)))})),l.offsetX=l.offsetsX[l.slideIndex],!1===l.infinite&&l.offsetX<=-(l.slideListWidth-document.querySelector(l.slideWrap).offsetWidth)&&(l.offsetX=-(l.slideListWidth-document.querySelector(l.slideWrap).offsetWidth))}if(null!==document.querySelector(l.slideList)&&(i!==l.offsetX&&(document.querySelector(l.slideList).setAttribute("data-translate",l.offsetX),l.translateXYTo(i,0,l.offsetX,0,l.slideAnimation)),Array.from(document.querySelector(l.slideList).children).forEach((function(e,t){t>=l.slideIndex&&t<l.slideIndex+l.slideVisible?e.classList.add("selected"):e.classList.remove("selected")})),null!==l.slideIndicator)){var u=Math.floor(parseFloat(Array.from(document.querySelector(l.slideList).children)[l.slideIndex].getAttribute("data-slide"))/l.slideShift);document.querySelectorAll("".concat(l.slideIndicator," ul li")).forEach((function(e,t){t===u?e.classList.add("selected"):e.classList.remove("selected")}))}!1!==l.beforeFunc&&l.beforeFunc(),clearTimeout(l.autoDelayFunc),l.autoDelayFunc=setTimeout((function(){!0===l.slideAuto&&r.setAuto(l.slideWrap,!0),l.dragFlag=!1,!1!==l.afterFunc&&l.afterFunc()}),l.slideAnimation)}},{key:"setButton",value:function(e){var t=n[e.replace(/[.|#| ]/gi,"")],o=this;null!==t.slideButton&&(new a).init(t.slideButton,"click",(function(l){t=n[e.replace(/[.|#| ]/gi,"")];var i=void 0!==(new r).getParents(l.target,".next")[0]?(new r).getParents(l.target,".next")[0]:(new r).getParents(l.target,".prev")[0],a="";!0===i.classList.contains("next")?a="next_btn":!0===i.classList.contains("prev")&&(a="prev_btn"),""!==a&&o.chkIndex(t.slideWrap,a)}),!0)}},{key:"setIndicator",value:function(e){var t=n[e.replace(/[.|#| ]/gi,"")],o=this;if(null!==t.slideIndicator){for(var l="<ul>",i=0;i<Math.ceil(t.slideOriLength/t.slideShift);i+=1)l+="<li ".concat(i===parseFloat(Math.floor(Array.from(document.querySelector(t.slideList).children)[t.slideIndex+(t.slideShift-1)].getAttribute("data-slide")/t.slideShift))?'class="selected"':"",'>\n\t\t\t\t\t\t\t\t\t\t<button type="button">').concat(i,"</button>\n\t\t\t\t\t\t\t\t\t</li>");l+="</ul>",document.querySelector(t.slideIndicator).insertAdjacentHTML("afterbegin",l),(new a).init("".concat(t.slideIndicator," ul li button"),"click",(function(l){t=n[e.replace(/[.|#| ]/gi,"")];var i=l.target,a=(new r).getIndex(i.parentElement),c="";a<(new r).getIndex(document.querySelector("".concat(t.slideIndicator," ul li.selected")))?c="prev_indicator":a>(new r).getIndex(document.querySelector("".concat(t.slideIndicator," ul li.selected")))&&(c="next_indicator"),""!==c&&o.chkIndex(t.slideWrap,c,a)}))}}},{key:"setDrag",value:function(e){var t=n[e.replace(/[.|#| ]/gi,"")],o=this;document.querySelector(t.slideList).style.transform="translate(".concat(t.offsetX,"px, 0px)");var l={dragStartY:0,dragStartX:0,dragMoveX:0,dragDirection:"",timestampStart:0,timestampEnd:0,touchDuration:300},i=function(o){t=n[e.replace(/[.|#| ]/gi,"")];var r=void 0!==o.touches?o.touches[0]:o;""===l.dragDirection&&(l.dragDirection="horizontal",Math.abs(l.dragStartX-r.clientX)<Math.abs(l.dragStartY-r.clientY)&&(l.dragDirection="vertical")),"horizontal"===l.dragDirection&&!1===t.getScrollParent(o.target)&&(t.dragFlag=!0,document.querySelector(t.slideList).classList.add("move"),l.dragMoveX=r.clientX-l.dragStartX,document.querySelector(t.slideList).setAttribute("data-translate",t.offsetX+l.dragMoveX),document.querySelector(t.slideList).style.transform="translate(".concat(t.offsetX+l.dragMoveX,"px, 0px)"),!0===o.cancelable&&(o.preventDefault(),o.stopPropagation())),(r.clientX>=Math.ceil(document.querySelector(t.slideWrap).getBoundingClientRect().left)+document.querySelector(t.slideWrap).offsetWidth-r.movementX||r.clientX<=Math.ceil(document.querySelector(t.slideWrap).getBoundingClientRect().left)-r.movementX||r.clientY>=Math.ceil(document.querySelector(t.slideWrap).getBoundingClientRect().top)+document.querySelector(t.slideWrap).offsetHeight-r.movementY||r.clientY<=Math.ceil(document.querySelector(t.slideWrap).getBoundingClientRect().top)-r.movementY)&&o.target.dispatchEvent(new Event("mouseup",{bubbles:!0}))};(new a).init(t.slideList,"mousedown mouseup mouseover mouseout touchstart touchmove touchend",(function(a){t=n[e.replace(/[.|#| ]/gi,"")];var c=a.target;if((new r).getParents(c,".slide_list")[0]===document.querySelector(t.slideList)){var s=void 0!==a.touches?a.touches[0]:a;if(!0===t.dragFlag&&!0===a.cancelable&&(a.preventDefault(),a.stopPropagation()),"mouseover"===a.type||"touchstart"===a.type?!0===t.slideAuto&&(null===t.slidePlay||null!==t.slidePlay&&null!==document.querySelector(t.slidePlay))&&(clearTimeout(t.autoDelayFunc),o.setAuto(t.slideWrap,!1)):"mouseout"!==a.type&&"mouseup"!==a.type&&"touchend"!==a.type||!0===t.slideAuto&&(null===t.slidePlay||null!==t.slidePlay&&null!==document.querySelector(t.slidePlay))&&o.setAuto(t.slideWrap,!0),"mousedown"===a.type||"touchstart"===a.type)l.timestampStart=(new Date).getTime(),l.dragStartX=s.clientX,l.dragStartY=s.clientY,t.cancelAnimation(),void 0!==a.touches&&t.animationFrameEffectX!==t.offsetX&&(t.offsetX=t.animationFrameEffectX,document.querySelector(t.slideList).setAttribute("data-translate",t.offsetX)),"mousedown"===a.type&&(document.querySelector(t.slideList).onmousemove=function(e){i(e)});else if("touchmove"===a.type)i(a);else if("mouseup"===a.type||"touchend"===a.type){l.timestampEnd=(new Date).getTime(),"mouseup"===a.type&&(document.querySelector(t.slideList).onmousemove=null);var p=0,u=t.offsetX+l.dragMoveX;Array.from(t.offsetsX).forEach((function(e,n){(l.dragMoveX<0&&u<=e||l.dragMoveX>0&&u-document.querySelector("".concat(t.slideList," > li:nth-child(").concat(p+1,")")).offsetWidth<=e)&&(p=n)}));var d="",_=null!==document.querySelector("".concat(t.slideList," > li:nth-child(").concat(p+1,")")).previousElementSibling?document.querySelector("".concat(t.slideList," > li:nth-child(").concat(p+1,")")).previousElementSibling:document.querySelector("".concat(t.slideList," > li:nth-child(").concat(p+1,")")),y=0===l.dragMoveX||l.timestampEnd-l.timestampStart>l.touchDuration&&Math.abs(l.dragMoveX)<(l.dragMoveX>0?_:document.querySelector("".concat(t.slideList," > li:nth-child(").concat(p+1,")"))).offsetWidth/5;"auto"!==t.slideOriVisible&&t.slideVisible>t.slideOriLength||t.slideIndex===p&&y?d="original_move":l.dragMoveX>0?d="prev_move":l.dragMoveX<0&&(d="next_move"),""!==d&&(t.offsetX+=l.dragMoveX,o.chkIndex(t.slideWrap,d)),l.dragDirection="",l.dragMoveX=0,document.querySelector(t.slideList).classList.remove("move")}}}),!0)}},{key:"setAuto",value:function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",l=n[e.replace(/[.|#| ]/gi,"")],i=this,c=function(e){clearTimeout(l.autoDelayFunc),!0===e&&(l.autoDelayFunc=setTimeout((function(){i.chkIndex(l.slideWrap,"next")}),l.slideAutoDuration))},s=t;if(null!==l.slidePlay&&null!==document.querySelector(l.slidePlay)&&!0===document.querySelector(l.slidePlay).classList.contains("dgplay")&&(s=!1),"init"===o&&!0===l.slideAuto){var p=function(e){if(void 0!==e){var t=(new r).getParents(e.target,"button")[0];t.classList.toggle("dgplay"),s=!0!==t.classList.contains("dgplay")}c(s)};p(),(new a).init(l.slidePlay,"click",p,!0)}else c(s)}},{key:"setResize",value:function(e,t){var o=n[e.replace(/[.|#| ]/gi,"")];if(!1===o.slideResize){o.slideResize=!0;var l=window.innerWidth,r=function(){if((l!==window.innerWidth||"init"===t)&&(l=window.innerWidth,(o=n[e.replace(/[.|#| ]/gi,"")]).slideUpdate>-1&&null!==document.querySelector(o.slideList)&&(o.resizeWidth!==window.innerWidth||"init"===t||o.resizeHeight!==window.innerHeight))){o.resizeWidth=window.innerWidth,o.resizeHeight=window.innerHeight,o.offsetsX=[],document.querySelector(o.slideList).style.width="";var r=0;Array.from(document.querySelector(o.slideList).children).forEach((function(e){e.style.width="";var t=parseFloat(e.getBoundingClientRect().width);e.style.width="".concat(t,"px"),o.slideListWidth>document.querySelector(o.slideWrap).offsetWidth?o.offsetsX.push(0===r?r:-r):o.offsetsX.push(0),r+=t+parseFloat(window.getComputedStyle(e).marginLeft)+parseFloat(window.getComputedStyle(e).marginRight)})),o.slideListWidth=r,"auto"===o.slideOriVisible&&o.slideListWidth<document.querySelector(o.slideWrap).offsetWidth?(o.slideMove=!1,o.slideIndex=0):o.slideMove=!0,document.querySelector(o.slideList).style.width="".concat(r,"px"),o.offsetX=o.offsetsX[o.slideIndex],"auto"===o.slideOriVisible&&!0===o.slideMove&&o.slideListWidth+o.offsetX<document.querySelector(o.slideWrap).offsetWidth&&(o.offsetX+=document.querySelector(o.slideWrap).offsetWidth-(o.slideListWidth+o.offsetX)),o.animationFrameEffectX=o.offsetX,document.querySelector(o.slideList).style.transform="translate(".concat(o.offsetX,"px, 0px)")}};(new d).resize("",r),r()}}},{key:"goTo",value:function(e,t){var o=n[e.replace(/[.|#| ]/gi,"")];if(void 0!==o){var l="";o.cloneLength+t<(new r).getIndex(document.querySelector("".concat(o.slideList," > li.selected")))?l="prev":o.cloneLength+t>(new r).getIndex(document.querySelector("".concat(o.slideList," > li.selected")))&&(l="next"),!0===o.slideMove&&""!==l&&(o.slideIndex=o.cloneLength+t,this.setSlide(o.slideWrap,l))}}},{key:"reInit",value:function(e,t){var o=n[e.replace(/[.|#| ]/gi,"")];void 0!==o&&(void 0!==t&&(o.optOriginal.index=t),this.init(o.optOriginal))}},{key:"unset",value:function(e){var t=n[e.replace(/[.|#| ]/gi,"")];void 0!==t&&this.init(t.optOriginal,"unset")}}]);return{dg_storage:l,dg_common:r,addEventListenerLive:a,dg_scroll:p,dg_resize:d,dg_tooltip:_,dg_layerpopup:m,dg_layerpopup2022:g,dg_toast:v,dg_parameter:w,dg_changedata:b,dg_tab:S,dg_slide:L}}();document.addEventListener("DOMContentLoaded",(function(){var e=new d.dg_common,t=new d.addEventListenerLive,n=new d.dg_layerpopup,o=new d.dg_tooltip;e.device(),t.init(".layerpopup_btn","click",(function(){var e=this.getAttribute("data-layerpopup");null!==e&&null!==document.querySelector("#layerpopup_".concat(e))&&(n.init("#layerpopup_".concat(e)),n.open("#layerpopup_".concat(e)))})),t.init(".layerpopup .close_btn, .layerpopup .back_btn","click",(function(){var t=this;if(void 0!==e.getParents(t,".layerpopup.selected")[0]){var l=e.getParents(t,".layerpopup.selected")[0].getAttribute("id");void 0===e.getParents(t,".tooltip2019.selected")[0]&&(e.getParents(t,".layerpopup.selected")[0].querySelectorAll(".tooltip2019.selected").length>0&&e.getParents(t,".layerpopup.selected")[0].querySelectorAll(".tooltip2019.selected").forEach((function(e){var t=e.getAttribute("id");o.close("#".concat(t))})),n.close("#".concat(l)))}})),t.init(".tooltip_btn","click",(function(){var e=this.getAttribute("data-tooltip");null!==e&&null!==document.querySelector("#tooltip_".concat(e))&&o.open("#tooltip_".concat(e),this)})),t.init(".tooltip2019 .close_btn","click",(function(){if(void 0!==e.getParents(this,".tooltip2019.selected")[0]){var t=e.getParents(this,".tooltip2019.selected")[0].getAttribute("id");o.close("#".concat(t))}})),t.init("select","change focusout",(function(){this.blur()})),document.querySelectorAll(".layerpopup.selected").length>0&&document.querySelectorAll(".layerpopup.selected").forEach((function(e){null!==e.nextElementSibling&&!1!==e.nextElementSibling.classList.contains("layerpopup_bg")||e.insertAdjacentHTML("afterend",'<div class="layerpopup_bg"></div>')})),null!==document.querySelector(".cate_all_wrap")&&t.init(".cate_all_wrap, .cate_all_wrap .cate_all_layer .cate_list a","mouseover mouseout",(function(t){var n=this,o=e.getParents(n,"li")[0];if("mouseover"===t.type&&"A"===n.nodeName){var l=e.getParents(n,".cate_list_item")[0].querySelector(".cate_filter_menu");if(void 0===e.getParents(n,".cate_filter_menu")[0]){if(n.parentElement.parentElement.querySelectorAll("li.on").forEach((function(e){e.classList.remove("on")})),null!==n.nextElementSibling){o.classList.add("on");var r=function(e){var t=0;return Array.from(e.children).forEach((function(e){t+=e.offsetHeight+parseInt(getComputedStyle(e).marginTop,10)})),t+=parseInt(getComputedStyle(e).paddingTop,10)+parseInt(getComputedStyle(e).paddingBottom,10)},i=r(n.nextElementSibling),a=r(e.getParents(n,"ul")[0]);i=Math.max(i-1,a-1,document.querySelector(".cate_list").offsetHeight),n.nextElementSibling.style.height="".concat(i,"px"),e.getParents(n,".cate_list_item")[0].querySelectorAll(".cate_depth_list").forEach((function(e){e.style.height="".concat(i,"px")})),null!==l&&(l.style.height="".concat(i,"px"))}var c=0;void 0!==e.getParents(n,".cate_depth_list")[0]&&e.getParents(n,".cate_depth_list").forEach((function(e){c+=e.offsetWidth}));var s=null!==n.nextElementSibling?n.nextElementSibling.offsetWidth:0;null!==l&&(l.style.left="".concat(c+e.getParents(n,".cate_list")[0].offsetWidth+s,"px"))}}else"mouseout"===t.type&&void 0===e.getParents(t.relatedTarget,".cate_all_wrap")[0]&&document.querySelectorAll(".cate_all_wrap .cate_all_layer .cate_list li").forEach((function(e){e.classList.remove("on"),null===document.querySelector("#main")&&(document.querySelector("nav .cate_all_wrap").classList.remove("fixed"),document.querySelector("#header .gnb_menu .cate_allbtn").classList.remove("active"))}))})),null!==document.querySelector("#main")?document.querySelector("nav .cate_all_wrap").classList.add("fixed"):t.init("#header .gnb_menu .cate_allbtn button, .cate_all_wrap","mouseover mouseout",(function(t){var n=this;"mouseover"===t.type&&"BUTTON"===n.nodeName?(n.parentElement.classList.add("active"),document.querySelector("nav .cate_all_wrap").classList.add("fixed")):"mouseout"===t.type&&void 0===e.getParents(t.relatedTarget,".cate_all_wrap")[0]&&(n.parentElement.classList.remove("active"),document.querySelector("nav .cate_all_wrap").classList.remove("fixed"))})),null!==document.querySelector("#quickInfo")&&window.addEventListener("scroll",(function(){var e=Math.floor(window.scrollY||window.pageYOffset),t=document.querySelector("#quickInfo");e>=t.getBoundingClientRect().top+e-20?window.innerHeight+e>=document.body.offsetHeight?(t.querySelector(".inner").style.position="fixed",t.querySelector(".inner").style.transform="translate(0px, -200px)"):(t.querySelector(".inner").style.position="fixed",t.querySelector(".inner").style.top="20px",t.querySelector(".inner").style.transform="translate(0px, 0px)"):t.querySelector(".inner").style.position="static"}))})),window.qoo10_func=d},3513:function(){}},n={};function o(e){var l=n[e];if(void 0!==l)return l.exports;var r=n[e]={exports:{}};return t[e].call(r.exports,r,r.exports,o),r.exports}o.m=t,e=[],o.O=function(t,n,l,r){if(!n){var i=1/0;for(p=0;p<e.length;p++){n=e[p][0],l=e[p][1],r=e[p][2];for(var a=!0,c=0;c<n.length;c++)(!1&r||i>=r)&&Object.keys(o.O).every((function(e){return o.O[e](n[c])}))?n.splice(c--,1):(a=!1,r<i&&(i=r));if(a){e.splice(p--,1);var s=l();void 0!==s&&(t=s)}}return t}r=r||0;for(var p=e.length;p>0&&e[p-1][2]>r;p--)e[p]=e[p-1];e[p]=[n,l,r]},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,{a:t}),t},o.d=function(e,t){for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={621:0};o.O.j=function(t){return 0===e[t]};var t=function(t,n){var l,r,i=n[0],a=n[1],c=n[2],s=0;if(i.some((function(t){return 0!==e[t]}))){for(l in a)o.o(a,l)&&(o.m[l]=a[l]);if(c)var p=c(o)}for(t&&t(n);s<i.length;s++)r=i[s],o.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return o.O(p)},n=self.webpackChunkdg=self.webpackChunkdg||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}(),o.O(void 0,[121],(function(){return o(857)}));var l=o.O(void 0,[121],(function(){return o(3513)}));l=o.O(l)}();