1import{i as M}from"./chunk-ACJ3NLO5.js";import{b as E}from"./chunk-GPVZISOV.js";import"./chunk-45WCVJBT.js";import"./chunk-74CDSVWG.js";import{B as P,D as O}from"./chunk-SEQCRKB6.js";import{Aa as w,Ba as y,Ca as S,Ja as C,Ka as F,La as U,Sb as N,Tb as R,V as c,Wa as f,Y as m,ha as d,ia as s,la as u,ma as g,ob as _,pb as I,qa as p,xa as o,ya as h,za as v}from"./chunk-HBLARLGW.js";var j=["form"];function D(t,e){if(t&1&&w(0,"input",4),t&2){let n=e.$implicit;o("name",f(n.key))("value",f(n.value))}}function V(t,e){if(t&1&&(y(0),p(1,D,1,4,"input",3),S()),t&2){let n=e.ngIf;s(),o("ngForOf",n)}}var Q=(()=>{let e=class e{constructor(){this.loadingSpinnerService=m(E),this.router=m(N),this.forwardUrl=this.getForwardUrl()}ngOnInit(){this.loadingSpinnerService.show()}ngAfterViewInit(){this.form.nativeElement.submit()}ngOnDestroy(){this.loadingSpinnerService.hide()}getForwardUrl(){let i=this.router.currentNavigation()?.extras.state?.forwardUrl;if(!i||!i.formPostParameters)throw new Error("Invalid form POST redirect: no forward URL with form parameters present");return i}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=u({type:e,selectors:[["iam-form-post-redirect"]],viewQuery:function(r,a){if(r&1&&C(j,5),r&2){let l;F(l=U())&&(a.form=l.first)}},standalone:!1,decls:3,vars:2,consts:[["form",""],["method","post",3,"action"],[4,"ngIf"],["type","hidden",3,"name","value",4,"ngFor","ngForOf"],["type","hidden",3,"name","value"]],template:function(r,a){r&1&&(h(0,"form",1,0),p(2,V,2,1,"ng-container",2),v()),r&2&&(o("action",a.forwardUrl.url,d),s(2),o("ngIf",a.forwardUrl.formPostParameters))},dependencies:[_,I,O,P],encapsulation:2});let t=e;return t})();var x=[{path:"",component:Q,pathMatch:"full",runGuardsAndResolvers:"always"}],W=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=g({type:e}),e.\u0275inj=c({imports:[R.forChild(x),M]});let t=e;return t})();export{W as FormPostRedirectModule};
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.