PageSourceSearch

https://researchinnovationsymposium.com/wp-content/themes/ncstate-…/dist/scripts/wolf-alert.js?ver=4.17.6

js researchinnovationsymposium.com collected 2026-09-29 17:32:24 UTC 2,237 bytes, 1 lines download raw bytes

1!function(){const t=new class{constructor(t){this.url=t,this.includeLowPriority=wolfAlertConfig?.include_low_priority,this.isCoreSite="1"===wolfAlertConfig?.is_core_active}async fetchData(){try{const t=await fetch(this.url,{cache:"no-store"}),e=await t.json();return("low"!==e.priority||this.includeLowPriority)&&("core_only"!==e.scope||this.isCoreSite)?e:null}catch(t){console.error("Error:",t)}}createWarningIcon(t){const e=document.createElementNS("http://www.w3.org/2000/svg","svg");e.setAttribute("viewBox","0 0 512 512"),e.setAttribute("height","24"),e.setAttribute("width","24"),e.style.marginBottom="0.5rem";const n=document.createElementNS("http://www.w3.org/2000/svg","path");n.setAttribute("d","M506.82 425.56L289 48.31a38.11 38.11 0 00-66 0L5.18 425.56a38.11 38.11 0 0033 57.19H473.8a38.11 38.11 0 0033-57.19zM277 417.64h-43.34v-45.35H277zm-4.09-67.18h-35.15l-6.14-179.37h45.69z"),e.appendChild(n),t.prepend(e)}async createAlert(t){const e=document.createElement("div"),n=document.createElement("div"),r=document.createElement("h2"),o=document.createElement("p"),a=document.createElement("a");r.textContent=t.messageHeadline,o.textContent=t.messageContent,a.textContent=t.cta,a.href=t.url,e.classList.add("wolf-alert"),n.classList.add("wolf-alert-wrapper"),n.appendChild(r),n.appendChild(o),n.appendChild(a),e.appendChild(n);const i=document.createElement("style");let l=t.priority;"high"===l&&this.createWarningIcon(n),i.textContent=`\n      .wolf-alert {\n        background-color: ${"high"===l?"var(--brand-yellow)":"var(--mid-gray)"};\n        padding: 2rem 1rem;\n      }\n\n      .wolf-alert-wrapper {\n        margin: 0 auto;\n        width: 100%;\n\n        @media (width >= 768px) {\n          width: 50%;\n        }\n      }\n\n      .wolf-alert-wrapper > * {\n        color: ${"high"===l?"var(--dark-gray)":"var(--white)"};\n      }\n\n      .wolf-alert-wrapper > h2,\n      .wolf-alert-wrapper > p {\n        font-size: 18px;\n      }\n    `,document.head.appendChild(i),document.body.insertBefore(e,document.body.firstChild)}}("https://cdn.ncsu.edu/wolfalert/alert.json");wolfAlertConfig.wolf_alert_active&&t.fetchData().then(e=>{e&&e.active&&t.createAlert(e)}),(window.ncst=window.ncst||{})["wolf-alert"]={}}();

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.