1import{a as R,b as F}from"./chunk-5PVMDVH6.js";import"./chunk-A352Y2TG.js";import{a as S}from"./chunk-OIRFSLWN.js";import{i as w}from"./chunk-ACJ3NLO5.js";import{a as d}from"./chunk-GPVZISOV.js";import"./chunk-45WCVJBT.js";import{e as v}from"./chunk-74CDSVWG.js";import{na as g}from"./chunk-SEQCRKB6.js";import{C as l,E as s,Pb as u,Tb as h,V as c,Y as i,Ya as m,la as f,ma as p,u as n}from"./chunk-HBLARLGW.js";var a=(()=>{let r=class r{constructor(){this.pages=i(g),this.route=i(u),this.selfRegUiService=i(F),this.forwardLocation=i(S),this.failureService=i(v),i(d).onReady.subscribe(()=>this.performSelect())}performSelect(){let e=this.route.snapshot.paramMap.get("flowId"),t=this.route.snapshot.queryParams.Location;t&&this.forwardLocation.store(t),e?this.startFlow(e):this.startDefaultFlow()}startFlow(e){this.selfRegUiService.startFlow(e).pipe(s(t=>this.handleError(t,e))).subscribe({next:t=>this.selfRegUiService.handleSession(t)})}startDefaultFlow(){this.selfRegUiService.startDefaultFlow().pipe(s(e=>this.selfRegUiService.getDefaultFlowId().pipe(n(t=>this.handleError(e,t))))).subscribe({next:e=>this.selfRegUiService.handleSession(e)})}handleError(e,t){return e.status===404?(this.pages.routes.error.notFound.navigate(),l):this.failureService.handleFailure({errorResponse:e,flowId:t,fromFlowStart:!0})}};r.\u0275fac=function(t){return new(t||r)},r.\u0275cmp=f({type:r,selectors:[["ng-component"]],standalone:!1,features:[m([R])],decls:0,vars:0,template:function(t,U){},encapsulation:2});let o=r;return o})();var M=[{path:"",component:a,pathMatch:"full",runGuardsAndResolvers:"always"},{path:":flowId",component:a,runGuardsAndResolvers:"always"}],k=(()=>{let r=class r{};r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=p({type:r}),r.\u0275inj=c({imports:[h.forChild(M),w]});let o=r;return o})();export{k as FlowSelectModule};
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.