1import{_t as e}from"./BY-DJIbu.js";import{n as t}from"./B2IhUzEO.js";var n=t(`notifications`,()=>{let t=5e3,n={live:`assertive`,timeout:t},r=e(``),i=e(n),a=e([]),o=e({}),s=e(null),c=e(null),l=e=>{a.value.splice(e,1)};return{add:e=>{a.value.push(e),[`success`,`info`].includes(e.type)&&setTimeout(()=>{l(a.value.indexOf(e))},t)},closeConfirmModal:()=>{},confirmAction:e=>(o.value=e,new Promise(e=>{s.value=()=>{e(!0)},c.value=()=>{e(!1)}})),announce:(e,a={})=>{r.value=e,Object.keys(a).length>0&&(i.value=a),setTimeout(()=>{r.value=``,Object.keys(a).length>0&&(i.value=n)},a.timeout||t)},announcement:r,announcementOptions:i,notifications:a,confirmModalData:o,modalConfirmAction:s,modalCancelAction:c,removeAll:e=>{a.value=a.value.filter(t=>t.type!==e)}}});export{n as t};
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.