1(()=>{"use strict";function t(t,e){localStorage.getItem(t)||localStorage.setItem(t,e)}var e=new URL(window.location.href);function n(t){"loading"!==document.readyState?t():document.addEventListener("DOMContentLoaded",(function(){t()}))}t("url_refer",document.referrer),t("landing_url",window.location.href),["utm_medium","utm_source","utm_campaign","utm_content","utm_term","gclid","ctcid","utm_adgroup","utm_placement","utm_network"].forEach((t=>{const n=[...e.searchParams.entries()].find((([e])=>e.toLowerCase()===t.toLowerCase()))?.[1];!function(t,e){e&&localStorage.setItem(t,e)}(t,n)}));const o=[{name:"landing-url",storedValue:"landing_url"},{name:"refer-url",storedValue:"url_refer"},{name:"current-url",value:new URL(window.location.href)},{name:"utm-medium",storedValue:"utm_medium"},{name:"utm-source",storedValue:"utm_source"},{name:"utm-campaign",storedValue:"utm_campaign"},{name:"utm-content",storedValue:"utm_content"},{name:"utm-term",storedValue:"utm_term"},{name:"gclid",storedValue:"gclid"},{name:"utm-adgroup",storedValue:"utm_adgroup"},{name:"utm-network",storedValue:"utm_network"},{name:"utm-placement",storedValue:"utm_placement"},{name:"unm-log",storedValue:"trafficLog"}];n((function(){const t=document.querySelectorAll('[unm-form="utm"]');t.length>0&&(console.log("Found a form"),t.forEach((t=>{o.forEach((e=>{const n=document.createElement("input");n.type="hidden",n.name=e.name,e.storedValue&&n.setAttribute("unm-stored-value",e.storedValue),e.value&&(n.value=e.value),t.appendChild(n)}))}))),document.querySelectorAll("[unm-stored-value]").forEach((t=>{const e=t.getAttribute("unm-stored-value"),n=localStorage.getItem(e);null!==n&&("INPUT"===t.tagName||"TEXTAREA"===t.tagName?t.value=n:t.textContent=n)}))}));var a=!1,r=new URL(window.location.href).searchParams.get("debug");function i(t){a&&console.log(t)}(-1!=window.location.href.indexOf("webflow.io")||r)&&(a=!0,console.log("!!UNM.JS IS IN DEBUG MODE!!"));var l=new URL(window.location.href),c=new Date;function m(t){fetch("https://automations.unnamedco.com/webhook/9b069399-c882-4999-8916-3fdddd4a8524",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)}).then((t=>{i("Reported Action"),i(t)})).catch((t=>{i("Failed to report action."),i(t)}))}const u="trafficLog",s=1,d=2;function f(t,e=["r","d"]){const n=new URL(t),o=new URLSearchParams(n.search),a=new URLSearchParams;return e.forEach((t=>{o.has(t)&&a.set(t,o.get(t))})),n.origin+n.pathname+(a.toString()?"?"+a:"")}function g(t){const e=t.getAttribute("unm-toggle");document.querySelectorAll(`[unm-toggle-show-if="${e}"]`).forEach((e=>{t.checked?e.style.display=e.getAttribute("data-original-display")||"block":(e.setAttribute("data-original-display",e.style.display||"block"),e.style.display="none")}))}function h(t){const e=document.createElement("style");e.type="text/css",e.innerHTML=t,document.head.appendChild(e)}function p(){window.Webflow&&window.Webflow.destroy(),window.Webflow&&window.Webflow.ready(),window.Webflow&&window.Webflow.require("ix2").init(),i("Reinitilized Webflow")}n((function(){var t=localStorage.getItem("ctcid"),e=l.searchParams.get("ctcid"),n=window.location.href;if(t||e)t&&(i("found ctcid in local storage, reporting visit..."),m({ctcid:t,type:d,url:n,time:c})),e&&(i("found ctcid in URL, reporting click..."),m({ctcid:e,type:s,subject:l.searchParams.get("utm_campaign"),linkContent:l.searchParams.get("utm_content"),url:f(window.location.href),time:c}));else{var o=localStorage.getItem(u),a=(o=localStorage.getItem(u))?JSON.parse(o):[];a.push({url:f(window.location.href),time:(new Date).toISOString()}),a.length>15&&a.shift(),localStorage.setItem(u,JSON.stringify(a))}})),n((function(){document.querySelectorAll("[unm-toggle]").forEach((t=>{t.onchange=function(){g(this)},g(t)}))})),n((function(){document.querySelectorAll("form[unm-report-event]").forEach((t=>{console.log("Found a form"),t.getAttribute("unm-report-event"),t.addEventListener("submit",(function(){localStorage.getItem("utm_source")}))}));const t=document.querySelector("body[unm-report-event]");t&&(t.getAttribute("unm-report-event"),localStorage.getItem("utm_source"))}));const w=document.querySelector("[unm-modal-link='container']"),y=document.querySelector("[unm-modal-link='loader']"),S=document.querySelector("[unm-modal-link='modal']"),b=window.location.url;function v(){S.classList.remove("modal-animation-show"),w.classList.remove("modal-animation-show"),i("Setting browser url to original URL: "+b),history.pushState({url:b},"",b),setTimeout((()=>{S.style.display="none",w.style.display="none",L(S)}),400)}function L(t){t.querySelectorAll("[unm-modal-content]").forEach((t=>{t.innerHTML=""}))}n((function(){var t=document.querySelectorAll("[unm-modal-link='link']");t.length>0&&(t.forEach((t=>{i("Initializing unm-modal-link for: "+t.getAttribute("href")),t.addEventListener("click",(function(t){t.preventDefault(),async function(t){w.style.display="block",S.style.display="none",y.style.display="flex",setTimeout((()=>{w.classList.add("modal-animation-show")}),10);try{const n=await fetch(t),o=await n.text(),a=new DOMParser;e=a.parseFromString(o,"text/html"),L(S),S.querySelectorAll("[unm-modal-content]").forEach((t=>{const n=t.getAttribute("unm-modal-content"),o=e.querySelector(`[unm-modal-content='${n}']`);o?(t.innerHTML=o.innerHTML,t.style.display=""):t.style.display="none"})),w.style.display="block",S.style.display="block",window.addEventListener("popstate",(t=>{i("Popstate"),i(t),t.state&&t.state.url&&v()})),setTimeout((()=>{S.classList.add("modal-animation-show"),w.classList.add("modal-animation-show"),setTimeout((()=>{p(),y.style.display="none"}),400)}),200),history.pushState({url:t},"",t)}catch(t){console.error("Error fetching modal content:",t)}var e}(this.getAttribute("href"))}))})),document.querySelector("[unm-modal-link='close']").addEventListener("click",(function(){v()})),function(){if(document.querySelector("[unm-modal-animation]")){h("\n.modal-container-animation-fade-in{\n opacity: 0;\n transition: 0.4s;\n}\n.modal-container-animation-fade-in.modal-animation-show{\n opacity: 1;\n}\n\n");const t=document.querySelector("[unm-modal-animation]");document.querySelectorAll("[unm-modal-animation]").forEach((t=>{t.classList.add("modal-container-animation-fade-in")})),document.querySelector("[unm-modal-animation='slide-up']")&&(h("\n\n.modal-animation-sli
1de-up {\n opacity: 0;\n transform: translateY(20px);\n transition: 0.4s;\n /* Add other necessary modal styles here */\n}\n\n.modal-animation-slide-up.modal-animation-show {\n opacity: 1;\n transform: translateY(0);\n}\n"),t.querySelector("[unm-modal-link='modal']").classList.add("modal-animation-slide-up"))}}())}));let E={root:null,rootMargin:"0px",threshold:1},A=(t,e)=>{t.forEach((t=>{t.isIntersecting&&(async function(t){i("Element is in view:"),i(t);const e=t.getAttribute("unm-import");try{const n=await fetch(e),o=await n.text(),a=(new DOMParser).parseFromString(o,"text/html").querySelector("[unm-import]");t.innerHTML=a.innerHTML,i("Completed Import"),p()}catch(t){console.error("Error fetching modal content:",t)}}(t.target),e.unobserve(t.target))}))};n((function(){document.querySelectorAll("[unm-import]").forEach((t=>{i("Found something to import..."),i(t),new IntersectionObserver(A,E).observe(t)}))})),n((function(){document.querySelectorAll("[unm-form-post]").forEach((t=>{console.log("Found a form");const e=t.getAttribute("unm-form-post");t.attemptingSubmit=!1,t.addEventListener("submit",function(t,e){return async function(n){if(e.attemptingSubmit)return;n.preventDefault();const o=new FormData(n.target);e.attemptingSubmit=!0;try{const e=await fetch(t,{method:"POST",body:o});if(!e.ok)throw new Error("Failed to post form data.");{console.log("Form data posted successfully!");const t=await e.json();console.log(t)}}catch(t){console.error("Error posting form data:",t),e.dispatchEvent(new Event("submit",{cancelable:!0,bubbles:!0}))||e.submit()}}}(e,t))}))})),console.log("(Loaded Unnamed Media JS Library)")})();
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.