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