PageSourceSearch

https://www.ottonova.de/assets/dist/inline/gtm.min.DEIPaTCE.js

js ottonova.de collected 2026-09-25 19:16:19 UTC 4,678 bytes, 2 lines download raw bytes

1import{T as O,s as R}from"../tracking-id-records.min.BPJ0eqiY.js";function E(){import.meta.url,import("_").catch(()=>1),(async function*(){})().next()}(async()=>{var b,S,C,I,x,y,D;let g=new Date;g.setTime(g.getTime()+365*24*60*60*1e3);let r="",f="";const k=Object.values(O).map(e=>({id:e,value:""}));let p="";const m="; expires="+g.toUTCString();let d=!1;try{d=((b=window.localStorage)==null?void 0:b.getItem("tippgeber"))!==null}catch(e){d=!1}const v="cookieStore"in window?!!await cookieStore.get("tippgeber"):document.cookie.indexOf("tippgeber")>-1,w=window.location.href,T=w.indexOf("&amp;")>-1?"&amp;":"&",l=w.indexOf("?")>-1?w.split("?")[1].split(T):"",t={};let n=window.location.hostname;if(n.indexOf("ottonova.de")>-1?n="ottonova.de":n.indexOf("on.ag")>-1&&(n="on.ag"),window.cookieDomain=n,l!==""){for(const i in l){const c=l[i].split("=");c[0]&&c[1]&&(t[c[0]]=decodeURIComponent(c[1]))}let e=[];t.utm_campaign&&e.push("utmccn="+t.utm_campaign),t.utm_content&&e.push("utmcct="+t.utm_content),t.utm_medium&&e.push("utmcmd="+t.utm_medium),t.utm_source&&e.push("utmcsr="+t.utm_source),t.utm_term&&e.push("utmctr="+t.utm_term),t.tgid&&(r=t.tgid),t.partnerid&&(f=t.partnerid),k.forEach(i=>{t[i.id]&&(i.value=t[i.id])}),t.utm_void&&(p=t.utm_void),t.utm_mvid&&(p=t.utm_mvid);const o="__utmz",a=e.join("|");a!==""&&("cookieStore"in window?await cookieStore.set({name:o,value:a,expires:Date.now()+365*24*60*60*1e3,domain:n,path:"/"}):document.cookie=o+"="+a+m+"; path=/; domain="+n),p!==""&&((S=window.localStorage)==null||S.setItem("mvid",p)),f&&!((C=window.localStorage)!=null&&C.getItem("partner"))&&((I=window.localStorage)==null||I.setItem("partner",f)),!d&&!v&&r!==""&&((x=window.localStorage)==null||x.setItem("tippgeber",r),"cookieStore"in window?await cookieStore.set({name:"tippgeber",value:r,expires:Date.now()+365*24*60*60*1e3,domain:n}):document.cookie="tippgeber="+r+m+"; path=/; secure; domain="+n)}if(d)r=(y=window.localStorage)==null?void 0:y.getItem("tippgeber"),"cookieStore"in window?await cookieStore.set({name:"tippgeber",value:r,expires:Date.now()+365*24*60*60*1e3,domain:n,path:"/"}):document.cookie="tippgeber="+r+m+"; path=/; secure; domain="+n;else if(v){let e=!1;if("cookieStore"in window){const o=await cookieStore.get("tippgeber");e=o&&o.value?o.value:!1}else{const o=document.cookie.match("(?:^|; )tippgeber=([^;]*)");e=o&&o[1]?o[1]:!1}e&&(r=e,(D=window.localStorage)==null||D.setItem("tippgeber",e))}k.forEach(e=>{R(e.id,e.value)});const _=window.navigator.userAgent;if(_.indexOf("iPhone")>-1||_.indexOf("iPad")>-1){const e=_.match(/OS (\d+)_(\d+)_?(\d+)?/);e&&[parseInt(e[1],10),parseInt(e[2],10),parseInt(e[3]||0,10)][0]<=9&&(window.location.href="".concat(window.location.origin,"/unsupported_os"))}window.requestIdleCallback||(window.requestIdleCallback=function(e,o){const a=o||{},i=1,c=a.timeout||i,s=performance.now();return setTimeout(function(){e({get didTimeout(){return a.timeout?!1:performance.now()-s-i>c},timeRemaining:function(){return Math.max(0,i+(performance.now()-s))}})},i)}),window.dataLayer=window.dataLayer||[],n!=="localhost"&&!window.Cypress&&(function(e,o,a,i,c){e[i]=e[i]||[],e[i].push({"gtm.start":new Date().getTime(),event:"gtm.js",page_insurance_group:window.craftConfig.insuranceGroup||"na",page_insurance_category:window.craftConfig.insuranceCategory||"na",page_artifacts:"craft",page_artifacts_grouping:window.craftConfig.pageArtifactsGroup,page_funnel_position:window.craftConfig.pageFunnelPosition,page_funnel_detail:window.craftConfig.pageFunnelDetail});const s=o.getElementsByTagName(a)[0],u=o.createElement(a);u.async=!0,u.src="https://www.ottonova.de/metrics/devu9bjwwtbwg.js?"+c;const h=o.querySelector("[nonce]");h&&u.setAttribute("nonce",h.nonce||h.getAttribute("nonce")),s.parentNode.insertBefore(u,s)})(window,document,"script","dataLayer","t=DhNfMyM6RzI9PChGMT1MFFpFTEVREwRfEAAVWhgDHg0JGBQVWRMPRBQYEklYGg8WFR4BBw%3D%3D"),window.location.pathname!=="/zahnzusatz-abschliessen"&&window.addEventListener("DOMContentLoaded",()=>{var a;const e=performance.getEntriesByType("navigation")[0],o=(a=e==null?void 0:e.name)==null?void 0:a.split(":~:text=")[1];dataLayer.push({event:"virtual_pageview",page_insurance_group:window.craftConfig.insuranceGroup||"na",page_insurance_category:window.craftConfig.insuranceCategory||"na",page_artifacts:"craft",page_artifacts_grouping:window.craftConfig.pageArtifactsGroup,page_funnel_position:window.craftConfig.pageFunnelPosition,page_funnel_detail:window.craftConfig.pageFunnelDetail,page_location:window.location.href,page_title:document.title,...o&&{text_fragments:decodeURI(o)}})})})();export{E as __vite_legacy_guard};
2//# sourceMappingURL=gtm.min.DEIPaTCE.js.map

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.