(function(a){function b(d){if(c[d])return c[d].exports;var e=c[d]={i:d,l:!1,exports:{}};return a[d].call(e.exports,e,e.exports,b),e.l=!0,e.exports}var c={};return b.m=a,b.c=c,b.d=function(a,c,d){b.o(a,c)||Object.defineProperty(a,c,{enumerable:!0,get:d})},b.r=function(a){'undefined'!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:'Module'}),Object.defineProperty(a,'__esModule',{value:!0})},b.t=function(a,c){if(1&c&&(a=b(a)),8&c)return a;if(4&c&&'object'==typeof a&&a&&a.__esModule)return a;var d=Object.create(null);if(b.r(d),Object.defineProperty(d,'default',{enumerable:!0,value:a}),2&c&&'string'!=typeof a)for(var e in a)b.d(d,e,function(b){return a[b]}.bind(null,e));return d},b.n=function(a){var c=a&&a.__esModule?function(){return a['default']}:function(){return a};return b.d(c,'a',c),c},b.o=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},b.p='catalog/view/theme/vista/public/',b(b.s=532)})({114:function(a,b,c){'use strict';function d(a,b){var c=b.parent,d=b.siblingContent,e=b.discountTop,f=c||a.parentNode,g=d||null,h=e||16;a.style.position='relative',window.addEventListener('scroll',function(){if(void 0!=h){var b=h.map(function(a){return a?a.offsetHeight:0});b=b.reduce(function(a,b){return a+b}),b+=16}if(!(g&&c.height>=g.offsetHeight)){var c=a.getBoundingClientRect(),d=f.getBoundingClientRect(),e=window.getComputedStyle(f),i=parseInt(e.getPropertyValue('padding-bottom').replace('px','')),j=parseInt(e.getPropertyValue('padding-top').replace('px','')),k=i+j;c.offsetTop=a.offsetTop,d.offsetTop=f.offsetTop;var l=a.style.top&&'initial'!=a.style.top?parseInt(a.style.top.replace('px',''),10):0;l+c.height>d.height&&(a.style.top='initial'),c.height==d.height-k||(c.height>window.innerHeight?d.offsetTop+j+c.height<=window.pageYOffset+window.innerHeight?d.offsetTop+d.height-i<=window.pageYOffset+window.innerHeight?a.style.top=d.height-k-c.height+'px':c.height+d.offsetTop+j<=window.pageYOffset+window.innerHeight&&(a.style.top=window.pageYOffset-d.offsetTop-j-(c.height-window.innerHeight)+'px'):a.style.top='initial':window.pageYOffset+b>=d.offsetTop+j?c.height<=d.offsetTop+d.height-i-window.pageYOffset-b?a.style.top=window.pageYOffset-d.offsetTop-j+b+'px':a.style.top=d.height-k-c.height+'px':a.style.top='initial')}}),window.dispatchEvent(new Event('scroll'));var i;return window.addEventListener('resize',function(){clearTimeout(i),i=setTimeout(function(){window.dispatchEvent(new Event('scroll'))},60)}),this}c.d(b,'a',function(){return d})},532:function(a,b,c){'use strict';c.r(b);var d=c(114);window.waitEvent('window',function(){new d.a(document.querySelector('.js-fixed-on-top'),{discountTop:[document.querySelector('.js-header__main')]})})}});