{"version":3,"file":"after_push_through_to_match_flow-SNpWDplm.js","sources":["../../app/javascript/components/sign_up/after_push_through_to_match_flow.jsx","../../app/javascript/entrypoints/react_rails/sign_up/after_push_through_to_match_flow.tsx"],"sourcesContent":["// Third-party imports.\nimport React from \"react\";\nimport jQuery from \"jquery\";\nimport PropTypes from \"prop-types\";\nimport \"react-phone-number-input/style.css\";\nimport PhoneInput from \"react-phone-number-input\";\n// Our imports.\nimport LegalTermsAgreement from \"../legal_terms_agreement\";\nimport EuCitizenCheckbox from \"./eu_citizen_checkbox\";\nimport ButtonWithSpinner from \"../button_with_spinner\";\nimport { Provider as StyletronProvider } from \"styletron-react\";\nimport { Client as Styletron } from \"styletron-engine-atomic\";\nimport { BaseProvider } from \"baseui\";\nimport { ThemeProvider } from \"styled-components\";\nimport { ThemeProvider as MaterialThemeProvider, THEME_ID } from \"@mui/material/styles\";\nimport { LocalizationProvider } from \"@mui/x-date-pickers/LocalizationProvider\";\nimport { AdapterDateFns } from \"@mui/x-date-pickers/AdapterDateFnsV3\";\nimport materialTheme from \"../styling/material_theme\";\nimport deprecatedTheme from \"../styling/deprecated_theme\";\nimport baseuiTheme from \"../styling/baseui_theme\";\nimport \"./after_push_through_to_match_flow.css\";\nimport ProgramSchoolLogoBlock from \"../shared/login_and_sign_up/program_school_logo_block\";\n\nconst engine = new Styletron();\nclass AfterPushThroughToMatchFlow extends React.Component {\n static propTypes = {\n // The jwt token containing the user's email address.\n token: PropTypes.string.isRequired,\n programData: PropTypes.object.isRequired,\n\n createZendeskTicketPath: PropTypes.string.isRequired,\n signUpAndRegisterPath: PropTypes.string.isRequired,\n csrfToken: PropTypes.string.isRequired,\n };\n\n constructor(props) {\n super(props);\n this.state = {\n // The user's phone number in E164 format.\n phone: \"\",\n\n isEUCitizen: false,\n acceptedLegalTerms: false,\n\n // We may display errors to the user if information they provided is invalid.\n errors: [],\n\n // Whether a request to the backend is in-flight.\n processingSubmission: false,\n };\n }\n\n render() {\n return (\n
\n Your phone number will be shared with your mentor when you are matched (and in exchange, you\n will receive theirs). We will also use it to check in with you and make sure everything is\n going ok in the program.\n
\n );\n }\n}\n\nexport default AfterPushThroughToMatchFlow;\n","import React from \"react\";\nimport { createRoot } from \"react-dom/client\";\nimport AfterPushThroughToMatchFlow from \"../../../components/sign_up/after_push_through_to_match_flow\";\n\nfunction init() {\n const componentElements = document.querySelectorAll(\n '[data-react-class=\"sign_up/after_push_through_to_match_flow\"]',\n );\n componentElements.forEach((rootElement) => {\n const classString = rootElement.getAttribute(\"data-react-class\");\n const propsJson = rootElement.getAttribute(\"data-react-props\");\n const props = rootElement && JSON.parse(propsJson ?? \"\");\n if (classString) {\n const root = createRoot(rootElement);\n root.render(