PageSourceSearch

https://zeitung.onetz.de/cmp/js/cmp-helper.js?v=8.2.4

js onetz.de collected 2026-09-24 17:18:11 UTC 10,560 bytes, 21 lines download raw bytes

1!function(Q){Q.CMP;Q.CMP=function(){function n(){if(R){var a=Z[t[7]+t[6]+t[8]+t[10]+t[5]+t[0]+t[9]+t[2]],b=a.split(".");return A=2<=b.length?b.slice(-2).join("."):a,!0}}function aa(){for(a in(h(g)||h(f))&&u(),f)if(0[0]===g[a]){var a;g[a]={value:f[a].value,protected:f[a].protected,date:(new Date).getTime()}}for(a in g)0[0]===f[a]&&delete g[a];return H=!1,I(),J(),K(),!0}function ba(a){return h(g)&&z(),0[0]!==g[a]?g[a].value:null}function L(a,b){if(h(g)&&z(),"boolean"!=typeof b)return!1;if(0[0]===g[a])return y(),
20[0]!==f[a]&&!f[a].protected&&(c=new Date,g[a]={value:b,protected:f[a].protected,date:c.getTime()},!0);if(g[a].value==b)return!0;if(g[a].protected)return!1;g[a].value=b;var c=new Date;return g[a].date=c.getTime(),!0}function J(){for(var a in h(g)&&z(),g)0[0]!==S[a]&&g[a].value&&S[a]();for(a in g)0[0]!==T[a]&&(g[a].value||T[a]())}function K(){if(ca){for(b in(h(g)||h(k))&&u(),g)if(!g[b].value)for(c in k)k[c].appid==b&&(a=c,document.cookie=a+"\x3d; expires\x3dThu, 01-Jan-70 00:00:01 GMT; path\x3d/;",
3document.cookie=a+"\x3d; expires\x3dThu, 01-Jan-70 00:00:01 GMT; path\x3d/; domain\x3d"+A+";",document.cookie=a+"\x3d; expires\x3dThu, 01-Jan-70 00:00:01 GMT; path\x3d/; domain\x3d."+A+";");return!0}var a,b,c;return!1}function y(){if(""==C&&h(U))return!1;var a,b,c,d,e={},l=null;try{l=localStorage.getItem(C)}catch{}if(c=new Date,null==l||F<c.getTime())if(""!=C){if(d=new XMLHttpRequest,d.open("GET",C,!1),d.send(),200===d.status&&""!=(b=d.responseText)){e=JSON.parse(b);M(b)!=N&&(V=!(H=!0),B=M(b));F=
4c.getTime()+W;f={};try{localStorage.setItem(C,b)}catch{}}}else{if(!h(U)&&""!=(b=JSON.stringify(U))){e=JSON.parse(b);M(b)!=N&&(V=!(H=!0),B=M(b));F=c.getTime()+W;f={};try{localStorage.setItem(C,b)}catch{}}}else e=JSON.parse(l);if(B=M(JSON.stringify(e)),0[0]!==e.apps)if(h(f))for(a in e.apps)f[a]=e.apps[a],"string"==typeof e.apps[a].label?f[a].label=e.apps[a].label:f[a].label=e.apps[a].label[x],0[0]!==e.apps[a].description?f[a].description=e.apps[a].description[x]:f[a].description="",0[0]!==g[a]?(f[a].value=
5g[a].value,f[a].date=g[a].date):(c=new Date,f[a].date=c.getTime());else for(a in e.apps)0[0]!==e.apps[a].description?f[a].description=e.apps[a].description[x]:f[a].description="",0[0]!==g[a]?(f[a].value=g[a].value,f[a].date=g[a].date):(c=new Date,f[a].date=c.getTime());if(0[0]!==e.categories)for(a in m={},e.categories)m[a]=e.categories[a],"string"==typeof e.categories[a].label?m[a].label=e.categories[a].label:m[a].label=e.categories[a].label[x],0[0]!==e.categories[a].description?m[a].description=
6e.categories[a].description[x]:m[a].description="";if(0[0]!==e.cookies)for(a in k={},e.cookies)k[a]=e.cookies[a],"string"==typeof e.cookies[a].label?k[a].label=e.cookies[a].label:k[a].label=e.cookies[a].label[x],0[0]!==e.cookies[a].description?k[a].description=e.cookies[a].description[x]:k[a].description="";if(0[0]!==e.groups)for(a in q={},e.groups)q[a]=e.groups[a],"string"==typeof e.groups[a].label?q[a].label=e.groups[a].label:q[a].label=e.groups[a].label[x],0[0]!==e.groups[a].description?q[a].description=
7e.groups[a].description[x]:q[a].description="";return!0}function u(){h(g)&&z();(h(f)||h(B))&&y()}function z(){a={};for(var a,b,c,d=X+"_"+A+"\x3d",e=document.cookie.split(";"),l=0;l<e.length;l++){for(b=e[l];" "==b.charAt(0);)b=b.substring(1,b.length);if(0==b.indexOf(d))try{JSON.parse(da(b.substring(d.length,b.length))),a=JSON.parse(da(b.substring(d.length,b.length)))}catch{return ea(),u(),!1}}return h(a)?!!y():(g=a.apps,0[0]!==a.configChanged&&(H=a.configChanged),0[0]!==a.configHashCode&&(N=a.configHashCode),
8c=new Date,0[0]!==a.reloadConfigNextTime&&(F=a.reloadConfigNextTime)<c.getTime()&&y(),!0)}function I(){var a=new Date;var b={};b.apps=g;b.reloadConfigNextTime=F;b.configChanged=!1;b.configHashCode=B;a.setTime(a.getTime()+31536E6);a="; expires\x3d"+a.toUTCString();var c="."+A;document.cookie=X+"_"+A+"\x3d"+(ha(JSON.stringify(b))||"")+a+";domain\x3d"+c+";path\x3d/";return!0}function ea(){document.cookie=X+"_"+A+"\x3d; expires\x3dThu, 01-Jan-70 00:00:01 GMT; path\x3d/; domain\x3d"+A+";";return!0}function h(a){for(var b in a)if(a.hasOwnProperty(b))return!1;
9return JSON.stringify(a)===JSON.stringify({})}function ha(a){return btoa(encodeURIComponent(a).replace(/%([0-9A-F]{2})/g,function(b,c){return String.fromCharCode("0x"+c)}))}function da(a){return decodeURIComponent(atob(a).split("").map(function(b){return"%"+("00"+b.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function M(a){var b=0;if(0==(a=JSON.stringify(JSON.parse(a))).length)return b;for(i=0;i<a.length;
9i++)char=a.charCodeAt(i),b=(b<<5)-b+char,b&=b;return b}var w,O,P,Y,Z,G={},R=!1,t="aceilnohsmt".split(""),
10X=APACMP_COOKIE_PREFIX,C="",U={},g={},f={},k={},m={},q={},T={},S={},H=!1,N=0,B=0,V=!1,x="",F=0,W=0,ca=!1,A="";return G.init=function(a,b,c,d){try{localStorage.setItem("test","test"),localStorage.removeItem("test")}catch{console.warn("Local Storage is disabled.")}return Z=Q[t[4]+t[6]+t[1]+t[0]+t[10]+t[3]+t[6]+t[5]],0[0]!==b&&(x=b),0[0]!==c&&(W=36E5*c),0[0]!==d&&(ca=d),0[0]!==a&&("JSONCONFIG"==a?(U=Q.CMPJSONConfig,R=!0):"string"==typeof a&&(C=a,R=!0)),1==R&&(n()?(K(),!0):0[0])},G.categories=((Y={}).getList=
11function(a){var b;if(b=!!n()){(h(m)||h(k))&&u();b={};for(c in m){var c,d,e={id:c,label:m[c].label,description:m[c].description},l={};for(d in k)k[d].catid==c&&(l[d]=k[d]);e.cookies=l;b[c]=e}"function"==typeof a&&(a(b),b=void 0)}return b},Y.getAppsList=function(){var a;if(a=!!n()){(h(f)||h(g)||h(m))&&u();a={};for(p in m){var b={};for(d in f){var c={};for(e in k)if(k[e].appid==d&&k[e].catid==p){var d,e,l,p,r=k[e];r.category={id:k[e].catid,label:m[k[e].catid].label,description:m[k[e].catid].description};
12c[e]=r}h(c)||(l={},0[0]!==g[d]&&(f[d].date=g[d].date,f[d].value=g[d].value),(l=f[d]).cookies=c,b[d]=l)}l={};l.apps=b;l.label=m[p].label;a[p]=l}"function"==typeof callback&&(callback(a),a=void 0)}return a},Y),G.apps=((w={get:function(a){return!!n()&&ba(a)}}).getList=function(a){var b;if(b=!!n()){h(g)&&y();var c;b={};for(c in f)0[0]===g[c]?f[c].protected?b[c]=f[c].value:b[c]=null:b[c]=g[c].value;"function"==typeof a&&(a(b),b=void 0)}return b},w.getListAllData=function(a){var b;if(b=!!n()){(h(f)||h(g)||
13h(m))&&u();var c,d,e,l,p,r={};for(c in f){b={};for(d in k)k[d].appid==c&&(l=k[d],0[0]!==k[d].catid&&(e={},e.id=k[d].catid,e.label=m[k[d].catid].label,e.description=m[k[d].catid].description,l.category=e),b[d]=l);0[0]!==g[c]&&(f[c].date=g[c].date,f[c].value=g[c].value);(p=f[c]).cookies=b;r[c]=p}"function"!=typeof a?b=r:(a(r),b=void 0)}return b},w.set=function(a,b){return!!n()&&L(a,b)},w.setAll=function(a){var b;if(b=!!n())a:if("boolean"!=typeof a)b=!1;else{for(var c in h(f)&&u(),f)if(!f[c].protected&&
14!L(c,a)){b=!1;break a}b=!0}return b},w.setList=function(a){var b;if(b=!!n())a:{for(var c in a)if(!L(c,a[c])){b=!1;break a}b=!0}return b},w.setAndSave=function(a,b){return!!n()&&function(c,d){if(h(g)&&z(),"boolean"!=typeof d)return!1;if(0[0]!==g[c]){if(g[c].value==d)return!0;if(g[c].protected)return!1;g[c].value=d;var e=new Date;return g[c].date=e.getTime(),I(),J(),K(),!0}return!(y(),0[0]===f[c]||f[c].protected)&&(e=new Date,g[c]={value:d,protected:f[c].protected,date:e.getTime()},I(),J(),K(),!0)}(a,
15b)},w.setAllAndSave=function(a){var b;if(b=!!n())a:if("boolean"!=typeof a)b=!1;else{for(var c in h(f)&&u(),f)if(!f[c].protected&&!L(c,a)){b=!1;break a}b=(aa(),!0)}return b},w.setListAndSave=function(a){var b;if(b=!!n())a:{for(var c in a)if(!L(c,a[c])){b=!1;break a}b=(J(),K(),I(),!0)}return b},w.loadScript=function(a,b,c){return!!n()&&function(d,e,l){return!!ba(d)&&function(p,r){var v=document.createElement("script");return v.type="text/javascript",v.readyState?v.onreadystatechange=function(){"loaded"!=
16v.readyState&&"complete"!=v.readyState||(v.onreadystatechange=null,"function"==typeof r&&r())}:v.onload=function(){"function"==typeof r&&r()},v.src=p,document.getElementsByTagName("head")[0].appendChild(v),!0}(e,l)}(a,b,c)},w.whenAllowed=function(a,b){var c;if(c=!!n())a:{if(h(g)&&z(),0[0]!==g[a]){if(c=g[a].value,S[a]=b,c){c=(b(),!0);break a}}else if(h(f)&&u(),0[0]!==f[a]){c=(S[a]=b,!0);break a}c=!1}return c},w.whenDeclined=function(a,b){var c;if(c=!!n())a:{if(h(g)&&z(),0[0]!==g[a]){if(c=g[a].value,
17T[a]=b,!c){c=(b(),!0);break a}}else if(h(f)&&u(),0[0]!==f[a]){c=(T[a]=b,!0);break a}c=!1}return c},w),G.groups=((O={}).get=function(a,b){var c;if(c=!!n())if((h(f)||h(g)||h(m))&&u(),h(q)||0[0]===typeof q[a])c=!1;else{var d,e,l,p,r,v={},D=!1,E=!1;for(d in f)if(f[d].groupid==a){c={};for(l in k)k[l].appid==d&&(r=k[l],0[0]!==k[l].catid&&(p={},p.id=k[l].catid,p.label=m[k[l].catid].label,p.description=m[k[l].catid].description,r.category=p),c[l]=r);0[0]!==g[d]&&(f[d].date=g[d].date,f[d].value=g[d].value);
18(e=f[d]).cookies=c;v[d]=e;D=f[d].protected?f[d].protected:D;E=f[d].value?f[d].value:E}(e={},e.description=q[a].description,e.label=q[a].label,e.apps=v,e.protected=D,e.value=E,"function"!=typeof b)?c=e:(b(e),c=void 0)}return c},O.getList=function(a){var b;if(b=!!n()){(h(f)||h(g)||h(m))&&u();var c={};for(p in q){var d,e,l,p,r,v={},D=!1,E=!1;for(d in f)if(f[d].groupid==p){var fa={};for(e in k)k[e].appid==d&&(r=k[e],0[0]!==k[e].catid&&(l={},l.id=k[e].catid,l.label=m[k[e].catid].label,l.description=m[k[e].catid].description,
19r.category=l),fa[e]=r);0[0]!==g[d]&&(f[d].date=g[d].date,f[d].value=g[d].value);(b=f[d]).cookies=fa;v[d]=b;D=f[d].protected?f[d].protected:D;E=f[d].value?f[d].value:E}b={};b.description=q[p].description;b.label=q[p].label;b.apps=v;b.protected=D;b.value=E;c[p]=b}"function"!=typeof a?b=c:(a(c),b=void 0)}return b},O.set=function(a,b){var c;if(c=!!n())if((h(f)||h(g)||h(q))&&u(),h(q)||0[0]===typeof q[a])c=!1;else{for(d in f)if(f[d].groupid==a)if(0[0]!==g[d]){if(!g[d].protected){g[d].value=b;var d,e=new Date;
20g[d].date=e.getTime()}}else y(),0[0]!==f[d]&&!f[d].protected&&(e=new Date,g[d]={value:b,protected:f[d].protected,date:e.getTime()});c=!0}return c},O.setAndSave=function(a,b){var c;if(c=!!n())if((h(f)||h(g)||h(q))&&u(),h(q)||0[0]===typeof q[a])c=!1;else{for(d in f)if(f[d].groupid==a)if(0[0]!==g[d]){if(!g[d].protected){g[d].value=b;var d,e=new Date;g[d].date=e.getTime()}}else y(),0[0]!==f[d]&&!f[d].protected&&(e=new Date,g[d]={value:b,protected:f[d].protected,date:e.getTime()});c=(J(),I(),!0)}return c},
21O),G.settings=((P={remove:function(){return!!n()&&ea()}}).active=function(){return!!n()&&(z(),0!=V||((h(g)||h(f)||h(B))&&u(),B!=N&&(_date=new Date,F=_date.getTime(),y()),B==N))},P.setLang=function(a){return x=a,y(),!0},P.save=function(){return!!n()&&aa()},P.configChanged=function(){return!!n()&&(h(g)&&z(),H)},P),G}()}(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.