PageSourceSearch

https://www.mondaq.com/js/Components/registration.min.js?v=1790582236958

js mondaq.com collected 2026-10-02 02:13:02 UTC 1,414 bytes, 1 lines download raw bytes

1import{fetchWrapper,isNullOrEmpty}from"../tools.min.js?v=1790582236958";import{wireupUserDetails}from"./userDetails.min.js?v=1790582236958";import{wireupRegistrationPreferences}from"./registrationPreferences.min.js?v=1790582236958";function wireupRegistration(r=""){wireupSubmit(),wireupUserDetails(),document.querySelectorAll(".registration-loginLink").forEach(e=>{e.addEventListener("click",e=>{import("./login.min.js?v=1790582236958").then(e=>{e.showLogin(r)})})})}function wireupSubmit(){var t=document.querySelector(".registration");const r=document.querySelector("form.userDetails");r.addEventListener("submit",e=>{e.preventDefault();r.querySelector('button[type="submit"]').disabled=!0;e=new FormData(r);fetchWrapper("/account/register",!0,e,e=>{var r;isNullOrEmpty(e.redirect)||window.location.replace(e.redirect),isNullOrEmpty(e)||(t.outerHTML=e,e=document.querySelector(".userDetails"),r=document.querySelector(".userPreferences"),isNullOrEmpty(e)||wireupRegistration(),isNullOrEmpty(r)||wireupRegistrationPreferences(),document.body.scrollTop=document.documentElement.scrollTop=0)},e=>{t.textContent="An error has occurred"})})}function showRegisterModal(t=""){fetchWrapper("/account/RegisterPartial",!1,null,r=>{import("./modal.min.js?v=1790582236958").then(e=>{e.showModal(r,!0,t),wireupRegistration(t)})},e=>{window.location.assign("/account/register")})}export{wireupRegistration,showRegisterModal};

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.