'+window.installWording+""}function renderSubscribeBtn(e){e.innerHTML="",e.innerHTML+=''+window.subscribeWording+""}function isIOS(){try{return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}catch(e){return!1}}function iosVersion(){try{var e,t,n;return isIOS()?(e=navigator.userAgent,(t=/Version\/(\d+\.\d+)/.exec(e))?parseFloat(t[1]):(n=/OS (\d+)_(\d+)/.exec(e))?parseFloat(n[1]+"."+n[2]):null):!1}catch(e){return null}}function supportsDeclarativeWebPush(){var e;return!!window.pushManager&&!!isIOS()&&!(!(e=iosVersion())||e<18.4)}function getUrlToOpen(){var e="https://unionbands.installable.app";return e}function InstallButton(){let e=this;this.element=document.querySelector("#install-btn"),this.render=function(){renderInstallBtn(e.element),e.element.classList.remove("disabled")},this.listen=function(){e.element.addEventListener("click",async function(e){openUrl(getUrlToOpen(),"install")})},this.init=function(){e.listen(),e.render()},this.init()}function Slideshow(){let i=this;this.elements=document.querySelectorAll("#screenshots > div img"),this.current=0,this.element=null,this.chevron='',this.lastUpdate=(new Date).getTime(),this.canUpdate=function(){return!((new Date).getTime()-i.lastUpdate<300||(i.lastUpdate=(new Date).getTime(),0))},this.rtl=function(){return"rtl"===document.querySelector("html").getAttribute("dir")},this.prev=function(){i.elements[i.current-1]?i.canUpdate()&&(--i.current,i.update()):i.update()},this.next=function(){i.elements[i.current+1]?i.canUpdate()&&(i.current+=1,i.update()):i.update()},this.update=function(){document.querySelectorAll(".slide").forEach(function(e,t){t===i.current-1||t===i.current+1?e.classList.add("adjacent"):e.classList.remove("adjacent"),t===i.current?e.classList.add("active"):e.classList.remove("active"),e.classList.remove("reveal")}),0!==i.current?i.element.classList.add("prev"):i.element.classList.remove("prev"),i.current",i.element.appendChild(n)});var e=document.createElement("div"),e=(e.classList.add("slideshow-close"),e.innerHTML=window.svgX,e.addEventListener("click",function(){i.element.remove()}),i.element.appendChild(e),document.createElement("div")),e=(e.classList.add("slideshow-prev"),e.innerHTML=i.chevron,e.addEventListener("click",i.prev),i.element.appendChild(e),document.createElement("div"));e.classList.add("slideshow-next"),e.innerHTML=i.chevron,e.addEventListener("click",i.next),i.element.appendChild(e),document.querySelector("body").appendChild(i.element),i.update()},this.init=function(){i.elements.forEach(function(e,t){e.addEventListener("click",function(){i.current=t,i.render()})})},this.init()}video&&video.addEventListener("click",function(e){991',window.svgBell='',window.svgInstall='',window.appId="sqr_5d570080962384000187b1cf",window.allgood="true",window.gettingstarted="true",new UrlCheck,window.installButton=new InstallButton,new Slideshow