<a
  href="{{ item._documentMeta._url }}"
  ng-class="{'no-link-link' : true }"
  target="_blank"
>
  <div
    ng-if="item._searchEngine === 'extra_sources'"
    ng-bind-html="item._documentMeta._titleHtml"
    style="width: fit-content"
  ></div>

  <div
    ng-if="item._searchEngine === 'google_search' || item._searchEngine === 'google_news'
            || item._searchEngine === 'stock_markets' || item._searchEngine === 'urls'
            || item._searchEngine === 'adverse_media_search'"
    ng-bind-html="item._documentMeta._titleHtml"
    style="width: fit-content"
    tooltip="#tooltipImg"
    data-img="{{ item._mediaPyWordCloudMeta ? item._mediaPyWordCloudMeta._wordCloud : '' }}"
    data-img-type="svg"
  ></div>
</a>

<div>
  <span
    ng-if="(item._mediaPyDocumentMeta && item._mediaPyDocumentMeta._language) || item._documentMeta._language"
    class="flag-icon"
    ng-class="'flag-icon-' + (item._mediaPyDocumentMeta && item._mediaPyDocumentMeta._language ? item._mediaPyDocumentMeta._language : item._documentMeta._language)"
  ></span>
  {{ item._documentMeta._domain }}
</div>
