System.register(["./p-641f968d.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js","./p-7562cd98.system.js"],(function(e){"use strict";var t,s,r,o,n,a;return{setters:[function(e){t=e.h},function(e){s=e.c},function(e){r=e.A;o=e.a;n=e.b},function(e){a=e.T}],execute:function(){e("P",u);var c={Wrapper:r,Column:o,ButtonsContainer:n,Banner:{"&::part(erroralert-base)":{margin:"15px 0px"}},CodeError:{"&::part(erroralert-base)":{"margin-bottom":"15px"}},CodeSuccess:{"&::part(successalert-base)":{"margin-bottom":"15px"}},ContinueButton:{width:"100%"}};var l="\n:host {\n  display: block;\n}\n:host([hidden]): {\n  display: none;\n}\n";var i=s(c);var p=i.toString();function u(e){var s=e.states,r=e.callbacks;if(s.reset){return t("div",{class:i.classes.Wrapper+" "+i.classes.Column},t("style",{type:"text/css"},p),t(a,{type:"h3"},s.content.resetPasswordHeader),t("sqm-form-message",{class:i.classes.CodeSuccess,exportparts:"success-icon"},t("div",{part:"successalert-text"},s.content.resetSuccessText)),t("div",null,t("sl-button",{class:i.classes.ContinueButton,onClick:r.gotoNextPage,loading:s.loading,exportparts:"base: primarybutton-base",type:"primary"},s.content.continueButtonText)))}if(s.oobCodeValidating){return t("div",null)}if(!s.oobCodeValid){return t("div",{class:i.classes.Wrapper+" "+i.classes.Column},t("style",{type:"text/css"},p),t("sqm-form-message",{class:i.classes.CodeError,type:"error",exportparts:"erroralert-icon"},t("div",{part:"erroralert-text"},s.content.codeInvalidText)),t("div",null,t("sl-button",{class:i.classes.ContinueButton,onClick:r.failed,exportparts:"base: primarybutton-base",type:"primary"},s.content.continueButtonText)))}return t("div",{class:i.classes.Wrapper},t("style",{type:"text/css"},l,p),t(a,{type:"h2"},s.reset?s.content.passwordResetHeader:s.content.resetPasswordHeader),t("sl-form",{class:i.classes.Column,"onSl-submit":r.submit},e.states.error&&t("sqm-form-message",{type:"error",class:i.classes.Banner,exportparts:"erroralert-icon"},t("div",{part:"erroralert-text"},e.states.error)),!s.reset&&t("sqm-password-field",{fieldLabel:s.content.passwordFieldLabel,demoData:s.passwordDemoData,meetsRequirementsText:s.content.meetsRequirementsText,doesNotMeetRequirementsText:s.content.doesNotMeetRequirementsText,minErrorText:s.content.minErrorText,uppercaseErrorText:s.content.uppercaseErrorText,lowercaseErrorText:s.content.lowercaseErrorText,hasErrorText:s.content.hasErrorText}),!s.reset&&s.confirmPassword&&t("sl-input",{exportparts:"label: input-label, base: input-base",type:"password",name:"/confirmPassword",label:s.content.confirmPasswordFieldLabel,disabled:s.loading,required:true}),t("div",{class:i.classes.ButtonsContainer},t("sl-button",{class:i.classes.ContinueButton,submit:true,loading:s.loading,exportparts:"base: primarybutton-base",type:"primary"},s.reset?s.content.continueButtonText:s.content.resetPasswordButtonText))))}}}}));