1import{a as O,b as T}from"./chunk-PRLBP2IN.js";import{a as Q,b as E}from"./chunk-E6VMIHRC.js";import{d as D,f as I,i as j,j as k}from"./chunk-OOA5EYTC.js";import"./chunk-GZJZXK6X.js";import"./chunk-GIRIV72P.js";import"./chunk-LYJWQV3W.js";import"./chunk-24DPZVIU.js";import"./chunk-EFOBFJRV.js";import"./chunk-JMFDFXXN.js";import"./chunk-6VSN5YHZ.js";import"./chunk-BGA6UDUC.js";import"./chunk-CSDXJUXG.js";import"./chunk-ORGB5NFE.js";import"./chunk-K4BLUHY6.js";import"./chunk-NVPWZZ7R.js";import"./chunk-LMF5AJT6.js";import"./chunk-YCDARPRO.js";import"./chunk-OB6MFATA.js";import"./chunk-XQSSCDNP.js";import"./chunk-RR3R5IJD.js";import"./chunk-QCBKXSQW.js";import"./chunk-WBBBVTJX.js";import"./chunk-7RAXUPZE.js";import"./chunk-IKP2ONQ7.js";import"./chunk-CBAYNOGM.js";import"./chunk-KSYXMBUL.js";import"./chunk-IYOHSNPO.js";import{e as A}from"./chunk-KRKIQ2TV.js";import"./chunk-44A4KSRB.js";import"./chunk-LFHSPSO5.js";import"./chunk-T5J32HSD.js";import"./chunk-IMKTUD5I.js";import"./chunk-4GCUX777.js";import"./chunk-GRRFE2BC.js";import"./chunk-GCRP7667.js";import"./chunk-2SCWBUIU.js";import"./chunk-HQEPASSW.js";import"./chunk-LUEHF5PO.js";import"./chunk-ZRHKXGI3.js";import"./chunk-U4QYWPJ3.js";import"./chunk-LCRGDPJM.js";import"./chunk-XNQ4JGNR.js";import"./chunk-GXYVA2ZD.js";import"./chunk-IM64UHS4.js";import"./chunk-WFHH2N4S.js";import"./chunk-PWBN7PST.js";import"./chunk-OERSINYH.js";import"./chunk-YNNRKZXE.js";import"./chunk-DBKDBSDA.js";import"./chunk-2Z6KJNRB.js";import"./chunk-YSVVIFWD.js";import"./chunk-U36ERWMU.js";import"./chunk-OVCATQLD.js";import"./chunk-RK2EJRLU.js";import"./chunk-THI23ZVF.js";import"./chunk-WEWQBOBD.js";import"./chunk-EIC64LQR.js";import"./chunk-J4FRGBLG.js";import"./chunk-FZY4CD7N.js";import"./chunk-XPGZ6CTJ.js";import"./chunk-4EHFK5CI.js";import"./chunk-5W3ETIPA.js";import"./chunk-LTEAFB7R.js";import"./chunk-DAMXFTWG.js";import"./chunk-TFBHHCHM.js";import"./chunk-GNA4FUO4.js";import"./chunk-SLVOWBLX.js";import"./chunk-UVOVMOG7.js";import"./chunk-U5NLUX5X.js";import"./chunk-LNN4DYKR.js";import"./chunk-Z7SQWVYA.js";import"./chunk-3MHGU5DN.js";import"./chunk-YSYPBGOL.js";import"./chunk-KGM2T2DP.js";import"./chunk-AAP6M5Y7.js";import"./chunk-SHR52YWT.js";import"./chunk-HE5F25ZH.js";import"./chunk-4CRMFJT2.js";import"./chunk-3SUBGVO5.js";import"./chunk-DHTMITLT.js";import"./chunk-3RPDGSPJ.js";import"./chunk-OWMMQGNC.js";import"./chunk-EV4FZB7B.js";import"./chunk-G533VNOI.js";import"./chunk-TFIYBLSU.js";import"./chunk-CIOLSFSG.js";import"./chunk-EQS6JBRV.js";import"./chunk-JJLEM4GF.js";import"./chunk-T5V56VU5.js";import"./chunk-7SJ7BZLT.js";import"./chunk-CMWBOJRF.js";import{Ta as F}from"./chunk-57TVUQDS.js";import"./chunk-XL7XUT33.js";import"./chunk-VEMBTA7W.js";import{l as _}from"./chunk-DA7A7BFM.js";import"./chunk-FDIT6INR.js";import"./chunk-SG23CULU.js";import"./chunk-ITHKTER6.js";import"./chunk-HEB6NIEA.js";import"./chunk-HVWLLMEI.js";import"./chunk-KNAGFDAY.js";import"./chunk-TB3DSAT4.js";import"./chunk-42MQZKUZ.js";import"./chunk-UF63S23H.js";import{ta as R}from"./chunk-X73SDHYL.js";import"./chunk-ZNBNGGFO.js";import"./chunk-LYPGPWQS.js";import{E as S}from"./chunk-PAKKVVEV.js";import{$b as n,Fc as p,Ga as x,Hc as l,Mc as m,Nc as P,Ob as d,Oc as B,Pc as c,Vc as u,Yb as g,a as C,ad as f,bc as a,ed as w,fd as b,gc as v,gd as h,hc as y,je as M}from"./chunk-5W3PVHQP.js";import"./chunk-5JJ6SBZ6.js";var N=["productsFromCollectionComp"],V=["peopleAlsoBoughtComp"];function Y(o,q){if(o&1&&(P(0,"div",2),c(1,"hr",3),u(2,null,0),c(4,"hr",3)(5,"bobs-product-compare",4),u(6,null,1),c(8,"bobs-complete-your-room",5),B()),o&2){let t=f(2);d(5),m("HybrisProduct",t.product),d(3),m("product",t.product)}}function z(o,q){if(o&1&&p(0,Y,9,2,"div",2),o&2){let t=f();l(t.product.isGiftCard?-1:0)}}var to=(()=>{class o{constructor(t,e,r,i,s){this.currentProductService=t,this.changeDetectorRef=e,this.cfr=r,this.bobsEnvironmentService=i,this.bobsProductService=s,this.activeSubscription=new C,this.activeTab="Description",this.showCarousel=!1}ngOnDestroy(){this.pfcRef&&this.pfcRef.destroy(),this.pabRef&&this.pabRef.destroy(),this.activeSubscription.unsubscribe()}ngOnInit(){this.activeSubscription.add(this.bobsProductService.activeTab$.subscribe(t=>{this.showCarousel=this.activeTab===t,this.changeDetectorRef.detectChanges()})),this.activeSubscription.add(this.currentProductService.getProduct().subscribe(t=>{this.product=t,this.changeDetectorRef.detectChanges();let e=this.productsFromCollectionComps.first;e.clear();
1let r=this.cfr.resolveComponentFactory(j);this.pfcRef=e.createComponent(r),this.pfcRef.instance.product=this.product;let i=this.peopleAlsoBoughtComps.first;i.clear();let s=this.cfr.resolveComponentFactory(D);this.pabRef=i.createComponent(s),this.pabRef.instance.product=this.product,this.pabRef.instance.productsIds=this.product?.baseProduct?this.product.baseProduct:this.product?.sku,this.pabRef.instance.widgetId=this.bobsEnvironmentService.libConfig?.widget?.frequentBoughtWithThisItem?.id||"",this.changeDetectorRef.detectChanges()}))}static{this.\u0275fac=function(e){return new(e||o)(n(R),n(M),n(g),n(_),n(F))}}static{this.\u0275cmp=v({type:o,selectors:[["bobs-bobs-pdp-middle-section-content"]],viewQuery:function(e,r){if(e&1&&w(N,5,a)(V,5,a),e&2){let i;b(i=h())&&(r.productsFromCollectionComps=i),b(i=h())&&(r.peopleAlsoBoughtComps=i)}},standalone:!1,decls:1,vars:1,consts:[["productsFromCollectionComp",""],["peopleAlsoBoughtComp",""],[1,"pdp-row"],[1,"top-divider"],[3,"HybrisProduct"],[3,"product"]],template:function(e,r){e&1&&p(0,z,1,1),e&2&&l(r.product?0:-1)},dependencies:[O,Q],styles:[`.santorini-updated[_ngcontent-%COMP%]{--cx-color-background: #f4f4f4;--cx-color-text: #14293a;--cx-color-inverse: #ffffff;--cx-color-transparent: transparent;--cx-color-primary: #055f9f;--cx-color-secondary: #556b82;--cx-color-success: #256f3a;--cx-color-info: #0064d8;--cx-color-warning: #b44f00;--cx-color-danger: #aa0808;--cx-color-light: #f1f1f1;--cx-color-dark: #77818b;--cx-color-primary-accent: #0f4880;--cx-color-success-accent: #f0fbe4;--cx-color-danger-accent: #fff1f1;--cx-color-warning-accent: #fff5df;--cx-color-info-accent: #deeffe;--cx-color-medium: #d3d6db;--cx-color-background-dark: #212738;--cx-color-visual-focus: #1f3a93;--cx-color-background-focus: rgba(80, 176, 244, .1);--cx-color-border-focus: rgba(166, 204, 232, .6);--cx-page-width-max: 1140px;--cx-font-weight-light: 300;--cx-font-weight-normal: 400;--cx-font-weight-semi: 600;--cx-font-weight-bold: 700;--cx-text-transform: capitalize;--cx-direction: ltr;--cx-transition-duration: .5s;--cx-animation-duration: 1s;--cx-border-radius: 1em;--cx-buttons-border-radius: 2rem;--cx-buttons-border-width: 3px;--cx-border-style: solid}[_nghost-%COMP%] .top-divider{margin-top:50px}[_nghost-%COMP%] bobs-product-details-carousel ul.bordered{margin-block-start:0
1px;padding-inline-start:0px;margin-bottom:0;list-style:none;height:100%}[_nghost-%COMP%] bobs-product-details-carousel ul.bordered li{align-items:center;justify-content:space-between;min-height:50px;display:flex;flex-direction:row;border-top:1px solid var(--bobs-color-border);height:100%}@media(min-width:1200px){[_nghost-%COMP%] .slide-img div{height:auto!important}} 2 3 4 5 6 7 8 9`]})}}return o})();var lo=(()=>{class o{static{this.\u0275fac=function(e){return new(e||o)}}static{this.\u0275mod=y({type:o})}static{this.\u0275inj=x({imports:[S,T,E,I,k,A]})}}return o})();export{to as BobsPdpMiddleSectionContentComponent,lo as BobsPdpMiddleSectionContentModule};
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.