1"use strict";(self.webpackChunkprogressive_international_website=self.webpackChunkprogressive_international_website||[]).push([[9245],{1347:function(e,t,n){n.r(t),n.d(t,{default:function(){return K}});var l=n(2531),r=n(6835),a=n(9772),i=n(9397),o=n(6478),s=n(4471),c=n(6540),u=n(9643),d=n(2022);var m=e=>{const t=c.useRef(e);return c.useEffect(()=>{t.current=e}),t};const p="undefined"!=typeof performance?performance:Date;function h(e,t=30,n=!1){const l=m(e),r=1e3/t,a=c.useRef(0),i=c.useRef(),o=()=>i.current&&clearTimeout(i.current),s=[t,n,l];function u(){a.current=0,o()}return c.useEffect(()=>u,s),c.useCallback(function(){const e=arguments,t=p.now(),s=()=>{a.current=t,o(),l.current.apply(null,e)},c=a.current;if(n&&0===c)return s();if(t-c>r){if(c>0)return s();a.current=t}o(),i.current=setTimeout(()=>{s(),a.current=0},r)},s)}var f=function(e,t,n,l){const r=c.useRef(n),a=c.useRef(l);c.useEffect(()=>{r.current=n,a.current=l}),c.useEffect(()=>{const n=e&&"current"in e?e.current:e;if(!n)return;let l=0;function i(...e){l||r.current.apply(this,e)}n.addEventListener(t,i);const o=a.current;return()=>{l=1,n.removeEventListener(t,i),o&&o()}},[e,t])};const g={},x="undefined"==typeof window?null:window,v=x&&void 0!==x.visualViewport?x.visualViewport:null,y=()=>[document.documentElement.clientWidth,document.documentElement.clientHeight],b=function(e){void 0===e&&(e=g);const{fps:t,leading:n,initialWidth:l=0,initialHeight:r=0}=e,[a,i]=function(e,t,n){const l=c.useState(e);return[l[0],h(l[1],t,n)]}("undefined"==typeof document?[l,r]:y,t,n),o=()=>i(y);return f(x,"resize",o),f(v,"resize",o),f(x,"orientationchange",o),a};var Y=n(7639),w=n(4810);const I=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,P=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,k=/\.(m3u8)($|\?)/i,E=/\.(mpd)($|\?)/i,S=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,R=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,C=/vimeo\.com\/(?!progressive_redirect).+/,H=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,z=/open\.spotify\.com\/(\w+)\/(\w+)/i,A=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+|(videos?\/|\?video=)\d+)($|\?)/,O=/tiktok\.com\/(?:player\/v1\/|share\/video\/|@[^/]+\/video\/)([0-9]+)/,M=(e,t)=>{if(Array.isArray(e)){for(const n of e){if("string"==typeof n&&M(n,t))return!0;if(M(n.src,t))return!0}return!1}return t(e)},D={html:e=>M(e,e=>I.test(e)||P.test(e)),hls:e=>M(e,e=>k.test(e)),dash:e=>M(e,e=>E.test(e)),mux:e=>S.test(e),youtube:e=>R.test(e),vimeo:e=>C.test(e)&&!P.test(e)&&!k.test(e),wistia:e=>H.test(e),spotify:e=>z.test(e),twitch:e=>A.test(e),tiktok:e=>O.test(e)};var L=c.forwardRef((e,t)=>{const n=I.test(`${e.src}`)?"audio":"video";return c.createElement(n,{...e,ref:t},e.children)});var T=[{key:"hls",name:"hls.js",canPlay:D.hls,canEnablePIP:()=>!0,player:(0,c.lazy)(()=>Promise.all([n.e(6722),n.e(1456),n.e(2262)]).then(n.bind(n,8805)))},{key:"dash",name:"dash.js",canPlay:D.dash,canEnablePIP:()=>!0,player:(0,c.lazy)(()=>Promise.all([n.e(1456),n.e(6395)]).then(n.bind(n,6517)))},{key:"mux",name:"Mux",canPlay:D.mux,canEnablePIP:()=>!0,player:(0,c.lazy)(()=>Promise.all([n.e(6722),n.e(1456),n.e(2723)]).then(n.bind(n,6194)))},{key:"youtube",name:"YouTube",canPlay:D.youtube,player:(0,c.lazy)(()=>n.e(8446).then(n.bind(n,4808)))},{key:"vimeo",name:"Vimeo",canPlay:D.vimeo,player:(0,c.lazy)(()=>n.e(6173).then(n.bind(n,4183)))},{key:"wistia",name:"Wistia",canPlay:D.wistia,canEnablePIP:()=>!0,player:(0,c.lazy)(()=>n.e(9340).then(n.bind(n,2868)))},{key:"spotify",name:"Spotify",canPlay:D.spotify,canEnablePIP:()=>!1,player:(0,c.lazy)(()=>n.e(2771).then(n.bind(n,3653)))},{key:"twitch",name:"Twitch",canPlay:D.twitch,canEnablePIP:()=>!1,player:(0,c.lazy)(()=>n.e(2042).then(n.bind(n,2682)))}
1,{key:"tiktok",name:"TikTok",canPlay:D.tiktok,canEnablePIP:()=>!1,player:(0,c.lazy)(()=>n.e(8085).then(n.bind(n,3188)))},{key:"html",name:"html",canPlay:D.html,canEnablePIP:()=>!0,player:L}];const F={width:"320px",height:"180px",volume:1,playbackRate:1,previewTabIndex:0,previewAriaLabel:"",oEmbedUrl:"https://noembed.com/embed?url={url}"},W=c.forwardRef((e,t)=>{const{playing:n,pip:l}=e,r=e.activePlayer,a=(0,c.useRef)(null),i=(0,c.useRef)(!0);(0,c.useEffect)(()=>{var t,l;a.current&&(a.current.paused&&!0===n&&a.current.play(),a.current.paused||!1!==n||a.current.pause(),a.current.playbackRate=null!=(t=e.playbackRate)?t:1,a.current.volume=null!=(l=e.volume)?l:1)}),(0,c.useEffect)(()=>{var e,t,n,r,i;if(a.current&&globalThis.document){if(l&&!document.pictureInPictureElement)try{null==(t=(e=a.current).requestPictureInPicture)||t.call(e)}catch(o){}if(!l&&document.pictureInPictureElement)try{null==(r=(n=a.current).exitPictureInPicture)||r.call(n),null==(i=document.exitPictureInPicture)||i.call(document)}catch(o){}}},[l]);if(!r)return null;const o={},s=["onReady","onStart"];for(const c in e)c.startsWith("on")&&!s.includes(c)&&(o[c]=e[c]);return c.createElement(r,{...o,style:e.style,className:e.className,slot:e.slot,ref:(0,c.useCallback)(e=>{a.current=e,"function"==typeof t?t(e):null!==t&&(t.current=e)},[t]),src:e.src,crossOrigin:e.crossOrigin,preload:e.preload,controls:e.controls,muted:e.muted,autoPlay:e.autoPlay,loop:e.loop,playsInline:e.playsInline,disableRemotePlayback:e.disableRemotePlayback,config:e.config,onLoadStart:t=>{var n,l;i.current=!0,null==(n=e.onReady)||n.call(e),null==(l=e.onLoadStart)||l.call(e,t)},onPlay:t=>{var n,l;i.current&&(i.current=!1,null==(n=e.onStart)||n.call(e,t)),null==(l=e.onPlay)||l.call(e,t)}},e.children)});W.displayName="Player";var _=W;const N=(0,c.lazy)(()=>n.e(6353).then(n.bind(n,1924))),G=[],$=({children:e})=>e;var B=((e,t)=>{const n=c.forwardRef((n,l)=>{const r={...F,...n},{src:a,slot:i,className:o,style:s,width:u,height:d,fallback:m,wrapper:p}=r,[h,f]=(0,c.useState)(!!r.light);(0,c.useEffect)(()=>{r.light?f(!0):f(!1)},[r.light]);const g=e=>{var t;f(!1),null==(t=r.onClickPreview)||t.call(r,e)},x=null==p?$:p,v=!1===m?$:c.Suspense;return c.createElement(x,{slot:i,className:o,style:{width:u,height:d,...s}},c.createElement(v,{fallback:m},h?(e=>{if(!e)return null;const{light:t,playIcon:n,previewTabIndex:l,oEmbedUrl:a,previewAriaLabel:i}=r;return c.createElement(N,{src:e,light:t,playIcon:n,previewTabIndex:l,previewAriaLabel:i,oEmbedUrl:a,onClickPreview:g})})(a):(n=>{var a,s;const u=(n=>{for(const t of[...G,...e])if(n&&t.canPlay(n))return t;return t||null})(n);if(!u)return null;const{style:d,width:m,height:p,wrapper:h}=r,f=null==(a=r.config)?void 0:a[u.key];return c.createElement(_,{...r,ref:l,activePlayer:null!=(s=u.player)?s:u,slot:h?void 0:i,className:h?void 0:o,style:h?{display:"block",width:"100%",height:"100%"}:{display:"block",width:m,height:p,...d},config:f})})(a)))});return n.displayName="ReactPlayer",n.addCustomPlayer=e=>{G.push(e)},n.removeCustomPlayers=()=>{G.length=0},n.canPlay=t=>{if(t)for(const n of[...G,...e])if(n.canPlay(t))return!0;return!1},n.canEnablePIP=t=>{var n;if(t)for(const l of[...G,...e])if(l.canPlay(t)&&(null==(n=l.canEnablePIP)?void 0:n.call(l)))return!0;return!1},n})(T,T[T.length-1]);var j=({src:e,placeholderImage:t})=>{const n=(0,c.useRef)(null),[a,i]=(0,c.useState)("unloaded"),o="ended"===a,u="playing"===a,d=!o&&("paused"===a||u),[m,p]=b(),{defaultPlaceholderImage:h}=(0,w.useStaticQuery)("942788344"),f=()=>{!u&&n.current&&(o&&(n.current.currentTime=0),i("playing")),Y.zS.trackEvent({category:"website",action:"watch-video"}),window.scrollTo(0,0)};return(0,l.Y)(r.az,{sx:{position:"relative",top:0,left:0,width:"100%",minHeight:["75vh",null,600,800],background:"black",display:"flex",justifyContent:"center",alignItems:"center"},onClick:()=>{u&&i("paused")}},!d&&(0,l.Y)(s.S_,{src:t?t.childImageSharp:null==h?void 0:h.childImageSharp,sx:{top:0,left:0,position:"absolute",width:"100%",height:"100%"}}),(0,l.Y)(B,{ref:n,src:e,playing:u,onReady:()=>{"unloaded"===a&&i("loaded")},controls:!1,width:m,height:p,style:{zIndex:80,display:d?"block":"none",flexGrow:1,flexShrink:0,width:"100%",top:0,left:0},onEnded:()=>{i("ended")}}),!u&&(0,l.Y)(r.mc,{sx:{position:"absolute",bottom:0,px:2,height:"100%"}},(0,l.Y)(r.az,{tabIndex:0,sx:{cursor:"pointer",width:[50,null,75],height:[50,null,75],display:"flex",justifyContent:"center",alignItems:"center",border:"2px s
1olid white",borderRadius:100,color:"white",zIndex:99,position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",fontSize:[5,null,6],":hover":{color:"text",borderColor:"text",background:"rgba(255,255,255,0.9)"},":focus-visible":{color:"text",borderColor:"text",background:"rgba(255,255,255,0.9)"}},onClick:f,onKeyDown:e=>{"Enter"==e.key&&f()}},(0,l.Y)("span",{sx:{mr:-1}},"â¶"))))},Z=n(7148),q=n(3497),U=n.p+"static/internationalist_sticker-eb1613db9d80077aa37c06fc3200ba5a.png";const V=()=>(0,l.Y)(o.N_,{to:"https://act.progressive.international/theinternationalist/#blank-3"},(0,l.Y)(r.az,{sx:{position:"relative",display:"block",height:["40.5vw","min(40vw, 560px)","min(40vw, 560px)"],width:"90vw",margin:"0 auto",maxWidth:"1200px",maxHeight:"575px"}},(0,l.Y)(s.S_,{sx:{position:"absolute",left:0,right:0,top:0,bottom:0},src:U})));var J=n(3473);var K=({data:{wire:e,movement:t,movementAnnouncements:n,tiles:m,blueprint:p,observatory:h,allPillars:f,file:g,custom:x}})=>{var v,y,b,Y,w,I;const{t:P,i18n:{language:k}}=(0,d.Bd)(),E=(0,q.mC)(k),S=(0,i.n0)(e,t,n,p,h,5),R=(0,J.A)(null===(v=m.edges[0].node)||void 0===v?void 0:v.frontmatter.tiles);return(0,l.Y)(c.Fragment,null,null!==(y=x.frontmatter)&&void 0!==y&&y.src&&null!==(b=x.frontmatter)&&void 0!==b&&b.placeholderImage?(0,l.Y)(c.Fragment,null,(0,l.Y)(j,{src:x.frontmatter.src,placeholderImage:null===(Y=x.frontmatter)||void 0===Y?void 0:Y.placeholderImage}),(0,l.Y)("h1",{className:"visually-hidden"},(0,l.Y)(d.x6,null,"We unite, organise, and mobilise progressive forces around the world."))):(null===(w=x.frontmatter)||void 0===w||null===(I=w.headerImages)||void 0===I?void 0:I.length)>0?(0,l.Y)(Z.Pq,{headerImages:x.frontmatter.headerImages,defaultImage:g}):(0,l.Y)("div",null,(0,l.Y)(s.S_,{sx:{height:"50%",minHeight:"100px",display:"flex"},src:g.childImageSharp,childWrapperStyle:{width:"100%",display:"flex"}},(0,l.Y)(a.$G,{sx:{alignContent:"end"}},(0,l.Y)(r.DZ,{variant:"headings.1",sx:{width:["null",null,"50%"],mb:[4,null,4],mt:[8,null,7],color:"#FFFFFF"}},(0,l.Y)(d.x6,null,"We unite, organise, and mobilise progressive forces around the world."))))),(0,l.Y)(i.WB,{content:f.edges.slice(0,10)}),(0,l.Y)(a.$G,{sx:{pb:0}},(0,l.Y)(a.qM,{sx:{color:"latestHex"}},(0,l.Y)(d.x6,null,"Latest"))),(0,l.Y)(s.rd,{isRtl:E.isRtl,sx:{pt:0}},(0,l.Y)(i.qZ,{node:S.edges[0].node,associatedDate:S.edges[0].date}),(0,l.Y)("div",null,(0,l.Y)(i.Hm,{sx:{flex:1,p:[4,null,0],pb:0}},S.edges.slice(1).map(({node:e,date:t},n)=>(0,l.Y)(i.vg,{node:e,associatedDate:t,last:3==n}))))),(0,l.Y)(r.az,{sx:{bg:"white",mt:[4,5,6],mb:[3,4],py:[1,2]}},(0,l.Y)(a.$G,null,(0,l.Y)(r.EY,{sx:{color:"darkGrey",fontFamily:"monospace",mb:[3,2]}},(0,l.Y)(d.x6,null,"Our activities are divided across four pillars:")),(0,l.Y)(r.xA,{columns:[1,null,4],gap:[4,5,6],sx:{my:0}},(0,l.Y)(o.UO,{to:"/movement",icon:u.Ty,color:"movementHex",sx:{":hover":{bg:"movementHexLight"},transition:"all 0.1s ease"},title:P("Movement")},(0,l.Y)(d.x6,null,"Empowering Progressive Activists & Organisers")),(0,l.Y)(o.UO,{to:"/blueprint",icon:u.HM,color:"blueprintHex",sx:{":hover":{bg:"blueprintHexLight"},transition:"all 0.1s ease"},title:P("Blueprint")},(0,l.Y)(d.x6,null,"Crafting a Shared Vision of a World Transformed")),(0,l.Y)(o.UO,{to:"/wire",icon:u.VL,color:"wireHex",sx:{":hover":{bg:"wireHexLight"},transition:"all 0.1s ease"},title:P("Wire")},(0,l.Y)(d.x6,null,"Publishing Grassroots & Critical Perspectives")),(0,l.Y)(o.UO,{to:"/observatory",icon:u.YP,color:"observatoryHex",sx:{":hover":{bg:"observatoryHexLight"},transition:"all 0.1s ease"},title:P("Observatory")},(0,l.Y)(d.x6,null,"Tracking Attacks on the Democratic Process"))))),(0,l.Y)(a.$G,{sx:{pb:0}},(0,l.Y)(a.qM,{sx:{color:"movementHex"}},(0,l.Y)(o.N_,{to:"/movement"},(0,l.Y)(d.x6,null,"Movement")))),(null==R?void 0:R.length)>0&&(0,l.Y)(s.rd,{isRtl:E.isRtl,sx:{pt:0}},(0,l.Y)("div",null,(0,l.Y)(i.mZ,{tileWrapper:R[0],nodeComponent:(0,l.Y)(i.bk,{node:R[0].tile.campaignArticle}),tileComponent:(0,l.Y)(i.Vu,{tile:R[0].tile})})),(0,l.Y)("div",null,(0,l.Y)(i.Hm,{sx:{flex:1,p:[4,null,0],pb:0,height:"100%",display:"flex",flexDirection:"column"}},R.slice(1,5).map(e=>(0,l.Y)(i.mZ,{tileWrapper:e,nodeComponent:(0,l.Y)(i.u8,{node:e.tile.campaignArticle,style:{flex:"1 1 auto"}}),tileComponent:(0,l.Y)(i.Vb,{tile:e.tile,themeColor:"movementHex",style:{flex:"1 1 auto"}})}
1))))),(0,l.Y)(r.az,{sx:{bg:"blueprintHexLight",mt:[4,5,6],mb:[3,4],py:[3,4]}},(0,l.Y)(a.$G,null,(0,l.Y)(a.qM,{sx:{color:"blueprintHex"}},(0,l.Y)(o.N_,{to:"/blueprint"},(0,l.Y)(d.x6,null,"Blueprint"))),(0,l.Y)(r.xA,{gap:[3,null,7],columns:[null,null,2]},p.edges.map(({node:e},t)=>0===t?(0,l.Y)(i.UK,{key:e.id,node:e}):(0,l.Y)(i.R3,{key:e.id,node:e,dymaxion:t%2==0}))))),(0,l.Y)(a.$G,null,(0,l.Y)(a.qM,{sx:{color:"wireHex"}},(0,l.Y)(o.N_,{to:"/wire"},(0,l.Y)(d.x6,null,"Wire"))),(0,l.Y)(r.xA,{gap:[5,null,7],columns:[null,null,3]},e.edges.map(({node:e})=>(0,l.Y)(i.jJ,{key:e.id,node:e,truncated:!1})))),(0,l.Y)(r.az,{sx:{bg:"observatoryHexLight",mt:[4,5,6],mb:[3,4,5],py:[3,4]}},(0,l.Y)(a.$G,null,(0,l.Y)(a.qM,{sx:{color:"observatoryHex"}},(0,l.Y)(o.N_,{to:"/observatory"},(0,l.Y)(d.x6,null,"Observatory"))),h.edges.map(({node:e})=>(0,l.Y)(i.qZ,{node:e})))),["en","en-gb"].includes(k)&&(0,l.Y)(V,null),(0,l.Y)("div",{id:"index-indicator"}))}},3473:function(e,t,n){var l=n(6540);t.A=e=>{const t=e=>e.map(e=>e.campaignArticle&&"string"!=typeof e.campaignArticle?{isManual:!1,tile:e}:e.translations&&e.translations.length>0&&e.manualImage?{isManual:!0,tile:e}:void 0).filter(e=>!!e)||[],[n,r]=(0,l.useState)(t(e));return(0,l.useEffect)(()=>{r(t(e))},[e]),n}},7148:function(e,t,n){n.d(t,{Pq:function(){return Y},TJ:function(){return E},Z9:function(){return w}});var l=n(2531),r=n(6835),a=n(4471),i=n(9772),o=n(2022),s=n(6478),c=n(6540),u=n(2337),d=n(6188),m=n(7897),p=n(9397),h=n(3497);const f=["node"],g=["node","imgOverride"];function x(){return x=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var l in n)({}).hasOwnProperty.call(n,l)&&(e[l]=n[l])}return e},x.apply(null,arguments)}function v(e,t){if(null==e)return{};var n,l,r=function(e,t){if(null==e)return{};var n={};for(var l in e)if({}.hasOwnProperty.call(e,l)){if(-1!==t.indexOf(l))continue;n[l]=e[l]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l<a.length;l++)n=a[l],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}const y=n(9156),b=({headerImage:e,defaultImage:t,current:n,main:c})=>{var u;const{i18n:{language:d}}=(0,o.Bd)();if(!e)return(0,l.Y)("div",null);const{title:m,abstract:p,featuredImageAlt:h}=e.translations?e.translations.find(e=>e.locale==d)||e.translations.find(e=>"en"==e.locale)||e.translations[0]:{title:void 0,abstract:void 0};return(0,l.Y)(a.S_,{sx:{height:["50vh","65vh","75vh"],minWidth:"100vw",display:"flex"},alt:h,src:(null===(u=e.featuredImage)||void 0===u?void 0:u.childImageSharp)||t.childImageSharp,childWrapperStyle:{width:"100%",display:"flex"}},(0,l.Y)(i.$G,{sx:{alignContent:"end"}},m&&(0,l.Y)(r.DZ,{as:c?"h1":"h2",variant:"headings.1",sx:{width:["null",null,"50%"],mb:[4,null,4],mt:[8,null,7],color:"#FFFFFF"}},m),e.link&&p&&(0,l.Y)(s.N_,{to:e.link,tabIndex:n?0:-1},(0,l.Y)(r.$n,{sx:{width:["100%",null,"auto"],fontWeight:600,color:"#000",backgroundColor:"#FC164B",marginBottom:"30px"},variant:"primary",tabIndex:-1},p))))},Y=({headerImages:e,defaultImage:t})=>{const[n,r]=(0,c.useState)(0),a=(0,c.useRef)(0),[i,o]=(0,c.useState)(0);return(0,c.useEffect)(()=>{a.current=n},[n]),(0,c.useEffect)(()=>{const t=e.length>1?setInterval(()=>{(t=>{const n=a.current+t;n<0?r(e.length-1):n>=e.length?r(0):r(n)})(1)},7e3):void 0;return()=>{t&&clearInterval(t)}},[i]),(0,l.Y)("div",{sx:{position:"relative"}},(0,l.Y)("div",{sx:{height:["50vh","65vh","75vh"],position:"relative",display:"flex",transition:"margin-left 0.5s ease-in-out",marginLeft:-100*n+"vw"}},e.map((e,r)=>(0,l.Y)(b,{headerImage:e,defaultImage:t,current:r==n,main:0==r}))),e.length>1&&(0,l.Y)("div",{sx:{position:"absolute",left:"50%",top:"calc(100% - 40px)",transform:"translateX(-50%)",zIndex:100}},e.map((e,t)=>t==n?(0,l.Y)(u.gc,{icon:d.GEE,sx:{color:"red",margin:"5px",height:"15px"}}):(0,l.Y)(u.gc,{icon:m.GEE,sx:{color:"red",margin:"5px",height:"15px",cursor:"pointer"},onClick:()=>{r(t),o(Date.now())}}))))},w=({content:e})=>{const[t,n]=(0,c.useState)(0),r=(0,c.useRef)(0),[a,i]=(0,c.useState)(0);return(0,c.useEffect)(()=>{r.current=t},[t]),(0,c.useEffect)(()=>{const t=e.length>1?setInterval(()=>{(t=>{const l=r.current+t;l<0?n(e.length-1):l>=e.length?n(0):n(l)})(1)},7e3):void 0;return()=>{t&&clearInterval(t)}},[a]),(0,l.Y)("div",{sx:{position:"relative",borderRadius:["10px","17.5px","25px"],overflow:"hidden"}},(0,l.Y)("div",{sx:{position:"relative",display:"flex",transition:"margin-left 0.5s ease-in-out",marginLeft:-100*t+"%",
1width:"100%"}},e.map(e=>(0,l.Y)(I,{node:e.node}))),e.length>1&&(0,l.Y)("div",{sx:{position:"absolute",right:["25px","32.5px","40px"],bottom:["10px","17.5px","25px"],zIndex:100}},e.map((e,r)=>r==t?(0,l.Y)(u.gc,{icon:d.GEE,sx:{color:"white",margin:"5px",height:"15px"}}):(0,l.Y)(u.gc,{icon:m.GEE,sx:{color:"white",margin:"5px",height:"15px",cursor:"pointer"},onClick:()=>{n(r),i(Date.now())}}))))},I=e=>{let{node:t}=e,n=v(e,f);const{title:i,path:o,shortAbstract:c,abstract:u,locale:d,featuredImageAlt:m}=(0,p.TM)(t),g=(0,h.mC)(d);return(0,l.Y)(s.aD,x({to:o},n,{sx:{textAlign:g.left,minWidth:"100%"}}),(0,l.Y)("div",{className:"hover-parent",sx:{flexDirection:["column",null,"row"],position:"relative"}},(0,l.Y)(r.so,{sx:{p:["17.5px","25px","32.5px"],flexDirection:"column",color:"white",justifyContent:"space-between",position:"absolute",left:0,right:0,top:0,bottom:0,zIndex:2}},(0,l.Y)(r.so,{sx:{flexBasis:"40%",maxHeight:"40%",alignItems:["baseline","center","center"]}},(0,l.Y)(r.DZ,{as:"h2",variant:"headings.extra",sx:{width:["100%","90%","90%"],[g.marginRight]:"auto",maxHeight:"100%"}},i)),(0,l.Y)(r.so,{sx:{flexBasis:"60%",maxHeight:"60%",alignItems:"end"}},(0,l.Y)("div",{sx:{[g.marginRight]:"auto",fontFamily:"'IBM Plex Mono',Menlo,monospace",fontSize:[14,null,20],width:"60%",maxHeight:"100%"}},c||u))),(0,l.Y)(a.S_,{sx:{pb:["130%","56.25%"]},gradient:t.fields.themeColor+"Dark",alt:m,src:t.frontmatter.featuredImage?t.frontmatter.featuredImage.childImageSharp:y})))},P=e=>{var t;let{node:n,imgOverride:i}=e,o=v(e,g);const{title:c,path:u,shortAbstract:d,abstract:m,locale:f,featuredImageAlt:b}=(0,p.TM)(n),Y=(0,h.mC)(f);return(0,l.Y)(s.aD,x({to:u},o,{sx:{textAlign:Y.left}}),(0,l.Y)("div",{className:"hover-parent",sx:{flexDirection:["column",null,"row"],position:"relative",width:["300px","600px","750px"],m:"12.5px",borderRadius:"10px",overflow:"hidden"}},(0,l.Y)(r.so,{sx:{px:["35px","42.5px","50px"],py:["17.5px","25px","32.5px"],flexDirection:"column",color:"white",justifyContent:"space-between",position:"absolute",left:0,right:0,top:0,bottom:0,zIndex:2}},(0,l.Y)(r.so,{sx:{flexBasis:"65%",maxHeight:"65%",alignItems:["baseline","center","center"],flexDirection:"column"}},(0,l.Y)(r.DZ,{as:"h3",variant:"headings.3",sx:{[Y.marginRight]:"auto"}},(0,l.Y)(p.hA,{node:n.frontmatter.topic},e=>null==e?void 0:e.title)),(0,l.Y)(r.DZ,{as:"h2",variant:"headings.extra1",sx:{width:["100%","80%","60%"],[Y.marginRight]:"auto",maxHeight:"100%",mt:"0.9em",lineHeight:.9}},c)),(0,l.Y)(r.so,{sx:{flex:1,alignItems:"center"}},(0,l.Y)("div",{sx:{[Y.marginRight]:"auto",fontFamily:"'IBM Plex Mono',Menlo,monospace",fontSize:[12,14,20]}},d||m))),(0,l.Y)(a.S_,{sx:{pb:["130%","100%"]},gradient:n.fields.themeColor+"Dark",alt:b,src:i&&i(n)||(null===(t=n.frontmatter.featuredImage)||void 0===t?void 0:t.childImageSharp)||y})))},k=({children:e})=>{const[t,n]=(0,c.useState)(void 0),r=(0,c.useRef)(null);return(0,c.useEffect)(()=>{let e;return r.current&&t&&(e=setInterval(()=>{return e=t,void(r.current.scrollLeft+="LEFT"==e?-250:250);var e},5)),()=>{e&&clearInterval(e)}},[t]),(0,l.Y)("div",{sx:{width:"100%",position:"relative"}},(0,l.Y)("div",{sx:{position:"absolute",left:0,top:0,bottom:0,width:"5%",zIndex:10,display:["none",null,"block"]},onMouseEnter:()=>n("LEFT"),onMouseLeave:()=>n(void 0)}),(0,l.Y)("div",{sx:{position:"absolute",right:0,top:0,bottom:0,width:"5%",zIndex:10,display:["none",null,"block"]},onMouseEnter:()=>n("RIGHT"),onMouseLeave:()=>n(void 0)}),(0,l.Y)("div",{sx:{display:"flex",flexWrap:"nowrap",overflowX:"scroll",scrollBehavior:"smooth"},className:"hiddenScrollbar",ref:r},e))},E=({edges:e,imgOverride:t})=>(0,l.Y)(k,null,e.map(e=>(0,l.Y)(P,{node:e.node,imgOverride:t})))}}]); 2//# sourceMappingURL=component---src-pages-index-tsx-a164390b0b4808d701f3.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.