1!function(){var t,e,n="batteryWarning",a=!1,o=function(){return document.querySelector("#battery-low")},r="battery--show",c=function(){return o().classList.contains(r)},i=function(){c()||(o().classList.add(r),window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"lowBatteryShow"}))},s=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t||clearInterval(e),o().classList.remove(r)};document.querySelector("#battery-low header button").addEventListener("click",function(){sessionStorage.setItem(n,!1),s()}),null==(t=document.querySelector("#battery-low footer .form-binary-input"))||t.addEventListener("change",function(){setTimeout(function(){localStorage.setItem(n,!1),s()},1500)}),!navigator.getBattery||localStorage.getItem(n)||sessionStorage.getItem(n)||(e=setInterval(function(){navigator.getBattery().then(function(t){!t.charging&&t.level<.12&&(i(),a||(t.addEventListener("chargingchange",function(){t.charging&&c()&&s(!0)}),a=!0))}).catch(function(t){console.error("Battery status check failed",t),clearInterval(e)})},2e4)),window.showBatteryLowMessage=i}(); 2//# sourceMappingURL=battery.min.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.