PageSourceSearch

https://www.moz.de/static/js/setup_tcfApi.js

js moz.de collected 2026-10-02 03:41:46 UTC 1,916 bytes, 71 lines download raw bytes

1/*eslint-disable */
2function _typeof(t) {
3	return (_typeof =
4		"function" == typeof Symbol && "symbol" == typeof Symbol.iterator
5			? function (t) {
6					return typeof t;
7				}
8			: function (t) {
9					return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
10				})(t);
11}
12!(function () {
13	for (var t, e, o = [], n = window, r = n; r; ) {
14		try {
15			if (r.frames.__tcfapiLocator) {
16				t = r;
17				break;
18			}
19		} catch (t) {}
20		if (r === n.top) break;
21		r = n.parent;
22	}
23	t ||
24		((function t() {
25			var e = n.document,
26				o = !!n.frames.__tcfapiLocator;
27			if (!o)
28				if (e.body) {
29					var r = e.createElement("iframe");
30					(r.style.cssText = "display:none"), (r.name = "__tcfapiLocator"), e.body.appendChild(r);
31				} else setTimeout(t, 5);
32			return !o;
33		})(),
34		(n.__tcfapi = function () {
35			for (var t = arguments.length, n = new Array(t), r = 0; r < t; r++) n[r] = arguments[r];
36			if (!n.length) return o;
37			"setGdprApplies" === n[0]
38				? n.length > 3 &&
39					2 === parseInt(n[1], 10) &&
40					"boolean" == typeof n[3] &&
41					((e = n[3]), "function" == typeof n[2] && n[2]("set", !0))
42				: "ping" === n[0]
43					? "function" == typeof n[2] && n[2]({ gdprApplies: e, cmpLoaded: !1, cmpStatus: "stub" })
44					: o.push(n);
45		}),
46		n.addEventListener(
47			"message",
48			function (t) {
49				var e = "string" == typeof t.data,
50					o = {};
51				if (e)
52					try {
53						o = JSON.parse(t.data);
54					} catch (t) {}
55				else o = t.data;
56				var n = "object" === _typeof(o) ? o.__tcfapiCall : null;
57				n &&
58					window.__tcfapi(
59						n.command,
60						n.version,
61						function (o, r) {
62							var a = { __tcfapiReturn: { returnValue: o, success: r, callId: n.callId } };
63							t && t.source && t.source.postMessage && t.source.postMessage(e ? JSON.stringify(a) : a, "*");
64						},
65						n.parameter,
66					);
67			},
68			!1,
69		));
70})();
71/*eslint-enable */

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.