Files
klz-cables.com/.pnpm-store/v10/files/d1/822128cbacb2697e7aadbe6d6ccbab5985aa38ab410b4a82e36ab027fc9057dc8dfacd01469ae3699342676a117d00abe673a6313dd8a466fe12a78b7b52e9
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

2 lines
507 B
Plaintext

const e=(e,t=1e3)=>new Promise((n,r)=>{let i=e=>{try{let t=JSON.parse(e.data);typeof t==`object`&&!Array.isArray(t)&&t!==null?(o(),n(t)):(o(),a())}catch{o(),n(e)}},a=()=>r(),o=()=>{clearTimeout(s),e.removeEventListener(`message`,i),e.removeEventListener(`error`,a),e.removeEventListener(`close`,a)};e.addEventListener(`message`,i),e.addEventListener(`error`,a),e.addEventListener(`close`,a);let s=setTimeout(()=>{o(),n(void 0)},t)});export{e as messageCallback};
//# sourceMappingURL=message-callback.js.map