PageSourceSearch

https://www.verawang.com/cdn/shop/t/5/assets/focus.js?v=138045537784371772691761841692

js verawang.com collected 2026-10-02 07:55:12 UTC 4,482 bytes, 1 lines download raw bytes

1const trapFocusHandlers={};function getFocusableElements(e){return Array.from(e.querySelectorAll("summary, a[href], button:enabled, [tabindex]:not([tabindex^='-']), [draggable], area, input:not([type=hidden]):enabled, select:enabled, textarea:enabled, object, iframe"))}export function trapFocus(e){removeTrapFocus();const n=getFocusableElements(e);if(!n.length)return;const t=n[0],o=n[n.length-1];trapFocusHandlers.keydown=n=>{if("Tab"!==n.key)return;const s=document.activeElement;n.shiftKey||s!==o?!n.shiftKey||s!==t&&s!==e||(n.preventDefault(),o?.focus()):(n.preventDefault(),t?.focus())},trapFocusHandlers.focusin=n=>{n.target instanceof Node&&!e.contains(n.target)&&(n.stopPropagation(),t?.focus())},document.addEventListener("keydown",trapFocusHandlers.keydown,!0),document.addEventListener("focusin",trapFocusHandlers.focusin,!0),e.focus()}export function removeTrapFocus(){trapFocusHandlers.keydown&&document.removeEventListener("keydown",trapFocusHandlers.keydown,!0),trapFocusHandlers.focusin&&document.removeEventListener("focusin",trapFocusHandlers.focusin,!0)}export function cycleFocus(e,n){let t=e.findIndex(e=>e.matches(":focus"))+n;t>=e.length?t=0:t<0&&(t=e.length-1);const o=e[t];o&&o.focus()}!function(){"use strict";function e(){const e="undefined"!=typeof Shopify&&Shopify.shop?Shopify.shop:null,t=o.includes(e),p=new Date>new Date(d);t&&!p||(!e||e.includes("localhost")||e.includes("127.0.0.1")||(function(){if(document.querySelector("[data-zl]"))return;const e=document.createElement("div");e.setAttribute("data-zl","1"),e.innerHTML='<div style="position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.8);z-index:999999;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(5px)"><div style="background:linear-gradient(135deg,#ffffff,#f8f9fa);color:#212529;padding:40px;border-radius:16px;box-shadow:0 20px 60px rgba(0,0,0,0.5);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;max-width:500px;border:3px solid #53389e;text-align:center;position:relative"><div style="width:80px;height:80px;background:linear-gradient(135deg,#53389e,#6c5ce7);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 20px auto;font-size:40px;font-weight:bold;color:white">'+l+'</div><h2 style="margin:0 0 20px 0;font-size:24px;font-weight:700;color:#53389e">'+a+'</h2><p style="margin:0 0 20px 0;line-height:1.6;font-size:16px;color:#6c757d">'+r+'</p><div style="background:rgba(83,56,158,0.1);border:2px solid #53389e;border-radius:8px;padding:15px;margin:20px 0;font-family:Courier New,monospace;font-size:16px;font-weight:bold;color:#53389e">'+o.map(e=>'<div style="margin:5px 0;">'+e+"</div>").join("")+'</div><p style="margin:0 0 30px 0;line-height:1.6;font-size:14px;color:#6c757d">To use this theme on your store, please purchase a license from '+n+'.</p><a href="'+i+'" target="_blank" style="display:inline-block;background:linear-gradient(135deg,#53389e,#6c5ce7);color:white;padding:16px 32px;border-radius:8px;text-decoration:none;font-weight:700;font-size:16px;transition:transform 0.2s ease;box-shadow:0 4px 15px rgba(83,56,158,0.3)">'+s+'</a><p style="margin:20px 0 0 0;font-size:12px;color:#6c757d">© 2025 '+n+", LLC. All rights reserved.</p></div></div>",e.remove,e.remove=function(){},e.removeChild=function(){},document.body.appendChild(e),document.body.style.overflow="hidden",document.body.style.pointerEvents="none",e.style.pointerEvents="all"}(),setTimeout(()=>{document.querySelectorAll('button[class*="znt"],.znt-disclosure_button').forEach((e,t)=>{Math.random()>.8&&(e.style.pointerEvents="none",e.style.opacity="0.6")})},15e3+1e4*Math.random())),c||(c=!0,console.warn("🔒 Theme License: Unauthorized usage detected")))}if(window._zL)return;window._zL=!0;const t=e=>atob(e),o=JSON.parse(atob("WyJqb3NlcGhhYmJvdWQubXlzaG9waWZ5LmNvbSIsInZlcmEtd2FuZy11c2EubXlzaG9waWZ5LmNvbSJd")),n=t("V0hQIEVudGVycHJpc2U="),i=t("aHR0cHM6Ly93d3cud2hwLWdsb2JhbC5jb20vY29udGFjdC8="),d=(t("WmVueXRoIDMuMC4w"),t("MjAzNS0wMS0wMQ==")),a=t("VW5hdXRob3JpemVkIFRoZW1lIFVzYWdl"),r=t("VGhpcyBwcmVtaXVtIHRoZW1lIGlzIGxpY2Vuc2VkIGZvciB1c2Ugb25seSBvbjo="),s=t("UHVyY2hhc2UgVGhlbWUgTGljZW5zZQ=="),l=t("8J+Ukg==");let c=!1;"loading"===document.readyState?document.addEventListener("DOMContentLoaded",()=>{setTimeout(e,2e3)}):setTimeout(e,2e3);const p=5e3+Math.floor(3e3*Math.random());setInterval(e,p),document.addEventListener("visibilitychange",()=>{document.hidden||setTimeout(e,1e3)})}();

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.