PageSourceSearch

https://midlandsoccerclub.com/chunk-4CVZBQNN.js

js midlandsoccerclub.com collected 2026-10-09 22:41:42 UTC 1,639 bytes, 1 lines download raw bytes

1import{a as S}from"./chunk-U22BTVEZ.js";import{H as s,W as c,Xf as v,_ as p,ba as o,di as g,ge as u,je as h,k as m,pj as d,vd as f,xd as l}from"./chunk-SMW7PHYX.js";var U=(()=>{let r=class r{constructor(t,i,e,a,A){this.authorize=t,this.router=i,this.route=e,this.sessionService=a,this.siteDataService=A}canActivate(t,i){return this.authorize.isAuthenticated().pipe(c(e=>this.handleAuthorization(e,i)))}canActivateChild(t,i){return this.authorize.isAuthenticated().pipe(c(e=>this.handleAuthorization(e,i)))}handleAuthorization(t,i){if(console.log("Handle Authorization is authenticated: ",t),!t){i.root.queryParams.groupID?this.sessionService.setRegistrationGroupCookie(i.root.queryParams.groupID).subscribe(()=>{this.navigate(i)}):this.navigate(i);return}i.url.startsWith("/mfa-setup")||this.authorize.getUser().pipe(s(1)).subscribe(e=>{e&&this.authorize.isMfaSetupRequired(e)&&this.router.navigate(["/mfa-setup"])})}navigate(t){(window.location.hostname.includes("sprocketsports.com")?m(null):this.siteDataService.getPrivateClubDomain()).pipe(s(1)).subscribe({next:e=>{this.navigateToLogin(t,e)},error:()=>{this.navigateToLogin(t,null)}})}navigateToLogin(t,i){let e=window.location.href.includes("sprocket-intercom");if(i){let a=`${i}/${h.LoginPathComponents.join("/")}?${u.ReturnUrl}=${encodeURIComponent(e?document.referrer:t.url)}`;v(a)}else this.router.navigate(h.LoginPathComponents,{relativeTo:this.route,queryParams:{[u.ReturnUrl]:e?document.referrer:t.url}})}};r.\u0275fac=function(i){return new(i||r)(o(g),o(l),o(f),o(S),o(d))},r.\u0275prov=p({token:r,factory:r.\u0275fac,providedIn:"root"});let n=r;return n})();export{U as a};

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.