PageSourceSearch

https://investinglive.com/_next/static/chunks/724b41fdda5d0ed5.js

js investinglive.com collected 2026-09-25 04:55:10 UTC 13,635 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,911558,e=>{e.v({articleList__itemWrapper:"ArticleList-module-scss-module__Krf6vq__articleList__itemWrapper",articleList__wrapper:"ArticleList-module-scss-module__Krf6vq__articleList__wrapper"})},816538,e=>{"use strict";var t=e.i(517495),l=e.i(787217),i=e.i(911558);function n(e,t){return"function"==typeof e?e(t):e??null}function r({articles:e,className:r,itemClassName:a,children:o,renderBanner:s,renderVideo:u,renderTopBrokersComparisons:d,getKey:c,listRef:m}){let p=c??((e,t)=>e.slug??`article-${t}`),g=[i.default.articleList__wrapper,r??""].filter(Boolean).join(" "),f=[i.default.articleList__itemWrapper,a??""].filter(Boolean).join(" ");return(0,t.jsx)("div",{ref:m,className:g,children:(0,t.jsx)(l.TransitionList,{items:e,getKey:p,component:null,itemAs:"div",itemClassName:f,renderItem:(e,l)=>{let i={article:e,position:l};return(0,t.jsxs)(t.Fragment,{children:[n(o,i),n(s,i),n(u,i),n(d,i)]})}})})}e.s(["ArticleList",()=>r])},67127,732680,e=>{"use strict";var t=e.i(904262),l=e.i(390669),i=e.i(884348),n=e.i(33135),r=e.i(548435),a=e.i(730010),o=e.i(503547);let s={IMAGE:"image",VIDEO:"video"};function u(e){if(!e)return null;try{let t=JSON.parse(e);if(Array.isArray(t))return t.some(e=>"string"==typeof e&&""!==e.trim())?e:null}catch{}let t=e.replace(/<[^>]*>/g,"").trim();return t?JSON.stringify([t]):null}function d(e,t){let l=(0,a.resolveContentPublicPath)({locale:t,localizedPath:(0,a.getEntityLocalizedPathMap)(e),path:e?.path||e?.Path||null});return l?l.replace(/^\//,""):e?.path||e?.Path||""}function c(e){return e?e.startsWith("/")?e:`/${e}`:"#"}function m(e){return e&&e.split("/").filter(Boolean).pop()||null}function p(e){return e?.featuredMedia?.trim()?.toLowerCase()!==s.IMAGE&&(s.VIDEO,!!e?.featuredVideo?.trim())}function g(e){if(!p(e))return null;let l=e?.featuredVideo?.trim(),n=l?(0,t.getYoutubeVideoId)(l):null;if(!n)return null;let r=e?.featuredImage,a=null;if("string"==typeof r&&r.trim())a=r.trim();else{let e=r?.files?.[0];a=e?.url||e?.path||null}return{externalId:n,ExternalId:n,provider:"youtube",...a?{thumbnail:(0,i.getMediaUrl)(a)}:{}}}function f(e){return("string"==typeof e?e.trim():"")||null}function h(e){return e&&e.split("/").filter(Boolean).pop()||null}function _(e){if(!e||"object"!=typeof e)return null;let t=e.Name??e.name??null;if(!t)return null;let l=e.LinkedCompany??e.linkedCompany??null,i=l?.Slug??l?.slug??null,n=l?.CategorySlug??l?.categorySlug??null;return{name:String(t),linkedCompany:i&&n?{slug:i,categorySlug:n}:null}}function y(e,t={}){var n;let s,_,b,A=d(e,t.locale),{author:T,authorName:S,authorHref:v}=(n=t.locale,s=e?.articleAuthor?.users?.[0]?.userDetails,_=[s?.firstname||"",s?.lastname||""].filter(Boolean).join(" ")||null,b=s?.authorPageLink||null,{author:_&&b?{name:_,slug:b}:null,authorName:_,authorHref:b?(0,r.generateAuthorPath)({slug:b},{locale:n}):null}),C=function(e){if(p(e))return null;let t=e?.featuredImage;if("string"==typeof t&&t.trim())return{url:(0,i.getMediaUrl)(t.trim())};let l=t?.files?.[0]||null,n=l?.url||l?.path||null;if(!n)return null;let r=l?.mediaText||void 0;return r?{url:(0,i.getMediaUrl)(n),AltText:r}:{url:(0,i.getMediaUrl)(n)}}(e),E=g(e),N=t.summaryFallback?e?.briefSummary?.html||e?.summary?.html||null:e?.briefSummary?.html||null;return{title:e?.displayText||e?.DisplayText||"Untitled",articleHref:c(A),slug:m(A),isMigrated:!1,category:function(e){let t=e?.category??e?.Category,l=t?.termContentItems??t?.TermContentItems,i=Array.isArray(l)?l[0]:null;if(i&&"object"==typeof i){let e=i.displayText??i.DisplayText??null,t=i.path??i.Path??null,l=(0,o.toPublicCategoryPath)(t?String(t):null),n=(l?m(String(l).replace(/^\/+/,"")):null)||(e?String(e).toLowerCase().replace(/\s+/g,"-"):null);if(n)return{name:e?String(e):n,slug:n,path:l,localizedPath:(0,a.getEntityLocalizedPathMap)(i)}}let{segments:n}=(0,a.splitPublicPathLocalePrefix)(d(e));if(n.length<2||n.includes("!"))return null;let r=n[0];return{name:r,slug:r}}(e),author:T,authorName:S,authorHref:v,featuredImage:C,thumbnailImage:C,featuredVideo:E,tldr:u(N),expandedContent:f(e?.expandedContent),sponsorshipCompany:function(e){let t=e?.company?.contentItems?.[0]??e?.Company?.ContentItems?.[0]??null;if(t&&"object"==typeof t){let e=t.displayText??t.DisplayText??null,l=h(t.path??t.Path),i=h(t.category?.contentItems?.[0]?.path??t.Category?.ContentItems?.[0]?.Path??null);if(e)return{name:String(e),linkedCompany:l&&i?{slug:l,categorySlug:i}:null}}return e?.isSponsored?{name:"Sponsored",linkedCompany:null}:null}(e),publishedOn:(0,l.resolveArticlePublishedDate)(e?.publication?.publicationDateUtc,e?.publishedUtc,e?.createdUtc)}}function b(e){return/^[a-z0-9]{26}$/.test(e.trim())}function A(e,t={}){let a=function(e){let t=e.category,l=t?.name?.trim()??"",i=t?.slug?.trim()??"",r=function(e){if(!e)return null;
1let t=e.replace(/^\/+|\/+$/g,"").split("/").filter(Boolean);return t.length>=3&&"!"===t[1]||t.length>=2?t[0]??null:null}(e.slug),a=(i&&!b(i)?i:null)||r||null;return a||l?a?{name:(l&&!b(l)?l:null)||((0,n.findCategorySlugByArticleCategorySlug)(a)??a).replace(/([a-z0-9])([A-Z])/g,"$1 $2").replace(/-/g," ").split(/\s+/).filter(Boolean).map(e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()).join(" "),slug:a}:l?{name:l,slug:i||l}:null:null}(e),o=e.author?.name&&e.author?.slug?{name:e.author.name,slug:e.author.slug}:null,s=g(e),d=s?null:function(e){if(!e)return null;let t="string"==typeof e?e:"object"==typeof e&&null!==e&&("url"in e||"path"in e)&&String(e.url||e.path||"")||null;if(!t)return null;let l="object"==typeof e&&null!==e&&("mediaText"in e||"altText"in e)&&String(e.mediaText||e.altText||"")||void 0;return l?{url:(0,i.getMediaUrl)(t),AltText:l}:{url:(0,i.getMediaUrl)(t)}}(e.featuredImage),m=!!e.isMigrated,p=e.slug??null;return{title:e.title||"Untitled",articleHref:p?(0,r.generateArticlePath)(p,a?.slug??null,c(p),m,{locale:t.locale}):"#",slug:p,isMigrated:m,category:a,author:o,authorName:o?.name??null,authorHref:o?.slug?(0,r.generateAuthorPath)({slug:o.slug},{locale:t.locale}):null,featuredImage:d,thumbnailImage:d,featuredVideo:s,tldr:u(e.tldr??null),expandedContent:f(e.expandedContent),sponsorshipCompany:_(e.sponsorshipCompany),publishedOn:(0,l.resolveArticlePublishedDate)(e.publicationPart?.publicationDateUtc?.value,e.publishedUtc,e.createdUtc)}}e.s(["FEATURED_MEDIA",0,s],732680),e.s(["buildSponsorshipFromRestField",()=>_,"getArticlePath",()=>d,"mapArticleToSlotProps",()=>y,"mapRestArticleToSlotProps",()=>A,"normalizeExpandedContent",()=>f,"toArticleSlug",()=>m],67127)},366329,e=>{"use strict";var t=e.i(788206);e.i(322177);var l=e.i(372637);e.i(729040);var i=e.i(757640),n=e.i(781087);function r({enabled:e=!0,matches:r,onRefresh:a}){let o=(0,n.useAppSelector)(i.selectLastArticleChanged),s=(0,t.useRef)(void 0);void 0===s.current&&(s.current=o?.occurredUtc??null);let u=(0,t.useRef)(r),d=(0,t.useRef)(a);u.current=r,d.current=a,(0,t.useEffect)(()=>{if(!e||!o||s.current===o.occurredUtc)return;let t=Date.parse(o.occurredUtc);if(Number.isFinite(t)&&Date.now()-t>l.CONTENT_UPDATE_MAX_MESSAGE_AGE_MS){s.current=o.occurredUtc;return}if(!u.current(o))return;s.current=o.occurredUtc;let i=l.CONTENT_UPDATE_REFRESH_DELAY_MS+Math.round(Math.random()*l.CONTENT_UPDATE_REFRESH_JITTER_MS),n=window.setTimeout(()=>{d.current(o)},i);return()=>{window.clearTimeout(n)}},[e,o])}e.s(["useContentUpdateRefresh",()=>r])},150014,e=>{e.v({article:"HomepageMoreNewsSection-module-scss-module__ykUMZq__article",banner:"HomepageMoreNewsSection-module-scss-module__ykUMZq__banner",container:"HomepageMoreNewsSection-module-scss-module__ykUMZq__container",goToLiveFeed:"HomepageMoreNewsSection-module-scss-module__ykUMZq__goToLiveFeed",goToLiveFeedText:"HomepageMoreNewsSection-module-scss-module__ykUMZq__goToLiveFeedText",item:"HomepageMoreNewsSection-module-scss-module__ykUMZq__item",textViewMore:"HomepageMoreNewsSection-module-scss-module__ykUMZq__textViewMore",textWrapper:"HomepageMoreNewsSection-module-scss-module__ykUMZq__textWrapper",video:"HomepageMoreNewsSection-module-scss-module__ykUMZq__video",wrapper:"HomepageMoreNewsSection-module-scss-module__ykUMZq__wrapper"})},704957,e=>{e.v({sidebar:"HomepageMoreNewsSidebarWidget-module-scss-module__Cd0OGa__sidebar",sidebarItem:"HomepageMoreNewsSidebarWidget-module-scss-module__Cd0OGa__sidebarItem"})},919491,e=>{"use strict";var t=e.i(517495),l=e.i(788206),i=e.i(583979),n=e.i(867740),r=e.i(130501),a=e.i(816538),o=e.i(454114),s=e.i(643874),u=e.i(288908),d=e.i(777571),c=e.i(96476),m=e.i(731602),p=e.i(767926),g=e.i(146902),f=e.i(611644),h=e.i(807605),_=e.i(906866),y=e.i(150014);function b({articles:e,videoSettings:l=null,videoPosition:i=5,mobileBanner:b=null,sidebar:A=null,liveFeedHref:T}){let S=(0,f.useLinkConfig)(),v=T||S.generateLiveFeedPath?.()||n.ROUTE.LIVE_FEED,C=(0,h.useOptionalTranslation)("common.moreNews",_.TRANSLATION_FALLBACK.MORE_NEWS),E=(0,h.useOptionalTranslation)("common.goToLiveFeed",_.TRANSLATION_FALLBACK.GO_TO_LIVE_FEED),N=b?.placement??3;
1return(0,t.jsxs)("section",{"aria-labelledby":"homepage-more-news-heading",className:y.default.wrapper,children:[(0,t.jsxs)("div",{className:y.default.container,children:[(0,t.jsxs)("div",{className:y.default.textWrapper,children:[(0,t.jsx)("h2",{id:"homepage-more-news-heading",className:y.default.text,children:C}),(0,t.jsx)(g.Visibility,{hide:!0,on:[r.breakpointsValues.mobile],keepOnClient:!1,children:(0,t.jsx)(p.ViewMore,{href:v,viewMoreStyle:p.VIEW_MORE_STYLE.LINK,className:y.default.textViewMore,icon:d.ICON.ARROW_STICK_RIGHT_PURPLE})})]}),(0,t.jsx)(a.ArticleList,{articles:e,itemClassName:y.default.item,renderBanner:({position:e})=>b&&e+1===N?(0,t.jsx)(g.Visibility,{show:!0,on:[r.breakpointsValues.mobile],keepOnClient:!1,children:(0,t.jsx)(s.Banner,{bannerSettings:b.settings,bannerTargeting:b.targeting,wrappedInCard:b.wrappedInCard,noAdvertisementLabel:b.noAdvertisementLabel,collapseIfEmpty:b.collapseIfEmpty,className:y.default.banner})}):null,renderVideo:({position:e})=>l&&e+1===i?(0,t.jsx)("div",{className:y.default.video,children:(0,t.jsx)(m.VideoSlot,{videoSettings:l})}):null,children:({article:e})=>(0,t.jsx)(o.ArticleSlot,{...e,className:y.default.article})}),(0,t.jsx)(g.Visibility,{show:!0,on:[r.breakpointsValues.mobile],keepOnClient:!1,children:(0,t.jsxs)(c.LinkComponent,{to:v,className:y.default.goToLiveFeed,children:[(0,t.jsx)(u.Icon,{icon:d.ICON.ARROW_STICK_RIGHT_PURPLE,width:16,height:16,original:!0}),(0,t.jsx)("b",{className:`${y.default.goToLiveFeedText} text-secondary-button bold`,children:E})]})})]}),A]})}var A=e.i(427228),T=e.i(864773),S=e.i(366329);e.i(322177);var v=e.i(90676),C=e.i(818013),E=e.i(372637),N=e.i(904262),M=e.i(67127),x=e.i(115082),I=e.i(522208),w=e.i(704957);function L({widgets:e=[]}){return 0===e.length?null:(0,t.jsx)(g.Visibility,{hide:!0,on:[r.breakpointsValues.mobile],keepOnClient:!1,children:(0,t.jsx)("aside",{className:w.default.sidebar,children:e.map((e,l)=>{let i=(0,x.getWidgetContentType)(e)??"unknown",n=e?.ContentItemId??e?.contentItemId??`${i}-${l}`;return(0,t.jsx)("div",{className:w.default.sidebarItem,children:(0,t.jsx)(I.WidgetRenderer,{widget:e,index:l})},n)})})})}function P({widget:e}){let r=(0,A.useSharedRuntimeConfig)(),a=(0,i.useLocale)(),o=r.getRouteName?.()??null,s=e?.AdditionalData??e?.additionalData??{},u=Number(s?.skip)>=0?Number(s.skip):E.HOMEPAGE_TOP_ARTICLES_COUNT,d=Number(s?.first)>0?Number(s.first):E.HOMEPAGE_MORE_NEWS_COUNT,[c,m]=(0,l.useState)(e);(0,l.useEffect)(()=>{m(e)},[e]);let{articles:p,videoSettings:g,videoPosition:f,sidebarWidgets:h,banner:_,liveFeedHref:y}=function(e,t){let l,i,n,r,a,o=(l=e?.additionalData??e?.AdditionalData,Array.isArray(l?.articles)?l.articles:[]).filter(e=>e&&"object"==typeof e).map((e,l)=>{let i=(0,M.mapArticleToSlotProps)(e,{locale:t}),n=(0,M.getArticlePath)(e,t);return{id:e?.contentItemId??`more-news-${l}`,...i,slug:(0,M.toArticleSlug)(n)??void 0}}),{videoSettings:s,videoPosition:u}=function(e){let t=e?.additionalData??e?.AdditionalData,l=t?.video,i=l?.rawAddress??null,n=l?.embeddedAddress??null;if(!l||!i&&!n)return{videoSettings:null,videoPosition:5};let r=l?.title??void 0,a=(0,N.getYoutubeVideoId)(i??n);return{videoSettings:{Title:r,IsSponsored:!!l?.isSponsored,Video:{ExternalId:a??void 0,EmbeddedAddress:n??void 0,RawAddress:i??void 0,Title:r}},videoPosition:l?.placement??5}}(e);return{articles:o,videoSettings:s,videoPosition:u,sidebarWidgets:(i=e?.additionalData??e?.AdditionalData,Array.isArray(i?.sidebar)?i.sidebar:[]),banner:(n=e?.additionalData??e?.AdditionalData,r=n?.banner,r?.settings?{settings:r.settings,wrappedInCard:!!r.wrappedInCard,noAdvertisementLabel:!!r.noAdvertisementLabel,collapseIfEmpty:!!r.collapseIfEmpty,placement:"number"==typeof r.placement?r.placement:null}:null),liveFeedHref:(a=e?.additionalData??e?.AdditionalData,"string"==typeof a?.liveFeedPath?a.liveFeedPath:null)}}(c,a),x=(0,l.useMemo)(()=>_?{..._,targeting:o?T.TARGETING_SETTINGS_BY_ROUTE_NAME[o]??null:null}:null,[_,o]),I=(0,l.useCallback)(async()=>{let e=await (0,C.fetchHomepageMoreNewsArticles)(u,d,a);0!==e.length&&m(t=>({...t,AdditionalData:{...t?.AdditionalData??t?.additionalData??{},articles:e}}))},[d,a,u]),w=(0,l.useMemo)(()=>({routeName:o,widgetKind:"more-news",articleIds:p.map(e=>String(e.id))}),[p,o]);return((0,S.useContentUpdateRefresh)({enabled:o===n.ROUTE_NAME.HOMEPAGE,matches:e=>(0,v.shouldRefreshHomepageWidget)(e,w),onRefresh:()=>I()}),0===p.length)?null:(0,t.jsx)(b,{articles:p,videoSettings:g,videoPosition:f,mobileBanner:x,liveFeedHref:y,sidebar:(0,t.jsx)(L,{widgets:h})})}e.s(["HomepageMoreNewsWidget",()=>P],919491)},333061,e=>{e.n(e.i(919491))}]);

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.