PageSourceSearch

https://horizon-management-portal-4107.taskade.app/chunks/chunk-5ZJF3MMM.js

js horizon-management-portal-4107.taskade.app collected 2026-10-03 15:01:51 UTC 1,058 bytes, 2 lines download raw bytes

1var __IMPORT_META_ENV={};var __PROCESS_ENV={NODE_ENV:"production"};
2var s="horizon-deleted-orders";function r(){try{let e=localStorage.getItem(s);return e?JSON.parse(e):[]}catch{return[]}}function i(e){try{localStorage.setItem(s,JSON.stringify(e))}catch{}}function c(e){let n=Date.now()-6048e5;return e.filter(o=>o.deletedAt>n)}function l(e,n,o){let t=c(r());t.some(d=>d.id===e)||(t.push({id:e,externalRef:n,channelId:o,deletedAt:Date.now()}),i(t))}function a(e){let n=c(r()),o=new Set(n.map(t=>t.id));for(let t of e)o.has(t.id)||n.push({id:t.id,externalRef:t.externalRef,channelId:t.channelId,deletedAt:Date.now()});i(n)}function f(e){return r().some(o=>o.id===e)}function u(e,n){return r().some(t=>t.externalRef===e&&(!n||!t.channelId||t.channelId===n))}function g(e){let n=r();if(n.length===0)return e;let o=new Set(n.map(t=>t.id));return e.filter(t=>!o.has(t.id))}function m(){return c(r()).length}function T(e){let o=r().filter(t=>t.channelId!==e);i(o)}function h(){localStorage.removeItem(s)}export{l as a,a as b,f as c,u as d,g as e,m as f,T as g,h};

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.