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