1import{a as T}from"./chunk-QFXOLB5H.js";import"./chunk-LRIGDJIW.js";import"./chunk-I4BHCL7H.js";import"./chunk-57QRRRW2.js";import"./chunk-U3SSL2BJ.js";import"./chunk-LOR5KXA4.js";import"./chunk-NR5KS2KR.js";import"./chunk-R7HDG6I4.js";import"./chunk-KEKOWM7X.js";import"./chunk-Y6BPF2AF.js";import"./chunk-W3OE3L5D.js";import"./chunk-JUU5HAG3.js";import"./chunk-TBOQFAJ6.js";import"./chunk-UGX234JD.js";import"./chunk-ZGQ2OYA5.js";import"./chunk-2WCCJJWQ.js";import{H as P}from"./chunk-VDWXESJF.js";import"./chunk-JCOTUPE5.js";import{Wd as O,s as w}from"./chunk-TXT3R3MF.js";import{Ec as b,Ed as y,Fc as c,Fd as B,Gc as r,Hc as v,Ja as g,Md as s,Nb as o,Nd as _,Od as I,Rc as x,Sa as m,Ta as p,Wc as k,Yc as a,fc as h,ld as f,nd as u,xc as d,zc as C}from"./chunk-PWAHSUDZ.js";import"./chunk-2BAXZMGZ.js";var M=t=>({count:t}),V=()=>[];function A(t,l){if(t&1&&(c(0,"div",3),v(1,"bonfiglioli-cart-item-list",4),r()),t&2){let e=a();o(),b("items",e.entries??y(2,V))("readonly",!0)}}function S(t,l){if(t&1){let e=x();c(0,"div",0),k("click",function(){m(e);let n=a();return p(n.toggleOpen())})("keydown",function(){m(e);let n=a();return p(n.toggleOpen())}),c(1,"div",1),f(2),s(3,"cxTranslate"),r(),c(4,"div",2),f(5),s(6,"cxTranslate"),r()(),d(7,A,2,3,"div",3)}if(t&2){let e=l,i=a();o(2),u(" ",I(3,3,"checkout.items",B(8,M,e.entries==null?null:e.entries.length))," "),o(3),u(" ",_(6,6,i.open?"common.hide":"common.show")," "),o(2),C(i.open?7:-1)}}var F=class t{constructor(){this.activeCartFacade=g(P);this.cart$=this.activeCartFacade.getActive();this.open=!0}toggleOpen(){this.open=!this.open}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275cmp=h({type:t,selectors:[["bonfiglioli-checkout-items"]],standalone:!1,decls:2,vars:3,consts:[[1,"header",3,"click","keydown"],[1,"label"],[1,"edit"],[1,"content"],[3,"items","readonly"]],template:function(e,i){if(e&1&&(d(0,S,8,10),s(1,"async")),e&2){let n;C((n=_(1,1,i.cart$))?0:-1,n)}},dependencies:[T,w,O],styles:[".header[_ngcontent-%COMP%]{cursor:pointer}.header[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{text-transform:uppercase;font-size:.875rem}bonfiglioli-cart-item-list[_ngcontent-%COMP%] table{margin:0}bonfiglioli-cart-item-list[_ngcontent-%COMP%] table th{padding-top:0}"]})}};export{F as BonfiglioliCheckoutItemsComponent};
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.