PageSourceSearch

https://frisobouwgroep.nl/vwoScript.js

js frisobouwgroep.nl collected 2026-10-02 19:12:08 UTC 7,537 bytes, 139 lines download raw bytes

1
2window._vwo_code || (function () {
3    var w = window,
4        d = document;
5    var account_id = 1138341,
6        version = 2.2,
7        settings_tolerance = 2000,
8        hide_element = 'body',
9        hide_element_style = 'opacity:0 !important;filter:alpha(opacity=0) !important;background:none !important';
10    /* DO NOT EDIT BELOW THIS LINE */
11    if (f = !1, v = d.querySelector('#vwoCode'), cc = {}, -1 < d.URL.indexOf('__vwo_disable__') || w._vwo_code) return;
12    try {
13        var e = JSON.parse(localStorage.getItem('_vwo_' + account_id + '_config'));
14        cc = e && 'object' == typeof e ? e : {}
15    } catch (e) {}
16
17    function r(t) {
18        try {
19            return decodeURIComponent(t)
20        } catch (e) {
21            return t
22        }
23    }
24    var s = function () {
25        var e = {combination: [], combinationChoose: [], split: [], exclude: [], uuid: null, consent: null, optOut: null},
26            t = d.cookie || '';
27        if (!t) return e;
28        for (var n, i, o = /(?:^|;\s*)(?:(_vis_opt_exp_(\d+)_combi=([^;]*))|(_vis_opt_exp_(\d+)_combi_choose=([^;]*))|(_vis_opt_exp_(\d+)_split=([^:;]*))|(_vis_opt_exp_(\d+)_exclude=[^;]*)|(_vis_opt_out=([^;]*))|(_vwo_global_opt_out=[^;]*)|(_vwo_uuid=([^;]*))|(_vwo_consent=([^;]*)))/g; null !== (n = o.exec(t));) try {
29            n[1] ? e.combination.push({id: n[2], value: r(n[3])}) : n[4] ? e.combinationChoose.push({
30                id: n[5],
31                value: r(n[6])
32            }) : n[7] ? e.split.push({id: n[8], value: r(n[9])}) : n[10] ? e.exclude.push({id: n[11]}) : n[12] ? e.optOut = r(n[13]) : n[14] ? e.optOut = !0 : n[15] ? e.uuid = r(n[16]) : n[17] && (i = r(n[18]), e.consent = i && 3 <= i.length ? i.substring(0, 3) : null)
33        } catch (e) {}
34        return e
35    }();
36
37    function i() {
38        var e = function () {
39                if (w.VWO && Array.isArray(w.VWO)) for (var e = 0; e < w.VWO.length; e++) {
40                    var t = w.VWO[e];
41                    if (Array.isArray(t) && ('setVisitorId' === t[0] || 'setSessionId' === t[0])) return !0
42                }
43                return !1
44            }(),
45            t = 'a=' + account_id + '&u=' + encodeURIComponent(w._vis_opt_url || d.URL) + '&vn=' + version + '&ph=1' + ('undefined' != typeof platform ? '&p=' + platform : '') + '&st=' + w.performance.now();
46        e || ((n = function () {
47            var e, t = [], n = {}, i = w.VWO && w.VWO.appliedCampaigns || {};
48            for (e in i) {
49                var o = i[e] && i[e].v;
50                o && (t.push(e + '-' + o + '-1'), n[e] = !0)
51            }
52            if (s && s.combination) for (var r = 0; r < s.combination.length; r++) {
53                var a = s.combination[r];
54                n[a.id] || t.push(a.id + '-' + a.value)
55            }
56            return t.join('|')
57        }()) && (t += '&c=' + n), (n = function () {
58            var e = [], t = {};
59            if (s && s.combinationChoose) for (var n = 0; n < s.combinationChoose.length; n++) {
60                var i = s.combinationChoose[n];
61                e.push(i.id + '-' + i.value), t[i.id] = !0
62            }
63            if (s && s.split) for (var o = 0; o < s.split.length; o++) t[(i = s.split[o]).id] || e.push(i.id + '-' + i.value);
64            return e.join('|')
65        }()) && (t += '&cc=' + n), (n = function () {
66            var e = {}, t = [];
67            if (w.VWO && Array.isArray(w.VWO)) for (var n = 0; n < w.VWO.length; n++) {
68                var i = w.VWO[n];
69                if (Array.isArray(i) && 'setVariation' === i[0] && i[1] && Array.isArray(i[1])) for (var o = 0; o < i[1].length; o++) {
70                    var r, a = i[1][o];
71                    a && 'object' == typeof a && (r = a.e, a = a.v, r && a && (e[r] = a))
72                }
73            }
74            for (r in e) t.push(r + '-' + e[r]);
75            return t.join('|')
76        }()) && (t += '&sv=' + n)), s && s.optOut && (t += '&o=' + s.optOut);
77        var n = function () {
78            var e = [], t = {};
79            if (s && s.exclude) for (var n = 0; n < s.exclude.length; n++) {
80                var i = s.exclude[n];
81                t[i.id] || (e.push(i.id), t[i.id] = !0)
82            }
83            return e.join('|')
84        }();
85        return n && (t += '&e=' + n), s && s.uuid && (t += '&id=' + s.uuid), s && s.consent && (t += '&consent=' + s.consent), w.name && -1 < w.name.indexOf('_vis_preview') && (t += '&pM=true'), w.VWO && w.VWO.ed && (t += '&ed=' + w.VWO.ed), t
86    }
87
88    code = {
89        nonce: v && v.nonce,
90        library_tolerance: function () {
91            return 'undefined' != typeof library_tolerance ? library_tolerance : void 0
92        },
93        settings_tolerance: function () {
94            return cc.sT || settings_tolerance
95        },
96        hide_element_style: function () {
97            return '{' + (cc.hES || hide_element_style) + '}'
98        },
99        hide_element: function () {
100            return performance.getEntriesByName('first-contentful-paint')[0] ? '' : 'string' == typeof cc.hE ? cc.hE : hide_element
101        },
102        getVersion: function () {
103            return version
104        },
105        finish: function (e) {
106            var t;
107            f || (f = !0, (t = d.getElementById('_vis_opt_path_hides')) && t.parentNode.removeChild(t), e && ((new Image).src = 'https://dev.visualwebsiteoptimizer.com/ee.gif?a=' + account_id + e))
108        },
109        finished: function () {
110            return f
111        },
112        addScript: function (e) {
113            var t = d.createElement('script');
114            t.type = 'text/javascript', e.src ? t.src = e.src : t.text = e.text, v && t.setAttribute('nonce', v.nonce), d.getElementsByTagName('head')[0].appendChild(t)
115        },
116        load: function (e, t) {
117            t = t || {};
118            var n = new XMLHttpRequest;
119            n.open('GET', e, !0), n.withCredentials = !t.dSC, n.responseType = t.responseType || 'text', n.onload = function () {
120                if (t.onloadCb) return t.onloadCb(n, e);
121                200 === n.status ? _vwo_code.addScript({text: n.responseText}) : _vwo_code.finish('&e=loading_failure:' + e)
122            }, n.onerror = function () {
123                if (t.onerrorCb) return t.onerrorCb(e);
124                _vwo_code.finish('&e=loading_failure:' + e)
125            }, n.send()
126        },
127        init: function () {
128            var e, t = this.settings_tolerance();
129            w._vwo_settings_timer = setTimeout(function () {
130                _vwo_code.finish()
131            }
131, t), 'body' !== this.hide_element() ? (n = d.createElement('style'), e = (t = this.hide_element()) ? t + this.hide_element_style() : '', t = d.getElementsByTagName('head')[0], n.setAttribute('id', '_vis_opt_path_hides'), v && n.setAttribute('nonce', v.nonce), n.setAttribute('type', 'text/css'), n.styleSheet ? n.styleSheet.cssText = e : n.appendChild(d.createTextNode(e)), t.appendChild(n)) : (n = d.getElementsByTagName('head')[0], (e = d.createElement('div')).style.cssText = 'z-index: 2147483647 !important;position: fixed !important;left: 0 !important;top: 0 !important;width: 100% !important;height: 100% !important;background: white !important;', e.setAttribute('id', '_vis_opt_path_hides'), e.classList.add('_vis_hide_layer'), n.parentNode.insertBefore(e, n.nextSibling));
132            var n = 'https://dev.visualwebsiteoptimizer.com/j.php?' + i();
133            -1 !== w.location.search.indexOf('_vwo_xhr') ? this.addScript({src: n}) : this.load(n + '&x=true', {l: 1})
134        }
135    };
136    w._vwo_code = code;
137    code.init();
138})();
139

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.