1function xNotificationBar(t,e){if(document.querySelector("body > .brx-body.iframe"))return;let i=t.id,o="#"+t.id;t.querySelector(".x-notification_close").addEventListener("click",()=>{xCloseNotification(o)});let r=new Date().getTime(),n=!!localStorage&&!!localStorage["x-"+i+"-last-shown-time"]&&JSON.parse(localStorage["x-"+i+"-last-shown-time"]),a=!!localStorage&&!!localStorage["x-"+i+"-dismissed"]&&JSON.parse(localStorage["x-"+i+"-dismissed"]);var c=parseFloat(e.show_again.options.days),s=parseFloat(e.show_again.options.hours),d=c+s/24;switch(e.show_again.type){case"never":if(!1!==n)return;break;case"manual":return;case"dismiss":if(!1!==a){var u=(r-a)/864e5;if(u<d||0===d)return}break;case"after":var u=(r-n)/864e5;if(u<d)return;break;case"evergreen":if(t.querySelector(".brxe-xcountdown")&&localStorage&&localStorage["x-countdown-"+t.querySelector(".brxe-xcountdown").getAttribute("data-x-id")+"-end-times"]&&JSON.parse(localStorage["x-countdown-"+t.querySelector(".brxe-xcountdown").getAttribute("data-x-id")+"-end-times"])-new Date().getTime()<=0)return}xShowNotification(o),localStorage&&(localStorage["x-"+i+"-last-shown-time"]=JSON.stringify(r))}function xCloseNotification(t){document.querySelector(t).xslideUp(xNotificationBarConfig(document.querySelector(t)).slideDuration),document.querySelector(t).dispatchEvent(new Event("x_notification:close"));let e;document.querySelector(t).getAttribute("data-loop")&&(e=document.querySelector(t).classList+"-"+document.querySelector(t).getAttribute("data-loop")),document.querySelector(t).id&&(e=document.querySelector(t).id),localStorage["x-"+e+"-dismissed"]=JSON.stringify(new Date().getTime())}function xShowNotification(t){document.querySelector(t).style.display="flex",document.querySelector(t).dispatchEvent(new Event("x_notification:show"))}function xNotificationBarConfig(t,e={}){let i=t.getAttribute("data-x-notification"),o=i?JSON.parse(i):{};return o}document.addEventListener("DOMContentLoaded",function(t){bricksIsFrontend&&(bricksQuerySelectorAll(document,".brxe-xnotificationbar").forEach(t=>{""===t.id&&t.setAttribute("id","x-notification-bar_"+t.getAttribute("data-x-id")),xNotificationBar(t,xNotificationBarConfig(t))}),window.xCloseNotification=xCloseNotification,window.xShowNotification=xShowNotification)});
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.