���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
/
repositories
/
cutunix
/
vendor
/
masmerise
/
livewire-toaster
/
resources
/
js
/
Viewing: toast.js
import { uuid41 } from './uuid41'; export class Toast { constructor(duration, message, type) { this.$el = null; this.id = uuid41(); this.isVisible = false; this.duration = duration; this.message = message; this.timeout = null; this.trashed = false; this.type = type; } static fromJson(data) { return new Toast(data.duration, data.message, data.type); } dispose() { if (this.timeout) { clearTimeout(this.timeout); } this.isVisible = false; if (this.$el) { this.$el.addEventListener('transitioncancel', () => { this.trashed = true; }) this.$el.addEventListener('transitionend', () => { this.trashed = true; }) } } equals(other) { return this.duration === other.duration && this.message === other.message && this.type === other.type; } runAfterDuration(callback) { this.timeout = setTimeout(() => callback(this), this.duration); } select(config) { return config[this.type]; } show($el) { this.$el = $el; this.isVisible = true; } }
Coded With 💗 by
0x6ick Mod By V1rus_Alfa