1"use strict";(self["webpackChunk_hypefactors_hypenews"]=self["webpackChunk_hypefactors_hypenews"]||[]).push([[8941,9301],{23602(t,e,o){o.r(e),o.d(e,{default:()=>c});var s=function(){var t=this,e=t._self._c;return e("loadMore",{attrs:{endpoint:t.suggestedNewsroomsEndpoint,"fetching-text":t.$t("pages.dashboard.fetching_suggested_companies")},scopedSlots:t._u([{key:"list",fn:function(o){var s=o.items,r=o.hydrated;return[s.length?e("div",{staticClass:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:grid-cols-3 lg:gap-7"},t._l(s,function(t){return e("newsroomCard",{key:t.id,attrs:{newsroom:t}})}),1):r?e("p",{staticClass:"py-16 text-center font-display text-sm uppercase tracking-widest text-muted-faint"},[t._v(" "+t._s(t.$t("pages.dashboard.no_suggested_companies_found"))+" ")]):t._e()]}},{key:"loadMore",fn:function(o){var s=o.load,r=o.hasMore,n=o.isLoading;return[r?e("div",{staticClass:"mt-12 flex justify-center"},[e("button",{staticClass:"cursor-pointer rounded-full border-none bg-accent px-[30px] py-3.5 text-sm font-bold text-white transition-opacity hover:opacity-90 disabled:cursor-not-allowed disabled:opacity-60",attrs:{disabled:n,type:"button"},on:{click:s}},[t._v(" "+t._s(t.$t("general.load_more"))+" ")])]):t._e()]}}])})},r=[],n=o(24675);const a={components:{NewsroomCard:n["default"]},data:function(){return{suggestedNewsroomsEndpoint:"user/suggested/newsrooms?include=country"}}},i=a;var l=o(81656),d=(0,l.A)(i,s,r,!1,null,null,null);const c=d.exports},24675(t,e,o){o.r(e),o.d(e,{default:()=>c});o(52675),o(89463),o(62010);var s=function(){var t=this,e=t._self._c;return e("div",t._b({staticClass:"NewsroomCard flex h-full flex-col rounded-card border border-solid border-line bg-surface p-6 text-center shadow-sm",attrs:{"data-testid":"NewsroomCard"}},"div",t.attributes,!1),[e("div",{staticClass:"flex justify-center"},[t.newsroom.id?e("router-link",{attrs:{to:{name:"newsroom.stories",params:{newsroomSlug:t.newsroom.slug}},itemprop:"logo",itemscope:"",itemtype:"https://schema.org/ImageObject"}},[e("round-avatar",{attrs:{src:t.newsroom.logo.cropped,alt:t.newsroom.name,"acronym-fallback":t.newsroom.name,"main-color":t.newsroom.main_color,size:"xx-large"}}),e("meta",{attrs:{content:t.newsroom.logo.cropped,itemprop:"url"}})],1):t._e()],1),e("h4",{staticClass:"mt-4 font-display text-lg font-bold text-ink",attrs:{itemprop:"name"}},[t._v(" "+t._s(t.newsroom.name)+" ")]),t.newsroom.website?e("website-link",{staticClass:"mt-1 block break-words text-sm text-muted-soft hover:text-accent",attrs:{href:t.newsroom.website,itemprop:"sameAs"}}):t._e(),t.newsroom.description?e("div",{staticClass:"mt-3 break-words text-base leading-relaxed text-muted",attrs:{title:t.newsroom.description,itemprop:"description"}},[t._v(" "+t._s(t.truncate(t.newsroom.description,t.truncateDescription))+" ")]):t._e(),t.country?e("div",{staticClass:"mt-3 flex items-center justify-center gap-1.5 text-sm font-semibold text-muted"},[t.country.iso_alpha2?e("country-flag",{attrs:{country:t.country.iso_alpha2}}):t._e(),e("span",[t._v(t._s(t.country.name))])],1):t._e(),e("div",{staticClass:"mt-auto flex flex-wrap items-center justify-center gap-2 pt-6"},[t.$isEmpty(t.newsroom)?t._e():e("router-link",{staticClass:"inline-flex cursor-pointer rounded-full border border-solid border-outline bg-white px-5 py-2 text-sm font-bold text-ink transition-colors hover:border-ink",attrs:{to:{name:"newsroom.stories",params:{newsroomSlug:t.newsroom.slug}},"data-testid":"newsroomLink"}},[t._v(" "+t._s(t.$t("pages.dashboard.newsroom"))+" ")]),e("follow-newsroom-button",{attrs:{newsroom:t.newsroom}})],1)],1)},r=[],n=(o(2892),o(88359));const a={mixins:[n.A],props:{newsroom:{type:Object,required:!0},authorSchema:{type:Boolean,default:!1},truncateDescription:{type:Number,default:250}},computed:{attributes:function(){var t={itemscope:!0,itemtype:"https://schema.org/Organization"};return this.authorSchema&&(t.itemprop="author"),t},country:function(){return this.$safeGet(this.newsroom,"country.data")}}},i=a;var l=o(81656),d=(0,l.A)(i,s,r,!1,null,null,null);const c=d.exports},88359(t,e,o){o.d(e,{A:()=>r});var s=o(82601);const r={methods:{truncate:s.xv}}}}]); 2//# sourceMappingURL=dashboard-DashboardSuggestedNewsrooms-vue.a856b092.js.map
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.