PageSourceSearch

https://www.phocassoftware.com/hubfs/hub_generated/template_assets…/template_popup-demo-form-modal.min.js

js phocassoftware.com collected 2026-09-25 19:11:06 UTC 2,043 bytes, 2 lines download raw bytes

1!function(){var e;e=function(){const e=document.querySelector("[data-popup-demo-form-modal]");if(!e)return;e.querySelector("[data-popup-demo-form-target]");const t=e.getAttribute("data-popup-demo-form-id");let n=!1,o=null;function r(){return Array.from(e.querySelectorAll('a[href], button, input, select, textarea, [tabindex]:not([tabindex="-1"])')).filter(function(e){return!e.disabled&&null!==e.offsetParent})}function c(e){if("Escape"===e.key)return e.preventDefault(),void a();if("Tab"!==e.key)return;const t=r();if(0===t.length)return;const n=t[0],o=t[t.length-1];e.shiftKey&&document.activeElement===n?(e.preventDefault(),o.focus()):e.shiftKey||document.activeElement!==o||(e.preventDefault(),n.focus())}function d(){o=document.activeElement,n||(n=!0,function(e){const t="https://js.hsforms.net/forms/v2.js";if(n=t,Array.from(document.querySelectorAll("script")).some(function(e){return e.src===n}))e();else{const n=document.createElement("script");n.src=t,n.onload=e,document.head.appendChild(n)}var n}(function(){hbspt.forms.create({portalId:"270076",formId:t,target:"[data-popup-demo-form-target]"})})),e.classList.remove("hidden"),document.body.style.overflow="hidden",document.addEventListener("keydown",c),(r()[0]||e).focus()}function a(){e.classList.add("hidden"),document.body.style.removeProperty("overflow"),document.removeEventListener("keydown",c),o&&(o.focus(),o=null)}document.addEventListener("click",function(e){e.target.closest("[data-popup-demo-form-trigger]")&&(e.preventDefault(),d())}),e.querySelectorAll("[data-popup-demo-form-close]").forEach(function(e){e.addEventListener("click",function(e){e.preventDefault(),a()})}),e.addEventListener("click",function(e){e.target.hasAttribute("data-popup-demo-form-backdrop")&&a()})},"complete"===document.readyState||"interactive"===document.readyState?e():document.addEventListener("DOMContentLoaded",e)}();
2//# sourceURL=https://270076.fs1.hubspotusercontent-na1.net/hubfs/270076/hub_generated/template_assets/1/222557091937/1790208050236/template_popup-demo-form-modal.js

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.