1customElements.get("bogo-unlock")||customElements.define("bogo-unlock",class extends HTMLElement{connectedCallback(){this.token=this.dataset.token||"",this.param=this.dataset.param||"bogo",this.cookieName=this.dataset.cookie||"hb_bogo_unlock",this.ttlDays=Number(this.dataset.ttlDays)||30,this.token&&(this.captureFromUrl(),this.apply(),this.bindRerenders())}captureFromUrl(){const e=new URLSearchParams(window.location.search).get(this.param);e&&e===this.token&&this.setCookie(this.cookieName,this.token,this.ttlDays)}isUnlocked(){return this.getCookie(this.cookieName)===this.token}apply(){if(!this.isUnlocked())return;const e='[data-bogo-locked="'+this.cssEscape(this.token)+'"]';document.querySelectorAll(e).forEach((e=>{e.setAttribute("data-bogo-enabled","")})),document.querySelectorAll("[data-bogo-locked-input]").forEach((e=>{e.removeAttribute("disabled")}))}bindRerenders(){let e=!1;const t=()=>{e=!1,this.apply()};this.observer=new MutationObserver((()=>{e||(e=!0,window.requestAnimationFrame(t))})),this.observer.observe(document.body,{childList:!0,subtree:!0})}setCookie(e,t,o){const s=new Date;s.setTime(s.getTime()+24*o*60*60*1e3),document.cookie=e+"="+encodeURIComponent(t)+";expires="+s.toUTCString()+";path=/;SameSite=Lax"}getCookie(e){const t=document.cookie.split("; ").find((t=>0===t.indexOf(e+"=")));return t?decodeURIComponent(t.split("=")[1]):null}cssEscape(e){return window.CSS&&window.CSS.escape?window.CSS.escape(e):e.replace(/"/g,'\\"')}});
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.