1import{d as k,a7 as p,a as i,o,f as n,b as s,c as _,k as e,l as g,h as r,g as u,X as D,T as m,t as q,a2 as B,_ as C}from"./Cdma0c0o.js";import{R as f}from"./BRInCMfI.js";import{B as P}from"./CpLp46z1.js";import{S as h}from"./eAdA6b1j.js";import{u as I}from"./CdBxpRen.js";import"./C_OorAHm.js";import"./CK94_uCC.js";import"./l1OykVI3.js";const N={key:2,class:"product-quality-dialog__content"},Q={class:"product-quality-dialog__image-wrapper"},R={class:"product-quality-dialog__text-wrapper"},S={class:"product-quality-dialog__headline"},w=k({__name:"ProductQualityDialog",setup(T){const{closeDialog:y,getDialogData:d}=I(),a=g(()=>d.value?.items||[]),l=p(d.value?.currentIndex||0),t=g(()=>a.value.at(l.value)),c=p(null),v=()=>{a.value.length>1&&(c.value="right",l.value=(l.value-1+a.value.length)%a.value.length)},x=()=>{a.value.length>1&&(c.value="left",l.value=(l.value+1)%a.value.length)};return(V,$)=>(o(),i(P,{"close-on-esc":"","close-on-outside-click":"",type:e(B).ProductQuality,"dialog-styles":{maxWidth:1e3,minHeight:484},"full-height":!1,class:"product-quality-dialog",onCloseDialog:e(y)},{default:n(()=>[e(a).length>1?(o(),i(h,{key:0,"scroll-direction":"left","no-fade":"",onClick:v})):s("",!0),e(a).length>1?(o(),i(h,{key:1,"scroll-direction":"right","no-fade":"",onClick:x})):s("",!0),e(t)?(o(),_("div",N,[r("div",Q,[u(m,null,{default:n(()=>[(o(),i(D,{key:e(t).image.filename,class:"product-quality-dialog__image",src:e(t).image.filename,sizes:"484px","aspect-ratio":e(t).aspectRatio||"1/1"},null,8,["src","aspect-ratio"]))]),_:1})]),r("div",R,[u(m,{name:`slide-fade-${e(c)}`},{default:n(()=>[(o(),_("div",{key:`${e(t).headline}-text`,class:"product-quality-dialog__text-content"},[r("h3",S,q(e(t).headline),1),u(f,{class:"product-quality-dialog__text",doc:e(t).text},null,8,["doc"]),e(t).description?(o(),i(f,{key:0,class:"product-quality-dialog__description",doc:e(t).description},null,8,["doc"])):s("",!0)]))]),_:1},8,["name"])])])):s("",!0)]),_:1},8,["type","onCloseDialog"]))}}),F=C(w,[["__scopeId","data-v-1c791e30"]]);export{F 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.