1"use strict";(self.webpackChunkspectator_theme=self.webpackChunkspectator_theme||[]).push([[1689],{1689:function(e,t,o){o.r(t);const a=".header-nav__button--account",n=".header-nav__button--login";t.default=()=>{document.querySelectorAll(a);const e=document.querySelectorAll(n);if(new URLSearchParams(window.location.search).has("reset_token")&&window.tp?.pianoId&&tp.pianoId.show({screen:"login",displayMode:"modal"}),(()=>{const e=document.querySelectorAll(a),t=document.querySelectorAll(n);e.forEach((e=>{e.classList.add("header-nav__button-hide")})),t.forEach((e=>{e.classList.remove("header-nav__button-hide")}))})(),e.forEach((e=>{e.hasAttribute("href")&&e.removeAttribute("href"),e.addEventListener("click",(e=>{e.preventDefault(),window.tp?.pianoId&&tp.pianoId.show({displayMode:"modal"})}))})),window.tp?.pianoId?.getUser){tp.pianoId.getUser()&&(()=>{const e=document.querySelectorAll(a),t=document.querySelectorAll(n);e.forEach((e=>{e.classList.remove("header-nav__button-hide")})),t.forEach((e=>{e.classList.add("header-nav__button-hide")}))})()}}}}]);
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.