1import{D as C}from"./Bb_W0jzz.js";import{R as x}from"./2ioKJxmy.js";import{b as B}from"./C_5Mv8Lu.js";import{d as P,s as N,b as _,a as s,i as m,j as t,c as a,F as f,q as g,l as p,p as b,e as v,t as c,A as R,H as V,x as $}from"./CbzPAJGE.js";import{u as F}from"./tbe72w-X.js";const T={class:"pc-configurator-selected-parts"},j={class:"pc-configurator-selected-parts__key"},q={class:"pc-configurator-selected-parts__key-label"},A={class:"pc-configurator-selected-parts__values"},E={key:0,class:"pc-configurator-selected-parts__amount"},H=P({__name:"ComputerPartsDrawer",props:{parts:{},visible:{type:Boolean}},emits:["update:visible"],setup(w,{emit:D}){const n=w,y=D,{isConfigurationDetailsDrawerDisplayed:u}=N(F()),h=b(()=>B(n.parts,"weight","label")),i=b({get:()=>n.visible??u.value,set:l=>{if(n.visible===void 0){u.value=l;return}y("update:visible",l)}});return(l,r)=>{const k=C;return s(),_(k,{visible:p(i),"onUpdate:visible":r[0]||(r[0]=e=>V(i)?i.value=e:null),width:"580px",position:"right","component-class":"pc-configurator-selected-parts-drawer"},{header:m(()=>[...r[1]||(r[1]=[t("h2",{class:"pc-configurator-selected-parts-drawer__title"},"ÐомплекÑÑÑÑие",-1)])]),default:m(()=>[t("ul",T,[(s(!0),a(f,null,g(p(h),e=>(s(),a("li",{key:e.label,class:"pc-configurator-selected-parts__item"},[t("span",j,[e.icon?(s(),_(p(x),{key:0,src:e.icon,class:"pc-configurator-selected-parts__icon"},null,8,["src"])):v("",!0),t("span",q,c(e.label),1)]),t("span",A,[(s(!0),a(f,null,g(e.values,(o,d)=>(s(),a("span",{key:`${e.label}-${o.name}-${d}`,class:"pc-configurator-selected-parts__value"},[o.amount>1?(s(),a("span",E,c(o.amount)+" x ",1)):v("",!0),R(" "+c(o.name)+c(d<e.values.length-1?", ":""),1)]))),128))])]))),128))])]),_:1},8,["visible"])}}}),G=$(H,[["__scopeId","data-v-c82b17c1"]]);export{G as default};
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.