function pushPaintPerformanceEntriesToDataLayer(){if(window.performance&&window.performance.getEntriesByType){window.dataLayer=window.dataLayer||[];var b=window.performance;(b=b.getEntriesByType("paint"))&&b.length&&b.forEach(function(a,c,d){c=a.name;a=Math.round(a.startTime+a.duration);window.dataLayer.push({event:c,time:a})})}}pushPaintPerformanceEntriesToDataLayer();