import{S as Z,i as $,s as x,D as le,h as T,t as C,r as se,a as A,u as ie,k as j,p as ne,c as N,m as z,d as M,o as S,q as y,f as d,Q as re,C as v,R as oe,K as ae,e as V,j as h,x as L,w as Y,l as W}from"./index-C9aKRT5A.js";import{g as ee,a as te}from"./spread-CgU5AtxT.js";import{p as ce,M as fe,T as de,S as H,a as me,w as ue}from"./collect-stories-ceFdpR5E.js";import{e as J}from"./each-D6YF6ztN.js";import{B as pe}from"./Block-C7biTRWl.js";import{g as E}from"./time-Dt9E6jI9.js";import"./advancedFormat-D5cdT3Ux.js";import"./_commonjsHelpers-BosuxZz1.js";import"./dayjs.min-BIwLhz4I.js";const he=`The \`ReferralBlock\` component creates a set of referral links from recent dotcom stories using the [recent stories by section API](https://www.reuters.com/pf/api/v3/content/fetch/recent-stories-by-sections-v1?query=%7B%22section_ids%22%3A%22%2Fworld%2F%22%2C%22size%22%3A20%2C%22website%22%3A%22reuters%22%7D) or the [articles by collection API](https://www.reuters.com/pf/api/v3/content/fetch/articles-by-collection-alias-or-id-v1?query=%7B%22collection_alias%22%3A%22x-trump%22%2C%22size%22%3A20%2C%22website%22%3A%22reuters%22%7D). > The \`section\` or \`collection\` prop determines which section or collection stories are from. > > You can get the section ID from the section page on dotcom. For example, the section ID for World - Europe stories at \`www.reuters.com/world/europe/\` would be \`/world/europe/\`. (The leading and trailing slashes are required!) > > You should get a collection alias from the dotcom team. \`\`\`svelte