1const isAriaHiddenTrue=$el=>($el?$el.getAttribute("aria-hidden"):null)==="true",isHTMLElement=node=>node.nodeType===Node.ELEMENT_NODE,isModal=node=>node.children.length!==1?!1:Array.from(node.children[0].classList).some(cls=>cls.startsWith("kl-private-reset")),getTopLevelDomElements=()=>{const body=document.body;return Array.from(body.children).filter(node=>{if(isHTMLElement(node)){const tagName=node.tagName.toLowerCase();return tagName!=="script"&&tagName!=="link"&&tagName!=="iframe"&&tagName!=="style"&&!isModal(node)}return!1})},a11yHideTopLevelElements=()=>{getTopLevelDomElements().forEach($el=>{isAriaHiddenTrue($el)||($el.setAttribute("kl-aria-hidden","true"),$el.setAttribute("aria-hidden","true"))})},a11yShowTopLevelElements=()=>{getTopLevelDomElements().forEach($el=>{$el.hasAttribute("kl-aria-hidden")&&($el.removeAttribute("kl-aria-hidden"),$el.removeAttribute("aria-hidden"))})};window.addEventListener("klaviyoForms",function(e){e.detail.type=="open"&&a11yHideTopLevelElements(),e.detail.type=="close"&&a11yShowTopLevelElements()}); 2//# sourceMappingURL=/cdn/shop/t/722/assets/klaviyo-popup-accessibility.js.map?v=153323275169892241511789995314
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.