PageSourceSearch

https://wonderplace.co.kr/ind-script/optimizer_user.php?filename=j…ad45bf3a6ba81637d05614b&t=1683597817&user=T

js wonderplace.co.kr collected 2026-09-29 09:41:35 UTC 129,513 bytes, 1,693 lines download raw bytes

1/**
2 * 카테고리 마우스 오버 이미지
3 * 카테고리 서브 메뉴 출력
4 */
5
6 $(document).ready(function() {
7    var headertimer;
8    var last_total = 0;
9    var totalCount = 0;
10    var isCount = 0;
11    var methods = {
12        aCategory    : [],
13        aSubCategory : {},
14
15        get: function()
16        {
17             $.ajax({
18                url : '/exec/front/Product/SubCategory',
19                dataType: 'json',
20                success: function(aData) {
21
22                    if (aData == null || aData == 'undefined') return;
23                    for (var i=0; i<aData.length; i++)
24                    {
25                        var sParentCateNo = aData[i].parent_cate_no;
26
27                        if (!methods.aSubCategory[sParentCateNo]) {
28                            methods.aSubCategory[sParentCateNo] = [];
29                        }
30
31                        methods.aSubCategory[sParentCateNo].push( aData[i] );
32                    }
33                }
34            });
35        },
36
37        getParam: function(sUrl, sKey) {
38
39            var aUrl         = sUrl.split('?');
40            var sQueryString = aUrl[1];
41            var aParam       = {};
42
43            if (sQueryString) {
44                var aFields = sQueryString.split("&");
45                var aField  = [];
46                for (var i=0; i<aFields.length; i++) {
47                    aField = aFields[i].split('=');
48                    aParam[aField[0]] = aField[1];
49                }
50            }
51            return sKey ? aParam[sKey] : aParam;
52        },
53
54        getParamSeo: function(sUrl) {
55            var aUrl         = sUrl.split('/');
56            return aUrl[3] ? aUrl[3] : null;
57        },
58
59        show: function(overNode, iCateNo) {
60            var aHtml = [];
61            aHtml.push('<ul>');
62            isCount = isCount + 1;
63            $(methods.aSubCategory[iCateNo]).each(function() {
64                var myLink = this.link_product_list;
65                var link = myLink.split("/");
66                clearInterval(headertimer);
67                totalCount++;
68                console.log("들어와서 숫자 세는중:",totalCount);
69                
70                if(isCount == 1){
71                    myLink = "/product/list_brand.html?cate_no=" + link[3];
72                }
73
74                if(this.name == "GOLA"){
75                    myLink = "/product/list_gola.html?cate_no=" + link[3];
76                }else if(this.name == "OCEAN PACIFIC"){
77                    myLink = "/product/list_oceanpacific.html?cate_no=" + link[3];
78                }else if(this.name == "COMO NINOZ"){
79                    myLink = "/product/list_comoninoz.html?cate_no=" + link[3];
80                }else if(this.name == "ORDINARY HOLIDAY"){
81                    myLink = "/product/list_ordinaryholiday.html?cate_no=" + link[3];
82                }else if(this.name == "W.STANDARD"){
83                    myLink = "/product/list_w.standard.html?cate_no=" + link[3];
84                }else if(this.name == "FIELD WORKER"){
85                    myLink = "/product/list_fieldworker.html?cate_no=" + link[3];
86                }else if(this.name == "DELICCENT"){
87                    myLink = "/product/list_deliccent.html?cate_no=" + link[3];
88                }else if(this.name == "WONDER LOOK"){
89                    myLink = "/product/list_wonderlook.html?cate_no=" + link[3];
90                }else if(this.name == "WONDER CREW"){
91                    myLink = "/product/list_wondercrew.html?cate_no=" + link[3];
92                }else if(this.name == "LOVE IT"){
93                    myLink = "/product/list_loveit.html?cate_no=" + link[3];
94                }else if(this.name == "SEEING"){
95                    myLink = "/product/list_seeing.html?cate_no=" + link[3];
96                }else if(this.name == "LOOKBOOK"){
97                    myLink = "/product/list_lookbook.html?cate_no=" + link[3];
98                }
99                aHtml.push('<li name="'+this.name+'"><a href="'+myLink+'">'+this.name+'</a></li>');
100                
101            });
102            aHtml.push('</ul>');
103
104            var offset = $(overNode).offset();
105            $('<div class="sub-category"></div>')
106                .appendTo(overNode)
107                .html(aHtml.join(''))
108                .find('li').mouseover(function(e) {
109                    $(this).addClass('over');
110                }).mouseout(function(e) {
111                    $(this).removeClass('over');
112                });
113        },
114
115        close: function() {
116            $('.sub-category').remove();
117        }
118    };
119    setTimeout(() => {
120    methods.get();
121    },400);
122    setTimeout(() => {
123        for(var i=0; i < $('.xans-layout-category li').length; i++){
124            var $this = $('.xans-layout-category li:eq('+i+')').addClass('on'),
125            iCateNo = Number(methods.getParam($this.find('a').attr('href'), 'cate_no'));
126            if (!iCateNo) {
127                iCateNo = Number(methods.getParamSeo($this.find('a').attr('href')));
128            }
129    
130            if (!iCateNo) {
131               return;
132            }
133    
134            methods.show($this, iCateNo);
135           last_total = i;
136        }
137    }, 500);
138    headertimer = setInterval(function(){
139        if(last_total < 7){
140            console.log("진입하겠습니다.",totalCount);
141            if(totalCount < 7){
142                methods.get();
143                isCount = 0;
144                for(var i=0; i < $('.xans-layout-category li').length; i++){
145                    var $this = $('.xans-layout-category li:eq('+i+')').addClass('on'),
146                    iCateNo = Number(methods.getParam($this.find('a').attr('href'), 'cate_no'));
147                    if (!iCateNo) {
148                        iCateNo = Number(methods.getParamSeo($this.find('a').attr('href')));
149                    }
150            
151                    if (!iCateNo) {
152                    return;
153                    }
154                    last_total = i;
155                    methods.show($this, iCateNo);
156                }
157            }
158        }else{
159            console.log("끝입니다",last_total);
160        }
161    },1000);
162    
163});
164/**
165 * 움직이는 배너 Jquery Plug-in
166 * @author  cafe24
167 */
168
169(function($){
170
171    $.fn.floatBanner = function(options) {
172        options = $.extend({}, $.fn.floatBanner.defaults , options);
173
174        return this.each(function() {
175            var aPosition = $(this).position();
176            var jbOffset = $(this).offset();
177            var node = this;
178
179            $(window).on('scroll', function() {
180                var _top = $(document).scrollTop();
181                _top = (aPosition.top < _top) ? _top : aPosition.top;
182
183                setTimeout(function () {
184                    var newinit = $(document).scrollTop();
185
186                    if ( newinit >
186 jbOffset.top ) {
187                        _top -= jbOffset.top;
188                        var container_height = $("#wrap").height();
189                        var quick_height = $(node).height();
190                        var cul = container_height - quick_height;
191                        if(_top > cul){
192                            _top = cul;
193                        }
194                    } else {
195                        _top = 0;
196                    }
197
198                    $(node).stop().animate({top: _top}, options.animate);
199                }, options.delay);
200            });
201        });
202    };
203
204    $.fn.floatBanner.defaults = {
205        'animate'  : 500,
206        'delay'    : 500
207    };
208
209})(jQuery);
210
211/**
212 * 문서 구동후 시작
213 */
214$(function(){
215    $('#banner:visible, #quick:visible').floatBanner();
216
217    //placeholder
218    $(".ePlaceholder input, .ePlaceholder textarea").each(function(i){
219        var placeholderName = $(this).parents().attr('title');
220        $(this).attr("placeholder", placeholderName);
221    });
222    /* placeholder ie8, ie9 */
223    $.fn.extend({
224        placeholder : function() {
225            //IE 8 버전에는 hasPlaceholderSupport() 값이 false를 리턴
226           if (hasPlaceholderSupport() === true) {
227                return this;
228            }
229            //hasPlaceholderSupport() 값이 false 일 경우 아래 코드를 실행
230            return this.each(function(){
231                var findThis = $(this);
232                var sPlaceholder = findThis.attr('placeholder');
233                if ( ! sPlaceholder) {
234                   return;
235                }
236                findThis.wrap('<label class="ePlaceholder" />');
237                var sDisplayPlaceHolder = $(this).val() ? ' style="display:none;"' : '';
238                findThis.before('<span' + sDisplayPlaceHolder + '>' + sPlaceholder + '</span>');
239                this.onpropertychange = function(e){
240                    e = event || e;
241                    if (e.propertyName == 'value') {
242                        $(this).trigger('focusout');
243                    }
244                };
245                //공통 class
246                var agent = navigator.userAgent.toLowerCase();
247                if (agent.indexOf("msie") != -1) {
248                    $(".ePlaceholder").css({"position":"relative"});
249                    $(".ePlaceholder span").css({"position":"absolute", "padding":"0 4px", "color":"#878787"});
250                    $(".ePlaceholder label").css({"padding":"0"});
251                }
252            });
253        }
254    });
255
256    $(':input[placeholder]').placeholder(); //placeholder() 함수를 호출
257
258    //클릭하면 placeholder 숨김
259    $('body').on('click', '.ePlaceholder span', function(){
260        $(this).hide();
261    });
262
263    //input창 포커스 인 일때 placeholder 숨김
264    $('body').on('focusin', '.ePlaceholder :input', function(){
265        $(this).prev('span').hide();
266    });
267
268    //input창 포커스 아웃 일때 value 가 true 이면 숨김, false 이면 보여짐
269    $('body').on('focusout', '.ePlaceholder :input', function(){
270        if (this.value) {
271            $(this).prev('span').hide();
272        } else {
273            $(this).prev('span').show();
274        }
275    });
276
277    //input에 placeholder가 지원이 되면 true를 안되면 false를 리턴값으로 던져줌
278    function hasPlaceholderSupport() {
279        if ('placeholder' in document.createElement('input')) {
280            return true;
281        } else {
282            return false;
283        }
284    }
285});
286
287/**
288 *  썸네일 이미지 엑박일경우 기본값 설정
289 */
290$(window).on('load', function() {
291    $("img.thumb,img.ThumbImage,img.BigImage").each(function($i,$item){
292        var $img = new Image();
293        $img.onerror = function () {
294            $item.src="//img.echosting.cafe24.com/thumb/img_product_big.gif";
295        }
296        $img.src = this.src;
297    });
298});
299
300/**
301 *  tooltip
302 */
303$('.eTooltip').each(function(i){
304    $(this).find('.btnClose').attr('tabIndex','-1');
305});
306//tooltip input focus
307$('.eTooltip').find('input').on('focus', function() {
308    var targetName = returnTagetName(this);
309    targetName.siblings('.ec-base-tooltip').show();
310});
311$('.eTooltip').find('input').on('focusout', function() {
312    var targetName = returnTagetName(this);
313    targetName.siblings('.ec-base-tooltip').hide();
314});
315function returnTagetName(_this){
316    var ePlacename = $(_this).parent().attr("class");
317    var targetName;
318    if(ePlacename == "ePlaceholder"){ //ePlaceholder 대응
319        targetName = $(_this).parents();
320    }else{
321        targetName = $(_this);
322    }
323    return targetName;
324}
325
326/**
327 *  eTab
328 */
329$("body").on("click", ".eTab a", function(e){
330    // 클릭한 li 에 selected 클래스 추가, 기존 li에 있는 selected 클래스는 삭제.
331    var _li = $(this).parent("li").addClass("selected").siblings().removeClass("selected"),
332    _target = $(this).attr("href"),
333    _siblings = $(_target).attr("class"),
334    _arr = _siblings.split(" "),
335    _classSiblings = "."+_arr[0];
336
337    //클릭한 탭에 해당하는 요소는 활성화, 기존 요소는 비활성화 함.
338    $(_target).show().siblings(_classSiblings).hide();
339
340
341    //preventDefault 는 a 태그 처럼 클릭 이벤트 외에 별도의 브라우저 행동을 막기 위해 사용됨.
342    e.preventDefault();
343});
344
345
346
347'use strict';
348
349/**
350 * Copyright Marc J. Schmidt. See the LICENSE file at the top-level
351 * directory of this distribution and at
352 * https://github.com/marcj/css-element-queries/blob/master/LICENSE.
353 */
354(function (root, factory) {
355    if (typeof define === "function" && define.amd) {
356        define(factory);
357    } else if (typeof exports === "object") {
358        module.exports = factory();
359    } else {
360        root.ResizeSensor = factory();
361    }
362}(typeof window !== 'undefined' ? window : this, function () {
363
364    // Make sure it does not throw in a SSR (Server Side Rendering) situation
365    if (typeof window === "undefined") {
366        return null;
367    }
368    // https://github.com/Semantic-Org/Semantic-UI/issues/3855
369    // https://github.com/marcj/css-element-queries/issues/257
370    var globalWindow = typeof window != 'undefined' && window.Math == Math
371        ? window
372        : typeof self != 'undefined' && self.Math == Math
373            ? self
374            : Function('return this')();
375    // Only used for the dirty checking, so the event callback count is limited to max 1 call per fps per sensor.
376    // In combination with the event based resize sensor this saves cpu time, because the sensor is too fast and
377    // would generate too many unnecessary events.
378    var requestAnimationFrame = globalWindow.requestAnimationFrame ||
379        globalWindow.mozRequestAnimationFrame ||
380        globalWindow.webkitRequestAnimationFrame ||
381        function (fn) {
382            return globalWindow.setTimeout(fn, 20);
383        };
384
385    /**
386     * Iterate over each of the provided element(s).
387     *
388     * @param {HTMLElement|HTMLElement[]} elements
389     * @param {Function}                  callback
390     */
391    function forEachElement(elements, callback){
392        var elementsType = Object.prototype.toString.call(elements);
393        var isCollectionTyped = ('[object Array]' === elementsType
394            || ('[object NodeList]' === elementsType)
395            || ('[object HTMLCollection]' === elementsType)
396            || ('[object Object]' === elementsType)
397            || ('undefined' !== typeof jQuery && elements instanceof jQuery) //jquery
398            || ('undefined' !== typeof Elements && elements instanceof Elements) //mootools
399        );
400        var i = 0, j = elements.length;
401        if (isCollectionTyped) {
402            for (; i < j; i++) {
403                callback(elements[i]);
404            }
405        } else {
406            callback(elements);
407        }
408    }
409
410    /**
411    * Get element size
412    * @param {HTMLElement} element
413    * @returns {Object} {width, height}
414    */
415    function getElementSize(element) {
416        if (!element.getBoundingClientRect) {
417            return {
418                width: element.offsetWidth,
419                height: element.offsetHeight
420            }
421        }
422
423        var rect = element.getBoundingClientRect();
424        return {
425            width: Math.round(rect.width),
426            height: Math.round(rect.height)
427        }
428    }
429
430    /**
431     * Apply CSS styles to element.
432     *
433     * @param {HTMLElement} element
434     * @param {Object} style
435     */
436    function setStyle(element, style) {
437        Object.keys(style).forEach(function(key) {
438            element.style[key] = style[key];
439        });
440    }
441
442    /**
443     * Class for dimension change detection.
444     *
445     * @param {Element|Element[]|Elements|jQuery} element
446     * @param {Function} callback
447     *
448     * @constructor
449     */
450    var ResizeSensor = function(element, callback) {
451        /**
452         *
453         * @constructor
454         */
455        function EventQueue() {
456            var q = [];
457            this.add = function(ev) {
458                q.push(ev);
459            };
460
461            var i, j;
462            this.call = function(sizeInfo) {
463                for (i = 0, j = q.length; i < j; i++) {
464                    q[i].call(this, sizeInfo);
465                }
466            };
467
468            this.remove = function(ev) {
469                var newQueue = [];
470                for(i = 0, j = q.length; i < j; i++) {
471                    if(q[i] !== ev) newQueue.push(q[i]);
472                }
473                q = newQueue;
474            };
475
476            this.length = function() {
477                return q.length;
478            }
479        }
480
481        /**
482         *
483         * @param {HTMLElement} element
484         * @param {Function}    resized
485         */
486        function attachResizeEvent(element, resized) {
487            if (!element) return;
488            if (element.resizedAttached) {
489                element.resizedAttached.add(resized);
490                return;
491            }
492
493            element.resizedAttached = new EventQueue();
494            element.resizedAttached.add(resized);
495
496            element.resizeSensor = document.createElement('div');
497            element.resizeSensor.dir = 'ltr';
498            element.resizeSensor.className = 'resize-sensor';
499
500            var style = {
501                pointerEvents: 'none',
502                position: 'absolute',
503                left: '0px',
504                top: '0px',
505                right: '0px',
506                bottom: '0px',
507                overflow: 'hidden',
508                zIndex: '-1',
509                visibility: 'hidden',
510                maxWidth: '100%'
511            };
512            var styleChild = {
513                position: 'absolute',
514                left: '0px',
515                top: '0px',
516                transition: '0s',
517            };
518
519            setStyle(element.resizeSensor, style);
520
521            var expand = document.createElement('div');
522            expand.className = 'resize-sensor-expand';
523            setStyle(expand, style);
524
525            var expandChild = document.createElement('div');
526            setStyle(expandChild, styleChild);
527            expand.appendChild(expandChild);
528
529            var shrink = document.createElement('div');
530            shrink.className = 'resize-sensor-shrink';
531            setStyle(shrink, style);
532
533            var shrinkChild = document.createElement('div');
534            setStyle(shrinkChild, styleChild);
535            setStyle(shrinkChild, { width: '200%', height: '200%' });
536            shrink.appendChild(shrinkChild);
537
538            element.resizeSensor.appendChild(expand);
539            element.resizeSensor.appendChild(shrink);
540            element.appendChild(element.resizeSensor);
541
542            var computedStyle = window.getComputedStyle(element);
543            var position = computedStyle ? computedStyle.getPropertyValue('position') : null;
544            if ('absolute' !== position && 'relative' !== position && 'fixed' !== position) {
545                element.style.position = 'relative';
546            }
547
548            var dirty, rafId;
549            var size = getElementSize(element);
550            var lastWidth = 0;
551            var lastHeight = 0;
552            var initialHiddenCheck = true;
553            var lastAnimationFrame = 0;
554
555            var resetExpandShrink = function () {
556                var width = element.offsetWidth;
557                var height = element.offsetHeight;
558
559                expandChild.style.width = (width + 10) + 'px';
560                expandChild.style.height = (height + 10) + 'px';
561
562                expand.scrollLeft = width + 10;
563                expand.scrollTop = height + 10;
564
565                shrink.scrollLeft = width + 10;
566                shrink.scrollTop = height + 10;
567            };
568
569            var reset = function() {
570                // Check if element is hidden
571                if (initialHiddenCheck) {
572                    var invisible = element.offsetWidth === 0 && element.offsetHeight === 0;
573                    if (invisible) {
574                        // Check in next frame
575                        if (!lastAnimationFrame){
576                            lastAnimationFrame = requestAnimationFrame(function(){
577                                lastAnimationFrame = 0;
578
579                                reset();
580                            });
581                        }
582
583                        return;
584                    } else {
585                        // Stop checking
586                        initialHiddenCheck = false;
587                    }
588                }
589
590                resetExpandShrink();
591            };
592            element.resizeSensor.resetSensor = reset;
593
594            var onResized = function() {
595                rafId = 0;
596
597                if (!dirty) return;
598
599                lastWidth = size.width;
600                lastHeight = size.height;
601
602                if (element.resizedAttached) {
603                    element.resizedAttached.call(size);
604                }
605            };
606
607            var onScroll = function() {
608                size = getElementSize(element);
609                dirty = size.width !== lastWidth || size.height !== lastHeight;
610
611                if (dirty && !rafId) {
612                    rafId = requestAnimationFrame(onResized);
613                }
614
615                reset();
616            };
617
618            var addEvent = function(el, name, cb) {
619                if (el.attachEvent) {
620                    el.attachEvent('on' + name, cb);
621                } else {
622                    el.addEventListener(name, cb);
623                }
624            };
625
626            addEvent(expand, 'scroll', onScroll);
627            addEvent(shrink, 'scroll', onScroll);
628
629            // Fix for custom Elements
630            requestAnimationFrame(reset);
631        }
632
633        forEachElement(element, function(elem){
634            attachResizeEvent(elem, callback);
635        });
636
637        this.detach = function(ev) {
638            ResizeSensor.detach(element, ev);
639        };
640
641        this.reset = function() {
642            element.resizeSensor.resetSensor();
643        };
644    };
645
646    ResizeSensor.reset = function(element) {
647        forEachElement(element, function(elem){
648            elem.resizeSensor.resetSensor();
649        });
650    };
651
652    ResizeSensor.detach = function(element, ev) {
653        forEachElement(element, function(elem){
654            if (!elem) return;
655            if(elem.resizedAttached && typeof ev === "function"){
656                elem.resizedAttached.remove(ev);
657                if(elem.resizedAttached.length()) return;
658            }
659            if (elem.resizeSensor) {
660                if (elem.contains(elem.resizeSensor)) {
661                    elem.removeChild(elem.resizeSensor);
662                }
663                delete elem.resizeSensor;
664                delete elem.resizedAttached;
665            }
666        });
667    };
668
669    if (typeof MutationObserver !== "undefined") {
670        var observer = new MutationObserver(function (mutations) {
671            for (var i in mutations) {
672                if (mutations.hasOwnProperty(i)) {
673                    var items = mutations[i].addedNodes;
674                    for (var j = 0; j < items.length; j++) {
675                        if (items[j].resizeSensor) {
676                            ResizeSensor.reset(items[j]);
677                        }
678                    }
679                }
680            }
681        });
682
683        document.addEventListener("DOMContentLoaded", function (event) {
684            observer.observe(document.body, {
685                childList: true,
686                subtree: true,
687            });
688        });
689    }
690
691    return ResizeSensor;
692
693}));
694
695/*
696 Sticky-kit v1.1.2 | WTFPL | Leaf Corcoran 2015 | http://leafo.net
697*/
698(function(){var b,f;b=this.$||window.$;f=b(window);b.fn.stick_in_parent=function(d){var A,w,J,n,B,K,p,q,k,E,t;null==d&&(d={});t=d.sticky_class;B=d.inner_scrolling;E=d.recalc_every;k=d.parent;q=d.offset_top;p=d.spacer;w=d.bottoming;null==q&&(q=0);null==k&&(k=void 0);null==B&&(B=!0);null==t&&(t="is_stuck");A=b(document);null==w&&(w=!0);J=function(a,d,n,C,F,u,r,G){var v,H,m,D,I,c,g,x,y,z,h,l;if(!a.data("sticky_kit")){a.data("sticky_kit",!0);I=A.height();g=a.parent();null!=k&&(g=g.closest(k));
699if(!g.length)throw"failed to find stick parent";v=m=!1;(h=null!=p?p&&a.closest(p):b("<div />"))&&h.css("position",a.css("position"));x=function(){var c,f,e;if(!G&&(I=A.height(),c=parseInt(g.css("border-top-width"),10),f=parseInt(g.css("padding-top"),10),d=parseInt(g.css("padding-bottom"),10),n=g.offset().top+c+f,C=g.height(),m&&(v=m=!1,null==p&&(a.insertAfter(h),h.detach()),a.css({position:"",top:"",width:"",bottom:""}).removeClass(t),e=!0),F=a.offset().top-(parseInt(a.css("margin-top"),10)||0)-q,
700u=a.outerHeight(!0),r=a.css("float"),h&&h.css({width:a.outerWidth(!0),height:u,display:a.css("display"),"vertical-align":a.css("vertical-align"),"float":r}),e))return l()};x();if(u!==C)return D=void 0,c=q,z=E,l=function(){var b,l,e,k;if(!G&&(e=!1,null!=z&&(--z,0>=z&&(z=E,x(),e=!0)),e||A.height()===I||x(),e=f.scrollTop(),null!=D&&(l=e-D),D=e,m?(w&&(k=e+u+c>C+n,v&&!k&&(v=!1,a.css({position:"fixed",bottom:"",top:c}).trigger("sticky_kit:unbottom"))),e<F&&(m=!1,c=q,null==p&&("left"!==r&&"right"!==r||a.insertAfter(h),
701h.detach()),b={position:"",width:"",top:""},a.css(b).removeClass(t).trigger("sticky_kit:unstick")),B&&(b=f.height(),u+q>b&&!v&&(c-=l,c=Math.max(b-u,c),c=Math.min(q,c),m&&a.css({top:c+"px"})))):e>F&&(m=!0,b={position:"fixed",top:c},b.width="border-box"===a.css("box-sizing")?a.outerWidth()+"px":a.width()+"px",a.css(b).addClass(t),null==p&&(a.after(h),"left"!==r&&"right"!==r||h.append(a)),a.trigger("sticky_kit:stick")),m&&w&&(null==k&&(k=e+u+c>
701C+n),!v&&k)))return v=!0,"static"===g.css("position")&&g.css({position:"relative"}),
702a.css({position:"absolute",bottom:d,top:"auto"}).trigger("sticky_kit:bottom")},y=function(){x();return l()},H=function(){G=!0;f.off("touchmove",l);f.off("scroll",l);f.off("resize",y);b(document.body).off("sticky_kit:recalc",y);a.off("sticky_kit:detach",H);a.removeData("sticky_kit");a.css({position:"",bottom:"",top:"",width:""});g.position("position","");if(m)return null==p&&("left"!==r&&"right"!==r||a.insertAfter(h),h.remove()),a.removeClass(t)},f.on("touchmove",l),f.on("scroll",l),f.on("resize",
703y),b(document.body).on("sticky_kit:recalc",y),a.on("sticky_kit:detach",H),setTimeout(l,0)}};n=0;for(K=this.length;n<K;n++)d=this[n],J(b(d));return this}}).call(this);
704EC$(function($) {
705    var filter = "win16|win32|win64|mac|macintel";
706    var device = "pc";
707    if (navigator.platform) {
708        if (filter.indexOf(navigator.platform.toLowerCase()) < 0) { device = "mobile"; }
709    }
710
711    /**
712     * 상품상세, 상품 확대보기(팝업) - 소비자가 할인표시 */
713    var oPriceInfoEl = $('#ec-product-price-info');
714    if (oPriceInfoEl.length > 0) {
715        var salePriceEl = $('#span_product_price_text');
716        percentageCul(oPriceInfoEl, salePriceEl);
717    }    
718
719    /**
720    * 상품목록/메인진열 - 소비자가 할인표시*/
721    var mainEl = $("#main");
722    if (mainEl.length > 0) {
723      var productListEl = $('.xans-product-listmain, .xans-product-listrecommend, .xans-product-listnew, .xans-product-listnormal');
724        for (var i = 0; i < productListEl.length; i++) {
725            var prdListEl = productListEl.eq(i).find('.prdList > li');
726            for (var j = 0; j < prdListEl.length; j++) {
727                var priceEl = prdListEl.eq(j).find('.description'),
728                    salePriceEl = priceEl.find('.xans-product > li').eq(1).find('span:eq(1)');
729
730                if (device == "mobile") {
731                    salePriceEl = priceEl.find('.spec >li.price');
732                } 
733                percentageCul(priceEl, salePriceEl);
734            }
735        }
736    }
737
738    
739
740    function percentageCul(target, salePriceEl) {
741		var iCustomPrice = parseInt(target.attr('ec-data-custom').replace(",", "")); // 검색페이지에서 쉼표 삭제 - 정환
742		var iPrice = parseInt(target.attr('ec-data-price').replace(",", "")); // 검색페이지에서 쉼표 삭제 - 정환
743        var sDisplayAmount = 'p', // p:할인율, w:할인금액
744            iOfftoFixed = 0, // 할인율 소수점자릿수
745            sSaleText = '',
746            regexp = /B(?=(d{3})+(?!d))/g;
747
748        if (iCustomPrice > 0 && iPrice > 0 && iPrice != iCustomPrice) {
749            if (sDisplayAmount == 'p') {
750                sSaleText = (((iCustomPrice - iPrice) / iCustomPrice) * 100).toFixed(iOfftoFixed) + '%';
751            } else if (sDisplayAmount == 'w') {
752                sSaleText = parseInt(iCustomPrice - iPrice).toString().replace(regexp, ',') + '원 OFF';
753            }
754            salePriceEl.append("<div class='ec-sale-rate'>" + sSaleText + "</span>");
755        }
756    }
757    // setTimeout(function(){
758	// 	sale_percent();
759	// }, 300);
760});
761//window popup script
762function winPop(url) {
763    window.open(url, "popup", "width=300,height=300,left=10,top=10,resizable=no,scrollbars=no");
764}
765/**
766 * document.location.href split
767 * return array Param
768 */
769function getQueryString(sKey)
770{
771    var sQueryString = document.location.search.substring(1);
772    var aParam       = {};
773
774    if (sQueryString) {
775        var aFields = sQueryString.split("&");
776        var aField  = [];
777        for (var i=0; i<aFields.length; i++) {
778            aField = aFields[i].split('=');
779            aParam[aField[0]] = aField[1];
780        }
781    }
782
783    aParam.page = aParam.page ? aParam.page : 1;
784    return sKey ? aParam[sKey] : aParam;
785};
786
787$(function(){
788    // tab
789    $.eTab = function(ul){
790        $(ul).find('a').on('click', function(){
791            var _li = $(this).parent('li').addClass('selected').siblings().removeClass('selected'),
792                _target = $(this).attr('href'),
793                _siblings = '.' + $(_target).attr('class');
794            $(_target).show().siblings(_siblings).hide();
795            return false
796        });
797    }
798    if ( window.call_eTab ) {
799        call_eTab();
800    };
801});
802!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exp
vendor: 6,931 bytes, line 802
802orts.AOS=t():e.AOS=t()}(this,function(){return function(e){function t(o){if(n[o])return n[o].exports;var i=n[o]={exports:{},id:o,loaded:!1};return e[o].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="dist/",t(0)}([function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=n(1),a=(o(r),n(6)),u=o(a),c=n(7),f=o(c),s=n(8),d=o(s),l=n(9),p=o(l),m=n(10),b=o(m),v=n(11),y=o(v),g=n(14),h=o(g),w=[],k=!1,x=document.all&&!window.atob,j={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,startEvent:"DOMContentLoaded",throttleDelay:99,debounceDelay:50,disableMutationObserver:!1},O=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(e&&(k=!0),k)return w=(0,y.default)(w,j),(0,b.default)(w,j.once),w},_=function(){w=(0,h.default)(),O()},S=function(){w.forEach(function(e,t){e.node.removeAttribute("data-aos"),e.node.removeAttribute("data-aos-easing"),e.node.removeAttribute("data-aos-duration"),e.node.removeAttribute("data-aos-delay")})},z=function(e){return e===!0||"mobile"===e&&p.default.mobile()||"phone"===e&&p.default.phone()||"tablet"===e&&p.default.tablet()||"function"==typeof e&&e()===!0},A=function(e){return j=i(j,e),w=(0,h.default)(),z(j.disable)||x?S():(document.querySelector("body").setAttribute("data-aos-easing",j.easing),document.querySelector("body").setAttribute("data-aos-duration",j.duration),document.querySelector("body").setAttribute("data-aos-delay",j.delay),"DOMContentLoaded"===j.startEvent&&["complete","interactive"].indexOf(document.readyState)>-1?O(!0):"load"===j.startEvent?window.addEventListener(j.startEvent,function(){O(!0)}):document.addEventListener(j.startEvent,function(){O(!0)}),window.addEventListener("resize",(0,f.default)(O,j.debounceDelay,!0)),window.addEventListener("orientationchange",(0,f.default)(O,j.debounceDelay,!0)),window.addEventListener("scroll",(0,u.default)(function(){(0,b.default)(w,j.once)},j.throttleDelay)),j.disableMutationObserver||(0,d.default)("[data-aos]",_),w)};e.exports={init:A,refresh:O,refreshHard:_}},function(e,t){},,,,,function(e,t){(function(t){"use strict";function n(e,t,n){function o(t){var n=b,o=v;return b=v=void 0,k=t,g=e.apply(o,n)}function r(e){return k=e,h=setTimeout(s,t),_?o(e):g}function a(e){var n=e-w,o=e-k,i=t-n;return S?j(i,y-o):i}function c(e){var n=e-w,o=e-k;return void 0===w||n>=t||n<0||S&&o>=y}function s(){var e=O();return c(e)?d(e):void(h=setTimeout(s,a(e)))}function d(e){return h=void 0,z&&b?o(e):(b=v=void 0,g)}function l(){void 0!==h&&clearTimeout(h),k=0,b=w=v=h=void 0}function p(){return void 0===h?g:d(O())}function m(){var e=O(),n=c(e);if(b=arguments,v=this,w=e,n){if(void 0===h)return r(w);if(S)return h=setTimeout(s,t),o(w)}return void 0===h&&(h=setTimeout(s,t)),g}var b,v,y,g,h,w,k=0,_=!1,S=!1,z=!0;if("function"!=typeof e)throw new TypeError(f);return t=u(t)||0,i(n)&&(_=!!n.leading,S="maxWait"in n,y=S?x(u(n.maxWait)||0,t):y,z="trailing"in n?!!n.trailing:z),m.cancel=l,m.flush=p,m}function o(e,t,o){var r=!0,a=!0;if("function"!=typeof e)throw new TypeError(f);return i(o)&&(r="leading"in o?!!o.leading:r,a="trailing"in o?!!o.trailing:a),n(e,t,{leading:r,maxWait:t,trailing:a})}function i(e){var t="undefined"==typeof e?"undefined":c(e);return!!e&&("object"==t||"function"==t)}function r(e){return!!e&&"object"==("undefined"==typeof e?"undefined":c(e))}function a(e){return"symbol"==("undefined"==typeof e?"undefined":c(e))||r(e)&&k.call(e)==d}function u(e){if("number"==typeof e)return e;if(a(e))return s;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(l,"");var n=m.test(e);return n||b.test(e)?v(e.slice(2),n?2:8):p.test(e)?s:+e}var c="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},f="Expected a function",s=NaN,d="[object Symbol]",l=/^\s+|\s+$/g,p=/^[-+]0x[0-9a-f]+$/i,m=/^0b[01]+$/i,b=/^0o[0-7]+$/i,v=parseInt,y="object"==("undefined"==typeof t?"undefined":c(t))&&t&&t.Object===Object&&t,g="object"==("undefined"==typeof self?"undefined":c(self))&&self&&self.Object===Object&&self,h=y||g||Function("return this")(),w=Object.prototype,k=w.toString,x=Math.max,j=Math.min,O=function(){return h.Date.now()};e.exports=o}).call(t,function(){return this}())},function(e,t){(function(t){"use strict";function n(e,t,n){function i(t){var n=b,o=v;return b=v=void 0,O=t,g=e.apply(o,n)}function r(e){return O=e,h=setTimeout(s,t),_?i(e):g}function u(e){var n=e-w,o=e-O,i=t-n;return S?x(i,y-o):i}function f(e){var n=e-w,o=e-O;return void 0===w||n>=t||n<0||S&&o>=y}function s(){var e=j();return f(e)?d(e):void(h=setTimeout(s,u(e)))}function d(e){return h=void 0,z&&b?i(e):(b=v=void 0,g)}function l(){void 0!==h&&clearTimeout(h),O=0,b=w=v=h=void 0}function p(){return void 0===h?g:d(j())}function m(){var e=j(),n=f(e);if(b=arguments,v=this,w=e,n){if(void 0===h)return r(w);if(S)return h=setTimeout(s,t),i(w)}return void 0===h&&(h=setTimeout(s,t)),g}var b,v,y,g,h,w,O=0,_=!1,S=!1,z=!0;if("function"!=typeof e)throw new TypeError(c);return t=a(t)||0,o(n)&&(_=!!n.leading,S="maxWait"in n,y=S?k(a(n.maxWait)||0,t):y,z="trailing"in n?!!n.trailing:z),m.cancel=l,m.flush=p,m}function o(e){var t="undefined"==typeof e?"undefined":u(e);return!!e&&("object"==t||"function"==t)}function i(e){return!!e&&"object"==("undefined"==typeof e?"undefined":u(e))}function r(e){return"symbol"==("undefined"==typeof e?"undefined":u(e))||i(e)&&w.call(e)==s}function a(e){if("number"==typeof e)return e;if(r(e))return f;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(d,"");var n=p.test(e);return n||m.test(e)?b(e.slice(2),n?2:8):l.test(e)?f:+e}var 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},c="Expected a function",f=NaN,s="[object Symbol]",d=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,m=/^0o[0-7]+$/i,b=parseInt,v="object"==("undefined"==typeof t?"undefined":u(t))&&t&&t.Object===Object&&t,y="object"==("undefined"==typeof self?"undefined":u(self))&&self&&self.Object===Object&&self,g=v||y||Function("return this")(),h=Object.prototype,w=h.toString,k=Math.max,x=Math.min,j=function(){return g.Date.now()};e.exports=n}).call(t,function(){return this}())},function(e,t){"use strict";function n(e,t){var n=new r(o);a=t,n.observe(i.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}function o(e){e&&e.forEach(function(e){var t=Array.prototype.slice.call(e.addedNodes),n=Array.prototype.slice.call(e.removedNodes
802),o=t.concat(n).filter(function(e){return e.hasAttribute&&e.hasAttribute("data-aos")}).length;o&&a()})}Object.defineProperty(t,"__esModule",{value:!0});var i=window.document,r=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,a=function(){};t.default=n},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(){return navigator.userAgent||navigator.vendor||window.opera||""}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(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,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,a=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,u=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,c=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|
802sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,f=function(){function e(){n(this,e)}return i(e,[{key:"phone",value:function(){var e=o();return!(!r.test(e)&&!a.test(e.substr(0,4)))}},{key:"mobile",value:function(){var e=o();return!(!u.test(e)&&!c.test(e.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}}]),e}();t.default=new f},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t,n){var o=e.node.getAttribute("data-aos-once");t>e.position?e.node.classList.add("aos-animate"):"undefined"!=typeof o&&("false"===o||!n&&"true"!==o)&&e.node.classList.remove("aos-animate")},o=function(e,t){var o=window.pageYOffset,i=window.innerHeight;e.forEach(function(e,r){n(e,i+o,t)})};t.default=o},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(12),r=o(i),a=function(e,t){return e.forEach(function(e,n){e.node.classList.add("aos-init"),e.position=(0,r.default)(e.node,t.offset)}),e};t.default=a},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(13),r=o(i),a=function(e,t){var n=0,o=0,i=window.innerHeight,a={offset:e.getAttribute("data-aos-offset"),anchor:e.getAttribute("data-aos-anchor"),anchorPlacement:e.getAttribute("data-aos-anchor-placement")};switch(a.offset&&!isNaN(a.offset)&&(o=parseInt(a.offset)),a.anchor&&document.querySelectorAll(a.anchor)&&(e=document.querySelectorAll(a.anchor)[0]),n=(0,r.default)(e).top,a.anchorPlacement){case"top-bottom":break;case"center-bottom":n+=e.offsetHeight/2;break;case"bottom-bottom":n+=e.offsetHeight;break;case"top-center":n+=i/2;break;case"bottom-center":n+=i/2+e.offsetHeight;break;case"center-center":n+=i/2+e.offsetHeight/2;break;case"top-top":n+=i;break;case"bottom-top":n+=e.offsetHeight+i;break;case"center-top":n+=e.offsetHeight/2+i}return a.anchorPlacement||a.offset||isNaN(t)||(o=t),n+o};t.default=a},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){for(var t=0,n=0;e&&!isNaN(e.offsetLeft)&&!isNaN(e.offsetTop);)t+=e.offsetLeft-("BODY"!=e.tagName?e.scrollLeft:0),n+=e.offsetTop-("BODY"!=e.tagName?e.scrollTop:0),e=e.offsetParent;return{top:n,left:t}};t.default=n},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){return e=e||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(e,function(e){return{node:e}})};t.default=n}])});
803(function($){
804    $.fn.extend({
805        center: function() {
806            this.each(function() {
807                var
808                    $this = $(this),
809                    $w = $(window);
810                $this.css({
811                    position: "absolute",
812                    top: ~~(($w.height() - $this.outerHeight()) / 2) + $w.scrollTop() + "px",
813                    left: ~~(($w.width() - $this.outerWidth()) / 2) + $w.scrollLeft() + "px"
814                });
815            });
816            return this;
817        }
818    });
819    $(function() {
820        var $container = function(){/*
821    <div id="modalContainer">
822        <iframe id="modalContent" scroll="0" scrolling="no" frameBorder="0"></iframe>
823    </div>');
824    */}.toString().slice(14,-3);
825        $('body')
826        .append($('<div id="modalBackpanel"></div>'))
827        .append($($container));
828        function closeModal () {
829            $('#modalContainer').hide();
830            $('#modalBackpanel').hide();
831        }
832        $('#modalBackpanel').on('click',closeModal);
833        zoom = function ($piProductNo, $piCategoryNo, $piDisplayGroup) {
834            var $url = '/product/image_zoom.html?product_no=' + $piProductNo + '&cate_no=' + $piCategoryNo + '&display_group=' + $piDisplayGroup;
835            $('#modalContent').attr('src', $url);
836            $('#modalContent').on("load",function(){
837                $(".header .close",this.contentWindow.document.body).on("click", closeModal);
838            });
839            $('#modalBackpanel').css({width:$("body").width(),height:$("body").height(),opacity:.4}).show();
840            $('#modalContainer').center().show();
841        }
842    });
843})(jQuery);
844
845$(document).ready(function() {
846	var oldHeight = 0;
847	AOS.init({
848		// Global settings:
849		disable: false, // accepts following values: 'phone', 'tablet', 'mobile', boolean, expression or function
850		startEvent: 'DOMContentLoaded', // name of the event dispatched on the document, that AOS should initialize on
851		initClassName: 'aos-init', // class applied after initialization
852		animatedClassName: 'aos-animate', // class applied on animation
853		useClassNames: false, // if true, will add content of `data-aos` as classes on scroll
854		disableMutationObserver: false, // disables automatic mutations' detections (advanced)
855		debounceDelay: 50, // the delay on debounce used while resizing window (advanced)
856		throttleDelay: 99, // the delay on throttle used while scrolling the page (advanced)
857		
858	
859		// Settings that can be overridden on per-element basis, by `data-aos-*` attributes:
860		offset: 180, // offset (in px) from the original trigger point
861		delay: 0, // values from 0 to 3000, with step 50ms
862		duration: 400, // values from 0 to 3000, with step 50ms
863		easing: 'ease', // default easing for AOS animations
864		once: false, // whether animation should happen only once - while scrolling down
865		mirror: false, // whether elements should animate out while scrolling past them
866		anchorPlacement: 'top-bottom', // defines which position of the element regarding to window should trigger the animation
867	});
868	AOS.refresh();
869	setTimeout("AOS.refresh()", 1000);
870	setTimeout("AOS.refresh()", 2000);
871
872	for (var i = 0; i < $("#contents .listype .prdList > li").length; i++) {
873        var userPrice;
874		for (var j = 0; j < $("#contents .listype .prdList > li:eq("+i+") .spec > li").length; j++) {
875
876			var text = $("#contents .listype .prdList > li:eq("+i+") .spec > li:eq("+j+") .title > span").text();
877			
878            
879            if(text == "소비자가"){
880				$("#contents .listype .prdList > li:eq("+i+") .spec > li:eq("+j+")").addClass("userPrice");
881				$("#contents .listype .prdList > li:eq("+i+") .spec").addClass("userPrice");
882                userPrice = $("#contents .listype .prdList > li:eq("+i+") .spec > li:eq("+j+") > span").text();
883			}else if(text == "판매가"){
884				$("#contents .listype .prdList > li:eq("+i+") .spec > li:eq("+j+")").addClass("basePrice");
885				$("#contents .listype .prdList > li:eq("+i+") .spec").addClass("basePrice");
886                if(userPrice == $("#contents .listype .prdList > li:eq("+i+") .spec > li:eq("+j+") > strong + span").text()){
887                    $("#contents .listype .prdList > li:eq("+i+")").addClass("samePrice");
888                }
889			}else if(text == " 할인가" || text == "할인판매가" || text == "일반회원 할인가"){
890				$("#contents .listype .prdList > li:eq("+i+") .spec > li:eq("+j+")").addClass("discountPrice");
891				$("#contents .listype .prdList > li:eq("+i+") .spec").addClass("discountPrice");
892			}else if(text == "최적할인가"){
893				$("#contents .listype .prdList > li:eq("+i+") .spec > li:eq("+j+")").addClass("totalPrice");
894				$("#contents .listype .prdList > li:eq("+i+") .spec").addClass("totalPrice");
895			}else if(text == "브랜드"){
896				$("#contents .listype .prdList > li:eq("+i+") .spec > li:eq("+j+")").addClass("brand");
897				$("#contents .listype .prdList > li:eq("+i+") .spec").addClass("brand");
898			}else if(text == "상품색상"){
899				$("#contents .listype .prdList > li:eq("+i+") .spec > li:eq("+j+")").addClass("color");
900				$("#contents .listype .prdList > li:eq("+i+") .spec").addClass("color");
901			}else if(text == "사용후기"){
902				$("#contents .listype .prdList > li:eq("+i+") .spec > li:eq("+j+")").addClass("review");
903				$("#contents .listype .prdList > li:eq("+i+") .spec").addClass("review");
904			}else if(text == "상품요약정보"){
905                $("#contents .listype .prdList > li:eq("+i+") .spec > li:eq("+j+")").addClass("summary");
906				$("#contents .listype .prdList > li:eq("+i+") .spec").addClass("summary");
907            }else if(text == "해시태그"){
908                $("#contents .listype .prdList > li:eq("+i+") .spec > li:eq("+j+")").addClass("hashtag");
909				$("#contents .listype .prdList > li:eq("+i+") .spec").addClass("hashtag");
910            }else if(text == "상품간략설명"){
911                $("#contents .listype .prdList > li:eq("+i+") .spec > li:eq("+j+")").addClass("description");
912				$("#contents .listype .prdList > li:eq("+i+") .spec").addClass("description");
913            }  
914		}
915	}
916
917	$("#file1").on('change',function(){
918		var fileName = $("#file1").val();
919		fileName = fileName.replace(/^.*[\\\/]/, '');
920		$(".upload-name1").val(fileName);
921	});
922	$("#file2").on('change',function(){
923		var fileName = $("#file2").val();
924		fileName = fileName.replace(/^.*[\\\/]/, '');
925		$(".upload-name2").val(fileName);
926	});
927	$("#file3").on('change',function(){
928		var fileName = $("#file3").val();
929		fileName = fileName.replace(/^.*[\\\/]/, '');
930		$(".upload-name3").val(fileName);
931	});
932	$("#file4").on('change',function(){
933		var fileName = $("#file4").val();
934		fileName = fileName.replace(/^.*[\\\/]/, '');
935		$(".upload-name4").val(fileName);
936	});
937
938	// $("#contents .cs_productlist ul").addClass("cmp_slide");
939	// $("#contents .cs_productlist ul").addClass("owl-carousel");
940
941	// var productlist_slide = $('#contents .cs_productlist .cmp_slide');
942	// productlist_slide.owlCarousel({
943	//     items: 4,
944	//     loop: true,
945	//     nav: false,
946	//     center: false,
947	//     mouseDrag:true,
948	//     touchDrag:true,
949	//     callbacks: true,
950	//     autoplay:true,
951	//     margin:0,
952	//     autoplayTimeout:5000,
953	//     autoplayHoverPause:false
954	// });
955
956	var scTop = $(this).scrollTop();
957
958	$( window ).resize(function() {
959		scTop = $(this).scrollTop();
960		calHeight();
961		AOS.refresh();
962		setTimeout("AOS.refresh()", 1000);
963		calTop(scTop);
964		if($("#contents.c_sub .cs_detail").length){
965			if(!($('#contents.c_sub .cs_detail .csd_box.t2').css('position') == 'fixed')){
966				$("#contents.c_sub .cs_detail .csd_box.t2").trigger("sticky_kit:detach");
967				$("#contents.c_sub .cs_detail .csd_box.t2").stick_in_parent({offset_top:140});
968			}
969		}
970	});
971
972	$(window).scroll(function(){
973		scTop = $(this).scrollTop();
974		calTop(scTop);
975		if(scTop > 0){
976			$("#aside").addClass("on");
977		}else {
978			$("#aside").removeClass("on");
979		}
980		if($("#contents.c_sub .cs_detail").length){
981			if(oldHeight != $('#contents.c_sub .cs_detail .csd_box.t2').height()){
982				$("#contents.c_sub .cs_detail .csd_box.t2").css("position","fixed");
983				$("#contents.c_sub .cs_detail .csd_box.t2").css("bottom","0px");
984				$("#contents.c_sub .cs_detail .csd_box.t2").trigger("sticky_kit:detach");
985				$("#contents.c_sub .cs_detail .csd_box.t2").stick_in_parent({offset_top:140});
986				oldHeight = $('#contents.c_sub .cs_detail .csd_box.t2').height();
987			}
988		}
989
990	});
991
992	var arrived = false;
993	if($("#contents.c_sub .cs_detail").length){
994		$("#contents.c_sub .cs_detail").addClass("preon");
995		$("#contents.c_sub .cs_detail .csd_box.t2").stick_in_parent({offset_top:140});
996		oldHeight = $('#contents.c_sub .cs_detail .csd_box.t2').height();
997		new ResizeSensor(jQuery('#contents.c_sub .cs_detail .csd_box.t2'), function(){
998			if(!($('#contents.c_sub .cs_detail .csd_box.t2').css('position') == 'fixed')){
999				$("#contents.c_sub .cs_detail .csd_box.t2").css("position","fixed");
1000				$("#contents.c_sub .cs_detail .csd_box.t2").css("bottom","0px");
1001				$("#contents.c_sub .cs_detail .csd_box.t2").trigger("sticky_kit:detach");
1002				$("#contents.c_sub .cs_detail .csd_box.t2").stick_in_parent({offset_top:140});
1003			}
1004		});
1005	}
1006
1007	function calTop(scTop){
1008		if(scTop + Cheight > $("#footer").offset().top){
1009			$("#aside .scrolltop").addClass("blind");
1010			$("#footer .scrolltop").removeClass("blind");
1011            if($("#contents.c_sub .cs_detail").length){
1012                if(arrived){
1013                    $("#contents.c_sub .cs_detail .csd_box.t2").trigger("sticky_kit:detach");
1014                    $("#contents.c_sub .cs_detail .csd_box.t2").stick_in_parent({offset_top:140});
1015                    arrived = false;
1016                }
1017            }
1018		}else {
1019			$("#aside .scrolltop").removeClass("blind");
1020			$("#footer .scrolltop").addClass("blind");
1021			arrived = true;
1022		}
1023	}
1024
1025	$('.scrolltop').click(function() {
1026		var offset =0;
1027		$('html, body').animate({scrollTop : offset}, 1000,'swing');
1028	});
1029
1030
1031	$('html, body').on('mousewheel DOMMouseScroll', function(e) {
1032		$('body,html').stop(false);
1033	});
1034
1035	var wonderlook_slide = $('.cm_wonderlook .cmw_slide');
1036	wonderlook_slide.owlCarousel({
1037		items: 3,
1038		margin: 20,
1039		loop: true,
1040		nav: true,
1041		callbacks: true,
1042		autoplay:true,
1043		autoplayTimeout:5000,
1044		autoplayHoverPause:false
1045	});
1046	$('.cm_wonderlook .n_prev').click(function() {
1047		wonderlook_slide.trigger('prev.owl.carousel');
1048	});
1049	// Go to the previous item
1050	$('.cm_wonderlook .n_next').click(function() {
1051		wonderlook_slide.trigger('next.owl.carousel');
1052	});
1053
1054	var cmb_silde = $('.cm_brand .cmb_slide');
1055	cmb_silde.owlCarousel({
1056		items: 1,
1057		loop: false,
1058		nav: true,
1059		callbacks: true,
1060		autoplay:false,
1061		autoplayTimeout:5000,
1062		autoplayHoverPause:false,
1063		URLhashListener:true,
1064        mouseDrag:false,
1065        touchDrag:false,
1066		startPosition: 'URLHash'
1067	});
1068
1069    $('.cm_brand .n_prev').click(function() {
1070		cmb_silde.trigger('prev.owl.carousel');
1071	});
1072	// Go to the previous item
1073	$('.cm_brand .n_next').click(function() {
1074		cmb_silde.trigger('next.owl.carousel');
1075	});
1076	
1077	// cmb_silde.on('changed.owl.carousel', function (e) {
1078
1079	// 	classUrl = location.href.split("#")[1];
1080	// 	if (classUrl != "!" && classUrl != undefined && classUrl != "") {
1081	// 		$('#contents.c_main .cm_brand .cmb_hash a').removeClass('on');
1082	// 		$('#contents.c_main .cm_brand .cmb_hash .'+classUrl).addClass('on');
1083	// 	}
1084	// });
1085
1086	// var classUrl = location.href.split("#")[1];
1087	// if (classUrl != "!" && classUrl != undefined && classUrl != "") {
1088    //     if(!classUrl.includes("type")){
1089    //         $('#contents.c_main .cm_brand .cmb_hash a').removeClass('on');
1090    //         $('#contents.c_main .cm_brand .cmb_hash .'+classUrl).addClass('on');
1091    //     }
1092	// }
1093	
1094	var cmm_slide = $('.cm_newarrival .cmn_slide');
1095	cmm_slide.owlCarousel({
1096		items: 5,
1097		loop: true,
1098		nav: true,
1099		center: false,
1100		mouseDrag:true,
1101		touchDrag:true,
1102		callbacks: true,
1103		autoplay:true,
1104		margin:20,
1105		autoplayTimeout:5000,
1106		autoplayHoverPause:false
1107	});
1108
1109	$('.cm_newarrival .n_prev').click(function() {
1110		cmm_slide.trigger('prev.owl.carousel');
1111	});
1112	// Go to the previous item
1113	$('.cm_newarrival .n_next').click(function() {
1114		cmm_slide.trigger('next.owl.carousel');
1115	});
1116
1117	var cms_slide = $('.cm_sale .cms_slide');
1118	cms_slide.owlCarousel({
1119		items: 5,
1120		loop: true,
1121		nav: true,
1122		center: false,
1123		mouseDrag:true,
1124		touchDrag:true,
1125		callbacks: true,
1126		autoplay:true,
1127		margin:20,
1128		autoplayTimeout:5000,
1129		autoplayHoverPause:false
1130	});
1131
1132	$('.cm_sale .n_prev').click(function() {
1133		cms_slide.trigger('prev.owl.carousel');
1134	});
1135	// Go to the previous item
1136	$('.cm_sale .n_next').click(function() {
1137		cms_slide.trigger('next.owl.carousel');
1138	});
1139
1140	var csbw_slide = $('.csb_wonderbest .csbw_slide');
1141	csbw_slide.owlCarousel({
1142		items: 4,
1143		loop: true,
1144		nav: true,
1145		center: false,
1146		mouseDrag:true,
1147		touchDrag:true,
1148		callbacks: true,
1149		autoplay:true,
1150		margin:20,
1151		autoplayTimeout:5000,
1152		autoplayHoverPause:false
1153	});
1154
1155	$('.csb_wonderbest .n_prev').click(function() {
1156		csbw_slide.trigger('prev.owl.carousel');
1157	});
1158	// Go to the previous item
1159	$('.csb_wonderbest .n_next').click(function() {
1160		csbw_slide.trigger('next.owl.carousel');
1161	});
1162
1163	$("#contents.c_sub .xans-product-normalmenu .function .cs_sort").click(function() {
1164		$("#contents.c_sub .xans-product-normalmenu .function .cs_sort").toggleClass("open");
1165	});
1166
1167	$("#header .h_shortcut .membercate > ul > li > .hs_searchbtn").click(function() {
1168		$("#searchBarForm").toggleClass("open");
1169	});
1170
1171	$("#searchBarForm .s_box .close").click(function() {
1172		$("#searchBarForm").removeClass("open");
1173	});
1174
1175    $("#searchBarForm .s_bg").click(function(){
1176        $('#searchBarForm').toggleClass("open");
1177    });
1178
1179    $(".toggleArrow").click(function(){
1180        $(this).toggleClass("open");
1181    });
1182
1183    $("#contents.c_sub .cs_term .cst_past strong").click(function(){
1184        $(this).toggleClass("open");
1185    });
1186
1187
1188	
1189	var Cheight = $(window).height();
1190	$('.height').css({'height':Cheight+'px'});
1191
1192	calHeight();
1193	function calHeight(){
1194		Cheight = $(window).height();
1195
1196		$('.height').css({'height':Cheight+'px'});
1197	}
1198
1199	function beforegreet(){
1200		for(var i = 0; i <  $("#header .h_menu .hm_main > li").length; i++){
1201			if($("#header .h_menu .hm_main > li:eq("+i+") > .sub-category > ul li").length == 0){
1202				$("#header .h_menu .hm_main > li:eq("+i+") ").addClass("noChild");
1203			}
1204			if($("#header .h_menu .hm_main > li:eq("+i+")").attr("name") == "BEST"){
1205				var href = $("#header .h_menu .hm_main > li:eq("+i+") > a").attr("href");
1206				var myLink = "/product/list_best.html?cate_no=";
1207			
1208				href = href.split("=");
1209				var chageLink = myLink + href[1];
1210				$("#header .h_menu .hm_main > li:eq("+i+") > a").attr("href",chageLink);
1211				for(var j = 0; j < $("#header .h_menu .hm_main > li:eq("+i+") > .sub-category > ul li").length; j++){
1212					href = $("#header .h_menu .hm_main > li:eq("+i+") > .sub-category > ul li:eq("+j+") > a").attr("href");
1213					href = href.split("/");
1214					chageLink  = myLink + href[3];
1215					$("#header .h_menu .hm_main > li:eq("+i+") > .sub-category > ul li:eq("+j+") > a").attr("href",chageLink);
1216				}
1217			}
1218
1219			if($("#header .h_menu .hm_main > li:eq("+i+")").attr("name") == "BRAND"){
1220				var href = $("#header .h_menu .hm_main > li:eq("+i+") > a").attr("href");
1221				var myLink = "/product/brand.html?cate_no=";
1222			
1223				href = href.split("=");
1224				var chageLink = myLink + href[1];
1225				$("#header .h_menu .hm_main > li:eq("+i+") > a").attr("href",chageLink);
1226			}
1227
1228            if($("#header .h_menu .hm_main > li:eq("+i+")").attr("name") == "W.rating"){
1229				var thishref = $("#header .h_menu .hm_main > li:eq("+i+") > a").attr("href");
1230				thishref = thishref.split("=");
1231                if($("#header .h_menu .hm_main > li:eq("+i+") > .sub-category > ul li").length){
1232                    var href = $("#header .h_menu .hm_main > li:eq("+i+") > .sub-category > ul li:eq(0) > a").attr("href");
1233                    $("#header .h_menu .hm_main > li:eq("+i+") > a").attr("href",href);
1234                }
1235                for(var j = 0; j < $("#header .h_menu .hm_main > li:eq("+i+") > .sub-category > ul li").length; j++){
1236
1237					var reviewhref = $("#header .h_menu .hm_main > li:eq("+i+") > .sub-category > ul li:eq("+j+") > a").attr("href");
1238					if(reviewhref.includes("135")){
1239                        $("#header .h_menu .hm_main > li:eq("+i+") > .sub-category > ul li:eq("+j+") > a").attr("href","/review/");
1240                    }
1241				}
1242			}
1243
1244            if($("#header .h_menu .hm_main > li:eq("+i+")").attr("name") == "W.rating"){
1245                if($("#header .h_menu .hm_main > li:eq("+i+") > a").attr("href").includes("category")){
1246                    
1247                    $("#header .h_menu .hm_main > li:eq("+i+") > a").attr("href",$("#header .h_menu .hm_main > li:eq("+i+") .sub-category ul li:eq(0) a").attr("href"));
1248                }
1249    
1250			}
1251		}
1252		// for(var i = 0; i <  $("#contents .c_year > li > .xans-product-children > li").length; i++){
1253		// 	var thisname = $("#contents .c_year > li > .xans-product-children > li:eq("+i+")").attr('name');
1254		// 	if(thisname == "GOLA"){
1255		// 		for(var j = 0; j <  $("#contents .c_year > li > .xans-product-children > li:eq("+i+") ul > li").length; j++){
1256		// 			var myLink2 = $("#contents .c_year > li > .xans-product-children > li:eq("+i+") ul > li:eq("+j+") > a").attr('href');
1257		// 			var link2 = myLink2.split("/");
1258		// 			myLink2 = "/product/list_lookbook_gola.html?cate_no=" + link2[3];
1259		// 			$("#contents .c_year > li > .xans-product-children > li:eq("+i+") ul > li:eq("+j+") > a").attr('href',myLink2);
1260		// 		}
1261		// 	}else if(thisname == "OCEAN PACIFIC"){
1262		// 		for(var j = 0; j <  $("#contents .c_year > li > .xans-product-children > li:eq("+i+") ul > li").length; j++){
1263		// 			var myLink2 = $("#contents .c_year > li > .xans-product-children > li:eq("+i+") ul > li:eq("+j+") > a").attr('href');
1264		// 			var link2 = myLink2.split("/");
1265		// 			myLink2 = "/product/list_lookbook_oceanpacific.html?cate_no=" + link2[3];
1266		// 			$("#contents .c_year > li > .xans-product-children > li:eq("+i+") ul > li:eq("+j+") > a").attr('href',myLink2);
1267		// 		}
1268		// 	}else if(thisname == "COMO NINOZ"){
1269		// 		for(var j = 0; j <  $("#contents .c_year > li > .xans-product-children > li:eq("+i+") ul > li").length; j++){
1270		// 			var myLink2 = $("#contents .c_year > li > .xans-product-children > li:eq("+i+") ul > li:eq("+j+") > a").attr('href');
1271		// 			var link2 = myLink2.split("/");
1272		// 			myLink2 = "/product/list_lookbook_comoninoz.html?cate_no=" + link2[3];
1273		// 			$("#contents .c_year > li > .xans-product-children > li:eq("+i+") ul > li:eq("+j+") > a").attr('href',myLink2);
1274		// 		}
1275		// 	}else if(thisname == "ORDINARY HOLIDAY"){
1276		// 		for(var j = 0; j <  $("#contents .c_year > li > .xans-product-children > li:eq("+i+") ul > li").length; j++){
1277		// 			var myLink2 = $("#contents .c_year > li > .xans-product-children > li:eq("+i+") ul > li:eq("+j+") > a").attr('href');
1278		// 			var link2 = myLink2.split("/");
1279		// 			myLink2 = "/product/list_lookbook_ordinaryholiday.html?cate_no=" + link2[3];
1280		// 			$("#contents .c_year > li > .xans-product-children > li:eq("+i+") ul > li:eq("+j+") > a").attr('href',myLink2);
1281		// 		}
1282		// 	}else if(thisname == "W.STANDARD"){
1283		// 		for(var j = 0; j <  $("#contents .c_year > li > .xans-product-children > li:eq("+i+") ul > li").length; j++){
1284		// 			var myLink2 = $("#contents .c_year > li > .xans-product-children > li:eq("+i+") ul > li:eq("+j+") > a").attr('href');
1285		// 			var link2 = myLink2.split("/");
1286		// 			myLink2 = "/product/list_lookbook_w.standard.html?cate_no=" + link2[3];
1287		// 			$("#contents .c_year > li > .xans-product-children > li:eq("+i+") ul > li:eq("+j+") > a").attr('href',myLink2);
1288		// 		}
1289		// 	}else if(thisname == "FIELD WORKER"){
1290		// 		for(var j = 0; j <  $("#contents .c_year > li > .xans-product-children > li:eq("+i+") ul > li").length; j++){
1291		// 			var myLink2 = $("#contents .c_year > li > .xans-product-children > li:eq("+i+") ul > li:eq("+j+") > a").attr('href');
1292		// 			var link2 = myLink2.split("/");
1293		// 			myLink2 = "/product/list_lookbook_fieldworker.html?cate_no=" + link2[3];
1294		// 			$("#contents .c_year > li > .xans-product-children > li:eq("+i+") ul > li:eq("+j+") > a").attr('href',myLink2);
1295		// 		}
1296		// 	}else if(thisname == "DELICCENT"){
1297		// 		for(var j = 0; j <  $("#contents .c_year > li > .xans-product-children > li:eq("+i+") ul > li").length; j++){
1298		// 			var myLink2 = $("#contents .c_year > li > .xans-product-children > li:eq("+i+") ul > li:eq("+j+") > a").attr('href');
1299		// 			var link2 = myLink2.split("/");
1300		// 			myLink2 = "/product/list_lookbook_deliccent.html?cate_no=" + link2[3];
1301		// 			$("#contents .c_year > li > .xans-product-children > li:eq("+i+") ul > li:eq("+j+") > a").attr('href',myLink2);
1302		// 		}
1303		// 	}
1304
1305		// }
1306
1307        
1308        $("#header").addClass("ready");
1309	}
1310	setTimeout(beforegreet, 800);
1311
1312	$('#contents .c_year > li > .xans-product-children > li .button').click( function() {
1313		$('#contents .c_year > li > .xans-product-children > li .button').toggleClass("on");
1314	} );
1315    if($(".path").length != 0){
1316        $(".path > ol > li:eq(1)").addClass("on");
1317        var path = $(".path > ol > li:eq(1)").text()
1318        if(path == "게시판"){
1319            $(".path > ol > li:eq(2)").addClass("off");
1320            path = $(".path > ol > li:eq(2)").text()
1321        }
1322        $('#header .h_menu').addClass(path);
1323        
1324
1325        for(var i = 0; i < $('#header .h_menu.t1 .hm_main > li').length; i++){
1326            var text = $('#header .h_menu.t1 .hm_main > li:eq('+i+') a').text();
1327            text = text.split(" ");
1328            var newPath = path.split(" ");
1329            if(text[0] == newPath[0]){
1330                $('#header .h_menu.t1 .hm_main > li:eq('+i+')').addClass("open");
1331            }
1332        }
1333
1334        for(var i = 0; i < $('#header .h_menu.t2 .hm_main > li').length; i++){
1335            var text2 = $('#header .h_menu.t2 .hm_main > li:eq('+i+') > a').text();
1336            text2 = text2.split(" ");
1337            var newPath2 = path.split(" ");
1338            if(text2[0] == newPath2[0]){
1339                $('#header .h_menu.t2 .hm_main > li:eq('+i+')').addClass("open");
1340            }
1341        }
1342    }
1343
1344    setTimeout(function(){
1345        if($(".path").length != 0){
1346            $(".path > ol > li:eq(1)").addClass("on");
1347            var path = $(".path > ol > li:eq(1)").text()
1348            if(path == "게시판"){
1349                $(".path > ol > li:eq(2)").addClass("off");
1350                path = $(".path > ol > li:eq(2)").text()
1351            }
1352            $('#header .h_menu').addClass(path);
1353            
1354    
1355            for(var i = 0; i < $('#header .h_menu.t1 .hm_main > li').length; i++){
1356                var text = $('#header .h_menu.t1 .hm_main > li:eq('+i+') a').text();
1357                text = text.split(" ");
1358                var newPath = path.split(" ");
1359                if(text[0] == newPath[0]){
1360                    $('#header .h_menu.t1 .hm_main > li:eq('+i+')').addClass("open");
1361                }
1362            }
1363    
1364            for(var i = 0; i < $('#header .h_menu.t2 .hm_main > li').length; i++){
1365                var text2 = $('#header .h_menu.t2 .hm_main > li:eq('+i+') > a').text();
1366                text2 = text2.split(" ");
1367                var newPath2 = path.split(" ");
1368                if(text2[0] == newPath2[0]){
1369                    $('#header .h_menu.t2 .hm_main > li:eq('+i+')').addClass("open");
1370                }
1371            }
1372        }
1373    }, 500);
1374
1375
1376
1377    setTimeout(function(){
1378        if($(".path").length != 0){
1379            $(".path > ol > li:eq(1)").addClass("on");
1380            var path = $(".path > ol > li:eq(1)").text()
1381            if(path == "게시판"){
1382                $(".path > ol > li:eq(2)").addClass("off");
1383                path = $(".path > ol > li:eq(2)").text()
1384            }
1385            $('#header .h_menu').addClass(path);
1386            
1387    
1388            for(var i = 0; i < $('#header .h_menu.t1 .hm_main > li').length; i++){
1389                var text = $('#header .h_menu.t1 .hm_main > li:eq('+i+') a').text();
1390                text = text.split(" ");
1391                var newPath = path.split(" ");
1392                if(text[0] == newPath[0]){
1393                    $('#header .h_menu.t1 .hm_main > li:eq('+i+')').addClass("open");
1394                }
1395            }
1396    
1397            for(var i = 0; i < $('#header .h_menu.t2 .hm_main > li').length; i++){
1398                var text2 = $('#header .h_menu.t2 .hm_main > li:eq('+i+') > a').text();
1399                text2 = text2.split(" ");
1400                var newPath2 = path.split(" ");
1401                if(text2[0] == newPath2[0]){
1402                    $('#header .h_menu.t2 .hm_main > li:eq('+i+')').addClass("open");
1403                }
1404            }
1405        }
1406    }, 800);
1407	
1408
1409	var href = window.location.href;
1410
1411	if(href.includes("list_best.html")){
1412		for(var i = 0; i < $("#contents.c_sub .cs_cate .menuCategory li").length; i++){
1413			var cateHref = $("#contents.c_sub .cs_cate .menuCategory li:eq("+i+") a").attr("href");
1414			var cateNum = cateHref.split("/");
1415			var myHref = "/product/list_best.html?cate_no=" + cateNum[3];
1416			$("#contents.c_sub .cs_cate .menuCategory li:eq("+i+") a").attr("href",myHref);
1417		}
1418	}
1419
1420
1421    if(href.includes("list_comoninoz.html")){
1422        for(var i = 0; i < $("#contents.c_sub .cs_category .menuCategory > li").length; i++){
1423			for(var j = 0; j < $("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li").length; j++){
1424				var cateHref = $("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > a").attr("href");
1425				var cateNum = cateHref.split("/");
1426				var myHref = "/product/list_comoninoz.html?cate_no=" + cateNum[3];
1427				$("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > a").attr("href",myHref);
1428				
1429			}
1430        }
1431    }else if(href.includes("list_deliccent.html")){
1432        for(var i = 0; i < $("#contents.c_sub .cs_category .menuCategory > li").length; i++){
1433			for(var j = 0; j < $("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li").length; j++){
1434				var cateHref = $("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > a").attr("href");
1435				var cateNum = cateHref.split("/");
1436				var myHref = "/product/list_deliccent.html?cate_no=" + cateNum[3];
1437				$("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > a").attr("href",myHref);
1438			}
1439        }
1440    }else if(href.includes("list_fieldworker.html")){
1441        for(var i = 0; i < $("#contents.c_sub .cs_category .menuCategory > li").length; i++){
1442			for(var j = 0; j < $("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li").length; j++){
1443				var cateHref = $("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > a").attr("href");
1444				var cateNum = cateHref.split("/");
1445				var myHref = "/product/list_fieldworker.html?cate_no=" + cateNum[3];
1446				$("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > a").attr("href",myHref);
1447			}
1448        }
1449    }else if(href.includes("list_gola.html")){
1450        for(var i = 0; i < $("#contents.c_sub .cs_category .menuCategory > li").length; i++){
1451			for(var j = 0; j < $("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li").length; j++){
1452				var cateHref = $("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > a").attr("href");
1453				var cateNum = cateHref.split("/");
1454				var myHref = "/product/list_gola.html?cate_no=" + cateNum[3];
1455				$("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > a").attr("href",myHref);
1456			}
1457        }
1458    }else if(href.includes("list_oceanpacific.html")){
1459        for(var i = 0; i < $("#contents.c_sub .cs_category .menuCategory > li").length; i++){
1460			for(var j = 0; j < $("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li").length; j++){
1461				var cateHref = $("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > a").attr("href");
1462				var cateNum = cateHref.split("/");
1463				var myHref = "/product/list_oceanpacific.html?cate_no=" + cateNum[3];
1464				$("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > a").attr("href",myHref);
1465			}
1466        }
1467    }else if(href.includes("list_ordinaryholiday.html")){
1468        for(var i = 0; i < $("#contents.c_sub .cs_category .menuCategory > li").length; i++){
1469			for(var j = 0; j < $("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li").length; j++){
1470				var cateHref = $("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > a").attr("href");
1471				var cateNum = cateHref.split("/");
1472				var myHref = "/product/list_ordinaryholiday.html?cate_no=" + cateNum[3];
1473				$("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > a").attr("href",myHref);
1474			}
1475        }
1476    }else if(href.includes("list_w.standard.html")){
1477        for(var i = 0; i < $("#contents.c_sub .cs_category .menuCategory > li").length; i++){
1478			for(var j = 0; j < $("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li").length; j++){
1479				var cateHref = $("#contents.c_sub .cs_ca
1479tegory .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > a").attr("href");
1480				var cateNum = cateHref.split("/");
1481				var myHref = "/product/list_w.standard.html?cate_no=" + cateNum[3];
1482				$("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > a").attr("href",myHref);
1483			}
1484        }
1485    }else if(href.includes("list_lookbook.html")){
1486        $("#contents.c_sub .cs_cate .menuCategory > li").addClass("blind");
1487        for(var i = 0; i < $("#contents.c_sub .menuCategory > li").length; i++){
1488            if($("#contents.c_sub .menuCategory > li:eq("+i+")").attr("name") == "LOOKBOOK"){
1489                $("#contents.c_sub .menuCategory > li:eq("+i+")").removeClass("blind");
1490                $("#contents.c_sub .menuCategory > li:eq("+i+") > a").addClass("blind");
1491            }
1492			for(var j = 0; j < $("#contents.c_sub .menuCategory > li:eq("+i+") > ul > li").length; j++){
1493				var cateHref = $("#contents.c_sub .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > a").attr("href");
1494				var cateNum = cateHref.split("/");
1495				var myHref = "/product/list_lookbook.html?cate_no=" + cateNum[3];
1496				$("#contents.c_sub .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > a").attr("href",myHref);
1497				for(var k = 0; k < $("#contents.c_sub .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > .button > ul > li").length; k++){
1498					var cateHref = $("#contents.c_sub .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > .button > ul > li:eq("+k+") a").attr("href");
1499					var cateNum = cateHref.split("/");
1500					var myHref = "/product/list_lookbook.html?cate_no=" + cateNum[3];
1501					$("#contents.c_sub .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > .button > ul > li:eq("+k+") a").attr("href",myHref);
1502				}
1503			}
1504        }
1505    }else if(href.includes("list_loveit.html")){
1506        $("#contents.c_sub .cs_cate .menuCategory > li").addClass("blind");
1507        for(var i = 0; i < $("#contents.c_sub .cs_cate .menuCategory > li").length; i++){
1508            if($("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+")").attr("name") == "WONDER LOOK"){
1509                $("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+")").removeClass("blind");
1510                $("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+") > a").addClass("blind");
1511            }
1512			for(var j = 0; j < $("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+") > ul > li").length; j++){
1513				var cateHref = $("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > a").attr("href");
1514				var cateNum = cateHref.split("/");
1515				var myHref = "/product/list_loveit.html?cate_no=" + cateNum[3];
1516				$("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > a").attr("href",myHref);
1517				for(var k = 0; k < $("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > .button > ul > li").length; k++){
1518					var cateHref = $("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > .button > ul > li:eq("+k+") a").attr("href");
1519					var cateNum = cateHref.split("/");
1520					var myHref = "/product/list_loveit.html?cate_no=" + cateNum[3];
1521					$("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > .button > ul > li:eq("+k+") a").attr("href",myHref);
1522				}
1523			}
1524        }
1525    }else if(href.includes("list_wondercrew.html")){
1526        $("#contents.c_sub .cs_cate .menuCategory > li").addClass("blind");
1527        for(var i = 0; i < $("#contents.c_sub .cs_cate .menuCategory > li").length; i++){
1528            if($("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+")").attr("name") == "WONDER CREW"){
1529                $("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+")").removeClass("blind");
1530                $("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+") > a").addClass("blind");
1531            }
1532			for(var j = 0; j < $("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+") > ul > li").length; j++){
1533				var cateHref = $("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > a").attr("href");
1534				var cateNum = cateHref.split("/");
1535				var myHref = "/product/list_wondercrew.html?cate_no=" + cateNum[3];
1536				$("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > a").attr("href",myHref);
1537				for(var k = 0; k < $("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > .button > ul > li").length; k++){
1538					var cateHref = $("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > .button > ul > li:eq("+k+") a").attr("href");
1539					var cateNum = cateHref.split("/");
1540					var myHref = "/product/list_wondercrew.html?cate_no=" + cateNum[3];
1541					$("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > .button > ul > li:eq("+k+") a").attr("href",myHref);
1542				}
1543			}
1544        }
1545    }else if(href.includes("list_seeing.html")){
1546        $("#contents.c_sub .cs_cate .menuCategory > li").addClass("blind");
1547        for(var i = 0; i < $("#contents.c_sub .cs_cate .menuCategory > li").length; i++){
1548            if($("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+")").attr("name") == "SEEING"){
1549                $("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+")").removeClass("blind");
1550                $("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+") > a").addClass("blind");
1551            }
1552			for(var j = 0; j < $("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+") > ul > li").length; j++){
1553				var cateHref = $("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > a").attr("href");
1554				var cateNum = cateHref.split("/");
1555				var myHref = "/product/list_seeing.html?cate_no=" + cateNum[3];
1556				$("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > a").attr("href",myHref);
1557				for(var k = 0; k < $("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > .button > ul > li").length; k++){
1558					var cateHref = $("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > .button > ul > li:eq("+k+") a").attr("href");
1559					var cateNum = cateHref.split("/");
1560					var myHref = "/product/list_seeing.html?cate_no=" + cateNum[3];
1561					$("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > .button > ul > li:eq("+k+") a").attr("href",myHref);
1562				}
1563			}
1564        }
1565    }else if(href.includes("list_brand.html")){
1566        for(var i = 0; i < $("#contents.c_sub .cs_category .menuCategory > li").length; i++){
1567			for(var j = 0; j < $("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li").length; j++){
1568				var cateHref = $("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > a").attr("href");
1569				var cateNum = cateHref.split("/");
1570				var myHref = "/product/list_brand.html?cate_no=" + cateNum[3];
1571				$("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > a").attr("href",myHref);
1572			}
1573        }
1574    }
1575
1576   
1577
1578   
1579
1580    
1581	
1582	// if($("#productbanner .p_pic img").length != 0){
1583	//     for(var i = 0; i < $("#productbanner .p_pic img").length; i ++){
1584	//         var src = $("#productbanner .p_pic img").attr("src");
1585	//         $("#productbanner .p_pic").css('background-image', 'url('+src+')');
1586	//     }
1587	//     var href = window.location.href;
1588	//     if(href.match("list.html")){
1589	//          if(!href.match("search_form") && !href.match("page")){
1590	//                  $("body").addClass("hasbanner");
1591	//              }
1592	//      }
1593	//  }
1594
1595	if($('#metades').length){
1596		$('#metades').text($('meta[name="author"]').attr('content'));
1597	}
1598
1599
1600});
1601/**
1602 * Owl Carousel v2.2.1
1603 * Copyright 2013-2017 David Deutsch
vendor: 42,703 bytes, lines 1603-1607
1603
1604 * Licensed under  ()
1605 */
1606!function(a,b,c,d){function e(b,c){this.settings=null,this.options=a.extend({},e.Defaults,c),this.$element=a(b),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},a.each(["onResize","onThrottledResize"],a.proxy(function(b,c){this._handlers[c]=a.proxy(this[c],this)},this)),a.each(e.Plugins,a.proxy(function(a,b){this._plugins[a.charAt(0).toLowerCase()+a.slice(1)]=new b(this)},this)),a.each(e.Workers,a.proxy(function(b,c){this._pipe.push({filter:c.filter,run:a.proxy(c.run,this)})},this)),this.setup(),this.initialize()}e.Defaults={items:3,loop:!1,center:!1,rewind:!1,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:b,fallbackEasing:"swing",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},e.Width={Default:"default",Inner:"inner",Outer:"outer"},e.Type={Event:"event",State:"state"},e.Plugins={},e.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(a){a.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(a){var b=this.settings.margin||"",c=!this.settings.autoWidth,d=this.settings.rtl,e={width:"auto","margin-left":d?b:"","margin-right":d?"":b};!c&&this.$stage.children().css(e),a.css=e}},{filter:["width","items","settings"],run:function(a){var b=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,c=null,d=this._items.length,e=!this.settings.autoWidth,f=[];for(a.items={merge:!1,width:b};d--;)c=this._mergers[d],c=this.settings.mergeFit&&Math.min(c,this.settings.items)||c,a.items.merge=c>1||a.items.merge,f[d]=e?b*c:this._items[d].width();this._widths=f}},{filter:["items","settings"],run:function(){var b=[],c=this._items,d=this.settings,e=Math.max(2*d.items,4),f=2*Math.ceil(c.length/2),g=d.loop&&c.length?d.rewind?e:Math.max(e,f):0,h="",i="";for(g/=2;g--;)b.push(this.normalize(b.length/2,!0)),h+=c[b[b.length-1]][0].outerHTML,b.push(this.normalize(c.length-1-(b.length-1)/2,!0)),i=c[b[b.length-1]][0].outerHTML+i;this._clones=b,a(h).addClass("cloned").appendTo(this.$stage),a(i).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var a=this.settings.rtl?1:-1,b=this._clones.length+this._items.length,c=-1,d=0,e=0,f=[];++c<b;)d=f[c-1]||0,e=this._widths[this.relative(c)]+this.settings.margin,f.push(d+e*a);this._coordinates=f}},{filter:["width","items","settings"],run:function(){var a=this.settings.stagePadding,b=this._coordinates,c={width:Math.ceil(Math.abs(b[b.length-1]))+2*a,"padding-left":a||"","padding-right":a||""};this.$stage.css(c)}},{filter:["width","items","settings"],run:function(a){var b=this._coordinates.length,c=!this.settings.autoWidth,d=this.$stage.children();if(c&&a.items.merge)for(;b--;)a.css.width=this._widths[this.relative(b)],d.eq(b).css(a.css);else c&&(a.css.width=a.items.width,d.css(a.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(a){a.current=a.current?this.$stage.children().index(a.current):0,a.current=Math.max(this.minimum(),Math.min(this.maximum(),a.current)),this.reset(a.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var a,b,c,d,e=this.settings.rtl?1:-1,f=2*this.settings.stagePadding,g=this.coordinates(this.current())+f,h=g+this.width()*e,i=[];for(c=0,d=this._coordinates.length;c<d;c++)a=this._coordinates[c-1]||0,b=Math.abs(this._coordinates[c])+f*e,(this.op(a,"<=",g)&&this.op(a,">",h)||this.op(b,"<",g)&&this.op(b,">",h))&&i.push(c);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+i.join("), :eq(")+")").addClass("active"),this.settings.center&&(this.$stage.children(".center").removeClass("center"),this.$stage.children().eq(this.current()).addClass("center"))}}],e.prototype.initialize=function(){if(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading")){var b,c,e;b=this.$element.find("img"),c=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:d,e=this.$element.children(c).width(),b.length&&e<=0&&this.preloadAutoWidthImages(b)}this.$element.addClass(this.options.loadingClass),this.$stage=a("<"+this.settings.stageElement+' class="'+this.settings.stageClass+'"/>').wrap('<div class="'+this.settings.stageOuterClass+'"/>'),this.$element.append(this.$stage.parent()),this.replace(this.$element.children().not(this.$stage.parent())),this.$element.is(":visible")?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},e.prototype.setup=function(){var b=this.viewport(),c=this.options.responsive,d=-1,e=null;c?(a.each(c,function(a){a<=b&&a>d&&(d=Number(a))}),e=a.extend({},this.options,c[d]),"function"==typeof e.stagePadding&&(e.stagePadding=e.stagePadding()),delete e.responsive,e.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+d))):e=a.extend({},this.options),this.trigger("change",{property:{name:"settings",value:e}}),this._breakpoint=d,this.settings=e,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},e.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},e.prototype.prepare=function(b){var c=this.trigger("prepare",{content:b});return c.data||(c.data=a("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(b)),this.trigger("prepared",{content:c.data}),c.data},e.prototype.update=function(){for(var b=0,c=this._pipe.length,d=a.proxy(function(a){return this[a]},this._invalidated),e={};b<c;)(this._invalidated.all||a.grep(this._pipe[b].filter,d).length>0)&&this._pipe[b].run(e),b++;this._invalidated={},!this.is("valid")&&this.enter("valid")},e.prototype.width=function(a){switch(a=a||e.Width.Default){case e.Width.Inner:case e.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},e.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},e.prototype.onThrottledResize=function(){b.clearTimeout(this.resizeTimer),this.resizeTimer=b.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},e.prototype.onResize=function(){return!!this._items.length&&(this._width!==this.$element.width()&&(!!this.$element.is(":visible")&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))))},e.prototype.registerEventHandlers=function(){a.support.transition&&this.$stage.on(a.support.transition.end+".owl.core",a.proxy(this.onTransitionEnd,this)),this.settings.responsive!==!1&&this.on(b,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",a.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1})),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",a.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",a.proxy(this.onDragEnd,this)))},e.prototype.onDragStart=function(b){var d=null;3!==b.which&&(a.support.transform?(d=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","),d={x:d[16===d.length?12:4],y:d[16===d.length?13:5]}):(d=this.$stage.position(),d={x:this.settings.rtl?d.left+this.$stage.width()-this.width()+this.settings.margin:d.left,y:d.top}),this.is("animating")&&(a.support.transform?this.animate(d.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===b.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=a(b.target),this._drag.stage.start=d,this._drag.stage.current=d,this._drag.pointer=this.pointer(b),a(c).on("mouseup.owl.core touchend.owl.core",a.proxy(this.onDragEnd,this)),a(c).one("mousemove.owl.core touchmove.owl.core",a.proxy(function(b){var d=this.difference(this._drag.pointer,this.pointer(b));a(c).on("mousemove.owl.core touchmove.owl.core",a.proxy(this.onDragMove,this)),Math.abs(d.x)<Math.abs(d.y)&&this.is("valid")||(b.preventDefault(),this.enter("dragging"),this.trigger("drag"))},this)))},e.prototype.onDragMove=function(a){var b=null,c=null,d=null,e=this.difference(this._drag.pointer,this.pointer(a)),f=this.difference(this._drag.stage.start,e);this.is("dragging")&&(a.preventDefault(),this.settings.loop?(b=this.coordinates(this.minimum()),c=this.coordinates(this.maximum()+1)-b,f.x=((f.x-b)%c+c)%c+b):(b=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),c=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),d=this.settings.pullDrag?-1*e.x/5:0,f.x=Math.max(Math.min(f.x,b+d),c+d)),this._drag.stage.current=f,this.animate(f.x))},e.prototype.onDragEnd=function(b){var d=this.difference(this._drag.pointer,this.pointer(b)),e=this._drag.stage.current,f=d.x>0^this.settings.rtl?"left":"right";a(c).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==d.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(e.x,0!==d.x?f:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=f,(Math.abs(d.x)>3||(new Date).getTime()-this._drag.time>300)&&this._drag.target.one("click.owl.core",function(){return!1})),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},e.prototype.closest=function(b,c){var d=-1,e=30,f=this.width(),g=this.coordinates();return this.settings.freeDrag||a.each(g,a.proxy(function(a,h){return"left"===c&&b>h-e&&b<h+e?d=a:"right"===c&&b>h-f-e&&b<h-f+e?d=a+1:this.op(b,"<",h)&&this.op(b,">",g[a+1]||h-f)&&(d="left"===c?a+1:a),d===-1},this)),this.settings.loop||(this.op(b,">",g[this.minimum()])?d=b=this.minimum():this.op(b,"<",g[this.maximum()])&&(d=b=this.maximum())),d},e.prototype.animate=function(b){var c=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),c&&(this.enter("animating"),this.trigger("translate")),a.support.transform3d&&a.support.transition?this.$stage.css({transform:"translate3d("+b+"px,0px,0px)",transition:this.speed()/1e3+"s"}):c?this.$stage.animate({left:b+"px"},this.speed(),this.settings.fallbackEasing,a.proxy(this.onTransitionEnd,this)):this.$stage.css({left:b+"px"})},e.prototype.is=function(a){return this._states.current[a]&&this._states.current[a]>0},e.prototype.current=function(a){if(a===d)return this._current;if(0===this._items.length)return d;if(a=this.normalize(a),this._current!==a){var b=this.trigger("change",{property:{name:"position",value:a}});b.data!==d&&(a=this.normalize(b.data)),this._current=a,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},e.prototype.invalidate=function(b){return"string"===a.type(b)&&(this._invalidated[b]=!0,this.is("valid")&&this.leave("valid")),a.map(this._invalidated,function(a,b){return b})},e.prototype.reset=function(a){a=this.normalize(a),a!==d&&(this._speed=0,this._current=a,this.suppress(["translate","translated"]),this.animate(this.coordinates(a)),this.release(["translate","translated"]))},e.prototype.normalize=function(a,b){var c=this._items.length,e=b?0:this._clones.length;return!this.isNumeric(a)||c<1?a=d:(a<0||a>=c+e)&&(a=((a-e/2)%c+c)%c+e/2),a},e.prototype.relative=function(a){return a-=this._clones.length/2,this.normalize(a,!0)},e.prototype.maximum=function(a){var b,c,d,e=this.settings,f=this._coordinates.length;if(e.loop)f=this._clones.length/2+this._items.length-1;else if(e.autoWidth||e.merge){for(b=this._items.length,c=this._items[--b].width(),d=this.$element.width();b--&&(c+=this._items[b].width()+this.settings.margin,!(c>d)););f=b+1}else f=e.center?this._items.length-1:this._items.length-e.items;return a&&(f-=this._clones.length/2),Math.max(f,0)},e.prototype.minimum=function(a){return a?0:this._clones.length/2},e.prototype.items=function(a){return a===d?this._items.slice():(a=this.normalize(a,!0),this._items[a])},e.prototype.mergers=function(a){return a===d?this._mergers.slice():(a=this.normalize(a,!0),this._mergers[a])},e.prototype.clones=function(b){var c=this._clones.length/2,e=c+this._items.length,f=function(a){return a%2===0?e+a/2:c-(a+1)/2};return b===d?a.map(this._clones,function(a,b){return f(b)}):a.map(this._clones,function(a,c){return a===b?f(c):null})},e.prototype.speed=function(a){return a!==d&&(this._speed=a),this._speed},e.prototype.coordinates=function(b){var c,e=1,f=b-1;return b===d?a.map(this._coordinates,a.proxy(function(a,b){return this.coordinates(b)},this)):(this.settings.center?(this.settings.rtl&&(e=-1,f=b+1),c=this._coordinates[b],c+=(this.width()-c+(this._coordinates[f]||0))/2*e):c=this._coordinates[f]||0,c=Math.ceil(c))},e.prototype.duration=function(a,b,c){return 0===c?0:Math.min(Math.max(Math.abs(b-a),1),6)*Math.abs(c||this.settings.smartSpeed)},e.prototype.to=function(a,b){var c=this.current(),d=null,e=a-this.relative(c),f=(e>0)-(e<0),g=this._items.length,h=this.minimum(),i=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(e)>g/2&&(e+=f*-1*g),a=c+e,d=((a-h)%g+g)%g+h,d!==a&&d-e<=i&&d-e>0&&(c=d-e,a=d,this.reset(c))):this.settings.rewind?(i+=1,a=(a%i+i)%i):a=Math.max(h,Math.min(i,a)),this.speed(this.duration(c,a,b)),this.current(a),this.$element.is(":visible")&&this.update()},e.prototype.next=function(a){a=a||!1,this.to(this.relative(this.current())+1,a)},e.prototype.prev=function(a){a=a||!1,this.to(this.relative(this.current())-1,a)},e.prototype.onTransitionEnd=function(a){if(a!==d&&(a.stopPropagation(),(a.target||a.srcElement||a.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},e.prototype.viewport=function(){var d;return this.options.responsiveBaseElement!==b?d=a(this.options.responsiveBaseElement).width():b.innerWidth?d=b.innerWidth:c.documentElement&&c.documentElement.clientWidth?d=c.documentElement.clientWidth:console.warn("Can not detect viewport width."),d},e.prototype.replace=function(b){this.$stage.empty(),this._items=[],b&&(b=b instanceof jQuery?b:a(b)),this.settings.nestedItemSelector&&(b=b.find("."+this.settings.nestedItemSelector)),b.filter(function(){return 1===this.nodeType}).each(a.proxy(function(a,b){b=this.prepare(b),this.$stage.append(b),this._items.push(b),this._mergers.push(1*b.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)},this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},e.prototype.add=function(b,c){var e=this.relative(this._current);c=c===d?this._items.length:this.normalize(c,!0),b=b instanceof jQuery?b:a(b),this.trigger("add",{content:b,position:c}),b=this.prepare(b),0===this._items.length||c===this._items.length?(0===this._items.length&&this.$stage.append(b),0!==this._items.length&&this._items[c-1].after(b),this._items.push(b),this._mergers.push(1*b.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[c].before(b),this._items.splice(c,0,b),this._mergers.splice(c,0,1*b.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[e]&&this.reset(this._items[e].index()),this.invalidate("items"),this.trigger("added",{content:b,position:c})},e.prototype.remove=function(a){a=this.normalize(a,!0),a!==d&&(this.trigger("remove",{content:this._items[a],position:a}),this._items[a].remove(),this._items.splice(a,1),this._mergers.splice(a,1),this.invalidate("items"),this.trigger("removed",{content:null,position:a}))},e.prototype.preloadAutoWidthImages=function(b){b.each(a.proxy(function(b,c){this.enter("pre-loading"),c=a(c),a(new Image).one("load",a.proxy(function(a){c.attr("src",a.target.src),c.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()},this)).attr("src",c.attr("src")||c.attr("data-src")||c.attr("data-src-retina"))},this))},e.prototype.destroy=function(){this.$element.off(".owl.core"),this.$stage.off(".owl.core"),a(c).off(".owl.core"),this.settings.responsive!==!1&&(b.clearTimeout(this.resizeTimer),this.off(b,"resize",this._handlers.onThrottledResize));for(var d in this._plugins)this._plugins[d].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},e.prototype.op=function(a,b,c){var d=this.settings.rtl;switch(b){case"<":return d?a>c:a<c;case">":return d?a<c:a>c;case">=":return d?a<=c:a>=c;case"<=":return d?a>=c:a<=c}},e.prototype.on=function(a,b,c,d){a.addEventListener?a.addEventListener(b,c,d):a.attachEvent&&a.attachEvent("on"+b,c)},e.prototype.off=function(a,b,c,d){a.removeEventListener?a.removeEventListener(b,c,d):a.detachEvent&&a.detachEvent("on"+b,c)},e.prototype.trigger=function(b,c,d,f,g){var h={item:{count:this._items.length,index:this.current()}},i=a.camelCase(a.grep(["on",b,d],function(a){return a}).join("-").toLowerCase()),j=a.Event([b,"owl",d||"carousel"].join(".").toLowerCase(),a.extend({relatedTarget:this},h,c));return this._supress[b]||(a.each(this._plugins,function(a,b){b.onTrigger&&b.onTrigger(j)}),this.register({type:e.Type.Event,name:b}),this.$element.trigger(j),this.settings&&"function"==typeof this.settings[i]&&this.settings[i].call(this,j)),j},e.prototype.enter=function(b){a.each([b].concat(this._states.tags[b]||[]),a.proxy(function(a,b){this._states.current[b]===d&&(this._states.current[b]=0),this._states.current[b]++},this))},e.prototype.leave=function(b){a.each([b].concat(this._states.tags[b]||[]),a.proxy(function(a,b){this._states.current[b]--},this))},e.prototype.register=function(b){if(b.type===e.Type.Event){if(a.event.special[b.name]||(a.event.special[b.name]={}),!a.event.special[b.name].owl){var c=a.event.special[b.name]._default;a.event.special[b.name]._default=function(a){return!c||!c.apply||a.namespace&&a.namespace.indexOf("owl")!==-1?a.namespace&&a.namespace.indexOf("owl")>-1:c.apply(this,arguments)},a.event.special[b.name].owl=!0}}else b.type===e.Type.State&&(this._states.tags[b.name]?this._states.tags[b.name]=this._states.tags[b.name].concat(b.tags):this._states.tags[b.name]=b.tags,this._states.tags[b.name]=a.grep(this._states.tags[b.name],a.proxy(function(c,d){return a.inArray(c,this._states.tags[b.name])===d},this)))},e.prototype.suppress=function(b){a.each(b,a.proxy(function(a,b){this._supress[b]=!0},this))},e.prototype.release=function(b){a.each(b,a.proxy(function(a,b){delete this._supress[b]},this))},e.prototype.pointer=function(a){var c={x:null,y:null};return a=a.originalEvent||a||b.event,a=a.touches&&a.touches.length?a.touches[0]:a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:a,a.pageX?(c.x=a.pageX,c.y=a.pageY):(c.x=a.clientX,c.y=a.clientY),c},e.prototype.isNumeric=function(a){return!isNaN(parseFloat(a))},e.prototype.difference=function(a,b){return{x:a.x-b.x,y:a.y-b.y}},a.fn.owlCarousel=function(b){var c=Array.prototype.slice.call(arguments,1);return this.each(function(){var d=a(this),f=d.data("owl.carousel");f||(f=new e(this,"object"==typeof b&&b),d.data("owl.carousel",f),a.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(b,c){f.register({type:e.Type.Event,name:c}),f.$element.on(c+".owl.carousel.core",a.proxy(function(a){a.namespace&&a.relatedTarget!==this&&(this.suppress([c]),f[c].apply(this,[].slice.call(arguments,1)),this.release([c]))},f))})),"string"==typeof b&&"_"!==b.charAt(0)&&f[b].apply(f,c)})},a.fn.owlCarousel.Constructor=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)};e.Defaults={autoRefresh:!0,autoRefreshInterval:500},e.prototype.watch=function(){this._interval||(this._visible=this._core.$element.is(":visible"),this._interval=b.setInterval(a.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},e.prototype.refresh=function(){this._core.$element.is(":visible")!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},e.prototype.destroy=function(){var a,c;b.clearInterval(this._interval);for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(c in Object.getOwnPropertyNames(this))"function"!=typeof this[c]&&(this[c]=null)},a.fn.owlCarousel.Constructor.Plugins.AutoRefresh=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":a.proxy(function(b){if(b.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(b.property&&"position"==b.property.name||"initialized"==b.type))for(var c=this._core.settings,e=c.center&&Math.ceil(c.items/2)||c.items,f=c.center&&e*-1||0,g=(b.property&&b.property.value!==d?b.property.value:this._core.current())+f,h=this._core.clones().length,i=a.proxy(function(a,b){this.load(b)},this);f++<e;)this.load(h/2+this._core.relative(g)),h&&a.each(this._core.clones(this._core.relative(g)),i),g++},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)};e.Defaults={lazyLoad:!1},e.prototype.load=function(c){var d=this._core.$stage.children().eq(c),e=d&&d.find(".owl-lazy");!e||a.inArray(d.get(0),this._loaded)>-1||(e.each(a.proxy(function(c,d){var e,f=a(d),g=b.devicePixelRatio>1&&f.attr("data-src-retina")||f.attr("data-src");this._core.trigger("load",{element:f,url:g},"lazy"),f.is("img")?f.one("load.owl.lazy",a.proxy(function(){f.css("opacity",1),this._core.trigger("loaded",{element:f,url:g},"lazy")},this)).attr("src",g):(e=new Image,e.onload=a.proxy(function(){f.css({"background-image":'url("'+g+'")',opacity:"1"}),this._core.trigger("loaded",{element:f,url:g},"lazy")},this),e.src=g)},this)),this._loaded.push(d.get(0)))},e.prototype.destroy=function(){var a,b;for(a in this.handlers)this._core.$element.off(a,this.handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Lazy=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoHeight&&"position"==a.property.name&&this.update()},this),"loaded.owl.lazy":a.proxy(function(a){a.namespace&&this._core.settings.autoHeight&&a.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)};e.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},e.prototype.update=function(){var b=this._core._current,c=b+this._core.settings.items,d=this._core.$stage.children().toArray().slice(b,c),e=[],f=0;a.each(d,function(b,c){e.push(a(c).height())}),f=Math.max.apply(null,e),this._core.$stage.parent().height(f).addClass(this._core.settings.autoHeightClass)},e.prototype.destroy=function(){var a,b;for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.AutoHeight=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":a.proxy(function(a){a.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.video&&this.isInFullScreen()&&a.preventDefault()},this),"refreshed.owl.carousel":a.proxy(function(a){a.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":a.proxy(function(a){a.namespace&&"position"===a.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":a.proxy(function(b){if(b.namespace){var c=a(b.content).find(".owl-video");c.length&&(c.css("display","none"),this.fetch(c,a(b.content)))}},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",a.proxy(function(a){this.play(a)},this))};e.Defaults={video:!1,videoHeight:!1,videoWidth:!1},e.prototype.fetch=function(a,b){var c=function(){return a.attr("data-vimeo-id")?"vimeo":a.attr("data-vzaar-id")?"vzaar":"youtube"}(),d=a.attr("data-vimeo-id")||a.attr("data-youtube-id")||a.attr("data-vzaar-id"),e=a.attr("data-width")||this._core.settings.videoWidth,f=a.attr("data-height")||this._core.settings.videoHeight,g=a.attr("href");if(!g)throw new Error("Missing video URL.");if(d=g.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/),d[3].indexOf("youtu")>-1)c="youtube";else if(d[3].indexOf("vimeo")>-1)c="vimeo";else{if(!(d[3].indexOf("vzaar")>-1))throw new Error("Video URL not supported.");c="vzaar"}d=d[6],this._videos[g]={type:c,id:d,width:e,height:f},b.attr("data-video",g),this.thumbnail(a,this._videos[g])},e.prototype.thumbnail=function(b,c){var d,e,f,g=c.width&&c.height?'style="width:'+c.width+"px;height:"+c.height+'px;"':"",h=b.find("img"),i="src",j="",k=this._core.settings,l=function(a){e='<div class="owl-video-play-icon"></div>',d=k.lazyLoad?'<div class="owl-video-tn '+j+'" '+i+'="'+a+'"></div>':'<div class="owl-video-tn" style="opacity:1;background-image:url('+a+')"></div>',b.after(d),b.after(e)};if(b.wrap('<div class="owl-video-wrapper"'+g+"></div>"),this._core.settings.lazyLoad&&(i="data-src",j="owl-lazy"),h.length)return l(h.attr(i)),h.remove(),!1;"youtube"===c.type?(f="//img.youtube.com/vi/"+c.id+"/hqdefault.jpg",l(f)):"vimeo"===c.type?a.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+c.id+".json",jsonp:"callback",dataType:"jsonp",success:function(a){f=a[0].thumbnail_large,l(f)}}):"vzaar"===c.type&&a.ajax({type:"GET",url:"//vzaar.com/api/videos/"+c.id+".json",jsonp:"callback",dataType:"jsonp",success:function(a){f=a.framegrab_url,l(f)}})},e.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},e.prototype.play=function(b){var c,d=a(b.target),e=d.closest("."+this._core.settings.itemClass),f=this._videos[e.attr("data-video")],g=f.width||"100%",h=f.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),e=this._core.items(this._core.relative(e.index())),this._core.reset(e.index()),"youtube"===f.type?c='<iframe width="'+g+'" height="'+h+'" src="//www.youtube.com/embed/'+f.id+"?autoplay=1&rel=0&v="+f.id+'" frameborder="0" allowfullscreen></iframe>':"vimeo"===f.type?c='<iframe src="//player.vimeo.com/video/'+f.id+'?autoplay=1" width="'+g+'" height="'+h+'" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>':"vzaar"===f.type&&(c='<iframe frameborder="0"height="'+h+'"width="'+g+'" allowfullscreen mozallowfullscreen webkitAllowFullScreen src="//view.vzaar.com/'+f.id+'/player?autoplay=true"></iframe>'),a('<div class="owl-video-frame">'+c+"</div>").insertAfter(e.find(".owl-video")),this._playing=e.addClass("owl-video-playing"))},e.prototype.isInFullScreen=function(){var b=c.fullscreenElement||c.mozFullScreenElement||c.webkitFullscreenElement;return b&&a(b).parent().hasClass("owl-video-frame")},e.prototype.destroy=function(){var a,b;this._core.$element.off("click.owl.video");for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Video=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this.core=b,this.core.options=a.extend({},e.Defaults,this.core.options),this.swapping=!0,this.previous=d,this.next=d,this.handlers={"change.owl.carousel":a.proxy(function(a){a.namespace&&"position"==a.property.name&&(this.previous=this.core.current(),this.next=a.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":a.proxy(function(a){a.namespace&&(this.swapping="translated"==a.type)},this),"translate.owl.carousel":a.proxy(function(a){a.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};e.Defaults={animateOut:!1,animateIn:!1},e.prototype.swap=function(){if(1===this.core.settings.items&&a.support.animation&&a.support.transition){this.core.speed(0);var b,c=a.proxy(this.clear,this),d=this.core.$stage.children().eq(this.previous),e=this.core.$stage.children().eq(this.next),f=this.core.settings.animateIn,g=this.core.settings.animateOut;this.core.current()!==this.previous&&(g&&(b=this.core.coordinates(this.previous)-this.core.coordinates(this.next),d.one(a.support.animation.end,c).css({left:b+"px"}).addClass("animated owl-animated-out").addClass(g)),f&&e.one(a.support.animation.end,c).addClass("animated owl-animated-in").addClass(f))}},e.prototype.clear=function(b){a(b.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},e.prototype.destroy=function(){var a,b;for(a in this.handlers)this.core.$element.off(a,this.handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},
1607a.fn.owlCarousel.Constructor.Plugins.Animate=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._timeout=null,this._paused=!1,this._handlers={"changed.owl.carousel":a.proxy(function(a){a.namespace&&"settings"===a.property.name?this._core.settings.autoplay?this.play():this.stop():a.namespace&&"position"===a.property.name&&this._core.settings.autoplay&&this._setAutoPlayInterval()},this),"initialized.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":a.proxy(function(a,b,c){a.namespace&&this.play(b,c)},this),"stop.owl.autoplay":a.proxy(function(a){a.namespace&&this.stop()},this),"mouseover.owl.autoplay":a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":a.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=a.extend({},e.Defaults,this._core.options)};e.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},e.prototype.play=function(a,b){this._paused=!1,this._core.is("rotating")||(this._core.enter("rotating"),this._setAutoPlayInterval())},e.prototype._getNextTimeout=function(d,e){return this._timeout&&b.clearTimeout(this._timeout),b.setTimeout(a.proxy(function(){this._paused||this._core.is("busy")||this._core.is("interacting")||c.hidden||this._core.next(e||this._core.settings.autoplaySpeed)},this),d||this._core.settings.autoplayTimeout)},e.prototype._setAutoPlayInterval=function(){this._timeout=this._getNextTimeout()},e.prototype.stop=function(){this._core.is("rotating")&&(b.clearTimeout(this._timeout),this._core.leave("rotating"))},e.prototype.pause=function(){this._core.is("rotating")&&(this._paused=!0)},e.prototype.destroy=function(){var a,b;this.stop();for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.autoplay=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){"use strict";var e=function(b){this._core=b,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":a.proxy(function(b){b.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+a(b.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")},this),"added.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.dotsData&&this._templates.splice(a.position,0,this._templates.pop())},this),"remove.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.dotsData&&this._templates.splice(a.position,1)},this),"changed.owl.carousel":a.proxy(function(a){a.namespace&&"position"==a.property.name&&this.draw()},this),"initialized.owl.carousel":a.proxy(function(a){a.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":a.proxy(function(a){a.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers)};e.Defaults={nav:!1,navText:["prev","next"],navSpeed:!1,navElement:"div",navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},e.prototype.initialize=function(){var b,c=this._core.settings;this._controls.$relative=(c.navContainer?a(c.navContainer):a("<div>").addClass(c.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=a("<"+c.navElement+">").addClass(c.navClass[0]).html(c.navText[0]).prependTo(this._controls.$relative).on("click",a.proxy(function(a){this.prev(c.navSpeed)},this)),this._controls.$next=a("<"+c.navElement+">").addClass(c.navClass[1]).html(c.navText[1]).appendTo(this._controls.$relative).on("click",a.proxy(function(a){this.next(c.navSpeed)},this)),c.dotsData||(this._templates=[a("<div>").addClass(c.dotClass).append(a("<span>")).prop("outerHTML")]),this._controls.$absolute=(c.dotsContainer?a(c.dotsContainer):a("<div>").addClass(c.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","div",a.proxy(function(b){var d=a(b.target).parent().is(this._controls.$absolute)?a(b.target).index():a(b.target).parent().index();b.preventDefault(),this.to(d,c.dotsSpeed)},this));for(b in this._overrides)this._core[b]=a.proxy(this[b],this)},e.prototype.destroy=function(){var a,b,c,d;for(a in this._handlers)this.$element.off(a,this._handlers[a]);for(b in this._controls)this._controls[b].remove();for(d in this.overides)this._core[d]=this._overrides[d];for(c in Object.getOwnPropertyNames(this))"function"!=typeof this[c]&&(this[c]=null)},e.prototype.update=function(){var a,b,c,d=this._core.clones().length/2,e=d+this._core.items().length,f=this._core.maximum(!0),g=this._core.settings,h=g.center||g.autoWidth||g.dotsData?1:g.dotsEach||g.items;if("page"!==g.slideBy&&(g.slideBy=Math.min(g.slideBy,g.items)),g.dots||"page"==g.slideBy)for(this._pages=[],a=d,b=0,c=0;a<e;a++){if(b>=h||0===b){if(this._pages.push({start:Math.min(f,a-d),end:a-d+h-1}),Math.min(f,a-d)===f)break;b=0,++c}b+=this._core.mergers(this._core.relative(a))}},e.prototype.draw=function(){var b,c=this._core.settings,d=this._core.items().length<=c.items,e=this._core.relative(this._core.current()),f=c.loop||c.rewind;this._controls.$relative.toggleClass("disabled",!c.nav||d),c.nav&&(this._controls.$previous.toggleClass("disabled",!f&&e<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!f&&e>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!c.dots||d),c.dots&&(b=this._pages.length-this._controls.$absolute.children().length,c.dotsData&&0!==b?this._controls.$absolute.html(this._templates.join("")):b>0?this._controls.$absolute.append(new Array(b+1).join(this._templates[0])):b<0&&this._controls.$absolute.children().slice(b).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(a.inArray(this.current(),this._pages)).addClass("active"))},e.prototype.onTrigger=function(b){var c=this._core.settings;b.page={index:a.inArray(this.current(),this._pages),count:this._pages.length,size:c&&(c.center||c.autoWidth||c.dotsData?1:c.dotsEach||c.items)}},e.prototype.current=function(){var b=this._core.relative(this._core.current());return a.grep(this._pages,a.proxy(function(a,c){return a.start<=b&&a.end>=b},this)).pop()},e.prototype.getPosition=function(b){var c,d,e=this._core.settings;return"page"==e.slideBy?(c=a.inArray(this.current(),this._pages),d=this._pages.length,b?++c:--c,c=this._pages[(c%d+d)%d].start):(c=this._core.relative(this._core.current()),d=this._core.items().length,b?c+=e.slideBy:c-=e.slideBy),c},e.prototype.next=function(b){a.proxy(this._overrides.to,this._core)(this.getPosition(!0),b)},e.prototype.prev=function(b){a.proxy(this._overrides.to,this._core)(this.getPosition(!1),b)},e.prototype.to=function(b,c,d){var e;!d&&this._pages.length?(e=this._pages.length,a.proxy(this._overrides.to,this._core)(this._pages[(b%e+e)%e].start,c)):a.proxy(this._overrides.to,this._core)(b,c)},a.fn.owlCarousel.Constructor.Plugins.Navigation=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){"use strict";var e=function(c){this._core=c,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":a.proxy(function(c){c.namespace&&"URLHash"===this._core.settings.startPosition&&a(b).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":a.proxy(function(b){if(b.namespace){var c=a(b.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!c)return;this._hashes[c]=b.content}},this),"changed.owl.carousel":a.proxy(function(c){if(c.namespace&&"position"===c.property.name){var d=this._core.items(this._core.relative(this._core.current())),e=a.map(this._hashes,function(a,b){return a===d?b:null}).join();if(!e||b.location.hash.slice(1)===e)return;b.location.hash=e}},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers),a(b).on("hashchange.owl.navigation",a.proxy(function(a){var c=b.location.hash.substring(1),e=this._core.$stage.children(),f=this._hashes[c]&&e.index(this._hashes[c]);f!==d&&f!==this._core.current()&&this._core.to(this._core.relative(f),!1,!0)},this))};e.Defaults={URLhashListener:!1},e.prototype.destroy=function(){var c,d;a(b).off("hashchange.owl.navigation");for(c in this._handlers)this._core.$element.off(c,this._handlers[c]);for(d in Object.getOwnPropertyNames(this))"function"!=typeof this[d]&&(this[d]=null)},a.fn.owlCarousel.Constructor.Plugins.Hash=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){function e(b,c){var e=!1,f=b.charAt(0).toUpperCase()+b.slice(1);return a.each((b+" "+h.join(f+" ")+f).split(" "),function(a,b){if(g[b]!==d)return e=!c||b,!1}),e}function f(a){return e(a,!0)}var g=a("<support>").get(0).style,h="Webkit Moz O ms".split(" "),i={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},j={csstransforms:function(){return!!e("transform")},csstransforms3d:function(){return!!e("perspective")},csstransitions:function(){return!!e("transition")},cssanimations:function(){return!!e("animation")}};j.csstransitions()&&(a.support.transition=new String(f("transition")),a.support.transition.end=i.transition.end[a.support.transition]),j.cssanimations()&&(a.support.animation=new String(f("animation")),a.support.animation.end=i.animation.end[a.support.animation]),j.csstransforms()&&(a.support.transform=new String(f("transform")),a.support.transform3d=j.csstransforms3d())}(window.Zepto||window.jQuery,window,document);
1607
1608$(function(){
1609    if (typeof(EC_SHOP_MULTISHOP_SHIPPING) != "undefined") {
1610        var sShippingCountryCode4Cookie = 'shippingCountryCode';
1611        var bShippingCountryProc = false;
1612
1613        // 배송국가 선택 설정이 사용안함이면 숨김
1614        if (EC_SHOP_MULTISHOP_SHIPPING.bMultishopShippingCountrySelection === false) {
1615            $('.xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist').hide();
1616            $('.xans-layout-multishoplist .xans-layout-multishoplistmultioption .xans-layout-multishoplistmultioptioncountry').hide();
1617        } else {
1618            $('.thumb .xans-layout-multishoplistitem').hide();
1619            var aShippingCountryCode = document.cookie.match('(^|;) ?'+sShippingCountryCode4Cookie+'=([^;]*)(;|$)');
1620            if (typeof(aShippingCountryCode) != 'undefined' && aShippingCountryCode != null && aShippingCountryCode.length > 2) {
1621                var sShippingCountryValue = aShippingCountryCode[2];
1622            }
1623
1624            // query string으로 넘어 온 배송국가 값이 있다면, 그 값을 적용함
1625            var aHrefCountryValue = decodeURIComponent(location.href).split("/?country=");
1626
1627            if (aHrefCountryValue.length == 2) {
1628                var sShippingCountryValue = aHrefCountryValue[1];
1629            }
1630
1631            // 메인 페이지에서 국가선택을 안한 경우, 그 외의 페이지에서 셋팅된 값이 안 나오는 현상 처리
1632            if (location.href.split("/").length != 4 && $(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val()) {
1633                $(".xans-layout-multishoplist .xans-layout-multishoplistmultioption a .ship span").text(" : "+$(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist option:selected").text().split("SHIPPING TO : ").join(""));
1634
1635                if ($("#f_country").length > 0 && location.href.indexOf("orderform.html") > -1) {
1636                    $("#f_country").val($(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val());
1637                }
1638            }
1639            if (typeof(sShippingCountryValue) != "undefined" && sShippingCountryValue != "" && sShippingCountryValue != null) {
1640                sShippingCountryValue = sShippingCountryValue.split("#")[0];
1641                var bShippingCountryProc = true;
1642
1643                $(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val(sShippingCountryValue);
1644                $(".xans-layout-multishoplist .xans-layout-multishoplistmultioption a .ship span").text(" : "+$(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist option:selected").text().split("SHIPPING TO : ").join(""));
1645                var expires = new Date();
1646                expires.setTime(expires.getTime() + (30 * 24 * 60 * 60 * 1000)); // 30일간 쿠키 유지
1647                document.cookie = sShippingCountryCode4Cookie+'=' + $(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val() +';path=/'+ ';expires=' + expires.toUTCString();
1648                if ($("#f_country").length > 0 && location.href.indexOf("orderform.html") > -1) {
1649                    $("#f_country").val(sShippingCountryValue).change();
1650                }
1651            }
1652        }
1653        // 언어선택 설정이 사용안함이면 숨김
1654        if (EC_SHOP_MULTISHOP_SHIPPING.bMultishopShippingLanguageSelection === false) {
1655            $('.xans-layout-multishopshipping .xans-layout-multishopshippinglanguagelist').hide();
1656            $('.xans-layout-multishoplist .xans-layout-multishoplistmultioption .xans-layout-multishoplistmultioptionlanguage').hide();
1657        } else {
1658            $('.thumb .xans-layout-multishoplistitem').hide();
1659        }
1660
1661        // 배송국가 및 언어 설정이 둘 다 사용안함이면 숨김
1662        if (EC_SHOP_MULTISHOP_SHIPPING.bMultishopShipping === false) {
1663            $(".xans-layout-multishopshipping").hide();
1664            $('.xans-layout-multishoplist .xans-layout-multishoplistmultioption').hide();
1665        } else if (bShippingCountryProc === false && location.href.split("/").length == 4) { // 배송국가 값
1665을 처리한 적이 없고, 메인화면일 때만 선택 레이어를 띄움
1666            var sShippingCountryValue = $(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val();
1667            $(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val(sShippingCountryValue);
1668            $(".xans-layout-multishoplist .xans-layout-multishoplistmultioption a .ship span").text(" : "+$(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist option:selected").text().split("SHIPPING TO : ").join(""));
1669            // 배송국가 선택을 사용해야 레이어를 보이게 함
1670            if (EC_SHOP_MULTISHOP_SHIPPING.bMultishopShippingCountrySelection === true) {
1671                $(".xans-layout-multishopshipping").show();
1672            }
1673        }
1674
1675        $(".xans-layout-multishopshipping .close").on("click", function() {
1676            $(".xans-layout-multishopshipping").hide();
1677        });
1678
1679        $(".xans-layout-multishopshipping .ec-base-button a").on("click", function() {
1680            var expires = new Date();
1681            expires.setTime(expires.getTime() + (30 * 24 * 60 * 60 * 1000)); // 30일간 쿠키 유지
1682            document.cookie = sShippingCountryCode4Cookie+'=' + $(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val() +';path=/'+ ';expires=' + expires.toUTCString();
1683
1684            // 도메인 문제로 쿠키로 배송국가 설정이 안 되는 경우를 위해 query string으로 배송국가 값을 넘김
1685            var sQuerySting = (EC_SHOP_MULTISHOP_SHIPPING.bMultishopShippingCountrySelection === false) ? "" : "/?country="+encodeURIComponent($(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val());
1686
1687            location.href = '//'+$(".xans-layout-multishopshipping .xans-layout-multishopshippinglanguagelist").val()+sQuerySting;
1688        });
1689        $(".xans-layout-multishoplist .xans-layout-multishoplistmultioption a").on("click", function() {
1690            $(".xans-layout-multishopshipping").show();
1691        });
1692    }
1693});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.