PageSourceSearch

https://gammo.at/vendor/orestbida/services/hotjar.js

js gammo.at collected 2026-10-03 00:54:11 UTC 1,909 bytes, 53 lines download raw bytes

1(function (window) {
2    'use strict';
3
4    const services = window.orestbidaServices = window.orestbidaServices || {};
5
6    services.hotjar = function createHotjarService(options) {
7        const id = options.id;
8        const version = options.version || 6;
9        const CookieConsent = options.CookieConsent || window.CookieConsent;
10        const isMissing = options.isMissing;
11        const isPlaceholder = options.isPlaceholder;
12        const log = options.log;
13        const once = options.once;
14
15        return {
16            label: 'Hotjar',
17            onAccept: function () {
18                if (isMissing(id)) {
19                    log('Hotjar skipped because hotjarSiteId is null.');
20                    return;
21                }
22
23                if (isPlaceholder(String(id))) {
24                    log('Hotjar skipped because hotjarSiteId is a placeholder.');
25                    return;
26                }
27
28                once('__demoHotjarLoaded', function () {
29                    window.hj = window.hj || function () {
30                        (window.hj.q = window.hj.q || []).push(arguments);
31                    };
32                    window._hjSettings = {
33                        hjid: Number(id),
34                        hjsv: version
35                    };
36
37                    CookieConsent.loadScript(
38                        'https://static.hotjar.com/c/hotjar-' + encodeURIComponent(id) + '.js?sv=' + encodeURIComponent(version),
39                        { async: '' }
40                    ).then(function (loaded) {
41                        if (!loaded) {
42                            log('Hotjar failed to load.');
43                            return;
44                        }
45
46                        log('Hotjar loaded.', { id: id, version: version });
47                    });
48                });
49            },
50            onReject: options.onReject
51        };
52    };
53})(window);

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.