PageSourceSearch

https://norwichuni.ac.uk/app/themes/soak/public/js/global-notification.add894.js

js norwichuni.ac.uk collected 2026-10-02 17:17:57 UTC 999 bytes, 1 lines download raw bytes

1!function(){"use strict";var t;t=async()=>{console.log("global-notification");const t=document.querySelector(".global-notification");if(!t)return;const e=t.querySelector("button"),i=t.querySelector("[data-notification-timestamp]");if(!i)return;const n=i.dataset.notificationTimestamp;function o(){const{height:e}=t.getBoundingClientRect();document.documentElement.style.setProperty("--global-notification-height",`${e}px`)}!function(){const e=localStorage.getItem("hideNotification"),i=e?JSON.parse(e):null;i?.value?i.notificationTimestamp!==n&&t.classList.remove("hidden"):t.classList.remove("hidden"),o()}(),e?.addEventListener("click",()=>{!function(){const t={value:!0,notificationTimestamp:n};localStorage.setItem("hideNotification",JSON.stringify(t))}(),t.classList.add("hidden"),o()});let a=!1;window.addEventListener("resize",()=>{a||(a=!0,requestAnimationFrame(()=>{o(),a=!1}))})},window.requestAnimationFrame(async function e(){document.body?await t():window.requestAnimationFrame(e)})}();

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.