PageSourceSearch

https://www.stockopedia.com/marketing/_next/static/chunks/1025-06853e3c82b95b81.js

js stockopedia.com collected 2026-09-25 14:58:20 UTC 9,107 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="2e46b98d-043d-4255-af01-3011ba61ca06",e._sentryDebugIdIdentifier="sentry-dbid-2e46b98d-043d-4255-af01-3011ba61ca06")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1025],{2551:(e,t,o)=>{o.d(t,{EU:()=>d,SL:()=>a,T3:()=>s,W6:()=>i,o3:()=>r,qT:()=>l});var n=o(87358);let i=n.env.NEXT_PUBLIC_URL||"https://www.stockopedia.com",r=`${n.env.APP_URL}/screens/create`,s=`${n.env.APP_URL}/portfolios?create=1`,a=`${n.env.APP_URL}/content/create`,d="/auth/register",l="/a"},3638:(e,t,o)=>{o.d(t,{$:()=>l});var n=o(12115),i=o(15384),r=o.n(i);class s{emit(e){this.callback(e)}constructor(e){this.callback=e}}let a={hideDelay:6e3};class d{add(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=r()(),i={content:e,id:o,nodeRef:(0,n.createRef)(),config:{...a,...t}};this.schedule(i),this.store.add(i),this.emit()}remove(e){this.clearSchedule(e),this.store.has(e)&&(this.store.delete(e),this.emit())}subscribe(e){let t=new s(e);return this.subscriptions.add(t),t}unsubscribe(e){this.subscriptions.delete(e)}schedule(e){let{hideDelay:t}=e.config;if(t){let o=setTimeout(()=>this.remove(e),t);this.snackbarSchedule.set(e,o)}}clearSchedule(e){let t=this.snackbarSchedule.get(e);t&&(clearTimeout(t),this.snackbarSchedule.delete(e))}emit(){let e=Array.from(this.store.values());this.subscriptions.forEach(t=>t.emit(e))}constructor(){this.store=new Set,this.subscriptions=new Set,this.snackbarSchedule=new Map}}let l=(0,n.createContext)(new d)},14926:(e,t,o)=>{o.d(t,{r:()=>i});var n=o(15299);let i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n.f.trackMetric(e,o,{...t,url:window.location.href}).catch(()=>null)}},15299:(e,t,o)=>{o.d(t,{f:()=>T});var n=o(76378),i=o(73499);let r=(e,t)=>{if(!("user"in e)){let{id:o,displayName:n,image:i}=e.author;return{id:o,displayName:n,image:i,profileUrl:t(n,o)}}let{id:o,display_name:n,image:i,rank:r,registration_date:s}=e.user;return{id:o,displayName:n,image:i,profileUrl:t(n,o),...void 0!==r&&{rank:r},...void 0!==s&&{registrationDate:s},...void 0!==e.user.contributions&&{contributions:e.user.contributions}}},s=(e,t)=>({id:e.id,author:r(e,t),body:e.body,createdAt:(e=>("user"in e?e.published_at??e.created_at:e.publishedAt)??"")(e),likeCount:(e=>"user"in e?e.like_count:e.numberOfLikes)(e),replies:(e.comments??[]).map(e=>s(e,t)),...void 0!==e.title&&{title:e.title},...void 0!==e.moderated&&{moderated:e.moderated},..."user"in e&&((e,t)=>({...void 0!==e.user_liked&&{isLiked:e.user_liked},...void 0!==e.is_read&&{isRead:e.is_read},...void 0!==e.comment_count&&{replyCount:e.comment_count},...(e=>e?.type==="comment"&&"user"in e)(e.parent)&&{parent:((e,t)=>{let{id:o,displayName:n}=r(e,t);return{id:e.id,author:{id:o,displayName:n}}})(e.parent,t)},...void 0!==e.parent_id&&{parentId:e.parent_id}}))(e,t)});var a=o(97072),d=o(40702);let l=e=>{let t=e?.content;return t?t.data:e},c=e=>{let{id:t,reason:o,user:n}=e;return{id:t,reason:o,user:{id:n.id,displayName:n.display_name}}},u=e=>{let t=l(e)??[];return{reports:t.map(c),totalResults:e.paging?.totalResults??t.length}},h="Your changes could not be saved.",m=async e=>{if(401===e.status)return(0,i.nQ)(n.hG.UNAUTHENTICATED);let t=await e.json().catch(()=>null);if(e.ok)return{ok:!0,value:t};if(t?.errors?.type==="spam")return(0,i.nQ)(n.hG.SPAM);let o=t?.errors?.[0]?.message;return"string"==typeof o?(0,i.nQ)(n.hG.REJECTED,o):(0,i.nQ)(n.hG.UNKNOWN_ERROR)},p=(e,t)=>fetch(`/a/api/v1${e}`,t).then(e=>m(e)).catch(()=>(0,i.nQ)(n.hG.UNKNOWN_ERROR)),_=function(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"POST";return p(e,{method:o,headers:{"Content-Type":"application/json",Accept:"application/json"},...void 0!==t&&{body:JSON.stringify(t)}})},f=(e,t)=>e.ok?{ok:!0,value:t(e.value)}:e,g=e=>f(e,()=>void 0),v=e=>s(l(e),a.WB),T={postNodeComment:(e,t)=>
1_(`/nodes/${e}/comments`,{comment:t}).then(e=>f(e,v)),putNodeComment:(e,t,o)=>_(`/nodes/${e}/comments/${t}`,{comment:o},"PUT").then(e=>e.ok&&!e.value?(0,i.nQ)(n.hG.REJECTED,h):f(e,v)),voteNode:(e,t)=>_(`/nodes/${e}/vote/${+!!t}`).then(g),markNodeViewed:e=>_(`/nodes/user_viewed?ids=${e}`).then(g),getUserSetting:e=>p(`/settings/${e}`).then(e=>f(e,e=>l(e)?.values?.[0]??null)),saveUserSetting:(e,t)=>p(`/settings/${e}`,{method:"PUT",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({values:[t]}),keepalive:!0}).then(g),getNodeReportTypes:()=>p("/nodereporttypes").then(e=>f(e,e=>l(e)??[])),getNodeReports:e=>p(`/nodes/${e}/reports`).then(e=>f(e,u)),flagNode:(e,t)=>_(`/nodes/${e}/flag`,{nodereport:{type:t}}).then(g),unflagNode:e=>_(`/nodes/${e}/unflag`,void 0,"DELETE").then(g),moderateNode:(e,t)=>_(`/nodes/${e}/moderate/${t}`).then(g),setNodeLocked:(e,t)=>_(`/nodes/${e}/${t?"lock":"unlock"}`,void 0,"PUT").then(g),deleteNode:e=>_(`/nodes/${e}`,void 0,"DELETE").then(g),getPortfolios:()=>p("/portfolios").then(e=>f(e,e=>(0,d.CK)(l(e)??[]))),createPortfolio:e=>_("/portfolios",{id:null,name:e,show_closed_position:!1}).then(e=>e.ok&&!e.value?(0,i.nQ)(n.hG.REJECTED,h):f(e,e=>(0,d.zI)(l(e)))),addPortfolioPositions:(e,t)=>_(`/portfolios/${e}/positions`,t.map(e=>({security:{id:e}}))).then(g),getSubscriptionAccountUrl:()=>p("/subscription/account").then(e=>f(e,e=>l(e)?.url??null)),getHoldingsCounts:e=>p(`/holdings/counts/${e}`).then(e=>f(e,e=>(0,d.HH)(l(e)??[]))),trackMetric:function(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return p(`/metric-log/${e}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({entities:t,properties:o,traits:{}}),keepalive:!0}).then(g)}}},40702:(e,t,o)=>{o.d(t,{CK:()=>a,HH:()=>d,QV:()=>s,zI:()=>r});var n=o(61927),i=o.n(n);let r=e=>({id:e.id,name:e.name,sequence:e.sequence??null}),s=e=>i()(e,["sequence","name"]),a=e=>s(e.map(r)),d=e=>Object.fromEntries(e.map(e=>{let{portfolio_id:t,count:o}=e;return[t,o]}))},51890:(e,t,o)=>{o.d(t,{J:()=>n,w:()=>i});let n="now",i=e=>{let t=new Date(e);if(Number.isNaN(t.getTime()))return"";let o=e=>new Intl.DateTimeFormat("en-US",{hour:"numeric",minute:"2-digit",hour12:!0}).format(e).toLowerCase(),n=(e,t)=>new Date(e.getFullYear(),e.getMonth(),e.getDate()+t).getTime(),i=new Date,r=Math.trunc((i.getTime()-t.getTime())/6e4),s=Math.round((n(i,0)-n(t,0))/864e5),a=t.getTime()>=n(i,-i.getDay())&&t.getTime()<n(i,7-i.getDay());return r>=0&&r<5?"now":r>=0&&r<60?new Intl.RelativeTimeFormat("en",{numeric:"always"}).format(-r,"minute"):0===s?o(t):1===s?`Yesterday ${o(t)}`:new Intl.DateTimeFormat("en-US",{weekday:a?"short":void 0,month:"short",day:"numeric",year:"numeric"}).format(t)}},73499:(e,t,o)=>{o.d(t,{nQ:()=>n,rX:()=>i});let n=(e,t)=>({ok:!1,error:{code:e,...void 0!==t&&{message:t}}}),i=(e,t)=>(e.ok&&t(),e)},75091:(e,t,o)=>{o.d(t,{B4:()=>r,X4:()=>s,aX:()=>i}),o(62692),o(90198);var n=o(2551);let i=(e,t)=>1===t?e:e+"s",r=e=>e.toLocaleString("en-GB"),s=e=>`${n.qT}/${e.replace(/^\/+/,"")}`},76378:(e,t,o)=>{o.d(t,{$Z:()=>n,P0:()=>i,hG:()=>s,kh:()=>r});let n={App:"app",CommentsView:"app_cms"},i="files[]";!function(e){e.CONTRIBUTOR_RANK_STAFF="staff",e.MODERATION_TYPE_APPROVAL="approval"}(r||(r={}));var r,s=function(e){return e.UNKNOWN_ERROR="UNKNOWN_ERROR",e.CLUSTER_ONLY_ENDPOINT="CLUSTER_ONLY_ENDPOINT",e.UNAUTHENTICATED="UNAUTHENTICATED",e.SPAM="SPAM",e.REJECTED="REJECTED",e.PAYMENT_REQUIRED="PAYMENT_REQUIRED",e}({})},86479:(e,t,o)=>{o.d(t,{$y:()=>c,BX:()=>u,Cp:()=>s,Fe:()=>l,PJ:()=>a,RL:()=>_,aB:()=>h,dF:()=>r,eT:()=>n,eu:()=>d,iC:()=>m,p0:()=>p,re:()=>i});let n={ViewedPlansPage:"Viewed Plans Page",ViewedPlansCustomisation:"Viewed Plans Customisation"},i={FocusMode:"focus_mode",FocusPicker:"focus_picker"},r={InitiatedAddPaymentMethod:"initiated_add_payment_method"},s={Comment:"comment",Discuss:"discuss"},a={FlaggedContent:"flagged_content",ModeratedContent:"moderated_content",LockedArticle:"locked_article",Liked:"liked",RepliedToArticle:"replied_to_article",RepliedToComment:"replied_to_comment",ViewedNode:"viewed_node",ViewedComment:"viewed_comment",ChangedCommentsView:"changed_comments_view",FilteredComments:"filtered_comments"},d={StockreportsChart:"stockreports_chart",FullSizeChart:"full_size_chart",Other:"other"},l={Liked:"on",Unliked:"off"},c={Comment:"comment",ArticleTop:"article_top"},u={Replies:"replies",Sort:"sort"},h={AddedStock:"portfolio_added_stock"},m={Minireport:"MiniReport Add"},p={UsedSearchShortcut:"used_search_shortcut",AppliedFocusMode:"applied_focus_mode",ShowSubnav:"show_subnav",Hide
1Subnav:"hide_subnav",ClickedBreadcrumb:"clicked_breadcrumb"},_={TypeAnywhere:"Type Anywhere",SlashKey:"Slash Key"}},95412:(e,t,o)=>{o.d(t,{m:()=>n});var n=function(e){return e.Positive="positive",e.Negative="negative",e}({})},97072:(e,t,o)=>{o.d(t,{WB:()=>s});var n=o(58715),i=o.n(n),r=o(75091);function s(e,t){return(0,r.X4)(`/contributors/${i()(e)}-${t}`)}}}]);

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.