PageSourceSearch

https://leanpub.com/assets/event_date_picker_default-Dqf1MZ1r.js

js leanpub.com collected 2026-09-24 08:27:06 UTC 1,030 bytes, 5 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="820237cd-3c16-5306-901a-e51e5146aa2b")}catch(e){}}();
3(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"13978386027a4a2683cfa43e79422df47742043f"}}catch{}})();const r=(t,e)=>Date.parse(t.startsAt)-Date.parse(e.startsAt);function d(t){return[...t].sort(r)}function f(t){var o;const e=d(t);return((o=e.find(s=>!s.soldOut)??e[0])==null?void 0:o.id)??null}function l(t){return t.length>0&&t.every(e=>e.soldOut)}const a=2;function u(t,e=a){return d(t).filter(n=>!n.soldOut).slice(0,e)}function i(t,e){const n=e.filter(o=>!t.some(s=>s.id===o.id));return n.length>0?d([...t,...n]):[...t]}export{l as a,f as d,u as n,d as s,i as w};
4
5//# debugId=820237cd-3c16-5306-901a-e51e5146aa2b

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.