PageSourceSearch

https://vizops360.ai/assets/useGlobalFilter-BkOUrZeG.js

js vizops360.ai collected 2026-10-05 13:50:34 UTC 898 bytes, 1 lines download raw bytes

1import{r as l}from"./index-CpeGhXo5.js";import{u as N}from"./filters-DQMtevU2.js";import{M}from"./mock-Ci00pIzy.js";import{n as d}from"./financeMappers-CUv1G2pV.js";const y=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function g(s,o="date"){const t=N(),c=new Date().getFullYear(),m=l.useMemo(()=>t.months.length>0?t.months:[...M],[t.months]);return l.useMemo(()=>s.filter(e=>{if(t.company!=="All Companies"&&e.company&&e.company!==t.company||t.department!=="All Departments"&&e.department&&e.department!==t.department||t.team!=="All Teams"&&e.team&&e.team!==t.team)return!1;const i=e[o];if(i){const r=d(i);if(r&&r.includes("-")){const u=r.split("-"),a=parseInt(u[0],10),n=parseInt(u[1],10)-1;if(!isNaN(a)&&!isNaN(n)&&n>=0&&n<12){const p=n>=3?a:a-1;if(t.year&&p!==Number(t.year))return!1;const f=y[n];if(!m.includes(f))return!1}}}return!0}),[s,t,m,o,c])}export{g as u};

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.