1import{S as e}from"../ShareMenu.hashM5xffo7c.esm.js";import{c as t,f as r,o}from"/vendorJs/@popperjs/core.hashOGXEMmFd.esm.js";import{r as n}from"../requirements.hashDboAAqHv.esm.js";import{c as a}from"../requirements.hashIqVI8uV8.esm.js";import{c as s}from"../requirements.hasheXV4s-CN.esm.js";import"/vendorJs/svelte.hashBlMZdJtb.esm.js";$("body").delegate(".linklike","keyup",function(e){13==e.keyCode&&$(this).trigger("click")});var i=$("ul.showcase > li");function c(){if("#share"==location.hash){Object.assign&&Array.prototype.fill||alert("Your browser is too outdated for the share feature to work.");var e=document.querySelectorAll("ul.showcase .attraction");for(let t=0;t<e.length;++t){let r=e[t],o=r.cloneNode(!0);o.classList.add("share"),o.classList.add("linklike"),o.addEventListener("click",e=>d(r.href,o)),o.removeAttribute("href"),r.parentNode.replaceChild(o,r),window.addEventListener("hashchange",function e(){o.parentNode.replaceChild(r,o),window.removeEventListener("hashchange",e)})}document.querySelector("#shareRequest").setAttribute("hidden",""),document.querySelector("#shareEnabled").removeAttribute("hidden"),window.addEventListener("hashchange",function e(){document.querySelector("#shareEnabled").setAttribute("hidden",""),document.querySelector("#shareRequest").removeAttribute("hidden"),window.removeEventListener("hashchange",e)})}}function d(n,a){var s=new e({target:document.body,props:{title:a.textContent,url:n,detailsHandler(e,n,a){var s=t(n,e,{placement:"bottom-start",modifiers:[r,o,{name:"offset",options:{offset:[36,0]}}]});h(e,()=>{a(),s.destroy()})}}}),i=s.getElem();i.id="attractionShareMenu",a.setAttribute("aria-owns","attractionShareMenu");var c=t(a,i,{placement:"bottom-start",modifiers:[r]});h(i,()=>{s.$destroy(),a.removeAttribute("aria-owns"),c.destroy()})}window.addEventListener("hashchange",c),c();var m=1e3;function h(e,t){var r=document.createElement("div");function o(){r.parentNode.removeChild(r),t()}r.style.cssText="position: fixed; top: 0; bottom: 0; left: 0; right: 0;",r.style.zIndex=m++,e.style.zIndex=m++,document.body.appendChild(r),r.onclick=o,r.ontouchstart=o,document.body.addEventListener("keyup",e=>{"Esc"!=e.key&&"Escape"!=e.key||(e.preventDefault(),o())})}function u(e){$(".notModernEnough").removeAttr("hidden"),$(e).find(".attraction").removeAttr("href"),i=i.not(e)}try{n()}catch(e){u("#SignsOfLife")}try{a()}catch(e){u("#LogoRemaker")}try{s()}catch(e){u("#Zapster")}try{(0,eval)("window?.nonexistant?.property")}catch(e){u("#MagicPuddle")}
1i.each(function(){var e=$(this).data("reqs");e&&!$.reqsCheck(e.split(" ")).canMeetReqs&&u(this)}),$("#instantRememberMe").bind("change",function(){$("#rememberMeStatus").text(" (One sec...)").removeClass("warning");var e=$("#instantRememberMe").prop("checked");$.ajax({url:"superspark/setRememberMe.php",type:"POST",data:{remember_me:e?"yes":"no",secToken:document.querySelector("#logoutForm > [name='secToken']").value}}).done(function(){$("#rememberMeStatus").text(" (OK!)")}).fail(function(){$("#rememberMeStatus").text(" (Error)").addClass("warning"),$("#instantRememberMe").prop("checked",!e)})}),$("#logout").bind("click",function(){$("#logoutForm").submit()}); 2//# sourceMappingURL=web.esm.js.map
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.