1$(function(){ 2 if($(".menuCategory > li").length==0){ 3 $(".menuCategory").hide(); 4 }; 5}); 6/** 7 * ì¹´í ê³ ë¦¬ ë§ì°ì¤ ì¤ë² ì´ë¯¸ì§ 8 * ì¹´í ê³ ë¦¬ ìë¸ ë©ë´ ì¶ë ¥ 9 */ 10 11 $(document).ready(function() { 12 var headertimer; 13 var last_total = 0; 14 var totalCount = 0; 15 var isCount = 0; 16 var methods = { 17 aCategory : [], 18 aSubCategory : {}, 19 20 get: function() 21 { 22 $.ajax({ 23 url : '/exec/front/Product/SubCategory', 24 dataType: 'json', 25 success: function(aData) { 26 27 if (aData == null || aData == 'undefined') return; 28 for (var i=0; i<aData.length; i++) 29 { 30 var sParentCateNo = aData[i].parent_cate_no; 31 32 if (!methods.aSubCategory[sParentCateNo]) { 33 methods.aSubCategory[sParentCateNo] = []; 34 } 35 36 methods.aSubCategory[sParentCateNo].push( aData[i] ); 37 } 38 } 39 }); 40 }, 41 42 getParam: function(sUrl, sKey) { 43 44 var aUrl = sUrl.split('?'); 45 var sQueryString = aUrl[1]; 46 var aParam = {}; 47 48 if (sQueryString) { 49 var aFields = sQueryString.split("&"); 50 var aField = []; 51 for (var i=0; i<aFields.length; i++) { 52 aField = aFields[i].split('='); 53 aParam[aField[0]] = aField[1]; 54 } 55 } 56 return sKey ? aParam[sKey] : aParam; 57 }, 58 59 getParamSeo: function(sUrl) { 60 var aUrl = sUrl.split('/'); 61 return aUrl[3] ? aUrl[3] : null; 62 }, 63 64 show: function(overNode, iCateNo) { 65 var aHtml = []; 66 aHtml.push('<ul>'); 67 isCount = isCount + 1; 68 $(methods.aSubCategory[iCateNo]).each(function() { 69 var myLink = this.link_product_list; 70 var link = myLink.split("/"); 71 clearInterval(headertimer); 72 totalCount++; 73 console.log("ë¤ì´ìì ì«ì ì¸ëì¤:",totalCount); 74 75 if(isCount == 1){ 76 myLink = "/product/list_brand.html?cate_no=" + link[3]; 77 } 78 79 if(this.name == "GOLA"){ 80 myLink = "/product/list_gola.html?cate_no=" + link[3]; 81 }else if(this.name == "OCEAN PACIFIC"){ 82 myLink = "/product/list_oceanpacific.html?cate_no=" + link[3]; 83 }else if(this.name == "COMO NINOZ"){ 84 myLink = "/product/list_comoninoz.html?cate_no=" + link[3]; 85 }else if(this.name == "ORDINARY HOLIDAY"){ 86 myLink = "/product/list_ordinaryholiday.html?cate_no=" + link[3]; 87 }else if(this.name == "W.STANDARD"){ 88 myLink = "/product/list_w.standard.html?cate_no=" + link[3]; 89 }else if(this.name == "FIELD WORKER"){ 90 myLink = "/product/list_fieldworker.html?cate_no=" + link[3]; 91 }else if(this.name == "DELICCENT"){ 92 myLink = "/product/list_deliccent.html?cate_no=" + link[3]; 93 }else if(this.name == "WONDER LOOK"){ 94 myLink = "/product/list_wonderlook.html?cate_no=" + link[3]; 95 }else if(this.name == "WONDER CREW"){ 96 myLink = "/product/list_wondercrew.html?cate_no=" + link[3]; 97 }else if(this.name == "LOVE IT"){ 98 myLink = "/product/list_loveit.html?cate_no=" + link[3]; 99 }else if(this.name == "SEEING"){ 100 myLink = "/product/list_seeing.html?cate_no=" + link[3]; 101 }else if(this.name == "LOOKBOOK"){ 102 myLink = "/product/list_lookbook.html?cate_no=" + link[3]; 103 } 104 aHtml.push('<li name="'+this.name+'"><a href="'+myLink+'">'+this.name+'</a></li>'); 105 106 }); 107 aHtml.push('</ul>'); 108 109 var offset = $(overNode).offset(); 110 $('<div class="sub-category"></div>') 111 .appendTo(overNode) 112 .html(aHtml.join('')) 113 .find('li').mouseover(function(e) { 114 $(this).addClass('over'); 115 }).mouseout(function(e) { 116 $(this).removeClass('over'); 117 }); 118 }, 119 120 close: function() { 121 $('.sub-category').remove(); 122 } 123 }; 124 setTimeout(() => { 125 methods.get(); 126 },400); 127 setTimeout(() => { 128 for(var i=0; i < $('.xans-layout-category li').length; i++){ 129 var $this = $('.xans-layout-category li:eq('+i+')').addClass('on'), 130 iCateNo = Number(methods.getParam($this.find('a').attr('href'), 'cate_no')); 131 if (!iCateNo) { 132 iCateNo = Number(methods.getParamSeo($this.find('a').attr('href'))); 133 } 134 135 if (!iCateNo) { 136 return; 137 } 138 139 methods.show($this, iCateNo); 140 last_total = i; 141 } 142 }, 500); 143 headertimer = setInterval(function(){ 144 if(last_total < 7){ 145 console.log("ì§ì íê² ìµëë¤.",totalCount); 146 if(totalCount < 7){ 147 methods.get(); 148 isCount = 0; 149 for(var i=0; i < $('.xans-layout-category li').length; i++){ 150 var $this = $('.xans-layout-category li:eq('+i+')').addClass('on'), 151 iCateNo = Number(methods.getParam($this.find('a').attr('href'), 'cate_no')); 152 if (!iCateNo) { 153 iCateNo = Number(methods.getParamSeo($this.find('a').attr('href'))); 154 } 155 156 if (!iCateNo) { 157 return; 158 } 159 last_total = i; 160 methods.show($this, iCateNo); 161 } 162 } 163 }else{ 164 console.log("ëì ëë¤",last_total); 165 } 166 },1000); 167 168}); 169/** 170 * ìì§ì´ë ë°°ë Jquery Plug-in 171 * @author cafe24 172 */ 173 174(function($){ 175 176 $.fn.floatBanner = function(options) { 177 options = $.extend({}, $.fn.floatBanner.defaults , options); 178 179 return this.each(function() { 180 var aPosition = $(this).position(); 181 var jbOffset = $(this).offset(); 182 var node = this; 183 184 $(window).on('scroll', function() { 185 var _top = $(document).scrollTop(); 186 _top = (aPosition.top < _top) ? _top : aPosition.top; 187 188 setTimeout(function () { 189 var newinit = $(document).scrollTop(); 190 191 if ( newinit >
191 jbOffset.top ) { 192 _top -= jbOffset.top; 193 var container_height = $("#wrap").height(); 194 var quick_height = $(node).height(); 195 var cul = container_height - quick_height; 196 if(_top > cul){ 197 _top = cul; 198 } 199 } else { 200 _top = 0; 201 } 202 203 $(node).stop().animate({top: _top}, options.animate); 204 }, options.delay); 205 }); 206 }); 207 }; 208 209 $.fn.floatBanner.defaults = { 210 'animate' : 500, 211 'delay' : 500 212 }; 213 214})(jQuery); 215 216/** 217 * 문ì 구ëí ìì 218 */ 219$(function(){ 220 $('#banner:visible, #quick:visible').floatBanner(); 221 222 //placeholder 223 $(".ePlaceholder input, .ePlaceholder textarea").each(function(i){ 224 var placeholderName = $(this).parents().attr('title'); 225 $(this).attr("placeholder", placeholderName); 226 }); 227 /* placeholder ie8, ie9 */ 228 $.fn.extend({ 229 placeholder : function() { 230 //IE 8 ë²ì ìë hasPlaceholderSupport() ê°ì´ false를 ë¦¬í´ 231 if (hasPlaceholderSupport() === true) { 232 return this; 233 } 234 //hasPlaceholderSupport() ê°ì´ false ì¼ ê²½ì° ìë ì½ë를 ì¤í 235 return this.each(function(){ 236 var findThis = $(this); 237 var sPlaceholder = findThis.attr('placeholder'); 238 if ( ! sPlaceholder) { 239 return; 240 } 241 findThis.wrap('<label class="ePlaceholder" />'); 242 var sDisplayPlaceHolder = $(this).val() ? ' style="display:none;"' : ''; 243 findThis.before('<span' + sDisplayPlaceHolder + '>' + sPlaceholder + '</span>'); 244 this.onpropertychange = function(e){ 245 e = event || e; 246 if (e.propertyName == 'value') { 247 $(this).trigger('focusout'); 248 } 249 }; 250 //ê³µíµ class 251 var agent = navigator.userAgent.toLowerCase(); 252 if (agent.indexOf("msie") != -1) { 253 $(".ePlaceholder").css({"position":"relative"}); 254 $(".ePlaceholder span").css({"position":"absolute", "padding":"0 4px", "color":"#878787"}); 255 $(".ePlaceholder label").css({"padding":"0"}); 256 } 257 }); 258 } 259 }); 260 261 $(':input[placeholder]').placeholder(); //placeholder() í¨ì를 í¸ì¶ 262 263 //í´ë¦íë©´ placeholder ì¨ê¹ 264 $('body').on('click', '.ePlaceholder span', function(){ 265 $(this).hide(); 266 }); 267 268 //inputì°½ í¬ì»¤ì¤ ì¸ ì¼ë placeholder ì¨ê¹ 269 $('body').on('focusin', '.ePlaceholder :input', function(){ 270 $(this).prev('span').hide(); 271 }); 272 273 //inputì°½ í¬ì»¤ì¤ ìì ì¼ë value ê° true ì´ë©´ ì¨ê¹, false ì´ë©´ ë³´ì¬ì§ 274 $('body').on('focusout', '.ePlaceholder :input', function(){ 275 if (this.value) { 276 $(this).prev('span').hide(); 277 } else { 278 $(this).prev('span').show(); 279 } 280 }); 281 282 //inputì placeholderê° ì§ìì´ ëë©´ true를 ìëë©´ false를 리í´ê°ì¼ë¡ ëì ¸ì¤ 283 function hasPlaceholderSupport() { 284 if ('placeholder' in document.createElement('input')) { 285 return true; 286 } else { 287 return false; 288 } 289 } 290}); 291 292/** 293 * ì¸ë¤ì¼ ì´ë¯¸ì§ ìë°ì¼ê²½ì° ê¸°ë³¸ê° ì¤ì 294 */ 295$(window).on('load', function() { 296 $("img.thumb,img.ThumbImage,img.BigImage").each(function($i,$item){ 297 var $img = new Image(); 298 $img.onerror = function () { 299 $item.src="//img.echosting.cafe24.com/thumb/img_product_big.gif"; 300 } 301 $img.src = this.src; 302 }); 303}); 304 305/** 306 * tooltip 307 */ 308$('.eTooltip').each(function(i){ 309 $(this).find('.btnClose').attr('tabIndex','-1'); 310}); 311//tooltip input focus 312$('.eTooltip').find('input').on('focus', function() { 313 var targetName = returnTagetName(this); 314 targetName.siblings('.ec-base-tooltip').show(); 315}); 316$('.eTooltip').find('input').on('focusout', function() { 317 var targetName = returnTagetName(this); 318 targetName.siblings('.ec-base-tooltip').hide(); 319}); 320function returnTagetName(_this){ 321 var ePlacename = $(_this).parent().attr("class"); 322 var targetName; 323 if(ePlacename == "ePlaceholder"){ //ePlaceholder ëì 324 targetName = $(_this).parents(); 325 }else{ 326 targetName = $(_this); 327 } 328 return targetName; 329} 330
331/** 332 * eTab 333 */ 334$("body").on("click", ".eTab a", function(e){ 335 // í´ë¦í li ì selected í´ëì¤ ì¶ê°, 기존 liì ìë selected í´ëì¤ë ìì . 336 var _li = $(this).parent("li").addClass("selected").siblings().removeClass("selected"), 337 _target = $(this).attr("href"), 338 _siblings = $(_target).attr("class"), 339 _arr = _siblings.split(" "), 340 _classSiblings = "."+_arr[0]; 341 342 //í´ë¦í íì í´ë¹íë ììë íì±í, 기존 ììë ë¹íì±í í¨. 343 $(_target).show().siblings(_classSiblings).hide(); 344 345 346 //preventDefault ë a íê·¸ ì²ë¼ í´ë¦ ì´ë²¤í¸ ì¸ì ë³ëì ë¸ë¼ì°ì íëì ë§ê¸° ìí´ ì¬ì©ë¨. 347 e.preventDefault(); 348}); 349 350 351 352'use strict'; 353 354/** 355 * Copyright Marc J. Schmidt. See the LICENSE file at the top-level 356 * directory of this distribution and at 357 * https://github.com/marcj/css-element-queries/blob/master/LICENSE. 358 */ 359(function (root, factory) { 360 if (typeof define === "function" && define.amd) { 361 define(factory); 362 } else if (typeof exports === "object") { 363 module.exports = factory(); 364 } else { 365 root.ResizeSensor = factory(); 366 } 367}(typeof window !== 'undefined' ? window : this, function () { 368 369 // Make sure it does not throw in a SSR (Server Side Rendering) situation 370 if (typeof window === "undefined") { 371 return null; 372 } 373 // https://github.com/Semantic-Org/Semantic-UI/issues/3855 374 // https://github.com/marcj/css-element-queries/issues/257 375 var globalWindow = typeof window != 'undefined' && window.Math == Math 376 ? window 377 : typeof self != 'undefined' && self.Math == Math 378 ? self 379 : Function('return this')(); 380 // Only used for the dirty checking, so the event callback count is limited to max 1 call per fps per sensor. 381 // In combination with the event based resize sensor this saves cpu time, because the sensor is too fast and 382 // would generate too many unnecessary events. 383 var requestAnimationFrame = globalWindow.requestAnimationFrame || 384 globalWindow.mozRequestAnimationFrame || 385 globalWindow.webkitRequestAnimationFrame || 386 function (fn) { 387 return globalWindow.setTimeout(fn, 20); 388 }; 389 390 /** 391 * Iterate over each of the provided element(s). 392 * 393 * @param {HTMLElement|HTMLElement[]} elements 394 * @param {Function} callback 395 */ 396 function forEachElement(elements, callback){ 397 var elementsType = Object.prototype.toString.call(elements); 398 var isCollectionTyped = ('[object Array]' === elementsType 399 || ('[object NodeList]' === elementsType) 400 || ('[object HTMLCollection]' === elementsType) 401 || ('[object Object]' === elementsType) 402 || ('undefined' !== typeof jQuery && elements instanceof jQuery) //jquery 403 || ('undefined' !== typeof Elements && elements instanceof Elements) //mootools 404 ); 405 var i = 0, j = elements.length; 406 if (isCollectionTyped) { 407 for (; i < j; i++) { 408 callback(elements[i]); 409 } 410 } else { 411 callback(elements); 412 } 413 } 414 415 /** 416 * Get element size 417 * @param {HTMLElement} element 418 * @returns {Object} {width, height} 419 */ 420 function getElementSize(element) { 421 if (!element.getBoundingClientRect) { 422 return { 423 width: element.offsetWidth, 424 height: element.offsetHeight 425 } 426 } 427 428 var rect = element.getBoundingClientRect(); 429 return { 430 width: Math.round(rect.width), 431 height: Math.round(rect.height) 432 } 433 } 434 435 /** 436 * Apply CSS styles to element. 437 * 438 * @param {HTMLElement} element 439 * @param {Object} style 440 */ 441 function setStyle(element, style) { 442 Object.keys(style).forEach(function(key) { 443 element.style[key] = style[key]; 444 }); 445 } 446 447 /** 448 * Class for dimension change detection. 449 * 450 * @param {Element|Element[]|Elements|jQuery} element 451 * @param {Function} callback 452 * 453 * @constructor 454 */ 455 var ResizeSensor = function(element, callback) { 456 /** 457 * 458 * @constructor 459 */ 460 function EventQueue() { 461 var q = []; 462 this.add = function(ev) { 463 q.push(ev); 464 }; 465 466 var i, j; 467 this.call = function(sizeInfo) { 468 for (i = 0, j = q.length; i < j; i++) { 469 q[i].call(this, sizeInfo); 470 } 471 }; 472 473 this.remove = function(ev) { 474 var newQueue = []; 475 for(i = 0, j = q.length; i < j; i++) { 476 if(q[i] !== ev) newQueue.push(q[i]); 477 } 478 q = newQueue; 479 }; 480 481 this.length = function() { 482 return q.length; 483 } 484 } 485 486 /** 487 * 488 * @param {HTMLElement} element 489 * @param {Function} resized 490 */ 491 function attachResizeEvent(element, resized) { 492 if (!element) return; 493 if (element.resizedAttached) { 494 element.resizedAttached.add(resized); 495 return; 496 } 497 498 element.resizedAttached = new EventQueue(); 499 element.resizedAttached.add(resized); 500 501 element.resizeSensor = document.createElement('div'); 502 element.resizeSensor.dir = 'ltr'; 503 element.resizeSensor.className = 'resize-sensor'; 504 505 var style = { 506 pointerEvents: 'none', 507 position: 'absolute', 508 left: '0px', 509 top: '0px', 510 right: '0px', 511 bottom: '0px', 512 overflow: 'hidden', 513 zIndex: '-1', 514 visibility: 'hidden', 515 maxWidth: '100%' 516 }; 517 var styleChild = { 518 position: 'absolute', 519 left: '0px', 520 top: '0px', 521 transition: '0s', 522 }; 523 524 setStyle(element.resizeSensor, style); 525 526 var expand = document.createElement('div'); 527 expand.className = 'resize-sensor-expand'; 528 setStyle(expand, style); 529 530 var expandChild = document.createElement('div'); 531 setStyle(expandChild, styleChild); 532 expand.appendChild(expandChild); 533 534 var shrink = document.createElement('div'); 535 shrink.className = 'resize-sensor-shrink'; 536 setStyle(shrink, style); 537 538 var shrinkChild = document.createElement('div'); 539 setStyle(shrinkChild, styleChild); 540 setStyle(shrinkChild, { width: '200%', height: '200%' }); 541 shrink.appendChild(shrinkChild); 542 543 element.resizeSensor.appendChild(expand); 544 element.resizeSensor.appendChild(shrink); 545 element.appendChild(element.resizeSensor); 546 547 var computedStyle = window.getComputedStyle(element); 548 var position = computedStyle ? computedStyle.getPropertyValue('position') : null; 549 if ('absolute' !== position && 'relative' !== position && 'fixed' !== position) { 550 element.style.position = 'relative'; 551 } 552 553 var dirty, rafId; 554 var size = getElementSize(element); 555 var lastWidth = 0; 556 var lastHeight = 0; 557 var initialHiddenCheck = true; 558 var lastAnimationFrame = 0; 559 560 var resetExpandShrink = function () { 561 var width = element.offsetWidth; 562 var height = element.offsetHeight; 563 564 expandChild.style.width = (width + 10) + 'px'; 565 expandChild.style.height = (height + 10) + 'px'; 566 567 expand.scrollLeft = width + 10; 568 expand.scrollTop = height + 10; 569 570 shrink.scrollLeft = width + 10; 571 shrink.scrollTop = height + 10; 572 }; 573 574 var reset = function() { 575 // Check if element is hidden 576 if (initialHiddenCheck) { 577 var invisible = element.offsetWidth === 0 && element.offsetHeight === 0; 578 if (invisible) { 579 // Check in next frame 580 if (!lastAnimationFrame){ 581 lastAnimationFrame = requestAnimationFrame(function(){ 582 lastAnimationFrame = 0; 583 584 reset(); 585 }); 586 } 587 588 return; 589 } else { 590 // Stop checking 591 initialHiddenCheck = false;
592 } 593 } 594 595 resetExpandShrink(); 596 }; 597 element.resizeSensor.resetSensor = reset; 598 599 var onResized = function() { 600 rafId = 0; 601 602 if (!dirty) return; 603 604 lastWidth = size.width; 605 lastHeight = size.height; 606 607 if (element.resizedAttached) { 608 element.resizedAttached.call(size); 609 } 610 }; 611 612 var onScroll = function() { 613 size = getElementSize(element); 614 dirty = size.width !== lastWidth || size.height !== lastHeight; 615 616 if (dirty && !rafId) { 617 rafId = requestAnimationFrame(onResized); 618 } 619 620 reset(); 621 }; 622 623 var addEvent = function(el, name, cb) { 624 if (el.attachEvent) { 625 el.attachEvent('on' + name, cb); 626 } else { 627 el.addEventListener(name, cb); 628 } 629 }; 630 631 addEvent(expand, 'scroll', onScroll); 632 addEvent(shrink, 'scroll', onScroll); 633 634 // Fix for custom Elements 635 requestAnimationFrame(reset); 636 } 637 638 forEachElement(element, function(elem){ 639 attachResizeEvent(elem, callback); 640 }); 641 642 this.detach = function(ev) { 643 ResizeSensor.detach(element, ev); 644 }; 645 646 this.reset = function() { 647 element.resizeSensor.resetSensor(); 648 }; 649 }; 650 651 ResizeSensor.reset = function(element) { 652 forEachElement(element, function(elem){ 653 elem.resizeSensor.resetSensor(); 654 }); 655 }; 656 657 ResizeSensor.detach = function(element, ev) { 658 forEachElement(element, function(elem){ 659 if (!elem) return; 660 if(elem.resizedAttached && typeof ev === "function"){ 661 elem.resizedAttached.remove(ev); 662 if(elem.resizedAttached.length()) return; 663 } 664 if (elem.resizeSensor) { 665 if (elem.contains(elem.resizeSensor)) { 666 elem.removeChild(elem.resizeSensor); 667 } 668 delete elem.resizeSensor; 669 delete elem.resizedAttached; 670 } 671 }); 672 }; 673 674 if (typeof MutationObserver !== "undefined") { 675 var observer = new MutationObserver(function (mutations) { 676 for (var i in mutations) { 677 if (mutations.hasOwnProperty(i)) { 678 var items = mutations[i].addedNodes; 679 for (var j = 0; j < items.length; j++) { 680 if (items[j].resizeSensor) { 681 ResizeSensor.reset(items[j]); 682 } 683 } 684 } 685 } 686 }); 687 688 document.addEventListener("DOMContentLoaded", function (event) { 689 observer.observe(document.body, { 690 childList: true, 691 subtree: true, 692 }); 693 }); 694 } 695 696 return ResizeSensor; 697 698})); 699 700/* 701 Sticky-kit v1.1.2 | WTFPL | Leaf Corcoran 2015 | http://leafo.net 702*/ 703(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)); 704if(!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, 705u=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), 706h.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>
706C+n),!v&&k)))return v=!0,"static"===g.css("position")&&g.css({position:"relative"}), 707a.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", 708y),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); 709EC$(function($) { 710 var filter = "win16|win32|win64|mac|macintel"; 711 var device = "pc"; 712 if (navigator.platform) { 713 if (filter.indexOf(navigator.platform.toLowerCase()) < 0) { device = "mobile"; } 714 } 715 716 /** 717 * ìíìì¸, ìí íë보기(íì ) - ìë¹ìê° í ì¸íì */ 718 var oPriceInfoEl = $('#ec-product-price-info'); 719 if (oPriceInfoEl.length > 0) { 720 var salePriceEl = $('#span_product_price_text'); 721 percentageCul(oPriceInfoEl, salePriceEl); 722 } 723 724 /** 725 * ìí목ë¡/ë©ì¸ì§ì´ - ìë¹ìê° í ì¸íì*/ 726 var mainEl = $("#main"); 727 if (mainEl.length > 0) { 728 var productListEl = $('.xans-product-listmain, .xans-product-listrecommend, .xans-product-listnew, .xans-product-listnormal'); 729 for (var i = 0; i < productListEl.length; i++) { 730 var prdListEl = productListEl.eq(i).find('.prdList > li'); 731 for (var j = 0; j < prdListEl.length; j++) { 732 var priceEl = prdListEl.eq(j).find('.description'), 733 salePriceEl = priceEl.find('.xans-product > li').eq(1).find('span:eq(1)'); 734 735 if (device == "mobile") { 736 salePriceEl = priceEl.find('.spec >li.price'); 737 } 738 percentageCul(priceEl, salePriceEl); 739 } 740 } 741 } 742 743 744 745 function percentageCul(target, salePriceEl) { 746 var iCustomPrice = parseInt(target.attr('ec-data-custom').replace(",", "")); // ê²ìíì´ì§ìì ì¼í ìì - ì í 747 var iPrice = parseInt(target.attr('ec-data-price').replace(",", "")); // ê²ìíì´ì§ìì ì¼í ìì - ì í 748 var sDisplayAmount = 'p', // p:í ì¸ì¨, w:í ì¸ê¸ì¡ 749 iOfftoFixed = 0, // í ì¸ì¨ ììì ì릿ì 750 sSaleText = '', 751 regexp = /B(?=(d{3})+(?!d))/g; 752 753 if (iCustomPrice > 0 && iPrice > 0 && iPrice != iCustomPrice) { 754 if (sDisplayAmount == 'p') { 755 sSaleText = (((iCustomPrice - iPrice) / iCustomPrice) * 100).toFixed(iOfftoFixed) + '%'; 756 } else if (sDisplayAmount == 'w') { 757 sSaleText = parseInt(iCustomPrice - iPrice).toString().replace(regexp, ',') + 'ì OFF'; 758 } 759 salePriceEl.append("<div class='ec-sale-rate'>" + sSaleText + "</span>"); 760 } 761 } 762 // setTimeout(function(){ 763 // sale_percent(); 764 // }, 300); 765}); 766//window popup script 767function winPop(url) { 768 window.open(url, "popup", "width=300,height=300,left=10,top=10,resizable=no,scrollbars=no"); 769} 770/** 771 * document.location.href split 772 * return array Param 773 */ 774function getQueryString(sKey) 775{ 776 var sQueryString = document.location.search.substring(1); 777 var aParam = {}; 778 779 if (sQueryString) { 780 var aFields = sQueryString.split("&"); 781 var aField = []; 782 for (var i=0; i<aFields.length; i++) { 783 aField = aFields[i].split('='); 784 aParam[aField[0]] = aField[1]; 785 } 786 } 787 788 aParam.page = aParam.page ? aParam.page : 1; 789 return sKey ? aParam[sKey] : aParam; 790}; 791 792$(function(){ 793 // tab 794 $.eTab = function(ul){ 795 $(ul).find('a').on('click', function(){ 796 var _li = $(this).parent('li').addClass('selected').siblings().removeClass('selected'), 797 _target = $(this).attr('href'), 798 _siblings = '.' + $(_target).attr('class'); 799 $(_target).show().siblings(_siblings).hide(); 800 return false 801 }); 802 } 803 if ( window.call_eTab ) { 804 call_eTab(); 805 }; 806}); 807!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 807
807orts.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
807),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 )|
807sy(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}])}); 808(function($){ 809 $.fn.extend({ 810 center: function() { 811 this.each(function() { 812 var 813 $this = $(this), 814 $w = $(window); 815 $this.css({ 816 position: "absolute", 817 top: ~~(($w.height() - $this.outerHeight()) / 2) + $w.scrollTop() + "px", 818 left: ~~(($w.width() - $this.outerWidth()) / 2) + $w.scrollLeft() + "px" 819 }); 820 }); 821 return this; 822 } 823 }); 824 $(function() { 825 var $container = function(){/* 826 <div id="modalContainer"> 827 <iframe id="modalContent" scroll="0" scrolling="no" frameBorder="0"></iframe> 828 </div>'); 829 */}.toString().slice(14,-3); 830 $('body') 831 .append($('<div id="modalBackpanel"></div>')) 832 .append($($container)); 833 function closeModal () { 834 $('#modalContainer').hide(); 835 $('#modalBackpanel').hide(); 836 } 837 $('#modalBackpanel').on('click',closeModal); 838 zoom = function ($piProductNo, $piCategoryNo, $piDisplayGroup) { 839 var $url = '/product/image_zoom.html?product_no=' + $piProductNo + '&cate_no=' + $piCategoryNo + '&display_group=' + $piDisplayGroup; 840 $('#modalContent').attr('src', $url); 841 $('#modalContent').on("load",function(){ 842 $(".header .close",this.contentWindow.document.body).on("click", closeModal); 843 }); 844 $('#modalBackpanel').css({width:$("body").width(),height:$("body").height(),opacity:.4}).show(); 845 $('#modalContainer').center().show(); 846 } 847 }); 848})(jQuery); 849 850$(document).ready(function() { 851 var oldHeight = 0; 852 AOS.init({ 853 // Global settings: 854 disable: false, // accepts following values: 'phone', 'tablet', 'mobile', boolean, expression or function 855 startEvent: 'DOMContentLoaded', // name of the event dispatched on the document, that AOS should initialize on 856 initClassName: 'aos-init', // class applied after initialization 857 animatedClassName: 'aos-animate', // class applied on animation 858 useClassNames: false, // if true, will add content of `data-aos` as classes on scroll 859 disableMutationObserver: false, // disables automatic mutations' detections (advanced) 860 debounceDelay: 50, // the delay on debounce used while resizing window (advanced) 861 throttleDelay: 99, // the delay on throttle used while scrolling the page (advanced) 862 863 864 // Settings that can be overridden on per-element basis, by `data-aos-*` attributes: 865 offset: 180, // offset (in px) from the original trigger point 866 delay: 0, // values from 0 to 3000, with step 50ms 867 duration: 400, // values from 0 to 3000, with step 50ms 868 easing: 'ease', // default easing for AOS animations 869 once: false, // whether animation should happen only once - while scrolling down 870 mirror: false, // whether elements should animate out while scrolling past them 871 anchorPlacement: 'top-bottom', // defines which position of the element regarding to window should trigger the animation 872 }); 873 AOS.refresh(); 874 setTimeout("AOS.refresh()", 1000); 875 setTimeout("AOS.refresh()", 2000); 876 877 for (var i = 0; i < $("#contents .listype .prdList > li").length; i++) { 878 var userPrice; 879 for (var j = 0; j < $("#contents .listype .prdList > li:eq("+i+") .spec > li").length; j++) { 880 881 var text = $("#contents .listype .prdList > li:eq("+i+") .spec > li:eq("+j+") .title > span").text(); 882 883 884 if(text == "ìë¹ìê°"){ 885 $("#contents .listype .prdList > li:eq("+i+") .spec > li:eq("+j+")").addClass("userPrice"); 886 $("#contents .listype .prdList > li:eq("+i+") .spec").addClass("userPrice"); 887 userPrice = $("#contents .listype .prdList > li:eq("+i+") .spec > li:eq("+j+") > span").text(); 888 }else if(text == "í매ê°"){ 889 $("#contents .listype .prdList > li:eq("+i+") .spec > li:eq("+j+")").addClass("basePrice"); 890 $("#contents .listype .prdList > li:eq("+i+") .spec").addClass("basePrice"); 891 if(userPrice == $("#contents .listype .prdList > li:eq("+i+") .spec > li:eq("+j+") > strong + span").text()){ 892 $("#contents .listype .prdList > li:eq("+i+")").addClass("samePrice"); 893 } 894 }else if(text == " í ì¸ê°" || text == "í ì¸í매ê°" || text == "ì¼ë°íì í ì¸ê°"){ 895 $("#contents .listype .prdList > li:eq("+i+") .spec > li:eq("+j+")").addClass("discountPrice"); 896 $("#contents .listype .prdList > li:eq("+i+") .spec").addClass("discountPrice"); 897 }else if(text == "ìµì í ì¸ê°"){ 898 $("#contents .listype .prdList > li:eq("+i+") .spec > li:eq("+j+")").addClass("totalPrice"); 899 $("#contents .listype .prdList > li:eq("+i+") .spec").addClass("totalPrice"); 900 }else if(text == "ë¸ëë"){ 901 $("#contents .listype .prdList > li:eq("+i+") .spec > li:eq("+j+")").addClass("brand"); 902 $("#contents .listype .prdList > li:eq("+i+") .spec").addClass("brand"); 903 }else if(text == "ìíìì"){ 904 $("#contents .listype .prdList > li:eq("+i+") .spec > li:eq("+j+")").addClass("color"); 905 $("#contents .listype .prdList > li:eq("+i+") .spec").addClass("color"); 906 }else if(text == "ì¬ì©í기"){ 907 $("#contents .listype .prdList > li:eq("+i+") .spec > li:eq("+j+")").addClass("review"); 908 $("#contents .listype .prdList > li:eq("+i+") .spec").addClass("review"); 909 }else if(text == "ìíìì½ì ë³´"){ 910 $("#contents .listype .prdList > li:eq("+i+") .spec > li:eq("+j+")").addClass("summary"); 911 $("#contents .listype .prdList > li:eq("+i+") .spec").addClass("summary"); 912 }else if(text == "í´ìíê·¸"){ 913 $("#contents .listype .prdList > li:eq("+i+") .spec > li:eq("+j+")").addClass("hashtag"); 914 $("#contents .listype .prdList > li:eq("+i+") .spec").addClass("hashtag"); 915 }else if(text == "ìíê°ëµì¤ëª "){ 916 $("#contents .listype .prdList > li:eq("+i+") .spec > li:eq("+j+")").addClass("description"); 917 $("#contents .listype .prdList > li:eq("+i+") .spec").addClass("description"); 918 } 919 } 920 } 921 922 $("#file1").on('change',function(){ 923 var fileName = $("#file1").val(); 924 fileName = fileName.replace(/^.*[\\\/]/, ''); 925 $(".upload-name1").val(fileName); 926 }); 927 $("#file2").on('change',function(){ 928 var fileName = $("#file2").val(); 929 fileName = fileName.replace(/^.*[\\\/]/, ''); 930 $(".upload-name2").val(fileName); 931 }); 932 $("#file3").on('change',function(){ 933 var fileName = $("#file3").val(); 934 fileName = fileName.replace(/^.*[\\\/]/, ''); 935 $(".upload-name3").val(fileName); 936 }); 937 $("#file4").on('change',function(){ 938 var fileName = $("#file4").val(); 939 fileName = fileName.replace(/^.*[\\\/]/, ''); 940 $(".upload-name4").val(fileName); 941 }); 942 943 // $("#contents .cs_productlist ul").addClass("cmp_slide"); 944 // $("#contents .cs_productlist ul").addClass("owl-carousel"); 945 946 // var productlist_slide = $('#contents .cs_productlist .cmp_slide'); 947 // productlist_slide.owlCarousel({ 948 // items: 4, 949 // loop: true, 950 // nav: false, 951 // center: false, 952 // mouseDrag:true, 953 // touchDrag:true, 954 // callbacks: true, 955 // autoplay:true, 956 // margin:0, 957 // autoplayTimeout:5000, 958 // autoplayHoverPause:false 959 // }); 960 961 var scTop = $(this).scrollTop(); 962 963 $( window ).resize(function() { 964 scTop = $(this).scrollTop(); 965 calHeight(); 966 AOS.refresh(); 967 setTimeout("AOS.refresh()", 1000); 968 calTop(scTop); 969 if($("#contents.c_sub .cs_detail").length){ 970 if(!($('#contents.c_sub .cs_detail .csd_box.t2').css('position') == 'fixed')){ 971 $("#contents.c_sub .cs_detail .csd_box.t2").trigger("sticky_kit:detach"); 972 $("#contents.c_sub .cs_detail .csd_box.t2").stick_in_parent({offset_top:140}); 973 } 974 } 975 }); 976 977 $(window).scroll(function(){ 978 scTop = $(this).scrollTop(); 979 calTop(scTop); 980 if(scTop > 0){ 981 $("#aside").addClass("on"); 982 }else { 983 $("#aside").removeClass("on"); 984 } 985 if($("#contents.c_sub .cs_detail").length){ 986 if(oldHeight != $('#contents.c_sub .cs_detail .csd_box.t2').height()){ 987 $("#contents.c_sub .cs_detail .csd_box.t2").css("position","fixed"); 988 $("#contents.c_sub .cs_detail .csd_box.t2").css("bottom","0px"); 989 $("#contents.c_sub .cs_detail .csd_box.t2").trigger("sticky_kit:detach"); 990 $("#contents.c_sub .cs_detail .csd_box.t2").stick_in_parent({offset_top:140}); 991 oldHeight = $('#contents.c_sub .cs_detail .csd_box.t2').height(); 992 } 993 } 994 995 }); 996 997 var arrived = false;
998 if($("#contents.c_sub .cs_detail").length){ 999 $("#contents.c_sub .cs_detail").addClass("preon"); 1000 $("#contents.c_sub .cs_detail .csd_box.t2").stick_in_parent({offset_top:140}); 1001 oldHeight = $('#contents.c_sub .cs_detail .csd_box.t2').height(); 1002 new ResizeSensor(jQuery('#contents.c_sub .cs_detail .csd_box.t2'), function(){ 1003 if(!($('#contents.c_sub .cs_detail .csd_box.t2').css('position') == 'fixed')){ 1004 $("#contents.c_sub .cs_detail .csd_box.t2").css("position","fixed"); 1005 $("#contents.c_sub .cs_detail .csd_box.t2").css("bottom","0px"); 1006 $("#contents.c_sub .cs_detail .csd_box.t2").trigger("sticky_kit:detach"); 1007 $("#contents.c_sub .cs_detail .csd_box.t2").stick_in_parent({offset_top:140}); 1008 } 1009 }); 1010 } 1011 1012 function calTop(scTop){ 1013 if(scTop + Cheight > $("#footer").offset().top){ 1014 $("#aside .scrolltop").addClass("blind"); 1015 $("#footer .scrolltop").removeClass("blind"); 1016 if($("#contents.c_sub .cs_detail").length){ 1017 if(arrived){ 1018 $("#contents.c_sub .cs_detail .csd_box.t2").trigger("sticky_kit:detach"); 1019 $("#contents.c_sub .cs_detail .csd_box.t2").stick_in_parent({offset_top:140}); 1020 arrived = false; 1021 } 1022 } 1023 }else { 1024 $("#aside .scrolltop").removeClass("blind"); 1025 $("#footer .scrolltop").addClass("blind"); 1026 arrived = true; 1027 } 1028 } 1029 1030 $('.scrolltop').click(function() { 1031 var offset =0; 1032 $('html, body').animate({scrollTop : offset}, 1000,'swing'); 1033 }); 1034 1035 1036 $('html, body').on('mousewheel DOMMouseScroll', function(e) { 1037 $('body,html').stop(false); 1038 }); 1039 1040 var wonderlook_slide = $('.cm_wonderlook .cmw_slide'); 1041 wonderlook_slide.owlCarousel({ 1042 items: 3, 1043 margin: 20, 1044 loop: true, 1045 nav: true, 1046 callbacks: true, 1047 autoplay:true, 1048 autoplayTimeout:5000, 1049 autoplayHoverPause:false 1050 }); 1051 $('.cm_wonderlook .n_prev').click(function() { 1052 wonderlook_slide.trigger('prev.owl.carousel'); 1053 }); 1054 // Go to the previous item 1055 $('.cm_wonderlook .n_next').click(function() { 1056 wonderlook_slide.trigger('next.owl.carousel'); 1057 }); 1058 1059 var cmb_silde = $('.cm_brand .cmb_slide'); 1060 cmb_silde.owlCarousel({ 1061 items: 1, 1062 loop: false, 1063 nav: true, 1064 callbacks: true, 1065 autoplay:false, 1066 autoplayTimeout:5000, 1067 autoplayHoverPause:false, 1068 URLhashListener:true, 1069 mouseDrag:false, 1070 touchDrag:false, 1071 startPosition: 'URLHash' 1072 }); 1073 1074 $('.cm_brand .n_prev').click(function() { 1075 cmb_silde.trigger('prev.owl.carousel'); 1076 }); 1077 // Go to the previous item 1078 $('.cm_brand .n_next').click(function() { 1079 cmb_silde.trigger('next.owl.carousel'); 1080 }); 1081 1082 // cmb_silde.on('changed.owl.carousel', function (e) { 1083 1084 // classUrl = location.href.split("#")[1]; 1085 // if (classUrl != "!" && classUrl != undefined && classUrl != "") { 1086 // $('#contents.c_main .cm_brand .cmb_hash a').removeClass('on'); 1087 // $('#contents.c_main .cm_brand .cmb_hash .'+classUrl).addClass('on'); 1088 // } 1089 // }); 1090 1091 // var classUrl = location.href.split("#")[1]; 1092 // if (classUrl != "!" && classUrl != undefined && classUrl != "") { 1093 // if(!classUrl.includes("type")){ 1094 // $('#contents.c_main .cm_brand .cmb_hash a').removeClass('on'); 1095 // $('#contents.c_main .cm_brand .cmb_hash .'+classUrl).addClass('on'); 1096 // } 1097 // } 1098 1099 var cmm_slide = $('.cm_newarrival .cmn_slide'); 1100 cmm_slide.owlCarousel({ 1101 items: 5, 1102 loop: true, 1103 nav: true, 1104 center: false, 1105 mouseDrag:true, 1106 touchDrag:true, 1107 callbacks: true, 1108 autoplay:true, 1109 margin:20, 1110 autoplayTimeout:5000, 1111 autoplayHoverPause:false 1112 }); 1113 1114 $('.cm_newarrival .n_prev').click(function() { 1115 cmm_slide.trigger('prev.owl.carousel'); 1116 }); 1117 // Go to the previous item 1118 $('.cm_newarrival .n_next').click(function() { 1119 cmm_slide.trigger('next.owl.carousel'); 1120 }); 1121 1122 var cms_slide = $('.cm_sale .cms_slide'); 1123 cms_slide.owlCarousel({ 1124 items: 5, 1125 loop: true, 1126 nav: true, 1127 center: false, 1128 mouseDrag:true, 1129 touchDrag:true, 1130 callbacks: true, 1131 autoplay:true, 1132 margin:20, 1133 autoplayTimeout:5000, 1134 autoplayHoverPause:false 1135 }); 1136 1137 $('.cm_sale .n_prev').click(function() { 1138 cms_slide.trigger('prev.owl.carousel'); 1139 }); 1140 // Go to the previous item 1141 $('.cm_sale .n_next').click(function() { 1142 cms_slide.trigger('next.owl.carousel'); 1143 }); 1144 1145 var csbw_slide = $('.csb_wonderbest .csbw_slide'); 1146 csbw_slide.owlCarousel({ 1147 items: 4, 1148 loop: true, 1149 nav: true, 1150 center: false,
1151 mouseDrag:true, 1152 touchDrag:true, 1153 callbacks: true, 1154 autoplay:true, 1155 margin:20, 1156 autoplayTimeout:5000, 1157 autoplayHoverPause:false 1158 }); 1159 1160 $('.csb_wonderbest .n_prev').click(function() { 1161 csbw_slide.trigger('prev.owl.carousel'); 1162 }); 1163 // Go to the previous item 1164 $('.csb_wonderbest .n_next').click(function() { 1165 csbw_slide.trigger('next.owl.carousel'); 1166 }); 1167 1168 $("#contents.c_sub .xans-product-normalmenu .function .cs_sort").click(function() { 1169 $("#contents.c_sub .xans-product-normalmenu .function .cs_sort").toggleClass("open"); 1170 }); 1171 1172 $("#header .h_shortcut .membercate > ul > li > .hs_searchbtn").click(function() { 1173 $("#searchBarForm").toggleClass("open"); 1174 }); 1175 1176 $("#searchBarForm .s_box .close").click(function() { 1177 $("#searchBarForm").removeClass("open"); 1178 }); 1179 1180 $("#searchBarForm .s_bg").click(function(){ 1181 $('#searchBarForm').toggleClass("open"); 1182 }); 1183 1184 $(".toggleArrow").click(function(){ 1185 $(this).toggleClass("open"); 1186 }); 1187 1188 $("#contents.c_sub .cs_term .cst_past strong").click(function(){ 1189 $(this).toggleClass("open"); 1190 }); 1191 1192 1193 1194 var Cheight = $(window).height(); 1195 $('.height').css({'height':Cheight+'px'}); 1196 1197 calHeight(); 1198 function calHeight(){ 1199 Cheight = $(window).height(); 1200 1201 $('.height').css({'height':Cheight+'px'}); 1202 } 1203 1204 function beforegreet(){ 1205 for(var i = 0; i < $("#header .h_menu .hm_main > li").length; i++){ 1206 if($("#header .h_menu .hm_main > li:eq("+i+") > .sub-category > ul li").length == 0){ 1207 $("#header .h_menu .hm_main > li:eq("+i+") ").addClass("noChild"); 1208 } 1209 if($("#header .h_menu .hm_main > li:eq("+i+")").attr("name") == "BEST"){ 1210 var href = $("#header .h_menu .hm_main > li:eq("+i+") > a").attr("href"); 1211 var myLink = "/product/list_best.html?cate_no="; 1212 1213 href = href.split("="); 1214 var chageLink = myLink + href[1]; 1215 $("#header .h_menu .hm_main > li:eq("+i+") > a").attr("href",chageLink); 1216 for(var j = 0; j < $("#header .h_menu .hm_main > li:eq("+i+") > .sub-category > ul li").length; j++){ 1217 href = $("#header .h_menu .hm_main > li:eq("+i+") > .sub-category > ul li:eq("+j+") > a").attr("href"); 1218 href = href.split("/"); 1219 chageLink = myLink + href[3]; 1220 $("#header .h_menu .hm_main > li:eq("+i+") > .sub-category > ul li:eq("+j+") > a").attr("href",chageLink); 1221 } 1222 } 1223 1224 if($("#header .h_menu .hm_main > li:eq("+i+")").attr("name") == "BRAND"){ 1225 var href = $("#header .h_menu .hm_main > li:eq("+i+") > a").attr("href"); 1226 var myLink = "/product/brand.html?cate_no="; 1227 1228 href = href.split("="); 1229 var chageLink = myLink + href[1]; 1230 $("#header .h_menu .hm_main > li:eq("+i+") > a").attr("href",chageLink); 1231 } 1232 1233 if($("#header .h_menu .hm_main > li:eq("+i+")").attr("name") == "W.rating"){ 1234 var thishref = $("#header .h_menu .hm_main > li:eq("+i+") > a").attr("href"); 1235 thishref = thishref.split("="); 1236 if($("#header .h_menu .hm_main > li:eq("+i+") > .sub-category > ul li").length){ 1237 var href = $("#header .h_menu .hm_main > li:eq("+i+") > .sub-category > ul li:eq(0) > a").attr("href"); 1238 $("#header .h_menu .hm_main > li:eq("+i+") > a").attr("href",href); 1239 } 1240 for(var j = 0; j < $("#header .h_menu .hm_main > li:eq("+i+") > .sub-category > ul li").length; j++){ 1241 1242 var reviewhref = $("#header .h_menu .hm_main > li:eq("+i+") > .sub-category > ul li:eq("+j+") > a").attr("href"); 1243 if(reviewhref.includes("135")){ 1244 $("#header .h_menu .hm_main > li:eq("+i+") > .sub-category > ul li:eq("+j+") > a").attr("href","/review/"); 1245 } 1246 } 1247 } 1248 1249 if($("#header .h_menu .hm_main > li:eq("+i+")").attr("name") == "W.rating"){ 1250 if($("#header .h_menu .hm_main > li:eq("+i+") > a").attr("href").includes("category")){ 1251 1252 $("#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")); 1253 } 1254 1255 } 1256 } 1257 // for(var i = 0; i < $("#contents .c_year > li > .xans-product-children > li").length; i++){ 1258 // var thisname = $("#contents .c_year > li > .xans-product-children > li:eq("+i+")").attr('name'); 1259 // if(thisname == "GOLA"){ 1260 // for(var j = 0; j < $("#contents .c_year > li > .xans-product-children > li:eq("+i+") ul > li").length; j++){ 1261 // var myLink2 = $("#contents .c_year > li > .xans-product-children > li:eq("+i+") ul > li:eq("+j+") > a").attr('href'); 1262 // var link2 = myLink2.split("/"); 1263 // myLink2 = "/product/list_lookbook_gola.html?cate_no=" + link2[3]; 1264 // $("#contents .c_year > li > .xans-product-children > li:eq("+i+") ul > li:eq("+j+") > a").attr('href',myLink2); 1265 // } 1266 // }else if(thisname == "OCEAN PACIFIC"){ 1267 // for(var j = 0; j < $("#contents .c_year > li > .xans-product-children > li:eq("+i+") ul > li").length; j++){ 1268 // var myLink2 = $("#contents .c_year > li > .xans-product-children > li:eq("+i+") ul > li:eq("+j+") > a").attr('href'); 1269 // var link2 = myLink2.split("/"); 1270 // myLink2 = "/product/list_lookbook_oceanpacific.html?cate_no=" + link2[3]; 1271 // $("#contents .c_year > li > .xans-product-children > li:eq("+i+") ul > li:eq("+j+") > a").attr('href',myLink2); 1272 // } 1273 // }else if(thisname == "COMO NINOZ"){ 1274 // for(var j = 0; j < $("#contents .c_year > li > .xans-product-children > li:eq("+i+") ul > li").length; j++){ 1275 // var myLink2 = $("#contents .c_year > li > .xans-product-children > li:eq("+i+") ul > li:eq("+j+") > a").attr('href'); 1276 // var link2 = myLink2.split("/"); 1277 // myLink2 = "/product/list_lookbook_comoninoz.html?cate_no=" + link2[3]; 1278 // $("#contents .c_year > li > .xans-product-children > li:eq("+i+") ul > li:eq("+j+") > a").attr('href',myLink2); 1279 // } 1280 // }else if(thisname == "ORDINARY HOLIDAY"){ 1281 // for(var j = 0; j < $("#contents .c_year > li > .xans-product-children > li:eq("+i+") ul > li").length; j++){ 1282 // var myLink2 = $("#contents .c_year > li > .xans-product-children > li:eq("+i+") ul > li:eq("+j+") > a").attr('href'); 1283 // var link2 = myLink2.split("/"); 1284 // myLink2 = "/product/list_lookbook_ordinaryholiday.html?cate_no=" + link2[3]; 1285 // $("#contents .c_year > li > .xans-product-children > li:eq("+i+") ul > li:eq("+j+") > a").attr('href',myLink2); 1286 // } 1287 // }else if(thisname == "W.STANDARD"){ 1288 // for(var j = 0; j < $("#contents .c_year > li > .xans-product-children > li:eq("+i+") ul > li").length; j++){ 1289 // var myLink2 = $("#contents .c_year > li > .xans-product-children > li:eq("+i+") ul > li:eq("+j+") > a").attr('href'); 1290 // var link2 = myLink2.split("/"); 1291 // myLink2 = "/product/list_lookbook_w.standard.html?cate_no=" + link2[3]; 1292 // $("#contents .c_year > li > .xans-product-children > li:eq("+i+") ul > li:eq("+j+") > a").attr('href',myLink2); 1293 // } 1294 // }else if(thisname == "FIELD WORKER"){ 1295 // for(var j = 0; j < $("#contents .c_year > li > .xans-product-children > li:eq("+i+") ul > li").length; j++){ 1296 // var myLink2 = $("#contents .c_year > li > .xans-product-children > li:eq("+i+") ul > li:eq("+j+") > a").attr('href'); 1297 // var link2 = myLink2.split("/"); 1298 // myLink2 = "/product/list_lookbook_fieldworker.html?cate_no=" + link2[3]; 1299 // $("#contents .c_year > li > .xans-product-children > li:eq("+i+") ul > li:eq("+j+") > a").attr('href',myLink2); 1300 // } 1301 // }else if(thisname == "DELICCENT"){ 1302 // for(var j = 0; j < $("#contents .c_year > li > .xans-product-children > li:eq("+i+") ul > li").length; j++){ 1303 // var myLink2 = $("#contents .c_year > li > .xans-product-children > li:eq("+i+") ul > li:eq("+j+") > a").attr('href'); 1304 // var link2 = myLink2.split("/"); 1305 // myLink2 = "/product/list_lookbook_deliccent.html?cate_no=" + link2[3]; 1306 // $("#contents .c_year > li > .xans-product-children > li:eq("+i+") ul > li:eq("+j+") > a").attr('href',myLink2); 1307 // } 1308 // } 1309 1310 // } 1311 1312 1313 $("#header").addClass("ready"); 1314 } 1315 setTimeout(beforegreet, 800); 1316 1317 $('#contents .c_year > li > .xans-product-children > li .button').click( function() { 1318 $('#contents .c_year > li > .xans-product-children > li .button').toggleClass("on"); 1319 } ); 1320 if($(".path").length != 0){ 1321 $(".path > ol > li:eq(1)").addClass("on"); 1322 var path = $(".path > ol > li:eq(1)").text() 1323 if(path == "ê²ìí"){ 1324 $(".path > ol > li:eq(2)").addClass("off"); 1325 path = $(".path > ol > li:eq(2)").text() 1326 } 1327 $('#header .h_menu').addClass(path); 1328 1329 1330 for(var i = 0; i < $('#header .h_menu.t1 .hm_main > li').length; i++){ 1331 var text = $('#header .h_menu.t1 .hm_main > li:eq('+i+') a').text(); 1332 text = text.split(" "); 1333 var newPath = path.split(" "); 1334 if(text[0] == newPath[0]){ 1335 $('#header .h_menu.t1 .hm_main > li:eq('+i+')').addClass("open"); 1336 } 1337 } 1338 1339 for(var i = 0; i < $('#header .h_menu.t2 .hm_main > li').length; i++){ 1340 var text2 = $('#header .h_menu.t2 .hm_main > li:eq('+i+') > a').text(); 1341 text2 = text2.split(" "); 1342 var newPath2 = path.split(" "); 1343 if(text2[0] == newPath2[0]){ 1344 $('#header .h_menu.t2 .hm_main > li:eq('+i+')').addClass("open"); 1345 } 1346 } 1347 } 1348 1349 setTimeout(function(){ 1350 if($(".path").length != 0){ 1351 $(".path > ol > li:eq(1)").addClass("on"); 1352 var path = $(".path > ol > li:eq(1)").text() 1353 if(path == "ê²ìí"){ 1354 $(".path > ol > li:eq(2)").addClass("off"); 1355 path = $(".path > ol > li:eq(2)").text() 1356 } 1357 $('#header .h_menu').addClass(path); 1358 1359 1360 for(var i = 0; i < $('#header .h_menu.t1 .hm_main > li').length; i++){ 1361 var text = $('#header .h_menu.t1 .hm_main > li:eq('+i+') a').text(); 1362 text = text.split(" "); 1363 var newPath = path.split(" "); 1364 if(text[0] == newPath[0]){ 1365 $('#header .h_menu.t1 .hm_main > li:eq('+i+')').addClass("open"); 1366 } 1367 } 1368 1369 for(var i = 0; i < $('#header .h_menu.t2 .hm_main > li').length; i++){ 1370 var text2 = $('#header .h_menu.t2 .hm_main > li:eq('+i+') > a').text(); 1371 text2 = text2.split(" "); 1372 var newPath2 = path.split(" "); 1373 if(text2[0] == newPath2[0]){ 1374 $('#header .h_menu.t2 .hm_main > li:eq('+i+')').addClass("open"); 1375 } 1376 } 1377 } 1378 }, 500); 1379 1380 1381 1382 setTimeout(function(){ 1383 if($(".path").length != 0){ 1384 $(".path > ol > li:eq(1)").addClass("on"); 1385 var path = $(".path > ol > li:eq(1)").text() 1386 if(path == "ê²ìí"){ 1387 $(".path > ol > li:eq(2)").addClass("off"); 1388 path = $(".path > ol > li:eq(2)").text() 1389 } 1390 $('#header .h_menu').addClass(path); 1391 1392 1393 for(var i = 0; i < $('#header .h_menu.t1 .hm_main > li').length; i++){ 1394 var text = $('#header .h_menu.t1 .hm_main > li:eq('+i+') a').text(); 1395 text = text.split(" "); 1396 var newPath = path.split(" "); 1397 if(text[0] == newPath[0]){ 1398 $('#header .h_menu.t1 .hm_main > li:eq('+i+')').addClass("open"); 1399 } 1400 } 1401 1402 for(var i = 0; i < $('#header .h_menu.t2 .hm_main > li').length; i++){ 1403 var text2 = $('#header .h_menu.t2 .hm_main > li:eq('+i+') > a').text(); 1404 text2 = text2.split(" "); 1405 var newPath2 = path.split(" "); 1406 if(text2[0] == newPath2[0]){ 1407 $('#header .h_menu.t2 .hm_main > li:eq('+i+')').addClass("open"); 1408 } 1409 } 1410 } 1411 }, 800); 1412 1413 1414 var href = window.location.href; 1415 1416 if(href.includes("list_best.html")){ 1417 for(var i = 0; i < $("#contents.c_sub .cs_cate .menuCategory li").length; i++){ 1418 var cateHref = $("#contents.c_sub .cs_cate .menuCategory li:eq("+i+") a").attr("href"); 1419 var cateNum = cateHref.split("/"); 1420 var myHref = "/product/list_best.html?cate_no=" + cateNum[3]; 1421 $("#contents.c_sub .cs_cate .menuCategory li:eq("+i+") a").attr("href",myHref); 1422 } 1423 } 1424 1425 1426 if(href.includes("list_comoninoz.html")){ 1427 for(var i = 0; i < $("#contents.c_sub .cs_category .menuCategory > li").length; i++){ 1428 for(var j = 0; j < $("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li").length; j++){ 1429 var cateHref = $("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > a").attr("href"); 1430 var cateNum = cateHref.split("/"); 1431 var myHref = "/product/list_comoninoz.html?cate_no=" + cateNum[3]; 1432 $("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > a").attr("href",myHref); 1433 1434 } 1435 } 1436 }else if(href.includes("list_deliccent.html")){ 1437 for(var i = 0; i < $("#contents.c_sub .cs_category .menuCategory > li").length; i++){ 1438 for(var j = 0; j < $("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li").length; j++){ 1439 var cateHref = $("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > a").attr("href"); 1440 var cateNum = cateHref.split("/"); 1441 var myHref = "/product/list_deliccent.html?cate_no=" + cateNum[3]; 1442 $("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > a").attr("href",myHref); 1443 } 1444 } 1445 }else if(href.includes("list_fieldworker.html")){ 1446 for(var i = 0; i < $("#contents.c_sub .cs_category .menuCategory > li").length; i++){ 1447 for(var j = 0; j < $("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li").length; j++){ 1448 var cateHref = $("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > a").attr("href"); 1449 var cateNum = cateHref.split("/"); 1450 var myHref = "/product/list_fieldworker.html?cate_no=" + cateNum[3]; 1451 $("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > a").attr("href",myHref); 1452 } 1453 } 1454 }else if(href.includes("list_gola.html")){ 1455 for(var i = 0; i < $("#contents.c_sub .cs_category .menuCategory > li").length; i++){ 1456 for(var j = 0; j < $("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li").length; j++){ 1457 var cateHref = $("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > a").attr("href"); 1458 var cateNum = cateHref.split("/"); 1459 var myHref = "/product/list_gola.html?cate_no=" + cateNum[3]; 1460 $("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > a").attr("href",myHref); 1461 } 1462 } 1463 }else if(href.includes("list_oceanpacific.html")){ 1464 for(var i = 0; i < $("#contents.c_sub .cs_category .menuCategory > li").length; i++){ 1465 for(var j = 0; j < $("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li").length; j++){ 1466 var cateHref = $("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > a").attr("href"); 1467 var cateNum = cateHref.split("/"); 1468 var myHref = "/product/list_oceanpacific.html?cate_no=" + cateNum[3]; 1469 $("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > a").attr("href",myHref); 1470 } 1471 } 1472 }else if(href.includes("list_ordinaryholiday.html")){ 1473 for(var i = 0; i < $("#contents.c_sub .cs_category .menuCategory > li").length; i++){ 1474 for(var j = 0; j < $("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li").length; j++){ 1475 var cateHref = $("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > a").attr("href"); 1476 var cateNum = cateHref.split("/"); 1477 var myHref = "/product/list_ordinaryholiday.html?cate_no=" + cateNum[3]; 1478 $("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > a").attr("href",myHref); 1479 } 1480 } 1481 }else if(href.includes("list_w.standard.html")){ 1482 for(var i = 0; i < $("#contents.c_sub .cs_category .menuCategory > li").length; i++){ 1483 for(var j = 0; j < $("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li").length; j++){ 1484 var cateHref = $("#contents.c_sub .cs_ca
1484tegory .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > a").attr("href"); 1485 var cateNum = cateHref.split("/"); 1486 var myHref = "/product/list_w.standard.html?cate_no=" + cateNum[3]; 1487 $("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > a").attr("href",myHref); 1488 } 1489 } 1490 }else if(href.includes("list_lookbook.html")){ 1491 $("#contents.c_sub .cs_cate .menuCategory > li").addClass("blind"); 1492 for(var i = 0; i < $("#contents.c_sub .menuCategory > li").length; i++){ 1493 if($("#contents.c_sub .menuCategory > li:eq("+i+")").attr("name") == "LOOKBOOK"){ 1494 $("#contents.c_sub .menuCategory > li:eq("+i+")").removeClass("blind"); 1495 $("#contents.c_sub .menuCategory > li:eq("+i+") > a").addClass("blind"); 1496 } 1497 for(var j = 0; j < $("#contents.c_sub .menuCategory > li:eq("+i+") > ul > li").length; j++){ 1498 var cateHref = $("#contents.c_sub .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > 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+") > a").attr("href",myHref); 1502 for(var k = 0; k < $("#contents.c_sub .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > .button > ul > li").length; k++){ 1503 var cateHref = $("#contents.c_sub .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > .button > ul > li:eq("+k+") a").attr("href"); 1504 var cateNum = cateHref.split("/"); 1505 var myHref = "/product/list_lookbook.html?cate_no=" + cateNum[3]; 1506 $("#contents.c_sub .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > .button > ul > li:eq("+k+") a").attr("href",myHref); 1507 } 1508 } 1509 } 1510 }else if(href.includes("list_loveit.html")){ 1511 $("#contents.c_sub .cs_cate .menuCategory > li").addClass("blind"); 1512 for(var i = 0; i < $("#contents.c_sub .cs_cate .menuCategory > li").length; i++){ 1513 if($("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+")").attr("name") == "WONDER LOOK"){ 1514 $("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+")").removeClass("blind"); 1515 $("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+") > a").addClass("blind"); 1516 } 1517 for(var j = 0; j < $("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+") > ul > li").length; j++){ 1518 var cateHref = $("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > 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+") > a").attr("href",myHref); 1522 for(var k = 0; k < $("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > .button > ul > li").length; k++){ 1523 var cateHref = $("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > .button > ul > li:eq("+k+") a").attr("href"); 1524 var cateNum = cateHref.split("/"); 1525 var myHref = "/product/list_loveit.html?cate_no=" + cateNum[3]; 1526 $("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > .button > ul > li:eq("+k+") a").attr("href",myHref); 1527 } 1528 } 1529 } 1530 }else if(href.includes("list_wondercrew.html")){ 1531 $("#contents.c_sub .cs_cate .menuCategory > li").addClass("blind"); 1532 for(var i = 0; i < $("#contents.c_sub .cs_cate .menuCategory > li").length; i++){ 1533 if($("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+")").attr("name") == "WONDER CREW"){ 1534 $("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+")").removeClass("blind"); 1535 $("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+") > a").addClass("blind"); 1536 } 1537 for(var j = 0; j < $("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+") > ul > li").length; j++){ 1538 var cateHref = $("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > 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+") > a").attr("href",myHref); 1542 for(var k = 0; k < $("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > .button > ul > li").length; k++){ 1543 var cateHref = $("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > .button > ul > li:eq("+k+") a").attr("href"); 1544 var cateNum = cateHref.split("/"); 1545 var myHref = "/product/list_wondercrew.html?cate_no=" + cateNum[3]; 1546 $("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > .button > ul > li:eq("+k+") a").attr("href",myHref); 1547 } 1548 } 1549 } 1550 }else if(href.includes("list_seeing.html")){ 1551 $("#contents.c_sub .cs_cate .menuCategory > li").addClass("blind"); 1552 for(var i = 0; i < $("#contents.c_sub .cs_cate .menuCategory > li").length; i++){ 1553 if($("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+")").attr("name") == "SEEING"){ 1554 $("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+")").removeClass("blind"); 1555 $("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+") > a").addClass("blind"); 1556 } 1557 for(var j = 0; j < $("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+") > ul > li").length; j++){ 1558 var cateHref = $("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > 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+") > a").attr("href",myHref); 1562 for(var k = 0; k < $("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > .button > ul > li").length; k++){ 1563 var cateHref = $("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > .button > ul > li:eq("+k+") a").attr("href"); 1564 var cateNum = cateHref.split("/"); 1565 var myHref = "/product/list_seeing.html?cate_no=" + cateNum[3]; 1566 $("#contents.c_sub .cs_cate .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > .button > ul > li:eq("+k+") a").attr("href",myHref); 1567 } 1568 } 1569 } 1570 }else if(href.includes("list_brand.html")){ 1571 for(var i = 0; i < $("#contents.c_sub .cs_category .menuCategory > li").length; i++){ 1572 for(var j = 0; j < $("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li").length; j++){ 1573 var cateHref = $("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > a").attr("href"); 1574 var cateNum = cateHref.split("/"); 1575 var myHref = "/product/list_brand.html?cate_no=" + cateNum[3]; 1576 $("#contents.c_sub .cs_category .menuCategory > li:eq("+i+") > ul > li:eq("+j+") > a").attr("href",myHref); 1577 } 1578 } 1579 } 1580 1581 1582 1583 1584 1585 1586 1587 // if($("#productbanner .p_pic img").length != 0){
1588 // for(var i = 0; i < $("#productbanner .p_pic img").length; i ++){ 1589 // var src = $("#productbanner .p_pic img").attr("src"); 1590 // $("#productbanner .p_pic").css('background-image', 'url('+src+')'); 1591 // } 1592 // var href = window.location.href; 1593 // if(href.match("list.html")){ 1594 // if(!href.match("search_form") && !href.match("page")){ 1595 // $("body").addClass("hasbanner"); 1596 // } 1597 // } 1598 // } 1599 1600 if($('#metades').length){ 1601 $('#metades').text($('meta[name="author"]').attr('content')); 1602 } 1603 1604 1605}); 1606/** 1607 * Owl Carousel v2.2.1 1608 * Copyright 2013-2017 David Deutsch
vendor: 42,703 bytes, lines 1608-1612
1608 1609 * Licensed under () 1610 */ 1611!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)}, 1612a.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);
1612 1613$(function(){ 1614 if (typeof(EC_SHOP_MULTISHOP_SHIPPING) != "undefined") { 1615 var sShippingCountryCode4Cookie = 'shippingCountryCode'; 1616 var bShippingCountryProc = false; 1617 1618 // ë°°ì¡êµê° ì í ì¤ì ì´ ì¬ì©ìí¨ì´ë©´ ì¨ê¹ 1619 if (EC_SHOP_MULTISHOP_SHIPPING.bMultishopShippingCountrySelection === false) { 1620 $('.xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist').hide(); 1621 $('.xans-layout-multishoplist .xans-layout-multishoplistmultioption .xans-layout-multishoplistmultioptioncountry').hide(); 1622 } else { 1623 $('.thumb .xans-layout-multishoplistitem').hide(); 1624 var aShippingCountryCode = document.cookie.match('(^|;) ?'+sShippingCountryCode4Cookie+'=([^;]*)(;|$)'); 1625 if (typeof(aShippingCountryCode) != 'undefined' && aShippingCountryCode != null && aShippingCountryCode.length > 2) { 1626 var sShippingCountryValue = aShippingCountryCode[2]; 1627 } 1628 1629 // query stringì¼ë¡ ëì´ ì¨ ë°°ì¡êµê° ê°ì´ ìë¤ë©´, ê·¸ ê°ì ì ì©í¨ 1630 var aHrefCountryValue = decodeURIComponent(location.href).split("/?country="); 1631 1632 if (aHrefCountryValue.length == 2) { 1633 var sShippingCountryValue = aHrefCountryValue[1]; 1634 } 1635 1636 // ë©ì¸ íì´ì§ìì êµê°ì íì ìí ê²½ì°, ê·¸ ì¸ì íì´ì§ìì ì í ë ê°ì´ ì ëì¤ë íì ì²ë¦¬ 1637 if (location.href.split("/").length != 4 && $(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val()) { 1638 $(".xans-layout-multishoplist .xans-layout-multishoplistmultioption a .ship span").text(" : "+$(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist option:selected").text().split("SHIPPING TO : ").join("")); 1639 1640 if ($("#f_country").length > 0 && location.href.indexOf("orderform.html") > -1) { 1641 $("#f_country").val($(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val()); 1642 } 1643 } 1644 if (typeof(sShippingCountryValue) != "undefined" && sShippingCountryValue != "" && sShippingCountryValue != null) { 1645 sShippingCountryValue = sShippingCountryValue.split("#")[0]; 1646 var bShippingCountryProc = true; 1647 1648 $(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val(sShippingCountryValue); 1649 $(".xans-layout-multishoplist .xans-layout-multishoplistmultioption a .ship span").text(" : "+$(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist option:selected").text().split("SHIPPING TO : ").join("")); 1650 var expires = new Date(); 1651 expires.setTime(expires.getTime() + (30 * 24 * 60 * 60 * 1000)); // 30ì¼ê° ì¿ í¤ ì ì§ 1652 document.cookie = sShippingCountryCode4Cookie+'=' + $(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val() +';path=/'+ ';expires=' + expires.toUTCString(); 1653 if ($("#f_country").length > 0 && location.href.indexOf("orderform.html") > -1) { 1654 $("#f_country").val(sShippingCountryValue).change(); 1655 } 1656 } 1657 } 1658 // ì¸ì´ì í ì¤ì ì´ ì¬ì©ìí¨ì´ë©´ ì¨ê¹ 1659 if (EC_SHOP_MULTISHOP_SHIPPING.bMultishopShippingLanguageSelection === false) { 1660 $('.xans-layout-multishopshipping .xans-layout-multishopshippinglanguagelist').hide(); 1661 $('.xans-layout-multishoplist .xans-layout-multishoplistmultioption .xans-layout-multishoplistmultioptionlanguage').hide(); 1662 } else { 1663 $('.thumb .xans-layout-multishoplistitem').hide(); 1664 } 1665 1666 // ë°°ì¡êµê° ë° ì¸ì´ ì¤ì ì´ ë ë¤ ì¬ì©ìí¨ì´ë©´ ì¨ê¹ 1667 if (EC_SHOP_MULTISHOP_SHIPPING.bMultishopShipping === false) { 1668 $(".xans-layout-multishopshipping").hide(); 1669 $('.xans-layout-multishoplist .xans-layout-multishoplistmultioption').hide(); 1670 } else if (bShippingCountryProc === false && location.href.split("/").length == 4) { // ë°°ì¡êµê° ê°
1670ì ì²ë¦¬í ì ì´ ìê³ , ë©ì¸íë©´ì¼ ëë§ ì í ë ì´ì´ë¥¼ ëì 1671 var sShippingCountryValue = $(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val(); 1672 $(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val(sShippingCountryValue); 1673 $(".xans-layout-multishoplist .xans-layout-multishoplistmultioption a .ship span").text(" : "+$(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist option:selected").text().split("SHIPPING TO : ").join("")); 1674 // ë°°ì¡êµê° ì íì ì¬ì©í´ì¼ ë ì´ì´ë¥¼ ë³´ì´ê² í¨ 1675 if (EC_SHOP_MULTISHOP_SHIPPING.bMultishopShippingCountrySelection === true) { 1676 $(".xans-layout-multishopshipping").show(); 1677 } 1678 } 1679 1680 $(".xans-layout-multishopshipping .close").on("click", function() { 1681 $(".xans-layout-multishopshipping").hide(); 1682 }); 1683 1684 $(".xans-layout-multishopshipping .ec-base-button a").on("click", function() { 1685 var expires = new Date(); 1686 expires.setTime(expires.getTime() + (30 * 24 * 60 * 60 * 1000)); // 30ì¼ê° ì¿ í¤ ì ì§ 1687 document.cookie = sShippingCountryCode4Cookie+'=' + $(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val() +';path=/'+ ';expires=' + expires.toUTCString(); 1688 1689 // ëë©ì¸ 문ì ë¡ ì¿ í¤ë¡ ë°°ì¡êµê° ì¤ì ì´ ì ëë ê²½ì°ë¥¼ ìí´ query stringì¼ë¡ ë°°ì¡êµê° ê°ì ëê¹ 1690 var sQuerySting = (EC_SHOP_MULTISHOP_SHIPPING.bMultishopShippingCountrySelection === false) ? "" : "/?country="+encodeURIComponent($(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val()); 1691 1692 location.href = '//'+$(".xans-layout-multishopshipping .xans-layout-multishopshippinglanguagelist").val()+sQuerySting; 1693 }); 1694 $(".xans-layout-multishoplist .xans-layout-multishoplistmultioption a").on("click", function() { 1695 $(".xans-layout-multishopshipping").show(); 1696 }); 1697 } 1698});
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.