').hide(),s.append(a.html()),s.find(".close").on("click",o),e("body").append(r).append(s).css("overflow","hidden"),r.slideDown(function(){s.fadeIn("fast")})}function o(){s.fadeOut("fast",function(){r.slideUp("fast",function(){s.remove(),r.remove(),e("body").css("overflow","")})})}var a,s,r;return i(),{show:n,hide:o}},ss.Popover=function(t,i){function n(){var e=setTimeout(function(){clearTimeout(e),s.focus()},50)}function o(){c&&clearTimeout(c),c=setTimeout(function(){var t=e(".popover.in .popover-content").find("button, a, input, select, [tabindex]").first();t.focus()},100)}function a(){i.hoverActivated=!0,i.handleFocusOnHide="function"==typeof i.handleFocusOnHide?i.handleFocusOnHide:n,i.handleFocusOnShow="function"==typeof i.handleFocusOnShow?i.handleFocusOnShow:o;try{s=e(t)}catch(a){s=e(document.getElementById(t.substr(1)))}s.popover(i),s.on("show.bs.popover",function(e){l.interOp2Show&&"function"==typeof l.interOp2Show?l.interOp2Show(l):(ss.Popover.hideActive(e),eventBridge.trigger(jQuery.Event(eventDictionary.popover.EVENT_POPOVER_SHOW),this),r=ss.accessibilityManager.fromKeyboard(e))}),s.on("hidden.bs.popover",function(e){return l.tapProtect?(l.interOp2Hide&&"function"==typeof l.interOp2Hide&&l.interOp2Hide(l),void(d=!1)):(ss.Popover.activePopover=void 0,eventBridge.trigger(jQuery.Event(eventDictionary.popover.EVENT_POPOVER_HIDE),this),void(d=!1))}),s.on("shown.bs.popover",function(){ss.Popover.activePopover=l,r&&i.handleFocusOnShow(),d=!0}),i.lightbox&&s.on("shown.bs.popover",function(){var t=containerP=e(".popover.in");i.container&&(t=e(i.container).find(".popover.in"),containerP=e(i.container)),t.addClass("lightbox"),t.find(".arrow").hide(),e(".lightbox-skrim").remove(),e("body").append('');var n=e(window).outerWidth();n>1280&&-1!=navigator.userAgent.indexOf("MSIE 8")&&(n=1280);var o=e(window).scrollTop(),a=o+Math.round((e(window).outerHeight()-t.outerHeight())/2);0>a?a=0:o>a&&(a=o),t.css({left:-1*t.parent().offset().left+Math.round((n-t.outerWidth())/2),top:a})}),e(window).on("resize",function(t){if(d){var i=containerP=e(".popover.in"),n=e(window).outerWidth();n>1280&&-1!=navigator.userAgent.indexOf("MSIE 8")&&(n=1280);var o=e(window).scrollTop(),a=o+Math.round((e(window).outerHeight()-i.outerHeight())/2);0>a?a=0:o>a&&(a=o),i.css({left:-1*i.parent().offset().left+Math.round((n-i.outerWidth())/2),top:a});var s=setTimeout(function(){clearTimeout(s);var e=!1;document.activeElement&&("textarea"==document.activeElement.tagName.toLowerCase()?e=!0:"input"==document.activeElement.tagName.toLowerCase()&&"text"==document.activeElement.type.toLowerCase()&&(e=!0))},400)}})}var s,r,c=null,l=this,d=!1;return this.targetElementSelector=t,this.hideOnScroll=i.hideOnScroll===!0,this.interOp2Show=i.interOp2Show,this.interOp2Hide=i.interOp2Hide,this.tapProtect=i.tapProtect,this.toggle=function(){s.popover("toggle")},this.showOnly=function(){s.popover("showOnly"),d=!0},this.show=function(){s.popover("show")},this.hide=function(e,t){l.tapProtect?t===!0&&(s.popover("hide"),e&&i.handleFocusOnHide()):(s.popover("hide"),e&&i.handleFocusOnHide())},a(),this},ss.Popover.handleKbActions=function(t){if(27===t.which)ss.Popover.hideActive(!0);else if(9===t.which)var i=setTimeout(function(){clearTimeout(i),e(":focus").parents(".popover.in").length||ss.Popover.hideActive(!0)},100)},ss.Popover.hideActive=function(){var t=arguments[0],i=arguments[1];if("boolean"==typeof t){if("object"==typeof i)return i.parents?i.parents(".popover.in")[0]&&i.parents(".popover.in")[0].chainObj&&i.parents(".popover.in")[0].chainObj.hideOnly(!0):e(".show.popover.in")[0]&&e(".show.popover.in")[0].chainObj?e(".show.popover.in")[0].chainObj.hideOnly(!0):ss.Popover.activePopover&&ss.Popover.activePopover.hide(t===!0,i),void e(".lightbox-skrim").remove()}else{if(!ss.Popover.activePopover)return;if(("scroll"===t.type||"resize"===t.type)&&e("html").hasClass("touch"))return;if(("scroll"===t.type||"resize"===t.type)&&(e(".popover.in").hasClass("lightbox")||e(".popover.in").attr("data-tap-scroll-override")))return;if(e(".popover.in").hasClass("lightbox")&&!e(t.target).is(".lightbox-skrim")&&e(t.target).is(".close-button"))return}(t===!0||"resize"===t.type||"scroll"===t.type&&ss.Popover.activePopover.hideOnScroll||"scroll"!==t.type&&"resize"!==t.type&&0===e(t.target).closest(".popover, "+ss.Popover.activePopover.targetElementSelector).length)&&(e(".lightbox-skrim").remove(),ss.Popover.activePopover.hide(t===!0,t))},e(function(){e("body").on("tap",function(e){ss.Popover.hideActive(e)}),e(".scrollwrapper").on("scroll",function(e){ss.Popover.hideActive(e)}),e("body").on("keydown",".popover.in",function(e){ss.Popover.handleKbActions(e)}),e("body").on("click",".popover.in .close-button,.icon-close-x:not(.hide-parent)",function(t){e(this).parents(".popover.in")[0]&&e(this).parents(".popover.in")[0].chainObj?ss.Popover.hideActive(!0,e(this)):ss.Popover.hideActive(!0,t)}),e("body").on("click",".popover.in .y_btnMore",function(){e(this).parent().find("ul").height("100%"),e(this).hide()})})}(jQuery);var ss=$;!function(e){ss.Benefit=function(t){function i(){return o(),f.data("ignore")===!0?!1:(m.each(function(t,i){g.push(h?new ss.Benefit.FeatureMobile({index:t,container:e(i),parentContainer:f,animationPlayer:I,playButton:v,innerCopy:e(f.children(".inner.copy")[t]),controls:y,featureAnimatingCB:n}):new ss.Benefit.FeatureDesktop({index:t,container:e(i),parentContainer:f,animationPlayer:I,innerCopy:e(f.children(".inner.copy")[t]),controls:y,featureAnimatingCB:n}))}),a(),void d(!1,!0))}function n(e){p=e}function o(){if(x>1){var t=e("
    ");m.each(function(i){var n=e('
  • Slide '+(i+1)+"
  • ");t.append(n)}),b.append(t)}}function a(){s(ss.metrics),c(null,ss.metrics),eventBridge.on(eventDictionary.global.SCROLL,c),eventBridge.on(eventDictionary.global.RESIZE,function(t,i){var n=setTimeout(function(){s(i),ss.metrics.device!==T&&(T=ss.metrics.device,e.each(g,function(e){this.reinit()})),c(null,i),clearTimeout(n)},200)}),b.on("fastclick","li",function(){if(!p&&!e(this).hasClass("current")){P=E,E=Number(e(this).attr("data-page"));var t=!1;Math.abs(E-P)>1&&(t=!0),g[E].setMostRecentActiveElement(),d(t,!1)}}),w.on("fastclick",function(){p||(P=E,0===E?E=x-1:E--,g[E].setMostRecentActiveElement(),d(!1,!1))}),C.on("fastclick",function(){p||(P=E,E===x-1?E=0:E++,g[E].setMostRecentActiveElement(),d(!1,!1))}),h&&f.swipe({swipeLeft:function(e,t,i,n,o){x-1>E&&!p&&(P=E,E++,d(!1,!1))},swipeRight:function(e,t,i,n,o){E>0&&!p&&(P=E,E--,d(!1,!1))},excludedElements:"",threshold:200,pdpWowScroll:!0})}function s(e){var t,i=ss.metrics.device;switch(i){case"mobile":t=1.43;break;case"mobile-landscape":t=.51875;break;case"tablet-portrait":t=1.43;break;case"tablet-landscape":t=.51875;break;case"desktop":t=.51875}k=f.width()*t,f.height(k)}function r(e){var t=ss.metrics.elemTop(f);return ss.metrics.scrollBottom>t+.5*k&&ss.metrics.scrollTop0&&(eventBridge.on(eventDictionary.videoPlayer.EVENT_SHOW_VIDEO,function(){z=!0}),eventBridge.on(eventDictionary.videoPlayer.EVENT_HIDE_VIDEO,function(){z=!1}))}function o(){if(_=!0,j.css({opacity:1}),ss.metrics.isIE()){var e,t=!1;D.addEventListener("canplay",function(){t=!0,clearTimeout(e),s()}),e=setTimeout(function(){clearTimeout(e),t||D.load()},5e3)}else D.addEventListener("canplay",s);O.append(I),a()}function a(){var e=ss.metrics.device;ss.metrics.width>=768&&ss.metrics.width<1024&&(e="tablet-portrait");var t=O.data("src-mpeg-"+e),i=O.data("src-webm-"+e),n=document.domain,o=(navigator.appName,"samsung-test.web.rga.com"),a="samsung-stg.web.rga.com";$.removeAttr("src"),$.removeAttr("preload"),n!==o||ss.metrics.isIE()?n!==a||ss.metrics.isIE()?ss.metrics.isIE()&&"tablet-portrait"===e?($.children('[data-src-type="mpeg"]').attr("src",O.data("src-mpeg-mobile")),$.children('[data-src-type="webm"]').attr("src",O.data("src-webm-mobile"))):($.children('[data-src-type="mpeg"]').attr("src",t),$.children('[data-src-type="webm"]').attr("src",i)):($.children('[data-src-type="mpeg"]').attr("src","http://admin:Iatiadaiv1@samsung-stg.web.rga.com"+t),$.children('[data-src-type="webm"]').attr("src","http://admin:Iatiadaiv1@samsung-stg.web.rga.com"+i)):($.children('[data-src-type="mpeg"]').attr("src","http://admin:ekVoszaj2@samsung-test.web.rga.com"+t),$.children('[data-src-type="webm"]').attr("src","http://admin:ekVoszaj2@samsung-test.web.rga.com"+i)),ss.metrics.isIE()&&D.load()}function s(){D.removeEventListener("canplay",s),_=!1,r(),D.currentTime=0,S&&c()}function r(e){e="undefined"!=typeof e?e:!1,D.pause(),A=!0,e&&D.removeAttribute("src")}function c(){j.css({opacity:0}),D.addEventListener("ended",d),e(document).on("keydown",function(e){return 9!==e.which||e.shiftKey?void 0:(e.preventDefault(),!1)}),E(!0),f(),v(),P.css({opacity:0}),x.animate({opacity:0},250,function(){x.css("visibility","hidden")}),L=!0,D.play(),A=!1}function l(){W&&(w[0]===W||e.contains(w[0],W))&&(x.focus(),setTimeout(function(){x.focus()},200)),W=null}function d(){D.removeEventListener("ended",d),V=!0,L=!1,r(),P.css({opacity:1}),x.css("visibility","visible").animate({opacity:1},250),h();var t=setTimeout(function(){clearTimeout(t),m(),u(),E(!1)},1e3);e(document).off("keydown"),x.focus(),l()}function u(){C.animate({opacity:1},250).removeClass("cursor-default")}function f(){C.animate({opacity:0},250).addClass("cursor-default"),B.hide()}function h(){B.css({opacity:1}).show()}function p(){B.css({opacity:0}).hide()}function v(){$.show(),O.show()}function m(){$.hide(),O.hide()}function g(){if(R.length>0){var e,t=ss.metrics.device;switch(t){case"mobile":e=1.43;break;case"mobile-landscape":e=.51875;break;case"tablet-portrait":e=1.43;break;case"tablet-landscape":e=.51875;break;case"desktop":e=.51875}var i=R.width()*e,n=y.height();i>n&&0!==n&&(i=n),R.height(i);var o=R.children(".close-video-bar");H.height(i-o.height()),R.css({top:y.parent()[0].offsetTop})}}var y=t.container,b=t.index,w=t.parentContainer,C=t.controls,E=t.featureAnimatingCB,P=y.find(".static-frame"),x=t.innerCopy,T=!1,k=!1,S=!1,I=t.animationPlayer,O=y.find(".animation-player-container"),$=I,D=$.get(0),_=!1,L=!1,A=!1,V=!1,M=Modernizr.mq("only all"),N=e("body").hasClass("lowbandwidth"),B=e("#"+y.data("promo-video-play-button-id")),R=e(".benefit-promo-video[data-benefit-promo-video="+B.data("target-video")+"]"),H=R.find(".BrightcoveExperience"),z=!1,W=null,j=y.prevAll(".feature").find(".static-frame"),F=!I.length||!M||N;i(),n(),this.init=function(){F||!M||N||_||L||V||!S?L&&S&&D.play():O.length>0?(f(),T=!0,k=!0,o()):(T=!0,k=!0),R.length>0&&z&&e(eventBridge).trigger(eventDictionary.videoPlayer.EVENT_UNPAUSE_VIDEO),g()},this.deactivate=function(){k=!1,!F&&M&&!N&&S&&L&&!A&&r(!0),R.length>0&&z&&e(eventBridge).trigger(eventDictionary.videoPlayer.EVENT_PAUSE_VIDEO)},this.reinit=function(){T&&S&&k&&(L=!1,V=!1,this.init())},this.show=function(e,t){S=!0,e&&!F&&M&&!N||!F&&M&&!t&&!N?O.length>0?(f(),o()):d():(e||F||!M||N)&&(E(!0),P.animate({opacity:1},250),x.css("visibility","visible").animate({opacity:1},250,function(){E(!1)}))},this.hide=function(e){S=!1,e&&!F&&M?(E(!0),P.animate({opacity:0},250),x.animate({opacity:0},250,function(){x.css("visibility","hidden")})):e||F||!M||N?(E(!0),P.animate({opacity:0},250),x.animate({opacity:0},250,function(){E(!1),x.css("visibility","hidden")})):(P.css({opacity:0}),x.css({opacity:0,visibility:"hidden"}),m()),p()},this.setMostRecentActiveElement=function(){W=document.activeElement},this.promoVideoIsShowing=function(){return z},this.reposition=function(){g()}},ss.Benefit.FeatureMobile=function(t){function i(){0===E&&(I.css({opacity:1}),O.css({opacity:1,visibility:"visible"})),L.append(_.clone()),b=L.find("video"),w=b.get(0),S(!0),y(),q||B||(h(),s())}function n(){0===E&&x.on("fastclick",function(){x.hide(),c()}),H.length>0&&(eventBridge.on(eventDictionary.videoPlayer.EVENT_SHOW_VIDEO,function(){W=!0,H.css({width:"100%"}),y()}),eventBridge.on(eventDictionary.videoPlayer.EVENT_HIDE_VIDEO,function(){W=!1,H.css({height:"0",width:"0"})}))}function o(){V=!0,A=!1,0===E&&x.show(),a()}function a(){var e=ss.metrics.device;ss.metrics.width>=768&&ss.metrics.width<1024&&(e="tablet-portrait");var t=L.data("src-mpeg-"+e),i=L.data("src-webm-"+e),n=document.domain,o=(navigator.appName,"samsung-test.web.rga.com"),a="samsung-stg.web.rga.com";b.removeAttr("src"),b.attr("src",t),n!==o||ss.metrics.isIE()?n!==a||ss.metrics.isIE()?ss.metrics.isIE()&&"tablet-portrait"===e?(b.children('[data-src-type="mpeg"]').attr("src",L.data("src-mpeg-mobile")),b.children('[data-src-type="webm"]').attr("src",L.data("src-webm-mobile"))):(b.children('[data-src-type="mpeg"]').attr("src",t),b.children('[data-src-type="webm"]').attr("src",i)):(b.children('[data-src-type="mpeg"]').attr("src","http://admin:Iatiadaiv1@samsung-stg.web.rga.com"+t),b.children('[data-src-type="webm"]').attr("src","http://admin:Iatiadaiv1@samsung-stg.web.rga.com"+i)):(b.children('[data-src-type="mpeg"]').attr("src","http://admin:ekVoszaj2@samsung-test.web.rga.com"+t),b.children('[data-src-type="webm"]').attr("src","http://admin:ekVoszaj2@samsung-test.web.rga.com"+i)),b.load()}function s(){ss.metrics.isIOS()&&(w.addEventListener("canplaythrough",d),b.load())}function r(e){e="undefined"!=typeof e?e:!1,w.pause(),N=!0,e&&w.removeAttribute("src")}function c(){U?(w.addEventListener("ended",u),S(!0),h(),m(),I.css({opacity:0}),O.animate({opacity:0},250,function(){O.css("visibility","hidden")}),M=!0,w.play()):(G.css({opacity:1}),S(!0),h(),ss.metrics.isIOS()&&(w.addEventListener("canplaythrough",d),b.load()),w.addEventListener("timeupdate",d),M=!0,w.play()),N=!1,l()}function l(){if(j&&(P[0]===j||e.contains(P[0],j))){O.focus();var t=setTimeout(function(){O.focus(),clearTimeout(t)},200)}j=null}function d(){ss.metrics.isIOS()&&w.removeEventListener("canplaythrough",d),w.removeEventListener("timeupdate",d),w.addEventListener("ended",u),w.addEventListener("webkitendfullscreen",u),r(),m(),I.css({opacity:0}),O.animate({opacity:0},250,function(){O.css("visibility","hidden")}),M=!0,w.play(),G.css({opacity:0})}function u(){w.removeEventListener("ended",u),w.removeEventListener("webkitendfullscreen",u),w.webkitExitFullScreen(),M=!1,r(),I.css({opacity:1}),O.css("visibility","visible").animate({ opacity:1},250),F?F=!1:p();var e=setTimeout(function(){clearTimeout(e),g(),f(),S(!1)},1e3)}function f(){T.animate({opacity:1},250)}function h(){T.animate({opacity:0},250),R.hide()}function p(){R.css({opacity:1}).show()}function v(){R.css({opacity:0}).hide()}function m(){b.show(),L.show()}function g(){b.hide(),L.hide(),x.hide()}function y(){if(H.length>0){var e,t=ss.metrics.device;switch(t){case"mobile":e=1.43;break;case"mobile-landscape":e=.51875;break;case"tablet-portrait":e=1.43;break;case"tablet-landscape":e=.51875;break;case"desktop":e=.51875}var i=H.width()*e,n=C.height();i>n&&0!==n&&(i=n),H.height(i);var o=H.children(".close-video-bar");z.height(i-o.height()),H.css({top:ss.metrics.elemTop(C)})}}var b,w,C=t.container,E=t.index,P=t.parentContainer,x=t.playButton,T=t.controls,k=T.not(".arrow"),S=t.featureAnimatingCB,I=C.find(".static-frame"),O=t.innerCopy,$=!1,D=!1,_=t.animationPlayer,L=C.find(".animation-player-container"),A=!1,V=!1,M=!1,N=!1,B=e("body").hasClass("lowbandwidth"),R=e("#"+C.data("promo-video-play-button-id")),H=e(".benefit-promo-video[data-benefit-promo-video="+R.data("target-video")+"]"),z=H.find(".BrightcoveExperience"),W=!1,j=null,F=!1,U=-1!==navigator.userAgent.indexOf("Linux; U; Android"),G=C.prevAll(".feature").find(".static-frame"),Q=Modernizr.mq("only all"),q=!_.length||!Q||B;i(),n(),this.init=function(){$||q||B||A||V||M?M&&w.play():(h(),$=!0,o()),H.length>0&&W&&e(eventBridge).trigger(eventDictionary.videoPlayer.EVENT_UNPAUSE_VIDEO),y()},this.deactivate=function(){q||B||M&&!N&&r(!0),H.length>0&&W&&e(eventBridge).trigger(eventDictionary.videoPlayer.EVENT_PAUSE_VIDEO)},this.reinit=function(){$&&(q||B||(F=!0,r(!0),h(),v(),o())),y()},this.show=function(e){D=!0,V?c():e||q||B?(S(!0),I.animate({opacity:1},250),O.css("visibility","visible").animate({opacity:1},250,function(){S(!1)})):(I.css({opacity:1}),O.css({opacity:1,visibility:"visible"})),O.hasClass("right")?k.addClass("mobile-left"):k.removeClass("mobile-left")},this.hide=function(e){D=!1,!e||q||B?e&&q&&B?(S(!0),I.animate({opacity:0},250),O.animate({opacity:0},250,function(){S(!1),O.css("visibility","hidden")})):(I.css({opacity:0}),O.css({opacity:0,visibility:"hidden"}),g()):(S(!0),I.animate({opacity:0},250),O.animate({opacity:0},250,function(){O.css("visibility","hidden")})),v()},this.setMostRecentActiveElement=function(){j=document.activeElement},this.promoVideoIsShowing=function(){return W},this.reposition=function(){y()}}}(jQuery);var ss=$;!function(e){ss.BenefitAnimation=function(t){function i(){n(),d.load(function(){s(null,ss.metrics)}),d.css("visibility","hidden"),u.each(function(t,i){f.push(new ss.BenefitAnimation.Feature({container:e(i)}))}),o(),r(),a(null,ss.metrics),eventBridge.on(eventDictionary.global.SCROLL,a)}function n(){if(y>1){var t=e("
      ");u.each(function(i){var n=e('
    • Slide '+(i+1)+"
    • ");t.append(n)}),h.append(t)}}function o(){eventBridge.on(eventDictionary.global.RESIZE,s),h.on("fastclick","li",function(){e(this).hasClass("current")||(g=m,m=Number(e(this).attr("data-page")),r())}),p.on("fastclick",function(){g=m,0===m?m=y-1:m--,r()}),v.on("fastclick",function(){g=m,m===y-1?m=0:m++,r()})}function a(e,t){t.scrollBottom>t.elemTop(l)+.5*l.height()&&f[m].init()}function s(e,t){l.height(d.height())}function r(){var t=h.find("li");t.removeClass("current"),e(t[m]).addClass("current"),0===m?(p.hide(),v.show()):m===y-1?(p.show(),v.hide()):(p.show(),v.show()),c()}function c(){g!==m&&f[g].hide(),f[m].show()}var l=t.container,d=l.find(".zero-pose"),u=l.find(".feature"),f=[],h=l.find(".dots"),p=l.find(".arrow.prev"),v=l.find(".arrow.next"),m=0,g=0,y=u.length;i()},ss.BenefitAnimation.Feature=function(e){function t(){a=!0;var e=o.get(0);e.addEventListener("canplaythrough",function(e){}),o.attr("src",o.attr("data-src-"+ss.metrics.device))}var i=e.container,n=i.find(".static-frame"),o=i.find("video"),a=!1,s=!1,r=Modernizr.mq("only all");this.init=function(){!r||a||s||t()},this.show=function(){s||n.fadeIn()},this.hide=function(){n.fadeOut()}}}(jQuery);var ss=$;!function(e){function t(e){i||"function"==typeof sendClickCode&&sendClickCode("content_click_count",e)}var i=!1;ss.Carousel=function(n,o,a){var s,r,c={rotate:n.find(".pag .auto-rotate").length?!0:!1,curr:0,speed:300},l=!1,d=e.extend(c,o);return i=e("body").hasClass("pdp_standard"),{el:n,slider:null,curr:parseInt(d.curr),rotate:Boolean(d.rotate),lis:null,timer:null,rotateSpeed:7,speed:parseInt(d.speed),carouselSwipe:null,callFn:null,autoPlay:function(){var e=this;l||(l=!0,s=setInterval(function(){try{e.slider.find(".close-youtube-player").trigger("click"),e.slider.find(".close-video-player").trigger("click")}catch(t){}e.carouselSwipe.next()},1e3*e.rotateSpeed))},init:function(){var t=this,i=t.el.find(".viewer").attr("id");t.viewer=t.el.find(".viewer"),t.slider=t.viewer.children("ul").first(),t.lis=t.slider.children("li"),t.lis.length>1&&(t.createDots(),t.createPlayPause()),t.carouselSwipe=new Swipe(document.getElementById(i),{callback:function(e){t.slideComplete(!0)},startSlide:t.curr,auto:0,continuous:!0,speed:t.speed,isRTL:e("html").hasClass("rtl")}),t.el.is(":visible")&&(t.setLinkTabIndex(),t.trackInnerLinks()),e(eventBridge).on(eventDictionary.dom.DOM_REFRESH,function(){t.carouselSwipe.setup(!0)}),t.slideComplete(!1),t.bindEvents(),t.el.find(".auto-rotate").length>0&&t.lis.length>1&&(r=setTimeout(function(){t.autoPlay()},5e3));var n=navigator.userAgent.toLowerCase();n.indexOf("msie")>=0&&parseFloat(/msie ([\d]+)/.exec(n)[1])<10?t.el.find(".kv-default-area").css("display","none"):t.el.find(".kv-default-area a").removeAttr("href")},bindEvents:function(){var i=this;i.el.find(".next, .prev").on("click",function(){e(this).hasClass("prev")?(i.carouselSwipe.prev(),t("kv rolling:leftarrow_"+(i.carouselSwipe.getPos()+1))):(i.carouselSwipe.next(),t("kv rolling:rightarrow_"+(i.carouselSwipe.getPos()+1))),e(".close-video").trigger("click"),e(".close-video-player").trigger("click"),e(".close-youtube-player").trigger("click")}),i.el.find(".play-btn").on("click",function(){var e=i.el.find(".pag").find(".dots li a").end().find("#cPlayPause");e.hasClass("paused")||e.trigger("click")}),eventBridge.on(eventDictionary.carousel.CAROUSEL_SWIPE_RESURRECT,function(t,n){e(n).find(i.el).hasClass("killed")&&(i.carouselSwipe.resurrect(),i.carouselSwipe.setup())}),i.carouselSwipe.swipeEvent=function(){l&&(l=!1,clearInterval(s),i.autoPlay())},i.el.on("click","a.close-video",function(e){var t=e.target;("close-btn"===t.className||"close-video"===t.className)&&(i.carouselSwipe.resurrect(),i.carouselSwipe.setup())}),i.el.find(".pag").find(".dots li a").on("click touchend",function(n){var o=e(this),a=parseInt(o.data("index"));e(".close-video").trigger("click"),e(".close-video-player").trigger("click"),e(".close-youtube-player").trigger("click"),i.carouselSwipe.slide(a),i.setLinkTabIndex(),t("kv rolling:index_"+(i.carouselSwipe.getPos()+1))}).end().find("#cPlayPause").on("click keydown",function(n){if(n.preventDefault(),"click"===n.type||13===n.which){var o=e(this),a=o.toggleClass("paused").children().toggleClass("icon-play-carousel icon-pause-carousel");"sec"==SITE_CD&&e("#cPlayPause").attr("title","재생"),i.carouselSwipe.stop(),l=!1,clearInterval(s),clearTimeout(r),a.hasClass("icon-pause-carousel")?(i.autoPlay(),o.attr("title",i.el.find(".auto-rotate").attr("data-pause-text")),t("kv rolling:play")):(o.attr("title",i.el.find(".auto-rotate").attr("data-play-text")),t("kv rolling:stop"))}}),i.accessibilityEvents()},accessibilityEvents:function(){var t=this,i=t.el,n=e(i.find(".pag ul li")),o=n.closest(".controls").siblings(".viewer"),a=(n.first().find("a"),parseInt(n.filter(".current").children("a").attr("data-index")));o.find('li[data-index="'+a+'"]'),e("#cPlayPause",t.el).on("keydown",function(t){if(9===t.which){e(this).hasClass("paused")||e(this).trigger("click");var o=0;if(t.shiftKey){var a=i.find(".next"),s=i.find(".prev");"none"!==a.css("display")?a.focus():"none"!==s.css("display")?s.focus():i.find('li[data-index="'+o+'"]').find(":focusable").last().focus()}else n=i.find(".pag ul li"),n.find('[data-index="'+o+'"]').focus()}})},createDots:function(){var e=this.lis,t=this.el.find(".pag .dots");t.empty(),t.append("
        ");for(var i=0;i메인베너 '+(i+1)+"";else var n='Slide '+(i+1)+"";t.find("ul").append("
      • "+n+"
      • ")}},createPlayPause:function(){var e=this,t=(e.lis,e.el.find(".pag .auto-rotate"));t.empty(),t.append('')},slideComplete:function(t){var i=this,n=(this.el.find(".next"),this.el.find(".prev"),this.el.find(".pag"));i.curr=i.carouselSwipe.getPos(),this.el.find(".next, .prev").removeClass("disabled"),i.carouselSwipe.isContinuous()||(0===i.curr?(i.el.removeClass("on-last-slide").addClass("on-first-slide"),1===i.carouselSwipe.getNumSlides()&&i.el.addClass("on-last-slide")):i.curr===i.carouselSwipe.getNumSlides()-1?i.el.removeClass("on-first-slide").addClass("on-last-slide"):i.el.removeClass("on-first-slide").removeClass("on-last-slide")),1==i.carouselSwipe.getLiLen()&&i.el.addClass("not-continuous").addClass("on-first-slide").addClass("on-last-slide"),n.find("li").each(function(t,n){2==i.carouselSwipe.getLiLen()?e(n).toggleClass("current",t===i.curr%2):e(n).toggleClass("current",t===i.curr)}),i.callFn&&i.callFn(i),t&&a&&a(i)},setLinkTabIndex:function(){for(var t=this,i=0;i1&&n.each(function(i,n){var o=(parseInt(e(n).data("index")),e(n).find("a:visible, [tabindex]:visible"));o.each(function(n,a){e(a).attr("data-slide-index",i),t=0===n?"firstInnerLink":n===o.length-1?"lastInnerLink":"",n===o.length-1&&0===n&&(t="firstLastInnerLink"),e(a).addClass(t)})})},resetTabIndexFocus:function(t){var i=this,n=e(i.lis[i.curr]),o="next"===t?"firstInnerLink":"lastInnerLink",a=setTimeout(function(){i.setLinkTabIndex(),n.find("."+o+", .firstLastInnerLink").focus(),clearTimeout(a)},i.speed+1)},destroy:function(){var t=this;t.el.find(".next, .prev").off("click"),t.el.find("a:not(.play-btn)").off("click"),t.el.off("hover"),t.el.find(".pag .dots a").off("click touchend focus"),t.el.find(".pag .auto-rotate button").off("click touchend focus"),t.el.find(".lastInnerLink, .firstLastInnerLink").off("keydown"),t.el.find(".firstInnerLink, .firstLastInnerLink").off("keydown"),e(t.el.find(".pag li")[0]).find("a").off("keydown");var i=t.el.find(".pag").find(".dots, .auto-rotate");i.empty(),t.carouselSwipe.kill()},restore:function(){var e=this;e.lis.length>1&&(e.createDots(),e.createPlayPause()),e.slideComplete(!1),e.bindEvents(),e.carouselSwipe.resurrect()}}}}(jQuery);var ss=$;!function(e){ss.CommonWidgets=function(t){function i(){function t(e){return"number"==typeof e.selectionStart?0===e.selectionStart&&e.selectionEnd===e.value.length:"undefined"!=typeof document.selection?(e.focus(),document.selection.createRange().text===e.value):void 0}m=e(".popover .shop-popover"),0!==m.find(".tab-content.buy-direct").length&&(g=m.find(".tab-content.buy-direct"),l()),0!==m.find(".tab-content.buy-online").length&&(y=m.find(".tab-content.buy-online"),d()),0!==m.find(".tab-content.buy-instore").length&&(b=m.find(".tab-content.buy-instore"),c()),m.on("keypress",".quantity input",function(e){var i=e.keyCode?e.keyCode:e.which;return isNaN(String.fromCharCode(i))||(t(e.target)||!e.target.value)&&48===i?!1:void 0}),m.on("click",".quantity input",function(e){this.select()}),m.on("click",".quantity .label",function(e){m.find(".quantity input").select()}),m.on("click",".tabs li a",function(){var t=e(this).parents("li").index();e(this).parents("ul").children().removeClass("active").eq(t).addClass("active"),e(this).parents(".shop-popover").find(".shop-tab-contents").children().removeClass("show").eq(t).addClass("show")}),m.on("click",".tab-content.buy-online .controls .prev",h),m.on("click",".tab-content.buy-online .controls .next",p),m.on("click",".tab-content.buy-direct .add-to-cart",function(){}),m.on("click",function(t){e(t.target)})}function n(){var t=e(".popover .share-popover");t.find("ul li:first-child a").focus()}function o(t){e(t).find("button, a, input, select, [tabindex]").first().focus()}function a(t){e(t).first().focus()}function s(){var t=e(".share-popover");t.find("ul li:first-child a").focus()}function r(){var t=e(".compare-button-popover");t.find("ul li:first-child a").focus()}function c(){}function l(){}function d(){E=y.find("li"),P=y.find(".prev"),x=y.find(".next"),E.length>T?(C=0,w=Math.ceil(E.length/T),f(),u(C)):(P.hide(),x.hide())}function u(t){var i=t*T,n=i+(T-1);E.each(function(t){t>=i&&n>=t?e(this).removeClass("hide"):e(this).addClass("hide")}),v()}function f(){0===C?(P.removeClass("active"),x.addClass("active")):C===w-1?(P.addClass("active"),x.removeClass("active")):(P.addClass("active"),x.addClass("active"))}function h(){C-1>=0&&(C--,f(),u(C))}function p(){w-1>=C+1&&(C++,f(),u(C))}function v(){m.find(".popover").css({top:-1*m.find(".popover").height()-3})}var m,g,y,b,w,C,E,P,x,T=5;return{setDefaultFocusInWidget:o,setFocusAtInWidget:a,initShopWidget:i,initShareWidget:n,initOffersShareWidget:s,initCompareWidget:r}}}(jQuery),$(function(){ss.commonWidgets=new ss.CommonWidgets});var ss=$;!function(e){ss.Expander=function(){e(".expander").on("click","> .toggler",function(t){if(t.preventDefault(),"click"===t.type||13===t.which){var i=e(t.delegateTarget),n=i.children(".toggler"),o=i.children(":not(.toggler, .no-toggle)");o.stop().slideToggle(300,function(e){n.find(".icon-plus, .icon-minus").toggleClass("icon-plus icon-minus"),i.toggleClass("expanded")}),"undefined"!=typeof n.attr&&e(this).find(".text-toggler").text(i.hasClass("expanded")?n.attr("data-text"):n.attr("data-alt-text")),i.data("focusopen")&&!i.hasClass("expanded")?e("#"+i.data("focusopen")).focus():"href"===e(this).attr&&n.doFocus(-1)}})}}(jQuery);var ss=$;!function(e){ss.Forms=function(){return{init:function(){var t=this;e(".input input").each(function(i,n){t.inputControl(e(n),e(n).parent().find("label"))}),t.bindEvents()},bindEvents:function(){var t=this;e("body").on("click",".option-selector",t.optionSelector),e(".input").on("click",function(){var t=e(this).find("input");t.focus()}),e(".input input").on("focus blur",function(i){var n=e(this),o=n.parent().find("label");t.inputControl(n,o,i.type)}),e("[data-auto-complete]").on("focus blur keydown",function(t){var i=e(this),n=e(this).data("auto-complete"),o=e("."+n),a=o.find("div");switch(t.type){case"focus":o.addClass("on"),o.find("div").show().css("opacity",1);break;case"blur":break;case"keydown":i.attr("value").length>=0&&(a.animate({opacity:0},function(){a.hide()}),e(eventBridge).trigger(eventDictionary.autocomplete.REQUEST_AUTOCOMPLETE))}})},inputControl:function(t,i,n){var o=e(i.parent());"focus"===n?o.addClass("focused"):o.toggleClass("focused",t.attr("value").length>0?!0:!1)},optionSelector:function(t){var i=e(this),n=i.find(".selected-option"),o=i.find(".options"),a=o.find("li"),s=!1,r=i.attr("data-selector-direction"),c="undefined"!=typeof r?r:"auto",l=function(e){var t=(e.elemTop(o),o.outerHeight()),n=(i.outerHeight(),e.elemTop(i));return"bottom"==i.attr("data-direction")?(i.addClass("below"),void o.css({top:""})):void(n-t>e.scrollTop||"top"===c?(i.removeClass("below"),o.css({top:-1*(t-1)})):(i.addClass("below"),o.css({top:""})))},d=function(){s=!0;var t=o.find("[tabindex]");t.attr("tabindex","0"),l(ss.metrics);var n=setTimeout(function(){clearTimeout(n),a.each(function(){var t=i.find("input").attr("value");e(this).attr("data-value")==t&&(e(this).addClass("active"),e(this).children().first().focus())})},30);e("body").on("click",u)},u=function(t){var n=e(t.target).parents(".option-selector");n!==i&&(f(),e(this).off(t))},f=function(){o.find("[tabindex]").attr("tabindex","-1"),o.css({top:"auto"}),i.removeClass("open").removeClass("below"),eventBridge.off(eventDictionary.global.RESIZE,p),s=!1,e("body").off("click",u)},h=function(){var t=e(this).attr("data-value"),n=e(this).html();a.removeClass("active"),e(this).addClass("active"),i.find("input").attr("value",t),i.find(".selected-option").html(n),i.find(".selected-option").children("a").attr("tabindex","-1")},p=function(e,t){s&&l(t)};i.toggleClass("open"),i.hasClass("open")?d():f(),a.on("click",h),i.on("keydown",function(e){var t=a.last()[0],i=e.target;9!==e.which||e.shiftKey||t!==i&&!t.contains(i)?9===e.which&&e.shiftKey&&i===n[0]&&f():f()}),eventBridge.on(eventDictionary.global.RESIZE,p)}}}}(jQuery);var ss=$;!function(e){ss.GlanceGrid=function(t){function i(){var e=(/MSIE\s([\d.]+)/.test(window.navigator.userAgent),Number(RegExp.$1)),t=/(Firefox)+/.test(window.navigator.userAgent);return 0!==e&&10>e?!1:t?!1:!0}function n(t,i){var n,r,c,l,d,f;v.css("height",o(t,i)),v.children().each(function(t){if(e(this).hasClass("fullview-img")){p.find(".fullview").css({height:v.outerHeight(),width:v.outerWidth()}),p.find(".copywrapper").css("width",i.width<1920?i.width*y:902),p.find(u).css("height",v.css("height")),p.find(".fullview-close").offset({left:v.outerWidth()-p.find(".fullview-close").outerWidth()-parseInt(p.find(".fullview-close img").css("margin-right").replace("px",""))}),c=0,f=parseInt(u.indexOf(u.length-1)),l=p.find(u+(3!==f?" ul li":" dl dt")),d=p.find(u+(3!==f?" ul hr":" dl hr"));for(var o=0;oc&&(c=h.outerWidth())}for(var m=0;m=1920?2>=t?u:g:2>=t?p.outerWidth()/3:p.outerWidth()/2,2>=t?(c=r=e.width*m,d.top=0,d.right=r-r*C,d.bottom=c-c*w,d.left=0,f=d):(c=r=e.width/2,d.top=0,d.right=r-r*P,d.bottom=c-c*E,d.left=0,h=d),o=c-d.bottom,a=2>=t?v.offset().top:v.offset().top+f.bottom,s=2>=t?n*t:n*(t-3),i=p.find(".thumbs img:first-child").outerHeight()+p.find(".thumbs img:last-child").outerHeight()):(n=3>=t?p.outerWidth()/2:p.outerWidth(),3>=t?(c=r=n,d.top=0,d.right=r-r*C,d.bottom=c-c*w,d.left=0,f=d):(c=r=e.width,d.top=0,d.right=r-r*P,d.bottom=c-c*E,d.left=0,h=d),o=c-d.bottom,a=1>=t?v.offset().top:t>=2&&3>=t?v.offset().top+f.bottom:v.find("img:nth-child(3)").offset().top+2*(parseInt(v.find("img:nth-child(3)").css("height").replace("px",""))-f.bottom),s=0===t||2===t||4===t?0:n,i=0),8!==e.isIE8?l="rect("+d.top+","+d.right+","+d.bottom+","+d.left+")":(b=!0,l="rect("+d.top+" "+d.right+" "+d.bottom+" "+d.left+")"),{isIE8:b,index:t,gridWidth:p.outerWidth(),gridHeight:i,gridOffsetTop:y,rowCellWidth:n,rowCellHeight:o,rowCellOffsetTop:a,rowCellOffsetLeft:s,imgWidth:r,imgHeight:c,clip:l}}function s(t){e(this).css({width:t.imgWidth,height:t.imgHeight,clip:t.clip}).offset({top:t.rowCellOffsetTop,left:t.rowCellOffsetLeft}).on("click",{elem:this,id:t.index,parentWidth:t.gridWidth,parentHeight:t.gridHeight,prevElemTop:t.gridOffsetTop},r)}function r(t){var i=e(t.data.elem),n=t.data.id,o=t.data.parentWidth,a=(t.data.parentHeight,t.data.prevElemTop,{}),s="ie8bkgd";t.preventDefault(),i.off("click"),p.find(".fullview").removeClass("hide").offset({top:p.find(".module-heading").offset().top+p.find(".module-heading").outerHeight()}).css({width:v.outerWidth(),height:v.outerHeight()}),8===ss.metrics.isIE8()?p.find(".fullview").addClass(s+(t.data.id+1)):p.find(".fullview").css("background-color",p.find(".copywrapper div:nth-child("+(t.data.id+1)+")").css("background-color")),i.removeAttr("style").css({width:ss.metrics.width<1920?o*g:1018,height:v.outerHeight(),left:ss.metrics.width<1920?t.data.parentWidth*y:902}).offset({top:v.offset().top}),b?i.on(w,{elem:this,id:n,top:v.offset().top,parentWidth:o},c):(a.data={},a.data.elem=t.data.elem,a.data.id=t.data.id,a.data.top=v.offset().top,a.data.parentWidth=o,setTimeout(function(){c(a),clearTimeout()},300)),i.addClass("fullview-img")}function c(t){var i,n,o,a=e(t.data.elem);void 0!==t.preventDefault&&t.preventDefault(),u="#ss-glance-carousel-slide"+t.data.id,a.off(w),p.find(u).css("height",v.outerHeight()).removeClass("hide"),p.find(".copywrapper").removeClass("hide").css("width",ss.metrics.width<1920?t.data.parentWidth*y:902),p.find(".fullview-close").offset({left:v.outerWidth()-p.find(".fullview-close").outerWidth()-parseInt(p.find(".fullview-close img").css("margin-right").replace("px",""))}).removeClass("hide"),i=0,n=p.find(u+(3!==t.data.id?" ul li":" dl dt")),o=p.find(u+(3!==t.data.id?" ul hr":" dl hr"));for(var s=0;si&&(i=r.outerWidth())}for(var c=0;c=1280:i=4;break;case n.width()>=801:i=3}if(d.css("display","none"),l)t.each(function(t){e(this).attr("data-similar-item-id",t)});else{"undefined"!=typeof s&&s&&1!==i&&(s.destroy(),s=null);var a=t.sort(function(t,i){return e(t).attr("data-similar-item-id")-e(i).attr("data-similar-item-id")});a.appendTo(d),c.find(".viewer").find("ul").remove()}l=!1,c.find(".viewer").append("
          ");var u=c.find(".viewer").find("ul"),f=!0,h=0,p=0,v=!0;if(t.each(function(t,n){if(f){f=!1;var o=e("
        • ");i>1&&0===h||1===i?u.append(o):v=!1}if(v){var a=e(u.children("li")[h]);e(n).appendTo(a),p++}p===i&&(f=!0,h++,p=0)}),1===i){var m=0;s&&(m=s.carouselSwipe.getPos()),c.find(".dots").empty(),s=new ss.Carousel(c,{}),s.init(),o(),s.carouselSwipe.slide(m,10)}}var s,r,c=t.container,l=!0,d=c.find(".initial-container");i()}}(jQuery);var ss=$;!function(e){ss.Tabs=function(t,i,n){return{clicked:t,allTabs:null,clickedIndex:0,tabContent:e("."+i).children(),init:function(){var e=this.clicked.parent(),t=e.parent(),i=this;i.allTabs=t.children(),i.clickedIndex=i.allTabs.index(e),i.toggle()},toggle:function(){var t=this;t.allTabs.removeClass("active"),t.tabContent.removeClass("show"),e(t.clicked).parent().addClass("active"),e(t.tabContent[t.clickedIndex]).addClass("show"),n&&n(e(t.tabContent[t.clickedIndex]))}}}}(jQuery);var ss=$;!function(e){ss.Toggle=function(t,i,n){return{activate:t,content:i.content?e(i.content):t.next(),changeText:i.afterText&&i.currText?!0:!1,autoScroll:i.autoScroll,action:function(){var t=this;e(t.content).toggleClass("toggled"),e(t.activate).toggleClass("link-toggled");var i=e(t.activate).find(".icon-plus");i.toggleClass("icon-minus"),i.find(".blind").text(i.hasClass("icon-minus")?i.attr("data-after-text"):i.attr("data-text")),t.setHeight(e(t.content).parent().hasClass("toggle-content")),t.textChange(),n&&n(),t.attachEvt(),e(t.content).hasClass("toggled")&&t.autoScroll&&(e(t.activate).hasClass("_protectScrollOnce")?e(t.activate).removeClass("_protectScrollOnce"):ss.htmlBody.animate({scrollTop:ss.metrics.elemTop(t.content)},1e3))},attachEvt:function(){var t=this,i=e(t.content);eventBridge.on(eventDictionary.global.RESIZE,function(n,o){i.hasClass("toggled")&&t.setHeight(e(t.content).parent().hasClass("toggle-content"))})},textChange:function(){var t=this;if(t.changeText){var n;n=e(t.activate).find('span[class*="icon"]').length>0?'':"",e(t.activate).html(e(t.content).hasClass("toggled")?i.afterText+n:i.currText+n)}},setHeight:function(t){function i(){function e(){var e=n.getActualHeight(t);if(e!==a)for(c=e-a,t.height(e),d=l.length;--d;)l[d].height(l[d].height()+c)}var t=o.parent(),i=t.prop("scrollHeight"),a=i+r,c=0,d=0;if(o.hasClass("toggled")&&!s)for(c=a-t.height(),t.height(a),d=l.length;--d;)l[d].height(l[d].height()+c);setTimeout(e,500)}var n=this,o=e(n.content),a=o.find(".innerToggle"),s=o.hasClass("toggled")&&o.height()>0;a&&a.css("height",""),o.show();var r=o.hasClass("toggled")?n.getActualHeight(o):0,c=0===r?"-1":"0";n.toggleIgnore(o)===!1&&(o.find('[tabindex]:not([data-no-tab="true"])').attr("tabindex",c),o.find(".toggle-content:not(.toggled) [tabindex]").attr("tabindex",-1)),o.height(r),a&&a.is(":visible")&&a.height(r);for(var l=[o.parent()];l[l.length-1].parent().hasClass("toggle-content");)l.push(l[l.length-1].parent());t&&i()},getActualHeight:function(t){var i=0,n=t.children();return e.each(n,function(t,n){var o=e(n),a=o.attr("data-ignore-height");"undefined"==typeof a&&(e(n).hasClass("reflectHeight")?e(n).children().each(function(t,n){i+=e(n).outerHeight(!0)}):i+=e(n).outerHeight(!0))}),0===i&&(i=t.prop("scrollHeight")),i},toggleIgnore:function(e){var t=e;return t.attr("data-toggle-ignore")===ss.metrics.device?!0:!1}}}}(jQuery);var ss=$;ss.VideoPlayerHandler={init:function(){if("lazyVideo"==arguments[0])var e=$("#"+arguments[0]),t=setTimeout(function(){clearTimeout(t),ss.VideoPlayerHandler.init(e.attr("id"))},100);else ss.VideoPlayerHandler.active(arguments[0]);void 0!==typeof myTemplateLoaded&&"function"==typeof myTemplateLoaded&&myTemplateLoaded(arguments[0])},active:function(e){$.vpList[e]=new ss.VideoPlayer(e),$.vpList[e].onTemplateLoad(e)}},$.vpList={},ss.VideoPlayer=function(e){var t,i;return $overlayContainer=$(".close-video"),startTheOverlay=function(){$overlayContainer.removeClass("transparent"),$overlayContainer.addClass("opaque")},{BCP:{},videoContainer:$("#"+e).parents(".video-player"),videoPlayer:null,playProxy:null,stopProxy:null,stopUnbindProxy:null,completeProxy:null,playMediaEvent:null,experienceModule:null,showVideoEvent:null,hideVideoEvent:null,init:function(){},onTemplateLoad:function(e){this.showVideoEvent=jQuery.Event(eventDictionary.videoPlayer.EVENT_SHOW_VIDEO),this.hideVideoEvent=jQuery.Event(eventDictionary.videoPlayer.EVENT_HIDE_VIDEO),this.playProxy=$.proxy(this.playVideo,this),this.stopProxy=$.proxy(this.stopVideo,this),this.stopUnbindProxy=$.proxy(this.stopVideoUnbind,this),this.completeProxy=$.proxy(this.completeVideo,this),this.playMediaEvent=$.proxy(this.playVideoMediaEvent,this),this.BCP.player=brightcove.api.getExperience(e),this.BCP.APIModules=brightcove.api.modules.APIModules,this.BCP.adEvent=brightcove.api.events.AdEvent,this.BCP.mediaEvent=brightcove.api.events.MediaEvent,$("body").on("mouseover",function(e){}),$("body").on("mouseout",function(e){}),this.onTemplateReady()},onTemplateReady:function(e){var i=this.BCP,n=i.player,o=this.videoContainer;if(this.videoContainer.self=this,i.player){if(i.videoPlayer=n.getModule(brightcove.api.modules.APIModules.VIDEO_PLAYER),i.experienceModule=n.getModule(brightcove.api.modules.APIModules.EXPERIENCE),i.videoPlayer.addEventListener(brightcove.api.events.MediaEvent.COMPLETE,this.completeProxy),i.videoPlayer.addEventListener(brightcove.api.events.MediaEvent.PLAY,this.playMediaEvent),o.hasClass("noSwipe")?(o.animate({opacity:0}),o.addClass("not-visible")):(o.css("opacity","0"),o.find("object").css("opacity","1").css("z-index","1"),o.animate({opacity:1},1e3)),o.hasClass("isMulti")){var a=o.find(".media-thumb-list"),s=a.find("li"),r=s.length,c=a.find(".media-thumb-controller"),l=c.data("videoCount");o.find(".multi-player").css("padding-left",a.width()+"px"),i.experienceModule.setSize(o.width()-a.width(),o.height()),0===l?c.find(".roll-prev").css("display","none"):l>=r-4&&(c.find(".roll-next").css("display","none"),l>r-1&&c.data("videoCount",r)),4>r?(c.find(".roll-prev").css("display","none"),c.find(".roll-next").css("display","none"),s.height(a.height()/r)):s.height(a.height()/4),t=l>r-4?r-4:l,a.find("ul").scrollTop(t*s.height())}this.bindEvents()}},onMediaBegin:function(e){startTheOverlay()},onMediaPlay:function(e){$overlayContainer.removeClass("transparent"),$overlayContainer.addClass("opaque")},onMediaProgress:function(e){},onMediaStop:function(e){$overlayContainer.removeClass("opaque"),$overlayContainer.addClass("transparent")},thumbSlide:function(){var e=this.videoContainer,i=e.find(".media-thumb-list"),n=i.find("li"),o=n.length,a=n.height(),s=i.find(".media-thumb-controller");i.find("ul").scrollTop(a*t),0===t?s.find(".roll-prev").css("display","none"):t>=o-4?s.find(".roll-next").css("display","none"):(s.find(".roll-prev").css("display","block"),s.find(".roll-next").css("display","block"))},bindEvents:function(){var e=this,i=e.videoContainer;if($(".play-btn").animate({opacity:1}),eventBridge.on(eventDictionary.global.RESIZE,function(){e.videoContainer.parents("body").length>0&&e.resize()}),$(".play-btn, .play-other-link").each(function(){var t=$(this).data();t.contents||($(this).animate({opacity:1}),$(this).on("click",e.playProxy))}),$(".multi-play-btn").on("click",e.playProxy),$(".close-video").each(function(){$(this).parent().hasClass("video-player")&&$(this).on("click",e.stopProxy)}),$(".close-video-player").on("click",e.stopProxy),i.hasClass("isMulti")){var n=i.find(".media-thumb-list"),o=n.find("li").length,a=n.find(".media-thumb-controller");a.find(".roll-prev").on("click",function(i){t>0&&(t--,e.thumbSlide())}),a.find(".roll-next").on("click",function(i){o-4>t&&(t++,e.thumbSlide())})}e.accessibilityEvents()},accessibilityEvents:function(){$(".play-btn").on("keydown",function(e){if(13===e.keyCode)var t=setTimeout(function(){$(".close-video").focus(),clearTimeout(t)},1e3)}),$(".multi-play-btn").on("keydown",function(e){if(13===e.keyCode)var t=setTimeout(function(){$(".close-video").focus(),clearTimeout(t)},1e3)}),$("body").on("keydown",".close-video:visible",function(e){if(9===e.keyCode)return e.preventDefault(),!1;if(13===e.keyCode)var t=setTimeout(function(){$(".play-btn").focus(),clearTimeout(t)},461)})},unbindEvents:function(){$(".play-btn").off("click",this.playProxy),$(".multi-play-btn").off("click",this.playProxy),$(".close-video").off("click",this.stopProxy), $(".play-btn").off("keydown"),$(".multi-play-btn").off("keydown"),$(".close-video").off("keydown")},resize:function(){var e=($("#bcVideo"),this.videoContainer);if(e.css("width","100%"),e.hasClass("isMulti")){var t=e.find(".media-thumb-list"),n=t.find("li"),o=n.length,a=this.BCP;n.height(n.length0){var n=i.find(".pag").find(".dots li a").end().find("#cPlayPause");n.hasClass("paused")||n.trigger("click")}},toggleControls:function(e){var t=e?{opacity:1,"z-index":10}:{opacity:0,"z-index":-1};$(".pag.controls:not(.protect)").animate(t)}}};var ss=$;!function(e){ss.YoutubePlayer=function(){function t(e){var t=(document.getElementById(e),this);this[0].playVideo=function(e){t.hasClass("noSwipe")&&t.removeClass("not-visible").addClass("show-video").stop().animate({opacity:1}).css("display","");try{e?this.player.cueVideoById(e):ss.metrics.isMobile()?this.player.cueVideoById(this.player.videoid):this.player.playVideo()}catch(i){this.errorData={youtubePlayerId:e}}},this[0].stopVideo=function(){t.hasClass("noSwipe")&&t.removeClass("show-video").addClass("not-visible").stop().animate({opacity:0}).css("display","none"),t[0].player&&t[0].player.pauseVideo&&t[0].player.pauseVideo()}}return{showVideoEvent:null,hideVideoEvent:null,loadYoutube:!1,init:function(){if(this.showVideoEvent=jQuery.Event(eventDictionary.videoPlayer.EVENT_SHOW_VIDEO),this.hideVideoEvent=jQuery.Event(eventDictionary.videoPlayer.EVENT_HIDE_VIDEO),this.loadYoutube)this.videoSet(),this.bindEvents();else{var e=document.createElement("script");e.src="https://www.youtube.com/iframe_api";var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)}},videoSet:function(){e(".youtube-player").each(function(){function i(e){a.hasClass("noSwipe")?a.css("opacity",0).css("display","none").addClass("not-visible"):a.css("z-index","1"),o.errorData&&(o.playVideo(o.errorData.youtubePlayerId),o.errorData=null)}function n(t){var i=e(o).parents(".ss-carousel");if(1===t.data&&i.length>0){var n=i.find(".pag").find(".dots li a").end().find("#cPlayPause");n.hasClass("paused")||n.trigger("click")}}if(!this.player){var o=this,a=e(this),s=a.find("div")[0],r=a.attr("data-width"),c=a.attr("data-height"),l=a.attr("data-videoid");a.css("width",r).css("height",c).css("background-color","#000000"),this.player=new YT.Player(s.id,{height:c,width:r,videoId:l,wmode:"transparent",playerVars:{autohide:1,wmode:"transparent",rel:"0"},events:{onReady:i,onStateChange:n}}),this.player.videoid=l,t.call(e("#"+s.id).parent(),s.id)}})},bindEvents:function(){e(".play-btn").each(function(){var t=e(this).data();if(t.contents){if(this.player)return;this.player=!0,e(this).animate({opacity:1}).css("display",""),e(this).on("click",function(){e("#"+t.contents).parent()[0].playVideo(t.youtubePlayer)})}}),e(".close-video").each(function(){var t=e(this).parent();if(t.hasClass("youtube-player")){if(this.player)return;this.player=!0,e(this).on("click",function(){var e=t[0].stopVideo;e&&e()})}}),e(".close-youtube-player").each(function(){this.player||(this.player=!0,e(this).on("click",function(){var t=e(this).parent()[0].stopVideo;t&&t()}))})}}}()}(jQuery);var ss=$;!function(e){ss.ACloserLook=function(){function t(){i(),ss.metrics.isIE8()&&r.append('')}function i(){var t;r.on(ss.clickEvent,function(i){var r=e(this);(r.hasClass("zoomed")||a)&&(e(i.target).hasClass("disclaim-link")||(s.removeClass("full-view"),r.addClass("layer"),r.hasClass("zoomed")?(r.removeClass("zoomed"),a=!0,t=setTimeout(function(){r.focus(),clearTimeout(t)},350),r.find(".content").addClass("hide")):(a=!1,r.find(".content").removeClass("hide")),n(r),o(r)))}),c.on(ss.clickEvent,function(e){s.find(".zoomed").trigger(ss.clickEvent),s.removeClass("full-view")}),r.on("keyup",function(t){var i=e(this);13===t.keyCode&&i.trigger("click")})}function n(e){var t;t=setTimeout(function(){a?e.removeClass("layer"):e.addClass("zoomed"),a?s.removeClass("full-view"):s.addClass("full-view"),clearTimeout(t)},350)}function o(t){var i=t.find(".content"),n=r.not(e(t));a?(i.removeAttr("tabindex"),r.attr("tabindex",0)):(i.attr("tabindex",0),n.attr("tabindex","-1"))}var a=!0,s=e(".closer-look"),r=e(".closer-look > li:not(.close)"),c=s.find(".close a");t()}}(jQuery);var ss=$;!function(e){ss.MultipleItemsViewCarousel=function(t){var i={$container:t.container,$viewer:null,$itemsContainer:null,$dots:null,numItems:0,itemWidth:0,perPage:t.perPage,current:0,currentPage:0,currentLeft:0,currentPageX:null,startPageX:null,currentDirection:null,pageWidth:0,maxGoTo:0,dragging:!1,animating:!1,containerMouseEntered:!1,init:function(){this.$container.addClass("ss-multiple-items-view-carousel"),this.$itemsContainer=this.$container.find(".viewer > ul"),this.$itemsContainer.addClass("ss-multiple-items-view-carousel-items-container"),this.$itemsContainer.css("left",0),this.$previousControl=this.$container.find(".prev"),this.$nextControl=this.$container.find(".next"),this.initItems(),this.bindEvents()},initItems:function(){this.$items=this.$itemsContainer.find("> li"),this.numItems=this.$items.length,this.refresh()},refresh:function(){var t=this;this.itemWidth=ss.metrics.wrapperWidth/this.perPage,this.$itemsContainer.css("width",this.itemWidth*this.numItems),this.$items.each(function(i,n){e(n).css({width:t.itemWidth})}),this.defineInnerLinks(),this.setNumPages(),this.setMaxGoTo(),this.initDots(),this.goTo(this.current,!0)},initDots:function(){var e=this.$container.find(".pag");e.empty(),e.append('
            ');for(var t=0;tSlide '+(t+1)+"";e.find("ul").append("
          • "+i+"
          • ")}this.$dots=e.find("li"),e.css("display","block")},bindEvents:function(){var t=this;this.$container.on("mouseenter",function(){t.containerMouseEntered=!0,t.refreshControls()}),this.$container.on("mouseleave",function(){t.containerMouseEntered=!1,t.refreshControls()}),this.$previousControl.on(ss.clickEvent,function(){t.previousPage()}),this.$nextControl.on(ss.clickEvent,function(){t.nextPage()}),this.$container.on(ss.clickEvent+" focus","[data-index]",function(){var i=parseInt(e(this).attr("data-index"),10);t.goToPage(i)});var i={triggerOnTouchEnd:!0,swipeStatus:function(e,i,n,o){t.onDrag(e,i,n,o)},allowPageScroll:"vertical",threshold:75,excludedElements:"label, button, input, select, textarea, .noSwipe"};this.$container.on("keydown",function(e){t.onKeydown(e)}),this.$container.swipe("destroy"),this.$container.swipe(i)},refreshControls:function(){return"desktop"===ss.metrics.device&&this.containerMouseEntered?(0===this.currentPage?(this.$nextControl.show(),document.activeElement===this.$previousControl[0]&&this.$nextControl.focus(),this.$previousControl.hide()):this.$previousControl.show(),void(this.currentPage===this.numPages-1?(this.$previousControl.show(),document.activeElement===this.$nextControl[0]&&this.$previousControl.focus(),this.$nextControl.hide()):this.$nextControl.show())):(this.$previousControl.hide(),void this.$nextControl.hide())},onKeydown:function(t){var i=this,n=e(t.target);if(this.animating)return t.preventDefault(),!1;if(9===t.keyCode)if(t.shiftKey)if(n.is('[data-index="0"]'))t.preventDefault(),this.goToPage(this.numPages-1),setTimeout(function(){e(i.$items[i.$items.length-1]).find(".lastInnerLink").first().focus()},500);else{var o=this.perPage*this.currentPage-1;if(!e.contains(this.$items[o+1],n[0]))return;0!==this.currentPage&&n.hasClass("firstInnerLink")&&(t.preventDefault(),this.previousPage(),setTimeout(function(){e(i.$items[o]).find(".lastInnerLink").first().focus()},500))}else if(this.currentPage!==this.numPages-1){var a=this.perPage*(this.currentPage+1);if(!e.contains(this.$items[a-1],n[0]))return;n.hasClass("lastInnerLink")&&(t.preventDefault(),this.nextPage(),setTimeout(function(){e(i.$items[a]).find(".firstInnerLink").first().focus()},500))}},defineInnerLinks:function(){this.$items.each(function(){var t=e(this).find("a, button");t.first().addClass("firstInnerLink"),t.last().addClass("lastInnerLink")})},onDrag:function(e,t,i,n){var o;if(o="undefined"!=typeof e.touches&&e.touches.length>0?e.touches[0].pageX:e.pageX,!this.currentPageX)return void(this.currentPageX=o);if("move"===t){if(i=this.currentPageX25){var a=Math.abs(o-this.currentPageX);this.currentPageX=o;var s=this.currentLeft+a*("left"===i?-1:1);this.leftValueForItem(this.previousPageItem()),this.leftValueForItem(this.nextPageItem()),this.updateContainerPosition(s,!0)}}else"cancel"===t?this.goToPage(this.currentPage):"end"===t&&n>25&&("left"===i?this.nextPage():"right"===i&&this.previousPage());("cancel"===t||"end"===t)&&(this.dragging=!1,this.currentPageX=null)},onSwipe:function(e,t,i,n){"right"===t?this.previousPage():"left"===t&&this.nextPage()},setNumPages:function(){this.numPages=Math.ceil(this.numItems/this.perPage)},setMaxGoTo:function(){if(1===this.numPages)this.maxGoTo=0;else{var e=this.numItems%this.perPage;this.maxGoTo=this.perPage*(this.numPages-2)+e}},isAtEnd:function(){return this.currentLeft<=this.leftValueForItem(this.maxGoTo)},isAtBeginning:function(){return this.currentLeft>=0},setCurrentPage:function(){var t=this.isAtBeginning()?0:Math.ceil(this.current/this.perPage);this.currentPage=t,this.$dots.removeClass("current"),e(this.$dots[this.currentPage]).addClass("current"),this.refreshControls()},nextPageItem:function(){var e=this.perPage*(this.currentPage+1);return e>this.maxGoTo&&(e=this.maxGoTo),e},previousPageItem:function(){var e=this.currentPage-1;return 0===e?0:this.perPage*e},leftValueForItem:function(e){return e*this.itemWidth*-1},nextPage:function(){this.goTo(this.currentPage0?this.previousPageItem():0)},goToPage:function(e){if(this.currentPage!==e){var t=this.perPage*e;t>this.maxGoTo&&(t=this.maxGoTo),this.goTo(t)}},updateContainerPosition:function(e,t,i){var n=this,o="undefined"!=typeof t&&t?0:300;this.animating&&o>0||(i=i||function(){n.animating=!1},this.animating=!0,this.currentLeft=e,Modernizr.csstransitions?(this.$itemsContainer.css({"transition-duration":o+"ms",transform:"translate3d("+e+"px,0px,0px)","-webkit-transition-duration":o+"ms","-webkit-transform":"translate3d("+e+"px,0px,0px)","-moz-transition-duration":o+"ms","-moz-transform":"translate3d("+e+"px,0px,0px)","-khtml-transition-duration":o+"ms","-khtml-transform":"translate3d("+e+"px,0px,0px)","-o-transition-duration":o+"ms","-o-transform":"translate3d("+e+"px,0px,0px)"}),o>0?setTimeout(function(){i()},o):this.animating=!1):this.$itemsContainer.animate({left:e},o,"linear",i))},goTo:function(e,t){var i=this;this.canGo(e)&&(this.updateContainerPosition(this.leftValueForItem(e),t?t:!1,function(){i.animating=!1}),this.current=e,this.setCurrentPage())},canGo:function(e){return e>=0&&e<=this.maxGoTo},destroy:function(){this.$container.off("mouseenter"),this.$previousControl.off(ss.clickEvent),this.$nextControl.off(ss.clickEvent),this.$container.off(ss.clickEvent),this.$container.swipe("destroy")}};return i.init(),i}}(jQuery);var ss=$;!function(e){ss.PDPMoreToLove=function(t){function i(){n()}function n(){o(),eventBridge.on(eventDictionary.global.RESIZE,function(){a()})}function o(){var e,t,i;for(e=0;et&&(t=i.height())}r.height(t+10)}var s=e(".moretolove-module"),r=s.find("li");i()}}(jQuery),$(function(){new ss.PDPMoreToLove});var ss=$;!function(e){ss.PDPReviews=function(t){function i(){n(),o()}function n(){a.on(ss.clickEvent,".review-sort-popover .sort",function(){s.find("p").text(e(this).attr("data-sort-text"))}),r.on(ss.clickEvent,function(){new ss.Tabs(e(this),e(this).parents("ul").data("contents")).init()}),a.on(ss.clickEvent,".reviews.expert .review .text .expand-button",function(){var t=e(this).parent().find(".collapsed"),i=e(this).parent().find(".ellipses");t.hasClass("hide")?(t.removeClass("hide"),i.hide(),e(this).text(e(this).attr("data-see-less-text"))):(t.addClass("hide"),i.show(),e(this).text(e(this).attr("data-see-more-text")))}),a.find(".sort-list a").on(ss.clickEvent,function(){var t=a.find(".sort-button");a.find(".sort-list a.selected").removeClass("selected"),e(this).addClass("selected"),t.find(".sort-button-text").html(e(this).text()+' '),t.click().focus(),e(this).attr("data-filter-type")})}function o(){"desktop"!==ss.metrics.device&&a.find(".sort-list a").attr("tabindex","-1")}var a=e(".reviews-module"),s=a.find(".review-controls .sort-button"),r=a.find(".rating-type-toggle li a");i()}}(jQuery),$(function(){$(".reviews-module").length>0&&new ss.PDPReviews});var ss=$;!function(e){ss.PDPUtils={},ss.PDPUtils.PDPGallery=function(t){function i(){w.length>1?(n(),O.popover=new ss.Popover(".gallery-module .gallery-module-controls .color-picker",O.popoverArgs)):p.find(".color-picker").hide(),r(0),o()}function n(){var t=p.find(".selected-option"),i=p.find(".options");e.each(w,function(e){var n=w[e].swatchColor;n=n.substring(0,1).toUpperCase()+n.substring(1,n.length),0===e&&t.html(''+n.toLowerCase()),i.append('
          • '+n.toLowerCase()+"
          • ")})}function o(){var t=e(".media-module").find(".gallery");h.zoom&&p.on(ss.clickEvent,".asset",function(){var t=e(this);I||("in"===t.attr("data-zoom-direction")?y.trigger("click"):b.trigger("click"))}),h.useCloseButton&&g.on("click",function(){e(".media-module .media.current").removeClass("current"),s(),eventBridge.trigger(jQuery.Event(eventDictionary.pdpStandard.EVENT_HERO_SHOW))}),t.on("click",function(){s(),v||(e(".media-module .media.current").removeClass("current"),t.addClass("current"),v=!0,ss.scrollWrapper.scrollTop(0),eventBridge.trigger(jQuery.Event(eventDictionary.pdpStandard.EVENT_GALLERY_SHOW)),eventBridge.trigger(jQuery.Event(eventDictionary.pdpStandard.EVENT_THREESIXTY_PAUSE)),h.zoom&&e(".asset.current").panzoom("reset"))}),P.on(ss.clickEvent,".thumbnail",function(){e(this).hasClass("current")||(e(P).find(".thumbnail.current").removeClass("current"),e(this).addClass("current"),d(e(this).attr("data-asset-url"),e(this).attr("data-thumb-index")),h.zoom&&e(".asset.current").panzoom("reset"))}),a(),w.length>1&&p.on(ss.clickEvent,".options li",function(){var t=e(this).find(".swatch");if(t.attr("data-swatch-color")!==u){var i=0;e.each(w,function(e){w[e].swatchColor===t.attr("data-swatch-color")&&(i=e)}),r(i)}}),eventBridge.on(eventDictionary.pdpStandard.EVENT_HERO_SHOW,function(t,i){C.removeClass("blind"),E.removeClass("current-gallery current-360"),e(".threesixty-module, .gallery-module").animate({top:p.height()},400,function(){v=!1,e(eventBridge).trigger(jQuery.Event(eventDictionary.dom.DOM_REFRESH))});var n=setTimeout(function(){e(".threesixty-module, .gallery-module").hide(),clearTimeout(n)},401)}),eventBridge.on(eventDictionary.pdpStandard.EVENT_GALLERY_SHOW,function(e,t){E.removeClass("current-360"),p.css("zIndex",24).show().animate({top:0},function(){v=!1,C.addClass("blind"),E.addClass("current-gallery")})}),eventBridge.on(eventDictionary.pdpStandard.EVENT_THREESIXTY_SHOW,function(e,t){p.css({zIndex:23,top:"100%"}).hide()})}function a(){T.on(ss.clickEvent,function(t){k.curr===P.find(".thumbnail").length-4||e(this).hasClass("disabled")?t.preventDefault():(k.curr++,l())}),x.on(ss.clickEvent,function(t){0===k.curr||e(this).hasClass("disabled")?t.preventDefault():(k.curr--,l())}),P.on("swipeleft",function(t){var i=P.find(".thumbnail").length-4;k.curr===i&&!k.anim||e(this).hasClass("disabled")?t.preventDefault():(k.curr++,l())}).on("swiperight",function(t){0===k.curr&&!k.anim||e(this).hasClass("disabled")?t.preventDefault():(k.curr--,l())})}function s(){void 0!==ss.Popover.activePopover&&ss.Popover.activePopover.hide()}function r(t){P.find(".wrap").empty(),k.curr=0,u=w[t].swatchColor,e.each(w[t].images,function(i){var n=w[t].images[i],o=e('Item '+i+" thumbnail");P.find(".wrap").append(o),o.attr({"data-thumb-index":i,"data-asset-url":n.asset}).append('This is the alt text.'),0===i&&o.addClass("current")}),c(),d(e(P.find(".thumbnail")[0]).attr("data-asset-url"),0),P.find(".thumbnail").each(function(t){e(this).css({left:25*t+"%"})});var i=P.find(".thumbnail"),n=i.length;i.on("keyup",function(t){var i=e(this),o=parseInt(i.attr("data-thumb-index"),10);if(k.curr=o,9===t.which){if(k.curr>=n-3)return!1;l()}})}function c(){0===k.curr?(x.addClass("disabled"),T.removeClass("disabled")):(x.removeClass("disabled"),T.removeClass("disabled")),k.curr===P.find(".thumbnail").length-4&&(x.removeClass("disabled"),T.addClass("disabled"))}function l(){c(),k.anim=!0,P.find(".thumbnail").animate({marginLeft:-1*k.curr*25+"%"},500,function(){k.anim=!1})}function d(t,i){if(m.find(".asset.current").removeClass("current"),0!==m.find('.asset[data-thumb-index="'+i+'"][data-swatch-color="'+u+'"]').length)m.find('.asset[data-thumb-index="'+i+'"][data-swatch-color="'+u+'"]').addClass("current");else{var n=e('
            ');if(m.append(n),n.attr({"data-thumb-index":i,"data-swatch-color":u}).addClass("current"),ss.spinner({where:n},function(){var e,i;n.append('loading'),e=n.find(".spinner-container"),i=n.find(".loading-asset"),i.css({visibility:"hidden"}),e.css({position:"absolute",left:Math.round((n.width()-50)/2),top:Math.round((n.height()-50)/2)}),i.on("load",function(){e.remove(),i.css({visibility:"visible"})}),i.attr({src:S+t,alt:"this is alt text"}),i.removeAttr("data-src")}),h.zoom)if(n.attr("data-zoom-direction","in"),Modernizr.mq("only all")){var o=5,a=1;n.panzoom({$zoomIn:p.find(".zoom-in-button"),$zoomOut:p.find(".zoom-out-button"),minScale:a,maxScale:o,transition:!0,onStart:function(){var e=setTimeout(function(){I=!0,clearTimeout(e)},200)},onEnd:function(){var e=setTimeout(function(){I=!1,clearTimeout(e)},200)},onZoom:function(e,t){var i=t.getMatrix()[0];i===o?n.attr("data-zoom-direction","out"):i===a&&n.attr("data-zoom-direction","in")}})}else new ss.PDPUtils.IE8Zoom({container:n,zoomIn:p.find(".zoom-in-button"),zoomOut:p.find(".zoom-out-button"),scale:14})}}var u,f={zoom:!0,useCloseButton:!0},h=e.extend(f,t),p=e(".gallery-module"),v=!1,m=p.find(".gallery-module-product"),g=(e(".media-module").find(".gallery"),h.useCloseButton?e(".gallery-module").find(".close-button"):null),y=h.zoom?p.find(".zoom-in-button"):null,b=h.zoom?p.find(".zoom-out-button"):null,w=h.products,C=e(".hero-module"),E=e(".hero-stage"),P=p.find(".thumbnail-gallery"),x=P.find(".prev"),T=P.find(".next"),k={curr:0,anim:!1},S="//images.samsung.com/is/image/samsung/",I=!1,O={popover:null,popoverArgs:{}};i()},ss.PDPUtils.IE8Zoom=function(e){function t(){n(),i()}function i(){s.on("click",function(){o("in")}),r.on("click",function(){o("out")})}function n(){var e=a.is(":visible")?"offset":"position";u={width:a.outerWidth(),height:a.outerHeight(),left:a[e]().left,top:parseInt(a.css("top"),10),marginLeft:0},d[0]=u;for(var t=1,i=c+1;i>t;t++){var n=d[t-1],o=n.width+.2*n.width,s=n.height+.2*n.height,r=(n.left-(o-n.width)/2,n.top-(s-n.height)/2);d[t]={width:o,height:s,left:"50%",top:r,marginLeft:-(o/2)}}}function o(e){"in"===e&&c>l?(l+=1,a.css(d[l])):"out"===e&&l>0&&(l-=1,a.css(d[l])),0===l?(a.removeAttr("style"),a.attr("data-zoom-direction","in")):l===c&&a.attr("data-zoom-direction","out")}var a=e.container,s=e.zoomIn,r=e.zoomOut,c=e.scale-1,l=0,d=[],u={width:0,height:0,left:0,top:0,marginLeft:0};t()}}(jQuery),$(document).ready(function(){$("body").on("click",".lightbox-skrim",function(e){$(".layer_popup").hide(),$(".lightbox-skrim").remove(),ss.Popover.hideActive(e)})}),$(function(){ss.accessibilityManager=new ss.AccessibilityManager}); !function(t,i,s){function e(s,e){this.wrapper="string"==typeof s?i.querySelector(s):s,this.scroller=this.wrapper.children[0],this.scrollerStyle=this.scroller.style,this.options={resizeScrollbars:!0,mouseWheelSpeed:20,snapThreshold:.334,disablePointer:!h.hasPointer,disableTouch:h.hasPointer||!h.hasTouch,disableMouse:h.hasPointer||h.hasTouch,startX:0,startY:0,scrollY:!0,directionLockThreshold:5,momentum:!0,bounce:!0,bounceTime:600,bounceEasing:"",preventDefault:!0,preventDefaultException:{tagName:/^(INPUT|TEXTAREA|BUTTON|SELECT)$/},HWCompositing:!0,useTransition:!0,useTransform:!0,bindToWrapper:"undefined"==typeof t.onmousedown};for(var o in e)this.options[o]=e[o];this.translateZ=this.options.HWCompositing&&h.hasPerspective?" translateZ(0)":"",this.options.useTransition=h.hasTransition&&this.options.useTransition,this.options.useTransform=h.hasTransform&&this.options.useTransform,this.options.eventPassthrough=this.options.eventPassthrough===!0?"vertical":this.options.eventPassthrough,this.options.preventDefault=!this.options.eventPassthrough&&this.options.preventDefault,this.options.scrollY="vertical"==this.options.eventPassthrough?!1:this.options.scrollY,this.options.scrollX="horizontal"==this.options.eventPassthrough?!1:this.options.scrollX,this.options.freeScroll=this.options.freeScroll&&!this.options.eventPassthrough,this.options.directionLockThreshold=this.options.eventPassthrough?0:this.options.directionLockThreshold,this.options.bounceEasing="string"==typeof this.options.bounceEasing?h.ease[this.options.bounceEasing]||h.ease.circular:this.options.bounceEasing,this.options.resizePolling=void 0===this.options.resizePolling?60:this.options.resizePolling,this.options.tap===!0&&(this.options.tap="tap"),this.options.useTransition||this.options.useTransform||/relative|absolute/i.test(this.scrollerStyle.position)||(this.scrollerStyle.position="relative"),"scale"==this.options.shrinkScrollbars&&(this.options.useTransition=!1),this.options.invertWheelDirection=this.options.invertWheelDirection?-1:1,this.x=0,this.y=0,this.directionX=0,this.directionY=0,this._events={},this._init(),this.refresh(),this.scrollTo(this.options.startX,this.options.startY),this.enable()}function o(t,s,e){var o=i.createElement("div"),n=i.createElement("div");return e===!0&&(o.style.cssText="position:absolute;z-index:9999",n.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;background:rgba(0,0,0,0.5);border:1px solid rgba(255,255,255,0.9);border-radius:3px"),n.className="iScrollIndicator","h"==t?(e===!0&&(o.style.cssText+=";height:7px;left:2px;right:2px;bottom:0",n.style.height="100%"),o.className="iScrollHorizontalScrollbar"):(e===!0&&(o.style.cssText+=";width:7px;bottom:2px;top:2px;right:1px",n.style.width="100%"),o.className="iScrollVerticalScrollbar"),o.style.cssText+=";overflow:hidden",s||(o.style.pointerEvents="none"),o.appendChild(n),o}function n(s,e){this.wrapper="string"==typeof e.el?i.querySelector(e.el):e.el,this.wrapperStyle=this.wrapper.style,this.indicator=this.wrapper.children[0],this.indicatorStyle=this.indicator.style,this.scroller=s,this.options={listenX:!0,listenY:!0,interactive:!1,resize:!0,defaultScrollbars:!1,shrink:!1,fade:!1,speedRatioX:0,speedRatioY:0};for(var o in e)this.options[o]=e[o];if(this.sizeRatioX=1,this.sizeRatioY=1,this.maxPosX=0,this.maxPosY=0,this.options.interactive&&(this.options.disableTouch||(h.addEvent(this.indicator,"touchstart",this),h.addEvent(t,"touchend",this)),this.options.disablePointer||(h.addEvent(this.indicator,h.prefixPointerEvent("pointerdown"),this),h.addEvent(t,h.prefixPointerEvent("pointerup"),this)),this.options.disableMouse||(h.addEvent(this.indicator,"mousedown",this),h.addEvent(t,"mouseup",this))),this.options.fade){this.wrapperStyle[h.style.transform]=this.scroller.translateZ;var n=h.style.transitionDuration;if(!n)return;this.wrapperStyle[n]=h.isBadAndroid?"0.0001ms":"0ms";var a=this;h.isBadAndroid&&r(function(){"0.0001ms"===a.wrapperStyle[n]&&(a.wrapperStyle[n]="0s")}),this.wrapperStyle.opacity="0"}}var r=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||t.msRequestAnimationFrame||function(i){t.setTimeout(i,1e3/60)},h=function(){function e(t){return r===!1?!1:""===r?t:r+t.charAt(0).toUpperCase()+t.substr(1)}var o={},n=i.createElement("div").style,r=function(){for(var t,i=["t","webkitT","MozT","msT","OT"],s=0,e=i.length;e>s;s++)if(t=i[s]+"ransform",t in n)return i[s].substr(0,i[s].length-1);return!1}();o.getTime=Date.now||function(){return(new Date).getTime()},o.extend=function(t,i){for(var s in i)t[s]=i[s]},o.addEvent=function(t,i,s,e){t.addEventListener(i,s,!!e)},o.removeEvent=function(t,i,s,e){t.removeEventListener(i,s,!!e)},o.prefixPointerEvent=function(i){return t.MSPointerEvent?"MSPointer"+i.charAt(7).toUpperCase()+i.substr(8):i},o.momentum=function(t,i,e,o,n,r){var h,a,l=t-i,c=s.abs(l)/e;return r=void 0===r?6e-4:r,h=t+c*c/(2*r)*(0>l?-1:1),a=c/r,o>h?(h=n?o-n/2.5*(c/8):o,l=s.abs(h-t),a=l/c):h>0&&(h=n?n/2.5*(c/8):0,l=s.abs(t)+h,a=l/c),{destination:s.round(h),duration:a}};var h=e("transform");return o.extend(o,{hasTransform:h!==!1,hasPerspective:e("perspective")in n,hasTouch:"ontouchstart"in t,hasPointer:!(!t.PointerEvent&&!t.MSPointerEvent),hasTransition:e("transition")in n}),o.isBadAndroid=function(){var i=t.navigator.appVersion;if(/Android/.test(i)&&!/Chrome\/\d/.test(i)){var s=i.match(/Safari\/(\d+.\d)/);return s&&"object"==typeof s&&s.length>=2?parseFloat(s[1])<535.19:!0}return!1}(),o.extend(o.style={},{transform:h,transitionTimingFunction:e("transitionTimingFunction"),transitionDuration:e("transitionDuration"),transitionDelay:e("transitionDelay"),transformOrigin:e("transformOrigin"),touchAction:e("touchAction")}),o.hasClass=function(t,i){var s=new RegExp("(^|\\s)"+i+"(\\s|$)");return s.test(t.className)},o.addClass=function(t,i){if(!o.hasClass(t,i)){var s=t.className.split(" ");s.push(i),t.className=s.join(" ")}},o.removeClass=function(t,i){if(o.hasClass(t,i)){var s=new RegExp("(^|\\s)"+i+"(\\s|$)","g");t.className=t.className.replace(s," ")}},o.offset=function(t){for(var i=-t.offsetLeft,s=-t.offsetTop;t=t.offsetParent;)i-=t.offsetLeft,s-=t.offsetTop;return{left:i,top:s}},o.preventDefaultException=function(t,i){for(var s in i)if(i[s].test(t[s]))return!0;return!1},o.extend(o.eventType={},{touchstart:1,touchmove:1,touchend:1,mousedown:2,mousemove:2,mouseup:2,pointerdown:3,pointermove:3,pointerup:3,MSPointerDown:3,MSPointerMove:3,MSPointerUp:3}),o.extend(o.ease={},{quadratic:{style:"cubic-bezier(0.25, 0.46, 0.45, 0.94)",fn:function(t){return t*(2-t)}},circular:{style:"cubic-bezier(0.1, 0.57, 0.1, 1)",fn:function(t){return s.sqrt(1- --t*t)}},back:{style:"cubic-bezier(0.175, 0.885, 0.32, 1.275)",fn:function(t){var i=4;return(t-=1)*t*((i+1)*t+i)+1}},bounce:{style:"",fn:function(t){return(t/=1)<1/2.75?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}},elastic:{style:"",fn:function(t){var i=.22,e=.4;return 0===t?0:1==t?1:e*s.pow(2,-10*t)*s.sin(2*(t-i/4)*s.PI/i)+1}}}),o.tap=function(t,s){var e=i.createEvent("Event");e.initEvent(s,!0,!0),e.pageX=t.pageX,e.pageY=t.pageY,t.target.dispatchEvent(e)},o.click=function(s){var e,o=s.target;/(SELECT|INPUT|TEXTAREA)/i.test(o.tagName)||(e=i.createEvent(t.MouseEvent?"MouseEvents":"Event"),e.initEvent("click",!0,!0),e.view=s.view||t,e.detail=1,e.screenX=o.screenX||0,e.screenY=o.screenY||0,e.clientX=o.clientX||0,e.clientY=o.clientY||0,e.ctrlKey=!!s.ctrlKey,e.altKey=!!s.altKey,e.shiftKey=!!s.shiftKey,e.metaKey=!!s.metaKey,e.button=0,e.relatedTarget=null,e._constructed=!0,o.dispatchEvent(e))},o.getTouchAction=function(t,i){var s="none";return"vertical"===t?s="pan-y":"horizontal"===t&&(s="pan-x"),i&&"none"!=s&&(s+=" pinch-zoom"),s},o.getRect=function(t){if(t instanceof SVGElement){var i=t.getBoundingClientRect();return{top:i.top,left:i.left,width:i.width,height:i.height}}return{top:t.offsetTop,left:t.offsetLeft,width:t.offsetWidth,height:t.offsetHeight}},o}();e.prototype={version:"5.2.0-snapshot",_init:function(){this._initEvents(),(this.options.scrollbars||this.options.indicators)&&this._initIndicators(),this.options.mouseWheel&&this._initWheel(),this.options.snap&&this._initSnap(),this.options.keyBindings&&this._initKeys()},destroy:function(){this._initEvents(!0),clearTimeout(this.resizeTimeout),this.resizeTimeout=null,this._execEvent("destroy")},_transitionEnd:function(t){t.target==this.scroller&&this.isInTransition&&(this._transitionTime(),this.resetPosition(this.options.bounceTime)||(this.isInTransition=!1,this._execEvent("scrollEnd")))},_start:function(t){if(1!=h.eventType[t.type]){var i;if(i=t.which?t.button:t.button<2?0:4==t.button?1:2,0!==i)return}if(this.enabled&&(!this.initiated||h.eventType[t.type]===this.initiated)){!this.options.preventDefault||h.isBadAndroid||h.preventDefaultException(t.target,this.options.preventDefaultException)||t.preventDefault();var e,o=t.touches?t.touches[0]:t;this.initiated=h.eventType[t.type],this.moved=!1,this.distX=0,this.distY=0,this.directionX=0,this.directionY=0,this.directionLocked=0,this.startTime=h.getTime(),this.options.useTransition&&this.isInTransition?(this._transitionTime(),this.isInTransition=!1,e=this.getComputedPosition(),this._translate(s.round(e.x),s.round(e.y)),this._execEvent("scrollEnd")):!this.options.useTransition&&this.isAnimating&&(this.isAnimating=!1,this._execEvent("scrollEnd")),this.startX=this.x,this.startY=this.y,this.absStartX=this.x,this.absStartY=this.y,this.pointX=o.pageX,this.pointY=o.pageY,this._execEvent("beforeScrollStart")}},_move:function(t){if(this.enabled&&h.eventType[t.type]===this.initiated){this.options.preventDefault&&t.preventDefault();var i,e,o,n,r=t.touches?t.touches[0]:t,a=r.pageX-this.pointX,l=r.pageY-this.pointY,c=h.getTime();if(this.pointX=r.pageX,this.pointY=r.pageY,this.distX+=a,this.distY+=l,o=s.abs(this.distX),n=s.abs(this.distY),!(c-this.endTime>300&&10>o&&10>n)){if(this.directionLocked||this.options.freeScroll||(this.directionLocked=o>n+this.options.directionLockThreshold?"h":n>=o+this.options.directionLockThreshold?"v":"n"),"h"==this.directionLocked){if("vertical"==this.options.eventPassthrough)t.preventDefault();else if("horizontal"==this.options.eventPassthrough)return void(this.initiated=!1);l=0}else if("v"==this.directionLocked){if("horizontal"==this.options.eventPassthrough)t.preventDefault();else if("vertical"==this.options.eventPassthrough)return void(this.initiated=!1);a=0}a=this.hasHorizontalScroll?a:0,l=this.hasVerticalScroll?l:0,i=this.x+a,e=this.y+l,(i>0||i0?0:this.maxScrollX),(e>0||e0?0:this.maxScrollY),this.directionX=a>0?-1:0>a?1:0,this.directionY=l>0?-1:0>l?1:0,this.moved||this._execEvent("scrollStart"),this.moved=!0,this._translate(i,e),c-this.startTime>300&&(this.startTime=c,this.startX=this.x,this.startY=this.y)}}},_end:function(t){if(this.enabled&&h.eventType[t.type]===this.initiated){this.options.preventDefault&&!h.preventDefaultException(t.target,this.options.preventDefaultException)&&t.preventDefault();var i,e,o=(t.changedTouches?t.changedTouches[0]:t,h.getTime()-this.startTime),n=s.round(this.x),r=s.round(this.y),a=s.abs(n-this.startX),l=s.abs(r-this.startY),c=0,p="";if(this.isInTransition=0,this.initiated=0,this.endTime=h.getTime(),!this.resetPosition(this.options.bounceTime)){if(this.scrollTo(n,r),!this.moved)return this.options.tap&&h.tap(t,this.options.tap),this.options.click&&h.click(t),void this._execEvent("scrollCancel");if(this._events.flick&&200>o&&100>a&&100>l)return void this._execEvent("flick");if(this.options.momentum&&300>o&&(i=this.hasHorizontalScroll?h.momentum(this.x,this.startX,o,this.maxScrollX,this.options.bounce?this.wrapperWidth:0,this.options.deceleration):{destination:n,duration:0},e=this.hasVerticalScroll?h.momentum(this.y,this.startY,o,this.maxScrollY,this.options.bounce?this.wrapperHeight:0,this.options.deceleration):{destination:r,duration:0},n=i.destination,r=e.destination,c=s.max(i.duration,e.duration),this.isInTransition=1),this.options.snap){var d=this._nearestSnap(n,r);this.currentPage=d,c=this.options.snapSpeed||s.max(s.max(s.min(s.abs(n-d.x),1e3),s.min(s.abs(r-d.y),1e3)),300),n=d.x,r=d.y,this.directionX=0,this.directionY=0,p=this.options.bounceEasing}return n!=this.x||r!=this.y?((n>0||n0||r0?i=0:this.x0?s=0:this.y-1&&this._events[t].splice(s,1)}},_execEvent:function(t){if(this._events[t]){var i=0,s=this._events[t].length;if(s)for(;s>i;i++)this._events[t][i].apply(this,[].slice.call(arguments,1))}},scrollBy:function(t,i,s,e){t=this.x+t,i=this.y+i,s=s||0,this.scrollTo(t,i,s,e)},scrollTo:function(t,i,s,e){e=e||h.ease.circular,this.isInTransition=this.options.useTransition&&s>0;var o=this.options.useTransition&&e.style;!s||o?(o&&(this._transitionTimingFunction(e.style),this._transitionTime(s)),this._translate(t,i)):this._animate(t,i,s,e.fn)},scrollToElement:function(t,i,e,o,n){if(t=t.nodeType?t:this.scroller.querySelector(t)){var r=h.offset(t);r.left-=this.wrapperOffset.left,r.top-=this.wrapperOffset.top;var a=h.getRect(t),l=h.getRect(this.wrapper);e===!0&&(e=s.round(a.width/2-l.width/2)),o===!0&&(o=s.round(a.height/2-l.height/2)),r.left-=e||0,r.top-=o||0,r.left=r.left>0?0:r.left0?0:r.top0?o--:0>i&&o++,e>0?n--:0>e&&n++,void this.goToPage(o,n);o=this.x+s.round(this.hasHorizontalScroll?i:0),n=this.y+s.round(this.hasVerticalScroll?e:0),this.directionX=i>0?-1:0>i?1:0,this.directionY=e>0?-1:0>e?1:0,o>0?o=0:o0?n=0:n-this.scrollerWidth;){for(this.pages[l]=[],t=0,n=0;n>-this.scrollerHeight;)this.pages[l][t]={x:s.max(p,this.maxScrollX),y:s.max(n,this.maxScrollY),width:d,height:u,cx:p-e,cy:n-o},n-=u,t++;p-=d,l++}else for(r=this.options.snap,t=r.length,i=-1;t>l;l++)a=h.getRect(r[l]),(0===l||a.left<=h.getRect(r[l-1]).left)&&(c=0,i++),this.pages[c]||(this.pages[c]=[]),p=s.max(-a.left,this.maxScrollX),n=s.max(-a.top,this.maxScrollY),e=p-s.round(a.width/2),o=n-s.round(a.height/2),this.pages[c][i]={x:p,y:n,width:a.width,height:a.height,cx:e,cy:o},p>this.maxScrollX&&c++;this.goToPage(this.currentPage.pageX||0,this.currentPage.pageY||0,0),this.options.snapThreshold%1===0?(this.snapThresholdX=this.options.snapThreshold,this.snapThresholdY=this.options.snapThreshold):(this.snapThresholdX=s.round(this.pages[this.currentPage.pageX][this.currentPage.pageY].width*this.options.snapThreshold),this.snapThresholdY=s.round(this.pages[this.currentPage.pageX][this.currentPage.pageY].height*this.options.snapThreshold))}}),this.on("flick",function(){var t=this.options.snapSpeed||s.max(s.max(s.min(s.abs(this.x-this.startX),1e3),s.min(s.abs(this.y-this.startY),1e3)),300);this.goToPage(this.currentPage.pageX+this.directionX,this.currentPage.pageY+this.directionY,t)})},_nearestSnap:function(t,i){if(!this.pages.length)return{x:0,y:0,pageX:0,pageY:0};var e=0,o=this.pages.length,n=0;if(s.abs(t-this.absStartX)0?t=0:t0?i=0:ie;e++)if(t>=this.pages[e][0].cx){t=this.pages[e][0].x;break}for(o=this.pages[e].length;o>n;n++)if(i>=this.pages[0][n].cy){i=this.pages[0][n].y;break}return e==this.currentPage.pageX&&(e+=this.directionX,0>e?e=0:e>=this.pages.length&&(e=this.pages.length-1),t=this.pages[e][0].x),n==this.currentPage.pageY&&(n+=this.directionY,0>n?n=0:n>=this.pages[0].length&&(n=this.pages[0].length-1),i=this.pages[0][n].y),{x:t,y:i,pageX:e,pageY:n}},goToPage:function(t,i,e,o){o=o||this.options.bounceEasing,t>=this.pages.length?t=this.pages.length-1:0>t&&(t=0),i>=this.pages[t].length?i=this.pages[t].length-1:0>i&&(i=0);var n=this.pages[t][i].x,r=this.pages[t][i].y;e=void 0===e?this.options.snapSpeed||s.max(s.max(s.min(s.abs(n-this.x),1e3),s.min(s.abs(r-this.y),1e3)),300):e,this.currentPage={x:n,y:r,pageX:t,pageY:i},this.scrollTo(n,r,e,o)},next:function(t,i){var s=this.currentPage.pageX,e=this.currentPage.pageY;s++,s>=this.pages.length&&this.hasVerticalScroll&&(s=0,e++),this.goToPage(s,e,t,i)},prev:function(t,i){var s=this.currentPage.pageX,e=this.currentPage.pageY;s--,0>s&&this.hasVerticalScroll&&(s=0,e--),this.goToPage(s,e,t,i)},_initKeys:function(i){var s,e={pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40};if("object"==typeof this.options.keyBindings)for(s in this.options.keyBindings)"string"==typeof this.options.keyBindings[s]&&(this.options.keyBindings[s]=this.options.keyBindings[s].toUpperCase().charCodeAt(0));else this.options.keyBindings={};for(s in e)this.options.keyBindings[s]=this.options.keyBindings[s]||e[s];h.addEvent(t,"keydown",this),this.on("destroy",function(){h.removeEvent(t,"keydown",this)})},_key:function(t){if(this.enabled){var i,e=this.options.snap,o=e?this.currentPage.pageX:this.x,n=e?this.currentPage.pageY:this.y,r=h.getTime(),a=this.keyTime||0,l=.25;switch(this.options.useTransition&&this.isInTransition&&(i=this.getComputedPosition(),this._translate(s.round(i.x),s.round(i.y)),this.isInTransition=!1),this.keyAcceleration=200>r-a?s.min(this.keyAcceleration+l,50):0,t.keyCode){case this.options.keyBindings.pageUp:this.hasHorizontalScroll&&!this.hasVerticalScroll?o+=e?1:this.wrapperWidth:n+=e?1:this.wrapperHeight;break;case this.options.keyBindings.pageDown:this.hasHorizontalScroll&&!this.hasVerticalScroll?o-=e?1:this.wrapperWidth:n-=e?1:this.wrapperHeight;break;case this.options.keyBindings.end:o=e?this.pages.length-1:this.maxScrollX,n=e?this.pages[0].length-1:this.maxScrollY;break;case this.options.keyBindings.home:o=0,n=0;break;case this.options.keyBindings.left:o+=e?-1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.up:n+=e?1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.right:o-=e?-1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.down:n-=e?1:5+this.keyAcceleration>>0;break;default:return}if(e)return void this.goToPage(o,n);o>0?(o=0,this.keyAcceleration=0):o0?(n=0,this.keyAcceleration=0):n=p?(n.isAnimating=!1,n._translate(t,i),void(n.resetPosition(n.options.bounceTime)||n._execEvent("scrollEnd"))):(f=(f-c)/s,m=e(f),d=(t-a)*m+a,u=(i-l)*m+l,n._translate(d,u),void(n.isAnimating&&r(o)))}var n=this,a=this.x,l=this.y,c=h.getTime(),p=c+s;this.isAnimating=!0,o()},handleEvent:function(t){switch(t.type){case"touchstart":case"pointerdown":case"MSPointerDown":case"mousedown":this._start(t);break;case"touchmove":case"pointermove":case"MSPointerMove":case"mousemove":this._move(t);break;case"touchend":case"pointerup":case"MSPointerUp":case"mouseup":case"touchcancel":case"pointercancel":case"MSPointerCancel":case"mousecancel":this._end(t);break;case"orientationchange":case"resize":this._resize();break;case"transitionend":case"webkitTransitionEnd":case"oTransitionEnd":case"MSTransitionEnd":this._transitionEnd(t);break;case"wheel":case"DOMMouseScroll":case"mousewheel":this._wheel(t);break;case"keydown":this._key(t);break;case"click":this.enabled&&!t._constructed&&(t.preventDefault(),t.stopPropagation())}}},n.prototype={handleEvent:function(t){switch(t.type){case"touchstart":case"pointerdown":case"MSPointerDown":case"mousedown":this._start(t);break;case"touchmove":case"pointermove":case"MSPointerMove":case"mousemove":this._move(t);break;case"touchend":case"pointerup":case"MSPointerUp":case"mouseup":case"touchcancel":case"pointercancel":case"MSPointerCancel":case"mousecancel":this._end(t)}},destroy:function(){this.options.fadeScrollbars&&(clearTimeout(this.fadeTimeout),this.fadeTimeout=null),this.options.interactive&&(h.removeEvent(this.indicator,"touchstart",this),h.removeEvent(this.indicator,h.prefixPointerEvent("pointerdown"),this),h.removeEvent(this.indicator,"mousedown",this),h.removeEvent(t,"touchmove",this),h.removeEvent(t,h.prefixPointerEvent("pointermove"),this),h.removeEvent(t,"mousemove",this),h.removeEvent(t,"touchend",this),h.removeEvent(t,h.prefixPointerEvent("pointerup"),this),h.removeEvent(t,"mouseup",this)),this.options.defaultScrollbars&&this.wrapper.parentNode&&this.wrapper.parentNode.removeChild(this.wrapper)},_start:function(i){var s=i.touches?i.touches[0]:i;i.preventDefault(),i.stopPropagation(),this.transitionTime(),this.initiated=!0,this.moved=!1,this.lastPointX=s.pageX,this.lastPointY=s.pageY,this.startTime=h.getTime(),this.options.disableTouch||h.addEvent(t,"touchmove",this),this.options.disablePointer||h.addEvent(t,h.prefixPointerEvent("pointermove"),this),this.options.disableMouse||h.addEvent(t,"mousemove",this),this.scroller._execEvent("beforeScrollStart")},_move:function(t){{var i,s,e,o,n=t.touches?t.touches[0]:t;h.getTime()}this.moved||this.scroller._execEvent("scrollStart"),this.moved=!0,i=n.pageX-this.lastPointX,this.lastPointX=n.pageX,s=n.pageY-this.lastPointY,this.lastPointY=n.pageY,e=this.x+i,o=this.y+s,this._pos(e,o),t.preventDefault(),t.stopPropagation()},_end:function(i){if(this.initiated){if(this.initiated=!1,i.preventDefault(),i.stopPropagation(),h.removeEvent(t,"touchmove",this),h.removeEvent(t,h.prefixPointerEvent("pointermove"),this),h.removeEvent(t,"mousemove",this),this.scroller.options.snap){var e=this.scroller._nearestSnap(this.scroller.x,this.scroller.y),o=this.options.snapSpeed||s.max(s.max(s.min(s.abs(this.scroller.x-e.x),1e3),s.min(s.abs(this.scroller.y-e.y),1e3)),300);(this.scroller.x!=e.x||this.scroller.y!=e.y)&&(this.scroller.directionX=0,this.scroller.directionY=0,this.scroller.currentPage=e,this.scroller.scrollTo(e.x,e.y,o,this.scroller.options.bounceEasing))}this.moved&&this.scroller._execEvent("scrollEnd")}},transitionTime:function(t){t=t||0;var i=h.style.transitionDuration;if(i&&(this.indicatorStyle[i]=t+"ms",!t&&h.isBadAndroid)){this.indicatorStyle[i]="0.0001ms";var s=this;r(function(){"0.0001ms"===s.indicatorStyle[i]&&(s.indicatorStyle[i]="0s")})}},transitionTimingFunction:function(t){this.indicatorStyle[h.style.transitionTimingFunction]=t},refresh:function(){this.transitionTime(),this.indicatorStyle.display=this.options.listenX&&!this.options.listenY?this.scroller.hasHorizontalScroll?"block":"none":this.options.listenY&&!this.options.listenX?this.scroller.hasVerticalScroll?"block":"none":this.scroller.hasHorizontalScroll||this.scroller.hasVerticalScroll?"block":"none",this.scroller.hasHorizontalScroll&&this.scroller.hasVerticalScroll?(h.addClass(this.wrapper,"iScrollBothScrollbars"),h.removeClass(this.wrapper,"iScrollLoneScrollbar"),this.options.defaultScrollbars&&this.options.customStyle&&(this.options.listenX?this.wrapper.style.right="8px":this.wrapper.style.bottom="8px")):(h.removeClass(this.wrapper,"iScrollBothScrollbars"),h.addClass(this.wrapper,"iScrollLoneScrollbar"),this.options.defaultScrollbars&&this.options.customStyle&&(this.options.listenX?this.wrapper.style.right="2px":this.wrapper.style.bottom="2px")),h.getRect(this.wrapper),this.options.listenX&&(this.wrapperWidth=this.wrapper.clientWidth,this.options.resize?(this.indicatorWidth=s.max(s.round(this.wrapperWidth*this.wrapperWidth/(this.scroller.scrollerWidth||this.wrapperWidth||1)),8),this.indicatorStyle.width=this.indicatorWidth+"px"):this.indicatorWidth=this.indicator.clientWidth,this.maxPosX=this.wrapperWidth-this.indicatorWidth,"clip"==this.options.shrink?(this.minBoundaryX=-this.indicatorWidth+8,this.maxBoundaryX=this.wrapperWidth-8):(this.minBoundaryX=0,this.maxBoundaryX=this.maxPosX),this.sizeRatioX=this.options.speedRatioX||this.scroller.maxScrollX&&this.maxPosX/this.scroller.maxScrollX),this.options.listenY&&(this.wrapperHeight=this.wrapper.clientHeight,this.options.resize?(this.indicatorHeight=s.max(s.round(this.wrapperHeight*this.wrapperHeight/(this.scroller.scrollerHeight||this.wrapperHeight||1)),8),this.indicatorStyle.height=this.indicatorHeight+"px"):this.indicatorHeight=this.indicator.clientHeight,this.maxPosY=this.wrapperHeight-this.indicatorHeight,"clip"==this.options.shrink?(this.minBoundaryY=-this.indicatorHeight+8,this.maxBoundaryY=this.wrapperHeight-8):(this.minBoundaryY=0,this.maxBoundaryY=this.maxPosY),this.maxPosY=this.wrapperHeight-this.indicatorHeight,this.sizeRatioY=this.options.speedRatioY||this.scroller.maxScrollY&&this.maxPosY/this.scroller.maxScrollY),this.updatePosition()},updatePosition:function(){var t=this.options.listenX&&s.round(this.sizeRatioX*this.scroller.x)||0,i=this.options.listenY&&s.round(this.sizeRatioY*this.scroller.y)||0;this.options.ignoreBoundaries||(tthis.maxBoundaryX?"scale"==this.options.shrink?(this.width=s.max(this.indicatorWidth-(t-this.maxPosX),8),this.indicatorStyle.width=this.width+"px",t=this.maxPosX+this.indicatorWidth-this.width):t=this.maxBoundaryX:"scale"==this.options.shrink&&this.width!=this.indicatorWidth&&(this.width=this.indicatorWidth,this.indicatorStyle.width=this.width+"px"),ithis.maxBoundaryY?"scale"==this.options.shrink?(this.height=s.max(this.indicatorHeight-3*(i-this.maxPosY),8),this.indicatorStyle.height=this.height+"px",i=this.maxPosY+this.indicatorHeight-this.height):i=this.maxBoundaryY:"scale"==this.options.shrink&&this.height!=this.indicatorHeight&&(this.height=this.indicatorHeight,this.indicatorStyle.height=this.height+"px")),this.x=t,this.y=i,this.scroller.options.useTransform?this.indicatorStyle[h.style.transform]="translate("+t+"px,"+i+"px)"+this.scroller.translateZ:(this.indicatorStyle.left=t+"px",this.indicatorStyle.top=i+"px")},_pos:function(t,i){0>t?t=0:t>this.maxPosX&&(t=this.maxPosX),0>i?i=0:i>this.maxPosY&&(i=this.maxPosY),t=this.options.listenX?s.round(t/this.sizeRatioX):this.scroller.x,i=this.options.listenY?s.round(i/this.sizeRatioY):this.scroller.y,this.scroller.scrollTo(t,i)},fade:function(t,i){if(!i||this.visible){clearTimeout(this.fadeTimeout),this.fadeTimeout=null;var s=t?250:500,e=t?0:300;t=t?"1":"0",this.wrapperStyle[h.style.transitionDuration]=s+"ms",this.fadeTimeout=setTimeout(function(t){this.wrapperStyle.opacity=t,this.visible=+t}.bind(this,t),e)}}},e.utils=h,"undefined"!=typeof module&&module.exports?module.exports=e:"function"==typeof define&&define.amd?define(function(){return e}):t.IScroll=e}(window,document,Math); !function(t){return"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e,window,document)}):"object"==typeof exports?module.exports=t(require("jquery"),window,document):t(jQuery,window,document)}(function(t,e,i){"use strict";var s,o,n,l,r,h,c,a,p,d,u,g,v,f,S,m,T,y,b,w,x,$,C,H,O,A,E,Y,D,M,N;C={paneClass:"nano-pane",sliderClass:"nano-slider",contentClass:"nano-content",enabledClass:"has-scrollbar",flashedClass:"flashed",activeClass:"active",iOSNativeScrolling:!1,preventPageScrolling:!1,disableResize:!1,alwaysVisible:!1,flashDelay:1500,sliderMinHeight:20,sliderMaxHeight:null,documentContext:null,windowContext:null},y="scrollbar",T="scroll",p="mousedown",d="mouseenter",u="mousemove",v="mousewheel",g="mouseup",m="resize",r="drag",h="enter",w="up",S="panedown",n="DOMMouseScroll",l="down",x="wheel",c="keydown",a="keyup",b="touchmove",s="Microsoft Internet Explorer"===e.navigator.appName&&/msie 7./i.test(e.navigator.appVersion)&&e.ActiveXObject,o=null,E=e.requestAnimationFrame,$=e.cancelAnimationFrame,D=i.createElement("div").style,N=function(){var t,e,i,s,o,n;for(s=["t","webkitT","MozT","msT","OT"],t=o=0,n=s.length;n>o;t=++o)if(i=s[t],e=s[t]+"ransform",e in D)return s[t].substr(0,s[t].length-1);return!1}(),M=function(t){return N===!1?!1:""===N?t:N+t.charAt(0).toUpperCase()+t.substr(1)},Y=M("transform"),O=Y!==!1,H=function(){var t,e,s;return t=i.createElement("div"),e=t.style,e.position="absolute",e.width="100px",e.height="100px",e.overflow=T,e.top="-9999px",i.body.appendChild(t),s=t.offsetWidth-t.clientWidth,i.body.removeChild(t),s},A=function(){var t,i,s;return i=e.navigator.userAgent,(t=/(?=.+Mac OS X)(?=.+Firefox)/.test(i))?(s=/Firefox\/\d{2}\./.exec(i),s&&(s=s[0].replace(/\D+/g,"")),t&&+s>23):!1},f=function(){function c(s,n){this.el=s,this.options=n,o||(o=H()),this.$el=t(this.el),this.doc=t(this.options.documentContext||i),this.win=t(this.options.windowContext||e),this.body=this.doc.find("body"),this.$content=this.$el.children("."+this.options.contentClass),this.$content.attr("tabindex",this.options.tabIndex||0),this.content=this.$content[0],this.previousPosition=0,this.options.iOSNativeScrolling&&null!=this.el.style.WebkitOverflowScrolling?this.nativeScrolling():this.generate(),this.createEvents(),this.addEvents(),this.reset()}return c.prototype.preventScrolling=function(t,e){if(this.isActive)if(t.type===n)(e===l&&t.originalEvent.detail>0||e===w&&t.originalEvent.detail<0)&&t.preventDefault();else if(t.type===v){if(!t.originalEvent||!t.originalEvent.wheelDelta)return;(e===l&&t.originalEvent.wheelDelta<0||e===w&&t.originalEvent.wheelDelta>0)&&t.preventDefault()}},c.prototype.nativeScrolling=function(){this.$content.css({WebkitOverflowScrolling:"touch"}),this.iOSNativeScrolling=!0,this.isActive=!0},c.prototype.updateScrollValues=function(){var t,e;t=this.content,this.maxScrollTop=t.scrollHeight-t.clientHeight,this.prevScrollTop=this.contentScrollTop||0,this.contentScrollTop=t.scrollTop,e=this.contentScrollTop>this.previousPosition?"down":this.contentScrollTop=t.maxScrollTop&&t.prevScrollTop!==t.maxScrollTop?t.$el.trigger("scrollend"):0===t.contentScrollTop&&0!==t.prevScrollTop&&t.$el.trigger("scrolltop"),!1}}(this),up:function(t){return function(e){return t.isBeingDragged=!1,t.pane.removeClass(t.options.activeClass),t.doc.unbind(u,t.events[r]).unbind(g,t.events[w]),t.body.unbind(d,t.events[h]),!1}}(this),resize:function(t){return function(e){t.reset()}}(this),panedown:function(t){return function(e){return t.sliderY=(e.offsetY||e.originalEvent.layerY)-.5*t.sliderHeight,t.scroll(),t.events.down(e),!1}}(this),scroll:function(t){return function(e){t.updateScrollValues(),t.isBeingDragged||(t.iOSNativeScrolling||(t.sliderY=t.sliderTop,t.setOnScrollStyles()),null!=e&&(t.contentScrollTop>=t.maxScrollTop?(t.options.preventPageScrolling&&t.preventScrolling(e,l),t.prevScrollTop!==t.maxScrollTop&&t.$el.trigger("scrollend")):0===t.contentScrollTop&&(t.options.preventPageScrolling&&t.preventScrolling(e,w),0!==t.prevScrollTop&&t.$el.trigger("scrolltop"))))}}(this),wheel:function(t){return function(e){var i;if(null!=e)return i=e.delta||e.wheelDelta||e.originalEvent&&e.originalEvent.wheelDelta||-e.detail||e.originalEvent&&-e.originalEvent.detail,i&&(t.sliderY+=-i/3),t.scroll(),!1}}(this),enter:function(t){return function(e){var i;if(t.isBeingDragged)return 1!==(e.buttons||e.which)?(i=t.events)[w].apply(i,arguments):void 0}}(this)}},c.prototype.addEvents=function(){var t;this.removeEvents(),t=this.events,this.options.disableResize||this.win.bind(m,t[m]),this.iOSNativeScrolling||(this.slider.bind(p,t[l]),this.pane.bind(p,t[S]).bind(""+v+" "+n,t[x])),this.$content.bind(""+T+" "+v+" "+n+" "+b,t[T])},c.prototype.removeEvents=function(){var t;t=this.events,this.win.unbind(m,t[m]),this.iOSNativeScrolling||(this.slider.unbind(),this.pane.unbind()),this.$content.unbind(""+T+" "+v+" "+n+" "+b,t[T])},c.prototype.generate=function(){var t,i,s,n,l,r,h;return n=this.options,r=n.paneClass,h=n.sliderClass,t=n.contentClass,(l=this.$el.children("."+r)).length||l.children("."+h).length||this.$el.append('
            '),this.pane=this.$el.children("."+r),this.slider=this.pane.find("."+h),0===o&&A()?(s=e.getComputedStyle(this.content,null).getPropertyValue("padding-right").replace(/[^0-9.]+/g,""),i={right:-14,paddingRight:+s+14}):o&&(i={right:-o},this.$el.addClass(n.enabledClass)),null!=i&&this.$content.css(i),this},c.prototype.restore=function(){this.stopped=!1,this.iOSNativeScrolling||this.pane.show(),this.addEvents()},c.prototype.reset=function(){var t,e,i,n,l,r,h,c,a,p,d,u;return this.iOSNativeScrolling?void(this.contentHeight=this.content.scrollHeight):(this.$el.find("."+this.options.paneClass).length||this.generate().stop(),this.stopped&&this.restore(),t=this.content,n=t.style,l=n.overflowY,s&&this.$content.css({height:this.$content.height()}),e=t.scrollHeight+o,p=parseInt(this.$el.css("max-height"),10),p>0&&(this.$el.height(""),this.$el.height(t.scrollHeight>p?p:t.scrollHeight)),h=this.pane.outerHeight(!1),a=parseInt(this.pane.css("top"),10),r=parseInt(this.pane.css("bottom"),10),c=h+a+r,u=Math.round(c/e*h),uthis.options.sliderMaxHeight&&(u=this.options.sliderMaxHeight),l===T&&n.overflowX!==T&&(u+=o),this.maxSliderTop=c-u,this.contentHeight=e,this.paneHeight=h,this.paneOuterHeight=c,this.sliderHeight=u,this.paneTop=a,this.slider.height(u),this.events.scroll(),this.pane.show(),this.isActive=!0,t.scrollHeight===t.clientHeight||this.pane.outerHeight(!0)>=t.scrollHeight&&l!==T?(this.pane.hide(),this.isActive=!1):this.el.clientHeight===t.scrollHeight&&l===T?this.slider.hide():this.slider.show(),this.pane.css({opacity:this.options.alwaysVisible?1:"",visibility:this.options.alwaysVisible?"visible":""}),i=this.$content.css("position"),("static"===i||"relative"===i)&&(d=parseInt(this.$content.css("right"),10),d&&this.$content.css({right:"",marginRight:d})),this)},c.prototype.scroll=function(){return this.isActive?(this.sliderY=Math.max(0,this.sliderY),this.sliderY=Math.min(this.maxSliderTop,this.sliderY),this.$content.scrollTop(this.maxScrollTop*this.sliderY/this.maxSliderTop),this.iOSNativeScrolling||(this.updateScrollValues(),this.setOnScrollStyles()),this):void 0},c.prototype.scrollBottom=function(t){return this.isActive?(this.$content.scrollTop(this.contentHeight-this.$content.height()-t).trigger(v),this.stop().restore(),this):void 0},c.prototype.scrollTop=function(t){return this.isActive?(this.$content.scrollTop(+t).trigger(v),this.stop().restore(),this):void 0},c.prototype.scrollTo=function(t){return this.isActive?(this.scrollTop(this.$el.find(t).get(0).offsetTop),this):void 0},c.prototype.stop=function(){return $&&this.scrollRAF&&($(this.scrollRAF),this.scrollRAF=null),this.stopped=!0,this.removeEvents(),this.iOSNativeScrolling||this.pane.hide(),this},c.prototype.destroy=function(){return this.stopped||this.stop(),!this.iOSNativeScrolling&&this.pane.length&&this.pane.remove(),s&&this.$content.height(""),this.$content.removeAttr("tabindex"),this.$el.hasClass(this.options.enabledClass)&&(this.$el.removeClass(this.options.enabledClass),this.$content.css({right:""})),this},c.prototype.flash=function(){return!this.iOSNativeScrolling&&this.isActive?(this.reset(),this.pane.addClass(this.options.flashedClass),setTimeout(function(t){return function(){t.pane.removeClass(t.options.flashedClass)}}(this),this.options.flashDelay),this):void 0},c}(),t.fn.nanoScroller=function(e){return this.each(function(){var i,s;if((s=this.nanoscroller)||(i=t.extend({},C,e),this.nanoscroller=s=new f(this,i)),e&&"object"==typeof e){if(t.extend(s.options,e),null!=e.scrollBottom)return s.scrollBottom(e.scrollBottom);if(null!=e.scrollTop)return s.scrollTop(e.scrollTop);if(e.scrollTo)return s.scrollTo(e.scrollTo);if("bottom"===e.scroll)return s.scrollBottom(0);if("top"===e.scroll)return s.scrollTop(0);if(e.scroll&&e.scroll instanceof t)return s.scrollTo(e.scroll);if(e.stop)return s.stop();if(e.destroy)return s.destroy();if(e.flash)return s.flash()}return s.reset()})},t.fn.nanoScroller.Constructor=f}); !function(t,e,n,i){"use strict";var o,a;"undefined"==typeof e.smg&&(e.smg={}),"undefined"==typeof e.smg.aem&&(e.smg.aem={}),"undefined"==typeof e.smg.aem.components&&(e.smg.aem.components={}),"undefined"==typeof e.smg.aem.components.library&&(e.smg.aem.components.library={}),o=e.smg.aem.components.library,a=e.smg.aem.components;var s,l,r,c=e.smg.aem.varStatic,r=e.smg.aem.util,d=e.smg.aem.customEvent,f={RESIZE:"CL_RESIZE"};!function(e){function n(e,n){return"undefined"==typeof Granite?n:"undefined"==typeof Granite.I18n?n:(Granite.I18n.setLocale(t("#siteCode").val()),Granite.I18n.get(e,[],t("#siteCode").val())||n)}var i,o="i18N";"undefined"==typeof e[o]&&(e[o]={}),s=i=e[o],i.Prev=n("Previous","Previous"),i.Next=n("Next","Next"),i.Expand=n("Expand","Click to open"),i.Collaps=n("Collaps","Click to close"),i.Open=n("Open","Click to open"),i.Close=n("Close","Click to close"),i.Selected=n("Selected","Selected"),i.OpenPopup=n("Layer Popup Open","Open popup"),i.ClosePopup=n("Layer Popup Close","Close popup")}(o),function(o){var a,s="common";"undefined"==typeof o[s]&&(o[s]={}),l=a=o[s],a.isRTL=function(){var e=t("html");return e.hasClass("rtl")||"rtl"===e.attr("dir")}(),a.transitionEndName=function(){var t,e=document.createElement("fakeelement"),n={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(t in n)if(e.style[t]!==i)return n[t]}(),a.animationEndName=function(){var t,e=document.createElement("fakeelement"),n={animation:"animationend",OAnimation:"oAnimationEnd",MozAnimation:"animationend",WebkitAnimation:"webkitAnimationEnd"};for(t in n)if(e.style[t]!==i)return n[t]}(),a.supportedTransform=function(){var t;return function(){if("undefined"==typeof t)for(var e="transform WebkitTransform MozTransform OTransform msTransform".split(" "),n=document.createElement("div"),o=0;ot(e).height()?1:0,i={_width:r-c,width:(r-c)*a,dir:navigator.userAgent.match(/(MSIE|Trident|Edge)/g)&&d?"left":"right"}}return a=t(n).height()>t(e).height()?1:0,i.width=i._width*a,i}}(),a.aemEditMode=function(){var e;return function(){return"undefined"==typeof e&&(e=!!t("body",parent.document).find("#ContentScrollView").length),e}}()}(o),function(e){var n,o="util";"undefined"==typeof e[o]&&(e[o]={}),r=n=e[o],n.uuid=function(){var t=0;return function(e){var n=++t;return e=e?e:"",e+n}}(),n.findFocusEl=function(e){var n=[];return t(e).find("*").each(function(t,e){e.tagName.match(/^A$|AREA|INPUT|TEXTAREA|SELECT|BUTTON/gim)&&-1!==parseInt(e.getAttribute("tabIndex"))&&n.push(e),null!==e.getAttribute("tabIndex")&&parseInt(e.getAttribute("tabIndex"))>=0&&32768!==e.getAttribute("tabIndex",2)&&n.push(e)}),[n[0],n[n.length-1]]},n.debounce=function(t,e,n){var i;return function(){var o=this,a=arguments,s=function(){i=null,n||t.apply(o,a)},l=n&&!i;clearTimeout(i),i=setTimeout(s,e),l&&t.apply(o,a)}},n.throttle=function(t){var e=arguments.length<=1||arguments[1]===i?100:arguments[1],n=null;return function(){for(var i=this,o=arguments.length,a=Array(o),s=0;o>s;s++)a[s]=arguments[s];null===n&&(n=setTimeout(function(){t.apply(i,a),n=null},e))}},n.debug=function(e){if(e){var n='
            ';t("#debug").length||t("body").append(n),t("#debug").text(e)}}}(o),function(t,e,n,i,o){function a(t,n){this.element=t,this._name=c,this._defaults=d,this.options=e.extend({},this._defaults,n),this.flag=!1,this.initialized=!1,this.idx=0,this.init()}var r,c="lib_tab",d={mode:"static",event:"click",speed:300,easing:"swing",listEl:'[data-cl-js="tab__list"]',anchorEl:'[data-cl-js="tab__anchor"]',panelEl:'[data-cl-js="tab__panel"]',activeClassName:"is-active",disabledClassName:"is-disabled",withScroll:!1,isInitActive:!0,initIndex:0,onChangeBefore:null,onChangeAfter:null,selectedText:s.Selected||"Selected"};e.extend(a.prototype,{init:function(){var t=this;t.buildCache(),t.bindEvents(),t.options.isInitActive&&t.$anchor.eq(t.options.initIndex).trigger(t.options.event),t.initialized=!0},destroy:function(){var t=this;t.unbindEvents(),t.$list.removeAttr("role"),t.$anchor.removeAttr("style role").removeClass(t.options.activeClassName),t.$panel.removeAttr("style role aria-labelledby").removeClass(t.options.activeClassName),t.flag=!1},buildCache:function(){var n=this,i=[];n.$wrap=e(n.element),e(n.element).context.dataset&&(n.$tabjs=e(n.element).context.dataset.clJs),n.$anchor=n.$wrap.find(n.options.anchorEl),n.$panel=n.$wrap.find(n.options.panelEl),n.$list=function(){var t=n.$wrap.find(n.options.listEl),e=n.$wrap.children("ul, ol");return t.length?t:e}(),n.$list.attr("role","tablist"),n.$anchor.each(function(o){var a=e(this),s=a.attr("id")?a.attr("id"):t.util.uuid("js-"+n.$tabjs+"-"),l=a.get(0).tagName.toLowerCase(),r=!1;("a"===l||"button"===l)&&(r=!0),a.data(n._name+"_target",n.$panel.eq(o)).data("index",o).attr({id:s,role:"tab",tabindex:0}),r&&a.removeAttr("tabindex"),i.push(s)}),n.$panel.each(function(t){var n=e(this);n.attr({"aria-labelledby":i[t],role:"tabpanel"}),n.find("h2.blind").attr("tabindex",0)})},bindEvents:function(){var t=this,i=function(){var e=t.options.event;return"focusin"===e?"focusin."+t._name+" mouseenter."+t._name:"click"===e?"click."+t._name+" keydown."+t._name:e+"."+t._name}();t.$anchor.on(i,function(i){i.stopPropagation();var o=e(this);if(!o.hasClass(t.options.disabledClassName)&&!t.flag){var a=i.which;("click"===i.type||"focusin"===i.type||13===a||32===a)&&(t.idx=e(this).data("index"),t.show(this),t.hide(this),i.preventDefault()),e(n).trigger("resize")}}),t.$wrap.on("go."+t._name,function(n,i,o){t.$anchor.eq(i).trigger(t.options.event),o&&e("html, body").stop().animate({scrollTop:t.$wrap.offset().top},t.options.speed)})},unbindEvents:function(){var t=this;t.$anchor.off("."+t._name).removeData(t._name+"_target"),t.$wrap.off("."+t._name)},beforeChange:function(t,e){var n=this,i=n.options.onChangeBefore;"function"==typeof i&&i.apply(n.element,[n,t,e])},afterChange:function(t,n){var i=this,o=i.options.onChangeAfter;"function"==typeof o&&o.apply(i.element,[i,t,n]),e("body").trigger("TAB_CHANGE",[i,i.$wrap]),n.find(".slick-initialized").length&&n.find(".slick-initialized").slick("setPosition")},show:function(t){var n=this,i=e(t),o=i.attr("title"),a="";o?(a=o.split(":")[0]+":","Selected"==o&&(a="")):a="",a+=n.options.selectedText;var s=i.addClass(n.options.activeClassName).attr({"aria-selected":!0,title:a}).data(n._name+"_target").addClass(n.options.activeClassName);n.flag=!0,n.beforeChange(i,s),"fade"===n.options.mode?s.stop().fadeIn(n.options.speed,n.options.easing,function(){n.flag=!1,n.afterChange(i,s)}):"slide"===n.options.mode?s.stop().slideDown(n.options.speed,n.options.easing,function(){n.flag=!1,n.afterChange(i,s)}):(s.stop().show(),n.flag=!1,n.afterChange(i,s)),n.options.withScroll&&n.initialized&&e("html, body").stop().animate({scrollTop:n.$wrap.offset().top},n.options.speed)},hide:function(t){var n=this;n.$anchor.not(t).each(function(){var t=e(this).attr("title"),i="";t?(i=t.split(":")[0],"Selected"==i&&(i="")):i="";var o=e(this).removeClass(n.options.activeClassName).attr({"aria-selected":!1,title:i}).data(n._name+"_target").removeClass(n.options.activeClassName);"fade"===n.options.mode?o.stop().fadeOut(n.options.speed,n.options.easing):"slide"===n.options.mode?o.stop().slideUp(n.options.speed,n.options.easing):o.stop().hide()})}}),"undefined"==typeof t[c]&&(t[c]={}),r=t[c],r.init=function(t,n){t.each(function(){e.data(this,c)||e.data(this,c,new a(this,n))})},e(function(){e('[data-cl-js="tab"]').each(function(){l.aemEditMode()||r.init(e(this),e(this).data("clOption"))})})}(o,jQuery,window,document),function(t,e,n,i,o){function a(t,n){this.element=t,this._name=c,this._defaults=d,this.options=e.extend({},this._defaults,n),this.flag=!1,this.initialized=!1,this.init()}var r,c="lib_accordion",d={mode:"static",speed:300,easing:"linear",itemEl:'[data-cl-js="accordion__item"]',anchorEl:'[data-cl-js="accordion__anchor"]',panelEl:'[data-cl-js="accordion__panel"]',activeClassName:"is-active",isInitActive:!0,initIndex:0,autoFold:!0,onBeforeChange:null,onAfterChange:null,expandedText:s.Collaps||"collapse",collapsedText:s.Expand||"expand"};e.extend(a.prototype,{init:function(){var t=this;t.buildCache(),t.bindEvents(),t.$panel.hide(),t.options.isInitActive&&t._open(t.$anchor.eq(t.options.initIndex)),t.initialized=!0},destroy:function(){var t=this;t.unbindEvents(),t.$header.removeAttr("style").removeClass(t.options.activeClassName),t.$panel.removeAttr("style").removeClass(t.options.activeClassName),t.flag=!1},buildCache:function(){var n=this,i=[];n.$wrap=e(n.element).attr("role","presentation"),n.$header=n.$wrap.find(n.options.itemEl),n.$anchor=n.$wrap.find(n.options.anchorEl),n.$panel=n.$wrap.find(n.options.panelEl),n.$anchor.each(function(o){var a=e(this),s=a.attr("id")?a.attr("id"):t.util.uuid("js-"+c+"-");a.data(n._name+"_target",n.$panel.eq(o)).data("index",o).data("title",a.data("engTitle")||e.trim(a.text())).attr({id:s,"data-omni-type":"microsite_viewmore","data-omni":"see all:"+a.data("title"),"aria-expanded":!1,"aria-controls":s+"-panel",title:n.options.collapsedText}),i.push(s)}),n.$panel.each(function(t){e(this).attr({id:i[t]+"-panel","aria-labelledby":i[t],role:"region"}).hide()})},bindEvents:function(){var t=this;t.$wrap.on("click."+t._name,t.options.anchorEl,function(n){return n.stopPropagation(),t.flag?!1:void t.toggle(e(this))}),t.$header.on("open."+t._name,function(){t._open(e(this))}),t.$header.on("close."+t._name,function(){t._close(e(this))})},unbindEvents:function(){var t=this;t.$wrap.off("."+t._name),t.$header.off("."+t._name)},beforeChange:function(t){var e=this,n=e.options.onBeforeChange;"function"==typeof n&&n.apply(e.element,[e,t])},afterChange:function(t){var e=this,n=e.options.onAfterChange;"function"==typeof n&&n.apply(e.element,[e,t])},toggle:function(t){var e=this;e.flag=!0,e.beforeChange(t),t.closest(e.options.itemEl).hasClass(e.options.activeClassName)?e._close(t):e._open(t)},_open:function(t){var n=this,i=t.closest(n.options.itemEl),o=e("#"+t.attr("aria-controls"));n.initialized&&"slide"===n.options.mode?o.stop().slideDown(n.options.speed,n.options.easing,function(){n.flag=!1}):(o.stop().show(),n.flag=!1),i.addClass(n.options.activeClassName),t.addClass(n.options.activeClassName).data(n._name+"_isOpen",!0),o.addClass(n.options.activeClassName),n._changeStatus(t,!0),n.options.autoFold&&n.$anchor.not(t).each(function(){n._close(e(this))})},_close:function(t){var n=this,i=t.closest(n.options.itemEl),o=e("#"+t.attr("aria-controls"));return i.length?("slide"===n.options.mode?o.stop().slideUp(n.options.speed,n.options.easing,function(){n.flag=!1}):(o.stop().hide(),n.flag=!1),t.removeClass(n.options.activeClassName).data(n._name+"_isOpen",!1),i.removeClass(n.options.activeClassName),o.removeClass(n.options.activeClassName),void n._changeStatus(t,!1)):!1},_changeStatus:function(t,e){var n=this;t.attr({"aria-expanded":e,title:e?n.options.expandedText:n.options.collapsedText,"data-omni":e?"see less:"+t.data("title"):"see all:"+t.data("title")})}}),"undefined"==typeof t[c]&&(t[c]={}),r=t[c],r.init=function(t,n){t.each(function(){e.data(this,c)||e.data(this,c,new a(this,n))})},e(function(){e('[data-cl-js="accordion"]').each(function(){l.aemEditMode()||r.init(e(this),e(this).data("clOption"))})})}(o,jQuery,window,document),function(t,e,n,i,o){function a(t,n){this.element=t,this._name=c,this._defaults=d,this.options=e.extend({},this._defaults,n),this.isOpen=!1,this.initialized=!1,this.uuid=null,this.init()}var r,c="lib_disclosure",d=(n.smg.aem.util,n.smg.aem.varStatic,{mode:"static",speed:300,startOpen:!1,easing:"swing",activeClass:"is-active",anchorEl:'[data-cl-js="disclosure__anchor"]',panelEl:'[data-cl-js="disclosure__panel"]',closeEl:'[data-cl-js="disclosure__close"]',forceClose:!1,onBeforeOpen:null,onAfterClose:null,openedText:s.Collaps||"close",closedText:s.Expand||"open",showMore:"show more",showLess:"show less",viewMore:"view more",viewLess:"view less"});e.extend(a.prototype,{init:function(){var t=this;return t.buildCache(),t.bindEvents(),t.options.startOpen&&t.open(),t.initialized=!0,t},destroy:function(){var t=this;t.close(),t.$anchor.removeAttr("aria-controls aria-expanded aria-expanded title"),t.$panel.removeAttr("id"),t.initialized=!1,t.unbindEvents(),t.$anchor=null,t.$panel=null,t.$close=null,t.$focusHead=null,t.$focusTail=null,t.$wrap.removeData(t._name),t.$wrap=null},update:function(){var t=this;t.unbindEvents(),t.buildCache(),t.bindEvents()},buildCache:function(){var n,i=this;i.$wrap=e(i.element),i.$anchor=i.$wrap.find(i.options.anchorEl),i.$panel=i.$wrap.find(i.options.panelEl),i.$close=i.$wrap.find(i.options.closeEl),i.uuid=i.$panel.attr("id")||t.util.uuid("js-"+c+"-"),i.$anchor.attr({"aria-controls":i.uuid,"aria-expanded":"false",title:i.options.closedText}),i.$panel.attr({id:i.uuid}).removeClass(i.options.activeClass),n=t.util.findFocusEl(i.$panel),i.$focusHead=e(n[0]),i.$focusTail=e(n[1])},animate:function(t){var n=this;e("html, body").animate({scrollTop:t},{duration:500,complete:function(){n.open()}})},open:function(){var t=this;"function"==typeof t.options.onBeforeOpen&&(t.options.onBeforeOpen.call(t,t),t.update()),t.$wrap.addClass(t.options.activeClass),t.$anchor.addClass(t.options.activeClass).attr({"aria-expanded":!0,title:t.options.openedText,"data-omni":t.options.showLess,"ga-ac":t.options.viewLess}),t.panelAction("open",function(){t.isOpen=!0})},close:function(t){var e=this;e.$wrap.removeClass(e.options.activeClass),e.$anchor.removeClass(e.options.activeClass).attr({"aria-expanded":!1,title:e.options.closedText,"data-omni":e.options.showMore,"ga-ac":e.options.viewMore}),!e.initialized||t||e.$anchor.focus(),e.panelAction("close",function(){e.isOpen=!1,"function"==typeof e.options.onAfterClose&&e.options.onAfterClose.call(e,e)})},panelAction:function(t,e){var n=this,i=n.options.speed,o=n.options.easing;t="open"===t,{slide:function(){t?n.$panel.slideDown(i,o,function(){e&&e()}):n.$panel.slideUp(i,o,function(){e&&e()})},fade:function(){t?n.$panel.fadeIn(i,o,function(){e&&e()}):n.$panel.fadeOut(i,o,function(){e&&e()})},"static":function(){t?(n.$panel.addClass(n.options.activeClass),e&&e()):(n.$panel.removeClass(n.options.activeClass),e&&e())}}[n.options.mode]()},bindEvents:function(){var t=this;t.$anchor&&t.$anchor.on("click."+t._name,function(n){if(n.stopPropagation(),t.isOpen)t.close();else{var i=t.$wrap.closest(".js-sticky-placeholder");i.length&&Math.floor(i.offset().top)>e(window).scrollTop()?t.animate(i.offset().top):t.open()}}).on("keydown."+t._name,function(e){9===e.keyCode&&e.shiftKey&&(e.stopPropagation(),t.close())}).on("close."+t._name,function(e){t.close("force")}),t.$close&&t.$close.on("click."+t._name,function(e){e.stopPropagation(),t.close()}),t.$focusHead&&t.$focusHead.on("keydown."+t._name,function(e){9===e.keyCode&&e.shiftKey&&(e.preventDefault(),e.stopPropagation(),t.close())}),t.$focusTail&&t.$focusTail.on("keydown."+t._name,function(e){9!==e.keyCode||e.shiftKey||(e.preventDefault(),e.stopPropagation(),t.close())}),t.options.forceClose&&e(document).on("mouseup."+t.uuid,function(n){t.isOpen&&(n.stopPropagation(),e(n.target).closest(t.$panel).length||e(n.target).is(t.$anchor)||e(n.target).parents().is(t.$anchor)||t.close("force"))})},unbindEvents:function(){var t=this;t.$wrap&&t.$wrap.off("."+t._name),t.$anchor&&t.$anchor.off("."+t._name),t.$panel&&t.$panel.off("."+t._name),t.$focusHead&&t.$focusHead.off("."+t._name),t.$focusTail&&t.$focusTail.off("."+t._name),t.$close&&t.$close.off("."+t._name),e(document).off("."+t.uuid)}}),"undefined"==typeof t[c]&&(t[c]={}),r=t[c],r.init=function(t,n){t.each(function(){e.data(this,c)||e.data(this,c,new a(this,n))})},e(function(){e('[data-cl-js="disclosure"]').each(function(){l.aemEditMode()||r.init(e(this),e(this).data("clOption"))})})}(o,jQuery,window,document),function(t,e,n,i,o){function a(t,n){this.element=t,this._name=c,this._defaults=d,this.options=e.extend({},this._defaults,n),this.isFixed=!1,this.inviewList=[],this.scrollDirection=0,this.stickyHeight=0,this.activeInviewIndex=0,this.init()}var s,c="lib_sticky",d={topSpace:0,bottomSpace:0,activeClass:"is-active",fixedClass:"is-fixed",edgeClass:"is-edge",wrapperEl:null,autoFixed:!0,easing:"swing",inview:!1,speed:450};e.extend(a.prototype,{init:function(){var t=this;t.buildCache(),t.bindEvents(),t.resizer()},destroy:function(){var t=this;t.unbindEvents(),t.isFixed=!1,t.inviewList=[],t.stickyHeight=0,t.scrollDirection=0,t.activeInviewIndex=100,t.$sticky.unwrap(),t.$placeholder=null},buildCache:function(){var i=this,o=t.util.uuid("js-"+i._name+"-");i.$win=e(n),i.$html=e("html, body"),i.$sticky=e(i.element),i.stickyHeight=Math.round(i.getBoundingClientRect(i.$sticky.get(0)).height),i.$wrapper=i.$sticky.closest(i.options.wrapperEl),i.activeInviewIndex=100,i.$wrapper.length?"static"===i.$wrapper.css("position")&&i.$wrapper.css("position","relative"):i.$wrapper=e("body"),i.$sticky.wrap('
            '),i.$placeholder=e("#"+o),i.options.inview&&(i.inviewList=i.getInviewList(),i.checkInviewDebouce=r.throttle(function(){i.checkInview()},10))},getInviewList:function(){var t=this,n=[];return t.$sticky.is('a[href^="#"]')?n.push({$anchor:t.$sticky,$target:e(t.$sticky.attr("href")),targetId:t.$sticky.attr("href").substring(1)}):t.$sticky.find('a[href^="#"]').each(function(){n.push({$anchor:e(this),$target:e(e(this).attr("href")),targetId:e(this).attr("href").substring(1)})}),e.grep(n,function(t){return!!t.$target.length})},checkInview:function(){function t(t){for(var e=0,n=t;n;n=n.offsetParent)e+=n.offsetTop;return e}var n,i=this,o=-1*i.stickyHeight;if(e.map(i.inviewList,function(n,a){var s=i.getBoundingClientRect(n.$target.get(0));n.active=function(){var i=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop,a=i+e(window).height(),s=n.$target,l=Math.round(t(n.$target.get(0))),r=Math.round(s.outerHeight()),c=l+r,d=l>=i&&a>=c,f=a>=l-o&&c>=a,p=c+o>i&&i>l,u=d||p||f||i>=l&&c>=a;return u?f?"top":p?"bottom":"both":!1}(),n.offset=s,n.index=a}),n=e.grep(i.inviewList,function(t){return t.active}),n.length){var a=0;1===i.lastScrollDirection?a=n.length-1:-1===i.lastScrollDirection&&(a=0);var s=e.grep(n,function(t){return"both"===t.active}),l=s.length?s[0].index:n[a].index;if(i.activeInviewIndex===l)return!1;i.activeInviewIndex=l,e.each(i.inviewList,function(t,e){l===t?(e.$anchor.addClass(i.options.activeClass),e.$target.trigger("inview",[!0,t,e.$anchor,e.$target])):e.$anchor.removeClass(i.options.activeClass)})}else if(100!==i.activeInviewIndex)e.each(i.inviewList,function(t,e){e.$anchor.removeClass(i.options.activeClass)}),i.inviewList[i.activeInviewIndex].$anchor.addClass(i.options.activeClass),i.inviewList.length-1==i.activeInviewIndex&&(i.activeInviewIndex=100);else{var r=i.$win.scrollTop()-i.$win.outerHeight()+19,c=[],d=0;e.each(i.inviewList,function(t,e){var n=e.offset.top,o=Math.floor(Math.abs(0>r?n+r:n-r));c.push(o),e.$anchor.removeClass(i.options.activeClass)}),d=e.inArray(Math.min.apply(null,c),c),0===d?i.inviewList[d].$anchor.addClass(i.options.activeClass):i.inviewList[d].offset.top>=0&&i.inviewList[d].$anchor.closest(".cl-sticky-navigation-text__buttons").length?i.inviewList[d-1].$anchor.addClass(i.options.activeClass):i.inviewList[d].$anchor.addClass(i.options.activeClass)}},setFixed:function(){var t=this;t.isFixed||t.$placeholder.css({display:"block",height:t.stickyHeight}),t.isFixed=!0,t.$sticky.addClass(t.options.fixedClass),t.options.autoFixed&&t.$sticky.css({display:"block",position:"fixed",top:t.options.topSpace+"px",left:t.offsetSticky.left,width:"100%"})},unFixed:function(){var t=this;t.isFixed&&(t.$sticky.removeAttr("style").removeClass(t.options.fixedClass),t.$placeholder.removeAttr("style")),t.isFixed=!1},checkEdge:function(){var t=this;t.wrapperOffset=t.getBoundingClientRect(t.$wrapper.get(0)),t.wrapperOffset.bottom<=t.stickyHeight?t.$sticky.addClass(t.options.edgeClass):t.$sticky.removeClass(t.options.edgeClass)},scrollTo:function(t){var n,i=this,o=e(t.hash),a=navigator.userAgent.toLowerCase();return o.length?(n=o.offset().topn?(t.scrollDirection=1,i+=1):n>o?(t.scrollDirection=-1,i-=1):t.scrollDirection=0,i>a?t.lastScrollDirection=1:a>i&&(t.lastScrollDirection=-1),i=a,t.scroller(),n=o}),t.$win.on("resize."+t._name,function(){t.resizer()}),t.$sticky.on("click."+t._name,'a[href^="#"]',function(n){if(e(this.hash).length){if(n.preventDefault(),e(n.currentTarget).attr("data-cm-layer-id"))return;t.scrollTo(this)}}),e("body").hasClass("lt-ie8")||e("body").on("RESPONSIVE_IMAGE_LOADED",t.resizer.bind(t))},unbindEvents:function(){var t=this;t.$win.off("."+t._name),t.$sticky.off("."+t._name)}}),"undefined"==typeof t[c]&&(t[c]={}),s=t[c],s.init=function(t,n){t.each(function(){e.data(this,c)||e.data(this,c,new a(this,n))})},e(function(){e('[data-cl-js="sticky"]').each(function(){l.aemEditMode()||s.init(e(this),e(this).data("clOption"))})})}(o,jQuery,window,document),function(t,e,n,i,o){function a(t,n){this.$html=e("html,body"),this.element=t,this._name=r,this._defaults=c,this.options=e.extend({},this._defaults,n),this.init()}var s,r="lib_skip",c={easing:"swing",speed:450,withStickyEl:null};e.extend(a.prototype,{init:function(){var t=this;t.buildCache(),t.bindEvents()},buildCache:function(){var t=this;t.$anchor=e(t.element),t.$sticky=e(t.options.withStickyEl),!t.$anchor.is('a[href^="#"]')&&t.$anchor.find("a").length&&(t.$anchor=t.$anchor.find('a[href^="#"]'))},move:function(t){var n=this,i=e(t.hash);if(!i.length)return!1;var o=i.offset().top;n.$sticky&&(o-=n.$sticky.outerHeight()),i.attr("tabindex",-1).on("focusout",function(){e(this).removeAttr("tabindex").off("focusout")}),0===n.options.speed?i.focus():n.$html.animate({scrollTop:o+"px"},n.options.speed,n.options.easing,function(){i.focus()})},bindEvents:function(){var t=this;t.$anchor.on("click."+t._name,function(e){e.preventDefault(),t.move(this)})},unbindEvents:function(){var t=this;t.$anchor.off("."+t._name)}}),"undefined"==typeof t[r]&&(t[r]={}),s=t[r],s.init=function(t,n){t.each(function(){e.data(this,r)||e.data(this,r,new a(this,n))})},e(function(){e('[data-cl-js="skip"]').each(function(){l.aemEditMode()||s.init(e(this),e(this).data("clOption"))})})}(o,jQuery,window,document),function(t,e,n,i,o){function a(t,n){this.$html=e("html"),this.$body=e("body"),this.element=t,this.$element=e(this.element),this._name=c,this._defaults=d,this.options=e.extend({},this._defaults,n),this.$modal=null,this.$focusFirst=null,this.$focusLast=null,this.init()}var r,c="lib_modal",d={type:"alone",componentName:"cl-modal",groupAnchorSelector:'[data-cl-js="modal__anchor"]',activeClassName:"is-active",overflowClassName:"is-overflow",hasModalClassNAme:"js-has-modal",easing:"swing",speed:300,auto:!0,onInitCallback:null,onBeforeOpen:null,onAfterOpen:null,onBeforeClose:null,onAfterClose:null,openText:s.OpenPopup||"Open popup",closeText:s.ClosePopup||"Close popup"};e.extend(a.prototype,{init:function(){var t=this;t.$anchor=null,t.buildCache(),t.bindEvents(),t.onInitCallback()},destroy:function(){var t=this;t.unBindModalEvent(),t.unbindEvents(),t.$element.removeData("plugin_"+t._name),t.$anchor=null,t=null},buildCache:function(){var t=this,n=t.$element.data("clSrc");t.supportTransform=l.supportedTransform(),"#"===n.charAt(0)&&e(n).length&&(t.modalID=n,t.$modal=e(t.modalID),t.$dialog=t.$modal.children().eq(0),t.$close=t.$modal.find("[data-cl-dismiss]"),t.$close&&t.$close.attr({"aria-label":t.options.closeText,"data-omni-type":"microsite"}).html(''+t.options.closeText+"")),"group"===t.options.type?t.$element.find(t.options.groupAnchorSelector).each(function(){var n=e(this);n.attr(n.attr("title")?"aria-label":"title",t.options.openText)}):t.$element.attr(t.$element.attr("title")?"aria-label":"title",t.options.openText)},scrollFixed:function(t){var e=this,n=0,i={};t?(n=e.$html.scrollTop(),e.$html.data("yPos",n).addClass(e.options.hasModalClassNAme),i["margin-top"]=-1*n,i["padding-"+l.getScrollbarInfo().dir]=l.getScrollbarInfo().width,e.$body.css(i)):(n=e.$html.data("yPos")||0,i["margin-top"]=0,i["padding-"+l.getScrollbarInfo().dir]=0,e.$body.css(i),e.$html.removeClass(e.options.hasModalClassNAme).scrollTop(n))},transformFallback:function(){var t=this;t.$modal.hasClass(t.options.overflowClassName)?t.$dialog.css("margin-top",0):t.$dialog.css("margin-top",t.$dialog.height()/-2)},checkOverflow:function(t){var e=this;e.$modal.is(":visible")&&(e.$modal.toggleClass(e.options.overflowClassName,Math.round(e.$modal.height())0,t.resizer(),t.scroller(),t.bindEvents()},destroy:function(){var t=this;t.unbindEvents(),t.timer&&clearTimeout(t.timer)},checkInview:function(){var t=this,e=t.getBoundingClientRect(t.$element.get(0));e.top+e.height/2>0&&e.top+e.height/2i?"top":"bottom"),t.scrollTop=i,clearTimeout(t.timer),t.timer=setTimeout(function(){t.checkInview()},t.delay)},resizer:function(){var t=this;t.update(),t.scroller()},update:function(){var t=this;t.windowHeight=e(n).height()},getBoundingClientRect:function(t){var e=t.getBoundingClientRect();return"undefined"==typeof e.width?{top:e.top,bottom:e.bottom,left:e.left,right:e.right,width:e.right-e.left,height:e.bottom-e.top}:e},bindEvents:function(){var t=this;t.$win.on("scroll."+t._name,function(){t.scroller()}),t.$win.on("resize."+t._name,function(){t.resizer()})},unbindEvents:function(){var t=this;t.$win.off("."+t._name)}}),"undefined"==typeof t[r]&&(t[r]={}), s=t[r],s.init=function(t,n){t.each(function(){e.data(this,r)||e.data(this,r,new a(this,n))})},e(function(){l.aemEditMode()?e('[class*="cl-motion--"]').addClass("is-active"):s.init(e('[class*="cl-motion--"]'))})}(o,jQuery,window,document),function(t,e,n,i,o){function a(t,n){this.element=t,this._name=d,this._defaults=f,this.options=e.extend({},this._defaults,n),this.isOpend=!1,this.uuid=r.uuid(d),this.init()}var c,d="selectbox",f={activeClass:"is-active",buttonEl:'[data-cl-js="select-box__button"]',listEl:'[data-cl-js="select-box__list"]',openedText:s.Open||"close",closedText:s.Close||"open"};e.extend(a.prototype,{init:function(){var t=this;t.$element=e(t.element),t.buildCache(),t.bindEvents()},buildCache:function(){var t,n=this;n.$doc=e(i),n.$wrap=e(n.element),n.$button=n.$wrap.find(n.options.buttonEl).attr("aria-haspopup",!0),n.$list=n.$wrap.find(n.options.listEl),n.$item=n.$wrap.find(n.options.itemEl),n.$link=n.$wrap.find(n.options.linkEl),t=r.findFocusEl(n.$list),n.$firstItem=e(t[0]),n.$lastItem=e(t[1]),n._changeStatus(n.$button,!1)},bindEvents:function(){var t=this;t.$doc.on("click."+t._name+"-"+t.uuid,function(){t._close("force")}),t.$wrap.on("click."+t._name,t.$button,function(e){e.stopPropagation(),t.toggle()}),t.$wrap.on("keydown."+t._name,function(e){27===e.keyCode&&t.isOpend&&(e.stopPropagation(),e.preventDefault(),t._close())}),t.$firstItem.on("keydown."+t._name,function(e){9===e.keyCode&&e.shiftKey&&(e.stopPropagation(),e.preventDefault(),t._close())}),t.$lastItem.on("keydown."+t._name,function(e){9!==e.keyCode||e.shiftKey||(e.stopPropagation(),e.preventDefault(),t._close())})},unbindEvents:function(){var t=this;t.$doc.off("."+t._name+"-"+t.uuid),t.$wrap.off("."+t._name),t.$firstItem.off("."+t._name),t.$lastItem.off("."+t._name)},toggle:function(){var t=this;return t.$button.prop("disabled")?!1:void(t.isOpend?t._close():t._open())},_open:function(){var t=this;t._changeStatus(t.$button,!0),t.$button.addClass(t.options.activeClass),t.$list.addClass(t.options.activeClass),t.$firstItem.focus()},_close:function(t){var e=this;e._changeStatus(e.$button,!1),e.$button.removeClass(e.options.activeClass),e.$list.removeClass(e.options.activeClass),"undefined"==typeof t&&e.$button.focus()},_changeStatus:function(t,e){var n=this;n.isOpend=e,t.attr({title:e?n.options.closedText:n.options.openedText,"aria-expanded":e})}}),"undefined"==typeof t[d]&&(t[d]={}),c=t[d],c.init=function(t,n){t.each(function(){e.data(this,d)||e.data(this,d,new a(this,n))})},e(function(){l.aemEditMode()||c.init(e('[data-cl-js="select-box"]'))})}(o,jQuery,window,document),function(t,e,n,i,o){function a(t,n){this.element=t,this._name=c,this._defaults=d,this.options=e.extend({},this._defaults,n),this.init()}var r,c="lib_slickEnhanced",d={prev:s.Prev||"Previous",next:s.Next||"Next",pageTrack:"object"==typeof digitalData&&"object"==typeof digitalData.page&&"object"==typeof digitalData.page.pageInfo&&"string"==typeof digitalData.page.pageInfo.pageTrack?digitalData.page.pageInfo.pageTrack:""};e.extend(a.prototype,{init:function(){var t=this;t.$element=e(t.element),t.bindEvents()},_getTitle:function(t){var n=e(t);return n.data("clSlideTitle")||""},slickInit:function(t){var e=this;t.titles=[],t.$slides.each(function(n,i){t.titles.push(e._getTitle(i)||"Slide "+(n+1))}),e.setDots(t),e.setArrowDTM(t);var n=t.$slides.filter(".slick-current");e.setPrevTitle(t,n.data("slickIndex")-1),e.setNextTitle(t,n.data("slickIndex")+1),t.$prevArrow&&t.$nextArrow&&(t.$prevArrow.text(e.options.prev),t.$nextArrow.text(e.options.next))},setArrowDTM:function(t){e("html").hasClass("rtl")?(t.$prevArrow&&t.$prevArrow.attr({"data-omni":"rolling:right arrow","ga-ac":"rolling:right arrow"}),t.$nextArrow&&t.$nextArrow.attr({"data-omni":"rolling:left arrow","ga-ac":"rolling:left arrow"})):(t.$prevArrow&&t.$prevArrow.attr({"data-omni":"rolling:left arrow","ga-ac":"rolling:left arrow"}),t.$nextArrow&&t.$nextArrow.attr({"data-omni":"rolling:right arrow","ga-ac":"rolling:right arrow"}))},setDots:function(t){var n=this;if(t.$dots){var i=t.$dots.find('li:not(".slick-dots-autoplay")').find("button");if(!i.length)return;i.each(function(i){e(this).attr({title:t.titles[i]||"","data-omni-type":"microsite_pcontentinter","data-omni":"rolling:index_"+(i+1),"ga-ca":n.options.pageTrack,"ga-ac":"rolling:index_"+(i+1)})})}},setPrevTitle:function(t,e){var n=this;0>e&&(e=t.slideCount-1),t.$prevArrow&&t.$prevArrow.attr({"data-omni-type":"microsite_pcontentinter","ga-ca":n.options.pageTrack,"aria-label":n.options.prev})},setNextTitle:function(t,e){var n=this;e>=t.slideCount&&(e=0),t.$nextArrow&&t.$nextArrow.attr({"data-omni-type":"microsite_pcontentinter","ga-ca":n.options.pageTrack,"aria-label":n.options.next})},setMotionEffect:function(t,e,n){var i="js-motion-effect";t.$slides.eq(n).toggleClass(i,e)},lazyImageUpdate:function(t,n){var i=t.$slides.eq(n).find(".js-img-src");i.each(function(){e(this).hasClass("js-img-src--loaded")||e(this).one("load",function(){t.resize()})})},bindEvents:function(){var t=this,n="init."+t._name,i="beforeChange."+t._name,o="breakpoint."+t._name,a="afterChange."+t._name,s="destroy."+t._name;t.$element.on(n,function(n,i){"slick"==e(i.$slider).attr("data-cl-js")&&(i.slideCount&&t.slickInit(i),t.lazyImageUpdate(i,i.currentSlide),t.setMotionEffect(i,!0,i.currentSlide))}).on(o,function(n,i,o){"slick"==e(i.$slider).attr("data-cl-js")&&i.slideCount&&t.slickInit(i)}).on(i,function(n,i,o,a){"slick"==e(i.$slider).attr("data-cl-js")&&t.setMotionEffect(i,!1,o)}).on(a,function(n,i){if("slick"==e(i.$slider).attr("data-cl-js")){var o=i.$slides.filter(".slick-current");t.setPrevTitle(i,o.data("slickIndex")-1),t.setNextTitle(i,o.data("slickIndex")+1),t.setMotionEffect(i,!0,i.currentSlide)}}).on(s,function(t,n){"slick"==e(n.$slider).attr("data-cl-js")&&n.$slides.each(function(){e(this).removeClass("js-motion-effect").removeAttr("aria-hidden tabindex role aria-describedby").find("a, input, button, select").removeAttr("tabindex")})})},unbindEvents:function(){var t=this;t.$body.off("."+t._name)}}),"undefined"==typeof t[c]&&(t[c]={}),r=t[c],r.init=function(t,n){t.each(function(){e.data(this,c)||e.data(this,c,new a(this,n))})},e(function(){l.aemEditMode()||r.init(e("body"))})}(o,jQuery,window,document),function(t,e,n,i,o){var a,s="responsive",l=n.smg.aem.util,r={};"undefined"==typeof t[s]&&(t[s]={}),a=t[s]={},a.init=function(t,e){(this.container=t).size()&&(this.opts=l.def(r,e||{}),this.setElements(),this.setBindEvents())},a.update=function(){this.setElements(),this.container.trigger(d.RESPONSIVE.GET_STATUS)},a.setElements=function(){var t=this;t.resImgs=e("."+c.CSS.JS_IMG_SRC),t.resDataAttr=c.DATA_ATTR.SRC_MOBILE,t.resImgs.one("load",function(){e(this).addClass(c.CSS.JS_IMG_SRC+"--loaded"),t.container.trigger("RESPONSIVE_IMAGE_LOADED")})},a.setBindEvents=function(){this.container.on(d.RESPONSIVE.CHANGE,e.proxy(this.onResponsiveChange,this)),this.container.on("SLICK_RESPONSIVE_IMAGE_UPDATE",e.proxy(this.update,this)),this.container.trigger(d.RESPONSIVE.GET_STATUS)},a.onResponsiveChange=function(t,n){var i=this;switch(n.RESPONSIVE_NAME){case c.RESPONSIVE.DESKTOP.NAME:this.resDataAttr=c.DATA_ATTR.SRC_PC;break;case c.RESPONSIVE.MOBILE.NAME:this.resDataAttr=c.DATA_ATTR.SRC_MOBILE;break;default:this.resDataAttr=c.DATA_ATTR.SRC_PC}e.each(this.resImgs,function(){var t=e(this),n=t.attr("src"),o=t.attr(i.resDataAttr);n!==o&&t.attr("src",o)})},e(function(){})}(a,jQuery,window,document),function(t,e,n,i,o){function a(t,n){this.element=t,this._name=l,this._defaults=c,this.options=e.extend({},this._defaults,n),this.init()}var s,l="lib_syncH",c={};e.extend(a.prototype,{init:function(){var t=this,e=n.innerWidth||n.document.documentElement.clientWidth||n.document.body.clientWidth;this.resp=e>=769?"desktop":"mobile",t._uuid=r.uuid(t._name),t.buildCache(),t.bindEvents()},buildCache:function(){var t=this;t.targetList={},t.$body=e("body"),t.$parent=e(t.element),t.$child=t.$parent.find('[data-cl-sync-height="child"]'),0!==t.$child.length?t.$child.each(function(){e(this).find("[data-cl-sync-height]").each(function(){var n=e(this),i=n.data("clSyncHeight");t.targetList[i]||(t.targetList[i]=[]),t.targetList[i].push(n)})}):t.$parent.each(function(){e(this).find("[data-cl-sync-height]").each(function(){var n=e(this),i=n.data("clSyncHeight");t.targetList[i]||(t.targetList[i]=[]),t.targetList[i].push(n)})}),t._update()},_update:function(t){var n=this;e.each(n.targetList,function(e,i){t!=n.resp?(n._removeHeight(i),setTimeout(function(){n._setHeight(i)},100)):(n._removeHeight(i),n._setHeight(i))}),"nav"==n.$parent.data("clOption")&&n.$parent.data("initialized_slick")&&n.$parent.is(":not(.s-slide-non-center)")&&(n.$parent.data("synced")||(n.$parent.data("synced",!0),n.$parent.get(0).slick.refresh())),n.$parent.find(".slick-initialized").each(function(){this.slick.setPosition()})},_setHeight:function(t){var n,i=this;i.$parent=e(i.element),i.$child=i.$parent.find('[data-cl-sync-height="child"]'),n=i._getHeight(t),0!==i.$child.length?e(t).each(function(){e(this).addClass("cl-synced").css("min-height",n)}):i.$parent.addClass("cl-synced").css("min-height",n)},_getHeight:function(t){var n=[];return e(t).each(function(){n.push(parseInt(e(this).outerHeight(),10))}),Math.max.apply(null,n)},_removeHeight:function(t){var n=this;n.$parent=e(n.element),n.$child=n.$parent.find('[data-cl-sync-height="child"]'),0!==n.$child.length?"undefined"==typeof t?e.each(n.targetList,function(t,n){e(n).each(function(){e(this).removeClass("cl-synced").css("min-height","")})}):e(t).each(function(){e(this).removeClass("cl-synced").css("min-height","")}):n.$parent.removeClass("cl-synced").css("min-height","")},_destroy:function(){var t=this;t.unbindEvents(),t._removeHeight(),t.$parent.removeData(l)},bindEvents:function(){var t=this;n.smg.aem.util.imgLoader(e("img",t.$parent),e.proxy(t._update,this)),t.$parent.on("update."+t._name,function(e){e.stopPropagation(),t._update()}),t.$parent.on("reset."+t._name,function(e){e.stopPropagation(),t._removeHeight()}),t.$body.on(f.RESIZE+"."+t._uuid,function(e){var i,o=n.innerWidth||n.document.documentElement.clientWidth||n.document.body.clientWidth;i=o>=769?"desktop":"mobile",e.stopPropagation(),t.$parent.data("synced",!1),t._update(i),t.resp=i})},unbindEvents:function(){var t=this;t.$parent.off("."+t._name),t.$body.off("."+t._uuid)}}),"undefined"==typeof t[l]&&(t[l]={}),s=t[l],s.init=function(t,n){t.each(function(){e.data(this,l)||e.data(this,l,new a(this,n))})},e(function(){s.init(e('[data-cl-sync-height="parent"]'))})}(o,jQuery,window,document),t(function(){function n(){clearTimeout(i),i=setTimeout(function(){o.trigger(f.RESIZE)},200)}var i,o=t("body");t(e).on("resize orientation",n)}),t(e).on("load",function(){function e(e,n){var i=0;n.length&&(i=n.outerHeight(!0)),e.length&&(i=parseInt(e.offset().top)-i,t("html,body").scrollTop(i))}var n=location.href,i=n.split("#"),o=t("#"+i[1]),a=t(".fp-floating-nav");e(o,a)})}(jQuery,window,document); !function(t,e){"use strict";"undefined"==typeof t.smg&&(t.smg={}),"undefined"==typeof t.smg.aem&&(t.smg.aem={}),"undefined"==typeof t.smg.aem.components&&(t.smg.aem.components={}),"undefined"==typeof t.smg.aem.components.compLib&&(t.smg.aem.components.compLib={}),"undefined"==typeof t.smg.aem.components.compLib.responsive&&(t.smg.aem.components.compLib.responsive={});var s=t.smg.aem.varStatic,n=t.smg.aem.util,i=t.smg.aem.customEvent,o=t.smg.aem.components.compLib;o.responsive=function(){var t={};return{init:function(e,s){(this.container=e).size()&&(this.opts=n.def(t,s||{}),this.setElements(),this.setBindEvents())},update:function(){this.setElements(),this.container.trigger(i.RESPONSIVE.GET_STATUS)},setElements:function(){var t=this;t.resImgs=e("."+s.CSS.JS_IMG_SRC),t.resDataAttr=s.DATA_ATTR.SRC_MOBILE,t.resImgs.one("load",function(){e(this).addClass(s.CSS.JS_IMG_SRC+"--loaded"),t.container.trigger("RESPONSIVE_IMAGE_LOADED")})},setBindEvents:function(){this.container.on(i.RESPONSIVE.CHANGE,e.proxy(this.onResponsiveChange,this)),this.container.on("SLICK_RESPONSIVE_IMAGE_UPDATE",e.proxy(this.update,this)),this.container.trigger(i.RESPONSIVE.GET_STATUS)},onResponsiveChange:function(t,n){var i=this;switch(n.RESPONSIVE_NAME){case s.RESPONSIVE.DESKTOP.NAME:this.resDataAttr=s.DATA_ATTR.SRC_PC;break;case s.RESPONSIVE.MOBILE.NAME:this.resDataAttr=s.DATA_ATTR.SRC_MOBILE;break;default:this.resDataAttr=s.DATA_ATTR.SRC_PC}e.each(this.resImgs,function(){var t=e(this),s=t.attr("src"),n=t.attr(i.resDataAttr);s!==n&&t.attr("src",n)})}}}(),e(function(){o.responsive.init(e("body"))})}(window,window.jQuery); !function(e,i,n){"use strict";function o(e){t(e)?e.hasClass("outside")&&(e[0].play(),e.removeClass("outside")):(e.addClass("outside"),e[0].pause())}function t(n){var o=n[0],t=o.getBoundingClientRect();return t.top>=-n.height()/2&&t.top769?"desktop-src":"mobile-src");if(e(o).find("source").length<1){var s='';e(s).appendTo(e(o))}else e(o).find("source").attr("src",t),e(o)[0].load()})};s(),e(i).on("resize",function(e){var n=i.innerWidth<769;i.MDEisMobile!==n&&(s(),i.MDEisMobile=n)}),e(i).on("load scroll",function(){e(".md-g-mde video").each(function(i,n){o(e(n))})})}(jQuery,window); !function(t,e){"use strict";"undefined"==typeof t.smg&&(t.smg={}),"undefined"==typeof t.smg.aem&&(t.smg.aem={}),"undefined"==typeof t.smg.aem.components&&(t.smg.aem.components={}),"undefined"==typeof t.smg.aem.components.responsive&&(t.smg.aem.components.responsive={});var s=t.smg.aem.varStatic,n=t.smg.aem.util,i=t.smg.aem.customEvent,a=t.smg.aem.components;a.responsive=function(){var t={};return{init:function(e,s){(this.container=e).size()&&(this.opts=n.def(t,s||{}),this.setElements(),this.setBindEvents())},setElements:function(){this.resImgs=e("."+s.CSS.JS_IMG_SRC),this.resDataAttr=s.DATA_ATTR.SRC_MOBILE},setBindEvents:function(){this.container.on(i.RESPONSIVE.CHANGE,e.proxy(this.onResponsiveChange,this)),this.container.trigger(i.RESPONSIVE.GET_STATUS)},onResponsiveChange:function(t,n){var i=this;switch(n.RESPONSIVE_NAME){case s.RESPONSIVE.DESKTOP.NAME:this.resDataAttr=s.DATA_ATTR.SRC_PC;break;case s.RESPONSIVE.MOBILE.NAME:this.resDataAttr=s.DATA_ATTR.SRC_MOBILE;break;default:this.resDataAttr=s.DATA_ATTR.SRC_PC}e.each(this.resImgs,function(){var t=e(this),s=t.attr("src"),n=t.attr(i.resDataAttr);s!==n&&t.attr("src",n)})}}}(),e(function(){a.responsive.init(e("body"))})}(window,window.jQuery);