hypnagaga/docs/assets/SiteFooter.stories-dce78899.js
2023-06-10 20:17:38 +01:00

61 lines
48 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{S as W,i as E,s as U,Z as G,M as H,x as a,a as L,z as u,E as F,d as x,R as ht,e as ue,N as _t,b as w,g as J,t as C,c as X,w as h,D as T,a5 as le,Y as te,h as ce,j,m as B,n as q,C as ie,q as gt,u as vt,r as kt,v as wt,o as ke,f as yt,p as fe,k as de,l as me}from"./index-25af778d.js";import{p as bt,M as $t,T as Ct,S as ge}from"./collect-stories-cce06d4a.js";import{n as Z}from"./index-2224dbf5.js";import{T as Lt}from"./Theme-30eff4b8.js";import{w as ye,a as pe}from"./withParams-90715500.js";const be=`Reuters dotcom site footer with graphics referrals, ported from [Raptor UI components](https://github.com/tr/rcom-arc_raptor-ui/tree/develop/packages/rcom-raptor-ui_common/src/components/site-footer).
> **Note:** In the Graphics Kit, you can find this component in \`pages/+page.svelte\`. Customise it there for the default page.
\`\`\`html
<script>
import { SiteFooter } from '@reuters-graphics/graphics-components';
<\/script>
<SiteFooter />
\`\`\`
`,$e=`Colours are customised by the [\`Theme\`](?path=/docs/theming-theme--default) component.
\`\`\`html
<script>
import { SiteFooter, Theme } from '@reuters-graphics/graphics-components';
<\/script>
<Theme base="dark">
<SiteFooter />
</Theme>
\`\`\`
`,Ce=`Pass up to four custom referrals to the \`referrals\` prop.
\`\`\`html
<script>
import { SiteFooter } from '@reuters-graphics/graphics-components';
const customReferrals = [
{
url: 'https://graphics.reuters.com/world-coronavirus-tracker-and-maps/',
title: 'COVID-19: the latest global statistics, charts and maps',
description: 'Tracking the global coronavirus outbreak, updated daily',
image:
'https://graphics.thomsonreuters.com/cdn/2020/covid-global-tracker/share-cards/global/en/share.png',
},
{
url: 'https://graphics.reuters.com/world-coronavirus-tracker-and-maps/regions/europe',
title: 'Coronavirus in Europe: the latest counts, charts and maps',
description: 'Tracking the global coronavirus outbreak, updated daily',
image:
'https://graphics.thomsonreuters.com/cdn/2020/covid-global-tracker/share-cards/regions/en/europe.png',
},
];
<\/script>
<SiteFooter referrals="{customReferrals}" />
\`\`\`
`;function xt(r){let e,s,t,l,n;return{c(){e=G("svg"),s=G("title"),t=H("Gallery"),l=G("path"),n=G("path"),a(l,"d","M13.3331429,0.38114286 L2.66628571,0.38114286 C1.37085714,0.38114286 0.38057143,1.37142857 0.38057143,2.66685714 L0.38057143,13.3337143 C0.38057143,14.6291429 1.37085714,15.6194286 2.66628571,15.6194286 L13.3331429,15.6194286 C14.6285714,15.6194286 15.6188571,14.6291429 15.6188571,13.3337143 L15.6188571,2.66685714 C15.6188571,1.37142857 14.6285714,0.38114286 13.3331429,0.38114286 Z M1.90457143,2.66685714 C1.90457143,2.20971429 2.20914286,1.90514286 2.66628571,1.90514286 L13.3331429,1.90514286 C13.7902857,1.90514286 14.0948571,2.20971429 14.0948571,2.66685714 L14.0948571,8.4571429 L11.5805714,5.94285714 C11.276,5.63828571 10.8188571,5.63828571 10.5137143,5.94285714 L2.43771429,14.0188571 C2.13314286,13.9428571 1.90457143,13.6377143 1.90457143,13.3331429 L1.90457143,2.66628571 L1.90457143,2.66685714 Z M13.3331429,14.0954286 L4.49485714,14.0954286 L11.0474286,7.5428571 L14.0948571,10.5902857 L14.0948571,13.3331429 C14.0948571,13.7902857 13.7902857,14.0948571 13.3331429,14.0948571 L13.3331429,14.0954286 Z"),a(n,"d","M5.33314286,7.2382857 C6.4,7.2382857 7.2377143,6.4 7.2377143,5.33371429 C7.2377143,4.26742857 6.3994286,3.42914286 5.33314286,3.42914286 C4.26685714,3.42914286 3.42857143,4.26742857 3.42857143,5.33371429 C3.42857143,6.4 4.26685714,7.2382857 5.33314286,7.2382857 Z M5.33314286,4.95257143 C5.56171429,4.95257143 5.71428571,5.10514286 5.71428571,5.33371429 C5.71428571,5.56228571 5.56171429,5.71485714 5.33314286,5.71485714 C5.10457143,5.71485714 4.952,5.56228571 4.952,5.33371429 C4.952,5.10514286 5.10457143,4.95257143 5.33314286,4.95257143 Z"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"viewBox","0 0 16 16"),a(e,"role","img"),a(e,"aria-hidden","true"),a(e,"focusable","false"),a(e,"class","svelte-17648ki")},m(i,o){L(i,e,o),u(e,s),u(s,t),u(e,l),u(e,n)},p:F,i:F,o:F,d(i){i&&x(e)}}}class tt extends W{constructor(e){super(),E(this,e,null,xt,U,{})}}tt.__docgen={version:3,name:"Graphics.svelte",data:[],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};function Rt(r){let e,s,t,l;return{c(){e=G("svg"),s=G("title"),t=H("Pictures"),l=G("path"),a(l,"d","M13.1256562,0 C13.3881562,0 13.6506562,0.17954776 13.825875,0.3597705 L15.3135937,2.69996625 L18.375,2.69996625 C19.8627187,2.69996625 21,3.8697266 21,5.3999325 L21,15.3000337 C21,16.8302396 19.8627187,18 18.375,18 L2.625,18 C1.13728125,18 0,16.8302396 0,15.3000337 L0,5.3999325 C0,3.8697266 1.13728125,2.69996625 2.625,2.69996625 L5.6877187,2.69996625 L7.1754375,0.3597705 C7.3506562,0.18022275 7.6131562,0 7.8756562,0 L13.1256562,0 Z M12.6013125,1.79952751 L8.3140312,1.79952751 L6.8263125,4.1397233 C6.6510937,4.319271 6.3885937,4.4994938 6.1260937,4.4994938 L2.6263125,4.4994938 C2.1013125,4.4994938 1.75153125,4.8592643 1.75153125,5.3992575 L1.75153125,15.2993588 C1.75153125,15.839352 2.1013125,16.1991225 2.6263125,16.1991225 L18.3763125,16.1991225 C18.9013125,16.1991225 19.2510937,15.839352 19.2510937,15.2993588 L19.2510937,5.3992575 C19.2510937,4.8592643 18.9013125,4.4994938 18.3763125,4.4994938 L14.8765312,4.4994938 C14.6140312,4.4994938 14.3515312,4.319946 14.0890312,4.1397233 L12.6013125,1.79952751 Z M10.5013125,5.3999325 C12.95175,5.3999325 14.8765312,7.3796828 14.8765312,9.9001012 C14.8765312,12.4205197 12.95175,14.40027 10.5013125,14.40027 C8.050875,14.40027 6.1260937,12.4205197 6.1260937,9.9001012 C6.1260937,7.3796828 8.0515312,5.3999325 10.5013125,5.3999325 Z M10.5013125,7.19946 C9.0135937,7.19946 7.8763125,8.3692204 7.8763125,9.8994263 C7.8763125,11.4296321 9.0135937,12.5993925 10.5013125,12.5993925 C11.9890312,12.5993925 13.1263125,11.4296321 13.1263125,9.8994263 C13.1263125,8.3692204 11.9890312,7.19946 10.5013125,7.19946 Z"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"viewBox","0 0 21 18"),a(e,"role","img"),a(e,"aria-hidden","true"),a(e,"focusable","false"),a(e,"class","svelte-17648ki")},m(n,i){L(n,e,i),u(e,s),u(s,t),u(e,l)},p:F,i:F,o:F,d(n){n&&x(e)}}}class st extends W{constructor(e){super(),E(this,e,null,Rt,U,{})}}st.__docgen={version:3,name:"Pictures.svelte",data:[],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};function Tt(r){let e,s,t,l;return{c(){e=G("svg"),s=G("title"),t=H("Videos"),l=G("path"),a(l,"d","M15.6665,1.5665 C15.4665,1.433 15.2,1.5 15,1.633 L11.3335,4.233 L11.3335,2.1665 C11.3335,1.033 10.467,0.1665 9.3335,0.1665 L2,0.1665 C0.8665,0.1665 0,1.033 0,2.1665 L0,8.833 C0,9.9665 0.8665,10.833 2,10.833 L9.3335,10.833 C10.467,10.833 11.3335,9.9665 11.3335,8.833 L11.3335,6.7665 L14.9335,9.3665 C15.067,9.433 15.2,9.5 15.3335,9.5 C15.467,9.5 15.5335,9.5 15.667,9.4335 C15.867,9.3 16.0005,9.1 16.0005,8.8335 L16.0005,2.167 C16.0005,1.9005 15.867,1.7005 15.667,1.567 L15.6665,1.5665 Z M10,8.8335 C10,9.2335 9.7335,9.5 9.3335,9.5 L2,9.5 C1.6,9.5 1.3335,9.2335 1.3335,8.8335 L1.3335,2.167 C1.3335,1.767 1.6,1.5005 2,1.5005 L9.3335,1.5005 C9.7335,1.5005 10,1.767 10,2.167 L10,8.8335 Z M14.6665,7.5665 L11.8,5.5 L14.6665,3.4335 L14.6665,7.567 L14.6665,7.5665 Z"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"viewBox","0 0 16 11"),a(e,"role","img"),a(e,"aria-hidden","true"),a(e,"focusable","false"),a(e,"class","svelte-17648ki")},m(n,i){L(n,e,i),u(e,s),u(s,t),u(e,l)},p:F,i:F,o:F,d(n){n&&x(e)}}}class lt extends W{constructor(e){super(),E(this,e,null,Tt,U,{})}}lt.__docgen={version:3,name:"Videos.svelte",data:[],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};function Le(r,e,s){const t=r.slice();return t[4]=e[s],t}function xe(r,e,s){const t=r.slice();return t[4]=e[s],t}function Re(r,e,s){const t=r.slice();return t[4]=e[s],t}function Te(r,e,s){const t=r.slice();return t[4]=e[s],t}function Me(r,e,s){const t=r.slice();return t[4]=e[s],t}function Se(r,e,s){const t=r.slice();return t[4]=e[s],t}function Ve(r,e,s){const t=r.slice();return t[4]=e[s],t}function Ae(r){let e,s,t,l,n,i,o,c,d,_,m,R,p,y,v,D,f,$,g,A,V,ne,re,se;const N=[St,Mt],z=[];function O(b,K){return b[1]<ve?0:1}n=O(r),i=z[n]=N[n](r);let M=r[0].browse_links,I=[];for(let b=0;b<M.length;b+=1)I[b]=Fe(Te(r,M,b));let k=r[1]>=ve&&je(r),ee=r[0].about_links,Y=[];for(let b=0;b<ee.length;b+=1)Y[b]=qe(xe(r,ee,b));let ae=r[0].stay_informed_links,Q=[];for(let b=0;b<ae.length;b+=1)Q[b]=He(Le(r,ae,b));return{c(){e=h("section"),s=h("h2"),s.textContent="Site Index",t=T(),l=h("div"),i.c(),o=T(),c=h("section"),d=h("h3"),d.textContent="Browse",_=T(),m=h("ul");for(let b=0;b<I.length;b+=1)I[b].c();R=T(),k&&k.c(),p=T(),y=h("div"),v=h("section"),D=h("h3"),D.textContent="About Reuters",f=T(),$=h("ul");for(let b=0;b<Y.length;b+=1)Y[b].c();g=T(),A=h("section"),V=h("h3"),V.textContent="Stay Informed",ne=T(),re=h("ul");for(let b=0;b<Q.length;b+=1)Q[b].c();a(s,"class","visually-hidden svelte-fhk6t1"),a(d,"class","svelte-fhk6t1"),a(m,"class","svelte-fhk6t1"),a(c,"class","link-group svelte-fhk6t1"),a(D,"class","svelte-fhk6t1"),a($,"class","svelte-fhk6t1"),a(v,"class","about"),a(V,"class","svelte-fhk6t1"),a(re,"class","svelte-fhk6t1"),a(A,"class","stay-informed svelte-fhk6t1"),a(y,"class","about-and-stay-informed svelte-fhk6t1"),a(l,"class","content-container svelte-fhk6t1"),a(e,"class","quick-links svelte-fhk6t1")},m(b,K){L(b,e,K),u(e,s),u(e,t),u(e,l),z[n].m(l,null),u(l,o),u(l,c),u(c,d),u(c,_),u(c,m);for(let P=0;P<I.length;P+=1)I[P]&&I[P].m(m,null);u(l,R),k&&k.m(l,null),u(l,p),u(l,y),u(y,v),u(v,D),u(v,f),u(v,$);for(let P=0;P<Y.length;P+=1)Y[P]&&Y[P].m($,null);u(y,g),u(y,A),u(A,V),u(A,ne),u(A,re);for(let P=0;P<Q.length;P+=1)Q[P]&&Q[P].m(re,null);se=!0},p(b,K){let P=n;if(n=O(b),n===P?z[n].p(b,K):(J(),C(z[P],1,1,()=>{z[P]=null}),X(),i=z[n],i?i.p(b,K):(i=z[n]=N[n](b),i.c()),w(i,1),i.m(l,o)),K&1){M=b[0].browse_links;let S;for(S=0;S<M.length;S+=1){const oe=Te(b,M,S);I[S]?I[S].p(oe,K):(I[S]=Fe(oe),I[S].c(),I[S].m(m,null))}for(;S<I.length;S+=1)I[S].d(1);I.length=M.length}if(b[1]>=ve?k?(k.p(b,K),K&2&&w(k,1)):(k=je(b),k.c(),w(k,1),k.m(l,p)):k&&(J(),C(k,1,1,()=>{k=null}),X()),K&1){ee=b[0].about_links;let S;for(S=0;S<ee.length;S+=1){const oe=xe(b,ee,S);Y[S]?Y[S].p(oe,K):(Y[S]=qe(oe),Y[S].c(),Y[S].m($,null))}for(;S<Y.length;S+=1)Y[S].d(1);Y.length=ee.length}if(K&1){ae=b[0].stay_informed_links;let S;for(S=0;S<ae.length;S+=1){const oe=Le(b,ae,S);Q[S]?Q[S].p(oe,K):(Q[S]=He(oe),Q[S].c(),Q[S].m(re,null))}for(;S<Q.length;S+=1)Q[S].d(1);Q.length=ae.length}},i(b){se||(w(i),w(k),se=!0)},o(b){C(i),C(k),se=!1},d(b){b&&x(e),z[n].d(),le(I,b),k&&k.d(),le(Y,b),le(Q,b)}}}function Mt(r){let e,s,t,l,n=r[0].latest_links,i=[];for(let o=0;o<n.length;o+=1)i[o]=De(Me(r,n,o));return{c(){e=h("section"),s=h("h3"),s.textContent="Latest",t=T(),l=h("ul");for(let o=0;o<i.length;o+=1)i[o].c();a(s,"class","svelte-fhk6t1"),a(l,"class","svelte-fhk6t1"),a(e,"class","link-group svelte-fhk6t1")},m(o,c){L(o,e,c),u(e,s),u(e,t),u(e,l);for(let d=0;d<i.length;d+=1)i[d]&&i[d].m(l,null)},p(o,c){if(c&1){n=o[0].latest_links;let d;for(d=0;d<n.length;d+=1){const _=Me(o,n,d);i[d]?i[d].p(_,c):(i[d]=De(_),i[d].c(),i[d].m(l,null))}for(;d<i.length;d+=1)i[d].d(1);i.length=n.length}},i:F,o:F,d(o){o&&x(e),le(i,o)}}}function St(r){let e,s,t,l,n,i,o,c,d,_,m,R=r[0].latest_links,p=[];for(let f=0;f<R.length;f+=1)p[f]=Ie(Ve(r,R,f));let y=r[0].media_links,v=[];for(let f=0;f<y.length;f+=1)v[f]=Ze(Se(r,y,f));const D=f=>C(v[f],1,1,()=>{v[f]=null});return{c(){e=h("div"),s=h("section"),t=h("h3"),t.textContent="Latest",l=T(),n=h("ul");for(let f=0;f<p.length;f+=1)p[f].c();i=T(),o=h("section"),c=h("h3"),c.textContent="Media",d=T(),_=h("ul");for(let f=0;f<v.length;f+=1)v[f].c();a(t,"class","svelte-fhk6t1"),a(n,"class","svelte-fhk6t1"),a(s,"class","link-group svelte-fhk6t1"),a(c,"class","svelte-fhk6t1"),a(_,"class","svelte-fhk6t1"),a(o,"class","link-group media svelte-fhk6t1"),a(e,"class","latest-and-media svelte-fhk6t1")},m(f,$){L(f,e,$),u(e,s),u(s,t),u(s,l),u(s,n);for(let g=0;g<p.length;g+=1)p[g]&&p[g].m(n,null);u(e,i),u(e,o),u(o,c),u(o,d),u(o,_);for(let g=0;g<v.length;g+=1)v[g]&&v[g].m(_,null);m=!0},p(f,$){if($&1){R=f[0].latest_links;let g;for(g=0;g<R.length;g+=1){const A=Ve(f,R,g);p[g]?p[g].p(A,$):(p[g]=Ie(A),p[g].c(),p[g].m(n,null))}for(;g<p.length;g+=1)p[g].d(1);p.length=R.length}if($&5){y=f[0].media_links;let g;for(g=0;g<y.length;g+=1){const A=Se(f,y,g);v[g]?(v[g].p(A,$),w(v[g],1)):(v[g]=Ze(A),v[g].c(),w(v[g],1),v[g].m(_,null))}for(J(),g=y.length;g<v.length;g+=1)D(g);X()}},i(f){if(!m){for(let $=0;$<y.length;$+=1)w(v[$]);m=!0}},o(f){v=v.filter(Boolean);for(let $=0;$<v.length;$+=1)C(v[$]);m=!1},d(f){f&&x(e),le(p,f),le(v,f)}}}function De(r){let e,s,t=r[4].text+"",l,n,i;return{c(){e=h("li"),s=h("a"),l=H(t),i=T(),a(s,"href",n=Z(r[4].url)),a(s,"class","svelte-fhk6t1"),a(e,"class","svelte-fhk6t1")},m(o,c){L(o,e,c),u(e,s),u(s,l),u(e,i)},p(o,c){c&1&&t!==(t=o[4].text+"")&&te(l,t),c&1&&n!==(n=Z(o[4].url))&&a(s,"href",n)},d(o){o&&x(e)}}}function Ie(r){let e,s,t=r[4].text+"",l,n,i;return{c(){e=h("li"),s=h("a"),l=H(t),i=T(),a(s,"href",n=Z(r[4].url)),a(s,"class","svelte-fhk6t1"),a(e,"class","svelte-fhk6t1")},m(o,c){L(o,e,c),u(e,s),u(s,l),u(e,i)},p(o,c){c&1&&t!==(t=o[4].text+"")&&te(l,t),c&1&&n!==(n=Z(o[4].url))&&a(s,"href",n)},d(o){o&&x(e)}}}function Ze(r){let e,s,t,l,n,i=r[4].text+"",o,c,d,_;var m=r[2][r[4].symbol];function R(p){return{}}return m&&(t=ce(m,R())),{c(){e=h("li"),s=h("div"),t&&j(t.$$.fragment),l=T(),n=h("a"),o=H(i),d=T(),a(s,"class","symbol svelte-fhk6t1"),a(n,"href",c=Z(r[4].url)),a(n,"class","svelte-fhk6t1"),a(e,"class","svelte-fhk6t1")},m(p,y){L(p,e,y),u(e,s),t&&B(t,s,null),u(e,l),u(e,n),u(n,o),u(e,d),_=!0},p(p,y){if(y&1&&m!==(m=p[2][p[4].symbol])){if(t){J();const v=t;C(v.$$.fragment,1,0,()=>{q(v,1)}),X()}m?(t=ce(m,R()),j(t.$$.fragment),w(t.$$.fragment,1),B(t,s,null)):t=null}(!_||y&1)&&i!==(i=p[4].text+"")&&te(o,i),(!_||y&1&&c!==(c=Z(p[4].url)))&&a(n,"href",c)},i(p){_||(t&&w(t.$$.fragment,p),_=!0)},o(p){t&&C(t.$$.fragment,p),_=!1},d(p){p&&x(e),t&&q(t)}}}function Fe(r){let e,s,t=r[4].text+"",l,n,i;return{c(){e=h("li"),s=h("a"),l=H(t),i=T(),a(s,"href",n=Z(r[4].url)),a(s,"class","svelte-fhk6t1"),a(e,"class","svelte-fhk6t1")},m(o,c){L(o,e,c),u(e,s),u(s,l),u(e,i)},p(o,c){c&1&&t!==(t=o[4].text+"")&&te(l,t),c&1&&n!==(n=Z(o[4].url))&&a(s,"href",n)},d(o){o&&x(e)}}}function je(r){let e,s,t,l,n,i=r[0].media_links,o=[];for(let d=0;d<i.length;d+=1)o[d]=Be(Re(r,i,d));const c=d=>C(o[d],1,1,()=>{o[d]=null});return{c(){e=h("section"),s=h("h3"),s.textContent="Media",t=T(),l=h("ul");for(let d=0;d<o.length;d+=1)o[d].c();a(s,"class","svelte-fhk6t1"),a(l,"class","svelte-fhk6t1"),a(e,"class","link-group media svelte-fhk6t1")},m(d,_){L(d,e,_),u(e,s),u(e,t),u(e,l);for(let m=0;m<o.length;m+=1)o[m]&&o[m].m(l,null);n=!0},p(d,_){if(_&5){i=d[0].media_links;let m;for(m=0;m<i.length;m+=1){const R=Re(d,i,m);o[m]?(o[m].p(R,_),w(o[m],1)):(o[m]=Be(R),o[m].c(),w(o[m],1),o[m].m(l,null))}for(J(),m=i.length;m<o.length;m+=1)c(m);X()}},i(d){if(!n){for(let _=0;_<i.length;_+=1)w(o[_]);n=!0}},o(d){o=o.filter(Boolean);for(let _=0;_<o.length;_+=1)C(o[_]);n=!1},d(d){d&&x(e),le(o,d)}}}function Be(r){let e,s,t,l,n,i=r[4].text+"",o,c,d,_;var m=r[2][r[4].symbol];function R(p){return{}}return m&&(t=ce(m,R())),{c(){e=h("li"),s=h("div"),t&&j(t.$$.fragment),l=T(),n=h("a"),o=H(i),d=T(),a(s,"class","symbol svelte-fhk6t1"),a(n,"href",c=Z(r[4].url)),a(n,"class","svelte-fhk6t1"),a(e,"class","svelte-fhk6t1")},m(p,y){L(p,e,y),u(e,s),t&&B(t,s,null),u(e,l),u(e,n),u(n,o),u(e,d),_=!0},p(p,y){if(y&1&&m!==(m=p[2][p[4].symbol])){if(t){J();const v=t;C(v.$$.fragment,1,0,()=>{q(v,1)}),X()}m?(t=ce(m,R()),j(t.$$.fragment),w(t.$$.fragment,1),B(t,s,null)):t=null}(!_||y&1)&&i!==(i=p[4].text+"")&&te(o,i),(!_||y&1&&c!==(c=Z(p[4].url)))&&a(n,"href",c)},i(p){_||(t&&w(t.$$.fragment,p),_=!0)},o(p){t&&C(t.$$.fragment,p),_=!1},d(p){p&&x(e),t&&q(t)}}}function qe(r){let e,s,t=r[4].text+"",l,n,i;return{c(){e=h("li"),s=h("a"),l=H(t),i=T(),a(s,"href",n=Z(r[4].url)),a(s,"class","svelte-fhk6t1"),a(e,"class","svelte-fhk6t1")},m(o,c){L(o,e,c),u(e,s),u(s,l),u(e,i)},p(o,c){c&1&&t!==(t=o[4].text+"")&&te(l,t),c&1&&n!==(n=Z(o[4].url))&&a(s,"href",n)},d(o){o&&x(e)}}}function He(r){let e,s,t=r[4].text+"",l,n,i;return{c(){e=h("li"),s=h("a"),l=H(t),i=T(),a(s,"href",n=Z(r[4].url)),a(s,"class","svelte-fhk6t1"),a(e,"class","svelte-fhk6t1")},m(o,c){L(o,e,c),u(e,s),u(s,l),u(e,i)},p(o,c){c&1&&t!==(t=o[4].text+"")&&te(l,t),c&1&&n!==(n=Z(o[4].url))&&a(s,"href",n)},d(o){o&&x(e)}}}function Vt(r){let e,s,t,l;ht(r[3]);let n=r[0].latest_links&&Ae(r);return{c(){n&&n.c(),e=ue()},m(i,o){n&&n.m(i,o),L(i,e,o),s=!0,t||(l=_t(window,"resize",r[3]),t=!0)},p(i,[o]){i[0].latest_links?n?(n.p(i,o),o&1&&w(n,1)):(n=Ae(i),n.c(),w(n,1),n.m(e.parentNode,e)):n&&(J(),C(n,1,1,()=>{n=null}),X())},i(i){s||(w(n),s=!0)},o(i){C(n),s=!1},d(i){n&&n.d(i),i&&x(e),t=!1,l()}}}const ve=745;function At(r,e,s){const t={graphics:tt,pictures:st,videos:lt};let{links:l={}}=e,n=1200;function i(){s(1,n=window.innerWidth)}return r.$$set=o=>{"links"in o&&s(0,l=o.links)},[l,n,t,i]}class nt extends W{constructor(e){super(),E(this,e,At,Vt,U,{links:0})}}nt.__docgen={version:3,name:"QuickLinks.svelte",data:[{visibility:"public",description:null,keywords:[],name:"links",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"}}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};function Dt(r){let e,s;return{c(){e=G("svg"),s=G("path"),a(s,"d","M16 1.537a6.469 6.469 0 0 1-1.884.516A3.3 3.3 0 0 0 15.559.237a6.603 6.603 0 0 1-2.084.797A3.282 3.282 0 0 0 11.078 0a3.28 3.28 0 0 0-3.196 4.028A9.315 9.315 0 0 1 1.118.598a3.28 3.28 0 0 0-.444 1.65c0 1.137.578 2.143 1.46 2.73A3.281 3.281 0 0 1 .646 4.57v.04A3.282 3.282 0 0 0 3.28 7.83a3.286 3.286 0 0 1-1.483.055 3.294 3.294 0 0 0 3.065 2.282A6.583 6.583 0 0 1 0 11.526 9.281 9.281 0 0 0 5.034 13c6.036 0 9.338-5.003 9.338-9.34 0-.144-.003-.285-.01-.425A6.607 6.607 0 0 0 16 1.538Z"),a(e,"aria-hidden","true"),a(e,"focusable","false"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"viewBox","0 0 16 13"),ie(e,"width",r[0]+"px"),a(e,"class","svelte-17648ki")},m(t,l){L(t,e,l),u(e,s)},p(t,[l]){l&1&&ie(e,"width",t[0]+"px")},i:F,o:F,d(t){t&&x(e)}}}function It(r,e,s){let{width:t=20}=e;return r.$$set=l=>{"width"in l&&s(0,t=l.width)},[t]}class rt extends W{constructor(e){super(),E(this,e,It,Dt,U,{width:0})}}rt.__docgen={version:3,name:"Twitter.svelte",data:[{visibility:"public",description:null,keywords:[],name:"width",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"number",type:"number"},defaultValue:20}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};function Zt(r){let e,s;return{c(){e=G("svg"),s=G("path"),a(s,"d","M18.375 0H2.625A2.617 2.617 0 0 0 0 2.609V14.39A2.617 2.617 0 0 0 2.625 17h15.75A2.617 2.617 0 0 0 21 14.391V2.61A2.617 2.617 0 0 0 18.375 0Zm-10.5 13.044V4.348l7 4.348-7 4.348Z"),a(e,"aria-hidden","true"),a(e,"focusable","false"),a(e,"viewBox","0 0 21 17"),a(e,"xmlns","http://www.w3.org/2000/svg"),ie(e,"width",r[0]+"px"),a(e,"class","svelte-17648ki")},m(t,l){L(t,e,l),u(e,s)},p(t,[l]){l&1&&ie(e,"width",t[0]+"px")},i:F,o:F,d(t){t&&x(e)}}}function Ft(r,e,s){let{width:t=20}=e;return r.$$set=l=>{"width"in l&&s(0,t=l.width)},[t]}class it extends W{constructor(e){super(),E(this,e,Ft,Zt,U,{width:0})}}it.__docgen={version:3,name:"YouTube.svelte",data:[{visibility:"public",description:null,keywords:[],name:"width",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"number",type:"number"},defaultValue:20}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};function jt(r){let e,s;return{c(){e=G("svg"),s=G("path"),a(s,"d","M14.5 0h-13C.675 0 0 .675 0 1.5v13c0 .825.675 1.5 1.5 1.5H8V9H6V7h2V6c0-1.653 1.347-3 3-3h2v2h-2c-.55 0-1 .45-1 1v1h3l-.5 2H10v7h4.5c.825 0 1.5-.675 1.5-1.5v-13c0-.825-.675-1.5-1.5-1.5Z"),a(e,"aria-hidden","true"),a(e,"focusable","false"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"viewBox","0 0 16 16"),ie(e,"width",r[0]+"px"),a(e,"class","svelte-17648ki")},m(t,l){L(t,e,l),u(e,s)},p(t,[l]){l&1&&ie(e,"width",t[0]+"px")},i:F,o:F,d(t){t&&x(e)}}}function Bt(r,e,s){let{width:t=20}=e;return r.$$set=l=>{"width"in l&&s(0,t=l.width)},[t]}class ot extends W{constructor(e){super(),E(this,e,Bt,jt,U,{width:0})}}ot.__docgen={version:3,name:"Facebook.svelte",data:[{visibility:"public",description:null,keywords:[],name:"width",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"number",type:"number"},defaultValue:20}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};function qt(r){let e,s,t;return{c(){e=G("svg"),s=G("path"),t=G("path"),a(s,"d","M8 1.44c2.137 0 2.39.01 3.231.048.781.034 1.203.165 1.485.274.372.145.64.32.918.598.281.281.453.546.6.919.11.281.24.706.275 1.484.037.844.047 1.097.047 3.232 0 2.134-.01 2.39-.047 3.231-.034.781-.165 1.203-.275 1.484a2.47 2.47 0 0 1-.597.919 2.51 2.51 0 0 1-.918.6c-.282.11-.707.24-1.485.275-.844.037-1.097.047-3.232.047-2.134 0-2.39-.01-3.231-.047-.781-.034-1.203-.165-1.484-.275a2.476 2.476 0 0 1-.92-.597 2.51 2.51 0 0 1-.6-.918c-.109-.282-.24-.707-.274-1.485-.038-.844-.048-1.097-.048-3.231 0-2.135.01-2.391.047-3.232.035-.781.166-1.203.276-1.485.143-.372.319-.64.597-.919.281-.281.546-.453.918-.6.282-.109.707-.24 1.485-.274C5.608 1.45 5.862 1.44 8 1.44ZM8 0C5.828 0 5.556.01 4.703.047c-.85.038-1.435.175-1.94.372a3.898 3.898 0 0 0-1.419.925c-.447.444-.719.89-.925 1.415C.222 3.27.085 3.85.047 4.7.01 5.556 0 5.828 0 8c0 2.172.01 2.444.047 3.297.038.85.175 1.434.372 1.94.206.528.478.976.925 1.419.444.444.89.719 1.415.922.51.197 1.091.335 1.941.372.853.038 1.125.047 3.297.047s2.444-.01 3.297-.047c.85-.037 1.434-.175 1.94-.372a3.903 3.903 0 0 0 1.416-.922c.444-.444.719-.89.922-1.415.197-.51.335-1.091.372-1.941.037-.853.047-1.125.047-3.297s-.01-2.444-.047-3.297c-.038-.85-.175-1.435-.372-1.94a3.753 3.753 0 0 0-.915-1.423A3.91 3.91 0 0 0 13.24.422c-.51-.197-1.09-.335-1.94-.372C10.444.008 10.171 0 8 0H8Z"),a(t,"d","M8 3.89a4.11 4.11 0 0 0 0 8.22 4.11 4.11 0 0 0 0-8.22Zm0 6.776a2.666 2.666 0 1 1 0-5.332 2.666 2.666 0 0 1 0 5.332Zm5.231-6.938a.96.96 0 1 1-1.919 0 .96.96 0 0 1 1.919 0Z"),a(e,"aria-hidden","true"),a(e,"focusable","false"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"viewBox","0 0 16 16"),ie(e,"width",r[0]+"px"),a(e,"class","svelte-17648ki")},m(l,n){L(l,e,n),u(e,s),u(e,t)},p(l,[n]){n&1&&ie(e,"width",l[0]+"px")},i:F,o:F,d(l){l&&x(e)}}}function Ht(r,e,s){let{width:t=20}=e;return r.$$set=l=>{"width"in l&&s(0,t=l.width)},[t]}class at extends W{constructor(e){super(),E(this,e,Ht,qt,U,{width:0})}}at.__docgen={version:3,name:"Instagram.svelte",data:[{visibility:"public",description:null,keywords:[],name:"width",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"number",type:"number"},defaultValue:20}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};function Gt(r){let e,s;return{c(){e=G("svg"),s=G("path"),a(s,"d","M19.031 0c1.034 0 1.888.807 1.964 1.822L21 1.97V19.03a1.975 1.975 0 0 1-1.822 1.964L19.03 21H1.97a1.975 1.975 0 0 1-1.964-1.822L0 19.03V1.97C0 .935.807.08 1.822.005L1.97 0H19.03ZM6.3 7.875H3.15v10.063H6.3V7.874Zm7.875-.175c-1.575 0-2.538.788-2.975 1.575v-1.4H8.225v10.063h3.15V12.95c0-1.313.175-2.537 1.838-2.537 1.575 0 1.575 1.487 1.575 2.624v4.9h3.15v-5.425c0-2.712-.613-4.812-3.763-4.812ZM4.637 2.8c-1.05 0-1.837.875-1.837 1.838 0 1.05.875 1.837 1.838 1.837 1.05 0 1.837-.787 1.837-1.837 0-1.05-.875-1.838-1.837-1.838Z"),a(e,"aria-hidden","true"),a(e,"focusable","false"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"viewBox","0 0 21 21"),ie(e,"width",r[0]+"px"),a(e,"class","svelte-17648ki")},m(t,l){L(t,e,l),u(e,s)},p(t,[l]){l&1&&ie(e,"width",t[0]+"px")},i:F,o:F,d(t){t&&x(e)}}}function Nt(r,e,s){let{width:t=20}=e;return r.$$set=l=>{"width"in l&&s(0,t=l.width)},[t]}class ct extends W{constructor(e){super(),E(this,e,Nt,Gt,U,{width:0})}}ct.__docgen={version:3,name:"LinkedIn.svelte",data:[{visibility:"public",description:null,keywords:[],name:"width",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"number",type:"number"},defaultValue:20}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};function Ge(r,e,s){const t=r.slice();return t[2]=e[s],t}function Ne(r){let e,s,t,l,n,i,o=r[0].company_description+"",c,d,_,m,R,p,y,v,D=r[0].social_links,f=[];for(let g=0;g<D.length;g+=1)f[g]=Oe(Ge(r,D,g));const $=g=>C(f[g],1,1,()=>{f[g]=null});return{c(){e=h("section"),s=h("div"),t=h("article"),l=h("h2"),l.textContent="Information you can trust",n=T(),i=h("p"),c=H(o),d=T(),_=h("div"),m=h("h2"),m.textContent="Follow Us",R=T(),p=h("div"),y=h("ul");for(let g=0;g<f.length;g+=1)f[g].c();a(l,"class","svelte-5tc4wt"),a(i,"class","svelte-5tc4wt"),a(t,"class","company-info svelte-5tc4wt"),a(m,"class","svelte-5tc4wt"),a(y,"class","links svelte-5tc4wt"),a(_,"class","social svelte-5tc4wt"),a(s,"class","content-container svelte-5tc4wt"),a(e,"class","company svelte-5tc4wt")},m(g,A){L(g,e,A),u(e,s),u(s,t),u(t,l),u(t,n),u(t,i),u(i,c),u(s,d),u(s,_),u(_,m),u(_,R),u(_,p),u(p,y);for(let V=0;V<f.length;V+=1)f[V]&&f[V].m(y,null);v=!0},p(g,A){if((!v||A&1)&&o!==(o=g[0].company_description+"")&&te(c,o),A&3){D=g[0].social_links;let V;for(V=0;V<D.length;V+=1){const ne=Ge(g,D,V);f[V]?(f[V].p(ne,A),w(f[V],1)):(f[V]=Oe(ne),f[V].c(),w(f[V],1),f[V].m(y,null))}for(J(),V=D.length;V<f.length;V+=1)$(V);X()}},i(g){if(!v){for(let A=0;A<D.length;A+=1)w(f[A]);v=!0}},o(g){f=f.filter(Boolean);for(let A=0;A<f.length;A+=1)C(f[A]);v=!1},d(g){g&&x(e),le(f,g)}}}function Oe(r){let e,s,t,l,n,i,o,c;var d=r[1][r[2].type];function _(m){return{}}return d&&(n=ce(d,_())),{c(){e=h("li"),s=h("a"),t=h("div"),l=h("div"),n&&j(n.$$.fragment),o=T(),a(l,"class","social svelte-5tc4wt"),a(t,"class","button svelte-5tc4wt"),a(s,"href",i=Z(r[2].url)),a(e,"class","social-links symbol svelte-5tc4wt")},m(m,R){L(m,e,R),u(e,s),u(s,t),u(t,l),n&&B(n,l,null),u(e,o),c=!0},p(m,R){if(R&1&&d!==(d=m[1][m[2].type])){if(n){J();const p=n;C(p.$$.fragment,1,0,()=>{q(p,1)}),X()}d?(n=ce(d,_()),j(n.$$.fragment),w(n.$$.fragment,1),B(n,l,null)):n=null}(!c||R&1&&i!==(i=Z(m[2].url)))&&a(s,"href",i)},i(m){c||(n&&w(n.$$.fragment,m),c=!0)},o(m){n&&C(n.$$.fragment,m),c=!1},d(m){m&&x(e),n&&q(n)}}}function Ot(r){let e,s,t=r[0].social_links&&Ne(r);return{c(){t&&t.c(),e=ue()},m(l,n){t&&t.m(l,n),L(l,e,n),s=!0},p(l,[n]){l[0].social_links?t?(t.p(l,n),n&1&&w(t,1)):(t=Ne(l),t.c(),w(t,1),t.m(e.parentNode,e)):t&&(J(),C(t,1,1,()=>{t=null}),X())},i(l){s||(w(t),s=!0)},o(l){C(t),s=!1},d(l){t&&t.d(l),l&&x(e)}}}function Pt(r,e,s){const t={twitter:rt,facebook:ot,instagram:at,youtube:it,linkedin:ct};let{links:l={}}=e;return r.$$set=n=>{"links"in n&&s(0,l=n.links)},[l,t]}class ut extends W{constructor(e){super(),E(this,e,Pt,Ot,U,{links:0})}}ut.__docgen={version:3,name:"CompanyLinks.svelte",data:[{visibility:"public",description:null,keywords:[],name:"links",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"}}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};function Pe(r,e,s){const t=r.slice();return t[1]=e[s],t}function We(r,e,s){const t=r.slice();return t[1]=e[s],t}function Ee(r){let e,s,t,l,n,i,o,c,d,_,m,R,p,y,v,D,f,$=r[0].copyright_year+"",g,A,V,ne,re,se=r[0].ad_links,N=[];for(let M=0;M<se.length;M+=1)N[M]=Ue(We(r,se,M));let z=r[0].misc_links.filter(Ye),O=[];for(let M=0;M<z.length;M+=1)O[M]=ze(Pe(r,z,M));return{c(){e=h("section"),s=h("div"),t=h("section"),l=h("ul");for(let M=0;M<N.length;M+=1)N[M].c();n=T(),i=h("p"),o=H("All quotes delayed a minimum of 15 minutes. "),c=h("a"),d=H("See here for a complete list of exchanges and delays"),m=H("."),R=T(),p=h("section"),y=h("ul");for(let M=0;M<O.length;M+=1)O[M].c();v=T(),D=h("p"),f=H("© "),g=H($),A=H(` Reuters.
`),V=h("a"),ne=H("All rights reserved"),a(l,"class","link-group svelte-1pe3106"),a(t,"class","ad-links svelte-1pe3106"),a(c,"href",_=Z(r[0].disclaimer_link)),a(c,"class","svelte-1pe3106"),a(i,"class","disclaimer svelte-1pe3106"),a(y,"class","link-group svelte-1pe3106"),a(p,"class","misc-links svelte-1pe3106"),a(V,"href",re=Z(r[0].copyright_link)),a(V,"class","svelte-1pe3106"),a(D,"class","copyright svelte-1pe3106"),a(s,"class","content-container svelte-1pe3106"),a(e,"class","legal svelte-1pe3106")},m(M,I){L(M,e,I),u(e,s),u(s,t),u(t,l);for(let k=0;k<N.length;k+=1)N[k]&&N[k].m(l,null);u(s,n),u(s,i),u(i,o),u(i,c),u(c,d),u(i,m),u(s,R),u(s,p),u(p,y);for(let k=0;k<O.length;k+=1)O[k]&&O[k].m(y,null);u(s,v),u(s,D),u(D,f),u(D,g),u(D,A),u(D,V),u(V,ne)},p(M,I){if(I&1){se=M[0].ad_links;let k;for(k=0;k<se.length;k+=1){const ee=We(M,se,k);N[k]?N[k].p(ee,I):(N[k]=Ue(ee),N[k].c(),N[k].m(l,null))}for(;k<N.length;k+=1)N[k].d(1);N.length=se.length}if(I&1&&_!==(_=Z(M[0].disclaimer_link))&&a(c,"href",_),I&1){z=M[0].misc_links.filter(Ye);let k;for(k=0;k<z.length;k+=1){const ee=Pe(M,z,k);O[k]?O[k].p(ee,I):(O[k]=ze(ee),O[k].c(),O[k].m(y,null))}for(;k<O.length;k+=1)O[k].d(1);O.length=z.length}I&1&&$!==($=M[0].copyright_year+"")&&te(g,$),I&1&&re!==(re=Z(M[0].copyright_link))&&a(V,"href",re)},d(M){M&&x(e),le(N,M),le(O,M)}}}function Ue(r){let e,s,t=r[1].text+"",l,n,i;return{c(){e=h("li"),s=h("a"),l=H(t),i=T(),a(s,"href",n=Z(r[1].url)),a(s,"class","svelte-1pe3106"),a(e,"class","svelte-1pe3106")},m(o,c){L(o,e,c),u(e,s),u(s,l),u(e,i)},p(o,c){c&1&&t!==(t=o[1].text+"")&&te(l,t),c&1&&n!==(n=Z(o[1].url))&&a(s,"href",n)},d(o){o&&x(e)}}}function ze(r){let e,s,t=r[1].text+"",l,n,i;return{c(){e=h("li"),s=h("a"),l=H(t),i=T(),a(s,"href",n=Z(r[1].url)),a(s,"class","svelte-1pe3106"),a(e,"class","svelte-1pe3106")},m(o,c){L(o,e,c),u(e,s),u(s,l),u(e,i)},p(o,c){c&1&&t!==(t=o[1].text+"")&&te(l,t),c&1&&n!==(n=Z(o[1].url))&&a(s,"href",n)},d(o){o&&x(e)}}}function Wt(r){let e,s=r[0].ad_links&&Ee(r);return{c(){s&&s.c(),e=ue()},m(t,l){s&&s.m(t,l),L(t,e,l)},p(t,[l]){t[0].ad_links?s?s.p(t,l):(s=Ee(t),s.c(),s.m(e.parentNode,e)):s&&(s.d(1),s=null)},i:F,o:F,d(t){s&&s.d(t),t&&x(e)}}}const Ye=r=>!r.self;function Et(r,e,s){let{links:t={}}=e;return r.$$set=l=>{"links"in l&&s(0,t=l.links)},[t]}class ft extends W{constructor(e){super(),E(this,e,Et,Wt,U,{links:0})}}ft.__docgen={version:3,name:"LegalLinks.svelte",data:[{visibility:"public",description:null,keywords:[],name:"links",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"}}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};const Ut=r=>({intersecting:r&1}),Qe=r=>({intersecting:r[0]});function zt(r){let e,s;const t=r[8].default,l=gt(t,r,r[7],Qe);return{c(){e=h("div"),l&&l.c()},m(n,i){L(n,e,i),l&&l.m(e,null),r[9](e),s=!0},p(n,[i]){l&&l.p&&(!s||i&129)&&vt(l,t,n,n[7],s?wt(t,n[7],i,Ut):kt(n[7]),Qe)},i(n){s||(w(l,n),s=!0)},o(n){C(l,n),s=!1},d(n){n&&x(e),l&&l.d(n),r[9](null)}}}function Yt(r,e,s){let{$$slots:t={},$$scope:l}=e,{once:n=!1}=e,{top:i=0}=e,{bottom:o=0}=e,{left:c=0}=e,{right:d=0}=e,_=!1,m;ke(()=>{if(typeof IntersectionObserver<"u"){const y=`${o}px ${c}px ${i}px ${d}px`,v=new IntersectionObserver(D=>{s(0,_=D[0].isIntersecting),_&&n&&v.unobserve(m)},{rootMargin:y});return v.observe(m),()=>v.unobserve(m)}function p(){const y=m.getBoundingClientRect();s(0,_=y.bottom+o>0&&y.right+d>0&&y.top-i<window.innerHeight&&y.left-c<window.innerWidth),_&&n&&window.removeEventListener("scroll",p)}return window.addEventListener("scroll",p),()=>window.removeEventListener("scroll",p)});function R(p){yt[p?"unshift":"push"](()=>{m=p,s(1,m)})}return r.$$set=p=>{"once"in p&&s(2,n=p.once),"top"in p&&s(3,i=p.top),"bottom"in p&&s(4,o=p.bottom),"left"in p&&s(5,c=p.left),"right"in p&&s(6,d=p.right),"$$scope"in p&&s(7,l=p.$$scope)},[_,m,n,i,o,c,d,l,t,R]}class dt extends W{constructor(e){super(),E(this,e,Yt,zt,U,{once:2,top:3,bottom:4,left:5,right:6})}}IntersectionObserver.__docgen={version:3,name:"IntersectionObserver.svelte",data:[{visibility:"public",description:null,keywords:[],name:"once",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"boolean",type:"boolean"},defaultValue:!1},{visibility:"public",description:null,keywords:[],name:"top",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"number",type:"number"},defaultValue:0},{visibility:"public",description:null,keywords:[],name:"bottom",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"number",type:"number"},defaultValue:0},{visibility:"public",description:null,keywords:[],name:"left",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"number",type:"number"},defaultValue:0},{visibility:"public",description:null,keywords:[],name:"right",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"number",type:"number"},defaultValue:0}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[{keywords:[],visibility:"public",description:"",name:"default",params:[{name:"intersecting",type:{kind:"type",text:"*",type:"any"}}],parameters:[{name:"intersecting",type:{kind:"type",text:"*",type:"any"}}]}],refs:[]};function Qt(r){let e;return{c(){e=h("div"),a(e,"class","image svelte-qxmujt")},m(s,t){L(s,e,t)},p:F,d(s){s&&x(e)}}}function Kt(r){let e,s;return{c(){e=h("div"),a(e,"class","image svelte-qxmujt"),a(e,"style",s=`background-image: url(${r[1]});`)},m(t,l){L(t,e,l)},p(t,l){l&2&&s!==(s=`background-image: url(${t[1]});`)&&a(e,"style",s)},d(t){t&&x(e)}}}function Jt(r){let e;function s(n,i){return n[4]?Kt:Qt}let t=s(r),l=t(r);return{c(){l.c(),e=ue()},m(n,i){l.m(n,i),L(n,e,i)},p(n,i){t===(t=s(n))&&l?l.p(n,i):(l.d(1),l=t(n),l&&(l.c(),l.m(e.parentNode,e)))},d(n){l.d(n),n&&x(e)}}}function Xt(r){let e,s,t,l,n,i,o,c;return t=new dt({props:{top:600,once:!0,$$slots:{default:[Jt,({intersecting:d})=>({4:d}),({intersecting:d})=>d?16:0]},$$scope:{ctx:r}}}),{c(){e=h("div"),s=h("a"),j(t.$$.fragment),l=T(),n=h("p"),i=H(r[2]),a(n,"class","svelte-qxmujt"),a(s,"href",o=r[0].replace("index.html","")),a(s,"class","svelte-qxmujt"),a(e,"class","referral svelte-qxmujt"),a(e,"title",r[3])},m(d,_){L(d,e,_),u(e,s),B(t,s,null),u(s,l),u(s,n),u(n,i),c=!0},p(d,[_]){const m={};_&50&&(m.$$scope={dirty:_,ctx:d}),t.$set(m),(!c||_&4)&&te(i,d[2]),(!c||_&1&&o!==(o=d[0].replace("index.html","")))&&a(s,"href",o),(!c||_&8)&&a(e,"title",d[3])},i(d){c||(w(t.$$.fragment,d),c=!0)},o(d){C(t.$$.fragment,d),c=!1},d(d){d&&x(e),q(t)}}}function es(r,e,s){let{url:t}=e,{image:l}=e,{title:n}=e,{description:i}=e;return r.$$set=o=>{"url"in o&&s(0,t=o.url),"image"in o&&s(1,l=o.image),"title"in o&&s(2,n=o.title),"description"in o&&s(3,i=o.description)},[t,l,n,i]}class mt extends W{constructor(e){super(),E(this,e,es,Xt,U,{url:0,image:1,title:2,description:3})}}mt.__docgen={version:3,name:"Link.svelte",data:[{visibility:"public",description:null,keywords:[],name:"url",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"image",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"title",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"description",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};function Ke(r,e,s){const t=r.slice();return t[3]=e[s],t}function Je(r){let e,s,t=r[0],l=[];for(let i=0;i<t.length;i+=1)l[i]=Xe(Ke(r,t,i));const n=i=>C(l[i],1,1,()=>{l[i]=null});return{c(){e=h("nav");for(let i=0;i<l.length;i+=1)l[i].c();a(e,"class","referral-rail row svelte-ipd4ij")},m(i,o){L(i,e,o);for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(e,null);s=!0},p(i,o){if(o&1){t=i[0];let c;for(c=0;c<t.length;c+=1){const d=Ke(i,t,c);l[c]?(l[c].p(d,o),w(l[c],1)):(l[c]=Xe(d),l[c].c(),w(l[c],1),l[c].m(e,null))}for(J(),c=t.length;c<l.length;c+=1)n(c);X()}},i(i){if(!s){for(let o=0;o<t.length;o+=1)w(l[o]);s=!0}},o(i){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)C(l[o]);s=!1},d(i){i&&x(e),le(l,i)}}}function Xe(r){let e,s;const t=[r[3]];let l={};for(let n=0;n<t.length;n+=1)l=fe(l,t[n]);return e=new mt({props:l}),{c(){j(e.$$.fragment)},m(n,i){B(e,n,i),s=!0},p(n,i){const o=i&1?de(t,[me(n[3])]):{};e.$set(o)},i(n){s||(w(e.$$.fragment,n),s=!0)},o(n){C(e.$$.fragment,n),s=!1},d(n){q(e,n)}}}function ts(r){let e,s,t=r[0]&&Je(r);return{c(){t&&t.c(),e=ue()},m(l,n){t&&t.m(l,n),L(l,e,n),s=!0},p(l,[n]){l[0]?t?(t.p(l,n),n&1&&w(t,1)):(t=Je(l),t.c(),w(t,1),t.m(e.parentNode,e)):t&&(J(),C(t,1,1,()=>{t=null}),X())},i(l){s||(w(t),s=!0)},o(l){C(t),s=!1},d(l){t&&t.d(l),l&&x(e)}}}function ss(r,e,s){let t,{referrals:l=[]}=e,n;return ke(()=>{if(t.length===4){s(0,n=t);return}fetch("https://graphics.thomsonreuters.com/data/reuters-graphics/homepage/graphics.json").then(i=>i.json()).then(i=>{const o=i.filter(({canonical:c})=>{const d=window.location.pathname.replace(/\/index\.html$/,"").replace(/\/$/,"");return d?!c.includes(d):!0}).slice(0,4).map(({url:c,image:d,title:_,description:m})=>({url:c,image:d,title:_,description:m}));s(0,n=[...t,...o].slice(0,4))})}),r.$$set=i=>{"referrals"in i&&s(1,l=i.referrals)},r.$$.update=()=>{r.$$.dirty&2&&(t=l.filter(i=>i.url&&i.title&&i.image).slice(0,4))},[n,l]}class we extends W{constructor(e){super(),E(this,e,ss,ts,U,{referrals:1})}}we.__docgen={version:3,name:"Referrals.svelte",data:[{visibility:"public",description:null,keywords:[],name:"referrals",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"array",type:"array"}}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};function et(r){let e,s,t,l,n=typeof window<"u"&&ls(r);return{c(){e=h("section"),s=h("h2"),s.innerHTML='<a href="https://graphics.reuters.com/" class="svelte-g79kh5">More from Reuters Graphics</a>',t=T(),n&&n.c(),a(s,"class","svelte-g79kh5"),a(e,"class","referrals svelte-g79kh5")},m(i,o){L(i,e,o),u(e,s),u(e,t),n&&n.m(e,null),l=!0},p(i,o){typeof window<"u"&&n.p(i,o)},i(i){l||(w(n),l=!0)},o(i){C(n),l=!1},d(i){i&&x(e),n&&n.d()}}}function ls(r){let e,s;return e=new we({props:{referrals:r[0]}}),{c(){j(e.$$.fragment)},m(t,l){B(e,t,l),s=!0},p(t,l){const n={};l&1&&(n.referrals=t[0]),e.$set(n)},i(t){s||(w(e.$$.fragment,t),s=!0)},o(t){C(e.$$.fragment,t),s=!1},d(t){q(e,t)}}}function ns(r){let e,s,t=r[1]&&et(r);return{c(){t&&t.c(),e=ue()},m(l,n){t&&t.m(l,n),L(l,e,n),s=!0},p(l,n){l[1]?t?(t.p(l,n),n&2&&w(t,1)):(t=et(l),t.c(),w(t,1),t.m(e.parentNode,e)):t&&(J(),C(t,1,1,()=>{t=null}),X())},i(l){s||(w(t),s=!0)},o(l){C(t),s=!1},d(l){t&&t.d(l),l&&x(e)}}}function rs(r){let e,s;return e=new dt({props:{top:2400,once:!0,$$slots:{default:[ns,({intersecting:t})=>({1:t}),({intersecting:t})=>t?2:0]},$$scope:{ctx:r}}}),{c(){j(e.$$.fragment)},m(t,l){B(e,t,l),s=!0},p(t,[l]){const n={};l&7&&(n.$$scope={dirty:l,ctx:t}),e.$set(n)},i(t){s||(w(e.$$.fragment,t),s=!0)},o(t){C(e.$$.fragment,t),s=!1},d(t){q(e,t)}}}function is(r,e,s){let{referrals:t=[]}=e;return r.$$set=l=>{"referrals"in l&&s(0,t=l.referrals)},[t]}class os extends W{constructor(e){super(),E(this,e,is,rs,U,{referrals:0})}}we.__docgen={version:3,name:"index.svelte",data:[{visibility:"public",description:null,keywords:[],name:"referrals",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"array",type:"array"}}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};const as=[{company_description:"Reuters, the news and media division of Thomson Reuters, is the worlds largest multimedia news provider, reaching billions of people worldwide every day. Reuters provides business, financial, national and international news to professionals via desktop terminals, the world's media organizations, industry events and directly to consumers.",disclaimer_link:"https://www.reuters.com/info-pages/disclaimer/",copyright_link:"https://www.thomsonreuters.com/en/policies/copyright.html",copyright_year:"2022",latest_links:[{text:"Home",url:"/",self:!0}],browse_links:[{text:"World",url:"/world/",self:!0},{text:"Business",url:"/business/",self:!0},{text:"Legal",url:"/legal/",self:!0},{text:"Markets",url:"/markets/",self:!0},{text:"Breakingviews",url:"/breakingviews/",self:!0},{text:"Technology",url:"/technology/",self:!0},{text:"Investigations",url:"/investigates/"},{text:"Lifestyle",url:"/lifestyle/",self:!0}],media_links:[{text:"Videos",url:"https://www.reuters.com/video/",symbol:"videos"},{text:"Pictures",url:"https://www.reuters.com/news/pictures",symbol:"pictures"},{text:"Graphics",url:"https://graphics.reuters.com/",symbol:"graphics"}],about_links:[{text:"About Reuters",url:"https://www.reutersagency.com/en/about/about-us/"},{text:"Careers",url:"https://www.thomsonreuters.com/en/careers.html"},{text:"Reuters News Agency",url:"https://www.reutersagency.com/en/?utm_source=website&utm_medium=reuters&utm_campaign=site-referral&utm_content=us&utm_term=0"},{text:"Brand Attribution Guidelines",url:"https://www.reutersagency.com/en/about/about-us/brand-attribution-guidelines/"},{text:"Reuters Leadership",url:"https://www.reutersagency.com/en/about/leadership-team/"},{text:"Reuters Fact Check",url:"https://www.reuters.com/fact-check/"},{text:"Reuters Diversity Report",url:"https://www.reuters.com/DiversityReportApril2022"}],stay_informed_links:[{text:"Download the App",url:"https://www.reuters.com/tools/mobile/us"},{text:"Newsletters",url:"https://newslink.reuters.com/join/subscribe"}],social_links:[{type:"twitter",url:"https://www.twitter.com/Reuters"},{type:"facebook",url:"https://www.facebook.com/Reuters"},{type:"instagram",url:"https://www.instagram.com/Reuters"},{type:"youtube",url:"https://www.youtube.com/user/ReutersVideo"},{type:"linkedin",url:"https://www.linkedin.com/company/10256858/"}],tr_products:[{name:"Westlaw",description:"Build the strongest argument relying on authoritative content, attorney-editor expertise, and industry defining technology.",url:"https://legal.thomsonreuters.com/en/products/westlaw"},{name:"Onesource",description:"The most comprehensive solution to manage all your complex and ever-expanding tax and compliance needs.",url:"https://tax.thomsonreuters.com/en/onesource"},{name:"Checkpoint",description:"The industry leader for online information for tax, accounting and finance professionals.",url:"https://tax.thomsonreuters.com/en/checkpoint"}],refinitiv_products:[{name:"Refinitiv Workspace",description:" Access unmatched financial data, news and content in a highly-customised workflow experience on desktop, web and mobile.",url:" https://www.refinitiv.com/en/products/refinitiv-workspace"},{name:"Refinitiv Data Catalogue",description:" Browse an unrivalled portfolio of real-time and historical market data and insights from worldwide sources and experts.",url:" https://www.refinitiv.com/en/financial-data"},{name:"Refinitiv World-Check",description:"Screen for heightened risk individual and entities globally to help uncover hidden risks in business relationships and human networks.",url:"https://www.refinitiv.com/en/products/world-check-kyc-screening"}],ad_links:[{text:"Advertise With Us",url:"https://www.reutersagency.com/en/services/advertising-solutions/"},{text:"Advertising Guidelines",url:"/info-pages/advertising-guidelines/"}],misc_links:[{text:"Cookies",url:"https://www.thomsonreuters.com/en/privacy-statement.html#cookies"},{text:"Terms of Use",url:"/info-pages/terms-of-use/"},{text:"Privacy",url:"https://www.thomsonreuters.com/en/privacy-statement.html"},{text:"Digital Accessibility",url:"https://www.thomsonreuters.com/en/policies/digital-accessibility-policy.html"},{text:"Corrections",url:"/info-pages/contact-us/"},{text:"Site Feedback",url:"https://trdigital.iad1.qualtrics.com/jfe/form/SV_8kte8gArGyCGVhz"},{text:"Do Not Sell My Personal Information",url:"javascript:window.OneTrust.ToggleInfoDisplay();",self:"true"}]}];function cs(r){let e,s,t,l,n,i,o,c,d,_;return t=new os({props:{referrals:r[0]}}),n=new nt({props:{links:r[1][0]}}),o=new ut({props:{links:r[1][0]}}),d=new ft({props:{links:r[1][0]}}),{c(){e=h("footer"),s=h("div"),j(t.$$.fragment),l=T(),j(n.$$.fragment),i=T(),j(o.$$.fragment),c=T(),j(d.$$.fragment),a(s,"class","svelte-1xs9q5o"),a(e,"class","my-0 svelte-1xs9q5o"),a(e,"style",`
--nav-background: var(--theme-colour-background, #fff);
--nav-primary: var(--theme-colour-text-primary, #404040);
--nav-rules: var(--theme-colour-brand-rules, #d0d0d0);
`)},m(m,R){L(m,e,R),u(e,s),B(t,s,null),u(s,l),B(n,s,null),u(s,i),B(o,s,null),u(s,c),B(d,s,null),_=!0},p(m,[R]){const p={};R&1&&(p.referrals=m[0]),t.$set(p);const y={};R&2&&(y.links=m[1][0]),n.$set(y);const v={};R&2&&(v.links=m[1][0]),o.$set(v);const D={};R&2&&(D.links=m[1][0]),d.$set(D)},i(m){_||(w(t.$$.fragment,m),w(n.$$.fragment,m),w(o.$$.fragment,m),w(d.$$.fragment,m),_=!0)},o(m){C(t.$$.fragment,m),C(n.$$.fragment,m),C(o.$$.fragment,m),C(d.$$.fragment,m),_=!1},d(m){m&&x(e),q(t),q(n),q(o),q(d)}}}function us(r,e,s){let{referrals:t=[]}=e,l=as;return ke(async()=>{try{const i=await(await fetch("https://www.reuters.com/site-api/footer/?"+new URLSearchParams({_website:"reuters",outputType:"json"}))).json();if(!i[0].company_description)return;s(1,l=i)}catch{console.warn("Unable to fetch site footer data")}}),r.$$set=n=>{"referrals"in n&&s(0,t=n.referrals)},[t,l]}class he extends W{constructor(e){super(),E(this,e,us,cs,U,{referrals:0})}}function fs(r){let e,s,t;const l=[r[1]];let n={};for(let i=0;i<l.length;i+=1)n=fe(n,l[i]);return s=new he({props:n}),{c(){e=h("div"),j(s.$$.fragment),a(e,"class","svelte-kaguqp")},m(i,o){L(i,e,o),B(s,e,null),t=!0},p(i,o){const c=o&2?de(l,[me(i[1])]):{};s.$set(c)},i(i){t||(w(s.$$.fragment,i),t=!0)},o(i){C(s.$$.fragment,i),t=!1},d(i){i&&x(e),q(s)}}}function ds(r){let e,s;return e=new he({}),{c(){j(e.$$.fragment)},m(t,l){B(e,t,l),s=!0},i(t){s||(w(e.$$.fragment,t),s=!0)},o(t){C(e.$$.fragment,t),s=!1},d(t){q(e,t)}}}function ms(r){let e,s,t;return s=new Lt({props:{base:"dark",$$slots:{default:[ds]},$$scope:{ctx:r}}}),{c(){e=h("div"),j(s.$$.fragment),a(e,"class","svelte-kaguqp")},m(l,n){L(l,e,n),B(s,e,null),t=!0},p(l,n){const i={};n&4&&(i.$$scope={dirty:n,ctx:l}),s.$set(i)},i(l){t||(w(s.$$.fragment,l),t=!0)},o(l){C(s.$$.fragment,l),t=!1},d(l){l&&x(e),q(s)}}}function ps(r){let e,s,t,l,n,i,o,c,d,_;const m=[{title:"Components/SiteFooter"},{component:he},ye(be)];let R={};for(let f=0;f<m.length;f+=1)R=fe(R,m[f]);e=new $t({props:R}),t=new Ct({props:{$$slots:{default:[fs,({args:f})=>({1:f}),({args:f})=>f?2:0]},$$scope:{ctx:r}}}),n=new ge({props:{name:"Default"}});const p=[{name:"Customised theme"},pe($e)];let y={$$slots:{default:[ms]},$$scope:{ctx:r}};for(let f=0;f<p.length;f+=1)y=fe(y,p[f]);o=new ge({props:y});const v=[{name:"Customised referrals"},{args:{referrals:r[0]}},pe(Ce)];let D={};for(let f=0;f<v.length;f+=1)D=fe(D,v[f]);return d=new ge({props:D}),{c(){j(e.$$.fragment),s=T(),j(t.$$.fragment),l=T(),j(n.$$.fragment),i=T(),j(o.$$.fragment),c=T(),j(d.$$.fragment)},m(f,$){B(e,f,$),L(f,s,$),B(t,f,$),L(f,l,$),B(n,f,$),L(f,i,$),B(o,f,$),L(f,c,$),B(d,f,$),_=!0},p(f,[$]){const g=$&0?de(m,[m[0],$&0&&{component:he},$&0&&me(ye(be))]):{};e.$set(g);const A={};$&6&&(A.$$scope={dirty:$,ctx:f}),t.$set(A);const V=$&0?de(p,[p[0],me(pe($e))]):{};$&4&&(V.$$scope={dirty:$,ctx:f}),o.$set(V);const ne=$&1?de(v,[v[0],$&1&&{args:{referrals:f[0]}},$&0&&me(pe(Ce))]):{};d.$set(ne)},i(f){_||(w(e.$$.fragment,f),w(t.$$.fragment,f),w(n.$$.fragment,f),w(o.$$.fragment,f),w(d.$$.fragment,f),_=!0)},o(f){C(e.$$.fragment,f),C(t.$$.fragment,f),C(n.$$.fragment,f),C(o.$$.fragment,f),C(d.$$.fragment,f),_=!1},d(f){q(e,f),f&&x(s),q(t,f),f&&x(l),q(n,f),f&&x(i),q(o,f),f&&x(c),q(d,f)}}}function hs(r){return[[{url:"https://graphics.reuters.com/world-coronavirus-tracker-and-maps/",title:"COVID-19: the latest global statistics, charts and maps",description:"Tracking the global coronavirus outbreak, updated daily",image:"https://graphics.thomsonreuters.com/cdn/2020/covid-global-tracker/share-cards/global/en/share.png"},{url:"https://graphics.reuters.com/world-coronavirus-tracker-and-maps/regions/europe",title:"Coronavirus in Europe: the latest counts, charts and maps",description:"Tracking the global coronavirus outbreak, updated daily",image:"https://graphics.thomsonreuters.com/cdn/2020/covid-global-tracker/share-cards/regions/en/europe.png"}]]}class pt extends W{constructor(e){super(),E(this,e,hs,ps,U,{})}}pt.__docgen={version:3,name:"SiteFooter.stories.svelte",data:[],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};const _e=bt(pt,{meta:{title:"Components/SiteFooter"},stories:{"tpl:default":{storyId:"components-sitefooter--default",name:"default",template:!0,source:`<div>
<SiteFooter {...args} />
</div>`,hasArgs:!0},Default:{storyId:"components-sitefooter--default",name:"Default",template:!1,hasArgs:!1},CustomisedTheme:{storyId:"components-sitefooter--customised-theme",name:"Customised theme",template:!1,source:`<div>
<Theme base="dark">
<SiteFooter />
</Theme>
</div>`,hasArgs:!1},CustomisedReferrals:{storyId:"components-sitefooter--customised-referrals",name:"Customised referrals",template:!1,hasArgs:!1}},allocatedIds:["default","Meta","Template","Story","componentDocs","darkThemeDocs","customReferralsDocs","SiteFooter","Theme","withComponentDocs","withStoryDocs"]}),ys=_e.meta,bs=["Default","CustomisedTheme","CustomisedReferrals"],$s=_e.stories.Default,Cs=_e.stories.CustomisedTheme,Ls=_e.stories.CustomisedReferrals;export{Ls as CustomisedReferrals,Cs as CustomisedTheme,$s as Default,bs as __namedExportsOrder,ys as default};
//# sourceMappingURL=SiteFooter.stories-dce78899.js.map