(function appFlashsale($){var tns=function(){var t=window,Ai=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.msRequestAnimationFrame||function(t){return setTimeout(t,16)},e=window,Ni=e.cancelAnimationFrame||e.mozCancelAnimationFrame||function(t){clearTimeout(t)};function Li(){for(var t,e,n,i=arguments[0]||{},a=1,r=arguments.length;a";return r.innerHTML=o,a.appendChild(r),n.appendChild(a),t=Math.abs(a.getBoundingClientRect().left-r.children[67].getBoundingClientRect().left)<2,n.fake?Di(n,i):a.remove(),t}(),n),D=e.tMQ?Bi(e.tMQ):Si(e,"tMQ",function(){if(window.matchMedia||window.msMatchMedia)return!0;var t,e=document,n=Hi(),i=Oi(n),a=e.createElement("div"),r=e.createElement("style"),o="@media all and (min-width:1px){.tns-mq-test{position:absolute}}";return r.type="text/css",a.className="tns-mq-test",n.appendChild(r),n.appendChild(a),r.styleSheet?r.styleSheet.cssText=o:r.appendChild(e.createTextNode(o)),t=window.getComputedStyle?window.getComputedStyle(a).position:a.currentStyle.position,n.fake?Di(n,i):a.remove(),"absolute"===t}(),n),r=e.tTf?Bi(e.tTf):Si(e,"tTf",Ki("transform"),n),o=e.t3D?Bi(e.t3D):Si(e,"t3D",function(t){if(!t)return!1;if(!window.getComputedStyle)return!1;var e,n=document,i=Hi(),a=Oi(i),r=n.createElement("p"),o=9=-St)return t}:function(){return at&&I&&!ft?Q-1:ft||I?Math.max(0,Lt-Math.ceil(rt)):Lt-1},It=en(sn("startIndex")),Pt=It,zt=(tn(),0),Wt=$?null:Rt(),qt=H.preventActionWhenRunning,Ft=H.swipeAngle,jt=!Ft||"?",Vt=!1,Gt=H.onInit,Qt=new Zi,Xt=" tns-slider tns-"+H.mode,Yt=V.id||(S=window.tnsId,window.tnsId=S?S+1:1,"tns"+window.tnsId),Kt=sn("disable"),Jt=!1,Ut=H.freezable,_t=!(!Ut||$)&&Tn(),Zt=!1,$t={click:oi,keydown:function(t){t=pi(t);var e=[a.LEFT,a.RIGHT].indexOf(t.keyCode);0<=e&&(0===e?we.disabled||oi(t,-1):Ce.disabled||oi(t,1))}},te={click:function(t){if(Vt){if(qt)return;ai()}var e=hi(t=pi(t));for(;e!==Ae&&!qi(e,"data-nav");)e=e.parentNode;if(qi(e,"data-nav")){var n=Se=Number(Fi(e,"data-nav")),i=tt||$?n*Q/Le:n*rt,a=le?n:Math.min(Math.ceil(i),Q-1);ri(a,t),He===n&&(Pe&&fi(),Se=-1)}},keydown:function(t){t=pi(t);var e=O.activeElement;if(!qi(e,"data-nav"))return;var n=[a.LEFT,a.RIGHT,a.ENTER,a.SPACE].indexOf(t.keyCode),i=Number(Fi(e,"data-nav"));0<=n&&(0===n?0"," animation"];if(ce||fe)var Qe,Xe,Ye={},Ke={},Je=!1,Ue=F?function(t,e){return t.x-e.x}:function(t,e){return t.y-e.y};$||$e(Kt||_t),r&&(Ot=r,Dt="translate",o?(Dt+=F?"3d(":"3d(0px, ",kt=F?", 0px, 0px)":", 0px)"):(Dt+=F?"X(":"Y(",kt=")")),I&&(V.className=V.className.replace("tns-vpfix","")),function(){ln("gutter");T.className="tns-outer",j.className="tns-inner",T.id=Yt+"-ow",j.id=Yt+"-iw",""===V.id&&(V.id=Yt);Xt+=g||$?" tns-subpixel":" tns-no-subpixel",Xt+=y?" tns-calc":" tns-no-calc",$&&(Xt+=" tns-autowidth");Xt+=" tns-"+H.axis,V.className+=Xt,I?((M=O.createElement("div")).id=Yt+"-mw",M.className="tns-ovh",T.appendChild(M),M.appendChild(j)):T.appendChild(j);if(dt){var t=M||j;t.className+=" tns-ah"}if(E.insertBefore(T,V),j.appendChild(V),Ii(G,function(t,e){zi(t,"tns-item"),t.id||(t.id=Yt+"-item"+e),!I&&W&&zi(t,W),ji(t,{"aria-hidden":"true",tabindex:"-1"})}),Nt){for(var e=O.createDocumentFragment(),n=O.createDocumentFragment(),i=Nt;i--;){var a=i%Q,r=G[a].cloneNode(!0);if(zi(r,ve),Vi(r,"id"),n.insertBefore(r,n.firstChild),I){var o=G[Q-1-a].cloneNode(!0);zi(o,ve),Vi(o,"id"),e.appendChild(o)}}V.insertBefore(e,V.firstChild),V.appendChild(n),G=V.children}}(),function(){if(!I)for(var t=It,e=It+Math.min(Q,rt);t .tns-item","font-size:"+m.getComputedStyle(G[0]).fontSize+";",Ri(Mt)),ki(Mt,"#"+Yt,"font-size:0;",Ri(Mt))):I&&Ii(G,function(t,e){var n;t.style.marginLeft=(n=e,y?y+"("+100*n+"% / "+Lt+")":100*n/Lt+"%")}));if(D){if(x){var i=M&&H.autoHeight?hn(H.speed):"";ki(Mt,"#"+Yt+"-mw",i,Ri(Mt))}i=cn(H.edgePadding,H.gutter,H.fixedWidth,H.speed,H.autoHeight),ki(Mt,"#"+Yt+"-iw",i,Ri(Mt)),I&&(i=F&&!$?"width:"+fn(H.fixedWidth,H.gutter,H.items)+";":"",x&&(i+=hn(st)),ki(Mt,"#"+Yt,i,Ri(Mt))),i=F&&!$?dn(H.fixedWidth,H.gutter,H.items):"",H.gutter&&(i+=vn(H.gutter)),I||(x&&(i+=hn(st)),b&&(i+=mn(st))),i&&ki(Mt,"#"+Yt+" > .tns-item",i,Ri(Mt))}else{I&&dt&&(M.style[x]=st/1e3+"s"),j.style.cssText=cn(et,nt,tt,dt),I&&F&&!$&&(V.style.width=fn(tt,nt,rt));var i=F&&!$?dn(tt,nt,rt):"";nt&&(i+=vn(nt)),i&&ki(Mt,"#"+Yt+" > .tns-item",i,Ri(Mt))}if(k&&D)for(var a in k){a=parseInt(a);var r=k[a],i="",o="",u="",l="",s="",c=$?null:sn("items",a),f=sn("fixedWidth",a),d=sn("speed",a),v=sn("edgePadding",a),p=sn("autoHeight",a),h=sn("gutter",a);x&&M&&sn("autoHeight",a)&&"speed"in r&&(o="#"+Yt+"-mw{"+hn(d)+"}"),("edgePadding"in r||"gutter"in r)&&(u="#"+Yt+"-iw{"+cn(v,h,f,d,p)+"}"),I&&F&&!$&&("fixedWidth"in r||"items"in r||tt&&"gutter"in r)&&(l="width:"+fn(f,h,c)+";"),x&&"speed"in r&&(l+=hn(d)),l&&(l="#"+Yt+"{"+l+"}"),("fixedWidth"in r||tt&&"gutter"in r||!I&&"items"in r)&&(s+=dn(f,h,c)),"gutter"in r&&(s+=vn(h)),!I&&"speed"in r&&(x&&(s+=hn(d)),b&&(s+=mn(d))),s&&(s="#"+Yt+" > .tns-item{"+s+"}"),(i=o+u+l+s)&&Mt.insertRule("@media (min-width: "+a/16+"em) {"+i+"}",Mt.cssRules.length)}}(),yn();var _e=ft?I?function(){var t=zt,e=Wt;t+=ot,e-=ot,et?(t+=1,e-=1):tt&&(it+nt)%(tt+nt)&&(e-=1),Nt&&(e=parseInt(i)&&t in k[i]&&(n=k[i][t]);return"slideBy"===t&&"page"===n&&(n=sn("items")),I||"slideBy"!==t&&"items"!==t||(n=Math.floor(n)),n}function cn(t,e,n,i,a){var r="";if(void 0!==t){var o=t;e&&(o-=e),r=F?"margin: 0 "+o+"px 0 "+t+"px;":"margin: "+t+"px 0 "+o+"px 0;"}else if(e&&!n){var u="-"+e+"px";r="margin: 0 "+(F?u+" 0 0":"0 "+u+" 0")+";"}return!I&&a&&x&&i&&(r+=hn(i)),r}function fn(t,e,n){return t?(t+e)*Lt+"px":y?y+"("+100*Lt+"% / "+n+")":100*Lt/n+"%"}function dn(t,e,n){var i;if(t)i=t+e+"px";else{I||(n=Math.floor(n));var a=I?Lt:n;i=y?y+"(100% / "+a+")":100/a+"%"}return i="width:"+i,"inner"!==R?i+";":i+" !important;"}function vn(t){var e="";!1!==t&&(e=(F?"padding-":"margin-")+(F?"right":"bottom")+": "+t+"px;");return e}function pn(t,e){var n=t.substring(0,t.length-e).toLowerCase();return n&&(n="-"+n+"-"),n}function hn(t){return pn(x,18)+"transition-duration:"+t/1e3+"s;"}function mn(t){return pn(b,17)+"animation-duration:"+t/1e3+"s;"}function yn(){if(ln("autoHeight")||$||!F){var t=V.querySelectorAll("img");Ii(t,function(t){var e=t.src;Tt||(e&&e.indexOf("data:image")<0?(t.src="",Ui(t,he),zi(t,"loading"),t.src=e):kn(t))}),Ai(function(){zn(Gi(t),function(){L=!0})}),ln("autoHeight")&&(t=In(It,Math.min(It+rt-1,Lt-1))),Tt?gn():Ai(function(){zn(Gi(t),gn)})}else I&&$n(),bn(),wn()}function gn(){if($&&1slide '+Hn()+" of "+Q+""),B=T.querySelector(".tns-liveregion .current"),se){var t=gt?"stop":"start";je?ji(je,{"data-action":t}):H.autoplayButtonOutput&&(T.insertAdjacentHTML(on(H.autoplayPosition),'"),je=T.querySelector("[data-action]")),je&&Ui(je,{click:di}),gt&&(ci(),wt&&Ui(V,ee),Ct&&Ui(V,ne))}if(ue){if(Ae)ji(Ae,{"aria-label":"Carousel Pagination"}),Ii(Ee=Ae.children,function(t,e){ji(t,{"data-nav":e,tabindex:"-1","aria-label":ke+(e+1),"aria-controls":Yt})});else{for(var e="",n=le?"":'style="display:none"',i=0;i';e='
'+e+"
",T.insertAdjacentHTML(on(H.navPosition),e),Ae=T.querySelector(".tns-nav"),Ee=Ae.children}if(Ti(),x){var a=x.substring(0,x.length-18).toLowerCase(),r="transition: all "+st/1e3+"s";a&&(r="-"+a+"-"+r),ki(Mt,"[aria-controls^="+Yt+"-item]",r,Ri(Mt))}ji(Ee[He],{"aria-label":ke+(He+1)+Re}),Vi(Ee[He],"tabindex"),zi(Ee[He],De),Ui(Ae,te)}oe&&(xe||we&&Ce||(T.insertAdjacentHTML(on(H.controlsPosition),'
"),xe=T.querySelector(".tns-controls")),we&&Ce||(we=xe.children[0],Ce=xe.children[1]),H.controlsContainer&&ji(xe,{"aria-label":"Carousel Navigation",tabindex:"0"}),(H.controlsContainer||H.prevButton&&H.nextButton)&&ji([we,Ce],{"aria-controls":Yt,tabindex:"-1"}),(H.controlsContainer||H.prevButton&&H.nextButton)&&(ji(we,{"data-controls":"prev"}),ji(Ce,{"data-controls":"next"})),ye=Qn(we),ge=Qn(Ce),Kn(),xe?Ui(xe,$t):(Ui(we,$t),Ui(Ce,$t))),An()}function wn(){if(I&&s){var t={};t[s]=ai,Ui(V,t)}mt&&Ui(V,ae,H.preventScrollOnTouch),yt&&Ui(V,re),lt&&Ui(O,ie),"inner"===R?Qt.on("outerResized",function(){Mn(),Qt.emit("innerLoaded",Ei())}):(k||tt||$||dt||!F)&&Ui(m,{resize:Cn}),dt&&("outer"===R?Qt.on("innerLoaded",Pn):Kt||Pn()),Dn(),Kt?Bn():_t&&Ln(),Qt.on("indexChanged",Wn),"inner"===R&&Qt.emit("innerLoaded",Ei()),"function"==typeof Gt&&Gt(Ei()),Y=!0}function Cn(t){Ai(function(){Mn(pi(t))})}function Mn(t){if(Y){"outer"===R&&Qt.emit("outerResized",Ei(t)),X=rn();var e,n=q,i=!1;k&&(En(),(e=n!==q)&&Qt.emit("newBreakpointStart",Ei(t)));var a,r,o,u,l=rt,s=Kt,c=_t,f=lt,d=vt,v=ht,p=mt,h=yt,m=gt,y=wt,g=Ct,x=It;if(e){var b=tt,w=dt,C=pt,M=at,T=bt;if(!D)var E=nt,A=et}if(lt=sn("arrowKeys"),vt=sn("controls"),ht=sn("nav"),mt=sn("touch"),at=sn("center"),yt=sn("mouseDrag"),gt=sn("autoplay"),wt=sn("autoplayHoverPause"),Ct=sn("autoplayResetOnVisibility"),e&&(Kt=sn("disable"),tt=sn("fixedWidth"),st=sn("speed"),dt=sn("autoHeight"),pt=sn("controlsText"),bt=sn("autoplayText"),xt=sn("autoplayTimeout"),D||(et=sn("edgePadding"),nt=sn("gutter"))),$e(Kt),it=un(),F&&!$||Kt||(jn(),F||(Ci(),i=!0)),(tt||$)&&(St=_n(),Wt=Rt()),(e||tt)&&(rt=sn("items"),ot=sn("slideBy"),(r=rt!==l)&&(tt||$||(Wt=Rt()),_e())),e&&Kt!==s&&(Kt?Bn():function(){if(!Jt)return;if(Mt.disabled=!1,V.className+=Xt,$n(),ft)for(var t=Nt;t--;)I&&Xi(G[t]),Xi(G[Lt-t-1]);if(!I)for(var e=It,n=It+Q;e .tns-item",S,Ri(Mt))}dt&&Pn(),i&&($n(),Pt=It)}e&&Qt.emit("newBreakpointEnd",Ei(t))}}function Tn(){if(!tt&&!$)return Q<=(at?rt-(rt-1)/2:rt);var t=tt?(tt+nt)*Q:N[Q],e=et?it+2*et:it+nt;return at&&(e-=tt?(it-tt)/2:(it-(N[It+1]-N[It]-nt))/2),t<=e}function En(){for(var t in q=0,k)(t=parseInt(t))<=X&&(q=t)}function An(){!gt&&je&&Qi(je),!ht&&Ae&&Qi(Ae),vt||(xe?Qi(xe):(we&&Qi(we),Ce&&Qi(Ce)))}function Nn(){gt&&je&&Xi(je),ht&&Ae&&Xi(Ae),vt&&(xe?Xi(xe):(we&&Xi(we),Ce&&Xi(Ce)))}function Ln(){if(!Zt){if(et&&(j.style.margin="0px"),Nt)for(var t="tns-transparent",e=Nt;e--;)I&&zi(G[e],t),zi(G[Lt-e-1],t);An(),Zt=!0}}function Bn(){if(!Jt){if(Mt.disabled=!0,V.className=V.className.replace(Xt.substring(1),""),Vi(V,["style"]),ft)for(var t=Nt;t--;)I&&Qi(G[t]),Qi(G[Lt-t-1]);if(F&&I||Vi(j,["style"]),!I)for(var e=It,n=It+Q;e=N[Lt-1])It=Wt;else for(var n=0;n=N[n];)e>N[It=n]&&a<0&&(It+=1),n++}ni(i,a),Qt.emit(mi(i)?"touchEnd":"dragEnd",Ei(i))}):jt&&oi(i,0.tns-item{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.tns-horizontal.tns-subpixel{white-space:nowrap}.tns-horizontal.tns-subpixel>.tns-item{display:inline-block;vertical-align:top;white-space:normal}.tns-horizontal.tns-no-subpixel:after{content:'';display:table;clear:both}.tns-horizontal.tns-no-subpixel>.tns-item{float:left}.tns-horizontal.tns-carousel.tns-no-subpixel>.tns-item{margin-right:-100%}.tns-no-calc{position:relative;left:0}.tns-gallery{position:relative;left:0;min-height:1px}.tns-gallery>.tns-item{position:absolute;left:-100%;-webkit-transition:transform 0s, opacity 0s;-moz-transition:transform 0s, opacity 0s;transition:transform 0s, opacity 0s}.tns-gallery>.tns-slide-active{position:relative;left:auto !important}.tns-gallery>.tns-moving{-webkit-transition:all 0.25s;-moz-transition:all 0.25s;transition:all 0.25s}.tns-autowidth{display:inline-block}.tns-lazy-img{-webkit-transition:opacity 0.6s;-moz-transition:opacity 0.6s;transition:opacity 0.6s;opacity:0.6}.tns-lazy-img.tns-complete{opacity:1}.tns-ah{-webkit-transition:height 0s;-moz-transition:height 0s;transition:height 0s}.tns-ovh{overflow:hidden}.tns-visually-hidden{position:absolute;left:-10000em}.tns-transparent{opacity:0;visibility:hidden}.tns-fadeIn{opacity:1;filter:alpha(opacity=100);z-index:0}.tns-normal,.tns-fadeOut{opacity:0;filter:alpha(opacity=0);z-index:-1}.tns-vpfix{white-space:nowrap}.tns-vpfix>div,.tns-vpfix>li{display:inline-block}.tns-t-subp2{margin:0 auto;width:310px;position:relative;height:10px;overflow:hidden}.tns-t-ct{width:2333.3333333%;width:-webkit-calc(100% * 70 / 3);width:-moz-calc(100% * 70 / 3);width:calc(100% * 70 / 3);position:absolute;right:0}.tns-t-ct:after{content:'';display:table;clear:both}.tns-t-ct>div{width:1.4285714%;width:-webkit-calc(100% / 70);width:-moz-calc(100% / 70);width:calc(100% / 70);height:10px;float:left} /*# sourceMappingURL=sourcemaps/tiny-slider.css.map */`;document.getElementsByTagName("head")[0].appendChild(css_assets);let flashsalePosition='container';let flashsaleSelector='Flashsale2new';let productTimerPosition='container';let productTimerSelector='k_flashsale';let flashsaleTimerAnimation='rotate';let flashsaleTimerAnimationDirection='down';let productTimerAnimation='rotate';let productTimerAnimationDirection='down';let flashsaleBorderColor='hsl(0, 0%, 0%)';let flashsaleHeadFontColor='hsl(0, 100%, 38%)';let flashsalePercentFontColor='hsl(0, 100%, 100%)';let flashsalePercentBackground='hsl(0, 100%, 50%)';let flashsalePriceEmFontColor='hsl(0, 100%, 38%)';let flashsalePriceDelFontColor='hsl(0, 0%, 60%)';let flashsaleRibbonFontColor='hsl(0, 100%, 100%)';let flashsaleRibbonBackground='hsl(0, 100%, 38%)';let flashsaleTimerHeadFontColor='hsl(0, 0%, 0%)';let flashsaleTimerBorderColor='hsl(0, 0%, 0%)';let flashsaleTimerValueFontColor='hsl(0, 0%, 0%)';let flashsaleTimerLabelFontColor='hsl(0, 0%, 0%)';let productTimerHeadFontColor='hsl(240, 100%, 25%)';let productTimerBorderColor='hsl(0, 100%, 38%)';let productTimerValueFontColor='hsl(240, 100%, 25%)';let productTimerLabelFontColor='hsl(240, 100%, 25%)';let arrowsBackground='hsla(0, 0%, 85%, 0)';let arrowsBorderColor='hsl(0, 0%, 20%)';let arrowsColor='hsl(0, 0%, 20%)';let shopId=91;let translations_array={"text_flashsaleRibbon":{"__default":"OKAZJA DNIA","pl_PL":"Gor\u0105ca Okazja","de_DE":"OKAZJA DNIA"},"text_flashsaleHead":{"__default":"Oszcz\u0119dzasz","pl_PL":"Taniej o","de_DE":"Oszcz\u0119dzasz"},"text_flashsaleHistoricPrice":{"__default":"Najni\u017csza cena z 30 dni przed t\u0105 promocj\u0105:","pl_PL":"Najni\u017csza cena z 30 dni przed t\u0105 promocj\u0105:","de_DE":"Najni\u017csza cena z 30 dni przed t\u0105 promocj\u0105:"},"text_flashsaleAddToBasket":{"__default":"DO KOSZYKA","pl_PL":"DO KOSZYKA","de_DE":"DO KOSZYKA"},"text_flashsaleOutOfStock":{"__default":"WYPRZEDANO","pl_PL":"WYPRZEDANO","de_DE":"WYPRZEDANO"},"text_flashsaleTimerHeader":{"__default":"DO NAST\u0118PNEJ OKAZJI DNIA POZOSTA\u0141O:","pl_PL":"DO KO\u0143CA PROMOCJI POZOSTA\u0141O","de_DE":"DO NAST\u0118PNEJ OKAZJI DNIA POZOSTA\u0141Ooo:"},"text_flashsaleTimerHeaderTimeEnd":{"__default":"OD\u015aWIE\u017b STRON\u0118, ABY ZOBACZY\u0106 NOW\u0104 OKAZJ\u0118 DNIA","pl_PL":"OD\u015aWIE\u017b STRON\u0118, ABY ZOBACZY\u0106 NOW\u0104 OKAZJ\u0118 DNIA","de_DE":"OD\u015aWIE\u017b STRON\u0118, ABY ZOBACZY\u0106 NOW\u0104 OKAZJ\u0118 DNIA"},"text_flashsaleTimerUnitDay":{"__default":"DNI","pl_PL":"DNI","de_DE":"DNI"},"text_flashsaleTimerUnitHour":{"__default":"GODZ","pl_PL":"GODZ","de_DE":"GODZ"},"text_flashsaleTimerUnitMinute":{"__default":"MIN","pl_PL":"MIN","de_DE":"MIN"},"text_flashsaleTimerUnitSecond":{"__default":"SEK","pl_PL":"SEK","de_DE":"SEK"},"text_productTimerHeader":{"__default":"\u015aPIESZ SI\u0118, OFERTA KO\u0143CZY SI\u0118 ZA:","pl_PL":"\u015aPIESZ SI\u0118, OFERTA KO\u0143CZY SI\u0118 ZA:","de_DE":"\u015aPIESZ SI\u0118, OFERTA KO\u0143CZY SI\u0118 ZA:"},"text_productTimerHeaderTimeEnd":{"__default":"OFERTA SKO\u0143CZY\u0141A SI\u0118. SPRAWD\u0179 STRON\u0118 G\u0141\u00d3WN\u0104, ABY ZOBACZY\u0106 NOW\u0104 OFERT\u0118","pl_PL":"OFERTA SKO\u0143CZY\u0141A SI\u0118. SPRAWD\u0179 STRON\u0118 G\u0141\u00d3WN\u0104, ABY ZOBACZY\u0106 NOW\u0104 OFERT\u0118","de_DE":"OFERTA SKO\u0143CZY\u0141A SI\u0118. SPRAWD\u0179 STRON\u0118 G\u0141\u00d3WN\u0104, ABY ZOBACZY\u0106 NOW\u0104 OFERT\u0118"},"text_productTimerUnitDay":{"__default":"DNI","pl_PL":"DNI","de_DE":"DNI"},"text_productTimerUnitHour":{"__default":"GODZ","pl_PL":"GODZ","de_DE":"GODZ"},"text_productTimerUnitMinute":{"__default":"MIN","pl_PL":"MIN","de_DE":"MIN"},"text_productTimerUnitSecond":{"__default":"SEK","pl_PL":"SEK","de_DE":"SEK"}};let hideUnavailableProducts=1;let continuouslyCheckProductAvailability=1;let continuouslyCheckInterval=15;let displayAsSlider=1;let showFlashsaleTimer=1;let showProductTimer=1;let showDayInFlashsaleTimer=1;let showDayInProductTimer=1;let containerMarginTop=0;let containerMarginBottom=0;let flashsaleSpacing=20;let flashsalePadding=15;let flashsaleBorderWidth=3;let flashsaleBorderRadius=0;let flashsaleImageWidth=200;let flashsaleImageHeight=150;let flashsaleInfoMargin=12;let flashsaleHeadFontSize=24;let flashsalePercentFontSize=14;let flashsaleNameFontSize=14;let flashsalePriceFontSize=20;let flashsaleRibbonWidth=100;let flashsaleRibbonHeight=28;let flashsaleRibbonFoldHeight=8;let flashsaleRibbonFontSize=15;let flashsaleTimerHeadMargin=12;let flashsaleTimerHeadFontSize=16;let flashsaleTimerMargin=8;let flashsaleTimerWidth=64;let flashsaleTimerHeight=60;let flashsaleTimerBorderWidth=2;let flashsaleTimerBorderRadius=5;let flashsaleTimerValueMargin=0;let flashsaleTimerValueHeight=24;let flashsaleTimerValueFontSize=18;let flashsaleTimerLabelFontSize=14;let productTimerHeadMargin=12;let productTimerHeadFontSize=16;let productTimerMargin=8;let productTimerWidth=64;let productTimerHeight=60;let productTimerBorderWidth=2;let productTimerBorderRadius=5;let productTimerValueMargin=0;let productTimerValueHeight=24;let productTimerValueFontSize=18;let productTimerLabelFontSize=13;let arrowsHoverVisible=1;let containerMargin=0;let arrowsMargin=-40;let arrowsWidth=40;let arrowsHeight=40;let arrowsBorderWidth=0;let arrowsBorderRadius=0;let arrowsFont=18;let promos={"2527":1719374400,"55391":1719406800,"63920":1719374400,"39417":1719450000,"62058":1719471600,"43691":1719424800,"60986":1719435600,"43438":1719424800,"3618":1719478800,"63047":1719446400,"52338":1719378000,"64548":1719406800,"64102":1719478800,"58894":1719543600,"51159":1719468000,"49552":1719550800,"65709":1719576000,"68093":1719586800,"66660":1719370800,"49129":1719482400,"46237":1719586800,"2213":1719446400,"47601":1719547200,"45022":1719432000,"2521":1719568800,"62024":1719496800,"42586":1719378000,"63791":1719568800};let escapeHtml=function escapeHtml(unsafe){return unsafe.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'");};let getTranslation=function getTranslation(var_name,current_lang=Shop.lang.name){if(!(current_lang in translations_array[var_name])){translation=translations_array[var_name]['__default'];}else{translation=translations_array[var_name][current_lang];} return escapeHtml(translation);};let text_flashSaleRibbon=getTranslation('text_flashsaleRibbon');let text_flashSaleHead=getTranslation('text_flashsaleHead');let text_flashsaleHistoricPrice=getTranslation('text_flashsaleHistoricPrice');let text_flashSaleAddToBasket=getTranslation('text_flashsaleAddToBasket');let text_flashSaleOutOfStock=getTranslation('text_flashsaleOutOfStock');let text_flashsaleTimerHeader=getTranslation('text_flashsaleTimerHeader');let text_flashsaleTimerHeaderTimeEnd=getTranslation('text_flashsaleTimerHeaderTimeEnd');let text_flashsaleTimerUnitDay=getTranslation('text_flashsaleTimerUnitDay');let text_flashsaleTimerUnitHour=getTranslation('text_flashsaleTimerUnitHour');let text_flashsaleTimerUnitMinute=getTranslation('text_flashsaleTimerUnitMinute');let text_flashsaleTimerUnitSecond=getTranslation('text_flashsaleTimerUnitSecond');let text_productTimerHeader=getTranslation('text_productTimerHeader');let text_productTimerHeaderTimeEnd=getTranslation('text_productTimerHeaderTimeEnd');let text_productTimerUnitDay=getTranslation('text_productTimerUnitDay');let text_productTimerUnitHour=getTranslation('text_productTimerUnitHour');let text_productTimerUnitMinute=getTranslation('text_productTimerUnitMinute');let text_productTimerUnitSecond=getTranslation('text_productTimerUnitSecond');let MxTimer=function MxTimer(timer,animation='none',direction='down',callBack=function(){},firstCall=true){let date=new Date($(timer).data('time')*1000);let time=date.getTime()-new Date().getTime();if(time<=0){$(timer).find('.mx_timer_days .mx_timer_value').html('0');$(timer).find('.mx_timer_hours .mx_timer_value').html('00');$(timer).find('.mx_timer_minutes .mx_timer_value').html('00');$(timer).find('.mx_timer_seconds .mx_timer_value').html('00');callBack();return;} let seconds=Math.floor(time / 1000);let minutes=Math.floor(seconds / 60);let hours=Math.floor(minutes / 60);let days=Math.floor(hours / 24);let insertNewValue=function insertNewValue(number,prevNumber,timerValue,usePad=true){let str='';let prevStr='';if(usePad){prevStr=prevNumber.toString().padStart(2,'0');str=number.toString().padStart(2,'0');}else{prevStr=prevNumber.toString();str=number.toString();} if(str!=timerValue.find('.new_value').text()){timerValue.empty();if(direction=='down'){timerValue.append(`
${str}
`);timerValue.append(`
${prevStr}
`);}else{timerValue.append(`
${prevStr}
`);timerValue.append(`
${str}
`);}}};if(animation=='none'){if($(timer).find('.mx_timer_days').length==0){$(timer).find('.mx_timer_hours .mx_timer_value').html(hours.toString().padStart(2,'0'));}else{$(timer).find('.mx_timer_days .mx_timer_value').html(days);$(timer).find('.mx_timer_hours .mx_timer_value').html((hours%24).toString().padStart(2,'0'));} $(timer).find('.mx_timer_minutes .mx_timer_value').html((minutes%60).toString().padStart(2,'0'));$(timer).find('.mx_timer_seconds .mx_timer_value').html((seconds%60).toString().padStart(2,'0'));} else{if($(timer).find('.mx_timer_days').length==0){insertNewValue(hours,hours+1,$(timer).find('.mx_timer_hours .mx_timer_value'));}else{insertNewValue(days,days+1,$(timer).find('.mx_timer_days .mx_timer_value'),false);insertNewValue(hours%24,(hours+1)%24,$(timer).find('.mx_timer_hours .mx_timer_value'));} insertNewValue(minutes%60,(minutes+1)%60,$(timer).find('.mx_timer_minutes .mx_timer_value'));insertNewValue(seconds%60,(seconds+1)%60,$(timer).find('.mx_timer_seconds .mx_timer_value'));if(firstCall)setTimeout(function(){$(timer).find('.old_value, .new_value').css('animation-duration','0s');},0);} setTimeout(function(){MxTimer(timer,animation,direction,callBack,false);},1000);};let container=$(`
`);if(flashsalePosition=='container'){if($(`#${flashsaleSelector}`).length>0){container.appendTo(`#${flashsaleSelector}`);container.parent().get(0).style.setProperty('overflow','visible','important');}}else{if(flashsalePosition=='main')container.prependTo('.main .centercol');} let APIloader=function APIloader(){if(!window.frontAPI){setTimeout(APIloader,100);} else{if(Object.keys(promos).length==0){return;} if($('.shop_product').length>0){let productId=$('[name="product_id"]').val();if(typeof promos[productId]!=='undefined'){let productTimerContainer=$(`
`);if(productTimerPosition=='container'){productTimerContainer.appendTo(`#${productTimerSelector}`);}else{if(productTimerPosition=='availability')productTimerContainer.insertBefore('.f-grid-6 > .availability');} let animationClass='';if(productTimerAnimation!='none'){animationClass+=` mx_${productTimerAnimation}`;animationClass+=` mx_${productTimerAnimationDirection}`;} let counter=$('
').appendTo(productTimerContainer);counter.append(`
${text_productTimerHeader}
`);let timer=$('
').appendTo(counter);if(showDayInProductTimer){timer.append(`
0
${text_productTimerUnitDay}
`);} timer.append(`
0
${text_productTimerUnitHour}
`);timer.append(`
0
${text_productTimerUnitMinute}
`);timer.append(`
0
${text_productTimerUnitSecond}
`);MxTimer(timer,productTimerAnimation,productTimerAnimationDirection,function(){$(counter).find('.mx_head').html(text_productTimerHeaderTimeEnd);});delete promos[Shop.pageId];}} if(container.length>0&&Object.keys(promos).length>0){let imageSizeSteps=[75,150,300,500].reverse();let imageSize=Math.max(flashsaleImageWidth,flashsaleImageHeight);let imageStep=imageSizeSteps[0];for(let imageSizeStep of imageSizeSteps){if(imageSize<=imageSizeStep){imageStep=imageSizeStep;}} let products=[];let recurentGetProducts=function recurentGetProducts(page=1){frontAPI.getProducts(function(prods){for(let prod of prods.list){if(prod.price.gross.base_float==prod.price.gross.final_float)continue;if(hideUnavailableProducts&&!prod.can_buy)continue;products.push(prod);} if(page`).appendTo(container);let ribbon=$('
').appendTo(flashsale);ribbon.append(`
${text_flashSaleRibbon}
`);ribbon.append(`
`);ribbon.wrapInner('
');ribbon.wrapInner('
');let img=$('
').appendTo(flashsale);img.append(''+product.name+'');img.wrapInner('');let info=$('
').appendTo(flashsale);let head=$('
').appendTo(info);head.append(`${text_flashSaleHead}`);head.append('-'+Math.round(100-product.price.gross.final_float*100/product.price.gross.base_float)+'%');info.append('');let price=$('
').appendTo(info);price.append(''+product.price.gross.final+'');price.append(''+product.price.gross.base+'');let historic_price=$('
').appendTo(info);historic_price.append(`${text_flashsaleHistoricPrice}`);historic_price.append(` ${product.historical_lowest_price}`);let button=$('
').appendTo(info);button.append('');button.append('');if(product.can_buy){button.append(``);}else{button.append(`
${text_flashSaleOutOfStock}
`);} button.wrapInner('
');let animationClass='';if(flashsaleTimerAnimation!='none'){animationClass+=` mx_${flashsaleTimerAnimation}`;animationClass+=` mx_${flashsaleTimerAnimationDirection}`;} let counter=$('
').appendTo(flashsale);counter.append(`
${text_flashsaleTimerHeader}
`);let timer=$('
').appendTo(counter);if(showDayInFlashsaleTimer){timer.append(`
0
${text_flashsaleTimerUnitDay}
`);} timer.append(`
0
${text_flashsaleTimerUnitHour}
`);timer.append(`
0
${text_flashsaleTimerUnitMinute}
`);timer.append(`
0
${text_flashsaleTimerUnitSecond}
`);MxTimer(timer,flashsaleTimerAnimation,flashsaleTimerAnimationDirection,function(){$(counter).find('.mx_head').html(text_flashsaleTimerHeaderTimeEnd);});} if(displayAsSlider&&products.length>1){container.children().wrap('
');container.wrapInner('
');if(arrowsHoverVisible)container.addClass('arrows_hover_visible');let slider=tns({container:container.children().get(0),gutter:flashsaleRibbonFoldHeight*2.5,controlsText:['','',],controlsPosition:'bottom',navPosition:'bottom',nav:false,loop:false,rewind:true,mouseDrag:true,responsive:{425:{speed:600,},1200:{speed:800,}}});} if(continuouslyCheckProductAvailability){let continuouslyCheck=function continuouslyCheck(){let products=[];let recurentGetProducts=function recurentGetProducts(page=1){frontAPI.getProducts(function(prods){for(let prod of prods.list){if(prod.price.gross.base_float==prod.price.gross.final_float)continue;products.push(prod);} if(page0){$(`
${text_flashSaleOutOfStock}
`).insertAfter($(`.mx_flashsale[data-id="${product.id}"] .addtobasket`));$(`.mx_flashsale[data-id="${product.id}"] .addtobasket`).remove();}}} setTimeout(continuouslyCheck,continuouslyCheckInterval*1000);}},{ids:Object.keys(promos),urlParams:`?limit=50&page=${page}`});}();};setTimeout(continuouslyCheck,continuouslyCheckInterval*1000);}}},{ids:Object.keys(promos),urlParams:`?limit=50&page=${page}`});}();}}};APIloader();let style=$('').appendTo('head');style.append(` .mx_flashsale_container { margin: 0 ${containerMargin}px; margin-top: ${containerMarginTop}px; margin-bottom: ${containerMarginBottom}px; } `);if(arrowsMargin<0){style.append(` @media screen and (max-width: 768px) { .mx_flashsale_container { margin: 0 ${containerMargin - arrowsMargin}px; margin-top: ${containerMarginTop}px; margin-bottom: ${containerMarginBottom}px; } } `);} style.append(` .mx_flashsale { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; border: ${flashsaleBorderWidth}px solid ${flashsaleBorderColor}; border-radius: ${flashsaleBorderRadius}px; padding: ${flashsalePadding}px; gap: ${flashsalePadding}px; } .mx_flashsale:not(:last-child) { margin-bottom: ${flashsaleSpacing}px; } .mx_flashsale .mx_img { flex: 0 0 ${flashsaleImageWidth}px; height: ${flashsaleImageHeight}px; line-height: ${flashsaleImageHeight}px; text-align: center; } .mx_flashsale .mx_img img { max-height: 100%; } .mx_flashsale .mx_info { flex: 1 1; } .mx_flashsale .mx_info .mx_head { margin-bottom: ${flashsaleInfoMargin}px; } .mx_flashsale .mx_info .mx_head_text { font-weight: bold; line-height: 1.1em; font-size: ${flashsaleHeadFontSize}px; color: ${flashsaleHeadFontColor}; letter-spacing: 1px; } .mx_flashsale .mx_info .mx_percent { display: inline-block; vertical-align: text-bottom; margin-left: 15px; padding: 6px 8px; line-height: 1.1em; font-size: ${flashsalePercentFontSize}px; color: ${flashsalePercentFontColor}; background: ${flashsalePercentBackground}; } .mx_flashsale .mx_info .mx_name { margin-bottom: ${flashsaleInfoMargin}px; font-size: ${flashsaleNameFontSize}px; line-height: 1.1em; } .mx_flashsale .mx_info .mx_price { margin-bottom: ${flashsaleInfoMargin}px; font-size: ${flashsalePriceFontSize}px; font-weight: bold; } .mx_flashsale .mx_info .mx_price em { color: ${flashsalePriceEmFontColor}; } .mx_flashsale .mx_info .mx_price del { color: ${flashsalePriceDelFontColor}; margin-left: 10px; } .mx_flashsale .mx_info .mx_historic_price { margin-bottom: ${flashsaleInfoMargin}px; } .mx_flashsale .mx_info form { margin: 0; } .mx_flashsale .mx_ribbon { position: absolute; top: 0; left: 0; width: 0; height: 0; z-index: 1; } .mx_flashsale .mx_ribbon_container { position: absolute; top: ${-flashsaleRibbonFoldHeight}px; left: ${flashsaleRibbonWidth / 1.4142135623730951 - flashsaleRibbonWidth - flashsaleRibbonFoldHeight}px; width: ${flashsaleRibbonWidth}px; transform: rotate(-45deg); transform-origin: top right; } .mx_flashsale .mx_ribbon_container::before { position: absolute; content: ""; top: 0; right: 100%; width: ${flashsaleRibbonHeight}px; height: ${flashsaleRibbonFoldHeight * 1.4142135623730951}px; transform: skewY(-45deg); transform-origin: top right; background: ${flashsaleRibbonBackground}; filter: brightness(0.6); z-index: -1; } .mx_flashsale .mx_ribbon_container::after { position: absolute; content: ""; top: 0; left: 100%; width: ${flashsaleRibbonHeight}px; height: ${flashsaleRibbonFoldHeight * 1.4142135623730951}px; transform: skewY(45deg); transform-origin: top left; background: ${flashsaleRibbonBackground}; filter: brightness(0.6); z-index: -1; } .mx_flashsale .mx_ribbon_banner { position: relative; width: ${flashsaleRibbonWidth}px; height: ${flashsaleRibbonHeight}px; display: grid; text-align: center; align-content: center; justify-content: center; color: ${flashsaleRibbonFontColor}; font-size: ${flashsaleRibbonFontSize}px; font-weight: bold; line-height: 1.1em; z-index: 1; } .mx_flashsale .mx_ribbon_background { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: -1; filter: drop-shadow(0px 6px 6px #888); } .mx_flashsale .mx_ribbon_background::before { position: absolute; content: ""; top: 0; left: 0; right: 0; bottom: 0; transform: skewX(-45deg); transform-origin: top right; background: ${flashsaleRibbonBackground}; z-index: -1; } .mx_flashsale .mx_ribbon_background::after { position: absolute; content: ""; top: 0; left: 0; right: 0; bottom: 0; transform: skewX(45deg); transform-origin: top left; background: ${flashsaleRibbonBackground}; z-index: -1; } .mx_flashsale_container .mx_counter { max-width: 100%; flex: 0 1 0; } .mx_flashsale_product_timer .mx_counter { margin-bottom: 20px; } .mx_counter .mx_head { font-weight: bold; text-align: center; letter-spacing: 1px; } .mx_flashsale_container .mx_counter .mx_head { margin-bottom: ${flashsaleTimerHeadMargin}px; font-size: ${flashsaleTimerHeadFontSize}px; color: ${flashsaleTimerHeadFontColor}; } .mx_flashsale_product_timer .mx_counter .mx_head { margin-bottom: ${productTimerHeadMargin}px; font-size: ${productTimerHeadFontSize}px; color: ${productTimerHeadFontColor}; } .mx_flashsale_timer { display: grid; grid-auto-flow: column; justify-content: center; } .mx_flashsale_container .mx_flashsale_timer { gap: ${flashsaleTimerMargin}px; } .mx_flashsale_product_timer .mx_flashsale_timer { gap: ${productTimerMargin}px; } .mx_flashsale_timer .mx_timer_box { display: grid; text-align: center; align-content: center; box-sizing: border-box; } .mx_flashsale_container .mx_flashsale_timer .mx_timer_box { width: ${flashsaleTimerWidth}px; height: ${flashsaleTimerHeight}px; gap: ${flashsaleTimerValueMargin}px; border: ${flashsaleTimerBorderWidth}px solid ${flashsaleTimerBorderColor}; border-radius: ${flashsaleTimerBorderRadius}px; } .mx_flashsale_product_timer .mx_flashsale_timer .mx_timer_box { width: ${productTimerWidth}px; height: ${productTimerHeight}px; gap: ${productTimerValueMargin}px; border: ${productTimerBorderWidth}px solid ${productTimerBorderColor}; border-radius: ${productTimerBorderRadius}px; } .mx_flashsale_timer .mx_timer_label { font-weight: normal; } .mx_flashsale_container .mx_flashsale_timer .mx_timer_label { font-size: ${flashsaleTimerLabelFontSize}px; color: ${flashsaleTimerLabelFontColor}; } .mx_flashsale_product_timer .mx_flashsale_timer .mx_timer_label { font-size: ${productTimerLabelFontSize}px; color: ${productTimerLabelFontColor}; } .mx_flashsale_timer .mx_timer_value { position: relative; overflow: hidden; height: var(--height); } .mx_flashsale_container .mx_flashsale_timer .mx_timer_value { --height: ${flashsaleTimerValueHeight}px; font-size: ${flashsaleTimerValueFontSize}px; color: ${flashsaleTimerValueFontColor}; } .mx_flashsale_product_timer .mx_flashsale_timer .mx_timer_value { --height: ${productTimerValueHeight}px; font-size: ${productTimerValueFontSize}px; color: ${productTimerValueFontColor}; } .mx_flashsale_timer .mx_timer_value.mx_flip { perspective: 3em; padding: calc(var(--height) / 4) 0; } .mx_flashsale_timer .mx_timer_value.mx_rotate { padding: calc(var(--height) / 4) 0; } .mx_flashsale_timer .mx_timer_value .old_value, .mx_flashsale_timer .mx_timer_value .new_value { position: absolute; width: 100%; line-height: var(--height); } .mx_flashsale_container .mx_flashsale_timer .mx_timer_value.mx_slide.mx_down .old_value { animation: 0.6s mxSlideDownOldValue forwards ease; } .mx_flashsale_container .mx_flashsale_timer .mx_timer_value.mx_slide.mx_down .new_value { animation: 0.6s mxSlideDownNewValue forwards ease; } .mx_flashsale_container .mx_flashsale_timer .mx_timer_value.mx_slide.mx_up .old_value { animation: 0.6s mxSlideUpOldValue forwards ease; } .mx_flashsale_container .mx_flashsale_timer .mx_timer_value.mx_slide.mx_up .new_value { animation: 0.6s mxSlideUpNewValue forwards ease; } .mx_flashsale_container .mx_flashsale_timer .mx_timer_value.mx_flip.mx_down .old_value { animation: 0.6s mxFlipDownOldValue forwards ease; } .mx_flashsale_container .mx_flashsale_timer .mx_timer_value.mx_flip.mx_down .new_value { animation: 0.6s mxFlipDownNewValue forwards ease; } .mx_flashsale_container .mx_flashsale_timer .mx_timer_value.mx_flip.mx_up .old_value { animation: 0.6s mxFlipUpOldValue forwards ease; } .mx_flashsale_container .mx_flashsale_timer .mx_timer_value.mx_flip.mx_up .new_value { animation: 0.6s mxFlipUpNewValue forwards ease; } .mx_flashsale_container .mx_flashsale_timer .mx_timer_value.mx_rotate.mx_down .old_value { animation: 0.6s mxRotateDownOldValue forwards ease; } .mx_flashsale_container .mx_flashsale_timer .mx_timer_value.mx_rotate.mx_down .new_value { animation: 0.6s mxRotateDownNewValue forwards ease; } .mx_flashsale_container .mx_flashsale_timer .mx_timer_value.mx_rotate.mx_up .old_value { animation: 0.6s mxRotateUpOldValue forwards ease; } .mx_flashsale_container .mx_flashsale_timer .mx_timer_value.mx_rotate.mx_up .new_value { animation: 0.6s mxRotateUpNewValue forwards ease; } .mx_flashsale_product_timer .mx_flashsale_timer .mx_timer_value.mx_slide.mx_down .old_value { animation: 0.6s mxSlideDownOldValue forwards ease; } .mx_flashsale_product_timer .mx_flashsale_timer .mx_timer_value.mx_slide.mx_down .new_value { animation: 0.6s mxSlideDownNewValue forwards ease; } .mx_flashsale_product_timer .mx_flashsale_timer .mx_timer_value.mx_slide.mx_up .old_value { animation: 0.6s mxSlideUpOldValue forwards ease; } .mx_flashsale_product_timer .mx_flashsale_timer .mx_timer_value.mx_slide.mx_up .new_value { animation: 0.6s mxSlideUpNewValue forwards ease; } .mx_flashsale_product_timer .mx_flashsale_timer .mx_timer_value.mx_flip.mx_down .old_value { animation: 0.6s mxFlipDownOldValue forwards ease; } .mx_flashsale_product_timer .mx_flashsale_timer .mx_timer_value.mx_flip.mx_down .new_value { animation: 0.6s mxFlipDownNewValue forwards ease; } .mx_flashsale_product_timer .mx_flashsale_timer .mx_timer_value.mx_flip.mx_up .old_value { animation: 0.6s mxFlipUpOldValue forwards ease; } .mx_flashsale_product_timer .mx_flashsale_timer .mx_timer_value.mx_flip.mx_up .new_value { animation: 0.6s mxFlipUpNewValue forwards ease; } .mx_flashsale_product_timer .mx_flashsale_timer .mx_timer_value.mx_rotate.mx_down .old_value { animation: 0.6s mxRotateDownOldValue forwards ease; } .mx_flashsale_product_timer .mx_flashsale_timer .mx_timer_value.mx_rotate.mx_down .new_value { animation: 0.6s mxRotateDownNewValue forwards ease; } .mx_flashsale_product_timer .mx_flashsale_timer .mx_timer_value.mx_rotate.mx_up .old_value { animation: 0.6s mxRotateUpOldValue forwards ease; } .mx_flashsale_product_timer .mx_flashsale_timer .mx_timer_value.mx_rotate.mx_up .new_value { animation: 0.6s mxRotateUpNewValue forwards ease; } @keyframes mxSlideDownOldValue { 0% {transform: translateY(0);} 100% {transform: translateY(100%);} } @keyframes mxSlideDownNewValue { 0% {transform: translateY(-100%);} 100% {transform: translateY(0);} } @keyframes mxSlideUpOldValue { 0% {transform: translateY(0);} 100% {transform: translateY(-100%);} } @keyframes mxSlideUpNewValue { 0% {transform: translateY(100%);} 100% {transform: translateY(0);} } @keyframes mxFlipDownOldValue { 0% {transform: rotateX(0deg)} 50% {transform: rotateX(-90deg)} 100% {transform: rotateX(-90deg)} } @keyframes mxFlipDownNewValue { 0% {transform: rotateX(90deg)} 50% {transform: rotateX(90deg)} 100% {transform: rotateX(0deg)} } @keyframes mxFlipUpOldValue { 0% {transform: rotateX(0deg)} 50% {transform: rotateX(90deg)} 100% {transform: rotateX(90deg)} } @keyframes mxFlipUpNewValue { 0% {transform: rotateX(-90deg)} 50% {transform: rotateX(-90deg)} 100% {transform: rotateX(0deg)} } @keyframes mxRotateDownOldValue { 0% {transform: rotateX(0deg) translateZ(calc(var(--height) / 2));} 100% {transform: rotateX(-90deg) translateZ(calc(var(--height) / 2));} } @keyframes mxRotateDownNewValue { 0% {transform: rotateX(90deg) translateZ(calc(var(--height) / 2));} 100% {transform: rotateX(0deg) translateZ(calc(var(--height) / 2));} } @keyframes mxRotateUpOldValue { 0% {transform: rotateX(0deg) translateZ(calc(var(--height) / 2));} 100% {transform: rotateX(90deg) translateZ(calc(var(--height) / 2));} } @keyframes mxRotateUpNewValue { 0% {transform: rotateX(-90deg) translateZ(calc(var(--height) / 2));} 100% {transform: rotateX(0deg) translateZ(calc(var(--height) / 2));} } .mx_flashsale_container .tns-outer { position: relative; } .mx_flashsale_container .tns-ovh { margin-top: -${flashsaleRibbonFoldHeight*2.5}px; padding-top: ${flashsaleRibbonFoldHeight*2.5}px; margin-left: -${flashsaleRibbonFoldHeight*2.5}px; padding-left: ${flashsaleRibbonFoldHeight*2.5}px; } .mx_flashsale_container .tns-item > .mx_flashsale { user-select: none; } .mx_flashsale_container .tns-controls > button { position: absolute; top: 50%; transform: translateY(${-Math.round(arrowsHeight/2)}px); display: inline-block; width: ${arrowsWidth}px; height: ${arrowsHeight}px; font-size: ${arrowsFont}px; color: ${arrowsColor}; background: ${arrowsBackground}; border: ${arrowsBorderWidth}px solid ${arrowsBorderColor}; border-radius: ${arrowsBorderRadius}px; } .mx_flashsale_container .tns-controls > button[data-controls="prev"] { left: ${arrowsMargin}px; } .mx_flashsale_container .tns-controls > button[data-controls="next"] { right: ${arrowsMargin}px; } @media screen and screen and (min-width: 769px) { .mx_flashsale_container.arrows_hover_visible .tns-controls > button { display: none; } .mx_flashsale_container.arrows_hover_visible .tns-outer:hover .tns-controls > button { display: inline-block; } } .mx_flashsale_container .tns-nav { text-align: center; margin: 10px 0; line-height: 9px; } .mx_flashsale_container .tns-nav > button { display: inline-block; width: 9px; height: 9px; margin: 0 5px; border-radius: 50%; background: #ddd; cursor: pointer; } .mx_flashsale_container .tns-nav > button.tns-nav-active { background: #888; } `);}(jQuery)); //# sourceURL=script_appFlashsale