{
"version": 3,
"sources": ["../../src/flow/stages/autosubmit/AutosubmitStage.ts"],
"sourcesContent": ["import \"@goauthentik/elements/EmptyState\";\nimport { BaseStage } from \"@goauthentik/flow/stages/base\";\n\nimport { msg } from \"@lit/localize\";\nimport { CSSResult, TemplateResult, html } from \"lit\";\nimport { customElement, query } from \"lit/decorators.js\";\n\nimport PFButton from \"@patternfly/patternfly/components/Button/button.css\";\nimport PFForm from \"@patternfly/patternfly/components/Form/form.css\";\nimport PFFormControl from \"@patternfly/patternfly/components/FormControl/form-control.css\";\nimport PFLogin from \"@patternfly/patternfly/components/Login/login.css\";\nimport PFTitle from \"@patternfly/patternfly/components/Title/title.css\";\nimport PFBase from \"@patternfly/patternfly/patternfly-base.css\";\n\nimport { AutoSubmitChallengeResponseRequest, AutosubmitChallenge } from \"@goauthentik/api\";\n\n@customElement(\"ak-stage-autosubmit\")\nexport class AutosubmitStage extends BaseStage<\n AutosubmitChallenge,\n AutoSubmitChallengeResponseRequest\n> {\n @query(\"form\")\n private form?: HTMLFormElement;\n\n static get styles(): CSSResult[] {\n return [PFBase, PFLogin, PFForm, PFFormControl, PFButton, PFTitle];\n }\n\n updated(): void {\n this.form?.submit();\n }\n\n render(): TemplateResult {\n if (!this.challenge) {\n return html`