PageSourceSearch

https://velvetyuzu.ai/_nuxt/C4J-E6Ei.js

js velvetyuzu.ai collected 2026-10-05 13:26:16 UTC 1,927 bytes, 1 lines download raw bytes

1import{s as e}from"./BbLqNTPN.js";import{J as t,tt as n,vn as r}from"./B4b-2GOK.js";import{t as i}from"./uYICKCAu.js";var a=Symbol(`nuxt-ui.toast-max`);function o(){let e=i(`toasts`,()=>[]),o=t(a,void 0),s=r(!1),c=[],l=()=>`${Date.now()}-${Math.random().toString(36).slice(2,9)}`;function u(t,n){e.value[t]={...e.value[t],...n,_duplicate:(e.value[t]._duplicate||0)+1}}async function d(){if(!(s.value||c.length===0)){for(s.value=!0;c.length>0;){await n();let t=c.shift(),r=o?.value??5;if(r<=0){e.value.length&&(e.value=[]);continue}let i=e.value.findIndex(e=>e.id===t.id);if(i!==-1){u(i,t);continue}e.value=[...e.value,t].slice(-r)}s.value=!1}}function f(t){let n={id:l(),open:!0,...t},r=e.value.findIndex(e=>e.id===n.id);return r===-1?(c.push(n),d(),n):(u(r,n),n)}function p(t,r){let i=e.value.findIndex(e=>e.id===t);i!==-1&&(e.value[i]={...e.value[i],...r,duration:r.duration,open:!0,_updated:!0},n(()=>{let n=e.value.findIndex(e=>e.id===t);n!==-1&&e.value[n]._updated&&(e.value[n]={...e.value[n],_updated:void 0})}))}function m(t){let n=e.value.findIndex(e=>e.id===t);n!==-1&&e.value[n]._updated||(n!==-1&&(e.value[n]={...e.value[n],open:!1}),setTimeout(()=>{e.value=e.value.filter(e=>e.id!==t)},200))}function h(){e.value=[]}return{toasts:e,add:f,update:p,remove:m,clear:h}}function s(){let{$i18n:t}
1=e(),n=o(),r={info:`i-lucide:info`,success:`i-lucide:check-circle-2`,warning:`i-lucide:alert-triangle`,error:`i-lucide:x-circle`};function i({id:e,title:i,description:a,icon:o,color:s=`info`,avatar:c,actions:l,duration:u,close:d=!0,closeIcon:f,orientation:p=`horizontal`}){let m=s in r?r[s]:void 0,h={id:e??new Date().getTime().toString(),title:i?t.t(i):void 0,description:a?t.t(a):void 0,icon:o??m,color:s,avatar:c,actions:l?.map(e=>({...e,label:e.label?t.t(e.label):e.label})),duration:u??(a?1e4:5e3),close:d,closeIcon:f,orientation:p};n.add(h)}function a(e){n.remove(e)}return{add:i,remove:a}}export{a as n,o as r,s 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.