import{a as b,b as Q,c as D,e as W}from"./chunk-OFYIPW5Z.js";import{a as T,c as B}from"./chunk-SZ2JIXPN.js";import{Tc as _,Uc as w}from"./chunk-ATD4AEXQ.js";import{$c as h,Bb as I,Ka as a,Kc as M,Pb as y,Qb as s,Rb as r,Ta as u,Ua as E,Ub as v,Vb as g,Wb as C,bd as P,da as c,fc as d,gc as m,hb as L,ib as S,nb as l,ob as t,pb as p,qb as x}from"./chunk-BXH3QC5E.js";function H(e,R){if(e&1&&(t(0,"div",6),x(1,"abs-progress-doughnut",7)(2,"abs-progress-doughnut",7),t(3,"div",8)(4,"div",9)(5,"div",10),s(6),p(),t(7,"div",11)(8,"span"),s(9),d(10,"translate"),p()()(),t(11,"div",9)(12,"div",10),s(13),p(),t(14,"div",11)(15,"span"),s(16),d(17,"translate"),p()()()()()),e&2){let n=I();a(),l("totalQuantity",n.itemLifespan.productMaxWashes)("doneQuantity",n.itemLifespan.washesTotal)("displayDoneQty",!0)("innerText","LBL_WASHES"),a(),l("totalQuantity",n.itemLifespan.weeksInCircPrevIssue)("doneQuantity",n.itemLifespan.weeksSinceLastIssueDate)("displayDoneQty",!0)("innerText","LBL_WEEKS_IN_USE"),a(4),r(n.itemLifespan.repairsTotal),a(3),r(m(10,12,"LBL_REPAIRS")),a(4),r(n.itemLifespan.rewashTotal),a(3),r(m(17,14,"LBL_REWASHES"))}}var A=(()=>{class e{class="abs-item-lifespan-expansion-panel";itemLifespan;panelExpandedState;static \u0275fac=function(i){return new(i||e)};static \u0275cmp=u({type:e,selectors:[["abs-item-lifespan-expansion-panel"]],hostVars:2,hostBindings:function(i,o){i&2&&y(o.class)},inputs:{itemLifespan:"itemLifespan",panelExpandedState:"panelExpandedState"},standalone:!1,decls:9,vars:6,consts:[[1,"abs-expansion-panel",3,"expandedChange","expanded","disabled"],[1,"abs-expansion-panel-header"],[1,"abs-panel-title"],["svgIcon","washing-machine",1,"panel-title-icon"],[1,"panel-title-text"],[1,"item-lifespan-expanded-row-wrapper"],[1,"item-lifespan-expanded-row"],[3,"totalQuantity","doneQuantity","displayDoneQty","innerText"],[1,"indicator-wrapper"],[1,"indicator-info"],[1,"indicator-number"],[1,"indicator-label"]],template:function(i,o){i&1&&(t(0,"mat-expansion-panel",0),C("expandedChange",function(f){return g(o.panelExpandedState,f)||(o.panelExpandedState=f),f}),t(1,"mat-expansion-panel-header",1)(2,"mat-panel-title",2),x(3,"mat-icon",3),t(4,"span",4),s(5),d(6,"translate"),p()()(),t(7,"div",5),L(8,H,18,16,"div",6),p()()),i&2&&(v("expanded",o.panelExpandedState),l("disabled",!o.itemLifespan),a(5),r(m(6,4,"LBL_ITEM_LIFESPAN")),a(3),S(o.itemLifespan?8:-1))},dependencies:[b,Q,D,_,T,h],encapsulation:2})}return e})();var N=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=E({type:e});static \u0275inj=c({imports:[M,W,w,P,B]})}return e})();export{A as a,N as b};
