Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
cesa.co.za /
vendor /
twbs /
bootstrap /
js /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
dom
[ DIR ]
drwxr-sr-x
2024-02-14 08:52
util
[ DIR ]
drwxr-sr-x
2024-02-14 08:52
alert.js
1.86
KB
-rw-r--r--
2024-02-14 08:51
base-component.js
1.89
KB
-rw-r--r--
2024-02-14 08:51
button.js
1.59
KB
-rw-r--r--
2024-02-14 08:51
carousel.js
11.54
KB
-rw-r--r--
2024-02-14 08:51
collapse.js
7.42
KB
-rw-r--r--
2024-02-14 08:51
dropdown.js
12.9
KB
-rw-r--r--
2024-02-14 08:51
modal.js
9.36
KB
-rw-r--r--
2024-02-14 08:51
offcanvas.js
6.65
KB
-rw-r--r--
2024-02-14 08:51
popover.js
1.83
KB
-rw-r--r--
2024-02-14 08:51
scrollspy.js
8.27
KB
-rw-r--r--
2024-02-14 08:51
tab.js
8.86
KB
-rw-r--r--
2024-02-14 08:51
toast.js
4.92
KB
-rw-r--r--
2024-02-14 08:51
tooltip.js
15.65
KB
-rw-r--r--
2024-02-14 08:51
Save
Rename
/** * -------------------------------------------------------------------------- * Bootstrap alert.js * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) * -------------------------------------------------------------------------- */ import BaseComponent from './base-component.js' import EventHandler from './dom/event-handler.js' import { enableDismissTrigger } from './util/component-functions.js' import { defineJQueryPlugin } from './util/index.js' /** * Constants */ const NAME = 'alert' const DATA_KEY = 'bs.alert' const EVENT_KEY = `.${DATA_KEY}` const EVENT_CLOSE = `close${EVENT_KEY}` const EVENT_CLOSED = `closed${EVENT_KEY}` const CLASS_NAME_FADE = 'fade' const CLASS_NAME_SHOW = 'show' /** * Class definition */ class Alert extends BaseComponent { // Getters static get NAME() { return NAME } // Public close() { const closeEvent = EventHandler.trigger(this._element, EVENT_CLOSE) if (closeEvent.defaultPrevented) { return } this._element.classList.remove(CLASS_NAME_SHOW) const isAnimated = this._element.classList.contains(CLASS_NAME_FADE) this._queueCallback(() => this._destroyElement(), this._element, isAnimated) } // Private _destroyElement() { this._element.remove() EventHandler.trigger(this._element, EVENT_CLOSED) this.dispose() } // Static static jQueryInterface(config) { return this.each(function () { const data = Alert.getOrCreateInstance(this) if (typeof config !== 'string') { return } if (data[config] === undefined || config.startsWith('_') || config === 'constructor') { throw new TypeError(`No method named "${config}"`) } data[config](this) }) } } /** * Data API implementation */ enableDismissTrigger(Alert, 'close') /** * jQuery */ defineJQueryPlugin(Alert) export default Alert