import{Q as i,L as e}from"./Constants-365af316.js";import{O as t}from"./OsmConnection-65a0af54.js";console.log("Authorizing...");if(i.wasInitialized("error")){alert("Access was denied");const o=e.get("location_before_login");window.location.href=o.data??"./"}else new t().finishLogin(o=>{const n=window.location.protocol+"//"+window.location.host+"/index.html";o??(o=n),o.indexOf("/land")>0&&(o=n),console.log("Redirecting to",o),window.location.href=o});
//# sourceMappingURL=land-1aa87f3f.js.map
