{"version":3,"file":"react_components-DDPX7iv6.js","sources":["../../../app/javascript/components/authentication_modals/LinkAuthedUserConfirmationModal.jsx","../../../app/javascript/components/authentication_modals/UnknownReviewerConfirmationModal.jsx","../../../app/javascript/components/commodity_code_picker/SearchBar.jsx","../../../app/javascript/components/commodity_code_picker/SelectedSegments.tsx","../../../app/assets/images/supplier_commodity_picker/arrow-down-right.svg","../../../app/assets/images/supplier_commodity_picker/checkbox-selected.svg","../../../app/assets/images/supplier_commodity_picker/checkbox-unchecked.svg","../../../app/javascript/components/commodity_code_picker/picker/Focusable.tsx","../../../app/javascript/components/commodity_code_picker/picker/CommodityClass.tsx","../../../app/assets/images/supplier_commodity_picker/checkbox-partial-selected.svg","../../../app/assets/images/supplier_commodity_picker/collapse-small.svg","../../../app/assets/images/supplier_commodity_picker/expand-small.svg","../../../app/javascript/components/commodity_code_picker/picker/Family.tsx","../../../app/assets/images/supplier_commodity_picker/segment-checkbox-unchecked.svg","../../../app/assets/images/supplier_commodity_picker/collapse-large.svg","../../../app/assets/images/supplier_commodity_picker/expand-large.svg","../../../app/javascript/components/commodity_code_picker/picker/Segment.tsx","../../../app/assets/images/supplier_commodity_picker/close-info-box.svg","../../../app/assets/images/supplier_commodity_picker/info-i.svg","../../../app/javascript/components/commodity_code_picker/prop_shapes/commodity_class.ts","../../../app/javascript/components/commodity_code_picker/prop_shapes/family.ts","../../../app/javascript/components/commodity_code_picker/prop_shapes/segment.ts","../../../app/javascript/components/commodity_code_picker/Picker.jsx","../../../app/javascript/components/commodity_code_picker/Base.jsx","../../../app/javascript/components/commodity_code_picker/Wrapper.jsx","../../../app/javascript/components/image_uploader/Form.jsx","../../../app/javascript/components/image_uploader/Uploader.jsx","../../../app/javascript/components/SearchSuppliers.jsx","../../../app/javascript/components/supplier_onboarding/supplier_review_link_form/FormContext.ts","../../../app/javascript/components/supplier_onboarding/supplier_review_link_form/generateUrl.ts","../../../app/javascript/components/common/dropdown/SelectItems.tsx","../../../app/javascript/components/common/dropdown/Dropdown.tsx","../../../app/javascript/components/supplier_onboarding/supplier_review_link_form/ContractAndVechicleSelectForm.tsx","../../../app/javascript/components/supplier_onboarding/supplier_review_link_form/ContractAndVehicleSection.tsx","../../../app/javascript/components/supplier_onboarding/supplier_review_link_form/Preview.tsx","../../../app/javascript/components/supplier_onboarding/supplier_review_link_form/SectionHeader.tsx","../../../app/javascript/components/supplier_onboarding/supplier_review_link_form/SharingSection.tsx","../../../app/javascript/components/supplier_onboarding/supplier_review_link_form/CopyUrl.tsx","../../../app/javascript/components/supplier_onboarding/supplier_review_link_form/UrlGenerationSection.tsx","../../../app/javascript/components/supplier_onboarding/SupplierReviewLinkForm.tsx","../../../app/javascript/packs/react_components.js"],"sourcesContent":["import React from 'react'\nimport UserConfirmationModal from './UserConfirmationModal'\nimport PropTypes from 'prop-types'\nimport EnterPassword from './pages/EnterPassword'\nimport SetPassword from './pages/SetPassword'\nimport EnterCode from './pages/EnterCode'\n\nclass LinkAuthedUserConfirmationModal extends React.Component {\n constructor (props) {\n super(props)\n this.state = this.initialState()\n }\n\n initialState = () => (\n {\n confirmed: false,\n isRevealed: false\n }\n )\n\n handleModalClose = (close) => {\n if (!this.state.confirmed) {\n this.setState(this.initialState())\n close()\n }\n }\n\n renderContent = ({ currentPage, isRevealed, advanceToPage, close }) => {\n switch (currentPage) {\n case 'EnterPassword':\n return (\n \n Please provide your information to continue submitting your review.\n
One last step! Create your account to submit your review.
\n }\n onSuccess={(data) => {\n this.setState(data, () => {\n this.captureReviewSource(this.state).then(() => {\n advanceToPage(this.pageAfterEnterEmail(this.state))\n })\n })\n }}\n onCreateAccount={() => {\n close()\n $('#sign-up-modal').foundation('open')\n }}\n />\n )\n case 'EnterPassword':\n return (\nOne last step! You're moments away from submitting your review.
\nEnter the password for your {this.state.email} account.
\n >\n }\n onGoBack={goBackToPreviousPage}\n onSuccess={() => {\n this.markVerified(this.state).then(() => {\n close()\n this.submitReviewForm()\n })\n }}\n onResetPassword={() => advanceToPage('EnterCode')}\n />\n )\n case 'EnterCode':\n return (\nUNSPSC Codes are organized as a hierarchy: Segment > Family > Class
\nExample: Apparel and Luggage and Personal Care Products > Clothing > Uniforms. Make specific selections at the Class level or use the Family to select all Classes within that Family
\nYour commodities indicate what products and services your business provides to the government. This information is displayed on your business profile and is used to list your business in relevant search results to purchasers.
\n\n UNSPSC (United Nations Standard Product and Services Code) is a global classification standard for products and services.\n
\n\n You can learn more about UNSPSC here.\n
\n{description}
\n{url}
\nUsing this tool, you can customize the information collected on your company review form.
\n