import{r as e,h as r,H as l}from"./p-cb5076d4.js";const s=class{constructor(r){e(this,r)}render(){const{field:e}=this;return r(l,null,(this.value||[]).map((l=>{const s=l[e.nameOfOtherCollectionInRelationCollection],t=e.imageField?s[e.imageField]:void 0,i=e.titleField?s[e.titleField].split(" ").map((e=>e[0])).join(""):void 0;return r("abbr",{title:s[e.titleField]},r("dvn-image",{bordered:!0,leanedVertically:!0,src:t,text:i}))})))}};s.style=".sc-dvn-field-display-cell-relation-reference-h{display:-ms-flexbox;display:flex;overflow:auto}";export{s as dvn_field_display_cell_relation_reference}