PageSourceSearch

https://cdn.forbes.ru/_nuxt/f5CUk_Od.js

js forbes.ru collected 2026-10-01 06:27:09 UTC 954 bytes, 1 lines download raw bytes

1import{bj as c,cz as g}from"./EBpBARSw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="41176a34-03b4-4123-9567-5d01eb419d3d",e._sentryDebugIdIdentifier="sentry-dbid-41176a34-03b4-4123-9567-5d01eb419d3d")}catch{}})();function w(e={}){const r=Object.values(e);if(!r?.length)throw new Error("[getBannersVisibility] Передан пустой объект");let o=0;for(const n of r)n&&(o+=n);if(o!==100)throw new Error("[getBannersVisibility] Сумма всех значений должна быть равна 100");const i=c(),d=g(1,100),u=Object.entries(e)?.sort(([,n=0],[,t=0])=>n-t);let s=1;return u.reduce((n,[t,a=0])=>{const f=()=>{if(i.query?.rotatingBanner)return i.query.rotatingBanner===t;const l=a+s-1,b=d>=s&&d<=l;return s+=a,b};return n[t]=f(),n},{})}export{w as g};

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.