1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,247625,e=>{e.v({})},697652,e=>{e.v({icon:"SearchBar-module-scss-module__wyEVoG__icon",input:"SearchBar-module-scss-module__wyEVoG__input",levell:"SearchBar-module-scss-module__wyEVoG__levell",portalResult:"SearchBar-module-scss-module__wyEVoG__portalResult",portalResults:"SearchBar-module-scss-module__wyEVoG__portalResults",result:"SearchBar-module-scss-module__wyEVoG__result",results:"SearchBar-module-scss-module__wyEVoG__results",wrapper:"SearchBar-module-scss-module__wyEVoG__wrapper"})},96949,e=>{e.v({ctaWrapper:"ContentSection-module-scss-module__7vq03W__ctaWrapper",grid:"ContentSection-module-scss-module__7vq03W__grid",heading:"ContentSection-module-scss-module__7vq03W__heading",inner:"ContentSection-module-scss-module__7vq03W__inner",section:"ContentSection-module-scss-module__7vq03W__section"})},597246,e=>{e.v({fadeIn:"StayConnected-module-scss-module__vJ5sGG__fadeIn",form:"StayConnected-module-scss-module__vJ5sGG__form",input:"StayConnected-module-scss-module__vJ5sGG__input",riseIn:"StayConnected-module-scss-module__vJ5sGG__riseIn",shimmer:"StayConnected-module-scss-module__vJ5sGG__shimmer",stayconnected:"StayConnected-module-scss-module__vJ5sGG__stayconnected",submit:"StayConnected-module-scss-module__vJ5sGG__submit"})},116178,e=>{e.v({container:"Home-module-scss-module__vEKjOq__container",explorewrapper:"Home-module-scss-module__vEKjOq__explorewrapper",head:"Home-module-scss-module__vEKjOq__head",hero:"Home-module-scss-module__vEKjOq__hero",home:"Home-module-scss-module__vEKjOq__home",iframe:"Home-module-scss-module__vEKjOq__iframe",iframes:"Home-module-scss-module__vEKjOq__iframes",image:"Home-module-scss-module__vEKjOq__image",landing:"Home-module-scss-module__vEKjOq__landing",logo:"Home-module-scss-module__vEKjOq__logo",meme:"Home-module-scss-module__vEKjOq__meme",memes:"Home-module-scss-module__vEKjOq__memes",sectionHeading:"Home-module-scss-module__vEKjOq__sectionHeading",subtitle:"Home-module-scss-module__vEKjOq__subtitle",teamSectionTitle:"Home-module-scss-module__vEKjOq__teamSectionTitle",teamwrapper:"Home-module-scss-module__vEKjOq__teamwrapper",title:"Home-module-scss-module__vEKjOq__title",top_picks:"Home-module-scss-module__vEKjOq__top_picks",top_picks_explore_more:"Home-module-scss-module__vEKjOq__top_picks_explore_more",top_picks_title:"Home-module-scss-module__vEKjOq__top_picks_title",wrapper:"Home-module-scss-module__vEKjOq__wrapper"})},328046,e=>{e.v({card_author:"NewsCard-module-scss-module__0krnwa__card_author",card_body:"NewsCard-module-scss-module__0krnwa__card_body",card_item1:"NewsCard-module-scss-module__0krnwa__card_item1",card_item2:"NewsCard-module-scss-module__0krnwa__card_item2",card_item3:"NewsCard-module-scss-module__0krnwa__card_item3",card_item4:"NewsCard-module-scss-module__0krnwa__card_item4",card_item5:"NewsCard-module-scss-module__0krnwa__card_item5",card_item6:"NewsCard-module-scss-module__0krnwa__card_item6",card_item7:"NewsCard-module-scss-module__0krnwa__card_item7",card_title:"NewsCard-module-scss-module__0krnwa__card_title",date:"NewsCard-module-scss-module__0krnwa__date",default_content:"NewsCard-module-scss-module__0krnwa__default_content",default_title:"NewsCard-module-scss-module__0krnwa__default_title",headline_text:"NewsCard-module-scss-module__0krnwa__headline_text",media_wrapper:"NewsCard-module-scss-module__0krnwa__media_wrapper",news_card:"NewsCard-module-scss-module__0krnwa__news_card",overlay:"NewsCard-module-scss-module__0krnwa__overlay",primary_headline_content:"NewsCard-module-scss-module__0krnwa__primary_headline_content",primary_headline_image:"NewsCard-module-scss-module__0krnwa__primary_headline_image",primary_headline_title:"NewsCard-module-scss-module__0krnwa__primary_headline_title",startup_image:"NewsCard-module-scss-module__0krnwa__startup_image",startup_name:"NewsCard-module-scss-module__0krnwa__startup_name",startup_of_the_day_content:"NewsCard-module-scss-module__0krnwa__startup_of_the_day_content",startup_tag:"NewsCard-module-scss-module__0krnwa__startup_tag",startup_text:"NewsCard-module-scss-module__0krnwa__startup_text"})},674527,(e,t,a)=>{"use strict";var r=e.r(13451);Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var s=r(e.r(813579)),l=e.r(843476);a.default=(0,s.default)([(0,l.jsx)("path",{d:"M21 8c-1.45 0-2.26 1.44-1.93 2.51l-3.55 3.56c-.3-.09-.74-.09-1.04 0l-2.55-2.55C12.27 10.45 11.46 9 10 9c-1.45 0-2.27 1.44-1.93 2.52l-4.56 4.55C2.44 15.74 1 16.55 1 18c0 1.1.9 2 2 2 1.45 0 2.26-1.44 1.93-2.51l4.55-4.56c.3.09.74.09 1.04 0l2.55 2.55C12.73 16.55 13.54 18 15 18c1.45 0 2.27-1.44 1.93-2.52l3.56-3.55c1.07.33 2.51-.48 2.51-1.93 0-1.1-.9-2-2-2"},"0"),(0,l.jsx)("path",{d:"m15 9 .94-2.07L18 6l-2.06-.93L15 3l-.92 2.07L12 6l2.08.93zM3.5 11 4 9l2-.5L4 8l-.5-2L3 8l-2 .5L3 9z"},"1")],"Insights")},97141,(e,t,a)=>{"use strict";var r=e.r(13451);Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var s=r(e.r(813579)),l=e.r(843476);
1a.default=(0,s.default)((0,l.jsx)("path",{d:"M5 13.18v4L12 21l7-3.82v-4L12 17zM12 3 1 9l11 6 9-4.91V17h2V9z"}),"School")},316856,(e,t,a)=>{"use strict";var r=e.r(13451);Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var s=r(e.r(813579)),l=e.r(843476);a.default=(0,s.default)((0,l.jsx)("path",{d:"M7 20h4c0 1.1-.9 2-2 2s-2-.9-2-2m-2-1h8v-2H5zm11.5-9.5c0 3.82-2.66 5.86-3.77 6.5H5.27c-1.11-.64-3.77-2.68-3.77-6.5C1.5 5.36 4.86 2 9 2s7.5 3.36 7.5 7.5m4.87-2.13L20 8l1.37.63L22 10l.63-1.37L24 8l-1.37-.63L22 6zM19 6l.94-2.06L22 3l-2.06-.94L19 0l-.94 2.06L16 3l2.06.94z"}),"TipsAndUpdates")},142397,e=>{e.v({column:"AIWorldServices-module-scss-module__wH390q__column",description:"AIWorldServices-module-scss-module__wH390q__description",goldenGap:"AIWorldServices-module-scss-module__wH390q__goldenGap",services:"AIWorldServices-module-scss-module__wH390q__services",title:"AIWorldServices-module-scss-module__wH390q__title",touch:"AIWorldServices-module-scss-module__wH390q__touch"})},141453,(e,t,a)=>{"use strict";var r=e.r(13451);Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var s=r(e.r(813579)),l=e.r(843476);a.default=(0,s.default)((0,l.jsx)("path",{d:"m10 16.5 6-4.5-6-4.5zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"PlayCircleOutline")},496388,e=>{e.v({cell:"Finance-module-scss-module__IaRFJa__cell",chartRefreshButton:"Finance-module-scss-module__IaRFJa__chartRefreshButton",chartWrapper:"Finance-module-scss-module__IaRFJa__chartWrapper",chartWrapperWithRefresh:"Finance-module-scss-module__IaRFJa__chartWrapperWithRefresh",desktopOnly:"Finance-module-scss-module__IaRFJa__desktopOnly",dropupArrow:"Finance-module-scss-module__IaRFJa__dropupArrow",dropupArrowOpen:"Finance-module-scss-module__IaRFJa__dropupArrowOpen",dropupContainer:"Finance-module-scss-module__IaRFJa__dropupContainer",dropupItem:"Finance-module-scss-module__IaRFJa__dropupItem",dropupItemDisabled:"Finance-module-scss-module__IaRFJa__dropupItemDisabled",dropupItemInactive:"Finance-module-scss-module__IaRFJa__dropupItemInactive",dropupMenu:"Finance-module-scss-module__IaRFJa__dropupMenu",dropupScrollArea:"Finance-module-scss-module__IaRFJa__dropupScrollArea",dropupTrigger:"Finance-module-scss-module__IaRFJa__dropupTrigger",headCell:"Finance-module-scss-module__IaRFJa__headCell",industryArrow:"Finance-module-scss-module__IaRFJa__industryArrow",industryArrowOpen:"Finance-module-scss-module__IaRFJa__industryArrowOpen",industryCheckbox:"Finance-module-scss-module__IaRFJa__industryCheckbox",industryChip:"Finance-module-scss-module__IaRFJa__industryChip",industryChipActive:"Finance-module-scss-module__IaRFJa__industryChipActive",industryGroup:"Finance-module-scss-module__IaRFJa__industryGroup",industryItem:"Finance-module-scss-module__IaRFJa__industryItem",industryItemExpanded:"Finance-module-scss-module__IaRFJa__industryItemExpanded",industryLabel:"Finance-module-scss-module__IaRFJa__industryLabel",industryLabelGroup:"Finance-module-scss-module__IaRFJa__industryLabelGroup",industryWrapper:"Finance-module-scss-module__IaRFJa__industryWrapper",legendList:"Finance-module-scss-module__IaRFJa__legendList",legendSection:"Finance-module-scss-module__IaRFJa__legendSection",mobileOnly:"Finance-module-scss-module__IaRFJa__mobileOnly",refreshButton:"Finance-module-scss-module__IaRFJa__refreshButton",row:"Finance-module-scss-module__IaRFJa__row",source:"Finance-module-scss-module__IaRFJa__source",sourceLabel:"Finance-module-scss-module__IaRFJa__sourceLabel",status:"Finance-module-scss-module__IaRFJa__status",subIndustryList:"Finance-module-scss-module__IaRFJa__subIndustryList",subIndustryPanel:"Finance-module-scss-module__IaRFJa__subIndustryPanel",table:"Finance-module-scss-module__IaRFJa__table"})},233281,e=>{e.v({chartWrapper:"AIExposure-module-scss-module__NrNaBa__chartWrapper",desktopOnly:"AIExposure-module-scss-module__NrNaBa__desktopOnly",dropupArrow:"AIExposure-module-scss-module__NrNaBa__dropupArrow",dropupArrowOpen:"AIExposure-module-scss-module__NrNaBa__dropupArrowOpen",dropupContainer:"AIExposure-module-scss-module__NrNaBa__dropupContainer",dropupItem:"AIExposure-module-scss-module__NrNaBa__dropupItem",dropupItemDisabled:"AIExposure-module-scss-module__NrNaBa__dropupItemDisabled",dropupItemInactive:"AIExposure-module-scss-module__NrNaBa__dropupItemInactive",dropupMenu:"AIExposure-module-scss-module__NrNaBa__dropupMenu",dropupScrollArea:"AIExposure-module-scss-module__NrNaBa__dropupScrollArea",dropupTrigger:"AIExposure-module-scss-module__NrNaBa__dropupTrigger",industryArrow:"AIExposure-module-scss-module__NrNaBa__industryArrow",industryArrowExpanded:"AIExposure-module-scss-module__NrNaBa__industryArrowExpanded",industryArrowOpen:"AIExposure-module-scss-module__NrNaBa__industryArrowOpen",industryCheckbox:"AIExposure-module-scss-module__NrNaBa__industryCheckbox",industryChip:"AIExposure-module-scss-module__NrNaBa__industryChip",industryChipActive:"AIExposure-module-scss-module__NrNaBa__industryChipActive",industryGroup:"AIExposure-module-scss-module__NrNaBa__industryGroup",industryItem:"AIExposure-module-scss-module__NrNaBa__industryItem",industryItemExpanded:"AIExposure-module-scss-module__NrNaBa__industryItemExpanded",industryLabel:"AIExposure-module-scss-module__NrNaBa__industryLabel",industryLabelGroup:"AIExposure-module-scss-module__NrNaBa__industryLabelGroup",industryWrapper:"AIExposure-module-scss-module__NrNaBa__industryWrapper",legendList:"AIExposure-module-scss-module__NrNaBa__legendList",legendSection:"AIExposure-module-scss-module__NrNaBa__legendSection",mobileOnly:"AIExposure-module-scss-module__NrNaBa__mobileOnly",status:"AIExposure-module-scss-module__NrNaBa__status",subIndustryList:"AIExposure-module-scss-module__NrNaBa__subIndustryList",subIndustryPanel:"AIExposure-module-scss-module__NrNaBa__subIndustryPanel"})},466354,e=>{e.v({arrow:"StepsDialog-module-scss-module__F1lTxq__arrow",body:"StepsDialog-module-scss-module__F1lTxq__body",close:"StepsDialog-module-scss-module__F1lTxq__close",dialog:"StepsDialog-module-scss-module__F1lTxq__dialog",dot:"StepsDialog-module-scss-module__F1lTxq__dot",dots:"StepsDialog-module-scss-module__F1lTxq__dots",eyebrow:"StepsDialog-module-scss-module__F1lTxq__eyebrow",help:"StepsDialog-module-scss-module__F1lTxq__help",image:"StepsDialog-module-scss-module__F1lTxq__image",nav:"StepsDialog-module-scss-module__F1lTxq__nav",stack:"StepsDialog-module-scss-module__F1lTxq__stack",step:"StepsDialog-module-scss-module__F1lTxq__step",text:"StepsDialog-module-scss-module__F1lTxq__text"})},740467,e=>{e.v({arrow:"AINews-module-scss-module__z2GfRG__arrow",author:"AINews-module-scss-module__z2GfRG__author",banner:"AINews-module-scss-module__z2GfRG__banner",bannerFallback:"AINews-module-scss-module__z2GfRG__bannerFallback",bannerWrap:"AINews-module-scss-module__z2GfRG__bannerWrap",card:"AINews-module-scss-module__z2GfRG__card",cardFooter:"AINews-module-scss-module__z2GfRG__cardFooter",carousel:"AINews-module-scss-module__z2GfRG__carousel",category:"AINews-module-scss-module__z2GfRG__category",dot:"AINews-module-scss-module__z2GfRG__dot",edition:"AINews-module-scss-module__z2GfRG__edition",empty:"AINews-module-scss-module__z2GfRG__empty",emptyLabel:"AINews-module-scss-module__z2GfRG__emptyLabel",from:"AINews-module-scss-module__z2GfRG__from",grid:"AINews-module-scss-module__z2GfRG__grid",headingRow:"AINews-module-scss-module__z2GfRG__headingRow",indicator:"AINews-module-scss-module__z2GfRG__indicator",plain:"AINews-module-scss-module__z2GfRG__plain",section:"AINews-module-scss-module__z2GfRG__section",selected:"AINews-module-scss-module__z2GfRG__selected",shimmer:"AINews-module-scss-module__z2GfRG__shimmer",skeleton:"AINews-module-scss-module__z2GfRG__skeleton",source:"AINews-module-scss-module__z2GfRG__source",subtitle:"AINews-module-scss-module__z2GfRG__subtitle",summary:"AINews-module-scss-module__z2GfRG__summary",titleGroup:"AINews-module-scss-module__z2GfRG__titleGroup",track:"AINews-module-scss-module__z2GfRG__track",updated:"AINews-module-scss-module__z2GfRG__updated"})},496369,e=>{e.v({weekInput:"WeeklyInvestment-module-scss-module__8zVkea__weekInput"})},702053,e=>{e.v({contentWrapper:"LandingHero-module-scss-module__K_I_SG__contentWrapper",explore:"LandingHero-module-scss-module__K_I_SG__explore",globe:"LandingHero-module-scss-module__K_I_SG__globe",head:"LandingHero-module-scss-module__K_I_SG__head",heroContainer:"LandingHero-module-scss-module__K_I_SG__heroContainer",landing:"LandingHero-module-scss-module__K_I_SG__landing",logo:"LandingHero-module-scss-module__K_I_SG__logo","powered-by":"LandingHero-module-scss-module__K_I_SG__powered-by",subsubtitle:"LandingHero-module-scss-module__K_I_SG__subsubtitle",subt
1itle:"LandingHero-module-scss-module__K_I_SG__subtitle",textContent:"LandingHero-module-scss-module__K_I_SG__textContent",title:"LandingHero-module-scss-module__K_I_SG__title",trustedByRow:"LandingHero-module-scss-module__K_I_SG__trustedByRow"})},352420,e=>{e.v({carouselContainer:"TrustedBy-module-scss-module__i_OQNW__carouselContainer",carouselGroup:"TrustedBy-module-scss-module__i_OQNW__carouselGroup",carouselTrack:"TrustedBy-module-scss-module__i_OQNW__carouselTrack",logo:"TrustedBy-module-scss-module__i_OQNW__logo",logoWrapper:"TrustedBy-module-scss-module__i_OQNW__logoWrapper",scroll:"TrustedBy-module-scss-module__i_OQNW__scroll",scrollViewport:"TrustedBy-module-scss-module__i_OQNW__scrollViewport",sectionHeader:"TrustedBy-module-scss-module__i_OQNW__sectionHeader",trustedBySection:"TrustedBy-module-scss-module__i_OQNW__trustedBySection"})},883300,e=>{e.v({dark:"SectionWrapper-module-scss-module__Ak_BxG__dark",inner:"SectionWrapper-module-scss-module__Ak_BxG__inner",wrapper:"SectionWrapper-module-scss-module__Ak_BxG__wrapper"})},389929,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(871652),s=e.i(596681),l=e.i(164856),o=e.i(740661),n=e.i(584583),i=e.i(283599),d=e.i(719131),u=e.i(247625);let c=[{key:"all",name:"All"},{key:"country",name:"Countries"},{key:"urban",name:"Urban Areas"},{key:"gics",name:"Industries"},{key:"technology",name:"Technologies"},{key:"model",name:"Models"},{key:"product",name:"Products"},{key:"case-study",name:"Case Study"}];function m(e){let{data:a=[],isLoading:r}=(0,i.default)("/api/dimension",d.fetcher);return(0,t.jsxs)(o.Dialog,{maxWidth:1e3,className:u.default.search,open:!0,onClose:()=>e.handleClose(),children:[(0,t.jsx)("h2",{children:"Which insight would you like to explore today?"}),(0,t.jsx)(n.default,{levels:c.map(e=>e.key).slice(1,999),profiles:a,tabs:c})]})}var p=e.i(574344),h=e.i(301568),f=e.i(770273),_=e.i(343794);e.i(567325);var g=e.i(174080),y=e.i(206242),b=e.i(456757),x=e.i(162282),v=e.i(700756),w=e.i(420415),j=e.i(748506),k=e.i(618566),I=e.i(968673),N=e.i(856340),A=e.i(697652);function S(){let e=(0,k.useRouter)(),[r,s]=(0,a.useState)(""),[l]=(0,I.useDebounce)(r,300),[o,n]=(0,a.useState)(!1),[i,u]=(0,a.useState)(null),c=(0,a.useRef)(null),m=r!==l&&""!==r,p=(0,a.useCallback)(()=>{if(c.current){let e=c.current.getBoundingClientRect();u({left:e.left,top:e.bottom+4,width:e.width})}},[]);(0,a.useEffect)(()=>{o&&p()},[o,p]),(0,a.useEffect)(()=>(window.addEventListener("resize",p),window.addEventListener("scroll",p,!0),()=>{window.removeEventListener("resize",p),window.removeEventListener("scroll",p,!0)}),[p]);let h=(0,N.useSearch)(l),f=(0,a.useMemo)(()=>h.slice(0,6),[h]),_=(0,a.useCallback)(e=>s(e.target.value),[]),S=(0,a.useCallback)(()=>{s(""),n(!1)},[]),C=(0,a.useCallback)(()=>n(!0),[]),F=(0,a.useCallback)(()=>n(!1),[]),E=(0,a.useCallback)(e=>{"Escape"===e.key&&S()},[S]),L=(0,a.useCallback)((t,a)=>{t.preventDefault();let r=(0,N.buildSearchHref)(a);r&&(n(!1),s(""),e.push(r))},[e]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:A.default.wrapper,ref:c,children:(0,t.jsx)(b.TextField,{label:"",value:r,variant:"outlined",className:A.default.input,style:{width:"100%",border:"0px solid transparent"},onChange:_,onKeyDown:E,placeholder:o?"":"Search countries, sectors, occupations, etc.",onFocus:C,onBlur:F,InputProps:{startAdornment:(0,t.jsx)(y.InputAdornment,{position:"start",children:(0,t.jsx)(w.default,{style:{color:"#2756d3",fontSize:"2rem"}})}),endAdornment:(0,t.jsx)(y.InputAdornment,{position:"end",children:m?(0,t.jsx)(v.CircularProgress,{size:20,style:{color:"#2756d3"}}):r?(0,t.jsx)(x.IconButton,{onClick:S,children:(0,t.jsx)(j.default,{style:{color:"#2756d3"}})}):null})}})}),o&&""!==r&&i&&(0,g.createPortal)((0,t.jsx)("div",{className:A.default.portalResults,style:{position:"fixed",left:i.left,top:i.top,width:i.width,zIndex:1e4},children:m?(0,t.jsxs)("div",{className:A.default.portalResult,style:{justifyContent:"center",padding:"1rem"},children:[(0,t.jsx)(v.CircularProgress,{size:24,style:{color:"#2756d3"}}),(0,t.jsx)("span",{style:{marginLeft:"0.5rem"},children:"Searching..."})]}
1):0===f.length?(0,t.jsx)("div",{className:A.default.portalResult,style:{justifyContent:"center",padding:"1rem",color:"#666"},children:"No results found"}):f.map(e=>{let a=(0,N.buildSearchHref)(e),r=e.name||e.title,s=!!e.permalink;return(0,t.jsxs)("a",{href:a||void 0,className:A.default.portalResult,onPointerDown:t=>L(t,e),children:[(0,t.jsx)("div",{className:A.default.icon,children:(0,t.jsx)("span",{children:s?"ð":d.aiwIcons[e.profile]})}),(0,t.jsxs)("div",{className:A.default.label,children:[(0,t.jsx)("div",{children:r}),(0,t.jsx)("div",{className:A.default.levell,children:s?"Story":e.level})]})]},s?`story_${e.id}`:`${e.profile}_${e.id}`)})},"search-results"),document.body)]})}e.i(650996),e.i(496996);var C=e.i(522016);e.i(110956),e.i(96949);var F=e.i(754068),E=e.i(163177);e.i(947716);var L=e.i(282803),R=e.i(100561),O=e.i(723685),T=e.i(278716),G=e.i(196831),B=e.i(391889),M=e.i(990273),W=e.i(36377);let P=e=>()=>e;function z(e,{sourceEvent:t,subject:a,target:r,identifier:s,active:l,x:o,y:n,dx:i,dy:d,dispatch:u}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},subject:{value:a,enumerable:!0,configurable:!0},target:{value:r,enumerable:!0,configurable:!0},identifier:{value:s,enumerable:!0,configurable:!0},active:{value:l,enumerable:!0,configurable:!0},x:{value:o,enumerable:!0,configurable:!0},y:{value:n,enumerable:!0,configurable:!0},dx:{value:i,enumerable:!0,configurable:!0},dy:{value:d,enumerable:!0,configurable:!0},_:{value:u}})}function $(e){return!e.ctrlKey&&!e.button}function D(){return this.parentNode}function H(e,t){return null==t?{x:e.x,y:e.y}:t}function q(){return navigator.maxTouchPoints||"ontouchstart"in this}z.prototype.on=function(){var e=this._.on.apply(this._,arguments);return e===this._?this:e};let J=()=>{let[e,r]=(0,a.useState)({features:[]}),s=(0,a.useRef)(),[l,o]=(0,a.useState)(0),[n,i]=(0,a.useState)(0),[d,u]=(0,a.useState)(""),[c,m]=(0,a.useState)({x:0,y:0}),[p,h]=(0,a.useState)(!0);(0,a.useEffect)(()=>{Promise.all([fetch("/custom.geo.json").then(e=>e.json()),fetch("/rank.json").then(e=>e.json())]).then(([e,t])=>{let a=t.map(e=>e.rank1);o(Math.min(...a)),i(Math.max(...a));let s=new Map(t.map(e=>[e.geo,e]));r({features:e.features.filter(e=>null!==e.geometry).map(e=>{let t=s.get(e.properties.iso_a2_eh);return t?{...e,properties:{...e.properties,...t}}:e})}),h(!1)}).catch(e=>{console.error("Error loading data:",e),h(!1)})},[]);let f=(0,a.useMemo)(()=>L.scaleLinear().domain([l,n]).range(["#012891","#efedff"]),[l,n]),_=(0,a.useCallback)((e,t)=>{t.properties.rank1&&t.properties.iso_a2_eh&&(window.location.href=`/geo/${t.properties.iso_a2_eh}`)},[]),g=(0,a.useCallback)((e,t)=>{t.properties.rank1&&u(` 2 <a href="/geo/${t.properties.iso_a2_eh}" style="font-size: 1rem; border-radius: 5px; width: 250px; box-shadow: 0 0 5px rgba(0,0,0,0.2); background: white;"> 3 <div style="padding: 5px 10px; border-top-left-radius: 5px; border-top-right-radius: 5px; background: #1b1b1b; color: #ffffff;"><b>${t.properties.name}</b></div> 4 <div style="padding: 5px 10px; background: #fff;">Rank #<b>${t.properties.rank1}</b></div> 5 <div style="padding: 5px 10px; text-align: center; font-size: 10px; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; background: #fff;">Click to visit the profile</b></div> 6 </a> 7 `)},[]),y=(0,a.useCallback)(e=>{let[t,a]=R.pointer(e,s.current);m({x:t+15,y:a+15})},[]),b=(0,a.useCallback)(()=>{u("")},[]);return(0,a.useEffect)(()=>{let t;if(!s.current||0===e.features.length)return;let a=O.select(s.current).attr("width","100%").attr("height","100%").attr("viewBox","0 0 500 500").style("overflow","hidden");a.selectAll("*").remove();let r=T.geoOrthographic().scale(240).translate([250,250]).clipAngle(90),l=G.geoPath().projection(r);a.append("path").datum({type:"Sphere"}).attr("d",l).attr("fill","#ffffff").attr("stroke","#ccc").attr("stroke-width",.5),a.selectAll(".country").data(e.features).enter().append("path").attr("class","country").attr("d",l).attr("fill",e=>{let t=e.properties.rank1;return t?f(t):"#dbdbdb"}).attr("stroke","rgba(0, 0, 0, 0.6)").attr("stroke-width",.5).style("cursor",e=>e.properties.rank1?"pointer":"default").on("click",_).on("mouseover",g).on("mousemove",y).on("mouseout",b);let o=r.rotate()[0],n=!0,i=()=>{n&&(o+=.2,r.rotate([o,r.rotate()[1]]),a.selectAll("path").attr("d",l),t=requestAnimationFrame(i))};t=requestAnimationFrame(i);let d=(function(){var e,t,a,r,s=$,l=D,o=H,n=q,i={},d=(0,B.dispatch)("start","drag","end"),u=0,c=0;function m(e){e.on("mousedown.drag",p).filter(n).on("touchstart.drag",_).on("touchmove.drag",g,W.nonpassive).on("touchend.drag touchcancel.drag",y).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function p(o,n){if(!r&&s.call(this,o,n)){var i=b(this,l.call(this,o,n),o,n,"mouse");i&&((0,O.select)(o.view).on("mousemove.drag",h,W.nonpassivecapture).on("mouseup.drag",f,W.nonpassivecapture),(0,M.default)(o.view),(0,W.nopropagation)(o),a=!1,e=o.clientX,t=o.clientY,i("start",o))}}function h(r){if((0,W.default)(r),!a){var s=r.clientX-e,l=r.clientY-t;a=s*s+l*l>c}i.mouse("drag",r)}
7function f(e){(0,O.select)(e.view).on("mousemove.drag mouseup.drag",null),(0,M.yesdrag)(e.view,a),(0,W.default)(e),i.mouse("end",e)}function _(e,t){if(s.call(this,e,t)){var a,r,o=e.changedTouches,n=l.call(this,e,t),i=o.length;for(a=0;a<i;++a)(r=b(this,n,e,t,o[a].identifier,o[a]))&&((0,W.nopropagation)(e),r("start",e,o[a]))}}function g(e){var t,a,r=e.changedTouches,s=r.length;for(t=0;t<s;++t)(a=i[r[t].identifier])&&((0,W.default)(e),a("drag",e,r[t]))}function y(e){var t,a,s=e.changedTouches,l=s.length;for(r&&clearTimeout(r),r=setTimeout(function(){r=null},500),t=0;t<l;++t)(a=i[s[t].identifier])&&((0,W.nopropagation)(e),a("end",e,s[t]))}function b(e,t,a,r,s,l){var n,c,p,h=d.copy(),f=(0,R.pointer)(l||a,t);if(null!=(p=o.call(e,new z("beforestart",{sourceEvent:a,target:m,identifier:s,active:u,x:f[0],y:f[1],dx:0,dy:0,dispatch:h}),r)))return n=p.x-f[0]||0,c=p.y-f[1]||0,function a(l,o,d){var _,g=f;switch(l){case"start":i[s]=a,_=u++;break;case"end":delete i[s],--u;case"drag":f=(0,R.pointer)(d||o,t),_=u}h.call(l,e,new z(l,{sourceEvent:o,subject:p,target:m,identifier:s,active:_,x:f[0]+n,y:f[1]+c,dx:f[0]-g[0],dy:f[1]-g[1],dispatch:h}),r)}}return m.filter=function(e){return arguments.length?(s="function"==typeof e?e:P(!!e),m):s},m.container=function(e){return arguments.length?(l="function"==typeof e?e:P(e),m):l},m.subject=function(e){return arguments.length?(o="function"==typeof e?e:P(e),m):o},m.touchable=function(e){return arguments.length?(n="function"==typeof e?e:P(!!e),m):n},m.on=function(){var e=d.on.apply(d,arguments);return e===d?m:e},m.clickDistance=function(e){return arguments.length?(c=(e*=1)*e,m):Math.sqrt(c)},m})().on("start",()=>{n=!1}).on("drag",e=>{let t=r.rotate(),s=75/r.scale();r.rotate([t[0]+e.dx*s,t[1]-e.dy*s]),o=r.rotate()[0],a.selectAll("path").attr("d",l)}).on("end",()=>{n=!0,t=requestAnimationFrame(i)});return a.call(d),()=>{n=!1,t&&cancelAnimationFrame(t)}},[e,f,_,g,y,b]),(0,t.jsxs)("div",{style:{margin:"auto",padding:0,position:"relative",width:"100%",aspectRatio:"1 / 1",boxSizing:"border-box",background:"#ffffff"},children:[p&&(0,t.jsx)("div",{style:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",zIndex:5,fontSize:"14px",color:"#666"},children:"Loading..."}),(0,t.jsx)("svg",{ref:s,style:{cursor:"grab",opacity:p?.3:1,transition:"opacity 0.3s"}}),d&&(0,t.jsx)("div",{style:{position:"absolute",top:`${c.y}px`,left:`${c.x}px`,pointerEvents:"none",zIndex:10},dangerouslySetInnerHTML:{__html:d}})]})};e.i(406080);var K=e.i(470276);e.i(597246);var V=e.i(576335),U=e.i(309329),Y=e.i(116178),Q=e.i(657688),X=e.i(328046),Z=e.i(822315);function ee(e){let{type:a,title:r,date:s,image_url:l,cardClassName:o,companyName:n,content:i,permalink:d,author:u,loading:c,href:m,embedSrc:p}=e,h=X.default.news_card,f=(0,_.default)(h,X.default[o]),g=X.default.media_wrapper;if(c)return(0,t.jsxs)("div",{className:`${f} animate-pulse`,style:{backgroundColor:"#f5f6f8",opacity:.4},children:[(0,t.jsx)("div",{className:g,style:{display:"flex",alignItems:"center",justifyContent:"center"},children:(0,t.jsxs)("svg",{className:"animate-spin h-10 w-10 text-gray-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,t.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,t.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})}),(0,t.jsx)("div",{className:X.default.card_body,style:{background:"#f5f6f8",minHeight:"80px"}})]});let y=null;if(i&&Array.isArray(i)){let e=i.find(e=>"image"===e.type);e&&e.content&&(y="https://aiworld.eu"+e.content)}let b=p||y||(l?l.startsWith("http")?l:`https://aiworld.eu${l}`:null),x=!!p||b&&!b.match(/\.(jpeg|jpg|png|gif|webp)(\?.*)?$/i);return(0,t.jsxs)(C.default,{href:m||`/story/${d}`,className:f,style:{backgroundColor:"#f5f6f8"},children:[s&&(0,t.jsx)("p",{className:X.default.date,children:(0,Z.default)(s).format("MMMM D, YYYY")}),(0,t.jsx)("div",{className:g,children:b&&(x?(0,t.jsx)("iframe",{src:b,allowFullScreen:!0,style:{borderRadius:"inherit",pointerEvents:"none"}}):(0,t.jsx)("div",{style:{backgroundImage:`url(${b})`},alt:"Banner Image",className:X.default.primary_headline_image}))}),(0,t.jsx)("div",{className:X.default.card_body,style:{background:"#f5f6f8"},children:(0,t.jsx)("h3",{className:X.default.card_title,title:r,children:r})})]})}let et=e=>{let{version:r=1}=e,[s,l]=a.default.useState([]),[o,n]=a.default.useState(!0);a.default.useEffect(()=>{(async()=>{try{let t=await fetch("/api/cms/get?dataStory=true&draft=false");if(!t.ok)throw Error(`HTTP error! status: ${t.status}`);let a=await t.json();(a=a.data).sort((e,t)=>
7new Date(t.createdAt)-new Date(e.createdAt)),e.setNews?.(a),l(a)}catch(e){console.error("Failed to fetch news:",e)}finally{n(!1)}})()},[e.setNews]);let i=o?Array.from({length:6}):s.slice(0,6);return(0,t.jsx)("div",{className:"container mx-auto py-8",children:(0,t.jsx)("div",{className:1===r?"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8":"grid grid-cols-1 lg:grid-cols-3 lg:grid-rows-2 gap-8",children:i.map((e,a)=>(0,t.jsx)("div",{className:`flex justify-center ${2===r&&0===a?"lg:col-span-2 lg:row-span-2":""}`,children:(0,t.jsx)(ee,{...e,loading:o,cardClassName:`card_item${a+1}`,type:a+1,title:e?.title,date:e?.createdAt,image_url:e?.imgUrl,companyName:e?.companyName,description:e?.content})},`story-card-${a+1}`))})})};var ea=e.i(788172);e.i(674527),e.i(97141),e.i(316856),e.i(142397);var er=e.i(641452),es=e.i(739725),el=e.i(81121),eo=e.i(770703),en=e.i(141453),ei=e.i(866545),ed=e.i(263143),eu=e.i(413819);let ec=(0,eo.default)(()=>e.A(258264),{loadableGenerated:{modules:[201673]},ssr:!1}),em=e=>fetch(e).then(e=>e.ok?e.json():null),ep={background:"rgba(0, 0, 0, 0.6)",color:"white",border:"none",borderRadius:8,width:48,height:48,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",backdropFilter:"blur(10px)",transition:"background-color 0.2s ease"};function eh(r){let s=(0,E.useMediaQuery)("(min-width: 701px)"),{user:l}=(0,eu.default)(),o=["admin","superadmin"].includes((l?.role||"").toLowerCase()),{data:n,mutate:d}=(0,i.default)(r&&s?`/api/explain?explainId=${encodeURIComponent(r)}`:null,em),[u,c]=(0,a.useState)(!1),m=(0,a.useRef)(!1),p=(n?.content?.steps?.length??0)>0,h=(0,a.useCallback)(()=>{let e=document.querySelectorAll(`[data-explain-id="${CSS.escape(r)}"]`);return e[e.length-1]||null},[r]),f=(0,a.useCallback)(async()=>{let t=(await e.A(672304)).default;t.init({script:n.content,container:h()}),t.start(),m.current=!0},[n,h]);(0,a.useEffect)(()=>()=>{m.current&&e.A(672304).then(e=>e.default.stop())},[]),(0,a.useEffect)(()=>{!s&&m.current&&e.A(672304).then(e=>e.default.stop())},[s]);let _=(0,a.useMemo)(()=>{let e=[];return s&&(p&&e.push((0,t.jsx)(el.Tooltip,{title:"Explain this chart",arrow:!0,placement:"left",children:(0,t.jsx)("button",{onClick:f,"aria-label":"Explain this chart",style:ep,children:(0,t.jsx)(en.default,{style:{width:24,height:24}})})},"explain-play")),o&&e.push((0,t.jsx)(el.Tooltip,{title:"Edit explanation",arrow:!0,placement:"left",children:(0,t.jsx)("button",{onClick:()=>c(!0),"aria-label":"Edit explanation",style:ep,children:(0,t.jsx)(ei.default,{style:{width:24,height:24}})})},"explain-edit"))),e},[s,p,o,f]);return{buttons:_,editor:u&&s?(0,t.jsx)(ec,{explainId:r,initialScript:n?.content,getContainer:h,onClose:()=>c(!1),onSaved:d}):null,containerProps:(0,a.useMemo)(()=>({"data-explain-id":r}),[r])}}function ef({explainId:e,children:a,className:r}){let{buttons:s,editor:l,containerProps:o}=eh(e);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(ed.default,{additionalButtons:s,className:r,children:(0,t.jsx)("div",{...o,style:{height:"100%"},children:a})}),l]})}var e_=e.i(496388);let eg="#16a34a",ey="#ef4444",eb="#f0f0f0ff",ex=["#2756d3","#f14684","#f2994a","#1d48b0","#2e9e7b","#714ac3"],ev=async e=>{let t=await fetch(e),a=await t.json();if(!t.ok)throw Error(a?.error||`Finance API returned ${t.status}`);if(!Array.isArray(a))throw Error("Finance API returned an invalid response");return a},ew="non-ai",ej=[{label:"AI",value:"ai"},{label:"Non AI",value:ew},{label:"ALL",value:"all"}],ek="DAILY",eI="WEEKLY",eN="MONTHLY",eA="YEARLY",eS="HISTORIC",eC=[{label:"DAILY",value:ek},{label:"WEEKLY",value:eI},{label:"MONTHLY",value:eN},{label:"YEARLY",value:eA},{label:"HISTORIC",value:eS}],eF=e=>{if("number"==typeof e)return Number.isFinite(e)?e:null;if("string"==typeof e){let t=Number(e.replace(/[^\d.-]/g,""));return Number.isFinite(t)?t:null}return null},eE=e=>Number.isFinite(e)?e.toLocaleString():"â",eL=e=>{let t=Number.parseInt(e.replace("#",""),16);return[t>>16&255,t>>8&255,255&t]},eR=(e,t,a)=>{let r,s=Math.min(1,Math.max(0,a)),[l,o,n]=eL(e),[i,d,u]=eL(t),c=Math.round(l+(i-l)*s),m=Math.round(o+(d-o)*s),p=Math.round(n+(u-n)*s);return r=e=>e.toString(16).padStart(2,"0"),`#${r(c)}${r(m)}${r(p)}`},eO=(e,t)=>{if(!e||!t)return;let a=t.toLowerCase(),r=Object.keys(e).find(e=>e.toLowerCase()===a);return r?e[r]:void 0},eT=e=>null==e||""===e?"â":String(e),eG={[ek]:3,[eI]:5,[eN]:11,[eA]:70,[eS]:70};function eB(){let{data:e,error:r,isLoading:l,mutate:o}=(0,i.default)("/api/finance",ev,{revalidateOnFocus:!1,errorRetryCount:3,errorRetryInterval:5e3}),[n,d]=(0,a.useState)({}),[u,c]=(0,a.useState)(!1),[m,p]=(0,a.useState)(null),h=(0,a.useRef)(null),f=(0,a.useRef)(null),[g,y]=(0,a.useState)("all"),[b,x]=(0,a.useState)(ek),[v,w]=(0,a.useState)(2025),j=(0,a.useMemo)(()=>Array.isArray(e)?e:[],[e]),k=(0,a.useMemo)(()=>
7{if(!j.length)return{min:2020,max:new Date().getFullYear()};let e=Object.keys(j[0]).map(e=>{let t=e.match(/^y(\d{4})$/);return t?parseInt(t[1],10):null}).filter(e=>null!==e&&Number.isFinite(e));return e.length?{min:Math.min(...e),max:Math.max(...e)}:{min:2020,max:new Date().getFullYear()}},[j]),I=(0,a.useMemo)(()=>j.map((e,t)=>{let a=eO(e,"ID")||eO(e,"Name")||`Row ${t+1}`,r=eF(eO(e,"VALUE")),s=eF(eO(e,b===eS?`y${v}`:b));if(!a||null===r)return null;let l=eO(e,"Sector")||"Other",o=eO(e,"GICS Sub-Industry"),n=((e,t,a=3)=>Number.isFinite(e)?e<=-1*a?ey:e>=a?eg:0===e?eb:e<0?eR(ey,eb,(e+a)/a):eR(eb,eg,e/a):t)(s,ex[t%ex.length],eG[b]||eG[ek]),i=eF(eO(e,"AI"));return{id:a,name:eO(e,"Name")||a,parentLabel:"Finance Rows",sector:l,value:r,change:s,color:n,gicsSubIndustry:o,subIndustry:o||"Other",headquarters:eO(e,"Headquarters Location"),dateAdded:eO(e,"Date added"),cik:eO(e,"CIK"),founded:eO(e,"Founded"),country:eO(e,"Country"),ai:i,aiCategory:1===i?"AI":"Non AI"}}).filter(Boolean),[j,b,v]),N=(0,a.useMemo)(()=>{if(!I.length)return{};let e={};I.forEach(t=>{let a=t?.sector||"Other",r=t?.subIndustry||"Other";e[a]||(e[a]=new Set),e[a].add(r)});let t={};return Object.keys(e).forEach(a=>{t[a]=Array.from(e[a]).sort((e,t)=>e.localeCompare(t))}),t},[I]),A=(0,a.useMemo)(()=>Object.keys(N).sort((e,t)=>e.localeCompare(t)),[N]),S=(0,a.useMemo)(()=>{if(!I.length)return[];let e=new Set;return I.forEach(t=>{e.add(t?.subIndustry||"Other")}),Array.from(e).sort((e,t)=>e.localeCompare(t))},[I]);(0,a.useEffect)(()=>{d(e=>{let t={...e},a=!1,r=new Set(S);return S.forEach(e=>{void 0===t[e]&&(t[e]=!0,a=!0)}),Object.keys(t).forEach(e=>{r.has(e)||(delete t[e],a=!0)}),a?t:e})},[S]),(0,a.useEffect)(()=>{let e=e=>{h.current&&!h.current.contains(e.target)&&p(null),f.current&&!f.current.contains(e.target)&&c(!1)};if(m||u)return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[m,u]);let C=(0,a.useMemo)(()=>{if(!I.length)return[];let e=Object.keys(n);return I.filter(t=>{if(e.length){let e=n[t.subIndustry];if(!("boolean"!=typeof e||e))return!1}return"ai"===g?1===t.ai:g!==ew||0===t.ai})},[I,n,g]),F=(0,a.useCallback)(e=>{e&&d(t=>{if(!Object.prototype.hasOwnProperty.call(t,e))return t;let a=!1!==t[e],r=Object.values(t).filter(Boolean).length;return a&&r<=1?t:{...t,[e]:!a}})},[]),E=(0,a.useMemo)(()=>Object.keys(n).length?Object.values(n).filter(Boolean).length:S.length,[n,S.length]),L=(0,a.useCallback)(e=>{let t=N[e]||[],a=t.every(e=>!1!==n[e]);d(e=>{let r={...e};return t.forEach(e=>{r[e]=!a}),a&&0===Object.values(r).filter(Boolean).length&&t.length>0&&(r[t[0]]=!0),r})},[N,n]),R=(0,a.useMemo)(()=>A.length?(0,t.jsx)("div",{className:e_.default.legendSection,ref:h,children:(0,t.jsx)("div",{className:e_.default.legendList,children:A.map(e=>{let a=N[e]||[],r=m===e,s=a.every(e=>!1!==n[e]),l=a.some(e=>!1!==n[e]);return(0,t.jsxs)("div",{className:e_.default.industryWrapper,children:[(0,t.jsxs)("button",{className:(0,_.default)(e_.default.industryChip,r&&e_.default.industryChipActive),onClick:()=>p(r?null:e),children:[(0,t.jsx)("input",{type:"checkbox",checked:s,ref:e=>{e&&(e.indeterminate=l&&!s)},onChange:t=>{t.stopPropagation(),L(e)},onClick:e=>e.stopPropagation(),className:e_.default.industryCheckbox}),(0,t.jsxs)("div",{className:e_.default.industryLabel,children:[(0,t.jsx)("span",{children:e}),(0,t.jsx)("svg",{className:(0,_.default)(e_.default.industryArrow,r&&e_.default.industryArrowOpen),width:"10",height:"10",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,t.jsx)("polyline",{points:"6 9 12 15 18 9"})})]})]}),r&&(0,t.jsx)("div",{className:e_.default.dropupMenu,role:"listbox",children:(0,t.jsx)("div",{className:e_.default.dropupScrollArea,children:a.map(e=>{let a=!1!==n[e],r=a&&E<=1;return(0,t.jsxs)("label",{className:(0,_.default)(e_.default.dropupItem,!a&&e_.default.dropupItemInactive,r&&e_.default.dropupItemDisabled),children:[(0,t.jsx)("input",{type:"checkbox",checked:a,onChange:()=>F(e),disabled:r}),(0,t.jsx)("span",{children:e})]},e)})})})]},e)})})}):null,[A,N,n,F,E,m,L]),O=(0,a.useMemo)(()=>A.length?(0,t.jsxs)("div",{className:e_.default.dropupContainer,ref:f,children:[(0,t.jsxs)("button",{className:e_.default.dropupTrigger,onClick:()=>c(e=>!e),"aria-expanded":u,"aria-haspopup":"listbox",children:[(0,t.jsxs)("span",{children:["Industries (",E,"/",S.length,")"]}),(0,t.jsx)("svg",{className:(0,_.default)(e_.default.dropupArrow,u&&e_.default.dropupArrowOpen),width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,t.jsx)("polyline",{points:"18 15 12 9 6 15"})})]}),u&&(0,t.jsx)("div",{className:e_.default.dropupMenu,role:"listbox",children:(0,t.jsx)("div",{className:e_.default.dropupScrollArea,children:A.map(e=>{let a=N[e]||[],r=m===e,s=a.every(e=>!1!==n[e]),l=a.some(e=>!1!==n[e]);return(0,t.jsxs)("div",{className:e_.default.industryGroup,children:[(0,t.jsxs)("button",{className:(0,_.default)(e_.default.industryItem,r&&e_.default.industryItemExpanded),onClick:()=>p(r?null:e),children:[(0,t.jsxs)("div",{className:e_.default.industryLabelGroup,children:[(0,t.jsx)("input",{type:"checkbox",checked:s,ref:e=>{e&&(e.indeterminate=l&&!s)},onChange:t=>{t.stopPropagation(),L(e)},onClick:e=>e.stopPropagation(),className:e_.default.industryCheckbox}),(0,t.jsx)("span",{children:e})]}),(0,t.jsx)("svg",{className:(0,_.default)(e_.default.industryArrow,r&&e_.default.industryArrowExpanded),width:"10",height:"10",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,t.jsx)("polyline",{points:"9 18 15 12 9 6"})})]}),r&&(0,t.jsx)("div",{className:e_.default.subIndustryPanel,children:(0,t.jsx)("div",{className:e_.default.subIndustryList,children:a.map(e=>{let a=!1!==n[e],r=a&&E<=1;return(0,t.jsxs)("label",{className:(0,_.default)(e_.default.dropupItem,!a&&e_.default.dropupItemInactive,r&&e_.default.dropupItemDisabled),children:[(0,t.jsx)("input",{type:"checkbox",checked:a,onChange:()=>F(e),disabled:r}),(0,t.jsx)("span",{children:e})]},e)})})})]},e)})})})]}):null,[A,N,n,F,E,u,m,L,S.length]),T=(0,a.useMemo)(()=>({data:C,groupBy:"all"===g?["parentLabel","aiCategory","name"]:["parentLabel","sector","subIndustry","name"],sum:"value",legend:!1,shapeConfig:{fill:e=>e.color||"#2756d3",stroke:"#ffffff",strokeWidth:1.5,Rect:{label:e=>
7{let t=e.name||e.data?.name||e.id,a=void 0!==e.change?e.change:e.data?.change;if(!Number.isFinite(a))return[t];let r=a>0?"+":"";return[t,`${r}${a.toFixed(2)}%`]}}},tooltipConfig:{title:e=>e.name,tbody:e=>[["Value",eE(e.value)],Number.isFinite(e.change)&&[b===eS?`${v} Change`:`${b.charAt(0)+b.slice(1).toLowerCase()} Change`,eE(e.change)],["Name",eT(e.name)],["Sector",eT(e.sector)],["GICS Sub-Industry",eT(e.gicsSubIndustry)],["Headquarters Location",eT(e.headquarters)],["Date added",eT(e.dateAdded)],["CIK",eT(e.cik)],["Founded",eT(e.founded)],["Country",eT(e.country)]].filter(Boolean)}}),[C,g,b,v]),[G,B]=(0,a.useState)(100),M=(0,a.useMemo)(()=>{if(!C.length)return[];let e=[...C].sort((e,t)=>(t?.value||0)-(e?.value||0));return Number.isFinite(G)&&G!==1/0?e.slice(0,G):e},[C,G]);(0,a.useMemo)(()=>M.reduce((e,t)=>e+(Number.isFinite(t?.value)?t.value:0),0),[M]);let W=M.length?M[0]:null,P=(0,a.useMemo)(()=>{if(!W||!Number.isFinite(W.value))return null;var e=W.value;if(!Number.isFinite(e))return null;let t=e/1e9;if(!Number.isFinite(t))return null;let a=Math.abs(t);return`${t.toFixed(a>=100?0:1)}B`},[W]),z=(0,a.useMemo)(()=>{if(!M.length)return"";let e=M.slice(+!!W,Math.min(M.length,6)).map(e=>e.name||e.id).filter(Boolean);if(!e.length)return"";if(1===e.length)return e[0];let t=e.slice(0,-1).join(", ");return`${t} and ${e[e.length-1]}`},[M,W]),$=(0,a.useMemo)(()=>{let e=W?.name||W?.id||"NVIDIA",t=P?` with ${P}`:"",a=` The AI boom continues to lift the stock market with ${e} leading the pack${t}.`,r=` ${z} follow, reflecting how AI has become integral to tech, logistics, cloud, and mobility.`;return`Our market cap map displays the value of all S&P 500 companies, colored by 24-hour stock performance.${a}${r}`},[W,P,z]),D=r?"Finance data is temporarily unavailable. Please try again shortly.":l?"Loading...":j.length?I.length?null:(j.length>0&&(console.error("Column name mismatch. Expected columns: ID/Name, VALUE, DAILY/WEEKLY/etc."),console.error("Received columns:",Object.keys(j[0]))),"Column name errors"):"No finance data",H=(0,a.useMemo)(()=>[{label:"S&P DOW JONES"},{label:"Google Finance",href:"https://www.google.com/finance/"}],[]);return(0,t.jsx)(s.default,{title:"Live AI Stock Market",subtitle:"How the AI revolution moves the stock market",layout:"full-section",text:[$],source:void 0,style:{padding:"2rem 2rem 1rem 2rem"},children:D?(0,t.jsx)("div",{className:e_.default.chartWrapper,children:(0,t.jsx)("p",{className:e_.default.status,children:D})}):(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(ef,{explainId:`home-finance-${g}-${b}`,className:(0,_.default)(e_.default.chartWrapper,e_.default.chartWrapperWithRefresh),children:[(0,t.jsx)("button",{onClick:()=>{o()},className:(0,_.default)(e_.default.refreshButton,e_.default.chartRefreshButton),"aria-label":"Refresh data",title:"Refresh data",children:(0,t.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,t.jsx)("path",{d:"M21.5 2v6h-6M2.5 22v-6h6M2 11.5a10 10 0 0 1 18.8-4.3M22 12.5a10 10 0 0 1-18.8 4.2"})})}),(0,t.jsx)(er.default,{plotType:"tree",config:T,slider:!1,timeSlider:!1,download:!1,enableTreemapValueToggle:!1,belowPlotContent:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:e_.default.desktopOnly,children:R}),(0,t.jsx)("div",{className:e_.default.mobileOnly,children:O})]}),source:H,threshold:100,onThresholdChange:B,selectorLeft:(0,t.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[(0,t.jsx)(es.default,{data:eC,selected:b,callback:x}),b===eS&&(0,t.jsx)("input",{type:"number",value:v,min:k.min,max:k.max,onChange:e=>{w(Number(e.target.value))},style:{padding:"6px 8px",borderRadius:"4px",border:"1px solid #e2e8f0",fontSize:"0.875rem",width:"80px",fontFamily:"inherit",color:"#1e293b",outline:"none"},placeholder:"Year"})]}),selector:(0,t.jsx)(es.default,{data:ej,selected:g,callback:y})})]})})})}var eM=e.i(233281);let eW="/data/ai_exposure/esco.csv",eP="#f0f0f0",ez="__AVERAGE__",e$=[{key:"2021_felten_aioe",label:"Felten AIOE",tooltip:"Felten, Raj & Seamans (2021, Strategic Management Journal) â AIOE: AI Occupational Exposure"},{key:"2023_felten_genaioe",label:"Felten GenAI",tooltip:"Felten, Raj & Seamans (2023, SSRN) â Occupational Heterogeneity in Exposure to Generative AI"},{key:"2021_tolan_ai",label:"Tolan AI",tooltip:"Tolan et al. (2021, JAIR) â Measuring the Occupational Impact of AI: tasks â cognitive abilities â AI benchmarks"},{key:"2023_gmyrek_llm",label:"Gmyrek GenAI",tooltip:"Gmyrek, Berg & Bescond (ILO Working Paper 96, 2023) â Generative AI task exposure scored via GPT-4"},{key:"2024_eloundou_gpt",label:"Eloundou GPT",tooltip:"Eloundou, Manning, Mishkin & Rock (2024, Science) â GPTs are GPTs: rubric-based exposure of O*NET tasks to LLMs"},{key:"2024_engberg_daioe",label:"Engberg DAIOE",tooltip:"Engberg, Görg et al. (IZA DP 16717, 2024) â DAIOE: Dynamic AI Occupational Exposure (panel index across nine AI subdomains)"},{key:"2024_loaiza_augm",label:"Loaiza Augm",tooltip:"Loaiza & Rigobon (2024) â EPOCH of AI: potential-for-augmentation score"},{key:"2024_loaiza_autom",label:"Loaiza Autom",tooltip:"Loaiza & Rigobon (2024) â EPOCH of AI: risk-of-substitution score"}],eD=[{label:"Average",value:ez,tooltip:"Mean across all available exposure scores"},...e$.map(e=>({label:e.label,value:e.key,tooltip:e.tooltip}))],eH=eD.reduce((e,t)=>
7(e[t.value]=t,e),{}),eq=[{label:"Group",value:"group",tooltip:"Group by ISCO major and sub-major group"},{label:"Exposure",value:"exposure",tooltip:"Group by exposure level (color)"}],eJ=e=>{if(null==e||""===e)return null;let t=Number(e);return Number.isFinite(t)?t:null},eK=e=>{let t=Number.parseInt(e.replace("#",""),16);return[t>>16&255,t>>8&255,255&t]},eV=(e,t,a)=>{var r,s,l;let o,n=Math.min(1,Math.max(0,a)),[i,d,u]=eK(e),[c,m,p]=eK(t);return r=Math.round(i+(c-i)*n),s=Math.round(d+(m-d)*n),l=Math.round(u+(p-u)*n),o=e=>e.toString(16).padStart(2,"0"),`#${o(r)}${o(s)}${o(l)}`},eU=e=>{if(!Number.isFinite(e))return"#cbd5e1";let t=Math.min(1,Math.max(0,e));return t<=.5?eV("#16a34a",eP,t/.5):eV(eP,"#ef4444",(t-.5)/.5)};function eY(){let[e,r]=(0,a.useState)([]),[l,o]=(0,a.useState)("loading"),[n,i]=(0,a.useState)(ez),[d,u]=(0,a.useState)("group"),[c,m]=(0,a.useState)({}),[p,h]=(0,a.useState)(null),[f,g]=(0,a.useState)(!1),y=(0,a.useRef)(null),b=(0,a.useRef)(null);(0,a.useEffect)(()=>{let e=!1;return(async()=>{try{let t=await fetch(eW);if(!t.ok)throw Error(`Failed to load ${eW}`);let a=await t.text(),s=(e=>{let t=[],a="",r=[],s=!1;for(let l=0;l<e.length;l+=1){let o=e[l];if(s){'"'===o?'"'===e[l+1]?(a+='"',l+=1):s=!1:a+=o;continue}'"'===o?s=!0:","===o?(r.push(a),a=""):"\n"===o||"\r"===o?("\r"===o&&"\n"===e[l+1]&&(l+=1),r.push(a),t.push(r),r=[],a=""):a+=o}if((a.length||r.length)&&(r.push(a),t.push(r)),!t.length)return[];let l=t[0].map(e=>e.trim());return t.slice(1).filter(e=>e.some(e=>""!==e)).map(e=>{let t={};return l.forEach((a,r)=>{t[a]=(e[r]??"").trim()}),t})})(a);if(e)return;r(s),o("ready")}catch(t){console.error(t),e||o("error")}})(),()=>{e=!0}},[]);let x=(0,a.useMemo)(()=>e.reduce((e,t)=>{let a=eJ(t.size);return a&&a>0?e+a:e},0),[e]),v=(0,a.useMemo)(()=>e.length?e.map((e,t)=>{let a,r=e.isco_1_name||"Other",s=e.isco_2_name||"Other",l=e.isco_3_name||"Other",o=e.isco_4_name||e.slug||`Occupation ${t+1}`,i=n===ez?(a=e$.map(t=>eJ(e[t.key])).filter(e=>null!==e)).length?a.reduce((e,t)=>e+t,0)/a.length:null:eJ(e[n]),d=eJ(e.size),u=d&&x>0?d/x:null;return{id:e.isco_4||`${t}`,name:o,parentLabel:"AI Exposure",isco1:r,isco2:s,isco3:l,isco_1:e.isco_1,isco_2:e.isco_2,isco_3:e.isco_3,isco_4:e.isco_4,score:i,exposureBand:Number.isFinite(i)?i<.5?"Lower exposure":"Higher exposure":"Unknown exposure",color:eU(i),size:d&&d>0?d:1,employment:d,share:u,slug:e.slug}}):[],[e,n,x]),w=(0,a.useMemo)(()=>{if(!v.length)return{};let e={};v.forEach(t=>{let a=t.isco1||"Other",r=t.isco2||"Other";e[a]||(e[a]=new Set),e[a].add(r)});let t={};return Object.keys(e).forEach(a=>{t[a]=Array.from(e[a]).sort((e,t)=>e.localeCompare(t))}),t},[v]),j=(0,a.useMemo)(()=>Object.keys(w).sort((e,t)=>e.localeCompare(t)),[w]),k=(0,a.useMemo)(()=>{if(!v.length)return[];let e=new Set;return v.forEach(t=>e.add(t.isco2||"Other")),Array.from(e).sort((e,t)=>e.localeCompare(t))},[v]);(0,a.useEffect)(()=>{m(e=>{let t={...e},a=new Set(k),r=!1;return k.forEach(e=>{void 0===t[e]&&(t[e]=!0,r=!0)}),Object.keys(t).forEach(e=>{a.has(e)||(delete t[e],r=!0)}),r?t:e})},[k]),(0,a.useEffect)(()=>{let e=e=>{y.current&&!y.current.contains(e.target)&&h(null),b.current&&!b.current.contains(e.target)&&g(!1)};if(p||f)return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[p,f]);let I=(0,a.useMemo)(()=>Object.keys(c).length?Object.values(c).filter(Boolean).length:k.length,[c,k.length]),N=(0,a.useCallback)(e=>{e&&m(t=>{if(!Object.prototype.hasOwnProperty.call(t,e))return t;let a=!1!==t[e],r=Object.values(t).filter(Boolean).length;return a&&r<=1?t:{...t,[e]:!a}})},[]),A=(0,a.useCallback)(e=>{let t=w[e]||[],a=t.every(e=>!1!==c[e]);m(e=>{let r={...e};return t.forEach(e=>{r[e]=!a}),a&&0===Object.values(r).filter(Boolean).length&&t.length>0&&(r[t[0]]=!0),r})},[w,c]),S=(0,a.useMemo)(()=>v.length?Object.keys(c).length?v.filter(e=>!1!==c[e.isco2]):v:[],[v,c]),C=eH[n],F=(0,a.useMemo)(()=>({data:S,groupBy:"exposure"===d?["parentLabel","exposureBand","isco1","isco2","name"]:["parentLabel","isco1","isco2","name"],sum:"size",threshold:0,legend:!1,shapeConfig:{fill:e=>{let t=e.score??e.data?.score;return eU("number"==typeof t&&Number.isFinite(t)?t:null)},stroke:"#ffffff",strokeWidth:1.5,Rect:{label:e=>
7{let t=e.name||e.data?.name||e.id,a=e.score??e.data?.score;return"number"==typeof a&&Number.isFinite(a)?[t,a.toFixed(2)]:[t]}}},tooltipConfig:{title:e=>e.name,tbody:e=>[["ISCO-08 code",e.isco_4||"â"],["Major group",e.isco1||"â"],["Sub-major",e.isco2||"â"],["Minor group",e.isco3||"â"],[C?.label||"Score",Number.isFinite(e.score)?e.score.toFixed(3):"â"],["Employment",Number.isFinite(e.employment)?e.employment.toLocaleString():"â"],["US Share",Number.isFinite(e.share)?`${(100*e.share).toFixed(e.share<1e-4?4:e.share<.01?3:2)}%`:"â"]]}}),[S,C,d]),E="loading"===l?"Loading...":"error"===l?"Failed to load AI exposure data":v.length?null:"No exposure data",L=(0,a.useMemo)(()=>j.length?(0,t.jsx)("div",{className:eM.default.legendSection,ref:y,children:(0,t.jsx)("div",{className:eM.default.legendList,children:j.map(e=>{let a=w[e]||[],r=p===e,s=a.every(e=>!1!==c[e]),l=a.some(e=>!1!==c[e]);return(0,t.jsxs)("div",{className:eM.default.industryWrapper,children:[(0,t.jsxs)("button",{type:"button",className:(0,_.default)(eM.default.industryChip,r&&eM.default.industryChipActive),onClick:()=>h(r?null:e),children:[(0,t.jsx)("input",{type:"checkbox",checked:s,ref:e=>{e&&(e.indeterminate=l&&!s)},onChange:t=>{t.stopPropagation(),A(e)},onClick:e=>e.stopPropagation(),className:eM.default.industryCheckbox}),(0,t.jsxs)("div",{className:eM.default.industryLabel,children:[(0,t.jsx)("span",{children:e}),(0,t.jsx)("svg",{className:(0,_.default)(eM.default.industryArrow,r&&eM.default.industryArrowOpen),width:"10",height:"10",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,t.jsx)("polyline",{points:"6 9 12 15 18 9"})})]})]}),r&&(0,t.jsx)("div",{className:eM.default.dropupMenu,role:"listbox",children:(0,t.jsx)("div",{className:eM.default.dropupScrollArea,children:a.map(e=>{let a=!1!==c[e],r=a&&I<=1;return(0,t.jsxs)("label",{className:(0,_.default)(eM.default.dropupItem,!a&&eM.default.dropupItemInactive,r&&eM.default.dropupItemDisabled),children:[(0,t.jsx)("input",{type:"checkbox",checked:a,onChange:()=>N(e),disabled:r}),(0,t.jsx)("span",{children:e})]},e)})})})]},e)})})}):null,[j,w,c,p,I,N,A]),R=(0,a.useMemo)(()=>j.length?(0,t.jsxs)("div",{className:eM.default.dropupContainer,ref:b,children:[(0,t.jsxs)("button",{type:"button",className:eM.default.dropupTrigger,onClick:()=>g(e=>!e),"aria-expanded":f,"aria-haspopup":"listbox",children:[(0,t.jsxs)("span",{children:["Major groups (",I,"/",k.length,")"]}),(0,t.jsx)("svg",{className:(0,_.default)(eM.default.dropupArrow,f&&eM.default.dropupArrowOpen),width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,t.jsx)("polyline",{points:"18 15 12 9 6 15"})})]}),f&&(0,t.jsx)("div",{className:eM.default.dropupMenu,role:"listbox",children:(0,t.jsx)("div",{className:eM.default.dropupScrollArea,children:j.map(e=>{let a=w[e]||[],r=p===e,s=a.every(e=>!1!==c[e]),l=a.some(e=>!1!==c[e]);return(0,t.jsxs)("div",{className:eM.default.industryGroup,children:[(0,t.jsxs)("button",{type:"button",className:(0,_.default)(eM.default.industryItem,r&&eM.default.industryItemExpanded),onClick:()=>h(r?null:e),children:[(0,t.jsxs)("div",{className:eM.default.industryLabelGroup,children:[(0,t.jsx)("input",{type:"checkbox",checked:s,ref:e=>{e&&(e.indeterminate=l&&!s)},onChange:t=>{t.stopPropagation(),A(e)},onClick:e=>e.stopPropagation(),className:eM.default.industryCheckbox}),(0,t.jsx)("span",{children:e})]}),(0,t.jsx)("svg",{className:(0,_.default)(eM.default.industryArrow,r&&eM.default.industryArrowExpanded),width:"10",height:"10",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,t.jsx)("polyline",{points:"9 18 15 12 9 6"})})]}),r&&(0,t.jsx)("div",{className:eM.default.subIndustryPanel,children:(0,t.jsx)("div",{className:eM.default.subIndustryList,children:a.map(e=>{let a=!1!==c[e],r=a&&I<=1;return(0,t.jsxs)("label",{className:(0,_.default)(eM.default.dropupItem,!a&&eM.default.dropupItemInactive,r&&eM.default.dropupItemDisabled),children:[(0,t.jsx)("input",{type:"checkbox",checked:a,onChange:()=>N(e),disabled:r}),(0,t.jsx)("span",{children:e})]},e)})})})]},e)})})})]}):null,[j,w,c,p,f,I,k.length,N,A]),O=(0,a.useMemo)(()=>[{label:"ESCO"},{label:"Felten et al. (2021, 2023)"},{label:"Tolan et al. (2021)"},{label:"Gmyrek et al. (2023)"},{label:"Eloundou et al. (2024)"},{label:"Engberg et al. (2024)"},{label:"Loaiza et al. (2024)"}],[]);return(0,t.jsx)(s.default,{id:"ai-exposure",title:"AI Exposure of Occupations",subtitle:"How exposed each occupation is to AI",layout:"full-section",text:["Different research teams have estimated how much each occupation is exposed to AI. Each block
7is an ISCO occupation, grouped by its major and sub-major group. Switch the score to compare how exposure looks across studies. Green means low exposure, red means high."],style:{padding:"2rem 2rem 1rem 2rem"},children:E?(0,t.jsx)("div",{className:eM.default.chartWrapper,children:(0,t.jsx)("p",{className:eM.default.status,children:E})}):(0,t.jsx)(ef,{explainId:`home-ai-exposure-${n}-${d}`,className:eM.default.chartWrapper,children:(0,t.jsx)(er.default,{plotType:"tree",config:F,slider:!1,timeSlider:!1,download:!1,enableTreemapValueToggle:!1,source:O,belowPlotContent:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:eM.default.desktopOnly,children:L}),(0,t.jsx)("div",{className:eM.default.mobileOnly,children:R})]}),selectorLeft:(0,t.jsx)(es.default,{data:eD,selected:n,callback:i}),selector:(0,t.jsx)(es.default,{data:eq,selected:d,callback:u})})})})}var eQ=e.i(706470),eX=e.i(782922);let eZ=[{value:"bar",label:(0,t.jsx)(eX.BarPlotIcon,{size:22}),tooltip:"Bar chart",ariaLabel:"Bar chart"},{value:"scatter",label:(0,t.jsx)(eX.ScatterPlotIcon,{size:22}),tooltip:"Scatter plot",ariaLabel:"Scatter plot"},{value:"bumpchart",label:(0,t.jsx)(eX.BumpPlotIcon,{size:22}),tooltip:"Bump chart",ariaLabel:"Bump chart"}],e0=()=>{let e=a.default.useContext(ed.FullscreenContext),r=(0,k.useSearchParams)(),s=(0,k.useRouter)(),l=(0,k.usePathname)(),o=r.get("source"),n=r.get("mode"),i=eZ.some(({value:e})=>e===n)?n:"bar",d=a.default.useMemo(()=>{let e=new URLSearchParams({top:"bumpchart"===i?"12":"25",color:"white",style:"1",logo:"0"});return o&&e.set("source",o),e.toString()},[o,i]),u={bar:`https://aileaderboard.franri.dev?${d}`,scatter:`https://aileaderboard.franri.dev/scatter.html?${d}`,bumpchart:`https://aileaderboard.franri.dev/bumpchart.html?${d}`}[i],[c,m]=a.default.useState(!1),p=a.default.useRef(null);return a.default.useEffect(()=>{if("#ai-models-ranking"===window.location.hash)return void m(!0);let e=p.current;if(!e)return;let t=new IntersectionObserver(([e])=>{e.isIntersecting&&(m(!0),t.disconnect())},{rootMargin:"200px"});return t.observe(e),()=>t.disconnect()},[]),(0,t.jsxs)("div",{ref:p,style:{display:e?"flex":"block",flexDirection:"column",height:e?"100%":"auto",minHeight:0},children:[(0,t.jsx)("iframe",{src:c?u:void 0,width:"100%",style:{border:"none",marginTop:"1rem",flex:e?"1 1 auto":"none",minHeight:0,height:e?"auto":"800px"},title:"AI Model Leaderboard"},`${e}-${i}`),(0,t.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"1fr auto 1fr",width:"100%",alignItems:"center"},children:[(0,t.jsx)("div",{style:{justifySelf:"start"},children:(0,t.jsx)(f.default,{source:[{label:"LMArena",href:"https://lmarena.ai/leaderboard"},{label:"Artificial Analysis",href:"https://artificialanalysis.ai/leaderboards/models"},{label:"LiveBench",href:"https://livebench.ai/#/"}]})}),(0,t.jsx)("div",{style:{justifySelf:"center"},children:(0,t.jsx)(es.default,{data:eZ,selected:i,callback:e=>{if(!e)return;let t=new URLSearchParams(r.toString());t.set("mode",e);let a=window.location.hash;s.replace(`${l}?${t.toString()}${a}`,{scroll:!1})},disableRipple:!0})}),(0,t.jsx)("div",{style:{justifySelf:"end"},children:(0,t.jsx)(eQ.default,{})})]})]})};function e1(){return(0,t.jsx)(ed.default,{children:(0,t.jsx)(a.Suspense,{children:(0,t.jsx)(e0,{})})})}var e2=e.i(485736),e5=e.i(466354);function e4({direction:e}){return(0,t.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:(0,t.jsx)("path",{d:"left"===e?"M15 18l-6-6 6-6":"M9 6l6 6-6 6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}function e6({steps:e,label:r,triggerLabel:s=r}){let l=(0,a.useRef)(null),o=(0,a.useId)(),[n,i]=(0,a.useState)(0),d=e.length-1,u=e=>i(Math.min(d,Math.max(0,e)));return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{type:"button",className:e5.default.help,onClick:()=>{i(0),l.current?.showModal()},"aria-label":s,children:"?"}),(0,t.jsx)("dialog",{ref:l,className:e5.default.dialog,"aria-labelledby":o,onClick:e=>e.target===l.current&&l.current.close(),onKeyDown:e=>{"ArrowLeft"===e.key&&u(n-1),"ArrowRight"===e.key&&u(n+1)},children:(0,t.jsxs)("div",{className:e5.default.body,children:[(0,t.jsx)("button",{type:"button",className:e5.default.close,onClick:()=>l.current?.close(),"aria-label":"Close",children:"Ã"}),r&&(0,t.jsx)("p",{className:e5.default.eyebrow,children:r}),(0,t.jsx)("div",{className:e5.default.stack,children:e.map((e,a)=>(0,t.jsxs)("div",{className:e5.default.step,"data-active":a===n,"aria-hidden":a!==n,children:[(0,t.jsx)("h3",{id:a===n?o:void 0,children:e.title}),(0,t.jsx)("img",{className:e5.default.image,src:e.image,alt:e.alt}),(0,t.jsx)("p",{className:e5.default.text,children:e.text})]},e.title))}),e.length>1&&(0,t.jsxs)("div",{className:e5.default.nav,children:[(0,t.jsx)("button",{type:"button",className:e5.default.arrow,onClick:()=>u(n-1),disabled:0===n,"aria-label":"Previous step",children:(0,t.jsx)(e4,{direction:"left"})}),(0,t.jsx)("div",{className:e5.default.dots,children:e.map((e,a)=>(0,t.jsx)("button",{type:"button",className:e5.default.dot,"data-active":a===n,onClick:()=>u(a),"aria-label":`Go to step ${a+1}
7: ${e.title}`},e.title))}),(0,t.jsx)("button",{type:"button",className:e5.default.arrow,onClick:()=>u(n+1),disabled:n===d,"aria-label":"Next step",children:(0,t.jsx)(e4,{direction:"right"})})]})]})})]})}var e3=e.i(740467);let e8=new Set(["research","models","policy","business","investment","robotics","chips","safety","society"]);function e7(e){let t=e.match(/^\s*"?([^"<]+?)"?\s*(?:<|$)/)?.[1]?.trim(),a=t?.includes("@")?null:t,r=e.match(/@([\w.-]+\.[a-z]{2,})/i)?.[1]?.toLowerCase().replace(/^(?:newsletter|news|daily|mail|email|e|send|link)\./,"");return a||r?{name:a||r,href:r?`https://${r}`:null}:null}function e9({story:e,index:r}){var s;let l,o,[n,i]=(0,a.useState)(!1),d=function(e){if(!e)return null;let t=new Date(e);return Number.isNaN(t.getTime())?null:new Intl.DateTimeFormat("en-GB",{day:"numeric",month:"short",timeZone:"UTC"}).format(t)}(e.publishedAt),u=!!e.imageUrl&&!n,c=(s=e.newsletterSources,l=new Set,(s||[]).filter(Boolean).map(e7).filter(e=>!(!e||l.has(e.name))&&(l.add(e.name),!0)));return(0,t.jsxs)("article",{className:e3.default.card,"data-tone":r%3,"data-category":(o=String(e.category||"").trim().toLowerCase(),e8.has(o)?o:"default"),children:[(0,t.jsx)("div",{className:e3.default.bannerWrap,children:u?(0,t.jsx)(C.default,{className:e3.default.banner,href:e.originalUrl,target:"_blank",rel:"noopener noreferrer",tabIndex:-1,"aria-hidden":"true",children:(0,t.jsx)("img",{src:e.imageUrl,alt:"",loading:"lazy",onError:()=>i(!0)})}):(0,t.jsx)("div",{className:e3.default.bannerFallback,"aria-hidden":"true",children:(0,t.jsx)("span",{children:e.source})})}),(0,t.jsx)("p",{className:e3.default.category,children:e.category}),(0,t.jsx)("h3",{children:(0,t.jsx)(C.default,{href:e.originalUrl,target:"_blank",rel:"noopener noreferrer",children:e.title})}),(0,t.jsx)("p",{className:e3.default.summary,children:e.summary}),(0,t.jsxs)("div",{className:e3.default.cardFooter,children:[e.author&&(0,t.jsxs)("p",{className:e3.default.author,children:[(0,t.jsx)("span",{children:"Written by"})," ",e.author]}),(0,t.jsxs)("p",{className:e3.default.source,title:e.source,children:[(0,t.jsx)("span",{className:e3.default.plain,children:"Source:"})," ",(0,t.jsx)(C.default,{href:e.originalUrl,target:"_blank",rel:"noopener noreferrer","aria-label":`Read the original story: ${e.title}`,children:e.source})]}),(c.length>0||d)&&(0,t.jsxs)("p",{className:e3.default.from,children:[c.length>0&&(0,t.jsx)("span",{className:e3.default.plain,children:"From "}),c.map((e,a)=>(0,t.jsxs)("span",{children:[a>0&&(0,t.jsx)("span",{className:e3.default.plain,children:a===c.length-1?" and ":", "}),e.href?(0,t.jsx)(C.default,{href:e.href,target:"_blank",rel:"noopener noreferrer",children:e.name}):e.name]},e.name)),d&&(0,t.jsxs)("span",{className:e3.default.plain,children:[c.length>0?" on ":"",(0,t.jsx)("time",{dateTime:e.publishedAt,children:d})]})]})]})]})}let te=[{title:"Trusted newsletters",image:"/ai-news/how-it-works/1-inbox.svg",alt:"An inbox with emails from TLDR AI, The Rundown AI and The Neuron",text:"Several times a day we read the AI newsletters that have reached our inbox. Only senders we have subscribed to are read."},{title:"Every story pulled out",image:"/ai-news/how-it-works/2-extract.svg",alt:"One email split into three separate story cards, with the sponsored block left out",text:"An AI model reads each email and lists every news item in it, with its publisher, author and link. Ads, events, job posts and opinion pieces are left out."},{title:"One card per event",image:"/ai-news/how-it-works/3-merge.svg",alt:"Three newsletter items about Grok 4.7 joining into one card",text:"When several newsletters cover the same event, they become one card. Its summary draws on all of them, and every newsletter is credited. We also check the last three days so a story is never shown twice."},{title:"Only what matters",image:"/ai-news/how-it-works/4-rank.svg",alt:"Stories ranked by relevance score, with a cut-off line after the top ones",text:"Stories are ranked on novelty, significance, technical depth, business or policy relevance, source credibility and geographic reach. We keep up to three new stories for each newsletter we read. A quiet day gets fewer."},{title:"Back to the original",image:"/ai-news/how-it-works/5-source.svg",alt:"A news card linking to the publisher's original article",text:"Each card gets a neutral two-sentence summary and links straight to the original publisher, not the newsletter. The picture comes from the publisher too. Click any card to read the full story."}],tt="ai-news";function ta(){window.history.replaceState(null,"",`#${tt}`)}function tr({index:e}){return(0,t.jsx)("div",{className:e3.default.skeleton,"data-tone":e%3,"aria-hidden":"true"})}function ts(){let{data:e,isLoading:r}=(0,i.default)("/api/ai-news?limit=20",d.fetcher,{revalidateOnFocus:!1}),s=e?.data||[],l=function(e){if(!e)return null;let t=new Date(e);return Number.isNaN(t.getTime())?null:new Intl.DateTimeFormat("en-GB",{day:"numeric",month:"short",year:"numeric",timeZone:"UTC"}).format(t)}(e?.editionAt),o=(0,a.useRef)(null),[n,u]=(0,a.useState)(!1),[c,m]=(0,a.useState)(!1),[p,h]=(0,a.useState)(1),[f,_]=(0,a.useState)(0),g=(0,a.useCallback)(()=>{let e=o.current;e&&(u(e.scrollLeft>2),m(e.scrollLeft+e.clientWidth<e.scrollWidth-2),h(Math.max(1,Math.round(e.scrollWidth/e.clientWidth))),_(Math.round(e.scrollLeft/e.clientWidth)))},[]);(0,a.useEffect)(()=>{let e=o.current;if(!e)return;g();let t=new ResizeObserver(g);return t.observe(e),e.addEventListener("scroll",g,{passive:!0}),()=>{t.disconnect(),e.removeEventListener("scroll",g)}},[g,s.length]);let y=(0,a.useRef)(!1);(0,a.useEffect)(()=>
7{if(y.current||r||window.location.hash!==`#${tt}`)return;y.current=!0;let e=setTimeout(()=>{let e=document.getElementById(tt)?.getBoundingClientRect().top;null!=e&&Math.abs(e-100)>10&&window.scrollTo({top:e+window.scrollY-100,behavior:"smooth"})},100);return()=>clearTimeout(e)},[r]);let b=e=>{let t=o.current;t&&t.scrollBy({left:t.clientWidth*e,behavior:"smooth"})};return(0,t.jsxs)("section",{className:e3.default.section,id:tt,"aria-labelledby":"ai-news-title",children:[(0,t.jsxs)("div",{className:e3.default.headingRow,children:[(0,t.jsxs)(e2.Link,{className:e3.default.titleGroup,to:tt,href:`#${tt}`,smooth:!0,duration:500,onClick:ta,children:[(0,t.jsx)("h2",{id:"ai-news-title",children:"Latest AI News"}),(0,t.jsx)("p",{className:e3.default.subtitle,children:"What is happening in the World of AI?"})]}),(0,t.jsxs)("div",{className:e3.default.edition,children:[(0,t.jsxs)("div",{className:e3.default.selected,children:["Selected and summarized by AI World",(0,t.jsx)(e6,{steps:te,label:"How we select the news",triggerLabel:"How AI World selects these stories"})]}),l&&(0,t.jsxs)("p",{className:e3.default.updated,children:["Last updated ",(0,t.jsx)("time",{dateTime:e.editionAt,children:l})]})]})]}),r&&(0,t.jsx)("div",{className:e3.default.grid,"aria-label":"Loading AI news",children:Array.from({length:5},(e,a)=>(0,t.jsx)(tr,{index:a},a))}),!r&&s.length>0&&(0,t.jsxs)("div",{className:e3.default.carousel,children:[(0,t.jsx)("div",{className:e3.default.track,ref:o,"data-monitor":"ai-news-cards",children:s.map((e,a)=>(0,t.jsx)(e9,{story:e,index:a},e.id))}),(0,t.jsx)("button",{type:"button",className:e3.default.arrow,"data-side":"left",onClick:()=>b(-1),disabled:!n,"aria-label":"Show previous stories",children:(0,t.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M15 18l-6-6 6-6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,t.jsx)("button",{type:"button",className:e3.default.arrow,"data-side":"right",onClick:()=>b(1),disabled:!c,"aria-label":"Show more stories",children:(0,t.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M9 6l6 6-6 6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),p>1&&(0,t.jsx)("div",{className:e3.default.indicator,children:Array.from({length:p},(e,a)=>(0,t.jsx)("button",{type:"button",className:e3.default.dot,"data-active":a===f,onClick:()=>{let e;(e=o.current)&&e.scrollTo({left:e.clientWidth*a,behavior:"smooth"})},"aria-label":`Go to page ${a+1}`},a))})]}),!r&&0===s.length&&(0,t.jsxs)("div",{className:e3.default.empty,children:[(0,t.jsx)("p",{className:e3.default.emptyLabel,children:e?.error?"Briefing unavailable":"First edition coming soon"}),(0,t.jsx)("p",{children:"AI World is curating a focused daily selection from trusted AI newsletters and original sources."})]})]})}var tl=e.i(643289);e.i(837054);var to=e.i(868741),tn=e.i(493600),ti=e.i(100003);e.i(980597),e.i(479996),e.i(29982),e.i(55594),e.i(479220),e.i(997253),e.i(927622);var td=e.i(201683),tu=e.i(42828),tu=tu,tc=e.i(780593),tm=e.i(79491),tp=e.i(397837),th=e.i(782904),tf=e.i(838456);function t_({initialEmail:e="",onSuccess:r}){let[s,l]=(0,a.useState)(e),[o,n]=(0,a.useState)(""),[i,d]=(0,a.useState)(""),[u,c]=(0,a.useState)(!1),m=async e=>{e.preventDefault(),d(""),c(!0);try{let e=await fetch("/api/users/login",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:s.trim(),password:o})}),t=await e.json().catch(()=>({}));if(!e.ok)throw Error(t.message||"Invalid credentials");r()}catch(e){d(e.message)}finally{c(!1)}};return(0,t.jsxs)(tf.Box,{component:"form",onSubmit:m,sx:{display:"flex",flexDirection:"column",gap:2,mt:2},children:[i&&(0,t.jsx)(K.Alert,{severity:"error",children:i}),(0,t.jsx)(b.TextField,{label:"Email",type:"email",value:s,onChange:e=>l(e.target.value),required:!0,autoFocus:!e,fullWidth:!0}),(0,t.jsx)(b.TextField,{label:"Password",type:"password",value:o,onChange:e=>n(e.target.value),required:!0,autoFocus:!!e,fullWidth:!0}),(0,t.jsx)(tp.Button,{type:"submit",variant:"contained",size:"large",disabled:u,children:u?"Signing inâ¦":"Sign in"})]})}function tg({onRegistered:e}){let[r,s]=(0,a.useState)(""),[l,o]=(0,a.useState)(""),[n,i]=(0,a.useState)(""),[d,u]=(0,a.useState)(""),[c,m]=(0,a.useState)(""),[p,h]=(0,a.useState)(""),[f,_]=(0,a.useState)(!1),g=async t=>{if(t.preventDefault(),h(""),n!==d)return void h("Passwords do not match.");_(!0);try{let t=c.trim(),a=await fetch("/api/users/register",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({fullName:r,email:l.trim(),password:n,extra:t?{content_request:t}:void 0})}),s=await a.json().catch(()=>({}));if(!a.ok)throw Error(s.message||"Registration failed");e(l.trim())}catch(e){h(e.message)}finally{_(!1)}};
7return(0,t.jsxs)(tf.Box,{component:"form",onSubmit:g,sx:{display:"flex",flexDirection:"column",gap:2,mt:2},children:[p&&(0,t.jsx)(K.Alert,{severity:"error",children:p}),(0,t.jsx)(b.TextField,{label:"Full name",value:r,onChange:e=>s(e.target.value),required:!0,autoFocus:!0,fullWidth:!0}),(0,t.jsx)(b.TextField,{label:"Email",type:"email",value:l,onChange:e=>o(e.target.value),required:!0,fullWidth:!0}),(0,t.jsx)(b.TextField,{label:"Password",type:"password",value:n,onChange:e=>i(e.target.value),required:!0,fullWidth:!0}),(0,t.jsx)(b.TextField,{label:"Confirm password",type:"password",value:d,onChange:e=>u(e.target.value),required:!0,fullWidth:!0}),(0,t.jsx)(b.TextField,{label:"Your interests (optional)",placeholder:"What content would you like to see from us?",value:c,onChange:e=>m(e.target.value),multiline:!0,minRows:2,maxRows:4,fullWidth:!0,InputLabelProps:{shrink:!0}}),(0,t.jsx)(tp.Button,{type:"submit",variant:"contained",size:"large",disabled:f,children:f?"Creating accountâ¦":"Create account"})]})}function ty({open:e,onClose:r}){let[s,l]=(0,a.useState)("signin"),[n,i]=(0,a.useState)(""),{mutate:d}=(0,eu.default)(),u=async()=>{await d(),r()};return(0,t.jsxs)(o.Dialog,{open:e,onClose:r,maxWidth:"xs",fullWidth:!0,PaperProps:{sx:{maxHeight:"none",overflow:"hidden"}},children:[(0,t.jsx)(x.IconButton,{"aria-label":"Close",onClick:r,sx:{position:"absolute",right:8,top:8},children:(0,t.jsx)(h.default,{})}),(0,t.jsxs)(tu.default,{sx:{pt:4,pb:3,overflow:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},children:[(0,t.jsx)(tf.Box,{sx:{display:"flex",justifyContent:"center",mb:1.5},children:(0,t.jsx)(Q.default,{src:"/logo-transparent.svg",alt:"AI World",width:160,height:36,priority:!0})}),(0,t.jsx)(th.Typography,{variant:"h6",component:"h2",textAlign:"center",sx:{mb:.5},children:"Sign in to unlock, it's free!"}),(0,t.jsx)(th.Typography,{variant:"body2",color:"text.secondary",textAlign:"center",children:"Some insights are only available to registered users!"}),(0,t.jsxs)(tc.Tabs,{value:s,onChange:(e,t)=>
7l(t),centered:!0,sx:{mt:2,borderBottom:"1px solid #e0e0e0"},children:[(0,t.jsx)(tm.Tab,{value:"signin",label:"Sign in"}),(0,t.jsx)(tm.Tab,{value:"register",label:"Register"})]}),(0,t.jsx)(tf.Box,{sx:{minHeight:440,display:"flex",flexDirection:"column",justifyContent:"center"},children:"signin"===s?(0,t.jsx)(t_,{initialEmail:n,onSuccess:u}):(0,t.jsx)(tg,{onRegistered:e=>{i(e),l("signin")}})})]})]})}let tb=[{label:"Research",value:"openalex"},{label:"Patents",value:"regpat"},{label:"Investments",value:"crunchbase"}],tx=[{label:"Countries",value:"country"},{label:"Cities",value:"urban"},{label:"Organizations",value:"org"}],tv={research:"openalex",patents:"regpat",investments:"crunchbase"},tw={openalex:"research",regpat:"patents",crunchbase:"investments"},tj={countries:"country",cities:"urban",organizations:"org"},tk={country:"countries",urban:"cities",org:"organizations"};function tI(e,t){return"org"===t?`/api/cubes/org_geo?level=urban&source=${e}&year.gte=2023`:`/api/cubes/geo?level=${t}&source=${e}&year.gte=2023`}function tN(e){return"openalex"===e?{label:"OpenAlex"}:"regpat"===e?{label:"RegPat"}:"crunchbase"===e?{label:"Crunchbase",href:"https://crunchbase.com"}:void 0}function tA(e,t){return a=>{if("org"===t)return a.filter(e=>"00XX"!==e.geo).filter(e=>e.orgName||e.org).map(e=>{let t=e.geo,a=e.name,r=to.country2continent[e.parentId||t]||"Other";return{...e,name:e.orgName||e.org,geoName:a,geoId:t,superParentName:r}});let r=a.filter(e=>"00XX"!==e.geo);if("urban"===t){let t=r;return"crunchbase"===e&&(t=Object.values(t.reduce((e,t)=>{let a=`${t.year}-${t.geo}`;return e[a]||(e[a]={...t,count:0}),e[a].count+=t.count,e},{}))),t.map(e=>({...e,name:"London"===e.name&&"CA"===e.parentId?"London, Ontario":e.name,superParentName:to.country2continent[e.parentId]||"Other"}))}return"country"===t&&"crunchbase"===e?r.map(e=>({...e,superParentName:to.country2continent[e.geo]||"Other"})):r.map(e=>({...e,superParentName:to.country2continent["country"===t?e.geo:e.parentId]||"Other"}))}}function tS(e,t,a){return{groupBy:"org"===t?["superParentName","parentId","parentName","geoName","name"]:"urban"===t?["superParentName","parentId","parentName","name"]:["superParentName","name"],colorScale:a,colorScaleTitle:"RCA",colorScaleConfig:{colorMin:"#FF4141",colorMid:"#f3eed9",colorMax:"#005adf",title:"RCA",scale:"linear",midpoint:1,position:"bottom"},colorScalePosition:"bottom",sum:"count",tooltipConfig:{background:"white",borderRadius:"2px",padding:"10px",width:"220px",titleStyle:{color:"#303F50",fontFamily:()=>"'urbane-condensed', sans-serif","font-size":"16px","font-weight":"600"},tbody:a=>{let r=[];return"org"===t&&(a.orgName||a.name)?r.push(["Organization",a.orgName||a.name]):"urban"===t&&(a.name||a.geoName)?r.push(["City",a.name||a.geoName]):"country"===t&&a.name&&r.push(["Country",a.name]),a.geoName&&"org"===t&&r.push(["Location",a.geoName]),a.parentName&&"urban"===t&&r.push(["Country",a.parentName]),a.superParentName&&"Other"!==a.superParentName&&r.push(["Continent",a.superParentName]),a.rca&&r.push(["RCA",(0,tl.default)(a.rca).format("0.00")]),"crunchbase"===e?a.count&&r.push(["Total Funding",`$${(0,tl.default)(a.count).format("0.00a")} USD`]):a.count&&r.push(["Count",(0,tl.default)(a.count).format("0,0")]),r.filter(Boolean)}}}}function tC(e){let{info:r}=e,l=(0,k.useSearchParams)(),o=(0,k.useRouter)(),n=(0,k.usePathname)(),i=l.get("source"),u=i&&tv[i]?tv[i]:"openalex",c=l.get("level"),m=c&&tj[c]?tj[c]:"urban",[p,h]=(0,a.useState)(void 0),[f,_]=(0,a.useState)("year"),[g,y]=(0,a.useState)(!1),b=(0,V.useTemplatedTranslation)(),{isLoggedIn:x,isLoading:v}=(0,eu.default)(),w=v||!x,j=(0,a.useMemo)(()=>tx.map(e=>"org"===e.value&&w?{...e,locked:!0,tooltip:"Subscribe to unlock"}:e),[w]),I=w&&"org"===m?"urban":m,N=(0,a.useCallback)(()=>{y(!0)},[]),[A,S]=(0,a.useState)({}),[C,F]=(0,a.useState)(2026),[E,L]=(0,a.useState)(1),[R,O]=(0,a.useState)(1);(0,a.useEffect)(()=>{"crunchbase"===u&&"week"===f&&fetch("/api/weekly_investment?latest=1").then(e=>e.ok?e.json():Promise.reject("Failed")).then(e=>{if(e?.length>0){let t=Number(e[0].week),a=Number(e[0].year);O(2026===a?t:1),L(t),F(a)}}).catch(()=>{})},[u,f]);let T=(0,a.useMemo)(()=>Array.from({length:2025===C?52:R},(e,t)=>t+1),[C,R]),G=T[0]??1,B=T[T.length-1]??1,M=e=>{L(t=>Math.min(Math.max(t+e,G),B))},W=e=>{let t=C+e;t<2025||t>2026||(F(t),L(2025===t?52:1))},P=`/api/weekly_investment?week=${E}&year=${C}`,z=(0,a.useCallback)(e=>{if(!e||0===e.length)return;let t=e[0];S({count:e.filter(e=>e.value>1e3).length,week:t?.week,year:t?.year,amount:(0,tl.default)(e.reduce((e,t)=>
7t.value+e,0)).format("$0.0a")})},[]),$=(0,a.useMemo)(()=>({groupBy:["continent","country","id"],sum:"value",legendPosition:"bottom",layoutPadding:1.25,legendConfig:{padding:10,shapeConfig:{padding:0,labelConfig:{fontSize:14,width:200}}},shapeConfig:{fill:e=>d.colors[e.continent]||e.color},tooltipConfig:{tbody:e=>[["Description",e.description],["Raised this week",e.raised+" ("+e.fundingType+") on "+e.announcedDate],["Location",e.location],["Industries",e.industries],["Investors",e.investors],["Raised this week in the AIW",e.total]],title:e=>!e.id||e.id instanceof Array?e.continent:e?.id?.charAt(0).toUpperCase()+e?.id?.substr(1).toUpperCase()}}),[]),D=[{label:"Year",value:"year"},{label:"Week",value:"week"}],H=C<=2025,q=C>=2026,J=E<=G,K=E>=B,U=e=>({display:"flex",alignItems:"center",justifyContent:"center",width:"1.5rem",height:"100%",background:"transparent",border:"none",cursor:e?"not-allowed":"pointer",padding:"0.4rem 0.4rem"}),Y=(e,t)=>({display:"inline-block",width:0,height:0,borderTop:"6px solid transparent",borderBottom:"6px solid transparent",..."left"===e?{borderRight:`8px solid ${t?"#a9bff0":"#2756d3"}`}:{borderLeft:`8px solid ${t?"#a9bff0":"#2756d3"}`}}),Q={width:"4rem",textAlign:"center",fontSize:"1rem",fontWeight:500,color:"#2756d3",border:"none",outline:"none",background:"transparent",padding:"0.25rem 0.25rem",MozAppearance:"textfield",appearance:"textfield"},X={display:"inline-flex",border:"1px solid #2756d3",borderRadius:"5px",overflow:"hidden",alignItems:"center",whiteSpace:"nowrap"},Z="week"===f&&"crunchbase"===u?(0,t.jsxs)("div",{style:{display:"flex",gap:"1rem",alignItems:"center",flexWrap:"nowrap"},children:[(0,t.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"0.5rem",whiteSpace:"nowrap"},children:[(0,t.jsx)("span",{style:{color:"#202021",fontWeight:600,fontSize:"0.9rem"},children:"Year"}),(0,t.jsxs)("div",{style:X,children:[(0,t.jsx)("button",{type:"button",onClick:()=>W(-1),disabled:H,"aria-label":"Previous year",style:U(H),children:(0,t.jsx)("span",{style:Y("left",H)})}),(0,t.jsx)("input",{type:"number",value:C,readOnly:!0,style:Q}),(0,t.jsx)("button",{type:"button",onClick:()=>W(1),disabled:q,"aria-label":"Next year",style:U(q),children:(0,t.jsx)("span",{style:Y("right",q)})})]})]}),(0,t.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"0.5rem",whiteSpace:"nowrap"},children:[(0,t.jsx)("span",{style:{color:"#202021",fontWeight:600,fontSize:"0.9rem"},children:"Week #"}),(0,t.jsxs)("div",{style:X,children:[(0,t.jsx)("button",{type:"button",onClick:()=>M(-1),disabled:J,"aria-label":"Previous week",style:U(J),children:(0,t.jsx)("span",{style:Y("left",J)})}),(0,t.jsx)("input",{type:"number",value:E,min:G,max:B,onChange:e=>{let t=Number.parseInt(e.target.value,10);Number.isNaN(t)||L(Math.min(Math.max(t,G),B))},style:Q,onWheel:e=>e.target.blur()}),(0,t.jsx)("button",{type:"button",onClick:()=>M(1),disabled:K,"aria-label":"Next week",style:U(K),children:(0,t.jsx)("span",{style:Y("right",K)})})]})]})]}):null,{buttons:ee,editor:et,containerProps:ea}=eh(`home-urban-hubs-${u}-${I}`),el=(0,a.useCallback)((e,a,r)=>(0,t.jsx)(er.default,{api:tI(e,a),source:tN(e),dataFormat:tA(e,a),plotType:"tree",timeSlider:!0,slider:!0,enableTreemapValueToggle:!0,hideThresholdControl:!0,hideTreemapValueToggle:!0,threshold:r.threshold,treemapValueDisplayOverride:r.valueDisplay,config:tS(e,a,p)},`versus-${e}-${a}`),[p]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(ty,{open:g,onClose:()=>y(!1)}),(0,t.jsxs)(s.default,{id:"ecosystems",title:"AI World Ecosystems",subtitle:"openalex"===u?"Countries, cities and organizations leading in AI research":"regpat"===u?"Countries, cities and organizations at the frontier of AI innovation":"crunchbase"===u?"Countries, cities and organizations attracting the most AI investments":void 0,text:[`${"openalex"==u?"In 2025, AI scientific publications for the top 100 urban areas are equally distributed between China, Europe, and the US. China leads with Beijing and Shanghai. Europe excels through Paris and London, while the US shines via Boston and DC. Sydney, Cairo, and São Paulo are global hubs.":"regpat"==u?"In 2025, the US significantly leads AI patents via Silicon Valley, followed by China's Shenzhen and Beijing. Seoul and Tokyo show exceptional innovation concentration, while Europe leads through London, Paris, Munich and Eindhoven. Sydney, Johannesburg, and São Paulo represent global hubs.":"crunchbase"==u?"In 2025, the US dominates AI investments with Silicon Valley capturing over half of global funding. Europe shows modest presence through London, Stockholm, and Berlin, while Asia trails with Beijing, Tel Aviv, and Mangalore. Melbourne, Rio, and Cairo represent emerging investment hubs.":void 0} <a href="mailto:[email protected]" style="color: #0066CC;">Contact us</a> for custom ecosystem analysis of specific AI systems or other technologies and sectors`],layout:"full-section",style:{padding:"2rem 2rem 3rem"},children:[(0,t.jsx)(td.default,{sourceOptions:tb,levelOptions:j,currentSource:u,currentLevel:I,renderPanel:el,onLockedClick:N,additionalButtons:ee,children:(0,t.jsxs)("div",{...ea,children:[(0,t.jsx)(tn.default,{value:u,onChange:(e,t)=>
7{let a=tw[t];if(a){"crunchbase"!==t&&_("year");let e=new URLSearchParams(l);e.set("source",a),o.replace(`${n}?${e.toString()}`,{scroll:!1})}},"aria-label":"Source Tabs",style:{borderBottom:"1px solid #ccc"},children:tb.map(e=>(0,t.jsx)(ti.default,{value:e.value,label:e.label},e.value))}),(0,t.jsx)("br",{}),"crunchbase"===u&&"week"===f?(0,t.jsxs)(t.Fragment,{children:[A.amount&&(0,t.jsx)("p",{style:{fontSize:"0.95rem",color:"#555",marginBottom:"0.5rem"},children:b("Over {{amount}} raised by {{count}} AI Startups in week #{{week}} of {{year}}",A)}),(0,t.jsx)(er.default,{plotType:"treemap",attributions:!1,api:P,timeSlider:!1,source:{label:"Crunchbase",href:"https://crunchbase.com"},callback:z,config:$,selectorLeft:(0,t.jsxs)("div",{style:{display:"flex",gap:"1rem",alignItems:"center"},children:[(0,t.jsx)(es.default,{data:D,selected:f,callback:_}),Z]})},`weekly-${C}-${E}`)]}):(0,t.jsx)(er.default,{api:tI(u,I),source:tN(u),selectorLeft:"crunchbase"===u?(0,t.jsx)(es.default,{data:D,selected:f,callback:_}):void 0,selector:(0,t.jsx)(es.default,{data:j,selected:I,callback:e=>{if(null!==e){let t=tk[e];if(t){let e=new URLSearchParams(l);e.set("level",t),o.replace(`${n}?${e.toString()}`,{scroll:!1})}}},onLockedClick:N}),dataFormat:tA(u,I),plotType:"tree",timeSlider:!0,slider:!0,enableTreemapValueToggle:!0,config:tS(u,I,p)},`${u}-${I}`)]})}),et]})]})}function tF(e){return(0,t.jsx)(a.default.Suspense,{fallback:(0,t.jsx)("div",{children:"Loading..."}),children:(0,t.jsx)(tC,{...e})})}var tE=e.i(768352);e.i(496369);var tL=e.i(702053),tR=e.i(352420);let tO=e=>fetch(e).then(e=>e.json());function tT(){let{data:e=[]}=(0,i.default)("/api/collabs",tO,{revalidateOnFocus:!1,revalidateOnReconnect:!1,revalidateIfStale:!1,dedupingInterval:36e5}),r=(0,a.useMemo)(()=>Array.isArray(e)?e.filter(e=>e?.src):[],[e]),s=r.length>0,l=(0,a.useMemo)(()=>s?Math.max(10,260*r.length/60):30,[r,s]),o=r.map((e,a)=>(0,t.jsx)("div",{className:tR.default.logoWrapper,children:(0,t.jsx)(Q.default,{src:e.src,alt:e.alt||"Partner logo",width:720,height:80,className:tR.default.logo,style:{objectFit:"contain",width:"100%",height:"100%",transform:e.scale&&1!==e.scale?`scale(${e.scale})`:void 0}})},`${e?.id||e?.src||a}`));return(0,t.jsx)("section",{className:tR.default.trustedBySection,"aria-label":"Trusted by and featured logos",children:s&&(0,t.jsx)("div",{className:tR.default.carouselContainer,children:(0,t.jsx)("div",{className:tR.default.scrollViewport,children:(0,t.jsxs)("div",{className:tR.default.carouselTrack,style:{"--scroll-duration":`${l}s`},children:[(0,t.jsx)("div",{className:tR.default.carouselGroup,children:o}),(0,t.jsx)("div",{className:tR.default.carouselGroup,"aria-hidden":"true",children:o})]})})})})}function tG(e){return(0,t.jsxs)("div",{className:(0,_.default)(tL.default.landing,"px-4"),children:[(0,t.jsx)("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",zIndex:0,backgroundImage:` 8 linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), 9 linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 10 `,backgroundSize:"20px 20px",opacity:.5}}),(0,t.jsx)("div",{className:tL.default.contentWrapper,children:(0,t.jsxs)("div",{className:(0,_.default)("max-width",tL.default.heroContainer),children:[(0,t.jsxs)("div",{className:(0,_.default)("flex flex-col md:flex-row gap-8 md:gap-16",tL.default.head),children:[(0,t.jsxs)("div",{className:(0,_.default)("text-center md:text-left",tL.default.textContent),children:[(0,t.jsx)("h1",{className:tL.default.title,children:(0,t.jsx)("img",{src:"/logo-aiworld-eu-horizontal.svg",className:tL.default.logo,alt:"AI World EU Logo"})}),(0,t.jsx)("h3",{className:tL.default.subtitle,children:"Real-Time Insights on Global Artificial Intelligence"}),(0,t.jsx)("p",{className:tL.default.subsubtitle,children:"AI World is the living map of the global AI ecosystem. Our real-time observatory integrates dozens of data sources to help policy and business leaders design smart AI strategies."}),(0,t.jsx)("div",{className:tL.default.explore,children:(0,t.jsx)(S,{})})]}),(0,t.jsx)("div",{className:tL.default.globe,children:(0,t.jsx)(J,{})})]}),(0,t.jsx)("div",{className:tL.default.trustedByRow,children:(0,t.jsx)(tT,{})})]})}),(0,t.jsx)("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:"radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%)",pointerEvents:"none",zIndex:-1}})]})}e.i(893378),e.i(883300);let tB="https://aiworld.eu",tM={news:"#News",startup:"#Startups",startups:"#Startups",papers:"#Papers",paper:"#Papers"}
10,tW={news:{id:"story-news",tag:tM.news,title:"How is ChatGPT actually used?",description:"Lorem ipsum praesent ac massa at ligula reet est iaculis. Vivamus est mist aliquet elit ac nisl.",image:"/images/sos/treemap.gif",href:"/story"},startup:{id:"story-startup",tag:"#Startups",title:"Vibeflow",description:"Lorem ipsum praesent ac massa at ligula reet est iaculis. Vivamus est mist aliquet elit ac nisl.",image:"/images/sos/wheel.gif",href:"/story"},papers:{id:"story-papers",tag:"#Papers",title:"AI world's 10 notable research papers: Week 38",description:"Lorem ipsum praesent ac massa at ligula reet est iaculis.",image:"/images/sos/hf_papers_stacked.gif",href:"/story"}},tP=e=>e.replace(/<[^>]+>/g," ").replace(/ /gi," ").replace(/\s+/g," ").trim(),tz=e=>{if(!e)return[];if(Array.isArray(e))return e;if("string"==typeof e)try{let t=JSON.parse(e);if(Array.isArray(t))return t}catch(e){}if("object"==typeof e&&null!==e){if(Array.isArray(e.content))return e.content;if(Array.isArray(e.children))return e.children}return[]},t$=(e,{height:t}={})=>
10{if(!e||"string"!=typeof e)return;let a=e.trim();if(!a||a.startsWith("<")&&!/^<iframe/i.test(a)&&!/^<img/i.test(a))return;let r=/^https?:\/\//i.test(a),s=a.startsWith("/")||a.startsWith("./")||a.startsWith("../"),l=a.includes("/")||a.includes(".");if(!r&&!s&&!l)return;let o=(e=>{if(e)return e.startsWith("http")?e:e.startsWith("/")?`${tB}${e}`:`${tB}/${e}`})(a);return(e=>{if(!e||"string"!=typeof e)return!1;let t=e.split("?")[0];return/\.(apng|avif|gif|jpe?g|jfif|pjpe?g|pjp|png|svg|webp|bmp)$/i.test(t)})(a)?{type:"image",src:o}:{type:"iframe",src:o,height:t}},tD=(e,t)=>{let a=e?((e,t=220)=>e?e.length<=t?e:`${e.slice(0,t).trim()}â¦`:"")((e=>{if(!e)return"";for(let t of tz(e)){if(t?.content&&"string"==typeof t.content){let e=t.content.match(/<p>(.*?)<\/p>/i);if(e?.[1])return tP(e[1]);return tP(t.content)}if(t?.type==="paragraph"&&Array.isArray(t?.children)){let e=t.children.map(e=>e?.text||"").join(" ");if(e)return tP(e)}}if("string"==typeof e){let t=e.match(/<p>(.*?)<\/p>/i);return t?.[1]?tP(t[1]):tP(e)}return""})(e.content)):void 0,r=e?(e=>{if(!e)return;let t=e.imgUrl||e.image_url||e.image;if(t)return t$(t);let a=e.content;if(a){for(let e of tz(a))if(e){if("image"===e.type){if("string"==typeof e.content){let t=t$(e.content);if(t)return t}if("object"==typeof e.content&&e.content.src){let t=t$(e.content.src);if(t)return t}if(e.src){let t=t$(e.src);if(t)return t}}if("iframe"===e.type&&e.content)return{type:"iframe",src:e.content,height:e.height};if("html"===e.type&&e.content){let t=e.content.trim();if(/^https?:\/\//i.test(t))return{type:"iframe",src:t,height:e.height};let a=t.match(/<iframe[\s\S]*?<\/iframe>/i);if(a)return{type:"html",html:a[0],height:e.height};let r=t.match(/<img[^>]+src=["']([^"']+)["']/i);if(r?.[1]){let e=t$(r[1]);if(e)return e}return{type:"html",html:t,height:e.height}}if(e.attrs?.src){let t=t$(e.attrs.src,{height:e.attrs.height});if(t)return t}if(e.content&&"string"==typeof e.content){let t=e.content.match(/<iframe[\s\S]*?<\/iframe>/i);if(t)return{type:"html",html:t[0],height:e.height};let a=e.content.match(/src=["']([^"']+)["']/i);if(a?.[1]){let e=t$(a[1]);if(e)return e}let r=t$(e.content);if(r)return r}}if("string"==typeof a){let e=a.trim(),t=e.match(/<iframe[\s\S]*?<\/iframe>/i);if(t)return{type:"html",html:t[0]};if(/^https?:\/\//i.test(e))return t$(e);let r=e.match(/src=["']([^"']+)["']/i);if(r?.[1]){let e=t$(r[1]);if(e)return e}let s=e.match(/<img[^>]+src=["']([^"']+)["']/i);if(s?.[1]){let e=t$(s[1]);if(e)return e}}}})(e):void 0,s=t.image?{type:"image",src:t.image}:void 0,l=r||s,o=l?.type==="image"?l.src:void 0,n=e?.permalink||e?.slug,i=e?.createdAt?new Date(e.createdAt):null,d=i&&!Number.isNaN(i.getTime()),u=d?i.toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"}):void 0;return{id:t.id,tag:((e,t)=>{if(!e)return t;let a=e.toLowerCase();if(tM[a])return tM[a];let r=a.split(/[\s-_]+/).map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" ");return`#${r}`})(e?.topic,t.tag),title:e?.title||t.title,description:a||t.description,image:o,media:l,href:n?`/story/${n}`:t.href,date:u,dateTime:d?i.toISOString():void 0}},tH={id:"hf-live-repo-race",title:"Who ships the most on Hugging Face?",href:"/huggingface/repos",embedSrc:"/hf/orgs/viz.html?animation=1"};function tq(){let e,o,n,u;(0,V.useTemplatedTranslation)();let[c,_]=(0,a.useState)(!1),[g,y]=(0,a.useState)(!1),[b,v]=(0,a.useState)(null),[w,j]=(0,a.useState)(0),{data:k=[]}=(0,i.default)("/api/sos",d.fetcher),{data:I}=(0,i.default)("https://ai-model-leaderboard-default-rtdb.europe-west1.firebasedatabase.app/metadata.json",d.fetcher),N=(0,a.useMemo)(()=>{if(!I?.last_updated)return"December 19, 2025";try{return new Date(I.last_updated.replace(" ","T")).toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"})}catch(e){return"December 19, 2025"}},[I]),A=(0,E.useMediaQuery)("(max-width: 600px)"),S=(e,t)=>{"clickaway"!==t&&y(!1)},L=(0,t.jsx)(a.default.Fragment,{children:(0,t.jsx)(x.IconButton,{size:"small","aria-label":"close",color:"inherit",onClick:S,children:(0,t.jsx)(h.default,{fontSize:"small"})})}),{data:R}=(0,i.default)("/api/cms/get?topic=news&dataStory=false&draft=false&pageSize=1",d.fetcher),{data:O}=(0,i.default)("/api/cms/get?topic=startup&draft=false&pageSize=1",d.fetcher),{data:T}=(0,i.default)("/api/cms/get?topic=papers&dataStory=false&draft=false&pageSize=1",d.fetcher),{data:G}=(0,i.default)("/api/cms/get?topic=huggingface&draft=false&pageSize=50",d.fetcher),B=(0,a.useMemo)(()=>[tH,...(G?.data||[]).filter(e=>!!e.createdAt&&2025===new Date(e.createdAt).getFullYear()).slice(1)],[G]),M=R?.data?.[0],W=O?.data?.[0],P=T?.data?.[0];return(0,a.useMemo)(()=>[tD(M,tW.news),tD(W,tW.startup),tD(P,tW.papers)],[M,W,P]),(0,t.jsxs)("div",{className:Y.default.home,children:[(0,t.jsx)(l.default,{className:"Welcome",title:"Navigate Tomorrow's Intelligence Today"}),c&&(0,t.jsx)(m,{handleClose:()=>_(!1)}),(0,t.jsx)(F.Snackbar,{open:g,autoHideDuration:6e3,onClose:S,message:"Thank y
10ou for registering! We'll send you more details about AIW in the coming weeks.",action:L}),(0,t.jsx)(tG,{}),(0,t.jsx)(s.default,{title:"Artificial Intelligence in Data",layout:"full",subtitle:"",fadeIn:!1,style:{paddingTop:"5rem",paddingBottom:"0.5rem",position:"relative",zIndex:1},titleAction:(0,t.jsx)(C.default,{href:"/story",className:"button",target:"_blank",rel:"noopener noreferrer",children:"See more stories"}),children:(0,t.jsx)(et,{})}),(0,t.jsx)(ts,{}),(0,t.jsx)(s.default,{layout:"full-section",title:"AI Models Ranking",subtitle:"Whoâs leading the global AI race?",backgroundColor:"#ffffff",style:{padding:"2rem 2rem 0.5rem 2rem","--layout-paragraph-gap":"0"},text:[`This ranking compares the worldâs top AI models across three independent leaderboards - LM Arena, Artificial Analysis, and LiveBench - to provide a unified performance snapshot. Our Overall Score aggregates the highest scores per leaderboard, normalizes results across benchmarks, and adjusts for recency to highlight the most improved and capable models as of ${N}.`],children:(0,t.jsx)(e1,{})}),(0,t.jsx)(tF,{}),(0,t.jsx)(U.default,{title:"Make more informed investment decisions",subtitle:"Get a custom, data-driven ecosystem analysis of any technology powered by AI World's global intelligence. Understand where the innovation is happening, who the key players are, where the gaps and opportunities lie.",button:"Request Ecosystem Analysis"}),(0,t.jsx)(s.default,{title:"AI World Index",subtitle:"Who forges ahead and who falls behind?",layout:"full-section",stats:[],text:["The AI World Index reveals which countries and cities are leading the global AI revolution! Beijing dominates AI research, Seoul leads in AI patents, and San Francisco tops AI investment. View data per capita or by countries and see how they compare with cities!"],style:{paddingTop:"2rem",paddingBottom:"1rem"},children:(0,t.jsx)(p.default,{})}),(0,t.jsx)(eY,{}),(0,t.jsx)(tE.default,{}),(0,t.jsx)(U.default,{title:"Develop AI Skills that drive real impact",subtitle:"Join the next AI World Academy cohort for policymakers and business leaders. Learn what AI can and cannot do, identify real use cases and opportunities, integrate AI into workflows, and build AI-first organizations.",button:"Join Next Cohort"}),(0,t.jsx)(eB,{}),(0,t.jsx)(s.default,{layout:"full-section",title:"AI Industries",subtitle:"What are the sectoral use cases?",style:{padding:"2rem 2rem 0.5rem 2rem","--layout-paragraph-gap":"0"},text:["AI has a wide variety of use cases 25 GICS industry groups. As the technology continues to evolve, it promises to unlock new possibilities, streamline operations, and create unprecedented value in virtually every industry. But to thrive and empower humans, AI needs entirely new systems. You can't introduce a new technology in outdated organizational systems. Data from CEPS."],children:(0,t.jsxs)(ed.default,{children:[(0,t.jsx)(ea.default,{circleTexts:["Technology","Software","Semiconductors","Real Estate","Pharmaceuticals","Media","Materials","Insurance","Household Products","Health Care","Food and Beverage","Financial Services","Equity REIT","Energy","Consumer Services","Consumer Staples","Consumer Durables","Consumer Discretionary","Professional Services","Banks","Capital Goods","Automobiles","Utilities","Transportation","Telecommunication"],circleSubtexts:[["Edge computing solutions","Advanced robotics","Automated prototyping"],["Automated code generation","Automated testing","Deployment automation"],["Defect detection and classification","Automated chip design","Predictive maintenance"],["Virtual tours and staging","Due diligence automation","Automated property valuation"],["Drug discovery","Predict patent outcomes","Pharmacovigilance"],["Virtual Reality and Augmented Reality","Content creation and moderation","Deepfake detection"],["Discovery of sustainable materials","Predictive modeling for material properties","Advanced experimental analysis"],["Fraud detection","Automated claim processing","Parametric insurance products"],["Smart home devices","Voice-activated assistants","Smart security systems"],["Remote patient monitoring","Drug discovery and development","Personalized medicine"],["Real-time market analysis","Product development and innovation","Waste reduction initiatives"],["Fraud prevention","Credit risk assessment","Investment decision support"],["Automated property valuation","Tenant analytics","Smart contracts"],["Smart grid management","Smart buildings","Renewable energy forecasting"],["Virtual assistants","Automated support ticket routing","Sentiment analysis on feedback"],["Inventory management optimization","Sales forecasting","Dynamic pricing"],["Virtual fitting rooms","Defect detection","Generative design"],["Product recommendations","Automated inventory management","Virtual search technologies"],["Supply chain optimization","Predictive analytics","Risk asse
10ssment"],["Automated customer service","Fraud detection","Credit scoring"],["Predictive maintenance","Market analysis and forecasting","Energy management of buildings"],["Autonomous driving","Connected vehicles","Smart navigation systems"],["Predictive Maintenance","Demand forecasting","Battery management"],["Autonomous vehicles","Traffic management","Route optimization"],["Network operations monitoring","Traffic flow optimization","Network planning and optimization"]]}),(0,t.jsxs)("div",{style:{display:"flex",width:"100%",alignItems:"center"},children:[(0,t.jsx)("div",{style:{flexShrink:0},children:(0,t.jsx)(f.default,{source:[{label:"CEPS",href:"https://ceps.eu"}]})}),(0,t.jsx)("div",{style:{marginLeft:"auto"},children:(0,t.jsx)(eQ.default,{})})]})]})}),(0,t.jsx)(s.default,{id:"open-source-ai",layout:"full-section",title:"Open Source AI",subtitle:"A view of the development of open AI",text:['Explore questions and visualisations about open source AI through stories on Hugging Face Hub models, datasets, licenses, papers, languages and applications. Explore our <strong>Open Source AI in Review <a href="https://huggingface.co/spaces/huggingface/open-source-ai-year-in-review-2024" target="_blank" rel="noopener noreferrer" style="color:#0066cc;text-decoration:underline">2024</a> & <a href="https://huggingface.co/spaces/aiworld-eu/Open-Source-AI-Year-in-Review-2025" target="_blank" rel="noopener noreferrer" style="color:#0066cc;text-decoration:underline">2025</a></strong>, developed in collaboration with Hugging Face, for a deeper look at how the open-source AI ecosystem has evolved. Featured by <a href="https://huggingface.co/blog/huggingface/state-of-os-hf-spring-2026" target="_blank" rel="noopener noreferrer" style="color:#0066cc;text-decoration:underline">Hugging Face</a> and <a href="https://time.com/article/2026/04/27/time100-companies-ai/" target="_blank" rel="noopener noreferrer" style="color:#0066cc;text-decoration:underline">Time</a>.'],style:{padding:"2rem 2rem 1rem"},children:(0,t.jsx)("div",{className:"container mx-auto py-8",children:(e=A?1:3,n=Math.min(w,(o=Math.ceil(B.length/e))-1),u=B.slice(n*e,n*e+e),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{"data-monitor":"open-source-ai-cards",style:{display:"flex",flexWrap:"wrap",justifyContent:"center",gap:"2rem"},children:u.map((e,a)=>(0,t.jsx)("div",{style:{flex:"1 1 300px",maxWidth:480},children:(0,t.jsx)(ee,{href:e.href||`/story/${e.permalink}`,title:e.title,date:e.createdAt,image_url:e.imgUrl,embedSrc:e.embedSrc,content:e.content,permalink:e.permalink,cardClassName:`card_item${a+1}`,type:a+1})},e.id))}),o>1&&(0,t.jsx)("div",{style:{display:"flex",justifyContent:"center",gap:"0.5rem",marginTop:"1.5rem"},children:Array.from({length:o}).map((e,a)=>(0,t.jsx)("button",{onClick:()=>j(a),style:{width:12,height:12,borderRadius:"50%",border:"none",cursor:"pointer",backgroundColor:n===a?"#2756d3":"#ccc",transition:"background-color 0.2s"},"aria-label":`Page ${a+1}`},a))})]}))})}),(0,t.jsx)(U.default,{title:"Launch your own Observatory",subtitle:"Do you like AI World? Let us build a version for your sector. We develop custom platforms for governments, agencies, and industry leaders to map any technology - from cybersecurity, green tech, health and more.",button:"Book a Meeting"}),(0,t.jsx)(r.default,{})]})}e.s(["default",()=>tq],389929)}]);
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.