1jQuery(document).ready(function(){$("a.returnLink").length&&$("a.returnLink").each(function(){var n=window.location.href,r="returnto=",e=$(this).prop("href");n.indexOf(r)>0||n!==e&&(e=e.indexOf("?")>0?e+"&"+r+n:e+"?"+r+n,console.log('Adding "returnto" parameter to link '),$(this).prop("href",e))})}); 2createUrl=function(n,o){const t=new URL(o);for(key in n)t.searchParams.set(key,n[key]);return t.toString()},getGlobalClientId=function(){return!window.om||window.om.client_id?null:window.om.client_id},getGlobalClientUrl=function(){return!window.om||window.om.client_url?null:window.om.client_url},getGlobalWPNonce=function(){if(!window.om||!window.om.wp_nonce)throw"window.om.wp_nonce is not defined";return window.om.wp_nonce},getCurrentUrl=function(){return window.location.href},getSiteUrl=function(n){return n?document.location.origin+""+n:document.location.origin},getLoginUrl=function(n){const o={option:"oauthredirect",app_name:"openid",redirect_url:encodeURI(n||getCurrentUrl())};return createUrl(o,getSiteUrl())},getLogoutUrl=function(n){const o=getGlobalClientId(),t=getGlobalClientUrl(),e=getGlobalWPNonce();var i=getCurrentUrl();if(o&&t){const r={post_logout_redirect_uri:n||getCurrentUrl(),client_id:o};i=createUrl(r,t+"/auth/session/end")}const l={action:"logout",_wpnonce:e,redirect_to:encodeURI(i)};return createUrl(l,getSiteUrl("/wp-login.php"))},window.omAuthLogin=function(n){window.location.href=getLoginUrl(n)},window.omAuthLogout=function(n){window.location.href=getLogoutUrl(n)}; 3function LoginGreeting(){this.setListeners=function(){const e=document.querySelector(".om-login-greeting__button");e&&e.addEventListener("click",function(e){e.preventDefault(),document.getElementById("om-greeting").classList.add("om-greeting--hidden"),e.stopPropagation()})},this.setListeners()}document.addEventListener("DOMContentLoaded",function(){LoginGreeting()}); 4//# sourceMappingURL=script.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.