1import{a as Ja}from"./chunk-N2X3N2R5.js";import{a as wo,b as ko}from"./chunk-XRKASXG2.js";import{a as mt}from"./chunk-R5THOBMX.js";import{a as Xa,b as he}from"./chunk-UWGBSC2L.js";import{a as Oo}from"./chunk-VQQZTK4Y.js";import{a as Qa,b as qa}from"./chunk-DAHNKNNN.js";import{a as Ka}from"./chunk-77L4F4VZ.js";import{a as Ha,b as Wa}from"./chunk-RO3KRU7J.js";import{a as So}from"./chunk-JS7TDJZL.js";import{a as yo}from"./chunk-66HH4MVF.js";import"./chunk-K57YOZO7.js";import{b as ni}from"./chunk-FMHGGUJI.js";import{a as ti}from"./chunk-ZMEEABJD.js";import{a as xa,b as ya}from"./chunk-CG3COZOW.js";import{a as Qt,b as ao}from"./chunk-A3JN4PLW.js";import{a as Po}from"./chunk-2NOTR7RT.js";import{c as Da,d as Jt,g as ei,h as ii,i as bo}from"./chunk-QCN52C64.js";import"./chunk-OKK6SFAC.js";import{a as go,b as _o}from"./chunk-QE4PZBBM.js";import{a as Ba}from"./chunk-N2MR5Q44.js";import{a as po}from"./chunk-R3USCQER.js";import{a as vo}from"./chunk-ORRTRIKR.js";import"./chunk-3XY7SFBW.js";import"./chunk-ECWA7ZD7.js";import{a as Ta}from"./chunk-N7NOXIAS.js";import{a as Sa}from"./chunk-SFLFBXUW.js";import"./chunk-O3LZC3T3.js";import{a as uo}from"./chunk-NXHLVFVC.js";import{a as ka}from"./chunk-S7UAIXQF.js";import{a as Ia}from"./chunk-LOKRUA4N.js";import{a as wa}from"./chunk-U7JGSJTO.js";import{a as co,b as lo,c as qt,d as Kt,e as Yt}from"./chunk-GPBC6TZD.js";import{a as lt,b as Ra,c as Ea,d as Aa,e as ho,f as Co,g as Va,h as Na,i as ja,j as La,k as Ga,l as za,m as ne}from"./chunk-BCR4FM2X.js";import"./chunk-SIODR5DC.js";import"./chunk-HDSAXU7X.js";import{a as Mt,b as Fa}from"./chunk-RX33UZMX.js";import"./chunk-VOFLZV2F.js";import{a as Zt}from"./chunk-6FRB3YAH.js";import{a as ga,b as ct}from"./chunk-2G6YSOP3.js";import{a as Zn,b as ha,c as to}from"./chunk-AE3OLHTA.js";import"./chunk-MB4UL6Z5.js";import{a as He,b as Xt}from"./chunk-YHNCPLWB.js";import"./chunk-5VK3BICJ.js";import{a as Ma,b as Oa,c as Se}from"./chunk-HXBZ7AA4.js";import{a as fo}from"./chunk-JNBVWCIT.js";import{a as Ue}from"./chunk-SVLMWAQN.js";import"./chunk-ML7DUFQ3.js";import{a as pt}from"./chunk-HT32BRNT.js";import{a as st,b as dt}from"./chunk-SIZ6Z37D.js";import{a as Ua}from"./chunk-MLMRLGCS.js";import"./chunk-BBHTPTAH.js";import{a as mo}from"./chunk-P3IENZ6Y.js";import{a as Nr}from"./chunk-PC5DPVPQ.js";import"./chunk-I5QPA3RH.js";import"./chunk-3KZSZZRE.js";import{a as ro}from"./chunk-S7CHGHKC.js";import{u as Pa}from"./chunk-FNHZHLKV.js";import{d as _a,x as eo,z as fa}from"./chunk-RU73RG2N.js";import"./chunk-U5JWUBDY.js";import"./chunk-KW5JPP53.js";import{b as Za}from"./chunk-Q3TWLEOH.js";import{a as oi}from"./chunk-RFEIC5JI.js";import{a as Mo}from"./chunk-RHRBXULS.js";import{a as Yn}from"./chunk-DCOTSUJ5.js";import"./chunk-DHPFWQWC.js";import{a as Ya}from"./chunk-HU34V2EG.js";import"./chunk-O2TMXXTP.js";import"./chunk-7EAW2TKT.js";import{a as Ca}from"./chunk-4UDCXEZN.js";import{a as so}from"./chunk-4TREGRDS.js";import"./chunk-2JWMRBP6.js";import{b as Ce,c as $a}from"./chunk-6IBGEPI4.js";import{a as Re,b as Ee}from"./chunk-UM5ZXA7F.js";import"./chunk-3J46HYTY.js";import"./chunk-J6FHTURY.js";import{d as Xn,h as Jn}from"./chunk-3HIXCI5P.js";import"./chunk-HQJP3OS6.js";import"./chunk-SHEQZBEZ.js";import{a as oo,b as kn}from"./chunk-ORJSCEMI.js";import"./chunk-RRYZPLWO.js";import{a as Wt}from"./chunk-HAYPVV5N.js";import{a as va}from"./chunk-6GMGU2CT.js";import{a as xo}from"./chunk-P6KSYMNO.js";import{p as Y}from"./chunk-GGD77MBU.js";import{b as rt}from"./chunk-RFRDSDMN.js";import"./chunk-UDFO33RY.js";import"./chunk-AFU75P7Q.js";import"./chunk-W6AGYWIM.js";import{a as Ut}from"./chunk-4XIOTAJJ.js";import{a as zt}from"./chunk-2TNYQVCI.js";import"./chunk-XIOBJQ7I.js";import{a as pe}from"./chunk-MWACYA4T.js";import"./chunk-BH6REKD7.js";import{a as ve}from"./chunk-CTCXNY2P.js";import{a as ba,b as no}from"./chunk-BD7IB7SZ.js";import{b as $e}from"./chunk-3WCU4ARO.js";import{a as io}from"./chunk-XNSCT2D2.js";import{a as ue}from"./chunk-BGKTML32.js";import{a as da,c as $}from"./chunk-FCOODJMQ.js";import"./chunk-RYD3TWBS.js";import{b as ze}from"./chunk-Y2IRRZGP.js";import{a as de}from"./chunk-YPGBJ56Y.js";import{a as qn}from"./chunk-X6NYRG6S.js";import{a as Ht}from"./chunk-TDVFQHIA.js";import{a as $t}from"./chunk-RE7MOKFX.js";import"./chunk-7UZYWCAJ.js";import"./chunk-DUKSTT3K.js";import{a as ot}from"./chunk-2IVN5FQK.js";import"./chunk-HRIFTMZB.js";import"./chunk-Z5ZBGLM3.js";import{a as ut}from"./chunk-DATZHN2O.js";
1import"./chunk-ERS5FFDW.js";import"./chunk-53NCHYGK.js";import{a as F}from"./chunk-R6QLBWXV.js";import{a as ma}from"./chunk-TLE4JS7P.js";import{a as Gt}from"./chunk-FWOSMCFQ.js";import{e as Wn,g as Qn,i as it,j as nt}from"./chunk-7OQPFOG2.js";import{e as Ie}from"./chunk-7XAF5VEN.js";import{e as sa}from"./chunk-DXBHMIN4.js";import"./chunk-VHOGMJDF.js";import{d as St,f as at}from"./chunk-LZVD5LRO.js";import"./chunk-YNQPX5G6.js";import{b as pa,k as ua,o as Kn,u as Lt}from"./chunk-5XG47BI5.js";import"./chunk-Y7FNX7TI.js";import{C as yt,h as $n,j,n as Ve,o as Hn,p as _e,q as aa,s as ca,t as la,z as K}from"./chunk-BD54IVDF.js";import{$b as Gn,$c as Te,Ac as l,Ad as ra,Bb as Je,Bc as Pt,Bd as D,Ca as ie,Cb as g,Cc as xt,E as On,Eb as Vt,Ec as oe,Fc as re,Gc as ae,H as Ct,Ha as V,Hd as ye,J as Kr,Jb as M,K as An,Kc as Q,La as q,Lb as et,Lc as me,M as Vn,Mb as Xr,Mc as Pe,Nc as Le,Oa as Ne,Oc as m,P as Yr,Pb as xe,Pc as E,Qb as Ft,Qc as x,R as we,Rc as ee,S as Fn,Ta as X,Yb as Ln,Zb as Jr,a as Wr,ac as R,ad as Fr,bc as p,cc as qe,cd as tt,da as kt,dc as u,dd as na,ea as te,ec as zn,ed as O,fc as N,fd as ge,g as se,ga as wn,gc as I,gd as jt,h as En,hc as B,ic as s,j as Vr,jb as le,jc as a,k as Qr,kb as H,kc as c,lb as Nn,lc as _,ma as vt,mc as be,nc as ke,nd as y,ob as At,oc as ea,od as S,pc as ta,pd as De,qa as Xe,qb as o,qc as ia,qd as oa,r as qr,ra as Ae,rc as bt,s as ht,sc as P,sd as Un,vb as G,wb as Zr,wd as Ge,xa as C,xd as f,y as je,ya as v,yb as jn,yc as h,yd as z,zc as Nt}from"./chunk-ELE7GSK5.js";import{a as U,b as Z,h as Hr}from"./chunk-F6VATEWS.js";var It=class It{constructor(t){this.response=t}getHeader(t){return this.response.getHeader(t)}setHeader(t,e){return this.response&&this.response.header(t,e),this}appendHeader(t,e,n=","){if(this.response){let r=this.getHeader(t);if(!r)return this.setHeader(t,e);let d=[...r.split(n),e].filter((b,w,k)=>w===k.indexOf(b)).join(n);this.response.header(t,d)}return this}setHeaders(t){return this.response&&Object.keys(t).forEach(e=>this.setHeader(e,t[e])),this}setStatus(t,e){return this.response&&(this.response.statusCode=t,e&&(this.response.statusMessage=e)),this}setNotFound(t="not found"){return this.response&&(this.response.statusCode=404,this.response.statusMessage=t),this}setUnauthorized(t="Unauthorized"){return this.response&&(this.response.statusCode=401,this.response.statusMessage=t),this}setCachePrivate(){return this.response&&this.setCache("private"),this}setCacheNone(){return this.response&&(this.setHeader("Cache-Control","no-cache, no-store, must-revalidate"),this.setHeader("Pragma","no-cache")),this}setCache(t,e,n){return this.response&&(n?this.setHeader("Cache-Control",`${t}, max-age=${e||0}, s-maxage=${n}`):this.setHeader("Cache-Control",`${t}, max-age=${e||0}`),this.setHeader("Expires",e?new Date(Date.now()+e*1e3).toUTCString():new Date(Date.now()).toUTCString())),this}setError(t="internal server error"){return this.response&&(this.response.statusCode=500,this.response.statusMessage=t),this}};It.\u0275fac=function(e){return new(e||It)(Xe(Za,8))},It.\u0275prov=vt({token:It,factory:It.\u0275fac});var gt=It;var Io={pageTemplate:"/productPriceGuaranteeReusable",isActive:!0,reusable:{css:"",showIfMember:"",boxMenuTemplate:"",displayName:"",showHeader:!1,hasDots:!1,addToCart:!1,boxMenuTitle:"",sliderItems:"",active:!0,type:"",showOnEnvironment:"",autoplay:!1,tabCarouselTemplate:"",showIfLoggedIn:"",reusableType:"",id:"",heroBanner:!1,reusableEntries:[]},show:!1};var Fc=["addToCartBtn"],Nc=["mdcSelect"],jc=i=>({"product-action-actions__purchase--hasQuantity":i});function Lc(i,t){if(i&1&&(a(0,"div",3),_(1,"app-product-store-availability-btn",4),c()),i&2){let e=l();o(),s("product",e.product)("buttonHeight","custom")}}function Gc(i,t){i&1&&(a(0,"div",5),_(1,"app-product-hidden-prices",6),c()),i&2&&(o(),s("isPdp",!0))}function zc(i,t){if(i&1){let e=P();a(0,"div",7)(1,"app-mdc-select-field",10,1),h("changeSelection",function(r){C(e);let d=l(3);return v(d.setProductQuantity(r))}),c()()}if(i&2){let e=l(3);o(),s("monochrome",!0)("fullWidth",!0)("list",e.productQuantities)("value",e.productQuantity)}}function Uc(i,t){if(i&1&&(p(0,zc,3,4,"div",7),a(1,"div",8),_(2,"app-mdc-button",9),y(3,"async"),y(4,"async"),y(5,"async"),y(6,"async"),c()),i&2){let e=l(2);u(e.showQuantity?0:-1),o(),s("ngClass",O(17,jc,e.showQuantity)),o(),s("page",S(3,9,e.microInteractionsService.page))("product",e.product)("fullWidth",!0)("disabled",!(!(e.product==null||e.product.availability==null||e.product.availability.deliveryRule==null)&&e.product.availability.deliveryRule.allowPurchases)||(e.product==null||e.product.sku==null?null:e.product.sku.unavailableSKU))("icon",S(4,11,e.microInteractionsService.buyButtonIcon))("label",S(5,13,e.microInteractionsService.buyButtonlabel)?S(6,15,e.microInteractionsService.buyButtonlabel):!(e.product==null||e.product.availability==null||e.product.availability.deliveryRule==null)&&e.product.availability.deliveryRule.preOrder?"\u03A0\u03C1\u03BF\u03C0\u03B1\u03C1\u03B1\u03B3\u03B3\u03B5\u03BB\u03AF\u03B1":e.isMobile?"\u03A0\u03C1\u03BF\u03C3\u03B8\u03AE\u03BA\u03B7":"\u03A0\u03C1\u03BF\u03C3\u03B8\u03AE\u03BA\u03B7 \u03C3\u03C4\u03BF \u03BA\u03B1\u03BB\u03AC\u03B8\u03B9")("buttonHeight","custom")}}function $c(i,t){if(i&1&&(p(0,Gc,2,1,"div",5),y(1,"async"),qe(2,Uc,7,19)),i&2){let e=l();u(!S(1,1,e.userLoginStatus$)&&e.isB2B?0:2)}}var ri=class ri{constructor(t,e,n,r,d,b,w,k){this.platformId=t;this.cdref=e;this.commonService=n;this.microInteractionsService=r;this.productListService=d;this.b2bStore=b;this.userStore=w;this.productService=k;this.isMobile=!1;
1this.btnIntersectorTriggerEvent=new G;this.productQuantity="1";this.showQuantity=!1;this.isB2B=!1;this.userLoginStatus$=this.userStore.selectUserLoginStatus();this.destroy$=new se}ngOnInit(){if(this.isB2B=F.b2b,this.isB2B){let t=this.b2bStore.getProductVolumeDiscountOptions();this.showQuantity=this.productService.showVolumeDiscount(t),this.getProductVolumeDiscountQuantity()}this.setBuybuttonData(),this.hasProductShowQuantity()}ngAfterViewInit(){F.ssr||new IntersectionObserver(n=>{n.forEach(r=>{r.isIntersecting?this.btnIntersectorTriggerEvent.emit(!1):this.btnIntersectorTriggerEvent.emit(!0)})},{threshold:1}).observe(this.addToCartBtnRef?.nativeElement),K(this.platformId)&&this.isB2B&&this.mdcSelectRef&&(this.qtySelect=new Nr(this.mdcSelectRef?.nativeElement))}onClick(){this.microInteractionsService.changeBuyButton()}setBuybuttonData(){this.microInteractionsService.setDefaultButtonData()}setProductQuantity(t){this.product.sku.quantity=t,this.isB2B&&this.b2bStore.changeVolumeDiscount(t)}ngOnChanges(){this.isB2B&&(this.hasProductShowQuantity(),K(this.platformId)&&this.mdcSelectRef&&Vr.schedule(()=>{this.qtySelect=new Nr(this.mdcSelectRef?.nativeElement)})),this.cdref.markForCheck()}hasProductShowQuantity(){this.product?.showSkuQuantity&&(this.productQuantities=this.productListService.createQuantityList(this.product?.sku?.maxQuantity),this.showQuantity=this.product?.showSkuQuantity,this.productQuantity=this.product?.sku?.quantity??"1",this.isB2B&&this.productQuantity&&this.setSelectListValue(+this.productQuantity))}getProductVolumeDiscountQuantity(){this.b2bStore.getSelectedProductVolumeDiscount().pipe(te(this.destroy$)).subscribe(t=>{if(t&&t.qty){let e=t?.qty;this.product&&(this.product.sku.quantity=e),this.productQuantity=this.product?.sku?.quantity??"1",this.setSelectListValue(e),this.cdref.markForCheck()}})}setSelectListValue(t){Vr.schedule(()=>{this.qtySelect&&this.qtySelect.getDefaultFoundation().setSelectedIndex(t-1),this.cdref.markForCheck()},100)}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.unsubscribe()}};ri.\u0275fac=function(e){return new(e||ri)(g(X),g(ye),g(ve),g($t),g(Ue),g($e),g(ue),g(ne))},ri.\u0275cmp=M({type:ri,selectors:[["app-product-action-actions"]],viewQuery:function(e,n){if(e&1&&(oe(Fc,5,Ne),oe(Nc,5,Ne)),e&2){let r;re(r=ae())&&(n.addToCartBtnRef=r.first),re(r=ae())&&(n.mdcSelectRef=r.first)}},inputs:{product:"product",isMobile:"isMobile"},outputs:{btnIntersectorTriggerEvent:"btnIntersectorTriggerEvent"},features:[q],decls:4,vars:1,consts:[["addToCartBtn",""],["mdcSelect",""],[1,"my-2","product-action-actions__container"],[1,"w-100"],[3,"product","buttonHeight"],[1,"product-hidden-prices","w-100"],[3,"isPdp"],[1,"product-action-actions__quantity"],[1,"product-action-actions__purchase",3,"ngClass"],["addToCartButton","",3,"page","product","fullWidth","disabled","icon","label","buttonHeight"],["label","",3,"changeSelection","monochrome","fullWidth","list","value"]],template:function(e,n){e&1&&(a(0,"div",2,0),p(2,Lc,2,2,"div",3)(3,$c,3,3),c()),e&2&&(o(2),u(!(n.product==null||n.product.availability==null||n.product.availability.deliveryRule==null)&&n.product.availability.deliveryRule.uniqueStoreAssortment?2:3))},dependencies:[He,mo,j,zt,pt,ct,_e],styles:["[_nghost-%COMP%] .product-action-actions__container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:4px}[_nghost-%COMP%] .product-action-actions__purchase[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .product-action-actions__purchase--hasQuantity[_ngcontent-%COMP%]{min-width:75px}[_nghost-%COMP%] .product-action-actions__quantity[_ngcontent-%COMP%] app-mdc-select-field .mdc-select.mdc-select--outlined .mdc-select__anchor{height:48px}@media(min-width:820px){[_nghost-%COMP%] .product-action-actions__quantity[_ngcontent-%COMP%] app-mdc-select-field .mdc-select.mdc-select--outlined .mdc-select__anchor{height:56px}}[_nghost-%COMP%] .product-action-actions__quantity[_ngcontent-%COMP%] app-mdc-select-field .mdc-select.mdc-select--outlined .mdc-select__anchor .mdc-select__selected-text-container{min-width:44px}[_nghost-%COMP%] .product-action-actions__quantity[_ngcontent-%COMP%] app-mdc-select-field .mdc-select.mdc-select--outlined .mdc-select__anchor .mdc-select__selected-text-container .mdc-select__selected-text{text-align:center}[_nghost-%COMP%] .mdc-button__container{display:flex;align-items:center}[_nghost-%COMP%] .mdc-button__movement{position:absolute;opacity:0;transition:opacity .3s ease-in-out}[_nghost-%COMP%] .mdc-button__wording{display:flex;align-items:center;transition:all .4s ease-in-out}[_nghost-%COMP%] .mdc-button:hover .mdc-button__wording{transform:translate(20px)}[_nghost-%COMP%] .mdc-button:hover .mdc-button__movement{opacity:1}@media(max-width:410px){[_nghost-%COMP%] .mdc-button{padding-left:10px;padding-right:6px}}"]});var ai=ri;var ci=class ci{constructor(t,e){this.el=t;this.document=e;this.scrolledTo=new G;this.reached=!1;this.passed=!1;this.backPassed=!1;this.allowDirectiveScroll=!0}onWindowScroll(){let t=document.getElementsByClassName("comparison-score"),e=document.getElementsByClassName("comparison-bar");for(let b=0;b<t.length;b++){if(!e[b].className?.includes("score-")){let k=(10*parseInt(t[b].innerHTML)).toString();e[b].classList.add(`score-${t[b].innerHTML}`);let T=e[b];T.style.backgroundColor="#ffa836",T.style.width=`${k}%`}e[b].parentNode.classList.forEach(k=>{if(!k.includes("comparison-bar-container")){var T=document.createElement("div");
1T.className="comparison-bar-container";let W=e[b];e[b].replaceWith(T),T.appendChild(W)}})}let n=this.el.nativeElement.offsetTop,r=this.el.nativeElement.clientHeight,d=window.pageYOffset+150;if(this.passed=d>=n+r,this.backPassed=d<n+r,this.reached=d>=n,this.scrollingElement){this.allowDirectiveScroll=!1;let b=this.document.querySelector(this.scrollingElement),w=this.document.querySelector("#header"),k=this.document.querySelector("#product-tabs"),T=b?.getBoundingClientRect().top-w?.getBoundingClientRect().height-80+window.scrollY;(d-181<T&&T<d-98||d-181<Math.round(T)&&Math.round(T)<d-98)&&(this.allowDirectiveScroll=!0,this.scrollingElement="");return}if(this.allowDirectiveScroll){if(this.passed&&this.el.nativeElement.id=="product-tabs-position"){this.scrolledTo.emit(!0);return}if(this.passed)return;if(this.backPassed&&this.el.nativeElement.id=="product-tabs-position"){this.scrolledTo.emit(!1);return}this.reached&&this.scrolledTo.emit(this.el.nativeElement.id)}}};ci.\u0275fac=function(e){return new(e||ci)(g(Ne),g(ie))},ci.\u0275dir=et({type:ci,selectors:[["","detectScroll",""]],hostBindings:function(e,n){e&1&&h("scroll",function(d){return n.onWindowScroll(d)},At)},inputs:{scrollingElement:"scrollingElement"},outputs:{scrolledTo:"scrolledTo"},exportAs:["detectScroll"]});var ce=ci;function Hc(i,t){if(i&1&&_(0,"span",8),i&2){let e=l().$implicit;Le(e[0]==null?null:e[0].catIcon)}}function Wc(i,t){i&1&&_(0,"span",9)}function Qc(i,t){if(i&1&&(p(0,Wc,1,0,"span",9),a(1,"a",10),m(2),c()),i&2){let e=t.$implicit,n=t.$index;u(n>0?0:-1),o(),s("href",e==null?null:e.slug,H),o(),x(" ",e.displayName," ")}}function qc(i,t){if(i&1&&(a(0,"div",3)(1,"div",4),_(2,"span",5),p(3,Hc,1,2,"span",6),c(),a(4,"div",7),I(5,Qc,3,3,null,null,N),c()()),i&2){let e=t.$implicit;o(3),u(e[0]!=null&&e[0].catIcon?3:-1),o(2),B(e)}}var li=class li{constructor(){this.directiveScroll=new G;this.relatedCategories=[];this.title="\u03A3\u03C7\u03B5\u03C4\u03B9\u03BA\u03AD\u03C2 \u03BA\u03B1\u03C4\u03B7\u03B3\u03BF\u03C1\u03AF\u03B5\u03C2"}onScroll(t){this.directiveScroll.emit(t)}};li.\u0275fac=function(e){return new(e||li)},li.\u0275cmp=M({type:li,selectors:[["app-reusable-related-categories"]],inputs:{scrollingElement:"scrollingElement",relatedCategories:"relatedCategories"},outputs:{directiveScroll:"directiveScroll"},decls:5,vars:2,consts:[["scrolledToElement","detectScroll"],["tabId","reusable-product-related-categories","id","reusable-product-related-categories","detectScroll","",3,"scrolledTo","title","scrollingElement"],[1,"content","content-card"],[1,"related-category"],[1,"icons"],[1,"ic-chevron-right"],[1,"ic-icon",3,"class"],[1,"categories"],[1,"ic-icon"],[1,"category-separator"],[1,"subcategory-link","mdc-typography--body2",3,"href"]],template:function(e,n){if(e&1){let r=P();a(0,"app-mdc-accordion",1,0),h("scrolledTo",function(b){return C(r),v(n.onScroll(b))}),a(2,"div",2),I(3,qc,7,1,"div",3,N),c()()}e&2&&(s("title",n.title)("scrollingElement",n.scrollingElement),o(3),B(n.relatedCategories))},dependencies:[he,ce],styles:['.content-card[_ngcontent-%COMP%]{gap:18px;display:grid;padding:20px;border-radius:16px;background:#fff;box-shadow:0 14px 24px #0000000d}.related-category[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center}.related-category[_ngcontent-%COMP%] .ic-chevron-right[_ngcontent-%COMP%]{font-size:20px}.related-category[_ngcontent-%COMP%] .ic-icon[_ngcontent-%COMP%]{color:var(--main-orange);padding:0 6px}.related-category[_ngcontent-%COMP%] .icons[_ngcontent-%COMP%]{display:flex;height:100%;align-items:center;padding-right:6px}
1.category-separator[_ngcontent-%COMP%]{padding:4px}.category-separator[_ngcontent-%COMP%]:after{content:">"}.subcategory-link[_ngcontent-%COMP%]{text-decoration:none;border-bottom:1px solid transparent;color:var(--main-brand-neutral-text);cursor:pointer}.subcategory-link[_ngcontent-%COMP%]:hover{text-decoration:underline}']});var Bo=li;var si=class si{constructor(t){this.platformId=t;this.directiveScroll=new G;this.title="\u039E\u03B5\u03C6\u03CD\u03BB\u03BB\u03B9\u03C3\u03AD \u03C4\u03BF";this.bookLookInsideUrl=""}get SafeReturnType(){return st}ngOnInit(){}ngOnChanges(t){t.bookLookInside&&K(this.platformId)&&(this.bookLookInsideUrl=this.getBookInsideSrcUrl(t.bookLookInside.currentValue))}onScroll(t){this.directiveScroll.emit(t)}getBookInsideSrcUrl(t){if(t)return t.includes(".pdf")?"https://media.public.gr/Books-PDF/flippingTool/deploy/public.html?file="+t:t}};si.\u0275fac=function(e){return new(e||si)(g(X))},si.\u0275cmp=M({type:si,selectors:[["app-reusable-product-flipbook"]],inputs:{bookLookInside:"bookLookInside",scrollingElement:"scrollingElement"},outputs:{directiveScroll:"directiveScroll"},features:[q],decls:6,vars:6,consts:[["scrolledToElement","detectScroll"],["tabId","reusable-product-flipbook","id","reusable-product-flipbook","detectScroll","",3,"scrolledTo","title","scrollingElement"],[1,"content","content-card"],[2,"height","710px","padding","18px 0"],["width","100%","height","100%","frameborder","0",3,"src"]],template:function(e,n){if(e&1){let r=P();a(0,"app-mdc-accordion",1,0),h("scrolledTo",function(b){return C(r),v(n.onScroll(b))}),a(2,"div",2)(3,"div",3),_(4,"iframe",4),y(5,"byPassSecurity"),c()()()}e&2&&(s("title",n.title)("scrollingElement",n.scrollingElement),o(4),s("src",De(5,3,n.bookLookInsideUrl,n.SafeReturnType.ResourceUrl),Nn))},dependencies:[he,ce,dt],styles:["[_nghost-%COMP%] section[_ngcontent-%COMP%]{padding:24px 0}@media(max-width:819.98px){[_nghost-%COMP%] section[_ngcontent-%COMP%]{margin:0 -16px}}[_nghost-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{margin-bottom:16px}"]});var To=si;var Kc=i=>({backgroundImage:i}),Yc=i=>({selector:"a",attributeName:"rel",attributeValue:i}),Zc=i=>[i],di=class di{constructor(){this.isCyprus=!1;this.seoRobots="";this.directiveScroll=new G;this.title="\u0392\u03B9\u03BF\u03B3\u03C1\u03B1\u03C6\u03AF\u03B1 \u03C3\u03C5\u03B3\u03B3\u03C1\u03B1\u03C6\u03AD\u03B1",this.isCyprus=F.cyprus}ngOnInit(){this.seoRobots=this.isCyprus?"nofollow":""}onScroll(t){this.directiveScroll.emit(t)}};di.\u0275fac=function(e){return new(e||di)},di.\u0275cmp=M({type:di,selectors:[["app-reusable-product-author"]],inputs:{author:"author",scrollingElement:"scrollingElement"},outputs:{directiveScroll:"directiveScroll"},decls:14,vars:14,consts:[["scrolledToElement","detectScroll"],["id","reusable-product-author","tabId","reusable-product-author","detectScroll","",3,"scrolledTo","title","scrollingElement"],[1,"content","t-1","b-n1","b-sm-2","content-card"],[1,"card--author"],[1,"row","flex-column","flex-sm-row","flex-nowrap"],[1,"col","col-6","col-sm-auto"],[1,"card-img",3,"ngStyle"],[1,"col"],[1,"mdc-typography--headline7","mb-2"],[1,"mdc-typography--body1","mb-2"],[1,"pbc-link-button","pbc-link-button--primary","mdc-typography--subtitle2",3,"routerLink","attributeData"]],template:function(e,n){if(e&1){let r=P();a(0,"app-mdc-accordion",1,0),h("scrolledTo",function(b){return C(r),v(n.onScroll(b))}),a(2,"div",2)(3,"article",3)(4,"div",4)(5,"div",5),_(6,"div",6),c(),a(7,"div",7)(8,"div",8),m(9),c(),a(10,"div",9),m(11),c(),a(12,"a",10),m(13,"\u0394\u03B5\u03C2 \u03CC\u03BB\u03B1 \u03C4\u03B1 \u03B2\u03B9\u03B2\u03BB\u03AF\u03B1 \u03C4\u03BF\u03C5"),c()()()()()()}e&2&&(s("title",n.title)("scrollingElement",n.scrollingElement),o(6),s("ngStyle",O(8,Kc,"url("+n.author.photoUrl+")")),o(3),ee("",n.author==null?null:n.author.name," ",n.author==null?null:n.author.surname),o(2),E(n.author==null?null:n.author.biography),o(),s("routerLink","/authors/"+(n.author==null?null:n.author.fullName)+"/"+(n.author==null?null:n.author.personsId))("attributeData",O(12,Zc,O(10,Yc,n.seoRobots)
1)))},dependencies:[he,ce,Ve,Mt,nt],styles:["[_nghost-%COMP%] section[_ngcontent-%COMP%]{padding:24px 0}[_nghost-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{margin-bottom:16px}[_nghost-%COMP%] article[_ngcontent-%COMP%] .card-img[_ngcontent-%COMP%]{padding-top:100%;background-size:cover;background-position:center;background-repeat:no-repeat;width:160px}@media(max-width:819.98px){[_nghost-%COMP%] article[_ngcontent-%COMP%] .card-img[_ngcontent-%COMP%]{width:100%}}"]});var Do=di;var Xc=["myCarousel"];function Jc(i,t){if(i&1){let e=P();a(0,"div",9)(1,"button",16),h("click",function(){let r=C(e).$index;l();let d=Q(13);return v(d.moveTo(r))}),_(2,"img",17),c()()}if(i&2){let e=t.$implicit,n=t.$index;l();let r=Q(13);o(),Pe("active",n==r.activePoint()),o(),s("src",e.thumbUrl,H)}}function el(i,t){if(i&1&&_(0,"iframe",19),i&2){let e=l().$implicit;s("src",e.imageUrl,Nn)}}function tl(i,t){if(i&1&&(a(0,"ngu-tile")(1,"div",18),p(2,el,1,1,"iframe",19),c()()),i&2){let e=t.index;l();let n=Q(13);o(2),u(e==n.activePoint()?2:-1)}}function il(i,t){if(i&1){let e=P();a(0,"button",20),h("click",function(){let r=C(e).$index;l();let d=Q(13);return v(d.moveTo(r))}),c()}if(i&2){let e=t.$index;l();let n=Q(13);Pe("active",e==n.activePoint()),s("title","slide-"+e)}}var pi=class pi{constructor(t,e,n){this.document=t;this.sanitizer=e;this.utils=n;this.directiveScroll=new G;this.carouselConfig={grid:{xs:1,sm:1,md:1,lg:1,all:0},gridBreakpoints:{sm:820,md:1080,lg:1360,xl:1920},load:1,slide:1,loop:!1,touch:!0,point:{visible:!0},velocity:.2};this.carouselItems=[];this.title="\u03A3\u03BA\u03B7\u03BD\u03AD\u03C2 & playlist"}ngOnInit(){this.carouselItems=this.videoList.map(t=>(t.imageUrl=this.sanitizer.bypassSecurityTrustResourceUrl(t.imageUrl),t))}onScroll(t){this.directiveScroll.emit(t)}};pi.\u0275fac=function(e){return new(e||pi)(g(ie),g(Ie),g(ze))},pi.\u0275cmp=M({type:pi,selectors:[["app-reusable-product-playlist"]],viewQuery:function(e,n){if(e&1&&oe(Xc,5),e&2){let r;re(r=ae())&&(n.carousel=r.first)}},inputs:{scrollingElement:"scrollingElement",videoList:"videoList"},outputs:{directiveScroll:"directiveScroll"},decls:18,vars:4,consts:[["scrolledToElement","detectScroll"],["myCarousel",""],["id","reusable-product-videolist","tabId","reusable-product-videolist","detectScroll","",3,"scrolledTo","title","scrollingElement"],[1,"content","product__gallery"],[1,"row"],[1,"col","col-12","col-md-1","d-none","d-md-block","align-self-stretch"],[1,"product__gallery__scroll"],[1,"scroll-y","h-100"],[1,"row","row-small"],[1,"col","col-12"],[1,"col","col-12","col-md-11"],[1,"product__gallery__preview"],[3,"touchstart","touchmove","touchend","inputs","dataSource"],[4,"nguCarouselDef"],["NguCarouselPoint","",1,"slider-pager","d-flex","d-md-none"],[1,"slider-pager-item","animate","active",3,"title","active"],[1,"product__gallery__thumb","animate","active",3,"click"],[1,"img",3,"src"],[1,"product__gallery__video"],["title","YouTube video player","frameborder","0","allow","accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture",3,"src"],[1,"slider-pager-item","animate","active",3,"click","title"]],template:function(e,n){if(e&1){let r=P();a(0,"app-mdc-accordion",2,0),h("scrolledTo",function(b){return C(r),v(n.onScroll(b))}),a(2,"div",3)(3,"div",4)(4,"div",5)(5,"div",6)(6,"div",7)(7,"div",8),I(8,Jc,3,3,"div",9,N),c()()()(),a(10,"div",10)(11,"div",11)(12,"ngu-carousel",12,1),h("touchstart",function(b){return C(r),v(n.utils.setTouchStartX(b.touches[0].clientX))})("touchmove",function(b){return C(r),v(n.utils.checkTouchStartX(b.touches[0].clientX))})("touchend",function(){return C(r),v(n.utils.resetTouchStartX())}),xe(14,tl,3,1,"ngu-tile",13),a(15,"div",14),I(16,il,1,3,"button",15,N),c()()()()()()()}if(e&2){let r=Q(13);s("title",n.title)("scrollingElement",n.scrollingElement),o(8),B(n.carouselItems),o(4),s("inputs",n.carouselConfig)("dataSource",n.carouselItems),o(4),B(r.pointNumbers())}},dependencies:[he,ce,Kt,Yt,qt],styles:['[_nghost-%COMP%] section[_ngcontent-%COMP%]{padding:24px 0}@media(max-width:819.98px){[_nghost-%COMP%] section[_ngcontent-%COMP%]{margin:0 -16px}}[_nghost-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{margin-bottom:16px}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__scroll[_ngcontent-%COMP%]{position:relative;height:100%}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__scroll[_ngcontent-%COMP%] > .scroll-y[_ngcontent-%COMP%]{position:absolute;overflow-x:hidden;margin-right:-4px;padding-right:4px;inset:0}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__thumb[_ngcontent-%COMP%]{width:100%;padding:100% 0 0;position:relative;border:0;background:none;cursor:pointer}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__thumb[_ngcontent-%COMP%] .img[_ngcontent-%COMP%]{position:absolute;width:100%;height:100%;top:0;left:0;object-fit:cover}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__thumb[_ngcontent-%COMP%]:after{content:"";opacity:0;position:absolute;inset:0;border:2px solid #fe5900}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__thumb.active[_ngcontent-%COMP%]:after{opacity:1}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__preview[_ngcontent-%COMP%]{position:relative}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__preview[_ngcontent-%COMP%] ngu-carousel .ngucarousel{overflow:visible}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__preview[_ngcontent-%COMP%] ngu-carousel .ngu-touch-container{overflow:hidden}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__preview[_ngcontent-%COMP%] ngu-carousel .item{padding:0}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__preview[_ngcontent-%COMP%] ngu-carousel .tile{box-shadow:none;height:100%}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__preview[_ngcontent-%COMP%] ngu-carousel .slider-pager{position:relative;height:16px;bottom:-16px;display:flex;align-items:center;justify-content:center}@media(max-width:819.98px){[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__preview[_ngcontent-%COMP%] ngu-carousel .slider-pager{bottom:-48px}}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__preview[_ngcontent-%COMP%] ngu-carousel .slider-pager .slider-pager-item{border-radius:16px;margin:0 4px;width:16px;height:16px;padding:0;background-color:#fff;border:1px solid rgba(0,0,0,.12);cursor:pointer}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__preview[_ngcontent-%COMP%] ngu-carousel .slider-pager .slider-pager-item:hover{background-color:#000000de;border-color:#000000de}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__preview[_ngcontent-%COMP%] ngu-carousel .slider-pager .slider-pager-item:focus{outline:none}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__preview[_ngcontent-%COMP%] ngu-carousel .slider-pager .slider-pager-item.active{background-color:#fe5900;border-color:#fe5900;width:32px}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__preview[_ngcontent-%COMP%] ngu-carousel ngu-tile .product__gallery__video{position:relative;padding-top:56.25%;background-color:transparent;width:100%}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__preview[_ngcontent-%COMP%] ngu-carousel ngu-tile .product__gallery__video iframe{position:absolute;inset:0;width:100%;height:100%}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__preview[_ngcontent-%COMP%] ngu-carousel ngu-tile .slider-item{padding-top:100%;width:100%;background-size:contain;background-repeat:no-repeat;background-position:center}']});var Ro=pi;function nl(i,t){if(i&1){let e=P();a(0,"section")(1,"div",3)(2,"audio",4),_(3,"source",5),c(),a(4,"div",6),h("click",function(){let r=C(e).$implicit,d=l();
1return v(d.play(r))}),_(5,"img",5),c()(),a(6,"div",7)(7,"p",8),m(8),c()(),a(9,"div",9)(10,"p",8),m(11),c()(),a(12,"div",10)(13,"p",8),m(14),y(15,"timePipe"),c()()()}if(i&2){let e=t.$implicit,n=l();o(2),s("id",Te("track-"+(e==null?null:e.id))),o(),s("src",e==null?null:e.trackUrl),o(2),s("src",e.play?"/assets/icons/ic-pause-blue.svg":"/assets/icons/ic-play.svg",H),o(2),s("ngClass",n.isMobile()?"mdc-typography--subtitle2":"mdc-typography--subtitle1"),o(),x(" ",e==null?null:e.title," "),o(2),s("ngClass",n.isMobile()?"mdc-typography--subtitle2":"mdc-typography--subtitle1"),o(),x(" ",e==null?null:e.artist," "),o(2),s("ngClass",n.isMobile()?"mdc-typography--subtitle2":"mdc-typography--subtitle1"),o(),x(" ",S(15,10,e==null?null:e.trackTime)," ")}}var ui=class ui{constructor(t,e,n,r){this.document=t;this.platformId=e;this.deviceService=n;this.deviceStore=r;this.title="Track list";this.directiveScroll=new G;this.viewport=$(this.deviceStore.selectViewport());this.isMobile=f(()=>this.getIsMobile())}ngOnInit(){}ngOnChanges(t){let e=t?.trackList?.currentValue;Array.isArray(e)&&e.length>0&&(this.trackList=this.getFallbackForNullIds(e))}onScroll(t){this.directiveScroll.emit(t)}play(t){t.play=!t.play;var e=this.document.getElementById("track-"+t.id);e.paused?e?.play():e.pause()}getIsMobile(){let t=K(this.platformId),e=this.viewport();return t&&e?e.innerWidth<=820:this.deviceService.isMobile()}getFallbackForNullIds(t){return t.map(e=>e.id!=null?e:Z(U({},e),{id:`${e.discNumber}-${e.discTrackNumber}`}))}};ui.\u0275fac=function(e){return new(e||ui)(g(ie),g(X),g(pe),g(de))},ui.\u0275cmp=M({type:ui,selectors:[["app-reusable-product-tracks"]],inputs:{scrollingElement:"scrollingElement",trackList:"trackList"},outputs:{directiveScroll:"directiveScroll"},features:[q],decls:5,vars:2,consts:[["scrolledToElement","detectScroll"],["id","reusable-product-tracklist","tabId","reusable-product-tracklist","detectScroll","",3,"scrolledTo","title","scrollingElement"],[1,"content","track-list"],[1,"track-list__icon"],[2,"display","none",3,"id"],[3,"src"],[1,"track-btn",3,"click"],[1,"track-list__title"],[3,"ngClass"],[1,"track-list__artist"],[1,"track-list__time"]],template:function(e,n){if(e&1){let r=P();a(0,"app-mdc-accordion",1,0),h("scrolledTo",function(b){return C(r),v(n.onScroll(b))}),a(2,"div",2),I(3,nl,16,12,"section",null,N),c()()}e&2&&(s("title",n.title)("scrollingElement",n.scrollingElement),o(3),B(n.trackList))},dependencies:[he,ce,j,La],styles:['[_nghost-%COMP%] section[_ngcontent-%COMP%]{display:grid;grid-template-columns:4% 32% 32% 32%;grid-template-areas:"icon title artist time";padding:16px 32px;background:#fff;border-bottom:1px solid #E4E4E4;height:72px;align-items:center}@media(max-width:819.98px){[_nghost-%COMP%] section[_ngcontent-%COMP%]{padding:20px;height:80px;grid-gap:0;gap:0;grid-template-columns:10% 80% 10%;grid-template-areas:"icon title title" "icon artist time"}}[_nghost-%COMP%] section[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:not(.track-list__time p){text-overflow:ellipsis;overflow:hidden;white-space:nowrap}[_nghost-%COMP%] .track-list[_ngcontent-%COMP%]{filter:drop-shadow(0px 14px 24px rgba(0,0,0,.05))}@media(max-width:819.98px){[_nghost-%COMP%] .track-list[_ngcontent-%COMP%]{filter:drop-shadow(0px 8px 20px rgba(0,0,0,.08))}}[_nghost-%COMP%] .track-list[_ngcontent-%COMP%] section[_ngcontent-%COMP%]:first-child{border-top-left-radius:16px;border-top-right-radius:16px}@media(max-width:819.98px){[_nghost-%COMP%] .track-list[_ngcontent-%COMP%] section[_ngcontent-%COMP%]:first-child{border-top-left-radius:8px;border-top-right-radius:8px}}[_nghost-%COMP%] .track-list[_ngcontent-%COMP%] section[_ngcontent-%COMP%]:last-child{border-bottom-left-radius:16px;border-bottom-right-radius:16px}@media(max-width:819.98px){[_nghost-%COMP%] .track-list[_ngcontent-%COMP%] section[_ngcontent-%COMP%]:last-child{border-bottom-left-radius:8px;border-bottom-right-radius:8px}}[_nghost-%COMP%] .track-list[_ngcontent-%COMP%] section[_ngcontent-%COMP%]:nth-child(2n){background-color:#fafafa}[_nghost-%COMP%] .track-list__icon[_ngcontent-%COMP%]{grid-area:icon;display:flex;align-items:center;height:44px}@media(max-width:819.98px){[_nghost-%COMP%] .track-list__icon[_ngcontent-%COMP%]{height:auto;align-items:center;justify-content:flex-start}}[_nghost-%COMP%] .track-list__title[_ngcontent-%COMP%]{grid-area:title;display:flex;align-items:center}@media(max-width:400px){[_nghost-%COMP%] .track-list__title[_ngcontent-%COMP%]{margin-left:10px}}[_nghost-%COMP%] .track-list__artist[_ngcontent-%COMP%]{grid-area:artist;display:flex;align-items:center;justify-content:center}@media(max-width:819.98px){[_nghost-%COMP%] .track-list__artist[_ngcontent-%COMP%]{justify-content:flex-start}}@media(max-width:400px){[_nghost-%COMP%] .track-list__artist[_ngcontent-%COMP%]{margin-left:10px}}[_nghost-%COMP%] .track-list__time[_ngcontent-%COMP%]{grid-area:time;display:flex;justify-content:flex-end;align-items:center}[_nghost-%COMP%] .track-list__time[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#666}[_nghost-%COMP%] .track-btn[_ngcontent-%COMP%]{height:24px}[_nghost-%COMP%] .track-btn[_ngcontent-%COMP%] [_ngcontent-%COMP%]:hover{cursor:pointer}']});var Eo=ui;function ol(i,t){if(i&1&&(a(0,"div",9),_(1,"app-reusable-product-services-specifications-group-item",10),c()),i&2){let e=t.$implicit,n=l(2);o(),s("service",e)("product",n.product)}}function rl(i,t){if(i&1&&I(0,ol,2,2,"div",9,N),i&2){let e=l();B(e.serviceGroup==null?null:e.serviceGroup.services)}}function al(i,t){if(i&1&&(a(0,"div",11),_(1,"app-reusable-product-services-specifications-group-item",10),c()),i&2){let e=t.$implicit,n=l(2);o(),s("service",e)("product",n.product)}}function cl(i,t){if(i&1&&I(0,al,2,2,"div",11,N),i&2){let e=l();B(e.serviceGroup==null?null:e.serviceGroup.services)}}var mi=class mi{constructor(){}ngOnInit(){}ngOnChanges(){}};mi.\u0275fac=function(e){return new(e||mi)},mi.\u0275cmp=M({type:mi,selectors:[["app-reusable-product-services-specifications-group"]],inputs:{serviceGroup:"serviceGroup",product:"product"},features:[q],decls:14,vars:6,consts:[[1,"serviceGroup-container"],[1,"row","serviceGroup-groupHeader-container"],[1,"row","serviceGroup-header-container","m-0","p-0"],[1,"serviceGroup-groupIcon-container"],[1,"serviceGroup-groupTitles-container"],[1,"row","serviceGroup-title-container","m-0","p-0"],[1,"col","col-12","serviceGroup-title","mdc-typography--subtitle2","m-0","p-0"],[1,"col","col-12","serviceGroup-subtitle","mdc-typography--caption","m-0","p-0"],[1,"row","serviceGroup-groupServices-container"],[1,"col","service-container","px-2"],[3,"service","product"],[1,"col-auto","col-sm-6","service-container","px-2"]],template:function(e,n){e&1&&(a(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),_(4,"span"),c(),a(5,"div",4)(6,"div",5)(7,"div",6),m(8),c(),a(9,"div",7),m(10),c()()()()(),a(11,"div",8),p(12,rl,2,0),p(13,cl,2,0),c()()),e&2&&(o(4),Le(n.serviceGroup==null?null:n.serviceGroup.groupIcon),o(4),x(" ",n.serviceGroup==null?null:n.serviceGroup.groupTitle," "),o(2),x(" ",n.serviceGroup==null?null:n.serviceGroup.groupSubTitle," "),o(2),u((n.serviceGroup==null?null:n.serviceGroup.services.length)==1?12:-1),o(),u((n.serviceGroup==null?null:n.serviceGroup.services.length)>1?13:-1))},dependencies:[Ka],styles:["[_ngcontent-%COMP%]:root{margin:10px auto}.serviceGroup-container[_ngcontent-%COMP%]{margin:0 auto 30px;background:#fff;box-shadow:0 14px 24px #00000014;border-radius:24px}.serviceGroup-groupHeader-container[_ngcontent-%COMP%]{padding:20px 34px}.serviceGroup-groupServices-container[_ngcontent-%COMP%]{padding:0 24px 20px}.serviceGroup-header-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:flex;align-items:center}.serviceGroup-title[_ngcontent-%COMP%]{color:#000000de}.serviceGroup-groupTitles-container[_ngcontent-%COMP%]{width:90%}.serviceGroup-subtitle[_ngcontent-%COMP%]{font-family:var(--mdc-typography-font-family);font-weight:600;color:#000000a3}.serviceGroup-groupIcon-container[_ngcontent-%COMP%]{margin-right:12px;font-size:24px}.service-container[_ngcontent-%COMP%]{margin:20px 0 0;width:100%}@media screen and (max-width:1080px){.serviceGroup-groupServices-container[_ngcontent-%COMP%]{padding:0 10px}.serviceGroup-groupHeader-container[_ngcontent-%COMP%]{padding:20px 24px}.service-container[_ngcontent-%COMP%]{margin:0 auto 16px}.serviceGroup-groupTitles-container[_ngcontent-%COMP%]{width:85%}}"]});var Ao=mi;function ll(i,t){if(i&1&&_(0,"app-reusable-product-services-specifications-group",3),i&2){let e=t.$implicit,n=l();s("serviceGroup",e)("product",n.product)}}var gi=class gi{constructor(t,e){this.renderer=t;this.document=e;
1this.directiveScroll=new G;this.title="\u03A5\u03C0\u03B7\u03C1\u03B5\u03C3\u03AF\u03B5\u03C2"}ngOnInit(){}onScroll(t){this.directiveScroll.emit(t)}onClick(t){let e="section-checked",n=t.attributes.getNamedItem("id")?.nodeValue;if(n){let r=this.document.getElementById(n);r?.classList.contains(e)?this.renderer.removeClass(r,e):this.renderer.addClass(r,e)}}};gi.\u0275fac=function(e){return new(e||gi)(g(Je),g(ie))},gi.\u0275cmp=M({type:gi,selectors:[["app-reusable-product-services-specifications"]],inputs:{product:"product",scrollingElement:"scrollingElement",serviceGroups:"serviceGroups"},outputs:{directiveScroll:"directiveScroll"},decls:5,vars:2,consts:[["scrolledToElement","detectScroll"],["id","reusable-product-services-specifications","tabId","reusable-product-services-specifications","detectScroll","",3,"scrolledTo","title","scrollingElement"],[1,"content"],[3,"serviceGroup","product"]],template:function(e,n){if(e&1){let r=P();a(0,"app-mdc-accordion",1,0),h("scrolledTo",function(b){return C(r),v(n.onScroll(b))}),a(2,"div",2),I(3,ll,1,2,"app-reusable-product-services-specifications-group",3,N),c()()}e&2&&(s("title",n.title)("scrollingElement",n.scrollingElement),o(3),B(n.serviceGroups))},dependencies:[he,ce,Ao],encapsulation:2});var Vo=gi;var sl=i=>({"row-table--last":i}),dl=i=>({selector:"a",attributeName:"rel",attributeValue:i}),pl=i=>[i];function ul(i,t){if(i&1&&(a(0,"div",13),m(1),y(2,"date"),c()),i&2){let e=l(2).$implicit;o(),x(" ",De(2,1,e==null||e.values==null?null:e.values.join(", "),"dd/MM/YYYY")," ")}}function ml(i,t){if(i&1&&(a(0,"div",13)(1,"a",14),m(2),c()()),i&2){let e=l(3).$implicit,n=l(3);o(),s("routerLink",e.link)("queryParams",e.params)("attributeData",O(6,pl,O(4,dl,n.seoRobots))),o(),E(e==null||e.values==null?null:e.values.join())}}function gl(i,t){if(i&1&&(a(0,"div",13),m(1),c()),i&2){let e=l(3).$implicit;o(),x(" ",e==null||e.values==null?null:e.values.join(", ")," ")}}function _l(i,t){if(i&1&&(p(0,ml,3,8,"div",13),p(1,gl,2,1,"div",13)),i&2){let e=l(2).$implicit;u(!(e==null||e.values==null)&&e.values.length&&e.link?0:-1),o(),u(!(e==null||e.values==null)&&e.values.length&&!e.link?1:-1)}}function fl(i,t){if(i&1&&(a(0,"div",12)(1,"strong"),m(2),c()(),p(3,ul,3,4,"div",13)(4,_l,2,2)),i&2){let e=l().$implicit;o(2),x("",e==null?null:e.displayName,":"),o(),u(e!=null&&e.date?3:4)}}function hl(i,t){if(i&1&&m(0),i&2){let e=l(2).$implicit;x(" ",e," ")}}function Cl(i,t){if(i&1&&m(0),i&2){let e=l(2).$implicit;x(" ",e,", ")}}function vl(i,t){if(i&1&&(a(0,"a",15),p(1,hl,1,1)(2,Cl,1,1),c()),i&2){let e=l(),n=e.$index,r=e.$count,d=l().$implicit;s("href",d,H)("routerLink",d),o(),u(n===r-1?1:2)}}function bl(i,t){if(i&1&&p(0,vl,3,3,"a",15),i&2){let e=t.$index,n=l().$index;u(n==e?0:-1)}}function Pl(i,t){if(i&1&&I(0,bl,1,1,null,null,N),i&2){let e=l(2).$implicit;B(e.values)}}function xl(i,t){if(i&1&&(a(0,"div",12)(1,"strong"),m(2),c()(),a(3,"div",13),I(4,Pl,2,0,null,null,N),c()),i&2){let e=l().$implicit;o(2),E(e.displayName),o(2),B(e.urls)}}function yl(i,t){if(i&1&&(p(0,fl,5,2),p(1,xl,6,1)),i&2){let e=t.$implicit;u(e.displayName&&!(e.urls!=null&&e.urls.length)?0:-1),o(),u(e.displayName&&(e.urls!=null&&e.urls.length)?1:-1)}}function Sl(i,t){if(i&1&&(a(0,"div",11),I(1,yl,2,2,null,null,N),c()),i&2){let e=t.$implicit,n=t.$index,r=l().$implicit;s("ngClass",O(1,sl,n+1===r.skuSpecs.length)),o(),B(e)}}function Ml(i,t){if(i&1){let e=P();a(0,"div",5,1),_(2,"input",6),a(3,"div",7),h("click",function(){C(e);let r=Q(1),d=l();return v(d.onClick(r))}),_(4,"span",8),a(5,"label",9)(6,"strong"),m(7),c()()()(),a(8,"div",10),I(9,Sl,3,3,"div",11,N),c()}if(i&2){let e=t.$implicit,n=t.$index;s("id","table-head-"+n),o(2),s("id","check-"+n),o(3),s("for",Te("check-"+n)),o(2),E(e.displayName),o(2),B(e.skuSpecs)}}var _i=class _i{constructor(t,e,n){this.document=t;this.renderer=e;this.ssrService=n;this.directiveScroll=new G;this.title="\u03A7\u03B1\u03C1\u03B1\u03BA\u03C4\u03B7\u03C1\u03B9\u03C3\u03C4\u03B9\u03BA\u03AC";this.seoRobots="";this.isCyprus=!1;this.isCyprus=F.cyprus}ngAfterViewInit(){}ngOnInit(){this.product&&this.product.sku.sections&&!this.ssrService.isSsrBrowser()&&this.product.sku.sections.forEach(t=>{t.skuSpecs?.map(n=>(n.displayName?.includes("\u03A3\u03C5\u03B3\u03B3\u03C1\u03B1\u03C6")&&this.product.author?.personsId&&(this.seoRobots=this.isCyprus?"nofollow":"",n.link="/authors/"+this.product.author?.fullName+"/"+this.product.author?.personsId),n.displayName?.includes("\u0395\u03BA\u03B4\u03CC\u03C4\u03B7\u03C2")&&(n.link="/search",n.params={q:n.values?.join(),facetFilters:decodeURIComponent('%5B%5B"childSkus.hierarchicalCategories.lvl0:\u03B2\u03B9\u03B2\u03BB\u03AF\u03B1%20%26%20\u03BA\u03CC\u03BC\u03B9\u03BA\u03C2\xB7ic-books"%5D%5D')}),n.displayName?.includes("\u039A\u03B1\u03C4\u03B7\u03B3\u03BF\u03C1\u03AF\u03B1")&&(n.link=this.product.breadcrumb?this.product.breadcrumb[this.product.breadcrumb.length-2]?.url:""),n.displayName?.includes("\u0397\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u03BA\u03C5\u03BA\u03BB\u03BF\u03C6\u03BF\u03C1\u03AF\u03B1\u03C2")&&(n.date=!0),n?.values?.length&&this.checkSpecificSpecs(n?.displayName)&&(n.values=this.fixSpecValues(n)),n));var e=[];for(let n=0,r=t.skuSpecs?.length,d=2;n<r;n+=d)e.push(t.skuSpecs.slice(n,n+d));t.skuSpecs=[...e]})}ngOnChanges(){}onScroll(t){this.directiveScroll.emit(t)}onClick(t){let e="section-checked",n=t.attributes.getNamedItem("id")?.nodeValue;if(n){let r=this.document.getElementById(n);r?.classList.contains(e)?this.renderer.removeClass(r,e):this.renderer.addClass(r,e)}}fixSpecValues(t){return t.values?.map(n=>n.replaceAll(",",", ").replaceAll("|",", ").replaceAll("~"," "))}checkSpecificSpecs(t){return!(t.includes("\u039A\u03B1\u03C4\u03B1\u03BD\u03AC\u03BB\u03C9\u03C3\u03B7 \u0395\u03BD\u03AD\u03C1\u03B3\u03B5\u03B9\u03B1\u03C2")||t.includes("\u039A\u03B1\u03C4\u03B1\u03BD\u03AC\u03BB\u03C9\u03C3\u03B7 \u03BD\u03B5\u03C1\u03BF\u03CD")||t.includes("\u039C\u03AD\u03B3\u03B9\u03C3\u03C4\u03B7 \u0391\u03C0\u03BF\u03C1\u03C1\u03BF\u03C6\u03B7\u03C4\u03B9\u03BA\u03CC\u03C4\u03B7\u03C4\u03B1")||t.includes("\u039C\u03AD\u03B3\u03B9\u03C3\u03C4\u03BF\u03C2 \u03A1\u03C5\u03B8\u03BC\u03CC\u03C2 \u03A1\u03BF\u03AE\u03C2")||t.includes("\u0397\u03BC\u03B5\u03C1/\u03BD\u03AF\u03B1 \u03AD\u03BA\u03B4\u03BF\u03C3\u03B7\u03C2")||t.includes("\u0394\u03B9\u03B1\u03C3\u03C4\u03AC\u03C3\u03B5\u03B9\u03C2")||t.includes("\u03A7\u03C1\u03BF\u03BD\u03BF\u03BB\u03BF\u03B3\u03AF\u03B1 \u03AD\u03BA\u03B4\u03BF\u03C3\u03B7\u03C2")||t.includes("\u0392\u03BF\u03BB\u03AE \u03B1\u03C4\u03BC\u03BF\u03CD")||t.includes("\u03A0\u03B1\u03C1\u03B1\u03B3\u03C9\u03B3\u03AE \u03B1\u03C4\u03BC\u03BF\u03CD"))}};_i.\u0275fac=function(e){return new(e||_i)(g(ie),g(Je),g(Wt))},_i.\u0275cmp=M({type:_i,selectors:[["app-reusable-product-specifications"]],inputs:{product:"product",scrollingElement:"scrollingElement"},outputs:{directiveScroll:"directiveScroll"},features:[q],decls:6,vars:2,consts:[["scrolledToElement","detectScroll"],["tpl",""],["id","reusable-product-specifications","tabId","reusable-product-specifications","detectScroll","",3,"scrolledTo","title","scrollingElement"],[1,"content"],[1,"table"],[1,"row-table","row-table--head","section-checked",3,"id"],["type","checkbox","checked","",3,"id"],[1,"section-header",3,"click"],[1,"section-icon","ic-generic-icon"],[1,"section-label","mdc-typography--body1",3,"for"],[1,"section-content"],[1,"row","row-table",3,"ngClass"],[1,"col","col-5","col-lg-2","mdc-typography--body2"],[1,"col","col-7","col-lg-4","mdc-typography--body2"],[1,"pbc-link-button","pbc-l
1ink-button--tertiary",3,"routerLink","queryParams","attributeData"],[1,"spec-target",3,"href","routerLink"]],template:function(e,n){if(e&1){let r=P();a(0,"app-mdc-accordion",2,0),h("scrolledTo",function(b){return C(r),v(n.onScroll(b))}),a(2,"div",3)(3,"div",4),I(4,Ml,11,5,null,null,N),c()()()}e&2&&(s("title",n.title)("scrollingElement",n.scrollingElement),o(4),B(n.product==null||n.product.sku==null?null:n.product.sku.sections))},dependencies:[he,ce,j,Mt,nt,aa],styles:['@charset "UTF-8";@media screen{.row.row-table[_ngcontent-%COMP%] > .col[_ngcontent-%COMP%]{padding:10px!important;min-height:64px;font-size:16px}.table[_ngcontent-%COMP%]{margin:0}[_nghost-%COMP%] .row.row-table[_ngcontent-%COMP%] > .col[_ngcontent-%COMP%]{height:auto!important}}[_nghost-%COMP%]{--border-radious-size: 1rem}@media(max-width:819.98px){[_nghost-%COMP%] .row.row-table[_ngcontent-%COMP%] > .col[_ngcontent-%COMP%]{font-size:14px}}[_nghost-%COMP%] .table[_ngcontent-%COMP%]{background-color:#fff;border-radius:var(--border-radious-size);filter:drop-shadow(0px 14px 24px rgba(0,0,0,.05))}[_nghost-%COMP%] .row.row-table[_ngcontent-%COMP%] > .col[_ngcontent-%COMP%]{color:#000;padding:16px 32px;display:flex;flex-direction:row;align-items:center;min-height:71px;height:auto}@media(max-width:1359.98px){[_nghost-%COMP%] .row.row-table[_ngcontent-%COMP%] > .col[_ngcontent-%COMP%]:not(:nth-last-child(1)):not(:nth-last-child(2)){border-bottom:1px solid rgba(0,0,0,.12)}}[_nghost-%COMP%] .row-table--head[_ngcontent-%COMP%]{background-color:#ffd4b0}[_nghost-%COMP%] .row-table--head[_ngcontent-%COMP%]:first-of-type{border-radius:var(--border-radious-size) var(--border-radious-size) 0 0}[_nghost-%COMP%] .section-header[_ngcontent-%COMP%]{display:flex;padding:1rem;cursor:pointer}[_nghost-%COMP%] .section-header[_ngcontent-%COMP%] .section-icon[_ngcontent-%COMP%]{margin-right:.5rem}[_nghost-%COMP%] .section-header[_ngcontent-%COMP%] .section-label[_ngcontent-%COMP%]{display:flex;justify-content:space-between;flex-grow:1;cursor:inherit}[_nghost-%COMP%] .section-header[_ngcontent-%COMP%] .section-label[_ngcontent-%COMP%]:after{content:"\\276f";width:1em;height:1em;text-align:center;transform:rotate(90deg);transition:all .35s}[_nghost-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{position:absolute;opacity:0;z-index:-1}[_nghost-%COMP%] .section-checked[_ngcontent-%COMP%] .section-label[_ngcontent-%COMP%]:after{transform:rotate(-90deg)}[_nghost-%COMP%] .section-checked[_ngcontent-%COMP%] + .section-content[_ngcontent-%COMP%]{display:block}[_nghost-%COMP%] .section-content[_ngcontent-%COMP%]{display:none;transition:all .35s}[_nghost-%COMP%] section[_ngcontent-%COMP%]{padding:24px 0}@media(max-width:819.98px){[_nghost-%COMP%] section[_ngcontent-%COMP%]{margin:0 -16px}}[_nghost-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{margin-bottom:16px}[_nghost-%COMP%] section[_ngcontent-%COMP%] .spec-target[_ngcontent-%COMP%]{text-decoration:none}'],changeDetection:0});var Fo=_i;var Ol=i=>({"book-content":i});function wl(i,t){if(i&1&&(_(0,"div",2),y(1,"byPassSecurity")),i&2){let e=l();s("ngClass",O(5,Ol,e.isBook))("innerHTML",De(1,2,e.content,e.SafeReturnType.Html),le)}}function kl(i,t){if(i&1&&_(0,"div",3),i&2){let e=l();s("innerHTML",e.content,le)}}var fi=class fi{constructor(t,e,n){this.document=t;this.platformId=e;this.domSanitizer=n;this.hasTextManual=!1;this.hasProposition=!1;this.directiveScroll=new G;this.title="";this.content="";this.tips=[];this.isBook=!1;this.isBrowser=K(this.platformId);this.startOpen=!1}get SafeReturnType(){return st}ngOnInit(){this.setContent()}ngAfterViewInit(){this.isBook=this.product.sku?.hierarchy.slice(0,4)==="7101",this.title=this.getTitle(),this.setupComparisonBars(),this.setupHotspotClickHandlers()}ngOnChanges(t){t?.product?.currentValue?.id!==t?.product?.previousValue?.id&&this.setContent()}onScroll(t){this.directiveScroll.emit(t)}getTitle(){return this.hasTextManual?"\u0397 \u03C0\u03C1\u03CC\u03C4\u03B1\u03C3\u03AE \u03BC\u03B1\u03C2":this.isBook?"\u03A3\u03CD\u03BD\u03BF\u03C8\u03B7 \u03B2\u03B9\u03B2\u03BB\u03AF\u03BF\u03C5":"\u0391\u03BD\u03B1\u03BB\u03C5\u03C4\u03B9\u03BA\u03AE \u03A0\u03B5\u03C1\u03B9\u03B3\u03C1\u03B1\u03C6\u03AE"}setupComparisonBars(){let t=this.document.getElementsByClassName("comparison-score"),e=this.document.getElementsByClassName("comparison-bar");for(let n=0;n<t.length;n++){if(!e[n].className.includes("score-")){let d=(10*parseInt(t[n].innerHTML)).toString();e[n].classList.add(`score-${t[n].innerHTML}`);let b=e[n];b.style.backgroundColor="#ffa836",b.style.width=`${d}%`}e[n].parentNode.classList.forEach(d=>{if(!d.includes("comparison-bar-container")){var b=document.createElement("div");
1b.className="comparison-bar-container";let w=e[n];e[n].replaceWith(b),b.appendChild(w)}})}}setupHotspotClickHandlers(){this.document.querySelectorAll(".hotspots li").forEach(e=>{e.addEventListener("click",n=>{this.handleHotspotClick(n.target)})})}handleHotspotClick(t){t.classList.toggle("active"),Array.from(t.parentElement.querySelectorAll("li")).filter(b=>b!==t).forEach(b=>{b.classList.remove("active","open-right","open-left","open-center")});let n=t.closest(".hotspots-wrapper").getBoundingClientRect().width,r=n/2,d=t.offsetLeft;d>n*.6?t.classList.add("open-right"):d>r*.8&&d<r*1.2?t.classList.add("open-center"):t.classList.add("open-left")}setContent(){let t;if(this.hasTextManual?(this.startOpen=!0,t=this.product?.sku?.textManual):(this.startOpen=!this.hasProposition,t=this.product?.sku?.freeHtml?this.product.sku.freeHtml:this.product?.sku?.longDescription),t?.changingThisBreaksApplicationSecurity&&(t=t.changingThisBreaksApplicationSecurity),this.content=t,!this.isBrowser&&typeof this.content=="object"){let e=this.content.changingThisBreaksApplicationSecurity?.changingThisBreaksApplicationSecurity;e&&(this.content=structuredClone(e))}}};fi.\u0275fac=function(e){return new(e||fi)(g(ie),g(X),g(Ie))},fi.\u0275cmp=M({type:fi,selectors:[["app-reusable-product-information"]],inputs:{product:"product",hasTextManual:"hasTextManual",hasProposition:"hasProposition",scrollingElement:"scrollingElement"},outputs:{directiveScroll:"directiveScroll"},features:[q],decls:4,vars:6,consts:[["scrolledToElement","detectScroll"],["detectScroll","",1,"reusable-product-information",3,"scrolledTo","title","startOpen","tabId","scrollingElement"],[1,"content","clearfix","content-card",3,"ngClass","innerHTML"],[1,"content","clearfix","content-card",3,"innerHTML"]],template:function(e,n){if(e&1){let r=P();a(0,"app-mdc-accordion",1,0),h("scrolledTo",function(b){return C(r),v(n.onScroll(b))}),p(2,wl,2,7,"div",2)(3,kl,1,1,"div",3),c()}e&2&&(s("title",n.title)("startOpen",n.startOpen)("tabId",n.hasTextManual?"reusable-product-text-manual":"reusable-product-information")("scrollingElement",n.scrollingElement),R("id",n.hasTextManual?"reusable-product-text-manual":"reusable-product-information"),o(2),u(n.isBrowser?2:3))},dependencies:[he,ce,j,dt],styles:[`.product__description p.gamesHeader.synopsis{display:none}#reusable-product-information{border:0;margin:0}#reusable-product-information .content .quick-info{float:left;width:100%}#reusable-product-information .content .quick-info-left{float:left;width:60%;padding-right:20px}#reusable-product-information .content .tech-specs-header{margin:0;padding:20px 0;clear:both}#reusable-product-information .content .more-info-slider-desc-dlife{margin:10px 0;font-size:14px;line-height:20px}#reusable-product-information .content .quick-info-right-image img{max-width:100%!important}#reusable-product-information .content .more-info-right-row-image img{max-width:100%;height:auto!important}#reusable-product-information .tech-specs-header:after{display:block;content:"";height:10px;background:#edf2f5;margin-top:-17px}#reusable-product-information .content h2{font-size:24px!important;font-family:var(--mdc-typography-font-family);font-weight:600;line-height:21px;margin:0;background:#fff;display:inline-block;padding-right:20px;letter-spacing:-1px}#reusable-product-information .content ul{margin:5px 0 0 15px}#reusable-product-information .content li{font-family:var(--mdc-typography-font-family);font-weight:400;font-size:14px;line-height:22px;list-style-type:circle}#reusable-product-information .content li b{font-weight:400}#reusable-product-information .content.book-content p{font-size:16px}#reusable-product-information .content p{font-family:var(--mdc-typography-font-family);font-size:14px;font-weight:400;line-height:20px;margin:5px auto}#reusable-product-information .content p strong{font-family:var(--mdc-typography-font-family);font-weight:700}#reusable-product-information .content .h3-grey{color:#9fa3a6}#reusable-product-information .content .quick-info-right{float:right;width:40%;height:100%;margin-top:28px}#reusable-product-information .content .quick-info-right-info-images{width:100%;margin-top:10px;min-height:45px}#reusable-product-information .content .quick-info-right-info-images img{height:40px!important}#reusable-product-information .content .quick-characteristics{float:left;width:100%;height:39px;margin:20px 0 30px;background-color:#eee}#reusable-product-information .content .quick-characteristics-left{float:left;color:#595959;font-size:10px;margin:0;display:table;height:40px;padding:5px}#reusable-product-information .content .quick-characteristics-left img{float:left;margin:0 5px}#reusable-product-information .content .quick-characteristics-left p{margin:6px 5px;line-height:19px;width:auto;font-size:12px;vertical-align:middle;display:table-cell}#reusable-product-information .content .tech-specs{float:left;width:100%}#reusable-product-information .content .tech-specs-row-left{float:left;width:100%;margin:0}#reusable-product-information .content .tech-specs-row-left .tech-specs-right-container-row-desc h3,#reusable-product-information .content .tech-specs-row-right .tech-specs-left-container-row-desc h3{font-size:15px;font-weight:400;color:#3a3a3a;margin:0 0 5px}#reusable-product-information .content .tech-specs-row-left .left-image{float:left;height:100%;width:30%;text-align:center}#reusable-product-information .content .tech-specs-row-left .left-image img{padding-left:10px;max-width:100%;height:auto!important}#reusable-product-information .content .tech-specs-row-left .tech-specs-right-container{float:left;width:70%}#reusable-product-information .content .tech-specs-row-left .tech-specs-right-container-row{float:left;margin-bottom:35px}#reusable-product-information .content .tech-specs-row-left .tech-specs-right-container-row-image{float:left}#reusable-product-information .content .tech-specs-row-left .tech-specs-right-container-row-desc{float:left;width:80%;margin-left:15px}#reusable-product-information .content .tech-specs-row-left .tech-specs-right-container-row-desc span,#reusable-product-information .content .tech-specs-row-right .tech-specs-right-container-row-desc span{font-size:14px!important}#reusable-product-information .content .tech-specs-row-right{float:left;width:100%;margin-bottom:0}#reusable-product-information .content .tech-specs-row-right .tech-specs-left-container{float:left;width:70%}#reusable-product-information .content .tech-specs-row-right .tech-specs-left-container-row{float:left;margin-bottom:35px}#reusable-product-information .content .tech-specs-row-right .tech-specs-left-container-row-desc{float:left;width:80%;margin-right:15px}#reusable-product-information .content .tech-specs-row-right .tech-specs-left-container-row-image{float:left}#reusable-product-information .content .tech-specs-row-right .right-image{float:left;height:100%;width:30%;text-align:center}#reusable-product-information .content .tech-specs-row-right .right-image img{padding:20px 0 20px 20px;max-width:100%}#reusable-product-information .content .more-info,#reusable-product-information .content .more-info-left-row{float:left;width:100%}#reusable-product-information .content .more-info-left-row h3{float:left;width:100%;color:#161616;font-size:18px;margin-bottom:20px;margin-top:0;font-weight:400}#reusable-product-information .content .more-info-left-row-image{float:left;width:30%;text-align:center;overflow:hidden}#reusable-product-information .content .more-info-left-row-text{float:left;width:70%;padding-left:25px;color:#282828;box-sizing:border-box;font-size:14px;line-height:20px}#reusable-product-information .content .more-info-right-row{float:left;width:100%;margin:25px 0}#reusable-product-information .content .more-info-right-row h3{float:left;width:100%;color:#161616;font-size:18px;margin-bottom:18px;font-weight:400}#reusable-product-information .content .more-info-right-row-text{float:left;width:70%;padding-right:25px;color:#282828;font-size:14px;line-height:20px}#reusable-product-information .content .more-info-right-row-image{float:left;width:30%;text-align:center}#reusable-product-information .content #comparison-table{margin-top:0}#reusable-product-information .content #comparison-table .comparison-metric{padding:20px 0}#reusable-product-information .content .comparison-metric img{width:100%}#reusable-product-information .content .comparison-item-row{position:relative;margin-bottom:20px;background:url(//webstorage.public.gr/media/product-page/besco-row-bg-gradient.jpg) 0 0 transparent no-repeat;width:100%;clear:both;height:60px}#reusable-product-information .content .comparison-score{position:absolute;right:5px;font-weight:400;top:3px}#reusable-product-information .content .comparison-item-row img{float:left;padding-left:10px}#reusable-product-information .content .comparison-label{font-weight:400;color:#515151;font-size:90%;padding-top:10px;position:relative;float:left;padding-left:8px}#reusable-product-information .content .trailer{background:url(//media.public.gr/games/static/trailer-bg.jpg) no-repeat 0 0 transparent;padding:8% 10px 12px;margin:0 0 30px;background-size:cover}#reusable-product-information .content .comparison-bar-container{width:90%;height:15px;float:left;background-color:#eee;box-shadow:2px 2px 2px #ccc;margin-left:8px;-webkit-box-shadow:2px 2px 2px #ccc}#reusable-product-information .content #comparison-table .score-1{background-color:#ffcd36;width:10%}#reusable-product-information .content #comparison-table .score-2{background-color:#ffcd36;width:20%}#reusable-product-information .content #comparison-table .score-3{background-color:#ffcd36;width:30%}#reusable-product-information .content #comparison-table .score-4{background-color:#ffcd36;width:40%}#reusable-product-information .content #comparison-table .score-5{background-color:#ffcd36;width:50%}#reusable-product-information .content #comparison-table .score-6{background-color:#ffcd36;width:60%}#reusable-product-information .content #comparison-table .score-7{background-color:#ffcd36;width:70%}#reusable-product-information .content #comparison-table .score-8{background-color:#ffa836;width:80%}#reusable-product-information .content #comparison-table .score-9{background-color:#ffa836;width:90%}#reusable-product-information .content #comparison-table .score-10{background-color:#ffa836;width:100%}#reusable-product-information .content .comparison-tooltip{position:absolute;right:10px;top:20px}#reusable-product-information .content .quick-characteristics-right{float:right}#reusable-product-information .content .quick-characteristics-right img{float:left;width:30px;height:30px}#reusable-product-information .content .quick-characteristics-right p{float:left;margin:0 10px 0 5px;line-height:33px}#reusable-product-information .content .tech-specs ul{margin:0 0 0 15px}#reusable-product-information .content .tech-specs ul li{font-size:14px;line-height:20px;list-style-type:circle}#reusable-product-information .content .simple-text{font-size:14px;line-height:20px}#reusable-product-information .content .toy-specs-bar ul{margin:10px auto}#reusable-product-information .content .toy-specs-bar ul li{margin:10px auto 5px;font-size:14px}#reusable-product-information .content .gamesHeader.review{background:url(//media.public.gr/games/static/review.png) no-repeat 0 0 transparent;margin-top:25px;min-height:50px;text-indent:-999999px}#reusable-product-information .content .gamesHeader.synopsis{background:url(//media.public.gr/games/static/synopsis.png) no-repeat 0 0 transparent;min-height:50px;text-indent:-9999px}#reusable-product-information #toy-specs-bar{width:100%;height:40px;background-color:#eee;border-radius:10px;position:relative;margin-bottom:20px;margin-top:0}#reusable-product-information #toy-specs-bar ul{list-style:none;margin:0;padding:0 15px}#reusable-product-information .content #toy-specs-bar ul li{float:left;list-style-type:none}#reusable-product-information .content #toy-specs-bar ul{list-style-type:none}#reusable-product-information .content ul li{font-size:13px;margin-bottom:10px}#reusable-product-information .content li{font-size:14px;line-height:22px;list-style-type:disc}#reusable-product-information .content b{font-weight:400}#reusable-product-information .content ul{margin:5px 0 0 20px;padding-left:20px}@media(max-width:768px){#reusable-product-information .content .quick-info-left{float:left;width:100%;padding-right:0}#reusable-product-information .content .quick-info-right{float:right;width:100%;height:100%;margin-top:0}#reusable-product-information .content .tech-specs-row-left .left-image{height:100%;width:100%}#reusable-product-information .content .tech-specs-row-left .tech-specs-right-container{float:left;width:100%}#reusable-product-information .content .tech-specs-row-left .tech-specs-right-container-row-desc{float:left;width:100%;margin-left:0}#reusable-product-information .content .tech-specs-row-right .tech-specs-left-container{float:left;width:100%}#reusable-product-information .content .tech-specs-row-right .right-image{float:left;height:100%;width:100%;text-align:center}#reusable-product-information .content .more-info-left-row-image{float:left;width:100%;text-align:center;overflow:hidden}#reusable-product-information .content .more-info-left-row-text{float:left;width:100%;padding-left:0;color:#282828;box-sizing:border-box;font-size:14px;line-height:20px}#reusable-product-information .content .more-info-right-row-text{float:left;width:100%;padding-right:0;color:#282828;font-size:14px;line-height:20px}#reusable-product-information .content .more-info-right-row-image{float:left;width:100%;text-align:center;margin-top:15px}#reusable-product-information .content .tech-specs-row-right .tech-specs-left-container-row{float:left;margin-bottom:35px;display:flex;flex-direction:column-reverse}#reusable-product-information .content .tech-specs-row-right{float:left;width:100%;margin-bottom:0;display:flex;flex-direction:column-reverse}#reusable-product-information .content .quick-characteristics-left p{font-size:11px}#reusable-product-information .content .quick-characteristics-left p strong{font-weight:400}#reusable-product-information .content .quick-characteristics-left img{max-width:100%;height:auto;vertical-align:middle;float:none;margin:0}#reusable-product-information .content .quick-characteristics-left{display:inline-flex;flex-wrap:wrap;height:auto}#reusable-product-information .content .quick-characteristics{height:auto}#reusable-product-information .content .trailer{margin-top:50px}}.reusable-product-information{padding:24px 0}.reusable-product-information header{margin-bottom:16px}.reusable-product-information iframe{width:100%;max-width:100%;overflow:hidden}.reusable-product-information .content{line-height:24px}.reusable-product-information img{max-width:100%}.content-card{max-width:100%;overflow:hidden;background:#fff;box-shadow:0 14px 24px #0000000d;border-radius:16px;padding:16px;filter:drop-shadow(0px 14px 24px rgba(0,0,0,.1));margin:0px clamp(0px,0%,3rem) 1rem} 2`],encapsulation:2});var No=fi;var Il=(i,t)=>({open:i,closed:t}),Bl=(i,t)=>
2({"ic-arrow-top":i,"ic-arrow-bottom":t});function Tl(i,t){if(i&1){let e=P();a(0,"div",12)(1,"button",14),h("click",function(){let r=C(e).$index,d=l(3);return v(d.percentageSelected(r))}),_(2,"img",15),m(3),c()()}if(i&2){let e=t.$implicit,n=t.$index,r=l(3);o(2),s("ngClass",r.percentageClicked===n+1?"show":"hide"),o(),x(" ",e,"% ")}}function Dl(i,t){if(i&1&&(a(0,"div",13)(1,"div",16)(2,"div")(3,"span"),m(4,"\u03A4\u03B9\u03BC\u03AE \u03C3\u03C5\u03C3\u03BA\u03B5\u03C5\u03AE\u03C2 \u03BC\u03B5 \u03B5\u03C0\u03B9\u03B4\u03CC\u03C4\u03B7\u03C3\u03B7:"),c()(),a(5,"div",17),_(6,"app-product-price",18),c()(),a(7,"div",19)(8,"div")(9,"span"),m(10,"\u03A0\u03BF\u03C3\u03CC \u0395\u03C0\u03B9\u03B4\u03CC\u03C4\u03B7\u03C3\u03B7\u03C2:"),c()(),a(11,"div",17),_(12,"app-product-price",18),c()()()),i&2){let e=l(3);o(6),s("productPriceInfo",e.finalPrice)("size","large"),o(6),s("productPriceInfo",e.epidothsh)("size","large")}}function Rl(i,t){if(i&1&&(a(0,"div",9)(1,"div",10),m(2),c(),a(3,"div",11),I(4,Tl,4,2,"div",12,N),c(),p(6,Dl,13,4,"div",13),c()),i&2){let e=l(2);o(2),x(" ",e.contentTitle," "),o(2),B(e.discountPercentages),o(2),u(e.percentageClicked?6:-1)}}function El(i,t){if(i&1){let e=P();a(0,"section",0)(1,"div",1)(2,"div",2),h("click",function(){C(e);let r=l();return v(r.toggleCollapsible())}),a(3,"div",3),_(4,"img",4),c(),a(5,"div",5)(6,"p",6),m(7),a(8,"span"),m(9),c()()(),a(10,"div",7),_(11,"div",8),c()(),p(12,Rl,7,2,"div",9),c()()}if(i&2){let e=l();o(),s("ngClass",ge(8,Il,e.toggled,!e.toggled)),o(3),s("src",Te(e.logoUrl),H),o(3),x(" ",e.title),o(2),E(e.subTitle),o(2),s("title","toggle section arrow")("ngClass",ge(11,Bl,e.toggled,!e.toggled)),o(),u(e.toggled?12:-1)}}var hi=class hi{constructor(t){this.document=t;this.initialPrice=0;this.category="";this.logoUrl="./assets/images/eksikonomo.png";this.title="\xAB\u0391\u03BD\u03B1\u03BA\u03C5\u03BA\u03BB\u03CE\u03BD\u03C9 - \u0391\u03BB\u03BB\u03AC\u03B6\u03C9 \u03A3\u03C5\u03C3\u03BA\u03B5\u03C5\u03AE\xBB - ";this.subTitle="\u03A5\u03C0\u03BF\u03BB\u03CC\u03B3\u03B9\u03C3\u03B5 \u03C4\u03BF \u03C0\u03BF\u03C3\u03CC \u03C4\u03B7\u03C2 \u03B5\u03C0\u03B9\u03B4\u03CC\u03C4\u03B7\u03C3\u03B7\u03C2";this.contentTitle="\u03A0\u03BF\u03B9\u03BF \u03B5\u03AF\u03BD\u03B1\u03B9 \u03C4\u03BF \u03C4\u03B5\u03BB\u03B9\u03BA\u03CC \u03C0\u03BF\u03C3\u03CC \u03C0\u03BF\u03C5 \u03B4\u03B9\u03BA\u03B1\u03B9\u03BF\u03CD\u03C3\u03B1\u03B9 \u03B3\u03B9\u03B1 \u03B1\u03C5\u03C4\u03AE\u03BD \u03C4\u03B7 \u03C3\u03C5\u03C3\u03BA\u03B5\u03C5\u03AE; \u0395\u03C0\u03AF\u03BB\u03B5\u03BE\u03B5 \u03C4\u03BF \u03C0\u03BF\u03C3\u03BF\u03C3\u03C4\u03CC \u03B5\u03C0\u03B9\u03B4\u03CC\u03C4\u03B7\u03C3\u03B7\u03C2 \u03C0\u03BF\u03C5 \u03B1\u03BD\u03B1\u03B3\u03C1\u03AC\u03C6\u03B5\u03C4\u03B1\u03B9 \u03C3\u03C4\u03BF voucher \u03C0\u03BF\u03C5 \u03AD\u03C7\u03B5\u03B9\u03C2.";this.discountPercentages=[30,35,45,50];this.percentageClicked=0;this.toggled=!1;this.finalPrice=0;this.epidothsh=0;this.canShow=!1;this.finalPrice_decimal=0;this.epidothsh_decimal=0}ngOnInit(){}ngOnChanges(){if(this.specs&&this.specs?.length&&this.category&&this.category.toLowerCase().includes("air condition"))for(let t=0;t<this.specs.length;t++)this.specs[t].displayName=="\u039F\u03BD\u03BF\u03BC\u03B1\u03C3\u03C4\u03B9\u03BA\u03AE \u03B1\u03C0\u03CC\u03B4\u03BF\u03C3\u03B7"&&(this.specs[t].values[0]=="9000"||this.specs[t].values[0].includes("9000")||this.specs[t].values[0].includes("9.000")?this.canShow=!0:this.specs[t].values[0]=="12000"||this.specs[t].values[0].includes("12000")||this.specs[t].values[0].includes("12.000")?this.canShow=!0:this.specs[t].values[0]=="18000"||this.specs[t].values[0].includes("18000")||this.specs[t].values[0].includes("18.000")?this.canShow=!0:(this.specs[t].values[0]=="24000"||this.specs[t].values[0].includes("24000")||this.specs[t].values[0].includes("24.000"))&&(this.canShow=!0));(this.category?.toLowerCase().includes("/\u03BA\u03B1\u03C4\u03B1\u03C8\u03CD\u03BA\u03C4\u03B5\u03C2/")||this.category?.toLowerCase().includes("\u03C8\u03C5\u03B3\u03B5\u03AF\u03B1"))&&(this.canShow=!0)}toggleCollapsible(){this.toggled=!this.toggled}percentageSelected(t){if(t+1!==this.percentageClicked){this.percentageClicked=t+1;var e=[.3,.35,.45,.5],n=[[164.52,191.94,246.77,274.19],[193.55,225.81,290.32,322.58],[275.81,321.77,413.71,459.68],[343.55,400.81,515.32,572.58],[205.65,240.32,308.87,342.74],[108.87,127.42,163.71,181.45]],r=0;if(this.category.toLowerCase().includes("air condition"))for(let k=0;k<this.specs.length;k++)this.specs[k].displayName=="\u039F\u03BD\u03BF\u03BC\u03B1\u03C3\u03C4\u03B9\u03BA\u03AE \u03B1\u03C0\u03CC\u03B4\u03BF\u03C3\u03B7"&&(this.specs[k].values[0]=="9000"||this.specs[k].values[0].includes("9000")||this.specs[k].values[0].includes("9.000")?r=0:this.specs[k].values[0]=="12000"||this.specs[k].values[0].includes("12000")||this.specs[k].values[0].includes("12.000")?r=1:this.specs[k].values[0]=="18000"||this.specs[k].values[0].includes("18000")||this.specs[k].values[0].includes("18.000")?r=2:(this.specs[k].values[0]=="24000"||this.specs[k].values[0].includes("24000")||this.specs[k].values[0].includes("24.000"))&&(r=3));else this.category.toLowerCase().includes("/\u03BA\u03B1\u03C4\u03B1\u03C8\u03CD\u03BA\u03C4\u03B5\u03C2/")?r=5:(this.category.toLowerCase().includes("\u03C8\u03C5\u03B3\u03B5\u03AF\u03B1, \u03BA\u03B1\u03C4\u03B1\u03C8\u03CD\u03BA\u03C4\u03B5\u03C2")||this.category.toLowerCase().includes("\u03C8\u03C5\u03B3\u03B5\u03AF\u03B1"))&&(r=4);var d=e[t],b=n[r][t],w=0;this.initialPrice&&(w=this.initialPrice/1.24),this.epidothsh=d*w,this.epidothsh>b&&(this.epidothsh=b),this.finalPrice=(w-this.epidothsh)*1.24,this.epidothsh=this.epidothsh*1.24}}};hi.\u0275fac=function(e){return new(e||hi)(g(ie))},hi.\u0275cmp=M({type:hi,selectors:[["app-product-eksikonomo"]],inputs:{initialPrice:"initialPrice",category:"category",specs:"specs"},features:[q],decls:1,vars:1,consts:[[1,"eksikonomo_section","my-3","my-sm-4"],[1,"eksikonomo_container",3,"ngClass"],[1,"eksikonomo_header",3,"click"],[1,"eksikonomo_logo"],["alt","logo",3,"src"],[1,"eksikonomo_title"],[1,"mdc-typography--subtitle2"],[1,"eksikonomo_arrow"],[3,"title","ngClass"],[1,"eksikonomo_content"],[1,"eksikonomo_content_title","row"],[1,"eksikonomo_choices"],[1,"eksikonomo_choice_pill"],[1,"eksikonomo_results"],[1,"btn","animate","btn_eksikonomo",3,"click"],["src","../../../../assets/images/Vector 69.png","alt","Percentage Checked",1,"eksikonomo_check",3,"ngClass"],[1,"eksikonomo_teliki_timi"],[1,"pricing"],[3,"productPriceInfo","size"],[1,"eksikonomo_epidothsh"]],template:function(e,n){e&1&&p(0,El,13,14,"section",0),e&2&&u(n.canShow?0:-1)},dependencies:[j,Ca],styles:[".eksikonomo_section[_ngcontent-%COMP%]{background-color:#f6f6f6;border-radius:16px;padding:10px;margin-bottom:15px}.eksikonomo_container[_ngcontent-%COMP%]{position:relative;background-color:#fff;border:1px solid #cccccc;border-radius:4px;font-size:14px;font-family:var(--mdc-typography-font-family);font-weight:400;line-height:16px}.eksikonomo_header[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;padding:2px 18px 2px 16px;cursor:pointer}.eksikonomo_logo[_ngcontent-%COMP%]{display:flex}.eksikonomo_logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin:auto}.eksikonomo_title[_ngcontent-%COMP%]{padding:11px;margin-right:auto}.eksikonomo_arrow[_ngcontent-%COMP%]{font-size:12px}.eksikonomo_arrow[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:before{width:100%}.eksikonomo_content[_ngcontent-%COMP%]{overflow:hidden;max-height:0px;transition:max-height 1s ease-in-out}.open[_ngcontent-%COMP%] .eksikonomo_content[_ngcontent-%COMP%]{max-height:700px}.eksikonomo_content_title[_ngcontent-%COMP%]{font-size:14px;line-height:16px;padding:19px 18px;display:flex;align-items:center;margin:auto;width:100%}.eksikonomo_choices[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;justify-content:center;gap:20px;margin-top:20px;padding:0 61px 18px}.eksikonomo_choice_pill[_ngcontent-%COMP%]{width:74px}.eksikonomo_choice_pill[_ngcontent-%COMP%] .clicked[_ngcontent-%COMP%]{border:1px solid var(--main-orange)}.btn_eksikonomo[_ngcontent-%COMP%]{font-size:14px;font-family:var(--mdc-typography-font-family);font-weight:400;line-height:16px;box-sizing:border-box;display:flex;flex-direction:row;justify-content:center;align-items:center;padding:10px;gap:10px;width:100%;height:32px;background:#f7f7f7;border:1px solid #bfbfbf;border-radius:4px;flex:none;order:0;flex-grow:0;margin:auto;color:#000}.eksikonomo_check[_ngcontent-%COMP%]{display:none}.clicked[_ngcontent-%COMP%] .eksikonomo_check[_ngcontent-%COMP%]{display:block}.eksikonomo_results[_ngcontent-%COMP%]{font-family:var(--mdc-typography-font-family);font-weight:700;font-size:14px;margin:27px auto auto;padding:0 38px 36px;line-height:16px}.eksikonomo_results[_ngcontent-%COMP%] .pricing[_ngcontent-%COMP%]{line-height:28px!important;color:var(--main-orange)}.eksikonomo_teliki_timi[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;margin-bottom:29px}.eksikonomo_epidothsh[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.hide[_ngcontent-%COMP%]{display:none}.show[_ngcontent-%COMP%]{display:block}@media(max-width:383px){.eksikonomo_results[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{justify-content:center;flex-direction:column;align-items:center;gap:24px;text-align:center}}@media only screen and (max-width:572px)and (min-width:475px){.eksikonomo_choices[_ngcontent-%COMP%]{width:383px;margin-left:auto;margin-right:auto}}"]});var jo=hi;var Al=["*"],Vl=(i,t)=>
2({"invalid-service":i,"promo-service":t}),Fl=i=>({"background-image":i}),Nl=i=>({"promo-service-container":i}),jl=i=>({"text-left":i}),Ll=i=>({backgroundImage:i}),Gl=(i,t)=>({"disabled w-100":i,"promo-title":t}),zl=i=>({"disabled w-100":i}),Ul=i=>({"disabled-switch":i}),oc=i=>({disabled:i});function $l(i,t){if(i&1&&_(0,"span",3),i&2){let e=l(2);s("ngStyle",O(1,Ll,"url("+(e.service==null?null:e.service.image)+")"))}}function Hl(i,t){if(i&1&&(a(0,"div",10),_(1,"img",11),c(),a(2,"span",5),m(3),c()),i&2){let e=l(2);o(),s("src",e.service.servicePromoLogo,H),o(),s("ngClass",ge(3,Gl,(e.service==null?null:e.service.disable)||(e.service==null?null:e.service.inactive)||(e.service==null?null:e.service.invalid),e.service==null?null:e.service.promoService)),o(),x(" ",e.service.serviceDocumentTitle," ")}}function Wl(i,t){if(i&1&&(a(0,"span",5),m(1),c()),i&2){let e=l(2);s("ngClass",O(2,zl,(e.service==null?null:e.service.disable)||(e.service==null?null:e.service.inactive)||(e.service==null?null:e.service.invalid))),o(),x(" ",!(e.service==null||e.service.serviceSKU==null)&&e.service.serviceSKU.displayName?e.service==null||e.service.serviceSKU==null?null:e.service.serviceSKU.displayName:e.service==null?null:e.service.name," ")}}function Ql(i,t){i&1&&(a(0,"span",6),m(1,"\u0397 \u03C5\u03C0\u03B7\u03C1\u03B5\u03C3\u03AF\u03B1 \u03B4\u03B5\u03BD \u03C5\u03C0\u03BF\u03C3\u03C4\u03B7\u03C1\u03AF\u03B6\u03B5\u03C4\u03B1\u03B9 \u03C3\u03C4\u03B7\u03BD \u03C0\u03B5\u03C1\u03B9\u03BF\u03C7\u03AE \u03C3\u03BF\u03C5"),c())}function ql(i,t){if(i&1&&(a(0,"span",7),m(1," \u0395\u03C0\u03B9\u03B2\u03B5\u03B2\u03B1\u03B9\u03CE\u03BD\u03C9 \u03CC\u03C4\u03B9 \u03AD\u03C7\u03C9 \u03B4\u03B9\u03B1\u03B2\u03AC\u03C3\u03B5\u03B9 & \u03C3\u03C5\u03BC\u03C6\u03C9\u03BD\u03CE \u03BC\u03B5 \u03C4\u03BF\u03C5\u03C2 "),a(2,"a",12),m(3,"\u03CC\u03C1\u03BF\u03C5\u03C2 \u03C7\u03C1\u03AE\u03C3\u03B7\u03C2"),c()()),i&2){let e=l(2);o(2),s("href",e.getSafetyNetTermsUrl(e.service),H)}}function Kl(i,t){if(i&1&&(a(0,"div")(1,"div",19),m(2),y(3,"getInteger"),y(4,"getDecimal"),c(),a(5,"div",13)(6,"strong"),m(7),y(8,"getInteger"),y(9,"getDecimal"),c()()()),i&2){let e=l(3);o(2),ee(" ",S(3,5,e.service==null?null:e.service.listPrice),",",S(4,7,e.service==null?null:e.service.listPrice),"\u20AC "),o(3),s("ngClass",O(13,oc,(e.service==null?null:e.service.disable)||(e.service==null?null:e.service.invalid))),o(2),ee("",S(8,9,e.service==null?null:e.service.salePrice),",",S(9,11,e.service==null?null:e.service.salePrice),"\u20AC")}}function Yl(i,t){if(i&1&&(a(0,"div",13)(1,"strong"),m(2),y(3,"getInteger"),y(4,"getDecimal"),c()()),i&2){let e=l(3);s("ngClass",O(7,oc,(e.service==null?null:e.service.disable)||(e.service==null?null:e.service.inactive)||(e.service==null?null:e.service.invalid))),o(2),ee("",S(3,3,e.service==null?null:e.service.salePrice),",",S(4,5,e.service==null?null:e.service.salePrice),"\u20AC")}}function Zl(i,t){if(i&1){let e=P();p(0,Kl,10,15,"div")(1,Yl,5,9,"div",13),a(2,"div",14)(3,"label",15)(4,"input",16),h("change",function(r){C(e);let d=l(2);return v(d.switchChange(r))}),c(),a(5,"span",17),_(6,"span",18),c()()()}if(i&2){let e=l(2);u(e.showInitialPrice(e.service)?0:1),o(3),s("ngClass",O(4,Ul,(e.service==null?null:e.service.disable)||(e.service==null?null:e.service.invalid)||(e.service==null?null:e.service.inactive))),o(),s("checked",(e.service==null?null:e.service.selected)&&!(e.service!=null&&e.service.invalid))("disabled",(e.service==null?null:e.service.disable)||e.service.invalid||(e.service==null?null:e.service.inactive))}}function Xl(i,t){if(i&1){let e=P();a(0,"app-mdc-icon-button",20),h("click",function(){C(e);let r=l(2);return v(!(r.service!=null&&r.service.invalid)&&!(r.service!=null&&r.service.inactive)&&r.openServiceInfoDialog())}),c()}if(i&2){let e=l(2);s("disabled",(e.service==null?null:e.service.invalid)||(e.service==null?null:e.service.inactive))}}function Jl(i,t){if(i&1&&(a(0,"div",0)(1,"div",1)(2,"div",2),p(3,$l,1,3,"span",3),a(4,"div",4),p(5,Hl,4,6)(6,Wl,2,4,"span",5),p(7,Ql,2,0,"span",6),c()(),p(8,ql,4,1,"span",7),a(9,"div",8),p(10,Zl,7,6),y(11,"async"),p(12,Xl,1,1,"app-mdc-icon-button",9),c()(),xt(13),c()),i&2){let e=l();
2s("ngClass",ge(12,Vl,e.service==null?null:e.service.invalid,e.service.promoService))("ngStyle",O(15,Fl,e.service.promoService?"url("+e.service.serviceBackgroundImage+")":"null")),o(3),u(e.service!=null&&e.service.image?3:-1),o(),s("ngClass",O(17,Nl,e.service.promoService)),o(),u(e.service.promoService&&e.service.servicePromoLogo?5:6),o(2),u(e.service!=null&&e.service.invalid?7:-1),o(),u((e.service==null?null:e.service.serviceType)==="SafetyNet"&&e.page==="cart"&&(e.service!=null&&e.service.selected)&&(e.service!=null&&e.service.safetyNetPDF)?8:-1),o(),s("ngClass",O(19,jl,!e.isMobile())),o(),u(!e.isB2B||e.isB2B&&S(11,10,e.userLoginStatus$)?10:-1),o(2),u(e.service!=null&&e.service.serviceDocument?12:-1)}}var Ci=class Ci{constructor(t){this.sanitizer=t}transform(t){return this.sanitizer.bypassSecurityTrustResourceUrl(t)}};Ci.\u0275fac=function(e){return new(e||Ci)(g(Ie,16))},Ci.\u0275pipe=Xr({name:"safe",type:Ci,pure:!0});var nc=Ci,vi=class vi{constructor(t,e,n,r,d,b,w){this.cdref=t;this.commonService=e;this.dialogService=n;this.sanitizer=r;this.userStore=d;this.deviceService=b;this.productService=w;this.subscriptions=[];this.serviceButtonClicked=!1;this.isValid=!1;this.serviceAlert=!1;this.showMessage=!1;this.formSubmitted=!1;this.isB2B=!1;this.disabled=!1;this.selectService=new G;this.changeSwitch=new G;this.checkAvailabilityServiceEvent=new G;this.isCart=!1;this.userLoginStatus$=this.userStore.selectUserLoginStatus();this.url="",this.isB2B=F.b2b}ngOnChanges(t){this.cdref.markForCheck()}getSafetyNetTermsUrl(t){return t?.safetyNetPDF?this.sanitizer.bypassSecurityTrustUrl(`/page/${t.safetyNetPDF}`):""}switchChange(t){if(this.service?.disable)return;let e=t.target;this.productService.selectService(this.service,e.checked)}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe())}openServiceInfoDialog(){this.dialogService.openServiceInfoDialog(this.service)}showInitialPrice(t){return t?.listPrice>t?.salePrice}isMobile(){return this.deviceService.isMobile()}};vi.\u0275fac=function(e){return new(e||vi)(g(ye),g(ve),g(Y),g(Ie),g(ue),g(pe),g(ne))},vi.\u0275cmp=M({type:vi,selectors:[["app-card-switch"]],inputs:{service:"service",product:"product",isParentServiceSelected:"isParentServiceSelected",parentServiceId:"parentServiceId",checked:"checked",disabled:"disabled",page:"page",isChecked:"isChecked",invalidServices:"invalidServices",selectedServices:"selectedServices",isCart:"isCart"},outputs:{selectService:"selectService",changeSwitch:"changeSwitch",checkAvailabilityServiceEvent:"checkAvailabilityServiceEvent"},features:[q],ngContentSelectors:Al,decls:1,vars:1,consts:[[1,"switch-line",3,"ngClass","ngStyle"],[1,"text-left","d-flex","align-items-center","w-100","justify-content-between"],[1,"d-flex","align-items-center","service-line"],[1,"card-img",3,"ngStyle"],[1,"d-flex","flex-column",3,"ngClass"],[1,"switch-title",3,"ngClass"],[1,"mdc-typography--caption","invalid-text","disabled","mt-1"],[1,"service-terms","mdc-typography--caption","mdc-typography--semi-bold","mt-1"],[1,"d-flex","align-items-center",3,"ngClass"],["icon","info","size","small","color","tertiary",1,"ml-2","info-button",3,"disabled"],[1,"img-container"],["height","26","alt","Promo Image",3,"src"],["target","_blank",1,"underline",3,"href"],[1,"mdc-typography--subtitle1","sale-price",3,"ngClass"],[1,"switch-element","align-items-right","align-self-center","text-right"],[1,"switch",3,"ngClass"],["type","checkbox",3,"change","checked","disabled"],[1,"slider","round"],[1,"tick-mark"],[1,"mdc-typography--caption","mdc-typography--bold","list-price"],["icon","info","size","small","color","tertiary",1,"ml-2","info-button",3,"click","disabled"]],template:function(e,n){e&1&&(Pt(),p(0,Jl,14,21,"div",0)),e&2&&u(n.service!=null&&n.service.inactive?-1:0)},dependencies:[Ve,j,Ht,Ee,Re,_e],styles:['.accordion-body{display:grid;gap:12px}[_nghost-%COMP%] .info-button[_ngcontent-%COMP%]{padding:6px}[_nghost-%COMP%] .switch-line[_ngcontent-%COMP%]{border:1px solid #cccccc;border-radius:8px;width:100%;background-color:#fff;padding:0 10px;height:fit-content;min-height:60px;max-height:100px;overflow:hidden;align-items:center;display:flex}@media(max-width:420px){[_nghost-%COMP%] .switch-line[_ngcontent-%COMP%]{padding:5px}}[_nghost-%COMP%] .switch-line[_ngcontent-%COMP%] .service-line[_ngcontent-%COMP%]{padding:4px;gap:5px}[_nghost-%COMP%] .switch-line.invalid-service[_ngcontent-%COMP%]{min-height:75px}[_nghost-%COMP%] .disabled[_ngcontent-%COMP%]{color:#0000003d}[_nghost-%COMP%] .card-img[_ngcontent-%COMP%]{background-size:contain;background-repeat:no-repeat;background-position:center;width:72px;height:40px}@media(max-width:420px){[_nghost-%COMP%] .card-img[_ngcontent-%COMP%]{display:none}}[_nghost-%COMP%] .switch[_ngcontent-%COMP%]{position:relative;display:inline-block;width:42px;height:28px}[_nghost-%COMP%] .switch[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{opacity:0;width:0;height:0}[_nghost-%COMP%] .slider[_ngcontent-%COMP%]{position:absolute;cursor:pointer;inset:0;background-color:#ccc}[_nghost-%COMP%] .slider[_ngcontent-%COMP%]:before{position:absolute;content:"";height:20px;width:20px;left:4px;bottom:4px;background-color:#fff;transition:.3s}[_nghost-%COMP%] input[_ngcontent-%COMP%]:checked + .slider[_ngcontent-%COMP%]{background-color:#1976d2}[_nghost-%COMP%] input[_ngcontent-%COMP%]:focus + .slider[_ngcontent-%COMP%]{box-shadow:0 0 1px #1976d2}[_nghost-%COMP%] input[_ngcontent-%COMP%]:focus{outline:none;border:none}[_nghost-%COMP%] input[_ngcontent-%COMP%]:checked + .slider[_ngcontent-%COMP%]:before{-webkit-transform:translateX(14px);-ms-transform:translateX(14px);transform:translate(14px)}[_nghost-%COMP%] .slider.round[_ngcontent-%COMP%]{border-radius:99px}[_nghost-%COMP%] .slider.round[_ngcontent-%COMP%]:before{border-radius:50%}[_nghost-%COMP%] .tick-mark[_ngcontent-%COMP%]{display:inline-block;opacity:1;visibility:visible;transition:all 5s linear;position:relative;width:15px;height:15px}[_nghost-%COMP%] .tick-mark[_ngcontent-%COMP%]:before{position:absolute;
2left:-10px;top:89%;height:40%;width:3px;background-color:#1976d2;content:"";transform:translate(10px) rotate(-45deg);transform-origin:left bottom}[_nghost-%COMP%] .tick-mark[_ngcontent-%COMP%]:after{position:absolute;left:-10px;bottom:-4px;height:3px;width:62%;background-color:#1976d2;content:"";transform:translate(10px) rotate(-45deg);transform-origin:left bottom}[_nghost-%COMP%] input[_ngcontent-%COMP%]:not(:checked) + .slider[_ngcontent-%COMP%] .tick-mark[_ngcontent-%COMP%]{display:none;opacity:0;visibility:visible}[_nghost-%COMP%] .disabled-switch[_ngcontent-%COMP%]{pointer-events:none;opacity:.5}[_nghost-%COMP%] .sale-price[_ngcontent-%COMP%]{overflow:hidden;padding:0 16px 0 0;text-align:right;width:78px}@media(max-width:500px){[_nghost-%COMP%] .sale-price[_ngcontent-%COMP%]{width:57px;padding:8px 8px 8px 0}}@media(max-width:420px){[_nghost-%COMP%] .sale-price[_ngcontent-%COMP%]{font-size:12px;font-weight:400;line-height:14px}}[_nghost-%COMP%] .list-price[_ngcontent-%COMP%]{padding:14px 16px 0 0;text-align:right;color:#8d8f94;text-decoration-line:line-through}[_nghost-%COMP%] .list-price[_ngcontent-%COMP%] ~ .sale-price[_ngcontent-%COMP%]{padding-top:0}[_nghost-%COMP%] .switch-title[_ngcontent-%COMP%]{font-size:14px;font-weight:600;line-height:16px;max-height:60px;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}@media(max-width:420px){[_nghost-%COMP%] .switch-title[_ngcontent-%COMP%]{font-size:12px;font-weight:400;line-height:14px}}[_nghost-%COMP%] .service-terms[_ngcontent-%COMP%]{width:100%;display:block;color:#000000ab}[_nghost-%COMP%] .service-terms[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#1976d2}app-reusable-product-promo-services[_nghost-%COMP%] .card-img[_ngcontent-%COMP%], app-reusable-product-promo-services [_nghost-%COMP%] .card-img[_ngcontent-%COMP%]{display:none}app-reusable-product-promo-services[_nghost-%COMP%] input[_ngcontent-%COMP%]:checked + .slider[_ngcontent-%COMP%], app-reusable-product-promo-services [_nghost-%COMP%] input[_ngcontent-%COMP%]:checked + .slider[_ngcontent-%COMP%]{background-color:#1976d2}app-reusable-product-promo-services[_nghost-%COMP%] .promo-service[_ngcontent-%COMP%] .slider[_ngcontent-%COMP%], app-reusable-product-promo-services [_nghost-%COMP%] .promo-service[_ngcontent-%COMP%] .slider[_ngcontent-%COMP%]{background-color:#000}app-reusable-product-promo-services[_nghost-%COMP%] .promo-img[_ngcontent-%COMP%], app-reusable-product-promo-services [_nghost-%COMP%] .promo-img[_ngcontent-%COMP%]{background-size:cover;background-repeat:no-repeat}app-reusable-product-promo-services[_nghost-%COMP%] .promo-service[_ngcontent-%COMP%], app-reusable-product-promo-services [_nghost-%COMP%] .promo-service[_ngcontent-%COMP%]{margin:20px auto;min-height:120px;background-size:cover;background-repeat:no-repeat}app-reusable-product-promo-services[_nghost-%COMP%] .promo-service-container[_ngcontent-%COMP%], app-reusable-product-promo-services [_nghost-%COMP%] .promo-service-container[_ngcontent-%COMP%]{gap:4px}app-reusable-product-promo-services[_nghost-%COMP%] .switch-line[_ngcontent-%COMP%], app-reusable-product-promo-services [_nghost-%COMP%] .switch-line[_ngcontent-%COMP%]{border-radius:16px}app-reusable-product-promo-services[_nghost-%COMP%] .promo-title[_ngcontent-%COMP%], app-reusable-product-promo-services [_nghost-%COMP%] .promo-title[_ngcontent-%COMP%]{font-size:14px;font-weight:400;line-height:16px}app-reusable-product-promo-services[_nghost-%COMP%] .img-container[_ngcontent-%COMP%], app-reusable-product-promo-services [_nghost-%COMP%] .img-container[_ngcontent-%COMP%]{width:auto}']});var bi=vi;function es(i,t){if(i&1){let e=P();a(0,"app-card-switch",2),h("changeSwitch",function(){let r=C(e).$implicit,d=l(3);return v(d.switchService(r))}),c()}if(i&2){let e=t.$implicit,n=l(3);s("service",e)("product",n.product)("disabled",e==null?null:e.disable)("parentServiceId",e.serviceSKU.id)("isParentServiceSelected",n.isParentServiceSelected)("invalidServices",n.invalidServices)}}function ts(i,t){if(i&1&&(a(0,"div",0),I(1,es,1,6,"app-card-switch",1,N),c()),i&2){let e=l().$implicit;o(),B(e.services)}}function is(i,t){if(i&1&&p(0,ts,3,0,"div",0),i&2){let e=l();u(e.promoGroupedServices.length?0:-1)}}var Pi=class Pi{constructor(){this.promoServiceSwitchChangeEvent=ne
2w G}switchService(t){this.promoServiceSwitchChangeEvent.emit(t)}};Pi.\u0275fac=function(e){return new(e||Pi)},Pi.\u0275cmp=M({type:Pi,selectors:[["app-reusable-product-promo-services"]],inputs:{promoGroupedServices:"promoGroupedServices",product:"product",isParentServiceSelected:"isParentServiceSelected",invalidServices:"invalidServices"},outputs:{promoServiceSwitchChangeEvent:"promoServiceSwitchChangeEvent"},decls:2,vars:0,consts:[[1,"promo-container"],[2,"margin","1rem auto",3,"service","product","disabled","parentServiceId","isParentServiceSelected","invalidServices"],[2,"margin","1rem auto",3,"changeSwitch","service","product","disabled","parentServiceId","isParentServiceSelected","invalidServices"]],template:function(e,n){e&1&&I(0,is,1,1,null,null,N),e&2&&B(n.promoGroupedServices)},dependencies:[bi],encapsulation:2});var Lo=Pi;var ns=["*"],os=i=>({"gift-box m-2":i}),rs=i=>({"gift-title":i}),as=i=>({"d-flex justify-content-between":i});function cs(i,t){if(i&1&&_(0,"span",2),i&2){let e=l();s("ngClass",e.icon)}}function ls(i,t){if(i&1){let e=P();a(0,"p",5)(1,"button",9),h("click",function(){C(e);let r=l();return v(r.scrollToElement("#reusable-product-specifications"))}),m(2),c()()}if(i&2){let e=l();o(2),x(" ",e.buttonTitle," ")}}function ss(i,t){i&1&&(a(0,"div",8),xt(1),c())}var xi=class xi{constructor(t){this.document=t;this.accordionSwitch=new G;this.collapse=!1;this.showButton=!1;this.buttonTitle="";this.isHightLight=!1;this.collapse=!1}ngOnInit(){}accordionClick(){this.collapse=!this.collapse,this.accordionSwitch.emit(this.collapse)}scrollToElement(t){let e=this.document.querySelector(t);if(e){let n=e.querySelector(".accordion-title");n&&!n.classList.contains("active")&&n.click(),requestAnimationFrame(()=>{let r=window.innerWidth<768?60:216,d=e.getBoundingClientRect().top+window.scrollY-r;window.scrollTo({top:d,behavior:"smooth"})})}}};xi.\u0275fac=function(e){return new(e||xi)(g(ie))},xi.\u0275cmp=M({type:xi,selectors:[["app-mdc-box-accordion"]],inputs:{product:"product",title:"title",subtitle:"subtitle",icon:"icon",variant:"variant",collapse:"collapse",showButton:"showButton",buttonTitle:"buttonTitle",isHightLight:"isHightLight"},outputs:{accordionSwitch:"accordionSwitch"},ngContentSelectors:ns,decls:10,vars:14,consts:[[1,"accordion-box","my-3","my-sm-4",3,"ngClass"],[1,"accordion-title","d-flex","align-items-center","justify-content-between",3,"click","ngClass"],[1,"ic","ic--large",3,"ngClass"],[1,"align-items-center","w-100",3,"ngClass"],[1,"mdc-typography--subtitle2","text-black","text-sm-left"],[1,"pr-2"],[1,"text-right","p-2"],[1,"small-font","text-black",3,"ngClass"],[1,"accordion-body"],[1,"pbc-link-button","pbc-link-button--primary","mdc-typography--bold",3,"click"]],template:function(e,n){e&1&&(Pt(),a(0,"article",0)(1,"div",1),h("click",function(){return n.accordionClick()}),p(2,cs,1,1,"span",2),a(3,"div",3)(4,"p",4),m(5),c(),p(6,ls,3,1,"p",5),c(),a(7,"div",6),_(8,"span",7),c()(),p(9,ss,2,0,"div",8),c()),e&2&&(s("ngClass",O(8,os,n.variant==="gift")),o(),s("ngClass",O(10,rs,n.variant==="gift")),o(),u(n.icon?2:-1),o(),s("ngClass",O(12,as,n.showButton)),o(2),E(n.title),o(),u(n.showButton&&!n.collapse?6:-1),o(2),s("ngClass",n.collapse?"ic-arrow-bottom":"ic-arrow-top"),o(),u(n.collapse?-1:9))},dependencies:[j],styles:[".accordion-box[_ngcontent-%COMP%]{background:#f6f6f6;border-radius:16px}.accordion-box[_ngcontent-%COMP%] .accordion-title[_ngcontent-%COMP%]{color:#000;background:#f6f6f6;border-radius:16px;padding:16px;cursor:pointer}.accordion-box[_ngcontent-%COMP%] .gift-title[_ngcontent-%COMP%]{background:#f1fff8;padding:16px 8px}.accordion-box[_ngcontent-%COMP%] .accordion-body[_ngcontent-%COMP%]{padding:0 10px 10px}.accordion-box[_ngcontent-%COMP%] .ic[_ngcontent-%COMP%]{margin-right:.75rem}.gift-box[_ngcontent-%COMP%]{background:#f1fff8;border:1px solid #a4e1c1;box-shadow:0 17px 25px #7676763d}.small-font[_ngcontent-%COMP%]:before{font-size:9px}"]});var yi=xi;function ds(i,t){i&1&&_(0,"span",8)}function ps(i,t){if(i&1){let e=P();a(0,"button",7),h("click",function(){C(e);let r=l(2);return v(r.openMatDialogPostalCodeSubmit())}),p(1,ds,1,0,"span",8),y(2,"async"),m(3),y(4,"async"),c()}if(i&2){let e=l(2);o(),u(S(2,2,e.commonService.selectedZipCode$)?1:-1),o(2),x(" ",S(4,4,e.commonService.selectedZipCode$)||"\u0394\u03B5\u03C2 \u03B1\u03BD \u03B5\u03BE\u03C5\u03C0\u03B7\u03C1\u03B5\u03C4\u03BF\u03CD\u03BC\u03B5 \u03C4\u03B7\u03BD \u03C0\u03B5\u03C1\u03B9\u03BF\u03C7\u03AE \u03C3\u03BF\u03C5"," ")}}function us(i,t){if(i&1&&_(0,"app-card-switch",6),i&2){let e=t.$implicit,n=l(2);s("service",e)("product",n.product)("disabled",e==null?null:e.disable)("parentServiceId",n.parentServiceId)("isParentServiceSelected",n.isParentServiceSelected)}}function ms(i,t){if(i&1){let e=P();a(0,"app-mdc-box-accordion",4),h("accordionSwitch",function(r){let d=C(e).$implicit,b=l();return v(b.accordionSwitch(r,d))}
2),p(1,ps,5,6,"button",5),I(2,us,1,5,"app-card-switch",6,N),c()}if(i&2){let e=t.$implicit,n=l();s("title",e==null?null:e.groupTitle)("icon",e==null?null:e.groupIcon)("subtitle",e==null?null:e.groupSubTitle)("collapse",n.isAccordionCollapsed(e)),o(),u(e!=null&&e.postalCodeValidated?1:-1),o(),B(e==null?null:e.services)}}var Si=class Si{constructor(t,e,n,r,d,b,w,k){this.dialog=t;this.commonService=e;this.productService=n;this.dialogService=r;this.formBuilder=d;this.productStore=b;this.genericStore=w;this.cdRef=k;this.isParentServiceSelected=!1;this.directiveScroll=new G;this.selectService=new G;this.validateServiceStatusEvent=new G;this.serviceStatusChangedEvent=new G;this.serviceSwitchChangeEvent=new G;this.destroy$=new se;this.title="";this.formSubmitted=!1;this.isServiceChecked=!1;this.promoGroupedServices=[];this.selectedServices=[];this.services=[];this.localServices=V([])}ngOnInit(){this.zipCodeForm=this.formBuilder.group({zipCode:["",[_a.required,Pa]]}),this.commonService.selectedZipCode$.pipe(te(this.destroy$)).subscribe(t=>{t&&this.zipCodeForm.controls.zipCode.setValue(t)}),this.productStore.selectPdpServices().pipe(te(this.destroy$)).subscribe(()=>{let t=this.productStore.getPdpServices();this.promoGroupedServices?.length||(this.promoGroupedServices=[...this.managePromoServices(t)]),this.services=[...this.manageSimpleServices(t)],this.cdRef.markForCheck()})}accordionSwitch(t,e){e.groupId&&this.productStore.setGroupCollapsed(e?.groupId,t)}isAccordionCollapsed(t){return t?.groupId?this.productStore.getGroupCollapsed(t.groupId)??t.groupCollapsed??!0:t?.groupCollapsed??!0}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}checkAvailabilityService(){if(this.formSubmitted=!0,this.zipCodeForm.invali
2d)return;let t=this.zipCodeForm.getRawValue().zipCode;localStorage.setItem("selectedZipCode",t),this.commonService.selectedZipCode$.next(t),this.genericStore.setSelectedZipCode(t)}openMatDialogPostalCodeSubmit(){this.dialogService.openMatDialogPostalCodeSubmit()}onScroll(t){this.directiveScroll.emit(t)}managePromoServices(t){return t.filter(e=>e.services.some(n=>n.promoService===!0)).map(e=>Z(U({},e),{services:e.services.filter(n=>n.promoService===!0).map(n=>this.product?.availability?.deliveryRule?.uniqueStoreAssortment?Z(U({},n),{disable:!0}):n)}))}manageSimpleServices(t){return t.map(e=>{let n=e.services.filter(r=>!r.promoService);return Z(U({},e),{services:n})}).filter(e=>e.services.length)}};Si.\u0275fac=function(e){return new(e||Si)(g(Lt),g(ve),g(ne),g(Y),g(eo),g(Ce),g(ot),g(ye))},Si.\u0275cmp=M({type:Si,selectors:[["app-reusable-product-services"]],inputs:{hasSelectedZipCode:"hasSelectedZipCode",product:"product",scrollingElement:"scrollingElement",validServiceMessage:"validServiceMessage",invalidServiceMessage:"invalidServiceMessage",selectedServices:"selectedServices"},outputs:{directiveScroll:"directiveScroll",selectService:"selectService",validateServiceStatusEvent:"validateServiceStatusEvent",serviceStatusChangedEvent:"serviceStatusChangedEvent",serviceSwitchChangeEvent:"serviceSwitchChangeEvent"},features:[tt([eo])],decls:5,vars:4,consts:[["scrolledToElement","detectScroll"],["id","reusable-product-services","detectScroll","",3,"scrolledTo","scrollingElement"],[3,"promoGroupedServices","product","isParentServiceSelected"],[3,"title","icon","subtitle","collapse"],[3,"accordionSwitch","title","icon","subtitle","collapse"],[1,"pbc-link-button","pbc-link-button--primary","mdc-typography--subtitle2"],[3,"service","product","disabled","parentServiceId","isParentServiceSelected"],[1,"pbc-link-button","pbc-link-button--primary","mdc-typography--subtitle2",3,"click"],[1,"ic-pin"]],template:function(e,n){if(e&1){let r=P();a(0,"section",1,0),h("scrolledTo",function(b){return C(r),v(n.onScroll(b))}),_(2,"app-reusable-product-promo-services",2),I(3,ms,4,5,"app-mdc-box-accordion",3,N),c()}e&2&&(s("scrollingElement",n.scrollingElement),o(2),s("promoGroupedServices",n.promoGroupedServices)("product",n.product)("isParentServiceSelected",n.isParentServiceSelected),o(),B(n.services))},dependencies:[ce,yi,bi,fa,Lo,_e],styles:["[_nghost-%COMP%] .mdc-text-field{box-sizing:border-box;flex-direction:row;align-items:center;gap:10px;width:117px;height:36px;background:#f8f8f8;border:1px solid #d6dadb;border-radius:4px;flex:none;order:0;flex-grow:0}[_nghost-%COMP%] .mdc-text-field-helper-text--validation-msg{position:relative;right:57px}[_nghost-%COMP%] .mdc-alert{box-sizing:border-box;display:flex;flex-direction:row;align-items:center;padding:12px!important;gap:10px;border-radius:4px;flex:none;align-self:stretch;flex-grow:0;margin-bottom:12px;box-shadow:none!important}@media(max-width:819.98px){[_nghost-%COMP%] .mdc-alert{padding:8px!important}}[_nghost-%COMP%] .mdc-alert--success{color:#000!important;background:#dcfadd!important;border:1px solid #7bb47d;order:3}[_nghost-%COMP%] .mdc-alert--warning{background:#faf1dc!important;border:1px solid #ccba8c;order:0}[_nghost-%COMP%] .mdc-alert--floating{box-shadow:none!important;flex-flow:column}[_nghost-%COMP%] .mdc-alert__message{text-align:center;font-size:12px;margin:0!important}[_nghost-%COMP%] .pbc-link-button[_ngcontent-%COMP%]{margin:-18px auto 0 40px;display:block}[_nghost-%COMP%] .service-per-area[_ngcontent-%COMP%]{background:#fff;align-self:stretch}[_nghost-%COMP%] .service-per-area__input-label[_ngcontent-%COMP%]{box-sizing:border-box;flex-direction:row;align-items:center;padding:10px 39px 10px 20px;gap:10px;width:117px;height:36px;background:#f8f8f8;border:1px solid #d6dadb;border-radius:4px;flex:none;order:0;flex-grow:0}[_nghost-%COMP%] .service-per-area__confirm-button[_ngcontent-%COMP%]{flex-direction:row;align-items:center;padding:10px;gap:10px;width:38.87px;height:36px;background:var(--main-orange);border:none;border-radius:7px;flex:none;order:1;flex-grow:0}[_nghost-%COMP%] .service-per-area__confirm-button--error-pattern[_ngcontent-%COMP%]{margin-left:-145.276px!important}[_nghost-%COMP%] .service-per-area__confirm-button--error-required[_ngcontent-%COMP%]{margin-left:-138.8px!important}[_nghost-%COMP%] .service-per-area__title-label[_ngcontent-%COMP%]{width:268px;height:16px;font-size:14px;flex:none;order:0;flex-grow:0}[_nghost-%COMP%] .service-per-area__alert[_ngcontent-%COMP%]{box-sizing:border-box;display:flex;flex-direction:row;align-items:flex-start;padding:10px;gap:10px;height:34px;background:#faf1dc;border:1px solid #ccba8c;border-radius:4px;flex:none;order:0;align-self:stretch;flex-grow:0}[_nghost-%COMP%] .service-per-area__success[_ngcontent-%COMP%]{box-sizing:border-box;display:flex;flex-direction:row;align-items:flex-start;padding:10px;gap:10px;height:34px;background:#dcfadd;border:1px solid #7bb47d;border-radius:4px;flex:none;order:3;align-self:stretch;flex-grow:0}[_nghost-%COMP%] .mdc-text-field[_ngcontent-%COMP%]{background-color:#f6f6f6}[_nghost-%COMP%] .mdc-notched-outline[_ngcontent-%COMP%] .mdc-notched-outline__leading[_ngcontent-%COMP%]{border-color:#e4e2e2}[_nghost-%COMP%] .mdc-notched-outline[_ngcontent-%COMP%] .mdc-notched-outline__trailing[_ngcontent-%COMP%]{border-color:#e4e2e2}"],changeDetection:0});var Go=Si;var gs=i=>({"pl-2":i}),Mi=class Mi{constructor(t){this.paymentMethodService=t;this.imageUrl=""}get PaymentMethodsType(){return kn}ngOnInit(){}ngOnChanges(t){t.paymentMethod?.currentValue&&(this.imageUrl="/"+this.paymentMethodService.getPaymentMethodLogo(t.paymentMethod?.currentValue))}};Mi.\u0275fac=function(e){return new(e||Mi)(g(mt))},Mi.\u0275cmp=M({type:Mi,selectors:[["app-payment-method-simple"]],inputs:{paymentMethod:"paymentMethod"},features:[q],decls:5,vars:8,consts:[[1,"payment-method--simple"],[1,"logo-container"],[1,"logo",3,"src","alt"],[1,"label",3,"ngClass"]],template:function(e,n){e&1&&(a(0,"div",0)(1,"div",1),_(2,"img",2),c(),a(3,"p",3),m(4),c()()),e&2&&(o(2),s("src",Te(n.imageUrl),H)("alt",Te(n.paymentMethod.displayText)),o(),s("ngClass",O(6,gs,n.paymentMethod.key===n.PaymentMethodsType.Iris||n.paymentMethod.key===n.PaymentMethodsType.ApplePay||n.paymentMethod.key===n.PaymentMethodsType.GooglePay)),o(),x(" ",n.paymentMethod.displayText," "))},dependencies:[j],styles:[".payment-method--simple[_ngcontent-%COMP%]{display:flex;align-items:center;font-size:14px;padding:4px 16px}.payment-method--simple[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%]{display:flex;justify-content:left;align-items:center;height:40px;font-size:14px;min-width:32px;width:fit-content}.payment-method--simple[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{max-height:1.5rem}"],changeDetection:0});var zo=Mi;var _s=["*"];function fs(i,t){if(i&1){let e=P();be(0,"div",0),Nt("click",function(){C(e);let r=l();
2return v(r.closed.emit())}),xt(1),ke()}}var Oi=class Oi{constructor(){this.closed=new G}};Oi.\u0275fac=function(e){return new(e||Oi)},Oi.\u0275cmp=M({type:Oi,selectors:[["app-payment-method-dropdown"]],viewQuery:function(e,n){if(e&1&&oe(jn,5),e&2){let r;re(r=ae())&&(n.templateRef=r.first)}},outputs:{closed:"closed"},ngContentSelectors:_s,decls:1,vars:0,consts:[[1,"dropdown-event-wrapper",3,"click"]],template:function(e,n){e&1&&(Pt(),Ft(0,fs,2,0,"ng-template"))},encapsulation:2});var $o=Oi;var wi=class wi{constructor(t,e,n){this.overlay=t;this.elementRef=e;this.viewContainerRef=n;this.overlayStatus=new G;this.dropdownEnabled=!0;this.overlayConfig={};this.isDropdownOpen=!1;this.dropdownClosingActionsSub=Wr.EMPTY}ngOnChanges(t){let e=t.dropdownOptions.currentValue;e&&(this.dropdownEnabled=e.isEnabled,this.dropdownPanel=e.triggers,this.overlayConfig=e.overlayConfig)}onClick(t){this.dropdownEnabled&&this.toggleDropdown()}onWindowScroll(){this.destroyDropdown()}toggleDropdown(){this.isDropdownOpen?this.destroyDropdown():this.openDropdown()}openDropdown(){this.isDropdownOpen=!0,this.overlayStatus.emit(this.isDropdownOpen),this.overlayRef=this.overlay.create(U({hasBackdrop:!0,backdropClass:"cdk-overlay-transparent-backdrop",scrollStrategy:this.overlay.scrollStrategies.reposition(),positionStrategy:this.overlay.position().flexibleConnectedTo(this.elementRef).withFlexibleDimensions(!0).withPush(!0).withViewportMargin(10).withGrowAfterOpen(!0).withLockedPosition(!0).withPositions([{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top",offsetY:10},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",offsetY:-10}])},this.overlayConfig));let t=new pa(this.dropdownPanel.templateRef,this.viewContainerRef);this.overlayRef.attach(t),this.dropdownClosingActionsSub=this.dropdownClosingActions().subscribe(()=>this.destroyDropdown())}dropdownClosingActions(){let t=this.overlayRef.backdropClick(),e=this.overlayRef.detachments(),n=this.dropdownPanel.closed;return Kr(t,e,n)}destroyDropdown(){!this.overlayRef||!this.isDropdownOpen||(this.dropdownClosingActionsSub.unsubscribe(),this.isDropdownOpen=!1,this.overlayStatus.emit(this.isDropdownOpen),this.overlayRef.detach())}ngOnDestroy(){this.overlayRef&&this.overlayRef.dispose()}};wi.\u0275fac=function(e){return new(e||wi)(g(Kn),g(Ne),g(Vt))},wi.\u0275dir=et({type:wi,selectors:[["","dropdown",""]],hostBindings:function(e,n){e&1&&h("click",function(d){return n.onClick(d)})("scroll",function(d){return n.onWindowScroll(d)},At)},inputs:{dropdownOptions:[0,"dropdown","dropdownOptions"]},outputs:{overlayStatus:"overlayStatus"},features:[q]});var Ho=wi;var Cs=["dialogRevolutInfo"],vs=(i,t,e)=>({isEnabled:i,triggers:t,overlayConfig:e}),bs=(i,t)=>({"p-0":i,"pl-16px":t}),Ps=i=>({"p-0":i}),xs=(i,t)=>({"img-revolut-pay":i,"img-piraeus-pay":t}),ys=(i,t)=>({"ml-2px":i,"piraeus-loan":t}),Ss=(i,t)=>({"ic-arrow-top":i,"ic-arrow-bottom":t});function Ms(i,t){if(i&1&&_(0,"img",3),i&2){let e=l();s("src",Te(e.imageUrl),H)("alt",Te(e.paymentMethod.displayText))("ngClass",ge(5,xs,e.paymentMethod.key==e.PaymentMethodsType.Revolut,e.paymentMethod.key==e.PaymentMethodsType.PiraeusLoanPg))}}function Os(i,t){if(i&1){let e=P();a(0,"div",8)(1,"span",9),h("click",function(r){C(e);let d=l(2);return v(d.openDialogPiraeus(r))}),a(2,"strong"),m(3,"\u039C\u03AC\u03B8\u03B5\u03C4\u03B5 \u03C0\u03B5\u03C1\u03B9\u03C3\u03C3\u03CC\u03C4\u03B5\u03C1\u03B1"),c()()()}}function ws(i,t){if(i&1&&(a(0,"div",4),_(1,"span",7),p(2,Os,4,0,"div",8),c()),i&2){let e=l();s("ngClass",ge(3,ys,e.paymentMethod.key==e.PaymentMethodsType.Klarna&&e.klarnaOnSiteMsg,e.paymentMethod.key==e.PaymentMethodsType.PiraeusLoanPg)),o(),s("innerHTML",e.selectedValue||e.displayText,le),o(),u(e.paymentMethod.key==e.PaymentMethodsType.PiraeusLoanPg?2:-1)}}function ks(i,t){if(i&1){let e=P();a(0,"div",5)(1,"p",10),m(2," \u0391\u03C0\u03CC\u03BA\u03C4\u03B7\u03C3\u03B5 Revolut \u03BA\u03B1\u03B9 \u03BA\u03AD\u03C1\u03B4\u03B9\u03C3\u03B5 20\u20AC \u03B5\u03C0\u03B9\u03C3\u03C4\u03C1\u03BF\u03C6\u03AE. "),a(3,"button",11),h("click",function(){C(e);let r=l();return v(r.openDialogRevolut())}),m(4," \u039C\u03AC\u03B8\u03B5\u03C4\u03B5 \u03C0\u03B5\u03C1\u03B9\u03C3\u03C3\u03CC\u03C4\u03B5\u03C1\u03B1 "),c()()()}}function Is(i,t){if(i&1&&(a(0,"div",6),_(1,"span",12),c()),i&2){let e=l();
2o(),s("title","ic-arrow-bottom")("ngClass",ge(2,Ss,e.isOverlayOpen,!e.isOverlayOpen))}}function Bs(i,t){if(i&1&&(a(0,"div",13)(1,"p")(2,"strong"),m(3),c()(),a(4,"p")(5,"strong"),m(6),c()()()),i&2){let e=t.$implicit;o(3),x("",e==null?null:e.amountPerInstallment,"\u20AC / \u03BC\u03AE\u03BD\u03B1 "),o(3),x("x ",e==null?null:e.numberOfInstallments," \u03AC\u03C4\u03BF\u03BA\u03B5\u03C2 \u03B4\u03CC\u03C3\u03B5\u03B9\u03C2")}}function Ts(i,t){if(i&1&&I(0,Bs,7,2,"div",13,N),i&2){let e=l();B(e.options)}}var ki=class ki{constructor(t,e,n,r,d,b,w){this.host=t;this.cdRef=e;this.document=n;this.paymentMethodService=r;this.window=d;this._modalService=b;this.dialogService=w;this.klarnaOnSiteMsg=!1;this.klarnaInstallment="";this.isOtherPayment=!1;this.imageUrl="";this.selectedValue="";this.displayText="";this.options=[];this.hasOptions=!1;this.overlayConfig={};this.isOverlayOpen=!1}get PaymentMethodsType(){return kn}ngOnInit(){this.resizeOverlay(),this.overlayConfig.panelClass=["dropdown-content","payment-method-dropdown"]}ngOnChanges(t){t.paymentMethod?.currentValue&&(this.displayText=this.paymentMethodService.getKlarnaOptionToHTML(t.paymentMethod?.currentValue,this.klarnaOnSiteMsg,this.klarnaInstallment),this.imageUrl="/"+this.paymentMethodService.getPaymentMethodLogo(t.paymentMethod?.currentValue),this.klarnaOnSiteMsg&&t.paymentMethod?.currentValue.key=="Klarna"&&(this.renderKlarnaOnSiteMsg(),this.imageUrl=""),this.options=this.paymentMethodService.getPaymentMethodOptions(t.paymentMethod?.currentValue),this.hasOptions=!!this.options.length,this.selectedValue=this.hasOptions?this.paymentMethodService.optionToHTML(t.paymentMethod?.currentValue.key,this.options[0],t.paymentMethod?.currentValue.displayText):"")}onResize(){this.resizeOverlay()}get element(){return this.host.nativeElement}resizeOverlay(){this.overlayConfig.width=this.element?.parentElement?.offsetWidth}openDialogRevolut(){this._modalService.open("","revolutDialog")}openDialogPiraeus(t){t.stopPropagation(),this.dialogService.openMatDialogPaymentCheckoutBankLoan()}renderKlarnaOnSiteMsg(){let t=setInterval(()=>{this.document.getElementById("klarna-placement")&&(this.window.KlarnaOnsiteService=this.window.KlarnaOnsiteService||[],this.window.KlarnaOnsiteService.push({eventName:"refresh-placements"}),clearInterval(t))},50)}};ki.\u0275fac=function(e){return new(e||ki)(g(Ne),g(ye),g(ie),g(mt),g(qn),g(ut),g(Y))},ki.\u0275cmp=M({type:ki,selectors:[["app-payment-method-complex"]],viewQuery:function(e,n){if(e&1&&oe(Cs,5),e&2){let r;re(r=ae())&&(n.dialogRevolutInfo=r.first)}},hostBindings:function(e,n){e&1&&h("resize",function(){return n.onResize()},At)},inputs:{paymentMethod:"paymentMethod",klarnaOnSiteMsg:"klarnaOnSiteMsg",klarnaInstallment:"klarnaInstallment",isOtherPayment:"isOtherPayment"},features:[q],decls:9,vars:17,consts:[["dropdown",""],[1,"payment-method--complex",3,"overlayStatus","dropdown","ngClass"],[1,"payment-method-header",3,"ngClass"],[3,"src","alt","ngClass"],[1,"payment-method-content","payment-method-text","mdc-typography--body2",3,"ngClass"],[1,"payment-method-content","payment-method-text","ml-2","mdc-typography--body2"],[1,"arrow-container"],[3,"innerHTML"],[1,"mdc-typography--body2","piraeus-showmore"],[3,"click"],[1,"mr-1"],[1,"link",3,"click"],[1,"ic","ic--small",3,"title","ngClass"],[1,"payment-method-option","mdc-typography--body2"]],template:function(e,n){if(e&1){let r=P();a(0,"div",1),h("overlayStatus",function(b){return C(r),v(n.isOverlayOpen=b)}),a(1,"div",2),p(2,Ms,1,8,"img",3),p(3,ws,3,6,"div",4),p(4,ks,5,0,"div",5),p(5,Is,2,5,"div",6),c(),a(6,"app-payment-method-dropdown",null,0),p(8,Ts,2,0),c()()}if(e&2){let r=Q(7);s("dropdown",jt(8,vs,n.hasOptions,r,n.overlayConfig))("ngClass",ge(12,bs,n.paymentMethod.key==n.PaymentMethodsType.Klarna&&n.klarnaOnSiteMsg,n.paymentMethod.key==n.PaymentMethodsType.Klarna)),o(),s("ngClass",O(15,Ps,n.paymentMethod.key==n.PaymentMethodsType.Klarna&&n.klarnaOnSiteMsg)),o(),u(n.imageUrl?2:-1),o(),u(n.paymentMethod.key!==n.PaymentMethodsType.Revolut?3:-1),o(),u(n.paymentMethod.key==n.PaymentMethodsType.Revolut?4:-1),o(),u(n.hasOptions?5:-1),o(3),u(n.paymentMethod.key===n.PaymentMethodsType.Credit
2Card||n.paymentMethod.key===n.PaymentMethodsType.PiraeusLoanPg?8:-1)}},dependencies:[Ho,j,$o],styles:["#klarna-placement::part(osm-cta){font-family:ZonaPro,Open Sans,sans-serif;font-weight:700;font-size:14px;color:#1976d2;text-decoration:none;display:flex} #klarna-placement::part(osm-cta):hover{text-decoration:underline} #klarna-placement::part(osm-message){font-family:ZonaPro,Open Sans,sans-serif;font-size:14px} #klarna-placement::part(osm-container){border-width:0} .dropdown-event-wrapper{max-height:300px}@media(max-width:819.98px){ .dropdown-event-wrapper{max-height:200px}}.payment-method--complex[_ngcontent-%COMP%]{padding:12px 16px}.payment-method-header[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;padding:4px 0}.payment-method-header[_ngcontent-%COMP%] img[_ngcontent-%COMP%]:not(.img-revolut-pay):not(.img-piraeus-pay){height:1.25rem}.payment-method-header[_ngcontent-%COMP%] .arrow-container[_ngcontent-%COMP%]{margin-right:.5rem}.payment-method-option[_ngcontent-%COMP%]{padding:.5rem;margin-bottom:.5rem;display:flex;justify-content:space-between;border-bottom:solid 2px #f6f6f6}.payment-method-text[_ngcontent-%COMP%]{margin-left:.5rem;margin-right:auto}.payment-method-text.piraeus-loan[_ngcontent-%COMP%]{display:grid;margin-left:14px;gap:5px}.payment-method-text.piraeus-loan[_ngcontent-%COMP%] .text{gap:5px;flex-wrap:wrap;display:flex}.payment-method-text.piraeus-loan[_ngcontent-%COMP%] span{white-space:nowrap}@media screen and (max-width:399px){.payment-method-text.piraeus-loan[_ngcontent-%COMP%] span{white-space:inherit}}@media screen and (min-width:360px)and (max-width:490px){.arrow-container[_ngcontent-%COMP%]{margin-right:1rem!important}.payment-method-text[_ngcontent-%COMP%]{font-size:13px}}.link[_ngcontent-%COMP%]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Arial,sans-serif;font-size:14px;font-weight:600;text-decoration:underline;color:#000;background:none;border:none;padding:0;cursor:pointer;text-align:start}.learn-more[_ngcontent-%COMP%]{position:relative;top:-2px}.pl-16px[_ngcontent-%COMP%]{padding-left:16px}.piraeus-showmore[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#1976d2;text-decoration:none}.piraeus-showmore[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:hover{text-decoration:underline}"],changeDetection:0});var Wo=ki;var Ii=class Ii{constructor(t,e){this.el=t;this.renderer=e}ngOnInit(){this.options.isEnabled&&this.renderer.addClass(this.el.nativeElement,this.options.classname)}};Ii.\u0275fac=function(e){return new(e||Ii)(g(Ne),g(Je))},Ii.\u0275dir=et({type:Ii,selectors:[["","highlight",""]],inputs:{options:[0,"highlight","options"]}});var qo=Ii;var Ds=i=>({isEnabled:i,classname:"highlight"}),Rs=i=>({value:i,isOtherMethod:!1}),ac=i=>({$implicit:i}),Es=i=>({value:i,isOtherMethod:!0}),cc=(i,t)=>t.key;function As(i,t){i&1&&bt(0)}function Vs(i,t){if(i&1&&(a(0,"div",6),xe(1,As,1,0,"ng-container",8),c()),i&2){let e=t.$implicit,n=l(),r=Q(11);s("highlight",O(3,Ds,n.paymentMethodHasOptions(e))),o(),s("ngTemplateOutlet",r)("ngTemplateOutletContext",O(7,ac,O(5,Rs,e)))}}function Fs(i,t){i&1&&bt(0)}function Ns(i,t){if(i&1&&(a(0,"div",9),xe(1,Fs,1,0,"ng-container",8),c()),i&2){let e=t.$implicit;l(2);let n=Q(11);o(),s("ngTemplateOutlet",n)("ngTemplateOutletContext",O(4,ac,O(2,Es,e)))}}function js(i,t){if(i&1&&(a(0,"div",7),I(1,Ns,2,6,"div",9,cc),c()),i&2){let e=l();o(),B(e.otherPaymentMethods)}}function Ls(i,t){if(i&1&&_(0,"app-payment-method-complex",10),i&2){let e=l().$implicit,n=l();s("paymentMethod",e.value)("isOtherPayment",e.isOtherMethod)("klarnaOnSiteMsg",n.klarnaOnSiteMsg)("klarnaInstallment",n.klarnaInstallment)}}function Gs(i,t){if(i&1&&_(0,"app-payment-method-simple",11),i&2){let e=l().$implicit;s("paymentMethod",e.value)}}function zs(i,t){if(i&1&&(p(0,Ls,1,4,"app-payment-method-complex",10),p(1,Gs,1,1,"app-payment-method-simple",11)),i&2){let e=t.$implicit,n=l();u(n.paymentMethodsService.isComplex(e.value)?0:-1),o(),u(n.paymentMethodsService.isComplex(e.value)?-1:1)}}var Bi=class Bi{constructor(t,e,n){this.paymentMethodsService=t;this.paymentMethodsStore=e;this.productStore=n;this.klarnaOnSiteMsg=!1;this.klarnaInstallment="";this.isOpen=!1;this.paymentMethodText="\u0386\u03C4\u03BF\u03BA\u03B5\u03C2 \u03B4\u03CC\u03C3\u03B5\u03B9\u03C2 \u03BC\u03B5 \u03AE \u03C7\u03C9\u03C1\u03AF\u03C2 \u03C0\u03B9\u03C3\u03C4\u03C9\u03C4\u03B9\u03BA\u03AE";this.paymentMethods=[];this.mainPaymentMethods=[];this.otherPaymentMethods=[];this.showMorePaymentMethods=!1;this.sortedPaymentGroupItems=[];this.mainPaymentGroupItems=[];this.otherPaymentGroupItems=[];
2this.customFiltering=["creditCard","Klarna","debitCard_ApplePay","debitCard_GooglePay","cash","Paypal","irisPg","Revolut"];this.isB2B=!1;this.isCyprus=!1}ngOnInit(){this.isB2B=F.b2b,this.isCyprus=F.cyprus,this.handlePaymentMethodText()}ngOnChanges(t){if(this.showMorePaymentMethods=this.componentCaller==="Shopping-Cart",t.product?.currentValue&&Array.isArray(t.product?.currentValue?.paymentMethodDtos)){let e=[...t.product.currentValue.paymentMethodDtos];this.paymentMethods=this.setVivaPaymentOption(e),this.paymentMethods=this.filterOutAppleGooglePay(this.paymentMethods),this.paymentMethods=this.orderPaymentMethods(this.paymentMethods),this.mainPaymentMethods=this.paymentMethods.slice(0,2),this.otherPaymentMethods=this.paymentMethods.slice(2)}}setVivaPaymentOption(t){let e=this.paymentMethodsStore.getVivaPaymentType();return t.forEach(n=>{n.key==oo&&(n.displayText=e.vivaPaymentText,n.key=e.key)}),t}trackById(t,e){return e.key}toggleShowMore(){this.showMorePaymentMethods=!this.showMorePaymentMethods}togglePaymentMethods(){this.isOpen=!this.isOpen}addInstallmentsToCreditCard(t,e){let n=t.findIndex(r=>r.key==="creditCard");return t[n].allInstallments=e,t}paymentMethodHasOptions(t){return!!this.paymentMethodsService.getPaymentMethodOptions(t).length}filterOutAppleGooglePay(t){return t.filter(e=>!(e.key==="debitCard_ApplePay".toString()||e.key==="debitCard_GooglePay".toString()))}handlePaymentMethodText(){this.isB2B&&(this.paymentMethodText="\u03A0\u03BB\u03AC\u03BD\u03BF \u0394\u03CC\u03C3\u03B5\u03C9\u03BD"),this.isCyprus&&(this.paymentMethodText="\u0386\u03C4\u03BF\u03BA\u03B5\u03C2 \u03B4\u03CC\u03C3\u03B5\u03B9\u03C2 \u03BC\u03B5 \u03C0\u03B9\u03C3\u03C4\u03C9\u03C4\u03B9\u03BA\u03AE")}orderPaymentMethods(t){if(!t)return[];let e=["PiraeusLoanPg","creditCard","Klarna"];return[...t].sort((n,r)=>{let d=e.indexOf(n.key),b=e.indexOf(r.key);return(d===-1?1/0:d)-(b===-1?1/0:b)})}};Bi.\u0275fac=function(e){return new(e||Bi)(g(mt),g(ba),g(Ce))},Bi.\u0275cmp=M({type:Bi,selectors:[["app-payment-methods"]],inputs:{product:"product",klarnaOnSiteMsg:"klarnaOnSiteMsg",klarnaInstallment:"klarnaInstallment",isOpen:"isOpen",installments:"installments",componentCaller:"componentCaller"},features:[q],decls:12,vars:4,consts:[["paymentMethodItem",""],[1,"payment-methods"],[1,"payment-methods-header"],[1,"d-flex","align-items-center",3,"click"],[1,"ic","ic--large","text-color",3,"title","ngClass"],[1,"mdc-typography--subtitle2"],[1,"payment-method",3,"highlight"],[1,"payment-methods-other"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"payment-method","payment-method--other"],[3,"paymentMethod","isOtherPayment","klarnaOnSiteMsg","klarnaInstallment"],[3,"paymentMethod"]],template:function(e,n){if(e&1){let r=P();a(0,"section",1)(1,"header",2)(2,"div",3),h("click",function(){return C(r),v(n.togglePaymentMethods())}),_(3,"span",4),a(4,"p",5),m(5),c()()(),a(6,"div"),I(7,Vs,2,9,"div",6,cc),p(9,js,3,0,"div",7),c()(),xe(10,zs,2,2,"ng-template",null,0,Un)}e&2&&(o(3),s("title","ic-credit-card")("ngClass","ic-credit-card"),o(2),x(" ",n.paymentMethodText," "),o(2),B(n.mainPaymentMethods),o(2),u(n.otherPaymentMethods.length?9:-1))},dependencies:[j,qo,Hn,Wo,zo],styles:['[_nghost-%COMP%]{--accent-color: #1976d2}.payment-methods[_ngcontent-%COMP%]{display:flex;flex-direction:column;background-color:#f6f6f6;padding:1.5rem;border-radius:16px;margin-top:24px}.payment-methods-header[_ngcontent-%COMP%]{padding-bottom:20px}.payment-methods-header[_ngcontent-%COMP%] .ic[_ngcontent-%COMP%]{margin-right:.75rem}.payment-methods[_ngcontent-%COMP%] .payment-method[_ngcontent-%COMP%]{position:relative;background-color:#fff;border:1px solid #cccccc;border-radius:4px;margin-left:-14px;margin-right:-14px}.payment-methods[_ngcontent-%COMP%] .payment-method.highlight[_ngcontent-%COMP%]:hover{border-color:var(--accent-color);cursor:pointer}.payment-methods[_ngcontent-%COMP%] .payment-method[_ngcontent-%COMP%] + .payment-method[_ngcontent-%COMP%]{margin-top:1rem}.payment-methods[_ngcontent-%COMP%] .payment-method.payment-method--other[_ngcontent-%COMP%]{max-width:100%}.payment-methods-more[_ngcontent-%COMP%]{display:flex;justify-content:center;margin:26px 0 0;color:var(--accent-color)}.payment-methods-more[_ngcontent-%COMP%] [_ngcontent-%COMP%]:hover{cursor:pointer}.payment-methods-more-label[_ngcontent-%COMP%]{margin-right:.4rem}.payment-methods-more[_ngcontent-%COMP%] .arrow-container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.payment-methods-more[_ngcontent-%COMP%] [class^=ic-][_ngcontent-%COMP%]:before, .payment-methods-more[_ngcontent-%COMP%] [class*=" ic-"][_ngcontent-%COMP%]:before{width:100%;transform:scale(.5)}.payment-methods-other[_ngcontent-%COMP%]{margin-top:1rem;margin-right:-28px}'],changeDetection:0});var Ko=Bi;function Us(i,t){if(i&1&&(a(0,"li",7),m(1),c()),i&2){let e=t.$implicit,n=l(2);o(),x(" ",n.formatHighlightValue(e)," ")}}function $s(i,t){if(i&1&&(a(0,"div",4)(1,"span",5),m(2),c(),a(3,"ul",6),I(4,Us,2,1,"li",7,N),c()()),i&2){let e=t.$implicit;o(2),E(e.displayName),o(2),B(e.values)}}
2var Ti=class Ti{constructor(){this.directiveScroll=new G;this.highLights=[]}ngOnInit(){this.setHighLights()}ngOnChanges(t){t.product&&this.setHighLights()}onScroll(t){this.directiveScroll.emit(t)}setHighLights(){this.product&&this.product.sku&&this.product.sku.topSpecs&&(this.highLights=this.product.sku.topSpecs.map(t=>({displayName:t.displayName,values:t.values})))}formatHighlightValue(t){return t.replace(/,/g,", ")}};Ti.\u0275fac=function(e){return new(e||Ti)},Ti.\u0275cmp=M({type:Ti,selectors:[["app-product-highlights"]],inputs:{scrollingElement:"scrollingElement",product:"product"},outputs:{directiveScroll:"directiveScroll"},features:[q],decls:7,vars:3,consts:[["scrolledToElement","detectScroll"],["id","product-highlights","detectScroll","",3,"scrolledTo","scrollingElement"],["buttonTitle","\u0391\u03BD\u03B1\u03BB\u03C5\u03C4\u03B9\u03BA\u03AC","title","\u039A\u03CD\u03C1\u03B9\u03B1 \u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03B7\u03C1\u03B9\u03C3\u03C4\u03B9\u03BA\u03AC",3,"showButton","isHightLight"],[1,"highlights-container"],[1,"highlight-item"],[1,"mdc-typography--subtitle2"],[1,"highlight-values"],[1,"mdc-typography--body2"]],template:function(e,n){if(e&1){let r=P();a(0,"section",1,0),h("scrolledTo",function(b){return C(r),v(n.onScroll(b))}),a(2,"app-mdc-box-accordion",2),_(3,"app-mdc-divider"),a(4,"div",3),I(5,$s,6,1,"div",4,N),c()()()}e&2&&(s("scrollingElement",n.scrollingElement),o(2),s("showButton",!0)("isHightLight",!0),o(3),B(n.highLights))},dependencies:[ce,yi,Ut],styles:[".highlights-container[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,1fr);gap:30px;padding:20px 5px 5px}.highlight-item[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:5px;width:100%}.highlight-values[_ngcontent-%COMP%]{padding-left:0;list-style:none;margin:0}"]});var Yo=Ti;var Di=class Di{constructor(t,e){this.templateRef=t;this.vcRef=e;this.context={$implicit:null,ngVar:null};this.hasView=!1}set ngVar(t){this.context.$implicit=this.context.ngVar=t,this.hasView||(this.vcRef.createEmbeddedView(this.templateRef,this.context),this.hasView=!0)}};Di.\u0275fac=function(e){return new(e||Di)(g(jn),g(Vt))},Di.\u0275dir=et({type:Di,selectors:[["","ngVar",""]],inputs:{ngVar:"ngVar"}});var Zo=Di;var lc=i=>({"mdc-typography--bold":i});function Hs(i,t){if(i&1&&(a(0,"div",1),_(1,"span",3),a(2,"span",4),m(3),c()()),i&2){let e=l();o(),me("color",e.displayTextHexColor),s("ngClass",e.deliveryRule!=null&&e.deliveryRule.allowPurchases?"ic-check":"ic-times"),o(),me("color",e.displayTextHexColor),o(),E(e.pdpDisplayText)}}function Ws(i,t){if(i&1&&(a(0,"div",2),_(1,"img",5),a(2,"p",6),m(3),c()()),i&2){let e=l();s("ngClass","beforeCurrentSeasonDelivery-header "+(e.currentSeasonInfo==null?null:e.currentSeasonInfo.season)),o(),s("src",e.currentSeasonInfo==null?null:e.currentSeasonInfo.imgSrc,H),o(2),x(" ",e.currentSeasonInfo==null?null:e.currentSeasonInfo.text," ")}}function Qs(i,t){if(i&1&&(a(0,"div",8),_(1,"span",20),a(2,"div",12)(3,"span",21),m(4),c(),m(5," \u03A3\u03B5 "),a(6,"span",22),m(7," BOX NOW Locker"),c(),_(8,"span",23),y(9,"deliveryPromiseText"),y(10,"promiseDateEmoji"),c()()),i&2){let e=l(2);o(4),E(e.calculateBoxNowCost()),o(2),s("ngClass",O(7,lc,!e.sellerPromiseText)),o(2),s("innerHTML",S(10,5,S(9,3,e.sellerPromiseText)),le)}}function qs(i,t){if(i&1){let e=P();a(0,"div",24),h("click",function(){C(e);let r=l(2);return v(r.openDialogInfo())}),a(1,"div"),m(2,"\u03AE \u0394\u03A9\u03A1\u0395\u0391\u039D \u03BC\u03B5 "),a(3,"span",25),m(4,"Public+ delivery"),c()(),_(5,"span",26),c()}}function Ks(i,t){if(i&1&&(a(0,"span",13),m(1),c()),i&2){let e=l(2);o(),x(" ",e.product==null?null:e.product.deliveryCostText)}}function Ys(i,t){if(i&1){let e=P();a(0,"a",28),h("click",function(){C(e);let r=l(3);return v(r.openDialogCartDeliveryOption())}),m(1),c()}if(i&2){let e=t.ngVar;o(),x(" ",e?"(\u03A4\u039A "+e+")":"(\u03B2\u03AC\u03BB\u03B5 \u03A4\u039A)"," ")}}function Zs(i,t){if(i&1&&(xe(0,Ys,2,1,"a",27),y(1,"async")),i&2){let e=l(2);s("ngVar",S(1,1,e.commonService.selectedZipCode$))}}function Xs(i,t){if(i&1&&(a(0,"div",17)(1,"strong"),m(2),c()()),i&2){let e=l(2);o(2),E(e.product==null||e.product.availability==null||e.product.availability.deliveryRule==null?null:e.product.availability.deliveryRule.inventoryAdditionalInfo)}}function Js(i,t){if(i&1&&(a(0,"span",2),y(1,"async"),a(2,"strong",34),m(3),y(4,"async"),c()()),i&2){let e,n,r=l(3);s("ngClass",(e=r.availabilityService.getPickupStatus(S(1,2,r.commonService.selectedStore$),r.product))==null?null:e.class),o(3),x("",(n=r.availabilityService.getPickupStatus(S(4,4,r.commonService.selectedStore$),r.product))==null?null:n.text," ")}}function ed(i,t){if(i&1&&(_(0,"span",30),y(1,"async"),y(2,"async"),y(3,"async"),y(4,"promiseDateEmoji")),i&2){let e,n=l(3);s("id",S(1,2,n.promiseId$))("innerHTML",S(4,8,n.handlePromiseText((n.product==null||n.product.availability==null||n.product.availability.storeRule==null?null:n.product.availability.storeRule.storePromiseText)||"",!S(2,4,n.userLoginStatus$)&&n.isB2B?"\u03BA\u03B1\u03C4\u03AC\u03C3\u03C4\u03B7\u03BC\u03B1 Public":(e=S(3,6,n.commonService.selectedStore$))==null?null:e.storeSlug)),le)}}function td(i,t){if(i&1){let e=P();a(0,"span",35),h("click",function(){C(e);let r=l(3);return v(r.openDialogInfoTooltip())}),c()}}function id(i,t){if(i&1){let e=P();a(0,"a",36),h("click",function(){C(e);let r=l(3);return v(r.openDialogCartStoreAvailability())}),a(1,"strong"),m(2,"\u0394\u03B9\u03B1\u03B8\u03B5\u03C3\u03B9\u03BC\u03CC\u03C4\u03B7\u03C4\u03B1 \u03B1\u03BD\u03AC \u03BA\u03B1\u03C4\u03AC\u03C3\u03C4\u03B7\u03BC\u03B1"),c()()}}
2function nd(i,t){if(i&1&&(m(0),y(1,"async")),i&2){let e=l(4);x(" ",S(1,1,e.commonService.selectedStore$).storeSlug," ")}}function od(i,t){if(i&1&&m(0),i&2){let e=l(4);x(" ",e.storeCount+" \u03BA\u03B1\u03C4\u03B1\u03C3\u03C4\u03AE\u03BC\u03B1\u03C4\u03B1"," ")}}function rd(i,t){if(i&1){let e=P();a(0,"div",33),m(1," \u03A0\u03B1\u03C1\u03B1\u03BB\u03B1\u03B2\u03AE \u03B1\u03C0\u03CC "),a(2,"a",37),h("click",function(){C(e);let r=l(3);return v(r.openDialogCartStoreAvailability())}),p(3,nd,2,3)(4,od,1,1),c()()}if(i&2){let e=l(3);o(3),u(e.storeCount<=e.storeNumberThreshold?3:4)}}function ad(i,t){if(i&1&&(a(0,"div",18),_(1,"span",29),a(2,"div",12),p(3,Js,5,6,"span",2),p(4,ed,5,10,"span",30),p(5,td,1,0,"span",31),c(),p(6,id,3,0,"a",32),p(7,rd,5,1,"div",33),c()),i&2){let e=l(2);o(3),u(e.isProductAvailableInStore&&!(!(e.product==null||e.product.availability==null||e.product.availability.deliveryRule==null)&&e.product.availability.deliveryRule.cyLinking)&&e.isStorePickUpAvailable?3:-1),o(),u(!(e.product==null||e.product.availability==null||e.product.availability.storeRule==null)&&e.product.availability.storeRule.storePromiseText?4:-1),o(),u(e.isStorePickUpAvailable?-1:5),o(),u(e.showSelectStoreLink?6:-1),o(),u(e.expressStorePickup&&e.storeCount!=null?7:-1)}}function cd(i,t){if(i&1){let e=P();a(0,"div",19),_(1,"span",29),a(2,"div",12)(3,"strong",38),m(4,"\u039C\u03B7 \u03B4\u03B9\u03B1\u03B8\u03AD\u03C3\u03B9\u03BC\u03BF "),c(),m(5,"\u03C3\u03B5 \u03BA\u03B1\u03C4\u03B1\u03C3\u03C4\u03AE\u03BC\u03B1\u03C4\u03B1 "),c(),a(6,"span",35),h("click",function(){C(e);let r=l(2);return v(r.openDialogInfoTooltip())}),c()()}}function ld(i,t){if(i&1&&(a(0,"div")(1,"div",7),p(2,Qs,11,9,"div",8),p(3,qs,6,0,"div",9),a(4,"div",10),_(5,"span",11),a(6,"div",12),p(7,Ks,2,1,"span",13),m(8," \u03A3\u03C4\u03BF\u03BD "),a(9,"span",14),m(10," \u03C7\u03CE\u03C1\u03BF \u03C3\u03BF\u03C5"),c(),_(11,"span",15),y(12,"deliveryPromiseText"),y(13,"promiseDateEmoji"),p(14,Zs,2,3,"a",16),c(),p(15,Xs,3,1,"div",17),c(),p(16,ad,8,5,"div",18),p(17,cd,7,0,"div",19),c()()),i&2){let e=l();o(2),u(!(e.product==null||e.product.boxNowRule==null)&&e.product.boxNowRule.eligibleForBoxNow?2:-1),o(),u(e.showSubscriptionPromo&&(!(e.product==null||e.product.boxNowRule==null)&&e.product.boxNowRule.eligibleForBoxNow)&&!e.isB2B?3:-1),o(4),u(e.product!=null&&e.product.deliveryCostText?7:-1),o(2),s("ngClass",O(13,lc,!e.sellerPromiseText)),o(2),s("innerHTML",S(13,11,S(12,9,e.sellerPromiseText)),le),o(3),u(e.showPostalCode?14:-1),o(),u(!(e.product==null||e.product.availability==null||e.product.availability.deliveryRule==null)&&e.product.availability.deliveryRule.inventoryAdditionalInfo?15:-1),o(),u(!(e.product==null||e.product.sku==null||e.product.sku.offerDto==null)&&e.product.sku.offerDto.shopName?-1:16),o(),u(!(e.product==null||e.product.sku==null||e.product.sku.offerDto==null)&&e.product.sku.offerDto.shopName?17:-1)}}var Ri=class Ri{constructor(t,e,n,r,d,b,w,k,T){this.platformId=t;this.modalService=e;this.commonService=n;this.dialog=r;this.scrollStrategyOptions=d;this.availabilityService=b;this.userStore=w;this.deviceStore=k;this.dialogService=T;this.storeNumberThreshold=7;this.currentSeasonInfo=null;this.shouldShowDeliveryInfo=!0;this.sellerPromiseText="";this.isStoreSelected=!1;this.isProductAvailableInStore=!0;this.isStorePickUpAvailable=!0;this.displayTextHexColor="";this.showSelectStoreLink=!0;this.expressStorePickup=!1;this.showPostalCode=!1;this.hideCost=!1;this.isMirakl=!1;this.pdpDisplayText="";this.isB2B=F.b2b;this.isCy=F.cyprus;this.viewport=$(this.deviceStore.selectViewport());this.innerWidth=f(()=>this.viewport()?.innerWidth??0);this.userLoginStatus$=this.userStore.selectUserLoginStatus();this.promiseId$=new En("spu-promise-date");this.destroy$=new se;this.commonService.selectedStore$.pipe(te(this.destroy$)).subscribe(W=>{this.isStoreSelected=!!W?.storeInventoryInfoDto})}get showSubscriptionPromo(){if(this.subscriptionThreshold===void 0)return!1;let t=this.product?.priceInfo?.salePrice>=this.subscriptionThreshold,e=(this.product?.boxNowRule?.boxNowCost??0)>0;
2return(!this.userStore.getUserLoginStatus()||!this.userStore.getUserHasActiveSubscription())&&t&&e}ngOnInit(){this.commonService.selectedZipCode$.pipe(te(this.destroy$)).subscribe(t=>{this.selectedZipCode=t}),this.hideCost=/\d/.test(this.product?.deliveryCostText)}ngOnChanges(t){if(!this.product)return;this.deliveryRule=this.product?.availability?.deliveryRule,this.pdpDisplayText=this.deliveryRule?.pdpDisplayText,this.displayTextHexColor=this.deliveryRule?.displayTextHexColor,this.isMirakl=this.product?.sku?.mirakl&&this.product?.sku?.offerDto?.shopName,this.storeCount=this.availabilityService.getStoreCount(this.product),this.showPostalCode=this.availabilityService.shouldShowPostalCode(this.product),this.sellerPromiseText=this.availabilityService.getSellerPromiseText(this.product,this.sellerPromiseDate),this.shouldShowDeliveryInfo=this.availabilityService.shouldShowDeliveryInfo(this.product),this.isStorePickUpAvailable=this.availabilityService.isStorePickUpAvailable(this.product),this.isProductAvailableInStore=this.availabilityService.isProductAvailableInStore(this.product),this.showSelectStoreLink=this.availabilityService.shouldShowSelectStoreLink(this.product);let e={sapHierarchy71:this.product?.sku?.hierarchy?.slice(0,2)==="71"};this.hasBeforeCurrentSeasonDelivery=this.availabilityService.beforeCurrentSeasonAndFirstDoorbellDelivery(this.deliveryRule,e)?.hasBeforeCurrentSeasonDelivery,this.currentSeasonInfo=this.availabilityService.beforeCurrentSeasonAndFirstDoorbellDelivery(this.deliveryRule)?.currentSeasonInfo,this.setSpuPromiseIdDynamically()}openDialogCartDeliveryOption(){let t={mode:"default"};this.modalService.open(t,"dialogCartDeliveryOption")}handlePromiseText(t,e){return this.availabilityService.handlePromiseText(t,e,this.isStorePickUpAvailable)}openDialogCartStoreAvailability(){let t={mode:"default",product:this.product};this.modalService.open(t,"storeAvailability")}calculateBoxNowCost(){let t;t=this.product?.boxNowRule?.boxNowCost;let e;return t==0?e="\u0394\u03A9\u03A1\u0395\u0391\u039D":e=this.product?.boxNowRule?.boxNowCost.toString()+"\u20AC",e}openDialogInfoTooltip(){this.dialogService.openMatDialogInfoTooltip({isMirakl:this.product.sku?.mirakl})}setSpuPromiseIdDynamically(){let t=this.product?.availability?.storeRule?.storePromiseText||"",e=this.isB2B?"\u03BA\u03B1\u03C4\u03AC\u03C3\u03C4\u03B7\u03BC\u03B1 Public":"";this.commonService.selectedStore$.pipe(we(1)).subscribe(n=>{this.isB2B||(e=n?.storeSlug),this.handlePromiseText(t,e).includes("\u03A3\u03B5 \u03BA\u03B1\u03C4\u03AC\u03C3\u03C4\u03B7\u03BC\u03B1 Public")?this.promiseId$.next("spu-default-promise"):this.promiseId$.next("spu-promise-date")})}openDialogInfo(){let t={subscriptionThreshold:this.subscriptionThreshold,isPdp:!0,pricing:this.subscriptionPrice};this.dialogService.openDialogPlusSubscriptionInfo(t)}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}};Ri.\u0275fac=function(e){return new(e||Ri)(g(X),g(ut),g(ve),g(Lt),g(ua),g(Da),g(ue),g(de),g(Y))},Ri.\u0275cmp=M({type:Ri,selectors:[["app-product-page-availability"]],inputs:{product:"product",sellerPromiseDate:"sellerPromiseDate",subscriptionThreshold:"subscriptionThreshold",subscriptionPrice:"subscriptionPrice"},features:[q],decls:4,vars:3,consts:[[1,"availability-card"],[1,"availability-header"],[3,"ngClass"],[1,"icon",3,"ngClass"],[1,"mdc-typography--subtitle2","mdc-typography--bold"],[3,"src"],[1,"mdc-typography--overline","mdc-typography--semi-bold"],[1,"availability-content"],[1,"boxnow-delivery"],[1,"subscription-promo"],[1,"home-delivery"],[1,"ic-truck-delivery"],[1,"mdc-typography--body2"],["id","hd-promise-cost",1,"text-success","mdc-typography--bold"],["id","hd-promise-text",3,"ngClass"],["id","hd-promise-date",1,"mdc-typography--bold",3,"innerHTML"],[1,"mdc-typography--subtitle2","postal-code"],[1,"mdc-typography--subtitle2","inventory-info"],[1,"store-pickup"],[1,"mrk-pickup"],[1,"ic-lockers"],["id","bn-promise-cost",1,"text-success","mdc-typography--bold"],["id","bn-promise-text",3,"ngClass"],["id","bn-promise-date",1,"mdc-typography--bold",3,"innerHTML"],[1,"subscription-promo",3,"click"],[1,"promo-logo"],["aria-hidden","true",1,"ic-arrow-right"],["class","mdc-typography--subtitle2 postal-code",3,"click",4,"ngVar"],[1,"mdc-typography--subtitle2","postal-code",3,"click"],[1,"ic-pdp-store"],[3,"id","innerHTML"],[1,"ic-info"],[1,"store-availability","mdc-typography--subtitle2"],[1,"express-pickup","mdc-typography--body2"],["id","spu-promise-store"],[1,"ic-info",3,"click"],[1,"store-availability","mdc-typography--subtitle2",3,"click"],[1,"store-availability","mdc-typography--bold",3,"click"],["id","spu-mrk-unavailable-promise"]],template:function(e,n){e&1&&(a(0,"div",0),p(1,Hs,4,6,"div",1),p(2,Ws,4,3,"div",2),p(3,ld,18,15,"div"),c()),e&2&&(o(),u(n.pdpDisplayText?1:-1),o(),u(n.hasBeforeCurrentSeasonDelivery&&!n.isMirakl?2:-1),o(),u(n.shouldShowDeliveryInfo?3:-1))},dependencies:[j,Zo,_e,So,yo],styles:["[_nghost-%COMP%] .availability-card[_ngcontent-%COMP%]{background-color:#f6f6f6;height:auto;border-radius:16px;padding:16px 12px;gap:10px;display:grid}[_nghost-%COMP%] .availability-content[_ngcontent-%COMP%]{gap:16px;display:flex;flex-direction:column;background-color:#fff;width:100%;height:max-content;border-radius:16px;padding:20px}[_nghost-%COMP%] .availability-header[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{font-size:16px;margin-right:5px}[_nghost-%COMP%] .availability-header[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]:before{font-weight:700}[_nghost-%COMP%] .ic-truck-delivery[_ngcontent-%COMP%], [_nghost-%COMP%] .ic-lockers[_ngcontent-%COMP%]{margin-right:5px;height:20px;font-size:20px}[_nghost-%COMP%] .ic-pdp-store[_ngcontent-%COMP%]{margin-right:5px;height:20px;font-size:18px}[_nghost-%COMP%] .boxnow-delivery[_ngcontent-%COMP%], [_nghost-%COMP%] .mrk-pickup[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:5px}[_nghost-%COMP%] .home-delivery[_ngcontent-%COMP%], [_nghost-%COMP%] .store-pickup[_ngcontent-%COMP%]{display:grid;align-items:flex-start;grid-template-columns:auto 1fr;gap:5px}[_nghost-%COMP%] .postal-code[_ngcontent-%COMP%], [_nghost-%COMP%] .store-availability[_ngcontent-%COMP%]{color:#1976d2;cursor:pointer;text-decoration:none;white-space:nowrap}[_nghost-%COMP%] .postal-code[_ngcontent-%COMP%]:hover, [_nghost-%COMP%] .store-availability[_ngcontent-%COMP%]:hover{text-decoration:underline}[_nghost-%COMP%] .store-availability[_ngcontent-%COMP%], [_nghost-%COMP%] .express-pickup[_ngcontent-%COMP%], [_nghost-%COMP%] .inventory-info[_ngcontent-%COMP%]{grid-column:2}[_nghost-%COMP%] .inventory-info[_ngcontent-%COMP%]{color:#666}[_nghost-%COMP%] .ic-info[_ngcontent-%COMP%]:hover{cursor:pointer}[_nghost-%COMP%] .beforeCurrentSeasonDelivery-header[_ngcontent-%COMP%]{width:max-content;border-radius:4px;display:flex;gap:6px;padding:4px 12px;align-items:center;color:#000000a3;background-color:#d2ead6}[_nghost-%COMP%] .beforeCurrentSeasonDelivery-header.easter[_ngcontent-%COMP%]{background-color:#d8e4ff}[_nghost-%COMP%] .subscription-promo[_ngcontent-%COMP%]{font-size:12px;font-weight:400;line-height:14px;display:flex;justify-content:space-between;background-color:#f8f7fa;padding:12px 10px;border-radius:8px;max-width:420px;margin-left:2dvh;cursor:pointer}@media screen and (max-width:468px){[_nghost-%COMP%] .subscription-promo[_ngcontent-%COMP%]{margin-left:0}}[_nghost-%COMP%] .subscription-promo[_ngcontent-%COMP%] .promo-logo[_ngcontent-%COMP%]{font-weight:700;color:#f15a23}[_nghost-%COMP%] .subscription-promo[_ngcontent-%COMP%] .ic-arrow-right[_ngcontent-%COMP%]:before{font-weight:700}[_nghost-%COMP%] .promise-gif.rocket{margin:-10px 0}"]});var Xo=Ri;var sd=["menuInstalments"],dd=["repairComp"],pd=i=>({"scroll-y":i});function ud(i,t){if(i&1&&(a(0,"div",11),m(1),c()),i&2){let e=l().$implicit;o(),ee(" ",e.amountPerInstallment,"\u20AC x ",e.numberOfInstallments," \u03AC\u03C4\u03BF\u03BA\u03B5\u03C2 \u03B4\u03CC\u03C3\u03B5\u03B9\u03C2 ")}}function md(i,t){if(i&1&&(a(0,"div",10),p(1,ud,2,2,"div",11),c()),i&2){let e=t.$index;o(),u(e?1:-1)}}function gd(i,t){if(i&1&&(a(0,"div",4)(1,"app-mdc-menu",7,0)(3,"div",8)(4,"div",9),I(5,md,2,1,"div",10,N),c()()()()),i&2){let e=l(2);o(5),B(e.product==null||e.product.priceInfo==null||e.product.priceInfo.allInstallments==null?null:e.product.priceInfo.allInstallments.allInstallments)}}function _d(i,t){if(i&1&&_(0,"app-product-action-size",12),i&2){let e=l().$implicit;s("variantGroup",e)}}function fd(i,t){if(i&1&&_(0,"app-product-action-color",12),i&2){let e=l().$implicit;s("variantGroup",e)}}function hd(i,t){if(i&1&&(p(0,_d,1,1,"app-product-action-size",12),p(1,fd,1,1,"app-product-action-color",12)),i&2){let e=t.$implicit;u(e.title!="\u03A7\u03C1\u03CE\u03BC\u03B1"?0:-1),o(),u(e.title=="\u03A7\u03C1\u03CE\u03BC\u03B1"?1:-1)}}function Cd(i,t){if(i&1&&(a(0,"div",5),bt(1,null,1),I(3,hd,2,2,null,null,N),c()),i&2){let e=l(2);s("ngClass",O(1,pd,e.isSticky)),o(3),B(e.product==null||e.product.sku==null?null:e.product.sku.variantGroups)}}function vd(i,t){if(i&1){let e=P();a(0,"app-product-action-actions",19),h("btnIntersectorTriggerEvent",function(r){C(e);let d=l(3);
2return v(d.btnIntersectorTrigger(r))}),c()}if(i&2){let e=l(3);s("product",e.product)("isMobile",e.isMobile)}}function bd(i,t){if(i&1&&_(0,"app-product-stores",20),i&2){let e=l(4);s("product",e.product)("addProPartnerMargin",!0)("trustedSellerText",!0)("trustedSellerReviews",!1)("smallFont",!0)}}function Pd(i,t){if(i&1&&(a(0,"div",21)(1,"strong"),m(2),c()()),i&2){let e=l(4);o(),me("color",e.product==null||e.product.availability==null||e.product.availability.deliveryRule==null?null:e.product.availability.deliveryRule.displayTextHexColor),o(),x(" ",e.inventoryAvailabilityMessage," ")}}function xd(i,t){if(i&1&&(p(0,bd,1,5,"app-product-stores",20),p(1,Pd,3,3,"div",21)),i&2){let e=l(3);u(!e.isServiceRepair&&!e.isCyprus&&(!(e.product==null||e.product.priceInfo==null)&&e.product.priceInfo.salePrice)?0:-1),o(),u(e.availabilityOfProduct?-1:1)}}function yd(i,t){if(i&1&&_(0,"app-product-highlights",14),i&2){let e=l(3);s("product",e.product)}}function Sd(i,t){if(i&1&&_(0,"app-product-page-availability",15),i&2){let e=l(3);s("product",e.product)("subscriptionThreshold",e.subscriptionThreshold)("subscriptionPrice",e.subscriptionPrice)("sellerPromiseDate",e.sellerPromiseDate)}}function Md(i,t){if(i&1&&_(0,"app-payment-methods",16),i&2){let e=l(3);s("componentCaller","Product-Action")("product",e.product)("klarnaOnSiteMsg",e.klarnaOnSiteMsg)("klarnaInstallment",e.klarnaInstallment)}}function Od(i,t){if(i&1){let e=P();a(0,"app-reusable-product-services",22),h("serviceSwitchChangeEvent",function(r){C(e);let d=l(3);return v(d.serviceSwitchChange(r))}),c()}if(i&2){let e=l(3);s("product",e.product)("hasSelectedZipCode",e.hasSelectedZipCode)}}function wd(i,t){if(i&1&&_(0,"app-product-eksikonomo",18),i&2){let e=l(3);s("specs",e.product==null||e.product.sku==null?null:e.product.sku.topSpecs)("category",e.category)("initialPrice",e.product==null||e.product.sku==null||e.product.sku.priceInfoDto==null?null:e.product.sku.priceInfoDto.salePrice)}}function kd(i,t){if(i&1&&(a(0,"div",6),p(1,vd,1,2,"app-product-action-actions",13),p(2,xd,2,2),p(3,yd,1,1,"app-product-highlights",14),p(4,Sd,1,4,"app-product-page-availability",15),p(5,Md,1,4,"app-payment-methods",16),p(6,Od,1,2,"app-reusable-product-services",17),p(7,wd,1,3,"app-product-eksikonomo",18),c()),i&2){let e=l(2);o(),u((!e.isB2B||e.isB2B&&!e.isMobile)&&(!(e.product==null||e.product.priceInfo==null)&&e.product.priceInfo.salePrice||!(e.product==null||e.product.sku==null)&&e.product.sku.unavailableSKU)?1:-1),o(),u(!(e.product==null||e.product.availability==null||e.product.availability.deliveryRule==null)&&e.product.availability.deliveryRule.uniqueStoreAssortment?-1:2),o(),u(e.isMobile?3:-1),o(),u(!(e.product==null||e.product.sku==null)&&e.product.sku.id&&e.availabilityOfProduct&&!(!(e.product==null||e.product.availability==null||e.product.availability.deliveryRule==null)&&e.product.availability.deliveryRule.uniqueStoreAssortment)?4:-1),o(),u(e.showPaymentMethods?5:-1),o(),u(!(e.product==null||e.product.sku==null||e.product.sku.services==null)&&e.product.sku.services.length?6:-1),o(),u(e.eligibleForRecycleVoucher&&!e.isCyprus?7:-1)}}function Id(i,t){if(i&1&&(a(0,"div",2)(1,"div",3),p(2,gd,7,0,"div",4),c(),p(3,Cd,5,3,"div",5),p(4,kd,8,7,"div",6),c()),i&2){let e=l();o(2),u(!(e.product==null||e.product.priceInfo==null||e.product.priceInfo.allInstallments==null)&&e.product.priceInfo.allInstallments.maxInstallments?2:-1),o(),u(!(!(e.product==null||e.product.sku==null)&&e.product.sku.mirakl)||!(e.product==null||e.product.sku==null)&&e.product.sku.mirakl&&(!(e.product==null||e.product.sku==null||e.product.sku.offers==null)&&e.product.sku.offers.length)?3:-1),o(),u(e.isServiceRepair?-1:4)}}var Ei=class Ei{constructor(t){this.cdref=t;this.destroy$=new se;this.eligibleForRecycleVoucher=!1;this.category="";this.isSticky=!1;this.getPrice=!1;this.isServiceRepair=!1;this.klarnaOnSiteMsg=!1;this.klarnaInstallment="";this.isMobile=!1;this.btnIntersectorTriggerEvent=new G;this.changeProductQuantityEvent=new G;
2this.serviceSwitchChangeEvent=new G;this.isCyprus=!1;this.isB2B=!1;this.showPaymentMethods=!1;this.isCyprus=F.cyprus,this.isB2B=F.b2b}ngOnInit(){this.isServiceRepair&&this.openRepairFormAsync()}btnIntersectorTrigger(t){this.btnIntersectorTriggerEvent.emit(t)}ngOnChanges(t){this.isServiceRepair&&!t?.product?.firstChange&&this.openRepairFormAsync(),this.cdref.markForCheck(),t.product&&(this.showPaymentMethods=this.shouldShowPaymentMethods(t?.product?.currentValue),this.product?.sku?.mirakl&&!this.product?.availability?.deliveryRule?.allowPurchases?(this.inventoryAvailabilityMessage="\u039C\u03B7 \u03B4\u03B9\u03B1\u03B8\u03AD\u03C3\u03B9\u03BC\u03BF",this.availabilityOfProduct=this.product?.availability?.deliveryRule?.allowPurchases):this.product?.sku?.unavailableSKU?(this.inventoryAvailabilityMessage="\u039C\u03B7 \u03B4\u03B9\u03B1\u03B8\u03AD\u03C3\u03B9\u03BC\u03BF",this.availabilityOfProduct=!1):this.product?.availability?.deliveryRule?.inStock&&!this.product?.availability?.deliveryRule?.allowPurchases?(this.inventoryAvailabilityMessage=this.product?.availability?.deliveryRule?.deliveryPromiseText.charAt(0).toUpperCase()+this.product?.availability?.deliveryRule?.deliveryPromiseText.slice(1),this.availabilityOfProduct=this.product?.availability?.deliveryRule?.allowPurchases):(this.inventoryAvailabilityMessage=this.product?.availability?.deliveryRule?.inventoryAdditionalInfo,this.availabilityOfProduct=this.product?.availability?.deliveryRule?.allowPurchases))}openRepairFormAsync(){return Hr(this,null,function*(){this.repairComp?.clear();let{ProductActionFormComponent:t}=yield import("./chunk-VAEEKWFT.js");this.repairForm=this.repairComp?.createComponent(t,void 0),this.repairForm?.instance&&(this.repairForm.instance.product=this.product),this.cdref.detectChanges()})}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}openMenuInstalments(){this.menuInstalments?.openMenu()}serviceSwitchChange(t){this.serviceSwitchChangeEvent.emit(t)}shouldShowPaymentMethods(t){return t?.paymentMethodDtos?.length?!!this.filterOutAppleGooglePay(t.paymentMethodDtos).length:!1}filterOutAppleGooglePay(t){return t.filter(e=>e.key!==oo)}};Ei.\u0275fac=function(e){return new(e||Ei)(g(ye))},Ei.\u0275cmp=M({type:Ei,selectors:[["app-product-action"]],viewQuery:function(e,n){if(e&1&&(oe(sd,5),oe(dd,5,Vt)),e&2){let r;re(r=ae())&&(n.menuInstalments=r.first),re(r=ae())&&(n.repairComp=r.first)}},inputs:{subscriptionThreshold:"subscriptionThreshold",subscriptionPrice:"subscriptionPrice",eligibleForRecycleVoucher:"eligibleForRecycleVoucher",category:"category",product:"product",isSticky:"isSticky",getPrice:"getPrice",isServiceRepair:"isServiceRepair",klarnaOnSiteMsg:"klarnaOnSiteMsg",klarnaInstallment:"klarnaInstallment",hasSelectedZipCode:"hasSelectedZipCode",isMobile:"isMobile",sellerPromiseDate:"sellerPromiseDate",invalidServices:"invalidServices"},outputs:{btnIntersectorTriggerEvent:"btnIntersectorTriggerEvent",changeProductQuantityEvent:"changeProductQuantityEvent",serviceSwitchChangeEvent:"serviceSwitchChangeEvent"},features:[q],decls:1,vars:1,consts:[["menuInstalments",""],["repairComp",""],[1,"product__actions__top"],[1,"d-flex","justify-content-end"],[1,"d-flex","justify-content-end","align-items-center","mt-n3","mt-sm-n4"],[1,"product__actions__scroll",3,"ngClass"],[1,"product__actions__bot"],["orientation","right"],[1,"p-3"],[1,"row","row-small"],[1,"col","col-12"],[1,"mdc-typography--body2"],[3,"variantGroup"],[1,"d-none","d-sm-block",3,"product","isMobile"],[3,"product"],[3,"product","subscriptionThreshold","subscriptionPrice","sellerPromiseDate"],[3,"componentCaller","product","klarnaOnSiteMsg","klarnaInstallment"],[3,"product","hasSelectedZipCode"],[3,"specs","category","initialPrice"],[1,"d-none","d-sm-block",3,"btnIntersectorTriggerEvent","product","isMobile"],[1,"d-none","d-sm-block","stores-my",3,"product","addProPartnerMargin","trustedSellerText","trustedSellerReviews","smallFont"],[1,"availabilityBox","mdc-typography--body2"],[3,"serviceSwitchChangeEvent","product","hasSelectedZipCode"]],template:function(e,n){e&1&&p(0,Id,5,3,"div",2),e&2&&u(!n.isServiceRepair&&(!(n.product==null||n.product.priceInfo==null)&&n.product.priceInfo.salePrice)||!(n.product==null||n.product.sku==null)&&n.product.sku.unavailableSKU?0:-1)},dependencies:[wa,j,qa,Qa,ai,go,Yo,Ko,Go,jo,Xo],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;height:fit-content}[_nghost-%COMP%] .product__price.product__price--initial[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{text-decoration:line-through}[_nghost-%COMP%] .product__price.product__price--discount[_ngcontent-%COMP%]{color:#009688}[_nghost-%COMP%] .product__price.product__price--final[_ngcontent-%COMP%]{color:#fe5900;font-size:24px;font-weight:700;font-family:var(--mdc-typography-font-family);min-height:34px;line-height:34px}[_nghost-%COMP%] .product__price.product__price--final[_ngcontent-%COMP%] sup[_ngcontent-%COMP%]{font-weight:400;font-size:12px}[_nghost-%COMP%] .product__actions__top[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:0}[_nghost-%COMP%] .product__actions__scroll[_ngcontent-%COMP%]{margin-right:-12px;padding-right:12px}[_nghost-%COMP%] .product__actions__bot[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:0}.sticky[_nghost-%COMP%] .product__actions__scroll[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1}[_nghost-%COMP%] .availabilityBox[_ngcontent-%COMP%]{background-color:#f6f6f6;border-radius:12px;padding:14px;display:flex;align-items:center}[_nghost-%COMP%] .stores-my[_ngcontent-%COMP%]{margin:20px 0}"]});var Jo=Ei;var Bd=(i,t)=>t.id;function Td(i,t){if(i&1&&(m(0),y(1,"formatPrice")),i&2){let e=l().$implicit;x(" (",S(1,1,e.price)," /\u03C4\u03BC\u03C7) ")}}function Dd(i,t){if(i&1){let e=P();a(0,"div",1)(1,"app-mdc-radio",2),h("change",function(){let r=C(e).$implicit,d=l();
2return v(d.changeVolumeDiscount(r.qty))}),c(),a(2,"p")(3,"span"),m(4),y(5,"formatPrice"),c(),p(6,Td,2,3),c()(),_(7,"app-mdc-divider")}if(i&2){let e=t.$implicit,n=l();o(),s("value",e.qty)("label",e.qty+(e.qty===1?" \u03C4\u03B5\u03BC\u03AC\u03C7\u03B9\u03BF":" \u03C4\u03B5\u03BC\u03AC\u03C7\u03B9\u03B1"))("checked",!!n.selectedQty&&e.qty===n.selectedQty),o(3),x(" ",S(5,5,e.qty>1?e.price*e.qty:e.price)," "),o(2),u(e.qty>1?6:-1)}}var Ai=class Ai{constructor(t,e){this.cdref=t;this.b2bStore=e;this.selectedQty=1;this.destroy$=new se}ngOnInit(){this.b2bStore.selectProductVolumeDiscountOptions().pipe(te(this.destroy$)).subscribe(t=>{t&&(this.pricePerQty=t)}),this.getProductVolumeDiscountQuantity()}changeVolumeDiscount(t){this.product.sku.quantity=t,this.b2bStore.changeVolumeDiscount(t)}getProductVolumeDiscountQuantity(){this.b2bStore.getSelectedProductVolumeDiscount().pipe(te(this.destroy$)).subscribe(t=>{!t&&this.product?.sku?.quantity!=1&&(this.selectedQty=0),t&&t.qty&&(this.selectedQty=t?.qty),this.cdref.markForCheck()})}trackById(t){return t}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}};Ai.\u0275fac=function(e){return new(e||Ai)(g(ye),g($e))},Ai.\u0275cmp=M({type:Ai,selectors:[["app-b2b-product-volume-discount"]],inputs:{product:"product"},decls:3,vars:0,consts:[[1,"volume-discount","py-2"],[1,"d-flex","justify-content-between","align-items-center","py-2"],["name","volume_discount",3,"change","value","label","checked"]],template:function(e,n){e&1&&(a(0,"div",0),I(1,Dd,8,7,null,null,Bd),c()),e&2&&(o(),B(n.pricePerQty))},dependencies:[Ua,Ut,ti],styles:[".volume-discount[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{gap:12px}.volume-discount[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:14px;font-weight:400;line-height:16px}.volume-discount[_ngcontent-%COMP%] p[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-weight:700}.volume-discount[_ngcontent-%COMP%] app-mdc-radio label{font-weight:700}"]});var er=Ai;var Rd=["menuAvailabilityInfo"],Vi=class Vi{constructor(){this.getPrice=!1}ngOnInit(){}openMenuAvailabilityInfo(){this.menuAvailabilityInfo?.openMenu()}};Vi.\u0275fac=function(e){return new(e||Vi)},Vi.\u0275cmp=M({type:Vi,selectors:[["app-product-availability-info"]],viewQuery:function(e,n){if(e&1&&oe(Rd,5),e&2){let r;re(r=ae())&&(n.menuAvailabilityInfo=r.first)}},inputs:{product:"product",getPrice:"getPrice"},decls:1,vars:0,consts:[[1,"d-flex","align-items-left","justify-content-left","flex-nowrap","pt-3","pb-2","pl-0"]],template:function(e,n){e&1&&ea(0,"div",0)},styles:[".green-color[_ngcontent-%COMP%], .ic-check[_ngcontent-%COMP%]{color:#009688!important}.info-point[_ngcontent-%COMP%]{top:-5px}"]});var tr=Vi;var Ed=["*"],Ad=(i,t)=>({selected:i,disabled:t}),Vd=i=>({selected:i});function Fd(i,t){if(i&1&&(a(0,"h2",3),m(1),c()),i&2){let e=l();o(),x(" ",e.product==null||e.product.sku==null?null:e.product.sku.titleSubtitle," ")}}function Nd(i,t){if(i&1){let e=P();a(0,"div",13),h("click",function(){C(e);let r=l();return v(!(r.product!=null&&r.product.compared)&&r.product.disableCompare?"":r.toggleCompare(r.product==null||r.product.sku==null?null:r.product.sku.id))}),_(1,"div",14),c()}if(i&2){let e=l();s("ngClass",ge(2,Ad,e.product==null?null:e.product.compared,e.product.disableCompare&&!(e.product!=null&&e.product.compared))),o(),s("ngClass",O(5,Vd,e.product==null?null:e.product.compared))}}function jd(i,t){if(i&1&&(a(0,"div",8)(1,"div",15),m(2," \u039A\u03A9\u0394\u0399\u039A\u039F\u03A3: "),a(3,"span"),m(4),c()()()),i&2){let e=l();o(4),E(e.product==null||e.product.sku==null?null:e.product.sku.id)}}function Ld(i,t){if(i&1&&_(0,"app-product-tags",11),i&2){let e=l();s("inPdp",!0)("ribbons",e.product==null||e.product.sku==null?null:e.product.sku.ribbons)("product",e.product)}}function Gd(i,t){if(i&1&&_(0,"app-product-availability-info",12),i&2){let e=l();s("product",e.product)("getPrice",e.getPrice)}}function zd(i,t){if(i&1&&(a(0,"div",16),_(1,"app-product-prices",17),c()),i&2){let e=l(2);o(),s("product",e.product)("sellerPrice",e.sellerPrice)("sellerOriginalPrice",e.sellerOriginalPrice)("noPadding",!0)("showYouWin",e.showYouWin)("showNoVatText",!!e.isB2B)("noMarginBottom",!!e.isB2B)}}function Ud(i,t){if(i&1&&p(0,zd,2,7,"div",16),i&2){let e=l();u(e.product&&!(!(e.product==null||e.product.sku==null)&&e.product.sku.unavailableSKU)&&(!(e.product==null||e.product.availability==null||e.product.availability.deliveryRule==null)&&e.product.availability.deliveryRule.allowPurchases||!(!(e.product==null||e.product.availability==null||e.product.availability.deliveryRule==null)&&e.product.availability.deliveryRule.allowPurchases)&&(!(e.product==null||e.product.availability==null||e.product.availability.deliveryRule==null)&&e.product.availability.deliveryRule.uniqueStoreAssortment))?0:-1)}}var Fi=class Fi{constructor(t,e,n,r){this.document=t;this.productInfoService=e;this.tagManagerService=n;this.productListService=r;this.getPrice=!1;this.hidePrices=!0;this.isB2B=F.b2b;this.productDisplayName="";this.showYouWin=!0;this.compVisible=!1;this.isFavorite=!1}ngOnInit(){this.product=this.productInfoService.checkIfCompared(this.product)}toggleFavorite(){this.isFavorite=!this.isFavorite}ngOnChanges(t){t.product&&(this.productDisplayName=this.productInfoService.getProductTitle(this.product),this.showYouWin=!this.productInfoService.hideYouWin(this.product))}toggleCompare(t){this.compVisible||(this.product?.compared?this.tagManagerService.removeFromComparison(t,this.product):this.tagManagerService.addToComparison(t,this.product),this.product.compared=!this.product.compared,this.compVisible=!0,ht(!0).pipe(Fn(2e3)).subscribe(()=>{this.compVisible=!1}),this.productListService.toggleCompare(this.product))}};Fi.\u0275fac=function(e){return new(e||Fi)(g(ie),g(Se),g(rt),g(Ue))},Fi.\u0275cmp=M({type:Fi,selectors:[["app-product-titles"]],inputs:{product:"product",getPrice
2:"getPrice",sellerPrice:"sellerPrice",sellerOriginalPrice:"sellerOriginalPrice",hidePrices:"hidePrices"},features:[tt([Se]),q],ngContentSelectors:Ed,decls:17,vars:17,consts:[[1,"d-flex"],[1,"col-10","text-left","pl-0"],[1,"mdc-typography--headline5","mdc-typography--bold","text-sm-left","product-title"],[1,"mdc-typography--body1","text-sm-left"],[1,"col-2","text-right","p-0","d-flex","mt-1"],[1,"d-flex",3,"ngClass"],[1,"wishlist"],["addToWishlist","","size","small",3,"product","color","icon"],[1,"d-flex","pt-3","product__sku"],[1,"d-flex","flex-column","flex-sm-row","pt-3"],[1,"col-12","text-left","pl-0",2,"min-height","74px",3,"ngClass"],[3,"inPdp","ribbons","product"],[3,"product","getPrice"],[1,"d-flex",3,"click","ngClass"],[1,"compare","ic-compare-new",3,"ngClass"],[1,"mdc-typography--overline","mdc-typography--text-disabled","text-sm-left"],[1,"col-12","col-sm-5","text-right","p-0"],["page","pdp",1,"pt-2",3,"product","sellerPrice","sellerOriginalPrice","noPadding","showYouWin","showNoVatText","noMarginBottom"]],template:function(e,n){e&1&&(Pt(),a(0,"div",0)(1,"div",1)(2,"h1",2),m(3),y(4,"nbspReplace"),c(),p(5,Fd,2,1,"h2",3),c(),a(6,"div",4),p(7,Nd,2,7,"div",5),a(8,"div",6),_(9,"app-mdc-icon-button",7),c()()(),p(10,jd,5,1,"div",8),a(11,"div",9)(12,"div",10),p(13,Ld,1,3,"app-product-tags",11),xt(14),p(15,Gd,1,2,"app-product-availability-info",12),c(),p(16,Ud,1,1),c()),e&2&&(o(3),x(" ",S(4,15,n.productDisplayName)," "),o(2),u(!(n.product==null||n.product.sku==null)&&n.product.sku.titleSubtitle?5:-1),o(2),u(n.product.sku.eligibleComparison?7:-1),o(2),s("product",n.product)("color",n.isFavorite?"secondary":"tertiary")("icon",n.product!=null&&n.product.favorite?"heart-filled":"heart-blank"),o(),u(n.product?10:-1),o(),me("min-height",!(!(n.product==null||n.product.sku==null)&&n.product.sku.unavailableSKU)&&(!(n.product==null||n.product.availability==null||n.product.availability.deliveryRule==null)&&n.product.availability.deliveryRule.allowPurchases)?"74px":"34px"),o(),me("min-height",!(!(n.product==null||n.product.sku==null)&&n.product.sku.unavailableSKU)&&(!(n.product==null||n.product.availability==null||n.product.availability.deliveryRule==null)&&n.product.availability.deliveryRule.allowPurchases)?"74px":"34px"),s("ngClass",n.hidePrices?"":"col-sm-7"),o(),u(!(n.product==null||n.product.sku==null||n.product.sku.ribbons==null)&&n.product.sku.ribbons.length?13:-1),o(2),u(!(n.product==null||n.product.sku==null)&&n.product.sku.id?15:-1),o(),u(n.hidePrices?-1:16))},dependencies:[Ht,Ba,j,ka,tr,_o,uo],styles:["@media(max-width:819.98px){.product-title[_ngcontent-%COMP%]{font-size:20px;line-height:24px}}[_nghost-%COMP%] .wishlist[_ngcontent-%COMP%]{background-color:#eeedf0;color:#5d5c61;height:30px;padding:0 4px;border-radius:100%;display:flex;align-items:center}[_nghost-%COMP%] .compare[_ngcontent-%COMP%]{display:flex;align-items:center;place-content:center;white-space:nowrap;transition:all .2s ease-in-out;margin:0 5px 0 0;padding:0 4px;gap:4px;border-radius:100%;height:30px;background-color:#eeedf0;color:#5d5c61}[_nghost-%COMP%] .compare[_ngcontent-%COMP%]:hover{cursor:pointer}[_nghost-%COMP%] .compare.selected[_ngcontent-%COMP%]{background-color:#007575;color:#fff}[_nghost-%COMP%] .compare.disabled[_ngcontent-%COMP%]{cursor:default;opacity:.6}[_nghost-%COMP%] .compare[_ngcontent-%COMP%]:before{font-size:22px}@media(max-width:819.98px){[_nghost-%COMP%] .compare[_ngcontent-%COMP%]:before{font-size:20px}}[_nghost-%COMP%] .ic-heart-blank:before{font-size:18px;color:#5d5c61}[_nghost-%COMP%] .ic-heart-filled:before{font-size:18px}[_nghost-%COMP%] .no-vat-text{margin:4px 0}"]});var ir=Fi;var $d=(i,t,e)=>({color:i,backgroundColor:t,cursor:e}),Hd=(i,t)=>({"popup-info-container--plp":i,"popup-info-container--plp--list":t});function Wd(i,t){if(i&1&&_(0,"img",3),i&2){let e=l(2);s("src",e.promoRibbon.image,H)}}function Qd(i,t){}function qd(i,t){if(i&1&&_(0,"img",3),i&2){let e=l(2);s("src","/assets/images/"+e.promoRibbon.image+".svg",H)}}function Kd(i,t){if(i&1&&p(0,Wd,1,1,"img",3)(1,Qd,0,0)(2,qd,1,1,"img",3),i&2){let e=l();u(e.promoRibbon.image.startsWith("http")?0:e.promoRibbon.image.startsWith("ic")?1:2)}}function Yd(i,t){if(i&1&&_(0,"div",2),i&2){let e=l();
2s("ngClass",ge(2,Hd,e.plp,e.plp&&e.list))("innerHTML",e.safePopupHtml,le)}}var Ni=class Ni{constructor(t){this.sanitizer=t;this.plp=!0;this.list=!1;this.showPopup=!1}get safePopupHtml(){return this.sanitizer.bypassSecurityTrustHtml(this.promoRibbon.popupInfoHtml)}togglePopupInfo(){this.showPopup=!this.showPopup}};Ni.\u0275fac=function(e){return new(e||Ni)(g(Ie))},Ni.\u0275cmp=M({type:Ni,selectors:[["product-ribbon-promo"]],inputs:{promoRibbon:"promoRibbon",plp:"plp",list:"list"},decls:5,vars:9,consts:[[1,"promo-ribbon-container",3,"click","ngStyle"],[1,"promo-ribbon-text",3,"title"],[1,"popup-info-container",3,"ngClass","innerHTML"],["alt","ribbon-img",3,"src"]],template:function(e,n){e&1&&(a(0,"div",0),h("click",function(){return(n.promoRibbon==null?null:n.promoRibbon.popupInfoHtml)&&n.togglePopupInfo()}),p(1,Kd,3,1),a(2,"span",1),m(3),c()(),p(4,Yd,1,5,"div",2)),e&2&&(s("ngStyle",jt(5,$d,(n.promoRibbon==null?null:n.promoRibbon.textColor)||null,(n.promoRibbon==null?null:n.promoRibbon.backgroundColor)||null,n.promoRibbon!=null&&n.promoRibbon.popupInfoHtml?"pointer":null)),o(),u(n.promoRibbon.image?1:-1),o(),s("title",(n.promoRibbon==null||n.promoRibbon.texts==null?null:n.promoRibbon.texts.el_GR)||(n.promoRibbon==null?null:n.promoRibbon.text)),o(),x(" ",(n.promoRibbon==null||n.promoRibbon.texts==null?null:n.promoRibbon.texts.el_GR)||(n.promoRibbon==null?null:n.promoRibbon.text)," "),o(),u(n.promoRibbon!=null&&n.promoRibbon.popupInfoHtml&&n.showPopup?4:-1))},dependencies:[Ve,j],styles:["[_nghost-%COMP%] .promo-ribbon-container[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;gap:5px;height:20px;padding:4px 8px;border-radius:4px;width:fit-content;max-width:108px;font-size:10px;font-weight:700}[_nghost-%COMP%] .promo-ribbon-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:17px;width:17px}[_nghost-%COMP%] .promo-ribbon-text[_ngcontent-%COMP%]{display:inline-block;max-width:108px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}[_nghost-%COMP%] .popup-info-container[_ngcontent-%COMP%]{position:fixed;transform:translateY(16px);z-index:1}[_nghost-%COMP%] .popup-info-container--plp[_ngcontent-%COMP%]{position:absolute}[_nghost-%COMP%] .popup-info-container--plp--list[_ngcontent-%COMP%]{top:0;left:8px}"]});var rr=Ni;var Zd=["myCarouselPreview"],Xd=["myCarouselPoints"],Jd=["myCarouselPointsMob"],ep=i=>({"d-md-block":i}),tp=i=>({"d-none":i}),sc=i=>({active:i}),ip=i=>({backgroundImage:i}),dc=(i,t)=>({"d-none":i,"d-flex":t});function np(i,t){if(i&1){let e=P();a(0,"ngu-tile")(1,"button",17),h("click",function(){let r=C(e).index,d=l();return d.changeMyCarouselPreviewImage(r),v(d.openDialogGallery(r,"photo"))}),_(2,"div",18),c()()}if(i&2){let e=t.$implicit,n=t.index,r=l(),d=Q(13);o(),s("title",r.product.sku.displayName+" thumb "+n)("ngClass",O(3,sc,n===d.activePoint())),o(),s("ngStyle",O(5,ip,"url("+e.thumbnail+")"))}}function op(i,t){if(i&1){let e=P();a(0,"button",19),h("click",function(){C(e);let r=l();return v(r.openDialogGallery(r.j,"photo"))}),a(1,"div",20),_(2,"img",21),a(3,"span",22),m(4),c()()()}if(i&2){let e=l();o(4),ee("+",e.photoCarouselItems.length>=3?e.photoCarouselItems.length-3:""," ",e.photoCarouselItems.length===1?"\u03B5\u03B9\u03BA\u03CC\u03BD\u03B1":"\u03B5\u03B9\u03BA\u03CC\u03BD\u03B5\u03C2")}}function rp(i,t){if(i&1){let e=P();a(0,"button",19),h("click",function(){C(e);let r=l();return v(r.openDialogGallery(r.j,"video"))}),a(1,"div",20),_(2,"img",23),a(3,"span",22),m(4),c()()()}if(i&2){let e=l();o(4),x("",e.videoCarouselItems.length," \u03B2\u03AF\u03BD\u03C4\u03B5\u03BF")}}function ap(i,t){if(i&1){let e=P();a(0,"img",26),h("click",function(){C(e);let r=l().index,d=l();return Q(6).moveTo(r),v(d.openDialogGallery(r,"photo"))}),c()}if(i&2){let e=l(),n=e.$implicit,r=e.index,d=l();s("alt",d.showPlaceHolderHeroImage?"Hero-image":d.product.sku.displayName+" image "+r)("src",d.showPlaceHolderHeroImage?"/assets/images/placeholder-hero.png":n.url1,H)}}function cp(i,t){if(i&1&&(a(0,"div",25),_(1,"product-ribbon-promo",27),c()),i&2){let e=l(2);o(),s("promoRibbon",e.promoRibbon)("plp",!1)}}function lp(i,t){if(i&1&&(a(0,"ngu-tile"),p(1,ap,1,2,"img",24),p(2,cp,2,2,"div",25),c()),i&2){let e=t.$implicit,n=l();o(),u(e!=null&&e.video?-1:1),o(),u(n.promoRibbon?2:-1)}}function sp(i,t){if(i&1){let e=P();a(0,"app-mdc-icon-button",28),h("click",function(){C(e);let r=l(),d=Q(13);return v(r.changeMyCarouselPointsMobbyArrows(d.activePoint(),!0))}),c()}if(i&2){l();let e=Q(13);
2s("ngClass",ge(1,dc,e.isLast(),!e.isLast()))}}function dp(i,t){if(i&1){let e=P();a(0,"app-mdc-icon-button",29),h("click",function(){C(e);let r=l(),d=Q(13);return v(r.changeMyCarouselPointsMobbyArrows(d.activePoint(),!1))}),c()}if(i&2){l();let e=Q(13);s("ngClass",ge(1,dc,e.isFirst(),!e.isFirst()))}}function pp(i,t){if(i&1){let e=P();a(0,"div",33)(1,"button",34),h("click",function(){let r=C(e).index,d=l(2);return v(d.changeMyCarouselPreviewImage(r))}),c()()}if(i&2){let e=t.index;l();let n=Q(3),r=l(),d=Q(13);o(),Pe("active",e==n.activePoint()),s("title",r.product.sku.displayName+" thumb "+e)("ngClass",O(4,sc,e===d.activePoint()))}}function up(i,t){if(i&1){let e=P();a(0,"button",19),h("click",function(){C(e);let r=l(2);return v(r.openDialogGallery(r.j,"photo"))}),a(1,"div",20),_(2,"img",21),a(3,"span",35),m(4),c()()()}if(i&2){let e=l(2);o(4),ee(" ",e.photoCarouselItems.length," ",e.photoCarouselItems.length===1?"\u03B5\u03B9\u03BA\u03CC\u03BD\u03B1":"\u03B5\u03B9\u03BA\u03CC\u03BD\u03B5\u03C2"," ")}}function mp(i,t){if(i&1){let e=P();a(0,"button",19),h("click",function(){C(e);let r=l(2);return v(r.openDialogGallery(r.j,"video"))}),a(1,"div",20),_(2,"img",23),a(3,"span",35),m(4),c()()()}if(i&2){let e=l(2);o(4),x("",e.videoCarouselItems.length," \u03B2\u03AF\u03BD\u03C4\u03B5\u03BF")}}function gp(i,t){if(i&1&&(a(0,"div",16)(1,"div",30)(2,"ngu-carousel",31,2),xe(4,pp,2,6,"div",32),c(),p(5,up,5,2,"button",10),p(6,mp,5,1,"button",10),c()()),i&2){let e=l();o(2),s("inputs",e.galleryPointsMob)("dataSource",e.photoCarouselItems),o(3),u(e.photoCarouselItems.length?5:-1),o(),u(e.videoCarouselItems.length?6:-1)}}var ji=class ji{constructor(t,e,n,r,d,b,w,k,T,W){this.document=t;this.platformId=e;this.modalService=n;this.utils=r;this.cdref=d;this.router=b;this.sanitizer=w;this.commonService=k;this.deviceService=T;this.deviceStore=W;this.changedbyArrows=!1;this.showMagnify=!0;this.galleryPreview={grid:{xs:1,sm:1,md:1,lg:1,all:0},gridBreakpoints:{sm:820,md:1080,lg:1360,xl:1920},load:1,slide:1,loop:!1,touch:!0,point:{visible:!0},velocity:.2};this.galleryPoints={grid:{xs:4,sm:4,md:4,lg:4,xl:4,all:0},slide:0,load:1,point:{visible:!1},loop:!1,touch:!0,vertical:{enabled:!0,height:390}};this.galleryPointsMob={grid:{xs:4,sm:4,md:4,lg:4,xl:4,all:0},gridBreakpoints:{sm:576,md:768,lg:992,xl:1200},load:4,slide:4,loop:!1,touch:!0,point:{visible:!1},velocity:.2,vertical:{enabled:!1,height:40}};this.carouselItems=[];this.photoCarouselItems=[];this.verticalPhotoCarouselItems=[];this.videoCarouselItems=[];this.viewport=$(this.deviceStore.selectViewport());this.isMobile=f(()=>this.getIsMobile())}ngOnInit(){this.commonService.loadProductFromSearchBar.next(!1),this.carouselItems=[]}ngAfterViewInit(){this.cdref.detectChanges()}ngOnChanges(t){t.product.currentValue!=t.product.previousValue&&(this.getMedia(),this.commonService.loadProductFromSearchBar.value&&(this.commonService.loadProductFromSearchBar.next(!1),this.reloadComponent()))}reloadComponent(){let t=this.router.url;this.router.navigateByUrl("/",{skipLocationChange:!0}).then(()=>{this.router.navigate([t])})}getMedia(){if(this.carouselItems=[],this.photoCarouselItems=[],this.videoCarouselItems=[],this.promoRibbon=this.product?.sku?.ribbons?.find(t=>t.placement==="promo"),this.product?.sku?.media?.galleryImages?.length?(this.carouselItems=this.product.sku.media.galleryImages,this.videoThumbnail=this.carouselItems[0].thumbnail):this.product?.sku?.media?.heroImage?.thumbnail&&(this.videoThumbnail=this.product?.sku?.media?.heroImage.thumbnail,this.product.sku.media.galleryImages=[{thumbnail:this.product?.sku?.media?.heroImage?.thumbnail,large:this.product?.sku?.media?.heroImage?.large,url1:this.product?.sku?.media?.heroImage?.url1}],this.carouselItems=this.product.sku.media.galleryImages),this.product?.sku?.media?.video){this.product.sku.media.video=this.product?.sku?.media?.video.replace("/watch?v=","/embed/");let t=this.sanitizer.bypassSecurityTrustResourceUrl(this.product.sku?.media?.video+"?autoplay=0"),e={thumbnail:t,large:t,url1:t,video:!0};this.carouselItems?.length?this.carouselItems.splice(1,0,e):this.carouselItems.push(e)}this.photoCarouselItems=this.carouselItems?.filter(t=>!t.video),this.videoCarouselItems=this.carouselItems?.filter(t=>t.video),this.verticalPhotoCarouselItems=this.photoCarouselItems.length===4?this.photoCarouselItems:this.carouselItems?.filter(t=>!t.video).slice(0,3),this.carouselItems?.length&&this.carouselItems[0].video&&(this.showMagnify=!1)}lazyload(t){let e=this.product?.sku?.media?.galleryImages;if(e&&this.carouselItems.length<e.length){let n=e[this.carouselItems.length];this.carouselItems.push(n)}}openDialogGallery(t,e){this.modalService.openMediaGallery.next(e),this.modalService.open({product:this.product,index:t},"productDialogGallery")}changeMyCarouselPreviewVideo(t){this.showMagnify=!1,this.myCarouselPreview.moveTo(t,!0)}changeMyCarouselPreviewImage(t){this.showMagnify=!0,this.myCarouselPreview.moveTo(t,!0)}changeMyCarouselPoints(t,e){if(this.changedbyArrows){this.changedbyArrows=!1;return}if(this.isMobile()&&e){let n=Math.floor(t/4);(n!==this.myCarouselPointsMob.activePoint()||this.myCarouselPointsMob.activePoint()<0)&&this.myCarouselPointsMob.moveTo(n)}else this.myCarouselPoints.moveTo(t)}changeMyCarouselPointsMobbyArrows(t,e){this.changedbyArrows=!0,t=e?t+1:t-1;let n=Math.floor(t/4);(n!==this.myCarouselPointsMob.activePoint()||this.myCarouselPointsMob.activePoint()<0)&&this.myCarouselPointsMob.moveTo(n)}getIsMobile(){let t=K(this.platformId),e=this.viewport();return t&&e?e.innerWidth<=1080:this.deviceService.isMobile()||this.deviceService.isTablet()}};ji.\u0275fac=function(e){return new(e||ji)(g(ie),g(X),g(ut),g(ze),g(ye),g(it),g(Ie),g(ve),g(pe),g(de))}
2,ji.\u0275cmp=M({type:ji,selectors:[["app-product-gallery"]],viewQuery:function(e,n){if(e&1&&(oe(Zd,5),oe(Xd,5),oe(Jd,5)),e&2){let r;re(r=ae())&&(n.myCarouselPreview=r.first),re(r=ae())&&(n.myCarouselPoints=r.first),re(r=ae())&&(n.myCarouselPointsMob=r.first)}},inputs:{product:"product",showPlaceHolderHeroImage:"showPlaceHolderHeroImage"},features:[q],decls:20,vars:20,consts:[["myCarouselPoints",""],["myCarouselPreview",""],["myCarouselPointsMob",""],[1,"product__gallery"],[1,"container","mobilePadding"],[1,"row","mt-2"],[1,"col-2","p-0","d-none",3,"ngClass"],[1,"product__gallery__points","desk-preview"],[3,"touchstart","touchmove","touchend","inputs","dataSource","ngClass"],[4,"nguCarouselDef"],[1,"product__gallery_button_dialog"],[1,"col","col-sm-12","col-md-10","col-lg-10","col-xl-10","text-center","center","fixedMobilePadding",3,"ngClass"],[1,"product__gallery__preview","vertical-middle"],[1,"p-0","px-sm-4",3,"touchstart","touchmove","touchend","inputs","dataSource"],["title","Next slide","NguCarouselNext","","icon","chevron-right","color","transparent","size","xlarge",1,"arrow-right-desk",3,"ngClass"],["title","Previous slide","NguCarouselPrev","","icon","chevron-left","color","transparent","size","xlarge",1,"arrow-left-desk",3,"ngClass"],[1,"w-100","d-md-none"],[1,"product__gallery_button",3,"click","title","ngClass"],[1,"slider-item",3,"ngStyle"],[1,"product__gallery_button_dialog",3,"click"],[1,"product__gallery_button_dialog--inner"],["src","/assets/images/gallery-button-photos.svg",1,"product__gallery_button_dialog--icon"],[1,"mdc-typography--caption"],["src","/assets/images/gallery-button-videos.svg",1,"product__gallery_button_dialog--icon"],[1,"product__gallery__image",3,"alt","src"],[1,"promo-ribbon-container"],[1,"product__gallery__image",3,"click","alt","src"],[3,"promoRibbon","plp"],["title","Next slide","NguCarouselNext","","icon","chevron-right","color","transparent","size","xlarge",1,"arrow-right-desk",3,"click","ngClass"],["title","Previous slide","NguCarouselPrev","","icon","chevron-left","color","transparent","size","xlarge",1,"arrow-left-desk",3,"click","ngClass"],[1,"product__gallery__points","mb-2","text-center"],[3,"inputs","dataSource"],["class","slider-pager d-flex",4,"nguCarouselDef"],[1,"slider-pager","d-flex"],[1,"slider-pager-item","animate","animate-out","active",3,"click","title","ngClass"],[1,"mdc-typography--overline","mdc-typography--regular"]],template:function(e,n){if(e&1){let r=P();a(0,"section",3)(1,"div",4)(2,"div",5)(3,"div",6)(4,"div",7)(5,"ngu-carousel",8,0),h("touchstart",function(b){return C(r),v(n.utils.setTouchStartX(b.touches[0].clientX))})("touchmove",function(b){return C(r),v(n.utils.checkTouchStartX(b.touches[0].clientX))})("touchend",function(){return C(r),v(n.utils.resetTouchStartX())}),xe(7,np,3,7,"ngu-tile",9),c(),p(8,op,5,2,"button",10),p(9,rp,5,1,"button",10),c()(),a(10,"div",11)(11,"div",12)(12,"ngu-carousel",13,1),h("touchstart",function(b){return C(r),v(n.utils.setTouchStartX(b.touches[0].clientX))})("touchmove",function(b){return C(r),v(n.utils.checkTouchStartX(b.touches[0].clientX))})("touchend",function(){return C(r),v(n.utils.resetTouchStartX())}),xe(14,lp,3,2,"ngu-tile",9),p(15,sp,1,4,"app-mdc-icon-button",14),y(16,"sliderBtn"),p(17,dp,1,4,"app-mdc-icon-button",15),y(18,"sliderBtn"),c()()(),p(19,gp,7,4,"div",16),c()()()}if(e&2){let r=Q(13);o(3),s("ngClass",O(16,ep,(n.carouselItems==null?null:n.carouselItems.length)>1)),o(2),s("inputs",n.galleryPoints)("dataSource",n.verticalPhotoCarouselItems)("ngClass",n.photoCarouselItems.length<3||n.photoCarouselItems.length===4?"vertical-carousel-height--"+n.photoCarouselItems.length:"vertical-carousel-height--3"),o(3),u(n.photoCarouselItems.length>3&&n.photoCarouselItems.length!=4?8:-1),o(),u(n.videoCarouselItems.length?9:-1),o(),s("ngClass",O(18,tp,(n.photoCarouselItems==null?null:n.photoCarouselItems.length)<1)),o(2),s("inputs",n.galleryPreview)("dataSource",n.photoCarouselItems),o(3),u(!n.isMobile&&S(16,12,r)?15:-1),o(2),u(!n.isMobile&&S(18,14,r)?17:-1),o(2),u(n.photoCarouselItems.length||n.videoCarouselItems.length?19:-1)}},dependencies:[j,Kt,Yt,qt,co,lo,Ve,Ht,rr,Sa],styles:["[_nghost-%COMP%] .vertical-carousel-height--1[_ngcontent-%COMP%]{max-height:125px!important}[_nghost-%COMP%] .vertical-carousel-height--2[_ngcontent-%COMP%]{max-height:250px!important}[_nghost-%COMP%] .vertical-carousel-height--3[_ngcontent-%COMP%]{max-height:300px!important}[_nghost-%COMP%] .vertical-carousel-height--4[_ngcontent-%COMP%]{max-height:390px!important}
2@media screen and (max-width:821px){[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .ngucarousel .ngucarousel-items{display:inline-flex}}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .slider-pager[_ngcontent-%COMP%]{position:relative;height:16px;display:flex;align-items:center;justify-content:center}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .slider-pager[_ngcontent-%COMP%] .slider-pager-item[_ngcontent-%COMP%]{cursor:pointer;border-radius:16px;margin:0 4px;width:6px;height:6px;padding:0;background-color:#a6a8ad;border:1px solid #a6a8ad}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .slider-pager[_ngcontent-%COMP%] .slider-pager-item[_ngcontent-%COMP%]:hover{background-color:#000000de;border-color:#000000de}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .slider-pager[_ngcontent-%COMP%] .slider-pager-item[_ngcontent-%COMP%]:focus{outline:none}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .slider-pager[_ngcontent-%COMP%] .slider-pager-item.active[_ngcontent-%COMP%]{background-color:#fe5900;border-color:#fe5900;width:12px}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery_button_dialog[_ngcontent-%COMP%]{position:relative;z-index:1;border-radius:4px;border:1px solid rgba(0,0,0,.12);display:block;min-width:82.01px;min-height:82.01px;cursor:pointer;margin:0 4px 8px;background-color:#ddd}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery_button_dialog[_ngcontent-%COMP%] .mdc-typography--overline{color:#000}@media(max-width:1079.98px){[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery_button_dialog[_ngcontent-%COMP%]{display:inline;border-radius:8px;min-width:60px;min-height:60px}}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery_button_dialog--inner[_ngcontent-%COMP%]{display:grid;gap:23%;align-content:center}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery_button_dialog--icon[_ngcontent-%COMP%]{min-width:39.03px;min-height:28px;justify-self:center}@media(max-width:1079.98px){[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery_button_dialog--icon[_ngcontent-%COMP%]{min-width:28.03px;min-height:20.11px}}@media screen and (max-width:821px){[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .mobilePadding[_ngcontent-%COMP%]{padding-left:8px;padding-right:8px}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .fixedMobilePadding[_ngcontent-%COMP%]{padding:1px}}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .desk-preview[_ngcontent-%COMP%]{height:510px}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .vertical-middle[_ng
2content-%COMP%]{top:50%;transform:translateY(-50%);vertical-align:middle;display:block;margin-right:auto;margin-left:auto;width:85%}@media screen and (max-width:821px){[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .vertical-middle[_ngcontent-%COMP%]{width:100%}}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__preview[_ngcontent-%COMP%]{min-height:85cqi;position:relative}@media(min-width:600px){[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__preview[_ngcontent-%COMP%]{min-height:60cqi}}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__preview[_ngcontent-%COMP%] .product__gallery__magnify[_ngcontent-%COMP%]{position:absolute;bottom:12px;cursor:pointer;z-index:1;left:50%;transform:translate(-50%)}@media(max-width:819.98px){[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__preview[_ngcontent-%COMP%] .product__gallery__magnify[_ngcontent-%COMP%]{bottom:40px}}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__preview[_ngcontent-%COMP%] ngu-carousel .ngucarousel{overflow:visible}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__preview[_ngcontent-%COMP%] ngu-carousel .ngu-touch-container{overflow:hidden}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__preview[_ngcontent-%COMP%] ngu-carousel .arrow-right-desk{position:absolute;top:47%;transform:translateY(-50%);z-index:1;left:100%}@media screen and (max-width:820px){[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__preview[_ngcontent-%COMP%] ngu-carousel .arrow-right-desk{left:90%;height:90%;z-index:10}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__preview[_ngcontent-%COMP%] ngu-carousel .arrow-right-desk .mdc-icon-button__icon{font-size:20px;visibility:hidden}}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__preview[_ngcontent-%COMP%] ngu-carousel .arrow-left-desk{position:absolute;top:47%;transform:translateY(-50%);z-index:1;right:107%}@media screen and (min-width:820px)and (max-width:1023px){[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__preview[_ngcontent-%COMP%] ngu-carousel .arrow-left-desk{right:105%}}@media screen and (min-width:1024px)and (max-width:1279px){[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__preview[_ngcontent-%COMP%] ngu-carousel .arrow-left-desk{right:109%}}@media screen and (min-width:1280px)and (max-width:1380px){[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__preview[_ngcontent-%COMP%] ngu-carousel .arrow-left-desk{right:108%}}@media screen and (min-width:1024px)and (max-height:600px){[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__preview[_ngcontent-%COMP%] ngu-carousel .arrow-left-desk{right:104%}}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__preview[_ngcontent-%COMP%] ngu-carousel .item{padding:0}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__preview[_ngcontent-%COMP%] ngu-carousel .tile{box-shadow:none;height:100%}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__preview[_ngcontent-%COMP%] ngu-carousel .slider-pager{position:relative;height:16px;bottom:-32px;display:flex;align-items:center;justify-content:center}@media(max-width:819.98px){[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__preview[_ngcontent-%COMP%] ngu-carousel .slider-pager{bottom:-48px}}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__preview[_ngcontent-%COMP%] ngu-carousel .slider-pager .slider-pager-item{cursor:pointer;border-radius:16px;margin:0 4px;width:16px;height:16px;padding:0;background-color:#fff;border:1px solid rgba(0,0,0,.12)}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__preview[_ngcontent-%COMP%] ngu-carousel .slider-pager .slider-pager-item:hover{background-color:#000000de;border-color:#000000de}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__preview[_ngcontent-%COMP%] ngu-carousel .slider-pager .slider-pager-item:focus{outline:none}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__preview[_ngcontent-%COMP%] ngu-carousel .slider-pager .slider-pager-item.active{background-color:#fe5900;border-color:#fe5900;width:32px}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__preview[_ngcontent-%COMP%] ngu-carousel ngu-tile .product__gallery__image{padding:0;border:none;width:100%;position:relative;cursor:pointer}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__preview[_ngcontent-%COMP%] ngu-carousel ngu-tile .product__gallery__image .img{width:100%;object-fit:contain;max-height:560px}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__preview[_ngcontent-%COMP%] ngu-carousel ngu-tile .product__gallery__image:focus{outline:none}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__preview[_ngcontent-%COMP%] ngu-carousel ngu-tile .product__gallery__video{padding:0;background-color:transparent;border:none;width:100%;height:100%}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__preview[_ngcontent-%COMP%] ngu-carousel ngu-tile .product__gallery__video iframe{width:100%;height:100%}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__preview[_ngcontent-%COMP%] ngu-carousel ngu-tile .slider-item{padding-top:100%;width:100%;background-size:contain;background-repeat:no-repeat;background-position:center}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__points[_ngcontent-%COMP%] ngu-carousel .ngucarousel{padding-top:25px;position:unset;overflow:visible}
2@media screen and (max-width:821px){[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__points[_ngcontent-%COMP%] ngu-carousel .ngucarousel{padding-top:0;padding-bottom:10px}}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__points[_ngcontent-%COMP%] ngu-carousel .ngucarousel-items{justify-content:center}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__points[_ngcontent-%COMP%] ngu-carousel .slider-button-prev{position:absolute;left:0;top:50%;transform:translateY(-50%);z-index:1}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__points[_ngcontent-%COMP%] ngu-carousel .slider-button-next{position:absolute;right:0;top:50%;transform:translateY(-50%);z-index:1}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__points[_ngcontent-%COMP%] ngu-carousel .slider-button-next-desk{position:absolute;left:17px;top:3%;transform:translateY(-50%);z-index:1}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__points[_ngcontent-%COMP%] ngu-carousel .slider-button-prev-desk{position:absolute;left:17px;top:485px;transform:translateY(-50%);z-index:1}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__points[_ngcontent-%COMP%] ngu-carousel .ngu-touch-container{max-height:450px;overflow:hidden}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__points[_ngcontent-%COMP%] ngu-carousel .item{padding:4px;height:100%}@media(min-width:1080px){[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__points[_ngcontent-%COMP%] ngu-carousel .item{width:90px;height:90px}}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__points[_ngcontent-%COMP%] ngu-carousel .tile{box-shadow:none;height:100%}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__points[_ngcontent-%COMP%] ngu-carousel ngu-tile .product__gallery_button{border-radius:4px;border:1px solid rgba(0,0,0,.12);display:block;width:100%;cursor:pointer;padding:4px;background-color:#fff}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__points[_ngcontent-%COMP%] ngu-carousel ngu-tile .product__gallery_button.product__gallery_button--video .slider-item{position:relative}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__points[_ngcontent-%COMP%] ngu-carousel ngu-tile .product__gallery_button.product__gallery_button--video .slider-item>*{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__points[_ngcontent-%COMP%] ngu-carousel ngu-tile .product__gallery_button:hover{border-color:#000}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__points[_ngcontent-%COMP%] ngu-carousel ngu-tile .product__gallery_button:focus{outline:none}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__points[_ngcontent-%COMP%] ngu-carousel ngu-tile .product__gallery_button.active{border-width:2px;border-color:#fe5900}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%] .product__gallery__points[_ngcontent-%COMP%] ngu-carousel ngu-tile .slider-item{padding-top:100%;width:100%;background-size:contain;background-repeat:no-repeat;background-position:center}[_nghost-%COMP%] .product__gallery__dialog[_ngcontent-%COMP%] ngu-carousel .ngucarousel{overflow:visible;padding:0 128px}[_nghost-%COMP%] .product__gallery__dialog[_ngcontent-%COMP%] ngu-carousel .slider-button-prev{position:absolute;left:0;top:50%;transform:translateY(-50%);z-index:1}[_nghost-%COMP%] .product__gallery__dialog[_ngcontent-%COMP%] ngu-carousel .slider-button-next{position:absolute;right:0;top:50%;transform:translateY(-50%);z-index:1}[_nghost-%COMP%] .product__gallery__dialog[_ngcontent-%COMP%] ngu-carousel .ngu-touch-container{overflow:hidden}[_nghost-%COMP%] .product__gallery__dialog[_ngcontent-%COMP%] ngu-carousel .ngucarousel-items{margin:0}[_nghost-%COMP%] .product__gallery__dialog[_ngcontent-%COMP%] ngu-carousel .item{padding:0;height:100%}[_nghost-%COMP%] .product__gallery__dialog[_ngcontent-%COMP%] ngu-carousel .tile{box-shadow:none;height:100%}[_nghost-%COMP%] .product__gallery__dialog[_ngcontent-%COMP%] ngu-carousel ngu-tile .slider-item{padding-top:100%;width:100%;background-size:contain;background-repeat:no-repeat;background-position:center}[_nghost-%COMP%] .mdc-dialog[_ngcontent-%COMP%] .mdc-dialog__surface[_ngcontent-%COMP%]{width:860px;max-width:860px;border-radius:0}@media(max-width:1079.98px){[_nghost-%COMP%] .mdc-dialog[_ngcontent-%COMP%] .mdc-dialog__surface[_ngcontent-%COMP%]{width:100vw;max-width:100vw}}[_nghost-%COMP%] .mdc-dialog[_ngcontent-%COMP%] .mdc-dialog__header[_ngcontent-%COMP%]{padding-bottom:0;justify-content:flex-end}.center[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.video-thumbnail[_ngcontent-%COMP%]{width:100%;height:100%;background-color:#0000001f}.promo-ribbon-container[_ngcontent-%COMP%]{position:absolute;bottom:13px;z-index:1} product-ribbon-promo .promo-ribbon-container{height:28px!important;font-size:14px!important;max-width:165px!important} product-ribbon-promo .promo-ribbon-text{max-width:165px!important}"],changeDetection:0});var ar=ji;var fp=["commentContainer"],hp=["reevooReviews"],Li=i=>({"d-none":i}),Lr=i=>({"flex-column":i}),Cp=i=>({"pt-2":i}),vp=i=>({"flex-column ":i}),bp=i=>({"col-8":i}),pc=i=>({"mr-1":i});function Pp(i,t){if(i&1&&(m(0),a(1,"span",36),m(2),c(),a(3,"div",37),m(4," \u03B1\u03C0\u03CC 5 "),c()),i&2){let e=l();x(" ",e.parseInt(e.productRating),"."),o(2),E(e.decimalAverageRating(e.productRating))}}function xp(i,t){if(i&1&&(a(0,"div",38),m(1),c(),a(2,"div",39),m(3," \u03B1\u03C0\u03CC 5 "),c()),i&2){let e=l();o(),x(" ",e.parseInt(e.productRating)," ")}}function yp(i,t){if(i&1&&(a(0,"div")(1,"div",40)(2,"span",41),m(3),c(),a(4,"div",42)(5,"div",43),_(6,"div",44),c(),a(7,"div",45)(8,"div",38),m(9),c()()()()()),i&2){let e=t.$implicit,n=l();o(),s("ngClass",O(5,vp,n.isMobile())),o(2),E(e.name),o(3),me("width",e.rating*20,"%"),o(3),x(" ",e.rating," ")}}function Sp(i,t){if(i&1){let e=P();a(0,"app-mdc-select-field",46),h("changeSelection",function(r){C(e);let d=l();
2return v(d.onOptionSelected(r))}),c()}if(i&2){let e=l();s("list",e.sortingOptions)("value",e.selectedOption)}}function Mp(i,t){i&1&&(a(0,"span",67),m(1,"\u039F \u03B1\u03BE\u03B9\u03BF\u03BB\u03BF\u03B3\u03B7\u03C4\u03AE\u03C2 \u03B4\u03B5\u03BD \u03AC\u03C6\u03B7\u03C3\u03B5 \u03BA\u03B1\u03BD\u03AD\u03BD\u03B1 \u03C3\u03C7\u03CC\u03BB\u03B9\u03BF"),c())}function Op(i,t){if(i&1&&(a(0,"span",68),m(1),c()),i&2){let e=l().$implicit;s("limitTo",150),o(),E(e.generalPoints)}}function wp(i,t){i&1&&_(0,"span",69)}function kp(i,t){if(i&1&&(a(0,"span",68),m(1),c()),i&2){let e=l().$implicit;s("limitTo",150),o(),E(e.goodPoints)}}function Ip(i,t){i&1&&_(0,"span",70)}function Bp(i,t){if(i&1&&(a(0,"span",68),m(1),c()),i&2){let e=l().$implicit;s("limitTo",150),o(),E(e.badPoints)}}function Tp(i,t){if(i&1&&(a(0,"div",47)(1,"div",50)(2,"div",51)(3,"div")(4,"span"),m(5),c(),a(6,"span",36),m(7),c()(),a(8,"span",52),m(9,"\u03B1\u03C0\u03CC 5"),c()()(),a(10,"div",53)(11,"div",54)(12,"div",55)(13,"div",56)(14,"div",57)(15,"div",58)(16,"h4",59),m(17),c()(),a(18,"div",60),_(19,"app-product-rating",61),a(20,"span",62),m(21),c()()()()(),a(22,"div",63)(23,"h4",64),m(24),c()()(),a(25,"div",65)(26,"div",66),p(27,Mp,2,0,"span",67),p(28,Op,2,2,"span",68),p(29,wp,1,0,"span",69),p(30,kp,2,2,"span",68),c(),a(31,"div",66),p(32,Ip,1,0,"span",70),p(33,Bp,2,2,"span",68),c()()(),a(34,"div",71)(35,"div",72)(36,"span",73),m(37,"\u0395\u03C0\u03B9\u03B2\u03B5\u03B2\u03B1\u03B9\u03C9\u03BC\u03AD\u03BD\u03B7 \u03B1\u03B3\u03BF\u03C1\u03AC: "),c(),a(38,"span",74),m(39),c()(),a(40,"div",72)(41,"span",73),m(42,"\u0394\u03B7\u03BC\u03BF\u03C3\u03B9\u03B5\u03CD\u03B8\u03B7\u03BA\u03B5 \u03C3\u03C4\u03B9\u03C2: "),c(),a(43,"span",74),m(44),c()()()()),i&2){let e=t.$implicit,n=l(2);o(5),E(e.rating),o(2),x(" ",e.rating%1!==0?(e.rating%1).toFixed(1):""," "),o(3),s("ngClass",O(25,bp,!n.isMobile())),o(2),s("ngClass",O(27,Li,!n.isMobile())),o(5),E(e.customerName),o(2),s("averageRating",e.rating)("totalReviews",e.rating)("showReviews",!1)("showRating",!1)("addPaddingTop",!1),o(2),x("",e.rating," \u03B1\u03C0\u03CC 5"),o(2),s("ngClass",O(29,Li,n.isMobile())),o(),x(" ",e.customerName," "),o(3),u(!e.goodPoints&&!e.badPoints&&!e.generalPoints?27:-1),o(),u(e.generalPoints?28:-1),o(),u(e.goodPoints?29:-1),o(),u(e.goodPoints?30:-1),o(2),u(e.badPoints?32:-1),o(),u(e.badPoints?33:-1),o(2),s("ngClass",O(31,Lr,!n.isMobile())),o(),s("ngClass",O(33,pc,n.isMobile())),o(3),x("",e.purchaseDate," "),o(),s("ngClass",O(35,Lr,!n.isMobile())),o(),s("ngClass",O(37,pc,n.isMobile())),o(3),E(e.commentDate)}}function Dp(i,t){if(i&1){let e=P();a(0,"span",75),h("click",function(){let r=C(e).$implicit,d=l(2);return v(d.changePage(r))}),m(1),c()}if(i&2){let e=t.$implicit,n=l(2);Pe("active",e===n.currentPage),o(),E(e)}}function Rp(i,t){if(i&1&&(a(0,"div",35,3),I(2,Tp,45,39,"div",47,N),a(4,"div",48),I(5,Dp,2,3,"span",49,N),c()()),i&2){let e=l();o(2),B(e.sortedComments),o(3),B(e.getPageNumbers())}}var Gi=class Gi{constructor(t,e,n,r,d,b,w){this.document=t;this.platformId=e;this.reevooReviewsService=n;this.reevooReviewsApiService=r;this.cdref=d;this.deviceService=b;this.deviceStore=w;this.directiveScroll=new G;this.title="\u0391\u03BE\u03B9\u03BF\u03BB\u03BF\u03B3\u03AE\u03C3\u03B5\u03B9\u03C2";this.showAllReviews=!0;this.buttonText="\u0391\u03C0\u03CC\u03BA\u03C1\u03C5\u03C8\u03B7 \u03CC\u03BB\u03C9\u03BD \u03C4\u03C9\u03BD \u03B2\u03B1\u03B8\u03BC\u03BF\u03BB\u03BF\u03B3\u03B9\u03CE\u03BD";this.totalReviews=0;this.selectedOption="newest";this.currentPage=1;this.errorSKU=!1;this.productRating=0;this.ratingsSummary=[];this.sortingOptions=[{title:"\u03A0\u03BB\u03AD\u03BF\u03BD \u03C0\u03C1\u03CC\u03C3\u03C6\u03B1\u03C4\u03B5\u03C2",value:"newest"},{title:"\u03A7\u03B1\u03BC\u03B7\u03BB\u03CC\u03C4\u03B5\u03C1\u03B7 \u03B2\u03B1\u03B8\u03BC\u03BF\u03BB\u03BF\u03B3\u03AF\u03B1",value:"asc"},{title:"\u03A5\u03C8\u03B7\u03BB\u03CC\u03C4\u03B5\u03C1\u03B7 \u03B2\u03B1\u03B8\u03BC\u03BF\u03BB\u03BF\u03B3\u03AF\u03B1",value:"desc"}];this.averageFacetsRating=0;this.viewport=$(this.deviceStore.selectViewport());this.isMobile=f(()=>this.getIsMobile());this.destroy$=new se}ngOnInit(){this.reevooReviewsApiService.getReviewsSummary(this.product?.sku?.id).pipe(we(1)).subscribe(t=>{this.ratingsSummary=this.reevooReviewsService.constructRatingAttributes(t?.ratingSummary?.rating?.product?.attributes)})}ngAfterViewInit(){this.onOptionSelected("newest"),this.commentContainerRef&&(this.commentContainerRef.nativeElement.scrollTop=-1)}ngOnChanges(){this.productRating=this.averageRating?this.averageRating:0}toggleActive(){this.showAllReviews=!this.showAllReviews,this.buttonText=this.showAllReviews?"\u0391\u03C0\u03CC\u03BA\u03C1\u03C5\u03C8\u03B7 \u03CC\u03BB\u03C9\u03BD \u03C4\u03C9\u03BD \u03B2\u03B1\u03B8\u03BC\u03BF\u03BB\u03BF\u03B3\u03B9\u03CE\u03BD":"\u03A0\u03C1\u03BF\u03B2\u03BF\u03BB\u03AE \u03CC\u03BB\u03C9\u03BD \u03C4\u03C9\u03BD \u03B2\u03B1\u03B8\u03BC\u03BF\u03BB\u03BF\u03B3\u03B9\u03CE\u03BD"}onScroll(t){this.directiveScroll.emit(t)}getReviews(t,e){this.reevooReviewsApiService.getReviews(t,e).pipe(te(this.destroy$)).subscribe(n=>{this.reviewsData=n.reviews,this.facets=this.reviewsData?.reviews[0]?.products,this.totalReviews=this.reviewsData?.summary?.meta.count,this.comments=this.reevooReviewsService.constructUserCommentsFromReviews(n.reviews.reviews),this.sortedComments=this.comments,this.nextPage=this.reevooReviewsService.getNextAndPreviousPage(this.reviewsData?.summary?.meta?.current_page)?.next_page,this.previousPage=this.reevooReviewsService.getNextAndPreviousPage(this.reviewsData?.summary?.meta?.current_page)?.previous_page,this.totalPages=this.reviewsData?.summary?.meta?.pages,this.currentPage=this.reviewsData?.summary?.meta?.current_page,this.cdref.detectChanges()},n=>{console.error(n),console.error("Reviews not found for the given SKU"),this.errorSKU=!0})}changePage(t){this.currentPage=t,this.reevooReviews?.nativeElement.scrollIntoView({behavior:"smooth"}),this.getReviews(this.product.sku.id,this.currentPage)}getPageNumbers(){let t=[],n=Math.max(1,this.currentPage-Math.floor(2.5)),r=Math.min(n+5-1,this.totalPages);for(let d=n;d<=r;d++)t.push(d);return t}isDecimal(t){return t%1!==0}parseInt(t){return parseInt(t.toString())}decimalAverageRating(t){return parseInt(t.toFixed(1).toString().substring(t.toString().indexOf(".")+1))}onOptionSelected(t){this.selectedOption=t,this.comments&&(this.sortedComments=[...this.comments],t==="asc"?this.sortedComments.sort((e,n)=>e.rating-n.rating):t==="desc"?this.sortedComments.sort((e,n)=>n.rating-e.rating):t==="newest"&&(this.sortedComments=[...this.comments]))}getInitialReviews(){this.getReviews(this.product.sku.id,this.currentPage)}getIsMobile(){let t=K(this.platformId),e=this.viewport();return t&&e?e.innerWidth<=820:this.deviceService.isMobile()}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}};Gi.\u0275fac=function(e){return new(e||Gi)(g(ie),g(X),g(Aa),g(ho),g(ye),g(pe),g(de))},Gi.\u0275cmp=M({type:Gi,selectors:[["app-reusable-product-reevoo-reviews"]],viewQuery:function(e,n){if(e&1&&(oe(fp,7),oe(hp,5)),e&2){let r;
2re(r=ae())&&(n.commentContainerRef=r.first),re(r=ae())&&(n.reevooReviews=r.first)}},inputs:{product:"product",scrollingElement:"scrollingElement",averageRating:"averageRating"},outputs:{directiveScroll:"directiveScroll"},features:[q],decls:51,vars:28,consts:[["scrolledToElement","detectScroll"],["mainContainer",""],["reevooReviews",""],["commentContainer",""],["id","reusable-product-reevoo-reviews","tabId","reusable-product-reevoo-reviews","detectScroll","",3,"scrolledTo","appIntersection","title","scrollingElement"],[1,"reevoo__title--rating"],[1,"content","d-flex","justify-content-center"],[1,"col","col-12","reevoo__main--container","py-2","px-0!"],[1,"col","d-flex","flex-column","reevoo__featured--container-gap"],[1,"d-flex","align-items-center","reevoo__header","py-2"],[1,"col","col-auto","d-flex","flex-column","align-items-baseline","parent-container"],[1,"reevoo__header--public-logo"],["src","/assets/images/logo-public.png","alt","public","width","94px","height","20px"],[1,"reevooReview-header-text","p-1"],[1,"mdc-typography--body4"],[1,"col","col-auto","d-flex","flex-column","align-items-start"],[1,"mdc-typography--regular","reevooReview-text"],["src","/assets/images/feefo_logo_yellow.png","alt","reevoo","width","69px","height","20px"],[1,"ml-4","mdc-typography--bold","mdc-typography--subtitle2","reevooReview-review-text",3,"ngClass"],[1,"d-flex","flex-column","reevoo__featured--container-gap","my-3"],[1,"col","col-12","mdc-typography--headline6","mdc-typography--bold","text-center"],[1,"col"],[1,"d-flex","justify-content-center","align-items-center",3,"ngClass"],[1,"col","col-auto","d-flex","flex-column","reevoo__featured--image"],["alt","thumbnail",1,"product-thumbnail",3,"src"],[1,"mdc-typography--body1","reevooReview-product-thumbnail-text","text-center",3,"ngClass"],[1,"col","col-4",3,"ngClass"],[1,"mdc-typography--headline3","reevooReview-product-thumbnail-review","important-text"],[1,"d-flex","flex-column","reevoo__featured--ratings",3,"ngClass"],[1,"d-flex","col","reevoo__reviews","flex-column","reevooReview-comment","px-0"],[1,"reevoo__reviews--toggle-button","d-flex","col","justify-content-between","header","p-3"],["icon","menu","variant","default",3,"onClick","label"],[1,"reevoo__reviews--filter","d-flex","align-items-center"],[1,"col-auto","mdc-typography--body2",3,"ngClass"],[3,"list","value"],[1,"d-flex","flex-column","reevoo__reviews--inner-container"],[1,"rating"],[1,"mdc-typography--body1","reevooReview-product-thumbnail-review-text","important-text","pl-2"],[1,"mdc-typography--headline3","reevooReview-product-thumbnail-review-int"],[1,"mdc-typography--body1","reevooReview-product-thumbnail-review-text","important-text"],[1,"d-flex","align-items-center","justify-content-end","reevoo__featured--progress-container",3,"ngClass"],[1,"mdc-typography--caption","progress-bar-text"],[1,"d-flex","align-items-center"],[1,"d-flex","flex-column","progress-bar-container"],[1,"progress-bar"],[1,"mdc-typography--headline3","progress-bar-rating",2,"transform","scale(0.3)"],[3,"changeSelection","list","value"],[1,"d-flex","justify-content-around","col","reevoo__reviews--container"],[1,"d-flex","align-items-center","justify-content-center","pagination"],[3,"active"],[1,"col","col-2","reevoo__reviews--rating"],[1,"mdc-typography--headline4","reevooReview-product-thumbnail-review","d-flex","flex-column","align-items-center"],[1,"mdc-typography--body2","reevooReview-product-thumbnail-review-text"],[1,"col","d-flex","flex-column","reevoo__reviews--body",3,"ngClass"],[1,"align-items-center","justify-content-between"],[3,"ngClass"],[1,"reevoo__reviews--header"],[1,"d-flex","justify-content-between"],[1,"col","p-0"],[1,"mdc-typography--body1"],[1,"d-flex","flex-column","align-items-end"],[3,"averageRating","totalReviews","showReviews","showRating","addPaddingTop"],[1,"mdc-typography--caption"],[1,"col","col-12","pl-0"],[1,"mdc-typography--body1",3,"ngClass"],[1,"d-flex","flex-column","reevoo__reviews--body-container"],[1,"d-flex","reevoo__reviews--body-text"],[1,"mdc-typography--body2"],[1,"mdc-typography--body2",3,"limitTo"],[1,"text-primary","ic-plus"],[1,"ic-minus"],[1,"col","d-flex","flex-column","reevoo__reviews--dates"],[1,"d-flex","align-items-end",3,"ngClass"],[1,"mdc-typography--caption","reevoo__reviews--dates-wording",3,"ngClass"],[1,"mdc-typography--caption","reevoo__reviews--dates-date"],[3,"click"]],template:function(e,n){if(e&1){let r=P();a(0,"app-mdc-accordion",4,0),h("scrolledTo",function(b){return C(r),v(n.onScroll(b))})("appIntersection",function(b){return C(r),v(b.isIntersecting&&n.getInitialReviews())}),_(2,"div",5),a(3,"div",6)(4,"div",7,1)(6,"div",8)(7,"div",9)(8,"div",10)(9,"div",11),_(10,"img",12),c(),a(11,"div",13)(12,"div",14),m(13,"REVIEWS"),c()()(),a(14,"div",15)(15,"span",16),m(16,"Powered by"),c(),_(17,"img",17),c(),a(18,"div",18),m(19," \u0391\u03BE\u03B9\u03BF\u03BB\u03BF\u03B3\u03B7\u03C3\u03B5\u03B9\u03C2 \u03A0\u03B5\u03BB\u03B1\u03C4\u03C9\u03BD "),c()(),a(20,"div",19)(21,"div",20)(22,"span"),m(23),c(),a(24,"span"),m(25,"feefo "),c()(),a(26,"div",21)(27,"div",22)(28,"div",23),_(29,"img",24),a(30,"div",25),m(31),_(32,"br"),m(33,"\u03B1\u03BE\u03B9\u03BF\u03BB\u03BF\u03B3\u03AE\u03C3\u03B5\u03B9\u03C2 "),c()(),a(34,"div",26)(35,"div",27),p(36,Pp,5,2)(37,xp,4,1),c()(),a(38,"div",21)(39,"div",28),I(40,yp,10,7,"div",null,N),c()()()()()(),a(42,"div",29,2)(44,"div",30)(45,"app-mdc-button",31),h("onClick",function(){return C(r),v(n.toggleActive())}
2),c(),a(46,"div",32)(47,"span",33),m(48,"\u03A4\u03B1\u03BE\u03B9\u03BD\u03CC\u03BC\u03B7\u03C3\u03B7 \u03BA\u03B1\u03C4\u03AC:"),c(),p(49,Sp,1,2,"app-mdc-select-field",34),c()(),p(50,Rp,7,0,"div",35),c()()()()}e&2&&(s("title",n.title)("scrollingElement",n.scrollingElement),o(18),s("ngClass",O(16,Li,n.isMobile())),o(5),x(" \u039F\u03B9 \u03BA\u03C1\u03B9\u03C4\u03B9\u03BA\u03AD\u03C2 \u03B3\u03B9\u03B1 \u03C4\u03BF ",n.product.sku==null?null:n.product.sku.displayName," \u03C3\u03C5\u03BB\u03BB\u03AD\u03B3\u03BF\u03BD\u03C4\u03B1\u03B9 \u03B1\u03C0\u03CC \u03C4\u03B7\u03BD "),o(4),s("ngClass",O(18,Lr,n.isMobile())),o(2),s("src",Te(n.product.sku==null||n.product.sku.media==null||n.product.sku.media.heroImage==null?null:n.product.sku.media.heroImage.thumbnail),H),o(),s("ngClass",O(20,Li,n.isMobile())),o(),x(" ",n.totalReviews," \u03B5\u03C0\u03B1\u03BB\u03B7\u03B8\u03B5\u03C5\u03BC\u03AD\u03BD\u03B5\u03C2"),o(3),s("ngClass",O(22,Li,n.isMobile())),o(2),u(n.isDecimal(n.productRating)?36:37),o(3),s("ngClass",O(24,Cp,n.isMobile())),o(),B(n.ratingsSummary),o(5),s("label",n.buttonText),o(2),s("ngClass",O(26,Li,n.isMobile())),o(2),u(n.isMobile()?-1:49),o(),u(n.showAllReviews?50:-1))},dependencies:[j,ce,he,Xt,zt,mo,Ja,Ta],styles:["[_nghost-%COMP%] .product-rating{cursor:default}[_nghost-%COMP%] .product-rating .product-rating__star{padding-right:6px}.hidden[_ngcontent-%COMP%]{display:none}.reevoo__featured--container-gap[_ngcontent-%COMP%]{gap:20px}.reevoo__featured--image[_ngcontent-%COMP%], .reevoo__featured--ratings[_ngcontent-%COMP%]{gap:10px}.reevoo__featured--progress-container[_ngcontent-%COMP%]{gap:20px}@media(max-width:820px){.reevoo__featured--progress-container[_ngcontent-%COMP%]{gap:0px}}.reevoo__title--rating[_ngcontent-%COMP%]{position:relative;top:-65px;left:190px;z-index:2;width:30%}@media(max-width:400px){.reevoo__title--rating[_ngcontent-%COMP%]{width:120px;left:165px}}.reevoo__reviews[_ngcontent-%COMP%]{gap:10px}.reevoo__reviews--header[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:10px}.reevoo__reviews--filter[_ngcontent-%COMP%] app-mdc-select-field .mdc-select{background:#fff;border:none;border-radius:4px;box-shadow:0 1px 3px #c0c0c080}.reevoo__reviews--filter[_ngcontent-%COMP%] app-mdc-select-field .mdc-select .mdc-select__selected-text, .reevoo__reviews--filter[_ngcontent-%COMP%] app-mdc-select-field .mdc-select .mdc-select__dropdown-icon{font-size:14px;font-weight:600;line-height:16px;line-height:26px}.reevoo__reviews--filter[_ngcontent-%COMP%] app-mdc-select-field .mdc-select.mdc-select--outlined .mdc-notched-outline [class^=mdc-notched-outline__]{border:none!important}.reevoo__reviews--filter[_ngcontent-%COMP%] app-mdc-select-field .mdc-select .mdc-list-item:hover{color:#fff;background-color:#1976d2;background-color:#000}.reevoo__reviews--filter[_ngcontent-%COMP%] app-mdc-select-field .mdc-select .mdc-list-item .mdc-list-item__text{margin:auto}.reevoo__reviews--filter[_ngcontent-%COMP%] app-mdc-select-field .mdc-select ::-webkit-scrollbar{display:none}.reevoo__reviews--filter[_ngcontent-%COMP%] app-mdc-select-field .mdc-select .mdc-select__dropdown-icon{color:#000000de;color:#000;margin:0 6px 0 -6px;font-size:20px!important;width:20px!important;height:20px!important}.reevoo__reviews--filter[_ngcontent-%COMP%] app-mdc-select-field .mdc-select .mdc-select__dropdown-icon .mdc-select__dropdown-icon-graphic{display:none}.reevoo__reviews--filter[_ngcontent-%COMP%] app-mdc-select-field .mdc-select .mdc-select__anchor{padding-left:0}.reevoo__reviews--filter[_ngcontent-%COMP%] app-mdc-select-field .mdc-select .mdc-select__anchor .mdc-select__selected-text{padding-left:12px;padding-right:12px}.reevoo__reviews--container[_ngcontent-%COMP%]{border-bottom:1px solid #ddd;padding:26px}@media(max-width:820px){.reevoo__reviews--container[_ngcontent-%COMP%]{flex-direction:column!important;padding:13px 0}}.reevoo__reviews--toggle-button[_ngcontent-%COMP%] app-mdc-button .mdc-button{background:#fff;border:none;border-radius:4px;box-shadow:0 1px 3px #c0c0c080}.reevoo__reviews--toggle-button[_ngcontent-%COMP%] app-mdc-button .mdc-button span.mdc-button__icon{opacity:.3}.reevoo__reviews--toggle-button[_ngcontent-%COMP%] app-mdc-button .mdc-button span.mdc-button__label{font-size:14px;font-weight:600;line-height:16px}@media(max-width:820px){.reevoo__reviews--rating[_ngcontent-%COMP%]{display:none}}.reevoo__reviews--dates[_ngcontent-%COMP%]{gap:4px}.reevoo__reviews--dates-wording[_ngcontent-%COMP%]{text-align:right;color:#999}.reevoo__reviews--dates-date[_ngcontent-%COMP%]{color:#666}.reevoo__reviews--body[_ngcontent-%COMP%]{gap:10px;padding-bottom:10px}.reevoo__reviews--body-container[_ngcontent-%COMP%]{gap:15px}.reevoo__reviews--body-text[_ngcontent-%COMP%]{gap:12px}.important-text[_ngcontent-%COMP%]{text-align:left!important}
2.reevoo-quotes-name[_ngcontent-%COMP%]{width:20px;height:24px}.product-thumbnail[_ngcontent-%COMP%]{width:130px;height:130px;border:1px solid #f2f2f2}.reevoo-quotes[_ngcontent-%COMP%]{width:30px;height:24px;margin-bottom:30px;margin-left:-8px;position:relative}.userProsSign-path[_ngcontent-%COMP%]{stroke:#494545;stroke-linecap:round;stroke-width:2}.userConsSign-path[_ngcontent-%COMP%]{stroke:#d0d0d0;stroke-linecap:round;stroke-width:2}.reevoo__main--container[_ngcontent-%COMP%]{background:#fff;border-radius:8px;box-shadow:0 14px 24px #0000000d}.reevoo__header[_ngcontent-%COMP%]{background:#fff;box-shadow:0 6px 6px #0000000d}.reevooReview-content[_ngcontent-%COMP%]{position:absolute;height:358px}.public-header-logo[_ngcontent-%COMP%]{flex:none;order:0;flex-grow:0}.reevooReview-header-text[_ngcontent-%COMP%]{background:#009688;border-radius:4px;color:#fff}.reevooReview-text[_ngcontent-%COMP%]{color:#898989;font-size:8px;margin-left:6px}.reevooReview-header-logo[_ngcontent-%COMP%]{margin-left:-18px}.reevooReview-review-text[_ngcontent-%COMP%]{color:#f15b22;text-transform:uppercase}.reevooReview-review-question[_ngcontent-%COMP%]{color:#000;text-transform:uppercase;cursor:pointer;margin-bottom:2px}.reevooReview-product-thumbnail-text[_ngcontent-%COMP%]{color:#000;line-height:22px}.progress-bar-text[_ngcontent-%COMP%]{flex:none}.progress-bar-container[_ngcontent-%COMP%]{width:280px;background:#e6e5e5;border-radius:2px}.progress-bar[_ngcontent-%COMP%]{height:4px;background:#f15b22;border-radius:2px}.progress-bar-rating[_ngcontent-%COMP%]{width:24px;height:24px;display:flex;align-items:center;text-align:center;color:#f15b22}.reevooReview-product-thumbnail-review[_ngcontent-%COMP%]{color:#f15b22}.reevooReview-product-thumbnail-review[_ngcontent-%COMP%] .rating[_ngcontent-%COMP%]{font-size:90%}.reevooReview-product-thumbnail-review-int[_ngcontent-%COMP%]{color:#f15b22}.reevooReview-product-thumbnail-review-text[_ngcontent-%COMP%]{color:#000}.header[_ngcontent-%COMP%]{background-color:#f7f7f4}.reevooReview-comment[_ngcontent-%COMP%] .boxSelector[_ngcontent-%COMP%]{box-shadow:0 1px 3px #c0c0c080;border:none;height:40px;letter-spacing:-.2px;background-color:#fff;font-size:13px;color:#000}.userNameAddition[_ngcontent-%COMP%]{color:#5d5c5c;line-height:14px}.reevooReview-comment[_ngcontent-%COMP%] .userBuyDate[_ngcontent-%COMP%]{color:#5d5c5c}.pagination[_ngcontent-%COMP%]{color:#666;background-color:#f7f7f4}.pagination[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:5px 0;padding:5px 10px;cursor:pointer}.pagination[_ngcontent-%COMP%] span.active[_ngcontent-%COMP%]{color:#fff;background-color:#666;border-radius:2px;border:1px solid transparent}.pagination[_ngcontent-%COMP%] span.active[_ngcontent-%COMP%]:hover{border:1px solid #f2f2f2;background-color:#666}.pagination[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-child{border-top-left-radius:5px;border-bottom-left-radius:5px}.pagination[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:last-child{border-top-right-radius:5px;border-bottom-right-radius:5px}.pagination[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:hover{background-color:#fff}.learnMore[_ngcontent-%COMP%]{color:#1976d2;text-decoration:none;border:0;background:none;cursor:pointer;border-bottom:1px solid transparent;font-family:var(--font-family-regular);padding:0 0 0 4px}"],changeDetection:0});var cr=Gi;var Ep=i=>({expanded:i});function Ap(i,t){if(i&1){let e=P();a(0,"div",25),h("click",function(){C(e);let r=l().$implicit,d=l();return v(d.toggleReviewExpansion(r.id))}),m(1," \u0394\u03B5\u03AF\u03C4\u03B5 \u03C0\u03B5\u03C1\u03B9\u03C3\u03C3\u03CC\u03C4\u03B5\u03C1\u03B1 "),c()}}function Vp(i,t){if(i&1){let e=P();a(0,"div",26),h("click",function(){C(e);let r=l().$implicit,d=l();return v(d.toggleReviewExpansion(r.id))}),m(1," \u0394\u03B5\u03AF\u03C4\u03B5 \u03BB\u03B9\u03B3\u03CC\u03C4\u03B5\u03C1\u03B1 "),c()}}function Fp(i,t){if(i&1&&(a(0,"div",6)(1,"div",8),_(2,"img",9),c(),a(3,"div",10)(4,"div",11)(5,"div",12),m(6),c(),a(7,"div",13),m(8),c()(),a(9,"div",14)(10,"div",15),m(11),c(),a(12,"div",16),m(13),c(),_(14,"div",17),c(),a(15,"div",18),_(16,"app-rating-stars",19),c(),a(17,"div",20)(18,"div",21),m(19),c(),a(20,"div",22,1),m(22),c(),p(23,Ap,2,0,"div",23),p(24,Vp,2,0,"div",24),c()()()),i&2){let e=t.$implicit,n=Q(21),r=l();o(2),s("src",e!=null&&e.profilepic?e==null?null:e.profilepic:"./../assets/images/generic-user-image.svg",H),o(4),x("ID #",e.id," |"),o(2),x("\u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1: ",e.date),o(3),E(e.name),o(2),x("| ",e.numreviews," \u03BA\u03C1\u03B9\u03C4\u03B9\u03BA\u03AD\u03C2"),o(3),s("rating",e.bookRating)("fiveStars",!1)("color","primary"),o(3),E(e.reviewTitle),o(),s("ngClass",O(13,Ep,r.isReviewExpanded(e.id))),o(2),x(" ",e.reviewBody," "),o(),u(r.checkIfOverflown(n)&&!r.isReviewExpanded(e.id)?23:-1),o(),u(r.isReviewExpanded(e.id)?24:-1)}}function Np(i,t){if(i&1){let e=P();a(0,"div",27),h("click",function(){C(e);let r=l();return v(r.toggleShowMore())}),m(1),c()}if(i&2){let e=l();o(),x(" ",e.showAllReviews?"\u0394\u03B5\u03C2 \u03BB\u03B9\u03B3\u03CC\u03C4\u03B5\u03C1\u03B5\u03C2 \u03BA\u03C1\u03B9\u03C4\u03B9\u03BA\u03AD\u03C2":"\u0394\u03B5\u03C2 \u03C0\u03B5\u03C1\u03B9\u03C3\u03C3\u03CC\u03C4\u03B5\u03C1\u03B5\u03C2 \u03BA\u03C1\u03B9\u03C4\u03B9\u03BA\u03AD\u03C2"," ")}}
2var zi=class zi{constructor(){this.directiveScroll=new G;this.expandedReviews=new Set;this.title="\u03A4\u03B9 \u03B5\u03AF\u03C0\u03B1\u03BD \u03BF\u03B9 \u0392\u03BF\u03BF\u03BA Friends";this.showAllReviews=!1;this.LINE_HEIGHT=24;this.MAX_LINES=5;this.MAX_HEIGHT=this.LINE_HEIGHT*this.MAX_LINES}get displayedReviews(){return this.bookReviews?this.showAllReviews?this.bookReviews:this.bookReviews.slice(0,5):[]}ngOnInit(){}ngOnChanges(){this.averageRating!=null&&(this.averageRating=Number(this.averageRating.toFixed(1)))}onScroll(t){this.directiveScroll.emit(t)}toggleShowMore(){this.showAllReviews=!this.showAllReviews}toggleReviewExpansion(t){this.expandedReviews.has(t)?this.expandedReviews.delete(t):this.expandedReviews.add(t)}isReviewExpanded(t){return this.expandedReviews.has(t)}checkIfOverflown(t){return t.scrollHeight>this.MAX_HEIGHT}};zi.\u0275fac=function(e){return new(e||zi)},zi.\u0275cmp=M({type:zi,selectors:[["app-reusable-product-book-reviews"]],inputs:{bookReviews:"bookReviews",averageRating:"averageRating",numOfReviews:"numOfReviews",scrollingElement:"scrollingElement"},outputs:{directiveScroll:"directiveScroll"},features:[q],decls:11,vars:6,consts:[["scrolledToElement","detectScroll"],["reviewBody",""],["id","reusable-product-book-reviews","tabId","reusable-product-book-reviews","detectScroll","",3,"scrolledTo","title","scrollingElement"],[1,"content-card","content","rating"],[1,"mdc-typography--headline6","mdc-typography--bold"],[1,"ic-star-filled"],[1,"content-card","content"],[1,"show-more-reviews"],[1,"card-image"],["alt","","width","72","height","72",1,"image",3,"src"],[1,"card-review"],[1,"review-info"],[1,"review-id"],[1,"review-date"],[1,"user-info"],[1,"user-name"],[1,"user-reviews-count"],[1,"lover-badge"],[1,"rating-stars"],[3,"rating","fiveStars","color"],[1,"review-text"],[1,"review-title"],[1,"review-body",3,"ngClass"],[1,"show-more-btn"],[1,"show-less-btn"],[1,"show-more-btn",3,"click"],[1,"show-less-btn",3,"click"],[1,"show-more-reviews",3,"click"]],template:function(e,n){if(e&1){let r=P();a(0,"app-mdc-accordion",2,0),h("scrolledTo",function(b){return C(r),v(n.onScroll(b))}),a(2,"div",3)(3,"div",4),m(4),_(5,"span",5),c(),a(6,"div",4),m(7),c()(),I(8,Fp,25,15,"div",6,N),p(10,Np,2,1,"div",7),c()}e&2&&(s("title",n.title)("scrollingElement",n.scrollingElement),o(4),x(" ",n.averageRating,"/10 "),o(3),ee(" (",n.numOfReviews," ",n.numOfReviews&&n.numOfReviews>1?" \u039A\u03C1\u03B9\u03C4\u03B9\u03BA\u03AD\u03C2":" \u039A\u03C1\u03B9\u03C4\u03B9\u03BA\u03AE",") "),o(),B(n.displayedReviews),o(2),u(n.bookReviews&&n.bookReviews.length>5?10:-1))},dependencies:[j,he,ce,fo],styles:["[_nghost-%COMP%] .content-card[_ngcontent-%COMP%]{border-radius:8px;height:auto;display:flex;margin-top:16px;padding:24px}@media screen and (max-width:820px){[_nghost-%COMP%] .content-card[_ngcontent-%COMP%]{flex-direction:column}}[_nghost-%COMP%] .content-card.rating[_ngcontent-%COMP%]{gap:12px;padding:16px 24px}@media screen and (max-width:820px){[_nghost-%COMP%] .content-card.rating[_ngcontent-%COMP%]{justify-content:center;flex-direction:row}}[_nghost-%COMP%] .content-card.rating[_ngcontent-%COMP%] .ic-star-filled[_ngcontent-%COMP%]:before{transform:translateY(-5px);color:var(--main-orange);font-size:14px}[_nghost-%COMP%] .content-card[_ngcontent-%COMP%] .card-image[_ngcontent-%COMP%]{display:flex;justify-content:center}@media screen and (max-width:820px){[_nghost-%COMP%] .content-card[_ngcontent-%COMP%] .card-image[_ngcontent-%COMP%]{padding-bottom:12px}}[_nghost-%COMP%] .content-card[_ngcontent-%COMP%] .card-image[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{border-radius:50%;object-fit:cover}[_nghost-%COMP%] .content-card[_ngcontent-%COMP%] .card-review[_ngcontent-%COMP%]{flex-direction:column;padding-left:24px;display:flex;gap:15px}@media screen and (max-width:820px){[_nghost-%COMP%] .content-card[_ngcontent-%COMP%] .card-review[_ngcontent-%COMP%]{align-items:center;padding-left:0}}[_nghost-%COMP%] .content-card[_ngcontent-%COMP%] .card-review[_ngcontent-%COMP%] .review-info[_ngcontent-%COMP%]{font-size:12px;font-weight:400;line-height:14px;font-weight:600;color:#8d8f94;display:flex;gap:5px}[_nghost-%COMP%] .content-card[_ngcontent-%COMP%] .card-review[_ngcontent-%COMP%] .user-info[_ngcontent-%COMP%]{display:flex;align-items:center;color:#424447;font-size:12px;font-weight:400;line-height:14px;font-weight:600;gap:6px}@media screen and (max-width:500px){[_nghost-%COMP%] .content-card[_ngcontent-%COMP%] .card-review[_ngcontent-%COMP%] .user-info[_ngcontent-%COMP%]{flex-wrap:wrap;justify-content:center}}[_nghost-%COMP%] .content-card[_ngcontent-%COMP%] .card-review[_ngcontent-%COMP%] .user-info[_ngcontent-%COMP%] .lover-badge[_ngcontent-%COMP%]{background-image:url(/assets/images/book-lover.png);width:68px;height:23px}[_nghost-%COMP%] .content-card[_ngcontent-%COMP%] .card-review[_ngcontent-%COMP%] .review-text[_ngcontent-%COMP%]{color:#315177;font-size:16px;font-weight:600;line-height:19px}@media screen and (max-width:820px){[_nghost-%COMP%] .content-card[_ngcontent-%COMP%] .card-review[_ngcontent-%COMP%] .review-text[_ngcontent-%COMP%]{text-align:center}}[_nghost-%COMP%] .content-card[_ngcontent-%COMP%] .card-review[_ngcontent-%COMP%] .review-text[_ngcontent-%COMP%] .review-title[_ngcontent-%COMP%]{font-weight:700;margin-bottom:12px}[_nghost-%COMP%] .content-card[_ngcontent-%COMP%] .card-review[_ngcontent-%COMP%] .review-text[_ngcontent-%COMP%] .review-body[_ngcontent-%COMP%]{font-weight:400;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden;line-height:24px;max-height:120px}[_nghost-%COMP%] .content-card[_ngcontent-%COMP%] .card-review[_ngcontent-%COMP%] .review-text[_ngcontent-%COMP%] .review-body.expanded[_ngcontent-%COMP%]{-webkit-line-clamp:unset;max-height:none;display:block}[_nghost-%COMP%] .content-card[_ngcontent-%COMP%] .card-review[_ngcontent-%COMP%] .review-text[_ngcontent-%COMP%] .show-more-btn[_ngcontent-%COMP%], [_nghost-%COMP%] .content-card[_ngcontent-%COMP%] .card-review[_ngcontent-%COMP%] .review-text[_ngcontent-%COMP%] .show-less-btn[_ngcontent-%COMP%]{font-size:14px;font-weight:600;line-height:16px;background:none;border:none;color:var(--cart-blue);padding:8px 0;cursor:pointer;margin-top:8px}[_nghost-%COMP%] .content-card[_ngcontent-%COMP%] .card-review[_ngcontent-%COMP%] .review-text[_ngcontent-%COMP%] .show-more-btn[_ngcontent-%COMP%]:hover, [_nghost-%COMP%] .content-card[_ngcontent-%COMP%] .card-review[_ngcontent-%COMP%] .review-text[_ngcontent-%COMP%] .show-less-btn[_ngcontent-%COMP%]:hover{text-decoration:underline}[_nghost-%COMP%] .show-more-reviews[_ngcontent-%COMP%]{font-size:16px;font-weight:600;line-height:19px;color:#315177;display:flex;justify-content:center;cursor:pointer;margin:34px 0 40px}"],changeDetection:0});var lr=zi;var jp=i=>({"background-image":i});function Lp(i,t){i&1&&(a(0,"span",0),m(1,"\u03A4\u03CE\u03C1\u03B1 \u03B2\u03BB\u03AD\u03C0\u03B5\u03B9\u03C2 \u03B1\u03C5\u03C4\u03CC"),c())}function Gp(i,t){i&1&&(a(0,"span"),m(1,"\u03A4\u03CE\u03C1\u03B1 \u03B2\u03BB\u03AD\u03C0\u03B5\u03B9\u03C2 \u03B1\u03C5\u03C4\u03CC"),c())}function zp(i,t){if(i&1){let e=P();a(0,"app-product-rating",12),h("click",function(){C(e);let r=l();return v(r.navigateToPdp())}),c()}if(i&2){let e,n,r=l();s("totalReviews",((e=r.product())==null?null:e.reviewCount)??0)("averageRating",((n=r.product())==null?null:n.rating)??0)("page","plp")}}function Up(i,t){i&1&&_(0,"app-product-hidden-prices")}function $p(i,t){if(i&1&&(a(0,"span",13),m(1),c()),i&2){let e=l(2);o(),E(e.rrpPrice())}}function Hp(i,t){if(i&1&&(a(0,"span",14),m(1),c()),i&2){let e=l(2);o(),E(e.listPrice())}}function Wp(i,t){if(i&1&&(a(0,"span",15),m(1),c()),i&2){let e=l(2);o(),E(e.youWinPrice())}}function Qp(i,t){if(i&1&&(a(0,"div",16)(1,"span"),m(2),y(3,"getInteger"),c(),a(4,"sup"),m(5),y(6,"getDecimal"),c()()),i&2){let e,n,r=l(2);o(2),E(S(3,2,(e=r.product())==null||e.priceInfo==null?null:e.priceInfo.salePrice)),o(3),x(",",S(6,4,(n=r.product())==null||n.priceInfo==null?null:n.priceInfo.salePrice),"\u20AC")}}function qp(i,t){if(i&1&&(p(0,$p,2,1,"span",13),p(1,Hp,2,1,"span",14),p(2,Wp,2,1,"span",15),p(3,Qp,7,6,"div",16)),i&2){let e,n=l();u(n.showRrpPrice()?0:-1),o(),u(n.listPrice()?1:-1),o(),u(n.youWinPrice()?2:-1),o(),u(!((e=n.product())==null||e.priceInfo==null)&&e.priceInfo.salePrice?3:-1)}}var Ui=class Ui{constructor(t,e,n){this.userStore=t;this.productInfoService=e;this.router=n;this.checkboxSwitch=new G;this.product=D();this.index=D();this.productUrl=f(()=>this.product()?.url);this.showRrpPrice=f(()=>this.getShowRrpPrice());this.rrpPrice=f(()=>this.getRrpPrice());this.listPrice=f(()=>this.getListPrice());this.youWinPrice=f(()=>this.getYouWinPrice());this.isB2B=V(F.b2b);this.userLoginStatus$=this.userStore.selectUserLoginStatus()}hasRrpPrice(){return!!this.product()?.priceInfo?.rrpPrice?.toFixed(2)}getShowRrpPrice(){let t=this.product();return t?.priceInfo?.rrpPrice&&t?.priceInfo?.listPrice?t?.priceInfo?.rrpPrice!=0&&t?.priceInfo?.rrpPrice>t?.priceInfo?.listPrice:!1}getListPrice(){let t=this.product(),e="";return t?.priceInfo?.listPrice!=0&&t?.priceInfo?.listPrice&&this.listPriceNotEqualToSale()&&(e=t?.priceInfo?.listPrice.toFixed(2)+"\u20AC"),e}listPriceNotEqualToSale(){let t=this.product();return t?.priceInfo?.listPrice&&t?.priceInfo?.salePrice?t?.priceInfo?.listPrice>t?.priceInfo?.salePrice&&t?.priceInfo?.listPrice!==t?.priceInfo?.salePrice:!1}isBook(){let t=this.product();return(t?.sapHierarchy||t&&t?.sapHierarchy)?.slice(0,4)==="7101"}getRrpPrice(){let t=this.product();if(!t?.priceInfo?.rrpPrice)return"";let e=t?.priceInfo?.rrpPrice.toFixed(2);return this.isBook()?"\u03A4\u03B9\u03BC\u03AE \u03B5\u03BA\u03B4\u03CC\u03C4\u03B7: "+e+"\u20AC":"\u03A0.\u039B.\u03A4. : "+e+"\u20AC"}getYouWinPrice(){let t=this.product(),e="";return t?.priceInfo?.youWin&&t?.priceInfo?.youWin>0&&!this.productInfoService.hideYouWin(t)&&(e=t?.priceInfo?.youWin.toFixed(2)+"\u20AC \u03AD\u03BA\u03C0\u03C4\u03C9\u03C3\u03B7"),e}onCheckboxClick(t){this.checkboxSwitch.emit(t)}navigateToPdp(){let t=this.product();this.router.navigate([t?.url])}};Ui.\u0275fac=function(e){return new(e||Ui)(g(ue),g(Se),g(it))},Ui.\u0275cmp=M({type:Ui,selectors:[["app-product-bundle-item"]],inputs:{product:[1,"product"],index:[1,"index"]},outputs:{checkboxSwitch:"checkboxSwitch"},decls:18,vars:15,consts:[[1,"now-watching"],[1,"selected-checkbox"],[1,"pbc-checkbox",3,"click","checked"],["rout
2ing","",3,"href","routerLinkInput"],[1,"product-image"],[1,"img",3,"ngStyle","title"],[1,"item-title"],[3,"routerLink"],[1,"item-reviews"],[3,"totalReviews","averageRating","page"],[1,"product-prices"],[1,"divider"],[3,"click","totalReviews","averageRating","page"],[1,"rrp-price"],[1,"initial-price"],[1,"sale-tag"],[1,"sale-price"]],template:function(e,n){if(e&1&&(a(0,"article"),p(1,Lp,2,0,"span",0),a(2,"div",1)(3,"mat-checkbox",2),h("click",function(){let d;return n.onCheckboxClick((d=n.product())==null?null:d.productId)}),c(),p(4,Gp,2,0,"span"),c(),a(5,"a",3)(6,"div",4),_(7,"div",5),c()(),a(8,"div",6)(9,"a",7),m(10),c()(),a(11,"div",8),p(12,zp,1,3,"app-product-rating",9),c(),a(13,"div",10),_(14,"div",11),p(15,Up,1,0,"app-product-hidden-prices"),y(16,"async"),qe(17,qp,4,4),c()()),e&2){let r,d,b,w,k;o(),u(n.index()==0?1:-1),o(2),s("checked",(r=n.product())==null?null:r.selected),o(),u(n.index()==0?4:-1),o(),s("href",n.productUrl()??"",H)("routerLinkInput",n.productUrl()??""),o(2),s("ngStyle",O(13,jp,"url("+((d=n.product())==null?null:d.galleryImage)+")"))("title",(b=n.product())==null?null:b.displayName),o(2),s("routerLink",n.productUrl()),o(),E((w=n.product())==null?null:w.displayName),o(2),u((k=n.product())!=null&&k.rating&&((k=n.product())!=null&&k.reviewCount)?12:-1),o(3),u(n.isB2B()&&!S(16,11,n.userLoginStatus$)?15:17)}},dependencies:[Ve,ya,xa,nt,He,Xt,Gt,Ee,Re,_e],styles:["[_nghost-%COMP%]{--orange-color: #fe5900;--light-grey: #8d8f94}[_nghost-%COMP%] article[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #eeedf0;padding:16px;border-radius:16px;width:200px;height:335px}@media screen and (max-width:820px){[_nghost-%COMP%] article[_ngcontent-%COMP%]{width:100%;height:auto;padding:16px 12px;display:grid;grid-template-columns:25px 72px minmax(0,1fr);grid-template-rows:1fr auto auto auto;column-gap:4px;align-items:center}}[_nghost-%COMP%] article[_ngcontent-%COMP%] .now-watching[_ngcontent-%COMP%]{display:none}@media screen and (max-width:820px){[_nghost-%COMP%] article[_ngcontent-%COMP%] .now-watching[_ngcontent-%COMP%]{display:block;grid-column:1/span 3;grid-row:1;text-align:left;font-size:12px;font-weight:400;line-height:14px;font-weight:700}}[_nghost-%COMP%] article[_ngcontent-%COMP%] .selected-checkbox[_ngcontent-%COMP%]{gap:6px;display:flex;align-items:center;margin-bottom:20px}[_nghost-%COMP%] article[_ngcontent-%COMP%] .selected-checkbox[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:12px;font-weight:400;line-height:14px;font-weight:700}@media screen and (max-width:820px){[_nghost-%COMP%] article[_ngcontent-%COMP%] .selected-checkbox[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:none}}@media screen and (max-width:820px){[_nghost-%COMP%] article[_ngcontent-%COMP%] .selected-checkbox[_ngcontent-%COMP%]{grid-column:1;grid-row:2/span 3;justify-self:center;margin-bottom:0}}@media(max-width:820px){[_nghost-%COMP%] article[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{grid-column:2;grid-row:2/span 3;align-self:center}}[_nghost-%COMP%] article[_ngcontent-%COMP%] a[_ngcontent-%COMP%] .product-image[_ngcontent-%COMP%]{height:114px;width:100%}@media screen and (max-width:820px){[_nghost-%COMP%] article[_ngcontent-%COMP%] a[_ngcontent-%COMP%] .product-image[_ngcontent-%COMP%]{height:96px}}[_nghost-%COMP%] article[_ngcontent-%COMP%] a[_ngcontent-%COMP%] .product-image[_ngcontent-%COMP%] .img[_ngcontent-%COMP%]{background-position:center;background-size:contain;background-repeat:no-repeat;object-fit:contain;height:100%;width:100%}[_nghost-%COMP%] article[_ngcontent-%COMP%] .item-title[_ngcontent-%COMP%]{text-align:center;margin:4px 0 0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;text-overflow:ellipsis;min-height:48px}[_nghost-%COMP%] article[_ngcontent-%COMP%] .item-title[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:14px;font-weight:400;line-height:16px;text-decoration:none;color:#000}[_nghost-%COMP%] article[_ngcontent-%COMP%] .item-title[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}@media screen and (max-width:820px){[_nghost-%COMP%] article[_ngcontent-%COMP%] .item-title[_ngcontent-%COMP%]{grid-column:3;grid-row:2;text-align:left;margin:6px 0 0;-webkit-line-clamp:2;line-clamp:2;min-height:unset}}[_nghost-%COMP%] article[_ngcontent-%COMP%] .item-reviews[_ngcontent-%COMP%]{height:16px;margin:5px 0;display:flex;justify-content:center}@media screen and (max-width:820px){[_nghost-%COMP%] article[_ngcontent-%COMP%] .item-reviews[_ngcontent-%COMP%]{grid-column:3;grid-row:3;justify-content:flex-start;margin:0}}@media screen and (max-width:820px){[_nghost-%COMP%] article[_ngcontent-%COMP%] .item-reviews[_ngcontent-%COMP%]:empty{display:none}}[_nghost-%COMP%] article[_ngcontent-%COMP%] .product-prices[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:end;align-items:center;height:75px;
2gap:3px}@media screen and (max-width:820px){[_nghost-%COMP%] article[_ngcontent-%COMP%] .product-prices[_ngcontent-%COMP%]{grid-column:3;grid-row:4;justify-content:flex-start;align-items:flex-start;height:auto}[_nghost-%COMP%] article[_ngcontent-%COMP%] .product-prices[_ngcontent-%COMP%] .divider[_ngcontent-%COMP%]{display:block;height:1px;width:100%;background-color:#eeedf0;margin:10px 0 5px}}[_nghost-%COMP%] article[_ngcontent-%COMP%] .sale-tag[_ngcontent-%COMP%]{font-size:10px;font-weight:700;line-height:12px;display:inline-flex;justify-content:center;align-items:center;border-radius:4px;background-color:#ffc300;color:#141719;padding:5px 6px;line-height:1}[_nghost-%COMP%] article[_ngcontent-%COMP%] .initial-price[_ngcontent-%COMP%]{font-size:12px;font-weight:400;line-height:14px;color:var(--light-grey);text-decoration:line-through}[_nghost-%COMP%] article[_ngcontent-%COMP%] .rrp-price[_ngcontent-%COMP%]{font-size:12px;font-weight:400;line-height:14px;color:var(--light-grey)}[_nghost-%COMP%] article[_ngcontent-%COMP%] .sale-price[_ngcontent-%COMP%]{color:var(--orange-color)}[_nghost-%COMP%] article[_ngcontent-%COMP%] .sale-price[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-weight:700;font-size:18px}[_nghost-%COMP%] article[_ngcontent-%COMP%] .sale-price[_ngcontent-%COMP%] sup[_ngcontent-%COMP%]{font-size:10px;line-height:12px;font-weight:700;position:relative;top:-5px}[_nghost-%COMP%] mat-checkbox[_ngcontent-%COMP%] .mdc-checkbox__background{border-radius:4px;border:1.5px solid #bdc1c2}[_nghost-%COMP%] mat-checkbox[_ngcontent-%COMP%] .mat-ripple-element{height:20px!important;width:20px!important}[_nghost-%COMP%] mat-checkbox.mat-mdc-checkbox-checked.pbc-checkbox[_ngcontent-%COMP%] .mdc-checkbox__background{background-color:var(--orange-color);border-color:var(--orange-color)}"]});var sr=Ui;var Kp=(i,t)=>t.productId;function Yp(i,t){i&1&&(a(0,"div",7),m(1,"\u0391\u03B3\u03CC\u03C1\u03B1\u03C3\u03B5 \u03BC\u03B1\u03B6\u03AF"),c())}function Zp(i,t){i&1&&(a(0,"div",9),_(1,"span",10),c())}function Xp(i,t){if(i&1){let e=P();p(0,Yp,2,0,"div",7),a(1,"app-product-bundle-item",8),h("checkboxSwitch",function(r){C(e);let d=l();return v(d.selectItemBySku(r))}),c(),p(2,Zp,2,0,"div",9)}if(i&2){let e=t.$implicit,n=t.$index,r=t.$count;u(n===1?0:-1),o(),s("product",e)("index",n),o(),u(n<r-1?2:-1)}}function Jp(i,t){if(i&1){let e=P();a(0,"button",11),h("click",function(){C(e);let r=l();return v(r.addProductsToCart())}),_(1,"span",12),a(2,"span",13),m(3,"\u03A0\u03C1\u03BF\u03C3\u03B8\u03AE\u03BA\u03B7"),c()()}}var $i=class $i{constructor(t,e){this.userStore=t;this.addToCartService=e;this.title=V("\u03A3\u03C5\u03BD\u03AE\u03B8\u03C9\u03C2 \u03B1\u03B3\u03BF\u03C1\u03AC\u03B6\u03BF\u03BD\u03C4\u03B1\u03B9 \u03BC\u03B1\u03B6\u03AF...");this.isB2B=V(F.b2b);this.totalAmount=f(()=>this.getTotalAmount());this.products=D();this.bundledProducts=V([]);this.userLoginStatus$=this.userStore.selectUserLoginStatus();z(()=>{this.getDefaultSelectedProducts()})}getDefaultSelectedProducts(){let t=this.products();if(!t||!t)return;let e=t?.map((n,r)=>Z(U({},n),{selected:r<3}));queueMicrotask(()=>this.bundledProducts.set(e))}selectItemBySku(t){this.bundledProducts.update(e=>e?.map(n=>n.productId==t?Z(U({},n),{selected:!n.selected}):n))}getTotalAmount(){let t=this.bundledProducts(),e=0;return t&&(e=t.reduce((n,r)=>r.selected?n+(r.priceInfo?.salePrice??0):n,0)),e}addProductsToCart(){let t=this.bundledProducts();if(!t)return;let e=t.filter(n=>n.selected);this.addToCartService.addtoCartMultiple(e,"Product page")}};$i.\u0275fac=function(e){return new(e||$i)(g(ue),g($a))},$i.\u0275cmp=M({type:$i,selectors:[["app-product-bundle-recommendations"]],inputs:{products:[1,"products"]},decls:17,vars:10,consts:[[3,"title"],[1,"bundle-items"],[1,"bundle-summary"],[1,"bundle-summary__text"],[1,"bundle-summary__label"],[1,"bundle-summary__price"],[1,"add-to-cart-button"],[1,"buy-with"],[3,"checkboxSwitch","product","index"],[1,"plus-icon"],[1,"ic-plus"],[1,"add-to-cart-button",3,"click"],[1,"ic-cart"],[1,"add-to-cart-button__text"]],template:function(e,n){e&1&&(a(0,"section")(1,"header"),_(2,"app-heading",0),c(),a(3,"main")(4,"div",1),I(5,Xp,3,4,null,null,Kp),c(),a(7,"div",2)(8,"div",3)(9,"span",4),m(10,"\u03A3\u03CD\u03BD\u03BF\u03BB\u03BF"),c(),a(11,"span",5),m(12),y(13,"getInteger"),y(14,"getDecimal"),c()(),p(15,Jp,4,0,"button",6),y(16,"async"),c()()()),e&2&&(o(2),s("title",n.title()),o(3),B(n.bundledProducts()),o(7
2),ee("",S(13,4,n.totalAmount()),",",S(14,6,n.totalAmount()),"\u20AC"),o(3),u(S(16,8,n.userLoginStatus$)&&n.isB2B()?-1:15))},dependencies:[Ya,sr,_e,Ee,Re],styles:["[_nghost-%COMP%]{--orange-color: #fe5900}[_nghost-%COMP%] section[_ngcontent-%COMP%]{background-color:#f5f6f7;border-radius:16px;margin:0 24px 16px;padding:16px}@media screen and (max-width:940px){[_nghost-%COMP%] section[_ngcontent-%COMP%]{border:1px solid #e1e1e5;margin:0}}[_nghost-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{padding:0 0 16px}@media screen and (max-width:820px){[_nghost-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{padding:0 0 16px;display:flex;align-items:center;flex-direction:column}[_nghost-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%] app-heading h3{padding-top:0}}[_nghost-%COMP%] section[_ngcontent-%COMP%] main[_ngcontent-%COMP%]{display:flex;flex-direction:row}@media screen and (max-width:820px){[_nghost-%COMP%] section[_ngcontent-%COMP%] main[_ngcontent-%COMP%]{flex-direction:column;gap:16px}}[_nghost-%COMP%] section[_ngcontent-%COMP%] main[_ngcontent-%COMP%] .plus-icon[_ngcontent-%COMP%]{width:40px;margin:auto 0;text-align:center}@media screen and (max-width:940px){[_nghost-%COMP%] section[_ngcontent-%COMP%] main[_ngcontent-%COMP%] .plus-icon[_ngcontent-%COMP%]{width:28px}}@media screen and (max-width:820px){[_nghost-%COMP%] section[_ngcontent-%COMP%] main[_ngcontent-%COMP%] .plus-icon[_ngcontent-%COMP%]{display:none}}[_nghost-%COMP%] section[_ngcontent-%COMP%] main[_ngcontent-%COMP%] .plus-icon[_ngcontent-%COMP%] .ic-plus[_ngcontent-%COMP%]:before{font-size:24px;color:var(--orange-color)}[_nghost-%COMP%] section[_ngcontent-%COMP%] main[_ngcontent-%COMP%] .bundle-items[_ngcontent-%COMP%]{display:flex}@media screen and (max-width:820px){[_nghost-%COMP%] section[_ngcontent-%COMP%] main[_ngcontent-%COMP%] .bundle-items[_ngcontent-%COMP%]{flex-direction:column;gap:8px}}[_nghost-%COMP%] section[_ngcontent-%COMP%] main[_ngcontent-%COMP%] .bundle-items[_ngcontent-%COMP%] .buy-with[_ngcontent-%COMP%]{display:none}@media screen and (max-width:820px){[_nghost-%COMP%] section[_ngcontent-%COMP%] main[_ngcontent-%COMP%] .bundle-items[_ngcontent-%COMP%] .buy-with[_ngcontent-%COMP%]{display:block;font-size:12px;font-weight:400;line-height:14px;font-weight:700}}[_nghost-%COMP%] section[_ngcontent-%COMP%] main[_ngcontent-%COMP%] .bundle-summary[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;margin:0 0 0 18px}@media screen and (max-width:820px){[_nghost-%COMP%] section[_ngcontent-%COMP%] main[_ngcontent-%COMP%] .bundle-summary[_ngcontent-%COMP%]{margin:0;flex-direction:row;align-items:center;justify-content:space-between}}[_nghost-%COMP%] section[_ngcontent-%COMP%] main[_ngcontent-%COMP%] .bundle-summary__text[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center}@media screen and (max-width:820px){[_nghost-%COMP%] section[_ngcontent-%COMP%] main[_ngcontent-%COMP%] .bundle-summary__text[_ngcontent-%COMP%]{min-height:52px;justify-content:center}}[_nghost-%COMP%] section[_ngcontent-%COMP%] main[_ngcontent-%COMP%] .bundle-summary__label[_ngcontent-%COMP%]{font-size:16px;font-weight:400;line-height:19px;margin:0 0 2px}[_nghost-%COMP%] section[_ngcontent-%COMP%] main[_ngcontent-%COMP%] .bundle-summary__price[_ngcontent-%COMP%]{font-size:16px;font-weight:400;line-height:19px;font-weight:700;color:var(--orange-color)}[_nghost-%COMP%] section[_ngcontent-%COMP%] main[_ngcontent-%COMP%] .bundle-summary[_ngcontent-%COMP%] .add-to-cart-button[_ngcontent-%COMP%]{background-color:var(--orange-color);font:inherit;width:150px;height:52px;border-radius:12px;margin:16px 0 0;cursor:pointer;border-color:transparent;color:#fff}@media screen and (max-width:820px){[_nghost-%COMP%] section[_ngcontent-%COMP%] main[_ngcontent-%COMP%] .bundle-summary[_ngcontent-%COMP%] .add-to-cart-button[_ngcontent-%COMP%]{align-self:center;margin:0 0 0 16px}}@media screen and (min-width:820px)and (max-width:910px){[_nghost-%COMP%] section[_ngcontent-%COMP%] main[_ngcontent-%COMP%] .bundle-summary[_ngcontent-%COMP%] .add-to-cart-button[_ngcontent-%COMP%]{width:52px}}[_nghost-%COMP%] section[_ngcontent-%COMP%] main[_ngcontent-%COMP%] .bundle-summary[_ngcontent-%COMP%] .add-to-cart-button__text[_ngcontent-%COMP%]{font-size:16px;font-weight:400;line-height:19px;font-weight:600;margin:0 0 0 6px}@media screen and (min-width:820px)and (max-width:910px){[_nghost-%COMP%] section[_ngcontent-%COMP%] main[_ngcontent-%COMP%] .bundle-summary[_ngcontent-%COMP%] .add-to-cart-button__text[_ngcontent-%COMP%]{display:none}}[_nghost-%COMP%] section[_ngcontent-%COMP%] main[_ngcontent-%COMP%] .bundle-summary[_ngcontent-%COMP%] .add-to-cart-button[_ngcontent-%COMP%] .ic-cart[_ngcontent-%COMP%]:before{font-size:20px}"]});var Hi=$i;var Tt=class Tt{constructor(t,e,n,r,d){this.document=t;this.productService=e;this.seoService=n;this.userStore=r;this.router=d;this.isB2B=F.b2b}getProductPriceVariant(t){let e=t?.priceInfo?.rrpPrice>t?.priceInfo?.listPrice,n=t?.priceInfo?.listPrice>t?.priceInfo?.salePrice,r=!!(e&&t?.sku?.hierarchy);return n&&r?"tripleDiscount":r||n?"discount":"default"}getBookDatePublished(t){let e=t?.sku?.topSpecs.find(r=>r.displayName==="\u0397\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u03AD\u03BA\u03B4\u03BF\u03C3\u03B7\u03C2");return e?e.values:void 0}getBookNumOfPages(t){let e=t?.sku?.topSpecs.find(r=>r.displayName==="\u03A6\u03CD\u03BB\u03BB\u03B1 \u0392\u03B9\u03B2\u03BB\u03AF\u03BF\u03C5");return e?e.values:void 0}mapValuesToKey(t,e){let n=e?.map(d=>d.charAt(0).toUpperCase()+d.slice(1)),r=Object.keys(t);for(let d=0;d<r.length;d++){let b=r[d];if(t[b].some(k=>n?.includes(k)))return b}}
2getBookLanguage(t){let e=t?.sku?.sections;if(!Array.isArray(e)||!e.length)return;let n=e[0].skuSpecs?.find(d=>d.displayName==="\u0393\u03BB\u03CE\u03C3\u03C3\u03B1 \u0392\u03B9\u03B2\u03BB\u03AF\u03BF\u03C5"||d.displayName==="\u0391\u03C5\u03B8\u03B5\u03BD\u03C4\u03B9\u03BA\u03AE \u0393\u03BB\u03CE\u03C3\u03C3\u03B1 \u0392\u03B9\u03B2\u03BB\u03AF\u03BF\u03C5"||d.displayName==="\u0393\u03BB\u03CE\u03C3\u03C3\u03B1 \u0393\u03C1\u03B1\u03C6\u03AE\u03C2"),r=n?n.values:void 0;return this.mapValuesToKey(Ma,r)}getBookFormat(t){let e=t?.sku?.sections;if(!Array.isArray(e)||!e.length)return;let n=e[0]?.skuSpecs?.find(d=>d.displayName==="\u0395\u03BE\u03CE\u03C6\u03C5\u03BB\u03BB\u03BF"),r=n?n.values:void 0;return this.mapValuesToKey(Oa,r)}hideYouWin(t){let e=t.priceInfo?.rrpPrice!=0,n=t.priceInfo?.listPrice,r=t.priceInfo?.salePrice;return e&&n===r||e&&!n}getProductAvailabilitySchema(t){let e;return this.productService.isProductV3(t)?e=t.stockRule?.deliveryRule:e=t.availability?.deliveryRule,e?.inStock&&e?.allowPurchases?e?.preOrder?"https://schema.org/PreOrder":"https://schema.org/InStock":e?.preOrder?"https://schema.org/PreOrder":"https://schema.org/OutOfStock"}getSchemaOfferPrice(t,e){return e&&!this.userStore.getUserLoginStatus()?null:this.productService.isProductV3(t)?Array.isArray(t?.prices)&&t?.prices.length&&t.prices[0]?.hasSalePrice&&t?.prices[0]?.salePrice?t?.prices[0]?.salePrice:t?.prices[0]?.listPrice:t.priceInfo?.hasSalePrice&&t?.priceInfo?.salePrice?t?.priceInfo?.salePrice:t?.priceInfo?.listPrice}getSchemaListPrice(t,e){return e&&!this.userStore.getUserLoginStatus()?null:this.productService.isProductV3(t)?t?.prices?.[0]?.listPrice??null:t?.priceInfo?.listPrice??null}buildBookSchema(t){let e=this.document.location.origin.replace("http:","https:"),n=this.getSchemaOfferPrice(t,this.isB2B);return{"@context":"https://schema.org","@type":"DataFeed",dataFeedElement:[{"@type":"Book","@id":`${e}${t.sku?.url}`,url:`${e}${t.sku?.url}`,name:t.sku?.displayName,author:this.productService.getBookAuthorName(t)?{"@type":"Person",name:this.productService.getBookAuthorName(t)}:void 0,publisher:{"@type":"Organization",name:this.productService.getBookPublisherName(t)},isbn:t.sku?.isbn,datePublished:this.getBookDatePublished(t),numberOfPages:this.getBookNumOfPages(t),inLanguage:this.getBookLanguage(t),bookFormat:this.getBookFormat(t),offers:Z(U({"@type":"Offer",availability:this.getProductAvailabilitySchema(t),priceCurrency:"EUR",url:`${e}${t.sku?.url}`},n!=null?{price:n}:{}),{itemCondition:"https://schema.org/NewCondition"}),aggregateRating:t.sku?.totalReviews?{"@type":"AggregateRating",reviewCount:t.sku.totalReviews,ratingValue:t.sku.averageRating,bestRating:"5",worstRating:"1",itemReviewed:{name:t.sku?.displayName,"@type":"Thing"}}:void 0}]}}buildProductSchema(t){let e=this.productService.mapProductV3toProduct(t),n=this.document.location.origin.replace("http:","https:"),r=this.getSchemaOfferPrice(e,this.isB2B),d=this.getSchemaListPrice(e,this.isB2B),b=t.breadcrumb?.map(W=>W.displayName).join(" > ")??"",w={"@context":"https://schema.org","@type":"Product",name:this.productService.getProductTitle(e),image:(t.sku?.media?.galleryImages??[]).map(W=>W.large),description:this.seoService.formatProductMetaDescription(e,this.productService),sku:t.sku?.id,category:b,url:`${n}${this.router.url}`,brand:{name:t.sku?.brand?.displayName,"@type":"Brand"},offers:Z(U({"@type":"Offer",description:this.seoService.formatProductMetaDescription(e,this.productService),availability:this.getProductAvailabilitySchema(e),priceCurrency:"EUR",url:`${n}${this.router.url}`},r!=null?{price:r}:{}),{itemCondition:"https://schema.org/NewCondition",priceSpecification:Z(U({"@type":"PriceSpecification"},r!=null?{price:r}:{}),{priceCurrency:"EUR",valueAddedTaxIncluded:!0,listPrice:d})})};t.sku?.averageRating&&(w.aggregateRating={"@type":"AggregateRating",reviewCount:t.sku?.totalReviews,ratingValue:t.sku?.averageRating,bestRating:"5",worstRating:"1",itemReviewed:{name:t.sku?.displayName,"@type":"Thing"}});let T=(t.serviceGroups??[]).flatMap(W=>W.services??[]);return w.makesOffer=T.filter(W=>(W?.salePrice??W?.listPrice)!=null).map(W=>({"@type":"Service",name:W?.serviceSKU?.displayName,serviceType:W?.serviceType,offers:{"@type":"Offer",price:Number(W?.salePrice??W?.listPrice),priceCurrency:"EUR"}})),w}};Tt.\u0275fac=function(e){return new(e||Tt)(Xe(ie),Xe(ne),Xe(oi),Xe(ue),Xe(it))},Tt.\u0275prov=vt({token:Tt,factory:Tt.\u0275fac});var _t=Tt;var Wi=class Wi{constructor(t,e,n,r,d,b){this.document=t;this.platformId=e;this.http=n;this.scriptService=r;this.renderer=d;this.sanitizer=b;
2this.directiveScroll=new G;this.isBrowser=K(this.platformId);this.customType=D(null);this.htmlContent=V(null);this.setupLoadFilesEffect()}setupLoadFilesEffect(){z(()=>{if(!this.customType()){this.htmlContent.set(null);return}let e=`${this.getFilesBasePath()}.css`,n=`${this.getFilesBasePath()}.html`;this.loadHtmlFile(n),this.loadCssFile(e)},{allowSignalWrites:!0})}getFilesBasePath(){let t=this.customType();return`${`https://external.webstorage.gr/${t}`}/${t}`}onScroll(t){this.directiveScroll.emit(t)}loadHtmlFile(t){this.http.get(t,{responseType:"text"}).pipe(je(e=>this.sanitizer.bypassSecurityTrustHtml(e)),Vn(e=>(console.error("Error loading HTML file:",e),ht(this.sanitizer.bypassSecurityTrustHtml("")))),we(1)).subscribe(e=>{this.htmlContent.set(e);let n=`${this.getFilesBasePath()}.js`;this.loadJsScript(n)})}loadCssFile(t){if(this.document.querySelector(`link[data-sku-css="${t}"]`))return;let n=this.renderer.createElement("link");this.renderer.setAttribute(n,"rel","stylesheet"),this.renderer.setAttribute(n,"href",t),this.renderer.setAttribute(n,"data-sku-css",t),this.renderer.appendChild(this.document.head,n)}loadJsScript(t){let e={src:t,defer:!0};qr(this.scriptService.loadJsScript(e)).pipe(we(1)).subscribe()}};Wi.\u0275fac=function(e){return new(e||Wi)(g(ie),g(X),g(sa),g(va),g(Je),g(Ie))},Wi.\u0275cmp=M({type:Wi,selectors:[["app-reusable-product-custom-information"]],inputs:{scrollingElement:"scrollingElement",customType:[1,"customType"]},outputs:{directiveScroll:"directiveScroll"},decls:3,vars:5,consts:[["scrolledToElement","detectScroll"],["detectScroll","",1,"reusable-product-information",3,"scrolledTo","title","startOpen","tabId","scrollingElement"],[1,"content","clearfix","content-card",3,"innerHTML"]],template:function(e,n){if(e&1){let r=P();a(0,"app-mdc-accordion",1,0),h("scrolledTo",function(b){return C(r),v(n.onScroll(b))}),_(2,"div",2),c()}e&2&&(s("title","\u0391\u03BD\u03B1\u03BB\u03C5\u03C4\u03B9\u03BA\u03AE \u03A0\u03B5\u03C1\u03B9\u03B3\u03C1\u03B1\u03C6\u03AE")("startOpen",!0)("tabId","reusable-product-information")("scrollingElement",n.scrollingElement),o(2),s("innerHTML",n.htmlContent(),le))},dependencies:[he,ce],styles:[`.content-card{max-width:100%;overflow:hidden;background:#fff;box-shadow:0 14px 24px #0000000d;border-radius:16px;padding:16px;filter:drop-shadow(0px 14px 24px rgba(0,0,0,.1));margin:0px clamp(0px,0%,3rem) 1rem}.channel-html .row{margin:0} 3`],encapsulation:2});var dr=Wi;var lu=["aside"],su=["productTabs"],du=["mainContent"],pu=["reevooTab"],uu=()=>[ii],mu=i=>({sticky:i}),gu=i=>({"pr-0 title-container":i}),_u=i=>({"full-height":i}),Ze=i=>({active:i}),fu=i=>({selector:"a",attributeName:"rel",attributeValue:i}),hu=i=>[i];function Cu(i,t){if(i&1&&_(0,"pbc-json-ld",2),i&2){let e=l();s("json",e.bookSchema)}}function vu(i,t){if(i&1&&_(0,"img",46),i&2){let e=l(3);s("src",Te(e.product==null||e.product.sku==null||e.product.sku.media==null||e.product.sku.media.heroImage==null?null:e.product.sku.media.heroImage.thumbnail),H)}}function bu(i,t){i&1&&(a(0,"div",28),p(1,vu,1,2,"img",46),c()),i&2&&(o(),u(1))}function Pu(i,t){if(i&1&&(a(0,"h2",31),m(1),c()),i&2){let e=l(2);o(),x(" ",e.product==null||e.product.sku==null?null:e.product.sku.displayName," ")}}function xu(i,t){if(i&1&&(a(0,"div",32)(1,"div",47),_(2,"app-product-stores",48),c()()),i&2){let e=l(2);o(2),s("smallFont",!0)("product",e.product)("addProPartnerMargin",!0)("trustedSellerText",!0)("trustedSellerReviews",!1)}}function yu(i,t){i&1&&(a(0,"div",49),_(1,"app-product-hidden-prices",51),c()),i&2&&(o(),s("isPdp",!0))}function Su(i,t){if(i&1&&_(0,"app-product-prices",53),i&2){let e=l(4);s("noInitialText",!1)("noMarginBottom",!0)("showYouWin",!1)("product",e.product)("isPDPFooter",!0)}}function Mu(i,t){if(i&1&&(a(0,"div",55),_(1,"app-product-store-availability-btn",57),c()),i&2){let e=l(4);o(),s("product",e.product)}}function Ou(i,t){if(i&1&&_(0,"app-mdc-button",56),i&2){let e=l(4);s("fullWidth",!0)("product",e.product)("disabled",(e.product==null||e.product.sku==null?null:e.product.sku.unavailableSKU)||!(!(e.product==null||e.product.availability==null||e.product.availability.deliveryRule==null)&&e.product.availability.deliveryRule.allowPurchases))("label",!(e.product==null||e.product.availability==null||e.product.availability.deliveryRule==null)&&e.product.availability.deliveryRule.preOrder?"\u03A0\u03C1\u03BF\u03C0\u03B1\u03C1\u03B1\u03B3\u03B3\u03B5\u03BB\u03AF\u03B1":e.showFullText()?"\u03A0\u03C1\u03BF\u03C3\u03B8\u03AE\u03BA\u03B7 \u03C3\u03C4\u03BF \u03BA\u03B1\u03BB\u03AC\u03B8\u03B9":"\u03A0\u03C1\u03BF\u03C3\u03B8\u03AE\u03BA\u03B7")}}function wu(i,t){if(i&1&&(a(0,"div",50)(1,"div",52),p(2,Su,1,5,"app-product-prices",53),c(),a(3,"div",54),p(4,Mu,2,1,"div",55)(5,Ou,1,4,"app-mdc-button",56),c()()),i&2){let e=l(3);o(2),u(!(!(e.product==null||e.product.sku==null)&&e.product.sku.unavailableSKU)&&(!(e.product==null||e.product.availability==null||e.product.availability.deliveryRule==null)&&e.product.availability.deliveryRule.allowPurchases||!(!(e.product==null||e.product.availability==null||e.product.availability.deliveryRule==null)&&e.product.availability.deliveryRule.allowPurchases)&&(!(e.product==null||e.product.availability==null||e.product.availability.deliveryRule==null)&&e.product.availability.deliveryRule.uniqueStoreAssortment))?2:-1),o(2),u(!(e.product==null||e.product.availability==null||e.product.availability.deliveryRule==null)&&e.product.availability.deliveryRule.uniqueStoreAssortment?4:5)}}function ku(i,t){if(i&1&&(a(0,"div",26),p(1,yu,2,1,"div",49),y(2,"async"),qe(3,wu,6,2,"div",50),c()),i&2){let e=l(2);o(),u(!S(2,1,e.userLoginStatus$)&&e.isB2B?1:3)}}function Iu(i,t){if(i&1){let e=P();a(0,"div",58),h("click",function(){C(e);let r=l(2);return v(r.scrollToFromHeader("reusable-product-text-manual"))}),m(1," \u0397 \u03C0\u03C1\u03CC\u03C4\u03B1\u03C3\u03AE \u03BC\u03B1\u03C2 "),c()}if(i&2){let e=l(2);s("ngClass",O(1,Ze,e.headerActiveTab=="reusable-product-text-manual"))}}function Bu(i,t){if(i&1){let e=P();a(0,"div",59),h("click",function(){C(e);let r=l(2);return v(r.scrollToFromHeader("reusable-product-information"))}),m(1),c()}if(i&2){let e=l(2);s("ngClass",O(2,Ze,e.headerActiveTab=="reusable-product-information")),o(),x(" ",e.isBook?"\u03A3\u03CD\u03BD\u03BF\u03C8\u03B7 \u03B2\u03B9\u03B2\u03BB\u03AF\u03BF\u03C5":"\u0391\u03BD\u03B1\u03BB\u03C5\u03C4\u03B9\u03BA\u03AE \u03C0\u03B5\u03C1\u03B9\u03B3\u03C1\u03B1\u03C6\u03AE"," ")}}function Tu(i,t){if(i&1){let e=P();a(0,"div",60),h("click",function(){C(e);let r=l(2);return v(r.scrollToFromHeader("reusable-product-specifications"))}),m(1," \u03A7\u03B1\u03C1\u03B1\u03BA\u03C4\u03B7\u03C1\u03B9\u03C3\u03C4\u03B9\u03BA\u03AC "),c()}if(i&2){let e=l(2);s("ngClass",O(1,Ze,e.headerActiveTab=="reusable-product-specifications"))}}function Du(i,t){if(i&1){let e=P();a(0,"div",61),h("click",function(){C(e);let r=l(2);return v(r.scrollToFromHeader("reusable-product-services-specifications"))}),m(1," \u03A5\u03C0\u03B7\u03C1\u03B5\u03C3\u03AF\u03B5\u03C2 "),c()}if(i&2){let e=l(2);s("ngClass",O(1,Ze,e.headerActiveTab=="reusable-product-services-specifications"))}}function Ru(i,t){if(i&1){let e=P();a(0,"div",62),h("click",function(){C(e);let r=l(2);return v(r.scrollToFromHeader("reusable-product-reevoo-reviews"))}),m(1," \u0391\u03BE\u03B9\u03BF\u03BB\u03BF\u03B3\u03AE\u03C3\u03B5\u03B9\u03C2 "),c()}if(i&2){let e=l(2);s("ngClass",O(1,Ze,e.headerActiveTab=="reusable-product-reevoo-reviews"))}}function Eu(i,t){if(i&1){let e=P();a(0,"div",63),h("click",function(){C(e);let r=l(2);return v(r.scrollToFromHeader("reusable-product-book-reviews"))}),m(1," \u03A4\u03B9 \u03B5\u03AF\u03C0\u03B1\u03BD \u03BF\u03B9 \u0392\u03BF\u03BF\u03BA Friends "),c()}if(i&2){let e=l(2);s("ngClass",O(1,Ze,e.headerActiveTab=="reusable-product-book-reviews"))}}function Au(i,t){if(i&1){let e=P();a(0,"div",64),h("click",function(){C(e);let r=l(2);return v(r.scrollToFromHeader("reusable-product-tracklist"))}),m(1," Track list "),c()}if(i&2){let e=l(2);s("ngClass",O(1,Ze,e.headerActiveTab=="reusable-product-tracklist"))}}function Vu(i,t){if(i&1){let e=P();a(0,"div",65),h("click",function(){C(e);let r=l(2);return v(r.scrollToFromHeader("reusable-product-videolist"))}),m(1," \u03A3\u03BA\u03B7\u03BD\u03AD\u03C2 & playlist "),c()}if(i&2){let e=l(2);s("ngClass",O(1,Ze,e.headerActiveTab=="reusable-product-videolist"))}}function Fu(i,t){if(i&1){let e=P();a(0,"div",66),h("click",function(){C(e);let r=l(2);return v(r.scrollToFromHeader("reusable-product-author"))}),m(1," \u0392\u03B9\u03BF\u03B3\u03C1\u03B1\u03C6\u03AF\u03B1 \u03C3\u03C5\u03B3\u03B3\u03C1\u03B1\u03C6\u03AD\u03B1 "),c()}if(i&2){let e=l(2);s("ngClass",O(1,Ze,e.headerActiveTab=="reusable-product-author"))}}function Nu(i,t){if(i&1){let e=P();a(0,"div",67),h("click",function(){C(e);let r=l(2);return v(r.scrollToFromHeader("reusable-product-flipbook"))}),m(1," \u039E\u03B5\u03C6\u03CD\u03BB\u03BB\u03B9\u03C3\u03AD \u03C4\u03BF "),c()}if(i&2){let e=l(2);s("ngClass",O(1,Ze,e.headerActiveTab=="reusable-product-flipbook"))}}function ju(i,t){if(i&1){let e=P();a(0,"div",68),h("click",function(){C(e);let r=l(2);return v(r.scrollToFromHeader("reusable-product-related-categories"))}),m(1," \u03A3\u03C7\u03B5\u03C4\u03B9\u03BA\u03AD\u03C2 \u03BA\u03B1\u03C4\u03B7\u03B3\u03BF\u03C1\u03AF\u03B5\u03C2 "),c()}if(i&2){let e=l(2);s("ngClass",O(1,Ze,e.headerActiveTab=="reusable-product-related-categories"))}}function Lu(i,t){if(i&1&&(a(0,"footer",3)(1,"div",24)(2,"div",25)(3,"div",26)(4,"div",27),p(
35,bu,2,1,"div",28),a(6,"div",29)(7,"div",30),p(8,Pu,2,1,"h2",31),c(),p(9,xu,3,5,"div",32),c()()(),p(10,ku,4,3,"div",26),c(),a(11,"div",33)(12,"div",34),p(13,Iu,2,3,"div",35),p(14,Bu,2,4,"div",36),p(15,Tu,2,3,"div",37),p(16,Du,2,3,"div",38),p(17,Ru,2,3,"div",39),p(18,Eu,2,3,"div",40),p(19,Au,2,3,"div",41),p(20,Vu,2,3,"div",42),p(21,Fu,2,3,"div",43),p(22,Nu,2,3,"div",44),p(23,ju,2,3,"div",45),c()()()()),i&2){let e=l();s("ngClass",e.topStickyVisible?"visible":"hidden"),o(5),u(!(e.product==null||e.product.sku==null||e.product.sku.media==null||e.product.sku.media.heroImage==null)&&e.product.sku.media.heroImage.thumbnail?5:-1),o(),s("ngClass",O(18,gu,e.product==null||e.product.sku==null||e.product.sku.media==null||e.product.sku.media.heroImage==null?null:e.product.sku.media.heroImage.thumbnail)),o(),s("ngClass",O(20,_u,!(!e.isServiceRepair&&!e.isCyprus&&(!(e.product==null||e.product.priceInfo==null)&&e.product.priceInfo.salePrice)&&(!(e.product==null||e.product.sku==null||e.product.sku.offerDto==null)&&e.product.sku.offerDto.shopName||!(!(e.product==null||e.product.sku==null)&&e.product.sku.mirakl)&&(!(e.product==null||e.product.sku==null)&&e.product.sku.offerCount)||!(e.product==null||e.product.sku==null)&&e.product.sku.mirakl&&(!(e.product==null||e.product.sku==null)&&e.product.sku.offerCount)&&e.product.sku.offerCount>1)))),o(),u(!(e.product==null||e.product.sku==null)&&e.product.sku.displayName?8:-1),o(),u(!e.isServiceRepair&&!e.isCyprus&&(!(e.product==null||e.product.priceInfo==null)&&e.product.priceInfo.salePrice)&&(!(e.product==null||e.product.sku==null||e.product.sku.offerDto==null)&&e.product.sku.offerDto.shopName||!(!(e.product==null||e.product.sku==null)&&e.product.sku.mirakl)&&(!(e.product==null||e.product.sku==null)&&e.product.sku.offerCount)||!(e.product==null||e.product.sku==null)&&e.product.sku.mirakl&&(!(e.product==null||e.product.sku==null)&&e.product.sku.offerCount)&&e.product.sku.offerCount>1)?9:-1),o(),u(e.productLoaded?10:-1),o(3),u(!(e.product==null||e.product.sku==null)&&e.product.sku.textManual?13:-1),o(),u(!(e.product==null||e.product.sku==null)&&e.product.sku.freeHtml||!(e.product==null||e.product.sku==null)&&e.product.sku.longDescription?14:-1),o(),u(!(e.product==null||e.product.sku==null||e.product.sku.sections==null)&&e.product.sku.sections.length?15:-1),o(),u(e.serviceGroups!=null&&e.serviceGroups.length?16:-1),o(),u(!(e.product==null||e.product.sku==null)&&e.product.sku.totalReviews?17:-1),o(),u(e.bookReviews&&e.bookReviews.length>0?18:-1),o(),u(!(e.product==null||e.product.sku==null||e.product.sku.trackList==null)&&e.product.sku.trackList.length?19:-1),o(),u(!(e.product==null||e.product.sku==null||e.product.sku.videoList==null)&&e.product.sku.videoList.length?20:-1),o(),u(!(e.product==null||e.product.author==null)&&e.product.author.biography?21:-1),o(),u(!(e.product==null||e.product.sku==null)&&e.product.sku.bookLookInside?22:-1),o(),u(!(e.product==null||e.product.sku==null||e.product.sku.ancestorCategories==null)&&e.product.sku.ancestorCategories.length?23:-1)}}function Gu(i,t){if(i&1&&(a(0,"div",69),y(1,"reusableClass"),a(2,"div",70),_(3,"app-dynamic-reusables",71),c()()),i&2){let e=l().$implicit;s("ngClass",S(1,2,e)),o(3),s("component",e)}}function zu(i,t){if(i&1&&(p(0,Gu,4,4,"div",69),y(1,"activeReusables")),i&2){let e=t.$implicit;u(S(1,1,e)?0:-1)}}function Uu(i,t){if(i&1){let e=P();a(0,"div",9)(1,"div",72)(2,"div",73),h("click",function(){C(e);let r=l();return v(r.scrollTo("#reusable-product-flipbook"))}),a(3,"div",74)(4,"img",75),h("click",function(){C(e);let r=l();return v(r.scrollTo("#reusable-product-flipbook"))}),c()(),a(5,"div",74)(6,"a",76),h("click",function(){C(e);let r=l();return v(r.scrollTo("#reusable-product-flipbook"))}),m(7,"\u039E\u03B5\u03C6\u03CD\u03BB\u03BB\u03B9\u03C3\u03AD \u03C4\u03BF"),c()()()()()}}function $u(i,t){if(i&1&&_(0,"app-product-discount",77),i&2){let e=l(2);s("ribbons",e.product==null||e.product.sku==null?null:e.product.sku.ribbons)}}function Hu(i,t){if(i&1&&(a(0,"div",10),p(1,$u,1,1,"app-product-discount",77),c()),i&2){let e=l();o(),u(!(e.product==null||e.product.sku==null||e.product.sku.ribbons==null)&&e.product.sku.ribbons.length?1:-1)}}function Wu(i,t){i&1&&bt(0)}function Qu(i,t){if(i&1&&(a(0,"div",80),_(1,"app-product-store-availability-btn",81),c()),i&2){let e=l(2);o(),s("product",e.product)("buttonHeight","custom")}}function qu(i,t){if(i&1&&_(0,"app-b2b-product-volume-discount",82),i&2){let e=l(3);s("product",e.product)}}function Ku(i,t){if(i&1&&(p(0,qu,1,1,"app-b2b-product-volume-discount",82),y(1,"async")),i&2){let e=l(2);u(S(1,1,e.userLoginStatus$)&&e.isB2B&&e.product.showSkuQuantity?0:-1)}}function Yu(i,t){if(i&1){let e=P();a(0,"div",14)(1,"app-product-titles",78),y(2,"async"),a(3,"app-product-rating",79),h("click",function(){C(e);let r=l();return v(r.scrollTo("#reusable-product-reevoo-reviews"))}),c()(),p(4,Qu,2,2,"div",80)(5,Ku,2,3),c()}if(i&2){let e=l();o(),s("getPrice",e.getPrice)("product",e.product)("sellerPrice",e.sellerPrice)("sellerOriginalPrice",e.sellerOriginalPrice)("hidePrices",!S(2,8,e.userLoginStatus$)&&e.isB2B),o(2),s("totalReviews",e.product==null||e.product.sku==null?null:e.product.sku.totalReviews)("averageRating",e.product==null||e.product.sku==null?null:e.product.sku.averageRating),o(),u(!(e.product==null||e.product.availability==null||e.product.availability.deliveryRule==null)&&e.product.availability.deliveryRule.uniqueStoreAssortment?4:5)}}function Zu(i,t){if(i&1&&(a(0,"div",83),y(1,"reusableClass"),a(2,"div",84),_(3,"app-dynamic-reusables",71),c()()),i&2){let e=l().$implicit;s("ngClass",S(1,2,e)),o(3),s("component",e)}
3}function Xu(i,t){if(i&1&&(p(0,Zu,4,4,"div",83),y(1,"activeReusables")),i&2){let e=t.$implicit;u(S(1,1,e)?0:-1)}}function Ju(i,t){if(i&1&&(a(0,"div",15),I(1,Xu,2,3,null,null,N),c()),i&2){let e=l();o(),B(e.componentsWalletReusable)}}function em(i,t){i&1&&bt(0)}function tm(i,t){if(i&1&&_(0,"app-product-bundle-recommendations",19),i&2){let e=l();s("products",e.bundleRecommendations())}}function im(i,t){if(i&1&&(a(0,"div",85),y(1,"reusableClass"),a(2,"div",84),_(3,"app-dynamic-reusables",71),c()()),i&2){let e=l().$implicit;s("ngClass",S(1,2,e)),o(3),s("component",e)}}function nm(i,t){if(i&1&&(p(0,im,4,4,"div",85),y(1,"activeReusables")),i&2){let e=t.$implicit;u(S(1,1,e)?0:-1)}}function om(i,t){if(i&1){let e=P();a(0,"app-reusable-product-custom-information",97),h("directiveScroll",function(r){C(e);let d=l(2);return v(d.directiveScroll(r))}),c()}if(i&2){let e=l(2);s("customType",e.customDescriptionType())("scrollingElement",e.scrollingElement)}}function rm(i,t){if(i&1){let e=P();a(0,"app-reusable-product-information",100),h("directiveScroll",function(r){C(e);let d=l(3);return v(d.directiveScroll(r))}),c()}if(i&2){let e=l(3);s("hasTextManual",!0)("product",e.product)("scrollingElement",e.scrollingElement)}}function am(i,t){if(i&1){let e=P();a(0,"app-reusable-product-information",101),h("directiveScroll",function(r){C(e);let d=l(3);return v(d.directiveScroll(r))}),c()}if(i&2){let e=l(3);s("product",e.product)("hasProposition",e.product==null||e.product.sku==null?null:e.product.sku.textManual)("scrollingElement",e.scrollingElement)}}function cm(i,t){if(i&1&&(p(0,rm,1,3,"app-reusable-product-information",98),p(1,am,1,3,"app-reusable-product-information",99)),i&2){let e=l(2);u(!(e.product==null||e.product.sku==null)&&e.product.sku.textManual?0:-1),o(),u(!(e.product==null||e.product.sku==null)&&e.product.sku.freeHtml||!(e.product==null||e.product.sku==null)&&e.product.sku.longDescription?1:-1)}}function lm(i,t){if(i&1){let e=P();a(0,"app-reusable-product-specifications",102),h("directiveScroll",function(r){C(e);let d=l(2);return v(d.directiveScroll(r))}),c()}if(i&2){let e=l(2);s("product",e.product)("scrollingElement",e.scrollingElement)}}function sm(i,t){if(i&1){let e=P();a(0,"app-reusable-product-services-specifications",103),h("directiveScroll",function(r){C(e);let d=l(2);return v(d.directiveScroll(r))}),c()}if(i&2){let e=l(2);s("product",e.product)("serviceGroups",e.serviceGroups)("scrollingElement",e.scrollingElement)}}function dm(i,t){if(i&1){let e=P();a(0,"app-reusable-product-reevoo-reviews",104),h("directiveScroll",function(r){C(e);let d=l(2);return v(d.directiveScroll(r))}),_(1,"div",105),c()}if(i&2){let e=l(2);s("product",e.product)("averageRating",e.product==null||e.product.sku==null?null:e.product.sku.averageRating)("scrollingElement",e.scrollingElement)}}function pm(i,t){if(i&1){let e=P();a(0,"app-reusable-product-book-reviews",106),h("directiveScroll",function(r){C(e);let d=l(2);return v(d.directiveScroll(r))}),c()}if(i&2){let e=l(2);s("bookReviews",e.bookReviews)("averageRating",e.bookRating)("numOfReviews",e.bookReviewsCount)("scrollingElement",e.scrollingElement)}}function um(i,t){if(i&1){let e=P();a(0,"app-reusable-product-tracks",107),h("directiveScroll",function(r){C(e);let d=l(2);return v(d.directiveScroll(r))}),c()}if(i&2){let e=l(2);s("trackList",e.product==null||e.product.sku==null?null:e.product.sku.trackList)("scrollingElement",e.scrollingElement)}}function mm(i,t){if(i&1){let e=P();a(0,"app-reusable-product-playlist",108),h("directiveScroll",function(r){C(e);let d=l(2);return v(d.directiveScroll(r))}),c()}if(i&2){let e=l(2);s("videoList",e.product==null||e.product.sku==null?null:e.product.sku.videoList)("scrollingElement",e.scrollingElement)}}function gm(i,t){if(i&1){let e=P();a(0,"app-reusable-product-author",109),h("directiveScroll",function(r){C(e);let d=l(2);return v(d.directiveScroll(r))}),c()}if(i&2){let e=l(2);s("author",e.product==null?null:e.product.author)("scrollingElement",e.scrollingElement)}}function _m(i,t){if(i&1){let e=P();a(0,"app-reusable-product-flipbook",110),h("directiveScroll",function(r){C(e);let d=l(2);
3return v(d.directiveScroll(r))}),c()}if(i&2){let e=l(2);s("bookLookInside",e.product==null||e.product.sku==null?null:e.product.sku.bookLookInside)("scrollingElement",e.scrollingElement)}}function fm(i,t){if(i&1){let e=P();a(0,"app-reusable-related-categories",111),h("directiveScroll",function(r){C(e);let d=l(2);return v(d.directiveScroll(r))}),c()}if(i&2){let e=l(2);s("relatedCategories",e.product==null||e.product.sku==null?null:e.product.sku.ancestorCategories)("scrollingElement",e.scrollingElement)}}function hm(i,t){if(i&1&&(a(0,"div",20),_(1,"app-mdc-divider",86),p(2,om,1,2,"app-reusable-product-custom-information",87)(3,cm,2,2),p(4,lm,1,2,"app-reusable-product-specifications",88),p(5,sm,1,3,"app-reusable-product-services-specifications",89),p(6,dm,2,3,"app-reusable-product-reevoo-reviews",90),p(7,pm,1,4,"app-reusable-product-book-reviews",91),p(8,um,1,2,"app-reusable-product-tracks",92),p(9,mm,1,2,"app-reusable-product-playlist",93),p(10,gm,1,2,"app-reusable-product-author",94),p(11,_m,1,2,"app-reusable-product-flipbook",95),p(12,fm,1,2,"app-reusable-related-categories",96),c()),i&2){let e=l();o(2),u(e.shouldLoadCustomDescription()?2:3),o(2),u(!(e.product==null||e.product.sku==null||e.product.sku.sections==null)&&e.product.sku.sections.length?4:-1),o(),u(e.serviceGroups!=null&&e.serviceGroups.length?5:-1),o(),u(!(e.product==null||e.product.sku==null)&&e.product.sku.totalReviews?6:-1),o(),u(e.bookReviews!=null&&e.bookReviews.length?7:-1),o(),u(!(e.product==null||e.product.sku==null||e.product.sku.trackList==null)&&e.product.sku.trackList.length?8:-1),o(),u(!(e.product==null||e.product.sku==null||e.product.sku.videoList==null)&&e.product.sku.videoList.length?9:-1),o(),u(!(e.product==null||e.product.author==null)&&e.product.author.biography?10:-1),o(),u(!(e.product==null||e.product.sku==null)&&e.product.sku.bookLookInside?11:-1),o(),u(!(e.product==null||e.product.sku==null||e.product.sku.ancestorCategories==null)&&e.product.sku.ancestorCategories.length?12:-1)}}function Cm(i,t){i&1&&(a(0,"div",23),_(1,"app-product-hidden-prices",51),c()),i&2&&(o(),s("isPdp",!0))}function vm(i,t){if(i&1&&_(0,"app-product-prices",113),i&2){let e=l(2);s("noInitialText",!1)("noPadding",!0)("noMarginBottom",!1)("showYouWin",!0)("showNoVatText",!!e.isB2B)("noMarginBottom",!!e.isB2B)("product",e.product)("sellerPrice",e.sellerPrice)("sellerOriginalPrice",e.sellerOriginalPrice)("isPDPFooter",!0)}}function bm(i,t){if(i&1&&_(0,"app-product-store-availability-btn",115),i&2){let e=l(2);s("product",e.product)("onlyIcon",!0)}}function Pm(i,t){if(i&1){let e=P();a(0,"app-product-action-actions",118),h("btnIntersectorTriggerEvent",function(r){C(e);let d=l(3);return v(d.btnIntersectorTrigger(r))}),c()}if(i&2){let e=l(3);s("isMobile",e.isMobile())("product",e.product)}}function xm(i,t){if(i&1&&(_(0,"app-mdc-button",117),y(1,"async"),y(2,"async"),y(3,"async")),i&2){let e=l(3);s("fullWidth",!0)("icon",S(1,6,e.microInteractionsService.buyButtonIcon))("product",e.product)("disabled",(e.product==null||e.product.sku==null?null:e.product.sku.unavailableSKU)||!(!(e.product==null||e.product.availability==null||e.product.availability.deliveryRule==null)&&e.product.availability.deliveryRule.allowPurchases))("label",S(2,8,e.microInteractionsService.buyButtonlabel)?S(3,10,e.microInteractionsService.buyButtonlabel):!(e.product==null||e.product.availability==null||e.product.availability.deliveryRule==null)&&e.product.availability.deliveryRule.preOrder?"\u03A0\u03C1\u03BF\u03C0\u03B1\u03C1\u03B1\u03B3\u03B3\u03B5\u03BB\u03AF\u03B1":"\u03A0\u03C1\u03BF\u03C3\u03B8\u03AE\u03BA\u03B7")("buttonHeight","custom")}}function ym(i,t){if(i&1&&(p(0,Pm,1,2,"app-product-action-actions",116),p(1,xm,4,12,"app-mdc-button",117)),i&2){let e=l(2);u(e.isB2B&&e.isMobile()&&(!(e.product==null||e.product.priceInfo==null)&&e.product.priceInfo.salePrice||!(e.product==null||e.product.sku==null)&&e.product.sku.unavailableSKU)?0:-1),o(),u(e.isB2B?-1:1)}}function Sm(i,t){if(i&1&&(a(0,"div",112),p(1,vm,1,10,"app-product-prices",113),c(),a(2,"div",114),p(3,bm,1,2,"app-product-store-availability-btn",115)(4,ym,2,2),c()),i&2){let e=l();o(),u(!(!(e.product==null||e.product.sku==null)&&e.product.sku.unavailableSKU)&&(!(e.product==null||e.product.availability==null||e.product.availability.deliveryRule==null)&&e.product.availability.deliveryRule.allowPurchases||!(!(e.product==null||e.product.availability==null||e.product.availability.deliveryRule==null)&&e.product.availability.deliveryRule.allowPurchases)&&(!(e.product==null||e.product.availability==null||e.product.availability.deliveryRule==null)&&e.product.availability.deliveryRule.uniqueStoreAssortment))?1:-1),o(2),u(!(e.product==null||e.product.availability==null||e.product.availability.deliveryRule==null)&&e.product.availability.deliveryRule.uniqueStoreAssortment?3:4)}}function Mm(i,t){if(i&1&&(a(0,"div",119),_(1,"app-product-stores",121),c()),i&2){let e=l(2);o(),s("isSticky",!0)("product",e.product)("addProPartnerMargin",!0)("trustedSellerText",!0)}}
3function Om(i,t){if(i&1){let e=P();a(0,"div",120)(1,"button",122),h("click",function(){C(e);let r=l(2);return v(r.openDialogCartStoreAvailability())}),m(2," \u0394\u03B9\u03B1\u03B8\u03B5\u03C3\u03B9\u03BC\u03CC\u03C4\u03B7\u03C4\u03B1 \u03B1\u03BD\u03AC \u03BA\u03B1\u03C4\u03AC\u03C3\u03C4\u03B7\u03BC\u03B1 "),c()()}}function wm(i,t){if(i&1&&(p(0,Mm,2,4,"div",119),p(1,Om,3,0,"div",120)),i&2){let e=l();u(!e.isServiceRepair&&!e.isCyprus&&(!(e.product==null||e.product.priceInfo==null)&&e.product.priceInfo.salePrice)&&(!(e.product==null||e.product.sku==null||e.product.sku.offerDto==null)&&e.product.sku.offerDto.shopName||!(!(e.product==null||e.product.sku==null)&&e.product.sku.mirakl)&&(!(e.product==null||e.product.sku==null)&&e.product.sku.offerCount)||!(e.product==null||e.product.sku==null)&&e.product.sku.mirakl&&(!(e.product==null||e.product.sku==null)&&e.product.sku.offerCount)&&e.product.sku.offerCount>1)?0:-1),o(),u(!(!e.isServiceRepair&&!e.isCyprus&&(!(e.product==null||e.product.priceInfo==null)&&e.product.priceInfo.salePrice)&&(!(e.product==null||e.product.sku==null||e.product.sku.offerDto==null)&&e.product.sku.offerDto.shopName||!(!(e.product==null||e.product.sku==null)&&e.product.sku.mirakl)&&(!(e.product==null||e.product.sku==null)&&e.product.sku.offerCount)||!(e.product==null||e.product.sku==null)&&e.product.sku.mirakl&&(!(e.product==null||e.product.sku==null)&&e.product.sku.offerCount)&&e.product.sku.offerCount>1))&&(!(e.product==null||e.product.sku==null)&&e.product.sku.id)&&e.availabilityOfProduct&&e.isProductAvailableInStore?1:-1)}}function km(i,t){if(i&1&&_(0,"app-dynamic-reusables",71),i&2){let e=l(2).$implicit;s("component",e)}}function Im(i,t){i&1&&_(0,"section")}
3function Bm(i,t){i&1&&(Ft(0,km,1,1)(1,Im,1,0),Ln(2,0,uu,null,1),Gn(0,-1))}function Tm(i,t){if(i&1&&(p(0,Bm,4,0),y(1,"activeReusables")),i&2){let e=t.$implicit;u(S(1,1,e)?0:-1)}}function Dm(i,t){if(i&1&&(a(0,"div",132),m(1),c()),i&2){let e=l(3).$implicit;o(),x(" ",e.values==null?null:e.values.join()," ")}}function Rm(i,t){if(i&1&&(a(0,"div",132)(1,"a",133),m(2),c()()),i&2){let e=l(3).$implicit,n=l(3);o(),s("routerLink",e.link)("queryParams",e.params)("attributeData",O(6,hu,O(4,fu,n.seoRobots))),o(),E(e==null||e.values==null?null:e.values.join())}}function Em(i,t){if(i&1&&(a(0,"div",126),m(1),c(),p(2,Dm,2,1,"div",132),p(3,Rm,3,8,"div",132)),i&2){let e=l(2).$implicit;o(),x(" ",e.displayName," "),o(),u(e.link?-1:2),o(),u(e.link?3:-1)}}function Am(i,t){if(i&1&&m(0),i&2){let e=l(2).$implicit;x(" ",e," ")}}function Vm(i,t){if(i&1&&m(0),i&2){let e=l(2).$implicit;x(" ",e,", ")}}function Fm(i,t){if(i&1&&(a(0,"a",134),p(1,Am,1,1)(2,Vm,1,1),c()),i&2){let e=l(),n=e.$index,r=e.$count,d=l().$implicit;s("href",d,H)("routerLink",d),o(),u(n===r-1?1:2)}}function Nm(i,t){if(i&1&&p(0,Fm,3,3,"a",134),i&2){let e=t.$index,n=l().$index;u(n==e?0:-1)}}function jm(i,t){if(i&1&&I(0,Nm,1,1,null,null,N),i&2){let e=l(3).$implicit;B(e.values)}}function Lm(i,t){if(i&1&&(a(0,"div",126),m(1),c(),a(2,"div",132),I(3,jm,2,0,null,null,N),c()),i&2){let e=l(2).$implicit;o(),E(e.displayName),o(2),B(e.urls)}}function Gm(i,t){if(i&1&&(a(0,"div",131),p(1,Em,4,3),p(2,Lm,5,1),c()),i&2){let e=l().$implicit;o(),u(e.displayName&&!(e.urls!=null&&e.urls.length)?1:-1),o(),u(e.displayName&&(e.urls!=null&&e.urls.length)?2:-1)}}function zm(i,t){if(i&1&&p(0,Gm,3,2,"div",131),i&2){let e=t.$index;u(e<6?0:-1)}}function Um(i,t){if(i&1){let e=P();a(0,"div",123),ta(1),a(2,"div",124)(3,"div",125)(4,"span",126)(5,"strong"),m(6,"\u039A\u03CD\u03C1\u03B9\u03B1 \u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03B7\u03C1\u03B9\u03C3\u03C4\u03B9\u03BA\u03AC"),c()()(),a(7,"div",127)(8,"a",128),h("click",function(){C(e);let r=l(2);return v(r.scrollTo("#reusable-product-specifications"))}),m(9,"\u0391\u03BD\u03B1\u03BB\u03C5\u03C4\u03B9\u03BA\u03AD\u03C2 \u03BB\u03B5\u03C0\u03C4\u03BF\u03BC\u03AD\u03C1\u03B5\u03B9\u03B5\u03C2"),c()()(),a(10,"div",129),_(11,"app-mdc-divider"),c(),ia(),a(12,"div",130),I(13,zm,1,1,null,null,N),c()()}if(i&2){let e=l(2);o(13),B(e.product==null||e.product.sku==null?null:e.product.sku.topSpecs)}}function $m(i,t){if(i&1&&p(0,Um,15,0,"div",123),i&2){let e=l();u(!(e.product==null||e.product.sku==null||e.product.sku.topSpecs==null)&&e.product.sku.topSpecs.length&&(!(e.product==null||e.product.sku==null||e.product.sku.sections==null)&&e.product.sku.sections.length)&&!e.isMobile()?0:-1)}}var Qi=class Qi{constructor(t,e,n,r,d,b,w,k,T,W,J,wt,fe,Mn,Et,Rn,bc,Pc,xc,yc,Sc,Mc,Oc,wc,kc,Ic,Bc,Tc,Dc,Rc,Ec,Ac,Vc,th,ih,nh,oh){this.router=t;this.activatedRoute=e;this.productListService=n;this.tagManagerService=r;this.cdRef=d;this.utils=b;this.document=w;this.platformId=k;this.window=T;this.modalService=W;this.commonService=J;this.recommendationsApiService=wt;this._sanitizer=fe;this.vatDeductionCheckService=Mn;this.activeTabHeaderService=Et;this.seoService=Rn;this.productInfoService=bc;this.ssrService=Pc;this.serverResponseService=xc;this.prerenderService=yc;this.productService=Sc;this.productApiService=Mc;this.renderer=Oc;this.microInteractionsService=wc;this.productStore=kc;this.urlService=Ic;this.b2bService=Bc;this.b2bStore=Tc;this.location=Dc;this.zone=Rc;this.userStore=Ec;this.deviceService=Ac;this.deviceStore=Vc;this.productSchemaService=th;this.subscriptionPlusApiService=ih;this.subscriptionPlusService=nh;this.postalCodeValidationService=oh;this.bundleRecommendations=V(void 0);this.displayBundleRecommendations=f(()=>(this.bundleRecommendations()?.length??0)>0);this.eligibleForRecycleVoucher=!1;this.category="";this.isCyprus=!1;this.isB2B=!1;this.isSticky=!1;this.getPrice=!1;this.loaded=!1;this.productLoaded=!1;this.subscriptions=[];this.productSignal=V(void 0);this.isServiceRepair=!1;this.isBrowser=!1;this.isBook=!1;this.klarnaInstallment="";this.klarnaOnSiteMsg=!1;this.serviceGroups=[];this.iPhoneFix=!1;this.topStickyVisible=!1;this.headerActiveTab="reusable-product-text-manual";this.eligibleForBoxNow=!1;this.isPageFullyLoaded=!1;this.productInfoFlag=!1;this.isAndroidFirefox=!1;this.isProductAvailableInStore=!0;this.seoRobots="";this.showPlaceHolderHeroImage=!1;this.hasSelectedZipCode=!1;this.viewport=$(this.deviceStore.selectViewport());this.isMobile=f(()=>this.getIsMobile());
3this.showFullText=f(()=>this.getShowFullText());this.subscriptionPlans=V([]);this.subscriptionThreshold=f(()=>this.subscriptionPlans()?.[0]?.subscriptionThreshold??void 0);this.subscriptionPrice=f(()=>this.subscriptionPlans()?.[0]?.subscriptionPrice??0);this.productDescriptionString=f(()=>{let t=this.productSignal(),e=t?.sku?.freeHtml,n=t?.sku?.longDescription,r=typeof e=="string"?e:e?.changingThisBreaksApplicationSecurity,d=typeof n=="string"?n:n?.changingThisBreaksApplicationSecurity;return r||d||""});this.shouldLoadCustomDescription=f(()=>{let t=this.productDescriptionString();return t?t.includes("new-ipad-pdp")||t.includes("new-macbook-pro-pdp"):!1});this.customDescriptionType=f(()=>{let t=this.productDescriptionString();return t.includes("new-ipad-pdp")?"new-ipad-pdp":t.includes("new-macbook-pro-pdp")?"new-macbook-pro-pdp":""});this.userLoginStatus$=this.userStore.selectUserLoginStatus();this.destroy$=new se;this.fixedTabs=!1,this.activeTab=null,this.tabs=[],this.prevUrl=this.router?.currentNavigation()?.previousNavigation?.finalUrl?.toString()}ngAfterViewInit(){this.getBookfriendsReviews(),this.subscriptions.push(),this.subscriptions.push(this.commonService.selectedStore$.subscribe(t=>{t&&this.loaded&&this.getProductPrice()})),this.loaded=!0,this.prerenderService.setPrerenderReadyStatus(!0),this.cdRef.markForCheck()}showProductInfo(){this.productInfoFlag=!0}btnIntersectorTrigger(t){t?this.topStickyVisible=!0:this.topStickyVisible=!1}scrollToFromHeader(t){if(t===this.headerActiveTab){if(this.document.getElementById(t)){let e=this.document.getElementById(t);e&&this.window.scrollTo({behavior:"smooth",top:e.getBoundingClientRect().top-this.document.body.getBoundingClientRect().top-216})}return}this.scrollTo("#"+t),this.activeTabHeaderService.updateActiveTab(t)}ngOnInit(){if(this.isCyprus=F.cyprus,this.isB2B=F.b2b,this.isBrowser=K(this.platformId),this.navState=this.location.getState(),this.subscriptions.push(this.activeTabHeaderService.currentActiveTabId.subscribe(e=>this.headerActiveTab=e)),this.getProductData(),this.sendClickEvents(),this.subscriptions.push(this.router.events.subscribe(e=>{e instanceof Wn&&e.url&&e.url.indexOf("/product/")>-1&&this.getProductData()})),this.subscriptions.push(this.userStore.selectUserWishlist().subscribe(e=>{if(!(!this.product||!this.utils.isObject(e))){for(let[n,r]of Object.entries(e))if(r==this.activatedRoute.snapshot.paramMap.get("productId")){this.product.favorite=!0;return}this.product.favorite=!1,this.cdRef.detectChanges()}})),this.subscriptions.push(this.activatedRoute.queryParams.subscribe(e=>{this.sellerId=e?.seller})),this.subscriptions.push(this.productStore.selectLastSelectedService().subscribe(e=>{e&&this.manageServiceSwitchState(e)})),this.isBrowser){let e=this.document.querySelector("#product__tabs"),n=this.document.querySelector("#header"),r=e?.getBoundingClientRect().top-n?.getBoundingClientRect().height+window.scrollY}else this.productLoaded=!0;this.isBrowser&&(this.iPhoneFix=this.deviceService.isIphone());let t=this.window.navigator?.userAgent;this.isAndroidFirefox=t?.toLowerCase().includes("android")&&t?.toLowerCase().includes("firefox"),this.getSubscriptionPlans()}getIsMobile(){let t=K(this.platformId),e=this.viewport();return t&&e?e.innerWidth<820:this.deviceService.isMobile()}getShowFullText(){let t=K(this.platformId),e=this.viewport();return t&&e?e.innerWidth>1405:this.deviceService.isDesktop()}openDialogShare(){this.modalService.open(this.product,"dialogShareProduct")}sendClickEvents(){let t=sessionStorage.getItem("citrusAdIds");this.productStore.setRedirectedFromSearch(!1),this.prevUrl?.includes("/search?")?this.productStore.setRedirectedFromSearch(!0):this.prevUrl?.includes("/cat/")&&t&&this.tagManagerService.adImpressionClick()}getProductData(){let t=this.activatedRoute.snapshot.paramMap.get("productSlug"),e=this.activatedRoute.snapshot.paramMap.get("productId");if(e?.includes("prod")){this.router.navigate(["/page-not-found"],{skipLocationChange:!0});return}this.isB2B&&this.b2bService.getProductVolumeDiscount(e);let n=this.productListService.getProductData(t,e),r=this.productListService.retrieveProductPrice(e).pipe(wn(b=>this.productStore.setProductPage(b)));this.commonService.productSku=e;let d=b=>{let w=b.productDetails?.sku?.media?.galleryImages[0]?.url1;if(w?.length&&!F.ssr){let k=new Image;k.src=w,k.onload=()=>{this.setProductDetailsAndServicesData(b)},k.onerror=()=>{this.showPlaceHolderHeroImage=!0,this.setProductDetailsAndServicesData(b)}}else this.showPlaceHolderHeroImage=!0,this.setProductDetailsAndServicesData(b)};this.isBrowser?this.getReusables(e).pipe(kt(b=>On({productDetails:n,productPrice:r}).pipe(wn(({productDetails:w,productPrice:k})=>{this.parseReusables(b,this.productService.hasPriceGuarantee(k))}))),we(1),te(this.destroy$)).subscribe(d):On({productDetails:n,productPrice:r}).pipe(we(1),te(this.destroy$)).subscribe(d)}
3getBundleRecommendations(){let t=this.product.productId;this.recommendationsApiService.getBundleRecommendations(t).pipe(we(1),te(this.destroy$),Vn(e=>ht(e))).subscribe({next:e=>{this.bundleRecommendations.set(e)},error:e=>{this.bundleRecommendations.set(void 0)}})}setProductDetails(t,e){let n=this.urlService.originHttps(),r=this.urlService.pathname(),d=t.sku?.url;if(this.isB2B&&d&&d.replaceAll("//","/"),d&&r!==d&&this.constructCanonicalUrl({canonicalUrl:d}),this.tagManagerService.serviceResponse("pdp",t,this.router.url),t.sku&&(t.sku.services=[]),t.sku&&(t.sku.offerDto=null),t.sku&&(t.sku.offers=[]),this.product=t,this.productSignal.set(t),this.productListService.getCompareOnLoad([this.product]),this.setBuyButtonData(),this.product.id=t.productId,this.product.show=!1,this.product.breadcrumb=t.breadcrumb,this.reevooTab?.getReviews(t.productId,1),this.zone.onStable.pipe(we(1),te(this.destroy$)).subscribe(()=>{this.scrollToReevoo()}),this.product?.sku?.priceInfoDto?.salePrice&&!F.cyprus&&K(this.platformId)&&!this.product?.sku?.mirakl&&(this.product?.sku?.priceInfoDto?.salePrice>10||this.product?.sku?.priceInfoDto?.salePrice>10)&&(this.product?.sku?.priceInfoDto?.salePrice<1500||this.product?.sku?.priceInfoDto?.salePrice<1500)&&(this.klarnaOnSiteMsg=!0,this.getKlarnaInstallment(this.product.sku.priceInfoDto.salePrice)),(this.product.sku.freeHtml||this.product.sku.longDescription)&&this.isBrowser&&setTimeout(()=>{this.getArticle(this.product.sku.freeHtml?this.product.sku.freeHtml:this.product.sku.longDescription,"reusable-product-information")}),this.product?.sku?.recommended&&!this.isMobile()&&this.getBundleRecommendations(),this.productLoaded=!0,this.mainContent&&this.renderer.removeClass(this.mainContent?.nativeElement,"main__content--min-height"),this.isServiceRepair=this.product.sku?.skuType=="service",this.isBook=this.product.sku?.skuType=="book",this.isBook&&this.product.sku.textManual&&(this.product.sku.textManual=this._sanitizer.bypassSecurityTrustHtml(this.product.sku.textManual)),this.isBook&&(this.product.sku?.authors?.length&&(this.product.author=this.product.sku.authors[0]),this.product.sku?.topSpecs?.map(fe=>(fe.displayName?.includes("\u03A3\u03C5\u03B3\u03B3\u03C1\u03B1\u03C6")&&this.product.author?.personsId&&(this.seoRobots=this.isCyprus?"nofollow":"",fe.link="/authors/"+this.product.author?.fullName+"/"+this.product.author?.personsId),fe.displayName?.includes("\u0395\u03BA\u03B4\u03CC\u03C4\u03B7\u03C2")&&(fe.link="/search",fe.params={q:fe.values?.join()}),fe.displayName?.includes("\u039A\u03B1\u03C4\u03B7\u03B3\u03BF\u03C1\u03AF\u03B1")&&(fe.link=this.product.breadcrumb?this.product.breadcrumb[this.product.breadcrumb.length-2]?.url:""),fe.displayName?.includes("\u0397\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u03BA\u03C5\u03BA\u03BB\u03BF\u03C6\u03BF\u03C1\u03AF\u03B1\u03C2")&&(fe.date=!0),fe))),this.setProductPrice(e,this.product.sku.url),this.isB2B){let fe=this.b2bStore.getProductVolumeDiscountOptions();this.product.showSkuQuantity=this.productService.showVolumeDiscount(fe)}this.product.favorite=!1;let b=this.userStore?.getUserWishlist();if(this.utils.isObject(b)){for(let[fe,Mn]of Object.entries(b))if(Mn==this.activatedRoute.snapshot.paramMap.get("productId")){this.product.favorite=!0;return}}let w=this.seoService.formatProductMetaTitle(this.product,this.productService),k=this.seoService.formatProductMetaDescription(this.product,this.productService),T=this.product.sku.defaultKeywords?this.product.sku.defaultKeywords.toString():this.product.sku.displayName,W=this.product.sku.media?.heroImage?this.product.sku.media?.heroImage?.thumbnail:"",J=this.product.sku.url;if(t.sku?.seo&&t.sku?.seo?.canonicalUrl&&this.constructCanonicalUrl(t.sku?.seo),t.sku?.seo&&t.sku?.seo?.robots&&this.seoService.setRobotsTag(this.router.url,{robots:t.sku?.seo?.robots}),t.sku?.seo&&t.sku?.seo?.honeDesc&&(this.product.sku.displayName=t.sku?.seo?.honeDesc),this.utils.updateMetaTags(t.sku?.seo&&t.sku?.seo?.seoTitle?t.sku?.seo?.seoTitle:w,t.sku?.seo&&t.sku?.seo?.seoDescription?t.sku?.seo?.seoDescription:k,T,J,W),this.category="",this.product?.breadcrumb?.length)for(let fe=0;fe<this.product?.breadcrumb?.length;fe++)this.category+="/"+this.product?.breadcrumb[fe].displayName;this.product?.sku?.mirakl&&!this.product?.availability?.deliveryRule?.allowPurchases?this.availabilityOfProduct=this.product?.availability?.deliveryRule?.allowPurchases:this.product?.sku?.unavailableMRKsku?this.availabilityOfProduct=!1:this.product?.availability?.deliveryRule?.inStock&&!this.product?.availability?.deliveryRule?.allowPurchases?this.availabilityOfProduct=this.product?.availability?.deliveryRule?.allowPurchases:this.availabilityOfProduct=this.product?.availability?.deliveryRule?.allowPurchases;let wt="\u039C\u03B7 \u03B4\u03B9\u03B1\u03B8\u03AD\u03C3\u03B9\u03BC\u03BF";this.isProductAvailableInStore=!this.product?.availability?.storeRule?.storePromiseText.includes(wt),this.tagManagerService.viewItemEvent(this.product)}getSkuFromUrl(){let e=new URL(this.document.URL).pathname.split("/").pop();if(!Number.isNaN(e)||e?.startsWith("MRK"))return e}setSelectedServicesState(t){this.subscriptions.push(this.commonService.selectedZipCode$.pipe(kt(e=>e?(this.hasSelectedZipCode=!0,this.postalCodeValidationService.validatePostalCodeAndServiceAvailability({postalCode:e,skuIds:[t.productId],cartPage:!1}).pipe(kt(n=>this.productListService.retrieveProductPrice(this.product.sku.id).pipe(je(r=>(this.productStore.setProductPage(r),[n,r])))))):Qr)).subscribe({next:e=>{if(this.setProductPrice(e[1]),e[0].result!=="Success"){this.commonService.wasServicePerAreaValidated.next(!1);return}this.invalidServices=e[0].invalidServices,this.productService.updateServices(this.product.sku.services,this.product,e[0].invalidServices?.length),this.commonService.wasServicePerAreaValidated.next(!0)},error:()=>{this.commonService.wasServicePerAreaValidated.next(!1)}}))}populateMetaTagsWithoutAuthor(){let t="";return this.product.sku.topSpecs.map(e=>{e.displayName.includes("\u03A3\u03C5\u03B3\u03B3\u03C1\u03B1\u03C6")&&(t=" - "+e.values[0])}),t}getArticle(t,e){let n=/<script(.*?)<\/script>/g,r=/<script\b[^>]*>([\s\S]*?)<\/script>/gm;if(t){let d=t.match(n);this.utils.scriptRegex(r,d),e=="longDescription"?this.product.sku.longDescription=this._sanitizer.bypassSecurityTrustHtml(t):e=="reusable-product-information"&&(this.product.sku.freeHtml=this._sanitizer.bypassSecurityTrustHtml(t))}setTimeout(()=>{try{let d=this.document.getElementById(e)?this.document.getElementById(e)?.querySelectorAll("a"):null;d&&this.utils.handleAnchorsRouting(d)}catch{}}),this.cdRef.markForCheck()}getKlarnaInstallment(t){let e=t+"";
3e.indexOf(".")!=-1?(e.split(".")[1].length==1&&(e=e+"0"),e=e.replace(".","")):e=e+"00",this.klarnaInstallment=parseInt(e)}setProductPrice(t,e){t?.eligibleForRecycleVoucher&&(this.eligibleForRecycleVoucher=t?.eligibleForRecycleVoucher),this.vatDeductionCheckService.setVatDeductionEligible(t?.validAr39),t?.prices&&t.prices[0]&&(this.product.priceInfo=t.prices[0],this.product.priceInfo?.discountPercent&&(this.product.sku.ribbons?.length||(this.product.sku.ribbons=[]),this.product.sku.ribbons.push({id:"",ribbonId:"in-sale",textColor:"#181818",backgroundColor:"#eee809",text:"offer",salePercent:this.product.priceInfo?.discountPercent,sale:!0,default:!0}))),t?.showSkuQuantity&&(this.product.showSkuQuantity=t?.showSkuQuantity),t?.maxCartQuantity&&(this.product.sku.maxQuantity=t?.maxCartQuantity),t?.stockRule&&(this.product.availability=t.stockRule,this.product.deliveryCost=t.deliveryCost,this.product.deliveryCostText=t.deliveryCostText),t?.boxNowRule&&(this.product.boxNowRule=t.boxNowRule),this.product.sku.mirakl=t.mirakl,this.product.sku?.mirakl&&(this.product.sku.offers=t.offers,this.product.sku.offerDto=this.sellerId?this.getSellerOffer(t.offers):t.offer,this.product.sku.offerDto?.shopName||(this.product.sku.offerDto.shopName=this.sellerId?this.getSellerOffer(t.offers).seller:t.offer.seller)),this.product.sku.offerCount=t.offerCount,this.product.sku.offerCountText=this.product.sku?.offerCount?`(+${this.product.sku?.mirakl?this.product.sku?.offerCount-1:this.product.sku?.offerCount} \u03B1\u03BA\u03CC\u03BC\u03B7 \u03BA\u03B1\u03C4\u03B1\u03C3\u03C4\u03AE\u03BC\u03B1\u03C4\u03B1)`:"",(!this.product.sku?.offerCount&&this.product.id?.indexOf("MRK")>-1&&!this.product?.priceInfo?.salePrice||this.product.sku?.hidden)&&(this.product.sku.unavailableSKU=!0),!this.product.sku?.offerCount&&this.product.id?.indexOf("MRK")>-1&&!this.product?.priceInfo?.salePrice&&(this.product.sku.unavailableMRKsku=!0),this.serviceGroups=t?.serviceGroups,t?.serviceGroups?.length&&(this.product.sku.services=t?.serviceGroups,t?.digitalCare&&(this.product.sku.services=[])),this.validateServicesOnPdpRefresh(),t.paymentMethodDtos&&(this.product=Z(U({},this.product),{paymentMethodDtos:t.paymentMethodDtos})),this.product?.sku?.variantGroups?.length&&this.product.sku.services?.length&&(this.isSticky=!0),this.getPrice=!0,this.cdRef.markForCheck(),this.constructProductSchema(e);let n=this.reusableComponents;n&&(this.componentsUpper=this.componentsUpper?.map(r=>this.populateReusableWithContext(r,n.details)),this.componentsLower=this.componentsLower?.map(r=>this.populateReusableWithContext(r,n.details)),this.setJustAddedRecommendationsData(n))}validateServicesOnPdpRefresh(){this.productService.updateServices([...this.product?.sku?.services],this.product,this.invalidServices)}getProductPrice(t){this.getPrice=!1,this.subscriptions.push(this.productListService.retrieveProductPrice(this.product.sku.id).pipe(wn(e=>this.productStore.setProductPage(e))).subscribe(e=>{this.setProductPrice(e,t)}))}getProductAvailabilitySchema(){let t=this.product.availability?.deliveryRule;return t?.inStock&&t?.allowPurchases?t?.preOrder?"https://schema.org/PreOrder":"https://schema.org/InStock":t?.preOrder?"https://schema.org/PreOrder":"https://schema.org/OutOfStock"}constructProductSchema(t){let e="",n=this.document.location.origin;n?.includes("https")||(n=n.replace("http","https"));let r=this.product.breadcrumb?.length?this.product.breadcrumb?.length:0;this.product.breadcrumb?.forEach((W,J)=>{e+=r-1>J+1?W.displayName+" > ":J+1==r-1?W.displayName:""});let d=n+(t||this.router.url),b=this.getSchemaOfferPrice(),w=this.product?.priceInfo?.listPrice??null,k=this.product?.services??this.product?.sku?.services??[],T=(Array.isArray(k)?k:[]).flatMap(W=>Array.isArray(W?.services)?W.services:[]).filter(W=>(W?.salePrice??W?.listPrice)!=null).map(W=>({"@type":"Service",name:W?.serviceSKU?.displayName,serviceType:W?.serviceType,offers:{"@type":"Offer",price:Number(W?.salePrice??W?.listPrice),priceCurrency:"EUR"}}));this.productSchema=U({"@context":"https://schema.org","@type":"Product",name:this.productInfoService.getProductTitle(this.product),sku:this.product?.sku?.id,image:[],brand:{name:this.product?.sku?.brand?.displayName,"@type":"Brand"},aggregateRating:{"@type":"AggregateRating",reviewCount:this.product?.sku?.totalReviews,ratingV
3alue:this.product?.sku?.averageRating,bestRating:"5",worstRating:"1",itemReviewed:{name:this.product?.sku?.displayName,"@type":"Thing"}},offers:{"@type":"Offer",price:b,description:this.seoService.formatProductMetaDescription(this.product,this.productService),priceCurrency:"EUR",availability:this.getProductAvailabilitySchema(),itemCondition:"https://schema.org/NewCondition",url:d,priceSpecification:{"@type":"PriceSpecification",price:b,priceCurrency:"EUR",valueAddedTaxIncluded:!0,listPrice:w}}},T.length?{makesOffer:T}:{}),this.product?.sku?.media?.galleryImages?.length&&this.product.sku?.media?.galleryImages.forEach(W=>{this.productSchema.image.push(W?.large)}),this.product?.sku?.averageRating||(this.productSchema.aggregateRating=void 0),this.isBook&&this.constructBookSchema()}constructBookSchema(){let t=this.document.location.origin;t?.includes("https")||(t=t.replace("http","https"));let e=this.getSchemaOfferPrice();this.bookSchema={"@context":"https://schema.org","@type":"DataFeed",dataFeedElement:[{"@context":"https://schema.org","@type":"Book","@id":t+this.product?.sku?.url,url:t+this.product?.sku?.url,name:this.product?.sku?.displayName,author:this.productInfoService.getBookAuthor(this.product)?{"@type":"Person",name:this.productInfoService.getBookAuthor(this.product)}:void 0,publisher:{"@type":"Organization",name:this.productInfoService.getBookPublisher(this.product)},isbn:this.product?.sku?.isbn,datePublished:this.productInfoService.getBookDatePublished(this.product),numberOfPages:this.productInfoService.getBookNumOfPages(this.product),inLanguage:this.productInfoService.getBookLanguage(this.product),bookFormat:this.productInfoService.getBookFormat(this.product),offers:Z(U({"@type":"Offer",availability:this.getProductAvailabilitySchema(),priceCurrency:"EUR",url:t+this.product?.sku?.url},e!=null?{price:e}:{}),{itemCondition:"https://schema.org/NewCondition"}),aggregateRating:this.product?.sku?.totalReviews?{"@type":"AggregateRating",reviewCount:this.product?.sku?.totalReviews,ratingValue:this.product?.sku?.averageRating,bestRating:"5",worstRating:"1",itemReviewed:{name:this.product?.sku?.displayName,"@type":"Thing"}}:void 0}]}}getSchemaOfferPrice(){let t=this.product.priceInfo?.hasSalePrice&&this.product?.priceInfo?.salePrice?this.product?.priceInfo?.salePrice:this.product?.priceInfo?.listPrice;return this.isB2B&&!this.userStore.getUserLoginStatus()&&(t=null),t}getReusables(t){return this.commonService.getReusables("productPage",t).pipe(wn(e=>this.reusableComponents=e),An(e=>!!e),we(1),te(this.destroy$))}setJustAddedRecommendationsData(t){let n=[t.belowHeader,t.upper,t.lower,t.walletReusable].filter(d=>!!d).flat().find(d=>d?.reusable?.addToCart&&d?.reusable.reusableType.includes("recommendationReusable")),r=n?this.populateReusableWithContext(structuredClone(n)):void 0;this.productStore.setJustAddedReusableData(r)}parseReusables(t,e){t&&(this.componentsBelowHeader=t.belowHeader,this.componentsWalletReusable=t.walletReusable,e&&(this.componentsWalletReusable=[Io,...this.componentsWalletReusable]),this.componentsUpper=t.upper.map(n=>this.populateReusableWithContext(n,t.details)),this.componentsLower=t.lower.map(n=>this.populateReusableWithContext(n,t.details)),this.cdRef.detectChanges())}scrollTo(t){var e=this.document.querySelector(t);if(this.document.querySelector(t+" article")?.classList.contains("card--accordion--open")||this.document.querySelector(t+" .accordion-title").click(),e){var n=this.isMobile()?60:216,r=e.getBoundingClientRect().top,d=r+this.window.scrollY-n;this.window.scrollTo({top:d,behavior:"smooth"})}}changeTab(t){this.activeTab=t,this.scrollTo(this.tabs[t].target),this.scrollingElement=this.tabs[t].target}directiveScroll(t,e=!1){if(e){this.fixedTabs=t;return}
3this.tabs.forEach((n,r)=>{n.target.includes(t)&&(this.activeTab=r)})}setTab(t){this.activeTab=t}trackById(t){return t}manageServiceSwitchState(t){let e=U({},t);this.deselectAndUpdateServices(e)}deselectAndUpdateServices(t){let n=this.productStore.getPdpServices().map(r=>Z(U({},r),{services:r.services?.map(d=>{let b=U({},d);return b.id===t.id?U({},t):(b.serviceGroup&&b.serviceSKU.id!==t.serviceSKU.id&&b.serviceGroup===t.serviceGroup&&(b.selected=!1),U(U({},b),this.getUpdatedChildState(b,t)))})}));this.productService.updateServices(n,this.product),this.cdRef.markForCheck()}getUpdatedChildState(t,e){if(t.parentServiceSKU){if(t.parentServiceSKU.includes(",")){if(t.parentServiceSKU.split(",").includes(e.serviceSKU.id))return{disable:!0}}else if(t.parentServiceSKU===e.serviceSKU.id){let n=!!(!e.selected||e.invalid),r=t.selected?!1:t.selected;return{disable:n,selected:r}}}return{}}redirectToCanonicalUrl(t,e){this.ssrService.isSsrServer()?(this.serverResponseService.appendHeader("Location",`${t}${e}`),this.serverResponseService.setStatus(301)):(this.router.navigate([e],{state:{canonicalRedirect:!0}}),this.prerenderService.setMetaStatusCode(301),this.prerenderService.setMetaHeader(`Location: ${t}${e}`),this.prerenderService.setPrerenderReadyStatus(!0,0))}constructCanonicalUrl(t){if(t?.canonicalUrl){let{canonicalUrl:e}=t;this.seoService.createCanonicalUrl(this.document.URL,{canonicalUrl:e})}}getSellerOffer(t){this.sellerId&&this.subscriptions.push(this.productApiService.getOffers(this.product?.sku?.id).subscribe(n=>{if(n.offers.length){let r=this.transformPromiseDate(this.filterOfferById(n.offers)?.dateFrom),d=this.transformPromiseDate(this.filterOfferById(n.offers)?.dateTo);this.sellerPromiseDate=`${r} - ${d}`,this.cdRef.markForCheck()}}));let e=t.find(n=>n.shop==this.sellerId);return this.sellerPrice=e?.price,this.sellerOriginalPrice=e?.originPrice,e}filterOfferById(t){return t.find(e=>e.shop?e.shop:e.shopId==this.sellerId)}transformPromiseDate(t){let e=t.split(","),n=e[0].slice(0,3),r=e[1].split("-");return`${n} ${r[0]}/${r[1]}`}openDialogCartStoreAvailability(){let t={mode:"default",product:this.product};this.modalService.open(t,"storeAvailability")}clearPrerenderHeaders(){let t=this.router.currentNavigation()?.extras?.state?.canonicalRedirect;!this.ssrService.isSsrServer()&&!t&&(this.prerenderService.removeMetaHeader(),this.prerenderService.removeMetaStatusCode())}setProductDetailsAndServicesData(t){this.setProductDetails(t.productDetails,t.productPrice),this.setSelectedServicesState(t.productDetails)}setBuyButtonData(){this.microInteractionsService.setDefaultButtonData()}changeBuyButton(){this.microInteractionsService.changeBuyButton()}getBookfriendsReviews(){let t=this.product?.sku?.id??this.getSkuFromUrl();this.productApiService.getBookFriendsReviews(t).pipe(te(this.destroy$)).subscribe(e=>(this.bookReviews=e.reviews,this.bookReviewsCount=e.numOfReviews,this.bookRating=e.averageRating))}scrollToReevoo(){this.navState?.openSection==="ratings"&&this.scrollTo("#reusable-product-reevoo-reviews")}populateReusableWithContext(t,e){return t.pageTemplate==="/recommendationReusable"&&(t.extendedContext={sku:this.product?.sku?.id,skuIds:this.product?.sku?.recommended,details:e}),t}getSubscriptionPlans(){this.subscriptionPlusApiService.getSubscriptionPlans(!1).pipe(te(this.destroy$)).subscribe(t=>{t?.subscriptions?.length&&(this.subscriptionPlusService.setSubscriptionPlans(t.subscriptions),this.subscriptionPlans.set(t.subscriptions))})}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe()),this.destroy$.next(!0),this.destroy$.complete(),this.clearPrerenderHeaders()}};Qi.\u0275fac=function(e){return new(e||Qi)(g(it),g(Qn),g(Ue),g(rt),g(ye),g(ze),g(ie),g(X),g(qn),g(ut),g(ve),g(ei),g(Ie),g(po),g(Xa),g(oi),g(Se),g(Wt),g(gt),g(so),g(ne),g(Zt),g(Je),g($t),g(Ce),g(Yn),g(vo),g($e),g($n),g(Zr),g(ue),g(pe),g(de),g(_t),g(io),g(no),g(xo))},Qi.\u0275cmp=M({type:Qi,selectors:[["app-product"]],viewQuery:function(e,n){if(e&1&&(oe(lu,5),oe(su,5),oe(du,5),oe(pu,5)),e&2){let r;re(r=ae())&&(n.aside=r.first),re(r=ae())&&(n.productTabs=r.first),re(r=ae())&&(n.mainContent=r.first),re(r=ae())&&(n.reevooTab=r.first)}},features:[tt([gt,Se,ei,_t])],decls:36,vars:39,consts:[["mainContent",""],["specsTpl",""],[3,"json"],[1,"mdc-top-app-bar","mdc-top-app-bar--white","mdc-top-app-bar--sticky--fixed","d-none","d-md-block",3,"ngClass"],[3,"breadcrumb","inputMode"],[1,"container","main__content","main__content--min-height"],[1,"left-container"],[1,"product__gallery"],[3,"showPlaceHolderHeroImage","product"],[1,"col","col-12","col-md-7","col-lg-7","col-sm-12","m-auto"],[1,"position-absolute","position-top-1","position-right-1"],[1,"d-none","d-md-block","pr-3"],[4,"ngTemplateOutlet"],[1,"right-container"],[1,"product-titles-container"],[1,"wallet-reusables"],[1,"d-md-none"],[3,"btnIntersectorTriggerEvent","subscriptionThreshold","subscriptionPrice","isServiceRepair","getPrice","hasSelectedZipCode","ngClass","isSticky","product","sellerPromiseDate","eligibleForRecycleVoucher","category","invali
3dServices","klarnaOnSiteMsg","klarnaInstallment","isMobile"],[1,"container","pb-2"],[3,"products"],[1,"p-0","my-1"],[1,"mdc-top-app-bar","mdc-top-app-bar--white","mdc-top-app-bar--fixed","d-block","d-sm-none"],[1,"d-flex","justify-content-between",3,"ngClass"],[1,"product-hidden-prices","my-1","p-2","w-100"],[1,"mdc-top-app-bar__row","top-sticky","max-width","m-auto"],[1,"row","m-0","px-0","pt-0","c-black","d-flex","align-items-center","divider","max-width"],[1,"col","col-6","m-0","p-0"],[1,"row","m-0","p-0"],[1,"col","col-1","m-0","p-0","thumb-container"],[1,"col","col-11","m-0","py-0","d-flex","align-items-center","flex-column",3,"ngClass"],[1,"row","m-0","p-0","align-items-center","full-width",3,"ngClass"],[1,"mdc-typography--headline7","mdc-typography--bold","text-sm-left"],[1,"row","m-0","p-0","align-items-center","full-width"],[1,"row","m-0","p-0","c-black","max-width"],[1,"col","col-12","m-0","p-0","d-flex","justify-content-end"],["id","header-reusable-product-text-manual",1,"mdc-typography--body2","mdc-typography--semi-bold","header-tab",3,"ngClass"],["id","header-reusable-product-information",1,"mdc-typography--body2","mdc-typography--semi-bold","header-tab",3,"ngClass"],["id","header-reusable-product-specifications",1,"mdc-typography--body2","mdc-typography--semi-bold","header-tab",3,"ngClass"],["id","header-reusable-product-services-specifications",1,"mdc-typography--body2","mdc-typography--semi-bold","header-tab",3,"ngClass"],["id","header-reusable-product-reevoo-reviews",1,"mdc-typography--body2","mdc-typography--semi-bold","header-tab",3,"ngClass"],["id","header-reusable-product-book-reviews",1,"mdc-typography--body2","mdc-typography--semi-bold","header-tab",3,"ngClass"],["id","header-reusable-product-tracklist",1,"mdc-typography--body2","mdc-typography--semi-bold","header-tab",3,"ngClass"],["id","header-reusable-product-videolist",1,"mdc-typography--body2","mdc-typography--semi-bold","header-tab",3,"ngClass"],["id","header-reusable-product-author",1,"mdc-typography--body2","mdc-typography--semi-bold","header-tab",3,"ngClass"],["id","header-reusable-product-flipbook",1,"mdc-typography--body2","mdc-typography--semi-bold","header-tab",3,"ngClass"],["id","header-reusable-product-related-categories",1,"mdc-typography--body2","mdc-typography--semi-bold","header-tab",3,"ngClass"],[3,"src"],[1,"stores-row","p-0"],[3,"smallFont","product","addProPartnerMargin","trustedSellerText","trustedSellerReviews"],[1,"product-hidden-prices","d-flex","justify-content-end"],[1,"row","m-0","p-0","full-width"],[3,"isPdp"],[1,"col","col-7","m-0","pb-0","pt-2","pl-0","d-flex","align-items-center","justify-content-end","price-container"],[3,"noInitialText","noMarginBottom","showYouWin","product","isPDPFooter"],[1,"col","col-5","m-0","p-0","d-flex","align-items-center"],[1,"w-100"],["icon","cart","addToCartButton","",1,"flex-grow-1",3,"fullWidth","product","disabled","label"],["buttonText","\u0391\u03B3\u03BF\u03C1\u03AC \u03BC\u03CC\u03BD\u03BF \u03B1\u03C0\u03CC \u03BA\u03B1\u03C4\u03AC\u03C3\u03C4\u03B7\u03BC\u03B1",3,"product"],["id","header-reusable-product-text-manual",1,"mdc-typography--body2","mdc-typography--semi-bold","header-tab",3,"click","ngClass"],["id","header-reusable-product-information",1,"mdc-typography--body2","mdc-typography--semi-bold","header-tab",3,"click","ngClass"],["id","header-reusable-product-specifications",1,"mdc-typography--body2","mdc-typography--semi-bold","header-tab",3,"click","ngClass"],["id","header-reusable-product-services-specifications",1,"mdc-typography--body2","mdc-typography--semi-bold","header-tab",3,"click","ngClass"],["id","header-reusable-product-reevoo-reviews",1,"mdc-typography--body2","mdc-typography--semi-bold","header-tab",3,"click","ngClass"],["id","header-reusable-product-book-reviews",1,"mdc-typography--body2","mdc-typography--semi-bold","header-tab",3,"click","ngClass"],["id","header-reusable-product-tracklist",1,"mdc-typography--body2","mdc-typography--semi-bold","header-tab",3,"click","ngClass"],["id","header-reusable-product-videolist",1,"mdc-typography--body2","mdc-typography--semi-bold","header-tab",3,"click","ngClass"],["
3id","header-reusable-product-author",1,"mdc-typography--body2","mdc-typography--semi-bold","header-tab",3,"click","ngClass"],["id","header-reusable-product-flipbook",1,"mdc-typography--body2","mdc-typography--semi-bold","header-tab",3,"click","ngClass"],["id","header-reusable-product-related-categories",1,"mdc-typography--body2","mdc-typography--semi-bold","header-tab",3,"click","ngClass"],[1,"reusables-below-header",3,"ngClass"],[1,""],[1,"app-dynamic-reusables",3,"component"],[1,"product__pdf"],[1,"row","row-small","align-items-center","justify-content-center","lookbook-container",3,"click"],[1,"col","col-auto"],["src","/assets/icons/ic-booklook-primary.svg","alt","booklook icon",3,"click"],[1,"pbc-link-button","pbc-link-button--tertiary","mdc-typography--subtitle2","mdc-typography--regular",3,"click"],[3,"ribbons"],[3,"getPrice","product","sellerPrice","sellerOriginalPrice","hidePrices"],[3,"click","totalReviews","averageRating"],[1,"d-sm-none","mt-2","mb-4"],[3,"product","buttonHeight"],[3,"product"],[1,"row","reusable-row",3,"ngClass"],[1,"col","col-12"],[1,"row",3,"ngClass"],["color","orange"],[3,"customType","scrollingElement"],[3,"product","scrollingElement"],[3,"product","serviceGroups","scrollingElement"],[3,"product","averageRating","scrollingElement"],[3,"bookReviews","averageRating","numOfReviews","scrollingElement"],[3,"trackList","scrollingElement"],[3,"videoList","scrollingElement"],[3,"author","scrollingElement"],[3,"bookLookInside","scrollingElement"],[3,"relatedCategories","scrollingElement"],[3,"directiveScroll","customType","scrollingElement"],[3,"hasTextManual","product","scrollingElement"],[3,"product","hasProposition","scrollingElement"],[3,"directiveScroll","hasTextManual","product","scrollingElement"],[3,"directiveScroll","product","hasProposition","scrollingElement"],[3,"directiveScroll","product","scrollingElement"],[3,"directiveScroll","product","serviceGroups","scrollingElement"],[3,"directiveScroll","product","averageRating","scrollingElement"],[1,"product_reevoo_embeddable"],[3,"directiveScroll","bookReviews","averageRating","numOfReviews","scrollingElement"],[3,"directiveScroll","trackList","scrollingElement"],[3,"directiveScroll","videoList","scrollingElement"],[3,"directiveScroll","author","scrollingElement"],[3,"directiveScroll","bookLookInside","scrollingElement"],[3,"directiveScroll","relatedCategories","scrollingElement"],[1,"mdc-top-app-bar__row","mt-1"],[3,"noInitialText","noPadding","noMarginBottom","showYouWin","showNoVatText","product","sellerPrice","sellerOriginalPrice","isPDPFooter"],[1,"mdc-top-app-bar__row","flex-row-reverse"],[3,"product","onlyIcon"],[3,"isMobile","product"],["addToCartButton","","tabindex","0",3,"fullWidth","icon","product","disabled","label","buttonHeight"],[3,"btnIntersectorTriggerEvent","isMobile","product"],[1,"stores-row"],[1,"stores-row","mb-1"],[3,"isSticky","product","addProPartnerMargin","trustedSellerText"],[1,"pbc-link-button","pbc-link-button--primary","mdc-typography--subtitle2","space",3,"click"],[1,"product__specifications","my-3"],[1,"highlights-row"],[1,"justify-content-start"],[1,"mdc-typography--subtitle2"],[1,"justify-content-end"],[1,"pbc-link-button","pbc-link-button--primary","mdc-typography--subtitle2","mdc-typography--bold",3,"click"],[1,"divider-line"],[1,"specs-table"],[1,"spec-item"],[1,"mdc-typography--body2","p-0","spec-line"],[1,"pbc-link-button","pbc-link-button--primary","mdc-typography--subtitle2","mdc-typography--bold",3,"routerLink","queryParams","attributeData"],[1,"spec-target",3,"href","routerLink"]],template:function(e,n){if(e&1){let r=P();_(0,"pbc-json-ld",2),p(1,Cu,1,1,"pbc-json-ld",2),p(2,Lu,24,22,"footer",3),I(3,zu,2,3,null,null,N),_(5,"app-breadcrumb",4),a(6,"div",5,0)(8,"div",6)(9,"div",7),_(10,"app-product-gallery",8),p(11,Uu,8,0,"div",9),p(12,Hu,2,1,"div",10),c(),a(13,"div",11),xe(14,Wu,1,0,"ng-container",12),c()(),a(15,"div",13),p(16,Yu,6,10,"div",14),p(17,Ju,3,0,"div",15),a(18,"div",16),xe(19,em,1,0,"ng-container",12),c(),a(20,"app-product-action",17),h("btnIntersectorTriggerEvent",function(b){return C(r),v(n.btnIntersectorTrigger(b))}),c()()(),a(21,"div",18),p(22,tm,1,1,"app-product-bundle-recommendations",19),I(23,nm,2,3,null,null,N),p(25,hm,13,10,"div",20),a(26,"footer",21)(27,"div",22),p(28,Cm,2,1,"div",23),y(29,"async"),qe(30,Sm,5,2),c(),p(31,wm,2,2),c(),I(32,Tm,2,3,null,null,N),c(),xe(34,$m,1,1,"ng-template",null,1,Un)}if(e&2){let r=Q(35);s("json",n.productSchema),o(),u(n.isBook?1:-1),o(),u(n.product&&n.isBrowser?2:-1),o(),B(n.componentsBelowHeader),o(2),s("breadcrumb",n.product==null?null:n.product.breadcrumb)("inputMode",!0),o(5),s("showPlaceHolderHeroImage",n.showPlaceHolderHeroImage)("product",n.product),o(),u(!(n.product==null||n.product.sku==null)&&n.product.sku.bookLookInside?11:-1),o(),u(n.isBrowser&&n.productLoaded?12:-1),o(2),s("ngTemplateOutlet",r),o(2),u(n.product?16:-1),o(),u(n.product&&n.componentsWalletReusable&&(!(!(n.product==null||n.product.sku==null)&&n.product.sku.unavailableSKU)||!(!(n.product==null||n.product.availability==null||n.product.availability.deliveryRule==null)&&n.product.availability.deliveryRule.allowPurchases))&&!(!(n.product==null||n.product.sku==null)&&n.product.sku.mirakl)?17:-1),o(2),s("ngTemplateOutlet",r),o(),s("subscriptionThreshold",n.subscriptionThreshold())("subscriptionPrice",n.subscriptionPrice())("isServiceRepair",n.isServiceRepair)("getPrice",n.getPrice)("hasSelectedZipCode",n.hasSelectedZipCode)("ngClass",O(37,mu,n.isSticky))("isSticky",n.isSticky)("product",n.product)("sellerPromiseDate",n.sellerPromiseDate)("eligibleForRecycleVoucher",n.eligibleForRecycleVoucher)("category",n.c
3ategory)("invalidServices",n.invalidServices)("klarnaOnSiteMsg",n.klarnaOnSiteMsg)("klarnaInstallment",n.klarnaInstallment)("isMobile",n.isMobile()),o(2),u(n.displayBundleRecommendations()&&!n.isMobile()?22:-1),o(),B(n.componentsUpper),o(2),u(!(n.product==null||n.product.sku==null)&&n.product.sku.freeHtml||!(n.product==null||n.product.sku==null)&&n.product.sku.longDescription||!(n.product==null||n.product.sku==null)&&n.product.sku.textManual||!(n.product==null||n.product.sku==null||n.product.sku.sections==null)&&n.product.sku.sections.length||!(n.product==null||n.product.sku==null||n.product.sku.trackList==null)&&n.product.sku.trackList.length||!(n.product==null||n.product.sku==null||n.product.sku.videoList==null)&&n.product.sku.videoList.length||!(n.product==null||n.product.author==null)&&n.product.author.biography||!(n.product==null||n.product.sku==null)&&n.product.sku.bookLookInside||!(n.product==null||n.product.sku==null)&&n.product.sku.services.length?25:-1),o(),Pe("iPhoneFix",n.iPhoneFix),o(),s("ngClass",!n.isServiceRepair&&!n.isCyprus&&(!(n.product==null||n.product.priceInfo==null)&&n.product.priceInfo.salePrice)&&(!(n.product==null||n.product.sku==null||n.product.sku.offerDto==null)&&n.product.sku.offerDto.shopName||!(!(n.product==null||n.product.sku==null)&&n.product.sku.mirakl)&&(!(n.product==null||n.product.sku==null)&&n.product.sku.offerCount)||!(n.product==null||n.product.sku==null)&&n.product.sku.mirakl&&(!(n.product==null||n.product.sku==null)&&n.product.sku.offerCount)&&n.product.sku.offerCount>1)?"margins-sticky--stores":"margins-sticky"),o(),u(!S(29,35,n.userLoginStatus$)&&n.isB2B?28:30),o(3),u(!(n.product==null||n.product.availability==null||n.product.availability.deliveryRule==null)&&n.product.availability.deliveryRule.uniqueStoreAssortment?-1:31),o(),B(n.componentsLower)}},dependencies:[j,go,He,_o,zt,pt,ii,Oo,ar,Ia,Hn,ir,er,Jo,Ut,No,Fo,Vo,Eo,Ro,Do,To,Bo,Hi,ai,Mt,nt,cr,Xt,lr,Mo,ct,dr,_e,bo,Po],styles:['[_nghost-%COMP%] .product-titles-container[_ngcontent-%COMP%] .badge-action{cursor:pointer}[_nghost-%COMP%] .spec-target[_ngcontent-%COMP%]{text-decoration:none}[_nghost-%COMP%] .sticky[_ngcontent-%COMP%]{position:sticky;padding:24px;top:96px;bottom:0;height:fit-content;flex-shrink:0;flex-grow:0;z-index:1}@media(max-width:1079.98px){[_nghost-%COMP%] .sticky[_ngcontent-%COMP%]{display:none}}[_nghost-%COMP%] footer.mdc-top-app-bar[_ngcontent-%COMP%]{box-shadow:0 -5px 10px #00000029}[_nghost-%COMP%] footer.mdc-top-app-bar.mdc-top-app-bar--sticky--fixed[_ngcontent-%COMP%]{height:fit-content;position:fixed;top:-60px;left:0;right:0;z-index:2;transition:top .5s ease;box-shadow:0 14px 24px #00000029,inset 0 4px #ffb296;z-index:3;padding-left:24px;padding-right:24px}[_nghost-%COMP%] footer.mdc-top-app-bar.mdc-top-app-bar--sticky--fixed.visible[_ngcontent-%COMP%]{top:84px;display:block}[_nghost-%COMP%] footer.mdc-top-app-bar.mdc-top-app-bar--sticky--fixed.hidden[_ngcontent-%COMP%]{display:none;top:-60px}[_nghost-%COMP%] footer.mdc-top-app-bar.mdc-top-app-bar--fixed[_ngcontent-%COMP%]{height:fit-content;position:fixed;bottom:0;left:0;right:0}[_nghost-%COMP%] footer.mdc-top-app-bar[_ngcontent-%COMP%] .mdc-top-app-bar__row[_ngcontent-%COMP%]{align-items:center;height:62px;padding:8px}[_nghost-%COMP%] footer.mdc-top-app-bar[_ngcontent-%COMP%] .mdc-top-app-bar__row[_ngcontent-%COMP%] .title-container[_ngcontent-%COMP%]{padding-left:12px}[_nghost-%COMP%] footer.mdc-top-app-bar[_ngcontent-%COMP%] .mdc-top-app-bar__row.top-sticky[_ngcontent-%COMP%]{padding:13px 0 0;flex-direction:column;height:fit-content}[_nghost-%COMP%] footer.mdc-top-app-bar[_ngcontent-%COMP%] .mdc-top-app-bar__row.top-sticky.max-width[_ngcontent-%COMP%]{max-width:1440px}[_nghost-%COMP%] footer.mdc-top-app-bar[_ngcontent-%COMP%] .mdc-top-app-bar__row.top-sticky[_ngcontent-%COMP%] .max-width[_ngcontent-%COMP%]{max-width:1540px;width:100%}[_nghost-%COMP%] footer.mdc-top-app-bar[_ngcontent-%COMP%] .mdc-top-app-bar__row.top-sticky[_ngcontent-%COMP%] .thumb-container[_ngcontent-%COMP%]{max-width:45px;min-width:39px}
3[_nghost-%COMP%] footer.mdc-top-app-bar[_ngcontent-%COMP%] .mdc-top-app-bar__row.top-sticky[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:45px;max-height:45px;border:1px solid #dddddd;border-radius:8px}[_nghost-%COMP%] footer.mdc-top-app-bar[_ngcontent-%COMP%] .mdc-top-app-bar__row.top-sticky[_ngcontent-%COMP%] .divider[_ngcontent-%COMP%]{padding-bottom:10px;border-bottom:1px solid #dddddd}[_nghost-%COMP%] footer.mdc-top-app-bar[_ngcontent-%COMP%] .mdc-top-app-bar__row.top-sticky[_ngcontent-%COMP%] .full-width[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] footer.mdc-top-app-bar[_ngcontent-%COMP%] .mdc-top-app-bar__row.top-sticky[_ngcontent-%COMP%] .full-height[_ngcontent-%COMP%]{height:100%}[_nghost-%COMP%] footer.mdc-top-app-bar[_ngcontent-%COMP%] .mdc-top-app-bar__row.top-sticky[_ngcontent-%COMP%] .price-container[_ngcontent-%COMP%]{padding-right:20px}[_nghost-%COMP%] footer.mdc-top-app-bar[_ngcontent-%COMP%] .mdc-top-app-bar__row.top-sticky[_ngcontent-%COMP%] .header-tab[_ngcontent-%COMP%]{padding:13px 0;margin-left:30px;cursor:pointer}[_nghost-%COMP%] footer.mdc-top-app-bar[_ngcontent-%COMP%] .mdc-top-app-bar__row.top-sticky[_ngcontent-%COMP%] .header-tab.active[_ngcontent-%COMP%]{color:var(--main-orange);border-bottom:4px solid var(--main-orange)}[_nghost-%COMP%] footer.mdc-top-app-bar[_ngcontent-%COMP%] .mdc-top-app-bar__row[_ngcontent-%COMP%] .min-content[_ngcontent-%COMP%]{width:min-content}[_nghost-%COMP%] footer.mdc-top-app-bar[_ngcontent-%COMP%] .margins-sticky[_ngcontent-%COMP%]{padding:4px clamp(.3rem,3%,2rem) 0px clamp(.3rem,3%,2rem)}[_nghost-%COMP%] footer.mdc-top-app-bar[_ngcontent-%COMP%] .margins-sticky--stores[_ngcontent-%COMP%]{padding:10px clamp(.3rem,3%,2rem) 0px clamp(.3rem,3%,2rem)}[_nghost-%COMP%] footer[_ngcontent-%COMP%] .c-black[_ngcontent-%COMP%]{color:#000}[_nghost-%COMP%] footer[_ngcontent-%COMP%] .stores-row[_ngcontent-%COMP%]{width:100%;color:#000;text-align:center!important;height:-moz-fit-content;height:fit-content;min-height:20px;padding:0 4px 4px}[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%]{min-height:200px;height:min-content;position:relative;width:100%}@media(min-width:820px){[_nghost-%COMP%] .product__gallery[_ngcontent-%COMP%]{padding:0 12px}}[_nghost-%COMP%] .product__gallery__preview[_ngcontent-%COMP%]{cursor:pointer}[_nghost-%COMP%] .product__gallery__image[_ngcontent-%COMP%]{background-position:center;background-size:contain;background-repeat:no-repeat;padding-top:100%;width:100%;position:relative}[_nghost-%COMP%] .product__gallery__image[_ngcontent-%COMP%] .product__gallery__magnify[_ngcontent-%COMP%]{position:absolute;bottom:24px;left:50%;transform:translate(-50%)}[_nghost-%COMP%] .product__gallery_button[_ngcontent-%COMP%]{border-radius:0;border:1px solid rgba(0,0,0,.12);display:block;width:100%;cursor:pointer;padding:0}[_nghost-%COMP%] .product__gallery_button[_ngcontent-%COMP%]:hover{border-color:#000}[_nghost-%COMP%] .product__gallery_button[_ngcontent-%COMP%]:focus{outline:none}[_nghost-%COMP%] .product__gallery_button.active[_ngcontent-%COMP%]{border-color:#fe5900}[_nghost-%COMP%] .product__description[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{overflow:hidden;max-height:60px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;text-overflow:ellipsis}[_nghost-%COMP%] .product__description[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] h2, [_nghost-%COMP%] .product__description[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] h3, [_nghost-%COMP%] .product__description[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] h4, [_nghost-%COMP%] .product__description[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] h5, [_nghost-%COMP%] .product__description[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] img, [_nghost-%COMP%] .product__description[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] .quick-characteristics, [_nghost-%COMP%] .product__description[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] .tech-specs, [_nghost-%COMP%] .product__description[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] .more-info{display:none}[_nghost-%COMP%] .main__content--min-height[_ngcontent-%COMP%]{min-height:95vh}[_nghost-%COMP%] .main__content[_ngcontent-%COMP%]{display:grid;grid-template-columns:60% 40%;grid-template-areas:"left right"}@media(max-width:1079.98px){[_nghost-%COMP%] .main__content[_ngcontent-%COMP%]{grid-template-columns:100%;grid-template-areas:"left" "right"}}[_nghost-%COMP%] .main__content[_ngcontent-%COMP%] .left-container[_ngcontent-%COMP%]{container-type:inline-size;grid-area:left;position:sticky;padding:24px;top:96px;bottom:0;height:fit-content;z-index:1}@media screen and (max-width:820px){[_nghost-%COMP%] .main__content[_ngcontent-%COMP%] .left-container[_ngcontent-%COMP%]{padding:0}}@media(max-width:1079.98px){[_nghost-%COMP%] .main__content[_ngcontent-%COMP%] .left-container[_ngcontent-%COMP%]{position:unset}}[_nghost-%COMP%] .main__content[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%]{grid-area:right;padding:24px 12px 12px}@media(max-width:1079.98px){[_nghost-%COMP%] .main__content[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%]{padding:8px}[_nghost-%COMP%] .main__content[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%] .product_review_reevoo[_ngcontent-%COMP%]{max-width:65%}}.reusables-below-header[_ngcontent-%COMP%] >
3 .col.col-prices[_ngcontent-%COMP%]{max-width:336px;flex-basis:336px}@media(max-width:819.98px){.reusables-below-header[_ngcontent-%COMP%] > .col.col-prices[_ngcontent-%COMP%]{max-width:100%;flex-basis:100%}}.reusables-below-header[_ngcontent-%COMP%] .mdc-top-app-bar--product-tabs[_ngcontent-%COMP%]{top:0;z-index:1;border-top:1px solid rgba(0,0,0,.12);border-bottom:1px solid rgba(0,0,0,.12)}.reusables-below-header[_ngcontent-%COMP%] .mdc-top-app-bar--product-tabs.mdc-top-app-bar--sticky[_ngcontent-%COMP%]{transition:top .3s ease-in-out;position:fixed;z-index:2;top:96px;width:calc(100% - var(--aside-width));padding:0 24px;box-shadow:-8px 5px 10px #00000029;border:none}@media(max-width:1079.98px){.reusables-below-header[_ngcontent-%COMP%] .mdc-top-app-bar--product-tabs.mdc-top-app-bar--sticky[_ngcontent-%COMP%]{width:100vw;box-shadow:0 5px 10px #00000029}}@media(max-width:819.98px){.reusables-below-header[_ngcontent-%COMP%] .mdc-top-app-bar--product-tabs.mdc-top-app-bar--sticky[_ngcontent-%COMP%]{top:56px;padding:0 16px}}.product__specifications[_ngcontent-%COMP%]{width:100%;height:fit-content;overflow:hidden;margin-top:10px}.product__specifications[_ngcontent-%COMP%] .spec-line[_ngcontent-%COMP%]{height:fit-content;max-height:53px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}.product__specifications[_ngcontent-%COMP%] .ic-service[_ngcontent-%COMP%]{font-size:22px;margin-right:6px}.product__specifications[_ngcontent-%COMP%] .specs-table[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr);width:100%}@media(max-width:819.98px){.product__specifications[_ngcontent-%COMP%] .specs-table[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}}.product__specifications[_ngcontent-%COMP%] .spec-item[_ngcontent-%COMP%]{padding:16px 0 8px 16px;overflow:hidden}.lookbook-container[_ngcontent-%COMP%]{max-width:max-content;border:1px solid var(--main-orange);border-radius:4px;padding:5px;margin:15px auto;cursor:pointer}.lookbook-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:24px;height:24px;cursor:pointer}.highlights-row[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr);display:grid}.highlights-row[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{align-items:center;display:flex}.divider-line[_ngcontent-%COMP%]{width:100%;padding:6px 0 0}.iPhoneFix[_ngcontent-%COMP%]{padding-bottom:8px}.hidden[_ngcontent-%COMP%]{display:none}.wallet-reusables[_ngcontent-%COMP%]{border-radius:16px;background-color:#f6f6f6;margin-bottom:20px}.reusable-row[_ngcontent-%COMP%]:not(:last-child) .app-dynamic-reusables[_ngcontent-%COMP%]:after{content:"";display:block;border-bottom:1px solid #cecece}'],changeDetection:0});var Me=Qi;var Hm=(i,t)=>t.id;function Wm(i,t){if(i&1&&(a(0,"span",6),m(1),y(2,"formatPrice"),c()),i&2){let e=l().$implicit;o(),x(" (",S(2,1,e.price)," /\u03C4\u03BC\u03C7) ")}}function Qm(i,t){if(i&1&&(a(0,"div",2)(1,"mat-radio-button",3),m(2),c(),a(3,"p",4)(4,"span",5),m(5),y(6,"formatPrice"),c(),p(7,Wm,3,3,"span",6),c()()),i&2){let e=t.$implicit;o(),s("value",e.qty),o(),x(" ",e.qty+(e.qty===1?" \u03C4\u03B5\u03BC\u03AC\u03C7\u03B9\u03BF":" \u03C4\u03B5\u03BC\u03AC\u03C7\u03B9\u03B1")," "),o(3),x(" ",S(6,4,e.qty>1?e.price*e.qty:e.price)," "),o(2),u(e.qty>1?7:-1)}}var qi=class qi{constructor(t){this.b2bStore=t;this.productQuantity=D();this.pricePerQtyArray=$(this.b2bStore.selectProductVolumeDiscountOptions());this.selectedProductVolumeDiscountQuantity=$(this.b2bStore.getSelectedProductVolumeDiscount());this.selectedQty=f(()=>this.getSelectedQty())}ngOnInit(){}ngOnDestroy(){}getSelectedQty(){let t=this.productQuantity(),e=this.selectedProductVolumeDiscountQuantity();return!e&&t!==1?0:e&&e.qty?e.qty:1}changeVolumeDiscount(t){this.b2bStore.changeVolumeDiscount(t)}};qi.\u0275fac=function(e){return new(e||qi)(g($e))},qi.\u0275cmp=M({type:qi,selectors:[["app-b2b-product-v3-volume-discount"]],inputs:{productQuantity:[1,"productQuantity"]},decls:4,vars:1,consts:[[1,"volume-discount-container"],["aria-label","Select volume discount",1,"volume-discount-group",3,"change","value"],[1,"volume-discount-item"],[3,"value"],[1,"volume-pricing"],[1,"volume-pricing-total"],[1,"volume-pricing-per-item"]],template:function(e,n){e&1&&(a(0,"div",0)(1,"mat-radio-group",1),h("change",function(d){return n.changeVolumeDiscount(d.value)}),I(2,Qm,8,6,"div",2,Hm),c()()),e&2&&(o(),s("value",n.selectedQty()),o(),B(n.pricePerQtyArray()))},dependencies:[Ha,Wa,ti],styles:[".volume-discount-container[_ngcontent-%COMP%]{border:1px solid #eeedf0;border-radius:8px}.volume-discount-container[_ngcontent-%COMP%] .volume-discount-group[_ngcontent-%COMP%] .volume-discount-item[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding:12px}.volume-discount-container[_ngcontent-%COMP%] .volume-discount-group[_ngcontent-%COMP%] .volume-discount-item[_ngcontent-%COMP%]:has(mat-radio-button.mat-mdc-radio-checked){background-color:#f8f7fa}.volume-discount-container[_ngcontent-%COMP%] .volume-discount-group[_ngcontent-%COMP%] .volume-discount-item[_ngcontent-%COMP%] mat-radio-button{--mat-radio-selected-icon-color: var(--main-orange);--mat-radio-selected-hover-icon-color: var(--main-orange);--mat-radio-selected-focus-icon-color: var(--main-orange);--mat-radio-selected-pressed-icon-color: var(--main-orange);--mat-radio-ripple-color: var(--main-orange);--mat-radio-checked-ripple-color: var(--main-orange)}.volume-discount-container[_ngcontent-%COMP%] .volume-discount-group[_ngcontent-%COMP%] .volume-discount-item[_ngcontent-%COMP%] mat-radio-button .mdc-label{padding-left:8px;font-size:14px;font-weight:400;line-height:16px;line-height:18px;letter-spacing:0;color:#424447}.volume-discount-container[_ngcontent-%COMP%] .volume-discount-group[_ngcontent-%COMP%] .volume-discount-item[_ngcontent-%COMP%] .volume-pricing[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-end}.volume-discount-container[_ngcontent-%COMP%] .volume-discount-group[_ngcontent-%COMP%] .volume-discount-item[_ngcontent-%COMP%] .volume-pricing[_ngcontent-%COMP%] .volume-pricing-total[_ngcontent-%COMP%]{font-size:14px;font-weight:400;line-height:16px;font-weight:700}.volume-discount-container[_ngcontent-%COMP%] .volume-discount-group[_ngcontent-%COMP%] .volume-discount-item[_ngcontent-%COMP%] .volume-pricing[_ngcontent-%COMP%] .volume-pricing-per-item[_ngcontent-%COMP%]{font-size:12px;font-weight:400;line-height:14px}"]});var pr=qi;function qm(i,t){if(i&1&&_(0,"img",1),i&2){let e,n=l();s("src",(e=n.paymentMethod())==null?null:e.logo,H),R("data-testid","img-payment-method-logo")}}function Km(i,t){if(i&1){let e=P();a(0,"div",6),h("click",function(){C(e);let r=l();return v(r.openDialogSnappi())}),m(1," \u03A0\u03B5\u03C1\u03B9\u03C3\u03C3\u03CC\u03C4\u03B5\u03C1\u03B1 "),c()}}function Ym(i,t){if(i&1){let e=P();a(0,"div",6),h("click",function(){C(e);let r=l();return v(r.openDialogInstallments())}),m(1," \u03A0\u03B5\u03C1\u03B9\u03C3\u03C3\u03CC\u03C4\u03B5\u03C1\u03B1 "),c()}i&2&&R("data-testid","link-payment-method-installments")}function Zm(i,t){i&1&&_(0,"span",10)}function Xm(i,t){if(i&1){let e=P();a(0,"div",7),h("click",function(){let r;C(e);let d=l();return v(!((r=d.paymentMethod())!=null&&r.iphoneSnappiPromo)&&d.openDialogSnappiWalletPromo())}),_(1,"img",8),a(2,"span",9)(3,"strong"),m(4),c(),m(5),c(),p(6,Zm,1,0,"span",10),c()}if(i&2){let e,n,r,d=l();o(),s("ngSrc","/assets/images/public-plus-wallet.svg"),o(3),x("",(e=d.paymentMethod())!=null&&e.iphoneSnappiPromo?"30\u20AC":"20\u20AC"," Public \u03B5\u03C0\u03B9\u03C3\u03C4\u03C1\u03BF\u03C6\u03AE"),o(),x(" \u03C3\u03C4\u03BF Wallet, \u03BC\u03B5 \u03C4\u03B7\u03BD ",(n=d.paymentMethod())!=null&&n.iphoneSnappiPromo?"":"1\u03B7"," \u03B1\u03B3\u03BF\u03C1\u03AC \u03C3\u03BF\u03C5 \u03BC\u03B5 Snappi Pay Later."),o(),u((r=d.paymentMethod())!=null&&r.iphoneSnappiPromo?-1:6)}}var Ki=class Ki{constructor(t){this.dialogService=t;this.displaySnappiWalletPromo=V(F.snappiWalletPromo);this.paymentMethod=D();this.installments=f(()=>this.paymentMethod()?.allInstallments?.allInstallments)}ngOnInit(){}openDialogInstallments(){let t=this.installments();t&&(this.paymentMethod()?.key==="creditCard"&&this.dialogService.openDialogPdpCreditCardInstallments(t),this.paymentMethod()?.key==="PiraeusLoanPg"&&this.dialogService.openDialogPdpPiraeusInstallments(t))}openDialogSnappi(){this.dialogService.openDialogSnappiInfo()}openDialogSnappiWalletPromo(){this.dialogService.openDialogSnappiWalletPromo()}};Ki.\u0275fac=function(e){return new(e||Ki)(g(Y))},Ki.\u0275cmp=M({type:Ki,selectors:[["app-product-payment-method"]],inputs:{paymentMethod:[1,"paymentMethod"]},decls:7,vars:6,consts:[[1,"payment-method-card"],["alt","logo","width","52","height","30",3,"src"],[1,"text"],[1,"payment-method-title",3,"innerHTML"],[1,"cta"],[1,"snappi-promo"],[1,"cta",3,"click"],[1,"snappi-promo",3,"click"],["width","32","height","32","alt","Snappi promo icon","priority","",3,"ngSrc"],[1,"mdc-typography--body2","snappi-promo__title"],[1,"ic-arrow-right"]],template:function(e,n){if(e&1&&(a(0,"div",0),p(1,qm,1,2,"img",1),a(2,"div",2),_(3,"div",3),p(4,Km,2,0,"div",4)(5,Ym,2,1,"div",4),c()(),p(6,Xm,7,4,"div",5)),e&2){let r,d,b,w,k;R("data-testid","container-payment-method-"+((r=n.paymentMethod())==null?null:r.key)),o(),u(((d=n.paymentMethod())==null?null:d.key)!=="Klarna"?1:-1),o(2),s("innerHTML",(b=n.paymentMethod())==null?null:b.displayText,le),R("data-testid","text-payment-method-title"),o(),u(((w=n.paymentMethod())==null?null:w.key)==="Snappi"?4:((w=n.paymentMethod())==null?null:w.key)!=="Klarna"?5:-1),o(2),u(((k=n.paymentMethod())==null?null:k.key)==="Snappi"&&(n.displaySnappiWalletPromo()||(k=n.paymentMethod())!=null&&k.iphoneSnappiPromo)?6:-1)}},dependencies:[yt],styles:[".payment-method-card[_ngcontent-%COMP%]{display:flex;align-items:center;gap:16px}.payment-method-card[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:2px}.payment-method-card[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] .payment-method-title[_ngcontent-%COMP%]{font-size:14px;font-weight:400;line-height:16px}.payment-method-card[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] .payment-method-title.flex-pay[_ngcontent-%COMP%]{font-weight:700}.payment-method-card[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] .cta[_ngcontent-%COMP%]{color:#0265dc;cursor:pointer;font-size:14px;font-weight:400;line-height:16px}.snappi-promo[_ngcontent-%COMP%]{background-color:#f7f2ff;max-width:max-content;align-items:center;border-radius:12px;margin:8px 0 0;cursor:auto;padding:16px;display:flex;gap:16px}.snappi-promo__title[_ngcontent-%COMP%]{line-height:20px}.snappi-promo[_ngcontent-%COMP%]:has(.ic-arrow-right){cursor:pointer}.snappi-promo[_ngcontent-%COMP%] .ic-arrow-right[_ngcontent-%COMP%]:before{font-weight:700;font-size:12px} #klarna-placement::part(osm-cta){font-family:ZonaPro,Open Sans,sans-serif;font-size:14px;color:#0265dc;text-decoration:none;display:flex} #klarna-placement::part(osm-message){font-family:ZonaPro,Open Sans,sans-serif;font-size:14px} #klarna-placement::part(osm-container){padding-left:20px;border-width:0;border-radius:8px}@media(max-width:820px){ #klarna-placement::part(osm-container){padding-left:15px}} .dropdown-event-wrapper{max-height:300px}@media(max-width:820px){ .dropdown-event-wrapper{max-height:200px}} #klarna-placement::part(osm-badge-container){width:52px}"],changeDetection:0});var ur=Ki;var Jm=i=>({klarna:i}),e0=(i,t)=>t.key;function t0(i,t){if(i&1&&(a(0,"div",2),_(1,"app-product-payment-method",3),c()),i&2){let e=t.$implicit;s("ngClass",O(2,Jm,e.key==="Klarna")),o(),s("paymentMethod",e)}}function i0(i,t){if(i&1&&(a(0,"div",0)(1,"div",1),m(2),c(),I(3,t0,2,4,"div",2,e0),c()),i&2){let e=l();o(2),E(e.title),o(),B(e.paymentMethods())}}var Yi=class Yi{constructor(t){this.paymentMethodsService=t;this.product=D();this.paymentMethods=f(()=>this.buildPaymentMethods());this.salePrice=f(()=>this.product()?.sku?.priceInfoDto?.salePrice);this.priceInfo=f(()=>this.product()?.sku?.priceInfoDto);this.mirakl=f(()=>this.product()?.sku?.mirakl);this.isCyprus=F.cyprus;this.isB2B=F.b2b;this.title="\u0386\u03C4\u03BF\u03BA\u03B5\u03C2 \u03B4\u03CC\u03C3\u03B5\u03B9\u03C2 \u03BC\u03B5 \u03AE \u03C7\u03C9\u03C1\u03AF\u03C2 \u03C0\u03B9\u03C3\u03C4\u03C9\u03C4\u03B9\u03BA\u03AE"}ngOnInit(){this.handleComponentTitle()}handleComponentTitle(){this.isB2B&&(this.title="\u03A0\u03BB\u03AC\u03BD\u03BF \u03B4\u03CC\u03C3\u03B5\u03C9\u03BD"),this.isCyprus&&(this.title="\u0386\u03C4\u03BF\u03BA\u03B5\u03C2 \u03B4\u03CC\u03C3\u03B5\u03B9\u03C2 \u03BC\u03B5 \u03C0\u03B9\u03C3\u03C4\u03C9\u03C4\u03B9\u03BA\u03AE")}buildPaymentMethods(){let t=this.product();if(!t)return[];let e=t.paymentMethodDtos??[],n=this.paymentMethodsService.filterMethods(e);return this.paymentMethodsService.sortMethods(n).map(d=>this.paymentMethodsService.mapToPaymentMethod(d,{salePrice:this.salePrice()??0,mirakl:this.mirakl()??!1,isCyprus:this.isCyprus,product:t}))}};Yi.\u0275fac=function(e){return new(e||Yi)(g(mt))},Yi.\u0275cmp=M({type:Yi,selectors:[["app-product-payment-methods"]],inputs:{product:[1,"product"]},decls:1,vars:1,consts:[[1,"payment-methods-container"],[1,"payment-methods-title"],[1,"payment-method",3,"ngClass"],[3,"paymentMethod"]
3],template:function(e,n){e&1&&p(0,i0,5,1,"div",0),e&2&&u(n.paymentMethods()&&n.paymentMethods().length>0?0:-1)},dependencies:[ur,j],styles:[".payment-methods-container[_ngcontent-%COMP%]{background-color:#fff;border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:16px}.payment-methods-container[_ngcontent-%COMP%] .payment-methods-title[_ngcontent-%COMP%]{font-size:16px;font-weight:600;line-height:19px;color:#000;font:700}.payment-methods-container[_ngcontent-%COMP%] .payment-method[_ngcontent-%COMP%]{border-radius:8px;padding:20px;border:1px solid #eeedf0}@media screen and (max-width:820px){.payment-methods-container[_ngcontent-%COMP%] .payment-method[_ngcontent-%COMP%]{padding:15px}}.payment-methods-container[_ngcontent-%COMP%] .payment-method.klarna[_ngcontent-%COMP%]{padding:0}"],changeDetection:0});var mr=Yi;function n0(i,t){if(i&1&&(a(0,"div",1),_(1,"span",2),a(2,"span",3),m(3),c()()),i&2){let e=l();me("--bg-color",e.displayTextHexColor()),o(),me("color",e.displayTextHexColor()),s("ngClass",e.allowPurchases()?"ic-check":"ic-times"),o(),me("color",e.displayTextHexColor()),R("data-testid","text-availability-info"),o(),E(e.pdpDisplayText())}}var Zi=class Zi{constructor(){this.product=D();this.pdpDisplayText=f(()=>this.product()?.stockRule?.deliveryRule?.pdpDisplayText);this.displayTextHexColor=f(()=>this.product()?.stockRule?.deliveryRule?.displayTextHexColor);this.allowPurchases=f(()=>this.product()?.stockRule?.deliveryRule?.allowPurchases)}};Zi.\u0275fac=function(e){return new(e||Zi)},Zi.\u0275cmp=M({type:Zi,selectors:[["app-product-availability-info-text"]],inputs:{product:[1,"product"]},decls:1,vars:1,consts:[[1,"availability-text",3,"--bg-color"],[1,"availability-text"],[1,"icon",3,"ngClass"],[1,"mdc-typography--subtitle2","mdc-typography--bold"]],template:function(e,n){e&1&&p(0,n0,4,9,"div",0),e&2&&u(n.pdpDisplayText()?0:-1)},dependencies:[j],styles:['.availability-text[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;z-index:0;padding:4px 6px;border-radius:4px;width:fit-content;gap:4px}.availability-text[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0;background-color:var(--bg-color);opacity:.1;z-index:-1;border-radius:inherit}.availability-text[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]:before{font-weight:700}']});var gr=Zi;function o0(i,t){if(i&1&&(be(0,"span",1),m(1),y(2,"getInteger"),y(3,"getDecimal"),ke()),i&2){let e=l(2);o(),ee(" ",S(2,2,e.mrkListPrice()),",",S(3,4,e.mrkListPrice()),"\u20AC ")}}function r0(i,t){if(i&1&&(be(0,"div",0),p(1,o0,4,6,"span",1),be(2,"span",2),m(3),y(4,"getInteger"),be(5,"sup"),m(6),y(7,"getDecimal"),ke()()()),i&2){let e=l();o(),u(e.mrkListPrice()&&e.mrkListPrice()!==e.mrkSaleprice()?1:-1),o(2),x(" ",S(4,3,e.mrkSaleprice())," "),o(3),x(",",S(7,5,e.mrkSaleprice()),"\u20AC")}}function a0(i,t){if(i&1&&(be(0,"span",1),m(1),y(2,"getInteger"),y(3,"getDecimal"),ke()),i&2){let e=l(3);o(),ee(" ",S(2,2,e.listPrice()),",",S(3,4,e.listPrice()),"\u20AC ")}}function c0(i,t){if(i&1&&(be(0,"div",0),p(1,a0,4,6,"span",1),be(2,"span",2),m(3),y(4,"getInteger"),be(5,"sup"),m(6),y(7,"getDecimal"),ke()()()),i&2){let e=l(2);o(),u(e.listPrice()&&e.listPrice()!==e.salePrice()?1:-1),o(2),x(" ",S(4,3,e.salePrice())," "),o(3),x(",",S(7,5,e.salePrice()),"\u20AC")}}function l0(i,t){if(i&1&&p(0,c0,8,7,"div",0),i&2){let e=l();u(e.priceInfo()?0:-1)}}var Xi=class Xi{constructor(){this.product=D();this.offer=f(()=>this.product()?.offer);this.mrkSaleprice=f(()=>this.offer()?.price);this.isMirakl=f(()=>this.product()?.sku?.mirakl);this.salePrice=f(()=>this.priceInfo()?.salePrice);this.listPrice=f(()=>this.priceInfo()?.listPrice);this.mrkListPrice=f(()=>this.offer()?.originPrice);this.priceInfo=f(()=>this.product()?.prices?.[0])}ngOnInit(){}};Xi.\u0275fac=function(e){return new(e||Xi)},Xi.\u0275cmp=M({type:Xi,selectors:[["app-product-price-sticky"]],inputs:{product:[1,"product"]},decls:2,vars:1,consts:[[1,"prices-container"],[1,"list-price"],[1,"sale-price"]],template:function(e,n){e&1&&p(0,r0,8,7,"div",0)(1,l0,1,1),e&2&&u(n.isMirakl()&&n.offer()?0:1)},dependencies:[Ee,Re],styles:[".prices-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-end}.prices-container[_ngcontent-%COMP%] .list-price[_ngcontent-%COMP%]{color:#404040;font-size:14px;font-weight:600;line-height:16px;text-decoration:line-through}.prices-container[_ngcontent-%COMP%] .total-text[_ngcontent-%COMP%]{font-size:20px;font-weight:400;line-height:23px;font-weight:700;color:#404040}.prices-container[_ngcontent-%COMP%] .sale-price[_ngcontent-%COMP%]{color:#fe5900;font-size:24px;font-weight:700;line-height:28px}.prices-container[_ngcontent-%COMP%] .sale-price[_ngcontent-%COMP%] sup[_ngcontent-%COMP%]{position:relative;top:-10px;left:-3px;font-size:12px;font-weight:400;line-height:14px;font-weight:700}"],changeDetection:0});var Ji=Xi;var Dt=class Dt{constructor(){}getStoreCount(t){return t??0}shouldShowPostalCode(t){let e=t?.stockRule.deliveryRule;return!(t?.mirakl||e?.preOrder||e?.uponOrder)||!!(e?.promiseFromDate&&e?.promiseToDate)}getSellerPromiseText(t,e){return e??t?.stockRule?.deliveryRule?.deliveryPromiseText}shouldShowDeliveryInfo(t){let e=t?.stockRule.deliveryRule,n=this.getAvailability(t).isNotAvailable,r=!!(t?.sku?.mirakl&&t.sku?.offerCount);return(!n||r)&&e?.deliveryPromiseText!=="\u039C\u03B7 \u03B4\u03B9\u03B1\u03B8\u03AD\u03C3\u03B9\u03BC\u03BF \u03B3\u03B9\u03B1 \u03B1\u03C0\u03BF\u03C3\u03C4\u03BF\u03BB\u03AE"}getAvailability(t){let e=t?.stockRule?.deliveryRule?.displayText??"";return t?.sku?.hidden&&(e="\u0395\u03BE\u03B1\u03BD\u03C4\u03BB\u03B7\u03BC\u03AD\u03BD\u03BF"),t
3ypeof t=="string"&&(e=t),{text:e||"\u03BC\u03B7 \u03B4\u03B9\u03B1\u03B8\u03AD\u03C3\u03B9\u03BC\u03BF",isAvailableStatus:e.toLowerCase()==="\u03B4\u03B9\u03B1\u03B8\u03AD\u03C3\u03B9\u03BC\u03BF"||e.toLowerCase()?.includes("\u03AC\u03BC\u03B5\u03C3\u03B1 \u03B4\u03B9\u03B1\u03B8\u03AD\u03C3\u03B9\u03BC\u03BF"),isNotAvailable:e.toLowerCase()==="\u03BC\u03B7 \u03B4\u03B9\u03B1\u03B8\u03AD\u03C3\u03B9\u03BC\u03BF"||!e||e.toLowerCase()==="\u03BC\u03B7 \u03B4\u03B9\u03B1\u03B8\u03B5\u03C3\u03B9\u03BC\u03BF"||e.toLowerCase()?.includes("\u03B5\u03BE\u03B1\u03BD\u03C4\u03BB\u03B7\u03BC\u03AD\u03BD\u03BF")||e.toLowerCase()?.includes("\u03B5\u03BE\u03B1\u03BD\u03C4\u03BB\u03AE\u03B8\u03B7\u03BA\u03B5")}}isStorePickUpAvailable(t){return!t?.stockRule?.storeRule?.storePromiseText.includes("\u0397 \u03C0\u03B1\u03C1\u03B1\u03BB\u03B1\u03B2\u03AE \u03B1\u03C0\u03CC \u03BA\u03B1\u03C4\u03AC\u03C3\u03C4\u03B7\u03BC\u03B1 \u03B4\u03B5\u03BD \u03B5\u03AF\u03BD\u03B1\u03B9 \u03B4\u03B9\u03B1\u03B8\u03AD\u03C3\u03B9\u03BC\u03B7")}isProductAvailableInStore(t){return!t?.stockRule?.storeRule?.storePromiseText.includes("\u039C\u03B7 \u03B4\u03B9\u03B1\u03B8\u03AD\u03C3\u03B9\u03BC\u03BF")}shouldShowSelectStoreLink(t){let e=t?.stockRule?.storeRule?.storePromiseText||"";return this.isStorePickUpAvailable(t)&&this.isProductAvailableInStore(t)||e.includes("{storeName}")}handlePromiseText(t,e,n){if(!t)return"";if(!n)return t;let r;/Îη διαθÎÏιμο για ÏαÏαλαβή αÏÏ/.test(t)&&(r=t.replace("\u039C\u03B7 \u03B4\u03B9\u03B1\u03B8\u03AD\u03C3\u03B9\u03BC\u03BF","<strong>\u039C\u03B7 \u03B4\u03B9\u03B1\u03B8\u03AD\u03C3\u03B9\u03BC\u03BF</strong>"));let d=r?r.split(" "):t.split(" "),b=d.indexOf("{storeName}"),w=d.indexOf("Public");b>=0&&(d[b]=e);let k=b>=0?b+1:w+1;return this.makeWordsBold(d,k).join(" ")}makeWordsBold(t,e){return t.map((n,r)=>r>=e?`<strong>${n}</strong>`:n)}getPickupStatus(t,e){if(this.isProductAvailableInStore(e)&&!e?.stockRule?.deliveryRule?.cyLinking&&this.isStorePickUpAvailable(e)){if(e?.stockRule?.storeRule?.allowStorePickup&&!t?.acs)return{text:"\u0394\u03A9\u03A1\u0395\u0391\u039D",class:"text-success"};if(!e?.stockRule?.storeRule?.allowStorePickup&&t?.externalLocationId)return{text:"\u039C\u0397 \u0394\u0399\u0391\u0398\u0395\u03A3\u0399\u039C\u039F",class:"text-danger"}}return{text:"\u039C\u0397 \u0394\u0399\u0391\u0398\u0395\u03A3\u0399\u039C\u039F",class:"text-danger"}}beforeCurrentSeasonAndFirstDoorbellDelivery(t,e){let n={hasBeforeCurrentSeasonDelivery:!1,currentSeasonInfo:null};if(F.cyprus||F.b2b)return n;let r=[{name:"xmas",dates:["14-12","15-12","16-12","17-12","18-12","19-12","20-12","21-12","22-12","23-12"],imgSrc:"/assets/icons/ic-xmas-tree.svg",text:"\u03A0\u03B1\u03C1\u03B1\u03BB\u03B1\u03B2\u03AE \u03C0\u03C1\u03B9\u03BD \u03C4\u03B1 \u03A7\u03C1\u03B9\u03C3\u03C4\u03BF\u03CD\u03B3\u03B5\u03BD\u03BD\u03B1"},{name:"b2s",dates:["25-08","26-08","27-08","28-08","29-08","30-08","31-08","01-09","02-09","03-09","04-09","05-09","06-09","07-09","08-09","09-09","10-09","11-09"],imgSrc:"/assets/icons/ic-b2s-bell.svg",text:"\u03A0\u03B1\u03C1\u03B1\u03BB\u03B1\u03B2\u03AE \u03C0\u03C1\u03B9\u03BD \u03C4\u03BF \u03C0\u03C1\u03CE\u03C4\u03BF \u03BA\u03BF\u03C5\u03B4\u03BF\u03CD\u03BD\u03B9"},{name:"easter",dates:["01-04","02-04","03-04","04-04","05-04","06-04","07-04","08-04","09-04","10-04","11-04","12-04","13-04","14-04","15-04","16-04","17-04"],imgSrc:"/assets/icons/ic-easter-egg.svg",text:"\u03A0\u03B1\u03C1\u03B1\u03BB\u03B1\u03B2\u03AE \u03C0\u03C1\u03B9\u03BD \u03B1\u03C0\u03CC \u03C4\u03BF \u03A0\u03AC\u03C3\u03C7\u03B1"}],d=T=>T.toString().padStart(2,"0"),b=new Date,w=`${d(b.getDate())}-${d(b.getMonth()+1)}`;if(b.getFullYear()>=2026)return n;for(let T of r)if(T.dates.includes(w)&&T.dates.some(J=>t?.promiseFromDate?.includes(J))&&T.dates.some(J=>t?.promiseToDate?.includes(J)))return{hasBeforeCurrentSeasonDelivery:T.name!=="b2s"||T.name==="b2s"&&e?.sapHierarchy71,currentSeasonInfo:{season:T.name,imgSrc:T.imgSrc,text:T.text}};return n}};Dt.\u0275fac=function(e){return new(e||Dt)},Dt.\u0275prov=vt({token:Dt,factory:Dt.\u0275fac,providedIn:"root"});var en=Dt;var s0=(i,t)=>t.value;function d0(i,t){i&1&&(a(0,"div",2),_(1,"app-product-hidden-prices",3),c()),i&2&&(o(),s("isPdp",!0))}function p0(i,t){if(i&1&&_(0,"app-product-price-sticky",5),i&2){let e=l(3);s("product",e.product())}}function u0(i,t){i&1&&(a(0,"div",6),m(1,"\u03A7\u03C9\u03C1\u03AF\u03C2 \u03A6\u03A0\u0391"),c())}function m0(i,t){if(i&1&&_(0,"app-product-store-availability-btn",8),i&2){let e=l(3);s("isPDP",!0)("product",e.productV2())("onlyIcon",!0)}}function g0(i,t){if(i&1&&(a(0,"mat-option",15),m(1),c()),i&2){let e=t.$implicit;s("value",e.value),o(),x(" ",e==null?null:e.title," ")}}function _0(i,t){if(i&1){let e=P();a(0,"div",9)(1,"mat-form-field",12),_(2,"span",13),a(3,"mat-select",14,0),h("selectionChange",function(r){C(e);let d=l(4);
3return v(d.updateProductQuantity(r))}),I(5,g0,2,2,"mat-option",15,s0),c()()()}if(i&2){let e=Q(4),n=l(4);o(2),s("ngClass",e.panelOpen?"ic-chevron-up":"ic-chevron-down"),o(),s("value",n.productQuantity()),o(2),B(n.productQuantities())}}function f0(i,t){i&1&&(a(0,"div",11),_(1,"span",16),m(2," \u03A0\u03C1\u03BF\u03C3\u03C4\u03AD\u03B8\u03B7\u03BA\u03B5 "),c())}function h0(i,t){i&1&&(a(0,"div",11),_(1,"span",17),m(2," \u03A0\u03C1\u03BF\u03C3\u03B8\u03AE\u03BA\u03B7 "),c())}function C0(i,t){if(i&1){let e=P();p(0,_0,7,2,"div",9),a(1,"button",10),h("touchstart",function(){C(e);let r=l(3);return v(r.touchedButton())})("click",function(){C(e);let r=l(3);return v(r.clickedButton())}),p(2,f0,3,0,"div",11)(3,h0,3,0,"div",11),c()}if(i&2){let e=l(3);u(e.showQuantity()&&e.productQuantities().length?0:-1),o(),s("disabled",e.unavailableSKU()||!e.allowPurchases())("product",e.productV2())("productQuantity",e.productQuantity()),o(),u(e.btnClicked()?2:3)}}function v0(i,t){if(i&1&&(a(0,"div",4),p(1,p0,1,1,"app-product-price-sticky",5),p(2,u0,2,0,"div",6),c(),a(3,"div",7),p(4,m0,1,3,"app-product-store-availability-btn",8)(5,C0,4,5),c()),i&2){let e,n=l(2);o(),u(n.displayPrices()?1:-1),o(),u(n.isB2B&&n.displayPrices()?2:-1),o(2),u(!((e=n.product())==null||e.stockRule==null||e.stockRule.deliveryRule==null)&&e.stockRule.deliveryRule.uniqueStoreAssortment?4:n.isPurchaseDisabled()?-1:5)}}function b0(i,t){if(i&1&&(a(0,"div",1),p(1,d0,2,1,"div",2),p(2,v0,6,3),c()),i&2){let e=l();o(),u(!e.isLoggedIn()&&e.isB2B?1:-1),o(),u(e.isLoggedIn()&&e.isB2B||!e.isB2B?2:-1)}}var tn=class tn{constructor(t,e,n,r,d){this.availabilityService=t;this.productListService=e;this.productService=n;this.dialogService=r;this.b2bStore=d;this.product=D();this.isLoggedIn=D();this.productQuantity=D();this.quantityChanged=ra();this.btnClicked=V(!1);this.showVolumeDiscount=$(this.showVolumeDiscount$());this.productQuantities=V([]);this.selectedPricePerQty=$(this.b2bStore.getSelectedProductVolumeDiscount(),{initialValue:void 0});this.productV2=f(()=>this.getProductV2());this.allowPurchases=f(()=>this.product()?.stockRule?.deliveryRule?.allowPurchases);this.preOrder=f(()=>this.product()?.stockRule?.deliveryRule?.preOrder);this.unavailableSKU=f(()=>this.getUnavailableSKU());this.priceInfo=f(()=>this.product()?.sku?.priceInfoDto);this.showQuantity=f(()=>this.getShowQuantity());this.showSelectStoreLink=f(()=>this.getShowSelectStoreLink());this.uniqueStoreAssortment=f(()=>this.product()?.stockRule?.deliveryRule?.uniqueStoreAssortment);this.isPurchaseDisabled=f(()=>this.productService.isPurchaseDisabled(this.productV2()));this.displayPrices=f(()=>this.allowPurchases()||this.uniqueStoreAssortment()||this.isPurchaseDisabled());this.isB2B=F.b2b;this.setAddToCartBtnClickedEffect(),this.setupProductQuantityEffects()}ngOnInit(){}getProductV2(){return this.productService.mapProductV3toProduct(this.product())?this.productService.mapProductV3toProduct(this.product()):lt}getUnavailableSKU(){return this.productService.isUnavailableSku(this.productV2())}clickedButton(){this.btnClicked.set(!0)}touchedButton(){this.btnClicked.set(!0)}setAddToCartBtnClickedEffect(){z(t=>{if(!this.btnClicked())return;let e=Ct(3e3).subscribe(()=>{this.btnClicked.set(!1)});t(()=>e.unsubscribe())})}setupProductQuantityEffects(){z(()=>this.applyProductQuantitiesState(),{allowSignalWrites:!0}),z(()=>this.applyVolumeDiscountQuantity(),{allowSignalWrites:!0})}applyProductQuantitiesState(){if(!this.showQuantity()){this.productQuantities.set([]);return}let n=Ge(()=>this.product())?.maxCartQuantity??1,r=this.productListService.createQuantityList(n);this.productQuantities.set(r)}applyVolumeDiscountQuantity(){let t=this.selectedPricePerQty();if(!t?.qty)return;let e=t.qty;this.setProductQuantity(e)}setProductQuantity(t){let e=+t;Number.isNaN(e)||(this.quantityChanged.emit(e),this.isB2B&&this.b2bStore.changeVolumeDiscount(e))}updateProductQuantity(t){let e=t.value;this.setProductQuantity(e)}showVolumeDiscount$(){return this.b2bStore.selectProductVolumeDiscountOptions().pipe(je(t=>this.productService.showVolumeDiscount(t)))}getShowQuantity(){let t=this.product();if(!t)return!1;let e=this.showVolumeDiscount();return t.showSkuQuantity||this.isB2B&&!!e}getShowSelectStoreLink(){let t=this.product();return t?this.availabilityService.shouldShowSelectStoreLink(t):!1}openDialogStoreAvailability(){let t=this.product();this.dialogService.openMatDialogStoreAvailability(t)}};tn.\u0275fac=function(e){return new(e||tn)(g(en),g(Ue),g(ne),g(Y),g($e))},tn.\u0275cmp=M({type:tn,selectors:[["app-product-bottom-sticky"]],inputs:{product:[1,"product"],isLoggedIn:[1,"isLoggedIn"],productQuantity:[1,"productQuantity"]},outputs:{quantityChanged:"quantityChanged"},decls:1,vars:1,consts:[["quantitySelect",""],[1,"sticky-bottom-container"],[1,"product-hidden-prices"],[3,"isPdp"],[1,"product-price"],[3,"product"],[1,"no-vat-text"],[1,"add-cart-btn"],[3,"isPDP","product","onlyIcon"],[1,"product-quantity"],["mat-flat-button","","addToCartButton","",1,"cart-btn",3,"touchstart","click","disabled","product","productQuantity"],[1,"mdc-button__wording"],["appearance","outline",1,"pbc-select"],["matSuffix","",1,"arrow",3,"ngClass"],["panelClass","pbc-select-panel pbc-select-panel-pdp","aria-label","Product quantity","disableOptionCentering","",3,"selectionChange","value"],[3,"value"],[1,"ic-check"],[1,"ic-cart"]],template:function(e,n){e&1&&p(0,b0,3,2,"div",1),e&2&&u(n.isLoggedIn()!=null?0:-1)},dependencies:[ct,He,Ji,pt,at,St,Jn,Zn,to,Xn,j],styles:[".pbc-form-field[_ngcontent-%COMP%]{--mat-form-field-filled-active-indicator-height: 1px;--mat-form-field-filled-focus-active-indicator-height: 2px;--mat-form-field-filled-container-shape: 8px;--mat-form-field-outlined-outline-width: 1px;--mat-form-field-outlined-focus-outline-width: 1px;--mat-form-field-outlined-container-shape: 8px;--mat-form-field-filled-caret-color: ;--mat-form-field-filled-focus-active-indicator-color: ;--mat-form-field-filled-focus-label-text-color: #141719;--mat-form-field-filled-container-color: ;--mat-form-field-filled-disabled-container-color: ;--mat-form-field-filled-label-text-color: #141719;--mat-form-field-filled-hover-label-text-color: #141719;--mat-form-field-filled-disabled-label-text-color: #141719;--mat-form-field-filled-input-text-color: #000000;--mat-form-field-filled-disabled-input-text-color: #000000;--mat-form-field-filled-input-text-placeholder-color: ;--mat-form-field-filled-error-hover-label-text-color: #141719;--mat-form-field-filled-error-focus-label-text-color: #141719;--mat-form-field-filled-error-label-text-color: #141719;--mat-form-field-filled-error-caret-color: ;--mat-form-field-filled-active-indicator-color: ;--mat-form-field-filled-disabled-active-indicator-color: ;--mat-form-field-filled-hover-active-indicator-color: ;--mat-form-field-filled-error-active-indicator-color: ;--mat-form-field-filled-error-focus-active-indicator-color: ;--mat-form-field-filled-error-hover-active-indicator-color: ;--mat-form-field-outlined-caret-color: ;--mat-form-field-outlined-focus-outline-color: #1976d2;--mat-form-field-outlined-focus-label-text-color: #141719;--mat-form-field-outlined-label-text-color: #141719;--mat-form-field-outlined-hover-label-text-color: #141719;--mat-form-field-outlined-disabled-label-text-color: #141719;--mat-form-field-outlined-input-text-color: #000000;--mat-form-field-outlined-disabled-input-text-color: #000000;--mat-form-field-outlined-input-text-placeholder-color: #000000;--mat-form-field-outlined-error-caret-color: ;--mat-form-field-outlined-error-focus-label-text-color: #141719;--mat-form-field-outlined-error-label-text-color: #141719;--mat-form-field-outlined-error-hover-label-text-color: #141719;--mat-form-field-outlined-outline-color: #ecebe8;--mat-form-field-outlined-disabled-outline-color: #0000001F;--mat-form-field-outlined-hover-outline-color: #1976d2;--mat-form-field-outlined-error-focus-outline-color: #1976d2;--mat-form-field-outlined-error-hover-outline-color: #1976d2;--mat-form-field-outlined-error-outline-color: #f3bab4;--mat-form-field-focus-select-arrow-color: ;--mat-form-field-disabled-input-text-placeholder-color: ;--mat-form-field-state-layer-color: ;--mat-form-field-error-text-color: #9a2525;--mat-form-field-select-option-text-color: inherit;--mat-form-field-select-disabled-option-text-color: GrayText;--mat-form-field-leading-icon-color: unset;--mat-form-field-disabled-leading-icon-color: unset;--mat-form-field-trailing-icon-color: unset;--mat-form-field-disabled-trailing-icon-color: unset;--mat-form-field-error-focus-trailing-icon-color: unset;--mat-form-field-error-hover-trailing-icon-color: unset;--mat-form-field-error-trailing-icon-color: unset;--mat-form-field-enabled-select-arrow-color: ;--mat-form-field-disabled-select-arrow-color: ;--mat-form-field-hover-state-layer-opacity: ;--mat-form-field-focus-state-layer-opacity: ;--mat-form-field-container-height: 60px;--mat-form-field-filled-label-display: block;--mat-form-field-container-vertical-padding: 16px;--mat-form-field-filled-with-label-container-padding-top: 24px;--mat-form-field-filled-with-label-container-padding-bottom: 8px;--mat-form-field-filled-label-text-font: var(--mdc-typography-font-family);--mat-form-field-filled-label-text-size: 16px;--mat-form-field-filled-label-text-tracking: .03125em;--mat-form-field-filled-label-text-weight: 600;--mat-form-field-outlined-label-text-font: var(--mdc-typography-font-family);--mat-form-field-outlined-label-text-size: 16px;--mat-form-field-outlined-label-text-tracking: .03125em;--mat-form-field-outlined-label-text-weight: 600;--mat-form-field-container-text-font: var(--mdc-typography-font-family);--mat-form-field-container-text-line-height: 24px;--mat-form-field-container-text-size: 16px;--mat-form-field-container-text-tracking: .03125em;--mat-form-field-container-text-weight: 400;--mat-form-field-outlined-label-text-populated-size: 16px;--mat-form-field-subscript-text-font: var(--mdc-typography-font-family);--mat-form-field-subscript-text-line-height: 14px;--mat-form-field-subscript-text-size: 12px;--mat-form-field-subscript-text-tracking: .0333333333em;--mat-form-field-subscript-text-weight: 400}.pbc-form-field.mat-mdc-form-field[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper[_ngcontent-%COMP%]{height:unset}.pbc-form-field.mat-mdc-form-field[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]{padding-bottom:16px}.pbc-form-field.mat-mdc-form-field[_ngcontent-%COMP%] .mat-mdc-form-field-subscript-wrapper[_ngcontent-%COMP%] .mat-mdc-form-field-error-wrapper[_ngcontent-%COMP%], .pbc-form-field.mat-mdc-form-field[_ngcontent-%COMP%] .mat-mdc-form-field-subscript-wrapper[_ngcontent-%COMP%] .mat-mdc-form-field-hint-wrapper[_ngcontent-%COMP%]{padding:0 12px}.sticky-bottom-container[_ngcontent-%COMP%]{padding:24px;display:flex;justify-content:space-between;align-items:center;gap:16px}@media(max-width:400px){.sticky-bottom-container[_ngcontent-%COMP%]{gap:1dvw}}.sticky-bottom-container[_ngcontent-%COMP%] .product-hidden-prices[_ngcontent-%COMP%]{margin-right:auto;margin-left:auto}.sticky-bottom-container[_ngcontent-%COMP%] .product-price[_ngcontent-%COMP%] .no-vat-text[_ngcontent-%COMP%]{color:#9e9e9e;height:22px;border-radius:4px;width:max-content;font-size:10px;font-weight:700;line-height:12px;font-weight:600;padding:0;float:left}.sticky-bottom-container[_ngcontent-%COMP%] .add-cart-btn[_ngcontent-%COMP%]{display:flex;gap:10px;height:52px}.sticky-bottom-container[_ngcontent-%COMP%] .add-cart-btn[_ngcontent-%COMP%] .cart
3-btn[mat-flat-button][_ngcontent-%COMP%]{border-radius:12px;width:155px;height:52px;display:flex;gap:12px;font-size:16px;font-weight:600;line-height:19px;font-weight:700}.sticky-bottom-container[_ngcontent-%COMP%] .add-cart-btn[_ngcontent-%COMP%] .cart-btn[mat-flat-button][_ngcontent-%COMP%]:before{font-size:19px;margin-bottom:5px}.sticky-bottom-container[_ngcontent-%COMP%] .add-cart-btn[_ngcontent-%COMP%] .cart-btn[mat-flat-button][_ngcontent-%COMP%] .mdc-button__wording[_ngcontent-%COMP%]{display:flex;align-items:center;transition:all .4s ease-in-out;gap:5px}.sticky-bottom-container[_ngcontent-%COMP%] .add-cart-btn[_ngcontent-%COMP%] .product-quantity[_ngcontent-%COMP%] app-mdc-select-field .mdc-select.mdc-select--monochrome{border:1px solid #ffd4b0;border-radius:12px}.sticky-bottom-container[_ngcontent-%COMP%] .add-cart-btn[_ngcontent-%COMP%] .product-quantity[_ngcontent-%COMP%] app-mdc-select-field .mdc-select.mdc-select--monochrome .mdc-select__dropdown-icon{margin:0 6px 6px -6px}.sticky-bottom-container[_ngcontent-%COMP%] .add-cart-btn[_ngcontent-%COMP%] .product-quantity[_ngcontent-%COMP%] app-mdc-select-field .mdc-select.mdc-select--outlined .mdc-select__anchor{height:52px;border:1px solid #ffd4b0;border-radius:12px}.sticky-bottom-container[_ngcontent-%COMP%] .add-cart-btn[_ngcontent-%COMP%] .product-quantity[_ngcontent-%COMP%] app-mdc-select-field .mdc-select.mdc-select--outlined .mdc-select__anchor .mdc-select__selected-text-container{min-width:35px}.sticky-bottom-container[_ngcontent-%COMP%] .add-cart-btn[_ngcontent-%COMP%] .product-quantity[_ngcontent-%COMP%] app-mdc-select-field .mdc-select.mdc-select--outlined .mdc-select__anchor .mdc-select__selected-text-container .mdc-select__selected-text{font-size:14px;font-weight:600;line-height:16px;text-align:center;padding-right:5px;padding-top:10px}.sticky-bottom-container[_ngcontent-%COMP%] .add-cart-btn[_ngcontent-%COMP%] .product-quantity[_ngcontent-%COMP%] app-mdc-select-field .mdc-menu{min-width:0;border-radius:8px;padding:0;margin-top:4px}.sticky-bottom-container[_ngcontent-%COMP%] .add-cart-btn[_ngcontent-%COMP%] .product-quantity[_ngcontent-%COMP%] app-mdc-select-field .mdc-menu li{padding-left:0;font-size:14px;font-weight:600;line-height:16px}.sticky-bottom-container[_ngcontent-%COMP%] .add-cart-btn[_ngcontent-%COMP%] .product-quantity[_ngcontent-%COMP%] app-mdc-select-field .mdc-menu li span{font-size:14px;font-weight:600;line-height:16px}.sticky-bottom-container[_ngcontent-%COMP%] .add-cart-btn[_ngcontent-%COMP%] .product-quantity[_ngcontent-%COMP%] .pbc-select[_ngcontent-%COMP%]{--mat-form-field-filled-active-indicator-height: 1px;--mat-form-field-filled-focus-active-indicator-height: 2px;--mat-form-field-filled-container-shape: 8px;--mat-form-field-outlined-outline-width: 1px;--mat-form-field-outlined-focus-outline-width: 1px;--mat-form-field-outlined-container-shape: 8px;--mat-form-field-filled-caret-color: ;--mat-form-field-filled-focus-active-indicator-color: ;--mat-form-field-filled-focus-label-text-color: #141719;--mat-form-field-filled-container-color: ;--mat-form-field-filled-disabled-container-color: ;--mat-form-field-filled-label-text-color: #141719;--mat-form-field-filled-hover-label-text-color: #141719;--mat-form-field-filled-disabled-label-text-color: #141719;--mat-form-field-filled-input-text-color: #000000;--mat-form-field-filled-disabled-input-text-color: #000000;--mat-form-field-filled-input-text-placeholder-color: ;--mat-form-field-filled-error-hover-label-text-color: #141719;--mat-form-field-filled-error-focus-label-text-color: #141719;--mat-form-field-filled-error-label-text-color: #141719;--mat-form-field-filled-error-caret-color: ;--mat-form-field-filled-active-indicator-color: ;--mat-form-field-filled-disabled-active-indicator-color: ;--mat-form-field-filled-hover-active-indicator-color: ;--mat-form-field-filled-error-active-indicator-color: ;--mat-form-field-filled-error-focus-active-indicator-color: ;--mat-form-field-filled-error-hover-active-indicator-color: ;--mat-form-field-outlined-caret-color: ;--mat-form-field-outlined-focus-outline-color: #1976d2;--mat-form-field-outlined-focus-label-text-color: #141719;--mat-form-field-outlined-label-text-color: #141719;--mat-form-field-outlined-hover-label-text-color: #141719;--mat-form-field-outlined-disabled-label-text-color: #141719;--mat-form-field-outlined-input-text-color: #000000;--mat-form-field-outlined-disabled-input-text-color: #000000;--mat-form-field-outlined-input-text-placeholder-color: #000000;--mat-form-field-outlined-error-caret-color: ;--mat-form-field-outlined-error-focus-label-text-color: #141719;--mat-form-field-outlined-error-label-text-color: #141719;--mat-form-field-outlined-error-hover-label-text-color: #141719;--mat-form-field-outlined-outline-color: #ecebe8;--mat-form-field-outlined-disabled-outline-color: #0000001F;--mat-form-field-outlined-hover-outline-color: #1976d2;--mat-form-field-outlined-error-focus-outline-color: #1976d2;--mat-form-field-outlined-error-hover-outline-color: #1976d2;--mat-form-field-outlined-error-outline-color: #f3bab4;--mat-form-field-focus-select-arrow-color: ;--mat-form-field-disabled-input-text-placeholder-color: ;--mat-form-field-state-layer-color: ;--mat-form-field-error-text-color: #9a2525;--mat-form-field-select-option-text-color: inherit;--mat-form-field-select-disabled-option-text-color: GrayText;--mat-form-field-leading-icon-color: unset;--mat-form-field-disabled-leading-icon-color: unset;--mat-form-field-trailing-icon-color: unset;--mat-form-field-disabled-trailing-icon-color: unset;--mat-form-field-error-focus-trailing-icon-color: unset;--mat-form-field-error-hover-trailing-icon-color: unset;--mat-form-field-error-trailing-icon-color: unset;--mat-form-field-enabled-select-arrow-color: ;--mat-form-field-disabled-select-arrow-color: ;--mat-form-field-hover-state-layer-opacity: ;--mat-form-field-focus-state-layer-opacity: ;--mat-form-field-container-height: 60px;--mat-form-field-filled-label-display: block;--mat-form-field-container-vertical-padding: 16px;--mat-form-field-filled-with-label-container-padding-top: 24px;--mat-form-field-filled-with-label-container-padding-bottom: 8px;--mat-form-field-filled-label-text-font: var(--mdc-typography-font-family);--mat-form-field-filled-label-text-size: 16px;--mat-form-field-filled-label-text-tracking: .03125em;--mat-form-field-filled-label-text-weight: 600;--mat-form-field-outlined-label-text-font: var(--mdc-typography-font-family);--mat-form-field-outlined-label-text-size: 16px;--mat-form-field-outlined-label-text-tracking: .03125em;--mat-form-field-outlined-label-text-weight: 600;--mat-form-field-container-text-font: var(--mdc-typography-font-family);--mat-form-field-container-text-line-height: 24px;--mat-form-field-container-text-size: 16px;--mat-form-field-container-text-tracking: .03125em;--mat-form-field-container-text-weight: 400;--mat-form-field-outlined-label-text-populated-size: 16px;--mat-form-field-subscript-text-font: var(--mdc-typography-font-family);--mat-form-field-subscript-text-line-height: 14px;--mat-form-field-subscript-text-size: 12px;--mat-form-field-subscript-text-tracking: .0333333333em;--mat-form-field-subscript-text-weight: 400;align-items:flex-end;width:70px;--mat-form-field-container-height: 54px;--mat-form-field-container-vertical-padding: 14px;--mat-form-field-outlined-container-shape: 12px;--mat-form-field-outlined-outline-color: #ffd4b0;--mat-form-field-outlined-hover-outline-color: #ffd4b0}.sticky-bottom-container[_ngcontent-%COMP%] .add-cart-btn[_ngcontent-%COMP%] .product-quantity[_ngcontent-%COMP%] .pbc-select[_ngcontent-%COMP%] .mdc-text-field--outlined{height:var(--mat-form-field-container-height);padding-left:14px;border-radius:var(--mat-form-field-outlined-container-shape)}.sticky-bottom-container[_ngcontent-%COMP%] .add-cart-btn[_ngcontent-%COMP%] .product-quantity[_ngcontent-%COMP%] .pbc-select[_ngcontent-%COMP%] .mdc-text-field--outlined:hover .mdc-notched-outline__leading, .sticky-bottom-container[_ngcontent-%COMP%] .add-cart-btn[_ngcontent-%COMP%] .product-quantity[_ngcontent-%COMP%] .pbc-select[_ngcontent-%COMP%] .mdc-text-field--outlined:hover .mdc-notched-outline__notch, .sticky-bottom-container[_ngcontent-%COMP%] .add-cart-btn[_ngcontent-%COMP%] .product-quantity[_ngcontent-%COMP%] .pbc-select[_ngcontent-%COMP%] .mdc-text-field--outlined:hover .mdc-notched-outline__trailing{border-color:var(--mat-form-field-outlined-hover-outline-color)}.sticky-bottom-container[_ngcontent-%COMP%] .add-cart-btn[_ngcontent-%COMP%] .product-quantity[_ngcontent-%COMP%] .pbc-select[_ngcontent-%COMP%] .mdc-text-field--outlined .mdc-notched-outline__leading, .sticky-bottom-container[_ngcontent-%COMP%] .add-cart-btn[_ngcontent-%COMP%] .product-quantity[_ngcontent-%COMP%] .pbc-select[_ngcontent-%COMP%] .mdc-text-field--outlined .mdc-notched-outline__notch, .sticky-bottom-container[_ngcontent-%COMP%] .add-cart-btn[_ngcontent-%COMP%] .product-quantity[_ngcontent-%COMP%] .pbc-select[_ngcontent-%COMP%] .mdc-text-field--outlined .mdc-notched-outline__trailing{border-color:var(--mat-form-field-outlined-outline-color)}.sticky-bottom-container[_ngcontent-%COMP%] .add-cart-btn[_ngcontent-%COMP%] .product-quantity[_ngcontent-%COMP%] .pbc-select[_ngcontent-%COMP%] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mat-form-field-outlined-container-shape);border-bottom-left-radius:var(--mat-form-field-outlined-container-shape)}.sticky-bottom-container[_ngcontent-%COMP%] .add-cart-btn[_ngcontent-%COMP%] .product-quantity[_ngcontent-%COMP%] .pbc-select[_ngcontent-%COMP%] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-right-radius:var(--mat-form-field-outlined-container-shape);border-bottom-right-radius:var(--mat-form-field-outlined-container-shape)}.sticky-bottom-container[_ngcontent-%COMP%] .add-cart-btn[_ngcontent-%COMP%] .product-quantity[_ngcontent-%COMP%] .pbc-select[_ngcontent-%COMP%] .mdc-text-field--outlined .mat-mdc-form-field-infix{display:flex;justify-content:center;align-items:center;padding:0;width:unset}.sticky-bottom-container[_ngcontent-%COMP%] .add-cart-btn[_ngcontent-%COMP%] .product-quantity[_ngcontent-%COMP%] .pbc-select[_ngcontent-%COMP%] .mdc-text-field--outlined .mat-mdc-form-field-infix .mat-mdc-select{--mat-select-trigger-text-weight: 700}.sticky-bottom-container[_ngcontent-%COMP%] .add-cart-btn[_ngcontent-%COMP%] .product-quantity[_ngcontent-%COMP%] .pbc-select[_ngcontent-%COMP%] .mdc-text-field--outlined .mat-mdc-form-field-infix .mat-mdc-select .mat-mdc-select-value{font-size:14px;font-weight:400;line-height:16px;font-weight:600}.sticky-bottom-container[_ngcontent-%COMP%] .add-cart-btn[_ngcontent-%COMP%] .product-quantity[_ngcontent-%COMP%] .pbc-select[_ngcontent-%COMP%] .mat-mdc-form-field-icon-suffix{margin:0 6px 0 0;padding:unset}.sticky-bottom-container[_ngcontent-%COMP%] .add-cart-btn[_ngcontent-%COMP%] .product-quantity[_ngcontent-%COMP%] .pbc-select[_ngcontent-%COMP%] .mat-mdc-form-field-subscript-wrapper .mat-mdc-form-field-error-wrapper, .sticky-bottom-container[_ngcontent-%COMP%] .add-cart-btn[_ngcontent-%COMP%] .product-quantity[_ngcontent-%COMP%] .pbc-select[_ngcontent-%COMP%] .mat-mdc-form-field-subscript-wrapper .mat-mdc-form-field-hint-wrapper{padding:0}.sticky-bottom-container[_ngcontent-%COMP%] .add-cart-btn[_ngcontent-%COMP%] .product-quantity[_ngcontent-%COMP%] .pbc-select[_ngcontent-%COMP%] .mat-mdc-select-arrow{display:none}.sticky-bottom-container[_ngcontent-%COMP%] .add-cart-btn[_ngcontent-%COMP%] .product-quantity[_ngcontent-%COMP%] .pbc-select[_ngcontent-%COMP%] [matSuffix]:before{font-size:20px}[_nghost-%COMP%] app-product-price-sticky .prices-container{align-items:flex-start}"],changeDetection:0});var _r=tn;var P0=(i,t)=>t.slug;function x0(i,t){if(i&1&&_(0,"span",7),i&2){let e=l().$implicit;Le(e[0]==null?null:e[0].catIcon)}}function y0(i,t){i&1&&_(0,"span",8)}function S0(i,t){if(i&1&&(p(0,y0,1,0,"span",8),a(1,"a",9),y(2,"queryParamsPipe"),m(3),c()),i&2){let e=t.$implicit,n=t.$index;u(n>0?0:-1),o(),s("href",e==null?null:e.slug,H)("routerLinkInput",S(2,4,e==null?null:e.slug).url),o(2),x(" ",e.displayName," ")}}function M0(i,t){if(i&1&&(a(0,"div",3)(1,"div",4),p(2,x0,1,2,"span",5),c(),a(3,"div",6),I(4,S0,4,6,null,null,P0),c()()),i&2){let e=t.$implicit;o(2),u(e[0]!=null&&e[0].catIcon?2:-1),o(2),B(e)}}var nn=class nn{constructor(){this.relatedCategories=D([])}};nn.\u0275fac=function(e){return new(e||nn)},nn.\u0275cmp=M({type:nn,selectors:[["app-product-related-categories"]],inputs:{relatedCategories:[1,"relatedCategories"]},decls:6,vars:0,consts:[["id","reusable-product-related-categories",1,"product-related-categories-container"],[1,"related-categories-title"],[1,"related-categories-list"],[1,"related-category"],[1,"icons"],[1,"ic-icon",3,"class"],[1,"categories"],[1,"ic-icon"],[1,"ic-chevron-right","category-separator"],["rout
3ing","",1,"subcategory-link",3,"href","routerLinkInput"]],template:function(e,n){e&1&&(a(0,"div",0)(1,"p",1),m(2,"\u03A3\u03C7\u03B5\u03C4\u03B9\u03BA\u03AD\u03C2 \u03BA\u03B1\u03C4\u03B7\u03B3\u03BF\u03C1\u03AF\u03B5\u03C2"),c(),a(3,"ul",2),I(4,M0,6,1,"div",3,N),c()()),e&2&&(o(4),B(n.relatedCategories()))},dependencies:[Gt,ma],styles:[".product-related-categories-container[_ngcontent-%COMP%]{--border-radius: 12px;padding:32px 16px;background-color:#fff;border:solid 1px #e1e1e5;border-radius:var(--border-radius)}.product-related-categories-container[_ngcontent-%COMP%] .related-categories-title[_ngcontent-%COMP%]{font-size:24px;font-weight:700;line-height:28px;font-size:18px}.product-related-categories-container[_ngcontent-%COMP%] .related-categories-list[_ngcontent-%COMP%]{margin-top:32px}@media(min-width:820px){.product-related-categories-container[_ngcontent-%COMP%] .related-categories-list[_ngcontent-%COMP%]{margin-top:24px}}.product-related-categories-container[_ngcontent-%COMP%] .related-categories-list[_ngcontent-%COMP%] .related-category[_ngcontent-%COMP%]{display:flex;align-items:flex-start;padding-bottom:8px;border-bottom:1px solid #e1e1e5}.product-related-categories-container[_ngcontent-%COMP%] .related-categories-list[_ngcontent-%COMP%] .related-category[_ngcontent-%COMP%]:only-child{padding-bottom:0;border-bottom:none}@media(min-width:820px){.product-related-categories-container[_ngcontent-%COMP%] .related-categories-list[_ngcontent-%COMP%] .related-category[_ngcontent-%COMP%]{align-items:center}}.product-related-categories-container[_ngcontent-%COMP%] .related-categories-list[_ngcontent-%COMP%] .related-category[_ngcontent-%COMP%] + .related-category[_ngcontent-%COMP%]{margin-top:18px}.product-related-categories-container[_ngcontent-%COMP%] .related-categories-list[_ngcontent-%COMP%] .related-category[_ngcontent-%COMP%] .icons[_ngcontent-%COMP%]{display:flex;align-items:center;padding-right:6px}.product-related-categories-container[_ngcontent-%COMP%] .related-categories-list[_ngcontent-%COMP%] .related-category[_ngcontent-%COMP%] .icons[_ngcontent-%COMP%] .ic-chevron-right[_ngcontent-%COMP%]{font-size:20px}.product-related-categories-container[_ngcontent-%COMP%] .related-categories-list[_ngcontent-%COMP%] .related-category[_ngcontent-%COMP%] .icons[_ngcontent-%COMP%] .ic-icon[_ngcontent-%COMP%]{padding:0 6px 0 2px;color:var(--main-orange)}.product-related-categories-container[_ngcontent-%COMP%] .related-categories-list[_ngcontent-%COMP%] .related-category[_ngcontent-%COMP%] .categories[_ngcontent-%COMP%] .category-separator[_ng
3content-%COMP%]{font-size:12px;font-weight:400;line-height:14px;padding:4px}.product-related-categories-container[_ngcontent-%COMP%] .related-categories-list[_ngcontent-%COMP%] .related-category[_ngcontent-%COMP%] .categories[_ngcontent-%COMP%] .subcategory-link[_ngcontent-%COMP%]{border-bottom:1px solid transparent;font-size:14px;font-weight:400;line-height:16px;line-height:19px;color:var(--main-brand-neutral-text);text-decoration:none;cursor:pointer;white-space:nowrap}.product-related-categories-container[_ngcontent-%COMP%] .related-categories-list[_ngcontent-%COMP%] .related-category[_ngcontent-%COMP%] .categories[_ngcontent-%COMP%] .subcategory-link[_ngcontent-%COMP%]:hover{text-decoration:underline}.product-related-categories-container[_ngcontent-%COMP%] .related-categories-list[_ngcontent-%COMP%] .related-category[_ngcontent-%COMP%] .categories[_ngcontent-%COMP%] .subcategory-link[_ngcontent-%COMP%]:last-child{font-weight:700}"],changeDetection:0});var fr=nn;var fc=i=>({"mdc-typography--bold":i}),w0=i=>({"text-success":i}),zr=i=>({"not-available":i}),k0=i=>({"wolt-delivery__container--not-eligible":i});function I0(i,t){if(i&1&&(a(0,"div",1),_(1,"img",11),a(2,"p",12),m(3),c()()),i&2){let e,n,r,d=l();s("ngClass","beforeCurrentSeasonDelivery-header "+((e=d.currentSeasonInfo())==null?null:e.season)),o(),s("src",(n=d.currentSeasonInfo())==null?null:n.imgSrc,H),o(2),x(" ",(r=d.currentSeasonInfo())==null?null:r.text," ")}}function B0(i,t){if(i&1){let e=P();a(0,"p",13),h("click",function(){C(e);let r=l();return v(r.openDialogPostalCodeSubmit())}),c()}if(i&2){let e=l();s("innerHTML",e.postalCodeHeader(),le),R("data-testid","link-zip-code-dialog")}}function T0(i,t){if(i&1){let e=P();a(0,"div",20),h("click",function(){C(e);let r=l(2);return v(r.openDialogInfo())}),a(1,"div"),m(2,"\u03AE \u0394\u03A9\u03A1\u0395\u0391\u039D \u03BC\u03B5 "),a(3,"span",21),m(4,"Public+ delivery"),c()(),_(5,"span",22),c()}i&2&&R("data-testid","container-public+-promo")}function D0(i,t){if(i&1&&(a(0,"div",6)(1,"div",14),m(2," \u03A3\u03B5 "),a(3,"span",15),m(4," BOX NOW Locker"),c(),_(5,"span",16),y(6,"deliveryPromiseText"),y(7,"promiseDateEmoji"),c(),a(8,"div",17)(9,"span",18),m(10),c()(),p(11,T0,6,1,"div",19),c()),i&2){let e=l();R("data-testid","container-box-now-delivery"),o(3),s("ngClass",O(11,fc,!e.sellerPromiseText())),o(2),s("innerHTML",S(7,9,S(6,7,e.sellerPromiseText())),le),R("data-testid","text-box-now-promise-date"),o(4),s("ngClass",O(13,w0,e.boxNowCost()==="\u0394\u03A9\u03A1\u0395\u0391\u039D")),o(),x(" ",e.boxNowCost()," "),o(),u(e.showSubscriptionPromo()&&e.eligibleForBoxNow()?11:-1)}}function R0(i,t){if(i&1&&(_(0,"span",24),y(1,"async"),y(2,"async"),y(3,"async"),y(4,"promiseDateEmoji")),i&2){let e,n=l(2);s("id",S(1,4,n.promiseId$))("innerHTML",S(4,10,n.handlePromiseText(n.storePromiseText(),!S(2,6,n.userLoginStatus$)&&n.isB2B()?"\u03BA\u03B1\u03C4\u03AC\u03C3\u03C4\u03B7\u03BC\u03B1 Public":(e=S(3,8,n.commonService.selectedStore$))==null?null:e.storeSlug)),le)("ngClass",O(12,zr,!n.isStorePickUpAvailable())),R("data-testid","text-store-pickup-promise-date")}}function E0(i,t){if(i&1){let e=P();a(0,"span",28),h("click",function(){C(e);let r=l(2);return v(r.openDialogInfoTooltip())}),c()}if(i&2){let e=l(2);s("ngClass",O(1,zr,!e.isStorePickUpAvailable()))}}function A0(i,t){if(i&1&&(m(0),y(1,"async")),i&2){let e=l(3);x(" ",S(1,1,e.commonService.selectedStore$).storeSlug," ")}}function V0(i,t){if(i&1&&m(0),i&2){let e=l(3);x(" ",e.storeCount()+" \u03BA\u03B1\u03C4\u03B1\u03C3\u03C4\u03AE\u03BC\u03B1\u03C4\u03B1"," ")}}function F0(i,t){if(i&1){let e=P();a(0,"div",26),m(1," \u03A0\u03B1\u03C1\u03B1\u03BB\u03B1\u03B2\u03AE \u03B1\u03C0\u03CC "),a(2,"a",29),h("click",function(){C(e);let r=l(2);return v(r.openDialogStoreAvailability())}),p(3,A0,2,3)(4,V0,1,1),c()()}if(i&2){let e=l(2);o(3),u(e.storeCount()<=e.storeNumberThreshold()?3:4)}}function N0(i,t){if(i&1&&(a(0,"div",17)(1,"span",30),m(2),c()()),i&2){let e=l(2);o(),s("ngClass",e.pickupStatus().class),o(),E(e.pickupStatus().text)}}function j0(i,t){if(i&1){let e=P();a(0,"a",31),h("click",function(){C(e);let r=l(2);return v(r.openDialogStoreAvailability())}),a(1,"strong"),m(2,"\u0394\u03B9\u03B1\u03B8\u03B5\u03C3\u03B9\u03BC\u03CC\u03C4\u03B7\u03C4\u03B1 \u03B1\u03BD\u03AC \u03BA\u03B1\u03C4\u03AC\u03C3\u03C4\u03B7\u03BC\u03B1"),c()()}i&2&&R("data-testid","link-store-pickup-availability")}function L0(i,t){if(i&1&&(a(0,"div",7)(1,"div",23)(2,"div",14),p(3,R0,5,14,"span",24),p(4,E0,1,3,"span",25),p(5,F0,5,1,"div",26),c(),p(6,N0,3,2,"div",17),c(),p(7,j0,3,1,"a",27),c()),i&2){let e=l();R("data-testid","container-store-pickup"),o(3),u(e.storePromiseText()?3:-1),o(),u(e.isStorePickUpAvailable()?-1:4),o(),u(e.expressStorePickup()&&e.storeCount()?5:-1),o(),u(e.pickupStatus().text&&(e.isProductAvailableInStore()&&!e.cyLinking()&&e.isStorePickUpAvailable()||e.isLinkingAcsPickup())?6:-1),o(),u(e.showSelectStoreLink()?7:-1)}}function G0(i,t){if(i&1&&(m(0," \u03A3\u03C4\u03BF\u03BD "),a(1,"span",35),m(2," \u03C7\u03CE\u03C1\u03BF \u03C3\u03BF\u03C5"),c()),i&2){let e=l(2);o(),s("ngClass",O(1,fc,!e.sellerPromiseText()))}}function z0(i,t){if(i&1&&(a(0,"div",33)(1,"strong"),m(2),c()()),i&2){let e,n=l(2);o(2),E((e=n.product())==null||e.stockRule==null||e.stockRule.deliveryRule==null?null:e.stockRule.deliveryRule.inventoryAdditionalInfo)}}function U0(i,t){if(i&1&&(a(0,"div",17)(1,"span",36),m(2),c()()),i&2){let e=l(2);o(),me("color",e.deliveryCostTextColor()),o(),x(" ",e.deliveryCostText()," ")}}function $0(i,t){if(i&1){let e=P();a(0,"div",37),h("click",function(){C(e);let r=l(2);return v(r.openFlexDeliveryInfoDialog())}),a(1,"div"),m(2,"\u03AE \u03B4\u03B9\u03AC\u03BB\u03B5\u03BE\u03B5 \u03B7\u03BC\u03AD\u03C1\u03B1 \u03BC\u03B5 "),a(3,"span",38),m(4,"flex delivery"),c()(),_(5,"span",22),c()}i&2&&R("data-testid","container-flex-delivery-promo")}function H0(i,t){if(i&1&&(a(0,"div",8)(1,"div",14),p(2,G0,3,3),_(3,"span",32),y(4,"deliveryPromiseText"),y(5,"promiseDateEmoji"),p(6,z0,3,1,"div",33),c(),p(7,U0,3,3,"div",17),p(8,$0,6,1,"div",34),c()),i&2){let e,n,r=l();R("data-testid","container-home-delivery"),o(2),u(r.shouldShowDeliveryInfo()?2:-1),o(),s("innerHTML",S(5,10,S(4,8,r.sellerPromiseText())),le)("ngClass",O(12,zr,!r.shouldShowDeliveryInfo())),R("data-testid","text-home-delivery-promise-date"),o(3),u(!((e=r.product())==null||e.stockRule==null||e.stockRule.deliveryRule==null)&&e.stockRule.deliveryRule.inventoryAdditionalInfo?6:-1),o(),u(r.deliveryCostText()?7:-1),o(),u(!((n=r.product())==null||n.stockRule==null||n.stockRule.deliveryRule==null)&&n.stockRule.deliveryRule.futureDelivery&&!r.showSubscriptionPromo()?8:-1)}}function W0(i,t){if(i&1){let e=P();a(0,"div",9)(1,"div",14)(2,"strong",39),m(3,"\u039C\u03B7 \u03B4\u03B9\u03B1\u03B8\u03AD\u03C3\u03B9\u03BC\u03BF \u03C3\u03B5 \u03BA\u03B1\u03C4\u03AC\u03C3\u03C4\u03B7\u03BC\u03B1"),c()(),a(4,"span",40),h("click",function(){C(e);let r=l();return v(r.openDialogInfoTooltip())}),c()()}}function Q0(i,t){if(i&1&&(a(0,"div",10)(1,"div",41)(2,"div")(3,"div",42),m(4," \u03A3\u03C4\u03BF\u03BD \u03C7\u03CE\u03C1\u03BF \u03C3\u03BF\u03C5 "),a(5,"div",43)(6,"span",44),m(7),c(),_(8,"img",45),c()(),a(9,"div",46),m(10),c()(),a(11,"div",17)(12,"span",47),m(13),y(14,"formatPrice"),c()()()()),i&2){let e,n,r,d,b,w,k=l();o(),s("ngClass",O(15,k0,(e=k.woltEligibility())==null?null:e.disable))("tooltip",(n=k.woltEligibility())!=null&&n.disable?k.nonEligibleWoltTooltipText:"")("arrow","left")("woltDeliveryTooltip",!0)("hideAfter",2e4)("color","#AAADB1")("closeOnClickOutside",!0),o(6),x("\u03C3\u03B5 ",(r=k.woltEligibility())==null?null:r.deliveryTime,"'"),o(3),E((d=k.woltEligibility())==null?null:d.description),o(2),me("color",((b=k.woltEligibility())==null?null:b.cost)==0?"#009688":""),o(),x(" ",De(14,12,(w=k.woltEligibility())==null?null:w.cost,!0)," ")}}var on=class on{constructor(t,e,n,r,d,b,w,k){this.platformId=t;this.commonService=e;this.dialogService=n;this.dialog=r;this.availabilityService=d;this.userStore=b;this.genericStore=w;this.woltService=k;this.product=D();this.sellerPromiseDate=D();this.subscriptionThreshold=D();this.subscriptionPrice=D();this.storeNumberThreshold=V(7);this.expressStorePickup=V(!1);this.isB2B=V(F.b2b);this.isCyprus=V(F.cyprus);this.selectedZipCode=$(this.genericStore.selectSelectedZipCode());this.selectedStore=$(this.commonService.selectedStore$,{initialValue:null});this.deliveryRule=f(()=>this.getDeliveryRule());this.boxNowCost=f(()=>this.getBoxNowCost());this.isMirakl=f(()=>this.getIsMirakl());this.storeCount=f(()=>this.getStoreCount());this.showPostalCode=f(()=>this.getShowPostalCode());this.postalCodeHeader=f(()=>this.getPostalCodeHeader());this.showSubscriptionPromo=f(()=>this.getShowSubscriptionPromo());this.sellerPromiseText=f(()=>this.getSellerPromiseText());this.shouldShowDeliveryInfo=f(()=>this.getShouldShowDeliveryInfo());this.isStorePickUpAvailable=f(()=>this.getIsStorePickUpAvailable());this.isProductAvailableInStore=f(()=>this.getIsProductAvailableInStore());this.showSelectStoreLink=f(()=>this.getShowSelectStoreLink());this.deliveryCostText=f(()=>this.getDeliveryCostText());this.deliveryCostTextColor=f(()=>this.getDeliveryCostTextColor());this.pickupStatus=f(()=>this.getPickupStatus());this.storePromiseText=f(()=>this.product()?.stockRule?.storeRule?.storePromiseText||"");this.cyLinking=f(()=>this.product()?.stockRule?.deliveryRule?.cyLinking);this.salePrice=f(()=>this.product()?.prices[0]?.salePrice);this.boxNowHasCost=f(()=>this.product()?.boxNowRule?.boxNowCost??!1);this.eligibleForBoxNow=f(()=>this.product()?.boxNowRule?.eligibleForBoxNow);this.subscriptionDeliveryEligibility=f(()=>this.getSubscriptionDeliveryEligibility());this.productCategoryOptions=f(()=>this.getProductCategoryOptions());this.hasBeforeCurrentSeasonDelivery=f(()=>this.getBeforeCurrentSeasonDelivery());this.currentSeasonInfo=f(()=>this.getCurrentSeasonInfo());this.hasActiveSubscription=$(this.userStore.selectUserHasActiveSubscription());this.woltEligibility=this.woltService.woltEligibility;
3this.nonEligibleWoltTooltipText=this.woltService.nonEligibleTooltipText;this.userLoginStatus$=this.userStore.selectUserLoginStatus();this.promiseId$=new En("spu-promise-date");this.destroy$=new se;this.getDecimal=new Ee;this.getInteger=new Re}getPostalCodeHeader(){let t=this.selectedZipCode();return t?'<span class="ic-pin"></span> '+t:"\u0392\u03AC\u03BB\u03B5 \u03A4\u039A"}getDeliveryRule(){let t=this.product();if(t)return t?.stockRule?.deliveryRule}getIsMirakl(){let t=this.product();return t?!!(t?.sku?.mirakl&&this.product()?.offer?.seller):!1}getStoreCount(){let t=this.product();return t?this.availabilityService.getStoreCount(t?.stockRule?.storeRule?.storeCount):0}getShowPostalCode(){let t=this.product();return t?this.availabilityService.shouldShowPostalCode(t):!1}getSellerPromiseText(){let t=this.product();return t?this.availabilityService.getSellerPromiseText(t,this.sellerPromiseDate()):null}getShouldShowDeliveryInfo(){let t=this.product();return t?this.availabilityService.shouldShowDeliveryInfo(t):!1}getIsStorePickUpAvailable(){let t=this.product();return t?this.availabilityService.isStorePickUpAvailable(t):!1}getIsProductAvailableInStore(){let t=this.product();return t?this.availabilityService.isProductAvailableInStore(t):!1}getShowSelectStoreLink(){let t=this.product();return t?this.availabilityService.shouldShowSelectStoreLink(t):!1}getProductCategoryOptions(){let t=this.product();return t?{sapHierarchy71:t?.sku?.hierarchy?.slice(0,2)==="71"}:!1}getBeforeCurrentSeasonDelivery(){let t=this.productCategoryOptions(),e=this.product(),n=e?.stockRule?.deliveryRule;return!e||!n?!1:this.availabilityService.beforeCurrentSeasonAndFirstDoorbellDelivery(n,t)?.hasBeforeCurrentSeasonDelivery}getCurrentSeasonInfo(){let t=this.product()?.stockRule?.deliveryRule;return t?this.availabilityService.beforeCurrentSeasonAndFirstDoorbellDelivery(t)?.currentSeasonInfo:null}ngOnChanges(){this.setSpuPromiseIdDynamically()}handlePromiseText(t,e){return this.availabilityService.handlePromiseText(t,e,!!this.isStorePickUpAvailable())}getBoxNowCost(){let t=this.product();if(!t)return"";if(this.subscriptionDeliveryEligibility()&&this.hasActiveSubscription())return"\u0394\u03A9\u03A1\u0395\u0391\u039D";let e=t.boxNowRule?.boxNowCost??0;return e===0?"\u0394\u03A9\u03A1\u0395\u0391\u039D":`${this.getInteger.transform(e)},${this.getDecimal.transform(e)}\u20AC`}getDeliveryCostText(){let t=this.product();return t?t.deliveryCostText??"":""}getDeliveryCostTextColor(){let t=this.product();if(!t)return"";let e=t.deliveryCostText?.toLocaleLowerCase()??"";return["\u03B4\u03C9\u03C1\u03B5\u03AC\u03BD","\u03B4\u03C9\u03C1\u03B5\u03B1\u03BD","free","\u03B4\u03C9\u03C1\u03B5\u03AC\u03BD \u03BC\u03B5\u03C4\u03B1\u03C6\u03BF\u03C1\u03B9\u03BA\u03AC"].some(r=>e.includes(r))?"#009688":""}getPickupStatus(){let t=this.product(),e=this.selectedStore(),n=this.getStoredSelection();if(!t)return{text:"",class:""};if(e?.acs||n?.acs){let r=this.getPickupPointCost(e);r==null&&(r=this.getPickupPointCost(n)??null);let d=t.stockRule?.storeRule?.pickUpPointCost;return typeof d=="number"?this.formatPickupCost(d):typeof r=="number"?this.formatPickupCost(r):{text:"",class:""}}return this.availabilityService.getPickupStatus(e,t)}isLinkingAcsPickup(){let t=this.getStoredSelection();return!!this.cyLinking()&&!!(this.selectedStore()?.acs||t?.acs)}formatPickupCost(t){return t===0?{text:"\u0394\u03A9\u03A1\u0395\u0391\u039D",class:"text-success"}:{text:`${this.getInteger.transform(t)},${this.getDecimal.transform(t)}\u20AC`,class:"regular-text"}}getPickupPointCost(t){return t?.pickUpPointCost??t?.pickupPointCost}getStoredSelection(){try{let t=localStorage.getItem("selectedStore")??localStorage.getItem("lastSelectedLocker");return t?JSON.parse(t):null}catch{return null}}setSpuPromiseIdDynamically(){let e=this.product()?.stockRule?.storeRule?.storePromiseText||"",n=this.isB2B()?"\u03BA\u03B1\u03C4\u03AC\u03C3\u03C4\u03B7\u03BC\u03B1 Public":"";this.commonService.selectedStore$.pipe(we(1)).subscribe(r=>{this.isB2B()||(n=r?.storeSlug),this.handlePromiseText(e,n).includes("\u03A3\u03B5 \u03BA\u03B1\u03C4\u03AC\u03C3\u03C4\u03B7\u03BC\u03B1 Public")?this.promiseId$.
3next("spu-default-promise"):this.promiseId$.next("spu-promise-date")})}openDialogPostalCodeSubmit(){let t={isPDP:!0};this.dialogService.openMatDialogPostalCodeSubmit(t)}openDialogInfoTooltip(){let e=this.product()?.mirakl;this.dialogService.openMatDialogInfoTooltip(e)}openDialogStoreAvailability(){let t=this.product();this.dialogService.openMatDialogStoreAvailability(t)}getShowSubscriptionPromo(){let t=this.hasActiveSubscription();return t===void 0?!1:!t&&this.subscriptionDeliveryEligibility()}getSubscriptionDeliveryEligibility(){let t=this.subscriptionThreshold(),e=this.salePrice(),n=this.hasActiveSubscription(),r=this.isB2B();return n===void 0||t==null||r?!1:e!=null&&e>=t&&this.boxNowHasCost()&&!!this.eligibleForBoxNow()}openDialogInfo(){let t={subscriptionThreshold:this.subscriptionThreshold(),isPdp:!0,pricing:this.subscriptionPrice()};this.dialogService.openDialogPlusSubscriptionInfo(t)}openFlexDeliveryInfoDialog(){this.dialogService.openFlexDeliveryInfo()}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}};on.\u0275fac=function(e){return new(e||on)(g(X),g(ve),g(Y),g(Lt),g(en),g(ue),g(ot),g(ro))},on.\u0275cmp=M({type:on,selectors:[["app-product-page-availability"]],inputs:{product:[1,"product"],sellerPromiseDate:[1,"sellerPromiseDate"],subscriptionThreshold:[1,"subscriptionThreshold"],subscriptionPrice:[1,"subscriptionPrice"]},features:[q],decls:12,vars:7,consts:[[1,"availability-container"],[3,"ngClass"],[1,"header"],[1,"delivery-title"],[1,"postal-code",3,"innerHTML"],[1,"availability-content"],[1,"boxnow-delivery"],[1,"store-pickup"],[1,"home-delivery"],[1,"mrk-pickup"],[1,"wolt-delivery"],[3,"src"],[1,"mdc-typography--caption"],[1,"postal-code",3,"click","innerHTML"],[1,"mdc-typography--body2"],["id","bn-promise-text",3,"ngClass"],["id","bn-promise-date",1,"mdc-typography--bold",3,"innerHTML"],[1,"delivery-cost"],["id","bn-promise-cost",1,"regular-text",3,"ngClass"],[1,"subscription-promo"],[1,"subscription-promo",3,"click"],[1,"promo-logo"],["aria-hidden","true",1,"ic-arrow-right"],[1,"store-pickup_container"],[3,"id","innerHTML","ngClass"],[1,"ic-info",3,"ngClass"],[1,"express-pickup","mdc-typography--body2"],[1,"store-availability","mdc-typography--subtitle2"],[1,"ic-info",3,"click","ngClass"],[1,"store-availability","mdc-typography--bold",3,"click"],["id","spu-promise-store",3,"ngClass"],[1,"store-availability","mdc-typography--subtitle2",3,"click"],["id","hd-promise-date",1,"mdc-typography--bold",3,"innerHTML","ngClass"],[1,"mdc-typography--subtitle2","inventory-info"],[1,"flex-delivery-promo"],["id","hd-promise-text",3,"ngClass"],["id","hd-promise-cost",1,"regular-text","mdc-typography--bold"],[1,"flex-delivery-promo",3,"click"],[1,"flex-logo"],["id","spu-mrk-unavailable-promise"],[1,"ic-info",3,"click"],[1,"wolt-delivery__container",3,"ngClass","tooltip","arrow","woltDeliveryTooltip","hideAfter","color","closeOnClickOutside"],[1,"wolt-delivery__wrapper","d-flex","align-items-center","flex-wrap","mdc-typography--body2"],[1,"d-inline-flex","align-items-center"],["id","wolt-promise-text",1,"mdc-typography--bold"],["ngSrc","assets/images/logo-woltdrive.svg","height","20","width","61","alt","WoltDrive Logo",1,"woltdrive-logo","ml-1"],[1,"mdc-typography--caption","mt-2"],["id","wolt-promise-cost",1,"regular-text"]],template:function(e,n){if(e&1&&(a(0,"div",0),p(1,I0,4,3,"div",1),a(2,"div",2)(3,"p",3),m(4,"\u0395\u03C0\u03B9\u03BB\u03BF\u03B3\u03AD\u03C2 \u03C0\u03B1\u03C1\u03AC\u03B4\u03BF\u03C3\u03B7\u03C2"),c(),p(5,B0,1,2,"p",4),c(),a(6,"div",5),p(7,D0,12,15,"div",6),p(8,L0,8,6,"div",7),p(9,H0,9,14,"div",8),p(10,W0,5,0,"div",9),p(11,Q0,15,17,"div",10),c()()),e&2){let r,d,b,w;o(),u(n.hasBeforeCurrentSeasonDelivery()&&!n.isMirakl()?1:-1),o(4),u(n.showPostalCode()?5:-1),o(2),u(!((r=n.product())==null||r.boxNowRule==null)&&r.boxNowRule.eligibleForBoxNow?7:-1),o(),u(!((d=n.product())==null||d.offer==null)&&d.offer.seller?-1:8),o(),u(n.deliveryRule()?9:-1),o(),u(!((b=n.product())==null||b.offer==null)&&b.offer.seller?10:-1),o(),u((w=n.woltEligibility())!=null&&w.eligible?11:-1)}},dependencies:[j,yt,ni,So,yo,_e,ti],styles:["[_nghost-%COMP%]{--light-beige-color: #eeedf0;
3--light-grey-color: #c3c3c7}[_nghost-%COMP%] .availability-container[_ngcontent-%COMP%]{background-color:#fff;height:auto;border-radius:12px;padding:16px 12px}[_nghost-%COMP%] .availability-container[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{display:flex;align-items:baseline;justify-content:center;flex-direction:column;margin-bottom:16px;gap:6px}[_nghost-%COMP%] .availability-container[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .delivery-title[_ngcontent-%COMP%]{font-size:16px;font-weight:400;line-height:19px;font-weight:700}[_nghost-%COMP%] .availability-container[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .postal-code[_ngcontent-%COMP%]{font-size:14px;font-weight:400;line-height:16px;font-weight:700}[_nghost-%COMP%] .availability-content[_ngcontent-%COMP%]{gap:16px;display:flex;flex-direction:column;width:100%;height:max-content}[_nghost-%COMP%] .availability-header[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{font-size:16px;margin-right:5px}[_nghost-%COMP%] .availability-header[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]:before{font-weight:700}[_nghost-%COMP%] .boxnow-delivery[_ngcontent-%COMP%], [_nghost-%COMP%] .home-delivery[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr auto;border:1px solid var(--light-beige-color);border-radius:8px;padding:12px;gap:12px}[_nghost-%COMP%] .boxnow-delivery[_ngcontent-%COMP%] .not-available[_ngcontent-%COMP%], [_nghost-%COMP%] .home-delivery[_ngcontent-%COMP%] .not-available[_ngcontent-%COMP%]{font-weight:700;color:var(--light-grey-color)}[_nghost-%COMP%] .wolt-delivery[_ngcontent-%COMP%]{position:relative;border:1px solid var(--light-beige-color);border-radius:8px;padding:12px}[_nghost-%COMP%] .wolt-delivery__container[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr auto;gap:12px}[_nghost-%COMP%] .wolt-delivery__container--not-eligible[_ngcontent-%COMP%]{opacity:.5}[_nghost-%COMP%] .wolt-delivery__wrapper[_ngcontent-%COMP%]{gap:4px}[_nghost-%COMP%] .wolt-delivery__wrapper[_ngcontent-%COMP%] span#wolt-promise-text[_ngcontent-%COMP%]{white-space:nowrap}[_nghost-%COMP%] .store-pickup[_ngcontent-%COMP%]{display:flex;flex-direction:column;border:1px solid var(--light-beige-color);border-radius:8px;padding:12px;gap:6px}[_nghost-%COMP%] .store-pickup_container[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;gap:6px}[_nghost-%COMP%] .mrk-pickup[_ngcontent-%COMP%]{display:flex;gap:5px;color:var(--light-grey-color);border:1px solid var(--light-beige-color);border-radius:8px;padding:12px}[_nghost-%COMP%] .delivery-cost[_ngcontent-%COMP%]{font-size:12px;font-weight:400;line-height:14px;font-weight:700;background-color:var(--light-beige-color);border-radius:40px;padding:2px 10px;width:max-content;height:max-content;max-width:150px;text-align:center}[_nghost-%COMP%] .postal-code[_ngcontent-%COMP%], [_nghost-%COMP%] .store-availability[_ngcontent-%COMP%]{color:#0265dc;cursor:pointer;text-decoration:none}[_nghost-%COMP%] .postal-code[_ngcontent-%COMP%]:hover, [_nghost-%COMP%] .store-availability[_ngcontent-%COMP%]:hover{text-decoration:underline}[_nghost-%COMP%] .inventory-info[_ngcontent-%COMP%]{color:#666;margin-top:6px}[_nghost-%COMP%] .ic-info[_ngcontent-%COMP%]:hover{cursor:pointer}[_nghost-%COMP%] .regular-text[_ngcontent-%COMP%]{color:#595c61}[_nghost-%COMP%] .beforeCurrentSeasonDelivery-header[_ngcontent-%COMP%]{width:calc(100% + 24px);display:flex;align-items:center;justify-content:center;background-color:#d2ead6;border-radius:12px 12px 0 0;margin:-16px 0 16px -12px;gap:4px;height:28px}[_nghost-%COMP%] .beforeCurrentSeasonDelivery-header[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-top:2px}[_nghost-%COMP%] .beforeCurrentSeasonDelivery-header.easter[_ngcontent-%COMP%]{background-color:#d8e4ff}[_nghost-%COMP%] .promise-gif.rocket{margin:-10px 0}[_nghost-%COMP%] .subscription-promo[_ngcontent-%COMP%], [_nghost-%COMP%] .flex-delivery-promo[_ngcontent-%COMP%]{font-size:14px;font-weight:600;line-height:16px;font-weight:400;display:flex;align-items:center;background-color:#f8f7fa;padding:4px 10px;border-radius:8px;
3cursor:pointer;grid-column:1/span 2;width:fit-content;gap:6px}@media screen and (max-width:820px){[_nghost-%COMP%] .subscription-promo[_ngcontent-%COMP%], [_nghost-%COMP%] .flex-delivery-promo[_ngcontent-%COMP%]{margin-left:0}}[_nghost-%COMP%] .subscription-promo[_ngcontent-%COMP%] .promo-logo[_ngcontent-%COMP%], [_nghost-%COMP%] .flex-delivery-promo[_ngcontent-%COMP%] .promo-logo[_ngcontent-%COMP%]{font-weight:700;color:#fe5900}[_nghost-%COMP%] .subscription-promo[_ngcontent-%COMP%] .flex-logo[_ngcontent-%COMP%], [_nghost-%COMP%] .flex-delivery-promo[_ngcontent-%COMP%] .flex-logo[_ngcontent-%COMP%]{font-weight:700;color:#4f0c75}[_nghost-%COMP%] .subscription-promo[_ngcontent-%COMP%] .ic-arrow-right[_ngcontent-%COMP%]:before, [_nghost-%COMP%] .flex-delivery-promo[_ngcontent-%COMP%] .ic-arrow-right[_ngcontent-%COMP%]:before{font-weight:700;transform:scale(.8)}"]});var hr=on;var q0=(i,t)=>({selected:i,disabled:t});function K0(i,t){i&1&&(a(0,"div",2),_(1,"div",3),a(2,"p",4),m(3,"\u03A3\u03CD\u03B3\u03BA\u03C1\u03B9\u03C3\u03B7"),c()())}function Y0(i,t){if(i&1){let e=P();a(0,"div",0)(1,"div",1),h("click",function(){C(e);let r=l();return v(r.toggleComparison())}),c(),p(2,K0,4,0,"div",2),c()}if(i&2){let e=l();o(),s("ngClass",ge(2,q0,e.isCompared(),e.disabledComparison()&&!e.isCompared())),o(),u(e.showTooltip()?2:-1)}}var rn=class rn{constructor(t,e,n,r,d,b,w){this.platformId=t;this.productService=e;this.productInfoService=n;this.productListService=r;this.tagManagerService=d;this.deviceService=b;this.deviceStore=w;this.product=D();this.eligibleComparison=f(()=>this.getEligibleComparison());this.isCompared=f(()=>this.getIsCompared());this.disabledComparison=f(()=>this.getDisabledComparison());this.isClickable=V(!0);this.showTooltip=V(!1);this.viewport=$(this.deviceStore.selectViewport());this.isMobile=f(()=>this.getIsMobile());this.isBrowser=!1;this.destroy$=new se}onMouseEnter(){!window.matchMedia("(hover: hover)").matches||this.isMobile()||this.showTooltip.set(!0)}onMouseLeave(){this.showTooltip.set(!1)}ngOnInit(){this.isBrowser=K(this.platformId)}ngAfterViewInit(){}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}getEligibleComparison(){let t=this.product();if(t)return this.productService.isEligibleForComparison(t)}getIsCompared(){let t=this.product();if(!t)return;let e=this.isClickable();return this.productInfoService.checkIfCompared(t)?.compared}getDisabledComparison(){let t=this.product();if(t)return this.productListService.shouldDisableCompare(t)}getIsMobile(){let t=this.viewport();return this.isBrowser&&t?t.innerWidth<820:this.deviceService.isMobile()}toggleComparison(){if(!this.isClickable())return;let t=this.product();if(!t)return;this.isClickable.update(d=>!d);let e=this.productService.mapProductV3toProduct(t);this.productListService.toggleCompare(e);let n=this.isCompared(),r=e.sku.productionId;n?this.tagManagerService.addToComparison(r,e):this.tagManagerService.removeFromComparison(r,e),ht(!0).pipe(Fn(2e3)).subscribe(()=>{this.isClickable.update(d=>!d)})}};rn.\u0275fac=function(e){return new(e||rn)(g(X),g(ne),g(Se),g(Ue),g(rt),g(pe),g(de))},rn.\u0275cmp=M({type:rn,selectors:[["app-product-comparison-button"]],hostBindings:function(e,n){e&1&&h("mouseenter",function(){return n.onMouseEnter()})("mouseleave",function(){return n.onMouseLeave()})},inputs:{product:[1,"product"]},features:[tt([Se])],decls:1,vars:1,consts:[[1,"compare-container"],[1,"compare","ic-compare-new",3,"click","ngClass"],[1,"compare-tooltip","animate__animated","animate__fadeIn"],[1,"tooltip-icon","ic-compare-new"],[1,"tooltip-text"]],template:function(e,n){e&1&&p(0,Y0,3,5,"div",0),e&2&&u(n.eligibleComparison()?0:-1)},dependencies:[j],styles:[".compare-container[_ngcontent-%COMP%]{position:relative}.compare-container[_ngcontent-%COMP%] .compare[_ngcontent-%COMP%]{display:flex;align-items:center;place-content:center;gap:4px;height:40px;width:40px;color:#888;background-color:#f6f6f6;white-space:nowrap;border-radius:100%;transition:all .2s ease-in-out}.compare-container[_ngcontent-%COMP%] .compare[_ngcontent-%COMP%]:before{font-size:20px}@media screen and (max-width:820px){.compare-container[_ngcontent-%COMP%] .compare[_ngcontent-%COMP%]:before{font-size:18px}}.compare-container[_ngcontent-%COMP%] .compare[_ngcontent-%COMP%]:hover{cursor:pointer}.compare-container[_ngcontent-%COMP%] .compare.selected[_ngcontent-%COMP%]{background-color:#007575;color:#fff}.compare-container[_ngcontent-%COMP%] .compare.disabled[_ngcontent-%COMP%]{cursor:default;opacity:.6}.compare-container[_ngcontent-%COMP%] .compare-tooltip[_ngcontent-%COMP%]{position:absolute;top:10%;left:-300%;display:flex;flex-direction:row;align-items:center;gap:6px;width:110px;height:31px;padding-left:10px;z-index:2;border-radius:8px;background:transparent url(/assets/icons/pdp-tooltip.svg) no-repeat center center}.compare-container[_ngcontent-%COMP%] .compare-tooltip[_ngcontent-%COMP%] .tooltip-icon[_ngcontent-%COMP%]{color:#5d5c61}.compare-container[_ngcontent-%COMP%] .compare-tooltip[_ngcontent-%COMP%] .tooltip-text[_ngcontent-%COMP%]{font-size:12px;font-weight:400;line-height:14px;font-weight:600;color:#5d5c61}"],changeDetection:0});var Cr=rn;var Z0=["myCarouselPreview"],X0=["myCarouselPoints"],hc=(i,t)=>t.type,J0=(i,t)=>t.type+"-"+i;function eg(i,t){if(i&1){let e=P();a(0,"img",9),h("click",function(){C(e);let r=l().index,d=l();
3return v(d.openDialogGallery(r,"photo"))}),c()}if(i&2){let e,n=l(),r=n.$implicit,d=n.index,b=l();s("alt",b.showPlaceHolderHeroImage()?"Hero-image":((e=b.product())==null?null:e.sku.displayName)+" image "+d)("ngSrc",b.showPlaceHolderHeroImage()?"/assets/images/placeholder-hero.png":r.url1),R("data-testid","img-gallery-"+d)}}function tg(i,t){if(i&1&&(a(0,"ngu-tile"),p(1,eg,1,3,"img",8),c()),i&2){let e=t.$implicit;o(),u(e!=null&&e.video?-1:1)}}function ig(i,t){i&1&&_(0,"button",4)}function ng(i,t){i&1&&_(0,"button",5)}function og(i,t){if(i&1&&_(0,"span",13),i&2){let e=l().$implicit;me("background-image","url("+e.thumbnail+")")}}function rg(i,t){if(i&1&&(_(0,"span"),a(1,"span",14),m(2),c()),i&2){let e=l().$implicit;Le(Fr("desktop-media-strip__icon ",e.iconClass)),o(2),x("+",e.count)}}function ag(i,t){if(i&1){let e=P();a(0,"button",11),h("click",function(){let r=C(e).$implicit,d=l(2);return v(d.handleGalleryStripItemClick(r))}),p(1,og,1,2,"span",12)(2,rg,3,4),c()}if(i&2){let e=t.$implicit;l(2);let n=Q(3);Pe("desktop-media-strip__tile--image",e.type==="photo")("desktop-media-strip__tile--action",e.type!=="photo")("active",e.type==="photo"&&e.index===n.activePoint()),o(),u(e.type==="photo"?1:2)}}function cg(i,t){if(i&1){let e=P();a(0,"button",16),h("click",function(){C(e);let r=l().$implicit,d=l(2);return v(d.handleButtonClick(r))}),_(1,"span"),a(2,"span",14),m(3),c()()}if(i&2){let e=l().$implicit,n=l(2);o(),Le(Fr("desktop-media-strip__icon ",e.iconClass)),o(2),x(" ",n.getDesktopGalleryButtonText(e)," ")}}function lg(i,t){if(i&1&&p(0,cg,4,4,"button",15),i&2){let e=t.$implicit,n=l(2);
3u(e.type!=="photo"||!n.galleryStripItems().length?0:-1)}}function sg(i,t){if(i&1&&(a(0,"div",6),I(1,ag,3,7,"button",10,J0),I(3,lg,1,1,null,null,hc),c()),i&2){let e=l();o(),B(e.galleryStripItems()),o(2),B(e.visibleButtons())}}function dg(i,t){if(i&1){let e=P();a(0,"div",18),h("click",function(){C(e);let r=l().$implicit,d=l();return v(d.handleButtonClick(r))}),_(1,"span"),a(2,"span",19),m(3),c()()}if(i&2){let e=l().$implicit;o(),Le(e.iconClass),o(2),x(" ",e.getText()," ")}}function pg(i,t){if(i&1&&p(0,dg,4,3,"div",17),i&2){let e=t.$implicit;u(e.shouldShow()?0:-1)}}var Ur=7,$r=6,an=class an{constructor(t,e,n){this.dialogService=t;this.utils=e;this.sanitizer=n;this.isMobile=!1;this.product=D();this.showPlaceHolderHeroImage=D(void 0);this.photoCarouselItems=f(()=>this.getPhotoCarouselItems());this.videoCarouselItems=f(()=>this.getVideoCarouselItems());this.galleryStripItems=f(()=>this.getGalleryStripItems());this.galleryButtons=f(()=>[{type:"photo",iconClass:"ic-gallery",getText:()=>this.photoCarouselItems().length.toString(),shouldShow:()=>this.photoCarouselItems().length>1,action:()=>this.openDialogGallery(0,"photo")},{type:"video",iconClass:"ic-play-v2",getText:()=>this.videoCarouselItems().length.toString(),shouldShow:()=>this.videoCarouselItems().length>0,action:()=>this.openDialogGallery(0,"video")},{type:"book",iconClass:"ic-book",getText:()=>"\u0391\u03C0\u03CC\u03C3\u03C0\u03B1\u03C3\u03BC\u03B1",shouldShow:()=>this.product()?.sku?.bookLookInside,action:()=>this.openFlipbookDialog()}]);this.visibleButtons=f(()=>this.galleryButtons().filter(t=>t.shouldShow()));this.galleryPreview={grid:{xs:1,sm:1,md:1,lg:1,all:0},gridBreakpoints:{sm:820,md:1080,lg:1360,xl:1920},load:1,slide:1,loop:!1,touch:!0,point:{visible:!0},velocity:.2};this.galleryPoints={grid:{xs:4,sm:4,md:4,lg:4,xl:4,all:0},slide:1,load:1,point:{visible:!1},loop:!1,touch:!0,vertical:{enabled:!0,height:390}}}getGalleryStripItems(){let t=this.photoCarouselItems();if(t.length<=1)return[];let e=t.length>Ur?$r:Ur,n=t.slice(0,e).map((r,d)=>({type:"photo",index:d,thumbnail:r.thumbnail??r.url1??r.large??""}));return t.length>Ur&&n.push({type:"more-photos",index:$r,thumbnail:"",iconClass:"ic-gallery",count:t.length-$r}),n}getPhotoCarouselItems(){let t=[];return this.product()?.sku?.media?.galleryImages?.length?t=this.product()?.sku.media.galleryImages:this.product()?.sku?.media?.heroImage?.thumbnail&&(t=[{thumbnail:this.product()?.sku?.media?.heroImage?.thumbnail,large:this.product()?.sku?.media?.heroImage?.large,url1:this.product()?.sku?.media?.heroImage?.url1}]),t?.filter(n=>!n.video)}getVideoCarouselItems(){let t=[];if(this.product()?.sku?.media?.video){let n=this.product()?.sku?.media?.video.replace("/watch?v=","/embed/"),r=this.sanitizer.bypassSecurityTrustResourceUrl(n+"?autoplay=0"),d={thumbnail:r,large:r,url1:r,video:!0};t.length?t.splice(1,0,d):t.push(d)}return t.filter(n=>n.video)}openDialogGallery(t,e){this.dialogService.openMatProductGallery({product:this.product(),index:t,mediaType:e,photoCarouselItems:this.photoCarouselItems(),videoCarouselItems:this.videoCarouselItems()})}openFlipbookDialog(){this.dialogService.openMatDialogFlipbook(this.product()?.sku?.bookLookInside)}handleButtonClick(t){t.action()}getDesktopGalleryButtonText(t){return t.type==="video"?`${t.getText()} \u0392\u03AF\u03BD\u03C4\u03B5\u03BF`:t.type==="book"?"\u039E\u03B5\u03C6\u03CD\u03BB\u03BB\u03B9\u03C3\u03AD \u03C4\u03BF":t.getText()}handleGalleryStripItemClick(t){if(t.type==="photo"){this.myCarouselPreview.moveTo(t.index??0,!0);return}this.openDialogGallery(t.index??0,"photo")}};an.\u0275fac=function(e){return new(e||an)(g(Y),g(ze),g(Ie))},an.\u0275cmp=M({type:an,selectors:[["app-product-gallery"]],viewQuery:function(e,n){if(e&1&&(oe(Z0,5),oe(X0,5)),e&2){let r;re(r=ae())&&(n.myCarouselPreview=r.first),re(r=ae())&&(n.myCarouselPoints=r.first)}},inputs:{product:[1,"product"],showPlaceHolderHeroImage:[1,"showPlaceHolderHeroImage"]},decls:11,vars:5,consts:[["myCarouselPreview",""],[1,"product-gallery"],[1,"gallery-carousel",3,"touchstart","touchmove","touchend","inputs","dataSource"],[4,"nguCarouselDef"],["NguCarouselNext","",1,"ic-chevron-right"],["NguCarouselPrev","",1,"ic-chevron-left"],[1,"desktop-media-strip"],[1,"gallery-buttons"],["height","560","width","560",1,"product-gallery-image",3,"alt","ngSrc"],["height","560","width","560",1,"product-gallery-image",3,"click","alt","ngSrc"],["type","button",1,"desktop-media-strip__tile",3,"de
3sktop-media-strip__tile--image","desktop-media-strip__tile--action","active"],["type","button",1,"desktop-media-strip__tile",3,"click"],[1,"desktop-media-strip__image",3,"background-image"],[1,"desktop-media-strip__image"],[1,"desktop-media-strip__label"],["type","button",1,"desktop-media-strip__tile","desktop-media-strip__tile--action"],["type","button",1,"desktop-media-strip__tile","desktop-media-strip__tile--action",3,"click"],[1,"gallery-buttons__container"],[1,"gallery-buttons__container",3,"click"],[1,"gallery-buttons__title"]],template:function(e,n){if(e&1){let r=P();a(0,"section",1)(1,"div")(2,"ngu-carousel",2,0),h("touchstart",function(b){return C(r),v(n.utils.setTouchStartX(b.touches[0].clientX))})("touchmove",function(b){return C(r),v(n.utils.checkTouchStartX(b.touches[0].clientX))})("touchend",function(){return C(r),v(n.utils.resetTouchStartX())}),xe(4,tg,2,1,"ngu-tile",3),p(5,ig,1,0,"button",4),p(6,ng,1,0,"button",5),c()(),p(7,sg,5,0,"div",6),a(8,"div",7),I(9,pg,1,1,null,null,hc),c()()}if(e&2){let r=Q(3);o(2),s("inputs",n.galleryPreview)("dataSource",n.photoCarouselItems()),o(3),u(r.isLast()?-1:5),o(),u(r.isFirst()?-1:6),o(),u(n.galleryStripItems().length||n.visibleButtons().length?7:-1),o(2),B(n.galleryButtons())}},dependencies:[Kt,Yt,qt,co,lo,yt],styles:["[_nghost-%COMP%]{display:flex;align-items:center;width:100%;justify-content:center}[_nghost-%COMP%] .product-gallery[_ngcontent-%COMP%]{width:100%;max-width:-webkit-fill-available;text-align:center}@media screen and (max-width:800px){[_nghost-%COMP%] .product-gallery[_ngcontent-%COMP%]{max-width:100%}}[_nghost-%COMP%] .product-gallery[_ngcontent-%COMP%] .product-gallery-image[_ngcontent-%COMP%]{cursor:pointer}@media screen and (max-width:820px){[_nghost-%COMP%] .product-gallery[_ngcontent-%COMP%] .product-gallery-image[_ngcontent-%COMP%]{max-width:324px;max-height:324px}}[_nghost-%COMP%] .product-gallery[_ngcontent-%COMP%] .desktop-media-strip[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;gap:16px;width:100%;margin-top:15px}@media screen and (max-width:820px){[_nghost-%COMP%] .product-gallery[_ngcontent-%COMP%] .desktop-media-strip[_ngcontent-%COMP%]{display:none}}[_nghost-%COMP%] .product-gallery[_ngcontent-%COMP%] .desktop-media-strip__tile[_ngcontent-%COMP%]{width:68px;height:68px;border:1px solid #eeedf0;border-radius:8px;cursor:pointer;display:flex;align-items:center;justify-content:center}[_nghost-%COMP%] .product-gallery[_ngcontent-%COMP%] .desktop-media-strip__tile[_ngcontent-%COMP%]:hover, [_nghost-%COMP%] .product-gallery[_ngcontent-%COMP%] .desktop-media-strip__tile.active[_ngcontent-%COMP%]{border-color:#fe5900}[_nghost-%COMP%] .product-gallery[_ngcontent-%COMP%] .desktop-media-strip__tile[_ngcontent-%COMP%]:focus-visible{outline:2px solid #fe5900;outline-offset:2px}[_nghost-%COMP%] .product-gallery[_ngcontent-%COMP%] .desktop-media-strip__tile--action[_ngcontent-%COMP%]{background-color:#f8f7fa;border-color:#eeedf0;flex-direction:column;gap:4px;padding:8px}[_nghost-%COMP%] .product-gallery[_ngcontent-%COMP%] .desktop-media-strip__tile--image[_ngcontent-%COMP%]{background-color:transparent}[_nghost-%COMP%] .product-gallery[_ngcontent-%COMP%] .desktop-media-strip__image[_ngcontent-%COMP%]{display:block;width:100%;height:100%;background-color:transparent;background-size:contain;background-repeat:no-repeat;background-position:center}[_nghost-%COMP%] .product-gallery[_ngcontent-%COMP%] .desktop-media-strip__icon[_ngcontent-%COMP%]{font-size:20px;line-height:22px;color:#8a8a8a}[_nghost-%COMP%] .product-gallery[_ngcontent-%COMP%] .desktop-media-strip__label[_ngcontent-%COMP%]{font-family:var(--mdc-typography-font-family);font-size:10px;font-weight:400;color:#8a8a8a;line-height:12px;text-align:center;max-width:100%}[_nghost-%COMP%] .product-gallery[_ngcontent-%COMP%] .gallery-buttons[_ngcontent-%COMP%]{height:28px;gap:4px;display:flex;flex-direction:row;align-items:center;justify-content:center;width:100%;margin-top:15px}@media screen and (max-width:820px){[_nghost-%COMP%] .product-gallery[_ngcontent-%COMP%] .gallery-buttons[_ngcontent-%COMP%]{margin-top:0}}
3@media screen and (min-width:821px){[_nghost-%COMP%] .product-gallery[_ngcontent-%COMP%] .gallery-buttons[_ngcontent-%COMP%]{display:none}}[_nghost-%COMP%] .product-gallery[_ngcontent-%COMP%] .gallery-buttons__container[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:center;height:28px;gap:9px;background-color:#f1f3f5;color:#141719;border-radius:5px;padding:6px 12px;cursor:pointer}[_nghost-%COMP%] .product-gallery[_ngcontent-%COMP%] .gallery-buttons__title[_ngcontent-%COMP%]{font-size:12px;font-weight:400;line-height:14px;line-height:12px}[_nghost-%COMP%] ngu-carousel.gallery-carousel[_ngcontent-%COMP%] {min-height:580px;display:flex;justify-content:center;align-items:center}@media screen and (max-width:820px){[_nghost-%COMP%] ngu-carousel.gallery-carousel[_ngcontent-%COMP%] {min-height:350px}}[_nghost-%COMP%] ngu-carousel.gallery-carousel[_ngcontent-%COMP%] .item .tile{box-shadow:none;display:flex;align-items:center;justify-content:center}[_nghost-%COMP%] ngu-carousel.gallery-carousel[_ngcontent-%COMP%] .ic-chevron-right{right:15px}[_nghost-%COMP%] ngu-carousel.gallery-carousel[_ngcontent-%COMP%] .ic-chevron-left{left:15px}[_nghost-%COMP%] ngu-carousel.gallery-carousel[_ngcontent-%COMP%] .ic-chevron-right, [_nghost-%COMP%] ngu-carousel.gallery-carousel[_ngcontent-%COMP%] .ic-chevron-left{width:42px;height:42px;background-color:#fff;box-shadow:0 8px 8px #525c7a3d;border-radius:50%;position:absolute;padding:0;top:50%;transform:translateY(-50%);z-index:1;border:none;color:#000000de;cursor:pointer}[_nghost-%COMP%] ngu-carousel.gallery-carousel[_ngcontent-%COMP%] .ic-chevron-right:before, [_nghost-%COMP%] ngu-carousel.gallery-carousel[_ngcontent-%COMP%] .ic-chevron-left:before{font-size:24px}@media screen and (max-width:820px){[_nghost-%COMP%] ngu-carousel.gallery-carousel[_ngcontent-%COMP%] .ic-chevron-right, [_nghost-%COMP%] ngu-carousel.gallery-carousel[_ngcontent-%COMP%] .ic-chevron-left{display:none}}"],changeDetection:0});var vr=an;var ug=(i,t)=>({"ic-heart-filled":i,"ic-heart-blank":t});function mg(i,t){i&1&&(a(0,"div",2)(1,"div",3),_(2,"img",4),c(),a(3,"p",5),m(4,"\u0391\u03B3\u03B1\u03C0\u03B7\u03BC\u03AD\u03BD\u03B1"),c()())}var cn=class cn{constructor(t,e,n,r,d,b,w,k,T,W){this.platformId=t;this.commonService=e;this.modalService=n;this.wishlistService=r;this.tagManagerService=d;this.userStore=b;this.utils=w;this.productService=k;this.deviceService=T;this.deviceStore=W;this.finishedWishlistOperation=new G;this.product=D();this.isFavorite=V(!1);this.userWishlist=$(this.userStore.selectUserWishlist());this.showTooltip=V(!1);this.viewport=$(this.deviceStore.selectViewport());this.isMobile=f(()=>this.getIsMobile());this.isBrowser=!1;this.destroy$=new se;this.setupInitialFavoriteEffect()}onMouseEnter(){!window.matchMedia("(hover: hover)").matches||this.isMobile()||this.showTooltip.set(!0)}onMouseLeave(){this.showTooltip.set(!1)}ngOnInit(){this.isBrowser=K(this.platformId)}ngAfterViewInit(){}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}onClick(t){let e=this.product();if(!e)return;let n=this.userStore.getUserLoginStatus(),r=this.userStore.getUserWishlist(),d=this.isFavorite();n?d&&this.utils.isObject(r)?this.removeFromWishlist(e):this.addToWishlist(e):this.openLoginDialog(e)}openLoginDialog(t){let e={icon:"times",message:"\u03A3\u03C5\u03BD\u03B4\u03AD\u03C3\u03BF\u03C5 \u03C4\u03CE\u03C1\u03B1 \u03BA\u03B1\u03B9 \u03B1\u03C0\u03BF\u03B8\u03AE\u03BA\u03B5\u03C5\u03C3\u03B5 \u03C4\u03B1 \u03B1\u03B3\u03B1\u03C0\u03B7\u03BC\u03AD\u03BD\u03B1 \u03C3\u03BF\u03C5 \u03C0\u03C1\u03BF\u03B9\u03CC\u03BD\u03C4\u03B1",buttonInfo:"\u03A3\u03CD\u03BD\u03B4\u03B5\u03C3\u03B7/\u0395\u03B3\u03B3\u03C1\u03B1\u03C6\u03AE",title:"\u0394\u03B9\u03B1\u03B8\u03AD\u03C3\u03B9\u03BC\u03BF \u03B3\u03B9\u03B1 \u03C3\u03C5\u03BD\u03B4\u03B5\u03B4\u03B5\u03BC\u03AD\u03BD\u03BF\u03C5\u03C2 \u03C7\u03C1\u03AE\u03C3\u03C4\u03B5\u03C2",disableCloseButton:!1,actionAfterClose:"login",product:t};this.modalService.open(e,"dialogInfo")}addToWishlist(t){this.wishlistService.addToWishlist(t,"").pipe(kt(()=>this.commonService.getUserProfile()),te(this.destroy$)).subscribe(()=>{this.isFavorite.set(!0),this.commonService.shakeFavoritesBadge();let e=this.productService.mapProductV3toProduct(t);this.tagManagerService.addProductToWishlist(e),this.finishedWishlistOperation.emit(!0)})}removeFromWishlist(t){let e=this.getFavoriteKey();e&&this.wishlistService.deleteFromWishlistData(e).pipe(kt(()=>this.commonService.getUserProfile()),te(this.destroy$)).subscribe(()=>{this.isFavorite.set(!1),this.commonService.shakeFavoritesBadge();let n=this.productService.mapProductV3toProduct(t);this.tagManagerService.removeProductFromWishlist(n),this.finishedWishlistOperation.emit(!0)})}setupInitialFavoriteEffect(){z(()=>{let t=!!this.getFavoriteKey();this.isFavorite.set(t)},{allowSignalWrites:!0})}getFavoriteKey(){let t=this.product();if(!t)return;let e=this.userWishlist();if(!this.utils.isObject(e))return;let n=t.sku.id;for(let[r,d]of Object.entries(e))if(d===n)return r}getIsMobile(){let t=this.viewport();return this.isBrowser&&t?t.innerWidth<820:this.deviceService.isMobile()}};
3cn.\u0275fac=function(e){return new(e||cn)(g(X),g(ve),g(ut),g(ga),g(rt),g(ue),g(ze),g(ne),g(pe),g(de))},cn.\u0275cmp=M({type:cn,selectors:[["app-product-favorites-button"]],hostBindings:function(e,n){e&1&&h("mouseenter",function(){return n.onMouseEnter()})("mouseleave",function(){return n.onMouseLeave()})},inputs:{product:[1,"product"]},outputs:{finishedWishlistOperation:"finishedWishlistOperation"},decls:3,vars:5,consts:[[1,"wishlist-container"],[1,"wishlist",3,"click","ngClass"],[1,"wishlist-tooltip","animate__animated","animate__fadeIn"],[1,"tooltip-icon"],["ngSrc","assets/images/heart.svg","alt","heart","height","25","width","25"],[1,"tooltip-text"]],template:function(e,n){e&1&&(a(0,"div",0)(1,"div",1),h("click",function(d){return n.onClick(d)}),c(),p(2,mg,5,0,"div",2),c()),e&2&&(o(),s("ngClass",ge(2,ug,n.isFavorite(),!n.isFavorite())),o(),u(n.showTooltip()?2:-1))},dependencies:[j,yt],styles:[".wishlist-container[_ngcontent-%COMP%]{position:relative}.wishlist-container[_ngcontent-%COMP%] .wishlist[_ngcontent-%COMP%]{display:flex;align-items:center;place-content:center;height:40px;width:40px;color:#888;background-color:#f6f6f6;border-radius:100%;transition:all .2s ease-in-out}.wishlist-container[_ngcontent-%COMP%] .wishlist[_ngcontent-%COMP%]:before{font-size:18px}@media screen and (max-width:820px){.wishlist-container[_ngcontent-%COMP%] .wishlist[_ngcontent-%COMP%]:before{font-size:16px}}.wishlist-container[_ngcontent-%COMP%] .wishlist[_ngcontent-%COMP%]:hover{cursor:pointer}.wishlist-container[_ngcontent-%COMP%] .wishlist.ic-heart-filled[_ngcontent-%COMP%]{color:#e04336}.wishlist-container[_ngcontent-%COMP%] .wishlist.ic-heart-filled[_ngcontent-%COMP%]:before{animation:_ngcontent-%COMP%_heartAnimation .5s forwards}@keyframes _ngcontent-%COMP%_heartAnimation{0%{transform:scale(1)}50%{transform:scale(1.5)}to{transform:scale(1)}}.wishlist-container[_ngcontent-%COMP%] .wishlist-tooltip[_ngcontent-%COMP%]{position:absolute;top:10%;left:-320%;display:flex;flex-direction:row;align-items:center;width:130px;height:31px;z-index:2;border-radius:8px;background:transparent url(/assets/icons/pdp-tooltip.svg) no-repeat center center}.wishlist-container[_ngcontent-%COMP%] .wishlist-tooltip[_ngcontent-%COMP%] .tooltip-icon[_ngcontent-%COMP%]{margin-left:12px;color:#5d5c61}.wishlist-container[_ngcontent-%COMP%] .wishlist-tooltip[_ngcontent-%COMP%] .tooltip-text[_ngcontent-%COMP%]{font-size:12px;font-weight:400;line-height:14px;font-weight:600;color:#5d5c61}"],changeDetection:0});var br=cn;var ln=class ln{constructor(t){this.el=t;this.passedElement=new G}ngOnInit(){let t=this.el.nativeElement;this.observer=new IntersectionObserver(([e])=>{this.passedElement.emit(!e.isIntersecting)},{rootMargin:"-96px 0px 0px 0px",threshold:0}),this.observer.observe(t)}ngOnDestroy(){this.observer&&this.observer.disconnect()}};ln.\u0275fac=function(e){return new(e||ln)(g(Ne))},ln.\u0275dir=et({type:ln,selectors:[["","triggerTopSticky",""]],outputs:{passedElement:"passedElement"}});var Pr=ln;var gg=i=>({"pbc-link-button--primary":i});function _g(i,t){if(i&1){let e=P();a(0,"span",9),h("click",function(){C(e);let r=l(3);return v(r.openDialogSeller())}),c(),a(1,"span",10),h("click",function(){C(e);let r=l(3);return v(r.openDialogSeller())}),c()}}function fg(i,t){if(i&1&&(a(0,"span",7),m(1),_(2,"span",11),c()),i&2){let e=l(3);o(),x(" ",e.sellerRating(),"/5 ")}}function hg(i,t){if(i&1){let e=P();a(0,"div",8)(1,"button",12),h("click",function(){C(e);let r=l(3);return v(r.openDialogSellers())}),a(2,"span",13),m(3),c()()()}if(i&2){let e=l(3);o(3),ee(" + ",e.extraOffersCount()," \u03B1\u03BA\u03CC\u03BC\u03B7 ",e.partnersLabel(e.extraOffersCount())," ")}}function Cg(i,t){if(i&1){let e=P();a(0,"div",3)(1,"div",4),m(2),c()(),a(3,"div",5)(4,"button",6),h("click",function(){C(e);let r=l(2);return v(r.openDialogSeller())}),m(5),c(),p(6,_g,2,0),p(7,fg,3,1,"span",7),c(),p(8,hg,4,2,"div",8)}if(i&2){let e=l(2);o(2),E(e.soldByText()),o(2),s("ngClass",O(6,gg,e.shopName())),o(),x(" ",e.shopName()," "),o(),u(e.premiumPartner()?6:-1),o(),u(e.sellerRating()?7:-1),o(),u(e.hasMultipleOffers()?8:-1)}}function vg(i,t){if(i&1){let e=P();a(0,"button",12),h("click",function(){C(e);let r=l(3);return v(r.openDialogSellers())}),a(1,"span",13),m(2),c()()}if(i&2){let e=l(3);o(2),ee(" + ",e.extraOffersCount()," \u03B1\u03BA\u03CC\u03BC\u03B7 ",e.partnersLabel(e.extraOffersCount())," ")}}function bg(i,t){if(i&1&&(a(0,"div",3)(1,"div",13),m(2),c(),a(3,"div",14),m(4,"Public"),c(),p(5,vg,3,2,"button",15),c()),i&2){let e=l(2);o(2),E(e.soldByText()),o(3),u(e.hasMultipleOffers()?5:-1)}}function Pg(i,t){if(i&1&&(a(0,"div",0),_(1,"img",1),a(2,"div",2),p(3,Cg,9,8)(4,bg,6,2,"div",3),c()()),i&2){let e=l();o(),s("src","assets/icons/sellers-box.svg",H),o(2),u(e.isMirakl()?3:4)}}var sn=class sn{constructor(t,e){this.dialogService=t;this.productApiService=e;this.product=D();this.offerDto=f(()=>this.product()?.offer);this.isMirakl=f(()=>!!this.product()?.mirakl);
3this.shopId=f(()=>this.offerDto()?.shop??null);this.offerCount=f(()=>this.product()?.offerCount??0);this.shopName=f(()=>this.offerDto()?.seller??null);this._sellerInfo=V(null);this.sellerRating=f(()=>this._sellerInfo()?.rating);this.premiumPartner=f(()=>this._sellerInfo()?.premium);this.hasOffers=f(()=>this.offerCount()>0);this.hasMultipleOffers=f(()=>this.getHasMultipleOffers());this.shouldShowSoldBy=f(()=>!!this.shopName()||this.hasMultipleOffers());this.extraOffersCount=f(()=>this.getExtraOffersCount());this.initSellerInfoEffect()}openDialogSeller(){this.shopName()&&this.dialogService.openDialogSeller(this.offerDto())}openDialogSellers(){this.dialogService.openDialogSellers(this.product())}partnersLabel(t){return t===1?"Public Partner":"Public Partners"}soldByText(){return this.isMirakl()?"\u03A0\u03C9\u03BB\u03B5\u03AF\u03C4\u03B1\u03B9 \u03BA\u03B1\u03B9 \u03B1\u03C0\u03BF\u03C3\u03C4\u03AD\u03BB\u03BB\u03B5\u03C4\u03B1\u03B9 \u03B1\u03C0\u03CC Public Partner":"\u03A0\u03C9\u03BB\u03B5\u03AF\u03C4\u03B1\u03B9 \u03B1\u03C0\u03CC"}getExtraOffersCount(){return this.isMirakl()&&this.shopName()?Math.max(this.offerCount()-1,0):this.offerCount()}getHasMultipleOffers(){return this.isMirakl()?this.offerCount()>1:this.offerCount()>0}initSellerInfoEffect(){z(()=>{let t=this.shopId();if(!t){this._sellerInfo.set(null);return}this.productApiService.getSellerInfo(t,!0,!0).subscribe(e=>{this._sellerInfo.set(e)})})}};sn.\u0275fac=function(e){return new(e||sn)(g(Y),g(Zt))},sn.\u0275cmp=M({type:sn,selectors:[["app-product-sellers"]],inputs:{product:[1,"product"]},decls:1,vars:1,consts:[[1,"sold-by-container"],["alt","",1,"sold-by-container__icon",3,"src"],[1,"seller-content"],[1,"seller-row","seller-row--primary"],[1,"mdc-typography--subtitle2"],[1,"seller-row","seller-row--details"],[1,"mdc-typography--subtitle2","mdc-typography--bold","pbc-link-button",3,"click","ngClass"],[1,"seller-rating","mdc-typography--subtitle2","mdc-typography--bold"],[1,"seller-row","seller-row--partners"],[1,"ic-official-icon",3,"click"],[1,"ic-trusted-icon",3,"click"],[1,"ic-star-filled"],[1,"pbc-link-button","pbc-link-button--primary",3,"click"],[1,"mdc-typography--body2"],[1,"mdc-typography--subtitle2","mdc-typography--bold"],[1,"pbc-link-button","pbc-link-button--primary"]],template:function(e,n){e&1&&p(0,Pg,5,2,"div",0),e&2&&u(n.shouldShowSoldBy()?0:-1)},dependencies:[j],styles:[".sold-by-container[_ngcontent-%COMP%]{display:flex;column-gap:10px;align-items:flex-start}.sold-by-container[_ngcontent-%COMP%] .sold-by-container__icon[_ngcontent-%COMP%]{width:18px;height:18px;min-width:18px;flex-shrink:0;display:block}.sold-by-container[_ngcontent-%COMP%] .seller-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;row-gap:6px}.sold-by-container[_ngcontent-%COMP%] .seller-row[_ngcontent-%COMP%]{display:flex;align-items:center;column-gap:4px;flex-wrap:wrap}.sold-by-container[_ngcontent-%COMP%] .ic-official-icon[_ngcontent-%COMP%]:before{font-size:16px}.sold-by-container[_ngcontent-%COMP%] .ic-trusted-icon[_ngcontent-%COMP%]:before{width:fit-content;font-size:12px}.sold-by-container[_ngcontent-%COMP%] .seller-rating[_ngcontent-%COMP%]{color:#fe5900;display:inline-flex;align-items:center;gap:6px}.sold-by-container[_ngcontent-%COMP%] .seller-rating[_ngcontent-%COMP%] .ic-star-filled[_ngcontent-%COMP%]:before{font-size:13px;padding-left:2px;position:relative;top:-1px}.sold-by-container[_ngcontent-%COMP%] .pbc-link-button--primary{color:#0265dc}"],changeDetection:0});var xr=sn;function yg(i,t){if(i&1){let e=P();a(0,"span",7),h("click",function(){C(e);let r=l(3);return v(r.toggleRRPInfo())}),c()}i&2&&R("data-testid","text-rrp-price")}function Sg(i,t){if(i&1&&(a(0,"div",6),_(1,"span",8),m(2),c()),i&2){let e=l(3);o(2),x(" ",e.rrpInfoMessage," ")}}function Mg(i,t){if(i&1&&(a(0,"div",2)(1,"span",4),m(2),p(3,yg,1,1,"span",5),m(4),y(5,"getInteger"),y(6,"getDecimal"),c(),p(7,Sg,3,1,"div",6),c()),i&2){let e=l(2);o(2),x(" ",e.isBook()?"\u03A4\u03B9\u03BC\u03AE \u03B5\u03BA\u03B4\u03CC\u03C4\u03B7":"\u03A0\u03C1\u03BF\u03C4. \u03BB\u03B9\u03B1\u03BD. \u03C4\u03B9\u03BC\u03AE"," "),o(),u(e.isBook()?-1:3),o(),ee(" : ",S(5,5,e.rrpPrice()),",",S(6,7,e.rrpPrice()),"\u20AC "),o(3),u(e.rrpInfoToggled()?7:-1)}}function Og(i,t){if(i&1&&(a(0,"span",9),m(1),y(2,"getInteger"),y(3,"getDecimal"),c()),i&2){let e=l(3);R("data-testid","text-mrk-list-price"),o(),ee(" ",S(2,3,e.mrkListPrice()),",",S(3,5,e.mrkListPrice()),"\u20AC ")}}function wg(i,t){if(i&1&&(p(0,Og,4,7,"span",9),a(1,"span",10),m(2),y(3,"getInteger"),a(4,"sup"),m(5),y(6,"getDecimal"),c()()),i&2){let e=l(2);u(e.mrkListPrice()&&e.mrkListPrice()!==e.mrkSaleprice()?0:-1),o(),R("data-testid","text-mrk-sale-price"),o(),x(" ",S(3,4,e.mrkSaleprice()
3)," "),o(3),x(",",S(6,6,e.mrkSaleprice()),"\u20AC")}}function kg(i,t){if(i&1&&(a(0,"span",9),m(1),y(2,"getInteger"),y(3,"getDecimal"),c()),i&2){let e=l(3);R("data-testid","text-pbc-list-price"),o(),ee(" ",S(2,3,e.listPrice()),",",S(3,5,e.listPrice()),"\u20AC ")}}function Ig(i,t){i&1&&(a(0,"div",11),m(1,"\u03A4\u0399\u039C\u0397 \u03A7\u03A9\u03A1\u0399\u03A3 \u03A6\u03A0\u0391"),c())}function Bg(i,t){if(i&1&&(a(0,"span",12),m(1),y(2,"number"),c()),i&2){let e=l(3);R("data-testid","text-pbc-discount"),o(),x("",De(2,2,e.discount(),"1.2-2"),"\u20AC \u03AD\u03BA\u03C0\u03C4\u03C9\u03C3\u03B7")}}function Tg(i,t){if(i&1&&(p(0,kg,4,7,"span",9),a(1,"span",10),m(2),y(3,"getInteger"),a(4,"sup"),m(5),y(6,"getDecimal"),c()(),p(7,Ig,2,0,"div",11),p(8,Bg,3,5,"span",12)),i&2){let e=l(2);u(e.listPrice()&&e.listPrice()!==e.salePrice()?0:-1),o(),R("data-testid","text-pbc-sale-price"),o(),x(" ",S(3,6,e.salePrice())," "),o(3),x(",",S(6,8,e.salePrice()),"\u20AC"),o(2),u(e.isB2b?7:-1),o(),u(e.discount()>0?8:-1)}}function Dg(i,t){if(i&1&&(a(0,"div",13),_(1,"span",17),a(2,"span")(3,"span",18),m(4),c(),m(5),c()()),i&2){let e,n,r=l(3);o(2),R("data-testid","text-wallet-info"),o(2),x(" ",(e=r.walletCashbackParts())==null?null:e.amount," "),o(),x(" ",(n=r.walletCashbackParts())==null?null:n.words)}}function Rg(i,t){if(i&1){let e=P();a(0,"div",19),h("click",function(){C(e);let r=l(3);return v(r.openDialogPdpCreditCardInstallments())}),_(1,"span",20),a(2,"span",21),m(3,"\u03B1\u03C0\u03CC "),a(4,"span",18),m(5),y(6,"getInteger"),y(7,"getDecimal"),c(),m(8),c(),a(9,"span",22),m(10,"ATOKE\u03A3"),c(),_(11,"span",23),c()}if(i&2){let e=l(3);R("data-testid","container-installments"),o(4),R("data-testid","text-amount-per-installment"),o(),ee(" ",S(6,5,e.amountPerInstallment()),",",S(7,7,e.amountPerInstallment()),"\u20AC "),o(3),x(" / \u03BC\u03AE\u03BD\u03B1 \u03C3\u03B5 ",e.numberOfInstallments()," ")}}function Eg(i,t){if(i&1){let e=P();a(0,"div",24),h("click",function(){C(e);let r=l(3);return v(r.openPublicPlusPriceGuaranteeDialog())}),_(1,"span",25),a(2,"span"),m(3,"\u0395\u03B3\u03B3\u03CD\u03B7\u03C3\u03B7 \u03C7\u03B1\u03BC\u03B7\u03BB\u03CC\u03C4\u03B5\u03C1\u03B7\u03C2 \u03C4\u03B9\u03BC\u03AE\u03C2"),c()()}}function Ag(i,t){if(i&1&&(a(0,"div",16),_(1,"app-product-sellers",26),c()),i&2){let e=l(3);o(),s("product",e.product())}}function Vg(i,t){if(i&1&&(a(0,"div",3),p(1,Dg,6,3,"div",13),p(2,Rg,12,9,"div",14),p(3,Eg,4,0,"div",15),p(4,Ag,2,1,"div",16),c()),i&2){let e,n=l(2);o(),u(n.hasWalletCashback()&&((e=n.walletRibbon())!=null&&e.text)?1:-1),o(),u(n.allInstallments()&&n.amountPerInstallment()!==0&&n.salePrice()>=50?2:-1),o(),u(n.hasPriceGuarantee()?3:-1),o(),u(!n.isServiceRepair()&&!n.isCyprus&&n.salePrice()&&(n.shopName()||!n.isMirakl()&&n.offerCount()||n.isMirakl()&&n.offerCount()&&n.offerCount()>1)?4:-1)}}function Fg(i,t){if(i&1&&(a(0,"div",0)(1,"div",1),p(2,Mg,8,9,"div",2),p(3,wg,7,8)(4,Tg,9,10),c(),p(5,Vg,5,4,"div",3),c()),i&2){let e=l();o(2),u(e.rrpPrice()?2:-1),o(),u(e.isMirakl()?3:4),o(2),u(e.hasDetails()?5:-1)}}var dn=class dn{constructor(t,e,n){this.productService=t;this.dialogService=e;this.ribbonService=n;this.product=D();this.offer=f(()=>this.product()?.offer);this.mrkSaleprice=f(()=>this.offer()?.price);this.discount=f(()=>this.getDiscount());this.rrpPrice=f(()=>this.priceInfo()?.rrpPrice);this.isMirakl=f(()=>this.product()?.mirakl);this.ribbons=f(()=>this.product()?.sku?.ribbons);this.listPrice=f(()=>this.priceInfo()?.listPrice??0);this.mrkListPrice=f(()=>this.offer()?.originPrice);this.hasWalletCashback=f(()=>this.hasWalletRibbon());this.lastInstallment=f(()=>this.getLastInstallment());this.salePrice=f(()=>this.priceInfo()?.salePrice??0);this.priceInfo=f(()=>this.product()?.prices?.[0]);this.hasPriceGuarantee=f(()=>this.getHasPriceGuarantee());this.isBook=f(()=>this.product()?.sku?.skuType==="book");this.offerCount=f(()=>this.product()?.sku?.offerCount??0);this.shopName=f(()=>this.product()?.sku?.offerDto?.shopName);this.walletRibbon=f(()=>this.getWalletRibbon());this.isServiceRepair=f(()=>this.product()?.sku?.skuType==="service");this.numberOfInstallments=f(()=>this.lastInstallment()?.numberOfInstallments);this.amountPerInstallment=f(()=>this.lastInstallment()?.amountPerInstallment);this.allInstallments=f(()=>this.product()?.prices?.[0]?.allInstallments?.allInstallments);this.walletCashbackParts=f(()=>this.splitWalletRibbonText());
3this.hasDetails=f(()=>this.getHasDetails());this.isCyprus=F.cyprus;this.isB2b=F.b2b;this.rrpInfoToggled=V(!1);this.rrpInfoMessage="\u0397 \u03C0\u03C1\u03BF\u03C4\u03B5\u03B9\u03BD\u03CC\u03BC\u03B5\u03BD\u03B7 \u03BB\u03B9\u03B1\u03BD\u03B9\u03BA\u03AE \u03C4\u03B9\u03BC\u03AE (\u03A0.\u039B.\u03A4.) \u03B5\u03AF\u03BD\u03B1\u03B9 \u03B7 \u03C4\u03B9\u03BC\u03AE \u03BA\u03B1\u03C4\u03B1\u03BB\u03CC\u03B3\u03BF\u03C5, \u03B7 \u03BF\u03C0\u03BF\u03AF\u03B1 \u03C0\u03C1\u03BF\u03C4\u03B5\u03AF\u03BD\u03B5\u03C4\u03B1\u03B9 \u03B1\u03C0\u03CC \u03C4\u03BF\u03BD \u03BA\u03B1\u03C4\u03B1\u03C3\u03BA\u03B5\u03C5\u03B1\u03C3\u03C4\u03AE \u03C9\u03C2 \u03B7 \u03C3\u03C5\u03BD\u03B9\u03C3\u03C4\u03CE\u03BC\u03B5\u03BD\u03B7, \u03BC\u03B7 \u03B4\u03B5\u03C3\u03BC\u03B5\u03C5\u03C4\u03B9\u03BA\u03AE \u03C4\u03B9\u03BC\u03AE \u03BC\u03B5\u03C4\u03B1\u03C0\u03CE\u03BB\u03B7\u03C3\u03B7\u03C2 \u03B1\u03C0\u03CC \u03C4\u03BF\u03C5\u03C2 \u03BB\u03B9\u03B1\u03BD\u03BF\u03C0\u03C9\u03BB\u03B7\u03C4\u03AD\u03C2 \u03C0\u03C1\u03BF\u03C2 \u03C4\u03BF\u03C5\u03C2 \u03C4\u03B5\u03BB\u03B9\u03BA\u03BF\u03CD\u03C2 \u03C0\u03B5\u03BB\u03AC\u03C4\u03B5\u03C2."}getHasPriceGuarantee(){let t=this.product();return t?this.productService.hasPriceGuarantee(t):!1}openPublicPlusPriceGuaranteeDialog(){this.dialogService.openPublicPlusPriceGuaranteeDialog()}openDialogPdpCreditCardInstallments(){let t=this.allInstallments();t&&this.dialogService.openDialogPdpCreditCardInstallments(t)}toggleRRPInfo(){this.rrpInfoToggled.set(!this.rrpInfoToggled()),Ct(4e3).subscribe(()=>{this.rrpInfoToggled.set(!1)})}getLastInstallment(){let t=this.allInstallments()??[];if(t.length)return t[t.length-1]}hasWalletRibbon(){let t=this.ribbons()??[];if(t.length)return this.ribbonService.hasWalletRibbon(t)}getWalletRibbon(){let t=this.ribbons()??[];if(t.length)return this.ribbonService.extractWalletRibbon(t)}splitWalletRibbonText(){let t=this.walletRibbon()?.text;if(!t||t==="")return;let e=t.match(/^(\d+%|\d+[,.]?\d*â¬)(.*)$/);return e?{amount:e[1].trim(),words:e[2].trim()}:{amount:t,words:""}}getHasDetails(){return!!(this.hasWalletCashback()&&this.walletRibbon()?.text||this.allInstallments()&&this.amountPerInstallment()!==0&&this.salePrice()>=50||this.hasPriceGuarantee()||!this.isServiceRepair()&&!this.isCyprus&&this.salePrice()&&(this.shopName()||!this.isMirakl()&&this.offerCount()||this.isMirakl()&&this.offerCount()&&this.offerCount()>1))}getDiscount(){let t=this.listPrice(),e=this.salePrice();return t-e}};dn.\u0275fac=function(e){return new(e||dn)(g(ne),g(Y),g(Jt))},dn.\u0275cmp=M({type:dn,selectors:[["app-product-pricing-details"]],inputs:{product:[1,"product"]},decls:1,vars:1,consts:[[1,"pricing-details-container"],[1,"price"],[1,"rrp-container"],[1,"details"],[1,"rrp-price"],[1,"ic-info"],[1,"rrp-info"],[1,"ic-info",3,"click"],[1,"triangle"],[1,"list-price"],[1,"sale-price"],[1,"no-vat-text"],[1,"discount"],[1,"public-plus"],[1,"installments"],[1,"price-guarantee"],[1,"product-seller"],[1,"ic-wallet"],[1,"mdc-typography--bold"],[1,"installments",3,"click"],[1,"ic-credit-card"],[1,"mdc-typography--regular","installments-text"],[1,"interest-free"],[1,"ic-chevron-right"],[1,"price-guarantee",3,"click"],[1,"ic-price-guarantee"],[3,"product"]],template:function(e,n){e&1&&p(0,Fg,6,3,"div",0),e&2&&u(n.priceInfo()?0:-1)},dependencies:[xr,ca,Ee,Re],styles:[".pricing-details-container[_ngcontent-%COMP%]{background-color:#fff;border-radius:12px}.pricing-details-container[_ngcontent-%COMP%] .price[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px}.pricing-details-container[_ngcontent-%COMP%] .price[_ngcontent-%COMP%] .rrp-container[_ngcontent-%COMP%]{position:relative}.pricing-details-container[_ngcontent-%COMP%] .price[_ngcontent-%COMP%] .rrp-container[_ngcontent-%COMP%] .rrp-price[_ngcontent-%COMP%]{color:#404040;font-size:12px;font-weight:400;line-height:14px}.pricing-details-container[_ngcontent-%COMP%] .price[_ngcontent-%COMP%] .rrp-container[_ngcontent-%COMP%] .rrp-price[_ngcontent-%COMP%] .ic-info[_ngcontent-%COMP%]{cursor:pointer}.pricing-details-container[_ngcontent-%COMP%] .price[_ngcontent-%COMP%] .rrp-container[_ngcontent-%COMP%] .rrp-info[_ngcontent-%COMP%]{position:absolute;box-shadow:0 8px 16px 24px #0000001f;background-color:#fff;width:240px;border-radius:8px;padding:12px 16px;z-index:1;left:70px;bottom:23px;top:25px;opacity:1;height:fit-content;font-size:12px;font-weight:400;line-height:14px;font-weight:300}.pricing-details-container[_ngcontent-%COMP%] .price[_ngcontent-%COMP%] .rrp-container[_ngcontent-%COMP%] .rrp-info[_ngcontent-%COMP%] .triangle[_ngcontent-%COMP%]{border-left:10px solid transparent;border-right:10px solid transparent;border-bottom:11px solid white;width:0;height:0;position:absolute;top:-10px;z-index:1}.pricing-details-container[_ngcontent-%COMP%] .price[_ngcontent-%COMP%] .list-price[_ngcontent-%COMP%]{color:#404040;font-size:16px;font-weight:600;line-height:19px;font-weight:400;text-decoration:line-through}.pricing-details-container[_ngcontent-%COMP%] .price[_ngcontent-%COMP%] .sale-price[_ngcontent-%COMP%]{color:#fe5900;font-size:28px;font-weight:700;line-height:28px}.pricing-details-container[_ngcontent-%COMP%] .price[_ngcontent-%COMP%] .sale-price[_ngcontent-%COMP%] sup[_ngcontent-%COMP%]{position:relative;top:-10px;left:-3px;font-size:12px;font-weight:400;line-height:14px;font-weight:700}.pricing-details-container[_ngcontent-%COMP%] .price[_ngcontent-%COMP%] .discount[_ngcontent-%COMP%]{background-color:#ffc300;color:#141719;width:fit-content;border-radius:4px;padding:6px;font-size:14px;font-weight:600;line-height:16px}.pricing-details-container[_ngcontent-%COMP%] .price[_ngcontent-%COMP%] .no-vat-text[_ngcontent-%COMP%]{font-size:12px;font-weight:400;line-height:14px;font-weight:700;color:#9e9e9e;height:22px;border-radius:4px;padding:4px;width:max-content;float:right}.pricing-details-container[_ngcontent-%COMP%] .details[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:16px;font-size:14px;font-weight:600;line-height:16px;font-weight:400;margin-top:22px}.pricing-details-container[_ngcontent-%COMP%] .details[_ngcontent-%COMP%] .public-plus[_ngcontent-%COMP%]{display:flex;gap:10px}.pricing-details-container[_ngcontent-%COMP%] .details[_ngcontent-%COMP%] .public-plus[_ngcontent-%COMP%] .ic-wallet[_ngcontent-%COMP%]{transform:scale(1.3)}.pricing-details-container[_ngcontent-%COMP%] .details[_ngcontent-%COMP%] .installments[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:nowrap;gap:10px;cursor:pointer}.pricing-details-container[_ngcontent-%COMP%] .details[_ngcontent-%COMP%] .installments[_ngcontent-%COMP%] .installments-text[_ngcontent-%COMP%]{text-wrap-mode:nowrap}.pricing-details-container[_ngcontent-%COMP%] .details[_ngcontent-%COMP%] .installments[_ngcontent-%COMP%] .interest-free[_ngcontent-%COMP%]{padding:6px;border-radius:4px;background-color:#fff7c2;color:#141719;font-size:12px;font-weight:400;line-height:14px;font-weight:700}.pricing-details-container[_ngcontent-%COMP%] .details[_ngcontent-%COMP%] .installments[_ngcontent-%COMP%] .ic-chevron-right[_ngcontent-%COMP%]{transform:scale(1.2)}.pricing-details-container[_ngcontent-%COMP%] .details[_ngcontent-%COMP%] .price-guarantee[_ngcontent-%COMP%]{display:flex;gap:10px;cursor:pointer}.pricing-details-container[_ngcontent-%COMP%] .details[_ngcontent-%COMP%] .price-guarantee[_ngcontent-%COMP%] .ic-price-guarantee[_ngcontent-%COMP%]:before{transform:scale(1.2)}"],changeDetection:0});var yr=dn;function Ng(i,t){if(i&1){let e=P();a(0,"button",2),h("click",function(){let r=C(e).$implicit,d=l();
3return v(d.openDialogPdpSpecs(r))}),m(1),c()}if(i&2){let e=t.$implicit;o(),x(" ",e==null?null:e.title," ")}}var pn=class pn{constructor(t,e,n,r,d,b){this.platformId=t;this.dialogService=e;this.productStore=n;this.productService=r;this.deviceService=d;this.deviceStore=b;this.product=D();this.bookFriendsData=D();this.layoutVariant=D("sticky");this.accordions$=this.productStore.selectAccordions();this.accordions=$(this.accordions$);this.filteredBtns=f(()=>this.getFilteredBtns());this.btnCount=f(()=>this.filteredBtns()?.length||0);this.isMobile=f(()=>this.getIsMobile());this.viewport=$(this.deviceStore.selectViewport());this.maxButtonsNumber=V(F.b2b?3:4);this.isBrowser=V(!1)}ngOnInit(){this.isBrowser.set(K(this.platformId))}openDialogPdpSpecs(t){this.dialogService.openDialogPdpSpecs({component:t.component,data:Z(U({},t.data),{context:"dialog"}),title:t.title,class:t.class})}getFilteredBtns(){let t=this.product(),e=this.isMobile(),n=this.maxButtonsNumber();if(!t)return;let r=this.accordions();if(!Array.isArray(r)||!r.length)return;let d=t.sku.stickyMenuButtons,b=[];return d?.forEach(w=>{let k=r.find(T=>w.code===T.code);k&&b.push(Z(U({},k),{title:w.title,component:this.productService.getComponentFromSectionCode(k),class:this.productService.getClassFromSectionCode(k)}))}),b.length>n&&!e&&b.splice(n),b}getIsMobile(){let t=this.viewport();return this.isBrowser()&&t?t.innerWidth<820:this.deviceService.isMobile()}};pn.\u0275fac=function(e){return new(e||pn)(g(X),g(Y),g(Ce),g(ne),g(pe),g(de))},pn.\u0275cmp=M({type:pn,selectors:[["app-product-spec-btns"]],inputs:{product:[1,"product"],bookFriendsData:[1,"bookFriendsData"],layoutVariant:[1,"layoutVariant"]},decls:3,vars:10,consts:[[1,"specc-btns"],["mat-button","",1,"specc-btn"],["mat-button","",1,"specc-btn",3,"click"]],template:function(e,n){e&1&&(a(0,"div",0),I(1,Ng,2,1,"button",1,N),c()),e&2&&(Pe("specc-btns--inline",n.layoutVariant()==="inline")("specc-btns--sticky",n.layoutVariant()==="sticky")("specc-btns--two-tabs",n.btnCount()===2)("specc-btns--multi-tabs",n.btnCount()>=3)("specc-btns--single-tab",n.btnCount()===1),o(),B(n.filteredBtns()))},dependencies:[at,St],styles:[".specc-btns[_ngcontent-%COMP%]{display:flex;gap:8px;justify-content:flex-start}.specc-btns.specc-btns--inline[_ngcontent-%COMP%]{width:100%;margin:16px 0}@media(max-width:391px){.specc-btns[_ngcontent-%COMP%]{gap:12px}}.specc-btns.specc-btns--inline[_ngcontent-%COMP%] .specc-btn[mat-button][_ngcontent-%COMP%], .specc-btns.specc-btns--sticky[_ngcontent-%COMP%] .specc-btn[mat-button][_ngcontent-%COMP%]{flex:0 0 auto;min-height:56px;padding:19px 16px;border-radius:8px;border:1px solid #e1e1e5;background-color:#fff;color:#141719;text-align:center;white-space:normal;word-break:break-word;line-height:1.2;font-size:14px;font-weight:600;line-height:16px}.specc-btns.specc-btns--inline[_ngcontent-%COMP%] .specc-btn[mat-button][_ngcontent-%COMP%] .mdc-button__label[_ngcontent-%COMP%], .specc-btns.specc-btns--sticky[_ngcontent-%COMP%] .specc-btn[mat-button][_ngcontent-%COMP%] .mdc-button__label[_ngcontent-%COMP%]{white-space:normal}@media(hover:hover)and (pointer:fine){.specc-btns.specc-btns--inline[_ngcontent-%COMP%] .specc-btn[mat-button][_ngcontent-%COMP%]:hover, .specc-btns.specc-btns--sticky[_ngcontent-%COMP%] .specc-btn[mat-button][_ngcontent-%COMP%]:hover{border-color:#e1e1e5;background-color:#eeedf0;font-weight:700}}@media(hover:none),(pointer:coarse){.specc-btns.specc-btns--inline[_ngcontent-%COMP%] .specc-btn[mat-button][_ngcontent-%COMP%]:active, .specc-btns.specc-btns--sticky[_ngcontent-%COMP%] .specc-btn[mat-button][_ngcontent-%COMP%]:active{background-color:#eeedf0}}.specc-btns.specc-btns--sticky[_ngcontent-%COMP%] .specc-btn[mat-button][_ngcontent-%COMP%]{width:182px}.specc-btns.specc-btns--inline[_ngcontent-%COMP%] .specc-btn[mat-button][_ngcontent-%COMP%]{flex:1 1 0;min-width:0;width:auto}@media(max-width:820px){.specc-btns[_ngcontent-%COMP%]{overflow-x:auto;scroll-behavior:smooth;padding-right:20px;scrollbar-width:none;-ms-overflow-style:none}.specc-btns[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.specc-btns.specc-btns--two-tabs[_ngcontent-%COMP%]{overflow-x:visible;padding-right:0}.specc-btns.specc-btns--two-tabs[_ngcontent-%COMP%] .specc-btn[mat-button][_ngcontent-%COMP%]{flex:1 1 0;width:auto;min-width:0;padding:10px 16px}.specc-btns.specc-btns--multi-tabs[_ngcontent-%COMP%] .specc-btn[mat-button][_ngcontent-%COMP%]{flex:0 0 168px;width:168px;min-width:168px}.specc-btns.specc-btns--single-tab[_ngcontent-%COMP%]{padding-right:0}}@media(max-width:420px){.specc-btns.specc-btns--multi-tabs[_ngcontent-%COMP%]{padding-right:0}.specc-btns.specc-btns--multi-tabs[_ngcontent-%COMP%] .specc-btn[mat-button][_ngcontent-%COMP%]{flex:0 0 42%;width:42%;min-width:132px;max-width:168px;padding:10px 7px}}"],changeDetection:0});var un=pn;function jg(i,t){if(i&1&&(a(0,"div",4),m(1),c()),i&2){let e=l();o(),x(" ",e.productTitle()," ")}}function Lg(i,t){if(i&1&&(a(0,"div",5),_(1,"img",7),c()),i&2){let e=l();o(),s("src",e.thumbnail(),H)}}function Gg(i,t){i&1&&(a(0,"div",6),_(1,"app-product-hidden-prices",8),c()),i&2&&(o(),s("isPdp",!0))}function zg(i,t){if(i&1&&(a(0,"div",9),_(1,"app-product-price-sticky",13),c()),i&2){let e=l(2);o(),s("product",e.product())}}function Ug(i,t){if(i&1&&_(0,"app-product-store-availability-btn",11),i&2){let e=l(2);s("isPDP",!0)("product",e.productV2())("onlyIcon",!0)}}function $g(i,t){i&1&&(a(0,"div",15),_(1,"span",16),c())}function Hg(i,t){i&1&&(_(0,"img",17),a(1,"div",15),_(2,"span",18),c())}function Wg(i,t){if(i&1){let e=P();a(0,"button",14),h("click",function(){C(e);let r=l(2);return v(r.clickedButton())}),p(1,$g,2,0,"div",15)(2,Hg,3,0),c()}if(i&2){let e=l(2);s("disabled",e.unavailableSKU()||!e.allowPurchases())("product",e.productV2()),o(),u(e.btnClicked()?1:2)}}function Qg(i,t){if(i&1&&(p(0,zg,2,1,"div",9),a(1,"div",10),p(2,Ug,1,3,"app-product-store-availability-btn",11)(3,Wg,3,3,"button",12),c()),i&2){let e,n=l();u(n.displayPrices()?0:-1),o(2),u(!((e=n.product())==null||e.stockRule==null||e.stockRule.deliveryRule==null)&&e.stockRule.deliveryRule.uniqueStoreAssortment?2:n.isPurchaseDisabled()?-1:3)}}var mn=class mn{constructor(t,e){this.userStore=t;this.productService=e;this.product=D();this.bookFriendsData=D();this.productV2=f(()=>this.getProductV2());this.thumbnail=f(()=>this.product()?.sku?.media?.heroImage?.thumbnail);this.productTitle=f(()=>this.product()?.sku?.displayName);this.allowPurchases=f(()=>this.product()?.stockRule?.deliveryRule?.allowPurchases);this.preOrder=f(()=>this.product()?.stockRule?.deliveryRule?.preOrder);this.unavailableSKU=f(()=>this.getUnavailableSKU());this.priceInfo=f(()=>this.product()?.sku?.priceInfoDto);this.uniqueStoreAssortment=f(()=>this.product()?.stockRule?.deliveryRule?.uniqueStoreAssortment);this.isPurchaseDisabled=f(()=>this.productService.isPurchaseDisabled(this.productV2()));this.displayPrices=f(()=>this.allowPurchases()||this.uniqueStoreAssortment());this.btnClicked=V(!1);this.userLoginStatus$=this.userStore.selectUserLoginStatus();this.isB2B=!1;this.setAddToCartBtnClickedEffect()}ngOnInit(){this.isB2B=F.b2b}getProductV2(){return this.productService.mapProductV3toProduct(this.product())?this.productService.mapProductV3toProduct(this.product()):lt}
3getUnavailableSKU(){return this.productService.isUnavailableSku(this.productV2())}clickedButton(){this.btnClicked.set(!0)}setAddToCartBtnClickedEffect(){z(t=>{if(!this.btnClicked())return;let e=Ct(3e3).subscribe(()=>{this.btnClicked.set(!1)});t(()=>e.unsubscribe())})}};mn.\u0275fac=function(e){return new(e||mn)(g(ue),g(ne))},mn.\u0275cmp=M({type:mn,selectors:[["app-product-top-sticky"]],inputs:{product:[1,"product"],bookFriendsData:[1,"bookFriendsData"]},decls:9,vars:7,consts:[[1,"sticky-top-container"],[1,"specc-btns-container"],["layoutVariant","sticky",3,"product","bookFriendsData"],[1,"product-container"],[1,"product-title"],[1,"product-thumbnail"],[1,"product-hidden-prices"],["alt","product-thumbnail",1,"product-thumbnail-image",3,"src"],[3,"isPdp"],[1,"product-price"],[1,"add-cart-btn"],[3,"isPDP","product","onlyIcon"],["mat-flat-button","","addToCartButton","",1,"cart-btn",3,"disabled","product"],[3,"product"],["mat-flat-button","","addToCartButton","",1,"cart-btn",3,"click","disabled","product"],[1,"mdc-button__wording"],[1,"ic-check"],["src","assets/images/cart-dash.svg",1,"dash"],[1,"ic-cart"]],template:function(e,n){e&1&&(a(0,"div",0)(1,"div",1),_(2,"app-product-spec-btns",2),c(),a(3,"div",3),p(4,jg,2,1,"div",4),p(5,Lg,2,1,"div",5),p(6,Gg,2,1,"div",6),y(7,"async"),qe(8,Qg,4,2),c()()),e&2&&(o(2),s("product",n.product())("bookFriendsData",n.bookFriendsData()),o(2),u(n.productTitle()?4:-1),o(),u(n.thumbnail()?5:-1),o(),u(!S(7,5,n.userLoginStatus$)&&n.isB2B?6:8))},dependencies:[ct,He,Ji,un,pt,at,St,_e],styles:[".sticky-top-container[_ngcontent-%COMP%]{display:flex;gap:8px;height:84px;align-items:center;justify-content:space-between;max-width:1440px;margin:0 auto;padding:0 30px}@media(max-width:1080px){.sticky-top-container[_ngcontent-%COMP%]{padding:16px 20px}}.sticky-top-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px}.sticky-top-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .product-title[_ngcontent-%COMP%]{font-size:16px;font-weight:600;line-height:19px;font-weight:700;max-width:300px;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;color:#404040}.sticky-top-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .product-thumbnail[_ngcontent-%COMP%]{width:50px;height:50px;border-radius:50%;border:1.2px solid #eeedf0;flex:0 0 50px;box-sizing:border-box;padding:6px;display:flex;align-items:center;justify-content:center;overflow:hidden}.sticky-top-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .product-thumbnail-image[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:contain}.sticky-top-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .product-hidden-prices[_ngcontent-%COMP%] .mdc-button.mdc-button--fullwidth{width:max-content;height:48px}.sticky-top-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .product-price[_ngcontent-%COMP%]{margin-left:20px}.sticky-top-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .add-cart-btn[_ngcontent-%COMP%] .cart-btn[mat-flat-button][_ngcontent-%COMP%]{border-radius:12px;width:56px;height:52px}.sticky-top-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .add-cart-btn[_ngcontent-%COMP%] .cart-btn[mat-flat-button][_ngcontent-%COMP%]:before{font-size:19px}.sticky-top-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .add-cart-btn[_ngcontent-%COMP%] .cart-btn[mat-flat-button][_ngcontent-%COMP%] .dash[_ngcontent-%COMP%]{position:absolute;opacity:0;transition:opacity .3s ease-in-out;left:0}.sticky-top-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .add-cart-btn[_ngcontent-%COMP%] .cart-btn[_ngcontent-%COMP%]:hover .dash[_ngcontent-%COMP%]{opacity:1;transform:translate(-14px)}.sticky-top-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .add-cart-btn[_ngcontent-%COMP%] .mdc-button__wording[_ngcontent-%COMP%]{display:flex;align-items:center;transition:all .4s ease-in-out;gap:5px;font-size:24px}.sticky-top-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .add-cart-btn[_ngcontent-%COMP%] .mdc-button[_ngcontent-%COMP%]:hover .mdc-button__wording[_ngcontent-%COMP%]{transform:translate(8px)}.sticky-top-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .add-cart-btn[_ngcontent-%COMP%] .mdc-button[_ngcontent-%COMP%]:hover .mdc-button__movement[_ngcontent-%COMP%]{opacity:1}"],changeDetection:0});var Sr=mn;function qg(i,t){if(i&1){let e=P();be(0,"span",6),Nt("click",function(){C(e);let r=l().$implicit,d=l();
3return v(d.openRibbonDialog(r))}),ke()}}function Kg(i,t){if(i&1&&(be(0,"div",1)(1,"span",4),m(2),ke(),p(3,qg,1,0,"span",5),ke()),i&2){let e=t.$implicit;o(),R("data-testid","text-plain-ribbon"),o(),E(e==null?null:e.text),o(),u(e!=null&&e.popupInfoHtml?3:-1)}}function Yg(i,t){if(i&1){let e=P();be(0,"button",7),Nt("click",function(){C(e);let r=l();return v(r.toggleHiddenRibbons())}),m(1),ke()}if(i&2){let e=l();o(),x(" +",e.hiddenPlainRibbonCount()," ")}}function Zg(i,t){if(i&1){let e=P();be(0,"span",6),Nt("click",function(){C(e);let r=l().$implicit,d=l(2);return v(d.openRibbonDialog(r))}),ke()}}function Xg(i,t){if(i&1&&(be(0,"div",8)(1,"span",4),m(2),ke(),p(3,Zg,1,0,"span",5),ke()),i&2){let e=t.$implicit;o(2),E(e==null?null:e.text),o(),u(e!=null&&e.popupInfoHtml?3:-1)}}function Jg(i,t){if(i&1&&(be(0,"div",3),I(1,Xg,4,2,"div",8,N),ke()),i&2){let e=l();o(),B(e.hiddenPlainRibbons())}}var gn=class gn{constructor(t){this.platformId=t;this.deviceStore=Ae(de);this.ribbonService=Ae(Jt);this.deviceService=Ae(pe);this.dialogService=Ae(Y);this.isBrowser=!1;this.toggleRequest=V(0);this.ribbons=D([]);this.hiddenRibbonsToggled=V(!1);this.isMobile=f(()=>this.getIsMobile());this.hiddenPlainRibbons=f(()=>this.getHiddenPlainRibbons());this.visiblePlainRibbons=f(()=>this.getVisiblePlainRibbons());this.hiddenPlainRibbonCount=f(()=>this.getHiddenPlainRibbonsCount());this.ribbonGroups=f(()=>this.getRibbonsGroups());this.viewport=$(this.deviceStore.selectViewport());this.destroy$=new se;this.setToggleHiddenRibbonsEffect()}ngOnInit(){this.isBrowser=K(this.platformId)}getVisiblePlainRibbons(){let t=this.ribbonGroups()?.plainRibbons;if(!t?.length)return[];let e=this.isMobile()?1:2;return t?.slice(0,e)}getHiddenPlainRibbonsCount(){let t=this.ribbonGroups()?.plainRibbons;if(!t?.length)return 0;let e=this.isMobile()?1:2;return Math.max(0,t.length-e)}getHiddenPlainRibbons(){let t=this.ribbonGroups()?.plainRibbons;if(!t?.length)return[];let e=this.isMobile()?1:2;return t?.slice(e)}openRibbonDialog(t){this.dialogService.openDialogRibbon(t)}toggleHiddenRibbons(){this.hiddenRibbonsToggled()?this.hiddenRibbonsToggled.set(!1):this.hiddenRibbonsToggled.set(!0)}setToggleHiddenRibbonsEffect(){z(()=>{this.hiddenRibbonsToggled()?(clearTimeout(this.hideTimeoutId),this.hideTimeoutId=setTimeout(()=>{this.hiddenRibbonsToggled.set(!1)},4e3)):clearTimeout(this.hideTimeoutId)})}getRibbonsGroups(){let t=this.ribbons();if(t?.length)return this.ribbonService.getRibbonGroupsPdp(t)}getIsMobile(){let t=this.viewport();return this.isBrowser&&t?t.innerWidth<1080:this.deviceService.isMobile()}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}};gn.\u0275fac=function(e){return new(e||gn)(g(X))},gn.\u0275cmp=M({type:gn,selectors:[["app-pdp-plain-ribbons"]],inputs:{ribbons:[1,"ribbons"]},decls:5,vars:2,consts:[[1,"ribbons-container"],[1,"plain-ribbon"],["type","button",1,"hidden-ribbons-count"],[1,"hidden-ribbons"],[1,"ribbon-text"],[1,"ic-info"],[1,"ic-info",3,"click"],["type","button",1,"hidden-ribbons-count",3,"click"],[1,"hidden-ribbon"]],template:function(e,n){e&1&&(be(0,"div",0),I(1,Kg,4,3,"div",1,N),p(3,Yg,2,1,"button",2),p(4,Jg,3,0,"div",3),ke()),e&2&&(o(),B(n.visiblePlainRibbons()),o(2),u(n.hiddenPlainRibbonCount()>0?3:-1),o(),u(n.hiddenRibbonsToggled()?4:-1))},styles:[".ribbons-container[_ngcontent-%COMP%]{position:relative;display:flex;gap:8px;align-items:center}@media screen and (min-width:1080px){.ribbons-container[_ngcontent-%COMP%]{flex-wrap:wrap}}.ribbons-container[_ngcontent-%COMP%] .ic-info[_ngcontent-%COMP%]{cursor:pointer}.ribbons-container[_ngcontent-%COMP%] .plain-ribbon[_ngcontent-%COMP%]{display:flex;align-items:center;gap:3px;padding:4px 6px;height:26px;border-radius:4px;background-color:#d3ddf2;color:#2f4167;white-space:nowrap;font-size:14px;font-weight:600;line-height:14px}.hidden-ribbons-count[_ngcontent-%COMP%]{height:26px;cursor:pointer;border:none;padding:3px 6px;border-radius:4px;background-color:#d3ddf2;color:#2f4167;white-space:nowrap;font-family:var(--mdc-typography-font-family);font-size:12px;font-weight:400;line-height:14px;font-weight:600}.hidden-ribbons[_ngcontent-%COMP%]{position:absolute;top:calc(100% + 8px);left:0;z-index:3;display:flex;flex-direction:column;gap:6px;padding:12px 16px;background:#fff;border-radius:8px;box-shadow:0 8px 16px #0000001f;max-width:258px;min-width:182px}.hidden-ribbon[_ngcontent-%COMP%]{background-color:#d3ddf2;color:#2f4167;padding:4px 6px;border-radius:4px;
3height:26px;display:flex;align-items:center;gap:3px;max-width:fit-content;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;line-height:14px;font-size:14px;font-weight:600}.hidden-ribbon[_ngcontent-%COMP%] .ribbon-text[_ngcontent-%COMP%]{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}"],changeDetection:0});var Mr=gn;var e_=(i,t,e)=>({"ic-chevron-up open":i,"ic-chevron-down":t,"macbook-adjustment":e}),t_=(i,t)=>t.code;function i_(i,t){if(i&1&&_(0,"app-product-custom-information",8),i&2){let e=l().$implicit;s("data",e.data)}}function n_(i,t){if(i&1&&_(0,"app-product-information",8),i&2){let e=l().$implicit;s("data",e.data)}}function o_(i,t){if(i&1&&_(0,"app-product-reevoo-reviews",8),i&2){let e=l().$implicit;s("data",e.data)}}function r_(i,t){if(i&1&&_(0,"app-product-specifications",8),i&2){let e=l().$implicit;s("data",e.data)}}function a_(i,t){if(i&1&&_(0,"app-product-author-bio",8),i&2){let e=l().$implicit;s("data",e.data)}}function c_(i,t){if(i&1&&_(0,"app-product-book-look-inside",8),i&2){let e=l().$implicit;s("data",e.data)}}function l_(i,t){if(i&1&&_(0,"app-product-book-reviews",8),i&2){let e=l().$implicit;s("data",e.data)}}function s_(i,t){if(i&1&&_(0,"app-product-tracklist",8),i&2){let e=l().$implicit;s("data",e.data)}}function d_(i,t){if(i&1){let e=P();a(0,"cdk-accordion-item",3,0)(2,"div",4),h("click",function(){C(e);let r=Q(1);return v(r.toggle())}),a(3,"p",5),m(4),c(),_(5,"span",6),c(),a(6,"div",7),p(7,i_,1,1,"app-product-custom-information",8)(8,n_,1,1,"app-product-information",8)(9,o_,1,1,"app-product-reevoo-reviews",8)(10,r_,1,1,"app-product-specifications",8)(11,a_,1,1,"app-product-author-bio",8)(12,c_,1,1,"app-product-book-look-inside",8)(13,l_,1,1,"app-product-book-reviews",8)(14,s_,1,1,"app-product-tracklist",8),c()()}if(i&2){let e=t.$implicit,n=t.$index,r=Q(1),d=l();s("tabindex",n)("expanded",n===0),R("data-expanded",r.expanded)("id","accordion-header-"+n)("aria-expanded",r.expanded)("aria-controls","accordion-body-"+n),o(4),E(e.title),o(),s("ngClass",jt(13,e_,r.expanded,!r.expanded,d.isMacbook())),o(),me("display",r.expanded?"":"none"),R("id","accordion-body-"+n)("aria-labelledby","accordion-header-"+n),o(),u(d.ProductAccordionSectionCode.DETAILED_DESCRIPTION===e.code&&e.data.customContent?7:d.ProductAccordionSectionCode.OUR_SUGGESTION===e.code||d.ProductAccordionSectionCode.BOOK_SUMMARY===e.code||d.ProductAccordionSectionCode.DETAILED_DESCRIPTION===e.code?8:d.ProductAccordionSectionCode.REVIEWS===e.code?9:d.ProductAccordionSectionCode.SPECIFICATIONS===e.code?10:d.ProductAccordionSectionCode.AUTHOR===e.code?11:d.ProductAccordionSectionCode.LOOK_INSIDE===e.code?12:d.ProductAccordionSectionCode.BOOK_REVIEWS===e.code?13:d.ProductAccordionSectionCode.TRACK_LIST===e.code?14:-1)}}var _n=class _n{constructor(t,e,n,r,d){this.platformId=t;this.productService=e;this.productStore=n;this.deviceService=r;this.deviceStore=d;this.product=D();this.bookFriendsData=D();this.reevooReviewsSummary=D();this.reevooInitialReviews=D();this.productV2=f(()=>this.getProductV2());this.accordionSections=f(()=>this.getAccordionSections());this.viewport=$(this.deviceStore.selectViewport());this.isMacbook=f(()=>this.getIsMacbook());this.isMobile=f(()=>this.getIsMobile());this.isBrowser=!1;this.setProductAccordionsEffect()}get ProductAccordionSectionCode(){return Ra}ngOnInit(){this.isBrowser=K(this.platformId)}getAccordionSections(){let t=this.product(),e={bookFriendsData:this.bookFriendsData(),reevooReviewsSummary:this.reevooReviewsSummary(),reevooInitialReviews:this.reevooInitialReviews()};return this.productService.getAvailableAccordionSections(t,e)}getProductV2(){return this.productService.mapProductV3toProduct(this.product())?this.productService.mapProductV3toProduct(this.product()):lt}getIsMacbook(){let t=this.viewport();return this.isBrowser&&t?this.deviceService.isMacbook():!1}setProductAccordionsEffect(){z(()=>{let t=this.accordionSections();this.productStore.setAccordions(t)})}getIsMobile(){let t=K(this.platformId),e=this.viewport();return t&&e?e.innerWidth<550:this.deviceService.isMobile()}};_n.\u0275fac=function(e){return new(e||_n)(g(X),g(ne),g(Ce),g(pe),g(de))},_n.\u0275cmp=M({type:_n,selectors:[["app-product-accordions"]],inputs:{product:[1,"product"],bookFriendsData:[1,"bookFriendsData"],reevooReviewsSummary:[1,"reevooReviewsSummary"],reevooInitialReviews:[1,"reevooInitialReviews"]},decls:4,vars:0,consts:[["accordionItem","cdkAccordionItem"],[1,"product-accordions-container"],["multi","true",1,"pbc-accordion"],["role","button",1,"pbc-accordion-item",3,"tabindex","expanded"],[1,"pbc-accordion-item-header",3,"click"],[1,"pbc-accordion-item-title"],[1,"pbc-accordion-item-arrow",3,"ngClass"],["role","regi
3on",1,"pbc-accordion-item-body"],[3,"data"]],template:function(e,n){e&1&&(a(0,"div",1)(1,"cdk-accordion",2),I(2,d_,15,17,"cdk-accordion-item",3,t_),c()()),e&2&&(o(2),B(n.accordionSections()))},dependencies:[ko,wo,j,Ea,Fa,Na,ja,Va,Ga,Co,za],styles:[".product-accordions-container[_ngcontent-%COMP%]{--border-radius: 12px}.product-accordions-container[_ngcontent-%COMP%] .pbc-accordion[_ngcontent-%COMP%]{display:block}.product-accordions-container[_ngcontent-%COMP%] .pbc-accordion-item[_ngcontent-%COMP%]{display:block;background-color:#fff;transition:background-color .2s;border:solid 1px #e1e1e5;border-radius:var(--border-radius)}@media(min-width:550px){.product-accordions-container[_ngcontent-%COMP%] .pbc-accordion-item[data-expanded=false][_ngcontent-%COMP%]:hover{background-color:#f8f7fa}}.product-accordions-container[_ngcontent-%COMP%] .pbc-accordion-item[_ngcontent-%COMP%] + .pbc-accordion-item[_ngcontent-%COMP%]{margin-top:28px}.product-accordions-container[_ngcontent-%COMP%] .pbc-accordion-item-header[_ngcontent-%COMP%]{display:flex;align-content:center;justify-content:space-between;padding:32px 16px;border-radius:var(--border-radius)}.product-accordions-container[_ngcontent-%COMP%] .pbc-accordion-item-header[_ngcontent-%COMP%]:hover{cursor:pointer}.product-accordions-container[_ngcontent-%COMP%] .pbc-accordion-item-header[_ngcontent-%COMP%]:has(.open){padding-bottom:16px}.product-accordions-container[_ngcontent-%COMP%] .pbc-accordion-item-header[_ngcontent-%COMP%] .pbc-accordion-item-title[_ngcontent-%COMP%]{font-size:24px;line-height:28px;font-weight:700;font-size:18px}.product-accordions-container[_ngcontent-%COMP%] .pbc-accordion-item-header[_ngcontent-%COMP%] .pbc-accordion-item-arrow[_ngcontent-%COMP%]{width:32px;height:32px;padding:7px;font-size:19px;font-weight:700;color:#000}.product-accordions-container[_ngcontent-%COMP%] .pbc-accordion-item-header[_ngcontent-%COMP%] .pbc-accordion-item-arrow.open[_ngcontent-%COMP%], .product-accordions-container[_ngcontent-%COMP%] .pbc-accordion-item-header[_ngcontent-%COMP%] .pbc-accordion-item-arrow.ic-chevron-down[_ngcontent-%COMP%]{border-radius:50%;background-color:#eeedf0}.product-accordions-container[_ngcontent-%COMP%] .pbc-accordion-item-header[_ngcontent-%COMP%] .pbc-accordion-item-arrow.open.ic-chevron-down[_ngcontent-%COMP%], .product-accordions-container[_ngcontent-%COMP%] .pbc-accordion-item-header[_ngcontent-%COMP%] .pbc-accordion-item-arrow.ic-chevron-down.ic-chevron-down[_ngcontent-%COMP%]{background-color:#fff}.product-accordions-container[_ngcontent-%COMP%] .pbc-accordion-item-header[_ngcontent-%COMP%] .pbc-accordion-item-arrow.open.macbook-adjustment[_ngcontent-%COMP%], .product-accordions-container[_ngcontent-%COMP%] .pbc-accordion-item-header[_ngcontent-%COMP%] .pbc-accordion-item-arrow.ic-chevron-down.macbook-adjustment[_ngcontent-%COMP%]{padding-top:6px}"],changeDetection:0});var Or=_n;var p_=i=>({selector:"a",attributeName:"rel",attributeValue:i}),u_=i=>[i],m_=(i,t)=>t.displayName;function g_(i,t){if(i&1&&(a(0,"a",7),m(1),c()),i&2){let e=l(2).$implicit,n=l();s("routerLink",e.link)("queryParams",e.params)("attributeData",O(6,u_,O(4,p_,n.seoRobots))),o(),E(e==null||e.values==null?null:e.values.join())}}function __(i,t){if(i&1&&m(0),i&2){let e=l(2).$implicit;x(" ",e.values==null?null:e.values.join()," ")}}function f_(i,t){if(i&1&&(a(0,"span",5),m(1),c(),a(2,"span",6),p(3,g_,2,8,"a",7)(4,__,1,1),c()),i&2){let e=l(),n=e.$implicit,r=e.$index;R("data-testid","text-spec-title-"+r),o(),x(" ",n.displayName," "),o(2),u(n.link?3:4)}}function h_(i,t){if(i&1&&m(0),i&2){let e=l(2).$implicit;x(" ",e," ")}}function C_(i,t){if(i&1&&m(0),i&2){let e=l(2).$implicit;x(" ",e,", ")}}function v_(i,t){if(i&1&&(a(0,"a",9),p(1,h_,1,1)(2,C_,1,1),c()),i&2){let e=l(),n=e.$index,r=e.$count,d=l().$implicit;s("href",d,H)("routerLink",d),o(),u(n===r-1?1:2)}}function b_(i,t){if(i&1&&p(0,v_,3,3,"a",9),i&2){let e=t.$index,n=l().$index;u(n==e?0:-1)}}function P_(i,t){if(i&1&&I(0,b_,1,1,null,null,N),i&2){let e=l(2).$implicit;B(e.values)}}function x_(i,t){if(i&1&&(a(0,"span",8),m(1),c(),I(2,P_,2,0,null,null,zn)),i&2){let e=l(),n=e.$implicit,r=e.$index;R("data-testid","text-spec-title-"+r),o(),x(" ",n.displayName," "),o(),B(n.urls)}}function y_(i,t){if(i&1&&(a(0,"div",1),p(1,f_,5,3)(2,x_,4,2),c()),i&2){let e=t.$implicit;
3o(),u(e.displayName&&!(e.urls!=null&&e.urls.length)?1:2)}}var fn=class fn{constructor(t,e){this.dialogService=t;this.productService=e;this.product=D();this.topSpecs=f(()=>this.getTopSpecs());this.allSpecsData=f(()=>this.getAllSpecsData());this.seoRobots="";this.isCyprus=V(F.cyprus)}getTopSpecs(){let t=this.product();return t?t?.sku?.topSpecs?.map(n=>{let r=U({},n),d=t?.sku?.authors;if(n.displayName?.includes("\u03A3\u03C5\u03B3\u03B3\u03C1\u03B1\u03C6")&&d&&d[0].personsId&&(this.seoRobots=this.isCyprus()?"nofollow":"",r=Z(U({},r),{link:"/authors/"+d[0]?.fullName+"/"+d[0].personsId})),n.displayName?.includes("\u0395\u03BA\u03B4\u03CC\u03C4\u03B7\u03C2")&&(r=Z(U({},r),{link:"/search",params:{q:n.values?.join(",")}})),n.displayName?.includes("\u039A\u03B1\u03C4\u03B7\u03B3\u03BF\u03C1\u03AF\u03B1")){let b=this.product()?.breadcrumb;r=Z(U({},r),{link:b&&b.length>1?b[b.length-2]?.url??"":""})}return n.displayName?.includes("\u0397\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u03BA\u03C5\u03BA\u03BB\u03BF\u03C6\u03BF\u03C1\u03AF\u03B1\u03C2")&&(r=Z(U({},r),{date:!0})),r}):void 0}getAllSpecsData(){let t=this.product();return t?{sections:t?.sku.sections,breadcrumb:t?.breadcrumb,author:this.productService.getAuthor(t)}:void 0}openDialogSeeMoreSpecs(){this.dialogService.openMatDialogSeeMoreSpecs(this.allSpecsData())}getAuthor(t){return t?.sku?.authors?.[0]}};fn.\u0275fac=function(e){return new(e||fn)(g(Y),g(ne))},fn.\u0275cmp=M({type:fn,selectors:[["app-product-top-specs"]],inputs:{product:[1,"product"]},decls:9,vars:5,consts:[[1,"specs-container"],[1,"spec-line"],[1,"see-more-specs"],[3,"click"],[1,"ic-arrow-right"],[1,"mdc-typography--body2","mdc-typography--bold","spec-title"],[1,"mdc-typography--body2"],[1,"pbc-link-button","mdc-typography--subtitle2","mdc-typography--bold",3,"routerLink","queryParams","attributeData"],[1,"mdc-typography--body2","spec-title"],[1,"spec-target",3,"href","routerLink"]],template:function(e,n){e&1&&(a(0,"section")(1,"div",0),I(2,y_,3,1,"div",1,m_),y(4,"slice"),c(),a(5,"div",2)(6,"p",3),h("click",function(){return n.openDialogSeeMoreSpecs()}),m(7," \u0394\u03B5\u03C2 \u03CC\u03BB\u03B1 \u03C4\u03B1 \u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03B7\u03C1\u03B9\u03C3\u03C4\u03B9\u03BA\u03AC "),_(8,"span",4),c()()()),e&2&&(o(2),B(oa(4,1,n.topSpecs(),0,6)),o(4),R("data-testid","link-see-more-specs"))},dependencies:[nt,Mt,la],styles:["[_nghost-%COMP%]{--blue-color: #0265dc}[_nghost-%COMP%] section[_ngcontent-%COMP%]{background-color:#f8f7fa;border-radius:12px;padding:18px 30px;display:grid;gap:24px}[_nghost-%COMP%] .specs-container[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:100%}[_nghost-%COMP%] .specs-container[_ngcontent-%COMP%] .spec-line[_ngcontent-%COMP%] .pbc-link-button[_ngcontent-%COMP%]{color:var(--blue-color)}[_nghost-%COMP%] .spec-title[_ngcontent-%COMP%]{margin-right:4px}[_nghost-%COMP%] .see-more-specs[_ngcontent-%COMP%]{font-size:14px;font-weight:400;line-height:16px;font-weight:700;height:16px;color:var(--blue-color)}[_nghost-%COMP%] .see-more-specs[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:end;cursor:pointer;gap:4px}[_nghost-%COMP%] .see-more-specs[_ngcontent-%COMP%] .ic-arrow-right[_ngcontent-%COMP%]{font-size:10px}[_nghost-%COMP%] .see-more-specs[_ngcontent-%COMP%] .ic-arrow-right[_ngcontent-%COMP%]:before{font-weight:700}"]});var wr=fn;var Rt=class Rt{constructor(t){this.productStore=t;this.servicesChangedByUser=!1}selectService(t,e,n){this.keepAccordionOpenOnLastGroupDeselect(t,e);let r=Z(U({},t),{selected:e});this.deselectAndUpdateServices(r,n),this.servicesChangedByUser=!0}keepAccordionOpenOnLastGroupDeselect(t,e){if(e||!t.selected)return;let n=this.productStore.getPdpServicesV3();if(!n?.length)return;let r=n.find(w=>w.services?.some(k=>k.id===t.id)),d=r?.groupId;if(!r||!d)return;(r.services?.filter(w=>!!w?.selected).length??0)===1&&this.productStore.setGroupCollapsed(d,!1)}updateServices(t,e,n=[]){if(!t)return;let r=new Set(this.productStore.getPdpSelectedServices()),d=new Set(n),b=t.map(w=>{let k=new Set;
3(w.services??[]).forEach(J=>{if(J?.inactive||J.parentServiceSKU||d.has(J.id))return;((r.size>0?r.has(J.id):this.servicesChangedByUser?J.selected:J.selected||J.mandatory)||J.mandatory)&&k.add(J.serviceSKU.id)});let T=w.mandatory,W=w.services?.filter(J=>!J?.inactive).map(J=>{let wt=d.has(J.id),fe=r?.size>0,Mn=wt?!1:fe?r.has(J.id):this.servicesChangedByUser?!!J.selected:!!J.selected||!!J.mandatory,Et=Z(U({},J),{invalid:wt,selected:Mn});if(this.shouldDisableAllServices(e))Et.disable=!0;else{let Rn=this.applyParentChildRules(J,Et,k);Et=Rn.service,T=Rn.mandatory}return Et});return Z(U({},w),{mandatory:T,services:W,postalCodeValidated:w.services?.some(J=>J?.postalCodeValidated===!0)??!1})}).sort((w,k)=>+!!k.promoGroup-+!!w.promoGroup);this.productStore.setPdpServicesV3(b)}applyParentChildRules(t,e,n){let r=e.mandatory;if(!t.parentServiceSKU)(e.selected||e.mandatory)&&(e.disable=!1,n.add(t.serviceSKU.id),r=!0);else{let d=t.parentServiceSKU.split(",").map(b=>b.trim());e.disable=!d.some(b=>n.has(b)),e.selected=e.disable?!1:e.selected}return{service:e,mandatory:r}}deselectAndUpdateServices(t,e){let n=this.productStore.getPdpServicesV3();if(!n)return;let r=n.map(d=>Z(U({},d),{services:d.services?.map(b=>{let w=U({},b);return w.id===t.id?U({},t):(w.serviceGroup&&w.serviceSKU?.id!==t.serviceSKU.id&&w.serviceGroup===t.serviceGroup&&(w.selected=!1),U(U({},w),this.getUpdatedChildState(w,t)))})}));this.setSelectedServices(r),this.updateServices(r,e)}setSelectedServices(t){let e=t.flatMap(n=>n.services??[]).filter(n=>n.selected).map(n=>n.id);this.productStore.setPdpSelectedServices(e)}getUpdatedChildState(t,e){if(t.parentServiceSKU){if(t.parentServiceSKU.includes(",")){if(t.parentServiceSKU.split(",").includes(e.serviceSKU.id))return{disable:!0}}else if(t.parentServiceSKU===e.serviceSKU.id){let n=!!(!e.selected||e.invali
3d),r=t.selected?!1:t.selected;return{disable:n,selected:r}}}return{}}shouldDisableAllServices(t){return!t?.stockRule?.deliveryRule?.allowPurchases&&!t?.mirakl||t?.stockRule?.deliveryRule?.uniqueStoreAssortment}};Rt.\u0275fac=function(e){return new(e||Rt)(Xe(Ce))},Rt.\u0275prov=vt({token:Rt,factory:Rt.\u0275fac,providedIn:"root"});var Qe=Rt;var M_=(i,t)=>({unavailable:i,"d-flex":t}),O_=i=>({"background-image":i}),w_=()=>({"background-color":"#66AACC"}),k_=i=>({"price-margin":i}),vc=i=>({disabled:i}),I_=(i,t)=>t.id;function B_(i,t){if(i&1&&(_(0,"span",11),y(1,"byPassSecurity")),i&2){let e=l(2).$implicit,n=l();s("innerHTML",De(1,1,e==null?null:e.promoLabelText,n.SafeReturnType.Html),le)}}function T_(i,t){if(i&1&&(a(0,"div",1)(1,"div",9),_(2,"img",10),p(3,B_,2,4,"span",11),c()()),i&2){let e=l().$implicit;o(2),s("src",e==null?null:e.servicePromoLogo,H),o(),u(e!=null&&e.promoLabelText&&(e!=null&&e.promoService)&&(e!=null&&e.promoStandaloneService)?3:-1)}}function D_(i,t){if(i&1&&(a(0,"div",4),m(1),c()),i&2){let e=l().$implicit;o(),E(e==null?null:e.promoAppliedMessage)}}function R_(i,t){if(i&1){let e=P();a(0,"span",12),h("click",function(){C(e);let r=l().$implicit,d=l();return v(!(r!=null&&r.inactive)&&d.openServiceInfoDialog(r))}),m(1,"\u03A0\u03B5\u03C1\u03B9\u03C3\u03C3\u03CC\u03C4\u03B5\u03C1\u03B1"),c()}i&2&&R("data-testid","link-promo-service-more-info")}function E_(i,t){if(i&1&&(a(0,"span",14),m(1),y(2,"getInteger"),y(3,"getDecimal"),c(),a(4,"span",13),m(5),y(6,"getInteger"),y(7,"getDecimal"),c()),i&2){let e=l(2).$implicit;o(),ee("",S(2,6,e==null?null:e.listPrice),",",S(3,8,e==null?null:e.listPrice),"\u20AC"),o(3),s("ngClass",O(14,vc,e==null?null:e.disable)),R("data-testid","text-promo-service-price"),o(),ee("",S(6,10,e==null?null:e.salePrice),",",S(7,12,e==null?null:e.salePrice),"\u20AC")}}function A_(i,t){if(i&1&&(a(0,"span",13),m(1),y(2,"getInteger"),y(3,"getDecimal"),c()),i&2){let e=l(2).$implicit;s("ngClass",O(7,vc,(e==null?null:e.disable)||(e==null?null:e.inactive))),o(),ee(" ",S(2,3,e==null?null:e.salePrice),",",S(3,5,e==null?null:e.salePrice),"\u20AC ")}}function V_(i,t){if(i&1&&(a(0,"div",7),p(1,E_,8,16)(2,A_,4,9,"span",13),c()),i&2){let e=l().$implicit,n=l();o(),u(n.showInitialPrice(e)?1:2)}}function F_(i,t){if(i&1){let e=P();a(0,"div",0),p(1,T_,4,2,"div",1),a(2,"div",2)(3,"div",3)(4,"span"),m(5),c(),p(6,D_,2,1,"div",4),p(7,R_,2,1,"span",5),c(),a(8,"div",6),p(9,V_,3,1,"div",7),y(10,"async"),a(11,"mat-slide-toggle",8),h("change",function(r){let d=C(e).$implicit,b=l();return v(b.togglePromoService(r,d))}),c()()()()}if(i&2){let e=t.$implicit,n=l();s("ngClass",ge(23,M_,(e==null?null:e.disable)||(e==null?null:e.inactive),!(e!=null&&e.servicePromoLogo)))("ngStyle",e!=null&&e.serviceBackgroundImage?O(26,O_,"url("+e.serviceBackgroundImage+")"):na(28,w_)),o(),u(e!=null&&e.servicePromoLogo?1:-1),o(3),R("data-testid","text-promo-service-name"),o(),E(e!=null&&e.serviceDocumentTitle?e==null?null:e.serviceDocumentTitle:e==null||e.serviceSKU==null?null:e.serviceSKU.displayName),o(),u(e!=null&&e.promoStandaloneService&&(e!=null&&e.promoAppliedMessage)&&(e!=null&&e.selected)?6:-1),o(),u(e!=null&&e.serviceDocument?7:-1),o(),s("ngClass",O(29,k_,e==null?null:e.servicePromoLogo)),o(),u(!n.isB2B()||n.isB2B()&&S(10,21,n.userLoginStatus$)?9:-1),o(2),s("checked",e==null?null:e.selected)("hideIcon",!0)("disabled",e==null?null:e.isLocked)("tooltip",e!=null&&e.isLocked?n.inactiveServiceTooltipText:"")("hoverDisabled",!1)("arrow","right")("top",n.tooltipPosition==null?null:n.tooltipPosition.top)("right",n.tooltipPosition==null?null:n.tooltipPosition.right)("left",n.tooltipPosition==null?null:n.tooltipPosition.left)("bottom",n.tooltipPosition==null?null:n.tooltipPosition.bottom)("width",n.isMobile()?"":400),R("data-testid","toggle-service")}}var hn=class hn{constructor(t,e,n,r,d,b){this.userStore=t;this.dialogService=e;this.servicesService=n;this.deviceService=r;this.deviceStore=d;this.platformId=b;this.promoServices=D();this.product=D();this.isB2B=V(F.b2b);this.userLoginStatus$=this.userStore.selectUserLoginStatus();this.SafeReturnType=st;this.inactiveServiceTooltipText="\u0397 \u03C5\u03C0\u03B7\u03C1\u03B5\u03C3\u03AF\u03B1 \u03AD\u03C7\u03B5\u03B9 \u03AE\u03B4\u03B7 \u03C0\u03C1\u03BF\u03C3\u03C4\u03B5\u03B8\u03B5\u03AF \u03C3\u03C4\u03BF \u03BA\u03B1\u03BB\u03AC\u03B8\u03B9 \u03C3\u03BF\u03C5. \u0391\u03BD \u03B8\u03AD\u03BB\u03B5\u03B9\u03C2 \u03BD\u03B1 \u03C4\u03B7\u03BD \u03B1\u03C6\u03B1\u03B9\u03C1\u03AD\u03C3\u03B5\u03B9\u03C2, \u03B1\u03C0\u03BB\u03CE\u03C2 \u03B1\u03C0\u03B5\u03BD\u03B5\u03C1\u03B3\u03BF\u03C0\u03BF\u03AF\u03B7\u03C3\u03B5 \u03C4\u03BF \u03C0\u03B1\u03BA\u03AD\u03C4\u03BF \u03C5\u03C0\u03B7\u03C1\u03B5\u03C3\u03B9\u03CE\u03BD.";this.initialTooltipPosition={right:12,bottom:-44};this.tooltipPosition=this.initialTooltipPosition;this.isMobile=f(()=>this.getIsMobile());this.viewport=$(this.deviceStore.selectViewport());this.setupChangeTooltipPositionEffect()}togglePromoService(t,e){let n=Ge(()=>this.product());!e||!n||this.servicesService.selectService(e,t.checked,n)}showInitialPrice(t){return t?.listPrice>t?.salePrice}openServiceInfoDialog(t){this.dialogService.openMatDialogServiceInfo(t)}getIsMobile(){let t=K(this.platformId),e=this.viewport();return t&&e?e.innerWidth<820:this.deviceService.isMobile()}changeTooltipPosition(t){this.tooltipPosition=this.initialTooltipPosition,t&&(this.tooltipPosition={bottom:130,right:18,left:18,position:"fixed"})}setupChangeTooltipPositionEffect(){z(()=>{let t=K(this.platformId),e=this.viewport();t&&e&&this.changeTooltipPosition(this.isMobile())})}};hn.\u0275fac=function(e){return new(e||hn)(g(ue),g(Y),g(Qe),g(pe),g(de),g(X))},hn.\u0275cmp=M({type:hn,selectors:[["app-product-promo-services"]],inputs:{promoServices:[1,"promoServices"],product:[1,"product"]},decls:3,vars:0,consts:[[1,"promo-service",3,"ngClass","ngStyle"],[1,"promo-service__promo-label"],[1,"promo-content"],[1,"promo-service__description"],[1,"promo-message"],[1,"more-info"],[1,"promo-service__price",3,"ngClass"],[1,"prices"],[1,"pbc-slide-toggle","service__toggle","ml-1",3,"change","checked","hideIcon","disabled","tooltip","hoverDisabled","arrow","top","right","left","bottom","width"],[1,"promo-container"],["height","26","alt","Promo Image",3,"src"],[1,"d-flex","align-items-center","gap-1",3,"innerHTML"],[1,"more-info",3,"click"],[1,"mdc-typography--subtitle1","mdc-typography--bold","sale-price",3,"ngClass"],[1,"mdc-typography--caption","mdc-typography--bold","list-price"]],template:function(e,n){e&1&&(a(0,"section"),I(1,F_,12,31,"div",0,I_),c()),e&2&&(o(),B(n.promoServices()))},dependencies:[Ve,j,ao,Qt,at,ni,Ee,Re,_e,dt],styles:["[_nghost-%COMP%] .promo-service[_ngcontent-%COMP%]{align-items:center;justify-content:space-between;border-radius:16px;padding:16px;margin:24px auto;min-height:120px;background-size:cover;background-repeat:no-repeat;gap:20px;position:relative}[_nghost-%COMP%] .promo-service__description[_ngcontent-%COMP%]{gap:4px;display:grid}[_nghost-%COMP%] .promo-service__description[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:14px;font-weight:400;line-height:16px;width:100%;display:block}[_nghost-%COMP%] .promo-service__description[_ngcontent-%COMP%] .more-info[_ngcontent-%COMP%]{font-size:12px;font-weight:400;line-height:14px;font-weight:700;cursor:pointer}[_nghost-%COMP%] .promo-service__promo-label[_ngcontent-%COMP%]{margin-bottom:3px}[_nghost-%COMP%] .promo-service__promo-label[_ngcontent-%COMP%] .promo-container[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px}[_nghost-%COMP%] .promo-service__promo-label[_ngcontent-%COMP%] .promo-container[_ngcontent-%COMP%] .promo-win{background:#fff9;padding:4px 6px;font-weight:700;font-size:14px;border-radius:4px;white-space:pre;overflow:hidden;text-overflow:ellipsis;max-width:150px;display:inline-block}@media(max-width:400px){[_nghost-%COMP%] .promo-service__promo-label[_ngcontent-%COMP%] .promo-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:20px}}[_nghost-%COMP%] .promo-service__price[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center}[_nghost-%COMP%] .promo-service__price[_ngcontent-%COMP%] .sale-price[_ngcontent-%COMP%]{font-size:16px;font-weight:600;line-height:19px;font-weight:700}[_nghost-%COMP%] .promo-service__price[_ngcontent-%COMP%] .list-price[_ngcontent-%COMP%]{font-size:12px;font-weight:400;line-height:14px;font-weight:700;text-decoration:line-through;color:#256180}[_nghost-%COMP%] .promo-service__price[_ngcontent-%COMP%] .prices[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:end}[_nghost-%COMP%] .promo-service.unavailable[_ngcontent-%COMP%] .prices[_ngcontent-%COMP%]{opacity:.6;pointer-events:none}[_nghost-%COMP%] .promo-service.unavailable[_ngcontent-%COMP%] mat-slide-toggle.pbc-slide-toggle[_ngcontent-%COMP%] *{pointer-events:none;opacity:.7}[_nghost-%COMP%] mat-slide-toggle.pbc-slide-toggle[_ngcontent-%COMP%] {width:32px}[_nghost-%COMP%] mat-slide-toggle.pbc-slide-toggle[_ngcontent-%COMP%] button.mdc-switch.mdc-switch--unselected .mdc-switch__track:before{background:#1d2534}[_nghost-%COMP%] mat-slide-toggle.pbc-slide-toggle[_ngcontent-%COMP%] button.mdc-switch .mdc-switch__track:after{background:#1976d2}[_nghost-%COMP%] mat-slide-toggle.pbc-slide-toggle[_ngcontent-%COMP%] .mdc-switch__track{height:20px;width:32px}[_nghost-%COMP%] mat-slide-toggle.pbc-slide-toggle[_ngcontent-%COMP%] .mdc-switch__handle{width:13px;height:13px}[_nghost-%COMP%] .price-margin[_ngcontent-%COMP%]{margin-bottom:16px}[_nghost-%COMP%] .promo-content[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between;align-items:center;gap:10px}[_nghost-%COMP%] .promo-message[_ngcontent-%COMP%]{font-size:12px;font-weight:400;line-height:16px}"]});var kr=hn;var N_=i=>({unavailable:i});function j_(i,t){if(i&1&&(a(0,"span",2)(1,"span",9),m(2),c(),_(3,"span",10),y(4,"byPassSecurity"),c()),i&2){let e,n,r=l();o(2),E((e=r.service())==null?null:e.serviceDocumentTitle),o(),s("innerHTML",De(4,2,(n=r.service())==null?null:n.promoLabelText,r.SafeReturnType.Html),le)}}function L_(i,t){if(i&1&&(a(0,"p"),m(1),c()),i&2){let e,n=l();R("data-testid","text-service-group-item-title"),o(),E((e=n.service())==null||e.serviceSKU==null?null:e.serviceSKU.displayName)}}function G_(i,t){if(i&1&&(a(0,"div",3),m(1),c()),i&2){let e,n=l();o(),E((e=n.service())==null?null:e.promoAppliedMessage)}}function z_(i,t){if(i&1){let e=P();a(0,"span",11),h("click",function(){C(e);let r=l();return v(!r.isServiceUnavailable()&&r.openServiceInfoDialog(r.service()))}),m(1,"\u03A0\u03B5\u03C1\u03B9\u03C3\u03C3\u03CC\u03C4\u03B5\u03C1\u03B1"),c()}}function U_(i,t){i&1&&(a(0,"span",5),m(1,"\u0397 \u03C5\u03C0\u03B7\u03C1\u03B5\u03C3\u03AF\u03B1 \u03B4\u03B5\u03BD \u03C5\u03C0\u03BF\u03C3\u03C4\u03B7\u03C1\u03AF\u03B6\u03B5\u03C4\u03B1\u03B9 \u03C3\u03C4\u03B7\u03BD \u03C0\u03B5\u03C1\u03B9\u03BF\u03C7\u03AE \u03C3\u03BF\u03C5"),c())}function $_(i,t){if(i&1&&(a(0,"span",12),m(1),y(2,"getInteger"),y(3,"getDecimal"),c()),i&2){let e,n=l(2);o(),ee("",S(2,2,(e=n.service())==null?null:e.listPrice),",",S(3,4,(e=n.service())==null?null:e.listPrice),"\u20AC")}}function H_(i,t){if(i&1&&(a(0,"div",7),p(1,$_,4,6,"span",12),a(2,"span",13),m(3),y(4,"getInteger"),y(5,"getDecimal"),c()()),i&2){let e,n=l();o(),u(n.showInitialPrice(n.service())?1:-1),o(),R("data-testid","text-service-group-item-sale-price"),o(),ee(" ",S(4,4,(e=n.service())==null?null:e.salePrice),",",S(5,6,(e=n.service())==null?null:e.salePrice),"\u20AC ")}}function W_(i,t){if(i&1){let e=P();a(0,"div",8)(1,"mat-slide-toggle",14),h("change",function(r){C(e);let d=l();
3return v(d.toggleService(r))}),c()()}if(i&2){let e=l();o(),s("checked",e.isServiceSelected())("hideIcon",!0)("disabled",e.isServiceDisabled())("tooltip",e.isServiceLockedDueToPromoGroupSelected()||e.isServiceLockedDueToParent()?e.inactiveServiceTooltipText():"")("hoverDisabled",!1)("arrow","right")("top",e.tooltipPosition==null?null:e.tooltipPosition.top)("right",e.tooltipPosition==null?null:e.tooltipPosition.right)("left",e.tooltipPosition==null?null:e.tooltipPosition.left)("bottom",e.tooltipPosition==null?null:e.tooltipPosition.bottom)("width",e.isMobile()?"":400),R("data-testid","toggle-service-group-item")}}var Cn=class Cn{constructor(t,e,n,r,d,b){this.userStore=t;this.dialogService=e;this.deviceService=n;this.deviceStore=r;this.productStore=d;this.platformId=b;this.servicesService=Ae(Qe);this.serviceGroup=D(void 0);this.serviceGroupEnabled=D(!1);this.product=D();this.service=D();this.hasUniqueStoreAssortment=f(()=>this.product()?.stockRule.deliveryRule?.uniqueStoreAssortment);this.isServiceUnavailable=f(()=>!!(this.service()?.disable||this.service()?.inactive||this.service()?.invalid));this.displayUnavailableMsg=f(()=>this.isServiceUnavailable()&&this.service()?.postalCodeValidated&&!this.hasUniqueStoreAssortment()&&!this.service()?.parentServiceSKU);this.isServiceSelected=f(()=>this.service()?.selected);this.isServiceDisabled=f(()=>this.isServiceUnavailable()||this.serviceGroup()?.areaNotSupported||this.isServiceLockedDueToPromoGroupSelected());this.isB2B=V(F.b2b);this.isMobile=f(()=>this.getIsMobile());this.viewport=$(this.deviceStore.selectViewport());this.userLoginStatus$=this.userStore.selectUserLoginStatus();this.tooltipPosition={right:-4,top:30};this.parentServiceDisplayName=f(()=>{let t=this.service();return!t?.parentServiceSKU||!this.serviceGroup()?"":this.serviceGroup().services.find(n=>n.serviceSKU.id===t.parentServiceSKU)?.serviceSKU.displayName??""});this.inactiveServiceTooltipText=f(()=>this.isServiceLockedDueToPromoGroupSelected()?"\u0397 \u03C5\u03C0\u03B7\u03C1\u03B5\u03C3\u03AF\u03B1 \u03AD\u03C7\u03B5\u03B9 \u03AE\u03B4\u03B7 \u03C0\u03C1\u03BF\u03C3\u03C4\u03B5\u03B8\u03B5\u03AF \u03C3\u03C4\u03BF \u03BA\u03B1\u03BB\u03AC\u03B8\u03B9 \u03C3\u03BF\u03C5. \u0391\u03BD \u03B8\u03AD\u03BB\u03B5\u03B9\u03C2 \u03BD\u03B1 \u03C4\u03B7\u03BD \u03B1\u03C6\u03B1\u03B9\u03C1\u03AD\u03C3\u03B5\u03B9\u03C2, \u03B1\u03C0\u03BB\u03CE\u03C2 \u03B1\u03C0\u03B5\u03BD\u03B5\u03C1\u03B3\u03BF\u03C0\u03BF\u03AF\u03B7\u03C3\u03B5 \u03C4\u03BF \u03C0\u03B1\u03BA\u03AD\u03C4\u03BF \u03C5\u03C0\u03B7\u03C1\u03B5\u03C3\u03B9\u03CE\u03BD.":this.isServiceLockedDueToParent()?`\u0397 \u03C5\u03C0\u03B7\u03C1\u03B5\u03C3\u03AF\u03B1 \u03B1\u03C5\u03C4\u03AE \u03B5\u03AF\u03BD\u03B1\u03B9 \u03B4\u03B9\u03B1\u03B8\u03AD\u03C3\u03B9\u03BC\u03B7 \u03BC\u03CC\u03BD\u03BF \u03C3\u03C5\u03BD\u03B4\u03C5\u03B1\u03C3\u03C4\u03B9\u03BA\u03AC \u03BC\u03B5 \u03C4\u03B7\u03BD ${this.parentServiceDisplayName()}`:"");this.SafeReturnType=st;this.setupChangeTooltipPositionEffect()}toggleService(t){let e=this.service(),n=Ge(()=>this.product());!e||!n||this.servicesService.selectService(e,t.checked,n)}isServiceLockedDueToPromoGroupSelected(){let t=this.service()?.id;return!!(!this.serviceGroup()?.promoGroup&&this.serviceGroupEnabled()&&this.service()?.selected&&t&&this.productStore.getLockedServiceIds().has(t))}isServiceLockedDueToParent(){return this.service()?.parentServiceSKU&&this.serviceGroup?!!this.serviceGroup()?.services.find(e=>e.serviceSKU.id===this.service()?.parentServiceSKU)&&(this.isServiceUnavailable()||this.serviceGroup()?.areaNotSupported||this.isServiceLockedDueToPromoGroupSelected()):!1}showInitialPrice(t){return t?.listPrice>t?.salePrice}openServiceInfoDialog(t){this.dialogService.openMatDialogServiceInfo(t)}setupChangeTooltipPositionEffect(){z(()=>{let t=K(this.platformId),e=this.viewport();t&&e&&this.changeTooltipPosition(this.isMobile())})}changeTooltipPosition(t){this.tooltipPosition={right:-4,top:30,position:"fixed"},t&&(this.tooltipPosition={bottom:130,right:18,left:18,position:"fixed"})}getIsMobile(){let t=K(this.platformId),e=this.viewport();return t&&e?e.innerWidth<820:this.deviceService.isMobile()}};Cn.\u0275fac=function(e){return new(e||Cn)(g(ue),g(Y),g(pe),g(de),g(Ce),g(X))},Cn.\u0275cmp=M({type:Cn,selectors:[["app-service-group-item"]],inputs:{serviceGroup:[1,"serviceGroup"],serviceGroupEnabled:[1,"serviceGroupEnabled"],product:[1,"product"],service:[1,"service"]},decls:11,vars:13,consts:[[1,"service",3,"ngClass"],[1,"service__title"],[1,"promo-title"],[1,"enabled-promo-service-text"],[1,"more-info"],[1,"mdc-typography--caption"],[1,"service__details"],[1,"service__details__prices"],[1,"switch-element"],[1,"mr-1"],[3,"innerHTML"],[1,"more-info",3,"click"],[1,"list-price"],[1,"sale-price"],[1,"pbc-slide-toggle","service__toggle",3,"change","checked","hideIcon","disabled","tooltip","hoverDisabled","arrow","top","right","left","bottom","width"]],template:function(e,n){if(e&1&&(a(0,"section",0)(1,"div",1),p(2,j_,5,5,"span",2)(3,L_,2,2,"p"),p(4,G_,2,1,"div",3),p(5,z_,2,0,"span",4),p(6,U_,2,0,"span",5),c(),a(7,"div",6),p(8,H_,6,8,"div",7),y(9,"async"),p(10,W_,2,12,"div",8),c()()),e&2){let r,d,b,w,k,T,W,J;Pe("promo-standalone-service",(r=n.service())==null?null:r.promoStandaloneService),s("ngClass",O(11,N_,n.isServiceUnavailable()||((d=n.serviceGroup())==null?null:d.areaNotSupported)||n.isServiceLockedDueToPromoGroupSelected())),o(2),u((b=n.service())!=null&&b.promoLabelText&&((b=n.service())!=null&&b.promoStandaloneService)&&!((b=n.serviceGroup())!=null&&b.promoGroup)?2:3),o(2),u((w=n.service())!=null&&w.promoStandaloneService&&!((w=n.serviceGroup())!=null&&w.promoGroup)&&n.isServiceSelected()&&((w=n.service())!=null&&w.promoAppliedMessage)?4:-1),o(),u((k=n.service())!=null&&k.serviceDocument&&!n.isServiceUnavailable()&&!((k=n.serviceGroup())!=null&&k.areaNotSupported)?5:-1),o(),u(n.displayUnavailableMsg()&&!((T=n.serviceGroup())!=null&&T.promoGroup)?6:-1),o(2),u((W=n.serviceGroup())!=null&&W.promoGroup||!n.isB2B()||n.isB2B()&&S(9,9,n.userLoginStatus$)?8:-1),o(2),u((J=n.serviceGroup())!=null&&J.promoGroup?-1:10)}}
3,dependencies:[j,ao,Qt,ni,Ee,Re,_e,dt],styles:["[_nghost-%COMP%] .service[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #eeedf0;border-radius:8px;padding:8px;height:max-content;min-height:56px;display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:12px}[_nghost-%COMP%] .service__title[_ngcontent-%COMP%]{display:grid;gap:6px}[_nghost-%COMP%] .service__title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:14px;font-weight:400;line-height:18px}[_nghost-%COMP%] .service__title[_ngcontent-%COMP%] .more-info[_ngcontent-%COMP%]{font-size:12px;font-weight:400;line-height:14px;color:#0265dc;cursor:pointer}[_nghost-%COMP%] .service__price[_ngcontent-%COMP%]{font-size:14px;font-weight:400;line-height:16px;font-weight:700}[_nghost-%COMP%] .service__details[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px}[_nghost-%COMP%] .service__details__prices[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:end}[_nghost-%COMP%] .service__details__prices[_ngcontent-%COMP%] .sale-price[_ngcontent-%COMP%]{font-size:16px;font-weight:600;line-height:19px;font-weight:700}[_nghost-%COMP%] .service__details__prices[_ngcontent-%COMP%] .list-price[_ngcontent-%COMP%]{font-size:12px;font-weight:400;line-height:14px;font-weight:700;text-decoration:line-through;color:#8d8f94}[_nghost-%COMP%] .service__details[_ngcontent-%COMP%] .switch-element[_ngcontent-%COMP%]{position:relative}[_nghost-%COMP%] .service__details[_ngcontent-%COMP%] .switch-element[_ngcontent-%COMP%] mat-slide-toggle.pbc-slide-toggle[_ngcontent-%COMP%] {width:32px}[_nghost-%COMP%] .service__details[_ngcontent-%COMP%] .switch-element[_ngcontent-%COMP%] mat-slide-toggle.pbc-slide-toggle[_ngcontent-%COMP%] .mdc-switch__track{height:20px;width:32px}[_nghost-%COMP%] .service__details[_ngcontent-%COMP%] .switch-element[_ngcontent-%COMP%] mat-slide-toggle.pbc-slide-toggle[_ngcontent-%COMP%] .mdc-switch__handle{width:13px;height:13px;background-color:#fff}[_nghost-%COMP%] .service.unavailable[_ngcontent-%COMP%] .service__title[_ngcontent-%COMP%], [_nghost-%COMP%] .service.unavailable[_ngcontent-%COMP%] .service__details__prices[_ngcontent-%COMP%]{opacity:.5}[_nghost-%COMP%] .service.promo-standalone-service[_ngcontent-%COMP%] .enabled-promo-service-text[_ngcontent-%COMP%]{font-size:12px;font-weight:400}[_nghost-%COMP%] .service.promo-standalone-service[_ngcontent-%COMP%] .promo-title[_ngcontent-%COMP%]{font-size:14px;line-height:18px}[_nghost-%COMP%] .mdc-switch__handle[_ngcontent-%COMP%]{background:#fff}[_nghost-%COMP%] .promo-win[_ngcontent-%COMP%]{color:#0b7f75;background:#c9f2ee;padding:2px 4px;border-radius:4px;white-space:pre;font-weight:700}"]});var Ir=Cn;var Q_=(i,t)=>t.groupId;function q_(i,t){if(i&1&&_(0,"span",8),i&2){let e=l().$implicit;s("ngClass",e.groupIcon)}}function K_(i,t){if(i&1){let e=P();a(0,"div",10)(1,"p",19)(2,"span",20),m(3),c(),_(4,"span",21),y(5,"byPassSecurity"),a(6,"span",22),h("click",function(r){C(e);let d=l().$implicit,b=l(2);return r.stopPropagation(),v(b.openPromoGroupServiceInfoDialog(d))}),c()()()}if(i&2){let e=l().$implicit,n=l(2);o(3),E(e.groupTitle),o(),s("innerHTML",De(5,2,e.promoLabelText,n.SafeReturnType.Html),le)}}function Y_(i,t){if(i&1&&m(0),i&2){let e=l().$implicit;x(" ",e.groupTitle," ")}}function Z_(i,t){if(i&1){let e=P();a(0,"mat-slide-toggle",23),h("click",function(r){return C(e),v(r.stopPropagation())})("change",function(r){C(e);let d=l().$implicit,b=l(2);return v(b.toggleServiceGroup(r,d))}),c()}if(i&2){let e=l().$implicit;s("checked",e.promoGroupSelected)("disabled",e.areaNotSupported)("hideIcon",!0)}}function X_(i,t){if(i&1){let e=P();a(0,"button",24),h("click",function(){C(e);let r=l(3);return v(r.openMatDialogPostalCodeSubmit())}),c()}if(i&2){let e=l(3);s("innerHtml",e.groupTitle(),le)}}function J_(i,t){i&1&&(a(0,"div",16)(1,"div",25),m(2,"To \u03C0\u03B1\u03BA\u03AD\u03C4\u03BF \u03C5\u03C0\u03B7\u03C1\u03B5\u03C3\u03AF\u03C9\u03BD \u03B4\u03B5\u03BD \u03C5\u03C0\u03BF\u03C3\u03C4\u03B7\u03C1\u03AF\u03B6\u03B5\u03C4\u03B1\u03B9 \u03C3\u03C4\u03B7\u03BD \u03C0\u03B5\u03C1\u03B9\u03BF\u03C7\u03AE \u03C3\u03BF\u03C5."),c()())}function ef(i,t){if(i&1&&_(0,"app-service-group-item",17),i&2){let e=t.$implicit,n=l().$implicit,r=l(2);s("service",e)("product",r.product())("serviceGroupEnabled",r.serviceGroupSelected())("serviceGroup",n)}}function tf(i,t){if(i&1&&(a(0,"div",18),m(1),c()),i&2){let e=l().$implicit;o(),E(e.promoAppliedMessage)}}function nf(i,t){if(i&1){let e=P();a(0,"cdk-accordion",5)(1,"cdk-accordion-item",6,0)(3,"div",7),p(4,q_,1,1,"span",8),a(5,"p",9),p(6,K_,7,5,"div",10)(7,Y_,1,1),c(),a(8,"div",11),p(9,Z_,1,3,"mat-slide-toggle",12),a(10,"span",13),h("click",function(){let r=C(e).$implicit,d=Q(2),b=l(2);
3return v(b.onAccordionClick(d,r))}),c()()(),a(11,"div",14),p(12,X_,1,1,"button",15),p(13,J_,3,0,"div",16),I(14,ef,1,4,"app-service-group-item",17,N),c()(),p(16,tf,2,1,"div",18),c()}if(i&2){let e=t.$implicit,n=t.$index,r=Q(2),d=l(2);Pe("promo-group",e==null?null:e.promoGroup),R("data-testid","accordion-service-group-"+n),o(),s("tabindex",n)("expanded",!d.isAccordionCollapsed(e)),R("id","accordion-header-"+n)("aria-controls","accordion-body-"+n),o(3),u(e!=null&&e.promoGroup&&(e!=null&&e.groupIcon)?4:-1),o(),R("data-testid","text-service-group-title"),o(),u(e.promoGroup?6:7),o(3),u(e!=null&&e.promoGroup&&r.expanded?9:-1),o(),s("ngClass",r.expanded?"ic-chevron-up open":"ic-chevron-down"),o(),me("display",r.expanded?"":"none"),R("id","accordion-body-"+n)("aria-labelledby","accordion-header-"+n),o(),u(e!=null&&e.postalCodeValidated?12:-1),o(),u(e.areaNotSupported?13:-1),o(),B(e.services),o(2),u(e!=null&&e.promoGroup&&e.promoGroupSelected&&r.expanded?16:-1)}}function of(i,t){if(i&1&&(a(0,"section",1)(1,"p",2),m(2),c(),a(3,"div",3),I(4,nf,17,19,"cdk-accordion",4,Q_),c()()),i&2){let e=l();o(2),E(e.title()),o(2),B(e.updatedGroupServices())}}var vn=class vn{constructor(t,e,n){this.productStore=t;this.genericStore=e;this.dialogService=n;this.servicesService=Ae(Qe);this.groupHadSelectedServices=new Map;this.product=D();this.groupServices=D();this.serviceGroupSelected=V(!1);this.updatedGroupServices=f(()=>(this.groupServices()??[]).filter(e=>e.promoGroup||!e.promoGroup&&!e.services.every(n=>n?.promoService)).map(e=>{let n=(e.services??[]).filter(r=>r?.showServiceInGroup!==!1&&(e.promoGroup||!e.promoGroup&&!r?.promoService));return Z(U({},e),{areaNotSupported:!!e.promoGroup&&!!e.services.some(r=>(!!r?.disable||!!r?.invalid||!!r?.inactive)&&!!r?.postalCodeValidated&&!this.product()?.stockRule.deliveryRule?.uniqueStoreAssortment),promoGroupSelected:this.areGroupServicesSelected(e)&&e.promoGroup,services:n})}));this.title=V("\u03A5\u03C0\u03B7\u03C1\u03B5\u03C3\u03AF\u03B5\u03C2 & \u03A5\u03C0\u03BF\u03C3\u03C4\u03AE\u03C1\u03B9\u03BE\u03B7");this.postalCode=$(this.genericStore.selectSelectedZipCode());this.groupTitle=f(()=>this.getGroupTitle());this.SafeReturnType=st;this.syncPromoGroupSelectionAndLocksEffect(),this.keepAccordionOpenAfterLastDeselectionEffect()}openMatDialogPostalCodeSubmit(){let t={isPDP:!0};this.dialogService.openMatDialogPostalCodeSubmit(t)}isAccordionCollapsed(t){return this.hasSelectedServices(t)?!1:t?.groupId?this.productStore.getGroupCollapsed(t.groupId)??t.groupCollapsed??!1:t?.groupCollapsed??!1}onAccordionClick(t,e){if(!e?.groupId){t.toggle();return}let n=t.expanded;this.productStore.setGroupCollapsed(e.groupId,n),t.toggle()}hasSelectedServices(t){return!!t?.services?.some(e=>!!e?.selected)}getGroupTitle(){let t=this.postalCode(),e="\u0394\u03B5\u03C2 \u03B1\u03BD \u03B5\u03BE\u03C5\u03C0\u03B7\u03C1\u03B5\u03C4\u03BF\u03CD\u03BC\u03B5 \u03C4\u03B7\u03BD \u03C0\u03B5\u03C1\u03B9\u03BF\u03C7\u03AE \u03C3\u03BF\u03C5";return t&&(e='<span class="ic-pin mr-1"></span>'+t),e}openPromoGroupServiceInfoDialog(t){this.dialogService.openPromoGroupServiceInfo(t)}syncPromoGroupSelectionAndLocksEffect(){z(()=>{let e=(this.updatedGroupServices()??[]).find(r=>!!r.promoGroup),n=!!e&&this.areGroupServicesSelected(e);this.serviceGroupSelected.set(n),this.productStore.setLockedServiceIds(new Set(e?.services.map(r=>r.id)))})}keepAccordionOpenAfterLastDeselectionEffect(){z(()=>{let t=this.updatedGroupServices()??[],e=new Set;for(let n of t){if(!n.groupId)continue;e.add(n.groupId);let r=this.hasSelectedServices(n);(this.groupHadSelectedServices.get(n.groupId)??r)&&!r&&this.productStore.setGroupCollapsed(n.groupId,!1),this.groupHadSelectedServices.set(n.groupId,r)}for(let n of this.groupHadSelectedServices.keys())e.has(n)||this.groupHadSelectedServices.delete(n)})}toggleServiceGroup(t,e){let n=Ge(()=>this.product());if(!(!n||!e)){for(let r of e.services)this.servicesService.selectService(r,t.checked,n);this.productStore.setLockedServiceIds(t.checked?new Set(e.services.map(r=>r.id)):new Set)}}areGroupServicesSelected(t){let e=t.services??[];return e.length>0&&e.every(n=>!!n?.selected)}};vn.\u0275fac=function(e){return new(e||vn)(g(Ce),g(ot),g(Y))},vn.\u0275cmp=M({type:vn,selectors:[["app-product-group-services"]],inputs:{product:[1,"product"],groupServices:[1,"groupServices"]},decls:1,vars:1,consts:[["accordionItem","cdkAccordionItem"],[1,"product-services"],[1,"product-services__title"],[1,"services-accordions"],[1,"pbc-accordion",3,"promo-group"],[1,"pbc-accordion"],["role","button",1,"pbc-accordion-item",3,"tabindex","expanded"],[1,"pbc-accordion__header"],[1,"ic","ic--large","icon","ic-promo",3,"ngClass"],[1,"pbc-accordion__title"],[1,"promo-title-row"],[1,"toggle-arrow"],[1,"pbc-slide-toggle","group__toggle",3,"checked","disabled","hideIcon"],[1,"pbc-accordion__arrow",3,"click","ngClass"],["role","regi
3on",1,"pbc-accordion__body"],[1,"pbc-link-button","pbc-link-button--primary","mdc-typography--subtitle2",3,"innerHtml"],[1,"warning-msg"],[3,"service","product","serviceGroupEnabled","serviceGroup"],[1,"promo-message"],[1,"promo-title-paragraph"],[1,"mr-1"],[1,"promo-title",3,"innerHTML"],[1,"ic","ic-info","promo-info-icon",3,"click"],[1,"pbc-slide-toggle","group__toggle",3,"click","change","checked","disabled","hideIcon"],[1,"pbc-link-button","pbc-link-button--primary","mdc-typography--subtitle2",3,"click","innerHtml"],[1,"mr-2"]],template:function(e,n){if(e&1&&p(0,of,6,1,"section",1),e&2){let r;u((r=n.updatedGroupServices())!=null&&r.length?0:-1)}},dependencies:[ko,wo,j,Ir,Qt,dt],styles:["[_nghost-%COMP%]{--border-radius: 8px;--light-color: #f8f7fa}[_nghost-%COMP%] .product-services[_ngcontent-%COMP%]{background-color:#fff;padding:16px;border-radius:12px;margin:16px 0}[_nghost-%COMP%] .product-services__title[_ngcontent-%COMP%]{font-size:16px;font-weight:400;line-height:19px;font-weight:700}[_nghost-%COMP%] .services-accordions[_ngcontent-%COMP%]{display:grid;gap:16px;padding:16px 0 0}[_nghost-%COMP%] .services-accordions[_ngcontent-%COMP%] .pbc-accordion[_ngcontent-%COMP%]{display:block;background-color:var(--light-color);border-radius:var(--border-radius)}[_nghost-%COMP%] .services-accordions[_ngcontent-%COMP%] .pbc-accordion__body[_ngcontent-%COMP%]{display:grid;gap:8px;padding:0 12px 12px}[_nghost-%COMP%] .services-accordions[_ngcontent-%COMP%] .pbc-accordion__header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;background-color:var(--light-color);padding:20px 12px;border-radius:var(--border-radius)}[_nghost-%COMP%] .services-accordions[_ngcontent-%COMP%] .pbc-accordion__title[_ngcontent-%COMP%]{font-size:14px;font-weight:400;line-height:16px;font-weight:700}[_nghost-%COMP%] .services-accordions[_ngcontent-%COMP%] .pbc-accordion__arrow[_ngcontent-%COMP%]{width:20px;height:20px;cursor:pointer;font-size:19px;font-weight:700;color:#000}[_nghost-%COMP%] .services-accordions[_ngcontent-%COMP%] .pbc-accordion[_ngcontent-%COMP%] .pbc-link-button[_ngcontent-%COMP%]{font-weight:700;text-align:left;width:max-content;margin:-16px 0 0;color:#0265dc}[_nghost-%COMP%] .services-accordions[_ngcontent-%COMP%] .promo-group[_ngcontent-%COMP%]{background-color:#e9f7f6}[_nghost-%COMP%] .services-accordions[_ngcontent-%COMP%] .promo-group[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{margin-right:10px}[_nghost-%COMP%] .services-accordions[_ngcontent-%COMP%] .promo-group[_ngcontent-%COMP%] .pbc-accordion__header[_ngcontent-%COMP%]{background-color:#e9f7f6;justify-content:normal}[_nghost-%COMP%] .services-accordions[_ngcontent-%COMP%] .promo-group[_ngcontent-%COMP%] .pbc-accordion__arrow[_ngcontent-%COMP%]{margin-left:auto}[_nghost-%COMP%] .services-accordions[_ngcontent-%COMP%] .promo-group[_ngcontent-%COMP%] .pbc-accordion__title[_ngcontent-%COMP%]{line-height:20px}[_nghost-%COMP%] .services-accordions[_ngcontent-%COMP%] .promo-group[_ngcontent-%COMP%] .pbc-accordion__title[_ngcontent-%COMP%] .promo-title-main[_ngcontent-%COMP%]{display:block;font-weight:700;font-size:14px}[_nghost-%COMP%] .services-accordions[_ngcontent-%COMP%] .promo-group[_ngcontent-%COMP%] .pbc-accordion__title[_ngcontent-%COMP%] .promo-title-sub[_ngcontent-%COMP%]{display:block;font-weight:700;font-size:14px}[_nghost-%COMP%] .services-accordions[_ngcontent-%COMP%] .promo-group[_ngcontent-%COMP%] .promo-title[_ngcontent-%COMP%]{padding-right:6px}[_nghost-%COMP%] .services-accordions[_ngcontent-%COMP%] .promo-group[_ngcontent-%COMP%] .promo-message[_ngcontent-%COMP%]{font-size:12px;font-weight:400;line-height:16px;padding:4px 6px 16px}[_nghost-%COMP%] .services-accordions[_ngcontent-%COMP%] .promo-group[_ngcontent-%COMP%] .toggle-arrow[_ngcontent-%COMP%]{margin-left:auto;display:flex}[_nghost-%COMP%] .services-accordions[_ngcontent-%COMP%] .promo-group[_ngcontent-%COMP%] .ic-promo[_ngcontent-%COMP%]:before{color:#007575;font-size:32px}[_nghost-%COMP%] .promo-win{color:#009688;background:#cfecea;padding:2px 4px;border-radius:4px;white-space:pre;font-weight:700}.group__toggle[_ngcontent-%COMP%]{margin:0 9px}mat-slide-toggle.pbc-slide-toggle[_ngcontent-%COMP%] {width:32px}mat-slide-toggle.pbc-slide-toggle[_ngcontent-%COMP%] .mdc-switch__track{height:20px;width:32px}mat-slide-toggle.pbc-slide-toggle[_ngcontent-%COMP%] .mdc-switch__handle{width:13px;height:13px}mat-slide-toggle.pbc-slide-toggle[_ngcontent-%COMP%] .mdc-switch__handle:before{background:#fff}.warning-msg[_ngcontent-%COMP%]{display:flex;align-items:center;font-size:12px;line-height:16px;min-height:28px;width:fit-content;border-radius:4px;padding:10px 6px;margin-top:8px;margin-bottom:2px;background-color:#f4dfda;color:#af4448}.promo-title-paragraph[_ngcontent-%COMP%]{word-break:break-word;display:flex;align-items:center;margin:0;display:inline}"]});var Br=vn;function rf(i,t){if(i&1&&(a(0,"div",1),_(1,"app-product-promo-services",3),c()),i&2){let e=l();o(),s("promoServices",e.promoServices())("product",e.product()),R("data-testid","container-promo-service-item")}}function af(i,t){if(i&1&&_(0,"app-product-group-services",2),i&2){let e=l();s("groupServices",e.groupServices())("product",e.product()),R("data-testid","container-group-service-item")}}var bn=class bn{constructor(t,e){this.productStore=t;this.activatedRoute=e;this.servicesService=Ae(Qe);this.genericStore=Ae(ot);this.commonService=Ae(ve);this.postalCodeValidationService=Ae(xo);this.product=D();this.promoServices=f(()=>this.getPromoServices());this.groupServices=V(null);this.postalCode=$(this.genericStore.selectSelectedZipCode());this.productId=$(this.activatedRoute.paramMap.pipe(je(t=>t.get("productId"))));this.destroy$=new se;this.setServicesAvailabilityEffect(),this.setServicesAvailabilityByPostalCodeEffect(),this.productStore.selectPdpServicesV3().pipe(Yr(200),da()).subscribe(n=>{n&&this.groupServices.set(n)})}setServicesAvailabilityByPostalCodeEffect(){z(()=>{let t=this.postalCode(),e=this.product();e&&t&&this.postalCodeValidationService.validatePostalCodeAndServiceAvailability({postalCode:t,skuIds:[e.productId],cartPage:!1}).pipe(te(this.destroy$)).subscribe({next:n=>{if(n.result!=="Success"){this.commonService.wasServicePerAreaValidated.next(!1);return}this.invalidServices=n.invalidServices,this.servicesService.updateServices(e.serviceGroups,e,this.invalidServices),this.commonService.wasServicePerAreaValidated.next(!0)},error:()=>{this.commonService.wasServicePerAreaValidated.next(!1)}})})}setServicesAvailabilityEffect(){z(()=>{let t=this.productId(),e=this.postalCode(),n=Ge(()=>this.product());t&&!e&&(this.servicesService.updateServices(n?.serviceGroups,n,this.invalidServices),this.commonService.wasServicePerAreaValidated.next(!1))})}getPromoServices(){let t=this.groupServices(),e=this.product();if(!t||!e)return[];let r=t.filter(w=>w.services.some(k=>k.promoService===!0)).map(w=>Z(U({},w),{services:w.services.filter(k=>k.promoService).map(k=>{let T=Z(U({},k),{isLocked:this.isServiceLocked(k,w)});return e?.stockRule.deliveryRule?.uniqueStoreAssortment?Z(U({},T),{disable:!0}):T})})).flatMap(w=>w.services),d=[],b=new Set;for(let w of r)!w.id||b.has(w.id)||(b.add(w.id),d.push(w));return d}isServiceLocked(t,e){if(!this.isServiceGroupEnabled(e)||!t?.selected)return!1;let n=t?.id;return n?this.productStore.getLockedServiceIds().has(n):!1}isServiceGroupEnabled(t){let e=t.services??[];return e.length>0&&e.every(n=>!!n?.selected)}};bn.\u0275fac=function(e){return new(e||bn)(g(Ce),g(Qn))},bn.\u0275cmp=M({type:bn,selectors:[["app-product-services"]],inputs:{product:[1,"product"]},decls:3,vars:2,consts:[[1,"product-services"],[1,"product-services__promo"],[3,"groupServices","product"],[3,"promoServices","product"]],template:function(e,n){if(e&1&&(a(0,"section",0),p(1,rf,2,3,"div",1),p(2,af,1,3,"app-product-group-services",2),c()),e&2){let r;o(),u(n.promoServices()?1:-1),o(),u((r=n.groupServices())!=null&&r.length?2:-1)}},dependencies:[kr,Br],encapsulation:2});var Tr=bn;var cf=i=>({backgroundImage:i}),Pn=class Pn{constructor(t){this.dialogService=t;this.product=D();this.energyClassPdf=f(()=>this.product()?.sku?.energyClassPdf);this.efficiencyClassImg=f(()=>
3this.product()?.sku?.efficiencyClassImg)}ngOnInit(){}openEnergyEfficiencyDialog(){let t=this.energyClassPdf();t&&this.dialogService.openDialogEnergyEfficiency(t)}};Pn.\u0275fac=function(e){return new(e||Pn)(g(Y))},Pn.\u0275cmp=M({type:Pn,selectors:[["product-energy-labelling"]],inputs:{product:[1,"product"]},decls:3,vars:4,consts:[[1,"row","row-small","align-items-center","justify-content-sm-start","energy_container"],[1,"col","col-auto"],["routing","",1,"energy__image",3,"click","ngStyle"]],template:function(e,n){e&1&&(a(0,"div",0)(1,"div",1)(2,"div",2),h("click",function(){return n.openEnergyEfficiencyDialog()}),c()()()),e&2&&(o(2),s("ngStyle",O(2,cf,"url("+n.efficiencyClassImg()+")")),R("data-testid","img-product-energy-labeling"))},dependencies:[Gt,Ve],styles:["[_nghost-%COMP%] .energy__image[_ngcontent-%COMP%]{width:42px;height:26px;background-size:contain;background-repeat:no-repeat;background-position:left center;cursor:pointer;margin-top:-2px}"]});var Dr=Pn;function lf(i,t){if(i&1&&(a(0,"span",5),m(1),c()),i&2){let e=l(2);R("data-testid","text-total-reviews"),o(),x(" (",e.totalReviews(),") ")}}function sf(i,t){if(i&1){let e=P();a(0,"div",0)(1,"div",1),h("click",function(){C(e);let r=l();return v(r.openReevooReviewsDialog())}),a(2,"div",2)(3,"span"),m(4),c()(),a(5,"div",3),_(6,"app-rating-stars",4),c(),p(7,lf,2,2,"span",5),c()()}if(i&2){let e=l();o(3),R("data-testid","text-average-rating"),o(),x(" ",e.averageRating()," "),o(2),s("rating",e.averageRating())("color","primary"),o(),u(e.totalReviews()?7:-1)}}var xn=class xn{constructor(t,e){this.dialogService=t;this.location=e;this.product=D();this.reevooReviewsSummary=D();this.reevooInitialReviews=D();this.averageRating=f(()=>this.getRoundAverageRating());this.totalReviews=f(()=>this.product()?.sku?.totalReviews);this.setupAutoOpenReviewsDialogEffect()}ngOnInit(){}setupAutoOpenReviewsDialogEffect(){z(()=>{let t=this.product(),e=this.reevooReviewsSummary(),n=this.reevooInitialReviews(),d=this.location.getState()?.openReevooReviewsDialog===!0;t&&e&&n&&d&&(this.openReevooReviewsDialog(),this.location.replaceState(this.location.path(),"",{openReevooReviewsDialog:!1}))})}getRoundAverageRating(){let t=this.product()?.sku?.averageRating??0;return Math.round(t*100)/100}openReevooReviewsDialog(){let t=this.product(),e=this.reevooReviewsSummary(),n=this.reevooInitialReviews();this.dialogService.openDialogPdpSpecs({component:Co,data:{product:t,reevooReviewsSummary:e,reevooInitialReviews:n},title:"\u0391\u03BE\u03B9\u03BF\u03BB\u03BF\u03B3\u03AE\u03C3\u03B5\u03B9\u03C2"})}};xn.\u0275fac=function(e){return new(e||xn)(g(Y),g($n))},xn.\u0275cmp=M({type:xn,selectors:[["app-product-rating"]],inputs:{product:[1,"product"],reevooReviewsSummary:[1,"reevooReviewsSummary"],reevooInitialReviews:[1,"reevooInitialReviews"]},decls:1,vars:1,consts:[[1,"outer-container"],[1,"rating-container",3,"click"],[1,"average-rating"],[1,"rating-stars"],[3,"rating","color"],[1,"total-reviews"]],template:function(e,n){e&1&&p(0,sf,8,5,"div",0),e&2&&u(n.averageRating()?0:-1)},dependencies:[fo],styles:[".outer-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}@media(min-width:820px){.outer-container[_ngcontent-%COMP%]{padding:0 0 24px}}.outer-container[_ngcontent-%COMP%] .rating-container[_ngcontent-%COMP%]{display:flex;gap:6px;cursor:pointer;font-size:14px;font-weight:600;line-height:16px;font-weight:700}.outer-container[_ngcontent-%COMP%] .rating-container[_ngcontent-%COMP%] .average-rating[_ngcontent-%COMP%]{color:#fe5900}.outer-container[_ngcontent-%COMP%] .rating-container[_ngcontent-%COMP%] .total-reviews[_ngcontent-%COMP%]{font-weight:400}"],changeDetection:0});var Rr=xn;function df(i,t){if(i&1&&(a(0,"div",3),m(1),c()),i&2){let e=l(2);R("data-testid","text-product-subtitle"),o(),x(" ",e.subtitle()," ")}}function pf(i,t){if(i&1&&(a(0,"div",6),m(1," \u039A\u03A9\u0394\u0399\u039A\u039F\u03A3: "),a(2,"span"),m(3),c()()),i&2){let e=l(2);o(2),R("data-testid","text-product-id"),o(),E(e.id())}}function uf(i,t){if(i&1&&_(0,"product-energy-labelling",7),i&2){let e=l(2);s("product",e.product())}}function mf(i,t){if(i&1&&(a(0,"div",1)(1,"h1",2),m(2),y(3,"nbspReplace"),c(),p(4,df,2,2,"div",3),a(5,"div",4),_(6,"app-product-rating",5),c(),p(7,pf,4,2,"div",6),p(8,uf,1,1,"product-energy-labelling",7),c()),i&2){let e=l();Pe("no-top-padding",!e.hasRibbons()),o(),R("data-testid","text-product-title"),o(),x(" ",S(3,10,e.title())," "),o(2),u(e.subtitle()?4:-1),o(2),s("product",e.product())("reevooReviewsSummary",e.reevooReviewsSummary())("reevooInitialReviews",e.reevooInitialReviews()),o(),u(e.id()?7:-1),o(),u(e.energyClassPdf()&&e.efficie
3ncyClassImg()?8:-1)}}var yn=class yn{constructor(t,e){this.productInfoService=t;this.productService=e;this.product=D();this.hasRibbons=D(!0);this.reevooReviewsSummary=D();this.reevooInitialReviews=D();this.efficiencyClassImg=f(()=>this.product()?.sku?.efficiencyClassImg);this.energyClassPdf=f(()=>this.product()?.sku?.energyClassPdf);this.productV2=f(()=>this.getProductV2());this.subtitle=f(()=>this.product()?.sku?.titleSubtitle);this.title=f(()=>this.getProductTitle());this.id=f(()=>this.product()?.sku?.id)}ngOnInit(){}getProductV2(){return this.productService.mapProductV3toProduct(this.product())?this.productService.mapProductV3toProduct(this.product()):lt}getProductTitle(){return this.productInfoService.getProductTitle(this.productV2())}};yn.\u0275fac=function(e){return new(e||yn)(g(Se),g(ne))},yn.\u0275cmp=M({type:yn,selectors:[["app-product-title"]],inputs:{product:[1,"product"],hasRibbons:[1,"hasRibbons"],reevooReviewsSummary:[1,"reevooReviewsSummary"],reevooInitialReviews:[1,"reevooInitialReviews"]},decls:1,vars:1,consts:[[1,"product-title-container",3,"no-top-padding"],[1,"product-title-container"],[1,"product-title"],[1,"product-subtitle"],[1,"product-rating"],[3,"product","reevooReviewsSummary","reevooInitialReviews"],[1,"product-id"],[3,"product"]],template:function(e,n){e&1&&p(0,mf,9,12,"div",0),e&2&&u(n.product()?0:-1)},dependencies:[Dr,Rr,uo],styles:[".product-title-container[_ngcontent-%COMP%]{text-align:left;display:flex;flex-direction:column;gap:12px;padding:16px 0 12px}.product-title-container.no-top-padding[_ngcontent-%COMP%]{padding:0 0 16px}.product-title-container[_ngcontent-%COMP%] .product-title[_ngcontent-%COMP%]{font-size:24px;font-weight:700;line-height:28px;color:#404040}@media(max-width:468px){.product-title-container[_ngcontent-%COMP%] .product-title[_ngcontent-%COMP%]{font-size:20px;font-weight:400;line-height:23px;font-weight:700}}.product-title-container[_ngcontent-%COMP%] .product-subtitle[_ngcontent-%COMP%]{font-size:16px;font-weight:400;line-height:19px;color:#404040}.product-title-container[_ngcontent-%COMP%] .product-rating[_ngcontent-%COMP%] .outer-container{padding-bottom:0}.product-title-container[_ngcontent-%COMP%] .product-id[_ngcontent-%COMP%]{font-size:14px;font-weight:400;line-height:16px;color:#141719}"],changeDetection:0});var Er=yn;var gf=()=>[ii],Ar=(i,t)=>t==null||t.reusable==null?null:t.reusable.id,_f=(i,t)=>t.ribbonId,ff=(i,t)=>t.value;function hf(i,t){if(i&1&&_(0,"pbc-json-ld",1),i&2){let e=t.$implicit;s("json",e)}}function Cf(i,t){if(i&1&&(a(0,"div",36),y(1,"reusableClass"),_(2,"app-dynamic-reusables",37),c()),i&2){let e=l().$implicit;s("ngClass",S(1,2,e)),o(2),s("component",e)}}function vf(i,t){if(i&1&&(p(0,Cf,3,4,"div",36),y(1,"activeReusables")),i&2){let e=t.$implicit;u(S(1,1,e)?0:-1)}}function bf(i,t){if(i&1){let e=P();a(0,"div",42),h("click",function(){C(e);let r=l().$implicit,d=l(3);return v(d.openRibbonDialog(r))}),c()}}function Pf(i,t){if(i&1&&(a(0,"div",39)(1,"div",40),m(2),c(),p(3,bf,1,0,"div",41),c()),i&2){let e=t.$implicit;Le(e.placement==="wallet"?"wallet":""),me("background-color",e==null?null:e.backgroundColor)("color",e==null?null:e.textColor),R("data-testid","text-"+(e==null?null:e.placement)+"-ribbon"),o(2),ee(" ",e.placement==="bubble"?"-"+e.salePercent+"%":""," ",e==null?null:e.text," "),o(),u(e!=null&&e.popupInfoHtml?3:-1)}}function xf(i,t){if(i&1&&(a(0,"div",11),I(1,Pf,4,10,"div",38,_f),c()),i&2){let e,n=l(2);R("data-testid","container-upper-ribbons"),o(),B((e=n.ribbonGroups())==null?null:e.complexRibbons)}}function yf(i,t){if(i&1&&(a(0,"div",15),_(1,"app-product-top-specs",13),c()),i&2){let e=l(2);o(),s("product",e.product())}}function Sf(i,t){if(i&1&&(a(0,"div",17),_(1,"app-pdp-plain-ribbons",43),c()),i&2){let e=l(2);o(),s("ribbons",e.ribbons())}}function Mf(i,t){if(i&1&&(a(0,"div",21),_(1,"app-product-availability-info-text",13),c()),i&2){let e=l(2);o(),s("product",e.product())}}function Of(i,t){if(i&1){let e=P();a(0,"div",44),h("passedElement",function(r){C(e);let d=l(2);return v(d.topStickyVisible=r)}),_(1,"app-product-hidden-prices",45),c()}
3i&2&&(o(),s("isPdp",!0))}function wf(i,t){if(i&1&&(a(0,"section",51),_(1,"app-b2b-product-v3-volume-discount",52),c()),i&2){let e=l(4);o(),s("productQuantity",e.productQuantity())}}function kf(i,t){if(i&1){let e=P();a(0,"div",49),h("passedElement",function(r){C(e);let d=l(3);return v(d.topStickyVisible=r)}),a(1,"section",50),_(2,"app-product-pricing-details",13),c(),p(3,wf,2,1,"section",51),c()}if(i&2){let e=l(3);o(2),s("product",e.product()),o(),u(e.isLoggedIn()&&e.isB2B&&e.showVolumeDiscount()?3:-1)}}function If(i,t){if(i&1){let e=P();a(0,"div",47)(1,"app-product-store-availability-btn",53),h("passedElement",function(r){C(e);let d=l(3);return v(d.topStickyVisible=r)}),c()()}if(i&2){let e=l(3);o(),s("isPDP",!0)("product",e.product())}}function Bf(i,t){if(i&1&&(a(0,"mat-option",60),m(1),c()),i&2){let e=t.$implicit;s("value",e.value),o(),x(" ",e==null?null:e.title," ")}}function Tf(i,t){if(i&1){let e=P();a(0,"div",54)(1,"mat-form-field",57),_(2,"span",58),a(3,"mat-select",59,0),h("selectionChange",function(r){C(e);let d=l(4);return v(d.updateProductQuantity(r))}),I(5,Bf,2,2,"mat-option",60,ff),c()()()}if(i&2){let e=Q(4),n=l(4);o(2),s("ngClass",e.panelOpen?"ic-chevron-up":"ic-chevron-down"),o(),s("value",n.productQuantity()),o(2),B(n.productQuantities())}}function Df(i,t){i&1&&(a(0,"div",56),_(1,"span",61),m(2," \u03A0\u03C1\u03BF\u03C3\u03C4\u03AD\u03B8\u03B7\u03BA\u03B5 "),c())}function Rf(i,t){if(i&1&&(_(0,"img",62),a(1,"div",56),_(2,"span",63),m(3),c()),i&2){let e=l(4);o(3),x(" ",e.preOrder()?"\u03A0\u03C1\u03BF\u03C0\u03B1\u03C1\u03B1\u03B3\u03B3\u03B5\u03BB\u03AF\u03B1":e.showFullText()?"\u03A0\u03C1\u03BF\u03C3\u03B8\u03AE\u03BA\u03B7 \u03C3\u03C4\u03BF \u03BA\u03B1\u03BB\u03AC\u03B8\u03B9":"\u03A0\u03C1\u03BF\u03C3\u03B8\u03AE\u03BA\u03B7"," ")}}function Ef(i,t){if(i&1){let e=P();a(0,"div",48),p(1,Tf,7,2,"div",54),a(2,"button",55),h("click",function(){C(e);let r=l(3);return v(r.clickedButton())}),p(3,Df,3,0,"div",56)(4,Rf,4,1),c()()}if(i&2){let e=l(3);o(),u(e.showQuantity()?1:-1),o(),s("disabled",e.unavailableSKU()||!e.allowPurchases())("product",e.productV2())("productQuantity",e.productQuantity()),R("data-testid","btn-add-to-cart"),o(),u(e.btnClicked()?3:4)}}function Af(i,t){if(i&1&&(p(0,kf,4,2,"div",46),p(1,If,2,2,"div",47)(2,Ef,5,6,"div",48)),i&2){let e=l(2);u(e.displayPrices()?0:-1),o(),u(e.uniqueStoreAssortment()?1:e.isPurchaseDisabled()?-1:2)}}function Vf(i,t){if(i&1&&_(0,"app-product-page-availability",64),i&2){let e=l(3);s("product",e.product())("subscriptionThreshold",e.subscriptionThreshold())("subscriptionPrice",e.subscriptionPrice())}}function Ff(i,t){if(i&1&&(a(0,"div",25),p(1,Vf,1,3,"app-product-page-availability",64),c()),i&2){let e,n=l(2);o(),u(!((e=n.product())==null||e.sku==null)&&e.sku.id?1:-1)}}function Nf(i,t){if(i&1&&(a(0,"div",26),_(1,"app-product-services",13),c()),i&2){let e=l(2);o(),s("product",e.product())}}function jf(i,t){if(i&1&&(a(0,"div",66),y(1,"reusableClass"),a(2,"div",67),_(3,"app-dynamic-reusables",37),c()()),i&2){let e=l().$implicit;s("ngClass",S(1,2,e)),o(3),s("component",e)}}function Lf(i,t){if(i&1&&(p(0,jf,4,4,"div",66),y(1,"activeReusables")),i&2){let e=t.$implicit;u(S(1,1,e)?0:-1)}}function Gf(i,t){if(i&1&&(a(0,"div",65),I(1,Lf,2,3,null,null,Ar),c()),i&2){let e=l(3);o(),B(e.componentsWalletReusable())}}function zf(i,t){if(i&1&&p(0,Gf,3,0,"div",65),i&2){let e=l(2);u(e.componentsWalletReusable().length>0?0:-1)}}function Uf(i,t){i&1&&_(0,"div",27)}function $f(i,t){if(i&1&&(a(0,"div",28),_(1,"app-product-payment-methods",13),c()),i&2){let e=l(2);o(),s("product",e.product())}}function Hf(i,t){if(i&1&&(a(0,"div",29),_(1,"app-product-bundle-recommendations",68),c()),i&2){let e=l(2);o(),s("products",e.bundleRecommendations())}}function Wf(i,t){if(i&1&&(a(0,"div",69),y(1,"reusableClass"),_(2,"app-dynamic-reusables",37),c()),i&2){let e=l().$implicit;s("ngClass",S(1,2,e)),o(2),s("component",e)}}function Qf(i,t){if(i&1&&(p(0,Wf,3,4,"div",69),y(1,"activeReusables")),i&2){let e=t.$implicit;u(S(1,1,e)?0:-1)}}function qf(i,t){if(i&1&&(a(0,"div",34),_(1,"app-product-related-categories",70),c()),i&2){let e,n=l(2);o(),s("relatedCategories",(e=n.product())==null||e.sku==null?null:e.sku.ancestorCategories)}}function Kf(i,t){if(i&1&&_(0,"app-dynamic-reusables",37),i&2){let e=l(2).$implicit;s("component",e)}
3}function Yf(i,t){i&1&&_(0,"section")}function Zf(i,t){i&1&&(Ft(0,Kf,1,1)(1,Yf,1,0),Ln(2,0,gf,null,1),Gn(0,-1),Jr())}function Xf(i,t){if(i&1&&(p(0,Zf,4,0),y(1,"activeReusables")),i&2){let e=t.$implicit;u(S(1,1,e)?0:-1)}}function Jf(i,t){if(i&1&&(I(0,vf,2,3,null,null,Ar),a(2,"div",6),_(3,"app-breadcrumb",7),c(),a(4,"section",8)(5,"div",9)(6,"div",10),p(7,xf,3,1,"div",11),a(8,"div",12),_(9,"app-product-favorites-button",13)(10,"app-product-comparison-button",13),c(),_(11,"app-product-gallery",14),c(),p(12,yf,2,1,"div",15),c(),a(13,"div",16),p(14,Sf,2,1,"div",17),a(15,"div",18),_(16,"app-product-title",19),c(),a(17,"div",20),p(18,Mf,2,1,"div",21),c(),a(19,"div",22),_(20,"app-product-spec-btns",23),c(),p(21,Of,2,1,"div",24)(22,Af,3,2),p(23,Ff,2,1,"div",25),p(24,Nf,2,1,"div",26),p(25,zf,1,1),p(26,Uf,1,0,"div",27),y(27,"async"),qe(28,$f,2,1,"div",28),c()(),p(29,Hf,2,1,"div",29),a(30,"section",30)(31,"div",31),I(32,Qf,2,3,null,null,Ar),c(),a(34,"div",32),_(35,"app-product-accordions",33),c(),p(36,qf,2,1,"div",34),c(),a(37,"div",35),I(38,Xf,2,3,null,null,Ar),c()),i&2){let e,n,r,d,b,w,k,T=l();B(T.componentsBelowHeader()),o(3),s("breadcrumb",(e=T.product())==null?null:e.breadcrumb)("inputMode",!0)("displayName",T.product()?T.productService.getProductTitle(T.productV2()):void 0),o(4),u(!((n=T.ribbonGroups())==null||n.complexRibbons==null)&&n.complexRibbons.length?7:-1),o(2),s("product",T.product()),R("data-testid","btn-add-to-favorites"),o(),s("product",T.product()),R("data-testid","btn-add-to-comparison"),o(),s("product",T.product())("showPlaceHolderHeroImage",T.showPlaceHolderHeroImage()),o(),u(!((r=T.product())==null||r.sku==null||r.sku.topSpecs==null)&&r.sku.topSpecs.length?12:-1),o(2),u(!((d=T.ribbonGroups())==null||d.plainRibbons==null)&&d.plainRibbons.length?14:-1),o(2),s("product",T.product())("hasRibbons",!!(!((b=T.ribbonGroups())==null||b.plainRibbons==null)&&b.plainRibbons.length))("reevooReviewsSummary",T.reevooReviewsSummary())("reevooInitialReviews",T.reevooInitialReviews()),o(2),u(T.uniqueStoreAssortment()?-1:18),o(2),s("product",T.product())("bookFriendsData",T.bookFriendsData()),o(),u(!T.isLoggedIn()&&T.isB2B?21:22),o(2),u(T.displayAvailability()?23:-1),o(),u((w=T.product())!=null&&w.serviceGroups&&!T.isPurchaseDisabled()?24:-1),o(),u(T.displayWalletReusable()?25:-1),o(),u(!S(27,30,T.userLoginStatus$)&&T.isB2B?26:T.displayPaymentMethods()&&!T.isPurchaseDisabled()?28:-1),o(3),u(T.displayBundleRecommendations()?29:-1),o(3),B(T.componentsUpper()),o(3),s("product",T.product())("bookFriendsData",T.bookFriendsData())("reevooReviewsSummary",T.reevooReviewsSummary())("reevooInitialReviews",T.reevooInitialReviews()),o(),u(!((k=T.product())==null||k.sku==null||k.sku.ancestorCategories==null)&&k.sku.ancestorCategories.length?36:-1),o(2),B(T.componentsLower())}}function eh(i,t){if(i&1){let e=P();a(0,"div",5)(1,"app-product-bottom-sticky",71),h("quantityChanged",function(r){C(e);let d=l();return v(d.setProductQuantity(r))}),c()()}if(i&2){let e=l();o(),s("product",e.product())("productQuantity",e.productQuantity())("isLoggedIn",e.isLoggedIn())}}var Sn=class Sn{constructor(t,e,n,r,d,b,w,k,T,W,J,wt,fe,Mn,Et,Rn,bc,Pc,xc,yc,Sc,Mc,Oc,wc,kc,Ic,Bc,Tc,Dc,Rc,Ec,Ac,Vc){this.platformId=t;this.document=e;this.subscriptionPlusApiService=n;this.recommendationsApiService=r;this.vatDeductionCheckService=d;this.microInteractionsService=b;this.subscriptionPlusService=w;this.reevooReviewsApiService=k;this.serverResponseService=T;this.paymentMethodsService=W;this.productSchemaService=J;this.productListService=wt;this.tagManagerService=fe;this.productApiService=Mn;this.servicesService=Et;this.prerenderService=Rn;this.productService=bc;this.deviceService=Pc;this.ribbonService=xc;this.dialogService=yc;this.commonService=Sc;this.productStore=Mc;this.genericStore=Oc;this.deviceStore=wc;this.woltService=kc;this.ssrService=Ic;this.urlService=Bc;this.seoService=Tc;this.b2bService=Dc;this.userStore=Rc;this.b2bStore=Ec;this.router=Ac;this.utils=Vc;this.userLoginStatus$=this.userStore.selectUserLoginStatus();this.destroy$=new se;this.productId=this.getProductId();this.product=V(void 0);this.productV2=f(()=>this.getProductV2());this.reusableComponents=V(void 0);this.componentsBelowHeader=f(()=>this.reusableComponents()?.belowHeader??[]);this.componentsWalletReusable=f(()=>this.getComponentsWalletReusable());this.componentsUpper=f(()=>this.getUpperReusables());this.componentsLower=f(()=>this.getLowerReusables());this.bundleRecommendations=V([]);this.displayBundleRecommendations=f(()=>this.getDisplayBundleRecommendations());this.reevooReviewsSummary=V(void 0);this.reevooInitialReviews=V(void 0);this.bookFriendsData=V(void 0);this.showPlaceHolderHeroImage=V(void 0);this.heroImageUrl=f(()=>this.product()?.sku?.media?.galleryImages?.[0]?.url1);this.heroImageStatus=f(()=>this.getHeroImageStatus());this.ribbons=f(()=>this.product()?.sku?.ribbons);this.ribbonGroups=f(()=>this.getRibbonsGroups());this.productQuantities=V([]);this.selectedPricePerQty=$(this.b2bStore.getSelectedProductVolumeDiscount(),{initialValue:void 0});this.showVolumeDiscount=$(this.showVolumeDiscount$());this.showQuantity=f(()=>this.getShowQuantity());this.productQuantity=V(1);
3this.subscriptionPlans=$(this.fetchSubscriptions(),{initialValue:[]});this.subscriptionThreshold=f(()=>this.subscriptionPlans()?.[0]?.subscriptionThreshold??void 0);this.subscriptionPrice=f(()=>this.subscriptionPlans()?.[0]?.subscriptionPrice??0);this.isLoggedIn=$(this.userLoginStatus$,{initialValue:void 0});this.isMobile=f(()=>this.getIsMobile());this.isTablet=f(()=>this.getIsTablet());this.viewport=$(this.deviceStore.selectViewport());this.postalCode=$(this.genericStore.selectSelectedZipCode(),{initialValue:null});this.selectedStore=$(this.genericStore.selectSelectedStore(),{initialValue:null});this.preOrder=f(()=>this.product()?.stockRule?.deliveryRule?.preOrder);this.unavailableSKU=f(()=>this.getUnavailableSKU());this.canonicalUrl=f(()=>this.product()?.sku?.url);this.jsonSchemas=f(()=>this.getJsonSchemas());this.showFullText=f(()=>this.getShowFullText());this.btnClicked=V(!1);this.allowPurchases=f(()=>this.product()?.stockRule?.deliveryRule?.allowPurchases);this.uniqueStoreAssortment=f(()=>this.product()?.stockRule?.deliveryRule?.uniqueStoreAssortment);this.isPurchaseDisabled=f(()=>this.productService.isPurchaseDisabled(this.product()));this.displayAvailability=f(()=>!this.uniqueStoreAssortment()&&this.allowPurchases());this.displayPrices=f(()=>this.allowPurchases()||this.uniqueStoreAssortment()||this.isPurchaseDisabled());this.displayPaymentMethods=f(()=>this.paymentMethodsService.filterMethods(this.product()?.paymentMethodDtos??[]).some(t=>!t.disabled));this.displayWalletReusable=f(()=>this.hasWalletReusableContent());this.isCyprus=F.cyprus;this.topStickyVisible=!1;this.isB2B=F.b2b;this.isBrowser=!1;this.setupHeroImagePreloadEffect(),this.setupCanonicalRedirectionEffect(),this.setupTagManagerEffect(),this.setupFetchProductDataEffect(),this.setupReusablesEffect(),this.setupBookFriendsEffect(),this.setupReevooReviewsSummaryEffect(),this.setupReevooInitialReviewsEffect(),this.setupProductCleanupEffect(),this.setupVatDeductionEffect(),this.setupProductQuantityEffects(),this.setupProductCompareEffect(),this.setAddToCartBtnClickedEffect(),this.setupBundleRecommendationsEffect(),this.setSubscriptionPlansEffect(),this.setJustAddedRecommendationsDataEffect(),this.setClickEventsEffect(),this.setupMetaTagsEffect(),this.setupRobotsTagEffect(),this.setupPrerenderReadyEffect(),this.prevUrl=this.getPrevUrl()}ngOnInit(){this.isBrowser=K(this.platformId)}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}ngAfterViewInit(){}fetchProductData(){let t=this.productId();if(!t||this.redirectIfInvalidProductId(t))return;let e=this.postalCode(),n=this.selectedStore();e===null||n===null||(this.handleB2BCalls(t),this.fetchProductDetailsAndPrice(t))}fetchProductDetailsAndPrice(t){On({sku:this.productApiService.getProductData(t),productPage:this.productListService.retrieveProductPrice(t)}).pipe(we(1),te(this.destroy$)).subscribe(({sku:e,productPage:n})=>{let r=U(U({},e),n);r.version=3,this.product.set(r),this.productStore.setPdpServicesV3(r?.serviceGroups),this.woltService.setEligibility(r?.woltEligibility)})}setupHeroImagePreloadEffect(){z(()=>{if(this.heroImageStatus()==="placeholder")return;let t=new Image,e=this.heroImageUrl();e&&(t.src=e,this.showPlaceHolderHeroImage.set(!1),t.onerror=()=>this.showPlaceHolderHeroImage.set(!0))},{allowSignalWrites:!0})}redirectIfInvalidProductId(t){return t?.includes("prod")?(this.router.navigate(["/page-not-found"],{skipLocationChange:!0}),!0):!1}handleB2BCalls(t){this.isB2B&&this.b2bService.getProductVolumeDiscount(t)}redirectToCanonicalUrl(t,e){this.ssrService.isSsrServer()?(this.serverResponseService.appendHeader("Location",`${t}${e}`),this.serverResponseService.setStatus(301)):(this.router.navigateByUrl(e,{replaceUrl:!0,state:{canonicalRedirect:!0}}),this.prerenderService.setMetaStatusCode(301),this.prerenderService.setMetaHeader(`Location: ${t}${e}`),this.prerenderService.setPrerenderReadyStatus(!0,0))}constructCanonicalUrl(t){if(t?.canonicalUrl){let{canonicalUrl:e}=t;this.seoService.createCanonicalUrl(this.document.URL,{canonicalUrl:e})}}setupCanonicalRedirectionEffect(){z(()=>{let t=this.product()?.sku?.url;if(!t)return;let e=this.urlService.originHttps(),n=this.urlService.pathname();this.isB2B&&t.replaceAll("//","/"),n!==t&&(this.constructCanonicalUrl({canonicalUrl:t}),this.redirectToCanonicalUrl(e,t))})}setupTagManagerEffect(){z(()=>{let t=this.productV2();!t||!t.productId||(this.tagManagerService.serviceResponse("pdp",t,this.router.url),this.tagManagerService.viewItemEvent(t))})}setupDebugProductEffect(){z(()=>{let t=this.product();console.log("Product: ",t),console.log("Product version:",t?.version)})}setupFetchProductDataEffect(){z(()=>{this.fetchProductData()})}setupBookFriendsEffect(){z(()=>{let t=this.product();if(!t||!this.productService.isBook(t))return;let n=this.productId();n&&this.getBookFriendsData(n)})}setupReevooReviewsSummaryEffect(){z(()=>{let t=this.product();if(!t)return;let e=t.productId;e&&this.getReevooReviewsSummary(e)})}setupReevooInitialReviewsEffect(){z(()=>{let t=this.product();if(!t)return;let e=t.productId;e&&this.getReevooInitialReviews(e)})}setupProductCleanupEffect(){z(()=>{let t=this.productId();this.reusableComponents.set(void 0),this.bookFriendsData.set(void 0),this.reevooInitialReviews.set(void 0),this.reevooReviewsSummary.set(void 0),this.bundleRecommendations.set([]),this.productStore.clearGroupCollapsedStates(),this.productStore.setPdpServicesV3([]),this.productQuantity.set(1)},{allowSignalWrites:!0})}setupVatDeductionEffect(){z(()=>{let t=this.product();t&&this.vatDeductionCheckService.setVatDeductionEligible(t?.validAr39)})}getProductV2(){return this.productService.mapProductV3toProduct(this.product())?this.productService.mapProductV3toProduct(this.product()):lt}getComponentsWalletReusable(){let t=this.product();if(!t)return;let e=t.mirakl,n=this.reusableComponents()?.walletReusable,r=!e&&n?n:[];return this.productService.hasPriceGuarantee(t)?[...r,Io]:r}getHeroImageStatus(){return!this.heroImageUrl()||F.ssr?"placeholder":"loading"}getUnavailableSKU(){let t=this.product();if(t)return this.productService.isUnavailableSku(t)}getReusables(t){return this.commonService.getReusables("productPage",t)}getBookFriendsData(t){this.productApiService.getBookFriendsReviews(t).pipe(te(this.destroy$)).subscribe(e=>{let n={bookReviews:e.reviews,bookReviewsCount:e.numOfReviews,bookRating:e.averageRating};this.bookFriendsData.set(n)})}getJsonSchemas(){let t=this.product();if(!t)return[];let e=[],n=this.productService.isBook(t);return e.push(this.productSchemaService.buildProductSchema(t)),n&&e.push(this.productSchemaService.buildBookSchema(t)),e}getReevooReviewsSummary(t){this.reevooReviewsApiService.getReviewsSummary(t).pipe(te(this.destroy$)).subscribe(e=>{this.reevooReviewsSummary.set(e)})}getReevooInitialReviews(t){this.reevooReviewsApiService.getReviews(t,1).pipe(te(this.destroy$)).subscribe(e=>{this.reevooInitialReviews.set(e)})}navigationEnd$(){return this.router.events.pipe(An(t=>t instanceof Wn))}getIsMobile(){let t=this.viewport();return this.isBrowser&&t?t.innerWidth<=820:this.deviceService.isMobile()}getIsTablet(){let t=this.viewport();return this.isBrowser&&t?t.innerWidth>
3820&&t.innerHeight<1080:this.deviceService.isTablet()}getShowFullText(){if(!this.allowPurchases())return!0;let e=this.viewport();return this.isBrowser&&e?e.innerWidth>=1405:this.deviceService.isDesktop()}getRibbonsGroups(){let t=this.ribbons()??[];return t.length?this.ribbonService.getRibbonGroupsPdp(t):{complexRibbons:[],plainRibbons:[]}}getDisplayBundleRecommendations(){let t=this.bundleRecommendations();return Array.isArray(t)&&!!t.length}openRibbonDialog(t){this.dialogService.openDialogRibbon(t)}setupProductQuantityEffects(){z(()=>this.applyProductQuantitiesState(),{allowSignalWrites:!0}),z(()=>this.applyVolumeDiscountQuantity(),{allowSignalWrites:!0})}applyProductQuantitiesState(){if(!this.showQuantity()){this.productQuantities.set([]);return}let n=Ge(()=>this.product())?.maxCartQuantity??1,r=this.productListService.createQuantityList(n);this.productQuantities.set(r)}applyVolumeDiscountQuantity(){let t=this.selectedPricePerQty();if(!t?.qty)return;let e=t.qty;this.setProductQuantity(e)}updateProductQuantity(t){let e=t.value;this.setProductQuantity(e)}setProductQuantity(t){let e=+t;Number.isNaN(e)||(this.productQuantity.set(e),this.isB2B&&this.b2bStore.changeVolumeDiscount(e))}setupProductCompareEffect(){z(()=>{let t=this.product();t&&this.productListService.getCompareOnLoad([t])})}clickedButton(){this.btnClicked.set(!0)}setAddToCartBtnClickedEffect(){z(t=>{if(!this.btnClicked())return;let e=Ct(3e3).subscribe(()=>{this.btnClicked.set(!1)});t(()=>e.unsubscribe())},{allowSignalWrites:!0})}showVolumeDiscount$(){return this.b2bStore.selectProductVolumeDiscountOptions().pipe(je(t=>this.productService.showVolumeDiscount(t)))}getShowQuantity(){let t=this.product();if(!t)return!1;let e=this.showVolumeDiscount();return t.showSkuQuantity||this.isB2B&&!!e}setSubscriptionPlansEffect(){z(()=>{let t=this.subscriptionPlans();t.length&&this.subscriptionPlusService.setSubscriptionPlans(t)},{allowSignalWrites:!0})}setupBundleRecommendationsEffect(){z(()=>{let t=this.productId();t&&this.getBundleRecommendations(t)},{allowSignalWrites:!0})}getBundleRecommendations(t){this.recommendationsApiService.getBundleRecommendations(t).pipe(te(this.destroy$)).subscribe(e=>{Array.isArray(e)||this.bundleRecommendations.set([]),this.bundleRecommendations.set(e)})}fetchSubscriptions(){return this.subscriptionPlusApiService.getSubscriptionPlans(!1).pipe(je(t=>t?.subscriptions??[]))}populateReusableWithContext(t,e){return t.pageTemplate==="/recommendationReusable"&&(t.extendedContext={sku:this.product()?.sku?.id,skuIds:this.product()?.sku?.recommended,details:e}),t}setupReusablesEffect(){z(()=>{let t=this.productId();t&&this.getReusables(t).pipe().subscribe(e=>this.reusableComponents.set(e))},{allowSignalWrites:!0})}getUpperReusables(){let t=this.reusableComponents(),e=t?.upper??[];if(t)return e.map(n=>this.populateReusableWithContext(n,t.details))}getLowerReusables(){let t=this.reusableComponents(),e=t?.lower??[];if(t)return e.map(n=>this.populateReusableWithContext(n,t.details))}setJustAddedRecommendationsDataEffect(){z(()=>{let t=this.reusableComponents();if(!t)return;let n=[t.belowHeader,t.upper,t.lower,t.walletReusable].filter(d=>!!d).flat().find(d=>d?.reusable?.addToCart&&d?.reusable.reusableType.includes("recommendationReusable")),r=n?this.populateReusableWithContext(structuredClone(n)):void 0;this.productStore.setJustAddedReusableData(r)})}setClickEventsEffect(){z(()=>{let t=this.prevUrl,e=sessionStorage.getItem("citrusAdIds");this.productStore.setRedirectedFromSearch(!1),t?.includes("/search?")?this.productStore.setRedirectedFromSearch(!0):t?.includes("/cat/")&&e&&this.tagManagerService.adImpressionClick()})}getProductId(){return $(this.navigationEnd$().pipe(je(t=>decodeURIComponent(t.url.split("/").pop()??"").split("?")[0])),{equal:()=>!1})}setupMetaTagsEffect(){z(()=>{let t=this.product();if(!t)return;let e=t.sku.seo,n=e?.seoTitle??this.seoService.formatProductMetaTitle(t,this.productService),r=e?.seoDescription??this.seoService.formatProductMetaDescription(t,this.productService),d=t.sku.defaultKeywords?t.sku.defaultKeywords.toString():t.sku.displayName,b=t.sku.media?.heroImage?t.sku.media?.heroImage?.thumbnail:"",w=t.sku.url;this.utils.updateMetaTags(n,r,d,w,b)})}setupRobotsTagEffect(){z(()=>{let t=this.product();if(!t)return;let e=t.sku?.seo?.robots;e&&this.seoService.setRobotsTag(this.router.url,{robots:e})})}hasWalletReusableContent(){return this.getComponentsWalletReusable()?.some(e=>e&&Object.keys(e).length>0)??!1}setupPrerenderReadyEffect(){z(()=>{this.product()&&this.prerenderService.setPrerenderReadyStatus(!0)})}getPrevUrl(){return this.router?.currentNavigation()?.previousNavigation?.finalUrl?.toString()}};Sn.\u0275fac=function(e){return new(e||Sn)(g(X),g(ie),g(io),g(ei),g(po
3),g($t),g(no),g(ho),g(gt),g(mt),g(_t),g(Ue),g(rt),g(Zt),g(Qe),g(so),g(ne),g(pe),g(Jt),g(Y),g(ve),g(Ce),g(ot),g(de),g(ro),g(Wt),g(Yn),g(oi),g(vo),g(ue),g($e),g(it),g(ze))},Sn.\u0275cmp=M({type:Sn,selectors:[["app-product-v3"]],features:[tt([gt,Se,_t,{provide:ha,useFactory:t=>()=>t.scrollStrategies.close(),deps:[Kn]}])],decls:7,vars:5,consts:[["quantitySelect",""],[3,"json"],[1,"top-sticky",3,"ngClass"],[3,"product","bookFriendsData"],[1,"main-container"],[1,"bottom-sticky"],[1,"breadcrumb"],[3,"breadcrumb","inputMode","displayName"],[1,"product-container"],[1,"left-container"],[1,"gallery"],[1,"upper-ribbons--container"],[1,"upper-right-container"],[3,"product"],[3,"product","showPlaceHolderHeroImage"],[1,"top-specs"],[1,"right-container"],[1,"plain-ribbons"],[1,"product-title"],[3,"product","hasRibbons","reevooReviewsSummary","reevooInitialReviews"],[1,"rating-availability-container"],[1,"availability"],[1,"mobile-top-speccs"],["layoutVariant","inline",3,"product","bookFriendsData"],["triggerTopSticky","",1,"product-hidden-prices"],[1,"stock-rules"],[1,"services"],[1,"placeholder","b2b"],[1,"payment-methods"],[1,"bundle-recommendations"],[1,"middle-container"],[1,"upper-reusables"],[1,"accordions"],[3,"product","bookFriendsData","reevooReviewsSummary","reevooInitialReviews"],[1,"related-categories"],[1,"lower
3-reusables"],[1,"reusables-below-header",3,"ngClass"],[1,"app-dynamic-reusables",3,"component"],[1,"upper-ribbon",3,"class","background-color","color"],[1,"upper-ribbon"],[1,"text"],[1,"ic-info"],[1,"ic-info",3,"click"],[3,"ribbons"],["triggerTopSticky","",1,"product-hidden-prices",3,"passedElement"],[3,"isPdp"],["triggerTopSticky","",1,"pricing-details-container"],[1,"my-3"],[1,"add-to-cart-btn"],["triggerTopSticky","",1,"pricing-details-container",3,"passedElement"],[1,"pricing-details"],[1,"volume-discount"],[3,"productQuantity"],["triggerTopSticky","",3,"passedElement","isPDP","product"],[1,"product-quantity"],["mat-flat-button","","addToCartButton","",1,"cart-btn",3,"click","disabled","product","productQuantity"],[1,"mdc-button__wording"],["appearance","outline",1,"pbc-select"],["matSuffix","",1,"arrow",3,"ngClass"],["panelClass","pbc-select-panel pbc-select-panel-pdp","aria-label","Product quantity","disableOptionCentering","",3,"selectionChange","value"],[3,"value"],[1,"ic-check"],["src","assets/images/cart-dash.svg",1,"dash"],[1,"ic-cart"],[3,"product","subscriptionThreshold","subscriptionPrice"],[1,"wallet-reusables"],[1,"row","reusable-row",3,"ngClass"],[1,"col","col-12"],[3,"products"],[3,"ngClass"],[3,"relatedCategories"],[3,"quantityChanged","product","productQuantity","isLoggedIn"]],template:function(e,n){e&1&&(I(0,hf,1,1,"pbc-json-ld",1,zn),a(2,"div",2),_(3,"app-product-top-sticky",3),c(),a(4,"div",4),p(5,Jf,40,32),c(),p(6,eh,2,3,"div",5)),e&2&&(B(n.jsonSchemas()),o(2),s("ngClass",n.topStickyVisible?"visible":"hidden"),o(),s("product",n.product())("bookFriendsData",n.bookFriendsData()),o(2),u(n.product()?5:-1),o(),u(n.product()&&!n.isPurchaseDisabled()?6:-1))},dependencies:[Hi,ct,gr,pr,fr,hr,Cr,br,yr,mr,He,_r,Or,Pr,Sr,ii,un,Tr,wr,Mr,vr,Er,Oo,pt,Mo,at,St,j,Jn,Zn,to,Xn,bo,Po,_e],styles:['.reusable-usps[_ngcontent-%COMP%]{min-height:60px}@media(min-width:1080px){.reusable-slider-image[_ngcontent-%COMP%]{min-height:calc((100vh - 336px)*.4285)}}@media(max-width:1359.98px){.reusable-slider-image[_ngcontent-%COMP%]{min-height:calc((100vh - 336px)*.4285)}}@media(max-width:1079.98px){.reusable-slider-image[_ngcontent-%COMP%]{min-height:calc((100vh + 0px)*.4285)}}@media(max-width:819.98px){.reusable-slider-image[_ngcontent-%COMP%]{min-height:calc((100vw + 0px)*.5625 + 76px)}}@media(min-width:1080px){.reusable-slider-box[_ngcontent-%COMP%]{min-height:calc((100vh - 384px)*.4285)}}@media(max-width:1359.98px){.reusable-slider-box[_ngcontent-%COMP%]{min-height:calc((100vh - 208px)*.4285)}}@media(max-width:1079.98px){.reusable-slider-box[_ngcontent-%COMP%]{min-height:calc((100vh - 348px)*.4285)}}@media(max-width:819.98px){.reusable-slider-box[_ngcontent-%COMP%]{min-height:calc((100vw - 32px)*.56 + 48px)}}.reusable-slider-products[_ngcontent-%COMP%]{min-height:460px}@media(min-width:1080px){.reusable-slider-services[_ngcontent-%COMP%]{min-height:440px}}@media(max-width:1359.98px){.reusable-slider-services[_ngcontent-%COMP%]{min-height:440px}}@media(max-width:1079.98px){.reusable-slider-services[_ngcontent-%COMP%]{min-height:380px}}@media(max-width:819.98px){.reusable-slider-services[_ngcontent-%COMP%]{min-height:410px}}@media(min-width:1080px){.reusable-slider-categories[_ngcontent-%COMP%]{min-height:510px}}@media(max-width:1359.98px){.reusable-slider-categories[_ngcontent-%COMP%]{min-height:800px}}@media(max-width:1079.98px){.reusable-slider-categories[_ngcontent-%COMP%]{min-height:900px}}@media(max-width:819.98px){.reusable-slider-categories[_ngcontent-%COMP%]{min-height:700px}}.reusable-slider-blogs[_ngcontent-%COMP%]{min-height:250px}.reusable-slider-banners[_ngcontent-%COMP%]{min-height:calc((100vw - 400px)/8 + 112px)}@media(min-width:1080px){.reusable-marketplace[_ngcontent-%COMP%]{min-height:660px}}@media(max-width:1359.98px){.reusable-marketplace[_ngcontent-%COMP%]{min-height:650px}}@media(max-width:1079.98px){.reusable-marketplace[_ngcontent-%COMP%]{min-height:540px}}@media(max-width:819.98px){.reusable-marketplace[_ngcontent-%COMP%]{min-height:960px}}.reusable-slider-shops[_ngcontent-%COMP%]{min-height:345px}.reusable-inspired[_ngcontent-%COMP%]{min-height:400px}@media(min-width:1080px){.reusable-slider-why[_ngcontent-%COMP%]{min-height:400px}}@media(max-width:1359.98px){.reusable-slider-why[_ngcontent-%COMP%]{min-height:270px}}@media(max-width:1079.98px){.reusable-slider-why[_ngcontent-%COMP%]{min-height:310px}}@media(max-width:819.98px){.reusable-slider-why[_ngcontent-%COMP%]{min-height:380px}}.reusable-black-friday-banner[_ngcontent-%COMP%]{min-height:51px}.reusable-xmas2023-video[_ngcontent-%COMP%]{container-type:inline-size}.reusable-xmas2023-video[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{display:inline-block;min-height:calc(21cqi + 81px)}@media(max-width:819px){.reusable-xmas2023-video[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{min-height:calc(63cqi + 68px)}}.reusable-xmas2023-custom-boxes[_ngcontent-%COMP%]{container-type:inline-size}.reusable-xmas2023-custom-boxes[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{display:inline-block;min-height:calc(41cqi + 137px)}@media(max-width:1079px){.reusable-xmas2023-custom-boxes[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{min-height:calc(116cqi + 318px)}}@media(max-width:819px){.reusable-xmas2023-custom-boxes[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{min-height:calc(193cqi + 102px)}}.reusable-xmas2023-banner[_ngcontent-%COMP%]{container-type:inline-size}.reusable-xmas2023-banner[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{display:inline-block;box-sizing:border-box;min-height:calc(10.6cqi + 6px)}@media(max-width:819px){.reusable-xmas2023-banner[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{min-height:369px}}@media(max-width:619px){.reusable-xmas2023-banner[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{min-height:calc(61.7cqi + 3px)}}.reusable-xmas2023-lp-categories[_ngcontent-%COMP%]{container-type:inline-size}.reusable-xmas2023-lp-categories[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{display:block;box-sizing:border-box;min-height:334px}@media(max-width:1348px){.reusable-xmas2023-lp-categories[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{min-height:calc(4.5cqi + 548px)}}.reusable-xmas2023-services[_ngcontent-%COMP%]{container-type:inline-size}.reusable-xmas2023-services[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{display:block;box-sizing:border-box;min-height:50cqi}@media(max-width:819px){.reusable-xmas2023-services[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{min-height:calc(145.7cqi - 6px)}}.reusable-xmas2023-homepage-opening[_ngcontent-%COMP%]{container-type:inline-size}.reusable-xmas2023-homepage-opening[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{display:block;max-height:calc(16.6cqi + 49px)}@media(max-width:1079px){.reusable-xmas2023-homepage-opening[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{max-height:47cqi}}.reusable-xmas2023-homepage-banner-intro[_ngcontent-%COMP%]{container-type:inline-size}.reusable-xmas2023-homepage-banner-intro[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{display:block;max-height:calc(7cqi + 130px)}@media(max-width:1079px){.reusable-xmas2023-homepage-banner-intro[_ngcontent-%COMP%] >
3 *[_ngcontent-%COMP%]{max-height:calc(13cqi + 60px)}}.reusable-slider-registration[_ngcontent-%COMP%]{min-height:185px}.pbc-form-field[_ngcontent-%COMP%]{--mat-form-field-filled-active-indicator-height: 1px;--mat-form-field-filled-focus-active-indicator-height: 2px;--mat-form-field-filled-container-shape: 8px;--mat-form-field-outlined-outline-width: 1px;--mat-form-field-outlined-focus-outline-width: 1px;--mat-form-field-outlined-container-shape: 8px;--mat-form-field-filled-caret-color: ;--mat-form-field-filled-focus-active-indicator-color: ;--mat-form-field-filled-focus-label-text-color: #141719;--mat-form-field-filled-container-color: ;--mat-form-field-filled-disabled-container-color: ;--mat-form-field-filled-label-text-color: #141719;--mat-form-field-filled-hover-label-text-color: #141719;--mat-form-field-filled-disabled-label-text-color: #141719;--mat-form-field-filled-input-text-color: #000000;--mat-form-field-filled-disabled-input-text-color: #000000;--mat-form-field-filled-input-text-placeholder-color: ;--mat-form-field-filled-error-hover-label-text-color: #141719;--mat-form-field-filled-error-focus-label-text-color: #141719;--mat-form-field-filled-error-label-text-color: #141719;--mat-form-field-filled-error-caret-color: ;--mat-form-field-filled-active-indicator-color: ;--mat-form-field-filled-disabled-active-indicator-color: ;--mat-form-field-filled-hover-active-indicator-color: ;--mat-form-field-filled-error-active-indicator-color: ;--mat-form-field-filled-error-focus-active-indicator-color: ;--mat-form-field-filled-error-hover-active-indicator-color: ;--mat-form-field-outlined-caret-color: ;--mat-form-field-outlined-focus-outline-color: #1976d2;--mat-form-field-outlined-focus-label-text-color: #141719;--mat-form-field-outlined-label-text-color: #141719;--mat-form-field-outlined-hover-label-text-color: #141719;--mat-form-field-outlined-disabled-label-text-color: #141719;--mat-form-field-outlined-input-text-color: #000000;--mat-form-field-outlined-disabled-input-text-color: #000000;--mat-form-field-outlined-input-text-placeholder-color: #000000;--mat-form-field-outlined-error-caret-color: ;--mat-form-field-outlined-error-focus-label-text-color: #141719;--mat-form-field-outlined-error-label-text-color: #141719;--mat-form-field-outlined-error-hover-label-text-color: #141719;--mat-form-field-outlined-outline-color: #ecebe8;--mat-form-field-outlined-disabled-outline-color: #0000001F;--mat-form-field-outlined-hover-outline-color: #1976d2;--mat-form-field-outlined-error-focus-outline-color: #1976d2;--mat-form-field-outlined-error-hover-outline-color: #1976d2;--mat-form-field-outlined-error-outline-color: #f3bab4;--mat-form-field-focus-select-arrow-color: ;--mat-form-field-disabled-input-text-placeholder-color: ;--mat-form-field-state-layer-color: ;--mat-form-field-error-text-color: #9a2525;--mat-form-field-select-option-text-color: inherit;--mat-form-field-select-disabled-option-text-color: GrayText;--mat-form-field-leading-icon-color: unset;--mat-form-field-disabled-leading-icon-color: unset;--mat-form-field-trailing-icon-color: unset;--mat-form-field-disabled-trailing-icon-color: unset;--mat-form-field-error-focus-trailing-icon-color: unset;--mat-form-field-error-hover-trailing-icon-color: unset;--mat-form-field-error-trailing-icon-color: unset;--mat-form-field-enabled-select-arrow-color: ;--mat-form-field-disabled-select-arrow-color: ;--mat-form-field-hover-state-layer-opacity: ;--mat-form-field-focus-state-layer-opacity: ;--mat-form-field-container-height: 60px;--mat-form-field-filled-label-display: block;--mat-form-field-container-vertical-padding: 16px;--mat-form-field-filled-with-label-container-padding-top: 24px;--mat-form-field-filled-with-label-container-padding-bottom: 8px;--mat-form-field-filled-label-text-font: var(--mdc-typography-font-family);--mat-form-field-filled-label-text-size: 16px;--mat-form-field-filled-label-text-tracking: .03125em;--mat-form-field-filled-label-text-weight: 600;--mat-form-field-outlined-label-text-font: var(--mdc-typography-font-family);--mat-form-field-outlined-label-text-size: 16px;--mat-form-field-outlined-label-text-tracking: .03125em;--mat-form-field-outlined-label-text-weight: 600;--mat-form-field-container-text-font: var(--mdc-typography-font-family);--mat-form-field-container-text-line-height: 24px;--mat-form-field-container-text-size: 16px;--mat-form-field-container-text-tracking: .03125em;--mat-form-field-container-text-weight: 400;--mat-form-field-outlined-label-text-populated-size: 16px;--mat-form-field-subscript-text-font: var(--mdc-typography-font-family);--mat-form-field-subscript-text-line-height: 14px;--mat-form-field-subscript-text-size: 12px;--mat-form-field-subscript-text-tracking: .0333333333em;--mat-form-field-subscript-text-weight: 400}.pbc-form-field.mat-mdc-form-field[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper[_ngcontent-%COMP%]{height:unset}.pbc-form-field.mat-mdc-form-field[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]{padding-bottom:16px}.pbc-form-field.mat-mdc-form-field[_ngcontent-%COMP%] .mat-mdc-form-field-subscript-wrapper[_ngcontent-%COMP%] .mat-mdc-form-field-error-wrapper[_ngcontent-%COMP%], .pbc-form-field.mat-mdc-form-field[_ngcontent-%COMP%] .mat-mdc-form-field-subscript-wrapper[_ngcontent-%COMP%] .mat-mdc-form-field-hint-wrapper[_ngcontent-%COMP%]{padding:0 12px}.top-sticky[_ngcontent-%COMP%]{top:0;left:0;right:0;z-index:4;position:fixed;background-color:#fff;transition:transform .4s ease,opacity .2s ease;box-shadow:0 4px 20px #00000029}@media(max-width:820px){.top-sticky[_ngcontent-%COMP%]{display:none}}@media(min-width:1080px){.top-sticky.hidden[_ngcontent-%COMP%]{opacity:0;pointer-events:none;transform:translateY(-100%);transition:transform .5s ease,opacity .5s ease}.top-sticky.visible[_ngcontent-%COMP%]{z-index:4;opacity:1;transform:translateY(84px);transition:transform .4s ease,opacity .2s ease}}.bottom-sticky[_ngcontent-%COMP%]{display:none}@media(max-width:820px){.bottom-sticky[_ngcontent-%COMP%]{width:100%;min-height:10%;max-height:20%;position:fixed;background-color:#fff;bottom:0;display:block;box-shadow:0 4px 20px #00000029;z-index:5}}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%]{min-height:calc(100vh - 106px)}@media(max-width:819.98px){[_nghost-%COMP%] .main-container[_ngcontent-%COMP%]{min-height:calc(100dvh - 114px)}}@media screen and (max-width:1080px){[_nghost-%COMP%] .main-container[_ngcontent-%COMP%]{overflow-x:hidden}}@media screen and (max-width:820px){[_nghost-%COMP%] .main-container[_ngcontent-%COMP%]{margin-bottom:16px}}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .ic-info[_ngcontent-%COMP%]{cursor:pointer}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .breadcrumb[_ngcontent-%COMP%]{background-color:#fff;width:100%;padding:4px 0;height:44px}@media screen and (max-width:1080px){[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .breadcrumb[_ngcontent-%COMP%]{background-color:#f5f6f7}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .breadcrumb[_ngcontent-%COMP%] app-breadcrumb[_ngcontent-%COMP%] .mdc-icon-button:has(.ic-home){background-color:transparent}}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%]{display:grid;grid-template-columns:60% 40%;grid-template-areas:"left right"}@media screen and (max-width:1080px){[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%]{padding-top:20px;grid-template-columns:100%;grid-template-areas:"left" "right"}}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .left-container[_ngcontent-%COMP%]{container-type:inline-size;grid-area:left;position:sticky;padding:24px;top:96px;bottom:0;height:fit-content;z-index:1}@media screen and (max-width:1080px){[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .left-container[_ngcontent-%COMP%]{padding:0}}@media screen and (max-width:1080px){[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .left-container[_ngcontent-%COMP%]{position:unset;margin:0 0 26px}}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%]{grid-area:right;padding:24px;background-color:#f5f6f7;border-top-left-radius:16px;border-top-right-radius:16px;height:max-content}@media screen and (min-width:820px){[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%]{margin:24px;border-radius:16px}}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .plain-ribbons[_ngcontent-%COMP%]{height:auto}@media(max-width:1080px){[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .plain-ribbons[_ngcontent-%COMP%]{height:26px}}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .to
3p-specs[_ngcontent-%COMP%]{display:none}@media(min-width:820px){[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .top-specs[_ngcontent-%COMP%]{display:block;margin-top:30px}}@media(max-width:1080px){[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .top-specs[_ngcontent-%COMP%]{padding:0 24px}}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .mobile-top-speccs[_ngcontent-%COMP%]{display:none}@media(max-width:1080px){[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .mobile-top-speccs[_ngcontent-%COMP%]{display:block;overflow:hidden}}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .gallery[_ngcontent-%COMP%]{position:relative}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .gallery[_ngcontent-%COMP%] .upper-ribbons--container[_ngcontent-%COMP%]{position:absolute;left:15px;top:15px;display:flex;flex-direction:column;gap:6px;z-index:1;max-width:fit-content}@media(max-width:820px){[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .gallery[_ngcontent-%COMP%] .upper-ribbons--container[_ngcontent-%COMP%]{left:0}}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .gallery[_ngcontent-%COMP%] .upper-ribbons--container[_ngcontent-%COMP%] .upper-ribbon[_ngcontent-%COMP%]{display:flex;gap:5px;width:fit-content;padding:10px 16px;border-radius:6px;font-size:14px;font-weight:600;line-height:16px;font-weight:700}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .gallery[_ngcontent-%COMP%] .upper-ribbons--container[_ngcontent-%COMP%] .upper-ribbon.wallet[_ngcontent-%COMP%]{display:flex;gap:4px}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .gallery[_ngcontent-%COMP%] .upper-ribbons--container[_ngcontent-%COMP%] .upper-ribbon.wallet[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{max-width:30ch;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media(max-width:820px){[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .gallery[_ngcontent-%COMP%] .upper-ribbons--container[_ngcontent-%COMP%] .upper-ribbon[_ngcontent-%COMP%]{border-radius:0 6px 6px 0/0px 6px 6px 0px;font-size:12px;font-weight:400;line-height:14px;font-weight:700}}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .gallery[_ngcontent-%COMP%] .upper-right-container[_ngcontent-%COMP%]{position:absolute;right:15px;top:15px;display:flex;flex-direction:column;gap:12px;z-index:1}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .product-title[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .rating-availability-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px}@media(min-width:1080px){[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .rating-availability-container[_ngcontent-%COMP%] .availability[_ngcontent-%COMP%]{padding-bottom:24px}}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .pricing-details-container[_ngcontent-%COMP%]{width:100%;background-color:#fff;border-radius:12px;padding:24px}@media screen and (max-width:361px){[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .pricing-details-container[_ngcontent-%COMP%]{padding:24px 14px}}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .pricing-details-container[_ngcontent-%COMP%] .pricing-details[_ngcontent-%COMP%] + .volume-discount[_ngcontent-%COMP%]{margin-top:24px}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .product-hidden-prices[_ngcontent-%COMP%]{display:none}@media(min-width:820px){[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .product-hidden-prices[_ngcontent-%COMP%]{display:block}}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .add-to-cart-btn[_ngcontent-%COMP%]{display:none}@media(min-width:820px){[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .add-to-cart-btn[_ngcontent-%COMP%]{display:flex;gap:8px;width:100%;height:52px;margin:24px 0}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .add-to-cart-btn[_ngcontent-%COMP%] .cart
3-btn[mat-flat-button][_ngcontent-%COMP%]{font-size:16px;font-weight:600;line-height:19px;font-weight:700;gap:8px;width:100%;height:100%;display:flex;border-radius:12px}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .add-to-cart-btn[_ngcontent-%COMP%] .cart-btn[mat-flat-button][_ngcontent-%COMP%] .dash[_ngcontent-%COMP%]{position:absolute;opacity:0;transition:opacity .3s ease-in-out;left:0}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .add-to-cart-btn[_ngcontent-%COMP%] .cart-btn[mat-flat-button][_ngcontent-%COMP%] .ic-cart[_ngcontent-%COMP%]:before{font-size:24px;margin-bottom:5px}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .add-to-cart-btn[_ngcontent-%COMP%] .cart-btn[_ngcontent-%COMP%]:hover .dash[_ngcontent-%COMP%]{opacity:1}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .add-to-cart-btn[_ngcontent-%COMP%] .mdc-button__wording[_ngcontent-%COMP%]{display:flex;align-items:center;transition:all .4s ease-in-out;gap:5px;margin-left:4px}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .add-to-cart-btn[_ngcontent-%COMP%] .mdc-button[_ngcontent-%COMP%]:hover .mdc-button__wording[_ngcontent-%COMP%]{transform:translate(20px)}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .add-to-cart-btn[_ngcontent-%COMP%] .mdc-button[_ngcontent-%COMP%]:hover .mdc-button__movement[_ngcontent-%COMP%]{opacity:1}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .add-to-cart-btn[_ngcontent-%COMP%] app-mdc-select-field .mdc-select.mdc-select--monochrome{border:1px solid #ffd4b0;border-radius:12px}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .add-to-cart-btn[_ngcontent-%COMP%] app-mdc-select-field .mdc-select.mdc-select--monochrome .mdc-select__dropdown-icon{margin:0 6px 6px -6px}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .add-to-cart-btn[_ngcontent-%COMP%] app-mdc-select-field .mdc-select.mdc-select--outlined .mdc-select__anchor{height:52px;border:1px solid #ffd4b0;border-radius:12px}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .add-to-cart-btn[_ngcontent-%COMP%] app-mdc-select-field .mdc-select.mdc-select--outlined .mdc-select__anchor .mdc-select__selected-text-container{min-width:35px}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .add-to-cart-btn[_ngcontent-%COMP%] app-mdc-select-field .mdc-select.mdc-select--outlined .mdc-select__anchor .mdc-select__selected-text-container .mdc-select__selected-text{font-size:14px;font-weight:600;line-height:16px;text-align:center;padding-right:5px;padding-top:10px}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .add-to-cart-btn[_ngcontent-%COMP%] app-mdc-select-field .mdc-menu{min-width:0;border-radius:8px;padding:0;margin-top:4px}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .add-to-cart-btn[_ngcontent-%COMP%] app-mdc-select-field .mdc-menu li{padding-left:0;font-size:14px;font-weight:600;line-height:16px}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .add-to-cart-btn[_ngcontent-%COMP%] app-mdc-select-field .mdc-menu li span{font-size:14px;font-weight:600;line-height:16px}}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .add-to-cart-btn[_ngcontent-%COMP%] .pbc-select[_ngcontent-%COMP%]{--mat-form-field-filled-active-indicator-height: 1px;--mat-form-field-filled-focus-active-indicator-height: 2px;--mat-form-field-filled-container-shape: 8px;--mat-form-field-outlined-outline-width: 1px;--mat-form-field-outlined-focus-outline-width: 1px;--mat-form-field-outlined-container-shape: 8px;--mat-form-field-filled-caret-color: ;--mat-form-field-filled-focus-active-indicator-color: ;--mat-form-field-filled-focus-label-text-color: #141719;--mat-form-field-filled-container-color: ;--mat-form-field-filled-disabled-container-color: ;--mat-form-field-filled-label-text-color: #141719;--mat-form-field-filled-hover-label-text-color: #141719;--mat-form-field-filled-disabled-label-text-color: #141719;--mat-form-field-filled-input-text-color: #000000;--mat-form-field-filled-disabled-input-text-color: #000000;--mat-form-field-filled-input-text-placeholder-color: ;--mat-form-field-filled-error-hover-label-text-color: #141719;--mat-form-field-filled-error-focus-label-text-color: #141719;--mat-form-field-filled-error-label-text-color: #141719;--mat-form-field-filled-error-caret-color: ;--mat-form-field-filled-active-indicator-color: ;--mat-form-field-filled-disabled-active-indicator-color: ;--mat-form-field-filled-hover-active-indicator-color: ;--mat-form-field-filled-error-active-indicator-color: ;--mat-form-field-filled-error-focus-active-indicator-color: ;--mat-form-field-filled-error-hover-active-indicator-color: ;--mat-form-field-outlined-caret-color: ;--mat-form-field-outlined-focus-outline-color: #1976d2;--mat-form-field-outlined-focus-label-text-color: #141719;--mat-form-field-outlined-label-text-color: #141719;--mat-form-field-outlined-hover-label-text-color: #141719;--mat-form-field-outlined-disabled-label-text-color: #141719;--mat-form-field-outlined-input-text-color: #000000;--mat-form-field-outlined-disabled-input-text-color: #000000;--mat-form-field-outlined-input-text-placeholder-color: #000000;--mat-form-field-outlined-error-caret-color: ;--mat-form-field-outlined-error-focus-label-text-color: #141719;--mat-form-field-outlined-error-label-text-color: #141719;--mat-form-field-outlined-error-hover-label-text-color: #141719;--mat-form-field-outlined-outline-color: #ecebe8;--mat-form-field-outlined-disabled-outline-color: #0000001F;--mat-form-field-outlined-hover-outline-color: #1976d2;--mat-form-field-outlined-error-focus-outline-color: #1976d2;--mat-form-field-outlined-error-hover-outline-color: #1976d2;--mat-form-field-outlined-error-outline-color: #f3bab4;--mat-form-field-focus-select-arrow-color: ;--mat-form-field-disabled-input-text-placeholder-color: ;--mat-form-field-state-layer-color: ;--mat-form-field-error-text-color: #9a2525;--mat-form-field-select-option-text-color: inherit;--mat-form-field-select-disabled-option-text-color: GrayText;--mat-form-field-leading-icon-color: unset;--mat-form-field-disabled-leading-icon-color: unset;--mat-form-field-trailing-icon-color: unset;--mat-form-field-disabled-trailing-icon-color: unset;--mat-form-field-error-focus-trailing-icon-color: unset;--mat-form-field-error-hover-trailing-icon-color: unset;--mat-form-field-error-trailing-icon-color: unset;--mat-form-field-enabled-select-arrow-color: ;--mat-form-field-disabled-select-arrow-color: ;--mat-form-field-hover-state-layer-opacity: ;--mat-form-field-focus-state-layer-opacity: ;--mat-form-field-container-height: 60px;--mat-form-field-filled-label-display: block;--mat-form-field-container-vertical-padding: 16px;--mat-form-field-filled-with-label-container-padding-top: 24px;--mat-form-field-filled-with-label-container-padding-bottom: 8px;--mat-form-field-filled-label-text-font: var(--mdc-typography-font-family);--mat-form-field-filled-label-text-size: 16px;--mat-form-field-filled-label-text-tracking: .03125em;--mat-form-field-filled-label-text-weight: 600;--mat-form-field-outlined-label-text-font: var(--mdc-typography-font-family);--mat-form-field-outlined-label-text-size: 16px;--mat-form-field-outlined-label-text-tracking: .03125em;--mat-form-field-outlined-label-text-weight: 600;--mat-form-field-container-text-font: var(--mdc-typography-font-family);--mat-form-field-container-text-line-height: 24px;--mat-form-field-container-text-size: 16px;--mat-form-field-container-text-tracking: .03125em;--mat-form-field-container-text-weight: 400;--mat-form-field-outlined-label-text-populated-size: 16px;--mat-form-field-subscript-text-font: var(--mdc-typography-font-family);--mat-form-field-subscript-text-line-height: 14px;--mat-form-field-subscript-text-size: 12px;--mat-form-field-subscript-text-tracking: .0333333333em;--mat-form-field-subscript-text-weight: 400;align-items:flex-end;width:70px;--mat-form-field-container-height: 54px;--mat-form-field-container-vertical-padding: 14px;--mat-form-field-outlined-container-shape: 12px;--mat-form-field-outlined-outline-color: #ffd4b0;--mat-form-field-outlined-hover-outline-color: #ffd4b0}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .add-to-cart-btn[_ngcontent-%COMP%] .pbc-select[_ngcontent-%COMP%] .mdc-text-field--outlined{height:var(--mat-form-field-container-height);padding-left:14px;border-radius:var(--mat-form-field-outlined-container-shape)}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .add-to-cart-btn[_ngcontent-%COMP%] .pbc-select[_ngcontent-%COMP%] .mdc-text-field--outlined:hover .mdc-notched-outline__leading, [_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .add-to-cart-btn[_ngcontent-%COMP%] .pbc-select[_ngcontent-%COMP%] .mdc-text-field--outlined:hover .mdc-notched-outline__notch, [_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .add-to-cart-btn[_ngcontent-%COMP%] .pbc-select[_ngcontent-%COMP%] .mdc-text-field--outlined:hover .mdc-notched-outline__trailing{border-color:var(--mat-form-field-outlined-hover-outline-color)}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .add-to-cart-btn[_ngcontent-%COMP%] .pbc-select[_ngcontent-%COMP%] .mdc-text-field--outlined .mdc-notched-outline__leading, [_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .add-to-cart-btn[_ngcontent-%COMP%] .pbc-select[_ngcontent-%COMP%] .mdc-text-field--outlined .mdc-notched-outline__notch, [_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .add-to-cart-btn[_ngcontent-%COMP%] .pbc-select[_ngcontent-%COMP%] .mdc-text-field--outlined .mdc-notched-outline__trailing{border-color:var(--mat-form-field-outlined-outline-color)}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .add-to-cart-btn[_ngcontent-%COMP%] .pbc-select[_ngcontent-%COMP%] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mat-form-field-outlined-container-shape);border-bottom-left-radius:var(--mat-form-field-outlined-container-shape)}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .add-to-cart-btn[_ngcontent-%COMP%] .pbc-select[_ngcontent-%COMP%] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-right-radius:var(--mat-form-field-outlined-container-shape);border-bottom-right-radius:var(--mat-form-field-outlined-container-shape)}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .add-to-cart-btn[_ngcontent-%COMP%] .pbc-select[_ngcontent-%COMP%] .mdc-text-field--outlined .mat-mdc-form-field-infix{display:flex;justify-content:center;align-items:center;padding:0;width:unset}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .add-to-cart-btn[_ngcontent-%COMP%] .pbc-select[_ngcontent-%COMP%] .mdc-text-field--outlined .mat-mdc-form-field-infix .mat-mdc-select{--mat-select-trigger-text-weight: 700}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .add-to-cart-btn[_ngcontent-%COMP%] .pbc-select[_ngcontent-%COMP%] .mdc-text-field--outlined .mat-mdc-form-field-infix .mat-mdc-select .mat-mdc-select-value{font-size:14px;font-weight:400;line-height:16px;font-weight:600}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .add-to-cart-btn[_ngcontent-%COMP%] .pbc-select[_ngcontent-%COMP%] .mat-mdc-form-field-icon-suffix{margin:0 6px 0 0;padding:unset}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .add-to-cart-btn[_ngcontent-%COMP%] .pbc-select[_ngcontent-%COMP%] .mat-mdc-form-field-subscript-wrapper .mat-mdc-form-field-error-wrapper, [_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .add-to-cart-btn[_ngcontent-%COMP%] .pbc-select[_ngcontent-%COMP%] .mat-mdc-form-field-subscript-wrapper .mat-mdc-form-field-hint-wrapper{padding:0}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .add-to-cart-btn[_ngcontent-%COMP%] .pbc-select[_ngcontent-%COMP%] .mat-mdc-select-arrow{display:none}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .add-to-cart-btn[_ngcontent-%COMP%] .pbc-select[_ngcontent-%COMP%] [matSuffix]:before{font-size:20px}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .stock-rules[_ngcontent-%COMP%]{width:100%;height:auto;margin:24px 0}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .stock-rules[_ngcontent-%COMP%]:has(~*:empty){margin:24px 0 0}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .wallet-reusables[_ngcontent-%COMP%]{gap:24px;display:grid;margin:24px 0 0}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .wallet-reusables[_ngcontent-%COMP%]:has(~*):not(:empty){margin:24px 0}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .wallet-reusables[_ngcontent-%COMP%]:empty{margin:0}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .wallet-reusables[_ngcontent-%COMP%] .promo-services[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .services[_ngcontent-%COMP%]{width:100%;height:max-content}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .product-container[_ngcontent-%COMP%] .payment-methods[_ngcontent-%COMP%]{width:100%;height:auto}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .upper-categories[_ngcontent-%COMP%], [_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .reusables-below-header[_ngcontent-%COMP%], [_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .upper-reusables[_ngcontent-%COMP%], [_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .lower-reusables[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .bundle-recommendations[_ngcontent-%COMP%]{padding:0 24px 24px}@media(max-width:1080px){[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .bundle-recommendations[_ngcontent-%COMP%]{background-color:#f5f6f7}}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .middle-container[_ngcontent-%COMP%]{padding:0 24px 24px}@media(max-width:1080px){[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .middle-container[_ngcontent-%COMP%]{background-color:#f5f6f7}}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .lower-reusables[_ngcontent-%COMP%]{padding:0 24px 24px}@media(max-width:1080px){[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .lower-reusables[_ngcontent-%COMP%]{background-color:#f5f6f7}}@media(max-width:1080px){[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .lower-reusables[_ngcontent-%COMP%]{background-color:#fff}}[_nghost-%COMP%] .main-container[_ngcontent-%COMP%] .related-categories[_ngcontent-%COMP%]{margin-top:28px}'],changeDetection:0});var Oe=Sn;var vB=[{path:":productId",component:Oe},{path:":productSlug/:productId",component:Oe},{path:":categorySlug/:productSlug/:productId",component:Oe},{path:":categorySlug/:categorySlug/:productSlug/:productId",component:Oe},{path:":categorySlug/:categor
3ySlug/:categorySlug/:productSlug/:productId",component:Oe},{path:":categorySlug/:categorySlug/:categorySlug/:categorySlug/:productSlug/:productId",component:Oe},{path:":categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:productSlug/:productId",component:Oe},{path:":categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:productSlug/:productId",component:Oe},{path:":categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:productSlug/:productId",component:Oe},{path:":categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:productSlug/:productId",component:Oe},{path:":categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:productSlug/:productId",component:Oe},{path:":categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:productSlug/:productId",component:Oe},{path:":categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:productSlug/:productId",component:Oe},{path:":categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:productSlug/:productId",component:Oe},{path:":categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:productSlug/:productId",component:Oe}],bB=[{path:":productId",component:Me},{path:":productSlug/:productId",component:Me},{path:":categorySlug/:productSlug/:productId",component:Me},{path:":categorySlug/:categorySlug/:productSlug/:productId",component:Me},{path:":categorySlug/:categorySlug/:categorySlug/:productSlug/:productId",component:Me},{path:":categorySlug/:categorySlug/:categorySlug/:categorySlug/:productSlug/:productId",component:Me},{path:":categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:productSlug/:productId",component:Me},{path:":categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:productSlug/:productId",component:Me},{path:":categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:productSlug/:productId",component:Me},{path:":categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:productSlug/:productId",component:Me},{path:":categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:productSlug/:productId",component:Me},{path:":categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:productSlug/:productId",component:Me},{path:":categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:productSlug/:productId",component:Me},{path:":categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:productSlug/:productId",component:Me},{path:":categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:categorySlug/:productSlug/:productId",component:Me}];export{bB as PRODUCT_PAGE_ROUTES,vB as PRODUCT_PAGE_ROUTES_v3};
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.