{ "version": 3, "sources": ["../../src/flow/stages/access_denied/AccessDeniedStage.ts"], "sourcesContent": ["import \"@goauthentik/elements/EmptyState\";\nimport \"@goauthentik/flow/FormStatic\";\nimport { BaseStage } from \"@goauthentik/flow/stages/base\";\n\nimport { msg } from \"@lit/localize\";\nimport { CSSResult, TemplateResult, html, nothing } from \"lit\";\nimport { customElement } from \"lit/decorators.js\";\nimport { ifDefined } from \"lit/directives/if-defined.js\";\n\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 { AccessDeniedChallenge, FlowChallengeResponseRequest } from \"@goauthentik/api\";\n\n@customElement(\"ak-stage-access-denied\")\nexport class AccessDeniedStage extends BaseStage<\n AccessDeniedChallenge,\n FlowChallengeResponseRequest\n> {\n static get styles(): CSSResult[] {\n return [PFBase, PFLogin, PFForm, PFTitle, PFFormControl];\n }\n\n render(): TemplateResult {\n if (!this.challenge) {\n return html` `;\n }\n return html`
\n

${this.challenge.flowInfo?.title}

\n
\n
\n
\n \n
\n ${msg(\"Not you?\")}\n
\n \n \n ${this.challenge.errorMessage\n ? html`\n
\n

${this.challenge.errorMessage}

\n
\n `\n : nothing}\n
\n \n
\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"ak-stage-access-denied\": AccessDeniedStage;\n }\n}\n"], "mappings": "oPAkBO,IAAMA,EAAN,cAAgCC,CAGrC,CACE,WAAW,QAAsB,CAC7B,MAAO,CAACC,EAAQC,EAASC,EAAQC,EAASC,CAAa,CAC3D,CAEA,QAAyB,CACrB,OAAK,KAAK,UAGHC;AAAA,kDACmC,KAAK,UAAU,UAAU,KAAK;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sCAM1C,KAAK,UAAU,iBAAiB;AAAA,+BACvC,KAAK,UAAU,WAAW;AAAA;AAAA;AAAA,uCAGlBC,EAAU,KAAK,UAAU,UAAU,SAAS,CAAC;AAAA,mCACjDC,EAAI,UAAU,CAAC;AAAA;AAAA;AAAA;AAAA,6DAIWA,EAAI,0BAA0B,CAAC;AAAA,0BAClE,KAAK,UAAU,aACXF;AAAA;AAAA,2CAEa,KAAK,UAAU,YAAY;AAAA;AAAA,gCAGxCG,CAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uBAzBlBH,6CAgCf,CACJ,EA3CaP,EAANW,EAAA,CADNC,EAAc,wBAAwB,GAC1BZ", "names": ["AccessDeniedStage", "BaseStage", "patternfly_base_default", "login_default", "form_default", "title_default", "form_control_default", "ke", "to", "msg", "D", "__decorateClass", "t"] }