1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"80ef2cdf9e309e2aad9550e3141d0d77395a37e3"},e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];if(null!=t)for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:finviz":!0});var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="bdf3faec-9fa5-45dc-8c4b-c3a88bdf8afe",e._sentryDebugIdIdentifier="sentry-dbid-bdf3faec-9fa5-45dc-8c4b-c3a88bdf8afe")}catch(e){}}(),(self.webpackChunkFinvizModern=self.webpackChunkFinvizModern||[]).push([[3978],{7252(e,n,t){t.r(n),t.d(n,{action:()=>o,loader:()=>i});var r=t(39568),a=t(53037);async function i(){const e=(0,r.vi)();if(e)return e;return await a.Pr()??{presets:[]}}async function o(e){const n=await e.request.json();if(!n)return null;try{return await a.ic(n),{isSuccess:!0}}catch(e){const n=e?.body?.message;return{isError:!0,message:n}}}},53037(e,n,t){t.d(n,{DA:()=>f,Pr:()=>s,dn:()=>l,ic:()=>c,vQ:()=>d});t(15724),t(66184),t(14846),t(27458),t(94364),t(36241),t(85151),t(49122),t(75183),t(40520),t(32495),t(72371);var r=t(5868),a=t(85670),i=t(25877);const o="/api/screener-presets";function s(){return(0,r.AT)(o)}function d(e){return(0,r.AT)(o,{method:"POST",body:JSON.stringify(e)},!0)}function c(e){return(0,r.AT)(o,{method:"PUT",body:JSON.stringify(e)},!0)}function f(e,n){return(0,r.AT)(`${o}/${e}`,{method:"PATCH",body:JSON.stringify({url:n})},!0)}function u(e){const n=new Set,t=[];for(const r of e){if(r.type!==i.FJ.Stock)continue;const e=r.ticker.toUpperCase();n.has(e)||(n.add(e),t.push(r.ticker))}return t}async function l(){const e=await(0,r.jp)(),n=e?.portfolios??[];return(await Promise.all(n.map(async e=>{const n=await(0,r.AT)("/api/portfolio_data",{query:{pid:e.id,fields:[a.sj.SelectedPortfolio,a.sj.TickerGroupsOnly]}});return{id:e.id,name:e.name,tickers:u(n?.portfolio??[])}}))).filter(e=>e.tickers.length>0)}}}]); 2//# sourceMappingURL=3978.v1.deb7ac61.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.