1"use strict";(self.webpackChunkclient=self.webpackChunkclient||[]).push([[5811],{55811:(ut,O,s)=>{s.d(O,{F:()=>I});var u,T=s(15215),t=s(17705),C=s(60177),h=s(49894),x=s(96886),D=s(70639),R=s(40560),$=s(87514),b=s(8957),w=s(78580),y=s(29291),M=s(34191),l=s(92245),B=s(73326),G=s(35762),A=s(84412),k=s(84572),U=s(96354),L=s(21413),X=s(83229),K=s(1807),S=s(96697),W=s(8966),j=s(47140),p=s(93037),P=s(7456),a=s(88021),N=s(60941),f=s(22736),V=s(24052),E=s(7180),v=s(89944),z=s(59640),Y=s(34006),F=s(77652),H=s(29800);function Q(o,e){1&o&&(t.qex(0),t.EFF(1),t.nI1(2,"transloco"),t.bVm()),2&o&&(t.R7$(1),t.SpI(" ",t.bMT(2,1,"Pages.Product.RecommendedProducts")," "))}function J(o,e){1&o&&(t.qex(0),t.EFF(1),t.nI1(2,"transloco"),t.bVm()),2&o&&(t.R7$(1),t.SpI(" ",t.bMT(2,1,"Pages.Cart.RecommendedProducts")," "))}function Z(o,e){if(1&o&&(t.j41(0,"div",6),t.DNE(1,Q,3,3,"ng-container",0),t.DNE(2,J,3,3,"ng-container",0),t.k0s()),2&o){const n=t.XpG(2);t.R7$(1),t.Y8G("ngIf","product"===n.type),t.R7$(1),t.Y8G("ngIf","cart"===n.type)}}function q(o,e){if(1&o){const n=t.RV6();t.j41(0,"app-product",15),t.bIt("amountChange",function(i){t.eBV(n);const r=t.XpG(2).$implicit,c=t.XpG(6);let d;return t.Njj(c.handleAmountChange(null!==(d=null==r.item?null:r.item.id)&&void 0!==d?d:-1,i))}),t.nI1(1,"async"),t.nI1(2,"asProductProps"),t.nI1(3,"async"),t.nI1(4,"async"),t.nI1(5,"async"),t.nI1(6,"async"),t.k0s()}if(2&o){const n=e.$implicit,_=t.XpG().$implicit,i=t.XpG().$implicit,r=t.XpG
1().$implicit,c=t.XpG(2).$implicit,d=t.XpG(3);let m,g;t.Y8G("productEntity",c)("stockId",r.id)("isoCode",t.bMT(1,9,d.currency$))("productProps",t.brH(2,11,c,null!==(m=null==(m=t.bMT(3,15,d.stock$))?null:m.id)&&void 0!==m?m:-1,t.bMT(4,17,d.currency$)))("amount",null!==(g=i.quantity)&&void 0!==g?g:0)("leftInStock",n)("preorder",_)("isAuthorized",t.bMT(5,19,d.isAuthorized$))("showBonuses",!!t.bMT(6,21,d.showBonuses$))}}function tt(o,e){if(1&o&&(t.qex(0),t.DNE(1,q,7,23,"app-product",14),t.nI1(2,"getCartLeftInStock"),t.bVm()),2&o){const n=t.XpG().$implicit,_=t.XpG().$implicit;let i;t.R7$(1),t.Y8G("tuiLet",null!==(i=t.i5U(2,1,null==n?null:n.item,_))&&void 0!==i?i:0)}}function nt(o,e){if(1&o&&(t.qex(0),t.DNE(1,tt,3,4,"ng-container",13),t.nI1(2,"getCartItemPreorder"),t.bVm()),2&o){const n=e.$implicit,_=t.XpG().$implicit;t.R7$(1),t.Y8G("tuiLet",t.i5U(2,1,n.item,_))}}function et(o,e){if(1&o){const n=t.RV6();t.j41(0,"app-product",18),t.bIt("amountChange",function(i){t.eBV(n);const r=t.XpG().$implicit,c=t.XpG(7);let d;return t.Njj(c.handleAmountChange(null!==(d=r.id)&&void 0!==d?d:-1,i))})("preorderButtonClick",function(){t.eBV(n);
1const i=t.XpG().$implicit,r=t.XpG(4).$implicit,c=t.XpG(3);return t.Njj(c.handleToCartClick(i,r))}),t.nI1(1,"async"),t.nI1(2,"asProductProps"),t.nI1(3,"async"),t.nI1(4,"async"),t.nI1(5,"async"),t.nI1(6,"async"),t.k0s()}if(2&o){const n=e.$implicit,_=t.XpG(3).$implicit,i=t.XpG(2).$implicit,r=t.XpG(3);let c;t.Y8G("stockId",_.id)("isoCode",t.bMT(1,7,r.currency$))("productEntity",i)("productProps",t.brH(2,9,i,null!==(c=null==(c=t.bMT(3,13,r.stock$))?null:c.id)&&void 0!==c?c:-1,t.bMT(4,15,r.currency$)))("preorder",n)("isAuthorized",t.bMT(5,17,r.isAuthorized$))("showBonuses",!!t.bMT(6,19,r.showBonuses$))}}function ot(o,e){if(1&o&&(t.qex(0),t.DNE(1,et,7,21,"app-product",17),t.nI1(2,"getCartItemPreorder"),t.bVm()),2&o){const n=e.$implicit,_=t.XpG(2).$implicit;t.R7$(1),t.Y8G("tuiLet",t.i5U(2,1,n,_))}}function _t(o,e){if(1&o){const n=t.RV6();t.j41(0,"app-product",21),t.bIt("toCartButtonClick",function(){t.eBV(n);const i=t.XpG().$implicit,r=t.XpG(5).$implicit,c=t.XpG(3);return t.Njj(c.handleToCartClick(i,r))}),t.nI1(1,"async"),t.nI1(2,"asProductProps"),t.nI1(3,"async"),t.nI1(4,"async"),t.nI1(5,"async"),t.nI1(6,"async"),t.nI1(7,"async"),t.k0s()}if(2&o){const n=e.$implicit,_=t.XpG(4).$implicit,i=t.XpG(2).$implicit,r=t.XpG
1(3);let c;t.Y8G("productEntity",i)("stockId",_.id)("isoCode",t.bMT(1,8,r.currency$))("productProps",t.brH(2,10,i,null!==(c=null==(c=t.bMT(3,14,r.stock$))?null:c.id)&&void 0!==c?c:-1,t.bMT(4,16,r.currency$)))("leftInStock",n)("counterDisabled",n<=0||!!t.bMT(5,18,r.isCartLoading$))("isAuthorized",t.bMT(6,20,r.isAuthorized$))("showBonuses",!!t.bMT(7,22,r.showBonuses$))}}function it(o,e){if(1&o&&(t.qex(0),t.DNE(1,_t,8,24,"app-product",20),t.nI1(2,"getCartLeftInStock"),t.bVm()),2&o){const n=e.$implicit,_=t.XpG(3).$implicit;let i;t.R7$(1),t.Y8G("tuiLet",null!==(i=t.i5U(2,1,n,_))&&void 0!==i?i:0)}}function rt(o,e){if(1&o&&(t.nrm(0,"app-product",22),t.nI1(1,"async"),t.nI1(2,"asProductProps"),t.nI1(3,"async"),t.nI1(4,"async"),t.nI1(5,"async"),t.nI1(6,"async")),2&o){const n=t.XpG(3).$implicit,_=t.XpG(2).$implicit,i=t.XpG(3);let r;t.Y8G("productEntity",_)("stockId",n.id)("isoCode",t.bMT(1,8,i.currency$))("productProps",t.brH(2,10,_,null!==(r=null==(r=t.bMT(3,14,i.stock$))?null:r.id)&&void 0!==r?r:-1,t.bMT(4,16,i.currency$)))("leftInStock",0)("isComingSoon",!!_.is_coming_soon)("isAuthorized",t.bMT(5,18,i.isAuthorized$))("showBonuses",!!t.bMT(6,20,i.showBonuses$))}}function st(o,e){if(1&o&&(t.DNE(0,it,3,4,"ng-container",11),t.nI1(1,"appFirstItemAvailableInCurrentStock"),t.nI1(2,"appProductItems"),t.DNE(3,rt,7,22,"ng-template",null,19,t.C5r)),2&o){const n=t.sdS(4),_=t.XpG(2).$implicit,i=t.XpG(2).$implicit;let r;t.Y8G("ngIf",t.i5U(1,2,t.bMT(2,5,i),null!==(r=_.id)&&void 0!==r?r:0))("ngIfElse",n)}}function ct(o,e){if(1&o&&(t.DNE(0,ot,3,4,"ng-container",11),t.nI1(1,"appFirstItemAvailableForPreorder"),t.nI1(2,"appProductItems"),t.DNE(3,st,5,7,"ng-template",null,16,t.C5r)),2&o){const n=t.sdS(4),_=t.XpG().$implicit,i=t.XpG(2).$implicit;let r;t.Y8G("ngIf",t.i5U(1,2,t.bMT(2,5,i),null!==(r=_.id)&&void 0!==r?r:0))("ngIfElse",n)}}function dt(o,e){if(1&o){const n=t.RV6();t.qex(0),t.j41(1,"div",10),t.bIt("click",function(){t.eBV(n);
1const i=t.XpG(2).$implicit,r=t.XpG(3);return t.Njj(r.handleProductClick(i))}),t.DNE(2,nt,3,4,"ng-container",11),t.nI1(3,"getCartItemByProduct"),t.nI1(4,"async"),t.DNE(5,ct,5,7,"ng-template",null,12,t.C5r),t.k0s(),t.bVm()}if(2&o){const n=t.sdS(6),_=t.XpG(2).$implicit,i=t.XpG(3);t.R7$(2),t.Y8G("ngIf",t.i5U(3,2,t.bMT(4,5,i.cartItems$),_))("ngIfElse",n)}}function at(o,e){if(1&o&&(t.DNE(0,dt,7,7,"ng-container",0),t.nI1(1,"async")),2&o){const n=t.XpG(4);t.Y8G("ngIf",t.bMT(1,1,n.stock$))}}function pt(o,e){1&o&&(t.qex(0),t.DNE(1,at,2,3,"ng-template",9),t.bVm())}function mt(o,e){if(1&o&&(t.j41(0,"swiper",7),t.DNE(1,pt,2,0,"ng-container",8),t.nI1(2,"async"),t.k0s()),2&o){const n=t.XpG(2);t.Y8G("config",n.sliderConfig),t.R7$(1),t.Y8G("ngForOf",t.bMT(2,2,n.items$))}}function lt(o,e){if(1&o&&(t.qex(0),t.DNE(1,Z,3,2,"div",1),t.j41(2,"nav",2),t.nrm(3,"img",3)(4,"img",4),t.k0s(),t.DNE(5,mt,3,4,"swiper",5),t.bVm()),2&o){const n=t.XpG();t.R7$(1),t.Y8G("ngIf",n.hasTitle),t.R7$(4),t.Y8G("ngIf",n.sliderConfig)}}a.Ay.use([a.Vx,a.Ij,a.dK]),a.Ay.use([a.Vx,a.Ij,a.dK]);let I=((u=class{onResize(){this.sliderConfig=this._getSliderConfig()}set id(e){e&&this.id$.next(e)}constructor(e,n,_,i,r,c,d){this._store=e,this._dialog=n,this._responsive=_,this._changeDetector=i,this._actions$=r,this._metrika=c,this._elementRef=d,this.type="product",this.wideScreenNumberOfItems=5,this.hasTitle=!0,this.loaded=new t.bkB,this.isGroupOrderMain=!1,this.currency$=this._store.select(l.Ky),this.stock$=this._store.select(l.zu),this.refToken$=this._store.select(G.P2),this.isCartLoading$=this._store.select(l.rV),this.cartItems$=this._store.select(l.Fs),this.id$=new A.t(null),this.isAuthorized$=this._store.select(B.I3),this.showBonuses$=(0,k.z)([this.isAuthorized$,this.refToken$]).pipe((0,U.T)(([m,g])=>m||null!==g&&""!==g)),this._updatesMap=new Map,this._updateSubject$=new L.B,this._viewTracked=!1}ngOnInit(){switch(this._store.select(l.tp).pipe((0,h.s)(this)).subscribe(e=>{this.isGroupOrderMain=e,this._changeDetector.markForCheck()}),this._updateSubject$.pipe((0,X.s)(()=>(0,K.O)(800)),(0,h.s)(this)).subscribe(()=>{this._store.dispatch((0,p.pL)()),this._store.dispatch((0,p.$4)({idAmountMap:new Map(this._updatesMap)})),this._updatesMap.clear()}),this.type){case"cart":this.items$=this._store.select(l.w4),this._store.dispatch(p.GK.start());break;case"product":this.items$=this._store.select(N.iU),this.id$.pipe((0,h.s)(this)).subscribe(e=>{this._store.dispatch(f.CP.start({id:e}))})}
1this._actions$.pipe((0,v.gp)(p.GK.success,p.GK.error,f.CP.success,f.CP.error),(0,S.s)(1),(0,h.s)(this)).subscribe(()=>{this.loaded.emit()})}ngAfterViewInit(){this.sliderConfig=this._getSliderConfig(),this._changeDetector.markForCheck(),this._viewObserver=new IntersectionObserver(e=>{for(const _ of e)if(_.isIntersecting&&!this._viewTracked){var n;this._viewTracked=!0,this._metrika.trackCrossSellView(),null===(n=this._viewObserver)||void 0===n||n.disconnect()}},{threshold:.1}),this._viewObserver.observe(this._elementRef.nativeElement)}ngOnDestroy(){var e;null===(e=this._viewObserver)||void 0===e||e.disconnect()}handleProductClick(e){this._metrika.trackCrossSellClick(e.id,e.name)}handleToCartClick(e,n){var _;this.isGroupOrderMain?this._dialog.open(j.l,{width:"90%",maxWidth:"400px",maxHeight:"750px"}):(0,V.iK)(this._dialog,n)||(this._metrika.trackCrossSellAddToCart(n.id,n.name),this._metrika.setCrossSellSource(null!==(_=e.id)&&void 0!==_?_:-1),this._store.dispatch((0,p.bR)({item:e,deliveryCalculate:!1})))}handleAmountChange(e,n){this._store.dispatch((0,p.yN)()),this._updatesMap.set(e,n),this._updateSubject$.next()}_getSliderConfig(){return{modules:[a.Vx,a.Ij,a.dK],slidesPerView:this._responsive.isTabletVertical?2:this._responsive.isTabletHorizontal?3:this.wideScreenNumberOfItems,spaceBetween:this._responsive.isTabletVertical?8:16,pagination:!1,navigation:{prevEl:".products-slider-nav__prev-btn",nextEl:".products-slider-nav__next-btn"},loop:!1,autoplay:this._responsive.isTabletVertical?{delay:1e4,disableOnInteraction:!1}:void 0}}}).\u0275fac=function(e){return new(e||u)(t.rXU(z.il),t.rXU(Y.bZ),t.rXU(F.c),t.rXU(t.gRc),t.rXU(v.En),t.rXU(H.d),t.rXU(t.aKT))},u.\u0275cmp=t.VBU({type:u,selectors:[["app-recommended-products"]],viewQuery:function(e,n){if(1&e&&t.GBs(P.Mf,5),2&e){let _;t.mGM(_=t.lsd())&&(n.swiper=_.first)}},hostVars:2,hostBindings:function(e,n){1&e&&t.bIt("resize",function(i){return n.onResize(i)},!1,t.tSv),2&e&&t.AVh("--in-cart","cart"===n.type)},inputs:{type:"type",wideScreenNumberOfItems:"wideScreenNumberOfItems",hasTitle:"hasTitle",id:"id"},outputs:{loaded:"loaded"},standalone:!0,features:[t.aNF],decls:2,vars:3,consts:[[4,"ngIf"],["class","recommended-products-title",4,"ngIf"],[1,"products-slider-nav"],["src","assets/icon/products-slider/product-slider-prev-btn.svg","alt","",1,"products-slider-nav__prev-btn"],["src","assets/icon/products-slider/product-slider-next-btn.svg","alt","",1,"products-slider-nav__next-btn"],["class","recommended-products-slider",3,"config",4,"ngIf"],[1,"recommended-products-title"],[1,"recommended-products-slider",3,"config"],[4,"ngFor","ngForOf"],["swiperSlide",""],[1,"product-container",3,"click"],[4,"ngIf","ngIfElse"],["productNotInCart",""],[4,"tuiLet"],["class","product",3,"productEntity","stockId","isoCode","productProps","amount","leftInStock","preorder","isAuthorized","showBonuses","amountChange",4,"tuiLet"],[1,"product",3,"productEntity","stockId","isoCode","productProps","amount","leftInStock","preorder","isAuthorized","showBonuses","amountChange"],["productAvailableForRegularOrder",""],["class","product",3,"stockId","isoCode","productEntity","productProps","preorder","isAuthorized","showBonuses","amountChange","preorderButtonClick",4,"tuiLet"],[1,"product",3,"stockId","isoCode","productEntity","productProps","preorder","isAuthorized","showBonuses","amountChange","preorderButtonClick"],["productNotAvailable",""],["class","product",3,"productEntity","stockId","isoCode","productProps","leftInStock","counterDisabled","isAuthorized","showBonuses","toCartButtonClick",4,"tuiLet"],[1,"product",3,"productEntity","stockId","isoCode","productProps","leftInStock","counterDisabled","isAuthorized","showBonuses","toCartButtonClick"],[1,"product",3,"productEntity","stockId","isoCode","productProps","leftInStock","isComingSoon","isAuthorized","showBonuses"]],template:function(e,n){if(1&e&&(t.DNE(0,lt,6,2,"ng-container",0),t.nI1(1,"async")),2&e){let _;t.Y8G("ngIf",null==(_=t.bMT(1,1,n.items$))?null:_.length)}},dependencies:[C.MD,C.Sq,C.bT,C.Jj,x.m,D.j,R.B,$.t,b.L,w.z,y.q,M.ks,M.Nx,W.u,P.vj,P.Mf,P.T0,E.Q8,E.Kj],styles:['@charset "UTF-8";[_nghost-%COMP%]{display:block;position:relative}.recommended-products-title[_ngcontent-%COMP%]{font-family:DIN Condensed,sans-serif!important;font-weight:700;text-transform:uppercase}@media screen and (max-width: 1023px){.recommended-products-title[_ngcontent-%COMP%]{font-size:7.5vw}}@media screen and (min-width: 1024px){.recommended-products-title[_ngcontent-%COMP%]{font-size:clamp(14px,1.8229166667vw,1.8229166667vw)}}@media screen and (min-width: 1024px) and (min-width: 1920px){.recommended-products-title[_ngcontent-%COMP%]{font-size:35px}}@media screen and (max-width: 1023px){.recommended-products-title[_ngcontent-%COMP%]{margin-bottom:2.5vw}}@media screen and (min-width: 1024px){.recommended-products-title[_ngcontent-%COMP%]{margin-bottom:1.4583333333vw}}@media screen and (min-width: 1024px) and (min-width: 1920px){.recommended-products-title[_ngcontent-%COMP%]{margin-bottom:28px}}@media screen and (max-width: 1023px){.recommended-products-title[_ngcontent-%COMP%]{margin-top:10vw}}@media screen and (min-width: 1024px){.recommended-products-title[_ngcontent-%COMP%]{margin-top:4.1666666667vw}}@media screen and (min-width: 1024px) and (min-width: 1920px){.recommended-products-title[_ngcontent-%COMP%]{margin-top:80px}}@media (min-width: 1920px){.recommended-products-title[_ngcontent-%COMP%]{font-size:35px;margin-bottom:28px;margin-top:80px}}@media screen and (max-width: 1023px){.--in-cart[_nghost-%COMP%] .recommended-products-title[_ngcontent-%COMP%]{margin-top:12.5vw}}@media screen and (min-width: 1024px){.--in-cart[_nghost-%COMP%] .recommended-products-title[_ngcontent-%COMP%]{margin-top:0}}@media (min-width: 1920px){.--in-cart[_nghost-%COMP%] .recommended-products-title[_ngcontent-%COMP%]{margin-top:0}}.product-container[_ngcontent-%COMP%], .product[_ngcontent-%COMP%]{height:100%}.products-slider-nav__prev-btn[_ngcontent-%COMP%], .products-slider-nav__next-btn[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;width:1.6666666667vw;height:1.6666666667vw;left:-2.5vw;z-index:10;margin:auto;cursor:pointer}@media screen and (max-width: 1023px){.products-slider-nav__prev-btn[_ngcontent-%COMP%], .products-slider-nav__next-btn[_ngcontent-%COMP%]{display:none}}@media screen and (min-width: 1024px){.products-slider-nav__prev-btn[_ngcontent-%COMP%], .products-slider-nav__next-btn[_ngcontent-%COMP%]{display:block}}@media (min-width: 1920px){.products-slider-nav__prev-btn[_ngcontent-%COMP%], .products-slider-nav__next-btn[_ngcontent-%COMP%]{left:-48px;width:32px;height:32px}}.products-slider-nav__prev-btn.swiper-button-disabled[_ngcontent-%COMP%], .products-slider-nav__next-btn.swiper-button-disabled[_ngcontent-%COMP%]{opacity:.2;pointer-events:none;cursor:default}.products-slider-nav__next-btn[_ngcontent-%COMP%]{left:auto;right:-2.5vw}@media (min-width: 1920px){.products-slider-nav__next-btn[_ngcontent-%COMP%]{right:-48px}}@media (max-width: 932px){.recommended-products-slider[_ngcontent-%COMP%]{margin-left:-5vw;margin-right:-5vw}}.recommended-products-slider[_ngcontent-%COMP%] {overflow:initial;transform:scale(.9)}@media screen and (min-width: 1024px){.recommended-products-slider[_ngcontent-%COMP%] {overflow:hidden;transform:none}}.recommended-products-slider[_ngcontent-%COMP%] .swiper-slide{height:auto;min-height:100%;align-self:stretch}'],changeDetection:0}),u);I=(0,T.Cg)([(0,h.d)()],I)}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.