PageSourceSearch

https://static.smc.eu/webfiles/1789401511965/js/components/notify.component.js

js smc.eu collected 2026-10-02 11:25:48 UTC 975 bytes, 43 lines download raw bytes

1(function(globalConfig) {
2
3    var notificationOptions = {
4        allow_dismiss: false,
5        type: 'info',
6        delay: 2000,
7        z_index: 9999,
8        placement: {
9            from: 'top',
10            align: 'center'
11        },
12        animate: {
13            enter: 'animated fadeInDown',
14            exit: 'animated fadeOutUp'
15        }
16    };
17
18    function NotifyComponent() {}
19
20    NotifyComponent.notify = info;
21    NotifyComponent.info = info;
22    NotifyComponent.warn = warn;
23    NotifyComponent.error = error;
24
25    function info(message) {
26        notify(message, 'info');
27    }
28
29    function warn(message) {
30        notify(message, 'warning');
31    }
32
33    function error(message) {
34        notify(message, 'danger');
35    }
36
37    function notify(message, type) {
38        notificationOptions.type = type;
39        $.notify(message, notificationOptions);
40    }
41
42    globalConfig.NotifyComponent = globalConfig.NotifyComponent || NotifyComponent;
43})(window.smc);

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.