import{S as G,i as H,s as K,k as le,d as C,t as y,v as se,h as T,w as re,f as A,X as ne,D as ae,g as j,m as z,j as M,y as R,o as b,b as f,P as ie,p as k,Q as oe,V as fe,z as W,e as _,A as N,F as U,C as Z}from"./index-4f5e5369.js";import{g as $,a as x}from"./spread-8a54911c.js";import{w as ce,p as me,M as ue,T as de,S as _e}from"./collect-stories-6e37d46b.js";import{e as J}from"./each-e59479a4.js";import{B as pe}from"./Block-67c7bec3.js";import{g as E}from"./time-f9db70de.js";import{w as he}from"./withParams-47e2ab71.js";import"./_commonjsHelpers-de833af9.js";const ge=`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). > The \`section\` prop determines which section 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!) \`\`\`svelte