Home Page

Home Page <![CDATA[ window.pof = {}; window.pof.perfObInit = false; window.pof.metrics = window.pof.metrics || {}; window.pof.performance = { mark: function (markName) { if (performance && performance.mark && performance.clearMarks) { performance.clearMarks(markName); performance.mark(markName); } }, measure: function (measureName, startMark, endMark) { if (performance && performance.measure && performance.clearMeasures && performance.getEntriesByName) { performance.clearMeasures(measureName); performance.measure(measureName, startMark, endMark); return window.pof.performance.get(measureName, "measure"); } return undefined; }, addMetric: function (name) { window.pof.performance.mark(name); var initialMark = window.pof.performance.get("Initial", "mark") ? "Initial" : null; var entry = window.pof.performance.measure(name, initialMark, name); var duration = (entry && entry.duration && Math.round(entry.duration)) || 0; window.pof.metrics[name] = duration; return duration; }, get: function (name, type) { type = type || "measure"; if (performance && performance.getEntriesByName) { var entries = performance.getEntriesByName(name, type); if (entries.length) return entries[entries.length – 1]; } return undefined; } }; window.pof.performance.mark("Initial"); try { !function () { if ('PerformanceLongTaskTiming' in window) { var g = window.__tti = { e: [] }; g.o = new PerformanceObserver(function (l) { g.e = g.e.concat(l.getEntries()) }); g.o.observe({ entryTypes: ['longtask'] }) } }(); if ('PerformanceObserver' in window) { var observer = new PerformanceObserver(function(list) { window.pof.metrics = window.pof.metrics || {}; var entries = list.getEntries(); for (var i = 0; i <![CDATA[ (function(window, document, dataLayer) { function getGTMCookies(document) { var GTMCookies = {}; var cookieSets = document.cookie.split(";"); for (var i = 0; i <![CDATA[!function(T,l,y){var S=T.location,k="script",D="instrumentationKey",C="ingestionendpoint",I="disableExceptionTracking",E="ai.device.",b="toLowerCase",w="crossOrigin",N="POST",e="appInsightsSDK",t=y.name||"appInsights";(y.name||T[e])&&(T[e]=t);var n=T[t]||function(d){var g=!1,f=!1,m={initialize:!0,queue:[],sv:"5",version:2,config:d};function v(e,t){var n={},a="Browser";return n[E+"id"]=a[b](),n[E+"type"]=a,n["ai.operation.name"]=S&&S.pathname||"_unknown_",n["ai.internal.sdkVersion"]="javascript:snippet_"+(m.sv||m.version),{time:function(){var e=new Date;function t(e){var t=""+e;return 1===t.length&&(t="0"+t),t}return e.getUTCFullYear()+"-"+t(1+e.getUTCMonth())+"-"+t(e.getUTCDate())+"T"+t(e.getUTCHours())+":"+t(e.getUTCMinutes())+":"+t(e.getUTCSeconds())+"."+((e.getUTCMilliseconds()/1e3).toFixed(3)+"").slice(2,5)+"Z"}(),iKey:e,name:"Microsoft.ApplicationInsights."+e.replace(/-/g,"")+"."+t,sampleRate:100,tags:n,data:{baseData:{ver:2}}}}var h=d.url||y.src;if(h){function a(e){var t,n,a,i,r,o,s,c,u,p,l;g=!0,m.queue=[],f||(f=!0,t=h,s=function(){var e={},t=d.connectionString;if(t)for(var n=t.split(";"),a=0;a
from
{ // console.log(“Window is loaded. Registering service worker”); // navigator.serviceWorker.register(“/dist/service-worker.js”).then( // registration => { // // Registration was successful // console.log(“ServiceWorker registration successful with scope: “, registration.scope); // }, // err => { // // registration failed 🙁 // console.log(“ServiceWorker registration failed: “, err); // } // ); //}); } ]]>
Source
