PageSourceSearch

https://graphek.de/wp-content/themes/graphek4/partials/openai_ads/openai_ads.min.js

js graphek.de collected 2026-10-07 01:52:22 UTC 2,447 bytes, 1 lines download raw bytes

1!function(n,i){"use strict";var t={pixelId:"HqWgL27Zp4X9apW5SQfKRy",conversionPath:"/danke-fuer-ihre-anfrage/",attributionCookie:"graphek_openai_oppref",openaiCookie:"__oppref",cookieMaxAge:2592e3,endpoint:"https://bzr.openai.com/v1/sdk/events"},o=n.__graphekOpenaiAds||{callbackBound:!1,conversionSent:!1,image:null};function a(){return"https:"===n.location.protocol&&("graphek.de"===n.location.hostname||"www.graphek.de"===n.location.hostname)}function r(){return n.CookieConsent&&"function"==typeof n.CookieConsent.validConsent&&n.CookieConsent.validConsent()&&"function"==typeof n.CookieConsent.acceptedCategory&&n.CookieConsent.acceptedCategory("openai_ads")}function c(e){i.cookie=e+"=; Max-Age=0; Path=/; SameSite=Lax"+("https:"===n.location.protocol?"; Secure":"")}function p(e){return"string"==typeof e&&0<e.length&&e.length<=2048&&/^[A-Za-z0-9._~+\-/=]+$/.test(e)}function s(){var e=new URL(t.endpoint),o=(e.searchParams.set("pid",t.pixelId),e.searchParams.set("event","lead_created"),e.searchParams.set("data[type]","customer_action"),e.searchParams.set("event_id",n.crypto&&"function"==typeof n.crypto.randomUUID?n.crypto.randomUUID():n.crypto&&"function"==typeof n.crypto.getRandomValues?(o=new Uint8Array(16),n.crypto.getRandomValues(o),Array.from(o).map(function(e){return e.toString(16).padStart(2,"0")}).join("")):"evt_"+Date.now().toString(36)+"_"+Math.random().toString(36).slice(2)),function(e){for(var o=e+"=",n=i.cookie?i.cookie.split(";"):[],t=0;t<n.length;t+=1){var a=n[t].trim();if(0===a.indexOf(o))try{return decodeURIComponent(a.slice(o.length))}catch(e){return""}}return""}(t.attributionCookie));return p(o)&&e.searchParams.set("oppref",o),e.toString()}function d(){var e;a()&&(r()?(!p(e=new URLSearchParams(n.location.search).get("oppref"))||3e3<encodeURIComponent(e).length||(i.cookie=t.attributionCookie+"="+encodeURIComponent(e)+"; Max-Age="+t.cookieMaxAge+"; Path=/; SameSite=Lax; Secure"),!o.conversionSent&&r()&&n.location.pathname===t.conversionPath&&a()&&(o.conversionSent=!0,(e=i.createElement("img")).width=1,e.height=1,e.alt="",e.style.display="none",e.referrerPolicy="origin",e.src=s(),o.image=e,i.body.appendChild(e))):(c(t.attributionCookie),c(t.openaiCookie),o.image&&o.image.parentNode&&o.image.parentNode.removeChild(o.image),o.image=null))}(n.__graphekOpenaiAds=o).callbackBound||(o.callbackBound=!0,["cc:onConsent","cc:onChange"].forEach(function(e){n.addEventListener(e,d)})),d()}(window,document);

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.