���Root Mod By V1rus_Alfa
User / IP
:
216.73.217.78
Host / Server
:
195.214.235.115 / npln.ir
System
:
Linux damavand.pws-dns.net 5.14.0-503.35.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 4 05:23:43 EDT 2025 x86_64
Command
|
Upload
|
Mass Deface
|
Create
:
/
home2
/
cutunixc
/
.trash
/
node_modules
/
@nuxt
/
ui
/
dist
/
runtime
/
composables
/
Viewing: useToast.js
import { useState } from "#imports"; export function useToast() { const notifications = useState("notifications", () => []); function add(notification) { const body = { id: (/* @__PURE__ */ new Date()).getTime().toString(), ...notification }; const index = notifications.value.findIndex((n) => n.id === body.id); if (index === -1) { notifications.value.push(body); } return body; } function remove(id) { notifications.value = notifications.value.filter((n) => n.id !== id); } function update(id, notification) { const index = notifications.value.findIndex((n) => n.id === id); if (index !== -1) { const previous = notifications.value[index]; notifications.value.splice(index, 1, { ...previous, ...notification }); } } function clear() { notifications.value = []; } return { add, remove, update, clear }; }
Coded With 💗 by
0x6ick Mod By V1rus_Alfa