PageSourceSearch

https://www.atlantic.net/wp-content/themes/anet/assets/js/embed-facade.js?ver=1789613733

js atlantic.net collected 2026-09-24 15:21:15 UTC 2,477 bytes, 1 lines download raw bytes

1(()=>{(()=>{let l="https://assets.calendly.com/assets/external/widget.css",o="https://assets.calendly.com/assets/external/widget.js",u=["utm_source","utm_medium","utm_campaign","utm_term","utm_content"],c=null;try{let t=document.getElementById("anet-consent"),n=t?JSON.parse(t.getAttribute("data-config")||"{}"):{};c=t?Number(n.version||1):null}catch{c=null}function m(t){try{if(!Number.isFinite(c))return!1;let n=document.cookie.match(/(?:^|; )anet_consent=([^;]*)/);if(!n)return!1;let e=JSON.parse(decodeURIComponent(n[1]));return!!e&&Number(e.v)===c&&e[t]===!0}catch{return!1}}function f(t){try{let n=new URL(t),e=new URLSearchParams(location.search);return u.forEach(s=>{let a=e.get(s);a&&n.searchParams.set(s,a.slice(0,200))}),n.toString()}catch{return t}}function r(t,n,e,s){if(document.querySelector(`${t}[${n}="${e}"]`))return;let a=document.createElement(t);a.setAttribute(n,e),Object.assign(a,s||{}),document.head.appendChild(a)}function g(t){let n=f(t.getAttribute("data-embed-url")||"");if(!n)return;let e=document.createElement("div");e.className="calendly-inline-widget",e.setAttribute("data-url",n),e.style.width="100%",e.style.height="100%",e.style.minWidth="320px",t.appendChild(e),r("link","href",l,{rel:"stylesheet"}),window.Calendly&&typeof window.Calendly.initInlineWidget=="function"?window.Calendly.initInlineWidget({url:n,parentElement:e}):r("script","src",o,{async:!0})}function h(t){let n=t.getAttribute("data-embed-src");if(!n)return;let e=document.createElement("iframe");e.src=n,e.title=t.getAttribute("data-embed-title")||"Embedded content",e.className=t.getAttribute("data-embed-class")||"h-full w-full",e.setAttribute("allowfullscreen",""),e.setAttribute("loading","lazy"),e.setAttribute("referrerpolicy","strict-origin-when-cross-origin"),t.appendChild(e)}function i(t,n){if(t.classList.contains("is-loaded"))return;t.classList.add("is-loaded");let e=t.querySelector("[data-embed-prompt]");e&&(e.hidden=!0),t.getAttribute("data-embed-facade")==="calendly"?g(t):h(t),n&&(t.setAttribute("tabindex","-1"),t.focus({preventScroll:!0}))}function d(){document.querySelectorAll("[data-embed-facade]").forEach(t=>{let n=t.getAttribute("data-embed-consent");n&&m(n)&&i(t,!1)})}document.addEventListener("click",t=>{let n=t.target.closest("[data-embed-load]");if(n){let e=n.closest("[data-embed-facade]");e&&(t.preventDefault(),i(e,!0));return}t.target.closest('[data-anet-consent="accept"], [data-anet-consent="save"]')&&setTimeout(d,50)}),d()})();})();

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.